@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Playfair+Display:wght@500;600;700&display=swap");

:root {
  color-scheme: light;
  --navy: #123c62;
  --navy-deep: #0d2b48;
  --gold: #d9ac55;
  --ink: #182b3c;
  --muted: #627180;
  --paper: #f6f7f5;
  --white: #fff;
  --serif: "Playfair Display", Georgia, serif;
  --sans: "DM Sans", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 86px; }
body { margin: 0; color: var(--ink); background: var(--white); font: 16px/1.65 var(--sans); }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.section-wrap { width: min(1160px, calc(100% - 48px)); margin-inline: auto; }

.site-header { position: sticky; z-index: 20; top: 0; background: rgb(255 255 255 / 96%); border-bottom: 1px solid #e7ebef; backdrop-filter: blur(12px); }
.nav-wrap { width: min(1280px, calc(100% - 48px)); height: 82px; margin: auto; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.brand { flex: 0 0 220px; }
.brand img { width: 220px; max-height: 55px; object-fit: contain; object-position: left center; }
.primary-nav { display: flex; align-items: center; gap: 22px; color: #455665; font-size: 13px; font-weight: 600; }
.primary-nav > a, .nav-dropdown > summary { transition: color .2s; cursor: pointer; }
.primary-nav > a:hover, .nav-dropdown > summary:hover { color: var(--navy); }
.nav-dropdown { position: relative; }
.nav-dropdown summary { list-style: none; }
.nav-dropdown summary::-webkit-details-marker { display: none; }
.nav-dropdown summary::after { content: "⌄"; margin-left: 6px; color: var(--gold); }
.dropdown-menu { position: absolute; top: calc(100% + 18px); left: -16px; min-width: 210px; padding: 10px; background: white; border: 1px solid #e8edf0; border-radius: 12px; box-shadow: 0 16px 36px #102c461c; }
.dropdown-menu a { display: block; padding: 8px 10px; border-radius: 7px; }
.dropdown-menu a:hover { color: var(--navy); background: var(--paper); }
.nav-brochure { padding: 11px 17px; color: white !important; background: var(--navy); border-radius: 5px; }
.menu-toggle { display: none; }

.hero { position: relative; min-height: min(680px, 74vw); height: 650px; max-height: 82vh; overflow: hidden; color: white; background: var(--navy-deep); }
.hero-slides, .hero-slide, .hero-shade { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-slide { object-fit: cover; opacity: 0; transform: scale(1.025); transition: opacity .9s ease, transform 5s ease; }
.hero-slide.is-active { opacity: 1; transform: scale(1); }
.hero-shade { background: linear-gradient(90deg, rgb(7 27 47 / 82%), rgb(8 32 52 / 45%) 55%, rgb(8 32 52 / 12%)); }
.hero-content { position: relative; z-index: 1; display: flex; flex-direction: column; justify-content: center; width: min(1160px, calc(100% - 48px)); height: 100%; margin: auto; padding: 60px 0 88px; }
.eyebrow { margin: 0 0 13px; color: #a47a2f; font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.eyebrow-light { color: #e7c77e; }
.hero-content h1, h2 { font-family: var(--serif); font-weight: 600; line-height: 1.14; }
.hero-content h1 { max-width: 690px; margin: 4px 0 20px; font-size: clamp(44px, 6vw, 76px); letter-spacing: -.025em; }
.hero-content h1 span { color: #e5c777; }
.hero-content > p:not(.eyebrow) { max-width: 600px; margin: 0 0 30px; color: #e6eaf0; font-size: 16px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 18px; width: fit-content; padding: 13px 20px; border-radius: 4px; font-size: 13px; font-weight: 700; transition: transform .2s, background .2s; }
.button:hover { transform: translateY(-2px); }
.button-gold { color: #223244; background: #e6c16e; }
.hero-controls { position: absolute; z-index: 2; right: max(24px, calc((100vw - 1160px) / 2)); bottom: 30px; display: flex; align-items: center; gap: 14px; }
.slide-control, .slide-dot { display: grid; place-items: center; padding: 0; color: white; background: transparent; border: 1px solid rgb(255 255 255 / 55%); cursor: pointer; }
.slide-control { width: 36px; height: 36px; border-radius: 50%; }
.slide-dots { display: flex; align-items: center; gap: 7px; }
.slide-dot { width: 20px; height: 4px; border: 0; border-radius: 8px; background: rgb(255 255 255 / 55%); }
.slide-dot.is-active { width: 32px; background: #e6c16e; }

.program-section { padding-block: 100px 110px; }
.section-heading { max-width: 650px; }
.section-heading h2, .profile-copy h2, .leader-copy h2 { margin: 0 0 16px; font-size: clamp(34px, 4vw, 46px); }
.section-heading h2 span, .profile-copy h2 span, .section-title-row h2 span { color: var(--navy); }
.section-heading > p:last-child { margin: 0; color: var(--muted); }
.program-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 48px; }
.program-card { overflow: hidden; background: white; border: 1px solid #e9edef; box-shadow: 0 12px 34px #18364d0b; }
.program-card > img { width: 100%; height: 206px; object-fit: cover; }
.program-copy { padding: 24px 23px 27px; }
.program-copy .eyebrow { margin-bottom: 10px; font-size: 10px; }
.program-copy h3, .advantage-card h3, .news-card h3 { margin: 0; color: var(--ink); font-family: var(--serif); font-size: 20px; line-height: 1.35; }
.program-copy ul { display: grid; gap: 10px; margin: 17px 0 0; padding: 0; color: var(--muted); list-style: none; font-size: 13px; }
.program-copy li { position: relative; padding-left: 20px; }
.program-copy li::before { position: absolute; left: 0; color: #bd944a; content: "✓"; font-weight: 700; }

.profile-section { display: grid; grid-template-columns: 1fr 1fr; min-height: 480px; background: var(--paper); }
.profile-image { position: relative; min-height: 450px; overflow: hidden; }
.profile-image > img { width: 100%; height: 100%; position: absolute; inset: 0; object-fit: cover; }
.image-caption { position: absolute; right: 26px; bottom: 26px; display: grid; gap: 5px; max-width: 260px; padding: 18px 20px; background: white; box-shadow: 0 8px 28px #102c4624; }
.image-caption span { color: #a47a2f; font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.image-caption strong { font-family: var(--serif); font-size: 18px; line-height: 1.3; }
.profile-copy { align-self: center; max-width: 620px; padding: 72px clamp(32px, 8vw, 110px); }
.profile-copy > p:not(.eyebrow) { margin: 0; color: var(--muted); }
.text-link { display: inline-flex; align-items: center; gap: 10px; margin-top: 22px; color: var(--navy); font-size: 13px; font-weight: 700; }
.text-link span { color: #b8893e; transition: transform .2s; }
.text-link:hover span { transform: translateX(4px); }

.advantages-section { padding-block: 105px 112px; }
.advantages-section .section-heading { margin-bottom: 40px; }
.advantages-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: #e6eaed; border: 1px solid #e6eaed; }
.advantage-card { min-height: 208px; padding: 28px; background: white; }
.advantage-number { display: inline-block; margin-bottom: 18px; color: #b78e49; font-size: 11px; font-weight: 700; letter-spacing: .14em; }
.advantage-card h3 { font-size: 18px; }
.advantage-card p { margin: 10px 0 0; color: var(--muted); font-size: 13px; }

.leader-section { display: grid; grid-template-columns: 43% 57%; color: white; background: var(--navy-deep); }
.leader-portrait { min-height: 570px; max-height: 660px; overflow: hidden; }
.leader-portrait img { width: 100%; height: 100%; object-fit: cover; object-position: center 26%; }
.leader-copy { align-self: center; max-width: 740px; padding: 72px clamp(35px, 8vw, 115px); }
.leader-role { margin: 0 0 8px; color: #d5deea; font-size: 13px; }
.leader-copy h2 { margin-bottom: 20px; font-size: clamp(34px, 4vw, 48px); }
.leader-copy > p:not(.eyebrow, .leader-role) { color: #c5d0da; font-size: 14px; }
.leader-copy blockquote { margin: 22px 0 28px; padding-left: 17px; color: #e9cb82; border-left: 2px solid #d9ac55; font-family: var(--serif); font-size: 19px; line-height: 1.55; }
.button-outline { color: white; border: 1px solid rgb(255 255 255 / 55%); }

.admission-section { position: relative; min-height: 390px; display: flex; align-items: center; overflow: hidden; color: white; background: var(--navy); }
.admission-section > img, .admission-shade { position: absolute; inset: 0; width: 100%; height: 100%; }
.admission-section > img { object-fit: cover; object-position: center; }
.admission-shade { background: linear-gradient(90deg, rgb(6 28 48 / 88%), rgb(6 28 48 / 67%) 58%, rgb(6 28 48 / 30%)); }
.admission-copy { position: relative; z-index: 1; width: min(1160px, calc(100% - 48px)); margin: auto; padding-block: 70px; }
.admission-copy h2 { max-width: 690px; margin: 0 0 17px; font-size: clamp(34px, 4vw, 48px); }
.admission-copy > p:not(.eyebrow) { max-width: 680px; margin: 0 0 25px; color: #e0e7ee; font-size: 14px; }

.news-section { padding-block: 100px 112px; }
.section-title-row { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 35px; }
.section-title-row .section-heading h2 { margin-bottom: 0; }
.section-title-row > .text-link { flex: 0 0 auto; margin: 0 0 7px; }
.news-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.news-card { min-width: 0; border: 1px solid #e7ebee; background: white; }
.news-card > a:first-child { display: block; overflow: hidden; }
.news-card > a:first-child img { width: 100%; aspect-ratio: 1.42; object-fit: cover; transition: transform .4s; }
.news-card:hover > a:first-child img { transform: scale(1.045); }
.news-copy { padding: 18px 17px 22px; }
.news-copy time, .video-card time { color: #9a762f; font-size: 10px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.news-card h3 { margin-top: 9px; font-size: 17px; }
.news-card p { margin: 10px 0 0; color: var(--muted); font-size: 12px; }
.news-card .text-link { margin-top: 14px; font-size: 12px; }

.gallery-section { padding-block: 88px 96px; background: var(--paper); }
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 15px; }
.gallery-grid figure { position: relative; min-height: 210px; margin: 0; overflow: hidden; background: #dce2e6; }
.gallery-grid img { width: 100%; height: 100%; min-height: 210px; object-fit: cover; transition: transform .4s; }
.gallery-grid figure:hover img { transform: scale(1.045); }
.gallery-grid figcaption { position: absolute; right: 0; bottom: 0; left: 0; padding: 35px 17px 13px; color: white; background: linear-gradient(transparent, #061c30c9); font-size: 13px; font-weight: 700; }

.video-section { padding-block: 96px 106px; }
.video-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.video-card { min-height: 220px; display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-end; gap: 8px; padding: 24px; color: white; background: linear-gradient(145deg, #17466d, #0a243e); }
.video-card:nth-child(2) { background: linear-gradient(145deg, #537184, #17324c); }
.video-card:nth-child(3) { background: linear-gradient(145deg, #94733c, #49391f); }
.play-button { display: grid; place-items: center; width: 38px; height: 38px; margin-bottom: 14px; color: var(--navy); background: #e8c66f; border-radius: 50%; font-size: 13px; }
.video-card time { color: #efd68e; }
.video-card strong { font-family: var(--serif); font-size: 20px; line-height: 1.3; }
.video-card > span:last-child { color: #d6e0e9; font-size: 12px; }

.site-footer { color: #d0dae3; background: #0a2238; }
.footer-grid { display: grid; grid-template-columns: 1.6fr .7fr 1fr; gap: 75px; padding-block: 62px; }
.footer-about img { width: 58px; height: 58px; object-fit: contain; }
.footer-grid h2 { margin: 12px 0 10px; color: white; font-size: 24px; }
.footer-grid h3 { margin: 3px 0 16px; color: white; font-size: 14px; }
.footer-grid p, .footer-grid a { color: #b5c2cf; font-size: 12px; }
.footer-grid a { display: block; margin: 8px 0; }
.footer-grid a:hover { color: white; }
.footer-about p { max-width: 390px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding: 14px max(24px, calc((100vw - 1160px) / 2)); color: #9eafbe; border-top: 1px solid #ffffff1b; font-size: 11px; }
.footer-bottom p { margin: 0; }
.floating-contact { position: fixed; right: 22px; bottom: 20px; z-index: 10; display: flex; align-items: center; gap: 10px; padding: 12px 17px; color: white; background: #19744c; border-radius: 30px; box-shadow: 0 8px 25px #102c4630; font-size: 12px; font-weight: 700; }
.floating-contact:hover { background: #125f3d; }

@media (max-width: 1050px) {
  .primary-nav { gap: 13px; font-size: 12px; }
  .brand, .brand img { flex-basis: 185px; width: 185px; }
  .news-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  html { scroll-padding-top: 72px; }
  .section-wrap, .nav-wrap { width: min(100% - 36px, 600px); }
  .nav-wrap { height: 70px; }
  .brand, .brand img { flex: 0 1 178px; width: 178px; }
  .menu-toggle { display: flex; flex-direction: column; justify-content: center; gap: 5px; width: 42px; height: 42px; padding: 10px; background: transparent; border: 1px solid #e4e9ec; border-radius: 4px; cursor: pointer; }
  .menu-toggle span:not(.sr-only) { display: block; width: 20px; height: 2px; background: var(--navy); transition: transform .2s; }
  .menu-toggle[aria-expanded="true"] span:nth-of-type(2) { transform: translateY(7px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-of-type(3) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:nth-of-type(4) { transform: translateY(-7px) rotate(-45deg); }
  .primary-nav { position: absolute; top: 70px; right: 0; left: 0; display: none; align-items: stretch; gap: 0; padding: 12px 18px 20px; background: white; border-bottom: 1px solid #e7ebef; box-shadow: 0 15px 22px #102c4610; }
  .primary-nav.is-open { display: flex; flex-direction: column; }
  .primary-nav > a, .nav-dropdown > summary { padding: 10px 4px; }
  .nav-brochure { margin-top: 5px; padding: 10px 13px !important; text-align: center; }
  .dropdown-menu { position: static; min-width: 0; padding: 5px 9px; border: 0; box-shadow: none; }
  .hero { min-height: 580px; height: 76vh; max-height: 740px; }
  .hero-content { width: calc(100% - 40px); justify-content: end; padding: 70px 0 115px; }
  .hero-content h1 { font-size: clamp(42px, 12vw, 60px); }
  .hero-content > p:not(.eyebrow) { font-size: 14px; }
  .hero-controls { right: 20px; bottom: 24px; }
  .program-section, .advantages-section, .news-section, .video-section { padding-block: 72px; }
  .program-grid { grid-template-columns: 1fr; gap: 16px; margin-top: 32px; }
  .program-card { display: grid; grid-template-columns: 38% 62%; }
  .program-card > img { height: 100%; min-height: 245px; }
  .program-copy { padding: 19px 17px; }
  .program-copy h3 { font-size: 18px; }
  .program-copy ul { font-size: 12px; }
  .profile-section { grid-template-columns: 1fr; }
  .profile-image { min-height: 340px; }
  .profile-copy { padding: 58px 24px 65px; }
  .section-heading h2, .profile-copy h2, .leader-copy h2 { font-size: 36px; }
  .advantages-grid { grid-template-columns: repeat(2, 1fr); }
  .advantage-card { min-height: 0; padding: 21px; }
  .advantage-card h3 { font-size: 17px; }
  .leader-section { grid-template-columns: 1fr; }
  .leader-portrait { min-height: 420px; max-height: 530px; }
  .leader-portrait img { object-position: center 22%; }
  .leader-copy { padding: 55px 25px 65px; }
  .admission-copy { width: calc(100% - 40px); }
  .section-title-row { align-items: flex-start; }
  .news-grid { gap: 13px; }
  .news-copy { padding: 15px 13px 18px; }
  .news-card h3 { font-size: 16px; }
  .news-card p { font-size: 11px; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .video-grid { grid-template-columns: 1fr; }
  .video-card { min-height: 190px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; padding-block: 45px; }
  .footer-about { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; gap: 2px; padding: 14px 18px; }
}
@media (max-width: 420px) {
  .section-title-row { flex-direction: column; align-items: flex-start; gap: 6px; }
  .section-title-row > .text-link { margin: 0; }
  .program-card { grid-template-columns: 1fr; }
  .program-card > img { height: 190px; min-height: 0; }
  .advantages-grid { grid-template-columns: 1fr; }
  .news-grid { grid-template-columns: 1fr; }
  .news-card > a:first-child img { aspect-ratio: 1.8; }
  .gallery-grid figure, .gallery-grid img { min-height: 150px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-about { grid-column: auto; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
