:root {
      --red: #A83024;
      --cream: #F4E8CC;
      --gold: #E8B23A;
      --navy: #161E34;
      --ink: #0E1424;
    }
    @font-face {
      font-family: Oswald;
      src: url("../fonts/Oswald-Variable.woff") format("woff");
      font-weight: 200 700;
      font-style: normal;
      font-display: swap;
    }
    @font-face {
      font-family: "Source Serif 4";
      src: url("../fonts/source-serif-4-latin.woff2") format("woff2");
      font-weight: 400 600;
      font-style: normal;
      font-display: swap;
    }
    @font-face {
      font-family: "Source Serif 4";
      src: url("../fonts/source-serif-4-latin-italic.woff2") format("woff2");
      font-weight: 400;
      font-style: italic;
      font-display: swap;
    }
    * { box-sizing: border-box; }
    html, body { margin: 0; padding: 0; }
    body {
      background-color: var(--cream);
      background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix type='saturate' values='0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)' opacity='0.045'/></svg>");
      background-repeat: repeat;
      color: var(--navy);
      font-family: "Source Serif 4", Georgia, "Times New Roman", serif;
      font-size: 18px;
      line-height: 1.55;
      min-height: 100vh;
    }
    a { color: var(--navy); }
    .masthead {
      background: var(--red);
    }
    .masthead-inner {
      max-width: 1100px;
      margin: 0 auto;
      padding: 14px 22px 16px;
      display: flex;
      align-items: center;
      gap: 14px;
    }
    .horn {
      flex: 0 0 auto;
      width: 86px;
      height: 48px;
      display: block;
      overflow: visible;
    }
    .wordmark {
      font-family: Oswald, sans-serif;
      font-weight: 700;
      font-size: clamp(1.45rem, 5.2vw, 2.75rem);
      letter-spacing: 0.04em;
      line-height: 0.95;
      text-transform: uppercase;
      color: var(--cream);
      text-decoration: none;
      text-shadow: 2px 2px 0 var(--ink);
      margin: 0;
    }
    .wordmark:hover, .wordmark:focus { color: #fff8e8; outline: none; }
    .rules {
      height: 9px;
      background: linear-gradient(to bottom, var(--gold) 0 6px, var(--ink) 6px 9px);
    }
    .wrap {
      max-width: 1100px;
      margin: 0 auto;
      padding: 0 22px;
    }
    .slogan {
      font-family: Oswald, sans-serif;
      font-weight: 700;
      font-size: clamp(1.15rem, 3.2vw, 1.85rem);
      letter-spacing: 0.04em;
      text-transform: uppercase;
      color: var(--navy);
      text-align: center;
      margin: 0;
      padding: 22px 22px 20px;
      line-height: 1.25;
    }
    .hero {
      background-color: var(--navy);
      background-image: repeating-conic-gradient(
        from 0deg at 50% 24%,
        rgba(232, 178, 58, 0.12) 0deg 5deg,
        rgba(22, 30, 52, 0) 5deg 16deg
      );
      color: var(--cream);
      padding: 36px 0 44px;
      overflow: hidden;
    }
    .hero-inner {
      display: grid;
      grid-template-columns: 1fr;
      gap: 32px;
      align-items: center;
    }
    .poster-col {
      display: flex;
      justify-content: center;
      padding: 16px 8px 8px;
    }
    .poster {
      position: relative;
      width: min(400px, 86vw);
      background: var(--cream);
      padding: 14px;
      transform: rotate(-1.5deg);
      box-shadow: 4px 5px 0 var(--ink);
    }
    .poster img {
      display: block;
      width: 100%;
      height: auto;
      aspect-ratio: 1 / 1;
      object-fit: contain;
    }
    .pin {
      position: absolute;
      top: 5px;
      left: 50%;
      width: 13px;
      height: 13px;
      border-radius: 50%;
      background: radial-gradient(circle at 35% 30%, #fff4d6, var(--gold) 50%, #8a2a20 100%);
      box-shadow: 0 1px 0 var(--ink);
      transform: translateX(-50%);
    }
    .hero-copy { color: var(--cream); min-width: 0; }
    .ep-tag {
      display: inline-block;
      background: var(--red);
      color: var(--cream);
      font-family: Oswald, sans-serif;
      font-weight: 700;
      font-size: 0.95rem;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      padding: 4px 10px 3px;
      margin: 0 0 12px;
      line-height: 1;
    }
    .hero-copy h2 {
      font-family: Oswald, sans-serif;
      font-weight: 700;
      font-size: clamp(2.1rem, 6vw, 3.6rem);
      line-height: 0.95;
      letter-spacing: 0.02em;
      text-transform: uppercase;
      color: var(--gold);
      margin: 0 0 14px;
    }
    .hook {
      margin: 0 0 22px;
      font-size: 1.12rem;
      color: var(--cream);
      max-width: 28em;
      text-shadow: 0 1px 0 rgba(14, 20, 36, 0.55);
    }
    .btn {
      display: inline-block;
      font-family: Oswald, sans-serif;
      font-weight: 700;
      font-size: 1.05rem;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      text-decoration: none;
      background: var(--red);
      color: var(--cream);
      border: 0;
      padding: 11px 20px 10px;
      cursor: pointer;
      line-height: 1;
      box-shadow: 2px 2px 0 var(--ink);
    }
    .btn:hover, .btn:focus { filter: brightness(1.08); outline: 2px solid var(--cream); outline-offset: 2px; }
    .player {
      display: flex;
      align-items: center;
      gap: 12px;
      margin-top: 18px;
      max-width: 28rem;
    }
    .play {
      flex: 0 0 auto;
      width: 44px;
      height: 44px;
      border: 0;
      background: var(--red);
      color: var(--cream);
      font-size: 14px;
      line-height: 1;
      cursor: pointer;
      box-shadow: 2px 2px 0 var(--ink);
    }
    .play:hover, .play:focus { filter: brightness(1.08); outline: 2px solid var(--cream); outline-offset: 2px; }
    .play[aria-pressed="true"] .play-icon { display: none; }
    .play .pause-icon { display: none; }
    .play[aria-pressed="true"] .pause-icon { display: inline; }
    .track {
      flex: 1;
      height: 6px;
      background: rgba(244, 232, 204, 0.25);
      position: relative;
    }
    .track::after {
      content: "";
      position: absolute;
      left: 0; top: 0; bottom: 0;
      width: 0;
      background: var(--gold);
    }
    .time {
      font-family: "Source Serif 4", Georgia, serif;
      font-size: 1rem;
      letter-spacing: 0.03em;
      color: var(--cream);
      white-space: nowrap;
      text-shadow: 0 1px 0 rgba(14, 20, 36, 0.55);
    }
    .len {
      font-family: "Source Serif 4", Georgia, serif;
      letter-spacing: 0.02em;
      text-transform: none;
    }
    .about-band {
      padding: 28px 0 32px;
      text-align: center;
    }
    .about {
      margin: 0 auto 22px;
      max-width: 36em;
      color: var(--navy);
      font-size: 1.12rem;
    }
    .listen {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 10px;
    }
    .strip {
      background: var(--gold);
      color: var(--ink);
    }
    .strip h2 {
      font-family: Oswald, sans-serif;
      font-weight: 700;
      font-size: clamp(1.2rem, 2.4vw, 1.5rem);
      letter-spacing: 0.16em;
      text-transform: uppercase;
      text-align: center;
      margin: 0;
      padding: 10px 16px 9px;
    }
    .grid-wrap { padding: 32px 0 56px; }
    .grid {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 22px 18px;
    }
    .card {
      text-decoration: none;
      color: var(--navy);
      display: block;
    }
    .card .frame {
      background: var(--cream);
      padding: 8px;
      border: 1px solid var(--ink);
      box-shadow: 3px 3px 0 var(--ink);
      transition: transform 0.2s ease;
    }
    .card img {
      display: block;
      width: 100%;
      height: auto;
      aspect-ratio: 1 / 1;
      object-fit: contain;
    }
    .card:hover .frame,
    .card:focus .frame {
      transform: rotate(-1.5deg) translateY(-3px);
    }
    .card:focus { outline: none; }
    .card:focus .frame { outline: 2px solid var(--red); outline-offset: 3px; }
    .meta {
      margin: 10px 2px 0;
      font-size: 0.95rem;
      color: var(--navy);
      line-height: 1.45;
    }
    .meta .when {
      display: block;
      font-family: Oswald, sans-serif;
      font-weight: 500;
      font-size: 0.82rem;
      letter-spacing: 0.06em;
      text-transform: uppercase;
      margin-bottom: 2px;
    }
    footer {
      background: var(--ink);
      color: var(--cream);
      padding: 28px 22px 32px;
      text-align: center;
    }
    footer p { margin: 0 0 8px; }
    footer a { color: var(--cream); }
    .visually-hidden {
      position: absolute;
      width: 1px; height: 1px;
      overflow: hidden;
      clip: rect(0,0,0,0);
    }
    @keyframes pulse-arcs {
      0% { opacity: 1; transform: scale(1); }
      45% { opacity: 0.35; transform: scale(1.2); }
      100% { opacity: 1; transform: scale(1); }
    }
    .masthead.is-pulsing .arc {
      animation: pulse-arcs 0.7s ease-out 1;
      transform-box: fill-box;
      transform-origin: left center;
    }
    .episode-layout {
      display: grid;
      grid-template-columns: 1fr;
      gap: 28px;
      padding: 32px 0 56px;
      align-items: start;
    }
    .ep-cover {
      background: var(--cream);
      padding: 12px;
      border: 1px solid var(--ink);
      box-shadow: 4px 5px 0 var(--ink);
      max-width: 520px;
      margin: 0 auto;
    }
    .ep-cover img {
      display: block;
      width: 100%;
      height: auto;
      aspect-ratio: 1 / 1;
      object-fit: contain;
    }
    .chapters-label,
    .notes-label {
      font-family: Oswald, sans-serif;
      font-weight: 700;
      font-size: 0.82rem;
      letter-spacing: 0.14em;
      text-transform: uppercase;
      color: var(--red);
      margin: 22px 0 8px;
    }
    .chapters {
      list-style: none;
      margin: 0;
      padding: 0;
    }
    .chapters a {
      display: block;
      font-family: Oswald, sans-serif;
      font-weight: 700;
      font-size: 0.92rem;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      color: var(--red);
      text-decoration: none;
      padding: 3px 0;
    }
    .chapters a:hover, .chapters a:focus { text-decoration: underline; outline: none; }
    .chapters .t { display: inline-block; width: 3.6em; }
    .notes {
      margin: 0;
    }
    .back {
      font-family: Oswald, sans-serif;
      font-weight: 500;
      font-size: 0.9rem;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      text-decoration: none;
      color: var(--navy);
    }
    .back:hover, .back:focus { text-decoration: underline; }
    .ep-title {
      font-family: Oswald, sans-serif;
      font-weight: 700;
      font-size: clamp(2rem, 5vw, 3.1rem);
      line-height: 0.95;
      letter-spacing: 0.02em;
      text-transform: uppercase;
      color: var(--navy);
      margin: 0 0 8px;
    }
    .ep-page .player { max-width: none; }
    .ep-page .time { color: var(--navy); }
    .ep-page .track { background: rgba(14, 20, 36, 0.18); }
    .ep-page .track::after { background: var(--gold); }
    .ep-page .play:focus { outline-color: var(--navy); }
    @media (min-width: 800px) {
      .hero {
        background-image: repeating-conic-gradient(
          from 0deg at 28% 50%,
          rgba(232, 178, 58, 0.12) 0deg 5deg,
          rgba(22, 30, 52, 0) 5deg 16deg
        );
      }
      .hero-inner {
        grid-template-columns: 440px 1fr;
        gap: 48px;
      }
      .grid { grid-template-columns: repeat(3, 1fr); gap: 28px 24px; }
      .episode-layout {
        grid-template-columns: minmax(280px, 480px) 1fr;
        gap: 48px;
        padding: 40px 0 72px;
      }
      .ep-cover { margin: 0; }
      .slogan { padding: 28px 22px 26px; }
    }
    @media (max-width: 519px) {
      .masthead-inner { padding: 12px 14px 13px; gap: 10px; }
      .horn { width: 64px; height: 36px; }
      .wrap { padding: 0 16px; }
      body { font-size: 17px; }
      .hero { padding: 24px 0 32px; }
      .listen .btn { padding: 10px 14px 9px; font-size: 0.95rem; letter-spacing: 0.08em; }
    }
    @media (prefers-reduced-motion: reduce) {
      .card:hover .frame,
      .card:focus .frame { transform: none; }
      .masthead.is-pulsing .arc { animation: none; }
      .card .frame { transition: none; }
    }

    /* Preview and player additions (not in the static mockup) */
    .preview-banner {
      background: var(--gold);
      color: var(--ink);
      font-family: Oswald, sans-serif;
      font-weight: 700;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      text-align: center;
      font-size: 0.8rem;
      padding: 8px 16px 7px;
    }
    .hero-copy .btn { margin-bottom: 0; }
    .hero-actions { margin: 0 0 16px; }
    audio.player-el {
      display: block;
      width: 100%;
      max-width: 28rem;
      margin-top: 16px;
      height: 40px;
    }
    .hero audio.player-el { color-scheme: dark; }
    .ep-page audio.player-el { max-width: none; color-scheme: light; margin-top: 16px; }
    .chapters button {
      display: block;
      width: 100%;
      text-align: left;
      font-family: Oswald, sans-serif;
      font-weight: 700;
      font-size: 0.92rem;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      color: var(--red);
      text-decoration: none;
      background: none;
      border: 0;
      padding: 6px 0;
      cursor: pointer;
    }
    .chapters button:hover,
    .chapters button:focus { text-decoration: underline; outline: 2px solid var(--red); outline-offset: 2px; }
    .chapters .t { display: inline-block; width: 3.6em; }
    .ai-note {
      margin: 22px 0 0;
      font-style: italic;
    }
    .notes p { margin: 0 0 1em; }
    .notes p:last-child { margin-bottom: 0; }
    .btn[aria-pressed="true"] { filter: brightness(1.08); }
    .not-found {
      padding: 48px 0 72px;
      text-align: center;
    }
    .not-found h1 {
      font-family: Oswald, sans-serif;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.04em;
      font-size: clamp(2rem, 5vw, 3rem);
      margin: 0 0 12px;
    }

    .hero-copy h2 a { color: inherit; text-decoration: none; }
    .hero-copy h2 a:hover, .hero-copy h2 a:focus { text-decoration: underline; outline: none; }

