/* =============================================================
   VAIBHAV & NISHITA — WEDDING
   style.css · design system + layout
   Aesthetic: warm editorial "golden hour" / destination wedding
   ============================================================= */

/* ---------- Design tokens ---------- */
:root {
  /* Palette */
  --cream:       #fbf7f0;
  --cream-2:     #f4ece0;
  --ink:         #2b2622;
  --ink-soft:    #5c534b;
  --gold:        #c39b52;
  --gold-deep:   #a67c33;
  --gold-light:  #e6cf9c;
  --blush:       #e7c9bd;
  --terracotta:  #b5623f;
  --sage:        #8a9a7b;
  --charcoal:    #1c1916;
  --line:        rgba(43, 38, 34, 0.14);

  /* Type */
  --font-serif:  "Cormorant Garamond", "Times New Roman", serif;
  --font-sans:   "Jost", "Helvetica Neue", sans-serif;
  --font-script: "Great Vibes", cursive;

  /* Rhythm */
  --section-pad: clamp(4.5rem, 10vw, 9rem);
  --gutter:      clamp(1.25rem, 5vw, 5rem);
  --maxw:        1280px;

  /* Motion */
  --ease-out:    cubic-bezier(0.16, 1, 0.3, 1);
  --ease-inout:  cubic-bezier(0.76, 0, 0.24, 1);

  /* Elevation */
  --shadow-sm:   0 10px 30px -12px rgba(43, 38, 34, 0.25);
  --shadow-lg:   0 40px 80px -30px rgba(43, 38, 34, 0.4);

  --header-h:    76px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: var(--header-h);
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

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

/* Subtle paper grain overlay across the whole site */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 2;
  opacity: 0.05;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { list-style: none; }
::selection { background: var(--gold-light); color: var(--charcoal); }

/* ---------- Utility ---------- */
.section {
  position: relative;
  padding: var(--section-pad) var(--gutter);
}
.script { font-family: var(--font-script); font-weight: 400; }

.section__tag {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 1.1rem;
  padding-left: 0.42em;
}
.section__tag--light { color: var(--gold-light); }

.section__title {
  font-size: clamp(2.4rem, 6vw, 4.7rem);
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: -0.01em;
}
.section__title .script {
  color: var(--gold-deep);
  font-weight: 400;
  font-size: 1.18em;
  display: inline-block;
  line-height: 0.8;
}
.section__title--light { color: var(--cream); }
.section__title--light .script { color: var(--gold-light); }

/* ---------- Buttons ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 1.05rem 2.4rem;
  border-radius: 100px;
  overflow: hidden;
  transition: color 0.5s var(--ease-out), transform 0.4s var(--ease-out), box-shadow 0.5s var(--ease-out);
  isolation: isolate;
}
.btn span { position: relative; z-index: 2; }
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: var(--ink);
  transform: translateY(101%);
  transition: transform 0.5s var(--ease-out);
}
.btn:hover::before { transform: translateY(0); }

.btn--hero,
.btn--fill {
  background: var(--gold-deep);
  color: var(--cream);
  box-shadow: var(--shadow-sm);
}
.btn--hero:hover,
.btn--fill:hover { color: var(--cream); transform: translateY(-3px); box-shadow: var(--shadow-lg); }

.btn--outline {
  border: 1px solid currentColor;
  color: var(--ink);
}
.btn--outline:hover { color: var(--cream); }
.section__title--light ~ * .btn--outline,
.story-card--final .btn--outline { color: var(--ink); }

/* ============================================================
   SCROLL PROGRESS + CURSOR
   ============================================================ */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--gold-light), var(--gold-deep), var(--terracotta));
  z-index: 200;
  transition: width 0.1s linear;
}

.cursor, .cursor-dot { display: none; }
@media (hover: hover) and (pointer: fine) {
  .cursor {
    position: fixed;
    top: 0; left: 0;
    width: 40px; height: 40px;
    border: 1px solid var(--gold-deep);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: width 0.3s var(--ease-out), height 0.3s var(--ease-out),
                background 0.3s var(--ease-out), border-color 0.3s var(--ease-out),
                opacity 0.3s;
    display: block;
    mix-blend-mode: multiply;
  }
  .cursor-dot {
    position: fixed;
    top: 0; left: 0;
    width: 6px; height: 6px;
    background: var(--gold-deep);
    border-radius: 50%;
    pointer-events: none;
    z-index: 10000;
    transform: translate(-50%, -50%);
    display: block;
  }
  .cursor.is-hover {
    width: 74px; height: 74px;
    background: rgba(195,155,82,0.14);
    border-color: transparent;
  }
  .cursor.is-view {
    width: 90px; height: 90px;
    background: var(--gold-deep);
    border-color: transparent;
    mix-blend-mode: normal;
  }
  .cursor.is-text { width: 4px; height: 34px; border-radius: 2px; background: var(--gold-deep); }
  .cursor.is-hidden { opacity: 0; }
}

