/* ==========================================================================
   NKST CONS Mkar — main stylesheet
   Colours are taken from the college crest: green #086840, red #c83038, white.
   ========================================================================== */

:root {
	--green: #086840;
	--green-700: #06593a;
	--green-800: #05482f;
	--green-900: #073522;
	--green-950: #052a1b;
	--green-50: #eef6f1;
	--green-100: #dcebe2;
	--red: #c83038;
	--red-600: #b0262e;
	--ink: #0f172a;
	--ink-2: #475467;
	--ink-3: #667085;
	--line: #e6e8ea;
	--muted: #f6f6f4;
	--white: #fff;

	--font-display: "Fraunces", Georgia, "Times New Roman", serif;
	--font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

	--radius-sm: 6px;
	--radius: 10px;
	--radius-lg: 14px;
	--shadow: 0 1px 3px rgb(16 24 40 / .06), 0 8px 24px rgb(16 24 40 / .06);
	--shadow-lg: 0 16px 40px rgb(16 24 40 / .14);

	--ease: cubic-bezier(.22, 1, .36, 1);
	--container: 1200px;
	--gutter: clamp(16px, 4vw, 40px);
	--header-h: 96px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 100px; }
body {
	margin: 0; background: var(--white); color: var(--ink-2);
	font-family: var(--font-body); font-size: 1rem; line-height: 1.65;
	-webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: var(--green); text-underline-offset: 3px; }
a:hover { color: var(--green-800); }
h1, h2, h3, h4 {
	font-family: var(--font-display); font-weight: 600; color: var(--ink);
	line-height: 1.15; letter-spacing: -.005em; margin: 0 0 .5em; text-wrap: balance;
	font-optical-sizing: auto;
}
.hero__title, .banner__title, .section-title { letter-spacing: -.02em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; border-radius: 4px; }

.screen-reader-text { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -100px; z-index: 1000; background: var(--white); color: var(--green); padding: 10px 18px; border-radius: var(--radius-sm); font-weight: 600; box-shadow: var(--shadow); }
.skip-link:focus { top: 16px; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container--mid { max-width: 920px; }
.container--narrow { max-width: 820px; }

.icon { width: 22px; height: 22px; flex: none; }
.icon--sm { width: 18px; height: 18px; }
.icon--xs { width: 14px; height: 14px; }

/* ---------- Buttons & links ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .5em;
	min-height: 46px; padding: .7em 1.35em; border-radius: var(--radius-sm);
	font-weight: 600; font-size: .95rem; line-height: 1.2; text-decoration: none; white-space: nowrap;
	border: 1px solid transparent; transition: background-color .2s, color .2s, border-color .2s;
}
.btn--white { background: var(--white); color: var(--green); }
.btn--white:hover { background: var(--green-50); color: var(--green-800); }
.btn--ghost { color: var(--white); border-color: rgb(255 255 255 / .7); }
.btn--ghost:hover { background: var(--white); color: var(--green); border-color: var(--white); }
.btn--primary { background: var(--green); color: var(--white); }
.btn--primary:hover { background: var(--green-800); color: var(--white); }
.btn--outline { color: var(--green); border-color: var(--green); }
.btn--outline:hover { background: var(--green); color: var(--white); }

.link-arrow { display: inline-flex; align-items: center; gap: .4em; font-weight: 600; font-size: .925rem; color: var(--green); text-decoration: none; }
.link-arrow .icon { transition: transform .25s var(--ease); }
.link-arrow:hover .icon { transform: translateX(4px); }

/* ---------- Section scaffolding ---------- */
.section { padding-block: clamp(4rem, 8vw, 6rem); }
.section--tight { padding-block: clamp(3rem, 6vw, 4.5rem); }
.section--muted { background: var(--muted); }
.eyebrow { font-size: .75rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--green); margin-bottom: .7rem; }
.section-title { font-size: clamp(2rem, 1.5rem + 1.8vw, 2.75rem); }
.section-lead { font-size: 1.075rem; color: var(--ink-2); max-width: 60ch; margin-bottom: 0; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto clamp(2rem, 4vw, 3rem); }
.section-head .section-lead { margin-inline: auto; }
.section-head--left { text-align: left; margin-inline: 0; }
.section-head--left .section-lead { margin-inline: 0; }
.section-head--split { display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; max-width: none; text-align: left; }
.section-head--split .section-title { margin: 0; }

/* ---------- Header ---------- */
.masthead { position: fixed; inset: 0 0 auto; z-index: 100; color: var(--white); transition: background-color .3s, box-shadow .3s, color .3s; }
.masthead__inner { display: flex; align-items: center; gap: 2rem; height: var(--header-h); padding-inline: clamp(16px, 2.5vw, 32px); transition: height .3s var(--ease); }
.masthead.is-scrolled, body.has-drawer .masthead { background: var(--white); color: var(--ink); box-shadow: 0 1px 0 var(--line), 0 6px 20px rgb(16 24 40 / .05); }
.masthead.is-scrolled .masthead__inner { height: 76px; }
.admin-bar .masthead { top: 32px; }

.brand { display: flex; align-items: center; gap: .75rem; color: inherit; text-decoration: none; flex: none; }
.brand:hover { color: inherit; }
.brand__crest-wrap {
	display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--white); flex: none;
	box-shadow: 0 0 0 2px rgb(255 255 255 / .35), 0 4px 14px rgb(0 0 0 / .18); transition: width .3s var(--ease), height .3s var(--ease);
}
.brand__crest { width: 100%; height: 100%; object-fit: contain; transform: scale(1.12); }
.masthead.is-scrolled .brand__crest-wrap { width: 52px; height: 52px; box-shadow: 0 0 0 1px var(--line); }
.brand__text { display: flex; flex-direction: column; line-height: 1.2; }
.brand__name { font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; letter-spacing: -.01em; max-width: 16ch; }
.brand__place { font-size: .7rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; opacity: .8; margin-top: 3px; }

