/* ===========================================================================
   Mena College — design system
   ---------------------------------------------------------------------------
   Palette from the school crest:
     sea green #2E8B57 · cream #F5F5DC · gold #D4AF37 · crimson #B4232C
   =========================================================================== */

/* ---------------------------------------------------------------- 1. Tokens */

:root {
    /* Brand greens */
    --brand-950: #0B1C16;
    --brand-900: #12261E;
    --brand-800: #1A3A2E;
    --brand-700: #215544;
    --brand-600: #2E8B57;
    --brand-500: #3DA06A;

    /* Mint */
    --mint-600: #2E8B57;
    --mint-500: #4CAF7A;
    --mint-400: #7BC99A;
    --mint-200: #C5E8D4;
    --mint-100: #E6F6ED;
    --mint-50: #F4FAF6;

    /* Gold */
    --gold-700: #8C6F10;
    --gold-600: #C9A227;
    --gold-500: #D4AF37;
    --gold-200: #F3E4A8;
    --gold-100: #FBF6E0;

    /* Neutrals */
    --ink-900: #121C18;
    --ink-800: #1C2B24;
    --ink-700: #2A3A33;
    --ink-600: #44554C;
    --ink-500: #5B6B63;
    --ink-400: #7C8A83;
    --ink-300: #A3AFA9;
    --line: #E4EBE4;
    --line-strong: #D0DCD3;
    --surface: #FFFFFF;
    --surface-2: #F7F4E8;
    --surface-3: #F0EBD6;
    --cream: #F5F5DC;

    --crimson: #B4232C;
    --danger: #B4232C;

    /* Typography */
    --font-display: "Cormorant Garamond", "Iowan Old Style", Georgia, "Times New Roman", serif;
    --font-sans: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

    /* Fluid type scale */
    --fs-display: clamp(2.5rem, 1.6rem + 3.9vw, 4.6rem);
    --fs-h1: clamp(2.1rem, 1.5rem + 2.6vw, 3.4rem);
    --fs-h2: clamp(1.75rem, 1.3rem + 1.9vw, 2.7rem);
    --fs-h3: clamp(1.35rem, 1.15rem + 0.85vw, 1.85rem);
    --fs-h4: clamp(1.12rem, 1.03rem + 0.4vw, 1.32rem);
    --fs-lead: clamp(1.03rem, 0.98rem + 0.28vw, 1.19rem);
    --fs-body: 1rem;
    --fs-sm: 0.9rem;
    --fs-xs: 0.8rem;

    /* Layout */
    --container: 1240px;
    --container-narrow: 900px;
    --gutter: clamp(1.15rem, 0.7rem + 1.7vw, 2rem);
    --section-y: clamp(3.75rem, 2.2rem + 5.2vw, 7rem);
    --gap: clamp(1.15rem, 0.8rem + 1.2vw, 1.9rem);

    /* Radii — slightly sharper than a nursery site, more collegiate */
    --r-sm: 8px;
    --r-md: 14px;
    --r-lg: 20px;
    --r-xl: 28px;
    --r-full: 999px;

    /* Elevation — tinted green rather than neutral grey */
    --shadow-xs: 0 1px 2px rgba(18, 40, 30, .06);
    --shadow-sm: 0 4px 14px rgba(18, 40, 30, .07);
    --shadow-md: 0 14px 34px rgba(18, 40, 30, .10);
    --shadow-lg: 0 26px 60px rgba(18, 40, 30, .14);
    --shadow-brand: 0 16px 34px rgba(56, 114, 90, .26);

    --ease: cubic-bezier(.22, .61, .36, 1);
    --header-h: 84px;
}

/* ------------------------------------------------------------ 2. Reset/base */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-h) + 20px);
}

body {
    margin: 0;
    font-family: var(--font-sans);
    font-size: var(--fs-body);
    line-height: 1.7;
    color: var(--ink-500);
    background: var(--surface);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

img,
svg,
video {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--brand-600);
    text-decoration: none;
    transition: color .25s var(--ease);
}

a:hover {
    color: var(--mint-600);
}

ul,
ol {
    margin: 0;
    padding: 0;
    list-style: none;
}

button,
input,
select,
textarea {
    font: inherit;
    color: inherit;
}

button {
    cursor: pointer;
    background: none;
    border: 0;
}

address {
    font-style: normal;
}

hr {
    border: 0;
    border-top: 1px solid var(--line);
    margin: 0;
}

::selection {
    background: var(--gold-500);
    color: var(--brand-900);
}

:focus-visible {
    outline: 3px solid var(--mint-500);
    outline-offset: 3px;
    border-radius: 4px;
}

/* Skip link for keyboard users */
.skip-link {
    position: absolute;
    left: 50%;
    top: -100px;
    transform: translateX(-50%);
    z-index: 2000;
    background: var(--brand-700);
    color: #fff;
    padding: .8rem 1.4rem;
    border-radius: 0 0 var(--r-sm) var(--r-sm);
    font-weight: 700;
    transition: top .2s var(--ease);
}

.skip-link:focus {
    top: 0;
    color: #fff;
}

/* -------------------------------------------------------- 3. Typography */

h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0 0 .6em;
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.14;
    letter-spacing: -.015em;
    color: var(--ink-900);
    font-variation-settings: "SOFT" 0, "WONK" 0;
}

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-family: var(--font-sans);
    font-weight: 700;
    letter-spacing: -.01em;
}

h5,
h6 {
    font-family: var(--font-sans);
    font-weight: 700;
    font-size: 1rem;
}

p {
    margin: 0 0 1.15rem;
}

p:last-child {
    margin-bottom: 0;
}

strong,
b {
    font-weight: 700;
    color: var(--ink-700);
}

.lead {
    font-size: var(--fs-lead);
    line-height: 1.72;
    color: var(--ink-500);
}

.display {
    font-size: var(--fs-display);
    line-height: 1.05;
}

/* Small uppercase label that sits above section headings */
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    font-family: var(--font-sans);
    font-size: var(--fs-xs);
    font-weight: 800;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--brand-600);
    margin-bottom: 1rem;
}

.eyebrow::before {
    content: "";
    width: 26px;
    height: 2px;
    border-radius: 2px;
    background: var(--gold-600);
}

.eyebrow--light {
    color: var(--gold-500);
}

.eyebrow--center::after {
    content: "";
    width: 26px;
    height: 2px;
    border-radius: 2px;
    background: var(--gold-600);
}

/* Gold underline flourish on a highlighted word */
.accent {
    color: var(--brand-600);
    position: relative;
    white-space: nowrap;
}

.accent::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: .04em;
    height: .32em;
    background: var(--gold-500);
    border-radius: var(--r-full);
    z-index: -1;
    opacity: .85;
}

.text-center {
    text-align: center;
}

.text-white {
    color: #fff;
}

.text-white h1,
.text-white h2,
.text-white h3,
.text-white h4 {
    color: #fff;
}

/* ---------------------------------------------------------- 4. Layout */

.container {
    width: 100%;
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: var(--gutter);
}

.container--narrow {
    max-width: var(--container-narrow);
}

.section {
    padding-block: var(--section-y);
    position: relative;
}

.section--tight {
    padding-block: calc(var(--section-y) * .62);
}

.section--tinted {
    background: var(--surface-2);
}

.section--mint {
    background: var(--mint-50);
}

.section--dark {
    background: var(--brand-900);
    color: rgba(255, 255, 255, .8);
}

.section-head {
    max-width: 660px;
    margin-bottom: clamp(2.2rem, 1.6rem + 1.8vw, 3.4rem);
}

.section-head--center {
    margin-inline: auto;
    text-align: center;
}

.section-head p {
    color: var(--ink-500);
    font-size: var(--fs-lead);
}

.section-head--light p {
    color: rgba(255, 255, 255, .74);
}

/* Header row where a heading sits opposite a link/button */
.section-head-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: var(--gap);
    flex-wrap: wrap;
    margin-bottom: clamp(2rem, 1.5rem + 1.5vw, 3rem);
}

.section-head-row .section-head {
    margin-bottom: 0;
}

.grid {
    display: grid;
    gap: var(--gap);
}

.grid--2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid--4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

/* Two-up split with a slightly wider text column */
.grid--split {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    gap: clamp(2rem, 1.2rem + 3vw, 4.5rem);
}

.stack-sm > * + * {
    margin-top: .75rem;
}

.stack > * + * {
    margin-top: 1.5rem;
}

.mt-0 {
    margin-top: 0;
}

.mb-0 {
    margin-bottom: 0;
}

/* ---------------------------------------------------------- 5. Buttons */

