/* ============================================================
   ANNEAL — design tokens

   GENERATED by scripts/build-tokens.mjs from brands/anneal/tokens/*.tokens.json
   DO NOT EDIT. Change the JSON and rebuild.

   Tier 1 --p-*  raw values, the reskin surface
   Tier 2 --*    the roles components consume
   ============================================================ */

:root {
  --p-font-sans: Switzer, 'General Sans', 'Helvetica Neue', Arial, sans-serif;  /* The voice. Switzer leads so the licensed face takes over the moment its woff2 ships; General Sans is the substitute the design system itself names — same foundry, closest sibling */
  --p-font-display: Switzer, 'General Sans', 'Helvetica Neue', Arial, sans-serif;  /* The display — the SAME face as the body. ANNEAL sets display and body both in Switzer; a separate display face reads as a different brand against a frosted-glass packshot */
  --p-font-mono: 'Martian Mono', ui-monospace, 'SF Mono', Menlo, monospace;  /* The evidence — QUANTITIES ONLY: the index code, volumes, prices, temperatures, spec values. A number and its unit. CORRECTED 2026-08-26: this line used to end 'nav, eyebrows' and the site followed it — 84 homepage elements rendered in the data face against 62 in Switzer, 59 of them prose. Navigation and eyebrows are language; they are set in the sans, at data SIZE. Never set tight */
  --p-brand-100: #DDDFEA;  /* the measured frosted glass — product stages */
  --p-brand-200: #D0D2DE;  /* the measured photographic ground */
  --p-brand-300: #B3B5C0;
  --p-brand-400: #90929C;
  --p-brand-500: #0F1014;  /* INK. A saturated primary would out-shout a product whose only colour is a hairline */
  --p-brand-600: #25262C;  /* hover on an ink-filled control */
  --p-brand-700: #3E3F46;
  --p-brand-800: #0F1014;  /* the dark stage — ANNEAL's punctuation band */
  --p-brand-900: #040406;  /* deepest stage — the matte closure, measured */
  --p-neutral-white: #FDFDFF;
  --p-neutral-cream: #F5F6FB;  /* paper. NOT cream — ANNEAL runs one cool hue and forbids a second hue family */
  --p-neutral-stone: #D0D2DE;
  --p-neutral-ash: #B3B5C0;
  --p-neutral-fog: #90929C;
  --p-neutral-slate: #61626A;
  --p-neutral-graphite: #595A62;
  --p-neutral-charcoal: #25262C;
  --p-neutral-night: #0F1014;
  --p-neutral-ink: #0F1014;  /* ink — text and primary */
  --p-neutral-edge: #25262C;
  --p-tint: #F0F1F6;  /* the UI wash. RE-DERIVED 2026-08-26: was #DDDFEA, brand.100, and the old description said so outright — 'the measured glass, section washes are the same material as the vessel'. That reasoning is what made the page heavy. #DDDFEA is measured off a PHOTOGRAPH, where it is the frosted vessel filling a small part of a frame; as a UI wash it covers the hero and half the sections at 1.31:1 against paper, which is a step you can see rather than a wash you cannot. A wash should sit near 1.10. OKLCH L 0.905 to 0.960, hue held at 277.8, chroma 0.0151 to 0.0067 on the ladder's own fade-toward-white curve. brand.100 is UNCHANGED and still carries the measured glass wherever a product actually sits */
  --p-tint-hover: #EAEBF2;  /* one step down from the wash, for a hover fill that has somewhere to go. 1.17:1 — visible as a change, invisible as a colour */
  --p-line: #E5E7EF;  /* hairline. RE-DERIVED 2026-08-26: was #D0D2DE (brand.200, the measured PHOTOGRAPHIC GROUND) at 1.48:1 — heavier than most premium light interfaces draw a border, and it is the most-used line on the site at 71 occurrences. A decorative rule separating two light surfaces does not need to be seen, only sensed. 1.22:1, hue held, chroma on the ladder curve */
  --p-line-strong: #B3B5C0;  /* the real control boundary — audited at 17.60:1 on the secondary button. DELIBERATELY NOT LIGHTENED with the hairline above: this is what draws the edge of a button, an input and the view toggle, where WCAG 1.4.11 wants 3:1 for the boundary that identifies the component. It is already under that at 2.01:1 and lightening it would make an accessibility gap worse to fix an aesthetic one. Widening the gap between it and the hairline is the point — a decorative rule should nearly vanish while a control edge stays legible, which is hierarchy rather than uniformity */
  --p-line-hover: #A2A3AF;  /* RE-DERIVED 2026-08-26: was #90929C at 3.05:1, a border nearly as dark as body text. Lightened to 2.46:1, which still sits CLEARLY darker than line.strong (2.01) so an outline control still visibly gains an edge on hover. It could not go below 2.01 without inverting the state — a hover lighter than the rest would read as the control switching off */
  --p-green-400: #DCE2DF;  /* success wash — derived as a 14% OKLab mix over the page, not picked */
  --p-green-600: #4A6B4E;  /* success */
  --p-amber-400: #EDE4DC;  /* warning wash — derived */
  --p-amber-600: #B0791F;  /* warning */
  --p-red-400: #EEDDDB;  /* error wash — derived */
  --p-red-500: #A8412F;  /* error */
  --p-red-600: #8A3527;  /* error, pressed */
  --p-ink-200: #D0D2DE;
  --p-ink-400: #90929C;  /* struck prices, off-states */
  --p-ink-500: #61626A;
  --p-ink-600: #61626A;  /* mono labels, captions. Darkened in the brand so it clears AA on the SUNKEN plate (4.56:1) too, not only on the page */
  --p-ink-800: #494A51;  /* body muted RE-DERIVED 2026-08-26: was #595A62 at OKLCH L 47.0, which sat 2.8 lightness points from ink.600 — the rung below it — so --ink-2 and --ink-3 were the same grey and the muted ladder had three names for two values. Darkened to L 41.0 on the scale's own hue and chroma curve. Darkening rather than lightening the tertiary rung is deliberate: it opens the gap to 8.8 L AND raises contrast on every ground (tint 5.16->6.64, paper 6.35->8.17, white 6.75->8.68), so the change cannot regress a pair anywhere. ink.600/ink.500 are untouched because both carry 12px text on grounds this audit did not cover (checkout legal, account, shop separators) and the AA ceiling on tint is L 50.0. */
  --p-space-0: 0;
  --p-space-1: 0.25rem;
  --p-space-2: 0.5rem;
  --p-space-3: 0.75rem;  /* the commonest step in this codebase — 17 uses */
  --p-space-4: 1rem;  /* the default gutter */
  --p-space-5: 1.25rem;
  --p-space-6: 1.5rem;
  --p-space-7: 1.75rem;  /* 28px — 16 uses */
  --p-space-8: 2rem;  /* band padding */
  --p-space-9: 2.25rem;
  --p-space-10: 2.5rem;
  --p-space-11: 2.75rem;  /* the WCAG 44px touch floor — control heights key off this */
  --p-space-12: 3rem;
  --p-space-14: 3.5rem;  /* 56px */
  --p-space-16: 4rem;
  --p-space-18: 4.5rem;
  --p-space-20: 5rem;
  --p-space-24: 6rem;  /* section rhythm, mobile */
  --p-space-32: 8rem;  /* section rhythm, desktop */
  --p-space-0-5: 0.125rem;  /* 2px — hairline insets, pip offsets */
  --p-space-1-5: 0.375rem;  /* 6px — the tight step, 26 uses */
  --p-space-2-5: 0.625rem;
  --p-space-3-5: 0.875rem;  /* 14px — 34 uses */
  --p-space-4-5: 1.125rem;  /* 18px */
  --p-space-px: 1px;  /* hairline offsets only */
  --p-text-10: 0.625rem;
  --p-text-11: 0.6875rem;
  --p-text-12: 0.75rem;
  --p-text-13: 0.8125rem;  /* mono labels, captions — 42 uses, the densest step */
  --p-text-14: 0.875rem;
  --p-text-15: 0.9375rem;
  --p-text-16: 1rem;  /* body floor — never smaller for prose */
  --p-text-17: 1.0625rem;  /* 17px — the body-lg step */
  --p-text-18: 1.125rem;
  --p-text-20: 1.25rem;
  --p-text-22: 1.375rem;  /* 22px */
  --p-text-24: 1.5rem;
  --p-text-28: 1.75rem;
  --p-text-30: 1.875rem;  /* 30px */
  --p-text-36: 2.25rem;
  --p-text-48: 3rem;
  --p-text-61: 3.815rem;  /* 61px — the `display` step. --font-display only (Raleway since PR #17), never the sans */
  --p-text-76: 4.768rem;  /* 76px — `display-xl`, the top of the scale. Page heroes only; the scale stopped at 48 before this */
  --p-tracking-0: 0;
  --p-tracking-4: 0.04em;
  --p-tracking-6: 0.06em;  /* chip-cat */
  --p-tracking-8: 0.08em;  /* mono-label */
  --p-tracking-10: 0.10em;
  --p-tracking-12: 0.12em;  /* eyebrow — the widest the law allows */
  --p-tracking-14: 0.14em;  /* the widest label tracking in use */
  --p-tracking-n30: -0.03em;
  --p-tracking-n25: -0.025em;  /* display-md / title-2xl */
  --p-tracking-n20: -0.02em;  /* Every display step, plus title-xl. Was -0.04em (n40) until the display face became a serif; kept at n20 through the 2026-08-21 swap to Raleway, which has no optical-size axis and so relies on these rungs to stop a hero reading as a scaled-up product name. n40 had no other consumer and was deleted. */
  --p-tracking-n14: -0.014em;  /* title-md */
  --p-tracking-n10: -0.01em;  /* title-sm */
  --p-leading-100: 1;  /* display-xl */
  --p-leading-110: 1.1;
  --p-leading-130: 1.3;
  --p-leading-150: 1.5;
  --p-leading-160: 1.6;  /* body-base — the reading default */
  --p-radius-2: 0;  /* Zero, like every other rung. The single most load-bearing shape decision in the system — a rounded corner reads friendly and this brand is severe */
  --p-radius-3: 0;
  --p-radius-4: 0;
  --p-radius-5: 0;
  --p-radius-6: 0;
  --p-radius-sm: 0;
  --p-radius-md: 0;
  --p-radius-lg: 0;
  --p-radius-xl: 0;
  --p-radius-2xl: 0;
  --p-radius-base: 0;
  --p-radius-pill: 0;
  --p-radius-circle: 100%;  /* A circle is a shape in its own right, not a rounded corner. Squaring it would break spinners and pips */
  --p-radius-panel: 0;
  --p-duration-0: 0ms;
  --p-duration-fast: 180ms;  /* hover and focus on controls */
  --p-duration-base: 260ms;
  --p-duration-slow: 420ms;  /* the single 1.02 image scale on a product plate */
  --p-ease-out-quart: cubic-bezier(0.4, 0, 0.2, 1);  /* the house curve — ANNEAL's standard ease */
  --p-ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --p-ease-in-out-quart: cubic-bezier(0.4, 0, 0.2, 1);
  --p-ease-drawer: cubic-bezier(0.16, 1, 0.3, 1);
  --p-ease-out-back: cubic-bezier(0.4, 0, 0.2, 1);  /* Retired onto the standard curve. Motion is a change of state being acknowledged, never an effect — nothing in this brand bounces, springs, parallaxes or floats */
  --p-measure-axis: 80rem;  /* the page axis max-width */
  --p-measure-prose: 42rem;  /* reading measure — ~66ch */
  --p-measure-content: 48rem;
  --p-z-header: 200;
  --p-z-drawer: 300;
  --p-z-overlay: 400;
  --p-z-toast: 500;
  --p-ramp-1: #988C6A;  /* 1000 °C — Soak, the hold temperature */
  --p-ramp-2: #C57C00;
  --p-ramp-3: #AC471E;
  --p-ramp-4: #8D341B;
  --p-ramp-5: #70281B;
  --p-ramp-6: #54231C;
  --p-ramp-7: #3A1D1B;
  --p-ramp-8: #2A191A;
  --p-ramp-9: #1B1518;  /* 200 °C — the cool end */
}

