/* ────────────────────────────────────────────────────────────
   aawhan0.me — dark console · split gate · broadcast tour
   flow grammar after harshdayal.dev, content = receipts
   ──────────────────────────────────────────────────────────── */

:root {
  --bg: #0b0b0e;
  --panel: #131318;
  --line: rgba(255, 255, 255, 0.09);
  --text: #e9e9ee;
  --soft: #b6b6c2;
  --muted: #82828e;
  --dim: #55555f;
  --accent: #ffb26b;
  --accent-soft: rgba(255, 178, 107, 0.14);
  --blue: #8fb0e8;
  --green: #4ade80;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  --pixel: "VT323", var(--mono);
  --ui: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --display: "Anton", var(--ui);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

/* light theme — same bones, day broadcast */
html.light {
  --bg: #f2f1ec;
  --panel: #fbfaf6;
  --line: rgba(0, 0, 0, 0.12);
  --text: #17171b;
  --soft: #3e3e46;
  --muted: #6b6b73;
  --dim: #97979f;
  --accent: #c76a1d;
  --accent-soft: rgba(199, 106, 29, 0.12);
  --green: #15803d;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", var(--ui);
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  transition: background 0.35s ease, color 0.35s ease;
}
body.locked { overflow: hidden; }
::selection { background: var(--accent); color: #14100b; }
a { color: inherit; text-decoration: none; }
b, strong { font-weight: 600; }
.mono { font-family: var(--mono); }
.pixel { font-family: var(--pixel); font-weight: 400; letter-spacing: 0.02em; }
em { font-style: italic; }
.sr-only {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

/* ── landing gate ────────────────────────────────────────── */
.gate {
  position: fixed; inset: 0; z-index: 100;
  display: grid; grid-template-columns: 1fr 1fr;
  background: var(--bg);
}
.gate-half {
  position: relative; overflow: hidden;
  border-right: 1px solid var(--line);
  transition: transform 0.75s cubic-bezier(0.7, 0, 0.2, 1), opacity 0.6s ease;
}
.gate-right { border-right: none; }
.gate.away .gate-left { transform: translateX(-102%); }
.gate.away .gate-right { transform: translateX(102%); }
.gate.away { pointer-events: none; }
.gate-half canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.gate-left canvas { opacity: 0.9; }
.gate-content {
  position: absolute; left: clamp(1.4rem, 4vw, 3rem); bottom: clamp(1.6rem, 5vh, 3rem); z-index: 2;
}
.gate-content h2 { font-size: clamp(2.2rem, 4.5vw, 3.4rem); line-height: 1; }
.gate-content p { color: var(--muted); font-size: 0.86rem; margin: 0.5rem 0 1.1rem; }
.enter {
  background: none; border: none; cursor: pointer;
  color: var(--text); font-size: 0.82rem; font-weight: 700;
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.45rem 0; border-bottom: 1px solid var(--line);
  transition: color 0.2s, border-color 0.2s, gap 0.2s;
}
.enter:hover { color: var(--accent); border-color: var(--accent); gap: 0.9rem; }
.gate-center {
  position: absolute; inset: 0; z-index: 3;
  display: grid; place-content: center; text-align: center;
  pointer-events: none; transition: opacity 0.4s ease;
}
.gate.away .gate-center { opacity: 0; }
.gate-name {
  font-family: var(--ui); font-weight: 700;
  font-size: clamp(2.2rem, 7vw, 5.2rem);
  letter-spacing: 0.08em; line-height: 1;
  color: rgba(233, 233, 238, 0.92);
  text-shadow: 0 0 40px rgba(0, 0, 0, 0.8);
  mix-blend-mode: screen;
}
.gate-role {
  margin-top: 0.9rem; font-size: 0.78rem; letter-spacing: 0.34em;
  color: var(--soft); text-shadow: 0 0 20px rgba(0, 0, 0, 0.9);
}
@media (max-width: 760px) {
  .gate { grid-template-columns: 1fr; grid-template-rows: 1fr 1fr; }
  .gate-half { border-right: none; border-bottom: 1px solid var(--line); }
  .gate.away .gate-left { transform: translateY(-102%); }
  .gate.away .gate-right { transform: translateY(102%); }
  .gate-name { font-size: clamp(2rem, 9vw, 3rem); letter-spacing: 0.06em; }
}

/* ── theme toggle ────────────────────────────────────────── */
.theme-toggle {
  position: fixed; right: 18px; bottom: 18px; z-index: 55;
  display: inline-flex; align-items: center; gap: 0.6rem;
  background: var(--panel); color: var(--soft);
  border: 1px solid var(--line); border-radius: 999px;
  padding: 0.5rem 1rem; font-size: 0.68rem; letter-spacing: 0.18em;
  text-transform: uppercase; cursor: pointer;
  transition: color 0.2s, border-color 0.2s;
}
.theme-toggle:hover { color: var(--accent); border-color: var(--accent); }
.tt-sw {
  width: 26px; height: 14px; border-radius: 999px;
  background: linear-gradient(90deg, var(--accent) 50%, var(--dim) 50%);
  position: relative; flex: none;
}
.tt-sw::after {
  content: ""; position: absolute; top: 1px; left: 1px;
  width: 12px; height: 12px; border-radius: 50%; background: var(--panel);
  transition: transform 0.25s;
}
html.light .tt-sw::after { transform: translateX(12px); }

/* ── scroll reveal ───────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ── side rail ───────────────────────────────────────────── */
.rail {
  position: fixed; left: 14px; top: 50%; transform: translateY(-50%);
  z-index: 50; display: flex; flex-direction: column; gap: 2px;
  background: rgba(19, 19, 24, 0.85); backdrop-filter: blur(8px);
  border: 1px solid var(--line); border-radius: 12px; padding: 6px;
}
.rail a, .rail button {
  width: 34px; height: 34px; border-radius: 8px;
  display: grid; place-content: center;
  color: var(--muted); background: none; border: none; cursor: pointer;
  transition: color 0.15s, background 0.15s;
}
.rail a:hover, .rail button:hover { color: var(--accent); background: var(--accent-soft); }
@media (max-width: 980px) { .rail { display: none; } }

/* ── hero (the brief) ────────────────────────────────────── */
.hero {
  max-width: 1140px; margin: 0 auto;
  padding: clamp(4rem, 10vh, 6rem) clamp(1.2rem, 4vw, 2.4rem) 2.5rem;
  display: grid; grid-template-columns: 1.25fr 0.75fr;
  gap: 3rem; align-items: center;
  position: relative;
}
/* halftone backdrop, his signature texture */
.hero::before {
  content: ""; position: absolute; inset: -2rem -6rem;
  background-image: radial-gradient(rgba(255,255,255,0.045) 1.2px, transparent 1.2px);
  background-size: 11px 11px;
  -webkit-mask-image: radial-gradient(ellipse 70% 80% at 60% 40%, #000 30%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 80% at 60% 40%, #000 30%, transparent 75%);
  pointer-events: none;
}
html.light .hero::before {
  background-image: radial-gradient(rgba(0,0,0,0.06) 1.2px, transparent 1.2px);
}
.eyebrow {
  font-size: 0.72rem; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 1.1rem;
}
.hero-name {
  font-family: var(--display); font-weight: 400;
  font-size: clamp(3rem, 7.5vw, 5.6rem);
  letter-spacing: 0.01em; line-height: 0.98; text-transform: uppercase;
}
.hero-name .dot { color: var(--blue); }
.hero-sub {
  margin-top: 0.9rem; font-size: 0.78rem; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--soft);
}
.hero-lede {
  margin-top: 1.3rem; max-width: 46ch;
  color: var(--soft); font-size: 1.02rem; line-height: 1.65;
}
.hero-lede b { color: var(--text); }
.hero-cta {
  display: flex; align-items: center; gap: 1.2rem; flex-wrap: wrap;
  margin-top: 1.8rem;
}
.btn-line {
  border: 1px solid var(--line); padding: 0.7rem 1.2rem;
  font-size: 0.76rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--text); transition: border-color 0.2s, color 0.2s;
}
.btn-line:hover { border-color: var(--accent); color: var(--accent); }
.cta-link {
  font-size: 0.76rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--muted); transition: color 0.2s;
}
.cta-link:hover { color: var(--accent); }

.dither-box {
  background: #050507; border: 1px solid var(--line);
  border-radius: 10px; padding: 14px;
  display: grid; place-content: center;
  box-shadow: 0 24px 60px rgba(0,0,0,0.5);
  position: relative;
}
.dither-box::after {
  content: ""; position: absolute; inset: -10px;
  background-image: radial-gradient(rgba(255,255,255,0.12) 1px, transparent 1px);
  background-size: 8px 8px;
  z-index: -1; border-radius: 14px;
}
#dither { width: 100%; max-width: 360px; height: auto; image-rendering: pixelated; }
@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; }
  .hero-right { display: none; }
}

