/* ============================================================
   WEDDINGS AT WALDEN  ·  the page behind "Plan your wedding"
   (Walden Retreats; not in the template.) 2026-11-03.
   Loads after _template.css and styles.css and owns weddings.html
   only. The tokens, the buttons, the reveal, the footer and the
   landing section's garland and chip button come from those two;
   what is here is this page's layout. weddings.html says what each
   section is; this says how it is drawn.
   ============================================================ */
.wed-page {
  --wed-gutter: clamp(var(--space-3), 4vw, var(--space-9));
  /* Room the frosted bar takes at the top of a pinned screen. */
  --wed-bar: 4.5rem;
  background: var(--color-bg-primary);
}
/* Anchors land under the bar, not behind it. */
.wed-page section[id] { scroll-margin-top: var(--wed-bar); }
/* A chapter reached by keyboard takes focus (weddings.js, THE GLIDE) so
   Tab carries on from it; the section itself gets no ring. */
.wed-page section[tabindex="-1"]:focus { outline: none; }

.wed-skip {
  position: fixed;
  z-index: 60;
  top: var(--space-2);
  left: var(--space-2);
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-pill);
  background: var(--gray-950);
  color: var(--gray-50);
  transform: translateY(-200%);
}
.wed-skip:focus-visible { transform: none; }

/* ---- shared: the eyebrow, the section title, the card -------------- */
.wed-eyebrow {
  margin: 0 0 var(--space-3);
  color: var(--color-text-accent);
}
.wed-title {
  font-family: var(--font-display);
  font-weight: var(--fw-display);
  font-size: clamp(2.25rem, 4.2vw, 3.75rem);
  line-height: 1.08;
  letter-spacing: -0.01em;
  text-wrap: balance;
  color: var(--color-text-primary);
}

/* THE CARD: a sheet of the suite. Straight-edged white paper, a printed
   sage border inset from its edge, and a soft shadow, as the landing
   section's invitation card is drawn. */
.wed-card {
  position: relative;
  background: var(--color-bg-primary);
  box-shadow: 0 24px 60px -24px rgba(9, 11, 14, 0.28), 0 2px 6px rgba(9, 11, 14, 0.06);
}
.wed-card::after {
  content: "";
  position: absolute;
  inset: var(--space-3);
  border: 1px solid var(--accent-300);
  pointer-events: none;
}
@media (min-width: 768px) {
  .wed-card::after { inset: var(--space-4); }
}

/* ============================================================
   THE BAR
   A frosted capsule, so it reads over the paper, the film and the
   night sky alike.
   ============================================================ */
.wed-bar {
  position: fixed;
  z-index: 50;
  top: var(--space-3);
  left: 50%;
  translate: -50% 0;
  width: min(calc(100% - 2 * var(--space-3)), 50rem);
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: 6px 6px 6px var(--space-3);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.8);
  -webkit-backdrop-filter: blur(16px) saturate(1.3);
          backdrop-filter: blur(16px) saturate(1.3);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.7),
    0 0 0 0.5px rgba(9, 11, 14, 0.1),
    0 10px 30px -14px rgba(9, 11, 14, 0.35);
  transition: opacity 320ms var(--ease-out), translate 320ms var(--ease-out);
}
/* Reading down, the bar fades away and lifts a little; scrolling up, it
   fades back (weddings.js, THE BAR). Out a touch quicker than in. It
   stays in the tab order: focus brings it back. */
.wed-bar.is-tucked {
  opacity: 0;
  translate: -50% calc(-1 * var(--space-3));
  pointer-events: none;
  transition-duration: 220ms;
}
@media (prefers-reduced-motion: reduce) {
  .wed-bar.is-tucked { translate: -50% 0; }
}
.wed-bar__home {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  border-radius: var(--radius-pill);
  color: var(--color-text-accent);
}
/* The mark is white in its file (it sits on the landing hero's footage),
   so here it is a mask painted in the accent ink. */
.wed-bar__mark {
  width: 2rem;
  aspect-ratio: 800 / 765;
  background: currentColor;
  -webkit-mask: url("assets/img/logo-mark.svg") center / contain no-repeat;
          mask: url("assets/img/logo-mark.svg") center / contain no-repeat;
}
.wed-bar__name { display: none; }
.wed-bar__nav { display: none; }
/* The chapter being read, on a phone, where the four don't fit. */
.wed-bar__now {
  flex: 1;
  min-width: 0;
  text-align: center;
  color: var(--color-text-secondary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.wed-bar__cta { flex: none; }

@media (min-width: 880px) {
  .wed-bar { padding-left: var(--space-4); gap: var(--space-4); }
  .wed-bar__name { display: inline; }
  .wed-bar__now { display: none; }
  .wed-bar__nav {
    display: flex;
    gap: var(--space-1);
    margin-inline: auto;
  }
  .wed-bar__nav a {
    padding: var(--space-2) var(--space-3);
    border-radius: var(--radius-pill);
    color: var(--color-text-secondary);
    transition: color var(--dur-ui) ease, background-color var(--dur-ui) ease;
  }
  .wed-bar__nav a.is-current {
    color: var(--color-text-primary);
    background: var(--accent-50);
  }
}
@media (hover: hover) and (pointer: fine) {
  .wed-bar__nav a:hover { color: var(--color-text-primary); }
}

/* ============================================================
   1 · THE INVITATION  ·  up to the arch
   THE ARCH is the landing section's: the garland's box, with the 4:5
   film inside it where the garland was drawn round it, 7.86% in, 0.0585
   of the box's width down, 82.03% of its width wide, to its foot (the
   numbers are measured; see styles.css, 5b). --gw is the box's width;
   1692 by 1834 is the box's shape, so its height is 1.0839 of it.

   THE ZOOM (weddings.js, THE INVITATION): on a screen that can pin it
   (.is-live), scrolling the track goes in through the arch: the
   arch-shaped opening grows, its shape unchanged, moving to the middle,
   until it covers the whole stage, and the garland grows with it and
   fades away (Brandon, 2026-11-03: the arch keeps its shape, "like
   it's zooming into the arch", and no flowers once it has).
   THE FILM IS NEVER ENLARGED. It is laid out the size of the stage from
   the start and stays exactly there on the screen; only the opening
   onto it grows. The opening (.wed-hero__film) is laid out at its END
   size, an arch as large as covering the stage needs, and scaled down
   to the arch's place; the film inside it (.wed-hero__scene)
   carries the inverse, so its own scale on the screen is
   always 1 and Vimeo plays it at full size: sharp, where resizing or
   scaling the film itself had blurred it.
   ALL TRANSFORMS. The script writes only transforms (inline, on the
   opening, the film and the garland) and the fade (--wed-fade), so
   each frame is the compositor's alone: resizing the arch per frame
   (the pass before) relaid the page and the player on every step, and
   stuttered. --e is how far along the zoom is: the words read it here,
   to fade as the arch passes them. 0 is how the page stands with no
   script.
   ============================================================ */
.wed-hero {
  --e: 0;
  --wed-runway: 130svh;
  position: relative;
}
/* The track: the stage, then the runway (the zoom over its first 90%
   of a screen, the grown film held for the rest), then the details card
   (2), which is in the hero's section so the stage stays pinned behind
   it until the card has gone. The runway is the card's top margin. */

.wed-hero__stage {
  position: relative;
  isolation: isolate;
  height: 100svh;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto auto auto minmax(0, 1fr) auto;
  grid-template-areas: "kicker" "title" "line" "arch" "actions";
  justify-items: center;
  padding: calc(var(--wed-bar) + var(--space-4)) var(--wed-gutter) var(--space-5);
  text-align: center;
}
.reveal-on .wed-hero__stage { position: sticky; top: 0; }
/* Too short to pin (a phone on its side): the arch on the paper. */
@media (max-height: 559px) {
  .reveal-on .wed-hero__stage { position: relative; height: auto; min-height: 100svh; }
}

.wed-inquire__paper picture { height: 100%; }

/* THE GROUND: the blurred film (the landing page's hero footage). The
   scene is a quarter of the stage each way, blurred at that size and
   scaled up 4.4x (the blur with it, to about 50px, and the extra 10%
   keeping its soft edges off the stage), so the blur is worked on a
   small picture. A white veil over it washes it out (82%), heavier
   behind the words: the film is meant to be felt, not watched, its
   movement subtle (Brandon, 2026-11-03, after asking three times for a
   lighter tint). The heavier blur is half of that: what moves becomes
   slow drifts of colour, not shapes. */
.wed-hero__haze {
  position: absolute;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  background: #B49A74;
}
.wed-hero__haze-scene {
  position: absolute;
  inset: 37.5%;
  container-type: size;
  filter: blur(12px) saturate(1.1);
  transform: scale(4.4);
}
.wed-hero__haze-poster,
.wed-hero__haze-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.wed-hero__haze::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 70% at var(--wed-veil-at, 50% 22%), rgba(255, 255, 255, 0.25), rgba(255, 255, 255, 0) 70%),
    rgba(255, 255, 255, 0.82);
}

/* THE LEAVES: the floral paper's relief without its white (snippets/
   wedding-leaves.py), over the blurred film: the shade laid on with
   multiply, so each leaf's shading takes the colour of what moves behind
   it, and the light on top, the sheen on the raised parts. */
.wed-hero__glass {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  /* Faded back to 20% (Brandon, 2026-11-03). Raise toward 1 for more
     leaf, lower for less. */
  opacity: 0.2;
}
.wed-hero__glass::before,
.wed-hero__glass::after {
  content: "";
  position: absolute;
  inset: 0;
  background: center / cover no-repeat;
}
.wed-hero__glass::before {
  background-image: url("assets/img/wedding-leaves-shade.webp");
  mix-blend-mode: multiply;
}
.wed-hero__glass::after {
  background-image: url("assets/img/wedding-leaves-light.webp");
}
@media (max-width: 767px) {
  .wed-hero__glass::before { background-image: url("assets/img/wedding-leaves-shade-phone.webp"); }
  .wed-hero__glass::after { background-image: url("assets/img/wedding-leaves-light-phone.webp"); }
}

/* The words are display: contents so each takes its own row of the
   stage (and on a phone the button can sit under the arch); the fade
   is read by each of them. */
.wed-hero__words { display: contents; }
.wed-hero__words > * {
  position: relative;
  z-index: 2;
  opacity: calc(1 - var(--e) * 3);
  translate: 0 calc(var(--e) * -3rem);
}
.wed-hero.is-past .wed-hero__words > * { visibility: hidden; }

/* THE PANE: frosted glass behind the words on a desk (section below).
   On a phone the words stand on the paper alone (Brandon, 2026-11-03):
   they sit above the arch there, over the washed-out haze, not over the
   film, and fade before the growing arch reaches them. */
.wed-hero__words > .wed-hero__pane { display: none; }
.wed-hero__kicker { grid-area: kicker; margin-bottom: var(--space-3); color: var(--accent-800); }
.wed-hero__title {
  grid-area: title;
  max-width: 14ch;
  font-family: var(--font-display);
  font-weight: var(--fw-display);
  font-size: clamp(2.5rem, 10.5vw, 5.5rem);
  line-height: 1.02;
  letter-spacing: -0.015em;
  text-wrap: balance;
  color: var(--color-text-primary);
}
.wed-hero__line {
  grid-area: line;
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-top: var(--space-3);
  /* A step darker than secondary on the bare paper: the leaves under
     it took gray-700 to 4.3:1 in places. */
  color: var(--gray-800);
}
.wed-hero__line::before,
.wed-hero__line::after {
  content: "";
  width: var(--space-6);
  height: 1px;
  background: var(--accent-400);
}
.wed-hero__lede { display: none; }
.wed-hero__actions { grid-area: actions; margin-top: var(--space-4); }

