/* Sterawatt theme */
:root {
  --canvas:        #f0faf4;
  --surface:       #ffffff;
  --ink:           #0f2318;
  --ink-muted:     #4b6858;
  --border:        #d1fae5;
  --primary:       #16a34a;
  --primary-light: #dcfce7;
  --primary-dark:  #15803d;
  --amber:         #d97706;
  --font-sans:     system-ui, -apple-system, sans-serif;
  --font-mono:     monospace;
}
/*
 * base.css — canonical source (xcode)
 *
 * Structural styles for all vjs projects. All colours and fonts reference
 * CSS custom properties defined in theme.css — never hardcode values here.
 *
 * COPY INSTRUCTIONS
 * -----------------
 * Copy to public/css/base.css in each project.
 * Link in HTML *before* theme.css:
 *   <link rel="stylesheet" href="/css/base.css">
 *   <link rel="stylesheet" href="/css/theme.css">
 *
 * When improving, bring the change back here first, then re-copy to projects.
 */

/* ── Reset ───────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: var(--font-sans);
  background: var(--canvas);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.5;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* ── Layout ──────────────────────────────────────────────────────────────── */
.wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}
@media (min-width: 640px)  { .wrap { padding: 0 1.5rem; } }
@media (min-width: 1024px) { .wrap { padding: 0 2rem; } }

/* ── Navbar ──────────────────────────────────────────────────────────────── */
.navbar {
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.2s;
}
.navbar.scrolled { box-shadow: 0 1px 12px rgba(0,0,0,0.1); }
#nav-sentinel    { height: 0; }
.nav-links a[aria-current="page"] { color: var(--ink); font-weight: 600; }
.navbar .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo-wordmark {
  font-family: var(--font-logo, var(--font-sans));
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.04em;
  color: var(--ink);
}
.nav-links {
  display: none;
  align-items: center;
  gap: 28px;
  list-style: none;
}
@media (min-width: 768px) { .nav-links { display: flex; } }
.nav-links a {
  font-size: 0.875rem;
  color: var(--ink-muted);
  transition: color 0.15s;
}
.nav-links a:hover { color: var(--ink); }

.nav-auth {
  display: none;
  align-items: center;
  gap: 12px;
}
@media (min-width: 768px) { .nav-auth { display: flex; } }
.nav-auth .btn-ghost {
  font-size: 0.875rem;
  color: var(--ink-muted);
  transition: color 0.15s;
}
.nav-auth .btn-ghost:hover { color: var(--ink); }

/* ── Buttons ─────────────────────────────────────────────────────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  background: var(--primary);
  color: #fff;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  transition: background 0.15s;
}
.btn-primary:hover { background: var(--primary-dark); }

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--border);
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.15s;
}
.btn-outline:hover { background: var(--primary-light); }

.btn-primary.lg, .btn-outline.lg { padding: 0.875rem 2rem; }

/* ── Mobile menu button + dropdown ───────────────────────────────────────── */
.menu-btn {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: stretch;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  position: relative;
  z-index: 60;
  -webkit-appearance: none;
  appearance: none;
}
@media (min-width: 768px) { .menu-btn { display: none; } }
.menu-btn span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transform-origin: center;
  transition: transform 0.25s ease, opacity 0.18s ease;
}
.menu-btn.open span:nth-child(1) { transform: translateY(7px)  rotate(45deg); }
.menu-btn.open span:nth-child(2) { opacity: 0; }
.menu-btn.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  display: none;
  position: absolute;
  top: 100%; right: 1rem;
  margin-top: 0.25rem;
  width: 220px;
  background: var(--ink);
  flex-direction: column;
  padding: 0.5rem;
  border-radius: 0.5rem;
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
  z-index: 49;
}
.mobile-nav.open { display: flex; }
@media (min-width: 768px) { .mobile-nav { display: none !important; } }
.mobile-nav a {
  font-size: 0.9375rem; font-weight: 500;
  color: rgba(255,255,255,0.85);
  padding: 0.5rem 0.75rem;
  border-radius: 0.375rem;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #fff;
  background: rgba(255,255,255,0.08);
}

