/* ==========================================================================
   Diamond Springs College — main stylesheet
   Mobile-first. Built on Bootstrap 5; this file holds the school's design
   system (colours, type, components). Edit the tokens below to restyle.
   ========================================================================== */

/* ---------- 1. Design tokens ---------- */
:root {
    --navy: #0a1e46;
    --navy-700: #13306b;
    --navy-900: #061331;
    --blue: #2a8bd8;          /* diamond blue (decorative) */
    --blue-700: #1565b8;      /* diamond blue for text/links (AA on white) */
    --blue-100: #9fd6ff;
    --sky: #eaf3fc;
    --magenta: #c2185b;       /* accent: admissions CTAs, highlights */
    --magenta-700: #a01149;
    --magenta-100: #fbe4ee;
    --grey-50: #f4f7fb;
    --grey-200: #e2e8f0;
    --grey-400: #b4bfcd;
    --charcoal: #2b2f36;
    --muted: #586274;
    --white: #ffffff;

    --font-body: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    --font-heading: "Playfair Display", Georgia, "Times New Roman", serif;

    --radius-sm: 10px;
    --radius: 16px;
    --radius-lg: 24px;
    --shadow-sm: 0 2px 8px rgba(10, 30, 70, .06);
    --shadow: 0 12px 32px rgba(10, 30, 70, .10);
    --shadow-lg: 0 24px 60px rgba(6, 19, 49, .18);
    --ease: cubic-bezier(.2, .7, .2, 1);

    --bs-body-font-family: var(--font-body);
    --bs-body-color: var(--charcoal);
    --bs-link-color: var(--blue-700);
    --bs-link-color-rgb: 21, 101, 184;
    --bs-link-hover-color: var(--navy);
    --bs-link-hover-color-rgb: 10, 30, 70;
    --bs-border-radius: var(--radius-sm);
    --bs-focus-ring-color: rgba(42, 139, 216, .35);
}

/* ---------- 2. Base ---------- */
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.7;
    color: var(--charcoal);
    background: var(--white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, h5, h6 { color: var(--navy); line-height: 1.25; font-weight: 700; }
h1, h2 { font-family: var(--font-heading); letter-spacing: -.01em; }
h3, h4, h5, h6 { font-family: var(--font-body); }
p { margin-bottom: 1rem; }
img { max-width: 100%; height: auto; }
a { text-underline-offset: .2em; }
main:focus { outline: none; }
address { font-style: normal; }
.narrow { max-width: 860px; }

:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
.site-footer :focus-visible,
.topbar :focus-visible,
.hero :focus-visible,
.admissions-cta :focus-visible,
.page-hero :focus-visible,
.section-values :focus-visible,
.info-card-navy :focus-visible { outline-color: var(--white); }

.skip-link {
    position: absolute; left: 1rem; top: -100px; z-index: 2000;
    background: var(--navy); color: var(--white); padding: .75rem 1.25rem;
    border-radius: 0 0 var(--radius-sm) var(--radius-sm); font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 0; color: var(--white); }

/* ---------- 3. Buttons ---------- */
.btn {
    --bs-btn-font-weight: 600;
    --bs-btn-padding-x: 1.35rem;
    --bs-btn-padding-y: .7rem;
    --bs-btn-border-radius: 999px;
    letter-spacing: .01em;
    transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
}
.btn-lg { --bs-btn-padding-x: 1.75rem; --bs-btn-padding-y: .85rem; --bs-btn-font-size: 1.02rem; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: none; }
.btn-primary {
    --bs-btn-bg: var(--navy); --bs-btn-border-color: var(--navy);
    --bs-btn-hover-bg: var(--navy-700); --bs-btn-hover-border-color: var(--navy-700);
    --bs-btn-active-bg: var(--navy-900); --bs-btn-active-border-color: var(--navy-900);
    --bs-btn-disabled-bg: var(--navy); --bs-btn-disabled-border-color: var(--navy);
}
.btn-accent {
    --bs-btn-color: var(--white); --bs-btn-bg: var(--magenta); --bs-btn-border-color: var(--magenta);
    --bs-btn-hover-color: var(--white); --bs-btn-hover-bg: var(--magenta-700); --bs-btn-hover-border-color: var(--magenta-700);
    --bs-btn-active-color: var(--white); --bs-btn-active-bg: var(--magenta-700); --bs-btn-active-border-color: var(--magenta-700);
    --bs-btn-disabled-color: var(--white); --bs-btn-disabled-bg: var(--magenta); --bs-btn-disabled-border-color: var(--magenta);
    box-shadow: 0 8px 20px rgba(194, 24, 91, .25);
}
.btn-outline-primary {
    --bs-btn-color: var(--navy); --bs-btn-border-color: var(--navy);
    --bs-btn-hover-bg: var(--navy); --bs-btn-hover-border-color: var(--navy); --bs-btn-hover-color: var(--white);
    --bs-btn-active-bg: var(--navy-900); --bs-btn-active-border-color: var(--navy-900);
    border-width: 2px;
}
.btn-outline-light { border-width: 2px; --bs-btn-hover-color: var(--navy); }

/* ---------- 4. Top bar ---------- */
.topbar {
    background: var(--navy-900);
    color: rgba(255, 255, 255, .88);
    font-size: .85rem;
    padding: .5rem 0;
}
.topbar a { color: inherit; text-decoration: none; }
.topbar a:hover { color: var(--white); }
.topbar-item { display: inline-flex; align-items: center; gap: .45rem; white-space: nowrap; }
.topbar-item .bi { color: var(--blue-100); }
.topbar-announcement { display: inline-flex; align-items: center; gap: .55rem; min-width: 0; }
.topbar-announcement span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.topbar-announcement strong { color: var(--white); }
.badge-pulse {
    flex-shrink: 0; width: .55rem; height: .55rem; border-radius: 50%;
    background: #ff4f9a; box-shadow: 0 0 0 0 rgba(255, 79, 154, .6);
    animation: pulse 2.2s infinite;
}
@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(255, 79, 154, .55); }
    70% { box-shadow: 0 0 0 9px rgba(255, 79, 154, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 79, 154, 0); }
}

