/* SI RAILWAY v2 — "Signal": ink black, cool paper, one vermilion signal. Two hairlines run through everything. */
:root {
  color-scheme: dark;
  --ink: #07080a;
  --ink-2: #0d0f12;
  --ink-3: #14171b;
  --paper: #f1f2ef;
  --paper-2: #e6e8e4;
  --text: #f3f4f2;
  --text-2: #a7acb1;
  --text-3: #747a80;
  --line: rgba(243, 244, 242, 0.13);
  --line-2: rgba(243, 244, 242, 0.28);
  --signal: #55e0a0;
  --signal-ink: #0b7a4b; /* signal on paper (AA for small text) */
  --paper-text: #0b0c0e;
  --paper-text-2: #50565c;
  --paper-line: rgba(11, 12, 14, 0.14);

  --f-display: "Shippori Mincho B1", "Noto Serif JP", "Hiragino Mincho ProN", serif;
  --f-sans: "Inter Tight", "Inter", "Noto Sans JP", "Hiragino Sans", system-ui, sans-serif;
  --f-ja: "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --maxw: 1280px;
  --gutter: clamp(20px, 4.5vw, 64px);
  --rail-x: clamp(10px, 2.2vw, 28px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; background: var(--ink); }
body {
  margin: 0; background: var(--ink); color: var(--text);
  font-family: var(--f-sans), var(--f-ja); font-size: 16.5px; line-height: 1.9; letter-spacing: 0.015em;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden;
}
:lang(ja) { font-family: var(--f-ja), var(--f-sans); }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
p { margin: 0; }
::selection { background: var(--signal); color: var(--ink); }
:focus-visible { outline: 2px solid var(--signal); outline-offset: 4px; border-radius: 2px; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--signal); color: var(--ink); padding: 8px 14px; z-index: 200; font-weight: 600; }
.skip-link:focus { left: 8px; }

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- the rails: two hairlines down the left edge ---------- */
.rails-v { position: fixed; top: 0; bottom: 0; left: var(--rail-x); width: 7px; z-index: 5; pointer-events: none; }
.rails-v::before, .rails-v::after { content: ""; position: absolute; top: 0; bottom: 0; width: 1px; background: var(--line); }
.rails-v::before { left: 0; }
.rails-v::after { right: 0; }
.rails-v i { position: absolute; left: 0; right: 0; height: var(--p, 0%); top: 0; border-left: 1px solid var(--signal); border-right: 1px solid transparent; opacity: .9; }
.rails-v i::after { content: ""; position: absolute; left: -3px; bottom: -3px; width: 7px; height: 7px; border-radius: 50%; background: var(--signal); box-shadow: 0 0 18px 2px rgba(85, 224, 160, .55); }

/* ---------- header ---------- */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 60; mix-blend-mode: normal; transition: background .3s, border-color .3s; border-bottom: 1px solid transparent; }
.site-header.is-scrolled { background: rgba(7, 8, 10, 0.78); backdrop-filter: blur(14px) saturate(1.3); -webkit-backdrop-filter: blur(14px) saturate(1.3); border-bottom-color: var(--line); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 68px; padding-left: calc(var(--gutter) + var(--rail-x)); }
.logo { display: inline-flex; align-items: center; gap: 12px; font-family: var(--f-sans); font-weight: 600; letter-spacing: .26em; font-size: 13px; text-transform: uppercase; }
.logo-mark { width: 24px; height: 14px; }
.logo-mark line { stroke: var(--text); stroke-width: 1.5; stroke-linecap: round; }
.logo-mark line + line { stroke: var(--signal); }
.nav { display: flex; gap: clamp(18px, 3vw, 40px); font-family: var(--f-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }
.nav a { color: var(--text-2); padding: 8px 0; position: relative; transition: color .2s; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); }
.nav a[aria-current="page"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: var(--signal); }

main { padding-left: var(--rail-x); }