.mobile-nav-overlay {
  display: none;
  position: fixed; inset: 0;
  background: transparent;
  cursor: pointer;
  z-index: 48;
}
.mobile-nav-overlay.open { display: block; }
@media (min-width: 768px) { .mobile-nav-overlay { display: none !important; } }

/* ── Hero ────────────────────────────────────────────────────────────────── */
.hero { padding: 6rem 0 4rem; }
@media (min-width: 1024px) { .hero { padding: 9rem 0 5rem; } }

.hero-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 1.5rem;
}
.hero h1 {
  font-size: clamp(2rem, 5vw, 3.75rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--ink);
  margin-bottom: 1.5rem;
  max-width: 720px;
}
.hero-sub {
  font-size: 1.125rem;
  color: var(--ink-muted);
  line-height: 1.7;
  max-width: 480px;
  margin-bottom: 2.5rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* ── Reel ────────────────────────────────────────────────────────────────── */
.reel-wrap { margin-top: 4rem; }
.reel-label {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 4px;
}
.reel-sub {
  font-size: 0.875rem;
  color: var(--ink-muted);
  margin-bottom: 1.25rem;
}
.reel-overflow { overflow: hidden; }

@keyframes reel-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.reel-track {
  display: flex;
  gap: 1rem;
  width: max-content;
  animation: reel-scroll 34s linear infinite;
}
.reel-track:hover { animation-play-state: paused; }

.reel-card {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 16px;
  flex-shrink: 0;
}
.reel-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.reel-icon svg { width: 16px; height: 16px; stroke: var(--primary); fill: none; stroke-width: 1.5; }
.reel-name  { font-size: 0.875rem; font-weight: 500; color: var(--ink);      white-space: nowrap; }
.reel-context { font-size: 0.75rem;  color: var(--ink-muted); white-space: nowrap; }

/* ── Section shared ──────────────────────────────────────────────────────── */
.section-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 0.75rem;
}
.section-heading {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--ink);
  margin-bottom: 1rem;
}
.section-sub {
  font-size: 0.9375rem;
  color: var(--ink-muted);
  line-height: 1.7;
}
.section-intro {
  max-width: 640px;
  margin: 0 auto 3rem;
  text-align: center;
}
.section-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── Steps ───────────────────────────────────────────────────────────────── */
.steps-section { padding: 3.5rem 0 5rem; background: var(--canvas); }

.steps-grid { display: grid; gap: 1rem; margin-bottom: 2.5rem; }
@media (min-width: 640px)  { .steps-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .steps-grid { grid-template-columns: repeat(4, 1fr); } }

.step-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.25rem;
}
.step-num {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  color: color-mix(in srgb, var(--primary) 40%, transparent);
  margin-bottom: 8px;
}
.step-title { font-size: 0.875rem; font-weight: 600; color: var(--ink);      margin-bottom: 6px; }
.step-body  { font-size: 0.75rem;  color: var(--ink-muted); line-height: 1.6; }

/* ── Publications ────────────────────────────────────────────────────────── */
.publications-section { padding: 3.5rem 0 5rem; }

.pub-grid { display: grid; gap: 1.5rem; }
@media (min-width: 640px) { .pub-grid { grid-template-columns: repeat(2, 1fr); } }

.pub-card {
  display: flex;
  gap: 1.25rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem;
  transition: border-color 0.15s;
}
.pub-card:hover { border-color: color-mix(in srgb, var(--primary) 40%, transparent); }
.pub-icon {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}
.pub-icon svg { width: 20px; height: 20px; stroke: var(--primary); fill: none; stroke-width: 1.5; }
.pub-strand {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--primary) 60%, transparent);
  margin-bottom: 4px;
}
.pub-title { font-size: 0.875rem; font-weight: 600; color: var(--ink);      margin-bottom: 8px; }
.pub-desc  { font-size: 0.875rem; color: var(--ink-muted); line-height: 1.6; }

