:root {
    --forest: #175c49;
    --forest-deep: #0c3e33;
    --forest-soft: #e8f3ef;
    --gold: #b88a2d;
    --gold-soft: #f5eedf;
    --ink: #202720;
    --muted: #667169;
    --line: #d9dfda;
    --page: #f7f8f6;
    --surface: #ffffff;
    --surface-2: #f0f4f1;
    --nav: rgba(255, 255, 255, .95);
    --shadow: 0 12px 30px rgba(25, 47, 39, .08);
}

[data-theme="dark"] {
    --forest: #54b89b;
    --forest-deep: #b6ead9;
    --forest-soft: #18372f;
    --gold: #dfbd70;
    --gold-soft: #3a3322;
    --ink: #f2f5f3;
    --muted: #b8c3bc;
    --line: #34473f;
    --page: #101713;
    --surface: #17221d;
    --surface-2: #1e2d26;
    --nav: rgba(16, 23, 19, .95);
    --shadow: 0 14px 32px rgba(0, 0, 0, .24);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 84px;
}

body {
    margin: 0;
    overflow-x: hidden;
    background: var(--page);
    color: var(--ink);
    font-family: "Tajawal", Tahoma, Arial, sans-serif;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

button:focus-visible,
a:focus-visible {
    outline: 3px solid var(--gold);
    outline-offset: 3px;
}

.public-nav {
    position: fixed;
    inset: 0 0 auto;
    z-index: 50;
    border-bottom: 1px solid var(--line);
    background: var(--nav);
    backdrop-filter: blur(14px);
}

.nav-inner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 76px;
    gap: 24px;
}

.brand {
    display: inline-flex;
    min-width: 0;
    align-items: center;
    gap: 12px;
    color: var(--ink);
}

.brand img,
.brand-mark {
    display: grid;
    width: 50px;
    height: 50px;
    flex: 0 0 50px;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    color: var(--forest);
    object-fit: contain;
    padding: 4px;
}

.brand strong {
    display: block;
    max-width: 270px;
    overflow: hidden;
    color: var(--ink);
    font-size: 1rem;
    font-weight: 900;
    line-height: 1.25;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.brand small {
    display: block;
    margin-top: 3px;
    color: var(--muted);
    font-size: .76rem;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 5px;
}

.nav-links > a:not(.signin) {
    border-radius: 6px;
    color: var(--ink);
    font-size: .87rem;
    font-weight: 700;
    padding: 9px 10px;
}

.nav-links > a:not(.signin):hover,
.nav-links > a:not(.signin):focus-visible {
    background: var(--forest-soft);
    color: var(--forest-deep);
}

.signin,
.btn-main,
.btn-ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    gap: 8px;
    border-radius: 6px;
    font-weight: 800;
    padding: 10px 16px;
}

.signin,
.btn-main {
    background: var(--forest);
    color: #fff;
}

.signin:hover,
.btn-main:hover {
    background: var(--forest-deep);
    color: #fff;
}

.theme-pill,
.mobile-menu-toggle {
    display: grid;
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: var(--surface);
    color: var(--ink);
    cursor: pointer;
}

.theme-pill:hover,
.mobile-menu-toggle:hover {
    border-color: var(--forest);
    color: var(--forest);
}

.mobile-menu-toggle {
    display: none;
}

.school-hero {
    --hero-glow-x: 72%;
    --hero-glow-y: 42%;
    position: relative;
    display: flex;
    min-height: min(780px, 88vh);
    align-items: flex-end;
    overflow: hidden;
    background: #173d33;
    padding: 150px 0 82px;
}

.school-hero::before,
.school-hero::after {
    position: absolute;
    z-index: 1;
    content: "";
    pointer-events: none;
}

.school-hero::before {
    inset: 0;
    background:
        radial-gradient(520px circle at var(--hero-glow-x) var(--hero-glow-y), rgba(244, 208, 126, .18), transparent 64%),
        radial-gradient(420px circle at calc(var(--hero-glow-x) - 14%) calc(var(--hero-glow-y) + 15%), rgba(68, 184, 147, .14), transparent 68%);
    mix-blend-mode: screen;
    transition: opacity .3s ease;
}

