@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;500;600;700;800&display=swap');
:root {
  --red: #c4122f;
  --red-deep: #a70e13;
  --red-rgb: 196, 18, 47;
  --black: #161616;
  --beige: #f7ead4;
  --beige-light: #fbf3df;
  --paper: #ffffff;
  --ink: #1a1a1a;
  --muted: #595959;
  --cool-grey: #666666;
  --mist: #d6d6d6;
  --line: #d7d8d4;
  --economics: #9c5f0c;
  --digital: #087078;
  --health: #b43494;
  --max: 1240px;
  --serif: Georgia, "Times New Roman", serif;
  --sans: "Open Sans", "Segoe UI", Arial, sans-serif;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.13);
  --shadow-small: 0 12px 28px rgba(0, 0, 0, 0.1);
  --shadow-red: 0 18px 40px rgba(196, 18, 47, 0.22);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 94px;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

[hidden] {
  display: none !important;
}

[inert] {
  pointer-events: none;
}

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

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

button,
summary {
  font: inherit;
}

button {
  color: inherit;
  background: none;
}

h1,
h2,
h3,
h4,
p,
dl,
dd,
figure,
blockquote,
ul {
  margin: 0;
}

ul {
  padding: 0;
}

h1,
h2,
h3,
h4 {
  color: var(--black);
  font-family: var(--serif);
  font-weight: 700;
  text-wrap: balance;
}

h2 {
  font-size: clamp(1.9rem, 2.6vw, 2.5rem);
  line-height: 1.14;
  letter-spacing: -0.015em;
}

h3 {
  font-size: clamp(1.3rem, 1.6vw, 1.5rem);
  line-height: 1.28;
  letter-spacing: -0.01em;
}

h4 {
  font-size: 1.05rem;
  line-height: 1.3;
}

address {
  font-style: normal;
}

cite {
  font-style: normal;
}

:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 4px;
}

.hero-copy :focus-visible,
.hero-programme-bar :focus-visible,
.scroll-cue:focus-visible,
.closing-cta :focus-visible,
.application-intro :focus-visible {
  outline-color: var(--beige-light);
}

.container {
  width: min(calc(100% - 48px), var(--max));
  margin-inline: auto;
}

.section {
  position: relative;
  padding: 112px 0;
}

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

.notice-bar {
  position: relative;
  z-index: 1100;
  padding: 12px 20px;
  background: var(--black);
  text-align: center;
}

.notice-bar[hidden] {
  display: none;
}

.notice-bar-text {
  margin: 0;
  color: var(--paper);
  font-family: var(--sans);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  line-height: 1.4;
}

.notice-bar-text .notice-bar-countdown {
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.skip-link {
  position: fixed;
  z-index: 3000;
  top: 8px;
  left: 12px;
  padding: 10px 16px;
  background: var(--paper);
  color: var(--black);
  font-weight: 800;
  box-shadow: var(--shadow-small);
  transform: translateY(-150%);
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.eyebrow,
.programme-label,
.detail-label,
.audience-label {
  display: flex;
  align-items: center;
  gap: 11px;
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  line-height: 1.4;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 32px;
  height: 2px;
  flex: 0 0 auto;
  background: currentColor;
  content: "";
}

.eyebrow-light {
  color: var(--beige-light);
}

.credential-badge {
  display: inline-flex;
  align-items: baseline;
  gap: 9px;
  margin-top: 24px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  color: var(--black);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.credential-badge cite {
  color: var(--cool-grey);
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
}

.section-heading {
  max-width: 980px;
}

.section-heading h2 {
  margin-top: 20px;
}

.section-heading > p:last-child:not(.eyebrow) {
  max-width: 700px;
  margin-top: 24px;
  color: var(--muted);
  font-size: 1.08rem;
}

.button {
  position: relative;
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 13px 23px;
  border: 2px solid var(--red);
  background: var(--red);
  color: var(--paper);
  font-size: 0.87rem;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
  will-change: transform;
}

.button:hover {
  border-color: var(--red-deep);
  background: var(--red-deep);
  transform: translateY(-2px);
}

.button-small {
  min-height: 44px;
  padding: 10px 17px;
  font-size: 0.78rem;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 2px;
  border-bottom: 2px solid currentColor;
  color: var(--black);
  font-weight: 800;
  line-height: 1.2;
}

.text-link span {
  color: var(--red);
  transition: transform 0.2s ease;
}

.text-link:hover span {
  transform: translateY(3px);
}

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

.text-link-light span {
  color: var(--beige);
}

.reveal-ready [data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal-ready [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

.reveal-ready [data-reveal-stagger] > * {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
  transition-delay: var(--stagger-delay, 0s);
}

.reveal-ready [data-reveal-stagger].is-visible > * {
  opacity: 1;
  transform: none;
}

/* Header */
.site-header {
  position: sticky;
  z-index: 1000;
  top: 0;
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid rgba(0, 0, 0, 0.14);
  transition: box-shadow 0.25s ease;
}

.site-header.is-scrolled {
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.09);
}

.scroll-progress {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 3px;
  overflow: hidden;
}

.scroll-progress span {
  display: block;
  width: 0;
  height: 100%;
  background: var(--red);
}

.header-inner {
  display: grid;
  min-height: 82px;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 32px;
}

.brand {
  display: inline-flex;
  align-items: center;
}

.brand img {
  width: 154px;
  height: auto;
}

.desktop-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(15px, 2vw, 28px);
}

.desktop-nav a {
  position: relative;
  padding: 8px 0;
  color: var(--black);
  font-size: 0.82rem;
  font-weight: 700;
}

.desktop-nav a::after {
  position: absolute;
  right: 0;
  bottom: 3px;
  left: 0;
  height: 2px;
  background: var(--red);
  content: "";
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.2s ease;
}

.desktop-nav a:hover::after,
.desktop-nav a:focus-visible::after {
  transform: scaleX(1);
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 44px;
  padding: 10px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.menu-toggle > span:not(.sr-only) {
  display: block;
  width: 25px;
  height: 2px;
  margin: 5px auto;
  background: var(--black);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.menu-toggle[aria-expanded="true"] > span:nth-child(2) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] > span:nth-child(3) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] > span:nth-child(4) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-nav {
  position: fixed;
  z-index: 999;
  inset: 82px 0 0;
  padding: 34px 24px;
  overflow-y: auto;
  background: var(--beige-light);
}

.mobile-nav > a:not(.button) {
  display: block;
  padding: 18px 4px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.18);
  color: var(--black);
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 700;
}

.mobile-nav .button {
  width: 100%;
  margin-top: 30px;
}

/* Hero */
.hero {
  position: relative;
  min-height: calc(100svh - 82px);
  overflow: hidden;
  background: var(--black);
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% center;
  /* display: none; */
}

.hero-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg,
    rgba(0, 0, 0, 0.94) 0%,
    rgba(0, 0, 0, 0.78) 32%,
    rgba(0, 0, 0, 0.4) 56%,
    rgba(196, 18, 47, 0.22) 80%,
    rgba(196, 18, 47, 0.38) 100%);
}

