/* TASKROK/OS — shared styles */
/* fonts are served from this site, so no visitor data goes to Google */
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(/assets/fonts/jetbrains-mono-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(/assets/fonts/jetbrains-mono-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Unbounded'; font-style: normal; font-weight: 700 900; font-display: swap; src: url(/assets/fonts/unbounded-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Unbounded'; font-style: normal; font-weight: 700 900; font-display: swap; src: url(/assets/fonts/unbounded-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
:root {
  --bg: #05070d;
  --bg-2: #080c16;
  --panel: rgba(8, 12, 22, 0.72);
  --panel-solid: #0a0f1b;
  --line: rgba(120, 160, 220, 0.16);
  --line-2: rgba(120, 160, 220, 0.28);
  --ink: #d7e3f4;
  --ink-2: #a9b8cc;
  --dim: #66768f;
  --amber: #ffb000;
  --amber-soft: rgba(255, 176, 0, 0.14);
  --cyan: #4fd1ff;
  --green: #3dff9a;
  --red: #ff4d5e;
  --paper: #ffffff;
  --mono: 'JetBrains Mono', ui-monospace, Menlo, Consolas, monospace;
  --display: 'Unbounded', var(--mono);
  --gut: clamp(16px, 3vw, 40px);
  --max: 1320px;
  --top-h: 52px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--top-h) + 12px); }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 13px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
::selection { background: var(--amber); color: #000; }
a { color: inherit; }
img, video { display: block; max-width: 100%; }
b, strong { font-weight: 500; color: var(--ink); }
.skip {
  position: absolute; left: 8px; top: -60px; z-index: 50; padding: 8px 12px;
  background: var(--amber); color: #000; text-decoration: none; font-weight: 700;
}
.skip:focus { top: 8px; }
:focus-visible { outline: 1.5px solid var(--amber); outline-offset: 2px; }

/* ---------- ambient layers ---------- */
.blueprint {
  position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  opacity: 0.22;
  mask-image: radial-gradient(ellipse at 50% 30%, #000 20%, transparent 85%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 30%, #000 20%, transparent 85%);
}
.fx {
  position: fixed; inset: 0; pointer-events: none; z-index: 40;
  background: repeating-linear-gradient(0deg, rgba(0,0,0,0.16) 0 1px, transparent 1px 3px);
  mix-blend-mode: multiply;
}

/* ---------- top bar ---------- */
.top {
  position: fixed; top: 0; left: 0; right: 0; z-index: 30;
  height: var(--top-h);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 0 18px;
  border-bottom: 1px solid var(--line);
  background: rgba(5, 7, 13, 0.55);
  backdrop-filter: blur(10px) saturate(1.2);
  -webkit-backdrop-filter: blur(10px) saturate(1.2);
  transition: background 0.3s;
}
.top.solid { background: rgba(5, 7, 13, 0.9); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.mark {
  width: 28px; height: 28px; border: 1.5px solid var(--amber);
  display: grid; place-items: center; position: relative;
  color: var(--amber); font-weight: 700; font-size: 13px; flex-shrink: 0;
}
.mark::after {
  content: ""; position: absolute; inset: -5px; border: 1px dashed rgba(255,176,0,0.35);
  animation: spin 18s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.brand b { letter-spacing: 0.18em; font-weight: 700; font-size: 12px; display: block; line-height: 1.2; }
.brand small { display: block; color: var(--dim); font-size: 10px; letter-spacing: 0.08em; }
.nav { display: flex; gap: 2px; }
.nav a {
  text-decoration: none; color: var(--dim); font-size: 11px; letter-spacing: 0.12em;
  padding: 6px 10px; border: 1px solid transparent; transition: color 0.2s, border-color 0.2s, background 0.2s;
  white-space: nowrap;
}
.nav a i { font-style: normal; color: var(--amber); opacity: 0.7; margin-right: 6px; }
.nav a:hover { color: var(--ink); border-color: var(--line-2); }
.nav a.on { color: var(--amber); border-color: rgba(255,176,0,0.45); background: var(--amber-soft); }
/* the launcher covers this while the hero is on screen; the links fade in once it scrolls away */
.nav, .menu-btn { transition: opacity 0.3s, visibility 0.3s; }
.top:not(.solid) .nav, .top:not(.solid) .menu-btn { opacity: 0; visibility: hidden; pointer-events: none; }
.menu-btn {
  display: none; background: none; border: 1px solid var(--line-2); color: var(--ink);
  font: inherit; font-size: 11px; letter-spacing: 0.12em; padding: 6px 10px; cursor: pointer;
}
.meta { display: flex; gap: 18px; color: var(--dim); font-size: 11px; white-space: nowrap; }
.meta b { color: var(--ink); font-weight: 500; font-variant-numeric: tabular-nums; }
.snd {
  background: none; border: 1px solid var(--line-2); color: var(--dim); cursor: pointer;
  font: inherit; font-size: 10px; letter-spacing: 0.14em; padding: 4px 8px; transition: color 0.2s, border-color 0.2s;
}
.snd::before { content: "♪ "; }
.snd:hover, .snd:focus-visible { color: var(--ink); outline: none; }
.snd.on { color: var(--green); border-color: rgba(61,255,154,0.45); }
.live { color: var(--green) !important; }
.live::before {
  content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%;
  background: var(--green); margin-right: 6px; vertical-align: 1px;
  box-shadow: 0 0 8px var(--green); animation: blink 1.4s steps(2) infinite;
}
@keyframes blink { 50% { opacity: 0.2; } }

/* ---------- panels ---------- */
.panel {
  background: var(--panel);
  border: 1px solid var(--line);
  backdrop-filter: blur(10px) saturate(1.2);
  -webkit-backdrop-filter: blur(10px) saturate(1.2);
  position: relative;
  display: flex; flex-direction: column;
  min-width: 0; min-height: 0;
}
.panel::before, .panel::after {
  content: ""; position: absolute; width: 10px; height: 10px; border: 1.5px solid var(--amber);
  pointer-events: none; z-index: 2;
}
.panel::before { top: -1px; left: -1px; border-right: 0; border-bottom: 0; }
.panel::after  { bottom: -1px; right: -1px; border-left: 0; border-top: 0; }
.ph {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 8px 12px; border-bottom: 1px solid var(--line);
  font-size: 10px; letter-spacing: 0.14em; color: var(--dim); text-transform: uppercase;
  flex-shrink: 0;
}
.ph b { color: var(--ink); font-weight: 500; }
.ph a { color: var(--cyan); text-decoration: none; }
.ph a:hover { color: var(--amber); }
.pb { padding: 14px 14px 16px; }

/* ================================================================ HERO */
.hero-wrap { position: relative; height: 100vh; height: 100dvh; min-height: 640px; overflow: hidden; }
#gl {
  position: absolute; inset: 0; width: 100%; height: 100%; display: block; z-index: 0;
  background: radial-gradient(ellipse at 50% 40%, #0c1426 0%, var(--bg) 70%);
}
.hero-wrap::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 1;
  background:
    radial-gradient(ellipse at center, transparent 55%, rgba(0,0,0,0.55) 100%),
    linear-gradient(to bottom, transparent 75%, var(--bg) 100%);
}
.hud {
  position: relative; z-index: 2; height: 100%;
  display: grid;
  grid-template-rows: 1fr auto auto;
  grid-template-columns: minmax(280px, 350px) 1fr minmax(270px, 330px);
  grid-template-areas:
    "term  stage  side"
    "hero  hero   hero"
    "foot  foot   foot";
  gap: 14px;
  padding: calc(var(--top-h) + 14px) 18px 0;
  pointer-events: none;
}
.hud > * { pointer-events: auto; }
.stage { grid-area: stage; pointer-events: none; position: relative; }

/* terminal */
.term { grid-area: term; }
.log {
  flex: 1; overflow: hidden; padding: 10px 12px 4px;
  font-size: 11px; line-height: 1.6;
  display: flex; flex-direction: column; justify-content: flex-end;
  mask-image: linear-gradient(to bottom, transparent 0, #000 18%);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 18%);
}
.log div { white-space: pre-wrap; word-break: break-word; color: #9fb0c8; }
.log .ok   { color: var(--green); }
.log .warn { color: var(--amber); }
.log .err  { color: var(--red); }
.log .hi   { color: var(--cyan); }
.log .dim  { color: var(--dim); }
.log .you  { color: var(--ink); }
.prompt {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 12px; border-top: 1px solid var(--line); flex-shrink: 0;
}
.prompt label { color: var(--amber); white-space: nowrap; font-size: 12px; }
.prompt input {
  flex: 1; min-width: 0; background: transparent; border: 0; outline: 0;
  color: var(--ink); font: inherit; font-size: 12px; caret-color: var(--amber);
}
.prompt input::placeholder { color: #3b4759; }

/* operator panel */
.side { grid-area: side; overflow: hidden; }
.op { display: grid; grid-template-columns: 96px 1fr; gap: 12px; padding: 12px; border-bottom: 1px solid var(--line); }
.op-pic { position: relative; aspect-ratio: 3 / 4; overflow: hidden; border: 1px solid var(--line-2); background: #000; }
.op-pic img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(0.25) contrast(1.05); }
.op-pic::after {
  content: ""; position: absolute; inset: 0;
  background: repeating-linear-gradient(0deg, rgba(0,0,0,0.25) 0 1px, transparent 1px 3px),
              linear-gradient(to top, rgba(255,176,0,0.12), transparent 40%);
}
.op-pic i {
  position: absolute; left: 0; right: 0; height: 1px; background: var(--amber); box-shadow: 0 0 8px var(--amber);
  top: 0; animation: scanY 3.6s cubic-bezier(.6,0,.4,1) infinite; z-index: 1;
}
@keyframes scanY { 0% { top: 0; opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { top: 100%; opacity: 0; } }
.op-id { font-size: 10.5px; }
.op-id .h { font-family: var(--display); font-size: 17px; font-weight: 900; color: #f3f6fb; letter-spacing: 0.01em; line-height: 1.1; }
.op-id .r { color: var(--amber); letter-spacing: 0.14em; font-size: 9.5px; margin: 4px 0 8px; }
.kv { display: grid; grid-template-columns: auto 1fr; gap: 3px 10px; font-size: 10.5px; }
.kv dt { color: var(--dim); }
.kv dd { text-align: right; color: var(--ink); font-variant-numeric: tabular-nums; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.side { display: flex; flex-direction: column; min-height: 0; overflow: hidden; }
.side .mods { flex: 1; min-height: 0; overflow-y: auto; scrollbar-width: thin; scrollbar-color: var(--line-2) transparent; }
.mods { padding: 5px 12px 6px; }
.mod-row {
  display: grid; grid-template-columns: 22px 1fr 64px; gap: 8px; align-items: center;
  padding: 4px 0; font-size: 10.5px; text-decoration: none; border-bottom: 1px dashed var(--line);
}
.mod-row:last-child { border-bottom: 0; }
.mod-row .i { color: var(--amber); }
.mod-row .n { letter-spacing: 0.1em; color: var(--ink-2); transition: color 0.2s; }
.mod-row .n small { display: block; color: var(--dim); letter-spacing: 0.02em; font-size: 9.5px; }
.mod-row .s { text-align: right; color: var(--dim); font-size: 9.5px; letter-spacing: 0.1em; }
.mod-row.open .s { color: var(--green); }
.mod-row:hover .n { color: var(--amber); }
.bar { height: 3px; background: rgba(255,255,255,0.05); position: relative; overflow: hidden; margin-top: 4px; }
.bar i { position: absolute; inset: 0 auto 0 0; background: var(--green); display: block; }

/* title */
.hero {
  grid-area: hero; display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: 4px 0 8px; pointer-events: none;
}
.tag {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 5px 12px; margin-bottom: 10px;
  border: 1px solid rgba(61,255,154,0.45); background: rgba(61,255,154,0.08);
  color: var(--green); font-size: 10.5px; letter-spacing: 0.24em; font-weight: 700;
}
.tag i { width: 8px; height: 8px; background: var(--green); display: block; animation: blink 0.9s steps(2) infinite; }
h1 {
  font-family: var(--display); font-weight: 900;
  font-size: clamp(44px, 9vw, 128px); line-height: 0.9; letter-spacing: -0.02em;
  color: #f3f6fb;
  text-shadow: 0 0 40px rgba(79,209,255,0.25), 0 0 2px rgba(255,255,255,0.6);
  position: relative; display: inline-block; user-select: none;
}
h1 span { display: inline-block; min-width: 0.6em; }
h1 span.scr { color: var(--amber); text-shadow: 0 0 20px rgba(255,176,0,0.7); }
h1::after {
  content: ""; position: absolute; left: -2%; right: -2%; height: 2px; top: 50%;
  background: linear-gradient(90deg, transparent, var(--amber), transparent);
  box-shadow: 0 0 18px var(--amber);
  animation: scan 4.5s cubic-bezier(.6,0,.4,1) infinite; opacity: 0.85;
}
@keyframes scan {
  0% { top: 100%; opacity: 0; } 10% { opacity: 0.9; }
  50% { top: 0%; opacity: 0.9; } 60%, 100% { top: 0%; opacity: 0; }
}
.sub { margin-top: 12px; color: var(--ink-2); font-size: 13px; letter-spacing: 0.04em; }
.sub b { color: var(--ink); }
.sub .sep { color: var(--amber); margin: 0 8px; }
.sub .cur { display: inline-block; width: 8px; height: 14px; background: var(--amber); vertical-align: -2px; margin-left: 4px; animation: blink 1s steps(2) infinite; }
.sub .hint { color: var(--dim); }
.launcher {
  pointer-events: auto; margin-top: 14px; width: 100%; max-width: 1180px;
  display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px;
}
.launch {
  position: relative; display: grid; grid-template-columns: auto 1fr auto; grid-template-areas: "i n s" "sm sm sm";
  gap: 2px 8px; align-items: center; text-align: left; text-decoration: none;
  padding: 9px 11px 8px; border: 1px solid var(--line); background: rgba(5,7,13,0.72);
  backdrop-filter: blur(6px); transition: border-color 0.2s, background 0.2s, transform 0.2s;
}
.launch::before, .launch::after { content: ""; position: absolute; width: 7px; height: 7px; border: 1px solid var(--amber); opacity: 0; transition: opacity 0.2s; }
.launch::before { top: -1px; left: -1px; border-right: 0; border-bottom: 0; }
.launch::after  { bottom: -1px; right: -1px; border-left: 0; border-top: 0; }
.launch:hover, .launch:focus-visible { border-color: rgba(255,176,0,0.6); background: rgba(255,176,0,0.07); transform: translateY(-2px); outline: none; }
.launch:hover::before, .launch:hover::after, .launch:focus-visible::before, .launch:focus-visible::after { opacity: 1; }
.launch .i { grid-area: i; color: var(--amber); font-size: 10px; letter-spacing: 0.1em; }
.launch .n { grid-area: n; font-family: var(--display); font-weight: 800; font-size: 12.5px; letter-spacing: 0.06em; color: #f3f6fb; }
.launch small { grid-area: sm; color: var(--dim); font-size: 9.5px; letter-spacing: 0.02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.launch .s { grid-area: s; font-size: 9px; letter-spacing: 0.14em; color: var(--dim); }
.launch .s::before { content: "○ "; }
.launch.open .s { color: var(--green); }
.launch.open { border-color: rgba(61,255,154,0.45); }
.launch.open .i { color: var(--green); }
.launch.open .s::before { content: "● "; }
.launch.busy .s { color: var(--amber); animation: blink 0.5s steps(2) infinite; }

/* hero foot */
.foot {
  grid-area: foot; margin: 0 -18px;
  display: flex; align-items: stretch;
  border-top: 1px solid rgba(255,176,0,0.35);
  background: rgba(5,7,13,0.75);
  font-size: 10.5px;
}
.hazard {
  width: 120px; flex-shrink: 0;
  background: repeating-linear-gradient(-45deg, var(--amber) 0 10px, #111 10px 20px);
  background-size: 28px 28px; animation: stripes 1.2s linear infinite;
}
@keyframes stripes { to { background-position: 28px 0; } }
.ticker { flex: 1; overflow: hidden; white-space: nowrap; padding: 8px 14px; letter-spacing: 0.08em; color: #334055; }
.ticker b { color: var(--amber); font-weight: 500; }
.foot a {
  color: var(--ink); text-decoration: none; padding: 8px 16px; border-left: 1px solid var(--line);
  display: flex; align-items: center; gap: 8px; white-space: nowrap; letter-spacing: 0.08em;
  transition: background 0.2s, color 0.2s;
}
.foot a:hover, .foot a:focus-visible { background: var(--amber); color: #000; outline: none; }

/* stage overlays */
.reticle {
  position: absolute; left: 50%; top: 50%; width: min(46vh, 90%); aspect-ratio: 1;
  transform: translate(-50%, -50%); border: 1px solid rgba(79,209,255,0.12); border-radius: 50%;
}
.reticle::before, .reticle::after { content: ""; position: absolute; background: rgba(79,209,255,0.18); }
.reticle::before { left: 50%; top: -14px; bottom: -14px; width: 1px; }
.reticle::after  { top: 50%; left: -14px; right: -14px; height: 1px; }
.readout {
  position: absolute; font-size: 10px; color: var(--cyan); letter-spacing: 0.1em; opacity: 0.8;
  text-shadow: 0 0 8px rgba(79,209,255,0.6);
}
.readout.tl { top: 6px; left: 8px; }
.readout.br { bottom: 6px; right: 8px; text-align: right; }
.readout.tr { top: 6px; right: 8px; text-align: right; color: var(--amber); text-shadow: 0 0 8px rgba(255,176,0,0.6); }

/* boot */
#boot {
  position: fixed; inset: 0; z-index: 60; background: var(--bg);
  display: grid; place-items: center; transition: opacity 0.6s ease, visibility 0.6s;
}
#boot.gone { opacity: 0; visibility: hidden; }
#boot pre { color: var(--amber); font-size: 11px; line-height: 1.5; min-width: 300px; }

.hud > * { animation: rise 0.9s cubic-bezier(.2,.8,.2,1) both; }
.term { animation-delay: 0.2s; }
.side { animation-delay: 0.3s; }
.hero { animation-delay: 0.4s; }
.foot { animation-delay: 0.5s; }
@keyframes rise { from { opacity: 0; transform: translateY(12px); filter: blur(4px); } }

/* ================================================================ MODULES */
main { position: relative; z-index: 2; }
.mod { max-width: var(--max); margin: 0 auto; padding: 96px var(--gut) 24px; }
.mod-h {
  display: flex; align-items: center; gap: 14px; margin-bottom: 26px; flex-wrap: wrap;
}
.mod-h .idx {
  font-size: 11px; color: #000; background: var(--amber); padding: 2px 7px; font-weight: 700; letter-spacing: 0.1em;
}
.mod-h h2 {
  font-family: var(--display); font-weight: 900; font-size: clamp(28px, 5vw, 56px);
  line-height: 1; letter-spacing: -0.01em; color: #f3f6fb;
}
.mod-h .path { color: var(--dim); font-size: 11px; letter-spacing: 0.06em; }
.mod-h .rule { flex: 1; min-width: 40px; height: 1px; background: linear-gradient(90deg, var(--line-2), transparent); }
.mod-h .st { color: var(--green); font-size: 10.5px; letter-spacing: 0.16em; }
.mod-h .st::before { content: "● "; }
.mod:not(.open) .mod-h .st { color: var(--dim); }
.mod:not(.open) .mod-h .st::before { content: "○ "; }
.win-btn {
  font: inherit; font-size: 10.5px; letter-spacing: 0.14em; color: var(--ink); cursor: pointer;
  background: rgba(255,176,0,0.08); border: 1px solid rgba(255,176,0,0.5); padding: 6px 12px;
  transition: background 0.2s, color 0.2s;
}
.win-btn:hover, .win-btn:focus-visible { background: var(--amber); color: #000; outline: none; }
.mod.open .win-btn { background: transparent; border-color: var(--line-2); color: var(--ink-2); }
.mod.open .win-btn:hover, .mod.open .win-btn:focus-visible { background: var(--amber); border-color: var(--amber); color: #000; }
.mod:not(.open) { padding-top: 60px; padding-bottom: 28px; cursor: pointer; }
.mod:not(.open) .lede { margin-bottom: 0; }
.mod:not(.open) + .mod:not(.open) { border-top: 1px dashed var(--line); margin-top: 24px; }
.win-body { display: none; }
.mod.open .win-body { display: block; animation: winOpen 0.55s cubic-bezier(.2,.8,.2,1) both; }
@keyframes winOpen { from { opacity: 0; clip-path: inset(0 0 100% 0); } to { opacity: 1; clip-path: inset(0 0 0 0); } }
.lede { max-width: 760px; color: var(--ink-2); font-size: 15px; line-height: 1.7; margin-bottom: 30px; }
.lede b { color: #f3f6fb; }
.sub-h {
  display: flex; align-items: baseline; gap: 12px; margin: 54px 0 16px; flex-wrap: wrap;
  font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--amber);
}
.sub-h::before { content: "//"; color: var(--dim); }
.sub-h span { color: var(--dim); letter-spacing: 0.06em; text-transform: none; }

/* collapsible logs */
.fold > summary { list-style: none; cursor: pointer; user-select: none; }
.fold > summary::-webkit-details-marker { display: none; }
.fold > summary:hover span { color: var(--ink-2); }
.fold > summary:focus-visible { outline: 1px solid var(--amber); outline-offset: 4px; }
.fold .tog { font-style: normal; margin-left: auto; color: var(--cyan); letter-spacing: 0.1em; border: 1px solid rgba(79,209,255,0.35); padding: 3px 8px; }
.fold .tog::before { content: "[+] expand"; }
.fold[open] .tog::before { content: "[−] collapse"; }
.fold[open] > summary { margin-bottom: 16px; }
.fold:not([open]) > summary { margin-bottom: 0; }
.fold:not([open]) + .fold > summary { margin-top: 22px; }

.g { display: grid; gap: 14px; }
.g-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.g-5-7 { grid-template-columns: 5fr 7fr; }
.sticky-col { position: sticky; top: 72px; align-self: start; }
.g-7-5 { grid-template-columns: 7fr 5fr; }

/* stats */
.stat { padding: 16px 14px; }
.stat .v { font-family: var(--display); font-weight: 900; font-size: clamp(26px, 3.6vw, 44px); line-height: 1; color: #f3f6fb; font-variant-numeric: tabular-nums; }
.stat .v em { font-style: normal; color: var(--amber); }
.stat .l { margin-top: 8px; color: var(--dim); font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase; }
.stat .l b { color: var(--ink-2); }

/* patent */
.patent .no { font-family: var(--display); font-weight: 900; font-size: clamp(26px, 4vw, 46px); line-height: 1; color: var(--amber); text-shadow: 0 0 24px rgba(255,176,0,0.35); }
.patent .t { margin: 10px 0 14px; font-size: 14px; color: #f3f6fb; }
.patent p { color: var(--ink-2); margin-bottom: 14px; }
.btn {
  display: inline-flex; align-items: center; gap: 8px; text-decoration: none;
  border: 1px solid rgba(255,176,0,0.5); color: var(--amber); background: var(--amber-soft);
  padding: 7px 12px; font-size: 11px; letter-spacing: 0.12em; transition: background 0.2s, color 0.2s;
}
.btn:hover { background: var(--amber); color: #000; }
.btn.ghost { border-color: var(--line-2); color: var(--ink-2); background: transparent; }
.btn.ghost:hover { border-color: var(--cyan); color: var(--cyan); background: transparent; }

/* firsts log */
.firsts { list-style: none; }
.firsts li {
  display: grid; grid-template-columns: 74px 1fr; gap: 14px; padding: 12px 14px;
  border-bottom: 1px solid var(--line);
}
.firsts li:last-child { border-bottom: 0; }
.firsts time { color: var(--amber); font-size: 11px; letter-spacing: 0.06em; padding-top: 2px; }
.firsts h3 { font-size: 13.5px; font-weight: 500; color: #f3f6fb; }
.firsts p { color: var(--ink-2); font-size: 12px; margin-top: 2px; }
.firsts .note { color: var(--dim); font-size: 11px; margin-top: 4px; }

/* e-nail strip */
.strip-wrap { position: relative; }
.strip {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(220px, 250px); gap: 12px;
  overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 2px 16px;
  scrollbar-width: thin; scrollbar-color: var(--amber) transparent;
}
.strip::-webkit-scrollbar { height: 6px; }
.strip::-webkit-scrollbar-thumb { background: var(--amber); }
.ig { scroll-snap-align: start; text-decoration: none; display: flex; flex-direction: column; transition: border-color 0.2s, transform 0.2s; }
.ig:hover { border-color: rgba(255,176,0,0.55); transform: translateY(-2px); }
.ig .im { position: relative; aspect-ratio: 1; overflow: hidden; background: #000; }
.ig .im img { width: 100%; height: 100%; object-fit: cover; }
.ig .im::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(0deg, rgba(0,0,0,0.18) 0 1px, transparent 1px 3px); }
.ig .d { display: flex; justify-content: space-between; padding: 8px 10px 0; font-size: 10.5px; color: var(--amber); letter-spacing: 0.06em; }
.ig .d span { color: var(--dim); }
.ig .c { padding: 4px 10px 10px; font-size: 12px; color: var(--ink-2); }
.ig.key { border-color: rgba(61,255,154,0.5); }
.ig.key .d { color: var(--green); }
.strip { cursor: grab; }
.strip.dragging { cursor: grabbing; scroll-snap-type: none; user-select: none; }
.strip.dragging .ig { pointer-events: none; }
.strip-hint { font-size: 10.5px; color: var(--dim); letter-spacing: 0.08em; margin-top: 2px; }

/* quotes */
.q { padding: 18px 18px 16px; }
.q blockquote { font-size: 15.5px; line-height: 1.5; color: #f3f6fb; }
.q blockquote::before { content: "“"; color: var(--amber); font-family: var(--display); font-size: 26px; line-height: 0; vertical-align: -10px; margin-right: 4px; }
.q cite { display: block; margin-top: 12px; font-style: normal; color: var(--dim); font-size: 11px; letter-spacing: 0.04em; }
.q cite a { color: var(--cyan); text-decoration: none; }
.q cite a:hover { color: var(--amber); }

/* product rail */
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(200px, 1fr); gap: 12px; overflow-x: auto; padding-bottom: 14px; scroll-snap-type: x proximity; scrollbar-width: thin; scrollbar-color: var(--line-2) transparent; }
.prod { scroll-snap-align: start; }
.prod .im { aspect-ratio: 4 / 5; background: var(--paper); display: grid; place-items: center; overflow: hidden; position: relative; }
.prod .im img, .prod .im video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.prod .im.dark { background: #000; }
.prod .im.cover img, .prod .im.cover video { object-fit: cover; }
.prod .im .yr {
  position: absolute; top: 8px; left: 8px; background: #05070d; color: var(--amber);
  font-size: 10.5px; padding: 2px 6px; letter-spacing: 0.08em; z-index: 1;
}
.prod .tx { padding: 10px 12px 12px; }
.prod h3 { font-size: 13px; font-weight: 500; color: #f3f6fb; }
.prod p { font-size: 11.5px; color: var(--ink-2); margin-top: 3px; }
.specs { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 14px; font-size: 11px; color: var(--dim); }
.specs b { color: var(--ink-2); }

/* media tiles */
.tile { overflow: hidden; }
.tile .im { position: relative; overflow: hidden; background: #000; aspect-ratio: 16 / 10; }
.tile .im.sq { aspect-ratio: 1; }
.tile .im.tall { aspect-ratio: 9 / 16; }
.tile .im.r54 { aspect-ratio: 5 / 4; }
.tile .im.r45 { aspect-ratio: 4 / 5; }
.tile .im.paper { background: var(--paper); }
.tile .im img, .tile .im video { width: 100%; height: 100%; object-fit: cover; }
.tile .im.contain img, .tile .im.contain video { object-fit: contain; }
.tile .lbl {
  position: absolute; left: 8px; bottom: 8px; z-index: 1; font-size: 10px; letter-spacing: 0.12em;
  color: var(--cyan); background: rgba(5,7,13,0.78); padding: 3px 7px; border: 1px solid rgba(79,209,255,0.3);
}
.tile .lbl.a { color: var(--amber); border-color: rgba(255,176,0,0.35); }
.tile .rec {
  position: absolute; right: 8px; top: 8px; z-index: 1; font-size: 9.5px; letter-spacing: 0.14em;
  color: var(--red); background: rgba(5,7,13,0.7); padding: 2px 6px;
}
.tile .rec::before { content: "● "; animation: blink 1.2s steps(2) infinite; }
.tile .cap { padding: 10px 12px 12px; font-size: 12px; color: var(--ink-2); }
.tile .cap b { color: #f3f6fb; display: block; font-size: 12.5px; margin-bottom: 2px; }
.span-2 { grid-column: span 2; }
.row-2 { grid-row: span 2; }

/* 710 panel */
.oil { position: relative; overflow: hidden; }
.oil .big {
  font-family: var(--display); font-weight: 900; font-size: clamp(80px, 14vw, 180px); line-height: 0.85;
  color: transparent; -webkit-text-stroke: 1.5px var(--amber); letter-spacing: -0.03em;
  display: inline-flex; gap: 0.04em; user-select: none;
  /* --rot is driven by scroll position in os.js; the whole number turns, so 710 reads OIL */
  transform: rotate(var(--rot, 0deg));
  will-change: transform;
}
.oil .big span { display: inline-block; transition: color 0.3s; }
.oil.read .big span { color: var(--amber); }
.oil .eq { font-size: 11px; color: var(--dim); letter-spacing: 0.14em; margin: 12px 0 16px; }
.oil .eq b { color: var(--amber); }
.oil p { color: var(--ink-2); margin-bottom: 10px; }

/* collab chips */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  border: 1px solid var(--line-2); padding: 5px 10px; font-size: 11px; color: var(--ink-2); letter-spacing: 0.04em;
  text-decoration: none; transition: border-color 0.2s, color 0.2s;
}
a.chip:hover { border-color: var(--amber); color: var(--amber); }
.chip small { color: var(--dim); margin-left: 6px; }

/* plays */
.plays .v { font-size: clamp(56px, 8.4vw, 116px); }
.tracks { width: 100%; border-collapse: collapse; font-size: 12px; }
.tracks th { text-align: left; font-weight: 400; color: var(--dim); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; padding: 8px 12px; border-bottom: 1px solid var(--line); }
.tracks td { padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.tracks tr:last-child td { border-bottom: 0; }
.tracks .n { text-align: right; font-variant-numeric: tabular-nums; color: var(--ink); white-space: nowrap; }
.tracks .n.dim { color: var(--dim); }
.tracks .t { display: flex; align-items: center; gap: 10px; }
.tracks .t img { width: 38px; height: 38px; object-fit: cover; border: 1px solid var(--line-2); flex-shrink: 0; }
.tracks .t b { display: block; color: #f3f6fb; font-weight: 500; }
.tracks .t small { color: var(--dim); font-size: 11px; }
.tracks a.go { color: var(--cyan); text-decoration: none; white-space: nowrap; font-size: 11px; }
.tracks a.go:hover { color: var(--amber); }
.tracks tbody tr { transition: background 0.2s; }
.tracks tbody tr:hover { background: rgba(255,176,0,0.05); }
.meter { height: 3px; background: rgba(255,255,255,0.06); margin-top: 6px; }
.meter i { display: block; height: 100%; background: var(--amber); box-shadow: 0 0 8px rgba(255,176,0,0.5); }

/* discography */
.disco { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.rel { text-decoration: none; }
.rel .im { aspect-ratio: 1; overflow: hidden; background: #000; position: relative; }
.rel .im img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s, filter 0.5s; filter: saturate(0.85); }
.rel:hover .im img { transform: scale(1.04); filter: saturate(1.1); }
.rel .im.none { display: grid; place-items: center; color: var(--dim); font-size: 10.5px; letter-spacing: 0.12em; background: repeating-linear-gradient(-45deg, #0b111d 0 8px, #070b14 8px 16px); }
.rel .tx { padding: 8px 10px 10px; }
.rel b { display: block; font-size: 12px; color: #f3f6fb; font-weight: 500; line-height: 1.35; }
.rel small { color: var(--dim); font-size: 10.5px; }
.rel small em { font-style: normal; color: var(--amber); }

/* projects */
.proj { text-decoration: none; transition: border-color 0.2s, transform 0.2s; }
a.proj:hover { border-color: rgba(255,176,0,0.55); transform: translateY(-2px); }
.proj .im { aspect-ratio: 16 / 10; overflow: hidden; background: #000; position: relative; }
.proj .im img, .proj .im video { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.proj .im.code {
  display: flex; flex-direction: column; justify-content: flex-end; padding: 14px; gap: 2px;
  font-size: 11px; color: var(--dim); background:
    linear-gradient(var(--line) 1px, transparent 1px) 0 0 / 22px 22px,
    linear-gradient(90deg, var(--line) 1px, transparent 1px) 0 0 / 22px 22px, #060a13;
}
.proj .im.code .ok { color: var(--green); }
.proj .im.code .hi { color: var(--cyan); }
.proj .im.code .am { color: var(--amber); }
.proj .tx { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.proj h3 { font-size: 14px; font-weight: 500; color: #f3f6fb; display: flex; justify-content: space-between; gap: 10px; }
.proj h3 span { color: var(--cyan); font-size: 11px; font-weight: 400; white-space: nowrap; }
.proj p { color: var(--ink-2); font-size: 12px; }
.yt .im .play {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 46px; height: 46px; display: grid; place-items: center; padding-left: 3px;
  background: rgba(5,7,13,0.78); border: 1px solid rgba(255,176,0,0.6); color: var(--amber); font-size: 14px;
  transition: background 0.2s, color 0.2s;
}
.yt:hover .im .play { background: var(--amber); color: #000; }
/* on a card with a moving clip the badge keeps out of the type */
.yt .im video ~ .play { left: auto; top: auto; right: 10px; bottom: 10px; transform: none; width: 38px; height: 38px; font-size: 12px; }
.yt .im iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
/* a full-width card under a two-up grid reads as a banner, not a giant tile */
.proj.wide .im { aspect-ratio: 21 / 9; }
@media (max-width: 960px) { .proj.wide .im { aspect-ratio: 16 / 10; } }
.yt.playing .im .play, .yt.playing .im img, .yt.playing .im video { visibility: hidden; }
.stack { display: flex; flex-wrap: wrap; gap: 5px; margin-top: auto; padding-top: 6px; }
.stack span { font-size: 10px; color: var(--dim); border: 1px solid var(--line); padding: 1px 6px; letter-spacing: 0.04em; }
.badge { font-size: 9.5px; letter-spacing: 0.14em; padding: 1px 6px; border: 1px solid; }
.badge.live { color: var(--green); border-color: rgba(61,255,154,0.4); }
.badge.priv { color: var(--dim); border-color: var(--line-2); }
.flag { display: flex; gap: 6px; align-items: center; }

.clients { list-style: none; }
.clients li { display: grid; grid-template-columns: 1fr auto; gap: 4px 14px; padding: 11px 14px; border-bottom: 1px solid var(--line); align-items: baseline; }
.clients li:last-child { border-bottom: 0; }
.clients b { color: #f3f6fb; font-weight: 500; font-size: 13px; }
.clients small { grid-column: 1; color: var(--dim); font-size: 11px; }
.clients a { color: var(--cyan); text-decoration: none; font-size: 11px; grid-row: 1 / span 2; grid-column: 2; align-self: center; }
.clients a:hover { color: var(--amber); }

/* press */
.press { list-style: none; }
.press li a { display: grid; grid-template-columns: 64px 1fr auto; gap: 14px; padding: 12px 14px; border-bottom: 1px solid var(--line); text-decoration: none; transition: background 0.2s; align-items: baseline; }
.press li:last-child a { border-bottom: 0; }
.press li a:hover { background: rgba(255,176,0,0.05); }
.press time { color: var(--amber); font-size: 11px; }
.press b { color: #f3f6fb; font-weight: 500; font-size: 13px; display: block; }
.press small { color: var(--dim); font-size: 11px; }
.press .arr { color: var(--cyan); }
.pq { position: sticky; top: calc(var(--top-h) + 12px); }
.pq:not(.on) blockquote { color: var(--dim); font-size: 13px; }
.pq:not(.on) blockquote::before { content: "›"; color: var(--cyan); }
.pq.pull { animation: pq-in 0.35s ease-out; }
@keyframes pq-in { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
@media (hover: none) { .pq { display: none; } }

.links { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 10px; }
.links a { display: flex; flex-direction: row; justify-content: space-between; align-items: center; padding: 12px 14px; text-decoration: none; font-size: 12px; letter-spacing: 0.08em; transition: border-color 0.2s, color 0.2s; }
.links a small { color: var(--dim); font-size: 10.5px; letter-spacing: 0.02em; display: block; }
.links a:hover { border-color: rgba(255,176,0,0.55); color: var(--amber); }

/* footer */
.end {
  margin-top: 90px; border-top: 1px solid rgba(255,176,0,0.35); position: relative; z-index: 2;
  display: flex; align-items: stretch; background: rgba(5,7,13,0.85); font-size: 10.5px; color: var(--dim);
}
.end .hazard { width: 80px; }
.end .in { flex: 1; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px; padding: 14px 18px; letter-spacing: 0.08em; }
.end a { color: var(--ink-2); text-decoration: none; }
.end a:hover { color: var(--amber); }

/* gamepad: a highlight on the control the pad is on, and a legend while it's in use */
.pad-on .pad-focus { outline: 2px solid var(--amber); outline-offset: -2px; box-shadow: 0 0 0 4px rgba(255,176,0,0.18), 0 0 24px rgba(255,176,0,0.25); }
.pad-on .pad-focus.launch, .pad-on .pad-focus.panel { background: rgba(255,176,0,0.08); }
.pad-on, .pad-on * { cursor: none; }
.pad-hint {
  position: fixed; right: 14px; bottom: 44px; z-index: 40; width: 270px;
  opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity 0.3s, transform 0.3s, visibility 0.3s;
  background: rgba(5,7,13,0.92);
}
.pad-hint.show { opacity: 1; visibility: visible; transform: none; }
.pad-hint .pb { display: flex; flex-wrap: wrap; gap: 6px 12px; padding: 10px 12px; font-size: 10.5px; color: var(--ink-2); letter-spacing: 0.06em; }
.pad-hint i {
  font-style: normal; display: inline-grid; place-items: center; min-width: 18px; height: 18px; padding: 0 4px; margin-right: 5px;
  border: 1px solid var(--line-2); color: var(--amber); font-size: 9.5px; border-radius: 9px;
}
.pad-hint i + i { margin-left: -2px; }

.chips .quip { flex-basis: 100%; margin: 0 0 6px; font-size: 11.5px; line-height: 1.5; color: var(--ink-2); }

/* hologram projector (INVENT) */
.holo { margin-bottom: 22px; overflow: hidden; }
.holo-tabs { display: flex; flex-wrap: wrap; gap: 0; border-bottom: 1px solid var(--line); }
.holo-tabs button {
  flex: 1 1 0; min-width: 0; padding: 11px 12px; background: none; border: 0; border-right: 1px solid var(--line);
  color: var(--dim); font: 500 11px/1.2 var(--mono); letter-spacing: 0.12em; text-transform: uppercase; cursor: pointer;
  transition: color 0.2s, background 0.2s;
}
.holo-tabs button:last-child { border-right: 0; }
.holo-tabs button small { display: block; margin-top: 3px; font-size: 9.5px; color: var(--dim); letter-spacing: 0.1em; }
.holo-tabs button:hover { color: var(--ink); }
.holo-tabs button[aria-selected="true"] { color: var(--cyan); background: rgba(79,209,255,0.07); box-shadow: inset 0 -2px 0 var(--cyan); }
.holo-stage {
  position: relative; aspect-ratio: 16 / 9; max-height: 620px; width: 100%;
  background:
    radial-gradient(ellipse 45% 55% at 50% 88%, rgba(79,209,255,0.10), transparent 70%),
    repeating-linear-gradient(0deg, rgba(79,209,255,0.035) 0 1px, transparent 1px 4px),
    #03060c;
}
.holo-stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; touch-action: pan-y; cursor: grab; }
.holo-stage canvas:active { cursor: grabbing; }
.holo-hud { position: absolute; top: 14px; margin: 0; display: grid; grid-template-columns: auto auto; gap: 3px 12px; pointer-events: none;
  font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; }
.holo-hud.tl { left: 16px; } .holo-hud.tr { right: 16px; text-align: right; }
.holo-hud dt { color: var(--dim); } .holo-hud dd { margin: 0; color: var(--amber); }
.holo-note { position: absolute; left: 16px; bottom: 14px; max-width: min(440px, 60%); margin: 0; pointer-events: none;
  font-size: 11.5px; line-height: 1.55; color: var(--ink-2); }
.holo-adj { position: absolute; right: 16px; bottom: 14px; display: grid; grid-template-columns: auto 180px; align-items: center; gap: 4px 10px;
  font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--dim); }
.holo-adj[hidden] { display: none; }
.holo-adj output { grid-column: 1 / -1; text-align: right; color: var(--cyan); }
.holo-adj input { accent-color: var(--cyan); width: 100%; }
.holo-fallback { display: none; position: absolute; inset: 0; place-items: center; margin: 0; padding: 24px; text-align: center; color: var(--dim); font-size: 12px; }
.holo-nogl .holo-fallback { display: grid; }
.holo-nogl canvas { display: none; }
@media (max-width: 760px) {
  /* phones: the projection keeps the top of the stage; caption and slider sit in a strip below it */
  .holo-stage { aspect-ratio: auto; height: min(150vw, 640px); max-height: none; }
  .holo-stage canvas { height: calc(100% - 128px); }
  .holo-tabs button { padding: 10px 6px; font-size: 10px; letter-spacing: 0.06em; }
  .holo-hud { top: 10px; font-size: 9px; gap: 2px 8px; }
  .holo-hud.tl { left: 12px; } .holo-hud.tr { right: 12px; }
  .holo-hud.tl dt:nth-of-type(2), .holo-hud.tl dd:nth-of-type(2) { display: none; }
  .holo-note { left: 14px; right: 14px; bottom: 62px; max-width: none; font-size: 11px; }
  .holo-adj { left: 14px; right: 14px; bottom: 12px; grid-template-columns: auto 1fr; }
}

/* reveal on scroll */
.rv { opacity: 0; transform: translateY(14px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(.2,.8,.2,1); }
.rv.in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  .hud { grid-template-columns: minmax(250px, 300px) 1fr minmax(250px, 290px); }
  .meta .opt { display: none; }
  .nav a i { display: none; }
  .launch small { white-space: normal; }
  .g-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
  .nav {
    display: none; position: fixed; top: var(--top-h); left: 0; right: 0; flex-direction: column;
    background: rgba(5,7,13,0.96); border-bottom: 1px solid var(--line); padding: 8px 12px 14px;
  }
  .nav.open { display: flex; }
  .nav a { padding: 12px 10px; font-size: 13px; }
  .nav a i { display: inline; }
  .menu-btn { display: block; }
  .meta span:not(.live) { display: none; }
  .hero-wrap { height: auto; min-height: 0; overflow: visible; }
  #gl { height: 62vh; }
  .hero-wrap::after { height: 62vh; }
  .hud {
    height: auto;
    grid-template-columns: 1fr;
    grid-template-rows: 46vh auto auto auto auto;
    grid-template-areas: "stage" "hero" "side" "term" "foot";
    padding: calc(var(--top-h) + 8px) 16px 0;
  }
  .term { height: 300px; }
  .foot { margin: 0 -16px; }
  .hazard { width: 40px; }
  .ticker { display: none; }
  .foot a { flex: 1; justify-content: center; }
  .reticle { width: min(36vh, 78%); }
  .g-3, .g-5-7, .g-7-5 { grid-template-columns: 1fr; }
  .sticky-col { position: static; }
  .span-2 { grid-column: auto; }
  .mod { padding-top: 72px; }
  .launcher { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .mod-h .win-btn { margin-left: auto; }
}
@media (max-width: 620px) {
  .g-2, .g-4 { grid-template-columns: 1fr; }
  .g-4.keep { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .firsts li { grid-template-columns: 1fr; gap: 2px; }
  .press li a { grid-template-columns: 1fr auto; }
  .press time { grid-column: 1 / -1; }
  .tracks .hide-s { display: none; }
  .tracks td, .tracks th { padding: 9px 8px; }
  .sub .sep { margin: 0 4px; }
  .sub { font-size: 11.5px; }
  .sub .hint { display: block; margin-top: 2px; }
  .launcher { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .launch small { white-space: normal; }
  .launch { grid-template-columns: auto 1fr; grid-template-areas: "i n" "sm sm"; }
  .launch .s { display: none; }
  .brand small { display: none; }
  .end .in { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001s !important; animation-iteration-count: 1 !important; transition-duration: 0.001s !important; }
  .rv { opacity: 1; transform: none; }
}