.school-hero::after {
    inset: 0;
    opacity: .16;
    background-image: radial-gradient(circle at 1px 1px, rgba(255, 255, 255, .24) 1px, transparent 0);
    background-size: 34px 34px;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 22%, #000 100%);
    mask-image: linear-gradient(90deg, transparent 0, #000 22%, #000 100%);
}

.hero-slider,
.hero-slide,
.hero-overlay {
    position: absolute;
    inset: 0;
}

.hero-slide {
    background-position: center;
    background-size: cover;
    opacity: 0;
    transform: scale(1.015);
}

.hero-slider.slides-1 .hero-slide {
    opacity: 1;
}

.hero-slider.slides-2 .hero-slide {
    animation: heroFadeTwo 12s infinite;
}

.hero-slider.slides-3 .hero-slide {
    animation: heroFadeThree 18s infinite;
}

.hero-slider.slides-4 .hero-slide {
    animation: heroFadeFour 24s infinite;
}

.hero-slider .hero-slide-1 { animation-delay: 0s; }
.hero-slider .hero-slide-2 { animation-delay: 6s; }
.hero-slider .hero-slide-3 { animation-delay: 12s; }
.hero-slider .hero-slide-4 { animation-delay: 18s; }

.placeholder-hero {
    opacity: 1;
    animation: none;
    background-color: #174d3f;
    background-image:
        linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
    background-size: 42px 42px;
}

.hero-overlay {
    background: linear-gradient(90deg, rgba(9, 30, 25, .9) 0%, rgba(9, 30, 25, .68) 54%, rgba(9, 30, 25, .46) 100%);
}

.hero-brand-mark {
    position: absolute;
    z-index: 1;
    left: max(5vw, 48px);
    top: 54%;
    width: min(31vw, 360px);
    height: min(31vw, 360px);
    transform: translateY(-50%);
    isolation: isolate;
}

.hero-brand-mark::before,
.hero-brand-mark::after,
.hero-brand-glow {
    position: absolute;
    inset: 50%;
    border-radius: 50%;
    content: "";
    pointer-events: none;
    transform: translate(-50%, -50%);
}

.hero-brand-mark::before {
    z-index: -2;
    width: 112%;
    height: 112%;
    border: 1px solid rgba(240, 209, 139, .38);
    background: radial-gradient(circle, rgba(244, 208, 126, .18), rgba(22, 83, 67, .1) 58%, transparent 72%);
    box-shadow: 0 0 72px rgba(235, 196, 103, .2);
    animation: heroLogoAura 5.5s ease-in-out infinite;
}

.hero-brand-mark::after {
    z-index: -1;
    width: 92%;
    height: 92%;
    border: 1px solid rgba(255, 255, 255, .16);
    background: rgba(255, 255, 255, .055);
    box-shadow: inset 0 0 45px rgba(255, 255, 255, .055);
}

.hero-brand-glow {
    z-index: -1;
    width: 76%;
    height: 76%;
    background: rgba(237, 206, 135, .14);
    filter: blur(24px);
}

.hero-watermark {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    opacity: .92;
    object-fit: contain;
    filter: contrast(1.08) saturate(1.05) drop-shadow(0 20px 34px rgba(0, 0, 0, .28));
    transform: scale(.82);
    transition: filter .35s ease, transform .35s ease;
}

.hero-brand-mark:hover .hero-watermark {
    filter: contrast(1.12) saturate(1.12) drop-shadow(0 24px 40px rgba(0, 0, 0, .35));
    transform: scale(.86);
}

.hero-content-wrap {
    position: relative;
    z-index: 2;
}

.hero-content {
    max-width: 730px;
    color: #fff;
}

.eyebrow,
.section-mini,
.section-head > span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid rgba(255, 255, 255, .24);
    border-radius: 6px;
    background: rgba(255, 255, 255, .1);
    color: #fff;
    font-size: .78rem;
    font-weight: 800;
    padding: 7px 10px;
}

.hero-content h1 {
    max-width: 760px;
    margin: 20px 0 10px;
    font-size: 4.4rem;
    font-weight: 900;
    line-height: 1.06;
    letter-spacing: 0;
}

.hero-content h2 {
    margin: 0 0 12px;
    color: #f0d18b;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.5;
}

.hero-content p {
    max-width: 650px;
    margin: 0 0 28px;
    color: rgba(255, 255, 255, .86);
    font-size: 1.08rem;
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.hero-actions a {
    position: relative;
    overflow: hidden;
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease, background .22s ease;
}

.hero-actions a::after {
    position: absolute;
    top: -120%;
    right: -48%;
    width: 34%;
    height: 330%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .4), transparent);
    content: "";
    pointer-events: none;
    transform: rotate(24deg);
    transition: right .55s ease;
}

