/* ------------------------------------------------------------
   TAPMI 2026 Landing – desktop reference 1920px
   Heights from type + padding + gap only (no section min-height)
   clamp(min≈0.533×max, max/19.2 vw, max)
   ------------------------------------------------------------ */

.page {
  --sticky-header-h: calc(var(--logo-h) + (2 * clamp(8px, 0.5208vw, 10px)));
  width: 100%;
  overflow-x: clip;
}

/* ========== HERO — Figma 310:5073 (banner 1920×1158) ========== */
.hero {
  position: relative;
  z-index: 2;
}

.hero__banner {
  position: relative;
  /* Figma BANNER: pt clears fixed header; pb clears trust overlap */
  min-height: clamp(720px, 60.3125vw, 1158px);
  padding:
    calc(var(--sticky-header-h) + clamp(16px, 1.5625vw, 30px))
    var(--figma-padding-x)
    clamp(180px, 14.0625vw, 270px);
  color: var(--color-white);
  overflow: hidden;
  box-sizing: border-box;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

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

.hero__bg-gradient {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0) 50%, #000 84.691%),
    linear-gradient(270deg, rgba(0, 0, 0, 0) 21.484%, #000 100%);
}

/* Figma student: left 31.43% / top 13.73% / w 31.92% / h 75.22%
   Slot is taller + higher so more of the lower body reads above trust. */
.hero__student {
  position: absolute;
  left: 31.43%;
  top: 12.5%;
  bottom: auto;
  width: 31.92%;
  height: 76.5%;
  max-height: none;
  object-fit: contain;
  object-position: center bottom;
  z-index: 1;
  pointer-events: none;
}

.hero__inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 0;
  width: 100%;
}

/* Fixed/sticky site header — outside banner overflow so it can stick site-wide */
.hero__top {
  --sticky-header-pad-y: clamp(8px, 0.5208vw, 10px);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-16);
  width: 100%;
  box-sizing: border-box;
  padding: var(--sticky-header-pad-y) var(--figma-padding-x);
  color: var(--color-white);
  background: transparent;
  transition:
    background-color 0.25s ease,
    box-shadow 0.25s ease,
    backdrop-filter 0.25s ease,
    -webkit-backdrop-filter 0.25s ease;
}

.hero__top.is-stuck {
  background: rgba(8, 8, 8, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.28);
}

.hero__logo {
  /* Figma frame 321×110.867 — asset is wider; box holds design height */
  width: var(--logo-w);
  height: var(--logo-h);
  object-fit: contain;
  object-position: left center;
  flex-shrink: 0;
}

.hero__top .pill-btn {
  flex-shrink: 0;
}

/* Mobile-only bottom sticky Apply CTA — hidden on desktop */
.mobile-sticky-cta {
  display: none;
}

/* Figma body row: gap 74, h 606 — glass shares top edge; copy has pt 50 */
.hero__body {
  display: grid;
  grid-template-columns: minmax(0, 1.9fr) minmax(0, 1fr);
  gap: clamp(40px, 3.8542vw, 74px); /* Figma 74 */
  align-items: start;
  min-height: clamp(380px, 31.5625vw, 606px);
}

.hero__copy {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: clamp(565px, 55.1563vw, 1059px);
  padding-top: clamp(27px, 2.6042vw, 50px); /* Figma pt 50 inside body */
  padding-bottom: 0;
}

/*
 * Banner type — Figma 310:5073
 * Inter: eyebrow (Medium 22 / 1.5), lead + stat labels + deadline label (Regular 20 / 1.3),
 *         Apply Now (SemiBold 20 / 24 — .pill-btn)
 * Helvetica Neue: titles, stat values (Medium 22 / 1.1), deadline date (Medium 32 / 1.24)
 */
.hero__eyebrow {
  font-family: "Inter", sans-serif;
  font-weight: 500;
  font-style: normal;
  font-size: var(--fs-22);
  line-height: 1.5;
  color: var(--color-primary);
  text-transform: uppercase;
  margin-bottom: clamp(20px, 1.875vw, 36px); /* → title */
}

.hero__title {
  display: flex;
  flex-direction: column;
  gap: clamp(6px, 0.4167vw, 8px);
  color: var(--color-white);
  margin-bottom: clamp(28px, 2.5vw, 48px); /* → lead */
}

.hero__title-top {
  font-family: var(--font-sans);
  font-weight: 200;
  font-size: var(--fs-54);
  line-height: 1;
  text-transform: uppercase;
  position: relative;
  top: var(--helvetica-nudge);
}

/* “with a” + “TAPMI MBA.” share one baseline */
.hero__title-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: clamp(6px, 0.4167vw, 8px);
}

.hero__title-with {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: var(--fs-44);
  line-height: 1;
  text-transform: lowercase;
}

.hero__title-brand {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: var(--fs-94);
  line-height: 1;
  text-transform: uppercase;
  text-box-trim: trim-both;
  text-box-edge: cap alphabetic;
}

.hero__lead {
  font-family: "Inter", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: var(--fs-20);
  line-height: 1.3;
  color: var(--color-text-soft);
  max-width: clamp(365px, 35.5729vw, 683px);
  white-space: pre-line;
  margin-bottom: clamp(20px, 1.6667vw, 32px); /* → stats */
}

.hero__stats {
  display: flex;
  flex-direction: column;
  gap: clamp(20px, 1.6667vw, 32px); /* Figma 32 between stat rows */
  margin-bottom: clamp(20px, 1.875vw, 36px); /* → deadline */
}

.hero__stats-row {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(20px, 1.875vw, 36px);
  align-items: center;
}

.hero__stat {
  display: flex;
  align-items: center;
  gap: var(--space-16);
}

.hero__stat-icon {
  width: clamp(28px, 2.3958vw, 46px);
  height: clamp(28px, 2.3958vw, 46px);
  flex-shrink: 0;
  object-fit: contain;
}

.hero__stat-value {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: var(--fs-22);
  line-height: 1.1;
  color: var(--color-white);
  position: relative;
  top: var(--helvetica-nudge);
}

.hero__stat-label {
  font-family: "Inter", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: var(--fs-20);
  line-height: 1.3;
  color: var(--color-text-soft);
  text-transform: capitalize;
}

.hero__stat-divider {
  width: 1px;
  height: clamp(32px, 2.3438vw, 45px);
  background: rgba(255, 255, 255, 0.35);
}

.hero__deadline {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.hero__deadline-label {
  font-family: "Inter", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: var(--fs-20);
  line-height: 1.3;
  color: var(--color-text-soft);
  margin: 0;
}

.hero__deadline-date {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: var(--fs-32);
  line-height: 1.24;
  color: var(--color-white);
  margin: 0;
  position: relative;
  top: var(--helvetica-nudge);
}

/* Glass — form widget iframe (TAPMI lead form) */
.hero__glass {
  width: 100%;
  max-width: clamp(300px, 28.5vw, 522px);
  height: clamp(420px, 34vw, 640px);
  aspect-ratio: auto;
  border-radius: var(--radius-30);
  background: transparent;
  box-shadow: none;
  margin-left: auto;
  margin-top: 0;
  align-self: start;
  scroll-margin-top: 24px;
  outline: none;
  overflow: hidden;
}

.hero__form-frame {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: var(--radius-30);
  background: transparent;
}

/* Mobile-only in-flow student (desktop uses absolute .hero__bg .hero__student) */
.hero__student--mobile {
  display: none;
}

/* Trust strip — Figma 310:5140 (1710×395 @ 1920)
   Equal flex cols + fluid gap so 6 items always fit (no overflow ~1024–1200). */
.trust {
  --trust-gap: clamp(8px, 1.4vw, 40px);
  position: relative;
  z-index: 3;
  width: min(calc(100% - 40px), clamp(912px, 89.0625vw, 1710px));
  margin: clamp(-190px, -9.8958vw, -120px) auto clamp(-270px, -14.0625vw, -136px);
  padding: clamp(12px, 1.0417vw, 20px);
  border-radius: var(--radius-20);
  background: rgba(255, 255, 255, 0.34);
  box-sizing: border-box;
  overflow: visible;
}

.trust__inner {
  background: var(--color-white);
  border-radius: var(--radius-20);
  /* Figma py 30 / px 20 — extra top so AACSB at -18 isn’t cropped */
  padding: clamp(28px, 2.5vw, 48px) clamp(12px, 1.0417vw, 20px) clamp(16px, 1.5625vw, 30px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  overflow: visible;
}

.trust__row {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: var(--trust-gap);
  width: 100%;
}

.trust__item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex: 1 1 0;
  min-width: 0;
  max-width: clamp(120px, 11.5vw, 220px);
  overflow: visible;
}

.trust__item:not(:last-child)::after {
  content: "";
  position: absolute;
  right: calc(var(--trust-gap) / -2);
  top: clamp(8px, 0.651vw, 12.5px);
  width: 1px;
  height: clamp(120px, 14.0625vw, 270px);
  background: #e8e0d8;
}

/* Badge frames: 239×155 (dual 239×165), centered in 265 col */
.trust__badge {
  position: relative;
  width: clamp(127.5px, 12.4479vw, 239px);
  height: clamp(82.7px, 8.0729vw, 155px);
  flex-shrink: 0;
  overflow: visible;
}

.trust__badge--dual {
  height: clamp(88px, 8.5938vw, 165px);
}

/* Wreath clipped to badge; logos sit above */
.trust__wreath-wrap {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.trust__wreath {
  position: absolute;
  width: 98.11%;
  height: 111.85%;
  left: 1.27%;
  top: -6.69%;
  max-width: none;
  object-fit: fill;
}

.trust__badge--dual .trust__wreath {
  height: 105.07%;
  top: -0.23%;
}

.trust__item:last-child .trust__wreath {
  height: 113.32%;
  top: -8.09%;
}

/* Shared logo frame — Figma absolute boxes */
.trust__logo {
  position: absolute;
  z-index: 1;
  left: 50%;
  translate: -50% 0;
  display: block;
  max-width: none;
}

/* AACSB: 91×91 @ top -18 */
.trust__logo--aacsb {
  top: clamp(-18px, -0.9375vw, -9.6px);
  width: clamp(48.53px, 4.7396vw, 91px);
  height: clamp(48.53px, 4.7396vw, 91px);
  object-fit: contain;
}

/* AMBA: 91×91 @ top 32 */
.trust__logo--amba {
  top: clamp(17.07px, 1.6667vw, 32px);
  width: clamp(48.53px, 4.7396vw, 91px);
  height: clamp(48.53px, 4.7396vw, 91px);
  object-fit: contain;
}

/* NIRF / Bloomberg: 91×91 @ top 0 */
.trust__logo--nirf,
.trust__logo--bloomberg {
  top: 0;
  width: clamp(48.53px, 4.7396vw, 91px);
  height: clamp(48.53px, 4.7396vw, 91px);
  object-fit: contain;
}

/* FT: 104×104 @ top 0, object-cover */
.trust__logo--ft {
  top: 0;
  width: clamp(55.47px, 5.4167vw, 104px);
  height: clamp(55.47px, 5.4167vw, 104px);
  object-fit: cover;
}

/* BT: 69×69 @ top 20, object-cover (black square mark) */
.trust__logo--bt {
  top: clamp(10.67px, 1.0417vw, 20px);
  width: clamp(36.8px, 3.5938vw, 69px);
  height: clamp(36.8px, 3.5938vw, 69px);
  object-fit: cover;
}

/* BW Businessworld wordmark — desktop size; mobile override below */
.trust__logo--bw {
  top: clamp(28px, 2.5vw, 48px);
  width: clamp(72px, 6.5vw, 120px);
  height: auto;
  max-height: clamp(28px, 2.4vw, 44px);
  object-fit: contain;
}

.trust__copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

/* Rank — fluid so it stays one line in mid desktop */
.trust__rank {
  margin: 0;
  width: 100%;
  font-family: var(--font-sans);
  font-weight: 500;
  font-synthesis: none;
  font-size: clamp(20px, 1.85vw, 40px);
  line-height: 1.25;
  color: var(--color-primary);
  text-transform: capitalize;
  position: relative;
  top: var(--helvetica-nudge);
  white-space: nowrap;
}

/* Label — scales under ~1200 so “Management” doesn’t orphan / blow card height */
.trust__label {
  margin: 0;
  width: 100%;
  font-family: var(--font-sans);
  font-weight: 500;
  font-synthesis: none;
  font-size: clamp(11px, 0.95vw, 20px);
  line-height: 1.3;
  color: var(--color-text-muted);
  text-transform: capitalize;
  position: relative;
  top: var(--helvetica-nudge);
  text-wrap: balance;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

.trust__br {
  display: block;
}

/*
 * Recruiters — Figma 310:5177 (1920×1834)
 * Trust strip floats over the top ~270px (dark gradient continues behind it).
 * pt 380 keeps heading below trust; pb 1012 holds the student photo.
 */
.recruiters {
  position: relative;
  z-index: 1;
  margin-top: 0;
  padding:
    clamp(200px, 19.7917vw, 380px)
    clamp(90px, 8.8542vw, 170px)
    clamp(540px, 52.7083vw, 1012px);
  color: var(--color-white);
  overflow: hidden;
  isolation: isolate;
}

.recruiters__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(180deg, #000 0%, var(--color-primary) 100%);
  pointer-events: none;
}

/* Photo: top 35.38% / height 65.06% — sits under stats, fades into red */
.recruiters__photo {
  position: absolute;
  left: 0;
  top: 35.38%;
  width: 100%;
  height: 65.06%;
  object-fit: cover;
  object-position: center top;
  z-index: 1;
  pointer-events: none;
}

.recruiters__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: var(--space-60); /* 60 */
  align-items: center;
  width: 100%;
}

.recruiters__content .section-heading {
  max-width: clamp(523px, 51.0vw, 979px);
}

.recruiters__stats {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 2px;
  width: 100%;
}

/* Compact single strip — 6 stats share one bar */
.recruiters__stat {
  background: var(--color-white);
  color: var(--color-black);
  height: clamp(110px, 7.8125vw, 150px);
  padding: clamp(12px, 1.0417vw, 20px);
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 0;
  min-width: 0;
}

.recruiters__stat:first-child {
  border-radius: 16px 0 0 16px;
}

.recruiters__stat:last-child {
  border-radius: 0 16px 16px 0;
}

/* Min-height keeps value baseline aligned across cards */
.recruiters__stat-label {
  margin: 0;
  min-height: clamp(40px, 2.9167vw, 56px);
  font-family: "Inter", sans-serif;
  font-weight: 400;
  font-size: clamp(11px, 0.8333vw, 16px);
  line-height: 1.25;
  text-transform: capitalize;
}

.recruiters__stat-label small {
  display: block;
  font-size: clamp(9px, 0.625vw, 12px);
  line-height: 1.25;
  font-weight: 400;
  text-transform: none;
}

.recruiters__stat-value {
  display: flex;
  align-items: baseline;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: auto;
  font-family: var(--font-sans);
  text-transform: uppercase;
  position: relative;
  top: var(--helvetica-nudge);
}

.recruiters__stat-num {
  font-weight: 800; /* Helvetica Neue Heavy */
  font-size: clamp(22px, 2.0833vw, 40px);
  line-height: 1;
}

.recruiters__stat-unit {
  font-weight: 500;
  font-size: clamp(12px, 0.9375vw, 18px);
  line-height: 1;
}

/* ========== LOGOS — Figma 310:6321 (1920×303) ========== */
.logos {
  background: var(--color-black);
  /* Figma pt 66 / pb 65 */
  padding: clamp(42px, 3.4375vw, 66px) 0 clamp(41px, 3.3854vw, 65px);
  overflow: hidden;
}

.logos__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-32); /* 32 between cards and sectors */
  width: 100%;
}

