/* Urban University static site — design system
   Tokens, layout, components. One file for every page. */

/* ---------------------------------------------------------------
   1. Tokens
----------------------------------------------------------------*/
:root {
  --green-900: #0B2E23;
  --green-800: #0F3D2E;
  --green-700: #17513D;
  --green-100: #E4EFE8;
  --gold-500: #C8973A;
  --gold-600: #A87A24;
  --gold-100: #F6ECD6;
  --cream-50: #FAF8F2;
  --white: #FFFFFF;
  --ink: #14201A;
  --body: #3A4741;
  --muted: #5A6760;
  --line: #E3DFD3;

  --container: 1180px;
  --container-pad: clamp(1rem, 5vw, 2rem);
  --section-y: 40px;
  --btn-h: 44px;
  --radius: 12px;

  --font-head: "Merriweather", Georgia, "Times New Roman", serif;
  --font-body: "Source Sans 3", "Segoe UI", Helvetica, Arial, sans-serif;

  --shadow-soft: 0 6px 20px rgba(11, 46, 35, 0.07);
  --header-h: 72px;
}

/* ---------------------------------------------------------------
   2. Reset and base
----------------------------------------------------------------*/
*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--body);
  background: var(--cream-50);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a { color: inherit; }

button { font: inherit; }

:focus-visible {
  outline: 3px solid var(--gold-500);
  outline-offset: 2px;
  border-radius: 3px;
}

[id] { scroll-margin-top: 96px; }

/* ---------------------------------------------------------------
   3. Typography
----------------------------------------------------------------*/
h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 0.6em;
  color: inherit;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  letter-spacing: -0.015em;
  margin-bottom: 0.4em;
}

h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); letter-spacing: -0.01em; }

h3 { font-size: 1.25rem; }

h4 { font-size: 1.0625rem; }

p { margin: 0 0 1.1em; max-width: 65ch; }

p:last-child { margin-bottom: 0; }

small, .small { font-size: 0.875rem; }

strong { font-weight: 600; }

ul, ol { margin: 0 0 1.1em; padding-left: 1.25em; max-width: 65ch; }

li { margin-bottom: 0.4em; }

.eyebrow {
  display: block;
  margin: 0 0 1rem;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.65;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-600);
}

.lead { font-size: 1.0625rem; color: var(--muted); max-width: 60ch; }

.muted { color: var(--muted); }

/* ---------------------------------------------------------------
   4. Layout
----------------------------------------------------------------*/
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

.section { padding-block: var(--section-y); }

.section--white { background: var(--white); }
.section--cream { background: var(--cream-50); }
.section--tint { background: var(--green-100); }

.section--dark {
  background: var(--green-900);
  color: var(--white);
}

.section--dark .lead,
.section--dark .muted { color: rgba(255, 255, 255, 0.78); }

.section--dark .eyebrow { color: var(--gold-500); }

.section__head { margin-bottom: clamp(1.75rem, 4vw, 2.75rem); }

.section__head--split {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem 2rem;
}

.section__head--split > div { max-width: 60ch; }

.grid { display: grid; gap: clamp(1rem, 2.5vw, 1.5rem); }

/* ---------------------------------------------------------------
   5. Buttons and links
----------------------------------------------------------------*/
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  height: var(--btn-h);
  padding: 0 22px;
  border: 2px solid transparent;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
  white-space: nowrap;
}

.btn--primary {
  background: var(--green-800);
  color: var(--white);
}

.btn--primary:hover { background: var(--green-700); border-color: var(--green-700); }

.btn--secondary {
  background: transparent;
  color: var(--green-800);
  border-color: var(--green-800);
}

.btn--secondary:hover { background: var(--green-800); color: var(--white); }

/* Same two styles on dark surfaces: primary reads gold, secondary reads light. */
.hero .btn--primary,
.section--dark .btn--primary {
  background: var(--gold-500);
  border-color: var(--gold-500);
  color: var(--ink);
}

.hero .btn--primary:hover,
.section--dark .btn--primary:hover { background: var(--gold-600); border-color: var(--gold-600); color: var(--ink); }

.hero .btn--secondary,
.section--dark .btn--secondary {
  color: var(--white);
  border-color: var(--white);
}

