/* MODE3 site v5 · the page is one day (on top of v4/shared.css + v4/site.css) */
:root { --sky: #060a14; --glow: 0; }
body { --bg: var(--sky); background: var(--sky); transition: none; }
html.dark { --ink: #ede9e3; }
html.light { --ink: #0b0d10; }
html.light .hud-chip, html.light .hud-reserve, html.light .chip { border-color: color-mix(in srgb, var(--ink) 16%, transparent); }
/* the horizon glow: a fixed layer under everything, lit by --glow */
body::before { content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: var(--glow);
  background: radial-gradient(70% 45% at 50% 100%, rgba(255, 138, 92, 0.55), rgba(255, 138, 92, 0.18) 45%, transparent 75%); }
.sec { padding-block: clamp(4.5rem, 11vh, 7rem); }
.h2 { max-width: 22ch; }

/* ---------- hero: the real time, rolling back to 05:30 ---------- */
.hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; padding: 6.5rem 0 4rem; overflow: clip; }
.hero-field { display: none; }
.hero-stroke { position: absolute; top: -20%; height: 140%; width: clamp(60px, 9vw, 150px); left: 0; z-index: 0; pointer-events: none; opacity: 0;
  transform: translateX(-140%) skewX(-22deg);
  background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--accent) 85%, transparent) 45%, #fff 50%, color-mix(in srgb, var(--accent) 85%, transparent) 55%, transparent);
  filter: blur(0.6px); box-shadow: 0 0 60px 10px color-mix(in srgb, var(--accent) 35%, transparent); }
