/* ============================================================================
   K-IIT College of Engineering — shared.css
   Design system foundation (powers the full site)
   Aesthetic: QE-aligned editorial · clean white + grey base · navy + red,
   with gold (#CEA666) as the secondary accent · Playfair Display + Mulish
   (palette + fonts benchmarked to qegurugram.com — D-74)
   ========================================================================== */

/* ---------------------------------------------------------------------------
   1. Design tokens
   ------------------------------------------------------------------------ */
html,
body {
    overflow-x: hidden;
}

:root {
    /* Brand (exact from brand sheet) */
    --navy: #000b72;
    --navy-deep: #00073f;
    --navy-soft: #1b246b;
    --red: #da251c;
    --red-deep: #b41a13;
    /* Gold — secondary accent (from qegurugram.com #CEA666 / deep #85754E) */
    --gold: #cea666;
    --gold-2: #b98f43; /* richer gold for hover / on-light contrast */
    --gold-deep: #85754e; /* bronze — secondary headings */
    /* Clean neutrals (white base + cool grey alt — from qegurugram.com) */
    --paper: #ffffff; /* base background  */
    --paper-2: #f5f6f8; /* alt / grey section */
    --card: #ffffff; /* raised surfaces  */
    --ink: #1c2433; /* cool near-black text */
    --muted: #5d6675; /* secondary text (QE slate) */
    --faint: #8b93a1; /* tertiary / meta  */
    --line: rgba(20, 30, 48, 0.10);
    --line-strong: rgba(20, 30, 48, 0.18);
    /* On-dark */
    --on-dark: #f3f1ea;
    --on-dark-muted: rgba(255, 255, 255, 0.72);
    --on-dark-line: rgba(255, 255, 255, 0.16);
    /* Pastel accents (legacy — retained for placements/events components) */
    --pastel-teal: #3f9e92;
    --pastel-teal-d: #2f7d73;
    --pastel-coral: #df8a64;
    --pastel-coral-d: #c66f4b;
    /* Blue family — academic panels & Apply (from our nav, per brief) */
    --blue: #0a3a6e;
    --blue-soft: #1b4a85;
    --blue-deep: #082444;
    /* Typography — matched to qegurugram.com (Essonnes Display → Playfair,
     Soleil → Mulish) */
    --font-display: "Playfair Display", "Georgia", "Times New Roman", serif;
    --font-sans: "Mulish", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
    /* Fluid type scale */
    --fs-eyebrow: 0.78rem;
    --fs-body: clamp(1rem, 0.97rem + 0.18vw, 1.08rem);
    --fs-lead: clamp(1.12rem, 1.03rem + 0.45vw, 1.34rem);
    --fs-h4: clamp(1.18rem, 1.08rem + 0.5vw, 1.4rem);
    --fs-h3: clamp(1.35rem, 1.15rem + 0.9vw, 1.85rem);
    --fs-h2: clamp(2.3rem, 1.7rem + 2.5vw, 3.9rem);
    --fs-h1: clamp(2.9rem, 1.9rem + 4.4vw, 5.8rem);
    /* Inner-page title — smaller + uniform across placements / admissions / news heroes (not the homepage). */
    --fs-page-h1: clamp(2.2rem, 1.7rem + 2.4vw, 3.4rem);
    --fs-display: clamp(3.4rem, 2rem + 6vw, 7rem);
    /* Spacing / layout */
    --container: 1200px;
    --container-wide: 1320px;
    --gutter: clamp(1.25rem, 4vw, 3rem);
    --section-y: clamp(4rem, 8vw, 8rem);
    --radius: 14px;
    --radius-lg: 22px;
    --radius-sm: 10px;
    /* Effects */
    --shadow-sm: 0 1px 2px rgba(22,20,15,.06), 0 4px 14px rgba(22,20,15,.05);
    --shadow-md: 0 10px 30px -12px rgba(22,20,15,.18), 0 4px 10px -6px rgba(22,20,15,.10);
    --shadow-lg: 0 30px 60px -20px rgba(0,11,114,.28), 0 12px 28px -16px rgba(22,20,15,.18);
    --ease: cubic-bezier(.22, 1, .36, 1);
    --ease-out: cubic-bezier(.16, 1, .3, 1);
    --dur: .55s;
    --z-nav: 100;
    --z-drawer: 200;
}

/* ---------------------------------------------------------------------------
   2. Reset & base
   ------------------------------------------------------------------------ */
*, *::before, *::after {
    box-sizing: border-box;
}

* {
    margin: 0;
}

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}

body {
    font-family: var(--font-sans);
    font-size: var(--fs-body);
    line-height: 1.65;
    color: var(--ink);
    background: var(--paper);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}

img, picture, svg, video {
    display: block;
    max-width: 100%;
}

img {
    height: auto;
}

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

button {
    font: inherit;
    color: inherit;
    cursor: pointer;
    background: none;
    border: none;
}

ul {
    list-style: none;
    padding: 0;
}

:focus-visible {
    outline: 2.5px solid var(--red);
    outline-offset: 3px;
    border-radius: 3px;
}

/* ---------------------------------------------------------------------------
   3. Typography
   ------------------------------------------------------------------------ */
h1, h2 {
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.04;
    letter-spacing: -0.005em;
    color: var(--navy);
}

h3, h4 {
    font-family: var(--font-sans);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.01em;
    color: var(--navy);
}

h1 {
    font-size: var(--fs-h1);
}

h2 {
    font-size: var(--fs-h2);
}

h3 {
    font-size: var(--fs-h3);
}

h4 {
    font-size: var(--fs-h4);
    font-weight: 600;
}

p {
    text-wrap: pretty;
}

strong {
    font-weight: 650;
}

.serif {
    font-family: var(--font-display);
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .6em;
    font-family: var(--font-sans);
    font-size: var(--fs-eyebrow);
    font-weight: 600;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--red);
}

    .eyebrow::before {
        content: "";
        width: 1.9rem;
        height: 2px;
        background: var(--red);
        display: inline-block;
    }

.eyebrow--center {
    justify-content: center;
}

.eyebrow--light {
    color: #ffd2cf;
}

    .eyebrow--light::before {
        background: #ffd2cf;
    }
/* gold eyebrow — QE secondary accent, used on dark / academic sections */
.eyebrow--gold {
    color: var(--gold);
}

    .eyebrow--gold::before {
        background: var(--gold);
    }

.gold {
    color: var(--gold-deep);
}

.lead {
    font-size: var(--fs-lead);
    color: var(--muted);
    line-height: 1.55;
}

.measure {
    max-width: 62ch;
}

.measure-wide {
    max-width: 76ch;
}

.prose p {
    margin-bottom: 1.05rem;
    color: var(--ink);
    font-size: 1.02rem;
    line-height: 1.72;
}

    .prose p:last-child {
        margin-bottom: 0;
    }

.prose b {
    color: var(--navy);
    font-weight: 700;
}

.measure-sm {
    max-width: 46ch;
}

/* ---------------------------------------------------------------------------
   4. Layout helpers
   ------------------------------------------------------------------------ */
.container {
    width: 100%;
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: var(--gutter);
}

.container--wide {
    max-width: var(--container-wide);
}

.section {
    padding-block: var(--section-y);
}

.section--tight {
    padding-block: clamp(3rem, 5vw, 5rem);
}

.section--paper2 {
    background: var(--paper-2);
}

.section--ink {
    background: var(--navy);
    color: var(--on-dark);
}
/* blue section background — nav navy, for clear section segregation (D-75) */
.section--blue {
    position: relative;
    isolation: isolate;
    background: var(--blue-deep);
    color: #fff;
}

    .section--blue::before {
        content: "";
        position: absolute;
        inset: 0;
        z-index: -1;
        background: radial-gradient(80% 120% at 100% 0%, rgba(206,166,102,.14), transparent 58%);
    }

    .section--blue h2, .section--blue h3, .section--blue h4 {
        color: #fff;
    }

    .section--blue .lead {
        color: rgba(255,255,255,.84);
    }

    .section--blue p {
        color: rgba(255,255,255,.8);
    }

    .section--blue .eyebrow {
        color: var(--gold);
    }

        .section--blue .eyebrow::before {
            background: var(--gold);
        }

.section-head {
    max-width: 64ch;
}

.section-head--center {
    margin-inline: auto;
    text-align: center;
}

.section-head h2 {
    margin-top: .5rem;
}

.section-head p {
    margin-top: 1.1rem;
}

/* paragraph rhythm inside text columns */
.split__text > p + p,
.split__text > .lead + p {
    margin-top: 1.1rem;
}

.grid {
    display: grid;
    gap: clamp(1rem, 2vw, 1.75rem);
}

.stack > * + * {
    margin-top: 1rem;
}

/* ---------------------------------------------------------------------------
   5. Buttons
   ------------------------------------------------------------------------ */
.btn {
    --btn-bg: var(--navy);
    --btn-fg: #fff;
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    gap: .6em;
    padding: .92em 1.7em;
    font-family: var(--font-sans);
    font-size: .96rem;
    font-weight: 600;
    letter-spacing: .01em;
    color: var(--btn-fg);
    background: var(--btn-bg);
    border-radius: 999px;
    border: 1.5px solid transparent;
    transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .25s var(--ease), color .25s var(--ease);
    will-change: transform;
}

    .btn:hover {
        transform: translateY(-2px);
        box-shadow: var(--shadow-md);
    }

    .btn:active {
        transform: translateY(0);
    }

    .btn svg {
        width: 1.05em;
        height: 1.05em;
        transition: transform .3s var(--ease);
    }

    .btn:hover svg {
        transform: translateX(3px);
    }

.btn--primary {
    --btn-bg: var(--red);
    --btn-fg: #fff;
}

    .btn--primary:hover {
        background: var(--red-deep);
    }

.btn--blue {
    --btn-bg: var(--blue-deep);
    --btn-fg: #fff;
}

    .btn--blue:hover {
        background: var(--navy);
    }

.btn--ghost {
    --btn-bg: transparent;
    --btn-fg: var(--navy);
    border-color: var(--line-strong);
}

    .btn--ghost:hover {
        background: var(--navy);
        color: #fff;
        border-color: var(--navy);
    }

.btn--light {
    --btn-bg: #fff;
    --btn-fg: var(--navy);
    box-shadow: 0 10px 30px -12px rgba(0,4,30,.5);
}

    .btn--light svg {
        color: var(--navy);
    }

    .btn--light:hover {
        background: #fff;
        color: var(--navy);
        box-shadow: 0 16px 36px -14px rgba(0,4,30,.6);
    }

.btn--outline-light {
    --btn-bg: transparent;
    --btn-fg: #fff;
    border-color: var(--on-dark-line);
}

    .btn--outline-light:hover {
        background: rgba(255,255,255,.12);
        border-color: rgba(255,255,255,.4);
    }

.btn--sm {
    padding: .68em 1.2em;
    font-size: .88rem;
}

.textlink {
    display: inline-flex;
    align-items: center;
    gap: .45em;
    font-weight: 600;
    color: var(--red);
    border-bottom: 1.5px solid transparent;
    transition: border-color .25s var(--ease), gap .25s var(--ease);
}

    .textlink svg {
        width: 1em;
        height: 1em;
        transition: transform .3s var(--ease);
    }

    .textlink:hover {
        border-color: currentColor;
    }

        .textlink:hover svg {
            transform: translateX(3px);
        }

/* ---------------------------------------------------------------------------
   6. Navigation
   ------------------------------------------------------------------------ */
.nav {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: var(--z-nav);
    background: rgba(8,36,68,.90); /* footer navy #082444 — glassy over the hero */
    -webkit-backdrop-filter: blur(18px) saturate(140%);
    backdrop-filter: blur(18px) saturate(140%);
    border-bottom: 1px solid rgba(255,255,255,.08);
    box-shadow: 0 1px 0 rgba(0,0,0,.22);
    transition: background-color .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease);
}

.nav__inner {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    height: 78px;
    max-width: var(--container-wide);
    margin-inline: auto;
    padding-inline: var(--gutter);
}
/* Brand lockup — KIIT-family format: crest + red wordmark, clean bold sans (matches kiitworldschool.org) */
.nav__brand {
    display: flex;
    align-items: center;
    gap: .8rem;
    margin-right: auto;
}

    .nav__brand img {
        width: 52px;
        height: 52px;
        object-fit: contain;
        transition: transform .4s var(--ease);
        filter: drop-shadow(0 2px 6px rgba(0,0,0,.38));
    }

    .nav__brand:hover img {
        transform: rotate(-3deg) scale(1.04);
    }
/* reference lockup: red acronym | two-line white "COLLEGE OF ENGINEERING" */
.nav__brand-text {
    display: flex;
    flex-direction: row;
    align-items: center;
    line-height: 1;
}

    .nav__brand-text b {
        font-family: "Helvetica Neue", Helvetica, Arial, var(--font-sans);
        font-weight: 800;
        font-size: 1.5rem;
        line-height: 1;
        letter-spacing: -.012em;
        color: var(--red);
        white-space: nowrap;
    }

.nav__brand-sub {
    font-family: "Helvetica Neue", Helvetica, Arial, var(--font-sans);
    font-weight: 700;
    font-size: .64rem;
    letter-spacing: .15em;
    text-transform: uppercase;
    color: #fff;
    line-height: 1.2;
    margin-left: .6rem;
    padding-left: .6rem;
    border-left: 2px solid rgba(255,255,255,.32);
    white-space: nowrap;
}
/* compact NAAC 'A' badge in the brand lockup */
.nav__naac {
    display: flex;
    align-items: center;
    gap: .42rem;
    margin-left: .8rem;
    padding-left: .85rem;
    border-left: 1px solid rgba(0,11,114,.16);
}

.nav__naac__grade {
    font-family: "Arial Black", "Arial", var(--font-sans);
    font-weight: 900;
    font-size: 1rem;
    color: #fff;
    background: var(--red);
    width: 1.7rem;
    height: 1.7rem;
    border-radius: 6px;
    display: grid;
    place-items: center;
    line-height: 1;
    box-shadow: 0 4px 10px -4px rgba(218,37,28,.6);
}

.nav__naac__txt {
    font-size: .55rem;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--navy);
    line-height: 1.12;
}

.nav__links {
    display: flex;
    align-items: center;
    gap: .1rem;
}

    .nav__links a {
        position: relative;
        padding: .5rem .66rem;
        border-radius: 8px;
        white-space: nowrap;
        font-size: .88rem;
        font-weight: 600;
        color: rgba(255,255,255,.82);
        transition: color .25s var(--ease), background-color .25s var(--ease);
    }

        .nav__links a:hover {
            color: #fff;
            background: rgba(255,255,255,.10);
        }

        .nav__links a[aria-current="page"] {
            color: #fff;
        }

            .nav__links a[aria-current="page"]::after {
                content: "";
                position: absolute;
                left: .72rem;
                right: .72rem;
                bottom: .18rem;
                height: 2px;
                background: var(--red);
                border-radius: 2px;
            }

        .nav__links a.nav__cta-soft {
            color: #ff8a82;
        }

            .nav__links a.nav__cta-soft:hover {
                background: rgba(218,37,28,.14);
            }

.nav__actions {
    display: flex;
    align-items: center;
    gap: .6rem;
}

.nav__login {
    font-size: .88rem;
    font-weight: 600;
    color: rgba(255,255,255,.88);
    padding: .5rem .75rem;
    border-radius: 8px;
    white-space: nowrap;
    transition: color .25s var(--ease), background-color .25s var(--ease);
}

    .nav__login:hover {
        background: rgba(255,255,255,.10);
    }

/* after scroll — solid footer-navy, gains depth (height stays constant) */
.nav.is-solid, .nav--solid {
    background: #082444;
    border-bottom-color: rgba(255,255,255,.10);
    box-shadow: 0 10px 30px -18px rgba(0,0,0,.6);
}

.nav__burger {
    display: none;
    width: 44px;
    height: 44px;
    border-radius: 10px;
    position: relative;
}

    .nav__burger span {
        position: absolute;
        left: 11px;
        right: 11px;
        height: 2px;
        background: #fff;
        border-radius: 2px;
        transition: transform .3s var(--ease), opacity .2s var(--ease);
    }

        .nav__burger span:nth-child(1) {
            top: 15px;
        }

        .nav__burger span:nth-child(2) {
            top: 21px;
        }

        .nav__burger span:nth-child(3) {
            top: 27px;
        }

/* Mobile drawer */
.drawer {
    position: fixed;
    inset: 0;
    z-index: var(--z-drawer);
    background: var(--blue-deep);
    color: #fff;
    padding: clamp(1.5rem, 6vw, 3rem);
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform .45s var(--ease);
    visibility: hidden;
}

    .drawer.is-open {
        transform: translateX(0);
        visibility: visible;
    }

.drawer__top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2.5rem;
}

    .drawer__top img {
        width: 46px;
        height: 46px;
    }

.drawer__close {
    width: 44px;
    height: 44px;
    font-size: 1.6rem;
    color: #fff;
}

