:root {
  color-scheme: dark;
  --black: #050505;
  --black-2: #0d0d0d;
  --black-3: #171717;
  --gold: #d8a82f;
  --gold-2: #f2cf74;
  --gold-3: #8d6818;
  --white: #ffffff;
  --paper: #f7f3ea;
  --muted: #b8b8b8;
  --muted-dark: #5b5b5b;
  --line: rgba(255, 255, 255, 0.14);
  --line-dark: rgba(5, 5, 5, 0.12);
  --success: #88c99b;
  --danger: #e86464;
  --max: 1200px;
  --radius: 8px;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
  --header: 88px;
  --transition: 180ms ease;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  background: var(--black);
  color: var(--white);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

img,
svg {
  display: block;
}

img {
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

::selection {
  background: var(--gold);
  color: var(--black);
}

.progress-bar {
  position: fixed;
  inset: 0 auto auto 0;
  z-index: 70;
  width: 0;
  height: 3px;
  background: var(--gold);
  transform-origin: left center;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(5, 5, 5, 0.82);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(20px);
  transition: background 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled {
  background: rgba(5, 5, 5, 0.96);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.24);
}

.topbar,
.navbar,
.section,
.split-section,
.footer-inner {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
}

.topbar,
.navbar {
  width: min(1400px, calc(100% - 32px));
}

.topbar {
  min-height: 34px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 18px;
  color: var(--muted);
  font-size: 0.86rem;
}

.topbar-contacts {
  justify-self: start;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 14px;
  min-width: 0;
  font-size: 0.76rem;
}

.topbar-contacts a {
  gap: 6px;
  white-space: nowrap;
}

.topbar-links {
  grid-column: 3;
  justify-self: end;
}

.topbar a,
.topbar-links,
.topbar-socials,
.brand,
.nav-links,
.nav-tools,
.button,
.icon-link,
.meta-row,
.social-row,
.chip,
.tab-list {
  display: flex;
  align-items: center;
}

.topbar a,
.topbar-links,
.topbar-socials {
  gap: 10px;
}

.topbar svg,
.button svg,
.icon-link svg,
.social-row svg,
.chip svg,
.meta-row svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.topbar-links a {
  padding: 4px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-weight: 800;
}

.topbar-socials {
  grid-column: 2;
  justify-content: center;
}

.topbar-socials a {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.topbar-socials a:hover {
  transform: translateY(-2px);
  border-color: rgba(216, 168, 47, 0.58);
  background: rgba(216, 168, 47, 0.12);
}

.topbar-socials img {
  width: 14px;
  height: 14px;
}

.navbar {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.brand {
  flex: 0 0 282px;
  gap: 10px;
  min-width: 282px;
}

.brand-copy {
  min-width: 0;
  max-width: 216px;
}

.brand-mark {
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(216, 168, 47, 0.45);
  border-radius: 50%;
  background: linear-gradient(145deg, #050505, #15120a);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05);
  overflow: hidden;
}

.brand-mark img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.brand strong {
  display: block;
  color: var(--gold-2);
  font-size: 0.84rem;
  line-height: 1.06;
  letter-spacing: 0;
  white-space: normal;
}

.brand small {
  display: block;
  width: fit-content;
  margin-top: 5px;
  padding-top: 5px;
  border-top: 1px solid rgba(216, 168, 47, 0.72);
  color: #ececec;
  font-size: 0.66rem;
  font-weight: 850;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}

.footer-brand strong {
  display: block;
  font-size: 0.98rem;
  line-height: 1.1;
  letter-spacing: 0;
}

.footer-brand small {
  display: block;
  color: var(--gold-2);
  font-size: 0.75rem;
  font-weight: 800;
}

.nav-links {
  flex: 1 1 auto;
  justify-content: center;
  gap: 0;
  min-width: 0;
}

.mobile-footer-portals {
  display: none;
}

.mobile-menu-portals {
  display: none;
}

.nav-item {
  position: relative;
}

.nav-links a,
.nav-parent {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 8px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #e6e6e6;
  font-size: 0.86rem;
  font-weight: 800;
  transition: background 160ms ease, color 160ms ease, transform 160ms ease;
}

.nav-parent svg {
  width: 16px;
  height: 16px;
}

.nav-links a:hover,
.nav-links a.is-active,
.nav-parent.is-active,
.nav-parent:hover,
.nav-item.is-open > .nav-parent,
.nav-item:focus-within > .nav-parent {
  background: rgba(216, 168, 47, 0.12);
  color: var(--gold-2);
}

.dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 260px;
  display: grid;
  gap: 4px;
  padding: 10px;
  border: 1px solid rgba(216, 168, 47, 0.22);
  border-radius: var(--radius);
  background: rgba(5, 5, 5, 0.98);
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 160ms ease, transform 160ms ease, visibility 160ms ease;
}

.nav-item:hover .dropdown,
.nav-item:focus-within .dropdown,
.nav-item.is-open .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown a {
  min-height: 42px;
  justify-content: flex-start;
  border-radius: var(--radius);
  white-space: normal;
}

.nav-tools {
  flex: 0 0 auto;
  gap: 8px;
  margin-left: 4px;
  position: relative;
  z-index: 2;
}

.nav-tools .button.gold {
  min-width: 196px;
  padding-inline: 16px;
  white-space: nowrap;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 50%;
  background:
    linear-gradient(currentColor, currentColor) center calc(50% - 6px) / 18px 2px no-repeat,
    linear-gradient(currentColor, currentColor) center / 18px 2px no-repeat,
    linear-gradient(currentColor, currentColor) center calc(50% + 6px) / 18px 2px no-repeat,
    rgba(255, 255, 255, 0.08);
  color: var(--white);
}

.nav-toggle-mobile {
  display: none;
}

.nav-toggle svg {
  width: 22px;
  height: 22px;
}

.nav-toggle::before {
  content: "";
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  box-shadow: 0 -6px 0 currentColor, 0 6px 0 currentColor;
}

.nav-toggle svg,
.nav-toggle i {
  display: none;
}

.nav-toggle-fallback {
  display: block;
  color: currentColor;
  font-size: 1.45rem;
  font-weight: 900;
  line-height: 1;
}

.button {
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 900;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.gold {
  background: var(--gold);
  color: var(--black);
  box-shadow: 0 16px 32px rgba(216, 168, 47, 0.24);
}

.button.dark {
  background: var(--black);
  color: var(--white);
}

.button.ghost {
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
}

.button.light {
  border-color: var(--line-dark);
  background: var(--white);
  color: var(--black);
}

.hero {
  position: relative;
  min-height: 700px;
  display: grid;
  align-items: end;
  overflow: hidden;
  isolation: isolate;
}

.hero-media,
.hero-video,
.hero-image,
.hero-media img,
.hero::before,
.hero::after {
  position: absolute;
  inset: 0;
}

.hero-video,
.hero-image,
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-video {
  z-index: 0;
  transform: scale(1.04);
}

.hero-image {
  z-index: 1;
  opacity: 0;
  transform: scale(1.04);
  animation: heroImagePulse 22s ease-in-out infinite;
}

.hero-media img:not(.hero-image) {
  transform: scale(1.04);
  animation: heroZoom 18s ease-in-out infinite alternate;
}

.hero::before {
  content: "";
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(5, 5, 5, 0.94), rgba(5, 5, 5, 0.66), rgba(5, 5, 5, 0.22)),
    linear-gradient(0deg, rgba(5, 5, 5, 0.84), rgba(5, 5, 5, 0.08));
}

.hero::after {
  content: "";
  z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(90deg, black, transparent 70%);
  opacity: 0.45;
}

.hero-media {
  z-index: -2;
}

.hero-inner {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  padding: 72px 0 78px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  color: var(--gold-2);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 34px;
  height: 2px;
  background: var(--gold);
}

.hero h1,
.page-hero h1,
.section-title h2,
.split-copy h2,
.cta-panel h2,
.footer-cta h2 {
  margin: 0;
  letter-spacing: 0;
  line-height: 0.98;
  overflow-wrap: anywhere;
}

.hero h1 {
  max-width: 920px;
  font-size: 5.4rem;
}

.hero-copy {
  max-width: 690px;
  margin: 24px 0 0;
  color: #e2e2e2;
  font-size: 1.24rem;
  overflow-wrap: anywhere;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 410px;
  gap: 36px;
  align-items: start;
  min-width: 0;
}

.hero-notice-stack {
  display: grid;
  gap: 12px;
}

.status-panel {
  padding: 22px;
  border: 1px solid rgba(216, 168, 47, 0.34);
  border-radius: var(--radius);
  background: rgba(5, 5, 5, 0.62);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.status-panel span,
.status-panel strong {
  display: block;
}

.status-panel span {
  color: var(--gold-2);
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
}

.status-panel strong {
  margin-top: 6px;
  font-size: 1.5rem;
  line-height: 1.15;
}

.status-panel p {
  margin: 10px 0 0;
  color: var(--muted);
}

.status-panel.is-registration-open,
.status-large.is-registration-open {
  border-color: rgba(216, 168, 47, 0.72);
}

.home-status-panel {
  display: grid;
  gap: 18px;
  padding: 0;
  overflow: hidden;
}

.home-status-section {
  display: grid;
  gap: 7px;
  padding: 22px;
}

.home-status-section small {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.home-status-section strong {
  margin-top: 0;
}

.home-status-section p {
  margin-top: 2px;
  font-size: 0.95rem;
  line-height: 1.55;
}

.home-status-divider {
  height: 1px;
  margin: 0 22px;
  background: rgba(255, 255, 255, 0.14);
}

.home-status-link {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  gap: 8px;
  margin-top: 7px;
  color: var(--white);
  font-weight: 900;
}

.home-status-link svg {
  width: 17px;
  height: 17px;
  color: var(--gold-2);
}

.home-status-link:hover {
  color: var(--gold-2);
}

.home-status-section.has-vacancies .home-status-label {
  color: var(--gold-2);
}

.status-large.is-registration-open .status-badge {
  background: var(--gold);
  color: var(--black);
}

.notice-card {
  display: grid;
  gap: 8px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  background: rgba(5, 5, 5, 0.54);
  color: var(--white);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(18px);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.notice-card:hover {
  transform: translateY(-3px);
  border-color: rgba(216, 168, 47, 0.5);
  background: rgba(5, 5, 5, 0.72);
}

.notice-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.notice-top span,
.notice-card > span {
  color: var(--gold-2);
  font-size: 0.76rem;
  font-weight: 950;
  text-transform: uppercase;
}

.notice-top svg {
  width: 20px;
  height: 20px;
  color: var(--gold);
}

.notice-card strong {
  display: block;
  font-size: 1.16rem;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.notice-card p {
  margin: 0;
  color: var(--muted);
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.notice-card .meta-row {
  margin-top: 4px;
  color: var(--gold-2);
  font-size: 0.88rem;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.social-carousel-card {
  gap: 10px;
  padding: 14px;
}

.social-carousel {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border: 1px solid rgba(216, 168, 47, 0.22);
  border-radius: var(--radius);
  background: #111;
}

.social-carousel-track {
  height: 100%;
  display: flex;
  transition: transform 420ms ease;
}

.social-slide {
  position: relative;
  min-width: 100%;
  height: 100%;
  color: var(--white);
}

.social-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform 420ms ease;
}

.social-slide:hover img {
  transform: scale(1.06);
}

.social-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(5, 5, 5, 0.04), rgba(5, 5, 5, 0.9)),
    linear-gradient(90deg, rgba(5, 5, 5, 0.62), transparent 78%);
}

.social-slide-overlay {
  position: absolute;
  inset: auto 0 0;
  z-index: 1;
  display: grid;
  gap: 5px;
  padding: 14px;
}

.social-slide-meta {
  width: fit-content;
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(216, 168, 47, 0.9);
  color: var(--black);
  font-size: 0.68rem;
  font-weight: 950;
  text-transform: uppercase;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.social-slide strong {
  display: -webkit-box;
  max-width: 92%;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  font-size: 1.04rem;
  line-height: 1.16;
  overflow-wrap: anywhere;
}

.social-slide small {
  display: -webkit-box;
  max-width: 94%;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  color: #eeeeee;
  font-size: 0.8rem;
  line-height: 1.35;
}

.carousel-control {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  background: rgba(5, 5, 5, 0.68);
  color: var(--white);
  transform: translateY(-50%);
  transition: background 160ms ease, transform 160ms ease, border-color 160ms ease;
}

.carousel-control:hover {
  border-color: rgba(216, 168, 47, 0.68);
  background: rgba(216, 168, 47, 0.9);
  color: var(--black);
}

.carousel-control.prev {
  left: 10px;
}

.carousel-control.next {
  right: 10px;
}

.carousel-control svg {
  width: 18px;
  height: 18px;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  min-height: 14px;
}

.carousel-dots button {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.28);
  transition: width 180ms ease, background 180ms ease;
}

.carousel-dots button.is-active {
  width: 22px;
  background: var(--gold-2);
}

.hero-scroll {
  margin-top: 38px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 800;
}

.hero-scroll span {
  width: 30px;
  height: 48px;
  display: inline-flex;
  justify-content: center;
  padding-top: 8px;
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 999px;
}

.hero-scroll span::before {
  content: "";
  width: 4px;
  height: 8px;
  border-radius: 999px;
  background: var(--gold);
  animation: scrollDot 1.3s ease-in-out infinite;
}

.hero-promo-link {
  width: fit-content;
  margin-top: 14px;
  padding: 11px 15px;
  display: flex;
  align-items: center;
  gap: 9px;
  border: 1px solid rgba(216, 168, 47, 0.46);
  border-radius: 12px;
  background: rgba(7, 7, 7, 0.64);
  color: var(--gold-2);
  font-size: 0.86rem;
  font-weight: 800;
  backdrop-filter: blur(12px);
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.hero-promo-link:hover {
  transform: translateY(-2px);
  border-color: var(--gold-2);
  background: rgba(216, 168, 47, 0.14);
}

.hero-promo-link svg {
  width: 18px;
  height: 18px;
}

.stats-strip {
  position: relative;
  z-index: 2;
  width: min(var(--max), calc(100% - 32px));
  margin: -38px auto 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border: 1px solid rgba(216, 168, 47, 0.24);
  border-radius: var(--radius);
  background: var(--black-2);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.stat {
  padding: 26px;
  border-right: 1px solid var(--line);
}

.stat:last-child {
  border-right: 0;
}

.stat strong {
  display: block;
  color: var(--gold-2);
  font-size: 2.2rem;
  line-height: 1;
}

.stat span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-weight: 800;
}

.section {
  padding: 96px 0;
}

.section.dark-band {
  width: 100%;
  max-width: none;
  padding-inline: max(16px, calc((100vw - var(--max)) / 2));
  border-block: 1px solid var(--line);
  background: var(--black-2);
}

.section.light {
  width: 100%;
  max-width: none;
  padding-inline: max(16px, calc((100vw - var(--max)) / 2));
  background: var(--paper);
  color: var(--black);
}

.section-title {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 34px;
}

.section-title h2,
.split-copy h2,
.cta-panel h2,
.footer-cta h2 {
  max-width: 770px;
  font-size: 3.15rem;
}

.section-title p,
.split-copy p,
.cta-panel p {
  max-width: 600px;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 1.04rem;
}

.light .section-title p,
.light .split-copy p,
.light .cta-panel p,
.paper-card p,
.programme-panel p,
.directory-card p,
.timeline-card p,
.contact-card p,
.faq-panel p {
  color: var(--muted-dark);
}

.text-link,
.card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--gold-2);
  font-weight: 950;
}

.light .text-link,
.paper-card .card-link,
.programme-panel .card-link,
.directory-card .card-link {
  color: var(--gold-3);
}

.text-link svg,
.card-link svg {
  width: 18px;
  height: 18px;
}

.feature-grid,
.programme-grid,
.directory-grid,
.event-grid,
.values-grid,
.service-grid,
.contact-grid {
  display: grid;
  gap: 18px;
}

.feature-grid {
  grid-template-columns: repeat(3, 1fr);
}

.paper-card,
.glass-card,
.directory-card,
.timeline-card,
.event-card,
.contact-card,
.faq-panel,
.form-panel {
  border-radius: var(--radius);
}

.glass-card {
  padding: 24px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.055);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.glass-card:hover,
.paper-card:hover,
.directory-card:hover,
.event-card:hover {
  transform: translateY(-4px);
}

.glass-card:hover {
  border-color: rgba(216, 168, 47, 0.45);
  background: rgba(255, 255, 255, 0.08);
}

.glass-card svg,
.paper-card svg,
.directory-card svg,
.contact-card svg,
.source-card svg {
  width: 34px;
  height: 34px;
  color: var(--gold);
}

.glass-card h3,
.paper-card h3,
.directory-card h3,
.timeline-card h3,
.event-card h3,
.contact-card h3,
.faq-panel h3 {
  margin: 18px 0 8px;
  font-size: 1.28rem;
  line-height: 1.2;
}

.member-logo {
  width: 100%;
  height: 58px;
  object-fit: contain;
  object-position: left center;
  margin-bottom: 14px;
  padding: 8px 10px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
}

.glass-card p,
.event-card p,
.timeline-card p {
  margin: 0;
  color: var(--muted);
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 44px;
  align-items: center;
  padding: 96px 0;
}

.embedded-split {
  width: 100%;
  padding: 0;
}

.media-stack {
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  gap: 14px;
}

.media-tile,
.placeholder-tile {
  min-height: 260px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--black-3);
}

.media-tile.large {
  grid-row: span 2;
  min-height: 460px;
}

.media-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms ease;
}

.media-tile:hover img {
  transform: scale(1.04);
}

.placeholder-tile {
  display: grid;
  place-items: center;
  padding: 28px;
  color: var(--muted);
  text-align: center;
  background:
    linear-gradient(135deg, rgba(216, 168, 47, 0.16), transparent),
    repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.06) 0 1px, transparent 1px 16px),
    var(--black-3);
}

.placeholder-tile svg {
  width: 42px;
  height: 42px;
  margin: 0 auto 12px;
  color: var(--gold);
}

.uol-section-action {
  width: fit-content;
  margin-top: 28px;
}

.uol-logo-showcase {
  min-height: 360px;
  display: grid;
  align-content: center;
  justify-items: start;
  gap: 18px;
  padding: 38px;
  overflow: hidden;
  border: 1px solid rgba(216, 168, 47, 0.34);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(216, 168, 47, 0.17), transparent 52%),
    var(--black-2);
  box-shadow: var(--shadow);
}

.uol-logo-showcase img {
  width: min(100%, 390px);
  max-height: 190px;
  object-fit: contain;
  object-position: left center;
}

.uol-logo-showcase strong {
  color: var(--white);
  font-size: 1.3rem;
}

.uol-logo-showcase p {
  max-width: 540px;
  margin: 6px 0 0;
  color: var(--muted);
}

.uol-logo-showcase .text-link {
  color: var(--gold-2);
}

.uol-accreditation-lead {
  display: grid;
  grid-template-columns: minmax(260px, 0.7fr) minmax(0, 1.3fr);
  align-items: center;
  gap: 54px;
  padding: 34px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.uol-accreditation-logo {
  min-height: 210px;
  display: grid;
  place-items: center;
  padding: 22px;
  background:
    linear-gradient(135deg, rgba(216, 168, 47, 0.14), transparent 58%),
    var(--black-2);
}

.uol-accreditation-logo img {
  width: min(100%, 360px);
  max-height: 180px;
  object-fit: contain;
}

.uol-accreditation-lead h2 {
  max-width: 650px;
  margin: 12px 0 14px;
  font-size: 2.5rem;
  line-height: 1.05;
}

.uol-accreditation-lead > div:last-child > p:last-child {
  max-width: 680px;
  margin: 0;
  color: var(--muted);
}

.uol-accreditation-lead + .feature-grid {
  margin-top: 44px;
}

.tab-list {
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.tab-button,
.filter-button {
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--white);
  font-weight: 900;
}

.light .tab-button,
.light .filter-button {
  border-color: var(--line-dark);
  color: var(--black);
}

.tab-button.is-active,
.filter-button.is-active {
  border-color: var(--gold);
  background: var(--gold);
  color: var(--black);
}

.tab-panel {
  display: none;
}

.tab-panel.is-active {
  display: block;
  animation: fadeUp 320ms ease both;
}

.programme-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(280px, 0.68fr);
  gap: 24px;
  padding: 28px;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--black);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.08);
}

