/* ===========================================================================
   TV THEORY — main.css
   Design direction: "the theory desk after dark."
   A cinematic ink base (the screen glow) carries an editorial reading column
   (the transcript). One warm broadcast-amber signal accent; a sparing
   theory-red "string" accent reserved for the confidence meter's debunked side
   and the corkboard connection motif. Editorial serif display, humanist sans
   for UI, a screen-tuned serif for long-form reading.

   No framework, no build step. Pure CSS custom properties.
   Fonts are SELF-HOSTED (GDPR + performance). Drop the .woff2 files into
   /public/assets/fonts and the @font-face blocks below pick them up; until
   then the system fallbacks render cleanly.
   =========================================================================== */

/* ---- Fonts (self-hosted; see prompt 05 for fetching the woff2 files) ---- */
@font-face {
  font-family: "Fraunces";
  src: url("/assets/fonts/fraunces-variable.woff2") format("woff2");
  font-weight: 300 900; font-display: swap; font-style: normal;
}
@font-face {
  font-family: "Newsreader";
  src: url("/assets/fonts/newsreader-variable.woff2") format("woff2");
  font-weight: 200 800; font-display: swap; font-style: normal;
}
@font-face {
  font-family: "Hanken Grotesk";
  src: url("/assets/fonts/hanken-variable.woff2") format("woff2");
  font-weight: 300 800; font-display: swap; font-style: normal;
}

/* ---- Metric-matched fallbacks (kill layout shift while the woff2 loads) ----
   Each maps to a system font already on the box, with ascent/descent/size
   overrides so the swap from fallback -> web font doesn't reflow text.
   font-display: swap + these = the "sized fallbacks" the brief asks for. */
@font-face {
  font-family: "Fraunces Fallback";
  src: local("Georgia"), local("Times New Roman");
  ascent-override: 96%; descent-override: 24%; line-gap-override: 0%; size-adjust: 104%;
}
@font-face {
  font-family: "Newsreader Fallback";
  src: local("Georgia"), local("Times New Roman");
  ascent-override: 92%; descent-override: 25%; line-gap-override: 0%; size-adjust: 103%;
}
@font-face {
  font-family: "Hanken Fallback";
  src: local("Arial"), local("Segoe UI");
  ascent-override: 97%; descent-override: 25%; line-gap-override: 0%; size-adjust: 99%;
}

/* ---- Design tokens ---- */
:root {
  /* Palette */
  --ink:        #0E1116;   /* base background — deep blue-black, not pure black */
  --ink-2:      #161B22;   /* raised surface (cards, header) */
  --ink-3:      #1F262F;   /* hover / borders on dark */
  --paper:      #F4F1E9;   /* editorial reading surface (article column) */
  --text:       #E8E4DA;   /* warm off-white on ink */
  --text-paper: #1A1714;   /* near-black on paper */
  --muted:      #8A93A0;   /* secondary text on ink */
  --muted-paper:#5C564E;
  --signal:     #E8B23A;   /* broadcast amber — the one bold accent */
  --signal-dim: #B8862099; /* amber, low-emphasis */
  --string:     #C8463C;   /* theory red-string — used sparingly */
  --line:       #2A323C;   /* hairline on ink */

  /* Type roles */
  --font-display: "Fraunces", "Fraunces Fallback", Georgia, "Times New Roman", serif;
  --font-read:    "Newsreader", "Newsreader Fallback", Georgia, serif;
  --font-ui:      "Hanken Grotesk", "Hanken Fallback", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Scale (fluid) */
  --step--1: clamp(0.83rem, 0.8rem + 0.15vw, 0.92rem);
  --step-0:  clamp(1rem, 0.96rem + 0.2vw, 1.12rem);
  --step-1:  clamp(1.25rem, 1.15rem + 0.5vw, 1.5rem);
  --step-2:  clamp(1.6rem, 1.4rem + 1vw, 2.1rem);
  --step-3:  clamp(2.1rem, 1.7rem + 2vw, 3.2rem);
  --step-4:  clamp(2.6rem, 2rem + 3.2vw, 4.4rem);

  /* Space + shape */
  --container: 72rem;
  --measure: 38rem;        /* ideal reading width */
  --radius: 10px;
  --radius-sm: 6px;
  --gap: clamp(1rem, 0.6rem + 1.5vw, 2rem);
}

