/* the site's fonts, served from here (was fonts.googleapis.com): Latin and Latin Extended only */
@font-face { font-family: 'Fraunces'; font-style: normal; font-weight: 300 500; font-display: swap; src: url(fonts/fraunces-latin-ext-1fba.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Fraunces'; font-style: normal; font-weight: 300 500; font-display: swap; src: url(fonts/fraunces-latin-63f1.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Jost'; font-style: normal; font-weight: 300; font-display: swap; src: url(fonts/jost-latin-ext-920d.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Jost'; font-style: normal; font-weight: 300; font-display: swap; src: url(fonts/jost-latin-0428.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Jost'; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/jost-latin-ext-920d.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Jost'; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/jost-latin-0428.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Jost'; font-style: normal; font-weight: 500; font-display: swap; src: url(fonts/jost-latin-ext-920d.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Jost'; font-style: normal; font-weight: 500; font-display: swap; src: url(fonts/jost-latin-0428.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Marcellus SC'; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/marcellus-sc-latin-ext-5844.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Marcellus SC'; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/marcellus-sc-latin-20fd.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
/* ==========================================================================
   Aditya & Ankita — 22 October 2027 — Swan Lake Overlook, Dawsonville GA
   Two registers: DEEP (lake at dusk) for atmosphere, LIGHT (ivory) for
   anything a guest has to read or tap. The waterline is the seam between.
   ========================================================================== */

:root {
  /* Type scale. Base 18px (our floor, never lower), ratio 1.2 on phones rising to 1.25 by 1000px.
     Each step is base x ratio^n. Bounds are in rem so browser font-size settings and zoom still
     work; the middle term is rem + vw. Use var(--step-N) for headings instead of one-off clamp()s.
       0  body            3  section headings under a page title, venue titles
       1  lede            4  page titles: find, rsvp, contact, seats, the invitation welcome name
       2  card titles     (home hero is sized on its own)
     A page title is about 2.4x the small-caps label above it (1.25^4): label 16 to 18px, title 37 to 44px. */
  --step-0: 1.125rem;
  --step-1: clamp(1.35rem, 1.314rem + 0.15vw, 1.406rem);
  --step-2: clamp(1.62rem, 1.532rem + 0.36vw, 1.758rem);
  --step-3: clamp(1.944rem, 1.782rem + 0.66vw, 2.197rem);
  --step-4: clamp(2.333rem, 2.068rem + 1.09vw, 2.747rem);

  /* lake */
  --deep:      #16241F;   /* deep lake green, the atmospheric ground */
  --deeper:    #0F1A16;
  --deep-soft: #1E3029;

  /* shore */
  --ivory:     #F6F4ED;   /* the functional ground */
  --paper:     #FFFFFF;
  --ink:       #1E2621;
  --muted:     #5A6259;   /* 5.7:1 on ivory */
  --hair:      #DFDBCF;

  /* royal accents */
  --gold:      #C6A664;   /* champagne — display + rules only */
  --gold-ink:  #7E6229;   /* 5.2:1 on ivory — for small gold text */
  --gold-lg:   #9A7B3A;   /* 3.5:1 — large text only */
  --scarlet:   #9E2B2B;   /* 6.3:1 on ivory */
  --scarlet-lt:#C24A42;   /* on deep */
  --amber:     #B4632A;   /* october foliage, used twice on the whole site */

  --display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --sc:      'Marcellus SC', 'Marcellus', Georgia, serif;
  --body:    'Jost', 'Avenir Next', system-ui, sans-serif;

  --gut: clamp(20px, 5vw, 64px);
  --stack: clamp(56px, 9vw, 130px);
}

*, *::before, *::after { box-sizing: border-box; }

/* No global scroll-behavior. Smoothing is applied in JS only where it is wanted: the RSVP steps, and Lenis on the
   long reading pages (home, invitation), which smooths the mouse wheel only; keys and touch stay native. */
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }                                       /* Lenis (MIT), from its own stylesheet */
.lenis:not(.lenis-autoToggle).lenis-stopped { overflow: clip; }
.lenis [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-smooth iframe { pointer-events: none; }

body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.125rem;      /* elders on phones: 18 floor, never 16. rem so the browser's own setting still applies */
  font-weight: 400;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a { color: inherit; }
a:focus-visible, button:focus-visible, input:focus-visible,
select:focus-visible, summary:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

/* ---------- type ---------------------------------------------------------- */

.display {
  font-family: var(--display);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: .02em;
}

.eyebrow {
  font-family: var(--sc);
  font-size: clamp(1rem, 0.920rem + 0.33vw, 1.125rem);
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gold-ink);
  margin: 0;
}
.deep .eyebrow { color: var(--gold); }

h1, h2, h3 { margin: 0; font-weight: 400; font-family: var(--display); }

h1.section-title, h2.section-title {
  font-family: var(--display);
  font-size: clamp(2.125rem, 1.0061rem + 4.59vw, 3.875rem);
  line-height: 1.05;
  letter-spacing: .01em;
  margin: 14px 0 0;
}

.lede { font-size: clamp(1.1875rem, 1.0277rem + 0.66vw, 1.4375rem); line-height: 1.6; max-width: 34ch; }

/* ---------- the signature: a waterline, and what it reflects -------------- */
/* Swan Lake. Still water mirrors. Used in exactly three places: the hero's
   lower edge, each section title, and the swan mark. Nowhere else.          */

.mirror { position: relative; display: inline-block; }
.mirror::after {
  content: attr(data-mirror);
  position: absolute;
  left: 0; top: 100%;
  transform: scaleY(-1);
  transform-origin: top;
  color: inherit;
  opacity: .12;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, transparent 62%);
          mask-image: linear-gradient(to bottom, #000 0%, transparent 62%);
  white-space: nowrap;
}

.waterline {
  display: flex;
  align-items: center;
  gap: 18px;
  width: min(420px, 78vw);
  margin-inline: auto;
}
.waterline::before, .waterline::after {
  content: ''; flex: 1; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold));
}
.waterline::after { background: linear-gradient(90deg, var(--gold), transparent); }

/* ---------- hero ---------------------------------------------------------- */

.hero { position: relative; height: 150vh; background: var(--deep); }
@media (max-width: 760px) { .hero { height: 135vh; } }

.hero__stage {
  position: sticky; top: 0;
  height: 100dvh;                 /* never 100vh — iOS toolbar */
  overflow: hidden;
  background: var(--deeper) url('img/hero-blur.jpg') center/cover no-repeat;
}

.hero__img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 74% 46%;
  will-change: transform;
}

