*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; font: var(--weight-light) var(--text-base)/var(--leading-body) var(--font-sans); color: var(--color-text); background: var(--color-canvas); }
img { max-width: 100%; height: auto; }
a { color: var(--color-brand); }
a:hover { color: var(--color-heading); }
a:focus-visible, button:focus-visible { outline: var(--focus-ring); outline-offset: 2px; }
h1, h2, h3 { color: var(--color-heading); font-weight: var(--weight-bold); line-height: var(--leading-tight); letter-spacing: var(--tracking-tight); }

/* Layout: nothing is full bleed. Header, main, footer and every home section are cards on the canvas. */
.site-header, main, .site-footer { margin: var(--space-3) var(--gutter); background: var(--color-surface); border-radius: var(--radius-card); }
.site-header { position: sticky; top: var(--space-3); z-index: var(--z-header); background: var(--color-glass); backdrop-filter: blur(20px) saturate(180%); box-shadow: var(--shadow-card); display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-3); padding: var(--space-3) var(--space-4); }
#main-nav { margin-left: auto; } /* logo left, nav right */
.nav > li:last-child > ul { right: 0; transform-origin: top right; } /* Take Action is last: open its menu toward the left */
.nav, .nav ul, .site-footer ul, .card-grid { list-style: none; margin: 0; padding: 0; }
.site-header__logo img { display: block; }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-1); }
.nav a, .nav__parent { display: inline-flex; align-items: center; gap: var(--space-1); min-height: 2.75rem; padding: 0 var(--space-3); font: inherit; font-weight: var(--weight-regular); color: var(--color-brand); text-decoration: none; background: none; border: 0; border-radius: var(--radius-card); cursor: pointer; }
.nav a:hover, .nav__parent:hover { color: var(--color-heading); background: var(--color-canvas); }
.nav [aria-current] { color: var(--color-heading); font-weight: var(--weight-bold); background: var(--color-canvas); }
.nav__parent { font-weight: var(--weight-bold); box-shadow: inset 0 0 0 1.5px var(--color-brand); }  /* Take Action: outlined pill, so it never looks like the current page (filled) */
.nav__parent:hover { color: var(--color-brand); background: var(--color-canvas); }
.nav__parent[aria-current] { color: var(--color-heading); }
.nav__parent svg, .nav-toggle svg { width: 1.25rem; height: 1.25rem; transition: transform 150ms ease-out; }
.nav__parent[aria-expanded="true"] svg { transform: rotate(180deg); }
.nav li { position: relative; }
.nav li > ul { display: none; position: absolute; z-index: var(--z-dropdown); min-width: 15rem; margin-top: var(--space-2); padding: var(--space-2); background: var(--color-surface); box-shadow: var(--shadow-pop); border-radius: var(--radius-card); }
.nav li > ul a { display: flex; width: 100%; border-radius: var(--radius); }
/* Without JS: hover or keyboard focus opens it. With JS: only the button's aria-expanded does. */
html:not(.js) .nav li:hover > ul, html:not(.js) .nav li:focus-within > ul { display: block; }
.nav [aria-expanded="true"] + ul { display: block; }
/* Reveal from the trigger: fade and a small drop, 150ms. */
.nav li > ul { opacity: 0; transform: translateY(-.25rem) scale(.98); transform-origin: top left; transition: opacity 150ms ease-out, transform 150ms ease-out, display 150ms allow-discrete; }
html:not(.js) .nav li:hover > ul, html:not(.js) .nav li:focus-within > ul, .nav [aria-expanded="true"] + ul { opacity: 1; transform: none; }
@starting-style { .nav [aria-expanded="true"] + ul { opacity: 0; transform: translateY(-.25rem) scale(.98); } }
.skip-link { position: absolute; top: var(--space-2); left: var(--space-2); z-index: calc(var(--z-header) + 1); padding: .75rem 1rem; background: var(--color-surface); border-radius: var(--radius); transform: translateY(-200%); }
.skip-link:focus { transform: none; }