.programme-panel h3 {
  margin: 0;
  font-size: 2.15rem;
  line-height: 1.05;
}

.programme-meta {
  display: grid;
  gap: 10px;
  padding: 20px;
  border-radius: var(--radius);
  background: var(--paper);
}

.meta-row {
  gap: 10px;
  color: var(--muted-dark);
  font-weight: 800;
}

.clean-list {
  display: grid;
  gap: 9px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.clean-list li {
  position: relative;
  padding-left: 24px;
  color: inherit;
}

.clean-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
}

.directory-grid {
  grid-template-columns: repeat(3, 1fr);
}

.directory-card {
  min-height: 310px;
  display: flex;
  flex-direction: column;
  padding: 24px;
  border: 1px solid var(--line-dark);
  background: var(--white);
  color: var(--black);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.directory-card .card-link {
  margin-top: auto;
}

.tag {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(216, 168, 47, 0.14);
  color: var(--gold-3);
  font-size: 0.76rem;
  font-weight: 950;
  text-transform: uppercase;
}

.cta-panel {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 44px;
  border: 1px solid rgba(216, 168, 47, 0.32);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(216, 168, 47, 0.2), rgba(255, 255, 255, 0.03)),
    var(--black-2);
  box-shadow: var(--shadow);
}

.prospectus-showcase {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(220px, 0.65fr) minmax(0, 1.35fr);
  gap: 44px;
  align-items: center;
}

.prospectus-showcase.compact {
  grid-template-columns: minmax(180px, 0.55fr) minmax(0, 1.45fr);
}

.prospectus-cover {
  display: block;
  width: min(100%, 330px);
  justify-self: center;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--line-dark);
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.24);
  transform: rotate(-1.5deg);
  transition: transform var(--transition), box-shadow var(--transition);
}

.prospectus-cover:hover {
  transform: translateY(-8px) rotate(0deg);
  box-shadow: 0 36px 80px rgba(0, 0, 0, 0.32);
}

.prospectus-cover img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.prospectus-copy {
  display: grid;
  gap: 18px;
}

.prospectus-copy h2 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1;
}

.prospectus-copy p {
  max-width: 720px;
  color: var(--muted);
}

.light .prospectus-copy p {
  color: var(--muted-dark);
}

.page-hero {
  position: relative;
  overflow: hidden;
  background: var(--black);
}

.page-hero.with-image {
  min-height: 500px;
  display: grid;
  align-items: end;
  isolation: isolate;
}

.page-hero.with-image .page-media,
.page-hero.with-image .page-media img,
.page-hero.with-image::before {
  position: absolute;
  inset: 0;
}

.page-hero.with-image .page-media {
  z-index: -2;
}

.page-hero.with-image .page-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

body[data-page="medicine"] .page-hero.with-image .page-media img,
body[data-page="humanities"] .page-hero.with-image .page-media img {
  object-position: center 56%;
}

body[data-page="engineering"] .page-hero.with-image .page-media img {
  object-position: center 60%;
}

.page-hero.with-image .page-media.programme-split-media {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.page-hero.with-image .programme-hero-panel {
  position: relative;
  min-width: 0;
  margin: 0;
  overflow: hidden;
}

.page-hero.with-image .programme-hero-panel + .programme-hero-panel {
  border-left: 2px solid rgba(216, 168, 47, 0.7);
}

.page-hero.with-image .page-media.programme-split-media .programme-hero-panel img {
  object-fit: cover;
  object-position: center;
}

@media (min-width: 761px) {
  body[data-page="ifp"] .page-hero.with-image {
    min-height: 720px;
  }

  body[data-page="ifp"] .page-hero.with-image .page-media img {
    object-position: center bottom;
  }
}

.page-hero.with-image::before {
  content: "";
  z-index: -1;
  background: linear-gradient(90deg, rgba(5, 5, 5, 0.94), rgba(5, 5, 5, 0.54), rgba(5, 5, 5, 0.16));
}

.page-hero.clean {
  padding: 86px 0 66px;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(216, 168, 47, 0.16), transparent 48%),
    var(--black);
}

.page-hero-inner {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  padding: 98px 0 70px;
}

.page-hero.clean .page-hero-inner {
  padding: 0;
}

.page-hero h1 {
  max-width: 900px;
  font-size: 4.4rem;
}

.page-hero p:not(.eyebrow) {
  max-width: 720px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 1.16rem;
}

.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 800;
}

.breadcrumb a {
  color: var(--gold-2);
}

.values-grid {
  grid-template-columns: repeat(4, 1fr);
}

.paper-card {
  padding: 24px;
  border: 1px solid var(--line-dark);
  background: var(--white);
  color: var(--black);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.timeline {
  display: grid;
  gap: 16px;
  position: relative;
}

.timeline-card {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 18px;
  padding: 22px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.055);
}

.timeline-card time {
  color: var(--gold-2);
  font-size: 1.5rem;
  font-weight: 950;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  background: var(--white);
}

table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
  color: var(--black);
}

th,
td {
  padding: 15px;
  border-bottom: 1px solid var(--line-dark);
  text-align: left;
  vertical-align: top;
}

th {
  background: #111;
  color: var(--gold-2);
  font-size: 0.82rem;
  text-transform: uppercase;
}

tr:last-child td {
  border-bottom: 0;
}

.status-large {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 24px;
  align-items: center;
  padding: 34px;
  border: 1px solid rgba(216, 168, 47, 0.3);
  border-radius: var(--radius);
  background: var(--black-2);
}

.status-large h2,
.contact-card h2 {
  margin: 14px 0 10px;
  font-size: 2.2rem;
  line-height: 1.08;
}

.registration-status-wrap {
  display: grid;
  gap: 18px;
}

.registration-question-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 28px;
  border: 1px solid rgba(216, 168, 47, 0.28);
  border-radius: var(--radius);
  background: rgba(17, 17, 17, 0.78);
  color: var(--white);
}

.registration-question-card h3 {
  margin: 8px 0;
  font-size: 1.45rem;
}

.registration-question-card p:not(.eyebrow) {
  margin: 0;
  color: var(--muted);
}

.registration-video-link {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 22px;
  border: 1px solid rgba(216, 168, 47, 0.42);
  border-radius: var(--radius);
  background: linear-gradient(105deg, rgba(216, 168, 47, 0.2), rgba(17, 17, 17, 0.82));
  color: var(--white);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.registration-video-link:hover {
  transform: translateY(-2px);
  border-color: var(--gold);
  background: linear-gradient(105deg, rgba(216, 168, 47, 0.28), rgba(17, 17, 17, 0.9));
}

.registration-video-icon {
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--gold);
  color: var(--black);
}

.registration-video-icon svg {
  width: 24px;
  height: 24px;
}

.registration-video-copy {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.registration-video-copy strong {
  color: var(--gold-2);
  font-size: 1.08rem;
}

.registration-video-copy small {
  color: var(--muted);
  font-size: 0.94rem;
}

.registration-video-link > svg {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  margin-left: auto;
  color: var(--gold-2);
}

.application-contact-card {
  align-self: stretch;
  align-items: stretch;
  flex-direction: column;
  justify-content: flex-start;
  min-width: 0;
}

.application-contact-card > div {
  min-width: 0;
}

.application-contact-details {
  display: grid;
  gap: 10px;
  margin-top: 20px;
}

.application-contact-details a {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  min-width: 0;
  color: var(--white);
  overflow-wrap: anywhere;
}

.application-contact-details svg {
  flex: 0 0 19px;
  width: 19px;
  height: 19px;
  color: var(--gold);
}

.application-contact-card .text-link {
  width: 100%;
  margin-top: auto;
  padding-top: 24px;
  justify-content: space-between;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  min-height: 36px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(232, 100, 100, 0.12);
  color: #ffb0b0;
  font-weight: 950;
}

.status-badge::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--danger);
  box-shadow: 0 0 0 5px rgba(232, 100, 100, 0.14);
}

.step-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.step-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.055);
}

.light .step-card {
  border-color: var(--line-dark);
  background: var(--white);
  color: var(--black);
}

.light .step-card p {
  color: var(--muted-dark);
}

.step-card span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--black);
  font-weight: 950;
}

.step-card h3 {
  margin: 18px 0 8px;
}

.service-grid {
  grid-template-columns: repeat(3, 1fr);
}

.people-grid,
.job-grid,
.partner-grid {
  display: grid;
  gap: 18px;
}

.people-grid {
  grid-template-columns: repeat(4, 1fr);
}

.job-grid,
.partner-grid {
  grid-template-columns: repeat(2, 1fr);
}

.person-card,
.job-card,
.partner-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.055);
}

.person-avatar {
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(216, 168, 47, 0.34);
  border-radius: 50%;
  background: rgba(216, 168, 47, 0.14);
  color: var(--gold-2);
  font-size: 1.25rem;
  font-weight: 950;
}

.person-card h3,
.job-card h3,
.partner-card h3 {
  margin: 18px 0 8px;
  font-size: 1.25rem;
  line-height: 1.2;
}

.person-card p,
.job-card p,
.partner-card p {
  margin: 0;
  color: var(--muted);
}

.light .person-card,
.light .job-card,
.light .partner-card {
  border-color: var(--line-dark);
  background: var(--white);
  color: var(--black);
}

.light .person-card p,
.light .job-card p,
.light .partner-card p {
  color: var(--muted-dark);
}

.events-hero {
  position: relative;
  min-height: calc(100vh - var(--header));
  display: grid;
  align-items: end;
  overflow: hidden;
  isolation: isolate;
  border-bottom: 1px solid var(--line);
}

.events-hero-media,
.events-hero-media img {
  position: absolute;
  inset: 0;
  z-index: -3;
  width: 100%;
  height: 100%;
}

.events-hero-media img {
  object-fit: cover;
}

.events-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(5, 5, 5, 0.95), rgba(5, 5, 5, 0.58) 48%, rgba(5, 5, 5, 0.18)),
    linear-gradient(0deg, rgba(5, 5, 5, 0.88), rgba(5, 5, 5, 0.08) 58%);
}

.events-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(90deg, #000, transparent 72%);
}

.events-hero-inner {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(300px, 0.55fr);
  gap: 42px;
  align-items: end;
  padding: 96px 0 72px;
}

.events-hero-copy h1 {
  max-width: 880px;
  margin: 18px 0;
  font-size: clamp(4.4rem, 8vw, 7.6rem);
  line-height: 0.9;
  color: var(--white);
}

.events-hero-copy > p:not(.eyebrow) {
  max-width: 720px;
  color: var(--muted);
  font-size: 1.08rem;
}

.events-hero-stack {
  display: grid;
  gap: 14px;
}

.events-hero-stack article {
  min-height: 112px;
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  align-items: end;
  overflow: hidden;
  border: 1px solid rgba(216, 168, 47, 0.35);
  border-radius: var(--radius);
  background: rgba(5, 5, 5, 0.68);
  box-shadow: var(--shadow);
}

.events-hero-stack img {
  width: 100%;
  height: 112px;
  object-fit: cover;
}

.events-hero-stack span {
  padding: 18px;
  color: var(--white);
  font-size: 1.05rem;
  font-weight: 950;
  line-height: 1.15;
}

.event-switchboard {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.event-switch-card {
  min-height: 198px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(216, 168, 47, 0.16), transparent 44%),
    var(--white);
  color: var(--black);
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.event-switch-card:hover {
  transform: translateY(-5px);
  border-color: rgba(216, 168, 47, 0.62);
  box-shadow: 0 22px 48px rgba(20, 20, 20, 0.12);
}

.event-switch-card span {
  color: var(--gold-3);
  font-size: 0.82rem;
  font-weight: 950;
  text-transform: uppercase;
}

.event-switch-card strong {
  margin-top: 12px;
  font-size: 2rem;
  line-height: 1;
}

.event-switch-card p {
  margin: 12px 0 0;
  color: var(--muted-dark);
}

.event-feature-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 18px;
}

.event-feature-card {
  min-height: 280px;
  position: relative;
  display: grid;
  align-items: end;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--black-2);
  isolation: isolate;
}

.event-feature-card.is-large {
  grid-row: span 3;
  min-height: 594px;
}

.event-feature-card img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 360ms ease;
}

.event-feature-card:hover img {
  transform: scale(1.04);
}

.event-feature-card::before,
.activity-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(0deg, rgba(5, 5, 5, 0.86), rgba(5, 5, 5, 0.08) 65%);
}

.event-feature-card > div {
  padding: 24px;
}

.event-feature-card h3 {
  max-width: 720px;
  margin: 12px 0 8px;
  color: var(--white);
  font-size: clamp(1.7rem, 3vw, 3.4rem);
  line-height: 0.98;
}

.event-feature-card p {
  max-width: 680px;
  margin: 0;
  color: var(--muted);
}

.event-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 28px;
}

.event-toolbar h2 {
  margin: 0;
  font-size: 3.15rem;
  line-height: 0.98;
}

.event-toolbar-modern {
  align-items: end;
}

.event-toolbar-modern p:not(.eyebrow) {
  max-width: 620px;
  margin: 12px 0 0;
  color: var(--muted-dark);
}

.event-filter-list {
  justify-content: flex-end;
  max-width: 540px;
}

.event-filter-list .filter-button {
  white-space: nowrap;
}

.event-grid {
  grid-template-columns: repeat(3, 1fr);
}

.event-card {
  overflow: hidden;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.055);
  transition: opacity 180ms ease, transform 180ms ease;
}

.event-card.is-hidden {
  display: none;
}

.event-date {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
  background: rgba(216, 168, 47, 0.12);
}

.event-date strong {
  color: var(--gold-2);
  font-size: 2rem;
  line-height: 1;
}

.event-card-body {
  padding: 20px;
}

.event-card .meta-row {
  margin-top: 12px;
  color: var(--muted);
}

.activity-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.activity-card {
  min-height: 360px;
  position: relative;
  display: grid;
  align-items: end;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--black-2);
  isolation: isolate;
}

.activity-card img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 360ms ease;
}

