/* ============================================================
   Foresight Schools, Ikom — Home page
   Section order matches index.php and the approved mockup:
   hero → stats band → why → academics → campus life → events + testimonial
   → admissions CTA → quick links
   ============================================================ */

/* ── 1 · HERO ────────────────────────────────────────────────
   Not full-bleed height: the design shows a wide banner with the stats band
   straddling its lower edge. */
.hero { position: relative; overflow: hidden; color: #fff; }
/* svh (not vh) so mobile browser chrome collapsing doesn't jolt the banner height */
.hero__stage { position: relative; min-height: min(560px, 78svh); display: grid; }
@media (min-width: 600px)  { .hero__stage { min-height: clamp(460px, 54vw, 620px); } }
.hero__slide { grid-area: 1 / 1; position: relative; opacity: 0; visibility: hidden; transition: opacity 900ms var(--ease), visibility 900ms; }
.hero__slide.is-active { opacity: 1; visibility: visible; }

.hero__media {
    position: absolute; inset: 0;
    background-size: cover; background-position: center 30%;
    background-color: var(--primary-deep);
    transform: scale(1.05); transition: transform 8s linear;
}
.hero__slide.is-active .hero__media { transform: scale(1); }
.hero__media--plate {
    background-image:
        repeating-linear-gradient(-45deg, rgba(255,255,255,.05) 0 1px, transparent 1px 16px),
        repeating-linear-gradient(45deg,  rgba(255,255,255,.035) 0 1px, transparent 1px 24px);
}
/* Maroon wash, heaviest at the left where the copy sits */
.hero__overlay {
    position: absolute; inset: 0;
    background:
        linear-gradient(90deg,
            color-mix(in srgb, var(--primary-deep) 88%, transparent) 0%,
            color-mix(in srgb, var(--primary-deep) 62%, transparent) 42%,
            color-mix(in srgb, var(--primary-deep) 18%, transparent) 78%),
        linear-gradient(180deg, color-mix(in srgb, var(--primary-deep) 34%, transparent), transparent 40%);
}

.hero__inner { position: relative; z-index: 2; display: flex; align-items: center; min-height: inherit; padding-block: clamp(48px, 7vw, 84px); }
.hero__copy { max-width: 620px; }
.hero__eyebrow { color: color-mix(in srgb, #fff 84%, transparent); letter-spacing: .18em; }
.hero__title { margin-block: 18px 18px; max-width: 15ch; }
.hero__sub { color: color-mix(in srgb, #fff 84%, transparent); max-width: 48ch; font-size: clamp(.95rem, .9rem + .3vw, 1.05rem); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

/* Word-by-word rise */
.w { display: inline-block; overflow: hidden; vertical-align: bottom; }
.w > span { display: inline-block; will-change: transform; }

/* Left slide rail: "01" over a vertical line and dots */
.hero__rail {
    position: absolute; left: clamp(10px, 2vw, 26px); top: 50%; transform: translateY(-50%); z-index: 3;
    display: none; flex-direction: column; align-items: center; gap: 14px;
}
@media (min-width: 900px) { .hero__rail { display: flex; } }
.hero__rail-line { width: 1px; height: 46px; background: color-mix(in srgb, #fff 55%, transparent); }
.hero__rail-num { font-family: var(--font-display); font-size: 12px; font-weight: 700; letter-spacing: .1em; color: #fff; }
.hero__rail-dots { display: grid; gap: 8px; }
.hero__dot {
    display: block; width: 7px; height: 7px; border-radius: 50%;
    background: color-mix(in srgb, #fff 45%, transparent);
    transition: background var(--t), transform var(--t);
}
.hero__dot.is-active { background: var(--color-accent); transform: scale(1.35); }

/* "Watch Our Story" play control */
.hero__play {
    position: absolute; right: clamp(16px, 5vw, 76px); bottom: clamp(84px, 12vw, 118px); z-index: 3;
    display: none; align-items: center; gap: 14px; color: #fff;
}
@media (min-width: 760px) { .hero__play { display: flex; } }
.hero__play-btn {
    display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%;
    background: #fff; color: var(--color-primary);
    box-shadow: 0 0 0 0 color-mix(in srgb, #fff 40%, transparent);
    transition: transform var(--t), background var(--t), color var(--t);
    animation: playPulse 2.6s var(--ease) infinite;
}
.hero__play:hover .hero__play-btn { transform: scale(1.08); background: var(--color-secondary); color: #fff; }
.hero__play-label { font-size: 13.5px; font-weight: 600; }
@keyframes playPulse {
    0%   { box-shadow: 0 0 0 0 color-mix(in srgb, #fff 38%, transparent); }
    70%  { box-shadow: 0 0 0 18px transparent; }
    100% { box-shadow: 0 0 0 0 transparent; }
}

/* ── 2 · STATS BAND ──────────────────────────────────────────
   Maroon block straddling the hero's lower edge. */
/* The overlap was written as clamp(-56px, -6vw, -74px) — with negative values the max argument
   is smaller than the min, so clamp collapsed to a constant -56px at every width. Explicit
   steps instead: on phones the band stacks to four rows, so it barely overlaps at all. */
.statsband { position: relative; z-index: 4; margin-top: -24px; }
@media (min-width: 560px)  { .statsband { margin-top: -40px; } }
@media (min-width: 1000px) { .statsband { margin-top: -74px; } }
.statsband__inner {
    display: grid; grid-template-columns: 1fr;
    background: var(--color-primary); color: #fff;
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-3);
    overflow: hidden;
}
@media (min-width: 560px)  { .statsband__inner { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .statsband__inner { grid-template-columns: repeat(4, 1fr); } }

.statcell {
    display: flex; align-items: center; gap: 14px;
    padding: clamp(20px, 2.4vw, 28px) clamp(18px, 2.2vw, 30px);
    border-bottom: 1px solid color-mix(in srgb, #fff 15%, transparent);
}
.statcell:last-child { border-bottom: 0; }
@media (min-width: 560px) {
    .statcell { border-bottom: 1px solid color-mix(in srgb, #fff 15%, transparent); }
    .statcell:nth-child(odd) { border-right: 1px solid color-mix(in srgb, #fff 15%, transparent); }
    .statcell:nth-last-child(-n+2) { border-bottom: 0; }
}
@media (min-width: 1000px) {
    .statcell { border-bottom: 0; border-right: 1px solid color-mix(in srgb, #fff 15%, transparent); }
    .statcell:last-child { border-right: 0; }
}
.statcell__ico { display: grid; place-items: center; width: 42px; height: 42px; flex: none; border-radius: 8px; border: 1px solid color-mix(in srgb, var(--color-accent) 55%, transparent); color: var(--color-accent); }
.statcell__value { font-family: var(--font-display); font-size: clamp(1.5rem, 1.2rem + .9vw, 1.85rem); font-weight: 800; line-height: 1.05; letter-spacing: -.02em; }
.statcell__label { font-size: 12.5px; color: color-mix(in srgb, #fff 76%, transparent); margin-top: 2px; }

/* ── 3 · WHY FORESIGHT ───────────────────────────────────────
   Copy + 2×2 feature grid at left, image collage with cream accent at right. */
.why__grid { display: grid; gap: clamp(34px, 4.5vw, 60px); align-items: center; }
@media (min-width: 980px) { .why__grid { grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); } }
.why__title { margin-block: 14px 16px; max-width: 15ch; }
.why__text { max-width: 46ch; }

.features { display: grid; gap: clamp(20px, 2.6vw, 30px) 26px; margin-block: 32px; }
@media (min-width: 520px) { .features { grid-template-columns: repeat(2, 1fr); } }
.feature { display: grid; grid-template-columns: auto 1fr; gap: 13px; align-items: start; }
.feature__ico { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 8px; background: var(--teal-tint); color: var(--color-secondary); transition: background var(--t), color var(--t); }
.feature:hover .feature__ico { background: var(--color-secondary); color: #fff; }
.feature__title { font-family: var(--font-display); font-size: 14.5px; font-weight: 700; color: var(--color-secondary); }
.feature__text { font-size: 13px; line-height: 1.6; color: var(--ink-55); margin-top: 3px; }

/* Collage: one wide image over two squares, with a cream plate behind */
.collage { position: relative; display: grid; gap: 14px; }
.collage__row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.collage .media { --ratio: 16/9; }
.collage__row .media { --ratio: 4/3; }
.collage__accent {
    position: absolute; right: -14px; bottom: -18px; z-index: -1;
    width: clamp(90px, 14vw, 150px); aspect-ratio: 1;
    background: var(--color-warm); border-radius: var(--radius-card);
}
.collage img { transition: transform 700ms var(--ease); }
.collage figure:hover img { transform: scale(1.05); }

/* Dot-grid flourish */
.dotgrid {
    position: absolute; width: clamp(80px, 10vw, 118px); aspect-ratio: 1;
    background-image: radial-gradient(color-mix(in srgb, var(--color-slate) 40%, transparent) 1.4px, transparent 1.4px);
    background-size: 13px 13px; opacity: .55; pointer-events: none;
}
.dotgrid--tr { top: -28px; right: -18px; }

/* ── 4 · ACADEMICS ───────────────────────────────────────────
   Centred head, five image cards, centred CTA. */
.programmes { display: grid; gap: clamp(14px, 1.6vw, 20px); }
@media (min-width: 560px)  { .programmes { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px)  { .programmes { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1180px) { .programmes { grid-template-columns: repeat(5, 1fr); } }

.programme { overflow: hidden; }
.programme .media { --ratio: 4/3; border-radius: 0; }
.programme img { transition: transform 650ms var(--ease); }
.programme:hover img { transform: scale(1.06); }
.programme__body { padding: 16px 16px 20px; }
.programme__ico { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 7px; background: var(--teal-tint); color: var(--color-secondary); margin-bottom: 10px; transition: background var(--t), color var(--t); }
.programme:hover .programme__ico { background: var(--color-secondary); color: #fff; }
.programme__title { font-family: var(--font-display); font-size: 14.5px; font-weight: 700; }
.programme__text { font-size: 12.5px; line-height: 1.55; color: var(--ink-55); margin-top: 5px; }
.programmes__cta { display: flex; justify-content: center; margin-top: clamp(28px, 3.5vw, 44px); }

/* ── 5 · CAMPUS LIFE ─────────────────────────────────────────
   Icon list at left, four-image collage at right. */
.campus__grid { display: grid; gap: clamp(34px, 4.5vw, 58px); align-items: center; }
@media (min-width: 980px) { .campus__grid { grid-template-columns: minmax(0, .86fr) minmax(0, 1.14fr); } }
.campus__title { margin-block: 14px 16px; max-width: 14ch; }

.lifelist { display: grid; gap: 20px; margin-block: 30px; }
.lifeitem { display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: start; }
.lifeitem__ico { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 8px; background: var(--teal-tint); color: var(--color-secondary); transition: background var(--t), color var(--t), transform var(--t); }
.lifeitem:hover .lifeitem__ico { background: var(--color-secondary); color: #fff; transform: translateY(-2px); }
.lifeitem__title { font-family: var(--font-display); font-size: 14.5px; font-weight: 700; }
.lifeitem__text { font-size: 13px; color: var(--ink-55); margin-top: 3px; }

.collage--four .collage__row { grid-template-columns: repeat(3, 1fr); }
.collage--four .collage__row .media { --ratio: 1/1; }

/* ── 6 · EVENTS + TESTIMONIAL ────────────────────────────────  */
.duo { display: grid; gap: clamp(24px, 3vw, 32px); align-items: start; }
@media (min-width: 980px) { .duo { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); } }

.panel { padding: clamp(22px, 2.6vw, 30px); }
.panel__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.panel__title { font-family: var(--font-display); font-size: 1.2rem; font-weight: 700; }

.eventrow {
    display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: center;
    padding: 16px; border: 1px solid var(--line-soft); border-radius: var(--radius-card);
    transition: border-color var(--t), box-shadow var(--t), transform var(--t);
}
.eventrow + .eventrow { margin-top: 12px; }
.eventrow:hover { border-color: var(--color-secondary); box-shadow: var(--shadow-1); transform: translateX(3px); }
.eventrow__date {
    display: grid; justify-items: center; width: 58px; padding: 10px 0;
    background: var(--color-secondary); color: #fff; border-radius: 8px;
}
.eventrow__day { font-family: var(--font-display); font-size: 1.3rem; font-weight: 800; line-height: 1; }
.eventrow__mon { font-size: 10px; font-weight: 700; letter-spacing: .12em; margin-top: 2px; }
.eventrow__title { font-family: var(--font-display); font-size: 15px; font-weight: 700; line-height: 1.35; }
.eventrow__meta { font-size: 12.5px; color: var(--ink-55); margin-top: 5px; }
.eventrow__venue { font-size: 12.5px; color: var(--ink-55); }

/* Testimonial — dark teal card with a gold quote mark */
.saycard {
    position: relative; overflow: hidden;
    padding: clamp(26px, 3vw, 36px);
    background: var(--teal-deep); color: #fff;
    border-radius: var(--radius-card);
}
.saycard__crest { position: absolute; right: -26px; bottom: -26px; width: 168px; opacity: .07; pointer-events: none; }
.saycard__mark { color: var(--color-accent); }
.saycard__viewport { overflow: hidden; margin-top: 16px; }
.saycard__track { display: flex; transition: transform 600ms var(--ease); }
.say { flex: 0 0 100%; }
.say__text { font-size: clamp(1rem, .95rem + .35vw, 1.15rem); line-height: 1.6; font-weight: 500; }
.say__by { display: flex; align-items: center; gap: 12px; margin-top: 22px; }
.say__avatar { width: 42px; height: 42px; border-radius: 50%; overflow: hidden; flex: none; display: grid; place-items: center; background: color-mix(in srgb, #fff 18%, transparent); }
.say__avatar img { width: 100%; height: 100%; object-fit: cover; }
.say__name { font-size: 14px; font-weight: 600; }
.say__role { font-size: 12.5px; color: color-mix(in srgb, #fff 70%, transparent); }
.saycard__dots { display: flex; gap: 7px; justify-content: center; margin-top: 24px; }
.saycard__dot { width: 7px; height: 7px; border-radius: 50%; background: color-mix(in srgb, #fff 34%, transparent); transition: background var(--t), transform var(--t); }
.saycard__dot.is-active { background: var(--color-accent); transform: scale(1.3); }

/* ── 7 · ADMISSIONS CTA ──────────────────────────────────────
   Maroon band, copy left, student portrait right. */
.admit { position: relative; overflow: hidden; background: var(--color-primary); color: #fff; border-radius: var(--radius-card); }
.admit__grid { display: grid; align-items: center; }
@media (min-width: 860px) { .admit__grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); } }
.admit__copy { padding: clamp(30px, 4vw, 56px); position: relative; z-index: 2; }
.admit__title { margin-block: 14px 14px; max-width: 12ch; }
.admit__text { color: color-mix(in srgb, #fff 82%, transparent); max-width: 38ch; }
.admit__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.admit__media { position: relative; align-self: stretch; min-height: 240px; }
.admit__media .media { --ratio: auto; height: 100%; border-radius: 0; }
.admit__crest { position: absolute; right: -40px; top: -30px; width: 260px; opacity: .08; pointer-events: none; z-index: 1; }

/* ── 8 · QUICK LINKS ─────────────────────────────────────────  */
.quicklinks { display: grid; gap: 12px; }
@media (min-width: 620px)  { .quicklinks { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .quicklinks { grid-template-columns: repeat(5, 1fr); } }
.quicklink {
    display: flex; align-items: center; gap: 12px;
    padding: 16px 18px; background: #fff;
    border: 1px solid var(--line-soft); border-radius: var(--radius-card);
    font-size: 14px; font-weight: 600;
    transition: border-color var(--t), box-shadow var(--t), transform var(--t), color var(--t);
}
.quicklink:hover { border-color: var(--color-secondary); color: var(--color-secondary); box-shadow: var(--shadow-1); transform: translateY(-3px); }
.quicklink__ico { color: var(--color-primary); transition: color var(--t); }
.quicklink:hover .quicklink__ico { color: var(--color-secondary); }
.quicklink__chev { margin-left: auto; color: var(--color-slate); transition: transform var(--t); }
.quicklink:hover .quicklink__chev { transform: translateX(3px); }

/* ── 9 · NEWSLETTER STRIP ────────────────────────────────────  */
.subscribe { display: grid; gap: clamp(20px, 3vw, 40px); align-items: center; }
@media (min-width: 860px) { .subscribe { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.subscribe__form { display: flex; flex-wrap: wrap; gap: 10px; }
.subscribe__form .input { flex: 1 1 220px; }
.subscribe__note { margin-top: 12px; font-size: 12.5px; color: var(--ink-55); }

/* ============================================================
   RESPONSIVE — section corrections for phones and small tablets
   ============================================================ */

/* ── Phones (≤ 600px) ── */
@media (max-width: 600px) {

    /* Hero: the overlay must go top-heavy, not left-heavy — there is no "left" on a phone */
    .hero__overlay {
        background:
            linear-gradient(180deg,
                color-mix(in srgb, var(--primary-deep) 62%, transparent) 0%,
                color-mix(in srgb, var(--primary-deep) 48%, transparent) 45%,
                color-mix(in srgb, var(--primary-deep) 86%, transparent) 100%);
    }
    .hero__media { background-position: center 24%; }
    .hero__title { max-width: 100%; }
    .hero__sub { font-size: .95rem; }
    .hero__actions { gap: 10px; }
    .hero__actions .btn { flex: 1 1 auto; justify-content: center; }

    /* Stats: icon beside a stacked value/label reads better than a wrapped row */
    .statcell { padding: 16px 18px; gap: 13px; }
    .statcell__ico { width: 38px; height: 38px; }
    .statcell__value { font-size: 1.45rem; }

    /* Collages: three-up thumbnails become unreadable below ~600px */
    .collage__row { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .collage--four .collage__row { grid-template-columns: repeat(2, 1fr); }
    .collage--four .collage__row figure:last-child { grid-column: span 2; }
    .collage--four .collage__row figure:last-child .media { --ratio: 16/9; }
    .collage { gap: 10px; }
    .collage__accent { display: none; }
    .dotgrid { display: none; }

    /* Feature / life lists: keep the icon column, tighten the rhythm */
    .features { gap: 18px; margin-block: 26px; }
    .lifelist { gap: 16px; margin-block: 24px; }

    /* Events + testimonial */
    .panel { padding: 20px 16px; }
    .eventrow { padding: 13px; gap: 13px; }
    .eventrow__date { width: 52px; padding: 8px 0; }
    .saycard { padding: 24px 20px; }
    .saycard__crest { width: 130px; right: -20px; bottom: -20px; }
    /* 7px dots are an unusable tap target — pad the hit area without changing the visual */
    .saycard__dot { position: relative; }
    .saycard__dot::after { content: ''; position: absolute; inset: -14px; }
    .saycard__dots { gap: 14px; margin-top: 20px; }

    /* Admissions CTA: portrait below the copy, at a sane height */
    .admit__copy { padding: 26px 20px; }
    .admit__title { max-width: 100%; }
    .admit__media { min-height: 0; }
    /* height:auto is explicit here: the desktop rule sets height:100%, which against an
       indefinite-height parent would fight the aspect-ratio instead of honouring it. */
    .admit__media .media { --ratio: 4/3; height: auto; }
    .admit__crest { width: 190px; right: -50px; top: -40px; }
    .admit__actions .btn { flex: 1 1 auto; justify-content: center; }

    /* Programme + quick-link cards */
    .programme__body { padding: 14px 14px 18px; }
    .quicklink { padding: 14px 16px; }

    .subscribe__form .btn { flex: 1 1 auto; justify-content: center; }
}

/* ── Small phones (≤ 380px) ── */
@media (max-width: 380px) {
    .hero__actions { flex-direction: column; align-items: stretch; }
    .statcell { padding: 14px 16px; }
    .features { grid-template-columns: 1fr; }
    .collage__row { grid-template-columns: 1fr; }
    .collage--four .collage__row figure:last-child { grid-column: auto; }
    .collage--four .collage__row figure:last-child .media { --ratio: 1/1; }
}

/* ── Tablets (601–979px): two-up where the phone stacks and the desktop spreads ── */
@media (min-width: 601px) and (max-width: 979px) {
    .why__grid, .campus__grid { gap: 34px; }
    .collage--four .collage__row { grid-template-columns: repeat(3, 1fr); }
    .duo { gap: 22px; }
    .admit__media .media { --ratio: 21/9; }
}

/* ── Management ──────────────────────────────────────────────────────────────
   The Proprietor, the Principal, the Head Teacher.

   Stacked: photograph, then name, then office, then their words — the original
   arrangement, restored. The sideways card halved the height but at the cost of
   a thumbnail; these are the one set of photographs on the site a parent
   actually studies, and a portrait is what that asks for.

   The band stays --color-warm. Events directly below is --color-bg, and two
   adjoining sections in the same tone read as one very long section. */
.leaders {
    display: grid;
    gap: clamp(20px, 2.6vw, 30px);
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
}

.leader {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--line-soft);
    border-radius: var(--radius-card, 14px);
    overflow: hidden;
    box-shadow: var(--shadow-1);
    transition: transform var(--t), box-shadow var(--t);
}
.leader:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); }

/* ── The photograph ──────────────────────────────────────────────────────────
   Edge to edge, and half the height it started at.

   It began as 3:4 filling the card — 1.000W by 1.333W. The height stays halved
   at 0.667W; the width goes back to the full 1.000W so there is no card colour
   showing beside or above it. Those two together are an aspect ratio of 3/2.

   aspect-ratio is set directly rather than through --ratio: media() writes that
   custom property as an inline style, and an inline declaration beats any
   stylesheet rule. Setting the property it feeds, at higher specificity than
   the base .media rule, is what actually takes effect.

   Square corners: the card clips with overflow: hidden, so it supplies the
   rounding at the top. Rounding the picture as well leaves a hairline of card
   colour inside the curve — which is the white edge this is removing. */
.leader__shot { width: 100%; margin: 0; }
.leader__shot .media {
    aspect-ratio: 3 / 2;
    border-radius: 0;
}
.leader__body { padding: 20px 22px 24px; }

.leader__name {
    font-family: var(--font-display);
    font-size: 18px; font-weight: 700; line-height: 1.3;
    color: var(--color-text);
}
.leader__role {
    margin-top: 4px;
    font-size: 12.5px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase;
    color: var(--color-primary);
}
.leader__word {
    margin-top: 12px;
    font-size: 14.5px; line-height: 1.72;
    color: var(--ink-70);
}

/* One person alone should not stretch the width of the page. */
.leaders:has(.leader:only-child) { max-width: 420px; margin-inline: auto; }

/* ── The band's own height ───────────────────────────────────────────────────
   Scoped to #management rather than changing .section--tight or .section__head,
   which every other band on the page also uses.

   Net of the two earlier adjustments: 3em came off the top, and 5em of height
   goes back on — 2.5em to each side, so the section grows by 5em overall while
   staying visually centred. The top therefore sits half an em inside the shared
   value rather than three ems inside it.

   max() keeps a floor so the subtraction cannot run negative on a narrow screen
   and collide the heading with the section above. */
#management {
    padding-top:    max(16px, calc(clamp(44px, 6vw, 76px) - 0.5em));
    padding-bottom: calc(clamp(44px, 6vw, 76px) + 2.5em);
}

/* The heading cluster stays tightened: 1em off the gap below it, and the two
   14px gaps inside it cut to 6px — a literal 1em off those would be negative. */
#management .section__head { margin-bottom: max(12px, calc(clamp(32px, 4.5vw, 56px) - 1em)); }
#management .section__head--center .section__title { margin-top: 6px; }
#management .section__head--center .section__sub   { margin-top: 6px; }

/* A quick link the school has not given an address to yet. Same tile, plainly
   not ready: it stops looking clickable and says why, rather than being a link
   that lands back on this page. Mirrors .portal-pick.is-soon in the masthead. */
.quicklink.is-soon { opacity: .58; cursor: not-allowed; }
.quicklink.is-soon:hover {
    border-color: var(--line-soft); color: inherit;
    box-shadow: none; transform: none;
}
.quicklink.is-soon:hover .quicklink__ico { color: var(--color-primary); }
.quicklink__soon {
    margin-left: auto; font-size: 11px; font-weight: 700;
    letter-spacing: .06em; text-transform: uppercase; color: var(--color-slate);
}