/* ── page shell ──────────────────────────────────────────── */
.wrap {
  max-width: 1140px; margin: 0 auto;
  padding: 0 clamp(1.2rem, 4vw, 2.4rem) 2rem;
}
.sec-label {
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.24em;
  text-transform: uppercase; color: var(--soft);
  display: flex; align-items: center; gap: 1rem;
  margin-bottom: 1.8rem;
}
.sec-label::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.sec-label span { color: var(--dim); font-weight: 400; letter-spacing: 0; text-transform: none; }
section { margin-bottom: 4.5rem; }

/* ── pillars ─────────────────────────────────────────────── */
.pillars {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem;
  margin-bottom: 4.5rem;
}
.pillar {
  background: var(--panel); border: 1px solid var(--line);
  border-radius: 12px; padding: 1.2rem 1.3rem;
  transition: border-color 0.2s, transform 0.2s;
}
.pillar:hover { border-color: rgba(255, 178, 107, 0.5); transform: translateY(-3px); }
.p-k { font-size: 0.64rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--accent); }
.p-t { font-weight: 700; font-size: 1.02rem; margin: 0.5rem 0 0.3rem; }
.p-d { color: var(--muted); font-size: 0.84rem; }
@media (max-width: 860px) { .pillars { grid-template-columns: 1fr; } }