/* ── CTA section ─────────────────────────────────────────────────────────── */
.cta-section { padding: 5rem 0 7rem; background: var(--ink); text-align: center; }
.cta-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 1.5rem;
}
.cta-section h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #fff;
  margin-bottom: 1rem;
  line-height: 1.2;
}
.cta-sub {
  font-size: 1rem;
  color: rgba(255,255,255,0.6);
  max-width: 440px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}
.cta-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.btn-primary-inv {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 2rem;
  font-size: 0.875rem;
  font-weight: 500;
  background: var(--primary);
  color: #fff;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  transition: background 0.15s;
}
.btn-primary-inv:hover { background: var(--primary-dark); }
.btn-ghost-inv {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 2rem;
  font-size: 0.875rem;
  font-weight: 500;
  background: rgba(255,255,255,0.1);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.15s;
}
.btn-ghost-inv:hover { background: rgba(255,255,255,0.2); }

/* ── Footer ──────────────────────────────────────────────────────────────── */
footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 3.5rem 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
}
@media (min-width: 768px)  { .footer-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 1.5fr repeat(5, 1fr); } }

.footer-brand-name {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--ink);
  display: block;
  margin-bottom: 12px;
}
.footer-brand-desc {
  font-size: 0.75rem;
  color: var(--ink-muted);
  line-height: 1.6;
  max-width: 220px;
}
.footer-col h3 {
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 1rem;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col a  { font-size: 0.875rem; color: var(--ink-muted); transition: color 0.15s; }
.footer-col a:hover { color: var(--ink); }

.footer-bottom {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 0.75rem;
  color: var(--ink-muted);
}
@media (min-width: 640px) {
  .footer-bottom { flex-direction: row; align-items: center; justify-content: space-between; }
}
.footer-bottom-links { display: flex; gap: 1rem; }
.footer-bottom-links a { color: var(--ink-muted); transition: color 0.15s; }
.footer-bottom-links a:hover { color: var(--ink); }
/* home.css — Sterawatt homepage section styles */

/* Muted span inside hero h1 */
.hero-muted { color: var(--ink-muted); }

/* Generic section container */
.st-section          { padding: 5rem 0 7rem; }
.st-section-canvas   { padding: 5rem 0 7rem; background: var(--canvas); border-top: 1px solid var(--border); }
.st-section-border   { border-top: 1px solid var(--border); }
.st-section-intro    { max-width: 672px; margin-bottom: 3rem; }

/* ── Energy sources grid ─────────────────────────────────────────────────── */
.energy-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}
@media (min-width: 640px)  { .energy-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .energy-grid { grid-template-columns: repeat(5, 1fr); } }

.energy-card {
  border-radius: 12px;
  padding: 1rem;
  border: 1px solid rgba(0,0,0,0.06);
}
.energy-card-name {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  display: block;
}
.energy-card-stat { font-size: 1.25rem; font-weight: 600; color: var(--ink); line-height: 1; margin-bottom: 0.25rem; }
.energy-card-note { font-size: 0.6875rem; color: var(--ink-muted); }

/* ── Debate section ──────────────────────────────────────────────────────── */
.debate-table {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
}
.debate-row {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1.25rem 1.5rem;
}
@media (min-width: 640px) { .debate-row { flex-direction: row; align-items: flex-start; gap: 2rem; } }
.debate-row:nth-child(odd)  { background: var(--surface); }
.debate-row:nth-child(even) { background: var(--canvas); }
.debate-label {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
  width: 7rem;
  flex-shrink: 0;
  padding-top: 2px;
}
.debate-text { font-size: 0.875rem; color: var(--ink-muted); line-height: 1.6; }

/* ── Position section (dark bg) ──────────────────────────────────────────── */
.position-section { padding: 5rem 0 7rem; background: var(--ink); }
.position-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 1.5rem;
}
.position-h2 {
  font-size: clamp(1.75rem, 4vw, 3rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: #fff;
  margin-bottom: 1.5rem;
}
.position-h2 span { color: rgba(255,255,255,0.4); }
.position-p {
  font-size: 1rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
  max-width: 560px;
  margin-bottom: 1.25rem;
}

/* ── Audience cards ──────────────────────────────────────────────────────── */
.audience-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 640px)  { .audience-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .audience-grid { grid-template-columns: repeat(4, 1fr); } }