/* ---------- Tier 2 · appearance-independent ---------- */
:root {
  --font-sans: var(--p-font-sans);  /* The voice — everything that RUNS a view: body, UI, controls, nav. Not headings */
  --font-display: var(--p-font-display);  /* The display — EVERY heading: the four display-* steps and the whole title-* ladder down to title-sm. Roman at 600; the italic is the wit, max one line per view */
  --font-mono: var(--p-font-mono);  /* The evidence — every number that makes a claim. Deadpan: no joke is ever set in mono */
  --space-gutter: var(--p-space-4);  /* Default inline padding inside a card or panel */
  --space-gutter-lg: var(--p-space-6);  /* Roomier panels — PDP buy rail, checkout blocks */
  --space-stack: var(--p-space-3);  /* Vertical rhythm between related lines */
  --space-stack-lg: var(--p-space-5);  /* Between grouped blocks */
  --space-inline: var(--p-space-2);  /* Between an icon and its label */
  --space-section: var(--p-space-24);  /* Band rhythm, mobile */
  --space-section-lg: var(--p-space-32);  /* Band rhythm, desktop */
  --space-axis: var(--p-space-4);  /* Page axis inline padding, mobile */
  --space-axis-lg: var(--p-space-6);  /* Page axis inline padding, desktop */
  --space-grid: var(--p-space-4);  /* Product / card grid gap */
  --radius-control: var(--p-radius-sm);  /* Inputs, selects, small controls */
  --radius-button: var(--p-radius-base);  /* Square. The template's buttons were pills; this brand's are not — and every radius rung is 0, so this is a rename rather than a value */
  --radius-card: var(--p-radius-md);  /* Cards, panels, media wells */
  --radius-panel: var(--p-radius-panel);  /* Consoles, full-width panels, modals. Nest with calc(var(--radius-panel) - <the padding>) so the curves stay concentric. */
  --radius-chip: var(--p-radius-pill);  /* Chips, badges, counts */
  --control-height: var(--p-space-11);  /* 44px — the WCAG touch floor. Every input and default button. */
  --control-height-sm: var(--p-space-9);  /* 36px — desktop-dense contexts ONLY, never a primary CTA */
  --text-body: var(--p-text-16);  /* Prose floor — never smaller for reading copy */
  --text-body-sm: var(--p-text-15);
  --text-caption: var(--p-text-13);
  --text-label: var(--p-text-11);  /* Mono uppercase labels */
  --text-code: 0.9em;  /* Inline code inside prose. RELATIVE on purpose — it must track whatever size its parent is set at, so it cannot be a step on the absolute ladder. */
  --leading-body: var(--p-leading-160);
  --leading-tight: var(--p-leading-110);
  --tracking-label: var(--p-tracking-14);  /* Martian Mono is a data face and always runs positive. ANNEAL specifies +0.14em on a code, and this is the face that value was measured on */
  --tracking-heading: var(--p-tracking-n10);  /* Headings track TIGHT. --tracking-label (0.06em) is the opposite — it is for uppercase mono labels, and theme.json was handing it to every h1–h6 because it was the nearest-named token. */
  --motion-press: var(--p-duration-fast);  /* Press/active feedback — 150ms, scale 0.98 */
  --motion-enter: var(--p-duration-base);
  --motion-exit: var(--p-duration-fast);  /* Exits are faster than entrances — a leaving thing should not detain you */
  --motion-drawer: var(--p-duration-slow);
  --ease-default: var(--p-ease-out-quart);
  --ease-overlay: var(--p-ease-drawer);
  --axis-max: var(--p-measure-axis);
  --prose-max: var(--p-measure-prose);
  --content-max: var(--p-measure-content);  /* Block-editor default content width — NOT the reading measure */
  --ramp-1: var(--p-ramp-1);  /* The annealing ramp, step 1 of 9. The ONE place ramp colour appears, and the only decorative device the system has. It marks a position on a scale and never fills anything — a stop may not become a panel, button or background, because an instrument that decorates has stopped being an instrument. Appearance-INDEPENDENT: the scale is a printed measuring system and does not re-map under a dark section. */
  --ramp-2: var(--p-ramp-2);  /* The annealing ramp, step 2 of 9. */
  --ramp-3: var(--p-ramp-3);  /* The annealing ramp, step 3 of 9. */
  --ramp-4: var(--p-ramp-4);  /* The annealing ramp, step 4 of 9. */
  --ramp-5: var(--p-ramp-5);  /* The annealing ramp, step 5 of 9. */
  --ramp-6: var(--p-ramp-6);  /* The annealing ramp, step 6 of 9. */
  --ramp-7: var(--p-ramp-7);  /* The annealing ramp, step 7 of 9. */
  --ramp-8: var(--p-ramp-8);  /* The annealing ramp, step 8 of 9. */
  --ramp-9: var(--p-ramp-9);  /* The annealing ramp, step 9 of 9. */
  --ramp-gradient: linear-gradient(90deg, var(--p-ramp-1) 0%, var(--p-ramp-2) 12.5%, var(--p-ramp-3) 25%, var(--p-ramp-4) 37.5%, var(--p-ramp-5) 50%, var(--p-ramp-6) 62.5%, var(--p-ramp-7) 75%, var(--p-ramp-8) 87.5%, var(--p-ramp-9) 100%);  /* The whole ramp as ONE continuous field. Brand law §2: the ramp always renders as a continuum, because separated swatches turn it into a data-viz heat map — a reference table on a kit sheet is the single exception. The interface therefore has exactly two legal ways to show ramp colour: this continuum, or one per-item index rule. Rendering the nine stops as discrete adjacent blocks reads as a heat map and is a defect, which is what the footer strip was doing. Composed from the same nine stops rather than restating any colour, so a ramp value still has one source of truth. Appearance-INDEPENDENT for the same reason the stops are: the scale is a printed measuring system and does not re-map under a dark section. */
}