/* The arch's place: as large as its share of the stage allows, and
   what the live arch is positioned in. */
.wed-hero__arch-box {
  position: relative;
  grid-area: arch;
  align-self: stretch;
  justify-self: stretch;
  container-type: size;
  display: grid;
  place-items: center;
  min-height: 12rem;
  margin-top: var(--space-4);
}
.wed-hero__arch {
  --gw: min(100cqw, 100cqh * 0.9226);
  position: relative;
  width: var(--gw);
  height: calc(var(--gw) * 1.0839);
}
.wed-hero__film {
  position: absolute;
  left: 7.86%;
  top: calc(var(--gw) * 0.0585);
  width: 82.03%;
  bottom: 0;
  overflow: hidden;
  background: var(--brand-950);
  border-radius: calc(var(--gw) * 0.41015) calc(var(--gw) * 0.41015) var(--radius-lg) var(--radius-lg);
  box-shadow: 0 30px 60px -30px rgba(9, 11, 14, 0.45);
}
/* The fine accent hairline and the soft inner shadow the landing film
   has, so this reads as looking in through the same arch. */
.wed-hero__film::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow:
    inset 0 0 0 0.5px var(--accent-300),
    inset 0 18px 36px -10px rgba(9, 11, 14, 0.42),
    inset 0 0 48px rgba(9, 11, 14, 0.2);
  pointer-events: none;
}

/* The scene: the poster and the film over it. Its size container is
   what the film's cover crop is measured against. */
.wed-hero__scene {
  position: absolute;
  inset: 0;
  container-type: size;
}

/* Live: the opening at its end size, scaled to where it is (its inner
   shadow divided by its first scale, --wed-s0, so it starts as the
   still arch has it and grows with it); the film inside, the stage's
   size, held in place on the screen by the inverse. --wed-fade takes
   the arch's shadows and the garland away towards the end.
   THE FADE COSTS NOTHING PER FRAME (2026-11-05, Brandon: the zoom
   lagged on his phone). Fading the shadow's colour repainted the
   opening, a layer larger than the screen, on every frame: switching
   the shadows off measured 45% less drawing over the zoom. So nothing
   painted changes: the outer shadow is drawn in the garland (below),
   which scales with the opening and fades on the compositor, and the
   inner shadow is a layer of its own whose opacity is all that moves. */
.wed-hero.is-live .wed-hero__film {
  left: 0;
  top: 0;
  bottom: auto;
  width: var(--wed-win-w);
  height: var(--wed-win-h);
  border-radius: var(--wed-win-r) var(--wed-win-r) var(--wed-win-rb) var(--wed-win-rb);
  box-shadow: none;
  transform-origin: 0 0;
  will-change: transform;
}
.wed-hero.is-live .wed-hero__film::after {
  box-shadow:
    inset 0 0 0 calc(0.5px / var(--wed-s0)) var(--accent-300),
    inset 0 calc(18px / var(--wed-s0)) calc(36px / var(--wed-s0)) calc(-10px / var(--wed-s0)) rgba(9, 11, 14, 0.42),
    inset 0 0 calc(48px / var(--wed-s0)) rgba(9, 11, 14, 0.2);
  opacity: var(--wed-fade);
  will-change: opacity;
}
.wed-hero.is-live .wed-hero__scene {
  inset: auto;
  left: 0;
  top: 0;
  width: var(--wed-stage-w);
  height: var(--wed-stage-h);
  transform-origin: 0 0;
  will-change: transform;
}
.wed-hero__poster,
.wed-hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
/* The couple stand at 37% across the photograph; this keeps them in
   the arch at every width. */
.wed-hero__poster { object-fit: cover; object-position: 37% 50%; }
.wed-hero__video {
  overflow: hidden;
  opacity: 0;
  transition: opacity 900ms var(--ease-out);
}
.wed-hero__video.is-playing { opacity: 1; }
.wed-hero__video iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  width: max(100cqw, 177.78cqh);
  height: max(100cqh, 56.25cqw);
  transform: translate(-50%, -50%);
  border: 0;
  pointer-events: none;
}

/* THE GARLAND, over the film, growing with the opening and fading as
   the zoom ends (both inline, from the script). Its breeze is the landing
   section's (styles.css, 5b) and runs while the stage is on screen. */
.wed-hero__garland {
  position: absolute;
  inset: 0 0 auto;
  aspect-ratio: 1692 / 1834;
  pointer-events: none;
}
.wed-hero.is-live .wed-hero__garland {
  transform-origin: 0 0;
  will-change: transform, opacity;
}
/* The opening's outer shadow while live, the still film's own, drawn
   on the film's outline in the garland's box (the arch's box: the film
   is 7.86% in, 82.03% wide, its top 0.0585 of the width down, its
   semicircle a radius of half its width, 40% of its 4:5 height). An
   outer shadow paints only outside its box, so it cannot shade the
   film, under the garland or not; it grows and fades with the garland,
   whose opacity is the fade. */
.wed-hero.is-live .wed-hero__garland::before {
  content: "";
  position: absolute;
  left: 7.86%;
  top: 5.397%;
  width: 82.03%;
  bottom: 0;
  border-radius: 50% 50% var(--radius-lg) var(--radius-lg) / 40% 40% var(--radius-lg) var(--radius-lg);
  box-shadow: 0 30px 60px -30px rgba(9, 11, 14, 0.45);
}
.wed-hero.is-seen .weddings__sprig { animation-play-state: running; }

/* The entrance, once, on load: the words rise in one after another
   and the garland settles round the arch. Behind .reveal-on, so with no
   script, or under reduced motion, it is all simply there. */
@keyframes wed-rise {
  from { opacity: 0; transform: translateY(var(--space-3)); }
}
@keyframes wed-settle {
  from { opacity: 0; translate: 0 12px; scale: 0.98; }
}
.reveal-on .wed-hero__words > * { animation: wed-rise 900ms var(--ease-out) backwards; }
.reveal-on .wed-hero__kicker  { animation-delay: 150ms; }
.reveal-on .wed-hero__title   { animation-delay: 250ms; }
.reveal-on .wed-hero__line    { animation-delay: 380ms; }
.reveal-on .wed-hero__lede    { animation-delay: 460ms; }
.reveal-on .wed-hero__actions { animation-delay: 540ms; }
.reveal-on .wed-hero__garland { animation: wed-settle 1200ms var(--ease-out) 300ms backwards; }

/* A desk: the arch and the words as one group, centred on the screen
   (Brandon, 2026-11-03: the words sat too far from the arch when the
   arch took a flexible half of the screen). --wed-hero-arch is the
   arch's column: the arch's width at the stage's height, at most 46rem,
   and never so wide that the words get under 22rem. */
@media (min-width: 880px) {
  .wed-hero__stage {
    --wed-hero-arch: min(46rem, calc((100svh - 9.5rem) * 0.9226), calc(100vw - 2 * var(--wed-gutter) - 22rem - var(--space-9)));
    grid-template-columns: var(--wed-hero-arch) minmax(0, 30rem);
    grid-template-rows: 1fr auto auto auto auto auto 1fr;
    grid-template-areas:
      "arch ."
      "arch kicker"
      "arch title"
      "arch line"
      "arch lede"
      "arch actions"
      "arch .";
    justify-content: center;
    column-gap: var(--space-9);
    padding: calc(var(--wed-bar) + var(--space-5)) var(--wed-gutter) var(--space-7);
  }
  .wed-hero__arch-box { margin-top: 0; }
  .wed-hero__title { font-size: clamp(3.25rem, 4.6vw, 5rem); }
  .wed-hero__line { color: var(--color-text-secondary); }
  .wed-hero__haze { --wed-veil-at: 72% 45%; }
  /* The pane: the leaves' glass made a card, with the printed sage
     border the page's other cards have. Beside the arch the film behind
     is too lively for small dark type on its own (measured 1.6:1 at
     worst under the lede, 2026-11-03); at 78% white over a 24px blur
     every string on it clears 4.5:1 (README). It spans the words' rows,
     reaching a step past them all round. */
  .wed-hero__words > .wed-hero__pane {
    display: block;
    grid-row: 2 / 7;
    grid-column: 2;
    align-self: stretch;
    justify-self: stretch;
    z-index: 1;
    margin: calc(-1 * var(--space-8)) calc(-1 * var(--space-6));
    /* Rounded (Brandon, 2026-11-03); the printed border inside keeps the
       same curve, its radius less the gap between them. */
    border-radius: 1.5rem;
    background: rgba(255, 255, 255, 0.78);
    -webkit-backdrop-filter: blur(24px) saturate(1.4);
            backdrop-filter: blur(24px) saturate(1.4);
    box-shadow: 0 24px 60px -28px rgba(9, 11, 14, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.8);
  }
  .wed-hero__pane::after {
    content: "";
    position: absolute;
    inset: var(--space-2);
    border: 1px solid var(--accent-300);
    border-radius: calc(1.5rem - var(--space-2));
  }
  /* TRIAL (Brandon, 2026-11-04: "get rid of the square background, i
     just want to see what it looks like"): the words on the veiled haze
     alone, as on a phone, the place line and the lede a step darker, as
     on a phone, so they keep 4.5:1 (text-secondary measured 3.7 here).
     Delete these two rules to bring the pane back. */
  .wed-hero__words > .wed-hero__pane { display: none; }
  .wed-hero__words > .wed-hero__line,
  .wed-hero__words > .wed-hero__lede { color: var(--gray-800); }
  .wed-hero__lede {
    grid-area: lede;
    display: block;
    max-width: 28rem;
    margin-top: var(--space-5);
    color: var(--color-text-secondary);
  }
  .wed-hero__actions { margin-top: var(--space-6); }
}

/* ============================================================
   2 · THE DETAILS CARD
   Where the hero pins, this section is the foot of its track: it
   arrives 40% of a screen before the runway ends, so the card rises
   over the grown film, and the film stays pinned behind the whole of
   it, the section transparent, until both leave together (Brandon,
   2026-11-04: the white under the card made no sense). Where it does
   not pin, the card simply follows the hero on the page colour.
   ============================================================ */
.wed-details {
  --wed-overlap: 40svh;
  position: relative;
  z-index: 2;
  padding: var(--space-10) var(--wed-gutter) var(--space-12);
  background: var(--color-bg-primary);
}
@media (min-height: 560px) {
  .reveal-on .wed-details {
    margin-top: calc(var(--wed-runway) - var(--wed-overlap));
    padding-top: 0;
    background: transparent;
  }
}
.wed-details__card {
  max-width: 64rem;
  margin-inline: auto;
  padding: var(--space-10) var(--space-6) var(--space-9);
  text-align: center;
}
.wed-details__card > * { position: relative; z-index: 1; }
/* The title is the one loud thing on the card: a step under the page's
   other titles, so it sits on two lines where there is room. */
.wed-details__card .wed-title {
  max-width: 15em;
  margin-inline: auto;
  font-size: clamp(1.75rem, 1.3rem + 2.45vw, 3.5rem);
}
.wed-details__intro {
  max-width: 30rem;
  margin: var(--space-4) auto 0;
  color: var(--color-text-secondary);
  text-wrap: balance;
}

