
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700;800&family=Playfair+Display:ital,wght@0,500;0,600;0,700;1,500;1,600&display=swap');

:root {
    --navy: #0b1d3c;
    --navy-light: #18345a;
    --gold: #e9b437;
    --gold-dark: #bb8721;
    --cream: #faf8f3;
    --white: #ffffff;
    --text: #27334a;
    --muted: #687386;
    --border: #e9e8e4;
    --font-body: 'DM Sans', sans-serif;
    --font-display: 'Playfair Display', Georgia, serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--font-body);
    color: var(--text);
    background: var(--white);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font: inherit;
}

.container {
    width: min(1180px, calc(100% - 64px));
    margin-inline: auto;
}

.section-padding {
    padding: 110px 0;
}

.skip-link {
    position: absolute;
    top: -100px;
    left: 20px;
    z-index: 999;
    padding: 12px 20px;
    background: var(--gold);
    color: var(--navy);
}

.skip-link:focus {
    top: 12px;
}

:focus-visible {
    outline: 3px solid var(--gold);
    outline-offset: 4px;
}

/* Announcement */

.announcement-bar {
    background: var(--navy);
    color: white;
    font-size: 12px;
    letter-spacing: 0.025em;
}

.announcement-inner {
    min-height: 39px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 25px;
}

.announcement-inner a {
    color: var(--gold);
    font-weight: 700;
}

/* Header */

.site-header {
    position: relative;
    z-index: 100;
    background: white;
    transition: box-shadow 0.3s ease;
}

.site-header.is-scrolled {
    box-shadow: 0 8px 30px rgba(8, 25, 52, 0.1);
}

.nav-inner {
    min-height: 94px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 13px;
    flex-shrink: 0;
}

.brand img {
    width: 64px;
    height: 64px;
    object-fit: contain;
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}

.brand-text strong {
    color: var(--navy);
    font-size: 25px;
    letter-spacing: 0.15em;
    font-weight: 800;
}

.brand-text small {
    color: var(--gold-dark);
    font-size: 9px;
    letter-spacing: 0.22em;
    font-weight: 800;
    margin-top: 6px;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 25px;
}

.main-nav > a {
    font-size: 13px;
    font-weight: 700;
    color: var(--navy);
    transition: color 0.2s ease;
}

.main-nav > a:hover,
.main-nav > a.active {
    color: var(--gold-dark);
}

.main-nav > .nav-cta {
    background: var(--gold);
    color: var(--navy);
    padding: 15px 21px;
    margin-left: 5px;
    transition: background 0.2s ease, transform 0.2s ease;
}

.main-nav > .nav-cta:hover {
    background: #f5c653;
    color: var(--navy);
    transform: translateY(-2px);
}

.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    height: 2px;
    width: 25px;
    margin: 6px auto;
    background: var(--navy);
}

/* Cinematic hero */

.hero-modern {
    position: relative;
    min-height: min(780px, 85vh);
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--navy);
    color: white;
}

.hero-modern__image {
    position: absolute;
    inset: 0;
    background-image: url('images/IMG_6640.jpg');
    background-size: cover;
    background-position: center 45%;
    transform: scale(1.04);
    animation: heroZoom 12s ease-out forwards;
}

.hero-modern__overlay {
    position: absolute;
    inset: 0;
    background:
            linear-gradient(
                    90deg,
                    rgba(7, 23, 49, 0.90) 0%,
                    rgba(7, 23, 49, 0.68) 44%,
                    rgba(7, 23, 49, 0.16) 100%
            );
}

.hero-modern__content {
    position: relative;
    z-index: 2;
    width: min(1180px, calc(100% - 64px));
    margin: 0 auto;
    padding: 120px 0 145px;
}

.hero-modern__eyebrow {
    display: inline-block;
    color: var(--gold);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.22em;
    margin-bottom: 27px;
}

.hero-modern h1 {
    max-width: 850px;
    margin: 0;
    font-family: var(--font-display);
    font-size: clamp(48px, 5.8vw, 88px);
    line-height: 1.14;
    letter-spacing: -0.035em;
    font-weight: 600;
}

.hero-modern h1 em {
    color: var(--gold);
    font-weight: 500;
}

.hero-modern__content > p {
    max-width: 520px;
    margin: 28px 0 35px;
    font-size: 17px;
    line-height: 1.9;
    color: rgba(255, 255, 255, 0.88);
}

.hero-modern__actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
}

.hero-modern__button,
.button-gold {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    background: var(--gold);
    color: var(--navy);
    padding: 17px 25px;
    font-size: 13px;
    font-weight: 800;
    transition: transform 0.25s ease, background 0.25s ease;
}

.hero-modern__button:hover,
.button-gold:hover {
    transform: translateY(-3px);
    background: #f5c653;
}

.hero-modern__link {
    color: white;
    font-size: 13px;
    font-weight: 700;
    padding-bottom: 6px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
}

.hero-modern__link:hover {
    color: var(--gold);
}

.hero-modern__scroll {
    position: absolute;
    bottom: 37px;
    left: max(32px, calc((100% - 1180px) / 2));
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 10px;
    letter-spacing: 0.2em;
    font-weight: 800;
}

.hero-modern__scroll span {
    font-size: 22px;
    color: var(--gold);
}

@keyframes heroZoom {
    from { transform: scale(1.08); }
    to { transform: scale(1); }
}

/* Section typography */

.section-eyebrow {
    display: inline-block;
    margin-bottom: 20px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.2em;
    color: var(--gold-dark);
}

h2, h3, p {
    margin-top: 0;
}

h2 {
    font-family: var(--font-display);
    font-size: clamp(34px, 4vw, 57px);
    line-height: 1.25;
    letter-spacing: -0.025em;
    font-weight: 600;
    color: var(--navy);
}

h2 em {
    font-weight: 500;
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 13px;
    color: var(--navy);
    font-size: 13px;
    font-weight: 800;
    border-bottom: 1px solid var(--gold);
    padding-bottom: 8px;
    transition: gap 0.25s ease;
}

.text-link:hover {
    gap: 21px;
}

/* Welcome */

.welcome-section {
    background: white;
}

.welcome-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    align-items: center;
    gap: 100px;
}