.audience-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem;
}
.audience-icon  { color: var(--primary); margin-bottom: 1rem; }
.audience-title { font-size: 0.875rem; font-weight: 600; color: var(--ink); margin-bottom: 0.75rem; }
.audience-desc  { font-size: 0.875rem; color: var(--ink-muted); line-height: 1.6; }

/* ── Track section ───────────────────────────────────────────────────────── */
.track-group-label {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 0.75rem;
}
.track-chips { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-bottom: 2rem; }

.track-chip {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  min-width: 160px;
  text-decoration: none;
  transition: border-color 0.15s, background 0.15s;
}
.track-chip:hover {
  border-color: rgba(22,163,74,0.4);
  background: rgba(22,163,74,0.04);
}
.track-chip-top   { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.2rem; }
.track-chip-code  { font-family: var(--font-mono); font-size: 0.75rem; color: var(--primary); }
.track-chip-name  { font-size: 0.875rem; font-weight: 500; color: var(--ink); }
.track-chip-note  { font-size: 0.6875rem; color: var(--ink-muted); }

/* ── Interior page hero ───────────────────────────────────────────────────── */
.page-hero { padding: 3.5rem 0 3rem; border-bottom: 1px solid var(--border); }
.page-h1 {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--ink);
  margin-bottom: 1rem;
  max-width: 640px;
}
.page-sub {
  font-size: 1rem;
  color: var(--ink-muted);
  line-height: 1.7;
  max-width: 560px;
}
.page-body { padding: 3rem 0 6rem; }

/* ── Prose (about, methodology, legal pages) ──────────────────────────────── */
.prose { max-width: 720px; margin: 0 auto; }
.prose h2 { font-size: 1.125rem; font-weight: 600; color: var(--ink); margin: 2.5rem 0 0.75rem; }
.prose h2:first-child { margin-top: 0; }
.prose p { font-size: 0.9375rem; color: var(--ink-muted); line-height: 1.75; margin-bottom: 1rem; }
.prose ul { margin: 0 0 1rem 1.25rem; }
.prose li { font-size: 0.9375rem; color: var(--ink-muted); line-height: 1.75; margin-bottom: 0.35rem; }
.prose strong { color: var(--ink); font-weight: 600; }

/* ── Insights tabs + mosaic ───────────────────────────────────────────────── */
.insights-filters {
  display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; margin-bottom: 2.5rem;
}
.filter-btn {
  font-size: 0.75rem; font-weight: 600; padding: 0.375rem 1rem; border-radius: 999px;
  border: 1px solid var(--border); background: var(--surface); color: var(--ink-muted);
  cursor: pointer; transition: all 0.15s;
}
.filter-btn:hover { color: var(--ink); border-color: rgba(0,0,0,0.25); }
.filter-btn.active { background: var(--primary); border-color: var(--primary); color: #fff; }
.filter-count { opacity: 0.65; }
.filter-total { margin-left: auto; font-size: 0.72rem; color: var(--ink-muted); }

.insights-mosaic { columns: 1; gap: 1rem; }
@media (min-width: 640px)  { .insights-mosaic { columns: 2; } }
@media (min-width: 1024px) { .insights-mosaic { columns: 3; } }
.mosaic-item { break-inside: avoid; margin-bottom: 1rem; }

.insights-footer { text-align: center; font-size: 0.72rem; color: var(--ink-muted); padding: 2.5rem 0 1rem; }

.article-card {
  display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--border); border-radius: 12px;
  text-decoration: none; overflow: hidden;
  transition: box-shadow 0.2s, transform 0.2s;
}
.article-card:hover { box-shadow: 0 4px 20px rgba(0,0,0,0.08); transform: translateY(-2px); }
.article-thumb {
  width: 100%; height: 12rem; overflow: hidden; flex-shrink: 0;
  background: var(--canvas);
}
.article-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; display: block; }
.article-card:hover .article-thumb img { transform: scale(1.03); }
.article-card-body { display: flex; flex-direction: column; flex: 1; padding: 1.25rem; gap: 0.5rem; }
.article-card-top {
  display: flex; align-items: center; justify-content: space-between; margin-bottom: 0.25rem;
}
.article-cat-pill {
  font-size: 0.625rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em;
  padding: 0.2rem 0.625rem; border-radius: 999px; background: var(--primary-light); color: var(--primary);
}
.article-read-time { font-size: 0.6875rem; color: var(--ink-muted); }
.article-tag {
  font-family: var(--font-mono); font-size: 0.6rem; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--primary);
}
.article-title { font-size: 0.9375rem; font-weight: 600; color: var(--ink); line-height: 1.4; }
.article-excerpt { font-size: 0.8125rem; color: var(--ink-muted); line-height: 1.6; flex: 1; }
.article-meta {
  font-size: 0.72rem; color: var(--ink-muted); display: flex; gap: 0.75rem; align-items: center;
  margin-top: auto; padding-top: 0.75rem; border-top: 1px solid var(--border);
}
.article-meta-dot { width: 3px; height: 3px; border-radius: 50%; background: var(--border); }