/* The three figures, kept together under the words rather than spread
   across the card: the value in the display face, a step under the
   title, over a short sage label, with a hairline between them. */
.wed-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 34rem;
  margin: var(--space-7) auto 0;
}
.wed-facts__item {
  display: flex;
  flex-direction: column-reverse;
  justify-content: flex-end;
  align-items: center;
  gap: var(--space-2);
  padding-inline: var(--space-1);
}
.wed-facts__item + .wed-facts__item { border-left: 1px solid var(--accent-200); }
.wed-facts__label {
  max-width: 7em;
  font-size: var(--fs-text-xs);
  line-height: var(--lh-text-xs);
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
  text-wrap: balance;
  color: var(--color-text-accent);
}
.wed-facts__value {
  margin: 0;
  font-family: var(--font-display);
  font-weight: var(--fw-display);
  font-size: clamp(1.625rem, 1.1rem + 1.6vw, 2.75rem);
  line-height: 1;
  font-variant-numeric: lining-nums tabular-nums;
  color: var(--color-text-primary);
}
@media (min-width: 768px) {
  .wed-details__card { padding: var(--space-12) var(--space-10); }
  .wed-facts { margin-top: var(--space-9); }
  .wed-facts__label { max-width: none; }
}

/* ============================================================
   3 · THE ORDER OF THE DAY
   THE LIST (no script, reduced motion, a short screen): each moment on
   its own band of its own sky, its photograph in an arch beside its
   words.
   STAGED (.is-staged, weddings.js): the section is a track, a screen
   plus 70% of a screen for every moment after the first; the stage
   pins; the photographs sit in the one dial; the sky, the stars, the
   light on the dial and the ink are the script's, from the moments'
   own values.
   THE INK: --ink and --ink-2 are gray-950 and gray-800 on the light
   skies and white and 88% white on the dark ones, chosen against the
   foot of each gradient, where it is closest to the ink (README).
   ============================================================ */
.wed-day {
  --ink: var(--gray-950);
  --ink-2: var(--gray-800);
  --ink-accent: var(--accent-800);
  --rule: var(--accent-500);
  position: relative;
  background: var(--color-bg-primary);
}
.wed-day.is-dark,
.wed-day:not(.is-staged) .wed-day__moment.is-dark {
  --ink: #FFFFFF;
  --ink-2: rgba(255, 255, 255, 0.88);
  --ink-accent: var(--accent-100);
  --rule: rgba(255, 255, 255, 0.45);
}

.wed-day__stage { position: relative; }
.wed-day__head {
  padding: var(--space-12) var(--wed-gutter) var(--space-9);
  text-align: center;
}
.wed-day__head .wed-eyebrow { color: var(--ink-accent); transition: color 600ms ease; }
.wed-day__head .wed-title { color: var(--ink); transition: color 600ms ease; max-width: 18ch; margin-inline: auto; }
.wed-day__frame,
.wed-day__backdrop,
.wed-day__veil,
.wed-day__stars { display: none; }

/* -- the list -- */
.wed-day__moment {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  justify-items: center;
  gap: var(--space-5);
  padding: var(--space-10) var(--wed-gutter);
  text-align: center;
  background: linear-gradient(180deg, var(--sky), var(--horizon));
  color: var(--ink);
}
.wed-day__photo {
  position: relative;
  width: min(100%, 22rem);
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 11rem 11rem var(--radius-lg) var(--radius-lg);
  box-shadow: 0 0 0 1px var(--rule), 0 24px 48px -24px rgba(9, 11, 14, 0.4);
}
.wed-day__photo img,
.wed-day__photo video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--focus, 50% 50%);
}
/* A moment's clip lies over its first frame, the <img>, and comes up
   once it is playing (weddings.js, THE CLIPS), so a clip still loading,
   or never started, shows the frame and not an empty box. */
.wed-day__photo video {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 400ms ease;
}
.wed-day__photo video.is-playing { opacity: 1; }
.wed-day__name { margin: 0; }
.wed-day__jump {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  text-align: inherit;
  cursor: pointer;
  border-radius: var(--radius-sm);
}
.wed-day__time {
  font-size: var(--fs-text-sm);
  line-height: var(--lh-text-sm);
  letter-spacing: var(--ls-wide);
  font-variant-numeric: lining-nums tabular-nums;
  text-transform: uppercase;
  color: var(--ink-accent);
  transition: color 600ms ease;
}
.wed-day__label {
  font-family: var(--font-display);
  font-weight: var(--fw-display);
  font-size: clamp(2rem, 3.4vw, 2.75rem);
  line-height: 1.1;
  color: var(--ink);
  transition: color 600ms ease;
}
.wed-day__more { display: grid; grid-template-rows: 1fr; }
.wed-day__more > div { overflow: hidden; min-height: 0; }
.wed-day__place {
  font-size: var(--fs-text-sm);
  line-height: var(--lh-text-sm);
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
  color: var(--ink);
  transition: color 600ms ease;
}
.wed-day__desc {
  max-width: 30rem;
  margin: var(--space-3) auto 0;
  font-size: var(--fs-text-md);
  line-height: var(--lh-text-md);
  color: var(--ink-2);
  transition: color 600ms ease;
}

/* -- staged -- */
.wed-day.is-staged {
  --sky: #E9EFEC;
  --horizon: #F8F8F4;
  --night: 0;
  --sun-a: 135deg;
  height: calc(100svh + var(--wed-day-steps, 6) * 70svh);
  background: linear-gradient(180deg, var(--sky), var(--horizon));
}
.wed-day.is-staged .wed-day__stage {
  position: sticky;
  top: 0;
  height: 100svh;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  /* The dial's row is no taller than the widest dial needs (its width,
     Noon and Midnight), and 32px parts it from the head and from the
     moment (Brandon, 2026-11-04: "reduce the gap on top and bottom of
     the circle"); the three stand together in the middle of the stage,
     and on a short screen the dial gives up height instead. */
  grid-template-rows: auto minmax(0, calc(100vw - 2 * var(--wed-gutter) + 2 * (var(--space-2) + var(--lh-text-xs)))) auto;
  grid-template-areas: "head" "frame" "list";
  align-content: center;
  row-gap: var(--space-5);
  justify-items: center;
  padding: calc(var(--wed-bar) + var(--space-3)) var(--wed-gutter) calc(var(--space-5) + var(--space-2));
}
.wed-day.is-staged .wed-day__head {
  grid-area: head;
  padding: 0;
}
.wed-day.is-staged .wed-day__head .wed-eyebrow { margin-bottom: var(--space-2); }
.wed-day.is-staged .wed-day__head .wed-title { font-size: clamp(1.75rem, 7vw, 2.25rem); }
/* ONWARD (weddings.js): from the second moment, on a phone or a tablet,
   the head fades up and away and the dial and the moment rise by half
   the room it leaves, so the photograph and its words are all there is
   to look at; back on the first, the head returns. */
@media (max-width: 899px) {
  .wed-day.is-staged .wed-day__head {
    transition: opacity 450ms ease, translate 600ms var(--ease-out);
  }
  .wed-day.is-staged .wed-day__dial,
  .wed-day.is-staged .wed-day__moments {
    transition: translate 700ms var(--ease-out);
  }
  .wed-day.is-staged.is-onward .wed-day__head {
    opacity: 0;
    translate: 0 calc(-1 * var(--space-5));
    pointer-events: none;
  }
  .wed-day.is-staged.is-onward .wed-day__dial,
  .wed-day.is-staged.is-onward .wed-day__moments {
    translate: 0 calc(-1 * var(--wed-day-lift, 0px));
  }
}

/* THE BACKDROP (Brandon, 2026-11-03: "the blur effect with the
   correlating image"): the moment's own photograph, full bleed and
   heavily blurred, crossfading with it; over it the veil, the sky's
   gradient, so the time of day still reads: 92% where the words are
   (the left on a desk, the head and the foot on a phone), so every
   string keeps 4.5:1 over the brightest of the photographs (measured,
   README), and 62% across the photograph's side, where its light and
   colour come through. Overscanned 6% so the blur's soft edges stay off
   the screen. */
.wed-day.is-staged .wed-day__backdrop {
  display: block;
  position: absolute;
  inset: 0;
  z-index: -3;
  overflow: hidden;
  background: var(--brand-950);
}
.wed-day__backdrop img {
  position: absolute;
  inset: -6%;
  width: 112%;
  height: 112%;
  max-width: none;
  object-fit: cover;
  filter: blur(36px) saturate(1.15);
  opacity: 0;
  transition: opacity 1200ms var(--ease-out);
}
.wed-day__backdrop img.is-active { opacity: 1; }
/* A night moment's frame, dimmed (2026-11-04): the dinner clip is
   daylight under the dusk sky, and through the 62% veil it lit Noon
   to 3.88:1 against the night's light ink. */
.wed-day__backdrop img.is-night { filter: blur(36px) saturate(1.15) brightness(0.6); }
.wed-day.is-staged .wed-day__veil {
  display: block;
  position: absolute;
  inset: 0;
  z-index: -2;
  background: linear-gradient(180deg, var(--sky), var(--horizon));
  -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.92) 0 22%, rgba(0, 0, 0, 0.62) 34% 60%, rgba(0, 0, 0, 0.92) 70%);
          mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.92) 0 22%, rgba(0, 0, 0, 0.62) 34% 60%, rgba(0, 0, 0, 0.92) 70%);
}
@media (min-width: 900px) {
  .wed-day.is-staged .wed-day__veil {
    -webkit-mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.92) 0 46%, rgba(0, 0, 0, 0.62) 64%);
            mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.92) 0 46%, rgba(0, 0, 0, 0.62) 64%);
  }
}

/* THE STARS, over the veil, as the night comes in (--night): five tiles
   of points at different sizes and spacings, so the repeat never lines
   up, over all but the foot of the sky, and a sixth tile of the
   brightest, with a soft glow, that breathes slowly so a few seem to
   twinkle (not under reduced motion). Brighter and denser since
   2026-11-03 (Brandon: "keep the stars and make it more visible"). */
