/*
 * PATCH-3788 — the shared header and footer, on every page of the site.
 *
 * The markup these rules style is generated: scripts/site-chrome.mjs is its
 * one definition, and each page carries a copy between its `site-header` and
 * `site-footer` markers.
 *
 * This file stands on its own. Each page has a stylesheet of its own (the home
 * page's is its style block), so nothing here reads a token another stylesheet
 * defines: the values the home page uses are restated under a `--chrome-`
 * prefix, which also keeps this file from changing a page's own tokens. Every rule sets what it needs in full
 * and is scoped to a `.site-` class, because the page stylesheets style bare
 * `a`, `p` and `header` elements. Load it AFTER the page's own stylesheet.
 *
 * PATCH-3838: the --chrome-motion values are motion.css's, restated. The links'
 * eased colours, the button's press and reduced motion are that file's rules.
 *
 * PATCH-7272 (design review M1–M3): the one exception to the `.site-` scope.
 * The parts every page shares outside the chrome are defined here too, once,
 * because this is the one stylesheet every page loads: the page headings'
 * sizes (--chrome-h1-size, --chrome-h2-size, which the pages' own h1 and h2 rules
 * read), the primary button (.button, the home hero's 13px by 22px and 52px,
 * no icon) and its quiet partner (.button.quiet), and a film card's play glyph
 * and length badge (.film-play, .film-duration). Each sets what it needs in
 * full, so a page's bare `a` rules cannot reach in, and no page restates it
 * (test/visual-system.test.mjs).
 *
 * Raw colours stay inside :root.
 */

:root {
  /* The site's accent is the Patch mark's own colour (assets/brand/mark.svg), never an
     app skin's: the mark is coral in every theme (PATCH-5189). The owner, 2026-11-19
     (patch-cove:site-accent-colour): "keep terracotta (Cat: it's the logo's colour, and
     the logo stays coral)". test/visual-system.test.mjs holds every restated accent to it. */
  --chrome-bg-header: rgba(31,31,30,0.82); --chrome-bg-rail: #1a1a19;
  --chrome-text: #ece8e1; --chrome-text-secondary: #b8b3aa; --chrome-text-muted: #948e85; --chrome-text-faint: #66625a;
  --chrome-accent: #d97757; --chrome-accent-hover: #e2876a; --chrome-on-accent: #2a1208;
  --chrome-border: rgba(255,253,247,0.09); --chrome-border-soft: rgba(255,253,247,0.055); --chrome-hover: rgba(255,253,247,0.05);
  --chrome-shadow-sm: 0 1px 2px rgba(0,0,0,.3); --chrome-shadow-md: 0 6px 20px -6px rgba(0,0,0,.5);
  --chrome-r-md: 9px;
  --chrome-font-ui: "Hanken Grotesk", "Hanken Grotesk Fallback", ui-sans-serif, system-ui, sans-serif;
  --chrome-font-mono: "JetBrains Mono", ui-monospace, monospace;
  --chrome-width: 1180px;
  /* PATCH-6044, PATCH-6051: the header's height at 100% text. Its script
     sets the rendered height on <html>, which wins, so the Menu and every
     scroll offset follow the header when enlarged text wraps it. */
  --chrome-header-h: 58px;
  /* PATCH-3833: the number of link columns the footer renders (FOOTER_COLUMNS
     in scripts/site-chrome.mjs; the page test holds the two together). */
  --chrome-footer-columns: 4;
  --chrome-motion-fast: 120ms; --chrome-motion-surface: 240ms; --chrome-motion-slow: 200ms; --chrome-ease-out-soft: cubic-bezier(0.2, 0.7, 0.2, 1);
  /* PATCH-7272: the values the shared parts below use, restated from the home
     page as the rest are: its --text-secondary, --accent-text, --border-strong,
     --bg-raised (the card brown, PATCH-4219) and --r-sm, and video-player.css's
     Play disc (PATCH-6700), whose look a film card's glyph takes. */
  --chrome-accent-text: #f0a98e; --chrome-border-strong: rgba(255,253,247,0.16);
  --chrome-bg-raised: #221d1a; --chrome-r-sm: 6px;
  --chrome-scrim: rgba(0, 0, 0, 0.6);
  --chrome-disc: rgba(0, 0, 0, 0.55); --chrome-disc-hover: rgba(0, 0, 0, 0.7); --chrome-on-disc: #fff;
  /* PATCH-7272 (M1): one heading scale. Every page's h1 but the home hero's
     (54px, its own --fs-h1) is 46px/700 at 1440, 30px on a phone; every
     section heading is 28px (the owner, 2026-11-19,
     patch-cove:visual-system-preview: "yes, at 28px"), never larger than its
     page's h1 at any width. Where a watch page's short-landscape placement
     (films.css, PATCH-7089) sets its h1 smaller, its section headings follow. */
  --chrome-h1-size: clamp(30px,4.4vw,46px); --chrome-h2-size: 28px;
}

