/* =====================================================================
   MIT-WPU | UG & PG Landing Page
   Desktop (>=1024px): measurements taken 1:1 from the 1920px design and
   scaled with --u (1 design pixel). Tablet / mobile (<1024px): fluid layout.
   ===================================================================== */
:root {
  --sec-top: 120;                               /* desktop space above each section's content (design px) */
  --sec-bot: 40;                                /* desktop space below each section's content */
  --u: calc(min(100vw, 1920px) / 1920);         /* JS refines this to exclude the scrollbar */
  --blue: #185dac;
  --navy: #154f8d;
  --orange: #f59e25;
  --beige: #fde8cf;
  --beige-bar: #feedd8;
  --icon-bg: #fff6e9;
  --faq-closed: #dec1a0;
  --text: #3a3a3a;
  --text-2: #444;
  --red: #c41e3a;
  --ff: "Lato", "Segoe UI", Arial, sans-serif;   /* default font. To use your own font, edit FONT SETTINGS at the top of index.php */
  --ff2: "Lato", "Segoe UI", Arial, sans-serif;
  /* Text scale: Lato sets wider than the design font, so all desktop text is reduced to
     occupy the same space as in the design. Set to 1 if the design font itself is used. */
  --fs: .85;
  --uf: calc(var(--u) * var(--fs));             /* 1 design px for font sizes */
  --navh: max(58px, calc(92 * var(--u)));       /* height of the sticky menu bar */
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }
body { margin: 0; font-family: var(--ff); color: var(--text); background: #fff; line-height: 1.3; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, figure { margin: 0; }
button { font-family: inherit; cursor: pointer; }
.blue { color: var(--navy); }
.light { font-weight: 300; }

/* 1920 design frame (centred on very wide screens) */
.frame { position: relative; width: 100%; max-width: 1920px; margin: 0 auto; }

/* ---------- shared titles ---------- */
.title { font-size: calc(67 * var(--uf)); font-weight: 700; line-height: 1.12; text-align: center; color: var(--text); letter-spacing: calc(1 * var(--u)); }
.title--left { text-align: left; }
.subtitle { text-align: center; font-size: calc(34 * var(--uf)); font-weight: 300; line-height: 1.22; color: var(--text); }
.subtitle--sm { font-size: calc(29 * var(--uf)); font-weight: 400; color: var(--text-2); line-height: 1.18; }
.subtitle--dark { font-size: calc(36 * var(--uf)); font-weight: 400; line-height: 1.17; }
.box { position: relative; background: var(--beige); border-radius: calc(40 * var(--u)); margin: 0 calc(77 * var(--u)) 0 calc(78 * var(--u)); }

/* ---------- side tab & mobile CTA ---------- */
.side-apply { position: fixed; right: 0; top: 50%; transform: translateY(-50%); z-index: 90; writing-mode: vertical-rl; background: var(--navy); color: #fff; width: max(44px, calc(62 * var(--u))); height: max(140px, calc(196 * var(--u))); display: flex; align-items: center; justify-content: center; border-radius: max(14px, calc(22 * var(--u))) 0 0 max(14px, calc(22 * var(--u))); font-size: max(14px, calc(22 * var(--uf))); letter-spacing: 2px; box-shadow: 0 4px 14px rgba(0,0,0,.18); }
.side-apply:hover { background: var(--blue); }
.mobile-cta { display: none; }

/* ---------- top menu (anchors) ----------
   Over the hero it sits on the logo row (transparent); after scrolling it
   becomes a sticky gradient bar with a small logo (.is-stuck, set by JS). */
[id] { scroll-margin-top: var(--navh); }
.site-nav { position: fixed; top: 0; left: 0; right: 0; z-index: 92; pointer-events: none; transition: background .3s, box-shadow .3s; }
.site-nav__inner { position: relative; max-width: 1920px; margin: 0 auto; height: calc(264 * var(--u)); display: flex; align-items: center; padding: 0 calc(117 * var(--u)) 0 calc(158 * var(--u)); transition: height .3s; }
.site-nav__inner > * { pointer-events: auto; }
.site-nav__logo { display: none; flex: none; }
.site-nav__logo img { width: max(150px, calc(230 * var(--u))); }
.site-nav__toggle { display: none; }
.site-nav__menu { list-style: none; margin: 0 0 0 auto; padding: 0 calc(38 * var(--u)); height: max(46px, calc(72 * var(--u))); display: flex; align-items: center; gap: max(16px, calc(22 * var(--u))); background: rgba(255,255,255,.88); border-radius: max(8px, calc(12 * var(--u))); box-shadow: 0 calc(4 * var(--u)) calc(18 * var(--u)) rgba(0,0,0,.10); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.site-nav__menu a { position: relative; display: block; padding: calc(8 * var(--u)) 0; color: #1d1d1d; font-size: max(12px, calc(20 * var(--uf))); font-weight: 700; letter-spacing: calc(.4 * var(--u)); text-transform: uppercase; white-space: nowrap; transition: color .2s; }
.site-nav__menu a:hover, .site-nav__menu a.is-active { color: var(--navy); }
.site-nav__menu a .lc { text-transform: none; }
.site-nav__menu a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 2px; background: var(--orange); transition: right .25s; }
.site-nav__menu a:hover::after, .site-nav__menu a.is-active::after { right: 0; }
.site-nav.is-stuck { background: linear-gradient(90deg, #154f8d 0%, #245488 18%, #435f78 38%, #777266 58%, #a78349 76%, #ee9b27 100%); box-shadow: 0 4px 16px rgba(0,0,0,.18); }
.site-nav.is-stuck .site-nav__inner { height: var(--navh); }
.site-nav.is-stuck .site-nav__menu { height: max(42px, calc(62 * var(--u))); }
.site-nav.is-stuck .site-nav__logo { display: block; }

/* =====================================================================
   SECTION 1 – HERO
   ===================================================================== */
.hero { position: relative; background: #17519b url("../images/hero-bg.webp") center / cover no-repeat; color: #fff; z-index: 2; }
.hero__frame { height: calc(1080 * var(--u)); }
.hero__banner-m { display: none; }
.hero__pattern { position: absolute; left: calc(960 * var(--u)); top: calc(224 * var(--u)); width: calc(481 * var(--u)); opacity: .55; }
.hero__student { position: absolute; left: calc(624 * var(--u)); bottom: 0; width: calc(722 * var(--u)); z-index: 1; }
.hero__content { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.hero__content > * { pointer-events: auto; position: absolute; left: calc(158 * var(--u)); line-height: 1; white-space: nowrap; }
.hero__logo { top: calc(72 * var(--u)); }
.hero__logo img { width: calc(434 * var(--u)); }
.hero__tagline { top: calc(274 * var(--u)); font-size: calc(45 * var(--uf)); font-weight: 300; letter-spacing: calc(.5 * var(--u)); }
.hero__title { top: calc(390 * var(--u)); font-weight: 400; }
.hero__title span { display: block; line-height: 1; }
.hero__explore { font-size: calc(64 * var(--uf)); font-weight: 400 !important; color: #f6e6d2; }
.hero__ugpg { font-size: calc(172 * var(--u)); font-weight: 700; letter-spacing: calc(-4 * var(--u)); margin-top: calc(-2 * var(--u)); line-height: .98 !important; }
.hero__ugpg small { font-size: .4em; letter-spacing: 0; margin: 0 calc(16 * var(--u)) 0 calc(14 * var(--u)); }
.hero__prog { font-size: calc(62 * var(--uf)); font-weight: 400; margin-top: calc(-4 * var(--u)); }
.hero__at { font-size: calc(58 * var(--uf)); font-weight: 700; margin-top: calc(10 * var(--u)); }
.hero__legacy { top: calc(803 * var(--u)); font-size: calc(54 * var(--uf)); font-weight: 300; }
.hero__legacy strong { font-weight: 700; }
.hero__btn { top: calc(919 * var(--u)); width: calc(593 * var(--u)); height: calc(83 * var(--u)); display: flex; align-items: center; justify-content: center; border: calc(2.5 * var(--u)) solid #fff; border-radius: calc(16 * var(--u)); font-size: calc(36 * var(--uf)); font-weight: 400; letter-spacing: calc(1.4 * var(--u)); transition: background .25s, color .25s; }
.hero__btn:hover { background: #fff; color: var(--navy); }

/* Enquiry form – 503 x 931 design box */
.hero__form { position: absolute; left: calc(1300 * var(--u)); top: calc(291 * var(--u)); width: calc(503 * var(--u)); z-index: 3; }
.enquiry { background: #f6f6f6; border-radius: calc(30 * var(--u)); min-height: calc(931 * var(--u)); padding: calc(40 * var(--u)) calc(34 * var(--u)) calc(30 * var(--u)); box-shadow: 0 calc(10 * var(--u)) calc(30 * var(--u)) rgba(0,0,0,.12); color: var(--text); }
.enquiry__head { height: calc(73 * var(--u)); display: flex; align-items: center; padding-left: calc(26 * var(--u)); background: linear-gradient(90deg, #16509a 0%, #1f4f8b 38%, #b78846 70%, #f39c25 100%); color: #fff; font-size: calc(31 * var(--uf)); font-weight: 700; margin-bottom: calc(17 * var(--u)); white-space: nowrap; }
.field { margin: 0 calc(37 * var(--u)) calc(18 * var(--u)); height: calc(46 * var(--u)); display: flex; gap: calc(14 * var(--u)); }
.field input, .field select { width: 100%; height: 100%; border: 0; border-bottom: 1px solid #d9d9d9; background: transparent; font-family: var(--ff); font-size: max(13px, calc(23 * var(--uf))); font-weight: 300; color: var(--text); padding: 0 calc(2 * var(--u)); outline: none; border-radius: 0; min-width: 0; }
.field select { appearance: none; -webkit-appearance: none; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0h10L5 6z' fill='%23333'/%3E%3C/svg%3E") no-repeat right 4px center / 9px; padding-right: calc(22 * var(--u)); color: #9a9a9a; }
.field select.has-value { color: var(--text); }
.field input::placeholder { color: #9e9e9e; }
.field input:focus, .field select:focus { border-bottom-color: var(--blue); }
.field--mobile select { width: calc(66 * var(--u)); flex: none; color: var(--text); font-weight: 400; }
.field--otp input { background: #fff; border: 1px solid #eee; padding-left: calc(12 * var(--u)); }
.field--row select:last-child { border: 1px solid #e3e3e3; padding-left: calc(10 * var(--u)); }
.field--captcha { align-items: stretch; }
.captcha-box { flex: none; display: inline-flex; align-items: center; gap: calc(10 * var(--u)); border: 1px solid #ddd; background: #fff; padding: 0 calc(12 * var(--u)); font-size: max(14px, calc(25 * var(--uf))); letter-spacing: 1px; user-select: none; }
#captchaText { background: linear-gradient(90deg, transparent 20%, #6cff3a 20%, #6cff3a 48%, transparent 48%); }
.captcha-box button { border: 0; background: none; font-size: max(14px, calc(26 * var(--uf))); color: #333; padding: 0; line-height: 1; }
.consent { display: flex; gap: calc(12 * var(--u)); margin: calc(6 * var(--u)) calc(37 * var(--u)) 0; font-size: max(11px, calc(19 * var(--uf))); font-weight: 300; color: #8c8c8c; line-height: 1.22; }
.consent input { margin: calc(4 * var(--u)) 0 0; width: calc(18 * var(--u)); height: calc(18 * var(--u)); min-width: 12px; min-height: 12px; accent-color: #1d6fcf; flex: none; }
.btn-submit { display: flex; align-items: center; justify-content: center; width: calc(215 * var(--u)); height: calc(69 * var(--u)); margin: calc(52 * var(--u)) auto calc(26 * var(--u)); background: var(--red); color: #fff; border: 0; border-radius: calc(16 * var(--u)); font-size: calc(29 * var(--uf)); font-weight: 700; transition: background .2s; }
.btn-submit:hover { background: #a3162e; }
.existing-login { display: block; text-align: center; font-size: max(11px, calc(19 * var(--uf))); color: #8c8c8c; text-decoration: underline; }
.form-msg { text-align: center; font-size: max(12px, calc(18 * var(--uf))); margin-top: 6px; min-height: 1em; }
.form-msg.ok { color: #1a7f37; } .form-msg.err { color: var(--red); }

/* NoPaperForms widget inside the design form card */
.hero__form--npf { left: auto; right: calc(117 * var(--u)); width: max(calc(503 * var(--u)), 380px); }
.enquiry--npf { min-height: 0; padding-bottom: calc(24 * var(--u)); }
.enquiry--npf .enquiry__head { margin-bottom: calc(8 * var(--u)); }
.enquiry--npf .npf_wgts { min-height: 620px; border-radius: calc(10 * var(--u)); overflow: hidden; }
.enquiry--npf .npf_wgts iframe { display: block; width: 100% !important; max-width: 100%; border: 0 !important; background: transparent; }

/* =====================================================================
   SECTION 2 – OUTCOMES (1060 tall)
   ===================================================================== */
.outcomes { position: relative; overflow: hidden; }
.outcomes__frame { height: calc(1084 * var(--u)); }  /* full pattern-wide image (ends at 1044) + 40 */
.outcomes__line { position: absolute; left: 0; right: 0; top: calc(621 * var(--u)); height: calc(22 * var(--u)); background: var(--beige); }
.outcomes__pattern { position: absolute; left: calc(857 * var(--u)); top: calc(233 * var(--u)); width: calc(1063 * var(--u)); }
.outcomes__img { position: absolute; left: calc(974 * var(--u)); top: calc(318 * var(--u)); width: calc(765 * var(--u)); z-index: 1; }
.outcomes__title { position: absolute; left: calc(162 * var(--u)); top: calc(195 * var(--u)); font-size: calc(66 * var(--uf)); font-weight: 700; line-height: 1.04; color: var(--text); }
.outcomes__title span { display: block; font-size: calc(41 * var(--uf)); font-weight: 300; color: var(--navy); line-height: 1; margin-bottom: calc(26 * var(--u)); }
.stats { position: absolute; left: calc(169 * var(--u)); top: calc(484 * var(--u)); display: grid; grid-template-columns: calc(360 * var(--u)) auto; row-gap: calc(114 * var(--u)); }
.stat__num { font-size: calc(56 * var(--uf)); font-weight: 700; color: var(--navy); line-height: 1; white-space: nowrap; }
.stat__num span { font-weight: 400; color: var(--text); }
.stat__label { font-size: calc(21 * var(--uf)); letter-spacing: calc(3.8 * var(--u)); color: #555; margin-top: calc(10 * var(--u)); white-space: nowrap; }

/* =====================================================================
   SECTION 3 – FIND YOUR EDGE
   ===================================================================== */
.programmes__frame { padding: calc(var(--sec-top) * var(--u)) 0 calc(var(--sec-bot) * var(--u)); }
.programmes { position: relative; overflow: hidden; }
/* Background pattern sits behind the accordions, anchored to the section bottom (design: top 792 with UG open).
   When panels are collapsed its height is capped so it never runs up behind the title. */
.programmes__pattern { position: absolute; left: calc(30 * var(--u)); top: auto; bottom: calc(30 * var(--u)); width: calc(808 * var(--u)); height: min(calc(975 * var(--u)), calc(100% - 300 * var(--u))); max-width: none; object-fit: cover; object-position: left bottom; pointer-events: none; z-index: 0; }
.programmes .title { font-size: calc(67 * var(--uf)); line-height: 1; margin-bottom: calc(46 * var(--u)); }
.acc { position: relative; z-index: 1; width: calc(1561 * var(--u)); margin: 0 auto; }
.acc__item + .acc__item { margin-top: calc(37 * var(--u)); }
.acc__btn { width: 100%; height: calc(68 * var(--u)); display: flex; justify-content: space-between; align-items: center; border: 0; border-radius: calc(8 * var(--u)); padding: 0 calc(52 * var(--u)) 0 calc(38 * var(--u)); background: var(--beige-bar); color: var(--text); font-size: calc(34 * var(--uf)); font-weight: 400; text-align: left; transition: background .25s, color .25s; }
.acc__item.is-open .acc__btn { background: var(--blue); color: #fff; }
.acc__icon { width: calc(27 * var(--u)); height: calc(27 * var(--u)); border-right: calc(6 * var(--u)) solid currentColor; border-bottom: calc(6 * var(--u)) solid currentColor; transform: translateY(calc(-6 * var(--u))) rotate(45deg); transition: transform .3s; flex: none; }
.acc__item.is-open .acc__icon { transform: translateY(calc(6 * var(--u))) rotate(-135deg); }
.acc__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s ease; }
.acc__inner { overflow: hidden; }
.acc__item.is-open .acc__panel { grid-template-rows: 1fr; }
.prog-grid { display: grid; grid-template-columns: repeat(4, calc(341 * var(--u))); gap: calc(17 * var(--u)); padding: calc(49 * var(--u)) calc(72 * var(--u)) calc(5 * var(--u)); }
.acc__item.is-open + .acc__item { margin-top: calc(37 * var(--u)); }
.prog { display: flex; align-items: center; height: calc(137 * var(--u)); background: #fafafa; border: 1px solid #f4ede4; border-radius: calc(4 * var(--u)); overflow: hidden; transition: box-shadow .25s, transform .25s; }
.prog:hover { box-shadow: 0 6px 16px rgba(0,0,0,.08); transform: translateY(-2px); }
.prog__icon { flex: none; align-self: stretch; width: calc(103 * var(--u)); background: var(--icon-bg); display: grid; place-items: center; }
.prog__icon img { width: calc(44 * var(--u)); height: calc(44 * var(--u)); object-fit: contain; }
.prog__name { display: block; padding: 0 calc(10 * var(--u)) 0 calc(14 * var(--u)); font-size: max(12px, calc(23 * var(--uf))); font-weight: 400; line-height: 1.28; color: #2f2f2f; }
.prog__name--lg { font-size: max(12px, calc(25 * var(--uf))); }
.prog__name small { display: block; font-size: max(10px, calc(19.5 * var(--uf))); font-weight: 400; line-height: 1.32; }
.prog--wide { grid-column: 1 / -1; height: calc(90 * var(--u)); }
.prog--wide .prog__name { color: #777; padding-left: calc(34 * var(--u)); }

/* =====================================================================
   CAROUSEL (shared)
   ===================================================================== */
.carousel { position: relative; --per: 3; --gap: 0px; }
.carousel__viewport { overflow: hidden; margin: 0 auto; touch-action: pan-y; }
.carousel__track { display: flex; gap: var(--gap); will-change: transform; }
.carousel__track > * { flex: 0 0 calc((100% - (var(--per) - 1) * var(--gap)) / var(--per)); min-width: 0; }
.carousel__track.is-anim { transition: transform .6s cubic-bezier(.4,.1,.2,1); }
.carousel__arrow { position: absolute; top: 50%; width: calc(27 * var(--u)); height: calc(47 * var(--u)); min-width: 18px; min-height: 30px; margin-top: calc(-23.5 * var(--u)); padding: 0; border: 0; background: transparent; z-index: 3; }
.carousel__arrow { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 27 47'%3E%3Cpath d='M23 4 4 23.5 23 43' fill='none' stroke='%233d3d3d' stroke-width='5.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; transition: opacity .2s; }
.carousel__arrow--next { transform: scaleX(-1); }
.carousel__arrow:hover { opacity: .7; }
.carousel__dots { display: flex; justify-content: center; gap: calc(3 * var(--u)); }
.carousel__dots button { width: calc(22 * var(--u)); height: calc(4 * var(--u)); min-height: 3px; border: 0; padding: 0; background: #d6d6d6; transition: width .35s, background .35s; }
.carousel__dots button.active { width: calc(52 * var(--u)); background: var(--orange); }
.carousel__dots--blue button.active { background: var(--navy); }

/* =====================================================================
   SECTION 4 – IMMERSION (box 1766 x 1176, section 1393)
   ===================================================================== */
.immersion { padding: calc(var(--sec-top) * var(--u)) 0 calc(var(--sec-bot) * var(--u)); }
/* box fits its cards (no fixed height) so there is no empty beige band under them */
.box--immersion { height: auto; padding: calc(83 * var(--u)) 0 calc(76 * var(--u)); }
.box--immersion .title { font-size: calc(67 * var(--uf)); line-height: 1.15; }
.box--immersion .subtitle { margin-top: calc(8 * var(--u)); }
.carousel--immersion { --per: 3; --gap: calc(58 * var(--u)); margin-top: calc(59 * var(--u)); }
.carousel--immersion .carousel__viewport { width: calc(1316 * var(--u)); padding: 0; }
.carousel--immersion .carousel__arrow--prev { left: calc(141 * var(--u)); }
.carousel--immersion .carousel__arrow--next { right: calc(152 * var(--u)); }
.card-im { height: calc(680 * var(--u)); background: #fff; border-radius: calc(18 * var(--u)); overflow: hidden; }
.card-im img { width: 100%; height: calc(446 * var(--u)); object-fit: cover; }
.card-im__body { padding: calc(17 * var(--u)) calc(20 * var(--u)) 0; text-align: center; }
.card-im h3 { font-family: var(--ff2); font-weight: 600; color: var(--navy); font-size: calc(31 * var(--uf)); line-height: 1.1; height: calc(68 * var(--u)); display: flex; align-items: center; justify-content: center; }
.card-im p { font-family: var(--ff2); font-size: calc(22 * var(--uf)); color: #1d1d1d; line-height: 1.23; }
.card-im p::before { content: ""; display: block; width: calc(112 * var(--u)); height: calc(3 * var(--u)); background: var(--orange); margin: calc(18 * var(--u)) auto calc(20 * var(--u)); }

/* =====================================================================
   SECTION 5 – CONNECTIONS (1212 tall)
   ===================================================================== */
.connect { position: relative; overflow: hidden; }
.connect__frame { height: calc(1208 * var(--u)); }
.connect__line { position: absolute; left: 0; right: 0; top: calc(742 * var(--u)); height: calc(22 * var(--u)); background: var(--beige); }
.connect__pattern { position: absolute; left: calc(1210 * var(--u)); top: calc(162 * var(--u)); width: calc(643 * var(--u)); }
.connect__img { position: absolute; left: calc(998 * var(--u)); top: calc(329 * var(--u)); width: calc(764 * var(--u)); z-index: 1; }
.connect__content { position: absolute; left: calc(93 * var(--u)); top: calc(120 * var(--u)); width: calc(900 * var(--u)); z-index: 2; }
.connect .title { font-size: calc(67 * var(--uf)); line-height: 1.15; white-space: nowrap; }
.connect__kpi { font-size: calc(38 * var(--uf)); font-weight: 400; color: var(--navy); margin-top: calc(4 * var(--u)); letter-spacing: calc(.5 * var(--u)); }
.connect__kpi strong { font-weight: 700; }
.connect__text { font-size: calc(29 * var(--uf)); color: var(--text-2); line-height: 1.17; margin-top: calc(10 * var(--u)); }
.connect__h3 { font-size: calc(30 * var(--uf)); font-weight: 700; color: var(--navy); margin-top: calc(27 * var(--u)); }
.carousel--logos { --per: 4; margin: calc(20 * var(--u)) 0 0 calc(-29 * var(--u)); width: calc(892 * var(--u)); }
.carousel--logos .carousel__viewport { width: 100%; }
.logo-col img { width: 100%; height: calc(82 * var(--u)); object-fit: contain; background: #fff; }
.logo-col img + img { margin-top: calc(1 * var(--u)); }
.carousel--logos .carousel__dots { margin-top: calc(14 * var(--u)); }
.connect__bottom { position: absolute; top: calc(768 * var(--u)); left: 0; width: 100%; }
.carousel--partners { --per: 4; margin: calc(30 * var(--u)) 0 0 calc(-6 * var(--u)); width: calc(904 * var(--u)); }
.partner { height: calc(104 * var(--u)); display: flex; align-items: center; justify-content: center; padding: 0 calc(6 * var(--u)); }
.partner img { width: auto; height: 100%; max-width: 100%; object-fit: contain; background: #fff; }
.carousel--partners .carousel__dots { margin-top: calc(30 * var(--u)); }

/* =====================================================================
   SECTION 6 – LABS (758 tall)
   ===================================================================== */
.labs { overflow: hidden; }
.labs__frame { height: auto; padding: calc(var(--sec-top) * var(--u)) 0 calc(var(--sec-bot) * var(--u)); }
.labs__pattern { position: absolute; left: calc(1275 * var(--u)); top: calc(343 * var(--u)); width: calc(645 * var(--u)); }
.labs .title { font-size: calc(67 * var(--uf)); line-height: 1; }
.labs .subtitle { margin-top: calc(20 * var(--u)); }
.carousel--labs { --per: 4; --gap: calc(42 * var(--u)); margin-top: calc(45 * var(--u)); }
.carousel--labs .carousel__viewport { width: calc(1498 * var(--u)); }
.carousel--labs .carousel__arrow--prev { left: calc(143 * var(--u)); }
.carousel--labs .carousel__arrow--next { right: calc(145 * var(--u)); }
.card-lab { height: calc(391 * var(--u)); border-radius: calc(16 * var(--u)); overflow: hidden; background: var(--navy); }
.card-lab img, .card-lab__ph { width: 100%; height: calc(265 * var(--u)); object-fit: cover; }
.card-lab__ph { background: url("../images/pattern-labs.webp") center / 90% auto no-repeat, linear-gradient(135deg, #154f8d, #2c6cbf 60%, #f59e25 150%); }
.card-lab h3 { height: calc(126 * var(--u)); display: flex; align-items: center; justify-content: center; padding: 0 calc(10 * var(--u)) calc(6 * var(--u)); color: #fff; font-size: calc(26 * var(--uf)); font-weight: 500; line-height: 1.24; text-align: center; }

/* =====================================================================
   SECTION 7 – FOUNDERS (box 1766 x 1188, section 1431)
   ===================================================================== */
.founders { padding: calc(var(--sec-top) * var(--u)) 0 calc(var(--sec-bot) * var(--u)); height: auto; }
.box--founders { height: auto; padding: calc(90 * var(--u)) 0 calc(110 * var(--u)); }
.box--founders .title { font-size: calc(67 * var(--uf)); line-height: 1.13; }
.box--founders .subtitle { margin-top: calc(8 * var(--u)); }
.carousel--founders { --per: 3; --gap: calc(155 * var(--u)); margin-top: calc(118 * var(--u)); }
.carousel--founders .carousel__viewport { width: calc(1120 * var(--u)); }
.carousel--founders .carousel__arrow { top: calc(277 * var(--u)); }
.carousel--founders .carousel__arrow--prev { left: calc(141 * var(--u)); }
.carousel--founders .carousel__arrow--next { right: calc(152 * var(--u)); }
.founder img { width: calc(270 * var(--u)); height: calc(325 * var(--u)); }
.founder h3 { font-size: calc(50 * var(--uf)); font-weight: 500; line-height: 1.04; color: var(--text); margin-top: calc(16 * var(--u)); }
.founder h3 span { display: block; color: var(--navy); }
.founder h3 small { display: block; font-size: .56em; line-height: 1.5; letter-spacing: .02em; }
.founder h3::after { content: ""; display: block; width: calc(44 * var(--u)); height: calc(5 * var(--u)); background: var(--orange); margin: calc(9 * var(--u)) 0 calc(10 * var(--u)); }
.founder p { font-size: calc(22 * var(--uf)); color: #3d3d3d; line-height: 1.2; }
.seed-badge { position: absolute; left: 50%; bottom: calc(-43 * var(--u)); transform: translateX(-50%); width: calc(660 * var(--u)); }
.seed-tag { text-align: center; font-size: calc(28 * var(--uf)); letter-spacing: calc(3.6 * var(--u)); color: #3d3d3d; font-weight: 400; margin-top: calc(71 * var(--u)); }

/* =====================================================================
   SECTION 8 – SEE WHAT YOU COULD BECOME (846 tall)
   ===================================================================== */
.alumni { overflow: hidden; }
.alumni__frame { height: calc(888 * var(--u)); }
.alumni__pattern { position: absolute; left: calc(1051 * var(--u)); top: calc(166 * var(--u)); width: calc(869 * var(--u)); }
.alumni__quote { position: absolute; left: calc(171 * var(--u)); top: calc(170 * var(--u)); width: calc(347 * var(--u)); }
.alumni__title { position: absolute; z-index: 2; left: calc(172 * var(--u)); top: calc(386 * var(--u)); font-size: calc(67 * var(--uf)); font-weight: 700; line-height: 1; color: var(--text); }
.alumni__title span { display: block; font-size: calc(44 * var(--uf)); font-weight: 300; color: var(--navy); margin-top: calc(6 * var(--u)); white-space: nowrap; }
.alumni__head { position: relative; z-index: 2; }
.carousel--alumni { position: absolute; left: calc(659 * var(--u)); top: calc(120 * var(--u)); width: calc(1074 * var(--u)); --per: 2; --gap: calc(46 * var(--u)); }
.carousel--alumni .carousel__dots { margin-top: calc(43 * var(--u)); }
.testi { height: calc(681 * var(--u)); background: #f5f5f5; border-radius: calc(22 * var(--u)); overflow: hidden; }
.testi__img { position: relative; height: calc(411 * var(--u)); background: var(--beige); overflow: hidden; }
.testi__img img { position: absolute; left: 50%; transform: translateX(-50%); max-width: none; }
.testi--jayana .testi__img img { top: calc(27 * var(--u)); width: calc(388 * var(--u)); }
.testi--suraj .testi__img img { top: calc(21 * var(--u)); width: calc(446 * var(--u)); }
.testi--kritika .testi__img img { top: calc(36 * var(--u)); width: calc(396 * var(--u)); }
.testi--riddhi .testi__img img { top: calc(34 * var(--u)); width: calc(387 * var(--u)); }
.testi__body { padding: calc(10 * var(--u)) calc(24 * var(--u)) 0; text-align: center; }
.testi h3 { font-family: var(--ff2); font-weight: 900; color: var(--navy); font-size: calc(36 * var(--uf)); line-height: 1.2; }
.testi p { font-family: var(--ff2); font-size: calc(21 * var(--uf)); color: #1d1d1d; line-height: 1.27; }
.testi p::before { content: ""; display: block; width: calc(112 * var(--u)); height: calc(2.5 * var(--u)); background: var(--orange); margin: calc(9 * var(--u)) auto calc(13 * var(--u)); }

/* =====================================================================
   SECTION 9 – CLUBS: curved auto-sliding gallery (916 tall)
   ===================================================================== */
.clubs { position: relative; padding: calc(var(--sec-top) * var(--u)) 0 calc(var(--sec-bot) * var(--u)); overflow: hidden; }
.clubs__title { padding-top: 0; text-align: center; font-size: calc(67 * var(--uf)); font-weight: 700; line-height: 1; color: var(--text); letter-spacing: calc(.6 * var(--u)); }
.clubs__title span { display: block; font-size: calc(47 * var(--uf)); font-weight: 300; color: var(--blue); margin-top: calc(18 * var(--u)); letter-spacing: 0; }
.curve { position: relative; width: 100%; max-width: 1920px; margin: calc(25 * var(--u)) auto 0; height: calc(640 * var(--u)); }
.curve__item { position: absolute; overflow: hidden; border-radius: calc(10 * var(--u)); transition: left .9s cubic-bezier(.45,.05,.2,1), top .9s cubic-bezier(.45,.05,.2,1), width .9s cubic-bezier(.45,.05,.2,1), height .9s cubic-bezier(.45,.05,.2,1), clip-path .9s cubic-bezier(.45,.05,.2,1), opacity .6s; }
.curve__item img { width: 100%; height: 100%; object-fit: cover; }
.curve__item img.curve__img--arm { object-position: 30% center; }
.curve.no-anim .curve__item, .curve__item.no-anim { transition: none !important; }
/* slot geometry (design px; top relative to gallery top) */
.curve__item.s0 { left: calc(0 * var(--u));    top: 0;                      width: calc(384 * var(--u)); height: calc(637 * var(--u)); clip-path: polygon(0 0, 100% 9.6%, 100% 90.4%, 0 100%); }
.curve__item.s1 { left: calc(402 * var(--u));  top: calc(71 * var(--u));  width: calc(300 * var(--u)); height: calc(498 * var(--u)); clip-path: polygon(0 0, 100% 5%, 100% 95.8%, 0 100%); }
.curve__item.s2 { left: calc(713 * var(--u));  top: calc(127 * var(--u)); width: calc(236 * var(--u)); height: calc(387 * var(--u)); clip-path: polygon(0 0, 100% 4.4%, 100% 97.2%, 0 100%); }
.curve__item.s3 { left: calc(968 * var(--u));  top: calc(127 * var(--u)); width: calc(244 * var(--u)); height: calc(387 * var(--u)); clip-path: polygon(0 4.4%, 100% 0, 100% 100%, 0 97.2%); }
.curve__item.s4 { left: calc(1228 * var(--u)); top: calc(71 * var(--u));  width: calc(294 * var(--u)); height: calc(498 * var(--u)); clip-path: polygon(0 5%, 100% 0, 100% 100%, 0 95.8%); }
.curve__item.s5 { left: calc(1536 * var(--u)); top: 0;                      width: calc(384 * var(--u)); height: calc(637 * var(--u)); clip-path: polygon(0 9.6%, 100% 0, 100% 100%, 0 90.4%); }
.curve__item.out-left  { left: calc(-420 * var(--u)); top: 0; width: calc(384 * var(--u)); height: calc(637 * var(--u)); clip-path: polygon(0 0, 100% 9.6%, 100% 90.4%, 0 100%); opacity: 0; }
.curve__item.out-right { left: calc(1960 * var(--u)); top: 0; width: calc(384 * var(--u)); height: calc(637 * var(--u)); clip-path: polygon(0 9.6%, 100% 0, 100% 100%, 0 90.4%); opacity: 0; }
.clubs__tags { text-align: center; margin-top: calc(14 * var(--u)); font-size: calc(33 * var(--uf)); letter-spacing: calc(6 * var(--u)); color: var(--text-2); font-weight: 400; }
.clubs__tags i { font-style: normal; color: var(--blue); margin: 0 calc(16 * var(--u)); letter-spacing: 0; }

/* =====================================================================
   SECTION 10 – FAQ (box 1766 x 1627, section 1845)
   ===================================================================== */
.faq-sec { padding: calc(var(--sec-top) * var(--u)) 0 calc(var(--sec-bot) * var(--u)); }
/* box grows with its content (no fixed min-height, so no empty band under the last question) */
.box--faq { padding: calc(121 * var(--u)) 0 calc(96 * var(--u)); }
.box--faq .title { font-size: calc(67 * var(--uf)); line-height: 1.11; }
.box--faq .title span { font-size: calc(54 * var(--uf)); }
.faq { width: calc(1334 * var(--u)); margin: calc(56 * var(--u)) auto 0; }
.faq__item + .faq__item { margin-top: calc(46 * var(--u)); }
.faq__q { width: 100%; height: calc(68 * var(--u)); display: flex; align-items: center; gap: calc(16 * var(--u)); text-align: left; border: 0; border-radius: calc(8 * var(--u)); padding: 0 calc(30 * var(--u)) 0 calc(38 * var(--u)); background: var(--faq-closed); color: var(--text); font-size: calc(31 * var(--uf)); font-weight: 700; transition: background .25s, color .25s; }
.faq__q span { flex: none; min-width: calc(30 * var(--u)); }
.faq__q:hover { filter: brightness(1.03); }
.faq__item.is-open .faq__q { background: var(--blue); color: #fff; }
.faq__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .4s ease; }
.faq__a > div { overflow: hidden; }
.faq__a p { padding: calc(30 * var(--u)) calc(114 * var(--u)) 0 calc(40 * var(--u)); font-size: max(13px, calc(21 * var(--uf))); color: var(--text-2); line-height: 1.27; }
.faq__item.is-open .faq__a { grid-template-rows: 1fr; }
.faq__a strong { font-weight: 700; color: var(--text); }

/* =====================================================================
   FOOTER (1117 tall)
   ===================================================================== */
.footer { position: relative; overflow: hidden; }
/* Footer in normal flow: title -> button -> skyline. The skyline spans the full
   screen width and keeps its own aspect ratio, so it never stretches or leaves gaps. */
.footer__frame { height: auto; text-align: center; }
/* Skyline scene: full footer width. Patterns are 588/1918 of the skyline width and their row 327 sits on
   the skyline's top edge (margin-top % is relative to width), so the lines join the ones drawn in the skyline. */
.footer__scene { position: relative; margin-top: calc(98 * var(--u)); }
.footer__pat { position: absolute; top: 0; width: 30.657%; margin-top: -17.049%; pointer-events: none; z-index: 0; }
.footer__pat--l { left: 0; } .footer__pat--r { right: 0; }
.footer__title { position: relative; z-index: 1; padding-top: calc(var(--sec-top) * var(--u)); font-size: calc(66 * var(--uf)); font-weight: 700; letter-spacing: calc(4 * var(--u)); line-height: 1.16; color: var(--text); }
.footer__btn { position: relative; z-index: 2; margin: calc(117 * var(--u)) auto 0; width: calc(330 * var(--u)); height: calc(72 * var(--u)); display: flex; align-items: center; justify-content: center; background: var(--navy); color: #fff; border-radius: calc(8 * var(--u)); font-size: calc(28 * var(--uf)); font-weight: 700; letter-spacing: calc(3 * var(--u)); transition: background .25s; }
.footer__btn:hover { background: var(--blue); }
.footer__skyline { position: relative; z-index: 1; display: block; width: 100%; max-width: none; height: auto; margin: 0; }
/* single line of text, so a slim bar (kept above the background patterns) */
.footer__bar { position: relative; z-index: 3; height: max(40px, calc(64 * var(--u))); display: flex; align-items: center; justify-content: center; background: linear-gradient(90deg, #154f8d 0%, #245488 15%, #435f78 31%, #777266 50%, #a78349 68%, #cf9036 83%, #ee9b27 100%); color: #fff; font-size: max(11px, calc(17 * var(--uf))); letter-spacing: .3px; text-align: center; padding: 0 16px; }

.d-only { display: inline; }

/* small laptops: compact menu pill so it never runs into the logo */
@media (min-width: 1024px) and (max-width: 1279px) {
  .site-nav__menu { gap: 13px; padding: 0 18px; }
  .site-nav__menu a { font-size: 11px; letter-spacing: 0; }
}

/* =====================================================================
   TABLET + MOBILE  (< 1024px)
   ===================================================================== */
@media (max-width: 1023px) {
  :root { --u: 1px; }
  .side-apply { display: none; }
  .mobile-cta { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 95; text-align: center; background: linear-gradient(90deg, #16509a, #f39c25); color: #fff; font-weight: 700; letter-spacing: 1px; padding: 15px 10px; font-size: 16px; box-shadow: 0 -4px 14px rgba(0,0,0,.15); }
  body { padding-bottom: 52px; }

  /* Top menu: hamburger + drop-down */
  :root { --navh: 58px; }
  .site-nav__inner { height: 58px !important; padding: 0 12px 0 16px; justify-content: space-between; }
  .site-nav:not(.is-stuck) .site-nav__inner { height: 72px !important; }
  .site-nav__logo img { width: 140px; }
  .site-nav__toggle { display: flex; flex-direction: column; justify-content: center; gap: 5px; margin-left: auto; width: 44px; height: 44px; padding: 0 10px; border: 0; border-radius: 8px; background: rgba(21,79,141,.55); }
  .site-nav.is-stuck .site-nav__toggle { background: transparent; }
  .site-nav__toggle span { display: block; height: 2px; background: #fff; border-radius: 2px; transition: transform .25s, opacity .25s; }
  .site-nav.is-open .site-nav__toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .site-nav.is-open .site-nav__toggle span:nth-child(2) { opacity: 0; }
  .site-nav.is-open .site-nav__toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .site-nav__menu { position: absolute; top: 100%; left: 0; right: 0; height: auto; padding: 0; flex-direction: column; align-items: stretch; gap: 0; margin: 0; background: #fff; border-radius: 0 0 12px 12px; -webkit-backdrop-filter: none; backdrop-filter: none; box-shadow: 0 10px 20px rgba(0,0,0,.2); max-height: 0; overflow: hidden; transition: max-height .35s ease; }
  .site-nav.is-stuck .site-nav__menu { height: auto; }
  .site-nav.is-open .site-nav__menu { max-height: 420px; }
  .site-nav__menu a { font-size: 15px; padding: 14px 20px; border-top: 1px solid #eee; }
  .site-nav__menu a::after { left: 20px; bottom: 8px; }
  .site-nav__menu a:hover::after, .site-nav__menu a.is-active::after { right: calc(100% - 60px); }
  .d-only { display: none; }
  .title { font-size: 30px !important; line-height: 1.15 !important; letter-spacing: 0; }
  .subtitle { font-size: 17px !important; margin-top: 10px !important; }
  .box { margin: 0 16px; border-radius: 18px; height: auto !important; min-height: 0 !important; }

  /* Hero */
  .hero { background-position: 30% center; overflow: hidden; }
  .hero__frame { height: auto; padding: 0; display: flex; flex-direction: column; }
  .hero__banner-m { display: block; order: -1; }
  .hero__banner-m img { width: 100%; height: auto; }
  .hero__pattern, .hero__content, .hero__student { display: none !important; }
  .hero__pattern { left: auto; right: -40px; top: 260px; width: 200px; opacity: .45; }
  .hero__content { position: relative; inset: auto; pointer-events: auto; }
  .hero__content { order: 0; } .hero__student { order: 1; } .hero__form { order: 2; }
  .hero__content > * { position: static; white-space: normal; }
  .hero__logo img { width: 220px; }
  .hero__tagline { display: block; margin-top: 28px; font-size: 21px; }
  .hero__title { display: block; margin-top: 18px; }
  .hero__explore { font-size: 27px; }
  .hero__ugpg { font-size: 78px; letter-spacing: -2px; }
  .hero__prog { font-size: 28px; margin-top: 2px; }
  .hero__at { font-size: 25px; margin-top: 6px; }
  .hero__legacy { display: block; margin-top: 20px; font-size: 24px; }
  .hero__btn { margin-top: 20px; width: 100%; max-width: 360px; height: 52px; font-size: 17px; border-width: 2px; border-radius: 12px; }
  .hero__student { position: relative; left: auto; width: 100%; max-width: 380px; margin: 16px auto 0; }
  .hero__form { position: relative; left: auto; top: auto; width: auto; margin: 0; }
  .enquiry { border-radius: 0; min-height: 0; padding: 24px 18px 26px; box-shadow: none; }
  .enquiry__head { height: 52px; font-size: 19px; padding-left: 16px; margin-bottom: 10px; }
  .field { margin: 0 4px 12px; height: 44px; gap: 12px; }
  .field input, .field select { font-size: 16px; }
  .field--mobile select { width: 64px; }
  .captcha-box { font-size: 17px; gap: 8px; padding: 0 10px; }
  .captcha-box button { font-size: 18px; }
  .consent { margin: 6px 4px 0; font-size: 13px; gap: 8px; }
  .consent input { width: 16px; height: 16px; }
  .btn-submit { width: 170px; height: 50px; font-size: 19px; border-radius: 12px; margin: 22px auto 14px; }
  .existing-login { font-size: 13px; }
  .hero__form--npf { right: auto; width: auto; }
  .enquiry--npf { padding: 20px 14px 16px; }
  .enquiry--npf .enquiry__head { margin-bottom: 8px; }

  /* Outcomes */
  .outcomes__frame { height: auto; padding: 47px 20px 24px; }
  .outcomes__line { display: none; }
  .outcomes__pattern { left: auto; right: -80px; top: auto; bottom: 0; width: 460px; opacity: .7; }
  .outcomes__title { position: static; text-align: center; font-size: 32px; line-height: 1.05; }
  .outcomes__title span { font-size: 18px; margin-bottom: 10px; }
  .stats { position: relative; left: auto; top: auto; margin-top: 18px; grid-template-columns: 1fr 1fr; row-gap: 22px; column-gap: 12px; }
  .stats::before { content: ""; grid-row: 2; grid-column: 1 / -1; height: 12px; margin: 0 -20px; background: var(--beige); }
  .stat { text-align: center; }
  .stat__num { font-size: 30px; }
  .stat__label { font-size: 12px; letter-spacing: 1.4px; margin-top: 6px; white-space: normal; }
  .outcomes__img { position: relative; left: auto; top: auto; width: 100%; max-width: 440px; margin: 30px auto 0; }

  /* Programmes */
  .programmes__frame { padding: 42px 16px 24px; }
  .programmes__pattern { width: 300px; height: auto; top: auto; bottom: 0; left: 0; opacity: .6; }
  .programmes .title { margin-bottom: 22px; }
  .acc { width: 100%; }
  .acc__item + .acc__item, .acc__item.is-open + .acc__item { margin-top: 12px; }
  .acc__btn { height: 50px; font-size: 18px; padding: 0 20px; border-radius: 6px; }
  .acc__icon { width: 12px; height: 12px; border-width: 3px; transform: translateY(-3px) rotate(45deg); }
  .acc__item.is-open .acc__icon { transform: translateY(3px) rotate(-135deg); }
  .prog-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; padding: 18px 0 4px; }
  .prog { height: auto; min-height: 84px; }
  .prog__icon { width: 62px; }
  .prog__icon img { width: 30px; height: 30px; }
  .prog__name, .prog__name--lg { font-size: 14.5px; padding: 8px 8px 8px 10px; }
  .prog__name small { font-size: 12px; }
  .prog--wide { height: 60px; min-height: 60px; }
  .prog--wide .prog__name { padding-left: 18px; }

  /* Carousels (shared) */
  .carousel__viewport { width: auto !important; }
  .carousel__arrow { width: 38px; height: 38px; margin-top: -19px; background-color: rgba(255,255,255,.95); background-size: 10px 18px; border-radius: 50%; box-shadow: 0 2px 8px rgba(0,0,0,.18); }
  .carousel__arrow--prev { left: -8px !important; } .carousel__arrow--next { right: -8px !important; }
  .carousel__dots { gap: 3px; }
  .carousel__dots button { width: 16px; height: 3px; }
  .carousel__dots button.active { width: 38px; }

  /* Immersion */
  .immersion { padding: 48px 0 20px; }
  .box--immersion { padding: 30px 16px 28px; }
  .carousel--immersion { --per: 2; --gap: 18px; margin-top: 26px; }
  .card-im { height: auto; border-radius: 14px; }
  .card-im img { height: auto; aspect-ratio: 400 / 446; }
  .card-im__body { padding: 14px 14px 22px; }
  .card-im h3 { font-size: 21px; height: 48px; }
  .card-im p { font-size: 15px; }
  .card-im p::before { width: 80px; height: 2px; margin: 12px auto 14px; }

  /* Connections */
  .connect__frame { height: auto; padding: 32px 16px 24px; display: flex; flex-direction: column; }
  .connect__line { display: none; }
  .connect__pattern { left: auto; right: -60px; top: 28px; width: 240px; opacity: .6; }
  .connect__img { display: none; }  /* globe picture: desktop only */
  .connect__content { position: static; width: auto; }
  .connect .title { text-align: center; white-space: normal; }
  .connect__kpi { font-size: 20px; text-align: center; margin-top: 6px; }
  .connect__text { font-size: 16px; text-align: center; margin-top: 12px; }
  .connect__h3 { font-size: 19px; text-align: center; margin-top: 22px; }
  .carousel--logos { --per: 4; width: auto; margin: 12px 0 0; }
  .logo-col img { height: auto; aspect-ratio: 223 / 82; }
  .carousel--logos .carousel__dots { margin-top: 14px; }
  .connect__bottom { position: static; margin-top: 40px; padding-top: 34px; border-top: 12px solid var(--beige); }
  .carousel--partners { --per: 4; width: auto; margin: 24px 0 0; }
  .partner { height: 64px; padding: 0 4px; }
  .carousel--partners .carousel__dots { margin-top: 22px; }

  /* Labs */
  .labs__frame { height: auto; padding: 18px 16px 24px; }
  .labs__pattern { left: auto; right: 0; top: auto; bottom: 0; width: 300px; opacity: .6; }
  .carousel--labs { --per: 3; --gap: 16px; margin-top: 26px; }
  .card-lab { height: auto; border-radius: 14px; }
  .card-lab img, .card-lab__ph { height: auto; aspect-ratio: 343 / 265; }
  .card-lab h3 { height: 96px; font-size: 16px; }

  /* Founders */
  .founders { height: auto; padding: 48px 0 24px; }
  .box--founders { padding: 30px 16px 56px; }
  .carousel--founders { --per: 3; --gap: 20px; margin-top: 30px; }
  .carousel--founders .carousel__arrow { top: 34%; }
  .founder img { width: 100%; height: auto; max-width: 270px; }
  .founder h3 { font-size: 24px; margin-top: 12px; }
  .founder h3::after { width: 34px; height: 3px; margin: 7px 0 8px; }
  .founder p { font-size: 15px; }
  .seed-badge { width: min(460px, 86%); bottom: 0; transform: translate(-50%, 50%); }
  .seed-tag { font-size: 14px; letter-spacing: 2px; margin-top: 40px; padding: 0 12px; }

  /* Alumni */
  .alumni__frame { height: auto; padding: 21px 16px 24px; }
  .alumni__pattern { display: none; }
  .alumni__quote { position: absolute; left: 50%; transform: translateX(-50%); top: 0; width: 170px; }
  .alumni__title { position: relative; left: auto; top: auto; text-align: center; padding-top: 104px; font-size: 36px; line-height: 1.05; }
  .alumni__title span { font-size: 24px; margin-top: 6px; }
  .carousel--alumni { position: relative; left: auto; top: auto; width: auto; margin-top: 30px; --per: 2; --gap: 18px; }
  .carousel--alumni .carousel__dots { margin-top: 22px; }
  .testi { height: auto; border-radius: 16px; }
  .testi__img { height: 290px; }
  .testi .testi__img img { top: 18px; width: 260px; }
  .testi__body { padding: 10px 16px 24px; }
  .testi h3 { font-size: 23px; }
  .testi p { font-size: 15px; }
  .testi p::before { width: 80px; height: 2px; }

  /* Clubs gallery – 3 visible slots */
  .clubs { height: auto; padding: 20px 0 6px; }
  .clubs__title { padding: 0 16px; font-size: 26px; line-height: 1.15; }
  .clubs__title span { font-size: 22px; margin-top: 8px; }
  .curve { height: 360px; margin-top: 24px; }
  .curve__item { border-radius: 10px; }
  .curve__item.s0 { left: -12%; top: 40px;  width: 26%; height: 280px; clip-path: polygon(0 0, 100% 7%, 100% 93%, 0 100%); }
  .curve__item.s1 { left: 18%;  top: 0;     width: 64%; height: 360px; clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); }
  .curve__item.s2 { left: 86%;  top: 40px;  width: 26%; height: 280px; clip-path: polygon(0 7%, 100% 0, 100% 100%, 0 93%); }
  .curve__item.s3, .curve__item.s4, .curve__item.s5, .curve__item.out-right { left: 115%; top: 40px; width: 26%; height: 280px; clip-path: polygon(0 7%, 100% 0, 100% 100%, 0 93%); opacity: 0; }
  .curve__item.out-left { left: -45%; top: 40px; width: 26%; height: 280px; clip-path: polygon(0 0, 100% 7%, 100% 93%, 0 100%); opacity: 0; }
  .clubs__tags { font-size: 12px; letter-spacing: .4px; margin-top: 22px; padding: 0 8px; white-space: nowrap; }
  .clubs__tags i { margin: 0 4px; }

  /* FAQ */
  .faq-sec { padding: 41px 0 24px; }
  .box--faq { padding: 38px 14px 34px; }
  .box--faq .title span { font-size: 24px; }
  .faq { width: auto; margin-top: 26px; }
  .faq__item + .faq__item { margin-top: 12px; }
  .faq__q { height: auto; min-height: 50px; padding: 12px 14px; font-size: 15px; gap: 8px; border-radius: 6px; align-items: flex-start; }
  .faq__q span { min-width: 22px; }
  .faq__a p { padding: 16px 6px 4px; font-size: 14.5px; }

  /* Footer */
  .footer__frame { height: auto; padding: 19px 16px 0; }
  .footer__title { padding-top: 0; font-size: 28px; letter-spacing: 1.5px; }
  .footer__btn { margin: 18px auto 0; width: 180px; height: 44px; font-size: 15px; letter-spacing: 1.5px; border-radius: 6px; }
  .footer__scene { margin-top: 22px; }
  .footer__bar { height: auto; padding: 9px 8px; font-size: min(11px, 2.35vw); letter-spacing: 0; white-space: nowrap; }
}

/* Phones */
@media (max-width: 640px) {
  .prog-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .prog { flex-direction: column; align-items: stretch; }
  .prog__icon { width: 100%; height: 48px; }
  .prog__name, .prog__name--lg { text-align: center; margin: auto 0; font-size: 14px; }
  /* Two cards per row on phones */
  .carousel--immersion, .carousel--labs, .carousel--founders, .carousel--alumni { --per: 2 !important; --gap: 10px !important; }
  .carousel--immersion .carousel__viewport, .carousel--labs .carousel__viewport, .carousel--founders .carousel__viewport, .carousel--alumni .carousel__viewport { padding: 0; }
  .carousel__arrow { width: 32px; height: 32px; margin-top: -16px; background-size: 8px 15px; }
  .carousel__arrow--prev { left: -12px !important; } .carousel__arrow--next { right: -12px !important; }
  .box--immersion, .box--founders { padding-left: 14px; padding-right: 14px; }

  .card-im { border-radius: 10px; }
  .card-im__body { padding: 10px 8px 14px; }
  .card-im h3 { font-size: 14.5px; height: auto; min-height: 36px; }
  .card-im p { font-size: 12.5px; line-height: 1.25; }
  .card-im p::before { width: 50px; margin: 8px auto 8px; }

  .card-lab { border-radius: 10px; }
  .card-lab h3 { height: 72px; font-size: 13px; line-height: 1.22; padding: 0 6px 2px; }

  .founder { text-align: left; }
  .founder img { max-width: 100%; }
  .founder h3 { font-size: 18px; margin-top: 8px; }
  .founder h3::after { width: 26px; margin: 5px 0 6px; }
  .founder p { font-size: 12.5px; }
  .carousel--founders .carousel__arrow { top: 30%; }

  .testi { border-radius: 12px; }
  .testi__img { height: 170px; }
  .testi .testi__img img { top: 12px; width: 150px; }
  .testi__body { padding: 8px 8px 14px; }
  .testi h3 { font-size: 15px; }
  .testi p { font-size: 12px; line-height: 1.3; }
  .testi p::before { width: 50px; margin: 6px auto 8px; }
  .alumni__quote { width: 150px; }
  .alumni__title { font-size: 32px; padding-top: 92px; }
  .alumni__title span { font-size: 22px; }

  .carousel--logos { --per: 2; }
  .carousel--partners { --per: 2; }
  .hero__ugpg { font-size: 72px; }
}
@media (max-width: 360px) {
  /* keep 2 programmes per row on small phones too */
  .prog-grid { gap: 6px; }
  .prog__name, .prog__name--lg { font-size: 12.5px; padding: 6px 5px; }
  .prog__name small { font-size: 10.5px; }
}