/* ---- Reset-ish ---- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}
body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--font-ui);
  font-size: var(--step-0);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, picture { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-underline-offset: 0.18em; }
a:hover { color: var(--signal); }

.container { width: min(100% - 2.5rem, var(--container)); margin-inline: auto; }

/* Accessibility */
.skip-link {
  position: absolute; left: -9999px; top: 0; background: var(--signal);
  color: var(--ink); padding: 0.6rem 1rem; border-radius: 0 0 var(--radius-sm) 0; z-index: 100;
}
.skip-link:focus { left: 0; }
:focus-visible { outline: 2px solid var(--signal); outline-offset: 3px; }

/* ---- Header ---- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--ink) 86%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner { display: flex; align-items: center; justify-content: space-between; height: 4rem; }
.brand { display: inline-flex; align-items: center; gap: 0.6rem; text-decoration: none; font-family: var(--font-display); font-weight: 600; font-size: var(--step-1); letter-spacing: -0.01em; }
.brand__name { color: var(--text); }
.brand:hover .brand__name { color: var(--signal); }
/* The mark: a small "tuning" glyph — amber dot with a signal ring */
.brand__mark {
  width: 0.9rem; height: 0.9rem; border-radius: 50%;
  background: var(--signal);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--signal) 25%, transparent), 0 0 14px var(--signal-dim);
}
.nav { display: flex; align-items: center; gap: clamp(1rem, 3vw, 2rem); font-family: var(--font-ui); font-size: var(--step--1); }
.nav a { text-decoration: none; color: var(--muted); letter-spacing: 0.02em; text-transform: uppercase; }
.nav a:hover { color: var(--text); }

/* ---- Hero / eyebrow ---- */
.eyebrow {
  font-family: var(--font-ui); font-size: var(--step--1); letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--signal); margin: 0 0 0.75rem;
}
.hero { padding: clamp(3rem, 8vw, 6rem) 0 clamp(2rem, 5vw, 4rem); max-width: 52rem; }
.hero__title { font-family: var(--font-display); font-weight: 540; font-size: var(--step-4); line-height: 1.02; letter-spacing: -0.02em; margin: 0 0 1rem; }
.hero__lede { font-family: var(--font-read); font-size: var(--step-1); color: var(--muted); max-width: var(--measure); margin: 0; }

/* ---- Cards (theory listing) ---- */
.grid { display: grid; gap: var(--gap); grid-template-columns: repeat(auto-fill, minmax(17rem, 1fr)); }
.card {
  background: var(--ink-2); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; transition: transform 0.18s ease, border-color 0.18s ease;
}
.card:hover { transform: translateY(-3px); border-color: var(--ink-3); }
.card__media { aspect-ratio: 16 / 9; background: var(--ink-3); object-fit: cover; width: 100%; }
.card__body { padding: 1rem 1.1rem 1.2rem; }
.card__show { font-family: var(--font-ui); font-size: var(--step--1); letter-spacing: 0.08em; text-transform: uppercase; color: var(--signal); }
.card__title { font-family: var(--font-display); font-weight: 500; font-size: var(--step-1); line-height: 1.15; margin: 0.35rem 0 0.5rem; }
.card__title a { text-decoration: none; }
.card__excerpt { color: var(--muted); font-size: var(--step--1); margin: 0; }