/* ---------- Tier 2 · light ---------- */
:root {
  --background: var(--p-neutral-cream);  /* Paper, not white. The vessel is photographed on a pale cool ground; a pure-white page puts it on a brighter field than the photograph did */
  --foreground: var(--p-neutral-ink);  /* ink */
  --card: var(--p-neutral-white);  /* white; definition comes from line + shadow */
  --card-foreground: var(--p-neutral-ink);
  --popover: var(--p-neutral-white);
  --popover-foreground: var(--p-neutral-ink);
  --primary: var(--p-brand-500);  /* cupric */
  --primary-foreground: var(--p-neutral-white);  /* cream label on cupric */
  --secondary: var(--p-tint);
  --secondary-foreground: var(--p-neutral-charcoal);
  --muted: var(--p-tint);
  --muted-foreground: var(--p-ink-800);  /* cool slate, contrast-matched to law neutral-700 */
  --accent: var(--p-tint);  /* hover surface */
  --accent-foreground: var(--p-neutral-charcoal);
  --destructive: var(--p-red-500);
  --success: var(--p-green-600);
  --warning: var(--p-amber-600);
  --ink-2: var(--p-ink-800);
  --ink-3: var(--p-ink-600);  /* contrast-matched to law neutral-600 */
  --ink-4: var(--p-ink-500);
  --surface: var(--p-neutral-white);  /* white */
  --stage-glass: var(--p-brand-100);  /* The measured frosted glass — the ONE place the photographic value still belongs in the interface. It is the ground a product sits on, and the ground a product PHOTOGRAPH continues into: below 1280 the hero's stage is a band and the copy panel sits directly beneath it, so the frame's bottom edge butts straight into CSS. Matching that CSS to the photograph is the entire reason this value exists, and it must NOT be lightened along with the UI ladder — a wash at 1.11 against a photographic floor at ~1.24 puts a visible step across the hero. At and above 1280 the stage is inset:0 and the photograph covers the section outright, so this is invisible there either way */
  --surface-2: var(--p-tint);  /* faint blue wash for section bands */
  --control: var(--p-neutral-white);
  --surface-ink: var(--p-brand-800);  /* deep-blue stage, not black */
  --ink-band: var(--p-brand-900);  /* deep-blue stage, not black */
  --border: var(--p-line);  /* blue-derived hairline, not the cream tan */
  --border-strong: var(--p-line-strong);
  --input: var(--p-line-strong);
  --ring: var(--p-brand-500);
  --brand: var(--p-brand-500);
  --brand-foreground: var(--p-neutral-white);
  --brand-hover: var(--p-brand-600);
  --brand-muted: var(--p-tint);  /* RE-POINTED 2026-08-26: was {brand.100} #DDDFEA — the measured frosted glass. This token is the HERO GROUND (.sk-hero) and the hover fill on every ghost, outline and secondary control, so the vessel's own colour was painting the largest single area on the site and flashing under the cursor on every button. It now takes {tint}, the UI wash, at 1.11:1. brand.100 keeps the measured value for the places a product actually sits */
  --brand-cyan: var(--p-brand-400);  /* neutralised → ramp */
  --brand-teal: var(--p-brand-600);  /* neutralised → ramp */
  --price-regular: var(--p-neutral-ink);
  --price-sale: var(--p-neutral-ink);  /* A price is a price. There is no sale colour because there is no sale */
  --price-compare: var(--p-ink-500);  /* RE-DERIVED 2026-08-26: was {ink.400} #90929C, which measured 2.87:1 on paper and 2.33:1 on the #DDDFEA product stage where the multi-pack prices actually sit — both below the 4.5 AA floor. A struck price is transactional information: it is what the buyer compares against, and it may not be the one number on the page nobody can read. {ink.500} #61626A clears at 4.57:1 on the worst of those grounds. De-emphasis is carried by the strikethrough and the smaller size, which is where it belongs — not by making the figure illegible. The dark-mode token stays {ink.400}; on #0F1014 it already measures 6.14:1 */
  --stock-in: var(--p-green-600);
  --stock-low: var(--p-amber-600);
  --stock-out: var(--p-ink-500);
  --rating-filled: var(--p-ink-400);  /* A rating reads as a measured value, never as a filled gold endorsement */
  --savings: var(--p-ink-600);  /* Neutralised. Refusing promotional machinery is the positioning, so nothing here gets a colour of its own */
  --urgency: var(--p-ink-600);  /* Neutralised — this brand runs no countdown */
  --trust: var(--p-neutral-ink);
  --elevation-key: none;  /* No shadows anywhere in this system — not on a card, a button, a modal or an image. Elevation is a 1px hairline plus a surface change. The only shadow in the brand is the contact shadow baked into a photograph, which is the object grounding itself */
  --elevation-whisper: none;
  --elevation-card: none;
  --elevation-pop: none;
  --elevation-lift: none;
  --shadow-glassbar: none;
  --surface-warm: var(--p-tint);  /* The plate. Its background IS the measured glass value, so plate and vessel are the same material */
  --on-dark-warm: var(--p-neutral-cream);
  --ink-band-2: var(--p-neutral-charcoal);  /* One step up from the ink band — hover on dark */
  --brand-active: var(--p-brand-700);  /* Pressed state for a brand-filled control */
  --brand-soft: var(--p-brand-400);  /* The soft brand step — non-critical fills */
  --brand-muted-hover: var(--p-tint-hover);  /* Hover on a brand-muted surface. RE-POINTED 2026-08-26: was {brand.200} #D0D2DE, the measured photographic ground, at 1.48:1 — a hover fill heavier than most premium interfaces draw a border. Now one honest step below the wash it sits on */
  --control-disabled: var(--p-line-strong);  /* Disabled control fill */
  --border-hover: var(--p-line-hover);  /* Border on hover */
  --success-tint: var(--p-green-400);  /* Success wash */
  --warning-tint: var(--p-amber-400);  /* Warning wash */
  --scrim: var(--p-neutral-ink);  /* Ink used as a GROUND — photo scrims and true-ink bands. Distinct from --ink-band (blue-900) and --surface-ink (blue-800), which are the brand's deep-blue stages; this one is actually ink. */
  --control-fill: var(--p-tint);  /* The INSET fill for a text control sitting on a card. --control is white, which is also --card — so on a white panel an input had nothing but a --border hairline to declare itself, and on /contact/ the five fields read as absent. An input RECEIVES content: it is a well, and a well is darker than the surface around it. */
  --on-dark-line: color-mix(in oklab, var(--p-neutral-white) 16%, transparent);  /* Hairline on a deep-blue stage (--surface-ink / --ink-band). --border is blue-derived and tuned for a white ground; on blue-800 it vanishes, so every dark panel that needed a rule was inventing its own mix. */
  --on-dark-ink: color-mix(in oklab, var(--p-neutral-white) 74%, transparent);  /* Secondary text on a deep-blue stage — the dark-ground twin of --ink-2. The same role was being hand-mixed off --brand-foreground at 62%, 72% and 80% on three different surfaces because nothing named it. */
  --elevation-panel: none;  /* No shadow. A raised panel is defined by its hairline ring and its surface, like everything else. */
}

