/* ==========================================================================
   TEAU — main stylesheet (v2, "Commencement")
   Art direction: TEAU's ceremonial colours (forest gown green, gold trim) and its
   own documentary photography carry the page. Newsreader set large and light for
   an academic voice; Instrument Sans for everything you operate.
   Tokens → base → chrome → home → interior → components → plugins → motion
   ========================================================================== */

@font-face { font-family: "Newsreader"; src: url("../fonts/newsreader.woff2") format("woff2"); font-weight: 200 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Newsreader"; src: url("../fonts/newsreader-italic.woff2") format("woff2"); font-weight: 200 800; font-style: italic; font-display: swap; }
@font-face { font-family: "Instrument Sans"; src: url("../fonts/instrument-sans.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }

:root {
	--night: #06251c;
	--forest: #0b3a2c;
	--forest-2: #10473a;
	--forest-3: #1b5b48;
	--green: #0a7a4b;
	--green-dark: #075c38;
	--gold: #d6a833;
	--gold-2: #f2dc95;
	--gold-text: #8a6610;
	--ink: #101915;
	--slate: #4b5751;
	--mute: #5d6963;
	--stone: #f3f4f0;
	--stone-2: #e8ebe5;
	--line: #d9dfd9;
	--line-dark: rgba(255, 255, 255, 0.16);
	--white: #fff;
	--focus: #d6a833;

	--serif: "Newsreader", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
	--sans: "Instrument Sans", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
	--fs-xs: 0.8125rem;
	--fs-sm: 0.9375rem;
	--fs-base: 1.0625rem;
	--fs-md: 1.25rem;
	--fs-lg: clamp(1.375rem, 1.15rem + 0.8vw, 1.75rem);
	--fs-xl: clamp(1.75rem, 1.3rem + 1.6vw, 2.5rem);
	--fs-2xl: clamp(2.25rem, 1.4rem + 3vw, 3.75rem);
	--fs-3xl: clamp(2.75rem, 1.4rem + 4.6vw, 5.25rem);
	--fs-hero: clamp(3rem, 1.2rem + 6.2vw, 7rem);

	--gutter: clamp(1.25rem, 4vw, 3rem);
	--wrap: 80rem;
	--section: clamp(4.5rem, 2.5rem + 7vw, 9.5rem);
	--radius: 2px;

	--ease: cubic-bezier(0.22, 0.61, 0.36, 1);
	--ease-out: cubic-bezier(0.16, 1, 0.3, 1);
	--ease-io: cubic-bezier(0.65, 0, 0.35, 1);
	--dur: 240ms;

	--header-h: 84px;
}

/* Base ------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 1.5rem); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; background: var(--white); color: var(--ink); font-family: var(--sans); font-size: var(--fs-base); line-height: 1.65; font-kerning: normal; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; }
body.nav-open { overflow: hidden; }
img, svg, video, iframe { max-width: 100%; }
img { height: auto; display: block; }
figure { margin: 0; }
iframe { border: 0; }
h1, h2, h3, h4, h5, h6 { margin: 0 0 0.5em; font-family: var(--serif); font-weight: 400; line-height: 1.12; letter-spacing: -0.015em; color: inherit; text-wrap: balance; }
p { margin: 0 0 1em; text-wrap: pretty; }
ul, ol { margin: 0 0 1em; padding-left: 1.25em; }
ul[role="list"], ol[role="list"] { list-style: none; padding: 0; margin: 0; }
a { color: var(--green); text-decoration-thickness: 1px; text-underline-offset: 0.2em; transition: color var(--dur) var(--ease); }
a:hover { color: var(--green-dark); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 1px; }
::selection { background: var(--gold-2); color: var(--ink); }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
hr { border: 0; border-top: 1px solid var(--line); margin: 3rem 0; }
table { width: 100%; border-collapse: collapse; font-size: var(--fs-sm); }
th, td { padding: 0.8rem 0.9rem; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
th { font-weight: 600; background: var(--stone); font-size: var(--fs-xs); letter-spacing: 0.06em; text-transform: uppercase; color: var(--slate); }
address { font-style: normal; }
.screen-reader-text { position: absolute !important; 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: 1rem; top: -100px; z-index: 1000; padding: 0.75rem 1rem; background: var(--forest); color: var(--white); font-weight: 600; }
.skip-link:focus { top: 1rem; color: var(--white); }
.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--wide { max-width: calc(90rem + var(--gutter) * 2); }
.icon { flex: none; }

.label { display: inline-flex; align-items: center; gap: 0.75rem; margin: 0 0 1.25rem; font-family: var(--sans); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-text); }
.label::before { content: ""; width: 2rem; height: 1px; background: currentColor; }
.label--light { color: var(--gold); }

/* Buttons and links -------------------------------------------------------- */
.btn { --btn-bg: var(--green); --btn-fg: var(--white); --btn-bd: var(--btn-bg); position: relative; display: inline-flex; align-items: center; gap: 0.75rem; min-height: 52px; padding: 0.8rem 1.5rem; border: 1px solid var(--btn-bd); border-radius: var(--radius); background: var(--btn-bg); color: var(--btn-fg); font-family: var(--sans); font-size: var(--fs-sm); font-weight: 600; letter-spacing: 0.01em; line-height: 1.2; text-decoration: none; white-space: nowrap; overflow: hidden; isolation: isolate; transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease), transform 120ms var(--ease); }
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--btn-hover, var(--green-dark)); transform: scaleX(0); transform-origin: right; transition: transform 420ms var(--ease-io); }
.btn:hover::before { transform: scaleX(1); transform-origin: left; }
.btn:hover { color: var(--btn-hover-fg, var(--btn-fg)); border-color: var(--btn-hover-bd, var(--btn-hover, var(--green-dark))); }
.btn .icon { transition: transform var(--dur) var(--ease); }
.btn:hover .icon--arrow { transform: translateX(4px); }
.btn:active { transform: translateY(1px); }
.btn--secondary { --btn-bg: transparent; --btn-fg: var(--green); --btn-bd: var(--green); --btn-hover: var(--green); --btn-hover-fg: var(--white); }
.btn--gold { --btn-bg: var(--gold); --btn-fg: var(--night); --btn-bd: var(--gold); --btn-hover: var(--white); --btn-hover-fg: var(--night); --btn-hover-bd: var(--white); }
.btn--light { --btn-bg: var(--white); --btn-fg: var(--forest); --btn-bd: var(--white); --btn-hover: var(--gold-2); --btn-hover-fg: var(--forest); }
.btn--outline-light { --btn-bg: transparent; --btn-fg: var(--white); --btn-bd: rgba(255, 255, 255, 0.55); --btn-hover: var(--white); --btn-hover-fg: var(--night); --btn-hover-bd: var(--white); }
.link-arrow { display: inline-flex; align-items: center; gap: 0.6rem; padding-bottom: 0.3rem; font-weight: 600; font-size: var(--fs-sm); color: var(--green); text-decoration: none; background: linear-gradient(currentColor, currentColor) left bottom / 100% 1px no-repeat; transition: background-size 420ms var(--ease-io), color var(--dur) var(--ease); }
.link-arrow::after { content: ""; width: 15px; height: 10px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 15 10'%3E%3Cpath d='M0 5h13M9.5 1 13.5 5 9.5 9' fill='none' stroke='%23000' stroke-width='1.5'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 15 10'%3E%3Cpath d='M0 5h13M9.5 1 13.5 5 9.5 9' fill='none' stroke='%23000' stroke-width='1.5'/%3E%3C/svg%3E") center / contain no-repeat; transition: transform var(--dur) var(--ease); }
.link-arrow:hover { background-size: 30% 1px; }
.link-arrow:hover::after { transform: translateX(5px); }
.link-arrow--light { color: var(--white); }
.link-arrow--light:hover { color: var(--gold-2); }
.icon-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: var(--ink); transition: background-color var(--dur) var(--ease); }
.icon-btn:hover { background: var(--stone); }

/* Notice bar and header ---------------------------------------------------- */
.notice-bar { background: var(--gold); color: var(--night); font-size: var(--fs-xs); }
.notice-bar__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 0.25rem 1rem; padding-block: 0.55rem; text-align: center; }
.notice-bar p { margin: 0; font-weight: 600; letter-spacing: 0.02em; }
.notice-bar a { color: var(--night); font-weight: 700; }
.site-header { position: sticky; top: 0; z-index: 100; background: var(--white); transition: transform 360ms var(--ease-io); }
.admin-bar .site-header { top: var(--wp-admin--admin-bar--height, 32px); }
@media (max-width: 600px) { .admin-bar .site-header { top: 0; } }
.site-header.is-hidden { transform: translateY(-100%); }
.utility { background: var(--night); color: rgba(255, 255, 255, 0.78); font-size: 0.78rem; transition: margin-top 300ms var(--ease); }
.utility__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 38px; }
.utility a { color: inherit; text-decoration: none; }
.utility a:hover { color: var(--gold-2); }
.utility__contact { display: flex; gap: 1.5rem; margin: 0; }
.utility__contact a { display: inline-flex; align-items: center; gap: 0.45rem; }
.utility__nav ul { display: flex; gap: 1.5rem; }
.site-header.is-scrolled .utility { margin-top: -38px; }
.masthead { border-bottom: 1px solid var(--line); transition: box-shadow var(--dur) var(--ease); }
.site-header.is-scrolled .masthead { box-shadow: 0 10px 30px -24px rgba(6, 37, 28, 0.6); }
.masthead__inner { display: flex; align-items: center; gap: 2rem; min-height: var(--header-h); transition: min-height 300ms var(--ease); }
.site-header.is-scrolled .masthead__inner { min-height: 70px; }
.brand { display: inline-flex; align-items: center; flex: 0 1 auto; min-width: 0; text-decoration: none; }
.brand__logo { width: auto; height: 54px; max-width: 230px; object-fit: contain; transition: height 300ms var(--ease); }
.site-header.is-scrolled .brand__logo { height: 46px; }
.brand__text { font-family: var(--serif); font-size: 1.3rem; color: var(--forest); }
.masthead__actions { display: flex; align-items: center; gap: 0.5rem; margin-left: auto; flex: none; }
.masthead__actions .btn { min-height: 46px; padding-inline: 1.25rem; }
.menu-toggle { display: none; }
.menu-toggle__close { display: none; }
[aria-expanded="true"] > .menu-toggle__open { display: none; }
[aria-expanded="true"] > .menu-toggle__close { display: inline; }
.nav { flex: 1 1 auto; }
.nav__list { display: flex; justify-content: center; gap: 0.15rem; }
.nav__item { position: static; }
.nav__link { position: relative; display: inline-flex; align-items: center; gap: 0.35rem; min-height: var(--header-h); padding: 0 0.75rem; border: 0; background: none; color: var(--ink); font-size: 0.9375rem; font-weight: 500; text-decoration: none; white-space: nowrap; transition: min-height 300ms var(--ease), color var(--dur) var(--ease); }
.site-header.is-scrolled .nav__link { min-height: 70px; }
.nav__link::after { content: ""; position: absolute; left: 0.75rem; right: 0.75rem; bottom: -1px; height: 2px; background: var(--gold); transform: scaleX(0); transform-origin: right; transition: transform 380ms var(--ease-io); }
.nav__link:hover { color: var(--green); }
.nav__link:hover::after, .nav__toggle[aria-expanded="true"]::after, .nav__item.is-current > .nav__link::after { transform: scaleX(1); transform-origin: left; }
.nav__chev { opacity: 0.6; transition: transform var(--dur) var(--ease); }
.nav__toggle[aria-expanded="true"] .nav__chev { transform: rotate(180deg); }
.nav__panel { position: absolute; left: 0; right: 0; top: 100%; background: var(--white); border-top: 1px solid var(--line); box-shadow: 0 40px 60px -40px rgba(6, 37, 28, 0.45); }
.nav__panel-inner { max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 2.5rem var(--gutter) 3rem; display: grid; grid-template-columns: 15rem 1fr; gap: 2.5rem; }
@media (prefers-reduced-motion: no-preference) {
	.nav__panel-inner > * { animation: panel-in 420ms var(--ease-out) both; }
	.nav__panel-inner > :nth-child(2) { animation-delay: 60ms; }
	.nav__panel-inner > :nth-child(3) { animation-delay: 120ms; }
}
@keyframes panel-in { from { opacity: 0; transform: translateY(-8px); } }
.nav__overview { font-family: var(--serif); font-size: var(--fs-xl); line-height: 1.1; color: var(--forest); text-decoration: none; align-self: start; }
.nav__overview:hover { color: var(--green); }
.nav__groups { display: grid; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); gap: 1.5rem 3rem; }
.nav__item--mega .nav__panel-inner { grid-template-columns: 15rem 1fr 20rem; }
.nav__group-title { margin: 0 0 0.75rem; padding-bottom: 0.65rem; border-bottom: 1px solid var(--line); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-text); }
.nav__group li a { display: flex; align-items: center; gap: 0.4rem; padding: 0.45rem 0; color: var(--ink); text-decoration: none; font-size: var(--fs-sm); transition: color var(--dur) var(--ease), transform var(--dur) var(--ease); }
.nav__group li a:hover, .nav__group li a[aria-current] { color: var(--green); transform: translateX(3px); }
.nav__group .ext { color: var(--mute); }
.nav__feature { padding: 1.75rem; background: var(--forest); color: rgba(255, 255, 255, 0.82); font-size: var(--fs-sm); }
.nav__feature-title { font-family: var(--serif); font-size: var(--fs-lg); color: var(--white); margin-bottom: 0.4rem; }
.nav__search { display: flex; margin: 1.25rem 0; }
.nav__search input { flex: 1; min-width: 0; padding: 0.7rem 0.85rem; border: 0; border-radius: var(--radius) 0 0 var(--radius); color: var(--ink); }
.nav__search button { padding: 0 1.1rem; border: 0; border-radius: 0 var(--radius) var(--radius) 0; background: var(--gold); color: var(--night); font-weight: 600; }
.nav__feature .link-arrow { color: var(--white); }
.nav__mobile-extras { display: none; }
.site-search { position: absolute; left: 0; right: 0; top: 100%; background: var(--forest); color: var(--white); padding-block: 2.25rem; }
.site-search__label { display: block; margin-bottom: 0.75rem; font-family: var(--serif); font-size: var(--fs-xl); }
.site-search__row { display: flex; gap: 0.5rem; align-items: center; }
.site-search input { flex: 1; min-width: 0; min-height: 58px; padding: 0 1.1rem; border: 0; border-radius: var(--radius); background: var(--white); color: var(--ink); font-size: var(--fs-md); }
.site-search .icon-btn { color: var(--white); }
.site-search .icon-btn:hover { background: rgba(255, 255, 255, 0.1); }
@media (max-width: 1320px) {
	.masthead__inner { gap: 1rem; }
	.nav__list { gap: 0; }
	.nav__link { padding: 0 0.45rem; font-size: 0.85rem; }
	.nav__link::after { left: 0.45rem; right: 0.45rem; }
	.brand__logo { height: 48px; }
	.utility__contact a:last-child { display: none; }
}
@media (max-width: 599px) { .masthead__actions .btn { display: none; } }
@media (max-width: 1023px) { :root { --header-h: 66px; } .brand__logo { height: 42px; } .site-header.is-scrolled .brand__logo { height: 40px; } }
@media (max-width: 480px) { .brand__text { font-size: 1.0625rem; line-height: 1.15; } .brand__logo { max-width: 58vw; } .masthead__actions { gap: 0; } }
@media (max-width: 1359px) {
	.utility { display: none; }
	.site-header.is-scrolled .masthead__inner { min-height: var(--header-h); }
	.menu-toggle { display: inline-grid; }
	.nav { position: fixed; inset: calc(var(--header-h) + var(--notice-h, 0px)) 0 0 0; z-index: 90; overflow-y: auto; overscroll-behavior: contain; background: var(--white); padding: 0.5rem var(--gutter) 2rem; visibility: hidden; opacity: 0; clip-path: inset(0 0 100% 0); transition: clip-path 520ms var(--ease-io), opacity 300ms var(--ease), visibility 0s linear 520ms; }
	.admin-bar .nav { top: calc(var(--header-h) + 46px); }
	.nav.is-open { visibility: visible; opacity: 1; clip-path: inset(0 0 0 0); transition-delay: 0s; }
	.nav__list { display: block; }
	.nav__item { border-bottom: 1px solid var(--line); }
	.nav__link, .site-header.is-scrolled .nav__link { width: 100%; min-height: 62px; justify-content: space-between; padding: 0; font-family: var(--serif); font-size: 1.4rem; font-weight: 400; }
	.nav__link::after { display: none; }
	.nav__panel { position: static; box-shadow: none; border: 0; }
	.nav__panel-inner, .nav__item--mega .nav__panel-inner { display: block; padding: 0 0 1.25rem; }
	.nav__overview { display: inline-block; font-size: var(--fs-base); margin-bottom: 1rem; font-family: var(--sans); font-weight: 600; color: var(--green); }
	.nav__groups { display: block; }
	.nav__group + .nav__group { margin-top: 1rem; }
	.nav__group li a { padding: 0.55rem 0; font-size: var(--fs-base); }
	.nav__feature { margin-top: 1.25rem; }
	.nav__mobile-extras { display: block; padding-top: 1.75rem; }
	.nav__mobile-extras .btn { width: 100%; justify-content: center; }
	.nav__utility { margin-top: 1.25rem; display: grid; grid-template-columns: 1fr 1fr; gap: 0.25rem 1rem; }
	.nav__utility a { display: block; padding: 0.5rem 0; color: var(--slate); text-decoration: none; font-size: var(--fs-sm); }
}