.btn {
    --btn-bg: var(--brand-600);
    --btn-fg: #fff;
    --btn-bd: var(--brand-600);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .6rem;
    padding: .95rem 1.85rem;
    border: 2px solid var(--btn-bd);
    border-radius: var(--r-full);
    background: var(--btn-bg);
    color: var(--btn-fg);
    font-family: var(--font-sans);
    font-size: .95rem;
    font-weight: 700;
    letter-spacing: .005em;
    line-height: 1.2;
    text-align: center;
    transition: transform .25s var(--ease), box-shadow .25s var(--ease),
        background-color .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease);
}

.btn i {
    font-size: .95em;
    transition: transform .3s var(--ease);
}

.btn:hover {
    color: var(--btn-fg);
    transform: translateY(-3px);
    box-shadow: var(--shadow-brand);
}

.btn:hover i.fa-arrow-right,
.btn:hover i.fa-arrow-right-long {
    transform: translateX(4px);
}

.btn--primary:hover {
    background: var(--brand-700);
    border-color: var(--brand-700);
}

.btn--gold {
    --btn-bg: var(--gold-500);
    --btn-fg: var(--brand-900);
    --btn-bd: var(--gold-500);
}

.btn--gold:hover {
    background: var(--gold-600);
    border-color: var(--gold-600);
    box-shadow: 0 16px 34px rgba(201, 164, 23, .32);
}

.btn--outline {
    --btn-bg: transparent;
    --btn-fg: var(--brand-700);
    --btn-bd: var(--line-strong);
}

.btn--outline:hover {
    --btn-fg: #fff;
    background: var(--brand-600);
    border-color: var(--brand-600);
}

.btn--ghost-light {
    --btn-bg: transparent;
    --btn-fg: #fff;
    --btn-bd: rgba(255, 255, 255, .45);
}

.btn--ghost-light:hover {
    background: #fff;
    border-color: #fff;
    --btn-fg: var(--brand-700);
    box-shadow: 0 16px 34px rgba(0, 0, 0, .2);
}

.btn--sm {
    padding: .7rem 1.35rem;
    font-size: .86rem;
}

.btn--lg {
    padding: 1.1rem 2.3rem;
    font-size: 1.02rem;
}

.btn--block {
    width: 100%;
}

.btn-row {
    display: flex;
    flex-wrap: wrap;
    gap: .9rem;
    align-items: center;
}

/* Inline text link with a sliding arrow */
.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    font-weight: 700;
    font-size: .93rem;
    color: var(--brand-600);
}

.link-arrow i {
    transition: transform .3s var(--ease);
}

.link-arrow:hover i {
    transform: translateX(5px);
}

/* ------------------------------------------------------- 6. Header / nav */

.topbar {
    background: var(--brand-900);
    color: rgba(255, 255, 255, .78);
    font-size: var(--fs-sm);
}

.topbar__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    min-height: 46px;
    flex-wrap: wrap;
}

.topbar__list {
    display: flex;
    align-items: center;
    gap: 1.6rem;
    flex-wrap: wrap;
}

.topbar__list a {
    color: rgba(255, 255, 255, .78);
    display: inline-flex;
    align-items: center;
    gap: .5rem;
}

.topbar__list a:hover {
    color: var(--gold-500);
}

.topbar__list i {
    color: var(--mint-400);
}

.topbar__socials {
    display: flex;
    align-items: center;
    gap: .45rem;
}

.topbar__socials a {
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    border-radius: var(--r-full);
    background: rgba(255, 255, 255, .1);
    color: #fff;
    font-size: .8rem;
    transition: background-color .25s var(--ease), transform .25s var(--ease);
}

.topbar__socials a:hover {
    background: var(--gold-500);
    color: var(--brand-900);
    transform: translateY(-2px);
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 900;
    background: rgba(255, 255, 255, .92);
    backdrop-filter: saturate(1.6) blur(14px);
    border-bottom: 1px solid var(--line);
    transition: box-shadow .3s var(--ease), background-color .3s var(--ease), transform .45s var(--ease);
}

.site-header.is-hidden {
    transform: translateY(-110%);
}

.site-header.is-stuck {
    box-shadow: var(--shadow-sm);
    background: rgba(255, 255, 255, .97);
}

.site-header__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    column-gap: 1.25rem;
    min-height: var(--header-h);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: .8rem;
    flex-shrink: 0;
}

.site-header .brand {
    justify-self: start;
}

.brand img {
    height: 58px;
    width: 58px;
    object-fit: contain;
    background: var(--cream);
    border-radius: 50%;
    border: 2px solid var(--gold-200);
    padding: 2px;
}

.brand__text {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}

.brand__name {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.12rem;
    color: var(--brand-800);
    letter-spacing: -.02em;
}

.brand__tag {
    font-size: .66rem;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--mint-600);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .2rem;
}

.nav__item {
    position: relative;
}

.nav__link {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    padding: .7rem .95rem;
    border-radius: var(--r-full);
    font-weight: 600;
    font-size: .95rem;
    color: var(--ink-700);
    transition: color .2s var(--ease), background-color .2s var(--ease);
}

.nav__link:hover,
.nav__item:hover > .nav__link {
    color: var(--brand-700);
    background: var(--mint-100);
}

.nav__link::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: .28rem;
    width: 0;
    height: 3px;
    border-radius: 3px;
    background: var(--gold-600);
    transform: translateX(-50%);
    transition: width .28s var(--ease);
}

.nav__link:hover::after,
.nav__item:hover > .nav__link::after,
.nav__link[aria-current="page"]::after {
    width: 18px;
}

.nav__link[aria-current="page"] {
    color: var(--brand-700);
}

.nav__caret {
    font-size: .62rem;
    opacity: .6;
    transition: transform .25s var(--ease);
}

.nav__item:hover .nav__caret {
    transform: rotate(180deg);
}

.nav__dropdown {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    min-width: 244px;
    padding: .55rem;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--r-md);
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
}

.nav__item:hover .nav__dropdown,
.nav__item:focus-within .nav__dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav__dropdown a {
    display: block;
    padding: .6rem .85rem;
    border-radius: var(--r-sm);
    font-size: .92rem;
    font-weight: 600;
    color: var(--ink-600);
}

.nav__dropdown a:hover {
    background: var(--mint-100);
    color: var(--brand-700);
}

.header__actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: .7rem;
    flex-shrink: 0;
    justify-self: end;
}

.nav-toggle {
    display: none;
    width: 46px;
    height: 46px;
    border-radius: var(--r-sm);
    border: 1px solid var(--line-strong);
    color: var(--brand-700);
    font-size: 1.15rem;
    place-items: center;
}

.nav-toggle:hover {
    background: var(--mint-100);
}

/* Mobile drawer */
.drawer {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(360px, 86vw);
    background: #fff;
    z-index: 1100;
    padding: 1.5rem var(--gutter) 2.5rem;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform .4s var(--ease);
    box-shadow: var(--shadow-lg);
}

.drawer.is-open {
    transform: translateX(0);
}

.drawer__head .brand__text {
    min-width: 0;
}

.drawer__head .brand__name,
.drawer__head .brand__tag {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.drawer__close {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: var(--r-sm);
    border: 1px solid var(--line-strong);
    color: var(--ink-700);
    font-size: 1.1rem;
}

.drawer__close:hover {
    background: var(--mint-100);
    color: var(--brand-700);
}

.drawer__nav a {
    display: block;
    padding: .82rem .2rem;
    font-weight: 600;
    color: var(--ink-700);
    border-bottom: 1px solid var(--line);
}

.drawer__nav a:hover {
    color: var(--brand-600);
}

.drawer__group > button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: .82rem .2rem;
    font-weight: 600;
    color: var(--ink-700);
    border-bottom: 1px solid var(--line);
}

.drawer__group > button i {
    font-size: .7rem;
    transition: transform .25s var(--ease);
}

.drawer__group.is-open > button i {
    transform: rotate(180deg);
}

.drawer__sub {
    display: block;
    padding-left: .9rem;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height .38s var(--ease), opacity .28s var(--ease);
}

.drawer__group.is-open .drawer__sub {
    max-height: 280px;
    opacity: 1;
}

.drawer__sub a {
    font-weight: 500;
    font-size: .93rem;
    color: var(--ink-500);
}

.drawer__contact {
    margin-top: 1.6rem;
    padding-top: 1.4rem;
    border-top: 1px solid var(--line);
    font-size: var(--fs-sm);
}

.drawer__contact a {
    display: flex;
    gap: .6rem;
    align-items: center;
    padding: .35rem 0;
    color: var(--ink-600);
}