/* ── about ───────────────────────────────────────────────── */
.about-grid {
  display: grid; grid-template-columns: 1.5fr 1fr; gap: 3rem;
}
.statement {
  font-family: var(--display); font-weight: 400; text-transform: none;
  font-size: clamp(1.4rem, 2.6vw, 1.9rem); line-height: 1.25;
  letter-spacing: 0.01em; margin-bottom: 1.2rem;
}
.statement em { color: var(--accent); font-style: normal; }
.about-grid > div > p { color: var(--muted); line-height: 1.75; margin-bottom: 1rem; font-size: 0.95rem; }
.about-grid > div > p em { color: var(--text); }
.highlights {
  border: 1px solid var(--line); border-radius: 12px;
  background: var(--panel); padding: 1.1rem 1.2rem;
  align-self: start;
}
.hl { border-top: 1px solid var(--line); padding: 0.85rem 0; }
.hl:first-of-type { border-top: none; padding-top: 0.2rem; }
.hl-k { font-size: 0.62rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--dim); }
.hl-v { font-size: 0.9rem; color: var(--text); margin-top: 0.25rem; line-height: 1.5; }
.hl-a { text-decoration: underline; text-decoration-color: var(--line); }
.hl-a:hover { color: var(--accent); }

/* releases list — as aawhan */
.releases { margin-top: 2.4rem; }
.releases > .hl-k { color: var(--accent); }
.rel-list { list-style: none; border-top: 1px solid var(--line); margin-top: 0.9rem; }
.rel-list li { border-bottom: 1px solid var(--line); }
.rel-list a {
  display: flex; justify-content: space-between; align-items: baseline; gap: 1rem;
  padding: 0.7rem 0.3rem; font-size: 0.86rem; color: var(--text);
  transition: color 0.2s, padding-left 0.2s;
}
.rel-list a span { color: var(--muted); font-size: 0.68rem; }
.rel-list a:hover { color: var(--accent); padding-left: 0.7rem; }
.rel-list a:hover span { color: var(--accent); }
@media (max-width: 860px) { .about-grid { grid-template-columns: 1fr; } }