/* Shared section patterns -------------------------------------------------- */
.section { padding-block: var(--section); }
.section--paper { background: var(--stone); }
.section-title { font-size: var(--fs-2xl); font-weight: 400; letter-spacing: -0.025em; line-height: 1.05; margin-bottom: 0.5em; }
.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1rem 3rem; margin-bottom: clamp(2.25rem, 4vw, 3.5rem); }
.section-head .section-title { margin: 0; }
.section-head__text { max-width: 34rem; margin: 0; color: var(--slate); }
.section-head--split > div:first-child { max-width: 44rem; }
.section-head__aside { display: grid; gap: 1.25rem; max-width: 26rem; color: var(--slate); }
.section-head__aside p { margin: 0; }
.sub-title { font-size: var(--fs-lg); margin: 3rem 0 1rem; }
.split { display: grid; gap: 2.5rem 5rem; }
@media (min-width: 900px) { .split { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.4fr); } }
.split__head p { color: var(--slate); max-width: 26rem; }
.callout { margin: 2rem 0 0; padding: 1.1rem 1.35rem; border-left: 3px solid var(--gold); background: var(--stone); font-weight: 600; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 0.25rem 0.6rem; font-size: 0.78rem; margin-bottom: 1.75rem; letter-spacing: 0.02em; }
.crumbs li { display: inline-flex; align-items: center; gap: 0.6rem; color: var(--slate); }
.crumbs li + li::before { content: ""; width: 4px; height: 4px; border-radius: 50%; background: var(--gold); }
.crumbs a { color: var(--slate); text-decoration: none; }
.crumbs a:hover { color: var(--green); text-decoration: underline; }

/* Homepage hero ------------------------------------------------------------ */
.hero { position: relative; isolation: isolate; min-height: clamp(36rem, 92vh, 58rem); display: flex; align-items: flex-end; color: var(--white); background: var(--night); overflow: hidden; }
.hero__slides { position: absolute; inset: 0; z-index: -2; }
.hero__slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1600ms var(--ease); }
.hero__slide.is-active { opacity: 1; }
.hero__slide img { width: 100%; height: 100%; object-fit: cover; object-position: center 35%; transform-origin: 60% 40%; }
.hero__veil { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(6, 37, 28, 0.35) 0%, rgba(6, 37, 28, 0) 22%), linear-gradient(90deg, rgba(6, 37, 28, 0.82) 0%, rgba(6, 37, 28, 0.5) 42%, rgba(6, 37, 28, 0.05) 75%), linear-gradient(0deg, rgba(6, 37, 28, 0.9) 0%, rgba(6, 37, 28, 0) 55%); }
.hero__inner { position: relative; padding-top: clamp(8rem, 22vh, 14rem); padding-bottom: clamp(7.5rem, 14vh, 10rem); }
.hero__eyebrow { display: inline-flex; align-items: center; gap: 0.85rem; margin-bottom: 1.75rem; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); }
.hero__eyebrow::before { content: ""; width: 2.75rem; height: 1px; background: currentColor; }
.hero__title { max-width: 15ch; margin: 0 0 1.75rem; font-size: var(--fs-hero); font-weight: 300; line-height: 0.98; letter-spacing: -0.035em; color: var(--white); }
.hero__line { display: block; overflow: hidden; padding-bottom: 0.08em; }
.hero__line > span { display: inline-block; }
.hero__text { max-width: 36rem; margin-bottom: 2.5rem; font-size: var(--fs-md); line-height: 1.55; color: rgba(255, 255, 255, 0.86); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.85rem; }
.hero__meta { position: absolute; right: var(--gutter); bottom: clamp(7.5rem, 14vh, 10rem); display: flex; flex-direction: column; align-items: flex-end; gap: 0.9rem; max-width: 18rem; text-align: right; }
.hero__caption { margin: 0; font-family: var(--serif); font-style: italic; font-size: var(--fs-sm); color: rgba(255, 255, 255, 0.8); min-height: 1.5em; transition: opacity 500ms var(--ease); }
.hero__dots { display: flex; align-items: center; gap: 0.45rem; }
.hero__dot { position: relative; width: 44px; height: 24px; padding: 0; border: 0; background: none; }
.hero__dot span { position: absolute; left: 0; right: 0; top: 50%; height: 2px; background: rgba(255, 255, 255, 0.35); overflow: hidden; }
.hero__dot span::after { content: ""; position: absolute; inset: 0; background: var(--gold); transform: scaleX(0); transform-origin: left; }
.hero__dot.is-active span::after { animation: dot-fill var(--slide-ms, 7000ms) linear forwards; }
.hero.is-paused .hero__dot.is-active span::after { animation-play-state: paused; }
@keyframes dot-fill { to { transform: scaleX(1); } }
.hero__pause { display: grid; place-items: center; width: 32px; height: 32px; margin-left: 0.35rem; border: 1px solid rgba(255, 255, 255, 0.4); border-radius: 50%; background: none; color: var(--white); }
.hero__pause .i-play, .hero.is-paused .hero__pause .i-pause { display: none; }
.hero.is-paused .hero__pause .i-play { display: inline; }
@media (max-width: 900px) { .hero__meta { position: static; align-items: flex-start; text-align: left; margin-top: 2.5rem; max-width: none; } .hero__inner { padding-bottom: 6.5rem; } }
@media (max-width: 600px) {
	.hero { min-height: auto; }
	.hero__inner { padding-top: 7rem; }
	.hero__veil { background: linear-gradient(0deg, rgba(6, 37, 28, 0.95) 10%, rgba(6, 37, 28, 0.55) 60%, rgba(6, 37, 28, 0.35) 100%); }
	.hero__actions .btn { flex: 1 1 auto; justify-content: center; }
}

/* Pathways (overlaps the hero) */
.pathways { position: relative; z-index: 2; margin-top: -5rem; }
.pathways__panel { display: grid; grid-template-columns: minmax(16rem, 1.1fr) 3fr; background: var(--white); box-shadow: 0 30px 70px -40px rgba(6, 37, 28, 0.55); }
.pathways__search { padding: 1.75rem 1.75rem 1.5rem; background: var(--forest); color: var(--white); }
.pathways__search label { display: block; margin-bottom: 0.9rem; font-family: var(--serif); font-size: var(--fs-lg); }
.pathways__field { display: flex; align-items: center; gap: 0.5rem; border-bottom: 1px solid rgba(255, 255, 255, 0.4); transition: border-color var(--dur) var(--ease); }
.pathways__field:focus-within { border-color: var(--gold); }
.pathways__field .icon { color: var(--gold); }
.pathways__field input { flex: 1; min-width: 0; padding: 0.6rem 0; border: 0; background: transparent; color: var(--white); font-size: var(--fs-base); }
.pathways__field input::placeholder { color: rgba(255, 255, 255, 0.62); }
.pathways__field input:focus { outline: none; }
.pathways__go { display: grid; place-items: center; width: 40px; height: 40px; border: 0; background: none; color: var(--white); }
.pathways__list { display: grid; grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr)); }
.pathways__list li + li { border-left: 1px solid var(--line); }
.pathways__list a { position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 0.75rem; height: 100%; padding: 1.6rem 1.5rem 1.4rem; color: var(--ink); text-decoration: none; overflow: hidden; }
.pathways__list a::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform 480ms var(--ease-io); }
.pathways__list a:hover::before { transform: scaleX(1); }
.pathways__n { font-family: var(--serif); font-size: 2.6rem; font-weight: 300; line-height: 1; color: var(--forest); }
.pathways__label { font-size: var(--fs-sm); font-weight: 600; line-height: 1.3; }
.pathways__list .icon { color: var(--green); transition: transform var(--dur) var(--ease); }
.pathways__list a:hover .icon { transform: translateX(5px); }
@media (max-width: 960px) {
	.pathways { margin-top: -3rem; }
	.pathways__panel { grid-template-columns: 1fr; }
	.pathways__list { grid-template-columns: 1fr 1fr; }
	.pathways__list li + li { border-left: 0; }
	.pathways__list li { border-top: 1px solid var(--line); }
	.pathways__list li:nth-child(even) { border-left: 1px solid var(--line); }
	.pathways__n { font-size: 2rem; }
}

/* Welcome and figures */
.welcome__grid { display: grid; gap: 3.5rem 5rem; align-items: center; }
@media (min-width: 1024px) { .welcome__grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); } }
.welcome__title { font-size: var(--fs-2xl); font-weight: 300; letter-spacing: -0.028em; line-height: 1.06; color: var(--forest); margin-bottom: 1.75rem; }
.welcome__lead { font-size: var(--fs-md); line-height: 1.6; color: var(--slate); max-width: 38rem; margin-bottom: 2rem; }
.welcome__media { position: relative; min-height: 32rem; }
.welcome__img { position: absolute; overflow: hidden; background: var(--stone-2); }
.welcome__img img { width: 100%; height: 100%; object-fit: cover; }
.welcome__img--a { top: 0; right: 0; width: 82%; height: 76%; }
.welcome__img--b { left: 0; bottom: 0; width: 48%; height: 46%; border: 10px solid var(--white); }
@media (max-width: 600px) { .welcome__media { min-height: 22rem; } }
.figures { display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); margin: clamp(4rem, 7vw, 6rem) 0 0; border-top: 1px solid var(--ink); }
.figures__item { padding: 1.75rem 2rem 0 0; }
.figures__item + .figures__item { padding-left: 2rem; border-left: 1px solid var(--line); }
@media (max-width: 760px) { .figures__item + .figures__item { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); padding-top: 1.5rem; } .figures__item { padding-bottom: 1.5rem; } }
.figures dt { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-text); margin-bottom: 0.75rem; }
.figures dd { margin: 0; }
.figures__num { font-family: var(--serif); font-size: clamp(3.5rem, 2rem + 4vw, 5.5rem); font-weight: 300; line-height: 0.9; letter-spacing: -0.04em; color: var(--forest); font-variant-numeric: tabular-nums; }
.figures__unit { font-family: var(--serif); font-size: var(--fs-xl); margin-left: 0.35rem; color: var(--forest); }
.figures__note { display: block; margin-top: 0.75rem; color: var(--slate); font-size: var(--fs-sm); max-width: 18rem; }

/* Schools rail */
.schools { background: var(--stone); overflow: hidden; }
.rail { position: relative; }
.rail__track { display: grid; grid-auto-flow: column; grid-auto-columns: clamp(16rem, 26vw, 23rem); gap: 1.25rem; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: max(var(--gutter), calc((100vw - var(--wrap)) / 2)); padding-inline: max(var(--gutter), calc((100vw - var(--wrap)) / 2)); padding-bottom: 1.5rem; scrollbar-width: none; }
.rail__track::-webkit-scrollbar { display: none; }
.rail-controls { display: flex; gap: 0.5rem; }
.rail-btn { display: grid; place-items: center; width: 52px; height: 52px; border: 1px solid var(--ink); border-radius: 50%; background: transparent; color: var(--ink); transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease), opacity var(--dur) var(--ease); }
.rail-btn[data-rail-prev] .icon { transform: rotate(180deg); }
.rail-btn:hover { background: var(--ink); color: var(--white); }
.rail-btn:disabled { opacity: 0.3; pointer-events: none; }
.school-card { scroll-snap-align: start; }
.school-card a { position: relative; display: block; height: 100%; aspect-ratio: 3 / 4.2; overflow: hidden; color: var(--white); text-decoration: none; background: var(--forest); isolation: isolate; }
.school-card__media { position: absolute; inset: 0; z-index: -1; }
.school-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1200ms var(--ease-out); }
.school-card__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(6, 37, 28, 0.94) 0%, rgba(6, 37, 28, 0.4) 55%, rgba(6, 37, 28, 0.1) 100%); }
.school-card a:hover .school-card__media img { transform: scale(1.07); }
.school-card__body { position: absolute; left: 0; right: 0; bottom: 0; padding: 1.75rem 1.5rem 1.6rem; }
.school-card__n { display: block; margin-bottom: 0.75rem; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); }
.school-card__name { font-size: 1.6rem; line-height: 1.12; margin-bottom: 1.1rem; color: var(--white); }
.school-card__go { display: inline-flex; align-items: center; gap: 0.5rem; font-size: var(--fs-sm); font-weight: 600; opacity: 0.85; transform: translateY(6px); transition: opacity var(--dur) var(--ease), transform 420ms var(--ease-out); }
.school-card a:hover .school-card__go, .school-card a:focus-visible .school-card__go { opacity: 1; transform: none; }
.school-card a:focus-visible { outline-offset: -4px; }

/* Programme explorer */
.explorer__grid { display: grid; gap: 3rem 5rem; }
@media (min-width: 1024px) { .explorer__grid { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.5fr); } .explorer__side { position: sticky; top: calc(var(--header-h) + 2rem); align-self: start; } }
.explorer__tabs { display: grid; margin-top: 2rem; border-top: 1px solid var(--line); }
.explorer__tab { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.05rem 0; border: 0; border-bottom: 1px solid var(--line); background: none; text-align: left; font-family: var(--serif); font-size: 1.35rem; color: var(--slate); transition: color var(--dur) var(--ease), padding 420ms var(--ease-out); }
.explorer__tab::before { content: ""; position: absolute; left: 0; top: 50%; width: 0; height: 2px; background: var(--gold); transition: width 420ms var(--ease-io); }
.explorer__tab:hover { color: var(--ink); }
.explorer__tab[aria-selected="true"] { color: var(--forest); padding-left: 2.25rem; }
.explorer__tab[aria-selected="true"]::before { width: 1.5rem; }
.explorer__count { font-family: var(--sans); font-size: var(--fs-xs); font-weight: 600; color: var(--mute); font-variant-numeric: tabular-nums; }
.explorer__img { position: relative; aspect-ratio: 16 / 8; overflow: hidden; margin-bottom: 1.5rem; background: var(--stone-2); }
.explorer__img img { width: 100%; height: 100%; object-fit: cover; }
.explorer__img figcaption { position: absolute; left: 0; bottom: 0; padding: 0.6rem 1.1rem; background: var(--white); font-family: var(--serif); font-size: var(--fs-md); color: var(--forest); }
@media (prefers-reduced-motion: no-preference) {
	.explorer__panel:not([hidden]) .explorer__img img { animation: img-settle 1100ms var(--ease-out) both; }
	.explorer__panel:not([hidden]) .prog-row { animation: rise 600ms var(--ease-out) both; }
	.explorer__panel:not([hidden]) .prog-row:nth-child(2) { animation-delay: 50ms; }
	.explorer__panel:not([hidden]) .prog-row:nth-child(3) { animation-delay: 100ms; }
	.explorer__panel:not([hidden]) .prog-row:nth-child(4) { animation-delay: 150ms; }
	.explorer__panel:not([hidden]) .prog-row:nth-child(5) { animation-delay: 200ms; }
	.explorer__panel:not([hidden]) .prog-row:nth-child(6) { animation-delay: 250ms; }
}
.explorer__panel .link-arrow { margin-top: 2rem; }
@keyframes img-settle { from { transform: scale(1.06); opacity: 0.4; } to { transform: none; opacity: 1; } }