.hero .btn--secondary:hover,
.section--dark .btn--secondary:hover { background: var(--white); border-color: var(--white); color: var(--green-800); }

.link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--green-800);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
}

.link:hover { border-bottom-color: currentColor; }

.link svg { transition: transform 0.18s ease; flex: none; }

.link:hover svg { transform: translateX(3px); }

.section--dark .link { color: var(--gold-500); }

.link--light { color: var(--white); }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.875rem;
  align-items: center;
}

/* ---------------------------------------------------------------
   6. Announcement bar
----------------------------------------------------------------*/
.announce {
  background: var(--green-900);
  color: var(--white);
  font-size: 14px;
  line-height: 1.4;
}

.announce__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.3rem 0.75rem;
  min-height: 36px;
  padding-block: 0.3rem;
  text-align: center;
}

.announce a {
  color: var(--gold-500);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.announce a:hover { color: var(--white); }

/* ---------------------------------------------------------------
   7. Top strip and header
----------------------------------------------------------------*/
.topbar {
  background: var(--cream-50);
  border-bottom: 1px solid var(--line);
  font-size: 0.8125rem;
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 38px;
}

.topbar__place {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--muted);
}

.topbar__nav {
  display: flex;
  align-items: center;
  gap: clamp(0.75rem, 2vw, 1.375rem);
}

.topbar__nav a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 500;
}

.topbar__nav a:hover { color: var(--green-800); text-decoration: underline; text-underline-offset: 3px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--ink);
  min-width: 0;
}

.brand__mark { width: 38px; height: 38px; flex: none; }

.brand__name {
  display: block;
  font-family: var(--font-head);
  font-size: 1.0625rem;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.01em;
}

.brand__place {
  display: block;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(0.75rem, 1.6vw, 1.375rem);
}

.nav a {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  padding: 0.35rem 0;
  border-bottom: 2px solid transparent;
}

.nav a:hover { color: var(--green-800); border-bottom-color: var(--gold-500); }

.header__actions { display: flex; align-items: center; gap: 0.75rem; }

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: var(--btn-h);
  height: var(--btn-h);
  padding: 0;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  cursor: pointer;
}

.nav-toggle:hover { border-color: var(--green-800); }

.nav-toggle .icon-close { display: none; }

.nav-toggle[aria-expanded="true"] .icon-menu { display: none; }

.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

.mobile-menu {
  display: none;
  background: var(--white);
  border-top: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}

.mobile-menu.is-open { display: block; }

.mobile-menu > a {
  display: block;
  padding: 0.95rem var(--container-pad);
  border-bottom: 1px solid var(--line);
  font-weight: 600;
  text-decoration: none;
  color: var(--ink);
}

.mobile-menu > a:hover { background: var(--cream-50); color: var(--green-800); }

.mobile-menu__apply {
  padding: 1rem var(--container-pad);
  background: var(--cream-50);
}

.mobile-menu__apply .btn { width: 100%; }

/* ---------------------------------------------------------------
   8. Hero
----------------------------------------------------------------*/
.hero {
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--green-900);
  color: var(--white);
  min-height: clamp(430px, 58vh, 600px);
  padding-block: clamp(3rem, 6vw, 4.5rem) clamp(2.5rem, 5vw, 4rem);
}

.hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(11, 46, 35, 0.92) 0%, rgba(11, 46, 35, 0.35) 100%);
}

.hero__inner { position: relative; z-index: 1; }

.hero h1 { max-width: 15ch; }

.hero__sub {
  font-size: clamp(1.0625rem, 1.6vw, 1.1875rem);
  color: rgba(255, 255, 255, 0.94);
  max-width: 52ch;
  margin-bottom: 1.75rem;
}

.hero .eyebrow { color: rgba(255, 255, 255, 0.92); }

.hero__note {
  margin-top: 1.5rem;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.9);
}

/* Compact page header for inner pages */
.page-head {
  background: var(--green-900);
  color: var(--white);
  padding-block: var(--section-y);
}

.page-head .eyebrow { color: rgba(255, 255, 255, 0.78); }

.page-head h1 { max-width: 18ch; }

.page-head p {
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.0625rem;
  max-width: 58ch;
}

/* ---------------------------------------------------------------
   9. Quick access cards
----------------------------------------------------------------*/
.quick-grid { grid-template-columns: repeat(3, 1fr); }

