/* 21CSL — Dark Brutalist / Bento Layout (180° from editorial cream template) */

:root {
  --bg: #0c0e12;
  --bg-raised: #141820;
  --bg-panel: #1a1f2b;
  --bg-hot: #ff3d5a;
  --bg-lime: #c8f135;
  --text: #edf0f5;
  --text-dim: #b4bcc9;
  --text-soft: #9aa5b5;
  --text-dark: #0c0e12;
  --text-on-hot: #1a1a18;
  --text-on-hot-muted: rgba(26, 26, 24, 0.78);
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.18);

  --font-display: "Arial Black", "Franklin Gothic Medium", "Segoe UI", system-ui, sans-serif;
  --font-body: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: "Cascadia Mono", "Consolas", monospace;

  --text-base: 1.0625rem;
  --text-sm: 0.9375rem;
  --leading-body: 1.7;
  --leading-tight: 1.25;

  --rail-w: 5.5rem;
  --dock-h: 4.25rem;
  --ease: 200ms cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: var(--leading-body);
  color: var(--text);
  background: var(--bg);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; height: auto; }

a {
  color: var(--bg-lime);
  text-underline-offset: 3px;
  transition: color var(--ease);
}

a:hover { color: #fff; }

:focus-visible {
  outline: 2px solid var(--bg-lime);
  outline-offset: 3px;
}

h1, h2, h3, h4 {
  font-family: var(--font-body);
  font-weight: 700;
  line-height: var(--leading-tight);
  letter-spacing: -0.015em;
  text-transform: none;
  margin: 0 0 0.75em;
  color: var(--text);
}

h1 { font-size: clamp(2.25rem, 6vw, 4.5rem); line-height: 1.08; }
h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); }
h3 { font-size: clamp(1.125rem, 2vw, 1.375rem); }

/* Display / marketing headings — uppercase only where intentional */
.splash-title,
.tape h1,
.zone-head h2,
.bento-tile h3,
.stat-block strong,
.btn-cta,
.btn-ghost {
  font-family: var(--font-display);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.02em;
}

.splash-title { line-height: 0.95; letter-spacing: -0.03em; }
.tape h1 { line-height: 1.05; }
.zone-head h2 { line-height: 1.05; margin: 0; }

p { margin: 0 0 1em; }

.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 9999;
  background: var(--bg-lime);
  color: var(--text-dark);
  padding: 0.5rem 1rem;
  font-weight: 700;
  text-decoration: none;
}

.skip-link:focus { top: 1rem; }

/* ─── LEFT RAIL (desktop) ─── */
.rail {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: var(--rail-w);
  z-index: 200;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1.25rem 0;
  background: var(--bg-raised);
  border-right: 1px solid var(--line);
}

.rail-logo {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.15em;
  color: #fff;
  text-transform: uppercase;
  margin-bottom: 2rem;
  padding: 0.5rem 0;
}

.rail-logo-accent { color: var(--bg-lime); }

.rail-nav {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  flex: 1;
  width: 100%;
  padding: 0 0.5rem;
}

.rail-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
  padding: 0.65rem 0.25rem;
  text-decoration: none;
  color: var(--text-dim);
  font-size: 0.55rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-radius: 0;
  transition: background var(--ease), color var(--ease);
}

.rail-link:hover,
.rail-link.is-active {
  color: var(--text-dark);
  background: var(--bg-lime);
}

.rail-num {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  opacity: 0.7;
}

.rail-foot {
  padding: 0 0.5rem;
  width: 100%;
}

.rail-foot .rail-link { font-size: 0.5rem; }

/* ─── VIEWPORT (offset by rail) ─── */
.viewport {
  margin-left: var(--rail-w);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.main-flow { flex: 1; }

/* ─── SPLASH HERO (fullscreen cinematic) ─── */
.splash {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  align-items: end;
  overflow: hidden;
}

.splash-media {
  position: absolute;
  inset: 0;
  margin: 0;
}

.splash-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.7) brightness(0.55);
}

.splash-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    175deg,
    transparent 20%,
    rgba(12, 14, 18, 0.85) 65%,
    var(--bg) 100%
  );
}

