/* HIEF V4 design tokens — palette derived from the foundation seal (blue, gold, white). */
/* CM-02: genuine static Sora Regular 400 (@fontsource/sora 5.3.0, OFL-1.1), same release as the 600 file. */
@font-face {
  font-family: "Sora";
  src: url("../fonts/sora-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Sora";
  src: url("../fonts/sora-latin-600-normal.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Source Sans 3";
  src: url("../fonts/source-sans-3-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Source Sans 3";
  src: url("../fonts/source-sans-3-latin-600-normal.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Source Sans 3";
  src: url("../fonts/source-sans-3-latin-700-normal.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Color */
  --brand-blue: #123f8c;
  --deep-blue: #10264a;
  --seal-gold: #e4b52f;
  --paper: #f5f7fc;
  --white: #ffffff;
  --body: #44516a;
  --line: #d6deeb;
  --control-border: #708099;
  --error: #a32432;
  --blue-tint: #e6ecf7;

  /* Type families */
  --font-display: "Sora", Arial, sans-serif;
  --font-body: "Source Sans 3", Arial, sans-serif;

  /* Fluid type: 390px -> 1440px endpoints */
  --fs-display: clamp(2.875rem, 1.529rem + 5.524vw, 6.5rem);
  --fs-h1: clamp(2.5rem, 1.757rem + 3.048vw, 4.5rem);
  --fs-h2: clamp(2rem, 1.629rem + 1.524vw, 3rem);
  --fs-h3: clamp(1.5rem, 1.407rem + 0.381vw, 1.75rem);
  --fs-h4: clamp(1.25rem, 1.204rem + 0.19vw, 1.375rem);
  --fs-lead: clamp(1.25rem, 1.204rem + 0.19vw, 1.375rem);
  --fs-body: 1.125rem;
  --fs-ui: 1rem;
  --fs-caption: 0.875rem;
  --fs-eyebrow: clamp(0.75rem, 0.727rem + 0.095vw, 0.8125rem);
  --fs-numeral: clamp(3.5rem, 2.943rem + 2.286vw, 5rem);

  /* Spacing scale */
  --s-1: 4px;
  --s-2: 8px;
  --s-3: 12px;
  --s-4: 16px;
  --s-5: 24px;
  --s-6: 32px;
  --s-7: 48px;
  --s-8: 64px;
  --s-9: 80px;
  --s-10: 104px;
  --s-11: 128px;

  --section-y: clamp(64px, 3.071rem + 3.81vw, 104px);
  --divider-y: clamp(32px, 1.629rem + 1.524vw, 48px);
  --hero-y: clamp(40px, 1.757rem + 3.048vw, 72px);
  --gutter: clamp(20px, -0.143rem + 5.714vw, 80px);
  --container: 1280px;
  --gap: clamp(20px, 1.161rem + 0.381vw, 24px);

  /* Surfaces */
  --r-media: 8px;
  --r-card: 16px;
  --r-pill: 999px;
  --shadow-card: 0 8px 24px rgba(16, 38, 74, 0.08);
  --shadow-overlay: 0 20px 64px rgba(16, 38, 74, 0.2);

  /* Header */
  --header-h: 76px;

  /* Motion */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

@media (min-width: 1120px) {
  :root { --header-h: 88px; }
}