/* ---------- 5. Header & navigation ---------- */
.site-header {
    /* Solid background on purpose: backdrop-filter would trap the fixed
       mobile menu (offcanvas) inside the header. */
    background: var(--white);
    border-bottom: 1px solid var(--grey-200);
    transition: box-shadow .25s var(--ease);
}
.site-header.is-scrolled { box-shadow: 0 6px 24px rgba(10, 30, 70, .08); }
.site-header .navbar { padding: .6rem 0; }
.brand { display: flex; align-items: center; gap: .7rem; margin-right: 1rem; text-decoration: none; min-width: 0; }
.brand-logo { height: 58px; width: auto; object-fit: contain; flex-shrink: 0; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.brand-name { font-family: var(--font-heading); font-weight: 700; font-size: 1.05rem; color: var(--navy); white-space: nowrap; }
.brand-motto { font-size: .62rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--magenta); margin-top: .2rem; white-space: nowrap; }

.navbar-toggler {
    border: 0; font-size: 1.9rem; color: var(--navy); padding: .25rem .4rem; border-radius: var(--radius-sm);
}
.navbar-toggler:focus { box-shadow: none; }
.navbar-toggler:focus-visible { outline: 3px solid var(--blue); }

.navbar-nav .nav-link {
    color: var(--charcoal); font-weight: 600; font-size: .95rem;
    padding: .7rem .2rem; position: relative;
}
.navbar-nav .nav-link:hover, .navbar-nav .nav-link:focus-visible { color: var(--navy); }
.navbar-nav .nav-link.active { color: var(--navy); }
.navbar-nav .nav-link.active::after {
    content: ""; position: absolute; left: .2rem; bottom: .35rem; width: 1.4rem; height: 3px;
    border-radius: 3px; background: var(--magenta);
}
.offcanvas { --bs-offcanvas-width: min(340px, 88vw); }
.offcanvas-header { border-bottom: 1px solid var(--grey-200); }
.offcanvas-body { display: flex; flex-direction: column; gap: 1rem; }
@media (max-width: 1199.98px) {
    .offcanvas .navbar-nav .nav-link { border-bottom: 1px solid var(--grey-200); padding: .85rem .2rem; }
    .offcanvas .navbar-nav .nav-link.active::after { left: auto; right: .2rem; bottom: 50%; transform: translateY(50%); width: .5rem; height: .5rem; border-radius: 50%; }
}
.nav-cta { white-space: nowrap; }
.nav-portal { display: inline-flex; align-items: center; gap: .35rem; }
.nav-portal .bi { color: var(--magenta); }
.offcanvas-contact { margin-top: auto; padding-top: 1rem; border-top: 1px solid var(--grey-200); }
.offcanvas-contact a { display: flex; align-items: center; gap: .5rem; padding: .3rem 0; font-weight: 600; text-decoration: none; color: var(--navy); }

.portal-menu { --bs-dropdown-min-width: 17rem; --bs-dropdown-border-color: var(--grey-200); --bs-dropdown-link-active-bg: var(--sky); --bs-dropdown-link-active-color: var(--navy); border-radius: var(--radius-sm); box-shadow: var(--shadow); padding: .4rem; }
.portal-menu .dropdown-item { display: flex; align-items: center; gap: .6rem; padding: .6rem .75rem; border-radius: 8px; font-weight: 500; }
.portal-menu .dropdown-item .bi { color: var(--blue-700); }
.badge-soon {
    display: inline-block; margin-left: auto; font-size: .66rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
    color: var(--magenta-700); background: var(--magenta-100); padding: .18rem .5rem; border-radius: 999px; white-space: nowrap;
}
.badge-soon-lg { font-size: .75rem; padding: .35rem .8rem; }

@media (min-width: 1200px) {
    .offcanvas-body { flex-direction: row; gap: 1.25rem; }
    .navbar-nav { gap: 1.1rem; }
    .navbar-nav .nav-link { padding: .5rem 0; white-space: nowrap; font-size: .92rem; }
    .navbar-nav .nav-link.active::after { left: 0; bottom: -.05rem; }
    .brand { flex-shrink: 0; margin-right: 1.5rem; }
    .brand-logo { height: 68px; }
}
/* Desktop: the full menu needs the width, so the header shows the logo only.
   The school name appears in the hero, footer and the logo's alt text. */
@media (min-width: 1200px) {
    .brand-text { display: none; }
}
@media (min-width: 1400px) { .navbar-nav { gap: 1.5rem; } }
@media (max-width: 399.98px) {
    .brand-name { font-size: .92rem; }
    .brand-motto { font-size: .55rem; letter-spacing: .08em; }
    .brand-logo { height: 50px; }
}