.logos__track-wrap {
  width: 100%;
  overflow: hidden;
}

.logos__track {
  display: flex;
  align-items: center;
  gap: clamp(16px, 1.25vw, 24px); /* Figma 24 */
  width: max-content;
  animation: logos-marquee 40s linear infinite;
  will-change: transform;
}

.logos__track:hover {
  animation-play-state: paused;
}

@keyframes logos-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Card 267×114, pad 10, radius 12, shadow 0 4 5 / 8% */
.logos__card {
  flex: 0 0 clamp(142px, 13.9063vw, 267px);
  width: clamp(142px, 13.9063vw, 267px);
  height: clamp(61px, 5.9375vw, 114px);
  background: var(--color-white);
  border-radius: 12px;
  box-shadow: var(--shadow-logo);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(5.33px, 0.5208vw, 10px);
  box-sizing: border-box;
  overflow: hidden;
}

/* Inner logo frame 209×94 — assets are full Figma frames (white + mark) */
.logos__media {
  position: relative;
  width: clamp(111px, 10.8854vw, 209px);
  height: clamp(50px, 4.8958vw, 94px);
  overflow: hidden;
  background: var(--color-white);
}

.logos__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.logos__sectors {
  margin: 0;
  width: 100%;
  text-align: center;
  font-family: var(--font-inter);
  font-weight: 500;
  font-size: var(--fs-20);
  line-height: 1.3;
  color: var(--color-white);
  text-transform: uppercase;
  padding-inline: clamp(8px, 0.8333vw, 16px);
}

.logos__sectors .dot {
  color: var(--color-gold);
}

@media (prefers-reduced-motion: reduce) {
  .logos__track {
    animation: none;
  }
}

/* ========== CAREER ROLES ========== */
/* Roles — Figma 310:5226; slider only below 1200 (4 / 3.1 / 2.1) */
.roles {
  --roles-gap: 2px;
  --roles-per-view: 6;
  padding: var(--space-140) var(--figma-padding-x) var(--space-40);
}

/* Figma 310:5232 — Inter Regular 20 / lh 1.3; text is 1045 wide (overflows 979 title frame) */
.roles .section-heading {
  overflow: visible;
}

.roles .section-heading__sub {
  width: max-content;
  max-width: none;
  white-space: nowrap;
}

.roles__slider {
  margin-top: clamp(5px, 4.1667vw, 80px);
  overflow: visible;
  /* Room for upward soft shadow */
  padding-top: clamp(12px, 1.0417vw, 20px);
  padding-bottom: 8px;
}

.roles__slider.is-draggable,
.pathways__slider.is-draggable,
.learning__slider.is-draggable,
.testimonials__slider.is-draggable {
  touch-action: pan-y;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
}

.roles__slider.is-dragging,
.pathways__slider.is-dragging,
.learning__slider.is-dragging,
.testimonials__slider.is-dragging {
  cursor: grabbing;
}

.roles__slider.is-dragging *,
.pathways__slider.is-dragging *,
.learning__slider.is-dragging *,
.testimonials__slider.is-dragging * {
  pointer-events: none;
}

.roles__grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: var(--roles-gap);
  width: 100%;
  transform: none;
}

.roles__card {
  min-width: 0;
  background: var(--color-white);
  padding: clamp(16px, 1.25vw, 24px);
  display: flex;
  flex-direction: column;
  gap: clamp(14px, 1.25vw, 22px);
  height: auto;
  min-height: clamp(260px, 18.75vw, 360px);
  box-sizing: border-box;
  box-shadow: var(--shadow-roles);
  overflow: hidden;
}

.roles__card:first-child {
  border-radius: var(--radius-card) 0 0 var(--radius-card);
}

.roles__card:last-child {
  border-radius: 0 var(--radius-card) var(--radius-card) 0;
}

/* Autoplay slider — below 1200 only */
@media (max-width: 1199px) {
  .roles {
    --roles-gap: 12px;
    --roles-per-view: 4;
  }

  /*
   * overflow:hidden clips box-shadow — pad for the 40px blur
   * (shadow is mostly upward; still needs bottom/side room).
   * Negative margin keeps the cards aligned with section gutters.
   */
  .roles__slider {
    overflow: hidden;
    padding: 40px 40px 40px;
    margin-inline: -40px;
    width: auto;
  }

  .roles__grid {
    display: flex;
    will-change: transform;
    transition: transform 0.55s var(--ease-out);
  }

  .roles__card {
    flex: 0 0 calc((100% - (var(--roles-per-view) - 1) * var(--roles-gap)) / var(--roles-per-view));
    border-radius: var(--radius-card);
  }

  .roles__card:first-child,
  .roles__card:last-child {
    border-radius: var(--radius-card);
  }
}

.roles__icon {
  width: clamp(42px, 3.333vw, 64px);
  height: clamp(42px, 3.333vw, 64px);
  border-radius: 50%;
  background: var(--color-primary-soft);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  overflow: hidden;
}

.roles__icon img {
  width: clamp(22px, 1.6667vw, 32px);
  height: clamp(22px, 1.6667vw, 32px);
  display: block;
  object-fit: contain;
}

.roles__body {
  display: flex;
  flex-direction: column;
  gap: clamp(12px, 1.0417vw, 16px);
  width: 100%;
  min-width: 0;
}

.roles__title {
  margin: 0;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: clamp(14px, 1.0417vw, 18px);
  line-height: 1.2;
  color: var(--color-black);
  position: relative;
  top: var(--helvetica-nudge);
}

.roles__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: clamp(12px, 1.0417vw, 16px);
  min-width: 0;
}

.roles__list .check-item {
  align-items: flex-start;
  gap: 8px;
  min-width: 0;
}

.roles__list .check-item__icon {
  width: clamp(14px, 0.9375vw, 18px);
  height: clamp(14px, 0.9375vw, 18px);
  margin-top: 0.15em;
}

.roles__list .check-item__text {
  font-size: clamp(12px, 0.8333vw, 14px);
  line-height: 1.3;
  white-space: normal;
  overflow-wrap: break-word;
  word-break: break-word;
  min-width: 0;
}

/* ========== PATHWAYS ========== */
/* Pathways — Figma 310:5493 (col heights: 420+24+420 = 272×3+48) */
.pathways {
  --pathways-gap: var(--space-24);
  --pathways-per-view: 3;
  padding: 0 var(--figma-padding-x) var(--section-pad-y);
}

.pathways__slider {
  margin-top: var(--space-100);
  overflow: visible;
}

.pathways__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--pathways-gap);
  align-items: start;
  width: 100%;
  transform: none;
}

.pathways__col {
  display: flex;
  flex-direction: column;
  gap: var(--space-24);
}

.pathway-card {
  position: relative;
  width: 100%;
  border-radius: 10px;
  border: 0.5px solid transparent;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-align: left;
  cursor: pointer;
  font: inherit;
  color: inherit;
  appearance: none;
  -webkit-appearance: none;
  transition: transform 0.35s var(--ease-out);
}

.pathway-card:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 3px;
}

/* Hover texture (Figma 310:5615) — ribbed dome rises from bottom, not right */
.pathway-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../images/home/pathway-hover-texture.webp") center 35% / cover no-repeat;
  opacity: 0;
  transition: opacity 0.35s var(--ease-out);
  pointer-events: none;
  z-index: 0;
  border-radius: inherit;
}

.pathway-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(250, 39, 62, 0.55);
  opacity: 0;
  transition: opacity 0.35s var(--ease-out);
  pointer-events: none;
  z-index: 0;
  border-radius: inherit;
}

.pathway-card:hover,
.pathway-card:focus-visible {
  transform: translateY(-4px);
  border-color: var(--color-yellow-border);
}

.pathway-card:hover::before,
.pathway-card:focus-visible::before,
.pathway-card:hover::after,
.pathway-card:focus-visible::after {
  opacity: 1;
}

.pathway-card:hover .pathway-card__title,
.pathway-card:hover .pathway-card__desc,
.pathway-card:focus-visible .pathway-card__title,
.pathway-card:focus-visible .pathway-card__desc {
  color: var(--color-white);
}

.pathway-card:hover .pathway-card__arrow-dark,
.pathway-card:focus-visible .pathway-card__arrow-dark {
  opacity: 0;
}

.pathway-card:hover .pathway-card__arrow-light,
.pathway-card:focus-visible .pathway-card__arrow-light {
  opacity: 1;
}

/* Tall cards 420 — art + bottom arrow (Figma pt40 pb34 pl26 pr118) */
.pathway-card--tall {
  height: clamp(224px, 21.875vw, 420px);
  padding: var(--space-40) clamp(63px, 6.1458vw, 118px) clamp(18px, 1.7708vw, 34px) clamp(14px, 1.3542vw, 26px);
  justify-content: space-between;
  gap: var(--space-10);
  box-sizing: border-box;
}