/* Programme rows */
.prog-list { border-top: 1px solid var(--line); }
.prog-row { border-bottom: 1px solid var(--line); }
.prog-row__link { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "title go" "meta go" "summary go"; gap: 0.25rem 2rem; padding: 1.3rem 0.5rem 1.3rem 0; color: var(--ink); text-decoration: none; transition: padding 420ms var(--ease-out); }
.prog-row__link::before { content: ""; position: absolute; left: 0; top: -1px; bottom: -1px; width: 3px; background: var(--gold); transform: scaleY(0); transition: transform 420ms var(--ease-io); }
.prog-row__title { grid-area: title; margin: 0; font-size: var(--fs-lg); font-weight: 400; transition: color var(--dur) var(--ease); }
.prog-row__meta { grid-area: meta; display: flex; flex-wrap: wrap; gap: 0.25rem 1.1rem; font-size: 0.8rem; color: var(--slate); }
.prog-row__level { font-weight: 600; color: var(--green); }
.prog-row__summary { grid-area: summary; margin-top: 0.35rem; font-size: var(--fs-sm); color: var(--slate); max-width: 46rem; }
.prog-row__go { grid-area: go; align-self: center; display: grid; place-items: center; width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 50%; color: var(--green); transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease), transform 420ms var(--ease-out); }
.prog-row__link:hover .prog-row__title, .prog-row__link:focus-visible .prog-row__title { color: var(--green); }
.prog-row__link:hover .prog-row__go { background: var(--forest); border-color: var(--forest); color: var(--gold); transform: translateX(4px); }
@media (hover: hover) { .prog-row__link:hover { padding-left: 1.25rem; } .prog-row__link:hover::before { transform: scaleY(1); } }
.prog-list--compact .prog-row__summary { display: none; }
.prog-row__earlier { font-weight: 600; color: var(--gold-text); }
.prog-row--earlier .prog-row__title { color: var(--slate); }
@media (max-width: 600px) { .prog-row__link { gap: 0.2rem 1rem; } .prog-row__go { width: 38px; height: 38px; } .prog-row__summary { display: none; } }

/* Why TEAU */
.why { background: var(--forest); color: rgba(255, 255, 255, 0.84); }
.why__grid { display: grid; }
@media (min-width: 1024px) { .why__grid { grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); min-height: 44rem; } }
.why__media { position: relative; min-height: 22rem; overflow: hidden; background: var(--night); }
.why__media img { position: absolute; left: 0; top: -8%; width: 100%; height: 116%; object-fit: cover; }
.why__copy { padding: var(--section) var(--gutter); max-width: 46rem; }
@media (min-width: 1024px) { .why__copy { padding-left: clamp(3rem, 6vw, 6.5rem); } }
.why .section-title { color: var(--white); margin-bottom: 2.5rem; }
.why__list { display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: 2.25rem 2.5rem; margin-bottom: 2.75rem; }
.why__item { position: relative; padding-top: 1.25rem; border-top: 1px solid var(--line-dark); }
.why__item::before { content: ""; position: absolute; left: 0; top: -1px; width: 2.5rem; height: 1px; background: var(--gold); }
.why__item h3 { font-size: 1.45rem; color: var(--white); margin-bottom: 0.6rem; }
.why__item p { margin: 0; font-size: var(--fs-sm); line-height: 1.6; color: rgba(255, 255, 255, 0.74); }

/* Campus life mosaic */
.life__grid { display: grid; gap: 3.5rem 5rem; align-items: center; }
@media (min-width: 1024px) { .life__grid { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.3fr); } }
.life__text { font-size: var(--fs-md); line-height: 1.6; color: var(--slate); }
.life__links { margin-top: 2.25rem; border-top: 1px solid var(--line); }
.life__links a { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.05rem 0; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; font-family: var(--serif); font-size: 1.3rem; transition: color var(--dur) var(--ease), padding 420ms var(--ease-out); }
.life__links a .icon { color: var(--gold-text); transition: transform var(--dur) var(--ease); }
.life__links a:hover { color: var(--green); padding-left: 0.6rem; }
.life__links a:hover .icon--arrow { transform: translateX(5px); }
.mosaic { display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: clamp(5.5rem, 9vw, 8.5rem); gap: 0.75rem; }
.mosaic__item { overflow: hidden; background: var(--stone-2); }
.mosaic__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1200ms var(--ease-out); }
.mosaic__item:hover img { transform: scale(1.05); }
.mosaic__item--1 { grid-column: 1 / 5; grid-row: 1 / 4; }
.mosaic__item--2 { grid-column: 5 / 7; grid-row: 1 / 3; }
.mosaic__item--3 { grid-column: 5 / 7; grid-row: 3 / 5; }
.mosaic__item--4 { grid-column: 2 / 5; grid-row: 4 / 6; }
.mosaic--1 .mosaic__item--1 { grid-column: 1 / -1; }
.mosaic--2 .mosaic__item--2 { grid-row: 1 / 4; }
.mosaic--3 .mosaic__item--3 { grid-column: 1 / 5; grid-row: 4 / 6; }

/* Place: campus location */
.place { position: relative; isolation: isolate; overflow: hidden; padding-block: clamp(6rem, 12vw, 11rem); background: var(--forest-2); }
.place__media { position: absolute; left: 0; right: 0; top: -12%; bottom: -12%; z-index: -1; }
.place__media img { width: 100%; height: 100%; object-fit: cover; }
.place__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(6, 37, 28, 0.15), rgba(6, 37, 28, 0.55)); }
.place__inner { display: flex; justify-content: flex-end; }
.place__card { width: min(100%, 34rem); padding: clamp(2rem, 4vw, 3rem); background: var(--white); box-shadow: 0 40px 80px -50px rgba(0, 0, 0, 0.6); }
.place__title { font-size: var(--fs-xl); color: var(--forest); }
.place__card > p { color: var(--slate); }
/* Route: stops placed on one scale (0, ≈30 and 40 km). */
.route { position: relative; height: 7.5rem; margin: 2rem 0 1.75rem; }
.route::before { content: ""; position: absolute; left: 0; right: 0; top: 3.45rem; height: 2px; background: repeating-linear-gradient(90deg, var(--forest) 0 10px, transparent 10px 16px); }
.route__stop { position: absolute; top: 3rem; display: grid; gap: 0.1rem; padding-top: 1.6rem; font-size: var(--fs-xs); white-space: nowrap; }
.route__stop::before { content: ""; position: absolute; top: 0; width: 12px; height: 12px; border-radius: 50%; background: var(--white); border: 2px solid var(--forest); }
.route__stop:nth-child(1) { left: 0; }
.route__stop:nth-child(1)::before { left: 0; }
/* Kitengela sits at three quarters of the way; its label goes above the line. */
.route__stop:nth-child(2) { left: 75%; top: 0; padding-top: 0; transform: translateX(-50%); text-align: center; }
.route__stop:nth-child(2)::before { top: 3rem; left: calc(50% - 6px); }
.route__stop--here { right: 0; text-align: right; }
.route__stop--here::before { right: 0; top: -2px; width: 16px; height: 16px; background: var(--gold); box-shadow: 0 0 0 6px rgba(214, 168, 51, 0.25); }
.route__km { font-family: var(--serif); font-size: var(--fs-md); color: var(--forest); }
.route__name { color: var(--slate); font-weight: 600; }
@media (max-width: 600px) { .place__inner { justify-content: stretch; } }

/* News */
.news-home__grid { display: grid; gap: 3rem 4rem; }
@media (min-width: 1024px) { .news-home__grid { grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); } }
.news-home__list { display: grid; align-content: start; }
.news-card { position: relative; }
.news-card__media { overflow: hidden; background: var(--stone-2); aspect-ratio: 3 / 2; margin-bottom: 1.25rem; }
.news-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1200ms var(--ease-out); }
.news-card:hover .news-card__media img { transform: scale(1.05); }
.news-card__meta { display: flex; flex-wrap: wrap; gap: 0.25rem 1rem; margin-bottom: 0.6rem; font-size: 0.78rem; letter-spacing: 0.04em; color: var(--slate); }
.news-card__cat { font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold-text); font-size: 0.7rem; }
.news-card__title { font-size: var(--fs-md); line-height: 1.25; margin-bottom: 0.6rem; }
.news-card__title a { color: var(--ink); text-decoration: none; background: linear-gradient(currentColor, currentColor) left 100% / 0 1px no-repeat; transition: background-size 520ms var(--ease-io), color var(--dur) var(--ease); }
.news-card__title a::after { content: ""; position: absolute; inset: 0; }
.news-card:hover .news-card__title a { background-size: 100% 1px; color: var(--forest); }
.news-card__excerpt { font-size: var(--fs-sm); color: var(--slate); margin: 0; }
.news-card--lead .news-card__media, .news-card--feature .news-card__media { aspect-ratio: 16 / 10; }
.news-card--feature .news-card__title, .news-card--lead .news-card__title { font-size: var(--fs-xl); line-height: 1.12; }
.news-card--feature .news-card__excerpt { font-size: var(--fs-base); max-width: 40rem; }
.news-card--side { display: grid; grid-template-columns: 8.5rem 1fr; gap: 1.25rem; align-items: start; padding: 1.4rem 0; border-bottom: 1px solid var(--line); }
.news-card--side:first-child { padding-top: 0; }
.news-card--side .news-card__media { margin: 0; aspect-ratio: 1; }
.news-card--side .news-card__title { font-size: 1.15rem; margin: 0; }
.news-card--compact { padding: 1.2rem 0; border-bottom: 1px solid var(--line); }
.news-card--compact .news-card__media { display: none; }
.news-card--compact .news-card__title { font-size: var(--fs-md); margin: 0; }
.events-mini { margin-top: 2rem; padding: 1.5rem; background: var(--stone); }
.events-mini__title { font-size: var(--fs-md); }
.events-mini li { display: flex; gap: 1rem; align-items: flex-start; padding: 0.9rem 0; border-top: 1px solid var(--line); }
.events-mini li a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: var(--fs-sm); line-height: 1.35; }
.events-mini li a:hover { color: var(--green); text-decoration: underline; }
.date-badge { flex: none; display: grid; justify-items: center; width: 3.4rem; padding: 0.45rem 0; background: var(--forest); color: var(--white); line-height: 1; }
.date-badge__d { font-family: var(--serif); font-size: 1.6rem; }
.date-badge__m { font-size: 0.7rem; margin-top: 0.2rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold); }
.news-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 20rem), 1fr)); gap: 3rem 2.25rem; }
.news-index { padding-block: 3rem var(--section); }
.news-lead { margin-bottom: 3.5rem; padding-bottom: 3.5rem; border-bottom: 1px solid var(--line); }
@media (min-width: 900px) { .news-lead .news-card--lead { display: grid; grid-template-columns: 1.4fr 1fr; gap: 3rem; align-items: center; } .news-lead .news-card__media { margin: 0; } }
.chips ul { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 3rem; }
.chips a { display: inline-block; padding: 0.5rem 1.05rem; border: 1px solid var(--line); border-radius: 99px; font-size: var(--fs-sm); font-weight: 600; color: var(--slate); text-decoration: none; transition: border-color var(--dur) var(--ease), color var(--dur) var(--ease); }
.chips a:hover { border-color: var(--green); color: var(--green); }
.chips a[aria-current] { background: var(--forest); border-color: var(--forest); color: var(--white); }
.pagination { margin-top: 4rem; }
.pagination ul { display: flex; flex-wrap: wrap; gap: 0.35rem; list-style: none; padding: 0; margin: 0; }
.pagination a, .pagination span { display: inline-grid; place-items: center; min-width: 46px; min-height: 46px; padding: 0 0.9rem; border: 1px solid var(--line); color: var(--ink); text-decoration: none; font-weight: 600; font-size: var(--fs-sm); }
.pagination a:hover { border-color: var(--green); color: var(--green); }
.pagination .current { background: var(--forest); border-color: var(--forest); color: var(--white); }
.partners { padding-block: 2.75rem; border-top: 1px solid var(--line); }
.partners__inner { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 3rem; }
.partners__title { font-size: 0.75rem; font-family: var(--sans); font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-text); margin: 0; }
.partners ul { display: flex; flex-wrap: wrap; gap: 0.75rem 2.5rem; }
.partners a { display: inline-flex; align-items: center; gap: 0.45rem; color: var(--ink); text-decoration: none; font-family: var(--serif); font-size: var(--fs-md); }
.partners a:hover { color: var(--green); }

/* Admissions band */
.admit { position: relative; isolation: isolate; overflow: hidden; background: var(--night); color: rgba(255, 255, 255, 0.86); padding-block: clamp(6rem, 11vw, 10rem); }
.admit__media { position: absolute; left: 0; right: 0; top: -12%; bottom: -12%; z-index: -1; }
.admit__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.admit__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(6, 37, 28, 0.94) 25%, rgba(6, 37, 28, 0.6) 70%, rgba(6, 37, 28, 0.4)); }
.admit__inner { display: grid; gap: 3rem 5rem; align-items: end; }
@media (min-width: 1024px) { .admit__inner { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); } }
.admit__notice { display: inline-block; padding: 0.35rem 0.85rem; margin-bottom: 1.75rem; background: var(--gold); color: var(--night); font-weight: 700; font-size: 0.78rem; letter-spacing: 0.04em; }
.admit__title { font-size: var(--fs-3xl); font-weight: 300; letter-spacing: -0.035em; color: var(--white); line-height: 1; margin-bottom: 2.25rem; max-width: 13ch; }
.admit__actions { display: flex; flex-wrap: wrap; gap: 0.85rem; }
.admit__steps { display: grid; border-top: 1px solid var(--line-dark); }
.admit__steps li { display: grid; grid-template-columns: 3rem 1fr; gap: 1rem; padding: 1.2rem 0; border-bottom: 1px solid var(--line-dark); }
.admit__step-n { font-family: var(--serif); font-size: 1.6rem; line-height: 1; color: var(--gold); }
.admit__steps strong { display: block; font-weight: 600; color: var(--white); margin-bottom: 0.15rem; }
.admit__steps span:last-child { font-size: var(--fs-sm); }
.admit__help { grid-column: 1 / -1; margin: 0; font-size: var(--fs-sm); color: rgba(255, 255, 255, 0.72); }
.admit__help a { color: var(--white); }

