/* ============================================================
   The Canadian Bitcoiners Podcast — canadianbitcoiners.com
   ============================================================ */

:root {
  --bg: #0a0c10;
  --bg-elev: #10131a;
  --card: #141821;
  --card-border: rgba(255, 255, 255, 0.08);
  --red: #b90127;
  --red-bright: #e8253f;
  --red-text: #f0455c; /* AA-contrast red for small text on --card (4.83:1) */
  --btc: #f7931a;
  --text: #f4f6f9;
  --muted: #9aa3b2;
  --font-display: "Oswald", "Arial Narrow", system-ui, sans-serif;
  --font-body: "IBM Plex Sans", system-ui, -apple-system, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, monospace;
  --radius: 16px;
  --header-h: 72px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); background: #0a0c10; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

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

.container {
  width: min(1160px, 100% - 48px);
  margin-inline: auto;
}

/* ---------- Typography ---------- */

h1, h2, h3 { font-family: var(--font-display); line-height: 1.1; letter-spacing: 0.005em; }

h1 { font-size: clamp(2.6rem, 5.8vw, 4.3rem); font-weight: 600; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.5rem); font-weight: 600; }
h3 { font-size: 1.15rem; font-weight: 500; }

.accent {
  background: linear-gradient(92deg, var(--red-bright), var(--btc));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.eyebrow {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--btc);
  margin-bottom: 14px;
}

.lede { font-size: 1.12rem; color: var(--muted); max-width: 54ch; margin-top: 18px; }
.lede strong { color: var(--text); }

.btc-symbol { color: var(--btc); font-weight: 700; }

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

.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 600;
  padding: 11px 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  color: var(--text);
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease;
  white-space: nowrap;
}

.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: linear-gradient(120deg, var(--red), var(--red-bright));
  box-shadow: 0 4px 18px rgba(232, 37, 63, 0.35);
}
.btn-primary:hover { box-shadow: 0 6px 26px rgba(232, 37, 63, 0.5); }

.btn-secondary {
  background: var(--card);
  border-color: var(--card-border);
}
.btn-secondary:hover { border-color: rgba(255, 255, 255, 0.22); background: #1a1f2b; }

.btn-ghost { color: var(--muted); }
.btn-ghost:hover { color: var(--text); }

.btn-platform {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--card-border);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.btn-platform:hover {
  border-color: rgba(247, 147, 26, 0.55);
  background: rgba(247, 147, 26, 0.08);
}
.btn-platform svg { width: 17px; height: 17px; fill: currentColor; flex-shrink: 0; }

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 12, 16, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  height: var(--header-h);
}

.brand { flex-shrink: 0; }
.brand-logo { height: 48px; width: auto; }

.site-nav {
  display: flex;
  gap: 26px;
  margin-inline: auto;
}

.site-nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  white-space: nowrap;
  transition: color 0.15s ease;
}
.site-nav a:hover { color: var(--text); }

.header-actions { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }

.blockheight-chip {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--card-border);
  padding: 7px 14px;
  border-radius: 999px;
  letter-spacing: 0.02em;
}

.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #fff;
  display: inline-block;
  animation: pulse 1.6s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.45; transform: scale(0.8); }
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--card-border);
  border-radius: 10px;
  cursor: pointer;
  padding: 0 10px;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */

.hero { position: relative; padding: 88px 0 96px; overflow: hidden; }

.hero-bg { position: absolute; inset: 0; pointer-events: none; }

.glow { position: absolute; border-radius: 50%; filter: blur(120px); }
.glow-red {
  width: 620px; height: 620px;
  background: rgba(185, 1, 39, 0.34);
  top: -220px; left: -160px;
}
.glow-orange {
  width: 520px; height: 520px;
  background: rgba(247, 147, 26, 0.13);
  bottom: -240px; right: -120px;
}

