/* =========================================================
   MICA — Admissions 2027 landing page
   Desktop reference: 1920px frame, 1440px content column.
   ========================================================= */

/* ---------- Fonts ----------
   Headings: Gottak SemiBold by Atipo Foundry (https://www.atipofoundry.com/fonts/gottak),
   self-hosted from assets/fonts/ under Atipo's webfont license (one website).
   Kumbh Sans is only a fallback while the webfont loads or if it fails.
   Content: Poppins (Google Fonts). */
@font-face {
  font-family: "Gottak";
  src: url("../fonts/Gottak-SemiBold.woff2") format("woff2"),
       url("../fonts/Gottak-SemiBold.woff") format("woff");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

:root {
  --font-heading: "Gottak", "Kumbh Sans", "Poppins", system-ui, sans-serif;
  --font-body: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* brand */
  --red: #B61D22;
  --red-bright: #CB1E1C;
  --red-hl: #DB272D;
  --red-deep: #981C20;
  --maroon: #7E1E21;
  --maroon-hover: #621417;
  --gold: #C59B27;
  --arrow-red: #BF3525;

  /* neutrals */
  --ink: #404040;
  --ink-strong: #1A1A1E;
  --ink-brown: #1E100A;
  --gray-600: #525252;
  --gray-400: #A3A3A3;
  --gray-300: #B7B7B7;
  --gray-200: #E5E5E5;
  --line: #D2C9BE;
  --cream: #FCF7F4;
  --muted: #F5F5F5;
  --field: #FCFCFC;
  --dark: #222222;
  --footer-dark: #262626;
  --peach: #FFEDD5;
  --caption: #5E6357;

  /* layout */
  --container: 1440px;
  --gutter: clamp(16px, 3.2vw, 48px);
  --section-y: clamp(56px, 7vw, 100px);
  --radius: 16px;

  /* type scale (desktop values are the design's) */
  --fs-h1: clamp(2rem, 1.25rem + 2.1vw, 3rem);        /* 32 → 48 */
  --fs-h2: clamp(1.75rem, 1.3rem + 1.2vw, 2.375rem);  /* 28 → 38 */
  --fs-h3: clamp(1.25rem, 1.05rem + 0.55vw, 1.5rem);  /* 20 → 24 */
  --fs-body: clamp(1rem, 0.95rem + 0.2vw, 1.125rem);  /* 16 → 18 */
  --fs-stat: clamp(2.5rem, 1.6rem + 2.3vw, 3.5rem);   /* 40 → 56 */
  --fs-stat-label: clamp(1rem, 0.8rem + 0.6vw, 1.5rem); /* 16 → 24 */
  --fs-placement: clamp(1.625rem, 1.2rem + 1.1vw, 2.375rem); /* 26 → 38 */
}

/* ---------- Base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.5;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, p, figure, blockquote, dl, dd { margin: 0; }
img, svg { display: block; }
img { max-width: 100%; height: auto; }
a { color: inherit; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }

:focus-visible {
  outline: 2px solid var(--ink-strong);
  outline-offset: 3px;
}
.site-header :focus-visible,
.enquiry-intro :focus-visible,
.placements :focus-visible,
.site-footer :focus-visible { outline-color: #fff; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 100;
  padding: 12px 20px;
  background: var(--ink-strong);
  color: #fff;
  text-decoration: none;
  font-weight: 500;
}
.skip-link:focus { top: 16px; }

.container {
  width: min(100% - 2 * var(--gutter), var(--container));
  margin-inline: auto;
}

.center { text-align: center; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 54px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 0;
  font: 500 16px/1.2 var(--font-body);
  text-decoration: none;
  white-space: nowrap;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.btn-primary { background: var(--maroon); color: #fff; }
.btn-primary:hover { background: var(--maroon-hover); }
.btn-outline { border-color: var(--maroon); color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--maroon); color: #fff; }
.btn-dark { background: var(--dark); color: #fff; }
.btn-dark:hover { background: #000; }
.btn-block { width: 100%; }
.btn-wide { min-width: min(424px, 100%); }
.btn-arrow {
  width: 20px;
  height: 13px;
  fill: var(--maroon);
  transition: transform .2s ease, fill .2s ease;
}
.btn-outline:hover .btn-arrow { fill: #fff; transform: translateX(3px); }

/* ---------- Shared headings ---------- */
.section-title {
  font: 600 var(--fs-h2)/1.4 var(--font-heading);
  color: var(--ink);
  text-align: center;
  text-wrap: balance;
}
.section-title--dark { color: var(--ink-strong); }
.accent-maroon { color: var(--maroon); }
.accent-red { color: var(--red-bright); }

.section-lead {
  max-width: 720px;
  margin: 24px auto 0;
  text-align: center;
}
.section-sub { margin-top: 24px; text-align: center; }

.eyebrow { margin-bottom: 25px; }
.eyebrow--dark { margin-bottom: 16px; color: var(--ink); }
.eyebrow--center { margin-bottom: 12px; text-align: center; }

/* =========================================================
   HEADER
   ========================================================= */
.site-header {
  position: relative;
  z-index: 50;
  background: var(--red);
  color: #fff;
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 42px;
  min-height: 200px;
  padding: 30px 20px 45px;
}
.brand { flex: none; line-height: 0; }
.brand-logo { width: 87px; height: 98px; fill: #fff; }

.site-nav { flex: 1; min-width: 0; }

.nav-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 60px;
  padding: 0 0 12px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}
.utility-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 42px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 14px;
  line-height: 21px;
}
.utility-links a,
.dropdown a { text-decoration: none; }
.utility-links a:hover { text-decoration: underline; text-underline-offset: 5px; }