/* ---------- 6. Hero ---------- */
.hero {
    position: relative; isolation: isolate; overflow: hidden;
    color: var(--white); background: var(--navy);
    padding: 4.5rem 0 4rem;
}
.hero-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% center; z-index: -2; }
.hero::before {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background: linear-gradient(180deg, rgba(10, 30, 70, .88) 0%, rgba(10, 30, 70, .92) 100%);
}
.hero::after {
    content: ""; position: absolute; z-index: -1; right: -120px; bottom: -120px; width: 340px; height: 340px;
    border: 2px solid rgba(224, 38, 122, .45); transform: rotate(45deg); border-radius: 28px;
}
.hero-kicker {
    display: inline-flex; align-items: center; gap: .6rem; font-size: .8rem; font-weight: 700;
    letter-spacing: .14em; text-transform: uppercase; color: var(--blue-100); margin-bottom: 1.25rem;
}
.diamond { width: .7rem; height: .7rem; background: var(--magenta); transform: rotate(45deg); flex-shrink: 0; }
.hero-title { font-size: clamp(2.25rem, 6vw, 4rem); color: var(--white); line-height: 1.1; margin-bottom: 1.25rem; }
.hero-title span { color: var(--blue-100); }
.hero-lead { font-size: 1.08rem; max-width: 36rem; color: rgba(255, 255, 255, .9); margin-bottom: 0; }
.hero-card {
    background: var(--white); color: var(--charcoal); border-radius: var(--radius-lg);
    padding: 1.75rem; box-shadow: var(--shadow-lg); border-top: 5px solid var(--magenta);
    max-width: 26rem;
}
.hero-card-session { display: flex; align-items: center; gap: .5rem; color: var(--muted); font-weight: 600; font-size: .9rem; margin-bottom: .5rem; }
.hero-card-session .bi { color: var(--blue-700); }
.hero-card-status { display: flex; align-items: center; gap: .6rem; font-family: var(--font-heading); font-size: 1.6rem; font-weight: 700; color: var(--navy); line-height: 1.2; margin-bottom: 1.1rem; }
.hero-card-status .badge-pulse { background: var(--magenta); }
.hero-card-classes { list-style: none; padding: 0; margin: 0 0 1.1rem; display: grid; gap: .55rem; }
.hero-card-classes li {
    display: flex; align-items: center; gap: .7rem; padding: .7rem .9rem; border-radius: var(--radius-sm);
    background: var(--grey-50); border: 1px solid var(--grey-200); font-weight: 700; color: var(--navy);
}
.hero-card-classes .bi { color: var(--magenta); }
.hero-card-range { margin-left: auto; font-size: .82rem; font-weight: 600; color: var(--muted); white-space: nowrap; }
.hero-card-curriculum { font-size: .85rem; color: var(--muted); border-top: 1px dashed var(--grey-200); padding-top: .9rem; }

@media (min-width: 992px) {
    .hero { padding: 7rem 0 6.5rem; min-height: 640px; display: flex; align-items: center; }
    .hero-inner { width: 100%; }
    .hero::before { background: linear-gradient(90deg, rgba(10, 30, 70, .96) 0%, rgba(10, 30, 70, .86) 45%, rgba(10, 30, 70, .55) 100%); }
    .hero-card { margin-left: auto; }
}

/* ---------- 7. Inner page hero ---------- */
.page-hero {
    position: relative; isolation: isolate; color: var(--white); padding: 3.25rem 0 3rem;
    background: var(--navy) var(--hero-image) center / cover no-repeat;
}
.page-hero::before {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background: linear-gradient(90deg, rgba(6, 19, 49, .95) 0%, rgba(10, 30, 70, .85) 60%, rgba(10, 30, 70, .7) 100%);
}
.page-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: linear-gradient(90deg, var(--magenta) 0 120px, var(--blue) 120px 240px, transparent 240px); }
.page-hero .breadcrumb { --bs-breadcrumb-divider-color: rgba(255, 255, 255, .6); --bs-breadcrumb-item-active-color: rgba(255, 255, 255, .85); font-size: .85rem; margin-bottom: .75rem; }
.page-hero .breadcrumb a { color: var(--blue-100); text-decoration: none; }
.page-hero .breadcrumb a:hover { color: var(--white); text-decoration: underline; }
.page-hero-title { color: var(--white); font-size: clamp(2rem, 5vw, 3rem); margin-bottom: .5rem; max-width: 46rem; }
.page-hero-lead { font-size: 1.08rem; color: rgba(255, 255, 255, .88); max-width: 40rem; margin: 0; }
@media (min-width: 992px) { .page-hero { padding: 5rem 0 4.5rem; } }

/* ---------- 8. Sections & headings ---------- */
.section { padding: 4.25rem 0; }
.section-tint { background: var(--grey-50); }
@media (min-width: 992px) { .section { padding: 6rem 0; } }

.section-heading { max-width: 44rem; margin-bottom: 2.25rem; }
.section-heading.text-center { margin-left: auto; margin-right: auto; }
.section-heading h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin-bottom: .75rem; }
.section-heading .lead-text { margin-bottom: 0; }
.section-heading:last-child { margin-bottom: 0; }
.col-lg-8 > .section-heading, .col-lg-6 > .section-heading { margin-bottom: 1.5rem; }
.row .col-lg-8 > .section-heading:only-child { margin-bottom: 0; }
.kicker {
    display: inline-flex; align-items: center; gap: .55rem;
    font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
    color: var(--magenta); margin-bottom: .6rem;
}
.kicker::before { content: ""; width: 1.6rem; height: 2px; background: currentColor; }
.text-center > .kicker::before { display: none; }
.kicker-light { color: #ff8cc0; }
.lead-text { font-size: 1.08rem; color: var(--muted); max-width: 40rem; }
.text-center .lead-text { margin-left: auto; margin-right: auto; }

.check-list { list-style: none; padding: 0; margin: 1.25rem 0 1.5rem; display: grid; gap: .65rem; }
.check-list li { display: flex; gap: .75rem; align-items: flex-start; }
.check-list .bi { color: var(--magenta); font-size: 1.1rem; margin-top: .15rem; flex-shrink: 0; }

.rounded-img { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow); aspect-ratio: 3 / 2; object-fit: cover; }

