/* =============================================================
   components.css: cards, buttons, chips, badges, inputs and the
   live module. No literal colour values: everything reads from
   tokens.css. Step 1 lays down the primitives; Step 3 completes
   the component set.
   ============================================================= */

/* ---- Text roles ---- */
.kicker {
  font-family: var(--font-ui);
  font-size: var(--kicker-size);
  font-weight: var(--kicker-weight);
  letter-spacing: var(--tracking-kicker);
  text-transform: var(--kicker-transform);
  color: var(--kicker-color);
}
.meta { font-family: var(--font-ui); font-size: var(--text-sm); color: var(--text-2); }
.dek { color: var(--text-2); }

/* ---- Buttons. 44px targets. Callout buttons are never pills. ---- */
.btn {
  font-family: var(--font-ui);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-1);
  min-height: var(--target);
  padding: 0 var(--space-2);
  border: 1px solid transparent;
  border-radius: var(--radius-button);
  background: transparent;
  font-size: var(--text-ui);
  font-weight: var(--weight-medium);
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color var(--hover-duration), border-color var(--hover-duration), box-shadow var(--hover-duration);
}
/* Buttons read by fill, so the link hover colour stops at their edge. */
.btn:hover { color: inherit; }
.btn-primary { background: var(--accent); color: var(--text-on-accent); border-color: var(--accent); }
.btn-primary:hover { color: var(--text-on-accent); }
/* The lift is a hover effect, so it lives behind (hover: hover): a tapped
   button on a phone never keeps a stuck shadow (Step 25, brief rule 6). */
@media (hover: hover) { .btn-primary:hover { box-shadow: var(--shadow-2); } }
.btn-secondary { background: var(--raised); border-width: var(--btn-border-width); border-color: var(--border-strong); }
.btn-secondary:hover { background: var(--accent-soft); }
.btn-quiet:hover { background: var(--accent-soft); }
/* Pressed: while held, a button, a chip or the header's Subscribe sinks a
   pixel and darkens a step. No transition, so it reads as a press; nothing
   moves over time, so it stays under reduced motion. */
.btn:active, .chip:active, .nav-subscribe:active { transform: translateY(var(--btn-press-shift)); filter: var(--btn-press-filter); box-shadow: none; }
/* A drawn mark inside a button, beside its label: the heart in the header's
   Donate. It takes the button's ink from currentColor, so it follows the
   fill and the hover without a colour of its own, and its box is set in em
   so it grows with the button's type. */
.btn__mark { width: var(--btn-mark); height: var(--btn-mark); flex: none; }
/* Icon button: a square target with the mark drawn from currentColor, so
   the row's text colour and hover carry into the glyph. Always sits next
   to a visible label for the group. */
.btn-icon { width: var(--target); padding: 0; }
.btn-icon svg { width: var(--icon-size); height: var(--icon-size); display: block; }

/* ---- Chips. Functional only: topics, filters, guest tags. ---- */
.chip {
  font-family: var(--font-ui);
  display: inline-flex;
  align-items: center;
  gap: var(--space-half);
  min-height: var(--target);
  padding: 0 var(--space-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  background: var(--raised);
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color var(--hover-duration), border-color var(--hover-duration);
}
.chip:hover { color: inherit; border-color: var(--border-strong); }
.chip.is-active, .chip[aria-pressed="true"] {
  background: var(--accent);
  color: var(--text-on-accent);
  border-color: var(--accent);
}
.chip-row { display: flex; flex-wrap: wrap; gap: var(--space-1); }

/* ---- Badges ---- */
.badge {
  font-family: var(--font-ui);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  background: var(--accent-soft);
  font-size: var(--text-xs);
  font-weight: var(--weight-medium);
  letter-spacing: var(--tracking-kicker);
  text-transform: uppercase;
  line-height: 1.2;
}
.badge-live { background: var(--live); color: var(--text-on-accent); }
.badge-live::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: currentColor;
}

/* ---- Inputs ---- */
.input {
  width: 100%;
  min-height: var(--target);
  padding: 0 var(--space-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-input);
  background: var(--sunk);
  transition: border-color var(--hover-duration);
}
.input:hover, .input:focus { border-color: var(--border-strong); outline: none; }
/* The line above drops the ring for the mouse; keyboard focus keeps it. */
.input:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.input::placeholder { color: var(--text-3); }

/* ---- Header search. A real field rather than a link, so it reads as somewhere
        to type. Tucker's header box is 253px wide; --search-w is the smaller one.
        The magnifier is inset on the left and the placeholder carries the label.
        Search results are out of scope, so the form goes nowhere. ---- */
.search-field {
  position: relative;
  display: flex;
  align-items: center;
  flex: none;
  width: var(--search-w);
  margin-inline: var(--space-half);
}
.search-field .glyph {
  position: absolute;
  left: var(--space-2);
  color: var(--text-3);
  pointer-events: none;
}
.search-field .input {
  padding-left: calc(var(--space-2) + 1em + var(--space-1));
  font-size: var(--text-ui);
}
/* The browser draws its own clear button in its accent blue. Nothing here is
   allowed a colour off the token scale, so it goes; retyping clears the field. */
.search-field .input::-webkit-search-cancel-button { -webkit-appearance: none; appearance: none; }

/* The field holding an open popover reads as pressed: its own border, raised fill. */
.search-field .input.is-open { border-color: var(--search-field-open-border); background: var(--raised); }
/* With the popover open the ring hugs the field, so the two edges do not stack. */
.search-field .input.is-open:focus-visible { outline-offset: 0; outline-color: var(--search-field-open-ring); }

/* ---- Search results (2026-09-18). The popover js/search.js opens under the
        field: kind chips, then Best match with photos, then Most recent as a
        dated list, then the way to everything. Right edge on the field's right
        edge, one token wide. Every rule sits at two classes because the header
        sets nowrap, inline-flex and nav padding on any anchor inside it, and
        the nav face on it too; the rows inherit the popover's instead. ---- */
.search-results {
  position: var(--search-results-position); /* static inside the phone menu sheet (Step 25) */
  top: calc(100% + var(--space-1));
  right: 0;
  z-index: 40;
  width: var(--search-results-w);
  max-width: calc(100vw - 2 * var(--gutter));
  display: flex;
  flex-direction: column;
  max-height: var(--search-results-max-h);
  padding: var(--search-results-pad);
  background: var(--search-results-fill);
  border: 1px solid var(--search-results-border);
  border-radius: var(--search-results-radius);
  box-shadow: var(--search-results-shadow);
  font-family: var(--font-ui);
  color: var(--text);
  text-align: left;
}
.search-results[hidden] { display: none; }
.search-results a { white-space: normal; font-family: inherit; font-weight: var(--weight-regular); }
/* The kind chips: functional filters, so pills. The pressed one fills with ink.
   Every value is a --search-* token, so a direction can close the gaps and
   join the five into one segmented control (F does) with no selector of its
   own: the join pulls each chip onto its neighbour's hairline, and the row's
   two outer ends take the control's radius. */
.search-results .search-results__chips { flex: none; display: flex; flex-wrap: wrap; gap: var(--search-chips-gap); margin: 0 0 var(--space-2); }
/* A long list scrolls inside the popover; the chips and the foot hold still. */
.search-results .search-results__scroll { flex: 1 1 auto; min-height: 0; overflow-y: var(--search-scroll-overflow); overscroll-behavior: contain; }
.search-results .search-results__foot { flex: none; }
.search-results .chip-filter {
  display: inline-flex;
  flex: var(--search-chip-grow) 1 var(--search-chip-basis);
  align-items: center;
  justify-content: var(--search-chip-align);
  gap: var(--space-1);
  min-height: var(--search-chip-h);
  padding: var(--search-chip-pad);
  border: 1px solid var(--search-chip-border);
  border-radius: var(--search-chip-radius);
  background: var(--search-chip-fill);
  font: inherit;
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  color: var(--search-chip-ink);
  cursor: pointer;
  transition: background-color var(--search-motion), border-color var(--search-motion);
}
.search-results .chip-filter + .chip-filter { margin-inline-start: var(--search-chip-join); }
.search-results .chip-filter:first-child { border-start-start-radius: var(--search-chips-radius); border-end-start-radius: var(--search-chips-radius); }
.search-results .chip-filter:last-child { border-start-end-radius: var(--search-chips-radius); border-end-end-radius: var(--search-chips-radius); }
.search-results .chip-filter:hover { background: var(--search-chip-hover); border-color: var(--search-chip-hover-border); color: var(--search-chip-hover-ink); }
/* The pressed chip and a focused one sit over their neighbours, so where two
   joined hairlines share a line, theirs is the one drawn. */
.search-results .chip-filter[aria-pressed="true"] { position: relative; z-index: 1; background: var(--search-chip-on); border-color: var(--search-chip-on); color: var(--search-chip-on-text); }
.search-results .chip-filter[data-empty="true"] { color: var(--text-3); }
.search-results .chip-filter[data-empty="true"][aria-pressed="true"] { color: var(--search-chip-on-text); }
.search-results .chip-filter__n { font-variant-numeric: tabular-nums; opacity: var(--search-chip-count-alpha); }
.search-results .chip-filter[data-empty="true"] .chip-filter__n { opacity: var(--search-chip-empty-count-alpha); }
.search-results .chip-filter[aria-pressed="true"] .chip-filter__n { opacity: var(--search-chip-on-count-alpha); }
.search-results .chip-filter:focus-visible { position: relative; z-index: 2; outline: 2px solid var(--search-focus); outline-offset: 2px; }

.search-results .search-results__head {
  margin: 0 0 var(--space-half);
  padding: 0 var(--space-1);
  font-size: var(--text-xs);
  font-weight: var(--kicker-weight);
  letter-spacing: var(--tracking-kicker);
  text-transform: var(--kicker-transform);
  color: var(--kicker-color);
}
.search-results .search-results__group + .search-results__group { margin-top: var(--space-3); }
.search-results .search-results__list { list-style: none; margin: 0; padding: 0; }
.search-results .search-results__row {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  min-height: var(--target);
  padding: var(--space-1);
  border-radius: var(--search-row-radius);
  color: inherit;
  font-size: inherit;
  text-decoration: none;
  transition: background-color var(--search-motion);
}
/* The hover rule carries the anchor's type selector so it ties the header's
   own anchor hover (layout.css, .nav-secondary a:hover) and wins on file
   order; at two classes it lost, and a hovered row took --accent-soft
   instead of --search-row-active. */
.search-results a.search-results__row:hover, .search-results .search-results__row[aria-selected="true"] { background: var(--search-row-active); color: inherit; }
.search-results .search-results__row:focus-visible { outline: 2px solid var(--search-focus); outline-offset: -2px; }
/* The photo slot. Empty when the item has none, so the titles keep their column. */
.search-results .search-results__media { flex: none; width: var(--search-thumb-w); aspect-ratio: 16 / 9; border-radius: var(--radius-sm); overflow: hidden; background: var(--sunk); }
.search-results .search-results__media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.search-results .search-results__body { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.search-results .search-results__title {
  font-family: var(--font-body);
  font-size: var(--search-title-size);
  font-weight: var(--weight-medium);
  line-height: var(--leading-snug);
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}
.search-results .search-results__hit { background: none; color: inherit; font-weight: var(--search-hit-weight); }
.search-results .search-results__meta { display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--space-half) var(--space-1); font-size: var(--text-sm); color: var(--text-2); }
.search-results .search-results__meta > * + *::before { content: "\00B7"; margin-right: var(--space-1); color: var(--text-3); }
.search-results .search-results__kind { font-size: var(--text-xs); font-weight: var(--kicker-weight); letter-spacing: var(--tracking-kicker); text-transform: var(--kicker-transform); color: var(--kicker-color); }
/* The record rows: one line of title, the date and kind under it. */
.search-results .search-results__row--recent .search-results__title { display: block; white-space: nowrap; text-overflow: ellipsis; }
.search-results .search-results__empty { padding: var(--space-1) var(--space-1) var(--space-2); }
.search-results .search-results__empty-title { margin: 0 0 var(--space-half); font-size: var(--search-title-size); font-weight: var(--weight-medium); }
.search-results .search-results__empty .meta { margin: 0; }
.search-results .search-results__foot { display: flex; align-items: center; gap: var(--space-2); margin-top: var(--space-2); padding: var(--space-2) var(--space-1) 0; border-top: 1px solid var(--border); }
.search-results .search-results__foot .more { padding: var(--search-foot-pad); background: var(--search-foot-fill); color: var(--search-foot-ink); font-weight: var(--weight-medium); transition: background-color var(--search-motion); }
.search-results .search-results__foot .more:hover { background: var(--search-foot-fill-hover); color: var(--search-foot-ink-hover); }
.search-results .search-results__foot .more:focus-visible { outline-color: var(--search-focus); }
.search-results .search-results__hint { margin-left: var(--search-hint-push); font-size: var(--text-sm); color: var(--text-3); }
.search-results .search-results__hint kbd { font: inherit; padding: 1px 6px; border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--sunk); }

/* ---- The search results page (v1.1 item 8, 2026-10-19, search.html). Where
        the popover's last link and Enter land, on the chip the reader was
        on. The head is the field itself, under a kicker that is the page's
        h1; the bar is All articles' (the chips carry the popover's counts);
        the cards are the listings'. js/search-page.js draws it. ---- */
.search-page .episodes-head h1.kicker { margin: 0; font-size: var(--kicker-size); line-height: inherit; }
.search-page__form {
  position: relative;
  display: flex;
  align-items: center;
  max-width: var(--search-page-field-w);
  margin-top: var(--search-page-field-gap);
}
.search-page__form .glyph {
  position: absolute;
  left: var(--space-2);
  color: var(--text-3);
  font-size: var(--search-page-field-size);
  pointer-events: none;
}
.search-page__form .input {
  min-height: var(--search-page-field-h);
  padding-left: calc(var(--space-2) + 1em + var(--space-1));
  font-size: var(--search-page-field-size);
}
.search-page__form .input::-webkit-search-cancel-button { -webkit-appearance: none; appearance: none; }
.search-page .episodes-head .dek { margin-top: var(--search-page-field-gap); }
.search-page .filter-bar__n { font-variant-numeric: tabular-nums; opacity: var(--search-page-count-alpha); }
/* With no query yet the bar steps aside, and on All so does the Sort. */
.search-page .filter-bar[hidden], .search-page .toolbar__sort[hidden] { display: none; }
/* On All, one block per kind: its name, the way to all of them, three cards. */
.search-group { margin-top: var(--search-page-group-gap); }
.search-group .episodes-grid { margin-top: 0; }
/* The bar's own rule closes the head, so the first block starts under it
   without a second. */
.search-page__results > .search-group:first-child { margin-top: var(--space-4); }
.search-page__results > .search-group:first-child > .section-head { padding-top: 0; border-top: 0; }
/* The top match slot (taxonomy log, UI addition 4): empty and hidden until
   the taxonomy is settled; it sits between the bar and the results. */
.search-top[hidden] { display: none; }
/* The way across to the archive's filters, under everything. */
.search-page__archive { margin-top: var(--search-page-group-gap); padding-top: var(--space-3); border-top: 1px solid var(--border); }
.search-page__archive a { color: var(--accent-text); text-decoration: underline; text-underline-offset: 3px; }
.search-page__archive a:hover { color: var(--link-hover); }
.search-page .episodes-empty .meta { margin-bottom: var(--space-3); }
.search-page .episodes-empty__actions { display: flex; flex-direction: var(--actions-direction); flex-wrap: wrap; justify-content: center; gap: var(--space-1); }
.search-page .episodes-empty__actions .btn { width: var(--actions-btn-w); min-height: var(--btn-stack-h); }


/* ---- Card base. Image large, title below. Never text on the image. The one
        reachable exception is the episode badge, which the show-page comps put
        on the thumbnail; it is off by default and lives behind
        --card-badge-position at the foot of this file. ---- */
.card {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  min-width: 0;
}
/* The ruled reading: a line along the top of every card, then the image,
   then the title. Off by default. The padding is a switch, 0 until a rule
   exists and then one step of air, the same multiplier the image radius uses.
   Zero specificity on purpose: a stacked list and the article-rail card draw
   their own row rule in a plain class selector, and that has to keep winning. */
:where(.card) {
  border-top: var(--card-rule) solid var(--card-rule-color);
  padding-top: min(calc(var(--card-rule) * 999), var(--space-2));
}
/* --media-radius is local, not a brand token: it exists so the image can
   round concentrically inside whatever radius the card variant carries.
   The lead and film variants raise it; nothing else touches it. */
.card__media {
  --media-radius: var(--radius-card);
  position: relative;
  aspect-ratio: var(--card-ratio);
  overflow: hidden;
  border: var(--card-border-width) solid var(--card-border-color);
  border-radius: var(--media-radius);
  padding: var(--card-media-inset);
  background: var(--sunk);
  background-clip: content-box;
  box-shadow: var(--card-shadow);
}
.card__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  /* No inset means no frame, and with no frame the parent's clip is the
     only one the image needs: a radius here would clip a second time and
     lighten every corner. The multiplier makes this a switch, 0 until an
     inset exists, then the radius that sits concentric inside the frame. */
  border-radius: min(
    calc(var(--media-radius) - var(--card-border-width) - var(--card-media-inset)),
    calc(var(--card-media-inset) * 999)
  );
  filter: var(--media-filter);
}
/* Empty state: no image. A large share of the editorial archive has none. */
.card__media[data-label]:not(:has(img))::after {
  content: attr(data-label);
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: var(--space-2);
  text-align: center;
  font-size: var(--text-xs);
  font-weight: var(--weight-medium);
  letter-spacing: var(--tracking-kicker);
  text-transform: uppercase;
  color: var(--text-3);
}
/* In a one-column list at phone (.grid-cards--stack: All articles, search
   results, a contributor's stream) a written piece with no photograph drops
   the empty frame and reads as text, since its kicker or meta already names
   the type (item 12). Most of the archive has no photograph, so the list
   was mostly gray boxes. Video cards keep theirs. */
.grid-cards--stack :is(.card-article, .card[data-kind="read"]) .card__media[data-label]:not(:has(img)) { display: var(--stack-empty-frame-display); }
.card__body { display: flex; flex-direction: column; gap: var(--space-1); padding: var(--card-pad); }
/* The anchor wraps media and body, so the card's own gap never reaches
   between them. This is the one place that distance is set. */
.card__media + .card__body { margin-top: var(--card-body-gap); }
.card__title {
  font-family: var(--font-display);
  font-size: var(--card-title-size);
  font-weight: var(--display-weight);
  line-height: var(--leading-snug);
  letter-spacing: var(--tracking-display);
  /* Clamped at phone width only, where the three tokens flip to -webkit-box,
     3 lines and hidden (Step 25); on desktop they hold block, none and
     visible, so nothing moves. */
  display: var(--card-title-display);
  -webkit-box-orient: vertical;
  -webkit-line-clamp: var(--card-title-lines);
  overflow: var(--card-title-overflow);
}
.card__meta {
  font-family: var(--font-ui);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-1);
  font-size: var(--text-sm);
  color: var(--text-2);
}
.card__meta > * + *::before { content: "·"; margin-right: var(--space-1); color: var(--text-3); }
/* The title inherits the link hover colour; kicker, meta and dek set their
   own colour and stay put, so only the headline answers the cursor. */

/* The show tag: the show's name on a line of its own under the meta, never
   run in behind a separator, on the tint of its show (--show-tag-*). A
   label inside the card's link, so it sets its own ink and takes no hover. */
.card__show {
  align-self: flex-start;
  margin-top: var(--show-tag-gap);
  padding: var(--show-tag-pad);
  border-radius: var(--show-tag-radius);
  background: var(--show-tag-fill, var(--sunk));
  font-family: var(--font-ui);
  font-size: var(--show-tag-size);
  font-weight: var(--show-tag-weight);
  line-height: var(--leading-snug);
  color: var(--show-tag-ink);
}
.card__show[data-show="the-download"] { --show-tag-fill: var(--show-tag-the-download); }
.card__show[data-show="the-highwire"] { --show-tag-fill: var(--show-tag-the-highwire); }
.card__show[data-show="off-the-record"] { --show-tag-fill: var(--show-tag-off-the-record); }

/* ---- Live module. Three states, one visible, driven by data-live on <html>. ---- */
.module-live {
  padding: var(--space-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-card-lg);
  background: var(--raised);
  box-shadow: var(--shadow-1);
}
.module-live [data-state] { display: none; }
html[data-live="countdown"] .module-live [data-state="countdown"],
html[data-live="live"]      .module-live [data-state="live"],
html[data-live="replay"]    .module-live [data-state="replay"] { display: block; }

/* =============================================================
   Step 3: the shared component set
   ============================================================= */

/* ---- Card variants ---- */

/* Row card: media left, text right. Used in stacked lists (variant E, up next). */
.card--row { flex-direction: row; align-items: flex-start; gap: var(--space-2); }
.card--row > a { display: flex; gap: var(--space-2); width: 100%; }
.card--row .card__media { flex: 0 0 38%; }
.card--row .card__body { flex: 1 1 auto; min-width: 0; margin-top: 0; }

/* Lead card: one large item, title at headline size. */
.card--lead .card__title { font-size: var(--text-xl); }
.card--lead .card__media { --media-radius: var(--radius-card-lg); isolation: isolate; }
/* The hero wash. The pseudo-element sits over the photograph and blends into
   it; in brand 0 its opacity is 0 and the image filter equals --media-filter,
   so nothing changes. isolation keeps the blend inside the media box. */
.card--lead .card__media img { filter: var(--hero-media-filter); }
.card--lead .card__media::before {
  content: "";
  position: absolute;
  inset: var(--card-media-inset);
  z-index: 1;
  pointer-events: none;
  border-radius: inherit;
  background-color: var(--hero-wash-color);
  background-image: var(--hero-grain);
  mix-blend-mode: var(--hero-wash-blend);
  opacity: var(--hero-wash-opacity);
}

/* Card duration slot: shown only when the data exists. */
.card__meta [data-duration=""] { display: none; }

/* Article card: kicker, title, dek, date. No image by default,
   because most of the editorial archive has none. */
.card-article .card__title { font-size: var(--text-md); }
.card-article .dek { font-size: var(--text-sm); }
.card-article--rule { padding-top: var(--space-2); border-top: 1px solid var(--border); }

/* ---- Topic tile: image, name, subtopics. Works with no image. ---- */
.tile-topic { display: flex; flex-direction: column; gap: var(--space-1); min-width: 0; }
.tile-topic__media {
  position: relative;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  background: var(--sunk);
}
.tile-topic__media img { width: 100%; height: 100%; object-fit: cover; filter: var(--media-filter); }
.tile-topic__media[data-label]:not(:has(img))::after {
  content: attr(data-label);
  position: absolute; inset: 0;
  display: grid; place-items: center;
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: var(--weight-bold);
  color: var(--text-3);
}
.tile-topic__name { font-family: var(--font-display); font-size: var(--text-md); font-weight: var(--weight-bold); margin-top: var(--space-1); }
.tile-topic__sub { font-size: var(--text-sm); color: var(--text-2); }

/* Compact topic link row, for the browse-more block. */
.list-topics { display: grid; grid-template-columns: repeat(var(--grid-cols), minmax(0, 1fr)); gap: var(--space-1) var(--space-3); }
.list-topics a {
  display: flex; align-items: center; justify-content: space-between;
  min-height: var(--target);
  padding: var(--space-1) 0;
  border-bottom: 1px solid var(--border);
  font-weight: var(--weight-medium);
}
.list-topics a span { color: var(--text-3); font-size: var(--text-sm); }

/* ---- Show tile: host photograph, show name below. Never a lockup on the image. ---- */
.tile-show { display: flex; flex-direction: column; gap: var(--space-1); min-width: 0; }
.tile-show__media {
  position: relative;
  aspect-ratio: 16 / 9;  /* landscape crop from the top: the source portraits carry a lockup low on the chest */
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  background: var(--sunk);
}
.tile-show__media img { width: 100%; height: 100%; object-fit: cover; object-position: top; filter: var(--media-filter); }
.tile-show__media[data-label]:not(:has(img))::after {
  content: attr(data-label);
  position: absolute; inset: 0;
  display: grid; place-items: center;
  padding: var(--space-2); text-align: center;
  font-size: var(--text-xs); letter-spacing: var(--tracking-kicker); text-transform: uppercase;
  color: var(--text-3);
}
.tile-show__name { font-family: var(--font-display); font-size: var(--text-md); font-weight: var(--weight-bold); margin-top: var(--space-1); }

/* ---- People ---- */
.avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--sunk);
  border: 1px solid var(--border);
  flex: 0 0 auto;
}
.avatar img { width: 100%; height: 100%; object-fit: cover; filter: var(--media-filter); }
/* Initials, for a byline we hold no photograph for. Better than a broken
   image, and the house rule rules out a stock face. */
.avatar__monogram {
  display: flex; align-items: center; justify-content: center;
  width: 100%; height: 100%;
  font-family: var(--font-display); font-size: var(--text-sm);
  font-weight: var(--weight-medium); letter-spacing: var(--tracking-kicker);
  color: var(--text-2);
}
.avatar--lg { width: 72px; height: 72px; }
.avatar--sm { width: 28px; height: 28px; }
/* A chip that carries a face: host and guest tags on the episode page. */
.chip--person { padding-left: var(--space-half); gap: var(--space-1); }
.person { display: flex; align-items: center; gap: var(--space-2); min-width: 0; }
.person__name { font-weight: var(--weight-medium); }
.person__role { font-size: var(--text-sm); color: var(--text-2); }

/* ---- Live module, complete ---- */
.module-live__head { display: flex; align-items: center; justify-content: space-between; gap: var(--space-2); }
.module-live__title { font-family: var(--font-display); font-size: var(--text-lg); font-weight: var(--weight-bold); line-height: var(--leading-tight); margin-top: var(--space-1); }
.module-live__actions { display: flex; flex-wrap: wrap; gap: var(--space-1); margin-top: var(--space-3); }
.module-live .card { margin-top: var(--space-2); }

.countdown { display: flex; align-items: baseline; gap: var(--space-1); margin-top: var(--space-2); }
.countdown__n { font-family: var(--font-display); font-size: var(--text-2xl); font-weight: var(--weight-bold); line-height: 1; font-variant-numeric: tabular-nums; }
.countdown__unit { font-size: var(--text-sm); color: var(--text-2); }

/* Slim variant: one row, for the homes that don't lead with it. */
.module-live--strip { display: flex; align-items: center; gap: var(--space-3); padding: var(--space-2) var(--space-3); }
.module-live--strip [data-state] { flex: 1 1 auto; }
html[data-live="countdown"] .module-live--strip [data-state="countdown"],
html[data-live="live"]      .module-live--strip [data-state="live"],
html[data-live="replay"]    .module-live--strip [data-state="replay"] { display: flex; align-items: center; gap: var(--space-3); }
.module-live--strip .module-live__title { font-size: var(--text-md); margin: 0; }
.module-live--strip .module-live__title { flex: 1 1 auto; }
.module-live--strip .meta, .module-live--strip .kicker { white-space: nowrap; }
.module-live--strip .module-live__actions { margin: 0 0 0 auto; }
.module-live--strip .countdown { margin: 0; }
.module-live--strip .countdown__n { font-size: var(--text-lg); }

/* ---- Support ask. End of content. Never a header pill. ---- */
.module-ask {
  padding: var(--space-6);
  border: 1px solid var(--border);
  border-radius: var(--radius-card-lg);
  background: var(--raised);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: var(--space-4);
  align-items: center;
}
.module-ask h2 { font-size: var(--text-xl); }
.module-ask p { margin-top: var(--space-1); color: var(--text-2); max-width: var(--measure); }
.module-ask__actions { display: flex; flex-direction: var(--actions-direction); flex-wrap: wrap; gap: var(--space-1); }
.module-ask__actions .btn { width: var(--actions-btn-w); min-height: var(--btn-stack-h); }

/* ---- Newsletter signup. One field. ---- */
.module-signup {
  padding: var(--space-4);
  border: 1px solid var(--border);
  border-radius: var(--radius-card-lg);
  background: var(--sunk);
}
.module-signup h2 { font-size: var(--text-lg); }
.module-signup p { margin-top: var(--space-1); color: var(--text-2); }
.module-signup form { display: flex; flex-direction: var(--actions-direction); gap: var(--space-1); margin-top: var(--space-3); max-width: 520px; }
.module-signup form .btn { width: var(--actions-btn-w); min-height: var(--btn-stack-h); }
.module-signup .input { background: var(--raised); color: var(--text); } /* the typed address in the page's ink, even on a dark scene */
.module-signup small { display: block; margin-top: var(--space-1); font-size: var(--text-xs); color: var(--text-3); }
/* What happens after Sign up (js/signup.js). The error sits under the form
   and the field takes the error edge; the confirmation takes the form's
   place and names the address, with a way back to change it. */
/* The states outrank .module-signup p by their doubled classes. Each band's own inks: the plain band reads the page's, a scene its own
   (ivory on the navy sheet), an art band the ask's light inks. */
.module-signup { --signup-ink: var(--text); --signup-muted: var(--text-2); }
.module-signup--scene { --signup-ink: var(--scene-ink); --signup-muted: var(--scene-muted); --signup-error-ink: var(--scene-error); --signup-error-edge: var(--scene-error); }
.module-signup--art { --signup-ink: var(--ask-ink-light); --signup-muted: var(--ask-muted-light); }
input[type="email"][aria-invalid="true"] { border-color: var(--signup-error-edge); box-shadow: 0 0 0 1px var(--signup-error-edge); }
.signup-msg.signup-msg { margin: var(--space-1) 0 0; font-size: var(--text-sm); }
.signup-msg.signup-msg--error { color: var(--signup-error-ink); font-weight: var(--weight-medium); }
.signup-done.signup-done { margin: var(--space-3) 0 0; color: var(--signup-muted); outline: none; }
.signup-done .signup-done__title { font-family: var(--font-display); font-weight: var(--weight-bold); color: var(--signup-ink); }
.signup-done strong { color: var(--signup-ink); }
/* Inline, so the paragraph keeps its lines; the padding grows the hit area
   to the 44px target without moving the text. */
.signup-done__change { padding: var(--signup-change-pad) 0; margin: calc(-1 * var(--signup-change-pad)) 0; color: var(--signup-ink); font-family: var(--font-ui); font-size: var(--text-sm); white-space: nowrap; text-decoration: underline; text-underline-offset: 3px; }
.signup-done__change:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
/* Once there's an outcome the fine print steps aside, so the message has its room. */
.module-signup:has(.signup-done, .signup-msg--error:not([hidden])) small { display: none; }

/* ---- The support band on art (2026-09-18, reference/layout-decisions.md).
   The ask's copy over one of five artworks from the CTA package: the art is
   an <img> under everything, a wash over it on the copy's side where the
   band is dark, the grain over both. One button, Donate, with the outward
   glyph, and the fine print that giving is handled at icandecide.org. Which
   artwork is data-art; every colour is an --ask-* token, and a treatment
   only remaps those. The band's section is the container (.section--ask in
   layout.css), so the reading column gets the narrow layout by its width. ---- */
.module-ask--art {
  --ask-ground: var(--ask-paper);
  --ask-ink: var(--ask-ink-light);
  --ask-muted: var(--ask-muted-light);
  --ask-kicker: var(--ask-kicker-light);
  --ask-wash: var(--ask-wash-paper);
  --ask-wash-narrow: var(--ask-wash-paper);
  --ask-wash-stack: var(--ask-wash-paper-stack);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  align-items: center;
  min-height: var(--ask-min-h);
  padding: var(--ask-pad);
  border: 0;
  border-radius: var(--ask-radius);
  background: var(--ask-ground);
  color: var(--ask-ink);
}
.module-ask__art { position: absolute; inset: 0; z-index: -3; width: 100%; height: 100%; object-fit: cover; object-position: var(--ask-art-pos); filter: var(--media-filter); }
.module-ask--art::before { content: ""; position: absolute; inset: 0; z-index: -2; background: var(--ask-wash); pointer-events: none; }
.module-ask--art::after { content: ""; position: absolute; inset: 0; z-index: -1; background-image: var(--ask-grain); opacity: var(--ask-grain-opacity); pointer-events: none; }
.module-ask--art .module-ask__copy { position: relative; width: 100%; max-width: var(--ask-copy-w); }
.module-ask--art .kicker { margin: 0 0 var(--space-2); color: var(--ask-kicker); max-width: none; }
.module-ask--art h2 { font-size: var(--ask-title-size); line-height: var(--ask-title-leading); max-width: var(--ask-title-measure); text-wrap: balance; }
.module-ask--art h2 + p { margin-top: var(--space-2); font-size: var(--ask-sentence-size); line-height: var(--leading-body); max-width: var(--ask-sentence-measure); color: var(--ask-muted); }
.module-ask--art .module-ask__actions { margin-top: var(--space-3); align-items: center; gap: var(--space-2); }
.module-ask__fine { flex-basis: 100%; font-size: var(--ask-fine-size); line-height: var(--leading-snug); color: var(--ask-muted); }

/* The two petrol bands: ivory copy, the gold kicker and button. */
.module-ask--art[data-art="courtroom"],
.module-ask--art[data-art="capitol-night"] {
  --ask-ground: var(--ask-petrol);
  --ask-ink: var(--ask-ink-dark);
  --ask-muted: var(--ask-muted-dark);
  --ask-kicker: var(--ask-kicker-dark);
}
.module-ask--art[data-art="courtroom"] { --ask-wash: var(--ask-wash-petrol); --ask-wash-narrow: var(--ask-wash-petrol-narrow); --ask-wash-stack: var(--ask-wash-petrol-stack); }
.module-ask--art[data-art="capitol-night"] { --ask-wash: var(--ask-wash-night); --ask-wash-narrow: var(--ask-wash-night-narrow); --ask-wash-stack: var(--ask-wash-night-stack); --ask-copy-w: var(--ask-copy-w-night); }
.module-ask--art[data-art="courtroom"] .btn-primary,
.module-ask--art[data-art="capitol-night"] .btn-primary { background: var(--ask-button-dark); border-color: var(--ask-button-dark); color: var(--ask-button-ink-dark); }
/* The slate blueprint: the fine print beside the button, where the drawing is quiet. */
.module-ask--art[data-art="capitol-day"] { --ask-ground: var(--ask-slate); --ask-wash: var(--ask-wash-slate); --ask-wash-narrow: var(--ask-wash-slate); --ask-wash-stack: var(--ask-wash-slate-stack); --ask-copy-w: var(--ask-copy-w-day); }
.module-ask--art[data-art="capitol-day"] .module-ask__fine { flex-basis: auto; max-width: var(--ask-fine-measure); }
/* The paper window: the copy takes half the sheet. */
.module-ask--art[data-art="window"] { --ask-copy-w: var(--ask-copy-w-window); }

/* The signal: a panel, the copy on a teal ground beside Del's photograph,
   greyed and multiplied into the teal with a torn left edge. No wash. */