.welcome-intro h2 {
    margin-bottom: 0;
}

.welcome-content p {
    font-size: 16px;
    color: var(--muted);
    line-height: 2;
    margin-bottom: 27px;
}

/* Values */

.values-section {
    background: var(--cream);
}

.section-heading {
    max-width: 650px;
    margin-bottom: 48px;
}

.section-heading.centered {
    margin-inline: auto;
    text-align: center;
}

.section-heading p {
    color: var(--muted);
    font-size: 16px;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.value-card {
    position: relative;
    min-height: 320px;
    padding: 38px;
    background: white;
    border: 1px solid var(--border);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.value-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 18px 40px rgba(9, 27, 57, 0.07);
}

.value-number {
    position: absolute;
    top: 28px;
    right: 30px;
    color: #c5c9d0;
    font-size: 12px;
}

.value-icon {
    color: var(--gold-dark);
    font-size: 34px;
    margin-bottom: 25px;
}

.value-card h3 {
    font-family: var(--font-display);
    font-size: 28px;
    color: var(--navy);
    margin-bottom: 13px;
}

.value-card p {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.9;
}

/* Academics */

.academics-preview {
    background: white;
}

.academics-feature {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 450px;
    background: var(--cream);
}

.academics-feature-image {
    overflow: hidden;
    background: #e4e7e8;
}

.academics-feature-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.academics-feature:hover img {
    transform: scale(1.04);
}

.academics-feature-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 65px;
}

.academics-feature-content h3 {
    font-family: var(--font-display);
    font-size: clamp(28px, 3vw, 43px);
    line-height: 1.3;
    color: var(--navy);
    margin-bottom: 23px;
}

.academics-feature-content p {
    color: var(--muted);
    margin-bottom: 18px;
}

.academics-feature-content .text-link {
    margin-top: 12px;
}

/* Gallery */

.gallery-preview {
    background: var(--cream);
}

.gallery-heading {
    max-width: none;
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 30px;
}

.gallery-heading h2 {
    margin-bottom: 0;
}

.gallery-preview-grid {
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
    min-height: 440px;
}

.gallery-preview-item {
    position: relative;
    overflow: hidden;
    background: #dce2e6;
}

.gallery-preview-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.gallery-preview-item:hover img {
    transform: scale(1.05);
}

.gallery-preview-label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 25px 30px;
    color: white;
    font-size: 14px;
    font-weight: 700;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.72));
}

.gallery-preview-message {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 55px;
    background: var(--navy);
    color: white;
}

.gallery-preview-message h3 {
    color: white;
    font-family: var(--font-display);
    font-size: clamp(28px, 3vw, 40px);
    line-height: 1.3;
}

.gallery-preview-message p {
    color: rgba(255, 255, 255, 0.72);
    font-size: 14px;
}

.gallery-preview-message .text-link {
    color: white;
    margin-top: 15px;
}

/* Admissions CTA */

.cta-section {
    background: var(--navy);
    color: white;
    padding: 95px 0;
}

.cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

.cta-inner h2 {
    color: white;
    margin-bottom: 18px;
}

.cta-inner h2 em {
    color: var(--gold);
}

.cta-inner p {
    color: rgba(255, 255, 255, 0.7);
}

.cta-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 22px;
    flex-shrink: 0;
}

.cta-actions .text-link {
    color: white;
}

/* Footer */

.footer {
    background: #07152d;
    color: white;
    padding: 75px 0 25px;
}

.footer-main {
    display: grid;
    grid-template-columns: 1.5fr 0.8fr 0.8fr 1.2fr;
    gap: 45px;
    padding-bottom: 60px;
}

.footer-brand {
    display: inline-flex;
    flex-direction: column;
    font-size: 26px;
    font-weight: 800;
    letter-spacing: 0.14em;
    line-height: 1.25;
}

.footer-brand small {
    font-size: 9px;
    color: var(--gold);
    letter-spacing: 0.22em;
}

.footer-about p {
    color: rgba(255, 255, 255, 0.58);
    font-size: 13px;
    margin-top: 20px;
}

.footer-links,
.footer-contact {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 13px;
}

.footer h3 {
    font-size: 13px;
    color: white;
    margin-bottom: 8px;
}

.footer-links a,
.footer-contact a,
.footer-contact p {
    color: rgba(255, 255, 255, 0.62);
    font-size: 13px;
    overflow-wrap: anywhere;
}

