/* ==========================================================================
   AMLA Design System — Tokens
   Single source of truth for colour, type, spacing, and motion.
   Change a value here and it propagates site-wide.
   ========================================================================== */

:root {
  /* ---- Colour ---------------------------------------------------------- */
  --navy-900: #0e1b2c;   /* primary dark — bands, footer, deep anchors      */
  --navy-800: #142336;
  --navy-700: #1c3a5e;   /* secondary navy                                  */
  --ivory:    #f6f2e9;   /* warm light base                                 */
  --ivory-200:#efe9db;   /* slightly deeper ivory for alternating sections  */
  --white:    #ffffff;
  --charcoal: #2b2b2b;   /* body text on light                              */
  --charcoal-soft: #4a4a4a;

  --bronze:      #a8854e; /* muted gold accent — rules, hovers, small marks */
  --bronze-soft: #c9ae7c;
  --bronze-deep: #8a6c3c;

  --line:       #e4dccb;  /* hairline divider on light                       */
  --line-dark:  rgba(246, 242, 233, 0.16); /* hairline on navy             */

  /* Text roles */
  --text-on-light: var(--charcoal);
  --text-muted:    var(--charcoal-soft);
  --text-on-dark:  var(--ivory);
  --text-on-dark-muted: rgba(246, 242, 233, 0.72);

  /* ---- Typography ------------------------------------------------------ */
  --font-serif: "Cormorant Garamond", "EB Garamond", Georgia, "Times New Roman", serif;
  --font-sans:  "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;

  /* Fluid type scale (min .. max via clamp) */
  --fs-display: clamp(2.6rem, 1.6rem + 4.4vw, 5rem);   /* hero h1          */
  --fs-h1:      clamp(2.1rem, 1.4rem + 3vw, 3.4rem);
  --fs-h2:      clamp(1.7rem, 1.2rem + 2vw, 2.6rem);
  --fs-h3:      clamp(1.3rem, 1.1rem + 1vw, 1.7rem);
  --fs-lead:    clamp(1.05rem, 0.98rem + 0.5vw, 1.3rem);
  --fs-body:    1.0625rem;   /* 17px */
  --fs-small:   0.875rem;
  --fs-label:   0.75rem;     /* small-caps eyebrow labels                  */

  --lh-tight: 1.12;
  --lh-snug:  1.3;
  --lh-body:  1.65;

  --tracking-label: 0.22em;  /* spaced caps, echoes the logo               */
  --tracking-wide:  0.04em;

  /* ---- Spacing (8px base grid) ----------------------------------------- */
  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2rem;
  --space-5: 3rem;
  --space-6: 4rem;
  --space-7: 6rem;
  --space-8: 8rem;

  --section-pad-y: clamp(3.5rem, 2rem + 6vw, 8rem); /* vertical section rhythm */
  --content-max:   1200px;  /* outer content width                         */
  --measure:       46rem;   /* readable text column                        */

  /* ---- Form / radii / shadow ------------------------------------------- */
  --radius-sm: 2px;
  --radius:    4px;
  --shadow-soft: 0 18px 50px -28px rgba(14, 27, 44, 0.45);
  --shadow-card: 0 1px 0 rgba(14, 27, 44, 0.04);

  /* ---- Motion ---------------------------------------------------------- */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --dur:  0.5s;
}

@media (prefers-reduced-motion: reduce) {
  :root { --dur: 0.001s; }
}