.nav-top-actions { display: flex; align-items: center; gap: 27px; flex: none; }
.icon-link { display: grid; place-items: center; width: 32px; height: 32px; color: #FAFAFA; }
.icon-link svg { width: 21px; height: 21px; }
.btn-header { width: 160px; min-height: 47px; padding: 0 16px; }

.main-menu {
  display: flex;
  align-items: center;
  gap: 46px;
  margin: 0;
  padding: 29px 0 0 20px;
  list-style: none;
}
.menu-item { position: relative; }
.menu-trigger {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 0;
  border: 0;
  background: none;
  color: #fff;
  font-size: 14px;
  line-height: 18px;
  text-align: left;
}
.caret {
  flex: none;
  width: 10px;
  height: 6px;
  fill: currentColor;
  transition: transform .2s ease;
}
.menu-trigger[aria-expanded="true"] .caret { transform: rotate(180deg); }

.dropdown {
  position: absolute;
  top: calc(100% + 16px);
  left: -18px;
  z-index: 60;
  min-width: 230px;
  margin: 0;
  padding: 10px 0;
  list-style: none;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 16px 40px rgba(26, 26, 30, .16);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
}
.dropdown::before { /* hover bridge between trigger and panel */
  content: "";
  position: absolute;
  left: 0; right: 0;
  top: -16px;
  height: 16px;
}
.dropdown--end { left: auto; right: -18px; }
.dropdown a {
  display: block;
  padding: 10px 20px;
  color: var(--ink);
  font-size: 14px;
}
.dropdown a:hover,
.dropdown a:focus-visible { background: var(--cream); color: var(--red-deep); }
.menu-trigger[aria-expanded="true"] + .dropdown {
  opacity: 1;
  visibility: visible;
  transform: none;
}
@media (hover: hover) and (min-width: 1181px) {
  .menu-item:hover > .dropdown { opacity: 1; visibility: visible; transform: none; }
  .menu-item:hover .caret { transform: rotate(180deg); }
}
@media (min-width: 1181px) {
  .site-header .dropdown a:focus-visible { outline-color: var(--ink-strong); outline-offset: -3px; }
}

.header-actions-mobile { display: none; }

/* =========================================================
   HERO
   ========================================================= */
.hero { padding-top: 100px; }
.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 700fr) minmax(0, 710fr);
  column-gap: 30px;
  align-items: center;
}
.hero-eyebrow {
  margin-bottom: 15px;
  color: var(--gold);
  line-height: 27px;
}
.hero-title {
  font: 600 var(--fs-h1)/1.4 var(--font-heading);
  color: var(--ink);
}
.hero-title .hl { color: var(--red-hl); }
.hero-intake { margin-top: 26px; font-size: 20px; line-height: 30px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 27px; }
.hero .btn { min-width: 223px; }

.hero-visual {
  position: relative;
  aspect-ratio: 710 / 568;
  container-type: inline-size;
}
.hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* notched frame from the design: cut-outs hold the stat card and the badge */
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 710 568' preserveAspectRatio='none'%3E%3Cpath d='M0 180.75C0 163.06 14.35 148.73 32.04 148.75L210.96 148.95C228.65 148.97 243 134.64 243 116.95V32C243 14.33 257.33 0 275 0H678C695.67 0 710 14.33 710 32V361C710 378.67 695.67 393 678 393H498.5C480.83 393 466.5 407.33 466.5 425V536C466.5 553.67 452.17 568 434.5 568H32C14.33 568 0 553.67 0 536V180.75Z'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 710 568' preserveAspectRatio='none'%3E%3Cpath d='M0 180.75C0 163.06 14.35 148.73 32.04 148.75L210.96 148.95C228.65 148.97 243 134.64 243 116.95V32C243 14.33 257.33 0 275 0H678C695.67 0 710 14.33 710 32V361C710 378.67 695.67 393 678 393H498.5C480.83 393 466.5 407.33 466.5 425V536C466.5 553.67 452.17 568 434.5 568H32C14.33 568 0 553.67 0 536V180.75Z'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
}

