/* cafe_edits 2026-10-16: tokens.css and app.css merged into this one file (one blocking request after type-system.css).
   The tokens section below is the old tokens.css; edit tokens here. */
/* hr.cafe — tokens.css
   The ONLY authored file allowed to hold raw visual values (uiuxaudit Part 11.4).
   Tiers: primitives (--{scale}-{step}) → semantic (--color-*, --space-*, --text-*) → component (--nav-height…). */
@layer reset, tokens, base, layout, components, utilities;

/* Fonts: Inter and its metric fallback are declared once, in the shared type-system.css (DS-07). */

@layer tokens {
  :root {
    color-scheme: light;

    /* ---------- Primitives: warm neutral ramp (hue 75 = paper/roast) ---------- */
    --paper-h: 75;
    --neutral-0: oklch(99.2% 0.006 var(--paper-h));
    --neutral-1: oklch(98.2% 0.009 var(--paper-h));
    --neutral-2: oklch(96.4% 0.012 var(--paper-h));
    --neutral-3: oklch(93.6% 0.014 var(--paper-h));
    --neutral-4: oklch(90.2% 0.015 var(--paper-h));
    --neutral-5: oklch(85.5% 0.016 var(--paper-h));
    --neutral-6: oklch(78% 0.017 var(--paper-h));
    --neutral-7: oklch(64% 0.018 var(--paper-h));   /* input borders ≥3:1 on neutral-1 */
    --neutral-8: oklch(52% 0.018 var(--paper-h));   /* subtle text ≥4.5:1 on neutral-1 */
    --neutral-9: oklch(43% 0.018 var(--paper-h));   /* muted text */
    --neutral-10: oklch(31% 0.017 var(--paper-h));
    --neutral-11: oklch(22% 0.015 var(--paper-h));  /* primary ink */
    --neutral-12: oklch(16% 0.012 var(--paper-h));

    /* Dark ramp (roast) */
    --roast-0: oklch(15.5% 0.010 var(--paper-h));
    --roast-1: oklch(18.5% 0.012 var(--paper-h));
    --roast-2: oklch(21.5% 0.013 var(--paper-h));
    --roast-3: oklch(25% 0.014 var(--paper-h));
    --roast-4: oklch(30% 0.015 var(--paper-h));
    --roast-5: oklch(38% 0.016 var(--paper-h));
    --roast-6: oklch(55% 0.016 var(--paper-h));
    --roast-7: oklch(72% 0.015 var(--paper-h));
    --roast-8: oklch(84% 0.012 var(--paper-h));
    --roast-9: oklch(94% 0.010 var(--paper-h));

    /* Accent: "awning green" (hue 160) — the single action color */
    --green-2: oklch(96% 0.025 160);
    --green-3: oklch(92.5% 0.045 160);
    --green-7: oklch(72% 0.10 160);
    --green-8: oklch(62% 0.11 160);
    --green-9: oklch(44% 0.095 160);   /* white text ≥ 4.5:1 */
    --green-10: oklch(38% 0.085 160);
    --green-11: oklch(33% 0.07 160);

    /* Crema highlight (decorative only, never text-bearing on its own) */
    --crema-3: oklch(93% 0.05 80);
    --crema-6: oklch(84% 0.10 75);
    --crema-8: oklch(72% 0.13 65);

    /* Format tints: categorical, always paired with a text label */
    --clay-3: oklch(93% 0.035 40);  --clay-9: oklch(50% 0.13 40);   --clay-11: oklch(40% 0.11 40);
    --ink-3: oklch(93% 0.03 255);   --ink-9: oklch(48% 0.12 255);   --ink-11: oklch(38% 0.10 255);
    --moss-3: oklch(93% 0.04 135);  --moss-9: oklch(48% 0.10 135);  --moss-11: oklch(37% 0.08 135);

    --red-3: oklch(95% 0.03 25);  --red-9: oklch(53% 0.18 25);  --red-11: oklch(42% 0.15 25);
    --amber-3: oklch(95% 0.05 85); --amber-11: oklch(43% 0.09 70);

    /* Space: --space-1..10 come from type-system.css */
    --space-0: 0;

    /* Type scale: legacy numbered aliases of the type-system ladder roles */
    --font-size-00: var(--font-size-caption);
    --font-size-0: var(--font-size-caption);
    --font-size-1: var(--font-size-small);
    --font-size-2: var(--font-size-body);
    --font-size-3: var(--font-size-lead);
    --font-size-4: var(--font-size-sub);
    --font-size-5: var(--font-size-heading);
    --font-size-6: var(--font-size-title);
    --font-size-7: var(--font-size-title);
    --font-size-8: var(--font-size-display);

    --radius-1: 6px;
    --radius-2: 8px;
    --radius-3: 12px;
    --radius-4: 16px;
    --radius-5: 24px;
    --radius-round: 9999px;

    --duration-1: 120ms;
    --duration-2: 200ms;
    --duration-3: 300ms;
    --duration-4: 600ms;
    --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
    --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);

    --blur-1: 14px;

    /* ---------- Semantic: typography ---------- */
    /* Family, weights, leading/tracking roles and --measure come from type-system.css.
       --text-* are legacy aliases of ladder roles (--text-read uses Subheading, ADR-DS03). */
    --font-display: var(--font-sans);
    --font-read: var(--font-sans);
    --font-symbol: var(--font-sans);

    --text-2xs: var(--font-size-caption);
    --text-xs: var(--font-size-caption);
    --text-sm: var(--font-size-small);
    --text-base: var(--font-size-body);
    --text-md: var(--font-size-lead);
    --text-lg: var(--font-size-sub);
    --text-xl: var(--font-size-heading);
    --text-read: var(--font-size-sub);
    --text-h3: var(--font-size-sub);
    --text-h2: var(--font-size-heading);
    --text-h1: var(--font-size-display);
    --text-display: var(--font-size-display);

    --leading-tight: 1.02;
    --leading-snug: 1.18;
    --leading-read: var(--leading-body);
    --tracking-tight: -0.012em;
    --measure-read: 68ch;

    /* ---------- Semantic: color (light) ---------- */
    --color-bg: var(--neutral-1);
    --color-bg-subtle: var(--neutral-2);
    --color-surface: var(--neutral-0);
    --color-surface-2: var(--neutral-3);
    --color-surface-inverse: var(--neutral-11);
    --color-border: color-mix(in oklch, var(--neutral-11) 12%, transparent);
    --color-border-strong: var(--neutral-7);
    --color-text: var(--neutral-11);
    --color-text-muted: var(--neutral-9);
    --color-text-subtle: var(--neutral-9); /* ux audit 2026-10-15: subtle text is mostly 12–14px here, so it must hold the 7:1 floor (font_best Part 3) */
    --color-text-inverse: var(--neutral-1);
    --color-accent: var(--green-9);
    --color-accent-hover: var(--green-10);
    --color-accent-text: var(--green-10);
    --color-accent-subtle: var(--green-2);
    --color-on-accent: var(--neutral-0);
    --color-highlight: var(--crema-6);
    --color-highlight-subtle: var(--crema-3);
    --color-focus: var(--green-9);
    --color-link: var(--color-accent-text);
    --hr-accent: var(--color-accent);
    --color-danger: var(--red-11);
    --color-danger-text: var(--color-danger);
    --color-danger-bg: var(--red-3);
    --color-warning-bg: var(--amber-3);
    --color-warning-text: var(--amber-11);
    --color-success-bg: var(--green-2);
    --color-success-text: var(--green-11);
    --color-nav-bg: color-mix(in oklch, var(--neutral-1) 86%, transparent);
    --color-overlay: color-mix(in oklch, var(--neutral-12) 55%, transparent);

    --color-format-field-bg: var(--moss-3);
    --color-format-field: var(--moss-11);
    --color-format-turning-bg: var(--clay-3);
    --color-format-turning: var(--clay-11);
    --color-format-tried-bg: var(--ink-3);
    --color-format-tried: var(--ink-11);

    --glow-a: color-mix(in oklch, var(--crema-6) 45%, transparent);

    /* The counter (hero): light, on paper, like the rest of the site (light theme only, 2026-10-15). */
    --counter-bg: var(--color-bg-subtle);
    --counter-ink: var(--color-text);
    --counter-muted: var(--color-text-subtle); /* cafe_edits 2026-10-16: hero meta text holds 7:1 */
    --counter-rule: color-mix(in oklch, var(--color-text) 14%, transparent);
    --counter-glow: color-mix(in oklch, var(--crema-8) 22%, transparent);
    --counter-steam: color-mix(in oklch, var(--green-7) 16%, transparent);
    --counter-ghost-bg: color-mix(in oklch, var(--color-text) 6%, transparent);
    --counter-ghost-hover: color-mix(in oklch, var(--color-text) 12%, transparent);
    --counter-accent: var(--color-accent);
    --text-counter: var(--font-size-display);

    /* The break-room board (home hero signature, 2026-10-16): a pinboard of paper notes. */
    --board-bg: oklch(95.2% 0.016 75);
    --board-dot: color-mix(in oklch, var(--neutral-11) 9%, transparent);
    --board-edge: color-mix(in oklch, var(--neutral-11) 10%, transparent);
    --note-card: var(--neutral-0);
    --note-rule: color-mix(in oklch, var(--ink-9) 16%, transparent);
    --note-margin: color-mix(in oklch, var(--clay-9) 45%, transparent);
    --note-yellow: oklch(95.5% 0.055 92);
    --note-green: var(--green-2);
    --note-pink: oklch(95% 0.03 35);
    --note-pin: var(--clay-9);
    --note-pin-2: var(--green-9);
    --note-ring: var(--crema-8);
    --note-shadow: 0 1px 1px color-mix(in oklch, var(--neutral-12) 10%, transparent), 0 10px 22px -12px color-mix(in oklch, var(--neutral-12) 32%, transparent);
    --note-shadow-lift: 0 2px 2px color-mix(in oklch, var(--neutral-12) 10%, transparent), 0 22px 36px -16px color-mix(in oklch, var(--neutral-12) 36%, transparent);
    --tilt-1: -1.6deg; --tilt-2: 1.2deg; --tilt-3: 1.8deg; --tilt-4: -1deg;

    /* ---------- Semantic: space, radius, shadow, motion ---------- */
    --hr-space-section: clamp(4rem, 8vw, 7rem);
    --stack-xs: var(--space-2);
    --stack-sm: var(--space-3);
    --stack-md: var(--space-5);
    --stack-lg: var(--space-7);

    --radius-control: var(--radius-2);
    --radius-card: var(--radius-4);
    --radius-panel: var(--radius-5);
    --radius-pill: var(--radius-round);

    --shadow-hairline: 0 0 0 1px var(--color-border);
    --shadow-hairline-strong: 0 0 0 1px var(--color-border-strong);
    --shadow-lift: 0 1px 0 0 var(--color-border), 0 12px 32px -12px color-mix(in oklch, var(--neutral-12) 22%, transparent);
    --shadow-overlay: 0 24px 64px -16px color-mix(in oklch, var(--neutral-12) 40%, transparent);
    --shadow-issue: var(--shadow-hairline), 0 24px 48px -32px color-mix(in oklch, var(--neutral-12) 28%, transparent);
    --mask-opaque: oklch(0% 0 0);
    --mask-scroll-right: linear-gradient(to right, var(--mask-opaque) calc(100% - var(--space-6)), transparent);
    --focus-ring: 0 0 0 2px var(--color-bg), 0 0 0 4px var(--color-focus);
    --print-bg: #fff;
    --print-ink: #000;

    --motion-fast: var(--duration-1);
    --motion-base: var(--duration-2);
    --motion-slow: var(--duration-3);
    --motion-reveal: var(--duration-4);
    --motion-distance: 14px;

    /* ---------- Component tokens ---------- */
    --nav-height: 64px;
    --control-height: 44px;
    --control-height-lg: 52px;
    --container-max: 1280px;
    --container-read: 44rem;
    --hairline: 1px;
    --rule-heavy: 2px;
    --avatar-sm: 2.5rem;
    --avatar-md: 3.5rem;
    --avatar-lg: 6rem;

    --z-base: 1;
    --z-sticky: 50;
    --z-overlay: 90;
    --z-modal: 100;
    --z-toast: 110;

    --safe-top: env(safe-area-inset-top, 0px);
    --safe-bottom: env(safe-area-inset-bottom, 0px);
    --safe-left: env(safe-area-inset-left, 0px);
    --safe-right: env(safe-area-inset-right, 0px);
  }

  @media (prefers-reduced-motion: reduce) {
    :root {
      --motion-distance: 0px;
      --motion-reveal: var(--duration-2);
    }
  }
  @media (max-width: 40rem) {
    :root { --nav-height: 58px; }
  }
}

/* hr.cafe — app.css. Consumes semantic/component tokens only (see tokens.css). */

/* =========================== RESET =========================== */
@layer reset {
  *, *::before, *::after { box-sizing: border-box; }
  html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
  body, h1, h2, h3, h4, p, figure, blockquote, dl, dd, ul, ol { margin: 0; }
  ul[role="list"], ol[role="list"] { list-style: none; padding: 0; }
  img, svg, video { display: block; max-width: 100%; height: auto; }
  input, button, textarea, select { font: inherit; color: inherit; }
  button { cursor: pointer; }
  :where(a) { color: inherit; }
  [hidden] { display: none !important; }
}

/* =========================== BASE =========================== */
@layer base {
  html {
    scroll-padding-top: calc(var(--nav-height) + var(--space-4));
    background: var(--color-bg);
  }
  @media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
  body {
    min-height: 100dvh;
    background: var(--color-bg);
    color: var(--color-text);
    font-family: var(--font-sans);
    font-size: var(--text-base);
    line-height: var(--leading-body, 1.55);
    font-feature-settings: "cv11", "ss01";
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    display: flex;
    flex-direction: column;
  }
  main { flex: 1 0 auto; }
  h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: var(--weight-regular);
    line-height: var(--leading-snug);
    letter-spacing: var(--tracking-tight);
    text-wrap: balance;
    font-optical-sizing: auto;
  }
  h1 { font-size: var(--text-h1); line-height: var(--leading-display, 1.05); letter-spacing: var(--tracking-display, -0.02em);font-weight:var(--weight-semibold, 600); }
  h2 { font-size: var(--text-h2); line-height: var(--leading-heading, 1.2); letter-spacing: var(--tracking-heading, -0.01em); }
  h3 { font-size: var(--text-h3);line-height:var(--leading-sub, 1.3); }
  p { text-wrap: pretty; }
  a { text-decoration-thickness: var(--hairline); text-underline-offset: 0.18em; }
  a:hover { text-decoration-color: var(--color-accent); }
  ::selection { background: var(--color-highlight); color: var(--neutral-12); }
  :focus-visible { outline: 2px solid transparent; box-shadow: var(--focus-ring); border-radius: var(--radius-1); }
  hr { border: 0; border-top: var(--hairline) solid var(--color-border); margin-block: var(--space-6); }
  kbd {
    font-family: var(--font-sans);
    font-size: var(--text-xs);
    padding: 0 var(--space-1);
    border-radius: var(--radius-1);
    box-shadow: var(--shadow-hairline);
    color: var(--color-text-muted);
    background: var(--color-surface);
  }
  code { font-family: var(--font-mono); font-size: 0.9em; }
  abbr[title] { text-decoration: underline dotted; }
}