.drawer nav {
    display: flex;
    flex-direction: column;
    gap: .25rem;
}

    .drawer nav a {
        font-family: var(--font-sans);
        font-size: 1.05rem;
        font-weight: 600;
        padding: .85rem 0;
        color: rgba(255, 255, 255, .9);
        border-bottom: 1px solid var(--on-dark-line);
        transition: color .2s var(--ease), padding-left .25s var(--ease);
    }

        .drawer nav a:hover {
            color: #fff;
            padding-left: .5rem;
        }

.drawer__actions {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: .75rem;
    padding-top: 2rem;
}

    .drawer__actions .btn {
        justify-content: center;
    }

body.nav-open {
    overflow: hidden;
}

/* ---------------------------------------------------------------------------
   7. Hero
   ------------------------------------------------------------------------ */
.hero {
    position: relative;
    isolation: isolate;
    min-height: 100svh;
    display: flex;
    color: #fff;
    overflow: hidden;
}

.hero__media {
    position: absolute;
    inset: 0;
    z-index: -2;
}

    .hero__media img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transform: scale(1.06);
    }
    /* ref-1 treatment: image stays clear on the right; text column on the left
   is darkened (gradient) + softly blurred (.hero__fx) so copy is legible. */
    /* darken only the bottom-left corner (behind the text + buttons) so the campus
   infrastructure — a USP — stays visible across the rest of the frame */
    .hero__media::after {
        content: "";
        position: absolute;
        inset: 0;
        background: radial-gradient(95% 96% at 0% 100%, rgba(2,6,28,.82) 0%, rgba(2,6,28,.5) 30%, rgba(2,6,28,.16) 52%, rgba(2,6,28,0) 74%), linear-gradient(to top, rgba(2,6,28,.42) 0%, rgba(2,6,28,0) 20%);
    }
/* soft blur confined to the same bottom-left corner */
.hero__fx {
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    -webkit-mask-image: radial-gradient(86% 88% at 0% 100%, #000 0%, #000 32%, rgba(0,0,0,.5) 54%, rgba(0,0,0,0) 76%);
    mask-image: radial-gradient(86% 88% at 0% 100%, #000 0%, #000 32%, rgba(0,0,0,.5) 54%, rgba(0,0,0,0) 76%);
}

.hero__inner {
    width: 100%;
    max-width: var(--container-wide);
    margin-inline: auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: calc(92px + 2rem) var(--gutter) 0;
}

.hero__content {
    max-width: 60rem;
    margin-bottom: clamp(2.2rem, 5vh, 3.4rem);
}

.hero h1 {
    color: #fff;
    margin: 1.4rem 0;
    font-weight: 600;
    text-shadow: 0 2px 30px rgba(0,4,30,.45);
}

    .hero h1 em {
        font-style: italic;
        color: #ffd2cf;
    }

.hero__lead {
    text-shadow: 0 1px 16px rgba(0,4,30,.4);
}

/* hero entry cards — frosted glass, ref-style, no index numbers */
.hero__entries {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(.8rem, 1.5vw, 1.1rem);
    margin-bottom: clamp(1.4rem, 4vh, 2.6rem);
}

.hentry {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 1.3rem 1.45rem;
    border-radius: var(--radius);
    color: #fff;
    background: rgba(8,12,38,.34);
    -webkit-backdrop-filter: blur(12px) saturate(120%);
    backdrop-filter: blur(12px) saturate(120%);
    border: 1px solid rgba(255,255,255,.18);
    transition: transform .35s var(--ease), background-color .35s var(--ease), border-color .35s var(--ease);
}

    .hentry:hover {
        transform: translateY(-4px);
        background: rgba(8,12,38,.52);
        border-color: rgba(255,255,255,.34);
    }

    .hentry b {
        display: block;
        font-family: var(--font-sans);
        font-size: 1.08rem;
        font-weight: 700;
        margin-bottom: .25rem;
    }

    .hentry p {
        font-size: .86rem;
        color: rgba(255,255,255,.8);
    }

.hentry__go {
    display: inline-flex;
    align-items: center;
    gap: .4em;
    margin-top: .9rem;
    font-size: .82rem;
    font-weight: 600;
    color: #ffd2cf;
}

    .hentry__go svg {
        width: 1em;
        height: 1em;
        transition: transform .3s var(--ease);
    }

.hentry:hover .hentry__go svg {
    transform: translateX(4px);
}

.hero__lead {
    font-size: var(--fs-lead);
    color: rgba(255,255,255,.88);
    max-width: 46ch;
}

.hero__cta {
    display: flex;
    flex-wrap: wrap;
    gap: .9rem;
    margin-top: 2rem;
}

.hero__scroll {
    position: absolute;
    bottom: 1.6rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .5rem;
    font-size: .68rem;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: rgba(255,255,255,.92);
    text-shadow: 0 1px 6px rgba(0,0,0,.4);
}

    .hero__scroll i {
        width: 1px;
        height: 38px;
        background: linear-gradient(rgba(255,255,255,.92), transparent);
        animation: scrolldrop 2s var(--ease) infinite;
    }

@keyframes scrolldrop {
    0% {
        transform: scaleY(0);
        transform-origin: top;
    }

    45% {
        transform: scaleY(1);
        transform-origin: top;
    }

    55% {
        transform: scaleY(1);
        transform-origin: bottom;
    }

    100% {
        transform: scaleY(0);
        transform-origin: bottom;
    }
}

/* Typewriter hero headline (vanilla port of typewriter-text) — bottom-left,
   white, display serif, blinking caret. Sits on the bottom-left darkened/blurred
   corner so it reads while the campus photo stays the hero. */
/* Bold sans, sized to keep the longest phrase on a single line (the .hero
   section clips any overflow on very narrow phones). `.hero .hero__type`
   out-specifies `.hero h1` so the serif/weight defaults are overridden. */
.hero .hero__type {
    font-family: var(--font-sans);
    font-weight: 700;
    font-size: clamp(0.95rem, 4vw, 2.5rem);
    line-height: 1.15;
    letter-spacing: -.01em;
    white-space: nowrap;
    color: #fff;
    margin: 1.1rem 0;
    text-shadow: 0 2px 24px rgba(0,4,30,.45);
    min-height: 1.15em;
}

.hero__caret {
    display: inline-block;
    margin-left: .03em;
    font-weight: 400;
    color: var(--red);
    animation: caretBlink 1.05s steps(1, end) infinite;
}

@keyframes caretBlink {
    0%, 50% {
        opacity: 1;
    }

    50.01%, 100% {
        opacity: 0;
    }
}
/* visually-hidden text kept for screen readers / SEO */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}

/* Page hero (inner pages, no photo) */
.pagehero {
    position: relative;
    padding: calc(80px + clamp(3rem,7vw,6rem)) 0 clamp(3rem,6vw,5.5rem);
    background: var(--navy);
    color: #fff;
    overflow: hidden;
    isolation: isolate;
}

    .pagehero::before {
        content: "";
        position: absolute;
        inset: 0;
        z-index: -1;
        background: radial-gradient(120% 100% at 85% -10%, rgba(218,37,28,.42), transparent 55%), radial-gradient(90% 80% at 0% 110%, rgba(27,36,107,.9), transparent 60%), linear-gradient(180deg, var(--navy-deep), var(--navy));
    }

.pagehero__grid {
    position: absolute;
    inset: 0;
    z-index: -1;
    opacity: .5;
    background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: radial-gradient(120% 90% at 70% 0%, #000 30%, transparent 75%);
}

.pagehero h1 {
    color: #fff;
    max-width: 18ch;
    font-size: var(--fs-page-h1);
}

.pagehero .lead {
    color: rgba(255,255,255,.82);
    margin-top: 1.2rem;
}

.breadcrumb {
    display: flex;
    gap: .5rem;
    font-size: .82rem;
    color: rgba(255,255,255,.6);
    margin-bottom: 1.4rem;
}

    .breadcrumb a:hover {
        color: #fff;
    }

    .breadcrumb span {
        color: rgba(255,255,255,.35);
    }

/* ---------------------------------------------------------------------------
   8. Stat tiles  (the placement big-numbers)
   ------------------------------------------------------------------------ */
.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.stat {
    background: var(--card);
    padding: clamp(1.5rem, 3vw, 2.4rem);
}

.stat__num {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: clamp(2.4rem, 1.4rem + 3.6vw, 4rem);
    line-height: 1;
    color: var(--navy);
    letter-spacing: -.02em;
    display: flex;
    align-items: baseline;
    gap: .06em;
}

    .stat__num .unit {
        font-size: .46em;
        color: var(--red);
        font-weight: 600;
    }

.stat__label {
    margin-top: .7rem;
    font-size: .92rem;
    font-weight: 600;
    color: var(--ink);
}

.stat__sub {
    font-size: .8rem;
    color: var(--faint);
    margin-top: .15rem;
}
/* on-dark variant */
.stats--dark {
    background: var(--on-dark-line);
    border-color: var(--on-dark-line);
}

    .stats--dark .stat {
        background: var(--navy);
    }

    .stats--dark .stat__num {
        color: #fff;
    }

        .stats--dark .stat__num .unit {
            color: #ff8a82;
        }

    .stats--dark .stat__label {
        color: #fff;
    }

    .stats--dark .stat__sub {
        color: var(--on-dark-muted);
    }

.indicative {
    display: inline-flex;
    align-items: center;
    gap: .5em;
    font-size: .78rem;
    color: var(--faint);
    margin-top: 1.1rem;
}

    .indicative::before {
        content: "i";
        display: grid;
        place-items: center;
        width: 1.25em;
        height: 1.25em;
        border-radius: 50%;
        border: 1.4px solid currentColor;
        font-family: var(--font-display);
        font-style: italic;
        font-size: .85em;
    }

.indicative--light {
    color: rgba(255,255,255,.6);
}

/* ---------------------------------------------------------------------------
   9. Cards
   ------------------------------------------------------------------------ */
.card {
    position: relative;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease);
}

    .card:hover {
        transform: translateY(-5px);
        box-shadow: var(--shadow-md);
        border-color: var(--line-strong);
    }

.card__body {
    padding: clamp(1.4rem, 2.4vw, 2rem);
}

/* program card */
.prog {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.prog__tag {
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--red);
}

.prog h3 {
    margin: .6rem 0 .5rem;
    font-size: var(--fs-h4);
    font-weight: 600;
}

.prog p {
    color: var(--muted);
    font-size: .95rem;
}

.prog__meta {
    display: flex;
    gap: 1.2rem;
    margin-top: 1.2rem;
    padding-top: 1.2rem;
    border-top: 1px solid var(--line);
    font-size: .82rem;
    color: var(--faint);
}

    .prog__meta b {
        display: block;
        color: var(--ink);
        font-size: .95rem;
        font-weight: 600;
        font-family: var(--font-display);
    }

.prog__link {
    margin-top: auto;
    padding-top: 1.3rem;
}

.prog__accent {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--red);
    transform: scaleY(0);
    transform-origin: top;
    transition: transform .4s var(--ease);
}

.card:hover .prog__accent {
    transform: scaleY(1);
}

/* feature / why card */
.feature {
    padding: clamp(1.4rem,2.4vw,2rem);
}

.feature__icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: rgba(0,11,114,.07);
    color: var(--navy);
    margin-bottom: 1.2rem;
    transition: background-color .35s var(--ease), color .35s var(--ease);
}

    .feature__icon svg {
        width: 26px;
        height: 26px;
    }

.feature:hover .feature__icon {
    background: var(--navy);
    color: #fff;
}

.feature h4 {
    margin-bottom: .5rem;
    color: var(--navy);
}

.feature p {
    color: var(--muted);
    font-size: .95rem;
}

/* ---------------------------------------------------------------------------
   10. Logos / recruiters
   ------------------------------------------------------------------------ */
.logo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
}

    .logo-grid li {
        background: var(--card);
        aspect-ratio: 16/9;
        display: grid;
        place-items: center;
        padding: 1.2rem;
    }

.logo-chip {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.15rem;
    color: var(--faint);
    letter-spacing: -.01em;
    filter: grayscale(1);
    opacity: .75;
    transition: color .3s var(--ease), opacity .3s var(--ease), transform .3s var(--ease);
}

.logo-grid li:hover .logo-chip {
    color: var(--navy);
    opacity: 1;
    transform: scale(1.05);
}

/* marquee */
.marquee {
    overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.marquee__track {
    display: flex;
    gap: 3.2rem;
    width: max-content;
    animation: marquee 38s linear infinite;
}

.marquee:hover .marquee__track {
    animation-play-state: paused;
}

.marquee__track span {
    font-family: var(--font-display);
    font-size: clamp(1.3rem,3vw,2rem);
    font-weight: 500;
    color: rgba(255,255,255,.55);
    white-space: nowrap;
    transition: color .3s var(--ease);
}

    .marquee__track span:hover {
        color: #fff;
    }

@keyframes marquee {
    to {
        transform: translateX(-50%);
    }
}

/* ---------------------------------------------------------------------------
   11. Timeline / process steps
   ------------------------------------------------------------------------ */
.timeline {
    display: grid;
    gap: clamp(1rem,2vw,1.5rem);
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    counter-reset: step;
}

.tstep {
    position: relative;
    padding: 1.8rem 1.5rem;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

.tstep__n {
    font-family: var(--font-display);
    font-size: 2.6rem;
    line-height: 1;
    color: rgba(0,11,114,.16);
    font-weight: 600;
}

.tstep h4 {
    margin: .6rem 0 .4rem;
    color: var(--navy);
    font-size: 1.08rem;
}

.tstep p {
    font-size: .9rem;
    color: var(--muted);
}

.tstep__bar {
    position: absolute;
    left: 0;
    bottom: 0;
    height: 3px;
    width: 100%;
    background: linear-gradient(90deg, var(--red), transparent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .5s var(--ease);
}

.tstep:hover .tstep__bar {
    transform: scaleX(1);
}

/* ---------------------------------------------------------------------------
   12. Profile / testimonial
   ------------------------------------------------------------------------ */
.carousel {
    position: relative;
}

.carousel__viewport {
    overflow: hidden;
}

.carousel__track {
    display: flex;
    gap: clamp(1rem,2vw,1.5rem);
    transition: transform .6s var(--ease);
    will-change: transform;
}

.profile {
    flex: 0 0 auto;
    width: min(380px, 82vw);
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: clamp(1.6rem,2.5vw,2.2rem);
    display: flex;
    flex-direction: column;
}

.profile__quote {
    font-family: var(--font-display);
    font-size: 1.22rem;
    line-height: 1.4;
    color: var(--navy);
    font-weight: 400;
}

    .profile__quote::before {
        content: "\201C";
        font-size: 2.4rem;
        line-height: 0;
        color: var(--red);
        vertical-align: -.35em;
        margin-right: .08em;
    }

.profile__person {
    display: flex;
    align-items: center;
    gap: .9rem;
    margin-top: auto;
    padding-top: 1.6rem;
}

.profile__avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    object-fit: cover;
    background: var(--paper-2);
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    font-family: var(--font-display);
    font-weight: 600;
    color: var(--navy);
    font-size: 1.2rem;
}

.profile__person b {
    display: block;
    font-size: .98rem;
    color: var(--ink);
}

.profile__person span {
    font-size: .82rem;
    color: var(--faint);
}

.profile__badge {
    margin-top: 1rem;
    display: inline-flex;
    align-items: center;
    gap: .5em;
    align-self: flex-start;
    padding: .35em .8em;
    border-radius: 999px;
    background: rgba(0,11,114,.06);
    font-size: .78rem;
    font-weight: 600;
    color: var(--navy);
}

    .profile__badge b {
        font-family: var(--font-display);
    }

.carousel__nav {
    display: flex;
    gap: .6rem;
}

.carousel__btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1.5px solid var(--line-strong);
    display: grid;
    place-items: center;
    color: var(--navy);
    transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}

    .carousel__btn:hover:not(:disabled) {
        background: var(--navy);
        color: #fff;
        border-color: var(--navy);
    }

    .carousel__btn:disabled {
        opacity: .35;
        cursor: not-allowed;
    }

    .carousel__btn svg {
        width: 20px;
        height: 20px;
    }

/* ---------------------------------------------------------------------------
   13. Data table
   ------------------------------------------------------------------------ */
.table-wrap {
    overflow-x: auto;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--card);
}

table.data {
    width: 100%;
    border-collapse: collapse;
    min-width: 640px;
}

    table.data th, table.data td {
        padding: 1rem 1.25rem;
        text-align: left;
        font-size: .92rem;
    }

    table.data thead th {
        background: var(--navy);
        color: #fff;
        font-weight: 600;
        font-size: .82rem;
        letter-spacing: .04em;
        text-transform: uppercase;
        white-space: nowrap;
    }

    table.data tbody tr {
        border-top: 1px solid var(--line);
        transition: background-color .2s var(--ease);
    }

        table.data tbody tr:hover {
            background: rgba(0,11,114,.04);
        }

    table.data td.num {
        font-family: var(--font-display);
        font-weight: 600;
        color: var(--navy);
        font-variant-numeric: tabular-nums;
    }

    table.data td b {
        color: var(--red);
        font-weight: 700;
    }

