/* ==========================================================================
   Design tokens
   Brand colours were sampled from the live site: the logo bitmap
   (canvas pixel sampling) and the computed CSS of buttons, headings and the
   wave graphic. "Derived" colours are darker/lighter steps of those, or the
   warm complement used only for thermal (heat) visuals.
   ========================================================================== */

:root {
  /* --- Brand (from the existing site) --------------------------------- */
  --teal-700: #095473;   /* logo wordmark, site buttons, h3 — rgb(9 84 115) */
  --cyan-500: #108cb5;   /* wave graphic stroke */
  --cyan-300: #96d9f0;   /* wave graphic tint */
  --cyan-200: #c8eaf6;   /* wave graphic tint */
  --cyan-50:  #ecf8fe;   /* wave graphic tint */
  --mist-500: #5b95aa;   /* site h2 colour on dark */
  --sand-400: #d3ab7d;   /* site CTA button + feature tile — rgb(211 171 125) */
  --slate-700:#3f444b;   /* site dark tile / body copy */

  /* --- Derived --------------------------------------------------------- */
  --abyss-950:#021219;   /* deepest teal-black (hero gradient end) */
  --abyss-900:#031b26;
  --abyss-800:#062b3b;
  --teal-600: #0b6a91;
  --cyan-400: #2ec4f1;   /* brighter cyan-500 for glows on dark */
  --sand-100: #f4e9da;
  --sand-700: #7a5526;   /* sand darkened for text on light (AA on white) */
  --heat-500: #f2894a;   /* complement of the logo teal: thermal / hot air */
  --heat-600: #e4602f;
  --paper:    #f5f9fa;   /* light section background */
  --white:    #ffffff;

  /* --- Semantic -------------------------------------------------------- */
  --text-on-dark: var(--cyan-50);
  --text-muted-on-dark: #a9cddb;
  --text-on-light: #17323f;
  --text-muted-on-light: #4a6573;
  --focus-ring: var(--sand-400);

  /* --- Type ------------------------------------------------------------ */
  --font-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-body: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: var(--font-body); /* the old mono labels now use the body font */

  --step--1: clamp(0.8rem, 0.78rem + 0.1vw, 0.875rem);
  --step-0:  clamp(1rem, 0.96rem + 0.2vw, 1.125rem);
  --step-1:  clamp(1.2rem, 1.1rem + 0.5vw, 1.5rem);
  --step-2:  clamp(1.5rem, 1.3rem + 1vw, 2.25rem);
  --step-3:  clamp(2rem, 1.5rem + 2.4vw, 3.75rem);
  --step-4:  clamp(2.6rem, 1.6rem + 4.4vw, 6rem);
    --display-section: clamp(2.1rem, 1.2rem + 2.4vw, 3.4rem);
  /* Hero display size follows the SHORTER of width and viewport height so the
     hero always fits laptops with browser chrome (see hero.css). */
  --display-hero: clamp(2.35rem, min(4.9vw, 10svh, 4.8rem), 4.8rem);

  /* --- Space ----------------------------------------------------------- */
  --gutter: clamp(1.25rem, 4vw, 4rem);
  --space-2xs: 0.375rem;
  --space-xs: 0.625rem;
  --space-s: 1rem;
  --space-m: 1.5rem;
  --space-l: 2.5rem;
  --space-xl: clamp(3rem, 2rem + 4vw, 6rem);
  --space-section: clamp(5.5rem, 3.5rem + 9vw, 12rem);
  --container-max: 88rem;
  --header-h: 6.25rem;

  /* --- Shape & depth ---------------------------------------------------- */
  --radius-s: 0.75rem;
  --radius-m: 1.25rem;
  --radius-l: 2rem;
  --radius-pill: 999px;
  --shadow-float: 0 1.5rem 3rem -1rem rgb(2 18 25 / 0.45), 0 0.25rem 0.75rem rgb(2 18 25 / 0.2);
  --shadow-soft: 0 1rem 2.5rem -1.25rem rgb(9 84 115 / 0.35);
  --glass-dark-bg: rgb(236 248 254 / 0.08);
  --glass-dark-border: rgb(236 248 254 / 0.22);
  --glass-light-bg: rgb(255 255 255 / 0.72);
  --glass-light-border: rgb(255 255 255 / 0.9);

  /* --- Motion ----------------------------------------------------------- */
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --dur-s: 0.25s;
  --dur-m: 0.6s;
  --dur-l: 1s;

  /* --- Layers ----------------------------------------------------------- */
  --z-base: 1;
  --z-float: 10;
  --z-dock: 60;
  --z-header: 70;
  --z-menu: 80;
}