/* ---------- type ---------- */
.eyebrow { font-family: var(--f-mono); font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--text-3); display: flex; align-items: center; gap: 14px; margin: 0 0 28px; }
.eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--signal); }
.light .eyebrow { color: var(--paper-text-2); }
.light .eyebrow::before { background: var(--signal-ink); }
.h-hero { font-family: var(--f-display); font-weight: 700; font-size: clamp(40px, 8.6vw, 150px); line-height: 1.12; letter-spacing: -.02em; margin: 0; }
.h-hero .dim { color: var(--text-3); display: block; white-space: nowrap; }
.h-page { font-family: var(--f-display); font-weight: 700; font-size: clamp(40px, 7vw, 108px); line-height: 1.12; letter-spacing: -.015em; margin: 0; }
.h-section { font-family: var(--f-display); font-weight: 700; font-size: clamp(30px, 4.6vw, 64px); line-height: 1.25; letter-spacing: -.01em; margin: 0 0 24px; }
.h-card { font-family: var(--f-display); font-weight: 700; font-size: clamp(24px, 2.8vw, 38px); line-height: 1.3; margin: 0; }
.lead { font-size: clamp(16px, 1.5vw, 20px); line-height: 2; color: var(--text-2); max-width: 38em; }
.lead strong { color: var(--text); font-weight: 500; }
.mono { font-family: var(--f-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }
.dim { color: var(--text-3); }
.small { font-size: 14px; line-height: 1.8; }

/* ---------- sections ---------- */
.section { padding-block: clamp(88px, 13vw, 190px); position: relative; }
.section.tight { padding-block: clamp(56px, 8vw, 110px); }
.light { background: var(--paper); color: var(--paper-text); }
.light .lead, .light .dim { color: var(--paper-text-2); }
.light .lead strong { color: var(--paper-text); }
.ink-2 { background: var(--ink-2); }
.hr { height: 1px; background: var(--line); border: 0; margin: 0; }
.light .hr { background: var(--paper-line); }
.two-col { display: grid; grid-template-columns: 4fr 8fr; gap: clamp(28px, 6vw, 112px); align-items: start; }

/* ---------- hero ---------- */
.hero { min-height: min(100svh, 980px); display: flex; align-items: flex-end; padding: 140px 0 clamp(48px, 7vw, 96px); position: relative; overflow: hidden; }
.hero .container { position: relative; z-index: 3; padding-left: calc(var(--gutter) + var(--rail-x)); }
.hero-foot { margin-top: clamp(36px, 5vw, 72px); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 32px; border-top: 1px solid var(--line); padding-top: 28px; }
.hero-foot .lead { font-size: clamp(15px, 1.4vw, 18px); max-width: 30em; }
.hero-art { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.hero-art svg { width: 100%; height: 100%; }
.hero-art path { fill: none; vector-effect: non-scaling-stroke; stroke-width: 1; }
.hero-art .a { stroke: rgba(243, 244, 242, .28); }
.hero-art .b { stroke: var(--signal); opacity: .85; }
.glow { position: absolute; z-index: 0; width: 60vw; height: 60vw; right: -20vw; top: -20vw; background: radial-gradient(closest-side, rgba(85, 224, 160, .13), transparent); pointer-events: none; }

/* ---------- buttons / links ---------- */
.btn { display: inline-flex; align-items: center; gap: 14px; padding: 15px 26px; border: 1px solid var(--line-2); font-family: var(--f-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; transition: background .25s, color .25s, border-color .25s; }
.btn:hover { background: var(--text); color: var(--ink); border-color: var(--text); }
.btn.solid { background: var(--signal); border-color: var(--signal); color: var(--ink); font-weight: 600; }
.btn.solid:hover { background: var(--text); border-color: var(--text); }
.light .btn { border-color: rgba(11,12,14,.35); }
.light .btn:hover { background: var(--paper-text); color: var(--paper); }
.arrow::after { content: "→"; transition: transform .25s; }
.arrow:hover::after { transform: translateX(4px); }
.link { border-bottom: 1px solid var(--line-2); padding-bottom: 2px; transition: border-color .2s, color .2s; }
.link:hover { border-color: var(--signal); color: var(--signal); }
.light .link { border-color: rgba(11,12,14,.3); }
.light .link:hover { color: var(--signal-ink); border-color: var(--signal-ink); }

/* ---------- status ---------- */
.status { display: inline-flex; align-items: center; gap: 9px; font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--text-2); white-space: nowrap; }
.status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--text-3); }
.status.is-live { color: var(--text); }
.status.is-live::before { background: var(--signal); box-shadow: 0 0 10px 1px rgba(85, 224, 160, .7); }
.status.is-prep::before { background: transparent; border: 1.5px solid var(--signal); }
.status.is-dev::before { background: transparent; border: 1.5px solid var(--text-2); }
.status.is-idea::before { background: transparent; border: 1px dashed var(--text-3); }
.light .status { color: var(--paper-text-2); }
.light .status.is-live { color: var(--paper-text); }
.light .status.is-live::before { background: var(--signal-ink); box-shadow: none; }
.light .status.is-prep::before { border-color: var(--signal-ink); }
.light .status.is-dev::before { border-color: var(--paper-text-2); }

