/* ORIONPATH brand tokens. One file, the only place a colour, a gradient, a shadow or a radius is written down.
   Measured from the canonical site (orionpath.io, the two pages built from ~/orionpath-src/build.py) on 2026-09-20.
   If this file and that site disagree, the site wins: re-measure and correct this file.
   Service stylesheets read these and never type a hex value, a gradient or a shadow of their own.
   Light mode only. A dark version was tried and rejected by the owner. */
:root {
  color-scheme: light;

  /* ---- colour: navy ink on a warm paper ground. Pink is an accent and is used ON NAVY only, never as text on the paper. ---- */
  --ground: #F5F2EC;                    /* warm off-white. Not grey, not #fff */
  --ink: #052444;
  --navy: #052444;                      /* the brand colour */
  --muted: #3F556C;
  --lift: #FAF9F6;                      /* raised surface; #fff where crisper */
  --tint: #ECEFF2;
  --pink: #F2A7B8;
  --pink-hi: #FFC6D2;
  --rule: rgba(5, 36, 68, 0.14);
  --rule-strong: rgba(5, 36, 68, 0.32);
  --link-rule: rgba(5, 36, 68, 0.4);                 /* the soft underline under a link */

  /* ---- spacing scale ---- */
  --s1: 0.5rem; --s2: 1rem; --s3: 1.5rem; --s4: 2rem; --s5: 3rem; --s6: 5rem;

  /* ---- vertical rhythm ----
     The one knob for how much room a page breathes. Section padding is set on
     .sec itself (NOT on a descendant), so it applies whatever the markup nests
     inside it. Raised 2026-09-25 (#29): the old values read as cramped on every
     ORIONPATH site, and the desktop step was a magic 5.5rem that no token owned. */
  --sec-y: 4.5rem;                      /* section padding-block, small screens */
  --sec-y-lg: 7.5rem;                   /* section padding-block, from 720px up */
  --flow: 1.5rem;                       /* between stacked blocks inside a section */
  --flow-lg: 2rem;                      /* the same, from 720px up */

  /* ---- radii: nothing else ---- */
  --r-card: 10px;                       /* cards, buttons, fields */
  --r-chip: 6px;                        /* tags and chips */
  --r-tick: 3px;                        /* focus rings on links, checkboxes, small marks */
  --r-dot: 50%;

  /* ---- type ---- */
  --font: "Instrument Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --track-display: -0.048em;            /* large display: -0.048 to -0.055 */
  --track-display-xl: -0.055em;
  --track-head: -0.03em;                /* headings: -0.03 to -0.04 */
  --track-head-lg: -0.04em;
  --track-sub: -0.02em;                 /* subheads: -0.015 to -0.02 */
  --track-sub-sm: -0.015em;
  --track-body: -0.011em;               /* body: -0.01 to -0.012 */
  --track-label: 0.005em;               /* small labels: +0.005 to +0.01 */
  --size-display: clamp(2.5rem, 10.6vw, 4.7rem);

  /* ---- layout ---- */
  --wrap: 74rem;
  --gutter: 24px;                       /* 48px from the breakpoint up */
  --tap: 44px;

  /* ---- on-navy text ---- */
  --on-navy: var(--ground);
  --on-navy-soft: rgba(245, 242, 236, 0.78);
  --on-navy-rule: rgba(245, 242, 236, 0.26);
  --on-navy-link-rule: rgba(245, 242, 236, 0.5);

  /* ---- depth: layered, directional light. Never a flat pastel wash. ---- */
  /* navy panels */
  --grad-navy: linear-gradient(135deg, #0C3866 0%, #052444 48%, #031C36 100%);
  --grad-navy-lift: linear-gradient(180deg, #1A4C82 0%, #0B3157 48%, #052444 100%);
  /* ambient light, offset off-canvas */
  --glow-navy: radial-gradient(ellipse 46rem 26rem at 8% -6rem, rgba(40, 96, 160, 0.45), rgba(40, 96, 160, 0) 100%);
  --glow-pale: radial-gradient(ellipse 44rem 24rem at 24% 14rem, rgba(255, 253, 249, 0.85), rgba(255, 253, 249, 0) 100%);
  --haze-navy: radial-gradient(ellipse 72rem 30rem at 28% -3rem, rgba(8, 40, 78, 0.095), rgba(8, 40, 78, 0.04) 55%, rgba(8, 40, 78, 0) 100%);
  /* pink surfaces (on navy) */
  --grad-pink: linear-gradient(180deg, #FFC6D2 0%, #F2A7B8 100%);
  --grad-pink-hi: linear-gradient(180deg, #FFD6DF 0%, #F7B5C4 100%);
  /* cool paper for a section that needs to read as a different surface */
  --grad-tint: linear-gradient(180deg, #E8ECEF 0%, #F0F2F4 100%);

  /* shadows are layered and carry an inset highlight, which is what stops a surface reading as a flat rectangle */
  --shadow-card: 0 0 0 1px rgba(5, 36, 68, 0.12), 0 34px 60px -34px rgba(5, 36, 68, 0.55), 0 12px 22px -14px rgba(5, 36, 68, 0.25);
  /* the same shadow with its long drop taken out: for surfaces that repeat on a page, so they are not stamped */
  --shadow-card-rest: 0 0 0 1px rgba(5, 36, 68, 0.12), 0 12px 22px -14px rgba(5, 36, 68, 0.25);
  --shadow-btn: inset 0 1px 0 #F2A7B8, inset 0 2px 0 rgba(255, 198, 210, 0.22), inset 0 -1px 0 rgba(0, 0, 0, 0.28), 0 18px 32px -18px rgba(5, 36, 68, 0.7), 0 2px 4px rgba(5, 36, 68, 0.25);
  --shadow-btn-hover: inset 0 1px 0 #FFC6D2, inset 0 2px 0 rgba(255, 198, 210, 0.3), inset 0 -1px 0 rgba(0, 0, 0, 0.28), 0 24px 36px -18px rgba(5, 36, 68, 0.75), 0 3px 6px rgba(5, 36, 68, 0.3);
  --shadow-btn-pink: inset 0 1px 0 rgba(255, 255, 255, 0.55), 0 20px 34px -16px rgba(0, 0, 0, 0.55);
  --shadow-btn-pink-hover: inset 0 1px 0 rgba(255, 255, 255, 0.7), 0 26px 38px -16px rgba(0, 0, 0, 0.6);

  /* ---- choice controls: checkboxes, radios and the chips they sit in.
     The native control is replaced (appearance: none), so every part of it —
     the ring, the fill, the tick — is drawn from these. ---- */
  --ctrl: 1.375rem;                     /* control diameter. Both shapes are circles. */
  --grad-control: linear-gradient(180deg, #FFFFFF 0%, #FAF9F6 100%);
  --grad-choice: linear-gradient(180deg, rgba(255, 255, 255, 0.92) 0%, rgba(236, 239, 242, 0.5) 100%);
  --grad-choice-hi: linear-gradient(180deg, #FFFFFF 0%, rgba(236, 239, 242, 0.82) 100%);
  --shadow-control: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 1px 2px rgba(5, 36, 68, 0.1);
  --shadow-control-on: inset 0 1px 0 rgba(255, 255, 255, 0.22), 0 2px 6px -1px rgba(5, 36, 68, 0.45);
  --shadow-choice: 0 1px 2px rgba(5, 36, 68, 0.06);
  --shadow-choice-hi: 0 8px 18px -10px rgba(5, 36, 68, 0.5), 0 1px 2px rgba(5, 36, 68, 0.1);
  --glow-field: radial-gradient(ellipse 30rem 14rem at 50% -4rem, rgba(40, 96, 160, 0.07), rgba(40, 96, 160, 0) 100%);
}