html.js .hero-stroke { animation: slash 1.5s cubic-bezier(0.2, 0.8, 0.2, 1) 350ms 1 both; }
@keyframes slash { 0% { transform: translateX(-140%) skewX(-22deg); opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { transform: translateX(calc(100vw + 140%)) skewX(-22deg); opacity: 0; } }
.hero-top { position: relative; z-index: 1; }
.hero-clock { font-size: min(27vw, 14rem); letter-spacing: -0.05em; line-height: 1; color: var(--ink); opacity: 0.92; white-space: nowrap; overflow: visible; }
.hero-clock .dg { width: 0.64em; }
.hero-now { margin: 0.6rem 0 0; color: var(--ink-2); font-size: var(--t-micro); font-weight: 800; letter-spacing: 0.22em; text-transform: uppercase; }
.hero-now b { color: var(--accent); }
.hero-h1 { font-size: clamp(2.3rem, 6vw, 5rem); margin-top: clamp(1.4rem, 4vh, 2.6rem); max-width: 16ch; }
.hero-sub { max-width: 44ch; }
.hero-kit { position: absolute; right: clamp(0.5rem, 5vw, 5rem); bottom: 10svh; height: min(28svh, 260px); width: auto; opacity: 0.9; z-index: 0; filter: drop-shadow(0 24px 30px rgba(0,0,0,0.45)); }
@media (max-width: 720px) { .hero-kit { height: 18svh; right: -4%; bottom: 3svh; opacity: 0.6; } .hero-clock { font-size: 25vw; } }

/* ---------- state sections ---------- */
.state { position: relative; overflow: clip; }
.state .word-row { position: relative; height: clamp(5rem, 24vw, 15rem); margin: 1rem 0 2rem; }
.state .word { position: absolute; left: -1vw; right: -1vw; top: 50%; transform: translateY(-50%); font-size: min(23vw, 15rem); font-weight: 900; letter-spacing: -0.06em; line-height: 0.9; text-align: center; white-space: nowrap; color: var(--accent); opacity: 1; pointer-events: none; }
@media (max-width: 720px) { .state .word { font-size: min(21vw, 6rem); } .state .word-row { height: 22vw; } }
.state-time { font-size: var(--t-micro); font-weight: 800; letter-spacing: 0.26em; text-transform: uppercase; color: var(--accent); margin: 0 0 0.8rem; }
.state-line { font-size: clamp(1.25rem, 2.4vw, 1.9rem); font-weight: 700; letter-spacing: -0.01em; line-height: 1.25; margin: 0; max-width: 34ch; }
.mech { margin-top: 2rem; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem 2rem; max-width: 60rem; }
.mech b { display: block; font-size: var(--t-micro); letter-spacing: 0.22em; text-transform: uppercase; color: var(--accent); margin-bottom: 0.5rem; }
.mech p { margin: 0; font-weight: 700; font-size: 1.05rem; line-height: 1.35; }
.mech-foot { margin-top: 1.6rem; color: var(--ink-2); }
@media (max-width: 720px) { .mech { grid-template-columns: 1fr; } }
.moment { margin: 2.2rem 0 0; border-top: 1px solid var(--line); padding-top: 1.2rem; max-width: 40ch; }
.moment-time { font-size: clamp(1.4rem, 3vw, 2.2rem); font-weight: 900; letter-spacing: -0.04em; margin: 0; }
.moment-line { color: var(--ink-2); margin: 0.5rem 0 0; font-size: 1.05rem; }
.hold { position: static; transform: none; margin-top: 2rem; }
.hold .ring-fill { stroke: var(--accent); }

/* the ritual stages (v3, js/ritual.js): dark stages inside the day; shorter tracks than v3 */
html.ritual .rit-track { height: 230vh; }
.rit { --rit-accent: var(--prime); }
.rit::before { background: linear-gradient(to bottom, var(--sky), #06070a); }
.rit::after, html.ritual .rit::after { background: linear-gradient(to bottom, #06070a, var(--sky)); }

/* the tests, inline */
.test { margin-top: clamp(1.5rem, 4vh, 3rem); }
.test-h { display: flex; align-items: baseline; gap: 1rem; flex-wrap: wrap; margin-bottom: 0.8rem; }
.test-h .micro { color: var(--accent); }
.test-h span { color: var(--ink-3); font-size: 0.9rem; }
.gl { --gl-accent: var(--prime); --gl-accent-rgb: 159, 230, 211; margin-top: 0.5rem; text-align: center; }
.gl--perform { --gl-accent: var(--perform); --gl-accent-rgb: 255, 212, 0; }
.gl--unwind { --gl-accent: #c58cf2; --gl-accent-rgb: 197, 140, 242; }
.gl .m3-cover { font-family: "Montserrat", "Helvetica Neue", Arial, sans-serif; text-align: left; cursor: pointer; }
.gl .m3-cover .row { flex-wrap: wrap; }
.gl .m3-cover .go { margin-left: auto; max-width: 100%; box-sizing: border-box; }
.gl-play { display: inline-flex; align-items: center; justify-content: center; padding: 1rem 1.6rem; border-radius: 4px; text-decoration: none; background: var(--ink); color: var(--sky);
  font-size: var(--t-micro); font-weight: 800; letter-spacing: 0.18em; text-transform: uppercase; }
.gl-frame { position: relative; width: 100%; height: min(100svh, 760px); border-radius: 18px; overflow: hidden; background: #050506; border: 1px solid var(--line); }
.gl-frame iframe { display: block; width: 100%; height: 100%; border: 0; background: #050506; }
.gl-close { position: absolute; right: 0.8rem; top: 0.8rem; z-index: 2; padding: 0.5em 0.9em; border-radius: 100px; border: 1px solid rgba(237,233,227,0.3); background: rgba(5,5,6,0.6); color: #ede9e3; font: inherit; font-size: var(--t-micro); font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; cursor: pointer; }

/* ---------- night: the system ---------- */
.sys-h { margin-top: 3.5rem; }
.gallery { height: clamp(380px, 56svh, 560px); }
.unbox { margin-top: 2rem; }
.unbox-tile { position: relative; display: block; width: 100%; max-width: 44rem; aspect-ratio: 16 / 10; border-radius: 18px; overflow: hidden; background: #000; border: 1px solid var(--line); cursor: pointer; padding: 0; }
.unbox-tile img, .unbox-tile video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.unbox-tile video { display: none; }
.unbox-tile.playing video { display: block; }
.unbox-tile.playing img, .unbox-tile.playing .unbox-play { display: none; }
.unbox-play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); padding: 0.9em 1.3em; border-radius: 100px; background: rgba(5,5,6,0.6); border: 1px solid rgba(237,233,227,0.35); color: #ede9e3; font-size: var(--t-micro); font-weight: 800; letter-spacing: 0.18em; text-transform: uppercase; }
.unbox-cap { margin-top: 0.8rem; color: var(--ink-3); }
.app-lines { list-style: none; margin: 1.2rem 0 0; padding: 0; display: grid; gap: 0.5rem; max-width: 40ch; font-weight: 700; font-size: 1.05rem; }
.app-lines li::before { content: "·"; color: var(--accent); margin-right: 0.6em; }
/* 003: the stage is exactly the tallest phone (TODAY, full screen at the shared frame width) +
   its caption + 60px; all four frames share one width, height follows the crop */
.float-stage { --fw: clamp(170px, 17vw, 236px); height: calc(var(--fw) * 2.032 + 14px + 2.3rem + 60px); }
/* ── real screens in a dark phone frame (app + Huddle) ─────────────────── */
.phone { position: relative; padding: 7px; border-radius: 30px; background: #0e1014; border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 40px 70px -30px rgba(0, 0, 0, 0.85), 0 12px 28px -14px rgba(0, 0, 0, 0.6); }
.phone img { display: block; width: 100%; height: auto; border-radius: 23px; border: 0; box-shadow: none; background: #0b0d10; }
.phone-light img { filter: brightness(0.92); background: #f1f0f4; }
.phone-crop img, .phone-crop-set img { object-fit: cover; object-position: top; }
.phone-crop img { aspect-ratio: 780 / 1180; }
.phone-crop-set img { aspect-ratio: 780 / 980; }
/* the kit: the unboxing next to Day 1 in the Huddle */
.unbox-row { display: flex; gap: 1.6rem; align-items: flex-end; max-width: 60rem; }
.unbox-row .unbox-tile { flex: 1 1 auto; min-width: 0; }
.kit-day1 { flex: 0 0 clamp(120px, 13vw, 168px); margin: 0; }
.kit-day1 figcaption { margin-top: 0.8rem; color: var(--ink-3); line-height: 1.45; font-size: 0.82rem; font-weight: 600; letter-spacing: 0; text-transform: none; }
/* the app: four screens, the LEAGUE in front */
.float { width: var(--fw, clamp(170px, 17vw, 236px)); }
.float .phone img { border-radius: 23px; border: 0; box-shadow: none; }
/* desktop: bottoms aligned on one line, caption included; the drift (site.js, at most
   ±42px since 003) stays inside the stage: the line sits 42px above its bottom edge, the tallest
   phone (TODAY, drift ±14px) keeps 18px above */
.float { top: auto; bottom: 42px; }
.float-1 { left: 4%; }
.float-2 { left: 27%; margin-left: 0; z-index: 2; }
.float-3 { left: 52%; right: auto; }
.float-4 { right: 4%; }
/* the Huddle: the real screens */
.huddle-grid { margin-top: 2.2rem; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 2rem clamp(1.5rem, 4vw, 3.5rem); align-items: start; }
.hcard { margin: 0; }
.hcard .micro { color: var(--accent); }
.hcard h3 { margin: 0.7rem 0 0.5rem; font-size: 1.3rem; font-weight: 800; letter-spacing: -0.02em; }
.hcard p { margin: 0; color: var(--ink-2); line-height: 1.5; }
.hcard-hero .phone { max-width: 20rem; }
.hcard-hero .hc-text > p:not(.micro) { font-size: 1.15rem; font-weight: 700; color: var(--ink); max-width: 28ch; }
.hcard-hero .hc-text { margin-top: 1.4rem; max-width: 36ch; }
.hcard-col { display: grid; gap: 2rem; align-content: start; }
.hcard-row { display: grid; grid-template-columns: minmax(120px, 38%) minmax(0, 1fr); gap: 1.4rem; align-items: center; }
@media (max-width: 720px) {
  .unbox-row { flex-wrap: wrap; align-items: flex-start; }
  .unbox-row .unbox-tile { flex-basis: 100%; }
  .kit-day1 { flex-basis: 44vw; }
  .float-stage { height: clamp(470px, 62svh, 560px); }
  .float-stage { --fw: 44vw; }
  .float { width: 44vw; bottom: auto; }
  .float-1 { left: 2%; top: 10%; }
  .float-2 { left: 50%; top: 36%; margin-left: -23vw; width: 46vw; }
  .float-3 { left: auto; right: 2%; top: 6%; }
  .float-4 { display: none; }
  .huddle-grid { grid-template-columns: 1fr; gap: 2.2rem; }
  .hcard-hero .phone { max-width: 66vw; }
  .hcard-row { grid-template-columns: 38% minmax(0, 1fr); gap: 1.1rem; }
  .hcard h3 { font-size: 1.15rem; }
}

/* ---------- the offer, at sunrise ---------- */
.offer-stack { list-style: none; margin: 1.6rem 0 0; padding: 0; display: grid; gap: 0.5rem; max-width: 46ch; }
.offer-stack li { display: flex; gap: 0.8rem; align-items: baseline; padding: 0.6rem 0; border-top: 1px solid var(--line); font-weight: 700; }
.offer-stack li span { color: var(--ink-2); font-weight: 500; }
.offer-price { margin-top: 1.6rem; font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 900; letter-spacing: -0.03em; }
.offer-price small { display: block; font-size: 1rem; font-weight: 500; color: var(--ink-2); letter-spacing: 0; margin-top: 0.3rem; }
.offer-scarce { margin-top: 1rem; color: var(--ink-2); }
.offer-scarce b { color: var(--ink); }
.reserve-row { display: flex; align-items: center; gap: 1.2rem; flex-wrap: wrap; margin-top: 1.6rem; }
.reserve-row .reserve-btn { margin-top: 0; }
.risk { margin: 0; font-size: 0.92rem; color: var(--ink-2); max-width: 26ch; }
.next-steps { list-style: none; margin: 2.2rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0.8rem; counter-reset: step; }
.next-steps li { border-top: 1px solid var(--line); padding-top: 0.8rem; font-size: 0.92rem; color: var(--ink-2); }
.next-steps li b { display: block; color: var(--ink); font-size: var(--t-micro); letter-spacing: 0.2em; text-transform: uppercase; margin-bottom: 0.4rem; }
@media (max-width: 720px) { .next-steps { grid-template-columns: 1fr 1fr; } }
.faq-all { margin-top: 1.6rem; max-width: 60ch; }
.faq-all > summary { list-style: none; cursor: pointer; font-size: var(--t-micro); font-weight: 800; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-2); padding: 1rem 0; border-top: 1px solid var(--line); }
.faq-all > summary::-webkit-details-marker { display: none; }
.faq-all[open] > summary { color: var(--ink); }

/* ---------- v5 overrides on v4/site.css ---------- */
.kit { background: none; }
.hold { position: static; transform: none; margin-top: 2.2rem; }
.hero-clock .dg { width: 0.66em; }
.night .word { color: var(--accent); }
html[data-state="night"] .gal-media img { filter: drop-shadow(0 0 46px color-mix(in srgb, var(--c, var(--accent)) 38%, transparent)) drop-shadow(0 30px 36px rgba(0,0,0,0.55)); }
.dawn { min-height: 70svh; display: flex; align-items: center; }
.dawn-h { font-size: clamp(2.2rem, 6vw, 5rem); }
html.ritual .rit-track { height: 170vh; }
/* (the ritual card rules live at the end of this file) */
.state.sec { padding-block: clamp(3rem, 7vh, 5rem); }
.dawn { min-height: 50svh; }
/* (the float-stage height lives with the app rules above, 002) */
.state .word--long { font-size: min(20vw, 13rem); }
@media (max-width: 720px) { .state .word--long { font-size: min(16.5vw, 6rem); } }
html.rit-hud .hud-chip { background: rgba(6, 7, 10, 0.55); border-color: rgba(242, 239, 233, 0.2); color: #f2efe9; }
html.rit-hud .hud-reserve { border-color: rgba(242, 239, 233, 0.2); }
@media (max-width: 720px) { .hero-kit { top: auto; bottom: 1.5svh; right: -8%; height: 11svh; opacity: 0.6; } .float figcaption { display: none; } }

/* ---------- the ritual stages as framed film cards: the sky stays visible around them ---------- */
.rit { width: 86vw; margin: clamp(2.5rem, 6vh, 4rem) 0 clamp(2.5rem, 6vh, 4rem) calc(50% - 43vw); }
.rit::before, .rit::after, html.ritual .rit::after { display: none; }
.rit-stage, html.ritual .rit-stage { border-radius: 28px; overflow: hidden; overflow: clip; box-shadow: 0 30px 80px -24px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.06); }
html.ritual .rit-stage { top: 9svh; height: 82svh; }
/* the render band and the glass overlays (PRIME streak, UNWIND mist) sit inside the card now, on the same box */
html.ritual .rit-space, .rit-wet, .rit-mist { position: absolute; left: 50%; top: 40%; transform: translate(-50%, -50%); width: 114vw; aspect-ratio: 900 / 1300; }
.rit-wet, .rit-mist { z-index: 6; }
.rit-veil { position: absolute; inset: 0; z-index: 5; }
html.ritual .rit-copy { top: 58%; }
html.ritual .rit-scrim { height: 48%; }
@media (max-width: 720px) { .rit { width: 92vw; margin-left: calc(50% - 46vw); } }
@media (min-width: 820px) and (orientation: landscape) {
  html.ritual .rit-space, .rit-wet, .rit-mist { left: 36%; top: 50%; width: 62vw; }
  html.ritual .rit-copy { top: 0; }
}
/* the header keeps the sky's ink: the card no longer runs under it */
html.rit-hud .hud { --ink: inherit; color: inherit; }
html.rit-hud .hud-chip { background: color-mix(in srgb, var(--bg) 70%, transparent); border-color: var(--line); color: var(--ink); }
html.rit-hud .hud-reserve { border-color: var(--line); }
/* 2 · the app screens: a frame colour while they decode, never lazy */
.float img { background: #0b0d10; }
/* 4 · the hero kit visual: a small framed tile, fully in view on desktop, gone on a phone */
.hero-kit { right: clamp(1rem, 5vw, 5rem); bottom: 8svh; height: min(24svh, 240px); border-radius: 18px; opacity: 1; filter: none; box-shadow: 0 30px 60px -24px rgba(0, 0, 0, 0.5); }
@media (max-width: 720px) { .hero-kit { display: none; } }

/* drop 02: one sale mode shows one set of variants (js/founders.js). data-mode="founders" / "drop02" / "open"; html[data-sale] picks; before JS the founders variant shows. */
html:not([data-sale]) [data-mode]:not([data-mode~="founders"]),
html[data-sale="founders"] [data-mode]:not([data-mode~="founders"]),
html[data-sale="drop02"] [data-mode]:not([data-mode~="drop02"]),
html[data-sale="open"] [data-mode]:not([data-mode~="open"]) { display: none !important; }
.price-track { list-style: none; margin: 2rem 0 0; padding: 0; max-width: 34ch; border-top: 1px solid var(--line); }
.price-track li { display: grid; grid-template-columns: 1fr auto auto; gap: 1rem; align-items: baseline; padding: 0.7rem 0; border-bottom: 1px solid var(--line); font-size: 0.95rem; color: var(--ink-2); }
.price-track li .tabnum { font-weight: 700; color: var(--ink); }
.price-track li em { font-style: normal; font-size: var(--t-micro); letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-2); min-width: 5ch; text-align: right; }
.price-track li.now em { color: var(--accent); }
.price-track li.closed .tabnum { color: var(--ink-2); text-decoration: line-through; }
.price-track-note { margin-top: 0.9rem; font-size: 0.92rem; color: var(--ink-2); }
.offer-open .btn-claim { margin-top: 0.4rem; text-decoration: none; }
.offer-open .risk { margin-top: 1rem; max-width: 40ch; }