.wed-day.is-staged .wed-day__stars {
  display: block;
  position: absolute;
  inset: 0 0 10%;
  z-index: -1;
  opacity: var(--night);
  background-image:
    radial-gradient(1.3px 1.3px at 23px 41px, #fff 60%, transparent 100%),
    radial-gradient(1.1px 1.1px at 141px 97px, rgba(255, 255, 255, 0.9) 60%, transparent 100%),
    radial-gradient(1.8px 1.8px at 260px 12px, #fff 55%, transparent 100%),
    radial-gradient(1.2px 1.2px at 64px 150px, rgba(255, 255, 255, 0.85) 60%, transparent 100%),
    radial-gradient(1px 1px at 300px 190px, rgba(255, 255, 255, 0.8) 60%, transparent 100%);
  background-size: 173px 151px, 241px 199px, 317px 263px, 127px 181px, 349px 223px;
  -webkit-mask-image: linear-gradient(#000 55%, transparent);
          mask-image: linear-gradient(#000 55%, transparent);
  pointer-events: none;
}
.wed-day.is-staged .wed-day__stars::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(3px 3px at 90px 60px, #fff 30%, rgba(255, 255, 255, 0.35) 55%, transparent 100%),
    radial-gradient(2.5px 2.5px at 330px 240px, #fff 30%, rgba(255, 255, 255, 0.3) 55%, transparent 100%);
  background-size: 411px 293px, 523px 377px;
  animation: wed-twinkle 3.6s ease-in-out infinite alternate;
}
@keyframes wed-twinkle {
  from { opacity: 0.35; }
  to   { opacity: 1; }
}

/* THE DIAL the photographs move into (Brandon, 2026-11-03: away from
   the arch here). A round window, its sage rule a step outside it, a
   horizon line through its middle behind it, Noon over it and Midnight
   under it: a 24-hour clock with the day's light going round. --fw is
   the window's diameter, --fr the rule's radius.
   ITS ROOM, on a phone, is the box the stage's middle row leaves it
   (.wed-day__dial, a size container), measured rather than guessed from
   the screen's height: on a short phone (390 x 664, Safari's toolbar
   showing) the guess left Noon on the page dots and Midnight on the
   moment's time (Brandon, 2026-11-03: "give some room for the circle").
   The window is that box's height less, above and below, the rule's
   gap, Noon (or Midnight) a step past it, and a clear step beyond; and
   no wider than the box less the rule's gap, so the rule meets the
   gutter and the sun rides half in it (Brandon, 2026-11-04: "enlarge
   the circle so the user can see the image a bit better"; it was 80vw). */
.wed-day.is-staged .wed-day__dial {
  grid-area: frame;
  align-self: stretch;
  justify-self: stretch;
  container-type: size;
  display: grid;
  place-items: center;
}
.wed-day.is-staged .wed-day__frame {
  --fw: min(100cqw - 2 * var(--space-3), max(7rem, 100cqh - 2 * (var(--space-3) + var(--space-2) + var(--lh-text-xs))));
  --fr: calc(var(--fw) / 2 + var(--space-3));
  display: block;
  position: relative;
  width: var(--fw);
  aspect-ratio: 1;
}
.wed-day__frame::before {
  content: "";
  position: absolute;
  inset: calc(-1 * var(--space-3));
  border: 1px solid var(--rule);
  border-radius: 50%;
  transition: border-color 600ms ease;
}
.wed-day__horizon {
  position: absolute;
  z-index: -1;
  top: 50%;
  left: -18%;
  right: -18%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--rule) 30%, var(--rule) 70%, transparent);
}
.wed-day__hour {
  position: absolute;
  left: 50%;
  translate: -50% 0;
  font-size: var(--fs-text-xs);
  line-height: var(--lh-text-xs);
  letter-spacing: var(--ls-wider);
  text-transform: uppercase;
  color: var(--ink);
  transition: color 600ms ease;
  white-space: nowrap;
}
.wed-day__hour--noon { bottom: calc(100% + var(--space-3) + var(--space-2)); }
.wed-day__hour--midnight { top: calc(100% + var(--space-3) + var(--space-2)); }
.wed-day__window {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: 50%;
  background: var(--brand-950);
  box-shadow: 0 30px 60px -30px rgba(9, 11, 14, 0.5);
}
.wed-day__window .wed-day__photo {
  position: absolute;
  inset: 0;
  width: auto;
  aspect-ratio: auto;
  border-radius: 0;
  box-shadow: none;
  opacity: 0;
  transition: opacity 900ms var(--ease-out);
}
.wed-day__window .wed-day__photo img,
.wed-day__window .wed-day__photo video {
  scale: 1.06;
  transition: scale 1400ms var(--ease-out);
}
.wed-day__window .wed-day__photo video { transition: scale 1400ms var(--ease-out), opacity 400ms ease; }
/* THE CROSSFADE (2026-11-04, Brandon: "a flicker"): the window's
   figures, and the backdrop's photographs, each in a group of their own
   (.wed-day__stack, made by weddings.js), add up (plus-lighter), so a
   pair mid-fade always makes the whole picture. With plain opacity both
   were part see-through halfway and the dark behind showed: the circle
   dimmed 22% between getting ready and the first look, the backdrop 8%.
   A fade in and a fade out run on one curve, so the pair sums to 1. */
.wed-day__stack {
  position: absolute;
  inset: 0;
  isolation: isolate;
}
.wed-day__window .wed-day__photo,
.wed-day__backdrop img { mix-blend-mode: plus-lighter; }
.wed-day__window .wed-day__photo.is-active { opacity: 1; }
.wed-day__window .wed-day__photo.is-active img,
.wed-day__window .wed-day__photo.is-active video { scale: 1; }

/* THE LIGHT on the rule, and a mark at each moment's hour. Each is a
   point at the dial's centre, turned by its angle, with the light (or
   the mark) at the rule's radius to its left: 0deg is 6 AM on the left,
   90 is noon, 180 is 6 PM, 270 is midnight. A sun while there is day
   in the sky, a crescent moon as night comes in. */
.wed-day__orbit,
.wed-day__mark {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 0;
  height: 0;
  pointer-events: none;
}
.wed-day__orbit { z-index: 2; rotate: var(--sun-a); }
.wed-day__mark { z-index: 1; rotate: var(--a); }
.wed-day__mark::before {
  content: "";
  position: absolute;
  left: calc(-1 * var(--fr) - 5px);
  top: -0.5px;
  width: 10px;
  height: 1px;
  background: var(--ink-2);
  transition: background-color 600ms ease;
}
.wed-day__light {
  position: absolute;
  left: calc(-1 * var(--fr));
  top: 0;
}
.wed-day__sun,
.wed-day__moon {
  position: absolute;
  left: -0.5rem;
  top: -0.5rem;
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
}
.wed-day__sun {
  opacity: calc(1 - var(--night));
  background: #FFF4DC;
  box-shadow:
    0 0 0 3px rgba(255, 222, 168, 0.35),
    0 0 22px 6px rgba(255, 196, 120, 0.6);
}
/* A crescent: an empty disc whose inset shadow is the lit edge, turned
   back against the orbit so it stays upright. */
.wed-day__moon {
  opacity: var(--night);
  box-shadow: inset -4px 3px 0 0 #F4F0E2, 0 0 18px 2px rgba(244, 240, 226, 0.25);
  rotate: calc(-1 * var(--sun-a));
}

/* The ticks: one dot a moment, on a phone, built by the script, at the
   stage's foot under the moment's words, so the dial has their row. */
.wed-day__ticks {
  position: absolute;
  left: 50%;
  bottom: var(--space-3);
  translate: -50% 0;
  display: flex;
  align-items: center;
  gap: var(--space-2);
}
.wed-day__ticks span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--rule);
  transition: background-color 400ms ease, scale 400ms var(--ease-out);
}
.wed-day__ticks span.is-active { background: var(--ink); scale: 1.5; }

/* The list, staged on a phone: one moment at a time, all in one cell,
   so the stage never changes height. The others are only transparent,
   so a screen reader still reads the whole day and a keyboard can still
   reach each one (focusing one brings it up, weddings.js). */
.wed-day.is-staged .wed-day__moments {
  grid-area: list;
  display: grid;
  width: min(100%, 30rem);
}
.wed-day.is-staged .wed-day__moment {
  grid-area: 1 / 1;
  align-content: start;
  gap: 0;
  padding: 0;
  background: none;
  opacity: 0;
  translate: 0 var(--space-2);
  pointer-events: none;
  transition: opacity 500ms var(--ease-out), translate 500ms var(--ease-out);
}
.wed-day.is-staged .wed-day__moment.is-active {
  opacity: 1;
  translate: 0 0;
  pointer-events: auto;
}
.wed-day.is-staged .wed-day__jump { gap: var(--space-1); }
.wed-day.is-staged .wed-day__label { font-size: clamp(1.75rem, 7.5vw, 2.25rem); }
.wed-day.is-staged .wed-day__place { margin-top: var(--space-2); }
.wed-day.is-staged .wed-day__desc { margin-top: var(--space-2); }

/* Staged, a moment shows no time (Brandon, 2026-11-04: "get rid of the
   time on top of the title" on a phone, "get rid of the time" on a
   desk), and on a phone or a tablet no description either ("get rid of
   the description"), so the dial takes the room they had. Both are only
   hidden from view, so a screen reader still hears each moment's hour
   and its sentence. */
.wed-day.is-staged .wed-day__time {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
@media (max-width: 899px) {
  .wed-day.is-staged .wed-day__desc {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
  }
}

/* A desk: the programme on the left (staged, the reel below: the moment
   being read open, the others fading off above and below it); the dial
   on the right. */
@media (min-width: 900px) {
  .wed-day__moment {
    grid-template-columns: minmax(0, 22rem) minmax(0, 28rem);
    justify-content: center;
    align-items: center;
    gap: var(--space-3) var(--space-10);
    text-align: left;
  }
  .wed-day__moment > :not(.wed-day__photo) { grid-column: 2; }
  .wed-day__photo { grid-row: 1 / span 2; }
  .wed-day__jump { align-items: flex-start; }
  .wed-day__name { align-self: end; }
  .wed-day__more { align-self: start; }
  .wed-day__desc { margin-inline: 0; }

  /* Full width, so the backdrop reaches the screen's edges; the content
     keeps to 92rem through the padding. */
  .wed-day.is-staged .wed-day__stage {
    /* The dial's diameter, here so the head can be set by it too. */
    --wed-dial: min(44rem, 44vw, calc(100svh - var(--wed-bar) - 10rem));
    padding-inline: max(var(--wed-gutter), calc((100% - 92rem) / 2 + var(--wed-gutter)));
    /* The words a step in from the gutter (Brandon, 2026-11-04: "moved
       to the right a bit"). */
    padding-left: calc(max(var(--wed-gutter), calc((100% - 92rem) / 2 + var(--wed-gutter))) + var(--space-7));
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: auto minmax(0, 1fr);
    grid-template-areas: "head frame" "list frame";
    align-content: stretch;
    row-gap: 0;
    justify-items: start;
    column-gap: var(--space-9);
    padding-block: calc(var(--wed-bar) + var(--space-6)) var(--space-7);
  }
  /* The head's top level with Noon's, the top of the dial (Brandon,
     2026-11-04): the dial is centred in the stage's content box, and
     Noon stands the rule's gap, a step and its own line above it. */
  .wed-day.is-staged .wed-day__head {
    margin-top: max(0px, calc((100svh - var(--wed-bar) - var(--space-6) - var(--space-7) - var(--wed-dial)) / 2 - (var(--space-3) + var(--space-2) + var(--lh-text-xs))));
    text-align: left;
  }
  .wed-day.is-staged .wed-day__head .wed-title { margin-inline: 0; font-size: clamp(2.25rem, 3.4vw, 3.25rem); }
  /* The dial stands in the stage's grid itself here, as tall as the
     screen allows. */
  .wed-day.is-staged .wed-day__dial { display: contents; }
  .wed-day.is-staged .wed-day__frame {
    --fw: var(--wed-dial);
    grid-area: frame;
    align-self: center;
    margin: 0 var(--space-5);
  }
  .wed-day__ticks { display: none; }

  /* THE PROGRAMME as a reel, not a list (Brandon, 2026-11-04: "get rid
     of the time", "not overwhelming to look at like a list"): every
     moment in one cell, placed by weddings.js (THE DAY, reel()) from its
     distance to the scroll's place in the day: the one being read large,
     near the middle of the column, with its place and its sentence; the
     ones before it above and the ones after below, smaller and fainter
     the further off they are, gone past the third; the column faded out
     at its top and foot. --y, --s, --o and --od are the script's. */
  .wed-day.is-staged .wed-day__moments {
    align-self: stretch;
    display: grid;
    width: 100%;
    max-width: 34rem;
    min-height: 0;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(180deg, transparent, #000 16%, #000 80%, transparent);
            mask-image: linear-gradient(180deg, transparent, #000 16%, #000 80%, transparent);
  }
  .wed-day.is-staged .wed-day__moment,
  .wed-day.is-staged .wed-day__moment.is-active {
    grid-area: 1 / 1;
    align-self: start;
    display: block;
    justify-items: stretch;
    opacity: var(--o, 0);
    translate: 0 calc(var(--y, 0) * 1px);
    pointer-events: auto;
    text-align: left;
    transition: translate 420ms var(--ease-out), opacity 420ms ease;
  }
  .wed-day.is-staged .wed-day__jump {
    display: block;
    width: 100%;
    padding: 0;
    text-align: left;
    transform-origin: 0 0;
    scale: var(--s, 1);
    transition: scale 420ms var(--ease-out);
  }
  .wed-day.is-staged .wed-day__label {
    display: block;
    font-size: clamp(2.25rem, 3vw, 3rem);
    line-height: 1.1;
    color: var(--ink);
  }
  .wed-day.is-staged .wed-day__more {
    grid-template-rows: 1fr;
    padding-left: 0;
    opacity: var(--od, 0);
    transition: opacity 300ms ease;
  }
  .wed-day.is-staged .wed-day__moment:not(.is-active) .wed-day__more { pointer-events: none; }
  .wed-day.is-staged .wed-day__place { margin-top: var(--space-3); }
  .wed-day.is-staged .wed-day__desc { max-width: 28rem; margin-bottom: 0; }
  .wed-day.is-staged .wed-day__moment:not(.is-active):focus-within { opacity: 1; }
  @media (hover: hover) and (pointer: fine) {
    .wed-day.is-staged .wed-day__moment:not(.is-active):hover { opacity: max(var(--o, 0), 0.8); }
  }
}

/* ============================================================
   4 · THE VENUE  ·  three spreads
   One spread to each part of the venue. The photograph is large and
   runs off its side of the screen; a card of the suite (.wed-card, the
   details card's paper) rises over its inner foot, so the words sit on
   the place rather than beside it, and the next spread turns the other
   way. The photograph drifts a little slower than the page (--wed-drift,
   weddings.js, THE VENUE), so the card passes over it, and it opens from
   the screen's edge as it arrives. On a phone and tablet the photograph
   keeps to the gutter, its corners rounded (Brandon, 2026-11-04: not
   "right up against the sides"), and the card rises over its foot a
   step in from its sides, as the details card does over the film.
   ============================================================ */
.wed-venue {
  padding: var(--space-12) var(--wed-gutter);
  overflow-x: clip;
}
/* Centred, as the pricing's head is (Brandon, 2026-11-04). */
.wed-venue__head {
  max-width: 84rem;
  margin: 0 auto var(--space-9);
  text-align: center;
}
.wed-spread {
  position: relative;
  display: grid;
}
.wed-spread + .wed-spread { margin-top: var(--space-12); }
.wed-spread__photo {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--brand-950);
  box-shadow: 0 30px 60px -36px rgba(9, 11, 14, 0.45);
  translate: 0 calc(var(--wed-drift, 0) * 1px);
}
.wed-spread__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--focus, 50% 50%);
}

.wed-spread__card {
  z-index: 1;
  width: calc(100% - 2 * var(--space-3));
  max-width: 36rem;
  justify-self: center;
  margin-top: calc(-1 * var(--space-10));
  padding: var(--space-9) var(--space-5);
  text-align: center;
}
.wed-spread__card > * { position: relative; z-index: 1; }
.wed-spread__name {
  font-family: var(--font-display);
  font-weight: var(--fw-display);
  font-size: clamp(2rem, 1.4rem + 1.8vw, 2.75rem);
  line-height: 1.1;
  text-wrap: balance;
  color: var(--color-text-primary);
}
.wed-spread__line {
  max-width: 26rem;
  margin: var(--space-3) auto 0;
  text-wrap: balance;
  color: var(--color-text-secondary);
}
/* The figures as the details card sets them: the value over a short
   sage label, a hairline between, kept together under the words. */
.wed-spread__figures {
  display: flex;
  justify-content: center;
  margin-top: var(--space-6);
}
.wed-spread__figures div {
  flex: 1 1 0;
  max-width: 10rem;
  display: flex;
  flex-direction: column-reverse;
  justify-content: flex-end;
  align-items: center;
  gap: var(--space-2);
  padding-inline: var(--space-1);
}
.wed-spread__figures div + div { border-left: 1px solid var(--accent-200); }
.wed-spread__figures dd {
  margin: 0;
  font-family: var(--font-display);
  font-weight: var(--fw-display);
  font-size: clamp(1.5rem, 1.1rem + 1.2vw, 2.25rem);
  line-height: 1;
  font-variant-numeric: lining-nums;
  white-space: nowrap;
  color: var(--color-text-primary);
}
.wed-spread__figures dt {
  font-size: var(--fs-text-xs);
  line-height: var(--lh-text-xs);
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
  text-wrap: balance;
  color: var(--color-text-accent);
}

@media (min-width: 600px) {
  .wed-spread__photo { aspect-ratio: 4 / 3; }
  .wed-spread__card { padding-inline: var(--space-9); }
}

/* THE DESK: the photograph 62% of the screen wide from its edge, as
   tall as the screen allows; the card over its inner foot, 8% of the
   screen across the photograph and hanging a step below it. */
@media (min-width: 1024px) {
  .wed-venue { padding-block: var(--space-16); }
  .wed-venue__head { margin-bottom: var(--space-12); }
  .wed-spread {
    --wed-hang: var(--space-9);
    grid-template-columns: 62vw minmax(0, 1fr);
    align-items: end;
    margin-inline: calc(-1 * var(--wed-gutter));
  }
  .wed-spread + .wed-spread { margin-top: calc(var(--space-16) + var(--wed-hang)); }
  .wed-spread__photo {
    aspect-ratio: auto;
    height: min(52vw, 82svh);
    border-radius: 0 1.5rem 1.5rem 0;
  }
  .wed-spread__card {
    width: clamp(26rem, 34vw, 36rem);
    max-width: none;
    padding-inline: var(--space-7);
    justify-self: start;
    margin: 0 0 calc(-1 * var(--wed-hang)) -8vw;
  }
  .wed-spread--flip { grid-template-columns: minmax(0, 1fr) 62vw; }
  .wed-spread--flip .wed-spread__photo { grid-column: 2; grid-row: 1; border-radius: 1.5rem 0 0 1.5rem; }
  .wed-spread--flip .wed-spread__card { grid-column: 1; grid-row: 1; justify-self: end; margin: 0 -8vw calc(-1 * var(--wed-hang)) 0; }

  /* It opens from the screen's edge as it arrives: the clip is drawn
     back from its inner side, wide of the box so the shadow shows. */
  .reveal-on .wed-spread__photo[data-reveal] {
    clip-path: inset(-4rem 35% -4rem -4rem);
    transition: opacity var(--dur-reveal) var(--ease-out),
                clip-path 1400ms var(--ease-out);
  }
  .reveal-on .wed-spread--flip .wed-spread__photo[data-reveal] { clip-path: inset(-4rem -4rem -4rem 35%); }
  .reveal-on .wed-spread .wed-spread__photo[data-reveal].is-revealed { clip-path: inset(-4rem); }
  .reveal-on .wed-spread__card[data-reveal] { transition-delay: 240ms; }
}

/* ============================================================
   5 · THE PACKAGES
   ============================================================ */
/* The venue's last photograph, the fire pit at sunset, carries on as a
   haze behind the pricing (Brandon, 2026-11-04: the two needed "a better
   transition"; a pale band with a hard top edge cut them apart): the
   page colour at the seam, the sunset's warmth coming up through it
   behind the cards, and the page colour again at the foot, into the
   notes. wedding-pack-haze.webp is that photograph's sky, cropped
   above the gravel, 160 x 96 and blurred before it is saved, so it is
   under a kilobyte and needs no filter. */
.wed-pack {
  position: relative;
  isolation: isolate;
  padding: var(--space-12) 0;
  background: var(--color-bg-primary);
}
.wed-pack::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    linear-gradient(180deg,
      var(--color-bg-primary) 0%,
      color-mix(in srgb, var(--color-bg-primary) 55%, transparent) 40%,
      color-mix(in srgb, var(--color-bg-primary) 65%, transparent) 70%,
      var(--color-bg-primary) 100%),
    url(/assets/img/wedding-pack-haze.webp) center / cover no-repeat;
  pointer-events: none;
}
.wed-pack__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-inline: var(--wed-gutter);
  text-align: center;
}