.leaf-watermark {
  position: absolute;
  right: -140px;
  top: 40px;
  width: 560px;
  opacity: 0.04;
  transform: rotate(8deg);
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.hero-copy .flag { margin-right: 6px; }

.platform-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.hero-stats {
  display: flex;
  gap: 44px;
  margin-top: 42px;
}

.hero-stats dt {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 600;
  color: var(--text);
}

.hero-stats dd { font-size: 0.86rem; color: var(--muted); }

/* Hero player */

.player-frame {
  background: linear-gradient(160deg, rgba(232, 37, 63, 0.55), rgba(247, 147, 26, 0.35) 60%, rgba(255, 255, 255, 0.08));
  padding: 1px;
  border-radius: calc(var(--radius) + 1px);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.55), 0 8px 30px rgba(185, 1, 39, 0.22);
}

.player-frame > * {
  background: var(--bg-elev);
}

.player-label {
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 14px 18px;
  border-radius: var(--radius) var(--radius) 0 0;
}
.player-label .live-dot { background: var(--red-bright); }

.video-wrap {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 0 0 var(--radius) var(--radius);
  overflow: hidden;
}

.video-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ---------- At-a-glance econ strip ---------- */

.econ-strip {
  background: var(--bg-elev);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding: 26px 0 18px;
}

.econ-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.econ-tile {
  display: flex;
  flex-direction: column;
  gap: 3px;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 12px;
  padding: 14px 16px;
  min-height: 96px;
}

.econ-label {
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}

.econ-value {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
  min-width: 7ch;
  white-space: nowrap;
}

.econ-value-lg { font-size: 1.6rem; }

.econ-value-ticker {
  font-family: var(--font-mono);
  font-size: 1.02rem;
  font-weight: 500;
  color: var(--red-text);
  letter-spacing: 0.01em;
  min-width: 21ch;
}

.econ-sub {
  font-size: 0.76rem;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
  min-height: 1.15em;
}

.econ-fresh {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  font-size: 0.7rem;
  color: var(--muted);
  min-height: 1em;
}

.econ-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--btc);
  animation: pulse 2.2s ease-in-out infinite;
}

.econ-tile.is-stale .econ-value,
.econ-tile.is-stale .econ-sub { opacity: 0.45; }

.econ-tile[hidden] { display: none; }

/* Fear & Greed band tints — existing palette only */
.econ-fng-fear { color: var(--red-text); }
.econ-fng-neutral { color: var(--muted); }
.econ-fng-greed { color: var(--btc); }

.econ-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 14px;
  font-size: 0.76rem;
  color: var(--muted);
}

.econ-foot-note { display: inline-flex; gap: 6px; flex-wrap: wrap; }

.econ-more {
  color: var(--btc);
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}
.econ-more:hover { text-decoration: underline; }
.econ-more:focus-visible {
  outline: 2px solid var(--btc);
  outline-offset: 4px;
  border-radius: 4px;
}

@media (max-width: 1020px) {
  .econ-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 700px) {
  .econ-grid { grid-template-columns: repeat(2, 1fr); }
  .econ-tile-debt { grid-column: span 2; }
  .econ-value { font-size: 1.2rem; }
  .econ-value-lg { font-size: 1.45rem; }
}

/* ---------- Dashboard page ---------- */

.dash-head { padding: 64px 0 8px; }
.dash-head h1 { font-size: clamp(2.2rem, 4.8vw, 3.4rem); font-weight: 600; }
.dash-head .section-sub { margin-top: 10px; max-width: 62ch; }
.dash-updated { color: var(--text); opacity: 0.85; white-space: nowrap; }

.dash-section { padding: 34px 0 10px; }
.dash-section h2 {
  font-size: 1.35rem;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.dash-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(215px, 1fr));
  gap: 14px;
  margin-bottom: 18px;
}

/* Dashboard tiles carry longer labels than the homepage strip: let them wrap
   and let grid columns shrink below label min-content on narrow screens. */
.dash-grid .econ-tile { min-width: 0; }
.dash-grid .econ-label { white-space: normal; }
.dash-grid .econ-value { min-width: 0; }

.dash-tile-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4px 8px;
  flex-wrap: wrap;
}

.badge {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 2px 7px;
  border-radius: 999px;
  border: 1px solid var(--card-border);
  color: var(--muted);
  flex-shrink: 0;
}
.badge-live { color: var(--btc); border-color: rgba(247, 147, 26, 0.4); }