.hero-glow {
  position: absolute;
  right: -12%;
  bottom: -25%;
  width: min(60vw, 780px);
  aspect-ratio: 1;
  background: radial-gradient(circle, rgba(196, 18, 47, 0.55) 0%, rgba(196, 18, 47, 0) 68%);
  pointer-events: none;
  will-change: transform;
}

.hero-copy {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  min-height: calc(100svh - 82px);
  padding: 150px clamp(24px, 6vw, 100px) 190px max(24px, calc((100vw - var(--max)) / 2));
}

.hero-copy-inner {
  width: 100%;
  max-width: 640px;
}

.hero h1 {
  margin-top: 20px;
  color: var(--paper);
  font-size: clamp(2.6rem, 4.2vw, 4.6rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.hero-title-dot {
  color: var(--red);
}

.hero-lead {
  max-width: 520px;
  margin-top: 26px;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1rem, 1.2vw, 1.15rem);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-top: 40px;
}

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

.hero-reveal {
  opacity: 0;
  animation: heroFadeUp 0.9s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: var(--d, 0s);
}

.scroll-cue {
  position: absolute;
  z-index: 3;
  left: max(24px, calc((100vw - var(--max)) / 2));
  bottom: 120px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0;
  animation: heroFadeUp 0.9s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: 0.7s;
}

.scroll-cue-line {
  position: relative;
  width: 1px;
  height: 42px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.25);
}

.scroll-cue-line::after {
  position: absolute;
  top: -100%;
  right: 0;
  left: 0;
  height: 100%;
  background: var(--red);
  content: "";
  animation: scrollcue 2s ease-in-out infinite;
}

@keyframes scrollcue {
  0% { top: -100%; }
  55% { top: 100%; }
  100% { top: 100%; }
}

.hero-programme-bar {
  position: absolute;
  z-index: 3;
  right: 0;
  bottom: 0;
  left: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.hero-programme-pill {
  --accent: var(--red);
  display: flex;
  min-height: 88px;
  align-items: center;
  gap: 16px;
  padding: 16px clamp(18px, 2.4vw, 34px);
  border-left: 1px solid rgba(255, 255, 255, 0.14);
  color: var(--paper);
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.35);
  transition: background 0.2s ease;
}

.hero-programme-pill:first-child {
  border-left: 0;
}

.hero-programme-pill:hover,
.hero-programme-pill:focus-visible {
  background: rgba(255, 255, 255, 0.08);
}

.hero-programme-index {
  color: var(--accent);
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 700;
  flex: 0 0 auto;
}

.hero-programme-pill strong {
  font-family: var(--serif);
  font-size: clamp(0.95rem, 1.1vw, 1.1rem);
  font-weight: 700;
  line-height: 1.25;
}

/* Application */
.application-section {
  position: relative;
  padding: 90px 0;
  background: var(--paper);
}

.application-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.application-intro {
  max-width: 640px;
  text-align: center;
}

.application-intro .eyebrow {
  justify-content: center;
}

.application-intro h2 {
  margin-top: 16px;
}

.application-intro > p:not(.eyebrow) {
  margin-top: 16px;
  color: var(--muted);
  font-size: 1.05rem;
}

.application-jump {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 30px;
  padding-bottom: 4px;
  border-bottom: 2px solid var(--red);
  color: var(--black);
  font-size: 0.82rem;
  font-weight: 800;
}

.widget-frame {
  width: 100%;
  margin-top: 44px;
  padding: 20px;
  border-top: 3px solid var(--red);
  background: var(--beige-light);
  box-shadow: var(--shadow-small);
}

.widget-slot {
  min-height: 520px;
  overflow: visible;
  background: var(--paper);
}

/* If the CMS replaces {{RegistrationForm}} with an <iframe> embed, make sure it at
   least isn't clipped or forced into its own scrollbar by anything on this side. An
   iframe's own height/scrolling behaviour is set by its own embed code, though, so if
   the real widget still shows an internal scrollbar once live, that setting needs
   changing wherever that embed snippet/form-builder tool is configured, not here. */
.widget-slot iframe {
  display: block;
  width: 100%;
  height: auto;
  min-height: inherit;
  border: 0;
  overflow: visible;
}

/* India story */
.india-story {
  overflow: hidden;
  background: var(--paper);
}

.india-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  align-items: end;
  gap: clamp(52px, 8vw, 120px);
}

.india-statement h2 {
  max-width: 740px;
  margin-top: 22px;
}

.india-quote {
  max-width: 620px;
  margin-top: 30px;
  padding-left: 22px;
  border-left: 3px solid var(--red);
  color: var(--red);
  font-family: var(--serif);
  font-size: clamp(1.3rem, 1.8vw, 1.7rem);
  font-style: italic;
  line-height: 1.4;
}

.india-response {
  padding: 36px;
  border-top: 3px solid var(--black);
  background: var(--red);
}

.india-response > p {
  color: var(--paper);
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1.45;
}

.institution-stats {
  display: grid;
  overflow: hidden;
  margin-top: 34px;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  border-left: 1px solid rgba(255, 255, 255, 0.3);
}