/* simple bar chart */
.bars {
    display: flex;
    align-items: flex-end;
    gap: clamp(.6rem,2vw,1.6rem);
    height: 240px;
    padding-top: 1rem;
}

.bar {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .8rem;
    height: 100%;
    justify-content: flex-end;
}

.bar__col {
    width: 100%;
    max-width: 64px;
    border-radius: 8px 8px 0 0;
    background: linear-gradient(var(--navy-soft), var(--navy));
    position: relative;
    height: var(--h, 50%);
    transform: scaleY(0);
    transform-origin: bottom;
    transition: transform .9s var(--ease);
}

.bar:nth-child(odd) .bar__col {
    background: linear-gradient(#e8554d, var(--red));
}

.bars.is-visible .bar__col {
    transform: scaleY(1);
}

.bar__col span {
    position: absolute;
    top: -1.7rem;
    left: 50%;
    transform: translateX(-50%);
    font-family: var(--font-display);
    font-weight: 600;
    font-size: .9rem;
    color: var(--navy);
    white-space: nowrap;
}

.bar__label {
    font-size: .82rem;
    color: var(--muted);
    font-weight: 600;
}

/* ---------------------------------------------------------------------------
   14. Misc bands
   ------------------------------------------------------------------------ */
.cta-band {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    background: var(--navy);
    color: #fff;
    border-radius: var(--radius-lg);
    padding: clamp(2.5rem,5vw,4.5rem);
}

    .cta-band::before {
        content: "";
        position: absolute;
        inset: 0;
        z-index: -1;
        background: radial-gradient(80% 140% at 100% 0%, rgba(218,37,28,.5), transparent 55%);
    }

    .cta-band h2 {
        color: #fff;
    }

    .cta-band p {
        color: rgba(255,255,255,.8);
        margin-top: 1rem;
    }

    .cta-band .hero__cta {
        margin-top: 2rem;
    }

.split {
    display: grid;
    gap: clamp(2rem,5vw,4.5rem);
    align-items: center;
    grid-template-columns: 1.05fr 1fr;
}

.media-frame {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

    .media-frame img {
        width: 100%;
        aspect-ratio: 4/3;
        object-fit: cover;
    }

.media-frame--tall img {
    aspect-ratio: 3/4;
}

.badge-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: clamp(1.2rem,3vw,2.5rem);
}

    .badge-row li {
        display: flex;
        align-items: center;
        gap: .7rem;
        font-size: .88rem;
        font-weight: 600;
        color: var(--muted);
    }

    .badge-row .dot {
        min-width: 38px;
        height: 38px;
        padding-inline: .5rem;
        border-radius: 10px;
        background: rgba(0,11,114,.07);
        color: var(--navy);
        display: grid;
        place-items: center;
        font-family: var(--font-display);
        font-weight: 700;
        font-size: .8rem;
        white-space: nowrap;
        flex: 0 0 auto;
    }

.badge-row--light li {
    color: rgba(255,255,255,.85);
}

.badge-row--light .dot {
    background: rgba(255,255,255,.12);
    color: #fff;
}

/* gradient block fallback imagery */
.gblock {
    border-radius: var(--radius-lg);
    aspect-ratio: 4/3;
    background: linear-gradient(135deg, var(--navy), var(--navy-soft) 60%, var(--red));
    position: relative;
    overflow: hidden;
}

    .gblock::after {
        content: "";
        position: absolute;
        inset: 0;
        background-image: radial-gradient(rgba(255,255,255,.14) 1px, transparent 1px);
        background-size: 22px 22px;
    }

    .gblock span {
        position: absolute;
        bottom: 1.2rem;
        left: 1.4rem;
        color: rgba(255,255,255,.85);
        font-size: .8rem;
        font-weight: 600;
        letter-spacing: .12em;
        text-transform: uppercase;
        z-index: 1;
    }

/* news list */
.newslist li {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 1.4rem;
    align-items: center;
    padding: 1.3rem 0;
    border-top: 1px solid var(--line);
    transition: padding-left .3s var(--ease);
}

    .newslist li:hover {
        padding-left: .5rem;
    }

.newslist .date {
    font-size: .8rem;
    font-weight: 600;
    color: var(--red);
    letter-spacing: .04em;
    white-space: nowrap;
}

.newslist h4 {
    font-family: var(--font-sans);
    font-size: 1.02rem;
    font-weight: 600;
    color: var(--navy);
}

.newslist .pill {
    font-size: .72rem;
    padding: .3em .7em;
    border-radius: 999px;
    background: rgba(0,11,114,.07);
    color: var(--navy);
    font-weight: 600;
    white-space: nowrap;
}

.newslist svg {
    width: 18px;
    height: 18px;
    color: var(--faint);
    transition: transform .3s var(--ease), color .3s var(--ease);
}

.newslist li:hover svg {
    transform: translateX(4px);
    color: var(--red);
}

/* ---------------------------------------------------------------------------
   14b. Accreditation strip
   ------------------------------------------------------------------------ */
.accred {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(1rem, 2vw, 1.6rem);
}

.accred__card {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    gap: 1.1rem;
    padding: clamp(1.4rem, 2.2vw, 1.9rem);
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease);
}

    .accred__card::before {
        content: "";
        position: absolute;
        left: 0;
        top: 0;
        height: 3px;
        width: 0;
        background: var(--red);
        transition: width .5s var(--ease);
    }

    .accred__card:hover {
        transform: translateY(-5px);
        box-shadow: var(--shadow-md);
        border-color: var(--line-strong);
    }

        .accred__card:hover::before {
            width: 100%;
        }

.accred__seal {
    position: relative;
    flex: 0 0 auto;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: rgba(0,11,114,.06);
    color: var(--navy);
    border: 1.5px solid rgba(0,11,114,.16);
    transition: transform .45s var(--ease), background-color .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease);
}

    .accred__seal::after {
        content: "";
        position: absolute;
        inset: -6px;
        border-radius: 50%;
        border: 1.5px solid currentColor;
        opacity: 0;
        transform: scale(.8);
        transition: opacity .4s var(--ease), transform .4s var(--ease);
    }

.accred__card:hover .accred__seal {
    transform: scale(1.06) rotate(-4deg);
    background: var(--navy);
    color: #fff;
    border-color: var(--navy);
}

    .accred__card:hover .accred__seal::after {
        opacity: .4;
        transform: scale(1);
    }

.accred__seal.is-red {
    background: rgba(218,37,28,.08);
    color: var(--red);
    border-color: rgba(218,37,28,.2);
}

.accred__card:hover .accred__seal.is-red {
    background: var(--red);
    color: #fff;
    border-color: var(--red);
}

.accred__seal b {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.5rem;
    line-height: 1;
}

.accred__seal svg {
    width: 30px;
    height: 30px;
}

.accred__card h4 {
    font-size: 1.06rem;
    color: var(--navy);
    margin-bottom: .15rem;
}

.accred__card p {
    font-size: .86rem;
    color: var(--muted);
}

/* ---------------------------------------------------------------------------
   14b-2. Facilities grid (brochure style — navy cards)
   ------------------------------------------------------------------------ */
.facil {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(1rem, 2vw, 1.5rem);
}

.facil__card {
    position: relative;
    overflow: hidden;
    padding: clamp(1.5rem, 2.6vw, 2.1rem);
    border-radius: var(--radius-lg);
    background: linear-gradient(155deg, var(--navy-soft), var(--navy) 70%);
    color: #fff;
    transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}

    .facil__card:hover {
        transform: translateY(-5px);
        box-shadow: var(--shadow-lg);
    }

    .facil__card::after {
        content: "";
        position: absolute;
        right: -30px;
        bottom: -30px;
        width: 120px;
        height: 120px;
        border-radius: 50%;
        background: radial-gradient(circle, rgba(218,37,28,.35), transparent 70%);
        opacity: 0;
        transition: opacity .4s var(--ease);
    }

    .facil__card:hover::after {
        opacity: 1;
    }

.facil__ic {
    width: 54px;
    height: 54px;
    border-radius: 14px;
    background: #fff;
    color: var(--navy);
    display: grid;
    place-items: center;
    margin-bottom: 1.3rem;
}

    .facil__ic svg {
        width: 28px;
        height: 28px;
    }

.facil__card h4 {
    color: #fff;
    font-size: 1.15rem;
    margin-bottom: .35rem;
}

.facil__card p {
    color: rgba(255,255,255,.74);
    font-size: .9rem;
}

/* ---------------------------------------------------------------------------
   14c. About / vision stat tiles (icon style)
   ------------------------------------------------------------------------ */
.istats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: clamp(.8rem, 1.6vw, 1.2rem);
}

.istat {
    padding: clamp(1.2rem, 2vw, 1.7rem);
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    transition: transform .35s var(--ease), border-color .35s var(--ease);
}

    .istat:hover {
        transform: translateY(-3px);
        border-color: var(--line-strong);
    }

.istat__ic {
    width: 40px;
    height: 40px;
    border-radius: 11px;
    display: grid;
    place-items: center;
    background: rgba(0,11,114,.07);
    color: var(--navy);
    margin-bottom: .9rem;
}

    .istat__ic svg {
        width: 21px;
        height: 21px;
    }

.istat__num {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: clamp(2rem, 1.4rem + 1.8vw, 2.8rem);
    line-height: 1;
    color: var(--navy);
}

    .istat__num .unit {
        color: var(--red);
    }

.istat__label {
    margin-top: .45rem;
    font-size: .88rem;
    font-weight: 600;
    color: var(--ink);
}

.vision {
    border-left: 3px solid var(--red);
    padding: .3rem 0 .3rem 1.5rem;
}

    .vision span {
        font-size: .78rem;
        font-weight: 700;
        letter-spacing: .16em;
        text-transform: uppercase;
        color: var(--red);
    }

    .vision p {
        font-family: var(--font-display);
        font-size: clamp(1.4rem, 1.1rem + 1vw, 1.95rem);
        line-height: 1.25;
        color: var(--navy);
        font-weight: 500;
        margin-top: .6rem;
    }

/* image collage for about */
.collage {
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    grid-template-rows: 1fr 1fr;
    gap: 1rem;
}

    .collage > *:nth-child(1) {
        grid-row: 1 / 3;
    }

    .collage img, .collage .gblock {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: var(--radius);
        min-height: 130px;
    }

    .collage .media-frame {
        height: 100%;
    }

        .collage .media-frame img {
            aspect-ratio: auto;
            height: 100%;
        }

/* ---------------------------------------------------------------------------
   14d. Academic programmes — school panels (SNU-style)
   ------------------------------------------------------------------------ */
.schools {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(1rem, 2vw, 1.5rem);
}

.school {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    border-radius: var(--radius-lg);
    min-height: clamp(340px, 42vw, 460px);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: clamp(1.6rem, 3vw, 2.6rem);
    color: #fff;
    transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}

    .school:hover {
        transform: translateY(-6px);
        box-shadow: var(--shadow-lg);
    }
/* Engineering panel = brand blue, Business panel = brand red (D-75) — exact
   brand tokens (#000b72 / #da251c); image tint comes from the multiply blend */
.school--eng {
    background: linear-gradient(158deg, #0a1a8c 0%, var(--navy) 54%, var(--navy-deep) 100%);
}

.school--biz {
    background: linear-gradient(158deg, #ef3a31 0%, var(--red) 50%, var(--red-deep) 100%);
}
/* gold hairline label + link on the blue panels (QE gold-on-navy) */
.school__label {
    color: var(--gold);
}

.school__courses li {
    background: rgba(255,255,255,.14);
    border-color: rgba(206,166,102,.45);
}

.school__link {
    border-color: rgba(206,166,102,.6);
}

.school:hover .school__link {
    border-color: var(--gold);
}

.school__bg {
    position: absolute;
    inset: 0;
    z-index: -1;
    opacity: .9;
}

    .school__bg img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        mix-blend-mode: multiply;
        opacity: .28;
    }

.school::before { /* texture dots */
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background-image: radial-gradient(rgba(255,255,255,.16) 1px, transparent 1px);
    background-size: 24px 24px;
    opacity: .5;
}

.school__label {
    font-size: .74rem;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: rgba(255,255,255,.82);
}

.school__label--big {
    font-size: clamp(1.05rem, .85rem + .9vw, 1.6rem);
    letter-spacing: .14em;
    color: #fff;
}

.school__title {
    font-family: var(--font-sans);
    font-weight: 700;
    font-size: clamp(1.7rem, 1.2rem + 1.8vw, 2.6rem);
    line-height: 1.05;
    letter-spacing: -.02em;
    color: #fff;
    margin: .5rem 0 0;
}

.school__reveal {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows .5s var(--ease), opacity .4s var(--ease), margin-top .4s var(--ease);
    opacity: 0;
    margin-top: 0;
}

    .school__reveal > div {
        overflow: hidden;
    }

.school:hover .school__reveal, .school:focus-within .school__reveal {
    grid-template-rows: 1fr;
    opacity: 1;
    margin-top: 1.1rem;
}

.school__reveal p {
    color: rgba(255,255,255,.92);
    font-size: .96rem;
    max-width: 42ch;
}

.school__courses {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    margin-top: 1rem;
}

    .school__courses li {
        font-size: .82rem;
        font-weight: 600;
        padding: .35em .85em;
        border-radius: 999px;
        background: rgba(255,255,255,.18);
        border: 1px solid rgba(255,255,255,.28);
    }

.school__link {
    display: inline-flex;
    align-items: center;
    gap: .5em;
    margin-top: 1.3rem;
    font-weight: 700;
    font-size: .95rem;
    color: #fff;
    border-bottom: 2px solid rgba(255,255,255,.5);
    padding-bottom: 2px;
    transition: gap .25s var(--ease), border-color .25s var(--ease);
}

    .school__link svg {
        width: 1.05em;
        height: 1.05em;
        transition: transform .3s var(--ease);
    }

.school:hover .school__link {
    gap: .8em;
    border-color: #fff;
}

    .school:hover .school__link svg {
        transform: translateX(3px);
    }

/* ---------------------------------------------------------------------------
   14e. News grid (image cards)
   ------------------------------------------------------------------------ */
.newsgrid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: clamp(1rem, 2vw, 1.5rem);
}

.ncard {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease);
}

    .ncard:hover {
        transform: translateY(-5px);
        box-shadow: var(--shadow-md);
        border-color: var(--line-strong);
    }

.ncard__media {
    position: relative;
    aspect-ratio: 16/11;
    overflow: hidden;
}

    .ncard__media img, .ncard__media .gblock {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 0;
        aspect-ratio: auto;
    }

    .ncard__media .gblock {
        position: absolute;
        inset: 0;
    }

.ncard:hover .ncard__media img {
    transform: scale(1.06);
}

.ncard__media img {
    transition: transform .6s var(--ease);
}

.ncard__date {
    position: absolute;
    top: .8rem;
    left: .8rem;
    background: var(--navy);
    color: #fff;
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .03em;
    padding: .35em .7em;
    border-radius: 7px;
    z-index: 1;
}

.ncard__body {
    padding: 1.2rem 1.25rem 1.4rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.ncard__tag {
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--red);
    margin-bottom: .5rem;
}

.ncard__body h4 {
    font-size: 1rem;
    line-height: 1.3;
    color: var(--navy);
}

.ncard__body .textlink {
    margin-top: auto;
    padding-top: 1rem;
    font-size: .88rem;
}

/* ---------------------------------------------------------------------------
   14f. Why K-IIT — brand band with white feature pills
   ------------------------------------------------------------------------ */
.why {
    background: var(--navy);
    color: #fff;
}

    .why h2 {
        color: #fff;
    }

    .why .lead {
        color: rgba(255,255,255,.82);
    }

    .why .eyebrow--light {
        color: #ffd2cf;
    }

.why-pills {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: clamp(.7rem, 1.3vw, 1rem);
    max-width: 62rem;
    margin: 0 auto;
}

.why-pill {
    display: inline-flex;
    align-items: center;
    gap: .7em;
    padding: .9em 1.45em;
    border-radius: 999px;
    background: #fff;
    color: var(--navy);
    font-weight: 600;
    font-size: .98rem;
    white-space: nowrap;
    box-shadow: 0 10px 26px -16px rgba(0,0,0,.6);
    transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}

    .why-pill svg {
        width: 1.15em;
        height: 1.15em;
        color: var(--red);
        flex: 0 0 auto;
    }

    .why-pill:hover {
        transform: translateY(-3px);
        box-shadow: 0 16px 34px -16px rgba(0,0,0,.7);
    }

/* ---------------------------------------------------------------------------
   14g. Our Campus — landscape image with overlay card (campus-life teaser)
   ------------------------------------------------------------------------ */