/* =========================== LAYOUT =========================== */
@layer layout {
  .container {
    width: min(100% - 2 * var(--gutter), var(--container-max));
    margin-inline: auto;
  }
  .container--read { width: min(100% - 2 * var(--gutter), var(--container-read)); margin-inline: auto; }
  .section { padding-block: var(--hr-space-section); }
  .section--tint { background: var(--color-bg-subtle); }
  .section + .section--flush { padding-top: 0; }
  .stack > * + * { margin-top: var(--stack-sm); }
  .stack-md > * + * { margin-top: var(--stack-md); }
  .grid { display: grid; gap: var(--space-5); grid-template-columns: minmax(0, 1fr); }
  .grid > * { min-width: 0; }
  @media (min-width: 40rem) {
    .grid--2, .grid--3, .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  }
  @media (min-width: 64rem) {
    .grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  }
  .split {
    display: grid;
    gap: var(--space-7);
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
  }
  @media (min-width: 64rem) {
    .split { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
    .split--reverse { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
    .split--aside { grid-template-columns: minmax(0, 1fr) 20rem; }
  }
  .split > * { min-width: 0; }
  .sticky-col { position: sticky; top: calc(var(--nav-height) + var(--space-5)); }
}

/* =========================== COMPONENTS =========================== */
@layer components {

  /* ----- Skip link ----- */
  .skip-link {
    position: absolute; left: var(--space-4); top: var(--space-2);
    transform: translateY(-160%);
    z-index: var(--z-toast);
    background: var(--color-surface-inverse); color: var(--color-text-inverse);
    padding: var(--space-2) var(--space-4); border-radius: var(--radius-control);
    transition: transform var(--motion-fast) var(--ease-out);
  }
  .skip-link:focus { transform: translateY(0); }
  .visually-hidden {
    position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
  }

  /* ----- Header / nav ----- */
  .site-header {
    position: sticky; top: 0; z-index: var(--z-sticky);
    background: var(--color-nav-bg);
    box-shadow: 0 var(--hairline) 0 0 var(--color-border);
    padding-top: var(--safe-top);
  }
  @supports (backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px)) {
    .site-header { -webkit-backdrop-filter: saturate(1.4) blur(var(--blur-1)); backdrop-filter: saturate(1.4) blur(var(--blur-1)); }
  }
  @media (prefers-reduced-transparency: reduce) { .site-header { background: var(--color-bg); } }
  .nav {
    height: var(--nav-height);
    display: flex; align-items: center; gap: var(--space-4);
    padding-inline: max(0px, var(--safe-left)) max(0px, var(--safe-right));
  }
  .brand {
    display: inline-flex; align-items: center; gap: var(--space-2);
    text-decoration: none; font-family: var(--font-display);
    font-size: var(--text-lg); letter-spacing: 0;
    font-weight: var(--weight-medium, 500);
    min-height: var(--control-height);
    margin-right: auto;line-height:var(--leading-sub, 1.3);
  }
  .brand__mark { width: 30px; height: 30px; color: var(--color-accent); flex: none; }
  .brand__dot { color: var(--color-accent-text); }
  .primary-nav ul { display: flex; gap: var(--space-1); list-style: none; padding: 0; margin: 0; }
  .primary-nav a {
    display: inline-flex; align-items: center; min-height: var(--control-height);
    padding-inline: var(--space-3); border-radius: var(--radius-control);
    text-decoration: none; font-size: var(--text-sm); font-weight: var(--weight-medium, 500);
    color: var(--color-text-muted);
    transition: color var(--motion-fast) var(--ease-out), background-color var(--motion-fast) var(--ease-out);
  }
  .primary-nav a:hover { color: var(--color-text); background: var(--color-surface-2); }
  .primary-nav a[aria-current="page"] { color: var(--color-text); box-shadow: inset 0 calc(-1 * var(--rule-heavy)) 0 0 var(--color-accent); border-radius: 0; }
  .nav-actions { display: flex; align-items: center; gap: var(--space-2); }
  .icon-btn {
    display: inline-grid; place-items: center;
    width: var(--control-height); height: var(--control-height);
    border: 0; border-radius: var(--radius-pill); background: transparent; color: var(--color-text-muted);
    transition: background-color var(--motion-fast) var(--ease-out), color var(--motion-fast) var(--ease-out);
  }
  .icon-btn:hover { background: var(--color-surface-2); color: var(--color-text); }
  .icon-btn svg { width: 20px; height: 20px; }
  .menu-btn { display: none; }
  @media (max-width: 22rem) { .nav { gap: var(--space-1); } .nav-actions { gap: 0; } .brand { font-size: var(--text-md); } }
  @media (max-width: 60rem) {
    .primary-nav { display: none; }
    .menu-btn { display: inline-grid; }
    .nav .btn--nav { display: none; }
  }

  /* Mobile menu sheet (native dialog) */
  .sheet {
    margin: 0 0 0 auto; height: 100dvh; max-height: 100dvh;
    width: min(24rem, 100%); max-width: 100%;
    border: 0; padding: calc(var(--space-5) + var(--safe-top)) var(--space-5) calc(var(--space-5) + var(--safe-bottom));
    background: var(--color-bg); color: var(--color-text);
    box-shadow: var(--shadow-overlay);
  }
  .sheet::backdrop { background: var(--color-overlay); }
  .sheet[open] { animation: sheet-in var(--motion-slow) var(--ease-out); }
  @keyframes sheet-in { from { transform: translateX(8%); opacity: 0; } }
  .sheet__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: var(--space-6); }
  .sheet nav ul { list-style: none; padding: 0; display: grid; gap: var(--space-1); }
  .sheet nav a {
    display: flex; align-items: center; min-height: 52px; text-decoration: none;
    font-family: var(--font-display); font-size: var(--text-xl);
    border-bottom: var(--hairline) solid var(--color-border);line-height:var(--leading-heading, 1.2);letter-spacing:var(--tracking-heading, -0.01em);
  }
  .sheet .btn { width: 100%; margin-top: var(--space-6); }

  /* ----- Buttons ----- */
  .btn {
    display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2);
    min-height: var(--control-height); padding: var(--space-2) var(--space-5);
    border: 0; border-radius: var(--radius-pill);
    font-family: var(--font-sans); font-size: var(--text-sm); font-weight: var(--weight-medium, 500);
    text-decoration: none; text-align: center;
    transition: background-color var(--motion-fast) var(--ease-out), color var(--motion-fast) var(--ease-out), transform var(--motion-fast) var(--ease-out), box-shadow var(--motion-fast) var(--ease-out);
  }
  .btn svg { width: 18px; height: 18px; flex: none; }
  .btn--primary { background: var(--color-accent); color: var(--color-on-accent); }
  .btn--primary:hover { background: var(--color-accent-hover); }
  .btn--secondary { background: transparent; color: var(--color-text); box-shadow: var(--shadow-hairline-strong); }
  .btn--secondary:hover { background: var(--color-surface-2); }
  .btn--ghost { background: transparent; color: var(--color-text-muted); padding-inline: var(--space-3); }
  .btn--ghost:hover { color: var(--color-text); background: var(--color-surface-2); }
  .btn--lg { min-height: var(--control-height-lg); padding-inline: var(--space-6); font-size: var(--text-base); }
  .btn--nav { min-height: 40px; white-space: nowrap; }
  .btn:active { transform: scale(0.98); }
  .btn[aria-pressed="true"] { background: var(--color-accent-subtle); color: var(--color-accent-text); box-shadow: inset 0 0 0 var(--hairline) var(--color-accent); }
  .btn[disabled], .btn[aria-busy="true"] { opacity: 0.6; cursor: progress; }
  .text-link {
    color: var(--color-accent-text); font-weight: var(--weight-medium, 500); font-size: var(--text-sm);
    text-decoration: none; display: inline-flex; align-items: center; gap: var(--space-1);
    min-height: var(--control-height);
  }
  .text-link:hover { text-decoration: underline; }
  .text-link .arrow { transition: transform var(--motion-fast) var(--ease-out); }
  .text-link:hover .arrow { transform: translateX(3px); }

  /* ----- Eyebrow, badges, chips ----- */
  .eyebrow {
    display: inline-flex; align-items: center; gap: var(--space-2);
    font-size: var(--text-xs); font-weight: var(--weight-medium, 500);
    letter-spacing: var(--tracking-caps, 0.06em); text-transform: uppercase;
    color: var(--color-text-muted);
  }
  .badge {
    display: inline-flex; align-items: center; gap: var(--space-1);
    padding: 2px var(--space-2); border-radius: var(--radius-pill);
    font-size: var(--text-xs); font-weight: var(--weight-medium, 500); line-height: var(--leading-caption, 1.45);
    background: var(--color-surface-2); color: var(--color-text-muted);
  }
  .badge--field { background: var(--color-format-field-bg); color: var(--color-format-field); }
  .badge--turning { background: var(--color-format-turning-bg); color: var(--color-format-turning); }
  .badge--tried { background: var(--color-format-tried-bg); color: var(--color-format-tried); }
  .badge--illustrative { background: var(--color-warning-bg); color: var(--color-warning-text); }
  .badge--illustrative::before { content: ""; width: 6px; height: 6px; border-radius: var(--radius-round); background: currentColor; }
  .chips { display: flex; flex-wrap: wrap; gap: var(--space-2); }
  .chip {
    min-height: var(--control-height); padding-inline: var(--space-4);
    border: 0; border-radius: var(--radius-pill);
    background: var(--color-surface); box-shadow: var(--shadow-hairline);
    font-size: var(--text-sm); font-weight: var(--weight-medium, 500); color: var(--color-text-muted);
    text-decoration: none; display: inline-flex; align-items: center;
    transition: background-color var(--motion-fast) var(--ease-out);
  }
  .chip:hover { color: var(--color-text); background: var(--color-surface-2); }
  .chip[aria-pressed="true"], .chip[aria-current="true"] { background: var(--color-text); color: var(--color-bg); box-shadow: none; }

  /* ----- Notices ----- */
  .notice {
    display: flex; gap: var(--space-3); align-items: flex-start;
    padding: var(--space-4) var(--space-5); border-radius: var(--radius-card);
    background: var(--color-warning-bg); color: var(--color-text);
    font-size: var(--text-sm);
  }
  .notice svg { width: 20px; height: 20px; flex: none; margin-top: 2px; color: var(--color-warning-text); }
  .notice strong { color: var(--color-warning-text); }
  .notice--success { background: var(--color-success-bg); }
  .notice--success svg, .notice--success strong { color: var(--color-success-text); }
  .notice--danger { background: var(--color-danger-bg); }
  .notice--danger svg, .notice--danger strong { color: var(--color-danger); }
  .ribbon {
    background: var(--color-surface-inverse); color: var(--color-text-inverse);
    font-size: var(--text-xs); text-align: center; padding: var(--space-2) var(--gutter);
  }
  .ribbon a { color: inherit; font-weight: var(--weight-semibold); }

  /* ----- Hero ----- */
  .display {
    font-size: var(--text-display); line-height: var(--leading-display, 1.05); letter-spacing: var(--tracking-display, -0.02em);
    font-variation-settings: "SOFT" 50, "WONK" 0;
    margin-block: var(--space-5) var(--space-5);font-weight:var(--weight-semibold, 600);
  }
  .display em { font-style: normal; color: var(--color-accent-text); position: relative; white-space: nowrap; }
  .display em::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 0.08em; height: 0.12em;
    background: var(--color-highlight); z-index: -1; border-radius: var(--radius-pill);
    transform-origin: left; animation: underline-in 900ms var(--ease-out) 300ms both;
  }
  @keyframes underline-in { from { transform: scaleX(0); } }
  .lede { font-size: var(--font-size-lead, 1.125rem); color: var(--color-text-muted); max-width: 38rem; line-height: var(--leading-body, 1.55); }
  .cta-row { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-top: var(--space-6); }

  /* ----- Cover (typographic story art — no invented portraits) ----- */
  .cover {
    --cover-bg: var(--color-format-turning-bg);
    --cover-ink: var(--color-format-turning);
    position: relative; display: flex; flex-direction: column; justify-content: space-between;
    aspect-ratio: 4 / 5; padding: clamp(1.25rem, 3vw, 2rem);
    border-radius: var(--radius-panel);
    background:
      radial-gradient(120% 80% at 100% 0%, color-mix(in oklch, var(--cover-ink) 18%, transparent), transparent 60%),
      var(--cover-bg);
    color: var(--color-text); overflow: hidden; isolation: isolate;
    box-shadow: var(--shadow-hairline);
  }
  .cover[data-format="field-note"] { --cover-bg: var(--color-format-field-bg); --cover-ink: var(--color-format-field); }
  .cover[data-format="what-we-tried"] { --cover-bg: var(--color-format-tried-bg); --cover-ink: var(--color-format-tried); }
  .cover::after {
    content: "\201C"; position: absolute; right: -0.08em; bottom: -0.42em; z-index: -1;
    font-family: var(--font-display); font-size: var(--font-size-display, clamp(2.75rem, 2.4rem + 1.4vw, 3.75rem)); line-height: var(--leading-display, 1.05);
    color: color-mix(in oklch, var(--cover-ink) 16%, transparent);letter-spacing:var(--tracking-display, -0.02em);font-weight:var(--weight-semibold, 600);
  }

  /* ----- Avatar (monogram; hue passed as runtime data) ----- */
  .avatar {
    --avatar-size: var(--avatar-sm);
    width: var(--avatar-size); height: var(--avatar-size); flex: none;
    display: inline-grid; place-items: center; border-radius: var(--radius-round);
    font-family: var(--font-display); font-size: calc(var(--avatar-size) * 0.4); font-weight: var(--weight-medium);
    background: oklch(88% 0.05 var(--avatar-hue, 75));
    color: oklch(30% 0.07 var(--avatar-hue, 75));
    box-shadow: inset 0 0 0 1px oklch(30% 0.07 var(--avatar-hue, 75) / 0.12);
  }
  .avatar--md { --avatar-size: var(--avatar-md); }
  .avatar--lg { --avatar-size: var(--avatar-lg); }

  /* ----- Section head ----- */
  .section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: var(--space-4); margin-bottom: var(--space-7); }
  .section-head > div { max-width: 44rem; }
  .section-head h2 { margin-top: var(--space-3); }
  .section-head p { margin-top: var(--space-3); color: var(--color-text-muted); font-size: var(--text-md); }

  /* ----- Story card ----- */
  .story-card {
    position: relative; display: flex; flex-direction: column; gap: var(--space-3);
    padding: var(--space-5); border-radius: var(--radius-card);
    background: var(--color-surface); box-shadow: var(--shadow-hairline);
    transition: transform var(--motion-base) var(--ease-out), box-shadow var(--motion-base) var(--ease-out);
    container-type: inline-size;
  }
  @media (hover: hover) and (pointer: fine) {
    .story-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); }
  }
  .story-card:focus-within { box-shadow: var(--shadow-lift); }
  .story-card__meta { display: flex; flex-wrap: wrap; gap: var(--space-2); align-items: center; }
  .story-card :is(h2, h3) { font-size: var(--font-size-heading, 1.5rem); line-height: var(--leading-heading, 1.2);letter-spacing:var(--tracking-heading, -0.01em); }
  .story-card :is(h2, h3) a { text-decoration: none; }
  .story-card :is(h2, h3) a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
  .story-card :is(h2, h3) a:focus-visible { box-shadow: none; }
  .story-card :is(h2, h3) a:focus-visible::after { box-shadow: var(--focus-ring); }
  .story-card p { color: var(--color-text-muted); font-size: var(--text-sm); line-height: var(--leading-small, 1.5); }
  .story-card__foot { margin-top: auto; padding-top: var(--space-3); display: flex; align-items: center; gap: var(--space-3); border-top: var(--hairline) solid var(--color-border); }
  .byline { display: flex; align-items: center; gap: var(--space-3); min-width: 0; font-size: var(--text-sm); }
  .byline__text { min-width: 0; }
  .byline__name { font-weight: var(--weight-semibold); display: block; }
  .byline__role { color: var(--color-text-subtle); display: block; font-size: var(--text-xs); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .story-card__read { margin-left: auto; font-size: var(--text-xs); color: var(--color-text-subtle); white-space: nowrap; font-variant-numeric: tabular-nums; }
  .story-card--feature { padding: var(--space-6); }
  .story-card--feature :is(h2, h3) { font-size: var(--font-size-heading, 1.5rem);line-height:var(--leading-heading, 1.2);letter-spacing:var(--tracking-heading, -0.01em); }
  @container (min-width: 36rem) {
    .story-card--feature p { font-size: var(--text-base); }
  }

  /* Row list (latest) */

  /* ----- Format explainer (bento) ----- */

  /* ----- People ----- */
  .person-card {
    position: relative; display: flex; flex-direction: column; gap: var(--space-3);
    padding: var(--space-5); border-radius: var(--radius-card);
    background: var(--color-surface); box-shadow: var(--shadow-hairline);
    transition: transform var(--motion-base) var(--ease-out), box-shadow var(--motion-base) var(--ease-out);
  }
  @media (hover: hover) and (pointer: fine) { .person-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); } }
  .person-card :is(h2, h3) { font-size: var(--font-size-heading, 1.5rem);line-height:var(--leading-heading, 1.2);letter-spacing:var(--tracking-heading, -0.01em); }
  .person-card :is(h2, h3) a { text-decoration: none; }
  .person-card :is(h2, h3) a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
  .person-card__role { font-size: var(--text-sm); color: var(--color-text-muted); }
  .person-card__quote { font-family: var(--font-read); font-style: italic; font-size: var(--text-md); line-height: var(--leading-body, 1.55); color: var(--color-text); }
  .person-card__foot { margin-top: auto; font-size: var(--text-xs); color: var(--color-text-subtle); display: flex; gap: var(--space-2); flex-wrap: wrap; align-items: center; }

  /* ----- Topics ----- */
  .topic-card {
    position: relative; display: flex; flex-direction: column; gap: var(--space-3);
    padding: var(--space-6); border-radius: var(--radius-panel); min-height: 15rem;
    background: var(--color-surface); box-shadow: var(--shadow-hairline); overflow: hidden;
    text-decoration: none;
    transition: transform var(--motion-base) var(--ease-out), box-shadow var(--motion-base) var(--ease-out);
  }
  .topic-card::before {
    content: ""; position: absolute; width: 14rem; height: 14rem; right: -5rem; top: -5rem; border-radius: var(--radius-round);
    background: radial-gradient(closest-side, oklch(85% 0.08 var(--topic-hue, 160) / 0.55), transparent);
    transition: transform var(--motion-slow) var(--ease-out);
  }
  @media (hover: hover) and (pointer: fine) {
    .topic-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); }
    .topic-card:hover::before { transform: scale(1.25); }
  }
  .topic-card :is(h2, h3) { font-size: var(--text-xl); position: relative;line-height:var(--leading-heading, 1.2);letter-spacing:var(--tracking-heading, -0.01em); }
  .topic-card p { color: var(--color-text-muted); font-size: var(--text-sm); position: relative; }
  .topic-card__count { margin-top: auto; font-size: var(--text-xs); font-weight: var(--weight-medium, 500); color: var(--color-accent-text); position: relative; letter-spacing: var(--tracking-caps, 0.06em); text-transform: uppercase; }

  /* ----- Proof canvas: five answers → story ----- */
  .tabs { display: flex; gap: var(--space-1); padding: var(--space-3) var(--space-4) 0; overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none; }
  .tab {
    flex: none; min-height: var(--control-height); padding-inline: var(--space-4);
    border: 0; background: transparent; border-radius: var(--radius-control) var(--radius-control) 0 0;
    font-size: var(--text-sm); font-weight: var(--weight-medium, 500); color: var(--color-text-subtle);
    box-shadow: inset 0 calc(-1 * var(--rule-heavy)) 0 0 transparent;
    display: inline-flex; align-items: center; gap: var(--space-2);
  }
  .tab[aria-selected="true"] { color: var(--color-text); box-shadow: inset 0 calc(-1 * var(--rule-heavy)) 0 0 var(--color-accent); }
  @keyframes fade-up { from { opacity: 0; transform: translateY(var(--motion-distance)); } }
  .qa { display: grid; gap: var(--space-4); }
  .qa dt { font-size: var(--text-xs); font-weight: var(--weight-medium, 500); color: var(--color-text-subtle); letter-spacing: var(--tracking-caps, 0.06em); text-transform: uppercase; }
  .qa dd { margin: var(--space-1) 0 0; font-size: var(--text-sm); padding: var(--space-3) var(--space-4); background: var(--color-bg-subtle); border-radius: var(--radius-control); }
  .draft { font-family: var(--font-read); font-size: var(--text-md); line-height: var(--leading-body, 1.55); }
  .draft h4 { font-family: var(--font-display); font-size: var(--text-xl); margin-bottom: var(--space-3); line-height: var(--leading-heading, 1.2);letter-spacing:var(--tracking-heading, -0.01em); }
  .draft p + p { margin-top: var(--space-3); }
  .draft mark { background: var(--color-highlight-subtle); color: inherit; padding-inline: 2px; border-radius: 3px; box-shadow: inset 0 -2px 0 var(--color-highlight); }
  .checklist { list-style: none; padding: 0; display: grid; gap: var(--space-3); }
  .checklist li { display: flex; gap: var(--space-3); align-items: flex-start; font-size: var(--text-sm); }
  .checklist svg { width: 20px; height: 20px; flex: none; color: var(--color-accent-text); margin-top: 1px; }

  /* ----- Steps (how it works) ----- */
  .steps { list-style: none; padding: 0; counter-reset: step; display: grid; gap: var(--space-5); }
  .steps li { counter-increment: step; display: grid; grid-template-columns: 2.5rem minmax(0, 1fr); gap: var(--space-4); }
  .steps li::before {
    content: counter(step); display: grid; place-items: center; width: 2.5rem; height: 2.5rem;
    border-radius: var(--radius-round); font-family: var(--font-display); font-size: var(--text-md);
    box-shadow: var(--shadow-hairline-strong); background: var(--color-surface);
  }
  .steps h3 { font-family: var(--font-sans); font-size: var(--text-base); font-weight: var(--weight-medium, 500); letter-spacing: 0; }
  .steps p { color: var(--color-text-muted); font-size: var(--text-sm); margin-top: var(--space-1); }

  /* ----- FAQ ----- */
  .faq { border-top: var(--hairline) solid var(--color-border); }
  .faq details { border-bottom: var(--hairline) solid var(--color-border); }
  .faq summary {
    list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: var(--space-4);
    min-height: 3.75rem; padding-block: var(--space-4);
    font-family: var(--font-display); font-size: var(--text-lg); line-height: var(--leading-sub, 1.3);
  }
  .faq summary::-webkit-details-marker { display: none; }
  .faq summary::after {
    content: ""; width: 12px; height: 12px; flex: none; margin-right: var(--space-2);
    border-right: var(--rule-heavy) solid currentColor; border-bottom: var(--rule-heavy) solid currentColor;
    transform: rotate(45deg) translateY(-3px); transition: transform var(--motion-base) var(--ease-out);
    color: var(--color-text-subtle);
  }
  .faq details[open] summary::after { transform: rotate(225deg) translateY(-3px); }
  .faq .faq__a { padding-bottom: var(--space-5); color: var(--color-text-muted); max-width: var(--measure); }
  .faq .faq__a p + p { margin-top: var(--space-3); }

  /* ----- Panels ----- */
  .panel {
    border-radius: var(--radius-panel); padding: clamp(1.5rem, 4vw, 3.5rem);
    background: var(--color-surface); box-shadow: var(--shadow-hairline);
  }

  /* ----- Forms ----- */
  .field { display: grid; gap: var(--space-2); }
  .grid > .field { align-content: start; }
  .field + .field, .field + .fieldset, .fieldset + .field { margin-top: var(--space-5); }
  .label { font-size: var(--text-sm); font-weight: var(--weight-medium, 500); }
  .label .opt { font-weight: var(--weight-regular); color: var(--color-text-subtle); }
  .hint { font-size: var(--text-sm); color: var(--color-text-subtle); }
  .input, .textarea, .select {
    width: 100%; min-height: var(--control-height);
    padding: var(--space-2) var(--space-4);
    border: 0; border-radius: var(--radius-control);
    background: var(--color-surface); color: var(--color-text);
    box-shadow: inset 0 0 0 var(--hairline) var(--color-border-strong);
    font-size: var(--text-base);
    transition: box-shadow var(--motion-fast) var(--ease-out);
  }
  .textarea { min-height: 8rem; padding-block: var(--space-3); line-height: 1.55; resize: vertical; field-sizing: content; }
  .input:focus, .textarea:focus, .select:focus { outline: 2px solid transparent; box-shadow: inset 0 0 0 var(--rule-heavy) var(--color-focus); }
  .input[aria-invalid="true"], .textarea[aria-invalid="true"] { box-shadow: inset 0 0 0 var(--rule-heavy) var(--color-danger); }
  .error { font-size: var(--text-sm); color: var(--color-danger); display: flex; gap: var(--space-2); align-items: center; }
  .error:empty { display: none; }
  .error::before { content: "!"; display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: var(--radius-round); background: var(--color-danger); color: var(--color-bg); font-size: var(--text-xs); font-weight: var(--weight-medium, 500); flex: none; }
  .counter { font-size: var(--text-xs); color: var(--color-text-subtle); font-variant-numeric: tabular-nums; justify-self: end; }
  .fieldset { border: 0; padding: 0; margin: 0; }
  .fieldset legend { padding: 0; font-size: var(--text-sm); font-weight: var(--weight-medium, 500); margin-bottom: var(--space-3); }
  .check { display: grid; grid-template-columns: 1.5rem minmax(0, 1fr); gap: var(--space-3); align-items: start; padding-block: var(--space-2); font-size: var(--text-sm); cursor: pointer; }
  .check input { width: 1.25rem; height: 1.25rem; margin: 2px 0 0; accent-color: var(--color-accent); }
  .check + .check { border-top: var(--hairline) solid var(--color-border); }
  .choice-grid { display: grid; gap: var(--space-3); grid-template-columns: minmax(0, 1fr); }
  @media (min-width: 48rem) { .choice-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
  .choice { position: relative; display: block; cursor: pointer; }
  .choice input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
  .choice__body {
    display: flex; flex-direction: column; gap: var(--space-2); height: 100%;
    padding: var(--space-5); border-radius: var(--radius-card);
    background: var(--color-surface); box-shadow: var(--shadow-hairline);
    transition: box-shadow var(--motion-fast) var(--ease-out), background-color var(--motion-fast) var(--ease-out);
  }
  .choice__body svg { width: 24px; height: 24px; color: var(--color-accent-text); }
  .choice__title { font-family: var(--font-display); font-size: var(--text-lg);line-height:var(--leading-sub, 1.3); }
  .choice__meta { font-size: var(--text-xs); color: var(--color-accent-text); font-weight: var(--weight-medium, 500); }
  .choice__body p { font-size: var(--text-sm); color: var(--color-text-muted); }
  .choice input:checked + .choice__body { box-shadow: inset 0 0 0 var(--rule-heavy) var(--color-accent); background: var(--color-accent-subtle); }
  .choice input:focus-visible + .choice__body { box-shadow: var(--focus-ring); }

  /* Stepper */
  .stepper { list-style: none; padding: 0; display: flex; gap: var(--space-2); margin-bottom: var(--space-6); }
  .stepper li { flex: 1; min-width: 0; }
  .stepper__bar { display: block; height: 4px; border-radius: var(--radius-pill); background: var(--color-surface-2); overflow: hidden; }
  .stepper__bar::after { content: ""; display: block; height: 100%; width: 0; background: var(--color-accent); transition: width var(--motion-slow) var(--ease-out); }
  .stepper li[data-state="done"] .stepper__bar::after, .stepper li[data-state="current"] .stepper__bar::after { width: 100%; }
  .stepper li[data-state="current"] .stepper__bar::after { opacity: 0.55; }
  .stepper__label { display: block; margin-top: var(--space-2); font-size: var(--text-xs); color: var(--color-text-subtle); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .stepper li[data-state="current"] .stepper__label { color: var(--color-text); font-weight: var(--weight-semibold); }
  .form-step[hidden] { display: none; }
  .form-step:not([hidden]) { animation: fade-up var(--motion-slow) var(--ease-out); }
  .form-nav { display: flex; justify-content: space-between; gap: var(--space-3); margin-top: var(--space-7); padding-top: var(--space-5); border-top: var(--hairline) solid var(--color-border); flex-wrap: wrap; }
  .form-nav .autosave { font-size: var(--text-xs); color: var(--color-text-subtle); align-self: center; }
  .review-list { display: grid; gap: var(--space-4); }
  .review-list dt { font-size: var(--text-xs); font-weight: var(--weight-medium, 500); text-transform: uppercase; letter-spacing: var(--tracking-caps, 0.06em); color: var(--color-text-subtle); }
  .review-list dd { margin: var(--space-1) 0 0; white-space: pre-wrap; font-size: var(--text-sm); }
  .hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

  /* ----- Page head ----- */
  .page-head { padding-block: clamp(3rem, 6vw, 5rem) var(--space-6); position: relative; isolation: isolate; }
  .page-head::before {
    content: ""; position: absolute; inset: 0 0 auto 0; height: 100%; z-index: -1;
    background: radial-gradient(40% 80% at 85% 0%, var(--glow-a), transparent 70%);
  }
  .page-head h1 { margin-top: var(--space-3); max-width: 18ch; }
  .page-head .lede { margin-top: var(--space-4); }
  .breadcrumb ol { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: var(--space-2); font-size: var(--text-sm); color: var(--color-text-subtle); }
  .breadcrumb li + li::before { content: "/"; margin-right: var(--space-2); color: var(--color-border-strong); }
  .breadcrumb a { text-decoration: none; }
  .breadcrumb a:hover { text-decoration: underline; }
  .search-field { position: relative; width: min(100%, 22rem); }
  .search-field svg { position: absolute; left: var(--space-3); top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--color-text-subtle); pointer-events: none; }
  .search-field .input { padding-left: calc(var(--space-3) + 26px); border-radius: var(--radius-pill); }
  .result-count { font-size: var(--text-sm); color: var(--color-text-muted); font-variant-numeric: tabular-nums; }
  .empty {
    text-align: center; padding: var(--space-8) var(--space-5); border-radius: var(--radius-panel);
    box-shadow: inset 0 0 0 var(--hairline) var(--color-border); color: var(--color-text-muted);
  }
  .empty h2, .empty h3 { color: var(--color-text); font-size: var(--text-xl); margin-bottom: var(--space-2);line-height:var(--leading-heading, 1.2);letter-spacing:var(--tracking-heading, -0.01em); }
  .empty .btn { margin-top: var(--space-5); }

  /* ----- Article ----- */
  .progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: calc(var(--z-sticky) + 1); pointer-events: none; }
  .progress span { display: block; height: 100%; width: 100%; transform-origin: left; transform: scaleX(var(--p, 0)); background: var(--color-accent); }
  .article-head { padding-block: clamp(2.5rem, 6vw, 5rem) var(--space-6); position: relative; isolation: isolate; }
  .article-head::before {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background: radial-gradient(50% 70% at 50% 0%, var(--glow-a), transparent 70%);
  }
  .article-head .kicker { display: flex; flex-wrap: wrap; gap: var(--space-2); align-items: center; justify-content: center; }
  .article-head h1 { text-align: center; margin: var(--space-5) auto 0; max-width: 20ch; font-size: var(--font-size-display, clamp(2.75rem, 2.4rem + 1.4vw, 3.75rem));line-height:var(--leading-display, 1.05);letter-spacing:var(--tracking-display, -0.02em);font-weight:var(--weight-semibold, 600); }
  .dek { text-align: center; margin: var(--space-5) auto 0; max-width: 40rem; font-family: var(--font-read); font-size: var(--font-size-sub, 1.25rem); line-height: var(--leading-sub, 1.3); color: var(--color-text-muted); font-style: italic; }
  .article-meta { display: flex; justify-content: center; flex-wrap: wrap; gap: var(--space-2) var(--space-4); margin-top: var(--space-4); font-size: var(--text-sm); color: var(--color-text-subtle); font-variant-numeric: tabular-nums; }
  .article-actions { display: flex; justify-content: center; gap: var(--space-2); margin-top: var(--space-5); flex-wrap: wrap; }
  .article-layout { display: grid; gap: var(--space-7); grid-template-columns: minmax(0, 1fr); padding-bottom: var(--hr-space-section); }
  @media (min-width: 72rem) {
    .article-layout { grid-template-columns: minmax(0, 1fr) minmax(0, var(--container-read)) minmax(0, 1fr); }
    .article-layout > .article-main { grid-column: 2; }
    .article-layout > .article-aside { grid-column: 3; }
  }
  .article-layout > * { min-width: 0; }
  .article-aside { display: none; }
  @media (min-width: 72rem) { .article-aside { display: block; } }
  .takeaways {
    border-radius: var(--radius-card); padding: var(--space-5) var(--space-6);
    background: var(--color-surface); box-shadow: var(--shadow-hairline);
    border-left: 4px solid var(--color-accent);
  }
  .takeaways h2 { font-family: var(--font-sans); font-size: var(--text-xs); font-weight: var(--weight-medium, 500); text-transform: uppercase; letter-spacing: var(--tracking-caps, 0.06em); color: var(--color-accent-text); }
  .takeaways ul { margin-top: var(--space-3); padding-left: var(--space-5); display: grid; gap: var(--space-2); }
  .takeaways li { font-size: var(--text-base); line-height: var(--leading-body, 1.55); }
  .takeaways li::marker { color: var(--color-accent-text); }
  .prose { font-family: var(--font-read); font-size: var(--text-read); line-height: var(--leading-sub, 1.3); max-width: var(--measure-read); }
  .prose > * + * { margin-top: 1.1em; }
  .prose h2 { font-size: var(--font-size-heading, 1.5rem); margin-top: 1.9em; line-height: var(--leading-heading, 1.2);letter-spacing:var(--tracking-heading, -0.01em); }
  .prose h3 { font-size: var(--text-h3); margin-top: 1.6em;line-height:var(--leading-sub, 1.3); }
  .prose a { color: var(--color-accent-text); }
  .prose blockquote {
    margin-block: 1.6em; padding-left: var(--space-5); border-left: var(--rule-heavy) solid var(--color-highlight);
    font-family: var(--font-display); font-size: var(--font-size-heading, 1.5rem); line-height: var(--leading-heading, 1.2); letter-spacing: var(--tracking-heading, -0.01em);
  }
  .prose ul, .prose ol { padding-left: 1.25em; }
  .prose li + li { margin-top: 0.4em; }
  .prose--ui { font-family: var(--font-sans); font-size: var(--text-md); line-height: var(--leading-body, 1.55); }
  .prose--ui h2 { font-family: var(--font-display); }
  .endmark { display: flex; justify-content: center; margin-top: var(--space-7); color: var(--color-highlight); }
  .endmark svg { width: 28px; height: 28px; }
  .toc { position: sticky; top: calc(var(--nav-height) + var(--space-6)); font-size: var(--text-sm); }
  .toc h2 { font-family: var(--font-sans); font-size: var(--text-xs); text-transform: uppercase; letter-spacing: var(--tracking-caps, 0.06em); color: var(--color-text-subtle); font-weight: var(--weight-medium, 500); }
  .toc ol { list-style: none; padding: 0; margin-top: var(--space-3); display: grid; gap: var(--space-1); border-left: var(--hairline) solid var(--color-border); }
  .toc a { display: block; padding: var(--space-1) var(--space-3); text-decoration: none; color: var(--color-text-muted); margin-left: -1px; border-left: var(--rule-heavy) solid transparent; }
  .toc a:hover { color: var(--color-text); }
  .toc a.btn { display: inline-flex; margin-left: 0; border-left: 0; padding: var(--space-2) var(--space-5); color: var(--color-on-accent); }
  .toc a[aria-current="true"] { color: var(--color-text); border-left-color: var(--color-accent); }
  .responses { margin-top: var(--space-7); }
  .responses h2 { font-size: var(--font-size-heading, 1.5rem);line-height:var(--leading-heading, 1.2);letter-spacing:var(--tracking-heading, -0.01em); }

  /* ----- Profile ----- */
  .profile-head { display: grid; gap: var(--space-5); grid-template-columns: minmax(0, 1fr); align-items: center; }
  @media (min-width: 48rem) { .profile-head { grid-template-columns: auto minmax(0, 1fr); } }
  .profile-facts { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-top: var(--space-4); }

  /* ----- Command palette ----- */
  .palette {
    width: min(40rem, 100% - 2 * var(--gutter)); max-width: none; max-height: min(34rem, 80dvh);
    margin: 12dvh auto auto; padding: 0; border: 0; border-radius: var(--radius-card);
    background: var(--color-surface); color: var(--color-text); box-shadow: var(--shadow-overlay);
    overflow: hidden;
  }
  .palette::backdrop { background: var(--color-overlay); }
  .palette[open] { animation: pop-in var(--motion-base) var(--ease-out); }
  @keyframes pop-in { from { opacity: 0; transform: scale(0.97); } }
  .palette__input-wrap { display: flex; align-items: center; gap: var(--space-3); padding: var(--space-3) var(--space-4); border-bottom: var(--hairline) solid var(--color-border); }
  .palette__input-wrap svg { width: 20px; height: 20px; color: var(--color-text-subtle); flex: none; }
  .palette__input { flex: 1; min-width: 0; min-height: var(--control-height); border: 0; background: transparent; font-size: var(--text-md); }
  .palette__input:focus { outline: 2px solid transparent; }
  .palette__list { list-style: none; margin: 0; padding: var(--space-2); overflow-y: auto; max-height: calc(min(34rem, 80dvh) - 4.5rem); }
  .palette__group { padding: var(--space-3) var(--space-3) var(--space-1); font-size: var(--text-xs); font-weight: var(--weight-medium, 500); color: var(--color-text-subtle); text-transform: uppercase; letter-spacing: var(--tracking-caps, 0.06em); }
  .palette__item { display: flex; align-items: center; gap: var(--space-3); min-height: 48px; padding: var(--space-2) var(--space-3); border-radius: var(--radius-control); cursor: pointer; }
  .palette__item[aria-selected="true"] { background: var(--color-surface-2); }
  .palette__item-title { font-weight: var(--weight-medium, 500); font-size: var(--text-sm); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .palette__item-sub { font-size: var(--text-xs); color: var(--color-text-subtle); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .palette__item > div { min-width: 0; flex: 1; }
  .palette__empty { padding: var(--space-6); text-align: center; color: var(--color-text-muted); font-size: var(--text-sm); }

  /* ----- Toast ----- */
  .toast-region { position: fixed; z-index: var(--z-toast); left: 50%; transform: translateX(-50%); bottom: calc(var(--space-5) + var(--safe-bottom)); display: grid; gap: var(--space-2); pointer-events: none; width: min(26rem, 100% - 2 * var(--gutter)); }
  @media (min-width: 48rem) { .toast-region { left: auto; right: var(--space-5); transform: none; } }
  .toast { pointer-events: auto; padding: var(--space-3) var(--space-4); border-radius: var(--radius-control); background: var(--color-surface-inverse); color: var(--color-text-inverse); font-size: var(--text-sm); box-shadow: var(--shadow-overlay); animation: fade-up var(--motion-base) var(--ease-out); }

  /* ----- Footer ----- */
  .site-footer { margin-top: auto; background: var(--color-bg-subtle); box-shadow: inset 0 var(--hairline) 0 0 var(--color-border); padding-block: var(--space-8) calc(var(--space-6) + var(--safe-bottom)); font-size: var(--text-sm); }
  .footer-bottom { margin-top: var(--space-8); padding-top: var(--space-5); border-top: var(--hairline) solid var(--color-border); display: flex; flex-wrap: wrap; gap: var(--space-3) var(--space-5); justify-content: space-between; color: var(--color-text-subtle); font-size: var(--text-xs); }

  /* ----- Added hooks ----- */
  .h-step { font-family: var(--font-sans); font-size: var(--text-sm); margin-bottom: var(--space-5); }
  .step-title { font-family: var(--font-display); font-size: var(--text-h3); font-weight: var(--weight-medium, 500); letter-spacing: 0; display: inline-block; margin-top: var(--space-1);line-height:var(--leading-sub, 1.3); }
  .form-step:focus { outline: 2px solid transparent; }
  label.chip { cursor: pointer; position: relative; }
  label.chip:has(input:checked) { background: var(--color-accent-subtle); color: var(--color-accent-text); box-shadow: inset 0 0 0 var(--hairline) var(--color-accent); }
  label.chip:has(input:focus-visible) { box-shadow: var(--focus-ring); }

  /* ----- Scroll reveal (progressive enhancement) ----- */
  .js [data-reveal] { opacity: 0; transform: translateY(var(--motion-distance)); transition: opacity var(--motion-reveal) var(--ease-out), transform var(--motion-reveal) var(--ease-out); }
  .js [data-reveal].is-in { opacity: 1; transform: none; }

  /* ----- Marquee of prompts (paused on hover/focus, static when reduced motion) ----- */
  @keyframes rail { to { transform: translateX(-50%); } }

  /* Pledge list */
}

/* =========================== UTILITIES =========================== */
@layer utilities {
  .mt-0 { margin-top: 0; }
  .mt-2 { margin-top: var(--space-2); }
  .mt-4 { margin-top: var(--space-4); }
  .mt-5 { margin-top: var(--space-5); }
  .mt-6 { margin-top: var(--space-6); }
  .mt-7 { margin-top: var(--space-7); }
  .muted { color: var(--color-text-muted); }
  .subtle { color: var(--color-text-subtle); }
  .small { font-size: var(--text-sm); }
  .center { text-align: center; }
  .measure { max-width: var(--measure); }
  .pb-section { padding-bottom: var(--hr-space-section); }
  .cta-row--center { justify-content: center; }
  .center-block { margin-inline: auto; }
  .text-h3 { font-size: var(--text-h3);line-height:var(--leading-sub, 1.3); }
  .nums { font-variant-numeric: tabular-nums; }
}

@media (forced-colors: active) {
  .btn, .chip, .story-card, .person-card, .topic-card, .panel, .input, .textarea { border: 1px solid CanvasText; }
  .btn--primary { background: Highlight; color: HighlightText; }
  :focus-visible { outline: 2px solid CanvasText; outline-offset: 2px; }
}
@media print {
  .site-header, .site-footer, .article-actions, .responses, .progress, .article-aside, .toast-region { display: none !important; }
  body { background: var(--print-bg); color: var(--print-ink); }
}

/* =====================================================================
   V2 EDITORIAL LAYER — research-led layout upgrade (2026-09-18)
   Patterns: centred masthead + 3-column front page (The Atlantic, Every),
   art-first cards & text tabs (Linear "Now"), thumb list rows (Atlantic Latest),
   left-aligned article head + action pills + TL;DR (Every), up-next (FRR).
   ===================================================================== */
@layer components {
  /* ---- Header: three zones, centred wordmark ---- */
  .nav { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: var(--space-4); }
  .nav > .primary-nav { justify-self: start; }
  .nav > .nav-actions { justify-self: end; }
  .brand--center { margin: 0; font-size: var(--font-size-heading, 1.5rem); justify-self: center;line-height:var(--leading-heading, 1.2);letter-spacing:var(--tracking-heading, -0.01em); }
  .brand--center .brand__mark { width: 32px; height: 32px; }

  /* ---- Masthead ---- */

  /* ---- Front page grid ---- */
  .front { padding-bottom: clamp(3rem, 6vw, 5rem); }
  .front__grid {
    display: grid; gap: var(--space-6); grid-template-columns: minmax(0, 1fr);
    border-top: var(--rule-heavy) solid var(--color-text); padding-top: var(--space-6);
  }
  .front__grid > * { min-width: 0; }
  .front__lead { order: -1; }
  @media (min-width: 48rem) {
    .front__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .front__lead { grid-column: 1 / -1; }
  }
  @media (min-width: 72rem) {
    .front__grid { grid-template-columns: minmax(0, 3fr) minmax(0, 6fr) minmax(0, 3fr); gap: 0; }
    .front__lead { order: 0; grid-column: auto; padding-inline: var(--space-6); border-inline: var(--hairline) solid var(--color-border); }
    .front__rail { padding-left: var(--space-6); }
  }
  .kicker-byline { font-size: var(--text-xs); font-weight: var(--weight-medium, 500); letter-spacing: var(--tracking-caps, 0.06em); text-transform: uppercase; color: var(--color-text); }
  .kicker-byline span { font-weight: var(--weight-regular); color: var(--color-text-subtle); letter-spacing: 0; text-transform: none; }
  .lead { position: relative; }
  .lead .art { margin-bottom: var(--space-5); }
  .lead__body { text-align: center; display: grid; gap: var(--space-3); justify-items: center; }
  .lead__meta { display: flex; gap: var(--space-2); flex-wrap: wrap; justify-content: center; }
  .lead h2 { font-size: var(--font-size-heading, 1.5rem); line-height: var(--leading-heading, 1.2); max-width: 20ch;letter-spacing:var(--tracking-heading, -0.01em); }
  .lead h2 a { text-decoration: none; }
  .lead h2 a::after { content: ""; position: absolute; inset: 0; }
  @media (hover: hover) and (pointer: fine) { .lead:hover h2 { text-decoration: underline; text-decoration-thickness: var(--rule-heavy); text-underline-offset: 0.12em; text-decoration-color: var(--color-highlight); } }
  .lead__dek { font-family: var(--font-read); font-style: italic; font-size: var(--font-size-lead, 1.125rem); color: var(--color-text-muted); max-width: 34rem; line-height: var(--leading-body, 1.55); }
  .rail-title {
    font-family: var(--font-sans); font-size: var(--text-xs); font-weight: var(--weight-medium, 500); letter-spacing: 0;
    color: var(--color-accent-text); padding-bottom: var(--space-3); border-bottom: var(--hairline) solid var(--color-border);
  }
  .toc-list { list-style: none; padding: 0; margin: 0; }
  .toc-item { display: grid; grid-template-columns: 2.25rem minmax(0, 1fr); gap: var(--space-2); padding-block: var(--space-3); border-bottom: var(--hairline) solid var(--color-border); }
  .toc-item__n { font-family: var(--font-display); font-size: var(--text-lg); line-height: var(--leading-sub, 1.3); color: var(--color-text-subtle); }
  .toc-item a { font-family: var(--font-display); font-size: var(--text-md); line-height: var(--leading-body, 1.55); text-decoration: none; display: block; }
  .toc-item a:hover { text-decoration: underline; }
  .toc-item__by { display: block; margin-top: var(--space-1); font-size: var(--text-xs); color: var(--color-text-subtle); }

  /* ---- Generative art ---- */
  .art {
    --art-bg: var(--color-format-turning-bg);
    --art-ink: var(--color-format-turning);
    --art-hi: var(--color-accent);
    position: relative; overflow: hidden; isolation: isolate;
    aspect-ratio: 16 / 10; border-radius: var(--radius-card);
    background:
      radial-gradient(120% 90% at 100% 0%, color-mix(in oklch, var(--art-ink) 14%, transparent), transparent 60%),
      var(--art-bg);
  }
  .art[data-format="field-note"] { --art-bg: var(--color-format-field-bg); --art-ink: var(--color-format-field); }
  .art[data-format="what-we-tried"] { --art-bg: var(--color-format-tried-bg); --art-ink: var(--color-format-tried); }

  /* ---- Story card v2 (art first) ---- */
  .story-card { padding: 0; gap: 0; overflow: hidden; }
  .story-card__body { display: flex; flex-direction: column; gap: var(--space-3); padding: var(--space-5); flex: 1; }
  .story-card .badge--illustrative { align-self: flex-start; }
  @media (min-width: 64rem) {
    .story-card--wide .art { width: 52%; aspect-ratio: auto; min-height: 100%; flex: none; }
    .story-card--wide .story-card__body { padding: var(--space-6); justify-content: center; }
    .story-card--wide :is(h2, h3) { font-size: var(--font-size-heading, 1.5rem); line-height: var(--leading-heading, 1.2);letter-spacing:var(--tracking-heading, -0.01em); }
    .story-card--wide p { font-size: var(--text-base); }
  }

  /* ---- Section header with rule ---- */

  /* ---- Format tiles with art ---- */

  /* ---- People scroller ---- */
  .scroller__track.container {
    width: 100%; max-width: none; margin: 0;
    display: grid; grid-auto-flow: column; grid-auto-columns: minmax(15.5rem, 19rem); gap: var(--space-4);
    overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none;
    padding-inline: max(var(--gutter), calc((100% - var(--container-max)) / 2));
    scroll-padding-inline: max(var(--gutter), calc((100% - var(--container-max)) / 2));
    padding-block: var(--space-2) var(--space-4);
  }
  .scroller__track::-webkit-scrollbar { display: none; }
  .scroller__track > * { scroll-snap-align: start; min-width: 0; display: grid; }
  .person-card__top { display: flex; justify-content: space-between; align-items: flex-start; gap: var(--space-2); }
  .person-card :is(h2, h3) { font-size: var(--text-xl); margin-top: var(--space-2);line-height:var(--leading-heading, 1.2);letter-spacing:var(--tracking-heading, -0.01em); }
  .person-card__role { font-size: var(--text-sm); font-weight: var(--weight-medium, 500); }
  .person-card__role span { font-weight: var(--weight-regular, 400); color: var(--color-text-subtle); font-size: var(--text-xs); }
  .person-card__foot { margin-top: auto; padding-top: var(--space-3); border-top: var(--hairline) solid var(--color-border); font-size: var(--text-xs); color: var(--color-text-subtle); display: block; }
  .person-card__story { display: block; color: var(--color-text); font-family: var(--font-display); font-size: var(--text-base); margin-top: var(--space-1); }

  /* ---- Topic cards v2 ---- */
  .topic-card__count { position: relative; font-family: var(--font-display); font-size: var(--font-size-display, clamp(2.75rem, 2.4rem + 1.4vw, 3.75rem)); line-height: var(--leading-display, 1.05); color: oklch(55% 0.1 var(--topic-hue, 160));letter-spacing:var(--tracking-display, -0.02em);font-weight:var(--weight-semibold, 600); }
  .topic-card__go { margin-top: auto; position: relative; font-size: var(--text-xs); font-weight: var(--weight-medium, 500); letter-spacing: var(--tracking-caps, 0.06em); text-transform: uppercase; color: var(--color-accent-text); }

  /* ---- List rows with thumbnails ---- */

  /* ---- Stories index: text tabs + search (Linear "Now") ---- */
  .filterbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-4); border-bottom: var(--hairline) solid var(--color-border); }
  .tabs-text { display: flex; flex-wrap: wrap; gap: var(--space-1) var(--space-5); }
  .tabs-text a {
    display: inline-flex; align-items: center; gap: var(--space-2); min-height: var(--control-height); text-decoration: none;
    font-size: var(--text-sm); font-weight: var(--weight-medium, 500); color: var(--color-text-muted);
    box-shadow: inset 0 calc(-1 * var(--rule-heavy)) 0 0 transparent;
  }
  .tabs-text a:hover { color: var(--color-text); }
  .tabs-text a[aria-current="page"] { color: var(--color-text); box-shadow: inset 0 calc(-1 * var(--rule-heavy)) 0 0 var(--color-accent); }
  .filterbar .search-field { margin-block: var(--space-2); }

  /* ---- Article v2 (Every / First Round) ---- */
  .article-head { padding-block: clamp(1.5rem, 4vw, 3rem) 0; }
  .article-head::before { background: radial-gradient(40% 60% at 30% 0%, var(--glow-a), transparent 70%); }
  .article-head__inner { width: min(100% - 2 * var(--gutter), var(--container-read)); margin-inline: auto; }
  .article-head .kicker { justify-content: flex-start; margin-top: var(--space-5); }
  .article-head h1 { text-align: left; margin: var(--space-4) 0 0; max-width: none; font-size: var(--font-size-display, clamp(2.75rem, 2.4rem + 1.4vw, 3.75rem)); line-height: var(--leading-display, 1.05);letter-spacing:var(--tracking-display, -0.02em);font-weight:var(--weight-semibold, 600); }
  .article-head .dek { text-align: left; margin: var(--space-4) 0 0; max-width: none; }
  .article-byline { margin-top: var(--space-5); }
  .article-byline .byline__role { white-space: normal; font-size: var(--text-sm); }
  .article-bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: var(--space-3); margin-top: var(--space-5); padding-block: var(--space-2); border-block: var(--hairline) solid var(--color-border); }
  .article-bar .article-meta { margin: 0; justify-content: flex-start; }
  .article-bar .article-actions { margin: 0; justify-content: flex-start; gap: var(--space-2); }
  .pill {
    display: inline-flex; align-items: center; gap: var(--space-2); min-height: 40px; padding-inline: var(--space-3);
    border: 0; border-radius: var(--radius-pill); background: var(--color-surface); box-shadow: var(--shadow-hairline);
    font-size: var(--text-xs); font-weight: var(--weight-medium, 500); color: var(--color-text); text-decoration: none;
    transition: background-color var(--motion-fast) var(--ease-out);
  }
  .pill svg { width: 16px; height: 16px; }
  .pill:hover { background: var(--color-surface-2); }
  .pill[aria-pressed="true"] { background: var(--color-accent-subtle); color: var(--color-accent-text); box-shadow: inset 0 0 0 var(--hairline) var(--color-accent); }
  .article-main { width: 100%; max-width: var(--container-read); margin-inline: auto; }
  @media (min-width: 72rem) {
    .prose blockquote { margin-inline: -4rem; padding-left: var(--space-6); font-size: var(--font-size-title, clamp(2rem, 1.75rem + 1vw, 2.5rem));line-height:var(--leading-title, 1.1);letter-spacing:var(--tracking-title, -0.015em);font-weight:var(--weight-semibold, 600); }
  }

  /* ---- Up next ---- */

  /* ---- Footer wordmark ---- */
}