.drawer__contact i {
    color: var(--mint-600);
    width: 18px;
}

.drawer__actions {
    display: grid;
    gap: .7rem;
    margin-top: 1.4rem;
}

.overlay {
    position: fixed;
    inset: 0;
    background: rgba(18, 33, 27, .5);
    backdrop-filter: blur(2px);
    z-index: 1050;
    opacity: 0;
    visibility: hidden;
    transition: opacity .35s var(--ease), visibility .35s;
}

.overlay.is-open {
    opacity: 1;
    visibility: visible;
}

[hidden] {
    display: none !important;
}

/* ------------------------------------------------------------- 7. Hero */

.hero {
    position: relative;
    background: var(--brand-950);
    color: #fff;
    overflow: hidden;
}

.hero-slider,
.hero-slider .swiper-wrapper {
    overflow: hidden;
}

.hero-slider .swiper-slide {
    opacity: 0 !important;
    pointer-events: none;
    visibility: hidden;
    transition: opacity .9s var(--ease);
}

.hero-slider .swiper-slide-active {
    opacity: 1 !important;
    pointer-events: auto;
    visibility: visible;
    z-index: 2;
}

.hero__slide {
    position: relative;
    min-height: clamp(540px, 82vh, 820px);
    display: grid;
    align-items: center;
}

.hero__media {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 32%;
}

/* Green wash keeps white text legible over any photograph */
.hero__media::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(100deg, rgba(18, 40, 30, .93) 0%, rgba(27, 61, 46, .84) 42%, rgba(27, 61, 46, .42) 100%),
        linear-gradient(to top, rgba(18, 40, 30, .7), transparent 55%);
}

.hero__inner {
    position: relative;
    z-index: 2;
    padding-block: clamp(3.5rem, 2rem + 6vw, 6rem);
    max-width: 720px;
}

.hero h1 {
    color: #fff;
    font-size: var(--fs-display);
    line-height: 1.04;
    margin-bottom: 1.25rem;
    text-wrap: balance;
}

.hero h1 em {
    font-style: normal;
    color: var(--gold-500);
}

.hero__text {
    font-size: var(--fs-lead);
    color: rgba(255, 255, 255, .82);
    max-width: 55ch;
    margin-bottom: 2rem;
}

.hero .eyebrow {
    color: var(--gold-500);
}

.hero .eyebrow::before {
    background: var(--gold-500);
}

/* Swiper chrome */
.hero .swiper-pagination {
    bottom: clamp(1.5rem, 3vw, 2.6rem) !important;
    left: 0;
    right: 0;
}

.hero .swiper-pagination-bullet {
    width: 30px;
    height: 4px;
    border-radius: 4px;
    background: rgba(255, 255, 255, .45);
    opacity: 1;
    transition: background-color .3s var(--ease), width .3s var(--ease);
}

.hero .swiper-pagination-bullet-active {
    background: var(--gold-500);
    width: 52px;
}

.hero__nav {
    position: absolute;
    z-index: 3;
    top: 50%;
    transform: translateY(-50%);
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    border-radius: var(--r-full);
    border: 1px solid rgba(255, 255, 255, .35);
    background: rgba(255, 255, 255, .08);
    color: #fff;
    backdrop-filter: blur(6px);
    transition: background-color .3s var(--ease), color .3s var(--ease);
}

.hero__nav:hover {
    background: var(--gold-500);
    border-color: var(--gold-500);
    color: var(--brand-900);
}

.hero__nav--prev {
    left: clamp(.7rem, 2vw, 2rem);
}

.hero__nav--next {
    right: clamp(.7rem, 2vw, 2rem);
}

/* Stat chips sitting inside the hero */
.hero__facts {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem 2.4rem;
    margin-top: 2.4rem;
    padding-top: 1.8rem;
    border-top: 1px solid rgba(255, 255, 255, .18);
}

.hero__fact strong {
    display: block;
    font-family: var(--font-display);
    font-size: 1.9rem;
    line-height: 1;
    color: var(--gold-500);
    margin-bottom: .25rem;
}

.hero__fact span {
    font-size: .84rem;
    font-weight: 600;
    letter-spacing: .05em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .7);
}

/* ------------------------------------------------------- 7b. Split hero
   The school's photographs are square and modestly sized, so the homepage
   leads with a framed photo stack rather than a full-bleed background where
   the compression would be obvious.                                        */

.hero--split {
    background: linear-gradient(165deg, var(--mint-50) 0%, #fff 52%, var(--gold-100) 100%);
    color: var(--ink-500);
    padding-block: clamp(2.75rem, 1.8rem + 4vw, 5.5rem);
}

.hero--split::before,
.hero--split::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    z-index: 0;
    pointer-events: none;
}

.hero--split::before {
    width: 460px;
    height: 460px;
    top: -180px;
    right: -140px;
    background: radial-gradient(circle, rgba(90, 177, 132, .22), transparent 68%);
}

.hero--split::after {
    width: 380px;
    height: 380px;
    bottom: -160px;
    left: -120px;
    background: radial-gradient(circle, rgba(247, 223, 115, .3), transparent 68%);
}

.hero--split .container {
    position: relative;
    z-index: 1;
}

.hero--split .hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
    gap: clamp(2.2rem, 1.2rem + 3.4vw, 4.5rem);
    align-items: center;
}

.hero--split h1 {
    color: var(--ink-900);
    font-size: var(--fs-display);
}

.hero--split h1 em {
    font-style: normal;
    color: var(--brand-600);
    position: relative;
    white-space: nowrap;
}

.hero--split h1 em::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: .06em;
    height: .26em;
    background: var(--gold-500);
    border-radius: var(--r-full);
    z-index: -1;
}

.hero--split .hero__text {
    color: var(--ink-500);
}

.hero--split .hero__facts {
    border-top-color: var(--line);
}

.hero--split .hero__fact strong {
    color: var(--brand-600);
}

.hero--split .hero__fact span {
    color: var(--ink-400);
}

/* Photo stack */
.hero__stack {
    position: relative;
    padding-bottom: 2.5rem;
    padding-left: 2.5rem;
}

.hero__stack-main {
    position: relative;
    border-radius: var(--r-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    aspect-ratio: 1 / 1;
    background: var(--mint-100);
}

.hero__stack-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero__stack-sub {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 44%;
    max-width: 210px;
    aspect-ratio: 1 / 1;
    border-radius: var(--r-lg);
    overflow: hidden;
    border: 6px solid #fff;
    box-shadow: var(--shadow-md);
    background: var(--mint-100);
}

.hero__stack-sub img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Gold "established" badge */
.hero__badge {
    position: absolute;
    top: 1.4rem;
    right: -.6rem;
    background: var(--gold-500);
    color: var(--brand-900);
    border-radius: var(--r-md);
    padding: .85rem 1.15rem;
    text-align: center;
    box-shadow: var(--shadow-md);
    z-index: 2;
}

.hero__badge strong {
    display: block;
    font-family: var(--font-display);
    font-size: 1.6rem;
    line-height: 1;
}

.hero__badge span {
    font-size: .68rem;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
    display: block;
    margin-top: .2rem;
}

/* Small white card that floats over the photo corner */
.hero__chip {
    position: absolute;
    right: -.4rem;
    bottom: 1.2rem;
    display: flex;
    align-items: center;
    gap: .7rem;
    background: #fff;
    border-radius: var(--r-full);
    padding: .6rem 1.1rem .6rem .6rem;
    box-shadow: var(--shadow-md);
    z-index: 2;
}

.hero__chip i {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: var(--r-full);
    background: var(--mint-100);
    color: var(--brand-600);
}

.hero__chip strong {
    display: block;
    font-size: .92rem;
    color: var(--ink-900);
    line-height: 1.2;
}

.hero__chip span {
    font-size: .76rem;
    color: var(--ink-400);
}

@media (max-width: 900px) {
    .hero--split .hero__grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .hero__stack {
        max-width: 460px;
        margin-inline: auto;
        width: 100%;
    }
}

@media (max-width: 520px) {
    .hero__stack {
        padding-left: 1.5rem;
        padding-bottom: 1.5rem;
    }

    .hero__badge {
        right: 0;
        padding: .65rem .9rem;
    }

    .hero__badge strong {
        font-size: 1.25rem;
    }

    .hero__chip {
        right: 0;
        bottom: .4rem;
        padding: .45rem .9rem .45rem .45rem;
    }

    .hero__chip i {
        width: 32px;
        height: 32px;
        font-size: .8rem;
    }
}

/* --------------------------------------------------- 8. Page header (inner) */

.page-hero {
    position: relative;
    background: var(--brand-900);
    color: #fff;
    padding-block: clamp(3.5rem, 2.4rem + 4.5vw, 6.5rem);
    overflow: hidden;
    text-align: center;
}

.page-hero__media {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.page-hero__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.page-hero__media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(18, 40, 30, .84), rgba(27, 61, 46, .9));
}