.footer-links a:hover,
.footer-contact a:hover {
    color: var(--gold);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding-top: 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.footer-bottom p,
.back-to-top {
    color: rgba(255, 255, 255, 0.55);
    font-size: 12px;
    margin: 0;
}

.back-to-top:hover {
    color: var(--gold);
}

/* Scroll reveal */

.reveal {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
        transition: opacity 0.7s ease, transform 0.7s ease;
    }

    .reveal.is-visible {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */

@media (max-width: 1100px) {
    .main-nav {
        gap: 15px;
    }

    .brand-text strong {
        font-size: 21px;
    }

    .academics-feature-content {
        padding: 40px;
    }
}

@media (max-width: 900px) {
    .container {
        width: min(100% - 40px, 1180px);
    }

    .section-padding {
        padding: 75px 0;
    }

    .nav-inner {
        min-height: 78px;
    }

    .menu-toggle {
        display: block;
    }

    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        padding: 25px;
        background: white;
        box-shadow: 0 20px 30px rgba(0, 0, 0, 0.08);
        flex-direction: column;
        align-items: stretch;
        gap: 20px;
    }

    .main-nav.is-open {
        display: flex;
    }

    .main-nav > .nav-cta {
        margin-left: 0;
        text-align: center;
    }

    .hero-modern {
        min-height: 650px;
    }

    .hero-modern__content {
        width: calc(100% - 40px);
        padding: 100px 0 120px;
    }

    .welcome-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .values-grid {
        grid-template-columns: 1fr;
    }

    .value-card {
        min-height: auto;
    }

    .academics-feature {
        grid-template-columns: 1fr;
    }

    .academics-feature-image {
        height: 350px;
    }

    .gallery-preview-grid {
        grid-template-columns: 1fr;
    }

    .gallery-preview-item {
        min-height: 350px;
    }

    .cta-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-main {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .announcement-inner {
        gap: 10px;
        font-size: 10px;
    }

    .brand img {
        width: 52px;
        height: 52px;
    }

    .brand-text strong {
        font-size: 18px;
    }

    .brand-text small {
        font-size: 7px;
    }

    .hero-modern {
        min-height: 650px;
    }

    .hero-modern__image {
        background-position: center;
    }

    .hero-modern__overlay {
        background: linear-gradient(
                90deg,
                rgba(7, 23, 49, 0.86),
                rgba(7, 23, 49, 0.56)
        );
    }

    .hero-modern h1 {
        font-size: clamp(40px, 10vw, 58px);
    }

    .hero-modern__content > p {
        font-size: 15px;
    }

    .hero-modern__actions {
        align-items: flex-start;
        flex-direction: column;
        gap: 22px;
    }

    .gallery-heading {
        flex-direction: column;
        align-items: flex-start;
    }

    .academics-feature-content,
    .gallery-preview-message {
        padding: 35px 25px;
    }

    .footer-main {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }
}

/* =====================================
   ABOUT PAGE
===================================== */

.about-hero {
    padding: 85px 0 100px;
    background: var(--cream);
    overflow: hidden;
}

.about-hero__inner {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 85px;
    align-items: center;
}

.about-hero__content h1 {
    font-family: var(--font-display);
    font-size: clamp(46px, 5vw, 74px);
    line-height: 1.15;
    letter-spacing: -0.035em;
    color: var(--navy);
    margin-bottom: 30px;
}

.about-hero__content h1 em {
    color: var(--gold-dark);
    font-weight: 500;
}

.about-hero__content p {
    max-width: 450px;
    font-size: 16px;
    line-height: 2;
    color: var(--muted);
    margin-bottom: 32px;
}

.about-hero__visual {
    position: relative;
    min-height: 550px;
}

.about-hero__visual > img {
    width: 100%;
    height: 550px;
    object-fit: cover;
    object-position: center;
    border-radius: 220px 220px 4px 4px;
}

.about-hero__caption {
    position: absolute;
    bottom: 30px;
    left: -35px;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 20px 26px;
    background: white;
    box-shadow: 0 12px 40px rgba(0,0,0,0.08);
    color: var(--navy);
    font-size: 13px;
    font-weight: 800;
}

.about-hero__caption-icon {
    font-size: 28px;
    color: var(--gold-dark);
}

/* Intro */

.about-intro__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
}

.about-intro__copy p {
    color: var(--muted);
    font-size: 16px;
    line-height: 2;
    margin-bottom: 20px;
}

/* Statement */

.about-statement {
    background: var(--navy);
    padding: 110px 0;
}

.about-statement__inner {
    max-width: 920px;
    text-align: center;
}

.about-statement__inner > span {
    color: var(--gold);
    font-size: 11px;
    letter-spacing: 0.2em;
    font-weight: 800;
}

.about-statement h2 {
    color: white;
    font-size: clamp(35px, 4.5vw, 65px);
    line-height: 1.35;
    margin: 30px 0 0;
}

.about-statement h2 em {
    color: var(--gold);
}

/* Values */

.about-values {
    background: white;
}

.about-values__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.about-value {
    position: relative;
    padding: 45px 35px;
    background: var(--cream);
    min-height: 310px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-value:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 45px rgba(8,25,52,0.07);
}

.about-value__number {
    position: absolute;
    top: 28px;
    right: 30px;
    color: #9ba2af;
    font-size: 12px;
}

.about-value__symbol {
    display: block;
    color: var(--gold-dark);
    font-size: 38px;
    margin-bottom: 25px;
}

.about-value h3 {
    font-family: var(--font-display);
    font-size: 32px;
    color: var(--navy);
    margin-bottom: 15px;
}

.about-value p {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.9;
}

/* Approach */

.about-approach {
    background: var(--cream);
}

.about-approach__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 95px;
}

.about-approach__visual {
    position: relative;
    height: 650px;
}

.about-approach__visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-approach__image-label {
    position: absolute;
    bottom: 0;
    left: 0;
    background: var(--gold);
    color: var(--navy);
    padding: 18px 29px;
    font-size: 13px;
    font-weight: 800;
}

.about-approach__content > p {
    color: var(--muted);
    line-height: 1.9;
    margin-bottom: 30px;
}

.approach-point {
    display: flex;
    gap: 22px;
    padding: 20px 0;
    border-top: 1px solid #dddcd6;
}

.approach-point > span {
    color: var(--gold-dark);
    font-size: 13px;
    font-weight: 800;
}

.approach-point h3 {
    color: var(--navy);
    font-size: 16px;
    margin-bottom: 5px;
}

.approach-point p {
    color: var(--muted);
    font-size: 13px;
    margin-bottom: 0;
}

.about-approach__content .text-link {
    margin-top: 25px;
}

/* Responsive */

@media (max-width: 900px) {
    .about-hero__inner,
    .about-intro__grid,
    .about-approach__grid {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .about-hero {
        padding: 65px 0;
    }

    .about-hero__visual,
    .about-hero__visual > img {
        min-height: 0;
        height: 450px;
    }

    .about-hero__caption {
        left: 15px;
    }

    .about-values__grid {
        grid-template-columns: 1fr;
    }

    .about-value {
        min-height: auto;
    }

    .about-approach__visual {
        height: 450px;
    }
}

@media (max-width: 600px) {
    .about-hero__content h1 {
        font-size: 44px;
    }

    .about-hero__visual,
    .about-hero__visual > img {
        height: 360px;
    }

    .about-hero__caption {
        padding: 14px 17px;
        font-size: 11px;
    }

    .about-statement {
        padding: 75px 0;
    }

    .about-statement h2 {
        font-size: 36px;
    }

    .about-approach__visual {
        height: 360px;
    }
}


/* ==========================================
   ACADEMICS PAGE
   ========================================== */

.academic-hero {
    background: var(--cream);
    padding: 90px 0 105px;
    overflow: hidden;
}

.academic-hero__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 75px;
    align-items: center;
}

