:root {
  color-scheme: light;
  --navy-950: #061725;
  --navy-900: #0a2234;
  --navy-800: #11344a;
  --blue-600: #1478d4;
  --blue-700: #0b5fad;
  --green-500: #20a77b;
  --green-100: #def6ed;
  --ice-50: #f7fafc;
  --ice-100: #edf4f7;
  --ink: #081a28;
  --ink-soft: #2c485a;
  --muted: #657987;
  --line: #d6e2e9;
  --white: #fff;
  --warning: #9c6400;
  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;
  --shadow-sm: 0 10px 26px rgba(6, 23, 37, .08);
  --shadow: 0 24px 64px rgba(6, 23, 37, .15);
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.62;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--blue-700); }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid rgba(20, 120, 212, .45); outline-offset: 3px; }

.skip-link {
  position: fixed; left: 1rem; top: .75rem; z-index: 1000;
  transform: translateY(-160%); background: var(--white); color: var(--ink);
  padding: .7rem .9rem; border-radius: var(--radius-sm); box-shadow: var(--shadow);
}
.skip-link:focus { transform: translateY(0); }
.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.narrow { max-width: 820px; }
.section { padding: 92px 0; }
.section-sm { padding: 64px 0; }
.section-muted { background: linear-gradient(180deg, var(--ice-50), var(--ice-100)); }
.section-dark { background: var(--navy-950); color: var(--white); }
.flow > * + * { margin-top: 1rem; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; margin: 0 0 14px;
  color: var(--blue-700); font-size: .78rem; font-weight: 900; letter-spacing: .11em; text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 28px; height: 3px; border-radius: 99px; background: var(--green-500); }