main { padding: var(--space-5); }
/* Card lists sit on the canvas: no white section behind white cards. Inside a white section (More Stories) a .card stays canvas. */
main:has(> .reference > :is(.card-grid, .episode-grid)), .band:has(> :is(.card-grid, .episode-grid)) { background: none; padding-inline: 0; }
:is(main:has(> .reference > .card-grid), .band:has(> .card-grid)) .card { background: var(--color-surface); }
.article { max-width: var(--measure); margin-inline: auto; }
.back { display: inline-block; margin-bottom: var(--space-4); font-size: var(--text-xs); font-weight: var(--weight-bold); text-decoration: none; }
.article h1 { font-size: var(--text-h1); line-height: var(--leading-display); margin: var(--space-1) 0 var(--space-3); }
.article time { font-size: var(--text-xs); }
.article__hero { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; margin-block: var(--space-4); border-radius: var(--radius); }
.eyebrow { margin: 0; font-size: var(--text-xs); font-weight: var(--weight-bold); text-transform: uppercase; letter-spacing: var(--tracking-wide); color: var(--color-brand); }
.prose h2 { font-size: var(--text-xl); margin-top: var(--space-5); }

.more-stories { margin-top: var(--space-5); }
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(16rem, 1fr)); gap: var(--space-4); }
/* Card: grey block, image on top (one ratio for all), text padded. The whole card is one link (the title link is stretched over it). */
.card { position: relative; display: flex; flex-direction: column; overflow: hidden; background: var(--color-canvas); border-radius: var(--radius-card); transition: transform 100ms ease-out, box-shadow 150ms ease-out; }
.card:active { transform: scale(.98); }
.card:has(:focus-visible) { outline: var(--focus-ring); outline-offset: 2px; }
.card img { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform 300ms ease-out; }
.card__body { display: flex; flex: 1; flex-direction: column; gap: var(--space-1); padding: var(--space-4); }
.card h2, .card h3 { margin: 0; font-size: var(--text-base); }
.card__link { color: var(--color-heading); text-decoration: none; }
.card__link:hover { color: var(--color-brand); }
.card__link:focus-visible { outline: none; }
.card__link::after { content: ""; position: absolute; inset: 0; }
.card time { margin-top: auto; padding-top: var(--space-3); font-size: var(--text-xs); }
@media (hover: hover) {
  .card:hover { box-shadow: var(--shadow-pop); }
  .card:hover img { transform: scale(1.03); }
}

.site-footer { display: grid; gap: var(--space-5); padding: var(--space-5); }
.site-footer__brand p { max-width: 20rem; margin: var(--space-3) 0 0; }
.site-footer__cols { display: flex; flex-wrap: wrap; gap: var(--space-4) calc(var(--space-5) * 2); }
.site-footer h2 { margin: 0 0 var(--space-3); font-size: var(--text-xs); text-transform: uppercase; letter-spacing: var(--tracking-wide); color: var(--color-brand); }
.site-footer li + li { margin-top: var(--space-2); }
.site-footer__cols a { color: var(--color-text); text-decoration: none; }
.site-footer__cols a:hover { color: var(--color-brand); }
.site-footer__legal { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-3); padding-top: var(--space-4); border-top: 1px solid var(--color-border); font-size: var(--text-xs); }
.site-footer__legal p { margin: 0; }
.site-footer__social { display: flex; gap: var(--space-2); }
.site-footer .site-footer__social li + li { margin-top: 0; }
.site-footer__social a { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; color: var(--color-text); border-radius: var(--radius); }
.site-footer__social a:hover { color: var(--color-brand); }
.site-footer__social svg { width: 1.25rem; height: 1.25rem; }
@media (min-width: 48rem) { .site-footer { grid-template-columns: 1fr auto; } .site-footer__legal { grid-column: 1 / -1; } }