/* THE CARDS: a rail you swipe on a phone, three abreast on a desk.
   Each is a photograph in the hero's arch (a half circle over softly
   rounded feet, the film's inner shadow and hairline) and its price
   set under it on the haze, centred, with no box round it. The arch is
   always 4:5, so a radius of half its width is 50% across and 40% down. */
.wed-pack__cards {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: min(74vw, 20rem);
  gap: var(--space-4);
  margin-top: var(--space-8);
  padding: var(--space-3) var(--wed-gutter) var(--space-5);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--wed-gutter);
  scrollbar-width: none;
}
.wed-pack__cards::-webkit-scrollbar { display: none; }
.wed-pack__card {
  display: flex;
  flex-direction: column;
  text-align: center;
  scroll-snap-align: start;
}
.wed-pack__photo {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 50% 50% var(--radius-lg) var(--radius-lg) / 40% 40% var(--radius-lg) var(--radius-lg);
  background: var(--accent-100);
  box-shadow: 0 30px 60px -30px rgba(9, 11, 14, 0.45);
}
.wed-pack__photo::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow:
    inset 0 0 0 0.5px var(--accent-300),
    inset 0 18px 36px -10px rgba(9, 11, 14, 0.32),
    inset 0 0 48px rgba(9, 11, 14, 0.14);
  pointer-events: none;
}
/* The photograph is cut taller than its arch, 8% over at the top and at
   the foot, so the parallax (weddings.js, THE PACKAGES) can move it
   inside the arch, by --wed-pack-y px, and never show an edge. */
.wed-pack__photo img {
  position: absolute;
  top: -8%;
  left: 0;
  width: 100%;
  height: 116%;
  object-fit: cover;
  translate: 0 calc(var(--wed-pack-y, 0) * 1px);
  transition: scale 1600ms var(--ease-out), transform 900ms var(--ease-out);
}
/* The headline package: its arch printed round with a fine sage line,
   as the suite's cards are printed with their border. */
.wed-pack__card.is-featured .wed-pack__photo {
  outline: 1px solid var(--accent-400);
  outline-offset: var(--space-2);
}

.wed-pack__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
  padding: var(--space-5) var(--space-2) 0;
}
.wed-pack__name {
  font-family: var(--font-display);
  font-weight: var(--fw-display);
  font-size: var(--fs-display-sm);
  line-height: 1.2;
  color: var(--color-text-primary);
}
/* The captions a step darker than the secondary grey: on the haze's
   warm middle that measured 4.4:1, under the 4.5 a caption needs. */
.wed-pack__for { margin-top: var(--space-1); color: var(--gray-800); }
/* The price, closed under by a short sage rule, as a menu card's
   course is. */
