/* Vowette, the presentation site. Quiet Pearl, as in the app and the
   invitations: pearl paper, plum ink, blush and rose, Cormorant Garamond for
   display and Manrope for reading. Motion lifts like a veil. */

@font-face { font-family: Cormorant; src: url('/assets/fonts/CormorantGaramond.woff2') format('woff2'); font-weight: 300 700; font-display: swap; }
@font-face { font-family: Manrope; src: url('/assets/fonts/Manrope.woff2') format('woff2'); font-weight: 200 800; font-display: swap; }

:root {
  color-scheme: light;
  --pearl: #faf8f5;
  --paper: #fffdfc;
  --vellum: #f4eeeb;
  --blush: #f3dcdd;
  --rose: #c5797d;
  --plum: #52283e;
  --plum-soft: #6b3653;
  --night: #2f1424;
  --ink: #342932;
  --muted: #75636c;
  --yes: #24734a;
  --wait: #895010;
  --line: rgb(82 40 62 / .14);
  --line-strong: rgb(82 40 62 / .3);
  --on-night: #f8efed;
  --on-night-muted: rgb(248 239 237 / .7);
  --on-night-line: rgb(248 239 237 / .18);

  --serif: Cormorant, 'Cormorant Garamond', Georgia, serif;
  --sans: Manrope, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --t-hero: clamp(52px, min(10.6vw, 17.5vh), 196px);
  --t-display: clamp(44px, 6.4vw, 112px);
  --t-title: clamp(32px, 3.4vw, 56px);
  --t-lead: clamp(19px, 1.55vw, 23px);
  --t-body: 16.5px;
  --t-small: 13.5px;

  --gutter: clamp(20px, 4.2vw, 64px);
  --max: 1440px;
  --header-h: 76px;
  --radius: 22px;
  --ease-veil: cubic-bezier(.19, .67, .08, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);
}

/* Base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-stopped { overflow: clip; }
body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(60vw 50vw at 8% 18%, rgb(230 181 173 / .16), transparent 70%),
    radial-gradient(50vw 50vw at 96% 72%, rgb(230 181 173 / .12), transparent 70%),
    var(--pearl);
  color: var(--ink);
  font: 400 var(--t-body)/1.65 var(--sans);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
/* Paper grain, as on the printed invitations. */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 200;
  pointer-events: none;
  opacity: .32;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .32 0 0 0 0 .16 0 0 0 0 .24 0 0 0 .07 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img, svg { display: block; max-width: 100%; }
/* A <picture> only offers formats; its image lays out as if the wrapper weren't there. */
picture { display: contents; }
source { display: none; }
img { height: auto; }
a { color: inherit; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
p, h1, h2, h3, h4, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
[hidden] { display: none !important; }
::selection { background: var(--blush); color: var(--plum); }
:focus-visible { outline: 2px solid var(--plum); outline-offset: 4px; border-radius: 4px; }
[tabindex='-1']:focus { outline: none; }
.code :focus-visible, .menu :focus-visible, .door-dark :focus-visible { outline-color: var(--on-night); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: 16px; top: 12px; z-index: 300; padding: 10px 18px; border-radius: 999px; background: var(--plum); color: #fff; font-weight: 600; text-decoration: none; transform: translateY(-160%); transition: transform .3s var(--ease-out); }
.skip-link:focus { transform: none; }

.container { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.display { font: 400 var(--t-display)/.96 var(--serif); letter-spacing: -.028em; color: var(--plum); text-wrap: balance; }
h3, h4 { font-weight: 500; }

/* Buttons and links */
.button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 28px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--plum-soft), var(--plum));
  color: #fff;
  font: 600 15px/1 var(--sans);
  letter-spacing: .01em;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .22), 0 14px 30px -16px rgb(82 40 62 / .7);
  transition: transform .6s var(--ease-out), box-shadow .6s var(--ease-out), background-color .3s;
  -webkit-tap-highlight-color: transparent;
}
.button-small { min-height: 42px; padding: 0 20px; font-size: 14px; }
.button-light { background: var(--pearl); color: var(--plum); box-shadow: 0 14px 34px -18px rgb(0 0 0 / .6); }
.button-outline { background: transparent; color: var(--plum); border-color: var(--line-strong); box-shadow: none; }
.button-outline-light { background: transparent; color: var(--on-night); border-color: var(--on-night-line); box-shadow: none; }
@media (hover: hover) {
  .button:hover { transform: translateY(-2px); box-shadow: inset 0 1px 0 rgb(255 255 255 / .22), 0 20px 36px -18px rgb(82 40 62 / .75); }
  .button-outline:hover { background: rgb(82 40 62 / .05); }
  .button-outline-light:hover { background: rgb(248 239 237 / .08); }
}
/* The label rolls up on hover; main.js adds the second copy. */
.roll { display: inline-grid; overflow: hidden; height: 1.25em; line-height: 1.25; }
.roll > span { grid-area: 1 / 1; transition: transform .7s var(--ease-out); }
.roll > span + span { transform: translateY(110%); }
@media (hover: hover) {
  .button:hover .roll > span:first-child { transform: translateY(-110%); }
  .button:hover .roll > span + span { transform: none; }
}

.link {
  color: inherit;
  text-decoration: none;
  background: linear-gradient(currentColor, currentColor) left bottom / 100% 1px no-repeat;
  padding-bottom: 2px;
  transition: background-size .6s var(--ease-out);
}
@media (hover: hover) {
  .link:hover { background-size: 0 1px; background-position: right bottom; }
}
.link-light { color: var(--on-night); }

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 60;
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 0 var(--gutter);
  color: var(--plum);
  transition: transform .7s var(--ease-out), background-color .5s, box-shadow .5s;
}
.site-header::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgb(250 248 245 / .72);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  backdrop-filter: blur(18px) saturate(1.2);
  box-shadow: 0 1px 0 var(--line);
  opacity: 0;
  transition: opacity .5s;
}
.site-header.is-scrolled::before { opacity: 1; }
.site-header.is-hidden { transform: translateY(-100%); }
.brand { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; text-decoration: none; color: var(--plum); }
.brand-mark { width: 30px; height: auto; }
.brand-name { font: 500 30px/1 var(--serif); letter-spacing: -.02em; }
.site-nav { display: flex; gap: 30px; margin-left: auto; }
.site-nav a { position: relative; display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; font-weight: 500; text-decoration: none; }
.site-nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 10px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .6s var(--ease-out); }
@media (hover: hover) { .site-nav a:hover::after { transform: scaleX(1); transform-origin: left; } }
.site-nav a[aria-current='page']::after { transform: scaleX(1); }
.menu-button { display: none; }

/* Menu, on phones and tablets */
.menu {
  position: fixed;
  inset: 0;
  z-index: 55;
  display: none;
  flex-direction: column;
  padding: calc(var(--header-h) + 4vh) var(--gutter) max(28px, env(safe-area-inset-bottom));
  background: var(--night);
  color: var(--on-night);
  clip-path: inset(0 0 100% 0);
  transition: clip-path .8s var(--ease-veil);
  overflow-y: auto;
}
.menu.is-open { clip-path: inset(0); }
.menu-nav { display: flex; flex-direction: column; gap: 2px; }
.menu-nav a { font: 400 clamp(40px, 11vw, 64px)/1.12 var(--serif); letter-spacing: -.02em; text-decoration: none; opacity: 0; transform: translateY(30px); transition: opacity .6s, transform .9s var(--ease-out); }
.menu.is-open .menu-nav a { opacity: 1; transform: none; }
.menu.is-open .menu-nav a:nth-child(2) { transition-delay: .05s; }
.menu.is-open .menu-nav a:nth-child(3) { transition-delay: .1s; }
.menu.is-open .menu-nav a:nth-child(4) { transition-delay: .15s; }
.menu.is-open .menu-nav a:nth-child(5) { transition-delay: .2s; }
.menu-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: auto; padding-top: 40px; }
.menu-legal { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 24px; font-size: var(--t-small); color: var(--on-night-muted); }
.menu-legal a { text-decoration: none; }
body.menu-open .site-header { color: var(--on-night); }
body.menu-open .site-header::before { opacity: 0; }
body.menu-open .brand { color: var(--on-night); }