/* ── experience ──────────────────────────────────────────── */
.xp {
  border-left: 2px solid var(--line);
  padding: 0.2rem 0 1.6rem 1.6rem; margin-bottom: 1.6rem;
  position: relative;
}
.xp::before {
  content: ""; position: absolute; left: -5.5px; top: 0.45rem;
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--accent); box-shadow: 0 0 10px rgba(255, 178, 107, 0.5);
}
.xp-head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; flex-wrap: wrap; }
.xp h4 { font-size: 1.05rem; font-weight: 700; }
.xp-co { color: var(--muted); font-weight: 400; }
.xp-when { font-size: 0.7rem; color: var(--muted); }
.xp-sum { color: var(--soft); font-size: 0.9rem; margin: 0.45rem 0 0.7rem; }
.xp-list { list-style: none; }
.xp-list li {
  color: var(--muted); font-size: 0.9rem; line-height: 1.6;
  padding-left: 1.1rem; position: relative; margin-bottom: 0.4rem;
}
.xp-list li::before { content: "·"; position: absolute; left: 0.2rem; color: var(--accent); }
.xp-list a { text-decoration: underline; text-decoration-color: var(--line); }
.xp-list a:hover { color: var(--accent); }

/* ── chips & matrix ──────────────────────────────────────── */
.chips { display: flex; flex-wrap: wrap; gap: 0.45rem; margin-top: 0.8rem; }
.chips span {
  font-size: 0.68rem; color: var(--soft);
  border: 1px solid var(--line); border-radius: 7px;
  padding: 0.28rem 0.65rem;
}
.matrix { border-top: 1px solid var(--line); }
.mx-row {
  display: grid; grid-template-columns: 200px 1fr; gap: 1.5rem;
  padding: 1.1rem 0; border-bottom: 1px solid var(--line);
  align-items: start;
}
.mx-k { font-size: 0.64rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted); padding-top: 0.45rem; }
.mx-row .chips { margin: 0; }
.mx-row .chips span { padding: 0.45rem 0.9rem; text-align: center; flex: 1 0 auto; min-width: 90px; }
@media (max-width: 720px) { .mx-row { grid-template-columns: 1fr; gap: 0.5rem; } }

/* ── work rows ───────────────────────────────────────────── */
.rows { list-style: none; border-top: 1px solid var(--line); }
.row { border-bottom: 1px solid var(--line); }
.row-head {
  display: grid;
  grid-template-columns: 26px 112px 1fr auto auto;
  gap: 0.8rem; align-items: baseline;
  padding: 0.58rem 0.4rem;
  cursor: pointer;
  transition: background 0.15s, box-shadow 0.15s;
}
.row-head:hover { background: rgba(255, 255, 255, 0.025); box-shadow: inset 2px 0 0 var(--accent); }
.r-idx { font-size: 0.66rem; color: var(--dim); font-weight: 500; }
.r-name { font-weight: 700; font-size: 0.82rem; }
.r-desc { font-size: 0.85rem; color: var(--soft); }
.r-star { font-size: 0.7rem; color: var(--muted); min-width: 2ch; text-align: right; }
.r-go {
  color: var(--muted); border: 1px solid var(--line); border-radius: 7px;
  width: 22px; height: 22px; line-height: 20px; text-align: center;
  font-size: 0.7rem; align-self: center; transition: all 0.15s;
}
.r-go:hover { background: var(--accent); color: #14100b; border-color: var(--accent); }
.row-detail { display: none; }
.row.open .row-detail { display: block; animation: open 0.22s ease; }
@keyframes open { from { opacity: 0; transform: translateY(-3px); } }
.row-detail p {
  font-size: 0.9rem; line-height: 1.6; color: var(--muted);
  max-width: 60ch; padding: 0.1rem 0.3rem 0.35rem 11.05rem;
}
.row-detail p b { color: var(--accent); }
.r-stack { font-size: 0.66rem; color: var(--dim); padding: 0 0.3rem 0.7rem 11.05rem; }
.more { padding: 0.7rem 0.4rem 0; font-size: 0.74rem; }
.more a { color: var(--muted); }
.more a:hover { color: var(--accent); }
@media (max-width: 640px) {
  .row-head { grid-template-columns: 1fr auto; grid-template-areas: "name go" "desc desc" "star star"; row-gap: 0.15rem; }
  .r-idx { display: none; }
  .r-name { grid-area: name; }
  .r-desc { grid-area: desc; }
  .r-star { grid-area: star; text-align: left; }
  .r-go { grid-area: go; }
  .row-detail p, .r-stack { padding-left: 0.4rem; }
}

/* ── linkedin one-liners ─────────────────────────────────── */
.siglist { list-style: none; }
.siglist li {
  display: flex; gap: 0.9rem; align-items: baseline;
  padding: 0.42rem 0.4rem; border-bottom: 1px solid var(--line);
  font-size: 0.83rem;
}
.siglist li:hover { background: rgba(255, 255, 255, 0.02); }
.s-date { font-family: var(--mono); font-size: 0.66rem; color: var(--dim); min-width: 3.6em; }
.siglist a { color: var(--soft); }
.siglist a:hover { color: var(--accent); }

/* ── contact ─────────────────────────────────────────────── */
#dot-contact { width: 100%; max-width: 520px; height: auto; display: block; }
.lede { color: var(--soft); max-width: 52ch; }
.channels {
  border: 1px solid var(--line); border-radius: 12px;
  background: var(--panel); overflow: hidden; margin-top: 1.4rem;
}
.ch {
  display: flex; justify-content: space-between; align-items: baseline;
  gap: 1rem; padding: 0.75rem 1.1rem;
  border-bottom: 1px solid var(--line);
}
.ch:last-child { border-bottom: none; }
.ch-k { font-size: 0.64rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted); }
.ch a, .ch-v { font-family: var(--mono); font-size: 0.84rem; color: var(--text); }
.ch a span { color: var(--dim); }
.ch a:hover { color: var(--accent); }
.ch a:hover span { color: var(--accent); }

