:root {
  color-scheme: light;
  --navy: #0f2c4c;
  --deep: #102c26;
  --green: #00663d;
  --lime: #ddf598;
  --paper: #f8faf6;
  --line: #d9e4d9;
  font-family: "Segoe UI", system-ui, sans-serif;
  color: var(--deep);
  background: var(--paper);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input { font: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #008056; outline-offset: 5px; }
.wrap { width: min(1192px, calc(100% - 96px)); margin-inline: auto; }
.skip { position: fixed; top: 8px; left: 8px; transform: translateY(-160%); z-index: 10; background: white; padding: 12px; }
.skip:focus { transform: none; }
.notice { min-height: 37px; display: flex; align-items: center; justify-content: center; padding: 8px 18px; gap: 10px; background: var(--deep); color: white; font-size: .875rem; }
.notice span, .hero-dot { width: 8px; height: 8px; flex-shrink: 0; border-radius: 50%; background: var(--lime); }
.notice a { text-underline-offset: 3px; }
.header { background: #fff; position: relative; z-index: 2; }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 87px; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy); font-weight: 750; line-height: 1.15; flex-shrink: 0; }
.brand img { object-fit: contain; }
.brand small { font-size: .875rem; font-weight: 500; }
nav { display: flex; gap: clamp(16px, 3vw, 43px); }
nav a { color: var(--deep); font-weight: 600; text-decoration: none; }
nav a:hover, .text-link:hover { text-decoration-thickness: 2px; }
nav a:hover { text-decoration-line: underline; text-underline-offset: 5px; }
.button { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; padding: 12px 21px; border: 1px solid transparent; background: var(--deep); color: white; border-radius: 7px; text-decoration: none; font-weight: 680; text-align: center; line-height: 1.22; }
.button:hover { background: #235543; }
.button-small { min-height: 44px; padding-inline: 19px; }
.button-lime { background: var(--lime); color: var(--deep); }
.button-lime:hover { background: #eefbcb; }
.button-outline { background: #14291f70; border-color: #ffffff95; }
.button-outline:hover { background: #ffffff28; }
.hero { isolation: isolate; position: relative; min-height: min(611px, 76vh); display: grid; align-items: center; color: white; background: var(--deep); }
.hero-slides { position: absolute; inset: 0; overflow: hidden; z-index: -2; }
.hero-image { width: 100%; height: 100%; position: absolute; inset: 0; object-fit: cover; object-position: center 49%; opacity: 0; transition: opacity 550ms ease-in-out; }
.hero-image.is-current { opacity: 1; }
.hero::after { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, #0c231bf5 2%, #0c231bdf 25%, #0c231b83 52%, #0c231b14 100%), linear-gradient(0deg, #0c231b88, transparent 43%); }
.hero-inner { padding-block: 70px 97px; }
.hero h1, h2 { margin: 0; font-family: Georgia, serif; font-weight: 500; letter-spacing: -.055em; }
.hero h1 { font-size: clamp(3.2rem, 7.1vw, 7.1rem); line-height: .99; }
h1 em, h2 em { font-weight: 400; }
.hero em { color: var(--lime); }
.hero-inner > p:not(.eyebrow) { max-width: 435px; font-size: 1.14rem; margin: 24px 0 29px; color: #f1f7ee; line-height: 1.6; }
.eyebrow { text-transform: uppercase; letter-spacing: .125em; font-size: .875rem; font-weight: 750; color: var(--green); margin: 0 0 18px; }
.hero-kicker { color: #e9f6d4; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-caption { position: absolute; right: max(48px, calc((100vw - 1192px)/2)); bottom: 26px; display: flex; align-items: center; gap: 9px; font-size: .875rem; }
.hero-toggle { display: inline-grid; place-items: center; width: 44px; height: 44px; padding: 0; color: white; background: #102c26e0; border: 1px solid #ffffff9c; border-radius: 50%; cursor: pointer; }
.hero-toggle:focus-visible { outline-color: var(--lime); }
.launch { position: fixed; z-index: 9; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; text-align: center; padding: 24px; pointer-events: none; background: radial-gradient(ellipse at 50% 45%, #fff 0, #f1f6ec 49%, #dfead8 100%); color: var(--navy); animation: launch-out 1.65s both; }
.launch img { object-fit: contain; animation: launch-crest 900ms cubic-bezier(.18,.73,.22,1) both; }
.launch span { font: 500 clamp(1.45rem, 4vw, 2.4rem) Georgia, serif; }
.launch small { font-size: .875rem; letter-spacing: .09em; text-transform: uppercase; color: var(--green); }
@keyframes launch-out { 0%, 72% { opacity: 1; } 100% { opacity: 0; } }
@keyframes launch-crest { from { opacity: 0; transform: translateY(12px) scale(.83); } to { opacity: 1; transform: translateY(0) scale(1); } }
.intro { background: #e9f0e4; padding-block: 55px; }
.intro-grid { display: grid; grid-template-columns: .72fr 2fr .75fr; align-items: start; gap: 32px; }
.intro-grid > .eyebrow { margin-top: 11px; }
h2 { font-size: clamp(2.55rem, 5.7vw, 5.05rem); line-height: 1.01; }
h2 em { color: var(--green); }
p { line-height: 1.65; }
.intro h2 { font-size: clamp(2.1rem, 4vw, 3.85rem); }
.intro p:not(.eyebrow), .contact p:not(.eyebrow) { max-width: 50ch; }
.motto { display: grid; justify-items: center; align-self: center; gap: 9px; text-align: center; color: var(--navy); font-family: Georgia, serif; font-style: italic; font-size: 1.1rem; }
.text-link { font-weight: 700; text-underline-offset: 4px; color: var(--green); }
.section { padding-block: clamp(65px, 8vw, 112px); }
.tabs { margin-top: 30px; }
.tab-list { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; margin-bottom: 18px; }
.tab-list a { text-decoration: none; border: 1px solid #bcccbe; border-radius: 99px; min-height: 44px; padding: 10px 17px; display: inline-flex; align-items: center; font-weight: 650; }
.tab-list a:hover { background: #e0ebdf; }
.tab-list a[aria-selected="true"] { color: white; background: var(--deep); border-color: var(--deep); }
.story-panel, .tour-panel { overflow: hidden; border: 1px solid var(--line); border-radius: 14px; }
.story-panel { display: grid; grid-template-columns: 1.18fr 1fr; background: #e9f1e5; margin-bottom: 16px; }
.story-panel img { width: 100%; height: 100%; max-height: 470px; min-height: 280px; object-fit: cover; }
.story-copy { padding: clamp(28px, 5vw, 72px); align-self: center; }
.story-text { display: block; background: #e5efd8; min-height: 280px; }
h3 { font-family: Georgia, serif; font-size: clamp(1.6rem, 3vw, 2.65rem); margin: 0 0 13px; line-height: 1.16; font-weight: 500; letter-spacing: -.035em; }
.campus { background: #edf2eb; }
.tour-panel { margin: 0 0 23px; background: white; }
.tour-panel img { width: 100%; height: clamp(230px, 45vw, 535px); object-fit: cover; }
figcaption { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 5px 16px; font-weight: 650; padding: 15px 19px; }
figcaption small { font-weight: 400; color: #466052; }
.admissions { background: var(--deep); color: white; }
.admissions h2 em, .admissions .eyebrow { color: var(--lime); }
.admissions-grid, .contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 7vw, 105px); align-items: center; }
.admissions-grid p { max-width: 44ch; }
.guide { padding: clamp(21px, 4vw, 44px); background: white; color: var(--deep); border-radius: 15px; }
.guide fieldset { padding: 0; border: 0; margin: 20px 0; }
.guide legend { padding: 0; font-weight: 650; margin-bottom: 11px; }
.choices { display: flex; flex-wrap: wrap; gap: 10px; }
.choices label { border: 1px solid #a9bdad; padding: 9px 11px; border-radius: 6px; cursor: pointer; min-height: 44px; display: inline-flex; gap: 8px; align-items: center; }
.choices input { accent-color: var(--green); }
.choices label:has(:checked) { background: #e4efdd; border-color: var(--green); }
.guide-answer { background: #f1f5ee; padding: 15px; border-radius: 8px; margin-bottom: 18px; }
.guide-answer h4, .guide-answer p { margin: 0; }
.guide-answer h4 { margin-bottom: 4px; }
.guide small { display: block; margin-top: 9px; color: #476053; }
.school-video { background: #f7faf4; }
.video-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(24px, 6vw, 80px); align-items: center; }
.school-video video { display: block; width: 100%; max-height: min(72vh, 580px); min-height: 180px; border-radius: 14px; background: var(--deep); }
.admission-form { scroll-margin-top: 20px; margin-top: 34px; padding: clamp(23px, 4vw, 44px); border-radius: 15px; background: #fff; color: var(--deep); }
.admission-form h3 { margin-bottom: 5px; }
.admission-form p { margin-top: 0; }
.form-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 21px; margin-bottom: 20px; }
.form-fields label { display: grid; grid-template-columns: auto 1fr; gap: 6px 5px; align-items: baseline; font-weight: 650; }
.form-fields small { font-weight: 400; }
.form-fields input { grid-column: 1 / -1; width: 100%; height: 44px; padding: 8px 12px; border-radius: 6px; border: 1px solid #93a99a; color: var(--deep); }
.admission-form .form-note { margin: 10px 0 0; color: #476053; }
.contact-details { background: #e9f0e4; padding: clamp(24px, 4vw, 43px); border-radius: 14px; display: grid; gap: 9px; overflow-wrap: anywhere; }
.social { display: flex; gap: 16px; margin-top: 9px; }
.contact-details a { width: fit-content; text-underline-offset: 3px; }
footer { background: var(--deep); color: #f6faf4; }
.footer-inner { padding-block: 25px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; }
.menu, .mobile-actions, .mobile-admissions-link { display: none; }
@media (max-width: 850px) {
  .wrap { width: calc(100% - 48px); }
  .header-inner { flex-wrap: wrap; gap: 12px; padding-block: 12px; }
  .menu { background: #edf2eb; border: 1px solid var(--line); border-radius: 7px; min-height: 44px; padding: 8px 12px; display: block; color: var(--deep); }
  .menu span { margin-left: 6px; }
  .header-admissions { display: none; }
  .mobile-admissions-link { display: inline; }
  nav { width: 100%; flex-wrap: wrap; gap: 0 20px; }
  nav a { padding: 11px 0; }
  .hero-caption { right: 24px; }
  .intro-grid { grid-template-columns: 1fr auto; gap: 10px 22px; }
  .intro-grid > .eyebrow { grid-column: 1 / -1; }
}
@media (max-width: 620px) {
  body { padding-bottom: calc(56px + env(safe-area-inset-bottom)); }
  .wrap { width: calc(100% - 36px); }
  .notice { font-size: .8125rem; }
  .header-inner { min-height: 71px; }
  .hero { min-height: 515px; }
  .hero-image { object-position: 61% center; }
  .hero::after { background: linear-gradient(90deg, #0c231be8, #0c231b8a 85%), linear-gradient(0deg, #0c231b63, transparent); }
  .hero-inner { padding-block: 50px 79px; }
  .hero h1 { font-size: clamp(2.65rem, 11.5vw, 4.7rem); }
  .hero-caption { right: auto; left: 18px; bottom: 19px; }
  .intro-grid, .story-panel, .admissions-grid, .contact-grid, .video-grid, .form-fields { grid-template-columns: 1fr; }
  .intro-grid { gap: 5px; }
  .motto { display: none; }
  .story-panel img { min-height: 0; height: 230px; }
  .tabs { margin-top: 20px; }
  .tab-list { gap: 7px; }
  .tab-list a { font-size: .875rem; padding-inline: 11px; }
  .mobile-actions { z-index: 3; display: grid; grid-template-columns: 1fr 1fr; background: var(--deep); color: white; padding-bottom: env(safe-area-inset-bottom); position: fixed; bottom: 0; left: 0; right: 0; }
  .mobile-actions a { min-height: 56px; font-weight: 700; text-decoration: none; display: grid; place-items: center; }
  .mobile-actions a:first-child { color: var(--deep); background: var(--lime); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-image { transition: none; }
  .launch { display: none; }
}