.module-ask--panel {
  --ask-ground: var(--ask-signal-ground);
  --ask-ink: var(--ask-teal-ink);
  --ask-muted: var(--ask-teal-muted);
  --ask-kicker: var(--ask-teal-ink);
  --ask-wash: none;
  --ask-wash-narrow: none;
  --ask-wash-stack: none;
  display: grid;
  grid-template-columns: var(--ask-panel-split);
  gap: 0;
  align-items: stretch;
  min-height: var(--ask-min-h-panel);
  padding: 0;
}
.module-ask--panel .module-ask__copy { max-width: none; padding: var(--ask-pad); display: flex; flex-direction: column; justify-content: center; }
.module-ask__visual { position: relative; min-height: var(--ask-min-h-panel); overflow: hidden; background: var(--ask-teal-photo); clip-path: var(--ask-tear); }
.module-ask__visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; filter: grayscale(1); mix-blend-mode: multiply; opacity: var(--ask-photo-opacity); }
.module-ask__visual::after { content: ""; position: absolute; inset: 0; background: var(--ask-wash-signal-photo); pointer-events: none; }

/* The reading column: the copy takes more of the band and the art slides
   right so its reveal stays in view. */
@container (max-width: 850px) {
  .module-ask--art { min-height: var(--ask-min-h-narrow); padding: var(--ask-pad-narrow); --ask-copy-w: var(--ask-copy-w-narrow); --ask-title-size: var(--ask-title-size-narrow); --ask-sentence-size: var(--ask-sentence-size-narrow); --ask-art-pos: var(--ask-art-pos-narrow); --ask-wash: var(--ask-wash-narrow); }
  .module-ask--panel { min-height: var(--ask-min-h-panel); padding: 0; grid-template-columns: var(--ask-panel-split-narrow); }
  .module-ask--panel .module-ask__copy { padding: var(--ask-pad-narrow); }
}
/* Stacked: the copy over the top of the art, the reveal under it. */
@container (max-width: 540px) {
  .module-ask--art { display: block; min-height: var(--ask-min-h-stack); padding: var(--ask-pad-stack); --ask-copy-w: 100%; --ask-title-size: var(--ask-title-size-stack); --ask-art-pos: var(--ask-art-pos-stack); --ask-wash: var(--ask-wash-stack); }
  .module-ask--art[data-art="capitol-day"] .module-ask__fine { flex-basis: 100%; max-width: none; }
  .module-ask--panel { min-height: 0; padding: 0; }
  .module-ask--panel .module-ask__copy { padding: var(--ask-pad-narrow); }
  .module-ask__visual { min-height: var(--ask-visual-h-stack); clip-path: none; }
}

/* ---- The email band on art (2026-09-18, reference/layout-decisions.md).
   The newsletter module on S01B, "An open view": the same courtroom under a
   torn sheet of paper, the copy centred on the paper above the tear and the
   field under it. Every email callout on the site takes it, each keeping its
   own copy, so the offer reads as one thing from the home page to the legal
   update. The art is an <img> under everything, the paper veil over it and
   the page grain over both, as on the support band; colour comes from the
   same --ask-* tokens and only the centred layout is its own. The section
   carries .section--signup, a container, so the band reflows by its own
   width. ---- */
.module-signup--art {
  --ask-wash: var(--email-wash);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  min-height: var(--email-min-h);
  padding: var(--email-pad);
  border: 0;
  border-radius: var(--ask-radius);
  background: var(--ask-paper);
  color: var(--ask-ink-light);
}
/* The art sits on the floor of the band at its own 3:1 ratio, not stretched
   to the band, so the tear stays a fixed distance under the copy however
   long the copy runs; the band's own paper fills above it and the art's
   top edge fades into it. A short band (the guides index) is shorter than
   the art and simply crops its plain top. */
.module-signup__art { position: absolute; inset: auto 0 0 0; z-index: -3; width: 100%; height: auto; filter: var(--media-filter); -webkit-mask-image: var(--email-art-fade); mask-image: var(--email-art-fade); }
.module-signup--art::before { content: ""; position: absolute; inset: 0; z-index: -2; background: var(--ask-wash); pointer-events: none; }
.module-signup--art::after { content: ""; position: absolute; inset: 0; z-index: -1; background-image: var(--ask-grain); opacity: var(--ask-grain-opacity); pointer-events: none; }
.module-signup__copy { position: relative; width: 100%; max-width: var(--email-copy-w); text-align: center; }
.module-signup--art .kicker { margin: 0 0 var(--space-2); color: var(--ask-kicker-light); }
.module-signup--art h2 { font-size: var(--ask-title-size); line-height: var(--ask-title-leading); text-wrap: balance; }
.module-signup--art h2 + p { margin: var(--space-2) auto 0; max-width: var(--email-sentence-measure); font-size: var(--ask-sentence-size); line-height: var(--leading-body); color: var(--ask-muted-light); }
.module-signup--art form { margin: var(--space-2) auto 0; max-width: var(--email-form-w); }
.module-signup--art small { margin-top: var(--space-1); font-size: var(--ask-fine-size); line-height: var(--leading-snug); color: var(--ask-muted-light); }

/* The reading column and the narrow page: a shorter band, the title and
   sentence at the support band's narrow sizes. */
@container (max-width: 850px) {
  .module-signup--art { min-height: var(--email-min-h-narrow); padding: var(--email-pad-narrow); --ask-title-size: var(--ask-title-size-narrow); --ask-sentence-size: var(--ask-sentence-size-narrow); }
}
/* Stacked: the copy ranges left on the sheet, the field takes the width. */
@container (max-width: 540px) {
  .module-signup--art { min-height: var(--email-min-h-stack); padding: var(--email-pad-stack); --ask-title-size: var(--ask-title-size-stack); --ask-wash: var(--email-wash-stack); }
  .module-signup--art .module-signup__copy { text-align: left; }
  .module-signup--art h2 + p { margin-inline: 0; max-width: none; }
  .module-signup--art form { margin-left: 0; margin-right: 0; max-width: none; flex-wrap: wrap; }
}

/* ---- The newsletter scenes (2026-09-18, reference/layout-decisions.md).
   Five artworks from Jeremy's newsletter CTA package under the email
   callouts: a calm field, a pencil drawing growing out of it, a torn edge,
   then a photograph. The band holds the master's 3:1 so the artwork is never
   cropped, and the copy sits on the calm field at a position measured off
   the master in cqw, so it holds its place at every width. Type only ever
   crosses the drawing, never the photograph. Which artwork is data-art;
   every colour and every position is a --scene-* token and a treatment only
   remaps those. The section is the container, as with the other bands. ---- */
.module-signup--scene {
  --scene-ground: var(--scene-paper-a);
  --scene-ink: var(--scene-ink-light);
  --scene-muted: var(--scene-muted-light);
  --scene-kicker: var(--scene-kicker-light);
  --scene-error: var(--scene-error-light);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  aspect-ratio: var(--scene-ratio);
  padding: 0;
  border: 0;
  border-radius: var(--scene-radius);
  background: var(--scene-ground);
  color: var(--scene-ink);
}
.module-signup--scene .module-signup__art {
  inset: 0;
  z-index: -2;
  height: 100%;
  object-fit: cover;
  object-position: var(--scene-art-pos);
  -webkit-mask-image: none;
  mask-image: none;
}
.module-signup--scene::after { content: ""; position: absolute; inset: 0; z-index: -1; background-image: var(--ask-grain); opacity: var(--scene-grain-opacity); pointer-events: none; }
.module-signup--scene .module-signup__copy {
  width: var(--scene-copy-w);
  max-width: none;
  margin-inline: var(--scene-copy-ml) var(--scene-copy-mr);
  padding-block-start: var(--scene-inset-y);
  text-align: var(--scene-text-align);
}
.module-signup--scene .kicker { margin: 0 0 var(--scene-kicker-gap); color: var(--scene-kicker); }
.module-signup--scene h2 { font-size: var(--scene-title-size); line-height: var(--scene-title-leading); text-wrap: balance; }
.module-signup--scene h2 + p { margin: var(--scene-sentence-gap) var(--scene-copy-mr) 0 var(--scene-inner-ml); max-width: var(--scene-sentence-measure); font-size: var(--scene-sentence-size); line-height: var(--leading-body); color: var(--scene-muted); }
.module-signup--scene form { margin: var(--scene-form-gap) var(--scene-copy-mr) 0 var(--scene-inner-ml); max-width: var(--scene-form-w); }
.module-signup--scene small { margin-top: var(--scene-fine-gap); font-size: var(--scene-fine-size); line-height: var(--leading-snug); color: var(--scene-muted); }

/* 01, Del and the auditorium on ivory: the drawing sits to the right of the
   copy and the tear runs down the middle. The widest calm field of the five. */
.module-signup--scene[data-art="auditorium-left"] { --scene-ground: var(--scene-paper-a); --scene-art-pos-panel: 84% center; }
/* 02 and 03, the centred pair: the copy on the top of the sheet, the tear and
   the photograph below it. */
.module-signup--scene[data-art="auditorium-centered"],
.module-signup--scene[data-art="newyork-centered"] {
  --scene-copy-w: 66%;
  --scene-copy-ml: auto;
  --scene-inner-ml: auto;
  --scene-text-align: center;
  --scene-sentence-measure: 62cqw;           /* the sentence on one line, as the master has it */
  --scene-form-w: 26cqw;
  --scene-inset-y: 2.2cqw;
  --scene-kicker-gap: var(--space-1);
  --scene-sentence-gap: var(--space-1);
  --scene-form-gap: var(--space-2);
  --scene-fine-gap: var(--space-1);
}
.module-signup--scene[data-art="auditorium-centered"] { --scene-ground: var(--scene-paper-b); --scene-art-pos-panel: 80% center; }
.module-signup--scene[data-art="newyork-centered"] { --scene-ground: var(--scene-paper-c); --scene-inset-y: 2.6cqw; --scene-art-pos-panel: 82% center; }
/* 04, the Capitol on sage: the drawn dome starts early, so the copy keeps left. */
.module-signup--scene[data-art="capitol-left"] { --scene-ground: var(--scene-sage); --scene-copy-w: 40%; --scene-art-pos-panel: 68% center; }
/* 05, Del on the blue sheet: ivory copy, the gold kicker and button, and the
   drawn camera behind the type. The narrowest field, the tear is furthest left. */
.module-signup--scene[data-art="del-blue-left"] {
  --scene-ground: var(--scene-navy);
  --scene-ink: var(--scene-ink-dark);
  --scene-muted: var(--scene-muted-dark);
  --scene-kicker: var(--scene-kicker-dark);
  --scene-error: var(--scene-error-dark);
  --scene-copy-w: 38%;
  --scene-form-w: 30cqw;
  --scene-art-pos-panel: 88% center;
}
.module-signup--scene[data-art="del-blue-left"] .btn-primary { background: var(--scene-button-dark); border-color: var(--scene-button-dark); color: var(--scene-button-ink-dark); }
/* A scene whose copy runs long (F's home since the verified-sources line,
   2026-09-21): at the master's heading size the line takes three rows on the
   narrow calm field and the form falls past the band's floor, which the
   master's 3:1 will not grow to hold. So at the master's width the heading
   steps to the band's narrow size and holds two rows; the panel and the stack
   below keep their own sizes. */
@container (width > 1010px) {
  .module-signup--scene.module-signup--long { --scene-title-size: var(--scene-title-size-long); }
}

/* Under about 1010 the master composition runs out of room: the artworks are
   3:1, so a narrower band is under 340 tall and the copy stops clearing the
   tear at a readable size. Rather than shrink the type to hold the picture,
   the picture gives way, in two steps.

   First a panel, the pattern the support band's signal already uses: the copy
   on the flat surface the artwork was sampled from, the artwork beside it
   cropped on its tear, so the reveal and the subject both stay in view. */
@container (max-width: 1010px) {
  .module-signup--scene {
    display: grid;
    grid-template-columns: var(--scene-panel-split);
    align-items: stretch;
    aspect-ratio: auto;
    min-height: var(--scene-min-h-panel);
    --scene-title-size: var(--scene-title-size-panel);
  }
  .module-signup--scene .module-signup__copy {
    order: 1;
    align-self: center;
    width: auto;
    margin-inline: 0;
    padding: var(--scene-pad-panel);
    text-align: left;
    --scene-copy-mr: 0;
    --scene-inner-ml: 0;
    --scene-sentence-measure: none;
  }
  .module-signup--scene form { max-width: none; }
  .module-signup--scene .module-signup__art {
    order: 2;
    position: static;
    width: 100%;
    height: 100%;
    object-position: var(--scene-art-pos-panel);
  }
}
/* Then stacked, under 620: the copy on top, the artwork whole underneath,
   a little deeper than the master so the subject survives at phone width. */
@container (max-width: 620px) {
  .module-signup--scene {
    display: flex;
    flex-direction: column;
    min-height: 0;
    --scene-title-size: var(--scene-title-size-stack);
  }
  .module-signup--scene .module-signup__copy { padding: var(--scene-pad-stack); }
  .module-signup--scene .module-signup__art {
    height: auto;
    aspect-ratio: var(--scene-ratio-stack);
    object-position: var(--scene-art-pos-stack);
  }
}

/* ---- Contrast example: copy over the image, Instagram style.
        The one deliberate exception, always labelled. ---- */
.card-overlay { position: relative; overflow: hidden; border-radius: var(--radius-card); aspect-ratio: 4 / 5; background: var(--sunk); border: 1px solid var(--border); }
.card-overlay img { width: 100%; height: 100%; object-fit: cover; filter: var(--media-filter); }
.card-overlay__text {
  position: absolute; inset: auto 0 0 0;
  padding: var(--space-3);
  background: linear-gradient(to top, var(--overlay), transparent);
  color: var(--text-on-image);
}
.card-overlay__text .card__title { color: inherit; }
.card-overlay__text .card__meta { color: inherit; opacity: 0.8; }
.example-label {
  display: inline-block;
  margin-bottom: var(--space-1);
  padding: 2px 8px;
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius-sm);
  font-size: var(--text-xs);
  letter-spacing: var(--tracking-kicker);
  text-transform: uppercase;
  color: var(--text-2);
}

/* ---- Icon glyphs as text, always with a label beside them ---- */
.glyph { display: inline-block; width: 1em; text-align: center; }

/* =============================================================
   Step 4: weekly schedule table. Retired from D on 2026-09-09 in favour
   of the rotating bar; kept for the specimen and for reference.
   ============================================================= */
.schedule {
  border: 1px solid var(--border);
  border-radius: var(--radius-card-lg);
  background: var(--raised);
  overflow: hidden;
}
.schedule__row {
  display: grid;
  grid-template-columns: 120px minmax(0, 2fr) minmax(0, 2fr) auto;
  gap: var(--space-3);
  align-items: center;
  padding: var(--space-2) var(--space-3);
  min-height: 72px;
}
.schedule__row + .schedule__row { border-top: 1px solid var(--border); }
.schedule__day { font-family: var(--font-display); font-size: var(--text-md); font-weight: var(--weight-bold); }
.schedule__show { font-weight: var(--weight-medium); }
.schedule__host { font-size: var(--text-sm); color: var(--text-2); }
.schedule__time { font-size: var(--text-sm); color: var(--text-2); display: flex; align-items: center; gap: var(--space-1); flex-wrap: wrap; }
.schedule__actions { display: flex; gap: var(--space-half); }
.schedule__row .badge-live { display: none; }
html[data-live="live"] .schedule__row[data-slot="live"] { background: var(--accent-soft); }
html[data-live="live"] .schedule__row[data-slot="live"] .badge-live { display: inline-flex; }
.schedule__foot { padding: var(--space-2) var(--space-3); border-top: 1px solid var(--border); font-size: var(--text-sm); color: var(--text-2); display: flex; justify-content: space-between; gap: var(--space-2); }

/* =============================================================
   Step 6: byline on cards, descriptive browse-more list
   ============================================================= */
.card__byline { font-size: var(--text-sm); font-weight: var(--weight-medium); }
.list-topics--desc a { flex-direction: column; align-items: flex-start; gap: 2px; padding: var(--space-2) 0; }
.list-topics--desc a span { font-size: var(--text-sm); color: var(--text-2); }

/* =============================================================
   Step 7: player, chapters, tabs panel, transcript, chat, sources
   ============================================================= */

/* ---- Player. Chrome specified here so Ark's default skin never ships. ---- */
/* At phone width (Step 25) the player runs edge to edge, square, under the
   header, and orders itself first in the dissolved theatre's column. */
.player { border-radius: var(--player-radius); border: var(--player-border-w) solid var(--border); background: var(--raised); overflow: hidden; margin-inline: calc(-1 * var(--player-bleed)); margin-block-end: var(--player-gap); order: var(--player-order); }
.player__screen { position: relative; aspect-ratio: 16 / 9; background: var(--sunk); }
.player__screen img { width: 100%; height: 100%; object-fit: cover; filter: var(--media-filter); }
.player__play {
  position: absolute; inset: 0; margin: auto;
  width: 96px; height: 96px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--raised);
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-2);
  font-size: var(--text-lg);
}
.player__live { position: absolute; top: var(--space-2); left: var(--space-2); display: none; }
/* The player in the hero's slot while live (F, Step 26): the rail's frame,
   radius and shadow, so the swap reads as the same object. Its aspect is
   its own token: the stream is 16:9 and cannot be cut to the strips' 2.5:1
   rail without losing heads and lower thirds (23 Sep). */
.player--hero {
  margin: 0;
  border: var(--rail-frame) solid var(--rail-frame-color);
  border-top: var(--rail-frame-top) solid var(--rail-frame-top-color);
  border-radius: var(--rail-radius-top) var(--rail-radius-top) var(--rail-radius) var(--rail-radius);
  box-shadow: var(--rail-shadow);
}
.player--hero .player__screen { aspect-ratio: var(--hero-player-ratio); container: player / inline-size; }
/* The live ribbon (2026-09-23): in place of the chip and the play disc, a bar
   across the player's top edge with the badge, the line, the host and Watch
   live. The link covers the whole frame, so a click anywhere on the picture
   goes to the watch page as the disc did, and the bar sits at its top. One
   link, one tab stop; its name is the line and the action, the badge being
   hidden from assistive tech because the line already says live. The host
   leaves under 640 of player and the action takes its short label under 480. */
.live-ribbon { position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; }
.live-ribbon:focus-visible { outline-offset: -2px; }
.live-ribbon__bar {
  display: flex;
  align-items: center;
  gap: var(--live-ribbon-gap);
  min-height: var(--live-ribbon-h);
  padding: var(--live-ribbon-pad);
  background: var(--live-ribbon-ground);
  color: var(--live-ribbon-ink);
}
.live-ribbon__bar .badge-live { flex: none; background: var(--live-ribbon-badge); color: var(--live-ribbon-badge-ink); }
.live-ribbon__text { display: flex; align-items: baseline; gap: var(--live-ribbon-gap); min-width: 0; }
.live-ribbon__title {
  font-family: var(--font-display);
  font-size: var(--live-ribbon-title);
  font-weight: var(--display-weight);
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-display);
  text-wrap: balance;
}
.live-ribbon__host { font-family: var(--font-ui); font-size: var(--text-sm); color: var(--live-ribbon-muted); white-space: nowrap; }
.live-ribbon__action { flex: none; margin-left: auto; background: var(--live-ribbon-action); border-color: var(--live-ribbon-action); color: var(--live-ribbon-action-ink); }
.live-ribbon__action .label-short { display: none; }
@media (hover: hover) { .live-ribbon:hover .live-ribbon__action { box-shadow: var(--shadow-2); } }
@container player (width < 640px) {
  .live-ribbon__host { display: none; }
}
@container player (width < 480px) {
  .live-ribbon__bar { gap: var(--live-ribbon-gap-narrow); padding: var(--live-ribbon-pad-narrow); }
  .live-ribbon__title { font-size: var(--live-ribbon-title-narrow); }
  .live-ribbon__action .label-long { display: none; }
  .live-ribbon__action .label-short { display: inline; }
}
/* A live marker on the key art itself (brief 1.5): a pill in the rail's top
   left corner, inside its padding, never painted on the image. Present only
   while live. */
.rail-art__live { position: absolute; top: var(--rail-live-inset); left: var(--rail-live-inset); z-index: 2; display: none; }
html[data-live="live"] .rail-art__live { display: inline-flex; }
html[data-live="live"] .player__live { display: inline-flex; }

/* Transport is the player's own: scrub bar, play, skip, speed, captions and full
   screen draw inside the frame on hover, so nothing sits under the screen. */

/* ---- Episode header ---- */
/* The head sits one step off the player, closer than a section gap: the
   title belongs to the frame above it. */
.theatre { margin-block-end: var(--theatre-gap); }
.episode__title { font-size: var(--episode-title-size); margin-top: var(--space-1); }
.episode__meta { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-1); margin-top: var(--space-2); font-size: var(--text-sm); color: var(--text-2); }
.episode__meta > * + *::before { content: "\00b7"; margin-right: var(--space-1); color: var(--text-3); }
.episode__people { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-1); margin-top: var(--space-2); }
.episode__people .kicker { margin-right: var(--space-half); }
/* Actions: three bare share marks, Save as the row's one bordered button, a
   hairline, then the two quiet format buttons. The quiet pair sits on half
   padding so its words fall in the same rhythm as Save's text. The share
   marks butt up: each already holds a 44px target, so a gap between them
   would only spread the row. */
.episode__actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-1); margin-top: var(--space-3); }
.episode__actions .share { gap: 0; }
.episode__actions-rule { width: 1px; height: var(--space-3); background: var(--border); margin-inline: var(--space-1); }
.episode__actions .btn-quiet:not(.btn-icon) { padding-inline: var(--space-1); }
.episode__dek { margin-top: var(--space-3); max-width: var(--measure); color: var(--text-2); }

/* ---- Segments under the episode (Step 24, 2026-09-21), direction F only.
        js/segments.js builds it: one row per cut segment, in running order,
        the frame at --segments-frame-w and the kicker, title, people and
        running time, and two lines of description beside it. The whole row
        is the link, so a hover tints the row the way the search rows do and
        the title holds its ink. A frame that fails leaves the label, like a
        card's. On a desktop the details is open and its summary hidden; under
        900 (layout.css) the summary shows and the details starts closed. ---- */
.module-segments__summary { display: none; list-style: none; }
.module-segments__summary::-webkit-details-marker { display: none; }
.module-segments__head h2 { font-size: var(--segments-head-size); }
.module-segments__list { list-style: none; margin: 0 calc(-1 * var(--segments-bleed)); padding: 0; }
.module-segments__list > li + li { border-top: 1px solid var(--segments-rule); }
.segment-row {
  display: grid;
  grid-template-columns: var(--segments-frame-w) minmax(0, 1fr);
  align-items: start;
  gap: var(--segments-gap);
  padding: var(--segments-pad);
  border-radius: var(--segments-row-radius);
  color: inherit;
  transition: background-color var(--hover-duration);
}
.segment-row:hover { background: var(--segments-hover); color: inherit; }
.segment-row:focus-visible { outline-offset: -2px; }
.segment-row__media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: var(--segments-frame-radius);
  background: var(--sunk);
}
.segment-row__media img { display: block; width: 100%; height: 100%; object-fit: cover; filter: var(--media-filter); }
.segment-row__media[data-label]:not(:has(img))::after {
  content: attr(data-label);
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: var(--text-xs);
  font-weight: var(--weight-medium);
  letter-spacing: var(--tracking-kicker);
  text-transform: uppercase;
  color: var(--text-3);
}
.segment-row__body { display: flex; flex-direction: column; gap: var(--space-half); min-width: 0; }
.segment-row__title {
  font-family: var(--font-display);
  font-size: var(--segments-title-size);
  font-weight: var(--display-weight);
  line-height: var(--leading-snug);
  letter-spacing: var(--tracking-display);
}
/* The names, then the running time at the right edge in tabular digits
   (Step 26, Jeremy 17:49): a wrap breaks inside the names, and the time
   never opens a line on a separator because it has none. */
.segment-row__meta { display: flex; align-items: baseline; gap: var(--space-2); font-family: var(--font-ui); font-size: var(--text-sm); color: var(--text-2); }
.segment-row__meta .num { white-space: nowrap; }
.segment-row__duration { margin-left: auto; font-variant-numeric: tabular-nums; }
/* A segment page's way back to its episode: the episode is a link in the
   house's in-text link style (there is no --link token), the words round it
   stay meta. */
.episode__from a { color: var(--accent-text); text-decoration: underline; text-underline-offset: 3px; }   /* the house's in-text link, as on the legal provenance and the article */
.episode__from a:hover { color: var(--link-hover); }
/* The segment on screen, on its own page. */
.segment-row[aria-current="page"] { background: var(--segments-hover); }
.segment-row__dek {
  display: var(--segments-dek-display);
  -webkit-box-orient: vertical;
  -webkit-line-clamp: var(--segments-clamp);
  overflow: hidden;
  max-width: var(--measure);
  font-size: var(--text-sm);
  line-height: var(--leading-body);
  color: var(--text-2);
}
.module-segments__summary {
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2);
  min-height: var(--segments-summary-h);
  padding-block: var(--space-1);
  border-block: 1px solid var(--border);
  font-family: var(--font-ui);
  font-size: var(--text-md);
  font-weight: var(--weight-medium);
  cursor: pointer;
}
/* The count sits quiet beside the label and pushes the chevron to the edge. */
.module-segments__count { margin-inline-end: auto; font-weight: var(--weight-regular); color: var(--text-2); font-variant-numeric: tabular-nums; }
/* The chevron is drawn like the menu triggers', and turns when the list opens. */
.module-segments__chevron { width: var(--chevron-size); height: var(--chevron-size); border-right: var(--chevron-stroke) solid currentColor; border-bottom: var(--chevron-stroke) solid currentColor; transform: translateY(-25%) rotate(45deg); }
.module-segments__fold[open] .module-segments__chevron { transform: translateY(25%) rotate(-135deg); }

/* ---- Tabs panel: one panel, three tabs ---- */
.tabs { border: 1px solid var(--border); border-radius: var(--radius-card-lg); background: var(--raised); overflow: hidden; }
.tabs__list { display: flex; border-bottom: 1px solid var(--border); padding: 0 var(--space-2); }
.tabs__list button {
  min-height: 52px; padding: 0 var(--space-2);
  border: 0; border-bottom: 3px solid transparent;
  background: transparent;
  font-size: var(--text-ui); font-weight: var(--weight-medium);
  color: var(--text-2);
  cursor: pointer;
  margin-bottom: -1px;
}
.tabs__list button[aria-selected="true"] { color: var(--text); border-bottom-color: var(--accent); }
.tabs__list button:hover { color: var(--text); }
.tabs__panel { padding: var(--space-3); }
.tabs__panel[hidden] { display: none; }
.tabs__tools { display: flex; flex-wrap: wrap; gap: var(--space-1); align-items: center; margin-bottom: var(--space-3); }
.tabs__tools .input { max-width: 360px; }

/* Transcript: timestamp column that seeks the player. The column scrolls inside
   its own box at --transcript-h so a 49-minute transcript does not push the ask
   off the page; the current paragraph follows playback. */
.transcript { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: var(--space-1) var(--space-2); max-width: var(--measure); max-height: var(--transcript-h); overflow-y: auto; padding-right: var(--space-2); scrollbar-width: thin; align-content: start; }
.transcript__t { font-size: var(--text-sm); color: var(--text-3); font-variant-numeric: tabular-nums; text-decoration: none; padding-top: 2px; }
.transcript__t:hover { color: var(--accent); }
.transcript__h { grid-column: 1 / -1; font-family: var(--font-display); font-weight: var(--weight-bold); font-size: var(--text-md); margin-top: var(--space-2); }
.transcript__p { margin: 0 0 var(--space-1); line-height: var(--leading-body); }
.transcript__p.is-current { background: var(--accent-soft); margin-left: calc(-1 * var(--space-1)); padding-left: var(--space-1); border-radius: var(--radius-sm); }
.transcript__note { font-size: var(--text-sm); color: var(--text-3); margin: 0 0 var(--space-2); }
.transcript__slot { padding: var(--space-3); border: 1px dashed var(--border-strong); border-radius: var(--radius-card); color: var(--text-2); font-size: var(--text-sm); }

/* Theatre: the player with the live chat beside it. The chat panel exists only
   while live (gated by .only-live); off air the player runs the full column. */
.theatre { display: var(--theatre-display); grid-template-columns: minmax(0, 1fr); gap: var(--space-3); align-items: stretch; }
/* At phone width the theatre dissolves (display: contents) into the page
   column, which becomes a flex column (layout.css), so the head can follow
   the player and the chat can follow the head (Step 25). */
.theatre + .section { order: var(--episode-head-order); }
html[data-live="live"] .theatre { grid-template-columns: minmax(0, 1fr) var(--chat-w); }

/* Chat panel. The inner wrapper is absolute so the panel takes the player's height
   rather than growing with the feed; the feed scrolls inside its own box. */
.chat-panel { position: relative; min-height: 0; height: var(--chat-h); margin-block-end: var(--chat-gap); border: 1px solid var(--border); border-radius: var(--radius-card-lg); background: var(--raised); overflow: hidden; }
.chat-panel__inner { position: absolute; inset: 0; display: flex; flex-direction: column; }
.chat-panel__head { display: flex; align-items: center; gap: var(--space-1); padding: var(--space-2); border-bottom: 1px solid var(--border); }
.chat-panel__title { font-family: var(--font-display); font-weight: var(--weight-bold); font-size: var(--text-md); }
.chat-panel__head .meta { margin-left: auto; font-size: var(--text-xs); color: var(--text-3); }
.chat__feed { flex: 1 1 auto; min-height: 0; overflow-y: auto; display: flex; flex-direction: column; gap: var(--space-1); padding: var(--space-2); scrollbar-width: thin; }
.chat__feed > :first-child { margin-top: auto; } /* short rooms sit at the bottom, long rooms scroll */
.chat__feed:empty::after { content: "Nobody has said anything yet. Be the first."; margin: auto; font-size: var(--text-sm); color: var(--text-3); text-align: center; }
.chat__msg { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: var(--space-1); align-items: start; font-size: var(--text-sm); line-height: var(--leading-snug); }
.chat__msg p { margin-top: 4px; overflow-wrap: anywhere; }
.chat__avatar { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--sunk); border: 1px solid var(--border); font-size: var(--text-xs); font-weight: var(--weight-medium); color: var(--text-2); }
.chat__user { font-weight: var(--weight-medium); margin-right: var(--space-half); }
.chat__role { display: inline-block; margin-right: var(--space-half); padding: 1px var(--space-half); border-radius: var(--radius-sm); background: var(--accent-soft); font-size: var(--text-xs); letter-spacing: var(--tracking-kicker); text-transform: uppercase; color: var(--text-2); vertical-align: 1px; }
.chat__msg--host .chat__avatar, .chat__msg--host .chat__role { background: var(--accent); border-color: var(--accent); color: var(--text-on-accent); }
.chat__msg--mod .chat__avatar { border-color: var(--border-strong); }
.chat__composer { display: flex; gap: var(--space-1); align-items: center; padding: var(--space-2) var(--space-2) 0; border-top: 1px solid var(--border); }
.chat__composer .btn { white-space: nowrap; }
/* The field shares the row with the sign-in button, so it runs at meta size on
   half padding: "Message the room" fits at the chat's width. */
.chat__composer .input { flex: 1 1 auto; min-width: 0; font-size: var(--text-sm); padding-inline: var(--space-1); }
.chat__note { font-size: var(--text-xs); color: var(--text-3); padding: var(--space-1) var(--space-2) var(--space-2); }

/* ---- Audio only (v1.1, ledger item 9). Watch and Listen right under the
        frame; Listen turns the frame into the deck; away from the deck (or
        on any other page) the bar holds the foot of the screen, and a tap on
        it pulls the deck back up as a dialog. js/listen.js builds the deck,
        the bar and the dialog. Desktop is the root; every phone difference
        is a token in the v1.1 new-pages phone block. ---- */
.listen-switch {
  display: inline-grid; grid-template-columns: 1fr 1fr; gap: var(--space-half);
  width: var(--listen-switch-w);
  margin-block-end: var(--space-3);
  padding: var(--space-half);
  border: 1px solid var(--border-strong); border-radius: var(--radius-button);
  background: var(--raised);
}
.listen-switch[hidden] { display: none; }
.listen-switch button {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-1);
  min-height: var(--listen-switch-h);
  padding-inline: var(--space-3);
  border: 0; border-radius: calc(var(--radius-button) - var(--space-half));
  background: transparent;
  font-family: var(--font-ui); font-size: var(--text-base); font-weight: var(--weight-medium); color: var(--text-2);
  cursor: pointer;
  transition: background-color var(--hover-duration), color var(--hover-duration);
}
.listen-switch button[aria-pressed="true"] { background: var(--listen-switch-on); color: var(--listen-switch-on-ink); }
.listen-switch svg { width: var(--listen-switch-icon); height: var(--listen-switch-icon); flex: none; }
@media (hover: hover) { .listen-switch button[aria-pressed="false"]:hover { color: var(--text); } }

/* The scrubber: a 4px track with a 44px hit area, the times under it. */
.scrub { display: grid; gap: var(--space-1); }
.scrub__track { position: relative; height: var(--audio-track-h); border-radius: var(--radius-pill); background: var(--audio-track); cursor: pointer; }
.scrub__track::before { content: ""; position: absolute; inset: calc((var(--target) - var(--audio-track-h)) / -2) 0; }
.scrub__fill { position: absolute; inset: 0 auto 0 0; width: var(--p, 0%); border-radius: inherit; background: var(--audio-fill); }
.scrub__thumb { position: absolute; top: 50%; left: var(--p, 0%); width: var(--audio-thumb); height: var(--audio-thumb); margin: calc(var(--audio-thumb) / -2) 0 0 calc(var(--audio-thumb) / -2); border-radius: 50%; background: var(--audio-fill); }
.scrub__times { display: flex; justify-content: space-between; font-family: var(--font-ui); font-size: var(--text-sm); color: var(--text-2); font-variant-numeric: tabular-nums; }

/* The deck, in the frame's place. A row on desktop (the controls, then the
   chapters); one column at phone, where the chapters and the sleep times
   open in the face's slot. Live and a single segment have no chapters
   column; the dialog's deck is the phone's at any width. */
