/* Airtime.news design system. Source of truth: Claude Design handoff (Podcasts in Africa).
   Mobile-first: base styles target 375px; enhancements at 560/900/1200px. */

/* ---------- Tokens ---------- */
:root {
  --page: #0A0A0C;
  --surface: #0D0E11;
  --raised: #101218;
  --line: #262932;
  --hair: #1B1D24;
  --text: #EDEFF4;
  --body: #9AA1B2;
  --muted: #7E8496;   /* AA: 5.3:1 on --bg. was #6E7488 at 4.25:1, failed small-text 4.5:1 */
  --gold: #CC9E00;        /* constant: gold surfaces */
  --gold-ink: #0B0C0E;    /* constant: ink on gold */
  --gold-bright: #EFC117; /* constant: gold surface hover */
  --gold-text: #CC9E00;   /* themed: gold as text */
  --gold-hover: #EFC117;
  --violet: #9B7BFF;
  --tile-a: #171921;
  --tile-b: #1D2029;
  --eq-dim: #3A3E4C;
  --cream: #FFF7DB;
  --danger: #FF9A88;
  color-scheme: dark;
}
:root[data-theme="light"] {
  --page: #F4F1E8;
  --surface: #FBFAF5;
  --raised: #FFFFFF;
  --line: #DAD5C6;
  --hair: #E8E4D7;
  --text: #15171C;
  --body: #4E5462;
  --muted: #63687A;   /* AA: 4.9:1 on light --bg. was #6E7280 at 4.24:1 */
  --gold-text: #8F6E00;
  --gold-hover: #A88200;
  --violet: #6A46E0;
  --tile-a: #EAE6D9;
  --tile-b: #E0DBCB;
  --eq-dim: #C9C3B2;
  --danger: #B3261E;
  color-scheme: light;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
body {
  margin: 0;
  font-family: "Archivo", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  background: var(--surface);
  color: var(--text);
}
a { color: inherit; text-decoration: none; }
a:hover { color: var(--gold-hover); }
img { max-width: 100%; }
input::placeholder { color: var(--muted); }
::selection { background: var(--gold); color: var(--gold-ink); }
:focus-visible { outline: 2px solid var(--gold-text); outline-offset: 2px; border-radius: 2px; }

h1, h2, h3 { text-wrap: balance; }
.mono { font-family: "Space Mono", monospace; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--gold); color: var(--gold-ink);
  padding: 10px 16px; font: 700 12px "Space Mono", monospace;
}
.skip-link:focus { left: 0; color: var(--gold-ink); }

.container { max-width: 1440px; margin: 0 auto; padding-left: clamp(20px, 4vw, 56px); padding-right: clamp(20px, 4vw, 56px); }
.container-mid { max-width: 1280px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }

