/* ============================================================
   ALTIS GLOBAL — Design Tokens  v1.0
   Import this file before any component styles.
   Fonts (Google Fonts):
   <link rel="preconnect" href="https://fonts.googleapis.com">
   <link href="https://fonts.googleapis.com/css2?family=Archivo:wdth,wght@62..125,100..900&family=Fraunces:ital,opsz,wght@0,9..144,300..700;1,9..144,300..700&display=swap" rel="stylesheet">
   ============================================================ */

:root {
  /* ---------- Core brand (from the logo) ---------- */
  --altis-blue-300: #204C76;   /* mark gradient light  - measured 2026 artwork */
  --altis-blue-500: #1B3A5C;   /* primary brand navy   - measured 2026 artwork */
  --altis-blue-700: #17243F;   /* deepest navy         - measured 2026 artwork */
  --altis-orange-400: #ED6C1B; /* orbit light          - measured 2026 artwork */
  --altis-orange-500: #EA5B16; /* GLOBAL orange        - measured 2026 artwork */
  --altis-orange-600: #E74811; /* orbit deep           - measured 2026 artwork */

  /* ---------- Site surfaces (dark, premium) ---------- */
  --ink-900: #0E1720;          /* page background               */
  --ink-800: #16202B;          /* section band                  */
  --ink-700: #1E2A38;          /* elevated card / header scrim  */
  --line-on-ink: rgba(242, 237, 227, 0.16);

  /* ---------- UI accent (CTA family, derived from orange) ---------- */
  --amber-500: #D9962E;        /* primary CTA fill on dark      */
  --amber-600: #C4861F;        /* CTA hover / pressed           */
  --amber-100: #F6E4C3;        /* subtle amber tint             */

  /* ---------- Type colours ---------- */
  --cream: #F2EDE3;            /* display type on ink           */
  --text-on-ink: #D9DDE3;      /* body copy on ink              */
  --text-muted-on-ink: #9AA4B0;
  --text-on-light: #16202B;    /* body copy on light            */
  --paper: #F7F5F0;            /* light-mode background         */

  /* ---------- Typography ---------- */
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-sans: "Archivo", "Helvetica Neue", Arial, sans-serif;

  --text-eyebrow: 0.8125rem;   /* 13px */
  --text-body: 1.0625rem;      /* 17px */
  --text-lead: 1.375rem;       /* 22px */
  --text-h3: clamp(1.5rem, 2.5vw, 2rem);
  --text-h2: clamp(2rem, 4vw, 3rem);
  --text-h1: clamp(2.75rem, 7vw, 5.5rem);

  --track-eyebrow: 0.32em;     /* letterspaced uppercase labels */
  --leading-display: 1.04;
  --leading-body: 1.65;

  /* ---------- Shape, spacing, motion ---------- */
  --radius-btn: 2px;           /* near-square, engineered feel  */
  --radius-card: 6px;
  --space-section: clamp(4rem, 10vw, 8.5rem);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --dur-fast: 180ms;
  --dur-reveal: 650ms;
}

/* ---------- Canonical component styles ---------- */

.eyebrow {
  font-family: var(--font-sans);
  font-variation-settings: "wdth" 118, "wght" 600;
  font-size: var(--text-eyebrow);
  letter-spacing: var(--track-eyebrow);
  text-transform: uppercase;
  color: var(--text-muted-on-ink);
}

.display {
  font-family: var(--font-display);
  font-weight: 380;
  line-height: var(--leading-display);
  color: var(--cream);
}
.display em {           /* the italic emphasis phrase, e.g. "built reality." */
  font-style: italic;
  font-weight: 340;
}

.btn-primary {
  font-family: var(--font-sans);
  font-variation-settings: "wdth" 116, "wght" 700;
  font-size: 0.9375rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-900);
  background: var(--amber-500);
  border: 0;
  border-radius: var(--radius-btn);
  padding: 1.05rem 2rem;
  transition: background var(--dur-fast) var(--ease-out);
}
.btn-primary:hover { background: var(--amber-600); }

.btn-secondary {
  composes: none;
  font-family: var(--font-sans);
  font-variation-settings: "wdth" 116, "wght" 600;
  font-size: 0.9375rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cream);
  background: transparent;
  border: 1px solid var(--line-on-ink);
  border-radius: var(--radius-btn);
  padding: 1.05rem 2rem;
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* ---------- Homepage v2 surfaces (added for the navy homepage) ---------- */
:root {
  --navy-900: #0A1F4A;   /* homepage v2 page surface, derived from --altis-blue-700 (client-directed) */
  --navy-800: #0E2A5E;   /* homepage v2 card surface */
  --navy-text-muted: #9FB0CE;
  --navy-text-soft: #C6D1E6;
}

/* ---------- Homepage v3 "Atlas Light" surfaces ---------- */
:root {
  --surface: #F3F5F9;          /* page */
  --surface-2: #E9EDF5;        /* pale blue-grey band */
  --card: #FFFFFF;
  --navy: var(--altis-blue-500);       /* #1B3A5C headlines, statement block */
  --navy-deep: var(--altis-blue-700);  /* #17243F hover, deep fills */
  --ink-text: #16202B;
  --muted: #5B6675;
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-pill: 999px;
  --shadow-card: 0 12px 40px rgba(14, 66, 148, 0.10);
  --shadow-nav: 0 2px 6px rgba(14, 66, 148, 0.08), 0 14px 34px rgba(14, 66, 148, 0.16), 0 30px 64px rgba(14, 66, 148, 0.10);
}
