/* ===========================================================
   Option C — "Cinematic" FLAGSHIP
   Full-bleed wedding-film landing page with lush white-daisy
   florals removed 2026-08-01 — clean painted-hero design.
   Palette-true (Wedding_Palette.png). Mobile-first responsive.
   =========================================================== */

/* ---------- PALETTE ----------
   SPRING OLIVE — Wesley & Claire's 2026-08 palette. There is ONE palette.
   Until 2026-08-02 these values lived in `html.cw-sage` and :root carried a
   second (forest) colourway, so the whole page depended on that class being
   present — lose it and the site silently rendered in the retired palette.
   The forest site is gone, so the switch has been removed and these values
   moved onto :root. Values are byte-identical to the old .cw-sage block.

   ⚠️ Small text on the pale bands MUST use the deepened variants
   (--g-eyebrow #8C6D1B, --g-display #46532F). True mustard fails contrast
   here; this has bitten twice. */
:root{
  --g-bg:#E4EAC8; --g-fg:#333A26; --g-fg-soft:#5D6647; --g-eyebrow:#8C6D1B; --g-display:#46532F;
  --d-bg:#39422A; --d-fg:#F0F2E4; --scrim:36,44,26;
  --accent:#E8B634; --spark:#FFE27C; --spark-ink:#4A3A08; --hairline:#C9B6A1; --script-grn:#758650;
  --cw-cream:#F8F9F8;
}

/* ---------- COVER ----------
   NOTE (2026-08): only a PORTRAIT (9:16) intro film exists, so on landscape/desktop
   it is letterboxed. Rather than a blurred smear behind it, wide screens present the
   film as a deliberate object: a book laid on cloth, edge-shadowed, on a dark ground.
   If a 16:9 render lands later, drop it into [data-vid-land] and delete the
   "desk cover presentation" block below — the film then fills the frame again. */
.cover{position:fixed;inset:0;z-index:200;overflow:hidden;background:#E4DBC6;  /* parchment surround for the envelope */
  display:flex;align-items:center;justify-content:center;text-align:center;
  transition:opacity 1.2s var(--ease),visibility 1.2s}
.cover.is-gone{opacity:0;visibility:hidden}
/* full-screen blur-fill behind the envelope so the cover fills any screen with no flat bars */
.cover__fill{position:absolute;inset:0;z-index:0;
  background:#E4DBC6 url('assets/video/intro-portrait-poster.jpg?v=3') center/cover no-repeat;
  filter:blur(38px) brightness(.93) saturate(1.06);transform:scale(1.22)}
/* envelope contained (whole thing visible) on tall screens; fills on landscape screens */
/* contain (never crop) — the intro's "WE ARE GETTING MARRIED" text is baked into the
   16:9 frame, so it must stay fully visible on portrait phones; the blurred cover__fill
   sits behind to fill any letterbox bars with no flat edges */
.cover__vid{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;z-index:1}

.cover__scrim{position:absolute;inset:0;z-index:2;pointer-events:none;
  background:radial-gradient(82% 78% at 50% 48%,transparent 58%,rgba(60,48,22,.20) 100%)}
/* portrait film fills the phone screen (no letterbox); landscape stays 'contain' on desktop */
.cover--portrait .cover__vid{object-fit:cover}
.cover__floral,.cover__inner{display:none}  /* wordless cover */


/* minimal "press to open" cue (whole cover is also tappable) — dark, for the cream surround */
.cover__open{position:absolute;left:50%;bottom:max(34px,5vh);z-index:3;transform:translateX(-50%);
  display:flex;flex-direction:column;align-items:center;gap:11px;cursor:pointer;background:none;border:0;
  color:#43381f;font-family:var(--sans);text-transform:uppercase;letter-spacing:.34em;font-size:12px;
  text-shadow:0 1px 6px rgba(255,255,255,.7);animation:cue 2.8s ease-in-out infinite}
.cover__open-ring{width:52px;height:52px;border-radius:50%;border:1px solid rgba(67,56,31,.5);
  display:flex;align-items:center;justify-content:center;color:#43381f;
  background:rgba(255,255,255,.4);backdrop-filter:blur(2px);transition:background .25s,transform .25s}