.quick-card {
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding: 1.375rem 1.375rem 1.25rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--ink);
  min-width: 0;
  transition: box-shadow 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.quick-card:hover { box-shadow: 0 10px 26px rgba(11, 46, 35, 0.11); border-color: var(--line); transform: translateY(-2px); }

.quick-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--green-800);
  background: var(--cream-50);
}

.quick-card__title {
  margin: 0;
  font-family: var(--font-head);
  font-size: 1.0625rem;
  font-weight: 700;
}

.quick-card__text {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--muted);
  flex-grow: 1;
}

.quick-card__more {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--green-800);
}

.quick-card:hover .quick-card__more svg { transform: translateX(3px); }

.quick-card__more svg { transition: transform 0.18s ease; }

/* ---------------------------------------------------------------
   10. Programme cards
----------------------------------------------------------------*/
.prog-grid { grid-template-columns: repeat(6, 1fr); }

.prog-card {
  box-shadow: var(--shadow-soft);
  grid-column: span 2;
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  color: var(--ink);
  min-width: 0;
  transition: box-shadow 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.prog-card:hover { box-shadow: 0 10px 26px rgba(11, 46, 35, 0.11); border-color: var(--line); transform: translateY(-2px); }

.prog-card:nth-child(4),
.prog-card:nth-child(5) { grid-column: span 3; }

.prog-card__media { overflow: hidden; background: var(--line); }

.prog-card__media img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.prog-card:hover .prog-card__media img { transform: scale(1.03); }

.prog-card__body {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1.25rem 1.375rem 1.375rem;
}

.prog-card__title { margin: 0; font-size: 1.25rem; }

.prog-card__text { margin: 0; font-size: 0.9375rem; color: var(--muted); flex-grow: 1; }

.prog-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--green-800);
}

.prog-card:hover .prog-card__link svg { transform: translateX(3px); }

.prog-card__link svg { transition: transform 0.18s ease; }

/* ---------------------------------------------------------------
   11. Campus life
----------------------------------------------------------------*/
.campus-grid {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
}

.campus-copy p { color: var(--muted); }

.campus-copy .btn-row { margin-top: 1.5rem; }

.campus-media {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(0.75rem, 2vw, 1.25rem);
}

.campus-media figure { margin: 0; min-width: 0; }

.campus-media figure:first-child { grid-column: 1 / -1; }

.campus-media img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--line);
}

.campus-media figcaption {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: var(--muted);
}

/* ---------------------------------------------------------------
   12. Steps band
----------------------------------------------------------------*/
.steps-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: clamp(1rem, 2.5vw, 1.75rem);
  list-style: none;
  margin: 0;
  padding: 0;
  max-width: none;
}

.step {
  border-top: 2px solid rgba(200, 151, 58, 0.85);
  padding-top: 1rem;
  min-width: 0;
}

.step__num {
  display: block;
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gold-500);
  line-height: 1;
  margin-bottom: 0.6rem;
}

.step__title {
  margin: 0 0 0.35rem;
  font-size: 1.0625rem;
  font-family: var(--font-head);
}

.step__text { margin: 0; font-size: 0.9375rem; color: rgba(255, 255, 255, 0.8); }

.section--white .step,
.section--cream .step { border-top-color: var(--gold-500); }

.section--white .step__text,
.section--cream .step__text { color: var(--muted); }

.section--white .step__num,
.section--cream .step__num { color: var(--green-800); }

/* ---------------------------------------------------------------
   13. News, events, signup
----------------------------------------------------------------*/
.news-grid { grid-template-columns: repeat(3, 1fr); }

@media (min-width: 769px) {
  .news-grid > .news-card:only-child { grid-column: span 2; }
}

