/* ============================================================
   ZaZa Bags 420 — tokens v3
   SOFT · ROUNDED · GRAFFITI
   ------------------------------------------------------------
   Type: Rubik Bubbles for display (graffiti bubble lettering,
   all curves) and Rubik for everything else. One superfamily,
   so the voice and the workhorse are drawn to sit together.
   Neither is on the overused list the house type pool refuses.

   Shape: nothing square. Pills on every control, 28px on cards,
   organic blob washes behind cut-out product shots. Shadows are
   soft and tinted with the brand colour, never hard offsets.

   Colour rule, unchanged because it comes from the wordmark:
   brand colour is a FILL, never text on white. Ratios in
   design/contrast-v3.txt, all measured.
   ============================================================

   @author Thomas G. and Sophia, SOPHIA XT LLC (sophiaxt.com)
   @sophia-mark sx1 df5ae605af70 5f27644f745c W2bkteWoWB9QoICY5-65X3UyKKeMl9M9LUZ_nck1dtGoLTPn22n8aDUeZkZIXnQnf1AheZvXoO6rB45JjaLSDA
 */

/* ZaZa Fatcap — drawn for this brand, not licensed from a library.
   Source skeletons and build pipeline live in /typeface. */
@font-face {
  font-family: "ZaZa Fatcap";
  src: url("../fonts/ZaZaFatcap-Regular.woff2") format("woff2"),
       url("../fonts/ZaZaFatcap-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  /* ---- Ground ---- */
  --c-paper:      #FFFFFF;
  --c-wash-pink:  #FFF7FB;
  --c-wash-cyan:  #F2FBFF;
  --c-wash-warm:  #FFFBF2;
  --c-wash-grey:  #F7F6F9;
  --c-ink:        #141217;

  /* ---- Brand ink, off the wordmark ---- */
  --c-cyan:       #00CBFF;
  --c-pink:       #FF0066;
  --c-yellow:     #FFCC00;
  --c-orange:     #FF6600;

  /* ---- The only brand colours allowed as text on paper ---- */
  --c-cyan-ink:   #007A9B;   /* 4.93 AA */
  --c-pink-ink:   #D4005A;   /* 5.32 AA */

  /* ---- Text ---- */
  --c-text:       #141217;   /* 18.61 AA */
  --c-text-2:     #4A4650;   /*  9.20 AA */
  --c-text-mute:  #6B6675;   /*  5.55 AA */

  /* label on a brand fill: ink.
     cyan 9.73 · yellow 12.31 · pink 4.82 · orange 6.34 — all AA.
     White only on pink, and only at large sizes (3.86). */
  --c-on-fill:    #141217;

  /* ---- Lines: hairlines, not keylines. Nothing is outlined in black. ---- */
  --c-line:       #EAE7EF;
  --c-line-2:     #DCD8E4;

  /* ---- Curves. The smallest radius in the system is 14px. ---- */
  --r-pill: 999px;
  --r-xl:   32px;
  --r-lg:   24px;
  --r-md:   18px;
  --r-sm:   14px;

  /* ---- Soft, tinted shadows. No hard offsets anywhere. ---- */
  --sh-sm: 0 2px 8px rgba(20,18,23,.06), 0 1px 2px rgba(20,18,23,.04);
  --sh-md: 0 8px 24px rgba(20,18,23,.08), 0 2px 6px rgba(20,18,23,.05);
  --sh-lg: 0 20px 48px rgba(20,18,23,.10), 0 4px 12px rgba(20,18,23,.06);
  --sh-cyan: 0 14px 34px rgba(0,163,204,.26);
  --sh-pink: 0 14px 34px rgba(214,0,90,.26);
  --sh-float: 0 34px 60px -18px rgba(20,18,23,.30);

  /* ---- Type ---- */
  --font-display: "ZaZa Fatcap", "Rubik Bubbles", cursive;
  --font-ui:      "Rubik", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-data:    "Rubik", ui-monospace, monospace;

  --t-display-xl: clamp(2.75rem, 1.2rem + 6.2vw, 6rem);
  --t-display-l:  clamp(2.125rem, 1.3rem + 3.3vw, 3.75rem);
  --t-display-m:  clamp(1.75rem, 1.3rem + 1.9vw, 2.625rem);
  --t-display-s:  clamp(1.375rem, 1.15rem + 0.9vw, 1.75rem);
  --t-title:      1.25rem;
  --t-body-l:     1.125rem;
  --t-body:       1rem;
  --t-body-s:     0.9375rem;
  --t-label:      0.8125rem;
  --t-micro:      0.75rem;
  --t-data-xl:    2.25rem;
  --t-data-l:     1.5rem;
  --t-data-m:     1.0625rem;
  --t-data-s:     0.9375rem;
  --t-data-xs:    0.8125rem;

  /* ---- Space ---- */
  --s-1:4px;  --s-2:8px;  --s-3:12px; --s-4:16px; --s-5:20px; --s-6:24px;
  --s-8:32px; --s-10:40px; --s-12:48px; --s-16:64px; --s-20:80px;
  --s-24:96px; --s-30:120px; --s-40:160px;

  /* ---- Containers ---- */
  --w-shell:   1440px;
  --w-wide:    1320px;
  --w-content: 1100px;
  --w-prose:   680px;
  --gutter: 20px;

  /* ---- Motion: one idea, a soft spring. ---- */
  --ease-out:  cubic-bezier(0.22, 1, 0.36, 1);
  --ease-soft: cubic-bezier(0.4, 0.14, 0.3, 1);
  --ease-pop:  cubic-bezier(0.34, 1.4, 0.64, 1);

  --header-h: 76px;

  /* focus: an ink ring with a cyan halo, readable on paper and on a fill */
  --focus-ring: #141217;
  --focus-halo: rgba(0,203,255,.45);
}

@media (min-width: 768px)  { :root { --gutter: 32px; } }
@media (min-width: 1280px) { :root { --gutter: 48px; } }

:root { color-scheme: light; }
