/*
 * SCB public-site UI/UX correction layer
 * Preserves the existing plum / crimson / gold identity while improving
 * responsive behaviour, image treatment, accessibility and page consistency.
 */

.scb-site {
    --scb-space-1: clamp(.5rem, .35rem + .35vw, .75rem);
    --scb-space-2: clamp(.75rem, .55rem + .5vw, 1.1rem);
    --scb-space-3: clamp(1rem, .7rem + .8vw, 1.6rem);
    --scb-space-4: clamp(1.5rem, 1rem + 1.2vw, 2.5rem);
    --scb-space-5: clamp(2.25rem, 1.5rem + 2vw, 4rem);
    --scb-section: clamp(3.75rem, 2.6rem + 4vw, 6rem);
    --scb-content: 1240px;
    --scb-reading: 72ch;
    overflow-x: clip;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

.scb-site *,
.scb-site *::before,
.scb-site *::after { box-sizing: border-box; }

.scb-site img,
.scb-site picture,
.scb-site video,
.scb-site svg { max-width: 100%; }

.scb-site img { height: auto; }

.scb-site .sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.scb-site :where(a, button, input, select, textarea, summary):focus-visible {
    outline: 3px solid var(--gold);
    outline-offset: 3px;
}

.scb-site :where(a, button) { -webkit-tap-highlight-color: transparent; }

.scb-site .container {
    width: min(var(--scb-content), calc(100% - clamp(28px, 5vw, 56px)));
}

/* Typography: retain the established display style but make it calmer and more consistent. */
.scb-site :where(h1, h2, h3, h4) {
    text-wrap: balance;
    overflow-wrap: anywhere;
}

.scb-site h1 { font-size: clamp(2.35rem, 5.2vw, 5.1rem); }
.scb-site h2 { font-size: clamp(1.9rem, 3.7vw, 3.25rem); }
.scb-site h3 { line-height: 1.2; }
.scb-site p { text-wrap: pretty; }
.scb-site .lead { max-width: var(--scb-reading); }

.scb-site .section { padding-block: var(--scb-section); }
.scb-site .section-sm { padding-block: clamp(2.75rem, 2rem + 2vw, 4rem); }
.scb-site .section-head { margin-bottom: clamp(1.5rem, 1rem + 1.4vw, 2.5rem); }

/* Header/navigation: predictable desktop spacing and a usable mobile drawer. */
.scb-site .site-header { isolation: isolate; }
.scb-site .nav-row { position: relative; }
.scb-site .brand { min-width: 0; flex: 0 1 355px; }
.scb-site .brand > div { min-width: 0; }
.scb-site .brand strong { overflow-wrap: normal; }
.scb-site .nav-toggle {
    min-width: 46px;
    min-height: 46px;
    border-radius: 10px;
    align-items: center;
    justify-content: center;
}
.scb-site .nav-toggle:hover { background: var(--cream); }
.scb-site .main-nav a { min-height: 44px; }

/* Entrances below provide the motion; slides rest still otherwise. */
.scb-site .hero-media img,
.scb-site .page-hero > img,
.scb-site .login-visual > img,
.scb-site .staff-login-visual > img {
    object-fit: cover;
}

/* Full-bleed hero remains cinematic without excessive cropping or zoom. */
.scb-site .hero { min-height: clamp(590px, 73vh, 760px); }
.scb-site .hero-media { overflow: hidden; }
.scb-site .hero-slide { transition: opacity .65s ease !important; }
.scb-site .hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: var(--media-position, 50% 38%);
}
.scb-site .hero-content {
    padding-block: clamp(7rem, 12vh, 10rem) clamp(5.5rem, 10vh, 7rem);
}
    .scb-site .hero-copy { max-width: 58ch; }

    /* --- Per-slide words: quiet gold caption line under the hero copy --- */
    .scb-site .hero-slide-caption {
        margin-top: 14px;
        padding-left: 14px;
        border-left: 3px solid var(--gold);
        font-family: Georgia, serif;
        font-style: italic;
        font-size: 1.02rem;
        color: rgba(255, 255, 255, .92);
        max-width: 58ch;
        transition: opacity .18s ease;
    }
    .scb-site .hero-slide-caption[hidden] { display: none; }

