/* Dreamlatch · "Afterimage" (docs/BRAND.md r2). Night page, one ring, one sentence; the latch opens into Paper. */
/* Self-hosted fonts (SIL OFL 1.1, licences in assets/fonts/). */
@font-face { font-family: "Instrument Serif"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/instrument-serif-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Instrument Serif"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/instrument-serif-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Instrument Serif"; font-style: italic; font-weight: 400; font-display: swap; src: url("fonts/instrument-serif-italic-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Instrument Serif"; font-style: italic; font-weight: 400; font-display: swap; src: url("fonts/instrument-serif-italic-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Instrument Sans"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("fonts/instrument-sans-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Instrument Sans"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("fonts/instrument-sans-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
:root {
  --eye: #0B0B09;      /* Eyelid */
  --lid: #171714;
  --lid-raised: #22221E;
  --line: #2B2B26;     /* lidLine, decorative */
  --lid-border: #6F6D64; /* input borders on dark, 3.8:1 */
  --glow: #F2F0E6;     /* Afterglow */
  --haze: #A3A196;     /* 7.59:1 on Eyelid */
  --ph: #D6FF3D;       /* Phosphor: ring, the CTA. Never text or a thin line on Paper */
  --pink: #FF6FCF;     /* Afterimage: ghosts and trails only */
  --page: #F3F1E8;
  --card: #FBFAF5;
  --page-line: #E2DFD3;
  --page-border: #8C897E;
  --ink: #11110F;
  --graphite: #5D5B52; /* 6.02:1 on Page */
  --moss: #4F6B00;     /* accent text on Paper, 5.40:1 */
  --serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --sans: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --gut: clamp(20px, 5vw, 88px);
  --sec: clamp(104px, 13vw, 208px);
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--eye); color: var(--glow); font: 400 17px/1.5 var(--sans); overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
h1, h2, h3, p, ul, ol, dl, dd { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: inherit; }
button { font: inherit; color: inherit; }
::selection { background: var(--ph); color: var(--ink); }

.wrap { width: 100%; max-width: 1480px; margin-inline: auto; padding-inline: var(--gut); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -64px; z-index: 50; background: var(--ph); color: var(--ink); padding: 10px 18px; border-radius: 22px; font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--ph); outline-offset: 3px; border-radius: 6px; }
.day :focus-visible { outline-color: var(--ink); }

/* type */
.lbl { font: 600 12px/1.35 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--haze); }
.lbl-ph { color: var(--ph); }
.hero-head .lbl { text-wrap: balance; }
@media (max-width: 767px) { .hero-head .lbl { max-width: 30ch; } }
.lbl-moss { color: var(--moss); }
.display { font: 400 clamp(48px, calc(8px + 12.6vw), 112px)/.9 var(--serif); letter-spacing: -.02em; margin-top: 22px; }
.display em { display: block; font-style: italic; color: var(--ph); }
.h2 { font: 400 clamp(44px, 6.2vw, 104px)/.94 var(--serif); letter-spacing: -.018em; margin-top: 18px; max-width: 13ch; text-wrap: balance; }
.h2 em, .h3 em { font-style: italic; }
.h2 em { color: var(--ph); }
.day .h2 em { color: var(--ink); }
.h3 { font: 400 clamp(28px, 2.5vw, 36px)/1.05 var(--serif); letter-spacing: -.01em; margin: 12px 0 12px; }
.body-lg { font-size: clamp(18px, 1.45vw, 21px); line-height: 1.5; color: var(--haze); max-width: 32em; margin-top: 28px; }
.day .body-lg { color: var(--graphite); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 56px; padding: 0 28px; border-radius: 28px; border: 0; font: 600 17px var(--sans); text-decoration: none; cursor: pointer; transition: transform .2s, background-color .2s; }
.btn-primary { background: var(--ph); color: var(--eye); }
.btn-primary:hover { transform: translateY(-1px); }
.btn-primary:disabled { background: var(--lid-raised); color: var(--haze); cursor: not-allowed; transform: none; }
.btn-sm { min-height: 48px; padding: 0 22px; font-size: 15px; }
.day .btn-primary { background: var(--ink); color: var(--page); }
.link-btn { background: none; border: 0; min-height: 44px; padding: 0 4px; color: var(--haze); text-decoration: underline; text-underline-offset: 4px; cursor: pointer; font-size: 15px; }
.link-btn:hover { color: var(--glow); }
.pill { display: inline-flex; align-items: center; min-height: 44px; padding: 0 20px; border-radius: 22px; background: var(--ph); color: var(--eye); font: 600 15px var(--sans); text-decoration: none; white-space: nowrap; }
.text-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 500; font-size: 16px; text-decoration: none; color: var(--glow); background: linear-gradient(var(--ph), var(--ph)) 0 calc(100% - 9px) / 100% 1px no-repeat; }
.text-link span { transition: transform .2s; }
.text-link:hover span { transform: translateX(4px); }
.badge { height: 54px; width: auto; }

/* header (64 px) */
.top { position: relative; z-index: 10; display: flex; align-items: center; gap: 24px; min-height: 64px; padding-top: 22px; padding-bottom: 6px; }
.wm { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--glow); margin-right: auto; }
.wm-ring { width: 34px; height: 34px; flex: none; overflow: visible; }
/* the mark: a Phosphor ring open 14% near 11 o'clock, an Afterglow dot before the gap, a pink copy offset (BRAND 16.1) */
.wm-arc, .wm-ghost { fill: none; stroke-width: 10; stroke-linecap: round; stroke-dasharray: 86 100; }
.wm-arc { stroke: var(--ph); transform: rotate(-58deg); }
.wm-ghost { stroke: var(--pink); opacity: .6; transform: translate(2.6px, 2px) rotate(-58deg); }
.wm-dot { fill: var(--glow); }
.wm span { font: 400 30px/1 var(--serif); letter-spacing: -.01em; }
.wm em { font-style: italic; color: var(--ph); }
.wm-day { color: var(--ink); }
.wm-day em { color: var(--ink); }
.wm-day .wm-ghost { display: none; }
.wm-day .wm-arc { stroke: var(--ink); }
.wm-day .wm-dot { fill: var(--ph); stroke: var(--ink); stroke-width: 3; }
.nav { display: flex; gap: 34px; }
.nav a { text-decoration: none; color: var(--haze); font-weight: 500; font-size: 15px; padding: 12px 0; }
.nav a:hover { color: var(--glow); }
.menu-btn { display: none; width: 44px; height: 44px; border-radius: 22px; border: 1px solid var(--lid-border); background: transparent; cursor: pointer; flex-direction: column; align-items: center; justify-content: center; gap: 6px; }
.menu-btn span { display: block; width: 18px; height: 1.6px; background: var(--glow); transition: transform .25s; }
.menu-open .menu-btn span:first-child { transform: translateY(3.8px) rotate(45deg); }
.menu-open .menu-btn span:last-child { transform: translateY(-3.8px) rotate(-45deg); }
@media (max-width: 899px) {
  .menu-btn { display: inline-flex; }
  .nav { display: none; position: absolute; left: var(--gut); right: var(--gut); top: 100%; flex-direction: column; gap: 0; padding: 8px 20px; background: var(--lid); border: 1px solid var(--line); border-radius: 24px; }
  .nav a { font-size: 17px; color: var(--glow); padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav a:last-child { border-bottom: 0; }
  .menu-open .nav { display: flex; }
}
@media (max-width: 599px) { .top { gap: 10px; } .top .pill { padding: 0 14px; font-size: 14px; } }
@media (max-width: 359px) {
  .top { gap: 8px; padding-inline: 16px; }
  .top .pill { min-height: 36px; padding: 0 12px; font-size: 13px; }
  .menu-btn { width: 40px; height: 40px; }
}
@media (max-width: 360px) { .wm { gap: 7px; } .wm span { font-size: 23px; } .wm-ring { width: 26px; height: 26px; } }

/* hero */
.hero { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); grid-template-areas: "copy ring" "strip strip"; column-gap: clamp(40px, 4vw, 80px); align-items: start; padding-top: clamp(20px, 3vw, 44px); padding-bottom: clamp(56px, 7vw, 104px); }
.hero-copy { grid-area: copy; padding-top: clamp(24px, 7vh, 120px); }
.hero-head { grid-area: head; }
.hero-body { grid-area: body; }
.hero-ring { grid-area: ring; display: flex; flex-direction: column; align-items: center; }
.strip { grid-area: strip; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px 28px; margin-top: clamp(48px, 5vw, 80px); padding-top: 22px; border-top: 1px solid var(--line); font-size: 11px; }
.strip li { display: inline-flex; align-items: center; gap: 9px; }
.strip li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--ph); }
@media (min-width: 1200px) { .display { font-size: min(9vw, 120px); } }
.lede { font-size: clamp(18px, 1.45vw, 21px); line-height: 1.5; color: var(--haze); max-width: 28em; margin-top: 30px; }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; margin-top: 36px; }
.stores { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.soon { display: inline-flex; align-items: center; gap: 10px; font-weight: 500; font-size: 14.5px; line-height: 1.35; color: var(--haze); }
.status-row { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 18px; margin-top: 18px; }
.copy-btn { font-size: 14.5px; min-height: 44px; }
.soon i { width: 8px; height: 8px; border-radius: 50%; background: var(--ph); flex: none; animation: beat 2.6s ease-out infinite; }
.soon-chip { display: inline-flex; align-items: center; min-height: 52px; padding: 0 20px; border-radius: 28px; box-shadow: inset 0 0 0 1px var(--lid-border); color: var(--haze); font-weight: 500; }
@keyframes beat { 0% { box-shadow: 0 0 0 0 rgba(214, 255, 61, .45); } 70%, 100% { box-shadow: 0 0 0 11px rgba(214, 255, 61, 0); } }

.ring-stage { position: relative; width: 100%; max-width: min(600px, calc(100svh - 300px)); min-width: 300px; aspect-ratio: 1; }
.ring { width: 100%; height: 100%; overflow: visible; }
.ring-center { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; pointer-events: none; text-align: center; }
.ring-num { font: 400 clamp(60px, 8vw, 128px)/1 var(--serif); letter-spacing: -.02em; font-variant-numeric: lining-nums tabular-nums; }
.ring-lbl { margin-top: 10px; font-size: clamp(10.5px, .9vw, 12px); transition: color .3s; }
.ring-stage.is-latched .ring-lbl { color: var(--ph); }
.ring-form { width: 100%; max-width: 520px; margin-top: 4px; }
.ring-form label { display: block; margin-bottom: 8px; }
.ring-form textarea {
  display: block; width: 100%; resize: none; overflow-y: auto; max-height: 172px; background: transparent; border: 0; border-bottom: 1px solid var(--lid-border);
  border-radius: 0; color: var(--glow); caret-color: var(--ph); font: 400 22px/1.32 var(--serif); padding: 10px 0 10px; min-height: 50px; scroll-padding-top: 10px;
  transition: border-color .2s, box-shadow .2s;
}
.ring-form textarea::placeholder { color: var(--haze); font-style: italic; opacity: 1; }
.ring-form textarea:focus { outline: none; border-bottom-color: var(--ph); box-shadow: 0 1px 0 var(--ph); }
.ring-status { font-size: 14.5px; color: var(--haze); margin-top: 10px; min-height: 1.5em; }
.ring-actions { display: flex; align-items: center; gap: 8px 16px; flex-wrap: wrap; margin-top: 12px; }
.ring-hint { font: 600 12px/1.3 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--haze); margin-right: auto; }
.ring-note { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; line-height: 1.5; color: var(--haze); margin-top: 14px; }
.ring-note svg { width: 15px; height: 15px; flex: none; margin-top: 2px; fill: none; stroke: var(--ph); stroke-width: 1.4; }