/* ============================================================
   HEADER / NAV
   ============================================================ */
.header {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  z-index: 120;
  transition: background 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out),
              transform 0.5s var(--ease-out);
}
.header.is-scrolled {
  background: rgba(251, 247, 240, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line);
}
.header.is-hidden { transform: translateY(-100%); }

.nav {
  max-width: var(--maxw);
  margin: 0 auto;
  height: var(--header-h);
  padding: 0 var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav__brand-mono {
  font-size: 1.7rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.nav__brand-mono em { color: var(--gold-deep); font-style: italic; font-family: var(--font-script); font-size: 1.15em; }

.nav__links {
  display: flex;
  align-items: center;
  gap: clamp(1.2rem, 2.4vw, 2.6rem);
}
.nav__link {
  position: relative;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 0.4rem 0;
  color: var(--ink-soft);
  transition: color 0.3s;
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: var(--gold-deep);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s var(--ease-out);
}
.nav__link:hover { color: var(--ink); }
.nav__link:hover::after,
.nav__link.is-active::after { transform: scaleX(1); transform-origin: left; }
.nav__link.is-active { color: var(--ink); }

.nav__link--cta {
  border: 1px solid var(--gold-deep);
  border-radius: 100px;
  padding: 0.55rem 1.4rem;
  color: var(--gold-deep);
}
.nav__link--cta::after { display: none; }
.nav__link--cta:hover { background: var(--gold-deep); color: var(--cream); }

.nav__toggle { display: none; width: 30px; height: 22px; position: relative; z-index: 130; }
.nav__toggle span {
  position: absolute;
  left: 0;
  width: 100%; height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.4s var(--ease-inout), opacity 0.3s, background 0.3s, width 0.4s var(--ease-inout);
}
.nav__toggle span:nth-child(1) { top: 0; }
.nav__toggle span:nth-child(2) { top: 10px; width: 72%; }
.nav__toggle span:nth-child(3) { top: 20px; }
body.menu-open .nav__toggle span:nth-child(1) { top: 10px; transform: rotate(45deg); background: var(--cream); }
body.menu-open .nav__toggle span:nth-child(2) { opacity: 0; }
body.menu-open .nav__toggle span:nth-child(3) { top: 10px; transform: rotate(-45deg); width: 100%; background: var(--cream); }

/* ---------- Overlay menu ---------- */
.menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 115;
  visibility: hidden;
  pointer-events: none;
}
.menu-overlay.is-open { visibility: visible; pointer-events: auto; }
.menu-overlay__bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, var(--charcoal), #35302a);
  clip-path: circle(0% at calc(100% - 46px) 46px);
  transition: clip-path 0.7s var(--ease-inout);
}
.menu-overlay.is-open .menu-overlay__bg { clip-path: circle(150% at calc(100% - 46px) 46px); }

.menu-overlay__nav {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(0.2rem, 1.5vh, 1rem);
  padding: 0 var(--gutter);
}
.menu-overlay__link {
  display: flex;
  align-items: baseline;
  gap: 1.2rem;
  font-size: clamp(2.4rem, 9vw, 5rem);
  font-weight: 400;
  color: var(--cream);
  line-height: 1.15;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out), color 0.3s;
}
.menu-overlay__link i {
  font-family: var(--font-sans);
  font-style: normal;
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  color: var(--gold-light);
  opacity: 0.7;
}
.menu-overlay.is-open .menu-overlay__link { opacity: 1; transform: translateY(0); }
.menu-overlay.is-open .menu-overlay__link:nth-child(1) { transition-delay: 0.18s; }
.menu-overlay.is-open .menu-overlay__link:nth-child(2) { transition-delay: 0.24s; }
.menu-overlay.is-open .menu-overlay__link:nth-child(3) { transition-delay: 0.30s; }
.menu-overlay.is-open .menu-overlay__link:nth-child(4) { transition-delay: 0.36s; }
.menu-overlay.is-open .menu-overlay__link:nth-child(5) { transition-delay: 0.42s; }
.menu-overlay.is-open .menu-overlay__link:nth-child(6) { transition-delay: 0.48s; }
.menu-overlay.is-open .menu-overlay__link:nth-child(7) { transition-delay: 0.54s; }
.menu-overlay__link:hover { color: var(--gold-light); }