.activity-card:hover img {
  transform: scale(1.04);
}

.activity-card div {
  padding: 22px;
}

.activity-card span {
  color: var(--gold-2);
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
}

.activity-card h3 {
  margin: 10px 0 0;
  color: var(--white);
  font-size: 1.6rem;
  line-height: 1.05;
}

.event-systems {
  border-top: 1px solid var(--line);
}

.calendar-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 24px;
  align-items: start;
}

.calendar-shell {
  overflow: hidden;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--black);
  box-shadow: 0 24px 55px rgba(0, 0, 0, 0.08);
}

.calendar-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px;
  background:
    linear-gradient(135deg, rgba(216, 168, 47, 0.24), transparent 56%),
    var(--black);
  color: var(--white);
}

.calendar-head span {
  display: block;
  color: var(--gold-2);
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
}

.calendar-head strong {
  display: block;
  margin-top: 4px;
  font-size: 1.55rem;
  line-height: 1.1;
}

.calendar-head .button {
  min-height: 40px;
  padding: 0 14px;
}

.calendar-controls {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line-dark);
  background: #f7f5ef;
}

.calendar-stepper,
.calendar-selectors {
  display: flex;
  align-items: center;
  gap: 8px;
}

.calendar-icon-button,
.calendar-today-button {
  display: inline-grid;
  place-items: center;
  height: 40px;
  border: 1px solid rgba(5, 5, 5, 0.16);
  border-radius: 6px;
  background: var(--white);
  color: var(--black);
  cursor: pointer;
  font: inherit;
  font-weight: 900;
  transition: border-color 180ms ease, background 180ms ease, color 180ms ease;
}

.calendar-icon-button {
  width: 40px;
}

.calendar-icon-button svg {
  width: 18px;
  height: 18px;
}

.calendar-today-button {
  padding: 0 14px;
}

.calendar-icon-button:hover,
.calendar-today-button:hover {
  border-color: var(--gold-3);
  background: var(--gold);
}

.calendar-icon-button:focus-visible,
.calendar-today-button:focus-visible,
.calendar-selectors select:focus-visible {
  outline: 3px solid rgba(216, 168, 47, 0.3);
  outline-offset: 2px;
}

.calendar-icon-button:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.calendar-selectors label {
  display: grid;
  gap: 4px;
}

.calendar-selectors label > span {
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 900;
  text-transform: uppercase;
}

.calendar-selectors select {
  min-width: 132px;
  height: 40px;
  padding: 0 34px 0 11px;
  border: 1px solid rgba(5, 5, 5, 0.16);
  border-radius: 6px;
  background: var(--white);
  color: var(--black);
  font: inherit;
  font-weight: 800;
}

.calendar-selectors label:last-child select {
  min-width: 104px;
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  transition: opacity 160ms ease;
}

.calendar-grid.is-loading {
  opacity: 0.55;
}

.calendar-weekday {
  padding: 12px 10px;
  border-bottom: 1px solid var(--line-dark);
  background: rgba(5, 5, 5, 0.04);
  color: var(--gold-3);
  font-size: 0.74rem;
  font-weight: 950;
  text-align: center;
  text-transform: uppercase;
}

.calendar-cell {
  width: 100%;
  min-height: 112px;
  padding: 10px;
  border-right: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
  border-top: 0;
  border-left: 0;
  background: var(--white);
  color: var(--black);
  cursor: pointer;
  font: inherit;
  text-align: left;
  transition: background 160ms ease, box-shadow 160ms ease;
}

.calendar-cell:nth-child(7n) {
  border-right: 0;
}

.calendar-cell.is-muted {
  background: #f1eee7;
  color: #9a9488;
  cursor: default;
}

.calendar-cell:not(.is-muted):hover {
  background: #fffaf0;
}

.calendar-cell:focus-visible {
  position: relative;
  z-index: 1;
  outline: 3px solid var(--gold-3);
  outline-offset: -3px;
}

.calendar-cell.is-selected {
  box-shadow: inset 0 0 0 3px var(--gold-3);
}

.calendar-day-number {
  display: inline-grid;
  place-items: center;
  min-width: 28px;
  height: 28px;
  border-radius: 50%;
  font-weight: 900;
}

.calendar-cell.has-event .calendar-day-number {
  background: var(--gold);
  color: var(--black);
}

.calendar-cell.is-today .calendar-day-number {
  outline: 2px solid var(--black);
  outline-offset: 2px;
}

.calendar-event-pill {
  display: block;
  margin-top: 8px;
  padding: 7px 8px;
  border-radius: 8px;
  background: rgba(216, 168, 47, 0.14);
  color: var(--black);
  font-size: 0.78rem;
  font-weight: 850;
  line-height: 1.25;
}

.calendar-day-panel {
  padding: 20px 22px 22px;
  border-top: 1px solid var(--line-dark);
  background: #f7f5ef;
}

.calendar-day-panel-head > span {
  color: var(--gold-3);
  font-size: 0.72rem;
  font-weight: 950;
  text-transform: uppercase;
}

.calendar-day-panel-head h3 {
  margin: 4px 0 0;
  font-size: 1.25rem;
  line-height: 1.25;
}

.calendar-day-events {
  margin-top: 16px;
  border-top: 1px solid var(--line-dark);
}

.calendar-day-event {
  padding: 16px 0;
}

.calendar-day-event + .calendar-day-event {
  border-top: 1px solid var(--line-dark);
}

.calendar-day-event h4 {
  margin: 9px 0 6px;
  font-size: 1.06rem;
  line-height: 1.3;
}

.calendar-day-event p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.calendar-day-event .meta-row {
  margin-top: 11px;
}

.calendar-day-event .card-link {
  margin-top: 11px;
}

.calendar-day-empty {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 18px 0 2px;
}

.calendar-day-empty > svg {
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  color: var(--gold-3);
}

.calendar-day-empty strong {
  display: block;
}

.calendar-day-empty p {
  margin: 3px 0 0;
  color: var(--muted);
  line-height: 1.5;
}

.event-list {
  display: grid;
  gap: 14px;
}

.event-list .event-card {
  display: grid;
  grid-template-columns: 132px 1fr;
}

.event-source-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.source-card {
  padding: 24px;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--black);
}

.source-card .meta-row {
  margin-top: 14px;
  color: var(--muted-dark);
}

.contact-grid {
  grid-template-columns: 0.85fr 1.15fr;
  align-items: start;
}

.contact-card,
.form-panel {
  padding: 28px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.055);
}

.contact-card {
  display: grid;
  gap: 18px;
}

.contact-line {
  display: grid;
  grid-template-columns: 26px 1fr;
  gap: 12px;
  color: var(--muted);
}

.form-panel {
  display: grid;
  gap: 18px;
}

.field-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.vacancy-fields {
  display: grid;
  gap: 16px;
  padding: 18px;
  border: 1px solid rgba(216, 168, 47, 0.34);
  border-radius: var(--radius);
  background: rgba(216, 168, 47, 0.08);
}

.vacancy-fields[hidden] {
  display: none;
}

.form-section-heading {
  display: grid;
  gap: 4px;
}

.form-section-heading h2 {
  margin: 0;
  font-size: clamp(1.25rem, 2vw, 1.75rem);
}

.vacancy-details-grid {
  grid-template-columns: minmax(0, 1fr);
}

.vacancy-opportunity-callout {
  margin-top: 34px;
  color: var(--white);
}

.vacancy-listing-status {
  margin: 12px 0 0;
  color: var(--muted-dark);
  font-weight: 700;
}

.job-card {
  display: flex;
  min-height: 292px;
  flex-direction: column;
}

.job-card > p {
  flex: 1;
}

.vacancy-card-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 18px;
  margin-top: 26px;
  padding-top: 18px;
  border-top: 1px solid var(--line-dark);
}

.vacancy-card-actions .card-link {
  margin-top: 0;
}

.vacancy-document-link {
  color: #745711;
}

.vacancy-document-link svg {
  width: 17px;
  height: 17px;
}

.vacancy-apply-link {
  margin-left: auto;
}

.vacancy-empty-state {
  display: grid;
  justify-items: center;
  padding: clamp(34px, 6vw, 68px);
  border: 1px dashed rgba(216, 168, 47, 0.55);
  border-radius: var(--radius);
  background: rgba(216, 168, 47, 0.08);
  text-align: center;
}

.vacancy-empty-state[hidden],
.job-grid[hidden] {
  display: none;
}

.vacancy-empty-state > svg {
  width: 42px;
  height: 42px;
  color: var(--gold);
}

.vacancy-empty-state h3 {
  margin: 16px 0 8px;
  color: var(--black);
}

.vacancy-empty-state p,
.vacancy-load-note {
  max-width: 650px;
  margin: 0;
  color: var(--muted-dark);
}

.light .vacancy-opportunity-callout p {
  color: var(--muted);
}

.vacancy-opportunity-callout .vacancy-recruitment-email {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 8px;
  margin-top: 16px;
}

.vacancy-recruitment-email strong {
  color: var(--gold-2);
}

.vacancy-recruitment-email a {
  color: var(--white);
  overflow-wrap: anywhere;
}

.vacancy-recruitment-email a:hover {
  color: var(--gold-2);
}

.vacancy-callout-actions {
  display: flex;
  flex: 0 0 auto;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
}

@media (max-width: 760px) {
  .home-status-section {
    padding: 18px;
  }

  .home-status-divider {
    margin: 0 18px;
  }

  .job-card {
    min-height: 0;
  }

  .vacancy-card-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .vacancy-apply-link {
    margin-left: 0;
  }

  body[data-page="vacancies"] .page-hero-inner,
  body[data-page="vacancies"] .section-title,
  body[data-page="vacancies"] .section-title > div,
  body[data-page="vacancies"] .step-grid,
  body[data-page="vacancies"] .job-grid,
  body[data-page="vacancies"] .step-card,
  body[data-page="vacancies"] .job-card,
  body[data-page="vacancies"] .vacancy-card-actions {
    width: 100%;
    min-width: 0;
    max-width: 100%;
  }

  body[data-page="vacancies"] .step-grid,
  body[data-page="vacancies"] .job-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  body[data-page="vacancies"] .page-hero h1,
  body[data-page="vacancies"] .page-hero p,
  body[data-page="vacancies"] .section-title h2,
  body[data-page="vacancies"] .step-card h3,
  body[data-page="vacancies"] .step-card p,
  body[data-page="vacancies"] .job-card h3,
  body[data-page="vacancies"] .job-card p,
  body[data-page="vacancies"] .card-link {
    max-width: 100%;
    overflow-wrap: anywhere;
    white-space: normal;
  }
}

.setup-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.6;
}

label {
  display: block;
  margin-bottom: 8px;
  color: #eeeeee;
  font-weight: 900;
}

input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  outline: 0;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

input[type="file"] {
  padding: 10px;
  cursor: pointer;
}

input[type="file"]::file-selector-button {
  margin-right: 12px;
  border: 0;
  border-radius: 999px;
  background: var(--gold);
  color: #111111;
  font-weight: 900;
  padding: 9px 14px;
  cursor: pointer;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(216, 168, 47, 0.14);
}

select option {
  background: #ffffff;
  color: #111111;
}

.form-note {
  min-height: 24px;
  color: var(--gold-2);
  font-weight: 800;
}

.map-placeholder {
  min-height: 280px;
  display: grid;
  place-items: center;
  margin-top: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(216, 168, 47, 0.18), transparent),
    repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.06) 0 1px, transparent 1px 18px),
    var(--black-2);
  color: var(--muted);
  text-align: center;
}

.location-layout {
  display: grid;
  grid-template-columns: minmax(290px, 0.72fr) minmax(0, 1.28fr);
  min-height: 430px;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
  box-shadow: 0 24px 55px rgba(0, 0, 0, 0.1);
}

.location-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 38px;
  background: var(--black);
  color: var(--white);
}

.location-copy h2 {
  margin: 0;
  font-size: 2rem;
  line-height: 1.08;
}

.location-copy > p:not(.eyebrow) {
  margin: 20px 0 0;
  color: var(--muted);
  line-height: 1.65;
}

.location-copy .button {
  align-self: flex-start;
  margin-top: 24px;
}

.location-address {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 12px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.location-address svg {
  width: 22px;
  height: 22px;
  color: var(--gold);
}

.location-address p {
  margin: 0;
  color: #dedede;
  line-height: 1.65;
}

.location-address strong {
  color: var(--white);
}

.location-map {
  min-width: 0;
  min-height: 430px;
  background: #e7e4dc;
}

.location-map iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 430px;
  border: 0;
}

.footer-map {
  width: 100%;
  max-width: 360px;
  aspect-ratio: 16 / 7;
  margin-top: 18px;
  overflow: hidden;
  border: 1px solid rgba(216, 168, 47, 0.28);
  border-radius: var(--radius);
  background: var(--black-2);
}

.footer-map iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 28px;
  align-items: start;
}

.content-block {
  display: grid;
  gap: 22px;
}

.rich-panel {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.055);
}

.light .rich-panel {
  border-color: var(--line-dark);
  background: var(--white);
  color: var(--black);
}

.rich-panel h2,
.rich-panel h3 {
  margin: 0 0 12px;
  line-height: 1.08;
}

.rich-panel h2 {
  font-size: 2.35rem;
}

.rich-panel h3 {
  font-size: 1.45rem;
}

.rich-panel p {
  margin: 0 0 14px;
  color: var(--muted);
}

.light .rich-panel p {
  color: var(--muted-dark);
}

.side-rail {
  position: sticky;
  top: calc(var(--header) + 28px);
  display: grid;
  gap: 14px;
}

.quick-fact {
  display: block;
  padding: 18px;
  border: 1px solid rgba(216, 168, 47, 0.24);
  border-radius: var(--radius);
  background: rgba(216, 168, 47, 0.1);
  color: inherit;
  text-decoration: none;
  transition: transform var(--transition), border-color var(--transition), background var(--transition), box-shadow var(--transition);
}

.quick-fact:hover {
  transform: translateY(-4px);
  border-color: rgba(216, 168, 47, 0.58);
  background: rgba(216, 168, 47, 0.16);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.12);
}

.quick-fact span {
  display: block;
  color: var(--gold-2);
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
}

.quick-fact strong {
  display: block;
  margin-top: 4px;
  font-size: 1.15rem;
}

.quick-fact p {
  margin: 8px 0 0;
  color: var(--muted-dark);
  font-size: 0.92rem;
  line-height: 1.5;
}

.stream-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.stream-card {
  overflow: hidden;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 24px 55px rgba(0, 0, 0, 0.08);
  transition: transform var(--transition), box-shadow var(--transition);
}

.stream-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 34px 70px rgba(0, 0, 0, 0.14);
}

.stream-card-header {
  padding: 22px;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(216, 168, 47, 0.26), transparent 56%),
    var(--black);
}

.stream-card-header span {
  display: block;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
}

.stream-card-header strong {
  display: block;
  margin-top: 8px;
  font-size: 1.35rem;
  line-height: 1.25;
}

.stream-card-header h3 {
  margin: 8px 0 0;
  font-size: 1.55rem;
}

.module-table {
  width: 100%;
  min-width: 0;
  border-collapse: collapse;
  table-layout: fixed;
}

.module-table th,
.module-table td {
  padding: 16px 18px;
  border-bottom: 1px solid var(--line-dark);
  text-align: left;
  vertical-align: top;
  overflow-wrap: anywhere;
  word-break: normal;
}

.module-table th:first-child,
.module-table td:first-child {
  width: 36%;
}

.module-table th {
  color: var(--muted-dark);
  font-size: 0.78rem;
  text-transform: uppercase;
}

.module-table tbody tr {
  transition: transform var(--transition), background var(--transition);
}

.module-table tbody tr:hover {
  background: rgba(216, 168, 47, 0.12);
  transform: translateX(3px);
}

.module-table tbody tr:last-child td {
  border-bottom: 0;
}

.media-band {
  min-height: 330px;
  display: grid;
  align-items: end;
  overflow: hidden;
  position: relative;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  isolation: isolate;
}

.media-band img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-band::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(0deg, rgba(5, 5, 5, 0.88), rgba(5, 5, 5, 0.14));
}

.media-band-content {
  padding: 26px;
}

.media-band-content h3 {
  max-width: 620px;
  margin: 0;
  font-size: 2rem;
  line-height: 1.05;
}

.program-video-card {
  display: grid;
  grid-template-columns: minmax(240px, 0.78fr) minmax(0, 1.22fr);
  gap: 22px;
  align-items: center;
  padding: 18px;
  border: 1px solid rgba(216, 168, 47, 0.38);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 18% 18%, rgba(216, 168, 47, 0.18), transparent 32%),
    linear-gradient(135deg, rgba(18, 18, 18, 0.96), rgba(5, 5, 5, 0.98));
  color: var(--white);
  box-shadow: var(--shadow);
}

.program-video-stack {
  display: grid;
  gap: 24px;
}

.program-video-copy {
  padding: clamp(8px, 2vw, 20px);
}

.program-video-copy h2 {
  margin: 8px 0 12px;
  max-width: 520px;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 0.98;
}

.program-video-copy p:not(.eyebrow) {
  max-width: 560px;
  margin: 0;
  color: var(--muted);
}