@media (max-width: 1199px) {
  .hero { grid-template-columns: minmax(0, 1fr); grid-template-areas: "head" "ring" "body" "strip"; row-gap: 40px; }
  .hero-copy { display: contents; }
  .ring-stage { max-width: 500px; min-width: 0; }
  .hero-body { max-width: 760px; }
  .display { font-size: clamp(48px, calc(10px + 10vw), 104px); }
}
@media (max-width: 767px) {
  .hero { row-gap: 32px; padding-top: 4px; }
  .ring-stage { max-width: 400px; }
  .display { margin-top: 14px; }
  .cta-row .btn { flex: 1 1 100%; }
  .cta-row .text-link { margin-inline: auto; }
  .strip { justify-content: flex-start; }
}

/* the fade */
.fade-track { height: 170vh; position: relative; }
.fade-pin { position: sticky; top: 0; height: 100vh; height: 100svh; display: flex; align-items: center; overflow: hidden; }
.fade-meta { color: var(--ph); margin-bottom: 28px; }
.fade-meta span:first-child { font-variant-numeric: tabular-nums; }
.fade-text { font: 400 clamp(30px, 4.5vw, 76px)/1.1 var(--serif); letter-spacing: -.012em; max-width: 21em; }
.fade-text .w { transition: opacity .12s ease-out, color .12s; }
.fade-text .w.fading { color: var(--pink); }
.fade-text .w.gone { color: var(--pink); opacity: .07; transition: opacity .7s ease-out, color .7s; }
.fade-after { padding-bottom: var(--sec); }