/* ---- Article (the editorial reading column on paper) ---- */
.article { background: var(--paper); color: var(--text-paper); border-radius: var(--radius); margin: 2rem auto; padding: clamp(1.5rem, 5vw, 4rem); max-width: calc(var(--measure) + 8rem); }
.article__header { max-width: var(--measure); margin: 0 auto 2rem; }
.article__title { font-family: var(--font-display); font-weight: 560; font-size: var(--step-3); line-height: 1.06; letter-spacing: -0.015em; margin: 0.5rem 0 0.75rem; }
.article__meta { font-family: var(--font-ui); font-size: var(--step--1); color: var(--muted-paper); display: flex; gap: 1rem; flex-wrap: wrap; }
.article__body { font-family: var(--font-read); font-size: 1.18rem; line-height: 1.72; max-width: var(--measure); margin-inline: auto; }
.article__body > * { max-width: var(--measure); }
.article__body h2 { font-family: var(--font-display); font-weight: 560; font-size: var(--step-2); margin: 2.2rem 0 0.6rem; line-height: 1.15; }
.article__body h3 { font-family: var(--font-display); font-weight: 560; font-size: var(--step-1); margin: 1.6rem 0 0.5rem; }
.article__body p { margin: 0 0 1.1rem; }
.article__body a { color: #8a4b1e; text-decoration: underline; }
.article__body blockquote { border-left: 3px solid var(--string); margin: 1.4rem 0; padding: 0.2rem 0 0.2rem 1.2rem; font-style: italic; color: var(--muted-paper); }

.article__lede { font-family: var(--font-read); font-size: var(--step-1); color: var(--muted-paper); max-width: var(--measure); margin: 0 auto; }
.article__spoiler-flag { color: var(--string); text-transform: uppercase; letter-spacing: 0.08em; font-size: var(--step--1); }
.article__tags { max-width: var(--measure); margin: 2.5rem auto 0; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.article__tags .tag { font-family: var(--font-ui); font-size: var(--step--1); color: var(--muted-paper); text-decoration: none; border: 1px solid var(--muted-paper); border-radius: 999px; padding: 0.1rem 0.6rem; }
.article__tags .tag:hover { color: var(--text-paper); border-color: var(--text-paper); }

/* Draft preview banner (admin only — never shown to the public route) */
.preview-banner { background: var(--signal); color: var(--ink); text-align: center; padding: 0.6rem 1rem; font-family: var(--font-ui); font-size: var(--step--1); }
.preview-banner a { color: var(--ink); font-weight: 600; }

/* In-article spoiler gate (TV niche UX); the markdown spoiler span uses .spoiler */
.spoiler { background: var(--ink-3); color: var(--text); border-radius: var(--radius-sm); padding: 0.1rem 0.4rem; cursor: pointer; }
.spoiler[data-revealed="true"] { background: transparent; color: inherit; }
/* On the light paper column, keep the spoiler legible as a redaction bar. */
.article__body .spoiler { background: var(--text-paper); color: var(--text-paper); }
.article__body .spoiler[data-revealed="true"] { background: transparent; color: inherit; }

/* ---- Confidence meter (THE signature element) ----
   A broadcast "signal bar": amber fill = plausible, red = debunked. */
.confidence { background: var(--ink-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.25rem 1.4rem; margin: 2rem auto; max-width: calc(var(--measure) + 8rem); }
.confidence__label { font-family: var(--font-ui); font-size: var(--step--1); letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin: 0 0 0.75rem; }
.confidence__bar { display: flex; height: 0.9rem; border-radius: 999px; overflow: hidden; background: var(--ink-3); }
.confidence__bar > span { display: block; height: 100%; transition: width 0.4s ease; }
.confidence__plausible { background: linear-gradient(90deg, var(--signal), #f0c869); }
.confidence__debunked { background: linear-gradient(90deg, #9c352c, var(--string)); }
.confidence__stats { display: flex; justify-content: space-between; font-size: var(--step--1); color: var(--muted); margin-top: 0.6rem; }
.confidence__actions { display: flex; gap: 0.6rem; margin-top: 1rem; }
/* The chosen side lights up: amber for plausible, red-string for debunked. */
.confidence__actions .btn[data-verdict="plausible"][aria-pressed="true"] { background: var(--signal); color: var(--ink); border-color: var(--signal); }
.confidence__actions .btn[data-verdict="debunked"][aria-pressed="true"] { background: var(--string); color: var(--paper); border-color: var(--string); }
.confidence__feedback { font-family: var(--font-ui); font-size: var(--step--1); color: var(--muted); margin: 0.75rem 0 0; }
.confidence__feedback[hidden] { display: none; }

/* Compact confidence bar for the "trending by confidence" home rail. */
.confidence-mini { margin-top: 0.6rem; }
.confidence-mini__bar { display: flex; height: 0.4rem; border-radius: 999px; overflow: hidden; background: var(--ink-3); }
.confidence-mini__bar > span { display: block; height: 100%; }
.confidence-mini__bar .is-plausible { background: var(--signal); }
.confidence-mini__bar .is-debunked { background: var(--string); }
.confidence-mini__label { font-family: var(--font-ui); font-size: var(--step--1); color: var(--muted); margin: 0.35rem 0 0; }

/* ---- Buttons ---- */
.btn { font-family: var(--font-ui); font-weight: 600; font-size: var(--step--1); letter-spacing: 0.02em; display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.65rem 1.1rem; border-radius: 999px; border: 1px solid var(--line); background: var(--ink-2); color: var(--text); text-decoration: none; cursor: pointer; transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease; }
.btn:hover { border-color: var(--signal); color: var(--signal); }
.btn--primary { background: var(--signal); color: var(--ink); border-color: var(--signal); }
.btn--primary:hover { background: #f0c869; color: var(--ink); }

/* ---- Newsletter capture ---- */
.signup { background: var(--ink-2); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.25rem, 4vw, 2rem); margin: 2.5rem auto; max-width: calc(var(--measure) + 8rem); }
.signup__title { font-family: var(--font-display); font-size: var(--step-2); margin: 0 0 0.4rem; }
.signup__form { display: flex; gap: 0.6rem; flex-wrap: wrap; margin-top: 1rem; }
.signup__form input[type=email] { flex: 1 1 16rem; padding: 0.7rem 0.9rem; border-radius: 999px; border: 1px solid var(--line); background: var(--ink); color: var(--text); font-size: var(--step-0); }

/* ---- Affiliate disclosure ---- */
.disclosure { font-family: var(--font-ui); font-size: var(--step--1); color: var(--muted); border: 1px dashed var(--line); border-radius: var(--radius-sm); padding: 0.6rem 0.9rem; margin: 1.5rem auto; max-width: calc(var(--measure) + 8rem); }

/* ---- "Where to watch" affiliate block ---- */
.where-to-watch { background: var(--ink-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem 1.2rem; margin: 1.75rem auto; max-width: calc(var(--measure) + 8rem); }
.where-to-watch__title { font-family: var(--font-ui); font-size: var(--step--1); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin: 0 0 0.6rem; }
.where-to-watch__list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.where-to-watch__link { display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.5rem 0.9rem; border-radius: 999px; border: 1px solid var(--line); background: var(--ink); color: var(--text); text-decoration: none; font-family: var(--font-ui); font-size: var(--step--1); }
.where-to-watch__link:hover { border-color: var(--signal); color: var(--signal); }

/* ---- Ad slots (left visible-but-empty so placements are obvious to a buyer) -- */
.ad-slot { margin: 2rem auto; max-width: calc(var(--measure) + 8rem); min-height: 1px; }
.ad-slot:empty { display: none; }

/* ---- Footer ---- */
.site-footer { border-top: 1px solid var(--line); margin-top: 4rem; padding: 2.5rem 0; color: var(--muted); }
.site-footer__inner { display: grid; gap: 0.6rem; }
.site-footer__nav { display: flex; gap: 1.2rem; flex-wrap: wrap; font-size: var(--step--1); }
.site-footer__nav a { text-decoration: none; color: var(--muted); }
.site-footer__nav a:hover { color: var(--text); }
.site-footer__legal { font-size: var(--step--1); }

/* ---- Error page ---- */
.error-page { text-align: center; padding: clamp(4rem, 12vw, 9rem) 0; }
.error-page__code { font-family: var(--font-display); font-size: var(--step-4); color: var(--signal); margin: 0; }

/* ---- Cookie consent (cookieless Matomo means this is minimal) ---- */
.consent { position: fixed; inset: auto 1rem 1rem 1rem; max-width: 30rem; margin-inline: auto; background: var(--ink-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem 1.2rem; z-index: 80; box-shadow: 0 10px 40px rgba(0,0,0,0.5); }
.consent[hidden] { display: none; }
.consent__text { font-family: var(--font-ui); font-size: var(--step--1); color: var(--text); line-height: 1.5; margin: 0 0 0.8rem; }
.consent__text a { color: var(--signal); }
.consent__actions { display: flex; gap: 0.6rem; flex-wrap: wrap; }
.consent__actions .btn { font-size: var(--step--1); padding: 0.5rem 0.95rem; }

/* ---- Contact form ---- */
.contact-form { max-width: var(--measure); margin: 1.5rem 0 2.5rem; display: grid; gap: 1.1rem; }
.contact-form__row { display: grid; gap: 0.35rem; }
.contact-form label { font-family: var(--font-ui); font-size: var(--step--1); color: var(--muted); }
.contact-form__optional { color: var(--muted); opacity: 0.8; }
.contact-form input[type=text], .contact-form input[type=email], .contact-form textarea { width: 100%; padding: 0.7rem 0.9rem; border-radius: var(--radius); border: 1px solid var(--line); background: var(--ink-2); color: var(--text); font-size: var(--step-0); font-family: var(--font-ui); }
.contact-form textarea { resize: vertical; line-height: 1.6; }
.contact-form input:focus-visible, .contact-form textarea:focus-visible { outline: 2px solid var(--signal); outline-offset: 1px; border-color: var(--signal); }
.contact-form [aria-invalid="true"] { border-color: var(--string); }
.contact-form__error { font-family: var(--font-ui); font-size: var(--step--1); color: var(--string); }
.contact-form__note { font-family: var(--font-ui); font-size: var(--step--1); color: var(--muted); margin: 0; }
.contact-form__note a { color: var(--signal); }
.contact-notice { font-family: var(--font-ui); font-size: var(--step--1); margin: 1.2rem 0; }
.contact-notice.is-success { color: var(--signal); }
.contact-notice.is-error { color: var(--string); }

/* ===========================================================================
   Public front end — page-level layout (prompt 05). All built on the tokens
   above; no new colours or fonts. Mobile-first, keyboard-focusable, no-JS-safe.
   =========================================================================== */

/* ---- Breadcrumb ---- */
.breadcrumb { font-family: var(--font-ui); font-size: var(--step--1); color: var(--muted); margin: 1.5rem 0 0; display: flex; flex-wrap: wrap; gap: 0.4rem; align-items: center; }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--signal); }
.breadcrumb [aria-current="page"] { color: var(--text); }

/* ---- Index page heading ---- */
.page-head { padding: clamp(2rem, 6vw, 4rem) 0 1rem; max-width: 48rem; }
.page-head__title { font-family: var(--font-display); font-weight: 540; font-size: var(--step-3); line-height: 1.05; letter-spacing: -0.02em; margin: 0.5rem 0 0.75rem; }
.page-head__lede { font-family: var(--font-read); font-size: var(--step-1); color: var(--muted); margin: 0; }

/* ---- Sections ---- */
.section { margin: clamp(2.5rem, 6vw, 4rem) 0; }
.section__head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.25rem; }
.section__title { font-family: var(--font-display); font-weight: 540; font-size: var(--step-2); margin: 0; letter-spacing: -0.01em; }
.section__note { font-family: var(--font-ui); font-size: var(--step--1); color: var(--muted); margin: 0; }
.section__link { font-family: var(--font-ui); font-size: var(--step--1); color: var(--signal); text-decoration: none; white-space: nowrap; }
.section__link:hover { text-decoration: underline; }

/* ---- Hero (featured theory) ---- */
.hero--featured .hero__title { margin-bottom: 0.75rem; }
.hero--featured .hero__title a { text-decoration: none; }
.hero--featured .hero__title a:hover { color: var(--signal); }
.hero__meta { font-family: var(--font-ui); font-size: var(--step--1); color: var(--muted); display: flex; gap: 1rem; flex-wrap: wrap; align-items: center; margin: 1rem 0 1.5rem; }
.hero__show { color: var(--signal); text-decoration: none; letter-spacing: 0.06em; text-transform: uppercase; }
.hero--featured { padding-bottom: clamp(1.5rem, 4vw, 3rem); }

/* ---- Horizontal rail (trending) ---- */
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(15rem, 18rem); gap: var(--gap); overflow-x: auto; padding-bottom: 0.75rem; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.rail__item { scroll-snap-align: start; }
.rail .card { height: 100%; }

/* ---- Card extras ---- */
.card__media-link { display: block; }
.card__meta { display: flex; gap: 0.8rem; align-items: center; font-family: var(--font-ui); font-size: var(--step--1); color: var(--muted); margin: 0.6rem 0 0; }
.card__spoiler { color: var(--string); text-transform: uppercase; letter-spacing: 0.06em; }

/* ---- Show cards (index + home) ---- */
.grid--shows { grid-template-columns: repeat(auto-fill, minmax(13rem, 1fr)); }
.show-card { display: flex; flex-direction: column; gap: 0.3rem; background: var(--ink-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem 1.1rem 1.2rem; text-decoration: none; transition: transform 0.18s ease, border-color 0.18s ease; }
.show-card:hover { transform: translateY(-3px); border-color: var(--ink-3); }
.show-card__poster { aspect-ratio: 16 / 9; width: 100%; object-fit: cover; border-radius: var(--radius-sm); background: var(--ink-3); margin-bottom: 0.6rem; }
.show-card__name { font-family: var(--font-display); font-weight: 540; font-size: var(--step-1); color: var(--text); line-height: 1.15; }
.show-card:hover .show-card__name { color: var(--signal); }
.show-card__tagline { font-family: var(--font-read); font-size: var(--step--1); color: var(--muted); }
.show-card__count { font-family: var(--font-ui); font-size: var(--step--1); letter-spacing: 0.04em; text-transform: uppercase; color: var(--signal); margin-top: 0.3rem; }

/* ---- Show hub header ---- */
.show-hub { display: grid; gap: var(--gap); margin: 1rem 0 0; }
@media (min-width: 44rem) { .show-hub { grid-template-columns: 18rem 1fr; align-items: start; } }
.show-hub__poster { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius); border: 1px solid var(--line); background: var(--ink-3); }
.show-hub__title { font-family: var(--font-display); font-weight: 540; font-size: var(--step-3); line-height: 1.05; letter-spacing: -0.02em; margin: 0.25rem 0 0.5rem; }
.show-hub__tagline { font-family: var(--font-read); font-size: var(--step-1); color: var(--muted); margin: 0 0 0.75rem; }
.show-hub__meta { display: flex; gap: 1rem; flex-wrap: wrap; font-family: var(--font-ui); font-size: var(--step--1); color: var(--muted); margin: 0 0 1rem; }
.show-hub__meta span:not(:last-child)::after { content: "·"; margin-left: 1rem; color: var(--line); }
.show-hub__description { max-width: var(--measure); margin: 0; }

/* ---- Confidence meter extras (placeholder vote buttons) ---- */
.confidence__actions { border: 0; padding: 0; margin: 1rem 0 0; }

/* ---- Newsletter extras ---- */
.signup__lede { color: var(--muted); font-size: var(--step--1); margin: 0; max-width: var(--measure); }
.signup__label { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
/* Honeypot: kept in the DOM for bots, removed from view + a11y tree + tab order. */
.signup__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
/* Signup result message (no-JS bounce-back + JS inline feedback). */
.signup__notice { font-family: var(--font-ui); font-size: var(--step--1); margin: 0.9rem 0 0; }
.signup__notice.is-success { color: var(--signal); }
.signup__notice.is-error { color: var(--string); }

/* ---- Newsletter thank-you page ---- */
.signup-thanks { max-width: var(--measure); margin: clamp(3rem, 9vw, 6rem) auto; text-align: center; }
.signup-thanks__kicker { font-family: var(--font-ui); font-size: var(--step--1); letter-spacing: 0.1em; text-transform: uppercase; color: var(--signal); margin: 0 0 0.5rem; }
.signup-thanks__title { font-family: var(--font-display); font-weight: 540; font-size: var(--step-3); line-height: 1.05; letter-spacing: -0.02em; margin: 0 0 1rem; }
.signup-thanks__lede { font-family: var(--font-read); font-size: var(--step-1); color: var(--muted); margin: 0 0 1.75rem; }

/* ---- Search ---- */
.search-form { display: flex; gap: 0.6rem; flex-wrap: wrap; margin-top: 1.25rem; }
.search-form__label { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.search-form input[type=search] { flex: 1 1 18rem; padding: 0.7rem 0.9rem; border-radius: 999px; border: 1px solid var(--line); background: var(--ink-2); color: var(--text); font-size: var(--step-0); font-family: var(--font-ui); }
.search-summary { font-family: var(--font-ui); color: var(--muted); margin: 0 0 1.5rem; }

/* ---- Pagination ---- */
.pagination { display: flex; align-items: center; justify-content: center; gap: 1rem; flex-wrap: wrap; margin: clamp(2rem, 5vw, 3rem) 0 0; font-family: var(--font-ui); font-size: var(--step--1); }
.pagination__step { text-decoration: none; color: var(--text); border: 1px solid var(--line); border-radius: 999px; padding: 0.45rem 0.9rem; }
.pagination__step:hover { border-color: var(--signal); color: var(--signal); }
.pagination__step--off { color: var(--muted); opacity: 0.5; }
.pagination__pages { display: flex; gap: 0.4rem; align-items: center; list-style: none; margin: 0; padding: 0; }
.pagination__num { display: inline-flex; min-width: 2rem; justify-content: center; padding: 0.35rem 0.5rem; border-radius: var(--radius-sm); text-decoration: none; color: var(--muted); }
.pagination__num:hover { color: var(--signal); }
.pagination__num--current { color: var(--ink); background: var(--signal); font-weight: 600; }
.pagination__gap { color: var(--muted); }

/* ---- Empty states ---- */
.empty { color: var(--muted); font-family: var(--font-read); font-size: var(--step-1); padding: 2rem 0; }