.player--listen { border-color: var(--deck-ground); }
.player__screen[hidden] { display: none; }
.deck {
  display: flex; flex-direction: var(--deck-direction); gap: var(--deck-gap);
  aspect-ratio: var(--deck-ratio);
  min-height: var(--deck-min-h);
  padding: var(--deck-pad);
  background: var(--deck-ground); color: var(--deck-ink);
  --audio-track: var(--deck-line);
  --audio-fill: var(--deck-ink);
}
.deck[hidden] { display: none; }
.deck--solo, .deck--panel {
  --deck-direction: column;
  --deck-main-display: contents;
  --deck-side-display: none;
  --deck-who-yield: none;
  --deck-who-order: -1;
  --deck-side-order: -1;
  --deck-gap: var(--space-3);
}
.deck--solo { --deck-pad: var(--deck-pad-solo); }
.deck--panel {
  --deck-ratio: auto;
  --deck-min-h: 0px;
  --deck-pad: var(--space-3) var(--gutter);
  --deck-who-direction: column;
  --deck-who-text: center;
  --deck-who-justify: center;
  --deck-who-grow: 1;
  --deck-face: var(--deck-panel-face);
  --deck-show-size: var(--text-lg);
  --deck-title-size: var(--text-lg);
  --deck-jump-display: inline-flex;
  --deck-now-yield: none;
  flex: 1 1 auto;
  overflow: auto;
}
.deck__main { display: var(--deck-main-display); flex: 3 1 0; flex-direction: column; gap: var(--space-3); min-width: 0; }
.deck__who {
  display: flex; flex-direction: var(--deck-who-direction); flex-grow: var(--deck-who-grow);
  align-items: center; justify-content: var(--deck-who-justify); gap: var(--space-2);
  order: var(--deck-who-order);
  text-align: var(--deck-who-text);
}
.deck__face { width: var(--deck-face); height: var(--deck-face); flex: none; border-radius: 50%; object-fit: cover; filter: var(--media-filter); }
.deck__show { display: block; font-family: var(--font-display); font-size: var(--deck-show-size); font-weight: var(--weight-bold); line-height: var(--leading-tight); letter-spacing: var(--tracking-display); }
.deck__by { display: block; font-family: var(--font-ui); font-size: var(--text-sm); color: var(--deck-muted); }
.deck__now { display: grid; gap: var(--space-1); margin-top: auto; }
.deck__kicker { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-1); font-family: var(--font-ui); font-size: var(--kicker-size); font-weight: var(--weight-medium); letter-spacing: var(--tracking-kicker); text-transform: uppercase; color: var(--deck-muted); }
.deck__kicker .badge-live { display: inline-flex; }
.deck__title { font-family: var(--font-display); font-size: var(--deck-title-size); font-weight: var(--weight-bold); line-height: var(--leading-tight); letter-spacing: var(--tracking-display); color: var(--deck-ink); text-wrap: balance; }
.deck .scrub__times { color: var(--deck-muted); }
.deck__ctl { display: flex; justify-content: center; align-items: flex-start; gap: var(--space-4); }
.deck__skip { display: grid; justify-items: center; gap: var(--space-half); font-family: var(--font-ui); font-size: var(--text-sm); color: var(--deck-muted); }
.deck__btn {
  display: inline-grid; place-items: center;
  width: var(--deck-skip); height: var(--deck-skip); padding: 0;
  border: 2px solid var(--deck-line); border-radius: 50%;
  background: transparent; color: var(--deck-ink);
  font-family: var(--font-ui); font-size: var(--text-sm); font-weight: var(--weight-bold);
  cursor: pointer;
}
.deck__btn svg { width: 62%; height: 62%; }
.deck__btn--play { width: var(--deck-play); height: var(--deck-play); margin-top: calc((var(--deck-skip) - var(--deck-play)) / 2); border: 0; background: var(--deck-ink); color: var(--deck-ground); }
.deck__btn--play svg { width: 44%; height: 44%; }
.deck__row { display: flex; gap: var(--space-1); }
.deck__row > * {
  flex: 1 1 0; display: inline-flex; align-items: center; justify-content: center; gap: var(--space-1);
  min-height: var(--deck-btn-h); padding-inline: var(--space-1);
  border: 1px solid var(--deck-line); border-radius: var(--radius-button);
  background: transparent; color: var(--deck-ink);
  font-family: var(--font-ui); font-size: var(--text-sm); font-weight: var(--weight-medium); white-space: nowrap;
  cursor: pointer;
}
.deck__row > .deck__jump { display: var(--deck-jump-display); }
.deck__row > [aria-expanded="true"] { border-color: var(--deck-ink); background: var(--deck-ink); color: var(--deck-ground); }
.deck__row svg { width: var(--icon-size); height: var(--icon-size); flex: none; }
@media (hover: hover) { .deck__btn:not(.deck__btn--play):hover, .deck__row > *:hover { border-color: var(--deck-muted); } }
.deck__side { display: var(--deck-side-display); flex: 2 1 0; order: var(--deck-side-order); align-self: var(--deck-side-align); min-width: 0; overflow: auto; padding-left: var(--deck-side-inset); border-left: var(--deck-side-rule) solid var(--deck-line); }
.deck--solo .deck__side, .deck--panel .deck__side { align-self: stretch; padding-left: 0; border-left: 0; }
.deck[data-view="chapters"] .deck__who, .deck[data-view="sleep"] .deck__who { display: var(--deck-who-yield); }
.deck[data-view="chapters"] .deck__side, .deck[data-view="sleep"] .deck__side { display: block; }
.deck[data-view="chapters"] .deck__now { display: var(--deck-now-yield); }
.deck__sleep, .deck[data-view="sleep"] .deck__chapters { display: none; }
.deck[data-view="sleep"] .deck__sleep { display: block; }
.deck__list { list-style: none; margin: var(--space-1) 0 0; padding: 0; }
.deck__list button {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--space-2); align-items: baseline;
  width: 100%; min-height: var(--target); padding: var(--space-1) 0;
  border: 0; border-top: 1px solid var(--deck-line);
  background: transparent; color: var(--deck-muted);
  font-family: var(--font-body); font-size: var(--text-base); text-align: left;
  cursor: pointer;
}
.deck__list button[aria-current="true"], .deck__list button[aria-pressed="true"] { color: var(--deck-ink); font-weight: var(--weight-medium); }
.deck__list .num { font-family: var(--font-ui); font-size: var(--text-sm); }

/* The bar, at the foot of every page while someone listens away from the
   deck: the art and the title (a tap pulls the deck back up), play and
   forward 30; on desktop also back 15, the scrubber, speed, Watch and Stop. */
.listen-bar { position: fixed; inset: auto 0 0 0; z-index: var(--listen-bar-z); padding-bottom: env(safe-area-inset-bottom, 0px); background: var(--raised); border-top: 1px solid var(--border); box-shadow: var(--shadow-2); }
.listen-bar[hidden] { display: none; }
html[data-listen-bar] body { padding-bottom: calc(var(--listen-bar-h) + env(safe-area-inset-bottom, 0px)); }
html[data-listen-bar] { --toast-lift: var(--listen-bar-h); }
.listen-bar__progress { position: absolute; inset: -1px 0 auto 0; height: 3px; background: var(--audio-track); }
.listen-bar__progress i { display: block; width: var(--p, 0%); height: 100%; background: var(--audio-fill); }
.listen-bar__in { display: flex; align-items: center; gap: var(--space-2); max-width: var(--container); height: var(--listen-bar-h); margin-inline: auto; padding-inline: var(--gutter); }
.listen-bar__open { display: flex; align-items: center; gap: var(--space-2); flex: 1 1 auto; max-width: var(--listen-bar-open-max); min-width: 0; min-height: var(--target); padding: 0; border: 0; background: transparent; color: inherit; text-align: left; cursor: pointer; }
.listen-bar__art { flex: none; width: var(--listen-bar-thumb); aspect-ratio: 16 / 9; overflow: hidden; border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--sunk); }
.listen-bar__art img { display: block; width: 100%; height: 100%; object-fit: cover; }
.listen-bar__text { display: grid; min-width: 0; }
.listen-bar__title { overflow: hidden; font-family: var(--font-ui); font-size: var(--text-sm); font-weight: var(--weight-medium); white-space: nowrap; text-overflow: ellipsis; }
.listen-bar__meta { display: flex; align-items: center; gap: var(--space-1); font-family: var(--font-ui); font-size: var(--text-sm); color: var(--text-3); white-space: nowrap; font-variant-numeric: tabular-nums; }
.listen-bar__meta .badge-live { display: inline-flex; }
.listen-bar__btn { display: inline-grid; place-items: center; flex: none; width: var(--listen-bar-btn); height: var(--listen-bar-btn); padding: 0; border: 0; border-radius: 50%; background: transparent; color: var(--text); cursor: pointer; }
.listen-bar__btn svg { width: 62%; height: 62%; }
.listen-bar__btn--play { width: var(--listen-bar-play); height: var(--listen-bar-play); background: var(--audio-play-fill); color: var(--audio-play-ink); }
.listen-bar__btn--play svg { width: 44%; height: 44%; }
.listen-bar__scrub { flex: 1 1 auto; min-width: 0; }
.listen-bar__scrub .scrub { width: 100%; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: var(--space-2); }
.listen-bar__scrub .scrub__times { display: contents; }
.listen-bar__scrub .scrub__track { grid-column: 2; grid-row: 1; }
.listen-bar__scrub .scrub__t1 { grid-column: 1; grid-row: 1; }
.listen-bar__scrub .scrub__t2 { grid-column: 3; grid-row: 1; }
.listen-bar .listen-bar__extra { display: var(--listen-bar-extra-display); }
.listen-bar .btn { white-space: nowrap; }

/* The deck pulled back up from the bar: a dialog over the page's right
   corner, just over the bar, on desktop; the whole screen at phone. */
.listen-sheet {
  inset: auto var(--listen-panel-inset) var(--listen-panel-bottom) auto;
  width: var(--listen-panel-w); max-width: none;
  height: var(--listen-panel-h); max-height: var(--listen-panel-max-h);
  margin: 0; padding: 0;
  border: 1px solid var(--border); border-radius: var(--listen-panel-radius);
  background: var(--raised); color: var(--text);
  box-shadow: var(--shadow-2);
  overflow: hidden;
}
.listen-sheet[open] { display: flex; flex-direction: column; }
.listen-sheet::backdrop { background: var(--listen-backdrop); }
.listen-sheet__head { display: flex; align-items: center; justify-content: space-between; gap: var(--space-2); padding: calc(var(--space-1) + env(safe-area-inset-top, 0px)) var(--space-1) var(--space-1); border-bottom: 1px solid var(--border); }
.listen-sheet__foot { display: flex; gap: var(--space-1); padding: var(--space-2) var(--gutter) calc(var(--space-2) + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--border); }
.listen-sheet__foot > * { flex: 1 1 0; }

/* Sources: the fixed component under every video */
.sources { display: flex; flex-direction: column; }
.sources__item { display: grid; grid-template-columns: var(--sources-cols); grid-template-areas: var(--sources-areas); gap: var(--sources-row-gap) var(--space-2); align-items: center; min-height: var(--sources-row-min-h); padding: var(--space-2) 0; border-top: 1px solid var(--border); }
.sources__item:first-child { border-top: 0; }
/* At phone width (Step 25) the middle cell dissolves and the four parts take
   named areas in the card's grammar: the type as the kicker, the title, then
   the note with the action at its right. On a desktop every area is auto and
   the cell is a block. */
.sources__item > div { display: var(--sources-mid-display); }
.sources__item > :last-child { grid-area: var(--sources-act-area); }
.sources__type { grid-area: var(--sources-type-area); font-size: var(--text-xs); letter-spacing: var(--tracking-kicker); text-transform: uppercase; color: var(--text-3); }
.sources__title { grid-area: var(--sources-title-area); font-weight: var(--weight-medium); overflow-wrap: var(--sources-title-wrap); }
.sources__title a { display: var(--sources-link-display); min-height: var(--sources-link-h); align-content: var(--sources-link-align); }
.sources__meta { grid-area: var(--sources-meta-area); font-size: var(--text-sm); color: var(--text-2); }

/* Page-level state gates */
html:not([data-live="countdown"]) .only-countdown { display: none; }
html[data-live="live"] .not-live { display: none; }
html:not([data-live="live"]) .only-live { display: none; }
html[data-live="replay"] .not-replay { display: none; }
html:not([data-live="replay"]) .only-replay { display: none; }
html:not([data-live="countdown"]) .only-countdown { display: none; }

/* =============================================================
   Direction A additions, plus the rotating schedule bar now used by D
   ============================================================= */

/* ---- Schedule bar. One row that steps through the upcoming shows on a
        dwell timer, with a progress line along its bottom edge. Pauses on hover and focus. Reduced motion
        turns the timer off and leaves the previous and next buttons. ---- */
.module-schedule {
  position: relative;
  border: 1px solid var(--border);
  border-radius: var(--radius-card-lg);
  background: var(--raised);
  box-shadow: var(--shadow-1);
  overflow: hidden;
}
.module-schedule__slide {
  display: none;
  align-items: center;
  gap: var(--space-3);
  min-height: 72px;
  padding: var(--space-2) var(--space-3);
}
.module-schedule__slide.is-active { display: flex; }
.module-schedule__kicker { white-space: nowrap; }
.module-schedule__day { font-family: var(--font-display); font-size: var(--text-md); font-weight: var(--weight-bold); white-space: nowrap; min-width: 96px; }
.module-schedule__body { flex: 1 1 auto; min-width: 0; }
.module-schedule__title { font-family: var(--font-display); font-size: var(--text-md); font-weight: var(--weight-bold); line-height: var(--leading-tight); }
/* The show name is the route to the show page, so it carries the ink colour
   of the text around it rather than reading as a stray link. */
.module-schedule__title a { color: inherit; text-decoration: none; }
.module-schedule__when { white-space: nowrap; font-variant-numeric: tabular-nums; }
.module-schedule__when:empty { display: none; }
.module-schedule .module-live__actions { margin: 0; flex-wrap: nowrap; }

/* Step controls sit at the right edge of every slide, outside the slide markup. */
.module-schedule__nav {
  position: absolute;
  inset: 0 var(--space-2) 3px auto;
  display: flex;
  align-items: center;
  gap: var(--space-half);
  font-size: var(--text-xs);
  color: var(--text-3);
}
.module-schedule__nav button {
  width: var(--target); height: var(--target);
  display: grid; place-items: center;
  border: 0; border-radius: var(--radius-button);
  background: transparent;
  color: var(--text-2);
  cursor: pointer;
  transition: background-color var(--hover-duration);
}
.module-schedule__nav button:hover { background: var(--accent-soft); color: var(--text); }
.module-schedule__count { min-width: 40px; text-align: center; font-variant-numeric: tabular-nums; }
.module-schedule--has-nav .module-schedule__slide { padding-right: calc(var(--space-3) + 136px); }

/* Progress line: the bottom edge of the bar fills over one dwell. */
.module-schedule__progress { height: 3px; background: var(--border); }
.module-schedule__progress::before {
  content: "";
  display: block;
  height: 100%;
  width: 0;
  background: var(--accent);
}
.module-schedule.is-running .module-schedule__progress::before { animation: schedule-fill var(--schedule-dwell) linear forwards; }
.module-schedule.is-paused .module-schedule__progress::before { animation-play-state: paused; }
@keyframes schedule-fill { from { width: 0; } to { width: 100%; } }
@media (prefers-reduced-motion: reduce) {
  .module-schedule__progress::before { animation: none; }
}

/* Live: the hero carries the live state, so the bar drops the show that is
   on air and keeps stepping through what comes after. */
html[data-live="live"] .module-schedule__slide[data-live-show] { display: none; }

/* ---- Film card: films and specials at 16:9, fewer across and larger than the
        episode shelf, so the section changes rhythm without cropping the art. ---- */
.grid-films {
  display: var(--shelf-grid-display);
  grid-template-columns: repeat(var(--film-cols), minmax(0, 1fr));
  gap: var(--shelf-gap);
}
/* At phone width the film and contributor grids scroll like the card
   shelves (Step 25): flex, one card --shelf-card-basis wide, the same snap,
   bleed and hidden scrollbar. On desktop every one of these is a no-op on a
   grid that fits its box. */
.grid-films, .grid-people {
  overflow-x: var(--shelf-grid-overflow);
  scroll-snap-type: var(--shelf-snap);
  scrollbar-width: var(--shelf-scrollbar);
  margin-inline-end: calc(-1 * var(--shelf-bleed));
  padding-inline-end: var(--shelf-bleed);
}
.grid-films > *, .grid-people > * { flex: 0 0 var(--shelf-card-basis); scroll-snap-align: start; }
.card--film .card__media { aspect-ratio: var(--film-ratio); --media-radius: var(--radius-card-lg); }

/* ---- Top-anchored crop, for a portrait frame shown in a landscape card. ---- */
.card__media--top img { object-position: top; }

/* ---- Topic row: the topic tile in a direction-set column count. ---- */
.grid-topics {
  display: grid;
  grid-template-columns: repeat(var(--topic-cols), minmax(0, 1fr));
  gap: var(--card-gap);
}

/* ---- Article card with an image and a read time. Both are real: every
        article carries its own featured image and a read time computed from
        the body, so the category placeholders are gone from these cards. ---- */
.card-article--image .card__media { aspect-ratio: var(--card-ratio); }

/* ---- Weekly schedule strip: the week in one line. Label, three day cells,
        the block actions. Directions A and B carry it; A leads with it. The
        live slot is tagged and tints while live. Stays on one line at the
        1120 column; below that the cells wrap, the strip never scrolls. ---- */
.schedule-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-half) var(--space-1);
  min-height: 56px;
  padding: var(--space-half) var(--space-1) var(--space-half) var(--space-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  background: var(--raised);
}
.schedule-strip__label { white-space: nowrap; padding-right: var(--space-2); border-right: 1px solid var(--border); margin-right: var(--space-half); }
.schedule-strip__cell {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  min-height: var(--target);
  padding: 0 var(--space-1);
  border-radius: var(--radius-sm);
  font-size: var(--text-sm);
  white-space: nowrap;
  transition: background-color var(--hover-duration);
}
.schedule-strip__cell:hover { background: var(--sunk); }
.schedule-strip__cell:hover .schedule-strip__show { color: var(--link-hover); }
.schedule-strip__day abbr { text-decoration: none; }
.schedule-strip__day { font-size: var(--text-xs); letter-spacing: var(--tracking-kicker); text-transform: uppercase; color: var(--text-3); }
.schedule-strip__show { font-weight: var(--weight-medium); color: var(--text); }
.schedule-strip__time { color: var(--text-2); }
.schedule-strip__actions { margin-left: auto; display: flex; gap: var(--space-half); }
.schedule-strip__actions .btn { min-height: 40px; padding: 0 var(--space-1); font-size: var(--text-sm); }
html[data-live="live"] .schedule-strip__cell[data-slot="live"] { background: var(--accent-soft); }

/* ---- Weekly schedule board: the middle weight, direction A. One frame, a slim
        head row (label, block actions), then three compact cells: full day name,
        show, host, time. About 120px against the strip's 56. ---- */
.schedule-board { border: 1px solid var(--border); border-radius: var(--radius-card); background: var(--raised); overflow: hidden; }
.schedule-board__head { display: flex; align-items: center; gap: var(--space-2); min-height: var(--target); padding: 0 var(--space-1) 0 var(--space-2); border-bottom: 1px solid var(--border); }
.schedule-board__actions { margin-left: auto; display: flex; gap: var(--space-half); }
.schedule-board__actions .btn { min-height: 40px; padding: 0 var(--space-1); font-size: var(--text-sm); }
.schedule-board__cells { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.schedule-board__cell { display: flex; flex-direction: column; gap: var(--space-half); padding: var(--space-2); min-width: 0; transition: background-color var(--hover-duration); }
.schedule-board__cell + .schedule-board__cell { border-left: 1px solid var(--border); }
.schedule-board__cell:hover { background: var(--sunk); }
.schedule-board__cell:hover .schedule-board__show { color: var(--link-hover); }
.schedule-board__day { display: flex; align-items: center; gap: var(--space-1); min-height: 24px; /* the badge row and the plain rows share one height */ font-size: var(--text-xs); letter-spacing: var(--tracking-kicker); text-transform: uppercase; color: var(--text-3); }
.schedule-board__line { display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--space-half) var(--space-1); }
.schedule-board__show { font-family: var(--font-display); font-weight: var(--weight-bold); font-size: var(--text-base); color: var(--text); }
.schedule-board__meta { font-size: var(--text-sm); color: var(--text-2); white-space: nowrap; }
.schedule-board__meta::before { content: "\00B7"; margin-right: var(--space-1); }
html[data-live="live"] .schedule-board__cell[data-slot="live"] { background: var(--accent-soft); }

/* =============================================================
   Direction F: the key art hero. A rotating rail of show key art at two
   thirds, the weekly calendar at one third and exactly the rail's height.
   The calendar lights the row of whichever show is on screen. Every size
   and colour reads the --hero-* and --calendar-lit-* tokens in tokens.css;
   the mechanic is js/hero.js, lifted from the schedule bar.
   Brief: reference/DIRECTION-F-BRIEF.md.
   ============================================================= */
.hero-network {
  margin-block-start: var(--hero-top-gap);   /* the air under the masthead where the hero leads the page (F since the strip went, Step 26) */
  display: grid;
  grid-template-columns: var(--hero-split);
  gap: var(--hero-gap);
  align-items: stretch;
}
.hero-network__art { min-width: 0; overflow-x: var(--hero-art-overflow-x); padding-bottom: var(--rail-nav-room); margin-inline: calc(-1 * var(--hero-art-bleed)); } /* at phone the wrapper clips the moving cards and keeps room for the dots under the rail (Step 25) */
/* The rail sets the height: its aspect ratio is the hero's. The calendar is
   held out of the row's sizing (below) so it can only ever stretch to the art,
   never push it taller. The radius is the card's, so a square brand stays
   square here and a soft one stays soft; the frame is the rail's own
   (--rail-frame, --rail-shadow), because brands 1 to 4 zero the card frame
   and the art then sat on the page with no edge. */
.rail-art {
  position: relative;
  aspect-ratio: var(--hero-art-ratio);
  overflow: var(--rail-overflow);
  touch-action: var(--rail-touch-action);
  border: var(--rail-frame) solid var(--rail-frame-color);
  border-top: var(--rail-frame-top) solid var(--rail-frame-top-color);   /* F2 runs the lit tab's ground along the art's top edge */
  border-radius: var(--rail-radius-top) var(--rail-radius-top) var(--rail-radius) var(--rail-radius);
  background: var(--sunk);
  box-shadow: var(--rail-shadow);
  isolation: isolate;
}
/* Slides stack in the same box and move by transform only: the next card
   comes in from the right and pushes the current one out to the left, the
   way a rail moves; previous runs it the other way. Nothing fades, nothing
   scales, and only the two cards in motion are visible. A card at rest sits
   off-canvas to the right and, once its move ends, leaves the tab order.
   hero.js puts an incoming card on its starting side before it moves. */
.rail-art__slide {
  position: absolute;
  inset: 0;
  display: block;
  overflow: var(--rail-slide-overflow);   /* at phone the card clips itself at the rail's radius, because the rail no longer does */
  border-radius: var(--rail-slide-radius);
  transform: translateX(100%);
  visibility: hidden;
  transition: transform var(--hero-move) var(--hero-ease), visibility 0s var(--hero-move);
}
.rail-art__slide.is-active { transform: translateX(0); visibility: visible; transition-delay: 0s; }
.rail-art__slide.is-out-left { transform: translateX(-100%); }
.rail-art__slide.is-out-right { transform: translateX(100%); }
.rail-art__slide:focus-visible { outline-offset: -2px; }
/* A slide's picture element is transparent to layout, so the image keeps
   filling the slide (the phone cut comes through a source on it). */
.rail-art__slide picture { display: contents; }
.rail-art__slide img {
  display: block;
  width: 100%; height: 100%;
  object-fit: cover;
  filter: var(--media-filter);
}
/* Two cuts per slide (23 Sep): the 16:9 one, with the phone's 2:3 as its
   source, and the 2.5:1 one the full-column rail runs on F1 to F3. The
   tokens show one. Neither is lazy: a lazy slide off to the side of the
   rail would load only as it slid in. In production the CMS serves the one
   cut the layout asks for. */
.rail-art__slide img.rail-art__cut-std { display: var(--rail-art-cut-std); }
.rail-art__slide img.rail-art__cut-wide { display: var(--rail-art-cut-wide); }
/* A card with only the 2.5:1 cut (ICAN's, 23 Sep) runs where that cut runs
   and leaves the rail everywhere else, its dot with it; hero.js steps past
   a card that is not displayed. */
.rail-art__slide--wide-only,
.rail-art__dot--wide-only { display: var(--rail-art-cut-wide); }
/* Empty state: a show with no key art. Its hero frame from img/ fills the
   slide (the focal point rides on the image, like a CMS field) and the name
   and host sit under the rail in the page's type, never on the image. A slide
   with no image at all shows its label, the card pattern. */
.rail-art__slide[data-label]:not(:has(img))::after {
  content: attr(data-label);
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: var(--space-2);
  text-align: center;
  font-size: var(--text-xs);
  font-weight: var(--weight-medium);
  letter-spacing: var(--tracking-kicker);
  text-transform: uppercase;
  color: var(--text-3);
}
.rail-art__caption {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: var(--space-half) var(--space-1);
  margin-top: var(--space-2);
}
.rail-art__caption-name {
  font-family: var(--font-display);
  font-size: var(--text-md);
  font-weight: var(--display-weight);
  letter-spacing: var(--tracking-display);
}
/* Position: how many cards the rail holds and which one is on screen. The
   calendar was the pagination until 2026-09-18, and it still is for the three
   shows; what it cannot say is the network cover, which has no row, so the
   rail read as three cards when it holds four. The dots report and do not
   control: a 7px dot cannot hold a 44px target, and the arrows and the rows
   are the controls. hero.js builds one per slide and hides the strip from
   assistive tech, which reads position from the one slide link that is in the
   tab order. They ride in the arrows' strip, on a plate in the discs' own
   fill: the cards are collages, so no corner of the art is reliably light or
   reliably dark, and a bare dot lost itself on the gold panel in The HighWire
   and on The Download's orange chip. The plate is the ground the discs
   already carry, so the strip stays one material. */
.rail-art__dots {
  display: flex;
  align-items: center;
  gap: var(--rail-dot-gap);
  height: var(--rail-dot-plate-h);
  margin-right: var(--rail-dot-strip-gap);
  padding-inline: var(--rail-dot-plate-pad);
  border-radius: var(--radius-pill);
  background: var(--rail-dot-plate);
}
.rail-art__dot {
  width: var(--rail-dot-size);
  height: var(--rail-dot-size);
  border-radius: var(--radius-pill);
  background: var(--rail-dot-off);
  /* The width runs on the rail's own move, so the bar lands as the card
     does; reduced motion zeroes --hero-move and the change cuts. */
  transition: width var(--hero-move) var(--hero-ease), background-color var(--hero-move) var(--hero-ease);
}
.rail-art__dot.is-on {
  width: var(--rail-dot-on-w);
  background: var(--rail-dot-on);
}
/* Previous and next: the shelf arrow discs, bottom right of the rail, with
   the position dots at the head of the same strip. */
.rail-art__nav {
  position: absolute;
  top: var(--rail-nav-top);
  right: var(--rail-nav-right);
  bottom: var(--rail-nav-bottom);
  left: var(--rail-nav-left);
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: var(--rail-nav-justify);
  gap: var(--space-1);
}
.rail-art__nav .shelf-nav__btn { display: var(--rail-arrows-display); }
/* ---- The weekly calendar. One frame, the rail's height, three rows sharing
        it evenly (a fourth would too). The frame is absolute inside its grid
        cell, so its content never contributes to the row: the art is the only
        thing that sets the hero's height. If the column ever needs more room,
        the fix is the type or the row padding, never a taller hero.
        Every size and colour is a --calendar-* token: F reads the :root
        values (the day in the display face beside the show, a standing rule
        between them, one frame) and G its own (the rows as tinted cards, the
        day over the show). Concepts, 2026-09-16:
        screenshots/concepts/hero-calendar/. ---- */
.hero-network__calendar {
  position: relative;
  min-width: 0;
  /* At phone width the calendar stacks under the rail: the frame stays
     absolute and the wrapper takes a height of its own (Step 25). Written as
     a token on the wrapper, not a var() on the frame's position: a var()
     there moved raster noise into one brand 0 frame with the same layout. */
  min-height: var(--calendar-stack-min-h);
  container-type: inline-size;
  order: var(--hero-calendar-order);   /* F1 to F3 put the calendar above the rail; the DOM stays art first, so the tab order holds (Step 26) */
}
.calendar-week {
  position: var(--calendar-position);   /* absolute beside the rail; relative where it runs as a strip above it and sets its own height */
  inset: 0;
  min-height: var(--calendar-min-h);   /* F4 at four and five items fills the rail's height and grows past it only when its rows need to */
  display: grid;
  grid-template-columns: var(--calendar-cols);
  grid-template-rows: var(--calendar-rows);
  row-gap: var(--calendar-row-gap);
  column-gap: var(--calendar-cell-gap);   /* between cells on the strip; F3 opens them into cards */
  overflow: hidden;
  overflow-x: var(--calendar-overflow-x);   /* a swipe shelf at phone (Step 26) */
  overflow-y: var(--calendar-overflow-y);   /* visible on the strips, so the cells' frame keeps its shadow */
  scroll-snap-type: var(--calendar-snap);
  scrollbar-width: var(--calendar-scrollbar);
  padding: var(--calendar-frame-pad);
  border: var(--calendar-frame-width) solid var(--calendar-frame-color);
  border-bottom-width: var(--calendar-frame-bottom);   /* F2's tabs sit on the art with no edge between */
  border-radius: var(--calendar-radius-top) var(--calendar-radius-top) var(--calendar-radius-bottom) var(--calendar-radius-bottom);
  background: var(--calendar-frame-fill);
  box-shadow: var(--calendar-frame-shadow);
}
/* The strips' frame (Step 26, Jeremy on question 2): the head sits outside
   it as the page's own section head, so the frame is drawn round the cells'
   row only, as a grid item of its own under them. Nothing on F4, G or H:
   its content is none there. */
.calendar-week::before {
  content: var(--calendar-cells-frame);
  position: absolute;                      /* sized by the cells' grid area, out of the auto-placement */
  inset: 0;
  grid-row: var(--calendar-cell-row);
  grid-column: 1 / -1;
  border: var(--rail-frame) solid var(--rail-frame-color);
  border-bottom-width: var(--calendar-cells-frame-bottom);
  border-radius: var(--calendar-cells-r-top) var(--calendar-cells-r-top) var(--calendar-cells-r-bottom) var(--calendar-cells-r-bottom);
  background: var(--raised);
  box-shadow: var(--calendar-cells-shadow);
  pointer-events: none;
}
/* The end cells follow the frame's corners, so a lit end cell stays inside it. */
.calendar-week__row:first-child { border-top-left-radius: var(--calendar-cell-r-top); border-bottom-left-radius: var(--calendar-cell-r-bottom); }
.calendar-week__row:nth-last-child(2) { border-top-right-radius: var(--calendar-cell-r-top); border-bottom-right-radius: var(--calendar-cell-r-bottom); }
/* The head row is last in the markup so the tab order runs rail, arrows, the
   three rows, then the two actions. It is placed on the first grid row. */
.calendar-week__head {
  grid-row: var(--calendar-head-row);
  grid-column: var(--calendar-head-col);
  position: sticky;                        /* only ever sticks where the strip scrolls sideways (left is auto elsewhere) */
  left: var(--calendar-head-left);
  justify-self: var(--calendar-head-justify);
  max-width: var(--calendar-head-max);
  display: flex;
  align-items: center;
  gap: var(--space-2);
  min-height: var(--calendar-head-h);
  padding: 0 var(--space-1) 0 var(--calendar-head-pad);
  border-bottom: var(--calendar-head-rule) solid var(--border);
}
.calendar-week__actions { margin-left: auto; display: flex; gap: var(--space-half); }
.calendar-week__actions .btn { min-height: var(--calendar-action-h); padding: 0 var(--space-1); font-size: var(--text-sm); }
/* Where the column is too narrow for the full labels, the actions take the
   strip's short ones (Calendar, Alerts) before either loses its label.
   Measured 2026-09-16: at the 1120 column the calendar is 365px, the short
   labels leave 66px beside the kicker and the full ones need about 95 more,
   so the full labels only fit from about 400px. */
.calendar-week__actions .label-short { display: none; }
/* The badge's long and short labels are tokens too, so the phone tier can take
   the short one at 390, where the show name and the badge share a line. */
.calendar-week__badge .label-long { display: var(--calendar-badge-long); }
.calendar-week__badge .label-short { display: var(--calendar-badge-short); }
@container (width < 400px) {
  .calendar-week__actions .label-long { display: none; }
  .calendar-week__actions .label-short { display: inline; }
}
/* Rows are buttons: a click jumps the rail to that show and holds it. The
   day, the standing rule and the text block are the grid's cells; the badge
   and the portrait sit outside the grid, top right and behind. A row's
   ground is its show's tint, which on F is the plain ground. Hover is a wash
   over whatever the ground is, painted with the ground, under the portrait. */
.calendar-week__row {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  grid-template-columns: var(--calendar-row-cols);
  column-gap: var(--calendar-row-col-gap);
  align-items: center;
  align-content: var(--calendar-row-align);   /* top on the strips, so the days line up across cells */
  grid-row: var(--calendar-cell-row);
  scroll-snap-align: var(--calendar-cell-snap);
  min-width: 0;
  min-height: 0;
  padding: var(--calendar-row-pad);
  border: 0;
  border-radius: var(--calendar-row-radius);
  background: var(--calendar-row-fill, var(--calendar-row-ground));
  color: var(--text);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: box-shadow var(--hover-duration);
}
/* The special reports (Schedule 4 and 5): links to the watch page, shown
   by the count. */
.calendar-week__row--4 { display: var(--calendar-row-4-display); }
.calendar-week__row--5 { display: var(--calendar-row-5-display); }
a.calendar-week__row { text-decoration: none; }
.calendar-week__row[data-show="the-download"] { --calendar-row-fill: var(--calendar-tint-the-download); }
.calendar-week__row[data-show="the-highwire"] { --calendar-row-fill: var(--calendar-tint-the-highwire); }
.calendar-week__row[data-show="off-the-record"] { --calendar-row-fill: var(--calendar-tint-off-the-record); }
.calendar-week__row--4 { --calendar-row-fill: var(--calendar-tint-special); }
.calendar-week__row--5 { --calendar-row-fill: var(--calendar-tint-special-2); }
.calendar-week__row--5:not(:focus-visible) { outline: var(--calendar-special-2-outline); outline-offset: -1px; }   /* drawn over the photo, which a border would sit under */
.calendar-week__row + .calendar-week__row { border-top: var(--calendar-row-rule) solid var(--border); border-left: var(--calendar-cell-rule) solid var(--calendar-cell-rule-color); }
@media (hover: hover) { .calendar-week__row:hover { box-shadow: inset 0 0 0 100vmax var(--calendar-row-hover-wash); } }
.calendar-week__row:hover .calendar-week__show { color: var(--link-hover); }
.calendar-week__row:focus-visible { outline-offset: -2px; }
/* Lit state: the row whose show is on screen. Ground and a left rule on a
   layer of their own, easing on --hero-fade so the light lands as the card
   does. The ground is room 1's navy unless a room is chosen
   (reference/ROOMS-BRIEF.md): a room sets the --calendar-lit-* set to its
   own, and a second layer carries its grain, fading with the first. Unlit
   rows never change. */