/* All sizes below are the design's px values expressed against the 710px frame (1cqw = 7.1px). */
.hero-stat {
  position: absolute;
  left: 3.58%;
  top: 4.75%;
  min-width: 26.84%;
  min-height: 16.35%;
  display: flex;
  align-items: center;
  gap: max(1.9cqw, 6px);
  padding: max(1.2cqw, 8px) max(2.4cqw, 10px) max(1.2cqw, 8px) max(2.4cqw, 8px);
  background: #fff;
  border-radius: max(0.99cqw, 6px);
  box-shadow: 0 1.13cqw 4.2cqw rgba(32, 43, 29, .08);
}
/* max() keeps the card readable when the frame shrinks on phones */
.hero-stat-icon { flex: none; width: max(2.48cqw, 10px); height: max(2.48cqw, 10px); fill: var(--arrow-red); }
.hero-stat-body { display: flex; flex-direction: column; }
.hero-stat-value {
  font: 600 max(4.5cqw, 18px)/1.1 var(--font-body);
  color: var(--ink);
  white-space: nowrap;
}
.hero-stat-value small { margin-left: .2cqw; font-size: max(1.97cqw, 10px); font-weight: 400; }
.hero-stat-label { margin-top: .7cqw; font-size: max(1.41cqw, 9px); line-height: 1.3; color: var(--caption); white-space: nowrap; }

.hero-badge {
  position: absolute;
  left: 66.76%;
  top: 71.65%;
  width: 33.22%;
  height: 28.29%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.55cqw;
  background: var(--red-deep);
  border: .85cqw solid #fff;
  border-radius: 3.94cqw;
  color: #fff;
  font: 600 4.08cqw/1.15 var(--font-heading);
  letter-spacing: .06em;
}
.hero-badge svg { width: 3.25cqw; height: 3.25cqw; fill: currentColor; }

/* =========================================================
   RECRUITERS
   ========================================================= */
.recruiters { padding: 100px 0 var(--section-y); }

.logo-marquee {
  margin-top: 22px;
  overflow: hidden;
}
.logo-track {
  display: flex;
  gap: 30px;
  width: max-content;
  margin: 0;
  padding: 0;
  list-style: none;
  animation: marquee 68s linear infinite;
}
.logo-marquee:hover .logo-track,
.logo-marquee:focus-within .logo-track { animation-play-state: paused; }
@keyframes marquee {
  to { transform: translateX(calc(-50% - 15px)); }
}
.logo-card {
  flex: none;
  display: grid;
  place-items: center;
  width: 222px;
  height: 120px;
  background: #fff;
  border-radius: 8px;
  border-bottom: 2px solid var(--red);
}
.recruiters .center { margin-top: 24px; }

/* =========================================================
   ENQUIRY
   ========================================================= */
.enquiry {
  padding: 100px 0;
  background: var(--red);
}
.enquiry-grid {
  display: grid;
  grid-template-columns: minmax(0, 709fr) minmax(0, 693fr);
  grid-template-rows: auto minmax(0, 1fr);
  grid-template-areas:
    "intro form"
    "photo form";
  column-gap: 38px;
}
.enquiry-intro {
  grid-area: intro;
  padding-top: 48px;
  color: #fff;
}
.enquiry-title {
  margin-bottom: 24px;
  font: 600 var(--fs-h2)/1.4 var(--font-heading);
}
.enquiry-photo {
  grid-area: photo;
  position: relative;
  min-height: 320px;
  margin-top: 25px;
  overflow: hidden;
  border-radius: var(--radius);
}
.enquiry-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.enquiry-form {
  grid-area: form;
  display: flex;
  flex-direction: column;
  gap: 27px;
  padding: 32px 30px 30px;
  background: #fff;
  border-radius: var(--radius);
  color: var(--ink);
}
.enquiry-widget { justify-content: flex-start; }
.npf_wgts { width: 100%; }
.npf_wgts iframe { display: block; width: 100% !important; border: 0; }

/* =========================================================
   RECOGNITION + STATS
   ========================================================= */
