/*
 * L3-SHAPED SITE REGISTER — editorial. Lives in the portfolio, not (yet) in
 * packages/htown-ui/tokens/verticals/, because a package vertical requires the
 * promotion decision to be Zaid's. The file follows every vertical rule so that
 * promotion, if it happens, is a `cp`:
 *
 *   - rebinds ONLY L1 semantic roles (never a primitive definition, never L2,
 *     never :root — [data-ht-vertical] would go inert)
 *   - every chromatic role reads --ht-brand-* first; the fallback is the
 *     register's own warm-monochrome brass
 *
 * REGISTER — "Primary Source": a warm editorial broadsheet. One dark title
 * plate, then a calm paper reading surface. The register is the portfolio's own
 * shipped design (live at zaidmartinez.vercel.app since 2026-07), re-expressed
 * on @htown/ui tokens rather than a parallel hand-rolled set. Neutrals are the
 * fabrication family — the warm monochrome every H-Town surface shares — with
 * LIGHT canvas polarity for the reading surface and the dark brown-950 room
 * reserved for the title plate and the footer bookend.
 *
 * TYPE RECEIPT — the display face is --ht-family-editorial (Fraunces).
 * Fraunces IS this portfolio's shipped display face (July 2026, approved and
 * live); the package ships it as a variable 300–900 woff2, so the token now
 * PAINTS the face it names instead of trusting a Google Fonts <link>.
 * No italic file ships, so this register uses no italics — font-synthesis is
 * disabled at the site layer rather than allowing a synthetic oblique.
 *
 * CHROMA — which roles carry it (the register decision this file exists for):
 *   ink/edge/action accents  -> the brand red, read through --ht-brand-accent.
 *                               On the light canvas the red may ink a glyph; on
 *                               the dark plate it is a MATERIAL only (see the
 *                               brand file: 2.79:1 on brown-950, never a word).
 *   surface-accent           -> BRASS (tan-400), not the brand red. This is the
 *                               warm the shader material reads
 *                               (--ht-choreo-shader-warm -> --ht-surface-accent),
 *                               so the title plate is lit by warm brass light
 *                               through the material — light through crafted
 *                               material, never a red wash.
 */
[data-ht-vertical="editorial"] {
  --ht-surface-base: var(--ht-canvas-100);
  --ht-surface-raised: var(--ht-white);
  --ht-surface-inverse: var(--ht-brown-950);
  --ht-surface-subtle: var(--ht-brown-800);
  --ht-ink-primary: var(--ht-brown-950);
  --ht-ink-secondary: var(--ht-brown-800);
  --ht-ink-muted: var(--ht-tan-600);
  --ht-ink-inverse: var(--ht-canvas-100);
  --ht-edge-hairline: var(--ht-tan-600);
  --ht-edge-inverse: var(--ht-canvas-100);

  /* Brass material light — deliberately NOT the brand red; see header. */
  --ht-surface-accent: var(--ht-tan-400);

  /* The single chromatic accent, brand-owned. */
  --ht-ink-accent: var(--ht-brand-accent, var(--ht-tan-400));
  --ht-edge-accent: var(--ht-brand-accent, var(--ht-tan-400));
  --ht-edge-focus: var(--ht-brand-accent, var(--ht-tan-400));
  --ht-accent-action: var(--ht-brand-accent, var(--ht-tan-400));
  --ht-accent-action-hover: var(--ht-brand-accent-hover, var(--ht-tan-300));
  --ht-action-ink: var(--ht-brand-accent-ink, var(--ht-canvas-100));
  --ht-action-muted: var(--ht-tan-600);

  /* Receipt: zaidmartinez.vercel.app, live since 2026-07. h1 computes to
     "Fraunces" at display scale. Shipped and approved; not a proposal. */
  --ht-font-display: var(--ht-family-editorial);
}