.institution-stats > div {
  min-width: 0;
  min-height: 126px;
  padding: 20px;
  border-right: 1px solid rgba(255, 255, 255, 0.3);
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.institution-stats dt {
  color: var(--paper);
  font-family: var(--serif);
  font-size: 2.15rem;
  font-weight: 700;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.institution-stats dd {
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.94);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  line-height: 1.35;
  text-transform: uppercase;
}

/* Programme index */
.programme-index {
  background: var(--beige-light);
}

.programme-index-heading {
  max-width: 1080px;
}

/* Programme carousel: a pinned, scroll-scrubbed slide-through of the three programmes,
   modelled on the AMC 2026 "Student benefits" slider. The section is made tall (300vh) so
   that scrolling through it drives the crossfade in initProgrammeCarousel() while the
   sticky container stays pinned in the viewport; it releases back into normal scroll once
   the last slide has settled. Collapses to a plain stacked list below 980px. */
.programme-carousel {
  position: relative;
  height: 300vh;
  min-height: 1500px;
}

.programme-carousel-sticky {
  position: sticky;
  top: 0;
  display: flex;
  height: 100vh;
  min-height: 640px;
  flex-direction: column;
  justify-content: center;
  overflow: clip;
}

.programme-slider {
  position: relative;
  width: 100%;
  height: min(62vh, 560px);
  min-height: 460px;
  margin-top: 42px;
  /* perspective: 1200px; */
}

.programme-slide {
  --accent: var(--black);
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: minmax(320px, 0.92fr) minmax(340px, 1.08fr);
  align-items: stretch;
  gap: 40px;
  overflow: hidden;
  padding: 44px;
  background: var(--paper);
  border-top: 3px solid var(--accent);
  box-shadow: var(--shadow);
  backface-visibility: hidden;
  will-change: opacity, transform;
}

.programme-slide[aria-hidden="true"] {
  pointer-events: none;
}

/* When a "View Curriculum..." toggle opens, the carousel breaks out of its pinned/sticky
   mode entirely: the active slide switches to normal document flow so its expand panel
   pushes the rest of the page down instead of scrolling inside a fixed-height box. The
   other two slides hide; scrolling to close restores the pinned crossfade. */
.programme-carousel.is-details-open {
  height: auto;
  min-height: 0;
}

.programme-carousel.is-details-open .programme-carousel-sticky {
  position: static;
  height: auto;
  min-height: 0;
}

.programme-carousel.is-details-open .programme-slider {
  height: auto;
  min-height: 0;
  perspective: none;
}

.programme-carousel.is-details-open .programme-slide {
  position: relative;
  inset: auto;
  grid-template-columns: 1fr;
  opacity: 1 !important;
  transform: none !important;
}

.programme-carousel.is-details-open .programme-slide:not(.is-active) {
  display: none;
}

.programme-carousel.is-details-open .programme-slide-image {
  min-height: 320px;
  max-height: 420px;
}

.programme-carousel.is-details-open .programme-slide-copy {
  overflow-y: visible;
  max-height: none;
}

/* While details are open, swap the dot-nav (unclear here) for a plain-language "Hide"
   button, moved before the (now very tall) expanded slide via order:-1, and pinned near
   the header so it stays reachable at any scroll depth. */
.programme-carousel.is-details-open .programme-slider {
  display: flex;
  flex-direction: column;
}

.programme-carousel.is-details-open .programme-slide-dots {
  display: none;
}

.slide-collapse-bar {
  display: none;
}

.programme-carousel.is-details-open .slide-collapse-bar {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  position: sticky;
  top: 96px;
  order: -1;
  align-self: center;
  z-index: 500;
  margin-bottom: 24px;
  padding: 13px 22px;
  border: 0;
  background: var(--black);
  color: var(--paper);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: var(--shadow);
  transition: background 0.2s ease;
}

.programme-carousel.is-details-open .slide-collapse-bar:hover {
  background: var(--red-deep);
}

.programme-slide-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 0;
  overflow-y: auto;
}

.programme-slide-copy.has-expanded {
  justify-content: flex-start;
}

.programme-slide-copy h3 {
  margin-top: 16px;
  font-size: clamp(1.5rem, 2.2vw, 2.05rem);
  line-height: 1.16;
}

.programme-slide-copy > p {
  margin-top: 18px;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.slide-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 26px;
}

.slide-expand-toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 18px;
  border: 2px solid var(--accent);
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 800;
  text-align: left;
  transition: background 0.2s ease, color 0.2s ease;
}

.slide-expand-toggle:hover {
  background: var(--accent);
  color: var(--paper);
}

.slide-expand-icon {
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.25s ease;
}

.slide-expand-toggle[aria-expanded="true"] .slide-expand-icon {
  transform: rotate(-135deg);
}

.slide-expand-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.4s cubic-bezier(0.65, 0, 0.35, 1);
}

.slide-expand-panel.is-expanded {
  grid-template-rows: 1fr;
}

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

.slide-expand-inner > p {
  margin-top: 16px;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.55;
}

.slide-expand-inner > p:first-child {
  margin-top: 18px;
}

.slide-expand-inner > p strong {
  color: var(--black);
}

.slide-expand-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.slide-expand-tags span {
  padding: 6px 12px;
  border: 1px solid var(--line);
  color: var(--black);
  font-size: 0.72rem;
  font-weight: 700;
}

.map-economics {
  --accent: var(--economics);
}

.map-digital {
  --accent: var(--digital);
}

.map-health {
  --accent: var(--health);
}