/* Listing + reference pages */
.reference { margin-inline: auto; }
.reference h1 { font-size: var(--text-h1); margin: 0 0 var(--space-2); }
.lede { font-size: var(--text-lg); margin-top: 0; }
.reference__head > :last-child { margin-bottom: 0; }
.callout { padding: var(--space-4); background: var(--color-canvas); border-radius: var(--radius-card); }
/* Contents: one scrolling row of chips on phones, a sticky column from 48rem. */
.toc .link-grid { display: flex; overflow-x: auto; gap: var(--space-2); padding-bottom: var(--space-1); }
.toc .link-grid a { white-space: nowrap; padding: 0 var(--space-3); min-height: 2.75rem; display: flex; align-items: center; }
.link-grid a[aria-current] { color: var(--color-brand); box-shadow: inset 0 0 0 2px var(--color-brand); }
/* Two columns from 48rem: sticky Contents on the left (1/4), content on the right (3/4). */
@media (min-width: 48rem) {
  .reference:has(> .toc) { grid-template-columns: 1fr 3fr; align-items: start; }
  .reference:has(> .toc) > .reference__head { grid-column: 1 / -1; }
  .toc { position: sticky; top: var(--header-offset); max-height: calc(100vh - var(--header-offset) - var(--space-3)); overflow-y: auto; }
  .toc .link-grid { display: grid; grid-template-columns: 1fr; gap: var(--space-1); overflow-x: visible; }
  .toc .link-grid a { justify-items: start; text-align: left; white-space: normal; padding: var(--space-2) var(--space-3); }
}
.toc h2 { font-size: var(--text-md); }
.entry { padding: var(--space-4); margin-block: var(--space-4); background: var(--color-canvas); border-radius: var(--radius-card); scroll-margin-top: var(--header-offset); }
.entry h2 { margin-top: 0; }
.entry p { margin: var(--space-1) 0; }
.entry ul { padding-left: 1.25rem; }
.link-grid { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr)); gap: var(--space-4); }
.link-grid a { display: grid; justify-items: center; align-content: center; gap: var(--space-2); padding: var(--space-4) var(--space-3); text-align: center; font-weight: var(--weight-bold); text-decoration: none; color: var(--color-heading); background: var(--color-canvas); border-radius: var(--radius-card); }
.link-grid a:hover { color: var(--color-brand); box-shadow: inset 0 0 0 2px var(--color-brand); }
.link-grid svg { width: 2.5rem; height: 2.5rem; stroke: var(--color-brand); stroke-width: 1.5; }
.link-grid--feature { grid-template-columns: repeat(2, 1fr); }
.link-grid--feature li { display: grid; } /* tile fills its row, so every tile in a row is the same height */
.link-grid--feature a { padding-block: var(--space-5); font-size: var(--text-md); }
@media (min-width: 48rem) { .link-grid--feature { grid-template-columns: repeat(4, 1fr); } }
.episode { padding: var(--space-4); background: var(--color-surface); border-radius: var(--radius-card); }
.episode :is(h2, h3) { margin: var(--space-1) 0 0; font-size: var(--text-md); }
/* Uniform media: every photo is cropped to 3:2, same as .card; no photo = canvas block. */
.episode img, .episode__media { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; margin-bottom: var(--space-3); border-radius: var(--radius); background: var(--color-canvas); }
.episode-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(16rem, 1fr)); gap: var(--space-4); }

