/*
 * AHC design system
 * Edit this file first when you want to change the visual language.
 * Component CSS uses these tokens instead of scattering brand decisions.
 */
:root {
  /* Brand colours */
  --color-brand-950: #062a4f;
  --color-brand-900: #0075bf;
  --color-brand-800: #126aa8;
  --color-brand-700: #0075bf;
  --color-brand-500: #00a0dd;
  --color-accent-coral: #e05c48;
  --color-accent-gold: #f2a900;
  --color-text: #142235;
  --color-text-muted: #647287;
  --color-text-on-dark: #dceefa;
  --color-text-subtle-on-dark: #afd0e7;
  --color-line: #dce7ef;
  --color-surface: #fbfdff;
  --color-surface-soft: #f1f8fc;
  --color-white: #ffffff;

  /* Typography — edit the values below to resize the whole site from one place. */
  --font-body: "DM Sans", sans-serif;
  --font-display: "Manrope", sans-serif;
  --font-size-xs: 0.74rem; /* Compact metadata, programme codes, pills and counts. */
  --font-size-sm: 0.84rem; /* Supporting copy, card text and secondary UI. */
  --font-size-body: 1rem; /* Standard paragraphs, descriptions and form fields. */
  --font-size-lead: 1.08rem; /* Introductory or hero supporting copy. */
  --font-size-h3: 1.22rem; /* Card and smaller section headings. */
  --font-size-h2: clamp(2.5rem, 4vw, 4.1rem); /* Main section headings. */
  --font-size-h1: clamp(3.25rem, 5.5vw, 5.4rem); /* Large page titles. */
  --font-size-hero: clamp(3.8rem, 6.5vw, 6.5rem); /* Homepage hero title. */
  --font-size-hero-mobile: clamp(3.1rem, 15vw, 5rem); /* Homepage hero title on small screens. */
  --font-size-utility: 0.86rem; /* Announcement bar and high-visibility utility text. */
  --font-size-utility-mobile: 0.78rem; /* Announcement bar on narrow screens. */
  --font-size-nav: 0.9rem; /* Main navigation links and menu controls. */
  --font-size-nav-compact: 0.84rem; /* Dropdown links, compact buttons and filters. */
  --font-size-action: 0.86rem; /* Buttons, text links and calls to action. */
  --font-size-label: 0.74rem; /* Eyebrows, section labels and uppercase markers. */
  --font-size-caption: 0.8rem; /* Image captions, helper copy and supporting labels. */
  --font-size-legal: 0.76rem; /* Footer legal copy and low-priority metadata. */
  --font-size-icon: 1.15rem; /* Arrows, close controls and decorative icons. */
  --font-weight-medium: 500;
  --font-weight-bold: 700;
  --font-weight-heavy: 800;
  --tracking-label: 0.13em;

  /* Spacing */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-7: 32px;
  --space-8: 40px;
  --space-9: 56px;
  --space-10: 72px;
  --space-11: 96px;
  --section-space: 64px;
  --container: min(1280px, calc(100% - 30px));

  /* Shape, elevation and motion */
  --radius-sm: 6px;
  --radius-md: 16px;
  --radius-pill: 999px;
  --shadow-card: 0 22px 65px rgba(6, 42, 79, 0.13);
  --shadow-modal: 0 25px 90px rgba(0, 0, 0, 0.3);
  --ease-standard: 0.25s ease;

  /* Backwards-compatible aliases used by existing components */
  --navy: var(--color-brand-950);
  --navy-2: var(--color-brand-800);
  --ink: var(--color-text);
  --muted: var(--color-text-muted);
  --line: var(--color-line);
  --wash: var(--color-surface-soft);
  --aqua: var(--color-brand-500);
  --aqua-dark: var(--color-brand-900);
  --coral: var(--color-accent-coral);
  --gold: var(--color-accent-gold);
  --white: var(--color-white);
  --shadow: var(--shadow-card);
  --shell: var(--container);
}