.hero__scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(15,26,22,.22) 0%, rgba(15,26,22,0) 18%),
    linear-gradient(0deg,  rgba(11,20,17,.7) 0%, rgba(11,20,17,.3) 24%, rgba(11,20,17,0) 50%),
    linear-gradient(100deg, rgba(11,20,17,.45) 0%, rgba(11,20,17,.08) 42%, transparent 60%);
}
.hero__dim { position: absolute; inset: 0; background: var(--deeper); opacity: 0; }

.hero__type {
  position: absolute;
  left: var(--gut); right: var(--gut); bottom: clamp(64px, 12vh, 132px);
  text-align: left;
  color: var(--ivory);
}

.hero__pre {
  font-family: var(--sc);
  font-size: clamp(11px, 1.5vw, 14px);
  letter-spacing: .38em;
  text-transform: uppercase;
  color: rgba(246,244,237,.86);
  margin: 0 0 clamp(18px, 3vh, 30px);
}

.hero__names {
  font-family: var(--display);
  font-size: clamp(46px, 8.4vw, 118px);
  line-height: .96;
  letter-spacing: .06em;
  color: var(--gold);
  text-shadow: 0 2px 26px rgba(9,16,13,.55);
  margin: 0;
}
.hero__amp {
  display: block;
  font-family: var(--display);
  font-size: clamp(15px, 2.4vw, 25px);
  letter-spacing: .44em;
  color: rgba(246,244,237,.88);
  margin: clamp(6px, 1.2vh, 14px) 0 clamp(6px, 1.2vh, 14px) .12em;
  text-transform: lowercase;
}
.hero__when {
  font-family: var(--sc);
  font-size: clamp(12px, 1.7vw, 16px);
  letter-spacing: .3em;
  text-transform: uppercase;
  line-height: 1.9;
  margin: clamp(22px, 4vh, 40px) 0 0;
  color: rgba(246,244,237,.94);
}

.hero__cue {
  position: absolute; right: var(--gut); bottom: 26px;
  display: flex; flex-direction: column; align-items: center; gap: 9px;
}
.hero__cue span {
  font-family: var(--sc); font-size: 10px; letter-spacing: .3em;
  text-transform: uppercase; color: rgba(246,244,237,.6);
}
.hero__cue i { width: 1px; height: 26px; background: linear-gradient(var(--gold), transparent); }

