/* ============================================================================
   Packfilm Group — design tokens
   ----------------------------------------------------------------------------
   Anchored on #5f4844, the brown of the Packfilm Group wordmark. The identity is
   warm and editorial rather than the generic violet-on-black SaaS look it
   replaces: cream canvas, brown structure, one ochre accent. Brown is the frame
   and the dark surface, never a tint sprinkled on white.
   ========================================================================== */

:root {
  /* --- brand ramp -------------------------------------------------------- */
  --brand:        #5f4844;  /* the logo brown — buttons, links, active nav    */
  --brand-deep:   #33241f;  /* dark bands, footer, video overlay              */
  --brand-mid:    #8a6f69;  /* hover states, secondary icons                  */
  --brand-tint:   #e8ddd8;  /* card fills, chips, table stripes               */
  --brand-wash:   #f6f1ee;  /* alternating section background                 */

  /* --- neutrals ---------------------------------------------------------- */
  --canvas:       #faf8f6;  /* page background — warm off-white, never #fff   */
  --surface:      #ffffff;  /* cards, product tiles                           */
  --ink:          #1c1512;  /* headings + body — warm near-black, not #000    */
  --muted:        #6b5b55;  /* secondary copy, specs, captions                */
  --border:       #e6ddd7;  /* hairlines, warm-tuned to the cream canvas      */

  /* --- accents ----------------------------------------------------------- */
  /* Measured, not assumed. Ochre is a SURFACE colour:
       white on --accent          = 2.90  FAILS  -> never white-on-ochre
       --ink on --accent          = 6.21  AA     -> the ochre button pairing
       --accent on --canvas       = 2.74  FAILS  -> never ochre small text
       --accent-deep on --canvas  = 4.83  AA     -> use this for ochre text
       --accent on --brand-deep   = 5.13  AA     -> ochre on the dark bands
     So: --accent fills, --ink labels it, --accent-deep is its text form. */
  --accent:       #c98b3c;  /* ochre FILL — badges, quote CTA, stat numerals  */
  --accent-ink:   var(--ink);  /* the only label colour allowed on --accent   */
  --accent-deep:  #96631f;  /* ochre as TEXT on cream (AA at 4.83)            */
  --accent-soft:  #f2e3cd;  /* accent chip backgrounds                        */
  --sage:         #5c6b4d;  /* eco / hospitalar tags only (5.41 on canvas)    */

  /* --- feedback ---------------------------------------------------------- */
  --ok:           #4a6b45;
  --warn:         #96631f;
  --danger:       #8c3a2e;

  /* --- type -------------------------------------------------------------- */
  /* Archivo Black echoes the heavy geometric grotesque of the wordmark, so
     headings read as an extension of the logo. Inter carries everything else.
     Packfilm's current site loads Comfortaa (mislabelled 'Catelyone') — a
     rounded face that does not match the new Group mark, so it is not used. */
  --font-display: "Archivo Black", "Archivo", system-ui, sans-serif;
  --font-body:    "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --step--1: clamp(0.80rem, 0.78rem + 0.10vw, 0.86rem);
  --step-0:  clamp(0.95rem, 0.92rem + 0.15vw, 1.05rem);
  --step-1:  clamp(1.12rem, 1.05rem + 0.35vw, 1.35rem);
  --step-2:  clamp(1.40rem, 1.25rem + 0.75vw, 1.85rem);
  --step-3:  clamp(1.75rem, 1.45rem + 1.50vw, 2.60rem);
  --step-4:  clamp(2.10rem, 1.60rem + 2.60vw, 3.60rem);
  --step-5:  clamp(2.50rem, 1.70rem + 4.00vw, 4.75rem);

  /* --- shape ------------------------------------------------------------- */
  --r-card: 18px;
  --r-sm:   10px;
  --r-pill: 9999px;

  /* --- elevation: warm-tinted, never neutral black ----------------------- */
  --shadow-sm: 0 1px 2px rgba(51, 36, 31, .06),
               0 2px 6px -2px rgba(51, 36, 31, .08);
  --shadow:    0 2px 4px rgba(51, 36, 31, .06),
               0 8px 20px -6px rgba(51, 36, 31, .10);
  --shadow-lg: 0 4px 8px rgba(51, 36, 31, .07),
               0 20px 44px -12px rgba(51, 36, 31, .16);
  --shadow-brand: 0 8px 22px -8px rgba(95, 72, 68, .45);

  /* --- rhythm ------------------------------------------------------------ */
  --maxw:        1240px;
  --maxw-prose:  68ch;
  --gutter:      clamp(1rem, 0.5rem + 2.5vw, 2.5rem);
  --section:     clamp(3.5rem, 2rem + 6vw, 6.5rem);

  /* --- motion ------------------------------------------------------------ */
  --ease: cubic-bezier(.2, .7, .2, 1);
  --t-fast: .16s;
  --t:      .24s;
  --t-slow: .45s;
}

/* The design is deliberately single-theme: a warm cream/brown identity does not
   invert into a dark scheme without becoming a different brand. So rather than
   letting the OS force a half-broken dark rendering, the palette is pinned and
   only the browser UI is told what we are. */
:root { color-scheme: light; }

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