/* Interior page hero ------------------------------------------------------- */
.page-hero { position: relative; border-bottom: 1px solid var(--line); background: var(--stone); }
.page-hero__inner { max-width: calc(var(--wrap) + var(--gutter) * 2); margin-inline: auto; padding: clamp(3rem, 7vw, 6rem) var(--gutter) clamp(3rem, 6vw, 5rem); }
.page-hero__title { font-size: var(--fs-3xl); font-weight: 300; letter-spacing: -0.035em; line-height: 1.02; max-width: 18ch; margin-bottom: 0.45em; color: var(--forest); }
.page-hero__intro { font-size: var(--fs-md); line-height: 1.55; color: var(--slate); max-width: 40rem; margin: 0; }
.page-hero__kicker { font-weight: 600; color: var(--gold-text); margin-bottom: 0.75rem; }
.page-hero__actions { display: flex; flex-wrap: wrap; gap: 0.85rem; margin-top: 2.25rem; }
.page-hero--forest, .page-hero--split { background: var(--forest); border-bottom: 0; }
.page-hero--forest .page-hero__title, .page-hero--split .page-hero__title { color: var(--white); }
.page-hero--forest .page-hero__intro, .page-hero--split .page-hero__intro { color: rgba(255, 255, 255, 0.82); }
.page-hero--forest .crumbs a, .page-hero--forest .crumbs li, .page-hero--split .crumbs a, .page-hero--split .crumbs li { color: rgba(255, 255, 255, 0.74); }
.page-hero--split .page-hero__kicker { color: var(--gold); }
.page-hero--forest .btn--secondary, .page-hero--split .btn--secondary { --btn-fg: var(--white); --btn-bd: rgba(255, 255, 255, 0.6); --btn-hover: var(--white); --btn-hover-fg: var(--forest); }
.page-hero--split { display: grid; }
.page-hero__media { position: relative; min-height: 18rem; overflow: hidden; background: var(--night); }
.page-hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-hero__media figcaption, .prog-hero__media figcaption { position: absolute; right: 0.75rem; bottom: 0.6rem; font-size: 0.7rem; color: rgba(255, 255, 255, 0.85); text-shadow: 0 1px 2px rgba(0, 0, 0, 0.7); }
@media (min-width: 1024px) {
	.page-hero--split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: 30rem; }
	.page-hero--split .page-hero__text { display: flex; align-items: flex-end; }
	.page-hero--split .page-hero__inner { width: 100%; max-width: calc(var(--wrap) / 2 + var(--gutter)); margin: 0 0 0 auto; padding-block: clamp(3rem, 8vw, 7rem); padding-right: clamp(2rem, 4vw, 4rem); }
	.page-hero--split .page-hero__media { min-height: 100%; }
}
.page-body { padding-block: clamp(3rem, 6vw, 5rem) var(--section); }
.page-body > .prose, .page-body > div > .prose { max-width: 48rem; }
.with-toc { display: grid; gap: 2.5rem; padding-block: clamp(3rem, 6vw, 5rem) var(--section); }
@media (min-width: 1024px) { .with-toc { grid-template-columns: 15rem minmax(0, 1fr); gap: 5rem; } .toc { position: sticky; top: calc(var(--header-h) + 2rem); align-self: start; max-height: calc(100vh - var(--header-h) - 4rem); overflow: auto; } }
.with-toc__main { min-width: 0; max-width: 50rem; }
.toc { font-size: var(--fs-sm); }
.toc__title { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-text); margin: 0 0 0.75rem; }
.toc ul + .toc__title { margin-top: 2rem; }
.toc li a { display: block; padding: 0.5rem 0 0.5rem 1rem; border-left: 1px solid var(--line); color: var(--slate); text-decoration: none; line-height: 1.35; transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease); }
.toc li a:hover { color: var(--green); border-color: var(--green); }
.toc li a[aria-current], .toc li a.is-active { color: var(--forest); border-left: 2px solid var(--gold); font-weight: 600; }
@media (max-width: 1023px) { .toc { padding: 1.25rem 1.5rem; background: var(--stone); } .toc li a { border-left: 0; padding-left: 0; } }

/* Prose -------------------------------------------------------------------- */
.prose { font-size: var(--fs-base); line-height: 1.75; }
.prose > :first-child { margin-top: 0; }
.prose h2 { font-size: var(--fs-xl); color: var(--forest); margin: 2.2em 0 0.6em; }
.prose h3 { font-size: var(--fs-lg); margin: 1.9em 0 0.5em; }
.prose h4, .prose h5, .prose h6 { font-family: var(--sans); font-size: var(--fs-base); font-weight: 600; letter-spacing: 0; margin: 1.6em 0 0.4em; }
.prose h2 + h3, .prose h2 + .lc-kicker { margin-top: 0.5em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: 0.45em; }
.prose li::marker { color: var(--gold-text); }
.prose blockquote { margin: 2.25em 0; padding: 0 0 0 1.75rem; border-left: 2px solid var(--gold); font-family: var(--serif); font-size: var(--fs-lg); line-height: 1.4; color: var(--forest); }
.prose img { margin-block: 1.75em; }
.prose figure img { margin: 0; }
.prose figcaption, .wp-caption-text { margin-top: 0.65rem; font-size: var(--fs-xs); color: var(--slate); }
.prose .alignleft { float: left; margin: 0.3em 1.75em 1em 0; max-width: 50%; }
.prose .alignright { float: right; margin: 0.3em 0 1em 1.75em; max-width: 50%; }
.prose .aligncenter { margin-inline: auto; }
.prose table { margin: 1.75em 0; display: block; overflow-x: auto; }
.prose iframe { width: 100%; aspect-ratio: 16 / 9; height: auto; }
.prose a { overflow-wrap: anywhere; }
.prose--article { font-family: var(--serif); font-size: 1.22rem; line-height: 1.72; }
.prose--article > p:first-child::first-letter { float: left; margin: 0.08em 0.12em 0 0; font-size: 3.6em; line-height: 0.8; color: var(--forest); }
.lc-section + .lc-section { margin-top: 2.25rem; }
.lc-cols { display: grid; gap: 1.5rem 2.75rem; }
@media (min-width: 760px) { .lc-cols--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .lc-cols--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .lc-cols--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .lc-cols--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.lc-col > :first-child { margin-top: 0; }
.lc-kicker { font-family: var(--sans); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-text); margin: 2em 0 0.4em; }
.lc-figure img { width: 100%; }
.lc-actions { margin: 1.75rem 0; }
.lc-list { padding-left: 1.3em; }
.lc-list--contact { list-style: none; padding: 0; }
.lc-boxes { display: grid; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); gap: 1.75rem; margin: 1.75em 0; }
.lc-box { position: relative; padding: 1.4rem 0 0; border-top: 1px solid var(--line); }
.lc-box::before { content: ""; position: absolute; left: 0; top: -1px; width: 2.5rem; height: 1px; background: var(--gold); }
.lc-box h3 { font-size: var(--fs-md); margin-top: 0; }
.lc-box h3 a { color: var(--ink); text-decoration: none; }
.lc-box h3 a:hover { color: var(--green); text-decoration: underline; }
.lc-box p { font-size: var(--fs-sm); color: var(--slate); }
.lc-box__media { margin-bottom: 1rem; aspect-ratio: 3 / 2; overflow: hidden; }
.lc-box__media img { width: 100%; height: 100%; object-fit: cover; margin: 0; }
.lc-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(12rem, 1fr)); gap: 0.5rem; margin: 1.75em 0; }
.lc-gallery img { width: 100%; aspect-ratio: 1; object-fit: cover; margin: 0; }
.lc-embed { margin: 1.75em 0; }
.lc-embed--map iframe { aspect-ratio: 4 / 3; }
.people { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 13rem), 1fr)); gap: 2.5rem 1.75rem; margin: 1.75em 0 3em; list-style: none; padding: 0; }
.prose .people li { margin: 0; }
.person__photo { aspect-ratio: 4 / 5; overflow: hidden; background: var(--stone-2); margin-bottom: 1rem; }
.person__photo img { width: 100%; height: 100%; object-fit: cover; object-position: top; margin: 0; transition: transform 1000ms var(--ease-out); }
.person:hover .person__photo img { transform: scale(1.04); }
.person__name { font-family: var(--serif); font-size: 1.3rem; line-height: 1.2; margin: 0 0 0.25rem; }
.person__name a { color: var(--ink); text-decoration: none; }
.person__name a:hover { color: var(--green); text-decoration: underline; }
.person__role { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold-text); margin: 0; line-height: 1.5; }
.person__desc { font-size: var(--fs-xs); color: var(--slate); margin: 0.4rem 0 0; }
.accordion { margin: 1.75em 0; border-top: 1px solid var(--line); }
.accordion__item { border-bottom: 1px solid var(--line); }
.accordion__item summary { display: flex; align-items: center; justify-content: space-between; gap: 1.25rem; padding: 1.25rem 0; cursor: pointer; list-style: none; font-family: var(--serif); font-size: 1.3rem; line-height: 1.3; color: var(--ink); transition: color var(--dur) var(--ease); }
.accordion__item summary::-webkit-details-marker { display: none; }
.accordion__item summary::after { content: ""; flex: none; width: 36px; height: 36px; border: 1px solid var(--line); border-radius: 50%; background: linear-gradient(var(--green), var(--green)) center / 12px 1.5px no-repeat, linear-gradient(var(--green), var(--green)) center / 1.5px 12px no-repeat; transition: transform 420ms var(--ease-io); }
.accordion__item[open] summary::after { transform: rotate(135deg); }
.accordion__item summary:hover { color: var(--green); }
.accordion__body { padding: 0 3.5rem 1.5rem 0; color: var(--slate); }
.accordion__body > :last-child { margin-bottom: 0; }
@supports (interpolate-size: allow-keywords) {
	:root { interpolate-size: allow-keywords; }
	.accordion__item::details-content { block-size: 0; overflow: hidden; transition: block-size 420ms var(--ease-io), content-visibility 420ms allow-discrete; }
	.accordion__item[open]::details-content { block-size: auto; }
}
.profile { display: grid; gap: 2rem; margin: 1.75em 0 2.5em; }
@media (min-width: 640px) { .profile { grid-template-columns: 15rem 1fr; align-items: start; } }
.profile__photo { aspect-ratio: 4 / 5; overflow: hidden; background: var(--stone-2); }
.profile__photo img { width: 100%; height: 100%; object-fit: cover; margin: 0; }
.profile__name { font-family: var(--serif); font-size: var(--fs-xl); line-height: 1.12; margin: 0 0 1.25rem; color: var(--forest); }
.profile__facts { margin: 0; border-top: 1px solid var(--line); }
.profile__facts > div { display: grid; grid-template-columns: 7rem 1fr; gap: 1rem; padding: 0.7rem 0; border-bottom: 1px solid var(--line); font-size: var(--fs-sm); }
.profile__facts dt { color: var(--mute); font-weight: 600; }
.profile__facts dd { margin: 0; }
.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr)); gap: 2.5rem; margin: 2em 0; }
.quote blockquote { margin: 0 0 1rem; padding: 0; border: 0; font-size: var(--fs-md); }
.quote figcaption { font-size: var(--fs-sm); }
.quote__name { font-weight: 600; }
.quote__role { color: var(--slate); }
.logos { display: flex; flex-wrap: wrap; align-items: center; gap: 1.5rem 2.75rem; list-style: none; padding: 0; margin: 2em 0; }
.prose .logos li { margin: 0; }
.logos img { max-height: 56px; width: auto; margin: 0; filter: grayscale(1); opacity: 0.8; transition: filter var(--dur) var(--ease), opacity var(--dur) var(--ease); }
.logos a:hover img { filter: none; opacity: 1; }
.teau-dept-links__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); gap: 0 2.25rem; border-top: 1px solid var(--line); margin: 1em 0 2em; }
.teau-dept-links__card { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; font-family: var(--serif); font-size: var(--fs-md); }
.teau-dept-links__card:hover { color: var(--green); }
.teau-dept-links__name { margin: 0 !important; }
.teau-dept-links__arrow { color: var(--gold-text); }
.prog-list--inline { margin: 1.75em 0; }
.prose .prog-list--inline li { margin: 0; }
.prose .prog-row__link { text-decoration: none; }
.child-pages { margin-top: 3.5rem; }
.child-pages__title { font-size: var(--fs-lg); }
.child-pages ul { border-top: 1px solid var(--line); }
.child-pages a { display: block; padding: 1.1rem 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); }
.child-pages__name { display: block; font-family: var(--serif); font-size: var(--fs-md); }
.child-pages__ex { display: block; font-size: var(--fs-sm); color: var(--slate); margin-top: 0.2rem; }
.child-pages a:hover .child-pages__name { color: var(--green); text-decoration: underline; }
.empty-state { padding: 2.25rem; background: var(--stone); border-left: 2px solid var(--gold); max-width: 46rem; }
.empty-state__title { font-family: var(--serif); font-size: var(--fs-lg); margin-bottom: 0.5rem; }

/* Programme finder --------------------------------------------------------- */
.finder-page { display: grid; gap: 2.5rem 4rem; padding-block: clamp(2.5rem, 5vw, 4rem) var(--section); }
@media (min-width: 1024px) { .finder-page { grid-template-columns: 18rem minmax(0, 1fr); } .finder-panel { position: sticky; top: calc(var(--header-h) + 1.5rem); align-self: start; max-height: calc(100vh - var(--header-h) - 3rem); overflow: auto; padding-right: 0.5rem; } }
.finder-panel label[for], .facet legend { display: block; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-text); margin-bottom: 0.65rem; }
.input-icon { position: relative; }
.input-icon .icon { position: absolute; left: 0.9rem; top: 50%; transform: translateY(-50%); color: var(--mute); pointer-events: none; }
.input-icon input { width: 100%; min-height: 50px; padding: 0.5rem 0.75rem 0.5rem 2.75rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); font-size: var(--fs-base); transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease); }
.input-icon input:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(10, 122, 75, 0.15); }
.facet { margin: 2rem 0 0; padding: 0; border: 0; }
.facet__opt { display: flex; align-items: center; gap: 0.65rem; padding: 0.45rem 0; cursor: pointer; font-size: var(--fs-sm); line-height: 1.3; }
.facet__opt input { width: 18px; height: 18px; margin: 0; accent-color: var(--green); flex: none; }
.facet__opt span:first-of-type { flex: 1; }
.facet__opt:hover span:first-of-type { color: var(--green); }
.facet__n { font-size: var(--fs-xs); color: var(--mute); font-variant-numeric: tabular-nums; }
.facet--toggle { padding-top: 1.5rem; border-top: 1px solid var(--line); }
.facet__help { font-size: var(--fs-xs); color: var(--mute); margin: 0.25rem 0 0 1.9rem; }
.finder-panel__actions { display: flex; align-items: center; gap: 1rem; margin-top: 2rem; }
.finder-panel__reset { font-size: var(--fs-sm); font-weight: 600; }
.js .finder-panel [data-finder-submit] { display: none; }
.finder-filters > summary { display: none; }
@media (max-width: 1023px) {
	.finder-panel { padding: 1.5rem; background: var(--stone); }
	.facet { display: flex; flex-wrap: wrap; gap: 0.45rem; margin-top: 1.25rem; }
	.facet legend { width: 100%; }
	.facet__opt { padding: 0.5rem 0.9rem; border: 1px solid var(--line); border-radius: 99px; background: var(--white); }
	.facet__opt input { position: absolute; opacity: 0; pointer-events: none; }
	.facet__opt:has(input:checked) { background: var(--forest); border-color: var(--forest); color: var(--white); }
	.facet__opt:has(input:checked) .facet__n { color: var(--gold); }
	.facet__opt:has(input:focus-visible) { outline: 3px solid var(--focus); outline-offset: 2px; }
	.facet--toggle .facet__opt input { position: static; opacity: 1; pointer-events: auto; }
	.finder-filters > summary { display: flex; align-items: center; justify-content: space-between; margin-top: 1rem; padding: 0.75rem 0 0; border-top: 1px solid var(--line); font-weight: 600; font-size: var(--fs-sm); cursor: pointer; list-style: none; }
	.finder-filters > summary::-webkit-details-marker { display: none; }
	.finder-filters > summary::after { content: "+"; font-size: 1.25rem; color: var(--green); }
	.finder-filters[open] > summary::after { content: "–"; }
}
.finder-results__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; padding-bottom: 1.25rem; }
.finder-results__count { font-size: var(--fs-xl); font-weight: 300; margin: 0; color: var(--forest); }
.prog-group { margin-top: 2.75rem; }
.prog-group:first-of-type { margin-top: 0.5rem; }
.prog-group__title { font-family: var(--sans); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-text); margin-bottom: 0.35rem; }
.prog-group .prog-row__title { font-size: var(--fs-md); }
.finder-empty { padding: 2.25rem; background: var(--stone); margin-top: 1rem; }
.finder-empty__title { font-family: var(--serif); font-size: var(--fs-lg); }
.earlier-note { background: var(--gold-2); font-size: var(--fs-sm); }
.earlier-note p { margin: 0; padding: 0.85rem 0; }
.earlier-note a { color: var(--forest); font-weight: 600; margin-left: 0.35rem; }