/* Desktop nav */
.nav { margin-inline: auto; }
.nav__list { list-style: none; display: flex; align-items: center; gap: .25rem; }
.nav__item { position: relative; }
.nav__link {
	display: inline-flex; align-items: center; gap: .4rem; height: 44px; padding: 0 .85rem;
	background: none; border: 0; border-radius: var(--radius-sm); color: inherit; text-decoration: none;
	font-family: var(--font-body); font-size: .95rem; font-weight: 500; white-space: nowrap; transition: background-color .2s, color .2s;
}
.nav__link:hover, .nav__item.is-open > .nav__link { color: inherit; background: rgb(255 255 255 / .12); }
.masthead.is-scrolled .nav__link:hover, .masthead.is-scrolled .nav__item.is-open > .nav__link, .masthead.is-scrolled .nav__link[aria-current="page"] { background: var(--green-50); color: var(--green); }
.nav__plus { position: relative; width: 10px; height: 10px; }
.nav__plus::before, .nav__plus::after { content: ""; position: absolute; left: 0; top: 4px; width: 10px; height: 1.6px; background: currentColor; border-radius: 1px; transition: transform .25s var(--ease); }
.nav__plus::after { transform: rotate(90deg); }
.nav__item.is-open .nav__plus::after { transform: rotate(0); }

.nav__sub {
	list-style: none; position: absolute; top: calc(100% + 10px); left: 50%; min-width: 250px; padding: .5rem;
	background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-lg), 0 0 0 1px rgb(16 24 40 / .05);
	opacity: 0; visibility: hidden; transform: translate(-50%, 6px); transition: opacity .2s, transform .25s var(--ease), visibility .2s;
}
.nav__sub::before { content: ""; position: absolute; inset: -12px 0 auto; height: 12px; }
.nav__item.is-open > .nav__sub { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
@media (hover: hover) and (min-width: 1101px) {
	.nav .nav__item--parent:hover > .nav__sub { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
	.nav .nav__item--parent:hover .nav__plus::after { transform: rotate(0); }
}
.nav__sub a {
	display: flex; align-items: center; justify-content: space-between; gap: .75rem; padding: .6rem .8rem;
	border-radius: var(--radius-sm); color: var(--ink); font-size: .925rem; text-decoration: none; transition: background-color .15s, color .15s;
}
.nav__sub a:hover { background: var(--green-50); color: var(--green); }
.nav__sub .icon { color: var(--ink-3); }

.menu-button { display: inline-grid; place-items: center; width: 46px; height: 46px; margin-left: auto; background: none; border: 0; border-radius: var(--radius-sm); color: inherit; }
.nav + .menu-button { margin-left: 0; }
.menu-button:hover { background: rgb(255 255 255 / .12); }
.masthead.is-scrolled .menu-button:hover { background: var(--green-50); }
.menu-button__bars { display: grid; gap: 5px; width: 22px; }
.menu-button__bars span { display: block; height: 1.8px; background: currentColor; border-radius: 2px; }

/* Drawer */
.drawer { position: fixed; inset: 0; z-index: 200; }
.drawer[hidden] { display: none; }
.drawer__backdrop { position: absolute; inset: 0; background: rgb(5 42 27 / .5); opacity: 0; transition: opacity .3s; }
.drawer__panel { position: absolute; inset: 0 0 0 auto; width: min(400px, 90vw); background: var(--white); color: var(--ink); display: flex; flex-direction: column; overflow-y: auto; transform: translateX(100%); transition: transform .35s var(--ease); }
.drawer.is-open .drawer__backdrop { opacity: 1; }
.drawer.is-open .drawer__panel { transform: none; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.drawer__title { font-family: var(--font-display); font-size: 1.35rem; font-weight: 600; color: var(--ink); }
.drawer__close { display: grid; place-items: center; width: 44px; height: 44px; background: none; border: 0; border-radius: var(--radius-sm); }
.drawer__close:hover { background: var(--muted); }
.drawer__nav { padding: 8px 20px; }
.drawer__nav .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
.drawer__nav .nav__item { border-bottom: 1px solid var(--line); }
.drawer__nav .nav__link { width: 100%; height: 54px; padding: 0 2px; justify-content: space-between; font-size: 1.025rem; font-weight: 600; border-radius: 0; }
.drawer__nav .nav__link:hover, .drawer__nav .nav__item.is-open > .nav__link { background: none; color: var(--green); }
.drawer__nav .nav__sub { position: static; display: none; min-width: 0; padding: 0 0 10px; box-shadow: none; opacity: 1; visibility: visible; transform: none; }
.drawer__nav .nav__item.is-open > .nav__sub { display: block; }
.drawer__nav .nav__sub a { padding: .6rem .5rem; color: var(--ink-2); }
.drawer__extra { padding: 20px; margin-top: auto; background: var(--muted); }
.drawer__label { font-size: .72rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); margin: 0 0 .5rem; }
.drawer__extra ul { list-style: none; display: grid; gap: .1rem; margin-bottom: 1.25rem; }
.drawer__extra a { display: inline-block; padding: .35rem 0; color: var(--ink); text-decoration: none; font-weight: 500; }
.drawer__extra a:hover { color: var(--green); }
.drawer__contact li { display: flex; align-items: center; gap: .6rem; }
.drawer__contact .icon { color: var(--green); }
body.has-drawer { overflow: hidden; }

/* ---------- Hero ---------- */
.hero { position: relative; isolation: isolate; color: var(--white); min-height: min(92vh, 820px); display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; }
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 35%; animation: settle 18s var(--ease) both; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgb(5 30 19 / .82) 0%, rgb(5 30 19 / .55) 50%, rgb(5 30 19 / .25) 100%), linear-gradient(0deg, rgb(5 30 19 / .6), transparent 45%), linear-gradient(180deg, rgb(5 30 19 / .45), transparent 22%); }
.hero__inner { padding-top: calc(var(--header-h) + 3rem); padding-bottom: clamp(3rem, 6vw, 5rem); }
.hero__eyebrow { font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: rgb(255 255 255 / .85); margin-bottom: 1rem; }
.hero__title { color: var(--white); font-size: clamp(2.6rem, 1.4rem + 4.6vw, 5rem); line-height: 1; letter-spacing: -.025em; max-width: 14ch; margin-bottom: 1.25rem; }
.hero__lead { font-size: clamp(1.02rem, .95rem + .3vw, 1.2rem); color: rgb(255 255 255 / .88); max-width: 54ch; margin-bottom: 2rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; }