@layer components {
  .nav > .brand--center { grid-column: 2; }
  .nav > .nav-actions { grid-column: 3; }
  @media (max-width: 60rem) {
    .nav { grid-template-columns: minmax(0, 1fr) auto; }
    .nav > .brand--center { grid-column: 1; justify-self: start; }
    .nav > .nav-actions { grid-column: 2; }
  }
  .story-card__foot { flex-wrap: wrap; }
  .story-card .badge--illustrative { white-space: nowrap; }
  .person-card__top { flex-wrap: wrap; }
}
@layer components { .grid > .field + .field { margin-top: 0; } }

/* =========== Audit fixes 2026-10-08 (tokens only; no raw values) =========== */
@layer components {
  /* Home: tighter masthead so the front page starts inside the first viewport (publication pattern: content first). */
  /* Home: the "In this issue" list repeats the stories directly above it until the 3-column layout exists. */
  @media (max-width: 63.99rem) { .front__rail .rail-title, .front__rail .toc-list { display: none; } }

  /* Story: get to the first paragraph sooner on phones. */
  @media (max-width: 48rem) {
    .article-head .breadcrumb li:last-child { display: none; }
  }

  /* Story: end-of-read next steps (the highest-intent moment for a reader). */
  .after-read {
    margin-top: var(--space-7); display: grid; gap: var(--space-6);
    padding: var(--space-6); border-radius: var(--radius-panel);
    background: var(--color-accent-subtle); box-shadow: var(--shadow-hairline);
  }
  .after-read h2 { font-size: var(--text-xl);line-height:var(--leading-heading, 1.2);letter-spacing:var(--tracking-heading, -0.01em); }
  .after-read p { margin-top: var(--space-2); color: var(--color-text-muted); font-size: var(--text-sm); }
  .after-read__digest form { margin-top: var(--space-4); }
  @media (min-width: 40rem) {
    .digest--compact { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: var(--space-3); align-items: end; }
    .digest--compact > * + * { margin-top: 0; }
    .digest--compact > .hint { grid-column: 1 / -1; margin-top: var(--space-3); }
    .digest--compact .btn { align-self: end; }
    .digest--compact .error:empty { display: none; }
  }

  /* Story: response form behind one clear action instead of a full form wall for every reader. */
  .respond-toggle { margin-top: var(--space-5); }
  .respond-toggle > summary { list-style: none; width: fit-content; }
  .respond-toggle > summary::-webkit-details-marker { display: none; }
  .respond-toggle[open] > summary { display: none; }
}