.pathway-card--tall .pathway-card__stack {
  display: flex;
  flex-direction: column;
  gap: var(--space-60);
  flex: 1 1 auto;
  min-height: 0;
  max-width: clamp(220px, 21.51vw, 413px);
  position: relative;
  z-index: 1;
}

/* Short middle cards 272 — arrow top-right (Figma pt40 px26, full-width copy) */
.pathway-card--short {
  height: clamp(168px, 14.1667vw, 272px);
  padding: var(--space-40) clamp(14px, 1.3542vw, 26px);
  justify-content: flex-start;
  gap: var(--space-60);
  box-sizing: border-box;
}

.pathway-card--short .pathway-card__body {
  max-width: none;
  width: 100%;
}

.pathway-card--pink {
  background: var(--color-primary-wash);
  border-color: var(--color-orange-border);
}

.pathway-card--yellow {
  background: var(--color-primary-wash);
  border-color: var(--color-yellow-border);
}

.pathway-card--blue {
  background: var(--color-blue-bg);
  border-color: var(--color-blue-border);
}

.pathway-card__art {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 45%;
  max-height: 45%;
  object-fit: contain;
  object-position: right bottom;
  pointer-events: none;
  mix-blend-mode: darken;
  z-index: 0;
  transition: opacity 0.35s var(--ease-out);
}

/* Corner icons hide on hover — texture lives on ::before */
.pathway-card:hover .pathway-card__art,
.pathway-card:focus-visible .pathway-card__art {
  opacity: 0;
}

.pathway-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-16);
  position: relative;
  z-index: 1;
}

.pathway-card__chip {
  display: inline-flex;
  align-items: center;
  gap: clamp(8px, 0.5729vw, 11px);
  height: clamp(28px, 2.1354vw, 41px);
  padding: clamp(8px, 0.625vw, 12px);
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--color-white);
  box-shadow: 0 0 0 1px #fff, 0 8px 17.2px rgba(140, 150, 169, 0.1);
  backdrop-filter: blur(27px);
  box-sizing: border-box;
}

.pathway-card__chip svg {
  width: clamp(20px, 1.4583vw, 28px);
  height: clamp(20px, 1.4583vw, 28px);
  flex-shrink: 0;
}

.pathway-card__chip span {
  font-family: var(--font-inter);
  font-weight: 500;
  font-size: var(--fs-20);
  line-height: 1.5;
  color: #ed4224;
  text-transform: uppercase;
}

.pathway-card__arrow {
  width: clamp(28px, 1.875vw, 36px);
  height: clamp(28px, 1.875vw, 36px);
  flex-shrink: 0;
  display: grid;
  place-items: center;
  position: relative;
  z-index: 1;
}

.pathway-card__arrow-dark,
.pathway-card__arrow-light {
  grid-area: 1 / 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  transition: opacity 0.3s var(--ease-out);
}

/* Rest = Figma #666363 grey; pink/white swap is hover-only */
.pathway-card__arrow-dark {
  opacity: 1;
}

.pathway-card__arrow-light {
  opacity: 0;
}

.pathway-card__body {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: var(--space-20);
  max-width: clamp(220px, 21.51vw, 413px);
}

.pathway-card__title {
  margin: 0;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: var(--fs-24);
  line-height: 1.1;
  color: var(--color-black);
  position: relative;
  top: var(--helvetica-nudge);
  transition: color 0.3s var(--ease-out);
}

.pathway-card__desc {
  margin: 0;
  font-family: var(--font-inter);
  font-size: var(--fs-20);
  line-height: 1.3;
  color: var(--color-text-muted);
  transition: color 0.3s var(--ease-out);
}

@media (prefers-reduced-motion: reduce) {
  .pathway-card,
  .pathway-card::before,
  .pathway-card::after,
  .pathway-card__art,
  .pathway-card__arrow-dark,
  .pathway-card__arrow-light,
  .pathway-card__title,
  .pathway-card__desc {
    transition: none;
  }
}

/* Pathway modal — Figma 310:6355 */
.pathway-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: clamp(16px, 2vw, 40px);
  box-sizing: border-box;
}

.pathway-modal.is-open {
  display: flex;
}

.pathway-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  border: 0;
  padding: 0;
  cursor: pointer;
}

.pathway-modal__shell {
  position: relative;
  z-index: 1;
  width: min(100%, clamp(320px, 74.1667vw, 1424px));
  max-height: min(90vh, 900px);
  overflow: auto;
  padding: clamp(10px, 1.0417vw, 20px);
  border-radius: clamp(12px, 1.0417vw, 20px);
  background: rgba(255, 255, 255, 0.34);
  box-sizing: border-box;
}

.pathway-modal__panel {
  background: var(--color-white);
  border-radius: clamp(12px, 1.0417vw, 20px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-40);
  padding-bottom: var(--space-40);
}

.pathway-modal__close {
  position: absolute;
  top: clamp(18px, 1.5vw, 28px);
  right: clamp(18px, 1.5vw, 28px);
  z-index: 2;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  color: var(--color-black);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
}

.pathway-modal__close:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

.pathway-modal__head {
  width: 100%;
  background: var(--color-black);
  color: var(--color-white);
  text-align: center;
  padding: clamp(18px, 1.5625vw, 30px) clamp(14px, 1.0417vw, 20px);
  border-radius: 10px 10px 0 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-sizing: border-box;
}

.pathway-modal__title {
  margin: 0;
  font-family: var(--font-inter);
  font-weight: 500;
  font-size: var(--fs-24);
  line-height: clamp(28px, 1.7708vw, 34px);
  text-transform: uppercase;
  color: var(--color-white);
}

.pathway-modal__lead {
  margin: 0;
  font-family: var(--font-inter);
  font-size: var(--fs-20);
  line-height: 1.3;
  color: #f3f3f3;
}

.pathway-modal__grid {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.pathway-modal__cell {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.pathway-modal__cell:nth-child(odd) .pathway-modal__body {
  border-right: 1px solid #dbdbdb;
}

.pathway-modal__cell:nth-child(-n + 2) {
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.pathway-modal__label {
  margin: 0;
  height: clamp(52px, 3.9063vw, 75px);
  display: flex;
  align-items: center;
  padding: 0 0 0 clamp(20px, 2.0833vw, 40px);
  background: rgba(247, 79, 72, 0.16);
  border: 0.5px solid rgba(247, 79, 72, 0.36);
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: var(--fs-24);
  line-height: 1.1;
  color: var(--color-black);
  box-sizing: border-box;
}

.pathway-modal__body {
  padding: clamp(20px, 2.0833vw, 40px);
  flex: 1 1 auto;
}

.pathway-modal__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-24);
}

.pathway-modal__list .check-item__text {
  color: var(--color-black);
}

.pathway-modal__list .check-item__text strong {
  font-weight: 700;
}

.pathway-modal__cta {
  flex-shrink: 0;
}

/* ========== LEARNING ========== */
/* Learn It + Exams wrap — photo layers above exams (Figma 310:5633) */
.learn-exams {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
}

/* Learn It / Academic — Figma 310:5633 */
.learning {
  --learning-gap: 2px;
  --learning-per-view: 6;
  position: relative;
  z-index: 1;
  background: linear-gradient(180deg, #000 0%, var(--color-primary) 100%);
  color: var(--color-white);
  padding: clamp(89px, 7.2396vw, 139px) var(--figma-padding-x) clamp(48px, 5.208vw, 100px);
  /* visible so rotated wave isn’t hard-cropped at the top */
  overflow: visible;
  /* Pull exams up under the student photo (Figma mb −160) */
  margin-bottom: clamp(-160px, -8.333vw, -85px);
}

.learning__wave {
  position: absolute;
  /* Figma 310:5789 — desktop from top; ≤1023 anchors from bottom */
  left: clamp(210px, 21.875vw, 420px);
  top: clamp(290px, 28.9063vw, 555px);
  bottom: auto;
  width: clamp(980px, 89.1146vw, 1711px);
  max-width: none;
  overflow: visible;
  pointer-events: none;
  z-index: 0;
  /* Extra room so rotated stroke tip isn’t clipped by the img box */
  padding: clamp(24px, 2vw, 40px);
  box-sizing: content-box;
}

.learning__wave img {
  display: block;
  width: 100%;
  height: auto;
  max-width: none;
  overflow: visible;
  transform: rotate(2.34deg);
  transform-origin: 40% 20%;
}

.learning__stack {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: clamp(86px, 8.4375vw, 162px);
  width: 100%;
}

.learning__top {
  display: flex;
  flex-direction: column;
  align-items: center;
  /* Figma 310:5638 — heading 212 → cards y 272 = 60px */
  gap: clamp(32px, 3.125vw, 60px);
  width: 100%;
  position: relative;
  z-index: 1;
}

.learning__top .section-heading {
  gap: var(--space-32);
}

.learning__slider {
  width: 100%;
  overflow: visible;
}

.learning__features {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: var(--learning-gap);
  width: 100%;
  border-radius: var(--radius-card);
  transform: none;
}

.learning__feature {
  background: var(--color-white);
  color: var(--color-black);
  padding: var(--space-32);
  display: flex;
  flex-direction: column;
  gap: var(--space-28);
  min-height: clamp(240px, 19.479vw, 374px);
  box-shadow: var(--shadow-roles);
  min-width: 0;
  box-sizing: border-box;
}

.learning__feature:first-child {
  border-radius: var(--radius-card) 0 0 var(--radius-card);
}

.learning__feature:last-child {
  border-radius: 0 var(--radius-card) var(--radius-card) 0;
}

.learning__feature-icon {
  width: clamp(51px, 4.1667vw, 80px);
  height: clamp(51px, 4.1667vw, 80px);
  border-radius: 50%;
  background: var(--color-primary-soft);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.learning__feature-icon img,
.learning__feature-icon svg {
  width: clamp(26px, 2.0833vw, 40px);
  height: clamp(26px, 2.0833vw, 40px);
  display: block;
}

.learning__feature-copy {
  display: flex;
  flex-direction: column;
  gap: var(--space-20);
  width: 100%;
}

.learning__feature-title {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: var(--fs-24);
  line-height: 1.1;
  color: var(--color-black);
  position: relative;
  top: var(--helvetica-nudge);
}

.learning__feature-desc {
  font-family: var(--font-inter);
  font-size: var(--fs-20);
  line-height: 1.3;
  color: var(--color-text-muted);
}

.learning__survey {
  position: relative;
  z-index: 2;
  width: 100%;
  border-radius: var(--radius-20);
  background: rgba(255, 255, 255, 0.06);
  border: 0.667px solid rgba(255, 255, 255, 0.2);
  padding: clamp(22px, 2.1875vw, 42px) clamp(18px, 1.8229vw, 35px);
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: var(--space-32);
  align-items: center;
  box-sizing: border-box;
}

.learning__survey-pct {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: clamp(60px, 5.9375vw, 114px);
  line-height: 0.66;
  color: var(--color-white);
  position: relative;
  top: var(--helvetica-nudge);
  margin: 0;
  white-space: nowrap;
}

.learning__survey-body {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
  justify-content: center;
}

.learning__survey-head {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 14px;
  width: 100%;
}

.learning__survey-title {
  flex: 1 1 auto;
  min-width: 0;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: var(--fs-36);
  line-height: 1.1;
  color: var(--color-white);
  position: relative;
  top: var(--helvetica-nudge);
  margin: 0;
}

.learning__survey-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  font-family: var(--font-inter);
  font-size: var(--fs-16);
  line-height: 18.6px;
  color: var(--color-white);
  white-space: nowrap;
}

.learning__survey-desc {
  margin: 0;
  font-family: var(--font-inter);
  font-size: var(--fs-20);
  line-height: 1.3;
  color: var(--color-text-soft);
  width: 100%;
}

.learning__lower {
  display: grid;
  grid-template-columns: minmax(0, 743fr) minmax(0, 917fr);
  gap: clamp(24px, 3vw, 48px);
  /* Start-align so title sits under survey gap — not pushed to photo bottom */
  align-items: start;
  position: relative;
  z-index: 2;
  width: 100%;
}

.learning__reqs {
  display: flex;
  flex-direction: column;
  gap: var(--space-60);
  max-width: clamp(420px, 38.698vw, 743px);
  /* Keep last checklist rows above the exams glass overlap */
  padding-bottom: clamp(48px, 5vw, 96px);
  position: relative;
  z-index: 2;
}

.learning__reqs .section-heading {
  align-items: flex-start;
  text-align: left;
  gap: var(--space-32);
}

.learning__reqs .section-heading__title {
  align-items: flex-start;
  text-align: left;
  white-space: nowrap;
}

.learning__reqs .section-heading__title .line-medium,
.learning__reqs .section-heading__title .line-thin {
  white-space: nowrap;
}

.learning__reqs-block {
  display: flex;
  flex-direction: column;
  gap: var(--space-32);
  max-width: clamp(400px, 36.875vw, 708px);
}

.learning__reqs-title {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: var(--fs-40);
  line-height: 1;
  color: var(--color-white);
  margin: 0;
  position: relative;
  top: var(--helvetica-nudge);
}

.learning__reqs-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-24);
  margin: 0;
  padding: 0;
  list-style: none;
}