/* ---------- Tier 2 · dark ---------- */
.dark,
[data-appearance="dark"] {
  --background: var(--p-neutral-ink);  /* ink */
  --foreground: var(--p-neutral-white);  /* cream */
  --card: var(--p-neutral-night);  /* law: dark-surface */
  --card-foreground: var(--p-neutral-white);
  --popover: var(--p-neutral-night);
  --popover-foreground: var(--p-neutral-white);
  --primary: var(--p-brand-500);  /* primary stays cupric */
  --primary-foreground: var(--p-neutral-white);  /* cream label */
  --secondary: var(--p-neutral-night);
  --secondary-foreground: var(--p-neutral-white);
  --muted: var(--p-neutral-night);
  --muted-foreground: var(--p-neutral-ash);  /* law: dark text-muted */
  --accent: var(--p-neutral-night);
  --accent-foreground: var(--p-neutral-white);
  --destructive: var(--p-red-400);
  --success: var(--p-green-400);
  --warning: var(--p-amber-400);
  --ink-2: var(--p-neutral-stone);
  --ink-3: var(--p-neutral-ash);
  --ink-4: var(--p-neutral-fog);
  --surface: var(--p-neutral-night);
  --surface-2: var(--p-neutral-ink);
  --control: var(--p-neutral-night);
  --surface-ink: var(--p-brand-800);  /* deep-blue stage, not black */
  --ink-band: var(--p-brand-900);  /* deep-blue stage, not black */
  --border: var(--p-neutral-edge);  /* law: dark-border */
  --border-strong: var(--p-neutral-graphite);
  --input: var(--p-neutral-edge);
  --ring: var(--p-brand-200);  /* law: dark interactive = blue-200 */
  --brand: var(--p-brand-500);
  --brand-foreground: var(--p-neutral-white);
  --brand-hover: var(--p-brand-200);
  --brand-muted: var(--p-neutral-night);
  --brand-cyan: var(--p-brand-400);
  --brand-teal: var(--p-brand-600);
  --price-regular: var(--p-neutral-white);
  --price-sale: var(--p-neutral-cream);
  --price-compare: var(--p-ink-400);
  --stock-in: var(--p-green-400);
  --stock-low: var(--p-amber-400);
  --stock-out: var(--p-neutral-fog);
  --rating-filled: var(--p-neutral-fog);
  --savings: var(--p-neutral-fog);
  --urgency: var(--p-neutral-fog);
  --trust: var(--p-brand-200);
  --elevation-key: none;
  --elevation-whisper: none;
  --elevation-card: none;
  --elevation-pop: none;
  --elevation-lift: none;
  --shadow-glassbar: none;
  --surface-warm: var(--p-neutral-night);  /* Warm cream surface — the photographic ground the packshots are shot on */
  --on-dark-warm: var(--p-neutral-cream);  /* Cream label on a dark ground. DISTINCT FROM --brand-foreground (white) on purpose: the two are currently used inconsistently for the same job — see docs/DESIGN-SYSTEM.md. Naming it is what makes the inconsistency fixable in one edit instead of a grep. */
  --ink-band-2: var(--p-neutral-night);  /* One step up from the ink band — hover on dark */
  --brand-active: var(--p-brand-300);  /* Pressed state for a brand-filled control */
  --brand-soft: var(--p-brand-300);  /* The soft brand step — non-critical fills */
  --brand-muted-hover: var(--p-neutral-night);  /* Hover on a brand-muted surface */
  --control-disabled: var(--p-neutral-night);  /* Disabled control fill */
  --border-hover: var(--p-neutral-slate);  /* Border on hover */
  --success-tint: var(--p-green-600);  /* Success wash */
  --warning-tint: var(--p-amber-600);  /* Warning wash */
  --scrim: var(--p-neutral-ink);  /* Ink used as a GROUND — photo scrims and true-ink bands. Distinct from --ink-band (blue-900) and --surface-ink (blue-800), which are the brand's deep-blue stages; this one is actually ink. */
  --control-fill: var(--p-neutral-ink);  /* Inset control fill — one step DOWN from --card (night), so a field still reads as a well when the ground is already dark. */
  --on-dark-line: color-mix(in oklab, var(--p-neutral-white) 16%, transparent);  /* Hairline on a deep-blue stage. Identical to light: the stage is blue-800 in both appearances. */
  --on-dark-ink: color-mix(in oklab, var(--p-neutral-white) 74%, transparent);  /* Secondary text on a deep-blue stage. Identical to light: the stage does not remap. */
  --elevation-panel: none;  /* No shadow. A raised panel is defined by its hairline ring and its surface, like everything else. */
}