.menu-overlay__foot {
  position: absolute;
  bottom: clamp(2rem, 6vh, 4rem);
  left: var(--gutter);
  right: var(--gutter);
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  color: var(--gold-light);
  opacity: 0;
  transition: opacity 0.6s 0.5s var(--ease-out);
}
.menu-overlay.is-open .menu-overlay__foot { opacity: 0.85; }
.menu-overlay__foot .script { font-size: 2rem; color: var(--cream); }
.menu-overlay__date { font-family: var(--font-sans); font-size: 0.72rem; letter-spacing: 0.24em; text-transform: uppercase; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding: var(--header-h) var(--gutter) 5rem;
}
.hero__bg {
  position: absolute;
  inset: -8% 0;
  z-index: -2;
  will-change: transform;
}
.hero__bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 26%;
  filter: saturate(0.92) contrast(1.02);
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(120% 90% at 50% 30%, rgba(251,247,240,0.15), rgba(28,25,22,0.55) 75%),
    linear-gradient(to bottom, rgba(28,25,22,0.35), rgba(28,25,22,0.15) 40%, rgba(28,25,22,0.7));
}
.hero__frame {
  position: absolute;
  inset: clamp(14px, 2.4vw, 34px);
  border: 1px solid rgba(230, 207, 156, 0.5);
  z-index: 1;
  pointer-events: none;
}
.hero__frame::before, .hero__frame::after {
  content: "";
  position: absolute;
  width: 26px; height: 26px;
  border: 1px solid var(--gold-light);
}
.hero__frame::before { top: -1px; left: -1px; border-right: none; border-bottom: none; }
.hero__frame::after { bottom: -1px; right: -1px; border-left: none; border-top: none; }

.hero__content { position: relative; z-index: 2; color: var(--cream); max-width: 900px; }

.hero__eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
  font-family: var(--font-sans);
  font-size: 0.74rem;
  font-weight: 400;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 1.8rem;
}
.hero__eyebrow .line { width: clamp(28px, 8vw, 70px); height: 1px; background: currentColor; opacity: 0.6; }

.hero__names {
  font-size: clamp(3.6rem, 15vw, 10rem);
  font-weight: 500;
  line-height: 0.92;
  letter-spacing: -0.02em;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-shadow: 0 20px 60px rgba(0,0,0,0.35);
}
.hero__amp {
  font-size: 0.62em;
  color: var(--gold-light);
  line-height: 0.5;
  margin: -0.05em 0;
}
.hero__name { display: inline-block; }

.hero__date {
  font-family: var(--font-sans);
  font-size: clamp(0.8rem, 2.2vw, 1rem);
  font-weight: 300;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin: 2.2rem 0 2.6rem;
  line-height: 2;
}
.hero__date b { display: block; font-weight: 500; color: var(--gold-light); }

.hero__scroll {
  position: absolute;
  bottom: clamp(1.6rem, 4vh, 3rem);
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.7rem;
  color: var(--cream);
}
.hero__scroll-text {
  font-family: var(--font-sans);
  font-size: 0.64rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
}
.hero__scroll-line { width: 1px; height: 54px; background: var(--gold-light); position: relative; overflow: hidden; }
.hero__scroll-line::after {
  content: ""; position: absolute; top: -50%; left: 0; width: 100%; height: 50%;
  background: var(--cream); animation: scrollDown 2s var(--ease-inout) infinite;
}

/* ============================================================
   MARQUEE
   ============================================================ */
.marquee {
  background: var(--charcoal);
  color: var(--cream);
  padding: 1.4rem 0;
  overflow: hidden;
  white-space: nowrap;
  border-top: 1px solid rgba(230,207,156,0.2);
  border-bottom: 1px solid rgba(230,207,156,0.2);
}
.marquee__track { display: inline-flex; animation: marquee 26s linear infinite; }
.marquee__track span {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.3rem, 3.2vw, 2.1rem);
  letter-spacing: 0.04em;
  padding-right: 1rem;
}
.marquee__track em { color: var(--gold); font-style: normal; padding: 0 0.6rem; }
.marquee:hover .marquee__track { animation-play-state: paused; }

/* ============================================================
   INTRO
   ============================================================ */
