/* ============================================
   Anisa Faith Photography — global styles
   Palette + type inspired by classic editorial
   wedding photography sites.
   ============================================ */

:root {
  --cream: #f4f1ea;
  --cream-deep: #efeae0;
  --khaki: #d2cba8;
  --ink: #211e1a;
  --ink-soft: #4a453e;
  --burgundy: #6e2b2b;
  --line: rgba(33, 30, 26, 0.25);
  --serif: "Cormorant Garamond", "EB Garamond", Georgia, serif;
  --sans: "Jost", "Futura", "Century Gothic", sans-serif;
  --script: "Pinyon Script", cursive;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--cream);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

/* ---------- Navigation ---------- */

.site-header {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 20;
  padding: 28px 40px;
}

.site-header nav {
  display: flex;
  gap: 34px;
  justify-content: flex-start;
  align-items: center;
}

.site-header nav a {
  font-family: var(--serif);
  font-size: 19px;
  letter-spacing: 0.02em;
  color: var(--ink);
  position: relative;
  padding-bottom: 2px;
}

.site-header nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 1px;
  background: var(--ink);
  transition: width 0.35s ease;
}

.site-header nav a:hover::after,
.site-header nav a.active::after { width: 100%; }

/* mobile menu */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-family: var(--serif);
  font-size: 19px;
  cursor: pointer;
  color: var(--ink);
}

@media (max-width: 720px) {
  .site-header { padding: 20px 24px; }
  .site-header nav {
    display: none;
    flex-direction: column;
    gap: 18px;
    background: var(--cream);
    position: absolute;
    top: 100%; left: 0; right: 0;
    padding: 24px;
    border-bottom: 1px solid var(--line);
  }
  .site-header nav.open { display: flex; }
  .menu-toggle { display: block; }
}

/* ---------- Hero ---------- */

.hero {
  min-height: 92vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 140px 24px 80px;
}

.eyebrow {
  font-family: var(--serif);
  font-size: 15px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink);
}

.hero h1 {
  font-family: var(--script);
  font-weight: 400;
  font-size: clamp(3rem, 8vw, 5.5rem);
  line-height: 1.15;
  margin: 10px 0 14px;
}

.hero .based {
  font-size: 14px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: 48px;
}

.hero-photo {
  width: min(280px, 70vw);
}

.hero-photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

/* ---------- Marquee carousel ---------- */

.marquee {
  overflow: hidden;
  width: 100%;
  background: var(--cream);
  padding: 10px 0;
}

.marquee-track {
  display: flex;
  gap: 14px;
  width: max-content;
  animation: marquee 55s linear infinite;
}

.marquee:hover .marquee-track { animation-play-state: paused; }

.marquee-track img {
  height: min(62vh, 520px);
  width: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ---------- About ---------- */

.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
  max-width: 1120px;
  margin: 0 auto;
  padding: 120px 40px;
}

.about h2 {
  font-family: var(--script);
  font-weight: 400;
  font-size: clamp(2.4rem, 5vw, 3.4rem);
  color: var(--burgundy);
  margin-bottom: 26px;
}

.about p { margin-bottom: 16px; color: var(--ink-soft); }

.about strong {
  font-weight: 600;
  color: var(--ink);
}

.about-photo img {
  aspect-ratio: 4 / 5;
  object-fit: cover;
  width: 100%;
}

@media (max-width: 860px) {
  .about { grid-template-columns: 1fr; gap: 44px; padding: 80px 24px; }
}

/* ---------- CTA band ---------- */

.cta {
  background: var(--khaki);
  text-align: center;
  padding: 110px 24px;
}

.cta h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.6rem, 3.6vw, 2.4rem);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  max-width: 720px;
  margin: 0 auto 22px;
}

.cta p {
  max-width: 560px;
  margin: 0 auto 40px;
  color: var(--ink-soft);
}

.btn {
  display: inline-block;
  font-family: var(--serif);
  font-size: 15px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 16px 42px;
  border: 1px solid var(--ink);
  color: var(--ink);
  transition: background 0.3s ease, color 0.3s ease;
}

.btn:hover { background: var(--ink); color: var(--cream); }

/* ---------- Page headers (inner pages) ---------- */

.page-head {
  text-align: center;
  padding: 160px 24px 60px;
}

.page-head h1 {
  font-family: var(--script);
  font-weight: 400;
  font-size: clamp(2.8rem, 6vw, 4.2rem);
}

/* ---------- Gallery ---------- */

.gallery {
  columns: 3;
  column-gap: 14px;
  max-width: 1300px;
  margin: 0 auto;
  padding: 20px 40px 100px;
}

.gallery img {
  width: 100%;
  margin-bottom: 14px;
  break-inside: avoid;
}

@media (max-width: 960px) { .gallery { columns: 2; } }
@media (max-width: 600px) { .gallery { columns: 1; padding: 20px 24px 80px; } }

/* ---------- Investment ---------- */

.tiers {
  max-width: 900px;
  margin: 0 auto;
  padding: 30px 24px 120px;
}

.tier {
  text-align: center;
  padding: 64px 24px;
  border-top: 1px solid var(--line);
}

.tier:last-child { border-bottom: 1px solid var(--line); }

.tier h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.7rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.tier .from {
  font-family: var(--script);
  font-size: 2rem;
  color: var(--burgundy);
  margin-bottom: 8px;
}

