/**
 * site.css
 * Styles for the Frothly site. Dark throughout, with a green accent,
 * condensed display type and gradient headings.
 *
 * Created: 2026-11-02
 * Last modified: 2026-11-02
 */

/* Self-hosted typefaces (SIL Open Font License; see /assets/fonts/LICENSE-*.txt). */
@font-face { font-family: 'Anton'; font-style: normal; font-weight: 400; font-display: swap; src: url(/assets/fonts/anton-latin-400-normal.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: 'Anton'; font-style: normal; font-weight: 400; font-display: swap; src: url(/assets/fonts/anton-latin-ext-400-normal.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Figtree'; font-style: normal; font-weight: 300 900; font-display: swap; src: url(/assets/fonts/figtree-latin-wght-normal.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: 'Figtree'; font-style: normal; font-weight: 300 900; font-display: swap; src: url(/assets/fonts/figtree-latin-ext-wght-normal.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Figtree'; font-style: italic; font-weight: 300 900; font-display: swap; src: url(/assets/fonts/figtree-latin-wght-italic.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: 'Figtree'; font-style: italic; font-weight: 300 900; font-display: swap; src: url(/assets/fonts/figtree-latin-ext-wght-italic.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --bg: #050B09;
  --bg-deep: #020504;
  --panel: #0A1411;
  --card: #0F1A16;
  --line: #12201B;
  --line-2: #17241F;
  --line-3: #2A3D35;
  --text: #F1F5F2;
  --text-2: #C9D4CE;
  --text-3: #B5C2BB;
  --muted: #8A9A92;
  --dim: #5E6E66;
  --green: #2BD67B;
  --green-ink: #0B7A45;
  --lime: #D9F25A;
  --teal: #14B8A6;
  --forest: #0F3D2E;
  --emerald: #13A36A;
  --ink: #04110A;
  --paper: #F1F5F2;
  --paper-2: #EEF3EF;
  --paper-ink: #0B1410;
  --paper-muted: #3D4B44;
  --amber: #F5C26B;
  --salmon: #F0A591;
  --aqua: #5EEAD4;
  --grad: linear-gradient(90deg, #D9F25A 0%, #2BD67B 55%, #14B8A6 100%);
  --font-display: 'Anton', Impact, 'Arial Narrow', sans-serif;
  --font-body: 'Figtree', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-mono: ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace;
  --radius: 20px;
  --radius-sm: 14px;
  --container: 1280px;
  --gutter: clamp(16px, 4vw, 48px);
  color-scheme: dark;
}

/* ---------- Base ---------- */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
svg { display: inline-block; vertical-align: middle; }
a { color: inherit; text-decoration: none; transition: color 0.15s ease; }
a:hover { color: var(--green); }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; border-radius: 4px; }
main:focus { outline: none; }
[hidden] { display: none !important; }
strong { font-weight: 600; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0);
  white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 16px; top: -80px; z-index: 100;
  padding: 12px 18px; border-radius: 999px;
  background: var(--paper); color: var(--paper-ink); font-weight: 700;
}
.skip-link:focus { top: 16px; color: var(--paper-ink); }

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

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---------- Type helpers ---------- */

.grad {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}
.eyebrow {
  margin-bottom: 24px;
  font-family: var(--font-display);
  font-size: 18px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--green);
}
.display {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(44px, 5.5vw, 76px);
  line-height: 1;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}
.heading {
  display: inline-block;
  padding-bottom: 0.06em;
  font-size: clamp(34px, 4.4vw, 56px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.025em;
}
.label {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-3);
}
.lede {
  margin-top: 28px;
  max-width: 600px;
  font-size: clamp(17px, 1.4vw, 19px);
  line-height: 1.6;
  color: var(--text-2);
}
.rule { display: block; margin-top: 28px; width: min(100%, 520px); height: 6px; background: var(--green); }
.text-link { display: inline-block; padding: 12px 0; font-size: 15px; font-weight: 700; }
.mono { font-family: var(--font-mono); font-size: 13px; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 26px;
  border: 1px solid transparent; border-radius: 999px;
  font: inherit; font-size: 15px; font-weight: 700; line-height: 1.2;
  cursor: pointer;
  transition: filter 0.15s ease, background-color 0.15s ease, color 0.15s ease;
}
.btn--green { background: var(--green); color: var(--ink); }
.btn--light { background: var(--paper); color: var(--ink); }
.btn--green:hover, .btn--light:hover { color: var(--ink); filter: brightness(1.08); }
.btn--ghost { border-color: var(--text); color: var(--text); }
.btn--ghost:hover { background: rgba(241, 245, 242, 0.1); color: var(--text); }
.actions { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 12px; }
.actions--center { justify-content: center; }

/* ---------- Navigation ---------- */

.site-header { position: absolute; inset: 0 0 auto 0; z-index: 20; padding-top: 16px; }
.site-header .container { padding-inline: clamp(12px, 3vw, 32px); }
.nav {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0 32px;
  padding: 6px 12px 6px 20px;
  background: var(--paper-2); color: var(--paper-ink);
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
}
.nav a:hover { color: var(--green-ink); }
.nav__brand { display: flex; align-items: center; gap: 10px; min-height: 44px; font-size: 20px; font-weight: 700; letter-spacing: -0.02em; }
.nav__brand svg { width: 24px; height: 24px; }
.nav__links { display: flex; flex-wrap: wrap; gap: 0 26px; font-size: 12.5px; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase; }
.nav__links a { position: relative; display: block; padding: 13px 0; }
.nav__links a[aria-current="page"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: 6px; height: 3px; background: var(--green); }
.nav__links .nav__accent { color: var(--green-ink); }
.nav__toggle { display: none; }

@media (max-width: 960px) {
  .nav { padding-right: 6px; }
  .nav__toggle {
    display: inline-flex; align-items: center; justify-content: center;
    width: 44px; height: 44px; padding: 0;
    border: 0; border-radius: 8px; background: transparent; color: var(--paper-ink);
    cursor: pointer;
  }
  .js .nav__links {
    display: none; flex-basis: 100%; flex-direction: column;
    margin-top: 6px; padding: 4px 8px 10px 0;
    border-top: 1px solid #D5DED8;
  }
  .js .nav.is-open .nav__links { display: flex; }
  .nav__links a[aria-current="page"]::after { right: auto; width: 28px; bottom: 8px; }
}

/* ---------- Home hero ---------- */

.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(1100px 560px at 72% -8%, rgba(43, 214, 123, 0.30), rgba(20, 184, 166, 0.10) 45%, rgba(5, 11, 9, 0) 72%),
    var(--bg);
}
.hero__mark {
  position: absolute;
  right: clamp(-260px, -12vw, -80px);
  bottom: clamp(-300px, -18vw, -120px);
  width: clamp(320px, 44vw, 640px); height: auto;
  color: var(--green);
  pointer-events: none;
}
.hero__beams { position: absolute; right: 0; bottom: 0; width: 62%; height: 100%; pointer-events: none; }
.hero__beams rect { animation: beam-pulse 6s ease-in-out infinite; }
.hero__beams rect:nth-child(3n) { animation-delay: -2s; }
.hero__beams rect:nth-child(3n + 1) { animation-delay: -4s; }
@keyframes beam-pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.45; } }
.hero__inner { position: relative; z-index: 2; padding-top: clamp(150px, 17vw, 230px); padding-bottom: clamp(104px, 13vw, 180px); }
.hero__content { max-width: 720px; }
.hero__title { font-size: clamp(44px, 6vw, 80px); font-weight: 600; line-height: 1.04; letter-spacing: -0.025em; }
@media (max-width: 760px) {
  .hero__mark { opacity: 0.2; }
  .hero__beams { opacity: 0.35; }
}

