/*
 * tokens.css: Power & Precision Physiotherapy
 * The single source of truth for colour, type, space and motion.
 * Values are taken from the clinic's own logo and collateral, not
 * invented: the yellow is the logo field, the serif/geometric-sans
 * pairing is the logo lockup.
 */

:root {
  /* ---- Colour -------------------------------------------------
   * The brand field is a vivid yellow with pure black type. A warm
   * near-black is used for the page so the yellow does not shift
   * green against it, which a cool grey-black would cause.
   */
  --ink:        #0A0806;
  --ink-raised: #15110C;
  --ink-line:   #2C2419;

  --gold:       #FFD100;
  --gold-lift:  #FFE761;
  --gold-deep:  #B88A00;

  --bone:       #FBF8F1;
  --bone-dim:   #BDB4A4;

  /* Functional only: the "open now" signal. Never decorative. */
  --signal:     #2F7D6B;

  /* ---- Type ---------------------------------------------------
   * Playfair Display carries the logo's serif voice: POWER set in
   * tracked roman caps, Precision in bold. Jost carries the lockup's
   * widely-tracked geometric sans and all running text.
   */
  --face-display: "Playfair Display", Georgia, "Times New Roman", serif;
  --face-sans:    "Jost", "Helvetica Neue", Arial, sans-serif;

  --step--1: clamp(0.84rem, 0.82rem + 0.1vw,  0.92rem);
  --step-0:  clamp(1.00rem, 0.96rem + 0.2vw,  1.10rem);
  --step-1:  clamp(1.22rem, 1.14rem + 0.4vw,  1.46rem);
  --step-2:  clamp(1.55rem, 1.36rem + 0.95vw, 2.20rem);
  --step-3:  clamp(2.00rem, 1.62rem + 1.90vw, 3.40rem);
  --step-4:  clamp(2.45rem, 1.80rem + 3.30vw, 4.60rem);
  --step-5:  clamp(2.85rem, 1.90rem + 4.60vw, 6.00rem);

  /* ---- Space --------------------------------------------------- */
  --gutter:  clamp(1.25rem, 4vw, 3.5rem);
  --section: clamp(3rem, 4vw + 2vh, 6.5rem);
  --measure: 68ch;
  --shell:   84rem;

  /* ---- Motion -------------------------------------------------- */
  --ease-out:  cubic-bezier(0.16, 1, 0.3, 1);
  --ease-both: cubic-bezier(0.65, 0, 0.35, 1);
  --fast: 180ms;
  --slow: 620ms;

  /* The logo's signature: widely tracked geometric caps. Used only
   * where the brand itself uses it, never as a label above a heading. */
  --track-lockup: 0.38em;
}

/* One orchestrated motion moment (the preloader) is the budget.
 * Everything else answers a user action. When motion is unwelcome,
 * the page still works, it simply arrives already-arrived. */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
