:root {
  --tre-paper: #fffcf6;
  --tre-mint-soft: #eaf4ef;
  --tre-mint-deep: #d6e8df;
  --tre-ink: #14213d;
  --tre-muted: #586273;
  --tre-moss: #2f5d50;
  --tre-moss-deep: #24493f;
  --tre-copper: #a9523d;
  --tre-gold: #e0a72c;
  --tre-footer: #0e1930;
  --tre-rule: rgba(20, 33, 61, 0.17);
}

html,
body {
  background: var(--tre-paper);
  color: var(--tre-ink);
}

.site-header,
.page-header,
.episodes-header,
.catalogue-tools,
.episodes-list,
.episode-article,
.transcript,
.latest-section {
  background: var(--tre-paper);
}

.site-header {
  border-bottom-color: var(--tre-rule);
}

.wordmark-wave,
.eyebrow::before {
  color: var(--tre-copper);
  stroke: var(--tre-copper);
}

.nav a:not(.wordmark),
.footer-text-link {
  text-decoration-color: transparent;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.38em;
  transition: text-decoration-color 160ms ease, color 160ms ease;
}

.nav a:not(.wordmark):hover,
.nav a:not(.wordmark):focus-visible,
.footer-text-link:hover,
.footer-text-link:focus-visible {
  text-decoration-line: underline;
  text-decoration-color: currentColor;
}

.hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: var(--tre-mint-soft);
}

.hero-grid {
  position: relative;
  z-index: 2;
}

.hero h1,
.hero .dek,
.hero .lede,
.hero .eyebrow,
.hero-actions {
  position: relative;
  z-index: 2;
}