.fng-meter {
  height: 5px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
  margin-top: 7px;
}
.fng-meter span { display: block; height: 100%; border-radius: 3px; background: var(--muted); }
.fng-meter .econ-fng-fear { background: var(--red-text); }
.fng-meter .econ-fng-neutral { background: var(--muted); }
.fng-meter .econ-fng-greed { background: var(--btc); }

.chart-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 20px 20px 14px;
  margin-bottom: 18px;
}
.chart-card h3 { font-size: 0.95rem; font-weight: 500; color: var(--muted); margin-bottom: 12px; }
.chart-wrap { position: relative; height: 260px; }
.chart-caption { font-size: 0.72rem; color: var(--muted); margin-top: 10px; }

.chart-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.chart-row .chart-card { margin-bottom: 0; }
.chart-row { margin-bottom: 18px; }
.chart-row .chart-wrap { height: 200px; }
.chart-row-2 { grid-template-columns: repeat(2, 1fr); }

.dash-note { font-size: 0.82rem; color: var(--muted); margin: -6px 0 16px; }
.dash-footnote { font-size: 0.74rem; color: var(--muted); line-height: 1.7; }

.dash-sources-section { padding-bottom: 72px; }
.dash-sources {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 26px 28px;
  font-size: 0.85rem;
  color: var(--muted);
}
.dash-sources h2 { border-bottom: 0; padding-bottom: 0; margin-bottom: 12px; font-size: 1.1rem; }
.dash-sources ul { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px 24px; margin-bottom: 14px; }
.dash-sources a { color: var(--text); opacity: 0.85; }
.dash-sources a:hover { color: var(--btc); opacity: 1; }
.dash-disclaimer { margin-top: 8px; color: var(--text); opacity: 0.75; font-weight: 600; }

@media (max-width: 1020px) {
  .chart-row { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 700px) {
  .dash-grid { grid-template-columns: repeat(2, 1fr); }
  .chart-row, .chart-row-2 { grid-template-columns: 1fr; }
  .chart-wrap, .chart-row .chart-wrap { height: 190px; }
  .dash-sources ul { grid-template-columns: 1fr; }
  .dash-tile-wide { grid-column: span 2; }
}

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

.section { padding: 92px 0; }
.section-alt { background: var(--bg-elev); }

.section-head { max-width: 640px; margin-bottom: 48px; }
.section-sub { color: var(--muted); margin-top: 12px; }

/* ---------- Episodes ---------- */

.episode-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.episode-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 24px;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.episode-card:hover {
  transform: translateY(-4px);
  border-color: rgba(232, 37, 63, 0.45);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.45);
}

.episode-thumb {
  margin: -24px -24px 4px;
  border-radius: var(--radius) var(--radius) 0 0;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #000;
}

/* hqdefault.jpg is 4:3 with letterbox bars — object-fit: cover crops them off */
.episode-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.25s ease;
}
.episode-card:hover .episode-thumb img { transform: scale(1.04); }

.episode-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
  color: var(--muted);
}

.chip {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--btc);
  background: rgba(247, 147, 26, 0.1);
  border: 1px solid rgba(247, 147, 26, 0.25);
  padding: 3px 10px;
  border-radius: 999px;
}

.episode-card h3 { font-size: 1.08rem; line-height: 1.35; }

.episode-card h3 a {
  color: var(--text);
  text-decoration: none;
}
.episode-card h3 a::after { content: ""; position: absolute; inset: 0; }
.episode-card { position: relative; }
.episode-card h3 a:hover { color: var(--red-text); }

/* Keep date + description above the stretched link so their text stays selectable */
.episode-card .episode-meta,
.episode-card p { position: relative; z-index: 1; }

.episode-card p {
  font-size: 0.9rem;
  color: var(--muted);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.episode-listen {
  margin-top: auto;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--red-text);
}

.episode-more {
  display: flex;
  gap: 14px;
  justify-content: center;
  margin-top: 44px;
  flex-wrap: wrap;
}

/* ---------- Weekly brief ---------- */

