/* ============================================================
   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) ---
     Elevate Physical Therapy and Fitness brand green, darkened from the
     original signage sample (#23a454, 143 65% 39%) for accessibility.
     White text on a solid --accent fill (primary CTA buttons, the sticky
     mobile bar's Book button, selected Pain Check chips) measured ~3.2:1 at
     39% lightness, short of WCAG AA's 4.5:1 for normal-weight text. 32%
     lightness (#1d8745) is the nearest shade that clears it: verified 4.58:1
     against white, approved 2026-09-09 (see docs/accessibility-report.md
     Section 4). Same hue/saturation as the client's sampled brand color,
     same signage source, just darkened enough to pass. */
  --accent-h: 143;
  --accent-s: 65%;
  --accent-l: 32%;
  --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 --- */
  --ink: hsl(143 40% 9%);
  --ink-2: hsl(143 38% 13%);
  --ink-3: hsl(143 38% 17%);
  --bone: #f6f3ec;
  --bone-2: #efeae0;
  --white: #ffffff;
  --line-ink: hsl(143 20% 90%);
  --line-bone: hsl(40 15% 84%);
  /* --line-bone is ~1.3:1 against --bone: fine for a subtle card divider, but not enough
     for a form input's own boundary when the input's fill matches the page background
     (the border is the only visual cue the field exists). Used only there. */
  --line-bone-strong: hsl(40 15% 48%);

  /* --- Text on dark / light --- */
  --text-on-ink: #f2f5f4;
  --text-on-ink-dim: hsl(143 15% 72%);
  --text-on-bone: #17262d;
  --text-on-bone-dim: hsl(143 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(143 30% 10% / 0.08), 0 2px 8px hsl(143 30% 10% / 0.05);
  --shadow-lift: 0 18px 50px hsl(143 35% 10% / 0.16), 0 6px 16px hsl(143 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;
}