@keyframes tick { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
@keyframes eq { 0%, 100% { transform: scaleY(.3); } 50% { transform: scaleY(1); } }

/* ---------- Kickers, labels ---------- */
.kicker { display: inline-block; font: 700 10.5px "Space Mono", monospace; letter-spacing: .18em; color: var(--body); }
.kicker--gold { color: var(--gold-text); }
.kicker--violet { color: var(--violet); }
.section-label { font: 700 11px "Space Mono", monospace; letter-spacing: .2em; color: var(--body); }
.timestamp { font: 10.5px "Space Mono", monospace; color: var(--muted); letter-spacing: .08em; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font: 800 12px "Archivo", sans-serif; font-stretch: 110%;
  background: var(--gold); color: var(--gold-ink);
  padding: 10px 16px; border: 0; border-radius: 3px;
  letter-spacing: .04em; cursor: pointer;
  transition: transform .15s cubic-bezier(.22,1,.36,1), background .15s cubic-bezier(.22,1,.36,1);
}
.btn:hover { background: var(--gold-bright); color: var(--gold-ink); transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn--lg { font-size: 14px; padding: 15px 22px; }
.btn-ink {
  display: inline-flex; align-items: center;
  font: 800 13px "Archivo", sans-serif; font-stretch: 110%;
  background: var(--gold-ink); color: #F2C230;
  padding: 13px 18px; border: 0; border-radius: 3px; letter-spacing: .04em; cursor: pointer;
}
.btn-ink:hover { color: #FFD34D; }
.btn-ghost {
  display: inline-block; font: 700 11px "Space Mono", monospace;
  color: var(--text); background: transparent;
  border: 1px solid var(--line); padding: 11px 15px; border-radius: 3px;
  letter-spacing: .08em; cursor: pointer;
  transition: border-color .15s cubic-bezier(.22,1,.36,1), color .15s cubic-bezier(.22,1,.36,1);
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-text); }

/* ---------- Header ---------- */
.utility-bar {
  display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap;
  padding: 9px clamp(20px, 4vw, 56px);
  border-bottom: 1px solid var(--line);
}
.utility-bar .mono { font-size: 10.5px; color: var(--body); letter-spacing: .08em; }
.utility-right { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.utility-langs { display: none; }
.theme-toggle {
  cursor: pointer; font: 700 11px "Space Mono", monospace; letter-spacing: .08em;
  color: var(--body); background: transparent;
  border: 1px solid var(--line); padding: 7px 11px; border-radius: 3px;
  display: inline-flex; align-items: center; gap: 6px; line-height: 1;
}
.theme-toggle:hover { color: var(--gold-text); border-color: var(--gold); }

.masthead {
  position: sticky; top: 0; z-index: 50;
  display: flex; justify-content: space-between; align-items: center; gap: 10px 16px; flex-wrap: wrap;
  padding: 12px clamp(20px, 4vw, 56px);
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}
.brand { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.brand:hover { color: var(--text); }
.brand-word {
  font-family: "Archivo", sans-serif; font-weight: 900; font-stretch: 125%;
  font-size: clamp(28px, 3.4vw, 40px); line-height: 1; letter-spacing: -0.02em; color: var(--text);
}
.brand-dot { color: var(--gold-text); }
.brand-tag { display: none; font-size: 10.5px; color: var(--body); letter-spacing: .16em; }

.site-nav {
  order: 3; flex: 1 0 100%;
  display: flex; gap: 18px; align-items: center;
  overflow-x: auto; -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-top: 10px; margin-top: 2px;
  border-top: 1px solid var(--hair);
}
.site-nav::-webkit-scrollbar { display: none; }
.site-nav a {
  font: 700 11.5px "Space Mono", monospace; color: var(--body); letter-spacing: .06em;
  white-space: nowrap; padding: 2px 0;
}
.site-nav a:hover { color: var(--gold-hover); }
.site-nav a.is-active { color: var(--gold-text); }
.btn-subscribe { white-space: nowrap; }

.on-air { display: flex; align-items: stretch; border-bottom: 1px solid var(--line); background: var(--raised); }
.on-air-label {
  flex: none; display: flex; align-items: center;
  font: 700 10.5px "Space Mono", monospace; letter-spacing: .1em;
  background: var(--gold); color: var(--gold-ink); padding: 0 14px;
}
.ticker { overflow: hidden; flex: 1; min-width: 0; height: 34px; display: flex; align-items: center; }
.ticker-track {
  display: flex; width: max-content;
  font: 11px "Space Mono", monospace; letter-spacing: .06em; color: var(--body);
  animation: tick 32s linear infinite;
}
.ticker-track span { white-space: nowrap; padding-right: 48px; }
.ticker-track span::after { content: "//"; color: var(--muted); padding-left: 48px; }
.ticker:hover .ticker-track { animation-play-state: paused; }

/* ---------- Language badges ---------- */
.lang-badge {
  font: 700 10px "Space Mono", monospace; color: var(--muted);
  border: 1px solid var(--line); padding: 3px 8px; border-radius: 3px; letter-spacing: .02em;
}
.lang-badge--on { background: var(--gold); color: var(--gold-ink); border-color: var(--gold); }
.lang-row { display: flex; gap: 6px; margin-top: 14px; flex-wrap: wrap; }

/* ---------- Home: lead story ---------- */
.lead { display: flex; flex-wrap: wrap; gap: clamp(28px, 4vw, 56px); padding-top: clamp(28px, 4vw, 52px); padding-bottom: clamp(28px, 4vw, 52px); border-bottom: 1px solid var(--line); }
.lead-main { flex: 1 1 480px; min-width: 0; }
.lead-title {
  display: block; margin: 14px 0 0;
  font-family: "Archivo", sans-serif; font-weight: 900; font-stretch: 118%;
  font-size: clamp(34px, 4.2vw, 64px); line-height: 1.02; letter-spacing: -0.028em;
  color: var(--text); text-wrap: balance;
}
a.lead-title:hover { color: var(--gold-hover); }
.lead-standfirst { font: clamp(15.5px, 1.3vw, 18px)/1.55 "Archivo", sans-serif; color: var(--body); margin-top: 18px; max-width: 640px; }
.lead-media { flex: 1 1 380px; min-width: 0; max-width: 560px; }
.lead-img { display: block; width: 100%; height: clamp(240px, 24vw, 360px); border: 1px solid var(--line); overflow: hidden; background: var(--tile-a); }
.lead-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.caption { font: 10.5px "Space Mono", monospace; color: var(--muted); margin-top: 8px; letter-spacing: .04em; }

.eq { display: flex; align-items: flex-end; gap: 4px; height: 44px; margin-top: 26px; }
.eq span { width: 5px; height: 100%; border-radius: 2px; transform-origin: bottom; background: var(--eq-dim); animation: eq 1.05s ease-in-out infinite; }
.eq span:nth-child(1) { background: var(--gold); animation-duration: 1.1s; }
.eq span:nth-child(2) { background: var(--gold); animation-duration: .9s; animation-delay: .15s; }
.eq span:nth-child(3) { background: var(--gold); animation-duration: 1.3s; animation-delay: .3s; }
.eq span:nth-child(4) { background: var(--gold); animation-duration: 1s; animation-delay: .45s; }
.eq span:nth-child(5) { background: var(--violet); animation-duration: 1.2s; animation-delay: .2s; }
.eq span:nth-child(6) { background: var(--violet); animation-duration: .95s; animation-delay: .35s; }
.eq span:nth-child(7) { animation-duration: 1.05s; animation-delay: .5s; }
.eq span:nth-child(8) { animation-duration: 1.25s; animation-delay: .1s; }
.eq--sm { height: 36px; margin-top: 0; }

.mini-story { display: block; border-top: 1px solid var(--line); margin-top: 18px; padding-top: 16px; }
.mini-story-title { display: block; font: 800 19px/1.25 "Archivo", sans-serif; margin-top: 8px; color: var(--text); }
.mini-story .timestamp { display: block; margin-top: 8px; color: var(--body); }

/* ---------- Stat strip ---------- */
.stat-strip { border-bottom: 1px solid var(--line); background: var(--raised); }
.stat-strip-inner { padding-top: 18px; padding-bottom: 18px; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 18px; }
.stat { display: flex; align-items: baseline; gap: 10px; }
.stat-num { font-family: "Archivo", sans-serif; font-weight: 900; font-stretch: 114%; font-size: 26px; color: var(--gold-text); }
.stat-label { font: 700 10px "Space Mono", monospace; color: var(--muted); letter-spacing: .1em; }

/* ---------- Story cards ---------- */
/* Lead story: image leads on mobile, sits beside the copy from 900px.
   Generated from the newest article, so it can never go stale. */
/* Two columns that end together. The picture used to be a short 16:9 beside a
   four-line headline, which left ~230px of dead space under it. A 3:2 crop
   plus the credit line brings the columns within a few pixels of each other. */
.lead { align-items: flex-start; }
.lead-media { flex: 1 1 460px; min-width: 0; max-width: 640px; margin: 0; }
.lead-media-link { display: block; border: 1px solid var(--line); overflow: hidden; background: var(--tile-a); }
.lead-media-link img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; display: block; transition: transform .5s cubic-bezier(.16,1,.3,1); }
.lead-media:hover img { transform: scale(1.015); }
.lead-copy { flex: 1 1 400px; min-width: 0; }
.lead-h1 { margin: 12px 0 0; }
.lead-stamp { margin-top: 16px; }
.lead-copy .eq { margin-top: 18px; }
@media (prefers-reduced-motion: reduce) { .lead-media-link img { transition: none; } .lead-media:hover img { transform: none; } }

/* Two visual cards under the lead: the next two stories, with their heroes. */
.feat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: clamp(16px, 2vw, 26px); padding-top: 18px; padding-bottom: clamp(24px, 3vw, 40px); }
.feat-card { display: block; }
.feat-media { display: block; border: 1px solid var(--line); overflow: hidden; background: var(--tile-a); margin-bottom: 12px; }
.feat-media img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; transition: transform .35s ease; }
.feat-card:hover .feat-media img { transform: scale(1.02); }
.feat-card:hover .feat-title { color: var(--gold-text); }
.feat-title { display: block; font: 800 clamp(18px, 1.5vw, 21px)/1.25 "Archivo", sans-serif; color: var(--text); margin-top: 8px; text-wrap: balance; }
.feat-card .timestamp { display: block; margin-top: 10px; color: var(--body); }

/* Archive page */
.arch-head { padding-top: 14px; padding-bottom: 6px; }
.arch-title { font: 900 clamp(32px, 5vw, 52px)/1.05 "Archivo", sans-serif; margin: 0; letter-spacing: -.02em; }
.arch-sub { font: clamp(15px, 1.2vw, 17px)/1.55 "Archivo", sans-serif; color: var(--body); margin-top: 12px; max-width: 640px; }
.arch-year { font: 700 11px "Space Mono", monospace; color: var(--muted); letter-spacing: .16em; padding: 22px 0 6px; border-bottom: 1px solid var(--line); }

/* Newsletter prompt at the end of every article */
.article-signup { border: 1px solid var(--line); border-top: 2px solid var(--gold); background: var(--raised); padding: clamp(20px, 3vw, 30px); margin-top: clamp(30px, 4vw, 46px); }
.article-signup-title { font: 900 clamp(20px, 2vw, 26px)/1.2 "Archivo", sans-serif; margin: 0; text-wrap: balance; }
.article-signup-sub { font: 14.5px/1.55 "Archivo", sans-serif; color: var(--body); margin: 10px 0 16px; max-width: 520px; }
.article-signup .wave-form { display: flex; gap: 10px; flex-wrap: wrap; }
.article-signup .wave-form input { flex: 1 1 240px; }

.section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; flex-wrap: wrap; padding-top: clamp(24px, 3vw, 40px); }
.section-link { font: 700 11px "Space Mono", monospace; color: var(--gold-text); letter-spacing: .08em; }
.story-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 16px; padding-top: 16px; padding-bottom: clamp(24px, 3vw, 40px); }
.story-card {
  display: block; border: 1px solid var(--line); background: var(--raised); padding: 22px;
  transition: transform .15s cubic-bezier(.22,1,.36,1), border-color .15s cubic-bezier(.22,1,.36,1);
}
.story-card:hover { transform: translateY(-3px); border-color: var(--gold); color: inherit; }
.story-card-title { font: 800 20px/1.25 "Archivo", sans-serif; margin-top: 10px; color: var(--text); }
.story-card .timestamp { display: block; margin-top: 12px; color: var(--body); }