/* Welcome image stack */
.image-stack { position: relative; padding: 0 0 2rem 0; }
.image-stack-main { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.image-stack::before {
    content: ""; position: absolute; z-index: -1; left: -1rem; top: -1rem; width: 45%; height: 55%;
    border-radius: var(--radius-lg); background: repeating-linear-gradient(45deg, var(--sky) 0 8px, transparent 8px 16px);
}
.image-stack-badge {
    position: absolute; right: 1rem; bottom: 0; background: var(--navy); color: var(--white);
    padding: 1rem 1.4rem; border-radius: var(--radius); box-shadow: var(--shadow-lg); border-left: 4px solid var(--magenta);
}
.motto-line { font-weight: 700; letter-spacing: .08em; text-transform: uppercase; font-size: .82rem; }

/* Leadership portraits (home page welcome) */
.leaders { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; isolation: isolate; }
.leaders::before {
    content: ""; position: absolute; z-index: -1; left: -1rem; top: -1rem; width: 55%; height: 60%;
    border-radius: var(--radius-lg); background: repeating-linear-gradient(45deg, var(--sky) 0 8px, transparent 8px 16px);
}
.leader { margin: 0; background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column; }
.leader-offset { transform: translateY(2.5rem); }
.leader-photo { aspect-ratio: 4 / 5; background: var(--sky); overflow: hidden; }
.leader-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; transition: transform .6s var(--ease); }
.leader:hover .leader-photo img { transform: scale(1.03); }
.leader-initials { width: 100%; height: 100%; display: grid; place-items: center; font-family: var(--font-heading); font-size: 4rem; color: var(--navy); }
.leader-caption { padding: .9rem 1rem 1rem; border-top: 4px solid var(--magenta); flex: 1; }
.leader-title { display: block; font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--magenta); margin-bottom: .2rem; }
.leader-name { display: block; font-family: var(--font-heading); font-weight: 700; color: var(--navy); font-size: 1.02rem; line-height: 1.3; }
.leaders-motto {
    grid-column: 1 / -1; justify-self: center; margin-top: 3.5rem; white-space: nowrap;
    background: var(--navy); color: var(--white); padding: .75rem 1.25rem; border-radius: var(--radius); box-shadow: var(--shadow-lg); border-left: 4px solid var(--magenta);
}
@media (max-width: 575.98px) {
    .leaders { gap: .75rem; }
    .leaders-motto { margin-top: 2.5rem; }
    .leader-offset { transform: translateY(1.5rem); }
    .leader-name { font-size: .88rem; }
    .leaders-motto { font-size: .7rem; padding: .6rem .9rem; }
}

/* Directors (home page, below the welcome) */
.section-directors { padding-top: 1rem; }
.director {
    margin: 0; height: 100%; display: grid; grid-template-columns: 42% 1fr; align-items: stretch;
    background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow); overflow: hidden;
}
.director-photo { aspect-ratio: 4 / 5; background: var(--sky); overflow: hidden; }
.director-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; transition: transform .6s var(--ease); }
.director:hover .director-photo img { transform: scale(1.03); }
.director-caption {
    display: flex; flex-direction: column; justify-content: center; padding: 1.25rem 1.5rem;
    border-left: 4px solid var(--magenta);
    background: linear-gradient(160deg, var(--white) 55%, var(--sky));
}
.director-name { display: block; font-family: var(--font-heading); font-weight: 700; color: var(--navy); font-size: 1.2rem; line-height: 1.3; }
@media (max-width: 575.98px) {
    .director-caption { padding: 1rem; }
    .director-name { font-size: 1rem; }
}

/* ---------- 9. Cards ---------- */
.feature-card, .class-card, .mini-card, .statement-card, .portal-card, .info-card, .form-card, .value-card {
    background: var(--white); border: 1px solid var(--grey-200); border-radius: var(--radius); padding: 1.75rem;
}
.feature-card { transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease); }
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.feature-icon, .class-card-icon, .portal-icon {
    width: 3.25rem; height: 3.25rem; border-radius: 14px; display: grid; place-items: center;
    background: var(--sky); color: var(--navy); font-size: 1.45rem; margin-bottom: 1.15rem;
    transition: background-color .3s var(--ease), color .3s var(--ease);
}
.feature-card:hover .feature-icon { background: var(--navy); color: var(--white); }
.feature-title, .mini-card-title { font-size: 1.12rem; margin-bottom: .5rem; }
.feature-card p, .mini-card p, .class-card p { color: var(--muted); }

.class-card { position: relative; border-top: 4px solid var(--navy); box-shadow: var(--shadow-sm); display: flex; flex-direction: column; align-items: flex-start; }
.class-card:nth-child(n) { transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.class-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.class-card-level { font-size: .76rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--magenta); margin-bottom: .2rem; }
.class-card-title { font-family: var(--font-heading); font-size: 1.55rem; margin-bottom: .6rem; }
@media (min-width: 1200px) { .class-card-title { font-size: 1.4rem; } .class-card { padding: 1.6rem 1.4rem; } .class-card .status-pill { font-size: .74rem; white-space: nowrap; } }
.class-card .status-pill { margin-top: auto; }
.class-chips { list-style: none; padding: 0; margin: 0 0 1.25rem; display: flex; flex-wrap: wrap; gap: .4rem; }
.class-chips li { font-size: .8rem; font-weight: 600; color: var(--navy); background: var(--sky); border-radius: 999px; padding: .25rem .7rem; }
.class-chips li.is-upcoming { background: transparent; border: 1px dashed var(--grey-400); color: var(--muted); }
.class-chips li.is-upcoming span { font-weight: 500; font-size: .72rem; }
.class-note { text-align: center; color: var(--muted); font-size: .92rem; margin: 1.75rem 0 0; }
.status-pill {
    display: inline-flex; align-items: center; gap: .4rem; font-size: .8rem; font-weight: 600;
    color: #11663a; background: #e3f6ea; padding: .35rem .8rem; border-radius: 999px;
}

.mini-card { text-align: left; }
.mini-card > .bi { display: inline-grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: 12px; background: var(--magenta-100); color: var(--magenta); font-size: 1.25rem; margin-bottom: 1rem; }

