@font-face {
  font-family: "Figtree";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(/fonts/figtree-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Figtree";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(/fonts/figtree-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 {
  --navy: #14213d;
  --navy-2: #0e1830;
  --navy-hover: #1f3159;
  --gold: #e3a924;
  --gold-hover: #f0b93a;
  --gold-text: #8f6508;
  --ink: #14213d;
  --text: #2c3548;
  --muted: #5d6779;
  --line: #e3e7ee;
  --bg: #ffffff;
  --bg-alt: #f4f6fa;
  --radius: 12px;
  --wrap: 1140px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 80px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { color: var(--ink); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -0.02em; font-weight: 800; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -9999px; top: 0; background: var(--navy); color: #fff; padding: 10px 14px; z-index: 100; }
.skip:focus { left: 10px; top: 10px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 22px; border-radius: 10px;
  font: inherit; font-weight: 700; font-size: 16px; text-decoration: none;
  border: 1.5px solid transparent; transition: background-color .15s, border-color .15s, color .15s;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--navy-hover); }
.btn-accent { background: var(--gold); color: var(--navy); }
.btn-accent:hover { background: var(--gold-hover); }
.btn-ghost { border-color: #c9d0dc; color: var(--navy); background: transparent; }
.btn-ghost:hover { border-color: var(--navy); }
.btn-outline-light { border-color: rgba(255,255,255,.35); color: #fff; background: transparent; }
.btn-outline-light:hover { border-color: #fff; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 76px; }
.brand img { height: 48px; width: auto; }
.nav { display: flex; align-items: center; gap: 32px; }
.nav a { text-decoration: none; font-weight: 600; font-size: 16px; color: var(--text); }
.nav a:hover { color: var(--gold-text); }
.site-header .btn { min-height: 44px; padding: 10px 18px; }

/* Hero */
.hero { background: var(--navy); color: #d5dbe6; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 56px; padding-top: 72px; padding-bottom: 72px; }
.eyebrow {
  display: flex; align-items: center; gap: 12px;
  font-size: 15px; font-weight: 700; color: var(--gold); margin-bottom: 20px;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--gold); }
.hero h1 { color: #fff; font-size: clamp(38px, 5.4vw, 62px); }
.hero h1 span { color: var(--gold); }
.hero .lead { font-size: 19px; max-width: 32em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-media img { border-radius: 16px; width: 100%; aspect-ratio: 660 / 590; object-fit: cover; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 10px 28px; margin: 36px 0 0; padding: 28px 0 0; list-style: none; border-top: 1px solid rgba(255,255,255,.12); font-size: 15px; }
.hero-facts li { display: flex; align-items: center; gap: 10px; }
.hero-facts svg { width: 18px; height: 18px; color: var(--gold); flex: none; }

/* Sections */
.section { padding: 96px 0; }
.section-alt { background: var(--bg-alt); }
.section-head { max-width: 640px; margin-bottom: 48px; }
.section-head h2 { font-size: clamp(30px, 3.6vw, 42px); }
.section-head p { color: var(--muted); font-size: 18px; margin: 0; }

.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.service { background: #fff; padding: 32px 28px; }
.service .icon { width: 28px; height: 28px; color: var(--gold-text); margin-bottom: 18px; }
.service .icon svg { width: 28px; height: 28px; }
.service h3 { font-size: 20px; margin-bottom: 8px; }
.service p { font-size: 16px; color: var(--muted); margin: 0; }
.service-cta { background: var(--navy); color: #d5dbe6; display: flex; flex-direction: column; justify-content: space-between; gap: 20px; }
.service-cta h3 { color: #fff; }
.service-cta p { color: #c3cbd9; }
.service-cta .btn { align-self: flex-start; }

.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.feature img { border-radius: var(--radius); aspect-ratio: 490 / 528; object-fit: cover; width: 100%; margin-bottom: 18px; background: var(--line); }
.feature h3 { font-size: 19px; margin-bottom: 6px; }
.feature p { font-size: 16px; color: var(--muted); margin: 0; }

.split { display: grid; grid-template-columns: 1.4fr 1fr; grid-template-rows: clamp(320px, 38vw, 480px); gap: 24px; }
.split img { border-radius: var(--radius); width: 100%; height: 100%; object-fit: cover; background: var(--line); }
.classroom-text { margin-top: 48px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.stat { border-left: 3px solid var(--gold); padding-left: 18px; }
.stat strong { display: block; font-size: 19px; color: var(--ink); margin-bottom: 4px; }
.stat span { font-size: 16px; color: var(--muted); }

/* Contact */
.contact { display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; align-items: stretch; }
.contact-list { list-style: none; padding: 0; margin: 0 0 32px; display: grid; gap: 24px; }
.contact-list li { display: flex; gap: 16px; align-items: flex-start; }
.contact-list .ci { width: 44px; height: 44px; border-radius: 10px; background: var(--navy); display: grid; place-items: center; flex: none; }
.contact-list .ci svg { width: 20px; height: 20px; color: var(--gold); }
.contact-list small { display: block; font-size: 14px; color: var(--muted); font-weight: 600; }
.contact-list div { color: var(--ink); }
.contact-list a { text-decoration: none; font-weight: 700; }
.contact-list a:hover { color: var(--gold-text); }
.contact .actions { display: flex; flex-wrap: wrap; gap: 12px; }
.map { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); min-height: 380px; background: var(--line); }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }

/* Footer */
.site-footer { background: var(--navy-2); color: #aeb7c7; padding: 40px 0; font-size: 15px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px 32px; align-items: center; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.site-footer a { text-decoration: none; color: #e6eaf1; }
.site-footer a:hover { color: var(--gold); }
.site-footer p { margin: 0; }

/* Legal pages */
.legal { padding: 56px 0 96px; }
.legal .wrap { max-width: 780px; }
.legal h1 { font-size: clamp(30px, 4vw, 40px); }
.legal h2 { font-size: 21px; margin-top: 2em; }
.legal ul { padding-left: 1.2em; }
.legal li { margin-bottom: .4em; }
.legal a { color: var(--navy); font-weight: 600; }
.legal .updated { color: var(--muted); font-size: 15px; }
.legal .back { display: inline-block; margin-bottom: 24px; color: var(--gold-text); text-decoration: none; }
.legal .btn-primary { color: #fff; }
.nf-logo { height: 56px; width: auto; margin-bottom: 32px; }

/* Responsive */
@media (max-width: 960px) {
  .services { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 36px; padding-top: 40px; padding-bottom: 56px; }
  .hero-media { order: -1; }
  .features { grid-template-columns: repeat(2, 1fr); gap: 20px 16px; }
  .contact { grid-template-columns: 1fr; gap: 32px; }
  .split { grid-template-columns: 1fr; grid-template-rows: auto; }
  .split img { height: auto; aspect-ratio: 1200 / 794; }
  .split .tall { display: none; }
}
@media (max-width: 720px) {
  .nav { display: none; }
  .section { padding: 64px 0; }
  .classroom-text { grid-template-columns: 1fr; gap: 20px; }
  .brand img { height: 40px; }
  .services { grid-template-columns: 1fr; }
}
@media (max-width: 420px) {
  .wrap { padding: 0 16px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .site-header .btn span { display: none; }
  .site-header .btn { padding: 10px 12px; }
  .feature h3 { font-size: 17px; }
  .feature p { font-size: 15px; }
}