/* Programme page ----------------------------------------------------------- */
.prog-hero { display: grid; background: var(--forest); color: rgba(255, 255, 255, 0.84); }
.prog-hero__inner { max-width: calc(var(--wrap) + var(--gutter) * 2); margin-inline: auto; padding: clamp(3rem, 7vw, 6.5rem) var(--gutter); }
.prog-hero .crumbs a, .prog-hero .crumbs li { color: rgba(255, 255, 255, 0.72); }
.prog-hero__level { display: inline-flex; align-items: center; gap: 0.75rem; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); margin-bottom: 1.25rem; }
.prog-hero__level::before { content: ""; width: 2rem; height: 1px; background: currentColor; }
.prog-hero__title { font-size: var(--fs-3xl); font-weight: 300; letter-spacing: -0.035em; line-height: 1.02; color: var(--white); margin-bottom: 0.5em; }
.prog-hero__summary { font-size: var(--fs-md); line-height: 1.55; max-width: 38rem; }
.prog-hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 2rem; margin-top: 2.25rem; }
.prog-hero__media { position: relative; min-height: 20rem; overflow: hidden; background: var(--night); }
.prog-hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 1024px) {
	.prog-hero--image { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); min-height: 34rem; }
	.prog-hero--image .prog-hero__copy { display: flex; align-items: flex-end; }
	.prog-hero--image .prog-hero__inner { width: 100%; max-width: calc(var(--wrap) * 0.55 + var(--gutter)); margin: 0 0 0 auto; padding-right: clamp(2rem, 4vw, 4rem); }
}
.keyfacts { background: var(--stone); border-bottom: 1px solid var(--line); }
.keyfacts__list { display: grid; grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr)); margin: 0; }
.keyfacts__list > div { padding: 1.5rem 1.5rem 1.5rem 0; border-right: 1px solid var(--line); }
.keyfacts__list > div + div { padding-left: 1.5rem; }
.keyfacts__list > div:last-child { border-right: 0; }
.keyfacts dt { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-text); margin-bottom: 0.4rem; }
.keyfacts dd { margin: 0; font-family: var(--serif); font-size: 1.15rem; line-height: 1.3; color: var(--forest); }
.keyfacts dd a { color: inherit; }
.keyfacts__docs { display: flex; flex-wrap: wrap; gap: 0.75rem 2rem; padding: 0 0 1.25rem; }
.keyfacts__docs a { display: inline-flex; align-items: center; gap: 0.5rem; font-weight: 600; font-size: var(--fs-sm); }
@media (max-width: 700px) { .keyfacts__list > div { border-right: 0; border-bottom: 1px solid var(--line); padding-left: 0 !important; } }
.prog-block { margin-top: 4rem; }
.prog-block h2 { font-size: var(--fs-xl); color: var(--forest); }
.ticks li { position: relative; padding: 0.7rem 0 0.7rem 2rem; border-bottom: 1px solid var(--line); }
.ticks li::before { content: ""; position: absolute; left: 0.25rem; top: 1.15rem; width: 0.85rem; height: 0.45rem; border-left: 2px solid var(--green); border-bottom: 2px solid var(--green); transform: rotate(-45deg); }
.pills { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.pills li { padding: 0.5rem 1rem; background: var(--stone); border-radius: 99px; font-size: var(--fs-sm); }
.apply-steps { margin-top: 4.5rem; padding: clamp(2rem, 4vw, 3rem); background: var(--forest); color: rgba(255, 255, 255, 0.82); }
.apply-steps h2 { font-size: var(--fs-xl); color: var(--white); }
.apply-steps ol { counter-reset: step; display: grid; margin: 1.75rem 0 2.25rem; border-top: 1px solid var(--line-dark); }
.apply-steps li { counter-increment: step; position: relative; padding: 1.1rem 0 1.1rem 3.5rem; border-bottom: 1px solid var(--line-dark); }
.apply-steps li::before { content: counter(step); position: absolute; left: 0; top: 1rem; font-family: var(--serif); font-size: 1.6rem; line-height: 1; color: var(--gold); }
.apply-steps h3 { font-family: var(--sans); font-size: var(--fs-base); font-weight: 600; letter-spacing: 0; color: var(--white); margin-bottom: 0.25rem; }
.apply-steps li p { margin: 0; font-size: var(--fs-sm); }
.apply-steps__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.75rem; }
.apply-steps__foot p { margin: 0; font-size: var(--fs-sm); }
.apply-steps__foot a:not(.btn) { color: var(--white); }
.apply-steps .btn--primary { --btn-bg: var(--gold); --btn-fg: var(--night); --btn-bd: var(--gold); --btn-hover: var(--white); --btn-hover-fg: var(--night); }
.related { background: var(--stone); }

/* Admissions, resources, documents, contact, schools ---------------------- */
.steps { counter-reset: step; display: grid; border-top: 1px solid var(--ink); }
.steps > li { counter-increment: step; position: relative; display: grid; grid-template-columns: 4rem minmax(0, 1fr); padding: 1.75rem 0; border-bottom: 1px solid var(--line); }
.steps > li::before { content: counter(step); font-family: var(--serif); font-size: var(--fs-2xl); font-weight: 300; line-height: 1; color: var(--gold-text); grid-row: 1 / span 5; }
.steps > li > * { grid-column: 2; }
.steps > li > a { justify-self: start; }
.steps h3 { font-size: var(--fs-lg); margin-bottom: 0.35rem; }
.steps p { color: var(--slate); margin-bottom: 0.85rem; }
.steps > li > :last-child { margin-bottom: 0; }
.level-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.level-grid a { display: flex; flex-direction: column; gap: 0.6rem; height: 100%; padding: 1.75rem 1.4rem; background: var(--white); text-decoration: none; color: var(--ink); transition: background-color 420ms var(--ease), color 420ms var(--ease); }
.level-grid__n { font-family: var(--serif); font-size: var(--fs-2xl); font-weight: 300; line-height: 1; color: var(--forest); transition: color 420ms var(--ease); }
.level-grid__label { font-weight: 600; font-size: var(--fs-sm); }
.level-grid a:hover { background: var(--forest); color: var(--white); }
.level-grid a:hover .level-grid__n { color: var(--gold); }
.resource-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 17rem), 1fr)); gap: 1rem; margin-top: 1.5rem; }
.resource { display: grid; grid-template-columns: auto 1fr; grid-template-areas: "icon name" "icon desc"; column-gap: 1rem; row-gap: 0.3rem; padding: 1.4rem; border: 1px solid var(--line); background: var(--white); text-decoration: none; color: var(--ink); transition: border-color var(--dur) var(--ease), transform 420ms var(--ease-out), box-shadow 420ms var(--ease-out); }
.resource .icon:first-child { grid-area: icon; color: var(--gold-text); margin-top: 0.1rem; }
.resource__name { grid-area: name; display: inline-flex; align-items: center; gap: 0.4rem; font-weight: 600; }
.resource__name .icon { color: var(--mute); }
.resource__desc { grid-area: desc; font-size: var(--fs-sm); color: var(--slate); }
.resource:hover { border-color: var(--forest); transform: translateY(-3px); box-shadow: 0 18px 30px -24px rgba(6, 37, 28, 0.5); }
.resource:hover .resource__name { color: var(--green); }
.resources { padding-block: clamp(3rem, 6vw, 5rem) var(--section); }
.resources__group + .resources__group { margin-top: 3.5rem; }
.resources__title { font-size: var(--fs-lg); margin-bottom: 0.25rem; color: var(--forest); }
.resources__intro { max-width: 48rem; margin-bottom: 2.5rem; }
.resources__split { display: grid; gap: 3rem; margin-top: 4.5rem; padding-top: 3.5rem; border-top: 1px solid var(--line); }
@media (min-width: 900px) { .resources__split { grid-template-columns: 1fr 1fr; } }
.notice-list { border-top: 1px solid var(--line); }
.doc-list { border-top: 1px solid var(--line); margin: 1rem 0 1.75rem; }
.doc-list a { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 0.25rem 0.9rem; padding: 0.95rem 0; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; transition: padding 420ms var(--ease-out); }
.doc-list .icon { color: var(--green); }
.doc-list__name { font-weight: 600; font-size: var(--fs-sm); }
.doc-list__meta { font-size: var(--fs-xs); color: var(--mute); text-align: right; }
.doc-list a:hover { padding-left: 0.5rem; }
.doc-list a:hover .doc-list__name { color: var(--green); }
@media (max-width: 560px) { .doc-list a { grid-template-columns: auto 1fr; } .doc-list__meta { grid-column: 2; text-align: left; } }
.downloads__filter { max-width: 32rem; margin-bottom: 1.75rem; }
.downloads__filter label { display: block; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-text); margin-bottom: 0.6rem; }
.downloads__count { font-size: var(--fs-sm); color: var(--slate); margin: 0.75rem 0 0; min-height: 1.5em; }
.contact-list li { display: grid; grid-template-columns: auto 1fr; column-gap: 1.1rem; padding: 1.1rem 0; border-bottom: 1px solid var(--line); }
.contact-list li > .icon { grid-row: span 2; color: var(--gold-text); margin-top: 0.15rem; }
.contact-list li > span { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--slate); }
.contact-list a, .contact-list address { font-size: var(--fs-md); font-family: var(--serif); color: var(--ink); text-decoration: none; }
.contact-list a:hover { color: var(--green); text-decoration: underline; }
.contact { display: grid; gap: 3.5rem; padding-block: clamp(3rem, 6vw, 5rem) var(--section); }
@media (min-width: 960px) { .contact { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.3fr); gap: 6rem; } }
.contact__panel .btn { margin: 1.75rem 0; }
.contact__map iframe { width: 100%; aspect-ratio: 4 / 3; margin-bottom: 2rem; }
.contact__form .section-title { font-size: var(--fs-xl); }
.contact__form-intro { color: var(--slate); }
.school-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 21rem), 1fr)); gap: 3rem 2.25rem; margin-top: 2.25rem; }
.school { position: relative; display: flex; flex-direction: column; padding-top: 1.4rem; border-top: 1px solid var(--ink); }
.school::before { content: ""; position: absolute; left: 0; top: -1px; width: 3rem; height: 3px; background: var(--gold); }
.school__name { font-size: var(--fs-lg); }
.school__name a { color: var(--ink); text-decoration: none; }
.school__name a:hover { color: var(--green); }
.school__meta { font-size: var(--fs-sm); color: var(--slate); margin-bottom: 0.6rem; }
.school__levels { display: flex; flex-wrap: wrap; gap: 0.35rem; margin-bottom: 1.1rem !important; }
.school__levels li { font-size: 0.72rem; font-weight: 600; padding: 0.2rem 0.6rem; background: var(--stone); }
.school__progs { margin-bottom: 1.4rem !important; }
.school__progs li a { display: block; padding: 0.45rem 0; font-size: var(--fs-sm); color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line); }
.school__progs li a:hover { color: var(--green); }
.school .link-arrow { margin-top: auto; align-self: start; }
.link-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 18rem), 1fr)); gap: 0 2.25rem; margin: 1rem 0 2rem; border-top: 1px solid var(--line); }
.link-grid a { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.1rem 0; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; font-family: var(--serif); font-size: var(--fs-md); }
.link-grid a .icon { color: var(--gold-text); transition: transform var(--dur) var(--ease); }
.link-grid a:hover { color: var(--green); }
.link-grid a:hover .icon--arrow { transform: translateX(5px); }
.photo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(46%, 16rem), 1fr)); gap: 0.6rem; }
.photo-grid a { display: block; overflow: hidden; background: var(--stone-2); aspect-ratio: 3 / 2; }
.photo-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform 1000ms var(--ease-out); }
.photo-grid a:hover img { transform: scale(1.05); }
.lightbox { max-width: min(92vw, 1400px); max-height: 92vh; padding: 0; border: 0; background: transparent; overflow: visible; }
.lightbox::backdrop { background: rgba(6, 37, 28, 0.94); }
.lightbox img { max-height: 88vh; width: auto; margin: auto; }
.lightbox__close { position: absolute; top: -3rem; right: 0; color: var(--white); }
.lightbox__close:hover { background: rgba(255, 255, 255, 0.12); }
.search-page { padding-block: 3rem var(--section); }
.search-inline { display: flex; gap: 0.5rem; max-width: 42rem; margin-bottom: 3rem; }
.search-inline input { flex: 1; min-width: 0; min-height: 52px; padding: 0 1.1rem; border: 1px solid var(--line); border-radius: var(--radius); }
.search-inline input:focus { outline: none; border-color: var(--green); }
.search-block + .search-block { margin-top: 4rem; }
.search-block__title { font-size: var(--fs-xl); color: var(--forest); }
.search-block .link-arrow { margin-top: 1.4rem; }
.search-list li { padding: 1.4rem 0; border-bottom: 1px solid var(--line); }
.search-list h3 { font-size: var(--fs-md); margin-bottom: 0.3rem; }
.search-list h3 a { color: var(--ink); text-decoration: none; }
.search-list h3 a:hover { color: var(--green); text-decoration: underline; }
.search-list p { margin: 0; color: var(--slate); font-size: var(--fs-sm); }
.search-list__type { font-size: 0.7rem !important; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold-text) !important; margin-bottom: 0.35rem !important; }
.quick-links { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.quick-links a { display: inline-block; padding: 0.8rem 1.2rem; border: 1px solid var(--line); font-weight: 600; text-decoration: none; }
.quick-links a:hover { border-color: var(--green); }

/* Article ------------------------------------------------------------------ */
.article__head { padding-top: clamp(2.5rem, 6vw, 4.5rem); max-width: calc(58rem + var(--gutter) * 2); }
.article__meta { display: flex; flex-wrap: wrap; gap: 0.25rem 1.25rem; font-size: var(--fs-sm); color: var(--slate); }
.article__cat { font-weight: 600; font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-text); text-decoration: none; }
.article__title { font-size: var(--fs-3xl); font-weight: 300; letter-spacing: -0.035em; line-height: 1.04; color: var(--forest); margin: 1rem 0 1.25rem; }
.article__standfirst { font-family: var(--serif); font-size: var(--fs-lg); line-height: 1.45; color: var(--slate); }
.article__figure { margin-top: 2.5rem; }
.article__figure img { width: 100%; max-height: 82vh; object-fit: cover; }
.article__figure figcaption { margin-top: 0.7rem; font-size: var(--fs-xs); color: var(--slate); }
.article__body { display: grid; gap: 2rem; padding-block: clamp(2.5rem, 6vw, 4rem) var(--section); max-width: calc(58rem + var(--gutter) * 2); }
@media (min-width: 1100px) { .article__body { max-width: calc(var(--wrap) + var(--gutter) * 2); grid-template-columns: 1fr minmax(0, 44rem) 1fr; } .article__aside { grid-column: 1; justify-self: end; position: sticky; top: calc(var(--header-h) + 2rem); align-self: start; } .article__body .prose { grid-column: 2; } }
.share__label { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-text); margin-bottom: 0.6rem; }
.share ul { display: flex; gap: 0.4rem; }
@media (min-width: 1100px) { .share ul { flex-direction: column; } }
.share a, .share button { display: inline-grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%; background: var(--white); color: var(--ink); transition: border-color var(--dur) var(--ease), color var(--dur) var(--ease), background-color var(--dur) var(--ease); }
.share a:hover, .share button:hover { border-color: var(--forest); background: var(--forest); color: var(--white); }
.share__copy-label { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.share button.is-copied { background: var(--forest); color: var(--white); border-color: var(--forest); }
.related-news { background: var(--stone); }

/* Forms -------------------------------------------------------------------- */
.prose input[type="text"], .prose input[type="email"], .prose input[type="tel"], .prose input[type="url"], .prose input[type="number"], .prose input[type="date"], .prose input[type="file"], .prose select, .prose textarea,
.wpcf7 input:not([type="submit"]):not([type="checkbox"]):not([type="radio"]):not([type="hidden"]), .wpcf7 select, .wpcf7 textarea,
.gform_wrapper input:not([type="submit"]):not([type="checkbox"]):not([type="radio"]):not([type="button"]):not([type="hidden"]), .gform_wrapper select, .gform_wrapper textarea { width: 100%; min-height: 52px; padding: 0.65rem 0.9rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); font-family: var(--sans); font-size: var(--fs-base); transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease); }
.prose textarea, .wpcf7 textarea, .gform_wrapper textarea { min-height: 10rem; }
.prose input:focus, .prose select:focus, .prose textarea:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(10, 122, 75, 0.15); }
.wpcf7 label, .gform_wrapper .gfield_label { display: block; font-weight: 600; font-size: var(--fs-sm); margin-bottom: 0.4rem; }
.wpcf7 p { margin-bottom: 1.2rem; }
.wpcf7 input[type="submit"], .gform_wrapper input[type="submit"], .gform_wrapper .gform_button, .prose button[type="submit"] { min-height: 52px; padding: 0.75rem 1.75rem; border: 0; border-radius: var(--radius); background: var(--green); color: var(--white); font-weight: 600; cursor: pointer; transition: background-color var(--dur) var(--ease); }
.wpcf7 input[type="submit"]:hover, .gform_wrapper input[type="submit"]:hover { background: var(--forest); }
.wpcf7-not-valid-tip, .gform_wrapper .validation_message { color: #b42318; font-size: var(--fs-sm); margin-top: 0.3rem; }
.wpcf7 form .wpcf7-response-output { margin: 1.25rem 0 0; padding: 0.9rem 1.1rem; border: 0; border-left: 3px solid var(--green); background: var(--stone); }
.wpcf7 form.invalid .wpcf7-response-output, .wpcf7 form.failed .wpcf7-response-output { border-color: #b42318; }
.wpcf7 .hidden-fields-container { display: none; border: 0; margin: 0; padding: 0; }
.wpcf7 form .wpcf7-response-output:empty, .wpcf7 form.init .wpcf7-response-output { display: none; }
.wpcf7-spinner { margin-left: 0.75rem; }

/* Footer ------------------------------------------------------------------- */
.site-footer { position: relative; background: var(--night); color: rgba(255, 255, 255, 0.72); font-size: var(--fs-sm); padding-top: clamp(4.5rem, 8vw, 7rem); }
.site-footer::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: linear-gradient(90deg, var(--forest-3) 0 33%, var(--gold) 33% 66%, var(--forest-3) 66%); }
.site-footer a { color: rgba(255, 255, 255, 0.84); text-decoration: none; }
.site-footer a:hover { color: var(--gold-2); }
.site-footer__top { display: grid; gap: 3rem; padding-bottom: 3.5rem; border-bottom: 1px solid var(--line-dark); }
@media (min-width: 900px) { .site-footer__top { grid-template-columns: 1.6fr 1fr; } }
.site-footer__brand { display: inline-flex; flex-direction: column; gap: 1.5rem; margin-bottom: 1.5rem; }
.site-footer__logo { height: 64px; width: auto; filter: brightness(0) invert(1); opacity: 0.95; }
.site-footer__name { display: block; max-width: 16ch; font-family: var(--serif); font-size: var(--fs-2xl); font-weight: 300; letter-spacing: -0.025em; line-height: 1.04; color: var(--white); }
.site-footer__status { max-width: 36rem; }
.site-footer__address { margin-bottom: 1.25rem; }
.site-footer__heading { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); margin-bottom: 1rem; }
.site-footer__contact > ul:not(.social) { display: grid; margin-bottom: 1.5rem; }
.site-footer__contact > ul:not(.social) li a, .site-footer__contact > ul:not(.social) li { display: inline-flex; align-items: center; gap: 0.65rem; padding: 0.3rem 0; font-family: var(--serif); font-size: var(--fs-md); }
.site-footer__cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr)); gap: 2.5rem; padding-block: 3.5rem; }
.site-footer__cols li a { display: inline-block; padding: 0.32rem 0; }
.site-footer__base { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 2rem; padding-block: 1.75rem; border-top: 1px solid var(--line-dark); font-size: var(--fs-xs); color: rgba(255, 255, 255, 0.6); }
.site-footer__base p { margin: 0; }
.site-footer__legal { display: flex; gap: 1.25rem; list-style: none; margin: 0; padding: 0; }
.to-top { margin-left: auto; }
.social { display: flex; flex-wrap: wrap; gap: 0.45rem; }
.social a { display: inline-grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%; color: var(--ink); transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease); }
.social a:hover { border-color: var(--forest); background: var(--forest); color: var(--white); }
.social--light a { border-color: rgba(255, 255, 255, 0.25); color: var(--white); }
.social--light a:hover { border-color: var(--gold); background: var(--gold); color: var(--night); }