.hero-actions a:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 30px rgba(4, 24, 18, .28);
}

.hero-actions a:hover::after {
    right: 118%;
}

.btn-main {
    background: #f4f0e7;
    color: #173d33;
}

.btn-main:hover {
    background: #fff;
    color: #0c3e33;
}

.btn-ghost {
    border: 1px solid rgba(255, 255, 255, .42);
    background: rgba(0, 0, 0, .12);
    color: #fff;
}

.btn-ghost:hover {
    border-color: #fff;
    background: rgba(255, 255, 255, .12);
    color: #fff;
}

.section-wrap {
    padding: 82px 0;
}

.section-head {
    max-width: 720px;
    margin-bottom: 30px;
}

.section-head.centered {
    margin-inline: auto;
    text-align: center;
}

.section-head > span,
.section-mini {
    border-color: #cde1d8;
    background: var(--forest-soft);
    color: var(--forest-deep);
}

.section-head h2,
.video-layout h2 {
    margin: 12px 0 10px;
    color: var(--ink);
    font-size: 2.7rem;
    font-weight: 900;
    line-height: 1.2;
    letter-spacing: 0;
}

.section-head p,
.video-layout p {
    margin: 0;
    color: var(--muted);
    font-size: 1rem;
    line-height: 1.75;
}

.activities-band {
    border-bottom: 1px solid var(--line);
    background: var(--surface);
}

.activity-cards,
.notice-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    gap: 14px;
}

.activity-card,
.activity-empty,
.notice-card {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
    box-shadow: var(--shadow);
    transition: transform .24s ease, box-shadow .24s ease, border-color .24s ease;
}

.activity-card:hover,
.activity-empty:hover,
.notice-card:hover {
    border-color: rgba(15, 118, 110, .38);
    box-shadow: 0 20px 48px rgba(15, 43, 36, .13);
    transform: translateY(-5px);
}

.activity-card {
    display: grid;
    grid-template-columns: 70px 1fr;
    gap: 16px;
    padding: 18px;
}

.activity-empty,
.gallery-empty {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 24px;
}

.activity-empty {
    grid-column: 1 / -1;
    max-width: 720px;
}

.empty-icon {
    display: grid;
    width: 52px;
    height: 52px;
    flex: 0 0 52px;
    place-items: center;
    border: 1px solid #cde1d8;
    border-radius: 8px;
    background: var(--forest-soft);
    color: var(--forest);
    font-size: 1.15rem;
}

.date-chip {
    display: flex;
    height: 70px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-top: 3px solid var(--gold);
    border-radius: 6px;
    background: var(--gold-soft);
    color: #6f531a;
    font-size: .7rem;
    font-weight: 800;
}

.date-chip strong {
    font-size: 1.45rem;
    line-height: 1.15;
}

.activity-card small,
.activity-empty small,
.notice-card small {
    color: var(--forest);
    font-size: .73rem;
    font-weight: 800;
}

.activity-card h3,
.activity-empty h3,
.notice-card h3 {
    margin: 5px 0;
    color: var(--ink);
    font-size: 1.08rem;
    font-weight: 900;
}

.activity-card p,
.activity-empty p,
.notice-card p {
    margin: 0;
    color: var(--muted);
    line-height: 1.65;
}

.gallery-wall {
    display: grid;
    grid-auto-rows: 145px;
    grid-template-columns: repeat(12, 1fr);
    gap: 12px;
}

.wall-item {
    position: relative;
    margin: 0;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
    box-shadow: var(--shadow);
    transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}

.wall-item:hover {
    border-color: rgba(15, 118, 110, .42);
    box-shadow: 0 22px 50px rgba(15, 43, 36, .16);
    transform: translateY(-4px);
}

.wall-item-1 { grid-column: span 5; grid-row: span 3; }
.wall-item-2 { grid-column: span 4; grid-row: span 2; }
.wall-item-3 { grid-column: span 3; grid-row: span 2; }
.wall-item-4 { grid-column: span 3; grid-row: span 2; }
.wall-item-5 { grid-column: span 5; grid-row: span 2; }
.wall-item-6 { grid-column: span 4; grid-row: span 2; }

.wall-item img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s ease;
}

.wall-item:hover img {
    transform: scale(1.025);
}

.wall-item figcaption {
    position: absolute;
    right: 12px;
    bottom: 12px;
    left: 12px;
    border-radius: 6px;
    background: rgba(13, 32, 25, .84);
    color: #fff;
    padding: 11px 12px;
}