/* ---------- index list (work as rows) ---------- */
.index { border-top: 1px solid var(--line); }
.index .row { display: grid; grid-template-columns: 64px minmax(0, 5fr) minmax(0, 5fr) 190px 28px; gap: clamp(14px, 2.4vw, 36px); align-items: baseline; padding: clamp(24px, 3vw, 40px) 0; border-bottom: 1px solid var(--line); position: relative; transition: background .3s, padding .3s; }
.index a.row:hover { background: linear-gradient(90deg, rgba(85,224,160,.07), transparent 70%); }
.index .no { font-family: var(--f-mono); font-size: 12px; color: var(--text-3); letter-spacing: .1em; }
.index .name { font-family: var(--f-display); font-weight: 700; font-size: clamp(24px, 3vw, 42px); line-height: 1.25; }
.index .name small { display: block; font-family: var(--f-mono); font-size: 11.5px; font-weight: 400; letter-spacing: .14em; text-transform: uppercase; color: var(--text-3); margin-top: 6px; }
.index .desc { color: var(--text-2); font-size: 15px; line-height: 1.85; }
.index .go { font-family: var(--f-mono); color: var(--text-3); transition: color .2s, transform .25s; justify-self: end; }
.index a.row:hover .go { color: var(--signal); transform: translate(3px, -3px); }
.light .index, .light .index .row { border-color: var(--paper-line); }
.light .index .desc { color: var(--paper-text-2); }
.light .index .no, .light .index .name small, .light .index .go { color: var(--paper-text-2); }

/* ---------- feature (large product block) ---------- */
.feature { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(28px, 5vw, 80px); align-items: center; padding-block: clamp(40px, 6vw, 80px); border-top: 1px solid var(--line); }
.feature:last-child { border-bottom: 1px solid var(--line); }
.feature .visual { aspect-ratio: 16/10; background: var(--ink-3); border: 1px solid var(--line); position: relative; overflow: hidden; display: grid; place-items: center; }
.feature .visual img { width: 100%; height: 100%; object-fit: cover; }
.feature .visual .cap { position: absolute; left: 14px; bottom: 12px; font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .14em; color: var(--text-3); text-transform: uppercase; }
.feature .body { display: grid; gap: 22px; }
.feature.flip .visual { order: 2; }
.facts { display: grid; grid-template-columns: 7em 1fr; gap: 10px 18px; margin: 0; font-size: 14.5px; line-height: 1.8; border-top: 1px solid var(--line); padding-top: 20px; }
.facts dt { font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em; color: var(--text-3); text-transform: uppercase; padding-top: 4px; }
.facts dd { margin: 0; color: var(--text-2); }
.light .facts { border-color: var(--paper-line); }
.light .facts dt { color: var(--paper-text-2); }
.light .facts dd { color: var(--paper-text); }
.links { display: flex; flex-wrap: wrap; gap: 10px 26px; font-family: var(--f-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }

/* ---------- cycle ---------- */
.cycle { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.cycle > div { padding: 32px 28px 0 0; }
.cycle > div + div { padding-left: 28px; border-left: 1px solid var(--line); }
.cycle .n { font-family: var(--f-mono); font-size: 12px; color: var(--signal); letter-spacing: .14em; }
.cycle h3 { font-family: var(--f-sans); font-size: clamp(28px, 3.4vw, 44px); letter-spacing: .02em; margin: 14px 0 4px; font-weight: 500; }
.cycle .ja { font-family: var(--f-display); color: var(--text-2); margin-bottom: 16px; font-size: 18px; }
.cycle p { color: var(--text-2); font-size: 15px; }

/* ---------- prose ---------- */
.prose { max-width: 42em; }
.prose h2 { font-family: var(--f-display); font-size: clamp(22px, 2.6vw, 32px); line-height: 1.5; margin: 2.4em 0 .6em; }
.prose p, .prose li { color: var(--text-2); font-size: 16px; }
.prose ul { padding-left: 1.2em; }
.prose a { border-bottom: 1px solid var(--line-2); }
.page-hero { padding: 170px 0 clamp(48px, 7vw, 100px); }
.page-hero .container { padding-left: calc(var(--gutter) + var(--rail-x)); }

/* ---------- footer ---------- */
.site-footer { padding: clamp(80px, 11vw, 160px) 0 32px; border-top: 1px solid var(--line); position: relative; padding-left: var(--rail-x); }
.site-footer .big { font-family: var(--f-display); font-weight: 700; font-size: clamp(27px, 7.2vw, 128px); line-height: 1.15; letter-spacing: -.02em; margin: 0 0 40px; overflow-wrap: anywhere; }
.site-footer .big a { border-bottom: 1px solid var(--line-2); transition: color .2s, border-color .2s; }
.site-footer .big a:hover { color: var(--signal); border-color: var(--signal); }
.site-footer .grid { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; padding: 36px 0; border-top: 1px solid var(--line); }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-family: var(--f-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--text-2); }
.site-footer ul a:hover { color: var(--signal); }
.site-footer .bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-family: var(--f-mono); font-size: 11px; letter-spacing: .1em; color: var(--text-3); padding-top: 20px; border-top: 1px solid var(--line); }
.site-footer .container { padding-left: calc(var(--gutter) + var(--rail-x)); }