.news-card {
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  color: var(--ink);
  min-width: 0;
  transition: box-shadow 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.news-card:hover { box-shadow: 0 10px 26px rgba(11, 46, 35, 0.11); border-color: var(--line); transform: translateY(-2px); }

.news-card__media { background: var(--line); }

.news-card__media img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.news-card__body {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1.15rem 1.25rem 1.25rem;
}

.news-card__meta {
  margin: 0;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.news-card__title { margin: 0; font-size: 1.125rem; }

.news-card__more {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--green-800);
  margin-top: auto;
}

.news-card:hover .news-card__more svg { transform: translateX(3px); }

.news-card__more svg { transition: transform 0.18s ease; }

/* Events */
.events-grid {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
  margin-top: clamp(2rem, 5vw, 3.5rem);
}

.event-list {
  list-style: none;
  margin: 0;
  padding: 0;
  max-width: none;
  border-top: 1px solid var(--line);
}

.event {
  display: flex;
  gap: 1.125rem;
  align-items: center;
  margin: 0;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--line);
}

.event__body { min-width: 0; }

.event__title { margin: 0 0 0.15rem; font-size: 1.0625rem; }

.event__meta { margin: 0; font-size: 0.875rem; color: var(--muted); }

/* Signup */
.signup {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.375rem, 3vw, 1.875rem);
}

.signup h3 { margin-bottom: 0.4rem; }

.signup p { font-size: 0.9375rem; color: var(--muted); }

.signup .field { margin-top: 1rem; }

.form-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: flex-end;
}

.form-inline .field { flex: 1 1 220px; margin-top: 0; }

.form-inline .form-note { flex-basis: 100%; }

/* ---------------------------------------------------------------
   14. Call to action
----------------------------------------------------------------*/
.section.cta {
  background: var(--gold-100);
  color: var(--ink);
}

.cta__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: clamp(1.5rem, 4vw, 3rem);
}

.cta__inner > div { max-width: 46ch; }

.cta h2 { margin-bottom: 0.5rem; }

.cta .eyebrow { color: var(--gold-600); }

.cta p { color: var(--body); }

/* ---------------------------------------------------------------
   15. Footer
----------------------------------------------------------------*/
.site-footer {
  background: var(--green-900);
  color: rgba(255, 255, 255, 0.82);
  padding-block: 40px 28px;
  font-size: 0.9375rem;
}

.footer__cols {
  display: grid;
  grid-template-columns: 2fr 1fr 1.3fr;
  gap: clamp(1.75rem, 4vw, 3rem);
}

.footer__brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  min-height: 44px;
  color: var(--white);
  text-decoration: none;
  margin-bottom: 0.875rem;
}

.footer__brand .brand__name { font-size: 1.125rem; }

.footer__brand .brand__place { color: rgba(255, 255, 255, 0.65); }

.footer__text { margin: 0; max-width: 40ch; color: rgba(255, 255, 255, 0.75); }

.footer__heading {
  font-family: var(--font-head);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.62);
  margin: 0 0 0.5rem;
}

.footer__list { list-style: none; margin: 0; padding: 0; max-width: none; }

.footer__list li { margin-bottom: 0; }

.footer__list a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: rgba(255, 255, 255, 0.86);
  text-decoration: none;
}

.footer__list a:hover { color: var(--white); text-decoration: underline; text-underline-offset: 3px; }

.footer__contact li { display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: baseline; }

.footer__label {
  min-width: 4.5rem;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.875rem;
}

.footer__bottom {
  margin-top: clamp(1.5rem, 3vw, 2rem);
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.5rem;
  justify-content: space-between;
  align-items: center;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.62);
}

.footer__bottom p { margin: 0; max-width: none; }

.footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 0 1.25rem;
}

.footer__legal a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
}

.footer__legal a:hover { color: var(--white); text-decoration: underline; text-underline-offset: 3px; }

/* ---------------------------------------------------------------
   16. Inner page components
----------------------------------------------------------------*/
.media-block img {
  display: block;
  width: 100%;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--line);
}

.ar-4-5 { aspect-ratio: 4 / 5; }
.ar-3-2 { aspect-ratio: 3 / 2; }
.ar-1-1 { aspect-ratio: 1 / 1; }
.ar-16-9 { aspect-ratio: 16 / 9; }
.ar-4-3 { aspect-ratio: 4 / 3; }

.split {
  display: grid;
  grid-template-columns: 6fr 6fr;
  gap: clamp(1.75rem, 5vw, 4rem);
  align-items: start;
}

.split--media-first { grid-template-columns: 5fr 7fr; }

.split--wide-first { grid-template-columns: 7fr 5fr; }

figcaption.caption {
  margin-top: 0.6rem;
  font-size: 0.875rem;
  color: var(--muted);
}