/* =========== Wedge: protected bylines, context filters (2026-10-08) =========== */
@layer components {
  .wedge { display: grid; gap: var(--space-7); align-items: start; }
  @media (min-width: 64rem) { .wedge { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--space-8); } }
  .wedge__intro h2 { max-width: 16ch; }

  .byline-preview { display: grid; gap: var(--space-2); }
  .byline-preview__line {
    display: inline-flex; align-items: center; gap: var(--space-2); width: fit-content; max-width: 100%;
    padding: var(--space-2) var(--space-4); border-radius: var(--radius-pill);
    background: var(--color-surface); box-shadow: var(--shadow-hairline);
    font-size: var(--text-sm); font-weight: var(--weight-medium, 500); color: var(--color-text);
  }
  .byline-preview__line svg { flex: none; width: 18px; height: 18px; color: var(--color-accent-text); }
  .byline-preview__line[data-mode="named"] svg { opacity: 0; width: 0; }

  .compare { width: 100%; border-collapse: separate; border-spacing: 0; font-size: var(--text-sm); background: var(--color-surface); border-radius: var(--radius-panel); box-shadow: var(--shadow-hairline); overflow: hidden; }
  .compare th, .compare td { padding: var(--space-4) var(--space-5); text-align: left; vertical-align: top; border-bottom: var(--hairline) solid var(--color-border); }
  .compare tbody tr:last-child > * { border-bottom: 0; }
  .compare thead th { font-family: var(--font-display); font-size: var(--text-lg); font-weight: var(--weight-medium, 500);line-height:var(--leading-sub, 1.3); }
  .compare tbody th { font-weight: var(--weight-semibold); color: var(--color-text-muted); white-space: nowrap; }
  .compare td { color: var(--color-text-muted); }
  @media (max-width: 40rem) {
    .compare thead { display: none; }
    .compare, .compare tbody, .compare tr, .compare th, .compare td { display: block; }
    .compare tr { padding: var(--space-4) var(--space-4) var(--space-3); border-bottom: var(--hairline) solid var(--color-border); }
    .compare tbody tr:last-child { border-bottom: 0; }
    .compare th, .compare td { padding: var(--space-1) 0; border: 0; }
    .compare tbody th { padding-bottom: var(--space-2); }
    .compare td { display: grid; grid-template-columns: 5.5rem minmax(0, 1fr); gap: var(--space-3); padding: var(--space-2) var(--space-3); border-radius: var(--radius-2); }
    .compare td::before { content: attr(data-label); font-weight: var(--weight-semibold); color: var(--color-text-subtle); }
  }

  @media (min-width: 48rem) { .choice-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
  .fieldset > legend.label { margin-bottom: var(--space-3); }

  .context-filter { display: grid; gap: var(--space-4); align-items: end; padding: var(--space-5); border-radius: var(--radius-card); background: var(--color-bg-subtle); }
  .context-filter__title { font-family: var(--font-display); font-size: var(--text-lg);line-height:var(--leading-sub, 1.3); }
  .context-filter .field + .field { margin-top: 0; }
  @media (min-width: 48rem) { .context-filter { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto; } .context-filter__title { grid-column: 1 / -1; } }
}
@layer components {
  /* Three-way comparison needs the whole row width on desktop: intro above, table below. */

  .avatar--protected { display: inline-grid; place-items: center; background: var(--color-accent-subtle); color: var(--color-accent-text); }
  .avatar--protected svg { width: 55%; height: 55%; }
  .notice--protected { background: var(--color-accent-subtle); }
}
@layer components { .notice--protected strong { color: var(--color-accent-text); } .notice--protected svg { color: var(--color-accent-text); } }