.splash-copy {
  position: relative;
  z-index: 2;
  padding: 2rem clamp(1.25rem, 5vw, 4rem) 4rem;
  max-width: 54rem;
}

.splash-chip {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-dark);
  background: var(--bg-hot);
  padding: 0.35rem 0.75rem;
  margin-bottom: 1.5rem;
  font-weight: 700;
}

.splash-title {
  margin-bottom: 1.25rem;
}

.splash-line {
  display: block;
}

.splash-line-accent {
  color: var(--bg-lime);
  -webkit-text-stroke: 0;
}

.splash-desc {
  font-size: clamp(1.0625rem, 2vw, 1.2rem);
  line-height: var(--leading-body);
  color: var(--text-dim);
  max-width: 32rem;
}

.splash-cta {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.splash-scroll {
  position: absolute;
  right: clamp(1rem, 4vw, 3rem);
  bottom: 2rem;
  writing-mode: vertical-rl;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-dim);
  z-index: 2;
}

/* ─── BUTTONS ─── */
.btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 1.75rem;
  background: var(--bg-lime);
  color: var(--text-dark);
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform var(--ease), background var(--ease);
}

.btn-cta:hover {
  background: #fff;
  color: var(--text-dark);
  transform: translateY(-2px);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  padding: 0.9rem 1.75rem;
  background: transparent;
  color: #fff;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  text-decoration: none;
  border: 2px solid var(--line-strong);
  transition: border-color var(--ease), color var(--ease);
}

.btn-ghost:hover {
  border-color: var(--bg-lime);
  color: var(--bg-lime);
}

/* ─── ZONES (sections) ─── */
.zone {
  padding: clamp(3rem, 8vw, 6rem) clamp(1.25rem, 5vw, 4rem);
  border-top: 1px solid var(--line);
}

.zone-head {
  display: flex;
  align-items: baseline;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.zone-index {
  font-family: var(--font-mono);
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 700;
  color: var(--bg-hot);
  line-height: 1;
  flex-shrink: 0;
}

.zone-head h2 { margin: 0; }

.zone-intro {
  font-size: 1.125rem;
  line-height: var(--leading-body);
  color: var(--text-dim);
  max-width: 40rem;
  margin-bottom: 2rem;
}

.zone--invert {
  background: var(--bg-lime);
  color: var(--text-dark);
  border-top-color: transparent;
}

.zone--invert h2,
.zone--invert h3 { color: var(--text-dark); }

.zone--invert p,
.zone--invert .zone-intro { color: rgba(12, 14, 18, 0.75); }

.zone--invert a { color: var(--text-dark); font-weight: 700; }

/* ─── BENTO GRID ─── */
.bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: minmax(200px, auto);
  gap: 3px;
  background: var(--line);
}

.bento-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
  background: var(--bg-panel);
  background-size: cover;
  background-position: center;
  text-decoration: none;
  color: #fff;
  overflow: hidden;
  min-height: 220px;
  transition: transform var(--ease), filter var(--ease);
}

.bento-tile:hover {
  filter: brightness(1.08);
}

.bento-tile--feature {
  grid-column: span 6;
  grid-row: span 2;
  min-height: 440px;
}

.bento-tile--top {
  grid-column: span 6;
  min-height: 218px;
}

.bento-tile--img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(12, 14, 18, 0.94) 0%,
    rgba(12, 14, 18, 0.45) 45%,
    rgba(12, 14, 18, 0.15) 100%
  );
  transition: background var(--ease);
}

.bento-tile--img:hover::after {
  background: linear-gradient(
    to top,
    rgba(12, 14, 18, 0.88) 0%,
    rgba(12, 14, 18, 0.35) 50%,
    rgba(12, 14, 18, 0.1) 100%
  );
}

.bento-tile--img > * { position: relative; z-index: 1; }

.bento-banner {
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-top: 3px;
  padding: 1.75rem 1.5rem;
  background: var(--bg-hot);
  color: var(--text-dark);
  text-decoration: none;
  min-height: 120px;
  transition: filter var(--ease);
}

.bento-banner:hover {
  filter: brightness(1.05);
  color: var(--text-dark);
}

.bento-banner h3 {
  color: var(--text-dark);
  font-size: 1.15rem;
  margin-bottom: 0.35rem;
}