.program-video {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: block;
  border-radius: calc(var(--radius) - 4px);
  background: var(--black);
  object-fit: cover;
}

.home-promotional-video {
  margin-top: clamp(30px, 5vw, 58px);
  scroll-margin-top: 120px;
}

.program-video-contact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  margin-top: 20px;
  padding: 22px 24px;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  background: rgba(216, 168, 47, 0.09);
}

.program-video-contact p {
  margin: 0;
  color: var(--black-3);
  line-height: 1.65;
}

.program-video-contact strong {
  color: var(--black);
}

.faculty-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}

.spaced-block {
  margin-top: 24px;
}

.faculty-card {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.055);
}

.light .faculty-card {
  border-color: var(--line-dark);
  background: var(--white);
  color: var(--black);
}

.faculty-card .person-avatar {
  width: 58px;
  height: 58px;
  font-size: 0.95rem;
}

.person-photo {
  width: 74px;
  height: 74px;
  display: block;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid rgba(216, 168, 47, 0.72);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.24);
}

.faculty-card .person-photo,
.person-card .person-photo {
  margin-bottom: 16px;
}

.faculty-card h3 {
  margin: 14px 0 4px;
  font-size: 1rem;
  line-height: 1.2;
}

.faculty-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.light .faculty-card p {
  color: var(--muted-dark);
}

.mini-card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.mini-card {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.055);
}

.light .mini-card {
  border-color: var(--line-dark);
  background: var(--white);
  color: var(--black);
}

.mini-card h3 {
  margin: 0 0 8px;
  font-size: 1.1rem;
}

.mini-card p {
  margin: 0;
  color: var(--muted);
}

.light .mini-card p {
  color: var(--muted-dark);
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-panel {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.055);
}

.faq-panel button {
  width: 100%;
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 0 20px;
  border: 0;
  background: transparent;
  color: var(--white);
  text-align: left;
  font-weight: 950;
}

.faq-panel svg {
  width: 20px;
  height: 20px;
  color: var(--gold);
  transition: transform 180ms ease;
}

.faq-panel.is-open svg {
  transform: rotate(45deg);
}

.faq-panel p {
  display: none;
  margin: 0;
  padding: 0 20px 20px;
}

.faq-panel.is-open p {
  display: block;
}

.council-hero {
  padding: 82px 0 74px;
}

.council-hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  align-items: end;
  gap: 70px;
}

.council-hero-layout h1 {
  margin-bottom: 0;
}

.council-hero-layout > div:first-child > p:last-child {
  max-width: 760px;
}

.council-hero-mark {
  min-height: 210px;
  display: grid;
  align-content: center;
  padding: 28px 0 28px 32px;
  border-left: 1px solid rgba(216, 168, 47, 0.46);
}

.council-hero-mark span {
  color: var(--gold-2);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.council-hero-mark strong {
  margin-top: 8px;
  color: var(--white);
  font-size: 4.6rem;
  line-height: 0.9;
}

.council-hero-mark p {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.council-members-section {
  padding-top: 92px;
  padding-bottom: 108px;
}

.council-section-title {
  margin-bottom: 60px;
}

.council-featured {
  display: grid;
  grid-template-columns: 390px minmax(0, 1fr);
  align-items: center;
  gap: 76px;
  padding: 44px 0;
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
}

.council-featured-portrait,
.council-member-portrait {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 50%;
  background: #e8e4dc;
  box-shadow: 0 26px 58px rgba(30, 25, 15, 0.2);
}

.council-featured-portrait {
  width: 360px;
  height: 360px;
  justify-self: center;
  border: 5px solid var(--gold);
}

.council-featured-portrait::after,
.council-member-portrait::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 -30px 52px rgba(0, 0, 0, 0.08);
  pointer-events: none;
}

.council-featured-portrait img,
.council-member-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 420ms ease;
}

.council-featured-portrait:hover img,
.council-member-portrait:hover img {
  transform: scale(1.025);
}

.council-member-index {
  display: block;
  color: var(--gold-3);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.council-featured-copy h2 {
  margin: 12px 0 18px;
  color: var(--black);
  font-size: 3.5rem;
  line-height: 0.98;
}

.council-featured-copy > p:not(.eyebrow) {
  max-width: 680px;
  margin: 0;
  color: #424242;
  font-size: 1.05rem;
  line-height: 1.8;
}

.council-focus-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 24px 0 28px;
}

.council-focus-tags span {
  padding: 6px 9px;
  border-radius: 4px;
  background: rgba(216, 168, 47, 0.16);
  color: #61470e;
  font-size: 0.76rem;
  font-weight: 850;
}

.council-secondary-heading {
  max-width: 760px;
  margin: 88px auto 48px;
  text-align: center;
}

.council-secondary-heading .eyebrow {
  justify-content: center;
}

.council-secondary-heading .eyebrow::before {
  display: none;
}

.council-secondary-heading h2 {
  margin: 12px 0 0;
  color: var(--black);
  font-size: 2.75rem;
  line-height: 1.05;
}

.council-member-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 36px;
}

.council-member {
  min-width: 0;
  display: flex;
  align-items: center;
  flex-direction: column;
  padding: 0 24px;
  text-align: center;
}

.council-member + .council-member {
  border-left: 1px solid var(--line-dark);
}

.council-member:nth-child(odd) {
  border-left: 0;
}

.council-member:nth-child(n + 3) {
  padding-top: 36px;
  border-top: 1px solid var(--line-dark);
}

.council-member-portrait {
  width: 250px;
  height: 250px;
  margin-bottom: 28px;
  border: 4px solid var(--gold);
}

.council-member h3 {
  margin: 10px 0 5px;
  color: var(--black);
  font-size: 1.55rem;
}

.council-member .council-role {
  min-height: 3em;
  margin: 0;
  color: var(--gold-3);
  font-size: 0.9rem;
  font-weight: 850;
}

.council-member > p:not(.council-role) {
  margin: 18px 0 0;
  color: var(--muted-dark);
  font-size: 0.92rem;
}

.council-member .staff-profile-link {
  margin-top: auto;
  padding-top: 22px;
}

.council-governance {
  padding-top: 98px;
  padding-bottom: 108px;
}

.council-remit-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
  margin-bottom: 58px;
}

.council-remit-grid article {
  position: relative;
  padding: 28px 0 0;
  border-top: 1px solid rgba(216, 168, 47, 0.44);
}

.council-remit-grid article > span {
  position: absolute;
  top: 25px;
  right: 0;
  color: rgba(242, 207, 116, 0.4);
  font-size: 1.8rem;
  font-weight: 900;
}

.council-remit-grid svg {
  width: 31px;
  height: 31px;
  color: var(--gold);
}

.council-remit-grid h3 {
  margin: 22px 0 8px;
}

.council-remit-grid p {
  margin: 0;
  color: var(--muted);
}

.council-enquiry {
  width: 100%;
}

.postgrad-hero {
  min-height: 620px;
}

.postgrad-hero .page-media img {
  object-position: center 58%;
  filter: saturate(1.08) contrast(1.04);
}

.postgrad-hero::before {
  background:
    linear-gradient(90deg, rgba(5, 5, 5, 0.9) 0%, rgba(5, 5, 5, 0.62) 45%, rgba(5, 5, 5, 0.18) 100%),
    linear-gradient(180deg, rgba(5, 5, 5, 0.28), rgba(5, 5, 5, 0.18)) !important;
}

.postgrad-hero .page-hero-inner > p:not(.eyebrow) {
  max-width: 760px;
}

.postgrad-status-badge {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 18px;
  padding: 10px 14px;
  border: 1px solid rgba(255, 224, 113, 0.55);
  border-radius: 999px;
  background: rgba(216, 168, 47, 0.14);
  color: var(--gold-2);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.postgrad-status-badge svg {
  width: 17px;
  height: 17px;
}

.postgrad-coming-soon {
  cursor: not-allowed;
  opacity: 0.82;
  pointer-events: none;
  user-select: none;
}

.postgrad-stat-band {
  border-top: 1px solid rgba(216, 168, 47, 0.3);
  border-bottom: 1px solid var(--line);
  background: var(--black-2);
}

.postgrad-stats {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.postgrad-stats > div {
  min-height: 132px;
  display: grid;
  align-content: center;
  gap: 2px;
  padding: 22px 28px;
  border-right: 1px solid var(--line);
}

.postgrad-stats > div:first-child {
  border-left: 1px solid var(--line);
}

.postgrad-stats strong {
  color: var(--gold-2);
  font-size: 2.25rem;
  line-height: 1;
}

.postgrad-stats span {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 800;
}

.postgrad-route-grid,
.postgrad-detail-grid,
.postgrad-entry-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.postgrad-route-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  padding: 34px;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--black);
  box-shadow: 0 20px 54px rgba(20, 17, 10, 0.09);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.postgrad-route-card:hover {
  transform: translateY(-5px);
  border-color: rgba(141, 104, 24, 0.46);
  box-shadow: 0 28px 64px rgba(20, 17, 10, 0.15);
}

.postgrad-route-head {
  min-height: 150px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line-dark);
}

.postgrad-route-number {
  display: inline-block;
  color: var(--gold-3);
  font-size: 0.78rem;
  font-weight: 950;
}

.postgrad-route-head .eyebrow {
  margin-top: 12px;
}

.postgrad-route-head h3 {
  margin: 8px 0 0;
  font-size: 2.25rem;
  line-height: 1.02;
}

.postgrad-logo-row {
  width: 170px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 10px;
  flex: 0 0 auto;
}

.postgrad-logo-row img {
  width: auto;
  max-width: 78px;
  height: 46px;
  object-fit: contain;
}

.postgrad-logo-row.single img {
  max-width: 145px;
  height: 58px;
}

.postgrad-route-intro {
  margin: 24px 0 0;
  color: #404040;
  font-size: 1rem;
}

.postgrad-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 20px;
}

.postgrad-tags span {
  padding: 6px 9px;
  border-radius: 4px;
  background: rgba(216, 168, 47, 0.15);
  color: #61470e;
  font-size: 0.75rem;
  font-weight: 850;
}

.postgrad-meta {
  margin: 26px 0 0;
  border-top: 1px solid var(--line-dark);
}

.postgrad-meta > div {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  gap: 18px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line-dark);
}

.postgrad-meta dt {
  color: var(--muted-dark);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.postgrad-meta dd {
  margin: 0;
  font-weight: 750;
  line-height: 1.4;
}

.postgrad-route-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: auto;
  padding-top: 28px;
}

.postgrad-route-actions .text-link {
  color: var(--gold-3);
}

.postgrad-outcomes {
  padding-bottom: 108px;
}

.postgrad-information-notice {
  display: grid;
  grid-template-columns: minmax(240px, 0.7fr) minmax(0, 1.3fr);
  gap: 36px;
  align-items: center;
  margin-top: 24px;
  padding: 30px 32px;
  border: 1px solid rgba(216, 168, 47, 0.42);
  border-left: 4px solid var(--gold);
  border-radius: var(--radius);
  background: rgba(216, 168, 47, 0.08);
}

.postgrad-information-notice h3 {
  margin: 8px 0 0;
  font-size: 1.55rem;
}

.postgrad-information-notice > p {
  margin: 0;
  color: var(--muted);
}

.postgrad-detail-panel {
  scroll-margin-top: 120px;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.055);
}

.postgrad-detail-heading {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}

.postgrad-detail-heading > svg {
  width: 42px;
  height: 42px;
  padding: 9px;
  border: 1px solid rgba(216, 168, 47, 0.36);
  color: var(--gold);
}

.postgrad-detail-heading span {
  color: var(--gold-2);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.postgrad-detail-heading h3 {
  margin: 5px 0 0;
  font-size: 1.65rem;
  line-height: 1.12;
}

.postgrad-detail-panel > p {
  color: var(--muted);
}

.postgrad-check-list {
  display: grid;
  gap: 12px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.postgrad-check-list li {
  position: relative;
  padding-left: 28px;
  color: #e2e2e2;
}

.postgrad-check-list li::before {
  content: "";
  position: absolute;
  top: 0.68em;
  left: 0;
  width: 12px;
  height: 2px;
  background: var(--gold);
}

.postgrad-careers {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.postgrad-careers strong {
  width: 100%;
  margin-bottom: 4px;
}

.postgrad-careers span {
  padding: 5px 8px;
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--muted);
  font-size: 0.78rem;
}

.postgrad-entry-card {
  display: flex;
  flex-direction: column;
  padding: 32px;
  border-top: 4px solid var(--gold);
  background: var(--white);
  color: var(--black);
  box-shadow: 0 18px 46px rgba(20, 17, 10, 0.08);
}

.postgrad-entry-card h3 {
  margin: 10px 0 18px;
  font-size: 1.55rem;
}

.postgrad-entry-card ol {
  display: grid;
  gap: 14px;
  margin: 0 0 28px;
  padding-left: 22px;
  color: #3f3f3f;
}

.postgrad-entry-card .button {
  width: fit-content;
  margin-top: auto;
}

.postgrad-english {
  display: grid;
  grid-template-columns: minmax(250px, 0.75fr) minmax(0, 1.25fr);
  gap: 46px;
  align-items: center;
  margin-top: 24px;
  padding: 34px;
  background: var(--black-2);
  color: var(--white);
}

.postgrad-english h3 {
  margin: 10px 0 8px;
  font-size: 1.7rem;
}

.postgrad-english p {
  margin: 0;
  color: var(--muted);
}

.postgrad-score-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--line);
}

.postgrad-score-grid > div {
  min-width: 0;
  padding: 18px;
  border-right: 1px solid var(--line);
}

.postgrad-score-grid > div:last-child {
  border-right: 0;
}

.postgrad-score-grid strong {
  display: block;
  color: var(--gold-2);
  font-size: 1.75rem;
}

.postgrad-score-grid span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.74rem;
  line-height: 1.4;
}

.postgrad-waiver {
  margin: 16px 0 0;
  color: var(--muted-dark);
  font-size: 0.86rem;
  font-style: italic;
}

.postgrad-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  margin-bottom: 54px;
}

.postgrad-steps > div {
  position: relative;
  padding: 28px 0 0;
  border-top: 1px solid rgba(216, 168, 47, 0.42);
}

.postgrad-steps > div > span {
  position: absolute;
  top: 28px;
  right: 0;
  color: rgba(242, 207, 116, 0.48);
  font-size: 1.8rem;
  font-weight: 900;
}

.postgrad-steps svg {
  width: 30px;
  height: 30px;
  color: var(--gold);
}

.postgrad-steps h3 {
  margin: 22px 0 8px;
}

.postgrad-steps p {
  margin: 0;
  color: var(--muted);
}

.postgrad-apply-panel {
  width: 100%;
}

.footer {
  border-top: 1px solid var(--line);
  background: #030303;
}

.footer-cta {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 54px 0;
  border-bottom: 1px solid var(--line);
}

.footer-cta p {
  max-width: 620px;
  color: var(--muted);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 34px;
  padding: 54px 0;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.footer-brand img {
  width: 46px;
  height: 46px;
  object-fit: contain;
}

.footer p,
.footer a {
  color: var(--muted);
}

.footer h2 {
  margin: 0 0 14px;
  font-size: 1rem;
}

.footer nav {
  display: grid;
  gap: 8px;
}

.social-row {
  gap: 10px;
}

.social-row a {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 50%;
}

.social-row img {
  width: 18px;
  height: 18px;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  padding: 20px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
}

.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;
}
.biu-chatbot {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 90;
  display: grid;
  justify-items: end;
  gap: 12px;
  pointer-events: none;
}

.biu-chatbot * {
  box-sizing: border-box;
}

.biu-chatbot-toggle,
.biu-chatbot-panel {
  pointer-events: auto;
}

.biu-chatbot-toggle {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 18px;
  border: 1px solid rgba(232, 183, 45, 0.55);
  border-radius: 999px;
  background: var(--gold);
  color: #111;
  font-weight: 900;
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.35);
  cursor: pointer;
}

.biu-chatbot-toggle svg,
.biu-chatbot-form button svg,
.biu-chatbot-close svg {
  width: 20px;
  height: 20px;
}

.biu-chatbot-panel {
  width: min(390px, calc(100vw - 28px));
  max-height: min(640px, calc(100vh - 110px));
  display: grid;
  grid-template-rows: auto minmax(170px, 1fr) auto auto;
  grid-template-columns: minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid rgba(232, 183, 45, 0.32);
  border-radius: 14px;
  background: #101010;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
}

.biu-chatbot-panel[hidden] {
  display: none;
}

.biu-chatbot-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 16px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(135deg, rgba(232, 183, 45, 0.15), rgba(255, 255, 255, 0.035));
}

.biu-chatbot-header span {
  color: var(--gold-2);
  text-transform: uppercase;
  font-size: 0.72rem;
  font-weight: 900;
}

.biu-chatbot-header strong {
  display: block;
  margin-top: 4px;
  color: #fff;
  font-size: 0.92rem;
  line-height: 1.35;
}

.biu-chatbot-close {
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  cursor: pointer;
}

.biu-chatbot-messages {
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 14px;
  overflow: auto;
  background: rgba(0, 0, 0, 0.26);
}