/* =========== Founding programme: circle, slots, partners (2026-10-08) =========== */
@layer components {

  /* Real counts set in config.php. Numbers, never filled progress tracks. */

  .invite-box { display: grid; gap: var(--space-3); margin-top: var(--space-5); padding: var(--space-5); border-radius: var(--radius-card); background: var(--color-surface); box-shadow: var(--shadow-hairline); color: var(--color-text); }
  .invite-box__title { font-family: var(--font-display); font-size: var(--text-lg);line-height:var(--leading-sub, 1.3); }
  .invite-box__row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--space-3); }
  .invite-box .hint:empty { display: none; }

  .slot-note { padding: var(--space-4); margin-bottom: var(--space-5); border-radius: var(--radius-card); background: var(--color-accent-subtle); display: grid; gap: var(--space-2); font-size: var(--text-sm); }
  .partners-line { display: flex; flex-wrap: wrap; gap: var(--space-3) var(--space-5); align-items: baseline; }
}

/* =========== Counter hero (2026-10-08) =========== */
@layer components {
  /* The counter: one deliberate dark espresso band. Everything else stays on paper. */
  .cafe-counter {
    position: relative; isolation: isolate; overflow: clip;
    background: var(--counter-bg); color: var(--counter-ink);
    padding-block: clamp(3rem, 6vw, 5.5rem) clamp(3.5rem, 7vw, 6rem);
  }
  .cafe-counter::before {
    content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
    background:
      radial-gradient(55% 70% at 85% 10%, var(--counter-glow), transparent 70%),
      radial-gradient(40% 60% at 5% 100%, var(--counter-steam), transparent 70%);
  }
  .cafe-counter__grid { display: grid; gap: var(--space-8); align-items: center; grid-template-columns: minmax(0, 1fr); }
  @media (min-width: 64rem) { .cafe-counter__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--space-7); } }
  .cafe-counter__copy { display: grid; gap: var(--space-5); justify-items: start; }
  .cafe-counter__title {
    font-family: var(--font-display); font-weight: var(--weight-semibold, 600); color: var(--counter-ink);
    font-size: var(--text-counter); line-height: var(--leading-display, 1.05); letter-spacing: var(--tracking-display, -0.02em); max-width: 17ch; padding-bottom: 0.08em; text-wrap: balance;
  }
  .cafe-counter__title em { font-style: normal; color: var(--crema-6); }
  .cafe-counter__lede { font-size: var(--text-lg); line-height: var(--leading-sub, 1.3); color: var(--counter-muted); max-width: 34rem; }
  .cafe-counter .cta-row { margin-top: var(--space-2); }

  /* Overheard: real story lines on paper slips, as if left on the table. Each links to its story. */
  .overheard { margin: 0; display: grid; gap: var(--space-4); }
  .overheard__title { font-size: var(--font-size-caption, 0.75rem); color: var(--counter-muted); letter-spacing: var(--tracking-caps, 0.06em); text-transform: uppercase;font-weight:var(--weight-medium, 500); }
  @media (prefers-reduced-motion: no-preference) {
    @keyframes slip-in { from { opacity: 0; translate: 0 18px; } to { opacity: 1; translate: 0 0; } }
  }

  /* The menu: formats as a café menu card, dotted leaders between dish and size. */

  /* Founding circle panel: paper, not a second dark block. */
}

@layer components { .cafe-counter + .front { padding-top: var(--space-7); } }

/* =========== Simplification pass (critic round 1, 2026-10-09) =========== */
@layer components {
  /* Overheard: straight, quiet slips. No tilt, softer shadow. */
  .notice--quiet { margin-top: var(--space-6); background: var(--color-bg-subtle); }
  .notice--quiet strong { color: var(--color-text); }
}
@layer components {
  .optional-more > summary { cursor: pointer; font-size: var(--text-sm); color: var(--color-accent-text); font-weight: var(--weight-medium, 500); width: fit-content; }
}

/* No decorative glows: one accent, quiet surfaces (critic round 2). */
:root { --glow-a: transparent; }

@layer components {
  /* Hero: green is the only accent. */
  .cafe-counter__title em { color: var(--counter-ink); }
  .cafe-counter::before { background: radial-gradient(60% 80% at 90% 0%, color-mix(in oklch, var(--roast-9) 5%, transparent), transparent 70%); }
  .cafe-counter .btn--primary { background: var(--green-7); color: var(--roast-0); }
  .cafe-counter .btn--primary:hover { background: var(--green-3); }
  @media (max-width: 63.99rem) {
    .cafe-counter .cta-row .btn { width: 100%; justify-content: center; }
  }

  /* Front: two columns, no rail. */

  /* Closing band: one ask, one line of house rules. */
  .closing__inner { display: grid; gap: var(--space-4); justify-items: center; text-align: center; max-width: 44rem; }
  .closing__inner .lede { max-width: 36rem; }
  .closing__rules { margin-top: var(--space-5); font-size: var(--text-sm); color: var(--color-text-muted); max-width: 40rem; }

  /* Footer: two quiet rows. */
  .footer-top { display: flex; flex-wrap: wrap; gap: var(--space-5) var(--space-7); align-items: center; justify-content: space-between; }
  .footer-links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-5); font-size: var(--text-sm); }
  .footer-links a { color: var(--color-text-muted); text-decoration: none; }
  .footer-links a:hover { color: var(--color-text); text-decoration: underline; }
  .footer-links--small { font-size: var(--text-xs); gap: var(--space-2) var(--space-4); }
  .site-footer .footer-bottom { margin-top: var(--space-6); align-items: center; }

  /* Sponsor: plain give / never lists. */

  /* Join: one centred column. */
  .join-solo { padding-block: clamp(3rem, 8vw, 6rem); }
  .join-solo__inner { max-width: 34rem; display: grid; gap: var(--space-5); }
  .join-solo h1 { font-size: var(--text-h1);line-height:var(--leading-display, 1.05);letter-spacing:var(--tracking-display, -0.02em);font-weight:var(--weight-semibold, 600); }

  .story-card__by { font-size: var(--text-sm); font-weight: var(--weight-medium, 500); }
  .story-card__foot { display: flex; justify-content: space-between; align-items: baseline; gap: var(--space-3); }
  .story-card__read { font-size: var(--text-xs); color: var(--color-text-subtle); }
}

/* =========== Loop 3 (critic round 3, 2026-10-09) =========== */
@layer components {
  /* Cards lead with type; a thin format band replaces repeated art. */
  .story-card { border-top: 3px solid var(--card-band, var(--color-border-strong)); }
  .story-card[data-format="field-note"] { --card-band: var(--color-format-field, var(--green-7)); }
  .story-card[data-format="turning-point"] { --card-band: var(--color-format-turning); }
  .story-card[data-format="what-we-tried"] { --card-band: var(--color-format-tried); }
  .story-card :is(h2, h3), .lead h2 { text-wrap: pretty; max-width: none; }

  /* One green: the hero uses the same primary button as everywhere else. */
  .cafe-counter .btn--primary { background: var(--color-accent); color: var(--color-on-accent); }
  .cafe-counter .btn--primary:hover { background: var(--green-10); }

  /* Protected-byline section: one column. */

  /* Story page breathing room and quiet notes. */
  .article-layout { padding-top: var(--space-7); }
  .kicker a.badge { text-decoration: none; }
  .illus-note { margin-top: var(--space-6); font-family: var(--font-read); font-style: italic; color: var(--color-text-muted); font-size: var(--text-sm); }

  /* Format tabs: one line, scroll if needed. */
  .tabs-text { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; white-space: nowrap; }
  .tabs-text::-webkit-scrollbar { display: none; }

  /* Share sidebar: no card inside a card. */
  .pb-section aside .panel { background: transparent; box-shadow: none; padding-inline: 0; }

  /* Sponsor: tighter rhythm. */
  #enquire { padding-top: var(--space-7); }
}

/* =========== Loop 4 (critic round 4, 2026-10-09): editorial, no dead space =========== */
@layer components {
  /* Format labels: typographic small caps, not pastel pills. */
  .badge { padding: 0; border-radius: 0; background: none; font-size: var(--text-2xs); letter-spacing: var(--tracking-caps, 0.06em); text-transform: uppercase; line-height: var(--leading-label, 1.3);font-weight:var(--weight-medium, 500); }
  .badge--field, .badge--turning, .badge--tried { background: none; }
  .badge--illustrative { padding: 2px var(--space-2); border-radius: var(--radius-pill); text-transform: none; letter-spacing: 0; font-size: var(--text-xs); }

  /* Hero: one quote, set large, no card chrome. */
  .overheard { align-self: center; gap: var(--space-4); padding-left: var(--space-6); border-left: var(--hairline) solid var(--counter-rule); }
  .overheard__quote { margin: 0; font-family: var(--font-display); font-size: var(--font-size-title, clamp(2rem, 1.75rem + 1vw, 2.5rem)); line-height: var(--leading-title, 1.1); letter-spacing: var(--tracking-title, -0.015em); text-wrap: balance;font-weight:var(--weight-semibold, 600); }
  .overheard__quote a { color: var(--counter-ink); text-decoration: none; }
  .overheard__quote a:hover { text-decoration: underline; text-decoration-thickness: var(--hairline); text-underline-offset: 0.15em; }
  .overheard__who { font-size: var(--text-sm); color: var(--counter-muted); }
  @media (max-width: 63.99rem) { .overheard { padding-left: var(--space-5); } }

  /* Front: lead (typographic, with its own pull quote) + "Also this week" rail. */
  .front__grid--lead { display: grid; gap: var(--space-7); grid-template-columns: minmax(0, 1fr); }
  @media (min-width: 64rem) {
    .front__grid--lead { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 0; }
    .front__grid--lead .front__lead { padding: 0 var(--space-7) 0 0; border-inline: 0; border-right: var(--hairline) solid var(--color-border); order: 0; grid-column: auto; }
    .front__grid--lead .front__rail { padding-left: var(--space-7); }
  }
  .lead { display: grid; gap: var(--space-6); }
  .lead__body { text-align: left; justify-items: start; }
  .lead__meta { justify-content: flex-start; }
  .lead h2 { font-size: var(--font-size-heading, 1.5rem); line-height: var(--leading-heading, 1.2); max-width: 22ch;letter-spacing:var(--tracking-heading, -0.01em); }
  .lead__pull { margin: 0; padding: var(--space-5) 0 0; border-top: var(--hairline) solid var(--color-border); }
  .lead__pull p { font-family: var(--font-display); font-style: italic; font-size: var(--font-size-heading, 1.5rem); line-height: var(--leading-heading, 1.2); color: var(--color-text); max-width: 30ch; text-wrap: balance;letter-spacing:var(--tracking-heading, -0.01em); }
  .lead__pull p::before { content: "“"; color: var(--color-accent-text); }
  .lead__pull p::after { content: "”"; color: var(--color-accent-text); }
  .rail-title { font-family: var(--font-sans); font-size: var(--text-xs); font-weight: var(--weight-medium, 500); letter-spacing: 0; color: var(--color-text-subtle); padding-bottom: var(--space-3); border-bottom: var(--hairline) solid var(--color-border); }
  .front__rail .toc-item { padding-block: var(--space-4); }
  .front__rail .toc-item a { font-size: var(--text-lg);line-height:var(--leading-sub, 1.3); }

  /* Protected-byline band: copy + a specimen of the real thing. */
  .wedge--pair { display: grid; gap: var(--space-7); align-items: center; }
  @media (min-width: 64rem) { .wedge--pair { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: var(--space-9); } }
  .specimen { position: relative; display: grid; gap: var(--space-3); padding: var(--space-6); background: var(--color-surface); border-radius: var(--radius-card); box-shadow: var(--shadow-hairline); }
  .specimen__byline { display: inline-flex; align-items: center; gap: var(--space-2); font-size: var(--text-sm); font-weight: var(--weight-medium, 500); color: var(--color-accent-text); }
  .specimen__byline svg { width: 16px; height: 16px; }
  .specimen__ctx { font-size: var(--text-sm); color: var(--color-text-muted); }
  .specimen__title { font-size: var(--text-h3); line-height: var(--leading-sub, 1.3); margin-top: var(--space-2); }
  .specimen__title a { text-decoration: none; }
  .specimen__title a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
  .specimen:hover .specimen__title a { text-decoration: underline; text-decoration-thickness: var(--hairline); text-underline-offset: 0.15em; }
  .specimen__dek { font-family: var(--font-read); color: var(--color-text-muted); line-height: 1.5; }
  .specimen__note { font-size: var(--text-xs); color: var(--color-text-subtle); padding-top: var(--space-3); border-top: var(--hairline) solid var(--color-border); }

  /* Stories archive: one feature, then a ruled editorial list. */
  .index-feature { padding-bottom: var(--space-7); border-bottom: var(--hairline) solid var(--color-border-strong); }
  @media (min-width: 64rem) {
    .index-feature .lead { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--space-8); align-items: end; }
    .index-feature .lead__pull { border-top: 0; border-left: var(--hairline) solid var(--color-border); padding: 0 0 0 var(--space-6); }
  }
  .index-list { list-style: none; padding: 0; margin: 0; }
  .index-row { position: relative; display: grid; gap: var(--space-2) var(--space-6); padding-block: var(--space-5); border-bottom: var(--hairline) solid var(--color-border); grid-template-columns: minmax(0, 1fr) auto; }
  .index-row__meta { grid-column: 1 / -1; display: flex; gap: var(--space-3); align-items: baseline; }
  .index-row__by { font-size: var(--text-xs); color: var(--color-text-subtle); }
  .index-row__main h2 { font-size: var(--font-size-heading, 1.5rem); line-height: var(--leading-heading, 1.2); text-wrap: pretty;letter-spacing:var(--tracking-heading, -0.01em); }
  .index-row__main h2 a { text-decoration: none; }
  .index-row__main h2 a::after { content: ""; position: absolute; inset: 0; }
  .index-row:hover h2 a { text-decoration: underline; text-decoration-thickness: var(--hairline); text-underline-offset: 0.15em; }
  .index-row__main p { margin-top: var(--space-2); color: var(--color-text-muted); font-size: var(--text-sm); line-height: var(--leading-small, 1.5); max-width: 60ch; }
  .index-row__read { align-self: start; font-size: var(--text-xs); color: var(--color-text-subtle); white-space: nowrap; padding-top: 0.4rem; }
  @media (min-width: 48rem) {
    .index-row { grid-template-columns: 11rem minmax(0, 1fr) auto; padding-block: var(--space-6); }
    .index-row__meta { grid-column: auto; flex-direction: column; gap: var(--space-2); padding-top: 0.35rem; }
  }

  /* Sample issue: proof of what the email (and the sponsor slot) looks like. */
  .issue { margin: 0; display: grid; gap: var(--space-4); padding: var(--space-6); background: var(--color-surface); border-radius: var(--radius-card); box-shadow: var(--shadow-issue); align-self: center; }
  .issue__head { display: flex; justify-content: space-between; align-items: center; font-size: var(--text-xs); color: var(--color-text-subtle); padding-bottom: var(--space-3); border-bottom: var(--hairline) solid var(--color-border); }
  .issue__from { display: inline-flex; align-items: center; gap: var(--space-2); font-weight: var(--weight-medium, 500); color: var(--color-text); font-size: var(--text-sm); }
  .issue__from svg { width: 18px; height: 18px; }
  .issue__subject { font-family: var(--font-display); font-size: var(--text-lg); line-height: var(--leading-sub, 1.3); }
  .issue__list { list-style: none; padding: 0; margin: 0; display: grid; }
  .issue__list li { display: grid; gap: var(--space-1); padding-block: var(--space-3); border-top: var(--hairline) solid var(--color-border); }
  .issue__title { font-family: var(--font-display); font-size: var(--text-md); line-height: var(--leading-body, 1.55); }
  .issue__by { font-size: var(--text-xs); color: var(--color-text-subtle); }
  .issue__sponsor { display: grid; gap: var(--space-1); padding: var(--space-4); border: var(--hairline) dashed var(--color-border-strong); border-radius: var(--radius-2); }
  .issue__sponsor-label { font-size: var(--text-2xs); font-weight: var(--weight-medium, 500); letter-spacing: var(--tracking-caps, 0.06em); text-transform: uppercase; color: var(--color-text-subtle); }
  .issue__sponsor p { font-size: var(--text-sm); color: var(--color-text-muted); }
  .issue__cap { font-size: var(--text-xs); color: var(--color-text-subtle); font-style: italic; }

  .page-head__grid { display: grid; gap: var(--space-7); }
  @media (min-width: 64rem) { .page-head__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--space-8); align-items: center; } }
  .join-solo__grid { display: grid; gap: var(--space-8); }
  @media (min-width: 64rem) { .join-solo__grid { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); align-items: center; } }

  /* Email field and button share one height. */
  .digest--compact .input, .digest--compact .btn { min-height: 3rem; height: 3rem; }
  .digest--compact .btn { padding-block: 0; }

  /* Share: interview card and early reassurance. */
  .choice__title { line-height: 1.2; }
  .step-reassure { display: flex; gap: var(--space-2); align-items: flex-start; margin-top: var(--space-3); font-size: var(--text-sm); color: var(--color-text-muted); }
  .step-reassure svg { width: 16px; height: 16px; flex: none; margin-top: 0.2rem; color: var(--color-accent-text); }

  /* Story end: quiet, neutral subscribe block after a hairline. */
  .after-read { background: none; box-shadow: none; padding: var(--space-6) 0 0; border-radius: 0; border-top: var(--hairline) solid var(--color-border); }
  .responses { margin-top: var(--space-6); }
}
@layer components {
  .lead h2 { text-wrap: balance; }
  .lead__pull p { max-width: 34ch; }
  .wedge--pair .wedge__intro h2 { max-width: 20ch; }
  @media (min-width: 64rem) { .page-head--split .page-head__grid { align-items: start; } }
}
@layer components {
  @media (max-width: 63.99rem) { .front__grid--lead .front__rail .rail-title, .front__grid--lead .front__rail .toc-list { display: block; } .front__grid--lead .front__rail .toc-list { display: grid; } }
  .step-reassure { margin-bottom: var(--space-5); }
}
@layer components {
  /* Cards become ruled editorial items: no box, no coloured band. */
  .story-card { background: none; box-shadow: none; border-radius: 0; border-top: var(--hairline) solid var(--color-border-strong); overflow: visible; }
  .story-card:hover, .story-card:focus-within { transform: none; box-shadow: none; }
  .story-card__body { padding: var(--space-4) 0 0; }
  .story-card:hover :is(h2, h3) a { text-decoration: underline; text-decoration-thickness: var(--hairline); text-underline-offset: 0.15em; }
  .story-card__foot { border-top: 0; padding-top: var(--space-2); }
}