.bento-banner p {
  color: rgba(12, 14, 18, 0.75);
  margin: 0;
  font-size: 0.95rem;
  max-width: 36rem;
}

.bento-banner-mark {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  opacity: 0.6;
  margin-bottom: 0.5rem;
}

.bento-banner-arrow {
  margin-top: 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
}

.bento-num {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--bg-lime);
  margin-bottom: auto;
  padding-bottom: 1rem;
}

.bento-tile h3 {
  margin-bottom: 0.35rem;
  font-size: 1.25rem;
}

.bento-tile p {
  font-size: 0.9rem;
  color: var(--text-dim);
  margin: 0;
  max-width: 28rem;
}

.bento-tile--img p { color: rgba(255, 255, 255, 0.7); }

.bento-arrow {
  margin-top: 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--bg-hot);
}

/* ─── STAT STRIP ─── */
.stat-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3px;
  background: var(--line);
  margin-top: 3px;
}

.stat-block {
  background: var(--bg-raised);
  padding: 1.5rem;
}

.stat-block strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--bg-lime);
  margin-bottom: 0.5rem;
}

.stat-block p {
  font-size: var(--text-base);
  line-height: var(--leading-body);
  color: var(--text-dim);
  margin: 0;
}

/* ─── HORIZONTAL SCROLL ─── */
.scroll-zone { overflow: hidden; }

.scroll-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin-bottom: 1.5rem;
  gap: 1rem;
}

.scroll-head a {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  text-decoration: none;
  white-space: nowrap;
}

.scroll-track {
  display: flex;
  gap: 3px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 0.5rem;
  scrollbar-width: thin;
  scrollbar-color: var(--bg-hot) var(--bg-raised);
}

.scroll-card {
  flex: 0 0 min(85vw, 340px);
  scroll-snap-align: start;
  background: var(--bg-panel);
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  transition: background var(--ease);
}

.scroll-card:hover { background: var(--bg-raised); }

.scroll-card img {
  aspect-ratio: 16/10;
  object-fit: cover;
  width: 100%;
  filter: saturate(0.8);
}

.scroll-card-body {
  padding: 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.scroll-tag {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--bg-hot);
  margin-bottom: 0.5rem;
}

.scroll-card h3 {
  font-size: 1.0625rem;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 0.5rem;
  color: var(--text);
}

.scroll-card p {
  font-size: var(--text-sm);
  line-height: var(--leading-body);
  color: var(--text-dim);
  margin: 0;
}

.scroll-date {
  margin-top: auto;
  padding-top: 1rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-dim);
}

/* ─── MANIFESTO BAND ─── */
.manifesto {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3px;
  background: var(--line);
}

.manifesto-img {
  margin: 0;
  min-height: 280px;
}

.manifesto-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.4) contrast(1.1);
}

