:root {
  --navy: #062b45;
  --navy-deep: #041f33;
  --steel: #416a8c;
  --pale: #a9c7d5;
  --cool-white: #f4f7fa;
  --white: #ffffff;
  --ink: #062b45;
  --muted: #416a8c;
  --line: rgba(6, 43, 69, 0.18);
  --sans: "Avenir Next", Avenir, Montserrat, ui-sans-serif, system-ui, sans-serif;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 74px; }
body { margin: 0; background: var(--cool-white); color: var(--ink); font: 16px/1.6 var(--sans); }
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.06; }
h1, h2 { font-weight: 600; letter-spacing: -0.035em; }
h1 { max-width: 800px; margin-bottom: 1.25rem; font-size: clamp(3.15rem, 5.8vw, 6.15rem); }
h2 { margin-bottom: 1.2rem; font-size: clamp(2.45rem, 4.25vw, 4.5rem); }
h3 { margin-bottom: .6rem; font-size: clamp(1.55rem, 2.35vw, 2.2rem); font-weight: 600; letter-spacing: -.02em; }
p { margin-bottom: 1.25rem; }
.section-inner, .hero-inner { position: relative; width: min(1220px, calc(100% - 4rem)); margin-inline: auto; }

.skip-link { position: fixed; z-index: 50; top: 0; left: 1rem; transform: translateY(-120%); background: var(--pale); color: var(--navy); padding: .7rem 1rem; font-weight: 800; }
.skip-link:focus { top: 1rem; transform: translateY(0); }
.site-header { position: fixed; z-index: 30; inset: 0 0 auto; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 1.5rem; padding: .55rem max(2rem, calc((100% - 1360px) / 2)); background: rgba(6,43,69,.88); color: var(--cool-white); transition: background .22s ease, box-shadow .22s ease; backdrop-filter: blur(14px); }
.site-header.is-scrolled { background: rgba(6,43,69,.97); box-shadow: 0 10px 34px rgba(4,31,51,.2); }
.brand, .footer-brand { display: inline-flex; align-items: center; }
.brand img, .footer-brand img { width: 180px; height: 60px; object-fit: contain; }
.nav-links { display: flex; justify-content: center; gap: clamp(1rem, 2.4vw, 2.25rem); font-size: .88rem; font-weight: 700; }
.nav-links a { opacity: .8; }
.nav-links a:hover, .nav-links a:focus-visible { opacity: 1; }
.header-cta { border: 1px solid currentColor; padding: .65rem .95rem; font-size: .83rem; font-weight: 800; line-height: 1.2; }
.header-cta:hover, .header-cta:focus-visible { background: var(--pale); border-color: var(--pale); color: var(--navy); }