/* Carousel controls: larger touch targets, explicit state and reliable swipe surface. */
.scb-site [data-carousel] { touch-action: pan-y pinch-zoom; }
.scb-site .hero-carousel-controls {
    gap: 8px;
    opacity: 0;
    transform: translateY(6px);
    transition: opacity .28s ease, transform .28s ease;
}
.scb-site [data-carousel]:hover .hero-carousel-controls,
.scb-site [data-carousel]:focus-within .hero-carousel-controls,
.scb-site [data-carousel].is-hovered .hero-carousel-controls {
    opacity: 1;
    transform: none;
}
.scb-site .hero-carousel-arrow {
    width: 46px;
    height: 46px;
    min-width: 46px;
    min-height: 46px;
}
.scb-site .hero-carousel-dots button {
    min-width: 12px;
    min-height: 12px;
}
.scb-site .hero-carousel-dots button.is-active { width: 30px; }
.scb-site .hero-carousel-toggle[aria-pressed="true"] { background: var(--plum); border-color: var(--gold); }
.scb-site [data-carousel-slide][aria-hidden="true"] { visibility: hidden; }
.scb-site [data-carousel-slide].is-active { visibility: visible; }

/* Content images: natural ratio where possible; controlled crop only in cards. */
.scb-site .image-frame {
    background: var(--cream);
    min-height: 0;
}
.scb-site .image-frame img {
    width: 100%;
    height: auto;
    min-height: 0;
    max-height: 620px;
    object-fit: contain;
    object-position: center;
}
.scb-site .split-feature > img {
    width: 100%;
    height: 100%;
    min-height: 0;
    object-fit: cover;
    object-position: 50% 38%;
}
.scb-site .card-media {
    aspect-ratio: 16 / 10;
    background: var(--cream);
}
.scb-site .card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: var(--media-position, 50% 38%);
    transform: none;
}
.scb-site .card:hover .card-media img { transform: none; }
.scb-site .news-card .card-media img { object-position: 50% 40%; }
.scb-site .card-media.staff-media { aspect-ratio: 4 / 5; }
.scb-site .card-media.staff-media img { object-position: 50% 18%; }
.scb-site .gallery-item img { object-position: var(--media-position, 50% 42%); }
.scb-site .gallery-item:hover img { transform: scale(1.015); }

/* Page heroes get a more stable, less-cropped height. */
.scb-site .page-hero { min-height: clamp(310px, 42vw, 430px); }
.scb-site .page-hero > img {
    object-position: var(--media-position, 50% 38%);
    transform: none !important;
}
.scb-site .page-hero .container { padding-bottom: clamp(2.5rem, 5vw, 4rem); }
.scb-site .page-hero h1 { font-size: clamp(2.25rem, 4.7vw, 4.35rem); }

/* Grid consistency and equal-height cards without forcing content height. */
.scb-site .grid-2,
.scb-site .grid-3,
.scb-site .grid-4 { min-width: 0; }
.scb-site .grid-3 > *,
.scb-site .grid-4 > * { min-width: 0; }
.scb-site .values-strip--two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.scb-site .card,
.scb-site .feature-card { height: 100%; }
.scb-site .card { display: flex; flex-direction: column; }
.scb-site .card-body { display: flex; flex: 1; flex-direction: column; }
.scb-site .card-body .text-link { margin-top: auto; align-self: flex-start; }

/* Avoid oversized hover movement and layout shifts. */
.scb-site :where(.card, .feature-card, .event-row):hover { transform: translateY(-2px); }

/* Buttons/touch controls. */
.scb-site .btn,
.scb-site .filter,
.scb-site .footer-preferences,
.scb-site .icon-btn { min-height: 44px; }
.scb-site .btn { padding-inline: clamp(16px, 2vw, 22px); }