.calendar-week__row::before,
.calendar-week__row::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0;
  transition: opacity var(--hero-fade);
  pointer-events: none;
}
.calendar-week__row::before {
  background: var(--calendar-lit-fill);
  box-shadow: inset var(--calendar-lit-rule-x) var(--calendar-lit-rule-y) 0 var(--calendar-lit-rule);   /* the left edge on F4, the bottom edge on the strip, against the art */
}
.calendar-week__row::after { background-image: var(--feature-grain); }
.calendar-week__row.is-lit::before { opacity: 1; }
.calendar-week__row.is-lit::after { opacity: var(--feature-grain-opacity); }
.calendar-week__row.is-lit .calendar-week__day { color: var(--calendar-lit-day); }
.calendar-week__row.is-lit .calendar-week__rule { background: var(--calendar-lit-ink); opacity: 0.35; }
.calendar-week__row.is-lit .calendar-week__show { color: var(--calendar-lit-ink); }
.calendar-week__row.is-lit:hover .calendar-week__show { color: var(--calendar-lit-link-hover); }
.calendar-week__row.is-lit .calendar-week__meta { color: var(--calendar-lit-muted); }
.calendar-week__row.is-lit .badge { background: var(--calendar-lit-badge-fill); color: var(--calendar-lit-badge-ink); }
.calendar-week__row.is-lit .badge-live { background: var(--feature-pop); color: var(--feature-pop-ink); }
.calendar-week__row.is-lit .calendar-week__photo { opacity: var(--calendar-lit-photo-opacity); }
/* The day, in the display face: the biggest thing on the row. */
.calendar-week__day {
  display: block;
  margin-bottom: var(--calendar-day-gap);
  font-family: var(--calendar-day-font);
  font-size: var(--calendar-day-size);
  font-weight: var(--calendar-day-weight);
  line-height: var(--calendar-day-leading);
  letter-spacing: var(--calendar-day-tracking);
  text-transform: var(--calendar-day-case);
  color: var(--calendar-day-color);
  transition: color var(--hero-fade);
}
/* The standing rule between day and show. Off where the day stacks. */
.calendar-week__rule {
  display: var(--calendar-rule-display);
  width: 1px;
  height: var(--calendar-rule-h);
  background: var(--border-strong);
  opacity: 0.6;
}
.calendar-week__body { position: relative; z-index: 1; min-width: 0; max-width: var(--calendar-body-max); }
.calendar-week__show {
  display: block;
  font-family: var(--font-display);
  font-size: var(--calendar-show-size);
  font-weight: var(--display-weight);
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-display);
  color: var(--text);
  transition: color var(--hover-duration);
}
.calendar-week__meta {
  display: flex;
  flex-direction: var(--calendar-meta-direction);
  flex-wrap: wrap;
  gap: var(--calendar-meta-gap) var(--space-1);
  margin-top: var(--calendar-meta-top);
  font-family: var(--font-ui);
  font-size: var(--text-sm);
  line-height: var(--calendar-meta-leading);   /* F4 closes it up at four and five items, where the rows are short */
  color: var(--text-2);
}
.calendar-week__meta > * + *::before { content: var(--calendar-meta-dot); margin-right: var(--space-1); }
.calendar-week__badge { position: absolute; top: var(--calendar-badge-top); bottom: var(--calendar-badge-bottom); right: var(--space-2); z-index: 1; display: flex; }
/* The host's portrait, from the row's right edge, fading in from the text
   side so the type always sits on solid ground: the house rule about text on
   images, kept. Behind the text, above the ground and the lit layer; a row
   with no portrait simply has none. The focal point rides on the image, like
   a CMS field.
   Two ways to place it. The alignment (--photo-x, --photo-y) is
   object-position's own: fine while the rows are tall, but it lets the face
   drift as a row gets shorter. The focus (--photo-focus, the subject's
   height in the photo as a fraction, 0.42 for a face 42% down, with
   --photo-ratio its width over its height) holds that point on the row's
   middle at any height, kept inside the photo's edges. The slot is a size
   container so the image can measure it. --calendar-photo-centre picks: 0
   aligns, 1 centres (F4 at four and five items, Jeremy 23 Sep). An image
   carrying object-position inline, as G's and H's do, keeps it. */
.calendar-week__photo {
  display: var(--calendar-photo-display);   /* no portraits on the strip */
  position: absolute;
  top: 0; right: 0; bottom: 0;
  z-index: -1;
  width: var(--calendar-photo-w);
  opacity: var(--calendar-photo-opacity);
  -webkit-mask-image: var(--calendar-photo-mask);
  mask-image: var(--calendar-photo-mask);
  pointer-events: none;
  transition: opacity var(--hero-fade);
  container-type: size;
}
.calendar-week__photo img {
  display: block;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: var(--photo-x, 50%) calc(
    (1 - var(--calendar-photo-centre)) * var(--photo-y, 50%) +
    var(--calendar-photo-centre) * min(0px, max(100cqh - 100cqw / var(--photo-ratio, 1), 50cqh - var(--photo-focus, 0.5) * 100cqw / var(--photo-ratio, 1)))
  );
  filter: var(--calendar-photo-filter);
}
/* A scene with two people instead of a portrait: a wider slot and its own
   fade, so both figures read. Set on the row's photo, like the focal point. */
.calendar-week__photo--wide {
  width: var(--calendar-photo-wide-w);
  -webkit-mask-image: var(--calendar-photo-wide-mask);
  mask-image: var(--calendar-photo-wide-mask);
}
/* The narrow column, after the row rules so it wins the cascade: the day
   column, the day, the show name and the row padding each come down a step
   (the --calendar-*-narrow tokens), or the show names wrap at 1024. The
   column is 365px at 1280 and 317px at 1024, so this breaks between them,
   under the 400 the action labels use. */
@container (width < 340px) {
  .calendar-week__row { grid-template-columns: var(--calendar-row-cols-narrow); padding: var(--calendar-row-pad-narrow); }
  .calendar-week__day { font-size: var(--calendar-day-size-narrow); }
  .calendar-week__show { font-size: var(--calendar-show-size-narrow); }
  /* The live badge takes its short label, or it runs into "On air now" on
     F, whose show column starts after the day. */
  .calendar-week__badge .label-long { display: none; }
  .calendar-week__badge .label-short { display: inline; }
}

/* =============================================================
   The latest news bar. A carries it under the episode lead, B above it.
   ============================================================= */

/* ---- News bar. One story, the newest in News, in a framed band: text on the
        left, image on the right and held inside the frame rather than bleeding
        to it, the way Fortune's front page runs its lead. That reads as a
        picture sitting in a band, not two glued halves, and it is the reverse
        of the episode lead so the two stay different things. The title sits one
        step below the episode title, so the video stays the hero.
        Works with no image: the frame shows its label.
        --news-media-inset and --news-media-radius are local, not brand tokens:
        they exist so the strip below can tighten both in one place. ---- */
.module-news {
  --news-media-inset: var(--space-3);
  --news-media-radius: var(--radius-card);
  display: grid;
  grid-template-columns: 3fr 2fr;
  border: 1px solid var(--border);
  border-radius: var(--radius-card-lg);
  background: var(--raised);
  box-shadow: var(--shadow-1);
}
.module-news__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: var(--space-4);
}
.module-news__head { display: flex; align-items: baseline; justify-content: space-between; gap: var(--space-2); }
.module-news__head .more { display: var(--more-display); align-items: center; min-height: var(--more-h); font-size: var(--text-sm); color: var(--text-2); white-space: nowrap; }
.module-news__head .more:hover { color: var(--link-hover); }
.module-news__title { font-size: var(--text-xl); margin-top: var(--space-2); }
.module-news__dek { margin-top: var(--space-2); color: var(--text-2); font-size: var(--text-base); max-width: var(--measure); }
.module-news__body .card__meta { margin-top: var(--space-2); }
.module-news__actions { display: flex; flex-wrap: wrap; gap: var(--space-1); margin-top: var(--space-3); }
.module-news__media {
  position: relative;
  display: block;
  /* Three sides come from the inset; the fourth is the body's own padding, so
     the gap between words and picture stays a step wider than the frame edge.
     No border-left any more: with air on both sides that hairline read as a
     seam. The frame tokens are the card's, so a brand that drops the hairline
     on cards drops it here too. */
  margin: var(--news-media-inset) var(--news-media-inset) var(--news-media-inset) 0;
  overflow: hidden;
  border: var(--card-border-width) solid var(--card-border-color);
  border-radius: var(--news-media-radius);
  background: var(--sunk);
}
/* The frame is never shorter than the card ratio; taller text stretches it and the image covers. */
.module-news__media::before { content: ""; display: block; width: 100%; aspect-ratio: var(--card-ratio); }
.module-news__media img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  filter: var(--media-filter);
}
.module-news__media[data-label]:not(:has(img))::after {
  content: attr(data-label);
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: var(--space-2);
  text-align: center;
  font-size: var(--text-xs);
  font-weight: var(--weight-medium);
  letter-spacing: var(--tracking-kicker);
  text-transform: uppercase;
  color: var(--text-3);
}

/* ---- News strip: the same bar at half the height, direction B, where it leads
        the page. Kicker row, headline one step down and clamped to two lines,
        then one foot row with the byline and the video cross-link. The dek and
        the Read the story button are gone: the headline is the link and the
        story page carries the dek. The image is --news-strip-h less its inset,
        at the card ratio, so the band still lands on the weight of A's weekly
        board. Smaller band, so the inset and the radius both step down.
        With no image the column still holds its shape and shows the label. ---- */
.module-news--strip {
  --news-media-inset: var(--strip-media-inset);
  --news-media-radius: var(--strip-media-radius);
  grid-template-columns: var(--strip-cols);
  min-height: var(--news-strip-h);
  border-radius: var(--strip-radius);
  /* The frame is three tokens deep: sides, top, bottom. A box by default; a
     direction can drop the sides and weight the top into a rule (G). */
  border-width: var(--strip-rule-top) var(--strip-frame) var(--strip-rule-bottom);
  box-shadow: var(--strip-shadow);
  /* The strip is the one component besides the lit calendar row that can be
     a room (reference/ROOMS-BRIEF.md): its ground is the room's, its frame
     the room's, and every colour inside it reads a --feature-* token. At room 0
     the tokens resolve to the band as built: the flat raised ground, the
     hairline, the page's ink. The strip is not positioned and not isolated
     on purpose: either one changes how Chrome rasterises the text, and room
     0 has to render byte for byte as before. */
  border-color: var(--strip-rule-top-color) var(--feature-frame-color) var(--strip-rule-bottom-color);
  background: var(--feature-ground);
}
/* Grain over the ground, under the words. A grid item spanning the band
   rather than a positioned layer (see above), painted first because it is
   ::before, with the body and the picture placed on their own cells so the
   auto-placement does not step around it. Off at room 0 (no image, opacity
   0); in a room it keeps the 15% falloff from banding. */
.module-news--strip::before {
  content: "";
  grid-area: 1 / 1 / 2 / 3;
  border-radius: inherit;
  background-image: var(--feature-grain);
  opacity: var(--feature-grain-opacity);
  pointer-events: none;
}
.module-news--strip .module-news__body { grid-area: var(--strip-body-area); }
.module-news--strip .module-news__media { grid-area: var(--strip-media-area); }
.module-news--strip .kicker { color: var(--feature-kicker); }
/* All news rests on the muted tier, as it does today (--text-2), and the
   headline on the ink; both lift to the room's hover colour. The dots between
   the meta items keep their own colour: they are ornament, not text. */
.module-news--strip .module-news__head .more { display: var(--strip-more-display); color: var(--feature-muted); }
.module-news--strip .module-news__head .more:hover { color: var(--feature-link-hover); }
.module-news--strip .module-news__title { color: var(--feature-ink); }
.module-news--strip .module-news__title a:hover { color: var(--feature-link-hover); }
.module-news--strip .card__meta { color: var(--feature-muted); }
.module-news--strip .btn-quiet { color: var(--feature-ink); }
.module-news--strip .btn-quiet:hover { background: var(--feature-soft); color: var(--feature-ink); }
/* The door: a flat plane of the pop colour behind the photo, offset right and
   down by --feature-door at the photo's own radius, peeking past the picture on
   two edges the way the coral door stands behind the figure in the reference.
   A hard shadow is that plane: no blur, no spread, and at room 0 the offset is
   0 so it sits wholly behind the picture. */
.module-news--strip .module-news__media { display: var(--strip-media-display); align-self: var(--strip-media-align); margin: var(--strip-media-margin); box-shadow: var(--feature-door) var(--feature-door) 0 0 var(--feature-pop); }
.module-news--strip .module-news__body { padding: var(--strip-body-pad); }
.module-news--strip .module-news__title {
  margin-top: var(--space-1);
  font-size: var(--strip-title-size);
  line-height: var(--leading-tight);
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}
/* Height first, width from the ratio, so one token still sets the band: the
   image gives back what the inset takes and --news-strip-h stays the band. */
.module-news--strip .module-news__media::before {
  width: auto;
  height: var(--strip-media-h);
  aspect-ratio: var(--strip-media-ratio);
}
.module-news__foot { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-half) var(--space-2); margin-top: var(--space-1); }
/* Pull the quiet action out by its own padding so its label lines up with All news. */
.module-news__foot .btn { display: var(--strip-cta-display); margin-left: auto; margin-right: calc(var(--space-2) * -1); }


/* ---- The three-up band under F's hero (2026-09-16, brief:
   reference/DIRECTION-F-PASS-3-BRIEF.md, section 3; second look 2026-09-17).
   Three equal columns, the newest legal update, article and video. Each
   item is a 2px rule in its type's colour, the kicker, then the main block:
   a square image beside the title and meta, the summary under both at the
   item's full width, and the CTA. The band's four rows are shared by all three items
   (subgrid), so every tier lines up across the columns whatever the copy does. The rules span their own column only
   and the gap between them is open. The standing hairline lives on the main
   block, centred in the gap: it starts level with the top of the image and
   ends on the CTA's baseline edge, so it never reaches the coloured rule and
   it reads as a divider between three pieces of content, not a frame. No
   ground, no box. The mechanic is Air Mail's row under its hero
   (reference/refs/airmail-three-up-2026-09-16.png); the look is ours. An
   item with no image drops the media box and the row keeps the image's
   height, so the band does not move. ---- */
.band-latest {
  display: grid;
  grid-template-columns: var(--band-cols);
  /* Four shared rows, kicker, image and title, summary, CTA, which every
     item takes as a subgrid: a short title in one column no longer lifts its
     summary above its neighbours', and the CTAs align without a spacer. */
  grid-template-rows: repeat(4, auto);
  column-gap: var(--band-gap);
  row-gap: var(--band-row-gap);
  /* --space-6 above and below (the brief), inside the page's 64px section
     rhythm: the hero section's bottom margin collapses with this negative
     top margin to 48, and the band's own bottom margin is 48. */
  margin-block: calc(var(--space-6) - var(--section-gap)) var(--space-6);
}
.band-latest__item {
  --band-item-rule: var(--border);
  display: grid;
  grid-row: span 4;
  grid-template-rows: subgrid;
  row-gap: var(--band-sep-gap);
  min-width: 0;
  border-top: var(--band-rule) solid var(--band-item-rule);
  padding-top: var(--space-2);
}
.band-latest__item--legal { --band-item-rule: var(--band-rule-legal); }
.band-latest__item--article { --band-item-rule: var(--band-rule-article); }
.band-latest__item--video { --band-item-rule: var(--band-rule-video); }
.band-latest__main {
  position: relative;
  grid-row: 2 / 5;
  display: grid;
  grid-template-rows: var(--band-main-rows);
  row-gap: var(--space-2);
  min-width: 0;
}
.band-latest__item + .band-latest__item .band-latest__main::before {
  content: "";
  display: var(--band-divider-display);
  position: absolute;
  top: 0;
  bottom: 0;
  left: calc(-1 * var(--band-gap) / 2);
  border-left: 1px solid var(--border);
}
.band-latest__row {
  display: flex;
  align-items: flex-start;
  gap: var(--space-2);
  min-height: var(--band-thumb);
}
.band-latest__media {
  flex: none;
  width: var(--band-thumb);
  height: var(--band-thumb);
  overflow: hidden;
  border-radius: var(--radius-card);
  background: var(--sunk);
}
.band-latest__media:not(:has(img)) { display: none; }
.band-latest__media img { display: block; width: 100%; height: 100%; object-fit: cover; filter: var(--media-filter); }
.band-latest__body { flex: 1 1 auto; min-width: 0; }
.band-latest__title {
  font-family: var(--font-display);
  font-size: var(--band-title-size);
  font-weight: var(--display-weight);
  line-height: var(--leading-snug);
  letter-spacing: var(--tracking-display);
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: var(--band-title-lines);
  overflow: hidden;
}
.band-latest__title a:hover { color: var(--link-hover); }
.band-latest__body .meta { margin-top: var(--space-1); }
.band-latest__dek {
  color: var(--text-2);
  display: var(--band-dek-display);
  -webkit-box-orient: vertical;
  -webkit-line-clamp: var(--band-dek-lines);
  overflow: hidden;
}
.band-latest__cta {
  align-self: end;
  justify-self: start;
  min-height: var(--band-cta-h);
  align-content: var(--band-cta-align);
  padding-top: var(--space-1);
  font-family: var(--font-ui);
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  color: var(--text);
  white-space: nowrap;
}
.band-latest__cta:hover { color: var(--link-hover); }

/* ---- ICAN legal pages (2026-09-16, brief: reference/LEGAL-BRIEF.md). The
   listing's head is type only. The lead is two columns like the hero, the
   clean thumbnail left and the text right. The archive is a single column
   of row cards with the number and the date in a column a returning donor
   can scan, never a grid of stock stills. The update template is the
   article page's reading view with a labelled segment slot above the copy.
   A lead or a row with no image drops the image column and runs the text
   full width at the same vertical rhythm. Since 2026-09-17 the listing's
   archive is the three-column grid below (.grid-legal); the row card stays
   for the update page's More legal updates and the guides. ---- */
.legal-head { margin-block-end: var(--space-6); }
.legal-head h1 {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: var(--display-weight);
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-display);
  margin-top: var(--space-1);
}
.legal-head .dek { max-width: var(--measure); margin-top: var(--space-2); }
.legal-head__provenance { margin-top: var(--space-2); }
.legal-head__provenance a, .list-legal__foot a { color: var(--accent-text); text-decoration: underline; text-underline-offset: 3px; }

.legal-lead { display: grid; grid-template-columns: var(--legal-lead-split); gap: var(--space-4); align-items: start; }
.legal-lead:not(:has(img)) { grid-template-columns: minmax(0, 1fr); }
.legal-lead__media {
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: var(--radius-card-lg);
  background: var(--sunk);
  border: var(--card-border-width) solid var(--card-border-color);
  box-shadow: var(--card-shadow);
}
.legal-lead__media:not(:has(img)) { display: none; }
.legal-lead__media img { display: block; width: 100%; height: 100%; object-fit: cover; filter: var(--media-filter); }
.legal-lead__body { display: flex; flex-direction: column; gap: var(--space-2); min-width: 0; }
.legal-lead__title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: var(--display-weight);
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-display);
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  overflow: hidden;
}
.legal-lead__title a:hover { color: var(--link-hover); }
.legal-lead__actions { display: flex; flex-wrap: wrap; gap: var(--space-1); margin-top: var(--space-1); }
/* The labelled empty slot where Watch the segment will go: a secondary
   button's shape with a dashed edge and quiet ink, so the missing link is
   visible in review and never mistaken for a working control. */
.slot-segment { border-style: dashed; color: var(--text-3); cursor: default; }
.slot-segment:hover { background: transparent; color: var(--text-3); }

.list-legal { display: flex; flex-direction: column; }
.row-legal {
  display: grid;
  grid-template-columns: var(--legal-row-thumb) minmax(0, 1fr);
  gap: var(--legal-row-gap);
  padding-block: var(--legal-row-gap);
  border-top: 1px solid var(--border);
}
.row-legal:first-child { border-top: 0; padding-top: 0; }
.row-legal:not(:has(img)) { grid-template-columns: minmax(0, 1fr); }
.row-legal__media { display: block; aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--radius-card); background: var(--sunk); }
.row-legal__media:not(:has(img)) { display: none; }
.row-legal__media img { display: block; width: 100%; height: 100%; object-fit: cover; filter: var(--media-filter); }
.row-legal__body { display: flex; flex-direction: column; gap: var(--space-half); min-width: 0; }
.row-legal__title {
  font-family: var(--font-display);
  font-size: var(--legal-row-title-size);
  font-weight: var(--display-weight);
  line-height: var(--leading-snug);
  letter-spacing: var(--tracking-display);
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: var(--legal-row-title-lines);
  overflow: hidden;
}
.row-legal__title a:hover { color: var(--link-hover); }
.row-legal__summary {
  font-size: var(--text-sm);
  color: var(--text-2);
  display: var(--legal-row-summary-display);
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}
.row-legal__more {
  margin-top: var(--space-half);
  align-self: flex-start;
  min-height: var(--legal-more-h);
  align-content: var(--legal-more-align);
  font-family: var(--font-ui);
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  color: var(--text);
  white-space: nowrap;
}
.row-legal__more:hover { color: var(--link-hover); }
.list-legal__foot { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-3); margin-top: var(--space-4); }

/* All updates (2026-09-17, Jeremy's pick from the five mockups in
   screenshots/concepts/legal-updates, concept C). Three straight columns,
   the updates dealt round them in order so the newest still read left to
   right across the top. The middle column starts a card's worth lower and
   its images run 3:2 against 16:9, so nothing lines up across the page while
   every column is true. Each card is a hairline, the number left and the
   date right on one line in tabular figures, the image, the title at three
   lines, the summary at two, then the quiet link. A card with no image
   drops it and keeps everything else. Sizes and the drop are tokens. */
.grid-legal { display: grid; grid-template-columns: repeat(var(--legal-grid-cols), minmax(0, 1fr)); gap: var(--legal-grid-row-gap) var(--legal-grid-gap); align-items: start; }   /* the row gap only shows when --legal-grid-flow is rows, the cards straight in the grid */
.grid-legal__col { display: flex; flex-direction: column; gap: var(--legal-grid-row-gap); min-width: 0; }
.grid-legal__col--drop { padding-top: var(--legal-grid-drop); }
.grid-legal__col--drop .card-legal__media { aspect-ratio: var(--legal-card-ratio-drop); }
.card-legal { display: flex; flex-direction: column; gap: var(--space-1); min-width: 0; border-top: 1px solid var(--border); padding-top: var(--space-2); }
.card-legal__media { display: block; aspect-ratio: var(--legal-card-ratio); overflow: hidden; border-radius: var(--radius-card); background: var(--sunk); }
.card-legal__media:not(:has(img)) { display: none; }
.card-legal__media img { display: block; width: 100%; height: 100%; object-fit: cover; filter: var(--media-filter); }
.card-legal__media + .card-legal__kicker { margin-top: var(--space-1); }
.card-legal__kicker { display: flex; justify-content: space-between; gap: var(--space-2); font-variant-numeric: tabular-nums; }
.card-legal__kicker time { color: var(--text-3); }
.card-legal__title {
  font-family: var(--font-display);
  font-size: var(--text-md);
  font-weight: var(--display-weight);
  line-height: var(--leading-snug);
  letter-spacing: var(--tracking-display);
  text-wrap: balance;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}
.card-legal__title a:hover { color: var(--link-hover); }
.card-legal__summary {
  font-size: var(--text-sm);
  color: var(--text-2);
  text-wrap: pretty;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}
.card-legal__more {
  margin-top: auto;
  padding-top: var(--space-half);
  align-self: flex-start;
  font-family: var(--font-ui);
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  color: var(--text);
  white-space: nowrap;
}
.card-legal__more:hover { color: var(--link-hover); }

/* The update template. The dek sits under the headline in the head's text
   column; the segment slot is a 16:9 frame above the copy while no segment
   is linked; the note under the captured paragraphs points at the release. */
.read-head .dek { margin-top: var(--space-2); max-width: var(--measure); }
/* The segment, above the release: the frame on the left, the line and the
   button on the right, the shape the guide's anchor card already runs.
   Nothing joins an update to its segment yet, so the frame is a studio
   still standing in for the real one and the quiet line under the button
   says exactly that. The gap stays visible rather than dressed up. */
.segment-slot {
  display: grid;
  grid-template-columns: var(--segment-cols);
  gap: var(--segment-gap);
  align-items: center;
  margin-block-end: var(--space-6);
  padding-block-end: var(--space-4);
  border-bottom: 1px solid var(--border);
}
.segment-slot__media { aspect-ratio: var(--segment-ratio); --media-radius: var(--radius-card-lg); }
/* The whole frame is the link where a segment exists; the button beside it
   carries the label, so this one stays out of the tab order. */
.segment-slot__hit { position: absolute; inset: 0; }
.segment-slot__body { display: flex; flex-direction: column; gap: var(--space-1); min-width: 0; }
.segment-slot__title {
  font-family: var(--font-display);
  font-size: var(--segment-title);
  font-weight: var(--display-weight);
  line-height: var(--leading-snug);
  letter-spacing: var(--tracking-display);
}
.segment-slot__actions { display: flex; flex-wrap: wrap; gap: var(--space-1); margin-top: var(--space-1); }
.segment-slot__note { font-size: var(--text-sm); color: var(--text-3); }

/* ---- Article reading view. Lifted out of the styleguide workbench so there
        is one implementation. The four reading tokens keep the long-form
        column adjustable without moving nav, cards or chips with it. ---- */
.read { max-width: var(--read-measure); }
.read h1 { font-family: var(--font-display); font-size: var(--text-3xl); line-height: var(--leading-tight);
  letter-spacing: var(--tracking-display); margin: 0 0 var(--space-3); }
.read__byline { display: flex; align-items: center; gap: var(--space-2); }
.read p { font-size: var(--read-size); line-height: var(--read-leading); margin: 0 0 var(--para-gap); }
/* No lede treatment. Every paragraph sets the same, Jeremy's call 2026-09-10. */
.read h2 { font-family: var(--font-display); font-size: var(--text-lg); line-height: var(--leading-snug);
  margin: var(--space-6) 0 var(--space-2); }
.read h3 { font-family: var(--font-display); font-size: var(--text-md); line-height: var(--leading-snug);
  margin: var(--space-4) 0 var(--space-1); }
/* Ties with .read p on specificity, so it has to stay below it. */
.read__byline p { margin: 0; }
/* The name and the date: two lines beside the face, or one meta line with a
   dot between them where the column is narrow (Step 25). */
.read__byline > div:not(.avatar) { display: var(--read-who-display); flex-wrap: wrap; align-items: baseline; column-gap: var(--space-1); }
.read__byline > div:not(.avatar) > p:not(:last-child)::after { content: var(--read-who-sep); margin-left: var(--space-1); color: var(--text-3); }
.read blockquote { margin: var(--space-4) 0; padding-left: var(--space-3);
  border-left: var(--quote-border) solid var(--accent); font-family: var(--font-display);
  font-size: var(--text-md); line-height: var(--leading-snug); color: var(--text); }
.read blockquote p:last-child { margin-bottom: 0; }
/* Lists. The legal releases number their evidence and bullet their
   arguments, so the reading column has to set both. The marker sits in the
   margin, the item sets like body copy, and a list closes on the same gap
   a paragraph does. */
.read ul, .read ol { margin: 0 0 var(--para-gap); padding-left: var(--list-indent); }
.read li { font-size: var(--read-size); line-height: var(--read-leading); margin-bottom: var(--list-gap); }
.read li::marker { color: var(--text-3); }
.read ol li::marker { font-variant-numeric: tabular-nums; }
.read figure { margin: var(--space-4) 0; }
.read figure img { width: 100%; border-radius: var(--radius-card); filter: var(--media-filter); display: block; }
.read figcaption { font-size: var(--caption-size); color: var(--text-3); margin-top: var(--space-1); }
.read a { color: var(--accent-text); text-decoration: underline; text-underline-offset: 3px; }
/* ---- Article page frame. Head, then body beside a sticky rail. The source
        list and newsletter below keep the full column width, so the page
        reads as article then furniture. ---- */

/* Head: headline, byline and share on the left, the featured image on the
   right. The text column is a flex column the height of the image, so the
   byline and share row sit on the image's bottom edge the way the flush
   lead does on home. */
.read-head {
  display: grid;
  grid-template-columns: var(--read-head-cols);
  gap: var(--read-head-gap);
  align-items: stretch;
  margin-block-end: var(--space-6);
  padding-block-end: var(--space-6);
  border-bottom: 1px solid var(--border);
}
.read-head__text { display: flex; flex-direction: column; min-width: 0; }
.read-head__text > .kicker { margin-bottom: var(--space-1); text-wrap: var(--kicker-wrap); }
.read-head h1 {
  font-family: var(--font-display);
  font-size: var(--read-title-size);
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-display);
  margin: 0;
}
.read-head__foot { margin-top: auto; padding-top: var(--read-head-foot-pad); display: flex; flex-direction: column; gap: var(--space-3); }
.read-head__foot p { margin: 0; }
.read-head figure { margin: 0; min-width: 0; }
.read-head figure img {
  width: 100%; height: 100%;
  aspect-ratio: var(--read-hero-ratio);
  object-fit: cover;
  border-radius: var(--radius-card);
  filter: var(--media-filter);
  display: block;
}
/* No featured image: the slot holds the ratio and names what belongs in it. */
.read-head figure:not(:has(img)) {
  aspect-ratio: var(--read-hero-ratio);
  display: grid; place-items: center;
  border-radius: var(--radius-card);
  background: var(--sunk);
  font-size: var(--text-xs); letter-spacing: var(--tracking-kicker); text-transform: uppercase; color: var(--text-3);
}

/* Share row. The network marks sit bare, the way the watch page draws
   them, under one visible "Share" label for the group: no box, a 44px
   target, the soft fill on hover. Copy link is bare too, underlined so it
   still reads as an action, and stays text because it has to say "Copied". */
.share { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-half); }
.share__label { font-family: var(--font-ui); font-size: var(--text-sm); color: var(--text-3); margin-right: var(--space-half); }
.share__copy { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; padding: 0 var(--space-1); }
.share .btn[data-copied="true"] { background: var(--accent-soft); }

/* The support ask at the foot of the copy, before the sources. The column
   is narrower than the band on home, so the buttons drop under the text. */
.module-ask--stack { grid-template-columns: minmax(0, 1fr); }
.module-ask--stack .module-ask__actions { margin-top: var(--space-2); }

/* Body beside the rail. The copy, the source list and the More-from shelf
   stack in the left column at the reading measure; the rail hugs the right
   edge of the column, in line with the featured image above it, and sticks
   for the full height of that stack, so it is on screen until the
   newsletter. */
.read-layout {
  display: grid;
  grid-template-columns: var(--read-layout-cols);
  justify-content: space-between;
  column-gap: var(--space-6);
  align-items: start;
  margin-block-end: var(--section-gap);
}
/* At phone width the main column dissolves (display: contents) so the body,
   the rail and the sections are one column of grid items, ordered so the
   rail follows the body and the ask follows the rail (Step 25). */
.read-layout__main { display: var(--read-main-display); min-width: 0; }
.read-layout__main .read { order: var(--read-body-order); margin-block-end: var(--section-gap); }
.read-layout__main .section:last-child { margin-block-end: 0; }
.read-rail { position: sticky; top: calc(var(--read-rail-top) + var(--header-follow)); order: var(--read-rail-order); margin-block-end: var(--read-rail-gap); }
.read-rail h2 { font-family: var(--font-ui); font-size: var(--text-xs); letter-spacing: var(--tracking-kicker); text-transform: uppercase; color: var(--text-3); font-weight: var(--weight-medium); margin: 0 0 var(--space-1); }
.read-rail .card-article--rule { padding-block: var(--space-2); }
/* The row card stretches its thumbnail to the text height. Three titles of
   different lengths would give three thumbnail heights, so pin the ratio. */
.read-rail .card__media { align-self: flex-start; }
.read-rail .card__title { font-size: var(--text-base); }
/* The rail body is too narrow for date and read time on one line, and a
   wrapped meta left the separator dot stranded at the start of line two.
   Two clean lines instead, no dot. */
.read-rail .card__meta { flex-direction: column; gap: 0; }
.read-rail .card__meta > * + *::before { content: none; }
/* The route to the archive is a full-width button, so the rail ends on a
   call to action rather than a quiet link. */
.read-rail .btn { width: 100%; margin-top: var(--space-3); }

/* ---- Show landing page ---------------------------------------------------
        The split head (v1.1, Jeremy 2026-10-19), then the shelves the
        prototype already has. Nothing here is a new card. ---- */

/* The key art on the left, the intro on the right, centred on the art's
   height; one column under 900px (--show-head-cols). */
.show-head {
  display: grid;
  grid-template-columns: var(--show-head-cols);
  gap: var(--show-head-gap);
  align-items: var(--show-head-align);
  margin-block-end: var(--section-gap);
}
/* The show's own art, shown whole at its own 16:9. It is the link to the
   latest episode where one exists (js/show.js). */
.show-art {
  display: block;
  aspect-ratio: var(--show-art-ratio);
  overflow: hidden;
  border: var(--show-art-frame) solid var(--show-art-frame-color);
  border-radius: var(--show-art-radius);
  background: var(--show-art-ground);
}
.show-art img {
  display: block;
  width: 100%; height: 100%;
  object-fit: cover;
  filter: var(--media-filter);
}
/* No key art yet. The frame holds its shape and names what belongs in it. */
.show-art[data-label]:not(:has(img)) { display: flex; align-items: center; justify-content: center; }
.show-art[data-label]:not(:has(img))::after {
  content: attr(data-label);
  font-size: var(--text-sm);
  letter-spacing: var(--tracking-kicker);
  text-transform: uppercase;
  color: var(--text-3);
}

/* Beside the art: kicker, name, tagline, description, then the schedule,
   host and actions, all left aligned. */
.show-intro {
  display: flex; flex-direction: column; align-items: flex-start;
  gap: var(--show-intro-gap);
  min-width: 0;
}
.show-intro__text { max-width: var(--measure); }
.show-intro h1 {
  font-family: var(--font-display);
  font-size: var(--show-name-size);
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-display);
  margin: 0;
}
.show-intro__tagline {
  font-size: var(--text-md);
  line-height: var(--leading-snug);
  color: var(--text-2);
  margin: var(--space-1) 0 var(--space-3);
}
.show-intro__body { font-size: var(--text-base); line-height: var(--read-leading); margin: 0; }
/* The tagline carries the air under the name. A show with no tagline needs it
   on the paragraph instead. */
.show-intro h1 + .show-intro__body, .show-intro h1 + .show-intro__slot { margin-top: var(--space-3); }
/* A show with no description yet renders a named slot at the size the
   paragraph will be, not filler copy. */
.show-intro__slot {
  padding: var(--space-3);
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius-card);
  color: var(--text-2);
  font-size: var(--text-sm);
  line-height: var(--read-leading);
}

.show-meta { display: flex; flex-direction: column; align-items: flex-start; align-self: var(--show-meta-align); gap: var(--space-3); }
.show-meta__rows { display: flex; flex-direction: column; gap: var(--space-half); }
.show-meta__row { font-size: var(--text-sm); color: var(--text-2); }
.show-meta__row--quiet { color: var(--text-3); }
/* The host's name opens the contributor page, underlined as the follow
   note's link is, so it reads as a link in a row of plain facts. */
