/* Breez site. "Air": the reading comes to you.
   Tokens come from @wisp/tokens (Paper, Paper Night, dawn mist). One coral.
   Motion is transform and opacity only, and all of it stands still under
   prefers-reduced-motion. Dyslexia-first type: no italics, no all caps,
   sentence case, generous leading, left-aligned text. */

@font-face { font-family: 'Atkinson'; src: url('../fonts/atkinson-400.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Atkinson'; src: url('../fonts/atkinson-700.woff2') format('woff2'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'Literata'; src: url('../fonts/literata-400.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'OpenDyslexic'; src: url('../fonts/opendyslexic-400.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Lexend'; src: url('../fonts/lexend-400.woff2') format('woff2'); font-weight: 400; font-display: swap; }

:root {
  color-scheme: light dark;
  --paper: #f4efe6;
  --surface: #fbf8f2;
  --raised: #fffdf9;
  --ink: #2a2a28;
  --dim: #5f5b55;
  --faint: #8a857c;
  --coral: #da6f50;
  --coral-soft: #e98a6b;
  --coral-ink: #98543f;
  --line: rgba(42, 42, 40, 0.1);
  --line-strong: rgba(42, 42, 40, 0.18);
  --shadow: 0 1px 2px rgba(60, 40, 20, 0.05), 0 12px 40px -12px rgba(90, 60, 30, 0.18);
  --shadow-lg: 0 2px 4px rgba(60, 40, 20, 0.05), 0 40px 90px -30px rgba(90, 60, 30, 0.3);
  --rose: rgba(239, 185, 166, 0.55);
  --peach: rgba(244, 204, 158, 0.55);
  --lilac: rgba(217, 207, 240, 0.7);
  --sky: rgba(197, 220, 236, 0.7);
  --wash-rose: #f2d6cb;
  --wash-peach: #f6e2c8;
  --wash-lilac: #dcd7ee;
  --wash-sky: #d3e3ee;
  --night-bg: #1c1a17;
  --night-ink: #dcd8d0;
  --night-anchor: #e07a5a;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-io: cubic-bezier(0.4, 0, 0.2, 1);
  --display: 'Atkinson', 'Atkinson Hyperlegible', ui-sans-serif, system-ui, -apple-system, sans-serif;
  --serif: 'Literata', ui-serif, Georgia, serif;
  --gutter: clamp(20px, 5vw, 64px);
  --max: 1180px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #1c1a17;
    --surface: #24221e;
    --raised: #2a2824;
    --ink: #dcd8d0;
    --dim: #b0aa9f;
    --faint: #948e84;
    --coral: #e07a5a;
    --coral-soft: #ec9577;
    --coral-ink: #df9c84;
    --line: rgba(220, 216, 208, 0.1);
    --line-strong: rgba(220, 216, 208, 0.18);
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 12px 40px -12px rgba(0, 0, 0, 0.5);
    --shadow-lg: 0 2px 4px rgba(0, 0, 0, 0.3), 0 40px 90px -30px rgba(0, 0, 0, 0.7);
    --rose: rgba(232, 164, 143, 0.2);
    --peach: rgba(238, 187, 134, 0.16);
    --lilac: rgba(174, 160, 220, 0.22);
    --sky: rgba(147, 185, 217, 0.18);
    --wash-rose: #2e2522;
    --wash-peach: #2d2720;
    --wash-lilac: #26242d;
    --wash-sky: #212629;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 88px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 18px/1.6 var(--display);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-weight: 700; letter-spacing: -0.01em; text-wrap: balance; }
button, input { font: inherit; color: inherit; }
::selection { background: color-mix(in srgb, var(--coral) 28%, transparent); }
:focus-visible { outline: 2px solid var(--coral-ink); outline-offset: 3px; border-radius: 6px; }
.sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--ink); color: var(--paper); padding: 10px 16px; border-radius: 999px; text-decoration: none; }
.skip:focus { top: 16px; }

.wrap { width: 100%; max-width: calc(var(--max) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.serif { font-family: var(--serif); }
.dim { color: var(--dim); }

/* ---------- Atmosphere: a fixed sky of dawn mist that shifts as you read down ---------- */
.sky { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.sky .layer { position: absolute; inset: 0; opacity: 0; transition: opacity 1.6s var(--ease-io); }
.sky .layer.on { opacity: 1; }
.blob { position: absolute; width: 70vmax; height: 70vmax; border-radius: 50%; will-change: transform; }
.blob.rose { background: radial-gradient(closest-side, var(--rose), color-mix(in srgb, var(--rose) 50%, transparent) 45%, color-mix(in srgb, var(--rose) 16%, transparent) 75%, transparent); }
.blob.peach { background: radial-gradient(closest-side, var(--peach), color-mix(in srgb, var(--peach) 50%, transparent) 45%, color-mix(in srgb, var(--peach) 16%, transparent) 75%, transparent); }
.blob.lilac { background: radial-gradient(closest-side, var(--lilac), color-mix(in srgb, var(--lilac) 50%, transparent) 45%, color-mix(in srgb, var(--lilac) 16%, transparent) 75%, transparent); }
.blob.sky { background: radial-gradient(closest-side, var(--sky), color-mix(in srgb, var(--sky) 50%, transparent) 45%, color-mix(in srgb, var(--sky) 16%, transparent) 75%, transparent); }
.grain { position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: 0.07; mix-blend-mode: soft-light;
  background: url('../img/noise.png') 0 0 / 96px 96px repeat; }
@media (prefers-color-scheme: dark) { .grain { opacity: 0.09; } }

@media (prefers-reduced-motion: no-preference) {
  .drift-a { animation: drift-a 48s var(--ease-io) infinite alternate; }
  .drift-b { animation: drift-b 60s var(--ease-io) infinite alternate; }
  .drift-c { animation: drift-c 54s var(--ease-io) infinite alternate; }
}
@keyframes drift-a { from { transform: translate3d(-6vw, -4vh, 0) scale(1); } to { transform: translate3d(8vw, 6vh, 0) scale(1.12); } }
@keyframes drift-b { from { transform: translate3d(5vw, 3vh, 0) scale(1.08); } to { transform: translate3d(-7vw, -5vh, 0) scale(0.94); } }
@keyframes drift-c { from { transform: translate3d(0, 6vh, 0) scale(0.95); } to { transform: translate3d(-4vw, -6vh, 0) scale(1.1); } }

/* ---------- Nav ---------- */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 50; transition: background-color 0.4s var(--ease-io), box-shadow 0.4s var(--ease-io); }
.nav.scrolled { background: color-mix(in srgb, var(--paper) 78%, transparent); -webkit-backdrop-filter: saturate(1.4) blur(18px); backdrop-filter: saturate(1.4) blur(18px); box-shadow: 0 1px 0 var(--line); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; font-size: 25px; letter-spacing: -0.02em; line-height: 1; }
.brand svg { width: 38px; height: auto; color: var(--ink); }
.nav-links { display: flex; align-items: center; gap: 30px; list-style: none; margin: 0; padding: 0; }
.nav-links a { text-decoration: none; font-size: 16px; color: var(--dim); transition: color 0.2s; }
.nav-links a:hover { color: var(--ink); }
.nav-links a.btn { color: var(--paper); }
@media (max-width: 860px) { .nav-links li:not(.keep) { display: none; } }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px; border-radius: 999px; font-weight: 700; font-size: 17px; text-decoration: none; border: 0; cursor: pointer;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background-color 0.25s; }
.btn-pri { background: var(--ink); color: var(--paper); box-shadow: 0 10px 30px -12px rgba(42, 42, 40, 0.55); }
.btn-pri:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -14px rgba(42, 42, 40, 0.6); }
.btn-pri .tick { width: 3px; height: 14px; border-radius: 3px; background: var(--coral); }
.btn-sm { min-height: 42px; padding: 0 18px; font-size: 15px; }
.store { display: inline-flex; align-items: center; gap: 12px; min-height: 52px; padding: 0 22px 0 18px; border-radius: 999px; border: 1px solid var(--line-strong); color: var(--ink); background: color-mix(in srgb, var(--raised) 55%, transparent); text-align: left; }
.store svg { width: 22px; height: 22px; flex: none; }
.store small { display: block; font-size: 12px; line-height: 1.2; color: var(--dim); }
.store span { display: block; font-weight: 700; font-size: 16px; line-height: 1.2; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: center; }

/* ---------- Mark drawing itself ---------- */
.mark-draw .b1, .mark-draw .b2 { clip-path: inset(0 0 0 0); }
.mark-draw .tk { transform-box: fill-box; transform-origin: 50% 100%; }
@media (prefers-reduced-motion: no-preference) {
  .js .mark-draw .b1 { clip-path: inset(0 100% 0 0); }
  .js .mark-draw .b2 { clip-path: inset(0 100% 0 0); opacity: 0; }
  .js .mark-draw .tk { opacity: 0; }
  .js .mark-draw.in .b1 { animation: draw 1.4s 0.15s var(--ease) both; }
  .js .mark-draw.in .b2 { animation: draw-mist 1.6s 0.45s var(--ease) both; }
  .js .mark-draw.in .tk { animation: tick 1s 1.1s var(--ease) both; }
}
@keyframes draw { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes draw-mist { from { clip-path: inset(0 100% 0 0); opacity: 0; } to { clip-path: inset(0 0 0 0); opacity: 0.62; } }
@keyframes tick { from { transform: translateY(-40%) scaleY(0.4); opacity: 0; } to { transform: none; opacity: 1; } }
.mark-draw { overflow: visible; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 104px 0 64px; }
.hero .mark-draw { width: clamp(76px, 9vw, 112px); color: var(--ink); margin: 0 auto 28px; }
.hero h1 { font-size: clamp(46px, 8.4vw, 116px); line-height: 1.04; letter-spacing: -0.035em; max-width: 12ch; margin: 0 auto; }
.hero h1 .w { display: inline-block; }
@media (prefers-reduced-motion: no-preference) {
  .js .hero h1 .w { animation: arrive 1.2s var(--ease) both; animation-delay: calc(0.35s + var(--i) * 0.09s); }
  .js .hero .lede, .js .hero .cta-row, .js .hero .stage-wrap { animation: rise 1.2s var(--ease) both; }
  .js .hero .lede { animation-delay: 0.85s; }
  .js .hero .cta-row { animation-delay: 1s; }
  .js .hero .stage-wrap { animation-delay: 1.15s; }
}
@keyframes arrive { from { opacity: 0; transform: translateY(0.35em); filter: blur(10px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
.hero .lede { font-family: var(--serif); font-size: clamp(19px, 2vw, 23px); line-height: 1.55; color: var(--dim); max-width: 34ch; margin: 26px auto 34px; }
.hero .avail { margin-top: 16px; font-size: 15px; color: var(--dim); }

/* ---------- The reader (live demo) ---------- */
.stage-wrap { width: 100%; max-width: 860px; margin: 48px auto 0; padding: 0 var(--gutter); }
.stage { position: relative; border-radius: 28px; background: color-mix(in srgb, var(--raised) 72%, transparent); box-shadow: var(--shadow-lg), inset 0 0 0 1px var(--line); overflow: hidden; }
.stage-screen { position: relative; height: clamp(190px, 26vw, 260px); cursor: pointer; }
.stage-screen:focus-visible { outline-offset: -4px; border-radius: 28px; }
.rsvp { position: absolute; inset: 0; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; font-size: clamp(38px, 6vw, 64px); line-height: 1; white-space: nowrap; transition: opacity 45ms linear; }
.rsvp .pre { text-align: right; overflow: hidden; overflow: clip visible; padding: 0.2em 0; min-width: 0; }
.rsvp .post { text-align: left; overflow: hidden; overflow: clip visible; padding: 0.2em 0; min-width: 0; }
.rsvp .a { color: var(--coral); }
.rsvp .ghost { opacity: 0.2; }
.rsvp .ghost.next { filter: blur(2.5px); opacity: 0.22; }
.rsvp.out { opacity: 0; }
.rsvp.out .ghost { opacity: 0; transition: none; }
.rsvp .ghost { transition: opacity 110ms linear; }
.rsvp.hide { opacity: 0; transition: none; }
.ticks { position: absolute; left: 50%; top: 50%; width: 2px; height: 1.9em; font-size: clamp(38px, 6vw, 64px); transform: translate(-50%, -50%); pointer-events: none; }
.ticks::before, .ticks::after { content: ''; position: absolute; left: 0; width: 2px; height: 0.26em; border-radius: 2px; background: var(--coral); opacity: 0.55; }
.ticks::before { top: -0.16em; }
.ticks::after { bottom: -0.16em; }
.stage-page { position: absolute; inset: 0; padding: clamp(22px, 3vw, 34px) clamp(22px, 4vw, 44px); overflow-y: auto; text-align: left; font-family: var(--serif); font-size: clamp(16px, 1.6vw, 19px); line-height: 1.85; color: var(--dim); opacity: 0; visibility: hidden; transition: opacity 0.4s var(--ease-io), visibility 0s 0.4s; }
.stage-page button { all: unset; cursor: pointer; border-radius: 4px; padding: 0 1px; }
.stage-page button:hover { color: var(--ink); }
.stage-page button:focus-visible { outline: 2px solid var(--coral-ink); }
.stage-page .cur { color: var(--ink); background: color-mix(in srgb, var(--coral) 22%, transparent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--coral) 22%, transparent); }
.stage.paused .stage-page { opacity: 1; visibility: visible; transition: opacity 0.5s var(--ease-io); }
.stage.paused .rsvp, .stage.paused .ticks { opacity: 0; }
.stage-bar { display: flex; align-items: center; gap: 14px; padding: 12px 14px 12px 12px; border-top: 1px solid var(--line); }
.play { width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--ink); color: var(--paper); display: grid; place-items: center; cursor: pointer; flex: none; transition: transform 0.3s var(--ease); }
.play:hover { transform: scale(1.06); }
.play svg { width: 18px; height: 18px; }
.play .i-play { margin-left: 3px; }
.stage:not(.stopped) .play .i-play, .stage.stopped .play .i-pause { display: none; }
.hint { font-size: 15px; color: var(--dim); text-align: left; flex: 1; min-width: 0; }
.pace { display: flex; gap: 4px; padding: 4px; border-radius: 999px; background: var(--line); border: 0; margin: 0; }
.pace legend { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.pace label { position: relative; }
.pace input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.pace span { display: block; padding: 7px 12px; border-radius: 999px; font-size: 14px; color: var(--dim); white-space: nowrap; transition: background-color 0.25s, color 0.25s; }
.pace input:checked + span { background: var(--raised); color: var(--ink); box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08); }
.pace input:focus-visible + span { outline: 2px solid var(--coral-ink); outline-offset: 1px; }
.progress { position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; background: var(--coral); opacity: 0.5; transform-origin: 0 50%; transform: scaleX(0); }
@media (max-width: 560px) {
  .stage-bar { flex-wrap: wrap; }
  .hint { flex-basis: calc(100% - 62px); }
  .pace { width: 100%; justify-content: space-between; }
  .pace label { flex: 1; text-align: center; }
}

/* ---------- Section scaffolding ---------- */
section { position: relative; }
.sec { padding: clamp(88px, 12vw, 160px) 0; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 16px; font-weight: 700; color: var(--coral-ink); margin-bottom: 20px; }
.eyebrow::before { content: ''; width: 3px; height: 16px; border-radius: 3px; background: var(--coral); }
.h2 { font-size: clamp(36px, 5.6vw, 72px); line-height: 1.08; letter-spacing: -0.03em; }
.h3 { font-size: clamp(24px, 2.4vw, 30px); line-height: 1.25; letter-spacing: -0.015em; }
.sub { font-family: var(--serif); font-size: clamp(18px, 1.8vw, 21px); line-height: 1.65; color: var(--dim); max-width: 40ch; margin-top: 22px; }
.center { text-align: center; }
.center .sub { margin-left: auto; margin-right: auto; }

.rv { opacity: 1; }
@media (prefers-reduced-motion: no-preference) {
  .js .rv { opacity: 0; transform: translateY(28px); filter: blur(6px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease), filter 0.9s var(--ease); transition-delay: calc(var(--d, 0) * 0.1s); }
  .js .rv.in { opacity: 1; transform: none; filter: none; }
  .js .rv.now { transition: none; }
}

/* ---------- Scene: the wall ---------- */
.wall { height: 360vh; }
.wall .pin { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: grid; place-items: center; }
.wall-page { position: absolute; inset: 50% auto auto 50%; width: min(1100px, calc(100vw - 28px)); transform: translate(-50%, -50%); font-family: var(--serif); font-size: clamp(13px, 1.55vw, 20px); line-height: 1.5; color: var(--ink); text-align: left; opacity: 0.9;
  -webkit-mask-image: radial-gradient(ellipse 72% 62% at 50% 50%, #000 58%, transparent 100%); mask-image: radial-gradient(ellipse 72% 62% at 50% 50%, #000 58%, transparent 100%); }
.wall-page p + p { margin-top: 0.6em; }
.wall-page .ww { display: inline-block; --k: clamp(0, (var(--p, 0) * 2.4 - var(--dl)) * 3.2, 1); opacity: calc(1 - var(--k)); transform: translate(calc(var(--dx) * var(--k) * 1px), calc(var(--dy) * var(--k) * 1px)) rotate(calc(var(--r) * var(--k) * 1deg)); }
.wall-page [data-keep] { opacity: calc(1 - clamp(0, (var(--p, 0) - 0.34) * 14, 1)); }
.kw { position: absolute; left: 0; right: 0; top: 50%; height: 0; pointer-events: none;
  --kk: clamp(0, (var(--p, 0) - 0.34) * 3.4, 1); --ke: calc(1 - (1 - var(--kk)) * (1 - var(--kk)) * (1 - var(--kk))); }
.kw .rsvp { position: absolute; left: 0; right: 0; top: -0.5em; height: 1em; font-size: clamp(44px, 7vw, 88px); transition: none;
  transform-origin: 50% 50%; opacity: clamp(0, (var(--p, 0) - 0.34) * 14, 1); transform: translate(calc(var(--kx) * (1 - var(--ke)) * 1px), calc(var(--ky) * (1 - var(--ke)) * 1px)) scale(calc(var(--ks) + (1 - var(--ks)) * var(--ke))); }
.kw .rsvp .a { color: color-mix(in srgb, var(--coral) calc(var(--kk) * 100%), var(--ink)); }
.kw .ticks { font-size: clamp(44px, 7vw, 88px); top: 0; opacity: clamp(0, (var(--p, 0) - 0.62) * 6, 1); }
.wall .cap { position: absolute; left: 0; right: 0; text-align: center; padding: 0 var(--gutter); pointer-events: none; }
.wall .cap h2 { font-size: clamp(34px, 5.4vw, 72px); line-height: 1.1; letter-spacing: -0.03em; }
.wall .cap p { font-family: var(--serif); color: var(--dim); font-size: clamp(19px, 2vw, 25px); line-height: 1.5; margin: 16px auto 0; max-width: 30ch; }
.wall .cap .big { font-family: var(--display); font-weight: 700; color: var(--ink); font-size: clamp(34px, 5.4vw, 72px); line-height: 1.1; letter-spacing: -0.03em; margin: 0; }
.wall .cap-a { top: 13vh; opacity: calc(1 - clamp(0, (var(--p, 0) - 0.2) * 6, 1)); }
.wall .cap-a h2 { padding: 0.7em 1.4em; display: inline-block; background: radial-gradient(closest-side, color-mix(in srgb, var(--paper) 94%, transparent) 55%, transparent); }
.wall .cap-b { top: 14vh; opacity: clamp(0, (var(--p, 0) - 0.5) * 6, 1); transform: translateY(calc((1 - clamp(0, (var(--p, 0) - 0.5) * 6, 1)) * 20px)); }
.wall .cap-c { bottom: 13vh; opacity: clamp(0, (var(--p, 0) - 0.72) * 6, 1); transform: translateY(calc((1 - clamp(0, (var(--p, 0) - 0.72) * 6, 1)) * 20px)); }

/* ---------- Statement: words light up as you scroll ---------- */
.lit { font-size: clamp(34px, 5.2vw, 70px); line-height: 1.18; letter-spacing: -0.03em; font-weight: 700; max-width: 18ch; margin: 0 auto; text-align: center; }
.lit .lw { opacity: calc(0.16 + 0.84 * clamp(0, var(--p, 1) * var(--n) * 1.25 - var(--i), 1)); }
.lit .a { color: var(--coral); }
.lit-scene { height: 190vh; }
.lit-scene .pin { position: sticky; top: 0; height: 100vh; height: 100svh; display: grid; place-items: center; padding: 0 var(--gutter); }
.lit-scene .by { font-family: var(--serif); color: var(--dim); font-size: clamp(18px, 1.8vw, 21px); text-align: center; max-width: 42ch; margin: 34px auto 0; opacity: clamp(0, (var(--p, 1) - 0.72) * 5, 1); }

/* ---------- Phone ---------- */
.phone { --bz: 3.4%; position: relative; width: 100%; max-width: 320px; padding: var(--bz); border-radius: 17.5% / 8.1%; background: #1e1d1b;
  box-shadow: inset 0 0 0 1px #4a4844, inset 0 0 0 2.5px #1e1d1b, inset 0 0 0 3.5px rgba(255, 255, 255, 0.07), 0 1px 1px rgba(0, 0, 0, 0.12), var(--shadow-lg); }
.phone::before, .phone::after { content: ''; position: absolute; width: 2px; border-radius: 2px; background: #3a3936; }
.phone::before { left: -2px; top: 20%; height: 7%; box-shadow: 0 calc(var(--pw, 300px) * 0.22) 0 #3a3936; }
.phone::after { right: -2px; top: 26%; height: 11%; }
.phone .scr { position: relative; width: 100%; aspect-ratio: 1320 / 2868; border-radius: 14.2% / 6.55%; overflow: hidden; background: #f4efe6; isolation: isolate; }
.phone .scr picture, .phone .scr img { position: absolute; inset: 0; width: 100%; height: 100%; }
.phone .scr img { object-fit: cover; }
.phone .scr::after { content: ''; position: absolute; z-index: 2; top: 1.45%; left: 50%; width: 28.6%; height: 3.85%; transform: translateX(-50%); border-radius: 999px; background: #0b0b0a; }
.phone .shot { opacity: 0; transition: opacity 0.9s var(--ease-io); }
.phone .shot.on { opacity: 1; }

/* ---------- How it works: sticky phone ---------- */
.how { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 7vw, 120px); align-items: start; }
.how-phone { position: sticky; top: calc(50vh - min(34vh, 330px)); display: grid; place-items: center; height: min(68vh, 660px); }
.how-phone .phone { width: calc(min(68vh, 660px) * 0.458); max-width: none; }
.steps { list-style: none; margin: 0; padding: 0; }
.step { min-height: 78vh; display: flex; flex-direction: column; justify-content: center; }
.step h3 { color: var(--dim); transition: color 0.7s var(--ease-io); }
.step.on h3 { color: var(--ink); }
.step .num { font-family: var(--serif); color: var(--coral-ink); font-size: 17px; margin-bottom: 14px; }
.step h3 { font-size: clamp(32px, 3.6vw, 50px); line-height: 1.1; letter-spacing: -0.03em; }
.step p { font-family: var(--serif); color: var(--dim); font-size: clamp(18px, 1.7vw, 21px); line-height: 1.65; margin-top: 18px; max-width: 34ch; }
.step .mobile-shot { display: none; }
.formats { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.formats li { list-style: none; font-size: 14px; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line-strong); color: var(--dim); }
.formats { padding: 0; }
@media (max-width: 860px) {
  .how { grid-template-columns: 1fr; }
  .how-phone { display: none; }
  .step { min-height: 0; padding: 36px 0 44px; }
  .step h3 { color: var(--ink); }
  .step .mobile-shot { display: block; margin: 34px auto 0; width: min(270px, 72vw); }
  .step .mobile-shot .shot { opacity: 1; }
}

/* ---------- First win ---------- */
.win { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.win-card { position: relative; border-radius: 36px; padding: clamp(36px, 6vw, 80px); background: var(--wash-peach); overflow: hidden; }
.win-card::before { content: ''; position: absolute; width: 120%; height: 120%; left: -40%; top: -50%; background: radial-gradient(closest-side, var(--rose), transparent); }
.win-card > * { position: relative; }
.win-quote { font-size: clamp(34px, 4.6vw, 62px); line-height: 1.12; letter-spacing: -0.03em; font-weight: 700; }
.win-quote .pg { color: var(--coral-ink); }
.win-meta { font-family: var(--serif); color: var(--dim); margin-top: 22px; font-size: 18px; }
.win .phone { margin: 0 auto; max-width: 300px; }
@media (max-width: 860px) { .win { grid-template-columns: 1fr; } }

/* ---------- Who it's for ---------- */
.for-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 64px; }
.for-card { position: relative; border-radius: 28px; padding: 34px 30px 36px; min-height: 340px; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; background: var(--surface); box-shadow: var(--shadow); transition: transform 0.6s var(--ease), box-shadow 0.6s var(--ease); }
.for-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.for-card .wash { position: absolute; inset: -30% -30% 40% -30%; border-radius: 50%; opacity: 0.95; }
.for-card:nth-child(1) .wash { background: radial-gradient(closest-side, var(--sky), transparent); }
.for-card:nth-child(2) .wash { background: radial-gradient(closest-side, var(--peach), transparent); }
.for-card:nth-child(3) .wash { background: radial-gradient(closest-side, var(--rose), transparent); }
.for-card .word { position: absolute; top: 30%; left: 0; right: 0; text-align: center; font-size: 40px; transform: translateY(-50%); }
.for-card .word .a { color: var(--coral); }
.for-card h3, .for-card p { position: relative; }
.for-card p { font-family: var(--serif); color: var(--dim); margin-top: 10px; font-size: 17px; line-height: 1.6; }
@media (max-width: 960px) { .for-grid { grid-template-columns: 1fr; } .for-card { min-height: 300px; } }

/* ---------- Fit your eyes ---------- */
.fit { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.spec { border-radius: 32px; background: var(--surface); box-shadow: var(--shadow-lg), inset 0 0 0 1px var(--line); overflow: hidden; }
.spec-word { height: 240px; position: relative; }
.spec-word .rsvp { font-size: clamp(44px, 5.6vw, 68px); transition: none; }
.spec[data-font='dyslexic'] .rsvp { font-family: 'OpenDyslexic', var(--display); font-size: clamp(34px, 4.4vw, 54px); }
.spec[data-font='lexend'] .rsvp { font-family: 'Lexend', var(--display); }
.spec[data-font='literata'] .rsvp { font-family: var(--serif); }
.spec[data-anchor='amber'] { --coral: #dd9b52; }
.spec[data-anchor='slate'] { --coral: #c77b6e; }
.spec-controls { border-top: 1px solid var(--line); padding: 20px 22px 24px; display: grid; gap: 18px; }
.chips { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; min-width: 0; }
.chips legend { font-size: 14px; color: var(--dim); margin-bottom: 10px; padding: 0; }
.chips label { position: relative; }
.chips input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chips span { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line-strong); font-size: 15px; transition: background-color 0.25s, border-color 0.25s, color 0.25s; }
.chips input:checked + span { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.chips input:focus-visible + span { outline: 2px solid var(--coral-ink); outline-offset: 2px; }
.chips .dot { width: 10px; height: 10px; border-radius: 50%; }
.feat-list { list-style: none; padding: 0; margin: 40px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 28px 32px; }
.feat-list h3 { font-size: 19px; line-height: 1.3; }
.feat-list p { font-family: var(--serif); color: var(--dim); font-size: 16px; line-height: 1.6; margin-top: 6px; }
@media (max-width: 960px) { .fit { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .feat-list { grid-template-columns: 1fr; } }

/* ---------- Browse + keep: split feature rows ---------- */
.duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.tile { position: relative; border-radius: 36px; overflow: hidden; background: var(--surface); box-shadow: var(--shadow); padding: clamp(32px, 4.5vw, 56px) clamp(28px, 4.5vw, 56px) 0; display: flex; flex-direction: column; min-height: 640px; }
.tile.lilac { background: var(--wash-lilac); }
.tile.sky { background: var(--wash-sky); }
.tile .h3 { font-size: clamp(28px, 3vw, 40px); line-height: 1.12; letter-spacing: -0.025em; }
.tile p { font-family: var(--serif); color: var(--dim); margin-top: 14px; max-width: 36ch; }
.tile .tag { display: inline-block; font-size: 13px; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: color-mix(in srgb, var(--ink) 8%, transparent); color: var(--dim); margin-bottom: 16px; align-self: flex-start; }
.tile .peek { margin-top: auto; padding-top: 40px; display: flex; justify-content: center; }
.tile .peek .phone { max-width: 290px; margin-bottom: -150px; }
@media (prefers-reduced-motion: no-preference) {
  .tile .peek .phone { transform: translateY(calc((1 - var(--p, 1)) * 60px)); }
}
.widget { position: absolute; right: clamp(16px, 4vw, 44px); bottom: 60px; width: min(260px, 62%); border-radius: 26px; padding: 18px 20px 20px; background: var(--raised); box-shadow: 0 0 0 1px var(--line), var(--shadow-lg); font-family: var(--serif); font-size: 15px; line-height: 1.55; }
.widget .mk { width: 22px; color: var(--ink); margin-bottom: 10px; }
.widget small { display: block; margin-top: 10px; font-family: var(--display); font-size: 12px; color: var(--dim); }
@media (max-width: 960px) { .duo { grid-template-columns: 1fr; } .tile { min-height: 600px; } }

/* ---------- Paper / Paper Night ---------- */
.nightday { margin-top: 56px; }
.nd { position: relative; border-radius: 36px; overflow: hidden; height: clamp(300px, 38vw, 460px); box-shadow: var(--shadow-lg); --split: 50%; user-select: none; }
.nd-side { position: absolute; inset: 0; display: grid; }
.nd-day { background: #f4efe6; color: #2a2a28; }
.nd-night { background: #1c1a17; color: #dcd8d0; clip-path: inset(0 0 0 var(--split)); }
.nd-side .rsvp { font-size: clamp(40px, 6vw, 76px); transition: none; }
.nd-day .rsvp .a { color: #d66b4c; }
.nd-night .rsvp .a { color: #e07a5a; }
.nd-side .ticks::before, .nd-side .ticks::after { background: currentColor; opacity: 0.3; }
.nd-label { position: absolute; bottom: 22px; font-size: 15px; font-weight: 700; }
.nd-day .nd-label { left: 26px; color: #5f5b55; }
.nd-night .nd-label { right: 26px; color: #b0aa9f; }
.nd-handle { position: absolute; top: 0; bottom: 0; left: var(--split); width: 2px; transform: translateX(-1px); background: linear-gradient(transparent, rgba(218, 111, 80, 0.8) 20%, rgba(218, 111, 80, 0.8) 80%, transparent); pointer-events: none; }
.nd-handle::after { content: ''; position: absolute; top: 50%; left: 50%; width: 44px; height: 44px; border-radius: 50%; transform: translate(-50%, -50%); background: #fbf8f2; box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25), inset 0 0 0 1px rgba(0, 0, 0, 0.06);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232a2a28' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 6l-5 6 5 6M15 6l5 6-5 6'/%3E%3C/svg%3E"); background-size: 20px; background-repeat: no-repeat; background-position: center; }
.nd { touch-action: pan-y; cursor: ew-resize; }
.nd input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; margin: 0; pointer-events: none; }
.nd:has(input:focus-visible) { outline: 2px solid var(--coral-ink); outline-offset: 4px; }

/* ---------- Pro ---------- */
.pro { border-radius: 44px; background: var(--surface); box-shadow: var(--shadow-lg), inset 0 0 0 1px var(--line); padding: clamp(40px, 7vw, 96px) clamp(24px, 6vw, 88px); position: relative; overflow: hidden; }
.pro::before { content: ''; position: absolute; width: 90%; height: 90%; right: -30%; top: -45%; background: radial-gradient(closest-side, var(--lilac), transparent); }
.pro > * { position: relative; }
.free-list { list-style: none; padding: 0; margin: 36px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.free-list li { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; background: var(--paper); font-size: 15px; }
.free-list svg { width: 16px; height: 16px; color: var(--coral-ink); }
.pro-groups { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; margin-top: 64px; padding-top: 48px; border-top: 1px solid var(--line); }
.pro-groups h3 { font-size: 18px; }
.pro-groups ul { list-style: none; padding: 0; margin: 14px 0 0; }
.pro-groups li { font-family: var(--serif); color: var(--dim); font-size: 16px; line-height: 1.5; padding: 7px 0; }
.pro-note { margin-top: 44px; font-family: var(--serif); color: var(--dim); font-size: 16px; }
@media (max-width: 960px) { .pro-groups { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .pro-groups { grid-template-columns: 1fr; gap: 22px; } }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 56px auto 0; }
.faq details { border-bottom: 1px solid var(--line-strong); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 26px 0; font-weight: 700; font-size: clamp(19px, 2vw, 23px); line-height: 1.35; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; flex: none; width: 14px; height: 14px; background: linear-gradient(var(--ink), var(--ink)) center / 14px 2px no-repeat, linear-gradient(var(--ink), var(--ink)) center / 2px 14px no-repeat; transition: transform 0.4s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .ans { font-family: var(--serif); color: var(--dim); padding: 0 0 28px; max-width: 62ch; line-height: 1.7; }
.faq .ans p + p { margin-top: 12px; }
.faq .ans a { color: var(--coral-ink); }
@media (prefers-reduced-motion: no-preference) {
  .faq details::details-content { block-size: 0; overflow: hidden; transition: block-size 0.5s var(--ease), content-visibility 0.5s allow-discrete; }
  .faq details[open]::details-content { block-size: auto; }
  @supports (interpolate-size: allow-keywords) { :root { interpolate-size: allow-keywords; } }
}

/* ---------- Closing ---------- */
.close { text-align: center; padding: clamp(120px, 16vw, 220px) 0; }
.close .mark-draw { width: 84px; margin: 0 auto 30px; color: var(--ink); }
.close h2 { font-size: clamp(44px, 7.4vw, 104px); line-height: 1.04; letter-spacing: -0.035em; }
.close .sub { margin: 24px auto 40px; }
.platforms { margin-top: 26px; font-size: 15px; color: var(--dim); }

/* ---------- Footer ---------- */
.foot { border-top: 1px solid var(--line); padding: 40px 0 56px; font-size: 15px; color: var(--dim); }
.foot .wrap { display: flex; flex-wrap: wrap; gap: 20px 40px; align-items: center; justify-content: space-between; }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 28px; }
.foot a { text-decoration: none; color: var(--dim); }
.foot a:hover { color: var(--ink); }
.foot .brand { font-size: 20px; color: var(--ink); }
.foot .brand svg { width: 30px; }

/* ---------- Document pages (privacy, support) ---------- */
.doc { padding: 150px 0 110px; }
.doc .wrap { max-width: calc(720px + var(--gutter) * 2); }
.doc h1 { font-size: clamp(40px, 6vw, 64px); line-height: 1.1; letter-spacing: -0.03em; }
.doc .updated { font-family: var(--serif); color: var(--dim); margin-top: 14px; font-size: 16px; }
.doc .intro { font-family: var(--serif); font-size: 21px; line-height: 1.6; margin-top: 30px; }
.doc h2 { font-size: 26px; line-height: 1.25; margin: 56px 0 12px; letter-spacing: -0.015em; }
.doc p { font-family: var(--serif); line-height: 1.75; margin: 12px 0; color: color-mix(in srgb, var(--ink) 88%, var(--dim)); }
.doc p strong { font-family: var(--display); font-weight: 700; color: var(--ink); }
.doc a { color: var(--coral-ink); text-underline-offset: 3px; }
.doc .card { margin-top: 40px; border-radius: 28px; padding: 28px 30px; background: var(--surface); box-shadow: var(--shadow), inset 0 0 0 1px var(--line); }
.doc .card h2 { margin-top: 0; }
.doc .note { margin-top: 64px; font-size: 15px; color: var(--dim); }

/* ---------- Reduced motion: a still page, just as calm ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .wall { height: auto; }
  .wall .pin { position: relative; height: auto; min-height: 0; padding: 120px 0; display: block; }
  .wall-page, .kw { display: none; }
  .wall .cap-b { margin-top: 12px; }
  .wall .cap { position: relative; top: auto; bottom: auto; opacity: 1; transform: none; }
  .wall .cap-c { margin-top: 28px; }
  .wall .pin .still { display: block; }
  .wall .cap-a h2 { background: none; padding: 0; }
  .lit-scene { height: auto; }
  .lit-scene .pin { position: relative; height: auto; padding: 120px var(--gutter); }
  .lit .lw { opacity: 1; }
  .lit-scene .by { opacity: 1; }
  .step h3 { color: var(--ink); }
}
.wall .still { display: none; position: relative; width: 100%; height: 150px; margin: 40px 0; }
.wall .still .rsvp { font-size: clamp(44px, 7vw, 88px); }
.doc .eyebrow { font-family: var(--display); color: var(--coral-ink); margin: 0 0 20px; }