/* =========== Loop 5 (critic round 5, 2026-10-09): balance, one accent, mobile polish =========== */
@layer components {
  /* One accent for labels; formats are told apart by words, not colour. */
  .badge--field, .badge--turning, .badge--tried { color: var(--color-accent-text); }
  .badge--topic { color: var(--color-text-subtle); }
  @media (max-width: 47.99rem) { .kicker .badge--topic { display: none; } }

  /* One quote style site-wide: italic display serif, green rule. */
  .prose blockquote { font-style: italic; border-left-color: var(--color-accent); border-left-width: var(--hairline); color: var(--color-text); }
  .endmark { color: var(--color-accent-text); opacity: 0.6; }

  /* Home lead: a quiet way on, so the column ends with intent. */
  .lead__go { justify-self: start; }

  /* Stories feature: quote set large, aligned with the headline. */
  @media (min-width: 64rem) {
    .index-feature .lead { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); grid-template-rows: auto auto; align-items: start; column-gap: var(--space-8); row-gap: var(--space-5); }
    .index-feature .lead__body { grid-column: 1; grid-row: 1 / span 2; }
    .index-feature .lead__pull { grid-column: 2; grid-row: 1; align-self: center; padding: var(--space-2) 0 var(--space-2) var(--space-6); }
    .index-feature .lead__pull p { font-size: var(--font-size-title, clamp(2rem, 1.75rem + 1vw, 2.5rem));line-height:var(--leading-title, 1.1);letter-spacing:var(--tracking-title, -0.015em);font-weight:var(--weight-semibold, 600); }
    .index-feature .lead__go { grid-column: 2; grid-row: 2; padding-left: var(--space-6); }
  }
  .index-row__mins { display: none; }
  @media (max-width: 47.99rem) {
    .index-row { grid-template-columns: minmax(0, 1fr); }
    .index-row__read { display: none; }
    .index-row__mins { display: inline; }
  }

  /* Tabs: gutter and an edge fade where they scroll. */
  .tabs-text { padding-right: var(--space-5); -webkit-mask-image: var(--mask-scroll-right); mask-image: var(--mask-scroll-right); }
  @media (min-width: 48rem) { .tabs-text { -webkit-mask-image: none; mask-image: none; padding-right: 0; } }

  /* Story byline: the verification link on its own line. */
  .byline__verify { display: block; font-size: var(--text-xs); color: var(--color-text-muted); margin-top: 2px; }

  /* Share: header inside the form column so the sidebar starts level with it. */
  .share-page { padding-top: clamp(2.5rem, 5vw, 4rem); }
  .share-head { margin-bottom: var(--space-7); }
  .share-head h1 { font-size: var(--text-h1); margin-top: var(--space-4); text-wrap: balance;line-height:var(--leading-display, 1.05);letter-spacing:var(--tracking-display, -0.02em);font-weight:var(--weight-semibold, 600); }
  .share-head .lede { margin-top: var(--space-4); }
  .nav-quiet { font-size: var(--text-sm); color: var(--color-text-muted); text-decoration: none; justify-self: end; }
  .nav-quiet:hover { color: var(--color-text); text-decoration: underline; }
  .slot-note { background: none; border-radius: 0; padding: 0 0 0 var(--space-4); border-left: var(--hairline) solid var(--color-accent); }
  .stepper__label { font-size: var(--text-sm); }
  .stepper li[data-state="current"] .stepper__label, .stepper li[data-state="done"] .stepper__label { color: var(--color-text); }
  @media (max-width: 47.99rem) { .stepper li:not([data-state="current"]) .stepper__label { visibility: hidden; } .stepper li[data-state="current"] .stepper__label { overflow: visible; } }

  /* Join: full-width button on phones; headline in two lines on desktop. */
  @media (max-width: 47.99rem) { .digest--compact .btn { width: 100%; } }
  @media (min-width: 64rem) { .join-solo h1 { max-width: 13ch; } }

  /* Sponsor. */
  @media (min-width: 64rem) { .page-head--sponsor .page-head__grid { align-items: center; } }
  .slotview { margin: 0; display: grid; gap: 0; padding: var(--space-5) var(--space-6); background: var(--color-surface); border-radius: var(--radius-card); box-shadow: var(--shadow-issue); }
  .slotview__story { display: grid; gap: var(--space-1); padding-block: var(--space-4); color: var(--color-text-subtle); font-family: var(--font-display); font-size: var(--text-md); line-height: var(--leading-body, 1.55); }
  .slotview__story .badge { color: var(--color-text-subtle); font-family: var(--font-sans); }
  .slotview__slot { display: grid; gap: var(--space-2); padding: var(--space-5); margin-block: var(--space-2); border: var(--hairline) solid var(--color-accent); border-radius: var(--radius-2); background: var(--color-accent-subtle); }
  .slotview__label { font-size: var(--text-2xs); font-weight: var(--weight-medium, 500); letter-spacing: var(--tracking-caps, 0.06em); text-transform: uppercase; color: var(--color-accent-text); }
  .slotview__name { font-family: var(--font-display); font-size: var(--text-xl); line-height: var(--leading-heading, 1.2);letter-spacing:var(--tracking-heading, -0.01em); }
  .slotview__line { font-size: var(--text-sm); color: var(--color-text-muted); }
  .slotview__link { font-size: var(--text-sm); font-weight: var(--weight-medium, 500); color: var(--color-accent-text); }
  .slotview__cap { margin-top: var(--space-3); padding-top: var(--space-3); border-top: var(--hairline) solid var(--color-border); font-size: var(--text-xs); color: var(--color-text-subtle); }

  .seat h2 { max-width: 20ch; }
  .seat__cols { display: grid; gap: var(--space-7); margin-top: var(--space-7); }
  @media (min-width: 48rem) { .seat__cols { grid-template-columns: 1fr 1fr; gap: var(--space-8); } }
  .seat__h { font-family: var(--font-sans); font-size: var(--text-xs); font-weight: var(--weight-medium, 500); letter-spacing: var(--tracking-caps, 0.06em); text-transform: uppercase; color: var(--color-text-subtle); padding-bottom: var(--space-3); border-bottom: var(--hairline) solid var(--color-border-strong); }
  .seat__list { list-style: none; padding: 0; margin: 0; }
  .seat__list li { padding-block: var(--space-4); border-bottom: var(--hairline) solid var(--color-border); font-size: var(--text-md); line-height: var(--leading-body, 1.55); }
  .seat__list--never li { color: var(--color-text-muted); }
  .seat__terms { display: grid; gap: var(--space-5); margin: var(--space-8) 0 0; padding-top: var(--space-6); border-top: var(--hairline) solid var(--color-border-strong); }
  @media (min-width: 48rem) { .seat__terms { grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); gap: var(--space-8); } }
  .seat__terms dt { font-weight: var(--weight-semibold); }
  .seat__terms dd { margin: var(--space-2) 0 0; color: var(--color-text-muted); line-height: 1.55; }
  .enquire { border-top: var(--hairline) solid var(--color-border); }
  .enquire__inner { max-width: 44rem; }
}
@layer components {
  .enquire__inner { max-width: none; }
  .enquire__inner > * { max-width: 44rem; }
}

/* =========== Loop 6 (2026-10-14): modern minimalist editorial landing page =========== */
@layer components {
  /* Hero: secondary counter button + dual overheard slips (Named + Protected byline) */
  .btn--counter-ghost {
    background: var(--counter-ghost-bg);
    color: var(--counter-ink);
    box-shadow: inset 0 0 0 var(--hairline) var(--counter-rule);
  }
  .btn--counter-ghost:hover {
    background: var(--counter-ghost-hover);
    color: var(--counter-ink);
  }
  .overheard { gap: var(--space-5); }
  .overheard__item { display: grid; gap: var(--space-2); }
  .overheard__item + .overheard__item {
    padding-top: var(--space-5);
    border-top: var(--hairline) solid var(--counter-rule);
  }
  .overheard__quote--sm {
    font-size: var(--font-size-heading, 1.5rem);
    line-height: var(--leading-heading, 1.2);letter-spacing:var(--tracking-heading, -0.01em);
  }
  .overheard__shield {
    display: inline-flex;
    align-items: center;
    gap: var(--space-1);
    color: var(--counter-accent);
    font-weight: var(--weight-semibold);
  }
  .overheard__shield svg { width: 14px; height: 14px; flex: none; }

  /* Front page: "Find a seat like yours" context & format discovery bar */
  .front__bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-2) var(--space-5);
    padding-bottom: var(--space-4);
    font-size: var(--text-xs);
  }
  .front__bar-label {
    font-weight: var(--weight-semibold);
    letter-spacing: 0;
    color: var(--color-text-subtle);
  }
  .front__bar-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--space-1) var(--space-4);
  }
  .front__bar-links a {
    display: inline-flex;
    align-items: center;
    min-height: 2.25rem;
    color: var(--color-text-muted);
    text-decoration: none;
    font-weight: var(--weight-medium);
    transition: color var(--motion-fast) var(--ease-out);
  }
  .front__bar-links a:hover {
    color: var(--color-accent-text);
    text-decoration: underline;
  }
  .front__bar-sep { color: var(--color-border-strong); }
  .front__bar-break { margin-inline-start: var(--space-3); }
  .front__rail-foot {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-3);
  }
  .text-link .arrow, .topic-card__go span, .slotview__link span {
    font-family: var(--font-symbol);
  }
  .text-link--quiet {
    color: var(--color-text-muted);
    font-weight: var(--weight-medium);
  }
  .text-link--quiet:hover { color: var(--color-text); }

  /* Wedge: 3-row typographic ledger contrasting LinkedIn, anonymous forums, and hr.cafe */
  .wedge--pair { align-items: center; }
  .wedge-ledger {
    display: grid;
    border-top: var(--hairline) solid var(--color-border-strong);
  }
  .wedge-ledger__row {
    display: grid;
    gap: var(--space-1) var(--space-4);
    padding-block: var(--space-3);
    border-bottom: var(--hairline) solid var(--color-border);
    font-size: var(--text-sm);
  }
  @media (min-width: 36rem) {
    .wedge-ledger__row {
      grid-template-columns: 9.5rem minmax(0, 1fr);
      align-items: baseline;
    }
  }
  .wedge-ledger__row dt {
    font-weight: var(--weight-semibold);
    color: var(--color-text-muted);
  }
  .wedge-ledger__row dd {
    color: var(--color-text-muted);
    line-height: 1.5;
  }
  .wedge-ledger__row--here dt { color: var(--color-accent-text); }
  .wedge-ledger__row--here dd { color: var(--color-text); font-weight: var(--weight-medium); }

  /* Interactive Byline Specimen Switcher (CSS :has() + progressive JS) */
  .specimen-card { display: grid; gap: var(--space-3); min-width: 0; }
  .specimen-switch {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-2) var(--space-3);
  }
  .specimen-switch__label {
    font-size: var(--text-2xs);
    font-weight: var(--weight-medium, 500);
    letter-spacing: 0;
    color: var(--color-text-subtle);
  }
  .specimen-switch__pills {
    display: inline-flex;
    padding: 3px;
    border-radius: var(--radius-pill);
    background: var(--color-surface);
    box-shadow: var(--shadow-hairline);
    gap: 2px;
  }
  .specimen-pill {
    position: relative;
    display: inline-flex;
    align-items: center;
    cursor: pointer;
  }
  .specimen-pill input {
    position: absolute;
    opacity: 0;
    inset: 0;
    margin: 0;
    cursor: pointer;
  }
  .specimen-pill span {
    display: inline-flex;
    align-items: center;
    gap: var(--space-1);
    min-height: 2.125rem;
    padding-inline: var(--space-3);
    border-radius: var(--radius-pill);
    font-size: var(--text-xs);
    font-weight: var(--weight-medium, 500);
    color: var(--color-text-muted);
    transition: background-color var(--motion-fast) var(--ease-out), color var(--motion-fast) var(--ease-out);
  }
  .specimen-pill svg { width: 14px; height: 14px; flex: none; }
  .specimen-pill input:checked + span {
    background: var(--color-accent-subtle);
    color: var(--color-accent-text);
    box-shadow: inset 0 0 0 var(--hairline) var(--color-accent);
  }
  .specimen-pill input:focus-visible + span { box-shadow: var(--focus-ring); }
  .specimen__mode { display: grid; gap: var(--space-1); }
  .specimen__mode--named, .specimen__note--named { display: none; }
  .specimen-card:has(input[value="named"]:checked) .specimen__mode--protected,
  .specimen-card:has(input[value="named"]:checked) .specimen__note--protected,
  .specimen-card[data-mode="named"] .specimen__mode--protected,
  .specimen-card[data-mode="named"] .specimen__note--protected { display: none; }
  .specimen-card:has(input[value="named"]:checked) .specimen__mode--named,
  .specimen-card:has(input[value="named"]:checked) .specimen__note--named,
  .specimen-card[data-mode="named"] .specimen__mode--named,
  .specimen-card[data-mode="named"] .specimen__note--named { display: grid; }
  .specimen__byline--named { color: var(--color-text); }

  /* Section 4: Café Menu (formats with dotted leaders) + 5-Questions Editorial Loop */
  .craft-split {
    display: grid;
    gap: var(--space-8);
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
  }
  @media (min-width: 64rem) {
    .craft-split {
      grid-template-columns: minmax(0, 6fr) minmax(0, 6fr);
      gap: 0;
    }
    .menu-board {
      padding-right: var(--space-8);
      border-right: var(--hairline) solid var(--color-border);
    }
    .editorial-loop {
      padding-left: var(--space-8);
    }
  }
  .menu-board h2 { max-width: 20ch; }
  .menu-list {
    display: grid;
    border-top: var(--rule-heavy) solid var(--color-text);
  }
  .menu-item {
    padding-block: var(--space-4);
    border-bottom: var(--hairline) solid var(--color-border);
    display: grid;
    gap: var(--space-2);
  }
  .menu-item__head {
    display: flex;
    align-items: baseline;
    gap: var(--space-3);
  }
  .menu-item__name {
    font-family: var(--font-display);
    font-size: var(--text-xl);
    line-height: var(--leading-heading, 1.2);
    text-decoration: none;
    color: var(--color-text);letter-spacing:var(--tracking-heading, -0.01em);
  }
  .menu-item__name:hover {
    color: var(--color-accent-text);
    text-decoration: underline;
    text-decoration-thickness: var(--hairline);
  }
  .menu-item__dots {
    flex: 1;
    border-bottom: var(--hairline) dotted var(--color-border-strong);
    min-width: var(--space-4);
  }
  .menu-item__len {
    font-size: var(--text-xs);
    font-weight: var(--weight-medium, 500);
    color: var(--color-accent-text);
    white-space: nowrap;
  }
  .menu-item__body {
    display: grid;
    gap: var(--space-1);
    font-size: var(--text-sm);
    color: var(--color-text-muted);
  }
  .menu-item__shape {
    font-size: var(--text-xs);
    color: var(--color-text-subtle);
  }
  .editorial-loop__title {
    font-size: var(--font-size-heading, 1.5rem);
    line-height: var(--leading-heading, 1.2);
    max-width: 26ch;letter-spacing:var(--tracking-heading, -0.01em);font-weight:var(--weight-medium, 500);
  }
  .editorial-loop__lede {
    font-size: var(--text-base);
    color: var(--color-text-muted);
    max-width: 36rem;
    line-height: var(--leading-body, 1.55);
  }
  .proof-box {
    border-radius: var(--radius-card);
    background: var(--color-surface);
    box-shadow: var(--shadow-hairline);
    overflow: hidden;
  }
  .proof-box .tabs {
    border-bottom: var(--hairline) solid var(--color-border);
    background: var(--color-bg-subtle);
    flex-wrap: wrap;
  }
  @media (max-width: 36rem) {
    .proof-box .tabs {
      padding: var(--space-2) var(--space-2) 0;
    }
    .proof-box .tab {
      padding-inline: var(--space-3);
      font-size: var(--text-xs);
    }
  }
  .proof-box__body {
    padding: var(--space-5);
  }
  .proof-panel:not([hidden]) {
    animation: fade-up var(--motion-base) var(--ease-out);
  }
  .proof-panel__note {
    font-family: var(--font-sans);
    font-size: var(--text-xs);
    color: var(--color-text-subtle);
    padding-top: var(--space-3);
    border-top: var(--hairline) solid var(--color-border);
  }
  .slot-status {
    font-size: var(--text-xs);
    color: var(--color-text-subtle);
    padding-left: var(--space-3);
    border-left: var(--rule-heavy) solid var(--color-accent);
  }

  /* Section 5: Weekly Edition + Sample Issue Preview */
  .closing__grid {
    display: grid;
    gap: var(--space-8);
    grid-template-columns: minmax(0, 1fr);
    align-items: center;
  }
  @media (min-width: 64rem) {
    .closing__grid {
      grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
      gap: var(--space-9);
    }
  }
  .closing__copy { min-width: 0; }
  .closing__form { max-width: 34rem; }
  .closing__rules {
    margin-top: var(--space-6);
    padding-top: var(--space-4);
    border-top: var(--hairline) solid var(--color-border);
    font-size: var(--text-xs);
    color: var(--color-text-muted);
    max-width: 38rem;
  }
  .closing__preview { min-width: 0; }
}