.wall-item figcaption strong,
.wall-item figcaption span {
    display: block;
}

.wall-item figcaption strong {
    font-weight: 800;
}

.wall-item figcaption span {
    margin-top: 3px;
    color: rgba(255, 255, 255, .78);
    font-size: .82rem;
}

.gallery-empty {
    grid-column: 1 / -1;
    min-height: 180px;
    justify-content: center;
    border: 1px dashed #b9c8c0;
    border-radius: 8px;
    background: var(--surface);
    color: var(--muted);
    text-align: right;
}

.gallery-empty strong,
.gallery-empty span {
    display: block;
}

.gallery-empty strong {
    margin-bottom: 5px;
    color: var(--ink);
    font-size: 1.15rem;
}

.video-band {
    border-block: 1px solid #224d41;
    background: #103c32;
    color: #fff;
}

.video-layout {
    display: grid;
    grid-template-columns: .85fr 1.15fr;
    align-items: center;
    gap: 38px;
}

.video-layout h2 {
    color: #fff;
}

.video-layout p {
    color: rgba(255, 255, 255, .76);
}

.video-layout .section-mini {
    border-color: rgba(255, 255, 255, .2);
    background: rgba(255, 255, 255, .09);
    color: #fff;
}

.video-frame {
    overflow: hidden;
    aspect-ratio: 16 / 9;
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 8px;
    background: #0b2e26;
    box-shadow: 0 20px 46px rgba(0, 0, 0, .2);
    transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}

.video-frame:hover {
    border-color: rgba(244, 208, 126, .5);
    box-shadow: 0 26px 60px rgba(0, 0, 0, .28);
    transform: translateY(-4px);
}

.video-frame iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}

.video-empty {
    display: grid;
    height: 100%;
    place-content: center;
    place-items: center;
    gap: 9px;
    color: rgba(255, 255, 255, .72);
    text-align: center;
}

.video-empty i {
    display: grid;
    width: 56px;
    height: 56px;
    margin-bottom: 4px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: 50%;
    background: rgba(255, 255, 255, .08);
    color: #fff;
}

.video-empty strong {
    color: #fff;
    font-size: 1.15rem;
}

.announcements-section {
    background: var(--surface-2);
}

.notice-card {
    border-top: 3px solid var(--gold);
    padding: 20px;
}

.public-footer {
    border-top: 4px solid var(--gold);
    background: #14251f;
    color: #dfe9e4;
    padding: 54px 0 22px;
}

.footer-grid {
    display: grid;
    grid-template-columns: minmax(280px, 1.35fr) .65fr 1fr;
    align-items: start;
    gap: 36px;
}

.footer-logo-line {
    display: flex;
    align-items: center;
    gap: 13px;
    margin-bottom: 15px;
}

.footer-logo-line img,
.footer-logo-line .brand-mark {
    display: grid;
    width: 56px !important;
    height: 56px !important;
    max-width: 56px !important;
    max-height: 56px !important;
    min-width: 56px !important;
    flex: 0 0 56px !important;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 8px;
    background: #fff;
    object-fit: contain !important;
    padding: 4px;
}

.footer-brand strong {
    display: block;
    color: #fff;
    font-size: 1.18rem;
    font-weight: 900;
}

.footer-brand span,
.footer-brand p,
.footer-col a,
.footer-col span {
    color: #b9c9c1;
}

.footer-brand span {
    display: block;
    margin-top: 3px;
    font-size: .84rem;
}

.footer-brand p {
    max-width: 560px;
    margin: 0 0 18px;
    line-height: 1.75;
}