.campus {
    position: relative;
    display: flex;
    align-items: center;
    min-height: clamp(360px, 46vw, 520px);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.campus__img {
    position: absolute;
    inset: 0;
    z-index: -1;
}

    .campus__img img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform .8s var(--ease);
    }

.campus:hover .campus__img img {
    transform: scale(1.04);
}

.campus::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(90deg, rgba(4,6,24,.66) 0%, rgba(4,6,24,.22) 42%, rgba(4,6,24,0) 70%);
}

.campus__card {
    margin: clamp(1.2rem, 3vw, 2.6rem);
    max-width: min(430px, 88%);
    padding: clamp(1.6rem, 2.8vw, 2.3rem);
    background: linear-gradient(155deg, rgba(0,11,114,.92) 0%, rgba(0,7,63,.88) 100%);
    -webkit-backdrop-filter: blur(8px) saturate(120%);
    backdrop-filter: blur(8px) saturate(120%);
    border: 1px solid rgba(255,255,255,.14);
    border-radius: var(--radius);
    color: #fff;
    box-shadow: 0 24px 60px -24px rgba(0,4,30,.7);
}

.campus__kicker {
    font-size: .74rem;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: #ffd2cf;
}

.campus__card h3 {
    color: #fff;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: clamp(1.7rem, 1.2rem + 1.6vw, 2.4rem);
    margin: .5rem 0 .7rem;
}

.campus__card p {
    color: rgba(255,255,255,.86);
    font-size: .96rem;
}

.campus__go {
    display: inline-flex;
    align-items: center;
    gap: .5em;
    margin-top: 1.3rem;
    font-weight: 700;
    font-size: .95rem;
    color: #fff;
    border-bottom: 2px solid rgba(255,255,255,.5);
    padding-bottom: 2px;
    transition: gap .25s var(--ease), border-color .25s var(--ease);
}

    .campus__go svg {
        width: 1.05em;
        height: 1.05em;
        transition: transform .3s var(--ease);
    }

.campus:hover .campus__go {
    gap: .8em;
    border-color: #fff;
}

    .campus:hover .campus__go svg {
        transform: translateX(3px);
    }

/* ---------------------------------------------------------------------------
   14h. Alumni companies — floating logo rows (school-of-motion style)
   ------------------------------------------------------------------------ */
.alumni {
    position: relative;
    isolation: isolate;
    background: linear-gradient(140deg, var(--blue-deep) 0%, #0a2c50 55%, #071f3c 100%);
    color: #fff;
    overflow: hidden;
}

    .alumni::before {
        content: "";
        position: absolute;
        inset: 0;
        z-index: -1;
        background: radial-gradient(60% 90% at 85% 0%, rgba(206,166,102,.16), transparent 60%), radial-gradient(50% 80% at 8% 100%, rgba(218,37,28,.12), transparent 62%);
    }

    .alumni h2 {
        color: #fff;
    }

    .alumni .lead {
        color: rgba(255,255,255,.8);
    }

.logos-float {
    display: flex;
    flex-direction: column;
    gap: clamp(1rem, 2.4vw, 1.9rem);
}

.logos-row {
    overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}

.logos-track {
    display: flex;
    align-items: center;
    gap: clamp(2.6rem, 6vw, 5rem);
    width: max-content;
    animation: logos-scroll 46s linear infinite;
}

.logos-track--rev {
    animation-direction: reverse;
    animation-duration: 54s;
}

.logos-row:hover .logos-track {
    animation-play-state: paused;
}

.logo-word {
    font-family: var(--font-sans);
    font-weight: 700;
    font-size: clamp(1.15rem, 1rem + 1.1vw, 1.75rem);
    letter-spacing: -.01em;
    color: rgba(255,255,255,.6);
    white-space: nowrap;
    transition: color .3s var(--ease), transform .3s var(--ease);
}

    .logo-word:hover {
        color: #fff;
        transform: translateY(-2px);
    }

@keyframes logos-scroll {
    to {
        transform: translateX(-50%);
    }
}

/* ---------------------------------------------------------------------------
   14i. About — Vision & Mission blocks
   ------------------------------------------------------------------------ */
.vm {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(1rem, 2vw, 1.5rem);
    margin-top: clamp(1.6rem, 3vw, 2.4rem);
}

.vm__card {
    position: relative;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: clamp(1.5rem, 2.6vw, 2rem);
    border-top: 3px solid var(--red);
    transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}

    .vm__card:hover {
        transform: translateY(-4px);
        box-shadow: var(--shadow-md);
    }

.vm__head {
    display: flex;
    align-items: center;
    gap: .8rem;
    margin-bottom: .9rem;
}

.vm__ic {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: rgba(0,11,114,.07);
    color: var(--navy);
    flex: 0 0 auto;
}

    .vm__ic svg {
        width: 22px;
        height: 22px;
    }

.vm__head span {
    font-size: .76rem;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--red);
}

.vm__card p {
    font-family: var(--font-sans);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--muted);
    font-weight: 400;
}

/* ---------------------------------------------------------------------------
   14j. Interest-registration form (admissions CTA band)
   ------------------------------------------------------------------------ */
.regform {
    background: var(--card);
    border-radius: var(--radius-lg);
    padding: clamp(1.5rem, 3vw, 2.2rem);
    margin-top: clamp(1.8rem, 3vw, 2.6rem);
    box-shadow: var(--shadow-lg);
}

.regform__title {
    color: var(--navy);
    font-family: var(--font-sans);
    font-weight: 700;
    font-size: 1.2rem;
}

.regform__sub {
    color: var(--muted);
    font-size: .92rem;
    margin-top: .3rem;
    margin-bottom: 1.3rem;
}

.regform__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem 1.2rem;
}

.field {
    display: flex;
    flex-direction: column;
    gap: .4rem;
}

    .field label {
        font-size: .8rem;
        font-weight: 600;
        color: var(--ink);
    }

        .field label .req {
            color: var(--red);
        }

    .field input, .field select {
        padding: .82rem .9rem;
        border: 1.5px solid var(--line-strong);
        border-radius: 10px;
        font: inherit;
        font-size: .95rem;
        color: var(--ink);
        background: #fff;
        transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
        width:100%;
    }

    .field select {
        cursor: pointer;
        appearance: none;
        -webkit-appearance: none;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23000b72' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
        background-repeat: no-repeat;
        background-position: right .9rem center;
        padding-right: 2.4rem;
    }

        .field input:focus, .field select:focus {
            outline: none;
            border-color: var(--navy);
            box-shadow: 0 0 0 3px rgba(0,11,114,.14);
        }

    .field input::placeholder {
        color: var(--faint);
    }

.regform__actions {
    grid-column: 1 / -1;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1.1rem;
    margin-top: .3rem;
}

.regform__note {
    font-size: .8rem;
    color: var(--faint);
    max-width: 34ch;
}

.regform__success {
    display: none;
    align-items: center;
    gap: .7rem;
    margin-top: 1rem;
    padding: .9rem 1.1rem;
    border-radius: 10px;
    background: rgba(63,158,146,.12);
    border: 1px solid rgba(47,125,115,.3);
    color: var(--pastel-teal-d);
    font-weight: 600;
    font-size: .92rem;
}

    .regform__success svg {
        width: 20px;
        height: 20px;
        flex: 0 0 auto;
    }

.regform.is-sent .regform__success {
    display: flex;
}

/* Careers application form extras (grouped legends, textarea, file, Yes/No) */
.regform__legend {
    grid-column: 1 / -1;
    margin-top: .7rem;
    font-family: var(--font-sans);
    font-weight: 800;
    font-size: .73rem;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--gold-deep);
    display: flex;
    align-items: center;
    gap: .75rem;
}

    .regform__legend::after {
        content: "";
        flex: 1;
        height: 1px;
        background: var(--line);
    }

.regform__grid > .regform__legend:first-child {
    margin-top: 0;
}

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

.field textarea {
    padding: .82rem .9rem;
    border: 1.5px solid var(--line-strong);
    border-radius: 10px;
    font: inherit;
    font-size: .95rem;
    color: var(--ink);
    background: #fff;
    resize: vertical;
    min-height: 90px;
    transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}

    .field textarea:focus {
        outline: none;
        border-color: var(--navy);
        box-shadow: 0 0 0 3px rgba(0,11,114,.14);
    }

.field input[type="file"] {
    padding: .55rem .7rem;
    cursor: pointer;
}

    .field input[type="file"]::file-selector-button {
        font: inherit;
        font-weight: 700;
        font-size: .8rem;
        margin-right: .85rem;
        padding: .5rem .95rem;
        border: 0;
        border-radius: 8px;
        background: var(--blue-deep);
        color: #fff;
        cursor: pointer;
        transition: background .25s var(--ease);
    }

        .field input[type="file"]::file-selector-button:hover {
            background: var(--navy);
        }

.field__hint {
    font-size: .76rem;
    color: var(--faint);
}

.radioset {
    display: flex;
    gap: 1.6rem;
    padding-top: .3rem;
}

    .radioset label {
        display: inline-flex;
        align-items: center;
        gap: .5rem;
        font-size: .92rem;
        font-weight: 600;
        color: var(--ink);
        cursor: pointer;
    }

    .radioset input {
        width: auto;
        padding: 0;
        margin: 0;
        border: 0;
        border-radius: 0;
        background: none;
        box-shadow: none;
        accent-color: var(--red);
        cursor: pointer;
    }

@media (max-width: 560px) {
    .regform__grid {
        grid-template-columns: 1fr;
    }
}

/* ---------------------------------------------------------------------------
   14k. About — authentic photo figure + est badge
   ------------------------------------------------------------------------ */
.about-fig {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

    .about-fig img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        aspect-ratio: 5/6;
    }

.est-badge {
    position: absolute;
    left: 1rem;
    bottom: 1rem;
    display: flex;
    align-items: center;
    gap: .8rem;
    padding: .75rem 1.05rem;
    border-radius: 14px;
    background: linear-gradient(150deg, rgba(0,11,114,.95), rgba(0,7,63,.92));
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255,255,255,.18);
    box-shadow: var(--shadow-md);
}

    .est-badge b {
        font-family: var(--font-display);
        font-weight: 600;
        font-size: 1.9rem;
        line-height: 1;
        color: #fff;
    }

    .est-badge span {
        font-size: .68rem;
        font-weight: 700;
        letter-spacing: .12em;
        text-transform: uppercase;
        color: rgba(255,255,255,.82);
        max-width: 9ch;
        line-height: 1.25;
    }

.about-fig__line {
    position: absolute;
    left: 1rem;
    bottom: 1rem;
    right: 1rem;
}

/* ---------------------------------------------------------------------------
   14l. Why K-IIT — scroll-driven interactive timeline + evolving illustration
   ------------------------------------------------------------------------ */
.whyx__grid {
    display: grid;
    grid-template-columns: .92fr 1.08fr;
    gap: clamp(2rem, 5vw, 4.5rem);
    align-items: start;
}

.whyx__aside {
    position: sticky;
    top: 116px;
}

.whyx__art {
    margin-top: clamp(1.6rem, 3vw, 2.6rem);
    position: relative;
    display: grid;
    place-items: center;
    padding: clamp(1.6rem, 3vw, 2.4rem);
    background: radial-gradient(120% 120% at 50% 0%, rgba(0,11,114,.04), transparent 70%), var(--paper-2);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
}

    .whyx__art svg {
        width: 100%;
        max-width: 300px;
        height: auto;
        overflow: visible;
    }

.whyx__draw {
    fill: none;
    stroke: var(--navy);
    stroke-width: 2.4;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 1;
    stroke-dashoffset: calc(1 - var(--p, 0));
}

.whyx__draw--red {
    stroke: var(--red);
}

.whyx__draw--soft {
    stroke: rgba(0,11,114,.28);
}

.whyx__art-dot {
    fill: var(--red);
    opacity: 0;
    transform: scale(.4);
    transform-origin: center;
    transition: opacity .4s var(--ease), transform .4s var(--ease);
}

.whyx.is-late .whyx__art-dot {
    opacity: 1;
    transform: scale(1);
}

.whyx__pct {
    position: absolute;
    right: 6%;
    top: 4%;
    font-family: var(--font-display);
    font-size: 2.4rem;
    color: rgba(0,11,114,.16);
    font-weight: 600;
}

.whyx__list {
    position: relative;
    padding-left: 2.6rem;
    list-style: none;
}

.whyx__track {
    position: absolute;
    left: 12px;
    top: 14px;
    bottom: 18px;
    width: 2px;
    background: var(--line-strong);
    border-radius: 2px;
    overflow: hidden;
}

.whyx__fill {
    display: block;
    width: 100%;
    height: 100%;
    background: linear-gradient(var(--red), var(--red-deep));
    transform: scaleY(var(--p, 0));
    transform-origin: top;
}

.whyx__item {
    position: relative;
    padding-bottom: clamp(1.5rem, 2.8vw, 2.3rem);
}

    .whyx__item:last-child {
        padding-bottom: 0;
    }

.whyx__node {
    position: absolute;
    left: -2.6rem;
    top: -2px;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--card);
    border: 2px solid var(--line-strong);
    color: var(--faint);
    display: grid;
    place-items: center;
    z-index: 1;
    transition: background-color .4s var(--ease), border-color .4s var(--ease), color .4s var(--ease), transform .4s var(--ease), box-shadow .4s var(--ease);
}

    .whyx__node svg {
        width: 14px;
        height: 14px;
    }

.whyx__item.is-on .whyx__node {
    background: var(--red);
    border-color: var(--red);
    color: #fff;
    transform: scale(1.12);
    box-shadow: 0 8px 18px -6px rgba(218,37,28,.55);
}

.whyx__item h4 {
    color: var(--navy);
    margin-bottom: .3rem;
    transition: color .3s var(--ease);
}

.whyx__item p {
    color: var(--muted);
    font-size: .96rem;
    max-width: 50ch;
    transition: opacity .4s var(--ease);
}

.whyx__item:not(.is-on) p {
    opacity: .72;
}

/* ---------------------------------------------------------------------------
   14m. Photo page hero (inner pages with a background image — e.g. placements)
   ------------------------------------------------------------------------ */
.phero {
    position: relative;
    isolation: isolate;
    color: #fff;
    overflow: hidden;
    padding: calc(92px + clamp(3rem,7vw,5.5rem)) 0 clamp(3rem,6vw,5rem);
}

.phero__img {
    position: absolute;
    inset: 0;
    z-index: -2;
}

    .phero__img img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.phero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(95deg, rgba(0,6,34,.92) 0%, rgba(0,6,34,.68) 46%, rgba(0,6,34,.36) 100%), linear-gradient(to top, rgba(0,6,34,.7) 0%, rgba(0,6,34,0) 42%);
}

.phero h1 {
    color: #fff;
    max-width: 20ch;
    font-size: var(--fs-page-h1);
}

.phero .lead {
    color: rgba(255,255,255,.86);
    margin-top: 1.1rem;
}

.phero .breadcrumb {
    color: rgba(255,255,255,.66);
}

    .phero .breadcrumb a:hover {
        color: #fff;
    }

    .phero .breadcrumb span {
        color: rgba(255,255,255,.4);
    }

.phero__stats {
    display: flex;
    flex-wrap: wrap;
    gap: clamp(1.6rem, 4vw, 3.2rem);
    margin-top: clamp(1.8rem, 3.5vw, 2.8rem);
}

.phero__stat b {
    display: block;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: clamp(1.9rem, 1.2rem + 1.8vw, 2.8rem);
    color: #fff;
    line-height: 1;
}

.phero__stat span {
    font-size: .8rem;
    color: rgba(255,255,255,.74);
    letter-spacing: .02em;
}

/* intro split with lead-in metric list (CRC overview) */
.crc-points {
    display: grid;
    gap: 1rem;
    margin-top: 1.6rem;
}

    .crc-points li {
        display: flex;
        gap: .9rem;
        align-items: flex-start;
        font-size: .98rem;
        color: var(--ink);
    }

    .crc-points svg {
        width: 22px;
        height: 22px;
        flex: 0 0 auto;
        color: var(--red);
        margin-top: .15rem;
    }

@media (max-width: 900px) {
    .whyx__grid {
        grid-template-columns: 1fr;
    }

    .whyx__aside {
        position: static;
    }

    .whyx__art {
        max-width: 320px;
    }
}

/* ---------------------------------------------------------------------------
   15. Footer
   ------------------------------------------------------------------------ */
/* Footer — palette matched to kiitworldschool.org (deep navy #082444 + crimson accent) */
.footer {
    background: #082444;
    color: rgba(255,255,255,.72);
    padding-top: clamp(3.5rem,6vw,5.5rem);
}

.footer__grid {
    display: grid;
    gap: clamp(2rem,4vw,3rem);
    grid-template-columns: 1.6fr repeat(3, 1fr);
}

.footer__brand {
    display: flex;
    align-items: center;
    gap: .8rem;
    margin-bottom: .9rem;
}

    .footer__brand img {
        width: 54px;
        height: 54px;
    }