.biu-chatbot-message {
  min-width: 0;
  overflow-wrap: anywhere;
  max-width: 86%;
  padding: 10px 12px;
  border-radius: 12px;
  color: #e6e6e6;
  font-size: 0.92rem;
  line-height: 1.55;
  white-space: pre-wrap;
}

.biu-chatbot-message.bot {
  justify-self: start;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.08);
}

.biu-chatbot-message.user {
  justify-self: end;
  border: 1px solid rgba(232, 183, 45, 0.32);
  background: rgba(232, 183, 45, 0.18);
  color: #fff;
}

.biu-chatbot-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.biu-chatbot-links a,
.biu-chatbot-links button {
  max-width: 100%;
  white-space: normal;
  overflow-wrap: anywhere;
  text-align: left;
  background: transparent;
  font-family: inherit;
  cursor: pointer;
  padding: 6px 9px;
  border: 1px solid rgba(232, 183, 45, 0.3);
  border-radius: 999px;
  color: var(--gold-2);
  font-size: 0.78rem;
  font-weight: 850;
}

.biu-chatbot-prompts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  overflow-x: auto;
  padding: 10px 14px;
  border-top: 1px solid var(--line);
}

.biu-chatbot-prompts button {
  flex: 0 1 auto;
  min-width: 0;
  white-space: normal;
  overflow-wrap: anywhere;
  padding: 7px 10px;
  border: 1px solid rgba(232, 183, 45, 0.24);
  border-radius: 999px;
  background: rgba(232, 183, 45, 0.1);
  color: var(--gold-2);
  font-size: 0.78rem;
  font-weight: 850;
  cursor: pointer;
}

.biu-chatbot-form {
  display: grid;
  grid-template-columns: 1fr 44px;
  gap: 8px;
  padding: 12px;
  border-top: 1px solid var(--line);
  background: #0c0c0c;
}

.biu-chatbot-form input {
  min-width: 0;
  width: 100%;
  min-height: 44px;
  border-radius: 999px;
}

.biu-chatbot-form button {
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 999px;
  background: var(--gold);
  color: #111;
  cursor: pointer;
}

.biu-chatbot-form button:disabled,
.biu-chatbot-links button:disabled,
.biu-chatbot-prompts button:disabled,
.biu-chatbot-toggle:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

@media (max-width: 560px) {
  .biu-chatbot {
    right: 14px;
    left: 14px;
    bottom: 14px;
  }

  .biu-chatbot-toggle {
    justify-self: end;
  }

  .biu-chatbot-panel {
    width: 100%;
    max-height: calc(100vh - 96px);
  }
}

.staff-directory-section {
  min-height: 760px;
}

.staff-result-count {
  align-self: end;
  color: var(--muted-dark);
  font-size: 0.92rem;
  font-weight: 800;
}

.staff-directory-tools {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.6fr);
  align-items: stretch;
  gap: 22px;
  margin-bottom: 34px;
  padding: 18px;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 16px 40px rgba(20, 17, 10, 0.06);
}

.staff-search {
  min-height: 54px;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  align-self: center;
  gap: 12px;
  padding: 0 16px;
  border: 1px solid var(--line-dark);
  border-radius: 6px;
  background: #f4f1ea;
  color: var(--muted-dark);
}

.staff-search svg {
  width: 18px;
  height: 18px;
}

.staff-search input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--black);
}

.staff-search:focus-within {
  border-color: var(--gold-3);
  box-shadow: 0 0 0 3px rgba(216, 168, 47, 0.16);
}

.staff-filter-panel {
  min-width: 0;
  display: grid;
  gap: 10px;
  padding-left: 22px;
  border-left: 1px solid var(--line-dark);
}

.staff-filter-heading {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted-dark);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.staff-filter-heading svg {
  width: 16px;
  height: 16px;
  color: var(--gold-3);
}

.staff-filter-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  overflow: visible;
}

.staff-filter {
  min-height: 38px;
  flex: 0 0 auto;
  padding: 0 12px;
  border: 1px solid var(--line-dark);
  border-radius: 6px;
  background: #fbfaf7;
  color: var(--muted-dark);
  font-size: 0.78rem;
  font-weight: 850;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.staff-filter:hover {
  border-color: rgba(141, 104, 24, 0.32);
  color: var(--black);
  transform: translateY(-1px);
}

.staff-filter.is-active {
  border-color: rgba(141, 104, 24, 0.28);
  background: var(--gold-2);
  color: var(--black);
  box-shadow: 0 8px 20px rgba(141, 104, 24, 0.17);
}

.staff-filter-select {
  display: none;
}

.staff-directory-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.staff-directory-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--black);
  box-shadow: 0 18px 46px rgba(20, 17, 10, 0.08);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.staff-directory-card:hover {
  transform: translateY(-5px);
  border-color: rgba(141, 104, 24, 0.42);
  box-shadow: 0 24px 54px rgba(20, 17, 10, 0.14);
}

.staff-directory-portrait {
  display: block;
  overflow: hidden;
  background: #e9e4d9;
}

.staff-directory-photo {
  width: 100%;
  aspect-ratio: 4 / 4.4;
  object-fit: cover;
  object-position: center top;
  transition: transform 420ms ease;
}

.staff-directory-card:hover .staff-directory-photo {
  transform: scale(1.025);
}

.staff-directory-avatar {
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, #171717, #2a2314);
  color: var(--gold-2);
  font-size: 2rem;
  font-weight: 900;
}

.staff-directory-copy {
  padding: 20px;
}

.staff-group-label {
  display: block;
  min-height: 2.5em;
  color: var(--gold-3);
  font-size: 0.72rem;
  font-weight: 900;
  line-height: 1.25;
  text-transform: uppercase;
}

.staff-directory-card h3 {
  margin: 10px 0 7px;
  font-size: 1.18rem;
  line-height: 1.16;
}

.staff-directory-card h3 a:hover {
  color: var(--gold-3);
}

.staff-directory-card p {
  min-height: 3.1em;
  margin: 0;
  color: var(--muted-dark);
  font-size: 0.9rem;
  line-height: 1.5;
}

.staff-profile-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 18px;
  color: var(--gold-3);
  font-size: 0.84rem;
  font-weight: 900;
}

.staff-profile-link svg {
  width: 16px;
  height: 16px;
  transition: transform 160ms ease;
}

.staff-profile-link:hover svg {
  transform: translate(2px, -2px);
}

.faculty-card .staff-profile-link,
.person-card .staff-profile-link {
  margin-top: 14px;
}

.staff-directory-empty,
.staff-profile-not-found {
  grid-column: 1 / -1;
}

.staff-loading {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.staff-loading span {
  min-height: 390px;
  border-radius: var(--radius);
  background: linear-gradient(90deg, #ece7dd 25%, #f7f4ed 50%, #ece7dd 75%);
  background-size: 200% 100%;
  animation: staffLoading 1.2s linear infinite;
}

.staff-profile-loading {
  min-height: 60vh;
  padding-top: 100px;
}

.staff-profile-masthead {
  padding: 70px 0 82px;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(120deg, rgba(216, 168, 47, 0.16), transparent 42%),
    var(--black);
}

.staff-profile-masthead-inner,
.staff-profile-layout {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
}

.staff-profile-intro {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  align-items: center;
  gap: 60px;
}

.staff-profile-portrait {
  overflow: hidden;
  border: 1px solid rgba(216, 168, 47, 0.48);
  border-radius: var(--radius);
  background: var(--black-2);
  box-shadow: var(--shadow);
}

.staff-profile-photo {
  width: 100%;
  aspect-ratio: 4 / 4.7;
  object-fit: cover;
  object-position: center top;
}

.staff-directory-avatar.staff-profile-photo {
  font-size: 4rem;
}

.staff-profile-heading h1 {
  max-width: 820px;
  margin: 14px 0;
  font-size: 4.4rem;
  line-height: 0.98;
}

.staff-profile-role {
  max-width: 720px;
  margin: 0;
  color: #e0e0e0;
  font-size: 1.28rem;
}

.staff-profile-groups {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.staff-profile-groups span {
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--gold-2);
  font-size: 0.75rem;
  font-weight: 850;
}

.staff-profile-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  margin-top: 28px;
  color: var(--muted);
}

.staff-profile-contact a,
.staff-profile-contact span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.staff-profile-contact a {
  overflow-wrap: anywhere;
}

.staff-profile-contact a:hover {
  color: var(--gold-2);
}

.staff-profile-contact svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  color: var(--gold);
}

.staff-profile-details {
  width: 100%;
  max-width: none;
}

.staff-profile-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(290px, 0.75fr);
  gap: 74px;
}

.staff-biography h2,
.staff-education h2 {
  margin: 12px 0 22px;
  color: var(--black);
  font-size: 2.35rem;
}

.staff-biography > p:not(.eyebrow) {
  margin: 0;
  color: #373737;
  font-size: 1.06rem;
  line-height: 1.9;
  text-align: justify;
  text-align-last: left;
  text-justify: inter-word;
  hyphens: auto;
  overflow-wrap: break-word;
}

.staff-education {
  padding-left: 34px;
  border-left: 1px solid var(--line-dark);
}

.education-list {
  border-top: 1px solid var(--line-dark);
}

.education-entry {
  display: grid;
  gap: 5px;
  padding: 17px 0;
  border-bottom: 1px solid var(--line-dark);
}

.education-entry strong {
  color: var(--black);
  line-height: 1.35;
}

.education-entry span,
.staff-data-note {
  color: var(--muted-dark);
  font-size: 0.9rem;
}

.staff-related-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

@keyframes staffLoading {
  to { background-position: -200% 0; }
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 600ms ease, transform 600ms ease;
}

.delay-1.is-visible { transition-delay: 80ms; }
.delay-2.is-visible { transition-delay: 160ms; }
.delay-3.is-visible { transition-delay: 240ms; }


.scholarship-under-construction {
  background: var(--black);
  color: var(--white);
}

.construction-panel {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 26px;
  padding: 34px;
  border: 1px solid rgba(216, 168, 47, 0.34);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(216, 168, 47, 0.18), rgba(255, 255, 255, 0.04)),
    rgba(18, 18, 18, 0.96);
  box-shadow: var(--shadow);
}

.construction-icon {
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(216, 168, 47, 0.42);
  border-radius: 18px;
  background: repeating-linear-gradient(
    -45deg,
    rgba(216, 168, 47, 0.22),
    rgba(216, 168, 47, 0.22) 8px,
    rgba(5, 5, 5, 0.45) 8px,
    rgba(5, 5, 5, 0.45) 16px
  );
  color: var(--gold-2);
}

.construction-icon svg {
  width: 34px;
  height: 34px;
}

.construction-panel h2 {
  margin: 0;
  color: var(--white);
  font-size: clamp(2rem, 4vw, 3.15rem);
  line-height: 1;
}

.construction-panel p:not(.eyebrow) {
  max-width: 720px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 1.06rem;
}

@media (max-width: 760px) {
  .construction-panel {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 24px;
  }

  .construction-icon {
    width: 62px;
    height: 62px;
    border-radius: 14px;
  }
}

@keyframes heroZoom {
  from { transform: scale(1.04); }
  to { transform: scale(1.1); }
}

@keyframes heroImagePulse {
  0%, 58%, 100% {
    opacity: 0;
    transform: scale(1.04);
  }

  68%, 84% {
    opacity: 1;
    transform: scale(1.08);
  }
}

