@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@700;800&family=Inter:wght@400;500;600;700;800&display=swap");

:root {
    --ink: #121927;
    --muted: #647184;
    --maroon: #9a2431;
    --maroon-dark: #5f1722;
    --gold: #f5b82e;
    --gold-soft: #fff6dc;
    --green: #14734a;
    --green-deep: #0a3f2b;
    --cream: #fff8ea;
    --surface: #ffffff;
    --line: #ead8b8;
    --shadow: 0 24px 60px rgba(62, 27, 24, 0.18);
    --soft-shadow: 0 14px 34px rgba(25, 32, 45, 0.1);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background:
        linear-gradient(180deg, #fffdf7 0%, var(--cream) 48%, #ffffff 100%);
    font-family: "Inter", "Segoe UI", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    overflow-x: hidden;
}

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

button,
input,
textarea {
    font: inherit;
}

svg {
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(14px);
}

.top-strip {
    min-height: 36px;
    padding: 0.35rem 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    color: #ffffff;
    background: linear-gradient(90deg, var(--green-deep), var(--maroon-dark), var(--maroon));
    font-size: 0.86rem;
    font-weight: 800;
}

.top-strip span,
.top-strip a {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.main-nav {
    width: min(1180px, calc(100% - 32px));
    min-height: 86px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    min-width: min(430px, 48vw);
    color: var(--maroon-dark);
    font-family: "Manrope", "Inter", sans-serif;
    font-weight: 800;
}

.brand img {
    width: 70px;
    height: 62px;
    display: block;
    object-fit: contain;
}

.brand span {
    max-width: 420px;
    font-size: clamp(1rem, 1.6vw, 1.2rem);
    line-height: 1.08;
    white-space: normal;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 0.82rem;
    color: #3f2d2d;
    font-family: "Manrope", "Inter", sans-serif;
    font-size: 0.93rem;
    font-weight: 800;
}

.nav-links a {
    padding: 0.48rem 0;
    border-bottom: 2px solid transparent;
}

.nav-links a:hover {
    color: var(--maroon);
    border-bottom-color: var(--gold);
}

.nav-login {
    color: #1c1717 !important;
    background: var(--gold);
    padding: 0.7rem 0.95rem !important;
    border-radius: 6px;
}

.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: var(--surface);
    color: var(--ink);
    align-items: center;
    justify-content: center;
}

.hero {
    position: relative;
    min-height: min(820px, calc(100vh - 122px));
    display: flex;
    align-items: center;
    padding: clamp(4.5rem, 8vw, 7rem) max(1rem, calc((100vw - 1180px) / 2 + 1rem)) clamp(5rem, 8vw, 7.2rem);
    overflow: hidden;
    color: #ffffff;
    background:
        linear-gradient(90deg, rgba(12, 20, 25, 0.78) 0%, rgba(86, 18, 28, 0.82) 44%, rgba(10, 63, 43, 0.46) 100%),
        linear-gradient(180deg, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.38)),
        url("images/environment.jpeg");
    background-size: auto, auto, cover;
    background-position: center, center, center 34%;
}

.hero::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 8px;
    background: linear-gradient(90deg, var(--gold), #ffffff, var(--green));
}

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

.hero-content {
    min-width: 0;
    max-width: 960px;
}

.hero-school-mark {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    padding: 0.55rem 0.85rem 0.55rem 0.55rem;
    border: 1px solid rgba(255, 255, 255, 0.26);
    border-radius: 999px;
    color: rgba(255, 255, 255, 0.9);
    background: rgba(255, 255, 255, 0.12);
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.16);
    backdrop-filter: blur(10px);
    font-weight: 800;
}

.hero-school-mark img {
    width: 46px;
    height: 42px;
    object-fit: contain;
    border-radius: 50%;
    background: #ffffff;
    padding: 0.18rem;
}

.eyebrow {
    margin: 0 0 0.75rem;
    color: var(--gold);
    font-family: "Manrope", "Inter", sans-serif;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero h1 {
    margin: 0;
    font-family: "Manrope", "Inter", sans-serif;
    max-width: 1040px;
    font-size: clamp(3.25rem, 6.4vw, 6.4rem);
    line-height: 0.95;
    font-weight: 800;
    letter-spacing: 0;
    text-wrap: balance;
}

.hero-lead {
    max-width: 720px;
    margin: 1.25rem 0 0;
    color: rgba(255, 255, 255, 0.92);
    font-size: clamp(1.05rem, 2vw, 1.25rem);
    font-weight: 600;
}

.hero-highlights {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.8rem;
    max-width: 880px;
    margin-top: 1.5rem;
}

.hero-highlights span {
    display: grid;
    gap: 0.12rem;
    min-height: 86px;
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.82);
    background: rgba(255, 255, 255, 0.13);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.14);
    backdrop-filter: blur(12px);
}