.recognition { padding: 100px 0 113px; background: #fff; }
.recognition-kicker {
  margin-top: 16px;
  font-size: var(--fs-body);
  font-weight: 400;
  line-height: 1.5;
  text-align: center;
}

.acc-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line); /* shows through the 1px gaps as dividers */
}
.acc-cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 171px;
  padding: 12px 16px;
  background: #fff;
  text-align: center;
}
.acc-logo { display: flex; align-items: center; justify-content: center; height: 110px; }
.acc-label { line-height: 27px; }
.recognition-note { margin-top: 32px; text-align: center; }

.stats-title { margin-top: 100px; }
.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px 16px;
  margin: 17px 0 0;
  padding: 0;
  list-style: none;
  text-align: center;
}
.stat-value {
  display: block;
  font: 600 var(--fs-stat)/1.2 var(--font-heading);
  letter-spacing: -0.04em;
  color: var(--red-bright);
}
.stat-label {
  display: block;
  margin-top: 5px;
  font-size: var(--fs-stat-label);
  line-height: 1.4;
  color: rgba(64, 64, 64, .7);
}

/* =========================================================
   PLACEMENTS
   ========================================================= */
.placements { padding: 54px 0 50px; background: var(--red); color: #fff; }
.placements-grid {
  display: grid;
  grid-template-columns: minmax(0, 693fr) minmax(0, 699fr);
  column-gap: 48px;
  align-items: center;
}
.placements-title {
  font: 600 var(--fs-h2)/1.4 var(--font-heading);
}
.placements-eyebrow {
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .8);
}
.placements-copy p:not(.placements-eyebrow) { max-width: 640px; margin-top: 21px; }
.placements-copy .btn { margin-top: 24px; }
.btn-light { background: #fff; color: var(--maroon); }
.btn-light:hover { background: var(--cream); color: var(--maroon-hover); }
.placements-photo {
  width: 100%;
  aspect-ratio: 693 / 295;
  margin-top: 28px;
  object-fit: cover;
  border-radius: var(--radius);
}

.placement-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin: 0;
  padding: 0;
  list-style: none;
}
.placement-stats li {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-inline: 16px;
  text-align: center;
}
.placement-stats li:nth-child(odd) { border-right: 1px solid #fff; }
.placement-stats li:nth-child(-n+2) { padding-bottom: 35px; border-bottom: 1px solid #fff; }
.placement-stats li:nth-child(n+3) { padding-top: 40px; }
.placement-icon { width: calc(var(--w, 80) * 1px); height: 80px; fill: #fff; }
.placement-value {
  margin-top: 14px;
  font-size: var(--fs-placement);
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
}
.placement-label { margin-top: 24px; line-height: 27px; }

/* =========================================================
   PROGRAMMES
   ========================================================= */
.programmes { padding: 100px 0; background: var(--cream); }
.programme-tabs {
  display: grid;
  grid-template-columns: 340px minmax(0, 1fr);
  align-items: start;
  margin-top: 28px;
}
.tab-list { display: flex; flex-direction: column; gap: 8px; }
.tab {
  display: flex;
  align-items: center;
  height: 65px;
  padding: 0 24px;
  border: 0;
  background: var(--cream);
  color: var(--ink);
  font-size: 18px;
  font-weight: 600;
  text-align: left;
  white-space: nowrap;
  transition: background-color .2s ease, color .2s ease, box-shadow .2s ease;
}
.tab:hover {
  background: #fff;
  color: var(--red-deep);
  box-shadow: inset 4px 0 0 var(--maroon), 0 1px 2px rgba(0, 0, 0, .05);
}
.tab[aria-selected="true"] {
  background: var(--red-bright);
  color: #fff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .05);
}
.tab-panels { min-height: 681px; background: #fff; }
.tab-panel { padding: 30px; }
.tab-panel:focus-visible { outline-offset: -4px; }
.chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 50px;
  height: 26px;
  padding: 0 10px;
  border-radius: 13px;
  background: var(--peach);
  font-size: 10px;
  line-height: 1;
}
.programme-name {
  margin-top: 20px;
  font: 600 var(--fs-h3)/1.4 var(--font-heading);
  color: var(--ink);
}
.programme-facts { display: grid; gap: 24px; margin-top: 26px; }
.programme-facts > div { display: grid; grid-template-columns: 270px minmax(0, 1fr); }
.programme-facts dt { font-size: 17px; font-weight: 600; line-height: 27px; color: var(--gray-600); }
.programme-facts dd { line-height: 27px; }
.tab-panel .btn { margin-top: 37px; }
.programme-pending { max-width: 640px; margin-top: 26px; line-height: 27px; }

/* =========================================================
   CAMPUS LIFE
   ========================================================= */
.campus-life { padding: 100px 0; background: #fff; }
.campus-top {
  display: grid;
  grid-template-columns: minmax(0, 567fr) minmax(0, 833fr);
  column-gap: 40px;
  align-items: center;
}
.campus-copy { max-width: 580px; }
.campus-copy p { max-width: 480px; }
.campus-title {
  font: 600 var(--fs-h2)/1.4 var(--font-heading);
  color: var(--ink-strong);
}
.campus-title + p { margin-top: 24px; line-height: 27px; }
.campus-tagline {
  margin-top: 24px;
  font: 600 20px/1.4 var(--font-heading);
  color: var(--red-bright);
}
.media {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius);
}
.media--lg { aspect-ratio: 833 / 440; }
.media-row {
  display: grid;
  grid-template-columns: 467fr 588fr 346fr;
  gap: 20px;
  margin-top: 24px;
}
.media-row .media { height: clamp(200px, 24.3vw, 350px); }

/* =========================================================
   ADMISSION STEPS
   ========================================================= */
.steps-section { padding: 100px 0; background: #fff; }
.steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}
.step { position: relative; }
.step-marker {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 74px;
  height: 84px;
}
.step-num {
  flex: none;
  display: grid;
  place-items: center;
  width: 73px;
  height: 73px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  font: 600 32px/1 var(--font-heading);
  font-variant-numeric: tabular-nums;
}
.step.is-current .step-num {
  width: 84px;
  height: 84px;
  border: 5px solid var(--ink);
}
.step:not(.is-done):not(.is-current) .step-num {
  background: rgba(64, 64, 64, .1);
  color: rgba(64, 64, 64, .3);
}
.step-link {
  position: absolute;
  top: 42px;
  left: 96px;
  right: 22px;
  height: 2px;
  color: var(--red-bright);
  background: repeating-linear-gradient(90deg, currentColor 0 4px, transparent 4px 8px);
  transform: translateY(-50%);
}
.step-link svg {
  position: absolute;
  top: 50%;
  right: -1px;
  width: 9px;
  height: 15px;
  transform: translateY(-50%);
}
.step.is-current .step-link,
.step:not(.is-done):not(.is-current) .step-link { color: rgba(64, 64, 64, .2); }
.step-label {
  margin-top: 7px;
  padding-right: 12px;
  font: 600 var(--fs-h3)/1.4 var(--font-heading);
  color: var(--red-bright);
}
.step:not(.is-done):not(.is-current) .step-label { color: rgba(64, 64, 64, .4); }
.steps-section .center { margin-top: 23px; }

/* =========================================================
   CULTURE
   ========================================================= */
.culture { padding: 100px 0; background: var(--cream); }
.culture-grid { display: grid; gap: 20px; }
.culture-grid--2 { grid-template-columns: 1fr 1fr; margin-top: 12px; }
.culture-grid--3 { grid-template-columns: 467fr 588fr 346fr; margin-top: 24px; }
.culture-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: var(--radius);
  background: #000;
}
.culture-grid--2 .culture-card { aspect-ratio: 711 / 440; }
.culture-grid--3 .culture-card { height: clamp(220px, 24.3vw, 350px); }
.culture-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}
.culture-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 50%, #000 87%);
  pointer-events: none;
}
.culture-card figcaption {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 27px;
  z-index: 2;
  color: #fff;
  font: 600 var(--fs-h3)/1.4 var(--font-heading);
}
@media (hover: hover) {
  .culture-card:hover img { transform: scale(1.04); }
}