/* Long text, breadcrumbs, forms and tables should never force horizontal scrolling. */
.scb-site :where(h1, h2, h3, h4, p, a, span, td, th) { overflow-wrap: break-word; }
.scb-site .breadcrumbs { flex-wrap: wrap; }
.scb-site :where(input, select, textarea) { max-width: 100%; }
.scb-site .article-body :where(img, video, iframe) { max-width: 100%; height: auto; }
.scb-site .article-body iframe { aspect-ratio: 16 / 9; width: 100%; }

/* News alert: compact but touch-friendly. */
.scb-site .recent-news-alert__actions button { min-width: 44px; min-height: 44px; }

@media (max-width: 1100px) {
    .scb-site .nav-toggle { display: inline-flex; }
    .scb-site .main-nav {
        display: flex;
        position: absolute;
        top: calc(100% + 1px);
        left: 0;
        right: 0;
        z-index: 60;
        max-height: 0;
        padding: 0 clamp(14px, 4vw, 30px);
        overflow: hidden;
        visibility: hidden;
        opacity: 0;
        background: rgba(255, 253, 248, .995);
        box-shadow: 0 20px 36px rgba(61,45,63,.14);
        border-bottom: 1px solid var(--line);
        flex-direction: column;
        align-items: stretch;
        gap: 2px;
        transition: max-height .3s ease, opacity .2s ease, visibility .2s ease, padding .3s ease;
    }
    .scb-site .main-nav.open,
    .scb-site .main-nav.is-open {
        max-height: min(78vh, 620px);
        padding-block: 14px 20px;
        overflow-y: auto;
        visibility: visible;
        opacity: 1;
    }
    .scb-site .main-nav a {
        width: 100%;
        padding: 11px 10px;
        border-bottom: 0;
        border-radius: 8px;
    }
    .scb-site .main-nav a:hover,
    .scb-site .main-nav a.active { background: var(--cream); }
    .scb-site .main-nav .nav-apply { margin-top: 8px; width: 100%; }
    .scb-site.nav-open { overflow: hidden; }

    .scb-site .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 800px) {
    .scb-site .container { width: min(var(--scb-content), calc(100% - 28px)); }
    .scb-site .section { padding-block: clamp(3.5rem, 9vw, 4.5rem); }
    .scb-site .grid-2,
    .scb-site .grid-3,
    .scb-site .split-feature,
    .scb-site .article-layout { grid-template-columns: minmax(0, 1fr); gap: clamp(1.5rem, 5vw, 2.5rem); }

    .scb-site .hero {
        min-height: clamp(540px, 80svh, 680px);
        align-items: end;
    }
    .scb-site .hero-media:after {
        background: linear-gradient(180deg, rgba(38,25,40,.16) 0%, rgba(38,25,40,.54) 45%, rgba(38,25,40,.92) 100%);
    }
    .scb-site .hero-slide img { object-position: 50% 32%; }
    .scb-site .hero-content { padding-block: 7rem 6.25rem; }
    .scb-site .hero h1 { font-size: clamp(2.35rem, 11vw, 4rem); }
    .scb-site .hero-carousel-controls { left: 14px; right: auto; bottom: 16px; }

    .scb-site .page-hero { min-height: clamp(300px, 58vw, 380px); }
    .scb-site .page-hero > img { object-position: 50% 34%; }

    .scb-site .image-frame img { max-height: none; }
    .scb-site .split-feature > img { aspect-ratio: 16 / 10; height: auto; }
    .scb-site .split-copy { padding: clamp(1.8rem, 7vw, 2.75rem); }

    .scb-site .section-head { align-items: flex-start; }
    .scb-site .event-row { grid-template-columns: 68px minmax(0, 1fr) auto; }
}