.hero-highlights strong {
    color: #ffffff;
    font-family: "Manrope", "Inter", sans-serif;
    font-size: 0.98rem;
    line-height: 1.15;
}

.hero-actions,
.portal-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.85rem;
    margin-top: 2rem;
}

.primary-action,
.secondary-action,
.portal-actions a,
.inquiry-form button,
.admission-panel a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    min-height: 46px;
    border-radius: 999px;
    padding: 0.78rem 1rem;
    font-family: "Manrope", "Inter", sans-serif;
    font-weight: 800;
}

.primary-action,
.inquiry-form button,
.admission-panel a {
    border: 1px solid var(--gold);
    background: var(--gold);
    color: #1f1712;
}

.secondary-action {
    border: 1px solid rgba(255, 255, 255, 0.74);
    color: #ffffff;
    background: rgba(255, 255, 255, 0.09);
}

.official-banner {
    width: min(1180px, calc(100% - 32px));
    margin: 1.8rem auto 0;
    overflow: hidden;
    border: 1px solid rgba(111, 29, 37, 0.18);
    border-radius: 10px;
    background: #ffffff;
    box-shadow: var(--shadow);
}

.official-banner img {
    width: 100%;
    display: block;
}

.admission-spotlight {
    position: relative;
    z-index: 3;
    width: min(1180px, calc(100% - 32px));
    margin: -3.25rem auto 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 0.44fr);
    gap: clamp(1rem, 3vw, 1.75rem);
    align-items: center;
    padding: clamp(1rem, 3vw, 1.45rem);
    border: 1px solid rgba(234, 216, 184, 0.9);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: var(--shadow);
}

.admission-spotlight-copy {
    padding: clamp(0.5rem, 2vw, 1.2rem);
}

.admission-spotlight h2 {
    max-width: 720px;
    margin: 0;
    color: var(--ink);
    font-family: "Manrope", "Inter", sans-serif;
    font-size: clamp(1.55rem, 3.4vw, 3rem);
    line-height: 1.06;
    text-wrap: balance;
}

.admission-spotlight p:not(.eyebrow) {
    max-width: 620px;
    margin: 0.85rem 0 0;
    color: var(--muted);
    font-weight: 600;
}

.admission-spotlight img {
    width: 100%;
    max-height: 330px;
    object-fit: cover;
    object-position: top center;
    display: block;
    border-radius: 10px;
    box-shadow: var(--soft-shadow);
}

.section-shell {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: clamp(3.25rem, 6vw, 5.4rem) 0;
}

.section-heading {
    max-width: 760px;
    margin-bottom: 2rem;
}

.section-heading.compact {
    max-width: 620px;
}

.section-heading h2,
.learning-copy h2,
.portal-section h2 {
    margin: 0;
    color: var(--ink);
    font-family: "Manrope", "Inter", sans-serif;
    font-size: clamp(1.9rem, 4vw, 3.25rem);
    line-height: 1.1;
    font-weight: 800;
    text-wrap: balance;
}

.section-heading p:not(.eyebrow),
.learning-copy p,
.portal-section p {
    color: var(--muted);
    margin: 0.85rem 0 0;
}

.admission-layout {
    display: grid;
    grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1fr);
    gap: 1.25rem;
    align-items: stretch;
}

.admission-layout > img {
    width: 100%;
    height: 100%;
    min-height: 340px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.admission-panel {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    align-content: center;
    padding: clamp(1.2rem, 3vw, 2rem);
    border-radius: 12px;
    background: linear-gradient(135deg, #ffffff, var(--gold-soft));
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}

.admission-panel span {
    min-height: 96px;
    display: flex;
    align-items: center;
    padding: 1rem;
    border-radius: 10px;
    color: #ffffff;
    background: linear-gradient(135deg, var(--maroon-dark), var(--maroon));
    box-shadow: var(--soft-shadow);
    font-family: "Manrope", "Inter", sans-serif;
    font-size: clamp(1rem, 2vw, 1.35rem);
    font-weight: 800;
}

.admission-form {
    margin-top: 1.25rem;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: var(--shadow);
}

.learning-section {
    background: linear-gradient(180deg, #ffffff, #fffaf0);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.learning-inner {
    display: grid;
    grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.1fr);
    gap: 2rem;
    align-items: center;
}

.learning-photo img {
    width: 100%;
    min-height: 430px;
    object-fit: cover;
    border-radius: 14px;
    box-shadow: var(--shadow);
}

.value-grid,
.gallery-grid,
.contact-grid {
    display: grid;
    gap: 1rem;
}

.value-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 1.6rem;
}

.value-grid article,
.vision-grid article,
.data-panel,
.contact-grid a,
.inquiry-form {
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--surface);
    box-shadow: var(--soft-shadow);
}

