/* Public school website. Colours come from /theme.css (each school's own);
   these are fallbacks. Fonts: Bricolage Grotesque (headings), Instrument Sans (text),
   with system fonts when offline. */
:root {
  --primary: #0B4A36; --primary-text: #0B4A36; --primary-900: #062E22; --primary-800: #083828; --primary-700: #185541; --primary-line: #2C6A54;
  --primary-muted: #B9D3C6; --primary-faint: #D4E5DC; --soft: #E6F0EA; --soft-2: #DCE8E1; --soft-3: #D2E2D9;
  --on-primary: #FFFFFF; --accent: #F2A93B; --on-accent: #10201A; --accent-soft: #FFF4E0;
  --ink: #10201A; --ink-2: #33443D; --muted: #4B5B54; --line: #DCE3DF; --line-2: #EEF2F0; --bg: #FBFBF8; --white: #FFFFFF;
  --display: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --sans: "Instrument Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body.site { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.6 var(--sans); }
.site a { color: var(--primary-text); }
.site img { max-width: 100%; display: block; }
.site h1, .site h2, .site h3 { margin: 0; }
.site p { margin: 0; }
.site :focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.wrap { max-width: 1280px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; padding: 10px 14px; z-index: 50; }
.skip:focus { left: 12px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.muted { color: var(--muted); }
.muted-s { font-size: 14px; font-weight: 600; color: var(--muted); }
.label { font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--primary-text); }
.eyebrow { font-size: 14px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--primary-text); margin-bottom: 14px !important; }
.eyebrow.on-dark { color: var(--accent); }
.h2 { font-family: var(--display); font-weight: 800; font-size: clamp(32px, 4vw, 52px); line-height: 1.05; letter-spacing: -.02em; }
.h3 { font-family: var(--display); font-weight: 800; font-size: clamp(24px, 2.4vw, 32px); line-height: 1.12; letter-spacing: -.01em; }
.lead { font-size: 17px; line-height: 1.6; color: var(--ink-2); max-width: 440px; }
.stack-lg { display: flex; flex-direction: column; gap: 40px; }
.band { padding-top: 104px; padding-bottom: 104px; }
.band-soft { background: var(--soft); }
.band-dark { background: var(--primary-900); color: #fff; }
.split-head { display: flex; flex-wrap: wrap; gap: 20px 32px; justify-content: space-between; align-items: flex-end; }
.split-head > div { max-width: 680px; }
.narrow-head { max-width: 720px; }

/* Buttons */
.btn { display: inline-flex; gap: 10px; align-items: center; justify-content: center; min-height: 44px; padding: 0 20px; border-radius: 999px; font: 600 15px var(--sans); text-decoration: none; cursor: pointer; border: 1.5px solid transparent; white-space: nowrap; }
.btn-lg { min-height: 52px; padding: 0 26px; font-size: 16px; }
.site .btn-solid { background: var(--primary); color: var(--on-primary); border-color: var(--primary); }
.site .btn-solid:hover { background: var(--primary-900); border-color: var(--primary-900); }
.site .btn-line { border-color: var(--primary); color: var(--primary-text); background: transparent; }
.site .btn-line:hover { background: var(--soft); }
.site .btn-accent { background: var(--accent); color: var(--on-accent); font-weight: 700; }
.site .btn-accent:hover { filter: brightness(.95); }
.site .btn-ghost { border-color: var(--primary-muted); color: #fff; background: transparent; }
.site .btn-ghost:hover { background: rgba(255, 255, 255, .08); }
.site .btn-dark { background: var(--primary-900); color: #fff; font-weight: 700; }
.site .btn-dark-line { border-color: var(--primary-900); color: var(--primary-900); font-weight: 700; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.ic.flip { transform: scaleX(-1); }

/* Announcement + header */
.announce { background: var(--primary-900); color: var(--primary-faint); font-size: 14px; }
.announce-row { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; align-items: center; padding-top: 10px; padding-bottom: 10px; }
.announce p { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.site .announce a { color: var(--primary-faint); text-decoration: none; }
.site .announce a:hover { color: #fff; text-decoration: underline; }
.announce-links { display: flex; gap: 20px; }
.pill { background: var(--accent); color: var(--on-accent); font-weight: 700; font-size: 12px; padding: 3px 9px; border-radius: 999px; letter-spacing: .04em; text-transform: uppercase; }
.preview-bar { background: #FFF4D6; color: #5A4300; padding: 10px 24px; font-size: 15px; text-align: center; }
.site-head { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
.head-row { display: flex; gap: 16px 28px; align-items: center; justify-content: space-between; padding-top: 12px; padding-bottom: 12px; }
.site .brand { display: flex; gap: 12px; align-items: center; text-decoration: none; color: var(--ink); min-width: 0; }
.brand > span { display: flex; flex-direction: column; line-height: 1.12; min-width: 0; }
.brand b { font-family: var(--display); font-weight: 800; font-size: 20px; letter-spacing: -.01em; }
.brand i { font-style: normal; font-size: 12px; color: var(--muted); letter-spacing: .08em; text-transform: uppercase; margin-top: 2px; }
.nav-links { display: flex; flex-wrap: nowrap; gap: 20px; font-weight: 500; font-size: 15px; white-space: nowrap; }
.site .nav-links a { color: var(--ink); text-decoration: none; padding: 12px 0; border-bottom: 2px solid transparent; }
.site .nav-links a:hover, .site .nav-links a[aria-current] { color: var(--primary-text); border-bottom-color: var(--accent); }
.head-actions { display: flex; gap: 10px; align-items: center; }
.mnav { display: none; }
.mnav summary { list-style: none; display: inline-flex; gap: 8px; align-items: center; min-height: 44px; padding: 0 16px; border: 1.5px solid var(--line); border-radius: 999px; cursor: pointer; font-weight: 600; }
.mnav summary::-webkit-details-marker { display: none; }
.mnav-panel { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 16px 32px rgba(0, 0, 0, .08); padding: 8px 24px 20px; display: flex; flex-direction: column; }
.site .mnav-panel a:not(.btn) { color: var(--ink); text-decoration: none; padding: 14px 0; border-bottom: 1px solid var(--line-2); font-weight: 500; }
.mnav-panel .btn { margin-top: 16px; }

/* Crest / logo */
.crest-shield { fill: var(--primary); }
.crest-line { fill: none; stroke: var(--accent); stroke-width: 2.2; stroke-linejoin: round; }
.crest-dot { fill: var(--accent); }
.crest-md, .logo-md { width: 44px; height: 50px; flex: none; }
.crest-sm, .logo-sm { width: 36px; height: 41px; flex: none; }
.crest-lg { width: 120px; height: 136px; }
.crest-xl, .logo-xl { width: min(260px, 50vw); height: auto; }
.logo-img { object-fit: contain; }
.logo-md { width: auto; max-width: 140px; }
.logo-sm { width: auto; max-width: 120px; }

/* Hero */
.hero { background: var(--primary); color: var(--on-primary); overflow: hidden; }
.hero-grid { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; padding-top: 80px; padding-bottom: 104px; }
.hero-text { flex: 1 1 520px; display: flex; flex-direction: column; gap: 26px; min-width: 0; }
.hero-eyebrow { display: inline-flex; gap: 10px; align-items: center; font-size: 14px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
.hero-eyebrow span { width: 28px; height: 2px; background: var(--accent); }
.hero h1 { font-family: var(--display); font-weight: 800; font-size: clamp(42px, 6vw, 84px); line-height: .98; letter-spacing: -.03em; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero-text > p:not(.hero-eyebrow) { font-size: 19px; line-height: 1.6; color: var(--primary-faint); max-width: 540px; }
.hero .btn-solid { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }
.stats { display: flex; flex-wrap: wrap; gap: 8px 40px; margin: 0; padding-top: 6px; border-top: 1px solid var(--primary-line); }
.stats div { display: flex; flex-direction: column-reverse; padding-top: 18px; }
.stats dt { font-size: 14px; color: var(--primary-muted); }
.stats dd { margin: 0; font-family: var(--display); font-weight: 700; font-size: 32px; }
.hero-crest { flex: 1 1 400px; min-height: 460px; border-radius: 32px 32px 32px 120px; display: flex; flex-direction: column; gap: 20px; align-items: center; justify-content: center;
  background: repeating-linear-gradient(135deg, var(--primary-700) 0 14px, var(--primary-800) 14px 28px); padding: 40px; }
.hero-crest p { font-family: var(--display); font-weight: 700; font-size: 22px; color: var(--accent); text-align: center; }
.hero-crest .crest-shield { fill: var(--primary-900); }

/* Slider */
.slider { flex: 1 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.slides { position: relative; height: 540px; border-radius: 32px 32px 32px 120px; overflow: hidden; background: var(--primary-700); }
.track { display: flex; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory; }
.js .track { overflow: visible; transition: transform 700ms cubic-bezier(.65, 0, .35, 1); }
.slide { flex: 0 0 100%; height: 100%; margin: 0; position: relative; scroll-snap-align: start; padding: 24px; display: flex; align-items: flex-end;
  background: repeating-linear-gradient(135deg, var(--primary-700) 0 14px, var(--primary-800) 14px 28px); }
.slide-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.slide-card { position: relative; max-width: 400px; margin-left: auto; background: rgba(6, 30, 22, .88); border-radius: 22px; padding: 22px 24px; display: flex; flex-direction: column; gap: 8px; color: #fff; }
.slide-card .tag { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
.slide-card strong { font-family: var(--display); font-weight: 800; font-size: 26px; line-height: 1.12; }
.slide-card span:last-child:not(.tag) { font-size: 15px; line-height: 1.5; color: #D4E5DC; }
.progress { position: absolute; left: 0; bottom: 0; height: 4px; width: 100%; background: rgba(255, 255, 255, .14); display: none; }
.js .progress { display: block; }
.progress span { display: block; height: 100%; width: 0; background: var(--accent); }
.slider-controls { display: none; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.js .slider-controls { display: flex; }
.dots { display: flex; gap: 2px; }
.dot { width: 44px; height: 44px; border: 0; background: transparent; padding: 0; display: grid; place-items: center; cursor: pointer; }
.dot span { display: block; width: 10px; height: 10px; border-radius: 999px; background: var(--primary-muted); opacity: .6; transition: width .3s, background .3s; }
.dot[aria-current="true"] span { width: 32px; background: var(--accent); opacity: 1; }
.slider-btns { display: flex; align-items: center; gap: 10px; }
.counter { font-family: var(--display); font-weight: 700; font-size: 16px; color: var(--primary-faint); min-width: 64px; text-align: center; }
.round { width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid var(--primary-muted); background: transparent; color: #fff; display: grid; place-items: center; cursor: pointer; }
.round-accent { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }
.round .i-play { display: none; }
.round[aria-pressed="true"] .i-play { display: block; }
.round[aria-pressed="true"] .i-pause { display: none; }

/* Quick links */
.quick { margin-top: -52px; position: relative; }
.quick-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.site .quick-card { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 24px; text-decoration: none; color: var(--ink); display: flex; gap: 16px; align-items: flex-start; box-shadow: 0 12px 32px rgba(6, 46, 34, .08); transition: transform .15s, box-shadow .15s; }
.site .quick-card:hover { transform: translateY(-2px); box-shadow: 0 16px 36px rgba(6, 46, 34, .12); }
.quick-ic { flex: none; width: 48px; height: 48px; border-radius: 14px; background: var(--soft); color: var(--primary-text); display: grid; place-items: center; }
.quick-card > span:last-child { display: flex; flex-direction: column; gap: 4px; }
.quick-card strong { font-size: 17px; }
.quick-card span span { font-size: 14px; color: var(--muted); line-height: 1.5; }

/* About */
.about { display: flex; flex-wrap: wrap; gap: 64px; align-items: center; padding-top: 112px; padding-bottom: 96px; }
.about-media { flex: 1 1 400px; position: relative; min-height: 480px; }
.about-photo { position: absolute; inset: 0 60px 40px 0; border-radius: 32px; overflow: hidden; background: repeating-linear-gradient(135deg, var(--soft-2) 0 14px, var(--soft-3) 14px 28px); display: grid; place-items: center; }
.cover { width: 100%; height: 100%; object-fit: cover; }
.about-badge { position: absolute; right: 0; bottom: 0; width: 240px; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 20px; box-shadow: 0 16px 40px rgba(6, 46, 34, .12); font-size: 14px; color: var(--muted); line-height: 1.5; display: flex; flex-direction: column; gap: 4px; }
.about-badge .est { font-family: var(--display); font-weight: 800; font-size: 38px; color: var(--primary-text); line-height: 1.1; }
.about-text { flex: 1 1 520px; display: flex; flex-direction: column; gap: 20px; }
.about-text > p:not(.eyebrow) { font-size: 18px; line-height: 1.7; color: var(--ink-2); }
.sign { display: flex; gap: 14px; align-items: center; padding-top: 6px; }
.sign > span:first-child { width: 48px; height: 2px; background: var(--accent); }
.sign > span:last-child { display: flex; flex-direction: column; }
.sign span span { font-size: 14px; color: var(--muted); }

/* Academics tabs */
.tabs { display: flex; flex-wrap: wrap; gap: 10px; }
.tab { min-height: 48px; padding: 0 22px; border-radius: 999px; font: 600 15px var(--sans); cursor: pointer; background: transparent; color: var(--primary-text); border: 1.5px solid var(--primary-muted); }
.tab[aria-selected="true"] { background: var(--primary); color: var(--on-primary); border-color: var(--primary); }
.prog { background: #fff; border-radius: 28px; padding: 40px; display: flex; flex-wrap: wrap; gap: 40px; }
.js .prog[data-inactive] { display: none; }
.prog-text { flex: 1 1 340px; display: flex; flex-direction: column; gap: 16px; }
.prog-text p:not(.muted-s):not(.exam-chip) { font-size: 17px; line-height: 1.7; color: var(--ink-2); }
.exam-chip { display: inline-flex; gap: 10px; align-items: center; align-self: flex-start; background: var(--accent-soft); color: var(--ink); border-radius: 12px; padding: 12px 16px; font-size: 15px; font-weight: 600; }
.prog-subjects { flex: 1 1 460px; }
.prog-subjects .label { color: var(--muted); margin-bottom: 14px; }
.subjects { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; }
.subjects li { display: flex; gap: 10px; align-items: center; padding: 14px 16px; border: 1px solid var(--line); border-radius: 14px; font-size: 15px; font-weight: 500; }
.subjects li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--primary); flex: none; }

/* Features */
.features { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 0; background: #fff; border: 1px solid var(--line); border-radius: 28px; overflow: hidden; }
.feature { background: #fff; box-shadow: 1px 1px 0 var(--line); padding: 36px; display: flex; flex-direction: column; gap: 14px; color: var(--primary-text); }
.feature h3 { font-size: 21px; font-weight: 700; color: var(--ink); }
.feature p { font-size: 16px; line-height: 1.6; color: var(--muted); }

/* Student life */
.mosaic { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); grid-auto-rows: 240px; gap: 16px; }
.tile { margin: 0; border-radius: 24px; overflow: hidden; position: relative; background: repeating-linear-gradient(135deg, var(--primary-700) 0 14px, var(--primary-800) 14px 28px); display: flex; flex-direction: column; justify-content: flex-end; }
.tile-tall { grid-row: span 2; }
.tile img { position: absolute; inset: 0; }
.tile figcaption { position: relative; padding: 24px; display: flex; flex-direction: column; gap: 4px; background: linear-gradient(to top, rgba(0, 0, 0, .7), transparent); }
.tile strong { font-family: var(--display); font-size: 24px; }
.tile figcaption span { font-size: 15px; color: #DDE7E2; }
.tile-accent { background: var(--accent); color: var(--on-accent); padding: 24px; justify-content: space-between; }
.tile-accent .label { color: inherit; }
.clubs { font-family: var(--display); font-weight: 700; font-size: 22px; line-height: 1.3; }

/* News & events */
.news-wrap { display: flex; flex-wrap: wrap; gap: 48px; }
.news-main { flex: 999 1 640px; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.news-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.news-card { display: flex; flex-direction: column; gap: 12px; }
.news-img { aspect-ratio: 4 / 3; border-radius: 20px; overflow: hidden; background: repeating-linear-gradient(135deg, var(--soft-2) 0 14px, var(--soft-3) 14px 28px); }
.news-card h3 { font-size: 20px; line-height: 1.3; }
.news-card .muted { font-size: 15px; }
.events { flex: 1 1 340px; align-self: flex-start; background: #fff; border: 1px solid var(--line); border-radius: 28px; padding: 32px; display: flex; flex-direction: column; gap: 4px; }
.events h2 { margin-bottom: 12px; }
.event { display: flex; gap: 16px; align-items: center; padding: 14px 0; border-top: 1px solid var(--line-2); }
.event .date { flex: none; width: 60px; height: 64px; border-radius: 14px; background: var(--soft); color: var(--primary-text); display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1; }
.event .date span { font-size: 12px; font-weight: 700; letter-spacing: .06em; }
.event .date b { font-family: var(--display); font-weight: 800; font-size: 24px; }
.event > span:last-child { display: flex; flex-direction: column; gap: 2px; }
.event > span:last-child span { font-size: 14px; color: var(--muted); }

/* CTA */
.cta-wrap { padding-bottom: 104px; }
.cta { background: var(--accent); color: var(--on-accent); border-radius: 36px; padding: 64px 56px; display: flex; flex-wrap: wrap; gap: 32px; align-items: center; justify-content: space-between; }
.cta > div:first-child { max-width: 640px; display: flex; flex-direction: column; gap: 12px; }
.cta p { font-size: 18px; line-height: 1.6; }

/* Contact + forms */
.contact { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; }
.contact-info { flex: 1 1 380px; }
.contact-list { list-style: none; margin: 28px 0 0; padding: 0; display: flex; flex-direction: column; gap: 18px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; font-size: 17px; }
.contact-list .ic { flex: none; color: var(--primary-text); margin-top: 2px; }
.form-card { flex: 1 1 460px; background: #fff; border: 1px solid var(--line); border-radius: 28px; padding: 36px; display: flex; flex-direction: column; gap: 18px; }
.form { display: flex; flex-direction: column; gap: 16px; }
.form-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.form label { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 600; }
.form input:not([type=checkbox]):not([type=radio]), .form select, .form textarea, .finder input {
  font: 400 16px var(--sans); color: var(--ink); background: #fff; min-height: 48px; padding: 10px 14px; border: 1px solid #C5D0CA; border-radius: 12px; width: 100%; }
.form textarea { min-height: 96px; resize: vertical; }
.form .consent { flex-direction: row; align-items: flex-start; gap: 10px; font-weight: 400; color: var(--muted); }
.form .consent input { margin-top: 4px; width: 18px; height: 18px; }
.radios { border: 0; padding: 0; margin: 0; display: flex; gap: 20px; flex-wrap: wrap; font-size: 15px; }
.radios legend { font-size: 14px; font-weight: 600; margin-bottom: 6px; }
.radios label { flex-direction: row; align-items: center; gap: 8px; font-weight: 500; }
.hp { position: absolute !important; left: -9999px; }
.ok { background: var(--soft); color: var(--primary-text); padding: 16px 18px; border-radius: 14px; font-weight: 600; }
.ok-big { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; color: var(--primary-text); }
.ok-big p { color: var(--ink-2); }
.err { background: #FDE8E6; color: #8F1D14; padding: 12px 16px; border-radius: 12px; }

/* Sub-page hero (admissions, gallery) */
.hero-sub .hero-text { gap: 22px; }
.sub-grid { display: flex; flex-wrap: wrap; gap: 40px; align-items: flex-end; justify-content: space-between; padding-top: 72px; padding-bottom: 88px; }
.hero-sub > .wrap:not(.sub-grid) { padding-top: 72px; padding-bottom: 80px; }
.hero-sub h1 { font-size: clamp(38px, 5vw, 68px); }
.date-card { flex: 0 1 340px; background: var(--primary-900); border-radius: 24px; padding: 28px; display: flex; flex-direction: column; gap: 8px; }
.date-card .label { color: var(--accent); }
.date-card strong { font-family: var(--display); font-size: 26px; line-height: 1.2; }
.site .date-card a { color: #fff; font-weight: 600; }

.steps { list-style: none; counter-reset: s; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; }
.steps li { counter-increment: s; background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 28px; display: flex; flex-direction: column; gap: 10px; }
.steps li::before { content: counter(s, decimal-leading-zero); font-family: var(--display); font-weight: 800; font-size: 34px; color: var(--accent); line-height: 1; }
.steps h3 { font-size: 20px; }
.steps p { font-size: 15px; color: var(--muted); line-height: 1.6; }

.fees-grid { display: flex; flex-wrap: wrap; gap: 32px; align-items: flex-start; }
.fees-main { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.toggle { display: inline-flex; gap: 4px; padding: 5px; background: #fff; border: 1px solid var(--line); border-radius: 999px; }
.seg { min-height: 44px; padding: 0 20px; border: 0; border-radius: 999px; font: 600 15px var(--sans); cursor: pointer; background: transparent; color: var(--primary-text); }
.seg[aria-pressed="true"] { background: var(--primary); color: var(--on-primary); }
.toggle { display: none; }
.js .toggle { display: inline-flex; }
.js .fee-panel[data-inactive] { display: none; }
.js .no-js-only { display: none; }
.no-js-only { font-size: 18px; margin-bottom: 10px !important; }
.table-wrap { overflow-x: auto; background: #fff; border-radius: 24px; border: 1px solid var(--line); }
.fees { width: 100%; border-collapse: collapse; min-width: 440px; font-size: 16px; }
.fees th, .fees td { padding: 16px 24px; text-align: left; border-bottom: 1px solid var(--line-2); }
.fees thead th { font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.fees tbody th { font-weight: 600; }
.fees tr.total th, .fees tr.total td { font-weight: 800; background: var(--soft); border-bottom: 0; }
.card-white { flex: 1 1 300px; background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 28px; }
.card-white h2 { margin-bottom: 16px; }
.ticks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; }
.ticks .ic { flex: none; color: var(--primary-text); }
.apply { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; }
.apply-intro { flex: 1 1 340px; display: flex; flex-direction: column; gap: 4px; }
.apply-intro > p:last-child { font-size: 18px; color: var(--ink-2); margin-top: 16px !important; }
.apply .form-card { flex: 2 1 540px; }
.faq-wrap { display: flex; flex-direction: column; gap: 32px; max-width: 900px; }
.faqs { display: flex; flex-direction: column; gap: 12px; }
.faq { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 0 24px; }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; align-items: center; min-height: 72px; font-weight: 700; font-size: 18px; }
.faq summary::-webkit-details-marker { display: none; }
.plus { flex: none; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-size: 22px; font-weight: 400; background: var(--soft); color: var(--primary-text); transition: transform .2s; }
.faq[open] .plus { transform: rotate(45deg); background: var(--primary); color: var(--on-primary); }
.faq p { padding-bottom: 22px; color: var(--ink-2); line-height: 1.7; }

/* Gallery */
.filters { display: flex; flex-wrap: wrap; gap: 10px; }
.site .chip { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1.5px solid var(--primary-muted); color: var(--primary-text); text-decoration: none; font-weight: 600; font-size: 15px; }
.site .chip[aria-current] { background: var(--primary); border-color: var(--primary); color: var(--on-primary); }
.gallery { list-style: none; margin: 0; padding: 0; columns: 3 300px; column-gap: 16px; }
.gallery li { break-inside: avoid; margin-bottom: 16px; }
.gallery a { display: block; border-radius: 20px; overflow: hidden; background: var(--soft); }
.gallery img { width: 100%; height: auto; transition: transform .3s; }
.gallery a:hover img { transform: scale(1.03); }
.gallery p { font-size: 14px; color: var(--muted); padding: 8px 4px 0; }
.gallery p span { color: var(--primary-text); font-weight: 600; }
.follow { background: var(--soft); border-radius: 28px; padding: 36px; display: flex; flex-wrap: wrap; gap: 20px; justify-content: space-between; align-items: center; }
.socials-dark { display: flex; flex-wrap: wrap; gap: 10px; }
.site .socials-dark a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 999px; background: var(--primary); color: var(--on-primary); text-decoration: none; font-weight: 600; }
.lightbox { border: 0; padding: 0; background: transparent; max-width: min(1100px, 94vw); width: 100%; }
.lightbox::backdrop { background: rgba(5, 15, 11, .88); }
.lb-inner { display: flex; flex-direction: column; gap: 12px; align-items: center; }
.lb-inner img { max-height: 78vh; width: auto; border-radius: 16px; }
.lb-cap { color: #fff; text-align: center; }
.lb-controls { display: flex; gap: 10px; }
.lb-controls button { min-height: 48px; min-width: 48px; padding: 0 18px; border-radius: 999px; border: 1.5px solid rgba(255, 255, 255, .5); background: transparent; color: #fff; font: 600 15px var(--sans); cursor: pointer; display: grid; place-items: center; }

/* Footer */
.site-foot { background: var(--primary-900); color: var(--primary-faint); }
.site-foot .wrap { padding-top: 72px; padding-bottom: 32px; display: flex; flex-direction: column; gap: 48px; }
.foot-cols { display: flex; flex-wrap: wrap; gap: 48px; }
.foot-school { flex: 2 1 320px; display: flex; flex-direction: column; gap: 14px; font-size: 15px; line-height: 1.7; }
.site .brand-light { color: #fff; }
.brand-light b { font-size: 24px; }
.foot-links { flex: 1 1 160px; display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.foot-links strong { color: #fff; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; }
.site .site-foot a:not(.brand) { color: var(--primary-faint); text-decoration: none; }
.site .site-foot a:not(.brand):hover { color: #fff; text-decoration: underline; }
.socials { display: flex; gap: 10px; }
.site .socials a { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--primary-line); display: grid; place-items: center; }
.legal { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; padding-top: 24px; border-top: 1px solid var(--primary-line); font-size: 14px; color: var(--primary-muted); }

/* Find-your-school (cloud home) */
.finder { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 24px; padding: 40px 20px; background: var(--primary); }
.finder-card { background: #fff; border-radius: 32px; padding: 48px; max-width: 620px; width: 100%; display: flex; flex-direction: column; gap: 16px; }
.find-row { display: flex; gap: 10px; flex-wrap: wrap; }
.find-row input { flex: 1 1 240px; }
.finder-legal { color: var(--primary-faint); font-size: 14px; text-align: center; }

@media (max-width: 1300px) {
  .nav-links, .head-actions { display: none; }
  .mnav { display: block; }
  .site-head { position: sticky; }
  .head-row { position: relative; }
}
@media (max-width: 720px) {
  body.site { font-size: 16px; }
  .wrap { padding-left: 16px; padding-right: 16px; }
  .band { padding-top: 72px; padding-bottom: 72px; }
  .hero-grid { padding-top: 48px; padding-bottom: 88px; gap: 40px; }
  .slides { height: 380px; border-radius: 24px 24px 24px 64px; }
  .slide-card { padding: 16px 18px; } .slide-card strong { font-size: 21px; }
  .hero-crest { min-height: 280px; border-radius: 24px 24px 24px 64px; }
  .about { padding-top: 88px; gap: 40px; }
  .about-media { min-height: 360px; }
  .about-photo { inset: 0 24px 56px 0; }
  .about-badge { width: 200px; }
  .prog, .form-card, .events, .card-white { padding: 24px; border-radius: 22px; }
  .cta { padding: 40px 24px; border-radius: 28px; }
  .tile-tall { grid-row: span 1; }
  .announce-links { display: none; }
  .brand b { font-size: 17px; }
  .finder-card { padding: 28px; }
  .fees th, .fees td { padding: 14px 16px; }
}