/* Jump nav */
.jump {
  display: flex;
  flex-wrap: wrap;
  gap: 0.625rem;
  list-style: none;
  margin: 0 0 clamp(1.5rem, 4vw, 2.5rem);
  padding: 0;
  max-width: none;
}

/* Programme detail blocks */
.prog-block {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(1.25rem, 4vw, 3rem);
  padding-block: clamp(1.75rem, 4vw, 2.75rem);
  border-top: 1px solid var(--line);
}

.prog-block:first-of-type { border-top: 0; padding-top: 0; }

.prog-block h2 { margin-bottom: 0; font-size: clamp(1.5rem, 2.5vw, 2rem); }

.prog-block__area {
  display: block;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  line-height: 1.65;
  font-weight: 600;
  color: var(--muted);
  margin: 0 0 0.5rem;
}

.subject-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  margin: 1rem 0 1.25rem;
  padding: 0;
  max-width: none;
}

.subject-list li {
  margin: 0;
  padding: 0.3rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  font-size: 0.875rem;
  font-weight: 500;
}

/* Fact list */
.fact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  max-width: none;
  border-top: 1px solid var(--line);
}

.fact-list li {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  align-items: baseline;
  justify-content: space-between;
  margin: 0;
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--line);
}

.fact-list dt, .fact-list .fact__label { font-weight: 600; }

.fact-list .fact__value { color: var(--muted); text-align: right; }

/* Feature cards with icons */
.feature-grid { grid-template-columns: repeat(2, 1fr); }

.feature {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.25rem, 3vw, 1.75rem);
  min-width: 0;
}

.feature__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 0.875rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--cream-50);
  color: var(--green-800);
}

.feature h3 { margin-bottom: 0.4rem; }

.feature p { font-size: 0.9375rem; color: var(--muted); margin-bottom: 0.75rem; }

/* Alumni block */
.alumni {
  display: grid;
  grid-template-columns: 4fr 8fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}

.alumni__portrait {
  width: 100%;
  max-width: 320px;
}

.alumni__note {
  font-size: 1.0625rem;
  color: var(--muted);
  max-width: 52ch;
}

/* Definition list (contact details) */
.detail-list { list-style: none; margin: 0; padding: 0; max-width: none; }

.detail-list li {
  display: grid;
  grid-template-columns: 8rem 1fr;
  gap: 0.5rem 1rem;
  align-items: baseline;
  margin: 0;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
}

.detail-list .detail__label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.9375rem;
}

.detail-list .detail__label svg { color: var(--green-800); flex: none; }

/* Forms */
.field { display: grid; gap: 0.4rem; }

.field label { font-size: 0.875rem; font-weight: 600; }

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 44px;
  padding: 0.6rem 0.875rem;
  border: 1px solid #C4BCA7;
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.4;
}

.field textarea { min-height: 140px; resize: vertical; }

.field input:hover, .field select:hover, .field textarea:hover { border-color: #A9A18C; }

.field input::placeholder, .field textarea::placeholder { color: #6E7873; }

.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }

.form-grid .field--full { grid-column: 1 / -1; }

.form-actions { margin-top: 1.25rem; display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; }

.form-note {
  margin: 0;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--green-800);
  max-width: none;
}

.form-note:empty { display: none; }

/* News list on news page */
.news-item {
  display: grid;
  grid-template-columns: 10rem 1fr;
  gap: clamp(1rem, 3vw, 2.5rem);
  padding-block: clamp(1.5rem, 3vw, 2.25rem);
  border-top: 1px solid var(--line);
}

.news-item:first-of-type { border-top: 0; padding-top: 0; }

.news-item__date { font-size: 0.875rem; color: var(--muted); }

.news-item__date .news-cat {
  display: block;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.35rem;
  font-size: 0.9375rem;
}

.news-item h3 { margin-bottom: 0.5rem; }

/* Research list */
.research-list { list-style: none; margin: 0; padding: 0; max-width: none; }

.research-list li {
  display: grid;
  grid-template-columns: minmax(11rem, 16rem) 1fr;
  gap: 0.35rem 1.5rem;
  margin: 0;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--line);
}

.research-list strong { font-family: var(--font-head); font-size: 1.0625rem; }