.learning__reqs .check-item {
  align-items: center;
}

.learning__reqs .check-item__text {
  color: var(--color-white);
}

/* Invisible spacer in the lower grid — preserves column width */
.learning__photo-space {
  width: 100%;
  max-width: clamp(480px, 47.7604vw, 917px);
  margin-left: auto;
  margin-top: clamp(24px, 3vw, 56px);
  aspect-ratio: 917 / 775;
  pointer-events: none;
  visibility: hidden;
}

/* Real photo — absolute to .exams so it stays stuck at any zoom.
   Sits behind the card (Figma): legs tuck under the table top. */
.learning__photo {
  position: absolute;
  right: clamp(0px, 0.5208vw, 10px);
  /* 100% = top of exams; subtract a little so waists tuck under the glass */
  bottom: calc(100% - clamp(36px, 3.125vw, 60px));
  /* Figma 310:5790 — 917×775 */
  width: clamp(480px, 47.7604vw, 917px);
  z-index: 1;
  pointer-events: none;
  margin: 0;
}

.learning__photo img {
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: right bottom;
  display: block;
}

.exams {
  position: relative;
  z-index: 3;
  width: min(calc(100% - 32px), clamp(759px, 74.1667vw, 1424px));
  margin: 0 auto;
  padding: 20px;
  border-radius: var(--radius-20);
  background: rgba(255, 255, 255, 0.34);
  box-sizing: border-box;
  overflow: visible;
}

.exams__inner {
  position: relative;
  z-index: 2;
  background: var(--color-white);
  border-radius: var(--radius-20);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 0; /* head sits flush on table — no white band */
}

.exams__head {
  background: var(--color-primary-dark);
  color: var(--color-white);
  text-align: center;
  padding: clamp(16px, 1.5625vw, 30px) var(--space-20);
  font-family: var(--font-inter);
  font-weight: 500;
  font-size: var(--fs-24);
  line-height: 34px;
  text-transform: uppercase;
  margin: 0;
  border-radius: 10px 10px 0 0;
}

.exams__scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.exams__table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

.exams__table th,
.exams__table td {
  padding: 0 clamp(16px, 1.3542vw, 26px);
  height: clamp(52px, 3.9063vw, 75px);
  text-align: left;
  font-family: var(--font-sans);
  font-size: var(--fs-24);
  line-height: 1.1;
  vertical-align: middle;
  color: var(--color-black);
  box-sizing: border-box;
}

.exams__table th {
  font-weight: 500;
  background: #fff9f3;
  border: 0.5px solid var(--color-orange-border);
  position: relative;
  top: var(--helvetica-nudge);
}

.exams__table td {
  font-weight: 400;
  background: var(--color-white);
  border: 0.5px solid #dbdbdb;
}

.exams__status {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  white-space: nowrap;
}

.exams__status img {
  width: 23px;
  height: 23px;
  flex-shrink: 0;
  display: block;
  object-fit: contain;
}

.exams__status--no {
  color: var(--color-black);
}

.exams__note {
  text-align: center;
  padding: clamp(16px, 1.5625vw, 30px) var(--space-20) clamp(16px, 1.25vw, 24px);
  margin: 0;
  font-family: var(--font-inter);
  font-weight: 600;
  font-size: var(--fs-20);
  line-height: 1.3;
  color: var(--color-black);
}

/* ========== FEES — Figma 310:5844 ========== */
.fees {
  position: relative;
  /* Figma: pt 140 / px 100 / pb 846 */
  padding: var(--space-140) var(--figma-padding-x) clamp(320px, 44.0625vw, 846px);
  overflow: hidden;
  background: var(--color-white);
}

.fees__campus {
  position: absolute;
  left: -0.74%;
  top: 39.74%;
  width: 101.48%;
  height: 60.26%;
  object-fit: cover;
  object-position: center top;
  z-index: 0;
  pointer-events: none;
}

.fees__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: var(--space-80);
  width: 100%;
}

.fees__sub {
  color: var(--color-text-dim);
  font-family: var(--font-inter);
  font-weight: 400;
  font-size: var(--fs-20);
  line-height: 1.3;
}

.fees__grid {
  display: grid;
  /* Figma: left content ~861px (fee lines stay one row); right 699; gap 168 */
  grid-template-columns: minmax(0, 1fr) minmax(0, clamp(320px, 35.4vw, 680px));
  gap: clamp(32px, 8.333vw, 160px);
  align-items: start;
  width: 100%;
}

.fees__left {
  display: flex;
  flex-direction: column;
  gap: var(--space-60);
  min-width: 0;
}

.fees__block {
  display: flex;
  flex-direction: column;
  gap: var(--space-32);
  /* Figma Frame 310:5855 is 861px — keeps Application Fee on one line */
  width: 100%;
  max-width: clamp(520px, 44.84vw, 861px);
}

.fees__block-title {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: var(--fs-40);
  line-height: 1;
  color: var(--color-black);
  margin: 0;
  position: relative;
  top: var(--helvetica-nudge);
}

.fees__list {
  display: flex;
  flex-direction: column;
  gap: var(--space-24);
  margin: 0;
  padding: 0;
  list-style: none;
}

.fees__list .check-item {
  align-items: center;
  gap: var(--space-16);
}

.fees__list .check-item__icon {
  width: clamp(16px, 1.1458vw, 22px);
  height: clamp(16px, 1.1458vw, 22px);
  margin-top: 0;
  display: block;
}

.fees__list .check-item__text {
  font-family: var(--font-inter);
  font-weight: 400;
  font-size: var(--fs-24);
  line-height: 1.3;
  color: var(--color-black);
}

@media (min-width: 1280px) {
  .fees__list .check-item__text {
    white-space: nowrap;
  }
}

.fees__list strong {
  font-family: var(--font-inter);
  font-weight: 600;
}

.fees__stack {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: clamp(360px, 36.406vw, 699px);
  margin-left: auto;
  border-radius: var(--radius-card);
  overflow: hidden;
}

.fees__tier {
  display: flex;
  flex-direction: column;
  gap: var(--space-20);
  /* Figma: pl 36 / pr 40 / py 30 */
  padding: clamp(19.2px, 1.5625vw, 30px) clamp(21.33px, 2.0833vw, 40px) clamp(19.2px, 1.5625vw, 30px) clamp(19.2px, 1.875vw, 36px);
  box-sizing: border-box;
}

.fees__tier-title {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: var(--fs-32);
  line-height: 1.1;
  margin: 0;
  position: relative;
  top: var(--helvetica-nudge);
}

.fees__tier-desc {
  font-family: var(--font-inter);
  font-weight: 500;
  font-size: var(--fs-24);
  line-height: 1.3;
  margin: 0;
}

.fees__tier--light {
  background: var(--color-primary-tint); /* #ffd4db */
  border-radius: var(--radius-card) var(--radius-card) 0 0;
  color: var(--color-black);
}

.fees__tier--light .fees__tier-desc {
  color: var(--color-text-muted); /* #666363 */
}

.fees__tier--mid {
  background: var(--color-primary-soft); /* #f16a7f */
  color: var(--color-white);
}

.fees__tier--strong {
  background: var(--color-primary); /* #fa273e */
  color: var(--color-white);
  border-radius: 0 0 var(--radius-card) var(--radius-card);
  gap: 0;
}

.fees__tier-stat {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: var(--fs-36);
  line-height: 1.6;
  margin: 0;
  position: relative;
  top: var(--helvetica-nudge);
}

.fees__tier-stat-sub {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: var(--fs-24);
  line-height: 1.6;
  margin: 0;
  position: relative;
  top: var(--helvetica-nudge);
}

/* ========== STEPS — Figma 310:5912 ========== */
.steps {
  padding: var(--space-140) var(--figma-padding-x);
  background: var(--color-white);
}

.steps__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(54px, 5.2604vw, 101px);
  width: 100%;
}

.steps__body {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(68px, 6.6146vw, 127px);
  width: 100%;
}

.steps__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(15px, 3.9583vw, 76px);
  width: 100%;
  align-items: start;
}

.steps__item {
  display: flex;
  flex-direction: column;
  gap: var(--space-60);
  min-width: 0;
}

.steps__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  height: clamp(32px, 2.1354vw, 41px);
  padding: 0 clamp(16px, 1.0417vw, 20px);
  border-radius: 100px;
  background: var(--color-primary);
  color: var(--color-white);
  border: 1px solid var(--color-white);
  font-family: var(--font-inter);
  font-weight: 500;
  font-size: var(--fs-20);
  line-height: 1.5;
  text-transform: uppercase;
  white-space: nowrap;
  backdrop-filter: blur(27px);
  box-shadow: 0 0 0 1px #fff, 0 8px 17.2px rgba(140, 150, 169, 0.1);
}

.steps__item-main {
  display: flex;
  flex-direction: column;
  gap: var(--space-32);
  width: 100%;
}

.steps__icon {
  width: clamp(28px, 2.3958vw, 46px);
  height: clamp(28px, 2.3958vw, 46px);
  display: block;
  flex-shrink: 0;
}

.steps__copy {
  display: flex;
  flex-direction: column;
  gap: var(--space-20);
  width: 100%;
}

.steps__title {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: var(--fs-24);
  line-height: 1.1;
  color: var(--color-black);
  margin: 0;
  position: relative;
  top: var(--helvetica-nudge);
  /* Reserve 2 lines so descs align when some titles wrap */
  min-height: calc(var(--fs-24) * 1.1 * 2);
}

.steps__desc {
  font-family: var(--font-inter);
  font-weight: 400;
  font-size: var(--fs-20);
  line-height: 1.3;
  color: var(--color-text-muted);
  margin: 0;
}

.steps__panels {
  display: grid;
  grid-template-columns: minmax(0, 514fr) minmax(0, 576fr) minmax(0, 514fr);
  align-items: stretch;
  width: 100%;
  max-width: clamp(855px, 83.4896vw, 1603px);
  margin-inline: auto;
  min-height: clamp(420px, 37.03vw, 711px);
}

.steps__panel {
  /* Figma: pl 45 / pr 97 / py 40 */
  padding: var(--space-40) clamp(40px, 5.052vw, 97px) var(--space-40) clamp(28px, 2.3438vw, 45px);
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}

.steps__panel--dark {
  background: var(--color-black);
  color: var(--color-white);
  border-radius: var(--radius-card) var(--radius-card) 0 var(--radius-card);
  gap: clamp(40px, 3.6458vw, 70px);
  justify-content: flex-start;
}

.steps__panel-head {
  display: flex;
  flex-direction: column;
  gap: clamp(14px, 1.0938vw, 21px);
}

.steps__panel-label {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: var(--fs-36);
  line-height: normal;
  color: var(--color-primary-soft); /* #f16a7f */
  margin: 0;
  position: relative;
  top: var(--helvetica-nudge);
}

.steps__panel-date {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: var(--fs-42);
  line-height: normal;
  color: var(--color-primary-soft); /* #f16a7f */
  margin: 0;
  position: relative;
  top: var(--helvetica-nudge);
}

.steps__panel-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-24);
  margin: 0;
  padding: 0;
  list-style: none;
}

.steps__panel-list .check-item {
  align-items: center;
  gap: var(--space-16);
}

.steps__panel-list .check-item__icon {
  margin-top: 0;
  display: block;
}