.cover__open:hover .cover__open-ring{background:rgba(255,255,255,.72);transform:translateY(-2px)}
.cover .mute{color:#4a3f29;border-color:rgba(74,63,41,.42);background:rgba(255,255,255,.5)}
.cover .mute:hover{background:rgba(255,255,255,.75)}
.cover__open svg{display:block}
.cover__open-text{opacity:.95}
@keyframes cue{0%,100%{transform:translateX(-50%) translateY(0)}50%{transform:translateX(-50%) translateY(6px)}}
@keyframes bob{0%,100%{transform:translateY(0)}50%{transform:translateY(3px)}}

/* ---- desk cover presentation (landscape / desktop, portrait film only) ----
   The letterbox becomes the design: a deep cloth ground, the film inset as a held
   object with its own shadow, and a warm pool of light behind it. */
@media (orientation:landscape) and (min-width:861px){
  .cover{background:#2C3320}
  .cover__fill{
    background:
      radial-gradient(58% 74% at 50% 46%,rgba(228,219,198,.30),transparent 72%),
      #2C3320 url('assets/video/intro-portrait-poster.jpg?v=3') center/cover no-repeat;
    filter:blur(60px) brightness(.42) saturate(.85);transform:scale(1.3)}
  /* the film sits as an object on the cloth, not edge-to-edge.
     NB: on an absolutely-positioned <video>, height:auto resolves to the INTRINSIC
     height (720×1280 → 1642px) and `bottom` is ignored — so the height must be explicit. */
  .cover__vid{top:clamp(20px,4vh,44px);bottom:clamp(126px,16vh,158px);left:0;right:0;
    height:calc(100% - clamp(20px,4vh,44px) - clamp(126px,16vh,158px));object-fit:contain;
    filter:drop-shadow(0 26px 60px rgba(0,0,0,.62)) drop-shadow(0 3px 10px rgba(0,0,0,.4))}
  /* vignette tightens so the eye goes to the book */
  .cover__scrim{background:
    radial-gradient(62% 66% at 50% 46%,transparent 46%,rgba(16,20,10,.42) 100%)}
  /* the cue reads on the dark cloth now */
  .cover__open{color:#EFE7D2;text-shadow:0 2px 10px rgba(0,0,0,.6)}
  .cover__open-ring{border-color:rgba(239,231,210,.55);color:#EFE7D2;background:rgba(239,231,210,.12)}
  .cover__open:hover .cover__open-ring{background:rgba(239,231,210,.24)}
  .cover .mute{color:#EFE7D2;border-color:rgba(239,231,210,.45);background:rgba(239,231,210,.12)}
  .cover .mute:hover{background:rgba(239,231,210,.24)}
}

/* ---- personalised arrival (pick 15c) — guest links only ----
   Sits over the book cover before the film plays; the darkened band is required
   so the script clears the frame's ornament. */
.cover__greet{position:absolute;left:0;right:0;top:0;z-index:4;padding:clamp(26px,5vh,46px) 20px clamp(40px,7vh,64px);
  text-align:center;pointer-events:none;
  background:linear-gradient(180deg,rgba(18,20,10,.80),rgba(18,20,10,.44) 58%,transparent)}
.cover__greet-daisy{display:block;width:16px;height:16px;margin:0 auto 12px;
  background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cg stroke='%23F0F2E4' stroke-width='1.4'%3E%3Cellipse cx='12' cy='5.4' rx='2.4' ry='4'/%3E%3Cellipse cx='12' cy='5.4' rx='2.4' ry='4' transform='rotate(45 12 12)'/%3E%3Cellipse cx='12' cy='5.4' rx='2.4' ry='4' transform='rotate(90 12 12)'/%3E%3Cellipse cx='12' cy='5.4' rx='2.4' ry='4' transform='rotate(135 12 12)'/%3E%3Cellipse cx='12' cy='5.4' rx='2.4' ry='4' transform='rotate(180 12 12)'/%3E%3Cellipse cx='12' cy='5.4' rx='2.4' ry='4' transform='rotate(225 12 12)'/%3E%3Cellipse cx='12' cy='5.4' rx='2.4' ry='4' transform='rotate(270 12 12)'/%3E%3Cellipse cx='12' cy='5.4' rx='2.4' ry='4' transform='rotate(315 12 12)'/%3E%3C/g%3E%3Ccircle cx='12' cy='12' r='2.6' stroke='%23FFE27C' stroke-width='1.4'/%3E%3C/svg%3E") center/contain no-repeat}
.cover__greet-lbl{margin:0 0 6px;font-family:var(--sans);font-weight:500;text-transform:uppercase;
  letter-spacing:.34em;font-size:clamp(10px,1.4vw,11px);color:#E8DFC8;text-shadow:0 2px 10px rgba(0,0,0,.8)}
.cover__greet-name{margin:0;font-family:var(--names);font-size:clamp(38px,7vw,58px);line-height:1;
  color:#FBF6EC;text-shadow:0 3px 20px rgba(0,0,0,.85)}
@media (orientation:landscape) and (min-width:861px){
  /* on the desk presentation the greeting sits on the cloth above the book */
  .cover__greet{padding-top:clamp(16px,3vh,30px);background:linear-gradient(180deg,rgba(18,20,10,.62),transparent)}
}

/* ---------- MUTE ---------- */
.mute{position:absolute;top:18px;right:18px;z-index:6;width:44px;height:44px;border-radius:50%;
  border:1px solid rgba(251,246,236,.5);background:rgba(var(--scrim),.40);backdrop-filter:blur(4px);
  cursor:pointer;display:flex;align-items:center;justify-content:center;color:#FBF6EC;transition:background .2s}
.mute:hover{background:rgba(var(--scrim),.65)}
.mute svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.mute__off{display:none}
.mute.is-muted .mute__on{display:none}
.mute.is-muted .mute__off{display:block}
.mute--float{position:fixed;bottom:20px;right:20px;top:auto;z-index:120;
  opacity:0;visibility:hidden;transition:opacity .5s;
  color:#FBF6EC;border-color:rgba(251,246,236,.45);background:rgba(var(--scrim),.7);backdrop-filter:blur(6px)}
.mute--float:hover{background:rgba(var(--scrim),.9)}
body.std-entered .mute--float{opacity:1;visibility:visible}

/* ---------- HERO (bike film + details overlaid) ---------- */
.hero{position:relative;min-height:100vh;min-height:100dvh;overflow:hidden;
  display:flex;flex-direction:column;align-items:center;justify-content:center;
  padding:max(8vh,40px) 6vw;text-align:center;background:var(--d-bg)}
body.std-dev .hero{min-height:760px}
.hero__vid{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:0}
/* NEUTRAL dark scrim — arrives WITH the names (not during the dissolve) so the
   film's final painting frame and the hero start pixel-identical */
.hero__scrim{position:absolute;inset:0;z-index:1;opacity:0;transition:opacity 1.4s ease .3s;
  background:
    linear-gradient(180deg,rgba(14,14,13,.46),rgba(14,14,13,.26) 38%,rgba(9,9,8,.80)),
    radial-gradient(66% 60% at 50% 52%,rgba(11,11,10,.44),rgba(7,7,6,.72) 84%)}
body.std-revealed .hero__scrim{opacity:1}


@keyframes drip{0%,100%{opacity:.3;transform:scaleY(.7)}50%{opacity:1;transform:scaleY(1)}}

.hero__details{position:relative;z-index:4;width:min(92vw,820px);
  display:flex;flex-direction:column;align-items:center;
  color:#FBF6EC;text-align:center;visibility:hidden;pointer-events:none}
.hero__details.is-revealed{visibility:visible;pointer-events:auto}
/* each line fades up in sequence — text "appears" line by line after the film loops */
.hero__details > *{opacity:0;transform:translateY(18px)}
.hero__details.is-revealed > *{opacity:1;transform:none;transition:opacity 1.1s ease,transform 1.2s var(--ease)}
.hero__details.is-revealed > *:nth-child(1){transition-delay:.15s}
.hero__details.is-revealed > *:nth-child(2){transition-delay:.5s}
.hero__details.is-revealed > *:nth-child(3){transition-delay:.9s}   /* the names — a beat to land */
.hero__details.is-revealed > *:nth-child(4){transition-delay:1.35s}
.hero__details.is-revealed > *:nth-child(5){transition-delay:1.7s}
.hero__details.is-revealed > *:nth-child(6){transition-delay:2.05s}
.hero__details.is-revealed > *:nth-child(7){transition-delay:2.4s}
.hero__details.is-revealed > *:nth-child(8){transition-delay:2.7s}
.hero__eyebrow{letter-spacing:.42em}
/* stacked names — Wesley / & / Claire, each on its own line, gold script ampersand between */
.hero__title{color:#FBF6EC;font-family:var(--names);font-weight:400;line-height:1.04;margin:.1em 0 .45em;
  font-size:clamp(46px,8.4vw,96px);text-shadow:0 4px 36px rgba(0,0,0,.55)}
/* Wesley's request: "are getting married" larger (Design's base predated it) */
.hero__title em{font-family:var(--display);font-style:italic;font-weight:400;display:inline-block;font-size:.44em;
  color:#f2ecdd;letter-spacing:.02em;margin-top:.34em}
.hero__title .amp{font-family:var(--names);color:var(--spark);font-size:.6em;line-height:1.15;
  display:inline-block;vertical-align:-.04em;padding:0 .06em;-webkit-text-fill-color:var(--spark)}
.hero__meta{font-family:var(--sans);font-weight:400;letter-spacing:.14em;text-transform:uppercase;
  font-size:clamp(15px,4vw,19px);line-height:1.9;color:#f0e7d4;margin:0 0 1.15em;text-shadow:0 2px 12px rgba(0,0,0,.5)}
.hero__note{font-family:var(--display);font-style:italic;font-size:clamp(19px,5vw,26px);
  color:#f1e7d2;margin:0 auto 1.5em;max-width:24em;line-height:1.4;text-shadow:0 2px 14px rgba(0,0,0,.5)}

.cd{display:flex;justify-content:center;gap:clamp(14px,4vw,34px);margin:0 auto 1.1em;width:fit-content;max-width:100%}
.cd>div{display:flex;flex-direction:column;align-items:center;min-width:56px}
.cd b{font-family:var(--display);font-weight:500;font-size:clamp(34px,7vw,58px);line-height:1;
  color:#FBF6EC;text-shadow:0 3px 22px rgba(0,0,0,.5);font-variant-numeric:tabular-nums;
  display:inline-block;transform-origin:50% 50%}
.cd b.cd-tick{animation:cdTick .55s var(--ease)}     /* each digit flips softly as it ticks */
@keyframes cdTick{
  0%{opacity:.2;transform:translateY(-.16em) scale(.96)}
  55%{opacity:1}
  100%{transform:none}
}
.cd span{font-family:var(--sans);text-transform:uppercase;letter-spacing:.24em;font-size:11px;color:#d8ceb6;margin-top:.7em}
.hero__cue{font-family:var(--display);font-style:italic;font-size:clamp(18px,4.6vw,24px);
  color:#f1e7d2;margin:.2em 0 2em;text-shadow:0 2px 14px rgba(0,0,0,.5)}
.hero__cue em{color:var(--spark);font-style:italic}
/* wordless scroll hint — a soft-gold chevron that bobs, and leaves once you've scrolled */
.scrollhint{display:inline-flex;align-items:center;justify-content:center;padding:10px;
  color:var(--spark);opacity:.85;transition:opacity .6s ease;
  filter:drop-shadow(0 2px 8px rgba(0,0,0,.45))}
.scrollhint svg{display:block;animation:hintbob 1.9s ease-in-out infinite}
.scrollhint:hover{opacity:1}
.scrollhint:focus-visible{opacity:1;outline:2px solid var(--spark);outline-offset:3px;border-radius:8px}
body.std-scrolled .scrollhint{opacity:0;pointer-events:none;transition:opacity .8s ease}
@keyframes hintbob{0%,100%{transform:translateY(0)}50%{transform:translateY(7px)}}

@media (prefers-reduced-motion:reduce){
  .hero__details,.hero__details.is-revealed{transition:none}
  .cover__open{animation:none}
  .scrollhint svg{animation:none}
}

/* ===========================================================
   "WRITTEN" SCROLL REVEAL — each block's children fade up in
   sequence as it scrolls into view (like the page is written)
   =========================================================== */
[data-reveal]{opacity:1;transform:none}                  /* container no longer fades as one block */
[data-reveal] > *{opacity:0;transform:translateY(16px)}
[data-reveal].in > *{opacity:1;transform:none;transition:opacity .9s ease,transform 1s var(--ease)}
[data-reveal].in > *:nth-child(1){transition-delay:.05s}
[data-reveal].in > *:nth-child(2){transition-delay:.16s}
[data-reveal].in > *:nth-child(3){transition-delay:.27s}
[data-reveal].in > *:nth-child(4){transition-delay:.38s}
[data-reveal].in > *:nth-child(5){transition-delay:.49s}
[data-reveal].in > *:nth-child(6){transition-delay:.6s}
[data-reveal].in > *:nth-child(7){transition-delay:.71s}
[data-reveal].in > *:nth-child(8){transition-delay:.82s}
[data-reveal].in > *:nth-child(n+9){transition-delay:.9s}
/* story prose writes in line by line too */
.story__text > p{opacity:0;transform:translateY(14px)}
[data-reveal].in .story__text > p{opacity:1;transform:none;transition:opacity .9s ease,transform 1s var(--ease)}
[data-reveal].in .story__text > p:nth-child(1){transition-delay:.3s}
[data-reveal].in .story__text > p:nth-child(2){transition-delay:.55s}
[data-reveal].in .story__text > p:nth-child(3){transition-delay:.8s}
@media (prefers-reduced-motion:reduce){
  [data-reveal] > *,.story__text > p,.hero__details > *{opacity:1!important;transform:none!important;transition:none!important}
}

/* letterform reveal — focal titles write in letter by letter, softly un-blurring */
[data-letters]{opacity:1!important;transform:none!important}
[data-letters] .lt{display:inline-block;opacity:0;transform:translateY(.55em) rotate(3deg);
  filter:blur(7px);transition:opacity .6s ease,transform .72s var(--ease),filter .8s ease}
.hero__title{--base:.85s}
.is-revealed [data-letters] .lt,
.in [data-letters] .lt{opacity:1;transform:none;filter:none;transition-delay:calc(var(--base,0s) + var(--i) * .052s)}

/* the names land, then a soft gold shimmer breathes through once */
.hero__title{position:relative}
body.std-revealed .hero__title{animation:nameGlow 3s var(--ease) 1.7s both}
@keyframes nameGlow{
  0%{text-shadow:0 4px 36px rgba(0,0,0,.55)}
  45%{text-shadow:0 4px 36px rgba(0,0,0,.55),0 0 24px rgba(255,226,124,.55),0 0 64px rgba(232,182,52,.3)}
  100%{text-shadow:0 4px 36px rgba(0,0,0,.55)}
}
.hero__title .amp{transition:text-shadow .6s ease}
body.std-revealed .hero__title .amp{animation:ampShimmer 3s var(--ease) 1.7s both}
@keyframes ampShimmer{
  0%,100%{text-shadow:none;filter:none}
  45%{text-shadow:0 0 18px rgba(255,226,124,.85),0 0 38px rgba(255,226,124,.5);filter:brightness(1.18)}
}
@media (prefers-reduced-motion:reduce){
  [data-letters] .lt{opacity:1!important;transform:none!important;filter:none!important;transition:none}
  .hero__title,.hero__title .amp{animation:none!important}
}

/* ===========================================================
   BANDS
   =========================================================== */
.band{position:relative;padding:clamp(72px,11vw,128px) 0}
.band--cream{background:var(--cw-cream);color:var(--ink)}
.band--green{background:var(--g-bg);color:var(--g-fg)}
.band--dark{background:var(--d-bg);color:var(--d-fg)}

.wrap.narrow{max-width:760px}
.center{text-align:center}
.h-lg{font-size:clamp(30px,5.4vw,54px);margin:.1em 0 .5em}
.h-md{font-size:clamp(26px,4.4vw,40px);margin:.1em 0 .5em}
.lead{font-size:clamp(17px,4.2vw,19px);line-height:1.7;color:var(--soft-ink)}
.lead em,p em{font-style:italic}
strong{font-weight:600}

/* eyebrows by context */
.eyebrow{color:var(--hairline)}
.band--green .eyebrow{color:var(--g-eyebrow)}
.band--cream .eyebrow{color:var(--g-eyebrow)}  /* oak hairline washes out on cream; one gold across the band */
.eyebrow--over{color:var(--spark);text-shadow:0 2px 18px rgba(0,0,0,.75),0 0 2px rgba(0,0,0,.5)}

/* band--green text colours (flip per colourway) */
.band--green .display,.band--green .h-lg{color:var(--g-display)}
.band--green .lead{color:var(--g-fg-soft)}
.band--green strong{color:var(--g-fg)}
.band--dark strong{color:#fff}

/* cream card on any band */
.card{background:var(--soft-white);color:var(--ink);border-radius:var(--radius);
  padding:clamp(34px,5.5vw,60px);box-shadow:var(--shadow);border:1px solid var(--line)}
.card .lead{color:var(--soft-ink)}
.card .display,.card .h-lg{color:var(--ink)}
.card .eyebrow{color:var(--hairline)}
.card strong,.card .lead strong{color:var(--ink)}  /* bold words must stay dark on cream cards */


/* Chapter Four heading — "Saturday" as a small-caps ribbon between rules (pick 4a) */
.ch4-day{display:flex;align-items:center;justify-content:center;gap:14px;font-family:var(--sans);
  font-weight:500;text-transform:uppercase;letter-spacing:.3em;font-size:clamp(12px,1.5vw,14px);
  color:var(--grass);margin:0 auto 12px}
.ch4-day i{width:clamp(34px,5vw,54px);height:1px;background:rgba(140,109,27,.45)}

/* ---------- When / Where ---------- */
.details-grid{display:flex;align-items:center;justify-content:center;gap:clamp(28px,6vw,72px);flex-wrap:wrap;text-align:center}
.dcard{flex:0 1 320px}
.dcard .eyebrow{color:var(--g-eyebrow)}
.dcard__big{font-size:clamp(26px,4vw,42px);line-height:1.08;color:var(--g-display);margin:.1em 0 .5em}
.dcard__sub{color:var(--g-fg-soft);font-size:16px;line-height:1.6;margin:0}
.dcard__sub em{font-style:italic;opacity:.85}
.cal{margin-top:clamp(40px,6vw,64px)}
.cal__lbl{font-family:var(--script);font-weight:700;color:var(--g-eyebrow);font-size:clamp(36px,7vw,54px);margin:0 0 .35em;line-height:1}
.cal__btns{display:flex;gap:14px;justify-content:center;flex-wrap:wrap}

/* ---------- BUTTONS ---------- */
.btn{display:inline-flex;align-items:center;justify-content:center;cursor:pointer;text-decoration:none;
  font-family:var(--sans);font-weight:500;text-transform:uppercase;letter-spacing:.14em;font-size:12.5px;
  padding:14px 28px;border-radius:999px;border:1px solid transparent;
  background:var(--spark);color:var(--spark-ink);
  box-shadow:0 12px 30px rgba(0,0,0,.22);transition:transform .25s var(--ease),background .25s,box-shadow .25s}
.btn:hover{transform:translateY(-2px);background:#f8d75f}
.btn--ghost{background:transparent;border-color:rgba(251,246,236,.55);color:#FBF6EC;box-shadow:none}
.band--cream .btn--ghost{color:var(--forest);border-color:var(--forest)}
.band--cream .btn--ghost:hover{background:rgba(52,103,42,.08)}  /* the near-white wash was invisible on cream */
.band--cream .btn{border-color:rgba(58,44,5,.18);box-shadow:0 10px 26px rgba(60,72,44,.3)}  /* ground the lemon CTA on a light band */
.band--green .btn--ghost{color:var(--g-fg);border-color:var(--hairline)}  /* legible on pale-sage & dark grounds alike */
.band--green .btn--ghost:hover{background:rgba(var(--scrim),.10)}
.btn--ghost:hover{background:rgba(251,246,236,.12)}
.btn--lg{padding:17px 38px;font-size:13px}

@media (prefers-reduced-motion:reduce){ [data-parallax],[data-zoom]{transform:none!important} }

/* ---------- STORY CHAPTERS ---------- */
.chap{padding:clamp(44px,6vw,80px) 0}
.chap-head{position:relative;text-align:center;margin:0 auto clamp(26px,4vw,40px);max-width:760px;padding:0 20px}
/* dark-band chapter head (Where we are now) */
.band--dark .chap-head .h-lg{color:var(--d-fg)}
.band--dark .chap-head .eyebrow{color:var(--spark)}
.chap-line{display:block;width:2px;height:clamp(30px,4.6vw,50px);margin:0 auto 12px;
  background:linear-gradient(transparent,var(--accent));opacity:.55}
/* daisy chapter marker (pick 1d) — line daisy, ring centre; a typographic mark, not d\u00e9cor */
.chap-dot,.chap-dot--ring{display:block;width:16px;height:16px;border-radius:0;border:0;margin:0 auto 20px;box-shadow:none;
  background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cg stroke='%2346532F' stroke-width='1.4'%3E%3Cellipse cx='12' cy='5.4' rx='2.4' ry='4'/%3E%3Cellipse cx='12' cy='5.4' rx='2.4' ry='4' transform='rotate(45 12 12)'/%3E%3Cellipse cx='12' cy='5.4' rx='2.4' ry='4' transform='rotate(90 12 12)'/%3E%3Cellipse cx='12' cy='5.4' rx='2.4' ry='4' transform='rotate(135 12 12)'/%3E%3Cellipse cx='12' cy='5.4' rx='2.4' ry='4' transform='rotate(180 12 12)'/%3E%3Cellipse cx='12' cy='5.4' rx='2.4' ry='4' transform='rotate(225 12 12)'/%3E%3Cellipse cx='12' cy='5.4' rx='2.4' ry='4' transform='rotate(270 12 12)'/%3E%3Cellipse cx='12' cy='5.4' rx='2.4' ry='4' transform='rotate(315 12 12)'/%3E%3C/g%3E%3Ccircle cx='12' cy='12' r='2.6' stroke='%238C6D1B' stroke-width='1.4'/%3E%3C/svg%3E") center/contain no-repeat}
.band--dark .chap-dot{
  background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cg stroke='%23F0F2E4' stroke-width='1.4'%3E%3Cellipse cx='12' cy='5.4' rx='2.4' ry='4'/%3E%3Cellipse cx='12' cy='5.4' rx='2.4' ry='4' transform='rotate(45 12 12)'/%3E%3Cellipse cx='12' cy='5.4' rx='2.4' ry='4' transform='rotate(90 12 12)'/%3E%3Cellipse cx='12' cy='5.4' rx='2.4' ry='4' transform='rotate(135 12 12)'/%3E%3Cellipse cx='12' cy='5.4' rx='2.4' ry='4' transform='rotate(180 12 12)'/%3E%3Cellipse cx='12' cy='5.4' rx='2.4' ry='4' transform='rotate(225 12 12)'/%3E%3Cellipse cx='12' cy='5.4' rx='2.4' ry='4' transform='rotate(270 12 12)'/%3E%3Cellipse cx='12' cy='5.4' rx='2.4' ry='4' transform='rotate(315 12 12)'/%3E%3C/g%3E%3Ccircle cx='12' cy='12' r='2.6' stroke='%23FFE27C' stroke-width='1.4'/%3E%3C/svg%3E") center/contain no-repeat}
.chap-head .h-lg{margin-bottom:.15em}

.story{display:grid;grid-template-columns:1.05fr 1fr;gap:clamp(28px,5vw,64px);align-items:center;position:relative;z-index:1}

/* the proposal photo inside the Chapter Three card */
.proposal{margin:4px auto 26px;max-width:640px}
.proposal picture{display:block;border-radius:12px;overflow:hidden;box-shadow:0 18px 44px rgba(44,51,39,.22)}
.proposal img{width:100%;display:block}
.proposal figcaption{margin-top:14px;display:flex;flex-direction:column;gap:3px}
.proposal .cap-date{font-family:var(--sans);font-weight:500;text-transform:uppercase;
  letter-spacing:.24em;font-size:11px;color:var(--g-eyebrow)}
.proposal .cap-phrase{font-family:var(--display);text-transform:uppercase;letter-spacing:.05em;
  font-size:clamp(19px,3vw,24px);line-height:1.2;color:var(--grass)}
@media (min-width:861px){.story--rev .story__media{order:2}}
/* Chapter One — two photographs, the second overlapping the first's bottom-left corner.
   The stack reserves room for the overhang so nothing clips or collides with the text.
   NB: these must outrank the pre-existing `.story__media picture` and
   `.story__media > picture:first-child img` rules, hence the .story__stack scope. */
.story__stack{position:relative;padding-bottom:clamp(38px,9vw,86px)}
.story__stack .story__pic{display:block;border-radius:var(--radius);overflow:hidden;box-shadow:var(--shadow)}
.story__stack .story__pic img{width:100%;height:100%;object-fit:cover;display:block}
.story__stack .story__pic--top{width:88%;margin-left:auto}
.story__media.story__stack > picture.story__pic--top img{aspect-ratio:4/5}
.story__media .story__pic--inset{position:absolute;left:0;bottom:0;width:46%;z-index:2;
  box-shadow:0 18px 40px rgba(44,51,39,.34),0 0 0 6px var(--soft-white)}
.story__media > picture.story__pic--inset img{aspect-ratio:1/1}
@media (min-width:861px){
  .story__stack .story__pic--top{width:86%}
  .story__media .story__pic--inset{width:44%}
}

.story--follow{margin-top:clamp(36px,6vw,60px)}   /* second beat inside The Love Story */
.story__media{position:relative}
.story__media picture{display:block;border-radius:var(--radius);overflow:hidden;box-shadow:var(--shadow)}
.story__media img{width:100%;height:100%;object-fit:cover;display:block}
.story__media>picture:first-child img{aspect-ratio:4/3}
.story__text .eyebrow{color:var(--hairline)}
.story__text p{margin:0 0 1.1em;color:var(--soft-ink);font-size:clamp(17px,4.2vw,19px);line-height:1.75}
.story__text p em{font-style:italic;color:var(--script-grn)}
.band--green .story__text p{color:var(--g-fg-soft)}
.band--green .story__text strong{color:var(--g-fg)}
.band--green .story__text p em{color:var(--g-display)}  /* grass-green fails contrast on sage's light band */

/* ---------- RSVP ---------- */
.rsvp__deadline{margin-top:.4em}
.rsvp__deadline strong{color:var(--g-eyebrow)}  /* accent gold fails contrast on sage's pale band */
.rsvp__wrap{max-width:720px;margin:clamp(32px,5vw,52px) auto 0;position:relative;z-index:1}
.rsvp{display:flex;flex-direction:column;gap:18px}
.hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
.field{display:flex;flex-direction:column;gap:7px;border:0;padding:0;margin:0;min-width:0}
.field label,.field legend{font-family:var(--sans);font-weight:500;font-size:13px;letter-spacing:.04em;color:var(--ink);padding:0}
.field label span,.field legend span{color:var(--soft-ink);font-weight:400;text-transform:none;letter-spacing:0}
.field input,.field textarea{font-family:var(--sans);font-size:15px;color:var(--ink);
  background:#fff;border:1px solid var(--line);border-radius:10px;padding:13px 15px;width:100%;
  transition:border-color .2s,box-shadow .2s}
.field input:focus,.field textarea:focus{outline:none;border-color:var(--grass);box-shadow:0 0 0 3px rgba(117,134,80,.2)}
.field textarea{resize:vertical}
.field-row{display:grid;grid-template-columns:1fr 1fr;gap:18px}
fieldset.field legend{margin-bottom:10px}
.radio,.check{display:flex;align-items:center;gap:11px;font-weight:400!important;font-size:15px!important;color:var(--ink);cursor:pointer;padding:4px 0}
.radio input,.check input{width:18px;height:18px;accent-color:var(--grass);flex:0 0 auto}
.rsvp .btn{align-self:flex-start;margin-top:6px}
/* optional extras fold away like a letter's postscript */
.rsvp__extra{border:1px dashed var(--line);border-radius:10px}
.rsvp__extra summary{list-style:none;cursor:pointer;padding:13px 15px;
  font-family:var(--sans);font-weight:500;font-size:13px;letter-spacing:.04em;color:var(--forest)}
.rsvp__extra summary::-webkit-details-marker{display:none}
.rsvp__extra summary::before{content:"+";display:inline-block;width:1.2em;color:var(--g-eyebrow);font-weight:600}
.rsvp__extra[open] summary::before{content:"–"}
.rsvp__extra-body{display:flex;flex-direction:column;gap:18px;padding:2px 15px 16px}
/* wax seal stamps onto the reply card */
.seal-mini{width:clamp(64px,10vw,84px);margin:0 auto 16px;display:block;
  filter:drop-shadow(0 10px 22px rgba(0,0,0,.35))}
.rsvp__msg:not([hidden]) .seal-mini{animation:stamp .6s var(--ease) .15s both}
@keyframes stamp{
  0%{opacity:0;transform:scale(1.7) rotate(-9deg)}
  60%{opacity:1;transform:scale(.94) rotate(1deg)}
  100%{opacity:1;transform:none}
}
.rsvp__demo{font-size:12px;color:var(--soft-ink);margin:2px 0 0;font-style:italic}
.rsvp__err{font-size:13px;color:#b3261e;margin:8px 0 0}
.rsvp__err a{color:#b3261e;text-decoration:underline;text-underline-offset:2px}
.rsvp__msg{text-align:center}
.rsvp__msg .display{font-size:clamp(24px,4vw,36px);margin:0 0 .5em;color:var(--ink)}
.rsvp__msg p{color:var(--soft-ink);margin:0 0 1em;font-size:16px;line-height:1.7}
.rsvp__msg .sig{font-family:var(--names);font-weight:400;font-size:clamp(30px,5.5vw,46px);color:var(--script-grn);margin:.4em 0 0}
/* RSVP pass-through (shown to guests whose name is on the list) */
.rsvp__pass{margin:1.2em 0 .4em}
.rsvp__pass-lbl{font-family:var(--sans);text-transform:uppercase;letter-spacing:.18em;font-size:12px;
  color:var(--g-eyebrow)!important;margin:0 0 .8em!important}
.rsvp__pass-soon{font-family:var(--sans);letter-spacing:.04em;font-size:14px;color:var(--g-eyebrow)!important;
  margin:1.1em 0 .2em!important}
.rsvp__msg [data-rsvp-retry]{margin-top:.4em}
/* decline + no-match outcome cards (picks 8e / 8f) */
.rsvp__msg .chap-dot{margin-bottom:16px}
.rsvp__rule{height:1px;background:rgba(117,134,80,.22);margin:4px 0 16px}
.rsvp__note{font-size:15px!important;line-height:1.65!important;margin:0 0 .9em!important}
.rsvp__retry{width:100%;margin:.2em 0 1.1em}
.rsvp__or{display:flex;align-items:center;gap:12px;margin:0 0 1em!important;color:var(--g-eyebrow)!important}
.rsvp__or::before,.rsvp__or::after{content:"";flex:1;height:1px;background:rgba(117,134,80,.22)}
.rsvp__or span{font-family:var(--sans);text-transform:uppercase;letter-spacing:.2em;font-size:11px}
.rsvp__contact{display:flex;gap:10px;justify-content:center;flex-wrap:wrap}

/* guest-link additions: salutation, seat line, reply-on-file (picks 15f / 15h) */
.rsvp__to{display:block;font-size:.86em;color:inherit}
.rsvp__seats{margin:0 0 4px;font-family:var(--display);font-style:italic;
  font-size:clamp(15px,2.4vw,17px);line-height:1.5;color:var(--soft-ink);text-align:center;
  padding:12px 0;border-top:1px solid rgba(140,109,27,.3);border-bottom:1px solid rgba(140,109,27,.3)}
.rsvp__seats strong{font-style:normal;color:var(--grass)}
.rsvp__replied{font-family:var(--sans);font-size:13px!important;color:var(--g-eyebrow)!important;margin:-.4em 0 0!important}
/* the card default (--hairline) washes out on the cream card — deepened gold, per the contrast rule */
.rsvp__msg .eyebrow,[data-guest-reply] .eyebrow{color:var(--g-eyebrow)}

/* ---------- GALLERY — polaroid-mat collage (Chapter Four) ---------- */
.gallery-band{padding:clamp(56px,8vw,96px) 0}
.band--dark .lead{color:var(--d-fg)}
.gallery{display:grid;grid-template-columns:repeat(4,1fr);gap:clamp(14px,2vw,24px);
  max-width:1180px;margin:clamp(28px,4vw,44px) auto 0;padding:0 clamp(16px,4vw,40px)}
.g-item{position:relative;display:block;cursor:zoom-in;background:linear-gradient(175deg,#FCFAF4,#F3EFE4);
  padding:3.5% 3.5% 15%;border-radius:3px;
  box-shadow:0 1px 2px rgba(0,0,0,.4),0 3px 6px rgba(0,0,0,.28),0 16px 30px rgba(0,0,0,.4)}
/* straight grid — tilts removed at user request; hover lift only */
.g-item{--tilt:0deg}
/* polaroids own their transform/transition — these must outrank the generic
   [data-reveal].in > * child cascade (and its nth-child stagger delays) */
.gallery > .g-item{opacity:0;transform:rotate(var(--tilt,0deg)) translateY(14px);
  transition:opacity .9s ease,transform .5s var(--ease),box-shadow .5s}
.gallery.in > .g-item{opacity:1;transform:rotate(var(--tilt,0deg));transition-delay:0s}
.gallery.in > .g-item:hover{transform:rotate(0deg) translateY(-6px);
  box-shadow:0 24px 48px rgba(0,0,0,.55);z-index:5}
.g-item picture{display:block;overflow:hidden;position:relative}
/* developed-film finish (pick 5e/5f): recessed emulsion, gloss sheen, warm vignette */
.g-item picture::after{content:"";position:absolute;inset:0;pointer-events:none;
  background:linear-gradient(115deg,rgba(255,255,255,.16),rgba(255,255,255,.04) 30%,transparent 44%),
    radial-gradient(130% 130% at 50% 42%,transparent 60%,rgba(58,40,12,.18));
  box-shadow:inset 0 1px 3px rgba(0,0,0,.32),inset 0 0 2px rgba(0,0,0,.22)}
.g-item img{width:100%;height:100%;object-fit:cover;aspect-ratio:1/1;display:block}
/* pencilled note in the lip (pick 5f) — handwriting, kept to one line */
.g-cap{position:absolute;left:8%;right:8%;bottom:3.2%;font-family:var(--names);font-size:clamp(14px,1.3vw,19px);
  line-height:1;color:#6b675c;text-align:center;white-space:nowrap;overflow:hidden}

/* ---------- FOOTER ---------- */
.foot{background:var(--d-bg);color:var(--d-fg);text-align:center;padding:clamp(64px,9vw,100px) 0}
.seal{width:clamp(84px,13vw,108px);height:auto;margin:0 auto 18px;display:block;
  filter:drop-shadow(0 12px 26px rgba(0,0,0,.55))}
.foot__script{font-family:var(--script);font-weight:700;color:var(--accent);font-size:clamp(40px,8vw,62px);margin:0 0 .1em;line-height:1}
.foot__names{font-family:var(--names);color:#FBF6EC;font-size:clamp(34px,6.5vw,52px);margin:.1em 0 .5em}
.foot__meta{font-family:var(--sans);letter-spacing:.06em;font-size:15px;color:var(--d-fg);opacity:.85;margin:0 0 1.4em}
.foot__follow{font-family:var(--display);font-style:italic;font-size:clamp(17px,2.4vw,20px);color:var(--d-fg);margin:0 0 1.4em}
.foot__tag{font-family:var(--sans);text-transform:uppercase;letter-spacing:.28em;font-size:12px;color:var(--accent);margin:0 0 1.4em}
.foot__contact{font-size:15px;color:var(--d-fg);opacity:.9;margin:0}
.foot__contact a{color:#FBF6EC;text-decoration:underline;text-underline-offset:3px;text-decoration-color:var(--hairline)}
.foot__contact a:hover{text-decoration-color:var(--accent)}

/* ===========================================================
   RESPONSIVE / MOBILE
   =========================================================== */
@media (max-width:860px){
  .story{grid-template-columns:1fr;gap:clamp(36px,9vw,56px)}
  .story__media{max-width:520px;margin:0 auto;width:100%}
  .gallery{grid-template-columns:repeat(2,1fr)}
}
@media (max-width:560px){
  .hero__details{width:92vw}
  .field-row{grid-template-columns:1fr}
  .hero__eyebrow{letter-spacing:.28em}   /* .42em tracking wraps the eyebrow at 375px */
  /* ——— mobile type pass: phones read at arm's length, not desktop minimums ——— */
  .eyebrow{font-size:13px}
  .hero__title{font-size:clamp(44px,13vw,58px)}
  .h-lg{font-size:clamp(34px,9.6vw,40px)}
  .dcard__big{font-size:clamp(30px,8.5vw,38px)}
  .cover__open{font-size:13px}
  .cover__open-ring{width:56px;height:56px}
  .field label,.field legend{font-size:14px}
  .field input,.field textarea{font-size:16px}   /* ≥16px stops iOS Safari zooming on focus */
  .radio,.check{font-size:16px!important}
  .rsvp__extra summary{font-size:14px}
  .foot__names{font-size:clamp(38px,9.5vw,46px)}
  .cd{gap:12px}
  .cd>div{min-width:0}
  .cd b{font-size:clamp(28px,10vw,38px)}  /* tuned for the taller 4-line hero (was 11vw for the old one-line names) */
  .details-grid{flex-direction:column;gap:34px}
  .cal__btns{flex-direction:column}
  .rsvp .btn{align-self:stretch}
}

/* very small phones — the vw clamps above keep scaling */
@media (max-width:380px){
  .cd span{font-size:10px;letter-spacing:.18em}
}

/* shorter laptop screens — the stacked three-line names need vertical headroom */
@media (min-width:561px) and (max-height:840px){
  .hero__title{font-size:clamp(42px,7vw,72px)}
  .hero__note{font-size:clamp(16px,2.6vw,21px);margin-bottom:1.1em}
  .cd b{font-size:clamp(28px,5.4vw,46px)}
}
/* shorter still — keep the whole reveal (names → countdown → scroll cue) on one screen */
@media (min-width:561px) and (max-height:760px){
  .hero{padding:max(5vh,32px) 6vw}
  .hero__title{font-size:clamp(38px,6vw,64px)}
  .hero__meta{line-height:1.8;margin-bottom:.9em}
  .hero__note{font-size:clamp(15px,2.4vw,19px);margin-bottom:1em}
  .cd{margin-bottom:.8em}
  .cd b{font-size:clamp(26px,5vw,40px)}
  .hero__cue{margin:.1em 0 1.2em}
}

/* short portrait phones (iPhone SE class) — the width tiers above don't trim height */
@media (orientation:portrait) and (max-height:700px){
  .hero{padding:max(4vh,28px) 6vw}
  .hero__title{font-size:clamp(38px,11.5vw,50px)}
  .hero__meta{line-height:1.75;margin-bottom:.8em}
  .hero__note{font-size:17px;margin-bottom:.9em}
  .cd{margin-bottom:.7em}
  .cd b{font-size:clamp(26px,9vw,34px)}
  .hero__cue{margin:.1em 0 1em}
}

/* landscape phones / short viewports — trim to essentials so the hero fits the limited height */
@media (orientation:landscape) and (max-height:560px){
  .hero{padding:6vh 6vw}
  .hero__cue,.hero__note{display:none}
  .hero__eyebrow{margin-bottom:.4em;font-size:10px}
  .hero__title{font-size:clamp(28px,7vw,52px);margin:0 0 .12em}
  .hero__title em{font-size:.48em}
  .hero__meta{margin:.3em 0 .55em;font-size:10px}
  .cd{margin:.1em auto .35em}
  .cd b{font-size:clamp(20px,5vw,34px)}
  .cd span{font-size:8px;margin-top:.3em}
  .scrollhint{padding:6px}
  .hero__details{width:min(96vw,880px)}
}

/* tablets — rich layout, comfortable type */
@media (min-width:861px) and (max-width:1180px){
  .gallery{grid-template-columns:repeat(4,1fr)}
  .story{gap:clamp(32px,5vw,56px)}
}

/* ---------- DESKTOP / LAPTOP (≥1181px) ----------
   The phone build is the baseline; from here the page stops being a tall column
   and starts using the width — bigger names, controlled measure, larger prints. */
@media (min-width:1181px){
  /* Chapter heads: a touch wider so long titles stay on one line */
  .chap-head{max-width:860px}

  /* Story chapters: photo leads, text holds a book-like measure beside it.
     .story--rev flips the media to column 2, so the wide column must flip with it. */
  .story{grid-template-columns:1.15fr .9fr;gap:clamp(48px,5vw,84px)}
  .story--rev{grid-template-columns:.9fr 1.15fr}
  .story__text{max-width:46ch}

  /* Chapter Four: the lone Where card gets ruled shoulders so it reads placed, not stranded */
  .details-grid{gap:0}
  .dcard{flex:0 1 460px;padding:clamp(26px,2.4vw,34px) 0;
    border-top:1px solid rgba(140,109,27,.32);border-bottom:1px solid rgba(140,109,27,.32)}
  .dcard__sub{font-size:17px}
  .cal{margin-top:clamp(48px,4.4vw,72px)}

  /* Gallery: larger prints, same four-up rhythm */
  .gallery{max-width:1280px;gap:clamp(18px,1.6vw,26px)}
  .g-cap{font-size:clamp(15px,1.1vw,20px)}

  /* RSVP: roomier card, two-up fields already handled by .field-row */
  .rsvp__wrap{max-width:780px}
  .rsvp{gap:22px}
}

/* Hero on a TALL desktop screen only — the max-height guards above own short laptops
   (1366×768, 1280×800…), so this must not fire there or the countdown drops below the fold. */
@media (min-width:1181px) and (min-height:841px){
  .hero__title{font-size:clamp(64px,6.6vw,108px)}
  .hero__eyebrow{letter-spacing:.46em}
  .hero__meta{font-size:14px;letter-spacing:.2em;line-height:2}
  .hero__note{font-size:22px;max-width:28ch;margin-left:auto;margin-right:auto}
  .cd{gap:clamp(30px,3.4vw,52px)}
  .cd b{font-size:clamp(40px,3.6vw,54px)}
  .cd span{font-size:11px;letter-spacing:.26em}
}

/* wide monitors — more air, never wider text */
@media (min-width:1500px){
  .gallery{max-width:1360px}
  .band{padding:clamp(88px,7vw,140px) 0}
}
@media (min-width:1500px) and (min-height:841px){
  .hero__note{font-size:24px}
}

/* large desktops / monitors — let it breathe without stretching thin */
@media (min-width:1700px){
  :root{--maxw:1300px}
  .band{padding:clamp(96px,8vw,150px) 0}
}

/* ===================== Additions: journey map (parked/) ===================== */

/* — journey map (textless art + drawn route + pins) — */
.journey{position:relative;max-width:min(620px,92vw);margin:clamp(28px,5vw,46px) auto;border-radius:18px;
  overflow:hidden;box-shadow:0 18px 44px rgba(60,72,44,.22)}
.journey img{display:block;width:100%;height:auto}
.journey__path{position:absolute;inset:0;width:100%;height:100%}
.journey__path path{opacity:0;transition:opacity 1s ease .2s;animation:dashmarch 14s linear infinite}
.journey.in .journey__path path{opacity:.95}
@keyframes dashmarch{to{stroke-dashoffset:-210}}
.journey__pin{position:absolute;font-family:var(--sans);font-size:11px;letter-spacing:.03em;background:rgba(255,255,255,.88);
  color:#3a3320;padding:4px 9px;border-radius:20px;box-shadow:0 3px 10px rgba(0,0,0,.18);white-space:nowrap;
  opacity:0;transition:opacity .8s ease .5s}
.journey.in .journey__pin{opacity:1}
.journey__pin b{font-weight:600}
.journey__pin--a{left:5%;top:24%}
.journey__pin--b{right:4%;top:50%}
.journey__cap{margin:0;padding:10px 14px;font-family:var(--sans);font-size:12px;color:#5b6353;text-align:center;background:rgba(255,255,255,.55)}

@media (prefers-reduced-motion:reduce){
  .journey__path path{animation:none;opacity:.95}
  .seal-mini{animation:none}
  .gallery > .g-item,.gallery.in > .g-item{opacity:1;transform:rotate(var(--tilt,0deg));transition:none}
}