/* The veil between pages, and the first visit's preloader. */
.veil {
  position: fixed;
  inset: 0;
  z-index: 150;
  display: grid;
  place-items: center;
  background: radial-gradient(70vw 60vh at 50% 40%, #fbeeee, var(--pearl) 70%);
  pointer-events: none;
  clip-path: inset(100% 0 0 0);
}
.veil-mark { width: 54px; opacity: 0; transform: translateY(10px); transition: opacity .4s, transform .6s var(--ease-out); }
html.veil-on .veil { clip-path: inset(0); pointer-events: auto; }
html.veil-on .veil-mark { opacity: 1; transform: none; }
.veil.is-covering { clip-path: inset(0); pointer-events: auto; transition: clip-path .7s var(--ease-veil); }
.veil.is-covering .veil-mark { opacity: 1; transform: none; transition-delay: .25s; }
.veil.is-lifting { clip-path: inset(0 0 100% 0); transition: clip-path .9s var(--ease-veil); }
.veil.is-lifting .veil-mark { opacity: 0; transform: translateY(-12px); transition-duration: .3s; }

.preloader {
  position: fixed;
  inset: 0;
  z-index: 160;
  display: none;
  place-items: center;
  background: radial-gradient(70vw 60vh at 50% 42%, #fbeeee, var(--pearl) 70%);
  clip-path: inset(0);
}
/* Only a tab's first visit opens on it; the rules below stay above this one only by their order. */
html.js:not(.is-return) body[data-page='home'] .preloader { display: grid; }
.preloader-inner { display: grid; justify-items: center; gap: 18px; }
.preloader-mark { width: 74px; display: block; clip-path: inset(0 100% 0 0); }
.preloader-word { display: flex; overflow: hidden; font: 400 54px/1.05 var(--serif); letter-spacing: -.03em; color: var(--plum); padding-bottom: .08em; }
.preloader-word span { display: block; transform: translateY(110%); }
.preloader-progress { position: absolute; left: 50%; bottom: max(48px, 8vh); width: min(220px, 50vw); height: 1px; background: var(--line); transform: translateX(-50%); overflow: hidden; }
.preloader-progress span { position: absolute; inset: 0; background: var(--plum); transform: scaleX(0); transform-origin: left; }
.preloader.is-playing .preloader-mark { clip-path: inset(0); transition: clip-path 1.1s var(--ease-in-out); }
.preloader.is-playing .preloader-word span { transform: none; transition: transform 1s var(--ease-out); }
.preloader.is-playing .preloader-word span:nth-child(2) { transition-delay: .05s; }
.preloader.is-playing .preloader-word span:nth-child(3) { transition-delay: .1s; }
.preloader.is-playing .preloader-word span:nth-child(4) { transition-delay: .15s; }
.preloader.is-playing .preloader-word span:nth-child(5) { transition-delay: .2s; }
.preloader.is-playing .preloader-word span:nth-child(6) { transition-delay: .25s; }
.preloader.is-playing .preloader-word span:nth-child(7) { transition-delay: .3s; }
.preloader.is-playing .preloader-progress span { transform: scaleX(1); transition: transform 1.6s var(--ease-in-out); }
.preloader.is-leaving { clip-path: inset(0 0 100% 0); transition: clip-path 1.1s var(--ease-veil); }
.preloader.is-leaving .preloader-inner { transform: translateY(-8vh); opacity: 0; transition: transform 1.1s var(--ease-veil), opacity .6s; }

/* Hero: the couple's lake through an arched window that opens onto the page. */
.hero { position: relative; height: 320vh; }
.hero-stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.hero-window {
  position: absolute;
  z-index: 1;
  inset: 0 0 auto;
  height: 100vh;
  height: 100lvh;
  overflow: hidden;
  background: var(--vellum);
  clip-path: inset(18% 34% 18% 34% round 200px 200px 0 0);
}
.hero-photo { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; transform-origin: 50% 50%; will-change: transform; }
.hero-photo-soft { opacity: 0; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgb(47 20 36 / .38), rgb(47 20 36 / .58) 55%, rgb(47 20 36 / .7)); opacity: 0; }
.hero-pearl { position: absolute; inset: 0; background: var(--pearl); opacity: 0; }
/* The blossoms grow from behind the arch, like flowers on a wedding arch; hero.js places them by the window. */
.hero-flower { position: absolute; z-index: 0; pointer-events: none; width: clamp(180px, 22vw, 360px); will-change: transform; }
.hero-flower-top { right: -4vw; top: calc(var(--header-h) - 3vh); }
.hero-flower-bottom { left: -5vw; bottom: -8vh; width: clamp(200px, 25vw, 400px); }
.hero-content { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.hero-content a { pointer-events: auto; }
.hero-title { font: 300 var(--t-hero)/.9 var(--serif); letter-spacing: -.04em; color: var(--plum); }
.hero-line { display: block; overflow: hidden; padding: .02em .04em .12em; margin: -.02em -.04em -.12em; }
.hero-line-inner { display: block; will-change: transform; }
.hero-frame { display: block; }
.hero-foot { pointer-events: none; }
.hero-lede { max-width: 31ch; font-size: clamp(15.5px, 1.15vw, 18px); line-height: 1.6; color: var(--ink); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 22px; }
.hero-actions .link { font-weight: 600; font-size: 15px; color: var(--plum); }
.hero-cue { position: absolute; left: 50%; bottom: 22px; z-index: 3; width: 1px; height: 56px; background: var(--line); overflow: hidden; transform: translateX(-50%); }
.hero-cue::after { content: ''; position: absolute; left: 0; top: 0; width: 1px; height: 40%; background: var(--plum); transform: translateY(-100%); animation: cue 2.4s var(--ease-in-out) infinite; }
@keyframes cue { to { transform: translateY(250%); } }
.hero-cue.is-still::after { animation-play-state: paused; }
.manifesto { position: absolute; inset: 0; z-index: 4; display: grid; place-items: center; padding: var(--header-h) var(--gutter) 0; pointer-events: none; }
html.motion .manifesto { opacity: 0; }
/* What moves on scroll gets its own layer, so the graphics card moves it without repainting. */
html.motion .hero-line, html.motion .hero-foot, html.motion .manifesto { will-change: transform, opacity; }
html.motion .hero-shade, html.motion .hero-pearl, html.motion .hero-cue { will-change: opacity; }
.manifesto-text { max-width: 25ch; font: 400 clamp(30px, 3.9vw, 64px)/1.14 var(--serif); letter-spacing: -.02em; color: var(--on-night); text-align: center; text-wrap: balance; text-shadow: 0 2px 30px rgb(47 20 36 / .35); }
.manifesto-text .word { opacity: .22; }

@media (min-width: 900px) {
  .hero-frame { position: absolute; left: 50%; top: 53%; width: min(29vw, 440px, calc((100svh - 300px) / 1.4)); aspect-ratio: 1 / 1.4; transform: translate(-50%, -50%); }
  .hero-line-first { position: absolute; left: var(--gutter); top: calc(53% - min(29vw, 440px, calc((100svh - 300px) / 1.4)) * .7 - .5em); }
  .hero-line-second { position: absolute; right: var(--gutter); top: calc(53% + min(29vw, 440px, calc((100svh - 300px) / 1.4)) * .7 - .62em); text-align: right; }
  .hero-foot { position: absolute; left: var(--gutter); bottom: max(5vh, 36px); }
}
@media (max-width: 899px) {
  .hero { height: 280vh; }
  .hero-content { display: flex; flex-direction: column; padding: calc(var(--header-h) + 2svh) var(--gutter) max(24px, calc(env(safe-area-inset-bottom) + 16px)); }
  .hero-title { flex: 1; display: flex; flex-direction: column; justify-content: center; font-size: clamp(46px, min(13.4vw, 8.6svh), 96px); }
  .hero-line-second { align-self: flex-end; text-align: right; }
  .hero-frame { align-self: center; width: min(70vw, 400px, calc((100svh - 350px) / 1.36)); aspect-ratio: 1 / 1.36; margin: -.32em 0 -.28em; }
  .hero-lede { font-size: 15px; max-width: 36ch; }
  .hero-actions { margin-top: 16px; gap: 12px 22px; }
  .hero-cue { display: none; }
  .hero-flower-top { width: clamp(150px, 38vw, 260px); right: -14vw; top: calc(var(--header-h) + 6svh); }
  .hero-flower-bottom { width: clamp(150px, 38vw, 260px); left: -17vw; top: 40svh; bottom: auto; }
}
@media (max-width: 899px) and (max-height: 600px) { .hero-lede { display: none; } .hero-frame { width: min(70vw, 400px, calc((100svh - 270px) / 1.36)); } }

/* The journey: what the app does, in the order a wedding needs it. */
.journey { position: relative; padding: clamp(110px, 18vh, 200px) 0 clamp(80px, 12vh, 140px); }
.journey-head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: 28px; align-items: end; }
.journey-head .display { grid-column: 1 / span 8; max-width: 13ch; }
.journey-intro { grid-column: 9 / span 4; max-width: 38ch; color: var(--muted); padding-bottom: .6em; }
.journey-body { position: relative; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; margin-top: clamp(40px, 8vh, 96px); }
.journey-steps { grid-column: 1 / span 5; position: relative; }
.journey-steps::before { content: ''; position: absolute; left: 7px; top: 0; bottom: 0; width: 1px; background: var(--line); }
/* The plum thread is its own element over the steps; journey.js only scales it. */
.journey-progress { position: absolute; z-index: 1; grid-column: 1 / span 5; grid-row: 1; left: 7px; top: 0; bottom: 0; width: 1px; background: var(--plum); transform-origin: top; transform: scaleY(0); will-change: transform; pointer-events: none; }
.step { position: relative; display: flex; flex-direction: column; justify-content: center; min-height: 78vh; padding: 6vh 0 6vh 52px; }
.step::before { content: ''; position: absolute; left: 3px; top: calc(50% - 4px); width: 9px; height: 9px; border-radius: 50%; background: var(--pearl); border: 1px solid var(--line-strong); transition: background-color .5s, border-color .5s, transform .6s var(--ease-out); }
.step.is-active::before { background: var(--plum); border-color: var(--plum); transform: scale(1.25); }
.step-moment { font-size: var(--t-small); font-weight: 600; color: var(--rose); letter-spacing: .01em; filter: brightness(.82); }
.step-title { margin-top: 10px; font: 400 var(--t-title)/1.02 var(--serif); letter-spacing: -.02em; color: var(--plum); }
.step-text { margin-top: 18px; max-width: 40ch; }
.step-moment, .step-title, .step-text { transition: opacity .6s; }
.journey.is-sticky .step:not(.is-active) .step-moment,
.journey.is-sticky .step:not(.is-active) .step-title,
.journey.is-sticky .step:not(.is-active) .step-text { opacity: .28; }
.journey-stage { display: none; }
.together { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; margin-top: clamp(60px, 10vh, 120px); padding-top: 40px; border-top: 1px solid var(--line); }
.together-title { grid-column: 1 / span 6; font: 400 var(--t-title)/1.04 var(--serif); letter-spacing: -.02em; color: var(--plum); }
.together-text { grid-column: 8 / span 5; max-width: 40ch; align-self: end; }

/* The arched window the vignettes float in. */
.stage-arch, .step-visual {
  position: relative;
  overflow: hidden;
  border-radius: 999px 999px 26px 26px;
  background:
    linear-gradient(180deg, rgb(250 248 245 / .18), rgb(250 248 245 / .58)),
    url('/assets/img/lakeside-veil.webp') center / cover;
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / .5);
}
.stage-arch { container-type: inline-size; position: absolute; inset: 0; border-radius: 50cqw 50cqw 26px 26px; }
@supports not (width: 1cqw) { .stage-arch { border-radius: 999px 999px 26px 26px; } }
.step-visual { container-type: inline-size; margin-top: 32px; height: clamp(500px, 150vw, 640px); border-radius: 50cqw 50cqw 24px 24px; }

