/*
  Design tokens — extracted verbatim from design ready/*.dc.html.
  See BRAND.md for provenance notes on each value.
*/
:root {
  /* Core palette — matched to the Anglophone crest: navy + gold */
  --bg: #FAFAF8;
  --ink: #0A0D14;
  --accent: #1E3A72;
  --accent2: #3E72C4;
  --accent-tint: #E9EEF7;
  --surface: #ffffff;
  --surface-alt: #F1F1EE;
  --border: #E7E7EC;
  --border-light: #EFEFF2;
  --text-muted: #6B7280;
  --text-lead: #4B5160;
  --text-label: #9CA3AF;
  --text-faint: #C9CBD3;
  --navy: #0B1F3F;
  --navy-label: #8C6A28;
  --navy-border: rgba(255, 255, 255, .18);

  /* Brand gold — sampled from the crest's laurel wreath + "PHONE" wordmark */
  --gold: #C09543;
  --gold-light: #E4C079;
  --gold-dark: #8C6A28;

  /* Program-card accent pairs — navy (Global English) + gold (Academic Prep), alternated */
  --purple-bg: #E9EEF7;
  --purple-text: #1E3A72;
  --purple-hover-border: #C7D4E8;
  --blue: #8C6A28;
  --blue-bg: #FBF1DF;
  --blue-text: #7A5A1C;
  --blue-hover-border: #EAD7A8;

  /* Misc colors used sparingly */
  --ink-alt: #2B303B;

  /* Feature-surface accent palette (crest navy + gold) */
  --ivory: #FAF9F6;
  --ivory-deep: #F3ECE3;
  --blush: #FBF1DF;
  --blush-deep: #EAD7A8;
  --lavender: #E9EEF7;
  --lavender-deep: #C7D4E8;
  --rose: #C09543;
  --rose-dark: #8C6A28;
  --charcoal: #14213D;
  --charcoal-soft: rgba(20, 33, 61, .62);
  --charcoal-faint: rgba(20, 33, 61, .4);

  /* Feature surface — cool navy-tinted wash for hero, CTA, feature cards (gold stays the accent) */
  --navy-2: var(--lavender-deep);
  --navy-deep: var(--blush-deep);
  --navy-gradient: radial-gradient(130% 160% at 20% -10%, #E9EEF7 0%, #DCE6F5 50%, #F8FAFD 100%);
  --glow-gold: rgba(192, 149, 67, .28);
  --glow-navy: rgba(30, 58, 114, .42);
  --glass-light-bg: rgba(255, 255, 255, .6);
  --glass-light-border: rgba(255, 255, 255, .8);
  --shadow-glow-navy: 0 40px 90px -40px rgba(30, 58, 114, .3), inset 0 1px 0 rgba(255, 255, 255, .6);
  --shadow-glow-gold: 0 22px 54px -22px rgba(192, 149, 67, .32);
  --shadow-glass: 0 30px 70px -40px rgba(11, 31, 63, .12), inset 0 1px 0 rgba(255, 255, 255, .7);

  /* Motion */
  --ease: cubic-bezier(.16, 1, .3, 1);
  --dur-fast: .3s;
  --dur-med: .4s;
  --dur-slow: .5s;
  --dur-slower: .6s;
  --dur-hero: .8s;
  --dur-bar: 1.4s;

  /* Radii */
  --radius-pill: 100px;
  --radius-xl: 26px;
  --radius-lg: 24px;
  --radius-md: 22px;
  --radius-sm: 20px;
  --radius-xs: 14px;
  --radius-tight: 10px;
  --radius-focus: 4px;

  /* Layout */
  --maxw: 1360px;
  --gutter: 24px;

  /* Vertical rhythm. Each scales from its phone value (320px) to the desktop value (~1024px+). */
  --section-pad-tight: clamp(48px, 3.2vw + 38px, 70px); /* .section--tight */
  --hero-pad-top: clamp(124px, 6.5vw + 103px, 170px);   /* inner-page heroes: clears the fixed header */

  /* Shadows */
  --shadow-nav: 0 1px 2px rgba(10, 13, 20, .03), 0 12px 40px -20px rgba(10, 13, 20, .22);
  --shadow-nav-scrolled: 0 1px 2px rgba(10, 13, 20, .04), 0 18px 50px -26px rgba(10, 13, 20, .3);
  --shadow-float: 0 24px 50px -30px rgba(10, 13, 20, .35);
  --shadow-float-dark: 0 24px 50px -30px rgba(10, 13, 20, .5);
  --shadow-menu: 0 40px 80px -40px rgba(10, 13, 20, .28);
  --shadow-card-hover: 0 30px 60px -40px rgba(10, 13, 20, .35);

  /* Fonts */
  --font-sans: Manrope, system-ui, sans-serif;
  --font-display: 'Fraunces', 'Times New Roman', serif;
  --font-mono: 'JetBrains Mono', monospace;
}