.wed-pack__price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: var(--space-2);
  margin-top: var(--space-4);
  color: var(--gray-800);
}
.wed-pack__amount {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: var(--fw-display);
  font-size: clamp(2.5rem, 3.2vw, 3rem);
  line-height: 1;
  font-variant-numeric: lining-nums tabular-nums;
  color: var(--color-text-primary);
}
.wed-pack__terms { margin-top: var(--space-1); color: var(--gray-800); }
.wed-pack__price + .wed-pack__terms { margin-top: var(--space-2); }
.wed-pack__ask { margin-top: auto; }
.wed-pack__terms:last-of-type { margin-bottom: var(--space-5); }
.wed-pack__card .btn--outline {
  border-color: var(--accent-400);
  background: color-mix(in srgb, var(--color-bg-primary) 55%, transparent);
}

/* THE FOOT: what venue + lodging includes, said once for both, three
   lines between hairlines as the details card's figures are, and the
   average spend under them. */
.wed-pack__foot {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 64rem;
  margin: var(--space-8) auto 0;
  padding-inline: var(--wed-gutter);
  text-align: center;
}
.wed-pack__also { color: var(--color-text-accent); }
.wed-pack__includes {
  display: grid;
  width: 100%;
  margin-top: var(--space-3);
  color: var(--color-text-primary);
}
.wed-pack__includes li { padding-block: var(--space-3); }
.wed-pack__includes li + li { border-top: 1px solid var(--accent-200); }
.wed-pack__note {
  max-width: 40rem;
  margin-top: var(--space-5);
  color: var(--color-text-secondary);
}

/* Revealed, the photograph settles into its arch, from a little
   close; on a desk with a pointer it leans in under the hover. */
.reveal-on .wed-pack__cards > * .wed-pack__photo img { scale: 1.12; }
.reveal-on .wed-pack__cards > .is-revealed .wed-pack__photo img { scale: 1; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .wed-pack__card:hover .wed-pack__photo img { transform: scale(1.04); }
}


/* From 900px, one screen (Brandon, 2026-11-05: "fit 100vh"): the title
   with what venue + lodging includes and the average spend under it,
   down the left, and the three arches beside them, the weekend's a size
   wider in the middle, all standing on one line with their prices
   hanging from the next (subgrid). --pack-arch is the weekend arch's
   height, as tall as the window allows and as wide as the row allows,
   whichever is less; the other two are a size under it. A phone is as
   it was, above. */
@media (min-width: 900px) {
  .wed-pack {
    --pack-side: clamp(15rem, 22vw, 22rem);
    --pack-gap: clamp(var(--space-6), 4vw, var(--space-10));
    --pack-col: clamp(var(--space-4), 2.5vw, var(--space-7));
    --pack-arch: clamp(11rem, min(100svh - 26.5rem, (100vw - 2 * var(--wed-gutter) - var(--pack-side) - var(--pack-gap) - 2 * var(--pack-col)) / 2.2), 31rem);
    --pack-w: calc(var(--pack-arch) * 0.8);
    --pack-w-side: calc(var(--pack-w) / 1.2);
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 100vh;
    min-height: 100svh;
    padding: calc(var(--wed-bar) + var(--space-2)) var(--wed-gutter) var(--space-6);
  }
  /* A screen of its own, so the Packages link lands it at the top, the
     bar's room already inside it. */
  .wed-page .wed-pack[id] { scroll-margin-top: 0; }
  /* The second row is 1fr so the arches' extra height all goes there,
     and the inclusions stay right under the title. */
  .wed-pack__inner {
    display: grid;
    grid-template-columns: var(--pack-side) auto;
    grid-template-rows: auto 1fr;
    justify-content: center;
    column-gap: var(--pack-gap);
  }
  .wed-pack__head {
    grid-column: 1;
    grid-row: 1;
    align-items: flex-start;
    padding: var(--space-2) 0 0;
    text-align: left;
  }
  .wed-pack__head .wed-title { font-size: clamp(2.5rem, 3.4vw, 3.5rem); }
  .wed-pack__foot {
    grid-column: 1;
    grid-row: 2;
    align-self: start;
    align-items: flex-start;
    max-width: none;
    margin: var(--space-6) 0 0;
    padding: 0;
    text-align: left;
  }
  .wed-pack__includes {
    margin-top: var(--space-2);
    border-block: 1px solid var(--accent-200);
  }
  .wed-pack__includes li { padding-block: 6px; text-wrap: balance; }
  .wed-pack__note { max-width: none; margin-top: var(--space-3); text-wrap: pretty; }

  .wed-pack__cards {
    grid-column: 2;
    grid-row: 1 / span 2;
    align-self: center;
    grid-auto-flow: row;
    grid-template-columns:
      max(var(--pack-w-side), min(13.5rem, 17vw))
      max(var(--pack-w), min(13.5rem, 17vw))
      max(var(--pack-w-side), min(13.5rem, 17vw));
    grid-template-rows: auto auto;
    grid-auto-columns: auto;
    column-gap: var(--pack-col);
    row-gap: var(--space-4);
    margin: 0;
    padding: var(--space-2) 0 0;  /* the weekend's outline */
    overflow: visible;
  }
  .wed-pack__card {
    display: grid;
    grid-row: span 2;
    grid-template-rows: subgrid;
  }
  .wed-pack__photo {
    align-self: end;
    width: min(100%, var(--pack-w));
    margin-inline: auto;
  }
  .wed-pack__card:not(.is-featured) .wed-pack__photo { width: min(100%, var(--pack-w-side)); }
  .wed-pack__body { padding: 0; }
  .wed-pack__name {
    font-size: clamp(1.5rem, 2vw, 2rem);
    line-height: 1.15;
    white-space: nowrap;
  }
  .wed-pack__price { margin-top: var(--space-2); }
  .wed-pack__amount { font-size: clamp(2.25rem, 3vw, 2.75rem); line-height: 1.1; }
  .wed-pack__price + .wed-pack__terms { margin-top: var(--space-1); }
  .wed-pack__terms:last-of-type { margin-bottom: var(--space-3); }
}
/* A short window (a laptop with its browser's bars, under 760px of
   page): the bar's room and the gaps a step tighter, so the arches
   keep what they can. */
@media (min-width: 900px) and (max-height: 760px) {
  .wed-pack {
    --pack-arch: clamp(11rem, min(100svh - 26rem, (100vw - 2 * var(--wed-gutter) - var(--pack-side) - var(--pack-gap) - 2 * var(--pack-col)) / 2.2), 31rem);
    padding-top: var(--wed-bar);
    padding-bottom: var(--space-4);
  }
  .wed-pack__cards { row-gap: var(--space-3); }
  .wed-pack__amount { font-size: 2.25rem; }
  .wed-pack__terms:last-of-type { margin-bottom: var(--space-2); }
}

/* ============================================================
   6 · LOVE NOTES  ·  the thank-you cards
   Each note is a card: a photograph inside a white margin, the note in
   the display face's italic, and the couple's names signed under it.
   Live (weddings.js), the cards lie in one pile, each at its place in
   it (data-pos: 0 on top), turned a little, so the ones beneath show
   their edges; the top one can be dragged, and goes out (is-leaving)
   before it is laid at the back.
   ============================================================ */
.wed-notes { padding: var(--space-12) var(--wed-gutter); overflow-x: clip; }
.wed-notes__inner {
  display: grid;
  justify-items: center;
  gap: var(--space-8);
  max-width: 72rem;
  margin-inline: auto;
  text-align: center;
}
.wed-notes__head .wed-title { max-width: 16ch; margin-inline: auto; }
.wed-notes__intro { max-width: 28rem; margin: var(--space-4) auto 0; color: var(--color-text-secondary); }
/* The stars, as the landing page's reviews have them, a size up: five in
   the sage of the eyebrows, between the title and the line under it. */
.wed-notes__stars {
  display: flex;
  justify-content: center;
  gap: var(--space-1);
  margin-top: var(--space-5);
  color: var(--color-text-accent);
}
.wed-notes__stars svg { width: 1.25rem; height: 1.25rem; flex: 0 0 auto; }
.wed-notes__stars + .wed-notes__intro { margin-top: var(--space-3); }

.wed-notes__stack {
  display: grid;
  gap: var(--space-6);
  width: min(100%, 24rem);
}
.wed-note {
  position: relative;
  padding: var(--space-3) var(--space-3) var(--space-5);
  background: var(--color-bg-primary);
  box-shadow: 0 24px 48px -24px rgba(9, 11, 14, 0.4), 0 1px 3px rgba(9, 11, 14, 0.1);
  text-align: left;
}
.wed-note__photo {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--brand-950);
}
.wed-note__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--focus, 50% 50%);
  pointer-events: none;
}
/* The note in the body face at its regular weight (Brandon, 2026-11-04:
   hard to read; it was the display face in italic, and Playfair ships
   no italic here, so the browser slanted the medium weight itself). */
.wed-note__quote {
  margin: var(--space-4) var(--space-2) 0;
  font-family: var(--font-body);
  font-weight: var(--fw-regular);
  font-size: var(--fs-text-md);
  line-height: 1.625;
  color: var(--color-text-primary);
}
.wed-note__who {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--space-2);
  margin: var(--space-4) var(--space-2) 0;
  padding-top: var(--space-3);
  border-top: 1px solid var(--accent-200);
}
.wed-note__sign {
  font-family: var(--font-display);
  font-weight: var(--fw-regular);
  font-size: 1.25rem;
  color: var(--color-text-primary);
}
.wed-note__date { color: var(--color-text-accent); }

/* The pile. */
.wed-notes__stack.is-live { gap: 0; touch-action: pan-y; }
.wed-notes__stack.is-live .wed-note {
  grid-area: 1 / 1;
  transition: transform 650ms var(--ease-out), opacity 400ms ease, box-shadow 400ms ease;
  user-select: none;
}
/* All at one weight, so the states that follow win by order alone: the
   back of the pile, then second, then the top. */
.wed-notes__stack.is-live .wed-note[data-pos] {
  z-index: 1;
  transform: translate(-1rem, 1.25rem) rotate(calc(var(--tilt) * -1.2));
}
.wed-notes__stack.is-live .wed-note[data-pos="1"] {
  z-index: 2;
  transform: translate(1.25rem, 0.75rem) rotate(var(--tilt));
}
/* The one being read lies straight, so its words are drawn square to
   the screen; the ones under it keep their turn. */
.wed-notes__stack.is-live .wed-note[data-pos="0"] {
  z-index: 3;
  transform: none;
  cursor: grab;
}
/* Laid at the back after leaving: put there unseen, then shown. */
.wed-notes__stack.is-live .wed-note.is-settling { transition: none; opacity: 0; }
.wed-notes__stack.is-live .wed-note.is-dragging { transition: none; cursor: grabbing; }
.wed-notes__stack.is-live .wed-note.is-leaving {
  z-index: 4;
  opacity: 0;
  transform: translate(var(--fling, 130%), -6%) rotate(calc(var(--fling-turn, 1) * 14deg));
  transition: transform 520ms var(--ease-out), opacity 360ms ease 140ms;
}
.wed-notes__stack.is-live .wed-note.is-arriving {
  transition: none;
  opacity: 0;
  transform: translate(-130%, -6%) rotate(-14deg);
}

.wed-notes__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
}
.wed-notes__controls[hidden] { display: none; }
/* Where the pile is swiped (a phone or tablet), dots say which note is on
   top; a desk has the count. */