.page-hero__inner {
    position: relative;
    z-index: 2;
}

.page-hero h1 {
    color: #fff;
    margin-bottom: .75rem;
}

.page-hero p {
    color: rgba(255, 255, 255, .78);
    max-width: 62ch;
    margin-inline: auto;
    font-size: var(--fs-lead);
}

.breadcrumb {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    align-items: center;
    gap: .55rem;
    margin-top: 1.4rem;
    font-size: .88rem;
    color: rgba(255, 255, 255, .68);
}

.breadcrumb a {
    color: rgba(255, 255, 255, .82);
    font-weight: 600;
}

.breadcrumb a:hover {
    color: var(--gold-500);
}

.breadcrumb li:not(:last-child)::after {
    content: "/";
    margin-left: .55rem;
    color: rgba(255, 255, 255, .4);
}

.breadcrumb li {
    display: inline-flex;
    align-items: center;
}

.breadcrumb [aria-current="page"] {
    color: var(--gold-500);
    font-weight: 600;
}

/* ------------------------------------------------------------ 9. Cards */

.card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    overflow: hidden;
    transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: transparent;
}

.card__media {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: var(--surface-3);
}

.card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s var(--ease);
}

.card:hover .card__media img {
    transform: scale(1.06);
}

.card__body {
    padding: clamp(1.25rem, 1rem + .7vw, 1.75rem);
    display: flex;
    flex-direction: column;
    flex: 1;
}

.card__body h3,
.card__body h4 {
    margin-bottom: .55rem;
}

.card__body p {
    font-size: .96rem;
    margin-bottom: 1.1rem;
}

.card__body .link-arrow {
    margin-top: auto;
}

/* Coloured chip used for age range / category / date */
.chip {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding: .34rem .8rem;
    border-radius: var(--r-full);
    background: var(--mint-100);
    color: var(--brand-700);
    font-size: .76rem;
    font-weight: 800;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.chip--gold {
    background: var(--gold-100);
    color: var(--gold-700);
}

.chip--floating {
    position: absolute;
    top: 1rem;
    left: 1rem;
    z-index: 2;
    background: rgba(255, 255, 255, .95);
    box-shadow: var(--shadow-sm);
}

/* Icon feature card */
.feature {
    position: relative;
    padding: clamp(1.6rem, 1.2rem + 1.2vw, 2.3rem);
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    height: 100%;
    transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
    overflow: hidden;
}

.feature::before {
    content: "";
    position: absolute;
    inset: auto -30% -55% auto;
    width: 190px;
    height: 190px;
    border-radius: 50%;
    background: var(--mint-50);
    transition: transform .5s var(--ease);
    z-index: 0;
}

.feature:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: transparent;
}

.feature:hover::before {
    transform: scale(1.35);
}

.feature > * {
    position: relative;
    z-index: 1;
}

.feature__icon {
    width: 62px;
    height: 62px;
    display: grid;
    place-items: center;
    border-radius: 20px;
    background: var(--brand-600);
    color: #fff;
    font-size: 1.5rem;
    margin-bottom: 1.25rem;
    transition: transform .4s var(--ease);
}

.feature:hover .feature__icon {
    transform: rotate(-6deg) scale(1.05);
}

.feature__icon--gold {
    background: var(--gold-500);
    color: var(--brand-900);
}

.feature__icon--mint {
    background: var(--mint-500);
}

.feature h3,
.feature h4 {
    margin-bottom: .5rem;
}

.feature p {
    font-size: .96rem;
    margin-bottom: 0;
}

/* Class / programme card with gradient overlay */
.class-card {
    position: relative;
    border-radius: var(--r-lg);
    overflow: hidden;
    min-height: 340px;
    display: flex;
    align-items: flex-end;
    color: #fff;
    isolation: isolate;
}

.class-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
    transition: transform .7s var(--ease);
}

.class-card::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(to top, rgba(18, 40, 30, .93) 6%, rgba(18, 40, 30, .52) 45%, rgba(18, 40, 30, .12) 100%);
    transition: opacity .4s var(--ease);
}

.class-card:hover img {
    transform: scale(1.07);
}

.class-card__body {
    padding: clamp(1.35rem, 1.1rem + .8vw, 1.9rem);
    width: 100%;
}

.class-card__body h3 {
    color: #fff;
    margin-bottom: .4rem;
    font-size: 1.4rem;
}

.class-card__body p {
    color: rgba(255, 255, 255, .8);
    font-size: .93rem;
    margin-bottom: .9rem;
}

.class-card .chip {
    background: rgba(255, 255, 255, .16);
    color: #fff;
    backdrop-filter: blur(4px);
    margin-bottom: .8rem;
}

.class-card .link-arrow {
    color: var(--gold-500);
}

/* Staff card */
.staff {
    text-align: center;
}

.staff__media {
    position: relative;
    aspect-ratio: 1 / 1;
    border-radius: var(--r-lg);
    overflow: hidden;
    margin-bottom: 1.1rem;
    background: var(--mint-100);
}

.staff__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s var(--ease);
}

.staff:hover .staff__media img {
    transform: scale(1.06);
}

.staff h4 {
    margin-bottom: .15rem;
}

.staff span {
    font-size: .88rem;
    color: var(--mint-600);
    font-weight: 600;
}

/* ------------------------------------------------------- 10. Media blocks */

/* Image collage used beside "about" copy */
.collage {
    position: relative;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--gap);
}

.collage img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--r-lg);
    box-shadow: var(--shadow-sm);
}

.collage__tall {
    grid-row: span 2;
    aspect-ratio: 3 / 4.4;
}

.collage__short {
    aspect-ratio: 4 / 3;
}

/* Gold badge that overlaps the collage */
.collage__badge {
    position: absolute;
    right: -8px;
    bottom: 8%;
    z-index: 3;
    background: var(--gold-500);
    color: var(--brand-900);
    border-radius: var(--r-md);
    padding: 1rem 1.3rem;
    text-align: center;
    box-shadow: var(--shadow-md);
    max-width: 168px;
}

.collage__badge strong {
    display: block;
    font-family: var(--font-display);
    font-size: 2.1rem;
    line-height: 1;
    color: var(--brand-900);
}

.collage__badge span {
    font-size: .76rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .07em;
    line-height: 1.3;
    display: block;
    margin-top: .3rem;
}