.footer-socials {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.footer-socials a {
    display: grid;
    width: 40px;
    height: 40px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 6px;
    color: #fff;
}

.footer-socials a:hover {
    border-color: var(--gold);
    background: rgba(184, 138, 45, .15);
    color: #f2d899;
}

.footer-col h3 {
    margin: 0 0 15px;
    color: #fff;
    font-size: .95rem;
    font-weight: 900;
}

.footer-col a,
.footer-col span {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    font-weight: 600;
    line-height: 1.5;
}

.footer-col a:hover {
    color: #fff;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, .13);
    color: #9fb0a7;
    font-size: .88rem;
    padding-top: 18px;
}

.footer-bottom a {
    color: #fff;
    font-weight: 800;
}

@keyframes heroFadeTwo {
    0%, 44% { opacity: 1; transform: scale(1.015); }
    50%, 94% { opacity: 0; transform: scale(1.045); }
    100% { opacity: 1; transform: scale(1.015); }
}

@keyframes heroFadeThree {
    0%, 28% { opacity: 1; transform: scale(1.015); }
    34%, 94% { opacity: 0; transform: scale(1.045); }
    100% { opacity: 1; transform: scale(1.015); }
}

@keyframes heroFadeFour {
    0%, 20% { opacity: 1; transform: scale(1.015); }
    25%, 95% { opacity: 0; transform: scale(1.045); }
    100% { opacity: 1; transform: scale(1.015); }
}

.honor-board-section {
    position: relative;
    overflow: hidden;
    background: #f4f8f6;
}

.honor-board-section::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: .32;
    pointer-events: none;
    background-image: radial-gradient(circle at 1px 1px, rgba(15, 118, 110, .2) 1px, transparent 0);
    background-size: 28px 28px;
}

.honor-board-section .container {
    position: relative;
}

.honor-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
}

.honor-all-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 11px 16px;
    border: 1px solid rgba(15, 118, 110, .35);
    border-radius: 7px;
    color: #0f766e;
    font-weight: 800;
    text-decoration: none;
    background: #fff;
}

.honor-all-link:hover {
    color: #064e3b;
    border-color: #0f766e;
}

