/* ==========================================================================
   SFS Academy — redesigned home page ("coffee brown & gold")
   A fresh, modern system: coffee browns and warm gold on white and soft cream; bold, tightly set sans
   headlines whose last words run in a coffee-to-gold gradient; large rounded cards, bento grids, pill buttons, glass
   panels over photographs, and gentle lift-and-glow interactions. Scoped to .hn; loaded last on /home-new only.
   ========================================================================== */
.hn {
    --c1: #377157;
    --c1-dk: #254f3c;
    --c1-xdk: #142f23;
    --g1: #c19e59;
    --g1-dk: #94773e;
    --g1-lt: #e3cda1;
    --cream: #fbf6ef;
    --blush: #f3e7d8;
    --ink: #1b2922;
    --text: #364e43;
    --muted: #4f7262;
    --line: #eadfd1;
    --sans: "Source Sans 3", "Segoe UI", system-ui, sans-serif;
    --serif: "Playfair Display", Georgia, serif;
    --r-lg: 32px;
    --r-md: 22px;
    --r-sm: 14px;
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
    --pad: clamp(4rem, 2.8rem + 4.5vw, 7rem);
    --shadow: 0 24px 60px -30px rgb(37 79 60 / 0.35);
    --shadow-lg: 0 40px 90px -40px rgb(37 79 60 / 0.5);
    --grad: linear-gradient(120deg, #254f3c 0%, #377157 45%, #94773e 100%);
    --grad-gold: linear-gradient(120deg, #e3cda1 0%, #c19e59 55%, #94773e 100%);
    color: var(--text);
    font-family: var(--sans);
    background: #fff;
    overflow-x: clip;
}

/* ---------- type ---------- */
.hn .hn-kicker {
    display: inline-flex; align-items: center; gap: 0.55rem; margin: 0 0 1.1rem; padding: 0.45rem 0.95rem 0.45rem 0.55rem;
    font: 800 0.7rem/1 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--c1);
    background: var(--blush); border: 1px solid #e6d4bd; border-radius: 999px;
}
.hn .hn-kicker::before { content: ""; width: 0.55rem; height: 0.55rem; border-radius: 50%; background: var(--grad-gold); box-shadow: 0 0 0 3px rgb(193 158 89 / 0.25); }
.hn .hn-kicker--light { color: var(--g1-lt); background: rgb(255 255 255 / 0.08); border-color: rgb(255 255 255 / 0.18); }
.hn .hn-index { display: none; }

.hn .hn-title {
    margin: 0; font-family: var(--sans); font-size: clamp(2.1rem, 1.3rem + 2.6vw, 3.6rem); font-weight: 800 !important;
    line-height: 1.04; letter-spacing: -0.035em !important; color: var(--ink); text-wrap: balance;
}
.hn .hn-title--light { color: #fff; }
.hn .hn-title .hl, .hn .hn-hero__title .hl {
    font-style: normal !important; font-weight: 800 !important; color: transparent !important;
    background: var(--grad); -webkit-background-clip: text; background-clip: text;
}
.hn .hn-title--light .hl { background: var(--grad-gold); -webkit-background-clip: text; background-clip: text; }
.hn .hn-lead { margin: 0; font-size: clamp(1rem, 0.95rem + 0.25vw, 1.12rem); line-height: 1.75; color: var(--text); text-wrap: pretty; }
.hn .hn-lead--light { color: rgb(255 255 255 / 0.8); }

/* links with an arrow: pill chips */
.hn .link-arrow {
    display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.7rem 1.1rem; font-weight: 700; font-size: 0.88rem;
    color: var(--c1); text-decoration: none; background: #fff; border: 1px solid var(--line); border-radius: 999px;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease, transform 0.3s var(--ease);
}
.hn .link-arrow .icon { width: 0.95rem; height: 0.95rem; transition: transform 0.35s var(--ease); }
.hn .link-arrow:hover { color: #fff; background: var(--c1); border-color: var(--c1); transform: translateY(-2px); }
.hn .link-arrow:hover .icon { transform: translateX(3px); }
.hn .hn-link-light.link-arrow { color: #fff; background: rgb(255 255 255 / 0.08); border-color: rgb(255 255 255 / 0.2); }
.hn .hn-link-light.link-arrow:hover { color: var(--c1-xdk); background: var(--g1); border-color: var(--g1); }

/* buttons: pills */
.hn .hn-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem; min-height: 3.3rem; padding: 0 1.7rem;
    font: 800 0.92rem var(--sans); text-decoration: none; border: 1px solid transparent; border-radius: 999px;
    transition: transform 0.35s var(--ease), box-shadow 0.35s ease, background-color 0.3s ease, color 0.3s ease;
}
.hn .hn-btn .icon { width: 1rem; height: 1rem; transition: transform 0.35s var(--ease); }
.hn .hn-btn:hover { transform: translateY(-3px); }
.hn .hn-btn:hover .icon { transform: translate(2px, -2px); }
.hn .hn-btn--gold { color: var(--c1-xdk); background: var(--grad-gold); box-shadow: 0 16px 34px -14px rgb(193 158 89 / 0.85); }
.hn .hn-btn--gold:hover { box-shadow: 0 22px 44px -14px rgb(193 158 89 / 0.95); }
.hn .hn-btn--line { color: #fff; background: rgb(255 255 255 / 0.1); border-color: rgb(255 255 255 / 0.35); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.hn .hn-btn--line:hover { color: var(--c1); background: #fff; }
.hn .hn-btn--maroon { color: #fff; background: var(--grad); box-shadow: 0 16px 34px -14px rgb(66 100 85 / 0.7); }

/* shared */
.hn .hn-sec { padding-block: var(--pad); background: #fff; }
.hn .hn-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1.25rem 3rem; margin-bottom: clamp(2.25rem, 4vw, 3.5rem); }
.hn .hn-head__intro { max-width: 30rem; margin: 0; font-size: 1.02rem; line-height: 1.7; color: var(--muted); }
.hn .hn-links { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.75rem; }
.hn .hn-dots { display: flex; justify-content: center; gap: 0.45rem; margin-top: 1.75rem; }
.hn .hn-dots button { width: 0.6rem; height: 0.6rem; padding: 0; background: rgb(66 100 85 / 0.18); border: 0; border-radius: 999px; cursor: pointer; transition: width 0.35s var(--ease), background 0.3s ease; }
.hn .hn-dots button.is-active { width: 2.2rem; background: var(--grad); }
.hn .hn-hero__btn { display: grid; place-items: center; width: 2.9rem; height: 2.9rem; color: #fff; background: rgb(255 255 255 / 0.12); border: 1px solid rgb(255 255 255 / 0.25); border-radius: 50%; cursor: pointer; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); transition: background 0.3s ease, color 0.3s ease, transform 0.3s var(--ease); }
.hn .hn-hero__btn:hover { color: var(--c1-xdk); background: var(--g1); border-color: var(--g1); transform: scale(1.06); }
.hn .hn-hero__btn .icon { width: 1.05rem; height: 1.05rem; }


/* round icon button on light backgrounds (campus gallery) */
.hn .hn-round { display: grid; place-items: center; width: 3.1rem; height: 3.1rem; color: var(--c1); background: #fff; border: 1px solid var(--line); border-radius: 50%; cursor: pointer; transition: background 0.3s ease, color 0.3s ease, transform 0.3s var(--ease), border-color 0.3s ease; }
.hn .hn-round:hover { color: #fff; background: var(--c1); border-color: var(--c1); transform: scale(1.06); }
.hn .hn-round .icon { width: 1.1rem; height: 1.1rem; }

/* ==========================================================================
   1. Hero — light: cream field, dark headline, large rounded photo with thumbnails, latte motto band
   ========================================================================== */
/* on this page the header sits on a light hero: dark links on a white bar from the start */
.page-hn .site-header { color: var(--c-ink); }
.page-hn .site-header .masthead::before { opacity: 1; }
.page-hn .site-header .brand__name { color: var(--c-maroon-700); }
.page-hn .site-header .utility-bar { color: #fff; background: var(--c-maroon-950); }

.hn-hero { position: relative; overflow: hidden; isolation: isolate; padding: calc(var(--header-h, 5rem) + 3.25rem) 0 0; color: var(--ink); background: linear-gradient(180deg, var(--cream) 0%, #fff 100%); }
.hn-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0.6; background-image: radial-gradient(rgb(148 119 62 / 0.16) 1px, transparent 1.5px); background-size: 22px 22px; -webkit-mask-image: linear-gradient(90deg, #000 0%, transparent 55%); mask-image: linear-gradient(90deg, #000 0%, transparent 55%); }
.hn-hero::after { content: ""; position: absolute; right: -10rem; top: -6rem; z-index: -1; width: 38rem; height: 38rem; border-radius: 50%; background: radial-gradient(circle, rgb(227 205 161 / 0.45), transparent 65%); }
.hn-hero__inner { display: grid; grid-template-columns: minmax(0, 10fr) minmax(0, 11fr); gap: clamp(2.5rem, 5vw, 5rem); align-items: center; width: min(100% - 2.5rem, 1240px); margin: 0 auto; padding-bottom: clamp(3rem, 5vw, 4.5rem); }
.hn-hero__copy { display: grid; justify-items: start; }
.hn-hero__title { margin: 0 0 1.4rem; font-family: var(--sans); font-size: clamp(2.7rem, 1.4rem + 4vw, 5.2rem); font-weight: 800; line-height: 0.97; letter-spacing: -0.05em; color: var(--ink); }
.hn-hero__line { display: block; }
.hn-hero__line + .hn-hero__line { color: transparent; background: var(--grad); -webkit-background-clip: text; background-clip: text; }
.hn-hero__lede { max-width: 32rem; margin: 0 0 2rem; padding-left: 1.1rem; font-size: 1.06rem; line-height: 1.75; color: var(--text); border-left: 3px solid var(--g1); }
.hn-hero__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.hn .hn-btn--outline { color: var(--c1); background: #fff; border-color: var(--line); }
.hn .hn-btn--outline:hover { color: #fff; background: var(--c1); border-color: var(--c1); }
.hn-hero__stats { display: flex; flex-wrap: wrap; gap: 0.75rem; margin: 2.5rem 0 0; }
.hn-hero__stats > div { display: grid; gap: 0.2rem; padding: 0.85rem 1.15rem; background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); box-shadow: 0 14px 30px -24px rgb(37 79 60 / 0.45); }
.hn-hero__stats dd { margin: 0; font: 800 clamp(1.4rem, 1.1rem + 0.8vw, 1.9rem)/1 var(--sans); letter-spacing: -0.03em; color: transparent; background: var(--grad); -webkit-background-clip: text; background-clip: text; }
.hn-hero__stats dt { font-size: 0.72rem; font-weight: 700; color: var(--muted); }

.hn-hero__visual { position: relative; display: grid; gap: 1rem; }
.hn-hero__visual::before { content: ""; position: absolute; left: -1.5rem; bottom: 3.5rem; z-index: -1; width: 70%; height: 70%; background: var(--blush); border-radius: 40px; }
.hn-hero__media { position: relative; height: clamp(22rem, 34vw, 31rem); overflow: hidden; border-radius: var(--r-lg); background: var(--sand, #f3e7d8); box-shadow: var(--shadow-lg); }
.hn-hero__slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.3s ease; }
.hn-hero__slide.is-active { opacity: 1; }
.hn-hero__slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); transition: transform 8s linear; }
.hn-hero__slide.is-active img { transform: scale(1); }
.hn-hero__badge { position: absolute; right: 1rem; top: 1rem; z-index: 2; width: clamp(5.25rem, 7vw, 6.5rem); border-radius: 16px; box-shadow: 0 18px 36px -18px rgb(0 0 0 / 0.55); }
.hn-hero__badge img { display: block; width: 100%; height: auto; border-radius: 16px; }

.hn-hero__rail { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.hn-hero__thumbs { display: flex; gap: 0.55rem; }
.hn-hero__dot { position: relative; width: clamp(4rem, 6vw, 5.5rem); aspect-ratio: 4 / 3; padding: 0; overflow: hidden; background: var(--blush); border: 2px solid transparent; border-radius: 14px; cursor: pointer; opacity: 0.6; transition: opacity 0.3s ease, border-color 0.3s ease, transform 0.35s var(--ease); }
.hn-hero__dot img { width: 100%; height: 100%; object-fit: cover; }
.hn-hero__dot:hover { opacity: 0.9; }
.hn-hero__dot.is-active { opacity: 1; border-color: var(--g1); transform: translateY(-3px); }
.hn-hero__bar { position: absolute; left: 0.35rem; right: 0.35rem; bottom: 0.35rem; height: 3px; overflow: hidden; background: rgb(255 255 255 / 0.6); border-radius: 999px; }
.hn-hero__bar::after { content: ""; position: absolute; inset: 0; background: var(--g1); transform: scaleX(0); transform-origin: left; }
.hn-hero__dot.is-active .hn-hero__bar::after { animation: hn-progress 6.5s linear forwards; }
.hn-hero.is-paused .hn-hero__dot.is-active .hn-hero__bar::after { animation: none; transform: scaleX(1); }
@keyframes hn-progress { to { transform: scaleX(1); } }
.hn-hero__controls { display: flex; align-items: center; gap: 0.45rem; }
.hn-hero__count { margin-right: 0.35rem; font-weight: 700; font-size: 0.85rem; color: var(--muted); white-space: nowrap; }
.hn-hero__count b { color: var(--c1); }
.hn-hero__controls .hn-round { width: 2.6rem; height: 2.6rem; }
.hn-hero__play { display: none; }
.hn-hero.is-paused .hn-hero__pause { display: none; }
.hn-hero.is-paused .hn-hero__play { display: block; }

/* motto band: light latte, brown words */
.hn-hero__band { position: relative; overflow: hidden; padding: 0.9rem 0; background: var(--blush); border-block: 1px solid var(--line); }
.hn-hero__band-track { display: flex; align-items: center; gap: 1.5rem; width: max-content; animation: hn-marquee 45s linear infinite; }
.hn-hero__band span { font: 800 clamp(0.95rem, 0.85rem + 0.4vw, 1.2rem)/1 var(--sans); letter-spacing: 0.02em; text-transform: uppercase; white-space: nowrap; color: var(--c1); }
.hn-hero__band i { font-style: normal; font-size: 0.85rem; color: var(--g1); }
@keyframes hn-marquee { to { transform: translateX(-50%); } }

/* ==========================================================================
   2. Coming up — date cards
   ========================================================================== */
.hn-notice { padding: clamp(3.5rem, 6vw, 5rem) 0 0; background: #fff; }
.hn-notice__head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1.25rem; }
.hn .hn-notice__title { display: inline-flex; align-items: center; gap: 0.6rem; margin: 0; font: 800 clamp(1.4rem, 1.2rem + 0.8vw, 1.9rem) var(--sans) !important; letter-spacing: -0.03em !important; color: var(--ink); }
.hn .hn-notice__title::before { content: ""; width: 0.65rem; height: 0.65rem; border-radius: 50%; background: var(--g1); animation: hn-pulse 2s infinite; }
@keyframes hn-pulse { 0% { box-shadow: 0 0 0 0 rgb(193 158 89 / 0.6); } 70% { box-shadow: 0 0 0 10px rgb(193 158 89 / 0); } 100% { box-shadow: 0 0 0 0 rgb(193 158 89 / 0); } }
.hn-notice__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin: 0; padding: 0; list-style: none; }
.hn-notice__list li { position: relative; display: flex; align-items: center; gap: 1.1rem; padding: 1.1rem 1.3rem 1.1rem 1.1rem; overflow: hidden; background: var(--cream); border: 1px solid var(--line); border-radius: var(--r-md); transition: transform 0.4s var(--ease), box-shadow 0.4s ease, background 0.3s ease; }
.hn-notice__list li:hover { transform: translateY(-4px); background: #fff; box-shadow: var(--shadow); }
.hn-notice__list time { display: grid; place-content: center; justify-items: center; flex: none; width: 4.2rem; height: 4.2rem; line-height: 1; color: #fff; background: var(--grad); border-radius: 18px; box-shadow: 0 12px 24px -12px rgb(37 79 60 / 0.7); }
.hn-notice__list strong { font: 800 1.35rem/1 var(--sans); letter-spacing: -0.03em; }
.hn-notice__list time span { margin-top: 0.25rem; font-size: 0.6rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--g1-lt); }
.hn-notice__name { font-size: 0.98rem; font-weight: 800; line-height: 1.3; letter-spacing: -0.01em; color: var(--ink); }

/* ==========================================================================
   3. Welcome — split: text left, tall photo with a glass figures bar right
   ========================================================================== */
.hn-welcome__grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(2.5rem, 6vw, 6rem); align-items: center; }
.hn .hn-welcome .hn-title { margin-bottom: 1.4rem; font-size: clamp(2.2rem, 1.3rem + 2.6vw, 3.6rem); }
.hn-welcome__visual { position: relative; }
.hn-welcome__visual::before { content: ""; position: absolute; inset: -1.25rem -1.25rem 2.5rem 2.5rem; z-index: -1; background: var(--blush); border-radius: 40px; }
.hn-welcome__photo { position: relative; margin: 0; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--r-lg); box-shadow: var(--shadow-lg); }
.hn-welcome__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.hn-welcome__visual:hover .hn-welcome__photo img { transform: scale(1.04); }
.hn-figures { position: absolute; left: 1rem; right: 1rem; bottom: 1rem; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; padding: 0.4rem; background: rgb(20 47 35 / 0.55); border: 1px solid rgb(255 255 255 / 0.18); border-radius: var(--r-md); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.hn-figures > div { display: flex; flex-direction: column; gap: 0.25rem; padding: 0.85rem 0.8rem; border-left: 1px solid rgb(255 255 255 / 0.14); }
.hn-figures > div:first-child { border-left: 0; }
.hn-figures dd { order: -1; margin: 0; font: 800 clamp(1.3rem, 1rem + 0.9vw, 1.8rem)/1 var(--sans); letter-spacing: -0.03em; color: var(--g1-lt); }
.hn-figures dt { font-size: 0.68rem; font-weight: 600; line-height: 1.35; color: rgb(255 255 255 / 0.82); }

/* ==========================================================================
   4. Academics — espresso band, 2 × 2 bento of horizontal cards
   ========================================================================== */
.hn .hn-acad { position: relative; color: rgb(255 255 255 / 0.8); background: radial-gradient(50rem 26rem at 100% 0%, rgb(193 158 89 / 0.16), transparent 62%), radial-gradient(40rem 26rem at 0% 100%, rgb(76 123 102 / 0.45), transparent 60%), linear-gradient(160deg, #142f23 0%, #1c3e2e 60%, #254f3c 100%); border-radius: var(--r-lg); width: min(100% - 2.5rem, 1400px); margin: 0 auto; }
.hn-acad__head { display: grid; justify-items: center; max-width: 48rem; margin: 0 auto clamp(2.5rem, 5vw, 3.5rem); text-align: center; }
.hn-acad__head .hn-title { margin-bottom: 1.1rem; }
.hn-stages { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem; margin: 0; padding: 0; list-style: none; }
.hn-stage a { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); height: 100%; overflow: hidden; color: inherit; text-decoration: none; background: rgb(255 255 255 / 0.05); border: 1px solid rgb(255 255 255 / 0.1); border-radius: var(--r-md); transition: background 0.35s ease, border-color 0.35s ease, transform 0.4s var(--ease); }
.hn-stage a:hover { background: rgb(255 255 255 / 0.09); border-color: rgb(227 205 161 / 0.35); transform: translateY(-4px); }
.hn-stage__photo { margin: 0; min-height: 13rem; overflow: hidden; }
.hn-stage__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.hn-stage a:hover .hn-stage__photo img { transform: scale(1.08); }
.hn-stage__body { display: flex; flex-direction: column; align-items: flex-start; gap: 0.4rem; padding: 1.4rem 1.5rem; }
.hn-stage__no { display: grid; place-items: center; width: 2.3rem; height: 2.3rem; margin-bottom: 0.3rem; font: 800 0.8rem var(--sans); color: var(--c1-xdk); background: var(--grad-gold); border-radius: 50%; }
.hn-stage__label { font-size: 0.64rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--g1-lt); }
.hn-stage__title { font: 800 clamp(1.2rem, 1rem + 0.6vw, 1.5rem)/1.15 var(--sans); letter-spacing: -0.02em; color: #fff; }
.hn-stage__text { font-size: 0.88rem; line-height: 1.6; color: rgb(255 255 255 / 0.7); }
.hn-stage__go { display: inline-flex; align-items: center; gap: 0.4rem; margin-top: auto; padding-top: 0.6rem; font-size: 0.82rem; font-weight: 800; color: var(--g1-lt); }
.hn-stage__go .icon { width: 0.95rem; height: 0.95rem; transition: transform 0.35s var(--ease); }
.hn-stage a:hover .hn-stage__go .icon { transform: translateX(4px); }
.hn-acad__more { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.6rem; margin: 2.5rem 0 0; padding: 0; list-style: none; }

/* ==========================================================================
   5. From the Principal — light card: portrait left, letter right
   ========================================================================== */
.hn .hn-principal { background: var(--cream); }
.hn-principal__card { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow); }
.hn-principal__photo { position: relative; min-height: 30rem; margin: 0; overflow: hidden; background: var(--blush); }
.hn-principal__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.hn-principal__card:hover .hn-principal__photo img { transform: scale(1.03); }
.hn-principal__body { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: clamp(2rem, 5vw, 4rem); border-top: 4px solid var(--g1); }
.hn-principal__mark { display: block; height: 4rem; margin: 0.25rem 0 -0.5rem; font: 700 6.5rem/1 var(--serif); color: var(--g1); }
.hn-principal__quote { margin: 0 0 2rem; padding: 0; border: 0; }
.hn-principal__quote p { margin: 0; font: 700 clamp(1.25rem, 0.95rem + 1.1vw, 1.9rem)/1.45 var(--sans); letter-spacing: -0.025em; color: var(--ink); text-wrap: pretty; }
.hn-principal__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 1.5rem; width: 100%; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.hn-principal__sign { display: grid; gap: 0.2rem; margin: 0; }
.hn-principal__name { font: 800 1.15rem var(--sans); color: var(--c1); }
.hn-principal__role { font-size: 0.7rem; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; color: var(--g1-dk); }

/* ==========================================================================
   6. Student Life — wide photo banner with a glass panel inside
   ========================================================================== */
.hn .hn-life { padding-top: 0; }
.hn-life__banner { position: relative; display: flex; align-items: flex-end; min-height: clamp(30rem, 44vw, 38rem); overflow: hidden; border-radius: var(--r-lg); box-shadow: var(--shadow-lg); isolation: isolate; }
.hn-life__photo { position: absolute; inset: 0; z-index: -2; margin: 0; }
.hn-life__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.hn-life__banner:hover .hn-life__photo img { transform: scale(1.04); }
.hn-life__banner::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgb(20 47 35 / 0.85) 0%, rgb(20 47 35 / 0.45) 45%, transparent 75%); }
.hn-life__card { width: min(100%, 34rem); margin: clamp(1rem, 3vw, 2.25rem); padding: clamp(1.5rem, 3vw, 2.4rem); background: rgb(20 47 35 / 0.4); border: 1px solid rgb(255 255 255 / 0.18); border-radius: var(--r-lg); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
.hn .hn-life__card .hn-title { margin-bottom: 1rem; font-size: clamp(1.9rem, 1.3rem + 1.8vw, 2.9rem); }
.hn .hn-life__card .hn-lead { font-size: 0.98rem; }
.hn-ruled { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 1.5rem 0 0; padding: 0; list-style: none; }

/* ==========================================================================
   7. Recognition — centred heading, four-step timeline, a row of certificates
   ========================================================================== */
.hn .hn-recog { background: linear-gradient(180deg, #fff 0%, var(--cream) 100%); }
.hn-recog__head { display: grid; justify-items: center; margin-bottom: clamp(2.5rem, 5vw, 3.5rem); text-align: center; }
.hn-ledger { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem; margin: 0 0 clamp(3rem, 6vw, 4.5rem); padding: 2.25rem 0 0; list-style: none; }
.hn-ledger::before { content: ""; position: absolute; left: 0; right: 0; top: 0.55rem; height: 2px; background: linear-gradient(90deg, transparent, var(--g1) 12%, var(--g1) 88%, transparent); }
.hn-ledger li { position: relative; display: flex; flex-direction: column; gap: 0.55rem; }
.hn-ledger li::before { content: ""; position: absolute; left: 0; top: -2.25rem; width: 1.2rem; height: 1.2rem; border-radius: 50%; background: #fff; border: 4px solid var(--g1); box-shadow: 0 0 0 6px rgb(193 158 89 / 0.18); }
.hn-ledger__source { align-self: flex-start; margin: 0; padding: 0.35rem 0.7rem; font-size: 0.6rem; font-weight: 800; letter-spacing: 0.12em; line-height: 1.3; text-transform: uppercase; color: var(--c1); background: var(--blush); border-radius: 999px; }
.hn .hn-ledger__title { margin: 0; font: 800 clamp(1.05rem, 0.95rem + 0.4vw, 1.3rem)/1.25 var(--sans) !important; letter-spacing: -0.02em !important; color: var(--ink); }
.hn-ledger__text { margin: 0; font-size: 0.86rem; line-height: 1.6; color: var(--muted); }
.hn-certs { display: flex; justify-content: center; align-items: flex-end; gap: clamp(0.5rem, 2vw, 1.5rem); height: auto; }
.hn-certs__sheet { position: relative; width: min(30%, 17rem); margin: 0; overflow: hidden; background: #fff; border-radius: var(--r-sm); box-shadow: var(--shadow-lg); transition: transform 0.6s var(--ease); }
.hn-certs__sheet img { display: block; width: 100%; height: auto; }
.hn-certs__sheet--1 { transform: rotate(-6deg) translateY(1rem); }
.hn-certs__sheet--2 { z-index: 2; transform: translateY(-0.5rem) scale(1.06); }
.hn-certs__sheet--3 { transform: rotate(6deg) translateY(1rem); }
.hn-certs__sheet:hover { transform: rotate(0deg) translateY(-0.75rem) scale(1.08); z-index: 3; }
.hn-recog__foot { display: flex; justify-content: center; margin-top: clamp(2.5rem, 5vw, 3.5rem); }

/* ==========================================================================
   8. News & Events — a feature card and smaller story cards
   ========================================================================== */
.hn-stories { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); grid-template-rows: repeat(2, minmax(0, 1fr)); gap: 1.1rem; margin: 0; padding: 0; list-style: none; }
.hn-story a { position: relative; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); height: 100%; overflow: hidden; color: inherit; text-decoration: none; background: var(--cream); border: 1px solid var(--line); border-radius: var(--r-md); transition: transform 0.4s var(--ease), box-shadow 0.4s ease; }
.hn-story a:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.hn-story__photo { margin: 0; min-height: 12rem; overflow: hidden; }
.hn-story__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.hn-story a:hover .hn-story__photo img { transform: scale(1.06); }
.hn-story__body { display: flex; flex-direction: column; align-items: flex-start; gap: 0.45rem; padding: 1.3rem 1.4rem; }
.hn-story__meta { font-size: 0.64rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--g1-dk); }
.hn-story__title { font: 800 clamp(1.1rem, 0.95rem + 0.5vw, 1.35rem)/1.2 var(--sans); letter-spacing: -0.02em; color: var(--ink); }
.hn-story__text { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; font-size: 0.88rem; line-height: 1.6; color: var(--text); }
.hn-story__link { display: inline-flex; align-items: center; gap: 0.4rem; margin-top: auto; padding-top: 0.4rem; font-size: 0.82rem; font-weight: 800; color: var(--c1); }
.hn-story__link .icon { width: 0.95rem; height: 0.95rem; transition: transform 0.35s var(--ease); }
.hn-story a:hover .hn-story__link .icon { transform: translateX(4px); }
/* the lead story: photo fills the card, text over a dark fade */
.hn-story--lead { grid-row: span 2; }
.hn-story--lead a { display: flex; align-items: flex-end; min-height: 30rem; color: #fff; background: var(--c1-xdk); border: 0; isolation: isolate; }
.hn-story--lead .hn-story__photo { position: absolute; inset: 0; z-index: -2; min-height: 0; }
.hn-story--lead a::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgb(20 47 35 / 0.92) 0%, rgb(20 47 35 / 0.45) 45%, transparent 75%); }
.hn-story--lead .hn-story__body { padding: clamp(1.5rem, 3vw, 2.25rem); }
.hn-story--lead .hn-story__meta { color: var(--g1-lt); }
.hn-story--lead .hn-story__title { font-size: clamp(1.5rem, 1.1rem + 1.3vw, 2.3rem); color: #fff; }
.hn-story--lead .hn-story__text { color: rgb(255 255 255 / 0.8); }
.hn-story--lead .hn-story__link { color: var(--g1-lt); }

/* ==========================================================================
   9. Give a 'Hear-Hear' — full-width espresso band, tilted poster row
   ========================================================================== */
.hn .hn-posters { color: #fff; overflow: hidden; background: radial-gradient(50rem 28rem at 50% 0%, rgb(193 158 89 / 0.22), transparent 60%), linear-gradient(180deg, #142f23 0%, #1c3e2e 100%); }
.hn-posters__head { display: grid; justify-items: center; margin-bottom: clamp(2rem, 4vw, 3rem); text-align: center; }
.hn-posters__session { margin: 1rem 0 0; padding: 0.45rem 1rem; font-size: 0.8rem; font-weight: 700; color: var(--g1-lt); background: rgb(255 255 255 / 0.08); border-radius: 999px; }
.hn-posters__track { display: flex; gap: 1.25rem; padding: 1.5rem max(1.25rem, calc((100vw - 1240px) / 2)) 1.75rem; overflow-x: auto; list-style: none; margin: 0; scroll-snap-type: x mandatory; scroll-padding-inline: max(1.25rem, calc((100vw - 1240px) / 2)); scrollbar-width: none; }
.hn-posters__track::-webkit-scrollbar { display: none; }
.hn-posters__item { flex: 0 0 clamp(14rem, 22vw, 18rem); scroll-snap-align: start; }
.hn-posters__item:nth-child(odd) img { transform: rotate(-2deg); }
.hn-posters__item:nth-child(even) img { transform: rotate(2deg) translateY(0.75rem); }
.hn-posters__item img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: var(--r-md); border: 5px solid #fff; box-shadow: 0 30px 50px -24px rgb(0 0 0 / 0.75); transition: transform 0.5s var(--ease); }
.hn-posters__item:hover img { transform: rotate(0deg) translateY(-6px) scale(1.04); }
.hn-posters__nav { display: flex; align-items: center; justify-content: center; gap: 1rem; margin-top: 1rem; }
.hn-posters__count { font-size: 0.85rem; font-weight: 700; color: rgb(255 255 255 / 0.7); }

/* ==========================================================================
   10. Campus & Facilities — horizontal gallery of tall photo cards
   ========================================================================== */
.hn-campus__nav { display: flex; gap: 0.6rem; }
.hn-tiles { display: flex; gap: 1.1rem; margin: 0 -0.5rem; padding: 0.5rem 0.5rem 1.5rem; overflow-x: auto; list-style: none; scroll-snap-type: x mandatory; scrollbar-width: none; }
.hn-tiles::-webkit-scrollbar { display: none; }
.hn-tile { flex: 0 0 calc((100% - 3.3rem) / 4); scroll-snap-align: start; }
.hn-tile a { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; color: #fff; text-decoration: none; border-radius: var(--r-lg); background: var(--c1-xdk); box-shadow: 0 24px 50px -32px rgb(37 79 60 / 0.6); isolation: isolate; transition: transform 0.45s var(--ease); }
.hn-tile a:hover { transform: translateY(-6px); }
.hn-tile img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease); }
.hn-tile a::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgb(20 47 35 / 0.85) 0%, rgb(20 47 35 / 0.2) 45%, transparent 70%); }
.hn-tile a:hover img { transform: scale(1.07); }
.hn-tile__no { position: absolute; top: 1rem; left: 1rem; display: grid; place-items: center; width: 2.4rem; height: 2.4rem; font: 800 0.8rem var(--sans); color: var(--c1-xdk); background: var(--grad-gold); border-radius: 50%; }
.hn-tile__label { position: absolute; left: 1.1rem; right: 1.1rem; bottom: 1.1rem; display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; font: 800 clamp(1.05rem, 0.95rem + 0.4vw, 1.3rem)/1.2 var(--sans); letter-spacing: -0.02em; }
.hn-tile__label .icon { flex: none; box-sizing: content-box; width: 0.95rem; height: 0.95rem; padding: 0.5rem; color: var(--c1-xdk); background: var(--g1); border-radius: 50%; transition: transform 0.35s var(--ease); }
.hn-tile a:hover .hn-tile__label .icon { transform: rotate(45deg); }

/* ==========================================================================
   11. Testimonials — cards in a slider on cream
   ========================================================================== */
.hn .hn-voices { background: var(--cream); margin-top: var(--pad); }
.hn-voices__track { display: flex; gap: 1.25rem; margin: 0 -0.75rem; padding: 1rem 0.75rem 1.75rem; overflow-x: auto; list-style: none; scroll-snap-type: x mandatory; scrollbar-width: none; }
.hn-voices__track::-webkit-scrollbar { display: none; }
.hn-voice { position: relative; flex: 0 0 calc((100% - 2.5rem) / 3); display: flex; flex-direction: column; gap: 1.4rem; padding: clamp(1.6rem, 2.6vw, 2.2rem); scroll-snap-align: start; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: 0 18px 40px -30px rgb(37 79 60 / 0.45); transition: transform 0.4s var(--ease), box-shadow 0.4s ease; }
.hn-voice:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.hn-voice__mark { display: grid; place-items: center; width: 3rem; height: 3rem; padding-top: 0.9rem; font: 700 3rem/1 var(--serif); color: #fff; background: var(--grad); border-radius: 50%; }
.hn-voice__quote { flex: 1; margin: 0; font: 600 clamp(1rem, 0.95rem + 0.25vw, 1.12rem)/1.65 var(--sans); color: var(--ink); }
.hn-voice__who { display: grid; gap: 0.15rem; margin: 0; padding-top: 1.1rem; border-top: 1px dashed #dcc7ad; }
.hn-voice__who b { font: 800 1rem var(--sans); color: var(--c1); }
.hn-voice__who span { font-size: 0.66rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--g1-dk); }

/* ==========================================================================
   12. Admissions — rounded gradient banner over a photograph
   ========================================================================== */
.hn-admit { position: relative; width: min(100% - 2.5rem, 1400px); margin: var(--pad) auto; padding-block: clamp(3.5rem, 2.5rem + 5vw, 6.5rem); color: #fff; overflow: hidden; isolation: isolate; border-radius: var(--r-lg); background: var(--c1-xdk); box-shadow: var(--shadow-lg); }
.hn-admit__bg { position: absolute; inset: 0; z-index: -2; }
.hn-admit__bg img { width: 100%; height: 100%; object-fit: cover; }
.hn-admit::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(105deg, rgb(20 47 35 / 0.95) 0%, rgb(66 100 85 / 0.86) 50%, rgb(148 119 62 / 0.6) 100%); }
.hn-admit__inner { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.hn .hn-admit__text .hn-title { margin-bottom: 1.25rem; font-size: clamp(2.2rem, 1.3rem + 2.8vw, 3.8rem); }
.hn-admit__side { padding: clamp(1.4rem, 2.6vw, 2rem); background: rgb(255 255 255 / 0.1); border: 1px solid rgb(255 255 255 / 0.22); border-radius: var(--r-lg); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.hn-admit__classes { display: grid; gap: 0.5rem; margin: 0 0 1.5rem; }
.hn-admit__classes > div { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 0.85rem 1.1rem; background: rgb(255 255 255 / 0.1); border-radius: var(--r-sm); }
.hn-admit__classes dt { font: 800 1.05rem var(--sans); color: #fff; }
.hn-admit__classes dd { margin: 0; font-size: 0.82rem; color: rgb(255 255 255 / 0.8); text-align: right; }
.hn-admit__classes strong { color: var(--g1-lt); }
.hn-admit__actions { display: grid; gap: 0.65rem; }
.hn-admit__file { display: inline-flex; align-items: center; gap: 0.5rem; margin-top: 1.1rem; font-size: 0.88rem; font-weight: 700; color: var(--g1-lt); text-decoration: none; }
.hn-admit__file .icon { width: 1rem; height: 1rem; }
.hn-admit__file:hover { text-decoration: underline; }


/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1100px) {
    .hn-tile { flex-basis: calc((100% - 2.2rem) / 3); }
    .hn-ledger { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 3.25rem; }
    .hn-ledger::before { display: none; }
}
@media (max-width: 960px) {
    .hn-notice__list { grid-template-columns: 1fr; }
    .hn-welcome__grid, .hn-stories, .hn-stages { grid-template-columns: 1fr; }
    .hn-welcome__visual { margin-top: 1rem; }
    .hn-stories { grid-template-rows: none; }
    .hn-story--lead { grid-row: auto; }
    .hn-story--lead a { min-height: 24rem; }
    .hn-life__banner { min-height: 0; }
    .hn-life__banner::before { background: linear-gradient(0deg, rgb(20 47 35 / 0.9) 0%, rgb(20 47 35 / 0.55) 60%, rgb(20 47 35 / 0.3) 100%); }
    .hn-life__card { margin-top: 14rem; }
    .hn-tile { flex-basis: calc((100% - 1.1rem) / 2); }
    .hn-admit__inner { grid-template-columns: 1fr; }
    .hn-voice { flex-basis: calc((100% - 1.25rem) / 2); }
}
@media (max-width: 640px) {
    .hn-figures { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 0.75rem; background: var(--c1-xdk); }
    .hn-figures > div:nth-child(3) { border-left: 0; }
    .hn-stage a, .hn-story a { grid-template-columns: 1fr; }
    .hn-stage__photo, .hn-story__photo { min-height: 0; aspect-ratio: 16 / 10; }
    .hn-ledger { grid-template-columns: 1fr; }
    .hn-certs__sheet { width: 32%; }
    .hn-tile { flex-basis: 78%; }
    .hn-voice { flex-basis: 100%; }
    .hn .hn-acad, .hn-admit { width: calc(100% - 1.5rem); }
}
@media (prefers-reduced-motion: reduce) {
    .hn-hero__slide img, .hn-stage__photo img, .hn-tile img, .hn-story__photo img, .hn-life__photo img { transform: none !important; transition: none !important; }
    .hn-hero__dot.is-active::after, .hn-hero__badge, .hn-hero__chip, .hn .hn-notice__title::before { animation: none; }
}

/* ==========================================================================
   Recognition certificates: a slider, each certificate shown whole at the same height
   ========================================================================== */
.hn-certs { display: block; height: auto; }
.hn-certs__track { display: flex; align-items: center; gap: 1.25rem; margin: 0 -0.75rem; padding: 1rem 0.75rem 1.75rem; overflow-x: auto; list-style: none; scroll-snap-type: x mandatory; scrollbar-width: none; }
.hn-certs__track::-webkit-scrollbar { display: none; }
.hn-certs__sheet { position: static; flex: 0 0 auto; width: auto; height: clamp(15rem, 22vw, 19rem); margin: 0; padding: 0.6rem; overflow: hidden; scroll-snap-align: start; background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); box-shadow: 0 20px 40px -28px rgb(37 79 60 / 0.55); transform: none !important; transition: transform 0.45s var(--ease), box-shadow 0.4s ease; }
.hn-certs__sheet:hover { transform: translateY(-6px) !important; box-shadow: var(--shadow); }
.hn-certs__sheet img { display: block; width: auto; height: 100%; max-width: none; object-fit: contain; border-radius: 10px; }
.hn-certs__nav { display: flex; align-items: center; justify-content: center; gap: 1rem; margin-top: 0.5rem; }
.hn-certs__nav .hn-dots { margin-top: 0; }
.hn-recog__foot { gap: 0.6rem; flex-wrap: wrap; }

/* ==========================================================================
   Hear-Hear posters: straight and shown whole (no tilt, no crop)
   ========================================================================== */
.hn-posters__item:nth-child(n) img { transform: none; }
.hn-posters__item img { width: 100%; height: auto; aspect-ratio: auto; object-fit: contain; border: 0; border-radius: var(--r-sm); background: #fff; }
.hn-posters__item:hover img { transform: translateY(-6px); }
.hn-posters__track { align-items: flex-start; }


/* ==========================================================================
   Responsive: light hero and principal card
   ========================================================================== */
@media (max-width: 960px) {
    .hn-hero { padding-top: calc(var(--header-h, 5rem) + 2.25rem); }
    .hn-hero__inner { grid-template-columns: 1fr; }
    .hn-hero__media { height: clamp(18rem, 60vw, 26rem); }
    .hn-principal__card { grid-template-columns: 1fr; }
    .hn-principal__photo { min-height: 22rem; }
}
@media (max-width: 640px) {
    .hn-hero__rail { flex-wrap: wrap; }
    .hn-hero__dot { width: 3.6rem; }
    .hn-hero__stats > div { padding: 0.7rem 0.9rem; }
    .hn-principal__foot .hn-btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
    .hn-hero__band-track { animation: none; }
    .hn-hero__dot.is-active .hn-hero__bar::after { animation: none; transform: scaleX(1); }
}

/* ==========================================================================
   Redesign 6: hero (photo with an overlapping white card), Coming up (timeline), Principal (speech bubble), all on white
   ========================================================================== */
.hn, .page-hn { background: #fff; }
.hn .hn-hero { display: block; min-height: 0; padding: calc(var(--header-h, 5rem) + 1.5rem) 0 0; color: var(--ink); background: #fff !important; border-radius: 0; overflow: visible; }
.hn .hn-hero::before, .hn .hn-hero::after { display: none; }
.hn-hero__frame { position: relative; width: min(100% - 2.5rem, 1400px); margin: 0 auto; padding-bottom: 6rem; }
.hn .hn-hero__media { position: relative; inset: auto; height: clamp(26rem, 46vw, 40rem); overflow: hidden; border-radius: var(--r-lg); background: var(--blush); box-shadow: none; transform: none; }
.hn .hn-hero__media::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(0deg, rgb(20 47 35 / 0.35) 0%, transparent 35%); }
.hn .hn-hero__slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.3s ease; }
.hn .hn-hero__slide.is-active { opacity: 1; }
.hn .hn-hero__slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 8s linear; filter: none; }
.hn .hn-hero__slide.is-active img { transform: scale(1); }
.hn .hn-hero__card { position: absolute; left: clamp(1.25rem, 4vw, 3.5rem); bottom: 0; z-index: 3; width: min(100% - 2.5rem, 40rem); padding: clamp(1.75rem, 3.5vw, 2.75rem); background: #fff; border-radius: var(--r-lg); box-shadow: 0 40px 80px -36px rgb(37 79 60 / 0.45); }
.hn .hn-hero__title { margin: 0 0 1.1rem; font: 800 clamp(2.3rem, 1.3rem + 3vw, 4.2rem)/0.98 var(--sans); letter-spacing: -0.045em; color: var(--ink); }
.hn .hn-hero__line { display: block; }
.hn .hn-hero__line + .hn-hero__line { color: transparent; background: var(--grad); -webkit-background-clip: text; background-clip: text; }
.hn .hn-hero__lede { max-width: none; margin: 0 0 1.5rem; padding: 0; border: 0; font-size: 1rem; line-height: 1.7; color: var(--text); }
.hn .hn-hero__actions { display: flex; flex-wrap: wrap; gap: 0.65rem; }
.hn .hn-btn--outline { color: var(--c1); background: #fff; border-color: var(--line); }
.hn .hn-btn--outline:hover { color: #fff; background: var(--c1); border-color: var(--c1); }
.hn .hn-hero__stats { display: flex; flex-wrap: wrap; gap: 1.5rem; margin: 1.6rem 0 0; padding: 1.25rem 0 0; background: none; border: 0; border-top: 1px solid var(--line); border-radius: 0; }
.hn .hn-hero__stats > div { display: grid; gap: 0.2rem; padding: 0; background: none; border: 0; box-shadow: none; }
.hn .hn-hero__stats dd { margin: 0; font: 800 1.6rem/1 var(--sans); letter-spacing: -0.03em; color: transparent; background: var(--grad); -webkit-background-clip: text; background-clip: text; }
.hn .hn-hero__stats dt { font-size: 0.72rem; font-weight: 700; color: var(--muted); }
.hn .hn-hero__controls { position: absolute; right: 1.25rem; bottom: 7.25rem; z-index: 2; display: flex; align-items: center; gap: 0.5rem; padding: 0.45rem 0.5rem 0.45rem 1rem; background: rgb(20 47 35 / 0.4); border: 1px solid rgb(255 255 255 / 0.25); border-radius: 999px; -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.hn .hn-hero__dots { display: flex; gap: 0.35rem; margin-right: 0.3rem; }
.hn .hn-hero__dot { position: relative; width: 1.8rem; height: 4px; padding: 0; overflow: hidden; background: rgb(255 255 255 / 0.35); border: 0; border-radius: 999px; cursor: pointer; opacity: 1; aspect-ratio: auto; transform: none; }
.hn .hn-hero__dot::after { content: ""; position: absolute; inset: 0; background: var(--g1); transform: scaleX(0); transform-origin: left; border-radius: inherit; box-shadow: none; }
.hn .hn-hero__dot.is-active::after { animation: hn-progress 6.5s linear forwards; }
.hn .hn-hero.is-paused .hn-hero__dot.is-active::after { animation: none; transform: scaleX(1); }
.hn .hn-hero__count { font-weight: 700; font-size: 0.82rem; color: rgb(255 255 255 / 0.75); }
.hn .hn-hero__count b { color: var(--g1-lt); }
.hn .hn-hero__btn { width: 2.35rem; height: 2.35rem; }
.hn .hn-hero__badge { position: absolute; right: 1.25rem; top: 1.25rem; bottom: auto; z-index: 2; width: clamp(5.5rem, 7vw, 7rem); border-radius: 16px; box-shadow: 0 18px 36px -18px rgb(0 0 0 / 0.55); animation: none; }
.hn .hn-hero__badge img { display: block; width: 100%; height: auto; border-radius: 16px; }

/* Coming up: timeline */
.hn .hn-notice { margin: 0; padding: clamp(3rem, 5vw, 4.5rem) 0 0; background: #fff; }
.hn .hn-notice__head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 2rem; }
.hn .hn-notice__list { position: relative; display: grid; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); gap: 1.5rem; margin: 0; padding: 0; list-style: none; }
.hn .hn-notice__list::before { content: ""; position: absolute; left: 0; right: 0; top: 2.25rem; height: 2px; background: linear-gradient(90deg, var(--g1) 0%, rgb(193 158 89 / 0.15) 100%); }
.hn .hn-notice__list li { position: relative; display: grid; justify-items: start; gap: 0.9rem; min-width: 0; padding: 0; background: none; border: 0; border-radius: 0; box-shadow: none; transform: none; }
.hn .hn-notice__list li:hover { transform: none; background: none; box-shadow: none; }
.hn .hn-notice__list time { position: relative; z-index: 1; display: grid; place-content: center; justify-items: center; width: 4.5rem; height: 4.5rem; color: var(--c1); background: #fff; border: 2px solid var(--g1); border-radius: 50%; box-shadow: 0 0 0 6px #fff; }
.hn .hn-notice__list strong { font: 800 1.4rem/1 var(--sans); letter-spacing: -0.03em; color: var(--c1); }
.hn .hn-notice__list time span { margin-top: 0.15rem; font-size: 0.58rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--g1-dk); }
.hn .hn-notice__name { font-size: 1.02rem; font-weight: 800; line-height: 1.3; color: var(--ink); }

/* Principal: speech bubble */
.hn .hn-principal { width: auto; margin: 0; color: var(--text); background: #fff !important; border-radius: 0; box-shadow: none; overflow: visible; }
.hn .hn-principal::before, .hn .hn-principal__glow { display: none; }
.hn .hn-principal__inner { display: grid; justify-items: start; max-width: 62rem; }
.hn .hn-principal__bubble { position: relative; width: 100%; margin: 0.5rem 0 2.5rem; padding: clamp(2rem, 4vw, 3rem) clamp(1.75rem, 4vw, 3.25rem); background: var(--cream); border: 1px solid var(--line); border-radius: var(--r-lg); }
.hn .hn-principal__bubble::after { content: ""; position: absolute; left: 3.25rem; bottom: -14px; width: 26px; height: 26px; background: var(--cream); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transform: rotate(45deg); }
.hn .hn-principal__mark { display: block; height: 3.75rem; margin: 0 0 -0.25rem; font: 700 6rem/1 var(--serif); color: var(--g1); background: none; }
.hn .hn-principal__quote { margin: 0; padding: 0; border: 0; }
.hn .hn-principal__quote p { margin: 0; font: 700 clamp(1.25rem, 0.95rem + 1.1vw, 1.95rem)/1.45 var(--sans); letter-spacing: -0.025em; color: var(--ink); background: none; }
.hn .hn-principal__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.25rem; width: 100%; padding: 0 0 0 1.5rem; border: 0; }
.hn .hn-principal__photo { flex: none; width: 5rem; aspect-ratio: 1; min-height: 0; margin: 0; overflow: hidden; border-radius: 50%; box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--g1); }
.hn .hn-principal__photo img { position: static; width: 100%; height: 100%; object-fit: cover; }
.hn .hn-principal__sign { display: grid; gap: 0.2rem; margin: 0 auto 0 0; }
.hn .hn-principal__name { font: 800 1.15rem var(--sans); color: var(--c1); }
.hn .hn-principal__role { font-size: 0.7rem; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; color: var(--g1-dk); }

@media (max-width: 960px) {
    .hn .hn-hero__frame { padding-bottom: 0; }
    .hn .hn-hero__media { height: clamp(18rem, 62vw, 28rem); }
    .hn .hn-hero__card { position: relative; left: auto; bottom: auto; width: auto; margin: -3rem 0.75rem 0; }
    .hn .hn-hero__controls { bottom: auto; top: calc(clamp(18rem, 62vw, 28rem) - 4rem); }
    .hn .hn-notice__list::before { display: none; }
    .hn .hn-notice__list li { grid-template-columns: auto 1fr; align-items: center; }
}
@media (max-width: 640px) {
    .hn .hn-hero__dots { display: none; }
    .hn .hn-principal__foot { padding-left: 0; }
    .hn .hn-principal__foot .hn-btn { width: 100%; }
}

/* ==========================================================================
   Redesign 7 (richer): hero = photo with a coffee-to-transparent overlay, white text and a gold figure strip;
   Coming up = coffee date cards; Principal = latte panel with a gold-framed portrait and a gold quote.
   ========================================================================== */
/* hero: the card sits inside the photo on a warm overlay */
.hn .hn-hero__frame { padding-bottom: 0; }
.hn .hn-hero__media { height: clamp(32rem, 52vw, 44rem); }
.hn .hn-hero__media::after { background: linear-gradient(90deg, rgb(20 47 35 / 0.92) 0%, rgb(37 79 60 / 0.75) 35%, rgb(37 79 60 / 0.15) 65%, transparent 80%), linear-gradient(0deg, rgb(20 47 35 / 0.55) 0%, transparent 35%); }
.hn .hn-hero__card { left: clamp(1.5rem, 5vw, 4.5rem); top: 50%; bottom: auto; transform: translateY(-55%); width: min(100% - 3rem, 38rem); padding: 0; color: #fff; background: none; border-radius: 0; box-shadow: none; }
.hn .hn-hero__card .hn-kicker { color: var(--g1-lt); background: rgb(255 255 255 / 0.1); border-color: rgb(255 255 255 / 0.22); }
.hn .hn-hero__title { color: #fff; font-size: clamp(2.6rem, 1.4rem + 3.6vw, 4.8rem); }
.hn .hn-hero__line + .hn-hero__line { background: var(--grad-gold); -webkit-background-clip: text; background-clip: text; }
.hn .hn-hero__lede { color: rgb(255 255 255 / 0.85); padding-left: 1rem; border-left: 3px solid var(--g1); }
.hn .hn-btn--outline { color: #fff; background: rgb(255 255 255 / 0.1); border-color: rgb(255 255 255 / 0.4); }
.hn .hn-btn--outline:hover { color: var(--c1); background: #fff; }
/* the figures become a gold strip across the foot of the photo */
.hn .hn-hero__stats { position: absolute; left: 0; bottom: calc(-1 * clamp(10rem, 18vw, 13rem)); display: flex; gap: 0; margin: 0; padding: 0; border: 0; }
.hn-hero__frame { --strip: 0; }
.hn .hn-hero__stats { display: none; }
.hn-hero__frame::after { content: ""; display: block; height: 0; }
.hn .hn-hero__controls { bottom: 1.25rem; top: auto; }

/* gold figure strip (built from the welcome figures, shown under the hero) */
.hn .hn-figstrip { position: relative; z-index: 3; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); width: min(100% - 5rem, 1240px); margin: -3.25rem auto 0; overflow: hidden; background: var(--grad-gold); border-radius: var(--r-md); box-shadow: 0 30px 60px -30px rgb(148 119 62 / 0.75); }
.hn .hn-figstrip > div { display: grid; gap: 0.25rem; padding: 1.3rem 1.5rem; border-left: 1px solid rgb(20 47 35 / 0.12); }
.hn .hn-figstrip > div:first-child { border-left: 0; }
.hn .hn-figstrip dd { order: -1; margin: 0; font: 800 clamp(1.6rem, 1.2rem + 1.1vw, 2.3rem)/1 var(--sans); letter-spacing: -0.03em; color: var(--c1-xdk); }
.hn .hn-figstrip dt { font-size: 0.76rem; font-weight: 700; color: rgb(20 47 35 / 0.75); }

/* Coming up: coffee date cards */
.hn .hn-notice__list::before { display: none; }
.hn .hn-notice__list { grid-template-columns: repeat(auto-fill, minmax(18rem, 1fr)); gap: 1rem; }
.hn .hn-notice__list li { grid-template-columns: auto 1fr; align-items: center; gap: 1.1rem; padding: 1.1rem 1.4rem 1.1rem 1.1rem; overflow: hidden; color: #fff; background: radial-gradient(16rem 8rem at 100% 0%, rgb(193 158 89 / 0.3), transparent 62%), var(--grad); border-radius: var(--r-md); box-shadow: 0 20px 40px -26px rgb(37 79 60 / 0.7); transition: transform 0.4s var(--ease); }
.hn .hn-notice__list li:hover { transform: translateY(-4px); background: radial-gradient(16rem 8rem at 100% 0%, rgb(193 158 89 / 0.3), transparent 62%), var(--grad); box-shadow: 0 26px 46px -26px rgb(37 79 60 / 0.8); }
.hn .hn-notice__list time { width: 4.25rem; height: 4.25rem; color: var(--c1-xdk); background: var(--grad-gold); border: 0; border-radius: 18px; box-shadow: none; }
.hn .hn-notice__list strong { color: var(--c1-xdk); }
.hn .hn-notice__list time span { color: var(--c1-dk); }
.hn .hn-notice__name { color: #fff; }

/* Principal: latte panel, gold-framed portrait, gold quote */
.hn .hn-principal__inner { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); grid-template-areas: "photo kicker" "photo bubble" "photo foot"; column-gap: clamp(2rem, 5vw, 4.5rem); align-items: start; max-width: 1240px; padding: clamp(2rem, 4vw, 3.5rem); background: radial-gradient(30rem 18rem at 100% 0%, rgb(227 205 161 / 0.55), transparent 62%), var(--blush); border-radius: var(--r-lg); }
.hn .hn-principal__inner > .hn-kicker { grid-area: kicker; }
.hn .hn-principal__bubble { grid-area: bubble; margin: 0 0 1.5rem; padding: 0; background: none; border: 0; }
.hn .hn-principal__bubble::after { display: none; }
.hn .hn-principal__mark { color: transparent; background: var(--grad-gold); -webkit-background-clip: text; background-clip: text; }
.hn .hn-principal__quote p { color: var(--c1-xdk); }
.hn .hn-principal__foot { grid-area: foot; padding: 1.25rem 0 0; border-top: 1px solid #e6d4bd; }
.hn .hn-principal__photo { grid-area: photo; align-self: stretch; width: auto; aspect-ratio: auto; min-height: 24rem; border-radius: 999px 999px var(--r-lg) var(--r-lg); box-shadow: 0 0 0 6px #fff, 0 0 0 8px var(--g1), var(--shadow-lg); }
.hn .hn-principal__photo img { position: absolute; inset: 0; }
.hn .hn-principal__photo { position: relative; }
.hn .hn-principal__foot .hn-principal__photo { display: none; }
@media (max-width: 960px) {
    .hn .hn-figstrip { grid-template-columns: repeat(2, minmax(0, 1fr)); width: calc(100% - 2.5rem); margin-top: 1rem; }
    .hn .hn-figstrip > div:nth-child(3) { border-left: 0; }
    .hn .hn-hero__card { top: auto; bottom: 1.5rem; transform: none; }
    .hn .hn-hero__media { height: clamp(34rem, 120vw, 40rem); }
    .hn .hn-hero__media::after { background: linear-gradient(0deg, rgb(20 47 35 / 0.94) 0%, rgb(37 79 60 / 0.7) 55%, rgb(20 47 35 / 0.3) 100%); }
    .hn .hn-hero__controls { top: 1rem; bottom: auto; left: 1rem; right: auto; }
    .hn .hn-principal__inner { grid-template-columns: 1fr; grid-template-areas: "photo" "kicker" "bubble" "foot"; }
    .hn .hn-principal__photo { min-height: 20rem; max-width: 22rem; width: 100%; justify-self: center; margin-bottom: 1.5rem; }
}
.hn .hn-principal__inner > .hn-principal__photo { justify-self: stretch; width: 100%; }

/* full-width banner and new slider controls: numbered tabs with progress lines, gold round arrows */
.hn .hn-hero { padding-top: var(--header-h, 5rem); }
.hn .hn-hero__frame { width: 100%; }
.hn .hn-hero__media { border-radius: 0; height: clamp(34rem, 52vw, 46rem); }
.hn .hn-hero__card { left: max(1.5rem, calc((100vw - 1240px) / 2)); }
.hn .hn-hero__badge { right: max(1.5rem, calc((100vw - 1240px) / 2)); top: 2rem; }
.hn .hn-hero__controls { right: max(1.5rem, calc((100vw - 1240px) / 2)); bottom: 4.5rem; top: auto; left: auto; gap: 1.25rem; padding: 0; background: none; border: 0; -webkit-backdrop-filter: none; backdrop-filter: none; counter-reset: slide; }
.hn .hn-hero__dots { display: flex; gap: 1rem; margin: 0; }
.hn .hn-hero__dot { counter-increment: slide; display: grid; gap: 0.4rem; width: 3.25rem; height: auto; padding: 0 0 0.1rem; overflow: visible; background: none; border-radius: 0; color: rgb(255 255 255 / 0.55); font: 800 0.95rem/1 var(--sans); text-align: left; transition: color 0.3s ease; }
.hn .hn-hero__dot::before { content: counter(slide, decimal-leading-zero); }
.hn .hn-hero__dot::after { position: static; display: block; height: 3px; background: linear-gradient(90deg, var(--g1) 0 var(--p, 0%), rgb(255 255 255 / 0.3) var(--p, 0%)); transform: none; border-radius: 999px; }
.hn .hn-hero__dot.is-active { color: #fff; }
.hn .hn-hero__dot.is-active::after { animation: hn-tab 6.5s linear forwards; }
.hn .hn-hero.is-paused .hn-hero__dot.is-active::after { animation: none; --p: 100%; }
@property --p { syntax: '<percentage>'; inherits: false; initial-value: 0%; }
@keyframes hn-tab { from { --p: 0%; } to { --p: 100%; } }
.hn .hn-hero__dot:hover { color: #fff; }
.hn .hn-hero__count { display: none; }
.hn .hn-hero__btn { width: 3rem; height: 3rem; color: var(--c1-xdk); background: var(--grad-gold); border: 0; box-shadow: 0 12px 24px -12px rgb(0 0 0 / 0.6); }
.hn .hn-hero__btn:hover { color: var(--c1-xdk); background: #fff; transform: scale(1.06); }
.hn .hn-hero__toggle { color: #fff; background: rgb(255 255 255 / 0.15); border: 1px solid rgb(255 255 255 / 0.35); }
.hn .hn-figstrip { width: min(100% - 3rem, 1240px); }
@media (max-width: 960px) {
    .hn .hn-hero__card { left: 1.25rem; }
    .hn .hn-hero__controls { top: 1rem; bottom: auto; left: 1.25rem; right: auto; gap: 0.6rem; }
    .hn .hn-hero__dots { display: none; }
    .hn .hn-hero__btn { width: 2.6rem; height: 2.6rem; }
}

/* no pause button; the British Council badge on a white tile so it reads on any photo */
.hn .hn-hero__toggle { display: none !important; }
.hn .hn-hero__badge { z-index: 4; width: clamp(6.5rem, 8vw, 8rem); padding: 0.5rem; background: #fff; border-radius: 20px; box-shadow: 0 20px 40px -16px rgb(0 0 0 / 0.55); }
.hn .hn-hero__badge img { border-radius: 14px; }
/* badge like the reference: larger, a thin white edge instead of the thick white tile */
.hn .hn-hero__badge { width: clamp(8rem, 11vw, 10.5rem); padding: 0; background: none; border: 2px solid rgb(255 255 255 / 0.9); border-radius: 18px; box-shadow: 0 24px 48px -18px rgb(0 0 0 / 0.65); }
.hn .hn-hero__badge img { border-radius: 16px; }
@media (max-width: 960px) { .hn .hn-hero__badge { width: 6.5rem; } }
.hn .hn-hero__badge { top: 3.25rem; }
@media (max-width: 960px) { .hn .hn-hero__badge { top: 1.25rem; right: 1.25rem; } }

/* ==========================================================================
   Round 8: Welcome with Coming up, plain Principal photo, poster marquee, facility cards
   ========================================================================== */
/* Welcome */
.hn .hn-welcome__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); align-items: center; }
.hn .hn-welcome__visual { position: relative; padding: 0 0 4rem 0; }
.hn .hn-welcome__visual::before { display: none; }
.hn .hn-welcome__photo { aspect-ratio: 5 / 4; border-radius: var(--r-lg); box-shadow: var(--shadow); }
.hn .hn-welcome .hn-figures { display: none; }
.hn-soon { position: absolute; left: -2.5rem; bottom: 0; z-index: 2; width: min(100%, 24rem); padding: 1.25rem; background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--g1); border-radius: var(--r-md); box-shadow: var(--shadow-lg); }
.hn-soon__head { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; margin-bottom: 0.9rem; }
.hn .hn-soon__title { display: inline-flex; align-items: center; gap: 0.5rem; margin: 0; font: 800 1.05rem var(--sans) !important; letter-spacing: -0.02em !important; color: var(--ink); }
.hn .hn-soon__title::before { content: ""; width: 0.55rem; height: 0.55rem; border-radius: 50%; background: var(--g1); animation: hn-pulse 2s infinite; }
.hn .hn-soon__all { padding: 0.45rem 0.8rem; font-size: 0.78rem; }
.hn-soon__list { display: grid; gap: 0.6rem; margin: 0; padding: 0; list-style: none; }
.hn-soon__list li { display: flex; align-items: center; gap: 0.85rem; padding: 0.5rem; background: var(--cream); border-radius: var(--r-sm); }
.hn-soon__list time { display: grid; place-content: center; justify-items: center; flex: none; width: 3.1rem; height: 3.1rem; line-height: 1; color: #fff; background: var(--grad); border-radius: 12px; }
.hn-soon__list strong { font: 800 1.05rem/1 var(--sans); }
.hn-soon__list time span { margin-top: 0.15rem; font-size: 0.52rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--g1-lt); }
.hn-soon__name { font-size: 0.9rem; font-weight: 700; color: var(--ink); }

/* Principal: plain rounded photo, lighter message */
.hn .hn-principal__inner > .hn-principal__photo { border-radius: var(--r-md); box-shadow: var(--shadow); min-height: 22rem; }
.hn .hn-principal__quote p { font-weight: 500; font-size: clamp(1.1rem, 0.95rem + 0.6vw, 1.45rem); line-height: 1.7; letter-spacing: -0.01em; }
.hn .hn-principal__mark { height: 3rem; font-size: 5rem; }

/* Hear-Hear: marquee */
.hn .hn-posters__wrap { display: none; }
.hn-marquee { overflow: hidden; padding: 0.75rem 0 1rem; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.hn-marquee__track { display: flex; width: max-content; animation: hn-marquee calc(var(--n, 40) * 3.2s) linear infinite; }
.hn-marquee:hover .hn-marquee__track { animation-play-state: paused; }
.hn-marquee__set { display: flex; gap: 1.1rem; margin: 0; padding: 0 1.1rem 0 0; list-style: none; }
.hn-marquee__set li { flex: none; width: clamp(13rem, 18vw, 16rem); }
.hn-marquee__set img { display: block; width: 100%; height: auto; border-radius: var(--r-sm); background: #fff; box-shadow: 0 20px 36px -20px rgb(0 0 0 / 0.6); transition: transform 0.4s var(--ease); }
.hn-marquee__set li:hover img { transform: translateY(-6px); }
@keyframes hn-marquee { to { transform: translateX(-50%); } }

/* Campus: facility cards */
.hn-fac { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.1rem; margin: 0; padding: 0; list-style: none; }
.hn-fac__item--wide { grid-column: span 2; }
.hn-fac__item a { display: flex; flex-direction: column; height: 100%; overflow: hidden; color: inherit; text-decoration: none; background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); box-shadow: 0 16px 36px -28px rgb(37 79 60 / 0.45); transition: transform 0.4s var(--ease), box-shadow 0.4s ease; }
.hn-fac__item a:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.hn-fac__photo { margin: 0; aspect-ratio: 4 / 3; overflow: hidden; }
.hn-fac__item--wide .hn-fac__photo { aspect-ratio: 8 / 3; }
.hn-fac__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease); }
.hn-fac__item a:hover .hn-fac__photo img { transform: scale(1.06); }
.hn-fac__foot { display: flex; align-items: center; gap: 0.8rem; padding: 1rem 1.1rem; margin-top: auto; }
.hn-fac__no { font-size: 0.78rem; font-weight: 800; color: var(--g1-dk); }
.hn-fac__name { flex: 1; font: 800 1.05rem/1.25 var(--sans); letter-spacing: -0.015em; color: var(--ink); }
.hn-fac__go { display: grid; place-items: center; width: 2.3rem; height: 2.3rem; color: var(--c1); background: var(--blush); border-radius: 50%; transition: background 0.3s ease, color 0.3s ease, transform 0.35s var(--ease); }
.hn-fac__go .icon { width: 0.95rem; height: 0.95rem; }
.hn-fac__item a:hover .hn-fac__go { color: #fff; background: var(--c1); transform: rotate(45deg); }

@media (max-width: 960px) {
    .hn .hn-welcome__grid { grid-template-columns: 1fr; }
    .hn-soon { position: relative; left: auto; bottom: auto; width: auto; margin: -3rem 1rem 0; }
    .hn .hn-welcome__visual { padding-bottom: 0; }
    .hn-fac { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
    .hn-fac { grid-template-columns: 1fr; }
    .hn-fac__item--wide { grid-column: auto; }
    .hn-fac__item--wide .hn-fac__photo { aspect-ratio: 4 / 3; }
}
@media (prefers-reduced-motion: reduce) { .hn-marquee__track { animation: none; } .hn-marquee { overflow-x: auto; } }
.hn-fac__item:nth-child(4), .hn-fac__item:nth-child(5) { grid-column: span 2; }
.hn-fac__item:nth-child(4) .hn-fac__photo, .hn-fac__item:nth-child(5) .hn-fac__photo { aspect-ratio: 8 / 3; }
@media (max-width: 960px) { .hn-fac__item:nth-child(n) { grid-column: auto; } .hn-fac__item--wide { grid-column: span 2; } .hn-fac__item:nth-child(n) .hn-fac__photo { aspect-ratio: 4 / 3; } }
@media (max-width: 640px) { .hn-fac__item--wide { grid-column: auto; } }

/* ==========================================================================
   Round 9
   ========================================================================== */
/* hero counters centred */
.hn .hn-figstrip > div { justify-items: center; text-align: center; }

/* Coming up: an espresso card with large gold dates */
.hn-soon { color: #fff; background: radial-gradient(18rem 10rem at 100% 0%, rgb(193 158 89 / 0.3), transparent 62%), linear-gradient(150deg, #142f23 0%, #254f3c 100%); border: 0; border-top: 0; box-shadow: 0 30px 60px -28px rgb(20 47 35 / 0.7); }
.hn .hn-soon__title { color: #fff; }
.hn .hn-soon .hn-soon__all { color: var(--g1-lt); background: rgb(255 255 255 / 0.08); border-color: rgb(255 255 255 / 0.2); }
.hn .hn-soon .hn-soon__all:hover { color: var(--c1-xdk); background: var(--g1); }
.hn-soon__list li { gap: 1rem; padding: 0.75rem 0; background: none; border-top: 1px solid rgb(255 255 255 / 0.12); border-radius: 0; }
.hn-soon__list time { width: auto; height: auto; display: flex; align-items: baseline; gap: 0.35rem; background: none; border-radius: 0; }
.hn-soon__list strong { font-size: 2rem; color: transparent; background: var(--grad-gold); -webkit-background-clip: text; background-clip: text; }
.hn-soon__list time span { font-size: 0.65rem; color: var(--g1-lt); }
.hn-soon__name { color: #fff; font-size: 0.95rem; }

/* Principal: no panel background, taller photo, italic message */
.hn .hn-principal__inner { background: none !important; padding: 0; }
.hn .hn-principal__inner > .hn-principal__photo { min-height: 30rem; }
.hn .hn-principal__quote p { font-style: italic; }

/* Hear-Hear: bigger posters */
.hn-marquee__set li { width: clamp(17rem, 24vw, 22rem); }

/* Campus: tagline + headline left, description right */
.hn-campus .hn-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1rem 4rem; align-items: end; }
.hn-campus .hn-head > div { grid-column: 1; }
.hn-campus .hn-head__intro { grid-column: 2; justify-self: end; max-width: 34rem; margin: 0; }

/* Admissions: serif headline, classes in two ruled columns, action row */
.hn .hn-admit__inner { display: block; max-width: 1240px; }
.hn .hn-admit__text { max-width: 44rem; }
.hn .hn-admit__title { font-family: var(--serif) !important; font-weight: 600 !important; letter-spacing: -0.02em !important; font-size: clamp(2.3rem, 1.4rem + 2.8vw, 3.9rem); line-height: 1.08; }
.hn .hn-admit__title .hl { font-family: var(--serif); font-style: italic !important; font-weight: 600 !important; background: none !important; color: var(--g1-lt) !important; -webkit-text-fill-color: var(--g1-lt); }
.hn .hn-admit__text .hn-lead { max-width: 36rem; margin-top: 1.25rem; }
.hn .hn-admit__classes { display: grid; grid-template-columns: repeat(2, minmax(0, 18rem)); gap: 2rem; margin: 2.5rem 0 0; }
.hn .hn-admit__classes > div { display: grid; gap: 0.45rem; padding: 1.25rem 0 0; background: none; border: 0; border-top: 1px solid rgb(255 255 255 / 0.3); border-radius: 0; }
.hn .hn-admit__classes dt { font: 600 1.5rem/1.1 var(--serif); color: #fff; }
.hn .hn-admit__classes dd { margin: 0; font-size: 0.86rem; text-align: left; color: rgb(255 255 255 / 0.75); }
.hn .hn-admit__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1rem; margin-top: 2.5rem; padding-top: 2rem; border-top: 1px solid rgb(255 255 255 / 0.15); }
.hn .hn-admit__file { display: inline-flex; align-items: center; gap: 0.7rem; margin: 0 0 0 auto; padding: 0.4rem 1rem 0.4rem 0.4rem; color: #fff; text-decoration: none; background: rgb(255 255 255 / 0.08); border: 1px solid rgb(255 255 255 / 0.2); border-radius: 999px; }
.hn .hn-admit__file:hover { background: rgb(255 255 255 / 0.16); text-decoration: none; }
.hn .hn-admit__fileicon { display: grid; place-items: center; width: 2.4rem; height: 2.4rem; color: var(--c1-xdk); background: var(--grad-gold); border-radius: 50%; }
.hn .hn-admit__fileicon .icon { width: 1rem; height: 1rem; }
.hn .hn-admit__file small { padding: 0.15rem 0.45rem; font-size: 0.65rem; font-weight: 800; color: var(--g1-lt); border: 1px solid rgb(227 205 161 / 0.4); border-radius: 6px; }
.hn .hn-admit__side { display: contents; }

@media (max-width: 960px) {
    .hn-campus .hn-head { grid-template-columns: 1fr; }
    .hn-campus .hn-head__intro { grid-column: 1; justify-self: start; }
}
@media (max-width: 640px) {
    .hn .hn-admit__classes { grid-template-columns: 1fr 1fr; gap: 1.25rem; }
    .hn .hn-admit__file { margin-left: 0; }
    .hn .hn-admit__actions .hn-btn { width: 100%; }
}

/* ==========================================================================
   Round 10
   ========================================================================== */
/* hero photos: no upscaling zoom (it softens them), a touch of contrast and colour, and a lighter overlay */
.hn .hn-hero__slide img, .hn .hn-hero__slide.is-active img { transform: none !important; transition: none; filter: contrast(1.06) saturate(1.1); image-rendering: -webkit-optimize-contrast; }
.hn .hn-hero__slide { transition: opacity 1.1s ease; }

/* Admissions: content left, the three actions stacked on the right */
.hn .hn-admit__inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(16rem, 22rem); grid-template-areas: "text actions" "classes actions"; column-gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.hn .hn-admit__text { grid-area: text; }
.hn .hn-admit__classes { grid-area: classes; }
.hn .hn-admit__actions { grid-area: actions; display: grid; gap: 0.85rem; margin: 0; padding: 1.75rem; border: 1px solid rgb(255 255 255 / 0.18); border-radius: var(--r-lg); background: rgb(20 47 35 / 0.35); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.hn .hn-admit__actions .hn-btn { width: 100%; justify-content: space-between; }
.hn .hn-admit__file { margin: 0; justify-content: flex-start; }
.hn .hn-admit__file small { margin-left: auto; }

/* Principal: refined. Photo with a soft gold offset frame and a name tag; text column vertically centred and measured */
.hn .hn-principal__inner { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: clamp(3rem, 7vw, 6.5rem); align-items: center; }
.hn .hn-principal__inner > .hn-principal__photo { position: relative; overflow: visible; min-height: 0; aspect-ratio: 4 / 5; border-radius: var(--r-lg); box-shadow: none; background: none; }
.hn .hn-principal__inner > .hn-principal__photo::before { content: ""; position: absolute; inset: 1.25rem -1.25rem -1.25rem 1.25rem; z-index: -1; border-radius: var(--r-lg); background: linear-gradient(150deg, #e3cda1 0%, #c19e59 100%); opacity: 0.55; }
.hn .hn-principal__inner > .hn-principal__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: var(--r-lg); box-shadow: var(--shadow-lg); }
.hn .hn-principal__inner > .hn-kicker { align-self: end; }
.hn .hn-principal__bubble { max-width: 38rem; margin-bottom: 1.75rem; }
.hn .hn-principal__mark { height: 2.75rem; font-size: 4.5rem; }
.hn .hn-principal__quote p { font-size: clamp(1.15rem, 0.95rem + 0.7vw, 1.55rem); line-height: 1.65; color: var(--ink); }
.hn .hn-principal__foot { align-self: start; max-width: 38rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.hn .hn-principal__name { font-size: 1.1rem; }

@media (max-width: 960px) {
    .hn .hn-admit__inner { grid-template-columns: 1fr; grid-template-areas: "text" "classes" "actions"; }
    .hn .hn-admit__actions { margin-top: 2rem; }
    .hn .hn-principal__inner > .hn-principal__photo { max-width: 22rem; width: 100%; justify-self: center; margin-bottom: 2.5rem; }
}
.hn .hn-principal__inner > .hn-principal__photo { isolation: isolate; }
.hn .hn-hero__slide img, .hn .hn-hero__slide.is-active img { filter: none !important; image-rendering: auto; }

/* Admissions: no gap between the text and the class columns (the tall actions panel was stretching the first row) */
.hn .hn-admit__inner { grid-template-rows: min-content 1fr; }
.hn .hn-admit__text, .hn .hn-admit__classes { align-self: start; }
.hn .hn-admit__text .hn-lead { margin-bottom: 0; }
.hn .hn-admit__classes { margin-top: 1.5rem; }
@media (max-width: 960px) { .hn .hn-admit__inner { grid-template-rows: none; } }
.hn .hn-admit__inner { row-gap: 0; }

/* Hero gold line: brighter gold, with no shadow showing through the gradient fill */
html body .hn .hn-hero__title :is(#r5, .hl, .hn-hero__line:last-child:not(:first-child)) { background: linear-gradient(100deg, #ffeeb8 0%, #e1c999 55%, #d9b671 100%) !important; -webkit-background-clip: text !important; background-clip: text !important; color: transparent !important; -webkit-text-fill-color: transparent !important; text-shadow: none !important; filter: none !important; opacity: 1 !important; }
html body .hn .hn-hero__title { text-shadow: none !important; }

/* Hero text, badge, controls and the figures strip follow the same 90% width as the rest of the page (no fixed 1240px) */
@media (min-width: 961px) {
    .hn .hn-hero .hn-hero__card { left: 5vw; }
    .hn .hn-hero .hn-hero__badge { right: 5vw; }
    .hn .hn-hero .hn-hero__controls { right: 5vw; }
    html body .hn .hn-figstrip { width: 90%; max-width: none; }
}

/* Hero slider: quick, even cross-fade. The new photograph fades in on top while the old one stays solid underneath, so no flash of background */
.hn .hn-hero__media { isolation: isolate; }
.hn .hn-hero__media::after { z-index: 2; }
html body .hn .hn-hero__slide { z-index: 0; opacity: 0; transition: opacity 0s linear 0.6s; will-change: opacity; }
html body .hn .hn-hero__slide.is-active { z-index: 1; opacity: 1; transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1); }
@media (prefers-reduced-motion: reduce) { html body .hn .hn-hero__slide, html body .hn .hn-hero__slide.is-active { transition: none; } }

/* Phones and small tablets: the principal section stacks (a later two-column rule had cancelled the stacking) */
@media (max-width: 820px) {
    html body .hn .hn-principal__inner { grid-template-columns: minmax(0, 1fr); grid-template-areas: "photo" "kicker" "bubble" "foot"; }
}

/* Hero slider: each photograph starts a little closer and slowly zooms out while it is shown.
   The outgoing one holds its size until the new one has covered it, then resets unseen */
html body .hn .hn-hero .hn-hero__slide img { transform: scale(1.14) !important; transition: transform 0s linear 0.6s !important; }
html body .hn .hn-hero .hn-hero__slide.is-active img { transform: scale(1) !important; transition: transform 4.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important; }
@media (prefers-reduced-motion: reduce) {
    html body .hn .hn-hero .hn-hero__slide img, html body .hn .hn-hero .hn-hero__slide.is-active img { transform: none !important; transition: none !important; }
}

/* From the Principal v2: one centred card, the photograph filling its left side, the message on a dark panel */
html body .hn .hn-principal .hn-principal__inner { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); grid-template-areas: "photo kicker" "photo bubble" "photo foot"; grid-template-rows: 1fr auto 1fr; column-gap: 0; align-items: stretch; width: 100%; max-width: 1240px; margin-inline: auto; padding: 0; overflow: hidden; background: radial-gradient(34rem 22rem at 100% 0%, rgb(193 158 89 / 0.22), transparent 65%), linear-gradient(155deg, #1c3e2e, #10251c) !important; border-radius: 2rem; box-shadow: 0 50px 90px -55px rgb(20 47 35 / 0.75); }
html body .hn .hn-principal .hn-principal__inner > .hn-principal__photo { grid-area: photo; position: relative; width: 100%; max-width: none; height: auto; min-height: 33rem; aspect-ratio: auto; align-self: stretch; margin: 0; overflow: hidden; border: 0; border-radius: 0; box-shadow: none; background: #1c3e2e; }
html body .hn .hn-principal .hn-principal__inner > .hn-principal__photo::before, html body .hn .hn-principal .hn-principal__inner > .hn-principal__photo::after { display: none; }
html body .hn .hn-principal .hn-principal__inner > .hn-principal__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; border-radius: 0; box-shadow: none; }
html body .hn .hn-principal .hn-principal__inner > .hn-kicker { grid-area: kicker; align-self: end; justify-self: start; margin: 0 0 1.5rem clamp(1.75rem, 5vw, 4.5rem); color: #e3cda1; background: rgb(255 255 255 / 0.08); border-color: rgb(255 255 255 / 0.18); }
html body .hn .hn-principal .hn-principal__bubble { grid-area: bubble; max-width: none; margin: 0; padding: 0 clamp(1.75rem, 5vw, 4.5rem) !important; background: none; border: 0; }
html body .hn .hn-principal .hn-principal__quote { color: #fff !important; font-size: clamp(1.2rem, 1.9vw, 1.65rem); line-height: 1.6; }
html body .hn .hn-principal .hn-principal__mark { color: #c19e59 !important; }
html body .hn .hn-principal .hn-principal__foot { grid-area: foot; align-self: start; justify-content: space-between; width: auto; max-width: none; margin: 2rem clamp(1.75rem, 5vw, 4.5rem) 2.5rem; padding: 1.5rem 0 0; border: 0; border-top: 1px solid rgb(227 205 161 / 0.3); }
html body .hn .hn-principal .hn-principal__name { color: #fff !important; }
html body .hn .hn-principal .hn-principal__role { color: #e3cda1 !important; }
html body .hn .hn-principal .hn-principal__foot .hn-btn { color: #142f23 !important; background: linear-gradient(120deg, #e3cda1, #c19e59) !important; border: 0; }
@media (max-width: 820px) {
    html body .hn .hn-principal .hn-principal__inner { grid-template-columns: minmax(0, 1fr); grid-template-areas: "photo" "kicker" "bubble" "foot"; grid-template-rows: auto; }
    html body .hn .hn-principal .hn-principal__inner > .hn-principal__photo { min-height: 0; aspect-ratio: 4 / 4.2; margin-bottom: 2rem; }
}
html body .hn .hn-principal .hn-principal__quote :is(p, span, em, strong) { color: #fff !important; -webkit-text-fill-color: #fff !important; }

/* Principal card: warm cream panel instead of dark brown, with dark text */
html body .hn .hn-principal .hn-principal__inner { background: radial-gradient(34rem 22rem at 100% 0%, rgb(227 205 161 / 0.45), transparent 65%), linear-gradient(155deg, #fffaf0, #faf0da) !important; box-shadow: 0 40px 80px -55px rgb(20 47 35 / 0.45); border: 1px solid #ecdcb8; }
html body .hn .hn-principal .hn-principal__inner > .hn-kicker { color: #377157; background: #fff; border-color: #ecdcb8; }
html body .hn .hn-principal .hn-principal__quote, html body .hn .hn-principal .hn-principal__quote :is(p, span, em, strong) { color: #142f23 !important; -webkit-text-fill-color: #142f23 !important; }
html body .hn .hn-principal .hn-principal__mark { color: #a18142 !important; }
html body .hn .hn-principal .hn-principal__foot { border-top-color: #d8c8a7; }
html body .hn .hn-principal .hn-principal__name { color: #142f23 !important; }
html body .hn .hn-principal .hn-principal__role { color: #785e2a !important; }
html body .hn .hn-principal .hn-principal__foot .hn-btn { color: #fff !important; background: linear-gradient(140deg, #254f3c, #142f23) !important; }

/* Phones and small tablets: photograph and text share one grid cell, so the banner grows to fit the text
   (a fixed photo height had let the text spill onto the white page, where it could not be read) */
@media (max-width: 820px) {
    html body .hn .hn-hero .hn-hero__frame { display: grid; grid-template-columns: minmax(0, 1fr); width: 100%; padding: 0; }
    html body .hn .hn-hero .hn-hero__frame > .hn-hero__media { grid-area: 1 / 1; height: auto; min-height: 36rem; align-self: stretch; border-radius: 0; }
    html body .hn .hn-hero .hn-hero__frame > .hn-hero__media::after { background: linear-gradient(0deg, rgb(20 47 35 / 0.95) 0%, rgb(20 47 35 / 0.82) 55%, rgb(20 47 35 / 0.25) 100%); }
    html body .hn .hn-hero .hn-hero__frame > .hn-hero__card { grid-area: 1 / 1; position: relative; z-index: 3; top: auto; left: auto; right: auto; bottom: auto; transform: none; align-self: end; width: auto; margin: 0; padding: 11rem 1.25rem 4.5rem; background: none; box-shadow: none; color: #fff; }
    html body .hn .hn-hero .hn-hero__title { font-size: clamp(2.1rem, 9.5vw, 3.2rem); }
    html body .hn .hn-hero .hn-hero__actions { display: flex; flex-wrap: wrap; gap: 0.7rem; }
}

/* Phones and small tablets: no slider controls (the slides still change by themselves and by swiping) */
@media (max-width: 820px) {
    html body .hn .hn-hero .hn-hero__controls { display: none !important; }
}
