/* ==========================================================================
   Gradanta — cream & royal blue
   ========================================================================== */
:root {
  --cream: #f7f2e8;
  --cream-2: #efe6d3;
  --cream-3: #e6dac1;
  --paper: #fffdf8;
  --blue: #0036e6;
  --blue-600: #002cc0;
  --blue-800: #0a1f8f;
  --ink: #0d1433;
  --ink-2: #3b4263;
  --muted: #6b6f83;
  --line: rgba(13, 20, 51, .12);
  --line-strong: rgba(13, 20, 51, .22);
  --white: #fff;
  /* Montserrat everywhere, as on hootsuite.com.
     (--serif is the historical name of the heading-font variable; no serif fonts are used.) */
  --serif: 'Montserrat', 'Helvetica Neue', Arial, sans-serif;
  --sans: 'Montserrat', 'Helvetica Neue', Arial, sans-serif;
  --header-h: 96px;
  --header-h-sm: 74px;
  --radius: 18px;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --shadow: 0 18px 50px -18px rgba(13, 20, 51, .25);
  --band: #071652;          /* deep royal navy: plays the role of QE's dark teal band */
  --band-accent: #8fa8ff;   /* light royal blue: QE's teal accent */
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--sans); font-size: 16px; line-height: 1.6;
  color: var(--ink); background: var(--cream); -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.container { width: min(1280px, 100% - 64px); margin-inline: auto; }
body.no-scroll { overflow: hidden; }

.eyebrow {
  font-family: var(--sans); font-size: 12px; font-weight: 500; letter-spacing: .22em;
  text-transform: uppercase; color: var(--blue);
}
.serif { font-family: var(--serif); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 50px; padding: 0 28px; border-radius: 999px; font-size: 14px; font-weight: 500;
  letter-spacing: .08em; text-transform: uppercase; transition: all .3s var(--ease); white-space: nowrap;
}
.btn svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn-primary { background: var(--blue); color: var(--white); }
.btn-primary:hover { background: var(--blue-800); }
.btn-light { background: var(--cream); color: var(--blue-800); }
.btn-light:hover { background: var(--white); }
.btn-ghost { border: 1px solid currentColor; }
.btn-ghost:hover { background: rgba(255, 255, 255, .12); }
.btn-outline { border: 1px solid var(--blue); color: var(--blue); }
.btn-outline:hover { background: var(--blue); color: var(--white); }
.btn-block { width: 100%; }

/* ==========================================================================
   Header (transparent over hero → white on scroll)
   ========================================================================== */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h);
  color: var(--white); transition: background .4s var(--ease), color .4s var(--ease), height .4s var(--ease), box-shadow .4s var(--ease);
}
.site-header::before {
  content: ''; position: absolute; inset: 0 0 -40px 0; pointer-events: none;
  background: linear-gradient(to bottom, rgba(5, 10, 30, .55), rgba(5, 10, 30, 0));
  transition: opacity .4s var(--ease);
}
.site-header.is-solid, body.header-solid .site-header {
  background: var(--white); color: var(--ink); height: var(--header-h-sm);
  box-shadow: 0 1px 0 var(--line), 0 10px 30px -20px rgba(13, 20, 51, .25);
}
.site-header.is-solid::before, body.header-solid .site-header::before { opacity: 0; }
.header-inner {
  position: relative; height: 100%; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  width: min(1440px, 100% - 64px); margin-inline: auto;
}
.nav-left { display: flex; align-items: center; gap: 38px; height: 100%; }
.nav-right { display: flex; align-items: center; justify-content: flex-end; gap: 22px; }
.nav-item { position: static; height: 100%; display: flex; align-items: center; }
.nav-link {
  display: inline-flex; align-items: center; gap: 8px; height: 100%;
  font-size: 13px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; position: relative;
}
.nav-link::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: calc(50% - 16px); height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
}
.nav-item:hover .nav-link::after, .nav-item.open .nav-link::after { transform: scaleX(1); }
.nav-link .chev { width: 10px; height: 10px; transition: transform .3s var(--ease); }
.nav-item.open .nav-link .chev { transform: rotate(180deg); }

.brand { display: block; justify-self: center; }
.brand img { height: 40px; width: auto; transition: filter .4s var(--ease), height .4s var(--ease); filter: brightness(0) invert(1); }
.is-solid .brand img, body.header-solid .brand img { filter: none; height: 34px; }

/* Search */
.search { position: relative; }
.search-field {
  display: flex; align-items: center; gap: 10px; height: 42px; width: 230px; padding: 0 16px;
  border-radius: 999px; border: 1px solid rgba(255, 255, 255, .55); background: rgba(255, 255, 255, .08);
  backdrop-filter: blur(6px); transition: all .35s var(--ease);
}
.search-field:focus-within { width: 270px; background: rgba(255, 255, 255, .16); }
.is-solid .search-field, body.header-solid .search-field { border-color: var(--line-strong); background: var(--cream); }
.search-field svg { width: 16px; height: 16px; flex: none; opacity: .85; }
.search-field input {
  border: 0; outline: 0; background: transparent; width: 100%; font-size: 14px; letter-spacing: .02em;
}
.search-field input::placeholder { color: currentColor; opacity: .8; }
.search-results {
  position: absolute; top: calc(100% + 12px); right: 0; width: 380px; max-height: 420px; overflow: auto;
  background: var(--white); color: var(--ink); border-radius: 14px; box-shadow: var(--shadow);
  padding: 8px; opacity: 0; visibility: hidden; transform: translateY(-6px); transition: all .25s var(--ease);
}
.search.open .search-results { opacity: 1; visibility: visible; transform: none; }
.search-results .sr-head { padding: 10px 12px 6px; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.search-results a {
  display: grid; grid-template-columns: 1fr auto; gap: 2px 10px; padding: 10px 12px; border-radius: 10px;
}
.search-results a:hover, .search-results a.active { background: var(--cream); }
.search-results .t { font-weight: 500; }
.search-results .t mark { background: none; color: var(--blue); }
.search-results .c { grid-column: 1; font-size: 12px; color: var(--muted); }
.search-results .w { grid-row: 1 / span 2; grid-column: 2; align-self: center; font-size: 12px; color: var(--blue); }
.search-results .empty { padding: 16px 12px; font-size: 14px; color: var(--muted); }

.link-login { font-size: 13px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; }
.link-login:hover { opacity: .75; }
.btn-signup {
  height: 42px; padding: 0 22px; border-radius: 999px; font-size: 13px; font-weight: 500; letter-spacing: .16em;
  text-transform: uppercase; background: var(--white); color: var(--blue); transition: all .3s var(--ease);
}
.btn-signup:hover { background: var(--cream); }
.is-solid .btn-signup, body.header-solid .btn-signup { background: var(--blue); color: var(--white); }
.is-solid .btn-signup:hover, body.header-solid .btn-signup:hover { background: var(--blue-800); }
.user-chip { display: none; position: relative; align-items: center; font-size: 13px; letter-spacing: .06em; }
.user-toggle { display: inline-flex; align-items: center; gap: 10px; padding: 2px; border-radius: 999px; }
.user-toggle .chev { width: 10px; height: 10px; transition: transform .3s var(--ease); }
.user-chip.open .user-toggle .chev { transform: rotate(180deg); }
.user-chip .avatar {
  width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-weight: 600;
  background: var(--white); color: var(--blue);
}
.is-solid .user-chip .avatar, body.header-solid .user-chip .avatar { background: var(--blue); color: var(--white); }
/* Account menu (opens from the avatar) */
.user-menu {
  position: absolute; top: calc(100% + 12px); right: 0; min-width: 240px; padding: 8px;
  background: var(--white); color: var(--ink); border-radius: 16px; box-shadow: 0 18px 50px rgba(13, 20, 51, .18);
  letter-spacing: normal; opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .2s, transform .2s var(--ease), visibility .2s;
}
.user-chip.open .user-menu { opacity: 1; visibility: visible; transform: none; }
.um-head { display: grid; gap: 2px; padding: 10px 12px 12px; margin-bottom: 4px; border-bottom: 1px solid var(--line); }
.um-head b { font-size: 15px; font-weight: 600; }
.um-head small { font-size: 13px; color: var(--ink-2); overflow-wrap: anywhere; }
.user-menu a, .user-menu button {
  display: block; width: 100%; padding: 11px 12px; border-radius: 10px; text-align: left;
  font-size: 14px; font-weight: 500; color: var(--ink);
}
.user-menu a:hover, .user-menu button:hover { background: var(--cream); color: var(--blue); }
.user-menu [data-logout] { color: var(--blue); }
body.logged-in .link-login, body.logged-in .btn-signup { display: none; }
body.logged-in .user-chip { display: inline-flex; }

/* Mega menu */
.mega {
  position: absolute; left: 0; right: 0; top: 100%; color: var(--ink); background: var(--white);
  border-top: 1px solid var(--line); box-shadow: 0 30px 60px -30px rgba(13, 20, 51, .35);
  opacity: 0; visibility: hidden; transform: translateY(-8px); transition: all .3s var(--ease);
}
.site-header .mega { left: calc((100vw - min(1440px, 100vw - 64px)) / -2); right: calc((100vw - min(1440px, 100vw - 64px)) / -2); }
.nav-item.open .mega { opacity: 1; visibility: visible; transform: none; }
.mega-inner { width: min(1440px, 100% - 64px); margin-inline: auto; display: grid; grid-template-columns: 1fr 1fr 2fr 1.25fr; gap: 48px; padding: 44px 0 52px; }
.mega h4 { margin: 0 0 6px; font-family: var(--serif); font-weight: 600; font-size: 30px; color: var(--blue); line-height: 1.1; }
.mega .col-blurb { margin: 0 0 18px; font-size: 14px; color: var(--muted); }
.mega ul { list-style: none; margin: 0; padding: 0; }
.mega li a {
  display: flex; justify-content: space-between; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line);
  font-size: 15px; transition: color .2s, padding .3s var(--ease);
}
.mega li a span { font-size: 12px; color: var(--muted); white-space: nowrap; }
.mega li a:hover { color: var(--blue); padding-left: 6px; }
.mega .two-col ul { columns: 2; column-gap: 32px; }
.mega .two-col li { break-inside: avoid; }
.mega-promo {
  border-radius: 16px; padding: 28px; background: var(--blue); color: var(--cream); display: flex; flex-direction: column; justify-content: space-between; gap: 20px;
}
.mega-promo p { margin: 0; font-family: var(--serif); font-size: 26px; line-height: 1.2; }
.mega-promo .btn { align-self: flex-start; height: 44px; padding: 0 20px; font-size: 12px; }
.mega.about .mega-inner { grid-template-columns: repeat(4, 1fr); }
.mega.about .lead { font-family: var(--serif); font-size: 28px; line-height: 1.25; margin: 0; }
.mega.about a.tile { display: block; padding: 20px; border-radius: 14px; background: var(--cream); transition: background .25s; }
.mega.about a.tile:hover { background: var(--cream-2); }
.mega.about a.tile strong { display: block; font-family: var(--serif); font-size: 22px; font-weight: 600; color: var(--blue); }
.mega.about a.tile span { font-size: 14px; color: var(--ink-2); }

/* Mobile header bits */
.menu-toggle, .search-toggle { display: none; width: 42px; height: 42px; place-items: center; }
.menu-toggle svg, .search-toggle svg { width: 22px; height: 22px; }