/* Plugins ------------------------------------------------------------------ */
.tribe-events, .tribe-common { --tec-color-accent-primary: var(--green); --tec-color-accent-primary-hover: var(--green-dark); --tec-font-family-sans-serif: var(--sans); }
.tribe-events-pg-template, #tribe-events-pg-template { max-width: calc(var(--wrap) + var(--gutter) * 2) !important; padding: 3rem var(--gutter) var(--section) !important; margin: 0 auto; }
.awsm-job-wrap, .awsm-job-single-wrap { max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 2rem var(--gutter) var(--section); }

/* Motion --------------------------------------------------------------------
   One orchestrated opening, image curtains on scroll, gentle parallax.
   Everything starts visible without JavaScript and is off under reduced motion. */
@media (prefers-reduced-motion: no-preference) {
	.js .hero__slide.is-active img { animation: kenburns var(--slide-ms, 7000ms) linear both; }
	.js .hero__eyebrow { animation: rise 900ms var(--ease-out) 150ms both; }
	.js .hero__line > span { animation: line-up 1100ms var(--ease-out) both; }
	.js .hero__line:nth-child(1) > span { animation-delay: 250ms; }
	.js .hero__line:nth-child(2) > span { animation-delay: 380ms; }
	.js .hero__text { animation: rise 1000ms var(--ease-out) 600ms both; }
	.js .hero__actions { animation: rise 1000ms var(--ease-out) 720ms both; }
	.js .hero__meta { animation: fade 1200ms var(--ease) 1000ms both; }
	.js .pathways__panel { animation: rise 1100ms var(--ease-out) 820ms both; }
	.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity 1000ms var(--ease-out), transform 1000ms var(--ease-out); }
	.js [data-reveal].is-in { opacity: 1; transform: none; }
	.js [data-reveal-img] { transition: clip-path 1300ms var(--ease-io); }
	.js [data-reveal-img] img { transition: transform 1600ms var(--ease-out); }
	.js [data-reveal-img].is-pending { clip-path: inset(100% 0 0 0); }
	.js [data-reveal-img].is-pending img { transform: scale(1.15); }
}
@keyframes kenburns { from { transform: scale(1.12) translate3d(1%, 1%, 0); } to { transform: scale(1) translate3d(0, 0, 0); } }
@keyframes line-up { from { transform: translateY(105%); } to { transform: none; } }
@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; } }
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: 320ms; }
@media (prefers-reduced-motion: reduce) { @view-transition { navigation: none; } }

@media print {
	.site-header, .site-footer, .notice-bar, .admit, .toc, .share, .related, .related-news, .pathways, .hero__meta, .hero__slides, .hero__veil, .page-hero__media, .prog-hero__media { display: none !important; }
	.prog-hero, .page-hero, .hero { background: none !important; color: #000 !important; min-height: 0 !important; }
	.prog-hero *, .page-hero *, .hero * { color: #000 !important; }
}

/* Narrow-screen guards */
.pathways__panel > *, .pathways__list > li, .news-home__grid > *, .welcome__grid > *, .life__grid > *, .explorer__grid > *, .admit__inner > * { min-width: 0; }
@media (max-width: 400px) { .btn { white-space: normal; text-align: left; } .pathways__list a { padding: 1.3rem 1rem 1.1rem; } }
.news-card--side { grid-template-columns: 8.5rem minmax(0, 1fr); }
.news-card__title { overflow-wrap: anywhere; }
@media (max-width: 400px) { .news-card--side { grid-template-columns: 5.5rem minmax(0, 1fr); gap: 1rem; } }
/* Keep the logo at its natural width; the menu takes the remaining space.
   The masthead runs full width so the institution's nine top-level menu items fit. */
.brand { flex: none; }
.brand__logo { max-width: none; }
.nav { min-width: 0; }
.nav__list { justify-content: safe center; }
.masthead__inner.wrap, .utility__inner.wrap { max-width: none; }
@media (min-width: 1360px) {
	.brand__logo { height: 48px; }
	.site-header.is-scrolled .brand__logo { height: 42px; }
}
@media (min-width: 1360px) and (max-width: 1599px) {
	.masthead__inner { gap: 1rem; }
	.nav__list { gap: 0; }
	.nav__link { padding: 0 0.45rem; font-size: 0.85rem; }
	.nav__link::after { left: 0.45rem; right: 0.45rem; }
}
@media (max-width: 480px) { .brand__logo { max-width: 58vw; } }
/* The list reset (ul[role="list"]) is more specific than .rail__track; restore the rail's inset. */
.rail__track[role="list"] { padding-inline: max(var(--gutter), calc((100vw - var(--wrap)) / 2)); padding-bottom: 1.5rem; }
/* Route: leave room above the line for the Kitengela label. */
.route { height: 9rem; margin: 2rem 0 1.5rem; }
.route::before { top: 4.2rem; }
.route__stop { top: calc(4.2rem - 5px); }
.route__stop:nth-child(2) { top: 0; }
.route__stop:nth-child(2)::before { top: calc(4.2rem - 5px); }
/* Admissions band: keep the steps legible over bright photographs. */
.admit__media::after { background: linear-gradient(90deg, rgba(6, 37, 28, 0.95) 25%, rgba(6, 37, 28, 0.8) 60%, rgba(6, 37, 28, 0.72)); }
/* Footer: the logo already carries the name; keep the text for screen readers only. */
.site-footer__logo + .site-footer__name { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ==========================================================================
   v2.1 — Typography, cards and motion
   EB Garamond: the classical Garamond of academic publishing, for every heading.
   Source Sans 3: a humanist sans that pairs with it, for reading and interface.
   ========================================================================== */
@font-face { font-family: "EB Garamond Variable"; src: url("https://cdn.jsdelivr.net/npm/@fontsource-variable/eb-garamond@5.3.0/files/eb-garamond-latin-wght-normal.woff2") format("woff2-variations"); font-weight: 400 800; font-style: normal; font-display: swap; }
@font-face { font-family: "EB Garamond Variable"; src: url("https://cdn.jsdelivr.net/npm/@fontsource-variable/eb-garamond@5.3.0/files/eb-garamond-latin-wght-italic.woff2") format("woff2-variations"); font-weight: 400 800; font-style: italic; font-display: swap; }
@font-face { font-family: "Source Sans 3 Variable"; src: url("https://cdn.jsdelivr.net/npm/@fontsource-variable/source-sans-3@5.3.1/files/source-sans-3-latin-wght-normal.woff2") format("woff2-variations"); font-weight: 200 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Source Sans 3 Variable"; src: url("https://cdn.jsdelivr.net/npm/@fontsource-variable/source-sans-3@5.3.1/files/source-sans-3-latin-wght-italic.woff2") format("woff2-variations"); font-weight: 200 900; font-style: italic; font-display: swap; }

:root {
	--serif: "EB Garamond Variable", "EB Garamond", Garamond, "Iowan Old Style", "Palatino Linotype", Georgia, serif;
	--sans: "Source Sans 3 Variable", "Source Sans 3", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
	--fs-base: 1.125rem;
	--fs-sm: 1rem;
	--fs-xs: 0.875rem;
	--radius: 8px;
	--radius-card: 14px;
	--card-bd: #e1e6e0;
	--shadow-1: 0 1px 2px rgba(6, 37, 28, 0.05), 0 6px 18px -10px rgba(6, 37, 28, 0.18);
	--shadow-2: 0 2px 4px rgba(6, 37, 28, 0.04), 0 26px 48px -22px rgba(6, 37, 28, 0.38);
}
body { line-height: 1.6; }
h1, h2, h3, h4, h5, h6 { font-weight: 500; letter-spacing: -0.012em; }
.label, .hero__eyebrow, .prog-hero__level, .school-card__n, .figures dt, .nav__group-title, .site-footer__heading, .toc__title, .person__role, .news-card__cat, .keyfacts dt { letter-spacing: 0.14em; font-weight: 700; }
.nav__link { font-weight: 600; letter-spacing: 0.005em; }
.btn { font-weight: 700; letter-spacing: 0.02em; }

/* Display sizes: Garamond reads best at regular weight with gentle negative tracking. */
.hero__title, .welcome__title, .page-hero__title, .prog-hero__title, .admit__title, .article__title, .site-footer__name { font-weight: 400; letter-spacing: -0.022em; }
.hero__title { line-height: 0.95; }
.hero__line:nth-child(2) { font-style: italic; color: var(--gold-2); }
.section-title { font-weight: 500; letter-spacing: -0.02em; }
.figures__num, .pathways__n, .level-grid__n, .steps > li::before, .finder-results__count, .admit__step-n { font-weight: 400; }
.prog-row__title, .school-card__name, .news-card__title, .explorer__tab, .life__links a, .accordion__item summary, .why__item h3 { font-weight: 500; }
.prose--article { font-size: 1.28rem; }

/* Cards ------------------------------------------------------------------- */
.pathways__panel { border-radius: var(--radius-card); overflow: hidden; }
.school-card a, .mosaic__item, .welcome__img, .explorer__img, .news-card__media, .place__card, .events-mini, .apply-steps, .empty-state, .finder-empty, .nav__feature, .profile__photo, .person__photo, .lc-box__media, .lc-gallery img, .photo-grid a, .article__figure img { border-radius: var(--radius-card); }
.welcome__img--b { border-radius: calc(var(--radius-card) + 10px); }
.explorer__img figcaption { border-top-right-radius: var(--radius); }

/* Programme cards in the explorer */
.explorer .prog-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 17rem), 1fr)); gap: 1rem; border: 0; }
.explorer .prog-row { border: 0; }
.explorer .prog-row__link { height: 100%; grid-template-areas: "title title" "meta go"; grid-template-columns: minmax(0, 1fr) auto; align-content: space-between; gap: 1.25rem 1rem; padding: 1.4rem 1.4rem 1.2rem; background: var(--white); border: 1px solid var(--card-bd); border-radius: var(--radius-card); box-shadow: var(--shadow-1); transition: transform 500ms var(--ease-out), box-shadow 500ms var(--ease-out), border-color var(--dur) var(--ease); }
.explorer .prog-row__link::before { top: 0; bottom: auto; left: 0; right: 0; width: auto; height: 3px; border-radius: var(--radius-card) var(--radius-card) 0 0; transform: scaleX(0); transform-origin: left; }
.explorer .prog-row__summary { display: none; }
.explorer .prog-row__title { font-size: 1.3rem; line-height: 1.2; }
.explorer .prog-row__go { align-self: end; }
@media (hover: hover) {
	.explorer .prog-row__link:hover { padding-left: 1.4rem; transform: translateY(-4px); box-shadow: var(--shadow-2); border-color: transparent; }
	.explorer .prog-row__link:hover::before { transform: scaleX(1); }
}

/* Finder: rows become soft cards on hover, list stays scannable */
.finder-results .prog-row__link { padding-inline: 1rem; border-radius: var(--radius); transition: background-color var(--dur) var(--ease), padding 420ms var(--ease-out); }
@media (hover: hover) { .finder-results .prog-row__link:hover { background: var(--stone); padding-left: 1.5rem; } }

/* Why TEAU: frosted cards on forest */
.why__list { gap: 1rem; }
.why__item { padding: 1.6rem 1.5rem 1.5rem; border: 1px solid var(--line-dark); border-radius: var(--radius-card); background: rgba(255, 255, 255, 0.04); transition: background-color 400ms var(--ease), transform 500ms var(--ease-out), border-color 400ms var(--ease); }
.why__item::before { left: 1.5rem; top: -1px; width: 3rem; height: 2px; }
.why__item:hover { background: rgba(255, 255, 255, 0.08); border-color: rgba(214, 168, 51, 0.45); transform: translateY(-4px); }

/* Campus life links: compact cards */
.life__links { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 13rem), 1fr)); gap: 0.75rem; border: 0; }
.life__links a { height: 100%; padding: 1rem 1.1rem; border: 1px solid var(--card-bd); border-radius: var(--radius); background: var(--white); font-size: 1.15rem; line-height: 1.25; transition: border-color var(--dur) var(--ease), box-shadow 500ms var(--ease-out), transform 500ms var(--ease-out), color var(--dur) var(--ease); }
.life__links a:hover { padding-left: 1.1rem; border-color: var(--gold); box-shadow: var(--shadow-1); transform: translateY(-2px); }

