/* ============================================================
   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) ---
     Exact pixel sample from assets/images/logo.png (#EF6F1D, the most
     frequent orange pixel in the file — verified via direct pixel count). */
  --accent-h: 23;
  --accent-s: 87%;
  --accent-l: 53%;
  --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);
  /* Navy, not white: white-on-accent only hits 3.04:1 (fails WCAG AA 4.5:1
     for normal text) at this accent's brand lightness. Ink text on the
     unmodified accent hits 5.96:1 and keeps both brand colors exactly as
     sampled from the logo (no accent/ink value changes needed). */
  --accent-on: var(--ink);

  /* --- Neutrals ---
     Brand navy (not teal-black): matches the client's existing logo/brand navy
     (~#0C1C65). Same one-variable pattern as the accent above. */
  --ink-h: 229;
  --ink-s: 55%;
  --ink-l: 12%;
  --ink: hsl(var(--ink-h) var(--ink-s) var(--ink-l));
  --ink-2: hsl(var(--ink-h) 50% 15%);
  --ink-3: hsl(var(--ink-h) 42% 20%);
  --bone: #f6f3ec;
  --bone-2: #efeae0;
  --white: #ffffff;
  --line-ink: hsl(var(--ink-h) 20% 90%);
  --line-bone: hsl(40 15% 84%);
  /* line-bone is a decorative hairline (1.3:1 against bone/white on purpose,
     it's a divider, not information). Where that same warm-gray line IS the
     only visible boundary of a real control (input border, clickable card),
     WCAG 1.4.11 needs 3:1, so those spots use this darker sibling instead. */
  --line-control: hsl(40 15% 45%);

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