.show-meta__row a { text-decoration: underline; text-underline-offset: 0.2em; }
.show-meta__actions { display: flex; flex-direction: var(--actions-direction); flex-wrap: wrap; justify-content: flex-start; gap: var(--space-1); width: var(--show-actions-w); }
.show-meta__actions .btn { width: var(--actions-btn-w); min-height: var(--btn-stack-h); }   /* stacked full width at phone (item 12) */

/* ---- Running time on a segment. Tucker's highlights chip, bottom left of
        the media, so a clip reads as a short watch beside the full episodes.
        A chip, not artwork: it is UI that moves with the card, so the
        no-text-on-images rule holds. Always on, because the number is the
        point of the row. Digits are tabular. ---- */
.card__duration {
  position: absolute;
  left: calc(var(--card-media-inset) + var(--space-1));
  bottom: calc(var(--card-media-inset) + var(--space-1));
  display: inline-flex; align-items: center; gap: var(--space-half);
  padding: var(--space-half) var(--space-1);
  border-radius: var(--radius-sm);
  font-family: var(--font-ui);
  font-size: var(--text-xs);
  font-weight: var(--weight-medium);
  line-height: 1.2;
  letter-spacing: var(--tracking-kicker);
  background: var(--chip-media-fill); color: var(--chip-media-ink);
  pointer-events: none;
}
/* The same running time as a tag in the meta line (the video listings):
   after the show and date, no separator dot before it. */
.duration-tag {
  display: inline-flex; align-items: center; gap: var(--space-half);
  padding: var(--duration-tag-pad);
  border-radius: var(--duration-tag-radius);
  font-size: var(--duration-tag-size);
  font-weight: var(--weight-medium);
  line-height: 1.2;
  letter-spacing: var(--tracking-kicker);
  background: var(--duration-tag-fill); color: var(--duration-tag-ink);
}
.card__meta > .duration-tag::before { content: none; margin: 0; }
.duration-tag::after { order: -1; } /* the play triangle leads, as on the chip */
/* In a segment's kicker, above its title: bigger, and in the tag's own case
   rather than the kicker's capitals. */
.duration-tag--head {
  margin-left: var(--duration-tag-head-gap);
  padding: var(--duration-tag-head-pad);
  font-size: var(--duration-tag-head-size);
  text-transform: none;
  vertical-align: middle;
}
/* A drawn play triangle, so the chip says "watch" without an icon font. */
.duration-tag::after,
.card__duration::before {
  content: "";
  width: 0; height: 0;
  border-style: solid;
  border-width: 4px 0 4px 6px;
  border-color: transparent transparent transparent currentColor;
}

/* =============================================================
   The HighWire Protocol: closing statement band.
   A full-bleed band at the foot of the homepage, inverted from the
   page so it reads as a statement rather than another section.

   All copy is The HighWire's own, from /the-highwire-protocol/.
   Nothing here is written on their behalf. Do not embellish it.

   Every value is a token, so this band wears whichever brand
   direction is active. The inversion works in a dark direction too,
   because it swaps positions on the ramp rather than naming colours.
   ============================================================= */

.protocol {
  /* Invert against the page. The --protocol-* tokens default to the
     --inverse-* set, which reads the ramp, not fixed colours, so in a dark
     direction this flips the other way on its own; a direction can rest the
     band on another ground through its own block (F uses room 3).
     Greyscale's accent fix lives with them in tokens.css. */
  --ground: var(--protocol-ground);
  --raised: var(--protocol-raised);
  --text: var(--protocol-text);
  --text-2: var(--protocol-text-2);
  --text-3: var(--protocol-text-3);
  --border: var(--protocol-border);
  --accent: var(--protocol-accent);
  --accent-text: var(--protocol-accent-text);
  /* --focus reads --accent but was resolved at the root, with the page's
     accent. Re-point it here or the focus ring vanishes in greyscale. */
  --focus: var(--accent);

  /* Three layers: the wash over the drawing, the drawing, the fill. The
     first two are none by default, so a direction adds a drawing by two
     tokens and never by positioning the band (which moves its raster). */
  background-image: var(--protocol-art-wash), var(--protocol-art), var(--protocol-fill);
  background-size: auto, var(--protocol-art-size), auto;
  background-position: 0 0, var(--protocol-art-pos), 0 0;
  background-repeat: no-repeat;
  color: var(--text);
  padding-block: var(--protocol-pad-top) var(--protocol-pad-bottom);
  margin-top: var(--protocol-gap-before);
}
/* The same frame as <main>: the container's gutter outside the direction's
   column, so the band's left edge lines up with the page above it. */
.protocol__inner {
  box-sizing: content-box;
  max-width: min(var(--column), var(--container) - 2 * var(--gutter));
  margin: 0 auto; padding-inline: var(--gutter);
}

.protocol__kicker {
  font-family: var(--font-ui);
  font-size: var(--text-xs); letter-spacing: var(--tracking-kicker);
  text-transform: var(--kicker-transform, uppercase);
  font-weight: var(--kicker-weight, 500);
  color: var(--accent-text, var(--text-3));
}
.protocol__statement {
  font-family: var(--font-display);
  font-weight: var(--display-weight, 700);
  font-size: clamp(2rem, 4.4vw, var(--text-3xl));
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-display);
  max-width: 20ch;
  margin: var(--space-3) 0 var(--space-4);
  text-wrap: balance;
}
.protocol__dek {
  font-size: var(--text-md); line-height: var(--leading-snug);
  color: var(--text-2); max-width: 54ch; margin: 0;
}

/* ---- The wire. Five values strung along a single line, which is
        the logo's own metaphor and the "High Road" language from
        the protocol itself. ---- */
.protocol__wire { margin: var(--protocol-wire-gap) 0 var(--space-8); }
.protocol__line {
  position: relative; height: 1px; background: var(--border);
  margin-bottom: var(--space-6);
}
.protocol__line::after {
  content: ""; position: absolute; inset: 0 auto 0 0;
  width: 100%; height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent) 22%, var(--accent) 78%, transparent);
  opacity: .55;
}
.protocol__values {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: var(--space-4);
}
/* Each value is a size container, so the name below can cap itself at its
   own column's width in any direction, brand or window. */
.protocol__value { position: relative; padding-top: var(--space-4); container-type: inline-size; }
.protocol__value::before {
  content: ""; position: absolute; top: calc(var(--space-6) * -1 - 4px); left: 0;
  width: 9px; height: 9px; border-radius: 999px;
  background: var(--accent); box-shadow: 0 0 0 4px var(--ground);
}
.protocol__num {
  font-family: var(--font-ui);
  font-size: var(--text-xs); letter-spacing: var(--tracking-kicker);
  color: var(--text-3); display: block; margin-bottom: var(--space-half);
}
.protocol__name {
  font-family: var(--font-display); font-weight: var(--display-weight, 700);
  font-size: min(var(--protocol-name-size), var(--protocol-name-fit)); line-height: var(--leading-tight);
  margin: 0 0 var(--space-1);
}
.protocol__gloss { font-size: var(--protocol-body-size); line-height: var(--leading-body); color: var(--text-2); margin: 0; }

/* ---- The checkable promises. This is the part nobody else can copy. ---- */
.protocol__proof {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-6);
  border-top: 1px solid var(--border); padding-top: var(--space-6);
  margin-top: var(--space-8);
}
.protocol__proof h4 {
  font-family: var(--font-display); font-weight: var(--display-weight, 700);
  font-size: var(--text-md); line-height: var(--leading-snug); margin: 0 0 var(--space-1);
}
.protocol__proof p { font-size: var(--protocol-body-size); line-height: var(--leading-body); color: var(--text-2); margin: 0; }

.protocol__foot { margin-top: var(--space-8); display: var(--protocol-foot-display); align-items: baseline; gap: var(--space-3); flex-wrap: wrap; }
.protocol__link { font-family: var(--font-ui); color: var(--accent-text); font-size: var(--text-ui); text-decoration-line: var(--protocol-link-line); text-underline-offset: 4px; }
/* A 44px target without moving the line: the padding grows the hit area,
   the negative margin gives the space back (2026-10-19, the 13c check). */
.protocol__foot .protocol__link { display: inline-block; padding-block: calc((var(--target) - 1lh) / 2); margin-block: calc((1lh - var(--target)) / 2); }
.protocol__stamp { font-family: var(--font-ui); font-size: var(--text-xs); color: var(--text-3); }

@media (max-width: 900px) {
  .protocol__values { grid-template-columns: 1fr 1fr; gap: var(--space-6); }
  .protocol__proof { grid-template-columns: 1fr; gap: var(--space-4); }
}
@media (max-width: 560px) {
  .protocol__values { grid-template-columns: 1fr; }
  .protocol__line { display: none; }
  .protocol__value { border-left: 1px solid var(--border); padding-left: var(--space-3); padding-top: 0; }
  .protocol__value::before { top: 4px; left: -5px; }
}

/* =============================================================
   Guides (2026-09-17, brief: reference/GUIDES-BRIEF.md)

   A guide is a written spine with the archive hanging off it: a human order,
   prose between the items, the record pulled out of the pieces, questions to
   take into a room, and a handoff where one guide reaches another's territory.
   One template, guide.html?g=slug, fed by js/guides-data.js; guides.html is
   the index and F carries a Start here row of the same tiles.

   The rail is the map and the chapters are the territory, so under
   --guide-rail-min the rail goes and the stage chips pin in its place. Colour
   marks the kind of block, through the --guide-* tokens: navy for the head
   band, the chapter bar and the record's rule, teal over a video, lilac over
   an article, the gold tint under the questions (formatting pass, 2026-09-17).
   ============================================================= */

/* ---- The band and the head. The navy runs the full width of the window on a
   layer of its own, flush under the header (it takes back the page's top
   padding). Under --guide-rail-min the band has no box, so the stage chips
   can still pin through the whole article, and the head carries the navy
   alone; from --guide-rail-min up the band holds the head and the stage path
   together. ---- */
body:has(.guide-band) { overflow-x: clip; }
.guide-band { display: contents; }
.guide-band__head {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--guide-head-gap);
  align-items: center;
  margin-block: calc(var(--space-6) * -1) var(--space-3);
  padding-block: var(--space-6);
  color: var(--guide-band-ink);
}
.guide-band__head:has(.guide-head__media:not([hidden])) { grid-template-columns: var(--guide-head-cols); }
.guide-band__head::before, .guide-band__head::after,
.guide-band::before, .guide-band::after {
  content: "";
  position: absolute;
  inset-block: 0;
  left: 50%;
  width: 100vw;
  margin-left: -50vw;
  pointer-events: none;
}
.guide-band__head::before, .guide-band::before { z-index: -2; background: var(--guide-band-ground); }
.guide-band__head::after, .guide-band::after { z-index: -1; background-image: var(--grain-image); opacity: var(--guide-band-grain-opacity); }
.guide-band::before, .guide-band::after { display: none; }
.guide-head { min-width: 0; }
/* The guides index carries the same band with no stage path under the head:
   the title a step larger, and the band's foot closed up. */
.page--guides .guide-head h1 { font-size: var(--guides-title-size); }
.guide-band--plain .guide-band__head { margin-bottom: var(--space-6); }
/* The guide's image, on a plane of the accent, the rooms' one pop. */
.guide-head__media {
  margin: 0 var(--guide-head-plane) var(--guide-head-plane) 0;
  aspect-ratio: 3 / 2;
  border-radius: var(--radius-card-lg);
  background: var(--sunk);
  box-shadow: var(--guide-head-plane) var(--guide-head-plane) 0 var(--guide-band-pop);
}
.guide-head__media img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: inherit; filter: var(--media-filter); }
.guide-head h1 {
  font-family: var(--font-display);
  font-size: var(--guide-title-size);
  font-weight: var(--display-weight);
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-display);
  margin-top: var(--space-1);
  max-width: var(--measure);
}
.guide-head .dek { margin-top: var(--space-2); max-width: var(--measure); font-size: var(--text-md); }
.guide-head__audience { margin-top: var(--space-2); max-width: var(--measure); font-size: var(--text-base); color: var(--text-2); }
.guide-head__disclaimer { margin-top: var(--space-3); max-width: var(--measure); font-size: var(--text-sm); color: var(--text-2); }
/* The band's colours, scoped to the band: the guides index uses .guide-head on
   the light ground and must keep the page's own ink. */
.guide-band .guide-head .kicker { color: var(--guide-band-pop); }
.guide-band .guide-head .dek { color: var(--guide-band-ink); }
.guide-band .guide-head .guide-head__audience, .guide-band .guide-head .guide-head__disclaimer { color: var(--guide-band-muted); }

/* ---- Where are you? The one control on the page. Under --guide-rail-min it
   takes the rail's job and pins, so the row scrolls sideways in its own box
   rather than wrapping into three rows and pushing the page down. ---- */
.guide-stages {
  position: var(--guide-stages-position);
  top: var(--header-follow);
  z-index: 5;
  margin-block-end: var(--space-6);
  padding-block: var(--space-1);
  background: var(--ground);
  border-bottom: var(--guide-stages-rule) solid var(--border);
}
.guide-stages__head { display: flex; align-items: baseline; gap: var(--space-2); margin-bottom: var(--space-1); }
/* The row scrolls inside itself; at phone it bleeds to the screen edge like
   a shelf, with no scrollbar (Step 25). */
.guide-stages .chip-row { counter-reset: guide-stage; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: var(--guide-chips-scrollbar); margin-inline-end: calc(-1 * var(--shelf-bleed)); padding-inline-end: var(--shelf-bleed); }
/* The current stage fills like a current nav item, not like a pressed chip:
   the accent belongs to the tick and the progress rule. */
.guide-stages .chip[aria-current="true"] { background: var(--guide-step-current-fill); border-color: var(--border-strong); color: var(--text); }
/* At phone (v1.1, Jeremy 2026-10-19: the chips read as filters, not as
   places to jump to) the stages run down the page as the numbered path
   desktop draws across it: a ring with the number, the stage beside it, a
   thread joining the rings. Every value is a --guide-step* token whose root
   value is the chip's own, so nothing moves until F's phone block sets them;
   the ring is not drawn while --guide-step-num is none. The thread is the
   row's background, first ring to last, and each ring's fill covers it. */
.guide-stages .chip-row { flex-direction: var(--guide-steps-flow); gap: var(--guide-steps-gap); background: var(--guide-steps-thread); }
.guide-stages .chip { border-width: var(--guide-step-border-w); background: var(--guide-step-fill); padding: var(--guide-step-pad); gap: var(--guide-step-gap); font-size: var(--guide-step-size); counter-increment: guide-stage; }
.guide-stages .chip::before {
  content: var(--guide-step-num);
  flex: none;
  display: grid;
  place-items: center;
  width: var(--guide-path-dot);
  height: var(--guide-path-dot);
  border: 1px solid var(--border-strong);
  border-radius: 50%;
  background: var(--ground);
  color: var(--text);
  font-size: var(--text-xs);
  font-variant-numeric: tabular-nums;
}
.guide-stages .chip[aria-current="true"]::before { background: var(--text); color: var(--ground); }
/* From --guide-rail-min up (1120px; a media query cannot read a token) the
   band takes its box and the stages become a numbered path inside it: the
   stages are a real sequence, so the numbers are earned. The numbers are CSS
   counters, because guide.js matches a chip to its stage by its text. */
@media (width >= 1120px) {
  .guide-band {
    display: block;
    position: relative;
    isolation: isolate;
    margin-block: calc(var(--space-6) * -1) var(--space-6);
    padding-block: var(--space-6) var(--space-4);
    color: var(--guide-band-ink);
  }
  .guide-band::before, .guide-band::after { display: block; }
  .guide-band__head::before, .guide-band__head::after { display: none; }
  .guide-band__head { margin-block: 0 var(--space-4); padding-block: 0; }
  .guide-band--plain .guide-band__head { margin-bottom: var(--space-2); }
  .guide-stages {
    margin: 0;
    padding-block: var(--space-3) 0;
    background: none;
    border-top: 1px solid var(--guide-band-rule);
  }
  .guide-stages__head { margin-bottom: var(--space-2); }
  .guide-stages .kicker { color: var(--guide-band-pop); }
  .guide-stages .chip-row { counter-reset: guide-stage; gap: 0; overflow: visible; }
  .guide-stages .chip,
  .guide-stages .chip[aria-current="true"] {
    counter-increment: guide-stage;
    position: relative;
    flex: 1 1 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-1);
    height: auto;
    min-height: var(--target);
    padding: 0 var(--space-2) 0 0;
    border: 0;
    border-radius: 0;
    background: none;
    color: var(--guide-band-ink);
    white-space: normal;
  }
  .guide-stages .chip::before {
    content: counter(guide-stage);
    position: relative;
    z-index: 1;
    display: grid;
    place-items: center;
    width: var(--guide-path-dot);
    height: var(--guide-path-dot);
    border: 1px solid var(--guide-band-pop);
    border-radius: 50%;
    background: var(--feature-navy-ground-b);
    color: var(--guide-band-pop);
    font-size: var(--text-xs);
    font-variant-numeric: tabular-nums;
  }
  .guide-stages .chip::after {
    content: "";
    position: absolute;
    left: var(--guide-path-dot);
    right: 0;
    top: calc(var(--guide-path-dot) / 2);
    height: 1px;
    background: var(--guide-band-pop);
    opacity: 0.45;
  }
  .guide-stages .chip:last-child::after { display: none; }
  .guide-stages .chip:hover { color: var(--guide-band-pop); }
  .guide-stages .chip[aria-current="true"]::before { background: var(--guide-band-pop); color: var(--guide-band-pop-ink); }
}

/* ---- The overview. Three short blocks, four on the schedule guide, stacked
   under --guide-rail-min. Only the Start here block carries an image. ---- */
.guide-overview {
  display: grid;
  grid-template-columns: var(--guide-overview-cols);
  gap: var(--space-4);
  margin-block-end: var(--space-8);
}
/* The schedule guide's four blocks run two by two (js/guide.js marks the
   count); the token stacks them at phone. */
.guide-overview[data-count="4"] { --guide-overview-cols: var(--guide-overview-cols-four); }
.guide-overview__block { min-width: 0; }
/* Stacked under --guide-rail-min, a block would otherwise run the full
   column and read at 110 characters a line. */
.guide-overview__block p { margin-top: var(--space-1); max-width: var(--measure); }
.guide-overview__by { margin-top: var(--space-2); font-size: var(--text-sm); color: var(--text-3); }
.guide-overview__why { font-size: var(--text-sm); color: var(--text-2); }
.guide-overview .card { max-width: var(--guide-start-card); }
.guide-overview .card__title { font-size: var(--text-base); margin-top: var(--space-1); }

/* ---- The rail and the chapters ---- */
.guide-layout { display: grid; grid-template-columns: var(--guide-layout-cols); gap: var(--guide-rail-gap); align-items: start; }
.guide-rail { display: var(--guide-rail-display); position: sticky; top: calc(var(--guide-rail-top) + var(--header-follow)); order: var(--guide-rail-order); min-width: 0; margin-bottom: var(--guide-rail-stop, 0px); }
/* No orphans on a guide: headings balance their lines and running text keeps
   more than one word on its last line (Jeremy, 2026-09-17). */
:is(.page--guide, .page--guides) :is(h1, h2, h3, h4) { text-wrap: balance; }
:is(.page--guide, .page--guides) :is(p, li, label, .guide-handoff__label) { text-wrap: pretty; }
/* A record fact is short enough to balance, which also rescues a last line
   that is one long hyphenated word. The article title drops the legal row's
   line clamp here, because a clamped box ignores text-wrap. */
.page--guide .guide-record__fact { text-wrap: var(--guide-fact-wrap); }
.guide-read .row-legal__title { display: block; -webkit-line-clamp: unset; overflow: visible; }
.guide-rail__head { margin-bottom: var(--space-1); }
/* The progress rule fills as the reader moves through the chapters. The fill
   is a scale, set from js/guide.js on scroll, so nothing animates. */
.guide-rail__list { position: relative; padding-left: var(--space-3); }
.guide-rail__list::before {
  content: "";
  position: absolute; left: 0; top: 0; bottom: 0;
  width: var(--guide-progress-w);
  background: var(--border);
}
.guide-rail__fill {
  position: absolute; left: 0; top: 0; bottom: 0;
  width: var(--guide-progress-w);
  background: var(--guide-progress);
  transform: scaleY(var(--guide-progress-fill, 0));
  transform-origin: top;
}
.guide-rail__item a {
  font-family: var(--font-ui);
  display: flex; align-items: center; gap: var(--space-1);
  min-height: var(--target);
  padding-right: var(--space-1);
  font-size: var(--text-sm);
  color: var(--text-2);
}
.guide-rail__item a:hover { color: var(--text); }
.guide-rail__item a[aria-current="true"] { color: var(--text); font-weight: var(--weight-medium); }
.guide-rail__n { color: var(--text-3); font-variant-numeric: tabular-nums; }

/* ---- The chapter bar (v1.1, Jeremy 2026-10-19, concept 1 of
   screenshots/concepts/guide-chapter-nav). Pinned under the header while the
   chapters are on screen, following it away and back on --header-follow.
   js/guide.js builds it on every guide and sets [hidden] outside the
   chapters; --guide-jump-display keeps it off everywhere but F at phone,
   where the rail it stands in for sits under the chapters. The rings are the
   stages path's own; the list draws its thread item by item, ring to ring. */
.guide-jump {
  display: var(--guide-jump-display);
  position: fixed;
  top: var(--header-follow);
  left: 0;
  right: 0;
  z-index: 15;
  background: var(--raised);
  border-bottom: 1px solid var(--border);
  font-family: var(--font-ui);
  color: var(--text);
  transition: top var(--header-slide);
}
.guide-jump[hidden], .guide-jump__panel[hidden], .guide-jump__scrim[hidden] { display: none; }
.guide-jump__row { display: flex; align-items: center; gap: var(--space-2); min-height: var(--guide-jump-h); padding-inline: var(--gutter); }
.guide-jump__ring {
  position: relative;
  z-index: 1;
  flex: none;
  display: grid;
  place-items: center;
  width: var(--guide-path-dot);
  height: var(--guide-path-dot);
  border: 1px solid var(--border-strong);
  border-radius: 50%;
  background: var(--raised);
  color: var(--text);
  font-size: var(--text-xs);
  font-variant-numeric: tabular-nums;
}
.guide-jump__row .guide-jump__ring,
.guide-jump__item[aria-current="true"] .guide-jump__ring { background: var(--text); border-color: var(--text); color: var(--raised); }
.guide-jump__now { flex: 1 1 auto; min-width: 0; margin: 0; display: flex; flex-direction: column; }
.guide-jump__of { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: var(--text-xs); font-weight: var(--kicker-weight); letter-spacing: var(--tracking-kicker); text-transform: var(--kicker-transform); color: var(--kicker-color); }
.guide-jump__stage { font-size: var(--text-base); font-weight: var(--weight-medium); line-height: var(--leading-snug); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.guide-jump__toggle {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  min-height: var(--target);
  padding: 0 var(--space-1) 0 var(--space-2);   /* the chevron carries its own air on the right */
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-button);
  background: transparent;
  color: var(--text);
  font: inherit;
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  cursor: pointer;
}
.guide-jump__toggle:hover { background: var(--accent-soft); }
.guide-jump__toggle svg { flex: none; width: var(--space-2); height: var(--space-2); }
.guide-jump__toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.guide-jump__rule { display: flex; gap: var(--space-half); height: var(--guide-jump-rule); margin: 0 var(--gutter) var(--space-1); }
.guide-jump__rule i { flex: 1; border-radius: var(--guide-jump-rule); background: linear-gradient(90deg, var(--text) calc(var(--fill, 0) * 100%), var(--border) 0); }
.guide-jump__panel { max-height: var(--guide-jump-panel-max); overflow-y: auto; overscroll-behavior: contain; padding: 0 var(--gutter) var(--space-3); border-top: 1px solid var(--border); }
.guide-jump__list { list-style: none; margin: 0; padding: 0; }
.guide-jump__list li { position: relative; }
.guide-jump__list li:not(:last-child)::before {
  content: "";
  position: absolute;
  left: calc(var(--guide-path-dot) / 2 - 0.5px);
  top: calc(var(--space-2) + var(--guide-path-dot) / 2);
  height: 100%;
  border-left: 1px solid var(--border-strong);
}
.guide-jump__item { display: flex; align-items: flex-start; gap: var(--space-2); min-height: var(--target); padding-top: var(--space-2); color: var(--text); }
.guide-jump__text { display: flex; flex-direction: column; gap: var(--space-half); min-width: 0; padding-top: var(--space-half); }
.guide-jump__name { font-size: var(--text-base); font-weight: var(--weight-medium); line-height: var(--leading-snug); }
.guide-jump__q { font-size: var(--text-sm); line-height: var(--leading-snug); color: var(--text-2); }
.guide-jump__item[aria-current="true"] .guide-jump__name { font-weight: var(--weight-bold); }
.guide-jump__item:hover .guide-jump__name { color: var(--link-hover); }
.guide-jump__scrim { position: fixed; inset: 0; z-index: 14; background: var(--guide-jump-scrim); }

.guide-chapters { min-width: 0; display: flex; flex-direction: column; gap: var(--guide-gap); }
.guide-chapter {
  scroll-margin-top: calc(var(--guide-scroll-margin) + var(--header-clearance));
  display: grid;
  grid-template-columns: var(--guide-chapter-cols);
  column-gap: var(--guide-side-gap);
  row-gap: var(--space-4);
  align-items: start;
  padding-top: var(--section-rule-gap);
  border-top: var(--section-rule) solid var(--section-rule-color);
}
.guide-chapter__question {
  font-family: var(--font-display);
  font-size: var(--guide-question-size);
  font-weight: var(--display-weight);
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-display);
  max-width: var(--guide-measure);
}
/* Main and margin. The bar, the question, the ICAN line and the handoff run
   the chapter's full width; between them the argument runs down the main
   column (what happens, the record, the questions) and the material sits in
   the margin (the segment, the article, go deeper). Stacked, main first, under
   --guide-rail-min. */
.guide-chapter__prose { max-width: var(--guide-measure); }
.guide-chapter__prose p + p { margin-top: var(--para-gap); }
.guide-chapter > * { margin: 0; grid-column: 1 / -1; min-width: 0; }
.guide-chapter > .guide-chapter__main, .guide-chapter > .guide-chapter__side { grid-column: auto; }
.guide-chapter--solo > .guide-chapter__main { grid-column: 1 / -1; }
.guide-chapter__main { display: flex; flex-direction: column; gap: var(--space-4); }
.guide-chapter__side { display: flex; flex-direction: column; gap: var(--space-3); }
.guide-chapter__bar { display: flex; align-items: center; gap: var(--space-2); }
.guide-chapter__n {
  display: inline-flex;
  align-items: center;
  min-height: var(--space-3);
  padding: 0 var(--space-1);
  border-radius: var(--radius-sm);
  background: var(--guide-bar-ground);
  color: var(--guide-bar-ink);
  font-family: var(--font-ui);
  font-size: var(--text-xs);
  font-weight: var(--weight-bold);
  letter-spacing: var(--tracking-kicker);
  text-transform: uppercase;
}
.guide-chapter__bar + .guide-chapter__question { margin-top: calc(var(--space-4) * -1 + var(--space-1)); }

/* ---- The record. Facts quoted from the linked piece, with the source and the
   date under each one. Never more than three. No box: a navy rule over it, a
   navy mark on each fact and hairlines between them. ---- */
.guide-record { padding-top: var(--space-2); border-top: var(--guide-record-rule-w) solid var(--guide-record-rule); }
.guide-record .kicker { color: var(--guide-record-rule); }
.guide-record__list { display: flex; flex-direction: column; margin-top: var(--space-1); }
.guide-record__item { position: relative; padding: var(--space-2) 0 var(--space-2) calc(var(--guide-record-mark) + var(--space-2)); }
.guide-record__item + .guide-record__item { border-top: 1px solid var(--border); }
.guide-record__item:last-child { padding-bottom: 0; }
.guide-record__item::before {
  content: "";
  position: absolute;
  left: 0;
  top: calc(var(--space-2) + 0.5em);
  width: var(--guide-record-mark);
  height: var(--guide-record-mark);
  background: var(--guide-record-rule);
}
.guide-record__context { color: var(--text-2); }
.guide-record__source { margin-top: var(--space-half); font-family: var(--font-ui); font-size: var(--text-sm); color: var(--text-2); }
.guide-record__source a { color: var(--accent-text); text-decoration: underline; text-underline-offset: 3px; }
/* A date never breaks across lines, so a source line cannot end on "2, 2025". */
.guide-record__source time { white-space: nowrap; }

/* ---- The anchor: the segment this chapter turns on, as a card to the watch
   page. A missing frame falls back to the card's own labelled empty state. ---- */
.guide-anchor {
  display: grid;
  grid-template-columns: var(--guide-anchor-cols);
  gap: var(--space-2) var(--space-3);
  align-items: start;
  padding-top: var(--space-2);
  border-top: var(--guide-side-rule) solid var(--guide-rule-video);
}
.guide-anchor .card__media { aspect-ratio: 16 / 9; --media-radius: var(--radius-card-lg); }
.guide-anchor__body { display: flex; flex-direction: column; gap: var(--space-1); min-width: 0; }
.guide-anchor__title {
  font-family: var(--font-display);
  font-size: var(--guide-anchor-title);
  font-weight: var(--display-weight);
  line-height: var(--leading-snug);
  letter-spacing: var(--tracking-display);
}
.guide-anchor__title a:hover { color: var(--link-hover); }
.guide-anchor__actions { display: flex; flex-wrap: wrap; gap: var(--space-1); margin-top: var(--space-1); }
/* Where the segment has not been cut out of the episode, the button names the
   episode and this line says why. Never a made-up timestamp. */
.guide-anchor__note { font-size: var(--text-sm); color: var(--text-3); }

/* ---- Read: one article, the legal page's row card with the image left out,
   since the archive's articles mostly have none. ---- */
.guide-read { padding-top: var(--space-2); border-top: var(--guide-side-rule) solid var(--guide-rule-article); }
.guide-read .row-legal { border-top: 0; padding-block: 0; }
/* A step under the anchor's title: the segment leads the chapter, the article
   follows it. */
.guide-read .row-legal__title { font-size: var(--guide-read-title); -webkit-line-clamp: 3; }

/* ---- Questions to ask. The object a parent takes to the appointment: real
   checkboxes, state kept per guide, and a print that leaves the rest out. ---- */
.guide-questions { padding: var(--space-3); border-radius: var(--radius-card-lg); background: var(--guide-questions-ground); }
.guide-questions .kicker { color: var(--accent-text); }
.guide-questions__list { margin-top: var(--space-1); }
.guide-question {
  display: flex; align-items: flex-start; gap: var(--space-2);
  min-height: var(--target);
  padding-block: var(--space-half);
  max-width: var(--guide-measure);
  cursor: pointer;
}
.guide-question input {
  flex: none;
  width: 20px; height: 20px;
  margin: 0;
  margin-top: 2px;
  accent-color: var(--guide-check);
}
.guide-question input:checked + span { color: var(--text-2); }
.guide-questions__print {
  margin-top: var(--space-1);
  min-height: var(--guide-print-h);
  padding: 0;
  border: 0;
  background: none;
  font-family: var(--font-ui);
  font-size: var(--text-sm);
  color: var(--text-2);
  cursor: pointer;
}
.guide-questions__print:hover { color: var(--link-hover); }

/* ---- Go deeper: the band's card grammar, a square thumbnail where a frame
   exists and none where there is none. ---- */
.guide-deeper__list {
  display: grid;
  grid-template-columns: repeat(var(--guide-deeper-cols), minmax(0, 1fr));
  gap: var(--space-3);
  margin-top: var(--space-2);
}
/* Two across for two or four, but only where the list runs across at all. */
@media (width < 1120px) {
  .guide-deeper__list[data-count="2"], .guide-deeper__list[data-count="4"] { --guide-deeper-cols: var(--guide-deeper-cols-pair); }
}
.guide-deeper { padding-top: var(--space-2); border-top: 1px solid var(--border-strong); }
.guide-deeper__item { display: flex; align-items: flex-start; gap: var(--space-2); min-width: 0; }
/* The band's square lands on the seam of the show's two-box frames, where
   half the picture is the join between the two people. These are 16:9 frames
   and they keep their shape (2026-09-17). */
.guide-deeper__media {
  flex: none;
  width: var(--guide-deeper-thumb);
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: var(--radius-card);
  background: var(--sunk);
}
.guide-deeper__media:not(:has(img)) { display: none; }
.guide-deeper__media img { display: block; width: 100%; height: 100%; object-fit: cover; filter: var(--media-filter); }
.guide-deeper__body { min-width: 0; display: flex; flex-direction: column; gap: var(--space-half); align-items: flex-start; }
.guide-deeper__foot { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-1); }
.guide-deeper__title {
  font-family: var(--font-display);
  font-size: var(--guide-deeper-title);
  font-weight: var(--display-weight);
  line-height: var(--leading-snug);
  letter-spacing: var(--tracking-display);
}
.guide-deeper__title a:hover { color: var(--link-hover); }
/* A note in the data is a label on the card ("Get Factsinated explainer"), and
   some run a sentence long ("Aaron Siri questions Dr. Stanley Plotkin"), so
   this badge wraps and keeps sentence case: the house rule reserves caps for
   kickers and the wordmark, and a sentence in caps shouts over the title. */
.guide-deeper .badge { white-space: normal; text-align: left; text-transform: none; letter-spacing: 0; }

/* ---- The ICAN line. Only where ICAN acted: the hanging mark, the line, and
   the way into the legal record. ---- */
.guide-ican {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  gap: var(--space-2);
  padding-top: var(--space-2);
  border-top: 1px solid var(--border);
}
.guide-ican .kicker { padding-top: 2px; }
.guide-ican__link { font-family: var(--font-ui); font-size: var(--text-sm); font-weight: var(--weight-medium); white-space: nowrap; }
.guide-ican__link:hover { color: var(--link-hover); }

/* ---- Next: the next chapter, or the handoff to the guide that owns what
   comes next. A handoff to a guide that does not exist yet says so. ---- */
.guide-next { display: flex; justify-content: flex-end; }
.guide-next .more { font-family: var(--font-ui); font-size: var(--text-sm); font-weight: var(--weight-medium); }
.guide-next .more:hover { color: var(--link-hover); }
.guide-handoff {
  display: flex; align-items: center; gap: var(--space-2);
  padding: var(--space-3);
  border-radius: var(--radius-card-lg);
  background: var(--guide-handoff-ground);
  color: var(--guide-handoff-ink);
}
.guide-handoff__label { flex: 1 1 auto; min-width: 0; }
.guide-handoff .kicker { flex: none; color: inherit; }
a.guide-handoff:hover .guide-handoff__label { text-decoration: underline; text-underline-offset: 3px; }