.value-grid article {
    padding: 1rem;
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.value-grid article:hover,
.vision-grid article:hover,
.contact-grid a:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 34px rgba(25, 32, 45, 0.12);
}

.value-grid svg {
    color: var(--maroon);
}

.value-grid h3,
.data-panel h3 {
    margin: 0.65rem 0 0.35rem;
    font-family: "Manrope", "Inter", sans-serif;
    font-weight: 800;
}

.value-grid p,
.vision-grid p,
.empty-state,
.notice-item span {
    color: var(--muted);
}

.vision-mission-section {
    background: linear-gradient(180deg, #fff3ce, #ffffff);
    border-bottom: 1px solid var(--line);
}

.vision-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.vision-grid article {
    padding: clamp(1.2rem, 3vw, 1.8rem);
}

.vision-grid svg {
    width: 34px;
    height: 34px;
    color: var(--maroon);
}

.vision-grid h3 {
    margin: 0.85rem 0 0.55rem;
    font-family: "Manrope", "Inter", sans-serif;
    font-size: 1.35rem;
    font-weight: 800;
}

.ceo-section {
    background: #ffffff;
    border-bottom: 1px solid var(--line);
}

.ceo-inner {
    display: grid;
    grid-template-columns: minmax(280px, 0.42fr) minmax(0, 0.58fr);
    gap: clamp(1.5rem, 4vw, 3rem);
    align-items: start;
}

.ceo-photo {
    position: sticky;
    top: 112px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--cream);
    box-shadow: var(--shadow);
}

.ceo-photo img {
    width: 100%;
    display: block;
    object-fit: cover;
}

.ceo-message {
    padding: clamp(1.2rem, 3vw, 2rem);
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fffdf8;
    box-shadow: var(--soft-shadow);
}

.ceo-message h2 {
    margin: 0;
    color: var(--ink);
    font-family: "Manrope", "Inter", sans-serif;
    font-size: clamp(1.7rem, 3vw, 2.6rem);
    line-height: 1.1;
}

.ceo-message p {
    margin: 1rem 0 0;
    color: var(--muted);
}

.ceo-message blockquote {
    margin: 1.35rem 0;
    padding: 1rem 1.1rem;
    border-left: 5px solid var(--gold);
    color: var(--maroon-dark);
    background: var(--gold-soft);
    font-family: "Manrope", "Inter", sans-serif;
    font-size: 1.08rem;
    font-weight: 800;
}

.ceo-signature {
    display: grid;
    gap: 0.15rem;
    margin-top: 1.2rem;
    color: var(--muted);
}

.ceo-signature strong {
    color: var(--ink);
    font-family: "Manrope", "Inter", sans-serif;
    font-size: 1.1rem;
}

.notice-section {
    background: linear-gradient(180deg, #fff5d8, var(--cream));
}

.notice-inner {
    display: grid;
    grid-template-columns: 0.68fr 1fr;
    gap: 2rem;
    align-items: start;
}

.data-panel {
    padding: 1.25rem;
}

.panel-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.75rem;
}

.panel-title h3 {
    margin: 0;
}

.panel-title span {
    color: var(--green);
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
}

.notice-item {
    display: grid;
    gap: 0.2rem;
    padding: 0.85rem 0;
    border-top: 1px solid var(--line);
}

.notice-item:first-child {
    border-top: 0;
    padding-top: 0;
}

.gallery-grid {
    grid-template-columns: 1.25fr 1fr 0.8fr;
}

.gallery-grid img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 14px;
    box-shadow: var(--shadow);
}

.gallery-grid img:nth-child(1) {
    object-position: center;
}

.gallery-grid img:nth-child(3) {
    object-position: top center;
}

.portal-section {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 2rem;
    align-items: center;
    padding: clamp(3rem, 6vw, 4.5rem) max(1rem, calc((100vw - 1180px) / 2 + 1rem));
    color: #ffffff;
    background:
        linear-gradient(100deg, rgba(95, 23, 34, 0.98), rgba(154, 36, 49, 0.95), rgba(10, 63, 43, 0.96)),
        url("images/banner.jpeg");
    background-size: auto, cover;
    background-position: center;
}

