/* ==========================================
   BASE — Design tokens + resets
========================================== */

:root {
  /* Fonts */
  --primary-font: "Manrope", sans-serif;
  --secondary-font: "Playfair Display", Georgia, serif;

  /* Brand — Navy */
  --navy: #1c4288;
  --navy-100: #24408e;
  --navy-200: #122e63;
  --navy-300: #1a2f6b;

  /* Brand — Orange / Gold */
  --orange: #f99d26;
  --orange-100: #f7941d;
  --orange-200: #e9a34b;
  --orange-300: #ff8c00;

  /* Neutrals */
  --black: #000;
  --black-100: #3a2e28;
  --black-200: #071c35;
  --black-300: #455568;
  --white: #fff;
  --white-70: rgba(255, 255, 255, 0.7);

  /* Grays */
  --gray-100: #e2e2e3;
  --gray-200: #939393;
  --gray-300: #c3c3c3;
  --gray-400: #f8f9fb;
  --gray-500: #f3f5f8;
  --gray-600: #e6e8ec;
  --gray-700: #c2c2c2;
  --gray-800: #ecf1fa;
  --beige: #e9ded2;
  --cream: #c9b6a3;
  --cream-banner: #fceccd; /* Figma hero parchment */

  /* Semantic */
  --color-text: var(--black);
  --color-text-muted: var(--black-300);
  --color-heading: var(--navy);
  --color-accent: var(--orange);
  --color-bg: var(--white);
  --color-bg-dark: var(--navy);
  --color-border: var(--gray-100);
  --color-btn: var(--orange);
  --color-btn-text: var(--white);

  /* Typography (Figma px ÷ 10 = rem; scales via html 0.5208vw) */
  --fs-body: 2.2rem; /* 22px — Figma hero body */
  --fs-body-sm: 1.8rem; /* 18px */
  --fs-label: 2.2rem; /* 22px */
  --fs-h1: 9rem; /* 90px */
  --fs-h2: 5.5rem; /* 55px */
  --fs-h3: 3rem; /* 30px */
  --fs-btn: 1.8rem; /* 18px */
  --fs-stat: 5.5rem; /* 55px */

  /* Spacing */
  --space-xs: 0.8rem; /* 8px */
  --space-sm: 1.5rem; /* 15px */
  --space-md: 2rem; /* 20px */
  --space-lg: 4rem; /* 40px */
  --space-xl: 6rem; /* 60px */
  --space-2xl: 9.2rem; /* 92px */
  --container-max: 192rem; /* 1920px canvas */
  --container-pad: 9.2rem; /* 92px side inset → 1736 content */
  --container-width: 90.41666667%; /* 1736 / 1920 * 100 — legacy ref */

  /* Inner banner — Figma 769:263 (1920 × 550) — common for all inner pages */
  --inner-banner-height: 55rem; /* 550px */

  /* Radius */
  --radius-sm: 0.6rem; /* 6px */
  --radius-md: 1rem; /* 10px */
  --radius-lg: 1.2rem; /* 12px */
  --radius-full: 10rem;

  /* Shadows */
  --shadow-card: 0 0.4rem 0.5rem rgba(34, 51, 115, 0.2);

  /* Transitions */
  --transition: all 0.5s ease-in-out;
  --transition-fast: all 0.2s ease;

  /* Layout / breakpoints (reference) */
  --bp-mobile: 767px;
  --bp-tablet: 992px;
  --bp-laptop: 1200px;
  --bp-desktop: 1201px;

  /* Z-index */
  --z-base: 1;
  --z-header: 100;
  --z-overlay: 200;
  --z-modal: 300;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

/*
  Desktop (≥1200px): fluid root — 1920px → 0.5208vw = 10px → 1rem = 10px
  ≤1199px: fixed root — font-size: 62.5% → 1rem = 10px
  Write all sizes in rem only (Figma px ÷ 10).
*/
html {
  /* font-size: 0.5208vw; */
  font-size: 0.534vw;
  scroll-behavior: smooth;
}

@media (max-width: 1199px) {
  html {
    font-size: 62.5%; /* 1rem = 10px — fixed for all responsive */
  }
}

body {
  margin: 0;
  font-family: var(--primary-font);
  font-size: var(--fs-body);
  font-weight: 500;
  line-height: 1.5;
  color: var(--color-text);
  background-color: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--secondary-font);
  font-weight: 400;
  color: var(--color-heading);
  margin-block: 0;
}

p {
  margin-block: 0;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-fast);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