/* Home */
body:has(.hero) main { display: grid; gap: var(--space-3); padding: 0; background: none; border-radius: 0; }
.hero { position: relative; isolation: isolate; overflow: hidden; border-radius: var(--radius-card); background: var(--color-surface-inverse) url("/media/hero-poster.jpg") center / cover; color: var(--color-on-inverse); }
.hero__inner { padding: 6rem var(--space-5); background: linear-gradient(90deg, var(--color-scrim), transparent); }
.hero h1 { color: var(--color-on-inverse); font-size: var(--text-display); line-height: var(--leading-display); max-width: 18ch; }
.hero .lede { max-width: 32rem; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2); min-height: 2.75rem; padding: 0 var(--space-4); font: inherit; font-weight: var(--weight-bold); text-decoration: none; color: var(--color-on-brand); background: var(--color-brand); border: 0; border-radius: var(--radius-pill); cursor: pointer; }
.button:hover { color: var(--color-on-brand); background: var(--color-brand-hover); }
.button:disabled { opacity: .6; cursor: progress; }
.button svg { width: 1.1em; height: 1.1em; }
.button--secondary { color: var(--color-heading); background: var(--color-surface); box-shadow: inset 0 0 0 1px var(--color-border-strong); }
.button--secondary:hover { color: var(--color-brand); background: var(--color-surface); }
.button--ghost { background: transparent; box-shadow: inset 0 0 0 2px currentColor; }
.button--ghost:hover { background: var(--color-ghost-hover); }
.hero .button:focus-visible { outline-color: var(--color-on-inverse); }
.band { display: grid; align-content: start; gap: var(--space-4); padding: var(--space-5); background: var(--color-surface); border-radius: var(--radius-card); }
.band h2 { margin: 0; font-size: var(--text-section); }
.band > img { border-radius: var(--radius); }
.band--stack .eyebrow + h2 { margin-top: calc(var(--space-2) * -1); }
.cta { display: grid; align-content: center; justify-items: center; gap: var(--space-3); padding: var(--space-5); border-radius: var(--radius-card); text-align: center; color: var(--color-on-brand); background: var(--color-brand); }
.cta > * { margin: 0; }
.cta h2 { color: var(--color-on-brand); }
.cta .button { color: var(--color-brand); background: var(--color-surface); }
.cta .button:focus-visible { outline-color: var(--color-on-brand); }
.cta .button:hover { color: var(--color-heading); background: var(--color-canvas); }

/* About + forms */
.prose video, .prose img { display: block; max-width: 100%; height: auto; margin-block: var(--space-4); border-radius: var(--radius); }
.form-page { max-width: var(--measure); }
.form { display: grid; gap: var(--space-4); margin-top: var(--space-4); padding: var(--space-4); background: var(--color-canvas); border-radius: var(--radius-card); }
.form label { display: grid; gap: var(--space-2); font-size: var(--text-sm); font-weight: var(--weight-bold); color: var(--color-heading); }
.form input, .form textarea { font: inherit; font-weight: var(--weight-regular); padding: .75rem 1rem; color: var(--color-text); background: var(--color-surface); border: 1px solid var(--color-border-strong); border-radius: var(--radius); }
.form textarea { resize: vertical; }
.form input:focus-visible, .form textarea:focus-visible { outline: var(--focus-ring); outline-offset: 1px; border-color: var(--color-brand); }
.form .meta { margin: calc(var(--space-2) * -1) 0 0; }
.form button { justify-self: start; }
@media (max-width: 47.99rem) { .form button { justify-self: stretch; } }

/* Shop */
.product { display: grid; align-content: start; gap: var(--space-1); padding-bottom: var(--space-3); }
.product img { aspect-ratio: 1; }
.product > :not(img, .button) { padding-inline: var(--space-3); }
.product h2 { margin: var(--space-2) 0 0; }
.product .button { justify-self: start; margin: var(--space-2) var(--space-3) 0; }
.price { margin: 0; font-weight: var(--weight-bold); color: var(--color-heading); }
.meta { margin: 0; font-size: var(--text-xs); }

