:root {
    --green: #203f32;
    --teal: #397765;
    --ink: #253e34;
    --muted: #5a6d63;
    --mint: #edf3ee;
    --paper: #fcfbf7;
    --line: #d4dfd6;
    --gutter: clamp(22px, 5vw, 76px);
    --text-body: 26px;
    --text-small: 20px;
    --text-label: 18px;
    --text-detail: 22px;
    --text-heading: clamp(44px, 4.6vw, 64px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 30px; -webkit-text-size-adjust: 100%; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: "Plus Jakarta Sans", sans-serif; font-size: var(--text-body); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; touch-action: manipulation; }
img { display: block; max-width: 100%; height: auto; }
figure, h1, h2, h3, p, dl, dd { margin: 0; }
h1, h2 { text-wrap: balance; }
p { color: var(--muted); font-size: var(--text-body); line-height: 1.8; }
p + p { margin-top: 22px; }
svg { flex: none; width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
a:focus-visible, summary:focus-visible { outline: 3px solid #b88c51; outline-offset: 5px; }
section, section > *, main, figure, nav { min-width: 0; }
.content-width { width: min(100%, 1400px); margin-inline: auto; padding-inline: var(--gutter); }
.eyebrow { display: block; color: var(--teal); font-size: var(--text-label); font-weight: 800; letter-spacing: 2px; line-height: 1.8; }
.visually-hidden, .skip-link:not(:focus) { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
.skip-link:focus { position: fixed; z-index: 100; top: 12px; left: 12px; padding: 14px 20px; color: #fff; background: var(--green); }

.school-header { display: flex; align-items: center; justify-content: space-between; gap: 26px; min-height: 96px; padding: 18px var(--gutter); background: var(--paper); }
.wordmark { display: flex; flex: none; align-items: center; gap: 12px; font-size: 22px; font-weight: 800; letter-spacing: -.7px; line-height: 1.05; }
.brand-symbol { display: flex; align-items: center; flex: none; width: 46px; height: 46px; padding-left: 10px; border-radius: 12px; color: #fff; background: #3f6250; font-size: 37px; letter-spacing: -7px; transform: rotate(-4deg); }
.brand-city { display: block; margin-top: 7px; color: var(--muted); font-size: 14px; font-weight: 600; letter-spacing: 3.5px; }
.school-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 28px; font-size: 18px; font-weight: 600; }
.school-nav a { padding-block: 12px; }
.school-nav a:hover, .breadcrumb a:hover, .school-footer nav a:hover { color: var(--teal); text-decoration: underline; text-underline-offset: 5px; }
.header-back { display: inline-flex; flex: none; align-items: center; gap: 12px; min-height: 44px; padding: 10px 16px; border: 1px solid var(--line); border-radius: 5px; font-size: 18px; font-weight: 700; }
.header-back:hover { background: var(--mint); }

.school-hero { position: relative; isolation: isolate; display: flex; align-items: center; min-height: clamp(440px, 41vw, 620px); overflow: hidden; border-radius: 0 0 0 clamp(50px, 8vw, 130px); color: #fff; background: var(--green); }
.school-hero__photo, .school-hero__shade { position: absolute; z-index: -1; inset: 0; width: 100%; height: 100%; }
.school-hero__photo { object-fit: cover; object-position: center 48%; }
.school-hero__shade { background: linear-gradient(90deg, #102c24e6 0%, #102c24a3 43%, #102c2426 100%), linear-gradient(0deg, #102c2480, transparent 40%); }
.school-hero__content { padding-block: 64px 90px; }
.school-hero .eyebrow { color: #deeadb; }
.school-hero h1 { margin: 20px 0; font-size: clamp(52px, 6.4vw, 96px); font-weight: 600; line-height: 1.08; letter-spacing: -3px; }
.school-hero h1 span { color: #deebc8; }
.school-hero p { max-width: 520px; color: #f1f4ed; font-size: var(--text-body); }
.hero-link { display: inline-flex; align-items: center; gap: 24px; min-height: 48px; margin-top: 26px; border-bottom: 1px solid #ffffff80; font-size: var(--text-small); font-weight: 600; }
.hero-link:hover { color: #deebc8; }
.school-hero__location { position: absolute; right: var(--gutter); bottom: 28px; max-width: calc(100% - 2 * var(--gutter)); font-size: var(--text-small); letter-spacing: .5px; line-height: 1.7; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 10px; padding-block: 30px; color: var(--muted); font-size: 18px; line-height: 1.8; }
.breadcrumb [aria-current] { color: var(--green); font-weight: 700; }

h2 { font-size: var(--text-heading); font-weight: 600; line-height: 1.2; letter-spacing: -1.8px; }
h2 span { color: var(--teal); }
.section-heading h2 { margin-top: 18px; }
.profile-section { display: grid; grid-template-columns: .8fr 1.4fr; gap: clamp(36px, 7vw, 110px); padding-block: 52px 84px; }
.profile-copy { padding-top: 3px; }
.heading-rule { display: block; width: 56px; height: 3px; margin-top: 28px; background: var(--teal); }
.facts-band { background: var(--mint); }
.school-facts { display: grid; grid-template-columns: .75fr .9fr 1.3fr 1fr; padding-block: 36px; }
.school-facts > div { display: flex; flex-direction: column; justify-content: space-between; gap: 14px; padding: 8px 28px; border-right: 1px solid #cbdacf; }
.school-facts > div:first-child { padding-left: 0; }
.school-facts > div:last-child { padding-right: 0; border-right: 0; }
.school-facts dt { color: var(--muted); font-size: var(--text-small); font-weight: 600; line-height: 1.6; }
.school-facts dd { color: var(--green); font-size: clamp(32px, 3vw, 44px); font-weight: 600; letter-spacing: -1px; line-height: 1.2; }
.school-facts dd span { display: block; margin-top: 8px; color: var(--muted); font-size: var(--text-small); font-weight: 500; letter-spacing: 0; line-height: 1.7; }
.school-facts .school-facts__grade { font-size: 56px; line-height: 1; }

.learning-section { display: grid; grid-template-columns: .95fr 1.05fr; align-items: center; gap: clamp(36px, 6vw, 90px); padding-block: 100px; }
.learning-photo { position: relative; overflow: hidden; border-radius: 3px 3px 70px 3px; background: #dce6dc; }
.learning-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.learning-photo figcaption { position: absolute; inset: auto 0 0; padding: 50px 26px 28px; background: linear-gradient(transparent, #16392fe6); color: #fff; font-size: var(--text-small); line-height: 1.8; }
.learning-copy h2 { margin: 18px 0 24px; font-size: var(--text-heading); }
.learning-copy > p { font-size: var(--text-body); }
.fields-title { margin-top: 30px; color: var(--green); font-size: var(--text-detail); font-weight: 800; letter-spacing: .3px; }
.learning-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; margin: 12px 0 0; padding: 0; list-style: none; }
.learning-fields li { position: relative; padding: 12px 0 12px 15px; border-bottom: 1px solid var(--line); font-size: var(--text-detail); line-height: 1.7; overflow-wrap: anywhere; }
.learning-fields li::before { position: absolute; top: 28px; left: 0; width: 5px; height: 5px; border-radius: 50%; background: var(--teal); content: ""; }

.potential-section { overflow: hidden; background: var(--mint); }
.potential-inner { display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: clamp(36px, 5vw, 72px); padding-block: 80px 64px; }
.potential-copy h2 { margin: 18px 0 24px; font-size: var(--text-heading); }
.potential-copy p { font-size: var(--text-body); line-height: 1.8; }
.potential-photo { align-self: center; }
.potential-photo img { width: 100%; }
.potential-photo--achievement img { width: auto; max-width: 100%; height: auto; max-height: 520px; margin-inline: auto; object-fit: contain; }
.potential-photo figcaption { max-width: 330px; margin: 24px auto 0; color: var(--teal); font-size: var(--text-small); font-weight: 600; line-height: 1.9; text-align: center; }

.approach-section { display: grid; grid-template-columns: .8fr 1.4fr; gap: clamp(36px, 7vw, 110px); padding-block: 100px; }
.approach-accordion { margin-top: 30px; border-top: 1px solid var(--line); }
.approach-accordion details { padding: 0 0 2px; border-bottom: 1px solid var(--line); }
.approach-accordion summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 68px; padding-block: 18px; font-size: var(--text-detail); font-weight: 700; line-height: 1.7; list-style: none; cursor: pointer; touch-action: manipulation; }
.approach-accordion summary::-webkit-details-marker { display: none; }
.approach-accordion summary > span { position: relative; flex: none; width: 22px; height: 22px; }
.approach-accordion summary > span::before, .approach-accordion summary > span::after { position: absolute; top: 10px; left: 4px; width: 14px; height: 1.5px; background: var(--teal); content: ""; }
.approach-accordion summary > span::after { transform: rotate(90deg); }
.approach-accordion details[open] summary > span::after { transform: rotate(0); }
.approach-accordion details[open] summary { color: var(--teal); }
.approach-accordion details > p { padding: 0 35px 22px 0; font-size: var(--text-detail); line-height: 1.8; }

.future-section { position: relative; overflow: hidden; background: var(--green); color: #fff; }
.future-section::after { position: absolute; right: -150px; bottom: -280px; width: 640px; height: 640px; border: 1px solid #a7c4b333; border-radius: 50%; box-shadow: 0 0 0 65px #a7c4b30a, 0 0 0 130px #a7c4b308; content: ""; pointer-events: none; }
.future-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.15fr 1fr; gap: 28px 80px; padding-block: 80px 90px; }
.future-inner .eyebrow { grid-column: 1 / -1; color: #c3d7be; }
.future-inner h2 { grid-row: span 2; font-size: clamp(44px, 5vw, 72px); line-height: 1.2; }
.future-inner h2 span { color: #d9e7be; }
.future-inner > p { color: #dce7df; font-size: var(--text-body); }
.future-inner strong { color: #fff; font-weight: 700; }
.future-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 18px 24px; }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 28px; min-height: 50px; padding: 14px 20px; border: 1px solid transparent; border-radius: 4px; font-size: 18px; font-weight: 700; line-height: 1.6; }
.button-light { background: #e3ecd6; color: var(--green); }
.button-light:hover { background: #f4f7ed; }
.site-link { display: inline-flex; align-items: center; gap: 12px; min-height: 48px; border-bottom: 1px solid #ffffff50; font-size: 18px; font-weight: 600; }
.site-link:hover { color: #d9e7be; }
.site-link svg { width: 18px; height: 18px; }

.school-footer { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 32px; padding-block: 44px 30px; }
.footer-name { font-size: 24px; font-weight: 800; letter-spacing: -.5px; }
.footer-name span { display: block; margin-top: 9px; color: var(--muted); font-size: 18px; font-weight: 500; letter-spacing: 0; }
.school-footer nav { display: flex; flex-wrap: wrap; gap: 12px 26px; font-size: var(--text-small); }
.school-footer nav a { display: inline-flex; align-items: center; min-height: 44px; }
.copyright { width: 100%; padding-top: 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: 16px; line-height: 1.8; }

@media (min-width: 1700px) {
    .school-hero__content { width: 1400px; }
}

@media (max-width: 1050px) {
    .school-header { flex-wrap: wrap; gap: 12px; }
    .school-nav { order: 3; justify-content: center; gap: 18px; width: 100%; border-top: 1px solid var(--line); }
    .header-back { padding-inline: 12px; }
    .profile-section, .approach-section { grid-template-columns: .8fr 1.2fr; gap: 36px; }
    .school-facts > div { padding-inline: 20px; }
    .learning-section { gap: 36px; }
    .learning-fields { grid-template-columns: 1fr; }
    .potential-inner { grid-template-columns: 1.15fr .85fr; gap: 30px; }
    .future-inner { gap: 24px 40px; }
}

@media (max-width: 800px) {
    :root { --text-heading: clamp(44px, 5.8vw, 56px); }
    .school-header { flex-wrap: wrap; gap: 12px; padding-block: 16px 8px; }
    .school-nav { order: 3; justify-content: center; gap: 24px; width: 100%; border-top: 1px solid var(--line); }
    .school-hero { min-height: 460px; }
    .school-hero h1 { font-size: 68px; }
    .profile-section, .approach-section { grid-template-columns: 1fr; gap: 30px; padding-block: 46px 64px; }
    .profile-section h2 br, .approach-section h2 br { display: none; }
    .school-facts { grid-template-columns: 1fr 1fr; gap: 28px 0; }
    .school-facts > div { padding: 0 24px; }
    .school-facts > div:nth-child(odd) { padding-left: 0; }
    .school-facts > div:nth-child(even) { padding-right: 0; border-right: 0; }
    .learning-section { grid-template-columns: 1fr; align-items: start; padding-block: 64px; gap: 28px; }
    .learning-copy h2 br, .potential-copy h2 br { display: none; }
    .learning-photo { width: min(100%, 580px); margin-inline: auto; }
    .learning-photo figcaption { padding: 40px 20px 20px; }
    .potential-inner { grid-template-columns: 1fr; padding-block: 64px 40px; }
    .potential-photo { width: min(100%, 580px); margin-inline: auto; }
    .future-inner { grid-template-columns: 1fr; gap: 24px; padding-block: 64px; }
    .future-inner h2 { grid-row: auto; }
    .future-inner > p { max-width: 620px; }
}

@media (max-width: 580px) {
    :root { --gutter: 22px; --text-body: 22px; --text-small: 18px; --text-label: 16px; --text-detail: 20px; --text-heading: clamp(40px, 10.5vw, 48px); }
    p { line-height: 1.75; }
    h2 { letter-spacing: -1.2px; }
    .eyebrow { letter-spacing: 1.6px; }
    .wordmark { font-size: 19px; gap: 10px; }
    .brand-symbol { width: 39px; height: 39px; padding-left: 8px; font-size: 32px; }
    .brand-city { font-size: 13px; letter-spacing: 3px; }
    .header-back { gap: 7px; padding-inline: 9px; font-size: 16px; }
    .header-back svg { width: 17px; height: 17px; }
    .school-nav { justify-content: space-between; gap: 12px; font-size: 17px; }
    .school-hero { min-height: 430px; border-bottom-left-radius: 50px; }
    .school-hero__content { padding-block: 58px 84px; }
    .school-hero__photo { object-position: 55% center; }
    .school-hero__shade { background: linear-gradient(90deg, #102c24e6, #102c2470), linear-gradient(0deg, #102c2480, transparent 40%); }
    .school-hero h1 { font-size: clamp(44px, 11.5vw, 64px); letter-spacing: -1.8px; }
    .school-hero p { max-width: 340px; }
    .school-hero__location { left: var(--gutter); right: auto; bottom: 23px; font-size: 16px; }
    .hero-link { margin-top: 16px; }
    .breadcrumb { gap: 8px; padding-block: 24px; font-size: 16px; }
    .profile-section { padding-top: 28px; }
    .school-facts { padding-block: 30px; }
    .school-facts > div { padding-inline: 18px; }
    .school-facts dd { font-size: 32px; }
    .school-facts .school-facts__grade { font-size: 48px; }
    .learning-section { grid-template-columns: 1fr; gap: 32px; padding-block: 54px; }
    .learning-photo { margin-top: 0; border-bottom-right-radius: 48px; }
    .potential-copy p { line-height: 1.75; }
    .learning-fields { grid-template-columns: 1fr 1fr; column-gap: 18px; }
    .potential-inner { padding-block: 54px 36px; }
    .potential-photo--achievement img { max-height: 440px; }
    .approach-section { padding-block: 54px; }
    .future-inner { padding-block: 54px; }
    .future-inner h2 { font-size: clamp(40px, 10.5vw, 56px); letter-spacing: -1.2px; }
    .future-actions { align-items: flex-start; flex-direction: column; gap: 12px; }
    .school-footer { align-items: flex-start; flex-direction: column; gap: 24px; padding-block: 32px 24px; }
    .school-footer nav { gap: 4px 20px; }
}

@media (max-width: 420px) {
    .learning-fields { grid-template-columns: 1fr; }
    .school-facts dd { font-size: 28px; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
}
