/* =====================================================================
   Porchlight — story site
   ===================================================================== */
:root {
  --night-950: #07061a;
  --night-900: #0d0b21;
  --night-850: #120f2c;
  --night-800: #171436;
  --night-700: #211c48;
  --dusk-600: #3a2c6b;
  --dusk-500: #5b3f8a;
  --amber-500: #ff9f2e;
  --amber-400: #ffb547;
  --amber-300: #ffd27a;
  --amber-100: #fff3c9;
  --ember-500: #ff6a3d;
  --teal-400: #5cc2b6;
  --rose-400: #e8607a;
  --paper: #f4ecdf;
  --paper-ink: #2b2140;
  --ink: #f6f1e7;
  --ink-soft: #d9d2ea;
  --muted: #a39cc6;
  --line: rgba(246, 241, 231, 0.12);
  --line-strong: rgba(246, 241, 231, 0.22);

  --font-display: "Fraunces", "Georgia", serif;
  --font-body: "Schibsted Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "Martian Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --font-hand: "Caveat", "Comic Sans MS", cursive;
  --font-dot: "DotGothic16", ui-monospace, monospace;

  --gutter: clamp(16px, 4.4vw, 64px);
  --maxw: 1240px;
  --radius: 26px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --night: 0;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--night-900); }
body {
  margin: 0;
  background: #2a2150;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.6;
  letter-spacing: -0.004em;
  font-feature-settings: "ss01", "kern";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  transition: background-color 1.2s var(--ease-out);
}
body.is-loading { overflow: hidden; }
img, svg, canvas, iframe { display: block; max-width: 100%; }
a { color: inherit; }
::selection { background: var(--amber-400); color: var(--night-900); }
:focus-visible { outline: 2px solid var(--amber-300); outline-offset: 4px; border-radius: 6px; }

.skip { position: absolute; left: -9999px; top: 8px; z-index: 1000; background: var(--amber-400); color: var(--night-900); padding: 8px 14px; border-radius: 99px; }
.skip:focus { left: 8px; }

/* ---------- type ---------- */
.wrap { width: min(var(--maxw), 100% - 2 * var(--gutter)); margin-inline: auto; }
.mono { font-family: var(--font-mono); font-variation-settings: "wdth" 87.5; font-size: .72em; letter-spacing: .04em; font-weight: 500; }
.label { display: inline-flex; align-items: center; gap: 12px; margin: 0 0 22px; font-family: var(--font-mono); font-variation-settings: "wdth" 87.5; font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--amber-300); }
.label-n { display: inline-grid; place-items: center; min-width: 34px; height: 22px; padding: 0 8px; border-radius: 99px; border: 1px solid currentColor; font-size: 10.5px; letter-spacing: .06em; }
.label-light { color: var(--amber-100); }
.h2 { font-family: var(--font-display); font-variation-settings: "SOFT" 60, "WONK" 0, "opsz" 96; font-weight: 560; font-size: clamp(2.3rem, 5.2vw, 4.7rem); line-height: 1.01; letter-spacing: -0.03em; margin: 0; max-width: 17ch; text-wrap: balance; }
.h2 em, .display em, .h3 em { font-style: italic; font-variation-settings: "SOFT" 100, "WONK" 1, "opsz" 96; font-weight: 500; color: var(--amber-300); }
.h3 { font-family: var(--font-display); font-variation-settings: "SOFT" 60, "opsz" 48; font-weight: 600; font-size: clamp(1.6rem, 2.6vw, 2.2rem); line-height: 1.08; letter-spacing: -0.02em; margin: 0 0 16px; text-wrap: balance; }
.display { font-family: var(--font-display); font-variation-settings: "SOFT" 100, "WONK" 1, "opsz" 144; font-weight: 760; font-size: clamp(2.8rem, 8vw, 7.6rem); line-height: .94; letter-spacing: -0.04em; margin: 0; text-wrap: balance; }
.muted { color: var(--muted); }
.hand { font-family: var(--font-hand); font-weight: 600; font-size: 1.4em; line-height: 1; color: var(--amber-300); }
.lede { font-size: clamp(1.08rem, 1.6vw, 1.32rem); color: var(--ink-soft); max-width: 46ch; line-height: 1.6; text-wrap: pretty; }
em { font-style: italic; color: var(--amber-300); }
.sec-head { margin-bottom: clamp(36px, 5vw, 64px); }
.sec-head-split { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; }
.sec-aside { max-width: 34ch; margin: 0 0 6px; color: var(--muted); font-size: 15.5px; line-height: 1.6; border-left: 1px solid var(--line-strong); padding-left: 18px; }
@media (max-width: 900px) { .sec-head-split { flex-direction: column; align-items: flex-start; gap: 22px; } }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: .6em; padding: 14px 22px 14px 24px; border-radius: 999px; font-weight: 600; font-size: 15px; letter-spacing: -0.005em; text-decoration: none; transition: box-shadow .35s var(--ease-out), background .35s, color .35s, border-color .35s; will-change: transform; }
.btn .arrow { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .35s var(--ease-out); }
.btn:hover .arrow { transform: translateX(3px); }
.btn-glow { background: var(--amber-400); color: var(--night-900); box-shadow: inset 0 -2px 0 rgba(120, 60, 0, .18), inset 0 1px 0 rgba(255, 255, 255, .45), 0 10px 30px -10px rgba(255, 159, 46, .75); }
.btn-glow:hover { background: var(--amber-300); box-shadow: inset 0 -2px 0 rgba(120, 60, 0, .18), inset 0 1px 0 rgba(255, 255, 255, .55), 0 0 0 6px rgba(255, 181, 71, .16), 0 0 60px 6px rgba(255, 181, 71, .4); }
.btn-ghost { border: 1px solid var(--line-strong); color: var(--ink); background: rgba(13, 11, 33, .25); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.btn-ghost:hover { border-color: var(--amber-300); color: var(--amber-300); }
.btn-xl { padding: 19px 30px 19px 34px; font-size: 17px; }

/* ---------- chrome ---------- */
.grain { position: fixed; inset: -50%; pointer-events: none; z-index: 90; opacity: .085; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.2s steps(6) infinite; }
@keyframes grain { 0%{transform:translate(0,0)} 20%{transform:translate(-3%,2%)} 40%{transform:translate(2%,-3%)} 60%{transform:translate(-2%,-1%)} 80%{transform:translate(3%,3%)} 100%{transform:translate(0,0)} }

.cursor { position: fixed; left: 0; top: 0; pointer-events: none; z-index: 120; }
.cursor-dot { position: absolute; width: 8px; height: 8px; margin: -4px 0 0 -4px; border-radius: 50%; background: var(--amber-100); box-shadow: 0 0 12px 3px rgba(255, 210, 122, .9); transition: width .3s var(--ease-out), height .3s var(--ease-out), margin .3s var(--ease-out), background .3s; }
.cursor-glow { position: absolute; width: 380px; height: 380px; margin: -190px 0 0 -190px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 196, 92, .14), rgba(255, 196, 92, 0) 65%); mix-blend-mode: screen; }
.cursor.is-hover .cursor-dot { width: 46px; height: 46px; margin: -23px 0 0 -23px; background: rgba(255, 210, 122, .14); box-shadow: 0 0 0 1.5px var(--amber-300); }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }

.fuse { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 110; pointer-events: none; }
.fuse-fill { position: absolute; inset: 0; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, var(--ember-500), var(--amber-300)); }
.fuse-spark { position: absolute; top: -3px; left: 0; width: 8px; height: 8px; border-radius: 50%; background: #fff3c9; box-shadow: 0 0 12px 4px rgba(255, 181, 71, .9); }

.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; padding: 18px var(--gutter); transition: background .5s, padding .5s, border-color .5s; border-bottom: 1px solid transparent; }
.nav.is-scrolled { background: rgba(13, 11, 33, .62); backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4); padding-block: 11px; border-bottom-color: var(--line); }
.nav-logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; justify-self: start; }
.logo-mark { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 9px; background: rgba(13, 11, 33, .35); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-strong); }
.logo-mark svg { width: 22px; height: 22px; filter: drop-shadow(0 0 6px rgba(255, 181, 71, .6)); }
.logo-word { font-family: var(--font-display); font-variation-settings: "SOFT" 100, "WONK" 1, "opsz" 48; font-weight: 750; font-size: 23px; letter-spacing: -0.04em; color: var(--ink); line-height: 1; }
.logo-i { position: relative; }
.logo-i::after { content: ""; position: absolute; left: 50%; top: .02em; width: .2em; height: .2em; margin-left: -.1em; border-radius: 50%; background: var(--amber-300); box-shadow: 0 0 .3em .06em rgba(255, 181, 71, .9); }
.nav-links { display: flex; gap: 2px; padding: 4px; border-radius: 99px; background: rgba(13, 11, 33, .28); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: inset 0 0 0 1px var(--line); }
.nav-links a { display: inline-flex; align-items: baseline; gap: 7px; text-decoration: none; font-size: 14px; font-weight: 500; padding: 8px 15px; border-radius: 99px; color: var(--ink-soft); transition: color .25s, background .25s; }
.nav-links a .mono { color: var(--amber-300); opacity: .8; font-size: 10px; }
.nav-links a:hover { color: var(--ink); background: rgba(255, 255, 255, .08); }
.nav-cta { justify-self: end; padding: 10px 16px 10px 18px; font-size: 14px; }
@media (max-width: 980px) { .nav { grid-template-columns: 1fr auto; } .nav-links { display: none; } }
@media (max-width: 420px) { .nav-cta { padding: 9px 13px; font-size: 13px; } .logo-word { font-size: 20px; } }

