@layer base, layout, components, utility;

/* ============================================================
   DESIGN CORE — TOKENS
   The non-color primitives (ported verbatim from crucix's tokens.css — sizing, type scale, radii,
   glass/shadow/glow recipe, motion, layout, z-index, content-type hues) plus the SLOT-ROLE colour
   contract every skin overrides. Primitives keep their crucix names (a size is a size on every site);
   colours that must vary per site route through the slot roles below instead — that split is the
   whole point of this file: `components.css` references ONLY these two sets, never a raw crucix ramp
   (`--mint-*`, `--color-text-*`, ...), so it re-skins correctly with zero rewrite (D3/D4).
   ============================================================ */

:root {
  /* ---------- SPACING — dense scale (crucix tokens.css:162-174) ---------- */
  --size-0: 0.125rem; /*  2px — hairline gap */
  --size-1: 0.25rem; /*  4px */
  --size-2: 0.375rem; /*  6px */
  --size-3: 0.5rem; /*  8px */
  --size-4: 0.75rem; /* 12px */
  --size-5: 1rem; /* 16px */
  --size-6: 1.5rem; /* 24px */
  --size-7: 2rem; /* 32px */
  --size-8: 3rem; /* 48px */
  --size-9: 4rem; /* 64px */

  /* Minimum interactive hit-area — WCAG 2.5.8 Target Size (Minimum). */
  --tap-min: 24px;

  /* ---------- RADII (crucix tokens.css:180-184) ---------- */
  --radius-0: 0; /* badges, chips */
  --radius-1: 2px; /* panels, cards */
  --radius-2: 3px; /* buttons, inputs */
  --radius-3: 6px; /* modals, large panels */

  /* ---------- TYPE SCALE — dense (crucix tokens.css:186-208) ----------
     Every step multiplies by --fs-scale (default 1) so a skin loosens the WHOLE type ramp with ONE
     knob (oldbooks sets it > 1 for its serif) without touching the fixed control/row-height grid below
     — scaling those would misalign the dense data tables. The px comments are at scale 1.
     --fs-floor (default 0 = off) is the SMALLEST step a skin allows: every step is max(floor, step), so a skin
     with a dense root (veritart: 13px, where --fs-micro is 8.8px) lifts its sub-floor steps with ONE knob, and a
     rule sized in em reads `max(var(--fs-floor), <n>em)` to honour it too. */
  --fs-scale: 1;
  --fs-floor: 0px;
  --fs-micro: calc(max(var(--fs-floor), 0.675rem * var(--fs-scale))); /* 10.8px — chip text, dense meta */
  --fs-xs: calc(max(var(--fs-floor), 0.75rem * var(--fs-scale))); /* 12px — meta, table cells */
  --fs-sm: calc(max(var(--fs-floor), 0.85rem * var(--fs-scale))); /* 13.6px — default UI text */
  --fs-base: calc(max(var(--fs-floor), 0.9rem * var(--fs-scale))); /* 14.4px — body copy */
  --fs-md: calc(max(var(--fs-floor), 0.975rem * var(--fs-scale))); /* 15.6px — lede, subhead */
  --fs-lg: calc(max(var(--fs-floor), 1.125rem * var(--fs-scale))); /* 18px — h3 */
  --fs-xl: calc(max(var(--fs-floor), 1.375rem * var(--fs-scale))); /* 22px — h2 */
  --fs-2xl: calc(max(var(--fs-floor), 1.75rem * var(--fs-scale))); /* 28px — h1 */
  --fs-3xl: calc(max(var(--fs-floor), 2.25rem * var(--fs-scale))); /* 36px — hero */
  --fs-4xl: calc(max(var(--fs-floor), 3rem * var(--fs-scale))); /* 48px — display */

  --lh-tight: 1.1;
  --lh-snug: 1.3;
  --lh-body: 1.5;
  --lh-loose: 1.65;

  --tracking-tight: -0.02em;
  --tracking-normal: 0;
  --tracking-mono: 0.02em;
  --tracking-caps: 0.12em;

  /* ---------- GLASS (backdrop-blur surfaces) (crucix tokens.css:142-152) ----------
     A dark-navy glass recipe by default — the ambient chrome identity (D2). Light skins neutralize
     these toward their own surface colour rather than leaving a navy tint behind cream/paper (P6). */
  --glass-subtle: oklch(14% 0.02 250 / 0.3);
  --glass-medium: oklch(14% 0.02 250 / 0.55);
  --glass-strong: oklch(14% 0.02 250 / 0.75);
  --glass-blur: 20px;
  --glass-blur-soft: 12px;
  --glass-blur-chip: 4px;

  /* ---------- SHADOW + GLOW (crucix tokens.css:154-160) ---------- */
  --glow-accent: 0 0 32px -8px oklch(85% 0.17 170 / 0.35);
  --glow-accent-sm: 0 0 16px -6px oklch(85% 0.17 170 / 0.25);
  --glow-cyan: 0 0 32px -8px oklch(78% 0.12 220 / 0.3);
  --shadow-1: 0 1px 2px oklch(0% 0 0 / 0.4);
  --shadow-2: 0 4px 16px oklch(0% 0 0 / 0.5);
  --shadow-3: 0 12px 40px oklch(0% 0 0 / 0.6);

  /* ---------- EASINGS + DURATIONS (crucix tokens.css:210-234) ---------- */
  --ease-in: cubic-bezier(0.4, 0, 1, 1);
  --ease-out: cubic-bezier(0, 0, 0.2, 1);
  --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
  --dur-fast: 120ms;
  --dur-base: 200ms;
  --dur-slow: 400ms;

  /* ---------- LAYOUT ---------- */
  --layout-max: 1440px;
  --layout-reading: 68ch;
  --sidebar-w: 220px;
  --header-h: 44px;

  /* ---------- CONTROL / ROW HEIGHTS — fixed grid for alignment ---------- */
  --h-ctrl-xs: 22px; /* chips, dense buttons */
  --h-ctrl-sm: 26px; /* default buttons, inputs */
  --h-ctrl-md: 30px; /* primary actions, bigger inputs */
  --h-ctrl-lg: 36px; /* rare — form submit row */
  --h-row-xs: 24px; /* ultra-dense log rows */
  --h-row-sm: 28px; /* default table row */
  --h-row-md: 32px; /* card list row */

  /* ---------- Z ---------- */
  --z-base: 1;
  --z-sticky: 10;
  --z-dropdown: 20;
  --z-modal: 40;
  --z-toast: 50;
  --z-tooltip: 60;

  /* ---------- PALETTE PRIMITIVE — a fixed hue more than one fact derives from ----------
     --violet-300 is the violet the prompt content type wears (--c-prompt below) AND what a skin uses as a plain
     violet tint (veritart's persona glitch/edge shadows) — one value, two meanings, so ONE primitive both alias. */
  --violet-300: oklch(78% 0.15 300);

  /* ---------- CONTENT-TYPE HUES (crucix tokens.css:50-57) ----------
     Each content type keeps its own hue everywhere, on every skin — a taxonomy colour, not a brand
     colour, so it is a primitive (fixed) rather than a slot role (overridden). */
  --c-article: oklch(85% 0.17 170); /* mint    — articles */
  --c-prompt: var(--violet-300); /* violet  — prompts */
  --c-tool: oklch(80% 0.14 220); /* cyan    — tools */
  --c-skill: oklch(80% 0.1 55); /* peach   — skills */
  --c-page: oklch(80% 0.13 25); /* rose    — static pages */
  --c-media: oklch(80% 0.14 330); /* magenta — media */
  --c-mcp: oklch(82% 0.18 145); /* lime    — mcp events */
  --c-api: oklch(80% 0.14 260); /* indigo  — api events */

  /* ============================================================
     SLOT-ROLE COLOUR CONTRACT
     Neutral dark fallbacks only — every skin (design/skins/*.css) OVERRIDES every one of these in its
     own :root{}, appended after this file (later wins the cascade at equal specificity). A value here
     should never be visible in a real render; it exists so components.css/the coverage guard have
     something defined even before a skin is selected.
     ============================================================ */
  --color-surface: oklch(20% 0 0);
  --color-surface-raised: oklch(26% 0 0);
  --color-ink: oklch(95% 0 0);
  --color-ink-muted: oklch(72% 0 0);
  --color-border: oklch(55% 0 0 / 0.16);
  --color-border-hover: oklch(65% 0 0 / 0.3);
  --color-accent: oklch(75% 0.08 240);
  --color-accent-ink: oklch(15% 0 0);
  --color-link: var(--color-accent);
  --color-danger: oklch(65% 0.2 25);
  --color-success: oklch(75% 0.15 155);
  --color-warning: oklch(78% 0.14 85);
  --color-info: oklch(75% 0.1 220);
  --font-display: system-ui, sans-serif;
  --font-body: system-ui, sans-serif;
  --font-mono: ui-monospace, monospace;

  /* ---------- ADMIN ATMOSPHERE (per-skin) ----------
     The admin canvas + its ambient glow, expressed as slot-like knobs so `body.admin`
     (admin-chrome.ts) wears each site's OWN atmosphere instead of a hard-coded one. Neutral
     defaults here = a flat page on the surface colour with no glow (what oldbooks/seedy keep); a
     skin that has an ambient identity (veritart) overrides `--admin-ambient` and deepens
     `--admin-canvas` below its surfaces so the admin reads as part of that site, not a generic
     dashboard. Kept OUT of the `components.css` navy-literal firewall on purpose: the glow hues
     live in the skin, never the shared component library. */
  --admin-canvas: var(--color-surface);
  --admin-ambient: none;

  /* ============================================================
     TRIO-COMPAT ALIASES (crucix tokens.css:244-289)
     `--space-*`/`--text-*`/`--radius-sm/-md` map onto the primitives above so markup ported from the
     trio-compat vocabulary keeps working without a rewrite. Value-preserving (--space-4 = 1rem, same
     as --size-5).
     ============================================================ */
  --text-sm: var(--fs-sm);
  --text-base: var(--fs-base);
  --text-lg: var(--fs-lg);
  --text-xl: var(--fs-xl);
  --text-2xl: var(--fs-2xl);
  --leading-normal: var(--lh-body);
  --weight-normal: 400;
  --weight-bold: 700;

  --space-0: 0;
  --space-1: var(--size-1);
  --space-2: var(--size-3);
  --space-3: var(--size-4);
  --space-4: var(--size-5);
  --space-5: var(--size-6);
  --space-6: var(--size-7);
  --space-7: var(--size-8);
  --space-8: var(--size-9);

  --radius-sm: var(--radius-1);
  --radius-md: var(--radius-2);

  --measure: var(--layout-reading);
  --container: var(--layout-max);
}

@font-face {
  font-family: 'Be Vietnam Pro Fallback';
  font-style: normal;
  font-weight: 400;
  src: local('Arial'), local('ArialMT'), local('Liberation Sans'), local('LiberationSans'), local('Arimo'), local('Helvetica');
  size-adjust: 110.26%;
  ascent-override: 90.70%;
  descent-override: 24.03%;
  line-gap-override: 0%;
  unicode-range: U+0000-02CC, U+02CE-02D7, U+02DA, U+02DC-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1D00-1DBF, U+1E00-1EFF, U+2000-206F, U+20A0-20C0, U+2113, U+2122, U+2191, U+2193, U+2212, U+2215, U+2C60-2C7F, U+A720-A7FF, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Be Vietnam Pro Fallback';
  font-style: normal;
  font-weight: 500;
  src: local('Arial'), local('ArialMT'), local('Liberation Sans'), local('LiberationSans'), local('Arimo'), local('Helvetica');
  size-adjust: 111.54%;
  ascent-override: 89.65%;
  descent-override: 23.76%;
  line-gap-override: 0%;
  unicode-range: U+0000-02CC, U+02CE-02D7, U+02DA, U+02DC-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1D00-1DBF, U+1E00-1EFF, U+2000-206F, U+20A0-20C0, U+2113, U+2122, U+2191, U+2193, U+2212, U+2215, U+2C60-2C7F, U+A720-A7FF, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Be Vietnam Pro Fallback';
  font-style: normal;
  font-weight: 600;
  src: local('Arial Bold'), local('Arial-BoldMT'), local('Liberation Sans Bold'), local('LiberationSans-Bold'), local('Arimo Bold'), local('Helvetica Bold');
  size-adjust: 104.31%;
  ascent-override: 95.87%;
  descent-override: 25.41%;
  line-gap-override: 0%;
  unicode-range: U+0000-02CC, U+02CE-02D7, U+02DA, U+02DC-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1D00-1DBF, U+1E00-1EFF, U+2000-206F, U+20A0-20C0, U+2113, U+2122, U+2191, U+2193, U+2212, U+2215, U+2C60-2C7F, U+A720-A7FF, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Be Vietnam Pro Fallback';
  font-style: normal;
  font-weight: 700;
  src: local('Arial Bold'), local('Arial-BoldMT'), local('Liberation Sans Bold'), local('LiberationSans-Bold'), local('Arimo Bold'), local('Helvetica Bold');
  size-adjust: 105.58%;
  ascent-override: 94.71%;
  descent-override: 25.10%;
  line-gap-override: 0%;
  unicode-range: U+0000-02CC, U+02CE-02D7, U+02DA, U+02DC-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1D00-1DBF, U+1E00-1EFF, U+2000-206F, U+20A0-20C0, U+2113, U+2122, U+2191, U+2193, U+2212, U+2215, U+2C60-2C7F, U+A720-A7FF, U+FEFF, U+FFFD;
}
/* ============================================================
   SKIN — veritart
   D146 (2026-11-21): the FINAL design system — graphite grounds, ONE Sakura-pink signal (hue 355), the
   ice → frost → pink film, Noto Serif Display for the display tier only. The design contract is
   sites/veritart.me/DESIGN.md; the role tokens live in sites/veritart.me/look/theme.css ([TOKENS]) and the
   component blocks in the engine look parts (packages/engine/src/look/css/) + sites/veritart.me/look/extra.css (D147). This skin carries only what the core SHARES with the admin: the
   slot-role values (the old [PALETTE] block of the overlay) and the --f-* role literals they resolve to, so
   theme-color.ts resolves --color-base here and admin + public move as one brand. The public layer may not
   redefine any token below (packages/engine/tests/design.test.ts).
   ============================================================ */
:root {
  /* the role literals the slots resolve to (their siblings live in look/theme.css [TOKENS]) */
  --f-sky: oklch(7.5% 0.012 245);
  --f-well: oklch(10.5% 0.01 250);
  --f-surface: oklch(14.5% 0.01 250);
  --f-raised: oklch(18% 0.012 250);
  --f-line: oklch(30% 0.014 245);
  --f-text: oklch(96% 0.005 260);
  --f-text-2: oklch(86% 0.006 250);
  --f-text-3: oklch(70% 0.008 250);
  --f-light-1: oklch(90% 0.01 260);
  --f-light-3: oklch(82% 0.08 230);
  --f-signal: oklch(72% 0.13 355);
  --f-signal-hi: oklch(80% 0.085 355);
  --f-glow-r: 8px;
  --f-glow: 0 0 var(--f-glow-r) color-mix(in oklch, var(--f-signal) 60%, transparent);
  --f-r-plate: 1px;
  --f-r-control: 2px;
  --f-kerb-w: 4px; /* the kerb ring's width ([PLATE]); here, not in look/theme.css, because its value equals the core
                     --glass-blur-chip, which this skin zeroes (an alias would read 0px) */
  --f-ease: cubic-bezier(.2,.7,.3,1);

  /* the slot roles (D146: the overlay's [PALETTE] mapping of the prod custom properties onto the roles) */
  --color-base: var(--f-sky);
  --color-surface: var(--f-surface);
  --color-surface-raised: var(--f-raised);
  --color-elevated: var(--f-raised);
  --color-accent-ink: var(--f-well);
  --color-ink: var(--f-text);
  --color-ink-muted: var(--f-text-2);
  --color-text-1: var(--f-text);
  --color-text-2: var(--f-text-2);
  --color-text-3: var(--f-text-3);
  --color-text-mute: var(--f-text-3);
  --color-accent: var(--f-signal);
  --color-accent-dim: var(--f-text-3);
  --color-accent2: var(--f-light-3);
  --color-info: var(--f-light-1);
  --color-success: var(--f-light-1);
  --color-warning: var(--f-light-3);
  --color-danger: var(--f-light-3);
  --color-border: var(--f-line);
  --color-border-hover: color-mix(in oklch, var(--f-signal) 55%, transparent);
  --color-border-accent: color-mix(in oklch, var(--f-signal) 35%, transparent);
  --color-border-strong: color-mix(in oklch, var(--f-signal) 65%, transparent);
  --violet-300: var(--f-signal-hi);
  --c-prompt: var(--f-signal);
  --glow-accent-sm: var(--f-glow);
  --glass-subtle: transparent;
  --glass-medium: color-mix(in oklch, var(--f-surface) 95%, transparent);
  --glass-strong: color-mix(in oklch, var(--f-surface) 97%, transparent);
  --glass-blur: 0px;
  --glass-blur-soft: 0px;
  --glass-blur-chip: 0px;
  --radius-0: var(--f-r-control);
  --radius-1: var(--f-r-plate);
  --radius-2: var(--f-r-control);
  --radius-3: var(--f-r-plate);
  --dur-fast: 180ms;
  --ease-out: var(--f-ease);
  --header-h: 3.5rem; /* ONE header height at every width ([CHROME]) */

  --font-display: 'Be Vietnam Pro', 'Be Vietnam Pro Fallback', system-ui, sans-serif;
  --font-body: 'Be Vietnam Pro', 'Be Vietnam Pro Fallback', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;
  /* F3a kept the 12px public text floor; D146 sets the floor to 0 — the FINAL type scale has no step under
     12px at the 16–17px root (sites/veritart.me/look/extra.css), and citation superscripts keep their own 12px floor there.
     The four small steps stay literal (F3c). */
  --fs-floor: 0px;
  --fs-micro: 12px;
  --fs-xs: 12px;
  --fs-sm: 12.5px;
  --fs-base: 13px;

  /* Admin ATMOSPHERE — the admin canvas is the public page's ground: the sky, with no ambient glow (the FINAL
     public body paints the flat sky, look/extra.css [BASE]). */
  --admin-canvas: var(--color-base);
  --admin-ambient: none;
  color-scheme: dark;
}
/* [TARGETS] THE tap-target minimum: 24 px for a fine pointer, 44 px for a coarse one (look/theme.css --f-target
   reads it). */
@media (pointer: coarse) { :root { --tap-min: 44px; } }

/* sites/veritart.me/look/extra.css — what only veritart has (D147): composed by look/compose.ts.
   First the site's own base in the core layers (@layer base / layout / components / utility — formerly styles/01…08, verbatim;
   compose keeps these blocks in those layers, under every look layer). Then the site's rules (formerly styles/11…26 minus
   what moved into the engine's parts), in their original order, wrapped by compose in @layer look.extra. A rule here that
   names a part's classes refines that part; it stays here because moving it would change which declaration wins.
   The authored compact breakpoint is the custom media query `--compact` (look/index.ts COMPACT_MEDIA). */

/* veritart public — @layer base: box-sizing reset, html/body, headings h1–h5, p, links, code, hr.
   Source order is cascade order (the former styles/ files follow in their old sequence). */

@layer base {
  *,
  :before,
  :after {
    box-sizing: border-box;
  }
  /* F4 — form controls take the page's font (the UA gives them its own family and a 13.33px size); a component
     rule (.input-group input, .btn, .mochi-btn …) still sets its own, layered above base. */
  button,
  input,
  select,
  textarea {
    font: inherit;
  }
  html {
    background: var(--color-base);
    color: var(--color-text-1);
    font-family: var(--font-body);
    font-size: 13px;
    line-height: var(--lh-body);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizelegibility;
    color-scheme: dark;
  }
  body {
    background: var(--admin-ambient), var(--color-base);
    min-height: 100vh;
    margin: 0;
  }
  h1,
  h2,
  h3,
  h4,
  h5,
  h6 {
    font-family: var(--font-display);
    font-weight: 600;
    line-height: var(--lh-tight);
    letter-spacing: var(--tracking-tight);
    color: var(--color-text-1);
    margin: 0;
  }
  h1 {
    font-size: var(--fs-2xl);
  }
  h2 {
    font-size: var(--fs-xl);
  }
  h3 {
    font-size: var(--fs-lg);
  }
  h4 {
    font-size: var(--fs-md);
  }
  h5 {
    font-size: var(--fs-sm);
    text-transform: uppercase;
    letter-spacing: var(--tracking-caps);
    color: var(--color-text-3);
    font-family: var(--font-mono);
    font-weight: 500;
  }
  p {
    color: var(--color-text-2);
    line-height: var(--lh-body);
    margin: 0;
  }
  a {
    color: var(--color-accent);
    text-underline-offset: 2px;
    transition: color var(--dur-fast) var(--ease-out);
    text-decoration: none;
  }
  a:hover {
    color: var(--color-accent-dim);
    text-decoration: underline;
  }
  code,
  pre,
  kbd,
  samp {
    font-family: var(--font-mono);
    letter-spacing: var(--tracking-mono);
    font-size: max(var(--fs-floor), .92em);
  }
  hr {
    background: var(--color-border);
    height: 1px;
    margin: var(--size-5) 0;
    border: 0;
  }
  ::selection {
    color: var(--color-text-1);
    /* an accent tint, not a border — own value so retuning --color-border-hover cannot move it (F2 fix1) */
    background: color-mix(in oklch, var(--color-accent) 30%, transparent);
  }
  ::-webkit-scrollbar {
    width: 8px;
    height: 8px;
  }
  ::-webkit-scrollbar-track {
    background: 0 0;
  }
  ::-webkit-scrollbar-thumb {
    background: var(--color-border);
    border-radius: 2px;
  }
  ::-webkit-scrollbar-thumb:hover {
    background: var(--color-border-hover);
  }

}

/* veritart public — @layer layout: stack/row primitives, admin + public shells, workbench. */

@layer layout {
  .stack-2 {
    gap: var(--size-2);
    flex-direction: column;
    display: flex;
  }
  .row {
    gap: var(--size-3);
    align-items: center;
    display: flex;
  }
  .row-wrap {
    gap: var(--size-2);
    flex-wrap: wrap;
    align-items: center;
    display: flex;
  }
  .row-between {
    gap: var(--size-3);
    justify-content: space-between;
    align-items: center;
    display: flex;
  }
  .public-header {
    z-index: var(--z-sticky);
    background: radial-gradient(ellipse 30% 200% at 0% 50%, color-mix(in oklch, var(--color-accent) 5%, transparent), transparent 55%), var(--glass-medium);
    -webkit-backdrop-filter: blur(var(--glass-blur));
    backdrop-filter: blur(var(--glass-blur));
    border-bottom: 1px solid var(--color-border);
    height: var(--header-h);
    align-items: center;
    display: flex;
    position: sticky;
    top: 0;
  }
  .input-group--header {
    min-width: 240px;
  }
  /* the compact (`--compact`) header lives in 15-header-footer.css (F5a) */

}

/* veritart public — @layer components (1/4): brand, card, buttons, badges, status dots, labels,
   tables, description lists, nav. */

@layer components {
  .brand {
    align-items: center;
    gap: var(--size-2);
    font-family: var(--font-display);
    font-weight: 600;
    font-size: var(--fs-lg);
    letter-spacing: var(--tracking-tight);
    color: var(--color-text-1);
    text-decoration: none;
    display: inline-flex;
  }
  .brand-logo {
    flex: none;
    width: 1.4rem;
    height: 1.4rem;
    display: block;
  }
  .brand-word__art {
    color: var(--color-accent);
    position: relative;
  }
  .brand-word__art:after {
    content: "";
    background: linear-gradient(90deg, var(--color-accent), var(--color-accent2), var(--c-prompt), var(--color-accent));
    opacity: .7;
    height: 2px;
    box-shadow: 0 0 6px color-mix(in oklab, var(--color-accent) 35%, transparent);
    transition: opacity var(--dur-base) var(--ease-out);
    background-size: 200% 100%;
    border-radius: 2px;
    position: absolute;
    bottom: -.16em;
    left: 0;
    right: 0;
  }
  .brand:hover .brand-word__art:after,
  .brand:focus-visible .brand-word__art:after {
    opacity: 1;
    box-shadow: 0 0 9px color-mix(in oklab, var(--color-accent2) 45%, transparent);
  }
  .brand:hover .brand-word__art:after,
  .brand:focus-visible .brand-word__art:after {
    animation: 6s linear infinite holo-edge-bg;
  }
  .card-meta {
    font-family: var(--font-mono);
    font-size: var(--fs-micro);
    color: var(--color-text-3);
    letter-spacing: var(--tracking-mono);
  }
  .btn,
  .comment-form__submit {
    justify-content: center;
    align-items: center;
    gap: var(--size-2);
    height: var(--h-ctrl-sm);
    padding: 0 var(--size-3);
    font-family: var(--font-body);
    font-size: var(--fs-sm);
    color: var(--color-text-1);
    background: var(--color-elevated);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-2);
    cursor: pointer;
    transition: all var(--dur-fast) var(--ease-out);
    white-space: nowrap;
    font-weight: 500;
    line-height: 1;
    text-decoration: none;
    display: inline-flex;
  }
  .btn:hover,
  .comment-form__submit:hover {
    border-color: var(--color-border-hover);
    color: var(--color-text-1);
    background: var(--color-raised-hover);
    text-decoration: none;
  }
  .btn:active,
  .comment-form__submit:active {
    transform: translateY(1px);
  }
  .btn svg {
    width: 13px;
    height: 13px;
  }
  .btn-primary,
  .comment-form__submit {
    border-color: var(--color-border-strong);
    color: var(--color-accent);
    background: linear-gradient(color-mix(in oklch, var(--color-accent) 22%, transparent),var(--hl-accent-subtle));
    box-shadow: inset 0 1px color-mix(in oklch, var(--color-sheen) 5%, transparent);
  }
  .btn-primary:hover,
  .comment-form__submit:hover {
    color: var(--color-text-1);
    background: linear-gradient(color-mix(in oklch, var(--color-accent) 32%, transparent),color-mix(in oklch, var(--color-accent) 15%, transparent));
  }
  /* F4 — one button system: .btn is THE public button (height, padding, look); a modifier states only what it
     changes. .btn-primary is the accent button (the /lucas/ hero CTA's old .btn--accent copy is gone). The engine's
     comment submit (.comment-form__submit, markup shared with seedy/oldbooks) is a .btn.btn-primary by selector, so
     this one rule set defines its look too (KI 4aac0bd). */
  .btn-sm {
    font-size: var(--fs-xs);
  }
  .badge {
    height: 16px;
    font-family: var(--font-mono);
    font-size: var(--fs-micro);
    letter-spacing: var(--tracking-caps);
    text-transform: uppercase;
    color: var(--color-text-2);
    background: var(--glass-subtle);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-0);
    white-space: nowrap;
    align-items: center;
    gap: 4px;
    padding: 1px 6px;
    font-weight: 500;
    display: inline-flex;
  }
  .badge:before {
    content: "";
    opacity: .8;
    background: currentColor;
    border-radius: 999px;
    width: 4px;
    height: 4px;
  }
  .badge-accent {
    color: var(--color-accent);
    background: var(--tint-accent);
    border-color: color-mix(in oklch, var(--color-accent) 35%, transparent);
  }
  .label {
    font-family: var(--font-mono);
    font-size: var(--fs-micro);
    letter-spacing: var(--tracking-caps);
    text-transform: uppercase;
    color: var(--color-text-3);
    margin-bottom: var(--size-1);
    font-weight: 500;
    display: block;
  }
  .input-group {
    align-items: center;
    gap: var(--size-2);
    height: var(--h-ctrl-sm);
    padding: 0 var(--size-3);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-2);
    background: var(--color-sunken);
    display: flex;
  }
  .input-group:focus-within {
    border-color: var(--color-accent-dim);
  }
  .input-group svg {
    width: 12px;
    height: 12px;
    color: var(--color-text-3);
    flex: none;
  }
  .input-group input {
    color: var(--color-text-1);
    font-family: var(--font-body);
    font-size: var(--fs-sm);
    background: 0 0;
    border: 0;
    outline: none;
    flex: 1;
    min-width: 0;
    height: 100%;
  }
  .input-group .kbd {
    flex: none;
  }

}

/* veritart public — @layer components (2/4): metric tiles, toast, kbd, code block, avatar,
   section heads, type specimens, notifications. */

@layer components {
  .metric {
    padding: var(--size-3) var(--size-4);
    background: radial-gradient(ellipse 120% 80% at 0% 0%, color-mix(in oklch, var(--color-accent) 6%, transparent), transparent 55%), var(--glass-subtle);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-1);
    gap: var(--size-1);
    transition: border-color var(--dur-base) var(--ease-out), background var(--dur-base) var(--ease-out);
    flex-direction: column;
    display: flex;
    position: relative;
  }
  .metric:hover {
    border-color: var(--color-border-hover);
    background: radial-gradient(120% 80% at 0 0,color-mix(in oklch, var(--color-accent) 9%, transparent),transparent 55%),var(--glass-medium);
  }
  kbd,
  .kbd {
    height: 16px;
    line-height: 14px;
    font-family: var(--font-mono);
    font-size: var(--fs-micro);
    color: var(--color-text-2);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-1);
    background: var(--color-sunken);
    border-bottom-width: 2px;
    padding: 0 4px;
    display: inline-block;
  }
  pre.code-block {
    border: 1px solid var(--color-border);
    border-radius: var(--radius-1);
    padding: var(--size-3);
    font-family: var(--font-code);
    font-size: var(--fs-xs);
    color: var(--color-text-2);
    line-height: var(--lh-snug);
    letter-spacing: var(--tracking-mono);
    background: var(--color-sunken);
    position: relative;
    overflow-x: auto;
  }
  .avatar {
    width: 22px;
    height: 22px;
    font-family: var(--font-mono);
    font-size: var(--fs-micro);
    color: var(--color-accent);
    border: 1px solid var(--color-border-strong);
    letter-spacing: var(--tracking-mono);
    background: linear-gradient(135deg,color-mix(in oklch, var(--color-accent) 22%, transparent),color-mix(in oklch, var(--color-info) 15%, transparent));
    border-radius: 999px;
    flex: none;
    place-items: center;
    display: grid;
  }
  .avatar-lg {
    width: 36px;
    height: 36px;
    font-size: var(--fs-sm);
  }

}

/* veritart public — @layer components (3/4): the <mark> highlight (the .prose typography had no producer and was deleted, F12b). */

@layer components {
  mark {
    color: var(--color-text-1);
    border-bottom: var(--hl-accent-underline);
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;
    background: 0 0;
    border-radius: 0;
    padding: 0 1px;
    text-decoration: none;
  }

}

/* veritart public — @layer components (4/4): do/dd panels, chart/ring detail, crumbs, status,
   workbench, and the late per-component variant/override rules (kept in their original order). */

@layer components {
  .btn-primary:hover,
  .comment-form__submit:hover {
    box-shadow: var(--glow-accent-sm);
  }
  .btn-primary:focus-visible,
  .comment-form__submit:focus-visible {
    box-shadow: 0 0 0 3px var(--color-border-accent), var(--glow-accent-sm);
  }

}

/* veritart public — @layer utility: caps, text colours, font sizes, glow. */

@layer utility {
  .caps {
    font-family: var(--font-mono);
    font-size: var(--fs-micro);
    letter-spacing: var(--tracking-caps);
    text-transform: uppercase;
    color: var(--color-text-3);
  }
  .text-1 {
    color: var(--color-text-1);
  }
  .fs-micro {
    font-size: var(--fs-micro);
  }
  .fs-md {
    font-size: var(--fs-md);
  }

}
/* sites/veritart.me/look/theme.css — veritart's THEME (D147): values only — the self-hosted faces, the role tokens and the
   public-only custom properties. Grammar: look/theme.ts parseTheme (refused at boot otherwise). Formerly
   styles/09-fonts.css + styles/10-tokens.css, verbatim. */

/* veritart public — @font-face: the self-hosted crucix families (served from /fonts).
   F8b (KI 2026-10-17 unused fonts): woff2 only — every browser that honours unicode-range reads woff2,
   so the .woff fallbacks were never fetched; JetBrains Mono keeps latin/latin-ext/vietnamese — no
   veritart content or capture carries a Cyrillic or Greek character (pinned by small-page-fixes.test.ts). */

@font-face {
  font-family: Be Vietnam Pro;
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url(/fonts/be-vietnam-pro-vietnamese-400-normal-CRcqvyg1.woff2)format("woff2");
  unicode-range: U+102-103,U+110-111,U+128-129,U+168-169,U+1A0-1A1,U+1AF-1B0,U+300-301,U+303-304,U+308-309,U+323,U+329,U+1EA0-1EF9,U+20AB;
}

@font-face {
  font-family: Be Vietnam Pro;
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url(/fonts/be-vietnam-pro-latin-ext-400-normal-CiZNW1ec.woff2)format("woff2");
  unicode-range: U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}

@font-face {
  font-family: Be Vietnam Pro;
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url(/fonts/be-vietnam-pro-latin-400-normal-PpnXBOrz.woff2)format("woff2");
  unicode-range: U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

@font-face {
  font-family: Be Vietnam Pro;
  font-style: normal;
  font-display: swap;
  font-weight: 500;
  src: url(/fonts/be-vietnam-pro-vietnamese-500-normal-DREgrEoJ.woff2)format("woff2");
  unicode-range: U+102-103,U+110-111,U+128-129,U+168-169,U+1A0-1A1,U+1AF-1B0,U+300-301,U+303-304,U+308-309,U+323,U+329,U+1EA0-1EF9,U+20AB;
}

@font-face {
  font-family: Be Vietnam Pro;
  font-style: normal;
  font-display: swap;
  font-weight: 500;
  src: url(/fonts/be-vietnam-pro-latin-ext-500-normal-h0Fp6aX0.woff2)format("woff2");
  unicode-range: U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}

@font-face {
  font-family: Be Vietnam Pro;
  font-style: normal;
  font-display: swap;
  font-weight: 500;
  src: url(/fonts/be-vietnam-pro-latin-500-normal-B6LVzGNe.woff2)format("woff2");
  unicode-range: U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

@font-face {
  font-family: Be Vietnam Pro;
  font-style: normal;
  font-display: swap;
  font-weight: 600;
  src: url(/fonts/be-vietnam-pro-vietnamese-600-normal-nyU-ZL2p.woff2)format("woff2");
  unicode-range: U+102-103,U+110-111,U+128-129,U+168-169,U+1A0-1A1,U+1AF-1B0,U+300-301,U+303-304,U+308-309,U+323,U+329,U+1EA0-1EF9,U+20AB;
}

@font-face {
  font-family: Be Vietnam Pro;
  font-style: normal;
  font-display: swap;
  font-weight: 600;
  src: url(/fonts/be-vietnam-pro-latin-ext-600-normal-BNd8euf0.woff2)format("woff2");
  unicode-range: U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}

@font-face {
  font-family: Be Vietnam Pro;
  font-style: normal;
  font-display: swap;
  font-weight: 600;
  src: url(/fonts/be-vietnam-pro-latin-600-normal-BZDkUTrt.woff2)format("woff2");
  unicode-range: U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

@font-face {
  font-family: Be Vietnam Pro;
  font-style: normal;
  font-display: swap;
  font-weight: 700;
  src: url(/fonts/be-vietnam-pro-vietnamese-700-normal-Csr0PCuG.woff2)format("woff2");
  unicode-range: U+102-103,U+110-111,U+128-129,U+168-169,U+1A0-1A1,U+1AF-1B0,U+300-301,U+303-304,U+308-309,U+323,U+329,U+1EA0-1EF9,U+20AB;
}

@font-face {
  font-family: Be Vietnam Pro;
  font-style: normal;
  font-display: swap;
  font-weight: 700;
  src: url(/fonts/be-vietnam-pro-latin-ext-700-normal-C8_gqRu2.woff2)format("woff2");
  unicode-range: U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}

@font-face {
  font-family: Be Vietnam Pro;
  font-style: normal;
  font-display: swap;
  font-weight: 700;
  src: url(/fonts/be-vietnam-pro-latin-700-normal-DlW1Zbsh.woff2)format("woff2");
  unicode-range: U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

@font-face {
  font-family: JetBrains Mono;
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url(/fonts/jetbrains-mono-vietnamese-400-normal-ByoDsISC.woff2)format("woff2");
  unicode-range: U+102-103,U+110-111,U+128-129,U+168-169,U+1A0-1A1,U+1AF-1B0,U+300-301,U+303-304,U+308-309,U+323,U+329,U+1EA0-1EF9,U+20AB;
}

@font-face {
  font-family: JetBrains Mono;
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url(/fonts/jetbrains-mono-latin-ext-400-normal-Bc8Ftmh3.woff2)format("woff2");
  unicode-range: U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}

@font-face {
  font-family: JetBrains Mono;
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url(/fonts/jetbrains-mono-latin-400-normal-V6pRDFza.woff2)format("woff2");
  unicode-range: U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

@font-face {
  font-family: JetBrains Mono;
  font-style: normal;
  font-display: swap;
  font-weight: 500;
  src: url(/fonts/jetbrains-mono-vietnamese-500-normal-BvH7FW2L.woff2)format("woff2");
  unicode-range: U+102-103,U+110-111,U+128-129,U+168-169,U+1A0-1A1,U+1AF-1B0,U+300-301,U+303-304,U+308-309,U+323,U+329,U+1EA0-1EF9,U+20AB;
}

@font-face {
  font-family: JetBrains Mono;
  font-style: normal;
  font-display: swap;
  font-weight: 500;
  src: url(/fonts/jetbrains-mono-latin-ext-500-normal-Cut-4mMH.woff2)format("woff2");
  unicode-range: U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}

@font-face {
  font-family: JetBrains Mono;
  font-style: normal;
  font-display: swap;
  font-weight: 500;
  src: url(/fonts/jetbrains-mono-latin-500-normal-BWZEU5yA.woff2)format("woff2");
  unicode-range: U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

@font-face {
  font-family: JetBrains Mono;
  font-style: normal;
  font-display: swap;
  font-weight: 600;
  src: url(/fonts/jetbrains-mono-vietnamese-600-normal-Dtizs43-.woff2)format("woff2");
  unicode-range: U+102-103,U+110-111,U+128-129,U+168-169,U+1A0-1A1,U+1AF-1B0,U+300-301,U+303-304,U+308-309,U+323,U+329,U+1EA0-1EF9,U+20AB;
}

@font-face {
  font-family: JetBrains Mono;
  font-style: normal;
  font-display: swap;
  font-weight: 600;
  src: url(/fonts/jetbrains-mono-latin-ext-600-normal-BfB_LPfz.woff2)format("woff2");
  unicode-range: U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}

@font-face {
  font-family: JetBrains Mono;
  font-style: normal;
  font-display: swap;
  font-weight: 600;
  src: url(/fonts/jetbrains-mono-latin-600-normal-C8RAYTDA.woff2)format("woff2");
  unicode-range: U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

/* D146 — Noto Serif Display, the FINAL display tier (--font-f-display): ONE weight (500), the same three subsets. */

@font-face {
  font-family: Noto Serif Display;
  font-style: normal;
  font-display: swap;
  font-weight: 500;
  src: url(/fonts/noto-serif-display-vietnamese-500-normal-iMpc_ft8.woff2)format("woff2");
  unicode-range: U+102-103,U+110-111,U+128-129,U+168-169,U+1A0-1A1,U+1AF-1B0,U+300-301,U+303-304,U+308-309,U+323,U+329,U+1EA0-1EF9,U+20AB;
}

@font-face {
  font-family: Noto Serif Display;
  font-style: normal;
  font-display: swap;
  font-weight: 500;
  src: url(/fonts/noto-serif-display-latin-ext-500-normal-HQfhDdIh.woff2)format("woff2");
  unicode-range: U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}

@font-face {
  font-family: Noto Serif Display;
  font-style: normal;
  font-display: swap;
  font-weight: 500;
  src: url(/fonts/noto-serif-display-latin-500-normal-ZFBArAY5.woff2)format("woff2");
  unicode-range: U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}


/* veritart public — the veritart-public-only tokens (:root) and the [data-font] family switch. The shared
   design tokens come from the engine core (readDesignFoundation() + skin('veritart')), composed ahead of these files.
   D146: [TOKENS] below are the FINAL design system's role tokens (sites/veritart.me/DESIGN.md) — the only place a
   colour literal may live (tests/colour-literals.test.ts). The role literals the shared slots resolve to (--f-sky,
   --f-surface, --f-signal, …) live in the skin (packages/engine/src/design/skins/veritart.css); a value equal to a
   core token is that token (tests/token-hygiene.test.ts). final.js reads these at runtime: keep the colour literals
   in the plain `oklch(N% C H)` shape it parses. */

/* == [TOKENS] role tokens: grounds, lines, text, light, signal, film, data, shape, type, timings == */
@property --f-film-k { syntax: '<number>'; inherits: true; initial-value: 0.35; }       /* film strength */
@property --f-film-angle { syntax: '<angle>'; inherits: false; initial-value: 100deg; }
@layer look.roles, look.parts, look.theme, look.extra;
@layer look.theme {
 /* film drift */
:root {
  /* grounds — one cool graphite (hue 245–250), darkest first (sky, well, surface, raised: in the skin) */
  --f-street: oklch(9.5% 0.012 248);       /* city streets (cuts between plates) */
  --f-plate: oklch(12% 0.012 248);         /* city blocks + the plaza paving */
  --f-shade: oklch(0% 0 0);                /* drop shadows + masks only */
  /* lines (the hairline, --f-line, is in the skin) */
  --f-line-2: oklch(40% 0.014 245);        /* seam, plate rim */
  --f-mute: oklch(55% 0.012 250);          /* FILLS + STROKES ONLY, never text (palette-lint rule 5) */
  /* text — the grey ladder, --f-text / -2 / -3 (contrast table in the final7 report), is in the skin */
  /* light — one cool ramp: platinum → frost → ice (platinum --f-light-1 and ice --f-light-3 are in the skin) */
  --f-light-2: oklch(90% 0.035 228);       /* frost */
  /* signal — Sakura pink (hue 355), the ONE signal: state, the primary action, prose links, the beat (--f-signal,
     --f-signal-hi, the glow radius --f-glow-r and THE signal glow --f-glow are in the skin) */
  --f-signal-lo: oklch(55% 0.12 355);      /* FILLS + STROKES ONLY, never text (palette-lint rule 5) */
  --f-halo-r: 34px;                        /* the hub plaza's ambient halo radius */
  --f-glow-key: 0 0 var(--f-glow-r) color-mix(in oklch, var(--f-light-1) 32%, transparent);   /* a detail LIT BY the city's key light
                                              (emblems, vias, ticks, band dots, linked nodes); each world re-declares it
                                              with its own key (.pmap--hero .pmap__band, .pmap__band[data-hue], .case__outcomes) */
  --f-halo: 0 0 var(--f-halo-r) color-mix(in oklch, var(--f-light-1) 10%, transparent);   /* the hub plaza only */
  /* film — ice → frost → pink, ONE stop order for every film edge (--f-film-stops / --f-film-fade-stops) */
  --f-film-1: var(--f-light-3);
  --f-film-2: var(--f-light-2);            /* frost: the white highlight */
  --f-film-3: var(--f-signal-hi);          /* sakura pink — the film ends in the signal */
  --f-film-stops: var(--f-film-1), var(--f-film-2) 50%, var(--f-film-3);
  --f-film-fade-stops: transparent 6%, color-mix(in oklch, var(--f-film-1) 70%, transparent) 24%, color-mix(in oklch, var(--f-film-2) 70%, transparent) 50%, color-mix(in oklch, var(--f-film-3) 65%, transparent) 74%, transparent 94%;
  --f-film: linear-gradient(90deg, var(--f-film-stops));
  --f-film-fade: linear-gradient(90deg, var(--f-film-fade-stops));
  /* data — THE documented exception: ten muted categorical hues, C 0.07, lightness alternating 84 % / 74 %,
     kept out of the pink window (330°–25°) and the copper/amber window (40°–90°). min ΔE_ok to --f-signal-hi
     0.067 (data-1), min pairwise ΔE_ok 0.048 (1 ↔ 9), all ≥ 7.99 : 1 on --f-raised. Only the --pmap-hue-*
     data keys and chart series use them; data-1 (the hue nearest the signal) and data-2 (olive sand, which
     reads gold) are given to NO band. Ice (7) = Profession. */
  --f-data-1: oklch(84% 0.07 316);         /* heather — nearest the signal: chart series only, never a band */
  --f-data-2: oklch(74% 0.07 95);          /* olive sand — reads gold on the dark: chart series only, never a band */
  --f-data-3: oklch(84% 0.07 120);         /* lime */
  --f-data-4: oklch(74% 0.07 145);         /* sage */
  --f-data-5: oklch(84% 0.07 170);         /* mint */
  --f-data-6: oklch(74% 0.07 195);         /* aqua */
  --f-data-7: var(--f-light-3);            /* ice (82 % 0.08 230) — Profession */
  --f-data-8: oklch(74% 0.07 255);         /* slate blue */
  --f-data-9: oklch(84% 0.07 276);         /* periwinkle */
  --f-data-10: oklch(74% 0.07 298);        /* lilac */
  /* chart SERIES ([DATAVIZ], 5036675b:Q16 b) — the engine's css/dataviz.css (the admin's charts; the public figures keep
     their look, Q3 a): the same hues as the map keys (ice 230, the signal's 355) re-stepped into the dark band; checked by
     gates/look/series.mjs on --f-surface (band, chroma ≥ 0.10, CVD ΔE ≥ 8, normal ΔE ≥ 15, contrast ≥ 3:1). */
  --f-series-1: oklch(66% 0.11 230);       /* ice: series 1, the data */
  --f-series-2: oklch(64% 0.14 355);       /* sakura: series 2, the second identity or the one mark a chart points at */
  --f-series-surface: var(--f-surface);    /* the chart ground the pair is checked on */
  /* shape — two radii only: plates (cards, panels, frames, dialog, charts) and controls (--f-r-plate, --f-r-control
     and the kerb width --f-kerb-w are in the skin) */
  --f-plate-bg: var(--f-surface);          /* a plate's ground ([PLATE] recipe input; hover → raised) */
  --f-kerb-c: color-mix(in oklch, var(--f-line-2) 35%, transparent);   /* the kerb ring ([PLATE]); state → a signal ring */
  --f-kerb-hot: color-mix(in oklch, var(--f-signal) 30%, transparent);
  /* type */
  --font-f-display: 'Noto Serif Display', 'Be Vietnam Pro', Georgia, serif;   /* display tier only */
  --font-f-body: 'Be Vietnam Pro', system-ui, sans-serif;
  --font-f-label: 'JetBrains Mono', ui-monospace, monospace;
  --f-label-size: 0.8125rem;               /* label tier: nav, eyebrows, buttons, section labels, band titles */
  --f-label-weight: 500;
  --f-label-track: 0.14em;
  --f-label-sm-size: var(--size-4);              /* small label tier: chips, badges, keys, captions, meta, proof */
  --f-label-sm-weight: 600;
  --f-label-sm-track: var(--tracking-caps);
  --f-display-weight: 500;                 /* THE serif weight: every display use, the drop cap included */
  --f-d1: clamp(2.6rem, 1.2rem + 4.8vw, 5.2rem);    /* page hero: home h1 + the profile name, equal at every width */
  --f-d2: clamp(2.25rem, 1.5rem + 2.4vw, 3.5rem);   /* article h1 + the dialog title */
  --f-h2: clamp(1.5rem, 1.15rem + 1.45vw, 2.4rem);  /* THE section heading (profile, article, home): fluid, 24 px at 320 */
  --f-t-sm: 0.875rem;                      /* body steps: dense dialog rows, code */
  --f-t-md: 0.9375rem;                     /* secondary text, card subs, lists */
  --f-t-base: 1.0625rem;                   /* body, prose */
  --f-t-lg: 1.25rem;                       /* ledes, h3 */
  --f-lede: clamp(1.25rem, 1.05rem + 0.6vw, 1.5rem);   /* the hero lede (home + profile, equal) */
  /* the card family — every card / plate title and sub, one face */
  --f-card-title-weight: 600;              /* the card title: body face, this weight, one size + leading */
  --f-card-title: clamp(1rem, 0.95rem + 0.2vw, 1.0625rem);   /* = --f-t-base from ~1050 px, one px less on a phone */
  --f-card-title-lh: var(--lh-snug);
  --f-card-title-lg: var(--f-t-lg);        /* the map hubs: one step up, same face and weight */
  --f-card-sub: var(--f-t-md);
  /* space — one scale; every margin / padding / gap / inset snaps to it (optical ≤ 2 px and canvas geometry
     excepted) */
  --f-s-1: var(--size-1); --f-s-2: var(--size-3); --f-s-3: var(--size-4); --f-s-4: var(--size-5); --f-s-5: var(--size-6);
  --f-s-6: var(--size-7); --f-s-7: var(--size-8); --f-s-8: var(--size-9); --f-s-9: 6rem;
  --f-section: clamp(3rem, 2rem + 6vw, 7rem);   /* the block padding of every section wrapper (fluid) */
  --f-hero-block: clamp(3rem, 12svh, 8rem); /* the block padding of both page heroes (the small viewport height) */
  /* responsive ([TIERS], [TARGETS]) */
  --f-target: var(--tap-min);                        /* THE tap-target token: 24 px for a fine pointer, 44 px for (pointer: coarse) */
  --f-tier-compact: 40rem;                 /* documentation of the three container tiers: compact < 40rem ≤ medium < 72rem ≤ wide */
  --f-tier-wide: 72rem;                    /* (container queries cannot read a custom property: the numbers are repeated there) */
  --f-gutter: clamp(1.25rem, 4vw, 4.5rem); /* the page gutter; also the wide column gaps */
  --f-pad-plate: 1.25rem;                  /* every card's padding ([PLATE]) */
  --f-pad-control: 0.5rem 0.75rem;         /* buttons */
  --f-pad-compact: var(--f-pad-control);   /* the documented compact card: the dialog's dense map nodes and
                                              connection rows (1.25 rem would double the dialog map's height) */
  /* timings — one beat, one entrance, one stagger, one state transition (the ease, --f-ease, is in the skin) */
  --f-pulse-period: 4.8s;                  /* P5 beat (final.js reads this token at boot) */
  --f-blink-period: calc(var(--f-pulse-period) / 4);   /* the cursor: 1.2 s */
  --f-live-period: calc(var(--f-pulse-period) / 3);    /* live dots: 1.6 s */
  --f-power-dur: 0.7s;                     /* f-power-on, every entrance (steps(7)) */
  --f-stagger: 60ms;                       /* every stagger ladder */
  --f-t: 180ms var(--f-ease);              /* every state transition */
  --f-sheen-period: 12s;                   /* C13 */
  --f-edge-period: 11s;                    /* C17 */
  --f-glitch-dur: 1.05s;                   /* G11 */
  --f-fx-in: calc(var(--f-glitch-dur) * 4 / 7);    /* G11 sort-in: the dialog block + its map nodes (0.6 s) */
  --f-fx-out: calc(var(--f-glitch-dur) / 3);       /* G11 sort-out (0.35 s) */
  --f-fx-hover: calc(var(--f-glitch-dur) * 2 / 3); /* G11 on hover: names, h1s, touched cards (0.7 s) */
  --f-haze-period: 3000s;                  /* C8 haze drift */
  --f-film-period: 9s;                     /* [FILM CARD] drift while hovered */
}

/* == [PALETTE] the public-only prod custom properties, mapped onto the roles (D146) — the shared ones are in the skin */
:root {
  --color-accent-deep: var(--f-signal);
  --pmap-hue-slate: var(--f-data-8);
  --pmap-hue-teal: var(--f-data-3);
  --pmap-hue-amber: var(--f-data-4);
  --pmap-hue-violet: var(--f-data-6);
  --pmap-hue-crimson: var(--f-data-5);
  --pmap-hue-blue: var(--f-data-9);
  --pmap-hue-orange: var(--f-data-7);
  --pmap-hue-green: var(--f-data-10);
  --pmap-hue-purple: var(--f-data-4);
  --pmap-hue-magenta: var(--f-data-5);
  --pmap-edge: var(--f-mute);
  --pmap-edge-active: var(--f-signal-hi);
  --color-scrim: color-mix(in oklch, var(--f-sky) 90%, transparent);
  --tint-accent: color-mix(in oklch, var(--f-signal) 8%, transparent);
  --tint-success: oklch(82% .17 155/.08);
  --tint-warning: oklch(82% .14 85/.08);
  --tint-danger: oklch(70% .2 25/.08);
  --tint-info: oklch(78% .12 220/.08);
  --tint-violet: color-mix(in oklch, var(--f-signal) 8%, transparent);
  --hl-accent-underline: 2px solid var(--color-accent);
  --hl-accent-subtle: color-mix(in oklch, var(--f-signal) 10%, transparent);
  /* F12d fix 2a (rule 7) — the colours the component files once wrote raw. A translucent shade of any of these
     (or of a skin token) is `color-mix(in oklch, var(--…) N%, transparent)`, which computes to the same
     oklch(L C H / N%); tests/colour-literals.test.ts keeps every other file literal-free. */
  --color-sunken: var(--f-well); /* inset wells: input groups, kbd, code blocks */
  --color-raised-hover: var(--f-raised); /* .btn:hover */
  --color-deep: var(--f-well); /* the cover-image chip's glass (at 70%) */
  --color-sheen: var(--f-film-1); /* the primary button's inset top highlight (at 5%) */
  --color-scanline: var(--f-text); /* .bg-scanline's rule */
  --color-notice-ink: #9fb3b0; /* the <noscript> notice */
  --glitch-mint: var(--f-signal-hi); /* the home hero's holo-glitch shadow channels */
  --glitch-cyan: var(--f-film-1);
  --glitch-violet: var(--f-signal);
  /* THE reading-prose size, one token for article.long p AND li (KI 2642744). D146: one size at every width — the
     FINAL body step (--f-t-base); the F3c prose step (a width media query) is retired with the 13px root. */
  --fs-prose: var(--f-t-base);
}

:root,
[data-font=crucix] {
  --font-code: "JetBrains Mono", ui-monospace, monospace;
}

[data-font=classic] {
  --font-display: "Lexend", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
  --font-code: "JetBrains Mono", ui-monospace, monospace;
}
}
@layer look.roles {
/* packages/engine/src/look/css/base.css — composed by look/compose.ts (D147, LOOK-2-PARTS). Selectors use elements only (the base
   every part sits on, in @layer look.roles); values are roles and core tokens only.
   Extracted from veritart's public sheet with its cascade preserved: a rule stayed in the site's extra.css whenever moving
   it under a lower layer would have changed which declaration wins on a rendered element (pixel-identical, Q3 a). */

/* ── from 11-chrome-chips.css ── */
mark {
  color: var(--color-text-1);
  border-bottom: var(--hl-accent-underline);
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  background: 0 0;
  border-radius: 0;
  padding: 0 1px;
}
/* ── from 16-listings-search.css ── */
h1,
h2,
h3 {
  text-wrap: balance;
}
/* ── from 26-final.css ── */
body { color: var(--f-text-2); font-family: var(--font-f-body); font-size: var(--f-t-base); }
::selection { background: var(--f-signal); color: var(--f-well); }
::-webkit-scrollbar-thumb { background: var(--f-line-2); }
::-webkit-scrollbar-track { background: var(--f-sky); }
:focus-visible { outline: 2px solid var(--f-signal-hi); outline-offset: 3px; }   /* every link, text and control */
a { text-underline-offset: 0.24em; text-decoration-thickness: 1px; }
/* == [TIERS] three container tiers on three containers — role: responsive ==========================
   compact < 40rem · medium 40–72rem · wide ≥ 72rem (b5c66fc8:Q21 a), on three containers: the page shell (body,
   `shell`), the case-study dialog (.detail, `detail`) and the system map (.pmap, `pmap`). Every component keys on its
   container with @container, never on the viewport. Device @media is used ONLY for pointer / hover / height,
   plus the one root-size rule below (palette-lint rule 7). final.js reads the modes from custom
   properties set under these tiers (--f-mode, --f-city-fade, --f-traffic, --f-sky-dim) and re-measures with a
   ResizeObserver on each canvas host. Prod's own width queries still fire; the blocks below override what conflicts.
   Root scale (Q20 c): above 1920 px the root font grows to 125 % at 3840 px, so 4K at 1× reads like the 1707 design
   scaled up; the page itself stays full width. */
body { container: shell / inline-size; }
body > noscript:first-child { position: absolute; }

}
@layer look.parts {
/* packages/engine/src/look/css/controls.css — composed by look/compose.ts (D147, LOOK-2-PARTS). Selectors use UTILITY_CLASSES only (the
   control recipes and layout helpers every part may use, first in @layer look.parts); values are roles and core tokens only.
   Extracted from veritart's public sheet with its cascade preserved: a rule stayed in the site's extra.css whenever moving
   it under a lower layer would have changed which declaration wins on a rendered element (pixel-identical, Q3 a). */

/* ── from 15-header-footer.css ── */
.public-shell {
  padding-inline: var(--size-5);
  z-index: 1;
  position: relative;
}
/* ── from 21-profile.css ── */
.chip {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  color: var(--color-text-2);
  border: 1px solid var(--color-border);
  padding: var(--size-1) var(--size-3);
  border-radius: 999px;
}
/* ── from 25-late-utilities.css ── *//* veritart public — header/layout utilities (w-full, ml-auto), comment form title + honeypot, the noscript notice. */

/* header/layout utilities trio expressed as inline styles (CSP moves them to classes) — the missing
   `.w-full` is why `.public-shell` (a flex item of the flex `.public-header`) collapsed to content
   width, so `row-between` could not spread the logo/nav/search across the bar. */
.w-full {
  width: 100%;
}
/* ── from 26-final.css ── */
/* == [HERO] profile hero: the name beside a small radial city — role: hero ======================= */
.public-shell { padding-inline: var(--f-gutter); }
.btn {
  font-family: var(--font-f-label); font-size: var(--f-label-size); font-weight: var(--f-label-weight); text-transform: uppercase; letter-spacing: var(--f-label-track);
  height: auto; padding: var(--f-pad-control);
  background: var(--f-surface); color: var(--f-text);
  border: 1px solid var(--f-line-2); border-radius: var(--f-r-control); box-shadow: none;
  transition: background-color var(--f-t), color var(--f-t), border-color var(--f-t);
}
@container shell (width >= 72rem) {
  main > .public-shell { padding-right: clamp(8.5rem, 11cqi, 10rem); }
}
.chip { font-family: var(--font-f-label); font-size: var(--f-label-sm-size); font-weight: var(--f-label-sm-weight); text-transform: uppercase; letter-spacing: var(--f-label-sm-track); color: var(--f-text-2); background: var(--f-well); border: 1px solid var(--f-line); border-radius: var(--f-r-control); padding: var(--f-s-1) var(--f-s-2); height: auto; }
.badge, .badge-accent { display: inline-flex; align-items: center; gap: 0.45em; font-family: var(--font-f-label); font-size: var(--f-label-sm-size); font-weight: var(--f-label-sm-weight); letter-spacing: var(--f-label-sm-track); height: auto; padding: var(--f-s-1) var(--f-s-2); text-transform: uppercase; background: var(--f-well); color: var(--f-light-1); border: 1px solid var(--f-line-2); border-radius: var(--f-r-control); }   /* category: the key light */
.badge::before { border-radius: 50%; width: 5px; height: 5px; flex: none; margin: 0; background: var(--f-light-1); box-shadow: none; }

/* ── part: header ── */
/* packages/engine/src/look/css/parts/header.css — composed by look/compose.ts (D147, LOOK-2-PARTS). Selectors use the part's
   classes from look/vocabulary.ts (+ UTILITY_CLASSES and elements) only; values are roles and core tokens only.
   Extracted from veritart's public sheet with its cascade preserved: a rule stayed in the site's extra.css whenever moving
   it under a lower layer would have changed which declaration wins on a rendered element (pixel-identical, Q3 a). */

/* ── from 15-header-footer.css ── */
/* F5a — the compact header (THE compact breakpoint `--compact`, sites/veritart.me/look/index.ts COMPACT_MEDIA — 1100 px since
   F5b, the same one as the article's one-column layout: the 360/390 phones and the 768 tablet): ONE row, at most 64 px tall,
   and every control in it a >= 44x44 hit box (WCAG 2.5.5; the render gate's coarse-pointer TAP_MIN) grown with
   min-block-size / padding, never a visible box. The six nav links never wrap: the strip scrolls sideways
   inside the header (the page itself never does). At phone widths the search is a 44 px icon box that opens
   over the row on focus. The bar is 60 px here (a 44 px control + 8 px each side), a literal, not a --header-h
   override: that token is the core's (single-source, design.test P7), and the sticky offsets built on it
   (--header-h + --size-5 = 44 + 16 = 60 px) still clear a 60 px bar exactly.
   1440+ is untouched (0 golden diffs). */
@media (width <= 1100px) {
  .public-header {
    height: 60px;
  }
  .public-header .public-shell {
    flex-wrap: nowrap;
    gap: var(--size-3);
  }
}
@media (width<=720px) {
  .public-header {
    position: static;
  }
}
/* ── from 26-final.css ── */
/* == [CHROME] header, nav, search, footer — role: chrome (hairline + progress: film) ============ */
.public-header {
  background: color-mix(in oklch, var(--f-sky) 94%, transparent);
  -webkit-backdrop-filter: none; backdrop-filter: none;
  border-bottom: 0;
  box-shadow: 0 1px 0 var(--f-line);
}
.public-header::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: -1px; height: 1px;
  background: var(--f-film-fade);   /* the header's edge is a film line */
  opacity: 0.75;
  pointer-events: none;
}
.brand { font-family: var(--font-f-body); color: var(--f-text); }
.brand-word__art { color: var(--f-film-2); }   /* the brand's "art" = the hero's "art.": painted with the film (fallback: frost) */
@supports (background-clip: text) or (-webkit-background-clip: text) {
  .brand-word__art { background: var(--f-film); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
}
.brand-word__art::after {
  height: 1px;
  background: linear-gradient(90deg, var(--f-film-stops), var(--f-film-3)) 0 0 / 200% 100%;   /* the film, then held */
  border-radius: 0;
}
/* ONE header at every width: brand · nav strip · search. The nav is a strip that takes its own width and shrinks
   only when it must: then it scrolls under a right-edge fade, never under the search box, and final.js scrolls the
   current item into view ([CHROME] in final.js). Once the strip is scrolled, a left fade grows in too (scroll-
   driven, not motion), so no clipped word is left hard against the brand. The right fade sits over the strip's end
   padding, so a strip that fits shows every link whole. Compact + medium shells fold the search box to its icon
   (it opens over the header row when focused); wide shows the box. One header height (--header-h). */
/* the header height (--header-h, 3.5rem) lives in the skin: a shared token */
.public-header { height: var(--header-h); }
.public-header .public-shell { flex-wrap: nowrap; column-gap: var(--f-s-3); }
/* == [SHORT] a short screen (max-height: 30rem — a phone on its side) — role: responsive ==============
   Q22 a: the header and the article TOC stop being sticky (the screen keeps its height for content), and both heroes
   go compact so the headline and the lede fit the first screen. */
@media (max-height: 30rem) {
  .public-header { position: static; }
}

/* ── part: nav ── */
/* packages/engine/src/look/css/parts/nav.css — composed by look/compose.ts (D147, LOOK-2-PARTS). Selectors use the part's
   classes from look/vocabulary.ts (+ UTILITY_CLASSES and elements) only; values are roles and core tokens only.
   Extracted from veritart's public sheet with its cascade preserved: a rule stayed in the site's extra.css whenever moving
   it under a lower layer would have changed which declaration wins on a rendered element (pixel-identical, Q3 a). */

/* ── from 15-header-footer.css ── */
.public-nav {
  gap: var(--size-5);
  align-items: center;
  display: flex;
}
@media (width <= 1100px) {
  .public-nav {
    scrollbar-width: none;
    overscroll-behavior-x: contain;
    flex: 1 1 0;
    gap: 0;
    min-width: 0;
    overflow-x: auto;
    mask-image: linear-gradient(to right, black calc(100% - var(--size-5)), transparent);
  }
  .public-nav::-webkit-scrollbar {
    display: none;
  }
}
/* ── from 26-final.css ── */
.public-nav {
  flex: 0 1 auto; min-width: 0; gap: 0;
  overflow-x: auto; scrollbar-width: none; overscroll-behavior-x: contain;
  -webkit-mask-image: linear-gradient(90deg, transparent, var(--f-shade) var(--f-nav-fade-l), var(--f-shade) calc(100% - var(--f-s-7)), transparent);
  mask-image: linear-gradient(90deg, transparent, var(--f-shade) var(--f-nav-fade-l), var(--f-shade) calc(100% - var(--f-s-7)), transparent);
  padding-inline-end: var(--f-s-7);
  scroll-padding-inline: var(--f-s-2) var(--f-s-7);
  animation: f-nav-edge linear both; animation-timeline: scroll(self inline);
}
.public-nav::-webkit-scrollbar { display: none; }

/* ── part: searchBox ── */
/* packages/engine/src/look/css/parts/searchBox.css — composed by look/compose.ts (D147, LOOK-2-PARTS). Selectors use the part's
   classes from look/vocabulary.ts (+ UTILITY_CLASSES and elements) only; values are roles and core tokens only.
   Extracted from veritart's public sheet with its cascade preserved: a rule stayed in the site's extra.css whenever moving
   it under a lower layer would have changed which declaration wins on a rendered element (pixel-identical, Q3 a). */

/* ── from 15-header-footer.css ── */
@media (width <= 1100px) {
  .input-group--header {
    flex: 0 1 13rem;
    min-width: 0;
    height: 44px;
    border: 0;
    box-shadow: inset 0 0 0 1px var(--color-border);
  }
  .input-group--header:focus-within {
    box-shadow: inset 0 0 0 1px var(--color-accent-dim);
  }
}
@media (width<=720px) {
  .input-group--header {
    flex: none;
    inline-size: 44px;
    padding: 0;
    position: relative;
  }
  .input-group--header svg {
    pointer-events: none;
    position: absolute;
    left: 16px;
  }
  .input-group--header input {
    padding-inline-start: 44px;
  }
  .input-group--header .kbd {
    display: none;
  }
  .input-group--header:focus-within {
    z-index: 1;
    inline-size: auto;
    margin-block: auto;
    position: absolute;
    inset-block: 0;
    inset-inline: var(--size-5);
  }
  .input-group--header:focus-within input {
    padding-inline-start: 36px;
  }
}
/* ── from 16-listings-search.css ── */
@media (pointer: coarse) {
  .search-form .input-group {
    height: auto;
  }
  .search-form .input-group input {
    block-size: 44px;
  }
}
.search-form {
  max-width: 560px;
}
.search-form .input-group {
  height: var(--h-ctrl-md);
}
/* ── from 26-final.css ── */
:where(.input-group--header) { min-block-size: var(--f-target); }
.input-group, .input-group--header { background: var(--f-surface); border: 1px solid var(--f-line); border-radius: var(--f-r-control); box-shadow: none; transition: border-color var(--f-t), box-shadow var(--f-t); }
.input-group input { color: var(--f-text); font-family: var(--font-f-body); }
.input-group input::placeholder { color: var(--f-text-3); }
.input-group .icon, .input-group svg { color: var(--f-text-3); }
.kbd { font-family: var(--font-f-label); font-size: var(--f-label-sm-size); font-weight: var(--f-label-sm-weight); color: var(--f-text-3); background: var(--f-well); border: 1px solid var(--f-line); border-radius: var(--f-r-control); box-shadow: none; }
.input-group--header { position: relative; z-index: 2; flex: 0 1 15rem; min-width: 10rem; height: auto; block-size: max(var(--f-target), 2.25rem); background: var(--f-surface); }
@container shell (width < 72rem) {
  .input-group--header { flex: none; inline-size: max(var(--f-target), 2.25rem); min-width: 0; block-size: max(var(--f-target), 2.25rem); padding: 0; }
  .input-group--header svg { pointer-events: none; position: absolute; left: 50%; translate: -50% 0; }
  .input-group--header input { padding-inline-start: max(var(--f-target), 2.25rem); }
  .input-group--header .kbd { display: none; }
  .input-group--header:focus-within { z-index: 3; inline-size: auto; margin-block: auto; position: absolute; inset-block: 0; inset-inline: var(--f-gutter); }
  .input-group--header:focus-within svg { left: var(--f-s-3); translate: none; }
  .input-group--header:focus-within input { padding-inline-start: var(--f-s-7); }
}

/* ── part: footer ── */
/* packages/engine/src/look/css/parts/footer.css — composed by look/compose.ts (D147, LOOK-2-PARTS). Selectors use the part's
   classes from look/vocabulary.ts (+ UTILITY_CLASSES and elements) only; values are roles and core tokens only.
   Extracted from veritart's public sheet with its cascade preserved: a rule stayed in the site's extra.css whenever moving
   it under a lower layer would have changed which declaration wins on a rendered element (pixel-identical, Q3 a). */

/* ── from 15-header-footer.css ── */
.public-footer {
  border-top: 1px solid var(--color-border);
  margin-top: var(--size-8);
  padding-block: var(--size-6);
  background: radial-gradient(60% 130% at 0 100%,color-mix(in oklch, var(--color-accent) 4.5%, transparent),transparent 62%);
}
.footer-brand {
  align-items: center;
  gap: var(--size-3);
  min-width: 0;
  display: inline-flex;
}
.footer-logo {
  flex: none;
  width: 18px;
  height: 18px;
  display: block;
}
@media (width<=640px) {
  .public-footer .public-shell {
    row-gap: var(--size-3);
    flex-wrap: wrap;
  }
}
/* ── from 26-final.css ── */
.public-footer { background: color-mix(in oklch, var(--f-plate) 94%, transparent); border-top: 1px solid var(--f-line); overflow-x: clip; color: var(--f-text-3); padding-block: var(--f-s-7); }
.public-footer .caps, .footer-brand .caps { font-family: var(--font-f-label); font-size: var(--f-label-sm-size); font-weight: var(--f-label-sm-weight); letter-spacing: var(--f-label-sm-track); text-transform: uppercase; color: var(--f-text-3); }
.footer-brand .caps { color: var(--f-text-2); }
/* no Motion toggle (operator 2026-11-23: "remove the switch … animation always full"). The footer row wraps so it
   never crowds the brand. */
.public-footer .public-shell { flex-wrap: wrap; row-gap: var(--f-s-3); }

/* ── part: card ── */
/* packages/engine/src/look/css/parts/card.css — composed by look/compose.ts (D147, LOOK-2-PARTS). Selectors use the part's
   classes from look/vocabulary.ts (+ UTILITY_CLASSES and elements) only; values are roles and core tokens only.
   Extracted from veritart's public sheet with its cascade preserved: a rule stayed in the site's extra.css whenever moving
   it under a lower layer would have changed which declaration wins on a rendered element (pixel-identical, Q3 a). */

/* ── from 16-listings-search.css ── */
.item-list {
  padding: var(--size-3) 0 var(--size-6);
}
.item {
  gap: var(--size-2);
  padding: var(--size-5) 0;
  border-bottom: 1px solid var(--color-border);
  transition: background var(--dur-fast) var(--ease-out);
  grid-template-columns: minmax(0,1fr);
  align-items: start;
  text-decoration: none;
  display: grid;
}
.item--media {
  column-gap: var(--size-5);
  grid-template-columns: clamp(116px,18vw,168px) minmax(0,1fr);
}
.item-media {
  aspect-ratio: 4/3;
  border-radius: var(--radius-2);
  border: 1px solid var(--color-border);
  transition: border-color var(--dur-fast) var(--ease-out);
  overflow: hidden;
}
.item-thumb {
  object-fit: cover;
  width: 100%;
  height: 100%;
  transition: transform var(--dur-slow) var(--ease-out);
  display: block;
}
.item:hover .item-thumb {
  transform: scale(1.03);
}
.item-meta {
  gap: var(--size-3);
  flex-wrap: wrap;
  align-items: center;
  display: flex;
}
.item-date {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: var(--tracking-mono);
  color: var(--color-text-3);
  text-transform: uppercase;
}
.item-body h3 {
  font-size: var(--fs-lg);
  color: var(--color-text-1);
  letter-spacing: -.01em;
  margin-top: var(--size-3);
  transition: color var(--dur-fast) var(--ease-out);
  font-weight: 500;
  line-height: 1.25;
}
@media (width>=1000px) {
  .item-list {
    column-gap: clamp(var(--size-6), 4vw, var(--size-8));
    grid-template-columns: 1fr 1fr;
    display: grid;
  }
}
@media (width<=560px) {
  .item--media {
    row-gap: var(--size-3);
    grid-template-columns: 1fr;
  }
  .item-media {
    aspect-ratio: 16/9;
  }
}

/* ── part: results ── */
/* packages/engine/src/look/css/parts/results.css — composed by look/compose.ts (D147, LOOK-2-PARTS). Selectors use the part's
   classes from look/vocabulary.ts (+ UTILITY_CLASSES and elements) only; values are roles and core tokens only.
   Extracted from veritart's public sheet with its cascade preserved: a rule stayed in the site's extra.css whenever moving
   it under a lower layer would have changed which declaration wins on a rendered element (pixel-identical, Q3 a). */

/* ── from 16-listings-search.css ── */
.list-section {
  padding: var(--size-6) 0 0;
}
.list-section+.list-section {
  padding-top: var(--size-7);
}
.list-section__head {
  justify-content: space-between;
  align-items: baseline;
  gap: var(--size-3);
  padding-bottom: var(--size-3);
  border-bottom: 1px solid var(--color-border);
  display: flex;
}
.list-section__head h2 {
  font-size: var(--fs-xl);
  font-weight: 600;
}
.list-section__count {
  font-family: var(--font-mono);
  font-size: var(--fs-sm);
  color: var(--color-text-3);
  font-weight: 400;
}
.search-meta {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: var(--tracking-mono);
  color: var(--color-text-3);
  text-transform: uppercase;
  padding: var(--size-4) 0;
  border-bottom: 1px solid var(--color-border);
}

/* ── part: emptyState ── */
/* packages/engine/src/look/css/parts/emptyState.css — composed by look/compose.ts (D147, LOOK-2-PARTS). Selectors use the part's
   classes from look/vocabulary.ts (+ UTILITY_CLASSES and elements) only; values are roles and core tokens only.
   Extracted from veritart's public sheet with its cascade preserved: a rule stayed in the site's extra.css whenever moving
   it under a lower layer would have changed which declaration wins on a rendered element (pixel-identical, Q3 a). */

/* ── from 16-listings-search.css ── */
.empty-state {
  align-items: center;
  gap: var(--size-3);
  padding: var(--size-8) var(--size-5);
  text-align: center;
  border: 1px dashed var(--color-border);
  border-radius: var(--radius-1);
  color: var(--color-text-3);
  margin: var(--size-6) 0;
  font-size: var(--fs-sm);
  flex-direction: column;
  display: flex;
}
.empty-state__icon {
  width: 26px;
  height: 26px;
  color: var(--color-text-mute);
}
.empty-state__msg {
  max-width: 44ch;
  line-height: var(--lh-snug);
  margin: 0;
}
.empty-state__action {
  margin-top: var(--size-2);
}

/* ── part: articleBody ── */
/* packages/engine/src/look/css/parts/articleBody.css — composed by look/compose.ts (D147, LOOK-2-PARTS). Selectors use the part's
   classes from look/vocabulary.ts (+ UTILITY_CLASSES and elements) only; values are roles and core tokens only.
   Extracted from veritart's public sheet with its cascade preserved: a rule stayed in the site's extra.css whenever moving
   it under a lower layer would have changed which declaration wins on a rendered element (pixel-identical, Q3 a). */

/* ── from 12-article-layout.css ── */
.article-body {
  counter-reset: sec;
}
.article-body h2 {
  counter-increment: sec;
}
.article-body h2:before {
  content: counter(sec, decimal-leading-zero) " · ";
  font-family: var(--font-mono);
  color: var(--color-accent);
  letter-spacing: var(--tracking-mono);
  font-weight: 500;
}
.article-body h2 .heading-permalink {
  display: none;
}
.article-body>p:first-of-type:first-letter {
  float: left;
  font-family: var(--font-display);
  color: var(--color-accent);
  margin: .05em .12em 0 0;
  font-size: 3.1em;
  font-weight: 600;
  line-height: .66;
}
.article-body p {
  -webkit-hyphens: none;
  hyphens: none;
  overflow-wrap: break-word;
}
/* ── from 13-article-components.css ── */
.article-body table {
  width: 100%;
  max-width: none;
  margin-top: var(--size-5);
  border-collapse: collapse;
  font-size: var(--fs-sm);
  display: block;
  overflow-x: auto;
}
.article-body th,
.article-body td {
  padding: var(--size-2) var(--size-3);
  border: 1px solid var(--color-border);
  text-align: left;
  vertical-align: top;
}
.article-body th {
  font-family: var(--font-mono);
  /* F8b: a SHIPPED JetBrains Mono weight — the UA's th bold (700) is not shipped, so it was synthesized. */
  font-weight: 600;
  font-size: var(--fs-micro);
  letter-spacing: var(--tracking-caps);
  text-transform: uppercase;
  color: var(--color-text-2);
  background: var(--glass-subtle);
}
.article-body td {
  color: var(--color-text-2);
}
.article-body li input[type=checkbox] {
  margin-right: var(--size-2);
  accent-color: var(--color-accent);
}
.article-body del {
  color: var(--color-text-3);
}
.article-body p>img,
.article-body figure img {
  max-width: 100%;
  height: auto;
  margin: var(--size-5) auto;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-1);
  display: block;
}
.article-body figcaption {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  color: var(--color-text-3);
  letter-spacing: var(--tracking-mono);
  margin-top: var(--size-2);
  text-align: center;
}
.article-body figure {
  margin: var(--size-5) auto;
}
.article-body figure img {
  margin: 0 auto;
}
.article-body blockquote:last-of-type:before {
  display: none;
}
/* TOC / deep-link targets: the TOC scrolls the h2 that owns each (hidden) permalink anchor; the margin keeps the
   heading clear of the sticky header. */
.article-body h2 {
  scroll-margin-top: calc(var(--header-h) + var(--size-5));
}
/* ── from 26-final.css ── */
.article-body { color: var(--f-text-2); }
.article-body > p:first-of-type::first-letter { font-family: var(--font-f-display); font-weight: var(--f-display-weight); color: var(--f-text); font-size: 3.6em; line-height: 0.82; margin: 0.05em 0.1em 0 0; }
.article-body p > img, .article-body figure img { border: 1px solid var(--f-line); border-radius: var(--f-r-plate); }   /* the counter: decoration */
.article-body h3 { font-family: var(--font-f-body); font-weight: 600; font-size: var(--f-t-lg); letter-spacing: -0.01em; color: var(--f-text); margin-top: var(--f-s-7); }
.heading-permalink { color: var(--f-text-3); text-decoration: none; transition: color var(--f-t); }
.article-body strong { color: var(--f-text); }
.article-body code { font-family: var(--font-f-label); font-size: 0.875em;   /* em: follows its line */ background: var(--f-surface); border: 1px solid var(--f-line); border-radius: var(--f-r-control); color: var(--f-light-2); padding: 0.05em 0.3em; }
.article-body blockquote { border: 0; border-radius: 0; background: transparent; padding: var(--f-s-1) 0 var(--f-s-1) var(--f-s-5); color: var(--f-text-2); font-style: normal; position: relative; }
.article-body blockquote::after { content: ""; position: absolute; left: 0; top: var(--f-s-2); bottom: var(--f-s-2); width: 1px; background: linear-gradient(180deg, var(--f-film-stops)); }
.article-body table { border: 0; border-collapse: collapse; }
.article-body th { font-family: var(--font-f-label); font-size: var(--f-label-sm-size); font-weight: var(--f-label-sm-weight); letter-spacing: var(--f-label-sm-track); text-transform: uppercase; color: var(--f-text-3); background: transparent; border: 0; border-bottom: 1px solid var(--f-line-2); text-align: left; }
.article-body td { border: 0; border-bottom: 1px solid color-mix(in oklch, var(--f-line) 50%, transparent); color: var(--f-text-2); background: transparent; }

/* ── part: figure ── */
/* packages/engine/src/look/css/parts/figure.css — composed by look/compose.ts (D147, LOOK-2-PARTS). Selectors use the part's
   classes from look/vocabulary.ts (+ UTILITY_CLASSES and elements) only; values are roles and core tokens only.
   Extracted from veritart's public sheet with its cascade preserved: a rule stayed in the site's extra.css whenever moving
   it under a lower layer would have changed which declaration wins on a rendered element (pixel-identical, Q3 a). */

/* ── from 12-article-layout.css ── */
.hero-frame {
  margin-top: var(--size-6);
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-1);
  position: relative;
  overflow: hidden;
}
.hero-frame img {
  width: 100%;
  height: auto;
  display: block;
}
/* ── from 26-final.css ── */   /* the lede measure: as .profile-section__lede */
.hero-frame { border: 1px solid var(--f-line); border-radius: var(--f-r-plate); box-shadow: var(--f-kerb), 0 30px 70px -40px color-mix(in oklch, var(--f-shade) 95%, transparent); background: var(--f-plate-bg); }
.hero-frame img { filter: none; border-radius: var(--f-r-plate); }

/* ── part: table ── */
/* packages/engine/src/look/css/parts/table.css — composed by look/compose.ts (D147, LOOK-2-PARTS). Selectors use the part's
   classes from look/vocabulary.ts (+ UTILITY_CLASSES and elements) only; values are roles and core tokens only.
   Extracted from veritart's public sheet with its cascade preserved: a rule stayed in the site's extra.css whenever moving
   it under a lower layer would have changed which declaration wins on a rendered element (pixel-identical, Q3 a). */

/* (no rule of this part could leave veritart's extra.css without changing its pixels yet) */

/* ── part: comments ── */
/* packages/engine/src/look/css/parts/comments.css — composed by look/compose.ts (D147, LOOK-2-PARTS). Selectors use the part's
   classes from look/vocabulary.ts (+ UTILITY_CLASSES and elements) only; values are roles and core tokens only.
   Extracted from veritart's public sheet with its cascade preserved: a rule stayed in the site's extra.css whenever moving
   it under a lower layer would have changed which declaration wins on a rendered element (pixel-identical, Q3 a). */

/* ── from 19-comments.css ── */
.comments__list {
  gap: var(--size-5);
  padding: 0;
  list-style: none;
  display: grid;
}
.comments__list--nested {
  margin-left: var(--size-5);
  border-left: 1px solid var(--color-border);
  padding-left: var(--size-5);
}
.comment__head {
  gap: var(--size-3);
  margin-bottom: var(--size-2);
  align-items: baseline;
  display: flex;
}
.comment__date {
  font-size: var(--fs-xs);
  color: var(--color-text-3);
}
.comment {
  background: var(--glass-subtle);
  -webkit-backdrop-filter: blur(var(--glass-blur-soft));
  backdrop-filter: blur(var(--glass-blur-soft));
  border: 1px solid var(--color-border);
  border-radius: var(--radius-2);
  padding: var(--size-4) var(--size-5);
}
.comment__body {
  font-size: var(--fs-sm);
  color: var(--color-text-2);
  line-height: var(--lh-body);
}
.comments__heading {
  font-size: var(--fs-lg);
  color: var(--color-text-1);
  margin: 0 0 var(--size-4);
  border-bottom: 1px solid var(--color-border);
  padding-bottom: var(--size-3);
  font-weight: 600;
}
.comments__count {
  font-size: var(--fs-sm);
  color: var(--color-text-3);
  font-weight: 400;
}
.comments__empty {
  color: var(--color-text-3);
  font-size: var(--fs-sm);
  font-style: italic;
}
/* F8a (decision 191be928:Q11 b) — comments collapsed behind a native disclosure: `details.comments` with the
   existing heading as its summary (comments.ts `collapsed`). Same chevron idiom as .article-chart__data. */
.comments__summary {
  cursor: pointer;
  list-style: none;
  align-items: center;
  gap: var(--size-2);
  border-bottom: 1px solid var(--color-border);
  padding-bottom: var(--size-3);
  display: flex;
}
.comments__summary::-webkit-details-marker {
  display: none;
}
.comments__summary:before {
  content: "▸";
  color: var(--color-accent-dim);
  transition: transform .2s;
}
.comments[open] > .comments__summary {
  margin-bottom: var(--size-4);
}
.comments[open] > .comments__summary:before {
  transform: rotate(90deg);
}
.comments__summary:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
  border-radius: var(--radius-1);
}
/* ── from 26-final.css ── */
.comments { border: 1px solid var(--f-line); border-radius: var(--f-r-plate); background: var(--f-plate-bg); box-shadow: var(--f-kerb); padding: var(--f-pad-plate); }
.comments__summary { border-bottom: 0; }
.comments__summary::before { color: var(--f-text-3); }
.comments__empty { color: var(--f-text-3); }

/* ── part: commentForm ── */
/* packages/engine/src/look/css/parts/commentForm.css — composed by look/compose.ts (D147, LOOK-2-PARTS). Selectors use the part's
   classes from look/vocabulary.ts (+ UTILITY_CLASSES and elements) only; values are roles and core tokens only.
   Extracted from veritart's public sheet with its cascade preserved: a rule stayed in the site's extra.css whenever moving
   it under a lower layer would have changed which declaration wins on a rendered element (pixel-identical, Q3 a). */

/* ── from 19-comments.css ── *//* veritart public — article comments: list, comment cards, comment form. */
.comment-form {
  gap: var(--size-4);
  margin-block: var(--size-7);
  padding: var(--size-5);
  background: var(--glass-subtle);
  -webkit-backdrop-filter: blur(var(--glass-blur-soft));
  backdrop-filter: blur(var(--glass-blur-soft));
  border: 1px solid var(--color-border);
  border-radius: var(--radius-3);
  display: grid;
}
.comment-form__field {
  gap: var(--size-1);
  font-size: var(--fs-sm);
  display: grid;
}
.comment-form__field input,
.comment-form__field textarea {
  width: 100%;
  padding: var(--size-2) var(--size-3);
  background: var(--glass-medium);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-2);
  color: var(--color-text-1);
  /* form controls do not inherit font from the page (UA default: Arial 13.3px) — take the site body face at the
     body-copy size, so what a reader types reads like the text around it */
  font-family: inherit;
  font-size: var(--fs-base);
}
.comment-form__field textarea {
  resize: vertical;
  min-height: 6rem;
}
/* the submit's look is the primary .btn (03-components-primitives.css lists it beside .btn / .btn-primary, KI
   4aac0bd); here only its place in the form grid */
.comment-form__submit {
  justify-self: start;
}
/* ── from 25-late-utilities.css ── */
/* COMMENTS — the honeypot field hides via a CLASS (the strict CSP forbids trio's inline style=), and
   the form title sits in veritart's display system. These two rules were missing when veritart wired
   comments; the rest of the comment styling was already present. */
.comment-form__title {
  font-family: var(--font-display);
  font-size: var(--fs-lg);
  color: var(--color-text-1);
  margin: 0;
  font-weight: 600;
}
.comment-form__hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
/* ── from 26-final.css ── */
.btn-primary, .comment-form__submit { background: var(--f-signal); color: var(--f-well); border: 1px solid var(--f-signal); border-radius: var(--f-r-control); box-shadow: none; padding: var(--f-pad-control); height: auto; }
.comment-form input, .comment-form textarea { background: var(--f-well); border: 1px solid var(--f-line); border-radius: var(--f-r-control); color: var(--f-text); transition: border-color var(--f-t), box-shadow var(--f-t); }
.comment-form label { font-family: var(--font-f-label); font-size: var(--f-label-sm-size); font-weight: var(--f-label-sm-weight); letter-spacing: var(--f-label-sm-track); text-transform: uppercase; color: var(--f-text-3); }

}
@layer look.extra {


/* ── from 11-chrome-chips.css ── *//* veritart public — crucix page chrome: background layers (grid/radial/scanline), mark highlights, filter/kind/status
   chips, section/title/hero heads, group heads, card hover, play buttons, mt-* spacing, public nav links. */
.bg-grid,
.bg-radial,
.bg-scanline {
  pointer-events: none;
  z-index: 0;
  position: fixed;
  inset: 0;
}
.bg-grid {
  background-image: linear-gradient(color-mix(in oklch, var(--color-accent) 3.5%, transparent) 1px,transparent 1px),linear-gradient(90deg,color-mix(in oklch, var(--color-accent) 3.5%, transparent) 1px,transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(80% 60% at 50% 30%,black 40%,transparent 100%);
  mask-image: radial-gradient(80% 60% at 50% 30%,black 40%,transparent 100%);
}
.bg-radial {
  background: radial-gradient(640px 420px at 13% -2%,color-mix(in oklch, var(--color-accent) 4%, transparent),transparent 60%),radial-gradient(520px 320px at 92% 4%,color-mix(in oklch, var(--color-info) 3.5%, transparent),transparent 60%),radial-gradient(460px 300px at 78% 0,color-mix(in oklch, var(--violet-300) 2.5%, transparent),transparent 64%);
}
.bg-scanline {
  background: repeating-linear-gradient(transparent 0 2px,color-mix(in oklch, var(--color-scanline) 2.8%, transparent) 2px 3px);
}
.p-title {
  font-size: clamp(1.75rem, 3.2vw, var(--fs-3xl))!important;
  letter-spacing: var(--tracking-tight)!important;
  font-weight: 500!important;
  line-height: 1.05!important;
}
.filter-bar {
  padding: var(--size-3) 0!important;
  gap: var(--size-3)!important;
}
.avatar,
.avatar-lg,
.badge:before {
  border-radius: 999px!important;
}
.mt-6 {
  margin-top: var(--size-6);
}
.public-nav a {
  color: var(--color-text-3);
  font-family: var(--font-mono);
  letter-spacing: var(--tracking-caps);
  text-transform: uppercase;
  font-size: var(--fs-xs);
  text-decoration: none;
}
/* ── from 12-article-layout.css ── *//* veritart public — article page layout: two-column grid, sticky aside, TOC items, meta rows, article.long typography,
   hero, share bar, reading progress, tags. */
.article-layout {
  gap: var(--size-7);
  padding: var(--size-7) 0;
  /* minmax(0, 1fr), not 1fr: a `1fr` track floors at its content's min-content width (a long chart label, the
     unsized cover), which grew the article column to 443px on a 360px phone. */
  grid-template-columns: 220px minmax(0, 1fr) 220px;
  display: grid;
}
.article-layout>* {
  min-width: 0;
}
/* F5b — the compact article (THE compact breakpoint, `--compact` = look/index.ts COMPACT_MEDIA): one column, the
   TOC + meta aside and the share rail hide, and the TOC shows as a native disclosure above the body instead
   (before F5b a reader below 1100 px had no TOC at all). Same chevron idiom as .comments__summary. */
.toc-details {
  display: none;
}
@media (width <= 1100px) {
  .article-layout {
    gap: var(--size-5);
    grid-template-columns: minmax(0, 1fr);
  }
  .aside-left,
  .aside-right {
    display: none;
  }
  .toc-details {
    font-family: var(--font-mono);
    font-size: var(--fs-xs);
    border-block: 1px solid var(--color-border);
    margin-block: var(--size-5);
    display: block;
  }
}
.toc-details__summary {
  cursor: pointer;
  list-style: none;
  align-items: center;
  gap: var(--size-2);
  min-block-size: 44px;
  margin-bottom: 0;
  display: flex;
}
.toc-details__summary::-webkit-details-marker {
  display: none;
}
.toc-details__summary:before {
  content: "▸";
  color: var(--color-accent-dim);
  transition: transform .2s;
}
.toc-details[open] > .toc-details__summary:before {
  transform: rotate(90deg);
}
.toc-details__list {
  padding-bottom: var(--size-3);
}
/* inside `article.long`, so the prose link look (accent + dashed underline, below) is undone: the items read as
   the aside's do — the same .toc-item colours. */
.toc-details__list .toc-item {
  color: var(--color-text-3);
  border-bottom: 0;
  align-items: center;
  min-block-size: 44px;
  display: flex;
}
.toc-details__list .toc-item.active {
  color: var(--color-accent);
}
.toc-details__list .toc-item:hover {
  color: var(--color-text-1);
}
.aside-sticky {
  top: calc(var(--header-h) + var(--size-5));
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  position: sticky;
}
.toc-item {
  color: var(--color-text-3);
  letter-spacing: var(--tracking-mono);
  transition: color var(--dur-fast) var(--ease-out);
  padding: 4px 0;
  text-decoration: none;
  display: block;
}
.toc-item.active {
  color: var(--color-accent);
}
.toc-item:hover {
  color: var(--color-text-1);
}
.meta-row {
  padding: var(--size-3) 0;
  border-bottom: 1px dashed var(--color-border);
}
.meta-key {
  color: var(--color-text-3);
  letter-spacing: var(--tracking-caps);
  text-transform: uppercase;
}
.meta-val {
  color: var(--color-text-1);
  margin-top: 2px;
}
article.long h1 {
  letter-spacing: -.02em;
  max-width: 20ch;
  font-size: clamp(2.2rem,4vw,3rem);
  font-weight: 500;
  line-height: 1.05;
}
article.long h1 em {
  color: var(--color-accent);
  font-style: normal;
}
article.long h2 {
  margin-top: var(--size-7);
  font-size: var(--fs-xl);
  font-weight: 600;
}
article.long h3 {
  margin-top: var(--size-6);
  font-size: var(--fs-lg);
}
article.long p {
  max-width: none;
  font-size: var(--fs-prose);
  line-height: var(--lh-body);
  color: var(--color-text-2);
  margin-top: var(--size-4);
}
/* Reading measure: prose children of the article body stop at 50ch (F3c, 191be928:Q27 b — was 68ch, which set
   89–102 characters per line at 768 px and up); figures, charts and tables (and a paragraph that only carries an
   image) keep the full column width. */
.article-layout article.long .article-body>:is(p, ul, ol, blockquote, h2, h3, pre):not(:has(>img)) {
  max-inline-size: 50ch;
}
.article-layout article.long img {
  max-width: 100%;
  height: auto;
}
.article-layout article.long svg {
  max-width: 100%;
}
article.long blockquote {
  max-width: none;
  margin: var(--size-6) 0;
  padding: var(--size-5) var(--size-5) var(--size-5) var(--size-7);
  border: 1px solid var(--color-border-accent);
  border-radius: var(--radius-1);
  background: var(--tint-accent);
  font-family: var(--font-display);
  font-size: var(--fs-lg);
  color: var(--color-text-1);
  font-style: italic;
  position: relative;
  /* the render gate's prose-measure check skips a quote that declares itself a display quote (F3c): its size and
     family match the prose from the --fs-prose step up, so only this declaration can tell the two apart */
  --measure-role: display;
}
article.long blockquote:before {
  content: "“";
  left: var(--size-3);
  top: var(--size-1);
  color: var(--color-accent);
  opacity: .4;
  pointer-events: none;
  font-size: 2.4em;
  line-height: 1;
  position: absolute;
}
article.long blockquote p {
  font-size: inherit;
  color: inherit;
  max-width: none;
  margin: 0;
}
article.long ul,
article.long ol {
  max-width: none;
  color: var(--color-text-2);
  padding-left: var(--size-5);
  margin-top: var(--size-4);
}
article.long li {
  margin-top: var(--size-2);
  font-size: var(--fs-prose);
}
article.long li::marker {
  color: var(--color-accent);
}
article.long strong {
  color: var(--color-text-1);
  font-weight: 700;
}
article.long em {
  color: var(--color-text-1);
  font-style: italic;
}
article.long strong em,
article.long em strong {
  color: var(--color-text-1);
  font-style: italic;
  font-weight: 700;
}
article.long a {
  color: var(--color-accent);
  border-bottom: 1px dashed var(--color-border-strong);
  text-decoration: none;
}
article.long a:hover {
  color: var(--color-accent2);
  border-bottom-color: var(--color-accent2);
}
article.long code {
  font-family: var(--font-mono);
  color: var(--color-accent);
  background: var(--tint-accent);
  border: 1px solid var(--color-border);
  border-radius: 2px;
  padding: 0 4px;
  font-size: max(var(--fs-floor), .9em);
}
article.long pre {
  max-width: none;
  margin-top: var(--size-5);
  background: var(--color-base);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-1);
  padding: var(--size-4);
  font-family: var(--font-code);
  font-size: var(--fs-xs);
  line-height: var(--lh-snug);
  overflow-x: auto;
}
article.long pre code {
  color: var(--color-text-2);
  background: 0 0;
  border: 0;
  padding: 0;
}
article.long hr {
  border: 0;
  border-top: 1px dashed var(--color-border);
  margin: var(--size-6) 0;
}
article.long .lede {
  font-size: var(--fs-lg);
  color: var(--color-text-1);
  max-width: none;
  margin-top: var(--size-6);
  line-height: 1.55;
}
.hero-frame .caption {
  bottom: var(--size-3);
  left: var(--size-4);
  z-index: 1;
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: var(--tracking-caps);
  text-transform: uppercase;
  color: var(--color-text-1);
  padding: 2px var(--size-2);
  border-radius: var(--radius-1);
  -webkit-backdrop-filter: blur(var(--glass-blur-chip));
  backdrop-filter: blur(var(--glass-blur-chip));
  background: color-mix(in oklch, var(--color-deep) 70%, transparent);
  position: absolute;
}
.share-col {
  gap: var(--size-2);
  flex-direction: column;
  display: flex;
}
.share-btn {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-2);
  width: 40px;
  height: 40px;
  color: var(--color-text-3);
  background: var(--glass-subtle);
  cursor: pointer;
  transition: all var(--dur-fast) var(--ease-out);
  place-items: center;
  display: grid;
}
.share-btn:hover {
  color: var(--color-accent);
  border-color: var(--color-border-hover);
}
.share-btn.copied {
  color: var(--color-success);
  border-color: var(--color-border-hover);
}
.reading-progress {
  height: 2px;
  z-index: var(--z-sticky);
  pointer-events: none;
  background: 0 0;
  position: fixed;
  inset: 0 0 auto;
}
.reading-progress__bar {
  background: var(--color-accent);
  transform-origin: 0;
  height: 100%;
  transform: scaleX(0);
  box-shadow: var(--glow-accent-sm);
  display: block;
}
.article-nav {
  gap: var(--size-4);
  margin-top: var(--size-7);
  padding-top: var(--size-6);
  border-top: 1px dashed var(--color-border);
  grid-template-columns: 1fr 1fr;
  display: grid;
}
.article-nav__link {
  gap: var(--size-2);
  padding: var(--size-4);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-2);
  background: var(--glass-subtle);
  transition: border-color var(--dur-fast) var(--ease-out), background var(--dur-fast) var(--ease-out);
  flex-direction: column;
  text-decoration: none;
  display: flex;
}
.article-nav__link--next {
  text-align: right;
  align-items: flex-end;
}
.article-nav__link:hover {
  border-color: var(--color-border-hover);
  background: var(--glass-strong);
}
.article-nav__link:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}
.article-nav__dir {
  font-family: var(--font-mono);
  font-size: var(--fs-micro);
  letter-spacing: var(--tracking-caps);
  text-transform: uppercase;
  color: var(--color-accent);
}
.article-nav__title {
  font-family: var(--font-display);
  font-size: var(--fs-md);
  color: var(--color-text-1);
  letter-spacing: -.01em;
  line-height: 1.2;
}
.article-nav__link:hover .article-nav__title {
  color: var(--color-accent);
}
@media (width<=640px) {
  .article-nav {
    grid-template-columns: 1fr;
  }
  .article-nav__link--next {
    text-align: left;
    align-items: flex-start;
  }
}
.article-body>p:first-of-type {
  color: var(--color-text-1);
  /* contain the drop cap's float: at the --fs-prose step a one-line opening paragraph is shorter than the 3.1em cap,
     which otherwise spills into paragraph 2 and indents its first line (Q-F3c-2 (a)) */
  display: flow-root;
}
/* No justified body text: every paragraph and list item of the article body starts aligned. */
.article-layout article.long .article-body :is(p, li) {
  text-align: start;
}
article.long blockquote {
  position: relative;
}
article.long blockquote:before {
  content: "“";
  z-index: 0;
  font-family: var(--font-display);
  color: var(--color-accent);
  opacity: .22;
  pointer-events: none;
  font-size: 3.4em;
  line-height: 1;
  position: absolute;
  top: -.3em;
  left: .12em;
}
article.long blockquote p {
  z-index: 1;
  position: relative;
}
article.long :not(pre)>code {
  white-space: nowrap;
  font-weight: 500;
}
/* ── from 13-article-components.css ── *//* veritart public — article body components: code blocks, figures/embeds and the article-* widgets with their
   responsive and keyframe rules. */
.code-block {
  position: relative;
}
.code-copy {
  top: var(--size-2);
  right: var(--size-2);
  font-family: var(--font-mono);
  font-size: var(--fs-micro);
  letter-spacing: var(--tracking-caps);
  text-transform: uppercase;
  color: var(--color-text-3);
  background: var(--glass-strong);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-2);
  padding: 2px var(--size-2);
  cursor: pointer;
  opacity: 0;
  transition: opacity var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out);
  position: absolute;
}
.code-block:hover .code-copy,
.code-copy:focus-visible {
  opacity: 1;
}
.code-copy:hover {
  color: var(--color-accent);
  border-color: var(--color-border-hover);
}
.code-copy.copied {
  color: var(--color-success);
  opacity: 1;
}
.article-body tbody tr:nth-child(2n) {
  background: var(--glass-subtle);
}
.article-body ul:has(>li input[type=checkbox]) {
  padding-left: var(--size-2);
  list-style: none;
}
article.long hr {
  height: auto;
  margin: var(--size-7) 0;
  text-align: center;
  border: 0;
  line-height: 1;
}
article.long hr:before {
  content: "✦";
  color: var(--color-accent);
  font-size: var(--fs-md);
  opacity: .7;
}
article.long h3 {
  color: var(--color-text-1);
  letter-spacing: -.01em;
}
article.long h4 {
  margin-top: var(--size-5);
  font-family: var(--font-mono);
  font-size: var(--fs-sm);
  letter-spacing: var(--tracking-caps);
  text-transform: uppercase;
  color: var(--color-accent);
  font-weight: 600;
}
.article-body p.has-runin>strong:first-child {
  color: var(--color-accent);
}
.article-body mark.hl-quote {
  background: var(--color-accent);
  color: var(--color-accent-ink);
  border-radius: var(--radius-1);
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  margin: 0 .02em;
  padding: .06em .22em;
  font-weight: 500;
}
.article-body blockquote:last-of-type {
  text-align: center;
  margin-block: var(--size-8);
  padding: var(--size-5) 0;
  font-style: normal;
  font-size: var(--fs-xl);
  color: var(--color-accent);
  background: 0 0;
  border-left: 0;
}
.article-body blockquote:last-of-type p {
  font-size: inherit;
  color: inherit;
}
.article-body>p:last-child:has(>em:only-child) {
  color: var(--color-text-3);
  margin-top: var(--size-6);
}
.article-body>p:last-child:has(>em:only-child) em {
  font-style: normal;
  font-family: var(--font-mono);
  font-size: var(--fs-sm);
  letter-spacing: var(--tracking-mono);
}
.article-body p.tell-title {
  margin-top: var(--size-7);
  margin-bottom: var(--size-2);
  font-family: var(--font-display);
  font-size: var(--fs-lg);
  letter-spacing: -.01em;
  text-indent: 0;
  -webkit-hyphens: none;
  hyphens: none;
  line-height: 1.2;
}
.article-body p.tell-title>strong {
  color: var(--color-text-1);
  font-weight: 600;
}
.article-body p.tell-title:before {
  content: "▸";
  color: var(--color-accent);
  margin-right: var(--size-2);
  vertical-align: .08em;
  font-size: max(var(--fs-floor), .78em);
}
.article-body blockquote.specimen {
  max-width: none;
  margin: var(--size-3) 0 var(--size-5);
  padding: var(--size-4) var(--size-5);
  border: 1px solid var(--color-border-accent);
  border-radius: var(--radius-1);
  background: var(--tint-accent);
  font-family: var(--font-mono);
  font-size: var(--fs-sm);
  font-style: normal;
  line-height: var(--lh-snug);
  color: var(--color-text-2);
  text-align: left;
  position: relative;
  --measure-role: display; /* a display quote: the render gate's prose-measure check skips it (F3c) */
}
.article-body blockquote.specimen:before {
  content: "AI SPECIMEN";
  margin: 0 0 var(--size-2);
  font-family: var(--font-mono);
  font-size: var(--fs-micro);
  letter-spacing: var(--tracking-caps);
  color: var(--color-accent-dim);
  opacity: 1;
  font-weight: 600;
  line-height: 1;
  display: block;
  position: static;
  inset: auto;
}
.article-body blockquote.specimen p {
  max-width: none;
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  -webkit-hyphens: none;
  hyphens: none;
  margin: 0;
  font-style: normal;
}
.article-body .article-chart {
  margin: var(--size-6) 0;
  background: radial-gradient(120% 80% at 0% 0%, var(--tint-accent), transparent 60%), var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-2);
  padding: clamp(.9rem,3vw,1.4rem);
}
.article-body .article-chart__head {
  flex-wrap: wrap;
  align-items: baseline;
  gap: .2rem .7rem;
  display: flex;
}
.article-body .article-chart__title {
  font-family: var(--font-display);
  font-size: var(--fs-lg);
  letter-spacing: -.01em;
  color: var(--color-text-1);
  margin: 0;
  font-weight: 600;
}
.article-body .article-chart__sub {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: var(--tracking-mono);
  color: var(--color-text-3);
  margin: 0;
}
.article-body .article-chart__legend {
  flex-wrap: wrap;
  gap: .4rem 1.1rem;
  margin: .65rem 0 .2rem;
  display: flex;
}
.article-body .article-chart__key {
  font-family: var(--font-mono);
  font-size: var(--fs-micro);
  letter-spacing: var(--tracking-mono);
  color: var(--color-text-3);
  align-items: center;
  gap: .45rem;
  display: inline-flex;
}
.article-body .article-chart__key:before {
  content: "";
  border-radius: 1px;
  width: .85rem;
  height: .2rem;
}
.article-body .article-chart__key--rise:before {
  background: var(--color-accent);
}
.article-body .article-chart__key--fall:before {
  background: var(--color-danger);
}
.article-body .article-chart__plot {
  aspect-ratio: 96/43;
  width: 100%;
  margin-top: .5rem;
  position: relative;
}
@media (width<=560px) {
  .article-body .article-chart__plot {
    aspect-ratio: 7/5;
  }
}
.article-body .article-chart__svg {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
}
.article-body .article-chart__grid {
  stroke: var(--color-border);
  stroke-width: 1px;
  vector-effect: non-scaling-stroke;
}
.article-body .article-chart__axis {
  stroke: color-mix(in oklch, var(--color-text-3) 55%, transparent);
  stroke-width: 1px;
  vector-effect: non-scaling-stroke;
}
.article-body .article-chart__line {
  fill: none;
  stroke-width: 2.25px;
  stroke-linejoin: round;
  stroke-linecap: round;
  stroke-dasharray: 100;
  stroke-dashoffset: 0;
  vector-effect: non-scaling-stroke;
}
.article-body .article-chart__line--rise {
  stroke: var(--color-accent);
}
.article-body .article-chart__line--fall {
  stroke: var(--color-danger);
  filter: drop-shadow(0 0 5px color-mix(in oklch, var(--color-danger) 45%, transparent));
}
.article-body .article-chart__fill-top {
  stop-color: var(--color-accent);
  stop-opacity: .2;
}
.article-body .article-chart__fill-bot {
  stop-color: var(--color-accent);
  stop-opacity: 0;
}
.article-body .article-chart__marker {
  stroke: color-mix(in oklch, var(--color-danger) 60%, transparent);
  stroke-width: 1.5px;
  stroke-dasharray: 4 5;
  vector-effect: non-scaling-stroke;
}
.article-body .article-chart__caption {
  margin-top: var(--size-4);
  font-family: var(--font-body);
  font-size: var(--fs-sm);
  text-align: left;
  color: var(--color-text-2);
  font-style: normal;
  line-height: 1.6;
}
.article-body .article-chart__source {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: var(--tracking-mono);
  color: var(--color-text-3);
  margin-top: .4rem;
  display: block;
}
.article-body .article-chart__data {
  margin-top: var(--size-4);
  border-top: 1px solid var(--color-border);
  padding-top: var(--size-3);
}
.article-body .article-chart__data summary {
  cursor: pointer;
  min-height: 44px;
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: var(--tracking-mono);
  color: var(--color-accent-dim);
  align-items: center;
  gap: .5rem;
  list-style: none;
  display: flex;
}
.article-body .article-chart__data summary::-webkit-details-marker {
  display: none;
}
.article-body .article-chart__data summary:before {
  content: "▸";
  transition: transform .2s;
}
.article-body .article-chart__data[open] summary:before {
  transform: rotate(90deg);
}
.article-body .article-chart__data summary:hover {
  color: var(--color-accent);
}
.article-body .article-chart__data summary:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
  border-radius: var(--radius-1);
}
.article-body .article-chart__table-scroll {
  margin-top: var(--size-3);
  overflow-x: auto;
}
.article-body .article-chart__data table {
  width: 100%;
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  border-collapse: collapse;
}
.article-body .article-chart__data th,
.article-body .article-chart__data td {
  text-align: right;
  white-space: nowrap;
  padding: .3rem .6rem;
}
.article-body .article-chart__data th[scope=row] {
  text-align: left;
  color: var(--color-text-3);
}
.article-body .article-chart__data thead th {
  color: var(--color-text-2);
}
.article-body .article-chart__line--rise {
  animation: 1.15s cubic-bezier(.22,1,.36,1) both ac-draw;
}
.article-body .article-chart__line--fall {
  animation: .6s cubic-bezier(.33,1,.68,1) 1s both ac-draw;
}
.article-body .article-chart__area {
  opacity: 0;
  animation: .9s .45s forwards ac-fade;
}
.article-body .article-chart__marker {
  opacity: 0;
  animation: .5s 1.4s forwards ac-fade;
}
@keyframes ac-draw {
  0% {
    stroke-dashoffset: 100px;
  }
  to {
    stroke-dashoffset: 0;
  }

}
@keyframes ac-fade {
  to {
    opacity: 1;
  }

}
.article-body .cite-ref {
  vertical-align: baseline;
  font-size: 100%;
  line-height: inherit;
}
.article-body .cite-ref a {
  font-family: var(--font-mono);
  vertical-align: super;
  color: var(--color-accent);
  letter-spacing: var(--tracking-mono);
  white-space: nowrap;
  transition: color var(--dur-fast) var(--ease-out), background var(--dur-fast) var(--ease-out);
  border-bottom: 0;
  border-radius: 3px;
  padding: 0 .12em;
  font-size: max(var(--fs-floor), .68em);
  font-weight: 600;
  line-height: 0;
}
.article-body .cite-ref a:before {
  content: "[";
  opacity: .5;
}
.article-body .cite-ref a:after {
  content: "]";
  opacity: .5;
}
.article-body .cite-ref a:hover {
  color: var(--color-accent2);
  background: var(--tint-accent);
}
.article-body .cite-ref a:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}
.article-body h2.cite-heading:before {
  content: none;
}
.article-body h2.cite-heading {
  margin-top: var(--size-8);
  padding-top: var(--size-5);
  border-top: 1px solid var(--color-border);
  align-items: baseline;
  gap: var(--size-2) var(--size-3);
  font-family: var(--font-mono);
  font-size: var(--fs-sm);
  letter-spacing: var(--tracking-caps);
  text-transform: uppercase;
  color: var(--color-text-2);
  flex-wrap: wrap;
  font-weight: 600;
  display: flex;
}
.article-body h2.cite-heading .cite-count {
  font-size: var(--fs-micro);
  letter-spacing: var(--tracking-mono);
  text-transform: none;
  color: var(--color-text-3);
  font-weight: 500;
}
.article-body h2.cite-heading .cite-count:before {
  content: "· ";
  color: var(--color-accent);
}
.article-body ol.ref-list {
  /* citation metadata, not reading prose: the render gate's prose-measure check skips every role but prose (Q-F3c-1) */
  --measure-role: metadata;
  counter-reset: refn;
  margin-top: var(--size-4);
  font-size: var(--fs-sm);
  padding-left: 0;
  list-style: none;
}
.article-body ol.ref-list li {
  counter-increment: refn;
  padding: var(--size-3) var(--size-2) var(--size-3) 3rem;
  /* a reference entry keeps the list's own --fs-sm, not the reading-prose --fs-prose of article.long li (F3c) */
  font-size: inherit;
  border-bottom: 1px dashed var(--color-border);
  line-height: var(--lh-snug);
  color: var(--color-text-2);
  scroll-margin-top: calc(var(--header-h) + var(--size-5));
  /* a reference entry's bare URL is one unbreakable word (438px at 360) — let it wrap */
  overflow-wrap: anywhere;
  transition: background var(--dur-fast) var(--ease-out);
  margin: 0;
  position: relative;
}
.article-body ol.ref-list li:before {
  content: "[" counter(refn) "]";
  left: 0;
  top: var(--size-3);
  text-align: right;
  width: 2.5rem;
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  color: var(--color-accent);
  letter-spacing: var(--tracking-mono);
  font-weight: 600;
  position: absolute;
}
.article-body ol.ref-list li:hover {
  background: var(--glass-subtle);
}
.article-body ol.ref-list li em {
  color: var(--color-text-1);
  font-style: italic;
}
.article-body ol.ref-list li a {
  color: var(--color-accent);
  border-bottom: 1px dashed var(--color-border-strong);
  word-break: break-word;
}
.article-body ol.ref-list li a:hover {
  color: var(--color-accent2);
  border-bottom-color: var(--color-accent2);
}
.article-body ol.ref-list li .ref-back {
  color: var(--color-text-3);
  opacity: 0;
  transition: opacity var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out);
  border-bottom: 0;
  margin-left: .35em;
}
.article-body ol.ref-list li:hover .ref-back,
.article-body ol.ref-list li:focus-within .ref-back,
.article-body ol.ref-list li:target .ref-back {
  opacity: 1;
}
.article-body ol.ref-list li .ref-back:hover {
  color: var(--color-accent);
}
.article-body ol.ref-list li:target {
  background: var(--tint-accent);
  outline: 1px solid var(--color-border-accent);
  outline-offset: -1px;
  border-radius: var(--radius-1);
}
.article-body ol.ref-list li:target {
  animation: ref-flash 1.5s var(--ease-out);
}
@keyframes ref-flash {
  0% {
    background: color-mix(in oklch, var(--color-accent) 32%, transparent);
  }
  to {
    background: var(--tint-accent);
  }

}
/* C7-BYLINE (79092af3:Q7 a) — the article byline links the persona page /mochi/ (rel="author"). It keeps the
   byline's own colour and reads as a link on hover; on a phone the end-of-article byline is a 44px-tall tap target. */
.byline-link {
  color: inherit;
  text-decoration: none;
}
.byline-link:hover,
.byline-link:focus-visible {
  text-decoration: underline;
}
@media (width<=560px) {
  .byline-link {
    min-height: 44px;
    align-items: center;
    display: inline-flex;
  }
}
/* ── from 14-article-citations.css ── *//* veritart public — article citations (.cite) and the remaining article-* components, responsive rules and keyframes. */
.cite-pop {
  z-index: var(--z-tooltip);
  gap: 0 var(--size-3);
  max-width: min(360px,92vw);
  padding: var(--size-3) var(--size-4);
  background: var(--color-surface);
  border: 1px solid var(--color-border-accent);
  border-radius: var(--radius-2);
  box-shadow: var(--shadow-3);
  font-family: var(--font-body);
  font-size: var(--fs-xs);
  line-height: var(--lh-snug);
  color: var(--color-text-2);
  opacity: 0;
  transition: opacity var(--dur-fast) var(--ease-out), transform var(--dur-fast) var(--ease-out);
  pointer-events: none;
  grid-template-columns: auto 1fr;
  display: grid;
  position: fixed;
  transform: translateY(4px);
}
.cite-pop.is-visible {
  opacity: 1;
  transform: none;
}
.cite-pop__n {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: var(--fs-micro);
  color: var(--color-accent);
  letter-spacing: var(--tracking-mono);
}
.cite-pop__t em {
  color: var(--color-text-1);
  font-style: italic;
}
.cite-pop__t a {
  color: var(--color-accent);
  word-break: break-word;
}
html {
  scroll-behavior: smooth;
}
.article-body .article-chart--bars .article-chart__bars {
  gap: var(--size-3);
  margin-top: var(--size-4);
  flex-direction: column;
  display: flex;
}
.article-body .acb-row {
  align-items: center;
  gap: var(--size-2) var(--size-3);
  grid-template-columns: minmax(8rem,36%) 1fr auto;
  display: grid;
}
.article-body .acb-label {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: var(--tracking-mono);
  line-height: var(--lh-snug);
  color: var(--color-text-2);
}
.article-body .acb-track {
  background: var(--glass-subtle);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-1);
  height: .7rem;
  position: relative;
  overflow: hidden;
}
.article-body .acb-val {
  font-family: var(--font-mono);
  font-size: var(--fs-sm);
  text-align: right;
  white-space: nowrap;
  min-width: 3.5ch;
  color: var(--color-text-1);
  font-weight: 600;
}
.article-body .acb-val--danger {
  color: var(--color-danger);
}
.article-body .acb-val--accent {
  color: var(--color-accent);
}
.article-body .acb-val--muted {
  color: var(--color-text-3);
}
@media (width<=560px) {
  .article-body .acb-row {
    row-gap: var(--size-1);
    grid-template-columns: 1fr auto;
  }
  .article-body .acb-label {
    grid-column: 1/-1;
  }
}
.article-body .article-chart__line--decline {
  stroke: var(--color-danger);
  filter: drop-shadow(0 0 5px color-mix(in oklch, var(--color-danger) 40%, transparent));
}
.article-body .article-chart__fill-decline-top {
  stop-color: var(--color-danger);
  stop-opacity: .18;
}
.article-body .article-chart__fill-decline-bot {
  stop-color: var(--color-danger);
  stop-opacity: 0;
}
.article-body .article-chart__refline {
  stroke: color-mix(in oklch, var(--color-text-3) 50%, transparent);
  stroke-width: 1px;
  stroke-dasharray: 3 4;
  vector-effect: non-scaling-stroke;
}
.article-body .article-chart__line--decline {
  animation: 1.1s cubic-bezier(.22,1,.36,1) both ac-draw;
}
.article-body .article-chart__area--decline {
  opacity: 0;
  animation: .9s .5s forwards ac-fade;
}
.article-body .article-chart__plot--dist {
  aspect-ratio: 96/40;
}
@media (width<=560px) {
  .article-body .article-chart__plot--dist {
    aspect-ratio: 5/4;
  }
}
/* LOOK-Q10 density diagrams (engine charts/density.ts): colour by role — series 1 / series 2 identities, the one
   subject series 2, context --f-mute stepped by order; never a glow. The overlap band belongs to neither curve: a
   neutral wash, never a hue mix of the two (an oklch mix of two hues interpolates through a third — KI-f2nmsqc7).
   Curves draw in through the pathLength="100" dash, so they carry no vector-effect: non-scaling-stroke (with the
   dash it cut the draw-in short). */
.article-body .ac-density__curve {
  fill: none;
  stroke-width: 2px;
  stroke-linejoin: round;
  stroke-linecap: round;
  stroke-dasharray: 100;
  animation: 1.2s cubic-bezier(.22,1,.36,1) both ac-draw;
}
.article-body .ac-density__curve:nth-of-type(2n) {
  animation-delay: .15s;
}
.article-body .ac-density__curve--s1 {
  stroke: var(--f-series-1);
}
.article-body .ac-density__curve--s2,
.article-body .ac-density__curve[data-role="subject"] {
  stroke: var(--f-series-2);
}
.article-body .ac-density__curve[data-role="context"] {
  stroke: var(--f-mute);
}
.article-body .ac-density__curve--k1 {
  opacity: .55;
}
.article-body .ac-density__curve--k2 {
  opacity: .75;
}
.article-body .ac-density__wash--s1 {
  fill: color-mix(in oklch, var(--f-series-1) 10%, transparent);
}
.article-body .ac-density__wash--s2,
.article-body .ac-density__wash[data-role="subject"] {
  fill: color-mix(in oklch, var(--f-series-2) 10%, transparent);
}
.article-body .ac-density__wash[data-role="context"] {
  fill: color-mix(in oklch, var(--f-mute) 6%, transparent);
}
.article-body .ac-density__band {
  fill: color-mix(in oklch, var(--f-text-3) 14%, transparent);
}
.article-body .ac-density__wash,
.article-body .ac-density__band {
  opacity: 0;
  animation: .9s .6s forwards ac-fade;
}
/* The distribution figure keeps its current look (LOOK-Q10: pixel-identical; LOOK-V2 owns the veritart palette pass):
   human = accent, machine = danger, a 2.5 px stroke at any plot stretch. It has no draw-in dash, so the stroke stays
   non-scaling here. */
.article-body .article-chart__plot--dist .ac-density__curve {
  stroke-width: 2.5px;
  stroke-dasharray: none;
  vector-effect: non-scaling-stroke;
}
.article-body .article-chart__plot--dist .ac-density__curve--s1 {
  stroke: var(--color-accent);
}
.article-body .article-chart__plot--dist .ac-density__curve--s2 {
  stroke: var(--color-danger);
}
.article-body .article-chart__plot--dist .ac-density__wash--s1 {
  fill: color-mix(in oklch, var(--color-accent) 13%, transparent);
}
.article-body .article-chart__plot--dist .ac-density__wash--s2 {
  fill: color-mix(in oklch, var(--color-danger) 12%, transparent);
}
.article-body .article-chart--matrix .acm-grid {
  margin-top: var(--size-4);
  border-top: 1px solid var(--color-border);
  grid-template-columns: minmax(6.5rem,.8fr) 1fr 1fr;
  display: grid;
}
.article-body .acm-head {
  padding: var(--size-3) var(--size-3) var(--size-2);
  font-family: var(--font-mono);
  font-size: var(--fs-micro);
  letter-spacing: var(--tracking-caps);
  text-transform: uppercase;
  color: var(--color-text-3);
  border-bottom: 1px solid var(--color-border);
}
.article-body .acm-label,
.article-body .acm-then,
.article-body .acm-now {
  padding: var(--size-4) var(--size-3);
  border-bottom: 1px solid var(--color-border);
  font-size: var(--fs-sm);
  color: var(--color-text-2);
  line-height: 1.5;
}
.article-body .acm-label {
  flex-direction: column;
  gap: .15rem;
  display: flex;
}
.article-body .acm-label-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--fs-base);
  letter-spacing: -.01em;
  color: var(--color-accent);
}
.article-body .acm-gloss {
  font-family: var(--font-mono);
  font-size: var(--fs-micro);
  letter-spacing: var(--tracking-mono);
  color: var(--color-text-3);
}
.article-body .acm-then {
  color: var(--color-text-3);
}
.article-body .acm-now {
  color: var(--color-text-1);
  box-shadow: inset 1px 0 0 color-mix(in oklch, var(--color-accent) 35%, transparent);
}
@media (width<=620px) {
  .article-body .article-chart--matrix .acm-grid {
    border-top: 0;
    grid-template-columns: 1fr;
  }
  .article-body .acm-head {
    display: none;
  }
  .article-body .acm-label {
    padding: var(--size-5) var(--size-3) var(--size-2);
    border-bottom: 0;
  }
  .article-body .acm-then,
  .article-body .acm-now {
    padding: var(--size-1) var(--size-3) var(--size-2);
    box-shadow: none;
  }
  .article-body .acm-now {
    border-bottom: 1px solid var(--color-border);
  }
  .article-body .acm-then:before,
  .article-body .acm-now:before {
    font-family: var(--font-mono);
    font-size: var(--fs-micro);
    text-transform: uppercase;
    letter-spacing: var(--tracking-caps);
    margin-right: .4rem;
    display: inline;
  }
  .article-body .acm-then:before {
    content: "Then";
    color: var(--color-text-3);
  }
  .article-body .acm-now:before {
    content: "Now";
    color: var(--color-accent);
  }
}
.article-body .article-chart__plot--collapse {
  aspect-ratio: 96/43;
}
@media (width<=560px) {
  .article-body .article-chart__plot--collapse {
    aspect-ratio: 5/4;
  }
}
.article-body .article-chart--donut .acp-wrap {
  align-items: center;
  gap: var(--size-5) var(--size-6);
  margin-top: var(--size-4);
  flex-wrap: wrap;
  display: flex;
}
.article-body .acp-plot {
  aspect-ratio: 1;
  flex: none;
  width: clamp(9rem,38%,11.5rem);
  position: relative;
}
.article-body .acp-svg {
  width: 100%;
  height: 100%;
}
.article-body .acp-track {
  stroke: var(--glass-subtle);
}
.article-body .acp-seg {
  stroke-linecap: butt;
}
.article-body .acp-seg--danger {
  stroke: var(--color-danger);
}
.article-body .acp-seg--accent {
  stroke: var(--color-accent);
}
.article-body .acp-seg--muted {
  stroke: color-mix(in oklch, var(--color-text-3) 50%, transparent);
}
.article-body .acp-center {
  text-align: center;
  pointer-events: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  display: flex;
  position: absolute;
  inset: 0;
}
.article-body .acp-center-num {
  font-family: var(--font-display);
  font-size: var(--fs-xl);
  letter-spacing: var(--tracking-tight);
  font-weight: 600;
  line-height: var(--lh-tight);
  color: var(--color-text-1);
}
.article-body .acp-center-sub {
  font-family: var(--font-mono);
  font-size: var(--fs-micro);
  letter-spacing: var(--tracking-mono);
  color: var(--color-text-3);
  max-width: 6.5rem;
  line-height: var(--lh-snug);
  margin-top: .3rem;
}
.article-body .acp-legend {
  margin: 0;
  padding: 0;
  list-style: none;
}
.article-body .article-chart--donut .acp-legend {
  align-items: baseline;
  column-gap: var(--size-5);
  row-gap: var(--size-3);
  grid-template-columns: max-content max-content;
  display: grid;
}
.article-body .acp-key {
  display: contents;
}
.article-body .acp-key-label {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: var(--tracking-mono);
  line-height: var(--lh-snug);
  color: var(--color-text-2);
  align-items: baseline;
  gap: .5rem;
  display: inline-flex;
}
.article-body .acp-key-label:before {
  content: "";
  border-radius: var(--radius-1);
  flex: none;
  width: .6rem;
  height: .6rem;
  transform: translateY(.05rem);
}
.article-body .acp-key--danger .acp-key-label:before {
  background: var(--color-danger);
}
.article-body .acp-key--accent .acp-key-label:before {
  background: var(--color-accent);
}
.article-body .acp-key--muted .acp-key-label:before {
  background: color-mix(in oklch, var(--color-text-3) 50%, transparent);
}
.article-body .acp-key-val {
  font-family: var(--font-mono);
  font-size: var(--fs-sm);
  letter-spacing: var(--tracking-mono);
  color: var(--color-text-1);
  white-space: nowrap;
  justify-self: end;
  font-weight: 600;
}
@keyframes acp-pop {
  0% {
    opacity: 0;
    transform: scale(.92);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }

}
.article-body .article-chart--donut .acp-plot {
  animation: .7s cubic-bezier(.22,1,.36,1) both acp-pop;
}
/* ── from 15-header-footer.css ── *//* veritart public — skip link, public header items, footer. */
.skip-link {
  left: var(--size-3);
  top: var(--size-3);
  z-index: var(--z-toast);
  transition: transform var(--dur-fast) var(--ease-out);
  padding: var(--size-2) var(--size-4);
  font-family: var(--font-mono);
  font-size: var(--fs-sm);
  color: var(--color-text-1);
  background: var(--color-elevated);
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-2);
  position: absolute;
  transform: translateY(-200%);
}
.skip-link:focus {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
  transform: translateY(0);
}
.item:focus-visible,
.feature:focus-visible,
.post:focus-visible,
.pillar:focus-visible,
.brand:focus-visible,
.public-nav a:focus-visible,
.filter-bar .badge:focus-visible,
.section-head .right a:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
  border-radius: var(--radius-2);
}
.public-nav a {
  min-height: var(--tap-min);
  color: var(--color-text-3);
  font-family: var(--font-mono);
  letter-spacing: var(--tracking-caps);
  text-transform: uppercase;
  font-size: var(--fs-xs);
  align-items: center;
  text-decoration: none;
  display: inline-flex;
}
.public-nav a:hover {
  color: var(--color-accent);
}
.public-nav a.active {
  color: var(--color-text-1);
}
@media (width <= 1100px) {
  .public-header .brand {
    flex: none;
    min-block-size: 44px;
  }
  .public-nav a {
    white-space: nowrap;
    flex: none;
    justify-content: center;
    min-block-size: 44px;
    min-inline-size: 44px;
    padding-inline: var(--size-2);
  }
}
.ml-auto {
  margin-left: auto;
}
/* ── from 16-listings-search.css ── *//* veritart public — archive/listing pages: filters, list + feature + item cards, tiles, pagination, page heads,
   search, empty and error states. */
.archive-hero {
  padding: var(--size-8) 0 var(--size-6);
  border-bottom: 1px solid var(--color-border);
}
.archive-hero .eyebrow {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: var(--tracking-caps);
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: var(--size-4);
}
.archive-hero h1 {
  letter-spacing: -.02em;
  max-width: 20ch;
  font-size: clamp(2.4rem,6vw,3.5rem);
  font-weight: 500;
  line-height: 1.05;
}
.archive-hero h1 em {
  color: var(--color-accent);
  font-style: normal;
}
.archive-hero p {
  margin-top: var(--size-4);
  max-width: 64ch;
  color: var(--color-text-2);
  font-size: var(--fs-md);
  line-height: var(--lh-body);
}
.filter-bar {
  gap: var(--size-3);
  padding: var(--size-4) 0;
  border-bottom: 1px solid var(--color-border);
  flex-wrap: wrap;
  align-items: center;
  display: flex;
}
.filter-bar .badge {
  min-height: var(--tap-min);
}
/* F4 — a finger's hit area (>= 44x44, the render gate's coarse-pointer TAP_MIN); a mouse keeps the compact chips. */
@media (pointer: coarse) {
  .filter-bar .badge {
    min-block-size: 44px;
  }
}
.sr-only {
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  position: absolute;
  overflow: hidden;
}
.feature {
  gap: clamp(var(--size-5), 4vw, var(--size-7));
  padding: var(--size-6) 0 var(--size-7);
  border-bottom: 1px solid var(--color-border);
  grid-template-columns: minmax(0,1.05fr) minmax(0,.95fr);
  align-items: center;
  text-decoration: none;
  display: grid;
}
.feature-media {
  aspect-ratio: 16/10;
  border-radius: var(--radius-3);
  border: 1px solid var(--color-border);
  background: var(--color-base);
  transition: border-color var(--dur-fast) var(--ease-out), box-shadow var(--dur-base) var(--ease-out);
  position: relative;
  overflow: hidden;
}
.feature:hover .feature-media {
  border-color: var(--color-border-hover);
  box-shadow: var(--glow-accent-sm);
}
.feature-media img {
  object-fit: cover;
  width: 100%;
  height: 100%;
  transition: transform var(--dur-slow) var(--ease-out);
  display: block;
}
.feature:hover .feature-media img {
  transform: scale(1.03);
}
.feature-meta {
  gap: var(--size-3);
  flex-wrap: wrap;
  align-items: center;
  display: flex;
}
.feature-date {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: var(--tracking-mono);
  color: var(--color-text-3);
  text-transform: uppercase;
}
.feature-title {
  letter-spacing: -.02em;
  color: var(--color-text-1);
  margin-top: var(--size-4);
  text-wrap: balance;
  transition: color var(--dur-fast) var(--ease-out);
  font-size: clamp(1.7rem,2.6vw,2.6rem);
  font-weight: 500;
  line-height: 1.08;
}
.feature:hover .feature-title {
  color: var(--color-accent);
}
.feature-excerpt {
  margin-top: var(--size-4);
  color: var(--color-text-2);
  font-size: var(--fs-md);
  line-height: var(--lh-body);
  text-wrap: pretty;
  max-width: 54ch;
}
.feature-cta {
  margin-top: var(--size-5);
  align-items: center;
  gap: var(--size-2);
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: var(--tracking-caps);
  color: var(--color-accent);
  display: inline-flex;
}
.feature-cta svg {
  width: 14px;
  height: 14px;
  transition: transform var(--dur-fast) var(--ease-out);
}
.feature:hover .feature-cta svg {
  transform: translate(4px);
}
.item:hover {
  background: color-mix(in oklch, var(--color-surface-raised) 30%, transparent);
  text-decoration: none;
}
.item:hover .item-media {
  border-color: var(--color-border-hover);
}
.item:hover .item-body h3 {
  color: var(--color-accent);
}
.item-body>p {
  font-size: var(--fs-sm);
  color: var(--color-text-2);
  margin-top: var(--size-2);
  max-width: 72ch;
  line-height: var(--lh-body);
  text-wrap: pretty;
}
.item-body .badge mark,
.item-body mark {
  background: var(--hl-accent-subtle);
  color: var(--color-accent);
  border-bottom: 0;
  padding: 0 2px;
}
@keyframes archive-in {
  0% {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.feature,
.item-list .item {
  animation: archive-in var(--dur-slow) var(--ease-out) both;
}
.item-list .item:nth-child(2) {
  animation-delay: 60ms;
}
.item-list .item:nth-child(3) {
  animation-delay: .12s;
}
.item-list .item:nth-child(4) {
  animation-delay: .18s;
}
.item-list .item:nth-child(n+5) {
  animation-delay: .24s;
}
@media (width<=760px) {
  .feature {
    gap: var(--size-4);
    padding: var(--size-5) 0 var(--size-6);
    grid-template-columns: 1fr;
    align-items: start;
  }
  .feature-media {
    aspect-ratio: 16/9;
  }
  .feature-title {
    margin-top: var(--size-3);
  }
}
.search-hero {
  padding: var(--size-7) 0 var(--size-5);
}
.search-hero h1 {
  font-size: var(--fs-2xl);
  letter-spacing: -.02em;
  margin-bottom: var(--size-4);
  font-weight: 500;
}
/* F8b (KI 2026-10-17 404 island): the not-found page spans the shell like every archive hero —
   left-aligned, full width — instead of a centred 284 px column. */
.error-page {
  min-height: 60vh;
  padding: var(--size-8) 0 var(--size-6);
  justify-content: center;
  align-items: flex-start;
  gap: var(--size-4);
  flex-direction: column;
  display: flex;
}
.error-code {
  font-family: var(--font-mono);
  font-size: var(--fs-4xl);
  letter-spacing: -.02em;
  color: var(--color-accent);
  font-weight: 600;
}
.error-msg {
  color: var(--color-text-1);
  letter-spacing: -.02em;
  font-size: clamp(2rem,5vw,3rem);
  font-weight: 500;
  line-height: 1.1;
}
/* ── from 17-forms-auth.css ── *//* veritart public — the compact-width tap floor for buttons and section-head links (the admin/auth form rules had no producer on the public sheet and were deleted, F12b). */
@media (width<=640px) {
  .btn,
  .comment-form__submit {
    min-height: 44px;
  }
  .section-head .right a {
    align-items: center;
    min-height: 44px;
    display: inline-flex;
  }
}
/* ── from 18-home.css ── *//* veritart public — home page: hero, sections, latest posts, post cards, workshop, pillars. */
.hero-wrap {
  padding: var(--size-8) 0 var(--size-7);
  border-bottom: 1px solid var(--color-border);
  position: relative;
}
.hero-eyebrow-row {
  align-items: center;
  gap: var(--size-3);
  margin-bottom: var(--size-5);
  font-family: var(--font-mono);
  font-size: var(--fs-micro);
  letter-spacing: var(--tracking-caps);
  text-transform: uppercase;
  color: var(--color-text-3);
  flex-wrap: wrap;
  display: flex;
}
.hero-eyebrow-row .sep {
  color: var(--color-border-strong);
}
.hero-h1 {
  font-family: var(--font-display);
  letter-spacing: -.035em;
  color: var(--color-text-1);
  max-width: 18ch;
  font-size: clamp(2.4rem,6vw,4.2rem);
  font-weight: 500;
  line-height: 1;
}
.hero-h1 em {
  color: var(--color-accent);
  font-style: normal;
}
.hero-intro {
  margin-top: var(--size-5);
  color: var(--color-text-2);
  font-size: var(--fs-md);
  text-wrap: pretty;
  max-width: 56ch;
  line-height: 1.55;
}
.hero-meta-strip {
  margin-top: var(--size-6);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  grid-template-columns: repeat(4,1fr);
  gap: 0;
  display: grid;
}
@media (width<=720px) {
  .hero-meta-strip {
    grid-template-columns: repeat(2,1fr);
  }
}
.hero-meta-strip>div {
  padding: var(--size-4) var(--size-4) var(--size-4) 0;
  border-right: 1px solid var(--color-border);
  flex-direction: column;
  gap: 3px;
  display: flex;
}
.hero-meta-strip>div:last-child {
  border-right: 0;
}
/* A lone stat spans the strip rather than sitting in a quarter-width cell (C6-HERO-ZEROS). */
.hero-meta-strip>div:only-child {
  grid-column: 1 / -1;
}
.hero-meta-strip>div:not(:first-child) {
  padding-left: var(--size-4);
}
.hero-meta-strip .k {
  font-family: var(--font-mono);
  font-size: var(--fs-micro);
  letter-spacing: var(--tracking-caps);
  text-transform: uppercase;
  color: var(--color-text-3);
}
.hero-meta-strip .v {
  font-family: var(--font-display);
  font-size: var(--fs-xl);
  color: var(--color-text-1);
  letter-spacing: -.02em;
  font-variant-numeric: tabular-nums;
  font-weight: 500;
  line-height: 1;
}
.hero-meta-strip .v .u {
  font-family: var(--font-mono);
  font-size: var(--fs-micro);
  color: var(--color-text-3);
  letter-spacing: var(--tracking-mono);
  margin-left: 3px;
}
.section-head {
  justify-content: space-between;
  align-items: baseline;
  gap: var(--size-4);
  margin-bottom: var(--size-6);
  display: flex;
}
.section-kicker {
  font-family: var(--font-mono);
  font-size: var(--fs-micro);
  letter-spacing: var(--tracking-caps);
  text-transform: uppercase;
  color: var(--color-accent);
}
.section-head h2 {
  font-family: var(--font-display);
  font-size: var(--fs-2xl);
  letter-spacing: -.02em;
  color: var(--color-text-1);
  margin-top: 6px;
  font-weight: 500;
}
.section-head p {
  color: var(--color-text-3);
  font-size: var(--fs-sm);
  max-width: 56ch;
  margin-top: 4px;
}
.section-head .right {
  font-family: var(--font-mono);
  font-size: var(--fs-micro);
  letter-spacing: var(--tracking-caps);
  text-transform: uppercase;
  color: var(--color-text-3);
  white-space: nowrap;
}
.section-head .right a {
  color: var(--color-accent);
  text-decoration: none;
}
.section-head .right a:hover {
  text-decoration: underline;
}
.latest-wrap {
  padding: var(--size-8) 0 var(--size-7);
  border-bottom: 1px solid var(--color-border);
}
.latest-grid {
  gap: var(--size-5);
  grid-template-columns: repeat(3,1fr);
  display: grid;
}
@media (width<=900px) {
  .latest-grid {
    grid-template-columns: 1fr;
  }
}
.post {
  gap: var(--size-3);
  padding: var(--size-5) 0;
  border-top: 1px solid var(--color-border);
  cursor: pointer;
  min-height: 200px;
  transition: border-color var(--dur-base) var(--ease-out);
  flex-direction: column;
  text-decoration: none;
  display: flex;
}
.post .date-row {
  align-items: center;
  gap: var(--size-3);
  font-family: var(--font-mono);
  font-size: var(--fs-micro);
  letter-spacing: var(--tracking-caps);
  text-transform: uppercase;
  color: var(--color-text-3);
  display: flex;
}
.post .date-row .day {
  color: var(--color-accent);
  font-weight: 500;
}
.post h3 {
  font-family: var(--font-display);
  font-size: var(--fs-lg);
  letter-spacing: -.015em;
  color: var(--color-text-1);
  max-width: 26ch;
  transition: color var(--dur-fast) var(--ease-out);
  font-weight: 500;
  line-height: 1.15;
}
.post p {
  font-size: var(--fs-sm);
  color: var(--color-text-2);
  max-width: 44ch;
  line-height: 1.55;
}
.post .foot {
  padding-top: var(--size-3);
  font-family: var(--font-mono);
  font-size: var(--fs-micro);
  letter-spacing: var(--tracking-mono);
  color: var(--color-text-3);
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  display: flex;
}
.post:hover {
  border-top-color: var(--color-border-strong);
}
.post:hover h3 {
  color: var(--color-accent);
}
.post-cover {
  aspect-ratio: 16/9;
  border-radius: var(--radius-2);
  border: 1px solid var(--color-border);
  margin-bottom: var(--size-2);
  display: block;
  overflow: hidden;
}
.post-cover img {
  object-fit: cover;
  width: 100%;
  height: 100%;
  transition: transform var(--dur-slow) var(--ease-out);
  display: block;
}
.post:hover .post-cover {
  border-color: var(--color-border-hover);
}
.post:hover .post-cover img {
  transform: scale(1.03);
}
.workshop-wrap {
  padding: var(--size-8) 0;
}
.pillars {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-1);
  grid-template-columns: repeat(4,1fr);
  gap: 0;
  display: grid;
  overflow: hidden;
}
@media (width<=900px) {
  .pillars {
    grid-template-columns: repeat(2,1fr);
  }
}
.pillar {
  padding: var(--size-6);
  border-right: 1px solid var(--color-border);
  background: var(--glass-subtle);
  gap: var(--size-3);
  cursor: pointer;
  min-height: 220px;
  transition: background var(--dur-base) var(--ease-out);
  flex-direction: column;
  text-decoration: none;
  display: flex;
  position: relative;
}
.pillar:last-child {
  border-right: 0;
}
@media (width<=900px) {
  .pillar:nth-child(2) {
    border-right: 0;
  }
  .pillar:first-child,
  .pillar:nth-child(2) {
    border-bottom: 1px solid var(--color-border);
  }
}
.pillar:hover {
  background: var(--glass-strong);
}
.pillar:before {
  content: "";
  background: currentColor;
  width: 40px;
  height: 2px;
  position: absolute;
  top: 0;
  left: 0;
}
.p-article {
  color: var(--c-article);
}
.p-prompt {
  color: var(--c-prompt);
}
.p-skill {
  color: var(--c-skill);
}
.p-tool {
  color: var(--c-tool);
}
.pillar .p-label {
  font-family: var(--font-mono);
  font-size: var(--fs-micro);
  letter-spacing: var(--tracking-caps);
  text-transform: uppercase;
  color: currentColor;
}
.pillar .p-count {
  font-family: var(--font-display);
  color: var(--color-text-1);
  letter-spacing: -.03em;
  font-variant-numeric: tabular-nums;
  font-size: 2.6rem;
  font-weight: 500;
  line-height: 1;
}
.pillar .p-title {
  font-family: var(--font-display);
  font-size: var(--fs-md);
  color: var(--color-text-1);
  letter-spacing: -.015em;
  font-weight: 500;
}
.pillar .p-desc {
  font-size: var(--fs-xs);
  color: var(--color-text-3);
  max-width: 30ch;
  line-height: 1.5;
}
.pillar .p-foot {
  padding-top: var(--size-4);
  font-family: var(--font-mono);
  font-size: var(--fs-micro);
  letter-spacing: var(--tracking-caps);
  text-transform: uppercase;
  color: var(--color-text-3);
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  display: flex;
}
.pillar .p-foot .arrow {
  color: currentColor;
  transition: transform var(--dur-fast) var(--ease-out);
}
.pillar:hover .p-foot .arrow {
  transform: translate(3px);
}
.section-head h2 {
  text-shadow: 0 0 16px color-mix(in oklch, var(--color-accent) 32%, transparent),0 0 32px color-mix(in oklch, var(--color-info) 18%, transparent);
}
.hero-wrap,
.latest-wrap {
  position: relative;
  overflow-x: clip;
}
.hero-wrap:after,
.latest-wrap:after {
  content: "";
  background: linear-gradient(90deg, transparent, var(--color-accent), var(--color-accent2), var(--c-prompt), transparent);
  opacity: .55;
  filter: drop-shadow(0 0 6px color-mix(in oklch, var(--color-info) 40%, transparent));
  background-size: 50% 100%;
  width: 400%;
  height: 1px;
  position: absolute;
  bottom: -1px;
  left: 0;
}
.hero-wrap:after,
.latest-wrap:after {
  will-change: transform;
  animation: 8s linear infinite holo-edge;
}
.hero-wrap.is-offscreen:after,
.latest-wrap.is-offscreen:after {
  animation-play-state: paused;
}
.holo-glitch.is-holo-in {
  animation: .55s steps(2,end) holo-glitch;
}
.holo-glitch:hover {
  animation: .4s steps(2,end) holo-glitch;
}
@keyframes holo-glitch {
  0% {
    text-shadow: 0 0 16px color-mix(in oklch, var(--glitch-mint) 45%, transparent);
    transform: translate(0);
  }
  20% {
    text-shadow: -3px 0 color-mix(in oklch, var(--color-danger) 75%, transparent),3px 0 color-mix(in oklch, var(--glitch-cyan) 75%, transparent);
    transform: translate(-2px,1px);
  }
  40% {
    text-shadow: 3px 0 color-mix(in oklch, var(--color-danger) 65%, transparent),-3px 0 color-mix(in oklch, var(--glitch-cyan) 65%, transparent);
    transform: translate(2px,-1px);
  }
  60% {
    text-shadow: -2px 0 color-mix(in oklch, var(--glitch-violet) 65%, transparent),2px 0 color-mix(in oklch, var(--glitch-mint) 65%, transparent);
    transform: translate(-1px);
  }
  to {
    text-shadow: 0 0 16px color-mix(in oklch, var(--glitch-mint) 45%, transparent),0 0 30px color-mix(in oklch, var(--glitch-cyan) 30%, transparent);
    transform: translate(0);
  }

}
/* The holo edge: its host clips a strip four host-widths wide holding two 200%-wide gradient tiles; sliding
   the strip one tile left (-50% of itself) is the old background-position 0 -> 200% cycle, frame for frame, as a
   compositor-only transform. The clip: overflow-x: clip (the strip must not widen the page). The home hosts are
   full-bleed, so that clip is the viewport's own edge; the /lucas/ hosts sit inside the shell's --size-5 gutter,
   so they clip at the gutter (overflow-clip-margin — glows and glitch chroma that overhang into it still paint)
   and a clip-path cuts only the line's own 32px band at the host's edges (21-profile.css). The brand wordmark keeps holo-edge-bg (hover-only:
   its host is an inline span, which cannot clip). */
@keyframes holo-edge {
  0% {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }

}
@keyframes holo-edge-bg {
  0% {
    background-position: 0 0;
  }
  to {
    background-position: 200% 0;
  }

}
/* ── from 19-comments.css ── */
/* the refused-submit reason (the 422 re-render's <p role="alert"> under the title) reads as an error */
.comment-form [role=alert] {
  margin: 0;
  color: var(--color-danger);
  font-size: var(--fs-sm);
}
.comment__author a {
  color: var(--color-accent);
  text-decoration: none;
}
.comment__author a:hover {
  color: var(--color-accent-dim);
  text-decoration: underline;
}
.comment__body p {
  margin: 0 0 var(--size-2);
}
.comment__body p:last-child {
  margin-bottom: 0;
}
/* The heading's top spacing in a long article came from `article.long h2 { margin-top: var(--size-7) }`
   (12-article-layout.css), which the summary heading's `margin: 0` below cancels — so the disclosure itself
   carries it: the closed summary keeps the gap above it (26px) instead of sitting flush on the prev/next nav. */
article.long details.comments {
  margin-top: var(--size-7);
}
.comments__summary .comments__heading {
  margin: 0;
  border-bottom: 0;
  padding-bottom: 0;
}
.comments__summary:hover .comments__heading {
  color: var(--color-accent);
}
@media (pointer: coarse) {
  .comments__summary,
  .comment-form__field input,
  .comment-form__submit {
    min-height: 44px;
  }
}
/* ── from 20-surface-alias.css ── *//* veritart public — the --color-surface-1 alias crucix references (D84 / Q1a). */

/* D84 / Q1a (operator pick 2026-09-26): crucix references --color-surface-1 but never defined it; alias it to the surface token. */
:root {
  --color-surface-1: var(--color-surface);
}
/* ── from 21-profile.css ── *//* veritart public — the /lucas profile page (trio's crucix profile bundle): hero, cases, shots, skills, proof, spec,
   the pmap node graph, detail panel + glitch transitions, resume, copy. */

/* Measures are written in Be Vietnam Pro's `ch`, not in `ch` (F6a). `ch` is the "0" advance of the FIRST AVAILABLE
   font, so a ch-based max-width is ~11% narrower while the system fallback paints (before the web font swaps in):
   the thesis prose wrapped one line deeper and the swap then moved the system map ~20 px — a load-time layout shift
   of 0.13-0.22 at >= 768 px whose size depended on font-load timing (the render gate saw it either side of 0.1).
   .676em IS Be Vietnam Pro's "0" (676/1000 em at weight 400), so `calc(N * .676em)` is the Nch the layout was designed
   in (68 = --layout-reading's 68ch), whichever face is painting — the final layout is unchanged. */
.profile-hero {
  padding: clamp(var(--size-7), 8vw, calc(var(--size-8) + var(--size-5))) 0 var(--size-7);
  border-bottom: 1px solid var(--color-border);
}
.profile-hero__eyebrow {
  font-family: var(--font-mono);
  font-size: var(--fs-sm);
  color: var(--color-text-3);
  letter-spacing: .02em;
  margin: 0 0 var(--size-3);
}
.profile-hero__title {
  font-size: clamp(var(--fs-2xl), 7vw, var(--fs-3xl));
  letter-spacing: -.03em;
  font-weight: 700;
  line-height: var(--lh-tight);
  text-wrap: balance;
  margin: 0 0 var(--size-4);
}
.profile-hero__cursor {
  color: var(--color-accent);
}
/* the blink is an endless loop: opt-in motion only (reduced motion gets a steady cursor) */
.profile-hero__cursor {
  animation: 1s steps(2,start) infinite profile-blink;
}
.profile-hero__cursor.is-offscreen {
  animation-play-state: paused;
}
.profile-hero__thesis {
  font-size: var(--fs-xl);
  color: var(--color-text-1);
  max-width: calc(68 * .676em);
  text-wrap: balance;
  margin: 0 0 var(--size-5);
}
.profile-hero__cta {
  gap: var(--size-3);
  flex-wrap: wrap;
  display: flex;
}
@keyframes profile-blink {
  to {
    opacity: 0;
  }

}
.profile-section {
  padding: var(--size-7) 0;
  border-bottom: 1px solid var(--color-border);
}
.profile-section:first-of-type {
  padding-top: var(--size-8);
}
.profile-section__heading {
  font-size: var(--fs-2xl);
  letter-spacing: -.02em;
  text-wrap: balance;
}
.profile-section__lede,
.profile-prose {
  max-width: calc(68 * .676em);
  color: var(--color-text-3);
  line-height: var(--lh-body);
}
.profile-prose strong {
  color: var(--color-text-1);
}
.profile-section__head-row {
  justify-content: space-between;
  align-items: baseline;
  gap: var(--size-4);
  flex-wrap: wrap;
  display: flex;
}
.profile-contact {
  padding-block: var(--size-8);
  border-bottom: 0;
}
.profile-contact .profile-section__heading {
  color: var(--color-accent);
}
.case {
  background: var(--color-elevated);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-1);
  padding: var(--size-5);
  scroll-margin-top: var(--size-7);
}
.case__title {
  font-size: var(--fs-xl);
  margin: 0 0 var(--size-2);
}
.case__meta {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  color: var(--color-text-2);
  margin: 0 0 var(--size-2);
}
.case__tagline {
  color: var(--color-text-1);
  margin: 0 0 var(--size-3);
}
.case__blurb {
  color: var(--color-text-2);
  max-width: calc(68 * .676em);
}
.case__outcomes {
  color: var(--color-text-2);
  font-size: var(--fs-sm);
  padding-left: var(--size-5);
}
.case__tech,
.case__metrics {
  gap: var(--size-2);
  margin-top: var(--size-3);
  flex-wrap: wrap;
  display: flex;
}
.metric {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  color: var(--color-accent);
}
.case__shot {
  margin: 0;
}
.case__shot img {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-2);
  width: 100%;
  height: auto;
  box-shadow: var(--shadow-3);
  display: block;
}
.case__shot-cap {
  font-family: var(--font-mono);
  font-size: var(--fs-micro);
  color: var(--color-text-2);
  text-transform: uppercase;
  letter-spacing: .08em;
  line-height: var(--lh-snug);
  margin: var(--size-2) 0 0;
}
.profile-captures .shots {
  gap: var(--size-7);
  margin-top: var(--size-6);
  display: grid;
}
.shot--featured {
  width: 100%;
  max-width: 64rem;
  margin-inline: auto;
}
.shots__rest {
  gap: var(--size-6);
  grid-template-columns: repeat(auto-fit,minmax(min(100%,16rem),1fr));
  min-width: 0;
  display: grid;
}
.shot {
  gap: var(--size-3);
  min-width: 0;
  color: inherit;
  text-decoration: none;
  display: grid;
}
.shot__frame {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-2);
  background: var(--color-surface);
  box-shadow: var(--shadow-2);
  transition: border-color var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out), transform var(--dur-base) var(--ease-out);
  display: block;
  position: relative;
  overflow: hidden;
}
.shot__frame img {
  width: 100%;
  height: auto;
  display: block;
}
.shots__rest .shot__frame {
  aspect-ratio: 16/10;
}
.shots__rest .shot__frame img {
  object-fit: cover;
  object-position: top center;
  height: 100%;
}
.shot__live {
  top: var(--size-2);
  right: var(--size-2);
  align-items: center;
  gap: var(--size-1);
  font-family: var(--font-mono);
  font-size: var(--fs-micro);
  letter-spacing: .06em;
  color: var(--color-text-1);
  background: color-mix(in oklch, var(--color-base) 86%, transparent);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-1);
  padding: 2px var(--size-2);
  pointer-events: none;
  display: inline-flex;
  position: absolute;
}
.shot__live-dot {
  background: var(--color-accent);
  width: 6px;
  height: 6px;
  box-shadow: 0 0 6px color-mix(in oklch, var(--color-accent) 70%, transparent);
  border-radius: 50%;
}
.shot__meta {
  gap: var(--size-1);
  min-width: 0;
  display: grid;
}
.shot__id {
  align-items: center;
  gap: var(--size-2);
  font-family: var(--font-mono);
  font-size: var(--fs-sm);
  color: var(--color-text-1);
  letter-spacing: -.01em;
  transition: color var(--dur-fast) var(--ease-out);
  display: inline-flex;
}
.shot--featured .shot__id {
  font-size: var(--fs-base);
}
.shot__icon {
  color: var(--color-accent-dim);
  flex: none;
}
.shot__note {
  font-size: var(--fs-sm);
  color: var(--color-text-2);
  line-height: var(--lh-snug);
}
.shot:hover .shot__frame,
.shot:focus-within .shot__frame {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 1px color-mix(in oklch, var(--color-accent) 30%, transparent), var(--shadow-3);
}
.shot:hover .shot__id,
.shot:focus-visible .shot__id {
  color: var(--color-accent);
}
.shot:focus-visible {
  outline: none;
}
.shot:focus-visible .shot__frame {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
}
.shot:hover .shot__frame,
.shot:focus-visible .shot__frame {
  transform: translateY(-3px);
}
.shot__frame img {
  transition: transform var(--dur-slow) var(--ease-out);
}
.shot:hover .shot__frame img,
.shot:focus-visible .shot__frame img {
  transform: scale(1.025);
}
.skill-grid {
  gap: var(--size-6);
  margin-top: var(--size-5);
  grid-template-columns: repeat(auto-fit,minmax(15rem,1fr));
  display: grid;
}
.skill-grid__title {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  color: var(--color-text-3);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin: 0 0 var(--size-3);
}
.skill-grid__list {
  gap: var(--size-4);
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
}
.skill {
  gap: var(--size-1);
  font-size: var(--fs-sm);
  color: var(--color-text-2);
  display: grid;
}
.skill__head {
  align-items: center;
  gap: var(--size-2);
  display: flex;
}
.skill__icon {
  font-size: var(--fs-base);
  color: var(--color-text-3);
  transition: color var(--dur-fast) var(--ease-out);
  flex: none;
}
.skill:hover .skill__icon,
.skill:focus-within .skill__icon {
  color: var(--color-accent);
}
.skill__proof {
  padding-left: calc(var(--fs-base) + var(--size-2));
  font-size: var(--fs-micro);
  line-height: var(--lh-snug);
}
.skill__sep {
  color: var(--color-text-mute);
  margin: 0 var(--size-1);
}
.proof-link {
  color: var(--color-text-3);
  cursor: pointer;
  transition: color var(--dur-fast) var(--ease-out);
  text-decoration: none;
}
.proof-link:hover,
.proof-link:focus-visible {
  color: var(--color-accent);
}
.proof-link:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
  border-radius: 1px;
}
.spec-list {
  gap: var(--size-7) var(--size-6);
  margin-top: var(--size-6);
  grid-template-columns: repeat(auto-fit,minmax(22rem,1fr));
  display: grid;
}
.spec__head {
  align-items: center;
  gap: var(--size-3);
  margin-bottom: var(--size-3);
  display: flex;
}
.spec__node {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-1);
  background: var(--color-elevated);
  width: 1.9rem;
  height: 1.9rem;
  color: var(--color-accent);
  transition: border-color var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out);
  flex: none;
  justify-content: center;
  align-items: center;
  display: inline-flex;
}
.spec__icon {
  width: 1rem;
  height: 1rem;
}
.spec:hover .spec__node,
.spec:focus-within .spec__node {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 1px color-mix(in oklch, var(--color-accent) 30%, transparent);
}
.spec__title {
  font-size: var(--fs-lg);
  letter-spacing: -.01em;
  line-height: var(--lh-snug);
  text-wrap: balance;
  margin: 0;
}
.spec__blurb {
  color: var(--color-text-2);
  font-size: var(--fs-sm);
  line-height: var(--lh-body);
  max-width: calc(44 * .676em);
  margin: 0 0 var(--size-4);
}
.spec__proof {
  gap: var(--size-2);
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
}
.proof {
  align-items: center;
  gap: var(--size-2);
  padding: var(--size-1) var(--size-3);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-1);
  background: var(--color-elevated);
  color: var(--color-text-2);
  font-size: var(--fs-xs);
  cursor: pointer;
  transition: transform var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out);
  text-decoration: none;
  display: inline-flex;
}
.proof__icon {
  width: .9rem;
  height: .9rem;
  color: var(--color-text-3);
  transition: color var(--dur-fast) var(--ease-out);
  flex: none;
}
.spec:hover .proof {
  border-color: var(--color-border-hover);
}
.proof:hover,
.proof:focus-visible {
  border-color: var(--color-accent);
  color: var(--color-text-1);
  box-shadow: 0 4px 14px -8px color-mix(in oklch, var(--color-accent) 55%, transparent);
  transform: translateY(-1px);
}
.proof:hover .proof__icon,
.proof:focus-visible .proof__icon {
  color: var(--color-accent);
}
.proof:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}
.pmap {
  margin: var(--size-4) 0 var(--size-2);
  position: relative;
  /* the hub node's pulsing glow (::after, scaled ~1.03) spilled the live map 5-9px past the viewport at 768-2560 */
  overflow-x: clip;
}
.pmap__caption {
  align-items: center;
  gap: var(--size-1);
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  color: var(--color-text-3);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: var(--size-3);
  display: inline-flex;
}
.pmap__bands {
  z-index: 1;
  gap: var(--size-3);
  display: grid;
  position: relative;
}
.pmap__band {
  --pmap-key: var(--color-text-3);
  border-inline-start: 2px solid color-mix(in oklch, var(--pmap-key) 55%, transparent);
  padding-inline-start: var(--size-3);
}
.pmap__band[data-hue=slate] {
  --pmap-key: var(--pmap-hue-slate);
}
.pmap__band[data-hue=teal] {
  --pmap-key: var(--pmap-hue-teal);
}
.pmap__band[data-hue=amber] {
  --pmap-key: var(--pmap-hue-amber);
}
.pmap__band[data-hue=violet] {
  --pmap-key: var(--pmap-hue-violet);
}
.pmap__band[data-hue=crimson] {
  --pmap-key: var(--pmap-hue-crimson);
}
.pmap__band[data-hue=blue] {
  --pmap-key: var(--pmap-hue-blue);
}
.pmap__band[data-hue=orange] {
  --pmap-key: var(--pmap-hue-orange);
}
.pmap__band[data-hue=green] {
  --pmap-key: var(--pmap-hue-green);
}
.pmap__band[data-hue=purple] {
  --pmap-key: var(--pmap-hue-purple);
}
.pmap__band[data-hue=magenta] {
  --pmap-key: var(--pmap-hue-magenta);
}
.pmap__band-title {
  font-family: var(--font-mono);
  font-size: var(--fs-micro);
  color: var(--pmap-key);
  text-transform: uppercase;
  letter-spacing: .1em;
  margin: 0 0 var(--size-2);
}
.pmap__nodes {
  gap: var(--size-2);
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
}
.pmap__node {
  align-items: center;
  gap: var(--size-1);
  background: var(--color-elevated);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-1);
  padding: var(--size-1) var(--size-3);
  font-size: var(--fs-sm);
  color: var(--color-text-2);
  cursor: pointer;
  transition: border-color var(--dur-fast) var(--ease-out), background var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out);
  display: inline-flex;
}
.pmap__node:hover,
.pmap__node.is-active {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 1px color-mix(in oklch, var(--color-accent) 35%, transparent);
}
.pmap__node.is-active {
  background: color-mix(in oklch, var(--color-accent) 12%, var(--color-elevated));
  color: var(--color-text-1);
}
.pmap__node.is-linked {
  border-color: color-mix(in oklch, var(--color-accent) 45%, var(--color-border));
  box-shadow: 0 0 0 1px color-mix(in oklch, var(--color-accent) 22%, transparent);
}
.pmap__node:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}
.pmap__status {
  font-size: var(--fs-base);
  color: var(--color-text-3);
  flex: none;
}
.pmap__node[data-status=built] .pmap__status {
  color: var(--color-accent-dim);
}
.pmap__node[data-status=partial] .pmap__status {
  color: var(--pmap-hue-amber);
}
.pmap__node[data-status=planned] .pmap__status {
  color: var(--color-text-3);
}
.pmap__edges {
  z-index: 0;
  pointer-events: none;
  position: absolute;
  inset: 0;
  overflow: visible;
}
.pmap__edge {
  fill: none;
  stroke: var(--pmap-edge);
  stroke-width: 1.5px;
  opacity: .55;
  transition: stroke var(--dur-fast) var(--ease-out), opacity var(--dur-fast) var(--ease-out);
}
.pmap__edge--active {
  stroke: var(--pmap-edge-active);
  opacity: 1;
  filter: drop-shadow(0 0 3px color-mix(in oklch, var(--color-accent) 60%, transparent));
}
.pmap__arrowhead path {
  fill: var(--pmap-edge);
}
.pmap__arrowhead--active path {
  fill: var(--pmap-edge-active);
}
.pmap__join {
  fill: var(--pmap-edge);
  opacity: .7;
  transition: fill var(--dur-fast) var(--ease-out), opacity var(--dur-fast) var(--ease-out);
}
.pmap__join--active {
  fill: var(--pmap-edge-active);
  opacity: 1;
  filter: drop-shadow(0 0 3px color-mix(in oklch, var(--color-accent) 60%, transparent));
}
.pmap__edge-pill-bg {
  fill: var(--color-surface);
  stroke: color-mix(in oklch, var(--color-accent) 50%, transparent);
  stroke-width: 1px;
}
.pmap__edge-label {
  font-family: var(--font-mono);
  font-size: var(--fs-micro);
  fill: var(--color-accent);
}
.pmap__particle {
  fill: var(--color-accent);
  filter: drop-shadow(0 0 2px var(--color-accent));
}
@media (width<=40rem) {
  .pmap__edges {
    display: none;
  }
  .pmap__node {
    width: 100%;
  }
}
.pmap--hero {
  margin: var(--size-6) 0 var(--size-2);
}
.pmap--hero .pmap__bands {
  gap: var(--size-5);
}
.pmap__node-li {
  display: contents;
}
.pmap__node--project {
  min-width: 12rem;
  max-width: 17rem;
  padding: var(--size-2) var(--size-3);
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  text-decoration: none;
}
.pmap__node--project .pmap__node-label {
  color: var(--color-text-1);
  font-weight: 600;
}
.pmap__node-sub {
  font-size: var(--fs-xs);
  color: var(--color-text-2);
  line-height: var(--lh-tight);
  text-wrap: balance;
}
.pmap__node--hub {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 1px color-mix(in oklch, var(--color-accent) 30%, transparent);
}
.pmap__node--hub .pmap__node-label {
  color: var(--color-accent);
}
.pmap__node-head {
  align-items: center;
  gap: var(--size-2);
  display: inline-flex;
}
.pmap__node-icon {
  width: 1rem;
  height: 1rem;
  color: var(--color-text-3);
  transition: color var(--dur-fast) var(--ease-out);
  flex: none;
}
.pmap__node--hub .pmap__node-icon {
  color: var(--color-accent);
}
.pmap__node--project {
  transition: transform var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out);
}
.pmap__node--project:hover,
.pmap__node--project:focus-visible {
  border-color: var(--color-accent);
  box-shadow: 0 8px 22px -12px color-mix(in oklch, var(--color-accent) 50%, transparent);
  transform: translateY(-2px);
}
.pmap__node--project:hover .pmap__node-icon,
.pmap__node--project:focus-visible .pmap__node-icon {
  color: var(--color-accent);
}
.pmap--hero .pmap__edges {
  display: none;
}
.pmap__bands--split {
  grid-template-columns: repeat(2,minmax(0,1fr));
  align-items: start;
}
.pmap--hero .pmap__bands--split {
  gap: var(--size-6);
}
.pmap__band--side .pmap__band-title {
  font-size: var(--fs-sm);
  letter-spacing: .08em;
}
.pmap__band-lede {
  font-size: var(--fs-xs);
  color: var(--color-text-2);
  line-height: var(--lh-tight);
  margin: 0 0 var(--size-3);
  text-wrap: balance;
  max-width: calc(34 * .676em);
}
.pmap__band--side .pmap__node--project {
  width: 100%;
  min-width: 0;
  max-width: none;
}
@media (width<=52rem) {
  .pmap__bands--split {
    grid-template-columns: 1fr;
  }
}
.detail {
  width: min(94vw,46rem);
  max-width: none;
  height: max-content;
  max-height: 88dvh;
  box-shadow: none;
  color: var(--color-text-1);
  padding: var(--size-6);
  --g-red: color-mix(in oklch, var(--color-danger) 82%, transparent);
  --g-cyan: color-mix(in oklch, var(--color-accent2) 82%, transparent);
  --g-violet: color-mix(in oklch, var(--violet-300) 78%, transparent);
  --g-mint: color-mix(in oklch, var(--color-accent) 78%, transparent);
  background: 0 0;
  border: 0;
  margin: auto;
  position: fixed;
  inset: 0;
  overflow-y: auto;
}
.detail[open] {
  opacity: 1;
  transition: opacity var(--dur-base) var(--ease-out);
}
@starting-style {
  .detail[open] {
    opacity: 0;
  }

}
.detail::backdrop {
  background: var(--color-scrim);
  opacity: 0;
  -webkit-backdrop-filter: blur(var(--glass-blur));
  backdrop-filter: blur(var(--glass-blur));
  transition: opacity var(--dur-slow) var(--ease-out), display var(--dur-slow) allow-discrete, overlay var(--dur-slow) allow-discrete;
}
.detail[open]::backdrop {
  opacity: 1;
}
@starting-style {
  .detail[open]::backdrop {
    opacity: 0;
  }

}
.detail__chrome {
  justify-content: space-between;
  align-items: center;
  gap: var(--size-3);
  margin-bottom: var(--size-2);
  display: flex;
}
.detail__grid {
  gap: var(--size-6);
  align-items: start;
  display: grid;
}
.detail[data-cols="2"] {
  width: min(96vw,64rem);
}
.detail[data-cols="2"] .detail__grid {
  grid-template-columns: minmax(0,1.05fr) minmax(0,.95fr);
}
.detail__main,
.detail__aside {
  min-width: 0;
}
.detail__aside[hidden] {
  display: none;
}
.detail__map {
  gap: var(--size-3);
  display: grid;
}
.detail__map .pmap {
  margin: 0;
}
.detail__map .pmap__bands {
  gap: var(--size-3);
}
.detail__map .pmap__caption {
  display: none;
}
@media (width<=48rem) {
  .detail[data-cols="2"] {
    width: min(94vw,46rem);
  }
  .detail[data-cols="2"] .detail__grid {
    grid-template-columns: 1fr;
  }
}
.detail__eyebrow {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  color: var(--color-accent-dim);
  text-transform: uppercase;
  letter-spacing: .1em;
  margin: 0;
}
.detail__close {
  width: 2rem;
  height: 2rem;
  color: var(--color-text-3);
  cursor: pointer;
  font-size: var(--fs-lg);
  transition: color var(--dur-fast) var(--ease-out);
  background: 0 0;
  border: 0;
  flex: none;
  justify-content: center;
  align-items: center;
  display: inline-flex;
}
.detail__close:hover {
  color: var(--color-accent);
}
.detail__close:focus-visible {
  color: var(--color-accent);
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}
.detail__title {
  font-size: var(--fs-2xl);
  letter-spacing: -.02em;
  margin: 0 0 var(--size-2);
  text-wrap: balance;
}
.detail__title:focus-visible {
  outline: none;
}
.detail__meta {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  color: var(--color-text-3);
  margin: 0 0 var(--size-4);
}
.detail__body {
  gap: var(--size-4);
  display: grid;
}
.detail__body>* {
  margin: 0;
}
.detail.is-glitch-in :is(.detail__eyebrow,.detail__title,.detail__meta,.detail__body>*) {
  animation: .44s steps(2,end) backwards el-glitch-in;
  animation-delay: calc(var(--i,0) * 30ms);
}
.detail.is-glitch-out :is(.detail__eyebrow,.detail__title,.detail__meta,.detail__body>*) {
  animation: .32s steps(2,end) both el-glitch-out;
  animation-delay: calc(var(--i,0) * 14ms);
}
@keyframes el-glitch-in {
  0% {
    opacity: 0;
    filter: drop-shadow(-6px 0 var(--g-red)) drop-shadow(6px 0 var(--g-cyan));
    transform: translate(-6px);
  }
  16% {
    opacity: 1;
    filter: drop-shadow(6px 0 var(--g-red)) drop-shadow(-6px 0 var(--g-cyan));
    transform: translate(5px);
  }
  46% {
    opacity: 1;
    filter: drop-shadow(-4px 0 var(--g-violet)) drop-shadow(4px 0 var(--g-mint));
    transform: translate(-3px);
  }
  74% {
    opacity: 1;
    filter: drop-shadow(3px 0 var(--g-red)) drop-shadow(-3px 0 var(--g-cyan));
    transform: translate(2px);
  }
  to {
    opacity: 1;
    filter: none;
    transform: none;
  }

}
@keyframes el-glitch-out {
  0% {
    opacity: 1;
    filter: none;
    transform: none;
  }
  35% {
    opacity: 1;
    filter: drop-shadow(-5px 0 var(--g-red)) drop-shadow(5px 0 var(--g-cyan));
    transform: translate(5px);
  }
  70% {
    opacity: .5;
    filter: drop-shadow(5px 0 var(--g-red)) drop-shadow(-5px 0 var(--g-cyan));
    transform: translate(-4px);
  }
  to {
    opacity: 0;
    filter: drop-shadow(-3px 0 var(--g-red)) drop-shadow(3px 0 var(--g-cyan));
    transform: translate(4px);
  }

}
.detail.is-glitch-in :is(.detail__aside .pmap__band-title,.detail__aside .pmap__node) {
  animation: .44s steps(2,end) backwards el-node-in;
  animation-delay: calc(var(--i,0) * 14ms);
}
.detail.is-glitch-out :is(.detail__aside .pmap__band-title,.detail__aside .pmap__node) {
  animation: .3s steps(2,end) both el-node-out;
  animation-delay: calc(var(--i,0) * 9ms);
}
@keyframes el-node-in {
  0% {
    opacity: 0;
    filter: drop-shadow(-5px 0 var(--g-red)) drop-shadow(5px 0 var(--g-cyan));
  }
  18% {
    opacity: 1;
    filter: drop-shadow(5px 0 var(--g-red)) drop-shadow(-5px 0 var(--g-cyan));
  }
  50% {
    opacity: 1;
    filter: drop-shadow(-3px 0 var(--g-violet)) drop-shadow(3px 0 var(--g-mint));
  }
  to {
    opacity: 1;
    filter: none;
  }

}
@keyframes el-node-out {
  0% {
    opacity: 1;
    filter: none;
  }
  45% {
    opacity: 1;
    filter: drop-shadow(-5px 0 var(--g-red)) drop-shadow(5px 0 var(--g-cyan));
  }
  to {
    opacity: 0;
    filter: drop-shadow(3px 0 var(--g-red)) drop-shadow(-3px 0 var(--g-cyan));
  }

}
.detail .case__blurb,
.detail .case__outcomes {
  max-width: none;
}
.detail .chip {
  border-color: color-mix(in oklch, var(--color-border) 45%, transparent);
}
.detail__back {
  align-items: center;
  gap: var(--size-1);
  margin-bottom: var(--size-3);
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: var(--tracking-mono);
  color: var(--color-text-3);
  cursor: pointer;
  transition: color var(--dur-fast) var(--ease-out);
  background: 0 0;
  border: 0;
  padding: 0;
  display: inline-flex;
}
.detail__back:hover,
.detail__back:focus-visible {
  color: var(--color-accent);
}
.detail__back:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}
.detail__status {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: .08em;
  align-items: center;
  display: inline-flex;
}
.detail__status--built {
  color: var(--color-accent-dim);
}
.detail__status--partial {
  color: var(--pmap-hue-amber);
}
.detail__status--planned {
  color: var(--color-text-3);
}
.detail__section {
  gap: var(--size-2);
  display: grid;
}
.detail__section-title {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  color: var(--color-text-3);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin: 0;
}
.detail__conns {
  gap: var(--size-1);
  flex-direction: column;
  display: flex;
}
.detail__conn {
  align-items: baseline;
  gap: var(--size-2);
  text-align: left;
  width: 100%;
  padding: var(--size-1) 0;
  color: var(--color-text-2);
  cursor: pointer;
  font-size: var(--fs-sm);
  transition: color var(--dur-fast) var(--ease-out);
  background: 0 0;
  border: 0;
  display: flex;
}
.detail__conn:hover {
  color: var(--color-accent);
}
.detail__conn:focus-visible {
  color: var(--color-accent);
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}
.detail__conn:hover .detail__conn-label,
.detail__conn:focus-visible .detail__conn-label {
  color: var(--color-accent);
}
.detail__conn-kind {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  color: var(--color-accent-dim);
  flex: none;
}
.detail__conn-label {
  color: var(--color-text-1);
  transition: color var(--dur-fast) var(--ease-out);
}
.detail__empty {
  color: var(--color-text-3);
  font-size: var(--fs-sm);
}
.profile-footnote {
  color: var(--color-text-3);
  font-size: var(--fs-sm);
  margin-top: var(--size-4);
}
@media print {
  .public-header,
  footer {
    display: none;
  }
}
html {
  scroll-behavior: smooth;
}
html.motion-armed [data-reveal]:not(.is-revealed) {
  opacity: 0;
  transform: translateY(var(--size-2));
}
[data-reveal] {
  transition: opacity var(--dur-slow) var(--ease-out), transform var(--dur-slow) var(--ease-out);
  transition-delay: var(--reveal-delay,0s);
}
[data-reveal].is-revealed {
  opacity: 1;
  transform: none;
}
[data-hero]>* {
  animation: hero-in var(--dur-base) var(--ease-out) both;
}
[data-hero]>:first-child {
  animation-delay: 60ms;
}
[data-hero]>:nth-child(2) {
  animation-delay: .15s;
}
[data-hero]>:nth-child(3) {
  animation-delay: .24s;
}
[data-hero]>:nth-child(4) {
  animation-delay: .33s;
}
@keyframes hero-in {
  0% {
    opacity: 0;
    transform: translateY(var(--size-2));
  }
  to {
    opacity: 1;
    transform: none;
  }

}
.case {
  transition: border-color var(--dur-fast) var(--ease-out), transform var(--dur-fast) var(--ease-out);
}
.case:hover {
  transform: translateY(calc(-1 * var(--size-1)));
  border-color: var(--color-accent);
}
.case__icon {
  width: 1.05em;
  height: 1.05em;
  color: var(--color-text-3);
  vertical-align: -.15em;
  transition: color var(--dur-fast) var(--ease-out);
  flex: none;
}
.case:hover .case__icon {
  color: var(--color-accent);
}
.icon {
  vertical-align: -.125em;
}
.scroll-progress {
  background: var(--color-accent);
  transform-origin: 0;
  z-index: 100;
  height: 2px;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  transform: scaleX(0);
}
.section-rail {
  display: none;
}
@media (width>=64rem) {
  .section-rail {
    gap: var(--size-3);
    right: var(--size-5);
    z-index: 50;
    flex-direction: column;
    display: flex;
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
  }
  .section-rail__link {
    align-items: center;
    gap: var(--size-2);
    color: var(--color-text-3);
    font-family: var(--font-mono);
    font-size: var(--fs-xs);
    display: flex;
  }
  .section-rail__dot {
    width: var(--size-2);
    height: var(--size-2);
    border: 1px solid var(--color-border);
    background: var(--color-base);
    transition: background var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out);
    border-radius: 999px;
  }
  .section-rail__label {
    opacity: 0;
    transition: opacity var(--dur-fast) var(--ease-out);
  }
  .section-rail__link:hover .section-rail__label,
  .section-rail__link:focus-visible .section-rail__label,
  .section-rail__link[aria-current=true] .section-rail__label {
    opacity: 1;
  }
  .section-rail__link:focus-visible .section-rail__dot,
  .section-rail__link[aria-current=true] .section-rail__dot {
    background: var(--color-accent);
    border-color: var(--color-accent);
  }
}
.copy-email {
  min-width: var(--size-6);
  min-height: var(--size-6);
  color: var(--color-text-3);
  cursor: pointer;
  padding: var(--size-1);
  vertical-align: middle;
  background: 0 0;
  border: none;
  justify-content: center;
  align-items: center;
  display: inline-flex;
}
.copy-email:hover {
  color: var(--color-accent);
}
.copy-email:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
  color: var(--color-accent);
}
@media (pointer:coarse) {
  .copy-email,
  .detail__close {
    min-width: 44px;
    min-height: 44px;
  }
  /* F4 — the proof chips grow to 44 px; the inline proof links and the contact address keep their line (an inline
     box's vertical padding does not move the line box) and gain an invisible 44 px tall hit area, the links also
     44 px wide (6 px each side, given back by the negative margin so the text does not move). */
  .proof {
    min-block-size: 44px;
  }
  .proof-link,
  .profile-contact a[href^="mailto:"] {
    padding-block: 15px;
  }
  .proof-link {
    margin-inline: -6px;
    padding-inline: 6px;
  }
}
.copy-email__check {
  color: var(--color-success);
  display: none;
}
.copy-email.is-copied .copy-email__copy {
  display: none;
}
.copy-email.is-copied .copy-email__check {
  display: inline;
}
.pmap__node--hub {
  position: relative;
}
.pmap--live .pmap__node--hub:after {
  content: "";
  border-radius: inherit;
  border: 1px solid var(--color-accent);
  opacity: 0;
  pointer-events: none;
  transform-origin: 50%;
  animation: pmap-hub-pulse 2.8s var(--ease-out) infinite;
  position: absolute;
  inset: -1px;
}
@keyframes pmap-hub-pulse {
  0% {
    opacity: .5;
    transform: scale(1);
  }
  70% {
    opacity: 0;
    transform: scale(1.06);
  }
  to {
    opacity: 0;
    transform: scale(1.06);
  }

}
.pmap--hero.pmap--live .pmap__node--project {
  animation: pmap-card-in var(--dur-base) var(--ease-out) backwards;
}
.pmap--hero.pmap--live .pmap__node-li:first-child .pmap__node--project {
  animation-delay: 60ms;
}
.pmap--hero.pmap--live .pmap__node-li:nth-child(2) .pmap__node--project {
  animation-delay: .12s;
}
.pmap--hero.pmap--live .pmap__node-li:nth-child(3) .pmap__node--project {
  animation-delay: .18s;
}
.pmap--hero.pmap--live .pmap__node-li:nth-child(4) .pmap__node--project {
  animation-delay: .24s;
}
.pmap--hero.pmap--live .pmap__node-li:nth-child(5) .pmap__node--project {
  animation-delay: .3s;
}
.pmap--hero.pmap--live .pmap__node-li:nth-child(6) .pmap__node--project {
  animation-delay: .36s;
}
.pmap--hero.pmap--live .pmap__node-li:nth-child(7) .pmap__node--project {
  animation-delay: .42s;
}
.pmap--hero.pmap--live .pmap__node-li:nth-child(8) .pmap__node--project {
  animation-delay: .48s;
}
@keyframes pmap-card-in {
  0% {
    opacity: 0;
    transform: translateY(10px);
  }

}
.profile-hero,
.profile-section {
  border-bottom: 0;
  position: relative;
  overflow-x: clip;
  overflow-clip-margin: var(--size-5);
  clip-path: polygon(-100vmax -100vmax, calc(100% + 100vmax) -100vmax, calc(100% + 100vmax) calc(100% - 16px), 100% calc(100% - 16px),
    100% calc(100% + 16px), calc(100% + 100vmax) calc(100% + 16px), calc(100% + 100vmax) calc(100% + 100vmax), -100vmax calc(100% + 100vmax),
    -100vmax calc(100% + 16px), 0 calc(100% + 16px), 0 calc(100% - 16px), -100vmax calc(100% - 16px));
}
.profile-hero:after,
.profile-section:not(.profile-contact):after {
  content: "";
  background: linear-gradient(90deg, transparent, var(--color-accent), var(--color-accent2), var(--c-prompt), transparent);
  opacity: .55;
  height: 1px;
  filter: drop-shadow(0 0 6px color-mix(in oklch, var(--color-accent2) 45%, transparent));
  background-size: 50% 100%;
  width: 400%;
  position: absolute;
  bottom: 0;
  left: 0;
}
.profile-hero:after,
.profile-section:not(.profile-contact):after {
  will-change: transform;
  animation: 8s linear infinite holo-edge;
}
.profile-hero.is-offscreen:after,
.profile-section.is-offscreen:after,
.pmap__node--hub.is-offscreen:after {
  animation-play-state: paused;
}
.profile-section__heading {
  text-shadow: 0 0 16px color-mix(in oklch, var(--color-accent) 38%, transparent), 0 0 34px color-mix(in oklch, var(--color-accent2) 20%, transparent);
}
[data-reveal].is-revealed .profile-section__heading {
  animation: .46s steps(2,end) .25s both reveal-chroma;
}
@keyframes reveal-chroma {
  0% {
    text-shadow: -6px 0 color-mix(in oklch, var(--color-danger) 88%, transparent), 6px 0 color-mix(in oklch, var(--color-accent2) 88%, transparent);
  }
  32% {
    text-shadow: 5px 0 color-mix(in oklch, var(--color-danger) 72%, transparent), -5px 0 color-mix(in oklch, var(--color-accent2) 72%, transparent);
  }
  60% {
    text-shadow: -3px 0 color-mix(in oklch, var(--violet-300) 68%, transparent), 3px 0 color-mix(in oklch, var(--color-accent) 68%, transparent);
  }
  to {
    text-shadow: 0 0 16px color-mix(in oklch, var(--color-accent) 38%, transparent), 0 0 34px color-mix(in oklch, var(--color-accent2) 20%, transparent);
  }

}
/* ── from 22-persona-mochi.css ── *//* veritart public — the /mochi persona page (trio's mochi bundle): sky, persona layout, mx panels. */
.mochi {
  isolation: isolate;
  color: var(--color-text-1);
  position: relative;
}
.mochi__sky {
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(46% 36% at 90% 2%, var(--tint-accent), transparent 70%), radial-gradient(54% 46% at 4% 100%, var(--tint-violet), transparent 72%);
  position: fixed;
  inset: 0;
}
.mochi__shell {
  z-index: 1;
  padding-inline: var(--size-5);
  position: relative;
}
.scroll-progress {
  transform-origin: 0;
  background: var(--color-accent);
  height: 2px;
  z-index: var(--z-sticky);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  transform: scaleX(0);
}
.mochi-sec {
  padding-block: clamp(var(--size-7), 7vw, var(--size-9));
  border-top: 1px solid var(--color-border);
}
.mochi-sec__head {
  max-width: var(--layout-reading);
  margin-bottom: var(--size-6);
}
.mochi-sec__title {
  font-size: clamp(var(--fs-xl), 4.5vw, var(--fs-3xl));
  letter-spacing: -.03em;
  font-weight: 700;
  line-height: var(--lh-tight);
  text-wrap: balance;
  margin: 0 0 var(--size-3);
  color: var(--color-text-1);
}
.mochi-sec__lede {
  font-size: var(--fs-md);
  color: var(--color-text-2);
  line-height: var(--lh-body);
  text-wrap: pretty;
  max-width: var(--layout-reading);
  margin: 0;
}
.mochi-hero {
  align-items: center;
  gap: clamp(var(--size-6), 5vw, var(--size-9));
  padding-block: clamp(var(--size-8), 9vw, calc(var(--size-9) + var(--size-6)));
  grid-template-columns: 1.35fr .65fr;
  display: grid;
}
.mochi-hero__kind {
  font-family: var(--font-mono);
  font-size: var(--fs-sm);
  color: var(--color-text-3);
  letter-spacing: .02em;
  margin: 0 0 var(--size-4);
}
.mochi-hero__glyph {
  color: var(--color-accent-dim);
}
.icon {
  vertical-align: -.125em;
}
.mochi-hero__name {
  font-size: clamp(var(--fs-3xl), 8vw, var(--fs-4xl));
  letter-spacing: -.04em;
  margin: 0 0 var(--size-4);
  text-wrap: balance;
  color: var(--color-text-1);
  font-weight: 700;
  line-height: .98;
}
.mochi-hero__cursor {
  color: var(--color-accent);
  font-weight: 400;
}
.mochi-hero__tagline {
  font-size: clamp(var(--fs-lg), 2.6vw, var(--fs-2xl));
  color: var(--color-text-1);
  letter-spacing: -.01em;
  margin: 0 0 var(--size-3);
  text-wrap: balance;
  font-weight: 600;
}
.mochi-hero__selfdef {
  font-family: var(--font-mono);
  font-size: var(--fs-sm);
  color: var(--color-text-2);
  margin: 0 0 var(--size-5);
}
.mochi-hero__mode {
  align-items: center;
  gap: var(--size-2);
  font-family: var(--font-mono);
  font-size: var(--fs-sm);
  padding: var(--size-2) var(--size-4);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-1);
  background: var(--color-surface);
  margin: 0 0 var(--size-5);
  display: inline-flex;
}
.mochi-hero__mode-dot {
  background: var(--color-accent);
  width: 7px;
  height: 7px;
  box-shadow: 0 0 8px color-mix(in oklch, var(--color-accent) 70%, transparent);
  border-radius: 50%;
  flex: none;
}
.mochi-hero__mode-key {
  color: var(--color-text-3);
  text-transform: uppercase;
  letter-spacing: .1em;
  font-size: var(--fs-xs);
}
.mochi-hero__mode-val {
  color: var(--color-accent);
  transition: opacity var(--dur-base) var(--ease-out);
  font-weight: 600;
}
.mochi-words {
  gap: var(--size-2);
  margin: 0 0 var(--size-6);
  flex-wrap: wrap;
  padding: 0;
  list-style: none;
  display: flex;
}
.mochi-words__chip {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: .04em;
  color: var(--color-text-2);
  padding: var(--size-1) var(--size-3);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-1);
}
.mochi-hero__cta {
  gap: var(--size-3);
  flex-wrap: wrap;
  margin: 0;
  display: flex;
}
.mochi-btn {
  align-items: center;
  gap: var(--size-2);
  font-family: var(--font-mono);
  font-size: var(--fs-sm);
  padding: var(--size-3) var(--size-5);
  border-radius: var(--radius-1);
  border: 1px solid var(--color-border-strong);
  color: var(--color-text-1);
  cursor: pointer;
  transition: transform var(--dur-fast) var(--ease-out), border-color var(--dur-base) var(--ease-out), background var(--dur-base) var(--ease-out), color var(--dur-base) var(--ease-out);
  background: 0 0;
  font-weight: 500;
  text-decoration: none;
  display: inline-flex;
  position: relative;
}
.mochi-btn--primary {
  background: var(--color-accent);
  color: var(--color-base);
  border-color: var(--color-accent);
}
.mochi-btn--ghost {
  background: var(--color-surface);
}
.mochi-btn:hover {
  transform: translateY(-2px);
}
.mochi-btn--primary:hover {
  background: var(--color-accent-dim);
  border-color: var(--color-accent-dim);
}
.mochi-btn--ghost:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}
.mochi-btn:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
}
/* the copy control's address face reads as the mailto: link it wraps (base `a`: accent; accent-dim + underline under
   the pointer) — the control itself is that link, so the face carries the link look */
.mochi-btn__face--default {
  color: var(--color-accent);
  text-underline-offset: 2px;
  transition: color var(--dur-fast) var(--ease-out);
}
.mochi-btn__face--default:hover {
  color: var(--color-accent-dim);
  text-decoration: underline;
}
.mochi-btn__face--copied {
  color: var(--color-accent);
  display: none;
}
.mochi-btn.is-copied .mochi-btn__face--default {
  display: none;
}
.mochi-btn.is-copied .mochi-btn__face--copied {
  display: inline;
}
@media (width<=640px) {
  .mochi-btn {
    min-height: 40px;
  }
}
.mochi-hero__avatar {
  place-items: center;
  display: grid;
}
.mochi-node {
  width: clamp(132px,17vw,196px);
}
.mochi-node__svg {
  width: 100%;
  height: auto;
  overflow: visible;
}
.mochi-node__skewer {
  stroke: var(--color-border-strong);
}
.mochi-node__ring {
  fill: var(--color-surface);
  stroke: var(--color-accent-dim);
}
.mochi-node__dot,
.mochi-node__live {
  fill: var(--color-accent);
}
.mochi-node__pulse {
  stroke: var(--color-accent);
  opacity: 0;
}
.mochi-id {
  padding-block: var(--size-6);
  border-top: 1px solid var(--color-border);
}
.mochi-id__grid {
  background: var(--color-border);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-2);
  grid-template-columns: repeat(auto-fit,minmax(150px,1fr));
  gap: 1px;
  margin: 0;
  display: grid;
  overflow: hidden;
}
.mochi-id__cell {
  background: var(--color-surface);
  padding: var(--size-4) var(--size-5);
}
.mochi-id__cell--wide {
  grid-column: span 2;
}
.mochi-id__k {
  font-family: var(--font-mono);
  font-size: var(--fs-micro);
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--color-text-3);
  margin: 0 0 var(--size-1);
}
.mochi-id__v {
  font-size: var(--fs-md);
  color: var(--color-text-1);
  margin: 0;
  font-weight: 600;
}
.mochi-id__handle {
  color: var(--color-accent);
  text-decoration: none;
}
/* F4 — a finger's hit area (>= 44 px, the render gate's coarse-pointer TAP_MIN): the buttons grow to 44 px, the
   inline handle gains invisible vertical padding (an inline box's padding does not move its line). */
@media (pointer: coarse) {
  .mochi-btn {
    min-block-size: 44px;
  }
  .mochi-id__handle {
    padding-block: 15px;
  }
}
.mochi-id__handle:hover {
  text-underline-offset: 3px;
  text-decoration: underline;
}
.mx {
  position: relative;
}
.mx__radio {
  opacity: 0;
  pointer-events: none;
  width: 1px;
  height: 1px;
  position: absolute;
}
.mx__tabs {
  gap: var(--size-3);
  margin-bottom: var(--size-6);
  flex-wrap: wrap;
  display: flex;
}
.mx__tab {
  align-items: center;
  gap: var(--size-2);
  cursor: pointer;
  font-family: var(--font-mono);
  font-size: var(--fs-sm);
  padding: var(--size-2) var(--size-4);
  border-radius: var(--radius-1);
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  color: var(--color-text-2);
  transition: color var(--dur-base) var(--ease-out), background var(--dur-base) var(--ease-out), border-color var(--dur-base) var(--ease-out), transform var(--dur-fast) var(--ease-out);
  -webkit-user-select: none;
  user-select: none;
  display: inline-flex;
}
.mx__tab:hover {
  color: var(--color-text-1);
  border-color: var(--mode-accent);
  transform: translateY(-1px);
}
.mx__tab-glyph {
  color: var(--mode-accent);
}
#mx-technical:checked~.mx__tabs [for=mx-technical],
#mx-cute:checked~.mx__tabs [for=mx-cute],
#mx-roast:checked~.mx__tabs [for=mx-roast] {
  color: var(--color-base);
  background: var(--mode-accent);
  border-color: var(--mode-accent);
}
#mx-technical:checked~.mx__tabs [for=mx-technical] .mx__tab-glyph,
#mx-cute:checked~.mx__tabs [for=mx-cute] .mx__tab-glyph,
#mx-roast:checked~.mx__tabs [for=mx-roast] .mx__tab-glyph {
  color: var(--color-base);
}
#mx-technical:focus-visible~.mx__tabs [for=mx-technical],
#mx-cute:focus-visible~.mx__tabs [for=mx-cute],
#mx-roast:focus-visible~.mx__tabs [for=mx-roast] {
  outline: 2px solid var(--mode-accent);
  outline-offset: 3px;
}
.mx__panels {
  position: relative;
}
.mx__panel {
  display: none;
}
#mx-technical:checked~.mx__panels #panel-technical,
#mx-cute:checked~.mx__panels #panel-cute,
#mx-roast:checked~.mx__panels #panel-roast {
  display: block;
}
.mx__panel {
  border: 1px solid var(--mode-accent);
  border-radius: var(--radius-2);
  padding: clamp(var(--size-5), 4vw, var(--size-7));
  background: var(--color-surface);
}
.mx__panel-head {
  align-items: center;
  gap: var(--size-4);
  margin-bottom: var(--size-4);
  display: flex;
}
.mx__panel-glyph {
  border-radius: var(--radius-1);
  width: 44px;
  height: 44px;
  font-size: var(--fs-lg);
  color: var(--mode-accent);
  border: 1px solid var(--mode-accent);
  background: color-mix(in oklch, var(--mode-accent) 12%, transparent);
  flex: none;
  place-items: center;
  display: grid;
}
.mx__panel-id {
  min-width: 0;
}
.mx__panel-title {
  font-size: var(--fs-xl);
  color: var(--color-text-1);
  letter-spacing: -.01em;
  margin: 0;
}
.mx__panel-trigger {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  color: var(--mode-accent);
  margin: var(--size-1) 0 0;
}
.mx__panel-blurb {
  color: var(--color-text-2);
  line-height: var(--lh-body);
  max-width: var(--layout-reading);
  margin: 0 0 var(--size-5);
}
.mx__samples {
  gap: var(--size-3);
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
}
.mx__sample {
  font-size: var(--fs-base);
  color: var(--color-text-1);
  padding: var(--size-3) var(--size-4) var(--size-3) var(--size-6);
  border-radius: var(--radius-1);
  background: var(--color-base);
  border: 1px solid var(--color-border);
  position: relative;
}
.mx__sample-mark {
  left: var(--size-3);
  color: var(--mode-accent);
  font-size: var(--fs-lg);
  position: absolute;
  top: 2px;
}
.mochi-voice__list {
  gap: var(--size-4);
  grid-template-columns: repeat(auto-fit,minmax(280px,1fr));
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
}
.mochi-voice__item {
  padding: var(--size-5);
  border-radius: var(--radius-2);
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  border-top: 2px solid var(--voice-hue,var(--color-accent));
}
.mochi-voice__item--vi {
  --voice-hue: var(--pmap-hue-magenta);
}
.mochi-voice__item--en {
  --voice-hue: var(--color-accent);
}
.mochi-voice__text {
  font-size: var(--fs-lg);
  color: var(--color-text-1);
  line-height: var(--lh-snug);
  margin: 0 0 var(--size-3);
  text-wrap: pretty;
}
.mochi-voice__item--vi .mochi-voice__text {
  font-style: italic;
}
.mochi-voice__meta {
  align-items: baseline;
  gap: var(--size-3);
  flex-wrap: wrap;
  margin: 0;
  display: flex;
}
.mochi-voice__lang {
  font-family: var(--font-mono);
  font-size: var(--fs-micro);
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--voice-hue,var(--color-accent));
  flex: none;
}
.mochi-voice__gloss {
  font-size: var(--fs-sm);
  color: var(--color-text-3);
  margin: 0;
}
.mochi-lore__grid {
  gap: var(--size-5);
  grid-template-columns: repeat(auto-fit,minmax(240px,1fr));
  display: grid;
}
.mochi-lore__beat {
  padding: var(--size-6);
  border-radius: var(--radius-2);
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  transition: border-color var(--dur-base) var(--ease-out);
}
.mochi-lore__beat:hover {
  border-color: var(--color-border-hover);
}
.mochi-lore__glyph {
  width: 40px;
  height: 40px;
  margin-bottom: var(--size-3);
  font-size: var(--fs-xl);
  border-radius: var(--radius-1);
  border: 1px solid var(--lore-hue);
  color: var(--lore-hue);
  background: color-mix(in oklch, var(--lore-hue) 10%, transparent);
  place-items: center;
  line-height: 1;
  display: inline-grid;
}
.mochi-lore__beat:nth-child(4n+1) {
  --lore-hue: var(--color-accent);
}
.mochi-lore__beat:nth-child(4n+2) {
  --lore-hue: var(--pmap-hue-magenta);
}
.mochi-lore__beat:nth-child(4n+3) {
  --lore-hue: var(--pmap-hue-violet);
}
.mochi-lore__beat:nth-child(4n+4) {
  --lore-hue: var(--pmap-hue-amber);
}
.mochi-lore__title {
  font-size: var(--fs-lg);
  color: var(--color-text-1);
  margin: 0 0 var(--size-2);
}
.mochi-lore__body {
  font-size: var(--fs-base);
  color: var(--color-text-2);
  line-height: var(--lh-body);
  text-wrap: pretty;
  margin: 0;
}
.mochi-term {
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-2);
  max-width: 760px;
  box-shadow: var(--shadow-2);
  overflow: hidden;
}
.mochi-term__bar {
  align-items: center;
  gap: var(--size-2);
  padding: var(--size-3) var(--size-4);
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
  display: flex;
}
.mochi-term__dot {
  background: var(--color-border-strong);
  border-radius: 50%;
  width: 8px;
  height: 8px;
}
.mochi-term__dot:first-child {
  background: var(--color-accent);
  box-shadow: 0 0 8px color-mix(in oklch, var(--color-accent) 70%, transparent);
}
.mochi-term__path {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  color: var(--color-text-3);
  margin-left: var(--size-2);
}
.mochi-term__body {
  padding: var(--size-5);
  background: var(--color-base);
  gap: var(--size-3);
  margin: 0;
  display: grid;
}
.mochi-term__row {
  gap: var(--size-4);
  grid-template-columns: 116px 1fr;
  align-items: baseline;
  display: grid;
}
.mochi-term__k {
  font-family: var(--font-mono);
  font-size: var(--fs-sm);
  color: var(--color-accent);
}
.mochi-term__k:before {
  content: "› ";
  color: var(--color-accent-deep);
}
.mochi-term__v {
  font-family: var(--font-mono);
  font-size: var(--fs-sm);
  color: var(--color-text-1);
  margin: 0;
}
.mochi-contact {
  text-align: center;
  border-top: 1px solid var(--color-border);
}
.mochi-contact__glyph {
  font-size: var(--fs-2xl);
  color: var(--color-accent);
  margin: 0 0 var(--size-3);
}
.mochi-contact__glyph .icon {
  vertical-align: middle;
}
.mochi-contact__title {
  font-size: clamp(var(--fs-xl), 5vw, var(--fs-3xl));
  color: var(--color-text-1);
  letter-spacing: -.03em;
  margin: 0 0 var(--size-3);
  text-wrap: balance;
  overflow-wrap: break-word;
  font-weight: 700;
}
.mochi-contact__sub {
  color: var(--color-text-2);
  margin: 0 auto var(--size-6);
  max-width: 46ch;
}
.mochi-contact__links {
  gap: var(--size-3);
  flex-wrap: wrap;
  justify-content: center;
  display: flex;
}
.mochi-contact__home {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  color: var(--color-text-3);
  margin: var(--size-7) 0 0;
}
.mochi-contact__home-link {
  color: var(--color-accent);
  text-decoration: none;
}
.mochi-contact__home-link:hover {
  text-underline-offset: 3px;
  text-decoration: underline;
}
@media (width<=760px) {
  .mochi-hero {
    grid-template-columns: 1fr;
  }
  .mochi-hero__avatar {
    order: -1;
    justify-items: start;
  }
  .mochi-node {
    width: clamp(108px,34vw,150px);
  }
  .mochi-id__cell--wide {
    grid-column: span 1;
  }
  .mochi-term__row {
    gap: var(--size-1);
    grid-template-columns: 1fr;
  }
}
[data-reveal] {
  transition: opacity var(--dur-slow) var(--ease-out), transform var(--dur-slow) var(--ease-out);
}
[data-reveal].is-revealed {
  opacity: 1;
  transform: none;
}
@keyframes mochi-panel-in {
  0% {
    opacity: 0;
    transform: translateY(var(--size-2));
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes mochi-blink {
  to {
    opacity: 0;
  }
}
@keyframes mochi-node-pulse {
  0% {
    opacity: .5;
    transform: scale(1);
  }
  70%,
  to {
    opacity: 0;
    transform: scale(1.28);
  }
}
html.motion-armed [data-reveal]:not(.is-revealed) {
  opacity: 0;
  transform: translateY(var(--size-4));
}
.mx__panel {
  animation: mochi-panel-in var(--dur-base) var(--ease-out);
}
.mochi-hero__cursor {
  animation: 1s steps(2,start) infinite mochi-blink;
}
.mochi-node__pulse {
  animation: mochi-node-pulse 2.8s var(--ease-out) infinite;
  transform-box: fill-box;
  transform-origin: 50%;
}
.mochi-hero__cursor.is-offscreen,
.mochi-node__pulse.is-offscreen {
  animation-play-state: paused;
}
/* ── from 23-csp-inline-replacements.css ── *//* veritart public — CSP-safe replacements for trio's inline style= attributes: reveal delays, mode accents,
   spacing utilities. */

/* inline-style replacements (CSP-safe): trio SSR'd these as style=; the JS reads neither, only CSS does. */
[data-reveal-delay="0"] {
  --reveal-delay: calc(0 * var(--dur-fast));
}
[data-reveal-delay="1"] {
  --reveal-delay: calc(1 * var(--dur-fast));
}
[data-reveal-delay="2"] {
  --reveal-delay: calc(2 * var(--dur-fast));
}
[data-reveal-delay="3"] {
  --reveal-delay: calc(3 * var(--dur-fast));
}
[data-reveal-delay="4"] {
  --reveal-delay: calc(4 * var(--dur-fast));
}
[data-mode-accent="color-accent"] {
  --mode-accent: var(--color-accent);
}
[data-mode-accent="pmap-hue-amber"] {
  --mode-accent: var(--pmap-hue-amber);
}
[data-mode-accent="pmap-hue-magenta"] {
  --mode-accent: var(--pmap-hue-magenta);
}
/* two spacing utilities trio applied via inline style= (CSP-safe as classes) — the rest already exist in crucix */
.mb-4 {
  margin-bottom: var(--size-4);
}
.gap-2 {
  gap: var(--size-2);
}
/* ── from 24-charts.css ── *//* veritart public — article charts: CSP-clean bar fills and the plinth engine chart SVG-<text> labels. */

/* C1 — CSP-clean bar fill: the data-driven width is an SVG <rect> (presentation attr), not an inline
   style. Reuses trio's .acb-track/.acb-label/.acb-val; only the fill + value tone colors are new. */
.acb-track>svg {
  display: block;
  width: 100%;
  height: 100%;
}
.acb-fs--danger {
  fill: var(--color-danger);
}
.acb-fs--accent {
  fill: var(--color-accent);
}
.acb-fs--muted {
  fill: color-mix(in oklch,var(--color-text-3) 50%,transparent);
}
.acb-val--danger {
  color: var(--color-danger);
}
.acb-val--accent {
  color: var(--color-accent);
}
.acb-val--muted {
  color: color-mix(in oklch,var(--color-text-3) 50%,transparent);
}
/* ── plinth engine charts: SVG-<text> overlay labels (CSP-clean; replaces trio's HTML style= overlay).
   Canonical intent lives with packages/engine/src/charts.ts; ships in each consuming site's bundle.
   F12a: the labels sit in the OUTER, viewBox-less svg (user unit = CSS px) at percent anchors, the
   geometry in a nested stretched viewBox svg, so every size below is a RENDERED px at any width. ── */
.article-body .article-chart__svg,
.article-body .article-chart__geom {
  overflow: visible;
}
.article-body .article-chart__plot,
.article-body .article-chart__plot--dist,
.article-body .article-chart__plot--collapse {
  aspect-ratio: 960/430;
}
/* F12a narrow plots (a ~290–490 px plot at a ≤ 560 px viewport): 12 px labels in the same plot box. The
   label svg leaves a 12 px gutter for the y-axis numbers; the axes plots (line, traffic) get a 7/5 box plus .75rem
   below for the stacked x-labels, the dist and collapse plots the taller 5/4 box (their
   geometry stretches, the labels do not); the long labels swap to their narrow form (charts.ts acl--narrow);
   alternate x-labels drop below the first row (1.35em: a full em box clear of it); the dist peak labels step 10 px toward the middle. */
.article-body .acl--narrow {
  display: none;
}
@media (width<=560px) {
  .article-body .acl--wide {
    display: none;
  }
  .article-body .acl--narrow {
    display: inline;
  }
  .article-body .article-chart__plot--axes {
    aspect-ratio: 7/5;
    margin-bottom: .75rem;
  }
  .article-body .article-chart__plot--axes .article-chart__svg {
    inset: 0 0 0 12px;
    width: auto;
  }
  .article-body .article-chart__plot--dist,
  .article-body .article-chart__plot--collapse {
    aspect-ratio: 5/4;
  }
  .article-body .acl-x--alt {
    transform: translateY(1.35em);
  }
  .article-body .acl-d--human {
    transform: translateX(10px);
  }
  .article-body .acl-d--machine {
    transform: translateX(-10px);
  }
}
.article-body .article-chart__svg text {
  font-family: var(--font-mono);
  letter-spacing: var(--tracking-mono);
}
/* Label sizes are rendered CSS px (F12a): the in-viewBox sizes they replace × 0.912 (viewBox 960 →
   ~876 px desktop plot), raised to the 12 px floor — the desktop look is kept, and 360 no longer reads
   ~4 px. */
.article-body .acl-y,
.article-body .acl-x {
  fill: var(--color-text-3);
}
.article-body .acl-y {
  font-size: 12px;
  text-anchor: end;
  dominant-baseline: central;
}
.article-body .acl-x {
  font-size: 12px;
}
.article-body .acl-x__sub {
  fill: var(--color-text-3);
  font-size: 12px;
}
.article-body .acl-val {
  fill: var(--color-text-1);
  font-weight: 600;
  font-size: 13.7px;
}
.article-body .acl-ref {
  fill: var(--color-text-3);
  font-size: 12px;
}
.article-body .acl-peak {
  fill: var(--color-accent);
  font-weight: 600;
  font-size: 12.8px;
}
.article-body .acl-end {
  fill: var(--color-danger);
  font-weight: 600;
  font-size: 12px;
  dominant-baseline: central;
}
.article-body .acl-crash {
  fill: var(--color-text-2);
  font-size: 12px;
}
.article-body .acl-crash__b {
  fill: var(--color-text-1);
  font-weight: 700;
}
.article-body .acl-crash__sub {
  fill: var(--color-text-3);
}
.article-body .acl-dot--peak {
  fill: var(--color-accent);
  stroke: var(--color-base);
  stroke-width: 1.8;
}
.article-body .acl-dot--end {
  fill: var(--color-danger);
}
.article-body .acl-d {
  font-size: max(12px, calc(var(--fs-xs) * .912));
}
.article-body .acl-d--human {
  fill: var(--color-accent);
}
.article-body .acl-d--machine {
  fill: var(--color-danger);
}
.article-body .acl-d--overlap {
  fill: var(--color-text-1);
  text-transform: uppercase;
  letter-spacing: var(--tracking-caps);
  font-size: 12px;
  dominant-baseline: central;
}
.article-body .acl-d-note {
  fill: var(--color-text-3);
  font-size: 12px;
}
.article-body .acl-c {
  font-size: max(12px, calc(var(--fs-xs) * .912));
  fill: var(--color-text-2);
}
.article-body .acl-c__em {
  fill: var(--color-text-3);
  font-size: 12px;
}
.article-body .acl-c--end {
  fill: var(--color-text-1);
  font-weight: 600;
}
.article-body .acl-c-note {
  fill: var(--color-text-3);
  font-size: 12px;
}
/* ── from 25-late-utilities.css ── */
.ml-auto {
  margin-left: auto;
}
/* Instrument form CSS moved to sites/colorgears.com/public/styles/colorgears-instruments.css —
   colorgears is the only site mounting an instrument. */
/* The <noscript> notice (templates/document.ts) — a class, not an inline style="": the CSP
   (default-src 'self', no 'unsafe-inline') refuses every inline style, so the notice rendered
   unstyled for exactly the no-JS visitors it addresses (R3-T23). */
.nojs-notice {
  padding: 1rem;
  text-align: center;
  color: var(--color-notice-ink);
  font-size: 13px;
}
/* ── from 26-final.css ── *//* veritart public — D146: the FINAL design system's component blocks (sites/veritart.me/DESIGN.md), UNLAYERED and LAST,
   exactly as the design overlay loaded them over the prod sheet. The role tokens are 10-tokens.css [TOKENS]; the shared
   slot values are the skin. final.js (public/js/) uses the same block ids. */
/* ==========================================================================================
   FINAL — veritart base design: ONE role-based system.
   (Provenance, once: the city and glitch began as the U × W fusion with grafts from V, X, AA, AD and AE;
   since final6 every colour, material and type style is a ROLE below, not a borrowed recipe.)
   The roles, in [TOKENS] — the only place a colour literal may live (tests/colour-literals.test.ts enforces it):
   · grounds, darkest first: sky < street ≈ plate (the city) < surface (cards, panels) < raised (hover,
     dialog); a well (inputs, chips, vias) is cut below the surface it sits in.
   · text: three cool greys. light: ONE cool ramp, platinum → frost → ice (city lights, category keys,
     Profession). signal: Sakura pink, the only one — ONLY state (active / hover / focus / current), the
     primary action, prose links and the beat (live dots, packets, cursor, sweep, P1, progress head).
   · film: ice → frost → pink — the interactive card border ([FILM CARD]), every edge, "art.".
   · one card construction: plates and panels alike are a 1 px rim + an inset kerb ring (--f-kerb); two
     radii only (--f-r-plate, --f-r-control); one glow radius (--f-glow-r) in three roles: --f-glow (signal, emissive only), --f-glow-key (a detail lit
     by its world's key light), --f-halo (the hub plaza); palette-lint rule 6 rejects any other glow.
   · data: the one documented exception — ten muted categorical hues, data only (--f-data-*).
   · type: Noto Serif Display for the display tier only, ONE weight (--f-display-weight) in three sizes
     (--f-d1 page heroes, --f-d2 article + dialog titles, --f-h2 section headings); Be Vietnam Pro body in four
     steps (--f-t-sm/md/base/lg) and one card type (--f-card-title, --f-card-title-lg, --f-card-sub); JetBrains
     Mono labels in two tiers (--f-label-*, --f-label-sm-*).
   · space: one scale (--f-s-1…9), one section block (--f-section), one hero block (--f-hero-block), one
     gutter (--f-gutter); card padding --f-pad-plate (dense dialog rows: --f-pad-compact), controls --f-pad-control.
   · state: ONE dialect — controls :is(:hover, :focus-visible) → signal-hi text, signal rim, raised ground
     ([STATE]); cards → film at full ([FILM CARD]); fields → one ring on the field box; focus also draws the
     global 2 px signal-hi outline.
   · motion: one beat (--f-pulse-period 4.8 s, read by final.js; blink = ÷ 4, live dots = ÷ 3), one entrance
     (f-power-on), one stagger (--f-stagger), one state transition (--f-t), one ease (--f-ease).
   Two layers, never fused: the SKY (final.js: star planes, far galaxies, rare shooting star; CSS: haze +
   Milky-Way band) and the BUILT world (the flat radial chip-city: system map + both heroes).
   Organisation: TOKENS first, then one fenced block per concern headed `== [ID] name — role: … ==`.
   Motion has one mode: full, always (operator 2026-11-23; supersedes D148's second mode and its footer toggle) —
   every entrance, parallax, lift, loop and glitch runs on every visit, and the OS reduced-motion setting is not
   read. final.js uses the same ids, a REGISTRY at its bottom, and reads its
   colours from these tokens at runtime.
   ========================================================================================== */

/* == [ROOT] the root size + the small fixes the overlay shipped beside final.css ====================
   1. Root size: prod set html{font-size:13px}, shrinking every rem (type AND spacing) to 81 %.
   2. Capture thumbnails anchor top-left instead of cropping mid-interface.
   3. Grid columns keep a min(100%, …) guard so the larger root cannot overflow a 390 px phone.
   4. Citation superscripts keep a 12 px floor (the skin sets --fs-floor to 0).
   (The phone nav strip is [CHROME]'s: it scrolls under the fades at every width.) */
html { font-size: clamp(16px, 15px + 0.12vw, 17px); }
.shots__rest .shot__frame img { height: 100%; object-fit: cover; object-position: left top; }
.spec-list { grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr)); }
.skill-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); }
.article-body .cite-ref a { font-size: max(12px, 0.68em); }
/* == [PALETTE] the page-level properties of the roles (the tokens are the skin + 10-tokens.css) ===== */
:root {
  color-scheme: dark;
  accent-color: var(--f-signal);
  caret-color: var(--f-signal-hi);
  scrollbar-color: var(--f-line-2) var(--f-sky);
  font-synthesis-weight: none;
}
/* == [BASE] ground, body type, selection, focus — role: base ===================================== */
html, body { background: var(--f-sky); }
a:hover { color: var(--f-signal-hi); }
/* forms of the signal's one emissive glow: box-shadow var(--f-glow); filter drop-shadow(var(--f-glow)) */
h1, h2, .detail__title, .profile-section__heading { text-wrap: balance; }
.detail { container: detail / inline-size; }
.pmap { container: pmap / inline-size; }
@media (min-width: 1920px) {
  html { font-size: clamp(100%, 75% + 0.2083vw, 125%); }
}   /* lint: root-scale */
.f-universe { --f-sky-dim: all; }                                  /* compact + medium: the text runs edge to edge */
@container shell (width >= 72rem) {
  .f-universe { --f-sky-dim: column; }
}   /* wide: stars dim behind the reading column */

/* == [TARGETS] one tap-target token — role: responsive ===========================================
   --f-target is 24 px for a fine pointer and 44 px for a coarse one, on every interactive element, as a minimum box
   (padding grows it, never the type). Zero specificity, so a component rule may still size its own control; prod's
   own token (--tap-min) follows it. */
/* the token: --f-target (10-tokens.css) = the core --tap-min, which the skin raises to 44px for (pointer: coarse) */
:where(.public-nav a, .brand, .section-rail__link, .btn, .btn-sm, .btn-primary, .comment-form__submit, .byline-link, .comment-form input, .proof, .proof-link,
  .pmap__node, .toc-item, .copy-email, .detail__close, .detail__back, .detail__conn, .share-btn, .section-head .right a, .comments__summary,
  .toc-details__summary, .article-chart__data summary, .heading-permalink, .public-footer a, .article-nav__link, .input-group--header input,
  .mochi-btn, .mx__tab, .mochi-id__handle, .mochi-contact__home-link) {
  min-block-size: var(--f-target); min-inline-size: var(--f-target);
}
:where(.byline-link, .proof-link, .section-head .right a, .public-footer a, .mochi-id__handle, .mochi-contact__home-link) { display: inline-flex; align-items: center; }
/* == [SKY C8/C9] the universe — role: sky ======================================================
   The sky is the darkest layer (--f-sky). final.js paints the stars (1800 / 900 / 450 s planes +
   scroll parallax), two far dust galaxies (3600 s; the light ramp and the film's pink end, a few film motes)
   and C9. CSS: a haze (the film's pink end top right, ice bottom left, a neutral core, a faint film wisp; 3000 s drift)
   and a Milky-Way band with a film core, a barely-there raster. No circuitry in the sky. */
.f-universe { position: fixed; inset: 0; width: 100vw; height: 100vh; z-index: 0; pointer-events: none; display: block; }
.bg-radial {
  inset: -12vh -12vw;
  -webkit-mask-image: none; mask-image: none;
  background:
    radial-gradient(42vw 30vh at 86% 10%, color-mix(in oklch, var(--f-film-3) 5.6%, transparent), transparent 70%),   /* the film's pink end: decoration, not the signal */
    radial-gradient(36vw 26vh at 6% 92%, color-mix(in oklch, var(--f-light-3) 4.8%, transparent), transparent 70%),
    radial-gradient(30vw 20vh at 40% 50%, color-mix(in oklch, var(--f-mute) 4.5%, transparent), transparent 70%),
    radial-gradient(22vw 14vh at 64% 78%, color-mix(in oklch, var(--f-film-3) 1.8%, transparent), transparent 70%);
}
.bg-grid {
  inset: -20vh -20vw;
  background: linear-gradient(162deg, transparent 38%, color-mix(in oklch, var(--f-mute) 3.5%, transparent) 45%, color-mix(in oklch, var(--f-film-1) 3.2%, transparent) 48.5%, color-mix(in oklch, var(--f-film-3) 2.8%, transparent) 51.5%, color-mix(in oklch, var(--f-mute) 3.5%, transparent) 55%, transparent 62%);
  -webkit-mask-image: none; mask-image: none;
  opacity: 1;
}
.bg-scanline { background: repeating-linear-gradient(transparent 0 3px, color-mix(in oklch, var(--f-text) 1%, transparent) 3px 4px); -webkit-mask-image: none; mask-image: none; }
@keyframes f-haze-drift { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(-5vw, 2vh, 0); } }
@keyframes f-haze-parallax { to { translate: 0 -8vh; } }
@keyframes f-band-parallax { to { translate: 0 -4vh; } }
/* [PERF] steps(3000): one sub-pixel step a second (5vw over 3000 s ≈ 0.03 px a step) — the same drift, but a stepped
   animation lets the compositor sleep between steps instead of drawing a full-screen layer 60 times a second */
.bg-radial { animation: f-haze-drift var(--f-haze-period) steps(3000) infinite alternate, f-haze-parallax linear both; animation-timeline: auto, scroll(root); }
.bg-grid { animation: f-band-parallax linear both; animation-timeline: scroll(root); }
.public-nav a { font-family: var(--font-f-label); font-size: var(--f-label-size); font-weight: var(--f-label-weight); letter-spacing: var(--f-label-track); text-transform: uppercase; color: var(--f-text-3); text-decoration: none; transition: color var(--f-t); }
.public-nav a:hover { color: var(--f-text); }
.public-nav a.active { color: var(--f-signal); text-decoration: underline 1px; text-underline-offset: 0.55em; }
.public-footer a { color: var(--f-text-3); }
.public-footer a:hover { color: var(--f-signal); }
.scroll-progress, .reading-progress { height: 2px; }
.scroll-progress, .reading-progress__bar {   /* film along the bar (the film's stop order), a pink → white head */
  background: linear-gradient(90deg, color-mix(in oklch, var(--f-film-1) 75%, transparent), color-mix(in oklch, var(--f-film-2) 80%, transparent) 36%, color-mix(in oklch, var(--f-film-3) 80%, transparent) 62%, var(--f-signal) 86%, var(--f-text));
  box-shadow: var(--f-glow);   /* the progress head is emissive */
}
.public-header .brand { flex: none; }
@property --f-nav-fade-l { syntax: '<length>'; inherits: false; initial-value: 0px; }
@keyframes f-nav-edge { 0% { --f-nav-fade-l: 0px; } 6%, 100% { --f-nav-fade-l: var(--f-s-5); } }
.public-nav a { white-space: nowrap; flex: none; justify-content: center; padding-inline: var(--f-s-3); }
.reading-progress { background: color-mix(in oklch, var(--f-line) 50%, transparent); }
/* == [CITY] radial planned city, still (no-JS map + both heroes) — role: city ==================
   One still CSS image of the radial city: a 10-point bastion outline, the plaza, ring roads, twelve
   boulevards (conic cuts), lit wedge districts — plates (--f-plate) cut by streets (--f-street), lit by
   the light ramp (Passion platinum-led, also the heroes; Profession ice-led). final.js paints the live
   city in the same place and this steps aside (`:has(.f-event)`, `:has(> .f-home-city)`). */
:root {
  --f-lights: radial-gradient(circle, color-mix(in oklch, var(--f-light-1) 26%, transparent) 0 0.65px, transparent 1.1px);
  --f-star: polygon(50.0% 0.0%, 63.3% 9.1%, 79.4% 9.5%, 84.8% 24.7%, 97.6% 34.5%, 93.0% 50.0%, 97.6% 65.5%, 84.8% 75.3%, 79.4% 90.5%, 63.3% 90.9%, 50.0% 100.0%, 36.7% 90.9%, 20.6% 90.5%, 15.2% 75.3%, 2.4% 65.5%, 7.0% 50.0%, 2.4% 34.5%, 15.2% 24.7%, 20.6% 9.5%, 36.7% 9.1%);
  --f-star-12: polygon(50.0% 0.0%, 61.1% 8.5%, 75.0% 6.7%, 80.4% 19.6%, 93.3% 25.0%, 91.5% 38.9%, 100.0% 50.0%, 91.5% 61.1%, 93.3% 75.0%, 80.4% 80.4%, 75.0% 93.3%, 61.1% 91.5%, 50.0% 100.0%, 38.9% 91.5%, 25.0% 93.3%, 19.6% 80.4%, 6.7% 75.0%, 8.5% 61.1%, 0.0% 50.0%, 8.5% 38.9%, 6.7% 25.0%, 19.6% 19.6%, 25.0% 6.7%, 38.9% 8.5%);   /* the home bastion (final.js N: 12, Ri = 0.86 Ro) */
  --f-lights-2: radial-gradient(circle, color-mix(in oklch, var(--f-light-2) 22%, transparent) 0 0.7px, transparent 1.15px);
  --f-lights-3: radial-gradient(circle, color-mix(in oklch, var(--f-light-3) 28%, transparent) 0 0.7px, transparent 1.15px);
  --f-radial-city:
    radial-gradient(circle closest-side, var(--f-plate) 0 11%, color-mix(in oklch, var(--f-light-1) 70%, transparent) 11.2% 11.7%, transparent 12%),
    radial-gradient(circle closest-side, transparent 0 14%, var(--f-street) 14% 15.6%, transparent 15.6% 34%, var(--f-street) 34% 35.4%, color-mix(in oklch, var(--f-light-1) 32%, transparent) 35.4% 35.8%, transparent 35.8% 57%, var(--f-street) 57% 58.4%, color-mix(in oklch, var(--f-light-1) 26%, transparent) 58.4% 58.8%, transparent 58.8% 78%, var(--f-street) 78% 79.4%, transparent 79.4%),
    repeating-conic-gradient(from 14deg, var(--f-street) 0 1.5deg, transparent 1.5deg 30deg),
    repeating-conic-gradient(from 29deg, color-mix(in oklch, var(--f-street) 80%, transparent) 0 0.6deg, transparent 0.6deg 15deg),
    var(--f-lights) 0 0 / 5px 5px,
    var(--f-lights-2) 2px 2px / 9px 7px,
    var(--f-lights-3) 4px 1px / 13px 11px,
    var(--f-plate);
  --f-radial-city-home:   /* the home city: sixteen boulevards (final.js nb: 16) */
    radial-gradient(circle closest-side, var(--f-plate) 0 11%, color-mix(in oklch, var(--f-light-1) 70%, transparent) 11.2% 11.7%, transparent 12%),
    radial-gradient(circle closest-side, transparent 0 14%, var(--f-street) 14% 15.6%, transparent 15.6% 34%, var(--f-street) 34% 35.4%, color-mix(in oklch, var(--f-light-1) 32%, transparent) 35.4% 35.8%, transparent 35.8% 57%, var(--f-street) 57% 58.4%, color-mix(in oklch, var(--f-light-1) 26%, transparent) 58.4% 58.8%, transparent 58.8% 78%, var(--f-street) 78% 79.4%, transparent 79.4%),
    repeating-conic-gradient(from 14deg, var(--f-street) 0 1.5deg, transparent 1.5deg 22.5deg),
    repeating-conic-gradient(from 25.25deg, color-mix(in oklch, var(--f-street) 80%, transparent) 0 0.6deg, transparent 0.6deg 11.25deg),
    var(--f-lights) 0 0 / 5px 5px,
    var(--f-lights-2) 2px 2px / 9px 7px,
    var(--f-lights-3) 4px 1px / 13px 11px,
    var(--f-plate);
  --f-radial-city-pro:
    radial-gradient(circle closest-side, var(--f-plate) 0 11%, color-mix(in oklch, var(--f-light-3) 70%, transparent) 11.2% 11.7%, transparent 12%),
    radial-gradient(circle closest-side, transparent 0 14%, var(--f-street) 14% 15.6%, transparent 15.6% 34%, var(--f-street) 34% 35.4%, color-mix(in oklch, var(--f-light-3) 32%, transparent) 35.4% 35.8%, transparent 35.8% 57%, var(--f-street) 57% 58.4%, color-mix(in oklch, var(--f-light-3) 26%, transparent) 58.4% 58.8%, transparent 58.8% 78%, var(--f-street) 78% 79.4%, transparent 79.4%),
    repeating-conic-gradient(from 32deg, var(--f-street) 0 1.5deg, transparent 1.5deg 30deg),
    repeating-conic-gradient(from 47deg, color-mix(in oklch, var(--f-street) 80%, transparent) 0 0.6deg, transparent 0.6deg 15deg),
    var(--f-lights-3) 0 0 / 5px 5px,
    var(--f-lights-2) 2px 2px / 9px 7px,
    var(--f-plate);
}
/* == [PLATE] one card construction — role: plate ===============================================
   Every plate and panel is built the same way: a 1 px rim (the film on interactive cards, [FILM CARD]; a
   hairline on panels), radius --f-r-plate, and a kerb ring 3 px inside the rim — box-shadow var(--f-kerb),
   then the plate's own drop shadow. The ring's ground is --f-plate-bg (surface; raised on hover and in the
   dialog; a well in the dialog's bands); --f-kerb-c turns the ring to the signal on state. --f-kerb is
   declared here, on the plates themselves, so each plate resolves it against its own ground. */
:where(.post, .pillar, .pmap--hero .pmap__node, .shot__frame, .article-nav__link, .detail__conn, .spec, .toc-details, .comments, .article-chart, .hero-frame, .detail, .article-body blockquote.specimen, .detail .pmap__band, .case .pmap__band, .detail li.pmap__node, .case li.pmap__node, .case__shot img) {
  --f-kerb: inset 0 0 0 calc(var(--f-kerb-w) - 1px) var(--f-plate-bg), inset 0 0 0 var(--f-kerb-w) var(--f-kerb-c);
}
/* imported captures (real product screenshots — content, never recoloured or filtered) sit in a mat: the
   rim (the film, [FILM CARD]), the kerb ring, then the image, inset by --f-kerb-w so the ring shows */
.shot__frame { padding: var(--f-kerb-w); }
.case__shot img { padding: var(--f-kerb-w); background: var(--f-plate-bg); box-shadow: var(--f-kerb); border-radius: var(--f-r-plate); }
.profile-hero { padding-block: var(--f-hero-block); border-bottom: 0; }
@container shell (width >= 40rem) {
  .profile-hero { min-height: min(76svh, 46rem); display: flex; flex-direction: column; justify-content: center; position: relative; isolation: isolate; }
}
.profile-hero > .f-home-city { display: none; }
@container shell (width >= 72rem) {   /* wide: the city beside the name (the hero's own width, never the window's) */
  .profile-hero::before,
  .profile-hero > .f-home-city {
    content: "";
    position: absolute; right: 0; top: 50%;
    width: min(36cqi, 32rem); height: auto; aspect-ratio: 1;
    translate: 0 -50%;
    pointer-events: none;
    z-index: -1;
  }
  .profile-hero::before { background: var(--f-radial-city); clip-path: var(--f-star); opacity: 0.6; }   /* no-JS still */
  .profile-hero > .f-home-city { display: block; }
  .profile-hero:has(> .f-home-city)::before { content: none; }
  .profile-hero > .f-home-city { --f-city-fade: 0.5; --f-traffic: dense; }
}
[data-hero] > .f-home-city { animation: none !important; }
.profile-hero__eyebrow { font-family: var(--font-f-label); font-size: var(--f-label-size); font-weight: var(--f-label-weight); text-transform: uppercase; letter-spacing: var(--f-label-track); color: var(--f-text-3); margin-bottom: var(--f-s-5); display: flex; align-items: center; gap: var(--f-s-3); }
/* a tiny radial plaza before the eyebrow: a platinum centre, one ring road, four boulevards — decoration only */
.profile-hero__eyebrow::before {
  content: "";
  flex: none;
  width: 14px; height: 14px; border-radius: 50%;
  border: 1px solid var(--f-text-3);
  background: radial-gradient(circle, var(--f-light-1) 0 1.6px, transparent 2px), repeating-conic-gradient(from 45deg, color-mix(in oklch, var(--f-light-1) 45%, transparent) 0 6deg, transparent 6deg 90deg), var(--f-well);
  box-shadow: var(--f-glow-key);
}
.profile-hero__title {
  position: relative;
  font-family: var(--font-f-display);
  font-weight: var(--f-display-weight);
  font-size: var(--f-d1);
  line-height: 1.02;
  letter-spacing: -0.02em;
  color: var(--f-text);
  text-shadow: none;
  margin: 0 0 var(--f-s-5);
  text-wrap: balance;
}
.profile-hero__name { color: var(--f-text); }
.profile-hero__cursor {   /* a lit via: a hairline of the pink signal (emissive) */
  display: inline-block;
  width: 0.06em; min-width: 3px; height: 0.78em;
  margin-left: 0.12em; vertical-align: -0.04em;
  background: var(--f-signal-hi); color: transparent;
  box-shadow: var(--f-glow);
  overflow: hidden; border-radius: var(--f-r-control);
}
.profile-hero__thesis { font-family: var(--font-f-body); font-size: var(--f-lede); font-weight: 400; line-height: 1.6; color: var(--f-text-2); letter-spacing: 0; max-width: 34ch; margin-bottom: var(--f-s-6); }
/* disabled: no signal at all — a well, the faint text, a hairline, no glow */
:is(.btn-primary, .comment-form__submit):is(:disabled, [aria-disabled=true]),
:is(.btn-primary, .comment-form__submit):is(:disabled, [aria-disabled=true]):hover { background: var(--f-well); color: var(--f-text-3); border-color: var(--f-line); box-shadow: none; cursor: not-allowed; }
.btn-primary .icon { color: currentColor; }
@keyframes profile-blink { 0%, 49% { opacity: 1; } 50%, 100% { opacity: 0.1; } }
/* on the beat: cursor = beat ÷ 4, live dots = beat ÷ 3 */
.profile-hero__cursor { animation: profile-blink var(--f-blink-period) steps(1, end) infinite; }
.shot__live-dot { animation: profile-blink var(--f-live-period) steps(1, end) infinite; }
/* == [SECTIONS] side headings, sticky labels — role: sections ================================ */
.profile-section { padding-block: var(--f-section); border: 0; }
.profile-section__heading {
  font-family: var(--font-f-display); font-weight: var(--f-display-weight);
  font-size: var(--f-h2); line-height: 1.12; letter-spacing: -0.02em;
  color: var(--f-text); text-shadow: none; margin: 0 0 var(--f-s-4);
  display: flex; align-items: center; gap: 0.5em;
}
.profile-section__heading .icon { color: var(--f-light-1); width: 0.62em; height: 0.62em; flex: none; filter: none; }   /* decoration: the key light */
.profile-section__lede { font-size: var(--f-t-lg); line-height: 1.65; color: var(--f-text-2); max-width: 62ch; }
.profile-prose { font-size: var(--f-t-base); line-height: 1.72; color: var(--f-text-2); max-width: 64ch; }
.profile-prose strong, .profile-section__lede strong { color: var(--f-text); font-weight: 600; }
.profile-prose a, .profile-section__lede a { color: var(--f-signal-hi); text-decoration: underline 1px; text-decoration-color: color-mix(in oklch, var(--f-signal) 50%, transparent); }
@container shell (width >= 72rem) {   /* wide: the side heading column (wide enough for the longest heading on one line) */
  .profile-section { display: grid; grid-template-columns: minmax(20rem, 3fr) 9fr; column-gap: var(--f-gutter); align-items: start; }
  .profile-section > * { grid-column: 2; min-width: 0; }
  .profile-section > .profile-section__heading,
  .profile-section > .profile-section__head-row { grid-column: 1; grid-row: 1 / span 6; position: sticky; top: calc(var(--header-h, 56px) + var(--f-s-7)); margin: 0; }
  .profile-section > .profile-section__lede { margin-top: var(--f-s-1); }
  #system-map.profile-section { display: block; }   /* the system map takes the whole width */
  #system-map > .profile-section__heading { position: static; margin-bottom: var(--f-s-4); }
}
.section-rail__link { font-family: var(--font-f-label); font-size: var(--f-label-sm-size); font-weight: var(--f-label-sm-weight); letter-spacing: var(--f-label-sm-track); text-transform: uppercase; color: var(--f-text-3); transition: color var(--f-t); }
.section-rail__dot { width: 7px; height: 7px; border-radius: 50%; border: 1px solid var(--f-line-2); background: var(--f-surface); }
.section-rail__link:is(:hover, :focus-visible) .section-rail__dot { border-color: var(--f-signal); }   /* [STATE] */
.section-rail__link[aria-current=true] { color: var(--f-signal-hi); }
.section-rail__link[aria-current=true] .section-rail__dot,
.section-rail__link:focus-visible .section-rail__dot { background: var(--f-signal-hi); border-color: var(--f-signal-hi); box-shadow: none; }
/* == [C17] edge sweep: a routing avenue under each section, a pink packet with a film tail — role: motion == */
.profile-hero::after,
.profile-section:not(.profile-contact)::after,
.hero-wrap::after,
.latest-wrap::after,
.mochi-hero::after,
.mochi-sec:not(.mochi-contact)::after {
  height: 1px;
  bottom: 0;
  opacity: 0.85;
  filter: drop-shadow(var(--f-glow));   /* the sweep's packet is emissive */
  background:
    linear-gradient(90deg, transparent 0 34%, color-mix(in oklch, var(--f-film-3) 45%, transparent) 38%, color-mix(in oklch, var(--f-film-3) 70%, transparent) 42%, color-mix(in oklch, var(--f-film-1) 80%, transparent) 45.5%, color-mix(in oklch, var(--f-signal-hi) 95%, transparent) 48%, color-mix(in oklch, var(--f-signal) 90%, transparent) 50%, transparent 54% 100%),
    linear-gradient(90deg, color-mix(in oklch, var(--f-line-2) 60%, transparent), color-mix(in oklch, var(--f-line-2) 60%, transparent));
  background-size: 50% 100%, 100% 100%;
}
.hero-wrap::after, .latest-wrap::after { z-index: 1; }
.hero-wrap::after { opacity: 0.6; }
@keyframes holo-edge { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes holo-edge-bg { from { background-position: 0 0; } to { background-position: 200% 0; } }
.profile-hero::after, .profile-section:not(.profile-contact)::after, .hero-wrap::after, .latest-wrap::after { animation: holo-edge var(--f-edge-period) linear infinite; }
:is(.profile-hero, .profile-section, .hero-wrap, .latest-wrap).is-offscreen::after { animation-play-state: paused; }
.mochi-hero::after, .mochi-sec:not(.mochi-contact)::after { animation: holo-edge var(--f-edge-period) linear infinite; }
:is(.mochi-hero, .mochi-sec).is-offscreen::after { animation-play-state: paused; }
/* == [MAP-DESKTOP] the wide system map (≥ 72rem): radial planned cities — role: map ===============
   Each world is a radial planned city seen from orbit: the hub is the plaza; ring roads and twelve
   boulevards cut it into wedge districts of small blocks inside a bastion outline, lit by the light
   ramp (Passion platinum-led, Profession ice-led) on plates above the sky; pink is the only signal.
   Project cards are surface plates carrying the shared film border ([FILM CARD]): light at rest, full
   when linked / active. Equal-width cards on a 4-column frame around the city (Passion 4 + 2 + 2 + 4,
   Profession 3 + 3); links ride a boulevard out, then arc along a ring road to the card. Prod's hero
   edges stay hidden; prod still sets .is-active/.is-linked and opens the case. */
.pmap .pmap__bands { z-index: auto; }
.pmap .pmap__node { position: relative; z-index: 1; }
.pmap .pmap__edges { display: block; }            /* dialog maps keep their routed edges */
.pmap--hero > .pmap__edges { display: none; }     /* the hero's traffic comes from final.js */
/* [PILL] edge-kind labels: final.js places each on its own path clear of card text and redraws it ABOVE the cards
   (prod's midpoint pills, under the cards, stay hidden). The control chip: plate, signal rim, --f-r-control, label-sm. */
.pmap__overlay .pmap__edge-pill { display: none; }
/* the section rail: shown in the wide shell only (prod shows it from a 64rem window — one tier rule here instead),
   with its own lane at the right of the page shell, wide enough to clear it */
.section-rail { display: none; }
@container shell (width >= 72rem) {
  .section-rail { display: flex; }
}
.pmap--hero { overflow-clip-margin: var(--f-s-2); }   /* room for the focus ring on the outer cards */
dialog.detail:focus-visible { outline: 0; }   /* the dialog box itself never wears the ring; its controls do */
.pmap .f-pill-layer { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; z-index: 3; }
.f-pill-layer rect { fill: var(--f-plate); stroke: var(--f-signal); stroke-width: 1px; rx: var(--f-r-control); }
.f-pill-layer text { fill: var(--f-signal-hi); font-family: var(--font-f-label); font-size: var(--f-label-sm-size); font-weight: var(--f-label-sm-weight); letter-spacing: var(--f-label-sm-track); text-transform: uppercase; }
.pmap--hero { position: relative; margin-top: var(--f-s-7); }
.pmap--hero .pmap__bands { position: relative; --f-mode: list; }
.f-event { position: absolute; left: -18px; top: 0; z-index: 0; pointer-events: none; display: block; }
/* the two worlds: stacked, or side by side once each gets a full world's width (an auto-fit grid, no breakpoint):
   the unrolled lists from 2 × 26rem, the radial cities from 2 × 80rem (4K) */
.pmap--hero .pmap__bands--split { grid-template-columns: repeat(auto-fit, minmax(min(100%, 26rem), 1fr)); gap: var(--f-s-8); margin-top: 0; align-items: start; }
.pmap--hero .pmap__band {
  --f-key: var(--f-light-1);
  --f-key-soft: color-mix(in oklch, var(--f-light-1) 32%, transparent);
  --f-key-lo: color-mix(in oklch, var(--f-mute) 60%, transparent);
  --f-key-lights: var(--f-lights);
  --f-glow-key: 0 0 var(--f-glow-r) var(--f-key-soft);                       /* resolved per world (Profession: ice) */
  --f-halo: 0 0 var(--f-halo-r) color-mix(in oklch, var(--f-key) 10%, transparent);
  position: relative; border: 0; padding: 0; background: none; box-shadow: none;
}
.pmap--hero .pmap__band[data-hue=orange] {   /* Profession: ice-led */
  --f-key: var(--f-light-3);
  --f-key-soft: color-mix(in oklch, var(--f-light-3) 38%, transparent);
  --f-key-lo: color-mix(in oklch, var(--f-light-3) 49%, transparent);
  --f-key-lights: var(--f-lights-3);
}
.pmap__band, .pmap__band--side { border-inline-start-width: 1px; }
.pmap__band-title, .pmap__band--side .pmap__band-title { font-family: var(--font-f-label); font-size: var(--f-label-size); font-weight: var(--f-label-weight); letter-spacing: var(--f-label-track); text-transform: uppercase; color: var(--pmap-key, var(--f-text-3)); margin-bottom: var(--f-s-2); }
.pmap--hero .pmap__band-title { color: var(--f-key); display: flex; align-items: center; gap: var(--f-s-3); }
/* each world's emblem: a tiny radial plaza (centre light, ring road, four boulevards) in its key light */
.pmap--hero .pmap__band-title::before {
  content: ""; flex: none; width: 14px; height: 14px; border-radius: 50%;
  border: 1px solid var(--f-key);
  background: radial-gradient(circle, var(--f-key) 0 1.6px, transparent 2px), repeating-conic-gradient(from 45deg, var(--f-key-soft) 0 7deg, transparent 7deg 90deg), var(--f-well);
  box-shadow: var(--f-glow-key);
}
.pmap__band-lede { font-size: var(--f-t-md); color: var(--f-text-3); margin-bottom: var(--f-s-5); max-width: 46ch; line-height: 1.5; }
.pmap--hero .pmap__band-lede { color: var(--f-text-3); margin-bottom: var(--f-s-6); }
/* project cards: surface plates — a kerb ring, a row of lit cells along the base, the film border ([FILM CARD]) */
.pmap--hero .pmap__node {
  min-width: 0; max-width: none; width: 100%;
  padding: var(--f-pad-plate);
  border: 1px solid color-mix(in oklch, var(--f-line-2) 90%, transparent);
  border-radius: var(--f-r-plate);
  background: radial-gradient(circle, color-mix(in oklch, var(--f-light-1) 34%, transparent) 0 0.7px, transparent 1.1px) var(--f-pad-plate) calc(100% - 7px) / 5px 5px repeat-x, var(--f-plate-bg);
  box-shadow: var(--f-kerb), 0 14px 30px -22px color-mix(in oklch, var(--f-shade) 90%, transparent);
  display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: var(--f-s-2);
  text-decoration: none;
}
.pmap--hero .pmap__band[data-hue=orange] .pmap__node:not(.pmap__node--hub) {
  background: radial-gradient(circle, color-mix(in oklch, var(--f-light-3) 45%, transparent) 0 0.7px, transparent 1.1px) var(--f-pad-plate) calc(100% - 7px) / 5px 5px repeat-x, var(--f-plate-bg);
}
.pmap--hero .pmap__node-head { display: flex; align-items: flex-start; gap: var(--f-s-2); }
.pmap--hero .pmap__node-icon { color: var(--f-text-3); width: 1em; height: 1em; margin-top: 2px; }
.pmap--hero .pmap__band[data-hue=orange] .pmap__node-icon { color: var(--f-light-3); }
.pmap--hero .pmap__node-label { font-family: var(--font-f-body); font-weight: var(--f-card-title-weight); font-size: var(--f-card-title); line-height: var(--f-card-title-lh); letter-spacing: 0; color: var(--f-text); }
.pmap--hero .pmap__node-sub { font-size: var(--f-card-sub); color: var(--f-text-2); line-height: 1.45; text-wrap: pretty; }
.pmap--hero .pmap__node--project:not(.pmap__node--hub):is(:hover, :focus-visible, .is-active) {   /* state: the lit cells turn signal */
  background: radial-gradient(circle, color-mix(in oklch, var(--f-signal-hi) 90%, transparent) 0 0.8px, transparent 1.2px) var(--f-pad-plate) calc(100% - 7px) / 5px 5px repeat-x, var(--f-plate-bg);
  transform: none;
}
.pmap--hero .pmap__node--project:is(:hover, :focus-visible) :is(.pmap__node-label, .pmap__node-icon),
.pmap--hero .pmap__node.is-active :is(.pmap__node-label, .pmap__node-icon) { color: var(--f-signal-hi); }
.pmap--hero .pmap__node.is-linked:not(.pmap__node--hub) { --f-plate-bg: var(--f-surface); --f-kerb-c: color-mix(in oklch, var(--f-key) 22%, transparent); }   /* linked: the kerb takes the world's key light */
.pmap--hero .pmap__node.is-linked .pmap__node-label { color: var(--f-text); }
.pmap--hero .pmap__node.is-linked .pmap__node-icon { color: var(--f-key); }
/* hubs: the central plaza — an opaque paved disc (faint paving rings, a lit kerb) */
.pmap--hero .pmap__node--hub {
  --f-hub-d: 12.5rem;
  border: 1px solid var(--f-key);
  background:
    radial-gradient(circle closest-side, var(--f-raised) 0 66%, color-mix(in oklch, var(--f-key) 12%, transparent) 66.5% 67%, var(--f-raised) 67.5% 74%, color-mix(in oklch, var(--f-key) 12%, transparent) 74.5% 75%, transparent 75.5% 82%, var(--f-raised) 82%),
    var(--f-key-lights) 0 0 / 6px 6px,
    var(--f-raised);
  box-shadow: 0 0 0 4px var(--f-street), 0 0 0 5px var(--f-key-lo), var(--f-halo);
  transition: border-color var(--f-t), box-shadow var(--f-t);
}
.pmap--hero .pmap__band[data-hue=orange] .pmap__node--hub { --f-hub-d: 11.25rem; }
.pmap--hero .pmap__node--hub .pmap__node-head { gap: var(--f-s-2); }
.pmap--hero .pmap__node--hub .pmap__node-label { font-family: var(--font-f-body); font-weight: var(--f-card-title-weight); font-size: var(--f-card-title-lg); line-height: var(--f-card-title-lh); color: var(--f-key); letter-spacing: -0.01em; }   /* a card title, one step up: the same face as every card */
.pmap--hero .pmap__node--hub .pmap__node-icon { color: var(--f-key); width: 1em; height: 1em; margin-top: 2px; }
.pmap--hero .pmap__node--hub .pmap__node-sub { color: var(--f-text-2); font-size: var(--f-card-sub); line-height: 1.42; }
.pmap--hero .pmap__node--hub:is(:hover, .is-active, :focus-visible) .pmap__node-label { color: var(--f-signal-hi); }
.pmap--hero .pmap__node--hub:is(:hover, :focus-visible, .is-active) {
  transform: none;
  border-color: var(--f-signal);
  box-shadow: 0 0 0 4px var(--f-street), 0 0 0 5px color-mix(in oklch, var(--f-signal) 55%, transparent);
}
@container pmap (width >= 72rem) {   /* wide map: the radial cities; the cards cap their width and spread round the plaza */
  .pmap--hero .pmap__bands { --f-mode: ring; }
  .pmap--hero .pmap__bands--split { grid-template-columns: repeat(auto-fit, minmax(min(100%, 80rem), 1fr)); }
  .pmap--hero .pmap__nodes { display: grid; grid-template-columns: repeat(4, minmax(0, 24rem)); justify-content: space-between; gap: var(--f-s-6); }
  .pmap--hero .pmap__band[data-hue=teal] .pmap__nodes {
    grid-template-areas: "a1 a2 a3 a4" "b1 det det b4" "c1 det det c4" "d1 d2 d3 d4";
    grid-template-rows: auto minmax(11.25rem, auto) minmax(11.25rem, auto) auto;
  }
  .pmap--hero .pmap__band[data-hue=orange] .pmap__node--project:not(.pmap__node--hub) { align-self: center; }
  .pmap--hero .pmap__band[data-hue=orange] .pmap__nodes { grid-template-areas: "p1 det det q1" "p2 det det q2" "p3 det det q3"; grid-template-rows: repeat(3, minmax(9.25rem, auto)); }
  .pmap--hero [data-pmap-node=spoilers-of-the-three-kingdoms] { grid-area: a1; }
  .pmap--hero [data-pmap-node=virtual-agency] { grid-area: a2; }
  .pmap--hero [data-pmap-node=plinth] { grid-area: a3; }
  .pmap--hero [data-pmap-node=mochi-auth] { grid-area: a4; }
  .pmap--hero [data-pmap-node=mochi-llm-server] { grid-area: b1; }
  .pmap--hero [data-pmap-node=mochi-strata] { grid-area: b4; }
  .pmap--hero [data-pmap-node=lucid] { grid-area: c1; }
  .pmap--hero [data-pmap-node=fossilize] { grid-area: c4; }
  .pmap--hero [data-pmap-node=synthcanvas] { grid-area: d1; }
  .pmap--hero [data-pmap-node=swarm] { grid-area: d2; }
  .pmap--hero [data-pmap-node=keelloom] { grid-area: d3; }
  .pmap--hero [data-pmap-node=auspicenode] { grid-area: d4; }
  .pmap--hero [data-pmap-node=parallaxis] { grid-area: p1; }
  .pmap--hero [data-pmap-node=arobid] { grid-area: p2; }
  .pmap--hero [data-pmap-node=arobid-moderation] { grid-area: p3; }
  .pmap--hero [data-pmap-node=vibekeeper] { grid-area: q1; }
  .pmap--hero [data-pmap-node=hy3d-worldgen] { grid-area: q2; }
  .pmap--hero [data-pmap-node=trellis-product3d] { grid-area: q3; }
  .pmap--hero .pmap__node--hub {
    grid-area: det; justify-self: center; align-self: center;
    width: var(--f-hub-d); height: var(--f-hub-d);
    border-radius: 50%; padding: var(--f-pad-plate);
    align-items: center; justify-content: center; text-align: center; gap: var(--f-s-2);
  }
  .pmap--hero .pmap__node--hub .pmap__node-head { flex-direction: column; align-items: center; gap: var(--f-s-1); }
  .pmap--hero .pmap__node--hub .pmap__node-sub { max-width: 15ch; }
  .pmap--hero .pmap__band[data-hue=orange] .pmap__node--hub .pmap__node-sub { max-width: 14ch; }
  .pmap--live .pmap__node--hub::after, .pmap--hero .pmap__node--hub::before { border-radius: 50%; }
  /* no-JS: the still radial city in its bastion outline fills the middle (final.js replaces it) */
  .pmap--hero .pmap__nodes::before {
    content: ""; grid-area: det; justify-self: center; align-self: center;
    width: min(100%, 31rem); aspect-ratio: 1; pointer-events: none;
    background: var(--f-radial-city); clip-path: var(--f-star); opacity: 0.85;
  }
  .pmap--hero .pmap__band[data-hue=orange] .pmap__nodes::before { width: min(100%, 29rem); background: var(--f-radial-city-pro); }
  .pmap--hero:has(.f-event) .pmap__nodes::before { content: none; }
}
/* == [MAP-PHONE] compact + medium map (< 72rem): the city unrolled — the plaza on top, the plates down one bus — role: map == */
@container pmap (width < 72rem) {
  .pmap--hero .pmap__nodes { display: flex; flex-direction: column; gap: var(--f-s-3); position: relative; padding-left: var(--f-s-6); }
  .pmap--hero .pmap__nodes::before {   /* the boulevard the plates hang from (final.js streams particles along it) */
    content: ""; position: absolute; left: 8px; top: var(--f-s-7); bottom: var(--f-s-5); width: 1px;
    background: linear-gradient(180deg, var(--f-key), var(--f-key-soft) 30%, color-mix(in oklch, var(--f-line-2) 70%, transparent));
    pointer-events: none;
  }
  .pmap--hero .pmap__node--hub {   /* a plate like its children: the [PLATE] kerb ring + the film rim ([FILM CARD]) */
    width: calc(100% + var(--f-s-6)); margin: 0 0 var(--f-s-3) calc(var(--f-s-6) * -1); min-height: 10.5rem;
    padding: var(--f-pad-plate) var(--f-pad-plate) calc(var(--f-pad-plate) * 4); border-radius: var(--f-r-plate);   /* the plaza's band: the pillar district's inset */
    box-shadow: var(--f-kerb);
    border: 1px solid;
    border-image: linear-gradient(var(--f-film-angle), color-mix(in oklch, var(--f-film-1) calc(var(--f-film-k) * 100%), transparent), color-mix(in oklch, var(--f-film-2) calc(var(--f-film-k) * 100%), transparent) 50%, color-mix(in oklch, var(--f-film-3) calc(var(--f-film-k) * 100%), transparent)) 1;
    transition: --f-film-k var(--f-t), box-shadow var(--f-t);
    /* the plaza's radial city rising from the bottom edge: ring roads, boulevards, lit wedges */
    background:
      radial-gradient(circle at 50% calc(100% + 1.5rem),
        var(--f-surface) 0 2.4rem, color-mix(in oklch, var(--f-key) 75%, transparent) 2.45rem 2.52rem, transparent 2.6rem 3.5rem,
        var(--f-street) 3.5rem 3.66rem, color-mix(in oklch, var(--f-key) 40%, transparent) 3.66rem 3.72rem, transparent 3.75rem 4.9rem,
        var(--f-street) 4.9rem 5.06rem, color-mix(in oklch, var(--f-key) 32%, transparent) 5.06rem 5.12rem, transparent 5.15rem 6.2rem, var(--f-surface) 6.25rem),
      repeating-conic-gradient(from 14deg at 50% calc(100% + 1.5rem), var(--f-street) 0 1.5deg, transparent 1.5deg 30deg),
      repeating-conic-gradient(from 29deg at 50% calc(100% + 1.5rem), color-mix(in oklch, var(--f-street) 80%, transparent) 0 0.6deg, transparent 0.6deg 15deg),
      var(--f-key-lights) 0 0 / 5px 5px,
      var(--f-lights-2) 2px 2px / 9px 7px,
      var(--f-lights-3) 4px 1px / 13px 11px,
      var(--f-surface);   /* the --f-radial-city recipe (12 boulevards + 12 lanes, three lights layers), anchored at the bottom edge */
  }
  .pmap--hero .pmap__node--hub:is(:hover, :focus-visible, .is-active) { --f-film-k: 1; --f-kerb-c: var(--f-kerb-hot); box-shadow: var(--f-kerb); }
  .pmap--hero .pmap__node--hub .pmap__node-sub { max-width: 32ch; }
  .pmap--hero .pmap__node--project:not(.pmap__node--hub) { width: auto; }
  /* the via on the bus — a round dot, as on the desktop map (filled = linked to the core · ring = a plate-to-
     plate link) + its stub, centred on the title's first line */
  .pmap--hero .pmap__node--project:not(.pmap__node--hub)::before { content: ""; position: absolute; left: calc(3.5px - var(--f-s-6)); top: calc(var(--f-pad-plate) + var(--f-t-base) * 0.65 - 4px); width: 8px; height: 8px; border-radius: 50%; background: var(--f-key); box-shadow: var(--f-glow-key); pointer-events: none; }
  .pmap--hero .pmap__node--project:not(.pmap__node--hub)::after {
    content: ""; position: absolute; left: calc(11.5px - var(--f-s-6)); width: calc(var(--f-s-6) - 11.5px); top: calc(var(--f-pad-plate) + var(--f-t-base) * 0.65 - 1px); height: 1px;
    background: linear-gradient(90deg, var(--f-key-soft), color-mix(in oklch, var(--f-line-2) 60%, transparent)); pointer-events: none;
  }
  .pmap--hero .pmap__node--project:not(.pmap__node--hub):is([data-pmap-node=spoilers-of-the-three-kingdoms], [data-pmap-node=lucid], [data-pmap-node=parallaxis], [data-pmap-node=arobid-moderation], [data-pmap-node=hy3d-worldgen], [data-pmap-node=trellis-product3d])::before { background: var(--f-well); border: 1px solid var(--f-key); }
  .pmap--hero .pmap__node:not(.pmap__node--hub):is(.is-active, .is-linked)::before { background: var(--f-signal); border-color: var(--f-signal); box-shadow: var(--f-glow); }
}
/* == [PULSE P5] measurement sweep on the radial plan — role: motion (the beat) ================
   prod's pmap-hub-pulse runs on the hub's ::after: a pink signal ring leaves the plaza kerb, swelling
   outward. final.js catches each iteration and sends v's measurement sweep out of the plaza with
   v's own metric: a soft pink front shaped as a ROUNDED SQUARE (Chebyshev distance) grows across
   the round city and reaches its small blocks staggered, block by block (+ a small seeded per-block
   offset) — each block gets a pink tint and its cells brighten to white, then relax; a film
   highlight rides just outside the front; it also fires P1. The heroes run the same sweep on a
   4.8 s clock (final.js pulseHome). Hover flare ([C4]) and street traffic ([CARS]) are final.js only. */
.pmap--live .pmap__node--hub::after {
  inset: -2px; z-index: -1;
  border: 1.5px solid var(--f-signal-hi); background: none; padding: 0;
  box-shadow: var(--f-glow);   /* the hub pulse is emissive */
}
@container pmap (width < 72rem) {
  .pmap--live .pmap__node--hub::after { border-radius: var(--f-r-plate); border-width: 1px; }
}
@keyframes pmap-hub-pulse {
  0%   { opacity: 0; transform: scale(1); }
  4%   { opacity: 1; transform: scale(1.02); }
  38%  { opacity: 0; transform: scale(var(--f-pulse-s, 1.14)); }
  100% { opacity: 0; transform: scale(var(--f-pulse-s, 1.14)); }
}
.pmap--live .pmap__node--hub::after { animation: pmap-hub-pulse var(--f-pulse-period) var(--f-ease) infinite; }
@container pmap (width >= 72rem) {
  .pmap--hero .pmap__node--hub { --f-pulse-s: 1.24; }
}
.pmap__node--hub.is-offscreen::after { animation-play-state: paused; }
/* == [C13] film sheen across the hub plaza — role: motion =====================================
   a slow ice → frost → pink film band crosses the plaza every 12 s; under the text, over the paving. */
.pmap--hero .pmap__node--hub::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none;
  background: linear-gradient(115deg, transparent 38%, color-mix(in oklch, var(--f-film-1) 16%, transparent) 44%, color-mix(in oklch, var(--f-film-2) 22%, transparent) 50%, color-mix(in oklch, var(--f-film-3) 16%, transparent) 56%, transparent 62%) 0 0 / 300% 100% no-repeat;
  background-position: 100% 0;
  opacity: 0;
}
@keyframes f-sheen {
  0%   { opacity: 0; background-position: 100% 0; }
  3%   { opacity: 1; }
  20%  { opacity: 1; background-position: 0% 0; }
  22%, 100% { opacity: 0; background-position: 0% 0; }
}
.pmap--hero .pmap__node--hub::before { animation: f-sheen var(--f-sheen-period) var(--f-ease) calc(var(--f-power-dur) * 2) infinite; }
.pmap--hero .pmap__node--hub.is-offscreen::before { animation-play-state: paused; }
/* == [C16] cards powering on — role: motion ==================================================
   ONE entrance for the whole site, f-power-on: a block powers up — dark, an over-bright flick, a dropout,
   then it settles a few px into place (steps(7) over --f-power-dur). It replaces prod's three entrance names
   (hero-in, archive-in, pmap-card-in) on every selector prod animates; prod's keyframes stay untouched and
   unused. Every ladder steps by --f-stagger. */
@keyframes f-power-on {
  0%   { opacity: 0; transform: translateY(var(--f-power-dy, 0.4rem)); filter: brightness(0.4); }
  30%  { opacity: 1; filter: brightness(1.9); }
  42%  { opacity: 0.35; }
  60%  { opacity: 1; transform: none; filter: brightness(1.3); }
  100% { opacity: 1; transform: none; filter: none; }
}
.pmap--hero.pmap--live :is(.pmap__node--project, .pmap__node--hub) { --f-power-dy: 0px; animation: f-power-on var(--f-power-dur) steps(7, end) backwards; }
.pmap--hero.pmap--live .pmap__node-li:nth-child(1) .pmap__node--project { animation-delay: calc(var(--f-stagger) * 1); }
.pmap--hero.pmap--live .pmap__node-li:nth-child(2) .pmap__node--project { animation-delay: calc(var(--f-stagger) * 2); }
.pmap--hero.pmap--live .pmap__node-li:nth-child(3) .pmap__node--project { animation-delay: calc(var(--f-stagger) * 3); }
.pmap--hero.pmap--live .pmap__node-li:nth-child(4) .pmap__node--project { animation-delay: calc(var(--f-stagger) * 4); }
.pmap--hero.pmap--live .pmap__node-li:nth-child(5) .pmap__node--project { animation-delay: calc(var(--f-stagger) * 5); }
.pmap--hero.pmap--live .pmap__node-li:nth-child(6) .pmap__node--project { animation-delay: calc(var(--f-stagger) * 6); }
.pmap--hero.pmap--live .pmap__node-li:nth-child(7) .pmap__node--project { animation-delay: calc(var(--f-stagger) * 7); }
.pmap--hero.pmap--live .pmap__node-li:nth-child(8) .pmap__node--project { animation-delay: calc(var(--f-stagger) * 8); }
.pmap--hero.pmap--live .pmap__node-li:nth-child(9) .pmap__node--project { animation-delay: calc(var(--f-stagger) * 9); }
.pmap--hero.pmap--live .pmap__node-li:nth-child(10) .pmap__node--project { animation-delay: calc(var(--f-stagger) * 10); }
.pmap--hero.pmap--live .pmap__node-li:nth-child(11) .pmap__node--project { animation-delay: calc(var(--f-stagger) * 11); }
.pmap--hero.pmap--live .pmap__node-li:nth-child(12) .pmap__node--project { animation-delay: calc(var(--f-stagger) * 12); }
.pmap--hero.pmap--live .pmap__node-li:nth-child(13) .pmap__node--project { animation-delay: calc(var(--f-stagger) * 13); }
.latest-grid .post, .pillars .pillar, .feature, .item-list .item { animation: f-power-on var(--f-power-dur) steps(7, end) both; }
.latest-grid .post:nth-child(2), .pillars .pillar:nth-child(2), .item-list .item:nth-child(2) { animation-delay: calc(var(--f-stagger) * 1); }
.latest-grid .post:nth-child(3), .pillars .pillar:nth-child(3) { animation-delay: calc(var(--f-stagger) * 2); }
.latest-grid .post:nth-child(n+4), .pillars .pillar:nth-child(4) { animation-delay: calc(var(--f-stagger) * 3); }
/* == [CONTENT] captures, specialties, skills, chips, metrics, contact — role: content =========== */
.shots { margin-top: var(--f-s-7); }
.shot { text-decoration: none; }
.shot__frame { border: 1px solid var(--f-line); border-radius: var(--f-r-plate); background: var(--f-plate-bg); box-shadow: var(--f-kerb), 0 30px 60px -34px color-mix(in oklch, var(--f-shade) 95%, transparent); }
.shot__frame img { filter: none; }
.shot:hover .shot__id { color: var(--f-signal-hi); }
.shot__live { font-family: var(--font-f-label); font-size: var(--f-label-sm-size); font-weight: var(--f-label-sm-weight); letter-spacing: var(--f-label-sm-track); text-transform: uppercase; color: var(--f-text); background: color-mix(in oklch, var(--f-well) 90%, transparent); border: 1px solid var(--f-line-2); border-radius: var(--f-r-control); padding: var(--f-s-1) var(--f-s-2); }
.shot__live-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--f-signal-hi); box-shadow: var(--f-glow); }
.shot__meta { gap: var(--f-s-1); padding-top: var(--f-s-3); }
.shot__id, .shots > .shot .shot__id { font-family: var(--font-f-body); font-weight: var(--f-card-title-weight); font-size: var(--f-card-title); line-height: var(--f-card-title-lh); color: var(--f-text); }   /* the lead capture too (prod shrank it to 13 px) */
.shot__id .icon { color: var(--f-text-3); }
.shot__note { font-size: var(--f-card-sub); color: var(--f-text-3); }
.spec-list { gap: var(--f-s-5); margin-top: var(--f-s-7); }
.spec { position: relative; background: repeating-linear-gradient(90deg, color-mix(in oklch, var(--f-light-1) 3%, transparent) 0 1px, transparent 1px 4px), var(--f-plate-bg); border: 1px solid var(--f-line); border-radius: var(--f-r-plate); box-shadow: var(--f-kerb); padding: var(--f-pad-plate); }
.spec::before { content: ""; position: absolute; left: 12px; right: 12px; top: -1px; height: 1px; background: var(--f-film-fade); opacity: 0.7; }   /* a panel, not a link: no hover */
.spec__head { display: flex; align-items: center; gap: var(--f-s-2); margin-bottom: var(--f-s-2); }
.spec__node { background: var(--f-well); border: 1px solid var(--f-line-2); border-radius: var(--f-r-control); color: var(--f-light-1); box-shadow: none; }   /* category: the key light */
.spec__title { font-family: var(--font-f-body); font-weight: var(--f-card-title-weight); font-size: var(--f-card-title); line-height: var(--f-card-title-lh); color: var(--f-text); letter-spacing: -0.01em; }
.spec__blurb { font-size: var(--f-card-sub); line-height: 1.65; color: var(--f-text-2); }
.spec__proof { gap: var(--f-s-2); margin-top: var(--f-s-3); }
.proof { font-family: var(--font-f-label); font-size: var(--f-label-sm-size); font-weight: var(--f-label-sm-weight); text-transform: uppercase; letter-spacing: var(--f-label-sm-track); color: var(--f-text-2); background: var(--f-well); border: 1px solid var(--f-line-2); border-radius: var(--f-r-control); box-shadow: none; padding: var(--f-s-1) var(--f-s-2); text-decoration: none; transition: color var(--f-t), border-color var(--f-t), background-color var(--f-t); }
.proof .icon, .proof__icon { color: currentColor; }
.skill-grid { gap: var(--f-s-6) var(--f-gutter); margin-top: var(--f-s-7); }
.skill-grid__title { font-family: var(--font-f-label); font-size: var(--f-label-size); font-weight: var(--f-label-weight); text-transform: uppercase; letter-spacing: var(--f-label-track); color: var(--f-light-3); border: 0; border-bottom: 1px solid var(--f-line); padding-bottom: var(--f-s-2); margin-bottom: var(--f-s-2); }
.skill-grid__title .icon { color: var(--f-light-3); }
.skill { border: 0; border-bottom: 1px solid color-mix(in oklch, var(--f-line) 55%, transparent); background: transparent; padding: var(--f-s-3) 0; }
.skill__head { font-size: var(--f-t-base); font-weight: 600; color: var(--f-text); }
.skill__head .icon, .skill__icon { color: var(--f-text-3); }
.skill__proof { font-size: var(--f-t-md); color: var(--f-text-3); }
.skill__sep { color: var(--f-text-3); }
.proof-link { color: var(--f-signal-hi); text-decoration: none; }
.proof-link:hover { color: var(--f-text); text-decoration: underline 1px; text-underline-offset: 0.22em; }
.detail .chip { border-color: var(--f-line); }
.case__tech, .detail .case__tech { gap: var(--f-s-2); }
.metric { background: var(--f-well); border: 1px solid var(--f-line); border-radius: var(--f-r-control); padding: var(--f-s-1) var(--f-s-2); font-family: var(--font-f-label); font-size: var(--f-label-sm-size); font-weight: var(--f-label-sm-weight); letter-spacing: var(--f-label-sm-track); color: var(--f-text-2); transition: background-color var(--f-t), color var(--f-t), border-color var(--f-t); }
.metric:hover { background: var(--f-raised); color: var(--f-text); border-color: var(--f-line-2); }
.profile-contact .profile-section__heading { color: var(--f-text); }   /* every section heading is text */
.profile-contact .profile-prose { display: flex; align-items: center; flex-wrap: wrap; gap: var(--f-s-2); }
.profile-contact .profile-prose a { font-family: var(--font-f-body); font-weight: 600; font-size: var(--f-h2); letter-spacing: -0.01em; color: var(--f-signal-hi); text-decoration: none; overflow-wrap: anywhere; }
.profile-contact .profile-prose a:hover { color: var(--f-text); text-decoration: underline 1px; text-underline-offset: 0.2em; }
.copy-email { color: var(--f-text-3); border: 1px solid var(--f-line); border-radius: var(--f-r-control); background: var(--f-surface); transition: color var(--f-t), border-color var(--f-t), background-color var(--f-t); }
.copy-email.is-copied { border-color: var(--f-light-1); box-shadow: none; }
.copy-email__check { color: var(--f-light-1); }
.profile-footnote { font-size: var(--f-t-md); color: var(--f-text-3); max-width: 60ch; }
.profile-footnote em { color: var(--f-text-2); }
/* == [DIALOG] the case-study dialog — role: dialog =============================================
   the raised layer (--f-raised), a plate ([PLATE]) with a film top edge. Inside it the order stays coherent:
   the dialog is raised; its map bands are wells cut into it; their nodes and the connections are surface
   plates standing in those wells. It sorts in and out with GLITCH G11. */
.detail {
  --f-plate-bg: var(--f-raised);
  background:
    var(--f-film-fade) top / 100% 2px no-repeat,
    repeating-linear-gradient(90deg, color-mix(in oklch, var(--f-light-1) 2.2%, transparent) 0 1px, transparent 1px 4px),
    var(--f-plate-bg);
  color: var(--f-text-2);
  border: 1px solid var(--f-line);
  border-radius: var(--f-r-plate);
  box-shadow: var(--f-kerb), 0 0 0 1px color-mix(in oklch, var(--f-shade) 50%, transparent), 0 40px 120px color-mix(in oklch, var(--f-shade) 85%, transparent);
  --f-ch-a: color-mix(in oklch, var(--f-signal-hi) 60%, transparent);    /* G11 streak, near: signal-hi (pink) */
  --f-ch-b: color-mix(in oklch, var(--f-signal) 35%, transparent);   /* G11 streak, mid: the signal (pink) */
  --f-ch-c: color-mix(in oklch, var(--f-film-1) 20%, transparent);    /* G11 streak, far: a film ice highlight */
}
/* the dialog by its own width (`detail` container): a map case is wide enough for two columns only in the wide tier
   (≥ 72rem) — main | map; in compact + medium the map runs full width under the text, its bands adding columns. Its
   text keeps a measure. The close row is sticky inside the dialog, so the close button never scrolls away (Q22 a). */
.detail[data-cols="2"] { width: min(96vw, 84rem); }
.detail[data-cols="2"] .detail__grid { grid-template-columns: minmax(0, 1fr); }
@container detail (width >= 72rem) {
  .detail[data-cols="2"] .detail__grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); }
}
.detail :is(.case__blurb, .case__outcomes, .case__tagline) { max-width: 68ch; }
.detail__chrome {
  position: sticky; top: calc(-1 * var(--size-6)); z-index: 3;
  margin: calc(-1 * var(--size-6)) calc(-1 * var(--size-6)) var(--size-2);
  padding: var(--size-6) var(--size-6) var(--size-2);
  background:   /* the dialog's own ground (film edge, raster, raised), so content scrolls under it */
    var(--f-film-fade) top / 100% 2px no-repeat,
    repeating-linear-gradient(90deg, color-mix(in oklch, var(--f-light-1) 2.2%, transparent) 0 1px, transparent 1px 4px),
    var(--f-plate-bg);
}
.detail::backdrop { background: radial-gradient(60% 50% at 50% 40%, color-mix(in oklch, var(--f-light-1) 4.5%, transparent), transparent 70%), color-mix(in oklch, var(--f-sky) 90%, transparent); -webkit-backdrop-filter: none; backdrop-filter: none; }
.detail__eyebrow { font-family: var(--font-f-label); font-size: var(--f-label-size); font-weight: var(--f-label-weight); letter-spacing: var(--f-label-track); text-transform: uppercase; color: var(--f-key, var(--f-light-1)); }   /* category: the key light */
.detail__title { font-family: var(--font-f-display); font-weight: var(--f-display-weight); font-size: var(--f-d2); line-height: 1.05; letter-spacing: -0.02em; color: var(--f-text); }
.detail__title .icon, .case__title .icon { color: var(--f-light-1); width: 0.6em; height: 0.6em; }
.detail__meta, .case__meta { font-family: var(--font-f-label); font-size: var(--f-label-sm-size); font-weight: var(--f-label-sm-weight); letter-spacing: var(--f-label-sm-track); color: var(--f-text-3); text-transform: uppercase; text-wrap: balance; }   /* a label: the label tier is uppercase */
.detail__close { color: var(--f-text-2); border: 1px solid var(--f-line); border-radius: var(--f-r-control); background: var(--f-surface); transition: color var(--f-t), border-color var(--f-t), background-color var(--f-t); }
.case__shot { margin: 0; }
.case__shot img { filter: none; }   /* the mat + film rim: [PLATE], [FILM CARD] */
.case__shot-cap, .pmap__caption { font-family: var(--font-f-label); font-size: var(--f-label-sm-size); font-weight: var(--f-label-sm-weight); letter-spacing: var(--f-label-sm-track); text-transform: uppercase; color: var(--f-text-3); }
.case__tagline { font-size: var(--f-t-lg); color: var(--f-text); font-weight: 500; }
.case__blurb { font-size: var(--f-t-base); line-height: 1.7; color: var(--f-text-2); }
.case__outcomes { padding-left: 0; list-style: none; display: grid; gap: var(--f-s-2); }
.case__outcomes li { position: relative; padding-left: var(--f-s-5); color: var(--f-text-2); line-height: 1.6; }
.case__outcomes li::before { content: ""; position: absolute; left: 2px; top: 0.62em; width: var(--f-s-2); height: 1px; background: var(--f-light-3); box-shadow: var(--f-glow-key); }
.case__metrics { gap: var(--f-s-2); }
.detail__section-title, .detail__back { font-family: var(--font-f-label); font-size: var(--f-label-size); font-weight: var(--f-label-weight); letter-spacing: var(--f-label-track); text-transform: uppercase; }
.detail__status, .detail__conn-kind { font-family: var(--font-f-label); font-size: var(--f-label-sm-size); font-weight: var(--f-label-sm-weight); letter-spacing: var(--f-label-sm-track); text-transform: uppercase; }
.detail__section-title { color: var(--f-text-3); }
.detail__conn { --f-plate-bg: var(--f-surface); background: var(--f-plate-bg); border: 1px solid var(--f-line); border-radius: var(--f-r-plate); box-shadow: var(--f-kerb); color: var(--f-text); padding: var(--f-pad-compact); }
.detail__conn:is(:hover, :focus-visible) { color: var(--f-signal-hi); }
.detail__conn-kind { color: var(--f-light-1); }   /* category: the key light */
.detail__back { color: var(--f-text-2); transition: color var(--f-t); }
.detail__status--built { color: var(--f-light-1); }
.detail__status--partial { color: var(--f-light-3); }
.detail__status--planned { color: var(--f-text-3); }
/* the dialog's own map: each band a small district lit in its own colour */
.detail__map .pmap__bands { grid-template-columns: repeat(auto-fit, minmax(min(100%, 12.5rem), 1fr)); gap: var(--f-s-4); }
.pmap__band[data-hue] { --pmap-key-soft: color-mix(in oklch, var(--pmap-key) 42%, transparent); --f-glow-key: 0 0 var(--f-glow-r) var(--pmap-key-soft); }
.case__outcomes { --f-glow-key: 0 0 var(--f-glow-r) color-mix(in oklch, var(--f-light-3) 38%, transparent); }   /* ticks are ice: the Profession key */
/* each band is a [PLATE] on a well ground (no hatch): rim, kerb ring, its key as a hairline along the top */
.detail .pmap__band, .case .pmap__band { --f-plate-bg: var(--f-well); position: relative; border: 1px solid var(--f-line); border-radius: var(--f-r-plate); padding: var(--f-s-4); background: var(--f-plate-bg); box-shadow: inset 0 1px 0 var(--pmap-key-soft), var(--f-kerb); }
.detail .pmap__band-title, .case .pmap__band-title { margin-bottom: var(--f-s-2); color: var(--pmap-key); display: flex; align-items: center; gap: var(--f-s-2); }
.detail .pmap__band-title::before, .case .pmap__band-title::before { content: ""; width: 6px; height: 6px; flex: none; border-radius: 50%; background: var(--pmap-key); box-shadow: var(--f-glow-key); }
.detail .pmap__nodes, .case .pmap__nodes { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 12rem), 1fr)); gap: var(--f-s-2); }   /* equal-width plates, aligned edges like every other plate grid */
.detail li.pmap__node, .case li.pmap__node { text-wrap: balance; }   /* a long name wraps into two even lines */
/* its nodes: compact surface plates standing in the well, with the kerb ring (--f-pad-compact) */
.detail li.pmap__node, .case li.pmap__node { --f-plate-bg: var(--f-surface); background: var(--f-plate-bg); border: 1px solid var(--pmap-key-soft, var(--f-line)); box-shadow: var(--f-kerb); border-radius: var(--f-r-plate); transition: border-color var(--f-t), background-color var(--f-t), box-shadow var(--f-t); padding: var(--f-pad-compact); color: var(--f-text); font-size: var(--f-t-sm); gap: var(--f-s-2); }
.detail li.pmap__node .pmap__node-label { color: var(--f-text); }
.detail li.pmap__node:is(:hover, :focus-visible, .is-active) { --f-plate-bg: var(--f-raised); --f-kerb-c: var(--f-kerb-hot); border-color: var(--f-signal-hi); box-shadow: var(--f-kerb), 0 0 0 1px color-mix(in oklch, var(--f-signal-hi) 30%, transparent); }
.detail li.pmap__node:is(:hover, :focus-visible, .is-active) .pmap__node-label { color: var(--f-signal-hi); }
.detail li.pmap__node.is-linked { border-color: var(--pmap-key); box-shadow: var(--f-kerb), var(--f-glow-key); }
.detail li.pmap__node.is-linked .pmap__node-label { color: var(--pmap-key); }
.pmap__node[data-status=built] .pmap__status { color: var(--f-light-1); }
.pmap__node[data-status=partial] .pmap__status { color: var(--f-light-3); }
.pmap__node[data-status=planned] .pmap__status { color: var(--f-text-3); }   /* the analytics pixel's noscript holds no layout (no-JS strip above the header) */
/* == [ARTICLE] long-form reading — role: article (accents: the light ramp; charts: pink + ice) ==== */
.toc-details__summary.fs-micro { font-size: var(--f-label-size); }   /* prod's micro size under the label tracking read off-tier */
.aside-left .label, .aside-right .label, .label, .toc-details__summary { font-family: var(--font-f-label); font-size: var(--f-label-size); font-weight: var(--f-label-weight); letter-spacing: var(--f-label-track); text-transform: uppercase; color: var(--f-text-3); }
/* TOC items are mixed-case prose titles: the body face. Their "01 ·" numerals are inline text (no element of
   their own), so they keep the body face too, as tabular figures. */
.toc-item { font-family: var(--font-f-body); font-variant-numeric: tabular-nums; letter-spacing: 0; font-size: var(--f-t-md); line-height: 1.35; color: var(--f-text-3); position: relative; padding-left: var(--f-s-4); transition: color var(--f-t); }
.toc-item:hover { color: var(--f-text); }
.toc-item.active { color: var(--f-signal-hi); }
.toc-item.active::before { content: ""; position: absolute; left: 0; top: 0.2em; bottom: 0.2em; width: 1px; background: var(--f-signal-hi); box-shadow: none; }
.toc-details { border: 1px solid var(--f-line); border-radius: var(--f-r-plate); background: var(--f-plate-bg); box-shadow: var(--f-kerb); }
/* the article by shell tier: one column with the folding TOC (compact + medium), or TOC | article | meta (wide).
   The stuck TOC is never taller than the visible viewport under the header: its list scrolls inside it (Q22 a). */
.article-layout { grid-template-columns: minmax(0, 1fr); gap: var(--size-5); }
.aside-left, .aside-right { display: none; }
.toc-details { display: block; margin-block: var(--size-5); }
@container shell (width >= 72rem) {
  .article-layout { grid-template-columns: 13.75rem minmax(0, 1fr) 13.75rem; gap: var(--size-7); }
  .aside-left, .aside-right { display: block; }
  .toc-details { display: none; }
}
.aside-sticky { max-block-size: calc(100dvh - var(--header-h) - 2 * var(--size-5)); overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; }
.meta-row { border-bottom: 1px solid color-mix(in oklch, var(--f-line) 55%, transparent); }
.meta-key { font-family: var(--font-f-label); font-size: var(--f-label-sm-size); font-weight: var(--f-label-sm-weight); letter-spacing: var(--f-label-sm-track); text-transform: uppercase; color: var(--f-text-3); }
.meta-val { color: var(--f-text-2); font-size: var(--f-t-md); text-transform: uppercase; letter-spacing: var(--f-label-sm-track); }   /* mono meta values read as labels */
.avatar { border: 1px solid var(--f-line-2); background: var(--f-surface); color: var(--f-light-1); font-family: var(--font-f-label); font-size: var(--f-label-sm-size); font-weight: var(--f-label-sm-weight); letter-spacing: var(--f-label-sm-track); }   /* decoration (prod keeps it round) */
.byline-link { color: var(--f-signal-hi); }
.share-btn { border: 1px solid var(--f-line); border-radius: var(--f-r-control); background: var(--f-surface); color: var(--f-text-3); transition: color var(--f-t), border-color var(--f-t), background-color var(--f-t); }
.share-btn.copied { color: var(--f-light-1); border-color: var(--f-light-1); }
.card-meta { font-family: var(--font-f-label); font-size: var(--f-label-sm-size); font-weight: var(--f-label-sm-weight); letter-spacing: var(--f-label-sm-track); text-transform: uppercase; color: var(--f-text-3); }
article.long h1, .long h1 { position: relative; font-family: var(--font-f-display); font-weight: var(--f-display-weight); font-size: var(--f-d2); line-height: 1.04; letter-spacing: -0.02em; color: var(--f-text); text-shadow: none; margin-block: var(--f-s-4) var(--f-s-5); }   /* (no glow) */
article.long .lede, .long .lede { font-size: var(--f-t-lg); line-height: 1.6; color: var(--f-text-2); max-width: 62ch; }
.hero-frame .caption, .caption { font-family: var(--font-f-label); font-size: var(--f-label-sm-size); font-weight: var(--f-label-sm-weight); letter-spacing: var(--f-label-sm-track); color: var(--f-text); background: color-mix(in oklch, var(--f-well) 90%, transparent); border: 1px solid var(--f-line); border-radius: var(--f-r-control); }
.article-body p, .article-body li, article.long p { font-size: var(--f-t-base); line-height: 1.75; color: var(--f-text-2); }
.article-body p.tell-title { font-family: var(--font-f-body); font-weight: 600; font-size: var(--f-t-base); color: var(--f-text); }
.article-body p.tell-title::before { content: ""; display: inline-block; width: 0.5em; height: 1px; margin-right: 0.5em; vertical-align: 0.3em; background: var(--f-light-1); box-shadow: none; }
.article-body p.has-runin > strong:first-child { color: var(--f-text); }
article.long .article-body h2:not(.cite-heading), .article-body h2 { font-family: var(--font-f-display); font-weight: var(--f-display-weight); font-size: var(--f-h2); line-height: 1.12; letter-spacing: -0.02em; color: var(--f-text); text-shadow: none; margin-top: var(--f-s-8); margin-bottom: var(--f-s-4); border: 0; }
.article-body h2:not(.cite-heading)::before { font-family: var(--font-f-label); font-weight: 600; color: var(--f-text-3); letter-spacing: 0; }
.article-body a, article.long a { color: var(--f-signal-hi); border-bottom: 0; text-decoration: underline 1px; text-decoration-color: color-mix(in oklch, var(--f-signal) 50%, transparent); text-underline-offset: 0.24em; }
.article-body a:hover, article.long a:hover { color: var(--f-text); text-decoration-color: var(--f-signal-hi); }
article.long a.btn { border-bottom: 0; text-decoration: none; }
article.long a.btn-primary, article.long a.btn-primary:hover { color: var(--f-well); }
article.long .article-nav__link { border-bottom: 0; text-decoration: none; }   /* the film, run down */
.article-body blockquote p { color: var(--f-text-2); }
.article-body blockquote.specimen { border: 1px solid var(--f-line); border-radius: var(--f-r-plate); box-shadow: var(--f-kerb); background: repeating-linear-gradient(0deg, color-mix(in oklch, var(--f-light-1) 3%, transparent) 0 1px, transparent 1px 4px), var(--f-plate-bg); padding: var(--f-pad-plate); color: var(--f-text); }
.article-body blockquote.specimen::after { display: none; }
.article-body blockquote.specimen p { color: var(--f-text); }
.article-body blockquote.specimen::before { font-family: var(--font-f-label); font-size: var(--f-label-sm-size); font-weight: var(--f-label-sm-weight); letter-spacing: var(--f-label-sm-track); color: var(--f-light-3); }
.article-body .article-chart { background: repeating-linear-gradient(90deg, color-mix(in oklch, var(--f-light-1) 2.2%, transparent) 0 1px, transparent 1px 4px), var(--f-plate-bg); border: 1px solid var(--f-line); border-radius: var(--f-r-plate); box-shadow: var(--f-kerb); padding: var(--f-pad-plate); }
.article-body .article-chart__title { font-family: var(--font-f-body); font-weight: var(--f-card-title-weight); font-size: var(--f-card-title); line-height: var(--f-card-title-lh); color: var(--f-text); }
.article-body .article-chart__sub, .article-body .article-chart__source, .article-body .article-chart__caption { color: var(--f-text-3); }
.article-body .article-chart :is(.article-chart__title, .article-chart__sub, .article-chart__source, .article-chart__caption), .hero-frame .caption { max-width: 62ch; }   /* a wide chart, a text measure */
.article-body .article-chart__grid { stroke: color-mix(in oklch, var(--f-line-2) 50%, transparent); stroke-dasharray: 1 4; }
.article-body .article-chart__line { filter: none; }   /* data is read, not lit: no glow on plotted lines */
.article-body .acb-track { background: color-mix(in oklch, var(--f-line) 45%, transparent); border: 0; border-radius: var(--f-r-plate); }
.article-body .acb-label { color: var(--f-text-2); }
.article-body .acb-val { font-family: var(--font-f-label); font-size: var(--f-label-sm-size); }
.article-body .acb-fs--muted, .acb-fs--muted { fill: var(--f-mute); background: var(--f-mute); }
.acb-val--muted { color: var(--f-text-3); }
.article-body .acp-seg--muted, .article-body .acp-key--muted .acp-key-label::before { stroke: var(--f-mute); }
.article-chart .article-chart__data > summary, .article-chart__data summary { font-family: var(--font-f-label); font-size: var(--f-label-sm-size); font-weight: var(--f-label-sm-weight); letter-spacing: var(--f-label-sm-track); text-transform: uppercase; color: var(--f-text-3); transition: color var(--f-t); }
.article-body .article-chart__data { border-top: 1px solid var(--f-line); }
.article-body .article-chart__data table { font-family: var(--font-f-label); }
.article-body .cite-ref a { color: var(--f-signal-hi); font-family: var(--font-f-label); text-decoration: none; }
.article-body a[data-cite] { border-radius: var(--f-r-control); }   /* the two radii */
.article-body h2.cite-heading { column-gap: var(--f-s-3); border-top: 1px solid var(--f-line); font-family: var(--font-f-label); font-size: var(--f-label-size); font-weight: var(--f-label-weight); letter-spacing: var(--f-label-track); text-transform: uppercase; color: var(--f-text); padding-top: var(--f-s-5); }
.article-body h2.cite-heading .cite-count { font-family: var(--font-f-label); font-size: var(--f-label-sm-size); font-weight: var(--f-label-sm-weight); letter-spacing: var(--f-label-sm-track); color: var(--f-text-3); }
.article-body ol.ref-list li { border-bottom: 1px solid color-mix(in oklch, var(--f-line) 50%, transparent); color: var(--f-text-2); padding-block: var(--f-s-3); }
.article-body ol.ref-list li::before { font-family: var(--font-f-label); font-size: var(--f-label-sm-size); font-weight: var(--f-label-sm-weight); color: var(--f-text-3); }   /* ref numbers: decoration */
.article-body ol.ref-list li:hover { background: color-mix(in oklch, var(--f-signal) 4%, transparent); }
.article-body ol.ref-list li a { color: var(--f-signal-hi); border-bottom: 0; }
.article-body ol.ref-list li:target { outline: 0; background: color-mix(in oklch, var(--f-signal) 8%, transparent); box-shadow: inset 0 0 0 1px color-mix(in oklch, var(--f-signal) 40%, transparent); }
article.long hr, hr { border: 0; height: 1px; background: var(--f-film-fade); opacity: 0.7; }
article.long hr::before { content: ""; }
.article-nav { border-top: 1px solid var(--f-line); gap: var(--f-s-4); }
.article-nav__link { border: 1px solid var(--f-line); border-radius: var(--f-r-plate); background: var(--f-plate-bg); box-shadow: var(--f-kerb); padding: var(--f-pad-plate); text-decoration: none; }
.article-nav__dir { font-family: var(--font-f-label); font-size: var(--f-label-sm-size); font-weight: var(--f-label-sm-weight); letter-spacing: var(--f-label-sm-track); text-transform: uppercase; color: var(--f-text-3); }
.article-nav__title { font-family: var(--font-f-body); font-weight: var(--f-card-title-weight); font-size: var(--f-card-title); line-height: var(--f-card-title-lh); color: var(--f-text); }
.comments__heading, .comment-form__title { font-family: var(--font-f-body); font-weight: var(--f-card-title-weight); font-size: var(--f-card-title); line-height: var(--f-card-title-lh); color: var(--f-text); }
.article-body > p:last-child:has(> em:only-child) em { font-style: italic; font-size: var(--f-t-md); color: var(--f-text-3); }
@keyframes ref-flash {
  0%   { background: color-mix(in oklch, var(--f-signal) 40%, transparent); box-shadow: inset 0 0 0 1px var(--f-signal); }
  30%  { background: color-mix(in oklch, var(--f-light-3) 14%, transparent); }
  45%  { background: color-mix(in oklch, var(--f-signal) 30%, transparent); }
  100% { background: color-mix(in oklch, var(--f-signal) 8%, transparent); box-shadow: none; }
}
/* == [HOME] "technology is art." beside the radial planned city — role: home ===================
   The home city (sixteen boulevards, a twelve-point bastion; right side, bleeding off the edge) in small
   blocks, lit like the map's Passion city; final.js paints it, runs the PULSE P5 sweep through it every
   4.8 s and cars along its streets; its left side fades into the sky. No-JS: the still [CITY] image in
   the bastion outline. Latest posts and the four pillars are surface plates ([PLATE]) with the film border. */
/* compact + medium shell: the copy on top, the city under it, centred and cut by the hero's bottom edge (the hero's
   bottom padding is the city's room: no text can sit on it); no left fade, the sparse traffic. Wide shell: the hero
   DIVIDES its width — the city (--f-city-w) takes the right part and bleeds off the edge, the copy keeps the rest (the
   shell's end padding reserves the city's box, so the lede and eyebrow never run under it), the left fade on. */
.hero-wrap {
  --f-city-w: min(110cqi, 32rem);
  position: relative; overflow: clip; border-bottom: 0;
  padding: var(--f-s-7) 0 clamp(15rem, 70cqi, 19rem);   /* bottom: room for the city (canvas geometry) */
  display: flex; flex-direction: column; justify-content: flex-start;
}
.hero-wrap > .public-shell { position: relative; z-index: 1; width: 100%; }
.hero-wrap::before,
.f-home-city {
  position: absolute; left: 50%; bottom: calc(-0.42 * var(--f-city-w));
  width: var(--f-city-w); aspect-ratio: 1;
  translate: -50% 0;
  pointer-events: none; z-index: 0;
}
.f-home-city { display: block; height: auto; --f-city-fade: 0; --f-traffic: sparse; }
.hero-wrap::before { content: ""; background: var(--f-radial-city-home); clip-path: var(--f-star-12); opacity: 0.6; }
@container shell (width >= 72rem) {
  .hero-wrap {
    --f-city-w: clamp(22rem, 48cqi, 76rem);
    padding: var(--f-hero-block) 0;
    min-height: max(min(calc(100svh - var(--header-h)), 50rem), calc(var(--f-city-w) * 0.86));
    justify-content: center;
  }
  .hero-wrap > .public-shell { padding-inline-end: calc(var(--f-city-w) * 0.92 + var(--f-s-6)); }
  .hero-wrap::before, .f-home-city { left: auto; right: calc(var(--f-city-w) * -0.08); top: 50%; bottom: auto; translate: 0 -50%; }   /* bleeds off the edge */
  .hero-wrap::before { background: linear-gradient(90deg, var(--f-sky) 0, transparent 32%), var(--f-radial-city-home); }
  .f-home-city { --f-city-fade: 0.5; --f-traffic: dense; }
}
.hero-wrap:has(> .f-home-city)::before { content: none; }
.hero-eyebrow-row { font-family: var(--font-f-label); font-size: var(--f-label-size); font-weight: var(--f-label-weight); letter-spacing: var(--f-label-track); text-transform: uppercase; color: var(--f-text-3); gap: var(--f-s-2) var(--f-s-3); margin-bottom: var(--f-s-5); }
.hero-eyebrow-row .sep { color: var(--f-line-2); }
@container shell (width < 40rem) {
  .hero-eyebrow-row .sep { display: none; }
  .hero-eyebrow-row { column-gap: var(--f-s-4); }
}   /* decorative "/": no line may start with one */
.hero-eyebrow-row > :first-child { color: var(--f-light-1); }
.hero-h1 { position: relative; font-family: var(--font-f-display); font-weight: var(--f-display-weight); font-size: var(--f-d1); line-height: 1.02; letter-spacing: -0.02em; color: var(--f-text); max-width: 11ch; text-shadow: none; }
.hero-h1 em { color: var(--f-film-2); font-style: normal; }   /* fallback: the film's frost */
@supports ((background-clip: text) or (-webkit-background-clip: text)) {
  .hero-h1 em { background: var(--f-film); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; padding-right: 0.04em; }
}
.hero-intro { font-size: var(--f-lede); line-height: 1.6; color: var(--f-text-2); max-width: 46ch; margin-top: var(--f-s-5); }
.hero-meta-strip { margin-top: var(--f-s-7); max-width: 34rem; border-top: 1px solid var(--f-line); border-bottom: 1px solid var(--f-line); background: var(--f-film-fade) top / 100% 1px no-repeat, color-mix(in oklch, var(--f-well) 90%, transparent); }
.hero-meta-strip > div { border-color: var(--f-line); padding-block: var(--f-s-4); }
.hero-meta-strip .k { font-family: var(--font-f-label); font-size: var(--f-label-sm-size); font-weight: var(--f-label-sm-weight); letter-spacing: var(--f-label-sm-track); color: var(--f-text-3); }
.hero-meta-strip .v { font-family: var(--font-f-body); font-weight: 600; font-size: var(--f-t-lg); color: var(--f-text); }
.hero-meta-strip .v .u { font-family: var(--font-f-label); font-size: var(--f-label-sm-size); font-weight: var(--f-label-sm-weight); letter-spacing: var(--f-label-sm-track); color: var(--f-text-2); text-transform: uppercase; }
.hero-meta-strip .v .u::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; margin-right: 0.4em; vertical-align: 0.12em; background: var(--f-signal-hi); box-shadow: var(--f-glow); }   /* the live dot carries the signal */
.hero-meta-strip .v .u::before { animation: profile-blink var(--f-live-period) steps(1, end) infinite; }
.latest-wrap { position: relative; overflow-x: clip; border-bottom: 0; padding-block: var(--f-section); }
.workshop-wrap { padding-block: var(--f-section); }
.section-head { margin-bottom: var(--f-s-6); align-items: flex-end; }
.section-kicker { font-family: var(--font-f-label); font-size: var(--f-label-size); font-weight: var(--f-label-weight); letter-spacing: var(--f-label-track); text-transform: uppercase; color: var(--f-light-3); }
.section-head h2 { font-family: var(--font-f-display); font-weight: var(--f-display-weight); font-size: var(--f-h2); line-height: 1.12; letter-spacing: -0.02em; color: var(--f-text); text-shadow: none; margin-top: var(--f-s-2); }
.section-head p { font-size: var(--f-t-lg); line-height: 1.65; color: var(--f-text-2); margin-top: var(--f-s-2); max-width: 52ch; }   /* = .profile-section__lede (one section-lede role) */
.section-head .right { font-family: var(--font-f-label); font-size: var(--f-label-size); font-weight: var(--f-label-weight); letter-spacing: var(--f-label-track); }
.section-head .right a { color: var(--f-signal-hi); }
.section-head .right a:hover { color: var(--f-text); }
/* the posts: auto-fit columns of ≥ 20rem — but only a column count that divides the six posts (1, 2, 3, then 6):
   until six fit, a column is at least a quarter of the row (+1 px), so a fourth never opens; --f-post-6 is 0 once six
   columns fit and the full row otherwise (a step built from clamp(), no breakpoint) */
.latest-grid {
  --f-post-min: 20rem;
  --f-post-6: clamp(0px, (6 * var(--f-post-min) + 5 * var(--f-s-5) - 100%) * 1000, 100%);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, max(var(--f-post-min), min(25% + 1px, var(--f-post-min) + var(--f-post-6)))), 1fr));
  gap: var(--f-s-5);
}
.post { position: relative; gap: var(--f-s-3); padding: var(--f-pad-plate); border: 1px solid color-mix(in oklch, var(--f-line-2) 80%, transparent); border-radius: var(--f-r-plate); background: var(--f-plate-bg); box-shadow: var(--f-kerb), 0 30px 60px -40px color-mix(in oklch, var(--f-shade) 95%, transparent); }
.post::before {
  content: ""; position: absolute; left: 10px; right: 10px; top: 7px; height: 5px;
  background: radial-gradient(circle, color-mix(in oklch, var(--f-light-3) 60%, transparent) 0 0.8px, transparent 1.2px) 0 0 / 5px 5px repeat-x;
  -webkit-mask-image: linear-gradient(90deg, var(--f-shade) 0 22%, transparent 22% 26%, var(--f-shade) 26% 58%, transparent 58% 62%, var(--f-shade) 62%);
  mask-image: linear-gradient(90deg, var(--f-shade) 0 22%, transparent 22% 26%, var(--f-shade) 26% 58%, transparent 58% 62%, var(--f-shade) 62%);
  pointer-events: none;
}
.post-cover { border: 1px solid var(--f-line); border-radius: var(--f-r-plate); margin-bottom: var(--f-s-1); background: var(--f-surface); transition: border-color var(--f-t); }
.post:hover .post-cover { border-color: color-mix(in oklch, var(--f-signal) 50%, transparent); }
.post .date-row { font-family: var(--font-f-label); font-size: var(--f-label-sm-size); font-weight: var(--f-label-sm-weight); letter-spacing: var(--f-label-sm-track); color: var(--f-text-3); }
.post .date-row .day { color: var(--f-light-3); font-weight: 600; }
.post h3 { font-family: var(--font-f-body); font-weight: var(--f-card-title-weight); font-size: var(--f-card-title); line-height: var(--f-card-title-lh); letter-spacing: -0.01em; color: var(--f-text); transition: color var(--f-t); }
.post:hover h3 { color: var(--f-signal-hi); }
.post p { font-size: var(--f-card-sub); line-height: 1.6; color: var(--f-text-2); }
.post .foot { font-family: var(--font-f-label); font-size: var(--f-label-sm-size); font-weight: var(--f-label-sm-weight); letter-spacing: var(--f-label-sm-track); text-transform: uppercase; color: var(--f-text-3); border-top: 1px dashed color-mix(in oklch, var(--f-line-2) 60%, transparent); padding-top: var(--f-s-3); }
/* the card names the piece and nothing more (operator 2026-11-21): cover, date + category, title — no excerpt, no
   footer (its category repeats the badge). The title takes the excerpt's place at the foot of the plate. */
.latest-grid .post > p, .latest-grid .post > .foot { display: none; }
.latest-grid .post { display: flex; flex-direction: column; }
.latest-grid .post h3 { margin-bottom: 0; text-wrap: balance; }
/* the four pillars are categories: ONE light (the key light, platinum); their dot districts tell them apart */
.p-article, .p-prompt, .p-tool, .p-skill { color: var(--f-light-1); }
.pillars { position: relative; border: 0; border-radius: 0; overflow: visible; gap: var(--f-s-5); padding-top: var(--f-s-5); }
.pillars::before { content: ""; position: absolute; left: 0; right: 0; top: var(--f-s-2); height: 1px; background: var(--f-film-fade); opacity: 0.7; pointer-events: none; }
.pillar { border: 1px solid color-mix(in oklch, var(--f-line-2) 80%, transparent); border-radius: var(--f-r-plate); background: var(--f-plate-bg); padding: calc(var(--f-pad-plate) * 4) var(--f-pad-plate) var(--f-pad-plate); overflow: visible; min-height: 15rem; box-shadow: var(--f-kerb); }
.pillar:last-child { border-right: 1px solid color-mix(in oklch, var(--f-line-2) 80%, transparent); }
.pillar::before {   /* the district: standard-cell rows of lit dots, cut by avenues — each pillar its own grain */
  left: 8px; right: 8px; top: 8px; width: auto; height: 3.4rem; margin: 0;
  background:
    linear-gradient(90deg, transparent 0 34%, var(--f-surface) 34% calc(34% + 5px), transparent 0 71%, var(--f-surface) 71% calc(71% + 5px), transparent 0),
    linear-gradient(transparent 0 46%, var(--f-surface) 46% calc(46% + 4px), transparent 0),
    radial-gradient(circle, currentColor 0 0.75px, transparent 1.15px) 0 0 / 4px 4px;
  opacity: 0.55; border: 0; rotate: none;
  box-shadow: inset 0 0 0 1px color-mix(in oklch, var(--f-line-2) 40%, transparent);
  transform-origin: 50% 50%;
}
.pillar.p-prompt::before { background-size: auto, auto, 7px 4px; }   /* long rows */
.pillar.p-tool::before { background-size: auto, auto, 4px 7px; }     /* tall columns */
.pillar.p-skill::before { background-size: auto, auto, 7px 7px; opacity: 0.45; }   /* a sparse grid */
.pillar::after { content: ""; position: absolute; left: 50%; top: calc(var(--f-s-2) - var(--f-s-5) - 3px); width: 7px; height: 7px; margin-left: -3.5px; border-radius: 50%; border: 1px solid currentColor; background: var(--f-well); pointer-events: none; }
.pillar .p-label { font-family: var(--font-f-label); font-size: var(--f-label-size); font-weight: var(--f-label-weight); letter-spacing: var(--f-label-track); }
.pillar .p-count { font-family: var(--font-f-body); font-weight: 600; color: var(--f-text); }
/* a card title like every other: prod pins .p-title's size, weight, tracking and leading with !important (on
   .p-title), so this equal-weight !important (on the more specific .pillar .p-title) is the only way back to
   the token — it carries no value of its own */
.pillar .p-title { font-family: var(--font-f-body); font-weight: var(--f-card-title-weight) !important; font-size: var(--f-card-title) !important; line-height: var(--f-card-title-lh) !important; letter-spacing: -0.01em !important; color: var(--f-text); }
.pillar .p-desc { font-size: var(--f-card-sub); line-height: 1.55; color: var(--f-text-2); }
.pillar .p-foot { font-family: var(--font-f-label); font-size: var(--f-label-sm-size); font-weight: var(--f-label-sm-weight); letter-spacing: var(--f-label-sm-track); color: var(--f-text-3); border-top: 1px dashed color-mix(in oklch, var(--f-line-2) 60%, transparent); padding-top: var(--f-s-3); }
/* the pillars by shell tier: four on the bus (wide), two (medium; only the first row hangs from the bus), one down a
   vertical bus (compact) */
.pillars { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.pillar, .pillar:nth-child(2), .pillar:last-child { border: 1px solid color-mix(in oklch, var(--f-line-2) 80%, transparent); }
@container shell (width < 72rem) {
  .pillars { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pillar:nth-child(n+3)::after { display: none; }
}
@container shell (width < 40rem) {
  .pillars { grid-template-columns: minmax(0, 1fr); gap: var(--f-s-5); }
  .pillars::before { left: 50%; right: auto; top: 0; bottom: 0; width: 1px; height: auto; background: color-mix(in oklch, var(--f-mute) 50%, transparent); }
  .pillar::after { display: none; }
  .pillar { min-height: 0; }
}
.section-head { flex-wrap: wrap; }
/* == [MOCHI] the /mochi/ persona page (Mochi Nguyen) on the FINAL system — role: persona ==========
   Prod's own components (.mochi-*, .mx__*) restyled onto the roles; no new colour, radius, font or glow role.
   Hero: the profile hero's radial city stands in the avatar cell (final.js [HOME] HEROES) and her dango module —
   three flat discs on a skewer, the top one lit (the signal: emissive, on the beat) — stands on its plaza.
   Sections: the profile's side headings ([SECTIONS]), the avenue sweep ([C17]). Panels are [PLATE] panels
   (hairline rim, kerb, film-fade top line, no hover); the mode tabs are boxed controls ([STATE]); the checked
   tab is the current one (signal). Prod's mode / voice / lore hues (data hues) give way to the light ramp:
   categories are platinum / frost / ice, never the data set. The terminal's window dots are cool: one live dot. */
.mochi__sky { display: none; }   /* the universe canvas ([SKY C8/C9]) is the sky */
.mochi__shell { padding-inline: var(--f-gutter); }
.mochi { --mode-accent: var(--f-signal); color: var(--f-text-2); }
.mochi-hero, .mochi-sec { position: relative; overflow-x: clip; }
.mochi-hero::after, .mochi-sec:not(.mochi-contact)::after { content: ""; position: absolute; left: 0; width: 400%; will-change: transform; }
.mochi-hero { padding-block: var(--f-hero-block); gap: var(--f-s-6); grid-template-columns: minmax(0, 1fr); align-items: center; isolation: isolate; }
.mochi-hero > .f-home-city { display: none; }
.mochi-hero__avatar { order: -1; justify-items: start; }
.mochi-node { width: clamp(4.5rem, 18cqi, 6.5rem); }
@container shell (width >= 40rem) {   /* medium: the copy, the module beside it */
  .mochi-hero { grid-template-columns: minmax(0, 1fr) auto; min-height: min(76svh, 46rem); }
  .mochi-hero__avatar { order: 0; justify-items: center; }
  .mochi-node { width: clamp(7rem, 16cqi, 9rem); }
}
@container shell (width >= 72rem) {   /* wide: a SATELLITE CITY — hers, beside the metropolis (final.js [SATELLITE]) */
  .mochi-hero {
    --f-sat-w: min(40cqi, 36rem);   /* the canvas: a full-height panel down the hero's right side */
    --f-sat-x: 0.4; --f-sat-y: 0.62;   /* her plaza, as fractions of that panel — final.js reads the same tokens */
    grid-template-columns: minmax(0, 1fr) min(36cqi, 32rem);
  }
  .mochi-hero > .f-home-city { position: absolute; right: 0; top: 0; translate: none; width: var(--f-sat-w); height: 100%; pointer-events: none; z-index: -1; display: block; }
  .mochi-hero__avatar { position: absolute; right: 0; top: 0; width: var(--f-sat-w); height: 100%; display: block; z-index: 0; pointer-events: none; }
  .mochi-node { position: absolute; left: calc(var(--f-sat-x) * 100%); top: calc(var(--f-sat-y) * 100%); translate: -50% -50%; width: min(5.6cqi, 5.25rem); }
  .mochi-hero::before {   /* no-JS still: her radial city where the satellite stands */
    content: ""; position: absolute; pointer-events: none; z-index: -1;
    width: calc(var(--f-sat-w) * 0.56); aspect-ratio: 1;
    right: calc(var(--f-sat-w) * (1 - var(--f-sat-x)) - var(--f-sat-w) * 0.28); top: calc(var(--f-sat-y) * 100%); translate: 0 -50%;
    background: var(--f-radial-city); clip-path: var(--f-star); opacity: 0.6;
  }
  .mochi-hero:has(> .f-home-city)::before { content: none; }
}
/* the dango module: flat discs cut into the ground (wells) with a platinum rim; the top disc is lit */
.mochi-node__svg { overflow: visible; }
.mochi-node__skewer { stroke: var(--f-line-2); }
.mochi-node__ring { fill: var(--f-well); stroke: var(--f-light-1); }
.mochi-node__dot { fill: var(--f-light-1); }
.mochi-node__live { fill: color-mix(in oklab, var(--f-signal) 22%, var(--f-well)); stroke: var(--f-signal-hi); stroke-width: 2.5; filter: drop-shadow(var(--f-glow)); }   /* lit, not filled: the signal is the rim */
.mochi-node__pulse { stroke: var(--f-signal-hi); }
.mochi-hero__kind {
  font-family: var(--font-f-label); font-size: var(--f-label-size); font-weight: var(--f-label-weight);
  letter-spacing: var(--f-label-track); text-transform: uppercase; color: var(--f-text-3);
  display: flex; align-items: center; gap: var(--f-s-3); margin: 0 0 var(--f-s-5);
}
.mochi-hero__glyph { color: var(--f-light-1); flex: none; }
.mochi-hero__name {
  font-family: var(--font-f-display); font-weight: var(--f-display-weight); font-size: var(--f-d1);
  line-height: 1.02; letter-spacing: -0.02em; color: var(--f-text); text-shadow: none;
  margin: 0 0 var(--f-s-5); text-wrap: balance;
}
.mochi-hero__cursor {   /* a lit via, as on the profile name */
  display: inline-block; width: 0.06em; min-width: 3px; height: 0.78em;
  margin-left: 0.12em; vertical-align: -0.04em; font-weight: inherit;
  background: var(--f-signal-hi); color: transparent; box-shadow: var(--f-glow);
  overflow: hidden; border-radius: var(--f-r-control);
}
.mochi-hero__tagline { font-family: var(--font-f-body); font-size: var(--f-lede); font-weight: 400; line-height: 1.6; letter-spacing: 0; color: var(--f-text-2); max-width: 34ch; margin: 0 0 var(--f-s-3); }   /* = .profile-hero__thesis / .hero-intro (the lede: 1.6) */
.mochi-hero__selfdef { font-family: var(--font-f-label); font-size: var(--f-label-sm-size); font-weight: var(--f-label-sm-weight); letter-spacing: var(--f-label-sm-track); text-transform: uppercase; color: var(--f-text-3); margin: 0 0 var(--f-s-5); }
.mochi-hero__mode {
  display: inline-flex; align-items: center; gap: var(--f-s-2); flex-wrap: wrap;
  padding: var(--f-pad-control); margin: 0 0 var(--f-s-4);
  background: var(--f-well); border: 1px solid var(--f-line-2); border-radius: var(--f-r-control);
  font-family: var(--font-f-label); font-size: var(--f-label-sm-size); font-weight: var(--f-label-sm-weight); letter-spacing: var(--f-label-sm-track);
}
.mochi-hero__mode-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--f-signal-hi); box-shadow: var(--f-glow); }   /* a live dot */
.mochi-hero__mode-key { color: var(--f-text-3); text-transform: uppercase; font-size: inherit; letter-spacing: inherit; }
.mochi-hero__mode-val { color: var(--f-light-1); font-weight: inherit; letter-spacing: 0.02em; transition: opacity var(--f-t) var(--f-ease); }
.mochi-words { gap: var(--f-s-2); margin: 0 0 var(--f-s-6); }
.mochi-words__chip {
  font-family: var(--font-f-label); font-size: var(--f-label-sm-size); font-weight: var(--f-label-sm-weight); letter-spacing: var(--f-label-sm-track); text-transform: uppercase;
  color: var(--f-text-2); background: var(--f-well); border: 1px solid var(--f-line); border-radius: var(--f-r-control); padding: var(--f-s-1) var(--f-s-2);
}
.mochi-hero__cta, .mochi-contact__links { gap: var(--f-s-3); }
.mochi-btn {
  font-family: var(--font-f-label); font-size: var(--f-label-size); font-weight: var(--f-label-weight); letter-spacing: var(--f-label-track); text-transform: uppercase;
  padding: var(--f-pad-control); min-height: 0; min-block-size: var(--f-target); line-height: 1; color: var(--f-text);
  background: var(--f-surface); border: 1px solid var(--f-line-2); border-radius: var(--f-r-control); box-shadow: none;
  transition: background-color var(--f-t), color var(--f-t), border-color var(--f-t);
}
.mochi-btn:hover { transform: none; }
.mochi-btn--primary { background: var(--f-signal); color: var(--f-well); border-color: var(--f-signal); }
.mochi-btn--primary .icon { color: currentColor; }
.mochi-btn__face--default, .mochi-btn__face--copied { color: inherit; text-decoration: none; }
.mochi-btn__face--default:hover { color: inherit; text-decoration: none; }
.mochi-btn.is-copied { color: var(--f-light-1); }   /* success is platinum */
.mochi-btn:focus-visible { outline: 2px solid var(--f-signal-hi); outline-offset: 3px; }
/* identity: one panel of readout cells on hairline seams */
.mochi-id { padding-block: 0 var(--f-s-6); border-top: 0; }
.mochi-id__grid {
  position: relative; gap: 1px; background: var(--f-line); border: 1px solid var(--f-line); border-radius: var(--f-r-plate);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 11rem), 1fr)); box-shadow: 0 30px 60px -40px color-mix(in oklch, var(--f-shade) 95%, transparent);
}
.mochi-id__grid::before { content: ""; position: absolute; left: 12px; right: 12px; top: -1px; height: 1px; background: var(--f-film-fade); opacity: 0.7; }
.mochi-id__cell { background: var(--f-plate-bg); padding: var(--f-pad-plate); }
.mochi-id__k { font-family: var(--font-f-label); font-size: var(--f-label-sm-size); font-weight: var(--f-label-sm-weight); letter-spacing: var(--f-label-sm-track); text-transform: uppercase; color: var(--f-text-3); margin: 0 0 var(--f-s-2); }
.mochi-id__v { font-family: var(--font-f-body); font-size: var(--f-card-title); font-weight: var(--f-card-title-weight); line-height: var(--f-card-title-lh); letter-spacing: -0.01em; color: var(--f-text); }
.mochi-id__handle, .mochi-contact__home-link { color: var(--f-signal-hi); text-decoration: underline 1px; text-decoration-color: color-mix(in oklch, var(--f-signal) 50%, transparent); text-underline-offset: 0.2em; }
.mochi-id__handle:hover, .mochi-contact__home-link:hover { text-decoration-color: var(--f-signal-hi); }
.mochi-id__handle { padding-block: 0; }
/* sections: the profile's side heading */
.mochi-sec { padding-block: var(--f-section); border-top: 0; }
.mochi-sec__head { max-width: none; margin-bottom: var(--f-s-6); }
.mochi-sec__title, .mochi-contact__title {
  font-family: var(--font-f-display); font-weight: var(--f-display-weight); font-size: var(--f-h2);
  line-height: 1.12; letter-spacing: -0.02em; color: var(--f-text); margin: 0 0 var(--f-s-3); text-wrap: balance;
}
.mochi-sec__lede { font-size: var(--f-t-lg); line-height: 1.65; color: var(--f-text-2); max-width: 62ch; }   /* = .profile-section__lede */
@container shell (width >= 72rem) {
  .mochi-sec:not(.mochi-contact) { display: grid; grid-template-columns: minmax(20rem, 3fr) 9fr; column-gap: var(--f-gutter); align-items: start; }
  .mochi-sec:not(.mochi-contact) > * { grid-column: 2; min-width: 0; }
  .mochi-sec:not(.mochi-contact) > .mochi-sec__head { grid-column: 1; grid-row: 1 / span 6; position: sticky; top: calc(var(--header-h, 56px) + var(--f-s-7)); margin: 0; }
}
/* mode tabs: boxed controls; the checked tab is the current one */
.mx__tabs { gap: var(--f-s-2); margin-bottom: var(--f-s-5); }
.mx__tab {
  font-family: var(--font-f-label); font-size: var(--f-label-size); font-weight: var(--f-label-weight); letter-spacing: var(--f-label-track); text-transform: uppercase;
  padding: var(--f-pad-control); gap: var(--f-s-2); color: var(--f-text-3);
  background: var(--f-surface); border: 1px solid var(--f-line-2); border-radius: var(--f-r-control);
  transition: background-color var(--f-t), color var(--f-t), border-color var(--f-t), box-shadow var(--f-t);
}
.mx__tab-glyph { color: var(--f-light-1); }
.mx__tab:hover { transform: none; color: var(--f-signal-hi); border-color: var(--f-signal); background: var(--f-raised); }
:is(#mx-technical:checked ~ .mx__tabs [for=mx-technical], #mx-cute:checked ~ .mx__tabs [for=mx-cute], #mx-roast:checked ~ .mx__tabs [for=mx-roast]) {
  color: var(--f-signal-hi); background: var(--f-raised); border-color: var(--f-signal); box-shadow: inset 0 -2px 0 var(--f-signal);
}
:is(#mx-technical:checked ~ .mx__tabs [for=mx-technical], #mx-cute:checked ~ .mx__tabs [for=mx-cute], #mx-roast:checked ~ .mx__tabs [for=mx-roast]) .mx__tab-glyph { color: var(--f-signal-hi); }
:is(#mx-technical:focus-visible ~ .mx__tabs [for=mx-technical], #mx-cute:focus-visible ~ .mx__tabs [for=mx-cute], #mx-roast:focus-visible ~ .mx__tabs [for=mx-roast]) { outline: 2px solid var(--f-signal-hi); outline-offset: 3px; }
/* panels ([PLATE] panel: hairline rim, kerb, film-fade top line, the faint vertical raster) */
:where(.mx__panel, .mochi-voice__item, .mochi-lore__beat, .mochi-term) {
  --f-kerb: inset 0 0 0 calc(var(--f-kerb-w) - 1px) var(--f-plate-bg), inset 0 0 0 var(--f-kerb-w) var(--f-kerb-c);
}
.mx__panel, .mochi-voice__item, .mochi-lore__beat {
  position: relative; border: 1px solid var(--f-line); border-radius: var(--f-r-plate);
  background: var(--f-plate-bg); box-shadow: var(--f-kerb), 0 30px 60px -40px color-mix(in oklch, var(--f-shade) 95%, transparent);
  padding: var(--f-pad-plate);
}
.mx__panel::before, .mochi-voice__item::before, .mochi-lore__beat::before { content: ""; position: absolute; left: 12px; right: 12px; top: -1px; height: 1px; background: var(--f-film-fade); opacity: 0.7; }
.mx__panel { background: repeating-linear-gradient(90deg, color-mix(in oklch, var(--f-light-1) 3%, transparent) 0 1px, transparent 1px 4px), var(--f-plate-bg); padding: var(--f-s-6); }
.mx__panel-head { gap: var(--f-s-4); margin-bottom: var(--f-s-4); }
.mx__panel-glyph, .mochi-lore__glyph {
  display: grid; place-items: center; flex: none;
  width: 1.9rem; height: 1.9rem; font-size: var(--f-t-md);
  color: var(--f-light-1); background: var(--f-well); border: 1px solid var(--f-line-2); border-radius: var(--f-r-control); box-shadow: none;
}
.mx__panel-title { font-family: var(--font-f-body); font-size: var(--f-t-lg); font-weight: var(--f-card-title-weight); line-height: var(--f-card-title-lh); letter-spacing: -0.01em; color: var(--f-text); }
.mx__panel-trigger { font-family: var(--font-f-label); font-size: var(--f-label-sm-size); font-weight: var(--f-label-sm-weight); letter-spacing: var(--f-label-sm-track); text-transform: uppercase; color: var(--f-light-3); margin: var(--f-s-1) 0 0; }
.mx__panel-blurb { font-size: var(--f-t-base); line-height: 1.72; color: var(--f-text-2); max-width: 62ch; margin: 0 0 var(--f-s-5); }
.mx__samples { gap: var(--f-s-2); }
.mx__sample {
  position: relative; font-size: var(--f-t-base); line-height: 1.6; color: var(--f-text);
  background: var(--f-well); border: 1px solid var(--f-line); border-radius: var(--f-r-control);
  padding: var(--f-s-3) var(--f-s-4) var(--f-s-3) var(--f-s-6); max-width: 68ch;
}
.mx__sample-mark { left: var(--f-s-3); top: var(--f-s-2); font-size: var(--f-t-lg); line-height: 1; color: var(--f-light-1); }
/* four voices / four lore beats: 1, 2 or 4 columns — the posts' step, never 3 + 1 */
.mochi-voice__list, .mochi-lore__grid {
  --f-four-min: 17rem;
  --f-four: clamp(0px, (4 * var(--f-four-min) + 3 * var(--f-s-4) - 100%) * 1000, 100%);
  gap: var(--f-s-4);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, max(var(--f-four-min), min(33.4%, var(--f-four-min) + var(--f-four)))), 1fr));
}
.mochi-voice__item { border-top: 1px solid var(--f-line); display: flex; flex-direction: column; gap: var(--f-s-3); }
.mochi-voice__item--vi { --voice-hue: var(--f-light-1); }   /* Tiếng Việt: platinum */
.mochi-voice__item--en { --voice-hue: var(--f-light-3); }   /* English: ice */
.mochi-voice__text { font-size: var(--f-t-lg); line-height: 1.45; color: var(--f-text); margin: 0; }
.mochi-voice__item--vi .mochi-voice__text { font-style: normal; }   /* no synthesised italic: the badge carries the language */
.mochi-voice__meta { margin-top: auto; gap: var(--f-s-2) var(--f-s-3); }
.mochi-voice__lang {   /* a badge: well, line-2, platinum / ice dot */
  display: inline-flex; align-items: center; gap: var(--f-s-2);
  font-family: var(--font-f-label); font-size: var(--f-label-sm-size); font-weight: var(--f-label-sm-weight); letter-spacing: var(--f-label-sm-track); text-transform: uppercase;
  color: var(--f-light-1); background: var(--f-well); border: 1px solid var(--f-line-2); border-radius: var(--f-r-control); padding: var(--f-s-1) var(--f-s-2);
}
.mochi-voice__lang::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--voice-hue); }
.mochi-voice__gloss { font-size: var(--f-t-md); color: var(--f-text-3); }
.mochi-lore__beat { padding: var(--f-pad-plate); transition: none; display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: var(--f-s-2); align-content: start; align-items: center; }
.mochi-lore__beat > .mochi-lore__body { grid-column: 1 / -1; margin-top: var(--f-s-2); }   /* the head row = .spec__head */
.mochi-lore__beat:hover { border-color: var(--f-line); }   /* a panel, not a link: no hover */
.mochi-lore__beat:nth-child(4n+1) .mochi-lore__glyph { color: var(--f-light-1); }
.mochi-lore__beat:nth-child(4n+2) .mochi-lore__glyph { color: var(--f-light-3); }
.mochi-lore__beat:nth-child(4n+3) .mochi-lore__glyph { color: var(--f-light-2); }
.mochi-lore__beat:nth-child(4n+4) .mochi-lore__glyph { color: var(--f-light-1); }
.mochi-lore__glyph { margin: 0; }
.mochi-lore__title { font-family: var(--font-f-body); font-size: var(--f-card-title); font-weight: var(--f-card-title-weight); line-height: var(--f-card-title-lh); letter-spacing: -0.01em; color: var(--f-text); margin: 0; }
.mochi-lore__body { font-size: var(--f-card-sub); line-height: 1.55; color: var(--f-text-2); }   /* = .pillar .p-desc */
/* the runtime: a well panel; the window dots are cool, the first one live */
.mochi-term {
  --f-plate-bg: var(--f-well);
  max-width: 48rem; border: 1px solid var(--f-line-2); border-radius: var(--f-r-plate);
  box-shadow: var(--f-kerb), 0 30px 60px -34px color-mix(in oklch, var(--f-shade) 95%, transparent);
}
.mochi-term__bar { gap: var(--f-s-2); padding: var(--f-s-3) var(--f-s-4); background: var(--f-surface); border-bottom: 1px solid var(--f-line); }
.mochi-term__dot { width: 8px; height: 8px; background: transparent; border: 1px solid var(--f-line-2); }
.mochi-term__dot:first-child { background: var(--f-signal-hi); border-color: var(--f-signal-hi); box-shadow: var(--f-glow); }
.mochi-term__path { font-family: var(--font-f-label); font-size: var(--f-label-sm-size); font-weight: 500; letter-spacing: 0.02em; color: var(--f-text-3); margin-left: var(--f-s-2); }
.mochi-term__body { padding: var(--f-pad-plate); background: var(--f-well); gap: var(--f-s-3); }
.mochi-term__row { grid-template-columns: 8rem minmax(0, 1fr); gap: var(--f-s-4); }
@container shell (width < 40rem) {
  .mochi-term__row { grid-template-columns: minmax(0, 1fr); gap: var(--f-s-1); }
}
.mochi-term__k { font-family: var(--font-f-label); font-size: var(--f-label-sm-size); font-weight: var(--f-label-sm-weight); letter-spacing: var(--f-label-sm-track); text-transform: uppercase; color: var(--f-light-3); }
.mochi-term__k::before { color: var(--f-text-3); }
.mochi-term__v { font-family: var(--font-f-label); font-size: var(--f-t-md); font-weight: 400; color: var(--f-text-2); }
/* contact */
.mochi-contact { border-top: 0; text-align: center; }
.mochi-contact__glyph { font-size: var(--f-h2); color: var(--f-light-1); margin: 0 0 var(--f-s-3); }
.mochi-contact__sub { font-size: var(--f-t-lg); line-height: 1.6; color: var(--f-text-2); max-width: 46ch; margin: 0 auto var(--f-s-6); }
.mochi-contact__home { font-family: var(--font-f-label); font-size: var(--f-label-sm-size); font-weight: var(--f-label-sm-weight); letter-spacing: var(--f-label-sm-track); text-transform: uppercase; color: var(--f-text-3); margin: var(--f-s-7) 0 0; }
/* motion: the beat, the blink, the one entrance */
.mochi-hero__cursor { animation: profile-blink var(--f-blink-period) steps(1, end) infinite; }
.mochi-hero__mode-dot, .mochi-term__dot:first-child { animation: profile-blink var(--f-live-period) steps(1, end) infinite; }
.mochi-node__pulse { animation: mochi-node-pulse var(--f-pulse-period) var(--f-ease) infinite; transform-box: fill-box; transform-origin: 50%; }
.mx__panel { animation: f-power-on var(--f-power-dur) steps(7, end) both; }
[data-reveal].is-revealed :is(.mochi-sec__title, .mochi-contact__title) { animation: reveal-chroma var(--f-power-dur) steps(7, end) calc(var(--f-stagger) * 2) both; }
.mochi-hero > div:first-child > * { animation: f-power-on var(--f-power-dur) steps(7, end) both; }
.mochi-hero > div:first-child > :nth-child(2) { animation-delay: calc(var(--f-stagger) * 1); }
.mochi-hero > div:first-child > :nth-child(3) { animation-delay: calc(var(--f-stagger) * 2); }
.mochi-hero > div:first-child > :nth-child(n+4) { animation-delay: calc(var(--f-stagger) * 3); }
.mochi-hero > div:first-child > .mochi-hero__name.holo-glitch { animation: none; }
:is(.mochi-hero__cursor, .mochi-node__pulse, .mochi-hero__mode-dot, .mochi-term__dot:first-child).is-offscreen,
.mochi-hero.is-offscreen :is(.mochi-hero__cursor, .mochi-node__pulse, .mochi-hero__mode-dot),
.mochi-sec.is-offscreen .mochi-term__dot:first-child { animation-play-state: paused; }
/* == [STATE] ONE hover / focus dialect for controls — role: signal ==================================
   Hover and keyboard focus look the same. Controls with a box: signal-hi text, a signal rim, the raised
   ground. Text controls (no box of their own): the signal-hi text alone. Primary actions (filled with the
   signal): the brighter signal-hi fill — a raised ground would read as disabled. Cards: the film at full
   ([FILM CARD]). Fields: one ring on the field's own box (the search box's container, the comment field),
   no outline inside it. Focus always adds the global 2 px signal-hi outline ([BASE]). */
:is(.btn:not(.btn-primary), .share-btn, .copy-email, .detail__close, .proof):is(:hover, :focus-visible) { color: var(--f-signal-hi); border-color: var(--f-signal); background: var(--f-raised); }
:is(.toc-details__summary, .comments__summary, .heading-permalink, .detail__back, .article-chart__data summary, .section-rail__link):is(:hover, :focus-visible) { color: var(--f-signal-hi); }
:is(.btn-primary, .comment-form__submit):is(:hover, :focus-visible) { background: var(--f-signal-hi); color: var(--f-well); border-color: var(--f-signal-hi); }
:is(.input-group, .comment-form, .public-header) :is(input, textarea):focus-visible { outline: 0; }
.input-group:has(:focus-visible),
.comment-form :is(input, textarea):focus-visible { border-color: var(--f-signal); box-shadow: 0 0 0 1px color-mix(in oklch, var(--f-signal) 30%, transparent); }
/* == [FILM CARD] the interactive card border — role: film =====================================
   ONE rule for every clickable card — home posts + pillars, map plates, capture shots, article nav,
   dialog connections: its 1 px border is drawn in the film (border-image, so it never takes a pseudo-
   element the card already uses; the film's stop order). At rest the film shows at 35 % (--f-film-k);
   hover / focus-visible, and a map plate that is linked / active, take it to full strength while the
   gradient's angle drifts slowly (--f-film-angle, one turn per --f-film-period); a hovered / focused / .is-active
   plate rises to --f-raised and its kerb ring ([PLATE]) turns signal, while a .is-linked map plate keeps --f-surface
   with a key-light kerb. No glow. */
:is(.post, .pillar, .pmap--hero .pmap__node:not(.pmap__node--hub), .shot__frame, .article-nav__link, .detail__conn, .case__shot img) {
  border-style: solid; border-width: 1px;
  border-image: linear-gradient(var(--f-film-angle), color-mix(in oklch, var(--f-film-1) calc(var(--f-film-k) * 100%), transparent), color-mix(in oklch, var(--f-film-2) calc(var(--f-film-k) * 100%), transparent) 50%, color-mix(in oklch, var(--f-film-3) calc(var(--f-film-k) * 100%), transparent)) 1;
  transition: --f-film-k var(--f-t), background-color var(--f-t), box-shadow var(--f-t);
}
:is(.post, .pillar, .pmap--hero .pmap__node:not(.pmap__node--hub), .article-nav__link, .detail__conn):is(:hover, :focus-visible),
.shot:is(:hover, :focus-visible) .shot__frame, .case__shot img:hover,
.pmap--hero .pmap__node:not(.pmap__node--hub):is(.is-active, .is-linked) { --f-film-k: 1; }
:is(.post, .pillar, .pmap--hero .pmap__node--project:not(.pmap__node--hub), .article-nav__link, .detail__conn):is(:hover, :focus-visible),
.shot:is(:hover, :focus-visible) .shot__frame,
.pmap--hero .pmap__node--project:not(.pmap__node--hub).is-active { --f-plate-bg: var(--f-raised); --f-kerb-c: var(--f-kerb-hot); }
@keyframes f-film-drift { from { --f-film-angle: 100deg; } to { --f-film-angle: 460deg; } }
:is(.post, .pillar, .article-nav__link, .detail__conn):is(:hover, :focus-visible),
.shot:is(:hover, :focus-visible) .shot__frame,
.pmap--hero .pmap__node:not(.pmap__node--hub):is(:hover, :focus-visible, .is-active, .is-linked) { animation: f-film-drift var(--f-film-period) linear infinite; }
/* cards that already ran an entrance keep it first in the list (same name, same slot: it never replays);
   a touched map plate's G11 list carries the drift too ([GLITCH G11]) */
.latest-grid .post:is(:hover, :focus-visible), .pillars .pillar:is(:hover, :focus-visible) { animation: f-power-on var(--f-power-dur) steps(7, end) both, f-film-drift var(--f-film-period) linear infinite; }
.pmap--hero.pmap--live .pmap__node--project:not(.pmap__node--hub):is(.is-active, .is-linked) { animation: f-power-on var(--f-power-dur) steps(7, end) backwards, f-film-drift var(--f-film-period) linear infinite; }
/* [PERF] off screen = paused: the endless loops crucix's .is-offscreen did not yet reach (its observer marks the section
   hosts + the cursor; the stylesheet decides what pauses). Invisible by construction: only what is wholly out of view. */
.profile-hero__cursor.is-offscreen,
:is(.profile-hero, .profile-section, .hero-wrap, .latest-wrap).is-offscreen .shot__live-dot,
.hero-wrap.is-offscreen .hero-meta-strip .v .u::before,
.profile-section.is-offscreen .pmap--hero .pmap__node { animation-play-state: paused !important; }
/* == [GLITCH G11] pixel-sort smear — role: motion (streaks: signal pink + film) ===============
   G11 runs everywhere prod glitches — the name, the home h1, the article h1 (holo-glitch), the section-
   heading reveal (reveal-chroma), a touched card / hub, the dialog (el-glitch-*). The glyphs' light is
   dragged out to the right as sorted streaks — near streaks signal-hi, mid signal, the far faint ones a
   film ice / pearl highlight — they lengthen, hold (stepped), then snap back with a hair of overshoot.
   With final.js the banded sort filters #f-sort-1..3 ride on top (only some pixel rows sort, and those
   rows slide); without it the whole-line smear alone is the glitch. Reduced motion: none. */
@keyframes holo-glitch {
  0%   { translate: 0.012em 0; text-shadow: 0.05em 0 color-mix(in oklch, var(--f-signal-hi) 80%, transparent), 0.12em 0 color-mix(in oklch, var(--f-signal-hi) 50%, transparent), 0.22em 0 color-mix(in oklch, var(--f-signal) 32%, transparent), 0.36em 0 color-mix(in oklch, var(--f-film-1) 18%, transparent); }
  12%  { translate: 0.02em 0; text-shadow: 0.06em 0 color-mix(in oklch, var(--f-text) 70%, transparent), 0.16em 0 color-mix(in oklch, var(--f-signal-hi) 55%, transparent), 0.3em 0 color-mix(in oklch, var(--f-signal) 38%, transparent), 0.5em 0 color-mix(in oklch, var(--f-film-3) 20%, transparent), 0.76em 0 color-mix(in oklch, var(--f-film-2) 10%, transparent); }
  30%  { translate: 0.01em 0; text-shadow: 0.05em 0 color-mix(in oklch, var(--f-signal-hi) 60%, transparent), 0.14em 0 color-mix(in oklch, var(--f-signal) 40%, transparent), 0.26em 0 color-mix(in oklch, var(--f-film-1) 20%, transparent), 0.44em 0 color-mix(in oklch, var(--f-film-3) 10%, transparent); }
  46%  { translate: 0.004em 0; text-shadow: 0.03em 0 color-mix(in oklch, var(--f-signal-hi) 50%, transparent), 0.08em 0 color-mix(in oklch, var(--f-signal) 24%, transparent); }
  58%  { translate: -0.012em 0; text-shadow: -0.02em 0 color-mix(in oklch, var(--f-signal-hi) 45%, transparent); }   /* the snap back overshoots a hair */
  70%  { translate: 0 0; text-shadow: var(--f-glow);   /* the lock: the signal glow, once */ }
  100% { translate: 0 0; text-shadow: none; }
}
/* the banded sort (final.js filters #f-sort-1..3: horizontal noise bands → those rows streak + slide) */
@keyframes f-sort {
  0%   { filter: url(#f-sort-2); }
  12%  { filter: url(#f-sort-3); }
  30%  { filter: url(#f-sort-2); }
  46%  { filter: url(#f-sort-1); }
  58%, 100% { filter: none; }
}
/* heading reveal (prod reveal-chroma) in the same language: the line is drawn in left → right, its
   leading edge smeared out into sorted streaks, which snap back once the line is complete */
@keyframes reveal-chroma {
  0%   { clip-path: inset(-20% 100% -20% 0); text-shadow: 0.1em 0 color-mix(in oklch, var(--f-signal-hi) 60%, transparent), 0.3em 0 color-mix(in oklch, var(--f-signal) 30%, transparent); }
  35%  { clip-path: inset(-20% 55% -20% 0); text-shadow: 0.08em 0 color-mix(in oklch, var(--f-signal-hi) 55%, transparent), 0.24em 0 color-mix(in oklch, var(--f-signal) 28%, transparent), 0.5em 0 color-mix(in oklch, var(--f-film-1) 14%, transparent); }
  70%  { clip-path: inset(-20% 10% -20% 0); text-shadow: 0.05em 0 color-mix(in oklch, var(--f-signal-hi) 45%, transparent), 0.16em 0 color-mix(in oklch, var(--f-film-3) 20%, transparent); }
  100% { clip-path: inset(-20% -20% -20% -20%); text-shadow: none; }
}
@keyframes el-glitch-in {  /* the dialog sorts in: smeared streak rows, then the letters snap together */
  0%   { opacity: 0; translate: 10px 0; text-shadow: 6px 0 var(--f-ch-a), 16px 0 var(--f-ch-b), 30px 0 var(--f-ch-c); }
  18%  { opacity: 0.8; translate: 6px 0; text-shadow: 4px 0 var(--f-ch-a), 12px 0 var(--f-ch-b), 24px 0 var(--f-ch-c); }
  38%  { opacity: 1; translate: 2px 0; text-shadow: 3px 0 var(--f-ch-a), 8px 0 var(--f-ch-b); }
  58%  { opacity: 1; translate: -1px 0; text-shadow: -1px 0 var(--f-ch-a); }
  78%  { opacity: 1; translate: 0 0; text-shadow: none; filter: drop-shadow(var(--f-glow)); }
  100% { opacity: 1; translate: 0 0; filter: none; }
}
@keyframes el-glitch-out {
  0%   { opacity: 1; translate: 0 0; }
  40%  { opacity: 0.8; translate: 5px 0; text-shadow: 6px 0 var(--f-ch-a), 16px 0 var(--f-ch-b); }
  100% { opacity: 0; translate: 14px 0; text-shadow: 10px 0 var(--f-ch-a), 26px 0 var(--f-ch-b), 44px 0 var(--f-ch-c); }
}
@keyframes el-node-in {
  0%   { opacity: 0; translate: 8px 0; text-shadow: 6px 0 var(--f-ch-a), 14px 0 var(--f-ch-b); }
  35%  { opacity: 1; translate: 2px 0; text-shadow: 3px 0 var(--f-ch-a); }
  70%  { translate: 0 0; text-shadow: none; filter: drop-shadow(var(--f-glow)); }
  100% { opacity: 1; translate: 0 0; filter: none; }
}
@keyframes el-node-out {
  0%   { opacity: 1; }
  50%  { opacity: 0.8; translate: 4px 0; text-shadow: 5px 0 var(--f-ch-a); }
  100% { opacity: 0; translate: 10px 0; text-shadow: 8px 0 var(--f-ch-a), 18px 0 var(--f-ch-b); }
}
/* the name, the home h1, the article h1: streaks pull out, hold, snap back (each sort state held, then jumps) */
.holo-glitch.is-holo-in { animation: holo-glitch var(--f-glitch-dur) steps(1, end); }
.holo-glitch:hover { animation: holo-glitch var(--f-fx-hover) steps(1, end); }
:root:has(#f-fx) .holo-glitch.is-holo-in { animation: holo-glitch var(--f-glitch-dur) steps(1, end), f-sort var(--f-glitch-dur) steps(1, end); }
:root:has(#f-fx) .holo-glitch:hover { animation: holo-glitch var(--f-fx-hover) steps(1, end), f-sort var(--f-fx-hover) steps(1, end); }
[data-hero] > .holo-glitch:hover, .hero-wrap > .public-shell > .holo-glitch:hover { animation-delay: 0s; }
[data-reveal].is-revealed .profile-section__heading { animation: reveal-chroma var(--f-power-dur) steps(7, end) calc(var(--f-stagger) * 2) both; }
/* a touched card / hub: the finished card-in stays first in the list (same name, same slot) so it never replays */
.pmap--hero.pmap--live .pmap__node.holo-glitch:hover { animation: f-power-on var(--f-power-dur) steps(7, end) backwards, holo-glitch var(--f-fx-hover) steps(1, end), f-film-drift var(--f-film-period) linear infinite; animation-delay: 0s; }
:root:has(#f-fx) .pmap--hero.pmap--live .pmap__node.holo-glitch:hover { animation: f-power-on var(--f-power-dur) steps(7, end) backwards, holo-glitch var(--f-fx-hover) steps(1, end), f-sort var(--f-fx-hover) steps(1, end), f-film-drift var(--f-film-period) linear infinite; animation-delay: 0s; }
/* the dialog: G11 sort in / out (the smear runs down the block, item by item) on --f-fx-in / --f-fx-out.
   One stagger: the block steps by --f-stagger ÷ 2, the dense map nodes by ÷ 4, the exits twice as fast */
.detail.is-glitch-in :is(.detail__eyebrow, .detail__title, .detail__meta, .detail__body > *) { animation: el-glitch-in var(--f-fx-in) steps(1, end) backwards; animation-delay: calc(var(--i, 0) * var(--f-stagger) / 2); }
:root:has(#f-fx) .detail.is-glitch-in :is(.detail__eyebrow, .detail__title, .detail__meta) { animation: el-glitch-in var(--f-fx-in) steps(1, end) backwards, f-sort var(--f-fx-in) steps(1, end) backwards; animation-delay: calc(var(--i, 0) * var(--f-stagger) / 2); }
.detail.is-glitch-out :is(.detail__eyebrow, .detail__title, .detail__meta, .detail__body > *) { animation: el-glitch-out var(--f-fx-out) steps(1, end) both; animation-delay: calc(var(--i, 0) * var(--f-stagger) / 4); }
.detail.is-glitch-in :is(.detail__aside .pmap__band-title, .detail__aside .pmap__node) { animation: el-node-in var(--f-fx-in) steps(1, end) backwards; animation-delay: calc(var(--i, 0) * var(--f-stagger) / 4); }
.detail.is-glitch-out :is(.detail__aside .pmap__band-title, .detail__aside .pmap__node) { animation: el-node-out var(--f-fx-out) steps(1, end) both; animation-delay: calc(var(--i, 0) * var(--f-stagger) / 8); }
/* == [ENTRANCES] prod's hero entrances: a block powering up (f-power-on, [C16]) — role: motion ==== */
[data-hero] > * { animation: f-power-on var(--f-power-dur) steps(7, end) both; }
[data-hero] > :first-child { animation-delay: calc(var(--f-stagger) * 1); }
[data-hero] > :nth-child(2) { animation-delay: calc(var(--f-stagger) * 2); }
[data-hero] > :nth-child(3) { animation-delay: calc(var(--f-stagger) * 3); }
[data-hero] > :nth-child(4) { animation-delay: calc(var(--f-stagger) * 4); }
.hero-wrap > .public-shell > :not(.holo-glitch) { animation: f-power-on var(--f-power-dur) steps(7, end) both; }
.hero-wrap > .public-shell > :nth-child(2) { animation-delay: calc(var(--f-stagger) * 1); }
.hero-wrap > .public-shell > :nth-child(3) { animation-delay: calc(var(--f-stagger) * 2); }
.hero-wrap > .public-shell > :nth-child(4) { animation-delay: calc(var(--f-stagger) * 3); }
@media (max-height: 30rem) {
  .aside-sticky { position: static; max-block-size: none; overflow: visible; }
  .profile-section > :is(.profile-section__heading, .profile-section__head-row) { position: static; }
  .profile-hero { min-height: 0; padding-block: var(--f-s-5); }
  .profile-hero__eyebrow { margin-bottom: var(--f-s-3); }
  .profile-hero__title { font-size: min(var(--f-d1), 14svh); margin-bottom: var(--f-s-3); }
  .profile-hero__thesis { margin-bottom: var(--f-s-4); }
  .hero-wrap { min-height: 0; padding-top: var(--f-s-5); justify-content: flex-start; }
  .hero-eyebrow-row { margin-bottom: var(--f-s-3); }
  .hero-h1 { font-size: min(var(--f-d1), 13svh); }
  .hero-intro { margin-top: var(--f-s-3); font-size: var(--f-t-lg); line-height: 1.5; }
}
}