/* ============================================================
   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) ---
     Magnolia Physical Therapy: #0858a8, measured off the 1939x716 logo master
     (deep azure). 6.95:1 on white. Dark sections never use --accent as text
     (they use --text-on-ink*), so the accent only meets dark ground as a solid
     button behind white --accent-on text, which stays legible.
     --accent-strong dropped from the master's 27% to 24% because the brand L is
     35% not 42%: at 27% the hover state was only 8 points darker and read flat. */
  --accent-h: 210;
  --accent-s: 91%;
  --accent-l: 35%;
  --accent: hsl(var(--accent-h) var(--accent-s) var(--accent-l));
  --accent-strong: hsl(var(--accent-h) var(--accent-s) 24%);
  --accent-soft: hsl(var(--accent-h) 60% 92%);
  --accent-glow: hsl(var(--accent-h) 80% 45% / 0.35);
  --accent-on: #ffffff;

  /* --- Neutrals --- */
  --ink: #0e1b21;
  --ink-2: #14252d;
  --ink-3: #1b323c;
  --bone: #f6f3ec;
  --bone-2: #efeae0;
  --white: #ffffff;
  --line-ink: hsl(200 20% 90%);
  --line-bone: hsl(40 15% 84%);

  /* --- Text on dark / light --- */
  --text-on-ink: #f2f5f4;
  --text-on-ink-dim: hsl(190 15% 72%);
  --text-on-bone: #17262d;
  --text-on-bone-dim: hsl(200 12% 38%);

  /* --- Highlight (stars, tiny sparks ONLY) ---
     Contrast audit: original #f2a33c (hsl(34 87% 59%)) was 1.88:1 on --bone
     and 2.08:1 on white/near-white star-rating cards -- failing the 3:1
     non-text/icon threshold every star icon needs there (WCAG 1.4.11).
     Darkened to L 40% (same hue/sat) -- 3.37:1 on --bone, 3.73:1 on white,
     3.11:1 on --bone-2, and still 4.70:1 on --ink (was 8.42:1, plenty of
     margin left). Non-brand utility color, fixed directly per audit scope. */
  --ember: #bf720d;

  /* --- 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(200 30% 10% / 0.08), 0 2px 8px hsl(200 30% 10% / 0.05);
  --shadow-lift: 0 18px 50px hsl(200 35% 10% / 0.16), 0 6px 16px hsl(200 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;
}