.steps__panel-list .check-item__text {
  font-family: var(--font-inter);
  font-weight: 400;
  font-size: var(--fs-20);
  line-height: 1.3;
  color: #f3f3f3;
}

.steps__panel-list strong {
  font-family: var(--font-inter);
  font-weight: 600;
}

.steps__center {
  position: relative;
  isolation: isolate;
  min-height: clamp(420px, 37.03vw, 711px);
  overflow: hidden;
}

.steps__center-img {
  position: absolute;
  left: 9.23%;
  top: 1.69%;
  width: 81.54%;
  height: 98.31%;
  object-fit: contain;
  object-position: center bottom;
  z-index: 0;
  display: block;
}

/* Figma: red fade sits ABOVE the cutout from 61.5% down */
.steps__center::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(250, 39, 62, 0) 61.533%,
    var(--color-primary) 100%
  );
  z-index: 1;
  pointer-events: none;
}

.steps__panel--cta {
  position: relative;
  color: var(--color-white);
  border-radius: var(--radius-card) var(--radius-card) var(--radius-card) 0;
  overflow: hidden;
  justify-content: space-between;
  gap: var(--space-40);
}

/* Figma: photo cover + rgba(169,23,52,0.5) wash */
.steps__panel--cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(0deg, rgba(169, 23, 52, 0.5), rgba(169, 23, 52, 0.5)),
    url("../images/home/steps-bg.webp") center / cover no-repeat;
  z-index: 0;
  border-radius: inherit;
}

/* Dark gradient rising from bottom (Figma card: light top → deep red/black base) */
.steps__panel--cta::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0) 42%,
    rgba(40, 4, 14, 0.35) 68%,
    rgba(20, 2, 8, 0.72) 100%
  );
  z-index: 0;
  pointer-events: none;
  border-radius: inherit;
}

.steps__panel--cta > * {
  position: relative;
  z-index: 1;
}

.steps__cta-top {
  display: flex;
  flex-direction: column;
  gap: clamp(40px, 3.6458vw, 70px);
  width: 100%;
  max-width: clamp(280px, 19.375vw, 372px);
}

.steps__fast-title {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: var(--fs-42);
  line-height: normal;
  color: var(--color-white);
  margin: 0;
  position: relative;
  top: var(--helvetica-nudge);
}

/* Figma 310:6026 — check+lead row, then full-width em (372) */
.steps__fast-block {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}

.steps__fast-row {
  display: flex;
  align-items: center;
  gap: clamp(14px, 0.8854vw, 17px);
  width: 100%;
}

.steps__fast-row .check-item__icon {
  flex-shrink: 0;
  display: block;
}

.steps__fast-lead {
  font-family: var(--font-inter);
  font-weight: 600;
  font-size: var(--fs-20);
  line-height: 1.3;
  color: var(--color-white);
  margin: 0;
  min-width: 0;
}

.steps__fast-em {
  font-family: var(--font-inter);
  font-weight: 600;
  font-size: var(--fs-24);
  line-height: 1.3;
  color: var(--color-white);
  margin: 0;
  white-space: nowrap;
}

/* ========== TESTIMONIALS — Figma 310:6053 ========== */
.testimonials {
  --testimonials-gap: var(--space-24);
  --testimonials-per-view: 3;
  position: relative;
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, #000 0%, var(--color-primary) 100%);
  color: var(--color-white);
  /* Content-sized — video cards are shorter than original quote cards */
  min-height: 0;
  padding: clamp(74px, 7.2396vw, 139px) var(--figma-padding-x) 0;
  overflow: hidden;
  isolation: isolate;
}

.testimonials__slider {
  width: 100%;
  overflow: visible;
}

.testimonials__photo {
  position: relative;
  order: 2;
  left: auto;
  top: auto;
  width: calc(100% + 2 * var(--figma-padding-x));
  max-width: none;
  height: auto;
  margin: clamp(20px, 2.0833vw, 40px) calc(-1 * var(--figma-padding-x)) 0;
  object-fit: contain;
  object-position: center top;
  display: block;
  z-index: 0;
  pointer-events: none;
}

/* Soft red wash OVER the lower photo — keep light so waists stay visible */
.testimonials::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: clamp(48px, 5vw, 96px);
  background: linear-gradient(
    180deg,
    rgba(250, 39, 62, 0) 0%,
    rgba(250, 39, 62, 0.08) 70%,
    var(--color-primary) 100%
  );
  z-index: 1;
  pointer-events: none;
}

.testimonials__content {
  position: relative;
  z-index: 2;
  order: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(28px, 2.5vw, 48px);
  width: 100%;
}

.testimonials__sub {
  color: var(--color-text-soft); /* #dbdbdb */
  font-family: var(--font-inter);
  font-weight: 400;
  font-size: var(--fs-20);
  line-height: 1.3;
}

.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--testimonials-gap);
  width: 100%;
  transform: none;
}

.testimonial-card {
  position: relative;
  z-index: 2;
  background: var(--color-white);
  color: var(--color-black);
  border-radius: var(--radius-card);
  padding: var(--space-32);
  display: flex;
  flex-direction: column;
  gap: var(--space-28);
  box-shadow: 0 -13px 40px rgba(0, 0, 0, 0.07);
  box-sizing: border-box;
  min-width: 0;
}

.testimonial-card--video {
  padding: clamp(10px, 0.8333vw, 16px);
  gap: 0;
}

.testimonial-card__video {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: calc(var(--radius-card) - 4px);
  overflow: hidden;
  background: #111;
  touch-action: pan-y;
}

.testimonial-card__video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.testimonial-card__play {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  margin: 0;
  cursor: pointer;
  background: #111;
  display: block;
  -webkit-tap-highlight-color: transparent;
}

.testimonial-card__poster {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
}

.testimonial-card__play-icon {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 64px;
  height: 64px;
  margin: -32px 0 0 -32px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.55);
  pointer-events: none;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
}

.testimonial-card__play-icon::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-40%, -50%);
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 10px 0 10px 16px;
  border-color: transparent transparent transparent #fff;
}

.testimonial-card__quote {
  font-family: var(--font-inter);
  font-weight: 400;
  font-size: var(--fs-20);
  line-height: 1.3;
  color: var(--color-text-muted); /* #666363 */
  margin: 0;
}

.testimonial-card__meta {
  display: flex;
  flex-direction: column;
  gap: var(--space-28);
  width: 100%;
}

.testimonial-card__person {
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 100%;
}

.testimonial-card__name {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: var(--fs-24);
  line-height: 1.1;
  color: var(--color-black);
  margin: 0;
  position: relative;
  top: var(--helvetica-nudge);
}

.testimonial-card__role {
  font-family: var(--font-serif-display);
  font-weight: 400;
  font-size: var(--fs-20);
  line-height: 1.4;
  color: #5d5d5d;
  text-transform: capitalize;
  margin: 0;
}

.testimonial-card__media {
  width: 100%;
  height: clamp(180px, 15.052vw, 289px);
  border-radius: var(--radius-card);
  background: #fff9f3;
}

.testimonials__bullets {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-24);
  width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
  /* Sit in the clear band between cards and faces (Figma) */
  position: relative;
  z-index: 2;
}

.testimonials__bullets .check-item {
  align-items: center;
  gap: var(--space-16);
}

.testimonials__bullets .check-item__icon {
  margin-top: 0;
  display: block;
  flex-shrink: 0;
}

.testimonials__bullets .check-item__text {
  font-family: var(--font-inter);
  font-weight: 400;
  font-size: var(--fs-20);
  line-height: 1.3;
  color: var(--color-white);
}

/* ========== CAMPUSES ========== */
/* Figma 310:6115 — tabs 84 + pink 532 = image 616; no panel overflow clip */
.campuses {
  padding: var(--section-pad-y) var(--figma-padding-x);
}

.campuses__heading {
  max-width: none;
}

/* Desktop: section description stays one line */
.campuses .section-heading__sub {
  white-space: nowrap;
  max-width: none;
}

.campuses__panel {
  margin-top: clamp(45.3328px, 4.4271vw, 85px);
  display: grid;
  grid-template-columns: minmax(0, 848fr) minmax(0, 872fr);
  align-items: stretch;
}

.campuses__left {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.campuses__tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  flex-shrink: 0;
}

.campuses__tab {
  box-sizing: border-box;
  min-height: clamp(48px, 4.375vw, 84px);
  padding: clamp(14px, 1.3542vw, 26px) clamp(16px, 1.875vw, 36px);
  border: 0.5px solid #f74f48;
  border-radius: 0;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: var(--fs-28);
  line-height: 1.1;
  text-transform: uppercase;
  text-align: left;
  background: var(--color-white);
  color: var(--color-black);
  position: relative;
  top: var(--helvetica-nudge);
  transition: background 0.3s var(--ease-out), color 0.3s var(--ease-out);
}

/* Outer top-left corner always on first tab so border isn’t clipped when 2nd is active */
.campuses__tab:first-child {
  border-top-left-radius: var(--radius-card);
}

.campuses__tab[aria-selected="true"] {
  background: var(--color-black);
  color: var(--color-white);
}

/* 2nd tab: never rounded, including when active */
.campuses__tab:last-child,
.campuses__tab:last-child[aria-selected="true"] {
  border-radius: 0;
}

.campuses__body {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  background: var(--color-campus-pink);
  border: 0.5px solid var(--color-primary-soft);
  border-top: 0;
  border-radius: 0 0 0 var(--radius-card);
  padding: var(--space-40) clamp(40px, 6.1458vw, 118px) var(--space-34) clamp(16px, 1.3542vw, 26px);
  min-height: 0;
}

.campuses__body[hidden] {
  display: none;
}

.campuses__desc {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: var(--fs-28);
  line-height: calc(36 / 28);
  margin: 0 0 var(--space-42);
  text-transform: capitalize;
  position: relative;
  top: var(--helvetica-nudge);
  color: var(--color-black);
}

.campuses__features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-24);
  margin: 0;
  padding: 0;
  list-style: none;
}

.campuses__feature--wide {
  grid-column: 1 / -1;
}

.campuses__features .check-item {
  align-items: center;
  gap: var(--space-16);
}

.campuses__features .check-item__icon {
  margin-top: 0;
  width: clamp(16px, 1.1458vw, 22px);
  height: clamp(16px, 1.1458vw, 22px);
}

.campuses__features .check-item__text {
  font-family: var(--font-inter);
  font-weight: 600;
  font-size: var(--fs-20);
  line-height: 1.3;
  color: var(--color-black);
}

.campuses__image {
  position: relative;
  align-self: stretch;
  /* Figma 872×616 — locks row height so pink body can stretch to match */
  aspect-ratio: 872 / 616;
  border-radius: 0 var(--radius-card) var(--radius-card) 0;
  overflow: hidden;
}

.campuses__image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ========== FAQ ========== */
/* Figma 310:6125 — Q Helvetica Medium 24 / A Inter Regular 20 #666363 */
.faq {
  padding: 0 var(--figma-padding-x) var(--section-pad-y);
}

.faq .section-heading {
  gap: 0;
}

.faq .section-heading__title {
  gap: 8px;
}

.faq__list {
  margin-top: clamp(23.33px, 5.2083vw, 100px);
  max-width: clamp(718px, 70.1563vw, 1347px);
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-left: clamp(6px, 0.5208vw, 10px);
  padding-right: clamp(10px, 1.0417vw, 20px);
  box-sizing: border-box;
}

.faq__item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(16px, 2.1875vw, 42px);
  align-items: center;
  cursor: pointer;
}

.faq__panel {
  width: 100%;
  border: 0.5px solid var(--color-primary);
  border-radius: var(--radius-card-sm);
  background-color: var(--color-white);
  background-image: linear-gradient(
    180deg,
    rgba(241, 106, 127, 0) 0%,
    rgba(241, 106, 127, 0) 100%
  );
  /* Figma: pl26 pr118 py32 */
  padding: var(--space-32) clamp(32px, 6.1458vw, 118px) var(--space-32) clamp(14px, 1.3542vw, 26px);
  transition:
    background-image 0.4s var(--ease-out),
    background-color 0.4s var(--ease-out),
    border-color 0.35s var(--ease-out),
    border-width 0.35s var(--ease-out);
  box-sizing: border-box;
  cursor: pointer;
}

