/* =========================================================
   JUICED REBEL — design tokens
   One place for colour, type, spacing, radius, border, motion.
   Palette per brief: charcoal 60 / stone 25 / acid 10 / pink 5.
   ========================================================= */
@font-face {
  font-family: "Juiced Rebel Outline";
  src: url("../assets/fonts/JuicedRebelOutline-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  /* — Colour — */
  --charcoal: #181918;           /* Rebel Charcoal (brief 2.2) */
  --charcoal-raised: #232323;   /* derived: surface lift on charcoal */
  --stone: #D9D4C8;           /* Rebel Stone (brief 2.2) */
  --paper: #D9D4C8;           /* the light field (the 'statement' sections) = stone */
  --acid: #02FC1A;           /* Acid Rebel Green (brief 2.2) */
  --pink: #FF2D95;           /* Rebel Pink (brief 2.2; Monica 8 Oct 2026: use the brief's four colours) */
  --ivory: #D9D4C8;
  --warm: #F4F1EA;            /* warm white: the lighter surface (the old ivory), balances stone and charcoal (redesign, 9 Oct 2026; to be confirmed by Monica) */
  --pink-ink: #D6007A;         /* the Rebel Pink, deepened, for TEXT on stone only: #FF2D95 on stone is 2.1:1 and text needs 3:1 */
  --pink-text: var(--pink);    /* pink text colour; .surface-paper / .on-light switch it to --pink-ink */
  --on-dark: #D9D4C8;
  --on-dark-dim: rgba(217, 212, 200, .66);
  --on-light: #181918;
  --on-light-dim: rgba(24, 25, 24, .72);
  --hair-dark: rgba(217, 212, 200, .24);   /* hairline on charcoal */
  --hair-light: rgba(24, 25, 24, .19);     /* hairline on stone/paper */

  --hair: var(--hair-dark);       /* alias used by live.css */
  --ink-hair: var(--hair-light);  /* alias used by live.css */

  /* — Type — */
  --font-display: Montserrat, "Helvetica Neue", Arial, sans-serif;
  --font-outline: "Juiced Rebel Outline", Montserrat, sans-serif;
  --track-mega: -.09em;
  --track-head: -.08em;
  --track-label: .2em;
  --track-label-wide: .29em;
  --fs-mega: clamp(3.6rem, 11.4vw, 12rem);
  --fs-h1: clamp(2.9rem, 8vw, 8rem);
  --fs-h2: clamp(2.3rem, 5.8vw, 5.6rem);
  --fs-h3: clamp(1.15rem, 1.9vw, 1.7rem);
  --fs-body: clamp(.94rem, 1.1vw, 1.04rem);
  --fs-small: .84rem;
  --fs-label: clamp(.64rem, .8vw, .74rem);

  /* — Space — */
  --gutter: clamp(20px, 5vw, 84px);
  --section: clamp(84px, 11vw, 168px);
  --gap-s: 12px;
  --gap-m: 24px;
  --gap-l: clamp(32px, 5vw, 72px);
  --container: 1440px;

  /* — Shape — */
  --radius: 0;          /* the system is square-cut by default */
  --radius-chip: 999px;
  --border: 1px solid var(--hair-dark);
  --border-strong: 2px solid currentColor;

  /* — Motion — */
  --ease: cubic-bezier(.2, .7, .1, 1);
  --t-fast: .18s;
  --t-med: .45s;
  --t-slow: .9s;
}

@media (prefers-reduced-motion: reduce) {
  :root { --t-fast: 0s; --t-med: 0s; --t-slow: 0s; }
}
