/* ==========================================================================
   DESIGN TOKENS
   Single source of truth for the visual identity. Change brand colours,
   type and spacing here and the whole site follows.
   ========================================================================== */

:root {
  /* ---- Colour: palette ------------------------------------------------- */
  --ink:          #0e1712;   /* near-black evergreen — dark sections, text  */
  --forest:       #18261e;   /* deep forest — secondary dark surface        */
  --moss:         #3d5243;   /* muted green — accents on light              */
  --sage:         #9aa892;   /* soft sage — muted text on dark              */
  --limestone:    #e8e2d6;   /* warm stone — alternate light surface        */
  --bone:         #f4f1eb;   /* page background                             */
  --paper:        #fbfaf7;   /* lightest surface (form fields)              */
  --brass:        #b39566;   /* signature accent — CTAs, rules, numerals    */
  --brass-light:  #d4bf94;   /* accent on dark backgrounds                  */

  /* ---- Colour: roles --------------------------------------------------- */
  --text:         #18201b;
  --text-muted:   #5b625b;
  --text-on-dark: #ece8df;
  --muted-on-dark:#a3ab9f;
  --line:         rgba(24, 32, 27, 0.14);
  --line-on-dark: rgba(236, 232, 223, 0.16);
  --focus:        #b39566;

  /* ---- Typography ------------------------------------------------------ */
  --font-display: "Fraunces", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --font-body:    "Hanken Grotesk", "Helvetica Neue", Arial, sans-serif;

  /* Fluid type scale (min @ 375px → max @ 1440px) */
  --fs-xs:   0.75rem;                                   /* 12  */
  --fs-sm:   0.875rem;                                  /* 14  */
  --fs-base: clamp(1rem, 0.96rem + 0.18vw, 1.0625rem);  /* 16–17 */
  --fs-md:   clamp(1.125rem, 1.05rem + 0.35vw, 1.3rem);
  --fs-lg:   clamp(1.4rem, 1.2rem + 0.9vw, 1.95rem);
  --fs-xl:   clamp(2rem, 1.5rem + 2.2vw, 3.4rem);
  --fs-2xl:  clamp(2.6rem, 1.7rem + 4vw, 5.4rem);
  --fs-hero: clamp(3rem, 1.6rem + 6.4vw, 8.2rem);

  --lh-tight: 1.02;
  --lh-snug:  1.18;
  --lh-body:  1.65;
  --tracking-label: 0.18em;

  /* ---- Spacing --------------------------------------------------------- */
  --gutter:      clamp(1.25rem, 0.6rem + 3.2vw, 5rem);
  --container:   1480px;
  --section-y:   clamp(5.5rem, 3.5rem + 9vw, 11rem);
  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2rem;
  --space-5: 3rem;
  --space-6: 4.5rem;

  /* ---- Shape & depth ---------------------------------------------------- */
  --radius-sm: 2px;
  --radius:    4px;
  --shadow-lift: 0 30px 60px -30px rgba(14, 23, 18, 0.45);

  /* ---- Motion ----------------------------------------------------------- */
  --ease-out:    cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --dur-fast: 0.25s;
  --dur:      0.6s;
  --dur-slow: 1.2s;

  /* ---- Layout ----------------------------------------------------------- */
  --header-h: 88px;        /* main navigation row */
  --topbar-h: 40px;        /* contact bar above it (collapses on scroll) */
  --action-bar-h: 0px;     /* mobile quick-contact bar (phones only) */
}

@media (max-width: 760px) {
  :root { --header-h: 72px; --topbar-h: 36px; --action-bar-h: 60px; }
}