.media-frame {
    position: relative;
    border-radius: var(--r-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.media-frame img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.media-frame--tall img {
    aspect-ratio: 3 / 4;
}

/* Play button for the video block */
.play-btn {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 78px;
    height: 78px;
    display: grid;
    place-items: center;
    border-radius: var(--r-full);
    background: var(--gold-500);
    color: var(--brand-900);
    font-size: 1.35rem;
    box-shadow: 0 0 0 0 rgba(247, 223, 115, .55);
    animation: pulse 2.4s infinite;
}

.play-btn:hover {
    color: var(--brand-900);
    background: #fff;
}

@keyframes pulse {
    70% {
        box-shadow: 0 0 0 26px rgba(247, 223, 115, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(247, 223, 115, 0);
    }
}

/* Tick list */
.ticks {
    display: grid;
    gap: .7rem;
}

.ticks li {
    display: flex;
    gap: .75rem;
    align-items: flex-start;
    font-weight: 500;
    color: var(--ink-600);
}

.ticks i {
    flex-shrink: 0;
    margin-top: .32rem;
    width: 20px;
    height: 20px;
    display: grid;
    place-items: center;
    border-radius: var(--r-full);
    background: var(--mint-100);
    color: var(--brand-600);
    font-size: .62rem;
}

.ticks--light li {
    color: rgba(255, 255, 255, .82);
}

.ticks--light i {
    background: rgba(255, 255, 255, .16);
    color: var(--gold-500);
}

/* --------------------------------------------------------- 11. Stats band */

.stats {
    background: var(--brand-800);
    color: #fff;
    position: relative;
    overflow: hidden;
}

.stats::before {
    content: "";
    position: absolute;
    inset: -40% 55% auto auto;
    width: 520px;
    height: 520px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .04);
}

.stats .container {
    position: relative;
    z-index: 1;
}

.stat {
    text-align: center;
    padding: .6rem;
}

.stat strong {
    display: block;
    font-family: var(--font-display);
    font-size: clamp(2.4rem, 1.8rem + 2.2vw, 3.4rem);
    line-height: 1;
    color: var(--gold-500);
    margin-bottom: .45rem;
}

.stat span {
    font-size: .9rem;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .74);
}

/* ------------------------------------------------ 12. Head teacher message */

.message {
    position: relative;
}

.message__card {
    background: #fff;
    border-radius: var(--r-xl);
    box-shadow: var(--shadow-md);
    padding: clamp(1.6rem, 1.1rem + 2.4vw, 3.4rem);
    display: grid;
    grid-template-columns: minmax(0, 320px) minmax(0, 1fr);
    gap: clamp(1.6rem, 1rem + 2.6vw, 3.4rem);
    align-items: center;
}

.message__portrait {
    position: relative;
    border-radius: var(--r-lg);
    overflow: hidden;
    aspect-ratio: 3 / 3.7;
    background: var(--mint-100);
}

.message__portrait img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.message__quote {
    font-family: var(--font-display);
    font-size: clamp(1.15rem, 1rem + .6vw, 1.45rem);
    line-height: 1.5;
    color: var(--ink-800);
    margin-bottom: 1.25rem;
}

.message__signoff {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 1.6rem;
    padding-top: 1.4rem;
    border-top: 1px solid var(--line);
    flex-wrap: wrap;
}

.message__signoff strong {
    display: block;
    font-family: var(--font-display);
    font-size: 1.12rem;
    color: var(--ink-900);
}

.message__signoff span {
    font-size: .88rem;
    color: var(--mint-600);
    font-weight: 600;
}

.quote-mark {
    position: absolute;
    top: -12px;
    left: 0;
    font-size: 3.4rem;
    line-height: 1;
    color: var(--gold-500);
    font-family: var(--font-display);
}

/* ------------------------------------------------------ 13. Testimonials */

.testimonial {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    padding: clamp(1.5rem, 1.2rem + 1vw, 2.2rem);
    height: auto;
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
}

.testimonial__stars {
    color: var(--gold-600);
    display: flex;
    gap: .18rem;
    font-size: .88rem;
}

.testimonial p {
    font-size: 1rem;
    color: var(--ink-600);
    margin: 0;
    flex: 1;
}

.testimonial__person {
    display: flex;
    align-items: center;
    gap: .85rem;
    padding-top: 1.1rem;
    border-top: 1px solid var(--line);
}

.testimonial__person img {
    width: 50px;
    height: 50px;
    border-radius: var(--r-full);
    object-fit: cover;
}

.testimonial__avatar {
    width: 50px;
    height: 50px;
    border-radius: var(--r-full);
    display: grid;
    place-items: center;
    background: var(--mint-100);
    color: var(--brand-700);
    font-weight: 800;
    font-family: var(--font-display);
    font-size: 1.1rem;
    flex-shrink: 0;
}

.testimonial__person strong {
    display: block;
    font-size: .98rem;
    color: var(--ink-900);
}

.testimonial__person span {
    font-size: .84rem;
    color: var(--ink-400);
}

/* Swiper needs equal-height slides for these */
.swiper-equal .swiper-slide {
    height: auto;
    display: flex;
}

.swiper-equal .swiper-slide > * {
    width: 100%;
}

.slider-nav {
    display: flex;
    gap: .6rem;
}

.slider-nav button {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: var(--r-full);
    border: 1px solid var(--line-strong);
    color: var(--brand-700);
    background: #fff;
    transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}

.slider-nav button:hover {
    background: var(--brand-600);
    border-color: var(--brand-600);
    color: #fff;
}

.slider-nav button.swiper-button-disabled {
    opacity: .4;
    cursor: default;
}

/* ---------------------------------------------------------- 14. Gallery */

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: clamp(.7rem, .5rem + .6vw, 1.1rem);
}

.gallery-item {
    position: relative;
    display: block;
    border-radius: var(--r-md);
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background: var(--surface-3);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s var(--ease);
}

.gallery-item::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(18, 40, 30, .8), rgba(18, 40, 30, 0) 62%);
    opacity: 0;
    transition: opacity .35s var(--ease);
}

.gallery-item__icon {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: grid;
    place-items: center;
    color: #fff;
    font-size: 1.3rem;
    opacity: 0;
    transform: scale(.8);
    transition: opacity .35s var(--ease), transform .35s var(--ease);
}

.gallery-item:hover img {
    transform: scale(1.07);
}

.gallery-item:hover::after,
.gallery-item:hover .gallery-item__icon {
    opacity: 1;
    transform: scale(1);
}

/* Filter buttons */
.filters {
    display: flex;
    flex-wrap: wrap;
    gap: .55rem;
    justify-content: center;
    margin-bottom: clamp(1.8rem, 1.4rem + 1.2vw, 2.8rem);
}

.filters button {
    padding: .62rem 1.3rem;
    border-radius: var(--r-full);
    border: 1px solid var(--line-strong);
    font-weight: 700;
    font-size: .88rem;
    color: var(--ink-600);
    background: #fff;
    transition: all .25s var(--ease);
}

.filters button:hover {
    border-color: var(--brand-600);
    color: var(--brand-700);
}

.filters button.is-active {
    background: var(--brand-600);
    border-color: var(--brand-600);
    color: #fff;
}

/* --------------------------------------------------------- 15. Accordion */

.accordion {
    display: grid;
    gap: .85rem;
}

.acc {
    border: 1px solid var(--line);
    border-radius: var(--r-md);
    background: #fff;
    overflow: hidden;
    transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}

.acc.is-open {
    border-color: var(--mint-200);
    box-shadow: var(--shadow-sm);
}

.acc__trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    width: 100%;
    text-align: left;
    padding: 1.15rem 1.35rem;
    font-family: var(--font-sans);
    font-weight: 700;
    font-size: 1.02rem;
    color: var(--ink-900);
}

.acc__trigger i {
    flex-shrink: 0;
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    border-radius: var(--r-full);
    background: var(--mint-100);
    color: var(--brand-600);
    font-size: .72rem;
    transition: transform .3s var(--ease), background-color .3s var(--ease), color .3s var(--ease);
}

.acc.is-open .acc__trigger i {
    transform: rotate(180deg);
    background: var(--brand-600);
    color: #fff;
}

.acc__panel {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows .35s var(--ease);
}

.acc.is-open .acc__panel {
    grid-template-rows: 1fr;
}

.acc__panel > div {
    overflow: hidden;
}

.acc__panel p {
    padding: 0 1.35rem 1.35rem;
    margin: 0;
    font-size: .97rem;
}

/* ---------------------------------------------------------- 16. Timeline */

.timeline {
    display: grid;
    gap: clamp(1.5rem, 1.2rem + 1vw, 2.2rem);
    position: relative;
}

.timeline::before {
    content: "";
    position: absolute;
    left: 27px;
    top: 12px;
    bottom: 12px;
    width: 2px;
    background: linear-gradient(var(--mint-200), var(--gold-200));
}

.tl-item {
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 1.25rem;
    align-items: flex-start;
    position: relative;
}

.tl-item__dot {
    width: 56px;
    height: 56px;
    display: grid;
    place-items: center;
    border-radius: var(--r-full);
    background: #fff;
    border: 2px solid var(--mint-200);
    color: var(--brand-600);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.05rem;
    z-index: 1;
}

.tl-item--gold .tl-item__dot {
    background: var(--gold-500);
    border-color: var(--gold-500);
    color: var(--brand-900);
}

.tl-item h4 {
    margin-bottom: .3rem;
}

.tl-item p {
    margin-bottom: 0;
    font-size: .97rem;
}

/* ------------------------------------------------------------ 17. Forms */

.field {
    display: block;
    margin-bottom: 1.1rem;
}

.field label,
.field > span {
    display: block;
    font-size: .87rem;
    font-weight: 700;
    color: var(--ink-700);
    margin-bottom: .45rem;
}

.field .req {
    color: var(--danger);
}

.input,
.select,
.textarea {
    width: 100%;
    padding: .92rem 1.1rem;
    border: 1px solid var(--line-strong);
    border-radius: var(--r-sm);
    background: #fff;
    color: var(--ink-800);
    font-size: .97rem;
    transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}

.input::placeholder,
.textarea::placeholder {
    color: var(--ink-300);
}

.input:focus,
.select:focus,
.textarea:focus {
    outline: none;
    border-color: var(--mint-500);
    box-shadow: 0 0 0 4px var(--mint-100);
}

.textarea {
    min-height: 150px;
    resize: vertical;
}