.site-header, .site-header *, .site-footer, .site-footer * { box-sizing: border-box; }
.site-header, .site-footer { font-family: var(--chrome-font-ui); font-size: 14px; line-height: 1.5; }
.site-header a, .site-header a:hover, .site-footer a, .site-footer a:hover { text-decoration: none; }
/* PATCH-3838: the site's one focus ring, whatever the page says of focus. */
.site-header :focus-visible, .site-footer :focus-visible { outline: 2px solid var(--chrome-accent); outline-offset: 2px; }

/* ---- Header --------------------------------------------------------------- */

.site-header {
  position: sticky; top: 0; z-index: 50; width: 100%; container: site-header / inline-size;
  background: var(--chrome-bg-header); backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--chrome-border-soft);
}
/* PATCH-1101: min-height, not height, so a row that does wrap (a translated
   label, a large default font) pushes the background down rather than spilling
   out of it. */
.site-nav {
  max-width: var(--chrome-width); margin: 0 auto; padding: 8px 24px; min-height: 57px;
  display: flex; align-items: center; justify-content: space-between; gap: clamp(8px, 4vw, 22px);
}
/* PATCH-3838: the skip link, off the left edge until it has focus. It wears
   the call to action's rule below. Its <main> starts under the sticky header. */
.site-header .site-skip { position: absolute; top: 10px; left: -999em; }
.site-header .site-skip:focus { left: 2px; }
/* PATCH-6044, PATCH-6051: what lands under the header clears its rendered
   height, --chrome-header-h (see :root). */
