/* ==========================================================================
   AnimateShort landing: design tokens
   Source of truth: docs/PROJECT-BRIEF.md (landing palette from References/landing-page)
   ========================================================================== */

:root {
  /* Colour: Sunrise (a light, warm page). The token names are from the earlier dark palette and kept so every file keeps
     working: --c-night is now the page base, --c-champagne the main text. Contrast: text on base 14.8, secondary 7.3,
     button text on amber (black) 6.2. Amber is for buttons, fills and big type, never for small text on cream (3.1:1 there). */
  --c-night: #FFF6E5;        /* page base: cream */
  --c-umber: #FFFFFF;        /* surfaces: cards, alternating sections */
  --c-mocha: #E9D9BE;        /* soft tan: quiet fills */
  --c-champagne: #2A1A3F;    /* primary text: deep plum */
  --c-champagne-soft: #5E4A6B; /* secondary text */
  --c-amber: #C8792C;        /* actions: burnt amber, the site's original orange */
  --c-amber-hover: #D98A3C;
  --c-ember: #C8792C;        /* borders, big numbers and headings on cream */
  --c-on-amber: #000000;     /* text on amber buttons: black (6.2:1) */
  --c-violet: #7B4DFF;       /* the second accent */
  --c-gold: #FFC247;         /* sun and glows */
  --c-line: rgba(42, 26, 63, 0.14);
  --c-line-strong: rgba(42, 26, 63, 0.3);

  /* Paper layers, back to front (backlit: nearer = darker) */
  --paper-1: #5A4532;
  --paper-2: #47362A;
  --paper-3: #362920;
  --paper-4: #261D16;
  --paper-5: #17110D;

  /* Type */
  --font-display: "Bricolage Grotesque", ui-sans-serif, system-ui, "Segoe UI", Arial, sans-serif;
  --font-body: Geist, ui-sans-serif, system-ui, "Segoe UI", Arial, sans-serif;

  /* Type scale: ratio 1.25, base 17px */
  --step--1: 0.85rem;
  --step-0: 1.0625rem;
  --step-1: 1.328rem;
  --step-2: 1.66rem;
  --step-3: 2.075rem;
  --step-display: clamp(4.5rem, 12.5vw, 11.5rem);

  /* Space */
  --space-2xs: 0.25rem;
  --space-xs: 0.5rem;
  --space-s: 0.75rem;
  --space-m: 1rem;
  --space-l: 1.5rem;
  --space-xl: 2.5rem;
  --space-2xl: 4rem;
  --space-3xl: 7rem;
  --gutter: clamp(1.25rem, 4vw, 3.5rem);
  --max-width: 88rem;

  /* Shape (Brief: 8 buttons, 12 cards, 16 video frames; no pills except tags) */
  --radius-s: 6px;
  --radius-m: 8px;
  --radius-l: 12px;
  --radius-xl: 16px;

  /* Motion (Brief: snappy feedback, calm entrances, nothing bouncy) */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --dur-fast: 140ms;
  --dur-base: 220ms;
  --dur-enter: 600ms;

  /* Layers */
  --z-scene: 0;
  --z-content: 10;
  --z-nav: 50;
}

/* The hero (and the top bar that sits on it) is a dark scene with light text, whatever the page palette is. These put
   back the light-on-dark colours inside them; the amber button colours carry through. */
.hero, .site-nav {
  color: var(--c-champagne);   /* text colour is inherited as a finished value, so set it here too, not only the tokens */
  --c-night: #1A1410;
  --c-umber: #2A2019;
  --c-champagne: #F4D9A0;
  --c-champagne-soft: #D9C29A;
  --c-ember: #E9A55A;        /* the logo's original orange */
  --c-line: rgba(244, 217, 160, 0.16);
  --c-line-strong: rgba(244, 217, 160, 0.32);
}