/* Mobile nav: collapse only when JS is present. The open menu is an overlay under the header, so the page does not jump. */
.nav-toggle { display: inline-flex; align-items: center; gap: var(--space-2); min-height: 2.75rem; padding: 0 var(--space-3); font: inherit; font-weight: var(--weight-bold); color: var(--color-heading); background: none; border: 1px solid var(--color-border-strong); border-radius: var(--radius-card); cursor: pointer; }
.nav-toggle[hidden] { display: none; }
.nav-toggle svg:nth-of-type(2), .nav-toggle[aria-expanded="true"] svg:nth-of-type(1) { display: none; }
.nav-toggle[aria-expanded="true"] svg:nth-of-type(2) { display: block; }
@media (min-width: 48rem) { .nav-toggle { display: none; } }
@media (max-width: 47.99rem) {
  .site-header__logo img { max-width: 11rem; }
  .nav-toggle { margin-left: auto; }
  .js #main-nav { display: none; }
  .js.nav-open #main-nav { display: block; position: absolute; top: calc(100% + var(--space-2)); left: 0; right: 0; max-height: calc(100vh - var(--header-offset)); overflow-y: auto; padding: var(--space-3); background: var(--color-surface); border-radius: var(--radius-card); box-shadow: var(--shadow-pop); }
  .nav { flex-direction: column; align-items: stretch; }
  .nav a, .nav__parent { width: 100%; justify-content: space-between; }
  .nav li > ul { position: static; margin: 0; padding: 0 0 0 var(--space-3); box-shadow: none; opacity: 1; transform: none; }
  html:not(.js) .nav li > ul { display: block; }
}
.hero__video { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; object-fit: cover; }
@media (prefers-reduced-motion: reduce) { .hero__video { display: none; } }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* States: one Entry = facts list + action buttons */
.facts { display: grid; gap: var(--space-1) var(--space-3); margin: 0; }
@media (min-width: 48rem) { .facts { grid-template-columns: max-content 1fr; } }
.actions { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-block: var(--space-4) 0; }
.facts dt { font-weight: var(--weight-bold); }
.facts dd { margin: 0; }
.inline { list-style: none; display: flex; flex-wrap: wrap; gap: var(--space-1) var(--space-3); padding: 0; margin: var(--space-1) 0 0; }

/* Feedback: respond on press, instantly. Springs are not needed for taps. */
.button, .link-grid a, .nav-toggle, .nav a, .nav__parent { transition: transform 100ms ease-out; }
.button:active, .link-grid a:active, .nav-toggle:active, .nav a:active, .nav__parent:active { transform: scale(.97); }
@media (prefers-reduced-motion: reduce) {
  .button, .link-grid a, .nav-toggle, .nav a, .nav__parent, .nav li > ul, .nav__parent svg, .card, .card img { transition: none; }
  .card:active, .card:hover img { transform: none; }
  .button:active, .link-grid a:active, .nav-toggle:active, .nav a:active, .nav__parent:active { transform: none; }
}
@media (prefers-reduced-transparency: reduce) {
  .site-header { background: var(--color-surface); backdrop-filter: none; }
}
.entry .actions { margin-top: var(--space-3); }
.entry .meta { margin: 0 0 var(--space-2); }
.entry:target { box-shadow: 0 0 0 2px var(--color-brand); }
.bill-number { font-weight: var(--weight-bold); color: var(--color-brand); }

/* Row variant: square thumbnail left, text right. Opt in with .card--row / .episode--row; every card is a row on mobile. */
.card--row { flex-direction: row; }
.card--row img { flex: none; width: 7rem; aspect-ratio: 1; }
.card--row .card__body { padding: var(--space-3); }
.episode--row { display: grid; grid-template-columns: 6rem 1fr; align-content: center; column-gap: var(--space-3); padding: var(--space-3); }
.episode--row :is(img, .episode__media) { grid-row: span 2; aspect-ratio: 1; margin: 0; }
@media (width < 48rem) {
  .card { flex-direction: row; }
  .card img { flex: none; width: 7rem; aspect-ratio: 1; }
  .card .card__body { padding: var(--space-3); }
  .episode { display: grid; grid-template-columns: 6rem 1fr; align-content: center; column-gap: var(--space-3); padding: var(--space-3); }
  .episode :is(img, .episode__media) { grid-row: span 2; aspect-ratio: 1; margin: 0; }
}

