/* ============================================================
   PT Template 3 — "Modern Momentum" Design Tokens
   ONE-VARIABLE REBRAND: swap --accent-h/s/l to re-skin the site.
   ============================================================ */

:root {
  /* --- Accent system (client-configurable) ---
     Client: DSC Performance — brand orange-red, originally #E31C21 (rgb 227,28,33)
     at 50% lightness. ACCESSIBILITY FIX (needs client sign-off, see
     docs/accessibility-report.md): at 50% L, --accent used as TEXT on
     --bone/--white (eyebrow labels, FAQ numerals, small links) measures
     4.25:1, failing WCAG AA's 4.5:1 for normal text. Darkened to 46% L
     (#D11A1D) clears 4.9:1 on both --bone and --white. This is the site's
     documented one-variable rebrand lever (BUILD.md); darkening it here
     also raises (not lowers) every other accent contrast pair — button
     text on accent bg goes 4.72:1 -> 5.43:1 — so nothing else regresses.
     Visually the change is a barely-perceptible deepening of the same red. */
  --accent-h: 359;
  --accent-s: 78%;
  --accent-l: 46%;
  --accent: hsl(var(--accent-h) var(--accent-s) var(--accent-l));
  --accent-strong: hsl(var(--accent-h) var(--accent-s) 27%);
  --accent-soft: hsl(var(--accent-h) 60% 92%);
  --accent-glow: hsl(var(--accent-h) 80% 45% / 0.35);
  --accent-on: #ffffff;

  /* --- Neutrals ---
     Dark scale hued off --accent-h (was a hardcoded blue-navy hue
     independent of the accent system, defeating one-variable rebrand). */
  --ink: hsl(var(--accent-h) 38% 9%);
  --ink-2: hsl(var(--accent-h) 38% 13%);
  --ink-3: hsl(var(--accent-h) 38% 17%);
  --bone: #f6f3ec;
  --bone-2: #efeae0;
  --white: #ffffff;
  --line-ink: hsl(var(--accent-h) 20% 90%);
  --line-bone: hsl(40 15% 84%);

  /* --- Text on dark / light --- */
  --text-on-ink: #f4f1f1;
  --text-on-ink-dim: hsl(var(--accent-h) 15% 72%);
  --text-on-bone: #2c1717;
  --text-on-bone-dim: hsl(var(--accent-h) 12% 38%);

  /* --- Highlight (stars, tiny sparks ONLY) --- */
  --ember: #f2a33c;

  /* --- Typography --- */
  --font-display: "Bricolage Grotesque", sans-serif;
  --font-body: "Instrument Sans", sans-serif;
  --font-quote: "Instrument Serif", serif;

  /* Fluid type scale */
  --fs-hero: clamp(2.75rem, 1.2rem + 6.5vw, 6rem);
  --fs-h2: clamp(2rem, 1rem + 3.6vw, 3.6rem);
  --fs-h3: clamp(1.35rem, 1.05rem + 1.2vw, 2rem);
  --fs-h4: clamp(1.1rem, 1rem + 0.5vw, 1.3rem);
  --fs-body: clamp(1rem, 0.95rem + 0.2vw, 1.125rem);
  --fs-small: 0.875rem;
  --fs-ghost: clamp(8rem, 20vw, 22rem); /* giant ghost numerals */

  /* --- Space & shape --- */
  --sp-section: clamp(4.5rem, 3rem + 6vw, 8.5rem);
  --sp-gap: clamp(1.25rem, 1rem + 1vw, 2rem);
  --radius-card: 20px;
  --radius-lg: 32px;
  --radius-pill: 999px;

  /* --- Elevation --- */
  --shadow-soft: 0 6px 24px hsl(var(--accent-h) 30% 10% / 0.08), 0 2px 8px hsl(var(--accent-h) 30% 10% / 0.05);
  --shadow-lift: 0 18px 50px hsl(var(--accent-h) 35% 10% / 0.16), 0 6px 16px hsl(var(--accent-h) 35% 10% / 0.08);
  --shadow-glow: 0 0 60px var(--accent-glow);

  /* --- Motion --- */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --dur-reveal: 700ms;

  /* --- Layout --- */
  --container: 1200px;
  --nav-h: 76px;
}