.intro { text-align: center; max-width: 860px; margin: 0 auto; }
.intro__ornament svg { width: 200px; max-width: 60%; margin: 0 auto 2rem; stroke: var(--gold-deep); stroke-width: 1; fill: none; }
.intro__ornament svg circle { fill: var(--gold-deep); }
.intro__kicker {
  font-family: var(--font-sans);
  font-size: 0.74rem;
  letter-spacing: 0.36em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 1.4rem;
}
.intro__title { font-size: clamp(2.2rem, 6vw, 4.4rem); font-weight: 500; line-height: 1.1; letter-spacing: -0.01em; }
.intro__title .script { color: var(--gold-deep); font-size: 1.24em; }
.intro__body {
  font-size: clamp(1.1rem, 2.4vw, 1.4rem);
  color: var(--ink-soft);
  margin-top: 1.8rem;
  font-style: italic;
  font-weight: 300;
}

/* ============================================================
   STORY  (horizontal scroll)
   ============================================================ */
.story { position: relative; background: linear-gradient(180deg, var(--cream), var(--cream-2)); }
.story__intro { text-align: center; padding-bottom: 2rem; }

.story__pin {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.story__track {
  display: flex;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  padding: 0 var(--gutter);
  will-change: transform;
}
.story-card {
  flex: 0 0 auto;
  width: min(78vw, 420px);
  background: var(--cream);
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  border: 1px solid var(--line);
}
.story-card__img { position: relative; aspect-ratio: 4/5; overflow: hidden; }
.story-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.story-card:hover .story-card__img img { transform: scale(1.06); }
.story-card__year {
  position: absolute; bottom: 14px; left: 14px;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  color: var(--cream);
  background: rgba(28,25,22,0.5);
  backdrop-filter: blur(6px);
  padding: 0.4rem 0.9rem;
  border-radius: 100px;
}
.story-card__text { padding: 1.8rem 1.7rem 2.1rem; }
.story-card__text h3 { font-size: 1.9rem; font-weight: 500; margin-bottom: 0.5rem; }
.story-card__text p { font-size: 1.05rem; color: var(--ink-soft); font-style: italic; font-weight: 300; }

.story-card--final {
  background: var(--charcoal);
  color: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100%;
}
.story-card__text--center { text-align: center; padding: 2.5rem; }
.story-card__amp { font-size: 5rem; color: var(--gold-light); display: block; line-height: 0.7; margin-bottom: 0.5rem; }
.story-card--final h3 { color: var(--cream); }
.story-card--final p { color: var(--gold-light); margin-bottom: 1.6rem; opacity: 0.85; }

.story__hint {
  position: absolute;
  bottom: 2rem; left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-sans);
  font-size: 0.66rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold-deep);
  display: flex;
  align-items: center;
  gap: 0.8rem;
  z-index: 3;
}
.story__hint span::before,
.story__hint span::after { content: "→"; padding: 0 0.5rem; animation: nudge 1.6s var(--ease-inout) infinite; }
.story__hint span::before { content: "←"; }

/* ============================================================
   MEET THE COUPLE  ·  his & hers bio cards
   ============================================================ */
.couple { background: linear-gradient(180deg, var(--cream), var(--cream-2)); }
.couple__head { text-align: center; max-width: 720px; margin: 0 auto clamp(2.5rem, 5vw, 3.5rem); }
.couple__sub { margin-top: 1.1rem; font-size: clamp(1.05rem, 2.2vw, 1.2rem); font-style: italic; font-weight: 300; color: var(--ink-soft); }

.couple__grid {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: clamp(1.2rem, 3vw, 2.4rem);
}
.couple__amp { text-align: center; }
.couple__amp span { font-size: clamp(3.5rem, 7vw, 6rem); color: var(--gold-light); line-height: 0.7; }

.couple-card {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.4s var(--ease-out), transform 0.4s var(--ease-out);
  will-change: transform;
}
.couple-card:hover { box-shadow: var(--shadow-lg); }
.couple-card__photo { aspect-ratio: 4 / 3; overflow: hidden; }
.couple-card__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.couple-card:hover .couple-card__photo img { transform: scale(1.06); }
.couple-card__body { padding: clamp(1.6rem, 3vw, 2.2rem); }
.couple-card__role { font-family: var(--font-sans); font-size: 0.72rem; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-deep); }
.couple-card__name { font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 500; margin: 0.3rem 0 0.2rem; color: var(--ink); }
.couple-card__tag { font-size: 1.5rem; color: var(--terracotta); margin-bottom: 1.1rem; }
.couple-card__facts { list-style: none; margin: 0; padding: 0; }
.couple-card__facts li {
  font-size: 1rem;
  color: var(--ink-soft);
  padding: 0.55rem 0;
  border-top: 1px solid var(--line);
  line-height: 1.4;
}
.couple-card__facts li:first-child { border-top: none; }
.couple-card__facts b { font-family: var(--font-sans); font-size: 0.7rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold-deep); display: block; margin-bottom: 0.15rem; }