/* ---------- Newsletter band ---------- */
.wave-band { background: var(--gold); color: var(--gold-ink); }
.wave-band-inner { padding-top: clamp(26px, 3vw, 38px); padding-bottom: clamp(26px, 3vw, 38px); display: flex; flex-wrap: wrap; gap: 28px; align-items: center; }
.wave-copy { flex: 1 1 380px; }
.wave-title { margin: 0; font-family: "Archivo", sans-serif; font-weight: 900; font-stretch: 114%; font-size: clamp(22px, 2.6vw, 32px); line-height: 1.08; letter-spacing: -0.01em; }
.wave-sub { font: 14px/1.5 "Archivo", sans-serif; margin-top: 8px; opacity: .78; }
.wave-side { flex: 1 1 320px; max-width: 520px; }
.wave-form { display: flex; gap: 8px; }
.wave-form input {
  flex: 1; min-width: 0; font: 13px "Space Mono", monospace;
  padding: 13px 14px; border: 2px solid var(--gold-ink); background: var(--cream); color: var(--gold-ink);
  outline: none; border-radius: 3px;
}
.wave-form input::placeholder { color: #5A5442; }
.wave-note { font: 10.5px "Space Mono", monospace; margin-top: 8px; opacity: .7; letter-spacing: .04em; }
.wave-band .form-msg { color: var(--gold-ink); }

/* ---------- Latest list ---------- */
.latest-wrap { display: flex; flex-wrap: wrap; gap: clamp(28px, 4vw, 56px); padding-top: clamp(26px, 3vw, 44px); padding-bottom: clamp(26px, 3vw, 44px); }
.latest-main { flex: 1.7 1 520px; min-width: 0; }
.list-head { border-bottom: 1px solid var(--line); padding-bottom: 10px; }
.latest-item {
  display: grid; grid-template-columns: 1fr 44px; gap: 4px 14px; align-items: baseline;
  padding: 16px 0; border-bottom: 1px solid var(--hair);
}
.latest-tag { font: 700 10px "Space Mono", monospace; letter-spacing: .12em; }
.latest-title { font: 700 clamp(16px, 1.3vw, 18px)/1.35 "Archivo", sans-serif; color: var(--text); grid-column: 1 / -1; }
.latest-when { font: 10px "Space Mono", monospace; color: var(--muted); text-align: right; grid-row: 1; grid-column: 2; }
.latest-more { margin-top: 20px; }

.rail { flex: 1 1 300px; min-width: 0; max-width: 460px; display: flex; flex-direction: column; gap: 20px; }
.rail-card { border: 1px solid var(--line); background: var(--raised); padding: 22px; }
.rail-card--gold { border-color: var(--gold); }
.rail-row { display: flex; gap: 12px; align-items: baseline; padding: 13px 0; border-bottom: 1px solid var(--hair); }
.rail-row:last-of-type { border-bottom: 0; }
.rail-num { font: 700 12px "Space Mono", monospace; color: var(--muted); }
.rail-row-title { font: 700 14.5px "Archivo", sans-serif; }
.rail-cta { margin-top: 8px; }
.rail-note { font: 13.5px/1.55 "Archivo", sans-serif; color: var(--body); margin-top: 10px; }

/* ---------- Chips ---------- */
.chip-row { display: flex; gap: 8px; flex-wrap: wrap; }
.chip {
  font: 700 11px "Space Mono", monospace; letter-spacing: .08em;
  padding: 8px 12px; border-radius: 3px; border: 1px solid var(--line);
  color: var(--body); background: transparent; cursor: pointer;
  transition: border-color .15s cubic-bezier(.22,1,.36,1), color .15s cubic-bezier(.22,1,.36,1);
}
.chip:hover { border-color: var(--gold); color: var(--gold-text); }
.chip[aria-pressed="true"] { background: var(--gold); color: var(--gold-ink); border-color: var(--gold); }
.dir-search { width: 100%; max-width: 520px; margin-top: 20px; background: var(--surface); border: 1px solid var(--line); color: var(--text); font: 14px "Archivo", sans-serif; padding: 12px 14px; border-radius: 3px; }
.dir-search::placeholder { color: var(--muted); }
.dir-search:focus { outline: none; border-color: var(--gold); }
.chip--genre { font-size: 10px; padding: 6px 10px; }
.chip--genre[aria-pressed="true"] { background: transparent; color: var(--gold-text); border-color: var(--gold-text); }
.dir-empty { color: var(--body); font: 14.5px/1.5 "Archivo", sans-serif; padding: 24px 0; }
.show-card[hidden] { display: none; }
.chip--archive[aria-pressed="true"] { background: var(--violet); color: var(--gold-ink); border-color: var(--violet); }
.show-card--archived { opacity: .82; }
.show-archived { display: inline-block; margin-top: 5px; font: 700 9px "Space Mono", monospace; letter-spacing: .12em; color: var(--muted); border: 1px solid var(--line); border-radius: 2px; padding: 1px 5px; }
.tag-chip {
  font: 700 10.5px "Space Mono", monospace; color: var(--body);
  border: 1px solid var(--line); padding: 6px 10px; border-radius: 3px; letter-spacing: .08em;
}
.tag-chip:hover { border-color: var(--gold-text); color: var(--gold-text); }

/* ---------- Page hero (sections) ---------- */
.page-hero { border-bottom: 1px solid var(--line); }
.page-hero-inner { padding-top: 38px; padding-bottom: 38px; }
.page-title {
  margin: 10px 0 0; font-family: "Archivo", sans-serif; font-weight: 900; font-stretch: 114%;
  font-size: clamp(32px, 5vw, 56px); line-height: 1.02; letter-spacing: -0.025em; text-wrap: pretty;
}
.page-title--stretch { font-stretch: 125%; font-size: clamp(38px, 6vw, 64px); line-height: 1; }
.page-sub { font: 16px/1.55 "Archivo", sans-serif; color: var(--body); margin-top: 12px; max-width: 600px; }
.page-hero .chip-row { margin-top: 22px; }

/* ---------- Directory ---------- */
.featured-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 16px; margin-top: 14px; }
.featured-card { border: 1px solid var(--line); background: var(--raised); padding: 20px; display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.featured-thumb { width: 96px; height: 96px; flex: none; border: 1px solid var(--line); overflow: hidden; background: var(--tile-a); }
.featured-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.featured-body { min-width: 200px; flex: 1; }
.featured-title { font: 800 18px/1.25 "Archivo", sans-serif; }
.featured-meta { font: 10.5px "Space Mono", monospace; color: var(--muted); letter-spacing: .06em; margin-top: 5px; }
.featured-desc { font: 13px/1.5 "Archivo", sans-serif; color: var(--body); margin-top: 8px; }
.featured-link { display: inline-block; font: 700 11px "Space Mono", monospace; color: var(--gold-text); margin-top: 8px; letter-spacing: .08em; }

.show-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 16px; margin-top: 14px; }
.show-card {
  border: 1px solid var(--line); background: var(--raised); padding: 18px;
  display: flex; gap: 14px; align-items: center;
  transition: border-color .15s cubic-bezier(.22,1,.36,1);
}
.show-card:hover { border-color: var(--gold); }
.show-thumb { width: 54px; height: 54px; flex: none; border: 1px solid var(--line); overflow: hidden; background: var(--tile-a); }
.show-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
/* Last-resort placeholder only (used when no cover art was found): off-white
   tile with the gold monogram, so a listing without a cover still reads as
   deliberate rather than broken. */