.academic-hero__content h1 {
    font-family: var(--font-display);
    font-size: clamp(44px, 5vw, 76px);
    line-height: 1.17;
    letter-spacing: -.035em;
    color: var(--navy);
    margin: 24px 0 30px;
}

.academic-hero__content h1 em {
    color: var(--gold-dark);
    font-weight: 500;
}

.academic-hero__content p {
    max-width: 470px;
    color: var(--muted);
    font-size: 16px;
    line-height: 2;
    margin-bottom: 30px;
}

.academic-hero__link {
    display: inline-flex;
    gap: 20px;
    align-items: center;
    color: var(--navy);
    font-weight: 800;
    font-size: 14px;
    text-decoration: none;
    border-bottom: 2px solid var(--gold);
    padding-bottom: 10px;
}

.academic-hero__link span {
    color: var(--gold-dark);
    font-size: 22px;
}

.academic-hero__visual {
    height: 570px;
    position: relative;
}

.academic-hero__visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 240px 240px 6px 6px;
}

.academic-hero__floating {
    position: absolute;
    left: -35px;
    bottom: 35px;
    background: var(--navy);
    color: white;
    padding: 25px 30px;
    box-shadow: 0 15px 40px rgba(0,0,0,.14);
}

.academic-hero__floating strong,
.academic-hero__floating span {
    display: block;
}

.academic-hero__floating strong {
    color: var(--gold);
    font-size: 17px;
    letter-spacing: .08em;
    margin-bottom: 7px;
}

.academic-hero__floating span {
    font-size: 12px;
}

/* INTRO */

.academic-intro__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
}

.academic-intro__grid p {
    color: var(--muted);
    font-size: 16px;
    line-height: 2;
    margin-bottom: 20px;
}

/* LEARNING STAGES */

.academic-stages {
    background: var(--cream);
}

.academic-stages__heading {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 40px;
    margin-bottom: 45px;
}

.academic-stages__heading p {
    max-width: 300px;
    color: var(--muted);
    line-height: 1.9;
    font-size: 14px;
}

.academic-stage-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.academic-stage-card {
    background: white;
    border: 1px solid var(--border);
    transition: transform .3s ease, box-shadow .3s ease;
    overflow: hidden;
}

.academic-stage-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 45px rgba(10,30,60,.08);
}

.academic-stage-card__top {
    background: var(--navy);
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
}

.academic-stage-card__number {
    color: var(--gold);
    font-size: 14px;
    font-weight: 800;
}

.academic-stage-card__category {
    font-size: 11px;
    letter-spacing: .15em;
    font-weight: 700;
}

.academic-stage-card__body {
    padding: 38px 35px;
}

.academic-stage-card__body h3 {
    font-family: var(--font-display);
    font-size: 44px;
    color: var(--navy);
    margin-bottom: 8px;
}

.academic-stage-card__subtitle {
    color: var(--gold-dark) !important;
    font-weight: 800;
    font-size: 14px !important;
    margin-bottom: 20px !important;
}

.academic-stage-card__body > p {
    color: var(--muted);
    line-height: 1.9;
    font-size: 14px;
    margin-bottom: 25px;
}

.academic-stage-card__toggle {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    background: transparent;
    border: 0;
    border-top: 1px solid var(--border);
    padding: 20px 0 0;
    color: var(--navy);
    font: inherit;
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
    text-align: left;
}

.academic-stage-card__toggle span {
    font-size: 23px;
    color: var(--gold-dark);
}

.academic-stage-card__details {
    padding-top: 20px;
}

.academic-stage-card__details[hidden] {
    display: none;
}

.academic-stage-card__details ul {
    padding-left: 20px;
    color: var(--muted);
    line-height: 2.1;
    font-size: 13px;
}

/* LEARNING PHILOSOPHY */

.academic-philosophy {
    background: white;
}

.academic-philosophy__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 90px;
    align-items: center;
}

.academic-philosophy__visual {
    height: 620px;
    position: relative;
}

.academic-philosophy__visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.academic-philosophy__label {
    position: absolute;
    bottom: 0;
    left: 0;
    background: var(--gold);
    color: var(--navy);
    padding: 18px 25px;
    font-weight: 800;
    font-size: 13px;
}

.academic-philosophy__content > p {
    color: var(--muted);
    line-height: 1.9;
    margin: 20px 0 30px;
}

.academic-philosophy__point {
    display: flex;
    gap: 20px;
    padding: 18px 0;
    border-top: 1px solid var(--border);
}

.academic-philosophy__point > span {
    color: var(--gold-dark);
    font-size: 22px;
}

.academic-philosophy__point h3 {
    color: var(--navy);
    font-size: 16px;
    margin-bottom: 6px;
}

.academic-philosophy__point p {
    color: var(--muted);
    font-size: 13px;
    line-height: 1.8;
}

/* RESPONSIVE */

@media (max-width: 900px) {

    .academic-hero__inner,
    .academic-intro__grid,
    .academic-philosophy__grid {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .academic-hero {
        padding: 65px 0;
    }

    .academic-hero__visual {
        height: 450px;
    }

    .academic-hero__floating {
        left: 15px;
    }

    .academic-stage-grid {
        grid-template-columns: 1fr;
    }

    .academic-philosophy__visual {
        height: 450px;
    }
}

@media (max-width: 600px) {

    .academic-hero__content h1 {
        font-size: 43px;
    }

    .academic-hero__visual {
        height: 350px;
    }

    .academic-hero__floating {
        padding: 18px 20px;
    }

    .academic-stages__heading {
        display: block;
    }

    .academic-stages__heading p {
        margin-top: 15px;
    }

    .academic-stage-card__body {
        padding: 28px 25px;
    }

    .academic-philosophy__visual {
        height: 350px;
    }
}

/* ==========================================
   ADMISSIONS PAGE
   ========================================== */


/* ==========================================
   ELLYOM INTERNATIONAL SCHOOL
   ADMISSIONS PAGE
   ========================================== */

/* HERO */

.admission-hero {
    background: var(--cream);
    padding: 90px 0 110px;
    overflow: hidden;
}

.admission-hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 85px;
    align-items: center;
}