.map-degree {
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.programme-slide-image {
  overflow: hidden;
  background: var(--black);
}

.programme-slide-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.programme-slide-dots {
  position: absolute;
  bottom: -46px;
  left: 50%;
  display: flex;
  gap: 2px;
  transform: translateX(-50%);
}

.programme-slide-dot {
  width: 26px;
  height: 26px;
  padding: 8px;
  border: 0;
  border-radius: 50%;
  background: var(--mist);
  background-clip: content-box;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.programme-slide-dot.is-active {
  background: var(--red);
  background-clip: content-box;
  transform: scale(1.3);
}

/* Programme chapters */
.programme-chapter {
  --accent: var(--black);
  position: relative;
  padding: 120px 0;
  scroll-margin-top: 82px;
}

.chapter-economics {
  --accent: var(--economics);
  background: var(--paper);
}

.chapter-digital {
  --accent: var(--digital);
  background: var(--beige);
}

.chapter-health {
  --accent: var(--health);
  background: var(--paper);
}

.chapter-heading {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  align-items: baseline;
  gap: clamp(20px, 3vw, 34px);
}

.chapter-index {
  color: var(--accent);
  font-family: var(--serif);
  font-size: clamp(2.2rem, 2.8vw, 2.8rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1;
}

.programme-label {
  color: var(--accent);
}

.chapter-title-block h2 {
  max-width: 700px;
  margin-top: 16px;
  font-size: clamp(2rem, 2.7vw, 2.6rem);
}

.chapter-title-block > p:last-child {
  max-width: 730px;
  margin-top: 24px;
  color: var(--muted);
  font-size: 1.08rem;
}

/* Chapter accordion */
.chapter-quicklinks {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  margin-top: 38px;
  padding-left: calc(56px + clamp(20px, 3vw, 34px));
}

.chapter-toggle {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  min-height: 52px;
  padding: 13px 22px;
  border: 2px solid var(--accent);
  background: transparent;
  color: var(--accent);
  font-size: 0.83rem;
  font-weight: 800;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.chapter-toggle:hover {
  background: var(--accent);
  color: var(--paper);
}

.chapter-toggle-icon {
  width: 9px;
  height: 9px;
  flex: 0 0 auto;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.25s ease;
}

.chapter-toggle[aria-expanded="true"] .chapter-toggle-icon {
  transform: rotate(-135deg);
}

.chapter-details {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.45s cubic-bezier(0.65, 0, 0.35, 1);
}

.chapter-details.is-expanded {
  grid-template-rows: 1fr;
}

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

html:not(.js) .chapter-details {
  grid-template-rows: 1fr;
}

html:not(.js) .chapter-toggle {
  display: none;
}

html:not(.js) .slide-expand-panel {
  grid-template-rows: 1fr;
}

html:not(.js) .slide-expand-toggle {
  display: none;
}

html:not(.js) .programme-carousel {
  height: auto;
  min-height: 0;
}

html:not(.js) .programme-carousel-sticky {
  position: static;
  height: auto;
  min-height: 0;
}

html:not(.js) .programme-slider {
  height: auto;
  min-height: 0;
  perspective: none;
}

html:not(.js) .programme-slide {
  position: relative;
  inset: auto;
  grid-template-columns: 1fr;
  margin-top: 18px;
  opacity: 1;
  transform: none;
}

html:not(.js) .programme-slide-dots {
  display: none;
}

/* Stat trio */
.stat-trio {
  display: grid;
  margin-top: 54px;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 16px;
}

.stat-trio-card {
  padding: 24px 22px;
  border: 1px solid var(--line);
  border-top: 4px solid var(--accent);
  background: var(--paper);
}

.stat-trio-card strong {
  display: block;
  color: var(--accent);
  font-family: var(--serif);
  font-size: clamp(1.9rem, 2.6vw, 2.5rem);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
  line-height: 1;
}

.stat-trio-card p {
  margin-top: 13px;
  color: var(--black);
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.4;
}

.stat-trio-card cite {
  display: block;
  margin-top: 12px;
  color: var(--cool-grey);
  font-size: 0.72rem;
}

/* Pull quote (faculty voice) */
.pull-quote {
  margin-top: 40px;
  padding: 34px clamp(26px, 4vw, 46px);
  border-left: 4px solid var(--red);
  background: var(--beige-light);
}

.pull-quote p {
  color: var(--black);
  font-family: var(--serif);
  font-size: clamp(1.25rem, 1.9vw, 1.6rem);
  font-style: italic;
  line-height: 1.45;
}

.pull-quote cite {
  display: block;
  margin-top: 18px;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.5;
}

.chapter-feature {
  display: grid;
  margin-top: 54px;
  grid-template-columns: minmax(0, 1.08fr) minmax(380px, 0.92fr);
  align-items: stretch;
}

.chapter-image {
  position: relative;
  min-height: 440px;
  overflow: hidden;
  background: var(--black);
}

.chapter-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.chapter-image figcaption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 14px 18px;
  background: rgba(0, 0, 0, 0.95);
  color: var(--paper);
  font-size: 0.75rem;
  font-style: italic;
}

.chapter-facts-wrap {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(34px, 5vw, 64px);
  border-top: 3px solid var(--accent);
  background: var(--beige-light);
}

.feature-reversed .chapter-image {
  order: 2;
}

.feature-reversed .chapter-facts-wrap {
  order: 1;
}

.audience-label {
  color: var(--accent);
}

.chapter-facts {
  display: grid;
  overflow: hidden;
  margin-top: 30px;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid rgba(0, 0, 0, 0.22);
  border-left: 1px solid rgba(0, 0, 0, 0.22);
}

.chapter-facts > div {
  min-height: 130px;
  padding: 19px;
  border-right: 1px solid rgba(0, 0, 0, 0.22);
  border-bottom: 1px solid rgba(0, 0, 0, 0.22);
}

.chapter-facts dt {
  color: var(--black);
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.15;
}

.chapter-facts dd {
  margin-top: 9px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.45;
}

.chapter-detail {
  display: grid;
  margin-top: 50px;
  grid-template-columns: minmax(0, 1.28fr) minmax(320px, 0.72fr);
  gap: clamp(28px, 5vw, 70px);
}

.detail-label {
  color: var(--accent);
}

.study-block h3,
.fit-card h3 {
  margin-top: 15px;
}

.study-block > p:not(.detail-label),
.fit-card p:not(.detail-label) {
  margin-top: 17px;
  color: var(--muted);
}

/* Curriculum tabs */
.curriculum-tabs {
  margin-top: 28px;
}

.tab-list {
  display: inline-flex;
  gap: 6px;
  padding: 5px;
  background: var(--beige-light);
}

.tab-btn {
  padding: 10px 20px;
  border: 0;
  background: transparent;
  color: var(--black);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.tab-btn.is-active {
  background: var(--accent);
  color: var(--paper);
}

.tab-panel {
  padding-top: 26px;
}

.course-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px 20px;
  list-style: none;
}

.course-list-dense {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.course-list-wide {
  grid-template-columns: 1fr;
}

.course-list li {
  position: relative;
  min-height: 54px;
  padding: 13px 12px 13px 23px;
  border-top: 1px solid var(--line);
  color: var(--black);
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.4;
}

.course-list li::before {
  position: absolute;
  top: 19px;
  left: 2px;
  width: 8px;
  height: 8px;
  background: var(--accent);
  content: "";
}

.course-list li span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 600;
  font-style: italic;
}

.fit-card {
  display: flex;
  align-self: start;
  flex-direction: column;
  gap: 28px;
  padding: 30px;
  border-top: 3px solid var(--accent);
  background: var(--beige-light);
}

.chapter-digital .fit-card {
  background: var(--paper);
}

.experience-note {
  padding-top: 24px;
  border-top: 1px solid rgba(0, 0, 0, 0.22);
}

.chapter-cta {
  display: flex;
  min-height: 50px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 3px;
  padding: 13px 17px;
  background: var(--red);
  color: var(--paper);
  font-size: 0.8rem;
  font-weight: 800;
  transition: background 0.2s ease;
}

.chapter-cta:hover {
  background: var(--red-deep);
}

.chapter-cta:focus-visible {
  outline-color: var(--beige-light);
}

/* Also part of the year */
.also-part {
  margin-top: 46px;
  padding: 28px clamp(24px, 4vw, 40px);
  border-left: 4px solid var(--accent);
  background: rgba(0, 0, 0, 0.04);
}

.also-part-list {
  display: grid;
  margin-top: 16px;
  gap: 12px;
  list-style: none;
}

.also-part-list li {
  position: relative;
  padding-left: 22px;
  color: var(--black);
  font-size: 0.92rem;
  line-height: 1.55;
}

.also-part-list li::before {
  position: absolute;
  top: 8px;
  left: 0;
  width: 8px;
  height: 8px;
  background: var(--accent);
  content: "";
}

/* Why-section carousel */
.why-section {
  margin-top: 72px;
}

.why-section h3 {
  max-width: 760px;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px 18px;
  margin-top: 30px;
}

.why-card {
  padding: 28px;
  border-top: 3px solid var(--accent);
  background: var(--beige-light);
}

.chapter-digital .why-card {
  background: var(--paper);
  box-shadow: var(--shadow-small);
}

.why-number {
  display: block;
  color: var(--accent);
  font-family: var(--serif);
  font-size: 2.1rem;
  font-weight: 700;
}

.why-card h4 {
  margin-top: 14px;
  color: var(--black);
  font-size: 1.05rem;
  line-height: 1.28;
}

.why-card p {
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.5;
}

/* Pathways within a chapter */
.pathway-block {
  margin-top: 72px;
}

.pathway-grid {
  display: grid;
  margin-top: 28px;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px 32px;
}

.pathway-group h4 {
  padding-bottom: 12px;
  border-bottom: 2px solid var(--accent);
  color: var(--black);
  font-size: 1rem;
}

.pathway-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.pathway-tags span {
  padding: 7px 13px;
  background: rgba(0, 0, 0, 0.06);
  color: var(--black);
  font-size: 0.78rem;
  font-weight: 700;
}

/* Research ecosystem */
.research {
  position: relative;
  padding: 90px 0 130px;
  background: linear-gradient(to bottom, var(--red) 0%, var(--red) 55%, var(--paper) 55%, var(--paper) 100%);
}

.research-heading {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.research-heading .eyebrow {
  justify-content: center;
}

.research-heading h2 {
  color: var(--paper);
  font-size: 1.75rem;
  font-weight: 800;
}

.research-heading > p:last-child:not(.eyebrow) {
  max-width: none;
  margin-inline: auto;
  color: rgba(255, 255, 255, 0.88);
}

.research-cards {
  position: relative;
  display: grid;
  align-items: start;
  margin-top: 60px;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.research-card {
  position: relative;
  display: flex;
  flex-direction: column;
}

.research-card-image {
  height: 220px;
  overflow: hidden;
  border-radius: 4px 4px 0 0;
  background: var(--black);
}

.research-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.research-card-body {
  position: relative;
  z-index: 2;
  display: flex;
  flex: 1;
  flex-direction: column;
  margin-top: -12px;
  padding: 20px 22px 26px;
  background: var(--paper);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18);
  border-bottom: 3px solid var(--red);
}

.research-card-body h3 {
  margin-bottom: 8px;
  color: var(--red);
  font-size: 0.98rem;
}

.research-card-body p {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.55;
}

.research-card-body .research-proof {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 6px;
  margin: 12px 0;
  padding: 10px 12px;
  background: var(--beige-light);
  border-left: 3px solid var(--red);
}

.research-card-body .research-proof strong {
  color: var(--red);
  font-family: var(--serif);
  font-size: 1.02rem;
  font-weight: 700;
}

.research-card-body .research-proof cite {
  flex-basis: 100%;
  color: var(--cool-grey);
  font-size: 0.7rem;
  line-height: 1.4;
}


.research-card-body .research-projects-label {
  margin-top: 16px;
  color: var(--red);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.research-card-body .research-projects {
  margin-top: 8px;
  padding-left: 16px;
  font-size: 0.82rem;
  line-height: 1.5;
}

.research-card-body .research-projects li {
  margin-top: 6px;
}

.research-card-body .research-projects li::marker {
  color: var(--red);
}

/* Faculty */
.faculty {
  padding: 112px 0;
  background: var(--paper);
}

.faculty-intro {
  max-width: 640px;
}

.faculty-intro > p:last-child:not(.eyebrow) {
  max-width: 560px;
  margin-top: 20px;
  color: var(--muted);
}

.faculty-groups {
  margin-top: 48px;
}

.faculty-group {
  border-top: 1px solid var(--line);
}

.faculty-group:last-child {
  border-bottom: 1px solid var(--line);
}

.faculty-group summary {
  display: grid;
  grid-template-columns: 1fr 26px;
  align-items: center;
  gap: 25px;
  padding: 26px 0;
  cursor: pointer;
  list-style: none;
}

.faculty-group summary::-webkit-details-marker {
  display: none;
}

.faculty-group-name {
  color: var(--black);
  font-family: var(--serif);
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  font-weight: 700;
}

.faculty-group-count {
  color: var(--muted);
  font-family: var(--sans);
  font-size: 0.9rem;
  font-weight: 600;
}

.faculty-group-icon {
  position: relative;
  width: 22px;
  height: 22px;
}

.faculty-group-icon::before,
.faculty-group-icon::after {
  position: absolute;
  top: 10px;
  left: 2px;
  width: 18px;
  height: 2px;
  background: var(--red);
  content: "";
  transition: transform 0.2s ease;
}

.faculty-group-icon::after {
  transform: rotate(90deg);
}

.faculty-group[open] .faculty-group-icon::after {
  transform: rotate(0deg);
}

.faculty-carousel {
  --accent: var(--red);
  position: relative;
  padding-bottom: 40px;
  animation: faq-fade 0.3s ease;
}

.faculty-track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.faculty-track::-webkit-scrollbar {
  display: none;
}

.faculty-card {
  flex: 0 0 min(230px, 70vw);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--paper);
  border-radius: 4px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
}

.faculty-card img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  background: var(--beige-light);
}

.faculty-card-body {
  padding: 16px 18px 18px;
}

.faculty-card-body h3 {
  font-size: 1rem;
}

.faculty-card-body p {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.45;
}

.faculty-type {
  display: inline-block;
  margin-top: 10px;
  color: var(--red);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.carousel-controls {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 22px;
}

.carousel-btn {
  display: flex;
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--accent);
  font-size: 1.1rem;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, opacity 0.2s ease;
}

.carousel-btn:hover:not(:disabled) {
  background: var(--accent);
  color: var(--paper);
}

.carousel-btn:disabled {
  opacity: 0.32;
  cursor: default;
}

.carousel-track-bar {
  position: relative;
  flex: 1 1 auto;
  height: 4px;
  background: var(--line);
}

.carousel-track-fill {
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  height: 100%;
  background: var(--accent);
  transition: width 0.15s ease;
}

/* Career support */
.career {
  padding: 112px 0;
  background: var(--beige-light);
}

.career-heading {
  max-width: 760px;
}

.career-approach {
  display: grid;
  margin-top: 44px;
  grid-template-columns: minmax(0, 1.15fr) minmax(260px, 0.85fr);
  align-items: start;
  gap: clamp(28px, 5vw, 56px);
}

.career-approach-copy h3 {
  margin-top: 10px;
  color: var(--black);
}

.career-approach-copy p:not(.detail-label) {
  margin-top: 14px;
  color: var(--muted);
}

.career-approach-stats {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.career-approach-stat {
  padding: 18px 22px;
  border-left: 4px solid var(--red);
  background: var(--paper);
  box-shadow: var(--shadow-small);
}

.career-approach-stat strong {
  display: block;
  color: var(--red);
  font-family: var(--serif);
  font-size: 1.9rem;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
  line-height: 1;
}

.career-approach-stat p {
  margin-top: 8px;
  color: var(--black);
  font-size: 0.86rem;
  font-weight: 700;
  line-height: 1.4;
}

.career-block {
  max-width: 700px;
  margin-top: 56px;
}

.career-block h3 {
  margin-top: 10px;
  color: var(--black);
}

.career-block p:not(.detail-label) {
  margin-top: 14px;
  color: var(--muted);
}

.career-services {
  display: grid;
  margin-top: 32px;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.career-service {
  position: relative;
  overflow: hidden;
  padding: 30px 24px 26px;
  background: var(--paper);
  border-top: 4px solid var(--red);
  box-shadow: var(--shadow-small);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.career-service:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.14);
}

.career-service-number {
  position: absolute;
  top: 2px;
  right: 14px;
  color: rgba(0, 0, 0, 0.07);
  font-family: var(--serif);
  font-size: 3.4rem;
  font-weight: 700;
  line-height: 1;
}

.career-service-icon {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--red);
  color: var(--paper);
}

.career-service-icon svg {
  width: 24px;
  height: 24px;
}

.career-service h4 {
  position: relative;
  z-index: 1;
  margin-top: 18px;
  color: var(--black);
  font-size: 0.95rem;
  line-height: 1.3;
}

.career-service p {
  position: relative;
  z-index: 1;
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.5;
}

.career-sustain {
  display: grid;
  margin-top: 64px;
  grid-template-columns: minmax(240px, 0.85fr) minmax(0, 1.15fr);
  align-items: center;
  gap: clamp(28px, 5vw, 56px);
}

.career-sustain-image {
  height: 360px;
  overflow: hidden;
  border-radius: 4px;
  background: var(--black);
  box-shadow: var(--shadow-small);
}

.career-sustain-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.career-sustain-body h3 {
  margin-top: 10px;
  color: var(--black);
}

.career-sustain-body > p:not(.detail-label) {
  margin-top: 14px;
  color: var(--muted);
}

.career-sustain-list {
  margin-top: 20px;
  list-style: none;
}

.career-sustain-list li {
  padding: 10px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.5;
}

.career-sustain-list li:first-child {
  border-top: 0;
}

.career-sustain-list strong {
  color: var(--black);
}

.career-goal {
  margin-top: 64px;
  padding: clamp(30px, 4vw, 48px);
  background: var(--black);
  text-align: center;
}

.career-goal .detail-label {
  justify-content: center;
  color: var(--red);
}

.career-goal-quote {
  max-width: 760px;
  margin: 16px auto 0;
  color: var(--paper);
  font-family: var(--serif);
  font-size: clamp(1.15rem, 1.9vw, 1.5rem);
  font-style: italic;
  line-height: 1.5;
}

.career-goal cite {
  display: block;
  margin-top: 18px;
  color: var(--cool-grey);
  font-size: 0.78rem;
}

/* Admissions journey */
.journey {
  background: var(--paper);
}

.journey-grid {
  display: grid;
  margin-top: 54px;
  grid-template-columns: repeat(5, 1fr);
  align-items: start;
  list-style: none;
}

.journey-grid > .journey-card {
  padding: 0 24px;
  border-right: 1px solid var(--line);
}

.journey-grid > .journey-card:first-child {
  padding-left: 0;
}

.journey-grid > .journey-card:last-child {
  padding-right: 0;
  border-right: 0;
}

.journey-stage {
  display: inline-flex;
  padding: 5px 20px 5px 13px;
  background: var(--red);
  color: var(--paper);
  font-size: 0.78rem;
  font-weight: 700;
  border-radius: 15px 50px 50px 15px;
}

.journey-card-heading {
  margin: 16px 0 12px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--red);
  color: var(--black);
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 800;
}

.journey-card p {
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.55;
}

.journey .text-link {
  margin-top: 36px;
}

/* FAQ */
.faq {
  background: var(--paper);
}

.faq-grid {
  display: grid;
  grid-template-columns: minmax(290px, 0.74fr) minmax(0, 1.26fr);
  align-items: start;
  gap: clamp(48px, 7vw, 110px);
}

.faq-intro {
  position: sticky;
  top: 120px;
}

.faq-intro h2 {
  margin-top: 20px;
}

.faq-intro > p:not(.eyebrow) {
  margin-top: 23px;
  color: var(--muted);
}

.faq-intro .text-link {
  margin-top: 30px;
}

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

.faq-list details:last-child {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  display: grid;
  min-height: 92px;
  grid-template-columns: 1fr 26px;
  align-items: center;
  gap: 25px;
  padding: 18px 0;
  color: var(--black);
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.35;
  list-style: none;
  cursor: pointer;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary span {
  position: relative;
  width: 22px;
  height: 22px;
}

.faq-list summary span::before,
.faq-list summary span::after {
  position: absolute;
  top: 10px;
  left: 2px;
  width: 18px;
  height: 2px;
  background: var(--red);
  content: "";
  transition: transform 0.2s ease;
}

.faq-list summary span::after {
  transform: rotate(90deg);
}

.faq-list details[open] summary span::after {
  transform: rotate(0deg);
}

.faq-answer p {
  max-width: 760px;
  padding: 0 50px 30px 0;
  color: var(--muted);
  font-size: 0.94rem;
  animation: faq-fade 0.3s ease;
}

@keyframes faq-fade {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: none; }
}

/* Closing */
.closing-cta {
  padding: 22px 0;
  background: var(--black);
  color: var(--paper);
}

.closing-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 32px;
}

.closing-brand {
  display: inline-flex;
  align-items: center;
}

.closing-brand img {
  width: 130px;
  height: auto;
}

.closing-message {
  display: grid;
  gap: 4px;
}

.closing-headline {
  margin: 0;
  color: var(--paper);
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 700;
}

.closing-subtext {
  margin: 0;
  color: rgba(255, 255, 255, 0.66);
  font-family: var(--sans);
  font-size: 0.82rem;
}

.campus-signoff {
  background: var(--paper);
}

.campus-signoff figure {
  position: relative;
}

.campus-signoff img {
  display: block;
  width: 100%;
  height: auto;
}

.sticky-apply {
  position: fixed;
  z-index: 900;
  top: 50%;
  right: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 18px 13px;
  background: var(--red);
  color: var(--paper);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 10px 0 0 10px;
  box-shadow: var(--shadow-red);
  transform: translateY(-50%);
  transition: opacity 0.25s ease, transform 0.25s ease, background 0.2s ease;
}

.sticky-apply span {
  display: inline-block;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

.sticky-apply:hover {
  background: var(--red-deep);
}

.sticky-apply.is-hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateY(-50%) translateX(16px);
}

.scroll-top-btn {
  position: fixed;
  z-index: 850;
  right: 18px;
  bottom: 18px;
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 0;
  border-radius: 999px;
  background: var(--black);
  color: var(--paper);
  font-size: 1.15rem;
  cursor: pointer;
  box-shadow: var(--shadow-small);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease, background 0.2s ease;
  pointer-events: none;
}

.scroll-top-btn:hover {
  background: var(--red-deep);
}

.scroll-top-btn.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* Cookie notice (informational only, not a consent gate) */
.cookie-notice {
  position: fixed;
  z-index: 2000;
  right: 0;
  bottom: 0;
  left: 0;
  background: var(--paper);
  border-top: 1px solid var(--line);
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.16);
}