@media (min-width: 900px) {
  .journey.is-sticky .step-visual { display: none; }
  .journey.is-sticky .journey-stage { display: block; grid-column: 7 / span 6; grid-row: 1; position: sticky; top: calc(var(--header-h) + 5vh); height: calc(100vh - var(--header-h) - 10vh); max-height: 760px; align-self: start; }
  .journey-stage .vignette { position: absolute; inset: 0; opacity: 0; transform: translateY(26px) scale(.985); transition: opacity .8s var(--ease-out), transform 1.1s var(--ease-out); }
  .journey-stage .vignette.is-active { opacity: 1; transform: none; }
}
@media (max-width: 899px) {
  .journey-head .display, .journey-intro { grid-column: 1 / -1; }
  .journey-steps, .journey-progress { grid-column: 1 / -1; }
  .step { min-height: 0; padding: 48px 0 48px 40px; }
  .step::before { top: 58px; }
  .together-title, .together-text { grid-column: 1 / -1; }
  .together-text { margin-top: 16px; }
}

/* Vignettes: the app's own screens, drawn small. */
.journey.is-away .vignette *, .journey.is-away .vignette *::before, .journey.is-away .vignette *::after { animation-play-state: paused; }
.vignette { position: absolute; inset: 0; display: grid; place-items: center; padding: 22% 9% 9%; font-size: 13px; line-height: 1.4; color: var(--ink); }
.pane {
  width: min(100%, 360px);
  padding: 20px;
  border-radius: 22px;
  background: rgb(255 253 252 / .82);
  -webkit-backdrop-filter: blur(16px) saturate(1.15);
  backdrop-filter: blur(16px) saturate(1.15);
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / .8), 0 30px 60px -34px rgb(82 40 62 / .45);
}
.pane-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.pane-title { font: 500 25px/1.1 var(--serif); color: var(--plum); }
.pane-meta { font-size: 12px; color: var(--muted); }
.pane-search { margin-top: 14px; padding: 10px 14px; border-radius: 999px; background: var(--pearl); box-shadow: inset 0 0 0 1px var(--line); color: var(--muted); font-size: 12.5px; }
.pane-chips { display: flex; gap: 6px; margin-top: 12px; flex-wrap: wrap; }
.chip { padding: 5px 11px; border-radius: 999px; font-size: 11.5px; color: var(--plum); box-shadow: inset 0 0 0 1px var(--line); }
.chip.is-on { background: var(--blush); box-shadow: none; }
.guest-list { margin-top: 10px; }
.guest-list li { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--line); }
.guest-list li:last-child { border-bottom: 0; }
.avatar { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--vellum); color: var(--plum); font-size: 11px; font-weight: 700; letter-spacing: .02em; }
.guest { display: flex; flex-direction: column; min-width: 0; }
.guest b { font-weight: 600; font-size: 13px; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.guest small { font-size: 11.5px; color: var(--muted); }
.status { display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 600; white-space: nowrap; }
.status::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.status.is-yes { color: var(--yes); }
.status.is-wait { color: var(--wait); }
.status.is-fresh { color: var(--plum); }
.vignette-guests .guest-list li { opacity: 0; transform: translateY(10px); }
.vignette-guests.is-active .guest-list li { opacity: 1; transform: none; transition: opacity .6s, transform .8s var(--ease-out); }
.vignette-guests.is-active .guest-list li:nth-child(2){ transition-delay: .08s; }
.vignette-guests.is-active .guest-list li:nth-child(3){ transition-delay: .16s; }
.vignette-guests.is-active .guest-list li:nth-child(4){ transition-delay: .24s; }
.vignette-guests.is-active .guest-list li:nth-child(5){ transition-delay: .9s; }
.vignette-guests .is-new { position: relative; }
.vignette-guests.is-active .is-new::after{ content: ''; position: absolute; inset: 2px -10px; z-index: -1; border-radius: 14px; background: var(--blush); opacity: 0; animation: glow 2.4s 1.2s var(--ease-out) forwards; }
@keyframes glow { 20% { opacity: .9; } to { opacity: .45; } }

/* The invitation, sliding out of its envelope. */
.vignette-invite { align-content: center; gap: 22px; }
.envelope { position: relative; width: min(100%, 300px); aspect-ratio: 1.42; margin-top: 18%; perspective: 900px; }
.envelope-back, .envelope-front, .envelope-flap { position: absolute; inset: 0; border-radius: 6px; }
.envelope-back { background: linear-gradient(180deg, #e6cfc9, #f0e1da); box-shadow: 0 26px 46px -24px rgb(82 40 62 / .55); }
.envelope-card { position: absolute; left: 6%; right: 6%; top: 6%; height: 92%; z-index: 2; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; padding: 12px; border-radius: 3px; background: linear-gradient(180deg, #fffdfc, var(--pearl)); box-shadow: 0 1px 2px rgb(40 20 30 / .12), inset 0 0 0 6px var(--pearl), inset 0 0 0 7px rgb(82 40 62 / .2); text-align: center; color: var(--plum); transform: translateY(0); }
.card-kicker { font-size: 9.5px; letter-spacing: .04em; color: var(--muted); }
.card-names { font: 500 30px/1 var(--serif); letter-spacing: -.02em; margin-top: 4px; }
.card-date { font: 500 14px/1.2 var(--serif); }
.card-place { font-size: 10px; color: var(--muted); }
.card-button { margin-top: 8px; padding: 6px 14px; border-radius: 999px; background: var(--plum); color: #fff; font-size: 10px; font-weight: 600; }
.envelope-front { z-index: 3; background:
  linear-gradient(32deg, #ecd8d1 49.6%, transparent 50%) left bottom / 50.5% 100% no-repeat,
  linear-gradient(-32deg, #ecd8d1 49.6%, transparent 50%) right bottom / 50.5% 100% no-repeat,
  linear-gradient(0deg, #e9d3cb 34%, transparent 34.2%); filter: drop-shadow(0 -1px 0 rgb(255 255 255 / .6)); }
.envelope-flap { z-index: 4; height: 62%; border-radius: 6px 6px 0 0; background: linear-gradient(180deg, #ead4cc, #e2c8bf); clip-path: polygon(0 0, 100% 0, 50% 100%); transform-origin: 50% 0; transform: rotateX(0deg); backface-visibility: hidden; }
.envelope-seal { position: absolute; left: 50%; top: 56%; z-index: 5; width: 34px; height: 34px; margin: -17px 0 0 -17px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #8a4a69, var(--plum) 60%, #3c1b2d); box-shadow: 0 3px 8px rgb(60 20 40 / .4), inset 0 0 0 3px rgb(255 255 255 / .08); }
.bubble { justify-self: start; max-width: 230px; padding: 11px 15px; border-radius: 18px 18px 18px 6px; background: rgb(255 253 252 / .9); box-shadow: 0 16px 30px -20px rgb(82 40 62 / .5); font-size: 12.5px; opacity: 0; transform: translateY(10px); }
.vignette-invite.is-active .envelope-flap{ transform: rotateX(180deg); transition: transform 1.1s .3s var(--ease-in-out); }
.vignette-invite.is-active .envelope-seal{ opacity: 0; transform: scale(.6); transition: opacity .4s .1s, transform .5s .1s; }
.vignette-invite.is-active .envelope-card{ z-index: 4; transform: translateY(-58%); transition: transform 1.3s 1.05s var(--ease-out), z-index 0s 1.05s; }
.vignette-invite.is-active .bubble{ opacity: 1; transform: none; transition: opacity .6s 1.9s, transform .8s 1.9s var(--ease-out); }

/* Replies waiting for approval, approved one after another. */
.vignette-replies { align-content: center; justify-items: center; gap: 16px; }
.queue-title { font: 500 24px/1.1 var(--serif); color: var(--plum); }
.reply-stack { position: relative; width: min(100%, 300px); height: 212px; }
.reply { position: absolute; inset: 0; display: flex; flex-direction: column; gap: 3px; padding: 18px 20px; border-radius: 20px; background: rgb(255 253 252 / .94); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .8), 0 24px 44px -28px rgb(82 40 62 / .55); }
.reply:nth-child(1) { z-index: 3; }
.reply:nth-child(2) { z-index: 2; transform: translateY(14px) scale(.95); opacity: .7; }
.reply:nth-child(3) { z-index: 1; transform: translateY(28px) scale(.9); opacity: .4; }
.reply-name { font: 500 23px/1.1 var(--serif); color: var(--plum); }
.reply-answer { font-weight: 600; color: var(--yes); margin-top: 2px; }
.reply-detail { color: var(--muted); font-size: 12.5px; }
.reply-buttons { display: flex; gap: 8px; margin-top: auto; }
.reply-buttons span { flex: 1; padding: 8px; border-radius: 999px; text-align: center; font-size: 12px; font-weight: 600; }
.reply-no { color: var(--plum); box-shadow: inset 0 0 0 1px var(--line-strong); }
.reply-yes { color: #fff; background: var(--plum); }
.vignette-replies.is-active .reply:nth-child(1){ animation: reply-first 9s 1s var(--ease-in-out) infinite; }
.vignette-replies.is-active .reply:nth-child(2){ animation: reply-second 9s 1s var(--ease-in-out) infinite; }
.vignette-replies.is-active .reply:nth-child(3){ animation: reply-third 9s 1s var(--ease-in-out) infinite; }
@keyframes reply-first {
  0%, 14% { transform: none; opacity: 1; }
  24%, 92% { transform: translateX(120%) rotate(9deg); opacity: 0; }
  93% { transform: translateY(28px) scale(.9); opacity: 0; }
  100% { transform: none; opacity: 1; }
}
@keyframes reply-second {
  0%, 16% { transform: translateY(14px) scale(.95); opacity: .7; }
  24%, 44% { transform: none; opacity: 1; }
  54%, 92% { transform: translateX(120%) rotate(9deg); opacity: 0; }
  93% { transform: translateY(28px) scale(.9); opacity: 0; }
  100% { transform: translateY(14px) scale(.95); opacity: .7; }
}
@keyframes reply-third {
  0%, 16% { transform: translateY(28px) scale(.9); opacity: .4; }
  24%, 46% { transform: translateY(14px) scale(.95); opacity: .7; }
  54%, 74% { transform: none; opacity: 1; }
  84%, 92% { transform: translateX(120%) rotate(9deg); opacity: 0; }
  93% { transform: translateY(28px) scale(.9); opacity: 0; }
  100% { transform: translateY(28px) scale(.9); opacity: .4; }
}

/* A table filling up. */
.vignette-table { grid-template-columns: minmax(0, 1fr); align-content: center; justify-items: center; gap: 12px; }
.pane-table { display: grid; justify-items: center; gap: 4px; width: min(100%, 300px); }
.mini-table { width: 100%; max-width: 220px; }
.mini-top { fill: var(--paper); stroke: var(--line-strong); stroke-width: 2; }
.mini-chair circle { fill: var(--pearl); stroke: var(--line-strong); stroke-width: 2; transition: fill .5s, stroke .5s; }
.mini-chair text { font: 700 24px var(--sans); fill: #fff; text-anchor: middle; opacity: 0; transition: opacity .4s; }
.mini-chair:not(.is-open) circle { fill: var(--pearl); }
.vignette-table.is-active .mini-chair:not(.is-open) circle{ fill: var(--plum); stroke: var(--plum); }
.vignette-table.is-active .mini-chair:not(.is-open) text{ opacity: 1; }
.vignette-table .mini-chair:nth-child(3) * { transition-delay: .25s; }
.vignette-table .mini-chair:nth-child(4) * { transition-delay: .5s; }
.vignette-table .mini-chair:nth-child(5) * { transition-delay: .75s; }
.vignette-table .mini-chair:nth-child(6) * { transition-delay: 1s; }
.vignette-table .mini-chair:nth-child(7) * { transition-delay: 1.25s; }
.pane-waiting { width: min(100%, 300px); padding: 14px 20px; }
.pane-waiting .pane-title { font-size: 19px; }
.pane-waiting ul { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.pane-waiting li { padding: 5px 11px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line); font-size: 12px; }

/* The day's program, with the evening's next moment. */
.program { position: relative; margin-top: 14px; }
.program::before { content: ''; position: absolute; left: 50px; top: 8px; bottom: 8px; width: 1px; background: var(--line-strong); }
.program li { position: relative; display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 22px; padding: 8px 0; }
.program li::before { content: ''; position: absolute; left: 47px; top: 15px; width: 7px; height: 7px; border-radius: 50%; background: var(--pearl); box-shadow: inset 0 0 0 1px var(--line-strong); }
.program time { font-size: 12px; font-weight: 600; font-variant-numeric: tabular-nums; color: var(--muted); }
.program span { font: 500 19px/1.15 var(--serif); color: var(--plum); }
.program small { display: block; font: 400 11.5px/1.4 var(--sans); color: var(--muted); }
/* The ring around the next moment breathes by scaling and fading, which the graphics card does on its own. */
.program .is-now { isolation: isolate; }
.program .is-now::before { background: var(--plum); box-shadow: none; }
.program .is-now::after { content: ''; position: absolute; z-index: -1; left: 42px; top: 10px; width: 17px; height: 17px; border-radius: 50%; background: rgb(82 40 62 / .14); }
.vignette-day.is-active .is-now::after { animation: now 2.2s var(--ease-in-out) infinite; }
@keyframes now { 50% { transform: scale(1.4706); opacity: .357; } }

/* The budget ring. */
.budget-ring { position: relative; width: 168px; margin: 0 auto; }
.budget-ring svg { transform: rotate(-90deg); }
.budget-ring circle { fill: none; stroke-width: 10; }
.ring-track { stroke: var(--vellum); }
.ring-paid { stroke: var(--plum); stroke-dasharray: 0 100; stroke-linecap: round; }
.ring-due { stroke: #a4778c; stroke-dasharray: 0 100; stroke-linecap: round; }
.vignette-budget.is-active .ring-paid{ stroke-dasharray: 43 57; transition: stroke-dasharray 1.6s .2s var(--ease-out); }
.vignette-budget.is-active .ring-due{ stroke-dasharray: 64 36; transition: stroke-dasharray 1.6s .45s var(--ease-out); }
.ring-label { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.ring-label b { font: 500 25px/1 var(--serif); color: var(--plum); }
.ring-label small { font-size: 11px; color: var(--muted); margin-top: 4px; }
.budget-list { margin-top: 14px; }
.budget-list li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-top: 1px solid var(--line); }
.budget-list li span:first-child { font-weight: 600; }
.budget-list li span:last-child { color: var(--muted); }

/* The story: a hall drawn by its venue, then seated and planned. */
.story { position: relative; height: 440vh; background: var(--vellum); }
.story::before { content: ''; position: absolute; inset: 0 0 auto; height: 40vh; background: linear-gradient(var(--pearl), var(--vellum)); }
.story-stage { position: sticky; top: 0; height: 100vh; height: 100svh; display: grid; grid-template-columns: minmax(0, 4.3fr) minmax(0, 7.7fr); column-gap: clamp(24px, 4vw, 72px); align-items: center; padding: calc(var(--header-h) + 3vh) var(--gutter) 5vh; max-width: var(--max); margin-inline: auto; }
.story-title { max-width: 11ch; }
.story-captions { position: relative; margin-top: clamp(24px, 5vh, 48px); min-height: 8.5em; max-width: 34ch; }
.story-caption { position: absolute; inset: 0 0 auto; font-size: var(--t-lead); line-height: 1.5; color: var(--ink); opacity: 0; transform: translateY(16px); transition: opacity .6s, transform .8s var(--ease-out); }
.story-caption.is-active { opacity: 1; transform: none; }
.story-steps { display: flex; gap: 8px; margin-top: 18px; }
.story-steps span { width: 32px; height: 2px; border-radius: 2px; background: var(--line); overflow: hidden; position: relative; }
.story-steps span::after { content: ''; position: absolute; inset: 0; background: var(--plum); transform: scaleX(var(--fill, 0)); transform-origin: left; }
.story-board { position: relative; display: flex; flex-direction: column; justify-content: center; height: 100%; min-height: 0; }
.story-plan { position: relative; width: min(100%, calc(min(64vh, 620px) * var(--ratio, 2))); aspect-ratio: var(--ratio, 2); margin-left: auto; }
.story-plan .plan { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.story-pin { position: absolute; z-index: 1; display: flex; align-items: center; gap: 8px; transform: translate(-15px, -50%); opacity: 0; pointer-events: none; will-change: transform, opacity; }
.story-pin.is-left { flex-direction: row-reverse; transform: translate(calc(-100% + 15px), -50%); }
.story-pin-dot { flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--plum); color: #fff; box-shadow: 0 0 0 3px var(--paper), 0 8px 18px -8px rgb(82 40 62 / .7); }
.story-pin-dot svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.story-pin-label { display: flex; flex-direction: column; padding: 6px 12px 7px; border-radius: 12px; background: rgb(255 253 252 / .94); box-shadow: 0 10px 24px -16px rgb(82 40 62 / .6), inset 0 0 0 1px rgb(82 40 62 / .08); white-space: nowrap; font-size: 12px; font-weight: 600; line-height: 1.3; color: var(--ink); }
.story-pin-label b { font: 600 18px/1.1 var(--serif); color: var(--plum); font-variant-numeric: lining-nums; }
.story-count { order: -1; align-self: flex-end; margin-bottom: 18px; padding: 9px 16px; border-radius: 999px; background: rgb(255 253 252 / .82); box-shadow: 0 10px 30px -20px rgb(82 40 62 / .5), inset 0 0 0 1px rgb(255 255 255 / .8); font-size: 13px; color: var(--muted); opacity: 0; transform: translateY(8px); transition: opacity .5s, transform .6s var(--ease-out); }
.story-count b { color: var(--plum); font-variant-numeric: tabular-nums; }
.story-count.is-visible { opacity: 1; transform: none; }
.story-note { align-self: flex-end; margin-top: 18px; font-size: 12.5px; color: var(--muted); }
@media (max-width: 899px) {
  .story { height: 380vh; }
  .story-stage { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr) auto; align-items: start; row-gap: 12px; padding-top: calc(var(--header-h) + 2svh); padding-bottom: max(20px, env(safe-area-inset-bottom)); }
  .story-copy { display: contents; }
  .story-title { grid-row: 1; font-size: clamp(36px, 10vw, 60px); max-width: 14ch; }
  .story-board { grid-row: 2; height: 100%; overflow: hidden; }
  /* Phones see the hall closer up, the view travelling across it with the story. */
  .story-plan { --zoom: 1.25; width: calc(100% * var(--zoom)); margin: 0; will-change: transform; }
  .story-captions { grid-row: 3; margin-top: 0; min-height: 6.6em; font-size: 16px; }
  .story-caption { font-size: 16.5px; }
  .story-steps { display: none; }
  .story-note { display: none; }
  .story-count { position: absolute; left: 0; bottom: 6px; margin: 0; }
}

/* Floor plans, here and in the venue showcase. */
.plan text { font-family: var(--sans); fill: var(--plum); }
.plan-room { fill: var(--paper); stroke: rgb(82 40 62 / .42); stroke-width: calc(1.6px * var(--u, 8)); }
.plan-feature { fill: rgb(82 40 62 / .06); stroke: rgb(82 40 62 / .26); stroke-width: 1px; vector-effect: non-scaling-stroke; }
.plan-feature-danceFloor { fill: rgb(197 121 125 / .14); stroke: rgb(197 121 125 / .5); }
.plan-door-gap { stroke: var(--paper); stroke-width: 4px; vector-effect: non-scaling-stroke; }
.plan-door-swing { fill: none; stroke: rgb(82 40 62 / .4); stroke-width: 1px; vector-effect: non-scaling-stroke; }
.plan-table-top { fill: var(--pearl); stroke: rgb(82 40 62 / .32); stroke-width: 1.2px; vector-effect: non-scaling-stroke; }
.plan-table-sweetheart .plan-table-top { fill: var(--blush); stroke: var(--rose); }
.plan-heart { fill: none; stroke: var(--rose); stroke-width: 1.2px; vector-effect: non-scaling-stroke; }
.plan-chair { fill: var(--paper); stroke: rgb(82 40 62 / .28); stroke-width: 1px; vector-effect: non-scaling-stroke; transition: fill .35s, stroke .35s; }
.plan-chair.is-taken { fill: var(--plum); stroke: var(--plum); }
.plan-table-sweetheart .plan-chair.is-taken { fill: var(--rose); stroke: var(--rose); }
.plan-room-label { font-weight: 600; }
.plan-feature-label { font-weight: 500; opacity: .8; }

/* How to start: the venue code. */
.code { position: relative; z-index: 2; margin-top: -1px; padding: clamp(110px, 17vh, 190px) 0; background: var(--night); color: var(--on-night); border-radius: 36px 36px 0 0; overflow: hidden; }
.code::before { content: ''; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(60vw 50vh at 85% 30%, rgb(197 121 125 / .18), transparent 70%), radial-gradient(50vw 40vh at 0% 100%, rgb(197 121 125 / .1), transparent 70%); }
.code-grid { position: relative; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: center; }
.code-copy { grid-column: 1 / span 7; }
.code .display { color: var(--on-night); max-width: 15ch; }
.code-lede { margin-top: 28px; max-width: 46ch; font-size: var(--t-lead); line-height: 1.55; color: var(--on-night-muted); }
.code-steps { margin-top: 52px; counter-reset: step; border-top: 1px solid var(--on-night-line); }
.code-steps li { position: relative; display: grid; grid-template-columns: 64px minmax(0, 1fr); column-gap: 16px; padding: 24px 0; border-bottom: 1px solid var(--on-night-line); counter-increment: step; }
.code-steps li::before { content: counter(step); grid-row: span 2; font: 300 44px/1 var(--serif); font-variant-numeric: lining-nums; color: var(--rose); }
.code-steps h3 { font: 500 26px/1.15 var(--serif); color: var(--on-night); }
.code-steps p { margin-top: 6px; max-width: 52ch; color: var(--on-night-muted); }
.code-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 32px; margin-top: 44px; }
.code-actions .link { font-weight: 600; font-size: 15px; }
.code-visual { grid-column: 9 / span 4; position: sticky; top: calc(var(--header-h) + 12vh); align-self: start; display: grid; place-items: center; min-height: 460px; perspective: 1100px; }
.place-card { position: relative; width: min(100%, 330px); aspect-ratio: 1.12; transform-style: preserve-3d; transform: rotateX(var(--tilt-x, 14deg)) rotateY(var(--tilt-y, -18deg)) rotateZ(2deg); transition: transform 1.2s var(--ease-out); }
.place-card-front, .place-card-back { position: absolute; inset: 0; border-radius: 6px; transform-origin: 50% 0; }
.place-card-back { background: linear-gradient(180deg, #e9dcd8, #d9c6c1); transform: translateZ(-1px) rotateX(-26deg); }
.place-card-front { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding: 22px; background: linear-gradient(180deg, #fffdfc, #f6efeb); color: var(--plum); text-align: center; transform: rotateX(18deg); box-shadow: inset 0 0 0 8px #fffdfc, inset 0 0 0 9px rgb(82 40 62 / .16); }
.place-card-mark { width: 38px; margin-bottom: 6px; }
.place-card-label { font-size: 12.5px; font-weight: 600; color: var(--muted); }
.place-card-code { display: flex; align-items: center; gap: 12px; font: 500 46px/1 var(--serif); letter-spacing: .02em; }
.code-dots { display: inline-flex; gap: 7px; }
.code-dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--plum); opacity: .16; transform: scale(.7); transition: opacity .4s, transform .5s var(--ease-out); }
.code-visual.is-in .code-dots i { opacity: 1; transform: none; }
.code-visual.is-in .code-dots i:nth-child(2) { transition-delay: .18s; }
.code-visual.is-in .code-dots i:nth-child(3) { transition-delay: .36s; }
.code-visual.is-in .code-dots i:nth-child(4) { transition-delay: .54s; }
.code-visual.is-in .code-dots i:nth-child(5) { transition-delay: .72s; }
.code-visual.is-in .code-dots i:nth-child(6) { transition-delay: .9s; }
.place-card-from { font: 500 17px/1.2 var(--serif); color: var(--muted); }
.place-card-shadow { position: absolute; left: 50%; bottom: 13%; width: 70%; height: 30px; border-radius: 50%; background: radial-gradient(closest-side, rgb(0 0 0 / .45), transparent); transform: translateX(-50%); filter: blur(6px); }
@media (max-width: 899px) {
  .code { border-radius: 28px 28px 0 0; }
  .code-copy, .code-visual { grid-column: 1 / -1; }
  .code-visual { position: relative; top: auto; min-height: 0; padding: 56px 0 24px; grid-row: 2; }
  .place-card { width: min(78%, 300px); }
  .code-steps li { grid-template-columns: 44px minmax(0, 1fr); }
  .code-steps li::before { font-size: 36px; }
}

/* Partner venues: on the home page a row for each, opening its page. */
.venues { position: relative; padding: clamp(110px, 17vh, 190px) 0 clamp(60px, 10vh, 120px); }
.venues-head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: 24px; align-items: end; }
.venues-head .display { grid-column: 1 / span 7; }
.venues-intro { grid-column: 9 / span 4; max-width: 40ch; color: var(--muted); padding-bottom: .6em; }
.venues-summary { font: 500 23px/1.3 var(--serif); color: var(--plum); margin-bottom: 10px; }
.venue-rows { margin-top: clamp(48px, 9vh, 110px); }
.venue-row { position: relative; display: grid; grid-template-columns: clamp(132px, 15vw, 220px) minmax(0, 1fr) auto; align-items: center; column-gap: clamp(20px, 3.2vw, 56px); padding: clamp(18px, 3vh, 28px) 0; border-top: 1px solid var(--line-strong); }
.venue-row:last-child { border-bottom: 1px solid var(--line-strong); }
.venue-row-photo { display: block; overflow: hidden; border-radius: 4px; aspect-ratio: 4 / 3; background: var(--vellum); }
.venue-row-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.venue-row-name { font: 400 clamp(40px, 5.4vw, 92px)/1 var(--serif); letter-spacing: -.03em; color: var(--plum); }
.venue-row-label { display: inline-block; transition: transform .8s var(--ease-out); }
.venue-row-name a { color: inherit; text-decoration: none; }
/* The name is the link, and it covers the whole row. */
.venue-row-name a::after { content: ''; position: absolute; inset: 0; z-index: 1; }
.venue-row-name a:focus-visible { outline: none; }
.venue-row:has(a:focus-visible) { outline: 2px solid var(--plum); outline-offset: 6px; border-radius: 6px; }
.venue-row-sample { display: inline-block; margin-left: 16px; padding: 4px 12px; border-radius: 999px; background: var(--blush); color: var(--plum); font: 600 12px/1.4 var(--sans); letter-spacing: 0; vertical-align: middle; }
.venue-row-arrow { position: relative; width: clamp(44px, 4vw, 60px); aspect-ratio: 1; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--line-strong); color: var(--plum); transition: background-color .5s var(--ease-out), box-shadow .5s, color .5s; }
.venue-row-arrow::before { content: ''; position: absolute; left: 30%; right: 30%; top: 50%; height: 1.5px; margin-top: -.75px; background: currentColor; }
.venue-row-arrow::after { content: ''; position: absolute; right: calc(30% + 2px); top: 50%; width: 9px; height: 9px; margin-top: -4.5px; border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor; transform: rotate(45deg); }
@media (hover: hover) {
  .venue-row:hover .venue-row-photo img { transform: scale(1.06); }
  .venue-row:hover .venue-row-label { transform: translateX(12px); }
  .venue-row:hover .venue-row-arrow { background: var(--plum); color: var(--pearl); box-shadow: none; }
}
/* Until the first partner venue: where they will appear, between the list's lines. */
.venues-empty { margin-top: clamp(48px, 9vh, 110px); }
.page-intro + .venues-empty { margin-top: 0; }
.venues-empty-body { padding: clamp(30px, 5.5vh, 56px) 0; border-top: 1px solid var(--line-strong); border-bottom: 1px solid var(--line-strong); }
.venues-empty-title { font: 400 clamp(32px, 4vw, 64px)/1.02 var(--serif); letter-spacing: -.025em; color: var(--plum); text-wrap: balance; }
.venues-empty-text { margin-top: 16px; color: var(--muted); }
.venues-empty-text .link { font-weight: 600; color: var(--plum); }

/* A venue's photo and details, on its own page. */
.venue { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: 40px; align-items: end; }
.venue-photo { grid-column: 1 / span 7; position: relative; overflow: hidden; border-radius: 4px; aspect-ratio: 5 / 4; background: var(--vellum); }
.venue-photo-frame { position: absolute; left: 0; top: -8%; width: 100%; height: 116%; will-change: transform; }
.venue-photo-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.venue-photo-soft { opacity: 0; }
.venue-body { grid-column: 9 / span 4; padding-bottom: 6px; }
.venue-description { margin-top: 22px; max-width: 38ch; }
.venue-facts { margin-top: 26px; border-top: 1px solid var(--line); }
.venue-facts > div { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.venue-facts dt { font-size: var(--t-small); color: var(--muted); }
.venue-facts dd { font-weight: 500; }
@keyframes draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@media (max-width: 899px) {
  .venues-head .display, .venues-intro { grid-column: 1 / -1; }
  .venue-photo { grid-column: 1 / -1; grid-row: 1; aspect-ratio: 1; }
  .venue-body { grid-column: 1 / -1; grid-row: 2; }
}
@media (max-width: 640px) {
  .venue-row { grid-template-columns: 96px minmax(0, 1fr) auto; column-gap: 16px; }
  .venue-row-name { font-size: clamp(28px, 8vw, 40px); }
  .venue-row-sample { display: block; width: max-content; margin: 8px 0 0; }
}

.partner { margin-top: clamp(100px, 16vh, 180px); }
.partner-inner { position: relative; overflow: hidden; display: grid; justify-items: start; gap: 22px; padding: clamp(40px, 7vw, 96px); border-radius: var(--radius); background: linear-gradient(120deg, rgb(243 220 221 / .7), rgb(244 238 235 / .8)); }
.partner-title { font: 400 var(--t-title)/1.02 var(--serif); letter-spacing: -.02em; color: var(--plum); max-width: 16ch; }
.partner-text { max-width: 52ch; }
.partner-flower { position: absolute; right: -40px; top: -60px; width: clamp(180px, 22vw, 320px); pointer-events: none; opacity: .9; }
@media (max-width: 899px) { .partner-flower { width: 160px; right: -60px; top: -40px; opacity: .55; } }

/* Two doors in: a new wedding or an existing one. */
.doors { padding: clamp(60px, 10vh, 120px) 0; }
.doors-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 32px); }
.door { container-type: inline-size; position: relative; display: flex; min-height: clamp(420px, 60vh, 620px); border-radius: 50cqw 50cqw 24px 24px; box-shadow: inset 0 0 0 1px var(--line-strong); overflow: hidden; }
.door-dark { background: var(--night); color: var(--on-night); box-shadow: none; }
.door-dark::before { content: ''; position: absolute; inset: 0; background: radial-gradient(80% 60% at 50% 10%, rgb(197 121 125 / .28), transparent 70%); }
.door-body { position: relative; align-self: flex-end; display: grid; justify-items: start; gap: 16px; padding: clamp(28px, 4vw, 56px); }
.door-title { font: 400 var(--t-title)/1.02 var(--serif); letter-spacing: -.02em; color: var(--plum); max-width: 12ch; }
.door-dark .door-title { color: var(--on-night); }
.door p { max-width: 34ch; }
.door-dark p { color: var(--on-night-muted); }
@media (max-width: 760px) { .doors-grid { grid-template-columns: minmax(0, 1fr); } .door { min-height: 440px; } }

/* Questions */
.faq { padding: clamp(80px, 14vh, 160px) 0 clamp(100px, 16vh, 180px); }
.faq-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: 40px; }
.faq-grid .display { grid-column: 1 / span 4; }
.faq-list { grid-column: 6 / span 7; border-top: 1px solid var(--line-strong); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-question { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 26px 0; border: 0; background: none; text-align: left; font: 500 clamp(23px, 2vw, 30px)/1.2 var(--serif); color: var(--plum); }
.faq-icon { position: relative; flex: none; width: 28px; height: 28px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--line-strong); }
.faq-icon::before, .faq-icon::after { content: ''; position: absolute; left: 50%; top: 50%; width: 10px; height: 1.5px; margin: -.75px 0 0 -5px; background: var(--plum); transition: transform .5s var(--ease-out); }
.faq-icon::after { transform: rotate(90deg); }
.faq-item.is-open .faq-icon::after { transform: rotate(0deg); }
.faq-answer { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .6s var(--ease-out); }
html.no-js .faq-answer, .faq-item.is-open .faq-answer { grid-template-rows: 1fr; }
.faq-answer-inner { min-height: 0; overflow: hidden; }
.faq-answer p { max-width: 58ch; padding: 0 0 28px; }
html.no-js .faq-icon { display: none; }
@media (max-width: 899px) { .faq-grid .display, .faq-list { grid-column: 1 / -1; } }

/* Footer */
.site-footer { position: relative; overflow: hidden; padding-top: clamp(80px, 12vh, 140px); border-top: 1px solid var(--line); }
.footer-top { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: 48px; }
.footer-line { grid-column: 1 / span 5; font: 400 var(--t-title)/1.02 var(--serif); letter-spacing: -.02em; color: var(--plum); }
.footer-columns { grid-column: 6 / span 7; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
.footer-heading { font-size: var(--t-small); font-weight: 600; color: var(--muted); }
.footer-column ul { margin-top: 12px; display: grid; gap: 4px; }
.footer-column a { display: inline-flex; min-height: 32px; align-items: center; text-decoration: none; font-size: 15px; transition: color .3s; }
@media (hover: hover) { .footer-column a:hover { color: var(--plum); } }
.footer-word { margin: clamp(40px, 8vh, 100px) 0 0; font: 300 clamp(96px, 25.5vw, 400px)/.78 var(--serif); letter-spacing: -.055em; text-align: center; color: var(--plum); white-space: nowrap; transform: translateY(8%); }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; padding-top: 22px; padding-bottom: max(26px, env(safe-area-inset-bottom)); border-top: 1px solid var(--line); font-size: var(--t-small); color: var(--muted); position: relative; background: var(--pearl); }
.footer-bottom a { text-decoration: none; }
@media (max-width: 1100px) { .footer-line, .footer-columns { grid-column: 1 / -1; } }
@media (max-width: 640px) { .footer-columns { grid-template-columns: repeat(2, minmax(0, 1fr)); } .footer-bottom { flex-direction: column; } }

/* Contact */
.page-intro { position: relative; overflow: clip; padding-top: calc(var(--header-h) + clamp(60px, 12vh, 140px)); padding-bottom: clamp(40px, 8vh, 90px); }
.page-title { font: 300 clamp(64px, 11vw, 190px)/.88 var(--serif); letter-spacing: -.045em; color: var(--plum); }
.page-title-long { font-size: clamp(48px, 7.4vw, 124px); line-height: .94; letter-spacing: -.035em; max-width: 12ch; }
.page-lede { margin-top: 28px; max-width: 46ch; font-size: var(--t-lead); line-height: 1.55; color: var(--ink); }
.page-flower { position: absolute; right: -3vw; top: calc(var(--header-h) - 2vh); width: clamp(180px, 24vw, 380px); pointer-events: none; }
.contact-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: 56px; padding-bottom: clamp(100px, 16vh, 180px); }
.contact-form { grid-column: 1 / span 7; }
.contact-aside { grid-column: 9 / span 4; display: grid; gap: 48px; align-content: start; }
.form-row { margin-top: 30px; }
.form-row:first-child { margin-top: 0; }
.form-label, .form-legend { display: block; margin-bottom: 12px; font: 500 25px/1.2 var(--serif); color: var(--plum); }
.form-legend { padding: 0; }
.form-hint { display: block; margin: -6px 0 12px; font-size: var(--t-small); color: var(--muted); }
fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
.choices { display: flex; flex-wrap: wrap; gap: 10px; }
.choice { position: relative; }
.choice input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.choice span { display: inline-flex; align-items: center; min-height: 48px; padding: 0 22px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line-strong); font-weight: 600; font-size: 15px; color: var(--plum); transition: background-color .3s, color .3s, box-shadow .3s; }
.choice input:checked + span { background: var(--plum); color: #fff; box-shadow: none; }
.choice input:focus-visible + span { outline: 2px solid var(--plum); outline-offset: 3px; }
.field { width: 100%; min-height: 54px; padding: 15px 18px; border: 0; border-radius: 16px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line-strong); font-size: 16px; color: var(--ink); transition: box-shadow .3s; }
.field::placeholder { color: var(--muted); opacity: .8; }
.field:focus { outline: none; box-shadow: inset 0 0 0 2px var(--plum); }
textarea.field { min-height: 180px; resize: vertical; line-height: 1.55; }
.field[aria-invalid='true'] { box-shadow: inset 0 0 0 2px #a32c49; }
.form-error { margin-top: 10px; font-size: var(--t-small); font-weight: 600; color: #a32c49; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 24px; margin-top: 36px; }
.form-note { max-width: 40ch; font-size: var(--t-small); color: var(--muted); }
.form-status { margin-top: 16px; max-width: 52ch; font-size: var(--t-small); font-weight: 600; color: var(--plum); }
.form-status:empty { display: none; }
.form-trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-sent { align-self: start; padding-top: 22px; border-top: 1px solid var(--line-strong); }
.form-sent:focus { outline: none; }
.form-sent-title { font: 500 clamp(32px, 3vw, 44px)/1.1 var(--serif); color: var(--plum); }
.form-sent p { margin-top: 14px; max-width: 46ch; }
.form-again { margin-top: 22px; border: 0; padding: 0 0 2px; font-weight: 600; font-size: 15px; color: var(--plum); background-color: transparent; }
.contact-card { padding-top: 22px; border-top: 1px solid var(--line-strong); }
.contact-card h2 { font: 500 30px/1.1 var(--serif); color: var(--plum); }
.contact-email { display: inline-block; margin-top: 12px; font: 400 clamp(26px, 2.4vw, 36px)/1.1 var(--serif); color: var(--plum); text-decoration: none; overflow-wrap: anywhere; }
.copy-button { margin-top: 16px; }
.copy-status { margin-top: 10px; min-height: 1.4em; font-size: var(--t-small); color: var(--muted); }
.benefits { margin-top: 16px; display: grid; gap: 14px; }
.benefits li { position: relative; padding-left: 22px; }
.benefits li::before { content: ''; position: absolute; left: 0; top: .62em; width: 9px; height: 9px; border-radius: 50%; border: 1px solid var(--rose); }
@media (max-width: 899px) { .contact-form, .contact-aside { grid-column: 1 / -1; } .page-flower { width: 170px; right: -50px; opacity: .7; } }

/* Partner venues: /locatii/ and each venue's page */
.crumbs { margin-bottom: clamp(28px, 5vh, 52px); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 4px 10px; font-size: var(--t-small); font-weight: 600; color: var(--muted); }
.crumbs li + li::before { content: '/'; margin-right: 10px; color: var(--line-strong); }
.crumbs a { color: var(--muted); text-decoration: none; transition: color .3s; }
@media (hover: hover) { .crumbs a:hover { color: var(--plum); } }
.crumbs [aria-current='page'] { color: var(--plum); }
.venue-intro .page-lede { max-width: 50ch; }
.venue-intro-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 32px; margin-top: 40px; }
.venue-intro-actions .link { font-weight: 600; font-size: 15px; color: var(--plum); }
.venue-overview { padding-bottom: clamp(90px, 14vh, 160px); }
.venue-overview-title { font: 500 30px/1.1 var(--serif); color: var(--plum); }
.venue-overview .venue-description { margin-top: 16px; }
.venue-facts dd .link { font-weight: 600; color: var(--plum); }
.venue-spaces { padding-bottom: clamp(110px, 17vh, 190px); }
.venue-spaces-head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: 24px; align-items: end; margin-bottom: clamp(40px, 8vh, 90px); }
.venue-spaces-head .display { grid-column: 1 / span 6; }
.venue-spaces-intro { grid-column: 8 / span 5; max-width: 46ch; color: var(--muted); padding-bottom: .6em; }
.space { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: 28px; padding: clamp(36px, 6vh, 64px) 0; border-top: 1px solid var(--line-strong); scroll-margin-top: var(--header-h); }
.space-copy { grid-column: 1 / span 4; }
.space-name { font: 400 clamp(36px, 4vw, 64px)/1 var(--serif); letter-spacing: -.025em; color: var(--plum); }
.space-capacity { margin-top: 14px; font-weight: 600; color: var(--muted); }
.space-facts { margin-top: 18px; max-width: 34ch; color: var(--muted); }
.space-plan { grid-column: 5 / -1; }
.space-plan .plan { width: 100%; height: auto; max-height: 72vh; margin-inline: auto; }
/* Each plan draws its walls in once it is in view, then its tables appear. */
html.motion .space-plan .plan-room { stroke-dasharray: 1; stroke-dashoffset: 1; }
html.motion .space.is-drawn .plan-room { animation: draw 1.6s var(--ease-in-out) both; }
html.motion .space-plan :is(.plan-tables, .plan-labels) { opacity: 0; transition: opacity .9s var(--ease-out) .8s; }
html.motion .space.is-drawn :is(.plan-tables, .plan-labels) { opacity: 1; }
.venue-start .code-actions { margin-top: 44px; }
.venue-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 440px), 1fr)); gap: clamp(40px, 5vw, 72px) clamp(24px, 3vw, 48px); padding-bottom: clamp(20px, 4vh, 40px); }
.venue-card { position: relative; }
.venue-card-photo { display: block; overflow: hidden; border-radius: 4px; aspect-ratio: 4 / 3; background: var(--vellum); }
.venue-card-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease-out); }
@media (hover: hover) { .venue-card:hover .venue-card-photo img { transform: scale(1.035); } }
.venue-card-name { margin-top: 24px; font: 400 clamp(34px, 3.4vw, 54px)/1 var(--serif); letter-spacing: -.025em; color: var(--plum); }
.venue-card-name a { color: inherit; text-decoration: none; }
/* The whole card opens the venue's page; the name is the link. */
.venue-card-name a::after { content: ''; position: absolute; inset: 0; z-index: 1; }
.venue-card-name a:focus-visible { outline: none; }
.venue-card:has(a:focus-visible) { outline: 2px solid var(--plum); outline-offset: 10px; border-radius: 6px; }
.venue-card-place { margin-top: 10px; font-weight: 600; color: var(--muted); }
.venue-card-facts { margin-top: 4px; }
.venue-others { padding-bottom: clamp(100px, 16vh, 180px); }
.venue-others-title { margin-bottom: clamp(28px, 5vh, 48px); padding-bottom: 14px; border-bottom: 1px solid var(--line-strong); font: 500 30px/1.1 var(--serif); color: var(--plum); }
.venue-cards + .partner, main > .venues-empty + .partner { margin-top: clamp(80px, 12vh, 140px); margin-bottom: clamp(100px, 16vh, 180px); }
@media (max-width: 899px) {
  .venue-spaces-head .display, .venue-spaces-intro, .space-copy, .space-plan { grid-column: 1 / -1; }
  .space-facts { max-width: none; }
}

/* Legal pages */
.legal-meta { margin-top: 24px; color: var(--muted); font-weight: 600; font-size: var(--t-small); }
.legal-notice { margin-top: 26px; max-width: 64ch; padding: 18px 22px; border-radius: 16px; background: rgb(243 220 221 / .55); font-size: 15px; }
.legal-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; padding-bottom: clamp(100px, 16vh, 180px); }
.legal-toc { grid-column: 1 / span 3; position: sticky; top: calc(var(--header-h) + 24px); align-self: start; max-height: calc(100vh - var(--header-h) - 48px); overflow-y: auto; }
.legal-toc p { font-size: var(--t-small); font-weight: 600; color: var(--muted); }
.legal-toc ol { margin-top: 12px; counter-reset: toc; }
.legal-toc li { counter-increment: toc; }
.legal-toc a { display: grid; grid-template-columns: 24px minmax(0, 1fr); padding: 7px 0; font-size: 14px; line-height: 1.4; text-decoration: none; color: var(--muted); transition: color .3s; }
.legal-toc a::before { content: counter(toc); color: var(--rose); font-weight: 600; }
.legal-toc a[aria-current='true'] { color: var(--plum); font-weight: 600; }
.legal-body { grid-column: 5 / span 7; max-width: 68ch; }
.legal-section + .legal-section { margin-top: 56px; }
.legal-section h2 { font: 500 clamp(30px, 2.8vw, 42px)/1.08 var(--serif); letter-spacing: -.015em; color: var(--plum); scroll-margin-top: calc(var(--header-h) + 24px); }
.legal-section p { margin-top: 16px; font-size: 16.5px; line-height: 1.72; }
.legal-section a, .legal-contact a { color: var(--plum); font-weight: 600; }
.legal-contact { margin-top: 72px; padding-top: 26px; border-top: 1px solid var(--line-strong); }
.legal-contact h2 { font: 500 30px/1.1 var(--serif); color: var(--plum); }
.legal-contact p { margin-top: 10px; }
@media (max-width: 899px) { .legal-toc { display: none; } .legal-body { grid-column: 1 / -1; } }

/* Not found */
.lost { min-height: 100vh; min-height: 100svh; display: grid; align-content: center; padding: calc(var(--header-h) + 40px) var(--gutter) 60px; max-width: var(--max); margin-inline: auto; }
.lost .page-lede { margin-bottom: 36px; }

/* Entrances. Hidden only once main.js has started, so a failed script never hides the page. */
html.motion [data-reveal='lines'] .word { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .1em; margin-bottom: -.1em; }
html.motion [data-reveal='lines'] .word > span { display: inline-block; transform: translateY(105%); transition: transform 1.15s var(--ease-veil); transition-delay: calc(var(--line, 0) * 90ms + var(--delay, 0ms)); }
html.motion [data-reveal='lines'].is-in .word > span { transform: none; }
html.motion [data-reveal='fade'] { opacity: 0; transform: translateY(22px); transition: opacity 1s var(--ease-out), transform 1.2s var(--ease-out); transition-delay: var(--delay, 0ms); }
html.motion [data-reveal='fade'].is-in { opacity: 1; transform: none; }
/* A photo is unveiled by a pearl curtain lifting off it (a clipped element would never count as on screen). */
html.motion [data-reveal='veil']::after { content: ''; position: absolute; inset: -1px; z-index: 1; background: var(--pearl); transform-origin: 50% 0; transition: transform 1.5s var(--ease-veil); }
html.motion [data-reveal='veil'] .venue-photo-frame { scale: 1.14; transition: scale 1.8s var(--ease-veil); }
/* The photo comes into focus as its blurred copy fades: no blur is animated. */
html.motion [data-reveal='veil'] .venue-photo-soft { opacity: 1; transition: opacity 1.2s var(--ease-out); }
html.motion [data-reveal='veil'].is-in::after { transform: scaleY(0); }
html.motion [data-reveal='veil'].is-in .venue-photo-frame { scale: 1; }
html.motion [data-reveal='veil'].is-in .venue-photo-soft { opacity: 0; }
html.motion .hero-line-inner { transform: translateY(108%); }
html.motion .hero.is-in .hero-line-inner { transform: none; transition: transform 1.4s var(--ease-veil); }
html.motion .hero.is-in .hero-line-second .hero-line-inner { transition-delay: .14s; }
html.motion .hero-lede, html.motion .hero-actions { opacity: 0; transform: translateY(16px); }
html.motion .hero.is-in .hero-lede, html.motion .hero.is-in .hero-actions { opacity: 1; transform: none; transition: opacity 1s .55s, transform 1.2s .55s var(--ease-out); }
html.motion .hero.is-in .hero-actions { transition-delay: .7s; }
html.motion .hero-flower { opacity: 0; }
html.motion .hero.is-in .hero-flower { opacity: 1; transition: opacity 1.6s .4s; }

/* Reduced motion, or no JavaScript: no smooth scrolling, nothing pinned or scrubbed, final states shown. */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
}
html:not(.motion) .hero, html:not(.motion) .story { height: auto; }
html:not(.motion) .hero-stage { position: relative; height: auto; }
html:not(.motion) .hero-window, html:not(.motion) .hero-content { bottom: auto; height: 100vh; height: 100svh; }
html:not(.motion) .manifesto { position: relative; margin-top: 100vh; margin-top: 100svh; opacity: 1; padding: 12vh var(--gutter); background: var(--night); }
html:not(.motion) .manifesto-text .word { opacity: 1; }
html:not(.motion) .hero-cue { display: none; }
html:not(.motion) .story-stage { position: relative; height: auto; min-height: 100svh; }
html:not(.motion) .story-captions { position: static; min-height: 0; display: grid; gap: 14px; }
html:not(.motion) .story-caption { position: static; opacity: 1; transform: none; }
html:not(.motion) .story-count { display: none; }

@media (max-width: 1100px) {
  .site-nav { gap: 22px; }
}
@media (max-width: 980px) {
  :root { --header-h: 64px; }
  .site-nav, .header-login { display: none; }
  .brand-name { font-size: 27px; }
  .brand-mark { width: 26px; }
  .menu { display: flex; visibility: hidden; transition: clip-path .8s var(--ease-veil), visibility 0s .8s; }
  .menu.is-open { visibility: visible; transition: clip-path .8s var(--ease-veil), visibility 0s; }
  .menu-button { position: relative; display: inline-flex; align-items: center; gap: 12px; margin-left: auto; min-height: 44px; padding: 0 4px; border: 0; background: none; color: inherit; font-size: 14px; font-weight: 600; }
  .menu-button-lines { position: relative; width: 22px; height: 8px; }
  .menu-button-lines::before, .menu-button-lines::after { content: ''; position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor; transition: transform .6s var(--ease-out), top .6s var(--ease-out); }
  .menu-button-lines::before { top: 0; }
  .menu-button-lines::after { top: 6.5px; }
  .menu-button[aria-expanded='true'] .menu-button-lines::before { top: 3.25px; transform: rotate(45deg); }
  .menu-button[aria-expanded='true'] .menu-button-lines::after { top: 3.25px; transform: rotate(-45deg); }
  html.no-js .site-nav { display: flex; gap: 14px; }
  html.no-js .menu-button { display: none; }
}
@media (max-width: 600px) {
  :root { --t-body: 16px; }
  .story-plan { --zoom: 1.65; }
  .journey-head .display, .venues-head .display { font-size: clamp(42px, 12vw, 64px); }
}