.statement-card { padding: 2rem; border-left: 5px solid var(--magenta); box-shadow: var(--shadow-sm); }
.statement-title { font-size: 1.35rem; font-family: var(--font-heading); }
.statement-title .bi { color: var(--magenta); }
.statement-text { font-size: 1.08rem; }
.badge-draft { font-size: .7rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; background: #fff4d6; color: #7a5300; padding: .25rem .6rem; border-radius: 999px; white-space: nowrap; }

.info-card { background: var(--grey-50); }
.info-card-navy { background: var(--navy); color: rgba(255, 255, 255, .88); border-color: var(--navy); position: relative; overflow: hidden; }
.info-card-navy h2, .info-card-navy h3 { color: var(--white); }
.info-card-navy::after { content: ""; position: absolute; right: -40px; top: -40px; width: 120px; height: 120px; border: 2px solid rgba(224, 38, 122, .5); border-radius: 18px; transform: rotate(45deg); pointer-events: none; }
.note-card { display: flex; gap: .85rem; align-items: flex-start; background: var(--sky); border-radius: var(--radius-sm); padding: 1rem 1.15rem; margin-top: 1.25rem; }
.note-card .bi { color: var(--blue-700); font-size: 1.2rem; flex-shrink: 0; }

.curriculum-grid { display: grid; gap: 1rem; }
.curriculum-tile { background: var(--white); border: 1px solid var(--grey-200); border-radius: var(--radius); padding: 1.75rem; box-shadow: var(--shadow-sm); }
.curriculum-tile p { color: var(--muted); }
.curriculum-icon { display: inline-grid; place-items: center; width: 3rem; height: 3rem; border-radius: 50%; background: var(--navy); color: var(--white); font-size: 1.3rem; margin-bottom: 1rem; }
.curriculum-icon-alt { background: var(--magenta); }
@media (min-width: 576px) { .curriculum-grid { grid-template-columns: 1fr 1fr; } .curriculum-tile:last-child { transform: translateY(2rem); } }

/* ---------- 10. Admissions CTA ---------- */
.admissions-cta { padding: 3rem 0; }
.admissions-cta-inner {
    position: relative; overflow: hidden; isolation: isolate;
    background: var(--navy); color: rgba(255, 255, 255, .9);
    border-radius: var(--radius-lg); padding: 2.25rem 1.5rem;
    box-shadow: var(--shadow-lg);
}
.admissions-cta-inner::before {
    content: ""; position: absolute; z-index: -1; top: -30%; right: -18%; width: 60%; height: 160%;
    background: linear-gradient(160deg, var(--magenta) 0%, #8e0f43 100%); transform: skewX(-14deg); opacity: .95;
}
.admissions-cta-inner::after {
    content: ""; position: absolute; z-index: -1; left: -60px; bottom: -60px; width: 180px; height: 180px;
    border: 2px solid rgba(159, 214, 255, .35); border-radius: 24px; transform: rotate(45deg);
}
.admissions-cta-title { color: var(--white); font-size: clamp(1.7rem, 4vw, 2.5rem); margin-bottom: 1rem; }
.admissions-cta-text { font-size: 1.05rem; margin-bottom: 0; }
.admissions-cta-panel { background: rgba(6, 19, 49, .55); border: 1px solid rgba(255, 255, 255, .18); border-radius: var(--radius); padding: 1.5rem; backdrop-filter: blur(4px); }
.admissions-cta-label { font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--white); margin-bottom: .9rem; }
.admissions-class-list { list-style: none; margin: 0 0 1rem; padding: 0; display: grid; gap: .6rem; }
.admissions-class-list li { display: flex; align-items: center; gap: .75rem; background: var(--white); color: var(--navy); border-radius: var(--radius-sm); padding: .8rem 1rem; font-weight: 700; }
.admissions-class-list .bi { color: var(--magenta); }
.admissions-class-list small { margin-left: auto; color: var(--muted); font-weight: 500; font-size: .78rem; }
.admissions-cta-curriculum { font-size: .9rem; color: rgba(255, 255, 255, .92); }
@media (max-width: 991.98px) { .admissions-cta-inner::before { top: auto; bottom: -45%; right: -30%; width: 120%; height: 70%; } }
@media (min-width: 992px) { .admissions-cta { padding: 2rem 0 6rem; } .admissions-cta-inner { padding: 3.5rem; } }

/* ---------- 11. Core values ---------- */
.section-values { background: var(--navy); color: rgba(255, 255, 255, .88); position: relative; overflow: hidden; isolation: isolate; }
.section-values::before {
    content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5;
    background-image: radial-gradient(circle at 15% 20%, rgba(42, 139, 216, .25), transparent 40%), radial-gradient(circle at 85% 80%, rgba(194, 24, 91, .25), transparent 40%);
}
.section-values .section-heading h2 { color: var(--white); }
.section-values .kicker { color: #ff8cc0; }
.section-values .lead-text { color: rgba(255, 255, 255, .8); }
.value-card { position: relative; overflow: hidden; border: 0; padding: 2rem 1.6rem; transition: transform .3s var(--ease); }
.value-card:hover { transform: translateY(-4px); }
.value-card::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: linear-gradient(90deg, var(--magenta), var(--blue)); }
.value-number { position: absolute; top: .8rem; right: 1.1rem; font-family: var(--font-heading); font-size: 2.6rem; font-weight: 700; color: var(--grey-200); line-height: 1; }
.value-icon { width: 3.25rem; height: 3.25rem; border-radius: 50%; display: grid; place-items: center; background: var(--magenta); color: var(--white); font-size: 1.4rem; margin-bottom: 1.1rem; }
.value-title { font-size: 1.05rem; letter-spacing: .14em; margin-bottom: .6rem; }
.value-card p { color: var(--muted); font-size: .95rem; }
.pillars { display: grid; gap: 1rem; margin-top: 2.5rem; }
.pillar { display: flex; gap: 1rem; align-items: center; padding: 1.25rem 1.4rem; border: 1px solid rgba(255, 255, 255, .18); border-radius: var(--radius); background: rgba(255, 255, 255, .04); }
.pillar > .bi { font-size: 1.6rem; color: var(--blue-100); }
.pillar-title { color: var(--white); font-family: var(--font-heading); font-size: 1.3rem; margin-bottom: .1rem; }
.pillar p { color: rgba(255, 255, 255, .8); }
@media (min-width: 768px) { .pillars { grid-template-columns: repeat(3, 1fr); } }

.flyer-figure { max-width: 520px; margin-left: auto; margin-right: auto; }
.flyer-figure img { border-radius: var(--radius); box-shadow: var(--shadow-lg); }

/* ---------- 12. School life ---------- */
.activity-chips { list-style: none; padding: 0; margin: 0 0 2rem; display: flex; flex-wrap: wrap; gap: .6rem; }
.activity-chips a {
    display: inline-flex; align-items: center; gap: .5rem; padding: .55rem 1rem; border-radius: 999px;
    background: var(--white); border: 1px solid var(--grey-200); color: var(--navy); font-weight: 600; font-size: .9rem; text-decoration: none;
    transition: border-color .2s, background-color .2s, color .2s;
}
.activity-chips a .bi { color: var(--magenta); }
.activity-chips a:hover { border-color: var(--navy); background: var(--navy); color: var(--white); }
.activity-chips a:hover .bi { color: var(--white); }

.activity-card { background: var(--white); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--grey-200); box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), box-shadow .3s var(--ease); scroll-margin-top: 110px; }
.activity-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.activity-media { position: relative; aspect-ratio: 3 / 2; overflow: hidden; }
.activity-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.activity-card:hover .activity-media img { transform: scale(1.05); }
.activity-icon { position: absolute; left: 1.25rem; bottom: -1.4rem; width: 2.9rem; height: 2.9rem; border-radius: 12px; display: grid; place-items: center; background: var(--magenta); color: var(--white); font-size: 1.25rem; box-shadow: var(--shadow); }
.activity-media { overflow: visible; }
.activity-media img { border-radius: var(--radius) var(--radius) 0 0; }
.activity-body { padding: 2.1rem 1.5rem 1.6rem; }
.activity-title { font-size: 1.15rem; margin-bottom: .45rem; }
.activity-body p { color: var(--muted); }

.stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.stat-tile { display: flex; flex-direction: column; gap: .5rem; padding: 1.5rem; border-radius: var(--radius); background: var(--grey-50); border: 1px solid var(--grey-200); font-weight: 700; color: var(--navy); letter-spacing: .06em; text-transform: uppercase; font-size: .9rem; }
.stat-tile .bi { font-size: 1.6rem; color: var(--magenta); }
.stat-tile:nth-child(2), .stat-tile:nth-child(3) { background: var(--navy); color: var(--white); border-color: var(--navy); }
.stat-tile:nth-child(2) .bi, .stat-tile:nth-child(3) .bi { color: var(--blue-100); }

/* Gallery */
.gallery-filters { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; margin-bottom: 1.75rem; }
.btn-filter {
    --bs-btn-padding-x: 1.1rem; --bs-btn-padding-y: .45rem; --bs-btn-font-size: .9rem;
    --bs-btn-color: var(--navy); --bs-btn-bg: var(--white); --bs-btn-border-color: var(--grey-200);
    --bs-btn-hover-color: var(--navy); --bs-btn-hover-bg: var(--sky); --bs-btn-hover-border-color: var(--sky);
    --bs-btn-active-color: var(--white); --bs-btn-active-bg: var(--navy); --bs-btn-active-border-color: var(--navy);
}
.btn-filter.active { color: var(--white); background: var(--navy); border-color: var(--navy); }
.gallery-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: .75rem; }
@media (min-width: 768px) { .gallery-grid { grid-template-columns: repeat(3, 1fr); gap: 1rem; } }
@media (min-width: 992px) { .gallery-grid { grid-template-columns: repeat(4, 1fr); } }
.gallery-item[hidden] { display: none; }
.gallery-thumb {
    position: relative; display: block; width: 100%; padding: 0; border: 0; background: var(--grey-200);
    border-radius: var(--radius-sm); overflow: hidden; aspect-ratio: 4 / 3; cursor: zoom-in;
}
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.gallery-thumb::after { content: "\F52A"; font-family: "bootstrap-icons"; position: absolute; inset: 0; display: grid; place-items: center; font-size: 1.6rem; color: var(--white); background: rgba(10, 30, 70, .45); opacity: 0; transition: opacity .3s var(--ease); }
.gallery-thumb:hover img, .gallery-thumb:focus-visible img { transform: scale(1.06); }
.gallery-thumb:hover::after, .gallery-thumb:focus-visible::after { opacity: 1; }
.gallery-thumb:focus-visible { outline-offset: 3px; }
.gallery-tag { position: absolute; left: .5rem; bottom: .5rem; z-index: 1; font-size: .7rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; background: rgba(255, 255, 255, .95); color: var(--navy); padding: .2rem .55rem; border-radius: 999px; }
.gallery-illustrative { position: absolute; right: .5rem; top: .5rem; z-index: 1; font-size: .65rem; font-weight: 600; background: rgba(6, 19, 49, .75); color: var(--white); padding: .15rem .5rem; border-radius: 999px; }
.gallery-note { text-align: center; font-size: .85rem; color: var(--muted); margin: 1.25rem 0 0; }

.lightbox .modal-content { background: transparent; border: 0; position: relative; }
.lightbox .modal-backdrop, .modal-backdrop.show { --bs-backdrop-opacity: .88; }
.lightbox-image { display: block; width: 100%; max-height: 80vh; object-fit: contain; border-radius: var(--radius-sm); background: var(--navy-900); }
.lightbox-caption { color: var(--white); text-align: center; padding: .8rem 3rem 0; font-size: .95rem; }
.lightbox-close { position: absolute; top: -2.6rem; right: 0; z-index: 2; opacity: 1; padding: .6rem; }
.lightbox-nav {
    position: absolute; top: calc(50% - 1.5rem); transform: translateY(-50%); width: 2.9rem; height: 2.9rem; border-radius: 50%;
    border: 0; background: rgba(255, 255, 255, .92); color: var(--navy); font-size: 1.2rem; display: grid; place-items: center; box-shadow: var(--shadow);
}
.lightbox-prev { left: .5rem; }
.lightbox-next { right: .5rem; }
.lightbox-nav:hover { background: var(--white); }