/* ---------- motion ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 1s cubic-bezier(.2,.7,.2,1), transform 1s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; } .reveal.d3 { transition-delay: .24s; }
.draw { transform: scaleX(0); transform-origin: left; transition: transform 1.6s cubic-bezier(.2,.7,.2,1); }
.draw.in { transform: none; }
.no-js .reveal, .no-js .draw { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .draw { opacity: 1 !important; transform: none !important; transition: none !important; }
  .hero-art path { stroke-dasharray: none !important; stroke-dashoffset: 0 !important; transition: none !important; }
}

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  body { font-size: 16px; }
  .two-col, .feature { grid-template-columns: 1fr; }
  .feature.flip .visual { order: 0; }
  .index .row { grid-template-columns: 40px 1fr auto; row-gap: 10px; }
  .index .desc { grid-column: 2 / -1; }
  .index .status { grid-column: 2; grid-row: 3; }
  .index .go { grid-column: 3; grid-row: 1; }
  .cycle { grid-template-columns: 1fr; }
  .cycle > div, .cycle > div + div { padding: 28px 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .hero-art { opacity: .6; }
  .facts { grid-template-columns: 1fr; gap: 2px; }
  .facts dd { margin-bottom: 12px; }
}
@media (max-width: 520px) {
  .site-header .container { height: 58px; }
  .logo { letter-spacing: .16em; font-size: 12px; gap: 9px; }
  .nav { gap: 12px; font-size: 10.5px; letter-spacing: .06em; }
  .site-header .container { padding-right: 16px; }
  .h-hero { font-size: clamp(36px, 10.8vw, 80px); }
}

/* =====================================================================
   v3 — motion & depth. Everything below degrades to the static design
   (no JS / reduced motion).
   ===================================================================== */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-out .28s ease both; }
::view-transition-new(root) { animation: vt-in .5s cubic-bezier(.2,.7,.2,1) both; }
@keyframes vt-out { to { opacity: 0; transform: translateY(-6px); } }
@keyframes vt-in { from { opacity: 0; transform: translateY(10px); } }

.site-header { transition: background .3s, border-color .3s, transform .45s cubic-bezier(.2,.7,.2,1); }
.site-header.is-hidden { transform: translateY(-101%); }

