/* 三界共語 · SHOWCASE */
:root {
  --bg: #090909;
  --panel: #0d0d10;
  --line: #1e1e25;
  --line-soft: #16161a;
  --ink: #d8d5d0;
  --dim: #8a8781;
  --faint: #7d7a74;   /* text: 4.65:1 on #090909 */
  --ghost: #55534e;   /* decorative ticks, rules and dots only */
  --lime: #c8ff40;
  --blue: #7eb8ff;
  --amber: #ff8c00;
  --magenta: #ff4fd8;
  --teal: #3dffc5;
  --mono: 'JetBrains Mono', 'Courier New', monospace;
  --sans: 'Noto Sans TC', 'Microsoft JhengHei', 'PingFang TC', sans-serif;
  --serif: 'Noto Serif TC', 'PMingLiU', 'Songti TC', serif;
  --gut: clamp(16px, 4vw, 56px);
  --accent: var(--lime);
  --ease: cubic-bezier(.2, .7, .1, 1);
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
html { background: var(--bg); -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--sans); font-weight: 300; font-size: 16px; line-height: 1.9;
  overflow-x: hidden; -webkit-font-smoothing: antialiased;
}
body.is-loading { overflow: hidden; }
.js body.is-loading main, .js body.is-loading .topbar { opacity: 0; }
main, .topbar { transition: opacity .9s var(--ease); }
img, video, canvas, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
::selection { background: var(--lime); color: #000; }
.mono { font-family: var(--mono); }
.serif { font-family: var(--serif); }
.dim { color: var(--faint); }
.c-lime { color: var(--lime); } .c-blue { color: var(--blue); } .c-amber { color: var(--amber); } .c-ink { color: var(--ink); }
.skip { position: fixed; left: 12px; top: -60px; z-index: 300; background: var(--lime); color: #000; padding: 8px 14px; font-family: var(--mono); font-size: 12px; text-decoration: none; }
.skip:focus { top: 12px; }
.noscript { position: relative; z-index: 5; text-align: center; font-family: var(--mono); font-size: 12px; color: var(--amber); padding: 10px; }
:focus-visible { outline: 1px solid var(--lime); outline-offset: 3px; }

.wrap { max-width: 760px; margin: 0 auto; padding: 0 var(--gut); position: relative; }
.wrap-wide { max-width: 1320px; margin: 0 auto; padding: 0 var(--gut); position: relative; }

/* ---------- background field ---------- */
#field { position: fixed; inset: 0; width: 100vw; height: 100vh; height: 100lvh; z-index: 0; pointer-events: none; }
.field-fallback { position: fixed; inset: 0; z-index: -1; background:
  radial-gradient(ellipse at 30% 40%, rgba(200,255,64,.10), transparent 60%),
  radial-gradient(ellipse at 70% 70%, rgba(126,184,255,.08), transparent 60%),
  url('../assets/lab/thumbs/micro-still-07-640.webp') center/cover no-repeat;
  filter: saturate(.8) brightness(.35); }
.has-gl .field-fallback, .js:not(.no-gl) .field-fallback { display: none; }
main, .foot { position: relative; z-index: 1; }
.grain { position: fixed; inset: -50%; z-index: 60; pointer-events: none; opacity: .07; mix-blend-mode: overlay;
  background-size: 180px 180px; animation: grain 1s steps(6) infinite; }
@keyframes grain { 0%{transform:translate(0,0)} 20%{transform:translate(-7%,4%)} 40%{transform:translate(5%,-6%)} 60%{transform:translate(-3%,8%)} 80%{transform:translate(8%,2%)} 100%{transform:translate(0,0)} }

/* ---------- cursor ---------- */
.cursor { position: fixed; left: 0; top: 0; z-index: 150; pointer-events: none; display: none; mix-blend-mode: difference; }
.has-cursor .cursor { display: block; }
.has-cursor, .has-cursor a, .has-cursor button { cursor: none; }
.cursor-dot { position: absolute; width: 6px; height: 6px; margin: -3px 0 0 -3px; border-radius: 50%; background: #fff; }
.cursor-ring { position: absolute; width: 38px; height: 38px; margin: -19px 0 0 -19px; border: 1px solid rgba(255,255,255,.8); border-radius: 50%;
  transition: width .35s var(--ease), height .35s var(--ease), margin .35s var(--ease), border-color .3s, background .3s; display: grid; place-items: center; }
.cursor-ring::before, .cursor-ring::after { content: ''; position: absolute; background: rgba(255,255,255,.7); }
.cursor-ring::before { width: 1px; height: 8px; top: -9px; left: 50%; }
.cursor-ring::after { height: 1px; width: 8px; left: -9px; top: 50%; }
.cursor-label { font: 500 9px/1 var(--mono); letter-spacing: .14em; color: #fff; opacity: 0; transition: opacity .2s; }
.cursor.is-hover .cursor-ring { width: 74px; height: 74px; margin: -37px 0 0 -37px; background: rgba(255,255,255,.08); }
.cursor.is-hover .cursor-label { opacity: 1; }
.cursor.is-down .cursor-ring { width: 26px; height: 26px; margin: -13px 0 0 -13px; }

/* ---------- loader ---------- */
.loader { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; background: transparent; transition: opacity .9s var(--ease), visibility .9s; }
.no-gl .loader, .no-motion .loader { background: #050505; }
.loader-pct { text-shadow: 0 0 24px #000, 0 0 8px #000; }
.loader.is-done { opacity: 0; visibility: hidden; }
.loader.is-closing .loader-eye, .loader.is-closing .loader-meta, .loader.is-done .loader-eye, .loader.is-done .loader-meta { opacity: 0; transition: opacity .2s linear; }
.loader-eye { position: relative; width: min(46vw, 260px); aspect-ratio: 1; display: grid; place-items: center; }
.loader-ring { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 14s linear infinite; }
.loader-ring circle { fill: none; stroke: var(--line); stroke-width: 1; }
.loader-ring line { stroke: var(--ghost); stroke-width: 1; }
.loader-ring line.major { stroke: var(--lime); }
@keyframes spin { to { transform: rotate(360deg); } }
.loader-pct { font-size: clamp(34px, 7vw, 56px); color: var(--ink); letter-spacing: .04em; }
.loader-pct small { font-size: .4em; color: var(--faint); margin-left: 2px; }
.loader-meta { position: absolute; bottom: 9vh; left: 0; right: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 28px; font-size: 11px; letter-spacing: .18em; color: var(--dim); text-transform: uppercase; }
.loader-meta b { color: var(--lime); font-weight: 400; }

/* ---------- top bar ---------- */
.topbar { position: fixed; top: 0; left: 0; right: 0; z-index: 80; display: flex; align-items: center; justify-content: space-between;
  padding: 16px var(--gut); pointer-events: none; mix-blend-mode: normal; }
.topbar > * { pointer-events: auto; }
.topbar::before { content: ''; position: absolute; inset: 0 0 -26px 0; z-index: -1; pointer-events: none; background: linear-gradient(rgba(9,9,9,.82), rgba(9,9,9,.45) 55%, transparent); }
.brand { display: flex; align-items: baseline; gap: 10px; text-decoration: none; }
.brand-zh { font-family: var(--serif); font-weight: 600; font-size: 17px; letter-spacing: .12em; }
.brand-en { font-size: 10px; letter-spacing: .24em; color: var(--dim); }
.nav ol { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; }
.nav a { display: flex; align-items: baseline; gap: 6px; padding: 6px 10px; font-size: 13px; text-decoration: none; color: var(--dim); border-radius: 2px; transition: color .25s, background .25s; letter-spacing: .06em; }
.nav a i { font: normal 10.5px var(--mono); color: var(--faint); letter-spacing: .1em; }
.nav a span { font: 10.5px var(--mono); letter-spacing: .18em; color: var(--faint); display: none; }
.nav a:hover, .nav a.is-active { color: var(--ink); background: rgba(255,255,255,.04); }
.nav a.is-active i { color: var(--accent); }
.nav-toggle { display: none; font-size: 11px; letter-spacing: .18em; border: 1px solid var(--line); padding: 6px 12px; border-radius: 2px; background: rgba(9,9,9,.6); backdrop-filter: blur(8px); }
.readhead { position: fixed; top: 0; left: 0; right: 0; height: 2px; pointer-events: none; }
.readhead-bar { position: absolute; left: 0; top: 0; height: 2px; width: 100%; background: var(--accent); transform-origin: 0 50%; transform: scaleX(0); box-shadow: 0 0 12px var(--accent); }
.readhead-count { position: fixed; right: var(--gut); bottom: 18px; font-size: 10px; letter-spacing: .16em; color: var(--faint); z-index: 80; }
.readhead-count b { color: var(--dim); font-weight: 400; }

/* ---------- labels / type ---------- */
.label { font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--accent); margin: 0 0 22px; display: flex; align-items: center; gap: 12px; }
.label::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.h2 { font-weight: 600; font-size: clamp(30px, 5.2vw, 58px); line-height: 1.25; letter-spacing: .03em; margin: 0 0 8px; text-wrap: balance; }
.h2-en { font-size: 12px; letter-spacing: .2em; color: var(--dim); margin: 0 0 30px; }
.body { font-size: 16px; color: var(--ink); margin: 0 0 1.2em; max-width: 42em; }
.en { font-size: 13.5px; color: var(--dim); line-height: 1.8; margin: 0 0 1.4em; max-width: 46em; }
.fine { font-size: 12px; color: var(--faint); line-height: 1.8; margin: 14px 0 0; }
.chips { list-style: none; padding: 0; margin: 18px 0 0; display: flex; flex-wrap: wrap; gap: 10px; font-size: 11px; color: var(--dim); }
.chips li { border: 1px solid var(--line); border-radius: 2px; padding: 3px 10px; letter-spacing: .06em; background: rgba(9,9,9,.5); backdrop-filter: blur(6px); }
.chips b { color: var(--ink); font-weight: 400; }
.statement { font-size: clamp(17px, 2.1vw, 21px); line-height: 2.1; margin: 26px 0 18px; }
section { position: relative; }

/* ---------- buttons ---------- */
.btn { position: relative; display: inline-flex; align-items: center; gap: 14px; padding: 14px 26px; border: 1px solid var(--line); border-radius: 999px;
  text-decoration: none; background: rgba(9,9,9,.55); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); transition: border-color .3s, background .3s, color .3s; will-change: transform; }
.btn-txt { display: flex; flex-direction: column; line-height: 1.2; font-size: 15px; letter-spacing: .1em; font-weight: 400; text-align: left; }
.btn-txt small { font: 10.5px var(--mono); letter-spacing: .24em; color: var(--dim); margin-top: 3px; }
.btn:hover { border-color: var(--accent); }
.btn-listen { border-color: rgba(200,255,64,.45); }
.btn-listen .btn-ico { display: flex; align-items: flex-end; gap: 3px; height: 18px; }
.btn-listen .btn-ico i { width: 3px; height: 30%; background: var(--lime); border-radius: 1px; transition: height .2s; }
.is-playing .btn-listen .btn-ico i, .btn-listen.is-on .btn-ico i { animation: eq .9s ease-in-out infinite; }
.btn-listen .btn-ico i:nth-child(2) { animation-delay: -.3s; } .btn-listen .btn-ico i:nth-child(3) { animation-delay: -.6s; } .btn-listen .btn-ico i:nth-child(4) { animation-delay: -.15s; }
@keyframes eq { 0%,100% { height: 25%; } 50% { height: 100%; } }
.btn-ghost { background: rgba(9,9,9,.35); }
.btn-warn { border-color: rgba(255,140,0,.6); }
.btn-warn:hover { border-color: var(--amber); background: rgba(255,140,0,.1); }
.pill { font: 11px var(--mono); letter-spacing: .08em; color: var(--dim); border: 1px solid var(--line); border-radius: 999px; padding: 5px 12px; transition: all .25s; white-space: nowrap; background: rgba(9,9,9,.5); }
.pill:hover { color: var(--ink); border-color: var(--faint); }
.pill.is-on { color: #000; background: var(--accent); border-color: var(--accent); }

/* ---------- reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); }
.js .reveal.is-in { opacity: 1; transform: none; transition: opacity 1s var(--ease), transform 1.1s var(--ease); }
.no-motion .reveal, .no-motion.js .reveal { opacity: 1 !important; transform: none !important; }

/* ---------- HERO ---------- */
.hero { min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding: 110px var(--gut) 120px; }
.hero::before { content: ''; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(ellipse 70% 80% at 18% 62%, rgba(0,0,0,.62), transparent 70%); }
.hero-inner { max-width: 1320px; margin: 0 auto; width: 100%; position: relative; }
.eyebrow { font-size: 11px; letter-spacing: .26em; text-transform: uppercase; color: var(--dim); margin: 0 0 18px; }
.title { font-family: var(--serif); font-weight: 900; font-size: clamp(76px, 17vw, 250px); line-height: .98; letter-spacing: .02em; margin: 0; display: flex; flex-wrap: wrap;
  text-shadow: 0 0 60px rgba(0,0,0,.45); user-select: none; }
.title .ch { position: relative; display: inline-block; will-change: transform, filter, opacity; }
.title .ch::before, .title .ch::after { content: attr(data-ch); position: absolute; inset: 0; pointer-events: none; opacity: var(--go, 0); }
.title .ch::before { color: var(--lime); transform: translate(var(--gx1, 0px), var(--gy1, 0px)); clip-path: inset(var(--t1, 0%) 0 var(--b1, 0%) 0); mix-blend-mode: screen; }
.title .ch::after { color: var(--blue); transform: translate(var(--gx2, 0px), 0); clip-path: inset(var(--t2, 0%) 0 var(--b2, 0%) 0); mix-blend-mode: screen; }
.title-en { font-size: clamp(11px, 1.3vw, 15px); letter-spacing: .5em; color: var(--lime); margin: 18px 0 34px; text-transform: uppercase; }
.hero-lead { font-size: clamp(19px, 2.4vw, 28px); line-height: 1.75; margin: 0 0 8px; max-width: 22em; text-shadow: 0 2px 30px rgba(0,0,0,.7); }
.hero-lead-en { font-size: 13px; color: var(--dim); margin: 0 0 34px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 18px; }
.hero-hint { font-size: 10.5px; letter-spacing: .08em; color: var(--dim); line-height: 1.8; }
.hud { position: absolute; font-size: 10px; letter-spacing: .14em; color: var(--dim); line-height: 1.9; text-transform: uppercase; pointer-events: none; }
.hud-bl { left: var(--gut); bottom: 32px; display: grid; gap: 0; }
.hud-bl div { display: grid; grid-template-columns: 96px auto; gap: 10px; }
.hud-bl b { color: var(--ink); font-weight: 400; font-variant-numeric: tabular-nums; }
.hud-br { right: var(--gut); bottom: 64px; text-align: right;
  /* keep the HUD on the first screen when the hero is taller than the viewport, so it never runs into the fixed SAMPLE readout */
  bottom: max(64px, calc(64px + 100% - 100vh)); bottom: max(64px, calc(64px + 100% - 100svh)); }
.scroll-cue { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); font-size: 9px; letter-spacing: .3em; color: var(--dim); display: grid; justify-items: center; gap: 8px; }
.scroll-cue i { width: 1px; height: 46px; background: linear-gradient(var(--lime), transparent); animation: cue 2.2s var(--ease) infinite; transform-origin: top; }
@keyframes cue { 0% { transform: scaleY(0); opacity: 1; } 60% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(1); opacity: 0; } }

/* ---------- BEATS ---------- */
.beats { height: 860vh; }
.beats-sticky { position: sticky; top: 0; height: 100vh; height: 100svh; display: grid; place-items: center; overflow: hidden; }
.beats-list { list-style: none; margin: 0; padding: 0 var(--gut); position: relative; width: 100%; max-width: 1180px; height: 60vh; }
.beat { position: absolute; inset: 0 var(--gut); display: flex; flex-direction: column; justify-content: center; opacity: 0; }
.beat-zh { font-family: var(--serif); font-weight: 600; font-size: clamp(30px, 5.6vw, 76px); line-height: 1.45; margin: 0; letter-spacing: .04em; text-shadow: 0 4px 40px rgba(0,0,0,.8); text-wrap: balance; }
.beat-zh .w { display: inline; }
.beat-zh .big-num.w, .beat-zh .glitchy.w { display: inline; white-space: nowrap; }
.beat-en { font-family: var(--mono); font-size: clamp(11px, 1.2vw, 14px); letter-spacing: .14em; color: var(--dim); margin: 22px 0 0; text-transform: uppercase; }
.big-num { font-style: normal; color: var(--lime); font-family: var(--mono); font-weight: 500; font-size: 1.3em; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.beat[data-mood="void"] .big-num { color: var(--ink); }
.big-word { font-style: normal; color: var(--lime); }
.nw { white-space: nowrap; }
.glitchy { position: relative; color: var(--blue); display: inline; white-space: nowrap; }
.glitchy::before, .glitchy::after { content: attr(data-ch); position: absolute; left: 0; top: 0; opacity: .8; }
.glitchy::before { color: var(--magenta); animation: gl1 2.4s steps(2) infinite; clip-path: inset(10% 0 55% 0); }
.glitchy::after { color: var(--lime); animation: gl2 1.9s steps(2) infinite; clip-path: inset(60% 0 5% 0); }
@keyframes gl1 { 0%,88% { transform: none; } 90% { transform: translate(-6px, 1px); } 94% { transform: translate(5px, -1px); } 100% { transform: none; } }
@keyframes gl2 { 0%,80% { transform: none; } 84% { transform: translate(7px, 0); } 90% { transform: translate(-4px, 2px); } 100% { transform: none; } }
.beats-count { position: absolute; top: 88px; left: var(--gut); font-size: 11px; letter-spacing: .2em; color: var(--faint); }
.beats-count b { color: var(--lime); font-weight: 400; }
.beats-rail { position: absolute; left: var(--gut); right: var(--gut); bottom: 40px; height: 1px; background: var(--line); }
.beats-rail i { position: absolute; left: 0; top: -1px; height: 3px; width: 100%; background: var(--lime); transform-origin: 0 50%; transform: scaleX(0); }

/* ---------- premise ---------- */
.premise { padding: 18vh var(--gut) 14vh; }
.premise-txt { font-size: clamp(18px, 2.3vw, 24px); line-height: 2.05; margin: 0 0 20px; text-shadow: 0 2px 30px rgba(0,0,0,.9); }
.premise, .plant > .wrap, .phases, .sound, .image, .human, .process, .data, .credits { text-shadow: 0 1px 18px rgba(0,0,0,.85); }

/* ---------- GATES (torn) ---------- */
.gate { height: 170vh; }
.gate-sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: grid; place-items: center; }
.tear { position: absolute; left: -2%; right: -2%; height: 52%; background: #000; will-change: clip-path, transform; z-index: 1; }
.tear-top { top: 0; }
.tear-bot { bottom: 0; }
.gate-title { position: relative; z-index: 2; text-align: center; mix-blend-mode: difference; }
.gate-num { display: block; font-size: 11px; letter-spacing: .4em; color: #fff; margin-bottom: 8px; }
.gate-h { font-weight: 900; font-size: clamp(90px, 22vw, 330px); line-height: 1; margin: 0; color: #fff; letter-spacing: .06em; }
.gate-en { display: block; font-size: clamp(10px, 1.1vw, 13px); letter-spacing: .3em; color: #fff; margin-top: 12px; }

/* ---------- PLANT ---------- */
.plant { padding: 16vh 0 8vh; }
.cols2 { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.period { font-size: 12px; letter-spacing: .12em; color: var(--lime); margin-top: 26px; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin: 70px auto 90px; padding: 0; width: calc(100% - 2 * var(--gut)); max-width: 1208px; background: var(--line); border: 1px solid var(--line); }
.stat { background: rgba(9,9,9,.82); backdrop-filter: blur(8px); padding: 26px 18px 22px; display: grid; grid-template-columns: auto 1fr; align-items: baseline; column-gap: 6px; }
.stat b { font: 500 clamp(40px, 5vw, 72px)/1 var(--mono); letter-spacing: -.03em; color: var(--ink); font-variant-numeric: tabular-nums; }
.stat span { font-size: 14px; color: var(--dim); }
.stat small { grid-column: 1 / -1; font: 10.5px/1.6 var(--mono); letter-spacing: .12em; color: var(--faint); margin-top: 12px; }
.stat-hot b { color: var(--lime); text-shadow: 0 0 30px rgba(200,255,64,.4); }
.stat-lead { grid-column: span 2; }
.stat-lead b { font-family: var(--serif); font-weight: 900; letter-spacing: .04em; color: var(--lime); text-shadow: 0 0 30px rgba(200,255,64,.3); }
.stat-lead small em { display: block; font: 12.5px/1.75 var(--sans); letter-spacing: .02em; color: var(--dim); font-style: normal; margin-top: 6px; }
.species { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.sp { background: rgba(9,9,9,.8); backdrop-filter: blur(10px); border: 1px solid var(--line); border-radius: 3px; padding: 0 0 18px; overflow: hidden; transition: border-color .4s; }
.sp:hover { border-color: rgba(200,255,64,.4); }
.sp-img { aspect-ratio: 16/10; overflow: hidden; }
.sp-img img { width: 100%; height: 100%; object-fit: cover; filter: blur(5px) saturate(.6) brightness(.8); transform: scale(1.12); transition: filter .9s var(--ease), transform 1.4s var(--ease); }
.sp:hover .sp-img img, .sp.is-in .sp-img img { filter: none; transform: scale(1); }
.sp h3 { font-size: 21px; font-weight: 600; margin: 16px 18px 0; line-height: 1.4; }
.sp h3 span { display: block; font-size: 10.5px; letter-spacing: .2em; color: var(--faint); font-weight: 400; margin-top: 4px; }
.sp-n { margin: 8px 18px 6px; font-size: 12px; color: var(--dim); }
.sp-n b { font-size: 28px; color: var(--lime); font-weight: 500; margin-right: 4px; }
.sp p:not(.sp-n) { margin: 0 18px; font-size: 13.5px; color: var(--dim); line-height: 1.8; }
.sp-bar { display: flex; height: 6px; margin: 16px 18px 0; gap: 2px; }
.sp-bar i { display: block; height: 100%; border-radius: 1px; }
.sp-note { grid-column: 1 / -1; }

/* ---------- SCOPE ---------- */
.scope { height: 420vh; }
.scope-sticky { position: sticky; top: 0; height: 100vh; height: 100svh; display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: 5vw; padding: 70px var(--gut) 30px; max-width: 1400px; margin: 0 auto; }
.scope-view { position: relative; width: min(42vw, 74vh); aspect-ratio: 1; justify-self: center; }
.scope-canvas { width: 100%; height: 100%; border-radius: 50%; background: #000; box-shadow: 0 0 0 1px var(--line), 0 0 120px rgba(200,255,64,.12), inset 0 0 60px #000; }
.scope-reticle { position: absolute; inset: -4%; width: 108%; height: 108%; pointer-events: none; }
.scope-reticle circle, .scope-reticle line { fill: none; stroke: rgba(200,255,64,.35); stroke-width: .7; }
.scope-reticle .r-mid { stroke-dasharray: 2 6; stroke: rgba(255,255,255,.18); }
.scope-reticle line { stroke: rgba(255,255,255,.12); }
.scope-reticle .r-ticks line { stroke: rgba(200,255,64,.5); }
.scope-mag { position: absolute; right: 2%; bottom: 6%; font-size: 11px; letter-spacing: .14em; color: var(--lime); background: rgba(0,0,0,.6); padding: 2px 8px; border-radius: 2px; }
.scope-time { font-size: clamp(56px, 9vw, 128px); line-height: 1; margin: 0 0 14px; color: var(--ink); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.scope-title { font-size: clamp(20px, 2.4vw, 28px); font-weight: 600; margin: 0 0 4px; line-height: 1.4; }
.scope-en { font-size: 11px; letter-spacing: .1em; color: var(--dim); margin: 0 0 22px; }
.scope-track { position: relative; height: 26px; border-bottom: 1px solid var(--line); margin-bottom: 18px; }
.scope-track i { position: absolute; top: 0; bottom: -1px; width: 2px; background: var(--lime); box-shadow: 0 0 12px var(--lime); left: 0; }
.scope-ticks span { position: absolute; bottom: 0; width: 1px; height: 8px; background: var(--ghost); }
.scope-ticks span::after { content: attr(data-l); position: absolute; top: -18px; left: -14px; font: 10.5px var(--mono); color: var(--faint); letter-spacing: .04em; }
.scope-notes { font-size: 14px; color: var(--dim); line-height: 1.85; min-height: 5.5em; }
.scope-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 0; }
.scope-tabs button { font-size: 10.5px; letter-spacing: .08em; padding: 5px 12px; border: 1px solid var(--line); border-radius: 999px; color: var(--dim); }
.scope-tabs button[aria-selected="true"] { color: #000; background: var(--lime); border-color: var(--lime); }

/* ---------- PHASES ---------- */
.phases { padding: 14vh 0 10vh; }
.phase-list { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin: 10px auto 90px; counter-reset: ph; }
.phase { position: relative; padding: 30px 26px 30px 0; border-top: 1px solid var(--line); }
.phase::before { content: ''; position: absolute; left: 0; top: -5px; width: 9px; height: 9px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 14px var(--lime); }
.ph-date { display: block; font-size: 11px; letter-spacing: .14em; color: var(--dim); margin-top: 6px; }
.ph-tag { display: inline-block; font-size: 10px; letter-spacing: .2em; margin-top: 4px; }
.phase h3 { font-size: 24px; margin: 10px 0 10px; font-weight: 600; }
.phase p { font-size: 14px; color: var(--dim); margin: 0; }
.phase-bars { display: grid; gap: 14px; margin-bottom: 18px; }
.pbar { display: grid; grid-template-columns: 220px 1fr 40px; gap: 14px; align-items: center; font-family: var(--mono); font-size: 11px; color: var(--dim); }
.pbar-track { display: flex; height: 22px; gap: 2px; }
.pbar-track i { height: 100%; transform-origin: 0 50%; position: relative; }
.pbar-track i b { position: absolute; inset: 0; display: grid; place-items: center; color: #000; font-weight: 500; font-size: 10px; font-style: normal; }
.legend { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 10.5px; color: var(--dim); letter-spacing: .06em; }
.legend li { display: flex; align-items: center; gap: 7px; }
.legend li i { width: 9px; height: 9px; border-radius: 50%; display: block; }
.legend li b { color: var(--ink); font-weight: 400; }

.collage { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: 7vw; gap: 18px; margin-top: 110px; margin-bottom: 110px; }
.cl { margin: 0; position: relative; overflow: hidden; border-radius: 3px; background: #000; }
.cl img, .cl video { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); }
.cl figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 12px 10px; font-size: 10px; line-height: 1.6; color: var(--ink); letter-spacing: .04em; background: linear-gradient(transparent, rgba(0,0,0,.85)); opacity: 0; transform: translateY(6px); transition: opacity .4s, transform .4s; }
.cl:hover figcaption, .cl:focus-within figcaption { opacity: 1; transform: none; }
.cl-a { grid-column: 1 / 4; grid-row: span 5; }
.cl-b { grid-column: 4 / 9; grid-row: span 3; }
.cl-c { grid-column: 9 / 12; grid-row: 2 / span 5; }
.cl-d { grid-column: 4 / 6; grid-row: 4 / span 4; }
.cl-e { grid-column: 6 / 9; grid-row: 4 / span 5; }
.cl-f { grid-column: 1 / 4; grid-row: 6 / span 4; }
.cl-g { grid-column: 9 / 13; grid-row: 7 / span 4; }
.cl-h { grid-column: 4 / 9; grid-row: 9 / span 3; }
.seq { margin-bottom: 110px; }
.seq-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.seq-row figure { margin: 0; position: relative; }
.seq-row img { width: 100%; aspect-ratio: 16/9; object-fit: cover; border: 1px solid var(--line); }
.seq-row figcaption { font-size: 10px; letter-spacing: .14em; color: var(--lime); margin-top: 8px; }
.errlog { margin-bottom: 100px; }
.log { list-style: none; margin: 0; padding: 0; font-size: 12.5px; border: 1px solid var(--line); border-radius: 3px; background: rgba(5,5,7,.85); }
.log li { display: grid; grid-template-columns: 170px 1fr; gap: 16px; padding: 14px 18px; border-top: 1px solid var(--line-soft); line-height: 1.8; }
.log li:first-child { border-top: 0; }
.log-k { color: var(--amber); letter-spacing: .06em; }
.log-v { color: var(--dim); font-family: var(--sans); font-size: 14px; }
.learn-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.learn-grid article { background: rgba(9,9,9,.86); padding: 26px 24px; }
.learn-grid h3 { font-size: 21px; margin: 0; font-weight: 600; }
.learn-grid .mono { font-size: 10px; letter-spacing: .22em; margin: 4px 0 12px; }
.learn-grid p:last-child { font-size: 14px; color: var(--dim); margin: 0; }
.caveats { margin-top: 40px; padding: 24px; border: 1px dashed var(--line); background: rgba(9,9,9,.75); }
.caveats .label { color: var(--amber); }
.caveats ul { margin: 0; padding-left: 1.1em; font-size: 13.5px; color: var(--dim); }
.caveats li { margin-bottom: 8px; }

/* ---------- SOLID sections ---------- */
.solid { background: var(--bg); z-index: 2; }
.solid::before, .solid::after { content: ''; position: absolute; left: 0; right: 0; height: 18vh; pointer-events: none; z-index: 0; }
.solid::before { top: -18vh; background: linear-gradient(transparent, var(--bg)); }

/* ---------- SCULPTURE ---------- */
.sculpt { padding: 12vh 0 8vh; }
.sculpt-head { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: end; margin-bottom: 22px; }
.ctrl { display: grid; gap: 10px; font-size: 11px; }
.ctrl-row { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.ctrl-k { width: 112px; color: var(--faint); letter-spacing: .14em; font-size: 10px; }
.sculpt-stage { position: relative; height: min(84vh, 860px); min-height: 480px; margin: 0 0 14px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden;
  background: radial-gradient(ellipse at 50% 55%, #10131a 0%, #070708 70%); touch-action: pan-y; }
.sculpt-canvas { width: 100%; height: 100%; cursor: grab; }
.sculpt-canvas:active { cursor: grabbing; }
.sculpt-labels { position: absolute; inset: 0; pointer-events: none; }
.sculpt-labels span { position: absolute; transform: translate(-50%, -50%); font: 10px var(--mono); letter-spacing: .14em; color: var(--dim); white-space: nowrap; transition: opacity .4s; }
.sculpt-labels span b { color: var(--ink); font-weight: 400; }
.legend-live { position: absolute; left: var(--gut); bottom: 18px; }
.legend-live li { cursor: pointer; }
.legend-live li.is-off { opacity: .35; }
.sculpt-hint { position: absolute; right: var(--gut); top: 16px; font-size: 10px; letter-spacing: .3em; color: var(--faint); }
.sculpt-count { position: absolute; right: var(--gut); bottom: 18px; font-size: 10.5px; color: var(--dim); letter-spacing: .1em; margin: 0; }
.tip { position: fixed; z-index: 120; pointer-events: none; max-width: 340px; background: rgba(8,8,10,.94); border: 1px solid var(--line); border-left: 2px solid var(--accent); padding: 12px 14px; font-size: 11px; line-height: 1.7; color: var(--dim); backdrop-filter: blur(8px); border-radius: 2px; }
.tip b { color: var(--ink); font-weight: 400; }
.tip .t-h { color: var(--ink); font-size: 12px; letter-spacing: .06em; margin-bottom: 6px; display: block; }
.tip .t-n { font-family: var(--sans); color: var(--ink); font-size: 13px; margin-top: 8px; display: block; }
.tip .t-o { display: inline-block; padding: 0 6px; margin-left: 6px; color: #000; border-radius: 2px; font-size: 10px; }

/* ---------- RIDGE ---------- */
.ridge { padding: 10vh 0 12vh; }
.ridge-head { display: grid; grid-template-columns: 1.2fr 1fr; gap: 60px; margin-bottom: 28px; align-items: end; }
.tc { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: clamp(13px, 1.4vw, 17px); color: var(--ink); margin: 0 0 6px; }
.ridge-facts { list-style: none; padding: 0; margin: 18px 0 0; font-size: 11px; color: var(--dim); line-height: 2; letter-spacing: .04em; }
.ridge-facts li::before { content: '› '; color: var(--blue); }
.ridge-stage { position: relative; height: min(80vh, 820px); min-height: 460px; margin-bottom: 40px; overflow: hidden; }
.ridge-canvas { width: 100%; height: 100%; }
.ridge-labels { position: absolute; inset: 0; pointer-events: none; font: 10px/1.2 var(--mono); color: var(--faint); letter-spacing: .08em; }
.ridge-labels > span { position: absolute; white-space: nowrap; }
.rl-tick { transform: translateX(-50%); }
.rl-axis { color: var(--dim); }
.rl-date { transform: translateX(calc(-100% - 10px)); }
.rl-sweep { left: 0; top: 0; color: var(--lime); margin-left: -18px; margin-top: 12px; }
.rl-legend { right: 70px; top: 12px; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px 14px; color: var(--dim); }
.rl-legend span { display: inline-flex; align-items: center; gap: 6px; }
.rl-legend i { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.rl-legend i.nz { width: 14px; height: 0; border-top: 2px dashed var(--amber); border-radius: 0; }
.ridge-tip { position: absolute; pointer-events: none; font-size: 11px; background: rgba(8,8,10,.92); border: 1px solid var(--line); border-left: 2px solid var(--blue); padding: 8px 12px; color: var(--dim); line-height: 1.7; white-space: nowrap; }
.ridge-tip b { color: var(--ink); font-weight: 400; }

/* ---------- SOUND ---------- */
.sound { padding: 16vh 0 6vh; --accent: var(--blue); }
.flow { display: flex; align-items: center; justify-content: center; gap: 0; margin: 70px auto 90px; flex-wrap: wrap; }
.flow-node { display: grid; justify-items: center; gap: 2px; padding: 16px 22px; border: 1px solid var(--line); border-radius: 999px; background: rgba(9,9,9,.7); backdrop-filter: blur(8px); }
.flow-node b { font-size: 22px; font-weight: 600; letter-spacing: .1em; }
.flow-node span { font-size: 10.5px; letter-spacing: .24em; color: var(--dim); }
.flow-line { width: clamp(30px, 8vw, 120px); height: 1px; background: linear-gradient(90deg, var(--line), var(--blue), var(--line)); background-size: 200% 100%; animation: flow 2.4s linear infinite; }
@keyframes flow { from { background-position: 100% 0; } to { background-position: -100% 0; } }
.two-tools { display: grid; gap: 50px; margin-bottom: 120px; max-width: 1000px; grid-template-columns: 1fr 1fr; }
.tool { background: rgba(9,9,9,.78); backdrop-filter: blur(10px); border: 1px solid var(--line); border-radius: 3px; padding: 26px 26px 20px; }
.tool-date { font-size: 10.5px; letter-spacing: .16em; color: var(--blue); margin: 0 0 8px; }
.tool h3 { font-size: 22px; font-weight: 600; margin: 0 0 14px; line-height: 1.45; }
.tool h3 span { display: block; font-size: 10px; letter-spacing: .2em; color: var(--faint); font-weight: 400; }
.tool p { font-size: 14px; color: var(--dim); margin: 0 0 12px; }
.layers { list-style: none; padding: 0; margin: 10px 0 0; font-size: 11px; color: var(--dim); }
.layers li { padding: 6px 0; border-top: 1px solid var(--line-soft); }
.layers b { color: var(--blue); font-weight: 400; margin-right: 6px; }

.deck { display: grid; grid-template-columns: 1fr 340px; grid-template-rows: 1fr auto; min-height: 92vh; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.deck-stage { position: relative; min-height: 60vh; overflow: hidden; background: radial-gradient(ellipse at 50% 60%, #0b0e16, #050506 70%); }
.viz-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.deck-now { position: absolute; left: var(--gut); top: 26px; display: grid; gap: 2px; font-size: 10px; letter-spacing: .16em; z-index: 2; }
.deck-now b { font-family: var(--serif); font-size: clamp(22px, 3vw, 38px); font-weight: 600; letter-spacing: .04em; color: var(--ink); }
.deck-now small { color: var(--dim); font-size: 10.5px; letter-spacing: .08em; }
.deck-big-play { position: absolute; left: var(--gut); bottom: 26px; z-index: 2; }
.deck-side { border-left: 1px solid var(--line); padding: 26px 22px; overflow: auto; background: #070708; }
.deck-side .label { --accent: var(--blue); }
.tracks { list-style: none; margin: 0; padding: 0; counter-reset: tr; }
.tracks li button { width: 100%; text-align: left; display: grid; grid-template-columns: 26px 1fr auto; gap: 10px; padding: 12px 6px; border-top: 1px solid var(--line-soft); align-items: baseline; transition: background .25s; }
.tracks li button:hover { background: rgba(126,184,255,.05); }
.tracks .t-n { font: 10px var(--mono); color: var(--faint); }
.tracks .t-t { font-size: 15px; line-height: 1.4; }
.tracks .t-t small { display: block; font: 10.5px var(--mono); letter-spacing: .12em; color: var(--faint); margin-top: 2px; }
.tracks .t-d { font: 10px var(--mono); color: var(--faint); }
.tracks li.is-current button { background: rgba(126,184,255,.08); }
.tracks li.is-current .t-n { color: var(--blue); }
.tracks li.is-current .t-t { color: var(--blue); }
.deck-seek { grid-column: 1 / -1; padding: 16px var(--gut) 18px; border-top: 1px solid var(--line); background: #070708; }
.seek { position: relative; height: 54px; cursor: pointer; touch-action: none; }
.seek-canvas { width: 100%; height: 100%; }
.seek-head { position: absolute; top: -4px; bottom: -4px; left: 0; width: 1px; background: var(--ink); box-shadow: 0 0 10px #fff; }
.seek-marks span { position: absolute; top: -12px; bottom: 0; border-left: 1px dashed rgba(126,184,255,.5); font: 10.5px var(--mono); color: var(--blue); padding-left: 4px; letter-spacing: .08em; }
.seek-marks span.m509 { border-color: var(--lime); color: var(--lime); }
.seek-time { display: flex; justify-content: space-between; font-size: 10.5px; color: var(--dim); margin-top: 6px; letter-spacing: .08em; }

.opr { padding-top: 120px; }
.mvbar { margin-top: 50px; margin-bottom: 30px; }
.mvbar-spec { position: relative; border: 1px solid var(--line); overflow: hidden; }
.mvbar-spec img { width: 100%; height: clamp(110px, 18vw, 240px); object-fit: cover; opacity: .9; }
.mvbar-head { position: absolute; top: 0; bottom: 0; left: 0; width: 2px; background: #fff; box-shadow: 0 0 14px #fff; opacity: 0; transition: opacity .3s; }
.mvbar-head.is-on { opacity: 1; }
.mvbar-509 { position: absolute; top: 0; bottom: 0; left: calc(509 / 600 * 100%); width: 1px; background: var(--lime); box-shadow: 0 0 10px var(--lime); }
.mvbar-509::after { content: '509 s'; position: absolute; top: 6px; left: 6px; font: 10px var(--mono); color: var(--lime); letter-spacing: .1em; }
.mvbar-segs { display: flex; gap: 2px; margin-top: 2px; }
.mvbar-segs button { flex: var(--w) 1 0; height: 34px; background: rgba(126,184,255,.08); border: 1px solid var(--line); font-size: 10.5px; color: var(--dim); display: flex; align-items: center; justify-content: center; gap: 8px; transition: background .25s, color .25s; min-width: 0; overflow: hidden; }
.mvbar-segs button:hover { background: rgba(126,184,255,.2); color: var(--ink); }
.mvbar-segs b { color: var(--blue); font-weight: 500; }
.movements { padding-bottom: 60px; }
.mv { display: grid; grid-template-columns: 150px 1fr auto; gap: 0 24px; padding: 22px 0; border-top: 1px solid var(--line-soft); align-items: start; }
.mv-t { font-size: 12px; color: var(--blue); letter-spacing: .04em; line-height: 2.1; }
.mv-t small { display: block; font-size: 10px; color: var(--faint); }
.mv h4 { font-weight: 500; font-size: 17px; margin: 0 0 6px; letter-spacing: .05em; }
.mv h4 span { font-size: 10.5px; color: var(--faint); letter-spacing: .12em; margin-left: 8px; font-weight: 400; }
.mv p { margin: 0; font-size: 14px; color: var(--dim); }
.mv-play { font-size: 10.5px; letter-spacing: .1em; color: var(--blue); border: 1px solid var(--line); border-radius: 999px; padding: 4px 12px; white-space: nowrap; transition: all .25s; }
.mv-play:hover { border-color: var(--blue); background: rgba(126,184,255,.1); }
.moment { margin: 40px 0; padding: 28px 28px 24px; border: 1px solid rgba(200,255,64,.3); background: linear-gradient(135deg, rgba(200,255,64,.07), transparent 60%), rgba(9,9,9,.8); border-radius: 3px; }
.moment-n { font-size: clamp(48px, 8vw, 96px); line-height: 1; color: var(--lime); margin: 0 0 14px; letter-spacing: -.03em; text-shadow: 0 0 40px rgba(200,255,64,.4); }
.moment p.serif { font-size: 17px; line-height: 2; margin: 0 0 16px; }
.moment .mv-play { color: var(--lime); }
.variants p { font-size: 14px; color: var(--dim); margin: 0 0 16px; }
.variants b { display: block; font-weight: 400; font-size: 11px; letter-spacing: .14em; margin-bottom: 4px; }
.four { padding-top: 60px; }
.pieces { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin: 30px auto 50px; }
.piece { position: relative; text-align: left; display: grid; align-content: start; gap: 4px; padding: 22px 20px 0; border: 1px solid var(--line); border-radius: 3px; background: rgba(9,9,9,.82); backdrop-filter: blur(10px); overflow: hidden; min-height: 290px; transition: border-color .35s, transform .35s; }
.piece:hover, .piece.is-current { border-color: var(--blue); }
.piece.is-current::after { content: 'NOW PLAYING'; position: absolute; top: 14px; right: 14px; font: 10.5px var(--mono); letter-spacing: .2em; color: var(--blue); }
.pc-n { font-size: 11px; color: var(--faint); letter-spacing: .14em; }
.piece b { font-size: 32px; font-weight: 900; letter-spacing: .06em; line-height: 1.3; }
.pc-en { font-size: 10px; letter-spacing: .22em; color: var(--blue); }
.pc-meta { font-size: 10.5px; color: var(--dim); margin-top: 12px; }
.pc-sec { font-size: 13px; color: var(--dim); line-height: 1.7; margin-top: 4px; }
.pc-wave { width: calc(100% + 40px); margin: 16px -20px 0; height: 60px; align-self: end; }
.note { margin: 36px 0; padding: 0 0 0 20px; border-left: 2px solid var(--amber); font-family: var(--serif); font-size: 17px; line-height: 2; }
.note p { margin: 0; }
.perf { margin: 70px 0 40px; padding: 26px; border: 1px solid var(--line); border-radius: 3px; background: rgba(9,9,9,.8); }
.perf p { font-size: 14.5px; color: var(--dim); }
.perf .label { --accent: var(--blue); }

/* ---------- IMAGE / FILM ---------- */
.image { padding: 14vh 0 0; --accent: var(--blue); }
.film { height: 1100vh; margin-top: 60px; }
.film-sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto 1fr auto; padding: 78px 0 26px; }
.film-head { display: flex; justify-content: space-between; font-size: 11px; letter-spacing: .2em; color: var(--dim); width: 100%; }
.film-count b { color: var(--blue); font-weight: 400; font-size: 14px; }
.film-track { display: flex; gap: 4vw; align-items: center; padding: 0 var(--gut); will-change: transform; }
.frame { flex: 0 0 min(66vw, 1080px); display: grid; grid-template-columns: 1.55fr 1fr; gap: 28px; align-items: end; position: relative; }
.frame-media { position: relative; aspect-ratio: 1280/676; overflow: hidden; border-radius: 2px; background: #000; box-shadow: 0 30px 80px rgba(0,0,0,.6); transform: skewX(var(--skew, 0deg)); transition: transform .2s; }
.frame-media video { width: 100%; height: 100%; object-fit: cover; }
.frame-dual .frame-media { aspect-ratio: 1920/540; align-self: center; }
.frame-txt { position: relative; padding-bottom: 6px; }
.frame-code { position: absolute; right: 0; top: -0.62em; font-size: clamp(90px, 13vw, 200px); line-height: 1; font-weight: 900; color: transparent; -webkit-text-stroke: 1px rgba(126,184,255,.45); pointer-events: none; z-index: -1; }
.frame-code sup { font-size: .4em; }
.frame h3 { font-size: clamp(22px, 2.6vw, 34px); font-weight: 600; margin: 0 0 6px; line-height: 1.3; }
.frame h3 span { display: block; font-size: 10px; letter-spacing: .24em; color: var(--blue); font-weight: 400; margin-top: 6px; }
.frame-meta { font-size: 10.5px; color: var(--faint); letter-spacing: .06em; margin: 0 0 12px; }
.frame-txt p:last-child { font-size: 14px; color: var(--dim); margin: 0; line-height: 1.85; }
.frame-sound { position: absolute; right: 12px; bottom: 12px; font-size: 10.5px; letter-spacing: .1em; padding: 6px 12px; border-radius: 999px; background: rgba(0,0,0,.7); border: 1px solid var(--blue); color: var(--blue); }
.film-progress { height: 1px; background: var(--line); margin: 0 var(--gut); position: relative; }
.film-progress i { position: absolute; left: 0; top: -1px; height: 3px; width: 100%; background: var(--blue); transform-origin: 0 50%; transform: scaleX(0); }
.revisions { padding: 14vh var(--gut) 10vh; }
.micro-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 30px; }
.micro-pair figure { margin: 0; }
.micro-pair video, .micro-pair img { width: 100%; border: 1px solid var(--line); background: #000; aspect-ratio: 16/9; object-fit: cover; }
.micro-pair figcaption { font-size: 10.5px; color: var(--faint); margin-top: 10px; line-height: 1.7; letter-spacing: .03em; }

/* ---------- WALL ---------- */
.wall { padding: 0 0 12vh; overflow: hidden; }
.wall-room { position: relative; height: min(92vh, 900px); min-height: 520px; perspective: 1400px; overflow: hidden; background: #000; }
.wall-room::before { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 55%; background: radial-gradient(ellipse at 50% 100%, rgba(40,40,52,.55), transparent 70%); pointer-events: none; }
.wall-screen { position: absolute; left: 50%; top: 13%; width: min(92vw, 1500px); aspect-ratio: 1920/540; transform: translateX(-50%) rotateX(4deg); transform-origin: 50% 100%; }
.wall-video { width: 100%; height: 100%; object-fit: cover; }
.wall-screen::after { content: ''; position: absolute; inset: -6% -3%; pointer-events: none; background: radial-gradient(ellipse at 50% 50%, rgba(255,79,216,.07), transparent 65%); }
.wall-seam { position: absolute; left: 50%; top: -8%; bottom: -8%; width: 1px; background: linear-gradient(transparent, rgba(255,255,255,.08), transparent); }
.beam { position: absolute; bottom: 4%; width: 46%; height: 70%; pointer-events: none; mix-blend-mode: screen; opacity: .55; filter: blur(10px);
  background: linear-gradient(to top, rgba(255,255,255,.22), rgba(255,255,255,.02) 85%); }
.beam-l { left: 4%; clip-path: polygon(46% 100%, 54% 100%, 100% 0%, 0% 0%); background: linear-gradient(to top, rgba(255,120,230,.35), rgba(255,79,216,.03) 85%); }
.beam-r { right: 4%; clip-path: polygon(46% 100%, 54% 100%, 100% 0%, 0% 0%); background: linear-gradient(to top, rgba(120,255,190,.32), rgba(61,255,197,.03) 85%); }
.projector { position: absolute; bottom: 2%; width: 92px; height: 38px; background: linear-gradient(#26262c, #111114); border-radius: 6px; box-shadow: 0 10px 30px #000; }
.projector i { position: absolute; top: 9px; left: 50%; width: 20px; height: 20px; margin-left: -10px; border-radius: 50%; background: radial-gradient(#fff, #9cf 40%, #234 70%); box-shadow: 0 0 30px #fff; }
.projector-l { left: calc(27% - 46px); } .projector-r { right: calc(27% - 46px); }
.dust { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.floor { position: absolute; left: 0; right: 0; bottom: 0; height: 18%; background: linear-gradient(transparent, rgba(0,0,0,.9)); }
.wall-cap { display: flex; justify-content: space-between; align-items: end; gap: 30px; flex-wrap: wrap; margin-top: -10vh; position: relative; z-index: 2; }
.wall-cap .label { --accent: var(--magenta); }
.wall-actions { display: grid; gap: 4px; justify-items: start; }

/* ---------- AIGC carousel ---------- */
.aigc { padding: 12vh 0 10vh; --accent: var(--teal); }
.aigc-head { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: end; margin-bottom: 26px; }
.aigc-cats { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
.carousel { position: relative; height: min(76vh, 760px); min-height: 420px; overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); touch-action: pan-y; }
.carousel-canvas { position: absolute; inset: 0; width: 100%; height: 100%; cursor: grab; }
.carousel-canvas:active { cursor: grabbing; }
.carousel-dom { position: absolute; inset: 0; display: none; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; padding: 30px var(--gut); align-items: center; -webkit-overflow-scrolling: touch; }
.no-gl-carousel .carousel-dom { display: flex; }
.no-gl-carousel .carousel-canvas { display: none; }
.no-gl-carousel.carousel { height: auto; min-height: 0; padding-bottom: 22px; }
.no-gl-carousel .carousel-dom { position: relative; inset: auto; padding-top: 44px; padding-bottom: 14px; }
.no-gl-carousel .carousel-cap { position: relative; left: auto; bottom: auto; padding: 0 var(--gut); max-width: none; }
.cc-item { flex: 0 0 min(78vw, 560px); scroll-snap-align: center; position: relative; aspect-ratio: 1248/704; border-radius: 2px; overflow: hidden; background: #000; }
.cc-item img, .cc-item video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cc-item span { position: absolute; left: 10px; bottom: 8px; font: 10px var(--mono); color: #fff; text-shadow: 0 1px 6px #000; letter-spacing: .1em; }
.carousel-cap { position: absolute; left: var(--gut); bottom: 18px; display: grid; gap: 2px; font-size: 10px; letter-spacing: .14em; color: var(--dim); max-width: min(560px, 80vw); pointer-events: none; z-index: 2; }
.carousel-cap b { color: var(--teal); font-weight: 400; }
.carousel-cap span { font-family: var(--sans); font-size: 15px; color: var(--ink); letter-spacing: .03em; }
.carousel-cap small { font-size: 10px; color: var(--faint); letter-spacing: .06em; }
.carousel-hint { position: absolute; right: var(--gut); top: 14px; font-size: 10px; letter-spacing: .3em; color: var(--faint); }
.aigc-styles { list-style: none; padding-top: 30px; padding-bottom: 0; margin-top: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.aigc-styles li { font-size: 13px; color: var(--dim); line-height: 1.75; border-top: 1px solid var(--line); padding-top: 14px; }
.aigc-styles b { display: block; color: var(--ink); font-size: 18px; font-weight: 600; }
.aigc-styles span { display: block; font-size: 10.5px; letter-spacing: .18em; color: var(--teal); margin-bottom: 6px; }

/* ---------- UNCANNY ---------- */
.uncanny { background: #000; padding: 8vh 0 6vh; --accent: var(--amber); }
.uncanny.is-open { padding-bottom: 14vh; }
.uncanny .solid::before { display: none; }
.uncanny::before { background: linear-gradient(transparent, #000); }
.cnote { margin-top: 30px; border: 1px solid rgba(255,140,0,.45); border-radius: 3px; padding: 22px 24px; background: repeating-linear-gradient(-45deg, rgba(255,140,0,.04) 0 10px, transparent 10px 20px); }
.cnote-k { font-size: 11px; letter-spacing: .22em; color: var(--amber); margin: 0 0 10px; }
.cnote p { font-size: 14.5px; margin: 0 0 10px; }
.cnote-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.uncanny-room { position: relative; margin-top: 60px; padding: 0 var(--gut); }
.uncanny-room.is-lit .uncanny-grid { animation: flicker 2.2s steps(1) forwards; }
.tube { position: absolute; left: 10%; right: 10%; top: -20px; height: 2px; background: #fff; box-shadow: 0 0 30px 6px rgba(255,240,220,.55); opacity: 0; }
.uncanny-room.is-lit .tube { animation: flicker 2.2s steps(1) forwards; }
@keyframes flicker { 0% { opacity: 0; } 6% { opacity: 1; } 9% { opacity: 0; } 18% { opacity: .9; } 21% { opacity: .1; } 24% { opacity: 0; } 38% { opacity: 1; } 41% { opacity: .2; } 46% { opacity: 1; } 49% { opacity: .5; } 54% { opacity: 1; } 100% { opacity: 1; } }
.uncanny-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; max-width: 1480px; margin: 0 auto; }
.uc { margin: 0; position: relative; aspect-ratio: 1248/704; background: #050505; overflow: hidden; border-radius: 1px; outline: none; }
.uc img, .uc video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: grayscale(.85) brightness(.55) contrast(1.1); transition: filter .5s; }
.uc:hover img, .uc:hover video, .uc:focus-visible img, .uc.is-playing video, .uc.is-playing img { filter: none; }
.uc figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px 8px 6px; font: 10.5px/1.5 var(--mono); color: #ddd; background: linear-gradient(transparent, rgba(0,0,0,.85)); opacity: 0; transition: opacity .3s; }
.uc:hover figcaption, .uc:focus-visible figcaption, .uc.is-playing figcaption { opacity: 1; }
.uc i { position: absolute; top: 6px; left: 8px; font: normal 10.5px var(--mono); color: var(--amber); letter-spacing: .1em; }

/* ---------- HUMAN ---------- */
.human { padding: 16vh 0 4vh; --accent: var(--amber); }
.dial-sec { height: 520vh; margin-top: 50px; }
.dial-sticky { position: sticky; top: 0; height: 100vh; height: 100svh; display: grid; grid-template-columns: 1fr 1fr; gap: 5vw; align-items: center; max-width: 1360px; margin: 0 auto; padding: 70px var(--gut) 30px; }
.dial-wrap { position: relative; width: min(40vw, 68vh); aspect-ratio: 1; justify-self: center; }
.dial { width: 100%; height: 100%; overflow: visible; }
.d-ring { fill: rgba(9,9,9,.55); stroke: var(--line); stroke-width: 1; }
.d-ring2 { fill: none; stroke: rgba(255,140,0,.15); stroke-dasharray: 2 5; }
.d-ticks line { stroke: var(--ghost); stroke-width: 1; }
.d-ticks line.h6 { stroke: var(--dim); }
.d-marks line { stroke: var(--amber); stroke-width: 2; }
.d-arc { fill: none; stroke: var(--amber); stroke-width: 3; filter: drop-shadow(0 0 8px var(--amber)); }
.d-lbl { font: 11px var(--mono); fill: var(--dim); letter-spacing: .1em; }
.d-sun { fill: #ffd28a; filter: drop-shadow(0 0 14px var(--amber)) drop-shadow(0 0 30px var(--amber)); }
.dial-center { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; pointer-events: none; }
.dial-center span { font-size: 13px; letter-spacing: .2em; color: var(--amber); }
.dial-center small[data-dial-piece] { color: var(--dim); letter-spacing: .12em; margin-bottom: 4px; }
.dial-center b { font-size: clamp(40px, 6vw, 84px); font-weight: 900; line-height: 1.2; letter-spacing: .08em; }
.dial-center small { font-size: 10px; letter-spacing: .3em; color: var(--dim); }
.dial-rows { position: relative; min-height: 260px; }
.drow { position: absolute; inset: 0 0 auto 0; opacity: 0; transform: translateY(20px); transition: opacity .6s var(--ease), transform .7s var(--ease); }
.drow.is-on { opacity: 1; transform: none; }
.drow > span { font-size: 11px; letter-spacing: .14em; color: var(--amber); }
.drow h3 { font-size: clamp(28px, 3.4vw, 44px); margin: 6px 0 4px; font-weight: 600; }
.drow h3 small { font-size: 11px; letter-spacing: .24em; color: var(--dim); font-weight: 400; margin-left: 8px; }
.drow p { font-size: 15px; color: var(--ink); margin: 0 0 8px; max-width: 30em; }
.drow p.dim { font-size: 11px; color: var(--dim); letter-spacing: .1em; }
.linear { margin-top: 40px; }
.linear-k { display: flex; justify-content: space-between; font-size: 10.5px; letter-spacing: .1em; color: var(--blue); margin: 0 0 10px; }
.linear-k b { color: var(--ink); font-weight: 400; font-variant-numeric: tabular-nums; }
.linear-bar { position: relative; height: 6px; background: var(--line); }
.linear-bar i { position: absolute; left: 0; top: 0; bottom: 0; width: 100%; background: var(--blue); transform-origin: 0 50%; transform: scaleX(0); box-shadow: 0 0 12px var(--blue); }
.linear-bar .cut { position: absolute; left: var(--x); top: -5px; bottom: -5px; width: 1px; background: var(--ink); opacity: .5; }
.practices { padding-top: 12vh; }
.prac-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.prac { padding: 24px; border: 1px solid var(--line); border-radius: 3px; background: rgba(9,9,9,.82); backdrop-filter: blur(8px); }
.prac > span { font-size: 10px; letter-spacing: .2em; color: var(--amber); }
.prac h3 { font-size: 22px; margin: 6px 0 8px; font-weight: 600; }
.prac p { margin: 0; font-size: 14px; color: var(--dim); }
.quotes { padding: 14vh var(--gut) 10vh; }
.q { margin: 0 0 60px; }
.q p { font-size: clamp(26px, 4vw, 48px); line-height: 1.6; margin: 0 0 12px; font-weight: 600; }
.q cite { font-style: normal; font-size: 11px; letter-spacing: .14em; color: var(--amber); }
.letter-sec { padding: 10vh 0; }
.letter p { font-size: clamp(18px, 2.2vw, 22px); line-height: 2.15; margin: 0 0 1.3em; }
.letter .c { transition: color .5s, opacity .5s, text-shadow .4s; color: rgba(216,213,208,.2); }
.letter .c.on { color: var(--ink); text-shadow: 0 0 18px rgba(126,184,255,.6); }
.letter .c.read { color: var(--dim); text-shadow: none; }
.letter .c.head { color: var(--blue); text-shadow: 0 0 14px var(--blue); }
.no-readonce .letter .c { color: var(--ink); }
.letter-sig { font-size: 11px; letter-spacing: .16em; color: var(--blue); }
.echoes { padding: 8vh var(--gut) 12vh; }
.echo-table { border: 1px solid var(--line); border-radius: 3px; background: rgba(9,9,9,.85); }
.echo-row { display: grid; grid-template-columns: 1fr 1.3fr; gap: 20px; padding: 16px 20px; border-top: 1px solid var(--line-soft); font-size: 14.5px; }
.echo-row:first-child { border-top: 0; }
.echo-row span:first-child { color: var(--amber); }
.echo-row span:last-child { color: var(--ink); font-family: var(--serif); }
.echo-hd { font-size: 10px; letter-spacing: .2em; color: var(--faint); }
.echo-hd span:first-child, .echo-hd span:last-child { color: var(--faint); font-family: var(--mono); }
.departures-k { margin-top: 70px; }
.departures { list-style: none; padding: 0; margin: 0; }
.departures li { font-family: var(--serif); font-size: clamp(17px, 2vw, 21px); line-height: 1.9; padding: 16px 0 16px 34px; border-top: 1px solid var(--line-soft); position: relative; }
.departures li::before { content: '↯'; position: absolute; left: 0; color: var(--amber); }

/* ---------- PROCESS ---------- */
.process { padding: 16vh 0 6vh; --accent: var(--magenta); }
.rules { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 140px; }
.rule { position: relative; padding: 34px 28px 28px; border: 1px solid var(--line); border-radius: 3px; background: rgba(9,9,9,.8); backdrop-filter: blur(10px); overflow: hidden; transition: border-color .4s, transform .5s var(--ease); }
.rule:hover { border-color: var(--magenta); transform: translateY(-6px); }
.rule-n { position: absolute; right: 18px; top: 10px; font-size: 64px; color: transparent; -webkit-text-stroke: 1px var(--line); line-height: 1; }
.rule h3 { font-size: clamp(32px, 3.6vw, 48px); font-weight: 900; margin: 0; letter-spacing: .06em; }
.rule .mono { font-size: 10.5px; letter-spacing: .24em; margin: 4px 0 18px; }
.rule p { font-size: 14.5px; color: var(--ink); margin: 0 0 10px; }
.rule p.en { color: var(--dim); font-size: 12.5px; }
.pipe { margin: 40px auto 120px; position: relative; }
.pipe-svg { position: absolute; left: var(--gut); right: var(--gut); top: 14px; width: calc(100% - 2 * var(--gut)); height: 20px; overflow: visible; }
.pipe-svg path { stroke: var(--line); stroke-width: 1; fill: none; vector-effect: non-scaling-stroke; }
.pipe ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; position: relative; }
.pipe li { padding-top: 46px; position: relative; }
.pipe li::before { content: ''; position: absolute; top: 18px; left: 0; width: 12px; height: 12px; border-radius: 50%; background: var(--bg); border: 1px solid var(--magenta); box-shadow: 0 0 14px var(--magenta); }
.pipe-n { font-size: 11px; color: var(--magenta); letter-spacing: .2em; }
.pipe h3 { font-size: 22px; margin: 4px 0 0; font-weight: 600; }
.pipe .mono:not(.pipe-n) { font-size: 10.5px; letter-spacing: .22em; color: var(--faint); margin: 0 0 10px; }
.pipe p:last-child { font-size: 13.5px; color: var(--dim); margin: 0; }
.pulse { position: absolute; top: 20px; width: 70px; height: 2px; margin-top: -1px; background: linear-gradient(90deg, transparent, var(--magenta), #fff); box-shadow: 0 0 12px var(--magenta); pointer-events: none; }
.princ { margin: 0 0 30px; }
.princ > div { display: grid; grid-template-columns: 210px 1fr; gap: 24px; padding: 20px 0; border-top: 1px solid var(--line-soft); }
.princ dt b { display: block; font-size: 20px; font-weight: 600; }
.princ dt span { font-size: 10.5px; letter-spacing: .2em; color: var(--magenta); }
.princ dd { margin: 0; font-size: 14.5px; color: var(--dim); }
.explainer { display: grid; grid-template-columns: 1.6fr 1fr; gap: 40px; align-items: end; margin: 120px auto 120px; }
.ex-media video { width: 100%; aspect-ratio: 16/9; background: #000; border: 1px solid var(--line); }
.ex-txt h3 { font-size: clamp(22px, 2.6vw, 32px); font-weight: 600; line-height: 1.45; margin: 0; }
.tl { list-style: none; padding: 0; margin: 0; border-left: 1px solid var(--line); }
.tl li { position: relative; padding: 10px 0 10px 26px; font-size: 15px; }
.tl li::before { content: ''; position: absolute; left: -4px; top: 21px; width: 7px; height: 7px; border-radius: 50%; background: var(--magenta); }
.tl li span { display: block; font-size: 10.5px; letter-spacing: .12em; color: var(--dim); }

/* ---------- DATA ---------- */
.data { padding: 14vh 0 8vh; --accent: var(--lime); }
.dl { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; max-width: 1080px; margin: 30px auto 40px; }
.dl-card { padding: 26px; border: 1px solid var(--line); border-radius: 3px; background: rgba(9,9,9,.85); backdrop-filter: blur(10px); }
.dl-card > .mono { font-size: 11px; letter-spacing: .14em; margin: 0 0 12px; }
.dl-fields { font-size: 13.5px; color: var(--dim); margin: 0 0 20px; }
.dl-btns { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------- CREDITS ---------- */
.credits { padding: 10vh 0 10vh; --accent: var(--lime); }
.roles { border-top: 1px solid var(--line); margin-bottom: 80px; }
.role-row { display: grid; grid-template-columns: 170px 120px 1fr; gap: 6px 20px; padding: 16px 0; border-bottom: 1px solid var(--line-soft); align-items: baseline; }
.role-row > span.mono { font-size: 10px; letter-spacing: .18em; color: var(--faint); }
.role-row b { font-weight: 500; }
.role-row small { grid-column: 3; color: var(--dim); font-size: 13px; }
.versions { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 24px 0 30px; }
.ver { display: grid; gap: 4px; padding: 22px; border: 1px solid var(--line); border-radius: 3px; text-decoration: none; background: rgba(9,9,9,.85); transition: border-color .3s; }
a.ver:hover { border-color: var(--lime); }
.ver b { font-size: 24px; font-weight: 600; }
.ver span { font-size: 10px; letter-spacing: .22em; color: var(--dim); }
.ver small { font-size: 13.5px; color: var(--dim); }
.ver em { font-style: normal; font-size: 11px; color: var(--lime); margin-top: 8px; letter-spacing: .1em; }
.ver-here { border-style: dashed; }
.privacy { padding-left: 1.1em; font-size: 13.5px; color: var(--dim); }
.glossary { margin-top: 60px; border-top: 1px solid var(--line); padding-top: 16px; }
.glossary summary { font-size: 11px; letter-spacing: .22em; color: var(--lime); cursor: pointer; }
.glossary dl { margin: 18px 0 0; display: grid; grid-template-columns: 210px 1fr; gap: 10px 20px; font-size: 14px; }
.glossary dt span { display: block; font-size: 10px; color: var(--faint); }
.glossary dd { margin: 0; color: var(--dim); }

/* ---------- FOOTER ---------- */
.foot { padding: 16vh 0 120px; }
.foot-read { position: relative; height: 1px; background: var(--line); margin: 0 var(--gut) 12vh; }
.foot-read i { position: absolute; top: -40px; bottom: -40px; left: 0; width: 2px; background: var(--lime); box-shadow: 0 0 20px var(--lime); transform: translateX(var(--x, 0)); }
.foot-q { font-size: clamp(26px, 4.4vw, 54px); line-height: 1.6; margin: 0 0 10px; font-weight: 600; }
.foot-meta { font-size: 10.5px; letter-spacing: .12em; color: var(--dim); margin: 10px 0 0; }
.foot-meta a { color: var(--lime); text-decoration: none; }

/* ---------- DOCK ---------- */
.dock { position: fixed; left: var(--gut); bottom: 14px; z-index: 90; display: flex; align-items: center; gap: 12px; padding: 7px 14px 7px 7px; border: 1px solid var(--line); border-radius: 999px; background: rgba(9,9,9,.78); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  font-size: 10px; letter-spacing: .08em; transform: translateY(140%); visibility: hidden; transition: transform .7s var(--ease), visibility 0s linear .7s; max-width: calc(100vw - 2 * var(--gut)); }
.dock.is-shown { transform: none; visibility: visible; transition: transform .7s var(--ease), visibility 0s; }
.dock-btn { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--lime); display: grid; place-items: center; flex: none; }
.dock-ico { width: 0; height: 0; border-left: 9px solid var(--lime); border-top: 6px solid transparent; border-bottom: 6px solid transparent; margin-left: 3px; }
.is-playing .dock-ico { width: 10px; height: 11px; border: 0; border-left: 3px solid var(--lime); border-right: 3px solid var(--lime); margin-left: 0; }
.dock-meta { display: grid; line-height: 1.4; min-width: 0; }
.dock-meta b { font-weight: 400; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 230px; }
.dock-meta span { color: var(--dim); }
.dock-spec { width: 120px; height: 28px; }

/* ---------- LIGHTBOX ---------- */
.lightbox { position: fixed; inset: 0; z-index: 170; background: rgba(0,0,0,.94); display: grid; place-items: center; padding: 60px var(--gut) 50px; }
.lightbox[hidden] { display: none; }
.lb-media { width: min(100%, 1400px); }
.lb-media video { width: 100%; max-height: 78vh; background: #000; }
.lb-close { position: absolute; top: 18px; right: var(--gut); font-size: 11px; letter-spacing: .16em; border: 1px solid var(--line); padding: 6px 14px; border-radius: 999px; }
.lb-cap { position: absolute; bottom: 18px; left: var(--gut); right: var(--gut); font-size: 11px; color: var(--dim); letter-spacing: .06em; text-align: center; }
.toast { position: fixed; left: 50%; top: 70px; transform: translateX(-50%); z-index: 160; font-size: 11px; letter-spacing: .06em; background: rgba(9,9,9,.92); border: 1px solid var(--amber); color: var(--ink); padding: 8px 16px; border-radius: 2px; }


/* ---------- marquee of raw frames ---------- */
.marquee { margin-top: 90px; }
.marquee-track { display: flex; overflow: hidden; width: 100%; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track ul { list-style: none; margin: 0; padding: 0 6px 0 0; display: flex; gap: 6px; flex: none; animation: marq 90s linear infinite; }
.marquee-track:hover ul { animation-play-state: paused; }
.marquee-track li { position: relative; width: clamp(220px, 24vw, 340px); aspect-ratio: 16/9; overflow: hidden; background: #000; }
.marquee-track img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), filter .6s; filter: saturate(.85); }
.marquee-track li:hover img { transform: scale(1.12); filter: saturate(1.2); }
.marquee-track span { position: absolute; left: 8px; bottom: 6px; font-size: 10.5px; letter-spacing: .08em; color: #fff; text-shadow: 0 1px 6px #000; }
@keyframes marq { to { transform: translateX(-100%); } }
.no-motion .marquee-track { overflow-x: auto; }
.no-motion .marquee-track ul { animation: none; }
.no-motion .marquee-track ul[aria-hidden] { display: none; }
/* ---------- contact sheet pan ---------- */
.sheet { margin: 80px 0 0; overflow: hidden; }
.sheet-inner { width: 100%; overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sheet-inner img { width: 150%; max-width: none; transform: translateX(var(--sx, 0%)); will-change: transform; }
.sheet figcaption { font-size: 10.5px; letter-spacing: .1em; color: var(--faint); margin-top: 10px; }
.no-motion .sheet-inner img { width: 100%; transform: none; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1100px) {
  .nav a { padding: 6px 7px; font-size: 12px; }
  .stats { grid-template-columns: repeat(3, 1fr); }
  .stat-lead { grid-column: 1 / -1; }
  .species { grid-template-columns: repeat(2, 1fr); }
  .phase-list { grid-template-columns: repeat(2, 1fr); gap: 0 26px; }
  .pieces { grid-template-columns: repeat(2, 1fr); }
  .aigc-styles { grid-template-columns: repeat(3, 1fr); }
  .uncanny-grid { grid-template-columns: repeat(4, 1fr); }
  .pipe ol { grid-template-columns: repeat(3, 1fr); }
  .pipe-svg { display: none; }
}
@media (max-width: 860px) {
  body { font-size: 15px; }
  .nav-toggle { display: inline-block; }
  .nav ol { display: none; position: fixed; top: 58px; right: var(--gut); left: var(--gut); flex-direction: column; background: rgba(9,9,9,.96); border: 1px solid var(--line); padding: 10px; backdrop-filter: blur(12px); }
  .nav.is-open ol { display: flex; }
  .nav a { font-size: 15px; padding: 10px 12px; }
  .nav a span { display: inline; }
  .brand-en { display: none; }
  .readhead-count { display: none; }
  .hud-bl { display: none; }
  .hud-br { display: none; }
  .scroll-cue { display: none; }
  .cols2, .two-tools, .sculpt-head, .ridge-head, .aigc-head, .explainer, .dl, .versions { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .species { grid-template-columns: 1fr 1fr; gap: 10px; }
  .sp h3 { font-size: 17px; margin: 12px 12px 0; }
  .sp p:not(.sp-n) { margin: 0 12px; font-size: 12.5px; }
  .sp-n, .sp-bar { margin-left: 12px; margin-right: 12px; }
  .scope { height: 360vh; }
  .scope-sticky { grid-template-columns: 1fr; grid-template-rows: auto auto; gap: 14px; padding-top: 64px; align-content: center; }
  .scope-view { width: min(76vw, 44vh); }
  .scope-time { font-size: 46px; margin-bottom: 4px; }
  .scope-title { font-size: 18px; }
  .scope-notes { font-size: 12.5px; min-height: 0; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
  .scope-sticky .fine { display: none; }
  .phase-list { grid-template-columns: 1fr; }
  .pbar { grid-template-columns: 1fr 34px; }
  .pbar > span:first-child { grid-column: 1 / -1; }
  .collage { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 44vw; gap: 8px; }
  .cl { grid-column: auto !important; grid-row: span 1 !important; }
  .cl-a, .cl-c, .cl-g { grid-row: span 2 !important; }
  .cl figcaption { opacity: 1; transform: none; font-size: 10.5px; }
  .seq-row { grid-template-columns: 1fr 1fr; }
  .log li { grid-template-columns: 1fr; gap: 2px; }
  .learn-grid { grid-template-columns: 1fr; }
  .ctrl-k { width: 100%; }
  .sculpt-stage { height: 78vh; }
  .legend-live { left: 12px; right: 12px; bottom: 10px; }
  .sculpt-count { display: none; }
  .rl-legend { left: 14px; right: 14px; justify-content: flex-start; }
  .rl-date { display: none; }
  .deck { grid-template-columns: 1fr; }
  .deck-stage { min-height: 62vh; }
  .deck-side { border-left: 0; border-top: 1px solid var(--line); }
  .mv { grid-template-columns: 1fr; gap: 6px; }
  .mv-play { justify-self: start; }
  .pieces { grid-template-columns: 1fr; }
  .piece { min-height: 0; }
  .film { height: 900vh; }
  .frame { flex-basis: 84vw; grid-template-columns: 1fr; gap: 16px; }
  .frame-code { font-size: 80px; top: -40px; }
  .frame-txt p:last-child { font-size: 13px; display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; }
  .micro-pair { grid-template-columns: 1fr; }
  .wall-room { height: 70vh; min-height: 380px; }
  .wall-screen { width: 120vw; top: 20%; }
  .projector { width: 60px; height: 26px; }
  .wall-cap { margin-top: 0; padding-top: 20px; }
  .aigc-cats { justify-content: flex-start; }
  .aigc-styles { grid-template-columns: 1fr 1fr; }
  .uncanny-grid { grid-template-columns: repeat(2, 1fr); }
  .dial-sec { height: 460vh; }
  .dial-sticky { grid-template-columns: 1fr; gap: 10px; padding-top: 60px; align-content: center; }
  .dial-wrap { width: min(70vw, 38vh); }
  .dial-rows { min-height: 210px; }
  .drow h3 { font-size: 26px; }
  .drow p { font-size: 13.5px; }
  .linear { margin-top: 10px; }
  .prac-grid { grid-template-columns: 1fr; }
  .echo-row { grid-template-columns: 1fr; gap: 4px; }
  .rules { grid-template-columns: 1fr; }
  .pipe ol { grid-template-columns: 1fr 1fr; }
  .princ > div { grid-template-columns: 1fr; gap: 6px; }
  .role-row { grid-template-columns: 1fr; }
  .role-row small { grid-column: auto; }
  .glossary dl { grid-template-columns: 1fr; }
  .dock-spec { display: none; }
  .dock-meta b { max-width: 52vw; }
  .gate-h { font-size: 26vw; }
}
@media (max-width: 480px) {
  .species { grid-template-columns: 1fr; }
  .pipe ol { grid-template-columns: 1fr; }
  .aigc-styles { grid-template-columns: 1fr; }
  .title { font-size: 20.5vw; letter-spacing: 0; }
  .btn { padding: 12px 20px; }
}

/* ---------- REDUCED MOTION / STATIC ---------- */
.no-motion .beats { height: auto; }
.no-motion .beats-sticky { position: relative; height: auto; display: block; padding: 14vh 0; }
.no-motion .beats-list { height: auto; display: grid; gap: 9vh; }
.no-motion .beat { position: relative; opacity: 1; }
.no-motion .beats-count, .no-motion .beats-rail { display: none; }
.no-motion .gate { height: 70vh; }
.no-motion .gate-sticky { position: relative; height: 70vh; }
.no-motion .tear { display: none; }
.no-motion .gate-title { mix-blend-mode: normal; }
.no-motion .scope { height: auto; }
.no-motion .scope-sticky { position: relative; height: auto; padding: 10vh var(--gut); }
.no-motion .film { height: auto; }
.no-motion .film-sticky { position: relative; height: auto; display: block; overflow: visible; padding: 40px 0; }
.no-motion .film-track { flex-direction: column; gap: 70px; transform: none !important; }
.no-motion .frame { flex-basis: auto; width: min(100%, 1180px); margin: 0 auto; }
.no-motion .film-progress { display: none; }
.no-motion .dial-sec { height: auto; }
.no-motion .dial-sticky { position: relative; height: auto; padding: 8vh var(--gut); }
.no-motion .drow { position: relative; opacity: 1; transform: none; margin-bottom: 26px; }
.no-motion .dial-rows { min-height: 0; }
.no-motion .grain, .no-motion .scroll-cue i { animation: none; }
.no-motion .loader-ring { animation: none; }
.no-motion .glitchy::before, .no-motion .glitchy::after { display: none; }
.no-motion .uncanny-room.is-lit .uncanny-grid, .no-motion .uncanny-room.is-lit .tube { animation: none; opacity: 1; }
.no-motion .cl img, .no-motion .cl video { transform: none; }
.no-motion .flow-line { animation: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}

/* ---------- fixes 2026-10-20 ---------- */
/* author display rules must never override [hidden] (uncanny gate buttons, tooltips, lightbox) */
[hidden] { display: none !important; }
.hero-cite { display: inline-block; font-size: 10.5px; letter-spacing: .12em; color: var(--faint); margin-left: 6px; }
/* a lit seam behind each torn gate, so the panels never read as a dead black screen */
.gate { --seam: var(--lime); }
.gate[data-gate="ai"] { --seam: var(--blue); }
.gate[data-gate="human"] { --seam: var(--amber); }
.gate[data-gate="fusion"] { --seam: var(--magenta); }
.gate-sticky::before { content: ''; position: absolute; left: 0; right: 0; top: 50%; height: 2px; margin-top: -1px; z-index: 0;
  background: var(--seam); box-shadow: 0 0 24px 6px color-mix(in srgb, var(--seam) 55%, transparent), 0 0 90px 30px color-mix(in srgb, var(--seam) 18%, transparent); opacity: .9; }
.no-motion .gate-sticky::before { display: none; }
/* touch targets */
.legend-live li { min-height: 24px; }
.foot-meta a { display: inline-block; padding: 5px 0; }
/* readable mid-text scrim on the hero (the stomata field is bright behind it on phones) */
@media (max-width: 860px) {
  .hero::before { background: linear-gradient(90deg, rgba(0,0,0,.7) 0%, rgba(0,0,0,.45) 70%, rgba(0,0,0,.15) 100%), radial-gradient(ellipse 120% 70% at 30% 70%, rgba(0,0,0,.55), transparent 75%); }
  .hero-lead-en, .hero-hint { text-shadow: 0 1px 10px #000, 0 0 2px #000; }
  .legend li { min-height: 24px; }
  /* filmstrip: a plain vertical list on phones (the pinned strip clipped the text) */
  .film { height: auto; margin-top: 30px; }
  .film-sticky { position: relative; height: auto; display: block; overflow: visible; padding: 20px 0; }
  .film-head { padding-bottom: 18px; }
  .film-track { flex-direction: column; gap: 56px; transform: none !important; }
  .frame { flex-basis: auto; width: 100%; grid-template-columns: 1fr; gap: 14px; }
  .frame-media { transform: none; }
  .frame-code { font-size: 64px; top: -18px; }
  .frame-txt { background: rgba(9,9,9,.72); padding: 14px 14px 12px; border-radius: 3px; }
  .frame-txt p:last-child { display: block; -webkit-line-clamp: unset; overflow: visible; }
  .film-progress { display: none; }
}
/* ridge / sculpture without WebGL: a short note instead of an empty stage */
.ridge-stage.ridge-off { height: auto; min-height: 0; padding: 36px var(--gut); }
.ridge-off canvas { display: none; }
.ridge-note { text-align: center; }
@media (max-width: 860px) {
  .frame-code { z-index: 0; opacity: .55; }
}
/* sections focused by the skip link / nav (tabindex=-1) don't draw a page-sized outline */
main [tabindex="-1"]:focus, main [tabindex="-1"]:focus-visible { outline: none; }
