/* Design tokens — Royal Academy School. Navy, burgundy accent, white; light-blue soft bg; gold used rarely (owner request 23.11, D-15).
   Colour values from the owner's site. */
/* Fonts (OFL, self-hosted, Cyrillic): Geologica — headings (replaced Unbounded, D-32); Onest — text; Montserrat 800 — gold wordmark only (D-20). */
@font-face { font-family: 'Onest'; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url('../fonts/onest-cyrillic.woff2') format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Onest'; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url('../fonts/onest-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }


@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 800; font-display: swap;
  src: url('../fonts/montserrat-latin-800.woff2') format('woff2'); unicode-range: U+0000-00FF, U+2000-206F; }

@font-face { font-family: 'Geologica'; font-style: normal; font-weight: 300 800; font-display: swap;
  src: url('../fonts/geologica-cyrillic.woff2') format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Geologica'; font-style: normal; font-weight: 300 800; font-display: swap;
  src: url('../fonts/geologica-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  /* brand (4) */
  --blue-900: #102040;
  --blue-700: #1A3058;
  --blue-500: #2C5AA0;
  --burgundy-700: #8E1A28;
  --burgundy-600: #A82434;
  --burgundy-800: #6B1420;
  --white: #FFFFFF;
  --sky-50: #EAF3FB;
  /* gold — owner's accent from her site (#C9A24D family): wordmark, accents on navy, stars, ✦ (D-15, D-20). */
  --gold: #C9A24D;
  --gold-grad: linear-gradient(100deg, #9A7628 0%, #C9A24D 28%, #E9CF8C 50%, #C9A24D 72%, #9A7628 100%);
  --kids: #E0B23A;
  --gold-soft: #E8D4A8;
  --gold-deep: #A8842E;
  --bg: #FFFFFF;
  --bg-soft: #F6F9FD;
  /* tints of the same family */
  --sky-100: #D9E8F6;
  --sky-200: #C3D8EE;
  --blue-300: #9DB9E0;
  --muted: #4A5F80;
  --burgundy-50: #F6E6E8;
  --line: rgba(26, 48, 88, .16);
  --line-dark: rgba(255, 255, 255, .28);

  --font-display: 'Geologica', 'Onest', system-ui, sans-serif;
  --font-wordmark: 'Montserrat', 'Onest', system-ui, sans-serif;
  --font-text: 'Onest', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --fs-h1: clamp(2rem, 1.05rem + 3.3vw, 3.75rem);
  --fs-h2: clamp(1.5rem, 1.1rem + 1.6vw, 2.5rem);
  --fs-h3: clamp(1.125rem, 1rem + .5vw, 1.375rem);
  --fs-lead: clamp(1.0625rem, 1rem + .35vw, 1.25rem);
  --fs-body: 1rem;
  --fs-small: .875rem;

  --r-pill: 999px; --r-input: 12px; --r-card: 16px; --r-dir: 28px;
  --shadow: 0 12px 32px rgba(16, 32, 64, .12);
  --shadow-lg: 0 24px 56px rgba(16, 32, 64, .18);
  --sec-y: clamp(56px, 4rem + 2vw, 104px);
  --gutter: clamp(16px, 4vw, 96px);
  --maxw: 1248px;
  --header-h: 80px;
  --bar-h: 64px;
  --safe-b: env(safe-area-inset-bottom, 0px);
  --ease: cubic-bezier(.2, .7, .2, 1);
}
