/* ==========================================================================
   MEND — tokens.css
   Custom properties = future Webflow Variables (same names, Title Case in Webflow).
   To re-theme the whole template, change colours and the two font families here only.
   ========================================================================== */

:root {
  /* ---- Colour: brand ---- */
  --color-bg: #ffffff;           /* page background, white */
  --color-surface-soft: #eef4f5; /* cards on white */
  --color-surface: #d6e4e6;      /* cool grey-teal panels */
  --color-surface-strong: #c2d6da;
  --color-white: #ffffff;
  --color-petrol: #0e3b43;       /* deep petrol blue: dark sections, footer */
  --color-petrol-soft: #174e58;  /* raised surface on petrol */
  --color-sage: #5e9fa3;         /* decoration only (not for small text) */
  --color-accent: #c8e86b;       /* lime: primary buttons, highlights */
  --color-accent-hover: #d9f28d;

  /* ---- Colour: text ---- */
  --color-ink: #14262b;          /* main text */
  --color-ink-soft: #4a5e64;     /* secondary text (5:1 on bg) */
  --color-on-dark: #f4f8f8;      /* text on petrol */
  --color-on-dark-soft: #afc7cb; /* secondary text on petrol (6:1) */

  /* ---- Colour: lines and states ---- */
  --color-line: #c9d8db;
  --color-line-on-dark: #2d5a63;
  --color-error: #a63d2f;
  --color-success: #2f6b46;

  /* ---- Typography ---- */
  --font-display: "Fraunces", Georgia, serif;
  --font-text: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;

  --font-size-h1: clamp(3rem, 1.4rem + 6vw, 7rem);
  --font-size-h2: clamp(2.25rem, 1.3rem + 3.4vw, 4.5rem);
  --font-size-h3: clamp(1.75rem, 1.2rem + 1.8vw, 2.75rem);
  --font-size-h4: clamp(1.375rem, 1.1rem + 0.9vw, 1.875rem);
  --font-size-h5: 1.25rem;
  --font-size-h6: 1.0625rem;
  --font-size-lead: clamp(1.125rem, 1rem + 0.5vw, 1.375rem);
  --font-size-body: 1.0625rem;
  --font-size-small: 0.9375rem;
  --font-size-label: 0.75rem;

  --line-height-tight: 1.02;
  --line-height-heading: 1.12;
  --line-height-body: 1.6;
  --letter-spacing-display: -0.025em;
  --letter-spacing-label: 0.14em;

  /* ---- Spacing (rem scale) ---- */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4rem;
  --space-9: 6rem;
  --space-10: 8rem;

  --padding-global: clamp(1.25rem, 0.5rem + 3vw, 3rem);
  --padding-section-small: clamp(2.5rem, 1.5rem + 3vw, 4.5rem);
  --padding-section-medium: clamp(4rem, 2.5rem + 5vw, 7rem);
  --padding-section-large: clamp(5rem, 3rem + 8vw, 10rem);

  /* ---- Layout ---- */
  --container-small: 48rem;
  --container-medium: 70rem;
  --container-large: 88rem;
  --navbar-height: 4.75rem;

  /* ---- Shape ---- */
  --radius-small: 0.375rem;
  --radius-medium: 0.625rem;
  --radius-large: 0.875rem;
  --radius-pill: 999px;
  --shadow-soft: 0 1px 2px rgba(22, 53, 43, 0.06), 0 12px 32px rgba(22, 53, 43, 0.08);

  /* ---- Motion (read by motion.js) ---- */
  --ease-main: cubic-bezier(0.22, 1, 0.36, 1); /* = GSAP power3.out feel */
  --duration-fast: 0.2s;
  --duration-base: 0.45s;
  --duration-slow: 0.8s;
}