.couple__foot {
  max-width: 640px;
  margin: clamp(2.5rem, 5vw, 3.5rem) auto 0;
  text-align: center;
  font-size: 1.15rem;
  font-style: italic;
  font-weight: 300;
  color: var(--ink-soft);
}
.couple__foot-link {
  display: inline-block;
  margin-top: 0.6rem;
  font-family: var(--font-sans);
  font-style: normal;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-deep);
  border-bottom: 1px solid var(--gold);
  padding-bottom: 2px;
  transition: color 0.3s var(--ease-out), border-color 0.3s var(--ease-out);
}
.couple__foot-link:hover { color: var(--terracotta); border-color: var(--terracotta); }

@media (max-width: 720px) {
  .couple__grid { grid-template-columns: 1fr; }
  .couple__amp span { font-size: 3rem; }
}
@media (prefers-reduced-motion: reduce) {
  .couple-card, .couple-card__photo img { transition: none; }
  .couple-card:hover .couple-card__photo img { transform: none; }
}

/* ============================================================
   COUNTDOWN
   ============================================================ */
.countdown {
  position: relative;
  overflow: hidden;
  text-align: center;
  color: var(--cream);
}
.countdown__bg { position: absolute; inset: -8% 0; z-index: 0; will-change: transform; }
.countdown__bg img { width: 100%; height: 100%; object-fit: cover; }
.countdown::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(160deg, rgba(28,25,22,0.82), rgba(58,48,38,0.72));
}
.countdown__inner { position: relative; z-index: 2; max-width: var(--maxw); margin: 0 auto; }

.countdown__grid {
  display: flex;
  justify-content: center;
  gap: clamp(0.8rem, 4vw, 3.5rem);
  margin: 3rem 0 1.5rem;
}
.count-cell { display: flex; flex-direction: column; align-items: center; gap: 0.6rem; position: relative; }
.count-cell:not(:last-child)::after {
  content: ":";
  position: absolute;
  right: calc(-1 * clamp(0.4rem, 2vw, 1.8rem));
  top: 0.1em;
  font-size: clamp(2.4rem, 8vw, 5rem);
  color: var(--gold-light);
  opacity: 0.4;
}
.count-cell__num {
  font-size: clamp(3rem, 12vw, 7rem);
  font-weight: 300;
  line-height: 1;
  color: var(--cream);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
}
.count-cell__label {
  font-family: var(--font-sans);
  font-size: 0.66rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold-light);
}
.countdown__note { font-family: var(--font-script); font-size: clamp(1.8rem, 5vw, 3rem); color: var(--gold-light); }

/* flip animation hook */
.count-cell__num.is-tick { animation: flipNum 0.5s var(--ease-out); }

/* ============================================================
   EVENTS
   ============================================================ */
.events { background: var(--cream); }
.events__head { text-align: center; max-width: 700px; margin: 0 auto clamp(3rem, 6vw, 5rem); }
.events__sub { margin-top: 1.2rem; color: var(--ink-soft); font-style: italic; font-size: 1.15rem; font-weight: 300; }

.events__grid {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1rem, 2vw, 1.6rem);
}
.event-card {
  position: relative;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 2.4rem 1.8rem;
  overflow: hidden;
  transform-style: preserve-3d;
  transition: box-shadow 0.5s var(--ease-out), transform 0.4s var(--ease-out), border-color 0.5s;
}
.event-card:hover { box-shadow: var(--shadow-lg); border-color: transparent; }
.event-card__glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(240px circle at var(--mx, 50%) var(--my, 0%), rgba(195,155,82,0.16), transparent 60%);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}
.event-card:hover .event-card__glow { opacity: 1; }