.notice-bar { background: rgb(5 30 19 / .72); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); border-top: 1px solid rgb(255 255 255 / .12); }
.notice-bar__inner { display: flex; align-items: center; gap: 1rem; min-height: 64px; padding-block: .9rem; }
.notice-bar__tag { flex: none; background: var(--red); color: var(--white); font-size: .7rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; padding: .35em .7em; border-radius: 4px; }
.notice-bar__text { margin: 0; color: rgb(255 255 255 / .92); font-size: .95rem; }
.notice-bar__link { flex: none; margin-left: auto; display: inline-flex; align-items: center; gap: .4em; color: var(--white); font-weight: 600; font-size: .925rem; text-decoration: none; }
.notice-bar__link:hover { color: var(--white); text-decoration: underline; }

/* ---------- Provost ---------- */
.provost { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.provost__photo { margin: 0; }
.provost__photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: top; border-radius: var(--radius-lg); }
.provost__copy > p { font-size: 1.02rem; }
.provost__sign { border-top: 1px solid var(--line); margin-top: 1.5rem; padding-top: 1.25rem; display: flex; flex-direction: column; }
.provost__sign strong { color: var(--ink); font-weight: 600; }
.provost__sign span { font-size: .85rem; color: var(--ink-3); }

.figures { display: grid; grid-template-columns: repeat(4, 1fr); margin: clamp(3rem, 6vw, 4.5rem) 0 0; background: var(--green); border-radius: var(--radius-lg); padding: clamp(1.75rem, 3vw, 2.5rem) 1rem; color: var(--white); }
.figures__item { display: flex; flex-direction: column-reverse; align-items: center; text-align: center; padding: .5rem 1rem; }
.figures__item + .figures__item { border-left: 1px solid rgb(255 255 255 / .18); }
.figures dd { margin: 0 0 .35rem; font-family: var(--font-display); font-weight: 600; font-size: clamp(2.2rem, 1.6rem + 2vw, 3.1rem); line-height: 1; letter-spacing: -.02em; font-variant-numeric: lining-nums tabular-nums; }
.figures dt { font-size: .9rem; color: rgb(255 255 255 / .85); }

/* ---------- Quick links ---------- */
.quick { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.quick__card { display: flex; flex-direction: column; height: 100%; padding: 1.5rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); color: var(--ink-2); text-decoration: none; transition: border-color .25s, box-shadow .25s, transform .25s var(--ease); }
.quick__card:hover { border-color: var(--green-100); box-shadow: var(--shadow); transform: translateY(-3px); color: var(--ink-2); }
.quick__icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 8px; background: var(--green-50); color: var(--green); margin-bottom: 1.1rem; }
.quick__title { font-family: var(--font-display); font-size: 1.25rem; font-weight: 600; color: var(--ink); line-height: 1.2; margin-bottom: .45rem; }
.quick__text { font-size: .9rem; flex: 1; }
.quick__cta { display: inline-flex; align-items: center; gap: .35em; margin-top: 1.25rem; font-size: .875rem; font-weight: 600; color: var(--green); }
.quick__cta .icon { transition: transform .25s var(--ease); }
.quick__card:hover .quick__cta .icon { transform: translateX(4px); }
.quick__card--featured { background: var(--green); border-color: var(--green); color: rgb(255 255 255 / .85); }
.quick__card--featured:hover { color: rgb(255 255 255 / .85); border-color: var(--green-700); background: var(--green-700); }
.quick__card--featured .quick__icon { background: rgb(255 255 255 / .14); color: var(--white); }
.quick__card--featured .quick__title, .quick__card--featured .quick__cta { color: var(--white); }

/* ---------- Panels ---------- */
.panels { display: grid; grid-template-columns: 1.15fr 1fr; gap: 1.25rem; }
.panel { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.panel__head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.15rem 1.4rem; border-bottom: 1px solid var(--line); }
.panel__title { font-size: 1.2rem; margin: 0; }
.panel__more { font-size: .875rem; font-weight: 600; text-decoration: none; }
.steps { list-style: none; }
.steps li { display: flex; gap: 1rem; align-items: flex-start; padding: 1.1rem 1.4rem; }
.steps li + li { border-top: 1px solid var(--line); }
.steps__num { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 8px; background: var(--green-50); color: var(--green); font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; border: 1px solid var(--green-100); }
.steps li > div { min-width: 0; overflow-wrap: anywhere; }
.steps strong { display: block; color: var(--ink); font-weight: 600; }
.steps li > div > span { display: block; font-size: .9rem; }
.steps--boxed { border: 1px solid var(--line); border-radius: var(--radius-lg); margin-bottom: 1rem; }
.rows { list-style: none; }
.rows li + li { border-top: 1px solid var(--line); }
.rows a { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 1.4rem; color: var(--ink); font-weight: 500; text-decoration: none; transition: background-color .2s, color .2s; }
.rows a:hover { background: var(--green-50); color: var(--green); }
.rows small { display: block; font-size: .8rem; font-weight: 400; color: var(--ink-3); }
.rows .icon { color: var(--ink-3); transition: transform .25s var(--ease); }
.rows a:hover .icon { transform: translateX(3px); color: var(--green); }

