:root {
  --blue: #003366;
  --blue-deep: #001f40;
  --orange: #ff7a00;
  --yellow: #ffc107;
  --teal: #00a6a6;
  --green: #28a745;
  --graphite: #1f2937;
  --gray: #e5e7eb;
  --white: #ffffff;
  --ink: #13213a;
  --muted: #59677d;
  --mist: #f3f7fb;
  --shadow: 0 24px 65px rgba(0, 38, 78, .15);
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--white); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; line-height: 1.62; }
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.1; }
h2 { margin-bottom: 24px; color: var(--blue); font-size: clamp(2rem, 4vw, 3.5rem); letter-spacing: -.04em; }
h3 { color: var(--blue); }
.container { width: min(var(--container), calc(100% - 48px)); margin: 0 auto; }
.skip-link { position: fixed; z-index: 100; top: 12px; left: 12px; padding: 10px 14px; color: #fff; background: var(--blue); border-radius: 8px; transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }

.site-header { position: sticky; z-index: 40; top: 0; background: rgba(255,255,255,.96); border-bottom: 1px solid rgba(0,51,102,.1); backdrop-filter: blur(14px); }
.main-site-banner { min-height: 38px; padding: 7px 20px; display: flex; align-items: center; justify-content: center; gap: 10px; color: #fff; background: linear-gradient(90deg, var(--blue), #005b89 55%, var(--teal)); font-size: .9rem; text-decoration: none; }
.main-site-banner strong { color: #fff1c2; letter-spacing: .01em; }
.main-site-banner:hover strong { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.nav-shell { width: min(var(--container), calc(100% - 48px)); min-height: 82px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { width: 58px; height: 58px; object-fit: contain; }
.brand-word { color: var(--blue); font-size: 1.32rem; font-weight: 950; letter-spacing: -.03em; line-height: 1; }
.brand-word small { display: block; margin-top: 6px; font-size: .56rem; font-weight: 800; letter-spacing: .3em; }
.main-nav { display: flex; align-items: center; gap: 24px; font-weight: 750; font-size: .92rem; }
.main-nav a { text-decoration: none; }
.main-nav a:hover { color: var(--orange); }
.nav-cta { padding: 11px 18px; color: #fff !important; background: var(--orange); border-radius: 999px; box-shadow: 0 8px 24px rgba(255,122,0,.25); }
.menu-button { display: none; padding: 9px 13px; color: var(--blue); background: transparent; border: 1px solid rgba(0,51,102,.25); border-radius: 8px; font: inherit; font-weight: 700; }

.hero { position: relative; min-height: 710px; display: grid; align-items: center; overflow: hidden; background: var(--blue-deep); }
.hero-photo, .hero-shade { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-photo { object-fit: cover; object-position: center; }
.hero-shade { background: linear-gradient(90deg, rgba(0,25,55,.97) 0%, rgba(0,42,82,.91) 34%, rgba(0,42,82,.35) 60%, rgba(0,20,40,.06) 100%); }
.hero-content { position: relative; z-index: 2; padding-block: 110px; }
.hero-content h1 { max-width: 760px; margin: 0 0 26px; color: #fff; font-size: clamp(3rem, 6.3vw, 6.1rem); letter-spacing: -.06em; }
.hero-content h1 span { color: var(--orange); }
.hero-lead { max-width: 690px; margin-bottom: 34px; color: rgba(255,255,255,.9); font-size: clamp(1.08rem, 2vw, 1.32rem); }
.eyebrow { margin-bottom: 16px; color: var(--orange); font-size: .78rem; font-weight: 900; letter-spacing: .18em; }
.eyebrow.light { color: #ffd494; }
.hero-actions, .contact-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.button { display: inline-block; padding: 14px 22px; border-radius: 10px; font-weight: 850; text-decoration: none; transition: .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: #fff; background: var(--orange); box-shadow: 0 12px 30px rgba(255,122,0,.28); }
.button-ghost { color: #fff; border: 1px solid rgba(255,255,255,.55); background: rgba(255,255,255,.06); }
.button-white { color: var(--blue); background: #fff; }

.facts { position: relative; z-index: 4; margin-top: -50px; }
.facts-grid { display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; border-radius: 20px; box-shadow: var(--shadow); overflow: hidden; }
.facts article { min-height: 132px; padding: 28px 30px; display: grid; align-content: center; border-right: 1px solid var(--gray); }
.facts article:last-child { border-right: 0; background: linear-gradient(135deg, #effafa, #fff); }
.facts strong { color: var(--blue); font-size: 1.2rem; }
.facts span { color: var(--muted); font-size: .92rem; }

.section { padding: 112px 0; }
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: 72px; align-items: center; }
.lead { color: var(--graphite); font-size: 1.2rem; }
.content-column > p:not(.eyebrow) { max-width: 690px; }
.check-list { padding: 0; margin: 30px 0 0; display: grid; gap: 12px; list-style: none; }
.check-list li { position: relative; padding-left: 32px; font-weight: 750; }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 900; }
.photo-card { margin: 0; position: relative; }
.photo-card::before { content: ""; position: absolute; z-index: -1; inset: 24px -24px -24px 24px; border-radius: 24px; background: linear-gradient(135deg, var(--orange), var(--yellow), var(--teal)); }
.photo-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 24px; box-shadow: var(--shadow); }
.photo-card figcaption { padding: 20px 0 0 22px; color: var(--muted); font-size: .9rem; }

.schools { background: var(--mist); }
.section-heading { display: grid; grid-template-columns: 1.08fr .92fr; gap: 70px; align-items: end; margin-bottom: 46px; }
.section-heading > p { color: var(--muted); font-size: 1.08rem; }
.school-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.school-card { overflow: hidden; background: #fff; border-radius: 22px; box-shadow: 0 18px 48px rgba(0,42,82,.11); }
.school-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.school-copy { position: relative; padding: 34px; }
.school-copy::before { content: ""; position: absolute; top: 0; left: 34px; width: 74px; height: 5px; border-radius: 99px; }
.school-card--american .school-copy::before { background: var(--orange); }
.school-card--french .school-copy::before { background: var(--teal); }
.school-number { color: var(--muted); font-size: .73rem; font-weight: 900; letter-spacing: .14em; }
.school-copy h3 { margin: 12px 0 14px; font-size: clamp(1.45rem, 2.5vw, 2.05rem); }
.school-copy > p:not(.school-number) { color: var(--muted); }
.tag-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.tag-row span { padding: 7px 11px; color: var(--blue); background: #eef4fa; border-radius: 999px; font-size: .8rem; font-weight: 800; }
.school-card--french .tag-row span { color: #006f73; background: #e7f8f7; }

.program { color: #fff; background: var(--blue-deep); }
.program h2, .program h3 { color: #fff; }
.program-head { display: grid; grid-template-columns: 1.08fr .92fr; gap: 70px; align-items: end; margin-bottom: 48px; }
.program-head > p { color: rgba(255,255,255,.7); font-size: 1.08rem; }
.module-list { display: grid; gap: 18px; }
.module { display: grid; grid-template-columns: 120px 1fr; border: 1px solid rgba(255,255,255,.14); border-radius: 18px; background: rgba(255,255,255,.055); overflow: hidden; }
.module-number { display: grid; place-items: center; color: #fff; background: linear-gradient(145deg, var(--orange), #e66000); font-size: 2.8rem; font-weight: 950; }
.module:nth-child(2) .module-number { background: linear-gradient(145deg, var(--yellow), #e99b00); }
.module:nth-child(3) .module-number { background: linear-gradient(145deg, var(--teal), #007e83); }
.module-copy { padding: 34px 40px; }
.module-kicker { margin-bottom: 8px; color: #ffd08b; font-size: .75rem; font-weight: 900; letter-spacing: .14em; }
.module-copy h3 { margin-bottom: 12px; font-size: 1.72rem; }
.module-copy ul { margin: 18px 0 0; padding-left: 20px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 28px; color: rgba(255,255,255,.9); }

.method { background: #fff; }
.method-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 86px; align-items: center; }
.method-path { display: grid; gap: 14px; position: relative; }
.method-path::before { content: ""; position: absolute; left: 28px; top: 42px; bottom: 42px; width: 2px; background: linear-gradient(var(--orange), var(--yellow), var(--teal)); }
.method-path article { position: relative; display: grid; grid-template-columns: 58px 1fr; gap: 22px; align-items: center; padding: 20px 24px 20px 0; background: var(--mist); border-radius: 16px; }
.method-path span { position: relative; z-index: 1; width: 58px; height: 58px; display: grid; place-items: center; color: #fff; background: var(--blue); border: 5px solid #fff; border-radius: 50%; font-size: 1.15rem; font-weight: 900; }
.method-path strong { color: var(--blue); font-size: 1.1rem; }
.method-path p { margin: 2px 0 0; color: var(--muted); }

.audience { background: var(--mist); }
.audience-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 72px; align-items: center; }
.audience aside { padding: 40px; background: #fff; border-left: 6px solid var(--teal); border-radius: 16px; box-shadow: var(--shadow); }
.mini-label { color: var(--teal); font-size: .74rem; font-weight: 900; letter-spacing: .14em; }
.audience aside h3 { font-size: 1.6rem; }

.references { padding: 100px 0; color: #fff; background: linear-gradient(120deg, var(--teal), #007d83 52%, var(--blue)); }
.references h2 { color: #fff; }
.references-grid { display: grid; grid-template-columns: .72fr 1.28fr; gap: 75px; }
.references-grid > div:first-child > p:last-child { color: rgba(255,255,255,.78); }
.reference-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.reference-list p { margin: 0; padding: 18px; color: rgba(255,255,255,.86); background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.14); border-radius: 12px; font-size: .9rem; }

.faq { background: #fff; }
.faq-grid { display: grid; grid-template-columns: .72fr 1.28fr; gap: 72px; }
.accordion details { margin-bottom: 12px; background: var(--mist); border: 1px solid rgba(0,51,102,.09); border-radius: 12px; }
.accordion summary { padding: 20px 54px 20px 22px; position: relative; color: var(--blue); cursor: pointer; font-weight: 850; list-style: none; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after { content: "+"; position: absolute; right: 22px; top: 16px; color: var(--orange); font-size: 1.45rem; }
.accordion details[open] summary::after { content: "–"; }
.accordion details p { padding: 0 22px 20px; margin: 0; color: var(--muted); }

.contact { position: relative; padding: 96px 0; overflow: hidden; color: #fff; background: var(--blue); }
.contact-ribbon { position: absolute; inset: 0 0 0 auto; width: 40%; background: linear-gradient(135deg, var(--orange), var(--yellow) 43%, var(--teal), var(--green)); clip-path: polygon(50% 0, 100% 0, 100% 100%, 0 100%); }
.contact-content { position: relative; z-index: 2; }
.contact h2 { max-width: 820px; color: #fff; }
.contact-content > p:not(.eyebrow) { max-width: 760px; font-size: 1.12rem; }
.email-link { color: #fff; font-weight: 850; text-underline-offset: 4px; }

.site-footer { padding: 28px 0; color: #fff; background: var(--blue-deep); }
.footer-grid { display: grid; grid-template-columns: 180px 1fr auto; gap: 26px; align-items: center; }
.footer-grid img { width: 150px; height: 72px; object-fit: contain; }
.footer-grid p { margin: 0; color: rgba(255,255,255,.72); }
.footer-grid a { font-weight: 800; }

@media (max-width: 980px) {
  .menu-button { display: block; }
  .main-nav { position: absolute; top: 100%; right: 24px; left: 24px; padding: 22px; display: none; flex-direction: column; align-items: stretch; background: #fff; border-radius: 14px; box-shadow: var(--shadow); }
  .main-nav.is-open { display: flex; }
  .hero { min-height: 680px; }
  .hero-shade { background: linear-gradient(90deg, rgba(0,25,55,.96), rgba(0,38,76,.78)); }
  .facts-grid { grid-template-columns: 1fr 1fr; }
  .facts article:nth-child(2) { border-right: 0; }
  .facts article:nth-child(-n+2) { border-bottom: 1px solid var(--gray); }
  .split, .section-heading, .program-head, .method-grid, .audience-grid, .faq-grid, .references-grid { grid-template-columns: 1fr; }
  .school-grid { gap: 18px; }
  .section-heading, .program-head, .method-grid { gap: 18px; }
}

@media (max-width: 700px) {
  .container, .nav-shell { width: min(100% - 30px, var(--container)); }
  .nav-shell { min-height: 72px; }
  .brand img { width: 48px; height: 48px; }
  .brand-word { font-size: 1.05rem; }
  .brand-word small { font-size: .48rem; letter-spacing: .2em; }
  .main-site-banner { min-height: 42px; padding-inline: 14px; flex-wrap: wrap; gap: 5px 8px; font-size: .875rem; line-height: 1.2; text-align: center; }
  .hero { min-height: 730px; align-items: end; }
  .hero-photo { object-position: 70% center; }
  .hero-shade { background: linear-gradient(0deg, rgba(0,25,55,.99) 8%, rgba(0,38,76,.82) 67%, rgba(0,38,76,.25)); }
  .hero-content { padding: 180px 0 72px; }
  .hero-content h1 { font-size: clamp(2.7rem, 13vw, 4.1rem); }
  .hero-actions, .hero-actions .button { width: 100%; text-align: center; }
  .facts { margin-top: 0; }
  .facts-grid { width: 100%; grid-template-columns: 1fr; border-radius: 0; }
  .facts article { min-height: 104px; border-right: 0; border-bottom: 1px solid var(--gray); }
  .section { padding: 78px 0; }
  .split { gap: 48px; }
  .photo-card::before { inset: 14px 0 -14px 14px; }
  .school-grid { grid-template-columns: 1fr; }
  .school-copy { padding: 30px 24px; }
  .module { grid-template-columns: 1fr; }
  .module-number { min-height: 78px; justify-content: start; padding-left: 26px; }
  .module-copy { padding: 28px 24px; }
  .module-copy ul { grid-template-columns: 1fr; }
  .reference-list { grid-template-columns: 1fr; }
  .contact-ribbon { width: 68%; opacity: .23; }
  .contact-actions, .contact-actions .button { width: 100%; text-align: center; }
  .footer-grid { grid-template-columns: 1fr; text-align: center; }
  .footer-grid img { margin: 0 auto; }
}

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