/* ============================================================
   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) ---
     Alpha Physical Therapy brand purple #502585 == hsl(267 56% 33%). */
  --accent-h: 267;
  --accent-s: 56%;
  --accent-l: 33%;
  --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: #160e20;
  --ink-2: #20152e;
  --ink-3: #2a1b3c;
  --bone: #f6f3ec;
  --bone-2: #efeae0;
  --white: #ffffff;
  --line-ink: hsl(267 20% 90%);
  --line-bone: hsl(40 15% 84%);

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

  /* --- Brand gold: sampled from the logo's gold mark (#fdc526, the dominant
     gold pixel in assets/images/logo-color.webp). Used for primary CTAs,
     highlights, icons, dividers and accent bands.
     RULES: gold BACKGROUND always takes --on-gold (dark) text; NEVER set gold
     text on white / bone / lavender (fails AA). Gold text is only allowed on
     the dark ink/purple sections. --ember is kept as an alias for stars. --- */
  --gold: #fdc526;
  --gold-hover: #ffd54d;
  --gold-deep: #c99400;        /* graphics only (borders, rules on light), never text */
  --on-gold: #160e20;
  --ember: var(--gold);

  /* --- Light "lavender" band: the lighter alternative to --ink sections --- */
  --lav: #f4effb;
  --lav-2: #e9e0f6;
  --text-on-lav: #1c1230;
  --text-on-lav-dim: #4d4262;

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