.cookie-notice[hidden] {
  display: none;
}

.cookie-notice-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  max-width: 1240px;
  margin: 0 auto;
  padding: 18px 24px;
}

.cookie-notice-text {
  flex: 1;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.55;
}

.cookie-notice-close {
  display: grid;
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 0;
  background: var(--black);
  color: var(--paper);
  font-size: 0.85rem;
  cursor: pointer;
  transition: background 0.2s ease;
}

.cookie-notice-close:hover {
  background: var(--red-deep);
}

/* Responsive */

@media (max-width: 1300px) {
  /* Reserves a safe zone so the fixed vertical .sticky-apply tab (right:0) never
     overlaps right-edge content; below 720px the tab becomes a full-width bottom
     bar instead, so this reservation is reset to 0 there. */
  .container {
    padding-right: 56px;
  }
}

@media (max-width: 1120px) {
  .desktop-nav {
    gap: 13px;
  }

  .desktop-nav a {
    font-size: 0.75rem;
  }

}

@media (max-width: 980px) {
  html {
    scroll-padding-top: 80px;
  }

  .header-inner {
    min-height: 74px;
    grid-template-columns: 1fr auto;
  }

  .desktop-nav,
  .header-cta {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .mobile-nav {
    inset: 74px 0 0;
  }

  html:not(.js) .header-inner {
    grid-template-columns: 1fr;
  }

  html:not(.js) .menu-toggle {
    display: none;
  }

  html:not(.js) .mobile-nav[hidden] {
    position: static;
    display: flex !important;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 18px;
    padding: 14px 24px;
    border-top: 1px solid rgba(0, 0, 0, 0.12);
  }

  html:not(.js) .mobile-nav > a:not(.button) {
    padding: 7px 0;
    border: 0;
    font-family: var(--sans);
    font-size: 0.8rem;
  }

  html:not(.js) .mobile-nav .button {
    width: auto;
    margin: 0 0 0 auto;
  }

  .hero-copy {
    padding-top: 130px;
    padding-bottom: 170px;
  }

  .india-grid {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .india-response {
    max-width: 740px;
  }

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

  .programme-carousel {
    height: auto;
    min-height: 0;
  }

  .programme-carousel-sticky {
    position: static;
    height: auto;
    min-height: 0;
  }

  .programme-slider {
    height: auto;
    min-height: 0;
    margin-top: 32px;
    perspective: none;
  }

  .programme-slide {
    position: relative;
    inset: auto;
    grid-template-columns: 1fr;
    margin-top: 18px;
    opacity: 1 !important;
    transform: none !important;
  }

  .programme-slide-image {
    min-height: 220px;
  }

  .programme-slide-dots {
    display: none;
  }

  .stat-trio {
    grid-template-columns: 1fr;
  }

  .chapter-feature {
    grid-template-columns: 1fr;
  }

  .chapter-image,
  .feature-reversed .chapter-image {
    min-height: 480px;
    order: 1;
  }

  .chapter-facts-wrap,
  .feature-reversed .chapter-facts-wrap {
    order: 2;
  }

  .chapter-detail {
    grid-template-columns: 1fr;
  }

  .fit-card {
    max-width: 720px;
  }

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

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

  .research-cards {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin-inline: auto;
  }

  .career-approach {
    grid-template-columns: 1fr;
  }

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

  .career-sustain {
    grid-template-columns: 1fr;
  }

  .career-sustain-image {
    height: 260px;
  }

  .journey-grid {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 34px;
  }

  .journey-grid > .journey-card:nth-child(odd) {
    padding-left: 0;
  }

  .journey-grid > .journey-card:nth-child(even) {
    padding-right: 0;
    border-right: 0;
  }

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

  .faq-intro {
    position: static;
    max-width: 720px;
  }

  .closing-inner {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .closing-inner .button {
    justify-self: start;
  }
}

@media (max-width: 720px) {
  body {
    padding-bottom: 62px;
  }

  .container {
    padding-right: 0;
  }

  .cookie-notice-inner {
    padding: 16px 20px;
  }

  .notice-bar {
    padding: 10px 16px;
  }

  .notice-bar-text {
    font-size: 0.74rem;
  }

  .container {
    width: min(calc(100% - 32px), var(--max));
  }

  .section,
  .programme-chapter,
  .faculty {
    padding: 76px 0;
  }

  .brand img {
    width: 140px;
  }

  .hero-copy {
    padding: 110px 24px 210px;
  }

  .hero-lead {
    margin-top: 22px;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 15px;
    margin-top: 30px;
  }

  .hero-actions .button {
    width: 100%;
  }

  .scroll-cue {
    display: none;
  }

  .hero-programme-bar {
    grid-template-columns: 1fr;
  }

  .hero-programme-pill {
    min-height: 0;
    padding: 14px 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    border-left: 0;
  }

  .hero-programme-pill:first-child {
    border-top: 0;
  }

  .application-section {
    padding: 62px 0;
  }

  .application-intro {
    max-width: none;
    text-align: left;
  }

  .application-intro .eyebrow {
    justify-content: flex-start;
  }

  .application-jump {
    margin-top: 26px;
  }

  .widget-frame {
    margin-top: 32px;
    padding: 12px;
  }

  .widget-slot {
    min-height: 480px;
  }

  .india-grid {
    gap: 42px;
  }

  .india-quote {
    padding-left: 18px;
    font-size: 1.45rem;
  }

  .credential-badge {
    flex-wrap: wrap;
  }

  .india-response {
    padding: 27px;
  }

  .india-response > p {
    font-size: 1.12rem;
  }

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

  .institution-stats > div {
    min-height: 118px;
    padding: 16px;
  }

  .programme-slider {
    margin-top: 26px;
  }

  .programme-slide {
    padding: 28px;
  }

  .programme-slide-image {
    min-height: 200px;
  }

  .chapter-heading {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .chapter-quicklinks {
    flex-direction: column;
    align-items: stretch;
    margin-top: 34px;
    padding-left: 0;
  }

  .chapter-quicklinks .button {
    width: 100%;
  }

  .chapter-toggle {
    width: 100%;
    justify-content: space-between;
  }

  .chapter-title-block > p:last-child {
    font-size: 1rem;
  }

  .stat-trio {
    margin-top: 38px;
  }

  .pull-quote {
    padding: 26px 22px;
  }

  .chapter-feature {
    margin-top: 42px;
  }

  .chapter-image,
  .feature-reversed .chapter-image {
    min-height: 320px;
  }

  .chapter-facts-wrap {
    padding: 31px 25px;
  }

  .chapter-facts > div {
    min-height: 125px;
    padding: 15px;
  }

  .chapter-detail {
    margin-top: 38px;
  }

  .course-list {
    grid-template-columns: 1fr;
  }

  .fit-card {
    padding: 26px;
  }

  .also-part {
    margin-top: 36px;
    padding: 22px 20px;
  }

  .why-section {
    margin-top: 54px;
  }

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

  .why-card {
    padding: 24px;
  }

  .pathway-block {
    margin-top: 54px;
  }


  .research {
    padding: 62px 0 90px;
  }

  .research-heading {
    margin: 0;
    text-align: left;
  }

  .research-heading .eyebrow {
    justify-content: flex-start;
  }

  .research-heading > p:last-child:not(.eyebrow) {
    margin-inline: 0;
  }

  .research-cards {
    margin-top: 38px;
  }

  .career {
    padding: 62px 0;
  }

  .career-approach {
    margin-top: 32px;
  }

  .career-block {
    margin-top: 38px;
  }

  .career-services {
    grid-template-columns: 1fr;
    margin-top: 24px;
  }

  .career-sustain {
    margin-top: 44px;
  }

  .career-sustain-image {
    height: 220px;
  }

  .career-goal {
    margin-top: 44px;
  }

  .faculty-card {
    flex-basis: min(220px, 68vw);
  }

  .journey-grid {
    grid-template-columns: 1fr;
    row-gap: 28px;
  }

  .journey-grid > .journey-card {
    padding: 0;
    border-right: 0;
  }

  .faq-grid {
    gap: 46px;
  }

  .faq-list summary {
    min-height: 80px;
    font-size: 1.12rem;
  }

  .faq-answer p {
    padding-right: 0;
  }

  .sticky-apply {
    top: auto;
    right: 0;
    bottom: 0;
    left: 0;
    min-height: 62px;
    padding: 0;
    border-radius: 0;
    font-size: 0.88rem;
    box-shadow: 0 -6px 22px rgba(0, 0, 0, 0.16);
    transform: none;
    transition: transform 0.25s ease;
  }

  .sticky-apply span {
    writing-mode: horizontal-tb;
    transform: none;
  }

  .sticky-apply:focus-visible {
    outline-color: var(--paper);
    outline-offset: -6px;
  }

  .sticky-apply.is-hidden,
  body.menu-open .sticky-apply {
    opacity: 1;
    pointer-events: none;
    transform: translateY(110%);
  }

  .scroll-top-btn {
    bottom: 78px;
  }
}

@media (max-width: 420px) {
  .hero-media > img {
    height: 300px;
  }

  .institution-stats,
  .chapter-facts {
    grid-template-columns: 1fr;
  }

  .institution-stats > div,
  .chapter-facts > div {
    min-height: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .reveal-ready [data-reveal],
  .reveal-ready [data-reveal].is-visible,
  .reveal-ready [data-reveal-stagger] > *,
  .reveal-ready [data-reveal-stagger].is-visible > * {
    opacity: 1;
    transform: none;
  }

}

@media (forced-colors: active) {
  .button,
  .programme-slide,
  .chapter-facts-wrap,
  .fit-card,
  .journey-card,
  .widget-frame,
  .stat-trio-card,
  .why-card {
    border: 2px solid currentColor;
  }
}