.admission-hero__content h1 {
    font-family: var(--font-display);
    font-size: clamp(48px, 5.4vw, 78px);
    line-height: 1.14;
    letter-spacing: -.04em;
    color: var(--navy);
    margin: 25px 0 30px;
}

.admission-hero__content h1 em {
    display: block;
    color: var(--gold-dark);
    font-weight: 500;
}

.admission-hero__content > p {
    color: var(--muted);
    line-height: 2;
    max-width: 475px;
    font-size: 16px;
}

.admission-hero__actions {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 35px;
}

.admission-button-primary,
.admission-button-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 14px 22px;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
    transition: background .25s ease,
    color .25s ease,
    transform .25s ease;
}

.admission-button-primary {
    background: var(--navy);
    color: white;
}

.admission-button-primary:hover {
    background: var(--navy-light);
    transform: translateY(-2px);
}

.admission-button-secondary {
    border: 1px solid var(--navy);
    color: var(--navy);
}

.admission-button-secondary:hover {
    background: var(--navy);
    color: white;
}

.admission-hero__note {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-top: 40px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.8;
}

.admission-hero__note-icon {
    color: var(--gold-dark);
    font-size: 20px;
}

.admission-hero__visual {
    position: relative;
    height: 570px;
}

.admission-hero__visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 240px 240px 5px 5px;
}

.admission-hero__image-caption {
    position: absolute;
    bottom: 30px;
    left: -25px;
    background: var(--navy);
    padding: 20px 26px;
    display: flex;
    gap: 15px;
    color: var(--gold);
    font-size: 11px;
    letter-spacing: .08em;
    font-weight: 800;
    box-shadow: 0 14px 40px rgba(0, 0, 0, .13);
}

/* WELCOME */

.admission-welcome__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 95px;
}

.admission-welcome__grid p {
    color: var(--muted);
    font-size: 16px;
    line-height: 2;
    margin-bottom: 18px;
}

.admission-welcome__grid .text-link {
    margin-top: 15px;
}

/* ADMISSIONS JOURNEY */

.admission-journey {
    background: var(--cream);
}

.admission-section-heading {
    max-width: 680px;
    margin-bottom: 55px;
}

.admission-section-heading p {
    color: var(--muted);
    line-height: 1.9;
    margin-top: 20px;
}

.admission-steps {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.admission-step {
    background: white;
    border: 1px solid var(--border);
    padding: 32px 27px;
    min-height: 290px;
    transition: transform .3s ease,
    box-shadow .3s ease;
}

.admission-step:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(10, 30, 60, .07);
}

.admission-step__number {
    color: var(--gold-dark);
    font-family: var(--font-display);
    font-size: 46px;
    margin-bottom: 35px;
}

.admission-step h3 {
    color: var(--navy);
    font-size: 17px;
    margin-bottom: 14px;
}

.admission-step p {
    color: var(--muted);
    font-size: 13px;
    line-height: 1.9;
}

/* CLASSES */

.admission-classes {
    background: white;
}

.admission-classes__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 90px;
    align-items: center;
}

.admission-classes__content > p {
    color: var(--muted);
    line-height: 1.9;
    margin: 20px 0 30px;
}

.admission-class-list {
    border-top: 1px solid var(--border);
    margin-bottom: 30px;
}

.admission-class-list > div {
    display: flex;
    align-items: center;
    gap: 25px;
    padding: 18px 0;
    border-bottom: 1px solid var(--border);
}

.admission-class-list span {
    color: var(--gold-dark);
    font-size: 12px;
    font-weight: 800;
}

.admission-class-list strong {
    color: var(--navy);
    font-size: 18px;
}

.admission-class-list small {
    margin-left: auto;
    color: var(--muted);
    font-size: 12px;
}

.admission-classes__visual {
    position: relative;
    height: 600px;
}

.admission-classes__visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.admission-classes__image-tag {
    position: absolute;
    bottom: 0;
    left: 0;
    background: var(--gold);
    color: var(--navy);
    padding: 18px 25px;
    font-size: 13px;
    font-weight: 800;
}

/* ENQUIRY SECTION */

.admission-enquiry {
    background: var(--navy);
}

.admission-enquiry__grid {
    display: grid;
    grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
    gap: 85px;
    align-items: start;
}

.admission-enquiry__intro .section-eyebrow {
    color: var(--gold);
}

.admission-enquiry__intro h2 {
    color: white;
    font-size: clamp(38px, 4vw, 58px);
    line-height: 1.25;
    margin: 22px 0;
}

.admission-enquiry__intro h2 em {
    color: var(--gold);
    font-weight: 500;
}

.admission-enquiry__intro > p {
    color: #c5cedb;
    line-height: 1.9;
    margin-bottom: 45px;
}

.admission-contact-detail {
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, .16);
}

.admission-contact-detail > span {
    display: block;
    color: var(--gold);
    font-size: 10px;
    letter-spacing: .16em;
    font-weight: 800;
    margin-bottom: 10px;
}

.admission-contact-detail a,
.admission-contact-detail p {
    display: block;
    color: white;
    text-decoration: none;
    overflow-wrap: anywhere;
    line-height: 1.7;
}

.admission-contact-detail a:hover {
    color: var(--gold);
}

/* FORM CARD */

.admission-form-card {
    background: white;
    padding: 45px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, .13);
}

.admission-form-card__heading {
    margin-bottom: 35px;
}

.admission-form-card__heading > span {
    color: var(--gold-dark);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .16em;
}

.admission-form-card__heading h3 {
    font-family: var(--font-display);
    font-size: 34px;
    color: var(--navy);
    margin: 12px 0;
}

.admission-form-card__heading p {
    color: var(--muted);
    font-size: 13px;
    line-height: 1.8;
}

.admission-form-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 18px;
}

.admission-form-field {
    margin-bottom: 22px;
}

.admission-form-field label {
    display: block;
    color: var(--navy);
    font-size: 12px;
    font-weight: 800;
    margin-bottom: 9px;
}

.admission-form-field input,
.admission-form-field select,
.admission-form-field textarea {
    width: 100%;
    min-width: 0;
    border: 1px solid #d9dee5;
    background: #fbfbfa;
    padding: 14px 15px;
    color: var(--navy);
    font-family: var(--font-body);
    font-size: 13px;
    border-radius: 0;
    outline: none;
    transition: border-color .2s ease,
    box-shadow .2s ease;
}