/* same lockup as the nav: red acronym | two-line white "COLLEGE OF ENGINEERING" */
.footer__brand-text {
    display: flex;
    flex-direction: row;
    align-items: center;
    line-height: 1;
}

    .footer__brand-text b {
        font-family: "Helvetica Neue", Helvetica, Arial, var(--font-sans);
        font-weight: 800;
        font-size: 1.5rem;
        color: var(--red);
        line-height: 1;
        letter-spacing: -.012em;
        white-space: nowrap;
    }

.footer__brand-sub {
    font-family: "Helvetica Neue", Helvetica, Arial, var(--font-sans);
    font-weight: 700;
    font-size: .64rem;
    letter-spacing: .15em;
    text-transform: uppercase;
    color: #fff;
    line-height: 1.2;
    margin-left: .6rem;
    padding-left: .6rem;
    border-left: 2px solid rgba(255,255,255,.32);
    white-space: nowrap;
}

.footer__tagline {
    font-size: .72rem;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: rgba(255,255,255,.5);
    margin-bottom: 1.3rem;
    max-width: none;
}

.footer p {
    font-size: .92rem;
    max-width: 34ch;
}

.footer h5 {
    font-size: .76rem;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: rgba(255,255,255,.55);
    margin-bottom: 1.1rem;
    font-weight: 700;
}

.footer ul li {
    margin-bottom: .65rem;
}

.footer ul a {
    font-size: .92rem;
    color: rgba(255,255,255,.72);
    transition: color .2s var(--ease);
}

    .footer ul a:hover {
        color: #fff;
    }

.footer__contact li {
    display: flex;
    gap: .6rem;
    font-size: .92rem;
    margin-bottom: .8rem;
}

.footer__contact svg {
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
    color: #ff8a82;
    margin-top: .15rem;
}

.footer__social {
    display: flex;
    gap: .6rem;
    margin-top: 1.4rem;
}

    .footer__social a {
        width: 40px;
        height: 40px;
        border-radius: 10px;
        border: 1px solid var(--on-dark-line);
        display: grid;
        place-items: center;
        color: rgba(255,255,255,.75);
        transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
    }

        .footer__social a:hover {
            background: #DB3254;
            color: #fff;
            border-color: #DB3254;
        }

    .footer__social svg {
        width: 18px;
        height: 18px;
    }

.footer__bar {
    margin-top: clamp(2.5rem,5vw,4rem);
    border-top: 1px solid var(--on-dark-line);
    padding: 1.6rem 0;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: space-between;
    align-items: center;
    font-size: .82rem;
}

    .footer__bar nav {
        display: flex;
        flex-wrap: wrap;
        gap: 1.4rem;
    }

    .footer__bar a:hover {
        color: #fff;
    }

/* ---------------------------------------------------------------------------
   16. Reveal animations
   ------------------------------------------------------------------------ */
.reveal {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity .8s var(--ease-out), transform .8s var(--ease-out);
    transition-delay: var(--d, 0s);
    will-change: opacity, transform;
}

    .reveal.is-visible {
        opacity: 1;
        transform: none;
    }

.reveal-l {
    opacity: 0;
    transform: translateX(-32px);
    transition: opacity .8s var(--ease-out), transform .8s var(--ease-out);
    transition-delay: var(--d, 0s);
    will-change: opacity, transform;
}

    .reveal-l.is-visible {
        opacity: 1;
        transform: none;
    }

.reveal-r {
    opacity: 0;
    transform: translateX(32px);
    transition: opacity .8s var(--ease-out), transform .8s var(--ease-out);
    transition-delay: var(--d, 0s);
}

    .reveal-r.is-visible {
        opacity: 1;
        transform: none;
    }

.reveal-scale {
    opacity: 0;
    transform: scale(.94);
    transition: opacity .8s var(--ease-out), transform .8s var(--ease-out);
    transition-delay: var(--d, 0s);
}

    .reveal-scale.is-visible {
        opacity: 1;
        transform: none;
    }

/* ---------------------------------------------------------------------------
   17. Responsive
   ------------------------------------------------------------------------ */
.cols-2 {
    grid-template-columns: repeat(2, 1fr);
}

.cols-3 {
    grid-template-columns: repeat(3, 1fr);
}

.cols-4 {
    grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 1080px) {
    .cols-4 {
        grid-template-columns: repeat(2, 1fr);
    }

    .newsgrid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer__grid {
        grid-template-columns: 1fr 1fr;
    }

    .footer__brand-col {
        grid-column: 1 / -1;
    }
}
/* nav collapses to a burger earlier so the full link set never crowds */
@media (max-width: 1024px) {
    .nav__links, .nav__login, .nav__naac {
        display: none;
    }

    .nav__burger {
        display: block;
    }
}

@media (max-width: 900px) {
    .split {
        grid-template-columns: 1fr;
    }

    .split--reverse .split__media {
        order: -1;
    }

    .cols-3 {
        grid-template-columns: repeat(2, 1fr);
    }

    .accred {
        grid-template-columns: 1fr;
    }

    .vm {
        grid-template-columns: 1fr;
    }

    .schools {
        grid-template-columns: 1fr;
    }

    .facil {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero__entries {
        grid-template-columns: 1fr;
    }

    .hentry {
        padding: 1.15rem 1.3rem;
    }
    /* touch: no hover — show school detail by default */
    .school__reveal {
        grid-template-rows: 1fr;
        opacity: 1;
        margin-top: 1.1rem;
    }
}

@media (max-width: 900px) {
    .hero__scroll {
        display: none;
    }
}

@media (max-width: 600px) {
    .cols-2, .cols-3, .cols-4 {
        grid-template-columns: 1fr;
    }

    .footer__grid {
        grid-template-columns: 1fr;
    }

    .newslist li {
        grid-template-columns: 1fr auto;
    }

    .newslist .pill {
        display: none;
    }

    .hero {
        min-height: 92svh;
    }

    .badge-row {
        gap: .9rem 1.4rem;
    }

    .newsgrid {
        grid-template-columns: 1fr;
    }

    .facil {
        grid-template-columns: 1fr;
    }

    .collage {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto;
    }

        .collage > *:nth-child(1) {
            grid-row: auto;
            grid-column: 1 / -1;
        }
    /* keep header to crest + brand + Apply + burger */
    .nav__brand-text b {
        font-size: 1.4rem;
    }

    .nav__brand-text span {
        display: none;
    }

    .nav__brand img {
        width: 46px;
        height: 46px;
    }

    .nav__inner {
        gap: .75rem;
        height: 76px;
    }
}

@media (max-width: 380px) {
    /* smallest phones: drop in-nav CTA, keep burger (drawer holds Apply) */
    .nav__actions {
        display: none;
    }
}

/* ---------------------------------------------------------------------------
   18. Reduced motion
   ------------------------------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: .001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .001ms !important;
    }

    .reveal, .reveal-l, .reveal-r, .reveal-scale {
        opacity: 1 !important;
        transform: none !important;
    }

    .hero__media img {
        transform: scale(1.06);
        animation: none;
    }

    .bar__col {
        transform: scaleY(1);
    }

    .marquee__track {
        animation: none;
    }

    .logos-track {
        animation: none;
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero__scroll i {
        animation: none;
    }

    .hero__caret {
        display: none;
    }
    /* no typing → drop the blinking caret */
    .whyx__draw {
        stroke-dashoffset: 0;
    }

    .whyx__fill {
        transform: none;
    }

    .whyx__item .whyx__node {
        background: var(--red);
        border-color: var(--red);
        color: #fff;
    }

    .whyx__art-dot {
        opacity: 1;
        transform: none;
    }
}

/* utilities */
.mt-0 {
    margin-top: 0
}

.mt-1 {
    margin-top: 1rem
}

.mt-2 {
    margin-top: 2rem
}

.mt-3 {
    margin-top: 3rem
}

.text-center {
    text-align: center
}

.hide-mobile {
}

@media (max-width:600px) {
    .hide-mobile {
        display: none
    }
}

/* ===========================================================================
   Spotlight — Achievements & Events page
   ======================================================================== */
/* KPI strip inside the navy pagehero */
.kpis {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1px;
    margin-top: clamp(2.2rem, 4vw, 3.2rem);
    background: rgba(255,255,255,.14);
    border: 1px solid rgba(255,255,255,.14);
    border-radius: var(--radius-lg);
    overflow: hidden;
    max-width: 860px;
}

.kpi {
    background: rgba(255,255,255,.035);
    padding: clamp(1.3rem,2.6vw,1.9rem) clamp(1.2rem,2.6vw,1.7rem);
}

.kpi__v {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: clamp(2rem, 1.3rem + 2.3vw, 3rem);
    line-height: 1;
    color: #fff;
    letter-spacing: -.01em;
    display: flex;
    align-items: baseline;
    gap: .1em;
}

    .kpi__v .u {
        font-size: .5em;
        color: #ff8a82;
        font-weight: 600;
        font-family: var(--font-sans);
    }

.kpi__l {
    margin-top: .6rem;
    font-size: .8rem;
    font-weight: 600;
    color: rgba(255,255,255,.72);
    line-height: 1.3;
}

/* framed event photo */
.eventfig {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--line);
    background: var(--card);
}

    .eventfig img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
        aspect-ratio: 4/3;
        transition: transform .8s var(--ease);
    }

.eventfig--wide img {
    aspect-ratio: 16/10;
}

.eventfig:hover img {
    transform: scale(1.035);
}

.eventfig__badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    background: var(--navy);
    color: #fff;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    padding: .45em .8em;
    border-radius: 8px;
    box-shadow: var(--shadow-md);
}

.eventfig__badge--red {
    background: var(--red);
}

/* meta chips (date / place / theme) */
.chips {
    display: flex;
    flex-wrap: wrap;
    gap: .55rem;
    margin-top: 1.3rem;
}

.chip {
    display: inline-flex;
    align-items: center;
    gap: .42rem;
    font-size: .78rem;
    font-weight: 600;
    color: var(--navy);
    background: rgba(0,11,114,.06);
    border: 1px solid rgba(0,11,114,.1);
    padding: .46em .85em;
    border-radius: 999px;
}

    .chip svg {
        width: 1em;
        height: 1em;
        color: var(--red);
        flex: 0 0 auto;
    }

/* facts list (winners / prizes) */
.facts {
    margin-top: 1.5rem;
    display: grid;
    gap: .75rem;
}

.fact {
    display: flex;
    gap: .75rem;
    align-items: flex-start;
    font-size: .96rem;
    line-height: 1.5;
    color: var(--ink);
}

.fact__ic {
    flex: 0 0 auto;
    width: 1.55rem;
    height: 1.55rem;
    display: grid;
    place-items: center;
    border-radius: 7px;
    background: rgba(218,37,28,.1);
    color: var(--red);
    margin-top: .05rem;
}

    .fact__ic svg {
        width: .95rem;
        height: .95rem;
    }

.fact b {
    color: var(--navy);
    font-weight: 700;
}

/* alternating editorial feed */
.feed {
    display: grid;
    gap: clamp(2.8rem, 6vw, 5rem);
}

.feed__item {
    display: grid;
    grid-template-columns: 1.04fr 1fr;
    gap: clamp(1.8rem, 4vw, 3.6rem);
    align-items: center;
}

    .feed__item:nth-child(even) .feed__media {
        order: 2;
    }

.feed__num {
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--red);
    letter-spacing: .04em;
}

.feed__text h3 {
    margin-top: .35rem;
}

.feed__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .45rem .8rem;
    margin-top: .85rem;
    font-size: .8rem;
    color: var(--faint);
    font-weight: 600;
    letter-spacing: .02em;
}

    .feed__meta .tag {
        color: var(--red);
        text-transform: uppercase;
        letter-spacing: .1em;
        font-size: .72rem;
    }

    .feed__meta .dot {
        color: var(--line-strong);
    }

.feed__text > p.lead {
    margin-top: 1rem;
}

@media (max-width: 860px) {
    .feed__item {
        grid-template-columns: 1fr;
        gap: 1.6rem;
    }

        .feed__item:nth-child(even) .feed__media {
            order: -1;
        }
}

/* ============== News & Events — brand-blue photo hero ============== */
/* Translucent scrim anchored to the NAV-BAR blue #082444 (--blue-deep), so the
   gradient reads as the same blue as the nav and the blue section bands (D-81). */
.phero--news::after {
    background: linear-gradient(100deg, rgba(8,36,68,.93) 0%, rgba(8,36,68,.8) 48%, rgba(8,36,68,.52) 100%), linear-gradient(to top, rgba(5,22,46,.62) 0%, rgba(5,22,46,0) 52%);
}

.phero--news .phero__img img {
    object-position: center 32%;
}

/* ============== News & Events — alternating event sections ============== */
.newsrow {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(2rem, 5vw, 4.5rem);
    align-items: center;
}

.newsrow--reverse .newsrow__media {
    order: 2;
}

.newsfig {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--line);
    background: var(--card);
}

    .newsfig img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
        aspect-ratio: 4 / 3;
        transition: transform .8s var(--ease);
    }

.newsrow:hover .newsfig img {
    transform: scale(1.035);
}

.news__date {
    display: inline-flex;
    align-items: center;
    font-family: var(--font-sans);
    font-weight: 700;
    font-size: .8rem;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--gold-deep);
}

    .news__date::before {
        content: "";
        width: 1.8rem;
        height: 2px;
        background: var(--gold-2);
        margin-right: .7rem;
    }

.news__title {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: clamp(1.45rem, 1.2rem + 1vw, 2.05rem);
    line-height: 1.18;
    color: var(--navy);
    margin: .7rem 0 0;
}

.newsrow__text > p {
    margin-top: 1rem;
    color: var(--ink);
}

    .newsrow__text > p + p {
        margin-top: .85rem;
    }

.newsrow__text .notelist {
    margin-top: 1.2rem;
}