.drawer {
  position: fixed; inset: 0; z-index: 200; background: var(--cream); color: var(--ink);
  transform: translateX(-100%); transition: transform .45s var(--ease); display: flex; flex-direction: column;
}
.drawer.open { transform: none; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; height: var(--header-h-sm); padding: 0 20px; border-bottom: 1px solid var(--line); }
.drawer-head img { height: 30px; }
.drawer-back {
  display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px;
  border: 1px solid var(--blue); border-radius: 999px; color: var(--blue);
  font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
}
.drawer-back svg { width: 18px; height: 18px; flex: none; }
.drawer-back:active { background: var(--blue); color: #fff; }
.drawer-body { flex: 1; overflow: auto; padding: 12px 20px 32px; }
.drawer details { border-bottom: 1px solid var(--line); }
.drawer summary { list-style: none; display: flex; justify-content: space-between; align-items: center; padding: 18px 0; font-size: 14px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; cursor: pointer; }
.drawer summary::-webkit-details-marker { display: none; }
.drawer summary::after { content: '+'; font-size: 22px; font-weight: 300; }
.drawer details[open] summary::after { content: '–'; }
.drawer .grp { margin: 0 0 16px; }
.drawer .grp h5 { margin: 6px 0; font-family: var(--serif); font-size: 22px; color: var(--blue); }
.drawer .grp a { display: block; padding: 8px 0; color: var(--ink-2); }
.drawer-actions { display: grid; gap: 12px; padding: 20px; border-top: 1px solid var(--line); }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero { position: relative; height: calc(100vh + 30px); min-height: 780px; max-height: 1130px; color: var(--white); overflow: hidden; background: var(--ink); }
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.4s var(--ease); }
.hero-slide.active { opacity: 1; z-index: 1; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); transition: transform 7s linear; }
.hero-slide.active img { transform: scale(1); }
.hero-slide::after {
  content: ''; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(6, 12, 40, .78) 0%, rgba(6, 12, 40, .45) 45%, rgba(6, 12, 40, .1) 75%),
    linear-gradient(0deg, rgba(6, 12, 40, .85) 0%, rgba(6, 12, 40, 0) 45%);
}
.hero-slide[data-pos='library'] img { object-position: 60% 40%; }
.hero-slide[data-pos='hall'] img { object-position: 50% 60%; }
.hero-copy {
  position: absolute; z-index: 4; left: 0; right: 0; top: calc(var(--header-h) + 7vh);
  width: min(1440px, 100% - 64px); margin-inline: auto;
}
.hero-quote { max-width: 860px; }
.hero-quote .eyebrow { color: rgba(255, 255, 255, .8); display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.hero-quote .eyebrow::before { content: ''; width: 40px; height: 1px; background: currentColor; }
.hero-quote blockquote { margin: 0; font-family: var(--serif); font-weight: 500; }
.hero-quote .q-lead { display: block; font-size: clamp(40px, 5.2vw, 78px); line-height: 1.02; letter-spacing: -.01em; }
.hero-quote .q-rest { display: block; margin-top: 22px; font-size: clamp(26px, 2.8vw, 40px); line-height: 1.25; font-style: italic; color: rgba(255, 255, 255, .9); max-width: 860px; }
.hero-quote .q-rest em { font-style: normal; color: var(--white); border-bottom: 1px solid rgba(255, 255, 255, .5); }
.hero-quote .reveal-line { display: block; overflow: hidden; }
.hero-quote .reveal-line > span { display: inline-block; transform: translateY(105%); transition: transform 1s var(--ease); }
.hero-slide.active .reveal-line > span, .hero-copy .active .reveal-line > span { transform: none; }
.hero-quotes { position: relative; }
.hero-quotes .hero-quote { position: absolute; inset: 0 auto auto 0; opacity: 0; visibility: hidden; transition: opacity .8s var(--ease), visibility .8s; }
.hero-quotes .hero-quote.active { position: relative; opacity: 1; visibility: visible; }
.hero-quote .reveal-line:nth-child(2) > span { transition-delay: .12s; }
.hero-quote .reveal-line:nth-child(3) > span { transition-delay: .24s; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }

.hero-dots { position: absolute; z-index: 3; right: max(32px, calc((100vw - 1440px) / 2)); top: calc(var(--header-h) + 7vh); display: flex; flex-direction: column; gap: 14px; align-items: flex-end; }
.hero-dot { display: flex; align-items: center; gap: 12px; padding: 8px 0; /* keeps the bar easy to click */ font-size: 12px; letter-spacing: .2em; color: rgba(255, 255, 255, .6); }
.hero-dot .bar { width: 46px; height: 2px; background: rgba(255, 255, 255, .3); position: relative; overflow: hidden; }
.hero-dot .bar::after { content: ''; position: absolute; inset: 0; background: var(--white); transform: scaleX(0); transform-origin: left; }
.hero-dot.active { color: var(--white); }
.hero-dot.active .bar::after { animation: heroProgress 5s linear forwards; }
.hero.paused .hero-dot.active .bar::after { animation-play-state: paused; }
@keyframes heroProgress { to { transform: scaleX(1); } }

/* Hero fades into the courses band, which overlaps its bottom (Quinn Emanuel layout) */
.hero::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 480px; z-index: 2; pointer-events: none;
  background: linear-gradient(rgba(7, 22, 82, 0) 0%, var(--band) 100%);
}

/* ==========================================================================
   Courses carousel — mirrors QE's "What's new" slider
   ========================================================================== */
.courses-band {
  --slot: 410px;               /* 380px card + 30px gap */
  position: relative; z-index: 3; margin-top: -230px; padding: 105px 0 30px;
  /* transparent where it overlaps the hero, so the hero's fade carries straight into the band */
  background: linear-gradient(rgba(7, 22, 82, 0) 0, var(--band) 230px); color: var(--white); overflow: hidden;
}
.cb-viewport { position: relative; overflow: hidden; padding: 0 0 8px; touch-action: pan-y; cursor: grab; }
.cb-viewport.dragging { cursor: grabbing; }
.cb-track { display: flex; will-change: transform; transition: transform .5s ease; }
.cb-track.no-anim { transition: none; }
.cb-item { flex: 0 0 var(--slot); padding-right: 30px; opacity: .6; transition: opacity .5s ease; }
.cb-item.active { opacity: 1; }
.cb-card {
  display: flex; flex-direction: column; height: 100%; min-height: 380px; padding: 34px 37px 30px;
  background: rgba(255, 255, 255, .15); border-radius: 22px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, .5); color: var(--white);
  transition: background-color .3s ease, box-shadow .3s ease; user-select: none; -webkit-user-drag: none;
}
.cb-card:hover { background: var(--blue); }
.cb-card .cb-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: 0 0 12px; }
.cb-card .cb-cat { font-size: 12px; font-weight: 500; line-height: 16px; color: var(--band-accent); transition: color .3s ease; }
.cb-card:hover .cb-cat { color: var(--cream); }
.cb-card .cb-title { display: block; font-size: 26px; font-weight: 400; line-height: 32px; }
.cb-card .cb-desc { display: block; margin-top: 12px; font-size: 15px; line-height: 1.5; color: rgba(255, 255, 255, .78); }
.cb-card .cb-skills { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 18px; max-height: 28px; overflow: hidden; }
.cb-card .cb-skills span { padding: 4px 10px; font-size: 12px; line-height: 18px; border: 1px solid rgba(255, 255, 255, .28); color: rgba(255, 255, 255, .9); white-space: nowrap; }
.cb-card .cb-meta { margin-top: auto; padding-top: 18px; display: grid; gap: 12px; }
.cb-card .cb-facts { display: flex; flex-wrap: wrap; gap: 6px 16px; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .18); font-size: 13px; color: rgba(255, 255, 255, .85); }
.cb-card .cb-facts span { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; }
.cb-card .cb-facts span::before { content: ''; width: 5px; height: 5px; background: var(--band-accent); transform: rotate(45deg); }
.cb-card:hover .cb-facts span::before { background: var(--cream); }
.cb-card .cb-go { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--band-accent); transition: color .3s ease; }
.cb-card .cb-go svg { width: 16px; height: 16px; transition: transform .3s ease; }
.cb-card:hover .cb-go { color: var(--cream); }
.cb-card:hover .cb-go svg { transform: translateX(4px); }
.cb-card:hover .cb-desc { color: rgba(255, 255, 255, .92); }
.cb-card:hover .cb-skills span { border-color: rgba(247, 242, 232, .5); }
.cb-arrows { position: relative; z-index: 9; }
.cb-arrow {
  /* Quinn Emanuel style: a bare, thin white chevron (no tail, no button chrome), just scaled up,
     centred on the cards' height (--cb-mid is set by home.js from the real card height) */
  position: absolute; z-index: 9; top: calc(var(--cb-mid, 190px) - 40px); width: 80px; height: 80px; display: grid; place-items: center;
  color: var(--white); background: transparent; filter: drop-shadow(0 1px 3px rgba(0, 0, 0, .55));
  transition: transform .2s ease;
}
.cb-arrow svg { width: 26px; height: 52px; stroke-width: 1.6; }
.cb-prev:hover { transform: translateX(-4px); }
.cb-next:hover { transform: translateX(4px); }
.cb-arrow:focus-visible { outline: 2px solid var(--white); outline-offset: 2px; }
.cb-prev { left: 70px; }
.cb-next { right: 70px; }
.cb-link { text-align: center; padding: 0 15px; margin-top: 28px; }
.cb-link a { font-size: 16px; color: var(--band-accent); }
.cb-link a:hover { color: var(--cream); text-decoration: underline; text-underline-offset: 4px; }
/* ==========================================================================
   Why Us — stacked cards
   ========================================================================== */
.why { padding: 140px 0 120px; background: var(--cream); position: relative; }
.why-head { margin-bottom: 70px; }
.why-head h2 { margin: 0; font-family: var(--serif); font-weight: 500; font-size: clamp(48px, 6.5vw, 104px); line-height: .95; letter-spacing: -.02em; }
.why-head h2 em { color: var(--blue); }
/* Stacked "steps" — upGrad "What gives us an edge?" layout: copy, stats and CTA on the left,
   a real photo with floating UI cards on the right; each card slides over the previous one. */
.stack { position: relative; }
.stack-card {
  --accent: #8fa8ff; --muted-head: rgba(247, 242, 232, .55);
  position: sticky; top: calc(var(--header-h-sm) + 28px + var(--i) * 22px);
  height: min(600px, calc(100vh - var(--header-h-sm) - 70px)); min-height: 540px; margin-bottom: 70px;
  border-radius: 28px; overflow: hidden; display: grid; grid-template-columns: 1fr 1.12fr;
  transform-origin: center top; will-change: transform; box-shadow: 0 -10px 40px -20px rgba(13, 20, 51, .45);
}
.stack-card:last-child { margin-bottom: 0; }
.sc-text { padding: clamp(32px, 3.6vw, 56px); display: flex; flex-direction: column; justify-content: center; min-width: 0; }
.sc-step {
  align-self: flex-start; padding: 7px 14px; border-radius: 999px; font-size: 12px; font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .22);
}
.stack-card h3 { margin: 20px 0 12px; font-family: var(--serif); font-weight: 500; font-size: clamp(32px, 3.2vw, 48px); line-height: 1.04; letter-spacing: -.01em; }
.stack-card h3 span { color: var(--muted-head); }
.sc-sub { margin: 0; font-size: 16px; line-height: 1.55; opacity: .82; max-width: 500px; }
.sc-sub + .sc-points { margin-top: 24px; }
.sc-stats { display: flex; margin: 26px 0 22px; }
.sc-stats div { padding-right: 28px; margin-right: 28px; border-right: 1px solid rgba(255, 255, 255, .2); }
.sc-stats div:last-child { border: 0; margin: 0; padding: 0; }
.sc-stats b { display: block; font-family: var(--serif); font-size: 36px; font-weight: 600; line-height: 1; color: var(--accent); }
.sc-stats span { display: block; margin-top: 6px; font-size: 13px; opacity: .75; }
.sc-points { list-style: none; margin: 0 0 28px; padding: 0; display: grid; gap: 10px; }
.sc-points li { position: relative; padding-left: 26px; font-size: 14.5px; line-height: 1.5; opacity: .92; }
.sc-points li::before {
  content: ''; position: absolute; left: 0; top: 4px; width: 16px; height: 16px; border-radius: 50%;
  background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230d1433' stroke-width='3.2'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 10px no-repeat;
}
.sc-points:last-child { margin-bottom: 0; }
.sc-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.sc-cta .btn { height: 48px; padding: 0 24px; font-size: 13px; }