.show-init {
  width: 54px; height: 54px; flex: none; background: #F4F1E8; border: 1px solid var(--line);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
}
.show-init b { font: 800 15px "Archivo", sans-serif; color: #B8860B; letter-spacing: .02em; }
.show-init i { display: none; }
.show-body { min-width: 0; }
.show-name { font: 800 15.5px/1.25 "Archivo", sans-serif; color: var(--text); }
.show-meta { font: 10.5px "Space Mono", monospace; color: var(--muted); letter-spacing: .06em; margin-top: 5px; }

.cta-banner {
  border: 1px solid var(--gold); background: var(--raised); padding: 24px; margin-top: 26px;
  display: flex; justify-content: space-between; align-items: center; gap: 18px; flex-wrap: wrap;
}
.cta-banner-title { font-family: "Archivo", sans-serif; font-weight: 900; font-stretch: 114%; font-size: 20px; }
.cta-banner-sub { font: 13.5px/1.5 "Archivo", sans-serif; color: var(--body); margin-top: 6px; }

/* ---------- Article ---------- */
.article-head { max-width: 760px; margin: 0 auto; padding: 40px 24px 0; }
.article-title {
  margin: 14px 0 0; font-family: "Archivo", sans-serif; font-weight: 900; font-stretch: 114%;
  font-size: clamp(29px, 5vw, 50px); line-height: 1.04; letter-spacing: -0.025em; text-wrap: pretty;
}
.article-standfirst { font: 18px/1.55 "Archivo", sans-serif; color: var(--body); margin-top: 16px; }
.article-meta {
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  padding: 12px 0; margin-top: 22px;
}
.article-byline { font: 700 10.5px "Space Mono", monospace; color: var(--text); letter-spacing: .1em; }
.article-hero { max-width: 900px; margin: 0 auto; padding: 28px 24px 0; }
.article-hero-img { width: 100%; height: clamp(220px, 40vw, 420px); border: 1px solid var(--line); overflow: hidden; background: var(--tile-a); }
.article-hero-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.article-body { max-width: 760px; margin: 0 auto; padding: 30px 24px 0; }
.brief-box { border: 1px solid var(--gold); background: var(--raised); padding: 20px 22px; }
.brief-box-text { font: 15px/1.7 "Archivo", sans-serif; color: var(--text); margin-top: 10px; }
.prose p { font: 17.5px/1.7 "Archivo", sans-serif; color: var(--body); margin: 20px 0 0; }
.prose p:first-child { margin-top: 28px; }
.prose a { color: var(--gold-text); }
.pullquote { border-left: 3px solid var(--gold); padding: 6px 0 6px 24px; margin: 30px 0; }
.pullquote p {
  margin: 0; font-family: "Archivo", sans-serif; font-weight: 900; font-stretch: 114%;
  font-size: clamp(22px, 3vw, 28px); line-height: 1.2; letter-spacing: -0.01em; color: var(--text);
}
.article-wave { background: var(--gold); color: var(--gold-ink); padding: 24px; margin: 34px 0; }
.article-wave-title { font-family: "Archivo", sans-serif; font-weight: 900; font-stretch: 114%; font-size: 20px; line-height: 1.15; }
.article-wave .wave-form { margin-top: 14px; }
.article-tags { display: flex; gap: 8px; flex-wrap: wrap; padding: 0 0 34px; border-bottom: 1px solid var(--line); margin-top: 30px; }
.read-next { max-width: 1280px; margin: 0 auto; padding: 30px 24px 40px; }
.read-next-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 20px; margin-top: 16px; }