.section-dark .eyebrow, .hero .eyebrow { color: #8bd9bf; }
h1, h2, h3 { margin-top: 0; line-height: 1.08; letter-spacing: -.035em; }
h1 { font-size: clamp(2.55rem, 6vw, 4.7rem); }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); }
h3 { font-size: 1.26rem; letter-spacing: -.02em; }
p { margin-top: 0; }
.lead { color: var(--ink-soft); font-size: clamp(1.06rem, 2vw, 1.25rem); max-width: 760px; }
.section-dark .lead { color: #c8d8e2; }
.section-head { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: end; margin-bottom: 40px; }
.section-head p { margin: 0; color: var(--ink-soft); }

.site-header {
  position: sticky; top: 0; z-index: 100; width: 100%;
  background: rgba(255, 255, 255, .88); border-bottom: 1px solid rgba(214, 226, 233, .8);
  backdrop-filter: blur(18px) saturate(150%);
}
.header-inner { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 22px; }
.brand { display: inline-flex; align-items: center; gap: 11px; min-width: max-content; }
.brand-mark {
  display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px;
  background: linear-gradient(135deg, var(--navy-950), var(--blue-600)); color: var(--white);
  font-size: .86rem; font-weight: 950; letter-spacing: -.04em; box-shadow: 0 8px 24px rgba(20,120,212,.2);
}
.brand strong, .brand small { display: block; line-height: 1.15; }
.brand strong { font-size: 1.02rem; }
.brand small { margin-top: 4px; color: var(--muted); font-size: .75rem; }
.site-nav { display: flex; align-items: center; gap: 20px; font-size: .9rem; font-weight: 780; color: var(--ink-soft); }
.site-nav a[aria-current="page"] { color: var(--blue-700); }
.nav-toggle {
  display: none; width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 13px;
  background: var(--white); align-items: center; justify-content: center; flex-direction: column; gap: 5px;
}
.nav-toggle span { width: 21px; height: 2px; background: var(--ink); border-radius: 99px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 50px;
  padding: .82rem 1.15rem; border: 1px solid transparent; border-radius: 12px;
  font-weight: 850; line-height: 1.2; text-align: center;
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, color .2s ease, border-color .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { color: var(--white); background: var(--blue-600); box-shadow: 0 12px 30px rgba(20,120,212,.24); }
.btn-primary:hover { color: var(--white); background: var(--blue-700); box-shadow: 0 16px 34px rgba(20,120,212,.3); }
.btn-secondary { color: var(--navy-950); background: var(--white); border-color: rgba(6,23,37,.15); }
.btn-secondary:hover { background: var(--ice-50); border-color: rgba(20,120,212,.4); }
.btn-ghost { color: var(--blue-700); background: transparent; border-color: var(--line); }
.button-row { display: flex; flex-wrap: wrap; gap: 12px; }

.hero {
  min-height: 680px; position: relative; display: grid; align-items: center; overflow: hidden;
  color: var(--white); background: var(--navy-950);
}
.hero-media { position: absolute; inset: 0; }
.hero-media picture, .hero-media img { width: 100%; height: 100%; }
.hero-media img { object-fit: cover; object-position: center; }
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(6,23,37,.98) 0%, rgba(6,23,37,.91) 38%, rgba(6,23,37,.43) 69%, rgba(6,23,37,.18) 100%);
}
.hero-content { position: relative; z-index: 2; padding: 94px 0 130px; }
.hero-copy { max-width: 760px; }
.hero h1 { margin-bottom: 22px; max-width: 780px; }
.hero-lead { max-width: 690px; color: #d6e6ef; font-size: clamp(1.08rem, 2vw, 1.28rem); }
.hero .button-row { margin-top: 30px; }
.ai-note { display: inline-flex; margin-top: 18px; color: #b8cad5; font-size: .75rem; }
.metric-strip {
  position: relative; z-index: 3; margin-top: -66px; display: grid; grid-template-columns: repeat(4, 1fr);
  background: rgba(255,255,255,.97); border: 1px solid rgba(214,226,233,.9); border-radius: var(--radius);
  box-shadow: var(--shadow); overflow: hidden;
}
.metric { padding: 27px 25px; border-right: 1px solid var(--line); }
.metric:last-child { border-right: 0; }
.metric strong { display: block; color: var(--navy-950); font-size: 1.65rem; line-height: 1; }
.metric span { display: block; margin-top: 8px; color: var(--muted); font-size: .88rem; line-height: 1.35; }

.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  padding: 28px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.card .number {
  display: grid; place-items: center; width: 42px; height: 42px; margin-bottom: 22px;
  border-radius: 12px; background: var(--green-100); color: #087253; font-weight: 900;
}
.card p { color: var(--ink-soft); margin-bottom: 0; }
.icon-chip {
  display: inline-flex; margin-bottom: 20px; padding: 7px 10px; border-radius: 999px;
  color: var(--blue-700); background: #e8f3fd; font-size: .75rem; font-weight: 850;
}

.media-split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.media-frame { position: relative; overflow: hidden; border-radius: var(--radius-lg); box-shadow: var(--shadow); background: var(--navy-900); }
.media-frame img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.media-caption {
  position: absolute; left: 14px; bottom: 14px; margin: 0; padding: 7px 10px;
  color: var(--white); background: rgba(6,23,37,.82); border-radius: 8px; font-size: .7rem;
}
.check-list { list-style: none; padding: 0; margin: 24px 0; }
.check-list li { position: relative; padding-left: 32px; margin: 12px 0; color: var(--ink-soft); }
.check-list li::before {
  content: "✓"; position: absolute; left: 0; top: 1px; display: grid; place-items: center;
  width: 21px; height: 21px; border-radius: 50%; color: #087253; background: var(--green-100); font-weight: 900;
}

.timeline { display: grid; gap: 14px; counter-reset: modules; }
.timeline-item {
  counter-increment: modules; display: grid; grid-template-columns: 64px 1fr auto; gap: 20px; align-items: center;
  padding: 22px 24px; background: var(--white); border: 1px solid var(--line); border-radius: 15px;
}
.timeline-item::before {
  content: counter(modules, decimal-leading-zero); display: grid; place-items: center; width: 52px; height: 52px;
  border-radius: 14px; color: var(--white); background: linear-gradient(135deg,var(--navy-900),var(--blue-600)); font-weight: 900;
}
.timeline-item h3 { margin: 0 0 5px; }
.timeline-item p { margin: 0; color: var(--ink-soft); font-size: .92rem; }
.timeline-hours { min-width: 82px; color: var(--blue-700); font-weight: 900; text-align: right; }

.evaluation-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.score-card { padding: 24px; border-radius: var(--radius); background: var(--navy-900); color: var(--white); }
.score-card strong { display: block; color: #86d8bb; font-size: 2.2rem; line-height: 1; }
.score-card span { display: block; margin-top: 9px; color: #cfdee7; }

.page-hero { padding: 94px 0 76px; background: linear-gradient(145deg,var(--navy-950),var(--navy-800)); color: var(--white); }
.page-hero .lead { color: #d0e0e9; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; color: #b9ccd7; font-size: .82rem; }
.breadcrumbs span { color: #74d3b0; }

.comparison { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.standard-card { padding: 30px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.standard-card strong.code { display: inline-flex; padding: 7px 10px; border-radius: 8px; color: var(--white); background: var(--navy-900); }
.standard-card ul { padding-left: 1.2rem; color: var(--ink-soft); }
.notice { padding: 22px 24px; border-left: 5px solid var(--green-500); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; background: var(--green-100); }
.notice.warning { border-left-color: #d79016; background: #fff5df; }
.notice p:last-child { margin-bottom: 0; }

.faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
details { border: 1px solid var(--line); border-radius: 14px; background: var(--white); }
summary { position: relative; padding: 20px 48px 20px 20px; cursor: pointer; font-weight: 850; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 20px; top: 17px; color: var(--blue-700); font-size: 1.5rem; }
details[open] summary::after { content: "–"; }
details p { padding: 0 20px 20px; margin: 0; color: var(--ink-soft); }

.contact-grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: 46px; align-items: start; }
.contact-card { padding: 28px; border-radius: var(--radius); background: var(--navy-950); color: var(--white); }
.contact-card a { color: #8edfc2; font-weight: 850; }
.contact-card p { color: #cfdee7; }
.admissions-form { padding: 32px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow-sm); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 17px; }
label { display: grid; gap: 7px; color: var(--ink); font-size: .9rem; font-weight: 780; }
input, select, textarea {
  width: 100%; border: 1px solid #b8c8d2; border-radius: 10px; background: var(--white);
  padding: .78rem .85rem; color: var(--ink);
}
textarea { resize: vertical; }
input[aria-invalid="true"], select[aria-invalid="true"] { border-color: #b53636; box-shadow: 0 0 0 3px rgba(181,54,54,.12); }
.form-wide { grid-column: 1 / -1; }
.form-note { margin: 18px 0; color: var(--muted); font-size: .82rem; }
.form-status { min-height: 25px; margin: 14px 0 0; font-weight: 750; }
.form-status.is-error { color: #9f2626; }
.form-status.is-success { color: #087253; }

.cta-panel {
  display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center;
  padding: 42px; border-radius: var(--radius-lg); background: linear-gradient(135deg,var(--navy-950),var(--navy-800)); color: var(--white);
}
.cta-panel h2 { margin-bottom: 10px; }
.cta-panel p { margin: 0; color: #cadbe4; }

.site-footer { padding: 64px 0 30px; background: #04121d; color: #c7d6df; }
.footer-grid { display: grid; grid-template-columns: 1.25fr .8fr .9fr 1fr; gap: 36px; }
.site-footer .brand strong, .site-footer h2 { color: var(--white); }
.site-footer h2 { margin-bottom: 14px; font-size: .95rem; letter-spacing: 0; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin: 8px 0; }
.site-footer a:hover { color: #8edfc2; }
.footer-bottom { margin-top: 40px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12); color: #8ea3b0; font-size: .78rem; }
.floating-cta { display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 80; gap: 10px; padding: 10px 18px calc(10px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.92); border-top: 1px solid var(--line); backdrop-filter: blur(14px); }
.floating-cta .btn { flex: 1; min-height: 46px; }

.motion-ready [data-animate] { opacity: 0; transform: translateY(18px); transition: opacity .55s ease var(--delay,0ms), transform .55s ease var(--delay,0ms); }
.motion-ready [data-animate].is-visible { opacity: 1; transform: none; }

@media (max-width: 1040px) {
  .site-nav { gap: 12px; font-size: .84rem; }
  .header-cta { display: none; }
  .section-head, .media-split, .contact-grid { grid-template-columns: 1fr; }
  .card-grid { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: repeat(2,1fr); }
}

@media (max-width: 820px) {
  .section { padding: 70px 0; }
  .nav-toggle { display: inline-flex; }
  .site-nav {
    position: absolute; left: 20px; right: 20px; top: calc(100% + 8px); display: none;
    flex-direction: column; align-items: stretch; gap: 0; padding: 8px; border: 1px solid var(--line);
    border-radius: 14px; background: rgba(255,255,255,.96); box-shadow: var(--shadow);
  }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 12px; border-radius: 9px; }
  .hero { min-height: 760px; align-items: end; }
  .hero-media img { object-position: center; }
  .hero::after { background: linear-gradient(180deg, rgba(6,23,37,.25), rgba(6,23,37,.78) 44%, rgba(6,23,37,.98) 82%); }
  .hero-content { padding: 300px 0 124px; }
  .hero-copy { max-width: none; }
  .metric-strip { grid-template-columns: repeat(2,1fr); }
  .metric:nth-child(2) { border-right: 0; }
  .metric:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .timeline-item { grid-template-columns: 54px 1fr; }
  .timeline-hours { grid-column: 2; text-align: left; }
  .comparison, .faq-grid { grid-template-columns: 1fr; }
  .cta-panel { grid-template-columns: 1fr; }
  .floating-cta { display: flex; }
  body { padding-bottom: 76px; }
}

@media (max-width: 620px) {
  .container { width: auto; margin-inline: max(22px, env(safe-area-inset-left)); }
  .header-inner { min-height: 70px; }
  .brand-mark { width: 41px; height: 41px; }
  .brand small { display: none; }
  .hero-content { padding-top: 330px; }
  .hero h1 { font-size: 2.5rem; }
  .button-row { flex-direction: column; }
  .button-row .btn { width: 100%; }
  .metric-strip, .card-grid, .evaluation-grid, .form-grid, .footer-grid { grid-template-columns: 1fr; }
  .metric { border-right: 0; border-bottom: 1px solid var(--line); }
  .metric:last-child { border-bottom: 0; }
  .timeline-item { padding: 18px; gap: 14px; }
  .admissions-form, .card, .standard-card { padding: 22px; }
  .cta-panel { padding: 28px 24px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

@media print {
  .site-header, .floating-cta, .button-row, .site-footer { display: none !important; }
  .section, .page-hero { padding: 28px 0; }
  body { padding: 0; }
}
