:root {
  --navy: #09283A;
  --navy-deep: #061c29;
  --burgundy: #B51F2B;
  --burgundy-deep: #8f1822;
  --cream: #F8F4ED;
  --white: #FFFFFF;
  --ink: #142B3D;
  --muted: rgba(20, 43, 61, 0.68);
  --line: rgba(9, 40, 58, 0.10);
  --gold: #C4A35A;
  --nav-bp: 1180px;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 14px 40px rgba(9, 40, 58, 0.10);
  --serif: "Libre Baskerville", Georgia, "Times New Roman", serif;
  --sans: "Manrope", system-ui, sans-serif;
  --script: "Great Vibes", cursive;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
body {
  margin: 0; overflow-x: clip;
  font-family: var(--sans); color: var(--ink); background: var(--white);
  line-height: 1.55; -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
.skip-link { position: absolute; left: -999px; }
.skip-link:focus { left: 12px; top: 12px; z-index: 80; background: #fff; padding: 8px 12px; }

.bac-wrap { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.kicker {
  color: var(--burgundy); letter-spacing: 0.16em; text-transform: uppercase;
  font-size: 0.72rem; font-weight: 700; margin: 0;
}
.section-title {
  font-family: var(--serif); font-size: clamp(1.85rem, 3.2vw, 2.65rem);
  line-height: 1.2; color: var(--navy); margin: 0.35rem 0 0; font-weight: 700;
}
.section-title .script {
  font-family: var(--script); color: var(--burgundy); font-weight: 400;
  font-size: 1.15em; letter-spacing: 0;
}
.lede { color: var(--muted); margin: 0.85rem 0 0; max-width: 40rem; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem;
  padding: 0.85rem 1.35rem; border-radius: 999px; font-size: 0.88rem; font-weight: 700;
  text-decoration: none; border: 1.5px solid transparent; cursor: pointer;
  transition: background .2s ease, color .2s ease, border-color .2s ease, transform .15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-sm { padding: 0.65rem 1.05rem; font-size: 0.82rem; }

/* Header / mega / buttons — Topford-style full-width mega (navy · gold) */
.btn-gold, .btn-navy, .btn-ghost, .btn-line, .btn-crimson, .btn-ink, .btn-burgundy {
  display: inline-flex; align-items: center; justify-content: center; border-radius: 999px;
  padding: 10px 18px; font-size: .875rem; font-weight: 600; border: 1px solid transparent;
  text-decoration: none; white-space: nowrap; cursor: pointer;
}
.btn-gold, .btn-crimson {
  background: linear-gradient(180deg, #e8c96a, #c9a227); color: #071428;
  box-shadow: 0 10px 28px rgba(201, 162, 39, .28);
}
.btn-navy, .btn-ink { background: #071428; color: #fff; }
.btn-burgundy { background: #071428; color: #fff; }
.btn-ghost { background: transparent; border-color: rgba(7, 20, 40, .18); color: #071428; }
.btn-ghost:hover { border-color: rgba(201, 162, 39, .7); background: #f6ecd0; }
.btn-line { background: transparent; border-color: rgba(255, 255, 255, .35); color: #fff; }
.btn-line:hover { background: rgba(255, 255, 255, .1); }
.btn-white { background: #fff; color: #071428; }
.btn-white:hover { background: #f6ecd0; }
.bg-navy, .bg-navy-800 { background: #071428 !important; }
.text-navy { color: #071428 !important; }
.text-gold, .text-gold-300 { color: #e8c96a !important; }

.site-chrome { position: sticky; top: 0; z-index: 50; background: #071428; }
#site-header {
  overflow: visible; position: relative;
  background: rgba(255, 255, 255, .97); backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(7, 20, 40, .08);
}
/* Official BACNC stacked wordmark pattern — white lockup on deep navy/teal */
#site-header.site-header--brand {
  background: #002d39;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.header-bar {
  width: min(80rem, calc(100% - 32px));
  margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 12px 0;
}
.brand-link { display: flex; align-items: center; gap: 12px; min-width: 0; text-decoration: none; flex-shrink: 0; }
.brand-logo {
  display: block;
  width: min(210px, 48vw);
  height: auto;
  max-height: 42px;
  object-fit: contain;
  object-position: left center;
}
.site-header--brand .nav-link {
  color: rgba(255, 255, 255, .88);
}
.site-header--brand .nav-link:hover,
.site-header--brand .nav-link.is-active {
  background: rgba(255, 255, 255, .1);
  color: #fff;
}
.site-header--brand .header-icon {
  background: transparent;
  border-color: rgba(255, 255, 255, .28);
  color: #fff;
}
.site-header--brand .header-icon:hover {
  border-color: rgba(201, 162, 39, .85);
  color: #e8c96a;
}
.site-header--brand .header-actions .btn-ghost {
  border-color: rgba(255, 255, 255, .35);
  color: #fff;
}
.site-header--brand .header-actions .btn-ghost:hover {
  background: rgba(255, 255, 255, .1);
  border-color: #e8c96a;
  color: #e8c96a;
}
.brand-tag, .brand-sub {
  display: block; font-size: 11px; line-height: 1.3; color: rgba(7, 20, 40, .62); margin-top: 3px;
}
.brand-tag { letter-spacing: .12em; text-transform: uppercase; font-size: 10px; }
@media (max-width: 640px) {
  .brand-logo { width: min(168px, 52vw); max-height: 34px; }
  .header-bar { padding: 8px 0; }
}
.header-actions, .header-tools { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.header-icon {
  height: 40px; width: 40px; border-radius: 999px; border: 1px solid rgba(7, 20, 40, .12);
  display: grid; place-items: center; background: #fff; color: #143056; cursor: pointer;
}
.header-icon:hover { border-color: rgba(201, 162, 39, .7); }
.header-icon .icon-close { display: none; }
#site-header.is-open .header-icon .icon-open { display: none; }
#site-header.is-open .header-icon .icon-close { display: block; }
.nav-drawer-actions { display: none; }

button.nav-link { background: none; border: 0; font: inherit; cursor: pointer; }
.nav-link {
  padding: 8px 12px; border-radius: 999px; color: #143056; text-decoration: none;
  white-space: nowrap; font-size: 13px; font-weight: 600;
}
.nav-link:hover, .nav-link.is-active { background: #f3ead3; color: #071428; }
.nav-caret::after {
  content: ""; display: inline-block; margin-left: 6px;
  border: 4px solid transparent; border-top-color: currentColor;
  transform: translateY(2px); transition: transform .2s ease;
}
.nav-drop.is-open .nav-caret::after { transform: rotate(180deg) translateY(1px); }

.nav-drop { position: static; }
.mega-menu {
  display: none; position: absolute; left: 0; right: 0; top: 100%;
  width: 100%; background: #fff; border-top: 1px solid rgba(7, 20, 40, .08);
  box-shadow: 0 28px 60px rgba(7, 20, 40, .14); z-index: 45;
}
.mega-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.mega-inner {
  width: min(1120px, calc(100% - 32px)); margin: 0 auto; padding: 28px 0 32px;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(220px, 280px); gap: 36px; align-items: stretch;
}
.mega-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.mega-cols--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.mega-inner--wide {
  width: min(1180px, calc(100% - 32px));
  grid-template-columns: minmax(0, 1fr) minmax(220px, 280px);
}
.mega-label {
  font-size: 11px; letter-spacing: .16em; text-transform: uppercase;
  color: #c9a227; font-weight: 600; margin: 0 0 10px;
}
.mega-cols a {
  display: block; padding: 9px 10px; margin-left: -10px; border-radius: 10px;
  font-size: 14px; color: #143056; text-decoration: none;
}
.mega-cols a:hover { background: #f6ecd0; }
.mega-cta {
  background: linear-gradient(165deg, #071428 0%, #143056 70%, #1b3d68 100%);
  color: #fff; border-radius: 20px; padding: 24px 22px;
  display: flex; flex-direction: column; justify-content: center;
}
.mega-cta-kicker {
  font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: #e8c96a; margin: 0 0 8px;
}
.mega-cta h3 {
  font-family: "Cormorant Garamond", Georgia, serif; font-size: 1.45rem;
  line-height: 1.2; margin: 0 0 8px; color: #fff;
}
.mega-cta p { font-size: .86rem; color: rgba(255, 255, 255, .72); margin: 0 0 16px; }
.mega-cta .btn-gold { align-self: flex-start; }

/* —— Hero —— */
.u-hero {
  background: var(--cream); padding: clamp(2.5rem, 5vw, 4rem) 0 clamp(2rem, 4vw, 3rem);
}
.u-hero__grid {
  display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: center;
}
.u-hero__copy h1 {
  font-family: var(--serif); font-size: clamp(2.4rem, 5vw, 3.6rem); line-height: 1.12;
  color: var(--navy); margin: 0; font-weight: 700; text-wrap: balance;
}
.u-hero__copy h1 .script {
  font-family: var(--script); color: var(--burgundy); font-weight: 400; font-size: 1.2em;
}
.u-hero__copy p {
  margin: 1.15rem 0 0; color: var(--muted); font-size: 1.05rem; max-width: 28rem; line-height: 1.65;
}
.u-hero__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.75rem; }
.u-hero__media {
  position: relative; border-radius: 18px; overflow: hidden; aspect-ratio: 16/11;
  box-shadow: var(--shadow); background: var(--navy);
}
.u-hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.u-story {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  display: inline-flex; align-items: center; gap: 0.75rem;
  background: rgba(255,255,255,0.95); color: var(--navy); padding: 0.65rem 1rem 0.65rem 0.65rem;
  border-radius: 999px; text-decoration: none; font-weight: 700; font-size: 0.86rem;
  box-shadow: 0 10px 30px rgba(9, 40, 58, 0.25);
}
.u-story__play {
  width: 42px; height: 42px; border-radius: 50%; background: var(--burgundy); color: #fff;
  display: grid; place-items: center; flex-shrink: 0;
}
.u-story__play svg { width: 16px; height: 16px; margin-left: 2px; }

/* Value strip */
.u-values { background: var(--cream); border-top: 1px solid rgba(9,40,58,0.06); padding: 1.75rem 0 2.5rem; }
.u-values__grid {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem;
}
.u-value {
  text-align: center; padding: 0.5rem 0.35rem;
}
.u-value__icon {
  width: 48px; height: 48px; margin: 0 auto 0.7rem; border-radius: 50%;
  border: 1.5px solid rgba(181, 31, 43, 0.45); color: var(--burgundy);
  display: grid; place-items: center; background: rgba(255,255,255,0.65);
}
.u-value__icon svg { width: 22px; height: 22px; }
.u-value h3 {
  font-size: 0.86rem; font-weight: 700; color: var(--navy); margin: 0; line-height: 1.3;
}

/* About */
.u-about { padding: clamp(3.5rem, 7vw, 5.5rem) 0; background: var(--white); }
.u-about__grid {
  display: grid; grid-template-columns: 1.05fr 1.2fr; gap: clamp(2rem, 5vw, 3.5rem); align-items: center;
}
.u-about__media {
  position: relative; border-radius: 18px; overflow: hidden; aspect-ratio: 4/5; background: var(--navy);
}
.u-about__media img { width: 100%; height: 100%; object-fit: cover; }
.u-heritage {
  position: absolute; left: 1rem; bottom: 1rem; right: 1rem;
  background: var(--navy); color: #fff; border-radius: 12px; padding: 1rem 1.1rem;
  display: flex; gap: 0.85rem; align-items: flex-start;
  box-shadow: 0 12px 30px rgba(0,0,0,0.25);
}
.u-heritage__icon {
  width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,0.12);
  display: grid; place-items: center; flex-shrink: 0; color: #fff;
}
.u-heritage p { margin: 0; font-size: 0.82rem; line-height: 1.4; font-weight: 600; }
.u-about__copy .section-title { margin-top: 0.4rem; }
.u-about__copy .body { margin-top: 1rem; color: var(--muted); }
.u-about__copy .body p { margin: 0 0 0.85rem; }
.u-benefits {
  margin-top: 1.5rem; display: grid; gap: 0.85rem;
}
.u-benefit {
  display: flex; gap: 0.75rem; align-items: flex-start;
}
.u-benefit__icon {
  width: 34px; height: 34px; border-radius: 50%; border: 1.5px solid rgba(181,31,43,0.4);
  color: var(--burgundy); display: grid; place-items: center; flex-shrink: 0; background: var(--cream);
}
.u-benefit__icon svg { width: 16px; height: 16px; }
.u-benefit strong { display: block; font-size: 0.92rem; color: var(--navy); }
.u-benefit span { display: block; font-size: 0.82rem; color: var(--muted); margin-top: 0.1rem; }

/* Stats */
.u-stats {
  background: var(--navy); color: #fff; padding: 2.75rem 0;
}
.u-stats__grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; text-align: center;
}
.u-stat strong {
  display: block; font-family: var(--serif); font-size: clamp(1.8rem, 3vw, 2.4rem);
  line-height: 1; margin-bottom: 0.55rem;
}
.u-stat span {
  display: block; font-size: 0.82rem; color: rgba(255,255,255,0.78); line-height: 1.35;
}

/* Programmes */
.u-progs { padding: clamp(3.5rem, 7vw, 5.5rem) 0; background: var(--cream); }
.u-progs__head { text-align: center; max-width: 40rem; margin: 0 auto 2.5rem; }
.u-progs__grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.15rem;
}
.u-prog {
  background: #fff; border-radius: var(--radius); overflow: hidden;
  border: 1px solid rgba(9,40,58,0.06); box-shadow: 0 8px 24px rgba(9,40,58,0.05);
  display: flex; flex-direction: column; text-decoration: none; color: inherit;
  transition: transform .2s ease, box-shadow .2s ease;
}
.u-prog:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.u-prog__media { aspect-ratio: 16/11; overflow: hidden; }
.u-prog__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.u-prog:hover .u-prog__media img { transform: scale(1.04); }
.u-prog__body { padding: 1.15rem 1.15rem 1.35rem; flex: 1; display: flex; flex-direction: column; }
.u-prog h3 {
  font-family: var(--serif); font-size: 1.2rem; margin: 0; color: var(--navy); line-height: 1.25;
}
.u-prog p { margin: 0.55rem 0 0; color: var(--muted); font-size: 0.9rem; flex: 1; }
.u-prog__link {
  margin-top: 1rem; color: var(--burgundy); font-weight: 700; font-size: 0.88rem;
}

/* Campus life */
.u-life { padding: clamp(3.5rem, 7vw, 5.5rem) 0; background: var(--white); }
.u-life__grid {
  display: grid; grid-template-columns: 0.95fr 1.2fr; gap: clamp(1.75rem, 4vw, 3rem); align-items: center;
}
.u-life__media { position: relative; border-radius: 18px; overflow: hidden; aspect-ratio: 16/11; background: var(--navy); }
.u-life__media > img { width: 100%; height: 100%; object-fit: cover; }
.u-life__tiles {
  position: absolute; left: 0.85rem; right: 0.85rem; bottom: 0.85rem;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.55rem;
}
.u-life__tile {
  background: rgba(255,255,255,0.96); border-radius: 10px; padding: 0.7rem 0.45rem;
  text-align: center; color: var(--navy); text-decoration: none;
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}
.u-life__tile svg { width: 18px; height: 18px; color: var(--burgundy); margin: 0 auto 0.3rem; display: block; }
.u-life__tile span { display: block; font-size: 0.68rem; font-weight: 700; line-height: 1.25; }

/* Admissions banner */
.u-admit { background: var(--burgundy); color: #fff; padding: clamp(2.75rem, 5vw, 3.75rem) 0; }
.u-admit__grid {
  display: grid; grid-template-columns: 1fr 1.35fr; gap: 2rem; align-items: center;
}
.u-admit h2 {
  font-family: var(--serif); font-size: clamp(1.9rem, 3.5vw, 2.6rem); margin: 0; line-height: 1.2;
}
.u-admit p { margin: 0.75rem 0 0; color: rgba(255,255,255,0.88); max-width: 26rem; }
.u-admit__actions { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 1.4rem; }
.u-steps {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.75rem;
}
.u-step {
  text-align: center; position: relative; padding: 0.5rem 0.25rem;
}
.u-step__num {
  width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,0.55);
  display: grid; place-items: center; margin: 0 auto 0.65rem; font-weight: 700; font-size: 0.9rem;
  background: rgba(255,255,255,0.08);
}
.u-step strong { display: block; font-size: 0.86rem; line-height: 1.3; }
.u-step span { display: block; font-size: 0.72rem; color: rgba(255,255,255,0.75); margin-top: 0.25rem; }

/* Tour */
.u-tour {
  position: relative; min-height: 420px; display: grid; place-items: center;
  overflow: hidden; color: #fff;
}
.u-tour__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.u-tour__wash {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(9,40,58,0.55), rgba(9,40,58,0.35) 45%, rgba(9,40,58,0.55));
}
.u-tour__inner {
  position: relative; z-index: 1; width: min(1180px, calc(100% - 40px));
  display: grid; grid-template-columns: 1fr 340px; gap: 2rem; align-items: center; padding: 3.5rem 0;
}
.u-tour__play {
  justify-self: center; width: 86px; height: 86px; border-radius: 50%;
  background: rgba(255,255,255,0.92); color: var(--burgundy);
  display: grid; place-items: center; text-decoration: none;
  box-shadow: 0 16px 40px rgba(0,0,0,0.3);
}
.u-tour__play svg { width: 28px; height: 28px; margin-left: 3px; }
.u-tour__label {
  text-align: center; margin-top: 0.85rem; font-size: 0.8rem; letter-spacing: 0.16em;
  text-transform: uppercase; font-weight: 700; color: rgba(255,255,255,0.9);
}
.u-tour__card {
  background: #fff; color: var(--ink); border-radius: 16px; padding: 1.75rem 1.5rem;
  box-shadow: var(--shadow);
}
.u-tour__card h2 {
  font-family: var(--serif); font-size: 1.85rem; color: var(--navy); margin: 0.35rem 0 0; line-height: 1.2;
}
.u-tour__card p { margin: 0.7rem 0 0; color: var(--muted); font-size: 0.92rem; }
.u-tour__card .actions { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.25rem; }

/* News */
.u-news { padding: clamp(3.5rem, 7vw, 5.5rem) 0; background: var(--cream); }
.u-news__grid {
  display: grid; grid-template-columns: 1.55fr 0.85fr; gap: 1.5rem; margin-top: 2rem;
}
.u-news-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.u-news-card {
  background: #fff; border-radius: var(--radius); overflow: hidden;
  border: 1px solid rgba(9,40,58,0.06); display: flex; flex-direction: column;
}
.u-news-card img { width: 100%; aspect-ratio: 16/11; object-fit: cover; }
.u-news-card__body { padding: 1.05rem 1.1rem 1.25rem; flex: 1; display: flex; flex-direction: column; }
.u-news-card .date {
  display: inline-flex; align-self: flex-start; background: rgba(9,40,58,0.08); color: var(--navy);
  font-size: 0.7rem; font-weight: 700; padding: 0.3rem 0.55rem; border-radius: 6px; margin-bottom: 0.55rem;
}
.u-news-card h3 {
  font-family: var(--serif); font-size: 1.05rem; margin: 0; color: var(--navy); line-height: 1.3;
}
.u-news-card p { margin: 0.45rem 0 0; color: var(--muted); font-size: 0.86rem; flex: 1; }
.u-news-card a.more {
  margin-top: 0.85rem; color: var(--burgundy); font-weight: 700; font-size: 0.86rem; text-decoration: none;
}
.u-diary {
  background: #fff; border-radius: var(--radius); padding: 1.4rem 1.35rem;
  border: 1px solid rgba(9,40,58,0.06); height: 100%;
}
.u-diary h3 {
  font-family: var(--serif); font-size: 1.45rem; color: var(--navy); margin: 0.25rem 0 1rem;
}
.u-diary article {
  display: grid; grid-template-columns: 52px 1fr; gap: 0.75rem; padding: 0.85rem 0;
  border-bottom: 1px solid var(--line); align-items: start;
}
.u-diary article:last-of-type { border-bottom: 0; }
.u-diary__day {
  background: var(--cream); border-radius: 10px; text-align: center; padding: 0.45rem 0.2rem;
  color: var(--burgundy); font-weight: 800; line-height: 1.15;
}
.u-diary__day small { display: block; font-size: 0.65rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.u-diary h4 { margin: 0; font-size: 0.95rem; color: var(--navy); }
.u-diary p { margin: 0.2rem 0 0; font-size: 0.8rem; color: var(--muted); }

/* Final CTA */
.u-cta {
  background: var(--burgundy); color: #fff; text-align: center;
  padding: clamp(2.75rem, 5vw, 3.75rem) 1rem;
}
.u-cta h2 {
  font-family: var(--serif); font-size: clamp(1.9rem, 3.5vw, 2.7rem); margin: 0; text-wrap: balance;
}
.u-cta p { margin: 0.85rem auto 0; max-width: 34rem; color: rgba(255,255,255,0.9); }
.u-cta__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: center; margin-top: 1.5rem; }

/* Certificate verify */
.u-verify-wrap { background: var(--cream); padding: 0 0 3rem; }
.u-verify {
  width: min(720px, calc(100% - 40px)); margin: -1.75rem auto 0; position: relative; z-index: 2;
  background: #fff; border-radius: 16px; padding: 1.6rem 1.5rem; text-align: center;
  box-shadow: var(--shadow); border: 1px solid rgba(9,40,58,0.06);
}
.u-verify form { margin-top: 1rem; display: flex; flex-wrap: wrap; gap: 0.65rem; justify-content: center; }
.u-verify input {
  flex: 1 1 240px; border: 1px solid var(--line); border-radius: 999px; padding: 0.85rem 1.1rem;
  font: inherit; color: var(--ink);
}

/* Footer */
.site-footer { background: var(--navy-deep); color: rgba(255,255,255,0.78); }
.site-footer a { color: rgba(255,255,255,0.78); text-decoration: none; }
.site-footer a:hover { color: #fff; }
.site-footer__grid {
  width: min(1180px, calc(100% - 40px)); margin: 0 auto;
  display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.15fr; gap: 2rem;
  padding: 3.5rem 0 2.75rem;
}
.site-footer__brand { display: flex; gap: 0.85rem; align-items: center; margin-bottom: 1rem; }
.site-footer__brand img {
  width: 48px; height: 48px; border-radius: 50%; object-fit: cover; border: 2px solid var(--burgundy);
}
.site-footer__brand strong {
  display: block; font-family: var(--serif); font-size: 1.2rem; color: #fff; line-height: 1.2;
}
.site-footer h4 {
  margin: 0 0 1rem; font-size: 0.75rem; letter-spacing: 0.16em; text-transform: uppercase; color: #fff;
}
.site-footer .links { display: grid; gap: 0.55rem; font-size: 0.9rem; }
.site-footer .contact p { margin: 0 0 0.55rem; font-size: 0.9rem; line-height: 1.45; }
.site-footer .contact .actions { display: flex; flex-wrap: wrap; gap: 0.55rem; margin-top: 1rem; }
.site-footer__social { display: flex; gap: 0.55rem; margin-top: 1.15rem; }
.site-footer__social a {
  width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.2);
  display: grid; place-items: center; color: #fff;
}
.site-footer__social a:hover { background: var(--burgundy); border-color: var(--burgundy); }
.site-footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
}
.site-footer__bottom-inner {
  width: min(1180px, calc(100% - 40px)); margin: 0 auto;
  display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: space-between;
  padding: 1rem 0; font-size: 0.78rem; color: rgba(255,255,255,0.55);
}
.site-footer__bottom-inner nav { display: flex; flex-wrap: wrap; gap: 1rem; }

/* Search modal */
#search-modal .panel {
  background: #fff; border-radius: 16px; padding: 1.25rem; box-shadow: var(--shadow);
}

/* Phone / tablet: accordion drawer with the same mega + CTA */
@media (max-width: 1199px) {
  .header-actions { display: none; }
  .brand-tag, .brand-sub { display: none; }
  .header-tools { display: flex; }
  #site-nav {
    display: none;
    position: absolute; left: 0; right: 0; top: 100%;
    background: #fff; border-top: 1px solid rgba(7, 20, 40, .08);
    box-shadow: 0 24px 50px rgba(7, 20, 40, .12);
    max-height: min(78vh, 760px); overflow-y: auto; -webkit-overflow-scrolling: touch;
    padding: 8px 16px 20px; z-index: 46; flex-direction: column; align-items: stretch; gap: 2px;
  }
  #site-header.is-open #site-nav { display: flex; }
  body.nav-open { overflow: hidden; }
  .nav-drop { width: 100%; }
  /* Mobile drawer is light — restore readable navy links even when header is dark */
  .site-header--brand #site-nav .nav-link {
    color: #143056;
  }
  .site-header--brand #site-nav .nav-link:hover,
  .site-header--brand #site-nav .nav-link.is-active {
    background: #f3ead3;
    color: #071428;
  }
  .nav-link { display: block; width: 100%; text-align: left; border-radius: 10px; padding: 12px; white-space: normal; }
  .mega-menu {
    position: static; width: auto; box-shadow: none; border: 0; background: #f7f4ec;
    border-radius: 16px; margin: 0 0 8px;
  }
  .mega-menu::before { display: none; }
  .nav-drop.is-open .mega-menu { display: block; }
  .mega-inner { width: 100%; padding: 14px 14px 16px; grid-template-columns: 1fr; gap: 16px; }
  .mega-cols, .mega-cols--3 { grid-template-columns: 1fr 1fr; gap: 8px 16px; }
  .mega-inner--wide { width: 100%; grid-template-columns: 1fr; }
  .mega-cta { padding: 18px 16px; border-radius: 14px; }
  .mega-cta h3 { font-size: 1.2rem; }
  .nav-drawer-actions { display: flex; gap: 8px; flex-wrap: wrap; padding: 12px 4px 4px; }
  .nav-drawer-actions .btn-gold,
  .nav-drawer-actions .btn-ghost,
  .nav-drawer-actions .btn-navy { flex: 1 1 140px; }
}

/* Desktop: full-width auto-stretch mega, CTA on the right */
@media (min-width: 1200px) {
  .header-tools { display: none; }
  #site-nav {
    display: flex; align-items: center; justify-content: center; flex: 1; min-width: 0; gap: 2px;
    position: static; background: transparent; border: 0; box-shadow: none;
    max-height: none; overflow: visible; padding: 0;
  }
  .nav-drop:hover .mega-menu,
  .nav-drop:focus-within .mega-menu { display: block; }
}
@media (min-width: 1200px) and (max-width: 1360px) {
  .nav-link { padding: 8px 8px; }
  .brand-tag, .brand-sub { display: none; }
  .mega-inner { grid-template-columns: minmax(0, 1fr) 240px; gap: 24px; }
}
@media (min-width: 1200px) and (hover: none) {
  .nav-drop:hover .mega-menu { display: none; }
  .nav-drop:focus-within .mega-menu,
  .nav-drop.is-open .mega-menu { display: block; }
}

@media (max-width: 980px) {
  .u-hero__grid, .u-about__grid, .u-life__grid, .u-admit__grid, .u-tour__inner, .u-news__grid {
    grid-template-columns: 1fr;
  }
  .u-values__grid { grid-template-columns: repeat(3, 1fr); }
  .u-stats__grid { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
  .u-progs__grid, .u-news-cards { grid-template-columns: 1fr 1fr; }
  .u-steps { grid-template-columns: 1fr 1fr; gap: 1rem; }
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
  .u-life__tiles { grid-template-columns: repeat(2, 1fr); }
  .u-tour__play { margin: 0 auto; }
}

@media (max-width: 640px) {
  .bac-wrap, .header-bar, .u-tour__inner, .site-footer__grid, .site-footer__bottom-inner {
    width: calc(100% - 28px);
  }
  .u-values__grid, .u-progs__grid, .u-news-cards, .u-stats__grid, .mega-cols, .site-footer__grid {
    grid-template-columns: 1fr;
  }
  .u-hero__actions .btn, .u-cta__actions .btn, .u-admit__actions .btn { flex: 1 1 100%; }
  .brand-text span { display: none; }
  .u-about__media { aspect-ratio: 16/12; }
}

/* Campus map (below alumni / community) */
.campus-map-card {
  background: #fff;
  border-radius: 1.5rem;
  overflow: hidden;
  border: 1px solid rgba(7, 20, 40, .08);
  box-shadow: 0 18px 50px rgba(7, 20, 40, .08);
}
.campus-map-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 21 / 9;
  min-height: 280px;
  background: #e8eef3;
}
.campus-map-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
.campus-map-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 1.35rem 1.5rem 1.5rem;
}
.campus-map-label {
  margin: 0;
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #c9a227;
  font-weight: 600;
}
.campus-map-address {
  margin: .35rem 0 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.25rem, 2.4vw, 1.65rem);
  line-height: 1.25;
  color: #071428;
}
.campus-map-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .65rem;
  position: relative;
}
.campus-copy-status {
  width: 100%;
  margin: 0;
  font-size: .8rem;
  color: #0f7a45;
  font-weight: 600;
}
@media (max-width: 768px) {
  .campus-map-frame { aspect-ratio: 4 / 3; min-height: 240px; }
  .campus-map-actions .btn-gold,
  .campus-map-actions .btn-navy { flex: 1 1 140px; }
}

/* Hero YouTube — full sharp video; light text scrim only (no heavy navy wash) */
.hero-bg-poster { z-index: 0; }
.hero-bg-video {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
  opacity: 1;
  background: #0b1f3a;
  filter: none;
}
.hero-bg-video__frame {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100vw;
  height: 56.25vw;
  min-height: 100%;
  min-width: 177.78vh;
  border: 0;
  transform: translate(-50%, -50%);
  pointer-events: none;
  filter: none;
  opacity: 1;
}
.hero-bg-wash,
.hero-has-bg-video .hero-pattern { z-index: 2; }

/* Default (no video / poster only): keep classic navy washes via utility classes elsewhere */
.hero-bg-wash--side {
  background: linear-gradient(90deg, rgba(11, 31, 58, 0.85) 0%, rgba(11, 31, 58, 0.45) 45%, rgba(11, 31, 58, 0.2) 100%);
}
.hero-bg-wash--base {
  background: linear-gradient(to top, rgba(11, 31, 58, 0.55) 0%, transparent 45%, rgba(11, 31, 58, 0.18) 100%);
}

/* With video: almost no tint — video stays fully sharp; soft left edge for copy only */
.hero-has-bg-video .hero-bg-wash--side {
  background: linear-gradient(90deg, rgba(11, 31, 58, 0.42) 0%, rgba(11, 31, 58, 0.12) 38%, transparent 68%);
}
.hero-has-bg-video .hero-bg-wash--base {
  background: linear-gradient(to top, rgba(11, 31, 58, 0.22) 0%, transparent 38%);
}
.hero-has-bg-video .hero-pattern {
  opacity: 0 !important;
}
.hero-has-bg-video .hero-copy {
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.45), 0 8px 24px rgba(0, 0, 0, 0.35);
}
@media (prefers-reduced-motion: reduce) {
  .hero-bg-video { display: none; }
  .hero-has-bg-video .hero-bg-wash--side {
    background: linear-gradient(90deg, rgba(11, 31, 58, 0.85) 0%, rgba(11, 31, 58, 0.45) 45%, rgba(11, 31, 58, 0.2) 100%);
  }
  .hero-has-bg-video .hero-bg-wash--base {
    background: linear-gradient(to top, rgba(11, 31, 58, 0.55) 0%, transparent 45%, rgba(11, 31, 58, 0.18) 100%);
  }
  .hero-has-bg-video .hero-pattern { opacity: 0.1 !important; }
}