#content { scroll-margin-top: var(--chrome-header-h); }
.site-brand { display: flex; align-items: center; gap: 7px; margin: 0; padding: 0; }
.site-brand img { display: block; width: 20px; height: 20px; margin: 0; }
.site-brand span { font-weight: 700; font-size: 16px; color: var(--chrome-text); letter-spacing: -0.03em; }
.site-links { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.site-header .site-link, .site-menu-button {
  position: relative; padding: 7px 11px; border-radius: var(--chrome-r-md);
  font-size: 14px; font-weight: 400; color: var(--chrome-text-secondary);
}
.site-header .site-link:is(:hover, :focus-visible), .site-menu-button:is(:hover, :focus-visible) { background: var(--chrome-hover); color: var(--chrome-text); }
.site-header .site-link[aria-current] { color: var(--chrome-text); }
/* PATCH-3838: the current page's bar. A border, which forced colours keep.
   PATCH-7273 (Cat's M5): the same bar on the section's link, aria-current="true",
   on a page below its index (a blog post, a film's watch page). */
.site-header .site-link[aria-current]::after, .site-header .site-for-button.site-link:has(+ .site-for-menu [aria-current="page"])::after {
  content: ""; position: absolute; inset: auto 11px 0; border-bottom: 2px solid var(--chrome-accent);
}
/* PATCH-4220: "Who it's for", the one link on the row that is a menu. A
   button that wears the links' rule, with a caret that turns while it is open.
   It names the anchor its menu is placed against. */
.site-header .site-for-button {
  display: inline-flex; align-items: center; gap: 6px; margin: 0; border: 0; background: none;
  font-family: inherit; line-height: inherit; cursor: pointer; anchor-name: --site-for;
}
.site-for-caret { display: block; transition: rotate var(--chrome-motion-fast) var(--chrome-ease-out-soft); }
.site-for-button:has(+ .site-for-menu:popover-open) .site-for-caret { rotate: 180deg; }
/* On a use-case page the button carries the current page's bar (the rule
   above it, with the links'), so the bar still moves from link to link in the
   cross-fade. The menu's own links mark the page by colour alone, which keeps
   the bar's name used once. */
.site-header .site-for-button:has(+ .site-for-menu [aria-current="page"]) { color: var(--chrome-text); }
/* The menu is a popover in the top layer, under its button where the browser
   can anchor it, and centred under the header where it cannot. */
.site-for-menu {
  position: fixed; inset: var(--chrome-header-h) 0 auto; width: max-content; min-width: 220px; margin: 0 auto; padding: 6px;
  flex-direction: column; align-items: stretch;
  border: 1px solid var(--chrome-border); border-radius: var(--chrome-r-md);
  background: var(--chrome-bg-rail); color: var(--chrome-text); box-shadow: var(--chrome-shadow-md);
  opacity: 0; translate: 0 -4px;
  transition: var(--chrome-motion-fast) var(--chrome-ease-out-soft) allow-discrete;
  transition-property: opacity, translate, display, overlay;
}
@supports (anchor-name: --site-for) {
  .site-for-menu { position-anchor: --site-for; inset: auto; top: anchor(bottom); left: anchor(left); margin: 8px 0 0; }
}
.site-for-menu:popover-open { display: flex; opacity: 1; translate: none; transition-duration: var(--chrome-motion-surface); }
@starting-style { .site-for-menu:popover-open { opacity: 0; translate: 0 -4px; } }
.site-header .site-for-link {
  padding: 9px 12px; border-radius: var(--chrome-r-md);
  font-size: 14px; color: var(--chrome-text-secondary); white-space: nowrap;
}
.site-header .site-for-link:is(:hover, :focus-visible) { background: var(--chrome-hover); color: var(--chrome-text); }
.site-header .site-for-link[aria-current="page"] { color: var(--chrome-text); }
@supports not selector(:popover-open) { .site-header .site-for-button { display: none; } }

.site-header .site-cta, .site-header .site-skip {
  margin-left: 6px; padding: 8px 15px; border-radius: var(--chrome-r-md);
  font-size: 14px; font-weight: 600; white-space: nowrap;
  background: var(--chrome-accent); color: var(--chrome-on-accent); box-shadow: var(--chrome-shadow-sm);
}
/* PATCH-6007: 4px more between Blog and Request access on the row. */
.site-header .site-cta { margin-left: 10px; }
.site-header .site-cta:is(:hover, :focus-visible) { background: var(--chrome-accent-hover); color: var(--chrome-on-accent); }

/* PATCH-3838: the phone menu, a popover in the top layer under the header
   (its rendered height, PATCH-6044), so opening it moves nothing. It leaves faster than it arrives. */
.site-menu-button, .site-menu { display: none; }
/* PATCH-7273 (Cat's M6): while the panel is open the button reads "Close",
   which is also its name then, and a scrim covers the page under the header,
   so the panel no longer ends mid-screen over a live-looking page. The scrim
   starts at the header's bottom, so the button stays undimmed; a tap on it, or
   on the scrim, closes the panel, as the browser's light dismiss does. */
.site-menu-label-open { display: none; }
.site-links:has(> .site-menu:popover-open) .site-menu-label-closed { display: none; }
.site-links:has(> .site-menu:popover-open) .site-menu-label-open { display: inline; }
.site-menu::backdrop { top: 58px; top: var(--chrome-header-h, 58px); background: var(--chrome-scrim); }
.site-menu {
  position: fixed; inset: var(--chrome-header-h) 0 auto; width: auto; padding: 4px 13px 10px;
  flex-direction: column; align-items: flex-start;
  border: 0; border-bottom: 1px solid var(--chrome-border-soft); background: var(--chrome-bg-rail);
  opacity: 0; translate: 0 -8px;
  transition: var(--chrome-motion-fast) var(--chrome-ease-out-soft) allow-discrete;
  transition-property: opacity, translate, display, overlay;
}

/* PATCH-1157: under 640px the row of links would wrap the header. PATCH-3838:
   they go behind a Menu button where the browser can open a popover, and stay
   footer-only where it cannot. The margin keeps the header's height.
   PATCH-4220: with "Who it's for" the row needs 813px, measured in Chromium
   with the site's fonts. The panel then lists the menu's five as a group under
   its name, and scrolls on a short screen.
   PATCH-4479: the header decides on its own width, never the window's. A
   media query counts the scroll bar, so with a classic one (15px on macOS, 17px
   on Windows) windows 816-829px wide gave the row 799-814px and it wrapped.
   The switch is at 848px of header width: the row's width plus headroom for
   other engines, Windows text rendering and a slightly longer label (35px over
   the 813px). PATCH-6007's 4px before Request access made the row 817px in
   Chromium, leaving 31px. A new link or label moves it: re-measure the row
   (README, "Adding a nav link"). */
@container site-header (max-width: 847px) {
  .site-links > .site-link { display: none; }
  /* PATCH-6044 (Cat's spec, 2026-11-04): the brand and Request access are
     44px-high tap targets, as the Menu button is, with the 26px artwork and
     the 14px label unchanged. The nav gives back 2px of its padding top and
     bottom, so the header stays 58px tall. The 4px margin and the row's 4px
     gap put 8px between Menu and Request access. With text at 200% the row
     cannot fit: it wraps, Request access under the brand, rather than
     pushing the page sideways, and only then is the header taller. */
  .site-header .site-nav { flex-wrap: wrap; padding-block: 6px; }
  .site-header .site-brand { min-height: 44px; }
  .site-header .site-cta { display: flex; align-items: center; min-height: 44px; margin-left: 4px; }
  @supports selector(:popover-open) {
    .site-menu-button {
      display: block; min-width: 44px; min-height: 44px; margin: -2px 0; padding-inline: 8px;
      border: 0; background: none; font-family: inherit; cursor: pointer;
    }
    .site-menu:popover-open { display: flex; opacity: 1; translate: none; transition-duration: var(--chrome-motion-surface); }
    @starting-style { .site-menu:popover-open { opacity: 0; translate: 0 -8px; } }
    .site-menu .site-link { display: flex; align-items: center; min-height: 44px; font-size: 16px; }
    .site-menu:popover-open { max-height: calc(100dvh - var(--chrome-header-h)); overflow-y: auto; }
    .site-menu-group { display: flex; flex-direction: column; align-items: flex-start; }
    .site-menu-heading {
      padding: 12px 11px 4px; font-size: 12px; font-weight: 600; color: var(--chrome-text-muted);
      text-transform: uppercase; letter-spacing: 0.06em;
    }
    .site-menu-group .site-link { padding-left: 23px; }
    .site-menu-group .site-link[aria-current]::after { left: 23px; }
  }
}
/* PATCH-4501: the phone header (brand, Menu, Request access) needs 317px of
   header width, so a 320px window with a classic scroll bar (15 or 17px) left
   it 303-305px and Request access wrapped onto a second line. Under 340px it
   gives back 17px, all of it inside the row: the Menu button's side padding
   (its 44px minimum stays the tap target), Request access's side padding and
   the brand's gap. The nav's own padding is the page content's edge
   (PATCH-3827), so it stays. PATCH-6044's 4px between Menu and Request
   access comes out of Request access's side padding here (11px to 9px), so
   the row needs the same 298-299px it did. */
@container site-header (max-width: 339px) {
  .site-header .site-brand { gap: 6px; }
  .site-menu-button { padding-inline: 4px; }
  .site-header .site-cta { padding-inline: 9px; }
}
/* A browser without container queries has no popover either, so it gets the
   phone header without the Menu, as before: the links in the footer only. */
@supports not (container-type: inline-size) {
  @media (max-width: 847px) {
    .site-links > .site-link { display: none; }
    .site-header .site-cta { margin-left: 0; }
  }
}

/* ---- Body links ----------------------------------------------------------- */

/* PATCH-7273 (Cat's B1, 2026-11-20): a link inside running text is the accent
   text, underlined at rest. Colour alone is not enough there: the accent sits
   at 1.07:1 against the body grey, and WCAG 1.4.1 (F73) asks 3:1 of a link
   told apart by colour only, which no accent can reach against that grey. A
   phone has no hover, so the underline is not left to it.
   The containers are named, one per page type, rather than every link in a
   <main>, so the header, footer, rail, cards, buttons, back links, bylines and
   film list keep their own styles (each of those links carries a class, or
   sits in none of these). Left out on purpose: the home hero's caption link
   (PATCH-7267's REVIEWED_NARROW_HERO_RULES) and the legal pages, whose
   legal.css is PATCH-7435's. Each item is at least (0,3,1), so it outranks
   each page sheet's bare `a` and `.x a` rules wherever site-chrome.css is
   linked. The list is spelled out rather than one :where(), which the tests'
   generous selector read (test/css-rules.mjs) would take to reach anything. */
.sec-note a:any-link:not([class]),
#why a:any-link:not([class]),
.card > .sub a:any-link:not([class]),
.card > .note a:any-link:not([class]),
.card > .done a:any-link:not([class]),
.feature-body a:any-link:not([class]),
.about a:any-link:not([class]),
.case .needs a:any-link:not([class]),
.case-features a:any-link:not([class]),
.case-film figcaption a:any-link:not([class]),
.step-body a:any-link:not([class]),
.prose a:any-link:not([class]),
.sources a:any-link:not([class]),
.watch-access a:any-link:not([class]) {
  color: var(--chrome-accent-text);
  text-decoration-line: underline; text-decoration-thickness: 1px; text-underline-offset: 3px;
}
.sec-note a:any-link:not([class]):is(:hover, :focus-visible),
#why a:any-link:not([class]):is(:hover, :focus-visible),
.card > .sub a:any-link:not([class]):is(:hover, :focus-visible),
.card > .note a:any-link:not([class]):is(:hover, :focus-visible),
.card > .done a:any-link:not([class]):is(:hover, :focus-visible),
.feature-body a:any-link:not([class]):is(:hover, :focus-visible),
.about a:any-link:not([class]):is(:hover, :focus-visible),
.case .needs a:any-link:not([class]):is(:hover, :focus-visible),
.case-features a:any-link:not([class]):is(:hover, :focus-visible),
.case-film figcaption a:any-link:not([class]):is(:hover, :focus-visible),
.step-body a:any-link:not([class]):is(:hover, :focus-visible),
.prose a:any-link:not([class]):is(:hover, :focus-visible),
.sources a:any-link:not([class]):is(:hover, :focus-visible),
.watch-access a:any-link:not([class]):is(:hover, :focus-visible) {
  text-decoration-thickness: 2px;
}

/* ---- Footer --------------------------------------------------------------- */

.site-footer {
  width: 100%; margin: 24px 0 0; padding: 0;
  border-top: 1px solid var(--chrome-border-soft); background: var(--chrome-bg-rail);
}
/* PATCH-3833: the tracks are counted, never auto-fit. The grid used to be
   repeat(auto-fit, minmax(150px, 1fr)) with the about block spanning 1 / -1.
   auto-fit collapses only EMPTY tracks, and a full-span item sits in every
   one of them, so a wide window kept six tracks open and the three link
   columns filled the left half. Now the tracks are exactly what there is to
   put in them:
     1180px and up   the about block, then every link column, on one row
     640 to 1179px   the about block on a row of its own, the columns evenly under it
     under 640px     the same, two columns to a row */
.site-footer-grid {
  max-width: var(--chrome-width); margin: 0 auto; padding: 48px 24px 36px;
  display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(var(--chrome-footer-columns), minmax(0, 1fr)); gap: 32px;
}
.site-footer-about { max-width: 280px; }
@media (max-width: 1179px) {
  .site-footer-grid { grid-template-columns: repeat(var(--chrome-footer-columns), minmax(0, 1fr)); }
  .site-footer-about { grid-column: 1 / -1; }
}
@media (max-width: 639px) {
  .site-footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.site-footer-about .site-brand { margin-bottom: 12px; }
.site-footer-about p { margin: 0; padding: 0; font-size: 13px; line-height: 1.6; color: var(--chrome-text-muted); }
.site-footer-heading {
  margin: 0 0 12px; font-size: 12px; font-weight: 600; color: var(--chrome-text-muted);
  text-transform: uppercase; letter-spacing: 0.06em;
}
/* PATCH-6044 (Cat's spec, 2026-11-04): each link is a 44px-high target the
   width of its column, and the targets themselves space the list, so it has
   no gap. Under 640px the links are 16px / 1.5, in the two columns above.
   A label longer than its column (text at 200%) breaks inside it. */
.site-footer-list { display: flex; flex-direction: column; align-items: stretch; gap: 0; font-size: 14px; }
.site-footer-list a, .site-footer-list span { display: flex; align-items: center; min-height: 44px; overflow-wrap: anywhere; }
.site-footer-list a { color: var(--chrome-text-secondary); }
@media (max-width: 639px) {
  .site-footer-list { font-size: 16px; line-height: 1.5; }
}
.site-footer-list a:is(:hover, :focus-visible) { color: var(--chrome-text); }
/* Not published yet: muted text, never a link that goes nowhere (PATCH-1101).
   Muted, not faint: faint text is below AA on the page (PATCH-4142). */
.site-footer-list span { color: var(--chrome-text-muted); }
/* PATCH-6044: the base's links are 44px targets at their 13px type, so its
   padding gives back 12px top and bottom and the row keeps its height. */
.site-footer-base {
  max-width: var(--chrome-width); margin: 0 auto; padding: 10px 24px 24px;
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: center;
  border-top: 1px solid var(--chrome-border-soft);
  font-size: 13px; color: var(--chrome-text-muted);
}
/* Its 5px side padding, given back by the margin, widens each link to a
   44px target (Terms is 36px of text) without moving a letter. */
.site-footer-base a { display: inline-flex; align-items: center; min-height: 44px; padding-inline: 5px; margin-inline: -5px; color: var(--chrome-text-muted); }
.site-footer-base a:is(:hover, :focus-visible) { color: var(--chrome-text-secondary); }
.site-footer-base .site-footer-tagline { font-size: 12px; font-family: var(--chrome-font-mono); }

/* ---- PATCH-7272: the shared parts (design review M2, M3) ------------------- */

/* The primary button: the home hero's, 13px by 22px and 52px tall, no icon, on
   every page (M2). min-height holds the 52px whatever line-height a page's body
   sets; the quiet one gives its 1px border back from the same 52px. The header's
   own Request access (.site-cta) keeps its smaller chrome size. */
.button {
  box-sizing: border-box; display: inline-flex; align-items: center; gap: 9px; min-height: 52px; margin: 0; padding: 13px 22px;
  border: 0; border-radius: var(--chrome-r-md); background: var(--chrome-accent); color: var(--chrome-on-accent); box-shadow: var(--chrome-shadow-md);
  font-family: var(--chrome-font-ui); font-size: 16px; font-weight: 600; line-height: 1.5; text-decoration: none; white-space: nowrap; cursor: pointer;
}
.button:is(:hover, :focus-visible) { background: var(--chrome-accent-hover); color: var(--chrome-on-accent); text-decoration: none; }
.button.quiet {
  gap: 8px; border: 1px solid var(--chrome-border-strong); background: transparent; color: var(--chrome-text); box-shadow: none;
  font-weight: 500; white-space: normal;
}
.button.quiet:is(:hover, :focus-visible) { background: var(--chrome-hover); color: var(--chrome-text); }

/* A film card's play glyph (M3): the inline player's Play disc (PATCH-6700,
   video-player.css's, at its phone size), centred over the poster
   by its margins, so a hover's scale grows it in place. Its poster box is the
   positioned one. The length badge sits in the poster's bottom-right corner. */
.film-play {
  position: absolute; inset: 0; display: grid; place-items: center; width: 64px; height: 64px; margin: auto;
  border-radius: 50%; background: var(--chrome-disc); color: var(--chrome-on-disc); pointer-events: none;
  transition: background-color var(--chrome-motion-fast) var(--chrome-ease-out-soft), scale var(--chrome-motion-slow) var(--chrome-ease-out-soft);
}
.film-play svg { display: block; width: 24px; height: 24px; margin-left: 4px; fill: currentColor; }
a:is(:hover, :focus-visible) .film-play { background: var(--chrome-disc-hover); }
a:focus-visible .film-play { scale: 1.06; }
@media (hover: hover) { a:hover .film-play { scale: 1.06; } }
.film-duration {
  position: absolute; right: 10px; bottom: 10px; padding: 3px 8px;
  border: 1px solid var(--chrome-border-soft); border-radius: var(--chrome-r-sm); background: var(--chrome-bg-raised);
  font-family: var(--chrome-font-mono); font-size: 12px; font-weight: 400; line-height: 1.5; color: var(--chrome-text-secondary);
  transition: color var(--chrome-motion-fast) var(--chrome-ease-out-soft);
}
a:is(:hover, :focus-visible) .film-duration { color: var(--chrome-accent-text); }
/* The badge's length in words (owner 2026-11-19, patch-cove:film-duration-format;
   Saul, docs/marketing-claim-audit.md §0.72 DF1): off screen but in the
   accessibility tree, so a screen reader hears "34 seconds" where the eye
   reads the aria-hidden "0:34". */
.film-duration-words {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; border: 0;
  overflow: hidden; clip-path: inset(50%); white-space: nowrap;
}