/* ---------- preloader ---------- */
.preloader { position: fixed; inset: 0; z-index: 200; display: grid; grid-template-rows: 1fr auto; place-items: center; padding: 8vh 24px 10vh; background: radial-gradient(70% 55% at 50% 42%, #1b163f 0%, var(--night-950) 70%); overflow: hidden; }
.pl-stage { position: relative; height: min(46vh, 380px); aspect-ratio: 765 / 1024; align-self: end; }
.pl-wick { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: contain; filter: brightness(.32) saturate(.5) contrast(1.05); transition: filter 1.1s var(--ease-out); animation: breatheWick 4.5s ease-in-out infinite; transform-origin: 50% 100%; }
@keyframes breatheWick { 50% { transform: scale(1.012, .992); } }
.pl-halo { position: absolute; left: 50%; top: 52%; width: 150%; aspect-ratio: 1; translate: -50% -50%; border-radius: 50%; background: radial-gradient(circle, rgba(255, 196, 92, .55), rgba(255, 159, 46, .12) 42%, rgba(255, 159, 46, 0) 68%); opacity: .05; transition: opacity 1s var(--ease-out); }
.preloader.is-on .pl-wick { filter: none; }
.preloader.is-on .pl-halo { opacity: 1; }
.pl-chain { position: absolute; z-index: 2; top: -40vh; right: -14%; width: 26px; height: calc(40vh + 46%); background: none; border: 0; padding: 0; cursor: grab; touch-action: none; display: flex; flex-direction: column; align-items: center; }
.pl-chain:active { cursor: grabbing; }
.pl-chain-cord { flex: 1; width: 3px; background: repeating-linear-gradient(#8f80c9 0 5px, rgba(143, 128, 201, .25) 5px 8px); border-radius: 2px; }
.pl-chain-bead { width: 16px; height: 22px; border-radius: 6px 6px 10px 10px; background: radial-gradient(circle at 40% 30%, #ffe5a6, #ff9f2e 70%); box-shadow: 0 0 18px rgba(255, 181, 71, .75); animation: bead 1.9s ease-in-out infinite; }
@keyframes bead { 0%,100% { transform: translateY(0); } 50% { transform: translateY(7px); } }
.pl-copy { text-align: center; display: flex; flex-direction: column; gap: 10px; align-items: center; margin-top: 30px; }
.pl-line { margin: 0; font-family: var(--font-display); font-variation-settings: "SOFT" 100, "opsz" 48; font-size: clamp(1.15rem, 2.2vw, 1.5rem); color: var(--ink-soft); }
.pl-hint { margin: 0; display: flex; align-items: baseline; gap: 14px; color: var(--muted); }
.pl-hint .hand { font-size: 28px; }
.pl-hint .mono { text-transform: uppercase; letter-spacing: .14em; font-size: 11px; }
.pl-flood { position: absolute; left: 50%; top: 38%; width: 40px; height: 40px; margin: -20px 0 0 -20px; border-radius: 50%; background: radial-gradient(circle, #fff3c9 0%, #ffd27a 30%, rgba(255, 181, 71, .6) 55%, rgba(255, 159, 46, 0) 72%); transform: scale(0); pointer-events: none; z-index: 3; }

/* ---------- 1. hero ---------- */
.hero { position: relative; height: 290vh; }
.hero-sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; background: #3a2c6b; isolation: isolate; }
.layer { position: absolute; inset: 0; will-change: transform; }
.layer img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 100%; }
.l-sky img { object-position: 50% 0; transform: scale(1.08); transform-origin: 50% 0; }
.l-rockies img { transform: translateY(-5%); }
.l-hills img { transform: translateY(7%); }
.l-city img { transform: translateY(9%); object-position: 62% 100%; }
.l-fore img { transform: translateY(5%); filter: brightness(calc(1 - .5 * var(--night))) saturate(calc(1 - .15 * var(--night))) hue-rotate(calc(var(--night) * 10deg)); }
.hero-tint { position: absolute; inset: 0; pointer-events: none; mix-blend-mode: multiply; opacity: var(--night);
  background: linear-gradient(180deg, #0a0927 0%, #17134a 38%, #2f2869 62%, #7a73b3 100%); }
.l-lights { mix-blend-mode: screen; opacity: var(--night); }
.hero-stars { position: absolute; inset: 0; opacity: calc(var(--night) * 1); pointer-events: none; mix-blend-mode: screen;
  -webkit-mask-image: linear-gradient(#000 0 26%, transparent 46%); mask-image: linear-gradient(#000 0 26%, transparent 46%);
  background-image:
    radial-gradient(1.4px 1.4px at 8% 14%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 17% 31%, #fff 50%, transparent 51%),
    radial-gradient(1.8px 1.8px at 24% 9%, #fff3c9 50%, transparent 51%), radial-gradient(1px 1px at 33% 22%, #fff 50%, transparent 51%),
    radial-gradient(1.2px 1.2px at 41% 6%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 52% 27%, #fff 50%, transparent 51%),
    radial-gradient(1.6px 1.6px at 58% 12%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 66% 34%, #fff 50%, transparent 51%),
    radial-gradient(1.3px 1.3px at 73% 7%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 81% 24%, #fff 50%, transparent 51%),
    radial-gradient(1.7px 1.7px at 88% 15%, #fff3c9 50%, transparent 51%), radial-gradient(1px 1px at 95% 30%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 4% 38%, #fff 50%, transparent 51%), radial-gradient(1.1px 1.1px at 46% 36%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 29% 40%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 91% 41%, #fff 50%, transparent 51%);
  animation: twinkle 4s ease-in-out infinite alternate; }
@keyframes twinkle { from { filter: brightness(.65); } to { filter: brightness(1.35); } }
.hero-moon { position: absolute; right: 13%; top: 13%; width: clamp(34px, 4.2vw, 58px); aspect-ratio: 1; border-radius: 50%; box-shadow: inset -9px -5px 0 1px #fff1cf; transform: rotate(-24deg) translateY(calc((1 - var(--night)) * 60px)); opacity: var(--night); filter: drop-shadow(0 0 16px rgba(255, 240, 207, .5)); }
.hero-wick { position: absolute; left: 44%; bottom: max(3.2vh, 22px); height: clamp(120px, 22vh, 230px); aspect-ratio: 704 / 760; margin: 0; transform: translateX(-50%); z-index: 2; pointer-events: none; }
.hero-wick img { position: absolute; left: 50%; bottom: 0; height: 100%; width: auto; max-width: none; transform: translateX(-50%); }
.hw-dusk { height: 86% !important; filter: brightness(.88) saturate(.92); }
.hw-night { opacity: 0; }
.hw-glow { position: absolute; left: 36%; top: 48%; width: 260%; aspect-ratio: 1; translate: -50% -50%; border-radius: 50%; background: radial-gradient(circle, rgba(255, 196, 92, .42), rgba(255, 159, 46, .1) 40%, transparent 66%); opacity: 0; }
.snow { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 3; }
.hero-fade { position: absolute; left: 0; right: 0; bottom: 0; height: 40%; background: linear-gradient(transparent, #2a2150 88%); opacity: 0; pointer-events: none; z-index: 4; }

.hero-copy { position: absolute; left: 0; right: 0; top: clamp(92px, 14.5vh, 168px); text-align: center; padding-inline: var(--gutter); z-index: 5; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 10px; text-transform: uppercase; color: var(--ink); background: rgba(20, 12, 48, .3); padding: 7px 14px 7px 12px; border-radius: 99px; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14); }
.eyebrow .mono { font-size: 11px; letter-spacing: .14em; }
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--amber-300); box-shadow: 0 0 10px var(--amber-400); animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 5px rgba(255, 181, 71, 0), 0 0 14px var(--amber-400); } }
.sep { display: inline-block; width: 4px; height: 4px; border-radius: 50%; background: currentColor; opacity: .5; vertical-align: middle; margin: 0 2px; }
.title { font-family: var(--font-display); font-variation-settings: "SOFT" 100, "WONK" 1, "opsz" 144; font-weight: 800; font-size: clamp(4.2rem, 15.5vw, 15.5rem); line-height: .9; letter-spacing: -0.055em; margin: 0; color: var(--ink); text-shadow: 0 2px 0 rgba(90, 50, 110, .25), 0 10px 60px rgba(59, 44, 110, .45); white-space: nowrap; }
.title .ch { display: inline-block; will-change: transform; }
.ch-i { position: relative; }
.i-dot { position: absolute; left: 50%; top: .02em; width: .2em; height: .2em; margin-left: -.1em; border-radius: 50%; background: radial-gradient(circle, #fff 0%, #ffe39b 40%, #ffb547 75%); box-shadow: 0 0 .25em .08em rgba(255, 196, 92, .9), 0 0 1.2em .3em rgba(255, 159, 46, .45); animation: flicker 3.4s infinite; }
@keyframes flicker { 0%,100% { opacity: 1; } 46% { opacity: 1; } 48% { opacity: .55; } 50% { opacity: 1; } 52% { opacity: .8; } 54% { opacity: 1; } }
.hero-tag { font-family: var(--font-hand); font-weight: 600; font-size: clamp(1.9rem, 3.6vw, 3.1rem); color: var(--amber-100); margin: 6px 0 0; text-shadow: 0 2px 4px rgba(40, 22, 70, .55), 0 2px 24px rgba(255, 159, 46, .45); }
.hero-card { position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; width: fit-content; max-width: 100%; margin: 14px auto 0; padding: 16px 30px 14px; border-radius: 26px; background: radial-gradient(120% 140% at 50% 0%, rgba(30, 18, 66, .62), rgba(22, 14, 52, .42)); backdrop-filter: blur(12px) saturate(1.25); -webkit-backdrop-filter: blur(12px) saturate(1.25); box-shadow: inset 0 0 0 1px rgba(255, 226, 168, .18), 0 24px 60px -24px rgba(10, 6, 30, .8); }
.hc-kicker { display: flex; align-items: center; gap: 12px; margin: 0; color: #e9e3f6; }
.hc-kicker .mono { font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; white-space: nowrap; }
.hc-rule { width: 28px; height: 1px; background: linear-gradient(90deg, transparent, rgba(255, 210, 122, .8), transparent); }
.hc-main { margin: 0; font-family: var(--font-display); font-variation-settings: "SOFT" 100, "WONK" 1, "opsz" 48; font-weight: 500; font-size: clamp(1.25rem, 2vw, 1.75rem); line-height: 1.25; color: #f6f1e7; letter-spacing: -0.01em; text-shadow: 0 2px 14px rgba(13, 11, 33, .6); }
.hc-bubble { position: relative; display: inline-flex; align-items: center; gap: .4em; margin-left: .2em; padding: .14em .7em .2em .5em; border-radius: 1em 1em 1em .25em; background: linear-gradient(180deg, #ffd27a, #ffb547); color: #24163f; font-weight: 650; font-style: italic; text-shadow: none; box-shadow: 0 0 0 4px rgba(255, 181, 71, .18), 0 0 34px rgba(255, 181, 71, .55), 0 8px 18px -8px rgba(80, 30, 0, .6); animation: hcGlow 3.2s ease-in-out infinite; white-space: nowrap; }
.hc-bubble::after { content: ""; position: absolute; left: .55em; bottom: -.32em; width: .6em; height: .6em; background: #ffb547; clip-path: polygon(0 0, 100% 0, 0 100%); }
.hc-bulb { width: .55em; height: .55em; border-radius: 50%; background: radial-gradient(circle, #fff 0%, #fff3c9 45%, #ff9f2e 100%); box-shadow: 0 0 8px 2px rgba(255, 255, 255, .8); animation: flicker 3.4s infinite; }
@keyframes hcGlow { 50% { box-shadow: 0 0 0 7px rgba(255, 181, 71, .1), 0 0 48px rgba(255, 181, 71, .7), 0 8px 18px -8px rgba(80, 30, 0, .6); } }
.hc-hand { margin: 2px 0 0; font-family: var(--font-hand); font-weight: 600; font-size: clamp(1.35rem, 2vw, 1.75rem); line-height: 1; color: var(--amber-100); text-shadow: 0 2px 10px rgba(13, 11, 33, .7); }
@media (max-width: 640px) {
  .hero-card { padding: 14px 16px 12px; }
  .hc-kicker .mono { font-size: 9px; letter-spacing: .12em; }
  .hc-rule { width: 14px; }
  .hc-main { font-size: 1.15rem; }
  .hc-bubble { margin-top: 6px; }
}
.scroll-cue { position: absolute; left: var(--gutter); bottom: 28px; display: flex; align-items: center; gap: 12px; z-index: 5; color: var(--ink); }
.scroll-cue .mono { text-transform: uppercase; letter-spacing: .16em; font-size: 10.5px; text-shadow: 0 1px 8px rgba(13, 11, 33, .6); }
.scroll-cue i { position: relative; width: 22px; height: 34px; border-radius: 12px; box-shadow: inset 0 0 0 1.5px currentColor; }
.scroll-cue i::after { content: ""; position: absolute; left: 50%; top: 7px; width: 3px; height: 7px; margin-left: -1.5px; border-radius: 2px; background: var(--amber-300); animation: wheel 1.8s var(--ease-out) infinite; }
@keyframes wheel { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(10px); opacity: 0; } 100% { opacity: 0; } }
.hero-clock { position: absolute; right: var(--gutter); bottom: 30px; margin: 0; z-index: 5; color: var(--ink); font-size: 12px; letter-spacing: .1em; text-shadow: 0 1px 8px rgba(13, 11, 33, .6); }
@media (max-width: 640px) {
  .hero-clock, .scroll-cue .mono { display: none; }
  .eyebrow .mono { font-size: 9.5px; letter-spacing: .1em; }
  .l-city img { object-position: 70% 100%; }
  .hero-wick { left: 50%; bottom: 4vh; }
}

/* ---------- 2. moment ---------- */
.moment { position: relative; height: 430vh; }
.moment-sticky { position: sticky; top: 0; height: 100vh; height: 100svh; display: grid; grid-template-rows: auto minmax(0, 1fr) auto; row-gap: clamp(18px, 3.4vh, 36px); padding: clamp(84px, 11vh, 108px) var(--gutter) clamp(26px, 5vh, 48px); overflow: hidden; }
.moment-sticky .sec-head { width: min(var(--maxw), 100%); margin: 0 auto; }
.moment-frame { container-type: size; min-height: 0; display: grid; place-items: center; }
.moment-scene { position: relative; width: min(1080px, 100cqw, 100cqh * 1200 / 700); aspect-ratio: 1200 / 700; display: grid; grid-template-rows: 180fr 520fr; }
.moment-bubbles { position: relative; }
.moment-stage { position: relative; }
.moment-stage .table { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: auto; }
.mw { position: absolute; height: auto; filter: brightness(.66) saturate(.75); pointer-events: none; }
.mw-a { left: 1.5%; bottom: 33.5%; width: 27%; }
.mw-b { left: 41.5%; bottom: 33%; width: 17%; }
.mw-c { right: 1.5%; bottom: 33%; width: 21%; }
.bubble { position: absolute; bottom: 14%; margin: 0; translate: -50% 0; width: max-content; max-width: 31%; text-align: center; text-wrap: balance; padding: .55em 1em .62em; border-radius: 1.2em; background: var(--paper); color: var(--paper-ink); font-family: var(--font-hand); font-weight: 600; font-size: clamp(13px, 2.1cqw, 25px); line-height: 1.05; box-shadow: 0 10px 30px -12px rgba(0, 0, 0, .55); opacity: 0; transform-origin: 50% 130%; }
.bubble::before, .bubble::after { content: ""; position: absolute; left: 50%; border-radius: 50%; background: var(--paper); }
.bubble::before { width: .5em; height: .5em; bottom: -.62em; margin-left: -.1em; }
.bubble::after { width: .3em; height: .3em; bottom: -1.08em; margin-left: .1em; }
.b-a { left: 15%; }
.b-b { left: 50%; }
.b-c { left: 84%; }
.moment-lines { list-style: none; margin: 0 auto; padding: 0; width: min(var(--maxw), 100%); position: relative; height: 2.4em; font-family: var(--font-display); font-variation-settings: "SOFT" 60, "opsz" 72; font-size: clamp(1.4rem, 3vw, 2.5rem); line-height: 1.15; font-weight: 500; letter-spacing: -0.02em; }
.moment-lines li { position: absolute; left: 0; right: 0; bottom: 0; opacity: 0; }
.moment-lines b { color: var(--amber-300); font-weight: 650; }
.moment-punch { font-weight: 650; }
@media (max-width: 640px) {
  .moment-lines { height: 3.5em; font-size: 1.32rem; }
  .bubble { max-width: 32%; padding: .45em .7em .52em; }
}

/* ---------- 3. why ---------- */
.why { padding: 20vh 0 16vh; }
.boards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; perspective: 1200px; }
.board { position: relative; background: linear-gradient(180deg, #0f0d1a, #0a0912); border-radius: 18px; padding: 24px 26px 22px; border: 1px solid #2a2740; box-shadow: inset 0 0 0 6px #14121f, inset 0 0 0 7px #24213a, 0 30px 60px -30px rgba(0, 0, 0, .8); overflow: hidden; display: flex; flex-direction: column; }
.board::before { content: ""; position: absolute; top: 12px; left: 12px; right: 12px; bottom: 12px; pointer-events: none; border-radius: 10px;
  background: radial-gradient(circle at 0 0, #3a3656 2.5px, transparent 3px) 0 0 / 100% 100% no-repeat,
              radial-gradient(circle at 100% 0, #3a3656 2.5px, transparent 3px) 0 0 / 100% 100% no-repeat,
              radial-gradient(circle at 0 100%, #3a3656 2.5px, transparent 3px) 0 0 / 100% 100% no-repeat,
              radial-gradient(circle at 100% 100%, #3a3656 2.5px, transparent 3px) 0 0 / 100% 100% no-repeat; }
.board::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(112deg, rgba(255, 255, 255, .06), transparent 38%); }
.board-wide { grid-column: 1 / -1; display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto auto; column-gap: 44px; align-items: center; }
.board-wide .board-top { grid-column: 1 / -1; }
.board-wide .board-big { grid-row: 2 / 4; }
.board-top { display: flex; justify-content: space-between; font-family: var(--font-dot); font-size: 13px; color: #7d7899; letter-spacing: .12em; border-bottom: 1px dashed #2b2840; padding-bottom: 11px; margin-bottom: 16px; }
.board-time { color: var(--teal-400); text-shadow: 0 0 8px rgba(92, 194, 182, .5); }
.board-title { font-family: var(--font-dot); font-weight: 400; color: var(--amber-400); font-size: clamp(1.25rem, 2vw, 1.6rem); line-height: 1.2; margin: 0 0 12px; letter-spacing: .05em; text-shadow: 0 0 10px rgba(255, 159, 46, .65), 0 0 2px rgba(255, 210, 122, .8); }
.board-big { font-size: clamp(3.4rem, 9vw, 7rem); line-height: 1; margin: 0; }
.board-body { margin: 0 0 16px; color: #dcd6f0; font-size: 16px; line-height: 1.55; }
.board-body b { color: var(--amber-300); font-weight: 600; }
.board-src { margin-top: auto; font-size: 12.5px; color: #85809f; line-height: 1.45; }
.board-src i { color: #a8a2c6; }
.ticker { margin-top: 22px; border-radius: 12px; background: #0a0912; border: 1px solid #2a2740; overflow: hidden; padding: 11px 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.ticker-track { display: flex; gap: 60px; width: max-content; animation: tick 48s linear infinite; font-family: var(--font-dot); font-size: 14px; letter-spacing: .14em; color: var(--amber-400); text-shadow: 0 0 8px rgba(255, 159, 46, .6); }
.ticker-track span::before { content: "◆"; margin-right: 60px; color: var(--teal-400); font-size: 10px; vertical-align: 2px; }
@keyframes tick { to { transform: translateX(-50%); } }
@media (max-width: 980px) { .boards { grid-template-columns: 1fr; } .board-wide { grid-template-columns: 1fr; } .board-wide .board-big { grid-row: auto; } }

.our-research { margin-top: 70px; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 22px; margin-bottom: 30px; }
.stat { border-top: 1px solid var(--line-strong); padding-top: 16px; }
.stat b { display: block; font-family: var(--font-display); font-size: clamp(2.6rem, 5vw, 4rem); line-height: 1; color: var(--amber-300); }
.stat span { color: var(--ink-soft); font-size: 15px; }
.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 22px; }
.quote { margin: 0; font-family: var(--font-hand); font-size: 1.7rem; line-height: 1.2; color: var(--ink); }
.quote cite { display: block; font-family: var(--font-mono); font-style: normal; font-size: 11px; color: var(--muted); margin-top: 8px; letter-spacing: .06em; }

/* ---------- 4. idea ---------- */
.idea { position: relative; height: 260vh; }
.idea-pin { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: grid; place-items: center; }
.idea-window { position: absolute; inset: 0; clip-path: inset(24% 36% 24% 36% round 999px 999px 18px 18px); will-change: clip-path; box-shadow: 0 0 0 1px rgba(255, 210, 122, .4); }
.idea-window::after { content: ""; position: absolute; inset: 0; pointer-events: none; box-shadow: inset 0 0 120px 30px rgba(255, 170, 80, .25); }
.idea-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; transform-origin: 50% 50%; will-change: transform; }
.idea-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(9, 7, 28, .9) 0%, rgba(9, 7, 28, .72) 34%, rgba(9, 7, 28, .18) 62%, rgba(9, 7, 28, 0) 80%), linear-gradient(180deg, rgba(9, 7, 28, .35), transparent 30%); opacity: 0; }
.idea-copy { position: relative; z-index: 2; width: min(var(--maxw), 100% - 2 * var(--gutter)); padding-top: 6vh; }
.idea-copy .display { margin-bottom: 26px; max-width: 11ch; text-shadow: 0 4px 40px rgba(9, 7, 28, .6); }
.idea-copy .lede { color: #ece6f7; text-shadow: 0 1px 16px rgba(9, 7, 28, .7); }
.idea-wick { position: absolute; z-index: 2; right: max(var(--gutter), 6vw); bottom: 0; height: clamp(170px, 34vh, 340px); width: auto; filter: drop-shadow(0 20px 40px rgba(0, 0, 0, .45)); }
@media (max-width: 640px) { .idea-wick { height: 22vh; right: 4vw; } .idea-copy { padding-top: 0; } }

/* ---------- 5. how ---------- */
.how { padding: 16vh 0 12vh; }
.how-grid { display: grid; grid-template-columns: minmax(320px, 420px) 1fr; gap: clamp(30px, 7vw, 120px); align-items: start; }
.how-phone-col { position: sticky; top: max(84px, calc(50vh - 390px)); display: flex; flex-direction: column; align-items: center; gap: 14px; }
.phone { position: relative; width: 360px; max-width: 100%; aspect-ratio: 360 / 740; border-radius: 56px; padding: 11px; background: linear-gradient(150deg, #3a3170 0%, #1a1636 22%, #0b0918 60%, #241e48 100%); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .14), inset 0 0 0 5px #0a0816, 0 60px 120px -30px rgba(0, 0, 0, .85), 0 0 140px -30px rgba(255, 181, 71, .35); }
.phone iframe { width: 100%; height: 100%; border: 0; border-radius: 46px; background: var(--night-900); }
.phone-notch { position: absolute; top: 23px; left: 50%; width: 96px; height: 27px; margin-left: -48px; border-radius: 20px; background: #04030a; z-index: 2; pointer-events: none; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .04); }
.phone-btn { position: absolute; width: 4px; border-radius: 2px; background: linear-gradient(90deg, #2b2554, #4a4080); }
.phone-btn.b1 { left: -3px; top: 120px; height: 34px; } .phone-btn.b2 { left: -3px; top: 168px; height: 58px; } .phone-btn.b3 { right: -3px; top: 150px; height: 82px; }
.phone-hint { display: flex; align-items: center; gap: 4px; margin: 0; }
.phone-hint svg { width: 46px; height: 30px; fill: none; stroke: var(--amber-300); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.phone-hint .hand { font-size: 1.6rem; }
.how-steps { list-style: none; margin: 0; padding: 0; }
.how-step { position: relative; min-height: 64vh; display: flex; flex-direction: column; justify-content: center; opacity: .26; transition: opacity .6s var(--ease-out); max-width: 520px; padding-left: 28px; border-left: 1px solid var(--line); }
.how-step::before { content: ""; position: absolute; left: -4px; top: 50%; width: 7px; height: 7px; border-radius: 50%; background: var(--muted); transition: background .4s, box-shadow .4s; }
.how-step.is-active { opacity: 1; }
.how-step.is-active::before { background: var(--amber-300); box-shadow: 0 0 0 4px rgba(255, 181, 71, .18), 0 0 14px var(--amber-400); }
.step-n { color: var(--amber-300); font-size: 11.5px; letter-spacing: .14em; }
.how-step h3 { font-family: var(--font-display); font-weight: 650; font-variation-settings: "SOFT" 100, "WONK" 1, "opsz" 96; font-size: clamp(2rem, 3.8vw, 3.3rem); line-height: 1; letter-spacing: -0.03em; margin: 12px 0 16px; }
.how-step p { margin: 0; color: var(--ink-soft); font-size: 1.1rem; line-height: 1.6; }
.step-wick { position: absolute; right: -10px; bottom: 6vh; width: 120px; height: auto; opacity: 0; transform: translateX(-40px); transition: opacity .6s, transform 1.2s var(--ease-out); }
.how-step.is-active .step-wick { opacity: 1; transform: none; }
.how-steps-col > .sec-head { margin-bottom: 0; }
@media (max-width: 900px) {
  .how-grid { grid-template-columns: 1fr; }
  .how-phone-col { position: relative; top: 0; order: 2; }
  .phone { width: min(360px, 88vw); }
  .how-step { min-height: auto; opacity: 1; padding: 28px 0 28px 22px; }
  .step-wick { display: none; }
}

/* ---------- 6. postcards ---------- */
.three { padding: 14vh 0 18vh; }
.postcards { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 40px); perspective: 1400px; }
.postcard { position: relative; background: var(--paper); color: var(--paper-ink); border-radius: 6px; padding: 12px 12px 26px; transform: rotate(var(--r)); transform-style: preserve-3d; box-shadow: 0 1px 0 rgba(255, 255, 255, .6) inset, 0 2px 4px rgba(0, 0, 0, .25), 0 30px 60px -24px rgba(0, 0, 0, .7); transition: transform .7s var(--ease-out), box-shadow .7s var(--ease-out);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='p'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 .42 0 0 0 0 .34 0 0 0 0 .25 0 0 0 .09 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23p)'/%3E%3C/svg%3E"); }
.postcard:hover { box-shadow: 0 1px 0 rgba(255, 255, 255, .6) inset, 0 4px 8px rgba(0, 0, 0, .25), 0 50px 80px -24px rgba(0, 0, 0, .8), 0 0 80px -20px rgba(255, 181, 71, .35); }
.tape { position: absolute; top: -14px; left: 50%; width: 112px; height: 30px; translate: -50% 0; rotate: calc(var(--r) * -2.2); background: linear-gradient(180deg, rgba(255, 246, 222, .82), rgba(244, 228, 196, .78)); box-shadow: 0 1px 3px rgba(0, 0, 0, .18); -webkit-mask: linear-gradient(90deg, transparent 0 2px, #000 2px calc(100% - 2px), transparent calc(100% - 2px)), repeating-linear-gradient(transparent 0 3px, #000 3px 6px); -webkit-mask-composite: source-over; z-index: 2; }
.pc-photo { position: relative; border-radius: 3px; overflow: hidden; aspect-ratio: 4 / 3; background: #f4ecdf; }
.pc-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.postcard:hover .pc-photo img { transform: scale(1.04); }
.pc-photo::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 1px rgba(43, 33, 64, .08); border-radius: 3px; }
.pc-body { padding: 18px 10px 0; }
.pc-from { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin: 0 0 6px; }
.pc-from .mono { color: #8a7b6c; font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; }
.pc-from .hand { color: #b2591e; font-size: 1.55rem; }
.postcard h3 { font-family: var(--font-display); font-variation-settings: "SOFT" 100, "WONK" 1, "opsz" 72; font-weight: 700; font-size: 2rem; line-height: 1; letter-spacing: -0.03em; margin: 0 0 10px; color: var(--paper-ink); }
.postcard p { margin: 0; font-size: 15.5px; line-height: 1.55; color: #4a4060; }
.stamp { position: absolute; right: 22px; top: 22px; z-index: 2; box-shadow: 0 2px 6px rgba(0, 0, 0, .18); width: 44px; height: 52px; display: grid; place-items: center; color: #3a2f5c; background: #efe3cf; border: 2px dashed rgba(178, 89, 30, .45); border-radius: 3px; rotate: 6deg; opacity: .9; }
.stamp svg { width: 26px; height: 26px; }
@media (max-width: 980px) { .postcards { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; gap: 44px; } }

/* ---------- 7. sky ---------- */
.sky { position: relative; min-height: 112vh; display: flex; align-items: center; overflow: hidden; cursor: crosshair; }
#skyCanvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.sky-copy { position: relative; z-index: 2; padding: 0 var(--gutter); width: min(var(--maxw), 100%); margin: 0 auto; pointer-events: none; }
.sky-copy .display { max-width: 13ch; }
.sky-meta { display: flex; align-items: baseline; gap: 22px; flex-wrap: wrap; margin-top: 30px; color: var(--muted); }
.sky-count { text-transform: uppercase; letter-spacing: .14em; font-size: 11px; }
.sky-count b { color: var(--amber-300); font-size: 15px; font-variant-numeric: tabular-nums; margin-right: 6px; }

/* ---------- 8. safety + token ---------- */
.safety { padding: 14vh 0 12vh; }
.safety-wick { width: clamp(150px, 16vw, 220px); height: auto; margin: 0 10px -6px 0; filter: drop-shadow(0 20px 30px rgba(0, 0, 0, .4)); }
.safe-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.safe-grid li { position: relative; padding: 30px 30px 34px 0; border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: 8px; }
.safe-grid li:not(:nth-child(3n + 1)) { padding-left: 30px; border-left: 1px solid var(--line); }
.ico { width: 34px; height: 34px; margin-bottom: 10px; fill: none; stroke: var(--amber-300); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 0 6px rgba(255, 181, 71, .35)); }
.ico .fill-ink { fill: var(--night-850); }
.ico .fill-amber { fill: var(--amber-400); stroke: none; }
.ico .tick { stroke: var(--teal-400); stroke-width: 1.8; }
.ico .strike { stroke: var(--rose-400); }
.safe-grid b { font-family: var(--font-display); font-variation-settings: "SOFT" 60, "opsz" 36; font-size: 1.42rem; font-weight: 600; letter-spacing: -0.015em; }
.safe-grid span { color: var(--ink-soft); font-size: 15.5px; line-height: 1.55; }
@media (max-width: 900px) { .safe-grid { grid-template-columns: 1fr 1fr; } .safe-grid li, .safe-grid li:not(:nth-child(3n + 1)) { padding: 26px 20px 28px 0; border-left: 0; } .safe-grid li:nth-child(2n) { padding-left: 20px; border-left: 1px solid var(--line); } }
@media (max-width: 560px) { .safe-grid { grid-template-columns: 1fr; } .safe-grid li:nth-child(2n) { padding-left: 0; border-left: 0; } }

.token { margin: clamp(70px, 10vw, 130px) 0 0; display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(30px, 5vw, 80px); align-items: center; }
.token-img { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3.2; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .8), 0 0 0 1px var(--line); }
.token-img img { position: absolute; inset: -8% 0; width: 100%; height: 116%; object-fit: cover; will-change: transform; }
.token-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 60%, rgba(13, 11, 33, .35)); pointer-events: none; }
.token-copy p { color: var(--ink-soft); margin: 0 0 26px; }
.token-copy i { color: var(--amber-300); }
.specs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin: 0; border-top: 1px solid var(--line); }
.specs div { padding: 14px 14px 0 0; }
.specs div + div { padding-left: 14px; border-left: 1px solid var(--line); }
.specs dt { color: var(--amber-300); text-transform: uppercase; letter-spacing: .14em; font-size: 10px; margin-bottom: 6px; }
.specs dd { margin: 0; font-size: 14.5px; color: var(--ink); line-height: 1.4; }
@media (max-width: 900px) { .token { grid-template-columns: 1fr; } }

/* ---------- 9. roadmap ---------- */
.roadmap { position: relative; }
.roadmap-pin { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; padding: 100px 0 60px; overflow: hidden; }
.roadmap-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; }
.roadmap-head .sec-head { margin-bottom: 10px; }
.line-badge { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 18px; padding: 8px 16px 8px 8px; border-radius: 99px; background: #f2f0f7; color: #1a1530; }
.line-badge .mono { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; font-weight: 600; }
.lb-dot { width: 22px; height: 22px; border-radius: 50%; background: #e8384f; box-shadow: inset 0 0 0 4px #f2f0f7, 0 0 0 2px #e8384f; }
.line-viewport { width: 100%; overflow: hidden; }
.line-track { position: relative; display: inline-block; padding: 92px var(--gutter) 20px; will-change: transform; }
.line-rail { position: absolute; left: var(--gutter); right: var(--gutter); top: 118px; height: 8px; border-radius: 8px; background: rgba(255, 255, 255, .08); box-shadow: inset 0 1px 0 rgba(0, 0, 0, .3); }
.line-rail::before { content: ""; position: absolute; inset: -6px 0; background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .06) 0 2px, transparent 2px 14px); }
.line-rail-fill { position: absolute; inset: 0; border-radius: 8px; background: linear-gradient(90deg, #e8384f, var(--amber-400)); transform-origin: 0 50%; transform: scaleX(0); box-shadow: 0 0 18px rgba(232, 56, 79, .5); }
.train { position: absolute; top: 70px; left: var(--gutter); width: 190px; z-index: 2; filter: drop-shadow(0 8px 16px rgba(232, 56, 79, .4)); }
.stations { list-style: none; margin: 0; padding: 0; display: flex; gap: 44px; }
.station { position: relative; width: 340px; flex: none; padding-top: 78px; }
.st-dot { position: absolute; top: 15px; left: 0; width: 30px; height: 30px; border-radius: 50%; background: #f2f0f7; border: 6px solid #e8384f; box-shadow: 0 0 0 4px var(--night-900); }
.st-when { color: var(--teal-400); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; }
.station h3 { font-family: var(--font-display); font-variation-settings: "SOFT" 60, "opsz" 48; font-weight: 650; font-size: 1.95rem; line-height: 1.05; margin: 8px 0 10px; letter-spacing: -0.025em; }
.station p { margin: 0; color: var(--ink-soft); font-size: 15.5px; max-width: 32ch; line-height: 1.55; }
@media (max-width: 900px) {
  .roadmap-head { flex-direction: column; align-items: flex-start; }
  .line-track { display: block; padding-top: 10px; }
  .line-rail { left: calc(var(--gutter) + 11px); right: auto; top: 20px; bottom: 20px; width: 8px; height: auto; }
  .line-rail::before { display: none; }
  .line-rail-fill { transform-origin: 50% 0; }
  .train { display: none; }
  .stations { flex-direction: column; gap: 36px; padding-left: 50px; }
  .station { width: auto; padding-top: 0; }
  .st-dot { left: -50px; top: 2px; }
}

/* ---------- 10. end ---------- */
.end { position: relative; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; overflow: hidden; cursor: pointer; }
.end-bg { position: absolute; inset: 0; }
.end-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 70%; filter: brightness(.55) saturate(.95); }
.end-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, var(--night-900) 0%, rgba(13, 11, 33, .55) 30%, rgba(13, 11, 33, .35) 60%, rgba(13, 11, 33, .9) 100%); }
#lanternCanvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.end-copy { position: relative; z-index: 2; text-align: center; padding: 14vh var(--gutter) 8vh; margin-block: auto; pointer-events: none; display: flex; flex-direction: column; align-items: center; }
.end-wick { height: clamp(140px, 20vh, 210px); width: auto; margin-bottom: 18px; filter: drop-shadow(0 0 40px rgba(255, 181, 71, .45)); }
.end-copy .display { font-size: clamp(2.4rem, 6.4vw, 6rem); max-width: 16ch; text-shadow: 0 4px 40px rgba(9, 7, 28, .7); }
.end-ctas { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 42px; pointer-events: auto; }
.end-note { margin-top: 26px; font-size: 1.45rem; }
.footer { position: relative; z-index: 2; display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 30px; padding: 34px var(--gutter) 40px; border-top: 1px solid var(--line); background: rgba(9, 7, 28, .55); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); font-size: 14.5px; color: var(--ink-soft); cursor: default; }
.f-brand { display: flex; flex-direction: column; gap: 10px; }
.f-brand .logo-word { font-size: 30px; }
.f-brand .mono { color: var(--muted); font-size: 11px; letter-spacing: .1em; }
.f-col { display: flex; flex-direction: column; gap: 6px; }
.f-h { color: var(--amber-300); text-transform: uppercase; letter-spacing: .14em; font-size: 10.5px; margin-bottom: 6px; }
.f-col a { text-decoration: none; width: fit-content; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .4s var(--ease-out), color .3s; }
.f-col a:hover { color: var(--amber-300); background-size: 100% 1px; }
@media (max-width: 760px) { .footer { grid-template-columns: 1fr 1fr; } .f-brand { grid-column: 1 / -1; } }

/* ---------- split text helpers ---------- */
.line-mask-inner { padding-bottom: .06em; }

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .hero, .moment, .idea { height: auto; }
  .hero-sticky, .moment-sticky, .idea-pin { position: relative; }
  .moment-sticky { height: auto; }
  .moment-lines li { position: relative; opacity: 1; }
  .bubble { opacity: 1; }
  .idea-window { clip-path: none; }
  .idea-shade { opacity: 1; }
  .grain { display: none; }
}
@media (max-width: 760px) {
  .idea-shade { background: linear-gradient(180deg, rgba(9, 7, 28, .55) 0%, rgba(9, 7, 28, .82) 30%, rgba(9, 7, 28, .78) 62%, rgba(9, 7, 28, .2) 85%); }
}

/* ---------- 2b. moment backdrop: the food court ---------- */
.moment-room { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.moment-room svg { width: 100%; height: 100%; display: block; }
.moment-sticky > :not(.moment-room) { position: relative; z-index: 1; }
.moment-sticky .sec-head { text-shadow: 0 2px 24px rgba(20, 14, 50, .8); }
.moment-lines { text-shadow: 0 2px 20px rgba(13, 11, 33, .9); }
.r-star { fill: #fff; animation: rTw 3s ease-in-out infinite alternate; }
@keyframes rTw { from { opacity: .3; } to { opacity: 1; } }
.r-flake { fill: #fff; opacity: .8; animation: rSnow linear infinite; }
@keyframes rSnow { from { transform: translateY(-40px); } to { transform: translateY(420px); } }
.r-citylight { fill: #ffc35c; animation: rTw 4s ease-in-out infinite alternate; }
.r-frame { fill: none; stroke: #4a3f86; stroke-width: 10; }
.r-mullion { fill: none; stroke: #4a3f86; stroke-width: 5; }
.r-sill { fill: #4a3f86; }
.r-sillsnow { fill: none; stroke: #d9d2f2; stroke-width: 5; stroke-linecap: round; }
.r-glare { stroke: #fff; stroke-width: 6; opacity: .06; stroke-linecap: round; }
.r-patch { fill: #8f86d6; opacity: .05; }
.r-cord { stroke: #120f2c; stroke-width: 2; }
.r-shade { fill: #1b1538; stroke: #4a3f86; stroke-width: 2; }
.r-bulb { fill: #ffe7a8; filter: drop-shadow(0 0 10px #ffc35c); }
.r-lamp { animation: rSway 7s ease-in-out infinite; transform-origin: 50% 0; transform-box: view-box; }
@keyframes rSway { 50% { transform: rotate(.4deg); } }
.r-clock-rim { fill: #3a3070; }
.r-clock-face { fill: #f4ecdf; }
.r-tick { stroke: #3a3070; stroke-width: 2.4; stroke-linecap: round; }
.r-hour { stroke: #241a3f; stroke-width: 5; stroke-linecap: round; }
.r-min { stroke: #241a3f; stroke-width: 3; stroke-linecap: round; }
.r-pin { fill: #e8607a; }
.r-menu-bg { fill: #3a3070; }
.r-menu-in { fill: #161229; }
.r-menu-title { font: 16px "DotGothic16", monospace; fill: #ffb547; text-anchor: middle; letter-spacing: 3px; }
.r-menu-rule { stroke: #3a3070; stroke-width: 1.5; stroke-dasharray: 4 3; }
.r-menu-line { font: 11px "DotGothic16", monospace; fill: #d9d2ea; letter-spacing: 1px; }
.r-menu-price { font: 11px "DotGothic16", monospace; fill: #5cc2b6; text-anchor: end; }
.r-board-frame { fill: #4a3f86; }
.r-cork { fill: #8a6450; }
.r-note { filter: drop-shadow(0 2px 2px rgba(0, 0, 0, .35)); }
.r-note-t { font: 11px "Caveat", cursive; font-weight: 700; fill: #3a2f4c; text-anchor: middle; }
.r-tack { fill: #e8607a; }
.r-wainscot { fill: #241c4c; }
.r-rail { stroke: #4a3f86; stroke-width: 6; }
.r-slat { stroke: #1d1640; stroke-width: 2; }
.r-floorline { stroke: #2b2358; stroke-width: 1.2; opacity: .55; }
.r-table { fill: #1a1438; }
.r-person { fill: #1d1742; }
.r-phones { fill: none; stroke: #120f2c; stroke-width: 4; }
.r-phone { fill: #9fd3ff; }
.r-glow { fill: #9fd3ff; opacity: .2; filter: blur(4px); animation: rGlow 3s ease-in-out infinite alternate; }
@keyframes rGlow { from { opacity: .12; } to { opacity: .32; } }
.r-people { opacity: .9; }
.r-pot { fill: #4a3f86; }
.r-stem { fill: none; stroke: #23704f; stroke-width: 3; }
.r-leaf { fill: #2e8a63; }
@media (prefers-reduced-motion: reduce) { .r-flake, .r-lamp, .r-star, .r-glow, .r-citylight { animation: none; } }