/* ---- The action layer, after the last chapter: what ICAN did, the ask, the
   films, the email and the next guide. Everything else here is the article and
   legal pages' own components. ---- */
/* Clear air between the last chapter's handoff and the action layer's rule. */
.guide-action { margin-top: var(--guide-action-gap); }
.guide-action__line { max-width: var(--measure); margin-bottom: var(--space-3); }
.guide-action .grid-films { --film-cols: 3; }

/* ---- The tiles: the index, and the Start here row on F. Typographic, with a
   strip of three frames from the guide's anchors along the bottom edge; a
   planned guide shows the strip empty and does not link. ---- */
.grid-guides {
  display: grid;
  grid-template-columns: repeat(var(--guide-tile-cols), minmax(0, 1fr));
  gap: var(--guide-tile-gap);
}
/* The Start here row on F: four tiles in one row, and the five tiers (badge,
   title, dek, meta, frames) run as a subgrid so a two-line title next to a
   one-line title cannot push its neighbours' lines out of step, the way the
   band's four rows do. */
.grid-guides--row {
  --guide-tile-cols: var(--guide-row-cols);
  --guide-tile-title: var(--text-md);
  --guide-tile-pad: var(--space-3);
  --guide-tile-min: 0px;
  --guide-tile-text: none;
  --guide-tile-photo-inset: 0 0 auto 0;
  --guide-tile-photo-h: var(--guide-tile-photo-row-h);
  --guide-tile-photo-mask: var(--guide-tile-photo-mask-down);
  grid-template-rows: repeat(4, auto);
  /* The row scrolls sideways, the way the card shelves do, so every guide is
     in it rather than only the four that fit. It stays a grid because the
     tiers below are a subgrid: columns are laid on demand, each sized to show
     --guide-tile-cols of them, and the rest wait to the right. js/shelf.js
     drives the arrows in the section head, the same ones the shelves use. */
  grid-auto-flow: column;
  grid-template-columns: none;
  grid-auto-columns: var(--guide-row-basis);
  overflow-x: auto;
  scroll-snap-type: var(--shelf-snap);
  scroll-behavior: var(--shelf-scroll);
  padding-bottom: var(--space-1);
  scrollbar-width: var(--shelf-scrollbar);
  margin-inline-end: calc(-1 * var(--shelf-bleed));
  padding-inline-end: var(--shelf-bleed);
}
/* The row's tiles stand upright: the image across the top, fading down into
   the room, and the four tiers under it (badge, title, dek, the quiet go line)
   run as a subgrid so a two-line title next to a one-line title still lines
   the deks up. The image is out of flow, so it takes no tier. */
.grid-guides--row .tile-guide {
  display: grid; grid-row: span 4; grid-template-rows: subgrid; gap: 0;
  padding-top: calc(var(--guide-tile-photo-row-h) - var(--space-3));
  scroll-snap-align: start;
}
.grid-guides--row .tile-guide > * { align-self: start; }
.grid-guides--row .tile-guide__title { margin-top: var(--space-1); }
.grid-guides--row .tile-guide__dek { margin-top: var(--space-1); font-size: var(--text-sm); }
.grid-guides--row .tile-guide__go { align-self: end; }
/* A tile: a lit room. The ground, the inks and the badge come from the room
   the tile's position gives it; the image sits behind everything on a layer of
   its own, masked so it fades in from the type's side, and the type's column
   stops before the image is solid. The title's link covers the whole tile. */
.tile-guide {
  --tile-ground: var(--raised);
  --tile-ink: var(--text);
  --tile-muted: var(--text-2);
  --tile-badge: var(--accent-soft);
  --tile-badge-ink: var(--text);
  --tile-go: var(--accent-text);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex; flex-direction: column; gap: var(--space-1);
  min-height: var(--guide-tile-min);
  padding: var(--guide-tile-pad);
  border-radius: var(--radius-card-lg);
  background: var(--tile-ground);
  color: var(--tile-ink);
  min-width: 0;
}
.grid-guides > .tile-guide:nth-child(4n + 1) { --tile-ground: var(--guide-tile-1-ground); --tile-ink: var(--guide-tile-1-ink); --tile-muted: var(--guide-tile-1-muted); --tile-badge: var(--guide-tile-1-badge); --tile-badge-ink: var(--guide-tile-1-badge-ink); --tile-go: var(--guide-tile-1-go); }
.grid-guides > .tile-guide:nth-child(4n + 2) { --tile-ground: var(--guide-tile-2-ground); --tile-ink: var(--guide-tile-2-ink); --tile-muted: var(--guide-tile-2-muted); --tile-badge: var(--guide-tile-2-badge); --tile-badge-ink: var(--guide-tile-2-badge-ink); --tile-go: var(--guide-tile-2-go); }
.grid-guides > .tile-guide:nth-child(4n + 3) { --tile-ground: var(--guide-tile-3-ground); --tile-ink: var(--guide-tile-3-ink); --tile-muted: var(--guide-tile-3-muted); --tile-badge: var(--guide-tile-3-badge); --tile-badge-ink: var(--guide-tile-3-badge-ink); --tile-go: var(--guide-tile-3-go); }
.grid-guides > .tile-guide:nth-child(4n + 4) { --tile-ground: var(--guide-tile-4-ground); --tile-ink: var(--guide-tile-4-ink); --tile-muted: var(--guide-tile-4-muted); --tile-badge: var(--guide-tile-4-badge); --tile-badge-ink: var(--guide-tile-4-badge-ink); --tile-go: var(--guide-tile-4-go); }
.tile-guide > :not(.tile-guide__photo) { max-width: var(--guide-tile-text); }
.tile-guide .badge { background: var(--tile-badge); color: var(--tile-badge-ink); }
.tile-guide__title {
  font-family: var(--font-display);
  font-size: var(--guide-tile-title);
  font-weight: var(--display-weight);
  line-height: var(--leading-snug);
  letter-spacing: var(--tracking-display);
  text-wrap: balance;
}
.tile-guide__title a { color: inherit; }
.tile-guide__title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.tile-guide__title a:hover { text-decoration: underline; text-underline-offset: 4px; }
.tile-guide__title a:focus-visible { outline: none; }
.tile-guide:has(.tile-guide__title a:focus-visible) { outline: 2px solid var(--focus, var(--accent)); outline-offset: 2px; }
.tile-guide__dek { color: var(--tile-muted); text-wrap: balance; }
.tile-guide__go {
  margin-top: auto;
  padding-top: var(--space-2);
  font-family: var(--font-ui);
  font-size: var(--text-sm);
  font-weight: var(--weight-bold);
  color: var(--tile-go);
}
.tile-guide__photo {
  position: absolute;
  inset: var(--guide-tile-photo-inset);
  height: var(--guide-tile-photo-h);
  z-index: -1;
  margin: 0;
  opacity: var(--guide-tile-photo-opacity);
  -webkit-mask-image: var(--guide-tile-photo-mask);
  mask-image: var(--guide-tile-photo-mask);
  pointer-events: none;
}
.tile-guide__photo img { display: block; width: 100%; height: 100%; object-fit: cover; filter: var(--media-filter); }

/* ---- Print: the questions alone, one page, with the guide's title and the
   reviewed date at the top. The button on a chapter prints that chapter;
   the browser's own print takes the whole guide. ---- */
.guide-print { display: none; }
@media print {
  .scaffold, .site-header, .site-footer, [data-variant],
  .guide-band__head, .guide-head, .guide-stages, .guide-overview, .guide-rail, .guide-action, .guide-jump, .guide-jump__scrim,
  .guide-chapter > :not(.guide-chapter__bar, .guide-chapter__main),
  .guide-chapter__main > :not(.guide-questions),
  .guide-questions__print { display: none !important; }
  .guide-band::before, .guide-band::after { display: none !important; }
  .guide-band { margin: 0; padding: 0; }
  .guide-chapter__n { padding: 0; background: none; color: inherit; }
  .guide-questions { padding: 0; background: none; }
  html[data-print-chapter] .guide-chapter:not(.is-printing) { display: none !important; }
  .guide-print { display: block; margin-bottom: var(--space-3); }
  .guide-print h1 { font-family: var(--font-display); font-size: var(--text-lg); }
  .page--guide { padding-block-start: 0; }
  .guide-chapters { gap: var(--space-2); }
  .guide-chapter { display: block; padding-top: 0; border-top: 0; }
  .guide-questions .kicker { display: none; }
  .guide-question { min-height: 0; padding-block: 0; font-size: var(--guide-print-size); line-height: var(--guide-print-leading); }
  .guide-question input { width: 12px; height: 12px; margin-top: 3px; }
  .guide-layout { display: block; }
}

/* =============================================================
   The topics section (Step 18, 2026-09-18). The topic card on the
   hub, the named-thing index tile, the proof strip, the row list
   and the designed empty state. Every colour reads a token; the
   sizes, radii and spacings read the --topic-card-*, --index-*,
   --proof-*, --rowlist-* and --empty-* tokens at layer 1.
   ============================================================= */

/* The hub's topic row. A subject in one row: the name as the way in and
   the scope line under it, on a hairline. The shelves are one click away on
   the topic. Counts never appear. */
.topic-card {
  display: flex;
  flex-direction: column;
  gap: var(--topic-card-gap);
  padding: var(--topic-card-pad);
  border-bottom: var(--topic-card-rule) solid var(--border);
  border-radius: var(--topic-card-radius);
  background: var(--topic-card-fill);
}
.topic-card__name a:hover { color: var(--link-hover); }
.topic-card__name { font-size: var(--topic-card-name); }
/* The arrow rides the last word. As an inline-flex row it stretched the
   anchor and left the arrow at the card's right edge whenever the name
   wrapped, which is most of them. */
.topic-card__name .glyph { font-size: var(--text-md); color: var(--text-3); }
.topic-card__name a:hover .glyph { color: inherit; }
.topic-card__scope { font-size: var(--text-ui); color: var(--text-2); line-height: var(--leading-snug); }

/* Text on vertical lines. The inner row starts one divider to the left of
   the column and the outer box clips it, so the first item on every wrapped
   line loses its divider without a rule per line. Each item is a target
   tall; the divider is drawn short, on the text, not the target. */
.line-list { overflow: hidden; }
.line-list__in { display: flex; flex-wrap: wrap; margin-left: calc(-1 * var(--line-list-gap) - var(--line-list-rule)); }
.line-list a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: var(--target);
  padding: 0 var(--line-list-gap);
  font-family: var(--font-display);
  font-size: var(--line-list-size);
  font-weight: var(--weight-medium);
  line-height: var(--leading-snug);
  color: var(--text);
}
.line-list a::before { content: ""; position: absolute; left: 0; top: 50%; height: 1.2em; transform: translateY(-50%); border-left: var(--line-list-rule) solid var(--line-list-rule-color); }
.line-list a:hover { color: var(--link-hover); }

/* One tile in a named-thing index. A case carries a second line with the
   year and the outcome; nothing else needs one. */
.index-tile {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: var(--space-half);
  min-height: var(--target);
  padding: var(--index-tile-pad);
  border: 1px solid var(--border);
  border-radius: var(--index-tile-radius);
  background: var(--raised);
  transition: border-color var(--hover-duration), background-color var(--hover-duration);
}
.index-tile:hover { border-color: var(--border-strong); background: var(--chip-nav-fill-hover); }
.index-tile__name { font-family: var(--font-display); font-size: var(--text-ui); font-weight: var(--weight-medium); line-height: var(--leading-snug); }
/* Sentence case, because the outcome is the record's own word and not a
   kicker. Uppercasing "Ongoing victory" made it shout and wrap. */
.index-tile__meta { font-family: var(--font-ui); font-size: var(--text-sm); color: var(--text-3); font-variant-numeric: tabular-nums; }

/* The proof strip. What ICAN forced, in the case record's own words, on the
   page of the thing it was forced about. Renders only where a record exists. */
.proof {
  display: flex;
  flex-direction: column;
  gap: var(--proof-gap);
  padding: var(--proof-pad);
  margin-bottom: var(--space-6);
  border: var(--proof-frame) solid var(--border-strong);
  border-left: var(--proof-rule) solid var(--proof-rule-color);
  border-radius: var(--proof-radius);
  background: var(--proof-fill);
}
.proof h3 { font-size: var(--text-md); max-width: var(--proof-measure); }
.proof__note { font-size: var(--text-ui); color: var(--text-2); max-width: var(--proof-measure); }
.proof__meta { display: flex; flex-wrap: wrap; gap: var(--space-1); font-family: var(--font-ui); font-size: var(--text-sm); color: var(--text-3); font-variant-numeric: tabular-nums; }
.proof__meta > * + *::before { content: "\00b7"; margin-right: var(--space-1); color: var(--border-strong); }
.proof__meta a { color: var(--text-2); border-bottom: 1px solid var(--border-strong); }
.proof__meta a:hover { color: var(--link-hover); }

/* One column of the hub's index: a head on a hairline, a name a row with a
   collection's years at the right, and the way into the archive at the
   foot. Each row is a target tall. */
.hub-index__head { font-size: var(--topics-head-size); padding-bottom: var(--space-2); border-bottom: var(--topics-head-rule) solid var(--border); }
.hub-index__list { list-style: none; margin: 0; padding: 0; }
.hub-index__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--space-2);
  min-height: var(--target);
  padding-block: var(--space-1);
  border-bottom: 1px solid var(--border);
  font-family: var(--font-display);
  font-size: var(--hub-index-size);
  font-weight: var(--weight-medium);
  line-height: var(--leading-snug);
  color: var(--text);
  transition: color var(--hover-duration);
}
.hub-index__row:hover { color: var(--link-hover); }
.hub-index__meta { font-family: var(--font-ui); font-size: var(--text-sm); font-weight: var(--weight-regular); color: var(--text-3); font-variant-numeric: tabular-nums; white-space: nowrap; }
.hub-index__more { display: inline-flex; align-items: center; min-height: var(--target); margin-top: var(--space-1); font-family: var(--font-ui); font-size: var(--text-sm); color: var(--text-2); transition: color var(--hover-duration); }
.hub-index__more:hover { color: var(--link-hover); }
button.hub-index__more { padding: 0; border: 0; background: none; cursor: pointer; }   /* All people and All organizations open the rest in place (v1.1) */

/* A row list: a name, what it is, and where it sits. Collections on the hub,
   and the shelves a named thing crosses. */
.row-list { display: flex; flex-direction: column; }
.row-list a {
  display: flex;
  align-items: baseline;
  gap: var(--space-3);
  padding-block: var(--rowlist-pad);
  border-bottom: 1px solid var(--border);
  transition: background-color var(--hover-duration);
}
.row-list a:hover { background: var(--raised); }
.row-list__name { font-family: var(--font-display); font-size: var(--text-md); font-weight: var(--weight-bold); flex: 0 0 auto; min-width: var(--rowlist-name-w); }
.row-list__desc { font-size: var(--text-ui); color: var(--text-2); line-height: var(--leading-snug); flex: 1 1 auto; min-width: 0; }
.row-list__meta { font-family: var(--font-ui); font-size: var(--text-sm); color: var(--text-3); white-space: nowrap; font-variant-numeric: tabular-nums; }

/* The designed empty state. A thin shelf, a named thing nothing names in a
   title, and the archive's zero result. What is empty, why, and the one
   thing to do next. Never a zero, never a blank grid. */
.empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--empty-gap);
  padding: var(--empty-pad);
  border: 1px var(--empty-border-style) var(--border-strong);
  border-radius: var(--empty-radius);
  text-align: center;
}
.empty h3 { font-size: var(--text-md); }
.empty p { font-size: var(--text-ui); color: var(--text-2); max-width: var(--empty-measure); }
.empty__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-1); margin-top: var(--space-1); }

@media (width < 720px) {
  .row-list a { flex-direction: column; gap: var(--space-half); }
  .row-list__name { min-width: 0; }
}

/* =============================================================
   The ICAN card (F's home, Step 26, reference/TEAM-EDITS-BRIEF.md 2.5;
   rebuilt 2026-09-23). ICAN's own block among the shelves: copy and two
   actions at the left on its own ground, and at the right a tree, ICAN's
   logo at the root, its mission under it and its four fronts as branches.
   Like the Protocol band it re-points the semantic tokens onto its ground,
   so the buttons, the text and the focus ring all read on it.
   ============================================================= */
.module-ican {
  --text: var(--ican-ink);
  --text-2: var(--ican-muted);
  --text-3: var(--ican-muted);
  --border: var(--ican-rule);
  --accent: var(--ican-accent);
  --accent-text: var(--ican-accent);
  --text-on-accent: var(--ican-on-accent);
  --raised: transparent;                   /* the secondary button sits on the ground, outlined */
  --border-strong: var(--ican-rule-strong);
  --accent-soft: var(--ican-hover);
  --kicker-color: var(--ican-kicker);
  --focus: var(--accent);
  display: grid;
  grid-template-columns: var(--ican-split);
  gap: var(--ican-gap);
  align-items: center;
  padding: var(--ican-pad);
  border-radius: var(--ican-radius);
  background: var(--ican-ground);
  color: var(--text);
}
.module-ican__copy { min-width: 0; }
.module-ican__copy h2 { margin-top: var(--space-1); max-width: var(--ican-title-measure); color: var(--text); }
.module-ican__body { margin-top: var(--space-2); max-width: var(--measure); color: var(--text-2); }
.module-ican__actions { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-top: var(--space-4); }

/* The tree. The trunk drops from under the logo's I and each front
   branches off it at its name; the last branch ends the trunk. Each item
   draws its own run of trunk, so a wrapped line never breaks it. */
.ican-tree { min-width: 0; }
.ican-logo { display: block; width: auto; height: var(--ican-logo-h); color: var(--ican-logo-ink); }
.ican-logo__mark-a { stop-color: var(--ican-mark-a); }
.ican-logo__mark-b { stop-color: var(--ican-mark-b); }
.ican-tree__mission { margin-top: var(--space-2); font-family: var(--font-display); font-size: var(--ican-mission-size); font-weight: var(--display-weight); letter-spacing: var(--tracking-display); line-height: var(--leading-tight); color: var(--text); }
.ican-tree__mission .kicker { display: block; margin-bottom: var(--space-half); letter-spacing: var(--tracking-kicker); }
.ican-tree__branches { margin: var(--space-2) 0 0 var(--ican-trunk-x); padding: 0; list-style: none; }
.ican-tree__branches > li { position: relative; padding-left: var(--ican-branch-indent); }
.ican-tree__branches > li::before,
.ican-tree__branches > li::after { content: ""; position: absolute; left: 0; background: var(--ican-trunk); }
.ican-tree__branches > li::before { top: 0; bottom: 0; width: var(--ican-trunk-w); }
.ican-tree__branches > li:last-child::before { bottom: auto; height: var(--ican-elbow-y); }
.ican-tree__branches > li::after { top: var(--ican-elbow-y); width: var(--ican-elbow-w); height: var(--ican-trunk-w); }
.ican-tree__branch { display: block; min-height: var(--target); padding-block: var(--ican-branch-pad); border-radius: var(--radius-sm); }
.ican-tree__name { display: flex; align-items: center; gap: var(--space-1); font-family: var(--font-display); font-size: var(--text-md); font-weight: var(--display-weight); letter-spacing: var(--tracking-display); line-height: var(--leading-tight); color: var(--text); }
.ican-tree__name .glyph { font-family: var(--font-ui); font-size: var(--text-sm); color: var(--text-2); }
.ican-tree__line { display: block; margin-top: var(--space-half); font-family: var(--font-ui); font-size: var(--text-sm); line-height: var(--leading-snug); color: var(--text-2); }
a.ican-tree__branch:hover .ican-tree__name { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
/* The branch the reader is on: its elbow in ink and a chip that says so. */
.ican-tree__item--here::after { background: var(--ican-here-rule); }
.ican-tree__here { padding: var(--ican-here-pad); border: 1px solid var(--ican-rule-strong); border-radius: var(--radius-pill); font-family: var(--font-ui); font-size: var(--text-xs); font-weight: var(--weight-medium); letter-spacing: var(--tracking-kicker); text-transform: var(--kicker-transform); color: var(--text); }

/* =============================================================
   The legal hub (F, Step 26, reference/TEAM-EDITS-BRIEF.md 8): the
   deponent rows, Aaron Siri's band and the case cards. The video cards are
   the segment card; the shelves are the page's shelves.
   ============================================================= */
.legal-hub__standfirst { margin-top: calc(-1 * var(--space-2)); margin-bottom: var(--space-4); }
.deponent + .deponent { margin-top: var(--deponent-gap); padding-top: var(--space-4); border-top: 1px solid var(--border); }
.deponent__head { display: flex; align-items: flex-end; gap: var(--space-2) var(--space-3); flex-wrap: wrap; margin-bottom: var(--space-3); }
.deponent__who { min-width: 0; }
.deponent__name { margin-top: var(--space-half); font-family: var(--font-display); font-size: var(--deponent-name-size); font-weight: var(--display-weight); letter-spacing: var(--tracking-display); line-height: var(--leading-tight); }
.deponent__count { margin-left: auto; }
.legal-siri { display: grid; grid-template-columns: var(--legal-siri-cols); gap: var(--space-4); align-items: start; }
.legal-siri > .shelf { min-width: 0; }
.card-case {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
  min-height: var(--legal-case-min-h);
  padding: var(--space-3);
  border: var(--card-border-width) solid var(--card-border-color);
  border-radius: var(--radius-card);
  background: var(--raised);
  box-shadow: var(--card-shadow);
  color: var(--text);
}
.card-case:hover { color: var(--text); }
.card-case:hover .card-case__name { color: var(--link-hover); }
.card-case__name { font-family: var(--font-display); font-size: var(--text-md); font-weight: var(--display-weight); letter-spacing: var(--tracking-display); line-height: var(--leading-snug); }
.card-case__result {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: var(--legal-case-result-lines);
  overflow: hidden;
  font-size: var(--text-sm);
  color: var(--text-2);
}
.card-case__status { margin-top: auto; padding-top: var(--space-1); font-weight: var(--weight-medium); }
/* Siri's tile runs above his shelf, name and role beside the portrait, so
   the shelf takes the band's full width (Jeremy, 22 Sep), four across like
   the page's other shelves (Jeremy, 19 Oct). */
.legal-siri__tile { flex-direction: var(--legal-siri-tile-dir); align-items: var(--legal-siri-tile-align); column-gap: var(--space-2); flex-wrap: var(--legal-siri-tile-wrap); }
.legal-siri__tile .avatar { margin-bottom: 0; }
.legal-siri > .shelf { --shelf-card-basis: var(--legal-siri-card-basis); }

/* The legal page's head in F (Jeremy's pick 2026-09-23, concept 3 of
   screenshots/concepts/legal-page, on the ICAN card's navy): a thin ICAN line
   that says whose program this is, with ICAN's own links, then the block.
   The block's title and standfirst sit at the left and the page's four pieces
   at the right as tiles, each a picture, a name, one line and a count read
   off the data (js/legal-hub.js, js/legal.js), each a jump into its section.
   The block remaps the page's text tokens to the navy's, as .module-ican
   does, so everything inside reads its ink. */
.legal-intro { margin-block-end: var(--section-gap); }
.ican-line {
  --ican-logo-ink: var(--text);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-half) var(--space-3);
  padding-bottom: var(--space-2);
  margin-bottom: var(--space-4);
  border-bottom: 1px solid var(--border);
}
.ican-line .ican-logo { height: var(--ican-line-logo-h); }
.ican-line__mark { display: flex; }
.ican-line__text { margin: 0; font-family: var(--font-ui); font-size: var(--text-sm); color: var(--text-2); }
.ican-line__links { display: flex; flex-wrap: wrap; gap: 0 var(--space-1); margin: 0 0 0 auto; padding: 0; list-style: none; }
.ican-line__links a { display: flex; align-items: center; gap: var(--space-half); min-height: var(--target); padding: 0 var(--space-1); border-radius: var(--radius-button); font-family: var(--font-ui); font-size: var(--text-sm); font-weight: var(--weight-medium); color: var(--text); text-decoration: none; }
@media (hover: hover) { .ican-line__links a:hover { background: var(--accent-soft); color: var(--text); } }
.legal-index {
  --text: var(--legal-index-ink);
  --text-2: var(--legal-index-muted);
  --text-3: var(--legal-index-muted);
  --border: var(--legal-index-rule);
  --kicker-color: var(--legal-index-pop);
  --focus: var(--legal-index-pop);
  display: grid;
  grid-template-columns: var(--legal-index-split);
  gap: var(--legal-index-gap);
  align-items: center;
  padding: var(--legal-index-pad);
  border-radius: var(--legal-index-radius);
  background: var(--legal-index-ground);
  color: var(--text);
}
.legal-index__head { min-width: 0; }
.legal-index h1 { margin-top: var(--space-1); font-family: var(--font-display); font-size: var(--legal-index-title-size); font-weight: var(--display-weight); letter-spacing: var(--tracking-display); line-height: var(--leading-tight); color: var(--text); }
.legal-index .dek { margin-top: var(--space-2); max-width: var(--measure); }
.legal-index__provenance { margin-top: var(--space-2); font-family: var(--font-ui); font-size: var(--text-sm); color: var(--text-2); }
.legal-index__provenance a { color: var(--legal-index-pop); text-decoration: underline; text-underline-offset: 3px; }
.legal-index__tiles { display: grid; grid-template-columns: var(--legal-index-tile-cols); gap: var(--space-2); min-width: 0; }
.legal-tile {
  display: grid;
  grid-template-columns: var(--legal-tile-media) minmax(0, 1fr);
  gap: var(--space-2);
  align-items: center;
  padding: var(--space-1);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  background: var(--legal-tile-ground);
  color: var(--text);
  text-decoration: none;
}
@media (hover: hover) { .legal-tile:hover { background: var(--legal-tile-hover); color: var(--text); } }
.legal-tile__media { position: relative; width: var(--legal-tile-media); aspect-ratio: 1; border-radius: var(--radius-sm); overflow: hidden; background: var(--legal-tile-ground); }
.legal-tile__media img { width: 100%; height: 100%; object-fit: cover; filter: var(--media-filter); }
.legal-tile__media--art img { object-position: var(--legal-tile-art-pos); }
.legal-tile__body { min-width: 0; }
.legal-tile__name { display: block; font-family: var(--font-display); font-size: var(--text-md); font-weight: var(--display-weight); letter-spacing: var(--tracking-display); line-height: var(--leading-tight); }
.legal-tile__line { display: block; margin-top: var(--space-half); font-size: var(--text-sm); line-height: var(--leading-snug); color: var(--text-2); }
.legal-tile__count { display: block; margin-top: var(--space-half); font-family: var(--font-ui); font-size: var(--text-xs); font-weight: var(--weight-medium); color: var(--legal-index-pop); }
.legal-tile__count:empty { display: none; }

/* =============================================================
   All episodes (episodes.html, Jeremy 23 Sep 2026): the page head, a filter
   bar that holds under the sticky header, and the episode grid three across.
   The show chips are functional chips, so pills are allowed; no counts on
   them (Jeremy, 23 Sep 2026), and the pressed one fills.
   ============================================================= */
.episodes-head { margin-bottom: var(--space-4); }
.episodes-head h1 { margin-top: var(--space-1); font-size: var(--read-title-size); }
.episodes-head .dek { margin-top: var(--space-1); max-width: var(--measure); }
.filter-bar {
  position: var(--filter-bar-position);
  top: var(--header-follow);
  z-index: 5;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-2) var(--space-3);
  padding-block: var(--space-2);
  border-block: 1px solid var(--border);
  background: var(--ground);
}
.filter-bar__shows {
  display: flex;
  flex-wrap: var(--filter-bar-wrap);
  gap: var(--space-1);
  min-width: 0;
  overflow-x: var(--filter-bar-overflow);
  scrollbar-width: none;
}
.filter-bar__chip { flex: 0 0 auto; }
.episodes-grid { margin-top: var(--space-4); row-gap: var(--space-6); }
.episodes-empty { padding-block: var(--space-6); text-align: center; }
.episodes-empty__title { font-family: var(--font-display); font-size: var(--text-md); margin-bottom: var(--space-2); }
.episodes-more { display: flex; margin: var(--space-6) auto 0; }
.episodes-more[hidden], .episodes-empty[hidden] { display: none; }
.episodes-grid .card__meta + .card__meta,
.page--show .card__meta + .card__meta { margin-top: var(--space-half); }

/* ---- The video listings (videos.html?list=, v1.1 item 6): All episodes'
   head, bar and grid, with home's segment card. Each list sets its own
   bar: Segments the show chips plus topic and sort dropdowns, Legal updates
   a category dropdown, the other two none.
   Special reports lead with the booked one, media left and type right,
   every state drawn and one shown (the only-* utilities by data-live; the
   lead, its stand-in line and the second booking by --video-lead-*). ---- */
.videos .episodes-head .dek a,
.article-list .episodes-head .dek a,
.films .episodes-head .dek a { color: var(--accent-text); text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }   /* the house's in-text link (.episode__from a) */
.videos .episodes-head .dek a:hover,
.article-list .episodes-head .dek a:hover,
.films .episodes-head .dek a:hover { color: var(--link-hover); }
.filter-bar__tools { display: flex; flex-direction: var(--filter-tools-dir); flex-wrap: var(--filter-tools-wrap); flex-basis: var(--filter-tools-basis); align-items: var(--filter-tools-align); gap: var(--space-2); margin-left: auto; }   /* Segments' topic and sort dropdowns, at the bar's right (the topic pages' sort control) */
.filter-bar:has(.filter-bar__tools) { top: var(--filter-bar-tools-top); }   /* at phone a bar with dropdowns stops holding under the header (item 12): sticky with top auto never sticks. A var() on position moves desktop's raster, so position stays put */
.filter-bar__tools:first-child { margin-left: 0; }   /* a bar of dropdowns alone (Legal updates) starts at the left */
/* The dropdowns draw their own arrow: the menu chevron, inset from the edge,
   in place of the browser's, which sat on the box's edge. */
.filter-bar select { appearance: none; -webkit-appearance: none; width: var(--filter-select-w); padding: var(--filter-select-pad); font-size: var(--filter-select-size); cursor: pointer; }
.filter-bar .toolbar__sort { position: relative; flex-wrap: wrap; }   /* at phone the box (width 100%) wraps under its label; literal on purpose, see --filter-tools-dir */
.filter-bar .toolbar__sort::after {
  content: "";
  position: absolute;
  right: var(--filter-select-caret-inset);
  top: var(--filter-caret-top);
  bottom: var(--filter-caret-bottom);
  width: var(--chevron-size);
  height: var(--chevron-size);
  border-right: var(--chevron-stroke) solid var(--text);
  border-bottom: var(--chevron-stroke) solid var(--text);
  transform: translateY(-75%) rotate(45deg);
  pointer-events: none;
}
.video-lead-slot { margin-top: var(--space-4); padding-bottom: var(--space-4); border-bottom: 1px solid var(--border); }
.video-lead {
  display: var(--video-lead-display);
  grid-template-columns: var(--video-lead-cols);
  gap: var(--video-lead-gap);
  align-items: center;
}
.video-lead__media { aspect-ratio: var(--video-lead-ratio); }
.video-lead__body { display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-1); min-width: 0; }
.video-lead__title {
  font-family: var(--font-display);
  font-size: var(--video-lead-title);
  font-weight: var(--display-weight);
  letter-spacing: var(--tracking-display);
  line-height: var(--leading-tight);
}
.video-lead__meta, .video-lead__also { font-family: var(--font-ui); font-size: var(--text-sm); color: var(--text-2); }
.video-lead__meta > span, .video-lead__also-facts { display: flex; flex-wrap: wrap; gap: var(--space-1); }
.video-lead__meta > span > span + span::before,
.video-lead__also-facts > span + span::before { content: "·"; margin-right: var(--space-1); color: var(--text-3); }
.video-lead__actions { display: flex; flex-direction: var(--actions-direction); flex-wrap: wrap; align-self: var(--video-lead-actions-align); gap: var(--space-1); margin-top: var(--space-2); }
.video-lead__actions .btn { width: var(--actions-btn-w); min-height: var(--btn-stack-h); }
.video-lead__also {
  display: var(--video-lead-also-display);
  flex-direction: column;
  gap: var(--space-half);
  align-self: stretch;
  margin-top: var(--space-3);
  padding-top: var(--space-2);
  border-top: 1px solid var(--border);
}
.video-lead__also-label { font-weight: var(--weight-medium); color: var(--text); }
.video-lead-none {
  display: var(--video-lead-none-display);
  font-family: var(--font-ui);
  font-size: var(--text-sm);
  color: var(--text-3);
}

/* ---- The policy pages (privacy.html; terms.html on the same template once
   its text exists. Jeremy, 2026-10-19: concept 1 of
   screenshots/concepts/privacy-page). A type-only head across the page, a
   hairline, then the contents in a rail beside the text. The rail sticks
   under the header, follows it away and back on --header-follow, and scrolls
   inside itself if a document outgrows the screen. The rows hang on a
   hairline track; the one section you're in carries the gold bar over it,
   one row at a time (js/policy.js sets aria-current). Under 900 the rail
   gives way to a bar pinned under the header: "On this page", the section
   you're in, and the list one tap away. Jumps are instant. ---- */
.page--policy { padding-block: var(--space-6) var(--space-12); }
.policy-head { padding-bottom: var(--policy-head-pad); margin-bottom: var(--policy-head-pad); border-bottom: var(--policy-head-rule) solid var(--border); }
.policy-head h1 { margin: 0; font-family: var(--font-display); font-weight: var(--display-weight); font-size: var(--policy-title-size); line-height: var(--leading-tight); letter-spacing: var(--tracking-display); text-wrap: balance; }
.policy-head__date { margin: var(--space-2) 0 0; font-family: var(--font-ui); font-size: var(--text-sm); color: var(--text-3); font-variant-numeric: tabular-nums; }
.policy-head__lede { margin: var(--space-3) 0 0; max-width: var(--policy-measure); font-size: var(--policy-lede-size); line-height: var(--leading-body); color: var(--text-2); text-wrap: pretty; }
.policy-layout { display: grid; grid-template-columns: var(--policy-cols); gap: var(--policy-gap); align-items: start; }

.policy-toc { display: var(--policy-toc-display); position: sticky; top: calc(var(--policy-toc-top) + var(--header-follow)); max-height: calc(100vh - 2 * var(--policy-toc-top) - var(--header-follow)); overflow-y: auto; scrollbar-width: thin; }
.policy-toc__label { margin-bottom: var(--space-1); }
.policy-toc__list { margin: 0; padding: 0; list-style: none; border-left: var(--policy-toc-rule) solid var(--policy-toc-track); }
/* Each row's own rule sits on the track, clear until its section is the
   current one. */