.select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath fill='%235B6B63' d='M1.4 0 6 4.6 10.6 0 12 1.4 6 7.4 0 1.4z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1.1rem center;
    background-size: 11px;
    padding-right: 2.6rem;
}

.form-note {
    font-size: .85rem;
    color: var(--ink-400);
}

.form-status {
    display: none;
    margin-top: 1rem;
    padding: .9rem 1.1rem;
    border-radius: var(--r-sm);
    font-size: .93rem;
    font-weight: 600;
}

.form-status.is-visible {
    display: block;
}

.form-status--ok {
    background: var(--mint-100);
    color: var(--brand-700);
}

/* Contact info tiles */
.info-tile {
    display: flex;
    gap: 1.1rem;
    align-items: flex-start;
    padding: 1.5rem;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    height: 100%;
    transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}

.info-tile:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.info-tile__icon {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    border-radius: 16px;
    background: var(--mint-100);
    color: var(--brand-600);
    font-size: 1.2rem;
}

.info-tile h4 {
    margin-bottom: .3rem;
}

.info-tile a,
.info-tile p {
    font-size: .96rem;
    color: var(--ink-500);
    margin-bottom: 0;
}

.info-tile a:hover {
    color: var(--brand-600);
}

.map-frame {
    border-radius: var(--r-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--line);
    line-height: 0;
}

.map-frame iframe {
    width: 100%;
    height: 420px;
    border: 0;
}

/* ------------------------------------------------------------- 18. CTA */

.cta {
    position: relative;
    overflow: hidden;
    background: var(--brand-700);
    color: #fff;
    border-radius: var(--r-xl);
    padding: clamp(2.2rem, 1.6rem + 2.6vw, 4rem);
    text-align: center;
    isolation: isolate;
}

.cta img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}

.cta::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(120deg, rgba(27, 61, 46, .95), rgba(44, 99, 73, .86));
}

.cta h2 {
    color: #fff;
    max-width: 22ch;
    margin-inline: auto;
}

.cta p {
    color: rgba(255, 255, 255, .8);
    font-size: var(--fs-lead);
    max-width: 60ch;
    margin-inline: auto;
    margin-bottom: 2rem;
}

.cta .btn-row {
    justify-content: center;
}

/* ---------------------------------------------------------- 19. Footer */

.footer {
    background: var(--brand-950);
    color: rgba(255, 255, 255, .68);
    padding-top: clamp(3.2rem, 2.4rem + 3vw, 5rem);
    font-size: .96rem;
}

.footer__grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.4fr;
    gap: clamp(1.8rem, 1.2rem + 2.4vw, 3.4rem);
    padding-bottom: clamp(2.2rem, 1.8rem + 2vw, 3.4rem);
}

.footer .brand__name {
    color: #fff;
}

.footer .brand__tag {
    color: var(--gold-500);
}

.footer__about p {
    margin-top: 1.25rem;
    color: rgba(255, 255, 255, .64);
}

.footer h4 {
    color: #fff;
    font-size: 1.02rem;
    margin-bottom: 1.35rem;
    position: relative;
    padding-bottom: .7rem;
}

.footer h4::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 30px;
    height: 2px;
    border-radius: 2px;
    background: var(--gold-500);
}

.footer__links {
    display: grid;
    gap: .68rem;
}

.footer__links a {
    color: rgba(255, 255, 255, .68);
    display: inline-flex;
    align-items: center;
    gap: .5rem;
}

.footer__links a::before {
    content: "\f105";
    font-family: "Font Awesome 6 Pro";
    font-weight: 300;
    font-size: .8rem;
    color: var(--mint-400);
    transition: transform .25s var(--ease);
}

.footer__links a:hover {
    color: var(--gold-500);
}

.footer__links a:hover::before {
    transform: translateX(3px);
}

.footer__contact li {
    display: flex;
    gap: .8rem;
    align-items: flex-start;
    margin-bottom: .95rem;
    color: rgba(255, 255, 255, .68);
}

.footer__contact i {
    flex-shrink: 0;
    margin-top: .3rem;
    width: 32px;
    height: 32px;
    display: grid;
    place-items: center;
    border-radius: var(--r-full);
    background: rgba(255, 255, 255, .08);
    color: var(--gold-500);
    font-size: .82rem;
}

.footer__contact a {
    color: rgba(255, 255, 255, .68);
}

.footer__contact a:hover {
    color: var(--gold-500);
}

.footer__socials {
    display: flex;
    gap: .5rem;
    margin-top: 1.5rem;
}

.footer__socials a {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border-radius: var(--r-full);
    background: rgba(255, 255, 255, .08);
    color: #fff;
    transition: all .25s var(--ease);
}

.footer__socials a:hover {
    background: var(--gold-500);
    color: var(--brand-900);
    transform: translateY(-3px);
}

.footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, .1);
    padding-block: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    font-size: .88rem;
    color: rgba(255, 255, 255, .55);
}

.footer__bottom a {
    color: rgba(255, 255, 255, .72);
}

.footer__bottom a:hover {
    color: var(--gold-500);
}

/* Newsletter */
.newsletter {
    display: flex;
    gap: .5rem;
    margin-top: 1.2rem;
    flex-wrap: wrap;
}

.newsletter input {
    flex: 1 1 170px;
    min-width: 0;
    padding: .85rem 1.1rem;
    border-radius: var(--r-full);
    border: 1px solid rgba(255, 255, 255, .18);
    background: rgba(255, 255, 255, .07);
    color: #fff;
    font-size: .92rem;
}

.newsletter input::placeholder {
    color: rgba(255, 255, 255, .45);
}

.newsletter input:focus {
    outline: none;
    border-color: var(--gold-500);
}

/* Back-to-top */
.to-top {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 800;
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: var(--r-full);
    background: var(--brand-600);
    color: #fff;
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    transform: translateY(14px);
    transition: all .3s var(--ease);
}

.to-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.to-top:hover {
    background: var(--gold-500);
    color: var(--brand-900);
}

/* --------------------------------------------------------- 20. Lightbox */

.lightbox {
    position: fixed;
    inset: 0;
    z-index: 1200;
    display: grid;
    place-items: center;
    padding: clamp(1rem, 4vw, 3rem);
    background: rgba(10, 22, 17, .94);
    backdrop-filter: blur(6px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s var(--ease), visibility .3s;
}

.lightbox.is-open {
    opacity: 1;
    visibility: visible;
}

.lightbox__figure {
    margin: 0;
    max-width: min(1100px, 100%);
    text-align: center;
}

.lightbox__figure img {
    max-width: 100%;
    max-height: 78vh;
    width: auto;
    margin-inline: auto;
    border-radius: var(--r-md);
    box-shadow: var(--shadow-lg);
}

.lightbox__figure figcaption {
    margin-top: 1rem;
    color: rgba(255, 255, 255, .8);
    font-size: .95rem;
}

.lightbox__close,
.lightbox__nav {
    position: absolute;
    display: grid;
    place-items: center;
    border-radius: var(--r-full);
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .25);
    color: #fff;
    transition: background-color .25s var(--ease), color .25s var(--ease), transform .3s var(--ease);
}

.lightbox__close {
    top: clamp(1rem, 3vw, 2rem);
    right: clamp(1rem, 3vw, 2rem);
    width: 48px;
    height: 48px;
    font-size: 1.2rem;
}

.lightbox__nav {
    top: 50%;
    transform: translateY(-50%);
    width: 52px;
    height: 52px;
    font-size: 1.4rem;
}

.lightbox__nav--prev {
    left: clamp(.6rem, 2vw, 2rem);
}

.lightbox__nav--next {
    right: clamp(.6rem, 2vw, 2rem);
}

.lightbox__close:hover,
.lightbox__nav:hover {
    background: var(--gold-500);
    border-color: var(--gold-500);
    color: var(--brand-900);
}

@media (max-width: 560px) {
    .lightbox__nav {
        top: auto;
        bottom: 1.2rem;
        transform: none;
        width: 46px;
        height: 46px;
    }

    .lightbox__nav--prev {
        left: 28%;
    }

    .lightbox__nav--next {
        right: 28%;
    }
}

/* ------------------------------------------------------- 21. Scroll reveal */

[data-reveal] {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity .7s var(--ease), transform .7s var(--ease);
    will-change: opacity, transform;
}

[data-reveal="left"] {
    transform: translateX(-28px);
}

[data-reveal="right"] {
    transform: translateX(28px);
}

[data-reveal="scale"] {
    transform: scale(.94);
}

[data-reveal].is-visible {
    opacity: 1;
    transform: none;
}