.brief-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.brief-copy .section-sub { max-width: 46ch; }

.brief-archive { margin-top: 34px; }

.brief-archive h3 {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 12px;
}

.brief-archive ul { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; }

.brief-archive ul a {
  display: inline-block;
  color: var(--text);
  opacity: 0.85;
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--card-border);
  padding: 7px 14px;
  border-radius: 999px;
  transition: border-color 0.15s ease, opacity 0.15s ease;
}
.brief-archive ul a:hover { opacity: 1; border-color: rgba(247, 147, 26, 0.55); }

.brief-feature {
  display: flex;
  align-items: center;
  gap: 36px;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 24px;
  padding: 40px;
}

.brief-paper {
  flex-shrink: 0;
  width: 170px;
  aspect-ratio: 8.5 / 11;
  background: #fdfdfb;
  border-radius: 6px;
  padding: 18px 16px;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.5), 0 4px 14px rgba(185, 1, 39, 0.18);
  transform: rotate(-2.5deg);
  transition: transform 0.25s ease;
}
.brief-feature:hover .brief-paper { transform: rotate(0deg) translateY(-3px); }

.brief-paper-masthead {
  font-family: var(--font-display);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #16181d;
  line-height: 1.25;
  border-bottom: 2px solid #16181d;
  padding-bottom: 6px;
}

.brief-paper-sub {
  font-size: 0.5rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
  margin-top: 6px;
}

.brief-paper-leaf { width: 34px; margin: 12px 0 10px; }

.brief-paper-lines { display: flex; flex-direction: column; gap: 7px; }
.brief-paper-lines span {
  display: block;
  height: 5px;
  border-radius: 3px;
  background: #d9dce1;
}
.brief-paper-lines span:nth-child(3n) { width: 72%; }
.brief-paper-lines span:nth-child(4) { background: rgba(185, 1, 39, 0.35); }

.brief-meta { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }

.brief-date {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
}

.brief-buttons { display: flex; flex-direction: column; gap: 10px; margin-top: 6px; }

/* ---------- Brief archive page ---------- */

.archive-title { font-size: clamp(2rem, 4.5vw, 3rem); font-weight: 600; }

.archive-back { margin-top: 18px; }
.archive-back a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
}
.archive-back a:hover { color: var(--text); }

.archive-year {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.08em;
  margin: 36px 0 18px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.archive-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.archive-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 22px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.archive-card:hover { transform: translateY(-3px); border-color: rgba(232, 37, 63, 0.45); }

.archive-card-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.archive-size { font-size: 0.78rem; color: var(--muted); }

.archive-card h3 {
  font-size: 1.15rem;
  margin-bottom: 14px;
}

.archive-links { display: flex; gap: 18px; }
.archive-links a {
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--btc);
}
.archive-links a:hover { text-decoration: underline; }
.archive-links a[download] { color: var(--muted); }
.archive-links a[download]:hover { color: var(--text); }

.site-nav a[aria-current="page"] { color: var(--text); }

.archive-footer { border-top: 0; padding-top: 0; }

.brief-all {
  display: inline-block;
  margin-top: 16px;
  color: var(--btc);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
}
.brief-all:hover { text-decoration: underline; }

/* ---------- Hosts ---------- */

.host-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.host-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 32px;
}

.host-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(135deg, var(--red), var(--red-bright));
  margin-bottom: 18px;
}

.host-card h3 { font-size: 1.3rem; margin-bottom: 10px; }
.host-card p { color: var(--muted); font-size: 0.95rem; margin-bottom: 18px; }

.host-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--btc);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
}
.host-link:hover { text-decoration: underline; }
.host-link svg { width: 15px; height: 15px; fill: currentColor; }

/* ---------- Network ---------- */

