/* =====================================================================
   The Thickshake Factory — Design System tokens  (v4.0 · 2026-11-19)
   Source of truth: brand-lock v2.7 (LOGO MD FILES 2026/TTSF_brand-lock.md)
   + the newest built expression (ttsf-cinematic-site, 2026-08-10).
   Copy this block verbatim. Do not invent new hex values.
   ===================================================================== */

@import url("https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Montserrat:ital,wght@0,400;0,500;0,600;0,700;0,800;1,400;1,500;1,600&display=swap");

:root {
  /* ---------- CORE PALETTE (brand-lock §2) ---------- */
  --tsf-orange:      #F15C27;  /* Factory Orange — THE brand field (often 60%+). RGB 241,92,39 · print C0 M70 Y100 K0 */
  --tsf-teal:        #17B0A8;  /* The one secondary: ice-cream cups, accents · print "Rama Green" C80 M0 Y45 K15 */
  --tsf-green:       #3E6B4E;  /* Supporting web surface/accent only (since v3.1) */
  --tsf-roast:       #6B3A1E;  /* Coffee craft accent — 10%. Coffee only */
  --tsf-cream:       #FBF3EE;  /* Panels, coffee cup, calm zones · print = orange 14% screen C0 M8 Y14 K0 */
  --tsf-latte:       #F4E9DF;  /* Foundation warm — cards, warm light surface */
  --tsf-crema:       #C8915C;  /* Foundation mid — warm bands, coffee tags, mid-tones */
  --tsf-espresso:    #2C1810;  /* Foundation dark — 6%. Text + default dark surface. Replaces black */

  /* ---------- MENU-ONLY ACCENTS (category headings on menus; nowhere else) ---------- */
  --tsf-menu-crimson: #AE071C; /* Fruity, Candy, berry — 6.7:1 on cream */
  --tsf-menu-teal:    #00434A; /* Classic, Slushes, Scoops, Cones — 10.1:1 on cream */
  --tsf-menu-green:   #304F25; /* Exotic, Ice Teas — 8.4:1 on cream */

  /* ---------- DEPTH SHADES (gradients, hover, dark moments only) ---------- */
  --tsf-orange-deep: #D44A1A;  /* hover/press, gradient end */
  --tsf-orange-dark: #A83812;  /* deepest orange, gradient end, small accents */
  --tsf-teal-deep:   #0E7F7A;  /* teal dark moments */
  --tsf-pine:        #274736;  /* green dark moments */
  --tsf-forest-ink:  #16291E;  /* green night surfaces */
  --tsf-espresso-deep:#1C0F08; /* footer, preloader, deepest surface */
  --tsf-carbon:      #0A0A0A;  /* hairlines / max-contrast type only — never a fill */

  /* ---------- SEMANTIC ---------- */
  --tsf-bg:           var(--tsf-cream);
  --tsf-bg-dark:      var(--tsf-espresso);
  --tsf-text:         var(--tsf-espresso);
  --tsf-text-muted:   rgba(44, 24, 16, .72);
  --tsf-text-on-dark: var(--tsf-cream);
  --tsf-text-on-dark-muted: rgba(251, 243, 238, .75);
  --tsf-hairline:     rgba(44, 24, 16, .10);
  --tsf-hairline-on-dark: rgba(251, 243, 238, .08);
  --tsf-action:       var(--tsf-orange);
  --tsf-action-hover: var(--tsf-orange-deep);

  /* ---------- CRAFT COLOURS (each craft owns a surface) ---------- */
  --tsf-craft-shakes:   var(--tsf-orange);   /* shakes, slushes, iced teas: product on orange */
  --tsf-craft-coffee:   var(--tsf-espresso); /* cream cup, espresso type */
  --tsf-craft-icecream: var(--tsf-teal);     /* teal + orange cup */
  --tsf-craft-cold:     var(--tsf-orange);

  /* ---------- TYPE ---------- */
  --tsf-font-display: 'Bebas Neue', 'Arial Narrow', sans-serif;      /* weight 400 ONLY */
  --tsf-font-body:    'Montserrat', 'Helvetica Neue', Arial, sans-serif; /* Gotham in licensed print */

  --tsf-size-display: clamp(80px, 13vw, 210px);   /* hero, staggered; line-height .82 */
  --tsf-size-h1:      clamp(70px, 11vw, 170px);   /* CTA / big statement; lh .87 */
  --tsf-size-h2:      clamp(52px, 8.5vw, 124px);  /* section headline; lh .9–.95 */
  --tsf-size-h3:      clamp(36px, 4.5vw, 56px);   /* sub-head; lh .95 */
  --tsf-size-card:    32px;                       /* card / product title; lh 1 */
  --tsf-size-stat:    clamp(60px, 7.5vw, 120px);  /* stat numerals; lh .9 */
  --tsf-size-body:    15px;                       /* body copy; lh 1.8, weight 500 */
  --tsf-size-label:   12px;                       /* kicker / section label; .3em, uppercase */
  --tsf-size-button:  12px;                       /* button; .18em, 700, uppercase */
  --tsf-size-micro:   10.5px;                     /* claim pills, meta; .14–.18em, 700 */

  --tsf-track-display: .02em;
  --tsf-track-label:   .3em;
  --tsf-track-button:  .18em;
  --tsf-track-nav:     .22em;
  --tsf-track-micro:   .16em;

  /* ---------- SHAPE ---------- */
  --tsf-radius-pill:  999px;  /* every button, chip, tag, claim, input */
  --tsf-radius-card:  22px;   /* product / flavour cards */
  --tsf-radius-media: 24px;   /* hero & chapter photo frames */
  --tsf-radius-image: 16px;   /* gallery / inline images */

  /* ---------- SPACE & LAYOUT ---------- */
  --tsf-gutter:        clamp(20px, 5vw, 64px);
  --tsf-section-y:     clamp(90px, 13vh, 160px);
  --tsf-max-wide:      1400px;  /* hero, chapters, stats, footer */
  --tsf-max-read:      1100px;  /* manifesto, community, long copy */
  --tsf-max-cta:       900px;
  --tsf-measure:       460px;   /* body paragraph width */
  --tsf-gap:           clamp(24px, 4vw, 60px);

  /* ---------- ELEVATION (warm, never grey) ---------- */
  --tsf-shadow-card:  0 30px 60px rgba(10, 10, 10, .45);
  --tsf-shadow-soft:  0 18px 40px rgba(44, 24, 16, .18);
  --tsf-shadow-lift:  0 14px 34px rgba(44, 24, 16, .40);
  --tsf-shadow-glow:  0 6px 24px rgba(241, 92, 39, .35);   /* orange CTA only */

  /* ---------- GHOST WORD (signature device) ---------- */
  --tsf-ghost-on-colour: rgba(251, 243, 238, .14);
  --tsf-ghost-on-dark:   rgba(251, 243, 238, .06);
  --tsf-ghost-on-light:  rgba(44, 24, 16, .10);
  --tsf-ghost-orange:    rgba(241, 92, 39, .55);

  /* ---------- MOTION ---------- */
  --tsf-ease:        cubic-bezier(.2, .7, .2, 1);   /* the one brand ease */
  --tsf-ease-line:   cubic-bezier(.2, .75, .15, 1); /* headline line-up */
  --tsf-dur-fast:    .3s;
  --tsf-dur-base:    .45s;
  --tsf-dur-reveal:  .9s;
  --tsf-reveal-y:    42px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001s !important; animation-iteration-count: 1 !important; transition-duration: .001s !important; }
}