/* ---------- Learn ---------- */
.split { display: grid; grid-template-columns: 1fr; gap: 36px; padding-top: 30px; padding-bottom: 30px; }
.course-item {
  display: grid; grid-template-columns: 52px 1fr auto; gap: 16px; align-items: baseline;
  padding: 19px 0; border-bottom: 1px solid var(--hair);
}
.course-num { font: 700 20px "Space Mono", monospace; color: var(--gold-text); }
.course-title { display: block; font: 800 19px/1.3 "Archivo", sans-serif; color: var(--text); }
.course-desc { display: block; font: 13.5px/1.5 "Archivo", sans-serif; color: var(--body); margin-top: 4px; }
.course-len { font: 10px "Space Mono", monospace; color: var(--muted); }
.checklist { font: 13px/2 "Archivo", sans-serif; color: var(--text); margin-top: 10px; }
.side-stack { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
@media (min-width: 900px) {
  .split { grid-template-columns: minmax(0, 1fr) minmax(320px, 380px); gap: clamp(36px, 4vw, 64px); align-items: start; }
  .side-stack { position: sticky; top: 88px; }
}
.latest-item:hover .latest-title { color: var(--gold-text); }

/* ---------- Gear ---------- */
.build-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 20px; padding-top: 30px; }
.build-card { border: 1px solid var(--line); background: var(--raised); padding: 26px; display: flex; flex-direction: column; }
.build-card--featured { border-color: var(--gold); }
.build-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.build-price { font-family: "Archivo", sans-serif; font-weight: 900; font-stretch: 114%; font-size: 30px; }
.build-tagline { font: 13.5px/1.55 "Archivo", sans-serif; color: var(--body); margin-top: 8px; }
.build-list { font: 13px/2.1 "Archivo", sans-serif; color: var(--text); border-top: 1px solid var(--hair); margin-top: 14px; padding-top: 12px; }
.build-link { font: 700 11px "Space Mono", monospace; color: var(--gold-text); letter-spacing: .08em; margin-top: auto; padding-top: 16px; }
.build-link--violet { color: var(--violet); }
.pick-item {
  display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; align-items: baseline;
  padding: 15px 0; border-bottom: 1px solid var(--hair);
}
.pick-name { display: block; font: 800 16.5px/1.3 "Archivo", sans-serif; color: var(--text); }
.pick-why { display: block; font: 12.5px/1.5 "Archivo", sans-serif; color: var(--body); margin-top: 3px; }
.pick-best { font: 700 10.5px "Space Mono", monospace; color: var(--gold-text); letter-spacing: .08em; }
.pick-price { font: 700 15px "Space Mono", monospace; color: var(--text); }