.hero { position: relative; min-height: 94svh; display: flex; align-items: center; overflow: hidden; background: var(--navy-deep); color: var(--white); padding: 8.5rem 0 6rem; }
.hero-media, .hero-media img, .hero-shade { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-media { left: 44%; width: 56%; }
.hero-media img { object-fit: cover; object-position: 58% center; }
.hero-shade { background: linear-gradient(90deg, var(--navy-deep) 0%, var(--navy-deep) 38%, rgba(4,31,51,.86) 54%, rgba(4,31,51,.08) 87%); }
.hero-inner { z-index: 1; }
.hero-inner > p:not(.brand-promise) { max-width: 680px; margin-bottom: 2rem; color: rgba(244,247,250,.78); font-size: clamp(1.05rem, 1.65vw, 1.3rem); }
.brand-promise { display: inline-flex; align-items: center; gap: .8rem; margin-bottom: 1.35rem; color: var(--pale); font-size: .77rem; font-weight: 600; letter-spacing: .13em; text-transform: uppercase; }
.brand-promise::before { width: 38px; height: 1px; background: var(--pale); content: ""; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.button { display: inline-flex; min-height: 52px; align-items: center; justify-content: center; gap: .7rem; border: 1px solid transparent; padding: .82rem 1.2rem; font-size: .92rem; font-weight: 800; line-height: 1.2; transition: background .18s ease, color .18s ease, border-color .18s ease; }
.button svg, .pathways a svg { width: 19px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.button-primary { background: var(--steel); color: var(--white); }
.button-primary:hover, .button-primary:focus-visible { background: var(--pale); color: var(--navy); }
.button-ghost, .button-outline-light { border-color: rgba(255,255,255,.75); color: var(--white); }
.button-ghost:hover, .button-ghost:focus-visible, .button-outline-light:hover, .button-outline-light:focus-visible { background: var(--white); color: var(--navy); }
.button-outline-dark { border-color: var(--steel); color: var(--steel); }
.button-outline-dark:hover, .button-outline-dark:focus-visible { background: var(--navy); border-color: var(--navy); color: var(--white); }

.mission-section { background: var(--cool-white); padding: 7.5rem 0; }
.mission-grid { display: grid; grid-template-columns: .55fr 1.45fr; gap: clamp(3rem, 7vw, 8rem); align-items: center; }
.mission-grid > div:last-child { max-width: 860px; }
.mission-grid > div:last-child > p:not(.formation-note) { max-width: 760px; color: var(--muted); font-size: 1.15rem; }
.mission-mark { width: min(310px, 100%); aspect-ratio: 1; margin-inline: auto; opacity: .16; }
.mission-mark img { width: 100%; height: 100%; object-fit: contain; }
.formation-note, .development-status { border-left: 2px solid var(--pale); padding-left: 1rem; color: var(--muted); font-size: .9rem; }

.programs-section { padding: 8rem 0; border-top: 1px solid var(--line); }
.programs-layout { display: grid; grid-template-columns: .7fr 1.3fr; gap: clamp(3rem, 7vw, 7rem); align-items: start; }
.programs-intro { position: sticky; top: 120px; }
.programs-intro h2 { max-width: 460px; }
.programs-intro p { max-width: 430px; color: var(--muted); font-size: 1.08rem; }
.program-list { border-top: 1px solid var(--line); }
.program-row { display: grid; grid-template-columns: 68px 1fr; gap: 1.4rem; align-items: center; min-height: 150px; border-bottom: 1px solid var(--line); padding: 1.4rem 0; }
.program-row-media { grid-template-columns: 68px 1fr minmax(190px, 38%); }
.program-number { align-self: start; padding-top: .15rem; color: var(--steel); font-size: 2.1rem; font-weight: 500; line-height: 1; }
.program-row h3 { margin-bottom: .45rem; font-size: clamp(1.65rem, 2.3vw, 2.2rem); }
.program-row p { max-width: 520px; margin-bottom: 0; color: var(--muted); }
.program-row img { width: 100%; height: 122px; border-radius: 10px; object-fit: cover; }

.approach-section { background: var(--navy); color: var(--white); padding: 7rem 0; }
.approach-heading { display: grid; grid-template-columns: 1.1fr .7fr; gap: 3rem; align-items: end; margin-bottom: 4rem; }
.approach-heading h2 { max-width: 770px; margin-bottom: 0; }
.approach-heading p { margin-bottom: .35rem; color: rgba(255,255,255,.7); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0; padding: 0; list-style: none; }
.steps li { min-height: 210px; border-left: 1px solid rgba(169,199,213,.3); padding: 0 1.5rem; }
.steps li:first-child { padding-left: 0; border-left: 0; }
.steps li > span { display: block; margin-bottom: 2.2rem; color: var(--pale); font-size: 1.75rem; font-weight: 500; }
.steps h3 { font-size: 1.75rem; }
.steps p { margin-bottom: 0; color: rgba(255,255,255,.68); }

.events-section { position: relative; min-height: 650px; display: flex; align-items: center; overflow: hidden; background: var(--navy-deep); color: var(--white); }
.events-section > img, .events-shade { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.events-shade { background: linear-gradient(90deg, rgba(4,31,51,.98) 0%, rgba(4,31,51,.92) 36%, rgba(4,31,51,.38) 70%, rgba(4,31,51,.06) 100%); }
.events-content { z-index: 1; padding-block: 7rem; }
.events-content h2 { max-width: 690px; }
.events-content p { max-width: 610px; color: rgba(255,255,255,.78); font-size: 1.1rem; }
.events-content .button { margin-top: .5rem; }

.students-section { padding: 0; overflow: hidden; }
.students-grid { width: min(1440px, 100%); display: grid; grid-template-columns: .8fr 1.2fr; align-items: stretch; }
.students-copy { max-width: 620px; padding: clamp(5rem, 8vw, 8rem) 2rem clamp(5rem, 8vw, 8rem) max(2rem, calc((100vw - 1220px) / 2)); }
.students-copy p:not(.development-status) { color: var(--muted); font-size: 1.08rem; }
.students-copy .button { margin-top: .75rem; }
.students-image { min-height: 700px; overflow: hidden; border-top-left-radius: 46% 18%; }
.students-image img { width: 100%; height: 100%; object-fit: cover; object-position: 58% center; }

.involved-section { background: var(--cool-white); padding: 7.5rem 0; border-block: 1px solid var(--line); }
.involved-heading { max-width: 860px; margin: 0 auto 4rem; text-align: center; }
.involved-heading p { color: var(--muted); font-size: 1.08rem; }
.pathways { display: grid; grid-template-columns: repeat(3, 1fr); }
.pathways article { min-height: 310px; border-left: 1px solid rgba(65,106,140,.4); padding: 1rem clamp(1.5rem, 3vw, 3rem); text-align: center; }
.pathways article:first-child { border-left: 0; }
.pathways h3 { font-size: clamp(1.75rem, 2.6vw, 2.45rem); }
.pathways p { color: var(--muted); }
.pathways a { display: inline-flex; align-items: center; gap: .55rem; margin-top: .8rem; border-bottom: 1px solid var(--steel); padding-bottom: .3rem; color: var(--steel); font-size: .85rem; font-weight: 850; letter-spacing: .03em; text-transform: uppercase; }

.faq-section { padding: 7.5rem 0; }
.faq-layout { max-width: 1040px; }
.faq-layout > h2 { margin-bottom: 3rem; text-align: center; font-size: clamp(2.5rem, 4vw, 4rem); }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { display: grid; grid-template-columns: 54px 1fr auto; align-items: center; gap: .8rem; padding: 1.25rem 0; cursor: pointer; color: var(--ink); font-weight: 750; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; color: var(--steel); font-size: 1.8rem; font-weight: 400; line-height: 1; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list summary span { color: var(--steel); font-size: 1.05rem; font-weight: 600; }
.faq-list details p { max-width: 800px; margin: 0 0 1.4rem 54px; color: var(--muted); }
.faq-list details p a { color: var(--steel); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

.contact-section { background: var(--navy); color: var(--white); padding: 5.5rem 0; }
.contact-grid { display: grid; grid-template-columns: 1fr auto; gap: 3rem; align-items: center; }
.contact-grid h2 { max-width: 760px; margin: 0; font-size: clamp(2.7rem, 4.8vw, 5rem); }
.contact-actions { display: flex; align-items: center; gap: 1.25rem; }
.contact-actions > a:first-child { border-bottom: 1px solid var(--pale); padding-bottom: .2rem; font-weight: 700; }
.site-footer { background: var(--navy-deep); color: rgba(255,255,255,.68); padding: 2rem 0; }
.footer-inner { display: grid; grid-template-columns: auto 1fr auto; gap: 2rem; align-items: center; }
.footer-brand { color: var(--cool-white); }
.footer-inner p { margin: 0; text-align: center; font-size: .88rem; }
.footer-inner nav { display: flex; gap: 1.2rem; font-size: .8rem; }
.footer-inner nav a:hover, .footer-inner nav a:focus-visible { color: var(--white); }
:focus-visible { outline: 3px solid var(--pale); outline-offset: 4px; }

@media (max-width: 1040px) {
  .nav-links { display: none; }
  .programs-layout { grid-template-columns: .8fr 1.2fr; gap: 3rem; }
  .program-row-media { grid-template-columns: 60px 1fr; }
  .program-row-media img { grid-column: 2; height: 180px; }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 2.5rem 0; }
  .steps li:nth-child(3) { border-left: 0; padding-left: 0; }
  .students-image { min-height: 620px; }
  .contact-grid, .footer-inner { grid-template-columns: 1fr; }
  .footer-inner p { text-align: left; }
}

@media (max-width: 780px) {
  .section-inner, .hero-inner { width: min(100% - 2rem, 1220px); }
  .site-header { grid-template-columns: 1fr auto; padding: .7rem 1rem; }
  .brand img { width: 146px; height: 49px; }
  .header-cta { max-width: 150px; padding: .55rem .7rem; text-align: center; font-size: .75rem; }
  .hero { min-height: 90svh; padding: 7.5rem 0 4.5rem; }
  .hero-media { left: 0; width: 100%; }
  .hero-shade { background: linear-gradient(90deg, rgba(4,31,51,.97) 0%, rgba(4,31,51,.87) 72%, rgba(4,31,51,.58) 100%); }
  .mission-section, .programs-section, .approach-section, .involved-section, .faq-section { padding-block: 5rem; }
  .mission-grid, .programs-layout, .approach-heading, .students-grid, .contact-grid { grid-template-columns: 1fr; }
  .mission-mark { display: none; }
  .programs-intro { position: static; }
  .programs-intro h2 { max-width: none; }
  .program-row { grid-template-columns: 54px 1fr; }
  .program-row-media { grid-template-columns: 54px 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .events-section { min-height: 600px; }
  .events-shade { background: linear-gradient(90deg, rgba(4,31,51,.97), rgba(4,31,51,.68)); }
  .students-copy { max-width: none; padding: 5rem 1rem; }
  .students-image { order: -1; min-height: 430px; border-radius: 0 0 42% 0 / 0 0 13% 0; }
  .pathways { grid-template-columns: 1fr; }
  .pathways article { min-height: auto; border-left: 0; border-top: 1px solid rgba(65,106,140,.4); padding: 2.3rem 0; }
  .pathways article:first-child { border-top: 0; }
  .involved-heading { margin-bottom: 1.5rem; }
  .contact-actions { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 540px) {
  h1 { font-size: clamp(3rem, 15vw, 4.5rem); }
  h2 { font-size: clamp(2.45rem, 11vw, 3.6rem); }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .hero-actions .button { width: 100%; }
  .program-row { grid-template-columns: 44px 1fr; gap: .8rem; }
  .program-number { font-size: 1.8rem; }
  .program-row-media img { grid-column: 1 / -1; height: 190px; }
  .steps { grid-template-columns: 1fr; }
  .steps li, .steps li:nth-child(3) { min-height: auto; border-top: 1px solid rgba(169,199,213,.3); border-left: 0; padding: 1.5rem 0 0; }
  .steps li:first-child { border-top: 0; padding-top: 0; }
  .steps li > span { margin-bottom: .6rem; }
  .students-image { min-height: 330px; }
  .faq-list summary { grid-template-columns: 38px 1fr auto; font-size: .92rem; }
  .faq-list details p { margin-left: 38px; }
  .contact-actions, .contact-actions .button { width: 100%; }
  .footer-inner nav { flex-wrap: wrap; }
}

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