/* how it latches: flat screenshots, 1 pt border, radius 44 (BRAND 19.1) */
.how { padding-bottom: var(--sec); }
.beats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 4vw, 72px); margin-top: clamp(56px, 7vw, 104px); }
.beat { display: flex; flex-direction: column; gap: 32px; }
.beat:nth-child(2) { margin-top: clamp(0px, 7vw, 120px); }
.beat:nth-child(3) { margin-top: clamp(0px, 14vw, 240px); }
.beat-copy p:not(.lbl) { color: var(--haze); max-width: 28em; }
.beat .num { color: var(--ph); margin-right: 8px; }
.shot { width: 100%; max-width: 320px; height: auto; border-radius: 10.9% / 5%; box-shadow: 0 0 0 1px var(--line); background: var(--lid); }
.escape { display: flex; align-items: center; gap: 10px; margin-top: clamp(56px, 6vw, 96px); color: var(--haze); font-size: 15px; }
.escape svg { width: 16px; height: 16px; flex: none; fill: none; stroke: var(--haze); stroke-width: 1.4; stroke-linecap: round; }
@media (max-width: 1023px) {
  .beats { grid-template-columns: 1fr; gap: 72px; }
  .beat { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 56px); align-items: center; }
  .beat:nth-child(n) { margin-top: 0; }
}
@media (max-width: 599px) {
  .beat { grid-template-columns: 1fr; gap: 28px; }
  .shot { max-width: 264px; }
  .escape { align-items: flex-start; }
  .escape svg { margin-top: 3px; }
}