/* ---------- Inner page hero ---------- */

.page-hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(900px 420px at 80% -10%, rgba(43, 214, 123, 0.24), rgba(20, 184, 166, 0.08) 45%, rgba(5, 11, 9, 0) 72%),
    var(--bg);
  border-bottom: 1px solid var(--line);
}
.page-hero__mark {
  position: absolute;
  right: clamp(-200px, -9vw, -70px);
  bottom: clamp(-220px, -14vw, -90px);
  width: clamp(260px, 32vw, 460px); height: auto;
  color: var(--green);
  pointer-events: none;
}
.page-hero__inner { position: relative; z-index: 2; padding-top: clamp(140px, 15vw, 200px); padding-bottom: clamp(64px, 8vw, 104px); }
.page-hero__title {
  max-width: 16ch;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(52px, 8vw, 112px);
  line-height: 0.95;
  letter-spacing: 0.005em;
  text-transform: uppercase;
}
.page-hero__title--compact { max-width: 22ch; font-size: clamp(40px, 5.6vw, 76px); line-height: 1; }
@media (max-width: 760px) { .page-hero__mark { opacity: 0.25; } }

/* ---------- Sections ---------- */

.section { padding-block: clamp(80px, 10vw, 128px); }
.section--flush-top { padding-top: 0; }
.section--compact { padding-top: clamp(56px, 7vw, 88px); }
.display--spaced { margin-top: clamp(64px, 8vw, 96px); scroll-margin-top: 24px; }
.program-list { padding-top: clamp(40px, 5vw, 64px); }
.section--deep { background: var(--bg-deep); border-block: 1px solid var(--line); }
.section-intro { margin-top: 16px; max-width: 640px; font-size: 18px; color: var(--text-3); }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 12px 40px; }
.center { text-align: center; }
.center .section-intro { margin-inline: auto; }

/* ---------- Supporters ---------- */

.supporters { padding-block: clamp(56px, 7vw, 88px); text-align: center; border-top: 1px solid var(--line); }
.supporters__title { display: inline-block; font-size: clamp(22px, 2.4vw, 30px); font-weight: 700; letter-spacing: -0.01em; }
.supporters__rows { margin-top: 32px; display: flex; flex-direction: column; align-items: center; gap: 24px; color: var(--text-3); }
.supporters__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 20px 64px; }
.wordmark--oxenfurt { font-family: Georgia, serif; font-size: 15px; letter-spacing: 0.16em; text-transform: uppercase; }
.wordmark--rosen { font-family: Georgia, serif; font-style: italic; font-size: 20px; }
.wordmark--runciter { font-size: 13px; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; }
.wordmark--hosaka { font-size: 22px; font-weight: 700; letter-spacing: -0.04em; }
.wordmark--sensenet { font-family: var(--font-mono); font-size: 15px; }
.wordmark--trioptimum { font-size: 18px; font-weight: 600; }
.wordmark--kiroshi { font-family: var(--font-display); font-size: 19px; letter-spacing: 0.08em; text-transform: uppercase; }

/* ---------- News tiles ---------- */