.faq__item.is-open .faq__panel {
  /* Active: no border + pink→transparent wash */
  border-width: 0;
  border-color: transparent;
  background-color: var(--color-white);
  background-image: linear-gradient(
    180deg,
    rgba(241, 106, 127, 0.6) 0%,
    rgba(241, 106, 127, 0) 100%
  );
  background-clip: padding-box;
  background-origin: padding-box;
}

.faq__trigger {
  width: 100%;
  text-align: left;
  font: inherit;
  color: inherit;
  cursor: pointer;
}

.faq__q {
  display: block;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: var(--fs-24);
  line-height: 1.1;
  color: var(--color-black);
  position: relative;
  top: var(--helvetica-nudge);
  font-synthesis: none;
}

.faq__a {
  /* Figma 310:6146 — gap 20 under question; animate open/close */
  font-family: var(--font-inter);
  font-weight: 400;
  font-size: var(--fs-20);
  line-height: 1.3;
  color: var(--color-text-muted); /* #666363 */
  font-synthesis: none;
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  margin-top: 0;
  transition:
    grid-template-rows 0.4s var(--ease-out),
    opacity 0.3s var(--ease-out),
    margin-top 0.35s var(--ease-out);
}

.faq__a-inner {
  overflow: hidden;
  min-height: 0;
}

.faq__item.is-open .faq__a {
  grid-template-rows: 1fr;
  opacity: 1;
  margin-top: var(--space-20);
}

.faq__icon-wrap {
  position: relative;
  width: clamp(32px, 2.1875vw, 42px);
  height: clamp(32px, 2.1875vw, 42px);
  flex-shrink: 0;
  cursor: pointer;
  border: 0;
  padding: 0;
  background: none;
  appearance: none;
  -webkit-appearance: none;
}

.faq__icon {
  width: clamp(32px, 2.1875vw, 42px);
  height: clamp(32px, 2.1875vw, 42px);
  display: block;
  max-width: none;
  position: absolute;
  inset: 0;
  transition: opacity 0.3s var(--ease-out);
  pointer-events: none;
}

.faq__icon--minus {
  opacity: 0;
}

.faq__item.is-open .faq__icon--plus {
  opacity: 0;
}

.faq__item.is-open .faq__icon--minus {
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  .faq__panel,
  .faq__a,
  .faq__icon {
    transition: none;
  }
}

/* ========== FOOTER CTA ========== */
/* Desktop 310:6207 — content left, students right; Mobile 366:6618 — students under copy */
.footer-cta {
  position: relative;
  padding: clamp(70px, 5.7292vw, 110px) var(--figma-padding-x);
  color: var(--color-white);
  overflow: hidden;
}

.footer-cta__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.footer-cta__bg-img {
  position: absolute;
  /* Figma: h 159.81% left -0.6% top -29.94% w 111.9% */
  left: -0.6%;
  top: -29.94%;
  width: 111.9%;
  height: 159.81%;
  max-width: none;
  object-fit: cover;
}

.footer-cta__overlay {
  position: absolute;
  inset: 0;
  /* Left wash for copy; light short bottom fade into copyright bar */
  background:
    linear-gradient(
      to top,
      rgba(0, 0, 0, 0.45) 0%,
      rgba(0, 0, 0, 0.12) 8%,
      rgba(0, 0, 0, 0) 18%
    ),
    linear-gradient(
      to left,
      rgba(0, 0, 0, 0) 21.484%,
      rgba(0, 0, 0, 0.76) 65.561%,
      #000 100%
    );
}

.footer-cta__students {
  position: absolute;
  left: 51.43%;
  top: 5.29%;
  width: 43.08%;
  height: 94.71%;
  max-width: none;
  object-fit: contain;
  object-position: center bottom;
  z-index: 1;
}

.footer-cta__inner {
  position: relative;
  z-index: 2;
  max-width: clamp(564.8px, 55.1563vw, 1059px);
  min-height: clamp(320px, 25vw, 480px);
  display: flex;
  flex-direction: column;
  gap: clamp(24px, 2.1875vw, 42px);
  justify-content: center;
  align-items: flex-start;
}

.footer-cta__copy {
  display: flex;
  flex-direction: column;
  gap: clamp(24px, 1.875vw, 36px);
  width: 100%;
}

.footer-cta__intro {
  display: flex;
  flex-direction: column;
  gap: clamp(28px, 2.5vw, 48px);
  width: 100%;
}

.footer-cta__title {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0;
  color: var(--color-white);
}

/* Figma 310:6217 — Helvetica Neue Thin 54 / uppercase */
.footer-cta__title-top {
  display: block;
  font-family: var(--font-sans);
  font-weight: 200;
  font-size: var(--fs-54);
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
  position: relative;
  top: var(--helvetica-nudge);
  font-synthesis: none;
}

/* Figma 366:6631 — items-end + brand text-box-trim */
.footer-cta__title-row {
  display: flex;
  flex-wrap: nowrap;
  align-items: flex-end;
  gap: 8px;
}

/* Figma 310:6219 / 366:6632 — Helvetica Neue Light / lowercase */
.footer-cta__with {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: var(--fs-44);
  line-height: 1;
  text-transform: lowercase;
  position: relative;
  top: var(--helvetica-nudge);
  font-synthesis: none;
  display: flex;
  align-items: flex-end;
}

/* Figma 310:6220 / 366:6633 — Bold + text-box trim so “with” meets cap baseline */
.footer-cta__brand {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: var(--fs-94);
  text-transform: uppercase;
  line-height: 1;
  position: relative;
  top: var(--helvetica-nudge);
  font-synthesis: none;
  text-box-trim: trim-both;
  text-box-edge: cap alphabetic;
}

.footer-cta__info {
  display: flex;
  flex-direction: column;
  gap: clamp(20px, 1.6667vw, 32px);
  align-items: flex-start;
}

/* Figma 310:6223 — Inter Regular 20 / #dbdbdb */
.footer-cta__lead {
  margin: 0;
  font-family: var(--font-inter);
  font-weight: 400;
  font-size: var(--fs-20);
  line-height: 1.3;
  color: var(--color-text-soft);
  max-width: clamp(400px, 37.6563vw, 723px);
  font-synthesis: none;
}

.footer-cta__meta {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(16px, 1.875vw, 36px);
  align-items: center;
  width: 100%;
}

.footer-cta__meta-item {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
}

.footer-cta__meta-icon {
  width: clamp(30px, 2.3958vw, 46px);
  height: clamp(30px, 2.3958vw, 46px);
  flex-shrink: 0;
  display: block;
  max-width: none;
}

/* Figma 310:6234 — Helvetica Neue Medium 22 / lh 1.1 */
.footer-cta__meta-item span {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: var(--fs-22);
  line-height: 1.1;
  color: var(--color-white);
  position: relative;
  top: var(--helvetica-nudge);
  font-synthesis: none;
}

.footer-cta__divider {
  width: 1px;
  height: clamp(32px, 2.3438vw, 45px);
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.45);
}

.footer-cta__deadline {
  display: flex;
  flex-direction: column;
  gap: 0;
  align-items: flex-start;
}

/* Figma 310:6247 — Inter Regular 20 / #dbdbdb */
.footer-cta__deadline-label {
  margin: 0;
  font-family: var(--font-inter);
  font-weight: 400;
  font-size: var(--fs-20);
  line-height: 1.3;
  color: var(--color-text-soft);
  text-transform: capitalize;
  font-synthesis: none;
}

/* Figma — Helvetica Neue Medium 28 / lh 1.1 */
.footer-cta__deadline-date {
  margin: 0;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: var(--fs-28);
  line-height: 1.1;
  color: var(--color-white);
  position: relative;
  top: var(--helvetica-nudge);
  font-synthesis: none;
}

.footer-cta__apply {
  flex-shrink: 0;
}

/* Figma 310:6250 — Helvetica Neue Bold 16 / rgba(243,243,243,0.6) */
.footer-bar {
  background: var(--color-black);
  color: rgba(243, 243, 243, 0.6);
  text-align: center;
  min-height: 62px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  box-sizing: border-box;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: clamp(12px, 0.8333vw, 16px);
  text-transform: uppercase;
  line-height: 1;
}

.footer-bar p {
  margin: 0;
  position: relative;
  top: var(--helvetica-nudge);
  white-space: nowrap;
  font-synthesis: none;
}

/* ========== TABLET 768–1023: keep form, student feet on banner bottom ========== */
@media (max-width: 1023px) and (min-width: 768px) {
  .hero__banner {
    /* Content-driven height — kill desktop 720px floor that floats the girl */
    min-height: 0;
    /* Clearance for deadline + trust overlap band (trust only eats this pad) */
    padding-bottom: clamp(150px, 17vw, 190px);
    z-index: 1;
    isolation: isolate;
  }

  .hero__body {
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
    gap: clamp(20px, 3vw, 48px);
    min-height: 0;
  }

  .hero__copy {
    /* Keep deadline above the trust strip */
    padding-bottom: clamp(8px, 1vw, 16px);
    position: relative;
    z-index: 2;
  }

  .hero__deadline {
    position: relative;
    z-index: 3;
  }

  .hero__glass {
    width: 100%;
    max-width: clamp(240px, 30vw, 340px);
    height: clamp(360px, 48vw, 520px);
    margin-left: auto;
  }

  /* Feet in pad zone — nudged right so title/stats aren’t covered */
  .hero__student {
    left: 40%;
    width: 28%;
    top: auto;
    bottom: 0;
    height: 76%;
    max-height: none;
    object-fit: contain;
    object-position: center bottom;
    z-index: 0;
  }

  /*
   * Overlap banner pad only — must stay ≤ padding-bottom so deadline stays clear.
   * No negative margin-bottom (covers recruiters heading).
   */
  .trust {
    position: relative;
    z-index: 10;
    margin-top: clamp(-88px, -9vw, -64px);
    margin-bottom: 0;
  }

  /*
   * In-flow full photo — desktop absolute+cover crops waists at tablet.
   * Side pad on content only; photo full-bleed.
   */
  .recruiters {
    display: flex;
    flex-direction: column;
    padding: clamp(40px, 5vw, 64px) var(--figma-padding-x) 0;
    overflow: visible;
  }

  .recruiters__content {
    order: 1;
    width: 100%;
  }

  .recruiters__photo {
    position: relative;
    order: 2;
    left: auto;
    top: auto;
    width: calc(100% + 2 * var(--figma-padding-x));
    max-width: none;
    height: auto;
    max-height: none;
    aspect-ratio: auto;
    object-fit: contain;
    object-position: center center;
    display: block;
    margin: clamp(16px, 2vw, 28px) calc(-1 * var(--figma-padding-x)) 0;
  }
}