.wed-notes__dots { display: flex; align-items: center; gap: var(--space-2); }
.wed-notes__dots i {
  width: 0.375rem;
  height: 0.375rem;
  border-radius: var(--radius-pill);
  background: var(--accent-200);
  transition: width var(--dur-ui) var(--ease-out), background-color var(--dur-ui) ease;
}
.wed-notes__dots i.is-on { width: 1.25rem; background: var(--accent-500); }
@media (max-width: 899px) {
  /* Swiped, not stepped (Brandon, 2026-11-04): the arrows and the count
     stay for a screen reader or a keyboard, and an arrow shows only
     while it has the focus. */
  .wed-notes__controls .wed-round:not(:focus-visible),
  .wed-notes__count {
    position: absolute;
    width: 1px;
    min-width: 0;
    height: 1px;
    padding: 0;
    border: 0;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }
}
/* Once, the first time the pile is in view on a phone: the top card
   leans aside and back, to show that it moves. */
@keyframes wed-note-hint {
  0%, 100% { translate: 0 0; rotate: 0deg; }
  40%      { translate: -2.5rem 0; rotate: -3deg; }
}
.wed-notes__stack.is-live .wed-note.is-hinting { animation: wed-note-hint 1100ms var(--ease-in-out) 1; }
.wed-notes__count {
  min-width: 4.5rem;
  text-align: center;
  font-variant-numeric: tabular-nums;
  color: var(--color-text-secondary);
}
.wed-round {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  flex: none;
  border: 1px solid var(--accent-300);
  border-radius: 50%;
  background: var(--color-bg-primary);
  color: var(--color-text-primary);
  cursor: pointer;
  transition: background-color var(--dur-ui) ease, border-color var(--dur-ui) ease, transform var(--dur-press) var(--ease-out);
}
.wed-round svg { width: 1.25rem; height: 1.25rem; }
.wed-round:active { transform: scale(0.96); }
@media (hover: hover) and (pointer: fine) {
  .wed-round:hover { background: var(--accent-50); border-color: var(--accent-500); }
}
/* A desk: the words and the arrows on the left, the pile on the right. */
@media (min-width: 900px) {
  .wed-notes { padding-block: var(--space-16); }
  .wed-notes__inner {
    grid-template-columns: minmax(0, 26rem) minmax(0, 28rem);
    grid-template-areas: "head stack" "controls stack";
    grid-template-rows: auto 1fr;
    justify-content: center;
    justify-items: start;
    align-items: start;
    column-gap: var(--space-16);
    row-gap: var(--space-7);
    text-align: left;
  }
  .wed-notes__head { grid-area: head; align-self: end; }
  .wed-notes__head .wed-title,
  .wed-notes__intro { margin-inline: 0; }
  .wed-notes__stars { justify-content: flex-start; }
  .wed-notes__stack { grid-area: stack; width: 26rem; justify-self: center; }
  .wed-notes__controls { grid-area: controls; justify-content: flex-start; }
  .wed-notes__dots { display: none; }
}

/* ============================================================
   7 · QUESTIONS
   ============================================================ */
.wed-faq {
  padding: var(--space-12) var(--wed-gutter);
  background: var(--accent-25);
}
.wed-faq__inner {
  display: grid;
  gap: var(--space-7);
  max-width: 72rem;
  margin-inline: auto;
}
.wed-faq__intro { max-width: 26rem; margin-top: var(--space-4); color: var(--color-text-secondary); }
/* The events email and phone, here and on the thank-you card. */
.wed-faq__link {
  color: var(--color-text-primary);
  text-decoration: underline;
  text-decoration-color: var(--accent-400);
  text-underline-offset: 3px;
  border-radius: var(--radius-sm);
}
@media (hover: hover) and (pointer: fine) {
  .wed-faq__link:hover { text-decoration-color: currentColor; }
}

/* THE CHIPS: 48px pills, the labels in the primary ink, and the chosen
   one filled dark.
   THE LIT COPY (weddings.js, THE QUESTIONS): the script lays a second
   copy of the chips over the first (.wed-chips__lit), dark all over with
   white labels, and clips it to the chosen chip's pill. Choosing another
   chip moves only that clip, so the dark pill slides from chip to chip
   and, wherever it is, the labels under it are white, at every frame;
   nothing passes under anything (Brandon, 2026-11-04: a sliding fill
   under the chips showed through and went under them). The copy is
   laid out by the same rules as the chips, so it matches them exactly. */
.wed-chips {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-bottom: var(--space-6);
}
.wed-chips[hidden] { display: none; }
.wed-chips__chip {
  display: inline-flex;
  align-items: center;
  min-height: 3rem;
  padding: 0 var(--space-4);
  border: 1px solid var(--accent-400);
  border-radius: var(--radius-pill);
  background: var(--color-bg-primary);
  color: var(--color-text-primary);
  white-space: nowrap;
  cursor: pointer;
  touch-action: manipulation;
  transition: background-color var(--dur-ui) ease, border-color var(--dur-ui) ease;
}
/* Without the lit copy (it has not been made), the chosen chip is
   filled itself. */
.wed-chips:not(.has-lit) .wed-chips__chip[aria-pressed="true"] {
  border-color: var(--gray-950);
  background: var(--gray-950);
  color: var(--gray-50);
}
@media (hover: hover) and (pointer: fine) {
  .wed-chips__chip[aria-pressed="false"]:hover { border-color: var(--accent-600); background: var(--accent-50); }
}
.wed-chips__lit {
  position: absolute;
  z-index: 1;
  inset: 0;
  display: inherit;
  flex-wrap: inherit;
  grid-template-columns: inherit;
  gap: inherit;
  background: var(--gray-950);
  clip-path: var(--wed-lit, inset(0 100% 100% 0 round 999px));
  transition: clip-path 340ms cubic-bezier(0.32, 0.72, 0, 1);
  pointer-events: none;
}
.wed-chips__lit.is-still { transition: none; }
.wed-chips__lit .wed-chips__chip {
  border-color: transparent;
  background: none;
  color: var(--gray-50);
}
/* A phone: two by two, each half the width, rather than three and one
   left over (the four do not fit on one line at this size). The lit
   copy inherits the grid, so it lies exactly over the chips. */