@media (max-width: 560px) {
    .scb-site .brand img { width: 50px; height: 50px; }
    .scb-site .brand strong { font-size: .74rem; line-height: 1.2; }
    .scb-site .brand span { font-size: .56rem; }
    .scb-site .nav-row { min-height: 70px; gap: 10px; }

    .scb-site .grid-4,
    .scb-site .hero-stats-grid,
    .scb-site .values-strip,
    .scb-site .values-strip--two { grid-template-columns: minmax(0, 1fr); }
    .scb-site .hero-stat,
    .scb-site .value { border-right: 0; }

    .scb-site .hero { min-height: max(540px, 78svh); }
    .scb-site .hero-content { padding-block: 6.25rem 6rem; }
    .scb-site .hero-badge { font-size: .69rem; letter-spacing: .065em; }
    .scb-site .hero-actions { gap: 10px; }
    .scb-site .hero-actions .btn { width: 100%; }
    .scb-site .hero-carousel-arrow { width: 44px; height: 44px; }

    .scb-site .card-media { aspect-ratio: 4 / 3; }
    .scb-site .event-row { grid-template-columns: 60px minmax(0, 1fr); gap: 12px; }
    .scb-site .event-row > .btn { display: inline-flex; grid-column: 2; justify-self: start; }
    .scb-site .form-card { padding: 22px; }

    .scb-site .recent-news-alert__inner { gap: 8px; }
    .scb-site .recent-news-alert__message { min-width: 0; }
}

@media (hover: none) {
    .scb-site .card:hover,
    .scb-site .feature-card:hover,
    .scb-site .event-row:hover,
    .scb-site .gallery-item:hover img { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
    .scb-site *,
    .scb-site *::before,
    .scb-site *::after {
        scroll-behavior: auto !important;
        animation-duration: .001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .001ms !important;
    }
}

/* --------------------------------------------------------------------------
   Official school profile content - handbook integration (2026-09-13)
   -------------------------------------------------------------------------- */
.scb-site .scb-profile-layout { align-items: start; }
.scb-site .scb-motto-quote {
    margin-top: var(--scb-space-4);
    max-width: 520px;
    font-size: clamp(1.4rem, 2.5vw, 2rem);
    font-weight: 700;
    letter-spacing: .02em;
}

.scb-site .scb-profile-facts {
    display: grid;
    gap: 0;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: var(--shadow-sm);
}
.scb-site .scb-profile-fact {
    display: grid;
    gap: 6px;
    padding: clamp(20px, 3vw, 30px);
    border-bottom: 1px solid var(--line);
}
.scb-site .scb-profile-fact:last-child { border-bottom: 0; }
.scb-site .scb-profile-fact span {
    color: var(--muted);
    font-size: .73rem;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.scb-site .scb-profile-fact strong {
    color: var(--plum);
    font-family: Georgia, serif;
    font-size: clamp(1.1rem, 1.8vw, 1.35rem);
    line-height: 1.35;
}

.scb-site .scb-identity-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}
.scb-site .scb-identity-card {
    position: relative;
    min-width: 0;
    padding: clamp(26px, 3vw, 36px);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: var(--shadow-sm);
}
.scb-site .scb-identity-card--featured {
    border-color: color-mix(in srgb, var(--gold) 58%, var(--line));
    box-shadow: 0 18px 42px rgba(61,45,63,.09);
}
.scb-site .scb-identity-card h3 {
    margin-top: 8px;
    font-size: clamp(1.35rem, 2vw, 1.7rem);
}
.scb-site .scb-identity-card p { color: var(--muted); }
.scb-site .scb-principles {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    margin-top: 22px;
}

.scb-site .scb-formation-grid .feature-card { display: flex; flex-direction: column; }
.scb-site .scb-formation-grid .feature-card p { margin-bottom: 0; }

.scb-site .scb-policy-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
    align-items: start;
}
.scb-site .scb-policy-panel {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: var(--shadow-sm);
}
.scb-site .scb-policy-panel--accent { border-top: 4px solid var(--gold); }
.scb-site .scb-policy-panel__head {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 24px 26px;
    border-bottom: 1px solid var(--line);
    background: color-mix(in srgb, var(--cream) 76%, #fff);
}
.scb-site .scb-policy-panel__head .feature-icon { margin: 0; flex: 0 0 auto; }
.scb-site .scb-policy-panel__head h3 { margin: 3px 0 0; }
.scb-site .scb-policy-list { display: grid; }
.scb-site .scb-policy-item {
    display: grid;
    grid-template-columns: minmax(125px, .45fr) minmax(0, 1fr);
    gap: 16px;
    padding: 18px 26px;
    border-bottom: 1px solid var(--line);
}
.scb-site .scb-policy-item:last-child { border-bottom: 0; }
.scb-site .scb-policy-item strong { color: var(--plum); line-height: 1.4; }
.scb-site .scb-policy-item span { color: var(--muted); font-size: .9rem; line-height: 1.65; }
.scb-site .scb-policy-note { margin-top: 22px; }

.scb-site .scb-uniform-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}
.scb-site .scb-uniform-card {
    padding: clamp(24px, 3vw, 32px);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: var(--shadow-sm);
}
.scb-site .scb-uniform-card__title {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 22px;
}
.scb-site .scb-uniform-card__title .feature-icon { margin: 0; flex: 0 0 auto; }
.scb-site .scb-uniform-card__title h3 { margin: 3px 0 0; }
.scb-site .scb-uniform-list {
    display: grid;
    gap: 0;
    margin: 0;
    padding: 0;
    list-style: none;
}
.scb-site .scb-uniform-list li {
    padding: 13px 0;
    border-bottom: 1px solid var(--line);
    color: var(--muted);
    line-height: 1.55;
}
.scb-site .scb-uniform-list li:last-child { border-bottom: 0; }
.scb-site .scb-uniform-list strong { color: var(--plum); }
.scb-site .scb-uniform-note { margin-top: 20px; }