/* ---------- 13. News ---------- */
.news-card { position: relative; display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--grey-200); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.news-card:hover, .news-card:focus-within { transform: translateY(-4px); box-shadow: var(--shadow); }
.news-card-media { aspect-ratio: 3 / 2; overflow: hidden; background: var(--grey-200); }
.news-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.news-card:hover .news-card-media img { transform: scale(1.05); }
.news-card-body { padding: 1.5rem; display: flex; flex-direction: column; flex: 1; }
.news-card-body p { color: var(--muted); font-size: .95rem; }
.news-card-title { font-size: 1.15rem; margin: .7rem 0 .5rem; line-height: 1.4; }
.news-card-title a { color: var(--navy); text-decoration: none; }
.news-card-title a:hover { color: var(--blue-700); }
.news-card-title a:focus-visible { outline: none; }
.news-card-title a:focus-visible::after { outline: 3px solid var(--blue); outline-offset: -3px; border-radius: var(--radius); }
.news-card-more { margin-top: auto; padding-top: 1rem; font-weight: 700; font-size: .9rem; color: var(--magenta); }
.news-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; font-size: .8rem; color: var(--muted); }
.news-category { font-weight: 700; letter-spacing: .04em; text-transform: uppercase; font-size: .72rem; color: var(--navy); background: var(--sky); padding: .25rem .65rem; border-radius: 999px; }
.news-sample { font-weight: 700; letter-spacing: .04em; text-transform: uppercase; font-size: .72rem; color: var(--magenta-700); border: 1px solid currentColor; padding: .18rem .55rem; border-radius: 999px; }
.news-filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2rem; }
.article-image { width: 100%; border-radius: var(--radius-lg); margin-bottom: 2rem; aspect-ratio: 16 / 9; object-fit: cover; }
.article-body { font-size: 1.08rem; }
.article-footer { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2.5rem; padding-top: 2rem; border-top: 1px solid var(--grey-200); }
.empty-state { text-align: center; padding: 3rem 1rem; background: var(--grey-50); border-radius: var(--radius); color: var(--muted); }
.empty-state > .bi { font-size: 2.5rem; color: var(--grey-400); display: block; margin-bottom: 1rem; }

/* ---------- 14. Parents & contact ---------- */
.parent-link {
    display: flex; gap: 1rem; padding: 1.4rem; background: var(--white); border: 1px solid var(--grey-200);
    border-radius: var(--radius); text-decoration: none; color: var(--charcoal);
    transition: border-color .25s var(--ease), box-shadow .25s var(--ease), transform .25s var(--ease);
}
.parent-link:hover, .parent-link:focus-visible { border-color: var(--magenta); box-shadow: var(--shadow); transform: translateY(-2px); color: var(--charcoal); }
.parent-link-icon { flex-shrink: 0; width: 3rem; height: 3rem; border-radius: 12px; display: grid; place-items: center; background: var(--navy); color: var(--white); font-size: 1.25rem; }
.parent-link-body { display: flex; flex-direction: column; }
.parent-link-title { font-weight: 700; color: var(--navy); }
.parent-link-text { color: var(--muted); font-size: .92rem; margin: .2rem 0 .5rem; }
.parent-link-note { margin-top: auto; font-weight: 700; font-size: .85rem; color: var(--magenta); }

.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.25rem; }
.contact-list > li { display: flex; gap: 1rem; align-items: flex-start; }
.contact-icon { flex-shrink: 0; width: 3rem; height: 3rem; border-radius: 50%; display: grid; place-items: center; background: var(--magenta-100); color: var(--magenta); font-size: 1.2rem; }
.contact-label { font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: .25rem; }
.phone-list a { font-weight: 700; font-size: 1.05rem; color: var(--navy); text-decoration: none; }
.phone-list a:hover { color: var(--magenta); text-decoration: underline; }
.phone-list-light a { color: var(--white); }
.phone-list-light li + li { margin-top: .4rem; }
.phone-list-light a:hover { color: #ff8cc0; }

.quick-call { display: flex; align-items: center; gap: 1rem; padding: 1.25rem 1.4rem; border-radius: var(--radius); background: var(--navy); color: var(--white); text-decoration: none; transition: background-color .25s var(--ease), transform .25s var(--ease); }
.quick-call:hover, .quick-call:focus-visible { background: var(--navy-700); color: var(--white); transform: translateY(-2px); }
.quick-call-icon { width: 3rem; height: 3rem; border-radius: 50%; display: grid; place-items: center; background: var(--magenta); font-size: 1.2rem; flex-shrink: 0; }
.quick-call-label { display: block; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--blue-100); }
.quick-call-number { display: block; font-size: 1.3rem; font-weight: 700; }

.map-card { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--grey-200); background: var(--grey-50); }
.map-card iframe { display: block; width: 100%; height: 420px; border: 0; }
.map-placeholder { text-align: center; padding: 3rem 1.25rem; }
.map-placeholder > .bi { font-size: 2.4rem; color: var(--navy); display: block; margin-bottom: .75rem; }