.policy-toc__list a { display: block; margin-left: calc(-1 * var(--policy-toc-rule)); padding: var(--policy-toc-pad); border-left: var(--policy-toc-rule) solid transparent; font-family: var(--font-ui); font-size: var(--text-ui); font-weight: var(--weight-medium); line-height: var(--leading-snug); color: var(--text-2); text-wrap: pretty; }
.policy-toc__list a:hover { color: var(--text); }
.policy-toc__list a[aria-current="true"] { border-left-color: var(--policy-toc-mark); color: var(--text); font-weight: var(--weight-bold); }
.policy-toc__also { margin-top: var(--space-3); padding-top: var(--space-2); border-top: 1px solid var(--border); }
.policy-toc__also a { display: flex; align-items: center; min-height: var(--target); font-family: var(--font-ui); font-size: var(--text-ui); font-weight: var(--weight-medium); color: var(--text-2); }
.policy-toc__also a:hover { color: var(--text); }

/* The text sets at --read-size, so the measure's 65ch is counted in the
   body's own characters and the sections' hairline-free column stops where
   the lines do. */
.policy-body { min-width: 0; font-size: var(--read-size); }
.policy-body section, .policy-end { max-width: var(--policy-measure); }
.policy-body section { scroll-margin-top: var(--policy-anchor-gap); }
.policy-body section + section { margin-top: var(--policy-section-gap); }
.policy-body h2 { margin: 0 0 var(--space-2); font-family: var(--font-display); font-weight: var(--display-weight); font-size: var(--policy-h2-size); line-height: var(--leading-snug); letter-spacing: var(--tracking-display); text-wrap: balance; }
.policy-body section p { margin: 0 0 var(--para-gap); font-size: var(--read-size); line-height: var(--read-leading); text-wrap: pretty; }
.policy-body section p:last-child { margin-bottom: 0; }
.policy-body section a, .policy-end p a { color: var(--accent-text); text-decoration: underline; text-underline-offset: 3px; }
.policy-end { margin-top: var(--space-8); padding-top: var(--space-4); border-top: 1px solid var(--border); }
.policy-body .policy-end h2 { margin-bottom: var(--space-1); }
.policy-end p { margin: 0; font-size: var(--text-base); line-height: var(--leading-body); color: var(--text-2); }
.policy-end__actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-1) var(--space-3); margin-top: var(--space-3); }
.policy-end__top { display: inline-flex; align-items: center; min-height: var(--target); font-family: var(--font-ui); font-size: var(--text-ui); font-weight: var(--weight-medium); color: var(--text-2); }
.policy-end__top:hover { color: var(--text); }

/* The bar under 900. It bleeds to the screen's edges and pins under the
   header. The list it opens drops over the text rather than pushing it, so
   opening it never moves the page, and marks the current section the way
   the rail does. */
.policy-jump { display: var(--policy-jump-display); position: sticky; top: var(--header-follow); z-index: 15; margin: var(--space-3) calc(-1 * var(--gutter)); background: var(--raised); border-block: 1px solid var(--border); font-family: var(--font-ui); transition: top var(--header-slide); }
.policy-jump__summary { display: flex; align-items: center; gap: var(--space-1); min-height: var(--target); padding-inline: var(--gutter); font-size: var(--text-ui); list-style: none; cursor: pointer; }
.policy-jump__summary::-webkit-details-marker { display: none; }
.policy-jump__label { flex: none; color: var(--text-3); }
.policy-jump__current { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: var(--weight-medium); color: var(--text); }
.policy-jump__summary svg { flex: none; width: var(--space-2); height: var(--space-2); margin-left: auto; color: var(--text-2); }
.policy-jump[open] .policy-jump__summary svg { transform: rotate(180deg); }
.policy-jump__list { position: absolute; top: 100%; left: 0; right: 0; margin: 0; padding: 0 0 var(--space-1); list-style: none; max-height: var(--policy-jump-max); overflow-y: auto; overscroll-behavior: contain; background: var(--raised); border-block: 1px solid var(--border); }
.policy-jump__list a { display: block; padding: calc((var(--target) - var(--leading-snug) * 1em) / 2) var(--gutter); border-left: var(--policy-toc-rule) solid transparent; font-size: var(--text-ui); line-height: var(--leading-snug); color: var(--text-2); }
.policy-jump__list a[aria-current="true"] { border-left-color: var(--policy-toc-mark); color: var(--text); font-weight: var(--weight-bold); }

/* Print: the text alone (the header and footer already drop out). */
@media print {
  .policy-toc, .policy-jump, .policy-end__actions { display: none !important; }
  .policy-layout { grid-template-columns: minmax(0, 1fr); }
}

/* ---- About, with Contact as its last section (about.html, ledger item 10,
        2026-10-19). The policy template carries the page: head, rail, phone
        bar and the gold section marker. These are About's own blocks. Rows
        hang on hairlines like the rail's. The policy body underlines every
        link in a section in the accent; buttons, the tree and the names keep
        their own ink. ---- */
.page--about .policy-body .about-sub { margin: var(--about-block-gap) 0 var(--space-1); font-family: var(--font-display); font-weight: var(--display-weight); font-size: var(--about-name-size); line-height: var(--leading-snug); letter-spacing: var(--tracking-display); }
.page--about .policy-body a.btn-primary { color: var(--text-on-accent); text-decoration: none; }
.page--about .policy-body .module-ican a { color: var(--text); text-decoration: none; }
.page--about .policy-body section > p + :is(ul, dl, div, form) { margin-top: var(--about-block-gap); }

.about-shows, .about-people, .contact-elsewhere { margin: 0 0 var(--about-block-gap); padding: 0; list-style: none; border-top: 1px solid var(--border); }
.about-shows > li, .about-people > li, .contact-elsewhere > li { padding-block: var(--about-row-pad); border-bottom: 1px solid var(--border); }
.page--about .policy-body .about-shows__name { font-family: var(--font-display); font-weight: var(--display-weight); font-size: var(--about-name-size); letter-spacing: var(--tracking-display); color: var(--text); text-decoration: none; }
.page--about .policy-body .about-shows__name:hover { text-decoration: underline; }
.about-shows__when { display: block; margin-top: var(--space-half); font-family: var(--font-ui); font-size: var(--text-sm); color: var(--text-3); }
.page--about .policy-body .about-shows p, .page--about .policy-body .about-people p:not([class]) { margin: var(--space-1) 0 0; }

.module-ican--tree { --ican-split: var(--about-ican-split); --ican-pad: var(--about-ican-pad); margin-block: var(--about-block-gap) var(--space-2); }
.page--about .policy-body section .ican-tree__mission { margin: var(--space-2) 0 0; font-size: var(--ican-mission-size); line-height: var(--leading-tight); }
.about-more { font-family: var(--font-ui); font-size: var(--text-ui); }
.about-more a { display: var(--about-more-link-display); min-height: var(--about-more-link-h); align-content: center; }
.about-actions { display: flex; flex-direction: var(--actions-direction); flex-wrap: wrap; gap: var(--space-2); margin-top: var(--about-block-gap); }
.about-actions .btn { width: var(--actions-btn-w); min-height: var(--btn-stack-h); }   /* full width at phone (item 12) */

/* The Protocol's values: names in a column, glosses beside them. */
.about-values { display: grid; margin: 0; border-top: 1px solid var(--border); }
.about-values > div { display: grid; grid-template-columns: var(--about-values-cols); gap: var(--about-values-gap); padding-block: var(--about-row-pad); border-bottom: 1px solid var(--border); }
.about-values dt { font-family: var(--font-display); font-weight: var(--display-weight); letter-spacing: var(--tracking-display); line-height: var(--read-leading); }
.about-values dd { margin: 0; line-height: var(--read-leading); }
.about-promises { margin: 0; padding: 0; list-style: none; }
.about-promises li { line-height: var(--read-leading); }
.about-promises li + li { margin-top: var(--space-1); }

/* The full Protocol, behind a toggle. It opens in place, no animation. */
.about-full { margin-top: var(--about-block-gap); border-block: 1px solid var(--border); }
.about-full summary { display: flex; align-items: center; gap: var(--space-1); min-height: var(--target); font-family: var(--font-ui); font-size: var(--text-ui); font-weight: var(--weight-medium); color: var(--text); list-style: none; cursor: pointer; }
.about-full summary::-webkit-details-marker { display: none; }
.about-full summary svg { flex: none; width: var(--space-2); height: var(--space-2); color: var(--text-2); }
.about-full[open] summary svg { transform: rotate(180deg); }
.about-full summary:hover span { text-decoration: underline; text-underline-offset: 3px; }
.about-full__text { padding-bottom: var(--space-3); font-size: var(--text-base); color: var(--text-2); }
.page--about .policy-body .about-full__text p, .about-full__text li { font-size: var(--text-base); line-height: var(--leading-body); }
.about-full__text .about-full__lede { font-weight: var(--weight-medium); color: var(--text); }
.about-full__text h4 { margin: var(--space-3) 0 var(--space-1); font-family: var(--font-display); font-weight: var(--display-weight); font-size: var(--text-base); letter-spacing: var(--tracking-display); color: var(--text); }
.about-full__text :is(ul, ol) { margin: 0 0 var(--para-gap); padding-left: var(--space-3); }
.about-full__text li + li { margin-top: var(--space-half); }

/* The people: portrait beside name, role and line. */
.about-people > li { display: flex; gap: var(--about-avatar-gap); align-items: flex-start; }
.about-people .avatar { flex: none; }
.page--about .policy-body .about-people__name { margin: 0; font-family: var(--font-display); font-weight: var(--display-weight); font-size: var(--about-name-size); letter-spacing: var(--tracking-display); line-height: var(--leading-snug); }
.page--about .policy-body .about-people__role { margin: var(--space-half) 0 0; font-family: var(--font-ui); font-size: var(--text-sm); color: var(--text-3); line-height: var(--leading-snug); }

/* A fact nobody has supplied yet, labelled where it goes. */
.copy-gap { display: block; width: fit-content; max-width: 100%; padding: var(--copy-gap-pad); border: 1px dashed var(--copy-gap-rule); border-radius: var(--radius-sm); font-family: var(--font-ui); font-size: var(--text-sm); line-height: var(--leading-snug); color: var(--copy-gap-ink); }
span.copy-gap { margin-top: var(--space-1); }
.page--about .policy-body section p.copy-gap { margin-top: var(--space-2); font-size: var(--text-sm); line-height: var(--leading-snug); }

/* Contact: the topics, then the form; ICAN's routes under it. */
.contact-topics { margin: 0; padding: 0; border: 0; }
.contact-topics legend { margin-bottom: var(--space-1); padding: 0; }
.contact-topic { display: flex; gap: var(--space-2); align-items: flex-start; padding: var(--contact-topic-pad); border-top: 1px solid var(--border); border-left: var(--policy-toc-rule) solid transparent; cursor: pointer; transition: background-color var(--hover-duration); }
.contact-topic:last-of-type { border-bottom: 1px solid var(--border); }
.contact-topic:hover { background: var(--contact-topic-on); }
.contact-topic:has(input:checked) { background: var(--contact-topic-on); border-left-color: var(--contact-topic-mark); }
.contact-topic input { flex: none; width: var(--space-2); height: var(--space-2); margin: var(--space-half) 0 0; accent-color: var(--contact-topic-mark); }
.contact-topic__name { display: block; font-family: var(--font-ui); font-size: var(--text-ui); font-weight: var(--weight-medium); color: var(--text); }
.contact-topic__line { display: block; margin-top: var(--space-half); font-family: var(--font-ui); font-size: var(--text-sm); line-height: var(--leading-snug); color: var(--text-2); }
.contact-fields { display: grid; grid-template-columns: var(--contact-fields-cols); gap: var(--contact-field-gap) var(--space-2); margin-top: var(--about-block-gap); }
.contact-field--wide { grid-column: 1 / -1; }
.contact-field[hidden] { display: none; }
.contact-field label { display: block; margin-bottom: var(--space-1); font-family: var(--font-ui); font-size: var(--text-ui); font-weight: var(--weight-medium); color: var(--text); }
.page--about .policy-body .contact-field__hint { margin: calc(-1 * var(--space-half)) 0 var(--space-1); font-family: var(--font-ui); font-size: var(--text-sm); line-height: var(--leading-snug); color: var(--text-3); }
.contact-field textarea.input { display: block; min-height: var(--contact-message-h); padding-block: var(--space-1); resize: vertical; line-height: var(--leading-body); }
.contact-field .input[aria-invalid="true"] { border-color: var(--contact-error-ink); }
.page--about .policy-body .contact-field__error { margin: var(--space-1) 0 0; font-family: var(--font-ui); font-size: var(--text-sm); font-weight: var(--weight-medium); color: var(--contact-error-ink); }
.contact-check { display: flex; gap: var(--space-1); align-items: flex-start; min-height: var(--target); font-family: var(--font-ui); font-size: var(--text-sm); line-height: var(--leading-snug); color: var(--text-2); cursor: pointer; }
.contact-check input { flex: none; width: var(--space-2); height: var(--space-2); margin: var(--space-half) 0 0; accent-color: var(--accent); }
.contact-send { display: flex; flex-direction: var(--actions-direction); flex-wrap: wrap; align-items: var(--contact-send-align); gap: var(--space-1) var(--space-3); }
.contact-send .btn { width: var(--actions-btn-w); min-height: var(--btn-stack-h); }
.page--about .policy-body .contact-send p { margin: 0; font-family: var(--font-ui); font-size: var(--text-sm); color: var(--text-2); }
.contact-done { margin-top: var(--about-block-gap); padding: var(--space-3); border: 1px solid var(--border); border-left: var(--policy-toc-rule) solid var(--contact-topic-mark); background: var(--contact-topic-on); outline: none; }
.page--about .policy-body .contact-done p { margin: 0; font-size: var(--text-base); line-height: var(--leading-body); }
.page--about .policy-body .contact-done .contact-done__title { font-family: var(--font-display); font-weight: var(--display-weight); font-size: var(--about-name-size); color: var(--text); }
.contact-done__again { display: inline-flex; align-items: center; min-height: var(--target); font-family: var(--font-ui); font-size: var(--text-sm); }
.page--about .policy-body .contact-elsewhere p { margin: 0; font-size: var(--text-base); line-height: var(--leading-body); }
.page--about .policy-body .contact-elsewhere p + p { margin-top: var(--space-half); }
.page--about .policy-body .contact-elsewhere__name { font-family: var(--font-ui); font-size: var(--text-ui); font-weight: var(--weight-medium); color: var(--text); }

/* =============================================================
   Accounts on Clerk (v1.1, ledger item 1, 2026-10-19). Clerk's
   prebuilt SignIn, SignUp, UserButton and UserProfile, drawn static to
   Clerk's own anatomy (D5), so the page opens by double-click. Every
   class named cl-* is the appearance.elements key of the same part
   (cl-card is elements.card), so each rule here is the override Nvok
   passes to Clerk; everything else comes from the --clerk-* variables in
   tokens.css. The full list, the dashboard settings and our copy are in
   handoff/CLERK-SPEC.md. Drawn as Clerk Pro shows them, with no "Secured
   by Clerk" badge: The HighWire and Nvok choose and pay for the plan
   (Jeremy, 2026-10-19, ledger Q10).
   ============================================================= */

/* ---- The page shell: sign-in.html and sign-up.html. The card sits on the
        ground under the site header; the header already carries the mark,
        so the card shows no logo (elements.logoBox hidden). ---- */
.page--account { display: flex; justify-content: center; padding-block: var(--account-page-pad); }
.cl-rootBox { width: var(--account-card-w); max-width: 100%; }
.cl-userProfile-root { width: 100%; }                  /* UserProfile as a full page: the column, not the card width */

/* ---- Clerk's card: cl-cardBox holds the card and the footer strip under it. */
.cl-cardBox {
  overflow: hidden;
  border: 1px solid var(--clerk-color-border);
  border-radius: var(--account-card-radius);
  background: var(--clerk-color-muted);
  box-shadow: var(--account-card-shadow);
  font-family: var(--clerk-font-family);
  font-size: var(--clerk-font-size);
  line-height: var(--leading-snug);
  color: var(--clerk-color-foreground);
}
.cl-card {
  display: flex;
  flex-direction: column;
  gap: var(--account-card-gap);
  padding: var(--account-card-pad);
  border-bottom: 1px solid var(--clerk-color-border);
  background: var(--clerk-color-background);
}
.cl-card:last-child { border-bottom: 0; }
.cl-header { display: flex; flex-direction: column; gap: var(--space-1); text-align: center; }
.cl-headerTitle {
  font-family: var(--account-title-font);
  font-size: var(--account-title-size);
  font-weight: var(--account-title-weight);
  letter-spacing: var(--tracking-display);
  line-height: var(--leading-tight);
  text-wrap: balance;
}
.cl-headerSubtitle { color: var(--clerk-color-muted-foreground); text-wrap: pretty; }

/* The address the code went to, with the pencil that goes back to change it. */
.cl-identityPreview { display: flex; align-items: center; justify-content: center; gap: var(--space-half); margin-top: calc(-1 * var(--space-2)); }
.cl-identityPreviewText { font-weight: var(--weight-medium); overflow-wrap: anywhere; }
.cl-identityPreviewEditButton {
  display: inline-grid; place-items: center;
  width: var(--target); height: var(--target); padding: 0;
  border: 0; border-radius: var(--clerk-border-radius);
  background: transparent; color: var(--clerk-color-muted-foreground);
  cursor: pointer;
  transition: background-color var(--hover-duration);
}
.cl-identityPreviewEditButton:hover { background: var(--accent-soft); color: var(--clerk-color-foreground); }

/* ---- Fields ---- */
.cl-form { display: flex; flex-direction: column; gap: var(--account-card-gap); }
.cl-formField { display: flex; flex-direction: column; gap: var(--space-1); }
.cl-formFieldLabelRow { display: flex; justify-content: space-between; align-items: baseline; gap: var(--space-1); }
.cl-formFieldLabel { font-size: var(--account-label-size); font-weight: var(--weight-medium); }
.cl-formFieldHintText { font-size: var(--account-label-size); color: var(--clerk-color-muted-foreground); }
.cl-formFieldInput {
  width: 100%;
  min-height: var(--target);
  padding: 0 var(--space-2);
  border: 1px solid var(--clerk-color-border);
  border-radius: var(--clerk-border-radius);
  background: var(--clerk-color-input);
  color: var(--clerk-color-input-foreground);
  font-size: var(--account-input-size);
  transition: border-color var(--hover-duration);
}
.cl-formFieldInput:hover, .cl-formFieldInput:focus { border-color: var(--border-strong); outline: none; }
.cl-formFieldInput:focus-visible { outline: 2px solid var(--clerk-color-ring); outline-offset: 2px; }
.cl-formFieldInput::placeholder { color: var(--text-3); }
.cl-formFieldInput[aria-invalid="true"], .cl-formFieldInput[aria-invalid="true"]:hover { border-color: var(--clerk-color-danger); }
.cl-formFieldErrorText {
  display: flex; align-items: flex-start; gap: var(--space-half);
  font-size: var(--account-label-size); font-weight: var(--weight-medium);
  color: var(--clerk-color-danger);
}
.cl-formFieldErrorText svg { width: 1.15em; height: 1.15em; flex: none; }

/* The Terms and Privacy consent ("Require express consent to legal
   documents" in the dashboard). The row holds 44px; the box is 20. */
.cl-formFieldCheckbox { display: flex; align-items: center; gap: var(--space-1); min-height: var(--target); cursor: pointer; }
.cl-formFieldCheckboxInput { width: var(--account-check); height: var(--account-check); margin: 0; flex: none; accent-color: var(--clerk-color-primary); cursor: pointer; }
.cl-formFieldCheckboxLabel { font-size: var(--account-label-size); color: var(--clerk-color-muted-foreground); }
.cl-formFieldCheckboxLabel a { color: var(--accent-text); text-decoration: underline; text-underline-offset: 3px; }

/* Continue: the primary button, full width, with Clerk's small arrow. */
.cl-formButtonPrimary {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-1);
  width: 100%;
  min-height: var(--target);
  padding: 0 var(--space-2);
  border: 1px solid var(--clerk-color-primary);
  border-radius: var(--clerk-border-radius);
  background: var(--clerk-color-primary);
  color: var(--clerk-color-primary-foreground);
  font-family: var(--clerk-font-family-buttons);
  font-size: var(--clerk-font-size);
  font-weight: var(--weight-medium);
  line-height: 1;
  cursor: pointer;
  transition: box-shadow var(--hover-duration);
}
@media (hover: hover) { .cl-formButtonPrimary:hover { box-shadow: var(--shadow-2); } }
.cl-formButtonPrimary:active { transform: translateY(var(--btn-press-shift)); filter: var(--btn-press-filter); box-shadow: none; }
.cl-buttonArrowIcon { width: 0.7em; height: 0.7em; flex: none; }

/* ---- The six-digit code: six boxes, one digit each, tabular numerals. */
.cl-otpCodeField { display: flex; flex-direction: column; align-items: center; gap: var(--space-2); }
.cl-otpCodeFieldInputs { display: flex; justify-content: center; gap: var(--account-otp-gap); }
.cl-otpCodeFieldInput {
  width: var(--account-otp-box);
  height: var(--account-otp-box);
  padding: 0;
  border: 1px solid var(--clerk-color-border);
  border-radius: var(--clerk-border-radius);
  background: var(--clerk-color-input);
  color: var(--clerk-color-input-foreground);
  font-size: var(--text-md);
  font-weight: var(--weight-medium);
  font-variant-numeric: tabular-nums;
  text-align: center;
  transition: border-color var(--hover-duration);
}
.cl-otpCodeFieldInput:hover, .cl-otpCodeFieldInput:focus { border-color: var(--border-strong); outline: none; }
.cl-otpCodeFieldInput:focus-visible { outline: 2px solid var(--clerk-color-ring); outline-offset: 2px; }
.cl-otpCodeField[data-error] .cl-otpCodeFieldInput { border-color: var(--clerk-color-danger); }
.cl-otpCodeField .cl-formFieldErrorText { justify-content: center; text-align: center; }
.cl-formFieldErrorText span { text-wrap: balance; }
/* "Didn't get a code? Resend". Clerk counts 30 seconds down before Resend
   wakes; the drawing shows it awake. */
.cl-formResendCodeLink { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; column-gap: var(--space-half); font-size: var(--account-label-size); color: var(--clerk-color-muted-foreground); }
.cl-formResendCodeLink button {
  min-height: var(--target); padding: 0 var(--space-half);
  border: 0; background: transparent;
  color: var(--accent-text); font-weight: var(--weight-medium);
  text-decoration: underline; text-underline-offset: 3px;
  cursor: pointer;
}

/* ---- The footer strip under the card: Clerk's footerAction. */
.cl-footer { padding: var(--space-1) var(--account-card-pad); background: var(--clerk-color-muted); text-align: center; }
.cl-footerAction { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; column-gap: var(--space-half); font-size: var(--account-label-size); color: var(--clerk-color-muted-foreground); }
.cl-footerActionLink { display: inline-flex; align-items: center; min-height: var(--target); color: var(--accent-text); font-weight: var(--weight-medium); text-decoration: underline; text-underline-offset: 3px; }
.cl-footerActionLink:hover { color: var(--clerk-color-foreground); }

/* ---- The sign-in dialog at the moment of value. Our dialog, Clerk's
        SignIn inside it, flush. Clerk's own title hides
        (elements.headerTitle) so the reason line is the title, and Clerk's
        subtitle under it still changes with each step. ---- */
.signin-dialog {
  width: min(var(--signin-dialog-w), calc(100vw - 2 * var(--gutter)));
  max-width: none;
  margin-top: var(--signin-dialog-top);
  max-height: var(--signin-dialog-max-h);
  padding: 0;
  border: 1px solid var(--clerk-color-border);
  border-radius: var(--signin-dialog-radius);
  background: var(--clerk-color-background);
  color: var(--clerk-color-foreground);
  box-shadow: var(--account-card-shadow);
}
.signin-dialog::backdrop { background: var(--clerk-color-modal-backdrop); }
.signin-dialog__head { position: relative; padding: var(--signin-dialog-pad) calc(var(--signin-dialog-pad) + var(--target)) 0 var(--signin-dialog-pad); }
.signin-dialog__title {
  font-family: var(--account-title-font);
  font-size: var(--account-title-size);
  font-weight: var(--account-title-weight);
  letter-spacing: var(--tracking-display);
  line-height: var(--leading-tight);
  text-wrap: balance;
}
.signin-dialog__close { position: absolute; top: var(--space-2); right: var(--space-2); color: var(--text-2); }
.signin-dialog .cl-cardBox { border: 0; border-radius: 0; box-shadow: none; }
.signin-dialog .cl-card { padding: var(--space-2) var(--signin-dialog-pad) var(--signin-dialog-pad); border-bottom: 0; }
.signin-dialog .cl-header { text-align: left; }
.signin-dialog .cl-identityPreview { justify-content: flex-start; margin-top: calc(-1 * var(--space-3)); }
/* Email and password (Jeremy, 2026-10-19): Continue, then our Sign up under
   it, the two ways out of the first step, full width, one over the other. */
.signin-dialog__ctas { display: flex; flex-direction: column; gap: var(--space-1); }
.signin-dialog__signup { width: 100%; }
.signin-dialog__switch { margin-top: var(--space-2); }
.signin-dialog__switch .cl-footerActionLink { padding: 0; border: 0; background: transparent; font: inherit; font-weight: var(--weight-medium); cursor: pointer; }

/* ---- The password field: Clerk's Forgot password? beside its label
        (elements.formFieldAction) and the rule under a new password
        (elements.formFieldHintText). ---- */
.cl-formFieldAction {
  display: inline-flex; align-items: center;
  min-height: var(--target); margin-block: calc((var(--target) - 1lh) / -2);
  padding: 0; border: 0; background: transparent;
  font-family: var(--clerk-font-family); font-size: var(--account-label-size); font-weight: var(--weight-medium);
  color: var(--accent-text); text-decoration: underline; text-underline-offset: 3px;
  cursor: pointer;
}
.cl-formFieldAction:hover { color: var(--clerk-color-foreground); }
.cl-formFieldHintText { margin: 0; font-size: var(--account-label-size); color: var(--clerk-color-muted-foreground); }

/* ---- The header signed in: the member's avatar and username in Sign in's
        slot, one link to the account page (no menu: Jeremy, 2026-10-19).
        Ours, from Clerk's useUser(): Clerk's UserButton always opens a menu.
        It hides where Sign in hides (--nav-signin-display), keeps the nav's
        44px pill and hover, and holds the tint on the account page. ---- */
.nav-secondary .user-button { display: var(--nav-signin-display); align-items: center; gap: var(--user-button-gap); padding: var(--user-button-pad); }
.nav-secondary .user-button[aria-current="page"] { background: var(--accent-soft); }
.user-button__name { max-width: var(--user-button-name-max); overflow: hidden; text-overflow: ellipsis; }
/* The phone menu signed in (item 12): the member's avatar and username in
   Sign in's row, to the account page (js/nav-phone.js). */
.nav-sheet__member { gap: var(--space-1); }
.member-avatar {
  display: inline-grid; place-items: center; flex: none;
  width: var(--member-avatar); height: var(--member-avatar);
  border: 1px solid var(--member-avatar-border); border-radius: 50%;
  background: var(--member-avatar-fill); color: var(--member-avatar-ink);
  font-family: var(--font-ui); font-size: var(--text-sm); font-weight: var(--weight-bold);
  line-height: 1; text-transform: uppercase;
}
.member-avatar--lg { width: var(--member-avatar-lg); height: var(--member-avatar-lg); font-size: var(--text-ui); }

/* ---- Live chat, signed in: the field with your name on it. */
.chat__avatar--me, .chat__msg--me .chat__avatar { background: var(--chat-me-fill); border-color: var(--member-avatar-border); color: var(--chat-me-ink); }
.chat__composer .chat__avatar { flex: none; }
.chat__note strong { font-weight: var(--weight-medium); color: var(--text-2); }

/* ---- The account page: Clerk's UserProfile as a full page in our shell,
        flush with the site (elevation flush: a hairline, no shadow). Its
        nav column carries our three pages first, then Clerk's Profile and
        Security, which can be reordered but not trimmed. ---- */
.page--profile { padding-block: var(--profile-page-pad-top) var(--section-gap); }
.profile {
  display: grid;
  grid-template-columns: var(--profile-cols);
  min-height: var(--profile-min-h);
  box-shadow: none;
}
.cl-navbar { display: var(--profile-navbar-display); flex-direction: column; gap: var(--space-3); padding: var(--profile-pad) var(--space-2); border-right: 1px solid var(--clerk-color-border); background: var(--clerk-color-muted); }
.cl-navbar .cl-header { padding-inline: var(--space-1); text-align: left; }
.cl-navbar .cl-headerTitle { font-size: var(--text-md); }
.cl-navbar .cl-headerSubtitle { font-size: var(--text-sm); }
.cl-navbarButtons { display: flex; flex-direction: column; gap: var(--space-half); margin: 0; padding: 0; list-style: none; }
.cl-navbarButtons .is-split { margin-top: var(--space-2); padding-top: var(--space-2); border-top: 1px solid var(--clerk-color-border); }
.cl-navbarButton {
  display: flex; align-items: center; gap: var(--space-1);
  min-height: var(--target);
  padding: 0 var(--space-1);
  border-radius: var(--clerk-border-radius);
  color: var(--clerk-color-muted-foreground);
  font-weight: var(--weight-medium);
  transition: background-color var(--hover-duration);
}
.cl-navbarButton:hover, .cl-navbarButton[aria-current="page"] { background: var(--accent-soft); color: var(--clerk-color-foreground); }
.cl-navbarButtonIcon { width: var(--icon-size); height: var(--icon-size); flex: none; }
/* Clerk's small-screen nav (navbarMobileMenuRow, item 12): a row at the top
   of the page with the nav's title and Clerk's menu mark, opening the nav as
   Clerk's 240px panel over the card, flush to its left edge. A page link,
   Escape or a tap outside closes it (js/account.js). Clerk slides the panel
   in; appearance.options.animations false keeps it still (rule 4). */
.cl-navbarMobileMenuRow { display: var(--profile-menu-row-display); margin: calc(-1 * var(--space-1)) 0 var(--space-2) calc(-1 * var(--space-1)); }
.cl-navbarMobileMenuButton {
  display: inline-flex; align-items: center; gap: var(--space-1);
  min-height: var(--target);
  padding: 0 var(--space-1);
  border: 0; border-radius: var(--clerk-border-radius);
  background: transparent; color: var(--clerk-color-foreground);
  font-family: var(--clerk-font-family); font-size: var(--text-ui); font-weight: var(--weight-medium);
  cursor: pointer;
  transition: background-color var(--hover-duration);
}
.cl-navbarMobileMenuButton:hover, .cl-navbarMobileMenuButton[aria-expanded="true"] { background: var(--accent-soft); }
.cl-navbarMobileMenuButtonIcon { width: var(--icon-size); height: var(--icon-size); flex: none; }
.profile[data-nav-open] { position: relative; }
.profile[data-nav-open] .cl-navbar {
  display: flex;
  position: absolute; inset-block: 0; inset-inline-start: 0; z-index: 1;
  width: var(--profile-nav-w);
  border-start-end-radius: var(--account-card-radius);
  border-end-end-radius: var(--account-card-radius);
  box-shadow: var(--shadow-2);
}
.cl-pageScrollBox { min-width: 0; padding: var(--profile-content-pad); background: var(--clerk-color-background); }
.cl-page > .cl-header { padding-bottom: var(--space-3); border-bottom: 1px solid var(--clerk-color-border); text-align: left; }
.cl-page > .cl-header .cl-headerSubtitle { max-width: var(--measure); }
.cl-profileSection {
  display: grid;
  grid-template-columns: var(--profile-section-cols);
  gap: var(--profile-section-gap);
  padding-block: var(--space-3);
  border-bottom: 1px solid var(--clerk-color-border);
}
.cl-profileSection:last-child { border-bottom: 0; }
.cl-profileSectionTitleText { padding-block: var(--profile-section-title-pad); font-family: var(--clerk-font-family); font-size: var(--text-ui); font-weight: var(--weight-medium); line-height: var(--leading-snug); } /* centred on a 44px first row, tight if it wraps */
.cl-profileSectionContent { display: flex; flex-direction: column; gap: var(--profile-row-gap); min-width: 0; margin: 0; padding: 0; list-style: none; }
.cl-profileSectionItem { display: flex; align-items: center; gap: var(--space-2); min-height: var(--target); min-width: 0; }
.cl-profileSectionItem > .grow { flex: 1 1 auto; min-width: 0; }
.cl-profileSectionItem:has(.profile-meta) { align-items: flex-start; } /* a device: the mark tops its four lines */
.cl-profileSectionPrimaryButton {
  display: inline-flex; align-items: center; gap: var(--space-1); align-self: flex-start;
  min-height: var(--target);
  margin-left: calc(-1 * var(--space-1));
  padding: 0 var(--space-1);
  border: 0; border-radius: var(--clerk-border-radius);
  background: transparent; color: var(--accent-text);
  font-family: var(--clerk-font-family); font-size: var(--text-ui); font-weight: var(--weight-medium);
  cursor: pointer;
  transition: background-color var(--hover-duration);
}
.cl-profileSectionPrimaryButton:hover { background: var(--accent-soft); color: var(--clerk-color-foreground); }
.cl-profileSectionPrimaryButton--danger { color: var(--clerk-color-danger); }
.cl-badge {
  display: inline-flex; align-items: center;
  padding: var(--space-half) var(--space-1);
  border: 1px solid var(--clerk-color-border); border-radius: var(--radius-sm);
  background: var(--clerk-color-muted);
  font-size: var(--text-xs); font-weight: var(--weight-medium); line-height: 1.2;
  color: var(--clerk-color-muted-foreground);
}
.cl-icon { width: var(--icon-size); height: var(--icon-size); flex: none; }
.profile-meta { display: block; font-size: var(--text-sm); color: var(--clerk-color-muted-foreground); }

/* Our three pages inside it: one row per follow, add or save. A row with no
   picture (a topic, a case) keeps its text on the same left edge. */
.follow-row { display: grid; grid-template-columns: var(--follow-row-cols); grid-template-areas: var(--follow-row-areas); align-items: center; gap: var(--follow-row-gap); min-height: var(--target); }
.follow-row--bare { grid-template-columns: var(--follow-row-cols-bare); grid-template-areas: var(--follow-row-areas-bare); }
.follow-row__media { display: flex; }
/* Where each part sits when the row folds at phone (--follow-row-areas). */
.follow-row > :is(.follow-row__media, .follow-row__thumb) { grid-area: var(--follow-row-media-area); align-self: var(--follow-row-media-align); }
.follow-row > :has(> .follow-row__name) { grid-area: var(--follow-row-text-area); }
.follow-row > :is(.switch, span:empty) { grid-area: var(--follow-row-switch-area); justify-self: start; }
.follow-row > [data-remove] { grid-area: var(--follow-row-act-area); }
.follow-row__thumb { display: block; width: var(--profile-thumb-w); aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--radius-sm); background: var(--sunk); }
.follow-row__thumb img { width: 100%; height: 100%; object-fit: cover; filter: var(--media-filter); }
.follow-row__name { display: block; padding-block: var(--follow-row-name-pad); margin-block: calc(-1 * var(--follow-row-name-pad)); font-weight: var(--weight-medium); color: var(--clerk-color-foreground); }   /* at phone the name's tap area grows to 44 without moving the row */
.follow-row__meta { display: block; font-size: var(--text-sm); color: var(--clerk-color-muted-foreground); }
.follow-row__tbc { display: block; font-size: var(--text-sm); color: var(--text-3); }
.follow-row .btn { min-height: var(--target); }