/* ========== ≤1023 shared ========== */
@media (max-width: 1023px) {
  :root {
    /* Section top/bottom rhythm — 35px, not desktop 74/140 clamps */
    --space-100: 35px;
    --space-140: 35px;
    --section-pad-y: 35px;
  }

  /* Dark under trust overhang — only below desktop */
  .hero {
    background: #000;
  }

  .recruiters {
    margin-top: 0;
  }

  /*
   * Section top + bottom = 35 (tokens cover most; force hardcoded clamps too).
   * Explicit 0s stay 0 (pathways, faq top, etc.).
   */
  .roles,
  .steps,
  .campuses,
  .testimonials,
  .footer-cta {
    padding-top: 35px;
    padding-bottom: 35px;
  }

  /* Learning: top 35 only — bottom 0 so photo can sit on exams table */
  .learning {
    padding-top: 35px;
    padding-bottom: 0;
  }

  .fees {
    padding-top: 35px;
    /* keep image clearance below — not section rhythm */
  }

  .faq {
    padding-bottom: 35px;
  }

  .recruiters__stats {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .recruiters__stat {
    height: auto;
    min-height: 120px;
    border-radius: 12px;
  }

  .recruiters__stat:first-child,
  .recruiters__stat:last-child {
    border-radius: 12px;
  }

  .roles {
    --roles-per-view: 3.1;
  }

  /* Pathways autoplay slider — equal-height cards, 2.1 peek */
  .pathways {
    --pathways-gap: 16px;
    --pathways-per-view: 2.1;
    padding-bottom: 0;
    padding-top: 0;
  }

  .pathways__slider {
    overflow: hidden;
    margin-top: 20px;
    padding: 20px 28px 28px;
    margin-inline: -28px;
  }

  .pathways__grid {
    display: flex;
    align-items: stretch;
    gap: var(--pathways-gap);
    will-change: transform;
    transition: transform 0.55s var(--ease-out);
  }

  .pathways__col {
    display: contents;
  }

  .roles .section-heading__sub {
    width: auto;
    max-width: 100%;
    white-space: normal;
  }

  .roles__card {
    border-radius: var(--radius-card);
    min-height: 0;
  }

  .pathway-card--tall,
  .pathway-card--short {
    flex: 0 0 calc((100% - (var(--pathways-per-view) - 1) * var(--pathways-gap)) / var(--pathways-per-view));
    width: auto;
    height: 280px;
    min-height: 280px;
    max-height: 280px;
    padding: var(--space-32) var(--space-24);
    gap: var(--space-24);
    justify-content: flex-start;
  }

  .pathway-card--tall {
    padding-right: var(--space-24);
  }

  .pathway-card--tall .pathway-card__stack {
    gap: var(--space-24);
    max-width: none;
    flex: 1 1 auto;
  }

  .pathway-card--short .pathway-card__body,
  .pathway-card--tall .pathway-card__body {
    max-width: none;
  }

  .pathway-card__art {
    width: 38%;
    max-height: 40%;
  }

  .pathway-modal__grid {
    grid-template-columns: 1fr;
  }

  .pathway-modal__cell:nth-child(odd) .pathway-modal__body {
    border-right: 0;
  }

  .pathway-modal__cell:nth-child(-n + 2) {
    border-bottom: 0;
  }

  .pathway-modal__cell {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  }

  .pathway-modal__cell:last-child {
    border-bottom: 0;
  }

  /* Learning features autoplay slider — 2.1 peek */
  .learning {
    --learning-gap: 12px;
    --learning-per-view: 2.1;
  }

  .learning__slider {
    overflow: hidden;
    padding: 20px 28px 28px;
    margin-inline: -28px;
  }

  .learning__features {
    display: flex;
    gap: var(--learning-gap);
    will-change: transform;
    transition: transform 0.55s var(--ease-out);
    border-radius: 0;
  }

  .learning__feature,
  .learning__feature:first-child,
  .learning__feature:last-child {
    flex: 0 0 calc((100% - (var(--learning-per-view) - 1) * var(--learning-gap)) / var(--learning-per-view));
    border-radius: var(--radius-card);
    min-height: 240px;
    height: auto;
  }

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

  .learning__survey-head {
    flex-wrap: wrap;
  }

  /*
   * ≤1023: photo is in-flow in .learning__photo-space (JS) —
   * stays inside the red block, clear of the exams table.
   */
  .learning {
    order: 1;
    margin-bottom: 0;
    /* Clip spiral so it can’t paint over the exams table */
    overflow: hidden;
    padding-bottom: 0;
  }

  .learning__lower {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
    align-items: end;
    gap: clamp(20px, 3vw, 32px);
  }

  .learning__reqs {
    max-width: none;
    padding-bottom: clamp(12px, 2vw, 24px);
    padding-right: clamp(8px, 1.5vw, 16px);
  }

  .learning__reqs-block {
    max-width: none;
  }

  .learning__reqs .section-heading__title,
  .learning__reqs .section-heading__title .line-medium,
  .learning__reqs .section-heading__title .line-thin {
    white-space: normal;
  }

  /* Spiral inside photo-space (JS) — behind students */
  .learning__photo-space {
    display: block;
    visibility: visible;
    position: relative;
    isolation: isolate;
    overflow: visible;
    max-width: none;
    width: 100%;
    margin-top: 0;
    margin-bottom: 0;
    aspect-ratio: auto;
  }

  .learning__photo-space .learning__wave {
    position: absolute;
    left: -90%;
    top: -35%;
    width: 260%;
    height: 160%;
    padding: 0;
    overflow: visible;
    z-index: 0;
    pointer-events: none;
  }

  .learning__photo-space .learning__wave img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: contain;
    object-position: center center;
    transform: rotate(2deg) scale(1.15);
    transform-origin: center center;
    opacity: 1;
  }

  .learning__photo {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    width: 100%;
    max-width: none;
    margin: 0;
    z-index: 2;
    transform: none;
  }

  .exams {
    order: 2;
    margin-top: 24px;
    width: calc(100% - 32px);
    overflow: visible;
    display: block;
  }

  .exams__scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  /*
   * Fees campus: desktop absolute sits under content via large pb.
   * ≤1023 stack is taller — pull image in-flow full-bleed under content.
   */
  .fees {
    display: flex;
    flex-direction: column;
    padding-bottom: 0;
    overflow: visible;
  }

  .fees__content {
    order: 1;
    width: 100%;
  }

  .fees__campus {
    position: relative;
    order: 2;
    left: auto;
    top: auto;
    width: calc(100% + 2 * var(--figma-padding-x));
    max-width: none;
    height: auto;
    max-height: none;
    aspect-ratio: auto;
    object-fit: contain;
    object-position: center top;
    display: block;
    margin: clamp(12px, 2vw, 24px) calc(-1 * var(--figma-padding-x)) 0;
    z-index: 0;
  }

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

  .fees__left,
  .fees__stack,
  .fees__block {
    max-width: none;
    margin-left: 0;
  }

  .fees__list .check-item__text {
    white-space: normal;
  }

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

  .steps__panels {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .steps__center {
    min-height: clamp(320px, 70vw, 480px);
    order: -1;
  }

  .steps__panel--dark,
  .steps__panel--cta {
    border-radius: 0;
  }

  .steps__cta-top {
    max-width: none;
  }

  .steps__fast-em {
    white-space: normal;
  }

  .testimonials {
    --testimonials-gap: 16px;
    --testimonials-per-view: 2.1;
    overflow: visible;
  }

  .testimonials__content {
    gap: 32px;
    width: 100%;
  }

  .testimonials__photo {
    margin: clamp(16px, 2.5vw, 28px) calc(-1 * var(--figma-padding-x)) 0;
  }

  .testimonials__slider {
    overflow: hidden;
    padding: 0;
    margin-inline: 0;
  }

  .testimonials__grid {
    display: flex;
    align-items: stretch;
    gap: var(--testimonials-gap);
    will-change: transform;
    transition: transform 0.55s var(--ease-out);
  }

  .testimonial-card {
    flex: 0 0 calc((100% - (var(--testimonials-per-view) - 1) * var(--testimonials-gap)) / var(--testimonials-per-view));
    height: auto;
  }

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

  .testimonials::after {
    display: none;
  }

  .campuses .section-heading__sub {
    white-space: normal;
  }

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

  .campuses__left {
    min-height: 0;
  }

  /* 2nd tab: top-right radius when stacked (desktop keeps square for image join) */
  .campuses__tab:last-child,
  .campuses__tab:last-child[aria-selected="true"] {
    border-top-right-radius: var(--radius-card);
  }

  .campuses__body {
    flex: 0 0 auto;
    border-radius: 0;
    padding-right: clamp(16px, 1.3542vw, 26px);
  }

  .campuses__image {
    aspect-ratio: 872 / 520;
    border-radius: 0 0 var(--radius-card) var(--radius-card);
  }
}

/*
 * Mobile banner + footer — Figma 440 reference
 * Banner: node 310:6745 | Footer: node 366:6618
 */
@media (max-width: 767px) {
  :root {
    --figma-padding-x: 16px;
  }

  .roles {
    --roles-per-view: 2.1;
    --roles-gap: 10px;
  }

  .roles__card {
    padding: var(--space-24);
  }

  .pathways {
    --pathways-per-view: 1.1;
  }

  .testimonials {
    --testimonials-per-view: 1.1;
  }

  .pathway-card--tall,
  .pathway-card--short {
    height: 260px;
    min-height: 260px;
    max-height: 260px;
  }

  /* ----- Mobile banner — copy → student image → form ----- */
  .hero__banner {
    padding: calc(var(--sticky-header-h) + 8px) 16px 24px;
    min-height: 0;
    overflow: visible;
    background: var(--color-primary);
  }

  .hero__bg-gradient {
    background: linear-gradient(165deg, #000 36%, rgba(0, 0, 0, 0) 78%);
  }

  .hero__bg-img {
    object-position: center bottom;
    opacity: 0.9;
  }

  /* Hide absolute student — use in-flow mobile image between copy and form */
  .hero__bg .hero__student {
    display: none !important;
  }

  /*
   * Must beat base .hero__student { position: absolute } or the image
   * leaves the flex flow and the form appears above the girl.
   * Desired mobile order: copy → girl → form
   */
  .hero__student.hero__student--mobile {
    display: block;
    position: relative !important;
    left: auto !important;
    top: auto !important;
    right: auto !important;
    bottom: auto !important;
    inset: auto;
    order: 2;
    width: 100%;
    max-width: 340px;
    height: auto !important;
    max-height: none;
    margin: 8px auto 16px;
    object-fit: contain;
    object-position: center bottom;
    z-index: 2;
    pointer-events: none;
  }

  .hero__inner {
    gap: 20px;
    position: relative;
    z-index: 2;
  }

  .hero__top {
    justify-content: flex-start;
    --sticky-header-pad-y: 10px;
    width: 100%;
    max-width: 100%;
    padding-inline: 16px;
    gap: 10px;
    box-sizing: border-box;
  }

  .page {
    --sticky-header-h: calc(52px + 20px);
    --mobile-sticky-cta-h: calc(52px + env(safe-area-inset-bottom, 0px));
    padding-bottom: var(--mobile-sticky-cta-h);
  }

  /* Header Apply hidden on mobile — CTA moves to bottom sticky */
  .hero__top .pill-btn {
    display: none !important;
  }

  .mobile-sticky-cta {
    display: block;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 400;
    padding: 0;
    padding-bottom: env(safe-area-inset-bottom, 0px);
    background: var(--color-primary);
    box-shadow: none;
    box-sizing: border-box;
  }

  .mobile-sticky-cta .pill-btn {
    display: inline-flex;
    width: 100%;
    max-width: none;
    min-width: 0;
    --btn-w: 100%;
    --btn-pad-x: 20px;
    --btn-pad-y: 16px;
    --btn-fs: 16px;
    --btn-lh: 20px;
    --btn-icon: 36px;
    --btn-gap: 12px;
    padding: var(--btn-pad-y) var(--btn-pad-x);
    font-size: var(--btn-fs);
    line-height: var(--btn-lh);
    justify-content: center;
    border-radius: 0;
  }

  .mobile-sticky-cta .pill-btn__fill {
    border-radius: 0;
  }

  .mobile-sticky-cta .pill-btn__label {
    flex: 0 1 auto;
    text-align: center;
    font-size: 16px;
    line-height: 20px;
  }

  .mobile-sticky-cta .pill-btn__icon,
  .mobile-sticky-cta .pill-btn__icon-rest,
  .mobile-sticky-cta .pill-btn__icon-hover {
    width: var(--btn-icon);
    height: var(--btn-icon);
  }

  .hero__logo {
    width: 151px;
    height: 52px;
    max-width: 42vw;
  }

  .hero__body {
    display: flex;
    flex-direction: column;
    gap: 0;
  }

  .hero__glass {
    display: block;
    width: 100%;
    max-width: none;
    /* Fit form content — avoid tall empty white iframe */
    height: 520px;
    margin: 0 0 8px;
    order: 3; /* after girl image */
    position: relative;
    z-index: 3;
    flex-shrink: 0;
  }

  .hero__form-frame {
    border-radius: 16px;
  }

  .hero__copy {
    order: 1;
    gap: 0;
    max-width: none;
    padding-top: 0;
    padding-bottom: 8px;
    position: relative;
    z-index: 2;
  }

  .hero__eyebrow {
    font-size: 18px;
    line-height: 1.5;
    margin-bottom: 16px;
    letter-spacing: 0;
  }

  .hero__title {
    gap: 6px;
    margin-bottom: 24px;
  }

  .hero__title-top {
    font-size: 30px;
  }

  .hero__title-row {
    gap: 6px;
    flex-wrap: wrap;
    align-items: baseline;
  }

  .hero__title-with {
    font-size: 20px;
  }

  .hero__title-brand {
    font-size: 52px;
  }

  .hero__lead {
    font-size: 16px;
    line-height: 1.3;
    max-width: none;
    margin-bottom: 16px;
  }

  .hero__stats {
    gap: 16px;
    margin-bottom: 16px;
  }

  .hero__stats-row {
    gap: 16px;
    flex-wrap: nowrap;
  }

  .hero__stat {
    gap: 10px;
    min-width: 0;
  }

  .hero__stat-icon {
    width: 30px;
    height: 30px;
  }

  .hero__stat-value {
    font-size: 18px;
    line-height: 1.1;
  }

  .hero__stat-label {
    font-size: 16px;
    line-height: 1.3;
  }

  /* Figma: Accreditation / CTC labels larger; Management slightly smaller */
  .hero__stats-row:first-child .hero__stat:first-child .hero__stat-label,
  .hero__stats-row:last-child .hero__stat-label {
    font-size: 20px;
  }

  .hero__stat-divider {
    height: 40px;
    flex-shrink: 0;
  }

  .hero__deadline-label {
    font-size: 16px;
    margin-bottom: 0;
  }

  .hero__deadline-date {
    font-size: 26px;
    line-height: 1.1;
  }

  /*
   * Trust mobile — overlap banner only; no negative margin-bottom
   * (desktop clamp was covering “200+ Recruiters”).
   */
  .trust {
    /* width: min(400px, calc(100% - 24px)); */
    margin: -40px auto 0;
    padding: 12px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.34);
    z-index: 5;
  }

  .hero {
    padding-bottom: 0;
  }

  .hero__banner {
    z-index: 1;
  }

  .hero__student {
    z-index: 0;
  }

  .trust__inner {
    padding: 24px 14px 16px;
    border-radius: 12px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .trust__inner::-webkit-scrollbar {
    display: none;
  }

  .trust:has(.trust__row.is-marquee) .trust__inner {
    padding-inline: 0;
    overflow: hidden;
  }

  .trust__row {
    justify-content: flex-start;
    gap: 16px;
    width: max-content;
    min-width: 100%;
  }

  .trust__row.is-marquee {
    min-width: 0;
    animation: trust-marquee 32s linear infinite;
    will-change: transform;
  }

  .trust__row.is-marquee:hover {
    animation-play-state: paused;
  }

  .trust__item {
    flex: 0 0 auto;
    width: 149px;
    max-width: none;
  }

  .trust__item:not(:last-child)::after {
    right: -8px;
    height: 148px;
  }

  .trust__badge,
  .trust__badge--dual {
    width: 128px;
    height: 100px;
  }

  .trust__rank {
    font-size: 16px;
  }

  .trust__label {
    font-size: 12px;
  }

  .trust__logo--aacsb,
  .trust__logo--amba,
  .trust__logo--nirf,
  .trust__logo--bloomberg {
    width: 55px;
    height: 55px;
  }

  .trust__logo--aacsb {
    top: -10px;
  }

  .trust__logo--amba {
    top: 20px;
  }

  .trust__logo--ft {
    width: 62px;
    height: 62px;
  }

  .trust__logo--bt {
    width: 42px;
    height: 42px;
    top: 12px;
  }

  .trust__logo--bw {
    width: 52px;
    max-height: 18px;
    top: 38px;
  }

  /* ----- Mobile footer banner (366:6618) — students under copy ----- */
  .footer-cta {
    padding: 35px 16px 0;
    min-height: 636px;
  }

  .footer-cta__overlay {
    background:
      linear-gradient(165deg, #000 33.11%, rgba(0, 0, 0, 0) 92.18%),
      linear-gradient(180deg, rgba(0, 0, 0, 0) 67.91%, #000 96.13%);
  }

  .footer-cta__bg-img {
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }

  .footer-cta__students {
    display: block;
    left: 9.28%;
    top: 52.52%;
    width: 81.45%;
    height: 49.21%;
    object-fit: contain;
    object-position: center bottom;
  }

  .footer-cta__inner {
    max-width: none;
    min-height: 0;
    width: 100%;
    gap: 16px;
    /* Keep copy above students; image sits under text */
    padding-bottom: clamp(260px, 72vw, 320px);
  }

  .footer-cta__copy {
    gap: 16px;
  }

  .footer-cta__intro {
    gap: 24px;
  }

  .footer-cta__title {
    gap: 6px;
  }

  .footer-cta__title-top {
    font-size: 28px;
    white-space: normal;
  }

  .footer-cta__title-row {
    gap: 6px;
  }

  .footer-cta__with {
    font-size: 18px;
  }

  .footer-cta__brand {
    font-size: 50px;
  }

  .footer-cta__info {
    gap: 16px;
    width: 100%;
  }

  .footer-cta__lead {
    font-size: 14px;
    max-width: none;
    width: 100%;
  }

  .footer-cta__meta {
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
  }

  .footer-cta__divider {
    display: none;
  }

  .footer-cta__meta-item {
    gap: 10px;
  }

  .footer-cta__meta-icon {
    width: 30px;
    height: 30px;
  }

  .footer-cta__meta-item span {
    font-size: 16px;
  }

  .footer-cta__deadline-label {
    font-size: 14px;
  }

  .footer-cta__deadline-date {
    font-size: 24px;
    line-height: 1.1;
  }

  .footer-cta__apply {
    display: none; /* not in mobile footer design 366:6618 */
  }

  .footer-bar {
    min-height: 52px;
    padding: 16px;
    font-size: 12px;
  }

  /* Recruiters — clear below trust, then 2-col stats + full photo */
  .recruiters {
    display: flex;
    flex-direction: column;
    padding: 35px 12px 0;
    overflow: visible;
  }

  .recruiters__content {
    order: 1;
    gap: 24px;
    width: 100%;
  }

  .recruiters__content .section-heading {
    max-width: none;
    padding-inline: 0;
  }

  .recruiters__content .section-heading__sub br {
    display: none;
  }

  .recruiters__stats {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    width: 100%;
  }

  .recruiters__stat {
    border-radius: 12px !important;
    min-height: 110px;
    padding: 14px;
  }

  .recruiters__stat:first-child,
  .recruiters__stat:last-child {
    border-radius: 12px !important;
    padding-right: 14px;
  }

  .recruiters__stat-label {
    font-size: 13px;
    min-height: 0;
  }

  .recruiters__stat-label small {
    font-size: 11px;
  }

  .recruiters__stat-num {
    font-size: clamp(22px, 7.5vw, 34px);
  }

  .recruiters__stat-unit {
    font-size: 15px;
  }

  /*
   * Full-bleed photo — cancel section side padding (12px).
   * width/height auto + contain = whole asset, no cover crop.
   */
  .recruiters__photo {
    position: relative;
    order: 2;
    left: auto;
    top: auto;
    width: calc(100% + 24px);
    max-width: none;
    height: auto;
    max-height: none;
    aspect-ratio: auto;
    object-fit: contain;
    object-position: center center;
    display: block;
    margin: 12px -12px 0;
  }

  .learning {
    --learning-per-view: 1.1;
    overflow: hidden;
    padding-bottom: 0;
    margin-bottom: 0;
  }

  .exams {
    position: relative;
    z-index: 5;
  }

  .learning__feature,
  .learning__feature:first-child,
  .learning__feature:last-child {
    min-height: 220px;
  }

  /*
   * Mobile: photo + spiral in photo-space —
   * lays on the red section bottom, spiral behind students.
   */
  .learning__lower {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .learning__reqs {
    padding-bottom: 16px;
  }

  .learning__photo-space {
    width: min(78%, 300px);
    margin: 8px auto 0;
  }

  .learning__photo-space .learning__wave {
    left: -140%;
    top: -55%;
    width: 360%;
    height: 210%;
  }

  .learning__photo-space .learning__wave img {
    transform: rotate(2deg) scale(1.45);
  }

  .learning__photo {
    position: relative;
    z-index: 2;
  }

  .exams {
    margin-top: 20px;
    overflow: visible;
  }

  /* other mobile stacks — steps stay 2-col */
  .campuses__features {
    grid-template-columns: 1fr;
  }

  .faq__item {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
  }

  .section-heading__title {
    font-size: 28px;
  }
}

/* Exams table — horizontal scroll before cells crush status text */
@media (max-width: 550px) {
  .exams {
    width: calc(100% - 24px);
    padding: 12px;
  }

  .exams__head {
    font-size: 14px;
    line-height: 1.3;
    padding: 14px 12px;
  }

  .exams__scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 0 -4px;
    padding: 0 4px 4px;
  }

  .exams__table {
    width: max-content;
    min-width: 560px;
    table-layout: auto;
  }

  .exams__table th,
  .exams__table td {
    font-size: 14px;
    line-height: 1.25;
    padding: 12px 14px;
    height: auto;
    min-height: 48px;
    white-space: nowrap;
  }

  .exams__status {
    gap: 8px;
  }

  .exams__status img {
    width: 18px;
    height: 18px;
  }

  .exams__note {
    font-size: 12px;
    padding: 0 12px 14px;
  }
}

@media (max-width: 450px) {
  .pill-btn {
    width: 100%;
  }

  .section-heading__title {
    font-size: 24px;
  }
}

/* Narrow phones — clamp(min floor, fluid, +2px max); keep 2-col stats */
@media (max-width: 400px) {
  .roles {
    --roles-per-view: 1.1;
  }

  .hero__banner {
    padding: calc(var(--sticky-header-h) + 6px) 14px 20px;
    min-height: 0;
  }

  .hero__inner {
    gap: 0;
  }

  .hero__logo {
    width: clamp(132px, 36.5vw, 145px);
    height: clamp(46px, 12.7vw, 50px);
  }

  .page {
    --sticky-header-h: calc(clamp(46px, 12.7vw, 50px) + 20px);
  }

  .hero__copy {
    padding-bottom: 8px;
  }

  .hero__glass {
    height: 500px;
  }

  .hero__student.hero__student--mobile {
    max-width: 300px;
  }

  .hero__eyebrow {
    font-size: clamp(12px, 3.4vw, 14px);
    margin-bottom: 10px;
  }

  .hero__title {
    gap: 4px;
    margin-bottom: 14px;
  }

  .hero__title-top {
    font-size: clamp(20px, 5.6vw, 22px);
    white-space: normal;
  }

  .hero__title-row {
    gap: 4px;
  }

  .hero__title-with {
    font-size: clamp(14px, 4vw, 16px);
  }

  .hero__title-brand {
    font-size: clamp(34px, 9.5vw, 38px);
  }

  .hero__lead {
    font-size: clamp(13px, 3.7vw, 15px);
    margin-bottom: 12px;
    white-space: normal;
  }

  .hero__stats {
    gap: 12px;
    margin-bottom: 12px;
  }

  .hero__stats-row {
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    gap: clamp(8px, 2.5vw, 12px);
  }

  .hero__stat-divider {
    display: block;
    height: 36px;
  }

  .hero__stat {
    gap: 8px;
  }

  .hero__stat-icon {
    width: clamp(26px, 7.5vw, 28px);
    height: clamp(26px, 7.5vw, 28px);
  }

  .hero__stat-value {
    font-size: clamp(14px, 4vw, 16px);
  }

  .hero__stat-label,
  .hero__stats-row:first-child .hero__stat:first-child .hero__stat-label,
  .hero__stats-row:last-child .hero__stat-label {
    font-size: clamp(13px, 3.7vw, 15px);
  }

  .hero__deadline {
    position: relative;
    z-index: 3;
    max-width: 52%;
  }

  .hero__deadline-label {
    font-size: clamp(12px, 3.4vw, 14px);
  }

  .hero__deadline-date {
    font-size: clamp(18px, 5.2vw, 20px);
  }

  /* Spiral a bit more right + bottom */
  .hero__bg-img {
    object-position: 48% 100%;
    top: 34%;
    height: 84%;
    inset: auto 0 0 0;
  }

  /* Absolute student stays hidden on mobile; in-flow image used instead */
  .hero__bg .hero__student {
    display: none;
  }

  /* .trust {
    width: min(100% - 28px, 360px);
    margin-top: -28px;
  } */

  .trust__row.is-marquee {
    animation-duration: 28s;
  }
}

@keyframes trust-marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .trust__row.is-marquee {
    animation: none;
  }
}