.tier .typical {
  font-size: 15px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

/* ---------- Inquire ---------- */

.notice {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 24px 40px;
  text-align: center;
  color: var(--ink-soft);
}

.notice strong { color: var(--ink); }

.inquire-form {
  max-width: 760px;
  margin: 0 auto;
  padding: 30px 24px 120px;
}

/* The letter — enquiry form styled as a piece of stationery */

.letter {
  background: #faf7f0;
  border: 1px solid var(--line);
  outline: 1px solid var(--line);
  outline-offset: 5px;
  padding: clamp(32px, 6vw, 68px);
}

.salutation {
  font-family: var(--script);
  font-size: clamp(2rem, 4.5vw, 2.6rem);
  color: var(--burgundy);
  margin-bottom: 40px;
}

.letter-section { margin-bottom: 54px; }
.letter-section:last-of-type { margin-bottom: 0; }

.section-label {
  display: flex;
  align-items: center;
  gap: 18px;
  font-family: var(--sans);
  font-weight: 400;
  font-size: 12px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 34px;
}

.section-label::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}

.duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 40px;
}

.field { margin-bottom: 36px; }

.field > label,
.checks .group-label {
  display: block;
  font-family: var(--serif);
  font-size: 19px;
  color: var(--ink);
  margin-bottom: 8px;
}

.req { color: var(--burgundy); }

.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field input[type="date"],
.field textarea {
  width: 100%;
  background-color: transparent;
  border: none;
  border-bottom: 1px solid rgba(33, 30, 26, 0.35);
  border-radius: 0;
  font-family: var(--serif);
  font-size: 17px;
  color: var(--ink);
  padding: 8px 2px;
  color-scheme: light;
  background-image: linear-gradient(var(--burgundy), var(--burgundy));
  background-repeat: no-repeat;
  background-size: 0% 1px;
  background-position: left bottom;
  transition: background-size 0.4s ease;
}

.field textarea {
  border: 1px solid rgba(33, 30, 26, 0.35);
  min-height: 140px;
  padding: 14px;
  resize: vertical;
  background-image: linear-gradient(var(--burgundy), var(--burgundy));
}

.field input:focus,
.field textarea:focus {
  outline: none;
  background-size: 100% 1px;
}

.field textarea:focus { border-color: var(--burgundy); background-size: 0 0; }

.field ::placeholder { color: rgba(74, 69, 62, 0.5); }

/* Session types as selectable tags */

.checks { border: none; }

.checks .tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 4px;
}

.tag { position: relative; }

.tag input {
  position: absolute;
  opacity: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  cursor: pointer;
}

.tag span {
  display: inline-block;
  font-family: var(--serif);
  font-size: 15px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  border: 1px solid rgba(33, 30, 26, 0.35);
  padding: 10px 22px;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.tag:hover span { border-color: var(--burgundy); color: var(--burgundy); }

.tag input:checked + span {
  background: var(--burgundy);
  border-color: var(--burgundy);
  color: var(--cream);
}

.tag input:focus-visible + span {
  outline: 2px solid var(--burgundy);
  outline-offset: 3px;
}

/* Wax-seal send button */

.form-footer {
  display: flex;
  justify-content: flex-end;
  margin-top: 46px;
}

.seal {
  width: 98px;
  height: 98px;
  border-radius: 50%;
  border: none;
  background: var(--burgundy);
  color: var(--cream);
  font-family: var(--serif);
  font-size: 14px;
  letter-spacing: 0.24em;
  text-indent: 0.24em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow:
    inset 0 0 0 1px rgba(244, 241, 234, 0.5),
    inset 0 0 0 6px var(--burgundy),
    inset 0 0 0 7px rgba(244, 241, 234, 0.3);
  transition: transform 0.3s ease, background 0.3s ease;
}

.seal:hover { transform: rotate(-5deg) scale(1.05); background: #5c2222; }

.seal:focus-visible {
  outline: 2px solid var(--burgundy);
  outline-offset: 4px;
}

.form-note {
  font-family: var(--sans);
  font-weight: 300;
  font-size: 12.5px;
  letter-spacing: 0.04em;
  text-align: center;
  color: var(--ink-soft);
  margin-top: 30px;
}

@media (max-width: 680px) {
  .duo { grid-template-columns: 1fr; gap: 0; }
  .letter { outline-offset: 4px; }
  .form-footer { justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  .field input, .field textarea, .tag span, .seal { transition: none; }
  .seal:hover { transform: none; }
}

/* ---------- Footer ---------- */

.site-footer {
  border-top: 1px solid var(--line);
  padding: 80px 40px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  flex-wrap: wrap;
}

.footer-logo {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(2.2rem, 4.4vw, 3.2rem);
  letter-spacing: 0.06em;
  line-height: 1.02;
  text-transform: uppercase;
  max-width: 430px;
}

.footer-tag {
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-top: 14px;
  color: var(--ink-soft);
}

.footer-connect { text-align: right; }

.footer-connect h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.25rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.social-icons {
  display: flex;
  gap: 14px;
  justify-content: flex-end;
}

.social-icons a { opacity: 0.8; transition: opacity 0.25s; }
.social-icons a:hover { opacity: 1; }
.social-icons svg { width: 22px; height: 22px; fill: var(--ink); }

.footer-copy {
  width: 100%;
  font-family: var(--sans);
  font-weight: 300;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
}

@media (max-width: 720px) {
  .site-footer { padding: 60px 24px; }
  .footer-connect { text-align: left; }
  .social-icons { justify-content: flex-start; }
}
