:root {
  --navy: #17344f;
  --navy-soft: #264965;
  --paper: #f7f3e8;
  --surface: #fffdf8;
  --yellow: #e5ad36;
  --red: #b84f3c;
  --text-muted: #5f6c76;
  --line: rgba(23, 52, 79, .18);
  --shadow: 0 12px 32px rgba(23, 52, 79, .1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--navy);
  background-color: var(--paper);
  background-image: linear-gradient(rgba(247, 243, 232, .93), rgba(247, 243, 232, .93)), url('/pattern.webp');
  background-size: auto, 720px;
  font-family: Inter, Arial, sans-serif;
  line-height: 1.55;
}
[id] { scroll-margin-top: 92px; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
h1, h2, h3, p { margin-top: 0; }
.section { max-width: 1200px; margin: 0 auto; padding: 96px 32px; }

.skip-link { position: fixed; z-index: 100; top: 8px; left: 8px; padding: 10px 14px; color: white; background: var(--navy); transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }
.header { position: sticky; z-index: 20; top: 0; display: flex; align-items: center; gap: 28px; min-height: 78px; padding: 10px max(24px, calc((100vw - 1200px) / 2)); border-bottom: 1px solid var(--line); background: rgba(247, 243, 232, .97); }
.brand { display: flex; align-items: center; gap: 11px; }
.brand img { display: block; width: 44px; height: 44px; }
.brand span { display: grid; line-height: 1.15; }
.brand strong { font-size: 18px; letter-spacing: -.02em; }
.brand small { margin-top: 3px; color: var(--text-muted); font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.nav { display: flex; align-items: center; gap: 22px; margin-left: auto; font-size: 13px; font-weight: 700; }
.nav a { padding: 7px 0; border-bottom: 2px solid transparent; }
.nav a:hover { border-bottom-color: var(--yellow); }
.nav .nav-cta { padding: 10px 17px; border: 0; border-radius: 6px; color: white; background: var(--navy); }
.header-actions { display: flex; order: 3; }
.menu-toggle { display: none; width: 42px; height: 42px; padding: 10px; border: 0; border-radius: 6px; background: var(--navy); }
.menu-toggle span { display: block; width: 100%; height: 2px; margin: 5px 0; background: white; }

.top-banner { height: clamp(220px, 24vw, 340px); overflow: hidden; border-bottom: 4px solid var(--yellow); background: var(--surface); }
.top-banner img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.hero { min-height: 470px; padding-top: 74px; padding-bottom: 82px; }
.hero-copy { max-width: 940px; }
.eyebrow { display: inline-block; margin-bottom: 15px; color: var(--red); font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
h1 { max-width: 900px; margin-bottom: 24px; font-size: clamp(48px, 6.3vw, 82px); line-height: 1; letter-spacing: -.055em; }
.hero-copy > p { max-width: 780px; margin-bottom: 32px; color: var(--text-muted); font-size: 18px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; padding: 0 21px; border: 1px solid var(--navy); border-radius: 6px; font-size: 14px; font-weight: 800; cursor: pointer; }
.button-primary { color: white; background: var(--navy); }
.button-quiet { background: transparent; }
.button:hover { box-shadow: 0 4px 12px rgba(23, 52, 79, .12); }

.events { padding: 0 0 84px; border-top: 1px solid var(--line); background: rgba(255, 253, 248, .45); }
.events-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; padding-top: 72px; padding-bottom: 34px; }
.events-heading h2 { font-size: clamp(38px, 4.5vw, 58px); }
.events-actions { padding-bottom: 7px; }
.events-actions > a { border-bottom: 1px solid currentColor; font-size: 13px; font-weight: 800; }
.events-track { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; max-width: 1200px; margin: 0 auto; padding: 0 32px; }
.event-card { min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); transition: box-shadow .2s, transform .2s; }
.event-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.event-card img { display: block; width: 100%; height: 220px; object-fit: cover; }
.event-card > div { display: grid; min-height: 235px; padding: 22px; }
.event-card time { color: var(--red); font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.event-card h3 { align-self: end; margin: 16px 0 7px; font-size: 22px; line-height: 1.15; letter-spacing: -.025em; }
.event-card p { margin-bottom: 18px; color: var(--text-muted); font-size: 14px; }
.event-card span { align-self: end; font-size: 12px; font-weight: 800; }
.events-more { display: none; justify-content: center; max-width: 1200px; margin: 28px auto 0; padding: 0 32px; }
.events.news-ready .event-card:nth-child(n + 7) { display: none; }
.events.news-ready.news-expanded .event-card { display: block; }
.events.news-ready .events-more { display: flex; }

.section-heading { margin-bottom: 46px; }
h2 { margin-bottom: 0; font-size: clamp(40px, 5vw, 64px); line-height: 1.05; letter-spacing: -.045em; }
.section-intro { max-width: 820px; margin: -18px 0 42px; color: var(--text-muted); font-size: 17px; }
.current-director { display: grid; grid-template-columns: minmax(300px, .9fr) 1.1fr; min-height: 350px; overflow: hidden; border-radius: 10px; color: white; background: var(--navy); }
.current-director img { width: 100%; height: 100%; object-fit: cover; object-position: 48% 58%; }
.current-director div { display: flex; flex-direction: column; justify-content: center; padding: 44px; }
.current-director span, .director-card time { color: var(--yellow); font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.current-director h3 { max-width: 560px; margin: 13px 0 10px; font-size: clamp(32px, 3.7vw, 48px); line-height: 1.05; letter-spacing: -.04em; }
.current-director p { margin: 0; color: rgba(255, 255, 255, .72); }
.directors-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin-top: 12px; }
.director-card { min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); }
.director-card img, .director-placeholder { display: grid; width: 100%; height: 245px; place-items: center; object-fit: cover; object-position: top center; background: #dce5ec; }
.director-placeholder { align-content: center; gap: 7px; text-align: center; }
.director-placeholder strong { font-size: 34px; }
.director-placeholder span { font-size: 9px; font-weight: 800; text-transform: uppercase; }
.director-card > div:last-child { min-height: 112px; padding: 15px; }
.director-card time { color: var(--red); }
.director-card h3 { margin: 8px 0 0; font-size: 15px; line-height: 1.22; }

.education { padding-top: 80px; }
.education-slider { overflow: hidden; border-radius: 10px; background: var(--navy); box-shadow: var(--shadow); }
.education-viewport { overflow: hidden; touch-action: pan-y; }
.education-track { display: flex; transition: transform .55s ease; }
.education-slide { display: grid; flex: 0 0 100%; grid-template-columns: 1fr 1fr; min-height: 440px; color: white; }
.education-slide img { width: 100%; height: 100%; object-fit: cover; }
.education-slide > div { display: flex; flex-direction: column; justify-content: center; padding: clamp(34px, 4vw, 54px); }
.education-slide span { margin-bottom: 15px; color: var(--yellow); font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.education-slide h3 { max-width: 500px; min-height: 2.4em; margin-bottom: 16px; font-size: clamp(30px, 3.2vw, 42px); line-height: 1.05; letter-spacing: -.035em; }
.education-slide p { max-width: 560px; margin: 0; color: rgba(255, 255, 255, .76); font-size: 16px; }
.education-dots { display: flex; justify-content: center; gap: 8px; padding: 16px; background: var(--navy); }
.education-dots button { width: 30px; height: 4px; padding: 0; border: 0; border-radius: 2px; background: rgba(255, 255, 255, .3); cursor: pointer; }
.education-dots button.active { background: var(--yellow); }

.information-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.info-card { position: relative; display: grid; min-height: 150px; padding: 24px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); transition: box-shadow .2s; }
.info-card:hover { box-shadow: var(--shadow); }
.info-card span { color: var(--red); font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.info-card strong { align-self: end; max-width: 360px; font-size: 20px; }
.info-card i { position: absolute; right: 22px; bottom: 19px; font-size: 20px; font-style: normal; }

.contacts { display: grid; grid-template-columns: .9fr 1.1fr; gap: 80px; max-width: none; padding-right: max(32px, calc((100vw - 1136px) / 2)); padding-left: max(32px, calc((100vw - 1136px) / 2)); color: white; background: var(--navy); }
.eyebrow-light { color: var(--yellow); }
.contact-details dl { display: grid; gap: 16px; margin-top: 34px; }
.contact-details dl div { display: grid; grid-template-columns: 120px 1fr; gap: 16px; padding-bottom: 15px; border-bottom: 1px solid rgba(255, 255, 255, .16); }
.contact-details dt { color: rgba(255, 255, 255, .55); font-size: 11px; font-weight: 800; text-transform: uppercase; }
.contact-details dd { margin: 0; font-size: 14px; }
.apply-form { display: grid; gap: 18px; }
.apply-form h3 { margin-bottom: 3px; font-size: 26px; }
.apply-form label { display: grid; gap: 7px; color: rgba(255, 255, 255, .76); font-size: 12px; font-weight: 700; }
.apply-form input, .apply-form select, .apply-form textarea { width: 100%; min-height: 52px; padding: 0 15px; border: 1px solid rgba(255, 255, 255, .24); border-radius: 6px; outline: none; color: white; background: rgba(255, 255, 255, .07); }
.apply-form textarea { padding-top: 13px; resize: vertical; }
.apply-form input:focus, .apply-form select:focus, .apply-form textarea:focus { border-color: var(--yellow); box-shadow: 0 0 0 3px rgba(229, 173, 54, .18); }
.apply-form select option { color: var(--navy); }
.form-trap { position: absolute; left: -10000px; }
.button-submit { justify-content: space-between; margin-top: 4px; border-color: var(--yellow); color: var(--navy); background: var(--yellow); }
.button-submit:disabled { cursor: wait; opacity: .6; }
.button-submit span { font-size: 20px; }
.form-note { margin: -6px 0 0; color: rgba(255, 255, 255, .48); font-size: 11px; }
.form-status { min-height: 22px; margin: 0; font-size: 13px; font-weight: 700; }
.form-status.success { color: var(--yellow); }
.form-status.error { color: #ffab93; }

.footer { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 36px; padding: 30px max(28px, calc((100vw - 1136px) / 2)); border-top: 1px solid var(--line); background: var(--surface); font-size: 12px; }
.footer p { margin: 0; color: var(--text-muted); }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }

@media (max-width: 900px) {
  [id] { scroll-margin-top: 80px; }
  .section { padding: 76px 24px; }
  .header { min-height: 70px; padding: 8px 18px; }
  .menu-toggle { display: block; }
  .nav { position: fixed; top: 70px; right: 0; left: 0; display: grid; gap: 0; padding: 14px 18px 22px; border-bottom: 1px solid var(--line); background: var(--paper); transform: translateY(-140%); transition: transform .22s; }
  .nav a { padding: 14px 4px; }
  .nav .nav-cta { margin-top: 7px; text-align: center; }
  .menu-open .nav { transform: translateY(0); }
  .top-banner { height: 230px; }
  .hero { min-height: 430px; padding-top: 60px; }
  .events-heading { align-items: start; padding: 58px 24px 28px; }
  .events-track { grid-template-columns: repeat(2, minmax(0, 1fr)); padding-right: 24px; padding-left: 24px; }
  .events-more { padding-right: 24px; padding-left: 24px; }
  .current-director { grid-template-columns: 1fr; }
  .current-director img { height: 350px; }
  .directors-grid { grid-template-columns: repeat(3, 1fr); }
  .education-slide { grid-template-columns: 1fr; }
  .education-slide img { height: 340px; }
  .education-slide h3 { min-height: 0; }
  .contacts { grid-template-columns: 1fr; gap: 48px; padding-right: 24px; padding-left: 24px; }
  .information-grid { grid-template-columns: 1fr; }
  .footer { grid-template-columns: 1fr; gap: 10px; padding: 28px 24px; }
}

@media (max-width: 560px) {
  .brand strong { font-size: 16px; }
  h1 { font-size: 46px; }
  .hero-copy > p { font-size: 16px; }
  .events-heading { display: grid; gap: 18px; }
  .events-track { grid-template-columns: 1fr; }
  .event-card img { height: 210px; }
  .current-director img { height: 280px; }
  .current-director div { padding: 26px; }
  .directors-grid { grid-template-columns: repeat(2, 1fr); gap: 9px; }
  .director-card img, .director-placeholder { height: 215px; }
  .director-card > div:last-child { min-height: 105px; padding: 13px; }
  .director-card h3 { font-size: 14px; }
  .education-slide img { height: 230px; }
  .education-slide > div { min-height: 310px; padding: 28px 22px; }
  .contact-details dl div { grid-template-columns: 1fr; gap: 4px; }
}

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