/* ── 3-col feature grid (about page) ─────────────────────────────────────── */
.feature-grid {
  display: grid; gap: 1.25rem; margin: 2rem 0;
}
@media (min-width: 640px)  { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .feature-grid { grid-template-columns: repeat(3, 1fr); } }
.feature-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 1.5rem;
}
.feature-icon { color: var(--primary); margin-bottom: 0.875rem; }
.feature-title { font-size: 0.9375rem; font-weight: 600; color: var(--ink); margin-bottom: 0.5rem; }
.feature-body  { font-size: 0.8125rem; color: var(--ink-muted); line-height: 1.65; }

/* ── Marketing form (newsletter, contact) ─────────────────────────────────── */
.mkt-form-wrap { max-width: 540px; }
.mkt-form { display: flex; flex-direction: column; gap: 1.125rem; }
.mkt-field { display: flex; flex-direction: column; gap: 0.35rem; }
.mkt-label { font-size: 0.8125rem; font-weight: 500; color: var(--ink); }
.mkt-input, .mkt-textarea {
  width: 100%; border: 1px solid var(--border); border-radius: 8px;
  background: var(--canvas); padding: 0.625rem 0.875rem; font-size: 0.875rem;
  color: var(--ink); outline: none; font-family: inherit;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.mkt-input::placeholder, .mkt-textarea::placeholder { color: var(--ink-muted); opacity: 0.6; }
.mkt-input:focus, .mkt-textarea:focus {
  border-color: var(--primary); box-shadow: 0 0 0 3px rgba(22,163,74,0.08);
}
.mkt-textarea { resize: vertical; min-height: 130px; }

/* ── Source list (sources page) ───────────────────────────────────────────── */
.source-group { margin-bottom: 2.5rem; }
.source-group-label {
  font-family: var(--font-mono); font-size: 0.6rem; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--primary); margin-bottom: 0.875rem;
}
.source-list { display: flex; flex-direction: column; gap: 0.5rem; }
.source-item {
  background: var(--surface); border: 1px solid var(--border); border-radius: 8px;
  padding: 0.875rem 1.125rem; display: flex; justify-content: space-between;
  align-items: flex-start; gap: 1rem; flex-wrap: wrap;
}
.source-name { font-size: 0.875rem; font-weight: 600; color: var(--ink); }
.source-desc { font-size: 0.8125rem; color: var(--ink-muted); line-height: 1.55; }
.source-type {
  font-family: var(--font-mono); font-size: 0.6rem; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--ink-muted);
  border: 1px solid var(--border); border-radius: 4px; padding: 0.15rem 0.45rem;
  white-space: nowrap; flex-shrink: 0;
}