.portal-section h2 {
    color: #ffffff;
}

.portal-section p,
.portal-section .eyebrow {
    color: rgba(255, 255, 255, 0.84);
}

.portal-actions {
    justify-content: flex-end;
    margin-top: 0;
}

.portal-actions a {
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.28);
    background: rgba(255, 255, 255, 0.1);
}

.portal-actions a:first-child {
    color: #1f1712;
    background: var(--gold);
    border-color: var(--gold);
}

.contact-grid {
    grid-template-columns: repeat(4, 1fr);
    margin-bottom: 1rem;
}

.contact-grid a {
    min-height: 82px;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    font-weight: 800;
    background: linear-gradient(180deg, #ffffff, #fffaf0);
}

.contact-grid svg {
    color: var(--maroon);
}

.inquiry-form {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    padding: 1.25rem;
}

.inquiry-form label {
    display: grid;
    gap: 0.38rem;
    color: #3f2d2d;
    font-weight: 800;
}

.inquiry-form input,
.inquiry-form select,
.inquiry-form textarea {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 0.78rem 0.85rem;
    color: var(--ink);
    background: #ffffff;
}

.inquiry-form textarea {
    min-height: 110px;
    resize: vertical;
}

.full-field {
    grid-column: 1 / -1;
}

.form-status {
    grid-column: 1 / -1;
    min-height: 1.25rem;
    margin: 0;
    color: #166534;
    font-weight: 800;
}

.form-status.error {
    color: #991b1b;
}

.inquiry-form button {
    grid-column: 1 / -1;
    width: fit-content;
    cursor: pointer;
}

.site-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 1.6rem;
    border-top: 1px solid var(--line);
    color: var(--muted);
    background: #ffffff;
}

.site-footer img {
    width: 78px;
    height: 58px;
    object-fit: contain;
}

.site-footer strong,
.site-footer span {
    display: block;
}

.site-footer strong {
    color: var(--ink);
    font-family: "Manrope", "Inter", sans-serif;
}

.website-banner-section {
    width: min(1180px, calc(100% - 32px));
    margin: 2rem auto 0;
}

.website-banner-slide {
    display: none;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: var(--shadow);
}

.website-banner-slide.active {
    display: grid;
}

.website-banner-media img {
    width: 100%;
    max-height: 360px;
    object-fit: cover;
    display: block;
}

.website-banner-caption {
    padding: 1rem 1.2rem;
}

.website-banner-caption h2 {
    margin: 0;
    font-family: "Manrope", "Inter", sans-serif;
}

.website-banner-caption p {
    margin: 0.35rem 0 0;
    color: var(--muted);
}

.website-banner-dots {
    display: flex;
    justify-content: center;
    gap: 0.45rem;
    margin-top: 0.8rem;
}

.website-banner-dots button {
    width: 10px;
    height: 10px;
    border: 0;
    border-radius: 50%;
    background: #c9b996;
}

.website-banner-dots button.active {
    background: var(--maroon);
}

@media (max-width: 1120px) {
    .top-strip {
        display: none;
    }

    .main-nav {
        width: calc(100% - 24px);
    }

    .brand {
        min-width: min(360px, 44vw);
    }

    .brand span {
        max-width: 340px;
        font-size: 0.98rem;
    }

    .nav-links {
        gap: 0.62rem;
        font-size: 0.86rem;
    }
}