/* Photo column */
.sc-media { position: relative; margin: 18px 18px 18px 0; border-radius: 20px; overflow: hidden; background: rgba(255, 255, 255, .06); }
.sc-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sc-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6, 12, 40, .18) 0%, rgba(6, 12, 40, 0) 30%, rgba(6, 12, 40, 0) 60%, rgba(6, 12, 40, .35) 100%); pointer-events: none; }


/* Floating UI cards over the photo */
.fl {
  position: absolute; z-index: 2; max-width: min(270px, 46%); padding: 11px 14px; border-radius: 14px;
  background: rgba(255, 255, 255, .96); color: var(--ink); font-size: 13px; line-height: 1.4;
  box-shadow: 0 18px 40px -16px rgba(0, 0, 0, .55); animation: flFloat 6s ease-in-out infinite;
}
.fl small { display: block; margin-bottom: 3px; font-size: 10px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); }
.fl-tl { top: 18px; left: 18px; }
.fl-tr { top: 18px; right: 18px; animation-delay: -2s; }
.fl-bl { bottom: 18px; left: 18px; animation-delay: -3s; }
.fl-br { bottom: 18px; right: 18px; animation-delay: -1.5s; }
@keyframes flFloat { 50% { transform: translateY(-6px); } }
.fl-tl:not(.fl-tools):not(.fl-resume):not(.fl-review) { display: flex; align-items: center; gap: 10px; font-weight: 500; }
.fl-chat.is-answer { border-left: 3px solid var(--blue); }
.fl-chat.fl-bl { bottom: 118px; }
.fl-tools, .fl-tags { display: flex; flex-wrap: wrap; gap: 6px; padding: 0; background: none; box-shadow: none; }
.fl-tools span { padding: 6px 12px; border-radius: 999px; background: #fff; font-size: 12px; font-weight: 600; box-shadow: 0 10px 24px -12px rgba(0, 0, 0, .5); }
.fl-tags span { padding: 6px 12px; border-radius: 999px; font-size: 12px; font-weight: 500; color: #fff; background: rgba(13, 20, 51, .55); border: 1px solid rgba(255, 255, 255, .35); backdrop-filter: blur(6px); }
.fl-journey { width: 260px; padding: 14px 16px 6px; }
.fl-journey h5 { margin: 0 0 4px; font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.wk { display: grid; grid-template-columns: 30px 1fr auto; gap: 8px; align-items: center; padding: 8px 0; border-bottom: 1px dashed var(--line); }
.wk:last-child { border: 0; }
.wk b { font-family: var(--serif); font-size: 18px; color: var(--blue); }
.wk span { font-size: 12.5px; }
.wk i { font-style: normal; font-size: 10.5px; padding: 3px 8px; border-radius: 999px; background: var(--cream); color: var(--ink-2); }
.wk.final i { background: var(--blue); color: var(--white); }
/* certificate: a small landscape certificate with a double frame, signature line and seal */
.fl-cert { width: 270px; padding: 7px; background: #fffdf8; }
.cert-frame { padding: 14px 16px 12px; border: 1px solid #d9c79c; border-radius: 9px; box-shadow: inset 0 0 0 3px #fffdf8, inset 0 0 0 4px #eadfc4; text-align: center; }
.cert-brand { display: block; font-size: 10px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--blue); }
.fl-cert b { display: block; margin-top: 6px; font-family: var(--serif); font-size: 16px; font-weight: 600; line-height: 1.2; }
.cert-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 12px; }
.cert-sign { flex: 1; height: 14px; border-bottom: 1px solid #cdbb90; background: no-repeat left bottom 2px / 64px 12px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 12' fill='none' stroke='%230a1f8f' stroke-width='1.2' stroke-linecap='round'%3E%3Cpath d='M2 9c4-6 7-6 8-2s3 4 6-1 5-4 6 0 4 3 8-2 6-3 8 1 5 2 9-1'/%3E%3C/svg%3E"); }
.fl-cert .seal { flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--blue); color: #fff; display: grid; place-items: center; font-family: var(--serif); font-size: 17px; font-weight: 600; box-shadow: 0 0 0 3px #fffdf8, 0 0 0 4px #d9c79c; }

/* assignment submitted, final project progress, practice test, resume review */
.fl-done { display: flex; gap: 10px; align-items: center; }
.fl-done .ok { flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: #e2f5e8; color: #127a3e; font-weight: 700; }
.fl-done b { font-size: 13px; font-weight: 600; }
.fl-test { min-width: 150px; }
.fl-test b { display: block; font-family: var(--serif); font-size: 22px; font-weight: 700; line-height: 1.1; }
.fl-test > span { display: block; margin-top: 3px; font-size: 11.5px; color: var(--muted); }
.fl-review { width: 260px; }
.ck { position: relative; padding: 6px 0 6px 22px; border-top: 1px solid var(--line); font-size: 12.5px; }
.ck:first-of-type { border-top: 0; }
.ck::before {
  content: ''; position: absolute; left: 0; top: 8px; width: 14px; height: 14px; border-radius: 50%;
  background: #22a35a url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3.4'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 8px no-repeat;
}
.mini-bars { display: flex; gap: 6px; margin-top: 6px; }
.mini-bars span { font-size: 10.5px; padding: 2px 8px; border-radius: 999px; background: rgba(0, 54, 230, .1); color: var(--blue-800); font-weight: 500; }
.fl-resume { display: flex; gap: 10px; align-items: center; }
.fl-resume .ok { flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: #e2f5e8; color: #127a3e; font-weight: 700; }
.fl-resume b { font-size: 13px; font-weight: 600; }
.fl-support { display: flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px; font-size: 12.5px; font-weight: 500; }
.fl-support .dot { width: 8px; height: 8px; border-radius: 50%; background: #22a35a; box-shadow: 0 0 0 4px rgba(34, 163, 90, .2); }
.live { display: inline-flex; align-items: center; gap: 6px; background: #ffe7e5; color: #c62a1c; font-size: 11px; font-weight: 600; letter-spacing: .1em; padding: 4px 10px; border-radius: 999px; }
.live::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: currentColor; animation: pulse 1.4s infinite; }
@keyframes pulse { 50% { opacity: .3; } }

/* Themes */
.sc-ink { background: #0b1030; color: var(--cream); }
.sc-blue { background: var(--blue); color: #fff; --accent: var(--cream); --muted-head: rgba(255, 255, 255, .62); }
.sc-blue .sc-points li::before { background-color: var(--cream); }
.sc-cream { background: var(--paper); color: var(--ink); border: 1px solid var(--line); --accent: var(--blue); --muted-head: rgba(13, 20, 51, .45); }
.sc-cream .sc-step { background: var(--cream-2); border-color: var(--line); color: var(--blue-800); }
.sc-cream .sc-stats div { border-color: var(--line-strong); }
.sc-cream .sc-points li::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3.2'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E"); }
.sc-navy { background: var(--band); color: var(--cream); }

/* ==========================================================================
   Inner page hero (course, about)
   ========================================================================== */
.page-hero { position: relative; color: var(--white); background: var(--blue-800); padding: calc(var(--header-h) + 70px) 0 90px; overflow: hidden; }
.page-hero.has-img .bg { position: absolute; inset: 0; }
.page-hero.has-img .bg img { width: 100%; height: 100%; object-fit: cover; }
.page-hero.has-img .bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(6, 12, 40, .88), rgba(6, 12, 40, .45)); }
.page-hero .container { position: relative; }
.page-hero .pattern { position: absolute; inset: 0; opacity: .5; background:
  radial-gradient(60% 80% at 85% 10%, rgba(64, 110, 255, .55), transparent 60%),
  radial-gradient(50% 60% at 0% 100%, rgba(0, 54, 230, .6), transparent 60%); }
.crumbs { display: flex; flex-wrap: wrap; gap: 10px; font-size: 13px; letter-spacing: .08em; color: rgba(255, 255, 255, .7); margin-bottom: 26px; }
.crumbs a:hover { color: var(--white); }

/* Course hero */
.ch-grid { display: grid; grid-template-columns: 1fr 400px; gap: 64px; align-items: start; }
.ch-tag { display: inline-flex; gap: 10px; align-items: center; margin-bottom: 18px; }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; border-radius: 999px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .28); }
.pill.pill-live::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: #ff6b5e; }
.course-hero h1 { margin: 0; font-family: var(--serif); font-weight: 500; font-size: clamp(44px, 5.4vw, 82px); line-height: .98; letter-spacing: -.015em; }
.course-hero h1 em { color: #b9c8ff; }
.course-hero .lede { margin: 24px 0 0; font-size: 19px; line-height: 1.55; color: rgba(255, 255, 255, .86); max-width: 680px; }
.ch-facts { display: grid; grid-template-columns: repeat(4, auto); gap: 18px 36px; margin: 36px 0 0; padding: 26px 0 0; border-top: 1px solid rgba(255, 255, 255, .2); justify-content: start; }
.ch-facts dt { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: rgba(255, 255, 255, .6); }
.ch-facts dd { margin: 4px 0 0; font-size: 16px; font-weight: 500; }
.ch-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }

.enrol-card { background: var(--paper); color: var(--ink); border-radius: 22px; padding: 30px; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .5); }
.enrol-card h3 { margin: 0 0 4px; font-family: var(--serif); font-weight: 600; font-size: 28px; }
.enrol-card > p { margin: 0 0 20px; color: var(--muted); font-size: 14px; }
.enrol-card ul { list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 12px; }
.enrol-card li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; font-size: 14px; }
.enrol-card li svg { width: 18px; height: 18px; color: var(--blue); margin-top: 2px; }
.enrol-card .btn { width: 100%; }
.enrol-card .btn + .btn { margin-top: 10px; }
.enrol-card .fine { margin: 14px 0 0; font-size: 12px; color: var(--muted); text-align: center; }

/* Sticky course sub-nav */
.subnav { position: sticky; top: var(--header-h-sm); z-index: 50; background: var(--white); border-bottom: 1px solid var(--line); }
.subnav-inner { display: flex; align-items: center; gap: 24px; justify-content: space-between; }
.subnav ul { list-style: none; display: flex; gap: 30px; margin: 0; padding: 0; overflow-x: auto; scrollbar-width: none; }
.subnav ul::-webkit-scrollbar { display: none; }
.subnav a { display: block; padding: 18px 0; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; white-space: nowrap; border-bottom: 2px solid transparent; color: var(--ink-2); }
.subnav a.active, .subnav a:hover { color: var(--blue); border-color: var(--blue); }
.subnav .btn { height: 40px; padding: 0 20px; font-size: 12px; flex: none; }

/* Course sections */
.cs { padding: 96px 0; border-bottom: 1px solid var(--line); scroll-margin-top: calc(var(--header-h-sm) + 60px); }
.cs.alt { background: var(--paper); }
.cs-head { display: grid; grid-template-columns: 360px 1fr; gap: 64px; }
.cs-head.cs-stack { grid-template-columns: 1fr; margin-bottom: 44px; }
.cs-stack .intro { max-width: 760px; }
.cs h2 { margin: 12px 0 0; font-family: var(--serif); font-weight: 500; font-size: clamp(36px, 3.6vw, 54px); line-height: 1.02; letter-spacing: -.01em; }
.cs h2 em { color: var(--blue); }
.cs .intro { font-size: 17px; color: var(--ink-2); margin: 18px 0 0; }
.about-text { font-size: 19px; line-height: 1.7; color: var(--ink-2); margin: 0; }
.about-text::first-letter { font-family: var(--serif); font-size: 64px; float: left; line-height: .9; padding: 6px 10px 0 0; color: var(--blue); }
.detail-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; margin-top: 44px; }
.detail-grid div { background: var(--paper); padding: 24px; }
.cs.alt .detail-grid div { background: var(--cream); }
.detail-grid dt { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--blue); font-weight: 500; }
.detail-grid dd { margin: 8px 0 0; font-size: 15px; }

.learn-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 48px; }
.learn-grid li { list-style: none; display: grid; grid-template-columns: 54px 1fr; gap: 14px; padding: 22px 0; border-bottom: 1px solid var(--line); font-size: 17px; }
.learn-grid { padding: 0; margin: 0; }
.learn-grid b { font-family: var(--serif); font-size: 30px; font-weight: 500; color: var(--blue); line-height: 1; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chips span { padding: 10px 18px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); font-size: 14px; }
.cs.alt .chips span { background: var(--cream); }
.chips.tools span { background: var(--ink); color: var(--cream); border: 0; }
.subhead { margin: 48px 0 18px; font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }

/* Syllabus accordion */
.syl-meta { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 26px; }
.syl-meta span { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; padding: 8px 14px; border-radius: 999px; background: var(--cream-2); }
.syl-tools { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.syl-tools button { font-size: 13px; color: var(--blue); letter-spacing: .1em; text-transform: uppercase; }
.acc { border-top: 1px solid var(--line-strong); }
.acc-item { border-bottom: 1px solid var(--line-strong); }
.acc-btn { width: 100%; display: grid; grid-template-columns: 90px 1fr auto 30px; gap: 16px; align-items: center; padding: 24px 0; text-align: left; }
.acc-btn .wkno { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.acc-btn .wkt { font-family: var(--serif); font-size: 26px; font-weight: 500; line-height: 1.15; }
.acc-btn .tag { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; background: var(--blue); color: var(--white); }
.acc-btn .pm { width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line-strong); position: relative; }
.acc-btn .pm::before, .acc-btn .pm::after { content: ''; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; background: currentColor; transform: translate(-50%, -50%); transition: transform .3s var(--ease); }
.acc-btn .pm::after { transform: translate(-50%, -50%) rotate(90deg); }
.acc-item.open .pm::after { transform: translate(-50%, -50%) rotate(0); }
.acc-item.open .pm { background: var(--blue); color: var(--white); border-color: var(--blue); }
.acc-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease); }
.acc-item.open .acc-panel { grid-template-rows: 1fr; }
.acc-panel > div { overflow: hidden; }
.acc-body { padding: 0 0 30px 106px; display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; }
.acc-body p { margin: 0 0 16px; color: var(--ink-2); font-size: 16px; }
.acc-body h6 { margin: 0 0 10px; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--blue); font-weight: 600; }
.acc-body ul { margin: 0; padding-left: 18px; color: var(--ink-2); }
.acc-body li { margin: 6px 0; }
.acc-side { background: var(--cream); border-radius: 14px; padding: 20px; display: grid; gap: 18px; align-content: start; }
.cs.alt .acc-side { background: var(--cream); }
.acc-side p { margin: 0; font-size: 14px; }

/* Assessment */
.assess { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.assess-card { background: var(--paper); border: 1px solid var(--line); border-radius: 20px; padding: 32px; }
.assess-card .pct { font-family: var(--serif); font-size: 72px; line-height: 1; color: var(--blue); }
.assess-card h4 { margin: 8px 0 10px; font-size: 18px; font-weight: 500; }
.assess-card p { margin: 0; color: var(--ink-2); font-size: 15px; }
.assess-note { margin-top: 24px; padding: 22px 26px; border-radius: 16px; background: var(--blue); color: var(--cream); font-size: 15px; }
.cert-row { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; margin-top: 60px; }
.cert-big { border-radius: 18px; padding: 44px; text-align: center; border: 10px solid var(--paper); outline: 1px solid #d8c9a6; background: linear-gradient(180deg, #fffdf8, #f6ecd6); box-shadow: var(--shadow); }
.cert-big img { height: 34px; margin: 0 auto 22px; }
.cert-big h6 { margin: 0; font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
.cert-big strong { display: block; margin: 10px 0 6px; font-family: var(--serif); font-size: 34px; font-weight: 600; line-height: 1.1; }
.cert-big .nm { font-family: var(--serif); font-style: italic; font-size: 22px; color: var(--blue); border-bottom: 1px solid var(--line-strong); display: inline-block; padding: 0 30px 4px; margin: 18px 0; }
.cert-big small { display: block; font-size: 12px; color: var(--muted); }

/* Careers */
.career-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.role-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.role-list span { display: flex; align-items: center; gap: 10px; padding: 16px 18px; border-radius: 12px; background: var(--white); border: 1px solid var(--line); font-weight: 500; font-size: 15px; }
.role-list span::before { content: ''; width: 8px; height: 8px; border-radius: 2px; background: var(--blue); transform: rotate(45deg); flex: none; }
.support-box { border-radius: 20px; padding: 32px; background: var(--ink); color: var(--cream); }
.support-box h4 { margin: 0 0 16px; font-family: var(--serif); font-size: 28px; font-weight: 500; }
.support-box ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.support-box li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; font-size: 15px; }
.support-box svg { width: 18px; height: 18px; color: #8fa8ff; margin-top: 3px; }

/* Audience / prereqs */
.aud-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.aud-card { padding: 30px; border-radius: 20px; background: var(--white); border: 1px solid var(--line); transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.aud-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.aud-card .ic { width: 46px; height: 46px; border-radius: 12px; background: var(--cream-2); color: var(--blue); display: grid; place-items: center; margin-bottom: 18px; }
.aud-card .ic svg { width: 22px; height: 22px; }
.aud-card h4 { margin: 0 0 8px; font-family: var(--serif); font-weight: 600; font-size: 24px; line-height: 1.15; }
.aud-card p { margin: 0; color: var(--ink-2); font-size: 15px; }
.prereq { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 0; margin-top: 30px; border-top: 1px solid var(--line-strong); }
.prereq div { padding: 22px 22px 22px 0; border-bottom: 1px solid var(--line); }
.prereq b { display: block; font-family: var(--serif); font-size: 26px; color: var(--blue); font-weight: 500; }
.prereq p { margin: 4px 0 0; font-size: 15px; color: var(--ink-2); }

/* FAQ */
.faq .acc-btn { grid-template-columns: 1fr 30px; }
.faq .acc-btn .wkt { font-size: 22px; }
.faq .acc-body { padding: 0 60px 26px 0; display: block; }

/* CTA band */
.cta-band { background: var(--blue); color: var(--cream); padding: 90px 0; position: relative; overflow: hidden; }
.cta-band::before { content: ''; position: absolute; width: 700px; height: 700px; border-radius: 50%; right: -200px; top: -300px; border: 1px solid rgba(255, 255, 255, .15); box-shadow: 0 0 0 80px rgba(255, 255, 255, .03), 0 0 0 160px rgba(255, 255, 255, .02); }
.cta-band .container { position: relative; display: flex; flex-wrap: wrap; gap: 32px; justify-content: space-between; align-items: center; }
.cta-band h2 { margin: 0; font-family: var(--serif); font-weight: 500; font-size: clamp(36px, 4vw, 60px); line-height: 1.02; max-width: 720px; }
.cta-band .acts { display: flex; flex-wrap: wrap; gap: 14px; }

/* Related */
.related { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.rel-card { display: flex; flex-direction: column; gap: 10px; padding: 28px; border-radius: 20px; background: var(--paper); border: 1px solid var(--line); min-height: 220px; transition: all .35s var(--ease); }
.rel-card:hover { background: var(--blue); color: var(--cream); border-color: var(--blue); transform: translateY(-4px); }
.rel-card .eyebrow { transition: color .35s; }
.rel-card:hover .eyebrow { color: #b9c8ff; }
.rel-card h4 { margin: 0; font-family: var(--serif); font-size: 28px; font-weight: 500; line-height: 1.1; }
.rel-card p { margin: 0; font-size: 14px; opacity: .8; }
.rel-card .go { margin-top: auto; display: flex; justify-content: space-between; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; }

/* ==========================================================================
   About page
   ========================================================================== */
.about-hero h1 { margin: 0; font-family: var(--serif); font-weight: 500; font-size: clamp(48px, 6vw, 96px); line-height: .98; letter-spacing: -.02em; max-width: 1000px; }
.about-hero h1 em { color: #b9c8ff; }
.about-hero .lede { margin: 26px 0 0; font-size: 20px; color: rgba(255, 255, 255, .85); max-width: 680px; }
.ab-sec { padding: 110px 0; border-bottom: 1px solid var(--line); scroll-margin-top: calc(var(--header-h-sm) + 20px); }
.ab-sec.alt { background: var(--paper); }
/* pages without a hero: leave room for the fixed header above the first section */
body:not(.has-hero) main > .ab-sec:first-child { padding-top: calc(var(--header-h-sm) + 80px); }
.ab-split { display: grid; grid-template-columns: 1fr 1.2fr; gap: 80px; align-items: start; }
.ab-sec h2 { margin: 12px 0 0; font-family: var(--serif); font-weight: 500; font-size: clamp(38px, 4vw, 64px); line-height: 1; letter-spacing: -.01em; }
.ab-sec h2 em { color: var(--blue); }
.ab-body p { font-size: 18px; line-height: 1.75; color: var(--ink-2); margin: 0 0 20px; }
/* a title with a short intro: intro sits directly under the title at every width */
.ab-split.ab-stack { grid-template-columns: 1fr; gap: 16px; }
.ab-stack .ab-body p { max-width: 760px; }
.ab-stack .ab-body p:last-child { margin-bottom: 0; }
.ab-body h3 { margin: 36px 0 8px; font-family: var(--serif); font-size: 21px; font-weight: 700; line-height: 1.3; color: var(--ink); }
.ab-body p.big { font-family: var(--serif); font-size: 30px; line-height: 1.3; color: var(--ink); }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-strong); margin-top: 70px; }
.stats div { padding: 28px 24px 0 0; }
.stats b { display: block; font-family: var(--serif); font-size: 64px; font-weight: 500; line-height: 1; color: var(--blue); }
.stats span { font-size: 14px; color: var(--ink-2); }
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 56px; }
.pillar { padding: 34px; border-radius: 22px; background: var(--white); border: 1px solid var(--line); }
.pillar .n { font-family: var(--serif); font-size: 18px; color: var(--blue); }
.pillar h4 { margin: 18px 0 10px; font-family: var(--serif); font-size: 28px; font-weight: 500; line-height: 1.1; }
.pillar p { margin: 0; color: var(--ink-2); font-size: 15px; }
.steps { counter-reset: s; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 56px; border-top: 1px solid var(--line-strong); }
.steps div { padding: 28px 28px 0 0; position: relative; }
.steps div::before { counter-increment: s; content: '0' counter(s); display: block; font-family: var(--serif); font-size: 40px; color: var(--blue); margin-bottom: 10px; }
.steps h4 { margin: 0 0 8px; font-size: 18px; font-weight: 500; }
.steps p { margin: 0; font-size: 15px; color: var(--ink-2); }
.compare { margin-top: 50px; border-radius: 20px; overflow: hidden; border: 1px solid var(--line); background: var(--white); }
.compare table { width: 100%; border-collapse: collapse; font-size: 15px; }
.compare th, .compare td { padding: 18px 22px; text-align: left; border-bottom: 1px solid var(--line); }
.compare th { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; font-weight: 500; color: var(--muted); background: var(--cream); }
.compare th.us, .compare td.us { background: rgba(0, 54, 230, .06); color: var(--blue-800); font-weight: 500; }
.compare tr:last-child td { border-bottom: 0; }
.cat-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 50px; }
.cat-col { border-radius: 22px; padding: 32px; background: var(--ink); color: var(--cream); }
.cat-col:nth-child(2) { background: var(--blue); }
.cat-col:nth-child(3) { background: var(--cream-3); color: var(--ink); }
.cat-col h4 { margin: 0 0 6px; font-family: var(--serif); font-size: 34px; font-weight: 500; }
.cat-col > p { margin: 0 0 20px; opacity: .8; font-size: 15px; }
.cat-col a { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-top: 1px solid rgba(255, 255, 255, .2); font-size: 15px; }
.cat-col:nth-child(3) a { border-color: var(--line-strong); }
.cat-col a:hover { padding-left: 6px; transition: padding .3s var(--ease); }

/* ==========================================================================
   Modal (auth + apply)
   ========================================================================== */
.modal { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; padding: 20px; visibility: hidden; opacity: 0; transition: all .3s var(--ease); }
.modal.open { visibility: visible; opacity: 1; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(6, 12, 40, .6); backdrop-filter: blur(4px); }
.modal-dialog {
  position: relative; width: min(920px, 100%); max-height: calc(100vh - 40px); overflow: auto; border-radius: 24px;
  background: var(--paper); display: grid; grid-template-columns: 1fr 1.25fr; transform: translateY(20px) scale(.98); transition: transform .4s var(--ease);
}
.modal.open .modal-dialog { transform: none; }
.modal-dialog.narrow { width: min(560px, 100%); grid-template-columns: 1fr; }
.modal-close { position: absolute; top: 16px; right: 16px; z-index: 2; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--cream); }
.modal-close svg { width: 18px; height: 18px; }
.modal-aside { background: var(--blue); color: var(--cream); padding: 44px 36px; display: flex; flex-direction: column; gap: 18px; position: relative; overflow: hidden; }
.modal-aside::after { content: ''; position: absolute; width: 360px; height: 360px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .18); right: -160px; bottom: -160px; box-shadow: 0 0 0 50px rgba(255, 255, 255, .04); }
.modal-aside img { height: 30px; width: auto; align-self: flex-start; filter: brightness(0) invert(1); }
.modal-aside h3 { margin: 18px 0 0; font-family: var(--serif); font-weight: 500; font-size: 36px; line-height: 1.05; }
.modal-aside p { margin: 0; opacity: .85; font-size: 15px; }
.modal-aside ul { list-style: none; margin: auto 0 0; padding: 0; display: grid; gap: 10px; font-size: 14px; position: relative; z-index: 1; }
.modal-aside li { display: flex; gap: 10px; }
.modal-aside li::before { content: '✓'; color: #b9c8ff; }
.modal-aside.has-photo { background: linear-gradient(180deg, rgba(10, 31, 143, .82) 0%, rgba(0, 54, 230, .38) 34%, rgba(0, 54, 230, .45) 52%, rgba(10, 31, 143, .9) 74%, rgba(7, 22, 82, .97) 100%), var(--photo) center 30% / cover; }
.modal-aside.has-photo::after { opacity: .5; }
.modal-aside.has-photo li::before { color: var(--amber); }
.modal-aside.has-photo h3, .modal-aside.has-photo p { text-shadow: 0 1px 12px rgba(0, 0, 0, .25); }
.modal-main { padding: 44px 40px 36px; }
.tabs { display: inline-flex; padding: 4px; border-radius: 999px; background: var(--cream-2); margin-bottom: 26px; }
.tabs button { padding: 10px 22px; border-radius: 999px; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; font-weight: 500; color: var(--ink-2); }
.tabs button.active { background: var(--white); color: var(--blue); box-shadow: 0 4px 12px -6px rgba(13, 20, 51, .3); }
.modal-main h4 { margin: 0 0 6px; font-family: var(--serif); font-size: 30px; font-weight: 500; line-height: 1.1; }
.modal-main .sub { margin: 0 0 22px; color: var(--muted); font-size: 14px; }
.form { display: grid; gap: 14px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: grid; gap: 6px; }
.field label { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); font-weight: 500; }
.field input, .field select, .field textarea {
  width: 100%; height: 48px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--line-strong); background: var(--white);
  outline: 0; transition: border-color .2s, box-shadow .2s;
}
.field textarea { height: 90px; padding: 12px 14px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(0, 54, 230, .12); }
.field.invalid input, .field.invalid select { border-color: #d0342c; }
.field .err { font-size: 12px; color: #d0342c; display: none; }
.field.invalid .err { display: block; }
.phone { display: grid; grid-template-columns: 70px 1fr; gap: 8px; }
.phone span { display: grid; place-items: center; height: 48px; border-radius: 12px; background: var(--cream-2); font-size: 14px; }
.check { display: grid; grid-template-columns: 18px 1fr; gap: 10px; font-size: 13px; color: var(--ink-2); align-items: start; }
.check input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--blue); }
.form .btn { height: 52px; margin-top: 4px; }
.form-foot { font-size: 13px; color: var(--muted); text-align: center; margin: 4px 0 0; }
.form-foot button { color: var(--blue); font-weight: 500; }
.success { text-align: center; padding: 20px 0; }
.success .tick { width: 72px; height: 72px; border-radius: 50%; background: var(--blue); color: var(--white); display: grid; place-items: center; margin: 0 auto 20px; }
.success .tick svg { width: 32px; height: 32px; }
.success h4 { font-size: 34px; }
.success p { color: var(--ink-2); margin: 8px auto 24px; max-width: 380px; }
.success .ref { display: inline-block; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; background: var(--cream-2); margin-bottom: 20px; }