/* ---------- Accordion ---------- */
.accordion { display: grid; gap: .75rem; }
.accordion__item { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; transition: box-shadow .25s; }
.accordion__item[open] { box-shadow: var(--shadow); }
.accordion summary { display: flex; align-items: center; gap: 1rem; padding: 1.15rem 1.4rem; cursor: pointer; list-style: none; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion__title { font-weight: 600; color: var(--ink); font-size: 1.05rem; }
.accordion__meta { margin-left: auto; font-size: .85rem; color: var(--ink-3); }
.accordion__icon { color: var(--green); transition: transform .3s var(--ease); }
.accordion__item[open] .accordion__icon { transform: rotate(180deg); }
.accordion__body { padding: 0 1.4rem 1.3rem; }
.accordion__item[open] .accordion__body { animation: fade-down .35s var(--ease); }

/* ---------- Gallery ---------- */
.gallery { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 240px 240px; gap: 1rem; }
.gallery__item { position: relative; margin: 0; border-radius: var(--radius-lg); overflow: hidden; }
.gallery__item:first-child { grid-row: span 2; }
.gallery__item:nth-child(4) { grid-column: span 2; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.gallery__item:hover img { transform: scale(1.05); }
.gallery__item figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 2.5rem 1rem .85rem; color: var(--white); font-size: .875rem; font-weight: 600; background: linear-gradient(0deg, rgb(5 30 19 / .75), transparent); }

/* ---------- Inner page banner ---------- */
.banner { position: relative; background: var(--green); color: var(--white); text-align: center; border-bottom: 3px solid var(--red); overflow: hidden; }
.banner::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 120% at 50% 0%, rgb(255 255 255 / .08), transparent 70%); pointer-events: none; }
.banner__inner { position: relative; padding-top: calc(var(--header-h) + 2.5rem); padding-bottom: clamp(2.5rem, 5vw, 3.5rem); }
.banner__title { color: var(--white); font-size: clamp(2.2rem, 1.6rem + 2.4vw, 3.3rem); margin-bottom: .6rem; animation: rise .7s var(--ease) both; }
.banner__lead { color: rgb(255 255 255 / .85); max-width: 60ch; margin: 0 auto .75rem; animation: rise .7s var(--ease) both .08s; }
.breadcrumb { display: inline-flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .4rem; font-size: .875rem; color: rgb(255 255 255 / .8); animation: rise .7s var(--ease) both .12s; }
.breadcrumb a { color: var(--white); text-decoration: none; }
.breadcrumb a:hover { color: var(--white); text-decoration: underline; }

/* ---------- Content + sidebar layout ---------- */
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.content { max-width: 720px; }
.content__lead { font-size: 1.15rem; color: var(--ink); line-height: 1.6; }
.content__lead--center { text-align: center; max-width: 640px; margin: 0 auto 2.5rem; }
.content h2 { font-size: clamp(1.6rem, 1.3rem + 1vw, 2rem); margin-top: 2.5rem; scroll-margin-top: 100px; }
.content h3 { font-size: 1.25rem; }
.content__figure { margin: 1.5rem 0; background: var(--muted); border-radius: var(--radius-lg); overflow: hidden; }
.content__figure img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.content__figure figcaption { padding: .6rem .9rem; font-size: .8rem; color: var(--ink-3); }

.vm { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1rem; }
.vm--three { grid-template-columns: repeat(3, 1fr); }
.vm__card { border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.4rem; }
.vm__card p { margin: 0; color: var(--ink); }
.vm__card .vm__label { font-size: .72rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--green); margin-bottom: .6rem; }

.timeline { list-style: none; position: relative; margin: 1.5rem 0; padding-left: 1.75rem; }
.timeline::before { content: ""; position: absolute; left: 5px; top: .5rem; bottom: .5rem; width: 1px; background: var(--green-100); }
.timeline li { position: relative; padding-bottom: 1.4rem; }
.timeline li::before { content: ""; position: absolute; left: -1.75rem; top: .4rem; width: 11px; height: 11px; border-radius: 50%; background: var(--white); border: 2px solid var(--green); }
.timeline__year { margin: 0 0 .2rem; font-weight: 600; color: var(--ink); }
.timeline__text { margin: 0; font-size: .95rem; }

.provost-inline { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.25rem; }
.provost-inline img { width: 84px; height: 84px; border-radius: 50%; object-fit: cover; object-position: top; }
.provost-inline strong { display: block; color: var(--ink); font-weight: 600; }
.provost-inline span { font-size: .875rem; color: var(--ink-3); }

.pills { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; }
.pills li { padding: .4rem .9rem; border: 1px solid var(--line); border-radius: 999px; font-size: .875rem; font-weight: 500; color: var(--ink); }

.bullets { list-style: none; display: grid; gap: .55rem; margin-bottom: 1rem; }
.bullets li { position: relative; padding-left: 1.2rem; }
.bullets li::before { content: ""; position: absolute; left: 0; top: .62em; width: 6px; height: 6px; border-radius: 50%; background: var(--green); }

.programme-list { display: grid; gap: 1rem; }
.programme { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 1.4rem; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1rem; scroll-margin-top: 100px; }
.programme__media { border-radius: var(--radius); overflow: hidden; }
.programme__media img { width: 100%; height: 100%; min-height: 160px; object-fit: cover; }
.programme__body { padding: .35rem .35rem .35rem 0; }
.programme__award { font-size: .72rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--green); margin-bottom: .35rem; }
.programme h3 { font-size: 1.4rem; margin-bottom: .4rem; }
.programme p:last-child, .programme .bullets:last-child { margin-bottom: 0; }
.req { padding: 1.25rem 0; border-bottom: 1px solid var(--line); }
.req:last-of-type { border-bottom: 0; }

