/* Reading pages (/p/<slug>/, /essays/, /field-notes/), built by scripts/build-site.js.
   The hero's language carried into long-form: Deep Field green with one soft light for the masthead,
   the serif with a single gold italic, small tracked Inter labels, gold hairlines; the text itself sits
   on the warm paper so it reads like print. */
:root {
  --deep: #062B18;
  --glow: #145031;
  --green: #0b3a22;
  --ink: #16301f;
  --ink-dim: rgba(22, 48, 31, .66);
  --paper: #efe9dc;
  --paper-2: #e6dfcf;
  --rule: rgba(22, 48, 31, .16);
  --ivory: #f7f4ea;
  --ivory-dim: rgba(247, 244, 234, .7);
  --gold: #d6ba78;
  --gold-ink: #8a6a2a;
  --serif: Helvetica, Arial, sans-serif;
  --sans: Inter, system-ui, sans-serif;
  --measure: 680px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
html { background: var(--deep); } /* overscroll above the page stays green */
/* the see-through nav sits over the page's top edge: keep that strip deep green so the nav matches the homepage's */
body { background: linear-gradient(var(--deep), var(--deep)) 0 0 / 100% 100px no-repeat, var(--paper); color: var(--ink); font-family: var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
::selection { background: var(--gold); color: var(--deep); }

/* grain, as on the hero */
body::before {
  content: ""; position: fixed; inset: 0; z-index: 100; pointer-events: none; opacity: .22; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.1' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- reading progress: the hero's gold rule, filling as you read ---------- */
.read-progress { position: fixed; top: 0; left: 0; right: 0; z-index: 70; height: 2px; pointer-events: none; }
.read-progress i { display: block; height: 100%; width: 100%; background: var(--gold); transform-origin: left; transform: scaleX(var(--read, 0)); box-shadow: 0 0 10px rgba(214, 186, 120, .6); }
.arc-page .read-progress { display: none; }

/* ---------- nav: the homepage masthead, frosted over the green ---------- */
.nav {
  position: sticky; top: 0; z-index: 60; height: 76px; padding: 0 max(16px, 4vw);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  background: rgba(6, 43, 24, .82); -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2);
  border-bottom: 1px solid rgba(247, 247, 245, .14); color: var(--ivory);
}
.nav-mark { display: flex; align-items: center; gap: 12px; text-decoration: none; justify-self: start; }
.nav-mark img { height: 24px; width: auto; }
.nav-word { font-size: 9.75px; font-weight: 600; letter-spacing: .34em; }
.nav-links-wrap { justify-self: center; }
.nav-links { display: flex; align-items: center; gap: 40px; margin: 0; padding: 0; list-style: none; }
.nav-links > li > a { cursor: pointer; position: relative; display: inline-block; padding: 6px 0; line-height: 1; text-decoration: none; font-size: 9px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: rgba(247, 247, 245, .72); transition: color .2s ease; }
.nav-links > li > a::after { content: ""; position: absolute; left: 0; right: .2em; bottom: 0; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav-links > li > a:hover { color: var(--ivory); }
.nav-links > li > a:hover::after { transform: scaleX(1); }
.nav-sub, .btn {
  display: inline-flex; align-items: center; gap: 10px; height: 38px; padding: 0 16px 0 18px; justify-self: end;
  background: var(--ivory); color: #0B1F10; text-decoration: none; border: 0; cursor: pointer;
  font: 600 9px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; transition: background-color .2s ease;
}
.nav-sub svg, .btn svg { width: 12px; height: 12px; transition: transform .25s var(--ease); }
.nav-sub:hover, .btn:hover { background: var(--gold); }
.nav-sub:hover svg, .btn:hover svg { transform: translateX(3px); }
.btn-dark { background: var(--deep); color: var(--ivory); }
.btn-dark:hover { background: var(--green); color: var(--gold); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* ---------- masthead: Deep Field with one soft light behind the title ---------- */
.art-head {
  position: relative; text-align: center; color: var(--ivory);
  padding: clamp(56px, 9vw, 120px) 16px clamp(150px, 16vw, 230px);
  background: radial-gradient(ellipse 60% 85% at 50% 18%, var(--glow) 0%, var(--green) 42%, var(--deep) 80%);
}
.art-head::after { /* the gold hairline under the byline */
  content: ""; position: absolute; left: 50%; bottom: clamp(118px, 13vw, 190px); width: 56px; height: 1px; background: var(--gold); transform: translateX(-50%);
}
.art-series, .art-kicker { display: inline-block; color: var(--gold); font: 600 9.5px/1 var(--sans); letter-spacing: .26em; text-transform: uppercase; text-decoration: none; }
a.art-series:hover { color: var(--ivory); }
.art-title { max-width: 18ch; margin: 22px auto 0; font: 400 clamp(40px, 6.4vw, 92px)/1.02 var(--serif); letter-spacing: -.02em; text-wrap: balance; }
.art-sub { max-width: 40ch; margin: 22px auto 0; color: var(--ivory-dim); font: italic 400 clamp(17px, 1.7vw, 23px)/1.4 Helvetica, Arial, sans-serif; text-wrap: balance; }
.art-by { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; margin-top: 30px; color: var(--ivory-dim); font: 500 10px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; }
.art-by b { color: var(--ivory); font-weight: 600; }
.art-by span + span::before { content: ""; display: inline-block; width: 3px; height: 3px; margin: 0 22px 2px -12px; border-radius: 50%; background: var(--gold); vertical-align: middle; }

/* the lead picture straddles the green and the paper */
.art-lead { position: relative; z-index: 2; width: min(1080px, calc(100% - 32px)); margin: calc(-1 * clamp(110px, 12vw, 180px)) auto 0; }
.art-lead img { width: 100%; aspect-ratio: 1200 / 630; object-fit: cover; background: var(--green); box-shadow: 0 40px 80px -30px rgba(3, 20, 10, .55), 0 8px 20px rgba(3, 20, 10, .18); }

/* ---------- the text ---------- */
.art-paper { padding: clamp(48px, 6vw, 80px) 16px clamp(56px, 7vw, 96px); }
.art-body { max-width: var(--measure); margin: 0 auto; font: 400 19px/1.68 var(--serif); color: var(--ink); }
.art-body > * + * { margin-top: 1.1em; }
.art-body p { hyphens: auto; text-wrap: pretty; }
.art-body a { color: var(--deep); text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 1.5px; text-underline-offset: 3px; transition: color .2s ease, text-decoration-color .2s ease; }
.art-body a:hover { color: var(--gold-ink); text-decoration-color: currentColor; }
.art-body strong { font-weight: 700; }
.art-body u { text-decoration: none; background: linear-gradient(transparent 62%, rgba(214, 186, 120, .45) 62%); }
.art-body h2 { margin-top: 2.2em; font: 400 clamp(28px, 3vw, 38px)/1.12 var(--serif); letter-spacing: -.012em; color: var(--deep); }
.art-body h3 { margin-top: 2em; font: 700 clamp(21px, 2vw, 25px)/1.25 var(--serif); color: var(--deep); }
.art-body h4 { margin-top: 1.8em; font: 600 11px/1.4 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--gold-ink); }
.art-body h2 + *, .art-body h3 + *, .art-body h4 + * { margin-top: .6em; }
.art-body h2 strong, .art-body h3 strong { font-weight: inherit; }
.art-body ul, .art-body ol { padding-left: 1.3em; }
.art-body li + li { margin-top: .45em; }
.art-body li::marker { color: var(--gold-ink); }
.art-body ul ul, .art-body ol ol, .art-body ul ol, .art-body ol ul { margin-top: .45em; }
.art-body hr { border: 0; height: 1px; width: 56px; margin: 2.6em auto; background: var(--gold); }
.art-body small { display: block; color: var(--ink-dim); font: 400 13.5px/1.5 var(--sans); }
.art-body sup, .art-body sub { font-size: .7em; line-height: 0; }

/* side notes (Beehiiv's quote blocks): a gold rule and the italic */
.art-body blockquote { position: relative; padding: 4px 0 4px 26px; border-left: 2px solid var(--gold); font-style: italic; color: #2b4434; }
.art-body blockquote > * + * { margin-top: .8em; }

/* pictures: inside the measure, the larger ones a little wider than the text */
.art-fig { margin-top: 2em !important; margin-bottom: 2em; }
.art-fig.wide { margin-left: calc(-1 * min(110px, (100vw - var(--measure)) / 2 - 16px)); margin-right: calc(-1 * min(110px, (100vw - var(--measure)) / 2 - 16px)); }
.art-fig img { width: 100%; background: var(--paper-2); box-shadow: 0 18px 40px -22px rgba(3, 20, 10, .45); }
.art-fig figcaption { margin-top: 12px; color: var(--ink-dim); font: 400 13px/1.5 var(--sans); }
.art-fig figcaption a { color: inherit; }
.art-fig a { text-decoration: none; }

/* YouTube: a still in the Skybox greens, full colour on hover, the player only after a click */
.art-video { margin-top: 2em !important; margin-bottom: 2em; position: relative; aspect-ratio: 16 / 9; background: var(--deep); overflow: hidden; box-shadow: 0 24px 50px -26px rgba(3, 20, 10, .6); }
.art-video button { all: unset; position: absolute; inset: 0; cursor: pointer; display: block; }
.art-video img { width: 100%; height: 100%; object-fit: cover; filter: url(#skyDuo) contrast(1.1); transform: scale(1.02); transition: filter .5s ease, transform .8s var(--ease); }
.art-video button:hover img, .art-video button:focus-visible img { filter: none; transform: scale(1.05); }
.art-video button::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(4, 22, 12, .75), rgba(4, 22, 12, 0) 55%); }
.art-play { position: absolute; z-index: 1; left: 50%; top: 50%; width: 68px; height: 68px; margin: -34px 0 0 -34px; display: grid; place-items: center; border-radius: 50%; background: var(--gold); color: var(--deep); box-shadow: 0 0 0 10px rgba(214, 186, 120, .2); transition: transform .3s var(--ease), box-shadow .3s ease; }
.art-play svg { width: 26px; height: 26px; margin-left: 3px; }
.art-video button:hover .art-play { transform: scale(1.08); box-shadow: 0 0 0 16px rgba(214, 186, 120, .16); }
.art-video-label { position: absolute; z-index: 1; left: 20px; bottom: 16px; color: var(--ivory); font: 600 9.5px/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; }
.art-video iframe, .art-embed { display: block; width: 100%; border: 0; }
.art-video iframe { position: absolute; inset: 0; height: 100%; }
.art-embed { aspect-ratio: 16 / 9; height: auto; }

/* link cards to other posts */
.art-body a.card { display: grid; grid-template-columns: 1fr 34%; grid-template-rows: auto auto 1fr; column-gap: 20px; padding: 18px; text-decoration: none; color: var(--ink); background: rgba(255, 255, 255, .45); border: 1px solid var(--rule); transition: border-color .2s ease, background-color .2s ease; }
.art-body a.card + a.card { margin-top: 12px; }
.art-body a.card:hover { border-color: var(--gold); background: rgba(255, 255, 255, .7); }
.art-body a.card img { grid-column: 2; grid-row: 1 / 4; width: 100%; aspect-ratio: 1200 / 630; object-fit: cover; }
.art-body .card-title { grid-column: 1; font: 700 19px/1.2 var(--serif); }
.art-body .card-desc { grid-column: 1; margin-top: 6px; color: var(--ink-dim); font: italic 400 15px/1.4 var(--serif); }
.art-body .card-host { grid-column: 1; align-self: end; margin-top: 10px; color: var(--gold-ink); font: 600 9px/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; }

/* Beehiiv's buttons */
.art-body p.cta { margin-top: 1.6em; }
.art-body p.cta a { display: inline-flex; align-items: center; height: 42px; padding: 0 20px; background: var(--deep); color: var(--ivory); text-decoration: none; font: 600 9.5px/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; transition: background-color .2s ease, color .2s ease; }
.art-body p.cta a:hover { background: var(--green); color: var(--gold); }

/* tables */
.art-table { overflow-x: auto; margin-top: 1.6em !important; }
.art-table table { width: 100%; border-collapse: collapse; font: 400 14px/1.45 var(--sans); }
.art-table th, .art-table td { padding: 10px 12px; border-bottom: 1px solid var(--rule); text-align: left; vertical-align: top; }
.art-table tr:first-child td, .art-table th { background: var(--deep); color: var(--ivory); font-weight: 600; font-size: 12px; letter-spacing: .04em; }
.art-table td p + p { margin-top: .4em; }

/* sign-off */
.art-sign { max-width: var(--measure); margin: clamp(48px, 6vw, 72px) auto 0; padding-top: 26px; border-top: 1px solid var(--rule); display: grid; grid-template-columns: 1fr auto; gap: 8px 20px; align-items: center; }
.art-sign .art-kicker { grid-column: 1; color: var(--gold-ink); }
.art-sign b { grid-column: 1; font: 400 26px/1.1 var(--serif); }
.art-sign-meta { grid-column: 1; color: var(--ink-dim); font: 500 10px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; }
.art-share { grid-column: 2; grid-row: 1 / 4; height: 38px; padding: 0 16px; border: 1px solid var(--rule); background: none; color: var(--ink); cursor: pointer; font: 600 9px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; transition: border-color .2s ease, color .2s ease; }
.art-share:hover { border-color: var(--gold-ink); color: var(--gold-ink); }

/* ---------- more from the series: back on the green ---------- */
.art-more { padding: clamp(56px, 7vw, 96px) max(16px, 4vw); color: var(--ivory); background: radial-gradient(ellipse 70% 600px at 50% 0%, var(--glow) 0%, rgba(11, 58, 34, .7) 45%, transparent 100%), var(--deep); }
.more-head { max-width: 1240px; margin: 0 auto 36px; display: flex; justify-content: space-between; align-items: end; gap: 20px; padding-bottom: 18px; border-bottom: 1px solid rgba(247, 244, 234, .2); }
.more-head h2 { font: 400 clamp(32px, 4vw, 54px)/1 var(--serif); letter-spacing: -.015em; }
.more-head a { color: var(--gold); font: 600 9.5px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; text-decoration: none; white-space: nowrap; }
.more-head a:hover { color: var(--ivory); }

.cards { max-width: 1240px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 3vw, 44px) clamp(20px, 2.4vw, 36px); }
.card { display: flex; flex-direction: column; gap: 12px; text-decoration: none; color: inherit; min-width: 0; }
.card-img { display: block; overflow: hidden; aspect-ratio: 3 / 2; background: var(--green); box-shadow: 0 18px 40px -24px rgba(3, 20, 10, .6); }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.card:hover .card-img img, .arc-lead:hover .card-img img { transform: scale(1.05); }
.card-meta { margin-top: 6px; color: var(--gold); font: 600 9px/1.3 var(--sans); letter-spacing: .18em; text-transform: uppercase; }
.card h3 { font: 400 clamp(22px, 1.9vw, 28px)/1.12 var(--serif); letter-spacing: -.01em; text-decoration: underline; text-decoration-color: transparent; text-decoration-thickness: 1px; text-underline-offset: 5px; transition: text-decoration-color .3s ease; }
.card:hover h3 { text-decoration-color: currentColor; }
.card p { color: var(--ivory-dim); font: italic 400 15px/1.45 Helvetica, Arial, sans-serif; }
.cards-paper .card-meta { color: var(--gold-ink); }
.cards-paper .card p { color: var(--ink-dim); }

/* ---------- archives ---------- */
.arc-head { padding-bottom: clamp(110px, 12vw, 170px); }
.arc-head {
  display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  column-gap: clamp(32px, 5vw, 72px); align-items: end; text-align: left;
  padding-left: max(16px, calc((100% - 1240px) / 2));
  padding-right: max(16px, calc((100% - 1240px) / 2));
}
.arc-head::after { left: max(16px, calc((100% - 1240px) / 2)); bottom: clamp(80px, 9vw, 130px); transform: none; }
.arc-head .art-series { grid-column: 1 / -1; }
.arc-head .art-title { grid-column: 1; margin: 22px 0 0; max-width: 11ch; }
.arc-head .art-sub { grid-column: 2; margin: 0; max-width: 34ch; }
.arc-head .art-by { grid-column: 2; justify-content: flex-start; margin-top: 24px; }
.arc-paper { padding-top: 0; }
.arc-lead { position: relative; z-index: 2; max-width: 1240px; margin: calc(-1 * clamp(70px, 8vw, 110px)) auto clamp(56px, 6vw, 80px); display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); background: var(--ivory); text-decoration: none; color: var(--ink); box-shadow: 0 40px 80px -36px rgba(3, 20, 10, .5); }
.arc-lead .card-img { aspect-ratio: auto; height: 100%; min-height: 320px; box-shadow: none; }
.arc-lead-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; padding: clamp(24px, 3vw, 44px); }
.arc-lead-copy .art-kicker { color: var(--gold-ink); }
.arc-lead h2 { font: 400 clamp(30px, 3.2vw, 46px)/1.05 var(--serif); letter-spacing: -.015em; }
.arc-lead p { color: var(--ink-dim); font: italic 400 17px/1.45 Helvetica, Arial, sans-serif; }
.arc-lead .card-meta { color: var(--gold-ink); margin-top: auto; }

/* ---------- entrance: the hero's cascade, title first ---------- */
@media (prefers-reduced-motion: no-preference) {
  .art-head > * { animation: rise .9s var(--ease) both; }
  .art-head > :nth-child(2) { animation-delay: .08s; }
  .art-head > :nth-child(3) { animation-delay: .16s; }
  .art-head > :nth-child(4) { animation-delay: .24s; }
  .art-lead, .arc-lead { animation: rise 1.1s var(--ease) .3s both; }
  @keyframes rise { from { opacity: 0; transform: translateY(18px); } }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

/* ---------- small screens ---------- */
@media (max-width: 900px) {
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .arc-head { grid-template-columns: 1fr; }
  .arc-head .art-title, .arc-head .art-sub, .arc-head .art-by { grid-column: 1; }
  .arc-head .art-sub { margin-top: 20px; }
  .arc-lead { grid-template-columns: 1fr; }
  .arc-lead .card-img { min-height: 0; aspect-ratio: 3 / 2; }
}
@media (max-width: 720px) {
  .nav { height: 64px; grid-template-columns: 1fr auto; }
  .nav-links-wrap { display: none; }
  .nav-sub { height: 34px; padding: 0 12px 0 14px; font-size: 8.25px; }
  .art-body { font-size: 18px; line-height: 1.64; }
  .art-fig.wide { margin-left: 0; margin-right: 0; }
  .art-body a.card { grid-template-columns: 1fr; }
  .art-body a.card img { grid-column: 1; grid-row: auto; margin-bottom: 12px; }
  .art-by span + span::before { display: none; }
  .art-by { gap: 10px 16px; }
  .art-sign { grid-template-columns: 1fr; }
  .art-share { grid-column: 1; grid-row: auto; justify-self: start; margin-top: 10px; }
  .more-head { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 520px) {
  .cards { grid-template-columns: 1fr; }
}

/* ---------- podcasts: video-first, so the green runs further down the page ---------- */
.ep-head .art-title { font-family: Helvetica, Arial, sans-serif; font-weight: 700; text-transform: uppercase; }
.ep-lead .art-video { margin: 0 !important; }
.ep-lead .art-video, .ep-cover { box-shadow: 0 40px 80px -30px rgba(3, 20, 10, .6), 0 8px 20px rgba(3, 20, 10, .2); }
.ep-cover { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--deep); }
.ep-cover img { width: 100%; height: 100%; object-fit: contain; background: radial-gradient(ellipse at center, var(--glow), var(--deep) 75%); }
.ep-listen { width: min(1080px, calc(100% - 32px)); margin: 22px auto 0; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 24px; }
.ep-audio { flex: 1 1 320px; max-width: 520px; height: 40px; accent-color: var(--deep); }
.ep-platforms { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.ep-platform { display: inline-flex; align-items: center; gap: 9px; min-height: 56px; padding: 0 24px; border: 1px solid var(--rule); color: var(--ink); text-decoration: none; font: 700 14px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; transition: border-color .2s ease, color .2s ease, background-color .2s ease; }
.ep-platform svg { width: 21px; height: 21px; }
.ep-platform:hover { border-color: var(--gold-ink); color: var(--gold-ink); }
.ep-notes > h2:first-child { margin-top: 0; font-size: 13px; font: 600 10px/1 var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--gold-ink); }
.ep-notes { font-family: Helvetica, Arial, sans-serif; font-weight: 400; text-transform: none; }
.ep-notes p { font-size: 17.5px; }
.ep-notes h3 { font-family: Helvetica, Arial, sans-serif; font-weight: 400; }
.ep-notes a { word-break: break-word; }

/* chapters: a timestamp column; on pages with a video, each one starts the video there */
.art-body ol.chapters { list-style: none; padding: 0; border-top: 1px solid var(--rule); }
.art-body ol.chapters li { display: grid; grid-template-columns: 74px 1fr; gap: 12px; margin: 0; padding: 11px 0; border-bottom: 1px solid var(--rule); font: 400 16px/1.4 Helvetica, Arial, sans-serif; }
.art-body ol.chapters b { color: var(--gold-ink); font: 400 12px/1.6 Helvetica, Arial, sans-serif; letter-spacing: .06em; font-variant-numeric: tabular-nums; }
.has-video .art-body ol.chapters li { cursor: pointer; transition: background-color .2s ease; }
.has-video .art-body ol.chapters li:hover { background: rgba(255, 255, 255, .45); }
.has-video .art-body ol.chapters li:hover b::after { content: " ▸"; }

/* episode cards: 16:9 stills with the running time on them */
.ep-thumb { aspect-ratio: 16 / 9; position: relative; }
.ep-thumb.is-art img { object-fit: contain; background: radial-gradient(ellipse at center, var(--glow), var(--deep) 75%); }
.ep-dur { position: absolute; right: 8px; bottom: 8px; padding: 5px 7px; background: rgba(4, 22, 12, .82); color: var(--ivory); font: 600 9px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; }

/* Show archives share the written lead layout, with widescreen episode artwork. */
.show-page { background: var(--deep); color: var(--ivory); }
.show-page .arc-lead .card-img { width: 100%; height: auto; min-height: 0; aspect-ratio: 16 / 9; align-self: center; }
.show-page .arc-lead .card-img img { object-fit: contain; }
@media (min-width: 901px) and (max-width: 980px) {
  .show-page .arc-lead-copy { padding-block: 20px; }
}
.show-shelf + .show-shelf { margin-top: clamp(56px, 6vw, 88px); }
.show-shelf .more-head span { color: var(--ivory-dim); font: 600 9.5px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; }
.show-shelf .more-head { margin-bottom: 28px; padding-bottom: 22px; border-color: rgba(214, 186, 120, .4); }
.show-shelf .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(24px, 4vw, 56px); }
.show-shelf .ep-card { display: grid; grid-template-columns: minmax(0, 40%) minmax(0, 1fr); grid-template-rows: auto auto 1fr; column-gap: clamp(16px, 2vw, 28px); row-gap: 9px; align-content: start; padding: 24px 0; border-bottom: 1px solid rgba(247, 244, 234, .18); }
.show-shelf .ep-thumb { grid-column: 1; grid-row: 1 / 4; align-self: start; box-shadow: none; }
.show-shelf .ep-card .card-meta { grid-column: 2; margin: 0; }
.show-shelf .ep-card h3 { grid-column: 2; font-size: clamp(20px, 1.7vw, 25px); }
.show-shelf .ep-card p { grid-column: 2; }
@media (max-width: 720px) {
  .show-shelf .cards { grid-template-columns: 1fr; }
}

/* Under the Number and Clubhouse start on paper and continue on deep green. */
:is(.show-under-the-number, .show-clubhouse):is(.show-page, .ep-page) .art-head {
  color:var(--ink);
  background:radial-gradient(ellipse 80% 90% at 50% 15%, #faf8f1 0%, var(--paper) 65%, var(--paper-2) 100%);
}
:is(.show-under-the-number, .show-clubhouse):is(.show-page, .ep-page) .art-head :is(.art-sub, .art-by) { color:var(--ink-dim); }
:is(.show-under-the-number, .show-clubhouse):is(.show-page, .ep-page) .art-head :is(.art-series, .art-by b) { color:var(--ink); }
:is(.show-under-the-number, .show-clubhouse):is(.show-page, .ep-page) .art-head a.art-series:hover { color:var(--gold-ink); }
:is(.show-under-the-number, .show-clubhouse).ep-page { background:var(--deep); }
:is(.show-under-the-number, .show-clubhouse).ep-page .art-paper { background:var(--deep); }
:is(.show-under-the-number, .show-clubhouse).ep-page .art-body { color:var(--ivory); --rule:rgba(247,244,234,.2); }
:is(.show-under-the-number, .show-clubhouse).ep-page .art-body :is(h2, h3, blockquote, a) { color:var(--ivory); }
:is(.show-under-the-number, .show-clubhouse).ep-page .art-body h4,
:is(.show-under-the-number, .show-clubhouse).ep-page .art-body li::marker { color:var(--gold); }
:is(.show-under-the-number, .show-clubhouse).ep-page .art-body a:hover { color:var(--gold); }
:is(.show-under-the-number, .show-clubhouse).ep-page .art-body a.card { color:var(--ink); background:var(--paper); }
:is(.show-under-the-number, .show-clubhouse).ep-page .art-body a.card:hover { color:var(--deep); background:#faf8f1; }
:is(.show-under-the-number, .show-clubhouse).ep-page .art-body p.cta a { color:var(--deep); background:var(--ivory); }
:is(.show-under-the-number, .show-clubhouse).ep-page .ep-platform { color:var(--ivory); border-color:rgba(247,244,234,.3); }
:is(.show-under-the-number, .show-clubhouse).ep-page .ep-platform:hover { color:var(--gold); border-color:var(--gold); }

@media (max-width: 720px) {
  .ep-listen { flex-direction: column; align-items: center; }
  .ep-audio { max-width: none; }
  .art-body ol.chapters li { grid-template-columns: 62px 1fr; }
}

/* ---------- Essays and Field Notes: the homepage footer on the hero's deep green ----------
   Same markup and layout (assets/footer.css); only the colours flip: ivory ink, the hero's gold, its soft light
   at the top, and the stadium engraving cut into the green instead of the paper. */
:is(.series-essays, .series-field-notes) .site-footer {
  --ft-ink: #f7f4ea; --ft-dim: rgba(247, 244, 234, .62); --ft-rule: rgba(247, 244, 234, .16); --ft-accent: #d6ba78;
  background-color: var(--deep);
  background-image:
    radial-gradient(ellipse 85% 480px at 50% 0%, rgba(20, 80, 49, .9), transparent 100%),
    radial-gradient(ellipse 150% 100% at 50% 45%, transparent 55%, rgba(0, 0, 0, .28) 100%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.2' numOctaves='2' seed='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  1.4 0 0 0 -0.62'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' opacity='.18' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: auto, auto, 160px 160px;
}
:is(.series-essays, .series-field-notes) .footer-cta { color: var(--deep); }
:is(.series-essays, .series-field-notes) .footer-cta:hover { background: var(--gold); }
:is(.series-essays, .series-field-notes) .footer-col { border-top-color: rgba(214, 186, 120, .4); }
:is(.series-essays, .series-field-notes) .footer-engrave .fe-cut { background: linear-gradient(180deg, rgba(0, 0, 0, .3), rgba(0, 0, 0, .18) 70%, rgba(0, 0, 0, .12)); }
:is(.series-essays, .series-field-notes) .footer-engrave .fe-shade { background: rgba(0, 0, 0, .5); }
:is(.series-essays, .series-field-notes) .footer-engrave .fe-catch { background: rgba(214, 186, 120, .22); }

/* Shared editorial typography */
html body :is(h1, h2, h3, h4, h5, h6) { font-family: Helvetica, Arial, sans-serif !important; font-weight: 700 !important; text-transform: uppercase; }
html body :is(p, li, figcaption, blockquote) { font-family: Helvetica, Arial, sans-serif; font-weight: 400; }

/* Match the homepage masthead. */
.nav { height:84px; }
.nav-mark img { height:56px; display:block; }
.nav-links { gap:28px; }
.nav-links > li { display:flex; align-items:center; }
.nav-links > li > a, .nav .nav-dropdown-toggle { display:inline-flex; align-items:center; padding:14px 0; color:#f3efe4; font:600 12px/1 Inter,system-ui,sans-serif; letter-spacing:.14em; }
.nav .nav-sub { background:transparent; color:#f3efe4; border:1px solid rgba(243,239,228,.75); padding:0 18px; font-size:11px; }
.nav .nav-sub:hover { background:#f3efe4; color:#263f2b; }
@media (max-width:720px) { .nav { height:70px; padding:0 12px; } .nav-mark img { height:46px; } .nav .nav-sub { padding:0 12px; font-size:10px; } }

.art-head .art-sub, .art-body, .art-body .card-title, .art-body .card-desc, .art-sign b { font-family: Helvetica, Arial, sans-serif; }