/* Subtle float on hero collage pieces */
@keyframes floaty {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.hero__badge {
    animation: floaty 5.5s ease-in-out infinite;
}

.hero__chip {
    animation: floaty 6.5s ease-in-out infinite;
    animation-delay: .8s;
}

.hero__stack-sub {
    animation: floaty 7s ease-in-out infinite;
    animation-delay: .4s;
}

/* Gold shine that travels across primary buttons */
.btn--primary,
.btn--gold {
    position: relative;
    overflow: hidden;
}

.btn--primary::after,
.btn--gold::after {
    content: "";
    position: absolute;
    inset: 0 auto 0 -40%;
    width: 32%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.28), transparent);
    transform: skewX(-18deg);
    transition: none;
}

.btn--primary:hover::after,
.btn--gold:hover::after {
    animation: shine .7s var(--ease);
}

@keyframes shine {
    from { left: -40%; }
    to { left: 120%; }
}

/* Slow ken-burns on inner-page banners */
.page-hero__media img {
    animation: ken 18s ease-in-out infinite alternate;
}

@keyframes ken {
    from { transform: scale(1); }
    to { transform: scale(1.08); }
}

/* Class-name ribbon */
.ribbon {
    overflow: hidden;
    background: var(--brand-900);
    color: var(--gold-500);
    border-block: 1px solid rgba(255,255,255,.08);
    padding-block: .85rem;
}

.ribbon__track {
    display: flex;
    gap: 2.4rem;
    width: max-content;
    animation: ticker 28s linear infinite;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
    font-size: .78rem;
}

.ribbon__track span {
    display: inline-flex;
    align-items: center;
    gap: .9rem;
}

.ribbon__track span::before {
    content: "✦";
    color: var(--mint-400);
}

@keyframes ticker {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* Values */
.value {
    padding: 1.6rem 1.5rem 1.7rem;
    border-radius: var(--r-lg);
    background: #fff;
    border: 1px solid var(--line);
    height: 100%;
    transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}

.value:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.value strong {
    display: block;
    font-family: var(--font-display);
    font-size: 1.35rem;
    color: var(--ink-900);
    margin: .85rem 0 .4rem;
}

/* Numbered process */
.steps {
    counter-reset: step;
    display: grid;
    gap: var(--gap);
}

.step {
    counter-increment: step;
    position: relative;
    padding: 1.7rem 1.6rem 1.7rem 5.2rem;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}

.step:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.step::before {
    content: counter(step, decimal-leading-zero);
    position: absolute;
    left: 1.2rem;
    top: 1.45rem;
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--brand-700);
    background: var(--gold-100);
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    border-radius: 16px;
}

.step h3 {
    margin-bottom: .4rem;
}

/* Quote block for the full welcome speech */
.speech {
    background: #fff;
    border-radius: var(--r-xl);
    padding: clamp(1.6rem, 1.2rem + 2vw, 3rem);
    box-shadow: var(--shadow-md);
    border-left: 6px solid var(--gold-500);
}

.speech p:first-of-type {
    font-family: var(--font-display);
    font-size: var(--fs-lead);
    color: var(--ink-800);
}

/* Level chips on academics */
.level {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.15rem 1.3rem;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--r-md);
    transition: transform .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
}

.level:hover {
    transform: translateY(-3px);
    border-color: var(--mint-200);
    box-shadow: var(--shadow-sm);
}

.level h4 {
    margin: 0 0 .15rem;
}

.level p {
    margin: 0;
    font-size: .88rem;
}

/* Two-column form */
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 1.1rem;
}

.form-grid .field--full {
    grid-column: 1 / -1;
}

.hours dt {
    font-weight: 700;
    color: var(--ink-800);
}

.hours dd {
    margin: 0 0 .85rem;
    color: var(--ink-500);
}

/* 404 */
.error-page {
    min-height: 70vh;
    display: grid;
    place-items: center;
    text-align: center;
    padding: var(--section-y) var(--gutter);
    background:
        radial-gradient(circle at 80% 10%, rgba(247,223,115,.28), transparent 40%),
        radial-gradient(circle at 10% 90%, rgba(90,177,132,.18), transparent 45%),
        var(--mint-50);
}

.error-page img {
    width: 110px;
    margin-inline: auto  auto;
    margin-bottom: 1.4rem;
}

.error-page .code {
    font-family: var(--font-display);
    font-size: clamp(5rem, 12vw, 9rem);
    line-height: .85;
    color: var(--brand-700);
    margin-bottom: .6rem;
}

@media (max-width: 720px) {
    .form-grid {
        grid-template-columns: 1fr;
    }

    .ribbon__track {
        animation-duration: 18s;
    }
}

/* --------------------------------------------------------- 21. Responsive */

@media (max-width: 1200px) {
    .brand__text {
        display: none;
    }

    .nav__link {
        padding: .7rem .7rem;
        font-size: .91rem;
    }
}

@media (max-width: 1080px) {
    :root {
        --header-h: 74px;
    }

    .site-header__inner {
        display: flex;
        justify-content: space-between;
    }

    .nav,
    .header__actions .btn {
        display: none;
    }

    .nav-toggle {
        display: grid;
    }

    .brand__text {
        display: flex;
    }

    .site-header.is-hidden {
        transform: none;
    }

    .footer__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 900px) {
    .grid--4 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .grid--3 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .grid--split {
        grid-template-columns: minmax(0, 1fr);
    }

    /* Keep the picture above the copy when a split stacks */
    .grid--split > .grid__media {
        order: -1;
    }

    .message__card {
        grid-template-columns: minmax(0, 1fr);
    }

    .message__portrait {
        max-width: 300px;
        aspect-ratio: 1 / 1;
    }

    .topbar__inner {
        justify-content: center;
        text-align: center;
    }

    .topbar__list {
        gap: 1rem;
        justify-content: center;
    }
}

@media (max-width: 720px) {
    .hero__slide {
        min-height: 640px;
        padding-block: 2.2rem 3.2rem;
        align-items: end;
    }

    .hero h1 {
        font-size: clamp(2.1rem, 8vw, 2.8rem);
    }

    .hero__nav {
        display: none;
    }

    .hero__facts {
        gap: 1rem 1.6rem;
    }

    .hero__fact strong {
        font-size: 1.5rem;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .collage__badge {
        right: 0;
        padding: .8rem 1rem;
        max-width: 140px;
    }

    .collage__badge strong {
        font-size: 1.6rem;
    }

    .footer__bottom {
        justify-content: center;
        text-align: center;
    }
}

@media (max-width: 560px) {
    .grid--4,
    .grid--3,
    .grid--2 {
        grid-template-columns: minmax(0, 1fr);
    }

    .footer__grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .topbar__list li:not(.topbar__list-priority) {
        display: none;
    }

    .btn {
        padding: .85rem 1.5rem;
    }

    .btn-row .btn {
        width: 100%;
    }

    .stat {
        text-align: left;
        display: flex;
        align-items: baseline;
        gap: .8rem;
    }

    .stat strong {
        margin-bottom: 0;
    }

    .tl-item {
        grid-template-columns: 44px minmax(0, 1fr);
        gap: 1rem;
    }

    .tl-item__dot {
        width: 44px;
        height: 44px;
        font-size: .9rem;
    }

    .timeline::before {
        left: 21px;
    }
}

/* Stats grid never collapses to a single column — two-up reads better */
@media (max-width: 560px) {
    .stats .grid--4 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* ------------------------------------------------------ 22. Preferences */

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }

    [data-reveal] {
        opacity: 1;
        transform: none;
    }
}

@media print {
    .site-header,
    .topbar,
    .footer,
    .to-top,
    .drawer,
    .overlay,
    .hero__nav {
        display: none !important;
    }

    body {
        color: #000;
    }
}

/* ------------------------------------------------------ 23. Mena-only */

.section--cream {
    background: var(--cream);
}

.hero__kicker {
    display: inline-flex;
    align-items: center;
    gap: .7rem;
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--gold-500);
    margin-bottom: 1.1rem;
}

.hero__kicker::before,
.hero__kicker::after {
    content: "";
    width: 28px;
    height: 1px;
    background: var(--gold-500);
}

.hero h1 {
    letter-spacing: -.03em;
}

.hero h1 em {
    font-style: italic;
    color: var(--gold-500);
}

.score-rail {
    overflow: hidden;
    background: var(--brand-950);
    border-block: 1px solid rgba(212, 175, 55, .22);
    padding-block: 1rem;
}

.score-rail__track {
    display: flex;
    gap: 2.2rem;
    width: max-content;
    animation: ticker 32s linear infinite;
}