.network-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.network-card {
  display: block;
  background: linear-gradient(150deg, var(--card), #191320);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 32px;
  text-decoration: none;
  color: var(--text);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.network-card:hover { transform: translateY(-4px); border-color: rgba(247, 147, 26, 0.45); }
.network-card h3 { font-size: 1.25rem; margin-bottom: 8px; }
.network-card p { color: var(--muted); font-size: 0.95rem; margin-bottom: 16px; }

.card-cta { color: var(--btc); font-size: 0.88rem; font-weight: 600; }

/* ---------- Sponsors ---------- */

.sponsor-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.sponsor-card {
  display: block;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 30px;
  text-decoration: none;
  color: var(--text);
  text-align: center;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.sponsor-card:hover { transform: translateY(-4px); border-color: rgba(232, 37, 63, 0.45); }

.sponsor-logo {
  height: 84px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  background: #fff;
  border-radius: 12px;
  padding: 14px;
}

.sponsor-logo img { max-height: 56px; width: auto; margin-inline: auto; }

.sponsor-card h3 { margin-bottom: 8px; }
.sponsor-card p { color: var(--muted); font-size: 0.9rem; }

/* ---------- Community ---------- */

.community-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 44px;
  background: linear-gradient(140deg, rgba(185, 1, 39, 0.16), rgba(247, 147, 26, 0.07)), var(--card);
  border: 1px solid rgba(232, 37, 63, 0.25);
  border-radius: 24px;
  padding: 56px;
}

.community-buttons { display: flex; flex-direction: column; gap: 12px; }

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

.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 64px 0 32px;
  background: var(--bg-elev);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 44px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.footer-logo { height: 52px; width: auto; margin-bottom: 16px; }

.footer-disclaimer { color: var(--muted); font-size: 0.85rem; max-width: 36ch; }

.footer-links { display: flex; gap: 64px; flex-wrap: wrap; }

.footer-links h4 {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 14px;
}

.footer-links a {
  display: block;
  color: var(--text);
  opacity: 0.82;
  text-decoration: none;
  font-size: 0.92rem;
  margin-bottom: 10px;
  transition: opacity 0.15s ease, color 0.15s ease;
}
.footer-links a:hover { opacity: 1; color: var(--btc); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 24px;
  color: var(--muted);
  font-size: 0.84rem;
}

/* ---------- Reveal animation ---------- */

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .live-dot, .econ-dot { animation: none; }
  .btn:hover, .episode-card:hover, .network-card:hover, .sponsor-card:hover { transform: none; }
}

/* ---------- Responsive ---------- */

@media (max-width: 1020px) {
  .hero-inner { grid-template-columns: 1fr; gap: 44px; }
  .leaf-watermark { width: 420px; right: -160px; }
  .episode-grid, .sponsor-grid { grid-template-columns: repeat(2, 1fr); }
  .brief-inner { grid-template-columns: 1fr; gap: 40px; }
  .archive-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 1080px) {
  .site-nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: rgba(10, 12, 16, 0.97);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 10px 24px 18px;
    max-height: calc(100vh - var(--header-h));
    max-height: calc(100dvh - var(--header-h));
    overflow-y: auto;
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  }
  .site-nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .site-nav a { padding: 12px 0; font-size: 1.05rem; border-bottom: 1px solid rgba(255,255,255,0.05); }
  .site-nav a:last-child { border-bottom: 0; }
  .nav-toggle { display: flex; }
  .blockheight-chip { display: none; }
}

@media (max-width: 700px) {
  .container { width: min(1160px, 100% - 36px); }
  .hero { padding: 56px 0 64px; }
  .hero-stats { gap: 28px; flex-wrap: wrap; }
  .episode-grid, .sponsor-grid, .host-grid, .network-grid, .archive-grid { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
  .community-inner { flex-direction: column; align-items: flex-start; padding: 36px 28px; }
  .community-buttons { flex-direction: column; width: 100%; }
  .community-buttons .btn { justify-content: center; }
  .footer-links { gap: 36px; }
  .brief-feature { flex-direction: column; align-items: flex-start; padding: 28px; }
  .brief-buttons { width: 100%; }
  .brief-buttons .btn { justify-content: center; }
  .header-inner { gap: 14px; }
  .brand { flex-shrink: 1; min-width: 0; }
  .brand-logo { height: 40px; object-fit: contain; object-position: left center; }
  .btn-live { padding: 10px 16px; font-size: 0.86rem; }
}