/* the latch reveal */
.unlock { height: 150vh; position: relative; --r: 30vmin; --k: 0; }
.unlock-pin { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; background: var(--eye); }
.unlock-day { position: absolute; inset: 0; background: var(--page); color: var(--ink); clip-path: circle(var(--r) at 50% 50%); display: flex; align-items: center; justify-content: center; text-align: center; padding: 0 var(--gut); }
.unlock-title { font: 400 clamp(56px, 10vw, 168px)/.9 var(--serif); letter-spacing: -.025em; }
.unlock-title em { font-style: italic; }
.unlock-sub { font: 600 12px/1.3 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--moss); margin-top: 28px; opacity: var(--k); }
.unlock-halo { position: absolute; left: 50%; top: 50%; width: calc(var(--r) * 2); aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; box-shadow: 0 0 0 2.2px var(--ph); opacity: calc(1 - var(--k) * 1.6); pointer-events: none; }
.unlock-halo i { position: absolute; left: 50%; top: 0; width: 16px; height: 16px; margin: -8px 0 0 -8px; border-radius: 50%; background: var(--ph); }

/* morning: Paper */
.day { background: var(--page); color: var(--ink); }
.day .lbl { color: var(--graphite); }
.day .lbl-moss { color: var(--moss); }
.day a { color: var(--moss); text-underline-offset: 4px; }

.journal { padding-top: clamp(40px, 6vw, 96px); padding-bottom: var(--sec); }
.ring-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(48px, 5vw, 88px) clamp(24px, 4vw, 72px); margin-top: clamp(56px, 7vw, 104px); }
.jr-ring { position: relative; width: 100%; max-width: 260px; aspect-ratio: 1; margin-bottom: 22px; }
.jr-ring svg { width: 100%; height: 100%; overflow: visible; transition: transform 1.4s cubic-bezier(.2, .7, .2, 1); }
.jr:hover .jr-ring svg { transform: rotate(-30deg); }
.jr-key { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font: italic 400 clamp(22px, 2.2vw, 30px)/1 var(--serif); }
.jr h3 { font: 400 clamp(28px, 2.6vw, 38px)/1 var(--serif); margin-top: 10px; }
.jr-prompt { font: italic 400 clamp(17px, 1.4vw, 20px)/1.3 var(--serif); color: var(--graphite); margin-top: 8px; max-width: 18em; }
.jr-note { margin-top: clamp(48px, 5vw, 72px); color: var(--graphite); font-size: 14.5px; }
@media (max-width: 899px) { .ring-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 400px) { .ring-grid { gap: 40px 16px; } .jr-prompt { font-size: 16px; } .jr .lbl { font-size: 10.5px; } }

.privacy { padding-bottom: var(--sec); }
.priv-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(40px, 6vw, 120px); margin-top: clamp(48px, 6vw, 88px); }
.priv-list > div { border-top: 1px solid var(--page-line); padding: 26px 0 30px; }
.priv-list dt { font: 400 clamp(26px, 2.4vw, 36px)/1.08 var(--serif); max-width: 16em; }
.priv-list dd { color: var(--graphite); margin-top: 10px; max-width: 32em; }
.priv-more { margin-top: 18px; color: var(--graphite); }
.priv-more a { font-weight: 600; }
@media (max-width: 767px) { .priv-list { grid-template-columns: 1fr; } }