@keyframes scrollDot {
  0%, 100% { transform: translateY(0); opacity: 1; }
  50% { transform: translateY(15px); opacity: 0.35; }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 1240px) {
  .nav-toggle {
    display: grid;
  }

  .nav-links {
    position: fixed;
    inset: calc(var(--header) + 22px) 16px auto 16px;
    z-index: 85;
    display: grid;
    gap: 6px;
    max-height: calc(100dvh - var(--header) - 36px);
    overflow-y: auto;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(5, 5, 5, 0.96);
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: 180ms ease;
  }

  .nav-links.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .nav-links a {
    min-height: 48px;
    border-radius: var(--radius);
  }

  .nav-item {
    display: grid;
  }

  .nav-parent {
    width: 100%;
    min-height: 48px;
    justify-content: space-between;
    border-radius: var(--radius);
  }

  .dropdown {
    position: static;
    min-width: 0;
    display: none;
    margin: 0 0 6px;
    padding: 6px 0 6px 12px;
    border: 0;
    border-left: 1px solid rgba(216, 168, 47, 0.24);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .nav-item.is-open .dropdown {
    display: grid;
  }

  .hero-grid,
  .split-section,
  .programme-panel,
  .status-large,
  .content-grid,
  .prospectus-showcase,
  .contact-grid,
  .location-layout {
    grid-template-columns: 1fr;
  }

  .program-video-card {
    grid-template-columns: 1fr;
  }

  .program-video-contact {
    align-items: flex-start;
    flex-direction: column;
  }

  .events-hero-inner,
  .event-feature-grid {
    grid-template-columns: 1fr;
  }

  .events-hero-stack {
    grid-template-columns: repeat(3, 1fr);
  }

  .events-hero-stack article {
    grid-template-columns: 1fr;
  }

  .event-switchboard,
  .activity-gallery {
    grid-template-columns: repeat(2, 1fr);
  }

  .event-feature-card.is-large {
    grid-row: auto;
    min-height: 430px;
  }

  .side-rail {
    position: static;
    grid-template-columns: repeat(3, 1fr);
  }

  .hero h1,
  .page-hero h1 {
    font-size: 4.1rem;
  }

  .stats-strip {
    grid-template-columns: repeat(3, 1fr);
  }

  .feature-grid,
  .directory-grid,
  .event-grid,
  .service-grid,
  .people-grid,
  .faculty-grid,
  .stream-grid,
  .job-grid,
  .partner-grid,
  .footer-inner {
    grid-template-columns: repeat(2, 1fr);
  }

  .values-grid,
  .step-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stream-grid {
    grid-template-columns: 1fr;
  }

  .calendar-layout,
  .event-source-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  :root {
    --header: 72px;
  }

  .topbar {
    display: none;
  }

  .navbar {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    max-width: 100vw;
    min-height: 72px;
    padding: 0 78px 0 16px;
  }

  .brand {
    flex: 1 1 auto;
    min-width: 0;
    max-width: calc(100% - 58px);
    overflow: hidden;
  }

  .brand-copy {
    max-width: min(210px, calc(100vw - 130px));
  }

  .nav-tools .button {
    display: none;
  }

  .nav-tools {
    position: absolute;
    top: 50%;
    right: 16px;
    z-index: 95;
    display: flex !important;
    align-items: center;
    justify-content: flex-end;
    flex: 0 0 46px;
    margin-left: 0;
    min-width: 46px;
    transform: translateY(-50%);
  }

  .nav-tools .nav-toggle {
    position: relative;
    z-index: 1;
    width: 46px;
    height: 46px;
    display: grid !important;
    flex: 0 0 46px;
    border-color: rgba(216, 168, 47, 0.75);
    background:
      linear-gradient(currentColor, currentColor) center calc(50% - 6px) / 18px 2px no-repeat,
      linear-gradient(currentColor, currentColor) center / 18px 2px no-repeat,
      linear-gradient(currentColor, currentColor) center calc(50% + 6px) / 18px 2px no-repeat,
      rgba(216, 168, 47, 0.16);
    color: var(--white);
    backdrop-filter: blur(12px);
  }

  .brand strong {
    font-size: 0.72rem;
  }

  .brand small {
    margin-top: 4px;
    padding-top: 4px;
    font-size: 0.54rem;
  }

  .brand-mark {
    width: 40px;
    height: 40px;
  }

  .brand-mark img {
    width: 34px;
    height: 34px;
  }

  .hero {
    min-height: 680px;
  }

  .hero-inner,
  .page-hero-inner,
  .events-hero-inner,
  .section,
  .split-section {
    width: 100%;
    max-width: 100vw;
    padding-left: 16px;
    padding-right: 16px;
  }

  .hero-grid,
  .hero-grid > * {
    min-width: 0;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  .hero-inner {
    padding: 64px 16px 62px;
  }

  .hero h1,
  .page-hero h1 {
    max-width: 19rem;
    font-size: clamp(2.15rem, 10.5vw, 2.72rem);
  }

  .hero-copy,
  .page-hero p:not(.eyebrow),
  .events-hero-copy > p:not(.eyebrow) {
    width: 100%;
    max-width: 19.5rem;
    font-size: 1.02rem;
    overflow-wrap: anywhere;
    word-break: break-word;
    white-space: normal !important;
  }

  .prospectus-showcase {
    gap: 28px;
    text-align: center;
  }

  .prospectus-copy {
    justify-items: center;
  }

  .hero-actions,
  .footer-cta,
  .cta-panel,
  .event-toolbar {
    align-items: stretch;
    flex-direction: column;
    width: 100%;
  }

  .button {
    width: 100%;
    max-width: 100%;
  }

  .stats-strip,
  .feature-grid,
  .directory-grid,
  .event-grid,
  .event-switchboard,
  .event-feature-grid,
  .activity-gallery,
  .event-list .event-card,
  .event-source-grid,
  .service-grid,
  .people-grid,
  .faculty-grid,
  .stream-grid,
  .job-grid,
  .partner-grid,
  .mini-card-grid,
  .side-rail,
  .values-grid,
  .step-grid,
  .footer-inner,
  .field-grid {
    grid-template-columns: 1fr;
  }

  .stat {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .stat:last-child {
    border-bottom: 0;
  }

  .section,
  .split-section {
    padding-top: 68px;
    padding-bottom: 68px;
  }

  .events-hero {
    min-height: auto;
  }

  .events-hero-inner {
    width: 100%;
    max-width: 100vw;
    gap: 28px;
    padding: 68px 16px 54px;
  }

  .events-hero-copy h1 {
    max-width: 19rem;
    font-size: clamp(2.05rem, 9.8vw, 2.5rem);
  }

  .events-hero-copy,
  .page-hero-inner,
  .section-title,
  .section-title > div {
    min-width: 0;
    width: 100%;
    max-width: calc(100vw - 32px);
  }

  .hero h1,
  .page-hero h1,
  .events-hero-copy h1,
  .section-title h2,
  .staff-result-count {
    max-width: 19.5rem;
    overflow-wrap: anywhere;
    word-break: break-word;
    white-space: normal !important;
  }

  .events-hero-stack {
    grid-template-columns: 1fr;
  }

  .events-hero-stack article {
    min-height: 92px;
    grid-template-columns: 112px minmax(0, 1fr);
  }

  .events-hero-stack img {
    height: 92px;
  }

  .event-switch-card {
    min-height: 160px;
  }

  .event-switch-card strong {
    font-size: 1.55rem;
  }

  .event-feature-card,
  .event-feature-card.is-large,
  .activity-card {
    min-height: 320px;
  }

  .event-toolbar-modern h2 {
    font-size: 2.45rem;
  }

  .event-filter-list {
    max-width: none;
    justify-content: flex-start;
  }

  .section-title,
  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .calendar-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .calendar-controls {
    align-items: stretch;
    flex-direction: column;
  }

  .calendar-stepper {
    justify-content: space-between;
  }

  .calendar-selectors {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .calendar-selectors select,
  .calendar-selectors label:last-child select {
    width: 100%;
    min-width: 0;
  }

  .calendar-grid {
    grid-template-columns: repeat(7, minmax(0, 1fr));
  }

  .calendar-weekday {
    display: block;
    padding: 9px 2px;
    font-size: 0.62rem;
  }

  .calendar-cell {
    min-width: 0;
    min-height: 54px;
    padding: 5px 3px;
    overflow: hidden;
    text-align: center;
  }

  .calendar-cell.is-muted:empty {
    display: block;
  }

  .calendar-day-number {
    min-width: 25px;
    height: 25px;
    font-size: 0.78rem;
  }

  .calendar-event-pill {
    display: inline-block;
    width: 6px;
    height: 6px;
    margin: 6px 1px 0;
    padding: 0;
    overflow: hidden;
    border-radius: 50%;
    color: transparent;
    font-size: 0;
    vertical-align: top;
  }

  .calendar-day-panel {
    padding: 16px;
  }

  .calendar-day-empty {
    align-items: flex-start;
  }

  .location-copy {
    padding: 26px 22px;
  }

  .location-copy h2 {
    font-size: 1.65rem;
  }

  .location-map,
  .location-map iframe {
    min-height: 320px;
  }

  .social-carousel {
    aspect-ratio: 4 / 3;
  }

  .social-slide-overlay {
    padding: 14px;
  }

  .social-slide strong {
    max-width: 100%;
    font-size: 1rem;
  }

  .social-slide small {
    display: none;
  }

  .carousel-control {
    width: 34px;
    height: 34px;
  }

  .section-title h2,
  .split-copy h2,
  .cta-panel h2,
  .footer-cta h2 {
    font-size: 2.35rem;
  }

  .media-stack {
    grid-template-columns: 1fr;
  }

  .media-tile.large {
    min-height: 300px;
  }

  .page-hero.with-image {
    min-height: 430px;
  }

  .page-hero-inner {
    padding: 70px 0 52px;
  }

  .programme-panel,
  .cta-panel,
  .status-large,
  .contact-card,
  .form-panel {
    padding: 22px;
  }

  .registration-question-card {
    align-items: flex-start;
    flex-direction: column;
    padding: 20px;
  }

  .registration-question-card .text-link {
    width: 100%;
    justify-content: space-between;
  }

  .registration-video-link {
    align-items: flex-start;
    padding: 18px;
  }

  .programme-panel h3 {
    font-size: 1.78rem;
  }

  .timeline-card {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1080px) {
  .staff-directory-grid,
  .staff-related-grid,
  .staff-loading {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .staff-directory-tools,
  .staff-profile-layout {
    grid-template-columns: 1fr;
  }

  .staff-filter-panel {
    padding: 18px 0 0;
    border-top: 1px solid var(--line-dark);
    border-left: 0;
  }

  .staff-profile-intro {
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 38px;
  }

  .staff-profile-heading h1 {
    font-size: 3.6rem;
  }

  .staff-education {
    padding: 36px 0 0;
    border-top: 1px solid var(--line-dark);
    border-left: 0;
  }

  .council-hero-layout {
    grid-template-columns: minmax(0, 1fr) 240px;
    gap: 40px;
  }

  .council-featured {
    grid-template-columns: 310px minmax(0, 1fr);
    gap: 44px;
  }

  .council-featured-portrait {
    width: 290px;
    height: 290px;
  }

  .council-featured-copy h2 {
    font-size: 3rem;
  }

  .council-member-grid {
    gap: 18px;
  }

  .council-member {
    padding: 0 14px;
  }

  .council-member-portrait {
    width: 210px;
    height: 210px;
  }

  .postgrad-route-grid,
  .postgrad-detail-grid,
  .postgrad-english {
    grid-template-columns: 1fr;
  }

  .postgrad-information-notice {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .postgrad-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .postgrad-stats > div:nth-child(2) {
    border-right: 1px solid var(--line);
  }

  .postgrad-stats > div:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }

  .postgrad-score-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .postgrad-score-grid > div:nth-child(2) {
    border-right: 0;
  }

  .postgrad-score-grid > div:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }
}

@media (max-width: 760px) {
  .staff-directory-tools {
    margin-bottom: 24px;
    gap: 14px;
    padding: 12px;
  }

  .staff-filter-panel {
    gap: 8px;
    padding-top: 14px;
  }

  .staff-filter-list {
    display: none;
  }

  .staff-filter-select {
    min-height: 50px;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    border: 1px solid var(--line-dark);
    border-radius: 6px;
    background: #fbfaf7;
  }

  .staff-filter-select select {
    width: 100%;
    min-width: 0;
    height: 48px;
    padding: 0 14px;
    border: 0;
    outline: 0;
    appearance: none;
    background: transparent;
    color: var(--black);
    color-scheme: light;
    font-weight: 800;
  }

  .staff-filter-select select option {
    background: #ffffff;
    color: #111111;
  }

  .staff-filter-select:focus-within {
    border-color: var(--gold-3);
    box-shadow: 0 0 0 3px rgba(216, 168, 47, 0.16);
  }

  .staff-filter-select svg {
    width: 18px;
    height: 18px;
    margin-right: 14px;
    pointer-events: none;
    color: var(--gold-3);
  }

  .staff-directory-grid,
  .staff-related-grid,
  .staff-loading {
    grid-template-columns: 1fr;
  }

  .staff-loading span:not(:first-child) {
    display: none;
  }

  .staff-directory-photo {
    aspect-ratio: 4 / 4.15;
  }

  .staff-profile-masthead {
    padding: 52px 0 62px;
  }

  .staff-profile-intro {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .staff-profile-portrait {
    width: min(100%, 330px);
  }

  .staff-profile-heading h1 {
    font-size: 2.75rem;
  }

  .staff-profile-role {
    font-size: 1.08rem;
  }

  .staff-profile-contact {
    align-items: flex-start;
    flex-direction: column;
  }

  .uol-logo-showcase {
    min-height: 310px;
    padding: 26px;
  }

  .uol-accreditation-lead {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .uol-accreditation-logo {
    min-height: 180px;
  }

  .uol-accreditation-lead h2 {
    font-size: 2rem;
  }

  .council-hero {
    padding: 60px 0 54px;
  }

  .council-hero-layout,
  .council-featured,
  .council-member-grid,
  .council-remit-grid {
    grid-template-columns: 1fr;
  }

  .council-hero-mark {
    min-height: 0;
    margin-top: 8px;
    padding: 24px 0 0;
    border-top: 1px solid rgba(216, 168, 47, 0.46);
    border-left: 0;
  }

  .council-hero-mark strong {
    font-size: 3.8rem;
  }

  .council-members-section {
    padding-top: 68px;
    padding-bottom: 76px;
  }

  .council-section-title {
    margin-bottom: 38px;
  }

  .council-featured {
    gap: 34px;
    padding: 34px 0;
  }

  .council-featured-portrait {
    width: min(100%, 300px);
    height: auto;
    aspect-ratio: 1;
  }

  .council-featured-copy h2 {
    font-size: 2.55rem;
  }

  .council-secondary-heading {
    margin-top: 66px;
  }

  .council-secondary-heading h2 {
    font-size: 2.2rem;
  }

  .council-member {
    padding: 0 0 38px;
  }

  .council-member + .council-member {
    padding-top: 38px;
    border-top: 1px solid var(--line-dark);
    border-left: 0;
  }

  .council-member:nth-child(n + 3) {
    padding-top: 38px;
  }

  .council-member-portrait {
    width: 240px;
    height: 240px;
  }

  .council-member .council-role {
    min-height: 0;
  }

  .council-governance {
    padding-top: 72px;
    padding-bottom: 80px;
  }

  .council-remit-grid {
    gap: 34px;
  }

  .postgrad-hero {
    min-height: 560px;
  }

  .postgrad-hero .page-media img {
    object-position: 56% center;
  }

  .postgrad-stats > div {
    min-height: 108px;
    padding: 18px;
  }

  .postgrad-stats strong {
    font-size: 1.8rem;
  }

  .postgrad-route-card,
  .postgrad-detail-panel,
  .postgrad-entry-card,
  .postgrad-english {
    padding: 22px;
  }

  .postgrad-route-head {
    min-height: 0;
    align-items: flex-start;
    flex-direction: column;
  }

  .postgrad-route-head h3 {
    font-size: 1.9rem;
  }

  .postgrad-logo-row {
    width: 100%;
    justify-content: flex-start;
  }

  .postgrad-meta > div {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .postgrad-route-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .postgrad-entry-grid,
  .postgrad-steps {
    grid-template-columns: 1fr;
  }

  .postgrad-entry-card .button {
    width: 100%;
  }

  .postgrad-score-grid > div {
    padding: 14px;
  }

  .postgrad-steps {
    gap: 34px;
  }
}

@media (max-width: 760px) {
  body {
    min-width: 0;
  }

  .site-header {
    background: rgba(5, 5, 5, 0.98);
  }

  .navbar {
    min-height: 72px;
    padding: 0 68px 0 16px;
  }

  .brand {
    gap: 9px;
  }

  .brand-copy {
    max-width: calc(100vw - 138px);
  }

  .brand strong {
    max-width: 100%;
    font-size: clamp(0.66rem, 3.05vw, 0.76rem);
  }

  .brand small {
    max-width: 100%;
    overflow: hidden;
    font-size: clamp(0.48rem, 2.25vw, 0.56rem);
    text-overflow: ellipsis;
  }

  .nav-tools {
    right: 14px;
  }

  .nav-tools .nav-toggle {
    width: 44px;
    height: 44px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.34);
  }

  .nav-tools .nav-toggle::before,
  .nav-tools .nav-toggle-fallback {
    display: none;
  }

  .nav-links {
    inset: 80px 12px auto;
    align-content: start;
    align-items: stretch;
    justify-content: stretch;
    justify-items: stretch;
    max-height: calc(100dvh - 92px);
    padding: 12px;
  }

  .nav-links a,
  .nav-parent {
    width: 100%;
    padding: 0 12px;
    font-size: 0.94rem;
  }

  .nav-links a {
    justify-content: flex-start;
  }

  .nav-parent {
    justify-content: space-between;
  }

  .dropdown a {
    min-height: 42px;
    padding-inline: 12px;
    font-size: 0.9rem;
  }

  .hero .reveal,
  .page-hero .reveal,
  .events-hero .reveal {
    opacity: 1;
    transform: none;
  }

  .eyebrow {
    max-width: 100%;
    align-items: flex-start;
    gap: 9px;
    white-space: normal;
    line-height: 1.25;
  }

  .eyebrow::before {
    flex: 0 0 28px;
    width: 28px;
    margin-top: 0.58em;
  }

  .hero {
    min-height: calc(100dvh - var(--header));
    align-items: end;
  }

  .hero::before {
    background:
      linear-gradient(90deg, rgba(5, 5, 5, 0.9), rgba(5, 5, 5, 0.62)),
      linear-gradient(0deg, rgba(5, 5, 5, 0.9), rgba(5, 5, 5, 0.24));
  }

  .hero-media img,
  .hero-video,
  .hero-image {
    object-position: 54% center;
  }

  .hero-inner {
    padding: 42px 16px 38px;
  }

  .hero-grid {
    gap: 26px;
  }

  .hero h1,
  .page-hero h1,
  .events-hero-copy h1,
  .section-title h2,
  .split-copy h2,
  .cta-panel h2,
  .footer-cta h2,
  .staff-result-count {
    max-width: 100%;
    word-break: normal;
    overflow-wrap: anywhere;
  }

  .hero h1 {
    font-size: clamp(2.45rem, 11vw, 3.25rem);
    line-height: 1;
  }

  .page-hero h1 {
    font-size: clamp(2.1rem, 8.8vw, 2.75rem);
    line-height: 1.02;
  }

  .hero-copy,
  .page-hero p:not(.eyebrow),
  .events-hero-copy > p:not(.eyebrow),
  .section-title p,
  .split-copy p,
  .cta-panel p,
  .footer-cta p {
    max-width: 100%;
    word-break: normal;
    overflow-wrap: anywhere;
  }

  .hero-copy {
    margin-top: 20px;
  }

  .hero-actions {
    gap: 10px;
    margin-top: 26px;
  }

  .button {
    min-width: 0;
    min-height: 48px;
    padding: 10px 16px;
    white-space: normal;
    line-height: 1.15;
    text-align: center;
  }

  .hero-notice-stack {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(82vw, 1fr);
    gap: 14px;
    width: calc(100% + 16px);
    margin-top: 4px;
    padding: 2px 16px 12px 0;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: inline mandatory;
    scrollbar-width: none;
  }

  .hero-notice-stack::-webkit-scrollbar {
    display: none;
  }

  .hero-notice-stack > * {
    min-width: 0;
    height: 100%;
    scroll-snap-align: start;
  }

  .status-panel,
  .notice-card {
    width: 100%;
    padding: 16px;
    border-radius: 12px;
    background: rgba(8, 8, 8, 0.64);
    backdrop-filter: blur(12px);
  }

  .status-panel strong {
    font-size: 1.26rem;
  }

  .status-panel p,
  .notice-card p {
    font-size: 0.94rem;
    line-height: 1.5;
  }

  .status-panel .hero-actions {
    margin-top: 18px;
  }

  .status-panel .button {
    width: 100%;
  }

  .notice-card strong {
    font-size: 1.04rem;
  }

  .notice-card .meta-row {
    font-size: 0.82rem;
  }

  .social-carousel-card {
    padding: 12px;
  }

  .social-carousel-card .social-carousel {
    aspect-ratio: 16 / 10;
  }

  .hero-scroll {
    margin-top: 28px;
  }

  .page-hero.clean {
    padding: 48px 0 44px;
  }

  .page-hero.clean .page-hero-inner,
  .page-hero-inner {
    padding: 0;
  }

  .page-hero.with-image {
    min-height: 390px;
  }

  .page-hero.with-image::before {
    background:
      linear-gradient(90deg, rgba(5, 5, 5, 0.94), rgba(5, 5, 5, 0.62)),
      linear-gradient(0deg, rgba(5, 5, 5, 0.86), rgba(5, 5, 5, 0.24));
  }

  body[data-page] .page-hero.with-image.programme-image-hero {
    min-height: 0;
    display: block;
  }

  body[data-page] .page-hero.with-image.programme-image-hero .page-media {
    position: relative;
    inset: auto;
    z-index: 0;
    width: 100%;
    aspect-ratio: 3 / 2;
    background: var(--black);
  }

  body[data-page] .page-hero.with-image.programme-image-hero .page-media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
  }

  body[data-page] .page-hero.with-image.programme-image-hero .page-media.programme-split-media {
    grid-template-columns: 1fr;
    aspect-ratio: auto;
  }

  body[data-page] .page-hero.with-image.programme-image-hero .programme-hero-panel {
    aspect-ratio: 3 / 2;
  }

  body[data-page] .page-hero.with-image.programme-image-hero .programme-hero-panel + .programme-hero-panel {
    border-top: 2px solid rgba(216, 168, 47, 0.7);
    border-left: 0;
  }

  body[data-page] .page-hero.with-image.programme-image-hero .page-media.programme-split-media .programme-hero-panel img {
    object-fit: contain;
  }

  body[data-page] .page-hero.with-image.programme-image-hero::before {
    display: none;
  }

  body[data-page] .page-hero.with-image.programme-image-hero .page-hero-inner {
    padding-top: 30px;
    padding-bottom: 46px;
  }

  .breadcrumb {
    margin-bottom: 20px;
    line-height: 1.3;
  }

  .section,
  .split-section {
    padding-top: 58px;
    padding-bottom: 58px;
  }

  .section-title {
    gap: 16px;
    margin-bottom: 24px;
  }

  .section-title h2,
  .split-copy h2,
  .cta-panel h2,
  .footer-cta h2 {
    font-size: clamp(2rem, 8.2vw, 2.55rem);
    line-height: 1.04;
  }

  .stats-strip {
    margin-top: 0;
  }

  .stat {
    padding: 22px;
  }

  .glass-card,
  .paper-card,
  .directory-card,
  .timeline-card,
  .event-card,
  .contact-card,
  .faq-panel,
  .form-panel,
  .source-card,
  .person-card,
  .job-card,
  .partner-card {
    min-width: 0;
  }

  .directory-card,
  .glass-card,
  .paper-card,
  .source-card,
  .person-card,
  .job-card,
  .partner-card {
    padding: 20px;
  }

  .meta-row,
  .text-link,
  .card-link,
  .contact-line {
    min-width: 0;
    align-items: flex-start;
    flex-wrap: wrap;
    line-height: 1.45;
  }

  .meta-row svg,
  .text-link svg,
  .card-link svg {
    margin-top: 0.15em;
  }

  .tab-list {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .tab-button,
  .filter-button {
    width: 100%;
    min-width: 0;
    padding: 8px 10px;
    white-space: normal;
    line-height: 1.15;
    text-align: center;
  }

  .programme-panel,
  .programme-meta {
    min-width: 0;
  }

  .programme-panel {
    gap: 18px;
    padding: 20px;
  }

  .programme-panel h3 {
    font-size: clamp(1.65rem, 7.6vw, 2rem);
  }

  .programme-meta {
    padding: 16px;
  }

  .clean-list li {
    padding-left: 20px;
  }

  .prospectus-showcase {
    gap: 24px;
  }

  .prospectus-cover {
    width: min(78vw, 260px);
    transform: none;
  }

  .prospectus-copy h2 {
    font-size: clamp(2rem, 8.6vw, 2.7rem);
  }

  .media-band {
    min-height: 280px;
  }

  .media-band-content {
    padding: 20px;
  }

  .media-band-content h3,
  .event-toolbar h2 {
    font-size: clamp(1.65rem, 7.6vw, 2.25rem);
    line-height: 1.06;
  }

  .events-hero {
    min-height: auto;
  }

  .events-hero::before {
    background:
      linear-gradient(90deg, rgba(5, 5, 5, 0.94), rgba(5, 5, 5, 0.62)),
      linear-gradient(0deg, rgba(5, 5, 5, 0.9), rgba(5, 5, 5, 0.18));
  }

  .events-hero-inner {
    padding: 50px 16px 46px;
  }

  .events-hero-copy h1 {
    margin: 16px 0;
    font-size: clamp(2.35rem, 10.2vw, 3.1rem);
    line-height: 1;
  }

  .events-hero-stack article {
    grid-template-columns: 104px minmax(0, 1fr);
  }

  .events-hero-stack span {
    padding: 14px;
    font-size: 0.96rem;
  }

  .event-switchboard {
    gap: 12px;
  }

  .event-switch-card {
    min-height: 0;
    padding: 20px;
  }

  .event-switch-card strong {
    font-size: 1.55rem;
  }

  .event-feature-card,
  .event-feature-card.is-large,
  .activity-card {
    min-height: 280px;
  }

  .event-feature-card > div,
  .activity-card div {
    padding: 20px;
  }

  .event-date {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }

  .calendar-shell {
    overflow: hidden;
  }

  .calendar-controls {
    padding: 14px;
  }

  .calendar-selectors {
    grid-template-columns: 1fr 1fr;
  }

  .calendar-day-empty {
    gap: 10px;
  }

  .table-wrap {
    width: 100%;
    max-width: 100%;
    -webkit-overflow-scrolling: touch;
  }

  th,
  td {
    padding: 12px;
  }

  .contact-grid,
  .content-grid,
  .location-layout {
    gap: 18px;
  }

  .contact-card,
  .form-panel {
    padding: 20px;
  }

  .field-grid {
    gap: 12px;
  }

  input,
  select,
  textarea {
    min-width: 0;
    font-size: 1rem;
  }

  .location-copy .button {
    align-self: stretch;
  }

  .footer-cta,
  .footer-inner,
  .footer-bottom {
    width: calc(100% - 32px);
    margin-right: auto;
    margin-left: auto;
  }

  .footer-cta {
    padding: 42px 0;
  }

  .footer-inner {
    gap: 28px;
    padding: 42px 0;
  }

  .footer-brand {
    align-items: flex-start;
  }

  .footer-bottom {
    gap: 12px;
    padding: 20px 0;
  }

  .staff-directory-section {
    min-height: 0;
  }

  .staff-directory-tools {
    padding: 14px;
  }

  .staff-search {
    min-width: 0;
    padding: 0 12px;
  }

  .staff-result-count {
    align-self: start;
    font-size: 0.88rem;
  }

  .staff-directory-copy {
    padding: 18px;
  }

  .staff-group-label,
  .staff-directory-card p {
    min-height: 0;
  }

  .staff-profile-heading h1 {
    font-size: clamp(2.35rem, 10vw, 2.85rem);
    line-height: 1;
  }

  .uol-logo-showcase {
    justify-items: stretch;
    min-height: 0;
    padding: 22px;
  }

  .uol-logo-showcase img {
    object-position: center;
  }

  .council-hero-layout h1,
  .council-featured-copy h2,
  .council-secondary-heading h2 {
    word-break: normal;
    overflow-wrap: anywhere;
  }

  .postgrad-stats {
    width: calc(100% - 32px);
    grid-template-columns: 1fr;
  }

  .postgrad-stats > div,
  .postgrad-stats > div:first-child,
  .postgrad-stats > div:nth-child(2) {
    border-right: 1px solid var(--line);
    border-left: 1px solid var(--line);
  }

  .postgrad-stats > div + div {
    border-top: 1px solid var(--line);
  }

  .postgrad-score-grid {
    grid-template-columns: 1fr;
  }

  .postgrad-score-grid > div,
  .postgrad-score-grid > div:nth-child(2) {
    border-right: 0;
  }

  .postgrad-score-grid > div + div {
    border-top: 1px solid var(--line);
  }
}

@media (max-width: 420px) {
  .navbar {
    padding-left: 14px;
    padding-right: 62px;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
  }

  .brand-mark img {
    width: 31px;
    height: 31px;
  }

  .brand-copy {
    max-width: calc(100vw - 126px);
  }

  .hero-inner,
  .page-hero-inner,
  .events-hero-inner,
  .section,
  .split-section {
    padding-left: 14px;
    padding-right: 14px;
  }

  .events-hero-copy,
  .page-hero-inner,
  .section-title,
  .section-title > div {
    max-width: calc(100vw - 28px);
  }

  .tab-list {
    grid-template-columns: 1fr;
  }

  .calendar-selectors {
    grid-template-columns: 1fr;
  }

}

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

  .reveal {
    opacity: 1;
    transform: none;
  }

  .hero-image {
    opacity: 0;
  }
}





/* Student Services */
.student-services-section,
.student-services-overview {
  scroll-margin-top: 150px;
}

.student-services-hero .page-hero-inner > p:last-child {
  max-width: 850px;
}

.student-services-index,
.student-services-summary-grid,
.student-services-pillar-grid,
.student-services-content-grid,
.student-services-club-grid,
.student-services-request-grid,
.student-services-document-grid {
  display: grid;
  gap: 18px;
}

.student-services-index,
.student-services-summary-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.student-services-index-card {
  position: relative;
  min-height: 310px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 28px;
  overflow: hidden;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--black);
  box-shadow: 0 18px 45px rgba(5, 5, 5, 0.08);
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.student-services-index-card::after {
  content: "";
  position: absolute;
  inset: auto -45px -65px auto;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: rgba(216, 168, 47, 0.1);
}

.student-services-index-card:hover {
  transform: translateY(-6px);
  border-color: rgba(216, 168, 47, 0.58);
  box-shadow: 0 26px 60px rgba(5, 5, 5, 0.14);
}

.student-services-index-card > span,
.student-services-section-number {
  margin: 0 0 18px;
  color: var(--gold-3);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.12em;
}

.student-services-index-card > svg,
.student-services-summary-card > svg,
.student-services-pillar > svg,
.student-services-panel > svg {
  width: 34px;
  height: 34px;
  color: var(--gold);
}

.student-services-index-card h3 {
  margin: 22px 0 10px;
  font-size: 1.52rem;
  line-height: 1.08;
}

.student-services-index-card p {
  margin: 0;
  color: var(--muted-dark);
}

.student-services-index-card > strong {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 24px;
  color: var(--gold-3);
}

.student-services-index-card > strong svg {
  width: 17px;
  height: 17px;
}

.student-services-index-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-top: auto;
  padding-top: 24px;
}

.student-services-index-actions a {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--gold-3);
  font-weight: 900;
}

.student-services-index-actions a:hover {
  color: var(--black);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.student-services-index-actions svg {
  width: 17px;
  height: 17px;
}

.student-services-summary-card,
.student-services-pillar {
  min-width: 0;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.055);
}

.student-services-summary-card .eyebrow {
  margin-top: 20px;
}

.student-services-summary-card h3,
.student-services-pillar h3,
.student-services-panel h3,
.student-services-request-card h3,
.student-services-processing h3,
.student-services-document-card h3 {
  margin: 12px 0 10px;
  font-size: clamp(1.4rem, 2vw, 1.85rem);
  line-height: 1.08;
}

.student-services-summary-card > p:last-child,
.student-services-panel > p,
.student-services-request-card > p,
.student-services-processing > p,
.student-services-document-card > p {
  color: var(--muted);
}

.student-services-content-grid,
.student-services-club-grid,
.student-services-request-grid,
.student-services-document-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.student-services-panel,
.student-services-request-card,
.student-services-processing,
.student-services-document-card {
  min-width: 0;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.055);
}

.student-services-panel.is-wide {
  grid-column: 1 / -1;
}

.student-services-panel h4,
.student-services-request-card h4 {
  margin: 28px 0 0;
  font-size: 1.08rem;
}

.student-services-panel .card-link {
  margin-top: 22px;
}

.student-services-note {
  margin-top: 22px !important;
  padding: 17px 18px;
  border-left: 2px solid var(--gold);
  background: rgba(216, 168, 47, 0.09);
  color: inherit !important;
  font-style: italic;
}

.student-services-request-card {
  background:
    linear-gradient(145deg, rgba(216, 168, 47, 0.14), transparent 54%),
    var(--black-2);
}

.student-services-email {
  max-width: 100%;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 20px 0;
  padding: 14px 16px;
  overflow-wrap: anywhere;
  border: 1px solid rgba(216, 168, 47, 0.42);
  border-radius: var(--radius);
  background: rgba(216, 168, 47, 0.12);
  color: var(--gold-2);
  font-weight: 850;
}

.student-services-email svg {
  width: 19px;
  height: 19px;
  flex: 0 0 auto;
}

.student-services-copy-email {
  margin: -8px 0 22px !important;
  color: var(--muted) !important;
  overflow-wrap: anywhere;
}

.student-services-copy-email span {
  color: var(--white);
  font-weight: 800;
  user-select: all;
  cursor: text;
}

.student-services-procedure {
  margin-top: 28px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.student-services-procedure > h4 {
  margin-top: 10px;
  font-size: clamp(1.35rem, 2vw, 1.75rem);
}

.student-services-procedure-stages {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 24px 0;
  padding: 0;
  list-style: none;
}

.student-services-procedure-stages li {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.045);
}

.student-services-procedure-stages strong {
  color: var(--gold-2);
}

.student-services-procedure-stages span {
  color: var(--muted);
}

.student-services-request-card code {
  display: block;
  margin: 14px 0 0;
  padding: 14px 16px;
  overflow-wrap: anywhere;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--white);
  background: rgba(0, 0, 0, 0.28);
  white-space: normal;
}

.student-services-processing .table-wrap {
  margin-top: 22px;
}

/* Official undergraduate programme data */
.programme-data-table th,
.programme-data-table td {
  min-width: 150px;
}

.programme-data-table th:first-child,
.programme-data-table td:first-child {
  min-width: 210px;
  font-weight: 850;
}

.programme-requirements-table th:nth-child(n + 3),
.programme-requirements-table td:nth-child(n + 3) {
  min-width: 270px;
}

.programme-tuition-table th:nth-last-child(-n + 4),
.programme-tuition-table td:nth-last-child(-n + 4) {
  min-width: 105px;
  white-space: nowrap;
}

/* Lightweight QR / quick-links page */
body[data-page="connect"] {
  min-height: 100svh;
  color: var(--white);
  background:
    radial-gradient(circle at 85% 10%, rgba(216, 168, 47, 0.18), transparent 30rem),
    radial-gradient(circle at 0 80%, rgba(216, 168, 47, 0.09), transparent 28rem),
    var(--black);
}

.connect-shell {
  width: min(100% - 32px, 720px);
  min-height: 100svh;
  display: grid;
  align-content: center;
  gap: 26px;
  margin: 0 auto;
  padding: 40px 0 28px;
}

.connect-brand {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 13px;
  color: var(--white);
  text-decoration: none;
}

.connect-brand img {
  width: 54px;
  height: 54px;
  object-fit: contain;
}

.connect-brand span {
  display: grid;
  gap: 2px;
}

.connect-brand strong {
  color: var(--gold-2);
  font-size: clamp(1rem, 4vw, 1.25rem);
  line-height: 1.15;
}

.connect-brand small {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.connect-intro {
  display: grid;
  gap: 12px;
}

.connect-intro h1 {
  max-width: 680px;
  margin: 0;
  font-size: clamp(2.4rem, 10vw, 4.8rem);
  line-height: 0.96;
  letter-spacing: -0.055em;
}

.connect-intro p:last-child {
  max-width: 590px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(1rem, 3vw, 1.12rem);
}

.connect-actions {
  display: grid;
  gap: 12px;
}

.connect-resources {
  display: grid;
  gap: 16px;
  padding-top: 8px;
}

.connect-section-heading {
  display: grid;
  gap: 8px;
}

.connect-section-heading h2,
.connect-section-heading p {
  margin: 0;
}

.connect-section-heading h2 {
  font-size: clamp(1.6rem, 5vw, 2.35rem);
  line-height: 1.05;
  letter-spacing: -0.035em;
}

.connect-section-heading > p:last-child {
  color: var(--muted);
}

.connect-document .connect-action-icon {
  color: var(--gold-2);
  background: rgba(216, 168, 47, 0.12);
  border: 1px solid rgba(216, 168, 47, 0.38);
}

.connect-action {
  min-height: 78px;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) 24px;
  gap: 14px;
  align-items: center;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--white);
  background: rgba(255, 255, 255, 0.055);
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.connect-action:hover,
.connect-action:focus-visible {
  border-color: var(--gold);
  background: rgba(216, 168, 47, 0.11);
  transform: translateY(-2px);
}

.connect-action-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--black);
  background: var(--gold);
}