.admission-form-field input:focus,
.admission-form-field select:focus,
.admission-form-field textarea:focus {
    border-color: var(--gold-dark);
    box-shadow: 0 0 0 3px rgba(233, 180, 55, .15);
}

.admission-form-field textarea {
    resize: vertical;
    min-height: 125px;
}

/* SUBMIT BUTTON */

.admission-submit {
    display: block;
    width: 100%;
    background: var(--gold);
    border: 0;
    padding: 18px 22px;
    color: var(--navy);
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
    transition: background .25s ease,
    transform .25s ease;
}

.admission-submit:hover:not(:disabled) {
    background: #f1c75b;
    transform: translateY(-2px);
}

.admission-submit:disabled {
    opacity: .65;
    cursor: wait;
}

.admission-form-note {
    color: var(--muted);
    font-size: 11px;
    line-height: 1.8;
    margin-top: 15px;
}

/* SUCCESS AND ERROR MESSAGES */

.admission-form-status {
    margin-top: 18px;
    padding: 16px 18px;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.7;
}

.admission-form-status[hidden] {
    display: none;
}

.admission-form-status.is-success {
    background: #e8f5ec;
    color: #23683a;
    border-left: 4px solid #2c9950;
}

.admission-form-status.is-error {
    background: #fff0ee;
    color: #a12f25;
    border-left: 4px solid #c74739;
}

/* RESPONSIVE */

@media (max-width: 1100px) {

    .admission-steps {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .admission-enquiry__grid {
        gap: 45px;
    }
}

@media (max-width: 900px) {

    .admission-hero__grid,
    .admission-welcome__grid,
    .admission-classes__grid,
    .admission-enquiry__grid {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .admission-hero {
        padding: 65px 0;
    }

    .admission-hero__visual {
        height: 450px;
    }

    .admission-hero__image-caption {
        left: 15px;
    }

    .admission-classes__visual {
        height: 450px;
    }
}

@media (max-width: 600px) {

    .admission-hero__content h1 {
        font-size: 43px;
    }

    .admission-hero__visual {
        height: 350px;
    }

    .admission-steps {
        grid-template-columns: 1fr;
    }

    .admission-step {
        min-height: auto;
    }

    .admission-form-card {
        padding: 28px 20px;
    }

    .admission-form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .admission-classes__visual {
        height: 350px;
    }

    .admission-hero__image-caption {
        gap: 9px;
        padding: 15px;
        font-size: 9px;
    }
}


/* ==========================================
   ELLYOM GALLERY PAGE
   ========================================== */

.gallery-hero {
    background: var(--cream);
    padding: 105px 0 115px;
    overflow: hidden;
}

.gallery-hero__inner {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 50px;
}

.gallery-hero__copy {
    max-width: 780px;
}

.gallery-hero h1 {
    font-family: var(--font-display);
    font-size: clamp(52px, 7vw, 100px);
    line-height: 1.13;
    letter-spacing: -.05em;
    color: var(--navy);
    margin: 26px 0 30px;
}

.gallery-hero h1 em {
    display: block;
    color: var(--gold-dark);
    font-weight: 500;
}

.gallery-hero__copy > p {
    color: var(--muted);
    font-size: 16px;
    line-height: 1.9;
    max-width: 530px;
}

.gallery-hero__detail {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-shrink: 0;
    padding-bottom: 10px;
    color: var(--navy);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .15em;
    line-height: 2.1;
}

.gallery-hero__asterisk {
    color: var(--gold-dark);
    font-size: 80px;
    font-weight: 400;
    line-height: 1;
}

.gallery-section {
    background: white;
}

.gallery-heading {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 35px;
    margin-bottom: 45px;
}

.gallery-heading h2 {
    margin-top: 18px;
}

.gallery-heading > p {
    max-width: 300px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.9;
}

/* FILTER BUTTONS */

.gallery-filters {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 35px;
}

.gallery-filter {
    appearance: none;
    background: transparent;
    border: 1px solid var(--border);
    padding: 12px 22px;
    color: var(--navy);
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
    transition: background .2s ease,
    color .2s ease,
    border-color .2s ease;
}

.gallery-filter:hover {
    border-color: var(--navy);
}

.gallery-filter.is-active {
    background: var(--navy);
    border-color: var(--navy);
    color: white;
}

/* MASONRY-STYLE GRID */

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-auto-flow: dense;
    grid-auto-rows: 230px;
    gap: 16px;
}

.gallery-item {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    min-width: 0;
    padding: 0;
    overflow: hidden;
    border: 0;
    background: var(--cream);
    text-align: left;
    cursor: pointer;
}

.gallery-item[hidden] {
    display: none !important;
}

.gallery-item--large {
    grid-column: span 2;
    grid-row: span 2;
}

.gallery-item--wide {
    grid-column: span 2;
}

.gallery-item img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s cubic-bezier(.2, .7, .2, 1);
}

.gallery-item:hover img,
.gallery-item:focus-visible img {
    transform: scale(1.055);
}

.gallery-item__overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 15px;
    padding: 25px;
    color: white;
    background: linear-gradient(
            to top,
            rgba(5, 17, 37, .8),
            rgba(5, 17, 37, .12) 55%,
            transparent
    );
    opacity: .95;
    transition: background .3s ease;
}

.gallery-item__overlay small {
    display: block;
    color: var(--gold);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .16em;
    margin-bottom: 8px;
}

.gallery-item__overlay strong {
    display: block;
    font-family: var(--font-display);
    font-size: clamp(17px, 2vw, 25px);
    line-height: 1.25;
    font-weight: 600;
}

.gallery-item__expand {
    display: grid;
    place-items: center;
    width: 37px;
    height: 37px;
    flex-shrink: 0;
    border: 1px solid rgba(255, 255, 255, .7);
    font-size: 20px;
    transition: background .25s ease,
    color .25s ease;
}

.gallery-item:hover .gallery-item__expand {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--navy);
}

.gallery-empty {
    padding: 45px 20px;
    color: var(--muted);
    text-align: center;
    background: var(--cream);
}