/* ---------- Tier 1 overlay · verification — proves the reskin ---------- */
[data-theme="verification"] {
  --p-brand-100: #F7E4D8;
  --p-brand-200: #EFC3A9;
  --p-brand-300: #E29B76;
  --p-brand-400: #D2703F;
  --p-brand-500: #B4491A;  /* terracotta — stands where cupric stands */
  --p-brand-600: #8E3712;
  --p-brand-700: #6B290D;
  --p-brand-800: #4A1D09;
  --p-brand-900: #2B1105;
  --p-neutral-white: #FFFDFA;
  --p-neutral-cream: #F3E9DA;
  --p-neutral-stone: #DCCDB8;
  --p-neutral-ash: #BFAC93;
  --p-neutral-fog: #9A876E;
  --p-neutral-slate: #6E5C46;
  --p-neutral-graphite: #50412F;
  --p-neutral-charcoal: #2E251A;
  --p-neutral-night: #241C13;
  --p-neutral-ink: #17110B;
  --p-ink-200: #E2D8C9;
  --p-ink-400: #9B8A73;
  --p-ink-500: #7B6A54;
  --p-ink-600: #6B5B46;
  --p-ink-800: #4A3B2A;
  --p-line: #F2E7D9;
  --p-line-strong: #E0CFB8;
  --p-line-hover: #CDB79A;
  --p-tint: #FAF2E7;
  --p-green-400: #E6F0D8;
  --p-green-600: #4A6432;
  --p-amber-400: #F9EBD2;
  --p-amber-600: #8A5A08;
  --p-red-400: #FBE3DC;
  --p-red-500: #9B3520;
  --p-red-600: #7A2818;
}