.faq { padding-bottom: var(--sec); }
.faq-list { margin-top: clamp(40px, 5vw, 80px); max-width: 980px; border-bottom: 1px solid var(--page-line); }
.faq details { border-top: 1px solid var(--page-line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 24px 0; font: 400 clamp(24px, 2.4vw, 34px)/1.15 var(--serif); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 36px; height: 36px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--page-border);
  background: linear-gradient(var(--ink), var(--ink)) center / 12px 1.5px no-repeat, linear-gradient(var(--ink), var(--ink)) center / 1.5px 12px no-repeat; transition: transform .3s, background-color .3s; }
.faq details[open] summary::after { transform: rotate(45deg); background-color: var(--ph); box-shadow: inset 0 0 0 1.5px var(--ink); }
.faq details p { color: var(--graphite); max-width: 40em; padding: 0 0 28px; font-size: 17.5px; }

.get { text-align: center; padding-bottom: var(--sec); display: flex; flex-direction: column; align-items: center; }
.get-ring { width: clamp(140px, 15vw, 200px); aspect-ratio: 1; margin-bottom: 24px; overflow: visible; }
.get .h2 { max-width: 15ch; }
.get .body-lg { margin-top: 20px; }
.get-row { display: flex; flex-direction: column; align-items: center; gap: 16px; margin-top: 36px; }
.stores-day { justify-content: center; }
.day .soon { color: var(--graphite); }
.status-day { justify-content: center; margin-top: 4px; }
.day .copy-btn { color: var(--graphite); }
.day .soon i { box-shadow: inset 0 0 0 1.5px var(--ink); animation: none; width: 11px; height: 11px; }
.day .soon-chip { box-shadow: inset 0 0 0 1px var(--page-border); color: var(--graphite); }

.foot { border-top: 1px solid var(--page-line); padding-top: 36px; padding-bottom: 44px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 40px; }
.foot .wm { margin-right: auto; }
.foot-nav { display: flex; gap: 8px 28px; flex-wrap: wrap; }
.foot-nav a { color: var(--ink); font-weight: 500; font-size: 15px; padding: 12px 0; }
.foot-small { flex-basis: 100%; color: var(--graphite); font-size: 13.5px; }

/* 404 */
.lost-main { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; padding-top: 48px; padding-bottom: 64px; }
.lost-ring { width: clamp(150px, 22vw, 260px); aspect-ratio: 1; margin-bottom: 36px; overflow: visible; }
.lost-main .h2 { max-width: 12ch; }
.lost-links { display: flex; flex-wrap: wrap; gap: 16px 24px; align-items: center; margin-top: 40px; }

/* reduced motion: no spin, no trail, no pinned scenes; the latched ring shows statically */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .jr:hover .jr-ring svg { transform: none; }
  .fade-track { height: auto; }
  .fade-pin { position: relative; height: auto; padding: var(--sec) 0 calc(var(--sec) / 2); }
  .unlock { height: auto; }
  .unlock-pin { position: relative; height: auto; background: var(--page); }
  .unlock-day { position: relative; clip-path: none; padding-top: var(--sec); padding-bottom: clamp(40px, 6vw, 96px); }
  .unlock-sub { opacity: 1; }
  .unlock-halo { display: none; }
}

/* very wide screens: scale the whole composition up instead of floating a small column */
@media (min-width: 2000px) {
  body { font-size: 19px; }
  .wrap { max-width: 1880px; }
  .display { font-size: 152px; }
  .h2 { font-size: 128px; }
  .lede, .body-lg { font-size: 24px; }
  .ring-stage { max-width: min(760px, calc(100svh - 320px)); }
  .ring-form { max-width: 640px; }
  .ring-form textarea { font-size: 26px; }
  .fade-text { font-size: 92px; }
  .shot { max-width: 400px; }
  .jr-ring { max-width: 320px; }
  .lbl, .ring-hint { font-size: 13.5px; }
  .faq-list { max-width: 1200px; }
}
@media (max-width: 767px) { .strip { margin-top: 8px; } }

/* BRAND 10.1: ghost arc and trails are Screen-blended on dark */
.ring .ring-ghost, .ring .ring-trail { mix-blend-mode: screen; }

.day a.wm-day { color: var(--ink); text-decoration: none; }
.body-lg, .lede { text-wrap: pretty; }

/* W-22: when the field scrolls, fade its cut-off top line instead of cramming it under the label */
.ring-form textarea.is-capped { -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 30px); mask-image: linear-gradient(to bottom, transparent 0, #000 30px); }
.ring-limit { font-size: 13.5px; color: var(--haze); margin-top: 10px; }
.get-ring { width: clamp(170px, 17vw, 230px); }