/* =========================================================
   TESTIMONIALS
   ========================================================= */
.testimonials { padding: 59px 0 80px; background: var(--muted); }
.testimonial-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 26px;
}
.testimonial {
  padding: 20px 20px 24px;
  border-radius: 8px;
  background: #fff;
}
.testimonial-photo { width: 120px; height: 120px; object-fit: cover; }
.testimonial-body {
  display: grid;
  grid-template-columns: 33.5px minmax(0, 1fr);
  column-gap: 20.5px;
  margin-top: 20px;
}
.testimonial-quote { width: 33.5px; height: 27.25px; fill: var(--red-deep); }
.testimonial blockquote p {
  font-size: 16px;
  line-height: 25px;
  color: var(--gray-600);
}
.testimonial-cite { margin-top: 20px; }
.testimonial-name {
  display: block;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.testimonial-role {
  display: block;
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.4;
  color: var(--gray-600);
}

/* =========================================================
   FAQ
   ========================================================= */
.faq { padding: 93px 0 100px; background: var(--cream); }
.faq-panel {
  padding: 32px 30px 31px;
  border-radius: var(--radius);
  background: #fff;
}
.faq-list { margin-top: 22px; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q { font: inherit; }
.faq-q button {
  display: flex;
  align-items: center;
  gap: .25em;
  width: 100%;
  padding: 22px 5px 22px 0;
  border: 0;
  background: none;
  text-align: left;
  font: 600 var(--fs-h3)/1.4 var(--font-heading);
  color: var(--ink-brown);
}
.faq-q button:hover .faq-text { color: var(--red-deep); }
.faq-num {
  flex: 0 0 1.21em; /* widest number (29px at 24px) so questions line up, as in the design */
  color: var(--red-bright);
}
.faq-text { transition: color .15s ease; }
.faq-chevron {
  flex: none;
  width: 12px;
  height: 7px;
  margin-left: auto;
  color: var(--ink-brown);
  transition: transform .25s ease;
}
.faq-q button[aria-expanded="true"] .faq-chevron { transform: rotate(180deg); }
.faq-a { padding: 0 0 30px calc(var(--fs-h3) * 1.46); }
.faq-a p { font-size: 16px; line-height: 24px; color: var(--gray-600); }

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer { color: var(--gray-200); }
.footer-notice {
  padding: 24px 0;
  background: var(--footer-dark);
  color: #fff;
  font-size: 12px;
  line-height: 18px;
}
.footer-main { padding: 40px 0; background: var(--ink); }
.footer-grid {
  display: grid;
  grid-template-columns: 263fr 382fr 314fr 250fr 221fr;
  gap: 32px 0;
  padding-left: 10px;
}
.footer-logo { width: 87px; height: 98px; margin: 6px 0 0 10px; fill: #fff; opacity: .9; }
.footer-brand address {
  margin-top: 31px;
  font-size: 14px;
  font-style: normal;
  line-height: 1.35;
}
.footer-heading {
  margin-bottom: 21px;
  font-size: 15px;
  font-weight: 600;
  line-height: 21px;
  color: var(--gray-400);
}
.footer-col ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 14px;
  line-height: 21px;
}
.footer-legal { font-size: 15px; line-height: 21px; }
.footer-col a,
.footer-legal a {
  color: var(--gray-200);
  font-size: 14px;
  line-height: 21px;
  text-decoration: none;
}
.footer-col a:hover,
.footer-legal a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }

.footer-bottom { padding: 40px 0; background: var(--footer-dark); }
.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-legal { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 28px; }
.footer-legal p { font-size: 13px; color: #fff; }
.footer-legal ul { display: flex; flex-wrap: wrap; gap: 12px 28px; margin: 0; padding: 0; list-style: none; }
.footer-legal a { font-size: 15px; }
.social { display: flex; gap: 16px; margin: 0; padding: 0; list-style: none; }
.social a {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--gray-300);
  color: #000;
  transition: background-color .2s ease;
}
.social a:hover { background: #fff; }
.social svg { width: 30px; height: 30px; fill: currentColor; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1440px) {
  .utility-links { column-gap: 30px; }
  .main-menu { gap: 34px; }
}

/* ---- Compact header: hamburger ---- */
@media (max-width: 1180px) {
  .header-inner {
    position: relative;
    min-height: 0;
    padding: 12px 0;
    gap: 16px;
  }
  .brand-logo { width: 50px; height: 56px; }
  .header-actions-mobile { display: flex; align-items: center; gap: 12px; margin-left: auto; }
  .btn-sm { min-height: 42px; padding: 0 18px; font-size: 14px; }

  .nav-toggle {
    display: grid;
    align-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 0 10px;
    border: 1px solid rgba(255, 255, 255, .35);
    background: none;
  }
  .nav-toggle-bar {
    display: block;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: transform .2s ease, opacity .2s ease;
  }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .site-nav {
    position: absolute;
    top: 100%;
    left: calc(-1 * var(--gutter));
    right: calc(-1 * var(--gutter));
    display: none;
    flex-direction: column;
    max-height: calc(100dvh - 80px);
    padding: 8px var(--gutter) 28px;
    overflow-y: auto;
    background: var(--red);
    border-top: 1px solid rgba(255, 255, 255, .14);
    box-shadow: 0 18px 32px rgba(0, 0, 0, .22);
  }
  .site-nav.is-open { display: flex; }

  .main-menu {
    order: 1;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0;
  }
  .menu-item { border-bottom: 1px solid rgba(255, 255, 255, .14); }
  .menu-trigger {
    justify-content: space-between;
    width: 100%;
    padding: 16px 0;
    font-size: 16px;
    line-height: 1.4;
  }
  .menu-trigger br { display: none; }
  .dropdown,
  .dropdown--end {
    position: static;
    display: none;
    min-width: 0;
    padding: 0 0 12px;
    background: none;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: none;
  }
  .dropdown::before { content: none; }
  .menu-trigger[aria-expanded="true"] + .dropdown { display: block; }
  .dropdown a { padding: 9px 16px; color: #fff; font-size: 15px; }
  .dropdown a:hover,
  .dropdown a:focus-visible { background: rgba(255, 255, 255, .1); color: #fff; }

  .nav-top {
    order: 2;
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
    height: auto;
    padding: 24px 0 0;
    border: 0;
  }
  .utility-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px 24px;
    font-size: 15px;
  }
  .nav-top-actions { justify-content: flex-start; }
  .btn-header { display: none; }
  .icon-link { width: auto; gap: 10px; grid-auto-flow: column; }
}

/* ---- Tablet ---- */
@media (max-width: 1023px) {
  .hero { padding-top: 56px; }
  .hero-inner { grid-template-columns: 1fr; row-gap: 48px; }
  .hero-visual { width: 100%; max-width: 710px; margin-inline: auto; }
  .recruiters { padding-top: 72px; }

  .enquiry-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    grid-template-areas:
      "intro"
      "form"
      "photo";
    row-gap: 32px;
  }
  .enquiry-intro { padding-top: 0; }
  .enquiry-title { margin-bottom: 16px; }
  .enquiry-photo { min-height: 0; margin-top: 0; aspect-ratio: 709 / 450; }
  .enquiry { padding: var(--section-y) 0; }

  .recognition { padding: var(--section-y) 0; }
  /* 3 + 2 layout on a 6-track grid so no empty cell shows the divider colour */
  .acc-strip { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .acc-cell { grid-column: span 2; }
  .acc-cell:nth-child(n+4) { grid-column: span 3; }
  .stats-title { margin-top: 72px; }

  .placements { padding: var(--section-y) 0; }
  .placements-grid { grid-template-columns: 1fr; row-gap: 48px; }
  .placements-copy p:not(.placements-eyebrow) { max-width: none; }
  .placement-stats { margin-top: 0; }

  .programmes { padding: var(--section-y) 0; }
  .programme-tabs { grid-template-columns: 1fr; row-gap: 16px; }
  .tab-list {
    flex-direction: row;
    overflow-x: auto;
    scrollbar-width: thin;
    padding-bottom: 4px;
    scroll-snap-type: x proximity;
  }
  .tab { flex: none; height: 52px; padding: 0 20px; font-size: 16px; background: #fff; scroll-snap-align: start; }
  .tab:hover { box-shadow: inset 0 -3px 0 var(--maroon); }
  .tab-panels { min-height: 0; }

  .campus-life { padding: var(--section-y) 0; }
  .campus-top { grid-template-columns: 1fr; row-gap: 32px; }
  .campus-copy { max-width: 640px; }

  .steps-section { padding-bottom: var(--section-y); }
  .steps {
    grid-template-columns: 1fr;
    max-width: 460px;
    margin: 32px auto 0;
  }
  .step {
    display: grid;
    grid-template-columns: 84px minmax(0, 1fr);
    column-gap: 20px;
    align-items: center;
    padding-bottom: 36px;
  }
  .step:last-child { padding-bottom: 0; }
  .step-marker { width: 84px; }
  .step-link {
    top: 92px;
    bottom: 8px;
    left: 41px;
    right: auto;
    width: 2px;
    height: auto;
    background: repeating-linear-gradient(180deg, currentColor 0 4px, transparent 4px 8px);
    transform: none;
  }
  .step-link svg {
    top: auto;
    right: auto;
    bottom: -3px;
    left: 50%;
    transform: translateX(-50%) rotate(90deg);
  }
  .step-label { margin: 0; }
  .step-label br { display: none; }
  .steps-section .center { margin-top: 40px; }

  .culture { padding: var(--section-y) 0; }
  .culture-grid--3 { grid-template-columns: 1fr 1fr; }
  .culture-grid--3 .culture-card:last-child { grid-column: span 2; }
  .culture-grid--3 .culture-card { height: auto; aspect-ratio: 4 / 3; }
  .culture-grid--3 .culture-card:last-child { aspect-ratio: 16 / 9; }

  .testimonials { padding: var(--section-y) 0; }
  .testimonial-grid { grid-template-columns: 1fr; }

  .faq { padding: var(--section-y) 0; }

  .footer-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px 24px; padding-left: 0; }
  .footer-brand { grid-column: 1 / -1; display: flex; align-items: flex-end; gap: 32px; }
  .footer-logo { margin: 0; }
  .footer-brand address { margin: 0; }
}

/* ---- Phone ---- */
@media (max-width: 767px) {
  .btn { min-height: 50px; }
  .hero .btn { min-width: 0; flex: 1 1 180px; }
  .hero-intake { margin-top: 20px; font-size: 18px; }

  .logo-card { width: 180px; height: 100px; }
  .logo-card img { max-width: 150px; max-height: 60px; }

  .enquiry-form { padding: 12px 6px; }
  .npf_wgts iframe { height: 780px; } /* fields and consent wrap more on phones */

  .acc-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .acc-cell,
  .acc-cell:nth-child(n+4) { grid-column: auto; }
  .acc-cell:last-child { grid-column: span 2; }
  .acc-cell { min-height: 150px; }
  .acc-logo { height: 90px; }
  .acc-logo img { max-height: 90px; object-fit: contain; }

  .stats { grid-template-columns: 1fr 1fr; }
  .stat-label { margin-top: 8px; }

  .placement-stats li { padding-inline: 8px; }
  .placement-stats li:nth-child(-n+2) { padding-bottom: 24px; }
  .placement-stats li:nth-child(n+3) { padding-top: 24px; }
  .placement-icon { width: calc(var(--w, 80) * .7px); height: 56px; }
  .placement-value { white-space: normal; }
  .placement-label { margin-top: 10px; font-size: 14px; line-height: 1.4; }

  .tab-panel { padding: 24px 20px; }
  .programme-facts > div { grid-template-columns: 1fr; row-gap: 4px; }
  .programme-facts dd { font-size: 15px; line-height: 24px; }
  .tab-panel .btn { width: 100%; white-space: normal; text-align: center; }

  .media-row { grid-template-columns: 1fr 1fr; gap: 12px; }
  .media-row .media { height: auto; aspect-ratio: 4 / 3; }
  .media-row .media:first-child { grid-column: span 2; aspect-ratio: 16 / 9; }

  .culture-grid { gap: 12px; }
  .culture-grid--2,
  .culture-grid--3 { grid-template-columns: 1fr; }
  .culture-grid--3 .culture-card:last-child { grid-column: auto; }
  .culture-grid--2 .culture-card,
  .culture-grid--3 .culture-card,
  .culture-grid--3 .culture-card:last-child { aspect-ratio: 4 / 3; }
  .culture-card figcaption { left: 20px; right: 20px; bottom: 20px; }

  .testimonial-body { grid-template-columns: 26px minmax(0, 1fr); column-gap: 12px; }
  .testimonial-quote { width: 26px; height: 21px; }
  .testimonial blockquote p { font-size: 15px; line-height: 24px; }

  .faq-panel { padding: 24px 16px; }
  .faq-q button { padding: 18px 0; align-items: flex-start; }
  .faq-chevron { margin-top: .6em; }
  .faq-a { padding: 0 0 22px 0; }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px 20px; }
  .footer-brand { flex-direction: column; align-items: flex-start; gap: 20px; }
  .footer-bottom { padding: 28px 0; }
  .footer-bottom-inner { flex-direction: column; align-items: flex-start; }
  .footer-legal { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 400px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ---------- Sticky CTA ---------- */
.sticky-cta {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 40;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 54px;
  padding: 0 24px;
  background: var(--maroon);
  color: #fff;
  font: 500 16px/1.2 var(--font-body);
  text-decoration: none;
  box-shadow: 0 12px 32px rgba(26, 26, 30, .25);
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: opacity .25s ease, transform .25s ease, visibility .25s, background-color .2s ease;
}
.sticky-cta.is-visible { opacity: 1; visibility: visible; transform: none; }
.sticky-cta:hover { background: var(--maroon-hover); }
.sticky-cta svg { width: 20px; height: 13px; fill: currentColor; }
@media (max-width: 767px) {
  .sticky-cta {
    left: 0;
    right: 0;
    bottom: 0;
    min-height: calc(56px + env(safe-area-inset-bottom));
    padding-bottom: env(safe-area-inset-bottom);
    box-shadow: 0 -8px 24px rgba(26, 26, 30, .18);
  }
}

/* ---------- Motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    transition-duration: .01ms !important;
  }
  .logo-track { animation: none; }
  .logo-marquee { overflow-x: auto; }
  .logo-card[aria-hidden="true"] { display: none; }
}
