:root {
    --ink: #172b4d;
    --ink-soft: #31435f;
    --muted: #778399;
    --blue: #315ee8;
    --blue-dark: #244bc6;
    --pale-blue: #edf3ff;
    --gold: #f4bb4e;
    --mint: #dff3e8;
    --paper: #ffffff;
    --canvas: #f7f9fc;
    --line: #e8edf3;
    --font-body: 'Segoe UI', Arial, sans-serif;
    --font-heading: 'Segoe UI', Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; color: var(--ink); font-family: var(--font-body); font-size: 15px; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
img { max-width: 100%; }
.container { width: min(1160px, calc(100% - 48px)); margin: 0 auto; }
.eyebrow { display: inline-block; margin: 0 0 17px; color: var(--blue); font-size: 10px; font-weight: 700; letter-spacing: .17em; }
.muted { color: var(--muted); }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 13px; min-height: 47px; padding: 0 20px; border: 1px solid transparent; border-radius: 7px; cursor: pointer; font-size: 13px; font-weight: 700; transition: transform .2s, background .2s, box-shadow .2s; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: #fff; background: var(--blue); box-shadow: 0 7px 18px #315ee827; }
.button-primary:hover { background: var(--blue-dark); }
.button-outline { border-color: #dce3ec; color: var(--ink); background: #fff; }
.button-outline:hover { border-color: var(--blue); color: var(--blue); }
.button-light { color: var(--ink); background: white; box-shadow: 0 8px 24px #10234d14; }
.button-light:hover { color: var(--blue); background: #fff; }
.button-small { min-height: 38px; padding: 0 14px; font-size: 12px; }
.button-full { width: 100%; }
.text-link { display: inline-flex; align-items: center; gap: 9px; color: var(--blue); font-size: 12px; font-weight: 700; }
.text-link span { transition: transform .2s; }
.text-link:hover span { transform: translateX(4px); }

/* Public website */
.public-site { background: #fff; }
.topbar { height: 34px; color: #e6ebfb; background: #192c4c; font-size: 10px; }
.topbar-inner, .topbar-inner > div { display: flex; align-items: center; justify-content: space-between; gap: 25px; height: 100%; }
.topbar a { color: #fff; }
.site-header { position: sticky; z-index: 50; top: 0; height: 78px; border-bottom: 1px solid #eff1f5; background: #fff; }
.nav-wrap { display: flex; align-items: center; justify-content: space-between; height: 100%; }
.school-brand, .brand-mark { display: inline-flex; align-items: center; gap: 11px; }
.brand-icon { display: inline-flex; flex: 0 0 39px; align-items: center; justify-content: center; width: 39px; height: 39px; border-radius: 11px 11px 11px 4px; color: #fff; background: var(--blue); font-family: var(--font-heading); font-size: 20px; font-weight: 800; }
.brand-copy { display: flex; flex-direction: column; gap: 4px; }
.brand-copy strong { color: var(--ink); font-family: var(--font-heading); font-size: 13px; font-weight: 800; }
.brand-copy small { max-width: 245px; overflow: hidden; color: var(--muted); font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.main-nav { display: flex; align-items: center; gap: 28px; height: 100%; }
.main-nav > a:not(.button) { color: #516078; font-size: 11px; font-weight: 600; transition: color .2s; }
.main-nav > a:not(.button):hover { color: var(--blue); }
.nav-cta { min-height: 39px; margin-left: 4px; padding: 0 16px; font-size: 11px; }
.menu-toggle { display: none; }
.hero { position: relative; min-height: 570px; overflow: hidden; color: white; background: #223859; background-image: var(--hero-image), radial-gradient(ellipse at 76% 28%, #83a7ba 0, #597e8b 23%, transparent 48%), linear-gradient(113deg, #193053 3%, #345276 51%, #86989a 100%); background-position: center; background-size: cover; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, #142848f5 0%, #192d4ddd 40%, #20385756 77%, #1a30431d 100%), linear-gradient(0deg, #1124405c, transparent 50%); }
.hero-inner { position: relative; display: flex; align-items: center; justify-content: space-between; min-height: 570px; padding-top: 23px; padding-bottom: 37px; }
.hero-copy { max-width: 575px; }
.hero-kicker { display: inline-flex; align-items: center; gap: 9px; margin-bottom: 24px; color: #deebff; font-size: 9px; font-weight: 700; letter-spacing: .16em; }
.kicker-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 5px #f4bb4e30; }
.hero h1 { max-width: 560px; margin: 0; color: #fff; font-family: var(--font-heading); font-size: clamp(39px, 5.4vw, 65px); font-weight: 800; letter-spacing: -.055em; line-height: 1.08; }
.hero-copy > p { max-width: 455px; margin: 20px 0 0; color: #e1e8f3; font-size: 14px; line-height: 1.85; }
.hero-actions { display: flex; align-items: center; gap: 25px; margin-top: 30px; }
.hero-video-link { display: inline-flex; align-items: center; gap: 9px; color: #fff; font-size: 11px; font-weight: 600; }
.play-icon { display: grid; width: 30px; height: 30px; place-items: center; padding-left: 2px; border: 1px solid #ffffff70; border-radius: 50%; color: white; font-size: 9px; }
.hero-note { display: flex; align-items: center; gap: 12px; margin-top: 49px; }
.hero-note-icon { display: grid; width: 37px; height: 37px; place-items: center; border-radius: 50%; color: #ffe3a0; background: #ffffff19; font-size: 20px; }
.hero-note > span:last-child { display: flex; flex-direction: column; gap: 4px; }
.hero-note strong { font-size: 11px; }
.hero-note small { color: #c2d0e3; font-size: 9px; }
.hero-badge { display: flex; flex-direction: column; align-items: flex-start; width: 180px; padding: 18px 20px; border: 1px solid #ffffff47; border-radius: 6px; background: #ffffff20; box-shadow: 0 12px 40px #15264030; backdrop-filter: blur(9px); transform: rotate(3deg); }
.badge-star { margin-bottom: 12px; color: #ffda8a; font-size: 24px; }
.hero-badge strong { color: #fff; font-family: var(--font-heading); font-size: 14px; line-height: 1.55; }
.hero-badge small { margin-top: 10px; color: #e0e8f4; font-size: 9px; }
.scroll-cue { position: absolute; right: max(24px, calc((100vw - 1160px) / 2)); bottom: 24px; display: flex; align-items: center; gap: 9px; color: #d3dce8; font-size: 8px; font-weight: 700; letter-spacing: .12em; }
.scroll-cue span { width: 22px; height: 1px; background: #f4bb4e; }
.welcome-strip { border-bottom: 1px solid var(--line); background: #fbfcfe; }
.welcome-inner { display: flex; align-items: center; gap: 13px; min-height: 65px; }
.welcome-icon { color: var(--gold); font-size: 17px; }
.welcome-inner p { flex: 1; margin: 0; color: var(--ink-soft); font-family: var(--font-heading); font-size: 12px; font-weight: 700; }
.welcome-year { color: #8793a6; font-size: 9px; font-weight: 700; letter-spacing: .1em; }
.section { padding: 96px 0; }
.section-stats { padding: 81px 0 77px; }
.stats-wrap { display: grid; grid-template-columns: .85fr 1.4fr; align-items: center; gap: 75px; }
.stats-intro h2, .section-heading h2, .about-copy h2, .agenda-intro h2, .contact-intro h2 { margin: 0; font-family: var(--font-heading); font-size: 32px; font-weight: 800; letter-spacing: -.045em; line-height: 1.2; }
.stats-intro p, .section-heading > p, .about-copy > p, .agenda-intro > p, .contact-intro > p { margin: 14px 0 0; color: var(--muted); font-size: 12px; line-height: 1.85; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat-item { display: flex; flex-direction: column; min-height: 91px; justify-content: center; padding: 0 18px; border-left: 1px solid var(--line); }
.stat-item:first-child { border-left: 0; }
.stat-number { color: var(--blue); font-family: var(--font-heading); font-size: 30px; font-weight: 800; letter-spacing: -.05em; }
.stat-number small { margin-left: 1px; color: var(--gold); font-size: 19px; }
.stat-label { margin-top: 7px; color: #738096; font-size: 10px; line-height: 1.5; }
.section-about { background: #fafbfd; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 95px; }
.about-art { position: relative; min-height: 350px; }
.about-image-placeholder { position: absolute; top: 4px; left: 7%; display: flex; align-items: center; justify-content: center; width: 76%; height: 325px; overflow: hidden; border-radius: 180px 180px 10px 10px; background: radial-gradient(circle at 55% 33%, #f8d994 0 10%, transparent 10.5%), linear-gradient(143deg, #bcded0 0 37%, #86b3a1 37% 58%, #507c6d 58%); }
.about-image-placeholder:before, .about-image-placeholder:after { position: absolute; bottom: -39px; width: 220px; height: 200px; border-radius: 50% 50% 0 0; content: ''; }
.about-image-placeholder:before { left: -36px; background: #d7e6d8; transform: rotate(14deg); }
.about-image-placeholder:after { right: -42px; background: #456b66; transform: rotate(-17deg); }
.about-sun { position: absolute; top: 49px; right: 43px; color: #fff1bd; font-size: 45px; }
.about-illustration { position: relative; z-index: 1; margin-top: -31px; color: #fff8e8; font-family: Georgia, serif; font-size: 134px; font-style: italic; text-shadow: 8px 14px 0 #254d4940; transform: rotate(-12deg); }
.about-caption { position: absolute; z-index: 2; right: 18px; bottom: 21px; left: 18px; display: flex; flex-direction: column; gap: 5px; padding: 14px 16px; border: 1px solid #ffffff57; border-radius: 5px; color: #fff; background: #23483ca8; backdrop-filter: blur(5px); }
.about-caption strong { font-family: var(--font-heading); font-size: 12px; }
.about-caption span { color: #e4efe8; font-size: 9px; }
.about-sticker { position: absolute; z-index: 2; top: 49px; right: 3%; display: grid; width: 81px; height: 81px; place-content: center; border: 4px solid #fff; border-radius: 50%; color: var(--ink); background: var(--gold); font-family: var(--font-heading); font-size: 11px; font-weight: 800; line-height: 1.35; text-align: center; transform: rotate(8deg); }
.about-copy h2 { font-size: 35px; }
.about-copy > p { margin-top: 20px; font-size: 13px; line-height: 1.95; }
.principal-sign { display: flex; align-items: center; gap: 13px; margin: 25px 0 20px; }
.signature-mark { color: #74b394; font-family: Georgia, serif; font-size: 31px; }
.principal-sign > span:last-child { display: flex; flex-direction: column; gap: 4px; }
.principal-sign strong { font-size: 11px; }
.principal-sign small { color: var(--muted); font-size: 9px; }
.section-values { padding-top: 92px; }
.section-heading h2 { font-size: 34px; }
.section-heading > p { margin-top: 11px; }
.center-heading { max-width: 580px; margin: 0 auto 40px; text-align: center; }
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 17px; }
.value-card { position: relative; min-height: 214px; padding: 27px; overflow: hidden; border: 1px solid #eff1f4; border-radius: 8px; background: #fff; }
.value-blue { background: linear-gradient(132deg, #eff4ff, #fff 67%); }
.value-yellow { background: linear-gradient(132deg, #fff7e4, #fff 67%); }
.value-green { background: linear-gradient(132deg, #eaf7ef, #fff 67%); }
.value-icon { display: inline-grid; width: 38px; height: 38px; place-items: center; border-radius: 10px; color: var(--blue); background: #e1eaff; font-size: 20px; }
.value-yellow .value-icon { color: #9a6814; background: #ffedc2; }
.value-green .value-icon { color: #2a8054; background: #d8f0e2; }
.value-number { position: absolute; top: 25px; right: 25px; color: #c4ccda; font-family: var(--font-heading); font-size: 11px; font-weight: 700; }
.value-card h3 { margin: 21px 0 8px; font-family: var(--font-heading); font-size: 16px; letter-spacing: -.025em; }
.value-card p { max-width: 300px; margin: 0; color: var(--muted); font-size: 11px; line-height: 1.8; }
.section-news { background: #fafbfd; }
.heading-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 34px; }
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.news-card { overflow: hidden; border: 1px solid #ecf0f4; border-radius: 7px; background: #fff; transition: transform .2s, box-shadow .2s; }
.news-card:hover { box-shadow: 0 15px 38px #20355211; transform: translateY(-4px); }
.news-image { position: relative; display: block; height: 194px; overflow: hidden; background: #e5edf4; }
.news-image img, .gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.news-card:hover .news-image img, .gallery-item:hover img { transform: scale(1.04); }
.news-category { position: absolute; bottom: 12px; left: 14px; padding: 6px 9px; border-radius: 3px; color: var(--blue); background: #fff; font-size: 8px; font-weight: 700; letter-spacing: .1em; }
.news-copy { padding: 18px 19px 20px; }
.news-date { color: #8994a7; font-size: 9px; }
.news-copy h3 { margin: 10px 0 8px; font-family: var(--font-heading); font-size: 15px; line-height: 1.5; }
.news-copy h3 a:hover { color: var(--blue); }
.news-copy p { display: -webkit-box; min-height: 40px; margin: 0 0 14px; overflow: hidden; color: var(--muted); font-size: 10px; line-height: 1.8; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.news-copy .text-link { font-size: 10px; }
.image-placeholder { display: grid; width: 100%; height: 100%; place-items: center; color: #fff; background: linear-gradient(142deg, #9cc5b4, #638d87); }
.image-placeholder > span { display: grid; width: 69px; height: 69px; place-items: center; border: 1px solid #ffffff80; border-radius: 50%; font-size: 35px; }
.image-news { background: linear-gradient(139deg, #9fc4d9, #597b9a); }
.image-news > span { color: #e4f0fb; }
.section-agenda { padding: 85px 0; background: #f4f7fb; }
.agenda-grid { display: grid; grid-template-columns: .75fr 1.25fr; gap: 70px; }
.agenda-intro { position: relative; overflow: hidden; }
.agenda-intro h2 { max-width: 360px; }
.agenda-intro > p { max-width: 325px; }
.agenda-intro .button { margin-top: 23px; min-height: 40px; font-size: 10px; }
.agenda-doodle { position: absolute; right: 23px; bottom: -47px; color: #e8edf4; font-size: 123px; }
.agenda-list { border-top: 1px solid #e4e9f0; }
.agenda-item { display: grid; grid-template-columns: 52px 1fr 19px; align-items: center; gap: 17px; min-height: 106px; border-bottom: 1px solid #e4e9f0; }
.agenda-date { display: flex; flex-direction: column; align-items: center; justify-content: center; width: 49px; height: 54px; border: 1px solid #e6ebf2; border-radius: 5px; background: #fff; }
.agenda-date span { color: #778399; font-size: 8px; font-weight: 700; }
.agenda-date strong { margin-top: 2px; color: var(--blue); font-family: var(--font-heading); font-size: 21px; line-height: 1; }
.agenda-details h3 { margin: 0; font-family: var(--font-heading); font-size: 13px; }
.agenda-details p { display: -webkit-box; max-width: 490px; margin: 5px 0; overflow: hidden; color: var(--muted); font-size: 10px; line-height: 1.5; -webkit-box-orient: vertical; -webkit-line-clamp: 1; }
.agenda-details small { color: #8d98a8; font-size: 9px; }
.agenda-arrow { color: #a1aec1; font-size: 16px; }
.section-gallery { padding: 91px 0; }
.gallery-mark { color: #f0c368; font-size: 31px; }
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 171px; gap: 13px; }
.gallery-item { position: relative; margin: 0; overflow: hidden; border-radius: 5px; background: #ecf1f5; }
.gallery-item-1 { grid-column: span 2; grid-row: span 2; }
.gallery-item-4 { grid-column: span 2; }
.gallery-item figcaption { position: absolute; right: 0; bottom: 0; left: 0; padding: 25px 13px 11px; color: #fff; background: linear-gradient(0deg, #10233dad, transparent); font-size: 10px; font-weight: 600; opacity: 0; transition: opacity .2s; }
.gallery-item:hover figcaption { opacity: 1; }
.gallery-item .image-placeholder { background: linear-gradient(135deg, #b4d3c4, #739889); }
.gallery-item-2 .image-placeholder { background: linear-gradient(135deg, #bdd6e4, #708eaa); }
.gallery-item-3 .image-placeholder { background: linear-gradient(135deg, #efdba8, #c99b56); }
.gallery-item-4 .image-placeholder { background: linear-gradient(135deg, #d7c6db, #917997); }
.gallery-empty { grid-column: 1 / -1; display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 210px; border: 1px dashed #dbe2ec; border-radius: 7px; color: var(--muted); background: #fbfcfe; }
.gallery-empty > span { color: #95a5bd; font-size: 29px; }
.gallery-empty strong { margin-top: 8px; color: var(--ink); font-family: var(--font-heading); font-size: 13px; }
.gallery-empty p { margin: 6px 0 10px; font-size: 10px; }
.gallery-empty .text-link { font-size: 10px; }
.section-ppdb { padding: 16px 0 93px; }
.ppdb-panel { position: relative; display: flex; align-items: center; justify-content: space-between; min-height: 325px; padding: 53px 72px; overflow: hidden; border-radius: 10px; color: #fff; background: #2f59dc; }
.ppdb-panel:before { position: absolute; top: -186px; right: 98px; width: 610px; height: 610px; border: 1px solid #ffffff20; border-radius: 50%; content: ''; }
.ppdb-panel:after { position: absolute; top: -111px; right: 173px; width: 460px; height: 460px; border: 1px solid #ffffff18; border-radius: 50%; content: ''; }
.ppdb-decoration { position: absolute; right: 46%; bottom: 15px; color: #ffffff15; font-size: 150px; }
.ppdb-copy { position: relative; z-index: 2; max-width: 545px; }
.ppdb-copy .eyebrow { color: #d4e0ff; }
.ppdb-copy h2 { margin: 0; font-family: var(--font-heading); font-size: 36px; font-weight: 800; letter-spacing: -.04em; line-height: 1.18; }
.ppdb-copy p { max-width: 465px; margin: 13px 0 18px; color: #e0e7ff; font-size: 11px; line-height: 1.75; }
.ppdb-copy .button { min-height: 40px; font-size: 10px; }
.ppdb-art { position: relative; z-index: 1; display: grid; width: 225px; height: 225px; flex: 0 0 225px; place-items: center; border: 1px solid #ffffff3d; border-radius: 50%; background: #ffffff12; }
.ppdb-big-letter { color: #fff; font-family: var(--font-heading); font-size: 99px; font-weight: 800; letter-spacing: -.1em; text-shadow: 8px 10px 0 #172b4d22; transform: rotate(-8deg); }
.ppdb-orbit { position: absolute; inset: 17px; border: 1px dashed #ffffff50; border-radius: 50%; }
.ppdb-sparkle { position: absolute; top: 29px; right: 17px; color: #ffde96; font-size: 30px; }
.ppdb-school { position: absolute; bottom: 22px; left: 20px; color: #ffdf9b; font-size: 31px; transform: rotate(-20deg); }
.section-contact { padding: 76px 0; background: #fafbfd; }
.contact-grid { display: grid; grid-template-columns: 1fr .95fr; gap: 110px; }
.contact-intro h2 { max-width: 400px; }
.contact-intro > p { max-width: 380px; }
.contact-phone { display: inline-flex; align-items: center; gap: 11px; margin-top: 24px; color: var(--blue); font-size: 18px; }
.contact-phone span { font-family: var(--font-heading); font-size: 14px; font-weight: 700; }
.contact-details { padding-top: 6px; }
.contact-row { display: flex; align-items: flex-start; gap: 15px; margin-bottom: 20px; }
.contact-icon { display: grid; width: 34px; height: 34px; flex: 0 0 34px; place-items: center; border-radius: 8px; color: var(--blue); background: var(--pale-blue); font-size: 14px; }
.contact-row > span:last-child { display: flex; flex-direction: column; gap: 5px; padding-top: 1px; }
.contact-row small { color: #8a95a7; font-size: 8px; font-weight: 700; letter-spacing: .12em; }
.contact-row strong { color: var(--ink-soft); font-size: 11px; font-weight: 600; line-height: 1.6; }
.social-links { display: flex; gap: 17px; margin: 22px 0 0 49px; }
.social-links a { color: var(--blue); font-size: 10px; font-weight: 700; }
.site-footer { color: #dfe7f4; background: #1a2d4c; }
.footer-main { display: grid; grid-template-columns: 1.45fr .65fr .75fr .75fr; gap: 42px; padding-top: 52px; padding-bottom: 39px; }
.footer-brand .brand-copy strong { color: #fff; }
.footer-brand .brand-copy small { color: #aebbd0; }
.footer-brand > p { max-width: 290px; margin: 15px 0 0; color: #acbad0; font-size: 10px; line-height: 1.8; }
.footer-nav, .footer-admin { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.footer-nav strong { margin-bottom: 2px; color: #fff; font-family: var(--font-heading); font-size: 11px; }
.footer-nav a, .footer-admin span { color: #afbdd1; font-size: 10px; }
.footer-nav a:hover, .footer-admin a:hover { color: #fff; }
.footer-admin a { color: #fff; font-size: 10px; font-weight: 700; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding-top: 17px; padding-bottom: 18px; border-top: 1px solid #ffffff1a; color: #aab8ce; font-size: 9px; }
.footer-heart { color: #ef8989; }
.article-shell { min-height: 60vh; padding-top: 45px; padding-bottom: 90px; }
.back-link { display: inline-block; margin-bottom: 35px; color: var(--blue); font-size: 11px; font-weight: 700; }
.article-content { max-width: 760px; margin: 0 auto; }
.article-content h1 { margin: 0; font-family: var(--font-heading); font-size: clamp(34px, 5vw, 52px); letter-spacing: -.045em; line-height: 1.15; }
.article-lead { margin: 15px 0 25px; color: var(--muted); font-size: 16px; line-height: 1.7; }
.article-image { display: block; width: 100%; max-height: 470px; margin: 25px 0; border-radius: 8px; object-fit: cover; }
.article-body { color: #465670; font-size: 14px; line-height: 2; }
.empty-public { grid-column: 1 / -1; padding: 45px 20px; border: 1px dashed #dce3ec; border-radius: 7px; color: var(--muted); text-align: center; }

/* Admin login and dashboard */
.admin-body { min-height: 100vh; background: #f7f9fc; }
.admin-sidebar { position: fixed; z-index: 20; inset: 0 auto 0 0; display: flex; flex-direction: column; width: 244px; padding: 27px 17px 19px; border-right: 1px solid #edf0f5; background: #fff; }
.admin-sidebar .brand-mark { margin: 0 0 43px 6px; color: var(--ink); font-family: var(--font-heading); font-size: 13px; font-weight: 800; }
.sidebar-label { margin: 0 0 11px 10px; color: #9aa4b4; font-size: 8px; font-weight: 700; letter-spacing: .15em; }
.sidebar-link { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 42px; margin: 2px 0; padding: 0 11px; border: 0; border-radius: 5px; color: #65738a; background: transparent; cursor: pointer; font-size: 11px; font-weight: 600; text-align: left; }
.sidebar-link > span { width: 18px; color: #8592a6; font-size: 15px; text-align: center; }
.sidebar-link:hover, .sidebar-link.active { color: var(--blue); background: #eff4ff; }
.sidebar-link.active > span, .sidebar-link:hover > span { color: var(--blue); }
.sidebar-bottom { margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line); }
.sidebar-bottom form { margin: 0; }
.sidebar-button { font-family: var(--font-body); }
.admin-main { min-height: 100vh; margin-left: 244px; }
.admin-topbar { position: sticky; z-index: 10; top: 0; display: flex; align-items: center; justify-content: space-between; height: 64px; padding: 0 36px; border-bottom: 1px solid #edf0f5; background: #fff; color: #738096; font-size: 11px; }
.admin-user { display: inline-flex; align-items: center; gap: 10px; color: var(--ink-soft); font-size: 10px; font-weight: 700; }
.avatar { display: grid; width: 29px; height: 29px; place-items: center; border-radius: 50%; color: var(--blue); background: #eaf0ff; font-size: 11px; }
.admin-content { max-width: 1190px; margin: 0 auto; padding: 39px 36px 65px; }
.admin-content > h1, .admin-page-heading h1 { margin: 0; font-family: var(--font-heading); font-size: 27px; font-weight: 800; letter-spacing: -.04em; }
.admin-content > .muted, .admin-page-heading .muted { margin: 7px 0 25px; font-size: 11px; }
.admin-content > .eyebrow, .admin-page-heading .eyebrow { margin-bottom: 9px; }
.admin-stats { grid-template-columns: repeat(3, 1fr); gap: 15px; margin: 28px 0 24px; }
.admin-stat-card { display: flex; flex-direction: column; align-items: flex-start; min-height: 155px; padding: 18px; border: 1px solid #e9edf3; border-radius: 7px; background: #fff; transition: box-shadow .2s, transform .2s; }
.admin-stat-card:hover { box-shadow: 0 10px 30px #1c376010; transform: translateY(-2px); }
.stat-icon { display: grid; width: 33px; height: 33px; place-items: center; border-radius: 8px; font-size: 15px; }
.icon-blue { color: #315ee8; background: #eaf0ff; }
.icon-gold { color: #a46e0b; background: #fff4da; }
.icon-green { color: #36825a; background: #e1f3e8; }
.admin-stat-card .stat-number { margin-top: 9px; color: var(--ink); font-size: 24px; }
.admin-stat-card .muted { margin-top: 2px; font-size: 10px; }
.stat-link { margin-top: auto; padding-top: 12px; color: var(--blue); font-size: 9px; font-weight: 700; }
.admin-panel { padding: 22px; border: 1px solid #e9edf3; border-radius: 7px; background: #fff; }
.panel-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 18px; }
.panel-heading h2, .settings-section h2 { margin: 0; font-family: var(--font-heading); font-size: 15px; }
.panel-heading p, .settings-section p { margin: 5px 0 0; font-size: 10px; }
.table-wrap { width: 100%; overflow-x: auto; }
table { width: 100%; border-collapse: collapse; text-align: left; }
th { padding: 11px 12px; border-bottom: 1px solid #edf0f5; color: #8490a2; font-size: 9px; font-weight: 700; white-space: nowrap; }
td { padding: 13px 12px; border-bottom: 1px solid #f0f2f6; color: #647187; font-size: 10px; white-space: nowrap; }
tbody tr:last-child td { border-bottom: 0; }
.table-title { max-width: 370px; overflow: hidden; color: var(--ink-soft); font-size: 11px; font-weight: 700; text-overflow: ellipsis; }
.status-pill { display: inline-flex; padding: 5px 8px; border-radius: 12px; font-size: 8px; font-weight: 700; }
.status-live { color: #32835c; background: #e6f6ec; }
.status-draft { color: #9a721c; background: #fff5da; }
.admin-quick-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 13px; margin-top: 17px; }
.admin-quick-links a { display: grid; grid-template-columns: 30px 1fr; align-items: center; padding: 15px; border: 1px solid #e9edf3; border-radius: 6px; background: #fff; }
.admin-quick-links a > span { grid-row: span 2; color: var(--blue); font-size: 22px; }
.admin-quick-links strong { color: var(--ink-soft); font-size: 10px; }
.admin-quick-links small { margin-top: 4px; color: var(--muted); font-size: 9px; }
.admin-page-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 23px; }
.admin-page-heading .muted { margin-bottom: 0; }
.content-cell { display: flex; align-items: center; gap: 10px; color: var(--ink-soft); font-size: 10px; font-weight: 700; }
.content-cell img, .content-thumb { display: grid; width: 38px; height: 34px; flex: 0 0 38px; place-items: center; border-radius: 4px; object-fit: cover; color: var(--blue); background: #eaf0ff; }
.row-actions { display: flex; align-items: center; gap: 13px; }
.row-actions .text-link { font-size: 10px; }
.row-actions form { margin: 0; }
.delete-button { padding: 0; border: 0; color: #d45d5d; background: transparent; cursor: pointer; font-size: 10px; }
.empty-state { padding: 42px 20px; color: var(--muted); font-size: 11px; line-height: 1.7; text-align: center; }
.editor-form { display: flex; flex-direction: column; gap: 18px; max-width: 880px; }
.editor-form label { display: flex; flex-direction: column; gap: 7px; color: #4e5c72; font-size: 10px; font-weight: 700; }
.editor-form label .muted { display: inline; font-size: 9px; font-weight: 400; }
.editor-form input:not([type=checkbox]), .editor-form textarea { width: 100%; min-height: 41px; padding: 10px 12px; border: 1px solid #dfe5ed; border-radius: 5px; outline: none; color: var(--ink-soft); background: #fff; font-size: 11px; font-weight: 400; transition: border .2s, box-shadow .2s; }
.editor-form input:focus, .editor-form textarea:focus { border-color: #8ba7f4; box-shadow: 0 0 0 3px #315ee815; }
.password-input-wrap { position: relative; width: 100%; }
.editor-form .password-input-wrap input { padding-right: 46px; }
.password-visibility-toggle { position: absolute; top: 50%; right: 5px; display: grid; width: 34px; height: 34px; padding: 0; transform: translateY(-50%); place-items: center; border: 0; border-radius: 4px; color: #68758a; background: transparent; cursor: pointer; }
.password-visibility-toggle:hover { color: var(--blue); background: #f2f5fc; }
.password-visibility-toggle:focus-visible { outline: 2px solid #8ba7f4; outline-offset: 1px; }
.password-visibility-toggle svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.7; }
.password-visibility-toggle svg[hidden] { display: none; }
.editor-form input[type=file] { padding: 9px; }
.editor-form textarea { min-height: auto; resize: vertical; line-height: 1.7; }
.form-two-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.field-wide { grid-column: 1 / -1; }
.checkbox-label { display: inline-flex !important; flex-direction: row !important; align-items: center; gap: 9px !important; cursor: pointer; }
.checkbox-label input { accent-color: var(--blue); }
.form-image-preview { width: min(310px, 100%); max-height: 180px; border-radius: 5px; object-fit: cover; }
.form-actions { display: flex; justify-content: flex-end; gap: 10px; padding-top: 8px; }
.back-link { margin-bottom: 19px; font-size: 10px; }
.settings-section { padding-top: 4px; }
.settings-section:not(:first-of-type) { padding-top: 22px; border-top: 1px solid var(--line); }
.admin-settings-content { max-width: 1010px; }
.notice { margin: 15px 0; padding: 12px 14px; border: 1px solid transparent; border-radius: 5px; font-size: 11px; line-height: 1.6; }
.notice-success { border-color: #ccebd8; color: #28774d; background: #effaf3; }
.notice-error { border-color: #f0d2d2; color: #a53d3d; background: #fff4f4; }
.admin-login-page { display: grid; min-height: 100vh; place-items: center; padding: 24px; background: radial-gradient(ellipse at 82% 10%, #eaf0ff 0, transparent 36%), #f6f8fc; }
.login-card { width: min(435px, 100%); padding: 35px; border: 1px solid #e8edf4; border-radius: 9px; background: #fff; box-shadow: 0 18px 60px #1a33510a; }
.login-card .brand-mark { margin-bottom: 36px; color: var(--ink); font-family: var(--font-heading); font-size: 12px; font-weight: 800; }
.login-card .eyebrow { margin-bottom: 9px; }
.login-card h1 { margin: 0; font-family: var(--font-heading); font-size: 25px; font-weight: 800; letter-spacing: -.04em; }
.login-card > .muted { margin: 9px 0 22px; font-size: 11px; line-height: 1.7; }
.form-stack { display: flex; flex-direction: column; gap: 15px; }
.form-stack label { display: flex; flex-direction: column; gap: 7px; color: #4e5c72; font-size: 10px; font-weight: 700; }
.form-stack input { width: 100%; height: 42px; padding: 0 12px; border: 1px solid #dfe5ed; border-radius: 5px; outline: 0; font-size: 11px; }
.form-stack input:focus { border-color: #8ba7f4; box-shadow: 0 0 0 3px #315ee815; }
.login-footnote { margin: 19px 0 0; color: #8490a2; font-size: 9px; line-height: 1.7; }
.login-footnote code, .login-card code { color: var(--blue); }
.login-back { display: block; margin-top: 19px; color: var(--blue); font-size: 10px; font-weight: 700; }

@media (max-width: 900px) {
    .container { width: min(100% - 40px, 740px); }
    .main-nav { gap: 16px; }
    .main-nav > a:not(.button) { font-size: 10px; }
    .hero { min-height: 515px; }
    .hero-inner { min-height: 515px; }
    .hero-copy { max-width: 495px; }
    .hero-badge { width: 150px; padding: 15px; }
    .stats-wrap { grid-template-columns: 1fr; gap: 29px; }
    .stats-grid { max-width: 630px; }
    .about-grid { gap: 45px; }
    .agenda-grid { gap: 35px; }
    .ppdb-panel { padding-right: 43px; padding-left: 43px; }
    .ppdb-art { width: 175px; height: 175px; flex-basis: 175px; }
    .ppdb-big-letter { font-size: 80px; }
    .contact-grid { gap: 55px; }
    .footer-main { grid-template-columns: 1.2fr .7fr .8fr; gap: 28px; }
    .footer-admin { grid-column: 2 / -1; }
    .admin-sidebar { width: 205px; }
    .admin-main { margin-left: 205px; }
    .admin-content { padding-right: 25px; padding-left: 25px; }
}
@media (max-width: 680px) {
    .container { width: calc(100% - 36px); }
    .topbar { height: auto; min-height: 32px; }
    .topbar-inner { gap: 8px; min-height: 32px; }
    .topbar-inner > div { gap: 10px; }
    .topbar-inner > span, .topbar-inner > div { font-size: 8px; }
    .topbar-inner > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
    .topbar-inner > div > span { display: none; }
    .site-header { height: 67px; }
    .brand-icon { width: 35px; height: 35px; flex-basis: 35px; font-size: 18px; }
    .brand-copy strong { font-size: 11px; }
    .brand-copy small { max-width: 220px; font-size: 8px; }
    .menu-toggle { display: flex; flex-direction: column; justify-content: center; gap: 5px; width: 39px; height: 39px; padding: 9px; border: 1px solid var(--line); border-radius: 6px; background: #fff; }
    .menu-toggle span { width: 100%; height: 2px; border-radius: 2px; background: var(--ink); }
    .main-nav { position: absolute; top: 66px; right: 0; left: 0; display: none; height: auto; padding: 12px 18px 18px; border-bottom: 1px solid var(--line); background: #fff; box-shadow: 0 15px 24px #2035520d; }
    .main-nav.is-open { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
    .main-nav > a:not(.button) { padding: 12px 4px; border-bottom: 1px solid #f1f3f6; font-size: 12px; }
    .nav-cta { margin: 13px 0 0; }
    .hero { min-height: 545px; background-position: 59% center; }
    .hero-shade { background: linear-gradient(90deg, #142848ef 0%, #192d4ddc 60%, #20385780 100%), linear-gradient(0deg, #1124404e, transparent); }
    .hero-inner { min-height: 545px; align-items: flex-start; padding-top: 74px; }
    .hero-copy { max-width: 100%; }
    .hero-kicker { margin-bottom: 20px; font-size: 8px; }
    .hero h1 { max-width: 440px; font-size: clamp(42px, 11vw, 57px); }
    .hero-copy > p { max-width: 400px; font-size: 12px; }
    .hero-actions { flex-wrap: wrap; gap: 14px 18px; margin-top: 23px; }
    .hero-actions .button { min-height: 43px; padding: 0 14px; font-size: 11px; }
    .hero-video-link { font-size: 9px; }
    .hero-note { margin-top: 34px; }
    .hero-badge { position: absolute; right: 12px; bottom: 50px; width: 128px; padding: 12px; }
    .hero-badge strong { font-size: 11px; }
    .badge-star { margin-bottom: 7px; font-size: 19px; }
    .scroll-cue { display: none; }
    .welcome-inner { min-height: 58px; gap: 9px; }
    .welcome-inner p { font-size: 10px; }
    .welcome-year { max-width: 86px; font-size: 7px; text-align: right; }
    .section { padding: 69px 0; }
    .section-stats { padding: 62px 0; }
    .stats-wrap { gap: 24px; }
    .stats-intro h2, .section-heading h2, .agenda-intro h2, .contact-intro h2 { font-size: 27px; }
    .stats-intro p, .section-heading > p, .agenda-intro > p, .contact-intro > p { font-size: 11px; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); row-gap: 20px; }
    .stat-item { min-height: 74px; padding-left: 13px; }
    .stat-item:nth-child(odd) { border-left: 0; }
    .stat-number { font-size: 27px; }
    .about-grid { grid-template-columns: 1fr; gap: 22px; }
    .about-art { min-height: 303px; max-width: 400px; width: 100%; margin: 0 auto; }
    .about-image-placeholder { left: 9%; width: 74%; height: 280px; }
    .about-illustration { font-size: 106px; }
    .about-sticker { top: 36px; right: 5%; width: 69px; height: 69px; font-size: 9px; }
    .about-sun { top: 43px; right: 32px; font-size: 34px; }
    .about-copy h2 { font-size: 28px; }
    .about-copy > p { font-size: 11px; }
    .center-heading { margin-bottom: 28px; }
    .value-grid { grid-template-columns: 1fr; gap: 11px; }
    .value-card { min-height: 173px; padding: 21px; }
    .value-card h3 { margin-top: 15px; font-size: 14px; }
    .heading-row { align-items: flex-start; margin-bottom: 24px; }
    .heading-row > .text-link { margin-top: 30px; white-space: nowrap; }
    .news-grid { grid-template-columns: 1fr; gap: 13px; }
    .news-image { height: 185px; }
    .news-copy { padding: 16px; }
    .news-copy h3 { font-size: 14px; }
    .agenda-grid { grid-template-columns: 1fr; gap: 25px; }
    .agenda-intro .button { margin-top: 15px; }
    .agenda-doodle { right: 11px; bottom: -47px; font-size: 88px; }
    .agenda-item { grid-template-columns: 45px 1fr 12px; gap: 12px; min-height: 97px; }
    .agenda-date { width: 43px; height: 49px; }
    .agenda-details h3 { font-size: 11px; }
    .agenda-details p { font-size: 9px; }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 145px; gap: 9px; }
    .gallery-item-1 { grid-column: span 2; grid-row: span 1; }
    .gallery-item-4 { grid-column: span 2; }
    .gallery-item figcaption { opacity: 1; }
    .section-ppdb { padding: 0 0 68px; }
    .ppdb-panel { min-height: 385px; padding: 37px 25px; align-items: flex-start; }
    .ppdb-copy { max-width: 100%; }
    .ppdb-copy h2 { font-size: 29px; }
    .ppdb-copy p { max-width: 100%; font-size: 10px; }
    .ppdb-art { position: absolute; right: 21px; bottom: 18px; width: 126px; height: 126px; }
    .ppdb-big-letter { font-size: 58px; }
    .ppdb-orbit { inset: 9px; }
    .ppdb-sparkle { top: 14px; right: 7px; font-size: 20px; }
    .ppdb-school { bottom: 11px; left: 10px; font-size: 22px; }
    .ppdb-decoration { right: 29%; bottom: 8px; font-size: 95px; }
    .contact-grid { grid-template-columns: 1fr; gap: 30px; }
    .contact-row { margin-bottom: 16px; }
    .social-links { flex-wrap: wrap; margin-left: 0; }
    .footer-main { grid-template-columns: 1fr 1fr; gap: 28px 18px; padding-top: 37px; }
    .footer-brand { grid-column: 1 / -1; }
    .footer-admin { grid-column: auto; }
    .footer-bottom { flex-direction: column; gap: 8px; font-size: 8px; }
    .article-shell { padding-top: 29px; padding-bottom: 58px; }
    .article-content h1 { font-size: 34px; }
    .article-lead { font-size: 13px; }
    .article-body { font-size: 12px; }
    .admin-sidebar { position: static; display: flex; flex-direction: row; flex-wrap: wrap; width: 100%; height: auto; padding: 12px 17px 9px; border-right: 0; border-bottom: 1px solid var(--line); }
    .admin-sidebar .brand-mark { width: 100%; margin: 0 0 8px; }
    .admin-sidebar .sidebar-label { display: none; }
    .admin-sidebar > .sidebar-link { display: flex; width: auto; min-height: 34px; margin: 1px 3px 2px 0; padding: 0 8px; font-size: 9px; }
    .admin-sidebar > .sidebar-link > span { width: auto; font-size: 12px; }
    .admin-sidebar .sidebar-bottom { display: flex; width: 100%; margin-top: 5px; padding-top: 5px; border-top: 1px solid var(--line); }
    .admin-sidebar .sidebar-bottom .sidebar-link { width: auto; min-height: 32px; margin-right: 7px; padding: 0 8px; font-size: 9px; }
    .admin-sidebar .sidebar-bottom form { display: flex; }
    .admin-main { margin-left: 0; }
    .admin-topbar { height: 53px; padding: 0 18px; }
    .admin-content { padding: 27px 18px 45px; }
    .admin-content > h1, .admin-page-heading h1 { font-size: 23px; }
    .admin-stats { grid-template-columns: 1fr; gap: 9px; }
    .admin-stat-card { position: relative; min-height: 113px; padding: 13px; }
    .admin-stat-card .stat-icon { position: absolute; top: 15px; right: 14px; }
    .admin-stat-card .stat-number { margin-top: 3px; }
    .stat-link { padding-top: 6px; }
    .panel-heading { align-items: flex-start; }
    .admin-panel { padding: 15px; }
    .admin-quick-links { grid-template-columns: 1fr; gap: 8px; }
    .admin-quick-links a { padding: 11px; }
    .admin-page-heading { align-items: flex-start; flex-direction: column; gap: 11px; }
    .form-two-columns { grid-template-columns: 1fr; }
    .field-wide { grid-column: auto; }
    .admin-settings-content .form-two-columns { gap: 13px; }
    .login-card { padding: 27px 23px; }
}