/* ---------- 15. Forms ---------- */
.form-card { padding: 1.5rem; box-shadow: var(--shadow); border: 0; }
@media (min-width: 768px) { .form-card { padding: 2.5rem; } }
.form-card-title { font-size: 1.5rem; margin-bottom: 1rem; }
.form-label { font-weight: 600; color: var(--navy); font-size: .92rem; }
.form-control, .form-select { border-color: var(--grey-400); padding: .7rem .9rem; border-radius: var(--radius-sm); }
.form-control:focus, .form-select:focus { border-color: var(--blue); box-shadow: 0 0 0 .25rem rgba(42, 139, 216, .2); }
.form-check-input { border-color: var(--grey-400); width: 1.15em; height: 1.15em; }
.form-check-input:checked { background-color: var(--navy); border-color: var(--navy); }
.form-legend { font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--magenta); margin-bottom: .9rem; padding-bottom: .5rem; border-bottom: 1px solid var(--grey-200); width: 100%; }
.req { color: var(--magenta); }
.char-counter { font-size: .78rem; color: var(--muted); text-align: right; margin-top: .3rem; }
.form-alert { border-radius: var(--radius-sm); }
.form-alert:focus { outline: none; box-shadow: 0 0 0 .25rem rgba(42, 139, 216, .25); }
.hp-field { position: absolute !important; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.btn.is-loading { pointer-events: none; opacity: .8; }

/* ---------- 16. Steps & FAQ ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.25rem; counter-reset: step; }
@media (min-width: 768px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step { position: relative; padding: 1.75rem; background: var(--white); border: 1px solid var(--grey-200); border-radius: var(--radius); }
.step-number { display: inline-grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: 50%; background: var(--navy); color: var(--white); font-weight: 700; font-size: 1.1rem; margin-bottom: 1rem; box-shadow: 0 0 0 6px var(--sky); }
.step-title { font-size: 1.15rem; margin-bottom: .5rem; }
.step p { color: var(--muted); }

.faq .accordion-item { border: 1px solid var(--grey-200); border-radius: var(--radius-sm) !important; margin-bottom: .75rem; overflow: hidden; }
.faq .accordion-button { font-weight: 600; color: var(--navy); font-size: 1rem; padding: 1.1rem 1.25rem; }
.faq .accordion-button:not(.collapsed) { background: var(--sky); color: var(--navy); box-shadow: none; }
.faq .accordion-button:focus { box-shadow: 0 0 0 .25rem rgba(42, 139, 216, .25); }
.faq .accordion-body { color: var(--muted); }

/* ---------- 17. Portals ---------- */
.portal-card { display: flex; flex-direction: column; padding: 2rem; box-shadow: var(--shadow-sm); position: relative; overflow: hidden; scroll-margin-top: 110px; }
.portal-card::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: linear-gradient(var(--navy), var(--magenta)); }
.portal-card:target { box-shadow: 0 0 0 3px var(--magenta), var(--shadow); }
.portal-icon { margin-bottom: 0; background: var(--navy); color: var(--white); }
.portal-title { font-family: var(--font-body); font-size: 1.3rem; }
.portal-card p { color: var(--muted); }
.portal-pending { font-weight: 600; color: var(--muted); font-size: .9rem; }

/* ---------- 18. Prose & error ---------- */
.prose h2 { font-size: 1.5rem; margin-top: 2.25rem; margin-bottom: .75rem; }
.prose ul { padding-left: 1.2rem; }
.prose li { margin-bottom: .4rem; }
.error-code { font-family: var(--font-heading); font-size: clamp(5rem, 18vw, 9rem); font-weight: 700; line-height: 1; color: var(--sky); -webkit-text-stroke: 2px var(--navy); margin-bottom: 1rem; }

/* ---------- 19. Footer ---------- */
.site-footer { background: var(--navy-900); color: rgba(255, 255, 255, .78); font-size: .95rem; }
.site-footer a { color: rgba(255, 255, 255, .85); text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.footer-cta { background: var(--navy); padding: 2rem 0; border-bottom: 1px solid rgba(255, 255, 255, .08); position: relative; }
.footer-cta::before { content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 4px; background: linear-gradient(90deg, var(--magenta), var(--blue)); }
.footer-cta-kicker { font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #ff8cc0; }
.footer-cta-title { font-family: var(--font-heading); font-size: clamp(1.25rem, 3vw, 1.6rem); color: var(--white); font-weight: 700; }
.footer-cta .btn-accent, .footer-cta .btn-outline-light { color: var(--white); text-decoration: none; }
.footer-cta .btn-outline-light:hover { color: var(--navy); }
.footer-main { padding-top: 3.5rem; padding-bottom: 2.5rem; }
.footer-brand { display: inline-flex; align-items: center; gap: .9rem; margin-bottom: 1.1rem; }
.footer-brand:hover { text-decoration: none !important; }
.footer-logo-wrap { flex-shrink: 0; height: 5.25rem; border-radius: var(--radius-sm); background: var(--white); padding: .4rem; box-shadow: 0 0 0 3px rgba(255, 255, 255, .08); }
.footer-logo-wrap img { height: 100%; width: auto; display: block; object-fit: contain; }
.footer-name { display: block; font-family: var(--font-heading); font-size: 1.3rem; font-weight: 700; color: var(--white); line-height: 1.2; }
.footer-motto { display: block; font-size: .7rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #ff8cc0; margin-top: .3rem; }
.footer-about { max-width: 26rem; }
.footer-heading { font-family: var(--font-body); font-size: .82rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--white); margin-bottom: 1rem; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.footer-links .badge-soon { margin-left: .3rem; background: rgba(255, 140, 192, .16); color: #ffb3d4; }
.footer-contact p { margin-bottom: .9rem; }
.footer-contact .bi { color: var(--blue-100); margin-top: .2rem; }
.social-links { list-style: none; padding: 0; margin: 1.25rem 0 0; display: flex; gap: .5rem; }
.social-links a { width: 2.5rem; height: 2.5rem; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .08); }
.social-links a:hover { background: var(--magenta); text-decoration: none; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); padding: 1.25rem 0; font-size: .85rem; }

.back-to-top {
    position: fixed; right: 1rem; bottom: 1rem; z-index: 1020; width: 2.9rem; height: 2.9rem; border-radius: 50%;
    display: grid; place-items: center; background: var(--magenta); color: var(--white); box-shadow: var(--shadow);
    opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .3s, transform .3s, visibility .3s;
    text-decoration: none;
}
.back-to-top.show { opacity: 1; visibility: visible; transform: none; }
.back-to-top:hover { background: var(--magenta-700); color: var(--white); }

/* ---------- 20. Reveal-on-scroll (only when JS is running) ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- 21. Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
    .js .reveal { opacity: 1; transform: none; }
}

/* ---------- 22. Print ---------- */
@media print {
    .topbar, .site-header, .site-footer, .back-to-top, .admissions-cta, .gallery-filters { display: none !important; }
    .page-hero, .hero { background: none !important; color: #000; padding: 1rem 0; }
    .page-hero-title, .hero-title { color: #000; }
}