.research-list span { color: var(--muted); font-size: 0.9375rem; }

/* ---------------------------------------------------------------
   17. Utilities
----------------------------------------------------------------*/
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: var(--container-pad);
  top: -60px;
  z-index: 100;
  padding: 0.65rem 1.1rem;
  background: var(--gold-500);
  color: var(--ink);
  font-weight: 600;
  font-size: 0.9375rem;
  border-radius: var(--radius);
  text-decoration: none;
  transition: top 0.15s ease;
}

.skip-link:focus { top: 0.75rem; }

.stack > * + * { margin-top: 1.25rem; }

.mt-0 { margin-top: 0; }

.mt-2 { margin-top: 1.5rem; }

.mt-3 { margin-top: 2.25rem; }

.center { text-align: center; }

.center p, .center .lead { margin-inline: auto; }

/* ---------------------------------------------------------------
   18. Responsive
----------------------------------------------------------------*/
@media (min-width: 768px) {
  :root { --section-y: 48px; }
  .site-footer { padding-top: 48px; }
}

@media (min-width: 1024px) {
  :root { --section-y: 64px; }
  .site-footer { padding-top: 56px; }
}

@media (max-width: 1080px) {
  .nav { gap: 0.875rem; }
  .nav a { font-size: 0.9375rem; }
}

@media (max-width: 960px) {
  .nav { display: none; }
  .nav-toggle { display: inline-flex; }
  .header__actions .btn--primary { display: none; }
  .quick-grid { grid-template-columns: repeat(2, 1fr); }
  .prog-grid { grid-template-columns: repeat(2, 1fr); }
  .prog-card,
  .prog-card:nth-child(4),
  .prog-card:nth-child(5) { grid-column: auto; }
  .prog-card:nth-child(5) { grid-column: 1 / -1; }
  .campus-grid,
  .events-grid,
  .split,
  .split--media-first,
  .split--wide-first,
  .prog-block,
  .alumni { grid-template-columns: 1fr; }
  .split--media-first > .media-block { order: 1; }
  .steps-grid { grid-template-columns: repeat(3, 1fr); }
  .news-grid { grid-template-columns: repeat(2, 1fr); }
  .footer__cols { grid-template-columns: 1fr 1fr; }
  .alumni__portrait { max-width: 260px; }
}

@media (max-width: 767px) {
  :root { --btn-h: 40px; }
  .brand__mark { width: 34px; height: 34px; }
}

@media (max-width: 768px) {
  .topbar__inner { flex-wrap: wrap; padding-block: 0.4rem; gap: 0.25rem 1rem; }
  .topbar__nav { gap: 0.875rem; flex-wrap: wrap; }
  .news-grid { grid-template-columns: 1fr; }
  .footer__cols { grid-template-columns: 1fr; gap: 1.75rem; }
  .site-footer { text-align: left; }
  .footer__bottom { justify-content: flex-start; }
  .form-grid { grid-template-columns: 1fr; }
  .research-list li { grid-template-columns: 1fr; }
  .detail-list li { grid-template-columns: 1fr; gap: 0.15rem; }
}

@media (max-width: 700px) {
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .news-item { grid-template-columns: 1fr; gap: 0.5rem; }
}

@media (max-width: 640px) {
  :root { --header-h: 64px; }
  .quick-grid { grid-template-columns: 1fr; }
  .prog-grid { grid-template-columns: 1fr; }
  .prog-card:nth-child(5) { grid-column: auto; }
  .feature-grid { grid-template-columns: 1fr; }
  .news-grid { grid-template-columns: 1fr; }
  .brand__name { font-size: 1rem; }
  .campus-media { grid-template-columns: 1fr; }
  .event { gap: 0.875rem; }
  .btn-row { gap: 0.75rem; }
}

@media (max-width: 420px) {
  .steps-grid { grid-template-columns: 1fr; }
  .form-inline { flex-direction: column; align-items: stretch; }
  .form-inline .btn { width: 100%; }
}

/* ---------------------------------------------------------------
   19. Motion preferences
----------------------------------------------------------------*/
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .prog-card:hover .prog-card__media img { transform: none; }
  .quick-card:hover,
  .prog-card:hover,
  .news-card:hover { transform: none; }
}