/* reveal: rise + un-blur */
.reveal { filter: blur(6px); transition: opacity 1s cubic-bezier(.2,.7,.2,1), transform 1s cubic-bezier(.2,.7,.2,1), filter .9s ease; }
.reveal.in { filter: none; }
.reveal .eyebrow::before { transform: scaleX(0); transform-origin: left; transition: transform 1.2s .25s cubic-bezier(.2,.7,.2,1); }
.reveal.in .eyebrow::before { transform: none; }

/* pointer light */
.cursor-glow { position: fixed; left: 0; top: 0; width: 520px; height: 520px; z-index: 4; pointer-events: none; opacity: 0; transition: opacity .5s;
  background: radial-gradient(closest-side, rgba(85,224,160,.10), rgba(85,224,160,.035) 45%, transparent 70%); mix-blend-mode: screen; will-change: transform; }
.cursor-glow.on { opacity: 1; }
.light .cursor-glow { mix-blend-mode: normal; }

/* spotlight on interactive surfaces */
.index a.row { background-image: radial-gradient(420px circle at var(--mx, -999px) var(--my, -999px), rgba(85,224,160,.09), transparent 60%); background-repeat: no-repeat; }
.index a.row:hover { background-color: transparent; }
.index a.row .name { transition: transform .45s cubic-bezier(.2,.7,.2,1); }
.index a.row:hover .name { transform: translateX(10px); }
.tile, .feature .visual { position: relative; }
.tile::after, .feature .visual::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .35s;
  background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 50%), rgba(85,224,160,.14), transparent 62%); }