.tiles { margin-top: 36px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 20px; }
.tile {
  position: relative; overflow: hidden;
  min-height: 260px;
  display: flex; flex-direction: column; justify-content: space-between; gap: 24px;
  padding: 26px;
  border-radius: var(--radius-sm);
  transition: transform 0.2s ease;
}
.tile:hover { transform: translateY(-3px); }
.tile--forest, .tile--forest:hover { background: var(--forest); color: var(--text); }
.tile--emerald, .tile--emerald:hover { background: var(--emerald); color: var(--ink); }
.tile--lime, .tile--lime:hover { background: var(--lime); color: var(--ink); }
.tile__mark { position: absolute; right: -90px; bottom: -110px; width: 280px; height: 280px; opacity: 0.22; }
.tile__label, .tile__title, .tile__meta { position: relative; }
.tile__label { font-size: 12.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.tile__title { font-size: clamp(23px, 2vw, 27px); font-weight: 700; line-height: 1.2; letter-spacing: -0.01em; }
.tile__meta { font-size: 14px; font-weight: 600; }

/* ---------- Registry feed ---------- */

.feed-head { margin-top: 48px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px; }
.feed-head__actions { display: flex; align-items: center; gap: 20px; }
.feed__toggle {
  min-height: 36px; padding: 6px 16px;
  border: 1px solid var(--line-3); border-radius: 999px;
  background: transparent; color: var(--text-3);
  font: inherit; font-size: 13px; font-weight: 700; cursor: pointer;
}
.feed__toggle:hover { border-color: var(--green); color: var(--text); }
.feed { margin-top: 16px; overflow-x: auto; scrollbar-width: none; }
.feed::-webkit-scrollbar { display: none; }
.feed__track {
  display: flex; width: max-content;
  padding-left: max(var(--gutter), calc((100% - var(--container)) / 2 + var(--gutter)));
}
.feed--animated { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.feed--animated .feed__track { padding-left: 0; animation: feed-scroll 70s linear infinite; }
.feed--animated:hover .feed__track, .feed--animated.is-paused .feed__track { animation-play-state: paused; }
@keyframes feed-scroll { to { transform: translateX(-50%); } }
.feed__item {
  flex: 0 0 auto; width: 330px; margin-right: 14px;
  display: flex; overflow: hidden;
  background: var(--paper); color: var(--paper-ink);
  border-radius: 10px;
}
.feed__icon { flex: 0 0 60px; display: flex; align-items: center; justify-content: center; background: var(--paper-ink); }
.feed__icon svg { width: 14px; height: 14px; }
.feed__icon .status--active { color: var(--green); }
.feed__icon .status--review { color: var(--paper); }
.feed__icon .status--revoked { color: var(--salmon); }
.feed__body { min-width: 0; padding: 16px 18px; }
.feed__title { display: block; font-size: 16px; font-weight: 700; line-height: 1.3; }
.feed__meta { display: block; margin-top: 4px; font-size: 13.5px; color: var(--paper-muted); }

/* ---------- Program tabs (home) ---------- */

.programs { margin-top: 56px; display: flex; flex-wrap: wrap; gap: 40px 64px; }
.prog-list { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; }
.prog-tab {
  margin: 0; padding: 6px 0;
  border: 0; background: none;
  font-family: var(--font-display); font-size: clamp(34px, 3.6vw, 50px); line-height: 1.15;
  letter-spacing: 0.01em; text-transform: uppercase; text-align: left;
  color: var(--dim);
  text-decoration: none; text-decoration-thickness: 4px; text-underline-offset: 9px;
  cursor: pointer;
  transition: color 0.15s ease;
}
.prog-tab:hover { color: var(--text); }
.prog-tab[aria-selected="true"] { color: var(--green); text-decoration: underline; text-decoration-color: var(--green); }
.prog-panels { flex: 1.4 1 520px; min-width: 0; }
.prog-panel { padding: clamp(24px, 3.5vw, 44px); background: var(--panel); border: 1px solid var(--line-2); border-radius: var(--radius); }
.prog-panel__focus { font-size: 12.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--green); }
.prog-panel__name { margin-top: 12px; font-size: clamp(30px, 3vw, 40px); font-weight: 700; line-height: 1.1; letter-spacing: -0.02em; }
.prog-panel__desc { margin-top: 18px; font-size: 17px; line-height: 1.65; color: var(--text-2); }
.prog-panel__facts { margin-top: 28px; font-size: 14.5px; color: var(--muted); }
.prog-panel__facts strong { color: var(--text); font-weight: 500; }
.prog-panel .btn { margin-top: 28px; }

.metrics { margin-top: 32px; padding-top: 28px; border-top: 1px solid var(--line-2); display: flex; flex-wrap: wrap; gap: 24px; }
.metric { flex: 1 1 130px; min-width: 0; }
.metric__value { display: inline-block; font-size: clamp(32px, 3vw, 42px); font-weight: 700; line-height: 1.05; letter-spacing: -0.02em; }
.metric__label { margin-top: 8px; font-size: 13.5px; color: var(--muted); }

/* ---------- Charter ---------- */

.charter { margin-top: 56px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 20px; text-align: left; }
.charter__item { padding: 32px; background: var(--panel); border: 1px solid var(--line-2); border-radius: var(--radius); }
.charter__num { font-family: var(--font-display); font-size: 72px; line-height: 1; color: var(--green); }
.charter__label { margin-top: 16px; font-size: 12.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.charter__text { margin-top: 12px; font-size: 18px; line-height: 1.55; }
.charter-zero {
  margin-top: 20px;
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px;
  padding: 20px 28px;
  border: 1px dashed var(--line-3); border-radius: var(--radius);
  text-align: left;
}
.charter-zero__num { font-family: var(--font-display); font-size: 30px; line-height: 1; color: var(--muted); }
.charter-zero p { flex: 1 1 360px; font-size: 16px; color: var(--text-3); }
.charter-zero strong { color: var(--text); font-weight: 500; }

/* ---------- Black panel with stats ---------- */

.panel-wrap { padding-inline: clamp(12px, 2vw, 24px); }
.panel-black {
  max-width: 1392px; margin-inline: auto;
  padding: clamp(48px, 6vw, 88px) clamp(20px, 5vw, 72px);
  background: #000; border: 1px solid var(--line); border-radius: 28px;
}
.stats { margin-top: 44px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 170px), 1fr)); gap: 40px 32px; }
.stat__icon { display: block; }
.stat__icon svg { width: 24px; height: 24px; color: var(--green); }
.stat__value { margin-top: 14px; display: inline-block; font-size: clamp(40px, 4vw, 54px); font-weight: 700; line-height: 1.05; letter-spacing: -0.02em; }
.stat__label { margin-top: 12px; font-size: 12.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-3); }
.panel-black__foot { margin-top: 56px; padding-top: 40px; border-top: 1px solid var(--line-2); display: flex; flex-wrap: wrap; align-items: flex-end; gap: 32px 64px; }
.quote { flex: 2 1 480px; min-width: 0; }
.quote blockquote { font-size: clamp(22px, 2.4vw, 30px); font-weight: 600; line-height: 1.35; letter-spacing: -0.01em; }
.quote figcaption { margin-top: 20px; font-size: 14.5px; color: var(--muted); }
.panel-black__action { flex: 1 1 240px; min-width: 0; }

/* ---------- Research cards ---------- */