.connect-action-icon svg,
.connect-action-arrow svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.connect-action-copy {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.connect-action-copy strong {
  font-size: 1.08rem;
  line-height: 1.15;
}

.connect-action-copy span {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.35;
}

.connect-action-arrow {
  color: var(--gold-2);
}

.connect-footer {
  padding-top: 8px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.8rem;
}

@media (max-width: 760px) {
  .programme-data-table {
    min-width: 0;
    display: block;
  }

  .programme-data-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }

  .programme-data-table tbody {
    display: grid;
    gap: 14px;
    padding: 12px;
  }

  .programme-data-table tr {
    display: grid;
    overflow: hidden;
    border: 1px solid var(--line-dark);
    border-radius: calc(var(--radius) - 4px);
    background: var(--white);
  }

  .programme-data-table td,
  .programme-data-table td:first-child,
  .programme-requirements-table td:nth-child(n + 3),
  .programme-tuition-table td:nth-last-child(-n + 4) {
    min-width: 0;
    display: grid;
    grid-template-columns: minmax(105px, 36%) minmax(0, 1fr);
    gap: 12px;
    padding: 13px 14px;
    border-bottom: 1px solid var(--line-dark);
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .programme-data-table td::before {
    content: attr(data-label);
    color: #8f6500;
    font-size: 0.74rem;
    font-weight: 900;
    letter-spacing: 0.025em;
    line-height: 1.3;
    text-transform: uppercase;
  }

  .programme-data-table td:first-child {
    color: var(--black);
    background: rgba(216, 168, 47, 0.12);
  }

  .programme-data-table td:last-child {
    border-bottom: 0;
  }

  .connect-shell {
    align-content: start;
    gap: 22px;
    padding-top: 28px;
  }

  .connect-action {
    min-height: 84px;
  }
}

@media (max-width: 420px) {
  .programme-data-table td,
  .programme-data-table td:first-child,
  .programme-requirements-table td:nth-child(n + 3),
  .programme-tuition-table td:nth-last-child(-n + 4) {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .connect-action {
    grid-template-columns: 44px minmax(0, 1fr) 20px;
    gap: 11px;
    padding: 14px;
  }

  .connect-action-icon {
    width: 44px;
    height: 44px;
  }
}

.student-services-processing th:last-child,
.student-services-processing td:last-child {
  white-space: nowrap;
}

.student-services-pillar-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.light .student-services-pillar,
.light .student-services-panel {
  border-color: var(--line-dark);
  background: var(--white);
  color: var(--black);
  box-shadow: 0 16px 38px rgba(5, 5, 5, 0.07);
}

.light .student-services-pillar p,
.light .student-services-panel > p {
  color: var(--muted-dark);
}

.student-services-oversee-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  margin-top: 22px;
  overflow: hidden;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  background: var(--line-dark);
}

.student-services-oversee-grid > div {
  min-width: 0;
  display: grid;
  gap: 8px;
  align-content: start;
  padding: 20px;
  background: var(--white);
}

.student-services-oversee-grid strong {
  line-height: 1.2;
}

.student-services-oversee-grid span {
  color: var(--muted-dark);
  font-size: 0.92rem;
}

.student-services-two-column-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 30px;
}