.event-card__no {
  position: absolute;
  top: 1.4rem; right: 1.6rem;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  color: var(--gold-deep);
  opacity: 0.6;
}
.event-card__icon {
  display: block;
  font-size: 2.2rem;
  color: var(--gold-deep);
  margin-bottom: 1.4rem;
  transition: transform 0.5s var(--ease-out);
}
.event-card:hover .event-card__icon { transform: rotate(-8deg) scale(1.12); }
.event-card__title { font-size: 2rem; font-weight: 500; margin-bottom: 0.9rem; }
.event-card__when { font-family: var(--font-sans); font-size: 0.78rem; letter-spacing: 0.08em; color: var(--terracotta); font-weight: 500; }
.event-card__where { font-family: var(--font-sans); font-size: 0.78rem; letter-spacing: 0.04em; color: var(--ink-soft); margin-bottom: 1rem; }
.event-card__desc { font-size: 1.05rem; color: var(--ink-soft); font-style: italic; font-weight: 300; margin-bottom: 1.4rem; }
.event-card__dress {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-deep);
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  width: 100%;
}
.event-card--feature {
  background: linear-gradient(165deg, var(--charcoal), #38302a);
  color: var(--cream);
  border-color: transparent;
}
.event-card--feature .event-card__title,
.event-card--feature .event-card__icon { color: var(--gold-light); }
.event-card--feature .event-card__where,
.event-card--feature .event-card__desc { color: rgba(251,247,240,0.75); }
.event-card--feature .event-card__when { color: var(--blush); }
.event-card--feature .event-card__dress { color: var(--gold-light); border-color: rgba(230,207,156,0.25); }
.event-card--feature .event-card__no { color: var(--gold-light); }

/* ============================================================
   QUOTE
   ============================================================ */
.quote { text-align: center; max-width: 900px; margin: 0 auto; position: relative; }
.quote__mark {
  font-family: var(--font-script);
  font-size: clamp(6rem, 18vw, 12rem);
  color: var(--gold-light);
  line-height: 0.5;
  opacity: 0.6;
  margin-bottom: -0.2em;
}
.quote__text { font-size: clamp(1.8rem, 5vw, 3.4rem); font-weight: 400; font-style: italic; line-height: 1.3; color: var(--ink); }
.quote__cite { display: block; margin-top: 1.6rem; font-family: var(--font-sans); font-size: 0.8rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold-deep); font-style: normal; }

/* ============================================================
   GALLERY
   ============================================================ */
.gallery { background: linear-gradient(180deg, var(--cream-2), var(--cream)); }
.gallery__head { text-align: center; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.gallery__grid {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 220px;
  grid-auto-flow: dense;
  gap: clamp(0.6rem, 1.4vw, 1.2rem);
}
.gallery__item {
  position: relative;
  overflow: hidden;
  border-radius: 6px;
  cursor: pointer;
}
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-out), filter 0.6s; }
.gallery__item--tall { grid-row: span 2; }
.gallery__item--wide { grid-column: span 2; }
.gallery__item::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(28,25,22,0.5), transparent 55%);
  opacity: 0;
  transition: opacity 0.5s;
}
.gallery__item:hover img { transform: scale(1.08); }
.gallery__item:hover::after { opacity: 1; }
.gallery__view {
  position: absolute;
  bottom: 1rem; left: 1rem;
  z-index: 2;
  font-family: var(--font-sans);
  font-size: 0.68rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--cream);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out);
}
.gallery__item:hover .gallery__view { opacity: 1; transform: translateY(0); }

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(20, 17, 14, 0.94);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s var(--ease-out), visibility 0.5s;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox__stage { max-width: 88vw; max-height: 84vh; position: relative; }
.lightbox__stage img {
  max-width: 88vw; max-height: 84vh;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 40px 120px rgba(0,0,0,0.6);
  transform: scale(0.94);
  transition: transform 0.5s var(--ease-out);
}
.lightbox.is-open .lightbox__stage img { transform: scale(1); }
.lightbox__stage figcaption {
  text-align: center;
  color: var(--gold-light);
  font-family: var(--font-sans);
  font-size: 0.74rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-top: 1rem;
}
.lightbox__close {
  position: absolute;
  top: clamp(1rem, 3vw, 2rem); right: clamp(1rem, 3vw, 2rem);
  font-size: 2.6rem;
  color: var(--cream);
  line-height: 1;
  width: 54px; height: 54px;
  border-radius: 50%;
  transition: background 0.3s, transform 0.3s;
}
.lightbox__close:hover { background: rgba(255,255,255,0.1); transform: rotate(90deg); }
.lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 3rem;
  color: var(--cream);
  width: 60px; height: 60px;
  border-radius: 50%;
  transition: background 0.3s;
  opacity: 0.7;
}
.lightbox__nav:hover { background: rgba(255,255,255,0.12); opacity: 1; }
.lightbox__nav--prev { left: clamp(0.5rem, 3vw, 2.5rem); }
.lightbox__nav--next { right: clamp(0.5rem, 3vw, 2.5rem); }