/* Two columns: text, then media in its own column. Stacks below 48rem. */
.split { display: grid; gap: var(--space-5); align-items: start; }
.split > div > :first-child { margin-top: 0; }
.split img { display: block; width: 100%; height: auto; border-radius: var(--radius); }
@media (min-width: 48rem) { .split { grid-template-columns: 1fr 1fr; } }
/* About page: two white .band.split cards on the canvas. Media is cropped to one shape and centered on the text, so both cards match. */
main:has(> .reference > .band) { background: none; padding-inline: 0; }
.reference > .band + .band { margin-top: var(--space-3); }
.split { align-items: center; }
.split > :is(img, video) { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; margin: 0; border-radius: var(--radius); }
.split > div > :last-child { margin-bottom: 0; }
@media (min-width: 48rem) { .split--flip > img, .split--flip > video { order: -1; } }
.split > .split__cutout { object-fit: contain; border-radius: 0; } /* transparent PNG: show it whole, no crop */
/* External link: small trailing icon after the label. */
.external { display: inline-flex; align-items: center; gap: var(--space-1); }
.nav a.external { justify-content: flex-start; }
.external svg { flex: none; width: 1em; height: 1em; stroke: currentColor; stroke-width: 2; opacity: .7; }
/* Contents: one white card. Links have no fill of their own; hover and the Entry on screen (aria-current) get a canvas pill. */
.toc { padding: var(--space-3); background: var(--color-surface); border-radius: var(--radius-card); }
.toc h2 { margin: 0 0 var(--space-2); padding-inline: var(--space-3); }
.toc .link-grid { margin: 0; }
.toc .link-grid a { font-weight: var(--weight-regular); color: var(--color-text); background: none; border-radius: var(--radius); box-shadow: none; transition: background-color 150ms ease-out, color 150ms ease-out; }
.toc .link-grid a:hover { color: var(--color-heading); background: var(--color-canvas); box-shadow: none; }
.toc .link-grid a[aria-current] { color: var(--color-brand); font-weight: var(--weight-bold); background: var(--color-canvas); box-shadow: none; }

/* Reference pages (States, Organizations, Congressional Bills): head, Contents and every Entry are white cards on the canvas, one gap everywhere. */
main:has(> .reference > .toc) { padding: 0; background: none; }
.reference:has(> .toc) { display: grid; gap: var(--space-3); }
.reference:has(> .toc) > .reference__head { padding: var(--space-5); background: var(--color-surface); border-radius: var(--radius-card); }
.entries { display: grid; gap: var(--space-3); }
.entries .entry { margin: 0; padding: var(--space-5); background: var(--color-surface); }
@media (width < 48rem) { .reference:has(> .toc) > .reference__head, .entries .entry { padding: var(--space-4); } }

/* Bill Entry: meta row, then two equal labeled columns split by a rule, then the action. */
.entry .bill__meta { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2); margin: var(--space-2) 0 0; }
.bill__body { display: grid; gap: var(--space-4); margin-top: var(--space-4); padding-top: var(--space-4); border-top: 1px solid var(--color-border); }
.bill__body h3 { margin: 0 0 var(--space-2); font-size: var(--text-xs); text-transform: uppercase; letter-spacing: var(--tracking-wide); color: var(--color-brand); }
.bill__body ul { margin: 0; padding-left: 1.25rem; }
.bill__body li + li { margin-top: var(--space-2); }
.entry .bill__action { display: grid; gap: var(--space-1); margin: 0; }
.entry .bill__action + .bill__action { margin-top: var(--space-3); }
.bill__action .meta { font-weight: var(--weight-bold); color: var(--color-heading); }
@media (min-width: 48rem) { .bill__body { grid-template-columns: 1fr 1fr; gap: var(--space-5); } }

/* Bill stage timeline: dots joined by a line. Filled = done, ringed + bold = where it is now, grey = to come.
   Vertical on phones, one row of 5 from 48rem. */