.student-services-club-grid .student-services-panel > svg {
  margin-bottom: 14px;
}

.student-services-step-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 22px;
}

.student-services-step-grid > div {
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 20px;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  background: var(--paper);
}

.student-services-step-grid span {
  color: var(--gold-3);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.12em;
}

.student-services-step-grid p {
  margin: 0;
  color: var(--muted-dark);
}

.student-services-document-card {
  min-height: 390px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background:
    linear-gradient(145deg, rgba(216, 168, 47, 0.15), transparent 58%),
    var(--black-2);
}

.student-services-document-icon {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  margin-bottom: 26px;
  border: 1px solid rgba(216, 168, 47, 0.48);
  border-radius: 50%;
  color: var(--gold-2);
  background: rgba(216, 168, 47, 0.1);
}

.student-services-document-icon svg {
  width: 28px;
  height: 28px;
}

.student-services-document-card .hero-actions {
  margin-top: auto;
  padding-top: 28px;
}

.student-services-document-grid.is-single {
  grid-template-columns: minmax(0, 760px);
}

.student-services-policy-disclaimer {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin: 22px 0 0;
  padding: 20px;
  border: 1px solid rgba(216, 168, 47, 0.38);
  border-radius: var(--radius);
  background: rgba(216, 168, 47, 0.08);
  color: var(--muted);
}

.student-services-policy-disclaimer svg {
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
  color: var(--gold-2);
}

@media (max-width: 1080px) {
  .student-services-index,
  .student-services-summary-grid {
    grid-template-columns: 1fr;
  }

  .student-services-index-card {
    min-height: 240px;
  }

  .student-services-pillar-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .student-services-oversee-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .student-services-content-grid,
  .student-services-club-grid,
  .student-services-request-grid,
  .student-services-document-grid,
  .student-services-pillar-grid,
  .student-services-oversee-grid,
  .student-services-step-grid,
  .student-services-procedure-stages,
  .student-services-two-column-list {
    grid-template-columns: 1fr;
  }

  .student-services-index-card {
    min-height: 260px;
    padding: 24px;
  }

  .student-services-panel,
  .student-services-request-card,
  .student-services-processing,
  .student-services-document-card {
    padding: 22px;
  }

  .student-services-document-card {
    min-height: 0;
  }

  .student-services-document-card .hero-actions {
    width: 100%;
  }

  .student-services-document-card .button {
    width: 100%;
  }

  .student-services-processing th:last-child,
  .student-services-processing td:last-child {
    white-space: normal;
  }

  .student-services-policy-disclaimer {
    padding: 17px;
  }
}

/* Event story galleries */
.event-story-section {
  overflow: clip;
  scroll-margin-top: 150px;
}

.event-story-section--student {
  border-top: 1px solid var(--line);
  background: var(--black-2);
}

#calendar {
  scroll-margin-top: 150px;
}

.event-story-heading {
  align-items: end;
}

.event-story-heading > div > p:not(.eyebrow) {
  max-width: 690px;
  margin: 16px 0 0;
  color: var(--muted);
}

.event-story-count {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  padding-bottom: 6px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 850;
  text-transform: uppercase;
}

.event-story-count strong {
  color: var(--gold-2);
  font-size: 2rem;
  line-height: 1;
}

.event-story-grid {
  display: grid;
  gap: 16px;
}

.event-story-grid--university {
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
  grid-auto-rows: 190px;
}

.event-story-grid--university .event-story-card.is-featured {
  grid-row: span 3;
}

.event-story-grid--student {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-flow: row;
  grid-auto-rows: clamp(320px, 23vw, 430px);
}

.event-story-grid--student .event-story-card.is-featured {
  grid-column: auto;
}

.event-story-grid--student .event-story-card-copy > strong {
  font-size: clamp(1.35rem, 1.6vw, 1.75rem);
}

.event-story-card {
  min-width: 0;
  min-height: 0;
  position: relative;
  display: block;
  overflow: hidden;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--black-2);
  color: var(--white);
  font: inherit;
  text-align: left;
  cursor: pointer;
  isolation: isolate;
}

.event-story-card img,
.event-story-card-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.event-story-card img {
  z-index: -2;
  object-fit: cover;
  transition: transform 480ms ease, filter 480ms ease;
}

.event-story-card-shade {
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(5, 5, 5, 0.02) 24%, rgba(5, 5, 5, 0.92) 100%),
    linear-gradient(90deg, rgba(5, 5, 5, 0.26), transparent 58%);
}

.event-story-card-copy {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  padding: 22px;
}

.event-story-card-kicker {
  margin-bottom: 9px;
  color: var(--gold-2);
  font-size: 0.72rem;
  font-weight: 950;
  line-height: 1.2;
  text-transform: uppercase;
}

.event-story-card-copy > strong {
  max-width: 650px;
  font-size: clamp(1.35rem, 2.3vw, 2.35rem);
  line-height: 1.02;
}

.event-story-grid--university .event-story-card:not(.is-featured) .event-story-card-copy > strong {
  font-size: 1.28rem;
}

.event-story-card-action {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  max-height: 0;
  margin-top: 0;
  overflow: hidden;
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 850;
  opacity: 0;
  transform: translateY(7px);
  transition: max-height 220ms ease, margin 220ms ease, opacity 220ms ease, transform 220ms ease;
}

.event-story-card-action svg {
  width: 16px;
  height: 16px;
}

.event-story-card:hover img,
.event-story-card:focus-visible img {
  filter: saturate(1.06) contrast(1.03);
  transform: scale(1.035);
}

.event-story-card:hover .event-story-card-action,
.event-story-card:focus-visible .event-story-card-action {
  max-height: 28px;
  margin-top: 13px;
  opacity: 1;
  transform: translateY(0);
}

.event-story-card:focus-visible {
  outline: 3px solid var(--gold-2);
  outline-offset: 3px;
}

.event-story-loading {
  grid-column: 1 / -1;
  min-height: 260px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 12px;
  border: 1px solid var(--line);
  color: var(--muted);
}

.event-story-loading svg {
  color: var(--gold-2);
  animation: event-story-spin 1s linear infinite;
}

.event-story-dialog {
  width: min(1080px, calc(100% - 32px));
  max-width: none;
  max-height: min(90dvh, 900px);
  overflow: auto;
  padding: 0;
  border: 1px solid rgba(216, 168, 47, 0.45);
  border-radius: var(--radius);
  background: var(--black);
  color: var(--white);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.62);
}

.event-story-dialog::backdrop {
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(5px);
}

.event-story-dialog-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(320px, 0.86fr) minmax(0, 1.14fr);
  min-height: min(760px, 86dvh);
}

.event-story-dialog-close {
  width: 44px;
  height: 44px;
  position: absolute;
  z-index: 4;
  top: 16px;
  right: 16px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  background: rgba(5, 5, 5, 0.78);
  color: var(--white);
  cursor: pointer;
}

.event-story-dialog-close svg {
  width: 21px;
  height: 21px;
}

.event-story-dialog-close:hover,
.event-story-dialog-close:focus-visible {
  border-color: var(--gold-2);
  color: var(--gold-2);
}

.event-story-dialog-media {
  min-height: 560px;
  position: relative;
  overflow: hidden;
  background: var(--black-2);
}

.event-story-dialog-media::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: -24px;
  background-image: var(--event-story-image);
  background-position: center;
  background-size: cover;
  filter: blur(20px);
  opacity: 0.32;
  transform: scale(1.06);
}

.event-story-dialog-media::after {
  content: "";
  position: absolute;
  z-index: 2;
  inset: 0;
  background: linear-gradient(0deg, rgba(5, 5, 5, 0.72), transparent 45%);
}

.event-story-dialog-media img {
  width: 100%;
  height: 100%;
  position: relative;
  z-index: 1;
  object-fit: contain;
  object-position: center;
}

.event-story-dialog-media > span {
  position: absolute;
  z-index: 3;
  right: 26px;
  bottom: 26px;
  left: 26px;
  color: var(--gold-2);
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
}

.event-story-dialog-content {
  padding: 54px 46px 42px;
}

.event-story-dialog-content h2 {
  max-width: 680px;
  margin: 15px 0 18px;
  color: var(--white);
  font-size: clamp(2.25rem, 4vw, 4rem);
  line-height: 0.98;
}

.event-story-lead {
  margin: 0;
  color: var(--white);
  font-size: 1.08rem;
  font-weight: 650;
  line-height: 1.65;
}

.event-story-body {
  margin-top: 25px;
}

.event-story-body p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.event-story-body p + p {
  margin-top: 15px;
}

.event-story-body-section {
  margin-top: 25px;
  padding: 20px 22px;
  border-left: 3px solid var(--gold-2);
  background: rgba(216, 168, 47, 0.07);
}

.event-story-body-section h3 {
  margin: 0 0 10px;
  color: var(--white);
  font-size: 1.15rem;
}

.event-story-body-section p,
.event-story-body-section p + p {
  margin: 0;
}

.event-story-video {
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.event-story-video-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 17px;
}

.event-story-video-heading h3 {
  margin: 7px 0 0;
  color: var(--white);
  font-size: 1.45rem;
}

.event-story-video-heading > svg {
  width: 28px;
  height: 28px;
  color: var(--gold-2);
}

.event-story-video-placeholder {
  min-height: 150px;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 24px;
  border: 1px dashed rgba(216, 168, 47, 0.55);
  background: rgba(216, 168, 47, 0.07);
}

.event-story-video-placeholder > svg {
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
  color: var(--gold-2);
}

.event-story-video-placeholder div {
  display: grid;
  gap: 7px;
}

.event-story-video-placeholder strong {
  font-size: 1.08rem;
}

.event-story-video-placeholder span {
  color: var(--muted);
  line-height: 1.5;
}

.event-story-video-frame {
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #000;
}

.event-story-video-list {
  display: grid;
  gap: 18px;
}

.event-story-video-list.is-multiple {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.event-story-video-item {
  min-width: 0;
}

.event-story-video-label {
  margin: 0 0 10px;
  color: var(--gold-2);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.035em;
  text-transform: uppercase;
}

.event-story-video-frame iframe,
.event-story-video-frame video {
  width: 100%;
  height: 100%;
  border: 0;
}

/* Homepage campus community: ten-photo, crop-free masonry gallery. */
.campus-community {
  grid-template-columns: minmax(300px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(42px, 5vw, 76px);
}

.campus-community-gallery {
  columns: 3;
  column-gap: 14px;
}

.campus-community-photo {
  display: inline-block;
  width: 100%;
  margin: 0 0 14px;
  overflow: hidden;
  break-inside: avoid;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--black-3);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.2);
}

.campus-community-photo img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform 500ms ease;
}

.campus-community-photo:hover img {
  transform: scale(1.025);
}

@keyframes event-story-spin {
  to { transform: rotate(360deg); }
}

@media (max-width: 1240px) {
  .campus-community {
    grid-template-columns: 1fr;
  }

  .campus-community .split-copy {
    max-width: 760px;
  }

  .campus-community-gallery {
    columns: 4;
  }
}

@media (max-width: 980px) {
  .campus-community-gallery {
    columns: 3;
  }

  .event-story-grid--university {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 320px;
  }

  .event-story-grid--university .event-story-card.is-featured {
    grid-column: span 2;
    grid-row: auto;
    min-height: 440px;
  }

  .event-story-grid--student {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 340px;
  }

  .event-story-dialog-panel {
    grid-template-columns: 1fr;
  }

  .event-story-dialog-media {
    min-height: 360px;
    max-height: 45dvh;
  }
}

@media (max-width: 760px) {
  body[data-page="home"] .hero {
    align-items: start;
    background: var(--black);
  }

  body[data-page="home"] .hero-media {
    inset: 0 0 auto;
    width: 100%;
    height: 56.25vw;
    overflow: hidden;
    background: var(--black) url("../images/slider/slide1.jpg") center / contain no-repeat;
  }

  body[data-page="home"] .hero-video,
  body[data-page="home"] .hero-image,
  body[data-page="home"] .hero-media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    transform: none;
  }

  body[data-page="home"] .hero-image {
    opacity: 0;
    animation: none;
  }

  .campus-community {
    gap: 32px;
  }

  .campus-community-gallery {
    columns: 2;
    column-gap: 10px;
  }

  .campus-community-photo {
    margin-bottom: 10px;
    border-radius: 12px;
  }

  .event-story-heading {
    align-items: flex-start;
  }

  .event-story-count {
    padding: 0;
  }

  .event-story-grid--university,
  .event-story-grid--student {
    grid-template-columns: 1fr;
    grid-auto-rows: 300px;
  }

  .event-story-grid--university .event-story-card.is-featured {
    grid-column: auto;
    min-height: 360px;
  }

  .event-story-grid--student .event-story-card.is-featured {
    grid-column: auto;
    min-height: 0;
  }

  .event-story-card-copy {
    padding: 20px;
  }

  .event-story-card-copy > strong,
  .event-story-grid--university .event-story-card:not(.is-featured) .event-story-card-copy > strong {
    font-size: 1.45rem;
  }

  .event-story-card-action {
    max-height: 28px;
    margin-top: 11px;
    opacity: 1;
    transform: none;
  }

  .event-story-dialog {
    width: calc(100% - 16px);
    max-height: calc(100dvh - 16px);
  }

  .event-story-dialog-panel {
    min-height: 0;
  }

  .event-story-dialog-media {
    min-height: 260px;
    max-height: 34dvh;
  }

  .event-story-dialog-content {
    padding: 32px 22px 28px;
  }

  .event-story-dialog-content h2 {
    font-size: clamp(2rem, 10vw, 2.8rem);
  }

  .event-story-video-placeholder {
    min-height: 140px;
    align-items: flex-start;
    padding: 20px;
  }

  .event-story-video-list.is-multiple {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .navbar > .nav-tools {
    display: flex !important;
    visibility: visible;
    opacity: 1;
  }

  .navbar > .nav-tools .nav-toggle {
    display: grid !important;
    visibility: visible;
    opacity: 1;
  }

  .navbar > .nav-tools .nav-toggle::before {
    display: block !important;
  }

  .mobile-footer-portals {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    width: calc(100% - 32px);
    margin: 0 auto;
    padding: 20px 0;
  }

  .mobile-footer-portal-label {
    color: var(--gold-2);
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

  .mobile-footer-portal-link {
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 12px;
    border-radius: var(--radius);
    border: 1px solid rgba(216, 168, 47, 0.48);
    background: rgba(216, 168, 47, 0.12);
    color: var(--gold-2) !important;
    font-weight: 850;
    text-align: center;
  }

  .mobile-footer-portal-link svg {
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
  }

  .mobile-menu-portals {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    margin-top: 8px;
    padding-top: 14px;
    border-top: 1px solid rgba(216, 168, 47, 0.28);
  }

  .mobile-menu-portal-label {
    color: var(--gold-2);
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

  .nav-links .mobile-menu-portal-link {
    min-height: 48px;
    justify-content: center;
    gap: 8px;
    padding: 0 12px;
    border: 1px solid rgba(216, 168, 47, 0.48);
    background: rgba(216, 168, 47, 0.12);
    color: var(--gold-2);
    text-align: center;
  }

  .mobile-menu-portal-link svg {
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .campus-community-photo img {
    transition: none;
  }

  .event-story-loading svg {
    animation: none;
  }

  .event-story-card img,
  .event-story-card-action {
    transition: none;
  }
}
[data-registration-open-only][hidden],
[data-registration-closed-only][hidden] {
  display: none !important;
}

/* Postgraduate flyer gallery */
.postgrad-flyer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 24px; }
.postgrad-flyer { display: grid; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.postgrad-flyer img { width: 100%; height: auto; display: block; }
.postgrad-flyer > span { padding: 18px; font-weight: 700; }
.postgrad-flyer small { display: block; margin-top: 8px; font-weight: 400; }
.postgrad-route-card details summary { cursor: pointer; font-weight: 700; padding: 12px 0; }
.postgrad-route-card details { margin-top: 16px; }