.gallery-empty[hidden] {
    display: none;
}

.gallery-bottom-note {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 18px;
    margin-top: 55px;
    padding-top: 30px;
    border-top: 1px solid var(--border);
    color: var(--muted);
    font-size: 13px;
    line-height: 1.8;
}

.gallery-bottom-note > span {
    color: var(--gold-dark);
    font-size: 30px;
}

.gallery-bottom-note p {
    max-width: 440px;
}

/* LIGHTBOX */

.gallery-lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(4, 13, 29, .96);
    padding: 65px 100px 35px;
}

.gallery-lightbox[hidden] {
    display: none !important;
}

.gallery-lightbox__figure {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    max-width: 1100px;
    width: 100%;
    max-height: 100%;
    margin: 0;
}

.gallery-lightbox__figure img {
    display: block;
    width: auto;
    max-width: 100%;
    max-height: calc(100vh - 175px);
    object-fit: contain;
    box-shadow: 0 15px 60px rgba(0, 0, 0, .3);
}

.gallery-lightbox__figure figcaption {
    display: flex;
    justify-content: space-between;
    gap: 25px;
    width: 100%;
    padding-top: 20px;
    color: white;
    font-size: 13px;
    line-height: 1.5;
}

#galleryLightboxCount {
    color: var(--gold);
    white-space: nowrap;
}

.gallery-lightbox__close,
.gallery-lightbox__arrow {
    appearance: none;
    position: absolute;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .25);
    background: rgba(255, 255, 255, .07);
    color: white;
    cursor: pointer;
    transition: background .2s ease;
}

.gallery-lightbox__close:hover,
.gallery-lightbox__arrow:hover {
    background: var(--gold-dark);
    color: var(--navy);
}

.gallery-lightbox__close {
    top: 20px;
    right: 25px;
    width: 46px;
    height: 46px;
    font-size: 31px;
}

.gallery-lightbox__arrow {
    top: 50%;
    transform: translateY(-50%);
    width: 52px;
    height: 52px;
    font-size: 25px;
}

.gallery-lightbox__arrow--prev {
    left: 24px;
}

.gallery-lightbox__arrow--next {
    right: 24px;
}

body.gallery-lightbox-open {
    overflow: hidden;
}

/* RESPONSIVE */

@media (max-width: 900px) {
    .gallery-hero {
        padding: 75px 0;
    }

    .gallery-hero__inner,
    .gallery-heading {
        flex-direction: column;
        align-items: flex-start;
        gap: 25px;
    }

    .gallery-hero__detail {
        padding-top: 20px;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-auto-rows: 210px;
    }

    .gallery-lightbox {
        padding: 75px 65px 35px;
    }

    .gallery-lightbox__arrow {
        width: 40px;
        height: 45px;
    }

    .gallery-lightbox__arrow--prev {
        left: 10px;
    }

    .gallery-lightbox__arrow--next {
        right: 10px;
    }
}

@media (max-width: 600px) {
    .gallery-hero h1 {
        font-size: 48px;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-auto-rows: 170px;
        gap: 10px;
    }

    .gallery-item--large,
    .gallery-item--wide {
        grid-column: span 2;
    }

    .gallery-item--large {
        grid-row: span 2;
    }

    .gallery-item__overlay {
        padding: 14px;
    }

    .gallery-item__overlay strong {
        font-size: 16px;
    }

    .gallery-item__expand {
        width: 28px;
        height: 28px;
        font-size: 16px;
    }

    .gallery-filter {
        padding: 10px 14px;
        font-size: 11px;
    }

    .gallery-lightbox {
        padding: 80px 15px 80px;
    }

    .gallery-lightbox__figure img {
        max-height: calc(100vh - 210px);
    }

    .gallery-lightbox__arrow {
        top: auto;
        bottom: 15px;
        transform: none;
    }

    .gallery-lightbox__arrow--prev {
        left: 20px;
    }

    .gallery-lightbox__arrow--next {
        right: 20px;
    }

    .gallery-lightbox__close {
        top: 15px;
        right: 15px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .gallery-item img,
    .gallery-filter,
    .gallery-item__expand {
        transition: none;
    }
}


/* ==========================================
   ELLYOM CONTACT PAGE
   ========================================== */

.contact-hero {
    background: var(--cream);
    padding: 115px 0 120px;
    overflow: hidden;
}

.contact-hero__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 65px;
}

.contact-hero__copy {
    max-width: 760px;
}

.contact-hero h1 {
    font-family: var(--font-display);
    font-size: clamp(54px, 7vw, 100px);
    line-height: 1.12;
    letter-spacing: -.05em;
    color: var(--navy);
    margin: 25px 0 30px;
}

.contact-hero h1 em {
    display: block;
    color: var(--gold-dark);
    font-weight: 500;
}

.contact-hero__copy > p {
    max-width: 525px;
    color: var(--muted);
    font-size: 16px;
    line-height: 1.95;
    margin-bottom: 35px;
}

.contact-hero__button,
.contact-visit-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 17px 28px;
    background: var(--navy);
    color: white;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
    transition: background .2s ease, transform .2s ease;
}

.contact-hero__button:hover,
.contact-visit-button:hover {
    background: var(--navy-light);
    transform: translateY(-2px);
}

.contact-hero__decoration {
    display: flex;
    align-items: center;
    gap: 22px;
    flex-shrink: 0;
}

.contact-hero__circle {
    font-size: 125px;
    line-height: 1;
    color: var(--gold-dark);
}

.contact-hero__motto {
    font-size: 12px;
    line-height: 2.2;
    letter-spacing: .18em;
    font-weight: 800;
    color: var(--navy);
}

/* CONTACT INFORMATION */

.contact-info-section {
    background: white;
}

.contact-section-heading {
    max-width: 700px;
    margin-bottom: 45px;
}

.contact-section-heading h2 {
    margin-top: 18px;
}

.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.contact-info-card {
    background: var(--cream);
    padding: 38px 32px 42px;
    min-height: 320px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    transition: transform .25s ease, box-shadow .25s ease;
}

.contact-info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(10, 29, 60, .07);
}

.contact-info-card__icon {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    background: var(--gold);
    color: var(--navy);
    font-size: 25px;
    margin-bottom: 27px;
}