/* ── footer ──────────────────────────────────────────────── */
.foot {
  max-width: 1140px; margin: 0 auto;
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  padding: 1.2rem clamp(1.2rem, 4vw, 2.4rem) 5.4rem;
  border-top: 1px solid var(--line);
  font-size: 0.7rem; color: var(--dim);
}
.foot a:hover { color: var(--accent); }
.status { color: var(--green); display: inline-flex; align-items: center; gap: 0.4rem; }
.status i {
  width: 6px; height: 6px; border-radius: 50%; background: var(--green);
  display: inline-block; box-shadow: 0 0 8px rgba(74, 222, 128, 0.7);
}

/* ── tv intro: spotify ───────────────────────────────────── */
.tv-spotify { margin-top: 1.6rem; }
.tv-spin {
  font-size: 0.66rem; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--dim); margin-bottom: 0.5rem;
}

/* ── story page ──────────────────────────────────────────── */
.tv {
  position: fixed; inset: 0; z-index: 100; background: #070709;
  display: grid; place-content: center;
  background-image:
    repeating-linear-gradient(0deg, rgba(255,255,255,0.02) 0 1px, transparent 1px 3px);
  transition: opacity 0.6s ease, visibility 0.6s;
}
.tv.away { opacity: 0; visibility: hidden; pointer-events: none; }
.tv-inner { text-align: center; width: min(560px, 90vw); }
.tv-ch { font-size: 0.78rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--accent); margin-bottom: 2rem; }
.tv-bars { display: flex; gap: 6px; justify-content: center; margin-bottom: 1.6rem; }
.tv-bars span {
  width: 10px; height: 26px; background: var(--accent);
  animation: bar 1s ease-in-out infinite;
}
.tv-bars span:nth-child(2) { animation-delay: 0.12s; }
.tv-bars span:nth-child(3) { animation-delay: 0.24s; }
.tv-bars span:nth-child(4) { animation-delay: 0.36s; }
.tv-bars span:nth-child(5) { animation-delay: 0.48s; }
@keyframes bar { 0%, 100% { transform: scaleY(0.3); opacity: 0.4; } 50% { transform: scaleY(1); opacity: 1; } }
.tv-track { height: 4px; background: rgba(255,255,255,0.1); border-radius: 2px; overflow: hidden; }
.tv-fill { height: 100%; width: 0; background: var(--accent); transition: width 0.12s; }
.tv-status { display: flex; justify-content: space-between; font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--soft); margin-top: 0.5rem; }
.tv-note { margin-top: 0.9rem; font-size: 0.76rem; color: var(--muted); min-height: 1.2em; }
.tv-actions { display: flex; gap: 0.8rem; justify-content: center; margin-top: 2rem; flex-wrap: wrap; }
.tv-btn {
  background: none; border: 1px solid var(--accent); color: var(--accent);
  font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 0.8rem 1.4rem; cursor: pointer; transition: background 0.2s, color 0.2s;
}
.tv-btn:hover { background: var(--accent-soft); }
.tv-btn.solid { background: var(--accent); color: #14100b; font-weight: 700; }
.tv-btn.solid:hover { filter: brightness(1.08); }
.tv-foot { margin-top: 1.1rem; font-size: 0.64rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--dim); }