/* =========== UX audit 2026-10-15: light notice bar, rituals, footer, reading rhythm =========== */
@layer components {
  /* Notice bar: light, on paper (was a dark band). */
  .ribbon {
    background: var(--color-highlight-subtle); color: var(--color-text);
    border-bottom: var(--hairline) solid var(--color-border);
    font-size: var(--font-size-small, 0.875rem); line-height: var(--leading-small, 1.5);
  }
  .ribbon a { color: var(--color-text); font-weight: var(--weight-medium, 500); text-decoration: underline; }
  .ribbon strong { font-weight: var(--weight-medium, 500); }
  /* cafe_edits 2026-10-16: on phones the notice is one short line so the H1 is the LCP. */
  .ribbon__short { display: none; }
  @media (max-width: 63.99rem) {
    .ribbon { padding-block: var(--space-1); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .ribbon__long { display: none; }
    .ribbon__short { display: inline; }
  }

  /* Header controls meet the 44px target. */
  .btn--nav { min-height: var(--control-height); }

  /* Hero: Lead role (18/1.5), trust line under the CTAs. */
  .cafe-counter__lede { font-size: var(--font-size-lead, 1.125rem); line-height: var(--leading-body, 1.5); color: var(--color-text-muted); }
  .hero-trust { display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-4); list-style: none; padding: 0; margin: 0; font-size: var(--font-size-small, 0.875rem); color: var(--color-text); }
  .hero-trust li { display: inline-flex; align-items: center; gap: var(--space-2); }
  .hero-trust svg { width: 16px; height: 16px; color: var(--color-accent-text); flex: none; }

  /* Story reading: Lead role for long-form (18px, 1.5). */
  .prose { font-size: var(--font-size-lead, 1.125rem); line-height: var(--leading-body, 1.5); }
  .prose--ui { font-size: var(--font-size-body, 1rem); line-height: var(--leading-body, 1.55); }

  /* The table: rituals and founding status on the home page. */
  .rituals__head { max-width: 44rem; }
  .rituals__grid { display: grid; gap: var(--space-6) var(--space-8); grid-template-columns: minmax(0, 1fr); margin-top: var(--space-7); list-style: none; padding: 0; }
  @media (min-width: 45rem) { .rituals__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
  .ritual { display: grid; gap: var(--space-3); align-content: start; }
  .ritual svg { width: 24px; height: 24px; color: var(--color-accent-text); }
  .ritual h3 { font-size: var(--font-size-sub, 1.25rem); line-height: var(--leading-sub, 1.3); font-weight: var(--weight-medium, 500); letter-spacing: 0; }
  .ritual p { font-size: var(--font-size-body, 1rem); color: var(--color-text-muted); }
  .ritual__when { font-size: var(--font-size-caption, 0.75rem); font-weight: var(--weight-medium, 500); letter-spacing: 0; color: var(--color-text); }
  .house-rules { margin-top: var(--space-7); display: grid; gap: var(--space-5); grid-template-columns: minmax(0, 1fr); padding: var(--space-6); border-radius: var(--radius-panel); background: var(--color-bg-subtle); box-shadow: var(--shadow-hairline); }
  @media (min-width: 64rem) { .house-rules { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); align-items: start; } }
  .house-rules h3 { font-size: var(--font-size-heading, 1.5rem); line-height: var(--leading-heading, 1.2); font-weight: var(--weight-medium, 500); }
  .house-rules ol { margin: 0; padding-left: 1.25em; display: grid; gap: var(--space-3); }
  .house-rules li { font-size: var(--font-size-body, 1rem); }
  .founding-status { margin-top: var(--space-6); font-size: var(--font-size-body, 1rem); color: var(--color-text); padding-left: var(--space-4); border-left: var(--rule-heavy) solid var(--color-accent); max-width: 44rem; }

  /* Join: what members get. */
  .join-perks { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--space-3); }
  .join-perks li { display: flex; gap: var(--space-3); align-items: flex-start; font-size: var(--font-size-body, 1rem); }
  .join-perks svg { width: 20px; height: 20px; flex: none; margin-top: 3px; color: var(--color-accent-text); }

  /* Small text holds primary ink (font_best: ≤14px uses primary ink). */
  .closing__rules, .slot-status, .footer-bottom { color: var(--color-text); }

  /* Footer: a one-line promise; links are underlined. */
  .footer-about { display: grid; gap: var(--space-3); max-width: 26rem; }
  .footer-about__line { font-size: var(--font-size-small, 0.875rem); color: var(--color-text); }
  .footer-top { align-items: flex-start; }
  .footer-links a { color: var(--color-text); text-decoration: underline; text-decoration-color: var(--color-border-strong); }
  .footer-links a:hover { text-decoration-color: var(--color-accent); }
  .footer-links li a { display: inline-flex; align-items: center; min-height: 32px; }

  /* Stories search. */
  .stories-search { max-width: 34rem; margin-bottom: var(--space-5); }
}

/* =========== Design pass 2026-10-16: break-room board, seat finder, notice, tap targets =========== */
@layer components {
  /* Hero: copy + board. The board is the one signature visual: notes pinned in the break room. */
  @media (min-width: 64rem) { .cafe-counter__grid { grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: var(--space-8); } }
  .cafe-counter { padding-block: clamp(2.5rem, 5vw, 4.5rem) clamp(3rem, 6vw, 5rem); }

  .board {
    position: relative; isolation: isolate; margin: 0;
    padding: var(--space-5) var(--space-5) var(--space-5);
    border-radius: var(--radius-panel);
    background-color: var(--board-bg);
    background-image: radial-gradient(var(--board-dot) 1px, transparent 1.4px);
    background-size: 14px 14px;
    box-shadow: inset 0 0 0 var(--hairline) var(--board-edge);
  }
  .board__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-2) var(--space-3); margin-bottom: var(--space-5); }
  .board__title { font-size: var(--font-size-small, 0.875rem); font-weight: var(--weight-medium); color: var(--color-text); }
  .board__tag {
    display: inline-flex; align-items: center; min-height: 1.75rem; padding: 0 var(--space-3);
    font-size: var(--font-size-caption, 0.75rem); font-weight: var(--weight-medium); color: var(--color-text);
    background: var(--note-card); border-radius: var(--radius-1);
    box-shadow: 0 0 0 var(--hairline) var(--board-edge);
    rotate: 1deg;
  }
  .board__notes { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-5) var(--space-4); grid-template-columns: repeat(2, minmax(0, 1fr)); position: relative; z-index: 1; }
  .note { position: relative; rotate: var(--tilt, 0deg); transition: rotate var(--motion-base) var(--ease-out), translate var(--motion-base) var(--ease-out); }
  .note::before { /* the pin */
    content: ""; position: absolute; top: -6px; left: 50%; width: 12px; height: 12px; margin-left: -6px; border-radius: 50%; z-index: 2;
    background: radial-gradient(circle at 35% 35%, color-mix(in oklch, var(--neutral-0) 55%, var(--note-pin)), var(--note-pin) 60%);
    box-shadow: 0 2px 3px color-mix(in oklch, var(--neutral-12) 30%, transparent);
  }
  .note--2::before, .note--4::before { background: radial-gradient(circle at 35% 35%, color-mix(in oklch, var(--neutral-0) 55%, var(--note-pin-2)), var(--note-pin-2) 60%); }
  .note--1 { --tilt: var(--tilt-1); }
  .note--2 { --tilt: var(--tilt-2); translate: 0 var(--space-4); }
  .note--3 { --tilt: var(--tilt-3); }
  .note--4 { --tilt: var(--tilt-4); translate: 0 var(--space-4); }
  .note__link {
    display: grid; gap: var(--space-3); align-content: space-between; min-height: 100%;
    padding: var(--space-5) var(--space-4) var(--space-4);
    color: var(--color-text); text-decoration: none;
    background: var(--note-card); border-radius: 3px; box-shadow: var(--note-shadow);
    transition: box-shadow var(--motion-base) var(--ease-out);
  }
  /* index card: ruled lines with a margin rule */
  .note--1 .note__link {
    padding-top: var(--space-6);
    background-image: linear-gradient(to bottom, transparent 1.5rem, var(--note-margin) 1.5rem, var(--note-margin) calc(1.5rem + 1px), transparent calc(1.5rem + 1px)),
      repeating-linear-gradient(to bottom, transparent 0 calc(1.625rem - 1px), var(--note-rule) calc(1.625rem - 1px) 1.625rem);
    background-size: 100% 100%, 100% 100%;
    background-position: 0 0, 0 calc(1.5rem + 0.4rem);
    background-repeat: no-repeat, no-repeat;
  }
  .note--1 .note__link { gap: 0; }
  .note--1 .note__quote { line-height: 1.625rem; }
  .note--1 .note__who { line-height: 1.625rem; }
  .note--2 .note__link { background: var(--note-green); }
  .note--3 .note__link { background: var(--note-yellow); border-radius: 2px 2px 14px 2px; }
  .note--4 .note__link { background: var(--note-pink); }
  .note__quote { font-size: var(--font-size-sub, 1.25rem); line-height: var(--leading-sub, 1.3); font-weight: var(--weight-medium); letter-spacing: -0.005em; text-wrap: balance; }
  .note__who { display: block; font-size: var(--font-size-caption, 0.75rem); line-height: var(--leading-caption, 1.45); color: var(--color-text); }
  .note__who svg { width: 14px; height: 14px; display: inline-block; vertical-align: -2px; margin-right: 4px; color: var(--color-accent-text); }
  .note__link:hover .note__quote, .note__link:focus-visible .note__quote { text-decoration: underline; text-decoration-thickness: var(--hairline); text-underline-offset: 0.18em; }
  .note__link:focus-visible { box-shadow: var(--note-shadow), var(--focus-ring); }
  @media (hover: hover) and (prefers-reduced-motion: no-preference) {
    .note:hover { rotate: 0deg; translate: 0 -4px; }
    .note--2:hover, .note--4:hover { translate: 0 calc(var(--space-4) - 4px); }
    .note:hover .note__link { box-shadow: var(--note-shadow-lift); }
  }
  .board__ring { position: absolute; z-index: 0; width: 112px; height: 112px; right: var(--space-4); bottom: var(--space-3); color: var(--note-ring); opacity: .5; pointer-events: none; }
  .board__foot { position: relative; z-index: 1; margin-top: var(--space-7); font-size: var(--font-size-caption, 0.75rem); line-height: var(--leading-caption, 1.45); color: var(--color-text); max-width: 46ch; }
  @media (prefers-reduced-motion: no-preference) {
    @keyframes note-pin { from { opacity: 0; translate: 0 -10px; } }
    .js .note { animation: note-pin var(--duration-4) var(--ease-out) both; }
    .js .note--2 { animation-delay: 80ms; } .js .note--3 { animation-delay: 160ms; } .js .note--4 { animation-delay: 240ms; }
    .js .note--2, .js .note--4 { animation-name: note-pin-low; }
    @keyframes note-pin-low { from { opacity: 0; translate: 0 calc(var(--space-4) - 10px); } }
  }
  @media (max-width: 30rem) {
    .board { padding: var(--space-4) var(--space-3) var(--space-4); margin-inline: calc(var(--space-1) * -1); }
    .board__notes { gap: var(--space-5) var(--space-3); }
    .note__link { padding: var(--space-4) var(--space-3) var(--space-3); }
    .note__quote { font-size: var(--font-size-body, 1rem); line-height: var(--leading-sub, 1.3); }
    .note__ctx { display: none; }
    .board__ring { width: 84px; height: 84px; right: var(--space-2); bottom: var(--space-6); }
  }

  /* Seat finder: chips, 44px tall on touch. */
  .seat-finder { display: grid; gap: var(--space-4) var(--space-7); padding-bottom: var(--space-5); border-bottom: var(--rule-heavy) solid var(--color-text); }
  @media (min-width: 64rem) { .seat-finder { grid-template-columns: auto minmax(0, 1fr); align-items: end; } }
  .seat-finder__title { margin: 0; font-size: var(--font-size-sub, 1.25rem); line-height: var(--leading-sub, 1.3); font-weight: var(--weight-medium); letter-spacing: 0; }
  .seat-finder__groups { display: grid; gap: var(--space-4); }
  @media (min-width: 64rem) { .seat-finder__groups { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: var(--space-4) var(--space-6); } }
  .seat-finder__group { display: grid; gap: var(--space-2); align-content: start; }
  .seat-finder__label { font-size: var(--font-size-small, 0.875rem); font-weight: var(--weight-medium); color: var(--color-text); }
  .seat-finder__chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--space-2); }
  .seat-chip {
    display: inline-flex; align-items: center; min-height: var(--control-height); padding: 0 var(--space-4);
    border-radius: var(--radius-pill); background: var(--color-surface); color: var(--color-text);
    box-shadow: inset 0 0 0 var(--hairline) var(--color-border-strong);
    font-size: var(--font-size-small, 0.875rem); font-weight: var(--weight-medium); text-decoration: none; white-space: nowrap;
    transition: background var(--motion-fast) var(--ease-out), box-shadow var(--motion-fast) var(--ease-out);
  }
  .seat-chip:hover { background: var(--color-accent-subtle); box-shadow: inset 0 0 0 var(--hairline) var(--color-accent); }
  @media (min-width: 64rem) { .seat-chip { min-height: 2.5rem; } }

  /* Notice bar: crisp, calm, one line. */
  .ribbon { padding-block: var(--space-2); background: var(--color-bg-subtle); }
  .ribbon__inner { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: var(--space-1) var(--space-3); text-align: center; }
  .ribbon__badge { display: inline-flex; align-items: center; gap: var(--space-2); font-weight: var(--weight-medium); }
  .ribbon__badge::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--crema-8); flex: none; }
  .ribbon a { display: inline-flex; align-items: center; min-height: 24px; }
  @media (max-width: 63.99rem) {
    .ribbon { white-space: normal; overflow: visible; padding-block: var(--space-1); }
    .ribbon__inner { display: block; }
    .ribbon__inner > * { display: inline; }
    .ribbon__inner > * + * { margin-inline-start: 0.3em; }
    .ribbon__badge::before { display: inline-block; margin-right: var(--space-2); vertical-align: 1px; }
    .ribbon a { display: inline-block; padding: 0 var(--space-1); min-height: 24px; line-height: 24px; }
  }

  /* Small-target floor (WCAG 2.5.8): breadcrumbs, footer RSS, checkboxes. */
  .breadcrumb a { display: inline-flex; align-items: center; min-height: 24px; }
  .footer-links li a { min-width: 24px; justify-content: center; }
  .check input[type="checkbox"], .check input[type="radio"] { width: 24px; height: 24px; }

  /* Reveal retired (2026-10-16): story lists and cards are content, never hidden waiting for a scroll event.
     Motion now lives where it means something: the board's notes being pinned, and hover lifts. */
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
}
@layer components {
  .active-filters { list-style: none; margin: var(--space-3) 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--space-2); }
  .seat-chip--on { background: var(--color-accent-subtle); box-shadow: inset 0 0 0 var(--hairline) var(--color-accent); gap: var(--space-2); }
  .tabs-text a { display: inline-flex; align-items: center; justify-content: center; min-width: var(--control-height); min-height: var(--control-height); }
}
@layer components {
  .illus-note { font-style: normal; color: var(--color-text); font-size: var(--font-size-small, 0.875rem); padding-left: var(--space-3); border-left: var(--rule-heavy) solid var(--crema-6); }
}
@layer components {
  .field + [data-path-panel], [data-path-panel] + [data-path-panel] { margin-top: var(--space-6); }
  .form-step .field + .field { margin-top: var(--space-6); }
}
@layer components {
  /* 24px minimum target for inline byline and badge links (WCAG 2.5.8). */
  .byline__name, .byline__verify, .nav-quiet, .profile-facts a.badge { display: inline-flex; align-items: center; min-height: 24px; }
  .byline__text { align-items: flex-start; }
  .checklist li a, .share-aside li a { padding-block: 4px; }
}
@layer components {
  /* Contributor guide: format prompts read as a card you could answer, not as pull quotes. */
  .format-prompt { margin-top: var(--space-3); padding: var(--space-4) var(--space-5); background: var(--note-yellow); border-radius: 3px; box-shadow: var(--note-shadow); font-size: var(--font-size-body, 1rem); line-height: var(--leading-body, 1.55); color: var(--color-text); max-width: 60ch; rotate: -0.4deg; }
  .format-prompt__label { display: block; margin-bottom: var(--space-1); font-size: var(--font-size-small, 0.875rem); font-weight: var(--weight-medium); }
}

