/* =============================================================================
   THE DISPLAY SCALE — the only file in this source where a raw length may appear.

   Declared by SKALD-D-012. design_language.md Part 4 set this rule and named no
   file; that decision supplies the name.

   THE RULE, in full:
     - Every raw length in this site lives here. Nowhere else. `tools/check-source.js`
       enforces it and fails the build otherwise.
     - Every component rule references var(--…) from this file or from the brand
       token contract, and never a literal.
     - COLOUR TAKES NO CARVE-OUT. There is no hex in this file and there never
       will be. Not one exception, not for a scrim, not for a one-off. Colour
       comes from the token contract or it does not appear.

   WHY THIS FILE EXISTS AT ALL — three genuine gaps in the authr-gradient token
   contract, confirmed by reading the export rather than inferred:

     1. No fluid display scale. Zero `clamp(` in any brand's tokens. The type
        ceiling is --text-4xl: 34px, and a hero on a wide viewport needs to grow
        past it. Iðavöllr's own marketing-landing.html hit this and wrote raw
        pixels inside clamp() at three places — that is the evidence this is a
        missing token rather than a Skald preference.
     2. No spacing step above --space-16: 64px, confirmed as the top of a
        ten-step scale. Section rhythm in the reference class needs 120–200px.
     3. No hairline or measure primitive, so a 1px rule and a text measure would
        otherwise scatter literals through every component.

   All three are raised upstream as SKALD-ROOT-005 asks 1 and 2.

   THIS FILE IS DELIBERATELY SELF-LIQUIDATING. When Iðavöllr ships a fluid display
   scale and a step above --space-16, this file should SHRINK TO NOTHING AND BE
   DELETED — not kept for convenience. That is SKALD-D-012's revisit trigger.

   Why one named file beats a convention: the design system's drift checker is a
   copy-paste detector, so it catches a component that hardcodes a brand value but
   cannot see a value that was never a token. Confining the non-tokens to one
   greppable file is what keeps that difference legible.
   ============================================================================= */

:root {
  /* --- Fluid display type -------------------------------------------------
     Floors match the shipped scale so nothing shrinks below what the contract
     already sanctions; ceilings are the growth the contract cannot express.
     --display-1 ceiling is deliberately above --text-4xl (34px): that is the
     entire reason this layer exists. Large or CONDENSED display caps remain
     BLOCKED BY THE BRAND — that is an Iðavöllr conversation, not a Skald
     decision, and this file does not reopen it. */
  --display-1: clamp(32px, 6vw, 58px);      /* hero statement — 6.1 */
  --display-2: clamp(24px, 3.6vw, 38px);    /* section heads, statistic band — 6.2, 6.7 */
  --display-3: clamp(18px, 2.2vw, 24px);    /* lede, pull quote, beat body lead */

  /* --- Section rhythm -----------------------------------------------------
     SLA-class air. Two to three times the top of the shipped space scale, which
     is why multiplying --space-16 in every component was the worse option. */
  --rhythm-section: clamp(80px, 10vw, 176px);
  --rhythm-section-tight: clamp(48px, 6vw, 96px);

  /* --- Primitives the contract has no name for --------------------------- */
  --hairline: 1px;                          /* the full-width rule under the hero, section borders */
  --measure: 66ch;                          /* text measure; design_language.md Part 4 indents ~22% */
  --measure-narrow: 46ch;                   /* beat propositions, signature block */
  --hero-min-height: 74vh;                  /* full-bleed hero, matching the brand template */
}