.honor-cards {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.honor-card {
    position: relative;
    overflow: hidden;
    min-width: 0;
    padding: 22px;
    border: 1px solid #dbe7e2;
    border-top: 4px solid #0f766e;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 14px 38px rgba(15, 43, 36, .07);
    text-align: center;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.honor-card:hover {
    border-color: #bfd7ce;
    box-shadow: 0 24px 56px rgba(15, 43, 36, .15);
    transform: translateY(-7px);
}

.pointer-glow-card {
    --card-glow-x: 70%;
    --card-glow-y: 25%;
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.pointer-glow-card::after {
    position: absolute;
    z-index: 0;
    inset: 0;
    background: radial-gradient(280px circle at var(--card-glow-x) var(--card-glow-y), rgba(87, 190, 155, .15), transparent 64%);
    content: "";
    opacity: 0;
    pointer-events: none;
    transition: opacity .22s ease;
}

.pointer-glow-card > * {
    position: relative;
    z-index: 1;
}

.pointer-glow-card:hover::after {
    opacity: 1;
}

@keyframes heroLogoAura {
    0%, 100% {
        opacity: .72;
        transform: translate(-50%, -50%) scale(.96);
    }
    50% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1.035);
    }
}

.honor-card-2 {
    border-top-color: #d4a017;
}

.honor-card-3 {
    border-top-color: #2563eb;
}

.honor-ribbon {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 28px;
    margin-bottom: 15px;
    color: #47635b;
    font-size: .78rem;
    font-weight: 800;
}

.honor-ribbon i {
    color: #d4a017;
}

.honor-photo {
    position: relative;
    width: 94px;
    height: 94px;
    margin: 0 auto 15px;
    border: 4px solid #edf5f2;
    border-radius: 50%;
    background: #e6f4ef;
}

.honor-photo img,
.honor-photo > span {
    width: 100%;
    height: 100%;
    border-radius: 50%;
}

.honor-photo img {
    object-fit: cover;
}

.honor-photo > span {
    display: grid;
    place-items: center;
    color: #0f766e;
    font-size: 2rem;
    font-weight: 900;
}

.honor-photo b {
    position: absolute;
    inset-inline-start: -5px;
    bottom: 0;
    display: grid;
    place-items: center;
    width: 29px;
    height: 29px;
    border: 3px solid #fff;
    border-radius: 50%;
    color: #fff;
    background: #d4a017;
    font-size: .78rem;
}

.honor-card h3 {
    margin: 0 0 4px;
    color: #12231e;
    font-size: 1.03rem;
    font-weight: 900;
}

.honor-class,
.honor-title {
    margin: 0;
}

.honor-class {
    color: #6b7e78;
    font-size: .82rem;
}

.honor-title {
    min-height: 48px;
    margin-top: 12px;
    color: #263d36;
    font-weight: 700;
}

.honor-value {
    display: block;
    margin: 9px 0 3px;
    color: #0f766e;
    font-size: 1.12rem;
}

.honor-card small {
    color: #7b8d87;
}

.honor-empty-public {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 28px;
    border: 1px dashed #a9c8bd;
    border-radius: 8px;
    background: #fff;
}

.honor-empty-public > span {
    display: grid;
    place-items: center;
    flex: 0 0 54px;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    color: #9a6c00;
    background: #fff5cc;
    font-size: 1.4rem;
}

.honor-empty-public h3 {
    margin: 0 0 4px;
    color: #12231e;
    font-size: 1.05rem;
}

.honor-empty-public p {
    margin: 0;
    color: #61736d;
}

[data-theme="dark"] .honor-board-section {
    background: #101b18;
}

[data-theme="dark"] .honor-card,
[data-theme="dark"] .honor-empty-public,
[data-theme="dark"] .honor-all-link {
    border-color: #29423a;
    background: #172622;
}

[data-theme="dark"] .honor-card h3,
[data-theme="dark"] .honor-empty-public h3 {
    color: #f1f8f5;
}

[data-theme="dark"] .honor-class,
[data-theme="dark"] .honor-title,
[data-theme="dark"] .honor-card small,
[data-theme="dark"] .honor-empty-public p {
    color: #adc0ba;
}

@media (max-width: 991px) {
    .honor-cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .honor-head {
        align-items: flex-start;
        flex-direction: column;
    }
    .mobile-menu-toggle {
        display: grid;
    }

    .nav-links {
        position: absolute;
        top: calc(100% + 1px);
        right: 12px;
        left: 12px;
        display: none;
        align-items: stretch;
        border: 1px solid var(--line);
        border-radius: 8px;
        background: var(--surface);
        box-shadow: var(--shadow);
        padding: 10px;
    }

    .nav-links.is-open {
        display: grid;
    }

    .nav-links > a:not(.signin) {
        padding: 11px 12px;
    }

    .nav-links .theme-pill {
        width: 100%;
        height: 42px;
        margin-top: 3px;
    }

    .nav-links .signin {
        margin-top: 5px;
    }

    .school-hero {
        min-height: 700px;
    }

    .hero-content h1 {
        font-size: 3.5rem;
    }

    .hero-brand-mark {
        left: 4vw;
        width: 300px;
        height: 300px;
    }

    .video-layout {
        grid-template-columns: 1fr;
    }

    .gallery-wall {
        grid-template-columns: repeat(6, 1fr);
    }

    .wall-item {
        grid-column: span 3 !important;
        grid-row: span 2 !important;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 576px) {
    .honor-cards {
        grid-template-columns: 1fr;
    }

    .honor-card {
        padding: 18px;
    }

    .honor-empty-public {
        align-items: flex-start;
        padding: 20px;
    }

    .nav-inner {
        min-height: 68px;
        gap: 12px;
    }

    .brand img,
    .brand-mark {
        width: 44px;
        height: 44px;
        flex-basis: 44px;
    }

    .brand strong {
        max-width: 210px;
        font-size: .9rem;
    }

    .brand small {
        display: none;
    }

    .school-hero {
        min-height: 620px;
        padding: 124px 0 58px;
    }

    .hero-overlay {
        background: rgba(9, 30, 25, .77);
    }

    .hero-brand-mark {
        top: 23%;
        left: -24px;
        width: 180px;
        height: 180px;
    }

    .hero-watermark {
        opacity: .24;
    }

    .hero-content h1 {
        margin-top: 16px;
        font-size: 2.65rem;
        line-height: 1.15;
    }

    .hero-content h2 {
        font-size: 1.18rem;
    }

    .hero-content p {
        font-size: .98rem;
    }

    .hero-actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .section-wrap {
        padding: 62px 0;
    }

    .section-head h2,
    .video-layout h2 {
        font-size: 2rem;
    }

    .activity-card {
        grid-template-columns: 62px 1fr;
        padding: 14px;
    }

    .date-chip {
        height: 62px;
    }

    .activity-empty,
    .gallery-empty {
        align-items: flex-start;
        padding: 20px;
    }

    .gallery-wall {
        display: block;
    }

    .wall-item {
        height: 240px;
        margin-bottom: 12px;
    }

    .gallery-empty {
        min-height: 170px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .footer-bottom {
        flex-direction: column;
    }
}

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

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }

    .hero-slide:first-child {
        opacity: 1;
    }

    .activity-card:hover,
    .activity-empty:hover,
    .notice-card:hover,
    .wall-item:hover,
    .video-frame:hover,
    .honor-card:hover,
    .hero-actions a:hover {
        transform: none;
    }
}