.manifesto-text {
  background: var(--bg-hot);
  color: var(--text-dark);
  padding: clamp(1.5rem, 4vw, 3rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.manifesto-text h2 {
  color: var(--text-on-hot);
  font-family: var(--font-display);
  font-weight: 900;
  text-transform: uppercase;
  font-size: clamp(1.35rem, 2.5vw, 1.85rem);
  line-height: 1.1;
}

.manifesto-text p,
.manifesto-text li {
  color: var(--text-on-hot-muted);
  font-size: var(--text-base);
  line-height: var(--leading-body);
}

.manifesto-text a {
  color: var(--text-on-hot);
  font-weight: 700;
  text-decoration: underline;
}

.manifesto-text a:hover {
  color: #000;
}

.manifesto-text .section-note {
  color: var(--text-on-hot-muted);
  font-size: var(--text-sm);
  margin-bottom: 1.25rem;
  max-width: 40rem;
}

/* Readable content zone (dark bg, high contrast) */
.readable-zone {
  padding: clamp(2rem, 5vw, 3.5rem) clamp(1.25rem, 5vw, 4rem);
  background: var(--bg-raised);
  border-top: 1px solid var(--line);
}

.readable-zone h2 {
  font-size: 1.5rem;
  margin-top: 2.5rem;
  margin-bottom: 0.75rem;
  color: var(--text);
}

.readable-zone h2:first-child {
  margin-top: 0;
}

.section-note {
  font-size: var(--text-sm);
  line-height: var(--leading-body);
  color: var(--text-dim);
  margin-bottom: 1.25rem;
  max-width: 42rem;
}

.readable-zone ul {
  padding-left: 1.25rem;
  color: var(--text-dim);
  line-height: var(--leading-body);
}

.readable-zone li {
  margin-bottom: 0.65rem;
  font-size: var(--text-base);
}

.readable-zone li strong {
  color: var(--text);
}

.readable-inner {
  max-width: 52rem;
}

/* Full-width page image banner */
.page-visual {
  margin: 0;
  width: 100%;
  aspect-ratio: 21 / 8;
  min-height: 220px;
  max-height: min(48vh, 520px);
  overflow: hidden;
  background: var(--bg-panel);
  border-top: 1px solid var(--line);
  border-bottom: 3px solid var(--bg-lime);
}

.page-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}

@media (max-width: 768px) {
  .page-visual {
    aspect-ratio: 16 / 10;
    max-height: 280px;
  }
}

/* ─── INNER PAGE: TAPE HEADER ─── */
.tape {
  padding: clamp(2rem, 6vw, 4rem) clamp(1.25rem, 5vw, 4rem) 2rem;
  background: var(--bg-raised);
  border-bottom: 3px solid var(--bg-lime);
}

.tape-crumb {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-dim);
  margin-bottom: 1rem;
}

.tape-crumb a {
  color: var(--text-dim);
  text-decoration: none;
}

.tape-crumb a:hover { color: var(--bg-lime); }

.tape h1 { margin-bottom: 0.75rem; }

.tape-lead {
  font-size: 1.125rem;
  line-height: var(--leading-body);
  color: var(--text-dim);
  max-width: 42rem;
  margin: 0;
}

/* ─── ARTICLE / PROSE ─── */
.content-block {
  padding: clamp(2rem, 5vw, 4rem) clamp(1.25rem, 5vw, 4rem);
  max-width: 44rem;
}

.content-block--wide {
  max-width: none;
}

.content-block img {
  width: 100%;
  margin: 2rem 0;
  filter: saturate(0.85);
}

.caption {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-dim);
  margin-top: -1.5rem;
  margin-bottom: 2rem;
}

.content-block h2 {
  margin-top: 2.5rem;
  font-size: 1.5rem;
  color: var(--text);
}

.content-block h3 {
  margin-top: 2rem;
  font-size: 1.2rem;
  color: var(--text);
}

.content-block ul,
.content-block ol {
  padding-left: 1.25rem;
  color: var(--text-dim);
  line-height: var(--leading-body);
  font-size: var(--text-base);
}

.content-block li { margin-bottom: 0.5rem; }

.callout {
  margin: 2rem 0;
  padding: 1.5rem;
  background: var(--bg-panel);
  border-left: 4px solid var(--bg-hot);
  font-size: 1.0625rem;
  line-height: var(--leading-body);
  color: var(--text);
}

/* ─── TILE LIST (guides/articles index) ─── */
.tile-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 3px;
  background: var(--line);
}

.tile-item {
  background: var(--bg-panel);
  text-decoration: none;
  color: inherit;
  display: block;
  transition: background var(--ease);
}

.tile-item:hover { background: var(--bg-raised); }

.tile-item img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  filter: saturate(0.75);
}

.tile-item-body { padding: 1.25rem; }

.tile-tag {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--bg-hot);
}

.tile-item h3 {
  margin: 0.5rem 0;
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--text);
}

.tile-item p {
  font-size: var(--text-base);
  line-height: var(--leading-body);
  color: var(--text-dim);
  margin: 0;
}

/* ─── RESOURCE GRID ─── */
.resource-stack {
  display: flex;
  flex-direction: column;
  gap: 3px;
  background: var(--line);
}

.resource-row {
  display: grid;
  grid-template-columns: 5.5rem 1fr;
  gap: 1rem;
  background: var(--bg-panel);
  padding: 1.35rem 1.5rem;
  align-items: start;
}