/* the idle nudge in the Full experience: fades in after a few seconds without scrolling, then away */
.scroll-hint {
  position: fixed; left: 50%; bottom: max(26px, env(safe-area-inset-bottom)); z-index: 40;
  display: flex; flex-direction: column; align-items: center; gap: 8px; pointer-events: none;
  width: max-content; max-width: calc(100vw - 32px); white-space: nowrap;
  padding: 10px 18px 8px; border-radius: 999px; background: rgba(22,36,31,.55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  opacity: 0; transform: translate(-50%, 8px); transition: opacity .6s ease, transform .6s ease;
}
.scroll-hint.is-on { opacity: 1; transform: translate(-50%, 0); }
.scroll-hint span { font-family: var(--sc); font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: rgba(246,244,237,.92); }
.scroll-hint i { width: 1px; height: 18px; background: linear-gradient(var(--gold), transparent); transform-origin: top; animation: hintDrop 1.6s ease-in-out infinite; }
@keyframes hintDrop { 0% { transform: scaleY(.2); opacity: .2; } 55% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(1); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .scroll-hint, .scroll-hint i { transition: none; animation: none; } }

/* the reflection band — the hero photo, mirrored into the lake */
.reflect { position: relative; height: clamp(120px, 20vh, 220px); overflow: hidden; background: var(--deep); }
.reflect img {
  position: absolute; left: 0; top: -70%;
  width: 100%; height: 170%;
  object-fit: cover; object-position: 50% 42%;
  filter: blur(6px) saturate(.72) brightness(.5);
  transform: scaleY(-1) translateZ(0);
  -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,.85), transparent 78%);
          mask-image: linear-gradient(to bottom, rgba(0,0,0,.85), transparent 78%);
}
.reflect::after {
  content: ''; position: absolute; inset: 0;
  background:
    linear-gradient(to bottom, rgba(15,26,22,.95) 0%, rgba(15,26,22,0) 38%, rgba(22,36,31,0) 45%, #16241F 100%),
    repeating-linear-gradient(180deg, rgba(22,36,31,0) 0 9px, rgba(22,36,31,.16) 9px 11px);
}
.seam { display: none; height: 1px; background: linear-gradient(90deg, transparent, var(--gold) 22%, var(--gold) 78%, transparent); opacity: .7; }

/* ---------- sections ------------------------------------------------------ */

.deep { background: var(--deep); color: var(--ivory); }
.deep .lede, .deep p { color: rgba(246,244,237,.82); }

.wrap { max-width: 1180px; margin-inline: auto; padding-inline: var(--gut); }
.section { padding-block: var(--stack); }

.swan { display: block; margin-inline: auto; }
.swan path { fill: none; stroke: var(--gold); stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; }
.swan .refl { opacity: .28; }

/* ---------- story --------------------------------------------------------- */

.story { display: grid; gap: clamp(32px, 6vw, 72px); align-items: center; grid-template-columns: 1fr; }
@media (min-width: 900px) { .story { grid-template-columns: 1fr 0.82fr; } }

.plate {
  position: relative;
  border: 1px solid rgba(198,166,100,.42);
  padding: 10px;
}
.plate::after {
  content: ''; position: absolute; inset: 4px;
  border: 1px solid rgba(198,166,100,.22);
  pointer-events: none;
}
.plate img { width: 100%; height: auto; }

/* ---------- cards --------------------------------------------------------- */

.card {
  background: var(--paper);
  border: 1px solid var(--hair);
  padding: clamp(20px, 3vw, 30px);
}
.deep .card { background: var(--deep-soft); border-color: rgba(198,166,100,.26); }

.qa { border-top: 1px solid var(--hair); }
.qa summary {
  list-style: none; cursor: pointer;
  padding: 22px 42px 22px 0;
  position: relative;
  font-family: var(--display); font-size: clamp(20px, 2.4vw, 25px);
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after {
  content: ''; position: absolute; right: 6px; top: 50%;
  width: 11px; height: 11px; margin-top: -7px;
  border-right: 1px solid var(--gold-lg); border-bottom: 1px solid var(--gold-lg);
  transform: rotate(45deg); transition: transform .28s ease;
}
.qa[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.qa p { margin: 0 0 22px; color: var(--muted); text-align: justify; hyphens: auto; }

/* ---------- buttons & fields ---------------------------------------------- */

/* Tactile buttons: a lit top edge, a firm bottom edge, and they press down. One radius to tune: --btn-radius. */
.btn {
  --btn-radius: 6px;
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 56px; padding: 12px 32px; text-align: center; line-height: 1.35;
  font-family: var(--sc); font-size: 16px; letter-spacing: .1em; text-transform: uppercase;
  text-decoration: none; cursor: pointer; border: 1px solid transparent; border-radius: var(--btn-radius);
  transition: transform .12s ease, box-shadow .12s ease, background .2s ease, color .2s ease, border-color .2s ease;
}
.btn:active { transform: translateY(1px); }
.btn--gold {
  /* the face sits on a solid darker-gold base (the 5px lip), rimmed in dark gold, with a soft shadow under it */
  --lip: 5px;
  background: linear-gradient(180deg, #D9BE86 0%, var(--gold) 100%); color: #241C08;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.45),
              0 0 0 1px #5C4718,
              0 var(--lip) 0 0 #7E5F24, 0 var(--lip) 0 1px #5C4718,
              0 calc(var(--lip) + 3px) 8px rgba(36,28,8,.35), 0 calc(var(--lip) + 10px) 18px -6px rgba(36,28,8,.3);
}
.btn--gold:hover { background: linear-gradient(180deg, #E2C892 0%, #CDAE6D 100%); }
.btn--gold:active { --lip: 1px; transform: translateY(4px); }      /* the face sinks onto its base */
.btn--ghost {
  background: linear-gradient(180deg, #FFFFFF 0%, #F3F0E6 100%); color: var(--ink); border-color: var(--ink);
  box-shadow: inset 0 1px 0 #fff, 0 1px 1px rgba(30,38,33,.18), 0 4px 8px -5px rgba(30,38,33,.35);
}
.btn--ghost:hover { background: var(--ink); color: var(--ivory); transform: translateY(-1px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.12), 0 2px 2px rgba(30,38,33,.3), 0 8px 14px -6px rgba(30,38,33,.5); }
.btn--ghost:active { transform: translateY(1px); box-shadow: inset 0 2px 4px rgba(0,0,0,.35); }
.deep .btn--ghost { background: rgba(246,244,237,.06); color: var(--ivory); border-color: rgba(246,244,237,.55);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.18), 0 4px 10px -6px rgba(0,0,0,.6); }
.deep .btn--ghost:hover { background: var(--ivory); color: var(--deep); }
.btn:disabled { opacity: .55; cursor: not-allowed; transform: none; }
/* A small bold arrow after the label (a drawn arrow, so it takes the button's text colour). */
.btn--arrow::after {
  content: ""; width: 14px; height: 14px; flex: none; background: currentColor;
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256'><path d='M221.66 133.66l-72 72a8 8 0 0 1-11.32-11.32L196.69 136H40a8 8 0 0 1 0-16h156.69l-58.35-58.34a8 8 0 0 1 11.32-11.32l72 72a8 8 0 0 1 0 11.32z' stroke='black' stroke-width='14'/></svg>") center / contain no-repeat;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256'><path d='M221.66 133.66l-72 72a8 8 0 0 1-11.32-11.32L196.69 136H40a8 8 0 0 1 0-16h156.69l-58.35-58.34a8 8 0 0 1 11.32-11.32l72 72a8 8 0 0 1 0 11.32z' stroke='black' stroke-width='14'/></svg>") center / contain no-repeat;
  transition: transform .15s ease;
}
.btn--arrow:hover::after { transform: translateX(3px); }
@media (prefers-reduced-motion: reduce) { .btn, .btn::after { transition: none; } .btn:hover, .btn:active { transform: none; } }
.btn--wide { width: 100%; }

.field { display: block; margin-bottom: 20px; }
.field small { font-size: 14px; letter-spacing: .08em; }   /* the browser default (83%) would drop it under 14px */
.field > span {
  display: block; font-family: var(--sc); font-size: 16px;
  letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 9px;
}
.input {
  width: 100%; min-height: 58px; padding: 0 16px;
  font-family: var(--body); font-size: 1.125rem; font-weight: 400;
  color: var(--ink); background: var(--paper);
  border: 1px solid var(--hair); border-radius: 0;
}
.input:focus { border-color: var(--gold-lg); }
textarea.input { padding: 14px 16px; min-height: 96px; resize: vertical; }

.choice { display: flex; gap: 12px; flex-wrap: wrap; }
.choice button {
  flex: 1 1 0; min-width: 118px; min-height: 58px;
  font-family: var(--sc); font-size: 16px; letter-spacing: .1em; text-transform: uppercase;
  background: var(--paper); color: var(--ink);
  border: 1px solid var(--hair); cursor: pointer;
  transition: all .18s ease;
}
.choice button[aria-pressed="true"] { background: var(--ink); color: var(--ivory); border-color: var(--ink); }
.choice button:hover { border-color: var(--gold-lg); }

.pill {
  display: inline-block; padding: 5px 13px;
  font-family: var(--sc); font-size: 14px; letter-spacing: .1em; text-transform: uppercase;
  color: var(--gold-ink); border: 1px solid rgba(198,166,100,.55);
}
.deep .pill { color: var(--gold); }

/* ---------- topbar & footer ------------------------------------------------ */

.topbar {
  position: sticky; top: 0; z-index: 40;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 14px var(--gut);
  background: var(--ivory);
  border-bottom: 1px solid var(--hair);
}
.topbar__mark { display: flex; align-items: center; gap: 11px; text-decoration: none; }
.topbar__mark b { font-family: var(--display); font-weight: 400; font-size: 19px; letter-spacing: .18em; }
.topbar nav { display: none; gap: 30px; }
@media (min-width: 860px) { .topbar nav { display: flex; } }
.topbar nav a {
  font-family: var(--sc); font-size: 14px; letter-spacing: .1em; text-transform: uppercase;
  text-decoration: none; color: var(--muted);
}
.topbar nav a:hover { color: var(--gold-ink); }

.foot { background: var(--deeper); color: rgba(246,244,237,.6); text-align: center; padding: var(--stack) var(--gut); }
.foot .display { color: var(--gold); font-size: clamp(1.625rem, 1.0656rem + 2.30vw, 2.5rem); letter-spacing: .14em; }

/* ---------- utility -------------------------------------------------------- */

.center { text-align: center; }
/* The find page: everything on one centre line, labels included. */
.find-page, .find-page .field > span, .find-page .note { text-align: center; }
.find-page .field > span[style] { text-align: left; }   /* the input rows themselves stay as they are */
.stack-sm > * + * { margin-top: 14px; }
.stack-md > * + * { margin-top: 26px; }
.note { font-size: 16px; color: var(--muted); }
.deep .note { color: rgba(246,244,237,.6); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- scroll-driven hero (progressive enhancement) ------------------- */

@keyframes heroZoom  { to { transform: scale(1.065) translateY(-3%); } }
@keyframes typeRise  { 0%,15% { transform: none; opacity: 1; } 100% { transform: translateY(-76px); opacity: 0; } }
@keyframes cueFade   { 0% { opacity: 1; } 12%,100% { opacity: 0; } }
@keyframes dimIn     { 0%,45% { opacity: 0; } 100% { opacity: .55; } }

@supports (animation-timeline: scroll()) {
  @media (prefers-reduced-motion: no-preference) {
    .hero__img   { animation: heroZoom linear both; animation-timeline: scroll(root block); animation-range: 0 50vh; }
    .hero__type  { animation: typeRise linear both; animation-timeline: scroll(root block); animation-range: 0 42vh; }
    .hero__cue   { animation: cueFade  linear both; animation-timeline: scroll(root block); animation-range: 0 42vh; }
    .hero__dim   { animation: dimIn    linear both; animation-timeline: scroll(root block); animation-range: 0 50vh; }
    @media (max-width: 760px) {
      .hero__img { animation-range: 0 35vh; }
      .hero__type, .hero__cue { animation-range: 0 30vh; }
      .hero__dim { animation-range: 0 35vh; }
    }
  }
}

/* JS fallback (Firefox today) writes --p, 0 → 1 */
.js-parallax .hero__img  { transform: scale(calc(1 + .065 * var(--p, 0))) translateY(calc(-3% * var(--p, 0))); }
.js-parallax .hero__type { transform: translateY(calc(-76px * var(--t, 0))); opacity: calc(1 - var(--t, 0)); }
.js-parallax .hero__dim  { opacity: calc(.55 * var(--d, 0)); }

.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .9s ease, transform .9s cubic-bezier(.22,.7,.3,1); }
.js .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  .js-parallax .hero__img, .js-parallax .hero__type { transform: none; opacity: 1; }
  .hero { height: auto; }
  .hero__stage { position: static; height: 86vh; }
}

/* Hero composition: the photo crops vertically on wide screens and
   horizontally on narrow ones, so the type claims the left column at every
   size and the couple is pushed right of it. */
@media (min-width: 900px) {
  .hero__type { max-width: min(58%, 30ch); bottom: clamp(96px, 16vh, 190px); }
  .hero__img  { object-position: 62% 48%; }
}
@media (max-width: 899px) {
  .hero__img  { object-position: 56% 40%; }                     /* was 63%: the couple a little to the right, clear of the names */
  .hero__type { max-width: 80%; bottom: calc(clamp(64px, 12vh, 132px) - 28px); }   /* the text a little lower */
}

.deep .mirror::after { opacity: .2; }

/* the swan mark, at a size where it actually reads as a swan */
.swan { width: clamp(112px, 11vw, 152px); height: auto; }

/* ==========================================================================
   Ornament — small, deliberate nods, not wallpaper.
   Alpona (Bengali, rice paste at the threshold) welcomes you in, once.
   Pattachitra (Odia, palm-leaf painting) petal-arcade rules divide sections.
   Pasapalli (Sambalpuri ikat chessboard) is the divider mark and the finial.
   ========================================================================== */

.orn-defs { position: absolute; width: 0; height: 0; overflow: hidden; }

/* the threshold band — drawn where a guest crosses into the site */
.alpona { display: block; width: 100%; height: 52px; }
.alpona--dark { background: var(--deep); }
.alpona--light { background: var(--ivory); }

/* soft hand-off between a dark section and a light one, so the change is a fade and not an edge */
.fade { height: clamp(90px, 14vw, 170px); }
.fade--to-light { background: linear-gradient(to bottom, #16241F 0%, #3a4a43 22%, #8d948b 46%, #d3d2c6 70%, #F6F4ED 100%); }
.fade--to-dark  { background: linear-gradient(to bottom, #FFFFFF 0%, #d6d9d4 30%, #8c9791 54%, #3a4a43 78%, #16241F 100%); }
.fade--soft { height: clamp(60px, 8vw, 100px); }
.fade--cream-white   { background: linear-gradient(to bottom, #F6F4ED, #FFFFFF); }
.fade--green-deeper  { background: linear-gradient(to bottom, #16241F, #0F1A16); }
/* pattachitra petal-arcade rule */
.rule-patta { display: block; width: 100%; height: 22px; opacity: .85; }
.rule-patta--flip { transform: scaleY(-1); }

/* pasapalli mark */
.pasa { width: 22px; height: 22px; flex: none; }

.waterline--orn { width: min(520px, 86vw); gap: 14px; }

/* torana — the cusped arch over the one place we ask for something */
.torana { position: relative; padding-top: clamp(132px, 17vw, 210px); }
.torana__arch {
  position: absolute; top: clamp(22px, 3.4vw, 46px); left: 50%; transform: translateX(-50%);
  width: min(560px, 92%); height: auto; pointer-events: none;
}

/* ornate plate: double rule plus corner ticks, for photographs */
.plate--orn { padding: 13px; border-color: rgba(198,166,100,.5); }
.plate--orn::before {
  content: ''; position: absolute; inset: -7px;
  border: 1px solid rgba(158,43,43,.22); pointer-events: none;
}
.plate__tick { position: absolute; width: 17px; height: 17px; pointer-events: none; }
.plate__tick--tl { top: -3px;    left: -3px;  border-top: 2px solid var(--gold); border-left: 2px solid var(--gold); }
.plate__tick--tr { top: -3px;    right: -3px; border-top: 2px solid var(--gold); border-right: 2px solid var(--gold); }
.plate__tick--bl { bottom: -3px; left: -3px;  border-bottom: 2px solid var(--gold); border-left: 2px solid var(--gold); }
.plate__tick--br { bottom: -3px; right: -3px; border-bottom: 2px solid var(--gold); border-right: 2px solid var(--gold); }

/* cards get a quiet gold top edge and a scarlet seed */
.card--orn { position: relative; border-top: 2px solid var(--gold); }
.card--orn::after {
  content: ''; position: absolute; top: -5px; left: 50%; width: 8px; height: 8px;
  margin-left: -4px; background: var(--scarlet); transform: rotate(45deg);
}

/* the story beats */
.beat { max-width: 62ch; }
.beat + .beat { margin-top: clamp(30px, 4vw, 48px); }
.beat__label {
  font-family: var(--sc); font-size: 14px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--scarlet); margin: 0 0 12px;
}
.beat p { margin: 0 0 16px; }
.beat p:last-child { margin-bottom: 0; }

.drop::first-letter {
  float: left; font-family: var(--display); font-size: 3.4em; line-height: .84;
  padding: 6px 12px 0 0; color: var(--gold-lg);
}

/* ---------- full tier: the 3D lake (assets/kage) ---------------------------- */
.hero__gl { position: absolute; inset: 0; width: 100%; height: 100%; display: block; opacity: 0; transition: opacity 1.4s ease; }
/* the 3D and the photo under it are as tall as the large viewport, so a phone's browser bar sliding in and out
   only covers their foot; it never resizes the canvas mid-walk (scene.js reads scroll in the same vh) */
.kage-on .hero__gl, .kage-on .hero__img { bottom: auto; height: 100vh; height: 100lvh; }
.kage-on .hero__gl { opacity: 1; transition: none; }     /* no crossfade: a fading canvas shows the flat hero photo through it; the loader's own fade does the reveal */
.kage-loading .hero__gl { opacity: 0; transition: none; }          /* the 3D draws behind the loader; it fades in only once the loader lifts, so the hero is first seen after it */
.kage-on .hero__img { animation: none; visibility: hidden; }   /* the walk draws its own photo; the flat one must never show through the canvas */
.kage-on .hero__dim { visibility: hidden; }
.kage-on .hero { height: 1190vh; }                /* the photo, the clouds, the valley, the hall */
@media (max-width: 760px) { .kage-on .hero { height: 1190vh; } }
.hero__mist { position: absolute; inset: 0; opacity: 0; pointer-events: none; background: #f4f3ef; }
.chapter-no { display: block; margin-bottom: 8px; opacity: .8; }

.mode-toggle {
  position: absolute; top: 14px; right: var(--gut); z-index: 3;
  min-height: 48px; padding: 0 18px; border-radius: 999px;
  border: 1px solid rgba(198,166,100,.5); background: rgba(15,26,22,.55); color: var(--ivory);
  font-family: var(--sc); font-size: 11px; letter-spacing: .22em; text-transform: uppercase;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); cursor: pointer;
}
.mode-toggle:hover { border-color: var(--gold); }
/* the 3D scene is bright; it needs a lighter veil than the photo */
.kage-on .hero__scrim {
  background:
    linear-gradient(180deg, rgba(15,26,22,.14) 0%, rgba(15,26,22,0) 16%),
    linear-gradient(0deg, rgba(11,20,17,.58) 0%, rgba(11,20,17,.22) 22%, rgba(11,20,17,0) 44%),
    linear-gradient(100deg, rgba(11,20,17,.36) 0%, rgba(11,20,17,.06) 38%, transparent 58%);
}
/* ---------- full tier: the site's sections as places in the hall (assets/kage/stations.js) ---------- */
.kage-venue #day, .kage-venue #story, .kage-venue #faq, .kage-venue #rsvp,
.kage-venue .seam, .kage-venue .reflect, .kage-venue .alpona--dark, .kage-venue .alpona--light, .kage-venue .fade, .kage-venue .rule-patta { display: none; }
.venue-card {
  position: absolute; top: 12vh; z-index: 4; width: min(480px, 40vw);
  transform: translateY(calc(var(--rise, 0px) + var(--shift, 0px)));     /* the whole card moves with the page */
  background: rgba(251,249,243,.96); color: var(--ink);
  border: 1px solid rgba(198,166,100,.55); border-radius: 3px;
  box-shadow: 0 24px 60px rgba(10,16,13,.35), inset 0 0 0 6px rgba(251,249,243,.96), inset 0 0 0 7px rgba(198,166,100,.45);
  opacity: 0; visibility: hidden;
}
.venue-card--right { right: max(var(--gut), 4vw); }
.venue-card--left  { left:  max(var(--gut), 4vw); }
.venue-card__inner { padding: clamp(26px, 3vw, 40px) clamp(22px, 2.6vw, 36px); }
.venue-card .wrap { padding: 0; max-width: none; }
.venue-card .reveal { opacity: 1 !important; transform: none !important; }
.venue-card .story { display: block; }
.venue-card .story + .story { margin-top: 26px; }
.venue-card figure.plate, .venue-card img[aria-hidden="true"], .venue-card .torana__arch { display: none; }  /* the photos hang on the wall */
.venue-card .section-title { font-size: var(--step-3); color: var(--ink) !important; }
.venue-card .eyebrow { color: var(--gold-ink); }
.venue-card p, .venue-card .lede, .venue-card .note { color: var(--ink); }
.venue-card .note { color: var(--muted); }
.venue-card .note strong { color: var(--ink) !important; }
.venue-card .center { text-align: left; }
.venue-card .lede { max-width: none; margin-inline: 0 !important; }
.venue-card .mirror::after { display: none; }
@media (max-width: 760px) {
  .venue-card { top: 38vh; left: 12px; right: 12px; width: auto; }
}
/* the loading screen for the full tier (assets/kage/gate.js) */
.kage-loading, .kage-loading body { overflow: hidden; }
.kage-loader {
  position: fixed; inset: 0; z-index: 50;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px;
  padding: 24px; text-align: center; color: var(--ivory);
  background: radial-gradient(ellipse at 50% 42%, #1c2c25 0%, var(--deeper) 62%);
  opacity: 0; transition: opacity .7s ease;
}
.kage-loader.is-on { opacity: 1; }
.kage-pre::after { content: ""; position: fixed; inset: 0; z-index: 49; background: radial-gradient(ellipse at 50% 42%, #1c2c25 0%, var(--deeper) 62%); }   /* until gate.js decides */
.kage-loader.is-off { opacity: 0; pointer-events: none; transition-duration: .9s; }
.kage-loader__logo { display: block; width: 170px; height: 75px; color: var(--gold); }       /* the trace loader; fixed size, no shift when it mounts */
.kage-loader__names { margin: 0; font-family: var(--display); font-size: clamp(26px, 4vw, 38px); letter-spacing: .06em; color: var(--gold); }
.kage-loader__names span { font-size: .6em; color: rgba(246,244,237,.8); margin: 0 .2em; }
.kage-loader__bar { width: clamp(150px, 22vw, 220px); height: 1px; background: rgba(198,166,100,.22); overflow: hidden; }
.kage-loader__bar i { display: block; height: 100%; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .5s ease; }
.kage-loader__date { margin: 0; font-family: var(--sc); font-size: 11px; letter-spacing: .34em; color: rgba(246,244,237,.6); }
.kage-loader__skip { margin: 18px 0 0; font-size: 14px; color: rgba(246,244,237,.55); opacity: 0; transition: opacity .6s ease; }
.kage-loader.is-slow .kage-loader__skip { opacity: 1; }
.kage-loader__skip button { background: none; border: 0; padding: 8px 4px; color: var(--gold); font: inherit; text-decoration: underline; cursor: pointer; }
@keyframes kage-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }

/* A name written by the pen (worker/worker.js penNameSvg). The svg is sized in em, so this font-size
   is its size; max-width keeps a long name inside the column. */
.pen-title { margin: 10px 0 0; line-height: 1; font-weight: 400; }
.pen-title svg { display: block; font-size: clamp(44px, 6vw, 64px); max-width: 100%; height: auto; overflow: visible; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* The home hero with the names written by the pen (heroWithPen in worker/worker.js). */
.hero__names--pen svg { display: block; font-size: clamp(74px, 11.2vw, 158px); max-width: 100%; height: auto; overflow: visible;
  filter: drop-shadow(0 2px 14px rgba(9, 16, 13, .55)); }
.hero__names--pen .hero__amp { opacity: 0; animation: penFade .47s ease both; }
@keyframes penFade { to { opacity: 1; } }
/* the full experience: the names are written only once the loading screen has gone, not behind it (gate.js adds kage-revealing for a moment as the screen fades) */
.kage-pre .hero__names--pen .pn, .kage-loading .hero__names--pen .pn, .kage-revealing .hero__names--pen .pn,
.kage-pre .hero__amp, .kage-loading .hero__amp, .kage-revealing .hero__amp { animation-play-state: paused !important; }
@media (prefers-reduced-motion: reduce) { .hero__names--pen .hero__amp { opacity: 1; animation: none; } }

/* The (i) tag next to an event name and its popup: invitation page and RSVP page. */
.tip { display: inline-flex; flex: none; }
.info { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 18px; height: 18px; padding: 0; border-radius: 50%; cursor: pointer; font-size: 0; color: var(--gold-ink); background: transparent; border: 1px solid var(--gold-ink); }
/* The "i" is one small vector drawing (a mask filled with the button's colour), not button text. Text is placed at
   sub-pixel positions that depend on where the circle lands, so the same letter looked different in each card;
   a drawing moves with the circle, so all of them match. It sits about half a pixel left of the circle's middle
   on purpose: an italic i has its dot high-right and its foot low-left, so that is what looks centred. */
.info::before { content: ""; width: 16px; height: 16px; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2016%2016'%3E%3Cg%20transform='translate%28-0.71%20-0.06%29'%20fill='none'%20stroke='%23000'%20stroke-width='1.3'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Ccircle%20cx='9.1'%20cy='3.9'%20r='.55'%20fill='%23000'%20stroke-width='.9'/%3E%3Cpath%20d='M8.2%206.6%20L7.1%2010.6%20Q6.8%2011.8%207.9%2011.5%20Q8.7%2011.3%209.3%2010.6'/%3E%3C/g%3E%3C/svg%3E") center / 16px 16px no-repeat; mask: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2016%2016'%3E%3Cg%20transform='translate%28-0.71%20-0.06%29'%20fill='none'%20stroke='%23000'%20stroke-width='1.3'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Ccircle%20cx='9.1'%20cy='3.9'%20r='.55'%20fill='%23000'%20stroke-width='.9'/%3E%3Cpath%20d='M8.2%206.6%20L7.1%2010.6%20Q6.8%2011.8%207.9%2011.5%20Q8.7%2011.3%209.3%2010.6'/%3E%3C/g%3E%3C/svg%3E") center / 16px 16px no-repeat; }
.info::after { content: ""; position: absolute; inset: -13px; }   /* the circle is small; the tap area stays 44px */
.info:hover, .info:focus-visible, .tip.open .info { background: var(--gold-ink); color: var(--ivory); }
.tip__box { display: none; position: absolute; left: 0; right: 0; top: calc(100% + 2px); z-index: 5; padding: 10px 12px; font: 400 14px/1.45 var(--body, inherit); text-transform: none; letter-spacing: 0; color: var(--ivory); background: var(--deep); box-shadow: 0 8px 24px rgba(0,0,0,.18); }
.tip.open .tip__box, .tip:hover .tip__box, .tip:focus-within .tip__box { display: block; }
.tip__say { display: block; margin-bottom: 4px; font-style: italic; font-weight: 400; letter-spacing: .02em; color: var(--gold); }
.ev-gloss { font-style: italic; }   /* "the wedding ceremony" under Bahaghara */
.kage-loader.is-stuck .kage-loader__skip { color: rgba(246,244,237,.85); }
.kage-loader.is-stuck .kage-loader__skip button { padding: 10px 18px; margin-left: 4px; border: 1px solid var(--gold); border-radius: 999px; text-decoration: none; }

/* the logo trace loader (assets/kage/logo-loader.js) */
.logo-trace { display: block; overflow: visible; }
@keyframes logo-trace-loader-loop { to { stroke-dashoffset: -1; } }
@keyframes logo-trace-loader-close { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes logo-trace-loader-fill { from { opacity: 0; } to { opacity: 1; } }