.scb-site .scb-contact-context {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 36px;
    align-items: center;
}
.scb-site .scb-contact-context .lead { margin-bottom: 0; }

@media (max-width: 1000px) {
    .scb-site .scb-principles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .scb-site .scb-policy-item { grid-template-columns: minmax(110px, .4fr) minmax(0, 1fr); }
}

@media (max-width: 800px) {
    .scb-site .scb-identity-grid,
    .scb-site .scb-policy-grid,
    .scb-site .scb-uniform-grid,
    .scb-site .scb-contact-context { grid-template-columns: minmax(0, 1fr); }
    .scb-site .scb-contact-context { gap: 24px; }
    .scb-site .scb-contact-context .btn { justify-self: start; }
}

@media (max-width: 560px) {
    .scb-site .scb-principles { grid-template-columns: minmax(0, 1fr); }
    .scb-site .scb-policy-panel__head { padding: 20px; }
    .scb-site .scb-policy-item {
        grid-template-columns: minmax(0, 1fr);
        gap: 6px;
        padding: 16px 20px;
    }
    .scb-site .scb-uniform-card { padding: 22px; }
}

/* ============================================================
   Homepage alive layer — motion only (transform / opacity /
   shadow / colour). No spacing, sizing or layout changes.
   ============================================================ */