@media (max-width: 860px) {
    .newsrow {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .newsrow--reverse .newsrow__media {
        order: -1;
    }
}

/* ===========================================================================
   QE-aligned homepage components (D-74)
   ======================================================================== */

/* --- Admissions-open band (after academics) ------------------------------ */
.adband {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    background: linear-gradient(125deg, var(--blue-deep) 0%, #0c3157 100%);
    color: #fff;
    border-radius: var(--radius-lg);
    padding: clamp(1.9rem, 4vw, 3.2rem) clamp(1.6rem, 4vw, 3.4rem);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: clamp(1.3rem, 3vw, 2.6rem);
}

    .adband::before {
        content: "";
        position: absolute;
        inset: 0;
        z-index: -1;
        background: radial-gradient(72% 130% at 100% 0%, rgba(206,166,102,.26), transparent 60%);
    }

    .adband::after {
        content: "";
        position: absolute;
        left: 0;
        top: 0;
        bottom: 0;
        width: 5px;
        background: linear-gradient(var(--gold), var(--gold-deep));
    }

.adband__txt {
    max-width: 62ch;
}

.adband .eyebrow {
    color: var(--gold);
}

    .adband .eyebrow::before {
        background: var(--gold);
    }

.adband h2 {
    color: #fff;
    font-size: clamp(1.7rem, 1.1rem + 2vw, 2.85rem);
    margin-top: .5rem;
}

    .adband h2 em {
        font-style: italic;
        color: var(--gold);
    }

.adband p {
    color: rgba(255,255,255,.82);
    margin-top: .7rem;
    font-size: 1rem;
}

.adband__cta {
    display: flex;
    flex-direction: column;
    gap: .7rem;
    align-items: flex-start;
}

    .adband__cta .small {
        font-size: .8rem;
        color: rgba(255,255,255,.6);
    }

/* --- Vision / Mission / Values (3-column, QE pattern) -------------------- */
.vmv {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(1rem, 2vw, 1.6rem);
    align-items: start;
}

.vmv__card {
    position: relative;
    height: 100%;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: clamp(1.6rem, 2.6vw, 2.2rem);
    border-top: 3px solid var(--gold);
    transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}

    .vmv__card:hover {
        transform: translateY(-5px);
        box-shadow: var(--shadow-md);
    }

    .vmv__card h3 {
        font-family: var(--font-display);
        font-weight: 600;
        font-size: clamp(1.35rem, 1.1rem + .7vw, 1.6rem);
        color: var(--navy);
        margin-bottom: .55rem;
    }

    .vmv__card > p {
        color: var(--muted);
        font-size: .97rem;
    }

/* Subtle, lighter VMV blocks (D-84): clean white cards on grey, single colour cue on a thin top bar */
.vmv--blocks {
    align-items: stretch;
}

    .vmv--blocks .vmv__card {
        background: #fff;
        border: 1px solid var(--line);
        border-top: 3px solid var(--gold);
        border-radius: var(--radius);
        text-align: center;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        padding: clamp(2rem, 3.4vw, 3rem) clamp(1.5rem, 2.6vw, 2.4rem);
        box-shadow: var(--shadow-sm);
    }

        .vmv--blocks .vmv__card:hover {
            transform: translateY(-5px);
            box-shadow: var(--shadow-md);
        }

        .vmv--blocks .vmv__card h3 {
            font-weight: 700;
            font-size: clamp(1.55rem, 1.2rem + 1vw, 1.9rem);
            margin: 0 0 1rem;
            letter-spacing: .01em;
            color: var(--navy);
        }

        .vmv--blocks .vmv__card > p {
            font-size: 1rem;
            line-height: 1.62;
            margin: 0;
            color: var(--muted);
        }

        .vmv--blocks .vmv__card b {
            color: var(--navy);
            font-weight: 700;
        }

    .vmv--blocks .vmv__card--vision {
        border-top-color: var(--blue-deep);
        background: rgba(8, 36, 68, .035);
    }

    .vmv--blocks .vmv__card--mission {
        border-top-color: var(--gold);
        background: rgba(206, 166, 102, .07);
    }

    .vmv--blocks .vmv__card--values {
        border-top-color: var(--red);
        background: rgba(218, 37, 28, .035);
    }

@media (max-width: 900px) {
    .vmv {
        grid-template-columns: 1fr;
    }
}

/* --- Numbers as pointers (not blocks) ----------------------------------- */
.numbers {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: clamp(1.2rem, 3vw, 2.6rem);
    align-items: start;
}

.num {
    position: relative;
    padding-left: 1.5rem;
}

    .num::before {
        content: "";
        position: absolute;
        left: 0;
        top: .15rem;
        bottom: .35rem;
        width: 3px;
        border-radius: 3px;
        background: linear-gradient(var(--gold), var(--gold-deep));
    }

.num__v {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: clamp(2.3rem, 1.5rem + 2.5vw, 3.5rem);
    line-height: 1;
    color: var(--navy);
    letter-spacing: -.01em;
    display: flex;
    align-items: baseline;
    gap: .04em;
}

    .num__v .u {
        color: var(--gold-2);
    }

.num__l {
    margin-top: .55rem;
    font-size: .92rem;
    font-weight: 600;
    color: var(--muted);
}

.numbers--light .num__v {
    color: #fff;
}

.numbers--light .num__l {
    color: rgba(255,255,255,.74);
}

.numbers--light .num__v .u {
    color: var(--gold);
}

@media (max-width: 820px) {
    .numbers {
        grid-template-columns: 1fr 1fr;
        gap: 1.6rem 1.2rem;
    }
}

/* --- Facilities that inspire (Why K-IIT) — image cards ------------------- */
.facgrid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(1rem, 2vw, 1.5rem);
}

.fac {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    border-radius: var(--radius-lg);
    min-height: clamp(248px, 27vw, 330px);
    display: flex;
    align-items: flex-end;
    color: #fff;
    box-shadow: var(--shadow-md);
    transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}

    .fac:hover {
        transform: translateY(-5px);
        box-shadow: var(--shadow-lg);
    }

    .fac img {
        position: absolute;
        inset: 0;
        z-index: -2;
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform .7s var(--ease);
    }

    .fac::after {
        content: "";
        position: absolute;
        inset: 0;
        z-index: -1;
        background: linear-gradient(to top, rgba(6,16,34,.92) 0%, rgba(6,16,34,.4) 46%, rgba(6,16,34,.05) 100%);
    }

    .fac:hover img {
        transform: scale(1.06);
    }

.fac__body {
    padding: clamp(1.2rem, 2.2vw, 1.7rem);
}

.fac__tag {
    display: inline-flex;
    align-items: center;
    gap: .4em;
    font-size: .7rem;
    font-weight: 800;
    letter-spacing: .13em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: .5rem;
}

.fac__body h4 {
    color: #fff;
    font-size: 1.18rem;
    line-height: 1.2;
}

.fac__body p {
    color: rgba(255,255,255,.82);
    font-size: .88rem;
    margin-top: .35rem;
}

@media (max-width: 900px) {
    .facgrid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {
    .facgrid {
        grid-template-columns: 1fr;
    }
}

/* --- Apply band — blue (nav) variant + gold accents --------------------- */
.cta-band--blue {
    background: linear-gradient(125deg, var(--blue-deep) 0%, #0c3157 100%);
}

    .cta-band--blue::before {
        background: radial-gradient(76% 130% at 100% 0%, rgba(206,166,102,.3), transparent 56%);
    }

    .cta-band--blue .tstep__bar {
        background: linear-gradient(90deg, var(--gold), transparent);
    }

    .cta-band--blue .tstep__n {
        color: rgba(206,166,102,.55) !important;
        font-family: var(--font-display);
    }

/* --- Campus Life — split with description (new aesthetic) --------------- */
.campusx {
    display: grid;
    grid-template-columns: 1.08fr .92fr;
    gap: clamp(1.6rem, 4vw, 3.4rem);
    align-items: center;
}

.campusx__media {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

    .campusx__media img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        aspect-ratio: 4/3;
        transition: transform .8s var(--ease);
    }

    .campusx__media:hover img {
        transform: scale(1.04);
    }

.campusx__tag {
    position: absolute;
    left: 1rem;
    bottom: 1rem;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    padding: .5em .95em;
    border-radius: 999px;
    background: rgba(8,36,68,.86);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(206,166,102,.5);
    color: #fff;
    font-size: .76rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

    .campusx__tag svg {
        width: 1em;
        height: 1em;
        color: var(--gold);
    }

.campusx__feats {
    display: grid;
    gap: 1rem;
    margin: 1.4rem 0 1.6rem;
}

    .campusx__feats li {
        display: flex;
        gap: .7rem;
        align-items: flex-start;
    }

    .campusx__feats svg {
        width: 20px;
        height: 20px;
        color: var(--gold-deep);
        flex: 0 0 auto;
        margin-top: .28rem;
    }
/* Uniform typography (D-75): every line of body text under Campus Life reads at
   the same size / weight / colour / rhythm — no varying lead vs. body vs. list. */
.campusx__text .eyebrow {
    margin-bottom: .6rem;
}

.campusx__text h2 {
    margin: 0 0 1rem;
}

.campusx__text .lead,
.campusx__text > p,
.campusx__feats li {
    font-family: var(--font-sans);
    font-size: var(--fs-body);
    font-weight: 400;
    line-height: 1.7;
    color: var(--muted);
}

.campusx__text .lead {
    margin: 0 0 1rem;
}

.campusx__text > p {
    margin: 0 0 1rem;
}

.campusx__btn {
    margin-top: .4rem;
}

@media (max-width: 900px) {
    .campusx {
        grid-template-columns: 1fr;
    }
}

/* ===========================================================================
   D-75 — feedback round: blue-segregated sections, crest admissions, icon
   facilities, full-bleed Apply
   ======================================================================== */

/* --- Admissions-open band → clean, centred (ref: Admissions open section.png) --- */
/* White section: a faint graduation-cap watermark centred behind a hairline-framed
   gold eyebrow + navy serif headline + a single Apply button. No crest, no block. */
.section--adopen {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background: var(--blue-deep);
    color: var(--on-dark);
    text-align: center;
}

    .section--adopen::before {
        content: "";
        position: absolute;
        inset: 0;
        z-index: -1;
        background: radial-gradient(80% 120% at 100% 0%, rgba(206,166,102,.16), transparent 58%);
    }

.adopen__deco {
    position: absolute;
    z-index: -1;
    pointer-events: none;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: clamp(300px, 44vw, 600px);
    color: #fff;
    opacity: .07;
}

    .adopen__deco svg {
        width: 100%;
        height: auto;
        display: block;
    }

.adopen2 {
    max-width: 1120px;
    margin-inline: auto;
    padding-block: clamp(1.6rem, 3.6vw, 2.9rem);
    border-top: 1px solid var(--on-dark-line);
    border-bottom: 1px solid var(--on-dark-line);
}

    .adopen2 .eyebrow {
        justify-content: center;
        color: var(--gold);
        margin-bottom: 1.1rem;
    }

        .adopen2 .eyebrow::before {
            background: var(--gold);
        }

    .adopen2 h2 {
        font-family: var(--font-display);
        font-weight: 600;
        font-size: clamp(0.9rem, 3.2vw, 2.3rem);
        line-height: 1.12;
        letter-spacing: -.01em;
        color: #fff;
        margin: 0 auto 1.6rem;
        max-width: none;
        white-space: nowrap;
    }

    .adopen2 .btn {
        margin: 0 auto;
    }

/* --- Facilities as gold line-icon illustrations (ref: facilities reference) -- */
/* Two rows of four (8 facilities), thin column dividers — matches the reference. */
.facicons {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: clamp(2.2rem, 3.4vw, 3rem) 0;
}

.facicon {
    text-align: center;
    padding: clamp(.4rem, 1.4vw, 1rem) clamp(.8rem, 1.7vw, 1.5rem);
}
    /* thin vertical dividers between columns, like the reference */
    .facicon:not(:nth-child(4n+1)) {
        border-left: 1px solid var(--line);
    }

.facicon__ic {
    width: 82px;
    height: 82px;
    margin: 0 auto 1.1rem;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(206,166,102,.10) 0%, rgba(206,166,102,0) 68%);
    transition: transform .45s var(--ease), background .45s var(--ease);
}

    .facicon__ic svg {
        width: 48px;
        height: 48px;
        stroke: var(--gold);
        fill: none;
        stroke-width: 1.4;
        stroke-linecap: round;
        stroke-linejoin: round;
        transition: stroke .4s var(--ease);
    }

.facicon:hover .facicon__ic {
    transform: translateY(-6px);
    background: radial-gradient(circle, rgba(206,166,102,.22) 0%, rgba(206,166,102,0) 70%);
}

    .facicon:hover .facicon__ic svg {
        stroke: var(--gold-2);
    }

.facicon h4 {
    color: var(--navy);
    font-size: 1.04rem;
    margin-bottom: .4rem;
    font-family: var(--font-sans);
    font-weight: 700;
    transition: color .35s var(--ease);
}

.facicon:hover h4 {
    color: var(--red);
}

.facicon p {
    color: var(--muted);
    font-size: .87rem;
    max-width: 26ch;
    margin: 0 auto;
    line-height: 1.55;
}

@media (max-width: 900px) {
    .facicons {
        grid-template-columns: 1fr 1fr;
    }

    .facicon {
        border-left: 0 !important;
    }

        .facicon:not(:nth-child(2n+1)) {
            border-left: 1px solid var(--line) !important;
        }
}

@media (max-width: 520px) {
    .facicons {
        grid-template-columns: 1fr;
        gap: 1.8rem;
    }

    .facicon {
        border-left: 0 !important;
    }
}

/* --- Apply — a plain section with just the interest form (D-75) ---------- */
/* No contained "block"/card around the section; the form itself is the only
   surface. The full admissions process lives on the future admissions page. */
.apply-head {
    max-width: 56ch;
    margin-inline: auto;
}

    .apply-head h2 {
        margin-top: .5rem;
    }
/* the form follows a .subhead header that already carries generous bottom
   padding, so trim the section's own top padding to close the gap */
.apply {
    padding-top: clamp(1.6rem, 3vw, 2.4rem);
}

    .apply .regform {
        max-width: 760px;
        margin-left: auto;
        margin-right: auto;
    }

.section--blue .timeline {
    margin-top: clamp(1.8rem, 3vw, 2.6rem);
}

.section--blue .tstep {
    background: rgba(255,255,255,.06);
    border-color: var(--on-dark-line);
}

    .section--blue .tstep h4 {
        color: #fff;
    }

    .section--blue .tstep p {
        color: rgba(255,255,255,.72);
    }

.section--blue .tstep__n {
    color: rgba(206,166,102,.55);
    font-family: var(--font-display);
}

.section--blue .tstep__bar {
    background: linear-gradient(90deg, var(--gold), transparent);
}

/* ===========================================================================
   P-0003 — Admissions section: nav dropdown + sub-page header + fee tables
   (QE-aligned · nav blue #082444 + white + grey #F5F6F8 + gold accent)
   ======================================================================== */

/* --- Nav dropdown: desktop submenu under "Admissions" -------------------- */
.nav__item {
    position: relative;
    display: flex;
    align-items: center;
}
/* the trigger keeps the standard .nav__links a look + a chevron */
.nav__toplink {
    display: inline-flex;
    align-items: center;
    gap: .32rem;
}

.nav__chev {
    width: 13px;
    height: 13px;
    flex: 0 0 auto;
    opacity: .85;
    transition: transform .25s var(--ease);
}

.nav__item--has-menu:hover .nav__toplink .nav__chev,
.nav__item--has-menu:focus-within .nav__toplink .nav__chev {
    transform: rotate(180deg);
}
/* invisible hover-bridge so the 10px gap doesn't drop the menu */
.nav__item--has-menu::after {
    content: "";
    position: absolute;
    left: 0;
    right: -10px;
    top: 100%;
    height: 14px;
}

.nav__menu {
    position: absolute;
    top: calc(100% + 11px);
    left: -.4rem;
    min-width: 248px;
    background: rgba(8, 36, 68, .97);
    -webkit-backdrop-filter: blur(10px) saturate(1.2);
    backdrop-filter: blur(10px) saturate(1.2);
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 6px;
    box-shadow: 0 30px 60px -20px rgba(0,4,30,.6), 0 12px 24px -14px rgba(0,0,0,.35);
    padding: .55rem 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity .22s var(--ease), transform .22s var(--ease), visibility .22s;
    z-index: 5;
}

.nav__item--has-menu:hover .nav__menu,
.nav__item--has-menu:focus-within .nav__menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav__menu a {
    display: block;
    padding: .58rem 1.25rem;
    border-radius: 0;
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: .88rem;
    color: rgba(255,255,255,.88);
    white-space: nowrap;
    background: none;
    letter-spacing: .01em;
    transition: background-color .2s var(--ease), color .2s var(--ease);
}

    .nav__menu a:hover {
        background: rgba(255,255,255,.10);
        color: #fff;
    }

    .nav__menu a[aria-current="page"] {
        color: var(--gold);
        background: rgba(206,166,102,.10);
    }

/* --- Nav dropdown: expandable "Admissions" group in the mobile drawer ----- */
.drawer__group {
    border-bottom: 1px solid var(--on-dark-line);
}

.drawer__grouptoggle {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    font-family: var(--font-sans);
    font-size: 1.05rem;
    font-weight: 600;
    padding: .85rem 0;
    color: rgba(255, 255, 255, .9);
    text-align: left;
    transition: color .2s var(--ease);
}

    .drawer__grouptoggle:hover {
        color: #fff;
    }

    .drawer__grouptoggle .nav__chev {
        width: 18px;
        height: 18px;
        opacity: .7;
        transition: transform .3s var(--ease);
    }

.drawer__group.is-open .drawer__grouptoggle .nav__chev {
    transform: rotate(180deg);
}

.drawer__submenu {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows .35s var(--ease);
}

    .drawer__submenu > div {
        overflow: hidden;
    }

.drawer__group.is-open .drawer__submenu {
    grid-template-rows: 1fr;
}
/* higher specificity than `.drawer nav a` so the big-serif link styling is reset */
.drawer .drawer__submenu a {
    display: block;
    font-family: var(--font-sans);
    font-size: 1.05rem;
    font-weight: 600;
    padding: .5rem 0 .5rem 1.1rem;
    border-bottom: none;
    color: rgba(255,255,255,.72);
}

    .drawer .drawer__submenu a:first-child {
        padding-top: .8rem;
    }

    .drawer .drawer__submenu a:last-child {
        padding-bottom: 1rem;
    }

    .drawer .drawer__submenu a:hover {
        color: #fff;
        padding-left: 1.6rem;
    }

/* --- Admissions sub-page header — subtle, light, title-led (no banner img) - */
.subhead {
    position: relative;
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: calc(78px + clamp(2.4rem, 5vw, 3.8rem)) 0 clamp(2.1rem, 4vw, 3.1rem);
}

    .subhead .breadcrumb {
        color: var(--muted);
        margin-bottom: 1.15rem;
    }

        .subhead .breadcrumb a:hover {
            color: var(--navy);
        }

        .subhead .breadcrumb span {
            color: var(--faint);
        }

    .subhead .eyebrow {
        color: var(--gold-deep);
    }

        .subhead .eyebrow::before {
            background: var(--gold-2);
        }

    .subhead h1 {
        color: var(--navy);
        max-width: 18ch;
        margin-top: .95rem;
        font-size: var(--fs-page-h1);
    }

.subhead__intro {
    margin-top: 1.05rem;
    color: var(--muted);
    font-size: var(--fs-lead);
    line-height: 1.5;
    max-width: 60ch;
}

/* --- Block heads shared by all admissions content (bigger eyebrow→h2 gap) - */
.feeblock + .feeblock {
    margin-top: clamp(2.8rem, 5vw, 4.2rem);
}

.feeblock__head {
    max-width: 62ch;
    margin-bottom: clamp(1.6rem, 3vw, 2.3rem);
}

    .feeblock__head .eyebrow {
        color: var(--gold-deep);
    }

        .feeblock__head .eyebrow::before {
            background: var(--gold-2);
        }

    .feeblock__head h2 {
        margin-top: 1rem;
        font-size: clamp(1.5rem, 1.2rem + 1.1vw, 2rem);
    }
/* Compact section heading — used on programs page so section h2s match the fee-page scale */
.section-head--sm h2 {
    font-size: clamp(1.5rem, 1.2rem + 1.1vw, 2rem);
}

.feeblock__note {
    margin-top: 1rem;
    color: var(--muted);
    font-size: .95rem;
    max-width: 70ch;
}

/* --- Fee / data tables (capped width so columns sit close, clean numbers) - */
.table-scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

table.fees {
    width: 100%;
    max-width: 600px;
    border-collapse: collapse;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

    table.fees.fees--compact {
        max-width: 440px;
    }

    table.fees thead th {
        background: var(--blue-deep);
        color: #fff;
        text-align: left;
        font-family: var(--font-sans);
        font-weight: 700;
        font-size: .76rem;
        letter-spacing: .05em;
        text-transform: uppercase;
        padding: .9rem 1.15rem;
        white-space: nowrap;
    }

    table.fees th.amt, table.fees td.amt {
        text-align: right;
    }

    table.fees tbody td {
        padding: .92rem 1.15rem;
        border-top: 1px solid var(--line);
        font-size: 1rem;
        color: var(--ink);
        vertical-align: middle;
    }

    table.fees tbody tr:nth-child(even) td {
        background: var(--paper-2);
    }

    table.fees .course {
        font-weight: 700;
        color: var(--navy);
        white-space: nowrap;
    }

    table.fees .dur {
        color: var(--muted);
        white-space: nowrap;
    }
    /* numbers use the clean sans (Mulish) + tabular figures for readability */
    table.fees td.amt {
        font-family: var(--font-sans);
        font-weight: 700;
        color: var(--navy);
        font-variant-numeric: tabular-nums;
        white-space: nowrap;
    }

    table.fees tr.total td {
        background: rgba(206,166,102,.12);
        border-top: 2px solid var(--gold-2);
        font-weight: 800;
        color: var(--navy);
    }

        table.fees tr.total td.amt {
            color: var(--gold-deep);
        }

@media (max-width: 520px) {
    table.fees thead th, table.fees tbody td {
        padding: .78rem .85rem;
    }
}

/* --- Programme requirement cards (Eligibility) --------------------------- */
.reqgrid {
    display: grid;
    gap: 1rem;
}

.reqcard {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    padding: clamp(1.2rem, 2.4vw, 1.6rem) clamp(1.3rem, 2.6vw, 1.9rem);
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: clamp(1rem, 2.4vw, 2rem);
    align-items: start;
    transition: box-shadow .35s var(--ease);
}

    .reqcard:hover {
        box-shadow: var(--shadow-md);
    }

.reqcard__prog h3 {
    font-size: 1.1rem;
    color: var(--navy);
    line-height: 1.25;
}

.reqcard__crit {
    color: var(--ink);
    font-size: .98rem;
    line-height: 1.62;
}

@media (max-width: 680px) {
    .reqcard {
        grid-template-columns: 1fr;
        gap: .75rem;
    }
}

/* small navy duration / meta pill (clean tabular numerals) */
.dpill {
    display: inline-flex;
    align-items: center;
    gap: .4em;
    margin-top: .6rem;
    font-size: .76rem;
    font-weight: 700;
    letter-spacing: .02em;
    padding: .34em .75em;
    border-radius: 999px;
    background: rgba(0,11,114,.07);
    color: var(--navy);
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

/* --- Plain note / guideline list (gold dot markers) ---------------------- */
.notelist {
    display: grid;
    gap: .9rem;
    max-width: 84ch;
}

    .notelist li {
        position: relative;
        padding-left: 1.55rem;
        color: var(--ink);
        font-size: .99rem;
        line-height: 1.62;
    }

        .notelist li::before {
            content: "";
            position: absolute;
            left: 0;
            top: .62em;
            width: .5rem;
            height: .5rem;
            border-radius: 50%;
            background: var(--gold-2);
        }

    .notelist strong {
        color: var(--navy);
    }

/* --- Scholarship category cards ------------------------------------------ */
.schol-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(1rem, 2vw, 1.5rem);
}

.schol-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    padding: clamp(1.5rem, 2.6vw, 2rem);
    border-top: 3px solid var(--gold-2);
    transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}

    .schol-card:hover {
        transform: translateY(-4px);
        box-shadow: var(--shadow-md);
    }

    .schol-card h3 {
        font-size: 1.12rem;
        color: var(--navy);
        margin-bottom: .55rem;
    }

    .schol-card p {
        color: var(--muted);
        font-size: .96rem;
        line-height: 1.62;
    }

@media (max-width: 880px) {
    .schol-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 560px) {
    .schol-grid {
        grid-template-columns: 1fr;
    }
}

/* "Programmes covered" inline pill row */
.covered {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .55rem;
    margin-top: 1.15rem;
}

.covered__label {
    font-size: .76rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--muted);
}

.covered .dpill {
    margin-top: 0;
}

/* ============================================================================
   LIFE AT K-IIT — campus-life page (clubs · sports · laboratories)
   Builds on .facicons / .schol-card / .dpill. Dependency-free; entrance via
   .reveal (reduced-motion forces these visible and kills the hover motion).
============================================================================ */

/* Brand-blue photo hero reuses .phero--news scrim; recentre the cyclists. */
.phero--life .phero__img img {
    object-position: center 56%;
}

/* --- Clubs & societies: animated tile grid -------------------------------- */
.clubs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(1rem, 1.8vw, 1.4rem);
}

.club {
    --accent: var(--navy);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    gap: 1.05rem;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    padding: clamp(1.4rem, 2.4vw, 1.9rem);
    transition: transform .42s var(--ease), box-shadow .42s var(--ease), border-color .42s var(--ease);
}

    .club::before {
        content: "";
        position: absolute;
        left: 0;
        bottom: 0;
        height: 3px;
        width: 100%;
        background: var(--accent);
        transform: scaleX(0);
        transform-origin: left;
        transition: transform .5s var(--ease);
    }

    .club:hover {
        transform: translateY(-7px);
        box-shadow: var(--shadow-lg);
        border-color: transparent;
    }

    .club:focus-within {
        transform: translateY(-7px);
        box-shadow: var(--shadow-lg);
    }

        .club:hover::before, .club:focus-within::before {
            transform: scaleX(1);
        }

.club__ic {
    flex: 0 0 auto;
    width: 60px;
    height: 60px;
    border-radius: 17px;
    display: grid;
    place-items: center;
    background: color-mix(in srgb, var(--accent) 8%, #fff);
    transition: background .42s var(--ease), transform .55s var(--ease);
}

    .club__ic svg {
        width: 31px;
        height: 31px;
        stroke: var(--accent);
        fill: none;
        stroke-width: 1.5;
        stroke-linecap: round;
        stroke-linejoin: round;
        transition: stroke .42s var(--ease);
    }

.club:hover .club__ic, .club:focus-within .club__ic {
    background: var(--accent);
    transform: rotate(-6deg) scale(1.07);
}

    .club:hover .club__ic svg, .club:focus-within .club__ic svg {
        stroke: #fff;
    }

.club__body {
    min-width: 0;
}

.club__name {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.14rem;
    color: var(--navy);
    line-height: 1.2;
    transition: color .35s var(--ease);
}

.club:hover .club__name, .club:focus-within .club__name {
    color: var(--accent);
}

.club__tag {
    display: block;
    margin-top: .28rem;
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .13em;
    text-transform: uppercase;
    color: var(--muted);
}

@media (max-width: 860px) {
    .clubs {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 540px) {
    .clubs {
        grid-template-columns: 1fr;
    }
}

/* --- Sports facilities: playful icon cards -------------------------------- */
.sports {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: clamp(1rem, 2vw, 1.5rem);
}

.sport {
    text-align: center;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    padding: clamp(1.8rem, 3vw, 2.4rem) 1rem;
    transition: transform .42s var(--ease), box-shadow .42s var(--ease);
}

    .sport:hover {
        transform: translateY(-7px);
        box-shadow: var(--shadow-md);
    }

.sport__ic {
    width: 76px;
    height: 76px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: radial-gradient(circle, rgba(206,166,102,.18) 0%, rgba(206,166,102,0) 70%);
}

    .sport__ic svg {
        width: 42px;
        height: 42px;
        stroke: var(--gold-2);
        fill: none;
        stroke-width: 1.5;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

.sport:hover .sport__ic {
    animation: sportPop .65s var(--ease);
}

@keyframes sportPop {
    0%,100% {
        transform: translateY(0) rotate(0);
    }

    35% {
        transform: translateY(-11px) rotate(-7deg);
    }

    65% {
        transform: translateY(0) rotate(2deg);
    }
}

.sport__name {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.2rem;
    color: var(--navy);
}

.sport:hover .sport__name {
    color: var(--gold-deep);
}

@media (max-width: 860px) {
    .sports {
        grid-template-columns: 1fr 1fr;
    }
}

/* --- Laboratories: department panels with lab tags ------------------------ */
.labs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
    gap: clamp(1.2rem, 2.2vw, 1.8rem);
    align-items: start;
}

.labcol {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    padding: clamp(1.5rem, 2.6vw, 2rem);
    border-top: 3px solid var(--navy);
    transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}

    .labcol:hover {
        transform: translateY(-4px);
        box-shadow: var(--shadow-md);
    }

.labcol--blue {
    border-top-color: var(--blue-soft);
}

.labcol--gold {
    border-top-color: var(--gold-2);
}

.labcol__head {
    display: flex;
    align-items: center;
    gap: .8rem;
    margin-bottom: 1.2rem;
    padding-bottom: 1.05rem;
    border-bottom: 1px solid var(--line);
}

.labcol__ic {
    width: 46px;
    height: 46px;
    border-radius: 13px;
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    background: rgba(0,11,114,.06);
}

    .labcol__ic svg {
        width: 25px;
        height: 25px;
        stroke: var(--navy);
        fill: none;
        stroke-width: 1.6;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

.labcol--blue .labcol__ic svg {
    stroke: var(--blue-soft);
}

.labcol--gold .labcol__ic svg {
    stroke: var(--gold-deep);
}

.labcol__title {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.18rem;
    color: var(--navy);
    line-height: 1.1;
}

.labcol__sub {
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--gold-deep);
    margin-top: .28rem;
}

.labtags {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
}

.labtag {
    font-size: .82rem;
    font-weight: 600;
    color: var(--ink);
    background: var(--paper-2);
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: .42em .85em;
    line-height: 1.3;
    transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease);
}

    .labtag:hover {
        background: var(--navy);
        color: #fff;
        border-color: var(--navy);
        transform: translateY(-2px);
    }

/* ============================================================================
   PLACEMENTS — calm two-metric band (Highest package / Average CTC)
   Large editorial Playfair numerals (D-78 allows Playfair for big display
   numbers); static, no count-up, to stay subtle. ₹ stays in Mulish.
============================================================================ */
.metric-duo {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(1rem, 2.5vw, 1.8rem);
    max-width: 760px;
    margin: 0 auto;
}

.metric {
    position: relative;
    overflow: hidden;
    text-align: center;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    padding: clamp(2rem, 4vw, 3rem) 1.5rem;
    transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}

    .metric:hover {
        transform: translateY(-4px);
        box-shadow: var(--shadow-md);
    }

    .metric::before {
        content: "";
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        height: 3px;
        background: var(--gold-2);
    }
/* Numbers in the clean sans (Mulish) + tabular figures — readable like the fees page (D-81). */
.metric__num {
    display: block;
    font-family: var(--font-sans);
    font-weight: 800;
    color: var(--navy);
    font-size: clamp(2.7rem, 1.8rem + 3.6vw, 4.1rem);
    line-height: 1;
    letter-spacing: -.01em;
    font-variant-numeric: tabular-nums;
}

.metric__cur {
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: .42em;
    vertical-align: .42em;
    color: var(--gold-deep);
    margin-right: .06em;
}

.metric__unit {
    font-family: var(--font-sans);
    font-weight: 700;
    font-size: .26em;
    letter-spacing: .06em;
    vertical-align: .55em;
    color: var(--gold-deep);
    margin-left: .35em;
}

.metric__label {
    display: block;
    margin-top: 1rem;
    font-size: .82rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--muted);
}

.metric__sub {
    display: block;
    margin-top: .4rem;
    font-size: .86rem;
    color: var(--faint);
}

@media (max-width: 540px) {
    .metric-duo {
        grid-template-columns: 1fr;
        max-width: 360px;
    }
}

/* Alumni wordmark grid — let multi-word company names wrap and fit their cells
   (overrides the fixed 16/9 aspect of the base .logo-grid so tall names grow). */
.logo-grid--alumni {
    grid-template-columns: repeat(auto-fill, minmax(156px, 1fr));
}

    .logo-grid--alumni li {
        aspect-ratio: auto;
        min-height: 88px;
        padding: 1rem .85rem;
    }

    .logo-grid--alumni .logo-chip {
        font-size: 1rem;
        line-height: 1.25;
        text-align: center;
        white-space: normal;
        overflow-wrap: break-word;
    }

/* ============================================================================
   P-0007 / D-81 — blue cohesion + real-logo recruiter wall + tighter news rhythm
============================================================================ */

/* Tighter section padding for the News & Events feed (was too airy). */
.section--news {
    padding-block: clamp(2.6rem, 4.6vw, 4.4rem);
}

/* News content sitting on a nav-blue feature band (.section--blue): flip text to
   light, dates/accents to gold, so the row reads cleanly on blue (events page). */
.section--blue .news__title {
    color: #fff;
}

.section--blue .news__date {
    color: var(--gold);
}

    .section--blue .news__date::before {
        background: var(--gold);
    }

.section--blue .newsrow__text > p {
    color: rgba(255,255,255,.85);
}

.section--blue .newsrow__text em {
    color: var(--gold);
    font-style: italic;
}

.section--blue .notelist li {
    color: rgba(255,255,255,.84);
}

.section--blue .notelist strong {
    color: #fff;
}

.section--blue .notelist li::before {
    background: var(--gold);
}

.section--blue .textlink {
    color: var(--gold);
}

.section--blue .newsfig {
    border-color: rgba(255,255,255,.16);
    box-shadow: 0 24px 48px -24px rgba(0,0,0,.55);
}

/* Recruiter logo wall — REAL brand logos in uniform white tiles (D-81, replaces
   the text wordmarks for "where our alumni work"). Equal cells + a capped logo
   height keep every company the same visual size; the white panel reads cleanly
   on a grey OR a blue section. */
/* --- About page: mission list, value grid, affiliations ---------------- */
.missionlist {
    max-width: 76ch;
    margin: 0 auto;
    list-style: none;
    padding: 0;
    display: grid;
    gap: .85rem;
}

    .missionlist li {
        position: relative;
        padding-left: 1.75rem;
        color: var(--ink);
        font-size: 1.02rem;
        line-height: 1.65;
    }

        .missionlist li::before {
            content: "";
            position: absolute;
            left: 0;
            top: .55rem;
            width: 9px;
            height: 9px;
            border-radius: 50%;
            background: var(--gold);
        }

.valuegrid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(248px, 1fr));
    gap: clamp(1rem, 1.8vw, 1.4rem);
}