/* ---------- Subscribe ---------- */
.subscribe-split { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); max-width: 1280px; margin: 0 auto; width: 100%; }
.subscribe-main { padding: clamp(32px, 5vw, 64px) 24px; display: flex; flex-direction: column; justify-content: center; }
.subscribe-rail { padding: clamp(32px, 5vw, 64px) 24px; display: flex; flex-direction: column; justify-content: center; gap: 14px; }
@media (min-width: 900px) { .subscribe-rail { border-left: 1px solid var(--line); } }
.subscribe-title {
  margin: 22px 0 0; font-family: "Archivo", sans-serif; font-weight: 900; font-stretch: 114%;
  font-size: clamp(32px, 4.5vw, 54px); line-height: 1.02; letter-spacing: -0.025em; text-wrap: pretty;
}
.subscribe-sub { font: 17px/1.6 "Archivo", sans-serif; color: var(--body); margin-top: 16px; max-width: 520px; }
.subscribe-form { display: flex; gap: 8px; margin-top: 28px; max-width: 480px; }
.subscribe-form input {
  flex: 1; min-width: 0; font: 14px "Space Mono", monospace;
  padding: 15px 16px; border: 1px solid var(--line); background: var(--raised); color: var(--text);
  outline: none; border-radius: 3px;
}
.subscribe-form input:focus { border-color: var(--gold-text); }
.subscribe-note { font: 10.5px "Space Mono", monospace; color: var(--muted); margin-top: 10px; letter-spacing: .06em; }
.subscribe-done { border: 1px solid var(--gold); background: var(--raised); padding: 22px; margin-top: 28px; max-width: 480px; }
.subscribe-done-title { font: 800 19px/1.3 "Archivo", sans-serif; margin-top: 8px; }
.subscribe-done-text { font: 13.5px/1.55 "Archivo", sans-serif; color: var(--body); margin-top: 8px; }
.subscribe-done-text a { color: var(--gold-text); }
.subscribe-foot { font: 12px "Archivo", sans-serif; color: var(--muted); margin-top: 26px; }
.issue-list { font: 13px/1.8 "Archivo", sans-serif; color: var(--body); margin-top: 10px; }