/* Sidebar */
.sidebar { position: sticky; top: 100px; display: grid; gap: 1rem; }
.side-card { border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--white); overflow: hidden; }
.side-card__title { font-size: 1.1rem; margin: 0; padding: 1.1rem 1.25rem; border-bottom: 1px solid var(--line); }
.glance { margin: 0; padding: .4rem 1.25rem; }
.glance > div { padding: .75rem 0; }
.glance > div + div { border-top: 1px solid var(--line); }
.glance dt { font-size: .7rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.glance dd { margin: .15rem 0 0; color: var(--ink); font-weight: 500; font-size: .925rem; overflow-wrap: anywhere; }
.side-links { list-style: none; }
.side-links li + li { border-top: 1px solid var(--line); }
.side-links a { display: flex; align-items: center; justify-content: space-between; gap: .75rem; padding: .85rem 1.25rem; color: var(--ink); font-size: .925rem; font-weight: 500; text-decoration: none; transition: background-color .2s, color .2s; }
.side-links a:hover { background: var(--green-50); color: var(--green); }
.side-links .icon { color: var(--ink-3); }
.side-apply { display: block; padding: 1.4rem 1.25rem; border-radius: var(--radius-lg); background: var(--green); color: var(--white); text-decoration: none; transition: background-color .2s; }
.side-apply:hover { background: var(--green-700); color: var(--white); }
.side-apply__label { display: block; font-size: .7rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; opacity: .8; }
.side-apply__title { display: block; font-family: var(--font-display); font-size: 1.35rem; font-weight: 600; margin: .3rem 0 .6rem; }
.side-apply__go { display: inline-flex; align-items: center; gap: .4em; font-size: .875rem; font-weight: 600; }

/* Officers */
.officers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem 1.5rem; }
.officer { text-align: center; }
.officer__photo { aspect-ratio: 1; border-radius: var(--radius-lg); overflow: hidden; background: var(--green-50); display: grid; place-items: center; margin-bottom: 1rem; border: 1px solid var(--line); }
.officer__photo img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .6s var(--ease); }
.officer:hover .officer__photo img { transform: scale(1.04); }
.officer__initials { font-family: var(--font-display); font-size: 2.6rem; font-weight: 600; color: var(--green); }
.officer__name { font-family: var(--font-body); font-size: 1rem; font-weight: 600; letter-spacing: 0; margin: 0 0 .15rem; }
.officer__role { margin: 0; font-size: .875rem; color: var(--ink-3); }

/* Contact form */
.layout--contact .content { max-width: none; }
.form-card { border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.25rem, 3vw, 2rem); }
.form-card h2 { margin-top: 0; font-size: 1.5rem; }
.form-wrap input:not([type="submit"]):not([type="checkbox"]):not([type="radio"]), .form-wrap textarea, .form-wrap select {
	width: 100%; min-height: 46px; padding: .7rem .9rem; font: inherit; font-size: .95rem; color: var(--ink);
	background: var(--white); border: 1px solid #d0d5dd; border-radius: var(--radius-sm); transition: border-color .2s, box-shadow .2s;
}
.form-wrap textarea { min-height: 150px; resize: vertical; }
.form-wrap input:focus, .form-wrap textarea:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgb(8 104 64 / .15); }
.form-wrap p { margin-bottom: .9rem; }
.form-wrap input[type="submit"] { min-height: 46px; padding: .7em 1.6em; border: 0; border-radius: var(--radius-sm); background: var(--green); color: var(--white); font-weight: 600; cursor: pointer; transition: background-color .2s; }
.form-wrap input[type="submit"]:hover { background: var(--green-800); }
.wpcf7-not-valid-tip { color: var(--red); font-size: .85rem; margin-top: .3rem; }

/* Prose / misc */
.prose { color: var(--ink-2); }
.prose h2 { font-size: 1.8rem; margin-top: 2rem; }
.prose h3 { font-size: 1.35rem; margin-top: 1.5rem; }
.prose ul, .prose ol { padding-left: 1.3rem; margin-bottom: 1em; }
.prose img { border-radius: var(--radius); }
.prose strong { color: var(--ink); }
.entry .elementor-section, .entry .elementor-container { max-width: 100% !important; }
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.news-card a { display: block; height: 100%; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; color: var(--ink-2); text-decoration: none; }
.news-card__media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.news-card__body { padding: 1.2rem; }
.news-card time { font-size: .8rem; font-weight: 600; color: var(--green); }
.news-card h2 { font-size: 1.3rem; margin: .35rem 0; }
.empty, .not-found { text-align: center; }
.not-found__links { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; }

