/* Southlea Technopreneurship University: main stylesheet */
@font-face { font-family: "Archivo"; src: url("../fonts/archivo.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Public Sans"; src: url("../fonts/public-sans.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Public Sans"; src: url("../fonts/public-sans-italic.woff2") format("woff2"); font-weight: 100 900; font-style: italic; font-display: swap; }

:root {
	--bg: #FFFFFF;
	--surface: #F4F2F6;
	--ink: #17141B;
	--muted: #5B5563;
	--line: #DDD8E2;
	--line-strong: #BDB5C6;
	--gold: #C9A54E;
	--gold-hover: #B8923A;
	--gold-ink: #7A5E1C;
	--brand: #3A2348;
	--brand-soft: #A57DB8;
	--black: #000000;
	--dark-line: #2A2530;
	--on-dark: #D9D2E0;
	--font-head: "Archivo", "Helvetica Neue", Arial, sans-serif;
	--font-body: "Public Sans", "Helvetica Neue", Arial, sans-serif;
	--container: 1240px;
	--gutter: 24px;
	--section: clamp(64px, 8vw, 112px);
	--header-h: 84px;
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; }
:where(html) { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 110px; }
:where(body) { margin: 0; }
:where(h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote) { margin: 0; }
:where(ul, ol) { padding: 0; }
:where(img, svg, video) { display: block; max-width: 100%; height: auto; }
:where(button, input, select, textarea) { font: inherit; color: inherit; }
:where(button) { cursor: pointer; background: none; border: 0; padding: 0; }
:where(a) { color: inherit; }
[hidden] { display: none !important; }

body {
	background: var(--bg);
	color: var(--ink);
	font-family: var(--font-body);
	font-size: 17px;
	line-height: 1.6;
	text-rendering: optimizeLegibility;
	-webkit-font-smoothing: antialiased;
}
body.nav-lock { overflow: hidden; }

h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 700; line-height: 1.1; letter-spacing: -0.01em; color: inherit; }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -100px; z-index: 200; background: var(--gold); color: var(--ink); padding: 12px 18px; font-weight: 600; text-decoration: none; }
.skip-link:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.site-main:focus { outline: none; }

.icon { flex: none; transition: transform .2s ease; }

/* Buttons and links */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 50px; padding: 0 26px;
	font-family: var(--font-head); font-weight: 600; font-size: 16px; line-height: 1.2;
	text-decoration: none; white-space: nowrap;
	border: 1px solid transparent; border-radius: 0;
	transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.btn--gold { background: var(--gold); color: var(--ink); }