/* ============================================================
   TRAVEL + FAQ
   ============================================================ */
.travel { background: var(--cream); }
.travel__head { text-align: center; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.travel__cards {
  max-width: var(--maxw);
  margin: 0 auto clamp(4rem, 8vw, 6rem);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.2rem, 3vw, 2.4rem);
}
.travel-info {
  text-align: center;
  padding: 2.6rem 2rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--cream);
  transition: transform 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out);
}
.travel-info:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.travel-info__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 66px; height: 66px;
  border-radius: 50%;
  border: 1px solid var(--gold);
  color: var(--gold-deep);
  font-size: 1.6rem;
  margin-bottom: 1.4rem;
}
.travel-info h3 { font-size: 1.7rem; font-weight: 500; margin-bottom: 0.7rem; }
.travel-info p { color: var(--ink-soft); font-size: 1.05rem; font-weight: 300; }
.travel-info b { color: var(--ink); font-weight: 500; }

.faq { max-width: 820px; margin: 0 auto; }
.faq__title { text-align: center; font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 500; margin-bottom: 2rem; }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item:first-child { border-top: 1px solid var(--line); }
.faq__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  text-align: left;
  padding: 1.5rem 0.4rem;
  font-family: var(--font-serif);
  font-size: clamp(1.2rem, 3vw, 1.5rem);
  font-weight: 500;
  color: var(--ink);
  transition: color 0.3s, padding-left 0.4s var(--ease-out);
}
.faq__q:hover { color: var(--gold-deep); padding-left: 1rem; }
.faq__plus { position: relative; width: 18px; height: 18px; flex: 0 0 auto; }
.faq__plus::before, .faq__plus::after {
  content: ""; position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  background: var(--gold-deep);
  transition: transform 0.4s var(--ease-inout), opacity 0.3s;
}
.faq__plus::before { width: 18px; height: 2px; }
.faq__plus::after { width: 2px; height: 18px; }
.faq__item.is-open .faq__plus::after { transform: translate(-50%, -50%) rotate(90deg); opacity: 0; }
.faq__a { overflow: hidden; height: 0; transition: height 0.5s var(--ease-inout); }
.faq__a p { padding: 0 0.4rem 1.6rem; color: var(--ink-soft); font-size: 1.08rem; font-style: italic; font-weight: 300; }

/* ============================================================
   RSVP
   ============================================================ */
.rsvp { background: linear-gradient(180deg, var(--cream), var(--cream-2)); }
.rsvp__panel {
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  background: var(--charcoal);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
}
.rsvp__aside {
  padding: clamp(2.5rem, 5vw, 4rem);
  background: linear-gradient(165deg, #38302a, var(--charcoal));
  color: var(--cream);
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}
.rsvp__deadline { font-family: var(--font-sans); font-size: 0.86rem; letter-spacing: 0.06em; color: rgba(251,247,240,0.7); margin-top: 1.4rem; }
.rsvp__deadline b { color: var(--gold-light); }
.rsvp__seal {
  margin-top: 2.6rem;
  width: 92px; height: 92px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.rsvp__seal::after { content: ""; position: absolute; inset: 6px; border: 1px solid rgba(230,207,156,0.35); border-radius: 50%; }
.rsvp__seal-mono { font-size: 1.5rem; color: var(--gold-light); font-weight: 600; }
.rsvp__seal-mono em { font-family: var(--font-script); font-style: italic; }

.rsvp__form {
  padding: clamp(2.5rem, 5vw, 4rem);
  background: var(--cream);
  display: flex;
  flex-direction: column;
  gap: 1.7rem;
}
.field { position: relative; }
.field input,
.field textarea,
.field select {
  width: 100%;
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--ink);
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--line);
  padding: 0.9rem 0.2rem;
  transition: border-color 0.4s;
  border-radius: 0;
}
.field textarea { resize: vertical; min-height: 3rem; }
.field select { cursor: pointer; }
.field input:focus,
.field textarea:focus,
.field select:focus { outline: none; border-color: var(--gold-deep); }

/* Direct child only — otherwise this leaks onto the nested <label> option
   chips inside .field--choice and stacks them all at the same spot. */
