/* What Britain Lost: one small stylesheet, no framework. Navy / cream / signal red, as in the films. */
@font-face { font-family: "Barlow Condensed"; src: url("/static/fonts/barlow-condensed-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url("/static/fonts/barlow-condensed-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }
:root {
  --navy: #14213D; --navy-2: #1f3360; --cream: #F3EBDD; --paper: #fbf8f2; --red: #C8102E; --ink: #1c1b19; --muted: #5d6170;
  --line: #e2dccf; --head: "Barlow Condensed", "DIN Condensed", "Arial Narrow", sans-serif;
  --body: Charter, "Iowan Old Style", Georgia, "Times New Roman", serif; --ui: -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 18px/1.65 var(--body); }
a { color: var(--navy-2); text-underline-offset: 3px; }
a:hover { color: var(--red); }
img { max-width: 100%; height: auto; display: block; }
.wrap { max-width: 1100px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; }
.skip { position: absolute; left: -999px; } .skip:focus { left: 12px; top: 12px; background: #fff; padding: 8px; z-index: 9; }

/* header / footer */
header.site { background: #fff; border-bottom: 1px solid var(--line); }
header.site .wrap { display: flex; align-items: center; gap: 18px; min-height: 72px; flex-wrap: wrap; }
header.site .brand img { height: 46px; width: auto; }
header.site nav { margin-left: auto; display: flex; gap: 22px; font: 600 19px/1 var(--head); letter-spacing: .04em; text-transform: uppercase; }
header.site nav a { color: var(--navy); text-decoration: none; padding: 6px 0; border-bottom: 3px solid transparent; }
header.site nav a:hover, header.site nav a[aria-current] { border-color: var(--red); color: var(--navy); }
footer.site { margin-top: 64px; background: var(--navy); color: #cfd5e3; font: 15px/1.6 var(--ui); padding: 36px 0 44px; }
footer.site a { color: #fff; }
footer.site .cols { display: flex; gap: 40px; flex-wrap: wrap; justify-content: space-between; }

/* type */
h1, h2, h3, .kicker { font-family: var(--head); color: var(--navy); line-height: 1.05; }
h1 { font-size: clamp(40px, 6vw, 68px); font-weight: 700; margin: 0 0 10px; text-transform: uppercase; letter-spacing: .01em; }
h2 { font-size: 34px; font-weight: 700; margin: 44px 0 12px; text-transform: uppercase; }
h3 { font-size: 24px; font-weight: 600; margin: 28px 0 8px; }
.kicker { font-size: 17px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--red); margin: 0 0 6px; }
.kicker::before { content: ""; display: inline-block; width: 28px; height: 4px; background: var(--red); vertical-align: middle; margin-right: 10px; }
.sub { font-style: italic; font-size: 24px; color: var(--navy-2); margin: 0 0 18px; }
.lede { font-size: 21px; }
.meta { font: 15px/1.5 var(--ui); color: var(--muted); }

/* hero */
.hero { background: #fff url("/img/hero.jpg") center bottom / cover no-repeat; border-bottom: 1px solid var(--line); }
.hero .wrap { min-height: 460px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding-top: 40px; padding-bottom: 180px; }
.hero .box { margin-left: auto; max-width: 560px; background: rgba(255,255,255,.88); padding: 20px 24px; border-left: 5px solid var(--red); }
.hero h1 { font-size: clamp(34px, 4.6vw, 54px); }
.btn { display: inline-block; font: 700 18px/1 var(--head); text-transform: uppercase; letter-spacing: .05em; background: var(--red); color: #fff;
       text-decoration: none; padding: 13px 20px; border-radius: 3px; margin: 6px 8px 0 0; }
.btn:hover { background: var(--navy); color: #fff; }
.btn.ghost { background: transparent; color: var(--navy); box-shadow: inset 0 0 0 2px var(--navy); }
.btn.ghost:hover { background: var(--navy); color: #fff; }

/* episode cards */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 26px; margin-top: 18px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: 4px; overflow: hidden; text-decoration: none; color: inherit; display: flex; flex-direction: column; }
.card:hover { box-shadow: 0 6px 22px rgba(20,33,61,.12); }
.card .body { padding: 14px 18px 18px; }
.card h3 { margin: 4px 0 6px; font-size: 27px; text-transform: uppercase; }
.card p { margin: 0; font-size: 16px; line-height: 1.5; color: #3b3d45; }

/* episode page */
.player { position: relative; aspect-ratio: 16/9; background: #000 center / cover no-repeat; border-radius: 4px; overflow: hidden; margin: 18px 0 10px; cursor: pointer; }
.player button { position: absolute; inset: 0; margin: auto; width: 92px; height: 64px; border: 0; border-radius: 14px; background: var(--red); cursor: pointer; }
.player button::after { content: ""; position: absolute; left: 36px; top: 18px; border-style: solid; border-width: 14px 0 14px 24px; border-color: transparent transparent transparent #fff; }
.player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
audio { width: 100%; margin: 6px 0 4px; }
.facts { background: #fff; border: 1px solid var(--line); border-left: 5px solid var(--navy); padding: 6px 22px 10px; border-radius: 4px; }
.facts li { margin: 6px 0; }
.chapters { list-style: none; padding: 0; margin: 0; columns: 2; column-gap: 30px; font: 16px/1.5 var(--ui); }
.chapters li { break-inside: avoid; padding: 6px 0; border-bottom: 1px solid var(--line); }
.chapters time { font-variant-numeric: tabular-nums; color: var(--red); font-weight: 600; margin-right: 10px; }
.transcript p { margin: 0 0 14px; }
.transcript .t { font: 600 13px/1 var(--ui); color: var(--muted); text-decoration: none; margin-right: 8px; font-variant-numeric: tabular-nums; }
.answer { font-size: 21px; background: var(--cream); padding: 18px 22px; border-radius: 4px; }
details.faq { border-bottom: 1px solid var(--line); padding: 10px 0; }
details.faq summary { font: 600 21px/1.3 var(--head); color: var(--navy); cursor: pointer; }
.credits { font: 13px/1.5 var(--ui); color: var(--muted); columns: 2; column-gap: 28px; }
.badge { display: inline-block; font: 600 13px/1 var(--ui); background: var(--cream); color: var(--navy); padding: 5px 8px; border-radius: 3px; margin: 0 6px 6px 0; }
.subscribe a { margin-right: 14px; }
@media (max-width: 700px) {
  body { font-size: 17px; }
  header.site nav { margin-left: 0; width: 100%; gap: 16px; padding-bottom: 10px; }
  .hero .wrap { padding-bottom: 120px; } .hero .box { margin-left: 0; }
  .chapters, .credits { columns: 1; }
}