.valuecard {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    border-top: 3px solid var(--gold);
    padding: 1.4rem 1.4rem 1.5rem;
    transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}

    .valuecard:hover {
        transform: translateY(-3px);
        box-shadow: var(--shadow-md);
    }

    .valuecard h4 {
        font-family: var(--font-display);
        font-weight: 600;
        font-size: 1.18rem;
        color: var(--navy);
        margin: 0 0 .5rem;
    }

    .valuecard p {
        color: var(--muted);
        font-size: .95rem;
        line-height: 1.55;
        margin: 0;
    }

.afflrow {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(1rem, 2vw, 2rem);
    align-items: stretch;
    max-width: 1000px;
    margin: 0 auto;
}

.affl {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 2rem 1.4rem;
    text-align: center;
    transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}

    .affl:hover {
        transform: translateY(-4px);
        box-shadow: var(--shadow-md);
    }

    .affl img {
        height: 90px;
        width: auto;
        max-width: 78%;
        object-fit: contain;
    }

    .affl figcaption {
        display: flex;
        flex-direction: column;
        gap: .25rem;
    }

        .affl figcaption b {
            font-family: var(--font-display);
            font-weight: 600;
            font-size: 1.1rem;
            color: var(--navy);
        }

        .affl figcaption span {
            font-size: .78rem;
            font-weight: 700;
            letter-spacing: .1em;
            text-transform: uppercase;
            color: var(--gold-deep);
        }

@media (max-width: 720px) {
    .afflrow {
        grid-template-columns: 1fr;
    }
}

/* --- Programs page: programme cards + lab gallery ----------------------- */
.proggrid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: clamp(1.1rem, 2vw, 1.6rem);
}