.tile:hover::after, .feature .visual:hover::after { opacity: 1; }
.tile { transform: perspective(1000px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: border-color .3s, transform .35s cubic-bezier(.2,.7,.2,1); will-change: transform; }
.tile:hover { transform: perspective(1000px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(-4px); }

/* buttons: light sweep */
.btn { position: relative; overflow: hidden; isolation: isolate; transition: background .25s, color .25s, border-color .25s, transform .25s cubic-bezier(.2,.7,.2,1); }
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(105deg, transparent 30%, rgba(255,255,255,.35) 50%, transparent 70%); transform: translateX(-120%); transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.btn:hover::before { transform: translateX(120%); }

/* ---------- hero v3 ---------- */
.hero { isolation: isolate; }
.hero .glow { display: none; }
.aurora { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.aurora i { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .55; will-change: transform; }
.aurora i:nth-child(1) { width: 56vw; height: 56vw; right: -14vw; top: -22vw; background: radial-gradient(closest-side, rgba(85,224,160,.30), transparent); animation: drift1 22s ease-in-out infinite alternate; }
.aurora i:nth-child(2) { width: 48vw; height: 48vw; left: -16vw; bottom: -26vw; background: radial-gradient(closest-side, rgba(40,150,170,.28), transparent); animation: drift2 26s ease-in-out infinite alternate; }
.aurora i:nth-child(3) { width: 36vw; height: 36vw; right: 18vw; bottom: -18vw; background: radial-gradient(closest-side, rgba(60,90,220,.20), transparent); animation: drift3 30s ease-in-out infinite alternate; }
@keyframes drift1 { to { transform: translate3d(-8vw, 6vw, 0) scale(1.15); } }
@keyframes drift2 { to { transform: translate3d(10vw, -5vw, 0) scale(1.1); } }
@keyframes drift3 { to { transform: translate3d(-6vw, -8vw, 0) scale(1.25); } }
.grain { position: absolute; inset: 0; z-index: 2; pointer-events: none; opacity: .07; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 .9 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"); }
.hero-art { z-index: 1; }
.hero-art canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 1.6s .2s ease; }
.hero.has-canvas .hero-art canvas { opacity: 1; }
.hero.has-canvas .hero-art svg { display: none; }
.hero::after { content: ""; position: absolute; inset: auto 0 0 0; height: 30%; z-index: 2; pointer-events: none; background: linear-gradient(to bottom, transparent, var(--ink)); }
.hero .container { z-index: 3; }
.hero-glow-parallax { transform: translateY(calc(var(--sy, 0px) * .25)); }

/* headline: mask reveal, then a slow sheen across line 2 */
.h-hero .ln { display: block; overflow: hidden; padding: .06em .04em .1em 0; margin: -.06em 0 -.1em; }
.h-hero .ln > .in { display: inline-block; transform: translateY(108%); animation: rise 1.35s cubic-bezier(.16,1,.3,1) .25s forwards; will-change: transform; }
.h-hero .ln:nth-child(2) > .in { animation-delay: .5s; }
.h-hero .dim { color: inherit; }
.h-hero .ln.dim > .in { color: transparent; background: linear-gradient(100deg, #747a80 0%, #747a80 38%, #f3f4f2 50%, #747a80 62%, #747a80 100%); background-size: 260% 100%; background-position: 100% 0; -webkit-background-clip: text; background-clip: text;
  animation: rise 1.35s cubic-bezier(.16,1,.3,1) .5s forwards, sheen 9s ease-in-out 2.2s infinite; }
@keyframes rise { to { transform: none; } }
@keyframes sheen { 0%, 55% { background-position: 100% 0; } 85%, 100% { background-position: 0 0; } }
.hero .eyebrow, .hero-foot, .hud, .hero .marquee, .scroll-cue { opacity: 0; animation: fadeUp 1.1s cubic-bezier(.2,.7,.2,1) forwards; }
.hero .eyebrow { animation-delay: .1s; }
.hero-foot { animation-delay: 1.0s; }
.hud { animation-delay: 1.2s; }
.hero .marquee { animation-delay: 1.4s; }
.scroll-cue { animation-delay: 1.6s; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

.hud { position: absolute; z-index: 3; right: var(--gutter); top: 112px; display: grid; gap: 6px; text-align: right; font-family: var(--f-mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--text-3); }
.hud b { font-weight: 500; color: var(--text-2); }
.hud .live { display: inline-flex; align-items: center; gap: 8px; justify-content: flex-end; color: var(--text-2); }
.hud .live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--signal); box-shadow: 0 0 0 0 rgba(85,224,160,.6); animation: ping 2.4s ease-out infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(85,224,160,.6); } 70%, 100% { box-shadow: 0 0 0 12px rgba(85,224,160,0); } }

.scroll-cue { position: absolute; z-index: 3; left: calc(var(--gutter) + var(--rail-x)); bottom: 22px; display: flex; align-items: center; gap: 12px; font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--text-3); }
.scroll-cue i { width: 1px; height: 34px; background: var(--line-2); position: relative; overflow: hidden; }
.scroll-cue i::after { content: ""; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: var(--signal); animation: cue 2.2s cubic-bezier(.5,0,.2,1) infinite; }
@keyframes cue { to { top: 110%; } }

/* marquee of what's live / coming */
.hero .marquee { position: absolute; z-index: 3; left: 0; right: 0; bottom: 0; border-top: 1px solid var(--line); background: rgba(7,8,10,.55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); overflow: hidden; padding-left: var(--rail-x); }
.marquee-track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-group { display: flex; align-items: center; gap: 0; flex-shrink: 0; }
.marquee-group span { display: inline-flex; align-items: center; gap: 10px; padding: 15px 30px; font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--text-2); white-space: nowrap; }
.marquee-group span::after { content: "/"; margin-left: 30px; color: var(--text-3); }
.marquee-group .dot { width: 6px; height: 6px; padding: 0; border-radius: 50%; background: var(--signal); }
.marquee-group .dot::after { display: none; }
@keyframes marquee { to { transform: translateX(-50%); } }

.hero { padding-bottom: 96px; }
@media (max-width: 900px) { .hud { display: none; } .scroll-cue { display: none; } .hero { padding-bottom: 72px; } .aurora i { filter: blur(60px); } }

@media (prefers-reduced-motion: reduce) {
  .h-hero .ln > .in { transform: none !important; animation: none !important; }
  .h-hero .ln.dim > .in { animation: none !important; color: #747a80; background: none; -webkit-background-clip: border-box; background-clip: border-box; }
  .hero .eyebrow, .hero-foot, .hud, .hero .marquee, .scroll-cue { opacity: 1 !important; animation: none !important; transform: none !important; }
  .aurora i, .marquee-track, .hud .live::before, .scroll-cue i::after { animation: none !important; }
  .reveal { filter: none !important; }
  .cursor-glow { display: none; }
  ::view-transition-old(root), ::view-transition-new(root) { animation: none; }
}