.contact-info-card > span {
    color: var(--gold-dark);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .16em;
}

.contact-info-card h3 {
    font-family: var(--font-display);
    color: var(--navy);
    font-size: 29px;
    margin: 14px 0;
}

.contact-info-card p {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.9;
    margin-bottom: 25px;
}

.contact-info-card a {
    margin-top: auto;
    color: var(--navy);
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
    overflow-wrap: anywhere;
}

.contact-info-card a:hover {
    color: var(--gold-dark);
}

/* MESSAGE SECTION */

.contact-message-section {
    background: var(--navy);
}

.contact-message-grid {
    display: grid;
    grid-template-columns: .85fr 1.15fr;
    gap: 85px;
    align-items: start;
}

.contact-message-intro {
    padding-top: 40px;
}

.contact-message-intro .section-eyebrow {
    color: var(--gold);
}

.contact-message-intro h2 {
    color: white;
    font-size: clamp(40px, 4.5vw, 68px);
    line-height: 1.2;
    margin: 24px 0 28px;
}

.contact-message-intro h2 em {
    color: var(--gold);
    font-weight: 500;
}

.contact-message-intro > p {
    color: rgba(255, 255, 255, .75);
    font-size: 15px;
    line-height: 2;
    margin-bottom: 40px;
}

.contact-message-highlight {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    border-top: 1px solid rgba(255, 255, 255, .2);
    padding: 28px 0;
}

.contact-message-highlight > span {
    color: var(--gold);
    font-size: 28px;
}

.contact-message-highlight p {
    color: rgba(255, 255, 255, .8);
    font-size: 14px;
    line-height: 1.9;
}

.contact-message-intro .text-link {
    color: var(--gold);
}

/* CONTACT FORM */

.contact-form-card {
    background: white;
    padding: 48px;
    box-shadow: 0 25px 65px rgba(0, 0, 0, .1);
}

.contact-form-card__header {
    margin-bottom: 32px;
}

.contact-form-card__header > span {
    color: var(--gold-dark);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .15em;
}

.contact-form-card__header h3 {
    font-family: var(--font-display);
    color: var(--navy);
    font-size: 35px;
    margin: 13px 0;
}

.contact-form-card__header p {
    color: var(--muted);
    font-size: 13px;
}

.contact-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.contact-form-field {
    margin-bottom: 23px;
}

.contact-form-field label {
    display: block;
    color: var(--navy);
    font-size: 12px;
    font-weight: 800;
    margin-bottom: 10px;
}

.contact-form-field input,
.contact-form-field select,
.contact-form-field textarea {
    display: block;
    width: 100%;
    padding: 15px 16px;
    border: 1px solid #dedfe4;
    border-radius: 0;
    background: white;
    color: var(--navy);
    font-family: var(--font-body);
    font-size: 14px;
    outline: none;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.contact-form-field input:focus,
.contact-form-field select:focus,
.contact-form-field textarea:focus {
    border-color: var(--gold-dark);
    box-shadow: 0 0 0 3px rgba(233, 180, 55, .15);
}

.contact-form-field textarea {
    resize: vertical;
    min-height: 140px;
}

.contact-form-field input::placeholder,
.contact-form-field textarea::placeholder {
    color: #9aa2b0;
}

.contact-honeypot {
    display: none !important;
}

.contact-submit {
    display: block;
    width: 100%;
    padding: 19px 24px;
    border: 0;
    background: var(--gold);
    color: var(--navy);
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
    transition: background .2s ease, transform .2s ease;
}

.contact-submit:hover {
    background: #f2c451;
    transform: translateY(-2px);
}

.contact-submit:disabled {
    cursor: wait;
    opacity: .7;
    transform: none;
}

.contact-form-status {
    margin-top: 20px;
    padding: 17px 20px;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.8;
}

.contact-form-status[hidden] {
    display: none;
}

.contact-form-status.is-success {
    background: #e7f5ec;
    border-left: 4px solid #2c9c5b;
    color: #17643a;
}

.contact-form-status.is-error {
    background: #fff0ee;
    border-left: 4px solid #d44b42;
    color: #9b302b;
}

.contact-form-privacy {
    margin-top: 18px;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.8;
}

/* SCHOOL VISIT */

.contact-visit-section {
    background: var(--cream);
    overflow: hidden;
}

.contact-visit-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.contact-visit-content {
    padding: 90px 0;
}

.contact-visit-content h2 {
    font-size: clamp(38px, 4vw, 60px);
    line-height: 1.22;
    margin: 22px 0 25px;
}

.contact-visit-content h2 em {
    color: var(--gold-dark);
    font-weight: 500;
}

.contact-visit-content p {
    max-width: 430px;
    color: var(--muted);
    font-size: 15px;
    line-height: 2;
    margin-bottom: 30px;
}

.contact-visit-visual {
    position: relative;
    height: 570px;
}

.contact-visit-visual img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.contact-visit-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    background: var(--gold);
    color: var(--navy);
    padding: 20px 27px;
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 600;
    max-width: 290px;
}

/* RESPONSIVE */

@media (max-width: 1000px) {
    .contact-message-grid {
        gap: 45px;
    }

    .contact-form-card {
        padding: 35px;
    }
}

@media (max-width: 900px) {
    .contact-hero {
        padding: 80px 0;
    }

    .contact-hero__inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 35px;
    }

    .contact-hero__circle {
        font-size: 80px;
    }

    .contact-info-grid {
        grid-template-columns: 1fr;
    }

    .contact-info-card {
        min-height: auto;
    }

    .contact-message-grid,
    .contact-visit-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-message-intro {
        padding-top: 0;
    }

    .contact-visit-content {
        padding: 75px 0 0;
    }

    .contact-visit-visual {
        height: 450px;
    }
}

@media (max-width: 600px) {
    .contact-hero h1 {
        font-size: 48px;
    }

    .contact-form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .contact-form-card {
        padding: 28px 20px;
    }

    .contact-form-card__header h3 {
        font-size: 30px;
    }

    .contact-visit-visual {
        height: 350px;
    }

    .contact-visit-caption {
        font-size: 15px;
        padding: 15px 20px;
    }
}