.toast { position: fixed; left: 50%; bottom: 28px; z-index: 400; transform: translate(-50%, 30px); opacity: 0; padding: 14px 22px; border-radius: 999px; background: var(--ink); color: var(--cream); font-size: 14px; box-shadow: var(--shadow); transition: all .35s var(--ease); pointer-events: none; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ==========================================================================
   Homepage: instructors, advisor, FAQs
   ========================================================================== */
/* Levelling up: three outcome cards on a soft blue band (layout after coursera.org) */
.level-up { padding: 100px 0; background: #eef2fc; }
.level-up h2 { margin: 0 0 36px;font-family: var(--serif); font-weight: 600; font-size: clamp(28px, 3.2vw, 46px); line-height: 1.12; letter-spacing: -.01em; }
.lu-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.lu-card { background: var(--white); border-radius: var(--radius); padding: 30px 30px 34px; box-shadow: 0 1px 2px rgba(13, 20, 51, .06); }
.lu-icon { width: 56px; height: 56px; color: var(--blue); }
.lu-card h3 { margin: 22px 0 10px; font-family: var(--serif); font-weight: 600; font-size: 20px; line-height: 1.3; color: var(--ink); }
.lu-card p { margin: 0; font-size: 15.5px; line-height: 1.65; color: var(--ink-2); }
@media (max-width: 900px) {
  .lu-grid { grid-template-columns: 1fr; gap: 16px; }
  .lu-card { display: grid; grid-template-columns: auto 1fr; column-gap: 22px; }
  .lu-icon { grid-row: span 2; width: 48px; height: 48px; }
  .lu-card h3 { margin-top: 2px; }
}
@media (max-width: 720px) {
  .level-up { padding: 70px 0; }
  .level-up h2 { margin-bottom: 26px; }
  .lu-card { padding: 24px 22px 26px; }
}
.instructors { padding: 110px 0; background: var(--paper); border-top: 1px solid var(--line); }
.ins-head { margin-bottom: 40px; }
.ins-head h2 { margin: 0; max-width: 820px; font-family: var(--serif); font-weight: 600; font-size: clamp(30px, 3.2vw, 46px); line-height: 1.12; letter-spacing: -.01em; }
/* Bare chevrons on the cards, like the program cards in the hero; dark because they sit on
   white card bodies and light photos. They stay inside the card padding. */
.ins-carousel { position: relative; }
.ins-arrow { position: absolute; z-index: 2; top: calc(50% - 36px); width: 28px; height: 72px; display: grid; place-items: center; color: var(--ink); transition: transform .2s ease; }
.ins-arrow[hidden] { display: none; }
.ins-arrow svg { width: 18px; height: 36px; stroke-width: 2.8; }
.ins-prev { left: 2px; }
.ins-next { right: 2px; }
.ins-prev:hover { transform: translateX(-3px); }
.ins-next:hover { transform: translateX(3px); }
.ins-arrow:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
/* exactly two cards in view; the rest are reached by scrolling or the arrows */
.ins-track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 24px) / 2); gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px; }
.ins-track::-webkit-scrollbar { display: none; }
.ins-card { scroll-snap-align: start; display: grid; grid-template-columns: 44% 1fr; min-height: 340px; border-radius: 22px; overflow: hidden; background: var(--white); border: 1px solid var(--line); }
.ins-photo { position: relative; background: var(--cream-2); display: grid; place-items: center; }
.ins-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%; }
.ins-initials { font-family: var(--serif); font-size: 56px; font-weight: 700; color: var(--blue); }
.ins-silhouette { width: 32%; max-width: 120px; aspect-ratio: 1; border-radius: 50%; background: var(--cream-3); position: relative; margin-top: -18%; }
.ins-silhouette::after { content: ''; position: absolute; left: 50%; top: 105%; width: 150%; height: 70%; transform: translateX(-50%); border-radius: 50% 50% 0 0; background: var(--cream-3); }
.ins-photo:has(.ins-silhouette) { overflow: hidden; }
.ins-body { padding: 30px 28px; display: flex; flex-direction: column; gap: 10px; }
.ins-body h3 { margin: 0; font-family: var(--serif); font-weight: 600; font-size: 24px; line-height: 1.2; }
.ins-role { margin: 0; color: var(--ink-2); font-size: 16px; }
.ins-bio { margin: 0; color: var(--ink-2); font-size: 15px; line-height: 1.6; }
.ins-teaches { margin: 0; font-size: 15px; color: var(--blue-800); }
.ins-linkedin { margin-top: auto; align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; background: #0a66c2; color: #fff; font-size: 14px; font-weight: 600; }
.ins-linkedin svg { width: 16px; height: 16px; }
.ins-linkedin:hover { background: #084d93; }
.ins-card.is-empty h3 { color: var(--ink-2); font-size: 20px; }

/* Window effect (as on unilever.com): the section is the window frame. It scrolls with the page and
   clips a blue panel that is fixed to the screen, so the panel appears to stay still behind it. */
.advisor { position: relative; height: min(600px, 78vh); min-height: 440px; background: var(--blue); color: #fff; text-align: center;
  /* all four corners rounded like the instructor cards (22px), inset to the page margins so the window
     lines up with the content above and below it */
  clip-path: inset(0 max(32px, calc((100% - 1280px) / 2)) round 22px); }
.advisor-pane { position: fixed; inset: 0; z-index: 0; display: grid; place-items: center; background: var(--blue); }
.advisor h2 { margin: 0 auto 32px; max-width: 900px; font-family: var(--serif); font-weight: 600; font-size: clamp(28px, 3vw, 44px); line-height: 1.15; letter-spacing: -.01em; }

.home-faq { padding: 110px 0; background: var(--cream); }
.home-faq h2 { margin: 0 0 36px; font-family: var(--serif); font-weight: 600; font-size: clamp(30px, 3.2vw, 46px); line-height: 1.1; letter-spacing: -.01em; }
.home-faq .acc { max-width: 980px; }

/* Proudly Recognized By: title and logo side by side (stacked on phones) */
.recog { padding: 70px 0; background: var(--paper); border-top: 1px solid var(--line); }
.recog .container { display: flex; align-items: center; justify-content: center; gap: 24px 56px; flex-wrap: wrap; }
.recog h2 { margin: 0; text-align: center; font-family: var(--serif); font-weight: 600; font-size: clamp(28px, 3.2vw, 46px); line-height: 1.1; letter-spacing: -.01em; }
.recog-grid { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; }
.recog-card { width: 280px; max-width: 100%; height: 130px; display: grid; place-items: center; padding: 20px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.rl-si-img { width: 100%; max-width: 220px; height: auto; mix-blend-mode: multiply; }
@media (max-width: 720px) {
  .recog { padding: 56px 0; }
  .recog .container { flex-direction: column; }
  .recog-grid { gap: 12px; }
  .recog-card { height: 120px; padding: 12px; }
}

/* ==========================================================================
   Footer (modelled on the two-panel + link band structure of unilever.com)
   ========================================================================== */
.site-footer { background: var(--band); color: rgba(247, 242, 232, .85); padding: 64px 0 34px; font-size: 15px; }
.ft-panels { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.ft-panel { padding: 34px; border-radius: 22px; background: var(--blue); color: #fff; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.ft-panel h3 { margin: 0; font-family: var(--serif); font-weight: 600; font-size: 26px; }
.ft-panel p { margin: 0 0 8px; color: rgba(255, 255, 255, .85); }
.ft-social { display: flex; gap: 12px; }
.ft-social a { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .14); color: #fff; transition: background .2s, color .2s; }
.ft-social a:hover { background: #fff; color: var(--blue); }
.ft-social svg { width: 20px; height: 20px; }
.ft-links { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; margin-top: 56px; padding-bottom: 40px; border-bottom: 1px solid rgba(255, 255, 255, .14); }
.ft-links h4 { margin: 0 0 14px; font-family: var(--serif); font-weight: 600; font-size: 16px; color: #fff; }
.ft-links ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ft-links a, .ft-linkbtn { color: rgba(247, 242, 232, .78); font-size: 15px; text-align: left; }
.ft-links a:hover, .ft-linkbtn:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.ft-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px; padding-top: 28px; font-size: 14px; color: rgba(247, 242, 232, .6); }
.ft-bottom img { height: 28px; filter: brightness(0) invert(1); }

/* ==========================================================================
   Simple inner pages: Programs, Teach, Contact, Careers, My Account, policies
   ========================================================================== */
.simple-hero { padding: calc(var(--header-h) + 56px) 0 64px; }
.simple-hero h1 { margin: 0; font-family: var(--serif); font-weight: 700; font-size: clamp(36px, 4vw, 56px); line-height: 1.08; letter-spacing: -.01em; }
.simple-hero .lede { margin: 16px 0 0; max-width: 720px; font-size: 19px; color: rgba(255, 255, 255, .88); }
.page-body { padding: 72px 0 96px; }
.page-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: start; }
.page-copy h2 { margin: 0 0 14px; font-family: var(--serif); font-weight: 600; font-size: 28px; letter-spacing: -.01em; }
.page-copy p, .page-copy li { font-size: 17px; color: var(--ink-2); }
.page-copy ul { padding-left: 20px; }
.form-card { padding: 34px; border-radius: 22px; background: var(--paper); border: 1px solid var(--line); }
.form-card h3 { margin: 0 0 6px; font-family: var(--serif); font-weight: 600; font-size: 24px; }
.form-card .sub { margin: 0 0 22px; color: var(--muted); font-size: 15px; }
.field textarea { min-height: 120px; }
.contact-list { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 10px; }
.contact-list b { display: inline-block; min-width: 80px; color: var(--ink); }

.prog-group { margin-bottom: 64px; scroll-margin-top: calc(var(--header-h-sm) + 24px); }
.prog-group > h2 { margin: 0 0 6px; font-family: var(--serif); font-weight: 600; font-size: 32px; }
.prog-group > p { margin: 0 0 24px; color: var(--ink-2); }

.legal { max-width: 820px; }
.legal h2 { margin: 40px 0 10px; font-family: var(--serif); font-weight: 600; font-size: 24px; }
.legal p, .legal li { font-size: 17px; line-height: 1.7; color: var(--ink-2); }
.legal .updated { color: var(--muted); font-size: 15px; }

.account-card { padding: 30px; border-radius: 22px; background: var(--paper); border: 1px solid var(--line); }
.account-card dl { display: grid; grid-template-columns: 120px 1fr; gap: 10px 16px; margin: 18px 0 24px; }
.account-card dt { color: var(--muted); }
.account-card dd { margin: 0; font-weight: 600; }
.enq-list { width: 100%; border-collapse: collapse; margin-top: 12px; font-size: 15px; }
.enq-list th, .enq-list td { text-align: left; padding: 12px 10px; border-bottom: 1px solid var(--line); }
.enq-list th { font-size: 13px; color: var(--muted); font-weight: 600; }

@media (max-width: 1024px) {
  .ins-card { grid-template-columns: 1fr; grid-template-rows: auto 1fr; }
  .ins-photo { aspect-ratio: 5 / 6; } /* tall enough to show the whole portrait, not a wide strip of it */
  .ins-carousel { container-type: inline-size; }
  .ins-arrow { top: calc(30cqw - 43px); } /* centred on the photo once it sits above the text */
  .ft-links { grid-template-columns: 1fr 1fr; }
  .page-grid { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 720px) {
  .instructors, .home-faq, .live-class { padding: 72px 0; }
  .advisor { height: 70vh; min-height: 420px; clip-path: inset(0 16px round 22px); }
  /* phones are too narrow for two readable cards side by side, so one shows at a time */
  .ins-track { grid-auto-columns: 86%; gap: 14px; }
  .ins-arrow { top: calc(51.6cqw - 36px); }
  .ins-body { padding: 22px 20px; }
  .ft-panels { grid-template-columns: 1fr; }
  .ft-panel { padding: 26px 22px; }
  .ft-links { gap: 28px 20px; margin-top: 40px; }
  .page-body { padding: 48px 0 72px; }
  .form-card { padding: 24px 18px; }
  .account-card dl { grid-template-columns: 1fr; gap: 2px; }
  .account-card dd { margin-bottom: 10px; }
  .enq-list { font-size: 14px; }
}

/* ==========================================================================
   Photo & colour layer (course pages, About, modals)
   ========================================================================== */
:root { --amber: #f4b740; --sky: #e8eeff; --sky-2: #d6e0ff; }

/* Course hero: course photo under a royal-blue wash */
.course-hero.has-img .bg img { object-position: center 35%; }
.course-hero.has-img .bg::after {
  background: linear-gradient(100deg, rgba(10, 31, 143, .95) 0%, rgba(0, 54, 230, .80) 48%, rgba(7, 22, 82, .55) 100%);
}
.course-hero.has-img .pattern { opacity: .35; }
.enrol-card { padding: 0 0 26px; overflow: hidden; }
.enrol-card > :not(.ec-media) { margin-left: 28px; margin-right: 28px; }
.enrol-card .btn { width: calc(100% - 56px); }
.ec-media { position: relative; height: 170px; margin: 0 0 22px; }
.ec-media img { width: 100%; height: 100%; object-fit: cover; }
.ec-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6, 12, 40, 0) 40%, rgba(6, 12, 40, .45)); }

/* Highlights strip (colourful tiles under the hero) */
.highlights { padding: 44px 0 10px; background: var(--cream); }
.hl-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.hl { position: relative; overflow: hidden; padding: 22px 20px; border-radius: 18px; color: #fff; min-height: 150px; display: flex; flex-direction: column; justify-content: flex-end; }
.hl::after { content: ''; position: absolute; right: -30px; top: -30px; width: 110px; height: 110px; border-radius: 50%; background: rgba(255, 255, 255, .12); }
.hl b { font-family: var(--sans); font-size: 36px; font-weight: 600; line-height: 1; letter-spacing: -.01em; }
.hl > span:last-child { margin-top: 6px; font-size: 13px; opacity: .9; }

/* Overview photo */
.ov-photo { position: relative; margin: 32px 0 0; border-radius: 20px; overflow: hidden; aspect-ratio: 4 / 3.2; box-shadow: var(--shadow); }
.ov-photo img { width: 100%; height: 100%; object-fit: cover; }
.ov-photo figcaption { position: absolute; left: 14px; right: 14px; bottom: 14px; padding: 12px 16px; border-radius: 14px; background: rgba(255, 255, 255, .95); display: grid; gap: 2px; }
.ov-photo figcaption b { font-family: var(--serif); font-size: 20px; font-weight: 600; color: var(--blue-800); }
.ov-photo figcaption span { font-size: 13px; color: var(--ink-2); }

/* Soft blue section for outcomes */
.cs.tint { background: linear-gradient(180deg, var(--sky) 0%, #f3f6ff 100%); }
.cs.tint .learn-grid li { border-color: rgba(0, 54, 230, .14); }
.cs.tint .learn-grid b { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; font-size: 20px; color: #fff; background: linear-gradient(135deg, #0036e6, #2b63ff); box-shadow: 0 8px 18px -8px rgba(0, 54, 230, .7); }
.cs.tint .learn-grid li { align-items: center; }

/* Live class video */
.lc-grid { position: relative; display: grid; grid-template-columns: 1.15fr 1fr; gap: 64px; align-items: center; }
.lc-video { position: relative; border-radius: 24px; overflow: hidden; aspect-ratio: 16 / 10; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .7); outline: 1px solid rgba(255, 255, 255, .14); }
.lc-video video { width: 100%; height: 100%; object-fit: cover; display: block; }
.lc-toggle { position: absolute; right: 16px; top: 16px; width: 42px; height: 42px; border-radius: 50%; background: rgba(13, 20, 51, .55); backdrop-filter: blur(6px); display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, .35); }
.lc-toggle .ic-pause { width: 12px; height: 14px; border-left: 4px solid #fff; border-right: 4px solid #fff; }
.lc-toggle.paused .ic-pause { width: 0; height: 0; border: 0; border-left: 13px solid #fff; border-top: 8px solid transparent; border-bottom: 8px solid transparent; margin-left: 4px; }
.lc-steps { list-style: none; margin: 26px 0 30px; padding: 0; display: grid; gap: 14px; }
.lc-steps li { display: grid; grid-template-columns: 46px 1fr; gap: 16px; align-items: start; padding: 16px 18px; border-radius: 16px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); }
.lc-steps .n { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; font-family: var(--serif); font-size: 20px; font-weight: 600; color: #2a1c00; background: linear-gradient(135deg, #e9a92c, #f4c35f); }
.lc-steps b { font-size: 16px; font-weight: 600; }
.lc-steps p { margin: 2px 0 0; font-size: 14px; color: rgba(247, 242, 232, .75); }

/* Colourful skill chips */
.chips.tools span { background: linear-gradient(135deg, #0d1433, #1b2a6b); }

/* Photo-backed career box */
.support-box.has-photo { position: relative; overflow: hidden; background: #0a1f8f; isolation: isolate; }
.support-box.has-photo::before { content: ''; position: absolute; inset: 0; z-index: -2; background: var(--photo) center / cover; }
.support-box.has-photo::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(160deg, rgba(10, 31, 143, .93) 0%, rgba(7, 22, 82, .88) 100%); }
.role-list span { transition: background .25s, color .25s, border-color .25s; }
.role-list span:hover { background: var(--blue); color: #fff; border-color: var(--blue); }
.role-list span:hover::before { background: var(--amber); }

/* Audience cards with photos */
.aud-card.has-photo { padding: 0; overflow: hidden; }
.aud-photo { position: relative; height: 170px; }
.aud-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.aud-card:hover .aud-photo img { transform: scale(1.05); }
.aud-photo .ic { position: absolute; left: 20px; bottom: -23px; margin: 0; background: var(--blue); color: #fff; box-shadow: 0 10px 20px -8px rgba(0, 54, 230, .6); }
.aud-body { padding: 36px 26px 28px; }

/* Photo CTA band */
.cta-band.has-photo { background: linear-gradient(100deg, rgba(0, 54, 230, .93), rgba(10, 31, 143, .84)), var(--photo) center / cover; padding: 110px 0; }

/* Related cards with photos */
.rel-card.has-photo { padding: 0 0 24px; overflow: hidden; }
.rel-card.has-photo > :not(.rel-photo) { margin: 0 24px; }
.rel-photo { display: block; height: 170px; overflow: hidden; margin-bottom: 8px; }
.rel-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.rel-card:hover .rel-photo img { transform: scale(1.06); }

/* About page */
.page-hero.has-img .bg video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.about-hero { padding-bottom: 120px; min-height: 640px; display: flex; align-items: center; }
.page-hero.has-img.about-hero .bg::after { background: linear-gradient(100deg, rgba(10, 31, 143, .92) 0%, rgba(0, 54, 230, .62) 55%, rgba(7, 22, 82, .45) 100%); }
.collage { position: relative; margin-top: 40px; height: 440px; }
.collage img { position: absolute; object-fit: cover; border-radius: 22px; box-shadow: var(--shadow); }
.collage .c1 { left: 0; top: 0; width: 78%; height: 72%; }
.collage .c2 { right: 0; bottom: 0; width: 58%; height: 52%; border: 8px solid var(--cream); }
.ab-sec.alt .collage .c2 { border-color: var(--paper); }
.collage .c-badge { position: absolute; left: 6%; bottom: 8%; padding: 14px 20px; border-radius: 16px; color: #fff; background: linear-gradient(135deg, #0036e6, #2b63ff); box-shadow: 0 16px 30px -12px rgba(0, 54, 230, .7); }
.collage .c-badge b { display: block; font-family: var(--serif); font-size: 30px; line-height: 1; }
.collage .c-badge span { font-size: 13px; opacity: .9; }
.pillar.has-photo { padding: 0 0 30px; overflow: hidden; }
.pillar.has-photo img { width: 100%; height: 190px; object-fit: cover; margin-bottom: 24px; transition: transform .6s var(--ease); }
.pillar.has-photo:hover img { transform: scale(1.04); }
.pillar.has-photo > :not(img) { margin-left: 30px; margin-right: 30px; }
.pillar.has-photo .n { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; color: #fff; background: var(--blue); font-family: var(--sans); font-size: 14px; font-weight: 600; }
.cat-col.has-photo { position: relative; overflow: hidden; isolation: isolate; min-height: 420px; display: flex; flex-direction: column; justify-content: flex-end; }
.cat-col.has-photo::before { content: ''; position: absolute; inset: 0; z-index: -2; background: var(--photo) center / cover; transition: transform .8s var(--ease); }
.cat-col.has-photo:hover::before { transform: scale(1.06); }
.cat-col.has-photo::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(7, 22, 82, .15) 0%, rgba(7, 22, 82, .92) 62%); }
.cat-col.has-photo:nth-child(2)::after { background: linear-gradient(180deg, rgba(0, 54, 230, .15) 0%, rgba(0, 54, 230, .94) 62%); }
.cat-col.has-photo:nth-child(3) { color: var(--cream); }
.cat-col.has-photo:nth-child(3)::after { background: linear-gradient(180deg, rgba(13, 20, 51, .15) 0%, rgba(13, 20, 51, .94) 62%); }
.cat-col.has-photo:nth-child(3) a { border-color: rgba(255, 255, 255, .2); }
.mosaic { margin-top: 36px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.mosaic img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 18px; }
.mosaic img:nth-child(2) { margin-top: 30px; }
.mosaic img:nth-child(3) { margin-top: -30px; }
.ab-body strong { color: var(--blue-800); }

/* ==========================================================================
   Typography — clean and plain: Plus Jakarta Sans headings, Inter text.
   No italics or decorative styles anywhere.
   ========================================================================== */
body { font-family: var(--sans); font-size: 16px; font-weight: 500; line-height: 1.6; }
*, *::before, *::after { font-style: normal !important; }   /* no slanted / cursive text */
code, kbd, pre { font-family: var(--sans); font-weight: 600; }

/* Everything defaults to Inter … */
.site-header, .drawer, .mega, .search-results, .btn, button, input, select, textarea, label,
.eyebrow, .pill, .chips span, .tag, .crumbs, .subnav, .ch-facts, .detail-grid dt, .syl-meta, .syl-tools,
.acc-btn .wkno, .acc-side h6, .acc-body h6, .role-list span, .compare th, .tabs, .field, .check, .form-foot,
.toast, .site-foot, .cb-card, .cb-link, .fl, .hl, .sc-step, .sc-stats span, .sc-points,
.enrol-card li, .enrol-card .fine, .ec-badge, .lc-live, .lc-chip, .ma-chips, .success .ref,
.cert-big h6, .cert-big small, .ov-photo figcaption span, .collage .c-badge span, .stats span, .rel-card .go,
.cat-col a, .mega li a, .mega .col-blurb, .mega.about a.tile span, .hero-dot, .leads table, .counts,
.about-text, .ab-body p, .cs .intro, .sc-sub, .lede, .acc-body p, .aud-card p, .pillar p, .lc-steps p,
.hero-quote .q-rest, .cert-big .nm { font-family: var(--sans); }

/* … headings use Plus Jakarta Sans */
.hero-quote .q-lead, .course-hero h1, .about-hero h1, .leads h1,
.why-head h2, .cs h2, .ab-sec h2, .live-class h2, .cta-band h2,
.stack-card h3, .aud-card h4, .pillar h4, .rel-card h4, .cat-col h4, .mega h4, .support-box h4,
.enrol-card h3, .modal-main h4, .modal-aside h3, .acc-btn .wkt, .cert-big strong, .assess-card h4,
.ov-photo figcaption b, .mega.about a.tile strong, .fl-cert b, .collage .c-badge b, .steps h4, .lc-steps b,
.cb-card .cb-title, .strip-card h4, .success h4,
.learn-grid b, .assess-card .pct, .prereq b, .steps div::before, .lc-steps .n, .pillar .n, .sc-stats b,
.cert .seal, .seal, .hl b, .stats b, .mega-promo p, .mega.about .lead, .ab-body p.big {
  font-family: var(--serif);
}

/* Page headlines */
.hero-quote .q-lead, .course-hero h1, .about-hero h1, .leads h1 { font-weight: 700; letter-spacing: -.01em; line-height: 1.05; }
.hero-quote .q-lead { font-size: clamp(36px, 4.6vw, 64px); }
.course-hero h1 { font-size: clamp(38px, 4.4vw, 64px); }
.about-hero h1 { font-size: clamp(40px, 4.8vw, 72px); }
.hero-quote .q-rest { font-weight: 400; font-size: clamp(19px, 1.9vw, 26px); line-height: 1.45; color: rgba(255, 255, 255, .9); }
.hero-quote .q-rest em { font-weight: 600; border-bottom: 0; }

/* Section headings */
.why-head h2, .cs h2, .ab-sec h2, .live-class h2, .cta-band h2 { font-weight: 600; letter-spacing: -.01em; }
.why-head h2 { font-size: clamp(30px, 3.2vw, 46px); line-height: 1.1; }
.cs h2, .live-class h2 { font-size: clamp(30px, 3vw, 44px); line-height: 1.1; }
.ab-sec h2 { font-size: clamp(32px, 3.2vw, 50px); line-height: 1.08; }
.cta-band h2 { font-size: clamp(30px, 3.2vw, 46px); line-height: 1.1; }

/* Card and item titles */
.stack-card h3, .aud-card h4, .pillar h4, .rel-card h4, .cat-col h4, .mega h4, .support-box h4,
.enrol-card h3, .modal-main h4, .modal-aside h3, .acc-btn .wkt, .cert-big strong, .assess-card h4,
.ov-photo figcaption b, .mega.about a.tile strong, .fl-cert b, .collage .c-badge b, .steps h4, .success h4 {
  font-weight: 600; letter-spacing: -.01em;
}
.stack-card h3 { font-size: clamp(26px, 2.4vw, 36px); line-height: 1.15; }
.stack-card h3 span { font-weight: 600; }
.aud-card h4 { font-size: 20px; line-height: 1.25; }
.pillar h4, .rel-card h4 { font-size: 21px; line-height: 1.2; }
.cat-col h4 { font-size: 28px; }
.mega h4 { font-size: 22px; }
.support-box h4, .enrol-card h3 { font-size: 22px; }
.modal-main h4 { font-size: 24px; }
.modal-aside h3 { font-size: 30px; line-height: 1.12; }
.acc-btn .wkt { font-size: 19px; line-height: 1.35; font-weight: 600; }
.faq .acc-btn .wkt { font-size: 17px; font-weight: 600; }
.cert-big strong { font-size: 26px; }
.cert-big .nm { font-weight: 600; font-size: 20px; }
.ov-photo figcaption b, .mega.about a.tile strong { font-size: 17px; }
.cb-card .cb-title { font-weight: 600; letter-spacing: -.01em; font-size: 24px; line-height: 1.25; }

/* Numerals and accents */
.sc-stats b { font-weight: 700; font-size: 30px; letter-spacing: -.01em; }
.hl b, .stats.colorful b { font-weight: 700; letter-spacing: -.01em; }
.learn-grid b, .prereq b, .steps div::before { font-weight: 700; font-size: 24px; }
.assess-card .pct { font-weight: 700; font-size: 56px; letter-spacing: -.01em; }
.mega-promo p, .mega.about .lead { font-weight: 600; font-size: 21px; line-height: 1.35; letter-spacing: -.01em; }

/* Reading text */
.about-text { font-size: 18px; line-height: 1.7; }
.about-text::first-letter { font-family: var(--serif); font-weight: 700; }
.ab-body p.big { font-weight: 600; font-size: 24px; line-height: 1.4; letter-spacing: -.01em; }

/* ==========================================================================
   Plain styling: no decorative glows, rings, gradient tiles or hover lifts
   ========================================================================== */
.hl::after, .cta-band::before, .modal-aside::after, .live-class::before, .page-hero .pattern { display: none; }

/* Program highlights: simple bordered figures */
.highlights { padding: 40px 0 0; }
.hl-grid { grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line-strong); border-bottom: 1px solid var(--line-strong); }
.hl { min-height: 0; padding: 22px 24px 22px 0; border-radius: 0; background: none; color: var(--ink); justify-content: flex-start; }
.hl + .hl { padding-left: 24px; border-left: 1px solid var(--line); }
.hl b { font-size: 34px; color: var(--blue); }
.hl > span:last-child { margin-top: 4px; font-size: 14px; color: var(--ink-2); opacity: 1; }

/* Flat colours instead of gradients */
/* "What a live class looks like": light blue section with dark text */
.live-class { padding: 110px 0; background: var(--sky); color: var(--ink); }
.live-class .intro { color: var(--ink-2); }
.lc-video { outline: 0; box-shadow: 0 30px 60px -30px rgba(13, 20, 51, .45); }
.lc-steps li { background: var(--paper); border-color: var(--line); }
.lc-steps p { color: var(--ink-2); }
.lc-steps:last-child { margin-bottom: 0; }
.cs.tint { background: var(--sky); }
.cs.tint .learn-grid b { width: auto; height: auto; display: block; background: none; box-shadow: none; color: var(--blue); font-size: 22px; }
.lc-steps .n { background: none; border: 1px solid var(--blue); color: var(--blue); font-size: 16px; }
.chips.tools span, .cs.alt .chips.tools span { background: var(--ink); }

/* No lift / zoom on hover */
.aud-card:hover, .rel-card:hover { transform: none; box-shadow: none; }
.aud-card:hover .aud-photo img, .rel-card:hover .rel-photo img, .pillar.has-photo:hover img, .cat-col.has-photo:hover::before { transform: none; }
.rel-card:hover { background: var(--paper); color: inherit; border-color: var(--blue); }
.rel-card:hover h4 { color: var(--blue); }
.rel-meta { font-size: 13px; color: var(--muted); }
.syl-count { font-size: 14px; font-weight: 600; color: var(--ink-2); }
.pillar.has-photo h4 { margin-top: 0; }
.cert-big .nm { color: var(--ink); }


/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1240px) {
  .search-field { width: 190px; }
  .search-field:focus-within { width: 220px; }
  .nav-left { gap: 26px; }
  .mega-inner { grid-template-columns: 1fr 1fr 2fr; }
  .mega-promo { display: none; }
  .ch-grid { grid-template-columns: 1fr 360px; gap: 40px; }
}
@media (max-width: 1024px) {
  :root { --header-h: 76px; --header-h-sm: 66px; }
  .nav-left .nav-item, .nav-right .search, .nav-right .link-login, .nav-right .user-chip .user-name, .nav-right .user-toggle .chev { display: none; }
  .menu-toggle, .search-toggle { display: grid; }
  .header-inner { width: calc(100% - 24px); }
  .nav-left { gap: 4px; }
  .nav-right { gap: 6px; }
  .btn-signup { height: 38px; padding: 0 16px; font-size: 12px; }
  .brand img { height: 32px; }
  .is-solid .brand img, body.header-solid .brand img { height: 28px; }
  .search.mobile-open { display: block !important; position: absolute; left: 12px; right: 12px; top: calc(100% + 8px); }
  .search.mobile-open .search-field { width: 100%; background: var(--white); color: var(--ink); border-color: var(--line-strong); height: 48px; }
  .search.mobile-open .search-results { width: 100%; }
  /* photo on top, copy below (as upGrad does on smaller screens) */
  .stack-card { grid-template-columns: 1fr; height: auto; min-height: 0; }
  .sc-media { order: -1; height: 300px; margin: 14px 14px 0; }
  .ch-grid { grid-template-columns: 1fr; }
  .enrol-card { max-width: 520px; }
  .hl-grid { grid-template-columns: repeat(2, 1fr); }
  .hl:nth-child(odd) { padding-left: 0; border-left: 0; }
  .hl:nth-child(n+3) { border-top: 1px solid var(--line); }
  .collage { height: 380px; max-width: 620px; }
  .mosaic { max-width: 560px; }
  .lc-grid { grid-template-columns: 1fr; gap: 40px; }
  .ov-photo { max-width: 560px; aspect-ratio: 16 / 10; }
  .cs-head, .ab-split { grid-template-columns: 1fr; gap: 28px; }
  .learn-grid, .assess, .career-grid, .cert-row { grid-template-columns: 1fr; }
  .related, .pillars, .cat-cols { grid-template-columns: 1fr 1fr; }
  .steps, .stats { grid-template-columns: 1fr 1fr; gap: 0 20px; }
  .acc-body { padding-left: 0; grid-template-columns: 1fr; gap: 20px; }
  .form .row { grid-template-columns: 1fr; }
  .detail-grid { grid-template-columns: 1fr 1fr; }
}
/* Tablets (incl. large / landscape touch tablets up to 1366px): centre the hero quote between the
   header and the top of the program cards, which overlap the hero's last 125px (band margin -230px + padding 105px) */
@media (min-width: 721px) and (max-width: 1024px), (min-width: 721px) and (max-width: 1366px) and (hover: none) and (pointer: coarse) {
  .hero-copy { top: var(--header-h); bottom: 125px; display: flex; flex-direction: column; justify-content: center; }
}
@media (max-width: 720px) {
  .container { width: calc(100% - 32px); }
  .hl-grid { grid-template-columns: 1fr 1fr; gap: 0; }
  .collage { height: 300px; }
  .collage .c2 { border-width: 5px; }
  .about-hero { min-height: 560px; }
  .cat-col.has-photo { min-height: 360px; }
  .hl { min-height: 0; padding: 16px 0; }
  .hl:nth-child(even) { padding-left: 16px; }
  .hl b { font-size: 30px; }
  .lc-steps li { padding: 12px 14px; grid-template-columns: 38px 1fr; gap: 12px; }
  .lc-steps .n { width: 38px; height: 38px; font-size: 17px; }
  .ec-media { height: 140px; }
  .enrol-card > :not(.ec-media) { margin-left: 20px; margin-right: 20px; }
  .enrol-card .btn { width: calc(100% - 40px); }
  .header-inner { width: calc(100% - 16px); }
  .brand img { height: 26px; }
  .is-solid .brand img, body.header-solid .brand img { height: 24px; }
  .menu-toggle, .search-toggle { width: 36px; height: 36px; }
  .nav-right { gap: 4px; }
  .btn-signup { height: 34px; padding: 0 12px; font-size: 11px; letter-spacing: .1em; white-space: nowrap; }
  .user-chip { gap: 6px; }
  .user-chip .avatar { width: 32px; height: 32px; }
  .user-menu { right: -4px; }
  .hero { min-height: 720px; height: calc(100svh + 40px); }
  .hero::after { height: 350px; }
  .hero-copy { width: calc(100% - 32px); top: calc(var(--header-h) + 28px); }
  .hero-quote .q-lead { font-size: clamp(34px, 9vw, 46px); }
  .hero-quote .q-rest { font-size: 23px; margin-top: 14px; }
  .hero-cta { margin-top: 24px; }
  .hero-cta .btn { height: 46px; padding: 0 20px; font-size: 12px; }
  .hero-dots { display: none; }
  .courses-band { --slot: min(calc(100vw - 20px), 410px); margin-top: -160px; padding: 40px 0 30px; background: linear-gradient(rgba(7, 22, 82, 0) 0, var(--band) 160px); }
  .cb-item { padding-right: 12px; }
  /* like QE on phones: wide side padding so the chevrons sit beside the text, not on it */
  .cb-card { min-height: 0; padding: 24px 48px 22px; }
  .cb-card .cb-title { font-size: 24px; line-height: 30px; }
  .cb-card .cb-desc { font-size: 14px; }
  .cb-arrow { width: 40px; height: 64px; top: calc(var(--cb-mid, 190px) - 32px); }
  .cb-arrow svg { width: 18px; height: 36px; }
  .cb-prev { left: 14px; }
  .cb-next { right: 14px; }
  .why { padding: 90px 0 80px; }
  .stack-card { top: calc(var(--header-h-sm) + 14px + var(--i) * 12px); border-radius: 22px; margin-bottom: 40px; }
  .sc-text { padding: 22px 20px 26px; }
  .sc-media { height: 210px; margin: 10px 10px 0; border-radius: 16px; }
  .stack-card h3 { margin: 14px 0 10px; font-size: 28px; }
  .sc-sub { font-size: 14.5px; }
  .sc-stats { margin: 18px 0 16px; }
  .sc-stats div { padding-right: 18px; margin-right: 18px; }
  .sc-stats b { font-size: 26px; }
  .sc-stats span { font-size: 12px; }
  .sc-points { margin-bottom: 20px; gap: 8px; }
  .sc-points li { font-size: 13.5px; }
  .sc-cta .btn { width: 100%; }
  /* keep two small floating cards on phones so the photo stays visible */
  .fl { max-width: 210px; padding: 8px 11px; font-size: 12px; border-radius: 12px; }
  .fl-tl { top: 10px; left: 10px; } .fl-tr { top: 10px; right: 10px; }
  .fl-bl, .fl-chat.fl-bl { bottom: 10px; left: 10px; } .fl-br { bottom: 10px; right: 10px; }
  .fl-chat.fl-bl, .fl-support, .fl-journey .wk:nth-child(3) { display: none; }
  .fl-journey { width: 220px; padding: 6px 12px 2px; }
  .fl-journey h5 { display: none; }
  .wk { padding: 6px 0; }
  .fl-cert { width: 190px; padding: 5px; } .cert-frame { padding: 9px 10px 8px; }
  .fl-cert b { font-size: 13px; } .cert-foot { margin-top: 7px; }
  .fl-cert .seal { width: 26px; height: 26px; font-size: 13px; }
  .fl-review { width: 200px; }
  .fl-test b { font-size: 18px; } .fl-test { min-width: 0; }
  .ck { padding: 4px 0 4px 20px; font-size: 11.5px; } .ck::before { top: 5px; }
  .ck:nth-of-type(3) { display: none; }
  .fl-tools span, .fl-tags span { padding: 4px 9px; font-size: 11px; }
  .fl-tools, .fl-tags { max-width: none; flex-wrap: nowrap; }
  .fl-tools span:nth-child(n+4), .fl-tags span:nth-child(n+4) { display: none; }
  .page-hero { padding: calc(var(--header-h) + 40px) 0 60px; }
  .ch-facts { grid-template-columns: 1fr 1fr; }
  .ch-cta .btn { flex: 1; }
  .subnav .btn { display: none; }
  .cs, .ab-sec { padding: 64px 0; }
  .detail-grid, .role-list, .related, .pillars, .cat-cols, .steps, .stats { grid-template-columns: 1fr; }
  .acc-btn { grid-template-columns: 1fr 30px; gap: 6px 12px; }
  .acc-btn .wkno { grid-column: 1; }
  .acc-btn .wkt { grid-column: 1; font-size: 22px; }
  .acc-btn .tag { grid-column: 1; justify-self: start; }
  .acc-btn .pm { grid-column: 2; grid-row: 1 / span 3; }
  .faq .acc-body { padding-right: 0; }
  .modal { padding: 0; align-items: end; }
  .modal-dialog { grid-template-columns: 1fr; border-radius: 22px 22px 0 0; max-height: 94vh; }
  /* compact photo header on phones */
  .modal-aside { padding: 22px 20px 20px; gap: 6px; min-height: 150px; justify-content: flex-end; }
  .modal-aside.has-photo { background-position: center 25%; }
  .modal-aside img { height: 22px; }
  .modal-aside h3 { margin: 6px 0 0; font-size: 26px; }
  .modal-aside p, .modal-aside ul { display: none; }
  .modal-main { padding: 34px 20px 28px; }
  .form .row { grid-template-columns: 1fr; }
  .compare { overflow-x: auto; }
  .compare table { min-width: 560px; }
  .cert-big { padding: 28px 18px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
}