/* =========== Flagship Blog Hub & Article System (hr_blog, Oct 2026) =========== */
@layer components {
  .is-hidden { display: none !important; }

  /* Blog Hub Hero */
  .hr-blog-hero {
    padding-block: clamp(2.25rem, 4.5vw, 4rem) clamp(2.5rem, 5vw, 4rem);
    background: var(--color-bg-subtle);
    border-bottom: var(--hairline) solid var(--color-border);
  }
  .hr-blog-hero__grid {
    display: grid;
    gap: var(--space-7);
    grid-template-columns: minmax(0, 1fr);
    align-items: center;
  }
  @media (min-width: 64rem) {
    .hr-blog-hero__grid {
      grid-template-columns: minmax(0, 6fr) minmax(0, 6fr);
      gap: var(--space-8);
    }
  }
  .hr-blog-hero__title {
    margin-top: var(--space-2);
    font-size: var(--font-size-display);
    line-height: var(--leading-display);
    letter-spacing: var(--tracking-display);
    font-weight: var(--weight-semibold);
  }
  .hr-blog-hero__title em {
    font-style: italic;
    color: var(--color-accent-text);
  }
  .hr-blog-hero__lede {
    margin-top: var(--space-4);
    font-size: var(--font-size-lead);
    line-height: var(--leading-body);
    color: var(--color-text-muted);
    max-width: 58ch;
  }
  .hr-blog-hero__card {
    margin: 0;
    padding: var(--space-4);
    border-radius: var(--radius-panel);
    background: var(--color-surface);
    box-shadow: var(--shadow-issue);
    display: grid;
    gap: var(--space-3);
  }
  .hr-blog-hero__img {
    width: 100%;
    aspect-ratio: 1200 / 630;
    object-fit: cover;
    border-radius: var(--radius-3);
    background: var(--color-bg-subtle);
    box-shadow: var(--shadow-hairline);
  }
  .hr-blog-hero__cap {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-2) var(--space-4);
    font-size: var(--font-size-small);
    line-height: var(--leading-small);
    color: var(--color-text);
  }
  .hr-blog-hero__cap > span { max-width: 52ch; color: var(--color-text-muted); }

  /* Blog Hub Search & Facets */
  .hr-blog-controls {
    padding-top: var(--space-6);
    display: grid;
    gap: var(--space-4);
  }
  .hr-blog-search-form {
    display: grid;
    gap: var(--space-4);
    padding: var(--space-5);
    border-radius: var(--radius-panel);
    background: var(--color-surface);
    box-shadow: var(--shadow-hairline);
  }
  .hr-blog-search { width: 100%; max-width: none; margin: 0; }
  .hr-blog-search .input { width: 100%; }
  .hr-blog-clusters__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2);
  }
  .hr-blog-chip-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.5rem;
    height: 1.375rem;
    padding-inline: var(--space-2);
    margin-inline-start: var(--space-2);
    border-radius: var(--radius-pill);
    background: var(--color-bg-subtle);
    font-size: var(--font-size-caption);
    color: var(--color-text);
  }
  .seat-chip--on .hr-blog-chip-count {
    background: var(--color-surface);
    color: var(--color-accent-text);
  }
  .hr-blog-facets {
    display: grid;
    gap: var(--space-4);
    grid-template-columns: minmax(0, 1fr);
    padding-top: var(--space-4);
    border-top: var(--hairline) solid var(--color-border);
    align-items: end;
  }
  @media (min-width: 48rem) {
    .hr-blog-facets {
      grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
    }
  }
  .hr-blog-facets__actions {
    display: flex;
    gap: var(--space-2);
    align-items: center;
  }
  .hr-blog-status {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-2);
  }

  /* Blog Hub Grid & Cards */
  .hr-blog-grid {
    display: grid;
    gap: var(--space-6);
    grid-template-columns: minmax(0, 1fr);
  }
  @media (min-width: 48rem) {
    .hr-blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  }
  @media (min-width: 72rem) {
    .hr-blog-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  }
  .hr-blog-card {
    display: flex;
    flex-direction: column;
    border-radius: var(--radius-card);
    background: var(--color-surface);
    box-shadow: var(--shadow-hairline);
    overflow: hidden;
    transition: box-shadow var(--motion-base) var(--ease-out), translate var(--motion-base) var(--ease-out);
  }
  @media (hover: hover) and (prefers-reduced-motion: no-preference) {
    .hr-blog-card:hover {
      box-shadow: var(--shadow-lift);
      translate: 0 -2px;
    }
  }
  @media (min-width: 72rem) {
    .hr-blog-card--featured:not([hidden]) {
      grid-column: span 3;
      display: grid;
      grid-template-columns: minmax(0, 6fr) minmax(0, 6fr);
      align-items: stretch;
    }
  }
  .hr-blog-card__media {
    display: block;
    background: var(--color-bg-subtle);
    border-bottom: var(--hairline) solid var(--color-border);
    overflow: hidden;
  }
  @media (min-width: 72rem) {
    .hr-blog-card--featured .hr-blog-card__media {
      border-bottom: 0;
      border-right: var(--hairline) solid var(--color-border);
    }
  }
  .hr-blog-card__media img {
    width: 100%;
    height: 100%;
    aspect-ratio: 1200 / 630;
    object-fit: cover;
  }
  .hr-blog-card__body {
    padding: var(--space-5);
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
    flex: 1;
  }
  @media (min-width: 72rem) {
    .hr-blog-card--featured .hr-blog-card__body {
      padding: var(--space-6);
      justify-content: center;
    }
    .hr-blog-card--featured .hr-blog-card__title {
      font-size: var(--font-size-title);
      line-height: var(--leading-title);
    }
  }
  .hr-blog-card__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--space-2);
  }
  .hr-blog-jur-pill, .hr-blog-volatility {
    display: inline-flex;
    align-items: center;
    min-height: 1.625rem;
    padding-inline: var(--space-3);
    border-radius: var(--radius-pill);
    background: var(--color-bg-subtle);
    box-shadow: inset 0 0 0 var(--hairline) var(--color-border);
    font-size: var(--font-size-caption);
    font-weight: var(--weight-medium);
    color: var(--color-text);
  }
  .hr-blog-code {
    margin-inline-start: auto;
    font-size: var(--font-size-caption);
    font-family: var(--font-mono);
    color: var(--color-text-subtle);
  }
  .hr-blog-card__title {
    font-size: var(--font-size-sub);
    line-height: var(--leading-sub);
    font-weight: var(--weight-semibold);
    letter-spacing: var(--tracking-heading);
  }
  .hr-blog-card__title a {
    text-decoration: none;
    color: var(--color-text);
  }
  .hr-blog-card__title a:hover {
    color: var(--color-accent-text);
    text-decoration: underline;
  }
  .hr-blog-card__dek {
    font-size: var(--font-size-small);
    line-height: var(--leading-small);
    color: var(--color-text-muted);
  }
  .hr-blog-card__artifact {
    display: flex;
    align-items: flex-start;
    gap: var(--space-2);
    padding: var(--space-2) var(--space-3);
    border-radius: var(--radius-2);
    background: var(--color-bg-subtle);
    font-size: var(--font-size-caption);
    line-height: var(--leading-caption);
    color: var(--color-text);
  }
  .hr-blog-card__artifact svg {
    width: 15px;
    height: 15px;
    flex: none;
    margin-top: 2px;
    color: var(--color-accent-text);
  }
  .hr-blog-card__foot {
    margin-top: auto;
    padding-top: var(--space-3);
    border-top: var(--hairline) solid var(--color-border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-3);
  }
  .hr-blog-card__read {
    font-size: var(--font-size-caption);
    font-weight: var(--weight-medium);
    color: var(--color-text);
    white-space: nowrap;
  }

  /* Editorial Desk Writer Cards */
  .hr-blog-writers-grid {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: var(--space-4);
    grid-template-columns: minmax(0, 1fr);
  }
  @media (min-width: 48rem) {
    .hr-blog-writers-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  }
  @media (min-width: 72rem) {
    .hr-blog-writers-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  }
  .hr-blog-writer-card {
    padding: var(--space-5);
    border-radius: var(--radius-card);
    background: var(--color-surface);
    box-shadow: var(--shadow-hairline);
    display: grid;
    gap: var(--space-3);
    align-content: start;
  }
  .hr-blog-writer-card__bio {
    font-size: var(--font-size-small);
    line-height: var(--leading-small);
    color: var(--color-text-muted);
  }

  /* Blog Post Header & Banner */
  .hr-blog-banner {
    margin: var(--space-6) 0 0;
    padding: var(--space-3);
    border-radius: var(--radius-card);
    background: var(--color-surface);
    box-shadow: var(--shadow-issue);
  }
  .hr-blog-banner img {
    width: 100%;
    aspect-ratio: 1200 / 630;
    object-fit: cover;
    border-radius: var(--radius-2);
    background: var(--color-bg-subtle);
    box-shadow: var(--shadow-hairline);
  }
  .hr-blog-banner__cap {
    margin-top: var(--space-3);
    padding-inline: var(--space-1);
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: var(--space-2) var(--space-4);
    font-size: var(--font-size-caption);
    line-height: var(--leading-caption);
    color: var(--color-text);
  }

  /* Operational Context Bar */
  .hr-blog-ctx {
    display: grid;
    gap: var(--space-4);
    grid-template-columns: minmax(0, 1fr);
    padding: var(--space-4) var(--space-5);
    margin-bottom: var(--space-6);
    border-radius: var(--radius-card);
    background: var(--color-bg-subtle);
    box-shadow: var(--shadow-hairline);
  }
  @media (min-width: 40rem) {
    .hr-blog-ctx { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  }
  .hr-blog-ctx dt {
    font-size: var(--font-size-caption);
    font-weight: var(--weight-semibold);
    text-transform: uppercase;
    letter-spacing: var(--tracking-caps);
    color: var(--color-text);
  }
  .hr-blog-ctx dd {
    margin-top: var(--space-1);
    font-size: var(--font-size-small);
    line-height: var(--leading-small);
    color: var(--color-text);
  }

  /* AEO Answer Capsule */
  .hr-blog-capsule {
    padding: var(--space-5);
    margin-bottom: var(--space-6);
    border-radius: var(--radius-card);
    background: var(--color-accent-subtle);
    box-shadow: inset 0 0 0 var(--hairline) var(--color-accent);
  }
  .hr-blog-capsule__head {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    margin-bottom: var(--space-2);
  }
  .hr-blog-capsule__tag {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    font-size: var(--font-size-caption);
    font-weight: var(--weight-semibold);
    letter-spacing: var(--tracking-caps);
    text-transform: uppercase;
    color: var(--color-accent-text);
  }
  .hr-blog-capsule__tag svg {
    width: 16px;
    height: 16px;
    flex: none;
  }
  .hr-blog-capsule__body {
    font-size: var(--font-size-body);
    line-height: var(--leading-body);
    color: var(--color-text);
  }
  .hr-blog-capsule__body p + p { margin-top: var(--space-3); }

  /* AI Search Trap Callout */
  .hr-blog-trap {
    padding: var(--space-5);
    margin-bottom: var(--space-7);
    border-radius: var(--radius-card);
    background: var(--color-surface);
    box-shadow: var(--shadow-hairline);
    border-left: var(--rule-heavy) solid var(--color-accent);
  }
  .hr-blog-trap__title {
    font-size: var(--font-size-sub);
    line-height: var(--leading-sub);
    font-weight: var(--weight-semibold);
    margin-bottom: var(--space-4);
  }
  .hr-blog-trap__grid {
    display: grid;
    gap: var(--space-4);
    grid-template-columns: minmax(0, 1fr);
  }
  @media (min-width: 44rem) {
    .hr-blog-trap__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  }
  .hr-blog-trap__col {
    padding: var(--space-4);
    border-radius: var(--radius-2);
    display: grid;
    gap: var(--space-2);
    align-content: start;
    font-size: var(--font-size-small);
    line-height: var(--leading-small);
  }
  .hr-blog-trap__col--myth {
    background: var(--color-danger-bg);
    color: var(--color-text);
  }
  .hr-blog-trap__col--reality {
    background: var(--color-success-bg);
    color: var(--color-text);
  }
  .hr-blog-trap__label {
    font-size: var(--font-size-caption);
    font-weight: var(--weight-semibold);
    text-transform: uppercase;
    letter-spacing: var(--tracking-caps);
  }
  .hr-blog-trap__col--myth .hr-blog-trap__label { color: var(--color-danger-text); }
  .hr-blog-trap__col--reality .hr-blog-trap__label { color: var(--color-success-text); }

  /* Prose Modules, Portable Artifacts & Responsive Tables */
  .hr-blog-prose .hr-blog-preamble {
    font-size: var(--font-size-small);
    line-height: var(--leading-small);
    color: var(--color-text-muted);
    padding-left: var(--space-3);
    border-left: var(--hairline) solid var(--color-border-strong);
    margin-bottom: var(--space-4);
  }
  .hr-blog-artifact {
    margin-block: var(--space-6);
    padding: var(--space-5);
    border-radius: var(--radius-card);
    background: var(--color-surface);
    box-shadow: var(--shadow-issue);
  }
  .hr-blog-artifact__head {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: var(--space-2);
    padding-bottom: var(--space-3);
    margin-bottom: var(--space-4);
    border-bottom: var(--rule-heavy) solid var(--color-text);
  }
  .hr-blog-artifact__eyebrow {
    font-size: var(--font-size-caption);
    font-weight: var(--weight-semibold);
    text-transform: uppercase;
    letter-spacing: var(--tracking-caps);
    color: var(--color-accent-text);
  }
  .hr-blog-artifact__title {
    font-size: var(--font-size-sub);
    line-height: var(--leading-sub);
    font-weight: var(--weight-semibold);
    margin: 0;
  }
  .hr-blog-table-wrap {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .hr-blog-prose table {
    width: 100%;
    border-collapse: collapse;
    font-size: var(--font-size-small);
    line-height: var(--leading-small);
  }
  .hr-blog-prose th,
  .hr-blog-prose td {
    text-align: left;
    vertical-align: top;
    padding: var(--space-3);
    border-bottom: var(--hairline) solid var(--color-border);
  }
  .hr-blog-prose th {
    font-weight: var(--weight-semibold);
    color: var(--color-text);
    background: var(--color-bg-subtle);
    border-bottom: var(--hairline) solid var(--color-border-strong);
  }
  .hr-blog-prose pre {
    padding: var(--space-4);
    border-radius: var(--radius-2);
    background: var(--color-bg-subtle);
    box-shadow: var(--shadow-hairline);
    font-size: var(--font-size-small);
    line-height: var(--leading-small);
    overflow-x: auto;
  }

  /* Stakeholder Proof Grid */
  .hr-blog-stakeholders {
    display: grid;
    gap: var(--space-4);
    grid-template-columns: minmax(0, 1fr);
    margin-block: var(--space-5);
  }
  @media (min-width: 40rem) {
    .hr-blog-stakeholders { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  }
  .hr-blog-stakeholder {
    padding: var(--space-4);
    border-radius: var(--radius-2);
    background: var(--color-bg-subtle);
    box-shadow: var(--shadow-hairline);
    font-size: var(--font-size-small);
    line-height: var(--leading-small);
  }
  .hr-blog-stakeholder strong {
    display: block;
    margin-bottom: var(--space-1);
    font-weight: var(--weight-semibold);
    color: var(--color-accent-text);
  }

  /* Sources, FAQ & Disclaimer */
  .hr-blog-sources,
  .hr-blog-faq {
    margin-top: var(--space-7);
    padding-top: var(--space-6);
    border-top: var(--hairline) solid var(--color-border-strong);
  }
  .hr-blog-sources h2,
  .hr-blog-faq h2 {
    font-size: var(--font-size-heading);
    line-height: var(--leading-heading);
    font-weight: var(--weight-semibold);
    margin-bottom: var(--space-4);
  }
  .hr-blog-sources__list {
    padding-left: 1.25rem;
    display: grid;
    gap: var(--space-2);
    font-size: var(--font-size-small);
    line-height: var(--leading-small);
  }
  .hr-blog-sources__list a {
    color: var(--color-accent-text);
    font-weight: var(--weight-medium);
    word-break: break-word;
  }
  .hr-blog-sources__note { color: var(--color-text-muted); }

  .hr-blog-faq__list {
    display: grid;
    gap: var(--space-3);
  }
  .hr-blog-faq__item {
    border-radius: var(--radius-2);
    background: var(--color-surface);
    box-shadow: var(--shadow-hairline);
    padding: var(--space-4) var(--space-5);
  }
  .hr-blog-faq__item summary {
    cursor: pointer;
    font-size: var(--font-size-body);
    font-weight: var(--weight-semibold);
    line-height: var(--leading-sub);
    color: var(--color-text);
    min-height: 28px;
  }
  .hr-blog-faq__ans {
    margin-top: var(--space-3);
    padding-top: var(--space-3);
    border-top: var(--hairline) solid var(--color-border);
    font-size: var(--font-size-body);
    line-height: var(--leading-body);
    color: var(--color-text-muted);
  }
  .hr-blog-faq__ans p + p { margin-top: var(--space-3); }

  .hr-blog-disclaimer {
    margin-top: var(--space-6);
    padding: var(--space-5);
    border-radius: var(--radius-card);
    background: var(--color-bg-subtle);
    box-shadow: var(--shadow-hairline);
    font-size: var(--font-size-small);
    line-height: var(--leading-small);
    color: var(--color-text);
  }
  .hr-blog-author-box {
    padding-top: var(--space-4);
    border-top: var(--hairline) solid var(--color-border);
  }
  .hr-blog-author-box__bio {
    display: block;
    margin-top: var(--space-1);
    font-size: var(--font-size-caption);
    line-height: var(--leading-caption);
    color: var(--color-text-muted);
  }
  .hr-blog-forward {
    padding: var(--space-4);
    border-radius: var(--radius-2);
    background: var(--note-yellow);
    box-shadow: var(--note-shadow);
    font-size: var(--font-size-caption);
    line-height: var(--leading-caption);
    color: var(--color-text);
  }
  .hr-blog-forward__label {
    display: block;
    font-weight: var(--weight-semibold);
    text-transform: uppercase;
    letter-spacing: var(--tracking-caps);
    margin-bottom: var(--space-1);
  }
  .hr-blog-story-bridge {
    padding-top: var(--space-6);
    border-top: var(--hairline) solid var(--color-border);
  }
}