@media (prefers-reduced-motion: no-preference) {

    /* --- Hero carousel: slow cinematic drift on the live slide --- */
    .scb-site .hero-slide.is-active img {
        animation: scbKenBurns 4.6s ease-out forwards;
    }
    @keyframes scbKenBurns {
        from { transform: scale(1.001); }
        to { transform: scale(1.06); }
    }

    /* --- Carousel entrances: a different style for every change --- */
    .scb-site .hero-slide.is-active.fx-fade { animation: scbFxFade .9s ease both; }
    .scb-site .hero-slide.is-active.fx-slide-left { animation: scbFxSlideLeft .9s cubic-bezier(.2, .7, .2, 1) both; }
    .scb-site .hero-slide.is-active.fx-slide-right { animation: scbFxSlideRight .9s cubic-bezier(.2, .7, .2, 1) both; }
    .scb-site .hero-slide.is-active.fx-zoom { animation: scbFxZoom 1s cubic-bezier(.2, .7, .2, 1) both; }
    .scb-site .hero-slide.is-active.fx-blur { animation: scbFxBlur 1s ease both; }
    /* Pause the Ken Burns drift while hovering so the picture feels responsive */
    .scb-site [data-carousel].is-hovered .hero-slide.is-active img { animation-play-state: paused; }
    @keyframes scbFxFade {
        from { opacity: 0; }
        to { opacity: 1; }
    }
    @keyframes scbFxSlideLeft {
        from { opacity: 0; transform: translateX(72px); }
        to { opacity: 1; transform: none; }
    }
    @keyframes scbFxSlideRight {
        from { opacity: 0; transform: translateX(-72px); }
        to { opacity: 1; transform: none; }
    }
    @keyframes scbFxZoom {
        from { opacity: 0; transform: scale(1.09); }
        to { opacity: 1; transform: scale(1); }
    }
    @keyframes scbFxBlur {
        from { opacity: 0; filter: blur(10px); transform: scale(1.04); }
        to { opacity: 1; filter: blur(0); transform: scale(1); }
    }

    /* --- Caption moves differently on every change too --- */
    .scb-site .hero-slide-caption.cap-up { animation: scbCapUp .55s cubic-bezier(.2, .7, .2, 1) both; }
    .scb-site .hero-slide-caption.cap-left { animation: scbCapLeft .55s cubic-bezier(.2, .7, .2, 1) both; }
    .scb-site .hero-slide-caption.cap-fade { animation: scbCapFade .5s ease both; }
    .scb-site .hero-slide-caption.cap-zoom { animation: scbCapZoom .55s cubic-bezier(.2, .7, .2, 1) both; }
    @keyframes scbCapUp {
        from { opacity: 0; transform: translateY(14px); }
        to { opacity: 1; transform: none; }
    }
    @keyframes scbCapLeft {
        from { opacity: 0; transform: translateX(26px); }
        to { opacity: 1; transform: none; }
    }
    @keyframes scbCapFade {
        from { opacity: 0; letter-spacing: .04em; }
        to { opacity: 1; letter-spacing: 0; }
    }
    @keyframes scbCapZoom {
        from { opacity: 0; transform: scale(.96); }
        to { opacity: 1; transform: scale(1); }
    }

    /* --- Hero entrance: content rises once on load --- */
    .scb-site .hero-content > * { animation: scbRise .8s cubic-bezier(.2, .7, .2, 1) backwards; }
    .scb-site .hero-content > *:nth-child(2) { animation-delay: .08s; }
    .scb-site .hero-content > *:nth-child(3) { animation-delay: .16s; }
    .scb-site .hero-content > *:nth-child(4) { animation-delay: .24s; }
    @keyframes scbRise {
        from { opacity: 0; transform: translateY(18px); }
        to { opacity: 1; transform: none; }
    }

    /* --- Scroll reveal: sections glide in once (JS adds .is-inview) --- */
    body.scb-site.reveal-ready .reveal {
        opacity: 0;
        transform: translateY(16px);
        transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1);
        transition-delay: var(--reveal-delay, 0s);
    }
    body.scb-site.reveal-ready .reveal.is-inview {
        opacity: 1;
        transform: none;
    }

    /* --- Cards: lift, deepen, breathe --- */
    .scb-site .news-card,
    .scb-site .feature-card,
    .scb-site .event-row,
    .scb-site .metric {
        transition: transform .35s cubic-bezier(.2, .7, .2, 1), box-shadow .35s ease, border-color .35s ease;
    }
    .scb-site .news-card:hover,
    .scb-site .feature-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 18px 40px -18px rgba(61, 45, 63, .35);
        border-color: var(--gold-soft, #e3cf8f);
    }
    .scb-site .news-card:hover .card-media img { transform: scale(1.06); }
    .scb-site .feature-card:hover .feature-icon {
        background: var(--gold);
        transform: rotate(-6deg) scale(1.05);
    }
    .scb-site .feature-icon { transition: transform .35s ease, background .35s ease; }
    .scb-site .event-row:hover {
        transform: translateX(4px);
        border-color: var(--gold-soft, #e3cf8f);
        box-shadow: 0 12px 28px -18px rgba(61, 45, 63, .4);
    }
    .scb-site .event-row:hover .date-box { transform: scale(1.04); }
    .scb-site .date-box { transition: transform .3s ease; }

    /* --- Clicks answer back (press-down) --- */
    .scb-site .btn:active,
    .scb-site .hero-carousel-arrow:active,
    .scb-site .icon-btn:active,
    .scb-site .filter:active {
        transform: scale(.96);
    }
    .scb-site .news-card:active,
    .scb-site .gallery-item:active { transform: scale(.995); }

    /* --- Buttons: complete the family --- */
    .scb-site .btn { transition: transform .2s ease, background .25s ease, color .25s ease, border-color .25s ease, box-shadow .25s ease; }
    .scb-site .btn-secondary:hover { transform: translateY(-2px); box-shadow: 0 12px 24px -12px rgba(61, 45, 63, .5); }
    .scb-site .btn-outline:hover { background: var(--plum); color: #fff; transform: translateY(-2px); }
    .scb-site .btn-light:hover { background: rgba(255, 255, 255, .14); transform: translateY(-2px); }

    /* --- Text links: arrow glides forward --- */
    .scb-site .text-link { display: inline-block; transition: color .25s ease, transform .25s ease; }
    .scb-site .text-link:hover { transform: translateX(4px); }

    /* --- Carousel controls: tactile dots and arrows --- */
    .scb-site .hero-carousel-arrow { transition: transform .2s ease, background .25s ease, border-color .25s ease; }
    .scb-site .hero-carousel-arrow:hover { transform: translateY(-2px); border-color: var(--gold); }
    .scb-site .hero-carousel-dots button { transition: width .3s ease, background .3s ease, transform .2s ease; }
    .scb-site .hero-carousel-dots button:hover { transform: scale(1.25); }

    /* --- Frames and stats: quiet glow --- */
    .scb-site .image-frame img { transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
    .scb-site .image-frame:hover img { transform: scale(1.03); }
    .scb-site .hero-stat { transition: background .3s ease; }
    .scb-site .hero-stat:hover { background: rgba(255, 255, 255, .05); }
    .scb-site .main-nav a { transition: color .25s ease, border-color .25s ease; }
    .scb-site .footer-links a,
    .scb-site .socials a { transition: color .25s ease, border-color .25s ease, transform .25s ease; }
    .scb-site .socials a:hover { transform: translateY(-2px); }
}

/* --- Keyboard travellers see exactly where they are --- */
.scb-site :focus-visible {
    outline: 3px solid var(--gold);
    outline-offset: 3px;
    border-radius: 4px;
}

/* --- Welcome: two-column SCIS pattern, Ivy League calm --- */
.scb-site .welcome-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: start; }
.scb-site .welcome-copy .eyebrow { margin-bottom: 10px; }
.scb-site .welcome-why-card { margin-top: 18px; padding: 18px 20px; background: #fff; border: 1px solid var(--line, #EEE9E4); border-left: 4px solid var(--gold); border-radius: 10px; }
.scb-site .welcome-why-card h3 { font-size: 1.05rem; margin: 0 0 8px; color: var(--plum); }
.scb-site .welcome-why-card p { margin: 0; color: #574E57; font-size: .92rem; line-height: 1.6; }
.scb-site .welcome-cta { margin-top: 18px; }
.scb-site .welcome-photo { margin: 0; }
.scb-site .welcome-quote { margin-top: 14px; padding: 16px 18px 16px 22px; background: var(--cream, #F8F5EC); border-left: 3px solid var(--plum); border-radius: 8px; position: relative; }
.scb-site .welcome-quote__mark { position: absolute; left: 10px; top: 8px; font-family: Georgia, serif; font-size: 1.8rem; color: var(--gold); line-height: 1; }
.scb-site .welcome-quote p { font-family: Georgia, serif; font-style: italic; font-size: 1.02rem; margin: 0 0 6px; color: var(--plum); }

@media (max-width: 900px) {
    .scb-site .welcome-grid { grid-template-columns: 1fr; gap: 22px; }
}

/* --- Whole-card links keep the card look --- */
.scb-site a.card-link { color: inherit; text-decoration: none; display: block; }

/* --- Admin breadcrumbs: quiet path above the topbar --- */
.admin-breadcrumbs { display: flex; gap: 8px; align-items: center; font-size: .74rem; color: #756B74; padding: 10px 28px 0; }
.admin-breadcrumbs a { color: #3D2D3F; text-decoration: none; }
.admin-breadcrumbs a:hover { color: #B8101E; text-decoration: underline; }
.admin-breadcrumbs [aria-current="page"] { font-weight: 800; color: #3D2D3F; }

/* --- Welcome: centred SCIS-pattern greeting with our own words --- */
.scb-site .welcome-center { text-align: center; max-width: 880px; margin-inline: auto; }
.scb-site .welcome-center .eyebrow { display: inline-block; }
.scb-site .welcome-center .lead { margin-inline: auto; }
.scb-site .welcome-why {
    font-family: Georgia, serif;
    font-weight: 400;
    font-size: 1.45rem;
    margin: 30px 0 12px;
    color: var(--plum);
}
.scb-site .welcome-center .btn { margin-top: 22px; }
.scb-site .welcome-photo { margin-top: 34px; }
.scb-site .welcome-photo img { width: 100%; max-height: 520px; object-fit: cover; }

/* --- Programme detail: medium inline figure so the story fits --- */
.scb-site .programme-figure { max-width: 640px; margin: 6px 0 4px; }
.scb-site .programme-figure img { width: 100%; border-radius: 12px; }
.scb-site .programme-figure figcaption { font-size: .82rem; color: var(--muted, #7a736a); margin-top: 8px; }

/* --- At-a-glance band: tidy definition list below the hero --- */
.scb-site .at-a-glance { background: #fff; border-block: 1px solid var(--line, #EEE9E4); padding: 16px 0; }
.scb-site .at-a-glance__list { display: flex; flex-wrap: wrap; gap: 10px 28px; margin: 0; }
.scb-site .at-a-glance__list > div { display: flex; gap: 8px; align-items: baseline; font-size: .78rem; }
.scb-site .at-a-glance__list dt { font-weight: 900; text-transform: uppercase; letter-spacing: .06em; color: #756B74; }
.scb-site .at-a-glance__list dd { margin: 0; font-weight: 700; color: var(--plum); }

/* --- Announcement severities: same banner, different voice --- */
.scb-site .recent-news-alert--warning { background: #FFF8E6; border-bottom: 1px solid #F5D98A; color: #5A4300; }
.scb-site .recent-news-alert--warning .recent-news-alert__badge { background: var(--gold); color: var(--plum); }
.scb-site .recent-news-alert--urgent { background: #FFF0F0; border-bottom: 1px solid #F0B4B4; color: #5A0F14; }
.scb-site .recent-news-alert--urgent .recent-news-alert__badge { background: var(--crimson); color: #fff; }

@media (max-width: 640px) {
    .scb-site .at-a-glance__list { gap: 8px 16px; }
    .scb-site .at-a-glance__list > div { font-size: .74rem; }
}

/* --- Sticky mobile Apply FAB: visible only on small screens, below hero --- */
.scb-site .fab-apply {
    position: fixed;
    right: 16px;
    bottom: 16px;
    z-index: 45;
    display: none;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    padding: 0 18px;
    border-radius: 999px;
    background: var(--gold);
    color: var(--plum);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .05em;
    font-size: .78rem;
    box-shadow: 0 10px 24px rgba(61, 45, 63, .25);
    border: 1px solid transparent;
}
.scb-site .fab-apply:hover { transform: translateY(-1px); }
.scb-site .fab-apply--hidden { opacity: 0; pointer-events: none; transform: translateY(8px); transition: opacity .2s, transform .2s; }
@media (max-width: 800px) {
    .scb-site .fab-apply { display: inline-flex; }
}

/* --- Expandable value statements --- */
.scb-site .value-details { margin-top: 10px; }
.scb-site .value-details summary {
    cursor: pointer;
    color: var(--crimson);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .06em;
    font-size: .72rem;
    list-style: none;
}
.scb-site .value-details summary::-webkit-details-marker { display: none; }
.scb-site .value-details summary:hover { text-decoration: underline; }
.scb-site .value-details[open] summary { margin-bottom: 6px; }