/* ---------- Footer ---------- */
.footer { background: var(--green-950); color: rgb(255 255 255 / .72); font-size: .925rem; border-top: 3px solid var(--red); }
.footer__grid { display: grid; grid-template-columns: 1.7fr repeat(4, 1fr); gap: 2.5rem; padding-block: clamp(3.5rem, 6vw, 4.5rem); }
.brand--footer { color: var(--white); }
.brand--footer .brand__crest-wrap { width: 56px; height: 56px; box-shadow: none; }
.brand--footer .brand__place { color: #f0a9ac; opacity: 1; }
.footer__about > p { margin: 1.25rem 0; max-width: 38ch; }
.footer__contact { list-style: none; display: grid; gap: .55rem; }
.footer__contact li { display: flex; gap: .6rem; align-items: flex-start; }
.footer__contact .icon { margin-top: 3px; color: #f0a9ac; }
.footer a { color: rgb(255 255 255 / .82); text-decoration: none; }
.footer a:hover { color: var(--white); text-decoration: underline; }
.footer__heading { font-family: var(--font-body); font-size: .75rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--white); margin: .4rem 0 1.1rem; }
.footer__links { list-style: none; display: grid; gap: .6rem; }
.footer__bar { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; padding-block: 1.25rem; border-top: 1px solid rgb(255 255 255 / .1); font-size: .85rem; }
.footer__bar p { margin: 0; }
.footer__bar ul { list-style: none; display: flex; gap: 1.25rem; }

/* ---------- Motion ---------- */
@keyframes settle { from { transform: scale(1.08); } to { transform: none; } }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes fade-down { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

.js [data-reveal] { opacity: 0; transform: translateY(20px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js [data-stagger] > * { opacity: 0; transform: translateY(20px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: calc(var(--i, 0) * 80ms); }
.js [data-reveal].is-visible, .js [data-stagger].is-visible > * { opacity: 1; transform: none; }
.js .hero [data-reveal] { transition-duration: 1s; }
.js .hero [data-reveal]:nth-child(2) { transition-delay: .08s; }
.js .hero [data-reveal]:nth-child(3) { transition-delay: .16s; }
.js .hero [data-reveal]:nth-child(4) { transition-delay: .24s; }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
	.js [data-reveal], .js [data-stagger] > * { opacity: 1 !important; transform: none !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
	.masthead .nav { display: none; }
	.quick { grid-template-columns: repeat(2, 1fr); }
	.footer__grid { grid-template-columns: repeat(4, 1fr); }
	.footer__about { grid-column: 1 / -1; }
	.layout { grid-template-columns: minmax(0, 1fr) 300px; }
}
@media (max-width: 900px) {
	:root { --header-h: 80px; }
	.provost, .panels, .layout { grid-template-columns: 1fr; }
	.provost__photo { max-width: 420px; }
	.provost__photo img { aspect-ratio: 1; }
	.sidebar { position: static; }
	.content { max-width: none; }
	.figures { grid-template-columns: repeat(2, 1fr); row-gap: 1.25rem; }
	.figures__item:nth-child(3) { border-left: 0; }
	.officers { grid-template-columns: repeat(3, 1fr); }
	.vm--three { grid-template-columns: 1fr; }
	.news-grid { grid-template-columns: 1fr 1fr; }
	.notice-bar__inner { flex-wrap: wrap; gap: .5rem 1rem; }
	.notice-bar__link { margin-left: 0; }
}
@media (max-width: 640px) {
	.brand__crest-wrap { width: 52px; height: 52px; }
	.brand__name { font-size: 1rem; }
	.brand__place { font-size: .64rem; }
	.hero { min-height: 88vh; }
	.hero__actions .btn { flex: 1 1 100%; }
	.quick, .vm, .news-grid { grid-template-columns: 1fr; }
	.officers { grid-template-columns: repeat(2, 1fr); gap: 1.5rem 1rem; }
	.programme { grid-template-columns: 1fr; }
	.programme__media img { aspect-ratio: 16 / 9; min-height: 0; }
	.programme__body { padding: 0 .25rem .25rem; }
	.gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 220px 150px 150px; }
	.gallery__item:first-child { grid-column: span 2; grid-row: auto; }
	.gallery__item:nth-child(4) { grid-column: span 2; }
	.section-head--split { flex-direction: column; align-items: flex-start; }
	.accordion__meta { display: none; }
	.footer__grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
	.admin-bar .masthead { top: 46px; }
}

/* ---------- Header: crest + centred nav ---------- */
.masthead__inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1.5rem; max-width: 1360px; margin-inline: auto; }
.masthead .brand { justify-self: start; }
.masthead .nav { margin: 0; justify-self: center; }
.masthead .menu-button { justify-self: end; margin: 0; }
.brand__crest { display: block; width: auto; height: 72px; transform: none; filter: drop-shadow(0 2px 6px rgb(0 0 0 / .25)); transition: height .3s var(--ease), filter .3s; }
.masthead.is-scrolled .brand__crest { height: 54px; filter: none; }
.brand--footer .brand__crest { height: 64px; filter: none; }
@media (max-width: 1100px) {
	.masthead__inner { grid-template-columns: 1fr auto; }
	.masthead .nav { display: none; }
}
@media (max-width: 640px) {
	.brand__crest { height: 58px; }
	.masthead.is-scrolled .brand__crest { height: 48px; }
}
.masthead__inner { max-width: var(--container); padding-inline: var(--gutter); }
.masthead .menu-button { margin-right: -11px; }

/* ---------- Hero slider ---------- */
.hero::before { content: none; }
.hero__slides { position: static; flex: 1; display: grid; }
.hero__slide { grid-area: 1 / 1; display: flex; flex-direction: column; justify-content: flex-end; opacity: 0; visibility: hidden; transition: opacity 1.1s var(--ease), visibility 1.1s; }
.hero__slide.is-active { opacity: 1; visibility: visible; }
.hero__media { z-index: 0; }
.hero__slide::after { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; background: linear-gradient(90deg, rgb(5 30 19 / .85) 0%, rgb(5 30 19 / .58) 50%, rgb(5 30 19 / .22) 100%), linear-gradient(0deg, rgb(5 30 19 / .7), transparent 50%), linear-gradient(180deg, rgb(5 30 19 / .5), transparent 24%); }
.hero__media img { animation: none; transform: scale(1.06); }
.hero__slide.is-active .hero__media img { animation: settle 9s ease-out both; }
.hero__inner { position: relative; z-index: 1; padding-bottom: 1.75rem; }
.hero__slide .hero__eyebrow, .hero__slide .hero__title, .hero__slide .hero__lead, .hero__slide .hero__actions { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.hero__slide.is-active .hero__eyebrow, .hero__slide.is-active .hero__title, .hero__slide.is-active .hero__lead, .hero__slide.is-active .hero__actions { opacity: 1; transform: none; }
.hero__slide.is-active .hero__eyebrow { transition-delay: .25s; }
.hero__slide.is-active .hero__title { transition-delay: .35s; }
.hero__slide.is-active .hero__lead { transition-delay: .45s; }
.hero__slide.is-active .hero__actions { transition-delay: .55s; }
.hero__title { font-family: var(--font-display); font-weight: 600; }
.hero__caption { position: absolute; z-index: 1; right: var(--gutter); top: calc(var(--header-h) + 1rem); margin: 0; padding: .3rem .7rem; border-radius: 999px; background: rgb(0 0 0 / .35); color: rgb(255 255 255 / .85); font-size: .75rem; backdrop-filter: blur(4px); }

.hero__controls { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-bottom: 1.5rem; }
.hero__dots { display: flex; gap: .25rem; }
.hero__dot { display: grid; place-items: center; width: 44px; height: 32px; padding: 0; background: none; border: 0; }
.hero__dot span { position: relative; display: block; width: 34px; height: 3px; border-radius: 3px; background: rgb(255 255 255 / .35); overflow: hidden; }
.hero__dot span::after { content: ""; position: absolute; inset: 0; background: var(--white); transform: scaleX(0); transform-origin: left; }
.hero__dot.is-active span::after { animation: progress var(--slide-ms, 7000ms) linear forwards; }
[data-slider].is-paused .hero__dot.is-active span::after, .hero__dot.is-done span::after { animation: none; transform: scaleX(1); }
.hero__arrows { display: flex; gap: .5rem; }
.hero__arrow { display: grid; place-items: center; width: 42px; height: 42px; background: rgb(255 255 255 / .06); border: 1px solid rgb(255 255 255 / .45); border-radius: 50%; color: var(--white); transition: background-color .2s, color .2s; }
.hero__arrow:hover { background: var(--white); color: var(--green); }
.hero__pause { position: relative; width: 10px; height: 12px; }
.hero__pause::before, .hero__pause::after { content: ""; position: absolute; top: 0; bottom: 0; width: 3px; background: currentColor; border-radius: 1px; }
.hero__pause::before { left: 0; }
.hero__pause::after { right: 0; }
[data-slider].is-paused .hero__pause::before { left: 1px; width: 0; height: 0; background: none; border-style: solid; border-width: 6px 0 6px 10px; border-color: transparent transparent transparent currentColor; border-radius: 0; }
[data-slider].is-paused .hero__pause::after { display: none; }
.notice-bar { position: relative; z-index: 2; }
.notice-bar__links { display: flex; align-items: center; gap: 1.25rem; margin-left: auto; flex: none; }
.notice-bar__links .notice-bar__link { margin-left: 0; }
button.notice-bar__link { background: none; border: 0; padding: 0; }
@keyframes progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* ---------- Admissions flyer dialog ---------- */
.flyer { width: min(820px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); padding: 0; border: 0; border-radius: var(--radius-lg); background: transparent; overflow: visible; }
.flyer::backdrop { background: rgb(5 30 19 / .55); backdrop-filter: blur(3px); }
.flyer[open] { animation: flyer-in .45s var(--ease); }
.flyer[open]::backdrop { animation: fade .3s ease; }
.flyer__card { position: relative; display: grid; grid-template-columns: minmax(0, 330px) minmax(0, 1fr); background: var(--white); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); max-height: calc(100dvh - 32px); }
.flyer__media { position: relative; display: block; background: var(--muted); }
.flyer__media img { width: 100%; height: 100%; max-height: calc(100dvh - 32px); object-fit: contain; object-position: top; }
.flyer__zoom { position: absolute; left: .75rem; bottom: .75rem; padding: .3rem .6rem; border-radius: 999px; background: rgb(0 0 0 / .6); color: var(--white); font-size: .75rem; font-weight: 600; }
.flyer__body { padding: 2.25rem 2rem 1.75rem; display: flex; flex-direction: column; overflow-y: auto; }
.flyer__tag { align-self: flex-start; margin-bottom: 1rem; padding: .3em .7em; border-radius: 4px; background: var(--red); color: var(--white); font-size: .7rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.flyer__title { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); }
.flyer__text { color: var(--ink-2); }
.flyer__actions { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: auto; padding-top: 1rem; }
.flyer__later { align-self: flex-start; margin-top: .9rem; padding: .4rem 0; background: none; border: 0; color: var(--ink-3); font-size: .875rem; text-decoration: underline; text-underline-offset: 3px; }
.flyer__later:hover { color: var(--ink); }
.flyer__close { position: absolute; top: .75rem; right: .75rem; z-index: 1; display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 50%; background: var(--muted); color: var(--ink); transition: background-color .2s; }
.flyer__close:hover { background: var(--line); }
@keyframes flyer-in { from { opacity: 0; transform: translateY(16px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

@media (max-width: 900px) {
	.notice-bar__links { margin-left: 0; }
}
@media (max-width: 640px) {
	.hero__caption { display: none; }
	.hero__arrows .hero__arrow:not([data-slide-pause]) { display: none; }
	.hero__dot { width: 36px; }
	.hero__dot span { width: 26px; }
	.flyer__card { grid-template-columns: 1fr; overflow-y: auto; }
	.flyer__media img { max-height: 46dvh; object-position: center top; }
	.flyer__body { padding: 1.4rem 1.25rem 1.25rem; overflow: visible; }
}
@media (prefers-reduced-motion: reduce) {
	.hero__slide .hero__eyebrow, .hero__slide .hero__title, .hero__slide .hero__lead, .hero__slide .hero__actions { opacity: 1; transform: none; }
}
.hero__slide::after { background: linear-gradient(90deg, rgb(5 30 19 / .9) 0%, rgb(5 30 19 / .68) 45%, rgb(5 30 19 / .3) 100%), linear-gradient(0deg, rgb(5 30 19 / .75), transparent 55%), linear-gradient(180deg, rgb(5 30 19 / .55), transparent 25%); }

/* ==========================================================================
   Crest palette: every colour below is the crest's green (#0a6d44) or red
   (#c93436), or a tint/shade of them. No greys or near-blacks from outside.
   ========================================================================== */
:root {
	--green: #0a6d44;
	--green-700: #095e3b;
	--green-800: #084f32;
	--green-900: #063d27;
	--green-950: #063d27;
	--green-50: #eef6f2;
	--green-100: #d6e9df;
	--red: #c93436;
	--red-600: #b12a2c;
	--red-50: #fbeceb;
	--ink: #0e2a1e;
	--ink-2: #3e5a4d;
	--ink-3: #5f7a6d;
	--line: #dbe7e0;
	--muted: #f3f8f5;
}

/* Headings and accents */
.eyebrow { color: var(--red); }
.section-title, h1, h2, h3 { color: var(--ink); }
a { color: var(--green); }
:focus-visible { outline-color: var(--red); }

/* Header: crest-green text once solid */
.masthead.is-scrolled, body.has-drawer .masthead { color: var(--green-900); border-bottom: 3px solid var(--green); box-shadow: 0 6px 20px rgb(10 109 68 / .08); }
.masthead.is-scrolled .nav__link[aria-current="page"], .masthead.is-scrolled .nav__link:hover, .masthead.is-scrolled .nav__item.is-open > .nav__link { background: var(--green-50); color: var(--green); }
.nav__sub { border-top: 3px solid var(--red); }
.nav__sub a:hover { background: var(--green-50); color: var(--green); }

/* Slider overlay: the crest green, deepened, not black */
.hero__slide::after { background: linear-gradient(90deg, rgb(6 61 39 / .92) 0%, rgb(10 109 68 / .62) 50%, rgb(10 109 68 / .18) 100%), linear-gradient(0deg, rgb(6 61 39 / .7), transparent 55%), linear-gradient(180deg, rgb(6 61 39 / .55), transparent 25%); }
.hero__eyebrow { color: var(--white); display: inline-flex; align-items: center; gap: .6rem; }
.hero__eyebrow::before { content: ""; width: 28px; height: 3px; border-radius: 2px; background: var(--red); }
.btn--white { color: var(--green); }
.notice-bar { background: var(--green-900); border-top: 3px solid var(--red); backdrop-filter: none; }

/* Figures band and featured card stay crest green; give them a red rule */
.figures { background: var(--green); box-shadow: inset 0 -4px 0 var(--red); }
.quick__card--featured { background: var(--green); border-color: var(--green); }
.quick__card--featured:hover { background: var(--green-700); border-color: var(--green-700); }
.quick__icon { background: var(--green-50); color: var(--green); }
.quick__card:hover { border-color: var(--green); }

/* Lists, steps, accordions */
.steps__num { background: var(--green); color: var(--white); border-color: var(--green); }
.accordion__icon { color: var(--red); }
.accordion__item[open] { border-color: var(--green); box-shadow: 0 8px 24px rgb(10 109 68 / .1); }
.rows a:hover, .side-links a:hover { background: var(--green-50); color: var(--green); }
.bullets li::before { background: var(--red); }
.timeline::before { background: var(--green-100); }
.timeline li::before { border-color: var(--red); }
.vm__card { border-top: 3px solid var(--green); }
.vm__card .vm__label, .programme__award { color: var(--red); }
.pills li { border-color: var(--green-100); background: var(--green-50); color: var(--green-900); }
.req h3 { color: var(--green-900); }
.programme:hover { border-color: var(--green); }
.officer__photo { background: var(--green); border-color: var(--green); }
.officer__initials { color: var(--white); }
.officer__role { color: var(--red); font-weight: 600; }
.side-card__title { background: var(--green-50); color: var(--green-900); }
.side-apply { background: var(--green); box-shadow: inset 0 -4px 0 var(--red); }

/* Banner: crest green with the red rule */
.banner { background: var(--green); border-bottom: 4px solid var(--red); }

/* Footer: crest green itself, not near-black */
.footer { background: var(--green); color: rgb(255 255 255 / .85); border-top: 4px solid var(--red); }
.footer a { color: var(--white); }
.footer__heading { color: var(--white); }
.footer__heading::after { content: ""; display: block; width: 24px; height: 3px; margin-top: .5rem; border-radius: 2px; background: var(--red); }
.brand--footer .brand__place, .footer__contact .icon { color: rgb(255 255 255 / .85); }
.footer__bar { border-top-color: rgb(255 255 255 / .2); }
.drawer__backdrop { background: rgb(6 61 39 / .55); }
.drawer__contact .icon { color: var(--green); }

/* Flyer */
.flyer::backdrop { background: rgb(6 61 39 / .6); }
.flyer__card { border-top: 4px solid var(--green); }
.gallery__item figcaption { background: linear-gradient(0deg, rgb(6 61 39 / .85), transparent); }
.hero__caption { background: rgb(6 61 39 / .55); }

/* ==========================================================================
   No coloured borders or accent rules (site owner's rule). Separation comes
   from fills, spacing and soft shadows; only faint neutral hairlines remain.
   ========================================================================== */
.masthead.is-scrolled, body.has-drawer .masthead { border-bottom: 0; box-shadow: 0 6px 20px rgb(10 109 68 / .08); }
.nav__sub { border-top: 0; }
.notice-bar { border-top: 0; }
.figures, .side-apply { box-shadow: none; }
.vm__card { border-top: 1px solid var(--line); }
.accordion__item[open] { border-color: var(--line); }
.quick__card:hover, .programme:hover { border-color: var(--line); }
.quick__card--featured, .quick__card--featured:hover { border-color: transparent; }
.officer__photo { border: 0; }
.banner { border-bottom: 0; }
.footer { border-top: 0; }
.footer__heading::after { content: none; }
.flyer__card { border-top: 0; }
.steps__num { border: 0; }
.timeline li::before { border: 0; background: var(--green); box-shadow: 0 0 0 4px var(--green-50); }
.timeline::before { background: var(--green-50); }
.hero__eyebrow::before { content: none; }
.eyebrow::before { content: none; }
.hero__arrow { border-color: rgb(255 255 255 / .35); }
:focus-visible { outline-color: currentColor; }

/* ---------- Mobile drawer sub-menus (fix: desktop centring was shifting them off-screen) ---------- */
.drawer__nav .nav__sub,
.drawer__nav .nav__item.is-open > .nav__sub {
	position: static; left: auto; transform: none; min-width: 0; box-shadow: none;
	opacity: 1; visibility: visible; background: none; border-radius: 0;
	display: grid; grid-template-rows: 0fr; padding: 0; transition: grid-template-rows .3s var(--ease);
}
.drawer__nav .nav__sub::before { content: none; }
.drawer__nav .nav__item.is-open > .nav__sub { grid-template-rows: 1fr; }
.drawer__nav .nav__sub > li { min-height: 0; overflow: hidden; }
.drawer__nav .nav__item.is-open > .nav__sub > li:last-child { padding-bottom: .6rem; }
.drawer__nav .nav__sub a { margin: 0 0 2px; padding: .7rem .9rem; border-radius: var(--radius-sm); background: var(--green-50); color: var(--ink); font-weight: 500; }
.drawer__nav .nav__sub a:hover, .drawer__nav .nav__sub a:active { background: var(--green-100); color: var(--green); }

/* ---------- Footer: red dash under column headings (kept by request) ---------- */
.footer__heading::after { content: ""; display: block; width: 24px; height: 3px; margin-top: .55rem; border-radius: 2px; background: var(--red); }
.drawer__nav .nav__sub { display: none; grid-template-rows: none; transition: none; }
.drawer__nav .nav__item.is-open > .nav__sub { display: block; padding-bottom: .6rem; animation: fade-down .3s var(--ease); }
.drawer__nav .nav__sub > li { overflow: visible; }
.drawer__nav .nav__item.is-open > .nav__sub > li:last-child { padding-bottom: 0; }