/* ---------- Coming soon (ideation pages) ---------- */
.coming-hero { border-bottom: 1px solid var(--line); }
.coming-hero-inner { max-width: 880px; margin: 0 auto; padding: clamp(48px, 9vw, 110px) 24px clamp(40px, 7vw, 90px); }
.coming-kicker { display: inline-flex; align-items: center; gap: 10px; }
.coming-kicker .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); animation: eq 1.4s ease-in-out infinite; transform-origin: center; }
.coming-title {
  margin: 18px 0 0; font-family: "Archivo", sans-serif; font-weight: 900; font-stretch: 114%;
  font-size: clamp(34px, 6vw, 64px); line-height: 1.02; letter-spacing: -0.028em; text-wrap: pretty;
}
.coming-sub { font: clamp(15.5px, 1.4vw, 18px)/1.6 "Archivo", sans-serif; color: var(--body); margin-top: 18px; max-width: 640px; }
.eq--xl { height: clamp(64px, 10vw, 96px); gap: 6px; margin-top: clamp(28px, 5vw, 44px); }
.eq--xl span { width: 8px; border-radius: 3px; }
.coming-form-wrap { margin-top: clamp(28px, 5vw, 40px); max-width: 480px; }
.coming-rows { max-width: 880px; margin: 0 auto; padding: clamp(28px, 4vw, 48px) 24px; }
.coming-row { display: grid; grid-template-columns: 52px 1fr; gap: 16px; align-items: baseline; padding: 18px 0; border-bottom: 1px solid var(--hair); }
.coming-row:last-of-type { border-bottom: 0; }
.coming-row-num { font: 700 18px "Space Mono", monospace; color: var(--gold-text); }
.coming-row-title { font: 800 18px/1.3 "Archivo", sans-serif; color: var(--text); }
.coming-row-desc { font: 14px/1.6 "Archivo", sans-serif; color: var(--body); margin-top: 4px; }
.coming-note { max-width: 880px; margin: 0 auto; padding: 0 24px clamp(40px, 6vw, 64px); }
.coming-note p { font: 13.5px/1.7 "Archivo", sans-serif; color: var(--muted); border-top: 1px solid var(--line); padding-top: 18px; margin: 0; max-width: 640px; }