.resource-type {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--bg-lime);
  padding-top: 0.25rem;
  font-weight: 600;
}

.resource-row h3 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.125rem;
  line-height: 1.35;
  text-transform: none;
  color: var(--text);
  margin: 0 0 0.5rem;
}

.resource-row p {
  font-size: var(--text-base);
  line-height: var(--leading-body);
  color: var(--text-dim);
  margin: 0;
}

.resource-row a {
  color: var(--bg-lime);
  font-weight: 600;
}

.resource-row a:hover {
  color: #fff;
}

/* ─── CONTACT ─── */
.split-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3px;
  background: var(--line);
}

.split-form > * {
  background: var(--bg-panel);
  padding: clamp(1.5rem, 4vw, 2.5rem);
}

.form-group { margin-bottom: 1.25rem; }

.form-group label {
  display: block;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.4rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.75rem 1rem;
  background: var(--bg-raised);
  border: 1px solid var(--line-strong);
  color: #fff;
  font-family: var(--font-body);
  font-size: 1rem;
}

.form-group textarea {
  min-height: 8rem;
  resize: vertical;
}

.form-note {
  font-size: 0.85rem;
  color: var(--text-dim);
}

.form-success {
  margin-top: 1rem;
  padding: 1rem;
  background: var(--bg-lime);
  color: var(--text-dark);
  font-weight: 600;
}

.contact-aside h2 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.contact-aside ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.contact-aside li {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.95rem;
  color: var(--text-dim);
}

/* ─── FAQ ─── */
.faq-stack {
  display: flex;
  flex-direction: column;
  gap: 3px;
  background: var(--line);
}

.faq-item { background: var(--bg-panel); }

.faq-q {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 1.25rem 1.5rem;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0;
  line-height: 1.45;
  color: var(--text);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.faq-q::after {
  content: "+";
  font-family: var(--font-mono);
  font-size: 1.25rem;
  color: var(--bg-hot);
  flex-shrink: 0;
}

.faq-q[aria-expanded="true"]::after { content: "−"; }

.faq-q[aria-expanded="true"] { background: var(--bg-raised); }

.faq-a {
  padding: 0 1.5rem 1.25rem;
  color: var(--text-dim);
  font-size: var(--text-base);
  line-height: var(--leading-body);
}

.faq-a[hidden] { display: none; }

/* ─── DOCK FOOTER ─── */
.dock-footer {
  border-top: 1px solid var(--line);
  padding: 1.25rem clamp(1.25rem, 5vw, 4rem);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-size: var(--text-sm);
  line-height: 1.5;
  color: var(--text-dim);
  background: var(--bg-raised);
}

.dock-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
}

.dock-links a {
  color: var(--text-dim);
  text-decoration: none;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.dock-links a:hover { color: var(--bg-lime); }

/* ─── MOBILE DOCK ─── */
.mobile-dock {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 200;
  height: var(--dock-h);
  background: var(--bg-raised);
  border-top: 1px solid var(--line);
  grid-template-columns: repeat(5, 1fr);
}

.mobile-dock a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.15rem;
  text-decoration: none;
  color: var(--text-dim);
  font-size: 0.55rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.mobile-dock a.is-active {
  color: var(--bg-lime);
  background: rgba(200, 241, 53, 0.08);
}

.mobile-dock-icon {
  font-family: var(--font-mono);
  font-size: 0.75rem;
}

/* ─── RESPONSIVE ─── */
@media (max-width: 900px) {
  .rail { display: none; }

  .viewport {
    margin-left: 0;
    padding-bottom: var(--dock-h);
  }

  .mobile-dock { display: grid; }

  .bento-tile--feature,
  .bento-tile--top {
    grid-column: span 12;
    grid-row: span 1;
    min-height: 260px;
  }

  .bento-tile--feature { min-height: 300px; }

  .stat-strip { grid-template-columns: 1fr; }

  .manifesto { grid-template-columns: 1fr; }

  .split-form { grid-template-columns: 1fr; }

  .resource-row { grid-template-columns: 1fr; gap: 0.25rem; }
}

@media (max-width: 375px) {
  .splash-cta { flex-direction: column; }
  .btn-cta, .btn-ghost { width: 100%; justify-content: center; }
}
