@charset "UTF-8";

:root {
  --blue: #0a2f6b;
  --blue-2: #1555a2;
  --blue-3: #e8f1fb;
  --cream: #fff4d8;
  --cream-2: #fffaf0;
  --gold: #e4a62b;
  --ink: #172033;
  --muted: #627087;
  --white: #fff;
  --line: rgba(10, 47, 107, .13);
  --shadow: 0 24px 70px rgba(10, 47, 107, .14);
  --radius: 24px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--cream-2); font-family: Inter, system-ui, sans-serif; }
body::before { content: ""; position: fixed; inset: 0; z-index: -2; pointer-events: none; background-image: radial-gradient(rgba(21,85,162,.07) 1px, transparent 1px); background-size: 26px 26px; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { width: min(1160px, calc(100% - 36px)); margin-inline: auto; }
.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 9999; background: var(--blue); color: #fff; padding: .8rem 1rem; border-radius: 8px; }
.skip-link:focus { top: 1rem; }

.topbar { background: var(--blue); color: #fff; font-size: .8rem; }
.topbar-inner { min-height: 38px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.topbar-links { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.topbar a:hover { color: var(--cream); }
.site-header { position: sticky; top: 0; z-index: 1000; background: rgba(255,250,240,.96); border-bottom: 1px solid var(--line); backdrop-filter: blur(18px); box-shadow: 0 8px 30px rgba(10,47,107,.06); }
.nav-wrap { min-height: 86px; display: flex; align-items: center; justify-content: space-between; gap: 1.25rem; }
.brand { display: inline-flex; align-items: center; gap: .8rem; min-width: 0; }
.brand img { width: 62px; height: 62px; object-fit: contain; flex: 0 0 auto; }
.brand-copy strong { display: block; color: var(--blue); font-family: "DM Serif Display", Georgia, serif; font-size: clamp(1rem, 2vw, 1.35rem); line-height: 1; letter-spacing: .01em; }
.brand-copy span { display: block; color: var(--gold); font-size: .66rem; font-weight: 900; text-transform: uppercase; letter-spacing: .11em; margin-top: 5px; }
.nav-links { display: flex; align-items: center; gap: .2rem; }
.nav-links a { padding: .7rem .65rem; color: #364258; font-size: .78rem; font-weight: 800; text-transform: uppercase; letter-spacing: .045em; border-radius: 999px; }
.nav-links a:hover, .nav-links a.active { color: var(--blue); background: var(--blue-3); }
.nav-links .nav-cta { color: #fff; background: var(--blue); padding-inline: 1rem; }
.nav-links .nav-cta:hover { color: #fff; background: var(--blue-2); }
.nav-links .sms-login, .mobile-sms-login { color: #082758; background: linear-gradient(135deg, #ffd978, var(--gold)); border: 1px solid rgba(10,47,107,.14); box-shadow: 0 10px 24px rgba(228,166,43,.3); }
.nav-links .sms-login { padding-inline: 1rem; margin-left: .25rem; }
.nav-links .sms-login:hover, .mobile-sms-login:hover { color: #061f49; background: #ffe5a2; transform: translateY(-1px); }
.mobile-sms-login { display: none; min-height: 42px; align-items: center; justify-content: center; gap: .38rem; padding: .65rem .8rem; border-radius: 12px; font-size: .72rem; font-weight: 900; text-transform: uppercase; letter-spacing: .035em; white-space: nowrap; }
.nav-mobile-actions { display: flex; align-items: center; gap: .55rem; }
.nav-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 12px; background: #fff; color: var(--blue); font-size: 1.4rem; }

.hero { position: relative; overflow: hidden; background: linear-gradient(120deg, var(--cream-2) 0 56%, #e4effb 56%); }
.hero::after { content: ""; position: absolute; width: 340px; height: 340px; left: -180px; bottom: -190px; border: 52px solid rgba(228,166,43,.16); border-radius: 50%; }
.hero-grid { min-height: 680px; display: grid; grid-template-columns: 1.04fr .96fr; align-items: center; gap: 3.2rem; padding: 70px 0; }
.eyebrow { display: inline-flex; align-items: center; gap: .5rem; color: var(--blue-2); background: var(--blue-3); border: 1px solid rgba(21,85,162,.12); border-radius: 999px; padding: .55rem .8rem; font-size: .74rem; font-weight: 900; text-transform: uppercase; letter-spacing: .1em; }
.hero h1, .page-hero h1, .section-title { font-family: "DM Serif Display", Georgia, serif; color: var(--blue); }
.hero h1 { font-size: clamp(3rem, 6.5vw, 5.9rem); line-height: .93; margin: 1.25rem 0 1.2rem; letter-spacing: -.035em; }
.hero h1 span { color: var(--gold); }
.hero-copy { max-width: 640px; color: #4b5870; font-size: clamp(1rem, 1.7vw, 1.2rem); line-height: 1.75; }
.hero-actions, .inline-actions { display: flex; gap: .8rem; flex-wrap: wrap; margin-top: 1.8rem; }
.btn-main, .btn-light, .btn-outline { min-height: 50px; display: inline-flex; align-items: center; justify-content: center; gap: .5rem; border: 0; border-radius: 999px; padding: .85rem 1.2rem; font-weight: 900; cursor: pointer; }
.btn-main { color: #fff; background: var(--blue); box-shadow: 0 14px 30px rgba(10,47,107,.22); }
.btn-main:hover { background: var(--blue-2); transform: translateY(-2px); }
.btn-outline { color: var(--blue); background: #fff; border: 1px solid rgba(10,47,107,.22); }
.btn-light { color: var(--blue); background: var(--cream); }
.hero-note { margin-top: 1.5rem; display: flex; align-items: center; gap: .75rem; color: #344055; font-weight: 700; font-size: .9rem; }
.hero-note i { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; background: #fff; color: var(--gold); box-shadow: 0 8px 20px rgba(10,47,107,.12); }
.hero-media { position: relative; min-height: 520px; isolation: isolate; }
.hero-media::before { content: ""; position: absolute; inset: 35px 4% 0 8%; z-index: -1; border-radius: 48% 48% 24px 24px; background: linear-gradient(145deg, #dceaf9, #9ec2eb); box-shadow: inset 0 0 0 1px rgba(10,47,107,.08), var(--shadow); }
.hero-photo { position: absolute; left: 50%; bottom: 0; width: 116%; height: auto; max-width: none; object-fit: contain; transform: translateX(-50%); filter: drop-shadow(0 24px 26px rgba(10,47,107,.2)); }
.hero-crest { position: absolute; z-index: 2; left: -52px; bottom: 28px; width: 150px; aspect-ratio: 1; padding: 12px; object-fit: contain; border-radius: 50%; background: rgba(255,255,255,.96); box-shadow: 0 20px 55px rgba(10,47,107,.24); }
.hero-badge { position: absolute; z-index: 2; right: -22px; top: 38px; width: 145px; color: #fff; background: var(--blue); border: 6px solid var(--cream); border-radius: 20px; padding: 1rem; transform: rotate(3deg); box-shadow: var(--shadow); }
.hero-badge strong { display: block; font-family: "DM Serif Display", Georgia, serif; font-size: 2rem; line-height: 1; }
.hero-badge span { font-size: .72rem; line-height: 1.4; }

.trust-strip { position: relative; z-index: 2; margin-top: -32px; }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow); overflow: hidden; }
.trust-item { display: flex; align-items: center; gap: .85rem; padding: 1.25rem; border-right: 1px solid var(--line); }
.trust-item:last-child { border-right: 0; }
.trust-item i { color: var(--gold); font-size: 1.4rem; }
.trust-item strong { display: block; color: var(--blue); font-size: .9rem; }
.trust-item span { display: block; color: var(--muted); font-size: .73rem; margin-top: .2rem; }

.section { padding: 96px 0; }
.section-soft { background: #edf4fb; }
.section-dark { color: #fff; background: var(--blue); }
.section-dark .section-title, .section-dark .section-lead { color: #fff; }
.section-head { max-width: 720px; margin-bottom: 2.2rem; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-title { font-size: clamp(2.25rem, 5vw, 4rem); line-height: 1.02; margin: .8rem 0; }
.section-lead { color: var(--muted); font-size: 1.05rem; line-height: 1.75; }
.about-grid { display: grid; grid-template-columns: .92fr 1.08fr; gap: 4rem; align-items: center; }
.image-stack { position: relative; min-height: 550px; }
.image-stack .campus { width: 88%; height: 470px; object-fit: cover; border-radius: 24px; box-shadow: var(--shadow); }
.image-stack .pupil { position: absolute; right: 0; bottom: 0; width: 48%; height: 260px; object-fit: cover; object-position: center top; border: 8px solid var(--cream-2); border-radius: 20px; box-shadow: var(--shadow); }
.image-stack-single { min-height: 470px; }
.image-stack-single .campus { width: 100%; }
.founder-note { margin: 1.4rem 0 0; padding: 1rem 1.2rem; border-left: 4px solid var(--gold); background: #fff; border-radius: 0 14px 14px 0; color: #46546b; }
.values { display: grid; grid-template-columns: repeat(2, 1fr); gap: .9rem; margin-top: 1.6rem; }
.value { display: flex; gap: .75rem; padding: 1rem; background: #fff; border: 1px solid var(--line); border-radius: 16px; }
.value i { color: var(--gold); font-size: 1.2rem; }
.value strong { display: block; color: var(--blue); font-size: .9rem; }
.value span { color: var(--muted); font-size: .78rem; }

.program-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.program-card { position: relative; overflow: hidden; min-height: 290px; padding: 1.5rem; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 20px; transition: transform .2s ease, box-shadow .2s ease; }
.program-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.program-num { font-family: "DM Serif Display", Georgia, serif; color: rgba(10,47,107,.09); font-size: 5rem; line-height: .8; position: absolute; right: .8rem; top: .8rem; }
.program-icon { width: 50px; height: 50px; display: grid; place-items: center; border-radius: 14px; color: #fff; background: var(--blue); font-size: 1.4rem; }
.program-card h3 { color: var(--blue); font-size: 1.25rem; margin: 1.25rem 0 .6rem; }
.program-card p { color: var(--muted); line-height: 1.65; font-size: .9rem; }
.program-card a { color: var(--blue-2); font-size: .8rem; font-weight: 900; }

.vision-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.2rem; }
.vision-card { padding: 2rem; border: 1px solid rgba(255,255,255,.16); border-radius: 22px; background: rgba(255,255,255,.08); }
.vision-card i { font-size: 2rem; color: var(--gold); }
.vision-card h3 { margin: 1rem 0 .65rem; font-family: "DM Serif Display", Georgia, serif; font-size: 2rem; }
.vision-card p { color: rgba(255,255,255,.76); line-height: 1.75; }
.tech-banner { display: grid; grid-template-columns: .9fr 1.1fr; min-height: 430px; overflow: hidden; background: #fff; border-radius: 24px; box-shadow: var(--shadow); }
.tech-banner img { width: 100%; height: 100%; object-fit: cover; }
.tech-banner .tech-cutout { object-fit: contain; object-position: center bottom; padding: 2rem 1rem 0; background: linear-gradient(145deg, #dceaf9, #9ec2eb); }
.tech-copy { padding: clamp(2rem, 5vw, 4rem); display: flex; flex-direction: column; justify-content: center; }
.check-list { display: grid; gap: .7rem; margin-top: 1.2rem; }
.check-list span { display: flex; gap: .65rem; color: #435168; }
.check-list i { color: var(--gold); }

.cta { position: relative; overflow: hidden; padding: 58px; color: #fff; background: linear-gradient(135deg, var(--blue), var(--blue-2)); border-radius: 28px; box-shadow: var(--shadow); }
.cta::after { content: ""; position: absolute; width: 240px; height: 240px; right: -80px; top: -100px; border: 40px solid rgba(255,244,216,.16); border-radius: 50%; }
.cta-grid { position: relative; z-index: 1; display: flex; justify-content: space-between; gap: 2rem; align-items: center; }
.cta h2 { margin: 0 0 .7rem; font-family: "DM Serif Display", Georgia, serif; font-size: clamp(2rem, 4vw, 3.5rem); }
.cta p { margin: 0; color: rgba(255,255,255,.76); max-width: 650px; }

.page-hero { padding: 90px 0 70px; text-align: center; background: linear-gradient(135deg, var(--cream), #e4effb); }
.page-hero h1 { font-size: clamp(3rem, 7vw, 5.5rem); margin: .8rem 0; }
.page-hero p { max-width: 760px; margin: auto; color: var(--muted); font-size: 1.08rem; line-height: 1.75; }
.breadcrumb { display: flex; justify-content: center; gap: .55rem; color: var(--blue-2); font-size: .78rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.content-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: start; }
.content-card { padding: 2rem; background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: 0 14px 40px rgba(10,47,107,.07); }
.content-card h2, .content-card h3 { color: var(--blue); }
.content-card p, .content-card li { color: var(--muted); line-height: 1.7; }
.subject-groups { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.2rem; }
.subject-card { padding: 1.6rem; background: #fff; border: 1px solid var(--line); border-radius: 18px; }
.subject-card h2 { color: var(--blue); margin-top: 0; font-size: 1.35rem; }
.subject-card ul { columns: 2; padding-left: 1.1rem; margin-bottom: 0; }
.subject-card li { color: #536178; font-size: .83rem; margin-bottom: .45rem; break-inside: avoid; }

.contact-grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: 2rem; }
.contact-panel { color: #fff; background: var(--blue); padding: 2rem; border-radius: 22px; }
.contact-item { display: flex; gap: .9rem; padding: 1.1rem 0; border-bottom: 1px solid rgba(255,255,255,.14); }
.contact-item:last-child { border: 0; }
.contact-item i { color: var(--gold); font-size: 1.25rem; }
.contact-item strong { display: block; }
.contact-item span, .contact-item a { color: rgba(255,255,255,.75); font-size: .9rem; line-height: 1.55; }
.form-card { padding: 2rem; background: #fff; border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field.full { grid-column: 1 / -1; }
.field label { display: block; color: #344055; font-size: .78rem; font-weight: 900; margin-bottom: .45rem; }
.field input, .field select, .field textarea { width: 100%; min-height: 50px; padding: .8rem .95rem; color: var(--ink); background: #fbfcfe; border: 1px solid rgba(10,47,107,.18); border-radius: 12px; font: inherit; }
.field textarea { min-height: 145px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid rgba(21,85,162,.14); border-color: var(--blue-2); }
.consent { display: flex; gap: .65rem; align-items: flex-start; color: var(--muted); font-size: .78rem; }

.site-footer { margin-top: 90px; color: rgba(255,255,255,.76); background: #061f49; }
.footer-grid { display: grid; grid-template-columns: 1.4fr .7fr .8fr 1fr; gap: 2rem; padding: 65px 0 45px; }
.footer-brand { display: flex; align-items: center; gap: .9rem; color: #fff; font-family: "DM Serif Display", Georgia, serif; font-size: 1.3rem; }
.footer-brand img { width: 76px; height: 76px; object-fit: contain; }
.footer-intro { max-width: 350px; font-size: .88rem; line-height: 1.7; }
.footer-title { color: #fff; font-weight: 900; margin: .3rem 0 1rem; }
.footer-links { display: grid; gap: .7rem; font-size: .86rem; }
.footer-links a:hover { color: var(--gold); }
.socials { display: flex; gap: .6rem; margin-top: 1rem; }
.socials a { width: 38px; height: 38px; display: grid; place-items: center; color: #fff; background: rgba(255,255,255,.1); border-radius: 50%; }
.footer-bottom { display: flex; justify-content: space-between; gap: 1rem; padding: 1.2rem 0; border-top: 1px solid rgba(255,255,255,.12); font-size: .76rem; }

@media (max-width: 980px) {
  .mobile-sms-login { display: inline-flex; }
  .nav-toggle { display: grid; place-items: center; }
  .nav-links { display: none; position: absolute; left: 18px; right: 18px; top: calc(100% + 8px); padding: 1rem; flex-direction: column; align-items: stretch; background: #fffaf0; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); }
  .nav-links.open { display: flex; }
  .nav-links a { text-align: center; }
  .hero-grid, .about-grid, .tech-banner, .contact-grid { grid-template-columns: 1fr; }
  .hero-grid { padding-top: 52px; }
  .hero-media { min-height: 500px; }
  .program-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-item:nth-child(2) { border-right: 0; }
  .trust-item:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .container { width: min(100% - 24px, 1160px); }
  .topbar-inner { justify-content: center; padding: .55rem 0; }
  .topbar-links span:last-child, .topbar-social { display: none; }
  .nav-wrap { min-height: 74px; }
  .brand img { width: 50px; height: 50px; }
  .brand-copy strong { font-size: .92rem; }
  .brand-copy span { font-size: .54rem; }
  .mobile-sms-login { font-size: .66rem; padding-inline: .65rem; }
  .hero { background: linear-gradient(155deg, var(--cream-2) 0 58%, #e4effb 58%); }
  .hero-grid { min-height: auto; gap: 2rem; padding: 46px 0 70px; }
  .hero h1 { font-size: clamp(2.8rem, 14vw, 4.4rem); }
  .hero-media { min-height: 390px; }
  .hero-photo { width: 128%; }
  .hero-crest { width: 105px; left: -4px; bottom: -28px; }
  .hero-badge { width: 122px; right: -4px; top: 20px; }
  .trust-grid, .program-grid, .vision-grid, .values, .content-grid, .subject-groups, .form-grid, .footer-grid { grid-template-columns: 1fr; }
  .trust-item { border-right: 0; border-bottom: 1px solid var(--line); }
  .trust-item:last-child { border-bottom: 0; }
  .section { padding: 68px 0; }
  .image-stack { min-height: 430px; }
  .image-stack .campus { width: 100%; height: 350px; }
  .image-stack .pupil { height: 200px; }
  .image-stack-single { min-height: 350px; }
  .subject-card ul { columns: 1; }
  .cta { padding: 34px 24px; }
  .cta-grid, .footer-bottom { align-items: flex-start; flex-direction: column; }
  .site-footer { margin-top: 60px; }
}

@media (max-width: 430px) {
  .brand-copy { display: none; }
  .mobile-sms-login { min-height: 40px; }
}

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; } }