/* ---------- Forms ---------- */
.form-msg { display: none; font: 700 11px "Space Mono", monospace; letter-spacing: .06em; margin-top: 8px; }
.form-msg[data-state="error"] { display: block; color: var(--danger); }
.form-msg[data-state="ok"] { display: block; color: var(--gold-text); }
.field { margin-top: 16px; }
.field label { display: block; font: 700 10.5px "Space Mono", monospace; letter-spacing: .14em; color: var(--body); margin-bottom: 6px; }
.field input, .field textarea {
  width: 100%; font: 14px "Space Mono", monospace;
  padding: 13px 14px; border: 1px solid var(--line); background: var(--raised); color: var(--text);
  outline: none; border-radius: 3px;
}
.field input:focus, .field textarea:focus { border-color: var(--gold-text); }
.field textarea { min-height: 140px; resize: vertical; font-family: "Archivo", sans-serif; line-height: 1.6; }

/* ---------- About / policy ---------- */
.policy { max-width: 760px; margin: 0 auto; padding: 10px 24px 40px; }
.policy h2 { font-family: "Archivo", sans-serif; font-weight: 900; font-stretch: 114%; font-size: 24px; letter-spacing: -0.01em; margin: 40px 0 0; }
.policy p, .policy li { font: 16px/1.7 "Archivo", sans-serif; color: var(--body); }
.policy p { margin: 14px 0 0; }
.policy ul { margin: 14px 0 0; padding-left: 22px; }
.policy a { color: var(--gold-text); }

/* ---------- Privacy notice ---------- */
.privacy-notice {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap;
  padding: 14px clamp(16px, 4vw, 32px);
  background: var(--raised); border-top: 1px solid var(--gold);
  box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.35);
}
.privacy-notice[hidden] { display: none; }
.privacy-notice-text { margin: 0; font-size: 10.5px; letter-spacing: .06em; color: var(--body); max-width: 720px; line-height: 1.7; }
.privacy-notice-text a { color: var(--gold-text); }
.privacy-notice-actions { display: flex; gap: 10px; flex: none; align-items: center; }
.privacy-notice-btn { font-size: 11px; padding: 9px 14px; flex: none; }
.privacy-notice-btn--accept { background: var(--gold); color: var(--gold-ink); border-color: var(--gold); }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); background: var(--raised); }
.footer-grid {
  padding-top: clamp(28px, 3vw, 44px); padding-bottom: clamp(28px, 3vw, 44px);
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 28px;
}
.footer-brand { font-family: "Archivo", sans-serif; font-weight: 900; font-stretch: 125%; font-size: 26px; letter-spacing: -0.02em; }
.footer-blurb { font: 13px/1.55 "Archivo", sans-serif; color: var(--body); margin: 8px 0 0; max-width: 260px; }
.footer-head { font: 700 10.5px "Space Mono", monospace; color: var(--muted); letter-spacing: .2em; }
.footer-links { display: flex; flex-direction: column; gap: 9px; margin-top: 12px; }
.footer-links a { font: 700 12px "Space Mono", monospace; color: var(--body); letter-spacing: .06em; }
.footer-links a:hover { color: var(--gold-hover); }
.site-footer .btn { margin-top: 12px; }
.footer-bar { border-top: 1px solid var(--line); }
.footer-bar-inner { padding-top: 14px; padding-bottom: 14px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.footer-bar-inner span { font-size: 10.5px; color: var(--muted); letter-spacing: .08em; }

/* ---------- Wider screens ---------- */
@media (min-width: 560px) {
  .brand-tag { display: inline; }
  .utility-langs { display: inline; }
  .latest-item { grid-template-columns: 96px 1fr 44px; gap: 14px; }
  .latest-title { grid-column: 2; grid-row: 1; }
  .latest-when { grid-column: 3; }
  .pick-item { grid-template-columns: 1fr auto auto; }
}
@media (min-width: 1080px) {
  .site-nav {
    order: 0; flex: 0 1 auto;
    margin-left: auto; padding-top: 0; margin-top: 0; border-top: 0;
    overflow: visible;
  }
  .masthead { padding-top: 14px; padding-bottom: 14px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  .ticker { overflow-x: auto; }
  .eq span { transform: scaleY(.65); }
}