.btn--gold:hover { background: var(--gold-hover); }
.btn--line { border-color: var(--ink); color: var(--ink); }
.btn--line:hover { background: var(--ink); color: #fff; }
.btn--line-light { border-color: rgba(255,255,255,.85); color: #fff; }
.btn--line-light:hover { background: #fff; color: var(--ink); }
.btn--sm { min-height: 40px; padding: 0 18px; font-size: 15px; }
.btn--block { width: 100%; }
.btn:active { transform: translateY(1px); }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-head); font-weight: 600; font-size: 16px; text-decoration: none; color: var(--ink); padding: 4px 0; }
.link-arrow:hover { color: var(--gold-ink); }
.link-arrow:hover .icon { transform: translateX(4px); }
.text-btn { font-weight: 600; text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 3px; }

/* Header */
.site-header { position: sticky; top: -37px; z-index: 100; background: var(--black); color: #fff; }
.utility { border-bottom: 1px solid var(--dark-line); font-size: 13.5px; }
.utility__inner { display: flex; align-items: center; justify-content: space-between; height: 36px; }
.utility__nav { display: flex; gap: 28px; }
.utility a { color: #CFC8D6; text-decoration: none; }
.utility a:hover, .utility a[aria-current] { color: var(--gold); }

.masthead__inner { display: flex; align-items: center; gap: 32px; height: var(--header-h); }
.brand { flex: none; display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: #fff; }
.brand__mark { height: 54px; width: auto; }
.brand__text { display: grid; gap: 3px; line-height: 1; }
.brand__name { font-family: var(--font-head); font-weight: 800; font-size: 27px; letter-spacing: .06em; text-transform: uppercase; color: #fff; }
.brand__sub { font-family: var(--font-head); font-weight: 600; font-size: 10.5px; letter-spacing: .17em; text-transform: uppercase; color: var(--gold); white-space: nowrap; }
.brand:hover .brand__name { color: var(--gold); }
.brand--footer .brand__mark { height: 64px; }
.brand--footer .brand__name { font-size: 30px; }
.brand--footer .brand__sub { font-size: 11.5px; }
.footer__motto { margin-top: 14px; font-style: italic; color: #BDB4C6; }
.primary { margin-left: auto; }
.primary__list { list-style: none; display: flex; align-items: center; gap: 4px; }
.primary__link {
	position: relative; display: inline-flex; align-items: center; gap: 4px;
	height: var(--header-h); padding: 0 14px;
	font-family: var(--font-head); font-weight: 600; font-size: 15.5px; color: #fff; text-decoration: none;
}
.primary__link::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 22px; height: 2px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .2s ease; }
.primary__link:hover::after, .primary__link[aria-current]::after, .primary__link[data-current]::after, .primary__toggle[aria-expanded="true"]::after { transform: scaleX(1); }
.primary__toggle .icon { width: 16px; height: 16px; }
.primary__toggle[aria-expanded="true"] .icon { transform: rotate(180deg); }
.primary__extra { display: none; }

.mega {
	display: none; position: absolute; left: 0; right: 0; top: 100%;
	background: #fff; color: var(--ink); border-top: 3px solid var(--gold); border-bottom: 1px solid var(--line);
}
.mega.is-open { display: block; }
.mega__inner { display: grid; grid-template-columns: 1fr 1fr 0.8fr; gap: 48px; padding-top: 40px; padding-bottom: 48px; }
.mega__title { display: block; font-family: var(--font-head); font-weight: 700; font-size: 19px; color: var(--ink); text-decoration: none; padding-bottom: 14px; border-bottom: 1px solid var(--line); margin-bottom: 8px; }
a.mega__title:hover { color: var(--gold-ink); }
.mega ul { list-style: none; }
.mega li a { display: block; padding: 9px 0; color: var(--muted); text-decoration: none; font-size: 16px; line-height: 1.35; }
.mega li a:hover { color: var(--ink); text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 4px; }
.mega__col--aside { background: var(--surface); padding: 24px 28px; margin: -24px 0; }
.mega__col--aside .mega__title { border-color: var(--line-strong); }

.masthead__actions { display: flex; align-items: center; gap: 12px; }
.icon-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; color: #fff; }
.icon-btn:hover { color: var(--gold); }
.menu-toggle { display: none; }
.menu-toggle__close { display: none; }
.site-header.nav-open .menu-toggle__open { display: none; }
.site-header.nav-open .menu-toggle__close { display: block; }

.search-panel { border-top: 1px solid var(--dark-line); padding: 20px 0 24px; }
.search-form { display: flex; gap: 0; max-width: 760px; }
.search-form input { flex: 1; min-width: 0; height: 52px; padding: 0 18px; border: 1px solid var(--line-strong); border-right: 0; border-radius: 0; background: #fff; color: var(--ink); font-size: 17px; }
.search-form input:focus { outline: 3px solid var(--gold); outline-offset: 0; }
.search-form .btn { min-height: 52px; }
.search-form--page { margin-bottom: 40px; }

/* Home hero */
.hero { position: relative; isolation: isolate; display: flex; align-items: flex-end; min-height: clamp(540px, 82vh, 760px); color: #fff; background: #1d1722; }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(12,9,15,.82) 0%, rgba(12,9,15,.55) 45%, rgba(12,9,15,.12) 100%), linear-gradient(0deg, rgba(12,9,15,.55) 0%, rgba(12,9,15,0) 45%); }
.hero__inner { padding-top: 96px; padding-bottom: clamp(56px, 8vw, 96px); }
.hero__title { font-size: clamp(2.6rem, 5.6vw, 4.75rem); line-height: 1.02; letter-spacing: -0.02em; max-width: 15ch; }
.hero__lead { margin-top: 24px; max-width: 44ch; font-size: clamp(1.05rem, 1.6vw, 1.25rem); line-height: 1.55; color: #EFEAF3; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }

/* Quick links */
.quicklinks { border-bottom: 1px solid var(--line); }
.quicklinks__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.quicklink { position: relative; display: grid; gap: 4px; padding: 30px 56px 30px 0; text-decoration: none; color: var(--ink); }
.quicklink + .quicklink { padding-left: 28px; }
.quicklink__title { font-family: var(--font-head); font-weight: 700; font-size: 18px; }
.quicklink__text { color: var(--muted); font-size: 15px; line-height: 1.45; }
.quicklink .icon { position: absolute; right: 24px; top: 32px; color: var(--gold-ink); }
.quicklink:hover .quicklink__title { color: var(--gold-ink); }
.quicklink:hover .icon { transform: translateX(4px); }

/* Sections */
.section { padding-block: var(--section); }
.section--tint { background: var(--surface); }
.section__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 44px; }
.section__title { font-size: clamp(1.9rem, 3.4vw, 2.85rem); max-width: 22ch; }
.section__head .section__title { margin: 0; }
.section > .container > .section__title { margin-bottom: 44px; }

.statement__grid { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.statement__lead { font-family: var(--font-head); font-weight: 600; font-size: clamp(1.7rem, 3vw, 2.5rem); line-height: 1.18; letter-spacing: -0.015em; }
.statement__body p { color: var(--muted); margin-bottom: 18px; max-width: 60ch; }
.statement__body .link-arrow { margin-top: 8px; }

/* Faculties (home) */
.faculties__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 4vw, 56px); }
.faculty__media { display: block; overflow: hidden; aspect-ratio: 16 / 10; background: var(--line); }
.faculty__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.faculty:hover .faculty__media img { transform: scale(1.03); }
.faculty__name { font-size: clamp(1.4rem, 2.2vw, 1.75rem); margin-top: 28px; }
.faculty__name a { text-decoration: none; }
.faculty__name a:hover { color: var(--gold-ink); }
.faculty__desc { color: var(--muted); margin: 12px 0 24px; max-width: 58ch; }

.rule-list { list-style: none; }
.rule-list li { border-top: 1px solid var(--line); }
.rule-list li:last-child { border-bottom: 1px solid var(--line); }
.rule-list a { display: grid; grid-template-columns: 1fr auto; column-gap: 16px; align-items: center; padding: 16px 0; text-decoration: none; font-family: var(--font-head); font-weight: 600; font-size: 18px; line-height: 1.3; }
.rule-list a span { grid-column: 1; font-family: var(--font-body); font-weight: 500; font-size: 14px; color: var(--muted); }
.rule-list a .icon { grid-column: 2; grid-row: 1 / span 2; color: var(--gold-ink); }
.rule-list a:hover { color: var(--gold-ink); }
.rule-list a:hover .icon { transform: translateX(4px); }
.rule-list--plain li { padding: 14px 0; color: var(--ink); }
.rule-list--cols { display: grid; grid-template-columns: repeat(3, 1fr); column-gap: 40px; }
.rule-list--cols li:last-child { border-bottom: 0; }
.rule-list--cols li { border-bottom: 0; }

/* Brand band */
.band { display: grid; grid-template-columns: 1fr 1fr; background: var(--brand); color: #fff; }
.band__media { min-height: 560px; }
.band__media img { width: 100%; height: 100%; object-fit: cover; }
.band__text { padding: clamp(48px, 7vw, 104px) clamp(24px, 6vw, 96px); align-self: center; max-width: 680px; }
.band__title { font-size: clamp(1.9rem, 3.4vw, 2.85rem); margin-bottom: 24px; }
.band__text p { color: #E6DEEC; margin-bottom: 18px; }
.band__text .btn { margin-top: 16px; }

/* News (home) */
.news-home__grid { display: grid; grid-template-columns: 1.35fr 1fr; grid-template-rows: repeat(3, auto); gap: 32px 48px; align-items: start; }
.story { display: grid; grid-template-columns: 200px 1fr; gap: 24px; align-items: start; }
.story--lead { grid-row: 1 / span 3; grid-template-columns: 1fr; gap: 0; }
.story__media { display: block; overflow: hidden; aspect-ratio: 4 / 3; background: var(--line); }
.story--lead .story__media { aspect-ratio: 16 / 9; margin-bottom: 24px; }
.story__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.story:hover .story__media img { transform: scale(1.03); }
.story__meta { font-size: 14px; color: var(--muted); margin-bottom: 8px; }
.story__title { font-size: 1.2rem; line-height: 1.25; }
.story--lead .story__title { font-size: clamp(1.5rem, 2.4vw, 1.9rem); }
.story__title a { text-decoration: none; }
.story__title a:hover { text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.story__excerpt { color: var(--muted); margin-top: 12px; max-width: 60ch; }
.news-home__grid .story:not(.story--lead) + .story:not(.story--lead) { border-top: 1px solid var(--line); padding-top: 32px; }\n.story:not(.story--lead) { grid-template-columns: 168px 1fr; }

/* Facilities (home) */
.facilities__grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.facilities__media { aspect-ratio: 4 / 5; overflow: hidden; }
.facilities__media img { width: 100%; height: 100%; object-fit: cover; }
.facilities__intro { color: var(--muted); margin: 16px 0 32px; font-size: 1.1rem; max-width: 52ch; }
.facilities__text .link-arrow { margin-top: 32px; }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 40px; }
.facts > div { border-top: 1px solid var(--line-strong); padding-top: 16px; }
.facts dt { font-family: var(--font-head); font-weight: 700; font-size: 17.5px; line-height: 1.3; margin-bottom: 6px; }
.facts dd { color: var(--muted); font-size: 15.5px; line-height: 1.55; }
.facts--single { grid-template-columns: 1fr; margin-top: 32px; }
.facts dd a { color: var(--ink); }

/* CTA band */
.cta-band { position: relative; isolation: isolate; color: #fff; background: var(--brand); }
.cta-band__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(30,16,40,.9) 0%, rgba(30,16,40,.6) 55%, rgba(30,16,40,.25) 100%); }
.cta-band__inner { padding-block: clamp(80px, 10vw, 136px); }
.cta-band__title { font-size: clamp(2rem, 4vw, 3.2rem); max-width: 16ch; }
.cta-band p { margin-top: 18px; max-width: 46ch; font-size: 1.15rem; color: #EFEAF3; }

.cta-strip { background: var(--brand); color: #fff; padding-block: 56px; }
.cta-strip__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta-strip__text { font-family: var(--font-head); font-weight: 700; font-size: clamp(1.4rem, 2.4vw, 1.9rem); line-height: 1.2; }
.cta-strip .hero__actions { margin-top: 0; }

/* Inner page hero */
.page-hero { padding-top: clamp(40px, 5vw, 64px); }
.page-hero--plain { padding-bottom: clamp(40px, 5vw, 56px); border-bottom: 1px solid var(--line); }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; font-size: 14px; color: var(--muted); margin-bottom: 20px; }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--line-strong); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }
.page-hero__title { font-size: clamp(2.3rem, 4.6vw, 3.9rem); line-height: 1.04; letter-spacing: -0.02em; max-width: 22ch; }
.page-hero__intro { margin-top: 20px; font-size: clamp(1.1rem, 1.6vw, 1.3rem); line-height: 1.5; color: var(--muted); max-width: 60ch; }
.page-hero__media { max-width: calc(var(--container) + var(--gutter) * 2); margin: clamp(32px, 4vw, 48px) auto 0; padding-inline: var(--gutter); }
.page-hero__media img { width: 100%; height: clamp(240px, 36vw, 480px); object-fit: cover; }

/* Generic page body with optional table of contents */
.page-body { padding-block: clamp(48px, 6vw, 88px); }
.page-body.has-toc { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.toc { position: sticky; top: 112px; }
.toc__title { font-family: var(--font-head); font-weight: 700; font-size: 14px; letter-spacing: .06em; text-transform: uppercase; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.toc__list { list-style: none; }
.toc__list a { display: block; padding: 10px 0; border-bottom: 1px solid var(--line); color: var(--muted); text-decoration: none; font-size: 15px; line-height: 1.35; }
.toc__list a:hover { color: var(--ink); }
.toc__list a[aria-current] { color: var(--ink); font-weight: 600; }

/* Prose */
.prose { max-width: 800px; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: clamp(1.6rem, 2.6vw, 2.15rem); margin-top: 2.2em; }
.prose h3 { font-size: 1.3rem; margin-top: 1.8em; }
.prose > h2:first-child, .prose > h3:first-child { margin-top: 0; }
.prose h2 + *, .prose h3 + * { margin-top: .6em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .4em; }
.prose li::marker { color: var(--gold-ink); }
.prose a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.prose a:hover { color: var(--gold-ink); }
.prose .lead, .lead { font-size: clamp(1.15rem, 1.7vw, 1.35rem); line-height: 1.5; color: var(--ink); }
.prose figure img { width: 100%; height: auto; }
.prose figcaption { font-size: 14px; color: var(--muted); margin-top: 10px; }
.prose .cols-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 32px 40px; }
.prose .cols-2 > div { border-top: 1px solid var(--line-strong); padding-top: 16px; }
.prose .cols-2 h3 { margin-top: 0; font-size: 1.15rem; }
.prose .cols-2 p { color: var(--muted); font-size: 16px; margin-top: 6px; }
.prose .facts { margin-top: 1.5em; }
.prose .steps { list-style: none; padding: 0; counter-reset: step; }
.prose .steps li { counter-increment: step; display: grid; grid-template-columns: 56px 1fr; padding: 20px 0; border-top: 1px solid var(--line); margin: 0; }
.prose .steps li:last-child { border-bottom: 1px solid var(--line); }
.prose .steps li::before { content: counter(step); font-family: var(--font-head); font-weight: 700; font-size: 1.6rem; line-height: 1; color: var(--gold-ink); }
.prose .steps strong { display: block; font-family: var(--font-head); font-size: 1.1rem; margin-bottom: 4px; }
.prose .media-split { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: center; margin-top: 2em; }
.prose .media-split img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.prose .media-split h3 { margin-top: 0; }
.prose .media-split > div > * + * { margin-top: 1em; }
@media (max-width: 720px) { .prose .media-split { gap: 20px; } }
.prose .people { list-style: none; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; }
.prose .people li { border-top: 1px solid var(--line); padding: 16px 0; margin: 0; }
.prose .people strong { display: block; font-family: var(--font-head); }
.prose .people span { color: var(--muted); font-size: 15px; }
.prose .action-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 1.6em; }
.prose .action-row a.btn { text-decoration: none; }
.prose .action-row a.btn--gold { color: var(--ink); }
.note { font-size: 14.5px; color: var(--muted); margin-top: 16px; }

/* Programme finder and list */
.finder__controls { display: flex; flex-wrap: wrap; gap: 16px 24px; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.finder__search { position: relative; flex: 1 1 320px; max-width: 460px; }
.finder__search .icon { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.finder__search input { width: 100%; height: 50px; padding: 0 16px 0 46px; border: 1px solid var(--line-strong); border-radius: 0; background: #fff; }
.finder__search input:focus { outline: 3px solid var(--gold); outline-offset: 0; border-color: var(--ink); }
.finder__filters { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { min-height: 42px; padding: 0 16px; border: 1px solid var(--line-strong); font-size: 15px; font-weight: 500; background: #fff; }
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.finder__count { font-size: 14.5px; color: var(--muted); margin-bottom: 8px; }
.finder__empty { padding: 32px 0; border-top: 1px solid var(--line); }
.prog-list { list-style: none; }
.prog { border-top: 1px solid var(--line); }
.prog:last-child { border-bottom: 1px solid var(--line); }
.prog__link { display: grid; grid-template-columns: 200px 1fr auto; gap: 32px; align-items: center; padding: 24px 0; text-decoration: none; }
.prog__img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.prog__body { display: grid; gap: 6px; }
.prog__meta { font-size: 14px; color: var(--muted); }
.prog__title { font-family: var(--font-head); font-weight: 700; font-size: clamp(1.2rem, 1.9vw, 1.5rem); line-height: 1.2; }
.prog__excerpt { color: var(--muted); max-width: 70ch; font-size: 16px; }
.prog__link .icon { color: var(--gold-ink); width: 24px; height: 24px; }
.prog__link:hover .prog__title { color: var(--gold-ink); }
.prog__link:hover .icon { transform: translateX(6px); }

.faculty-rows { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.faculty-row img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; margin-bottom: 24px; }
.faculty-row h3 { font-size: 1.5rem; }
.faculty-row p { color: var(--muted); margin: 10px 0 18px; }

.split { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.split__intro { color: var(--muted); margin-top: 16px; max-width: 46ch; }

/* Programme page */
.programme { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(32px, 6vw, 88px); align-items: start; padding-block: clamp(48px, 6vw, 88px); }
.keyfacts { grid-column: 2; grid-row: 1; position: sticky; top: 112px; background: var(--surface); padding: 28px; display: grid; gap: 12px; }
.keyfacts dl { margin-bottom: 12px; }
.keyfacts dl > div { padding: 14px 0; border-top: 1px solid var(--line-strong); }
.keyfacts dl > div:first-child { border-top: 0; padding-top: 0; }
.keyfacts dt { font-size: 13.5px; color: var(--muted); }
.keyfacts dd { font-family: var(--font-head); font-weight: 600; font-size: 17px; line-height: 1.3; }
.keyfacts dd a { text-decoration: none; }
.keyfacts dd a:hover { color: var(--gold-ink); text-decoration: underline; }
.programme__main { grid-column: 1; grid-row: 1; }
.programme__section + .programme__section { margin-top: 56px; padding-top: 48px; border-top: 1px solid var(--line); }
.programme__section > h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); margin-bottom: 20px; }
.module-list { list-style: none; display: grid; grid-template-columns: 1fr 1fr; column-gap: 40px; }
.module-list li { padding: 12px 0; border-top: 1px solid var(--line); }
.tag-list { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; }
.tag-list li { padding: 8px 14px; border: 1px solid var(--line-strong); font-size: 15.5px; }

/* Listing, search and articles */
.listing { padding-block: clamp(40px, 5vw, 72px); }
.story-row { display: grid; grid-template-columns: 280px 1fr; gap: 32px; padding: 32px 0; border-top: 1px solid var(--line); }
.story-row:last-of-type { border-bottom: 1px solid var(--line); }
.story-row__media { display: block; aspect-ratio: 3 / 2; overflow: hidden; background: var(--line); }
.story-row__media img { width: 100%; height: 100%; object-fit: cover; }
.story-row__title { font-size: clamp(1.25rem, 2vw, 1.6rem); line-height: 1.2; }
.story-row__title a { text-decoration: none; }
.story-row__title a:hover { color: var(--gold-ink); }
.story-row__excerpt { color: var(--muted); margin-top: 10px; max-width: 68ch; }
.empty { padding: 24px 0; color: var(--muted); }
.pagination { margin-top: 40px; }
.pagination .nav-links { display: flex; gap: 8px; flex-wrap: wrap; }
.pagination .page-numbers { display: inline-grid; place-items: center; min-width: 44px; height: 44px; padding: 0 12px; border: 1px solid var(--line-strong); text-decoration: none; }
.pagination .page-numbers.current { background: var(--ink); color: #fff; border-color: var(--ink); }
.pagination h2 { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

.article__head { padding-top: clamp(40px, 5vw, 64px); max-width: calc(880px + var(--gutter) * 2); }
.article__title { font-size: clamp(2.1rem, 4.2vw, 3.4rem); line-height: 1.06; letter-spacing: -0.02em; }
.article__meta { margin-top: 18px; color: var(--muted); font-size: 15px; }
.article__figure { margin-top: 36px; }
.article__figure img { width: 100%; height: clamp(240px, 40vw, 520px); object-fit: cover; }
.article__body { margin: clamp(40px, 5vw, 64px) auto clamp(56px, 7vw, 96px); max-width: 760px; }

/* Contact */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); padding-block: clamp(48px, 6vw, 88px); align-items: start; }
.contact__form { background: var(--surface); padding: clamp(28px, 4vw, 48px); }
.form-title { font-size: 1.6rem; margin-bottom: 24px; }
.form { display: grid; gap: 22px; }
.field label { display: block; font-weight: 600; font-size: 15.5px; margin-bottom: 8px; }
.field input, .field select, .field textarea { width: 100%; border: 1px solid var(--line-strong); border-radius: 0; background: #fff; padding: 0 14px; font-size: 16px; }
.field input, .field select { height: 50px; }
.field textarea { padding: 12px 14px; resize: vertical; min-height: 150px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid var(--gold); outline-offset: 0; border-color: var(--ink); }
.field.is-invalid input, .field.is-invalid textarea { border-color: #B42318; }
.field__error { color: #B42318; font-size: 14.5px; margin-top: 6px; }
.form .btn { justify-self: start; }
.hp { position: absolute; left: -9999px; }
.notice { padding: 16px 18px; margin-bottom: 24px; border: 1px solid; font-size: 16px; }
.notice--ok { background: #EEF6EF; border-color: #B7D9BD; color: #1E4620; }
.notice--error { background: #FCEEEE; border-color: #EDBFBF; color: #8A1C1C; }

/* Footer */
.site-footer { background: var(--black); color: #BDB4C6; padding-top: clamp(56px, 7vw, 88px); font-size: 15.5px; }
.footer__top { display: grid; grid-template-columns: 1.1fr 2fr; gap: 48px; padding-bottom: 56px; }
.footer__brand address { font-style: normal; margin-top: 24px; line-height: 1.6; }
.footer__contact { list-style: none; margin-top: 16px; display: grid; gap: 8px; }
.footer__contact li { display: flex; gap: 10px; align-items: center; }
.footer__contact .icon { width: 18px; height: 18px; color: var(--gold); }
.footer__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.footer__title { font-size: 13.5px; letter-spacing: .08em; text-transform: uppercase; color: #fff; margin-bottom: 18px; }
.footer__cols ul { list-style: none; display: grid; gap: 12px; }
.site-footer a { color: var(--on-dark); text-decoration: none; }
.site-footer a:hover { color: var(--gold); }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; padding: 24px 0 32px; border-top: 1px solid var(--dark-line); font-size: 14px; }
.footer__social { list-style: none; display: flex; gap: 20px; }

/* Responsive */
.primary__link { white-space: nowrap; }
@media (min-width: 1280px) and (max-width: 1439px) {
	.brand__mark { height: 44px; }
	.brand { gap: 10px; }
	.brand__name { font-size: 22px; }
	.brand__sub { font-size: 8.5px; letter-spacing: .14em; }
	.masthead__actions { gap: 8px; }
	.primary__link { padding: 0 9px; font-size: 15px; }
	.primary__link::after { left: 9px; right: 9px; }
	.masthead__inner { gap: 16px; }
}
@media (max-width: 1023px) {
	:root { --header-h: 72px; }
	.brand__mark { height: 46px; }
	.menu-toggle { display: inline-grid; }
	.primary { display: none; position: fixed; left: 0; right: 0; top: var(--nav-top, 109px); bottom: 0; background: var(--black); overflow-y: auto; padding: 8px var(--gutter) 40px; margin: 0; }
	.site-header.nav-open .primary { display: block; }
	.primary__list { flex-direction: column; align-items: stretch; gap: 0; }
	.primary__list > li { border-bottom: 1px solid var(--dark-line); }
	.primary__link { width: 100%; height: auto; padding: 18px 0; font-size: 20px; justify-content: space-between; }
	.primary__link::after { display: none; }
	.primary__link[aria-current], .primary__link[data-current] { color: var(--gold); }
	.mega { position: static; border: 0; background: transparent; color: #fff; }
	.mega__inner { grid-template-columns: 1fr; gap: 24px; padding: 0 0 24px; }
	.mega__title { color: #fff; font-size: 16px; border-color: var(--dark-line); }
	.mega li a { color: #CFC8D6; padding: 8px 0; }
	.mega__col--aside { background: transparent; padding: 0; margin: 0; }
	.mega__col--aside .mega__title { border-color: var(--dark-line); }
	.primary__extra { display: grid; gap: 14px; padding-top: 28px; }
	.primary__extra a { color: #CFC8D6; text-decoration: none; }
	.quicklinks__grid { grid-template-columns: 1fr 1fr; }
	.quicklink:nth-child(3) { padding-left: 0; border-left: 0; }
	.quicklink:nth-child(n+3) { border-top: 1px solid var(--line); }
	.statement__grid, .facilities__grid, .split { grid-template-columns: 1fr; }
	.facilities__media { aspect-ratio: 16 / 9; }
	.band { grid-template-columns: 1fr; }
	.band__media { min-height: 0; aspect-ratio: 16 / 9; }
	.news-home__grid { grid-template-columns: 1fr; }
	.story--lead { grid-row: auto; }
	.news-home__grid .story:not(.story--lead) { border-top: 1px solid var(--line); padding-top: 32px; }
	.programme { grid-template-columns: 1fr; }
	.keyfacts { position: static; grid-column: 1; grid-row: 1; }
	.programme__main { grid-row: 2; }
	.page-body.has-toc { grid-template-columns: 1fr; }
	.toc { position: static; }
	.contact { grid-template-columns: 1fr; }
	.footer__top { grid-template-columns: 1fr; }
	.rule-list--cols { grid-template-columns: 1fr; }
	.rule-list--cols li:last-child { border-bottom: 1px solid var(--line); }
}
@media (max-width: 720px) {
	:root { --gutter: 16px; }
	body { font-size: 16.5px; }
	.site-header { top: 0; }
	.utility { display: none; }
	.brand__mark { height: 36px; }
	.brand { gap: 8px; }
	.brand__name { font-size: 18px; letter-spacing: .04em; }
	.brand__sub { font-size: 7px; letter-spacing: .06em; }
	.masthead__inner { gap: 8px; }
	.masthead__actions .btn--sm { padding: 0 14px; }
	.icon-btn { width: 40px; }
	.masthead__actions { gap: 4px; }
	.quicklinks__grid { grid-template-columns: 1fr; }
	.quicklink, .quicklink + .quicklink { padding: 22px 48px 22px 0; border-left: 0; }
	.quicklink + .quicklink { border-top: 1px solid var(--line); }
	.quicklink .icon { right: 0; top: 24px; }
	.section__head { flex-direction: column; align-items: flex-start; margin-bottom: 32px; }
	.faculties__grid, .faculty-rows { grid-template-columns: 1fr; }
	.facts, .prose .cols-2, .prose .media-split, .prose .people, .module-list { grid-template-columns: 1fr; }
	.story { grid-template-columns: 120px 1fr; gap: 16px; }
	.story--lead { grid-template-columns: 1fr; }
	.prog__link { grid-template-columns: 1fr auto; gap: 16px; }
	.prog__img { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
	.story-row { grid-template-columns: 1fr; gap: 16px; }
	.footer__cols { grid-template-columns: 1fr 1fr; }
	.hero__actions .btn { flex: 1 1 auto; }
	.cta-strip__inner .hero__actions { width: 100%; }
	.search-form .btn { padding: 0 18px; }
}
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
@media print {
	.site-header, .site-footer, .toc, .keyfacts .btn { display: none !important; }
}
/* =========================================================
   Expanded features (navigation, finder, events, forms)
   ========================================================= */

/* Utility bar actions */
.utility__actions { display: flex; align-items: center; gap: 24px; }
.utility__actions a { display: inline-flex; align-items: center; gap: 6px; }
.utility__actions .icon { width: 15px; height: 15px; }
.utility__actions a[data-open-enquire] { color: var(--gold); font-weight: 600; }

/* Mega menus (shared structure) */
.mega__inner { display: grid; grid-template-columns: 1fr; gap: 40px; padding-top: 22px; padding-bottom: 28px; }
.mega__inner.has-feature { grid-template-columns: minmax(0, 1fr) 280px; }
.mega__cols { display: grid; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); gap: 4px 40px; align-content: start; }
.mega__overview { grid-column: 1 / -1; display: inline-flex; align-items: center; gap: 8px; justify-self: start; margin-bottom: 10px; font-family: var(--font-head); font-weight: 700; font-size: 15px; color: var(--gold-ink); text-decoration: none; }
.mega__overview:hover { color: var(--ink); }
.mega__overview .icon { width: 18px; height: 18px; }
.mega__feature { display: grid; gap: 8px; align-content: start; text-decoration: none; color: var(--ink); background: var(--surface); padding: 0 0 24px; }
.mega__feature img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; margin-bottom: 8px; }
.mega__feature > span { padding: 0 24px; }
.mega__feature-title { font-family: var(--font-head); font-weight: 700; font-size: 18px; line-height: 1.25; }
.mega__feature-text { color: var(--muted); font-size: 15px; line-height: 1.5; }
.mega__feature .link-arrow { font-size: 15px; }
.mega__feature:hover .mega__feature-title { color: var(--gold-ink); }
/* Compact mega menu rhythm */
.mega .mega__title { font-size: 16px; line-height: 1.3; padding-bottom: 10px; margin-bottom: 4px; }
.mega li a { padding: 5px 0; font-size: 15px; line-height: 1.35; }
.mega__feature { padding-bottom: 18px; gap: 6px; }
.mega__feature img { aspect-ratio: 2 / 1; }
.mega__feature-title { font-size: 17px; }
.mega__feature-text { font-size: 14px; }

.primary__extra .btn { justify-content: center; }
.search-panel__hint { margin-top: 12px; font-size: 14px; color: #CFC8D6; }
.search-panel__hint a { color: var(--gold); }

.primary__link { padding: 0 11px; }
.primary__link::after { left: 11px; right: 11px; }
.primary__toggle .icon { width: 14px; height: 14px; }
.masthead__inner { gap: 24px; }
.brand__sub { letter-spacing: .13em; }
@media (min-width: 1280px) and (max-width: 1439px) {
	.utility__nav { gap: 20px; }
	.primary__link { padding: 0 8px; font-size: 14.5px; }
	.primary__link::after { left: 8px; right: 8px; }
	.masthead__inner { gap: 16px; }
	.brand__sub { letter-spacing: .1em; }
}
@media (max-width: 1279px) {
	:root { --header-h: 72px; }
	.utility__nav { display: none; }
	.utility__inner { justify-content: flex-end; }
	.brand__mark { height: 46px; }
	.menu-toggle { display: inline-grid; }
	.primary { display: none; position: fixed; left: 0; right: 0; top: var(--nav-top, 109px); bottom: 0; background: var(--black); overflow-y: auto; padding: 8px var(--gutter) 40px; margin: 0; }
	.site-header.nav-open .primary { display: block; }
	.primary__list { flex-direction: column; align-items: stretch; gap: 0; }
	.primary__list > li { border-bottom: 1px solid var(--dark-line); }
	.primary__link { width: 100%; height: auto; padding: 18px 0; font-size: 20px; justify-content: space-between; }
	.primary__link::after { display: none; }
	.primary__link[aria-current], .primary__link[data-current] { color: var(--gold); }
	.mega { position: static; border: 0; background: transparent; color: #fff; }
	.mega__inner, .mega__inner.has-feature { grid-template-columns: 1fr; gap: 16px; padding: 0 0 24px; }
	.mega__cols { grid-template-columns: 1fr; gap: 20px; }
	.mega__overview { color: var(--gold); margin-bottom: 0; }
	.mega__feature { display: none; }
	.mega__title { color: #fff; font-size: 16px; border-color: var(--dark-line); }
	.mega li a { color: #CFC8D6; padding: 8px 0; }
	.primary__extra { display: grid; gap: 14px; padding-top: 28px; }
	.primary__extra a { color: #CFC8D6; text-decoration: none; }
	.primary__extra .btn--gold { color: var(--ink); }
	.primary__extra .btn--line-light { color: #fff; }
}

/* Dialogs */
.dialog { width: min(640px, calc(100vw - 32px)); max-height: calc(100vh - 48px); padding: 0; border: 0; border-radius: 0; background: #fff; color: var(--ink); overflow: hidden; }
.dialog[open] { display: flex; flex-direction: column; }
.dialog--wide { width: min(1120px, calc(100vw - 32px)); }
.dialog::backdrop { background: rgba(12, 9, 15, .72); }
.dialog__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 28px; border-bottom: 1px solid var(--line); }
.dialog__title { font-size: 1.5rem; }
.dialog__body { padding: 24px 28px 28px; overflow-y: auto; }
.dialog__intro { color: var(--muted); margin-bottom: 20px; }
.dialog__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 28px; border-top: 1px solid var(--line); background: var(--surface); }
.icon-btn--dark { color: var(--ink); }
.icon-btn--dark:hover { color: var(--gold-ink); }
body.nav-lock { overflow: hidden; }

/* Course finder */
.cf__controls { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr) auto; gap: 12px 16px; align-items: end; margin-bottom: 16px; }
.cf__label { display: block; font-size: 13.5px; font-weight: 600; margin-bottom: 6px; }
.cf__input { position: relative; display: block; }
.cf__input .icon { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--muted); width: 18px; height: 18px; }
.cf__input input, .cf__filter select { width: 100%; height: 46px; border: 1px solid var(--line-strong); border-radius: 0; background: #fff; padding: 0 12px; font-size: 15px; }
.cf__input input { padding-left: 38px; }
.cf__input input:focus, .cf__filter select:focus { outline: 3px solid var(--gold); outline-offset: 0; border-color: var(--ink); }
.cf__clear { height: 46px; white-space: nowrap; }
.cf__count { font-size: 14px; color: var(--muted); margin-bottom: 8px; }
.cf__table { overflow-x: auto; border-top: 2px solid var(--ink); }
.cf__table table { width: 100%; border-collapse: collapse; font-size: 15px; }
.cf__table th { text-align: left; font-size: 13px; font-weight: 600; color: var(--muted); padding: 12px 14px 12px 0; border-bottom: 1px solid var(--line-strong); white-space: nowrap; }
.cf__table td { padding: 16px 14px 16px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.cf__table td a { font-family: var(--font-head); font-weight: 700; font-size: 16px; line-height: 1.3; text-decoration: none; color: var(--ink); }
.cf__table td a:hover { color: var(--gold-ink); text-decoration: underline; }
.cf__award { display: block; font-family: var(--font-body); font-weight: 500; font-size: 13px; color: var(--muted); }
.cf__empty { padding: 24px 0; }
.section--tint .cf__table td, .section--tint .cf__table th { border-color: var(--line-strong); }
.schedule__actions { text-align: right; }
.section--tight { padding-block: clamp(40px, 5vw, 64px); }
.prose--intro { margin-bottom: 28px; }

/* Home: finder bar and open day */
.finder-bar { background: var(--brand); color: #fff; }
.finder-bar__inner { display: flex; align-items: center; gap: 32px; padding-block: 22px; }
.finder-bar__title { font-size: 1.35rem; white-space: nowrap; }
.finder-bar__form { flex: 1; display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) auto; gap: 0; }
.finder-bar__form > *, .newsletter__form > * { min-width: 0; }
.finder-bar__form input, .finder-bar__form select { height: 50px; border: 0; border-right: 1px solid var(--line); border-radius: 0; padding: 0 16px; font-size: 16px; background: #fff; color: var(--ink); }
.finder-bar__form input:focus, .finder-bar__form select:focus { outline: 3px solid var(--gold); outline-offset: -3px; }
.openday { background: var(--surface); border-bottom: 1px solid var(--line); }
.openday__inner { display: flex; align-items: center; gap: 24px; padding-block: 20px; }
.openday__date { display: grid; place-items: center; width: 68px; height: 68px; background: var(--ink); color: #fff; font-family: var(--font-head); font-weight: 600; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; line-height: 1; }
.openday__date span { font-size: 26px; letter-spacing: 0; }
.openday__text { flex: 1; }
.openday__title { font-family: var(--font-head); font-weight: 700; font-size: 1.2rem; }
.openday__text p:last-child { color: var(--muted); font-size: 15px; }

/* Stats */
.stats { background: #000; color: #fff; }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 40px 28px 40px 0; display: grid; gap: 8px; align-content: start; }
.stat + .stat { padding-left: 28px; }
.stat__num { font-family: var(--font-head); font-weight: 700; font-size: clamp(2rem, 3.6vw, 3rem); line-height: 1; color: var(--gold); }
.stat__label { color: var(--on-dark); font-size: 15px; line-height: 1.45; max-width: 26ch; }

/* Audience strip */
.audience { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.audience__inner { display: flex; align-items: center; gap: 32px; padding-block: 22px; flex-wrap: wrap; }
.audience__title { font-size: 1.15rem; white-space: nowrap; }
.audience__list { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; }
.audience__list a { display: inline-block; padding: 9px 16px; border: 1px solid var(--line-strong); text-decoration: none; font-weight: 500; font-size: 15px; }
.audience__list a:hover { border-color: var(--ink); background: var(--ink); color: #fff; }

/* Events */
.event-list { border-top: 1px solid var(--line-strong); }
.event-row { display: grid; grid-template-columns: 72px minmax(0, 1fr) auto; gap: 24px; align-items: center; padding: 22px 0; border-bottom: 1px solid var(--line); }
.event-row__date { display: grid; place-items: center; width: 72px; height: 72px; border: 1px solid var(--ink); font-family: var(--font-head); font-weight: 600; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; line-height: 1; }
.event-row__day { font-size: 28px; letter-spacing: 0; }
.event-row__meta { font-size: 13.5px; color: var(--gold-ink); font-weight: 600; margin-bottom: 4px; }
.event-row__title { font-size: clamp(1.1rem, 1.7vw, 1.3rem); line-height: 1.25; }
.event-row__title a { text-decoration: none; }
.event-row__title a:hover { color: var(--gold-ink); text-decoration: underline; }
.event-row__when { color: var(--muted); font-size: 15px; margin-top: 4px; }
.section--tint .event-row { border-color: var(--line-strong); }
.events-nav { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.tabs { display: flex; border: 1px solid var(--ink); }
.tab { padding: 10px 22px; text-decoration: none; font-weight: 600; font-size: 15px; }
.tab[aria-selected="true"] { background: var(--ink); color: #fff; }
.events-nav .chip { display: inline-grid; place-items: center; text-decoration: none; color: var(--ink); }
.empty-state { padding: 48px 0; border-top: 1px solid var(--line); max-width: 640px; }
.empty-state h2 { font-size: 1.5rem; margin-bottom: 8px; }
.empty-state p { color: var(--muted); margin-bottom: 20px; }

/* Quotes */
.quotes__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 40px; }
.quote { margin: 0; padding-top: 20px; border-top: 3px solid var(--gold); }
.quote blockquote { margin: 0; padding: 0; border: 0; font-family: var(--font-head); font-weight: 500; font-size: 1.15rem; line-height: 1.45; }
.quote figcaption { margin-top: 16px; display: grid; font-size: 15px; }
.quote figcaption span { color: var(--muted); }

/* Tiles and paths */
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-strong); }
.tile { position: relative; display: grid; gap: 6px; align-content: start; padding: 26px 48px 26px 0; text-decoration: none; color: var(--ink); border-bottom: 1px solid var(--line); }
.tile + .tile { padding-left: 24px; }
.tile__title { font-family: var(--font-head); font-weight: 700; font-size: 18px; line-height: 1.25; }
.tile__text { color: var(--muted); font-size: 15px; line-height: 1.45; }
.tile .icon { position: absolute; right: 20px; top: 28px; color: var(--gold-ink); }
.tile:hover .tile__title { color: var(--gold-ink); }
.tile:hover .icon { transform: translateX(4px); }
.portals { background: #000; color: #fff; padding-block: clamp(48px, 6vw, 80px); }
.portals .section__title { margin-bottom: 32px; }
.tiles--dark { border-color: var(--dark-line); }
.tiles--dark .tile { color: #fff; border-color: var(--dark-line); }
.tiles--dark .tile__text { color: var(--on-dark); }
.tiles--dark .tile .icon { color: var(--gold); }
.tiles--dark .tile:hover .tile__title { color: var(--gold); }
.path { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; counter-reset: none; }
.path li { border-top: 1px solid var(--line-strong); padding-top: 20px; display: grid; gap: 8px; align-content: start; }
.path__num { font-family: var(--font-head); font-weight: 700; font-size: 2rem; line-height: 1; color: var(--gold-ink); }
.path h3 { font-size: 1.15rem; }
.path p { color: var(--muted); font-size: 15.5px; }
.path .link-arrow { font-size: 15px; }
.path--compact { grid-template-columns: repeat(3, 1fr); margin-bottom: 8px; }
.split--media { grid-template-columns: 6fr 6fr; align-items: center; }
.split__img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.split--media .section__title { margin-bottom: 24px; }
.keyfacts__link { font-size: 15px; font-weight: 600; text-align: center; color: var(--ink); text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 3px; }
.action-row--tight { margin-top: 16px; gap: 24px; display: flex; flex-wrap: wrap; }

/* Forms: shared extras */
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
.form__row > .field { margin-bottom: 0; }
.form .field + .field, .form .form__row + .field, .form .field + .form__row, .form .form__row + .form__row { margin-top: 0; }
.optional { font-weight: 400; color: var(--muted); }
.field__hint { font-size: 13.5px; color: var(--muted); margin-top: 6px; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; line-height: 1.5; cursor: pointer; }
.check input { width: 20px; height: 20px; margin-top: 2px; flex: none; accent-color: var(--ink); }
.form--panel { background: var(--surface); padding: clamp(20px, 3vw, 32px); }
input[type="file"] { padding: 10px 0 !important; height: auto !important; border: 0 !important; background: transparent !important; }

/* Apply wizard */
.apply { padding-block: clamp(40px, 5vw, 72px); }
.apply__layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(32px, 5vw, 72px); align-items: start; }
.apply__aside { position: sticky; top: 112px; background: var(--surface); padding: 24px; }
.apply__aside h2 { font-size: 1.15rem; margin-bottom: 12px; }
.apply__aside a { color: var(--ink); }
.apply__help { margin-top: 16px; font-size: 15px; }
.stepper { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); margin-bottom: 28px; border-bottom: 1px solid var(--line-strong); }
.stepper li { display: flex; align-items: center; gap: 10px; padding: 0 8px 14px 0; font-size: 14.5px; font-weight: 600; color: var(--muted); border-bottom: 3px solid transparent; margin-bottom: -1px; }
.stepper li span { display: inline-grid; place-items: center; width: 28px; height: 28px; border: 1px solid currentColor; font-family: var(--font-head); font-size: 13px; flex: none; }
.stepper li.is-current { color: var(--ink); border-color: var(--gold); }
.stepper li.is-current span { background: var(--ink); border-color: var(--ink); color: #fff; }
.stepper li.is-done { color: var(--ink); }
.stepper li.is-done span { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.wizard__step { border: 0; padding: 0; margin: 0; display: grid; gap: 22px; min-width: 0; }
.wizard__step legend { font-family: var(--font-head); font-weight: 700; font-size: 1.5rem; margin-bottom: 4px; padding: 0; }
.wizard__step legend:focus { outline: none; }
.wizard__nav { display: flex; gap: 12px; margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line); }
.wizard__nav [data-wizard-next], .wizard__nav [data-wizard-submit] { margin-left: auto; }
.uploads { display: grid; gap: 10px; padding: 20px; background: var(--surface); }
.uploads__title { font-weight: 600; }
.review { display: grid; gap: 0; border-top: 1px solid var(--line-strong); }
.review > div { display: grid; grid-template-columns: 220px 1fr; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.review dt { color: var(--muted); }
.review dd { white-space: pre-wrap; word-break: break-word; }
.apply__done { max-width: 720px; padding: 32px; background: var(--surface); border-top: 3px solid var(--gold); }
.apply__done h2 { font-size: 1.8rem; margin-bottom: 12px; }
.apply__done p + p { margin-top: 12px; color: var(--muted); }
.apply__done .action-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }

/* Data tables, FAQs and document lists in page content */
.prose .data-table { width: 100%; border-collapse: collapse; font-size: 15.5px; border-top: 2px solid var(--ink); }
.prose .data-table th { text-align: left; font-weight: 600; padding: 12px 12px 12px 0; border-bottom: 1px solid var(--line-strong); }
.prose .data-table td { padding: 12px 12px 12px 0; border-bottom: 1px solid var(--line); }
.prose details.faq { border-bottom: 1px solid var(--line); margin-top: 0; }
.prose h2 + details.faq { margin-top: .8em; border-top: 1px solid var(--line-strong); }
.prose details.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; padding: 16px 0; font-family: var(--font-head); font-weight: 600; font-size: 1.08rem; }
.prose details.faq summary::-webkit-details-marker { display: none; }
.prose details.faq summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--gold-ink); }
.prose details.faq[open] summary::after { content: "\2212"; }
.prose details.faq p { padding: 0 0 18px; color: var(--muted); max-width: 66ch; }
.prose .doc-list { list-style: none; padding: 0; border-top: 1px solid var(--line-strong); }
.prose .doc-list li { margin: 0; padding: 14px 0; border-bottom: 1px solid var(--line); font-weight: 600; }

/* Newsletter */
.newsletter { background: var(--brand); color: #fff; }
.newsletter__inner { display: grid; grid-template-columns: 1fr 1.4fr; gap: 32px; align-items: center; padding-block: 40px; }
.newsletter__title { font-size: clamp(1.5rem, 2.4vw, 2rem); }
.newsletter p { color: #E6DEEC; margin-top: 6px; }
.newsletter__form { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) auto; }
.newsletter__form input, .newsletter__form select { height: 50px; border: 0; border-right: 1px solid var(--line); border-radius: 0; padding: 0 14px; font-size: 15.5px; background: #fff; color: var(--ink); min-width: 0; }
.newsletter__form input:focus, .newsletter__form select:focus { outline: 3px solid var(--gold); outline-offset: -3px; }
.newsletter__error { grid-column: 1 / -1; color: #FFD9D9; margin-top: 8px; }
.newsletter .notice { margin: 0; }

/* Footer extras */
.footer__cols { grid-template-columns: repeat(4, 1fr); }
.footer__top { grid-template-columns: 1fr 2.4fr; }
.footer__cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.site-footer .footer__cta .btn--gold { color: var(--ink); }
.site-footer .footer__cta .btn--gold:hover { color: var(--ink); }
.footer__legal { display: flex; gap: 18px; margin-top: 6px; }

/* Floating elements */
.wa-button { position: fixed; right: 20px; bottom: 20px; z-index: 90; display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px; background: #1F7A4D; color: #fff; text-decoration: none; font-weight: 600; font-size: 15px; }
.wa-button:hover { background: #18633E; }
.cookie { position: fixed; left: 20px; bottom: 20px; z-index: 95; max-width: 460px; display: flex; gap: 16px; align-items: center; padding: 16px 18px; background: var(--ink); color: #fff; font-size: 14.5px; }
.cookie a { color: var(--gold); }
.cookie .btn { flex: none; }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 96; max-width: calc(100vw - 32px); padding: 14px 20px; background: #1E4620; color: #fff; font-weight: 500; transition: opacity .3s ease; }
.toast.is-hidden { opacity: 0; pointer-events: none; }

/* Responsive for new components */
@media (max-width: 1023px) {
	.cf__controls { grid-template-columns: 1fr 1fr; }
	.cf__search { grid-column: 1 / -1; }
	.finder-bar__inner { flex-direction: column; align-items: stretch; gap: 14px; }
	.stats__grid { grid-template-columns: 1fr 1fr; }
	.stat:nth-child(3) { padding-left: 0; }
	.tiles { grid-template-columns: 1fr 1fr; }
	.tile:nth-child(3) { padding-left: 0; }
	.path { grid-template-columns: 1fr 1fr; }
	.apply__layout { grid-template-columns: 1fr; }
	.apply__aside { position: static; }
	.newsletter__inner { grid-template-columns: 1fr; }
	.footer__top { grid-template-columns: 1fr; }
	.footer__cols { grid-template-columns: repeat(2, 1fr); }
	.split--media { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
	.utility { display: none; }
	.cf__controls { grid-template-columns: 1fr; }
	.cf__table thead { display: none; }
	.cf__table table, .cf__table tbody, .cf__table tr, .cf__table td { display: block; width: 100%; }
	.cf__table tr { padding: 14px 0; border-bottom: 1px solid var(--line); }
	.cf__table tr[hidden] { display: none; }
	.cf__table td { border: 0; padding: 3px 0; font-size: 14.5px; }
	.cf__table td:not(:first-child)::before { content: attr(data-th) ": "; color: var(--muted); }
	.cf__table td:first-child { margin-bottom: 4px; }
	.schedule__actions { text-align: left; padding-top: 10px !important; }
	.finder-bar__form { grid-template-columns: minmax(0, 1fr); gap: 8px; }
	.finder-bar__form input, .finder-bar__form select { border-right: 0; }
	.openday__inner { flex-wrap: wrap; }
	.openday__inner .btn { width: 100%; }
	.stats__grid { grid-template-columns: 1fr; }
	.stat, .stat + .stat { padding: 24px 0; border-top: 1px solid var(--dark-line); }
	.stat:first-child { border-top: 0; }
	.audience__inner { gap: 14px; }
	.event-row { grid-template-columns: 60px minmax(0, 1fr); gap: 16px; }
	.event-row__date { width: 60px; height: 60px; }
	.event-row__day { font-size: 22px; }
	.event-row__cta { grid-column: 2; justify-self: start; }
	.tiles { grid-template-columns: 1fr; }
	.tile, .tile + .tile { padding: 20px 44px 20px 0; }
	.tile .icon { right: 0; top: 22px; }
	.path, .path--compact { grid-template-columns: 1fr; gap: 20px; }
	.form__row { grid-template-columns: 1fr; gap: 22px; }
	.stepper li { font-size: 0; gap: 0; justify-content: center; }
	.stepper li span { font-size: 13px; }
	.review > div { grid-template-columns: 1fr; gap: 2px; }
	.wizard__nav { flex-wrap: wrap; }
	.newsletter__form { grid-template-columns: minmax(0, 1fr); gap: 8px; }
	.newsletter__form input, .newsletter__form select { border-right: 0; }
	.footer__cols { grid-template-columns: 1fr 1fr; }
	.dialog__head, .dialog__body, .dialog__foot { padding-left: 18px; padding-right: 18px; }
	.dialog { max-height: calc(100vh - 24px); width: calc(100vw - 16px); }
	.cookie { left: 8px; right: 8px; bottom: 8px; max-width: none; flex-direction: column; align-items: stretch; }
	.wa-button span { display: none; }
	.wa-button { padding: 14px; right: 14px; bottom: 14px; }
	.brand__sub { letter-spacing: .06em; }
	.masthead__inner { gap: 8px; }
	.events-nav { flex-direction: column; align-items: flex-start; }
}
.apply__aside .rule-list a { display: inline; padding: 0; font: inherit; color: var(--ink); text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 3px; }
.events-nav .chip[aria-pressed="true"] { color: #fff; }
.cta-strip { background: #000; }


/* Dropdown lists match the width of their field (customizable select, Chromium 135+; other browsers keep the native list) */
@supports (appearance: base-select) {
	select, select::picker(select) { appearance: base-select; }
	select { display: flex; align-items: center; justify-content: space-between; gap: 10px; cursor: pointer; }
	select::picker-icon { color: var(--muted); transition: none; }
	select:open::picker-icon { rotate: 180deg; }
	select::picker(select) { width: anchor-size(width); min-width: 0; margin-top: -1px; padding: 4px 0; border: 1px solid var(--ink); border-radius: 0; background: #fff; color: var(--ink); box-shadow: none; max-height: 320px; overflow-y: auto; }
	select option { display: flex; align-items: center; padding: 10px 16px; font-size: 15.5px; line-height: 1.35; white-space: normal; overflow-wrap: anywhere; cursor: pointer; }
	select option::checkmark { display: none; }
	select option:checked { background: var(--surface); font-weight: 600; }
	select option:hover, select option:focus-visible { background: var(--brand); color: #fff; outline: 0; }
	select selectedcontent { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
}

/* Leadership and governance */
.mv { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 56px); }
.mv__item { border-top: 3px solid var(--gold); padding-top: 20px; }
.mv__title { font-size: clamp(1.4rem, 2.2vw, 1.8rem); margin-bottom: 12px; }
.mv__item p { font-size: clamp(1.05rem, 1.5vw, 1.2rem); line-height: 1.55; color: var(--ink); }
.prose .mv { margin-top: 1em; }
.prose .mv__title { margin-top: 0; font-size: 1.25rem; }
.people-grid { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px 28px; }
.person__photo { aspect-ratio: 4 / 5; background: var(--surface); overflow: hidden; margin-bottom: 16px; display: flex; align-items: flex-end; justify-content: center; }
.section--tint .person__photo { background: #fff; }
.person__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.person__photo svg { width: 62%; fill: var(--line-strong); }
.person__role { font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--gold-ink); line-height: 1.4; }
.person__name { font-family: var(--font-head); font-weight: 700; font-size: 1.2rem; line-height: 1.25; margin-top: 6px; }
.person--tba .person__name { color: var(--muted); font-weight: 600; font-size: 1.05rem; }
@media (max-width: 1023px) { .people-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 720px) {
	.mv { grid-template-columns: 1fr; }
	.people-grid { grid-template-columns: repeat(2, 1fr); gap: 32px 16px; }
	.person__name { font-size: 1.05rem; }
}

/* Campus gallery */
.gallery { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.prose .gallery { margin-top: 1.4em; }
.prose .gallery li { margin: 0; }
.gallery figure { margin: 0; }
.gallery a { display: block; overflow: hidden; background: var(--surface); }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .4s ease; }
.gallery a:hover img { transform: scale(1.04); }
.gallery figcaption { font-size: 14px; color: var(--muted); margin-top: 8px; line-height: 1.4; }
.gallery--home { grid-template-columns: 2fr 1fr 1fr; grid-template-rows: auto auto; }
.gallery--home .gallery__item:first-child { grid-row: span 2; }
.gallery--home .gallery__item:first-child a, .gallery--home .gallery__item:first-child figure { height: 100%; display: flex; flex-direction: column; }
.gallery--home .gallery__item:first-child a { flex: 1; }
.gallery--home .gallery__item:first-child img { height: 100%; aspect-ratio: auto; min-height: 320px; }
.prose .gallery a { text-decoration: none; }
@media (max-width: 1023px) { .gallery { grid-template-columns: repeat(2, 1fr); } .gallery--home { grid-template-columns: 1fr 1fr; } .gallery--home .gallery__item:first-child { grid-column: span 2; grid-row: auto; } .gallery--home .gallery__item:first-child img { min-height: 0; aspect-ratio: 16 / 9; } }
@media (max-width: 720px) { .gallery { gap: 12px; } .gallery figcaption { font-size: 13px; } }
@media (prefers-reduced-motion: reduce) { .gallery img { transition: none; } }

/* Home hero: keep Takura House in view on narrow screens */
@media (max-width: 1023px) { .hero__img { object-position: 78% center; } }

/* Organogram */
.org { --org-line: var(--line-strong); --org-gap: 36px; }
.org__level { list-style: none; padding: 0; margin: 0; display: flex; justify-content: center; position: relative; }
.org__level + .org__level { padding-top: var(--org-gap); }
.org__level + .org__level::before { content: ""; position: absolute; top: 0; left: 50%; height: var(--org-gap); border-left: 2px solid var(--org-line); }
.org__item { position: relative; flex: 1 1 0; max-width: 260px; padding: var(--org-gap) 10px 0; display: flex; }
.org__level--1 .org__item { padding-top: 0; max-width: 320px; }
.org__level + .org__level .org__item::before, .org__level + .org__level .org__item::after { content: ""; position: absolute; top: 0; width: 50%; height: var(--org-gap); border-top: 2px solid var(--org-line); }
.org__level + .org__level .org__item::before { right: 50%; }
.org__level + .org__level .org__item::after { left: 50%; border-left: 2px solid var(--org-line); }
.org__level + .org__level .org__item:first-child::before, .org__level + .org__level .org__item:last-child::after { border-top: 0; }
.org__level + .org__level .org__item:first-child::after { border-top-left-radius: 6px; }
.org__level + .org__level .org__item:last-child::after { border-left: 0; }
.org__level + .org__level .org__item:last-child::before { border-right: 2px solid var(--org-line); border-top-right-radius: 6px; }
.org__level + .org__level .org__item:only-child::before { border: 0; }
.org__level + .org__level .org__item:only-child::after { border-top: 0; border-left: 2px solid var(--org-line); }
.org__node { width: 100%; background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--gold); padding: 20px 14px 18px; text-align: center; display: flex; flex-direction: column; align-items: center; }
.org__photo { width: 96px; height: 96px; border-radius: 50%; overflow: hidden; background: var(--surface); margin-bottom: 14px; display: flex; align-items: flex-end; justify-content: center; }
.org__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 15%; }
.org__photo svg { width: 80%; fill: var(--line-strong); }
.org__level--1 .org__node { border-top-color: var(--brand); padding: 26px 20px 22px; }
.org__level--1 .org__photo { width: 148px; height: 148px; }
.org__role { font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--gold-ink); line-height: 1.4; }
.org__name { font-family: var(--font-head); font-weight: 700; font-size: 1.05rem; line-height: 1.25; margin-top: 6px; }
.org__level--1 .org__name { font-size: 1.4rem; }
.org__node--tba .org__name { color: var(--muted); font-weight: 600; font-size: .98rem; }
.board-link { display: flex; align-items: center; justify-content: space-between; gap: 24px 40px; flex-wrap: wrap; }
.board-link__title { font-size: clamp(1.5rem, 2.4vw, 2rem); margin-bottom: 8px; }
.board-link p { color: var(--muted); max-width: 60ch; }
@media (max-width: 900px) {
	.org__level { flex-wrap: wrap; row-gap: 16px; }
	.org__level + .org__level .org__item::before, .org__level + .org__level .org__item::after { display: none; }
	.org__level + .org__level { padding-top: calc(var(--org-gap) + 4px); }
	.org__item { flex: 0 0 50%; max-width: 50%; padding: 0 6px; }
	.org__level--1 .org__item { flex-basis: 100%; max-width: 300px; }
	.org__photo { width: 76px; height: 76px; }
	.org__level--1 .org__photo { width: 120px; height: 120px; }
}

/* Organogram: photo size steps down with each level */
.org__level--1 .org__item { max-width: 380px; }
.org__level--2 .org__item { max-width: 300px; }
.org__level--1 .org__photo { width: 210px; height: 210px; }
.org__level--2 .org__photo { width: 150px; height: 150px; }
.org__level--3 .org__photo { width: 112px; height: 112px; }
.org__level--2 .org__name { font-size: 1.15rem; }
@media (max-width: 900px) {
	.org__level--1 .org__item { max-width: 320px; }
	.org__level--1 .org__photo { width: 160px; height: 160px; }
	.org__level--2 .org__photo { width: 110px; height: 110px; }
	.org__level--3 .org__photo { width: 88px; height: 88px; }
}
.org__photo { box-shadow: 0 0 0 1px var(--line); }