.cards { margin-top: 40px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: 20px; }
.card { display: flex; flex-direction: column; overflow: hidden; background: var(--card); border: 1px solid var(--line-2); border-radius: 18px; transition: transform 0.2s ease; }
a.card:hover { transform: translateY(-3px); color: var(--text); }
.card__art { display: flex; align-items: center; justify-content: center; height: 160px; color: #9BF0C1; }
.card__art--gear { background: radial-gradient(120% 100% at 30% 15%, #1C6B4A 0%, #0B2A20 55%, #071410 100%); }
.card__art--eyes { background: radial-gradient(120% 100% at 70% 15%, #127A6E 0%, #0A2B26 55%, #071410 100%); }
.card__art--decay { align-items: flex-end; padding-bottom: 28px; background: radial-gradient(120% 100% at 30% 15%, #4F7A1C 0%, #1F2E0E 55%, #071410 100%); color: var(--lime); }
.card__art--lattice { background: radial-gradient(120% 100% at 70% 15%, #1C6B4A 0%, #0B2A20 55%, #071410 100%); }
.card__body { flex: 1 1 auto; display: flex; flex-direction: column; gap: 10px; padding: 20px 22px 24px; }
.card__type { font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--green); }
.card__title { font-size: 19px; font-weight: 700; line-height: 1.25; }
.card__text { font-size: 14.5px; line-height: 1.55; color: var(--text-3); }
.card__link { margin-top: auto; padding-top: 6px; font-size: 14px; font-weight: 700; }

/* ---------- People ---------- */

.people { margin-top: 36px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 20px; }
.person { height: 100%; display: flex; align-items: center; gap: 16px; padding: 18px; background: var(--panel); border: 1px solid var(--line-2); border-top: 4px solid var(--green); border-radius: 18px; transition: border-color 0.15s ease; }
a.person:hover { border-color: var(--green); color: var(--text); }
a.person:hover .person__name { color: var(--green); }
.person__text { min-width: 0; }
.person__name { display: block; font-size: 19px; font-weight: 700; line-height: 1.25; letter-spacing: -0.01em; transition: color 0.15s ease; }
.person__role { display: block; margin-top: 4px; font-size: 14.5px; color: var(--muted); }
.person-link { color: inherit; text-decoration: underline; text-decoration-color: var(--line-3); text-underline-offset: 3px; }
.person-link:hover { color: var(--green); text-decoration-color: var(--green); }
.profile-work { margin-top: 40px; }
.profile-work .label { color: var(--green); }
.board--bios li { flex-direction: column; gap: 2px; }
.board__bio { font-size: 14.5px; color: var(--muted); }

/* Pixel-silhouette portraits, "shown through Scramble". */
.portrait { position: relative; flex: 0 0 auto; display: block; width: 168px; height: 168px; overflow: hidden; background: #071410; border: 1px solid var(--line-2); border-radius: 14px; }
.portrait svg { display: block; width: 100%; height: 100%; }
.portrait::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: repeating-linear-gradient(0deg, rgba(0, 0, 0, 0.3) 0 1px, transparent 1px 3px); }
.portrait--small { width: 60px; height: 60px; border-radius: 10px; }
.portrait__edge { fill: var(--green); }
.portrait__fill { fill: rgba(43, 214, 123, 0.14); }
.portrait__hair { fill: rgba(43, 214, 123, 0.55); }
.portrait__prop { fill: rgba(43, 214, 123, 0.42); }
.portrait__glow { fill: var(--lime); }
.portrait__ghost { fill: rgba(94, 234, 212, 0.35); }
.portrait--blur svg { filter: blur(2.4px); }
.portrait--small.portrait--blur svg { filter: blur(1px); }
.portrait--scramble .portrait__frame { opacity: 0; animation: portrait-scramble 2.4s steps(1) infinite; }
.portrait--scramble .portrait__frame:nth-child(1) { opacity: 1; }
.portrait--scramble .portrait__frame:nth-child(2) { animation-delay: -1.6s; }
.portrait--scramble .portrait__frame:nth-child(3) { animation-delay: -0.8s; }
@keyframes portrait-scramble { 0% { opacity: 1; } 33.333% { opacity: 0; } 100% { opacity: 0; } }
.portrait-caption { font-size: 13px; color: var(--muted); }

/* ---------- Audio Logs band ---------- */

.band { position: relative; overflow: hidden; background: var(--forest); }
.band__mark { position: absolute; right: -150px; top: 50%; width: 440px; height: 440px; margin-top: -220px; color: var(--green); pointer-events: none; }
.band__inner { position: relative; padding-block: clamp(56px, 7vw, 88px); display: flex; flex-wrap: wrap; align-items: center; gap: 32px 64px; }
.band__title { flex: 1 1 360px; min-width: 0; }
.band__title span { display: block; }
.episode-card {
  flex: 1 1 420px; min-width: 0; max-width: 580px;
  display: flex; align-items: center; gap: 20px;
  padding: 22px 24px;
  background: var(--paper); color: var(--paper-ink);
  border-radius: var(--radius-sm);
}
.episode-card__play {
  flex: 0 0 56px; height: 56px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%; background: var(--paper-ink); color: var(--green);
}
.episode-card__play:hover { color: var(--lime); }
.episode-card__meta { font-size: 12.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--green-ink); }
.episode-card__title { margin-top: 4px; font-size: 19px; font-weight: 700; line-height: 1.3; }
.episode-card__text { margin-top: 4px; font-size: 14.5px; line-height: 1.5; color: var(--paper-muted); }

/* ---------- Footer ---------- */

.footer { background: var(--bg-deep); border-top: 1px solid var(--line); }
.footer__inner { padding-block: 72px 28px; }
.footer__top { display: flex; flex-wrap: wrap; gap: 48px 64px; }
.footer__brand { flex: 2 1 320px; min-width: 0; }
.footer__logo { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-size: 20px; font-weight: 700; letter-spacing: -0.02em; }
.footer__logo svg { width: 24px; height: 24px; color: var(--green); }
.footer__text { margin-top: 16px; max-width: 400px; font-size: 15px; color: var(--muted); }
.footer__text a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
.footer__col { flex: 1 1 150px; min-width: 0; }
.footer__heading { margin-bottom: 10px; font-size: 12.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.footer__col a { display: inline-block; padding: 7px 0; font-size: 15px; color: var(--muted); }
.footer__col a:hover { color: var(--green); }
.footer__offices {
  margin-top: 56px;
  display: flex; flex-wrap: wrap; gap: 1px;
  overflow: hidden;
  background: var(--line-2); border: 1px solid var(--line-2); border-radius: var(--radius-sm);
}
.footer__office { flex: 1 1 170px; display: flex; flex-direction: column; padding: 16px 18px; background: var(--bg-deep); }
.footer__office-city { font-size: 14px; }
.footer__office-time { margin-top: 2px; font-size: 12.5px; color: var(--muted); font-variant-numeric: tabular-nums; }
.footer__bottom { margin-top: 20px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 4px 32px; font-size: 13.5px; color: var(--muted); }
.footer__bottom p { padding: 10px 0; }
.footer__status { display: flex; align-items: center; gap: 8px; }
.footer__status-mark { width: 8px; height: 8px; background: var(--green); transform: rotate(45deg); }
.footer__legal { display: flex; flex-wrap: wrap; gap: 0 20px; }

/* ---------- Chips and filters ---------- */

.chips { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  display: inline-flex; align-items: center;
  min-height: 44px; padding: 8px 18px;
  border: 1px solid var(--line-3); border-radius: 999px;
  background: transparent; color: var(--text);
  font: inherit; font-size: 14px; font-weight: 700;
  cursor: pointer;
}
.chip:hover { border-color: var(--green); color: var(--text); }
.chip[aria-pressed="true"] { background: var(--green); border-color: var(--green); color: var(--ink); }

/* ---------- Programs page ---------- */

.program { padding-block: clamp(64px, 8vw, 104px); border-top: 1px solid var(--line); scroll-margin-top: 24px; }
.program__grid { display: flex; flex-wrap: wrap; gap: 40px 64px; }
.program__main { flex: 1.4 1 520px; min-width: 0; }
.program__aside { flex: 1 1 320px; min-width: 0; }
.program__num { font-family: var(--font-display); font-size: 20px; letter-spacing: 0.06em; color: var(--green); }
.program__name { margin-top: 8px; font-family: var(--font-display); font-weight: 400; font-size: clamp(48px, 6vw, 84px); line-height: 0.95; text-transform: uppercase; }
.program__focus { margin-top: 16px; }
.program__body p { margin-top: 20px; max-width: 680px; font-size: 18px; line-height: 1.65; color: var(--text-2); }
.program__body p:first-child { margin-top: 28px; }
.details { padding: 28px; background: var(--panel); border: 1px solid var(--line-2); border-radius: var(--radius); }
.details dl > div { padding: 12px 0; border-bottom: 1px solid var(--line-2); }
.details dl > div:first-child { padding-top: 0; }
.details dt { font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.details dd { margin-top: 4px; font-size: 15.5px; }
.related { margin-top: 24px; }
.related ul { margin-top: 8px; }
.related li { padding: 10px 0; border-bottom: 1px solid var(--line-2); font-size: 15px; }
.related a { display: block; }
.related span { display: block; font-size: 12.5px; color: var(--muted); }

/* ---------- Research page ---------- */

.feature {
  position: relative; overflow: hidden;
  display: flex; flex-wrap: wrap; gap: 40px 56px;
  padding: clamp(28px, 4vw, 52px);
  background: var(--panel); border: 1px solid var(--line-2); border-radius: 24px;
}
.feature__mark { position: absolute; right: -120px; bottom: -150px; width: 440px; height: 440px; color: var(--green); opacity: 0.18; pointer-events: none; }
.feature__main { position: relative; flex: 2 1 460px; min-width: 0; }
.feature__title { margin-top: 14px; font-size: clamp(36px, 4.6vw, 60px); font-weight: 700; line-height: 1.05; letter-spacing: -0.03em; }
.feature__subtitle { margin-top: 14px; font-size: 20px; font-weight: 600; color: var(--text); }
.feature__text { margin-top: 16px; max-width: 640px; font-size: 17px; color: var(--text-2); }
.feature__authors { margin-top: 16px; font-size: 15px; font-weight: 600; color: var(--text-3); }
.feature .actions { margin-top: 28px; }
.btn__meta { font-weight: 500; opacity: 0.75; }
.feature__meta { position: relative; flex: 1 1 240px; min-width: 0; align-self: flex-end; }
.feature__meta dl > div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-top: 1px solid var(--line-3); font-size: 14.5px; }
.feature__meta dt { color: var(--muted); }
.filters { margin-top: 64px; }
.filters__count { margin-top: 16px; font-size: 14px; color: var(--muted); }
.pubs { margin-top: 24px; border-top: 1px solid var(--line-2); }
.pub { display: flex; flex-wrap: wrap; gap: 8px 40px; padding: 28px 0; border-bottom: 1px solid var(--line-2); scroll-margin-top: 24px; }
.pub:target { background: linear-gradient(90deg, rgba(43, 214, 123, 0.08), transparent 70%); }
.pub__meta { flex: 0 0 200px; font-size: 13.5px; color: var(--muted); }
.pub__type { display: block; font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--green); }
.pub__id { display: block; margin-top: 6px; font-family: var(--font-mono); font-size: 12.5px; }
.pub__main { flex: 1 1 420px; min-width: 0; }
.pub__title { font-size: clamp(19px, 1.8vw, 23px); font-weight: 700; line-height: 1.3; letter-spacing: -0.01em; }
.pub__abstract { margin-top: 10px; max-width: 760px; font-size: 15.5px; color: var(--text-3); }
.pub__authors { margin-top: 4px; font-size: 14px; font-weight: 600; color: var(--text-3); }
.pub__foot { margin-top: 10px; font-size: 13.5px; color: var(--muted); }
.pub__download {
  margin-top: 14px;
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 44px; padding: 8px 18px;
  border: 1px solid var(--line-3); border-radius: 999px;
  font-size: 14px; font-weight: 700;
}
.pub__download:hover { border-color: var(--green); }
.pub__download-meta { font-weight: 500; color: var(--muted); }

/* ---------- Registry page ---------- */

.steps { margin-top: 48px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 20px; }
.step { padding: 28px; background: var(--panel); border: 1px solid var(--line-2); border-radius: var(--radius); }
.step__num { font-family: var(--font-display); font-size: 44px; line-height: 1; color: var(--green); }
.step__title { margin-top: 14px; font-size: 20px; font-weight: 700; }
.step__text { margin-top: 8px; font-size: 15.5px; color: var(--text-3); }
.registry-tools { margin-top: 40px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.input, .select {
  min-height: 48px; padding: 12px 20px;
  background: var(--panel); color: var(--text);
  border: 1px solid var(--line-3); border-radius: 999px;
  font: inherit; font-size: 15px;
}
.input { flex: 1 1 320px; min-width: 0; }
.input::placeholder { color: var(--muted); }
.input:focus, .select:focus { border-color: var(--green); outline: none; box-shadow: 0 0 0 3px rgba(43, 214, 123, 0.25); }
.select {
  flex: 0 1 220px; padding-right: 44px;
  appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23B5C2BB' stroke-width='1.6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 18px center;
}
.registry-count { flex: 1 1 100%; font-size: 14px; color: var(--muted); }
.table-wrap { margin-top: 16px; overflow-x: auto; border: 1px solid var(--line-2); border-radius: var(--radius); }
.registry-table { width: 100%; min-width: 880px; border-collapse: collapse; font-size: 14.5px; text-align: left; }
.registry-table th { padding: 14px 18px; background: var(--panel); border-bottom: 1px solid var(--line-2); font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.registry-table td { padding: 14px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
.registry-table tbody tr:last-child td { border-bottom: 0; }
.registry-table .system { font-weight: 700; letter-spacing: 0.02em; }
.registry-table .note { display: block; margin-top: 2px; font-size: 13px; font-weight: 400; letter-spacing: 0; color: var(--muted); }
.registry-table .is-revoked .system-name { text-decoration: line-through; text-decoration-color: var(--muted); }
.registry-table .note--link { font-weight: 600; color: var(--green); }
.registry-table a.system-name { text-decoration: underline; text-decoration-color: var(--line-3); text-underline-offset: 3px; }
.registry-table a.system-name:hover { color: var(--green); text-decoration-color: var(--green); }
.registry-table .is-revoked a.system-name { text-decoration: line-through; text-decoration-color: var(--muted); }
.incident-timeline.incident-timeline--record li::before { background: var(--green); }
.filing-conditions { margin-top: 16px; padding-left: 22px; list-style: decimal; color: var(--text-2); font-size: 17px; }
.filing-conditions li + li { margin-top: 8px; }
.filing-conditions li::marker { color: var(--green); font-weight: 700; }
.prose .filing-standard-intro { margin-top: 20px; font-size: 15px; color: var(--muted); }
.prose .filing-standard { margin-top: 10px; display: grid; gap: 8px; list-style: none; padding: 0; font-size: 15px; color: var(--text-3); }
.prose .filing-standard li + li { margin-top: 0; }
.filing-standard .mono { margin-right: 10px; color: var(--green); }
.filing-contact-role { font-size: 13.5px; color: var(--muted); }
.prose .filing-related { margin-top: 16px; padding-left: 0; list-style: none; }
.prose .filing-related li + li { margin-top: 0; }
.prose .filing-related a { color: var(--text); text-decoration: none; font-size: 16px; }
.prose .filing-related a:hover { color: var(--green); }
.registry-empty { padding: 36px 20px; text-align: center; }
.registry-empty__title { font-family: var(--font-display); font-size: clamp(22px, 3vw, 32px); letter-spacing: 0.02em; text-transform: uppercase; color: var(--muted); }
.registry-empty__text { margin: 10px auto 0; max-width: 520px; font-size: 15px; color: var(--muted); }
.status { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; font-size: 13.5px; font-weight: 600; }
.status svg { width: 9px; height: 9px; flex: 0 0 auto; }
.status--merged svg { width: 13px; }
.status--active { color: var(--green); }
.status--review { color: var(--text-3); }
.status--suspended { color: var(--amber); }
.status--revoked { color: var(--salmon); }
.status--merged { color: var(--aqua); }
.status--retired { color: var(--muted); }
.status--unreachable { color: var(--muted); font-style: italic; }
.registry-footnote { margin-top: 16px; font-size: 14px; color: var(--muted); }
.registry-empty__action { margin-top: 22px; }
.text-link--inline { color: var(--green); text-decoration: underline; text-underline-offset: 3px; }
.button-row { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 12px; }
.article-aside .text-link { display: block; }

/* ---------- About page ---------- */

.split { display: flex; flex-wrap: wrap; gap: 40px 80px; }
.split__aside { flex: 1 1 300px; min-width: 0; }
.split__main { flex: 2 1 520px; min-width: 0; }
.prose p { font-size: 18px; line-height: 1.7; color: var(--text-2); }
.prose p + p { margin-top: 20px; }
.prose a { color: var(--green); text-decoration: underline; text-underline-offset: 3px; }
.prose h2 { margin-top: 64px; font-family: var(--font-display); font-weight: 400; font-size: clamp(32px, 4vw, 48px); line-height: 1; text-transform: uppercase; scroll-margin-top: 24px; }
.prose h2:first-child { margin-top: 0; }
.prose h2 + p { margin-top: 20px; }
.prose ul { margin-top: 16px; padding-left: 22px; list-style: disc; color: var(--text-2); font-size: 17px; }
.prose li + li { margin-top: 8px; }
.prose li::marker { color: var(--green); }
.prose--narrow { max-width: 760px; }
.timeline { margin-top: 48px; margin-left: 5px; border-left: 2px solid var(--line-3); }
.timeline li { position: relative; padding: 0 0 40px 36px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before { content: ""; position: absolute; left: -8px; top: 9px; width: 14px; height: 14px; background: var(--green); transform: rotate(45deg); }
.timeline__year { font-family: var(--font-display); font-size: 32px; line-height: 1; color: var(--green); }
.timeline__text { margin-top: 8px; max-width: 640px; font-size: 17px; color: var(--text-2); }
.board { margin-top: 32px; columns: 2 300px; column-gap: 56px; }
.board li { break-inside: avoid; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 16px; padding: 16px 0; border-bottom: 1px solid var(--line-2); }
.board__name { font-size: 17px; font-weight: 600; }
.board__role { font-size: 14.5px; color: var(--muted); }
.offices { margin-top: 36px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 20px; }
.office { padding: 24px; background: var(--panel); border: 1px solid var(--line-2); border-radius: 18px; }
.office__city { font-family: var(--font-display); font-size: 30px; line-height: 1; text-transform: uppercase; }
.office__role { margin-top: 12px; font-size: 15px; color: var(--text-3); }
.office__time { margin-top: 14px; display: block; font-size: 13.5px; color: var(--muted); font-variant-numeric: tabular-nums; }

/* ---------- Newsroom ---------- */

.news-list { margin-top: 40px; border-top: 1px solid var(--line-2); }
.news-item { display: flex; flex-wrap: wrap; gap: 8px 40px; padding: 32px 0; border-bottom: 1px solid var(--line-2); scroll-margin-top: 24px; }
.news-item:target { background: linear-gradient(90deg, rgba(43, 214, 123, 0.08), transparent 70%); }
.news-item__date { flex: 0 0 170px; }
.news-item__day { display: block; font-size: 34px; font-weight: 700; line-height: 1; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.news-item__year { display: block; margin-top: 4px; font-size: 13px; color: var(--muted); }
.news-item__tag { flex: 0 0 120px; padding-top: 8px; font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--green); }
.news-item__main { flex: 1 1 440px; min-width: 0; }
.news-item__title { font-size: clamp(21px, 2vw, 26px); font-weight: 700; line-height: 1.25; letter-spacing: -0.01em; }
.news-item__text { margin-top: 10px; max-width: 720px; font-size: 16px; color: var(--text-3); }
.episodes { margin-top: 36px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 16px; }
.episode { height: 100%; display: flex; align-items: flex-start; gap: 18px; padding: 22px; background: var(--panel); border: 1px solid var(--line-2); border-radius: 18px; transition: border-color 0.15s ease; }
a.episode:hover { border-color: var(--green); color: var(--text); }
.episode__num { flex: 0 0 56px; height: 56px; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--forest); font-family: var(--font-display); font-size: 20px; color: var(--green); }
.episode__title { display: block; font-size: 18px; font-weight: 700; line-height: 1.3; }
.episode__meta { display: block; margin-top: 2px; font-size: 13px; color: var(--muted); }
.episode__text { display: block; margin-top: 8px; font-size: 15px; color: var(--text-3); }
.news-item__title a:hover { color: var(--green); }
.read-more { display: inline-block; margin-top: 10px; font-size: 14px; font-weight: 700; color: var(--green); }

/* ---------- Press release and transcript pages ---------- */

.article-aside { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.article-aside dl { width: 100%; max-width: 320px; }
.article-aside dl > div { padding: 12px 0; border-bottom: 1px solid var(--line-2); }
.article-aside dt { font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.article-aside dd { margin-top: 2px; font-size: 15px; overflow-wrap: anywhere; }
.article-aside dd a { color: var(--green); text-decoration: underline; text-underline-offset: 3px; }
.article-aside__note { font-size: 14px; color: var(--muted); }
.dateline { font-weight: 700; letter-spacing: 0.02em; color: var(--text); }
.article-quote { margin: 36px 0; padding: 24px 0; border-top: 3px solid var(--green); border-bottom: 1px solid var(--line-2); }
.article-quote blockquote p { font-size: clamp(20px, 2vw, 26px); font-weight: 600; line-height: 1.4; color: var(--text); }
.article-quote figcaption { margin-top: 12px; font-size: 14.5px; color: var(--muted); }
.prose .about-heading { margin-top: 48px; font-family: var(--font-body); font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.prose .about-heading + p { margin-top: 10px; font-size: 16px; color: var(--text-3); }
.transcript-label { margin-bottom: 8px; }
.transcript { border-top: 1px solid var(--line-2); }
.turn { display: flex; flex-wrap: wrap; gap: 4px 24px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.turn__speaker { flex: 0 0 170px; padding-top: 4px; font-size: 12.5px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.turn--guest .turn__speaker { color: var(--green); }
.turn__text { flex: 1 1 420px; min-width: 0; font-size: 17px; line-height: 1.7; color: var(--text-2); }
.stage { color: var(--muted); }
.episode-nav { margin-top: 48px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; }
.episode-nav a { flex: 1 1 260px; min-width: 0; display: flex; flex-direction: column; gap: 4px; padding: 18px 22px; border: 1px solid var(--line-2); border-radius: 16px; }
.episode-nav a:hover { border-color: var(--green); color: var(--text); }
.episode-nav span { font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.episode-nav strong { font-size: 17px; }
.episode-nav .next { text-align: right; }
.article h2 { font-size: clamp(28px, 3vw, 38px); margin-top: 56px; }
.article > h2:first-child { margin-top: 0; }
.incident-timeline { margin-top: 20px; border-left: 2px solid var(--line-3); margin-left: 5px; list-style: none; padding: 0; }
.incident-timeline li { position: relative; padding: 0 0 22px 28px; }
.incident-timeline li::before { content: ""; position: absolute; left: -7px; top: 8px; width: 12px; height: 12px; background: var(--salmon); transform: rotate(45deg); }
.incident-timeline time { display: block; font-size: 13px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.incident-timeline p { margin-top: 4px; font-size: 16.5px; }
.incident-findings { margin-top: 20px; list-style: none; padding: 0; display: grid; gap: 14px; }
.incident-findings li { padding: 20px 22px; background: var(--panel); border: 1px solid var(--line-2); border-radius: 16px; }
.incident-findings li p { font-size: 16px; }
.incident-findings__title { font-weight: 700; color: var(--text) !important; }
.incident-findings__title span { margin-right: 12px; font-family: var(--font-display); font-weight: 400; letter-spacing: 0.04em; color: var(--salmon); }
.incident-findings li p + p { margin-top: 6px; }
.log { margin-top: 18px; padding: 18px 20px; overflow-x: auto; background: #000; border: 1px solid var(--line-2); border-radius: 12px; font-family: var(--font-mono); font-size: 13px; line-height: 1.7; color: #9BF0C1; }
.callout-box { margin-top: 48px; padding: 22px 24px; background: var(--panel); border: 1px solid var(--line-2); border-radius: 16px; }
.callout-box ul { margin-top: 10px; padding-left: 20px; list-style: disc; }
.callout-box li + li { margin-top: 6px; }
.schedule { margin-top: 40px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 24px; }
.schedule__day { padding: 24px; background: var(--panel); border: 1px solid var(--line-2); border-radius: var(--radius); }
.schedule__heading { font-family: var(--font-display); font-weight: 400; font-size: 26px; line-height: 1.1; text-transform: uppercase; color: var(--green); }
.schedule__list { margin-top: 12px; }
.session { display: flex; flex-wrap: wrap; gap: 4px 14px; padding: 14px 0; border-top: 1px solid var(--line-2); }
.session__time { flex: 0 0 48px; font-family: var(--font-mono); font-size: 13px; color: var(--muted); padding-top: 2px; }
.session__main { flex: 1 1 200px; min-width: 0; }
.session__title { display: block; font-size: 16px; font-weight: 700; line-height: 1.35; }
.session__speakers { display: block; margin-top: 2px; font-size: 14px; color: var(--text-3); }
.session__track { flex: 1 1 100%; padding-left: 62px; font-size: 11.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.episode-card__title a:hover { color: var(--green-ink); }
.episode-card__link { display: inline-block; margin-top: 8px; font-size: 14px; font-weight: 700; color: var(--green-ink); }
.press-box { margin-top: 48px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; padding: 28px 32px; background: var(--panel); border: 1px solid var(--line-2); border-radius: var(--radius); }
.press-box p { font-size: 17px; color: var(--text-2); }
.press-box a { color: var(--green); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Annual report ---------- */

.letter { max-width: 760px; }
.letter p { font-size: 19px; line-height: 1.75; color: var(--text-2); }
.letter p + p { margin-top: 22px; }
.signature { margin-top: 36px; }
.signature__name { font-family: var(--font-display); font-size: 28px; line-height: 1; text-transform: uppercase; }
.signature__role { margin-top: 6px; font-size: 15px; color: var(--muted); }
.fin-grid { margin-top: 48px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 20px; }
.fin-card { padding: 32px; background: var(--panel); border: 1px solid var(--line-2); border-radius: var(--radius); }
.fin-card__total { margin-top: 8px; display: inline-block; font-size: clamp(40px, 4vw, 52px); font-weight: 700; line-height: 1.05; letter-spacing: -0.02em; }
.bars { margin-top: 28px; display: flex; flex-direction: column; gap: 18px; }
.bar__label { display: flex; justify-content: space-between; gap: 16px; font-size: 15px; }
.bar__label span:last-child { color: var(--text-3); font-variant-numeric: tabular-nums; }
.bar__track { margin-top: 8px; height: 10px; overflow: hidden; background: var(--line-2); border-radius: 999px; }
.bar__fill { display: block; height: 100%; background: var(--grad); border-radius: inherit; }
.fin-note { margin-top: 24px; max-width: 760px; font-size: 15px; color: var(--muted); }

/* ---------- Status ---------- */

.services { display: grid; gap: 16px; }
.service { padding: 22px 24px; background: var(--panel); border: 1px solid var(--line-2); border-radius: var(--radius); }
.service__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 8px 24px; }
.service__name { font-size: 18px; font-weight: 700; }
.service__detail { font-size: 14px; color: var(--muted); }
.service__status { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; color: var(--green); }
.service__status::before { content: ""; width: 8px; height: 8px; background: currentColor; transform: rotate(45deg); }
.service__status--progress { color: var(--amber); }
.uptime { margin-top: 16px; display: flex; gap: 2px; height: 30px; }
.uptime__day { flex: 1 1 0; min-width: 1px; border-radius: 2px; background: var(--green); opacity: 0.85; }
.uptime__day--degraded { background: var(--amber); opacity: 1; }
.uptime__day--maintenance { background: var(--teal); opacity: 1; }
.uptime--progress span { flex: 1; border-radius: 4px; background: repeating-linear-gradient(-45deg, rgba(245, 194, 107, 0.55) 0 8px, rgba(245, 194, 107, 0.2) 8px 16px); animation: uptime-progress 1.6s linear infinite; background-size: 200% 100%; }
@keyframes uptime-progress { to { background-position: -45px 0; } }
.service__foot { margin-top: 8px; display: flex; justify-content: space-between; gap: 12px; font-size: 12.5px; color: var(--muted); }
.incidents { margin-top: 32px; border-top: 1px solid var(--line-2); }
.incident { padding: 24px 0; border-bottom: 1px solid var(--line-2); }
.incident__meta { font-size: 13px; color: var(--muted); }
.incident__status--progress { font-weight: 700; color: var(--amber); }
.incident__status--done { font-weight: 700; color: var(--green); }
.incident__title { margin-top: 6px; font-size: 20px; font-weight: 700; line-height: 1.3; }
.incident__text { margin-top: 8px; max-width: 760px; font-size: 16px; color: var(--text-3); }
.incident__duration { margin-top: 8px; font-size: 13.5px; color: var(--muted); }
.incident__duration a, .incident__text a { color: var(--green); text-decoration: underline; text-underline-offset: 3px; }
.footer__status { color: inherit; }
.footer__status:hover { color: var(--green); }

/* ---------- Dead channel (an undocumented feature) ---------- */

.dead-channel { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center; background: #1A1A1A; opacity: 0; transition: opacity 0.4s ease; cursor: pointer; }
.dead-channel.is-on { opacity: 1; }
.dead-channel canvas { position: absolute; inset: 0; width: 100%; height: 100%; image-rendering: pixelated; }
.dead-channel__caption { position: relative; padding: 10px 18px; background: rgba(0, 0, 0, 0.72); font-family: var(--font-mono); font-size: clamp(15px, 2vw, 22px); letter-spacing: 0.08em; text-transform: uppercase; color: #E8E8E8; }

/* ---------- Beyond the Blackwall ---------- */

body.blackwall { background: #0A0204; color: #F4E9EC; }
.bw {
  position: relative; overflow: hidden;
  min-height: 100vh; display: flex; align-items: center;
  background: radial-gradient(1000px 640px at 50% 120%, rgba(255, 45, 85, 0.24), rgba(10, 2, 4, 0) 70%), #0A0204;
}
.bw::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 3px); }
.bw__inner { position: relative; width: 100%; max-width: 760px; margin: 0 auto; padding: 80px var(--gutter); font-family: var(--font-mono); }
.bw__line, .bw__title, .bw__body, .bw__return { opacity: 0; animation: bw-reveal 0.5s steps(6) forwards; animation-delay: var(--delay); }
.bw__line { font-size: 14px; color: #FF6B86; }
.bw__line a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.bw__title {
  margin-top: 36px;
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(48px, 8vw, 96px); line-height: 0.95; text-transform: uppercase;
  color: #F4E9EC; text-shadow: 2px 0 #FF2D55, -2px 0 #2BD67B;
}
.bw__title { animation: bw-reveal 0.5s steps(6) forwards, bw-glitch 7s steps(1) infinite; animation-delay: var(--delay), calc(var(--delay) + 2s); }
.bw__body p { margin-top: 18px; font-size: 16px; line-height: 1.75; color: #DCC7CD; }
.bw__signature { color: #FF6B86 !important; }
.bw__return a { display: inline-block; margin-top: 40px; padding: 12px 20px; border: 1px solid #FF2D55; color: #FF9AAD; transition: background-color 0.15s ease; }
.bw__return a:hover { background: rgba(255, 45, 85, 0.15); color: #FFFFFF; }
@keyframes bw-reveal { to { opacity: 1; } }
@keyframes bw-glitch {
  0%, 94%, 100% { transform: none; text-shadow: 2px 0 #FF2D55, -2px 0 #2BD67B; }
  95% { transform: translateX(-3px) skewX(-4deg); text-shadow: 4px 0 #FF2D55, -4px 0 #2BD67B; }
  97% { transform: translateX(2px); text-shadow: -3px 0 #FF2D55, 3px 0 #2BD67B; }
}
@media (prefers-reduced-motion: reduce) {
  .bw__line, .bw__title, .bw__body, .bw__return { opacity: 1; }
}

/* ---------- 404 ---------- */

.notfound .page-hero__title { max-width: 18ch; }