@media (max-width: 1040px) {
    .admission-layout,
    .admission-spotlight,
    .learning-inner,
    .notice-inner,
    .ceo-inner,
    .portal-section {
        grid-template-columns: 1fr;
    }

    .hero {
        min-height: 680px;
    }

    .menu-toggle {
        display: inline-flex;
    }

    .nav-links {
        position: absolute;
        left: 12px;
        right: 12px;
        top: 88px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0.15rem;
        padding: 0.65rem;
        border: 1px solid var(--line);
        border-radius: 8px;
        background: #ffffff;
        box-shadow: var(--shadow);
    }

    .nav-links.open {
        display: flex;
    }

    .nav-links a {
        min-height: 44px;
        padding: 0.65rem 0.75rem;
        border-radius: 6px;
    }

    .nav-login {
        justify-content: center;
    }

    .hero-highlights {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .portal-actions {
        justify-content: flex-start;
    }

    .value-grid,
    .vision-grid,
    .gallery-grid,
    .contact-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .main-nav {
        min-height: 68px;
        width: calc(100% - 24px);
        gap: 0.75rem;
    }

    .brand img {
        width: 48px;
        height: 44px;
    }

    .brand {
        min-width: 0;
        max-width: calc(100vw - 84px);
        gap: 0.55rem;
    }

    .brand span {
        max-width: calc(100vw - 136px);
        font-size: 0.82rem;
        line-height: 1.08;
        overflow-wrap: anywhere;
    }

    .menu-toggle {
        width: 42px;
        height: 42px;
        border-radius: 10px;
    }

    .nav-links {
        top: 74px;
        left: 10px;
        right: 10px;
        max-height: calc(100vh - 90px);
        overflow-y: auto;
        border-radius: 12px;
    }

    .hero {
        min-height: auto;
        padding: 2.25rem 1rem 3.5rem;
        align-items: center;
        background-position: center, center, center top;
    }

    .hero-content {
        width: 100%;
        max-width: calc(100vw - 2rem);
    }

    .hero h1 {
        max-width: 100%;
        font-size: clamp(2rem, 9vw, 2.85rem);
        line-height: 1.06;
    }

    .hero-lead {
        width: 100%;
        max-width: 100%;
        font-size: 1rem;
        line-height: 1.55;
        margin-top: 0.95rem;
    }

    .hero-highlights {
        grid-template-columns: 1fr;
        gap: 0.65rem;
        margin-top: 1rem;
    }

    .hero-highlights span {
        min-height: 0;
        padding: 0.78rem 0.85rem;
        border-radius: 12px;
    }

    .hero-school-mark {
        width: 100%;
        justify-content: flex-start;
        border-radius: 14px;
        margin-bottom: 0.85rem;
        padding: 0.45rem 0.65rem 0.45rem 0.45rem;
        font-size: 0.82rem;
    }

    .hero-school-mark img {
        width: 36px;
        height: 34px;
    }

    .eyebrow {
        font-size: 0.72rem;
        line-height: 1.35;
        letter-spacing: 0.04em;
    }

    .admission-spotlight {
        width: calc(100% - 24px);
        margin-top: -1.5rem;
        padding: 0.85rem;
        border-radius: 14px;
    }

    .admission-spotlight-copy {
        padding: 0.35rem;
    }

    .admission-spotlight img {
        max-height: 260px;
        aspect-ratio: 16 / 10;
    }

    .hero-actions,
    .portal-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .admission-panel,
    .value-grid,
    .vision-grid,
    .gallery-grid,
    .contact-grid,
    .inquiry-form {
        grid-template-columns: 1fr;
    }

    .ceo-photo {
        position: static;
    }

    .gallery-grid img,
    .learning-photo img,
    .admission-layout > img {
        min-height: 0;
        height: auto;
        max-height: 320px;
    }

    .primary-action,
    .secondary-action,
    .portal-actions a {
        width: 100%;
    }

    .section-shell {
        padding: 2.6rem 0;
    }

    .section-heading {
        margin-bottom: 1.35rem;
    }

    .section-heading h2,
    .learning-copy h2,
    .portal-section h2,
    .ceo-message h2,
    .admission-spotlight h2 {
        font-size: clamp(1.55rem, 7vw, 2.2rem);
        line-height: 1.12;
    }

    .admission-panel {
        padding: 0.9rem;
        gap: 0.7rem;
    }

    .admission-panel span {
        min-height: 68px;
        padding: 0.85rem;
        font-size: 1rem;
    }

    .inquiry-form {
        padding: 1rem;
        gap: 0.85rem;
    }

    .ceo-message {
        padding: 1rem;
    }

    .ceo-message p {
        font-size: 0.95rem;
    }

    .contact-grid a {
        min-height: 64px;
        overflow-wrap: anywhere;
    }

    .site-footer {
        align-items: flex-start;
        padding: 1.15rem;
    }

    .site-footer img {
        width: 58px;
        height: 48px;
    }
}

@media (max-width: 460px) {
    .section-shell,
    .official-banner,
    .admission-spotlight,
    .website-banner-section {
        width: calc(100% - 24px);
    }

    .site-footer {
        justify-content: flex-start;
    }

    .hero {
        padding: 1.9rem 0.75rem 3rem;
    }

    .hero h1 {
        font-size: clamp(1.82rem, 9.6vw, 2.45rem);
    }

    .hero-lead {
        font-size: 0.94rem;
    }

    .hero-actions {
        margin-top: 1.25rem;
    }

    .primary-action,
    .secondary-action,
    .portal-actions a,
    .inquiry-form button {
        min-height: 44px;
        padding: 0.7rem 0.85rem;
    }
}