/* News */
.news-home .news-card--feature { overflow: hidden; border: 1px solid var(--card-bd); border-radius: var(--radius-card); background: var(--white); box-shadow: var(--shadow-1); transition: box-shadow 500ms var(--ease-out), transform 500ms var(--ease-out); }
.news-home .news-card--feature .news-card__media { margin: 0; border-radius: 0; }
.news-home .news-card--feature .news-card__body { padding: 1.5rem 1.75rem 1.75rem; }
.news-home .news-card--side { margin-bottom: 0.85rem; padding: 0.75rem; border: 1px solid var(--card-bd); border-radius: var(--radius-card); background: var(--white); box-shadow: var(--shadow-1); transition: box-shadow 500ms var(--ease-out), transform 500ms var(--ease-out); }
.news-home .news-card--side:first-child { padding-top: 0.75rem; }
.news-home .news-card--side .news-card__media { border-radius: calc(var(--radius-card) - 4px); }
.news-home .news-card--side .news-card__body { padding: 0.25rem 0.5rem 0 0; }
.news-home .news-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); }
.news-grid .news-card, .news-lead .news-card { overflow: hidden; border: 1px solid var(--card-bd); border-radius: var(--radius-card); background: var(--white); box-shadow: var(--shadow-1); transition: box-shadow 500ms var(--ease-out), transform 500ms var(--ease-out); }
.news-grid .news-card__media, .news-lead .news-card__media { margin: 0; border-radius: 0; }
.news-grid .news-card__body, .news-lead .news-card__body { padding: 1.25rem 1.4rem 1.5rem; }
.news-grid .news-card:hover, .news-lead .news-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); }
.related-news .news-card { background: var(--white); }

/* Admissions band steps */
.admit__steps { gap: 0.75rem; border: 0; }
.admit__steps li { padding: 1.1rem 1.25rem; border: 1px solid var(--line-dark); border-radius: var(--radius-card); background: rgba(6, 37, 28, 0.55); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }

/* Interior components as cards */
.lc-boxes { gap: 1rem; }
.lc-box { padding: 1.5rem; border: 1px solid var(--card-bd); border-radius: var(--radius-card); background: var(--white); box-shadow: var(--shadow-1); transition: transform 500ms var(--ease-out), box-shadow 500ms var(--ease-out); }
.lc-box::before { left: 1.5rem; top: 0; height: 3px; border-radius: 0 0 3px 3px; }
.lc-box:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); }
.lc-box__media { margin: -0.5rem -0.5rem 1rem; }
.people { gap: 1.25rem; }
.person { padding: 0.75rem 0.75rem 1.1rem; border: 1px solid var(--card-bd); border-radius: var(--radius-card); background: var(--white); box-shadow: var(--shadow-1); transition: transform 500ms var(--ease-out), box-shadow 500ms var(--ease-out); }
.person:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); }
.person__photo { border-radius: calc(var(--radius-card) - 4px); }
.person__name, .person__role, .person__desc { padding-inline: 0.35rem; }
.resource { border-color: var(--card-bd); border-radius: var(--radius-card); box-shadow: var(--shadow-1); }
.resource:hover { box-shadow: var(--shadow-2); }
.school-list { gap: 1.25rem; }
.school { padding: 1.75rem 1.6rem 1.6rem; border: 1px solid var(--card-bd); border-radius: var(--radius-card); background: var(--white); box-shadow: var(--shadow-1); transition: transform 500ms var(--ease-out), box-shadow 500ms var(--ease-out); }
.school::before { left: 1.6rem; top: 0; height: 3px; border-radius: 0 0 3px 3px; }
.school:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); }
.link-grid, .teau-dept-links__grid { gap: 0.75rem; border: 0; }
.link-grid a, .teau-dept-links__card { height: 100%; padding: 1.1rem 1.25rem; border: 1px solid var(--card-bd); border-radius: var(--radius); background: var(--white); transition: border-color var(--dur) var(--ease), box-shadow 500ms var(--ease-out), transform 500ms var(--ease-out), color var(--dur) var(--ease); }
.link-grid a:hover, .teau-dept-links__card:hover { border-color: var(--gold); box-shadow: var(--shadow-1); transform: translateY(-2px); }
.level-grid { gap: 1rem; background: none; border: 0; }
.level-grid a { border: 1px solid var(--card-bd); border-radius: var(--radius-card); box-shadow: var(--shadow-1); }
.level-grid a:hover { box-shadow: var(--shadow-2); transform: translateY(-3px); }
.steps { gap: 1rem; border: 0; }
.steps > li { padding: 1.75rem 1.75rem 1.75rem 1.25rem; border: 1px solid var(--card-bd); border-radius: var(--radius-card); background: var(--white); box-shadow: var(--shadow-1); }
.accordion { display: grid; gap: 0.75rem; border: 0; }
.accordion__item { padding: 0 1.4rem; border: 1px solid var(--card-bd); border-radius: var(--radius-card); background: var(--white); transition: box-shadow 400ms var(--ease-out), border-color var(--dur) var(--ease); }
.accordion__item[open], .accordion__item:hover { border-color: var(--gold); box-shadow: var(--shadow-1); }
.accordion__body { padding-right: 0; }
.child-pages ul { display: grid; gap: 0.75rem; border: 0; }
.child-pages a { padding: 1.1rem 1.35rem; border: 1px solid var(--card-bd); border-radius: var(--radius); background: var(--white); transition: border-color var(--dur) var(--ease), box-shadow 500ms var(--ease-out); }
.child-pages a:hover { border-color: var(--gold); box-shadow: var(--shadow-1); }
.keyfacts__list { gap: 0.75rem; padding-block: 1.25rem; }
.keyfacts__list > div, .keyfacts__list > div + div { padding: 1rem 1.15rem; border: 1px solid var(--card-bd); border-radius: var(--radius); background: var(--white); }
.doc-list a { padding-inline: 0.75rem; border-radius: var(--radius); }
.doc-list a:hover { background: var(--stone); }
.prose input, .prose select, .prose textarea, .wpcf7 input, .wpcf7 select, .wpcf7 textarea, .input-icon input, .search-inline input, .site-search input { border-radius: var(--radius) !important; }

/* Motion ------------------------------------------------------------------- */
.scroll-progress { position: fixed; left: 0; right: 0; top: 0; z-index: 200; height: 3px; background: linear-gradient(90deg, var(--gold), var(--gold-2)); transform: scaleX(0); transform-origin: left; pointer-events: none; }
.admin-bar .scroll-progress { top: var(--wp-admin--admin-bar--height, 32px); }
@media (prefers-reduced-motion: no-preference) {
	.js [data-reveal] .label::before, .js [data-reveal].label::before { transform: scaleX(0); transform-origin: left; transition: transform 900ms var(--ease-io) 250ms; }
	.js [data-reveal].is-in .label::before, .js [data-reveal].is-in.label::before { transform: none; }
	.js [data-reveal].prog-row, .js [data-reveal].why__item, .js [data-reveal].person, .js [data-reveal].lc-box, .js [data-reveal].school, .js [data-reveal].news-card { transform: translateY(36px) scale(0.98); }
	.js [data-reveal].is-in.prog-row, .js [data-reveal].is-in.why__item, .js [data-reveal].is-in.person, .js [data-reveal].is-in.lc-box, .js [data-reveal].is-in.school, .js [data-reveal].is-in.news-card { transform: none; }
	.school-card__media img, .news-card__media img, .mosaic__item img, .person__photo img { will-change: transform; }
	.pathways__list a { transition: background-color 400ms var(--ease); }
	.pathways__list a:hover { background: var(--stone); }
}

/* ==========================================================================
   v2.2 — Header and footer
   ========================================================================== */

/* Announcement: slim night bar with a gold tag */
.notice-bar { background: var(--night); color: rgba(255, 255, 255, 0.86); border-bottom: 1px solid rgba(214, 168, 51, 0.35); }
.notice-bar__inner { gap: 0.35rem 1rem; padding-block: 0.5rem; }
.notice-bar p { display: inline-flex; align-items: center; gap: 0.75rem; font-weight: 600; }
.notice-bar p::before { content: "Admissions"; padding: 0.15rem 0.6rem; border-radius: 99px; background: var(--gold); color: var(--night); font-size: 0.68rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.notice-bar a { display: inline-flex; align-items: center; gap: 0.35rem; color: var(--gold-2); font-weight: 700; text-decoration: none; border-bottom: 1px solid rgba(242, 220, 149, 0.45); transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease); }
.notice-bar a:hover { color: var(--white); border-color: var(--white); }
@media (max-width: 520px) { .notice-bar p::before { display: none; } }

/* Utility row */
.utility { background: var(--forest); border-bottom: 1px solid var(--line-dark); }
.utility__contact a, .utility__nav a { position: relative; }
.utility__nav ul { gap: 0; }
.utility__nav li + li a { padding-left: 1.1rem; margin-left: 1.1rem; border-left: 1px solid var(--line-dark); }

/* Masthead */
.masthead { background: rgba(255, 255, 255, 0.97); -webkit-backdrop-filter: saturate(1.4) blur(12px); backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--line); transition: background-color 400ms var(--ease), border-color 400ms var(--ease), box-shadow 400ms var(--ease); }
.brand { position: relative; padding-right: 1.5rem; }
.brand::after { content: ""; position: absolute; right: 0; top: 18%; bottom: 18%; width: 1px; background: linear-gradient(var(--gold), transparent); opacity: 0.7; }
.brand__logo { transition: height 300ms var(--ease), filter 400ms var(--ease); }
.nav__link { color: var(--ink); }
.nav__link::after { height: 3px; border-radius: 3px 3px 0 0; }
.masthead__actions .btn { border-radius: 99px; padding-inline: 1.4rem; }
.icon-btn { transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease); }
.nav__panel { border-top: 3px solid var(--gold); border-radius: 0 0 var(--radius-card) var(--radius-card); }
.nav__feature { background: radial-gradient(120% 120% at 100% 0%, var(--forest-3) 0%, var(--forest) 55%, var(--night) 100%); }

/* Homepage: the header floats over the hero photograph until you scroll */
.site-header--overlay { background: transparent; position: fixed; left: 0; right: 0; top: max(var(--notice-h, 0px), var(--wp-admin--admin-bar--height, 0px)); }
.home .hero__inner { padding-top: calc(var(--header-h) + 38px + clamp(3rem, 10vh, 8rem)); }
.home .hero__veil { background: linear-gradient(180deg, rgba(6, 37, 28, 0.75) 0%, rgba(6, 37, 28, 0) 30%), linear-gradient(90deg, rgba(6, 37, 28, 0.82) 0%, rgba(6, 37, 28, 0.5) 42%, rgba(6, 37, 28, 0.05) 75%), linear-gradient(0deg, rgba(6, 37, 28, 0.9) 0%, rgba(6, 37, 28, 0) 55%); }
.site-header--overlay:not(.is-scrolled):not(:has([aria-expanded="true"])) .utility { background: transparent; border-bottom-color: rgba(255, 255, 255, 0.14); }
.site-header--overlay:not(.is-scrolled):not(:has([aria-expanded="true"])) .masthead { background: transparent; border-bottom-color: rgba(255, 255, 255, 0.14); -webkit-backdrop-filter: none; backdrop-filter: none; }
.site-header--overlay:not(.is-scrolled):not(:has([aria-expanded="true"])) .brand__logo { filter: brightness(0) invert(1); }
.site-header--overlay:not(.is-scrolled):not(:has([aria-expanded="true"])) .brand__text { color: var(--white); }
.site-header--overlay:not(.is-scrolled):not(:has([aria-expanded="true"])) .nav__link,
.site-header--overlay:not(.is-scrolled):not(:has([aria-expanded="true"])) .icon-btn { color: var(--white); }
.site-header--overlay:not(.is-scrolled):not(:has([aria-expanded="true"])) .icon-btn:hover { background: rgba(255, 255, 255, 0.12); }
.site-header--overlay:not(.is-scrolled):not(:has([aria-expanded="true"])) .nav__link:hover { color: var(--gold-2); }
body.nav-open .site-header--overlay .masthead { background: var(--white); }
body.nav-open .site-header--overlay .brand__logo { filter: none; }
body.nav-open .site-header--overlay .icon-btn { color: var(--ink); }

/* Mobile and tablet drawer: forest, large serif links */
@media (max-width: 1359px) {
	/* backdrop-filter would make the masthead the containing block of the fixed drawer */
	.masthead { -webkit-backdrop-filter: none; backdrop-filter: none; }
	.brand { padding-right: 0; }
	.brand::after { display: none; }
	.nav { background: var(--night); color: var(--white); padding-top: 1rem; }
	.nav__item { border-bottom-color: var(--line-dark); }
	.nav__link, .site-header.is-scrolled .nav__link, .site-header--overlay .nav__link { color: var(--white) !important; font-size: 1.6rem; font-weight: 500; }
	.nav__chev { color: var(--gold); opacity: 1; }
	.nav__panel { background: transparent; border: 0; border-radius: 0; }
	.nav__overview { color: var(--gold-2); }
	.nav__group-title { color: var(--gold); border-bottom-color: var(--line-dark); }
	.nav__group li a { color: rgba(255, 255, 255, 0.84); }
	.nav__group li a:hover { color: var(--gold-2); }
	.nav__utility a { color: rgba(255, 255, 255, 0.72); }
	@media (prefers-reduced-motion: no-preference) {
		.nav.is-open .nav__item { animation: rise 600ms var(--ease-out) both; }
		.nav.is-open .nav__item:nth-child(2) { animation-delay: 40ms; }
		.nav.is-open .nav__item:nth-child(3) { animation-delay: 80ms; }
		.nav.is-open .nav__item:nth-child(4) { animation-delay: 120ms; }
		.nav.is-open .nav__item:nth-child(5) { animation-delay: 160ms; }
		.nav.is-open .nav__item:nth-child(6) { animation-delay: 200ms; }
		.nav.is-open .nav__item:nth-child(n+7) { animation-delay: 240ms; }
	}
}

/* Footer ------------------------------------------------------------------- */
.site-footer { overflow: hidden; padding-top: 0; background: radial-gradient(90% 60% at 85% 0%, rgba(27, 91, 72, 0.55) 0%, rgba(6, 37, 28, 0) 60%), var(--night); }
.site-footer::before { height: 4px; background: linear-gradient(90deg, var(--forest-3) 0 20%, var(--gold) 20% 80%, var(--forest-3) 80%); }

.foot-actions { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); gap: 1rem; padding-block: clamp(3rem, 6vw, 4.5rem) clamp(3rem, 5vw, 4rem); border-bottom: 1px solid var(--line-dark); }
.foot-action { position: relative; display: grid; grid-template-columns: auto 1fr; grid-template-areas: "icon label" "icon value"; column-gap: 1rem; row-gap: 0.15rem; align-items: center; height: 100%; padding: 1.35rem 1.4rem; border: 1px solid var(--line-dark); border-radius: var(--radius-card); background: rgba(255, 255, 255, 0.03); color: var(--white) !important; text-decoration: none; overflow: hidden; isolation: isolate; transition: border-color 400ms var(--ease), transform 500ms var(--ease-out), background-color 400ms var(--ease); }
.foot-action::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(140% 120% at 0% 0%, rgba(214, 168, 51, 0.18), transparent 60%); opacity: 0; transition: opacity 500ms var(--ease); }
.foot-action:hover { border-color: rgba(214, 168, 51, 0.6); transform: translateY(-4px); }
.foot-action:hover::before { opacity: 1; }
.foot-action__icon { grid-area: icon; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: rgba(214, 168, 51, 0.14); color: var(--gold); transition: background-color 400ms var(--ease), color 400ms var(--ease); }
.foot-action:hover .foot-action__icon { background: var(--gold); color: var(--night); }
.foot-action__label { grid-area: label; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255, 255, 255, 0.62); }
.foot-action__value { grid-area: value; display: inline-flex; align-items: center; gap: 0.5rem; min-width: 0; font-family: var(--serif); font-size: 1.3rem; line-height: 1.2; overflow-wrap: anywhere; }
.foot-action--gold { background: var(--gold); border-color: var(--gold); color: var(--night) !important; }
.foot-action--gold .foot-action__label { color: rgba(6, 37, 28, 0.7); }
.foot-action--gold .foot-action__icon { background: rgba(6, 37, 28, 0.12); color: var(--night); }
.foot-action--gold:hover { border-color: var(--gold-2); background: var(--gold-2); }
.foot-action--gold:hover .foot-action__icon { background: var(--night); color: var(--gold); }
.foot-action--gold .icon--arrow { transition: transform var(--dur) var(--ease); }
.foot-action--gold:hover .icon--arrow { transform: translateX(5px); }