/* The email switch on each follow (D2). A checkbox with role="switch":
   the track fills and the thumb crosses when it's on. */
.switch { display: inline-flex; align-items: center; gap: var(--space-1); min-height: var(--target); font-family: var(--font-ui); font-size: var(--text-sm); color: var(--clerk-color-muted-foreground); cursor: pointer; }
.switch input {
  appearance: none;
  position: relative;
  flex: none;
  width: var(--switch-w); height: var(--switch-h);
  margin: 0;
  border-radius: calc(var(--switch-h) / 2);
  background: var(--switch-track-off);
  cursor: pointer;
  transition: background-color var(--hover-duration);
}
.switch input::before {
  content: "";
  position: absolute;
  top: calc((var(--switch-h) - var(--switch-thumb)) / 2);
  left: calc((var(--switch-h) - var(--switch-thumb)) / 2);
  width: var(--switch-thumb); height: var(--switch-thumb);
  border-radius: 50%;
  background: var(--switch-thumb-fill);
  box-shadow: var(--shadow-1);
  transition: transform var(--hover-duration);
}
.switch input:checked { background: var(--switch-track-on); }
.switch input:checked::before { transform: translateX(calc(var(--switch-w) - var(--switch-h))); }
.switch input:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }

/* Saved: the site's own video cards, three across, each with Remove. */
.saved-grid { --grid-cols: var(--profile-saved-cols); margin-top: var(--space-3); }
.saved-grid .card { display: flex; flex-direction: column; }
.saved-grid .saved-remove { align-self: flex-start; margin-top: var(--space-1); margin-left: calc(-1 * var(--space-1)); padding-inline: var(--space-1); }

/* Every page of ours has an empty state: a new member has nothing yet. */
.account-empty { display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-1); padding-block: var(--space-6); max-width: var(--measure); }
.account-empty__title { font-family: var(--font-display); font-size: var(--text-md); font-weight: var(--display-weight); letter-spacing: var(--tracking-display); }
.account-empty p { color: var(--text-2); }
.account-empty__actions { display: flex; flex-wrap: wrap; gap: var(--space-1); margin-top: var(--space-2); }

/* The account page signed out: Clerk's middleware sends a visitor to sign
   in and back; the prototype draws that stop in place. */
.account-signedout { display: flex; justify-content: center; padding-block: var(--space-6); }

/* =============================================================
   Member actions (v1.1, ledger item 2, 2026-10-19). Follow, Save and
   Add to calendar, wired by js/member-actions.js. Signed out, Follow and
   Save open the sign-in dialog (item 1); Add to calendar works for
   everyone, since a calendar file or feed needs no account. Signed in, a
   click flips the button to its done state and the item lands on the
   account page; a second click takes it back.
   ============================================================= */

/* The done state: the bronze, its own label, a check before it. Three
   classes deep so it holds over every context's own fill (the lead card,
   the calendar head, the topic band). */
.btn[data-action][data-done] { background: var(--action-done-fill); border-color: var(--action-done-border); color: var(--action-done-ink); }
.btn[data-action][data-done]:hover { background: var(--action-done-fill-hover); border-color: var(--action-done-fill-hover); color: var(--action-done-ink); box-shadow: none; }
.btn[data-action][data-done] .glyph { display: none; }
.action__check { display: none; width: var(--action-check); height: var(--action-check); flex: none; }
.btn[data-done] .action__check { display: block; }
.action__chevron { width: var(--action-chevron); height: var(--action-chevron); flex: none; }
.btn[aria-expanded="true"] .action__chevron { transform: rotate(180deg); }
/* Follow carries the email alerts (D2): the quiet line a head's Follow
   adds under its row once followed. It takes the row's full width, so it
   wraps under the buttons wherever they sit. */
.action-note { flex-basis: 100%; margin: var(--action-note-gap) 0 0; font-family: var(--font-ui); font-size: var(--text-sm); line-height: var(--leading-snug); color: var(--action-note-ink); }
.action-note[hidden] { display: none; }
.action-note a { color: var(--action-note-link); text-decoration: underline; text-underline-offset: 0.2em; }
.action-note a:hover { color: var(--text); }

/* ---- Add to calendar's chooser. Hung off the body at the button's
        corner, so no row it opens from has to make room. ---- */
.action-menu {
  position: absolute;
  z-index: var(--action-menu-z);
  width: var(--action-menu-w);
  max-width: calc(100vw - 2 * var(--action-menu-gutter));
  padding: var(--action-menu-pad);
  border: 1px solid var(--border);
  border-radius: var(--action-menu-radius);
  background: var(--raised);
  box-shadow: var(--action-menu-shadow);
  font-family: var(--font-ui);
  font-size: var(--text-ui);
  color: var(--text);
  text-align: left;
}
.action-menu[hidden] { display: none; }
/* At phone (--action-menu-sheet, item 12) the chooser rises from the foot of
   the screen, its full width, over a scrim. A tap on the scrim, Escape or a
   choice closes it, and the page under it holds still. No motion. */
.action-menu--sheet {
  position: fixed; inset: auto 0 0 0;
  width: auto; max-width: none; max-height: var(--action-sheet-max-h);
  overflow-y: auto; overscroll-behavior: contain;
  padding: var(--action-sheet-pad);
  border-width: 1px 0 0;
  border-radius: var(--action-sheet-radius) var(--action-sheet-radius) 0 0;
}
.action-scrim { position: fixed; inset: 0; z-index: calc(var(--action-menu-z) - 1); background: var(--action-scrim); }
html[data-sheet="open"], html[data-sheet="open"] body { overflow: hidden; }
/* What gets added, in one line, with its day and time under it: the
   reader's one choice is where to (Jeremy, 2026-10-19). */
.action-menu__lead { padding: var(--space-1) var(--action-menu-row-pad) var(--space-1); margin-bottom: var(--space-half); border-bottom: 1px solid var(--border); }
.action-menu__title { margin: 0; font-weight: var(--weight-medium); line-height: var(--leading-snug); }
.action-menu__lead .action-menu__hint { margin: var(--space-half) 0 0; }
.action-menu__item {
  display: flex; align-items: center; gap: var(--space-1);
  width: 100%; min-height: var(--action-menu-row-h);
  padding: 0 var(--action-menu-row-pad);
  border: 0; border-radius: var(--radius-button);
  background: transparent; color: var(--text);
  font: inherit; font-weight: var(--weight-medium); line-height: var(--leading-snug);
  text-align: left;
  cursor: pointer;
  transition: background-color var(--hover-duration);
}
.action-menu__item:has(.action-menu__hint) { padding-block: var(--action-menu-row-pad); }
.action-menu__item:hover { background: var(--action-menu-hover); }
/* The calendars' own marks, in their own colours: the reader finds their
   calendar by its icon. Image files, like a photo, so no colour enters
   the stylesheet. */
.action-menu__brand { width: var(--action-menu-brand); height: var(--action-menu-brand); flex: none; object-fit: contain; }
.action-menu__text { display: flex; flex-direction: column; min-width: 0; }
.action-menu__hint { font-size: var(--text-sm); font-weight: var(--weight-regular); color: var(--action-menu-hint); }
.action-menu__list { margin: 0; padding: 0; list-style: none; }
.action-menu__list .is-split { margin-top: var(--space-half); padding-top: var(--space-half); border-top: 1px solid var(--border); }
.action-menu__icon { width: var(--action-menu-brand); height: var(--icon-size); flex: none; color: var(--text-2); }
.action-menu__foot { margin-top: var(--space-half); padding-top: var(--space-half); border-top: 1px solid var(--border); }
.action-menu__foot .action-menu__item { color: var(--accent-text); }
.action-menu__note { margin: 0; padding: var(--space-1) var(--action-menu-row-pad); font-size: var(--text-sm); color: var(--action-menu-hint); }
/* Home's picker (Jeremy, 2026-10-19): a checkbox per show, nothing ticked
   that isn't already in; Add to calendar's where-to rows wait for a pick. */
.action-picks { margin: 0 0 var(--space-half); padding: 0 0 var(--space-half); border: 0; border-bottom: 1px solid var(--border); min-width: 0; }
.action-pick {
  display: flex; align-items: center; gap: var(--space-1);
  min-height: var(--action-menu-row-h);
  padding: var(--action-menu-row-pad);
  border-radius: var(--radius-button);
  font-weight: var(--weight-medium); line-height: var(--leading-snug);
  cursor: pointer;
  transition: background-color var(--hover-duration);
}
.action-pick:hover { background: var(--action-menu-hover); }
.action-pick input { flex: none; width: var(--action-pick-size); height: var(--action-pick-size); margin: 0; accent-color: var(--action-pick-check); cursor: pointer; }
.action-menu__item:disabled { color: var(--action-menu-off); cursor: default; }
.action-menu__item:disabled:hover { background: transparent; }
.action-menu__item:disabled .action-menu__brand,
.action-menu__item:disabled .action-menu__icon { opacity: var(--action-menu-off-opacity); }
.action-menu__item:disabled .action-menu__hint { color: var(--action-menu-off); }

/* ---- The note that confirms an action. ---- */
.toast {
  position: fixed;
  left: var(--toast-inset); right: var(--toast-right); bottom: calc(var(--toast-bottom) + var(--toast-lift));
  z-index: var(--toast-z);
  display: flex; flex-wrap: var(--toast-wrap); align-items: center; gap: var(--toast-gap);
  width: var(--toast-width);
  max-width: min(var(--toast-w), calc(100vw - 2 * var(--toast-inset)));
  padding: var(--space-1) var(--space-1) var(--space-1) var(--toast-pad);
  border-radius: var(--toast-radius);
  background: var(--toast-fill);
  box-shadow: var(--toast-shadow);
  font-family: var(--font-ui);
  font-size: var(--text-sm);
  line-height: var(--leading-snug);
  color: var(--toast-ink);
}
.toast[hidden] { display: none; }
.toast__text { margin: 0; flex: 1 1 var(--toast-text-basis); min-width: 0; }
.toast__act {
  flex: none;
  order: var(--toast-act-order);
  margin: var(--toast-act-margin);
  display: inline-flex; align-items: center;
  min-height: var(--target);
  padding: 0 var(--space-1);
  border: 0; border-radius: var(--radius-button);
  background: transparent;
  color: var(--toast-link);
  font: inherit; font-weight: var(--weight-medium);
  text-decoration: underline; text-underline-offset: 0.2em;
  white-space: nowrap;
  cursor: pointer;
}
.toast__act:hover { color: var(--toast-ink); }
.toast__close { flex: none; order: var(--toast-close-order); color: var(--toast-ink); }
.toast__close:hover { background: transparent; color: var(--toast-link); }
.toast a:focus-visible, .toast button:focus-visible { outline: 2px solid var(--toast-link); outline-offset: 2px; }

/* Saved: the card's link takes the slack, so every Remove sits on one line
   across the row however long the title runs. */
.saved-grid .card__link { flex: 1 0 auto; }

/* The account page's Calendar: the chooser for everything on it, under the
   page's title. */
.account-head__actions { display: flex; flex-direction: var(--actions-direction); flex-wrap: wrap; gap: var(--space-1); margin-top: var(--space-2); }
.account-head__actions .btn { width: var(--actions-btn-w); min-height: var(--btn-stack-h); }   /* full width at phone (item 12) */

/* =============================================================
   Contributors (v1.1, ledger item 4, 2026-10-19). The contributor
   page's head on thing.html, the index (contributors.html), the
   tiles that open them, and the article's byline with one name,
   two, or a brand.
   ============================================================= */
.contributor-head { display: grid; grid-template-columns: var(--contributor-head-cols); gap: var(--contributor-head-gap); align-items: start; }
.contributor-head__text { min-width: 0; }
.contributor-head__text .kicker { margin: 0; }
.contributor-portrait { width: var(--contributor-portrait); height: var(--contributor-portrait); }
.contributor-portrait .avatar__monogram { font-size: var(--contributor-monogram-size); }
.contributor-head__bio {
  margin: var(--space-2) 0 0;
  max-width: var(--contributor-bio-measure);
  font-size: var(--contributor-bio-size);
  color: var(--contributor-bio-ink);
  text-wrap: pretty;
}
.contributor-head__hosts { margin: var(--space-2) 0 0; font-family: var(--font-ui); font-size: var(--text-sm); color: var(--text-2); }
.contributor-head__hosts a { color: var(--text); font-weight: var(--weight-medium); text-decoration: underline; text-underline-offset: 0.2em; }
.contributor-head__hosts a:hover { color: var(--link-hover); }
/* At phone the head's Follow runs full width, as every action group does,
   and the small links reach 44px tall. Padding an inline link adds hit area
   and moves nothing (its padding never touches the line); a crumb's margin
   takes its padding back. The crumbs only on the contributor page: the
   other topic pages are the existing pages' pass. */
.contributor-head .topic-head__actions { flex-direction: var(--actions-direction); }
.contributor-head .topic-head__actions .btn { width: var(--actions-btn-w); min-height: var(--btn-stack-h); }
.contributor-head__hosts a, .read__byline a, .read-head__foot > .meta a { padding-block: var(--contributor-link-hit); }   /* the last, a legal update's By ICAN Legal Team line */
.crumbs:has(+ .contributor-head) a { padding-block: var(--contributor-link-hit); margin-block: calc(-1 * var(--contributor-link-hit)); }

/* A brand byline's logo, on a plate as tall as a portrait. */
.contributor-logo {
  display: grid; place-items: center;
  width: var(--contributor-logo-w); height: var(--contributor-portrait);
  padding: var(--contributor-logo-pad);
  border: 1px solid var(--border); border-radius: var(--radius-card);
  background: var(--contributor-logo-fill);
}
.contributor-logo img { display: block; max-width: 100%; max-height: var(--contributor-logo-h); width: auto; height: auto; }
.contributor-logo--tile { width: var(--contributor-tile-logo-w); height: var(--contributor-tile-logo-h); padding: var(--contributor-tile-logo-pad); margin-bottom: var(--space-1); }
/* ICAN's logo file is drawn for a dark ground: its plate is home's navy,
   as on the ICAN card. */
.contributor-logo--navy { background: var(--contributor-logo-navy-fill); border-color: var(--contributor-logo-navy-border); }

/* A tile that opens its contributor page: the face and the name are the
   link; Follow sits apart. Buttons share a baseline across a row whether
   or not a tile has a focus line. */
.person-tile__link { display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-1); color: inherit; }
.person-tile__link:hover .person-tile__name { color: var(--link-hover); }
.contributor-tile .btn { margin-top: auto; }
/* The index: five across for the contributors the Read menu names and for
   the bylines, as on home, and more across for everyone else, who carry no
   focus line. */
.contributors-grid { grid-template-columns: repeat(var(--contributors-cols), minmax(0, 1fr)); }
/* The circles stay a grid at phone, two across, where home's row of
   contributors becomes a shelf: an index shows everyone at once. The
   shelf's overflow and bleed are its desktop values, kept here. */
.contributors-grid--more {
  display: grid;
  grid-template-columns: repeat(var(--contributors-more-cols), minmax(0, 1fr));
  gap: var(--contributors-more-gap);
  overflow-x: visible; margin-inline-end: 0; padding-inline-end: 0;
}

/* The index's six up top: a card with the photograph large, the role, the
   name, the line on what they cover and Follow, the Follow buttons on one
   line across a row. */
.contributors-lead { display: grid; grid-template-columns: repeat(var(--contributor-card-cols), minmax(0, 1fr)); gap: var(--contributor-card-gap); }
.contributor-card {
  display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-1);
  padding: var(--contributor-card-pad);
  border-radius: var(--radius-card);
  background: var(--contributor-card-fill);
  color: var(--contributor-card-ink);
}
.contributor-card__link { display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-1); align-self: stretch; color: inherit; }
.contributor-card__photo {
  display: block; align-self: stretch;
  aspect-ratio: var(--contributor-card-ratio);
  overflow: hidden;
  border-radius: var(--contributor-card-photo-radius);
  background: var(--sunk);
  margin-bottom: var(--space-1);
}
.contributor-card__photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: var(--contributor-card-focus); filter: var(--contributor-card-filter); transition: filter var(--hover-duration); }
.contributor-card__link:hover .contributor-card__photo img { filter: var(--contributor-card-filter-hover); }
.contributor-card__photo--logo { display: grid; place-items: center; background: var(--contributor-logo-fill); border: 1px solid var(--border); }
.contributor-card__photo--logo img { width: var(--contributor-card-logo-w); height: auto; filter: none; }
.contributor-card__photo--navy { background: var(--contributor-logo-navy-fill); border-color: var(--contributor-logo-navy-border); }
.contributor-card__role { font-family: var(--font-ui); font-size: var(--text-xs); letter-spacing: var(--tracking-kicker); text-transform: uppercase; color: var(--contributor-card-muted); }
.contributor-card__name { font-family: var(--font-display); font-size: var(--contributor-card-name-size); font-weight: var(--weight-bold); line-height: var(--leading-tight); }
.contributor-card__link:hover .contributor-card__name { color: var(--link-hover); }
.contributor-card__focus { flex-grow: 1; margin: 0; font-size: var(--text-sm); color: var(--contributor-card-muted); text-wrap: pretty; }
.contributor-card .btn { margin-top: var(--space-1); width: var(--actions-btn-w); }
/* The card's ink is its ground's; a button keeps its own. */
.contributor-card .btn-secondary:not([data-done]) { color: var(--text); }

/* Each of the six on its own ground, by its place in the grid. */
.contributors-lead > :nth-child(1) { --contributor-card-fill: var(--contributor-ground-1); --contributor-card-ink: var(--contributor-ink-1); --contributor-card-muted: var(--contributor-muted-1); }
.contributors-lead > :nth-child(2) { --contributor-card-fill: var(--contributor-ground-2); --contributor-card-ink: var(--contributor-ink-2); --contributor-card-muted: var(--contributor-muted-2); }
.contributors-lead > :nth-child(3) { --contributor-card-fill: var(--contributor-ground-3); --contributor-card-ink: var(--contributor-ink-3); --contributor-card-muted: var(--contributor-muted-3); }
.contributors-lead > :nth-child(4) { --contributor-card-fill: var(--contributor-ground-4); --contributor-card-ink: var(--contributor-ink-4); --contributor-card-muted: var(--contributor-muted-4); }
.contributors-lead > :nth-child(5) { --contributor-card-fill: var(--contributor-ground-5); --contributor-card-ink: var(--contributor-ink-5); --contributor-card-muted: var(--contributor-muted-5); }
.contributors-lead > :nth-child(6) { --contributor-card-fill: var(--contributor-ground-6); --contributor-card-ink: var(--contributor-ink-6); --contributor-card-muted: var(--contributor-muted-6); }

/* The stream's head carries All, Watch and Read where it holds both. */
.contributor-stream .section-head { flex-wrap: wrap; }
/* At phone the title and See all share the first line, as every section
   head's do, and the switch takes the next, three equal parts. */
.contributor-stream .section-head__tools { flex-basis: var(--contributor-switch-basis); order: var(--contributor-switch-order); }
.contributor-stream .segmented { width: var(--contributor-switch-w); }
.contributor-stream .segmented button { flex: var(--contributor-switch-flex); }

/* The article's byline. Names link to their contributor pages; two names
   show two faces, the second tucked under the first; a brand shows none. */
.read__faces { display: flex; flex: 0 0 auto; }
.read__faces .avatar + .avatar { margin-left: calc(-1 * var(--byline-face-overlap)); box-shadow: 0 0 0 var(--byline-face-ring-w) var(--byline-face-ring); }
.read__byline a { color: inherit; text-decoration: underline; text-decoration-color: var(--border-strong); text-underline-offset: 0.2em; }
.read__byline a:hover { color: var(--link-hover); text-decoration-color: currentColor; }
/* Two names keep the byline's two lines at every width (item 12): at
   phone, where one name and the date share a meta line, the pair wrapped
   onto a second line and left the dot hanging at the end of the first. */
.read__byline:has(.avatar + .avatar) > div:not(.avatar) { display: var(--read-who-pair-display); }
.read__byline:has(.avatar + .avatar) > div:not(.avatar) > p:not(:last-child)::after { content: var(--read-who-pair-sep); }
/* A followed brand byline on the account page: its logo on its plate, in
   the row's thumbnail slot. */
.follow-row__logo { display: grid; place-items: center; padding: var(--space-1); border: 1px solid var(--border); background: var(--contributor-logo-fill); }
.follow-row__logo img { width: auto; height: auto; max-width: 100%; max-height: 100%; object-fit: contain; filter: none; }
.follow-row__logo--navy { background: var(--contributor-logo-navy-fill); border-color: var(--contributor-logo-navy-border); }

/* =============================================================
   All films and specials (films.html, v1.1 item 7, 2026-10-19): All
   episodes' head, then one block per collection, each on a hairline: the
   show page's split head (the cover, then the kicker, name, line, facts and
   Watch), then the collection's items as a shelf in the editor's order, with
   the arrows and the count at the shelf's right. A series is a head alone.
   The cards are the listings' segment card. Values from --collection-*.
   ============================================================= */
.films .episodes-head { margin-bottom: var(--collection-gap); }
.collection { padding-top: var(--collection-gap); border-top: var(--collection-rule) solid var(--border); }
.collection + .collection { margin-top: var(--collection-gap); }
.collection-head {
  display: grid;
  grid-template-columns: var(--collection-head-cols);
  gap: var(--collection-head-gap);
  align-items: center;
}
/* The cover, shown whole at 16:9: a film's poster, a series' key art, or a
   frame from the collection's first video. It links where Watch does. */
.collection-art {
  display: block;
  aspect-ratio: var(--collection-art-ratio);
  overflow: hidden;
  border: var(--collection-art-frame) solid var(--collection-art-frame-color);
  border-radius: var(--collection-art-radius);
  background: var(--collection-art-ground);
}
.collection-art img { display: block; width: 100%; height: 100%; object-fit: cover; filter: var(--media-filter); }
/* No cover yet: the frame keeps its shape and names the collection. */
.collection-art[data-label]:not(:has(img)) { display: flex; align-items: center; justify-content: center; }
.collection-art[data-label]:not(:has(img))::after {
  content: attr(data-label);
  font-size: var(--text-sm);
  letter-spacing: var(--tracking-kicker);
  text-transform: uppercase;
  color: var(--text-3);
}
.collection-intro { display: flex; flex-direction: column; align-items: var(--collection-intro-align); gap: var(--space-2); min-width: 0; }
.collection-intro h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: var(--collection-name-size);
  font-weight: var(--display-weight);
  letter-spacing: var(--tracking-display);
  line-height: var(--leading-tight);
  text-wrap: balance;
}
.collection-intro__line { margin: 0; max-width: var(--measure); font-size: var(--text-base); line-height: var(--read-leading); color: var(--text-2); text-wrap: pretty; }
.collection-intro__meta { display: flex; flex-wrap: wrap; gap: var(--space-1); margin: 0; font-family: var(--font-ui); font-size: var(--text-sm); color: var(--text-2); font-variant-numeric: tabular-nums; }
.collection-intro__meta > span + span::before { content: "·"; margin-right: var(--space-1); color: var(--text-3); }
.collection-intro__actions { display: flex; flex-direction: var(--actions-direction); flex-wrap: wrap; gap: var(--space-1); margin-top: var(--space-1); }
.collection-intro__actions .btn { width: var(--actions-btn-w); min-height: var(--btn-stack-h); }
/* The shelf's own head: what the row holds at the left; the count and the
   arrows at the right, behind the arrows' hairline (layout.css). */
.collection__shelf-head { display: flex; align-items: center; gap: var(--space-2); margin: var(--collection-shelf-gap) 0 var(--space-3); }
.collection__shelf-title { margin: 0; font-family: var(--font-display); font-size: var(--collection-shelf-title-size); font-weight: var(--display-weight); letter-spacing: var(--tracking-display); line-height: var(--leading-tight); }
.collection__count { margin: 0; white-space: nowrap; }

/* =============================================================
   Topics and subtopics in place (v1.1, 2026-10-19; Jeremy's pick of
   four, screenshots/concepts/topics-archive, option 4). The band over a
   topic is the path bar and holds the subtopics; picking one filters the
   page in place (js/topics.js). Under it, the subtopic's subjects, which
   filter too, then its names, which open pages. Tokens: --subtopic-*,
   --subject-*, --names-*, --name-tile-*.
   ============================================================= */
.subtopic-row {
  display: flex;
  flex-wrap: var(--subtopic-row-wrap);
  gap: var(--subtopic-row-gap);
  overflow-x: var(--subtopic-row-overflow);
  scrollbar-width: none;
  margin-top: var(--space-1);
  padding-top: var(--subtopic-row-pad);
  border-top: var(--subtopic-row-rule) solid var(--topic-band-rule);
}
.subtopic-row::-webkit-scrollbar { display: none; }
.subtopic-row, .subject-row, .names-index__grid { margin-inline: calc(-1 * var(--scroll-row-bleed)); padding-inline: var(--scroll-row-bleed); scroll-padding-inline: var(--scroll-row-bleed); }
.chip--band { flex: 0 0 auto; background: transparent; border-color: var(--subtopic-chip-rule); color: var(--subtopic-chip-ink); }
.chip--band:hover { color: var(--subtopic-chip-ink); border-color: var(--subtopic-chip-rule-hover); }
.chip--band[aria-current] { background: var(--subtopic-chip-on-fill); border-color: var(--subtopic-chip-on-fill); color: var(--subtopic-chip-on-ink); }
.chip--band:focus-visible { outline-color: var(--subtopic-chip-ink); }

.subject-row {
  display: flex;
  flex-wrap: var(--subject-row-wrap);
  align-items: center;
  gap: var(--space-1);
  overflow-x: var(--subject-row-overflow);
  scrollbar-width: none;
  padding-bottom: var(--subject-row-pad);
}
.subject-row::-webkit-scrollbar { display: none; }
.subject-row[hidden], .names-index[hidden] { display: none; }
.subject-row__label { flex: 0 0 auto; margin-right: var(--space-1); font-family: var(--font-ui); font-size: var(--text-sm); color: var(--text-3); }
.chip--quiet { flex: 0 0 auto; background: transparent; font-size: var(--subject-chip-size); font-weight: var(--weight-regular); color: var(--subject-chip-ink); }
.chip--quiet:hover { color: var(--text); }
.chip--quiet[aria-current] { background: var(--accent); border-color: var(--accent); color: var(--text-on-accent); font-weight: var(--weight-medium); }

.names-index__grid {
  display: var(--names-flow);
  grid-template-columns: var(--names-cols);
  gap: var(--name-tile-gap);
  overflow-x: var(--names-overflow);
  scrollbar-width: none;
}
.names-index__grid::-webkit-scrollbar { display: none; }
.name-tile { position: relative; flex: 0 0 auto; width: var(--name-tile-w); min-height: var(--target); padding-right: calc(var(--index-tile-pad) + var(--space-3)); }
.name-tile::after { content: "\2192"; position: absolute; right: var(--index-tile-pad); top: 50%; transform: translateY(-50%); font-family: var(--font-ui); color: var(--name-tile-arrow); }
.name-tile__where { font-family: var(--font-ui); font-size: var(--text-sm); color: var(--text-3); }
.topic-results .toolbar { margin-top: 0; }

/* ---- Search's filters (v1.1, 2026-10-19: the archive folded into search,
   js/search-page.js). Tokens: --filter-*. ---- */
.filter-refine { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-1); padding-block: var(--space-2); border-bottom: 1px solid var(--border); }
.filter-dds { display: var(--filter-dds-display); flex-wrap: wrap; align-items: center; gap: var(--space-1); width: 100%; }
.filter-dd { position: relative; }
.filter-dd[hidden] { display: none; }
.filter-dd__btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: var(--space-half);
  min-height: var(--toolbar-control-h);
  padding: var(--filter-dd-pad);
  border: 1px solid var(--border);
  border-radius: var(--radius-input);
  background: var(--raised);
  font-family: var(--font-ui);
  font-size: var(--text-ui);
  color: var(--text);
  white-space: nowrap;
  cursor: pointer;
  transition: border-color var(--hover-duration);
}
.filter-dd__btn:hover { border-color: var(--border-strong); }
.filter-dd__btn::after {
  content: "";
  position: absolute;
  right: var(--filter-select-caret-inset);
  top: 50%;
  width: var(--chevron-size);
  height: var(--chevron-size);
  border-right: var(--chevron-stroke) solid var(--text);
  border-bottom: var(--chevron-stroke) solid var(--text);
  transform: translateY(-75%) rotate(45deg);
}
.filter-dd__k { color: var(--text-2); }
.filter-dd__v { font-weight: var(--weight-medium); }
.filter-dd__btn.is-set, .filter-dd.is-open .filter-dd__btn { border-color: var(--text); }
.filter-dd__btn.is-set .filter-dd__k::after { content: ":"; }
.filter-dd__panel {
  position: absolute;
  z-index: 30;
  top: calc(100% + var(--space-1));
  left: 0;
  width: var(--filter-dd-panel-w);
  max-height: var(--filter-dd-panel-max-h);
  overflow: auto;
  padding: var(--filter-dd-panel-pad);
  background: var(--raised);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-2);
}
.filter-group__head { margin: var(--space-2) 0 var(--space-half); font-family: var(--font-ui); font-size: var(--text-xs); letter-spacing: var(--tracking-kicker); text-transform: uppercase; color: var(--text-3); }
.filter-group__head:first-child { margin-top: 0; }
.filter-check { display: flex; align-items: center; gap: var(--space-1); min-height: var(--filter-check-h); font-family: var(--font-ui); font-size: var(--text-ui); color: var(--text); cursor: pointer; }
.filter-check input { flex: none; width: var(--filter-check-box); height: var(--filter-check-box); margin: 0; accent-color: var(--accent); }
.filter-check--sm { font-size: var(--text-sm); color: var(--text-2); }
.filter-group__nest { margin-left: calc(var(--filter-check-box) / 2); padding-left: var(--filter-nest-indent); border-left: 1px solid var(--filter-nest-rule); }
.filter-person { position: relative; width: var(--filter-person-w); }
.filter-person .glyph { position: absolute; left: var(--space-2); top: 50%; transform: translateY(-50%); color: var(--text-3); pointer-events: none; }
.filter-person .input { width: 100%; min-height: var(--toolbar-control-h); padding-left: calc(var(--space-2) + var(--space-3)); }
.filter-person__list { position: absolute; z-index: 30; top: calc(100% + var(--space-half)); left: 0; right: 0; margin: 0; padding: var(--space-half); list-style: none; background: var(--raised); border: 1px solid var(--border); border-radius: var(--radius-card); box-shadow: var(--shadow-2); }
.filter-person__list[hidden] { display: none; }
.filter-person__opt, .filter-person__none { display: flex; align-items: center; min-height: var(--target); padding: 0 var(--space-2); border-radius: var(--radius-sm); font-family: var(--font-ui); font-size: var(--text-ui); }
.filter-person__opt { cursor: pointer; }
.filter-person__opt:hover, .filter-person__opt[aria-selected="true"] { background: var(--accent-soft); }
.filter-person__none { color: var(--text-3); }
.filter-open { display: var(--filter-open-display); align-items: center; gap: var(--space-1); }
.filter-open__n { display: inline-grid; place-items: center; min-width: var(--filter-badge-h); height: var(--filter-badge-h); padding: var(--filter-badge-pad); border-radius: var(--radius-pill); background: var(--accent); color: var(--text-on-accent); font-size: var(--text-xs); }
.filter-open__n[hidden] { display: none; }
.filter-active { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-1); width: 100%; }
.filter-active[hidden] { display: none; }
.filter-on {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  min-height: var(--target);
  padding: 0 var(--space-1) 0 var(--space-2);
  border: 1px solid var(--filter-on-rule);
  border-radius: var(--radius-pill);
  background: var(--raised);
  font-family: var(--font-ui);
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  color: var(--text);
  white-space: nowrap;
  cursor: pointer;
}
.filter-on__x { display: inline-grid; place-items: center; width: var(--filter-on-x); height: var(--filter-on-x); border-radius: var(--radius-pill); background: var(--filter-on-x-fill); font-size: var(--text-base); line-height: 1; transition: background-color var(--hover-duration); }
.filter-on:hover .filter-on__x { background: var(--accent-soft); }
.filter-clear { min-height: var(--target); padding: 0 var(--space-1); border: 0; background: none; font-family: var(--font-ui); font-size: var(--text-sm); color: var(--accent-text); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.filter-clear:hover { color: var(--link-hover); }
/* At phone: the sheet. */
.filter-scrim { position: fixed; inset: 0; z-index: 90; background: var(--filter-scrim); }
.filter-sheet { position: fixed; left: 0; right: 0; bottom: 0; z-index: 91; display: flex; flex-direction: column; max-height: var(--filter-sheet-max-h); background: var(--ground); border-radius: var(--filter-sheet-radius) var(--filter-sheet-radius) 0 0; box-shadow: var(--shadow-2); }
.filter-scrim[hidden], .filter-sheet[hidden] { display: none; }
.filter-sheet__head { display: flex; align-items: center; justify-content: space-between; padding: var(--space-2) var(--gutter) var(--space-1); border-bottom: 1px solid var(--border); }
.filter-sheet__head h2 { margin: 0; font-size: var(--text-lg); }
.filter-sheet__body { overflow: auto; padding: 0 var(--gutter) var(--space-2); }
.filter-sheet__group { border-bottom: 1px solid var(--border); }
.filter-sheet__group summary { position: relative; display: flex; align-items: center; justify-content: space-between; gap: var(--space-2); min-height: var(--filter-sheet-row-h); padding-right: var(--space-3); list-style: none; cursor: pointer; }
.filter-sheet__group summary::-webkit-details-marker { display: none; }
.filter-sheet__group summary::after { content: ""; position: absolute; right: var(--space-half); top: 50%; width: var(--chevron-size); height: var(--chevron-size); border-right: var(--chevron-stroke) solid var(--text); border-bottom: var(--chevron-stroke) solid var(--text); transform: translateY(-75%) rotate(45deg); }
.filter-sheet__group[open] summary::after { transform: translateY(-25%) rotate(225deg); }
.filter-sheet__k { margin: 0; font-family: var(--font-ui); font-size: var(--text-ui); font-weight: var(--weight-medium); color: var(--text); }
.filter-sheet__v { font-family: var(--font-ui); font-size: var(--text-ui); color: var(--text-3); text-align: right; }
.filter-sheet__group .filter-group { padding-bottom: var(--space-2); }
.filter-sheet__group--person { padding-block: var(--space-2); border-bottom: 0; }
.filter-sheet__group--person .filter-sheet__k { margin-bottom: var(--space-1); }
.filter-sheet__group--person .filter-person { width: 100%; }
.filter-sheet__foot { padding: var(--space-2) var(--gutter) calc(var(--space-3) + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--border); }
.filter-sheet__foot .btn { width: 100%; }
html.has-filter-sheet { overflow: hidden; }