.score-chip {
    display: inline-flex;
    align-items: center;
    gap: .7rem;
    color: #fff;
    font-weight: 700;
    white-space: nowrap;
    font-size: .92rem;
}

.score-rail:hover .score-rail__track,
.ribbon:hover .ribbon__track {
    animation-play-state: paused;
}

.results-frame {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--r-xl);
    padding: clamp(1rem, .6rem + 1.4vw, 1.8rem);
    box-shadow: var(--shadow-md);
}

.results-frame img {
    width: 100%;
    height: auto;
    border-radius: var(--r-md);
}

.pillar {
    position: relative;
    padding: 2rem 1.6rem 1.8rem;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    height: 100%;
}

.pillar__index {
    font-family: var(--font-display);
    font-size: 2.4rem;
    line-height: 1;
    color: var(--gold-600);
    margin-bottom: .7rem;
}

.quote-mark {
    font-family: var(--font-display);
    font-size: 4rem;
    line-height: .6;
    color: var(--gold-500);
    display: block;
    margin-bottom: .6rem;
}

.form-status--err {
    background: #FDECEC;
    color: var(--crimson);
}

.apply-open {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) auto;
    gap: var(--gap);
    align-items: center;
    background: linear-gradient(120deg, var(--brand-800), var(--brand-600));
    color: #fff;
    border-radius: var(--r-xl);
    padding: clamp(1.8rem, 1.2rem + 2vw, 3rem);
}

.apply-open h2,
.apply-open p {
    color: #fff;
}

.apply-open p {
    color: rgba(255, 255, 255, .8);
    margin-bottom: 0;
}

.exam-pill {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    padding: .45rem .9rem;
    border-radius: var(--r-full);
    background: var(--mint-100);
    color: var(--brand-700);
    font-weight: 700;
    font-size: .82rem;
}

.contact-panel {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--r-xl);
    padding: clamp(1.4rem, 1rem + 1.6vw, 2.4rem);
    box-shadow: var(--shadow-sm);
}

.contact-panel .footer__contact li,
.contact-panel .footer__contact a,
.contact-panel .footer__contact span {
    color: var(--ink-600);
}

.contact-panel .footer__contact i {
    background: var(--mint-100);
    color: var(--brand-600);
}

.site-header .brand__tag {
    max-width: 22ch;
}

@media (max-width: 720px) {
    .apply-open {
        grid-template-columns: minmax(0, 1fr);
    }

    .apply-open .btn {
        width: 100%;
    }
}

/* ------------------------------------------------------ 24. Motion system */

.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1400;
    height: 3px;
    transform: scaleX(0);
    transform-origin: left center;
    background: linear-gradient(90deg, var(--gold-500), var(--brand-500));
    pointer-events: none;
}

body.is-leaving {
    animation: none;
    opacity: 0;
    transition: opacity .32s var(--ease);
}

.brand img {
    transition: transform .5s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}

.brand:hover img {
    transform: rotate(-8deg) scale(1.06);
    box-shadow: var(--shadow-sm);
    border-color: var(--gold-500);
}

body {
    animation: pageIn .55s var(--ease) both;
}

@keyframes pageIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.hero-slider .swiper-slide:not(.swiper-slide-active) .hero__inner > * {
    animation: none;
    opacity: 0;
}

.hero-slider .swiper-slide-active .hero__inner > * {
    animation: rise .85s var(--ease) both;
}

.hero-slider .swiper-slide-active .hero__inner > *:nth-child(2) { animation-delay: .08s; }
.hero-slider .swiper-slide-active .hero__inner > *:nth-child(3) { animation-delay: .16s; }
.hero-slider .swiper-slide-active .hero__inner > *:nth-child(4) { animation-delay: .24s; }
.hero-slider .swiper-slide-active .hero__inner > *:nth-child(5) { animation-delay: .32s; }

@keyframes rise {
    from {
        opacity: 0;
        transform: translateY(28px);
        filter: blur(6px);
    }
    to {
        opacity: 1;
        transform: none;
        filter: blur(0);
    }
}

.page-hero__inner > * {
    animation: rise .8s var(--ease) both;
}

.page-hero__inner > *:nth-child(2) { animation-delay: .1s; }
.page-hero__inner > *:nth-child(3) { animation-delay: .18s; }
.page-hero__inner > *:nth-child(4) { animation-delay: .26s; }

.js .page-hero__media img,
.js .hero__media img {
    animation: none;
    will-change: transform;
}

[data-reveal="clip"] {
    clip-path: inset(12% 12% 12% 12%);
    filter: blur(8px);
    transform: none;
}

[data-reveal="clip"].is-visible {
    clip-path: inset(0);
    filter: blur(0);
}

[data-reveal] {
    transition: opacity .8s var(--ease), transform .8s var(--ease), clip-path .9s var(--ease), filter .8s var(--ease);
}

.gallery-item {
    transition: opacity .32s var(--ease), transform .4s var(--ease), filter .32s var(--ease);
}

.gallery-item.is-filtered-out {
    opacity: 0;
    transform: scale(.96);
    pointer-events: none;
}

.gallery-item.is-filtered-in {
    animation: filterIn .5s var(--ease) both;
    animation-delay: var(--stagger, 0ms);
}

@keyframes filterIn {
    from {
        opacity: 0;
        transform: translateY(18px) scale(.97);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

.lightbox__figure img {
    transition: opacity .22s var(--ease), transform .4s var(--ease);
}

.lightbox__figure img.is-out {
    opacity: 0;
    transform: scale(.97);
}

.lightbox__figure img.is-in {
    opacity: 1;
    transform: scale(1);
}

.lightbox.is-open .lightbox__figure {
    animation: rise .45s var(--ease);
}

.input,
.textarea,
.select {
    transition: border-color .25s var(--ease), box-shadow .25s var(--ease), transform .25s var(--ease);
}

.input:focus,
.textarea:focus,
.select:focus {
    transform: translateY(-1px);
}

.feature,
.card,
.class-card,
.value,
.pillar,
.info-tile,
.step {
    transform-style: preserve-3d;
}

@media (pointer: fine) {
    .feature:hover,
    .card:hover,
    .class-card:hover,
    .value:hover,
    .pillar:hover,
    .info-tile:hover,
    .step:hover {
        will-change: transform;
    }
}

.collage__badge {
    animation: floaty 6s ease-in-out infinite;
}

.stat {
    transition: transform .35s var(--ease);
}

.stat:hover {
    transform: translateY(-4px);
}

.map-frame iframe {
    transition: transform 1.1s var(--ease);
}

.map-frame:hover iframe {
    transform: scale(1.04);
}

.lightbox__close:hover {
    transform: scale(1.08);
    background: var(--gold-500);
    color: var(--brand-900);
}

.lightbox__nav:hover {
    transform: translateY(-50%) scale(1.08);
    background: var(--gold-500);
    color: var(--brand-900);
}

.value:hover .feature__icon {
    transform: rotate(-6deg) scale(1.05);
}

.collage img {
    transition: transform .7s var(--ease), filter .4s var(--ease);
}

.collage img:hover {
    transform: scale(1.04);
    filter: saturate(1.08);
}

.media-frame img {
    transition: transform .8s var(--ease);
}

.media-frame:hover img {
    transform: scale(1.05);
}

.footer__links a,
.nav__link,
.link-arrow {
    transition: color .25s var(--ease), background-color .25s var(--ease), transform .25s var(--ease);
}

.to-top {
    transition: opacity .3s var(--ease), visibility .3s, transform .35s var(--ease), background-color .25s var(--ease), color .25s var(--ease);
}

.score-chip {
    transition: transform .3s var(--ease), color .3s var(--ease);
}

.filters button {
    transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
}

.filters button:hover {
    transform: translateY(-2px);
}

.cta {
    transition: transform .4s var(--ease);
}

.cta:hover {
    transform: translateY(-3px);
}

.apply-open {
    transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}

.apply-open:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.hero__nav,
.slider-nav button {
    transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .3s var(--ease);
}

@media (prefers-reduced-motion: reduce) {
    .scroll-progress,
    .hero-slider .swiper-slide-active .hero__inner > *,
    .page-hero__inner > *,
    .gallery-item.is-filtered-in,
    .lightbox.is-open .lightbox__figure,
    .brand:hover img,
    .cta:hover,
    .apply-open:hover,
    .collage__badge,
    body {
        animation: none !important;
        transform: none !important;
    }

    body.is-leaving {
        opacity: 1;
        transition: none;
    }

    .site-header.is-hidden {
        transform: none;
    }

    .map-frame:hover iframe,
    .stat:hover {
        transform: none;
    }
}