/* ── Two-col layout (contact page) ───────────────────────────────────────── */
.two-col { display: grid; gap: 3rem; }
@media (min-width: 768px) { .two-col { grid-template-columns: 1fr 1.6fr; } }
.contact-info { display: flex; flex-direction: column; gap: 1.25rem; }
.contact-item { display: flex; flex-direction: column; gap: 0.2rem; }
.contact-item-label { font-size: 0.72rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-muted); }
.contact-item-val   { font-size: 0.9rem; color: var(--ink); }

/* ── Narrow prose layout (about, why) ────────────────────────────────────── */
.page-body-full { padding: 5rem 0 7rem; }
.prose-narrow { max-width: 768px; margin: 0 auto; }
.prose-narrow .prose { max-width: 100%; }
.prose-section { margin-bottom: 4rem; }
.prose-box {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 12px; padding: 2rem; margin-bottom: 4rem;
}
.prose-box .section-eyebrow { margin-bottom: 1rem; }

/* ── Dimensions table (about page) ───────────────────────────────────────── */
.dimensions-table { border-radius: 12px; overflow: hidden; border: 1px solid var(--border); }
.dimension-row {
  display: flex; flex-direction: column; gap: 0.75rem; padding: 1.25rem 1.5rem;
}
@media (min-width: 640px) { .dimension-row { flex-direction: row; align-items: flex-start; gap: 2rem; } }
.dimension-row:nth-child(odd)  { background: var(--surface); }
.dimension-row:nth-child(even) { background: var(--canvas); }
.dimension-label {
  font-family: var(--font-mono); font-size: 0.625rem; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--primary); width: 8rem; flex-shrink: 0; padding-top: 2px;
}
.dimension-desc { font-size: 0.875rem; color: var(--ink-muted); line-height: 1.6; }

/* ── Signal cards (why page) ─────────────────────────────────────────────── */
.signal-cards { display: flex; flex-direction: column; gap: 1rem; }
.signal-card { border-radius: 12px; border: 1px solid; padding: 1.5rem; }
.signal-card-positive { background: rgba(22,163,74,0.05);  border-color: rgba(22,163,74,0.2); }
.signal-card-caution  { background: rgba(217,119,6,0.05);  border-color: rgba(217,119,6,0.2); }
.signal-card-watch    { background: rgba(220,38,38,0.05);  border-color: rgba(220,38,38,0.2); }
.signal-label {
  font-family: var(--font-mono); font-size: 0.625rem; letter-spacing: 0.12em;
  text-transform: uppercase; margin-bottom: 0.75rem;
}
.signal-label-positive { color: var(--primary); }
.signal-label-caution  { color: #d97706; }
.signal-label-watch    { color: var(--loss); }
.signal-list { list-style: none; display: flex; flex-direction: column; gap: 0.625rem; }
.signal-item { display: flex; align-items: flex-start; gap: 0.625rem; font-size: 0.875rem; color: var(--ink-muted); }
.signal-dot { width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0; margin-top: 0.4rem; }
.signal-dot-positive { background: var(--primary); }
.signal-dot-caution  { background: #d97706; }
.signal-dot-watch    { background: var(--loss); }

/* ── Coming soon page ─────────────────────────────────────────────────────── */
.coming-soon { padding: 7rem 0 9rem; }
.coming-soon-inner { max-width: 480px; margin: 0 auto; text-align: center; }
.coming-soon-icon {
  width: 56px; height: 56px; border-radius: 14px;
  background: rgba(22,163,74,0.1); display: flex;
  align-items: center; justify-content: center; margin: 0 auto 2rem;
}
.coming-soon-eyebrow {
  font-family: var(--font-mono); font-size: 0.625rem; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--primary); margin-bottom: 1rem;
}
.coming-soon-h1 {
  font-size: clamp(1.75rem, 4vw, 2.5rem); font-weight: 600;
  letter-spacing: -0.02em; line-height: 1.15; color: var(--ink); margin-bottom: 1rem;
}
.coming-soon-tagline {
  font-size: 1rem; font-weight: 500; color: var(--primary); margin-bottom: 1rem; line-height: 1.5;
}
.coming-soon-desc {
  font-size: 0.875rem; color: var(--ink-muted); line-height: 1.7; margin-bottom: 2.5rem;
}