#scene { position: fixed; inset: 0; z-index: 0; width: 100%; height: 100%; }
.crt {
  position: fixed; inset: 0; z-index: 1; pointer-events: none;
  background-image: repeating-linear-gradient(0deg, rgba(0,0,0,0.16) 0 1px, transparent 1px 3px);
  mix-blend-mode: multiply;
}
.back {
  position: fixed; left: 20px; top: 20px; z-index: 50;
  font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--muted); border: 1px solid var(--line); border-radius: 999px;
  padding: 0.45rem 0.95rem; background: rgba(11,11,14,0.7); backdrop-filter: blur(6px);
  transition: color 0.2s, border-color 0.2s;
}
.back:hover { color: var(--accent); border-color: var(--accent); }

.tour { position: relative; z-index: 2; }
.chapter {
  min-height: 100vh;
  display: flex; flex-direction: column; justify-content: center;
  padding: 4rem clamp(1.4rem, 6vw, 5rem);
  max-width: 860px; margin: 0 auto;
  opacity: 0.15; transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.chapter.on { opacity: 1; transform: none; }
.ch-k { font-size: 0.7rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--accent); margin-bottom: 1rem; }
.ch-big {
  font-family: var(--display); font-weight: 400;
  font-size: clamp(2rem, 5vw, 3.6rem); line-height: 1.06;
  text-transform: uppercase; letter-spacing: 0.01em;
  text-shadow: 0 2px 30px rgba(0,0,0,0.8);
}
.ch-big em { color: var(--accent); font-style: normal; }
.ch-p { color: var(--soft); max-width: 52ch; margin-top: 1.2rem; font-size: 0.98rem; line-height: 1.7; text-shadow: 0 1px 12px rgba(0,0,0,0.8); }
.ch-p b { color: var(--accent); }
.ch-link { color: var(--accent); }
.ch-steps { color: var(--text); letter-spacing: 0.08em; }
.ch-steps b { color: var(--accent); }

.gap-nums { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 1.6rem; max-width: 560px; }
.gap { border: 1px solid var(--line); border-radius: 12px; padding: 1.2rem 1.3rem; background: rgba(19,19,24,0.75); }
.gap.good { border-color: rgba(74, 222, 128, 0.4); }
.gap.bad { border-color: rgba(255, 95, 87, 0.4); }
.g-num { font-size: clamp(2.2rem, 5vw, 3.2rem); font-weight: 700; }
.gap.good .g-num { color: var(--green); }
.gap.bad .g-num { color: #ff8b85; }
.g-l { font-size: 0.66rem; color: var(--muted); letter-spacing: 0.08em; margin-top: 0.3rem; }

.chapter-list .ch-rows { list-style: none; margin-top: 1.4rem; max-width: 560px; }
.chapter-list .ch-rows li { border-bottom: 1px solid var(--line); }
.chapter-list .ch-rows a {
  display: flex; justify-content: space-between; gap: 1rem; align-items: baseline;
  padding: 0.7rem 0.2rem; font-size: 0.84rem; color: var(--text);
  transition: color 0.2s;
}
.chapter-list .ch-rows a span { color: var(--muted); font-size: 0.7rem; text-align: right; }
.chapter-list .ch-rows a:hover { color: var(--accent); }
.chapter-list .ch-rows a:hover span { color: var(--accent); }
.chapter-end .channels { max-width: 560px; }
.chapter-end .channels { background: rgba(19,19,24,0.75); }

@media (max-width: 640px) {
  .gap-nums { grid-template-columns: 1fr; }
  .chapter { padding: 3.5rem 1.4rem; }
}

/* ── reduced motion ──────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .gate-half, .gate-center, .tv, .chapter, .theme-toggle { transition: none; }
  .row.open .row-detail { animation: none; }
  .tv-bars span { animation: none; }
  .chapter { opacity: 1; transform: none; }
  .reveal { opacity: 1; transform: none; }
}