@media (max-width: 599px) {
  .wed-chips { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .wed-chips__chip { justify-content: center; }
}

/* The rule over the first question is the list's, so whichever comes
   first when the list is narrowed has one. */
.wed-faq__list { border-top: 1px solid var(--accent-200); }
.wed-q { border-bottom: 1px solid var(--accent-200); }
.wed-q[hidden] { display: none; }
.wed-q__ask {
  position: relative;
  display: block;
  padding: var(--space-4) var(--space-7) var(--space-4) 0;
  font-family: var(--font-display);
  font-weight: var(--fw-display);
  font-size: clamp(1.125rem, 1.6vw, 1.375rem);
  line-height: 1.35;
  color: var(--color-text-primary);
  cursor: pointer;
  list-style: none;
  border-radius: var(--radius-sm);
}
.wed-q__ask::-webkit-details-marker { display: none; }
/* A plus whose upright folds away as it opens. */
.wed-q__ask::before,
.wed-q__ask::after {
  content: "";
  position: absolute;
  right: var(--space-2);
  top: 50%;
  width: 0.875rem;
  height: 1px;
  background: var(--accent-700);
  transition: rotate 300ms var(--ease-out);
}
.wed-q__ask::after { rotate: 90deg; }
.wed-q[open] .wed-q__ask::after { rotate: 0deg; }
.wed-q__answer { padding: 0 var(--space-7) var(--space-5) 0; color: var(--color-text-secondary); }
/* Where the browser can animate a <details>, it opens smoothly. */
@supports (interpolate-size: allow-keywords) {
  .wed-faq { interpolate-size: allow-keywords; }
  .wed-q::details-content {
    height: 0;
    overflow: clip;
    transition: height 380ms var(--ease-out), content-visibility 380ms allow-discrete;
  }
  .wed-q[open]::details-content { height: auto; }
}
@media (min-width: 900px) {
  .wed-faq { padding-block: var(--space-16); }
  .wed-faq__inner { grid-template-columns: minmax(0, 22rem) minmax(0, 1fr); gap: var(--space-16); }
  .wed-faq__head { position: sticky; top: calc(var(--wed-bar) + var(--space-5)); align-self: start; }
}

/* ============================================================
   8 · THE REPLY CARD  ·  one question at a time
   The floral paper again, faded in at the top from the page colour,
   and the card on it. The card's printed border is the progress bar:
   its top rule fills with sage as the questions are answered.
   Without the script (no .is-stepped) every question is on the card at
   once, and the welcome and the review are left out.
   ============================================================ */
.wed-inquire {
  position: relative;
  isolation: isolate;
  padding: var(--space-16) var(--wed-gutter);
}
.wed-inquire__paper {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
}
.wed-inquire__paper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  -webkit-mask-image: linear-gradient(transparent, #000 30%);
          mask-image: linear-gradient(transparent, #000 30%);
}
.wed-inquire__card {
  max-width: 46rem;
  margin-inline: auto;
  padding: var(--space-10) var(--space-6) var(--space-8);
}
.wed-inquire__card > * { position: relative; z-index: 1; }
/* The bar is the frame's own top rule, inked: 1px, laid exactly on it.
   Once every question is answered it has done its work, so it fills to
   the corner and then fades back into the print, and the frame reads
   even again on the review and the thanks (Brandon, 2026-11-04: "top
   is darker and thicker"). */
.wed-progress {
  position: absolute;
  z-index: 2;
  top: var(--space-3);
  left: var(--space-3);
  right: var(--space-3);
  height: 1px;
}
.wed-progress[hidden] { display: none; }
.wed-progress span {
  display: block;
  width: var(--done, 0%);
  height: 100%;
  background: var(--accent-600);
  transition: width 600ms var(--ease-out), opacity 600ms ease;
}
.wed-progress.is-done span { opacity: 0; transition-delay: 0ms, 600ms; }

.wed-form {
  display: grid;
  gap: var(--space-9);
}
.wed-form:not(.is-stepped) [data-wed-step="welcome"],
.wed-form:not(.is-stepped) [data-wed-step="review"] { display: none; }
.wed-step {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}
.wed-step[hidden] { display: none; }
.wed-step__q {
  display: block;
  width: 100%;
  margin-bottom: var(--space-6);
  padding: 0;
  font-family: var(--font-display);
  font-weight: var(--fw-display);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  line-height: 1.15;
  text-wrap: balance;
  color: var(--color-text-primary);
}
.wed-step__n {
  display: block;
  margin-bottom: var(--space-2);
  color: var(--color-text-accent);
}

/* One at a time: each step comes up as it arrives, from below going
   on and from above going back. */
/* A steady height, so the card does not jump between a short question
   and a long one, with the nav at its foot. */
.wed-form.is-stepped {
  display: flex;
  flex-direction: column;
  gap: 0;
  min-height: 24rem;
}
.wed-form.is-stepped .wed-step:not([hidden]) { flex: 1; }
.wed-form.is-stepped .wed-step:not([hidden]) { animation: wed-step-in 520ms var(--ease-out) both; }
.wed-form.is-stepped.is-going-back .wed-step:not([hidden]) { animation-name: wed-step-back; }
@keyframes wed-step-in { from { opacity: 0; transform: translateY(1.25rem); } }
@keyframes wed-step-back { from { opacity: 0; transform: translateY(-1.25rem); } }

/* The welcome. */
.wed-step--welcome { text-align: center; }
.wed-step--welcome .wed-title { max-width: 14ch; margin-inline: auto; }
.wed-step__intro { max-width: 30rem; margin: var(--space-4) auto 0; color: var(--color-text-secondary); }
.wed-step__go { justify-content: center; margin-top: var(--space-7); }
.wed-step__hint { margin-top: var(--space-3); color: var(--color-text-secondary); }

/* Fields: lines to write on, as a reply card has, the label in small
   capitals above a bare underline; the focus ring is the page's own. */
.wed-field { display: flex; flex-direction: column; gap: var(--space-1); }
.wed-field__label {
  display: flex;
  align-items: baseline;
  gap: var(--space-2);
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
  font-size: var(--fs-text-xs);
  line-height: var(--lh-text-xs);
  color: var(--color-text-accent);
}
.wed-field__opt { text-transform: none; letter-spacing: 0; color: var(--color-text-secondary); }
.wed-field__input {
  width: 100%;
  min-height: 3rem;
  padding: var(--space-2) 0;
  border: 0;
  border-bottom: 1px solid var(--gray-400);
  border-radius: 0;
  background: transparent;
  font-size: var(--fs-text-lg);
  color: var(--color-text-primary);
  transition: border-color var(--dur-ui) ease;
}
.wed-field__input--lg {
  min-height: 3.5rem;
  font-family: var(--font-display);
  font-size: 1.5rem;
}
/* Focus on a line is the line itself, thicker and darker, not a box
   round it. */
.wed-field__input:focus { border-bottom-color: var(--accent-700); }
.wed-field__input:focus-visible {
  outline: none;
  box-shadow: 0 1px 0 0 var(--accent-700);
}
.wed-field__input[aria-invalid="true"] { border-bottom-color: var(--color-border-error); }
textarea.wed-field__input { resize: vertical; min-height: 7rem; line-height: var(--lh-text-lg); }

/* The names: two lines with an ampersand between, as they would be
   printed. */
.wed-pair { display: grid; gap: var(--space-4); }
.wed-pair__and {
  justify-self: center;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 2.5rem;
  line-height: 1;
  color: var(--accent-500);
}
@media (min-width: 640px) {
  .wed-pair { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: end; gap: var(--space-5); }
  .wed-pair__and { padding-bottom: var(--space-2); }
  .wed-pair--plain { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.wed-field--date { max-width: 20rem; }
.wed-or {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin: var(--space-6) 0 var(--space-3);
  color: var(--color-text-secondary);
}
.wed-or::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--accent-200);
}

/* Choices: the radio is kept for the keyboard and a screen reader and
   hidden; its label is the chip or the card. */
.wed-options { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.wed-option { position: relative; cursor: pointer; }
.wed-option input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}
.wed-option > span {
  display: block;
  padding: var(--space-2) var(--space-4);
  border: 1px solid var(--accent-300);
  border-radius: var(--radius-pill);
  background: var(--color-bg-primary);
  color: var(--color-text-secondary);
  transition: background-color var(--dur-ui) ease, border-color var(--dur-ui) ease, color var(--dur-ui) ease, transform var(--dur-press) var(--ease-out);
}
.wed-option:active > span { transform: scale(0.98); }
.wed-option input:checked + span {
  border-color: var(--gray-950);
  background: var(--gray-950);
  color: var(--gray-50);
}
.wed-option input:focus-visible + span {
  outline: 2px solid var(--color-border-focus);
  outline-offset: 2px;
}
@media (hover: hover) and (pointer: fine) {
  .wed-option:hover > span { border-color: var(--accent-600); color: var(--color-text-primary); }
}
.wed-options--cards { display: grid; gap: var(--space-3); }
.wed-options--cards .wed-option > span {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
  padding: var(--space-4) var(--space-8) var(--space-4) var(--space-5);
  border-color: var(--accent-200);
  border-radius: var(--radius-sm);
}
.wed-option__name {
  font-family: var(--font-display);
  font-weight: var(--fw-display);
  font-size: 1.375rem;
  line-height: 1.2;
  color: var(--color-text-primary);
}
.wed-options--cards small { font-size: var(--fs-text-sm); line-height: var(--lh-text-sm); color: var(--color-text-secondary); }
.wed-options--cards .wed-option > span::after {
  content: "";
  position: absolute;
  right: var(--space-4);
  top: 50%;
  width: 1.25rem;
  height: 1.25rem;
  margin-top: -0.625rem;
  border: 1px solid var(--accent-300);
  border-radius: 50%;
  transition: background-color var(--dur-ui) ease, border-color var(--dur-ui) ease;
}
.wed-options--cards .wed-option input:checked + span {
  border-color: var(--accent-600);
  background: var(--accent-50);
  color: var(--color-text-secondary);
}
.wed-options--cards .wed-option input:checked + span::after {
  border-color: var(--accent-700);
  background: radial-gradient(circle, var(--accent-700) 0 40%, transparent 45%);
}
@media (min-width: 640px) {
  .wed-options--cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* The guests: the count large between a minus and a plus, the slider
   under it, its filled part sage. */
.wed-count {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-6);
}
.wed-count__num {
  min-width: 3ch;
  font-family: var(--font-display);
  font-weight: var(--fw-display);
  font-size: clamp(4rem, 12vw, 6rem);
  line-height: 1;
  text-align: center;
  font-variant-numeric: lining-nums tabular-nums;
  color: var(--color-text-primary);
}
.wed-count__label {
  display: block;
  margin: var(--space-2) 0 var(--space-5);
  text-align: center;
  color: var(--color-text-accent);
}
.wed-range {
  --wed-fill: 50%;
  width: 100%;
  height: 2.75rem;
  margin: 0;
  background: transparent;
  appearance: none;
  cursor: pointer;
}
.wed-range::-webkit-slider-runnable-track {
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--accent-600) var(--wed-fill), var(--accent-200) var(--wed-fill));
}
.wed-range::-moz-range-track { height: 2px; background: var(--accent-200); }
.wed-range::-moz-range-progress { height: 2px; background: var(--accent-600); }
.wed-range::-webkit-slider-thumb {
  appearance: none;
  width: 1.5rem;
  height: 1.5rem;
  margin-top: calc(-0.75rem + 1px);
  border: 1px solid var(--accent-600);
  border-radius: 50%;
  background: var(--color-bg-primary);
  box-shadow: 0 2px 8px -2px rgba(9, 11, 14, 0.3);
}
.wed-range::-moz-range-thumb {
  width: 1.5rem;
  height: 1.5rem;
  border: 1px solid var(--accent-600);
  border-radius: 50%;
  background: var(--color-bg-primary);
}
.wed-range__scale {
  display: flex;
  justify-content: space-between;
  margin-top: calc(-1 * var(--space-2));
  color: var(--color-text-secondary);
}

/* The review: the reply card, filled in. */
.wed-step--review { text-align: center; }
.wed-review { margin-top: var(--space-4); text-align: left; }
.wed-review > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: baseline;
  gap: var(--space-1) var(--space-4);
  padding: var(--space-3) 0;
  border-bottom: 1px solid var(--accent-200);
}
.wed-review dt {
  grid-column: 1;
  font-size: var(--fs-text-xs);
  line-height: var(--lh-text-xs);
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
  color: var(--color-text-accent);
}
.wed-review dd {
  grid-column: 1;
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.375rem;
  line-height: 1.3;
  color: var(--color-text-primary);
  overflow-wrap: anywhere;
}
.wed-review dd.is-empty { font-family: var(--font-body); font-size: var(--fs-text-md); color: var(--color-text-secondary); }
.wed-review button {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  padding: var(--space-2);
  border: 0;
  background: none;
  color: var(--color-text-accent);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
  border-radius: var(--radius-sm);
}

/* The nav: Back on the left, Continue (or Send) on the right. */
.wed-form__nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
}
.wed-form.is-stepped .wed-form__nav { justify-content: flex-end; margin-top: var(--space-8); }
.wed-form.is-stepped .wed-form__nav.is-welcome { display: none; }
.wed-back {
  margin-right: auto;
  padding: var(--space-2) 0;
  border: 0;
  background: none;
  color: var(--color-text-secondary);
  cursor: pointer;
  border-radius: var(--radius-sm);
}
.wed-back::before { content: "\2190\00a0\00a0"; }
@media (hover: hover) and (pointer: fine) {
  .wed-back:hover { color: var(--color-text-primary); }
}
.wed-form__hint { color: var(--color-text-secondary); }
.wed-form__hint[hidden],
.wed-form__nav [hidden] { display: none; }
.wed-form__next { min-width: 9rem; }
.wed-form__actions { grid-area: auto; margin-top: 0; }
.wed-form__error { margin-top: var(--space-4); color: var(--color-text-error); }

/* While the reply is on its way (weddings.js, SENDING): the landing
   page's busy button, the same muted treatment. */
.wed-form__actions .btn[aria-busy="true"] { cursor: progress; opacity: 0.7; }

/* The bot trap: off the card for people, out of reach for the keyboard
   (tabindex -1) and a screen reader (aria-hidden), there for a bot that
   fills in every box it finds. Not display: none, which some bots skip. */
.wed-trap {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* The form's own display beats the [hidden] the script sets on send. */
.wed-form[hidden] { display: none; }

/* The thanks: the card again, now only the seal and a few words, held
   at the questions' height and centred in it so the card does not
   collapse under the reader. It comes up as a step does, a beat apart;
   the way to reach the team sooner sits under a short rule, quieter. */
.wed-inquire__thanks {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 24rem;
  text-align: center;
  color: var(--color-text-secondary);
}
.wed-inquire__thanks[hidden] { display: none; }
.wed-inquire__thanks:focus { outline: none; }
.wed-inquire__thanks > * { animation: wed-step-in 640ms var(--ease-out) both; }
.wed-inquire__thanks > :nth-child(2) { animation-delay: 80ms; }
.wed-inquire__thanks > :nth-child(3) { animation-delay: 160ms; }
.wed-inquire__thanks > :nth-child(4) { animation-delay: 240ms; }
.wed-inquire__seal {
  display: grid;
  place-items: center;
  width: 4rem;
  height: 4rem;
  margin-bottom: var(--space-6);
  border: 1px solid var(--accent-300);
  border-radius: 50%;
  color: var(--color-text-accent);
}
.wed-inquire__seal svg { width: 1.75rem; height: 1.75rem; }
.wed-inquire__note { max-width: 26rem; margin: var(--space-4) 0 0; text-wrap: balance; }
.wed-inquire__sooner { max-width: 30rem; margin: var(--space-9) 0 0; text-wrap: balance; }
.wed-inquire__sooner a { white-space: nowrap; }
.wed-inquire__sooner::before {
  content: "";
  display: block;
  width: var(--space-9);
  height: 1px;
  margin: 0 auto var(--space-5);
  background: var(--accent-300);
}

@media (min-width: 768px) {
  .wed-inquire__card { padding: var(--space-12) var(--space-12) var(--space-10); }
  .wed-progress { top: var(--space-4); left: var(--space-4); right: var(--space-4); }
}
@media (max-width: 639px) {
  .wed-form__hint { display: none; }
}

/* ============================================================
   REDUCED MOTION
   The page as it stands still: no entrance, no breeze, the arch on
   the paper, the day as its bands of sky.
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  .wed-hero__words > *,
  .wed-hero__garland { animation: none; }
  .wed-inquire__thanks > * { animation-name: wed-fade-in; }
}
@keyframes wed-fade-in { from { opacity: 0; } }
