/* Polish round 1 (2026-10-02): the design is set and ice blue is the palette (Aaron, 2026-10-02: "the latest ice blue
   iteration being the one i want to work on going forward"). The page has one token set, on :root: round six v5's ice
   blue (accent #9FE0FF) resolved over the base set, value for value, so every computed colour is what the ice-blue
   palette rendered. The palette switch and the other four palettes (Oryzo, Veblen, Mint, Amber) are retired; their
   values are in this file's history (round six v3.2 to v5) and in system.md.
   Ice blue's derivation (round six v3.2): Oryzo's set turned to the accent's hue (199 to 200 degrees), each colour at
   Oryzo's HSV saturation and CIE L*; the rim at half saturation; cream #F5F5F7; v5 (b) the icier accent #9FE0FF with
   the ground, pool and hue unchanged; v5 (a) the set's light in the palette's own hue. */
:root {
  /* ground and ink: ice blue's, Oryzo's ground and ink turned to the accent's hue (round six v3.2) */
  --ground: #040C10;            /* Oryzo's ground #100904 (s 75%, L* 2.8) at the accent's hue */
  --cream: #F5F5F7;             /* ink, 18.11:1 on the ground */
  --cream-70: rgba(245,245,247,.64); /* muted, 7.60:1 */
  --cream-82: rgba(245,245,247,.82); /* 2026-10-15 (layout C2): the panel's one block, read as the source; 11.4:1 on the plate */
  --cream-45: rgba(245,245,247,.6); /* the struck asks and the closed questions, 6.78:1 */
  --cream-20: #373E41;          /* hairline, 1.81:1 */
  --cream-12: rgba(245,245,247,.12);
  --orange: #9FE0FF;            /* round six v5 (b): the icier accent (was #5CC8FF); ground, pool and hue (199 deg) unchanged */
  --on-accent: #040C10;         /* v5: the button label in the ground's dark blue, so the button reads as a frosted plate */
  --ground-rgb: 4, 12, 16;
  --frame-ring: rgba(245,245,247,.3);
  --glow-a: rgba(22, 83, 114,0.5); /* Oryzo's bottom-left light (#7A3E18 at .5), at the accent's hue (v5 (a): the palette's own hue) */
  --glow-a0: rgba(22, 83, 114,0);
  --glow-b: rgba(17, 43, 57,0.35); /* and its top-right (#3C2212 at .35) */
  --flash-a: rgba(70, 193, 255,0.95); /* the close's flash: Oryzo's #FFA046 at the accent's hue, then the accent as Oryzo's */
  --flash-b: rgba(159, 224, 255,0.55);
  --flash-c: rgba(159, 224, 255,0.16);
  --accent-rgb: 159, 224, 255;
  --sweep-hot: rgba(27, 63, 80,1); /* at the pool's colour (no rule reads it in round six) */
  --outline-stroke: rgba(159, 224, 255,0.55);
  --price-bg: var(--ground);    /* the hero price stands on the ground in the accent */
  --price-ink: var(--orange);
  --bloom-dark: #00537D;        /* the bloom's two shades: Oryzo's #8A3200 and #FFB070 at the accent's hue */
  --bloom-light: #6ECCFB;
  /* v63 (the reference's build, spec §4.2-§4.3): the render's border light, round the frame's corners from top left: the DOM bloom's
     stops and the light shade again (the reference's own four are its brand); its gain; the hand's highlight gains (tuned on stills) */
  /* round twelve, item 4 (ruling 75a): four stops of our own, round the corners from top left, each with a channel at or near FF and the hues
     ~60° or more apart, so they survive the pass's cube and double: ice blue, gold (the Value figure's family), rose, violet. Was
     var(--bloom-dark), var(--bloom-light), #F4FBFF, var(--bloom-light) (the band read cyan-blue and white, one corner black) */
  --border-c0: #2E9BD0;          /* the dial border (2026-11-07): an even ice blue; the lean toward the seconds light is the pass's spot (--dial-spot-k, --dial-spot-n); was the rainbow #4FD8FF #FFD54A #FF6FA8 #B88CFF */
  --border-c1: #2E9BD0;
  --border-c2: #2E9BD0;
  --border-c3: #2E9BD0;
  --border-gain: 1;
  --dial-gain: 1.15;
  --dial-skin-k: .3;              /* version 72: the edge light's share on the skin (hand3d setSkinLight k), so the vivid glow does not bring back the wet sheen (ruling 108) */
  --border-pad-k-phone: .055;     /* version 74: the edge glow's depth on a phone, a share of the short side (the desk's .1; at .1 a 390 px phone's glow reached ~120 px in: Aaron, "too thick") */
  --dial-spot-k: 2;              /* version 73: 5 -> 2 (at 5 the lean, reaching the forearm where it meets the foot at 26-34 s, laid a pale sheen on it: gloss 3.8-5.1 % at 390x844; 3 left 3.45 % at 375x812 s34; at 2 <= .3 %). The dial border: the edge raised up to 1 + k toward the seconds light (hand3d 1.14.0 setBorderSpot) */
  --dial-spot-n: 16;             /* its falloff, cos^n */              /* the dial border: the pass's gain under the dial (the spike's) */
  --dial-track: #F5F5F7;         /* the minute track's ticks (cream) */
  --dial-tip: #FFC44A;            /* version 72 (the seconds hand): the hand, the hour markers and the passed ticks, gold */
  --dial-tip-deep: #B07A1C;       /* the markers' deep gold */
  --dial-lume: #78ECFF;           /* the hand's lume pip glow */           /* the seconds light's tip and the ticks it has just passed: the Value figure's sand */
  --dial-core: #FFF6E0;          /* the tip's warm core */
  --dial-glow: #9FE0FF;          /* the bloom round the tip: the price's ice blue */
  --highlight-strip: .002;        /* round twelve (ruling 75d): the skin's highlight colour from the reference's strip of the four, one repeat per 500 mm of bind space along the hand's xy diagonal (hand3d 1.13.0; ruling 75d: k .002, the best measured skin range) */
  --border-bloom: 3.5;           /* round twelve (ruling 75e): the border's selective bloom (hand3d 1.13.0), its amount on the reference's level weights; 3.5 brings 60 px in on the corner diagonal to the reference's .10+ (1440x900) */
  --highlight-spec: 40;          /* version 73: 60 -> 40 (the longer forearm in view below the watch read 3.3-7.0 % at 375x812; 40: 0.11 %). ruling 108 (the V-ARM round): 150 -> 60 (80 left 667x375 at 3.0-3.2 %) with the skin light pulled warm (index.html setSkinLight): the gloss <= 3 % */         /* v63 Task 5, tuned on stills at colour 1 (1440x900, 390x844): the speculars read as the gradient's light on the wrist's
                                    and fingers' edges, no pixel at 250+; 300 (the reference's) spreads a pale band down the wrist */
  --highlight-scatter: 100;       /* the back-scatter is in --ground (#040C10, near black): invisible at 100 and 1000 (<30 px changed), first seen at 10000 */

  /* the setting (r4): a photographer's sweep, painted in the watch's own WebGL scene */
  --set-wall: #071014;
  --set-pool: #1B3F50;          /* v5 (a): v3.3 restored, the palette's own hue */
  --set-key: #DCF3FF;
  --set-rim: #A2C9DC;
  --set-horizon: .24;           /* the floor meets the wall this far below the watch's centre line, in viewport heights */
  /* round six v3.3: the set's colour amount brought down to Oryzo's object sections (frame averages, r6-probe/frame-avg.mjs).
     Hue-free; the watch's own lights are untouched. */
  --set-pool-size: .6;          /* the pool's extent, as a share of the module's (1 was r4–v3.2) */
  --set-pool-k: .3;             /* the pool's strength, as a share of the module's */
  --set-lit: .45;               /* how much of the key's and the fill's light the wall and floor take (the key's spill); the watch takes all of it */
  --set-list: .6;               /* the setting under the list's shifting watch: the same sweep, faded (fix round A) */
  --grain: .07;                 /* film grain over the whole frame */
  --scrim: .82;                 /* round five: the ground's alpha in the local scrims behind text over light (AA) */

  /* the evidence panel (2026-10-04): an opaque plate, one step up from the ground in the ground's own hue, with a
     hairline all round and a soft offset shadow, so it reads as a panel at a glance over the lit sweep (Aaron: "too
     translucent... you can almost not even tell that it's in a panel"). No blur, no glow. */
  --plate: #0B171D;             /* 1.08:1 off the ground, opaque; it reads against the lit sweep, which is lighter */
  --plate-edge: #364A53;        /* the hairline round it: 1.96:1 on the plate, 2.12:1 on the ground (the page's hairline is 1.81:1) */
  --plate-rule: rgba(245,245,247,.09); /* the divider inside it */
  --wall: #171D20;              /* 2026-10-16 (v54): the lit wall behind the hanging watch, rgb(23,29,32); the phone's headline band stands on it so the plate reads as on the desk */
  --wall-rgb: 23, 29, 32;
  --lockup-line: #8E9397;       /* 2026-10-16: the phone's tagline over the big mark; 5.8:1 on the sweep (AA), the mark keeps the stage's grey */
  --plate-shadow: 0 14px 26px -12px rgba(0,0,0,.78), inset 0 1px 0 rgba(245,245,247,.05);
  --panel-foot: 5vh;            /* the panel's foot sits this far above the fold on a desk */

  /* the value graph 2.1 (module defaults, restated so the page owns them): the sales line in sand, the asks band the
     ink at low alpha, our price the accent as a dashed rule with a handle. Told apart by form first, then colour. */
  --vg-ground: var(--ground);   /* the points' rings and the readout; the panel sets the plate */
  --vg-ink: #F5F5F7;
  --vg-muted: rgba(245,245,247,.66);
  --vg-rule: rgba(245,245,247,.16);  /* dotted guides, so a step up from a solid hairline */
  --vg-band: rgba(245,245,247,.14);
  --vg-accent: var(--orange);   /* our price */
  --vg-sand: #E4B85C;           /* the sales line: sand, the colour research's blue-yellow pair to the ice-blue accent (91.9 CIE76
                                   under deuteranopia), 9.8:1 on the plate */
  --vg-sales: var(--vg-sand);

  /* type */
  --display: "Outfit", system-ui, sans-serif;
  --serif: "Literata", Georgia, serif;
  --mark-face: "Jost", "Outfit", system-ui, sans-serif; /* the wordmark VEBLEN: Jost 500, caps, 0.34em (Aaron, 2026-10-02) */
  --mark-track: .34em;
  --mono: "DM Mono", ui-monospace, monospace;
  --size-mark: 22px;            /* VEBLEN, 0.34em, in the chrome */
  --size-mark-hero: 100px;      /* VEBLEN behind the hanging watch */
  --size-statement: 40px;       /* caps statements, line-height .94 */
  --size-h2: 46px;
  --size-scn: 30px;             /* round six: the scenes headline once it has landed at the left (phone 21px) */
  --size-kinetic: 150px;        /* the line that passes behind the watch (phone 66px) */
  --size-body: 18px;
  --size-label: 12px;           /* uppercase labels, 500 */
  --size-price: 44px;           /* the hero price on its block (ice blue: the accent on the ground) */
  --size-figure: 32px;          /* the price in a data panel */

  /* layout */
  --pad: 45px;                  /* side padding (phone 16px) */
  --vh: 100vh;                  /* polish round 1: the viewport height until the script measures it (it sets --vh in px), so the
                                   pinned stages have their height from the first paint and nothing shifts when it arrives */
  --step-lift: 118px;           /* after you click: the step's numeral sits this far above the centre line */
  --step-n: 74px;               /* the numeral's line box */
  --step-gap: 16px;             /* numeral to heading */
  --r-card: 12px;
  --r-pill: 36px;
  --frame-gap: 56px;            /* the measuring frame sits this far outside the watch head */
  --panel-w: 470px;             /* the table's data panel */
  --hdata-w: 640px;             /* the hero's data panel (figures + full graph) */

  /* motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --lenis-lerp: .085;           /* damped wheel on a mouse; native on touch */
  --beat: .07;                  /* a text beat fades over 7% of its section's scroll */
  --panel-cross: .6s;           /* table panel crossfade */
  --roll-stagger: 18ms;         /* nav letter roll */
  --watch-smooth: .085s;        /* the module's pose smoothing time constant */
}