.field > label {
  position: absolute;
  left: 0.2rem; top: 0.9rem;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
  pointer-events: none;
  transition: transform 0.35s var(--ease-out), color 0.35s, font-size 0.35s;
  transform-origin: left;
}
.field input:focus + label,
.field input:not(:placeholder-shown) + label,
.field textarea:focus + label,
.field textarea:not(:placeholder-shown) + label {
  transform: translateY(-1.7rem) scale(0.82);
  color: var(--gold-deep);
}
/* Belt-and-suspenders: the choice chips are labels too — keep them in flow. */
.field--choice .choice__opt { position: relative; top: auto; left: auto; }
.field__label-static {
  position: static;
  display: block;
  order: -1;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 0.4rem;
  pointer-events: none;
}
.field:has(.field__label-static) { display: flex; flex-direction: column; }

.field__error {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  letter-spacing: 0.02em;
  color: var(--terracotta);
  min-height: 1rem;
  margin-top: 0.3rem;
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity 0.3s, transform 0.3s;
}
.field.has-error input,
.field.has-error select { border-color: var(--terracotta); }
.field.has-error .field__error { opacity: 1; transform: translateY(0); }

.field__legend {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 0.8rem;
}
.choice { display: flex; gap: 0.8rem; flex-wrap: wrap; }
.choice__opt { position: relative; flex: 1; min-width: 140px; }
.choice__opt input { position: absolute; opacity: 0; pointer-events: none; }
.choice__opt span {
  display: block;
  text-align: center;
  padding: 0.9rem 1rem;
  border: 1px solid var(--line);
  border-radius: 100px;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
  transition: all 0.35s var(--ease-out);
}
.choice__opt:hover span { border-color: var(--gold); color: var(--ink); }
.choice__opt input:checked + span {
  background: var(--gold-deep);
  border-color: var(--gold-deep);
  color: var(--cream);
}

.rsvp__conditional {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.5s var(--ease-inout), opacity 0.4s, margin 0.4s;
  margin-top: -1.7rem;
}
.rsvp__conditional.is-visible { max-height: 200px; opacity: 1; margin-top: 0; }

.rsvp__form .btn { align-self: flex-start; margin-top: 0.4rem; }

/* success */
.rsvp__success {
  position: absolute;
  inset: 0;
  grid-column: 1 / -1;
  background: var(--cream);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
  opacity: 0;
  visibility: hidden;
  transform: scale(0.98);
  transition: opacity 0.6s var(--ease-out), visibility 0.6s, transform 0.6s var(--ease-out);
}
.rsvp__success.is-visible { opacity: 1; visibility: visible; transform: scale(1); }
.rsvp__success-ring {
  width: 96px; height: 96px;
  border-radius: 50%;
  border: 2px solid var(--gold-deep);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.6rem;
}
.rsvp__success-ring svg { width: 56px; height: 56px; }
.rsvp__check {
  stroke: var(--gold-deep);
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 80;
  stroke-dashoffset: 80;
}
.rsvp__success.is-visible .rsvp__check { animation: drawCheck 0.7s 0.3s var(--ease-out) forwards; }
.rsvp__success h3 { font-size: clamp(2rem, 5vw, 3rem); font-weight: 500; margin-bottom: 0.6rem; }
.rsvp__success h3 span { color: var(--gold-deep); font-style: italic; }
.rsvp__success p { color: var(--ink-soft); font-size: 1.1rem; font-style: italic; margin-bottom: 1.8rem; max-width: 420px; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--charcoal);
  color: var(--cream);
  text-align: center;
  padding: clamp(4rem, 8vw, 6rem) var(--gutter) clamp(6rem, 8vw, 4rem);
}
.footer__ornament svg { width: 200px; max-width: 55%; margin: 0 auto 2rem; stroke: var(--gold-light); stroke-width: 1; fill: none; opacity: 0.7; }
.footer__ornament svg circle { fill: var(--gold-light); }
.footer__mono { font-size: clamp(2.6rem, 8vw, 4.4rem); color: var(--cream); display: inline-block; margin-bottom: 0.8rem; transition: color 0.4s; }
.footer__mono:hover { color: var(--gold-light); }
.footer__date { font-family: var(--font-sans); font-size: 0.8rem; letter-spacing: 0.28em; text-transform: uppercase; color: var(--gold-light); }
.footer__thanks { font-style: italic; color: rgba(251,247,240,0.7); margin-top: 1.6rem; font-size: 1.1rem; }
.footer__credit { font-family: var(--font-sans); font-size: 0.68rem; letter-spacing: 0.1em; color: rgba(251,247,240,0.4); margin-top: 2rem; }

/* ============================================================
   MOBILE TABBAR  (hidden on desktop; shown in responsive.css)
   ============================================================ */
.tabbar { display: none; }
