/* tokens.css — White Sand Salon design tokens.
 * Brand: black/white elegance, script logo, gold accent only.
 * Gold + neutrals aligned to the onboarding flow (onboard/index.html) so the
 * whole property reads as one system.
 * Fonts (client brand spec): Montserrat — Light 300 body, Medium 500 UI/nav/
 * buttons, Medium/SemiBold headings — plus a script accent face for the
 * flourishes. Self-hosted below from /static/fonts/ (woff2, latin + latin-ext).
 * Each family ships as a single variable woff2 per style, so the weight range on
 * the @font-face covers every weight the CSS uses (no per-weight file). All use
 * font-display:swap so text paints immediately in the fallback and swaps in.
 */

/* ── Montserrat (brand text face) — variable 100–900, roman + italic ──
 * Client brand spec (Shawn, 2026-07-26): "Text Font: Montserrat Medium and
 * Light". Montserrat is also what her live WordPress/Elementor kit sets as the
 * primary/secondary/text typography, so this matches the real brand — it
 * replaces the Cormorant Garamond / Mulish pairing we had invented.
 * Self-hosted woff2 from Google Fonts (SIL OFL), latin + latin-ext, one
 * variable file per style so every weight (300 Light … 600 SemiBold) is covered
 * by two requests. font-display:swap so text paints immediately. */
@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/static/fonts/montserrat-normal-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/static/fonts/montserrat-normal-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Montserrat";
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
  src: url("/static/fonts/montserrat-italic-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Montserrat";
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
  src: url("/static/fonts/montserrat-italic-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ── Sacramento (script accents) — single weight ──
 * PLACEHOLDER. The brand script is "Benedict" (the brush script in her logo
 * lockup). It is a commercial font and her live site does NOT serve it as a
 * webfont (the wordmark there is a PNG), so there is nothing legitimate to
 * self-host yet — pending the font file from Lori/Shawn. Until then the header
 * wordmark uses the real logo IMAGE (true Benedict letterforms) and the small
 * script accents stay on Sacramento, the closest already-licensed script we
 * self-host. Swap this @font-face + --script when the Benedict file arrives. */
@font-face {
  font-family: "Sacramento";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/static/fonts/sacramento-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Sacramento";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/static/fonts/sacramento-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  /* ── Brand neutrals (black/white elegance) ── */
  --ink: #0f0f0f;
  --ink-soft: #3e3e3e;
  --paper: #ffffff;
  --sand: #faf6ee;
  --card: #fffdf8;
  --ocean-deep: #06171c;

  /* ── Gold accent (exact values from onboard tokens) ── */
  --gold: #b4914c;
  --gold-deep: #8f6f33;
  --gold-light: #dcc389;

  /* ── Lines & shadows ── */
  --line: rgba(15, 15, 15, 0.13);
  --line-strong: rgba(15, 15, 15, 0.22);
  --shadow: 0 24px 60px -30px rgba(9, 30, 35, 0.45);
  --shadow-soft: 0 14px 40px -24px rgba(9, 30, 35, 0.35);

  /* ── Typography ──
   * One family, three roles (client brand spec):
   *   --sans    body/UI      Montserrat Light 300, Medium 500 for emphasis
   *   --display headings     Montserrat Medium 500 (SemiBold 600 sparingly)
   *   --script  accents      Benedict when we have the file; Sacramento today
   * --serif is kept as a legacy ALIAS of --display so the ~50 existing call
   * sites keep working; new CSS should use --display. */
  --sans: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --display: var(--sans);
  --serif: var(--display);
  --script: "Sacramento", "Brush Script MT", cursive;

  /* Weights — named so the brand spec is legible at every call site. */
  --fw-light: 300;
  --fw-regular: 400;
  --fw-medium: 500;
  --fw-semibold: 600;

  /* Montserrat sets wider than Mulish/Cormorant: large display type needs
   * slightly negative tracking to hold together, small caps-y UI type needs
   * positive tracking to stay elegant rather than cramped. */
  --ls-display: -0.015em;
  --ls-tight: -0.005em;
  --ls-wide: 0.08em;
  --ls-wider: 0.15em;

  --fs-100: 0.75rem;
  --fs-200: 0.875rem;
  --fs-300: 1rem;
  --fs-400: 1.125rem;
  --fs-500: 1.375rem;
  --fs-600: 1.75rem;
  --fs-700: 2.25rem;
  --fs-800: clamp(2.15rem, 4.8vw, 3.5rem);

  --lh-tight: 1.1;
  --lh-snug: 1.3;
  --lh-body: 1.65;

  /* ── Spacing scale (8pt-ish) ── */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4rem;
  --space-9: 6rem;

  /* ── Layout ── */
  --container: 1200px;
  --container-narrow: 760px;
  --radius: 4px;
  --radius-lg: 12px;

  /* ── Motion ── */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --dur-fast: 160ms;
  --dur: 320ms;
  --dur-slow: 620ms;

  /* ── Editorial image grade (elevation Move 1) ──
   * A single muted, warm grade unifies a mixed client photo set into one
   * art-directed shoot (the Rita Hazan "desaturate the environment" move). Cards
   * transition to --img-grade-hover (full colour) on hover; static imagery
   * (heroes, post figures) keeps the grade. Applied CSS-first via filter — the
   * mirrored /wp-content/uploads/ bytes are never re-encoded. */
  --img-grade: grayscale(0.32) saturate(0.88) contrast(1.07) brightness(1) sepia(0.09);
  --img-grade-soft: grayscale(0.18) saturate(0.92) contrast(1.05) brightness(1.01) sepia(0.06);
  --img-grade-hover: grayscale(0) saturate(1) contrast(1) brightness(1) sepia(0);
}

/* Reduced-motion kill-switch: honored globally and available as an opt-in class. */
@media (prefers-reduced-motion: reduce) {
  :root {
    --dur-fast: 0ms;
    --dur: 0ms;
    --dur-slow: 0ms;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

.no-motion,
.no-motion *,
.no-motion *::before,
.no-motion *::after {
  animation-duration: 0.001ms !important;
  transition-duration: 0.001ms !important;
  scroll-behavior: auto !important;
}