.hero .dek span {
  background: var(--tre-mint-soft);
  box-shadow:
    -0.22em 0 0 var(--tre-mint-soft),
    0.22em 0 0 var(--tre-mint-soft),
    0 -0.42em 0 var(--tre-mint-soft),
    0 0.42em 0 var(--tre-mint-soft);
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.hero-portrait-stage {
  position: relative;
  z-index: 2;
}

.hero-wave-journey,
.hero-pixie-dust {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.hero-wave-journey {
  z-index: 1;
  overflow: hidden;
}

.hero-pixie-dust {
  z-index: 4;
}

.hero-wave-journey path {
  fill: none;
  stroke: var(--tre-copper);
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}

.hero-wave-journey-base {
  opacity: 0.12;
  stroke-width: 2;
}

.hero-wave-journey-runner {
  opacity: 0;
  stroke-width: 3;
  stroke-dasharray: 1 1;
  stroke-dashoffset: 1;
}

.hero-wave-journey-top-runner {
  animation: tre-copper-conversation 18s linear infinite;
}

.hero-wave-journey .hero-wave-journey-green-base,
.hero-wave-journey .hero-wave-journey-green-runner {
  stroke: var(--tre-moss);
}

.hero-wave-journey-green-base {
  opacity: 0.16;
}

.hero-wave-journey-green-runner {
  animation: tre-green-response 18s linear infinite;
}

@keyframes tre-copper-conversation {
  0%, 3% { opacity: 0; stroke-dashoffset: 1; }
  7% { opacity: 0.96; stroke-dashoffset: 1; }
  32%, 38% { opacity: 0.96; stroke-dashoffset: 0; }
  43%, 100% { opacity: 0; stroke-dashoffset: 0; }
}

@keyframes tre-green-response {
  0%, 48% { opacity: 0; stroke-dashoffset: 1; }
  52% { opacity: 0.96; stroke-dashoffset: 1; }
  76%, 84% { opacity: 0.96; stroke-dashoffset: 0; }
  89%, 100% { opacity: 0; stroke-dashoffset: 0; }
}

.featured-section,
.feature-card,
.about-section,
.privacy-section {
  background: var(--tre-paper);
}

.feature-art,
.transcript-status,
.discovery-panel {
  background: var(--tre-mint-soft);
}

.prototype-strip {
  color: #fff;
  background: var(--tre-moss);
}

.prototype-strip .publication-status,
.prototype-strip .prototype-detail {
  color: #fff;
}

.episode-card,
.episode-row {
  border-color: var(--tre-rule);
}

.episode-meta,
.episode-row time,
.episode-row .duration,
.episode-index {
  color: var(--tre-moss);
}

.episodes-list .episode-year {
  margin-block-end: 34px;
}

.episodes-list .year-heading {
  margin-block-start: 48px;
  padding: 14px 18px;
  border-bottom-color: var(--tre-ink);
  color: var(--tre-moss-deep);
  background: var(--tre-mint-soft);
  box-shadow: inset 4px 0 0 var(--tre-copper);
}

.episodes-list .episode-row {
  padding-inline: 18px;
  transition: background-color 160ms ease, box-shadow 160ms ease;
}

.episodes-list .episode-row:nth-of-type(even) {
  background: rgba(234, 244, 239, 0.52);
}

.episodes-list .episode-row:hover,
.episodes-list .episode-row:focus-within {
  background: var(--tre-mint-soft);
  box-shadow: inset 3px 0 0 var(--tre-copper);
}

.manifesto {
  color: var(--tre-paper);
  background: var(--tre-ink);
}

.manifesto .eyebrow,
.manifesto h2,
.manifesto blockquote,
.manifesto p,
.site-footer,
.site-footer a {
  color: var(--tre-paper);
}

.manifesto .button {
  color: var(--tre-paper);
  border-color: var(--tre-paper);
}

.site-footer {
  background: var(--tre-footer);
}

.footer-social-link:hover,
.footer-social-link:focus-visible {
  border-color: var(--tre-copper);
}

.button {
  border-radius: 10px;
}

.button.primary {
  background: var(--tre-ink);
  border-color: var(--tre-ink);
}

.button:hover,
.button:focus-visible {
  border-color: var(--tre-moss-deep);
}

@media (max-width: 720px) {
  .hero-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  .hero-grid > div:first-child {
    display: contents;
  }

  .hero-grid .eyebrow { order: 1; }
  .hero-grid h1 { order: 2; }
  .hero-grid .dek { order: 3; }
  .hero-grid .hero-portrait-stage {
    order: 4;
    margin-block: 0 12px;
  }
  .hero-grid .lede { order: 5; }
  .hero-grid .hero-actions { order: 6; }

  .episodes-list .year-heading {
    margin-block-start: 34px;
    padding-inline: 14px;
  }

  .episodes-list .episode-row {
    padding-inline: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-wave-journey-base {
    display: none;
  }

  .hero-wave-journey-runner {
    opacity: 0.7;
    stroke-dasharray: 1 0;
    stroke-dashoffset: 0;
    animation: none;
  }
}

@media print {
  .hero-wave-journey,
  .hero-pixie-dust,
  .hero-actions,
  .feature-art,
  audio,
  .page-tools,
  .site-footer {
    display: none !important;
  }

  .hero,
  .hero .dek span,
  .episodes-list .year-heading,
  .episodes-list .episode-row,
  .episodes-list .episode-row:nth-of-type(even) {
    color: #000 !important;
    background: transparent !important;
    box-shadow: none !important;
  }
}

/* Live-footer parity — 2026-08-06 */
.site-footer { color: var(--tre-paper); background: var(--tre-footer); padding: 58px 0; }
.footer-grid { display: grid; grid-template-columns: minmax(210px, .72fr) minmax(180px, auto) minmax(280px, 1fr); align-items: start; gap: 34px clamp(34px, 5vw, 72px); }
.footer-grid p { color: #d6dce7; font-size: var(--type-small); margin: 5px 0 0; line-height: 1.6; }
.footer-links { display: grid; align-items: start; gap: 18px; }
.footer-link-group { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 20px; }
.footer-links .footer-label { color: var(--tre-paper); font-size: var(--type-label); letter-spacing: .1em; text-transform: uppercase; flex-basis: 100%; margin: 0; font-weight: 800; line-height: 1.4; }
.footer-links a { display: inline-flex; align-items: center; min-height: 44px; }
.footer-text-link { text-decoration-line: none; text-decoration-color: transparent; text-decoration-thickness: 2px; text-underline-offset: .38em; }
.site-footer .footer-text-link:hover, .site-footer .footer-text-link:focus-visible { color: #fff; text-decoration-line: underline; text-decoration-color: #fff; }
.footer-social-links { display: grid; gap: 10px; width: min(100%, 250px); }
.footer-follow-group .footer-social-links { margin-top: 10px; }
.footer-social-link { color: #fff; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.38); border-radius: 10px; gap: 12px; min-height: 60px; padding: 9px 14px 9px 9px; text-decoration: none; transition: background 200ms ease, transform 200ms ease, border-color 200ms ease; }
.footer-social-link:hover { color: #fff; background: rgba(255,255,255,.16); border-color: #fff; transform: translateY(-2px); }
.footer-social-link:hover .footer-social-platform, .footer-social-link:hover .footer-social-handle, .footer-social-link:focus-visible .footer-social-platform, .footer-social-link:focus-visible .footer-social-handle { text-decoration-line: underline; text-decoration-color: #fff; text-decoration-thickness: 2px; text-underline-offset: .22em; }
.footer-social-link:focus-visible { outline: 3px solid var(--tre-paper); outline-offset: 3px; }
.footer-social-link img { flex: 0 0 40px; width: 40px; height: 40px; }
.footer-social-link > span, .footer-social-platform, .footer-social-handle { display: block; }
.footer-social-platform { font-family: var(--serif); font-size: 1rem; line-height: 1.2; }
.footer-social-handle { color: #d6dce7; font-size: var(--type-label); overflow-wrap: anywhere; margin-top: 3px; line-height: 1.35; }
.footer-email { max-width: 100%; font-size: var(--type-small); overflow-wrap: anywhere; }
.footer-privacy-link { width: max-content; }
.footer-worlds { border-left: 1px solid rgba(255,255,255,.18); padding-left: clamp(24px, 4vw, 52px); }
.footer-worlds .footer-label { color: var(--tre-paper); font-size: var(--type-label); letter-spacing: .1em; text-transform: uppercase; margin: 0 0 10px; font-weight: 800; }
.footer-worlds > p:not(.footer-label) { max-width: 44ch; }
.footer-world-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 20px; }
.footer-world-links a { display: flex; flex-direction: column; justify-content: center; min-height: 56px; padding-block: 6px; text-decoration: none; }
.footer-world-links a:hover strong, .footer-world-links a:focus-visible strong { color: #fff; text-decoration-line: underline; text-decoration-color: #fff; text-decoration-thickness: 2px; text-underline-offset: .2em; }
.footer-world-links strong, .footer-world-links span { display: block; }
.footer-world-links strong { font-family: var(--serif); font-size: 1.0625rem; line-height: 1.25; }
.footer-world-links span { color: #d6dce7; font-size: var(--type-label); margin-top: 3px; line-height: 1.45; }
.site-footer a:hover { color: #fff; }
.site-footer a:focus-visible { outline-color: var(--tre-paper); }
.footer-meta { display: flex; flex-wrap: wrap; grid-column: 1 / -1; justify-content: space-between; gap: 10px 28px; border-top: 1px solid rgba(255,255,255,.18); padding-top: 28px; }
.footer-meta .footer-colophon { color: var(--tre-paper); font-size: var(--type-label); letter-spacing: .08em; text-transform: uppercase; margin: 0; line-height: 1.45; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: minmax(0, 1fr) auto; } .footer-worlds { grid-column: 1 / -1; border-top: 1px solid rgba(255,255,255,.18); border-left: 0; padding: 28px 0 0; } }
@media (max-width: 720px) { .footer-grid { grid-template-columns: 1fr; } .site-footer { padding-bottom: calc(104px + env(safe-area-inset-bottom)); } .footer-worlds, .footer-meta { grid-column: 1; } .footer-world-links { grid-template-columns: 1fr; gap: 4px; } .footer-meta { display: grid; } }

