/* ============================================================
   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) ---
     Matched to the navy of the Focus Physical Therapy round badge logo
     (#072b57, sampled from assets/images/logo/focus-logo-badge.webp). */
  --accent-h: 213;
  --accent-s: 85%;
  --accent-l: 18%;
  --accent: hsl(var(--accent-h) var(--accent-s) var(--accent-l));
  --accent-strong: hsl(var(--accent-h) var(--accent-s) 12%);
  --accent-soft: hsl(var(--accent-h) 60% 92%);
  --accent-glow: hsl(var(--accent-h) 80% 45% / 0.35);
  --accent-on: #ffffff;
  /* The exact logo navy, for primary (solid) buttons everywhere. --accent is
     re-tinted lighter inside .on-ink so accent text/lines stay readable on
     dark sections; buttons read this token so they stay the logo color. */
  --brand: #072b57;
  --brand-strong: hsl(213 85% 12%);
  /* Lighter tint of the logo navy used as the accent on dark sections. */
  --accent-on-dark: hsl(var(--accent-h) 75% 66%);

  /* --- Neutrals (navy-tinted to match the logo blue) --- */
  --ink: hsl(214 60% 9%);
  --ink-2: hsl(214 50% 12%);
  --ink-3: hsl(214 44% 16%);
  --bone: hsl(215 33% 97%);
  --bone-2: hsl(215 30% 93%);
  --white: #ffffff;
  --line-ink: hsl(214 20% 90%);
  --line-bone: hsl(215 20% 85%);

  /* --- Text on dark / light --- */
  --text-on-ink: #f2f5f8;
  --text-on-ink-dim: hsl(214 20% 74%);
  --text-on-bone: #0f2033;
  --text-on-bone-dim: hsl(214 14% 38%);

  /* --- Highlight (stars, sparks, eyebrows, checkmarks) — matched to logo green.
     Darkened from the logo's #90c64b (1.83:1 on bone, fails AA text/icon
     contrast) to the nearest same-hue shade that clears 4.5:1 on every
     light background it's used against (bone, bone-2, white). On dark
     (.on-ink) sections the true logo green is restored (see base.css),
     since the darkened shade is illegible on navy. */
  --ember: #517425;
  --ember-on-dark: #8fc74b;
  --ember-soft: hsl(86 45% 90%);

  /* --- 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: 96px;
}