.stages { list-style: none; display: grid; gap: var(--space-3); margin: var(--space-4) 0 0; padding: 0; --dot: .875rem; }
.entry .stages { padding: 0; }
.stages li { position: relative; display: flex; align-items: center; gap: var(--space-2); font-size: var(--text-xs); }
.stages li::before { content: ""; position: relative; z-index: 1; flex: none; width: var(--dot); height: var(--dot); box-sizing: border-box; border: 2px solid var(--color-border-strong); border-radius: 50%; background: var(--color-surface); }
.stages li:not(:last-child)::after { content: ""; position: absolute; left: calc(var(--dot) / 2 - 1px); top: var(--dot); bottom: calc(var(--space-3) * -1); width: 2px; background: var(--color-border); }
.stages .is-done::before { background: var(--color-brand); border-color: var(--color-brand); }
.stages .is-done::after { background: var(--color-brand); }
.stages [aria-current]::before { border-color: var(--color-brand); box-shadow: 0 0 0 3px var(--color-canvas); }
.stages [aria-current] { font-weight: var(--weight-bold); color: var(--color-heading); }
@media (min-width: 48rem) {
  .stages { grid-template-columns: repeat(5, 1fr); gap: var(--space-2); }
  .stages li { flex-direction: column; align-items: flex-start; }
  .stages li:not(:last-child)::after { left: var(--dot); right: calc(var(--space-2) * -1); top: calc(var(--dot) / 2 - 1px); bottom: auto; width: auto; height: 2px; }
}

/* Line height: paragraphs use --leading-body (from body). Short UI text that wraps (labels, nav, Contents, timeline,
   meta, eyebrows, buttons, footer links) uses --leading-ui; headings keep --leading-tight, so a wrapped label reads as one item. */
.nav, .toc, .stages, .meta, .eyebrow, .button, .link-grid, .site-footer ul, .site-footer__legal, .inline, .facts dt, label { line-height: var(--leading-ui); }
/* Dot sits on the first line of its label, also when the label wraps. */
.stages li { align-items: flex-start; --dot-y: calc((1em * var(--leading-ui) - var(--dot)) / 2); }
.stages li::before { margin-top: var(--dot-y); }
.stages li:not(:last-child)::after { top: calc(var(--dot-y) + var(--dot)); }
@media (min-width: 48rem) { .stages li { --dot-y: 0px; } .stages li:not(:last-child)::after { top: calc(var(--dot) / 2 - 1px); } }

/* Image corners: an image inset inside a card uses --radius (smaller, concentric with the card); an image flush to a card edge is clipped by the card's --radius-card. */
/* Home: every band sits on the canvas with no fill and no side padding, so all headings and grids share one left edge.
   Only the hero and the CTA are filled blocks. Anything that was a canvas block inside a white band (link tiles) turns white. */
body:has(.hero) .band { padding-inline: 0; background: none; }
body:has(.hero) .band .link-grid a { background: var(--color-surface); }
/* 4. "More" links (View more, All episodes, Learn more, back to News): Lucide arrow, not a typed one. */
.more { display: inline-flex; align-items: center; gap: var(--space-1); justify-self: start; font-weight: var(--weight-bold); text-decoration: none; }
.more svg { width: 1.1em; height: 1.1em; transition: transform 150ms ease-out; }
@media (hover: hover) { .more:hover svg { transform: translateX(2px); } .back.more:hover svg { transform: translateX(-2px); } }
@media (prefers-reduced-motion: reduce) { .more svg { transition: none; } }
/* Episode card = one link to Apple Podcasts (stretched title link). Same feedback as .card: shadow and image zoom on hover, 0.98 on press, ring on focus. */
.episode { position: relative; overflow: hidden; transition: transform 100ms ease-out, box-shadow 150ms ease-out; }
.episode img { transition: transform 300ms ease-out; }
.episode:active { transform: scale(.98); }
.episode:has(:focus-visible) { outline: var(--focus-ring); outline-offset: 2px; }
.episode__link { color: var(--color-heading); text-decoration: none; }
.episode__link:focus-visible { outline: none; }
.episode__link::after { content: ""; position: absolute; inset: 0; }
@media (hover: hover) { .episode:hover { box-shadow: var(--shadow-pop); } .episode:hover .episode__link { color: var(--color-brand); } .episode:hover img { transform: scale(1.03); } }
@media (prefers-reduced-motion: reduce) { .episode, .episode img { transition: none; } .episode:active, .episode:hover img { transform: none; } }