.site-footer__top { gap: 3rem 5rem; padding-block: clamp(3.5rem, 6vw, 5rem); border-bottom: 0; }
@media (min-width: 1024px) { .site-footer__top { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.6fr); } }
.site-footer__brand { margin-bottom: 1.75rem; }
.site-footer__logo { height: 72px; }
.site-footer__motto { margin: 0 0 1.5rem; font-family: var(--serif); font-size: clamp(1.9rem, 1.2rem + 2vw, 2.75rem); line-height: 1.08; letter-spacing: -0.02em; color: var(--white); }
.site-footer__motto span { display: block; }
.site-footer__motto em { display: block; color: var(--gold-2); }
.site-footer__status { color: rgba(255, 255, 255, 0.7); }
.site-footer__address { margin-bottom: 1.75rem; color: rgba(255, 255, 255, 0.6); }
.site-footer__cols { gap: 2rem; padding-block: 0; grid-template-columns: repeat(auto-fit, minmax(9.5rem, 1fr)); }
.site-footer__heading { position: relative; padding-bottom: 0.85rem; margin-bottom: 1.1rem; }
.site-footer__heading::after { content: ""; position: absolute; left: 0; bottom: 0; width: 1.75rem; height: 2px; background: var(--gold); }
.site-footer__cols li a { position: relative; padding: 0.38rem 0; color: rgba(255, 255, 255, 0.78); background: linear-gradient(var(--gold-2), var(--gold-2)) left 85% / 0 1px no-repeat; transition: color var(--dur) var(--ease), background-size 420ms var(--ease-io); }
.site-footer__cols li a:hover { color: var(--white); background-size: 100% 1px; }

.site-footer__monogram { margin: 0; padding: 0 var(--gutter); font-family: var(--serif); font-size: clamp(6rem, 3rem + 19vw, 21rem); font-weight: 500; line-height: 0.78; letter-spacing: -0.04em; text-align: center; color: transparent; -webkit-text-stroke: 1px rgba(214, 168, 51, 0.32); user-select: none; transform: translateY(0.08em); }
@supports not (-webkit-text-stroke: 1px black) { .site-footer__monogram { color: rgba(214, 168, 51, 0.08); } }

.site-footer__base { display: block; padding: 0; border-top: 1px solid var(--line-dark); background: rgba(0, 0, 0, 0.22); }
.site-footer__base-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 2rem; padding-block: 1.4rem; }
.site-footer__base-inner p { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; margin: 0; }
.site-footer__hours { display: inline-flex; align-items: center; gap: 0.45rem; color: rgba(255, 255, 255, 0.55); }
.to-top { display: inline-flex; align-items: center; gap: 0.75rem; margin-left: auto; color: var(--white) !important; font-weight: 600; }
.to-top__icon { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid rgba(214, 168, 51, 0.6); border-radius: 50%; color: var(--gold); transform: rotate(-90deg); transition: background-color 400ms var(--ease), color 400ms var(--ease), transform 500ms var(--ease-out); }
.to-top:hover .to-top__icon { background: var(--gold); color: var(--night); transform: rotate(-90deg) translateX(3px); }
@media (prefers-reduced-motion: no-preference) {
	.js .foot-actions li[data-reveal] { transform: translateY(24px); }
}
/* Logged-in editors: keep the floating header below the announcement and the admin bar. */
.admin-bar .site-header--overlay { top: max(var(--notice-h, 0px), var(--wp-admin--admin-bar--height, 0px)); }
@media (max-width: 600px) { .admin-bar .site-header--overlay { top: var(--notice-h, 0px); } }
.admin-bar .nav { top: calc(var(--header-h) + max(var(--notice-h, 0px), var(--wp-admin--admin-bar--height, 0px))); }
@media (max-width: 600px) { .admin-bar .nav { top: calc(var(--header-h) + var(--notice-h, 0px)); } }

/* ==========================================================================
   v2.3 — Lora + Poppins, solid white header, simple green footer
   ========================================================================== */
:root {
	--serif: "Lora", Georgia, "Times New Roman", serif;
	--sans: "Poppins", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
	--fs-base: 1rem;
	--fs-sm: 0.9375rem;
	--fs-xs: 0.8125rem;
}
body { line-height: 1.75; }
h1, h2, h3, h4, h5, h6 { font-weight: 600; letter-spacing: -0.01em; line-height: 1.2; }
.hero__title, .welcome__title, .page-hero__title, .prog-hero__title, .admit__title, .article__title { font-weight: 600; letter-spacing: -0.02em; }
.hero__title { line-height: 1.05; font-size: clamp(2.75rem, 1.2rem + 5.2vw, 6rem); }
.section-title { font-weight: 600; letter-spacing: -0.015em; line-height: 1.12; }
.figures__num, .pathways__n, .level-grid__n, .steps > li::before, .finder-results__count, .admit__step-n { font-weight: 500; }
.prog-row__title, .school-card__name, .news-card__title, .explorer__tab, .life__links a, .accordion__item summary, .why__item h3, .foot-action__value, .contact-list a, .link-grid a, .teau-dept-links__card, .child-pages__name, .person__name, .lc-box h3 { font-weight: 600; }
.explorer__tab, .life__links a, .accordion__item summary { font-size: 1.1rem; }
.label, .hero__eyebrow, .prog-hero__level, .school-card__n, .figures dt, .nav__group-title, .site-footer__heading, .toc__title, .person__role, .news-card__cat, .keyfacts dt, .foot-action__label { font-weight: 600; letter-spacing: 0.12em; }
.btn { font-weight: 600; letter-spacing: 0.01em; }
.prose { line-height: 1.8; }
.prose--article { font-family: var(--serif); font-size: 1.15rem; }
.site-footer__monogram { display: none; }

/* Header: solid white, green top strip ---------------------------------- */
.site-header, .site-header--overlay { position: sticky; top: 0; background: var(--white); }
.admin-bar .site-header { top: var(--wp-admin--admin-bar--height, 32px); }
@media (max-width: 600px) { .admin-bar .site-header { top: 0; } }
.home .hero__inner { padding-top: clamp(7rem, 18vh, 12rem); }
.notice-bar { background: var(--gold); color: var(--night); border-bottom: 0; }
.notice-bar p::before { background: var(--night); color: var(--gold-2); }
.notice-bar a { color: var(--night); border-bottom-color: rgba(6, 37, 28, 0.5); }
.notice-bar a:hover { color: var(--forest); border-color: var(--forest); }
.utility { background: var(--green-dark); border-bottom: 0; color: rgba(255, 255, 255, 0.9); }
.utility a:hover { color: var(--gold-2); }
.utility__nav li + li a { border-left-color: rgba(255, 255, 255, 0.25); }
.masthead { background: var(--white); -webkit-backdrop-filter: none; backdrop-filter: none; border-bottom: 1px solid var(--line); box-shadow: none; }
.site-header.is-scrolled .masthead { box-shadow: 0 8px 24px -16px rgba(6, 37, 28, 0.35); }
.brand { padding-right: 0; }
.brand::after { display: none; }
.brand__logo { filter: none !important; }
.nav__link { color: var(--forest); font-weight: 500; font-size: 0.875rem; letter-spacing: 0; }
.nav__link:hover, .nav__toggle[aria-expanded="true"] { color: var(--green); }
.nav__item.is-current > .nav__link { color: var(--green); font-weight: 600; }
.nav__link::after { background: var(--green); height: 3px; }
.icon-btn { color: var(--forest) !important; }
.icon-btn:hover { background: var(--stone) !important; }
.masthead__actions .btn { --btn-bg: var(--green); --btn-fg: var(--white); --btn-bd: var(--green); --btn-hover: var(--forest); --btn-hover-fg: var(--white); --btn-hover-bd: var(--forest); border-radius: var(--radius); }
.nav__panel { border-top: 3px solid var(--green); border-radius: 0 0 var(--radius-card) var(--radius-card); }
@media (min-width: 1360px) and (max-width: 1599px) { .nav__link { font-size: 0.8125rem; } }
@media (max-width: 1359px) {
	.nav { background: var(--white); color: var(--ink); }
	.nav__item { border-bottom-color: var(--line); }
	.nav__link, .site-header.is-scrolled .nav__link, .site-header--overlay .nav__link { color: var(--forest) !important; font-family: var(--sans); font-size: 1.15rem; font-weight: 600; }
	.nav__chev { color: var(--green); }
	.nav__overview { color: var(--green); }
	.nav__group-title { color: var(--gold-text); border-bottom-color: var(--line); }
	.nav__group li a { color: var(--ink); }
	.nav__group li a:hover { color: var(--green); }
	.nav__utility a { color: var(--slate); }
	.nav__mobile-extras .btn { --btn-bg: var(--green); --btn-fg: var(--white); --btn-bd: var(--green); --btn-hover: var(--forest); }
}

/* Footer: simple dark green ------------------------------------------------ */
.site-footer { padding-top: clamp(3.5rem, 7vw, 5.5rem); background: var(--forest); color: rgba(255, 255, 255, 0.78); }
.site-footer::before { height: 4px; background: var(--gold); }
.site-footer__top { gap: 3rem 4rem; padding-block: 0 3rem; border-bottom: 1px solid rgba(255, 255, 255, 0.14); }
@media (min-width: 1024px) { .site-footer__top { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); } }
.site-footer__brand { display: inline-block; margin-bottom: 1.25rem; }
.site-footer__logo { height: 64px; filter: brightness(0) invert(1); }
.site-footer__status { margin-bottom: 1.5rem; color: rgba(255, 255, 255, 0.78); }
.foot-contact { display: grid; gap: 0.65rem; margin-bottom: 1.5rem; }
.foot-contact li { display: flex; align-items: flex-start; gap: 0.75rem; }
.foot-contact .icon { flex: none; margin-top: 0.3rem; color: var(--gold); }
.foot-contact a, .foot-contact span { color: rgba(255, 255, 255, 0.9); }
.foot-contact a:hover { color: var(--gold-2); }
.site-footer__cols { gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(9.5rem, 1fr)); }
.site-footer__heading { color: var(--gold-2); font-size: 0.78rem; padding-bottom: 0; margin-bottom: 1rem; }
.site-footer__heading::after { display: none; }
.site-footer__cols li a { color: rgba(255, 255, 255, 0.82); font-size: var(--fs-sm); background: none; }
.site-footer__cols li a:hover { color: var(--gold-2); text-decoration: underline; text-underline-offset: 0.25em; }
.site-footer__base { margin-top: 0; border-top: 0; background: var(--night); }
.site-footer__base-inner { padding-block: 1.1rem; font-size: var(--fs-xs); color: rgba(255, 255, 255, 0.7); }
.to-top__icon { width: 34px; height: 34px; }
.social--light a { border-color: rgba(255, 255, 255, 0.3); }
@media (max-width: 480px) { .brand { flex: 0 1 auto; min-width: 0; } }
.foot-contact[role="list"] { margin-bottom: 1.75rem; }

/* ==========================================================================
   v2.4 — Dropdown menus
   ========================================================================== */
.nav__go, .nav__ext { flex: none; }
.nav__drop { display: grid; gap: 2px; margin: 0; }
.nav__drop a { display: flex; align-items: center; justify-content: space-between; gap: 1.25rem; padding: 0.7rem 0.9rem; border-radius: 8px; color: var(--ink); font-size: 0.9rem; font-weight: 500; line-height: 1.35; text-decoration: none; transition: background-color 200ms var(--ease), color 200ms var(--ease); }
.nav__drop a .nav__go { opacity: 0; transform: translateX(-6px); color: var(--green); transition: opacity 200ms var(--ease), transform 300ms var(--ease-out); }
.nav__drop a .nav__ext { color: var(--mute); }
.nav__drop a:hover, .nav__drop a:focus-visible { background: #edf5f0; color: var(--green-dark); }
.nav__drop a:hover .nav__go, .nav__drop a:focus-visible .nav__go { opacity: 1; transform: none; }
.nav__drop a[aria-current] { background: #edf5f0; color: var(--green-dark); font-weight: 600; }
.nav__drop a[aria-current] .nav__go { opacity: 1; transform: none; }
.nav__drop-all { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 0.4rem; padding: 0.75rem 0.9rem 0.35rem; border-top: 1px solid var(--line); color: var(--green); font-size: 0.8rem; font-weight: 600; letter-spacing: 0.02em; text-decoration: none; }
.nav__drop-all:hover { color: var(--forest); }
.nav__drop-all .nav__go { transition: transform 300ms var(--ease-out); }
.nav__drop-all:hover .nav__go { transform: translateX(4px); }

@media (min-width: 1360px) {
	.nav__item--drop { position: relative; }
	.nav__panel--drop { left: 50%; right: auto; top: calc(100% - 6px); width: max-content; min-width: 15rem; max-width: 22rem; margin-left: -7.5rem; border: 1px solid var(--line); border-top: 3px solid var(--green); border-radius: 12px; background: var(--white); box-shadow: 0 2px 6px rgba(6, 37, 28, 0.06), 0 28px 50px -22px rgba(6, 37, 28, 0.4); }
	.nav__panel--drop::before { content: ""; position: absolute; left: 7.5rem; top: -9px; width: 12px; height: 12px; margin-left: -6px; background: var(--green); transform: rotate(45deg); border-radius: 2px; }
	.nav__panel--drop .nav__panel-inner { display: block; max-width: none; margin: 0; padding: 0.5rem; }
	.nav__panel--drop .nav__panel-inner > * { animation: none; }
	.nav__item--drop:nth-last-child(-n+2) .nav__panel--drop { left: auto; right: -0.5rem; margin-left: 0; }
	.nav__item--drop:nth-last-child(-n+2) .nav__panel--drop::before { left: auto; right: 2.5rem; }
	.nav__item--drop .nav__link::after { display: none; }
	.nav__item--drop .nav__toggle[aria-expanded="true"] { color: var(--green); }
	@media (prefers-reduced-motion: no-preference) {
		.nav__panel--drop:not([hidden]) { animation: drop-in 260ms var(--ease-out) both; }
	}
}
@keyframes drop-in { from { opacity: 0; translate: 0 8px; } to { opacity: 1; translate: 0 0; } }
@media (max-width: 1359px) {
	.nav__panel--drop .nav__panel-inner { padding: 0 0 1rem; }
	.nav__drop a { padding: 0.7rem 0.75rem; font-size: 1rem; }
	.nav__drop a .nav__go { opacity: 1; transform: none; }
	.nav__drop-all { margin-top: 0.5rem; padding-inline: 0.75rem; }
}
/* Shorter homepage hero */
.hero { min-height: clamp(28rem, 70vh, 42rem); }
.hero__inner, .home .hero__inner { padding-top: clamp(3.5rem, 9vh, 6rem); padding-bottom: clamp(6.5rem, 11vh, 8rem); }
.hero__title { font-size: clamp(2.4rem, 1rem + 4.2vw, 4.75rem); margin-bottom: 1.25rem; }
.hero__eyebrow { margin-bottom: 1.25rem; }
.hero__text { margin-bottom: 1.75rem; }
.hero__meta { bottom: clamp(6.5rem, 11vh, 8rem); }
@media (max-width: 900px) { .hero__inner, .home .hero__inner { padding-bottom: 5.5rem; } }
@media (max-width: 600px) { .hero__inner, .home .hero__inner { padding-top: 3rem; } }
.hero__title { max-width: 22ch; font-size: clamp(2.2rem, 0.9rem + 3.6vw, 4.25rem); }
.hero__text { max-width: 40rem; }

/* SEO: university name sits inside the H1 but keeps the eyebrow look. */
.hero__title .hero__eyebrow { display: flex; width: fit-content; max-width: none; font-family: var(--sans); line-height: 1.4; }