.progcard {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    border-top: 3px solid var(--navy);
    padding: 1.5rem 1.5rem 1.6rem;
    display: flex;
    flex-direction: column;
    gap: .65rem;
    transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}

    .progcard:hover {
        transform: translateY(-4px);
        box-shadow: var(--shadow-md);
    }

    .progcard h3 {
        font-family: var(--font-display);
        font-weight: 600;
        font-size: 1.28rem;
        color: var(--navy);
        margin: 0;
    }

.progcard__dur {
    font-size: .76rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--gold-deep);
}

.progcard p {
    color: var(--muted);
    font-size: .96rem;
    line-height: 1.55;
    margin: 0;
}

.progcard__meta {
    margin-top: .4rem;
    padding-top: .85rem;
    border-top: 1px solid var(--line);
    font-size: .82rem;
    color: var(--muted);
    line-height: 1.5;
}

.labgrid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 14px;
}

    .labgrid figure {
        margin: 0;
        overflow: hidden;
        border-radius: var(--radius);
        border: 1px solid var(--line);
        aspect-ratio: 4 / 3;
        background: var(--paper-2);
    }

    .labgrid img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
        transition: transform .6s var(--ease);
    }

    .labgrid figure:hover img {
        transform: scale(1.05);
    }

/* --- Admission Process: documents list -------------------------------- */
.doclist {
    max-width: 800px;
    margin: 0 auto;
    list-style: none;
    padding: 0;
    counter-reset: doc;
    display: grid;
    gap: .7rem;
}

    .doclist li {
        counter-increment: doc;
        position: relative;
        padding: 1rem 1.2rem 1rem 3.2rem;
        background: #fff;
        border: 1px solid var(--line);
        border-radius: var(--radius);
        color: var(--ink);
        font-size: 1rem;
        line-height: 1.5;
        transition: transform .25s var(--ease), box-shadow .25s var(--ease);
    }

        .doclist li::before {
            content: counter(doc, decimal-leading-zero);
            position: absolute;
            left: 1rem;
            top: 50%;
            transform: translateY(-50%);
            font-family: var(--font-display);
            font-weight: 600;
            font-size: 1.05rem;
            color: var(--gold-deep);
        }

        .doclist li:hover {
            transform: translateX(3px);
            box-shadow: var(--shadow-sm);
        }

        .doclist li b {
            color: var(--navy);
            font-weight: 700;
        }

.docnotes {
    max-width: 800px;
    margin: 1.5rem auto 0;
}

    .docnotes li {
        color: var(--muted);
        font-size: .94rem;
        line-height: 1.6;
        margin-bottom: .4rem;
    }

.logo-wall {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

    .logo-wall li {
        background: #fff;
        display: grid;
        place-items: center;
        padding: 1.4rem 1.3rem;
        min-height: 104px;
    }
    /* Fixed height (not max-height) so every logo is the SAME visual size; only the
   very widest wordmarks scale down a touch via max-width. */
    .logo-wall img {
        height: 27px;
        width: auto;
        max-width: 92%;
        object-fit: contain;
        transition: transform .3s var(--ease);
    }
    /* Square-aspect logos (EY mark, Paytm icon) read tiny at the wordmark height; bump them. */
    .logo-wall li.logo-wall__sq img {
        height: 46px;
    }

    .logo-wall li:hover img {
        transform: scale(1.07);
    }

.logo-wall__more {
    margin-top: 1.1rem;
    text-align: center;
    font-family: var(--font-sans);
    font-size: .82rem;
    font-weight: 600;
    letter-spacing: .03em;
    color: rgba(255,255,255,.82);
}

@media (max-width: 540px) {
    .logo-wall {
        grid-template-columns: repeat(auto-fill, minmax(135px, 1fr));
    }

        .logo-wall li {
            min-height: 86px;
            padding: 1.1rem .9rem;
        }

        .logo-wall img {
            height: 22px;
        }

        .logo-wall li.logo-wall__sq img {
            height: 38px;
        }
}

/* ========== Programs page: Mulish heading variant ========== */
.head--sans {
    font-family: var(--font-sans);
    font-weight: 700;
    letter-spacing: -.01em;
}

/* ========== Expandable programme rows ========== */
.progrows {
    display: flex;
    flex-direction: column;
    gap: .7rem;
}

.progrow {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    transition: box-shadow .25s var(--ease), border-color .25s var(--ease);
}

    .progrow[open] {
        border-color: var(--gold-2);
        box-shadow: var(--shadow-md);
    }

    .progrow summary {
        list-style: none;
        cursor: pointer;
        display: grid;
        grid-template-columns: 1fr auto auto;
        align-items: center;
        gap: 1rem;
        padding: 1.05rem 1.25rem;
    }

        .progrow summary::-webkit-details-marker {
            display: none;
        }

.progrow__name {
    font-family: var(--font-sans);
    font-weight: 700;
    font-size: 1.02rem;
    color: var(--navy);
    line-height: 1.3;
}

.progrow__dur {
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--gold-deep);
    white-space: nowrap;
}

.progrow__chev {
    width: 24px;
    height: 24px;
    display: grid;
    place-items: center;
    color: var(--muted);
    transition: transform .25s var(--ease);
}

    .progrow__chev svg {
        width: 18px;
        height: 18px;
    }

.progrow[open] .progrow__chev {
    transform: rotate(180deg);
    color: var(--navy);
}

.progrow__body {
    padding: 0 1.25rem 1.2rem;
}

    .progrow__body p {
        margin: 0 0 .7rem;
        color: var(--muted);
        font-size: .96rem;
        line-height: 1.55;
    }

.progrow__meta {
    display: flex;
    flex-wrap: wrap;
    gap: .4rem .9rem;
    list-style: none;
    padding: 0;
    margin: 0;
    border-top: 1px solid var(--line);
    padding-top: .75rem;
}

    .progrow__meta li {
        font-size: .78rem;
        font-weight: 600;
        letter-spacing: .04em;
        color: var(--gold-deep);
    }

        .progrow__meta li:not(:last-child)::after {
            content: "·";
            margin-left: .9rem;
            color: var(--line);
        }

@media (max-width: 640px) {
    .progrow summary {
        grid-template-columns: 1fr auto;
        padding: .9rem 1rem;
    }

    .progrow__dur {
        grid-column: 1 / -1;
        order: 2;
    }

    .progrow__chev {
        order: 1;
        grid-row: 1;
        grid-column: 2;
    }

    .progrow__name {
        order: 0;
    }
}

/* ========== Lab columns: equal height + Read more ========== */
.labs--even .labcol {
    display: flex;
    flex-direction: column;
}

.labcol__more {
    width: 100%;
}

    .labcol__more summary {
        list-style: none;
        cursor: pointer;
        display: block;
    }

        .labcol__more summary::-webkit-details-marker {
            display: none;
        }

.labtags--more {
    margin-top: .55rem;
    display: flex;
    flex-wrap: wrap;
    gap: .45rem .5rem;
}

.labcol__cta {
    display: inline-block;
    margin-top: 1rem;
    font-family: var(--font-sans);
    font-weight: 700;
    font-size: .82rem;
    letter-spacing: .04em;
    color: var(--blue-soft);
    border-bottom: 1.5px solid currentColor;
    padding-bottom: 2px;
}

.labcol__more[open] .labcol__cta-more {
    display: none;
}

.labcol__more:not([open]) .labcol__cta-less {
    display: none;
}

.labcol__cta--empty {
    color: var(--muted);
    border-bottom-color: transparent;
    cursor: default;
}

/* ========== Lab gallery auto slider ========== */
.labslider {
    display: flex;
    flex-direction: column;
    gap: .8rem;
    padding-block: .4rem;
    mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
}

.labslider__row {
    overflow: hidden;
}

.labslider__track {
    display: flex;
    gap: 1rem;
    width: max-content;
    animation: labslide 48s linear infinite;
}

.labslider__track--rtl {
    animation-direction: reverse;
}

.labslider__track figure {
    flex: 0 0 auto;
    width: clamp(220px, 26vw, 320px);
    aspect-ratio: 4/3;
    border-radius: 14px;
    overflow: hidden;
    margin: 0;
    box-shadow: var(--shadow-sm);
}

.labslider__track img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.labslider:hover .labslider__track {
    animation-play-state: paused;
}

@keyframes labslide {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

@media (prefers-reduced-motion: reduce) {
    .labslider__track {
        animation: none;
    }

    .labslider {
        mask-image: none;
        overflow-x: auto;
    }
}

/* ============================================================================
   Hero scroll hint (down arrow) — homepage
   ========================================================================== */
.hero__scroll--arrow {
    gap: .35rem;
}

    .hero__scroll--arrow .hero__scroll-arrow {
        width: 22px;
        height: 22px;
        border-right: 1.5px solid rgba(255,255,255,.95);
        border-bottom: 1.5px solid rgba(255,255,255,.95);
        transform: rotate(45deg);
        margin-top: 2px;
        filter: drop-shadow(0 1px 4px rgba(0,0,0,.45));
        animation: heroArrow 1.9s var(--ease) infinite;
    }

@keyframes heroArrow {
    0% {
        transform: translateY(-4px) rotate(45deg);
        opacity: 0;
    }

    35% {
        opacity: 1;
    }

    70% {
        transform: translateY(8px) rotate(45deg);
        opacity: 1;
    }

    100% {
        transform: translateY(14px) rotate(45deg);
        opacity: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero__scroll--arrow .hero__scroll-arrow {
        animation: none;
    }
}

/* ============================================================================
   Floating "Contact us" tab — site-wide (injected by shared.js)
/* ==========================================================================
   Contact Tab
   ========================================================================== */

.ctab {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 60;
    font-family: var(--font-sans);
}


/* Handle */
.ctab__handle {
    display: block;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    -webkit-transform: rotate(180deg);
    background: var(--navy);
    color: #fff;
    border: 0;
    margin: 0;
    padding: 1.05rem .55rem;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .22em;
    text-transform: uppercase;
    border-radius: 10px 0 0 10px;
    cursor: pointer;
    box-shadow: 0 6px 22px rgba(8, 36, 68, .22);
    transition: background .25s var(--ease), padding-right .25s var(--ease);
    -webkit-appearance: none;
    appearance: none;
}


@media (hover:hover) {

    .ctab__handle:hover {
        background: #0a2d54;
        padding-right: .75rem;
    }
}


.ctab.is-open .ctab__handle {
    background: #0a2d54;
    padding-right: .75rem;
}



/* Panel */
.ctab__panel {
    position: absolute;
    right: calc(100% + 6px);
    top: 0%;
    width: 290px;
    max-width: calc(100vw - 20px);
    box-sizing: border-box;
    transform: translateX(10px);
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 1.15rem 1.25rem 1.2rem;
    box-shadow: 0 20px 52px rgba(8, 36, 68, .20);
    transition: opacity .25s var(--ease), transform .25s var(--ease), visibility 0s linear .25s;
}



.ctab.is-open .ctab__panel {
    transform: translateX(0);
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
    transition: opacity .25s var(--ease), transform .25s var(--ease), visibility 0s linear;
}



/* Heading */
.ctab__panel h4 {
    font-family: var(--font-display);
    color: var(--navy);
    margin: 0 0 .85rem;
    font-size: 1.12rem;
    font-weight: 600;
}



/* Close Button */
.ctab__close {
    position: absolute;
    top: .45rem;
    right: .55rem;
    width: 28px;
    height: 28px;
    border: 0;
    background: transparent;
    color: var(--muted);
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    border-radius: 50%;
}


    .ctab__close:hover {
        background: var(--paper-2);
        color: var(--navy);
    }



/* Contact List */
.ctab__panel ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: .7rem;
}



.ctab__panel li {
    display: flex;
    gap: .6rem;
    align-items: flex-start;
    font-size: .88rem;
    color: var(--ink);
    line-height: 1.5;
}



.ctab__panel svg {
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
    color: var(--navy);
    margin-top: .15rem;
}



.ctab__panel a {
    color: var(--ink);
    text-decoration: none;
}


    .ctab__panel a:hover {
        color: var(--navy);
        text-decoration: underline;
    }



    /* Focus accessibility */
    .ctab__handle:focus-visible,
    .ctab__close:focus-visible,
    .ctab__panel a:focus-visible {
        outline: 3px solid rgba(10,45,84,.35);
        outline-offset: 3px;
    }



/* iPhone / iOS Safari */
@supports (-webkit-touch-callout: none) {

    .ctab {
        right: 0;
    }


    .ctab__handle {
        /*
          Safari paints rotated vertical elements
          slightly toward the edge.
          Only move the visual layer.
        */

        transform: rotate(180deg) translateX(-1px);
        -webkit-transform: rotate(180deg) translateX(-1px);
    }


    .ctab__panel {
        max-width: calc(100vw - 20px);
    }
}



/* Mobile */
@media (max-width:640px) {

    .ctab {
        right: 0;
    }


    .ctab__handle {
        padding: .85rem .45rem;
        font-size: .66rem;
        letter-spacing: .18em;
    }


    .ctab__panel {
        width: min(290px, calc(100vw - 20px));
        right: calc(100% + 4px);
        padding: 1rem;
    }
}



/* Reduced motion */
@media (prefers-reduced-motion: reduce) {

    .ctab__panel,
    .ctab__handle {
        transition: none;
    }
}



/* Print */
@media print {

    .ctab {
        display: none;
    }
}
/* ============================================================================
   Alumni achievers — named-alumni card grid (placements page).
   Real headshot + company + name + role + batch. Sits on a nav-blue band.
   ========================================================================== */
.alumni-stars {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: clamp(1.4rem, 2.4vw, 2.2rem);
    list-style: none;
    padding: 0;
    margin: 0;
}

.alumni-star {
    text-align: center;
}

.alumni-star__photo {
    width: 100%;
    max-width: 150px;
    aspect-ratio: 1 / 1;
    margin: 0 auto .9rem;
    display: block;
    border-radius: var(--radius);
    object-fit: cover;
    object-position: top center;
    background: #fff;
    border: 2px solid rgba(206,166,102,.65); /* faint gold ring (--gold) */
    box-shadow: var(--shadow-md);
    transition: transform .3s var(--ease), border-color .3s var(--ease);
}

.alumni-star:hover .alumni-star__photo {
    transform: translateY(-4px);
    border-color: var(--gold-2);
}
/* monogram fallback when a headshot isn't available */
.alumni-star__photo--mono {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(160deg, var(--blue-deep), var(--navy));
    color: var(--gold);
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 2.4rem;
    letter-spacing: .02em;
}

.alumni-star__co {
    font-family: var(--font-sans);
    font-weight: 800;
    font-size: .98rem;
    line-height: 1.2;
    color: var(--navy);
}

.alumni-star__prev {
    font-family: var(--font-sans);
    font-size: .72rem;
    font-weight: 600;
    color: var(--gold-deep);
    margin-top: .15rem;
}

.alumni-star__name {
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: .86rem;
    line-height: 1.3;
    color: var(--muted);
    margin-top: .4rem;
}

.alumni-star__role {
    font-family: var(--font-sans);
    font-size: .82rem;
    line-height: 1.35;
    color: var(--muted);
    margin-top: .15rem;
}

.alumni-star__batch {
    font-family: var(--font-sans);
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .04em;
    color: var(--faint);
    margin-top: .35rem;
}

@media (max-width: 900px) {
    .alumni-stars {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 560px) {
    .alumni-stars {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem 1.2rem;
    }

    .alumni-star__photo {
        max-width: 128px;
    }
}

/* ============================================================================
   Programs page — extra-tight spacing between lab-gallery and lab cards
   ========================================================================== */
.section--xtight {
    padding-block: clamp(2rem, 3.2vw, 2.8rem);
}

.labs--even .labcol__more {
    flex: 1;
    display: flex;
    flex-direction: column;
}

    .labs--even .labcol__more summary {
        flex: 1;
    }

.page-skeleton {
    width: 100%;
    max-width: 900px;
    margin: auto;
    padding: 10px 0 30px;
}

.sk {
    position: relative;
    overflow: hidden;
    background: #eceff3;
    border-radius: 10px;
    margin-bottom: 16px;
}

    .sk::after {
        content: "";
        position: absolute;
        inset: 0;
        transform: translateX(-100%);
        background: linear-gradient( 90deg, transparent, rgba(255,255,255,.8), transparent );
        animation: shimmer 1.2s infinite;
    }

.sk-title {
    width: 55%;
    height: 42px;
}

.sk-meta {
    width: 180px;
    height: 16px;
    margin-bottom: 24px;
}

.sk-banner {
    width: 100%;
    height: 260px;
    border-radius: 16px;
    margin-bottom: 24px;
}

.sk-line {
    width: 100%;
    height: 16px;
}

    .sk-line.w80 {
        width: 80%;
    }

    .sk-line.w60 {
        width: 60%;
    }

@keyframes shimmer {
    100% {
        transform: translateX(100%);
    }
}
