/* ==========================================================================
   GRMI – Risk Management LP
   Base: palette + reset only. Sections get added one by one.
   ========================================================================== */
:root {
  /* Brand */
  --primary: #145A66;
  --secondary: #000000;
  --text: #FFFFFF;

  /* Additional */
  --accent: #00afce;
  --teal-2: #316f7a;
  --gray: #a6a6a6;
  --cta: #ff7600;
  --highlight: #fdee64;

  --radius: 12px;
  --gutter: 20px;
  --font-body: Roboto, system-ui, sans-serif;
  --font-head: Poppins, system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--primary);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-head); line-height: 1.2; }
p { margin: 0; }

/* ==========================================================================
   Navbar
   ========================================================================== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  background: transparent; border-bottom: 1px solid transparent;
  transition: background-color .3s, backdrop-filter .3s, border-color .3s;
}
/* after scrolling: soft glass so links stay readable over content */
.nav.is-scrolled {
  background: rgba(20, 90, 102, .55);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-bottom-color: rgba(255,255,255,.12);
}
.nav__inner {
  max-width: 1280px; margin-inline: auto; padding: 12px var(--gutter);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.nav__logo { flex: none; display: block; }
.nav__logo img { width: 190px; height: auto; }

.nav__menu { display: flex; align-items: center; gap: 32px; }
.nav__links { display: flex; align-items: center; gap: clamp(16px, 1.9vw, 28px); margin: 0; padding: 0; list-style: none; }
.nav__links a {
  position: relative; display: block; padding: 6px 0; white-space: nowrap;
  font-family: var(--font-head); font-size: 1rem; font-weight: 500; color: var(--text); text-decoration: none;
  transition: color .2s;
}
.nav__links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .25s;
}
.nav__links a:hover { color: var(--accent); }
.nav__links a:hover::after { transform: scaleX(1); }

.nav__cta {
  flex: none; padding: 12px 28px; border: 1.5px solid var(--cta); border-radius: 999px; background: var(--cta);
  font-family: var(--font-head); font-size: .9375rem; font-weight: 500; text-transform: uppercase; letter-spacing: .02em;
  color: var(--text); text-decoration: none; transition: background-color .2s, border-color .2s;
}
.nav__cta:hover { background: #e56a00; border-color: #e56a00; }

/* phones & tablets: hamburger opens a dropdown menu */
.nav__toggle { display: none; }
@media (max-width: 1023px) {
  .nav__logo img { width: 170px; }
  .nav__toggle {
    position: relative; display: block; flex: none; width: 44px; height: 44px; padding: 0; border: 1px solid rgba(255,255,255,.3); border-radius: 12px;
    background: rgba(0,0,0,.22); cursor: pointer;
  }
  .nav__toggle span { position: absolute; left: 12px; right: 12px; height: 2px; border-radius: 2px; background: var(--text); transition: transform .25s, opacity .2s, top .25s; }
  .nav__toggle span:nth-child(1) { top: 14px; }
  .nav__toggle span:nth-child(2) { top: 21px; }
  .nav__toggle span:nth-child(3) { top: 28px; }
  .nav.is-open .nav__toggle span:nth-child(1) { top: 21px; transform: rotate(45deg); }
  .nav.is-open .nav__toggle span:nth-child(2) { opacity: 0; }
  .nav.is-open .nav__toggle span:nth-child(3) { top: 21px; transform: rotate(-45deg); }
  .nav.is-open { background: rgba(10, 52, 60, .97); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom-color: rgba(255,255,255,.12); }
  .nav__menu {
    display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
    padding: 4px var(--gutter) 8px; background: rgba(10, 52, 60, .97); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255,255,255,.12); box-shadow: 0 24px 40px rgba(0,0,0,.35);
  }
  .nav.is-open .nav__menu { display: flex; }
  .nav__links { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__links li + li { border-top: 1px solid rgba(255,255,255,.1); }
  .nav__links a { padding: 15px 2px; font-size: 1.0625rem; }
  .nav__links a::after { display: none; }
  .nav__cta { display: none; }
}

/* ==========================================================================
   Hero  (sizes matched to mesaschool.co @1400px)
   ========================================================================== */
.btn {
  display: inline-flex; align-items: center; gap: 12px; padding: 16px 24px 16px 20px; border: 0; border-radius: 16px;
  font-family: var(--font-head); font-size: .875rem; font-weight: 600; text-transform: uppercase; letter-spacing: .01em;
  color: var(--text); text-decoration: none; cursor: pointer; transition: background-color .2s, transform .2s;
}
.btn svg { width: 20px; height: 20px; }
.btn--cta { background: var(--cta); }
.btn--cta:hover { background: #e56a00; transform: translateY(-2px); }

.hero { padding: 104px 0 48px; }
.hero__inner {
  max-width: 1400px; margin-inline: auto; padding-inline: var(--gutter);
  display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; align-items: center;
}

.hero h1 { font-size: 1.25rem; font-weight: 400; line-height: 1.35; color: var(--text); }
@media (min-width: 420px) { .hero h1 { font-size: 1.5rem; } }
.hero h1 strong { display: block; font-weight: 600; }

.hero__meta { display: flex; flex-wrap: wrap; gap: 8px 16px; margin: 15px 0 0; padding: 0; list-style: none; }
.hero__meta li { display: flex; align-items: center; gap: 4px; font-family: var(--font-body); font-size: 1rem; font-weight: 400; }
.hero__meta svg { flex: none; width: 24px; height: 24px; color: var(--accent); }

.hero__chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 24px 0 0; padding: 0; list-style: none; }
.hero__chips li {
  padding: 7px 16px; border: 1px solid rgba(255,255,255,.28); border-radius: 999px; background: rgba(0,0,0,.22);
  font-size: .8125rem; font-weight: 500;
}

.hero__cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 24px; margin-top: 40px; }
.hero__rule { display: none; }
.hero__cta-row { margin-bottom: 36px; }
.accred { padding-left: 24px; border-left: 1px solid rgba(255,255,255,.28); }
.accred__label { font-size: .8125rem; font-weight: 500; color: var(--text); }
.accred__logos { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 22px; margin: 8px 0 0; padding: 9px 16px; list-style: none; border-radius: 12px; background: #fff; }
.accred__logos li { display: flex; align-items: center; }
.accred__logos img { width: auto; height: 34px; object-fit: contain; }
@media (max-width: 479px) { .accred { padding-left: 0; border-left: 0; } }

.hero__stats {
  display: grid; grid-template-columns: repeat(3, minmax(0, auto)); justify-content: space-between; margin: 0; padding: 14px 4px;
  border: 1px solid rgba(255,255,255,.18); border-radius: 18px;
  background: linear-gradient(135deg, rgba(255,255,255,.10), rgba(0,0,0,.18));
}
.hero__stats > div { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 2px 10px; text-align: center; }
.hero__stats > div + div { border-left: 1px solid rgba(255,255,255,.18); }
.hero__stats dd { margin: 0; font-family: var(--font-head); font-size: 1.25rem; font-weight: 700; line-height: 1.15; color: var(--text); white-space: nowrap; }
.hero__stats dd::first-letter { color: inherit; }
.hero__stats dt { font-size: .625rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }

/* video card */
.video { position: relative; border-radius: 24px; overflow: hidden; background: #000; aspect-ratio: 16 / 9; box-shadow: 0 24px 60px rgba(0,0,0,.35); }
.video__btn, .video iframe { display: block; position: relative; width: 100%; height: 100%; padding: 0; border: 0; background: none; color: var(--text); text-align: left; cursor: pointer; }
.video__btn > img:first-child { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.video__btn::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(0,0,0,.2), rgba(0,0,0,0) 30%, rgba(0,0,0,0) 60%, rgba(0,0,0,.4)); }
.video__play {
  position: absolute; z-index: 2; top: 50%; left: 50%; display: grid; place-items: center; width: 72px; height: 72px; margin: -36px 0 0 -36px;
  border-radius: 50%; background: #fff; color: #000; box-shadow: 0 8px 24px rgba(0,0,0,.35); transition: transform .2s, background-color .2s;
}
.video__play svg { width: 26px; height: 26px; }
.video__btn > img.video__logo { position: absolute; z-index: 2; top: 14px; right: 16px; width: 54px; height: auto; filter: drop-shadow(0 2px 6px rgba(0,0,0,.35)); }
.video__time {
  position: absolute; z-index: 2; left: 16px; bottom: 16px; display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 16px 8px 12px; border-radius: 999px; background: var(--primary); color: var(--text);
  font-family: var(--font-head); font-size: .9375rem; font-weight: 500;
}
.video__time svg { width: 20px; height: 20px; }
.video__caption {
  position: absolute; z-index: 2; right: 16px; bottom: 16px; display: flex; flex-direction: column; gap: 2px;
  padding: 10px 18px; border: 1px solid rgba(255,255,255,.2); border-radius: 12px;
  background: rgba(0,0,0,.4); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.video__caption strong { font-family: var(--font-head); font-size: .9375rem; font-weight: 600; }
.video__caption span { font-size: .8125rem; color: rgba(255,255,255,.85); }
.video__btn:hover .video__play { transform: scale(1.08); background: var(--cta); color: #fff; }

@media (min-width: 480px) {
  .hero__stats { padding: 18px 8px; }
  .hero__stats > div { padding: 2px 18px; }
  .hero__stats dd { font-size: 1.75rem; }
  .hero__stats dt { font-size: .6875rem; letter-spacing: .1em; }
}
@media (min-width: 1024px) {
  /* first screen = hero only: it fills the window, content centred, the next section starts below the fold */
  .hero { display: flex; align-items: center; min-height: 100vh; min-height: 100svh; padding: 96px 0 40px; }
  .hero__inner { width: 100%; }
  .hero__inner { padding-inline: 60px; grid-template-columns: minmax(0, .8fr) minmax(0, 1fr); gap: 64px; }
}

@media (min-width: 1024px) {
  .nav__inner { max-width: 1400px; padding-inline: 60px; }
}

/* ==========================================================================
   Strong Alumni base
   ========================================================================== */
.alumni { padding: 48px 0 72px; }
.alumni__inner { max-width: 1400px; margin-inline: auto; padding-inline: var(--gutter); display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; }

.alumni__intro h2 { font-size: 1.5rem; font-weight: 400; line-height: 1.35; }
.alumni__intro h2 strong { font-weight: 600; }
.alumni__intro p { margin-top: 12px; max-width: 34ch; font-size: 1rem; color: rgba(255,255,255,.85); }
.alumni__intro .btn { margin-top: 28px; }

.alumni__viewport { overflow: hidden; border-radius: 20px; }
.alumni__viewport::-webkit-scrollbar { display: none; }
.alumni__viewport:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }

.alumni__grid { --cols: 2; --gap: 12px; display: grid; grid-template-rows: repeat(3, auto); grid-auto-flow: column; grid-auto-columns: calc((100% - (var(--cols) - 1) * var(--gap)) / var(--cols)); gap: var(--gap); margin: 0; padding: 0; list-style: none; }

.acard { position: relative; aspect-ratio: 1 / 1; overflow: hidden; border-radius: 20px; background: rgba(0,0,0,.35); }
.acard > img { display: block; width: 100%; height: 100%; object-fit: cover; }
.acard__in { position: absolute; top: 8px; right: 8px; z-index: 1; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 8px; background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.3); color: #fff; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); transition: background-color .2s, transform .2s; }
.acard__in:focus-visible { outline: 2px solid var(--highlight); outline-offset: 2px; }
.acard__in:hover, .acard:hover .acard__in { background: #0a66c2; border-color: #0a66c2; transform: scale(1.08); }

.alumni__controls { display: flex; align-items: center; justify-content: space-between; margin-top: 20px; }
.alumni__dots { flex: 1; height: 4px; margin-right: 24px; border-radius: 999px; background: rgba(255,255,255,.25); overflow: hidden; }
.alumni__fill { display: block; height: 100%; width: 0; border-radius: 999px; background: var(--text); transition: width .3s; }
.alumni__dots button { width: 10px; height: 10px; padding: 0; border: 0; border-radius: 999px; background: rgba(255,255,255,.35); cursor: pointer; transition: width .25s, background-color .25s; }
.alumni__dots button[aria-current="true"] { width: 28px; background: var(--text); }
.alumni__arrows { display: flex; gap: 8px; }
.alumni__arrows button { width: 44px; height: 44px; border: 1px solid rgba(255,255,255,.3); border-radius: 50%; background: rgba(0,0,0,.25); color: var(--text); font-size: 1.5rem; line-height: 1; cursor: pointer; transition: background-color .2s, opacity .2s; }
.alumni__arrows button:hover:not(:disabled) { background: var(--cta); border-color: var(--cta); }
.alumni__arrows button:disabled { opacity: .35; cursor: default; }

@media (min-width: 640px) { .alumni__grid { --cols: 3; } }
@media (min-width: 1024px) {
  .alumni { padding: 56px 0 96px; }
  .alumni__inner { padding-inline: 60px; grid-template-columns: minmax(0, 1fr) minmax(0, 3fr); gap: 64px; align-items: stretch; }
  .alumni__intro { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding-bottom: 64px; }
  .alumni__grid { --cols: 4; --gap: 16px; }
}


/* ==========================================================================
   Alumni at leading firms  (styled like mesaschool.co: white logos on glass tiles)
   ========================================================================== */
.firms { padding: 48px 0 80px; }
.firms__inner { max-width: 1400px; margin-inline: auto; padding-inline: var(--gutter); }
.firms h2 { font-size: 1.5rem; font-weight: 300; line-height: 1.35; }
.firms h2 strong { font-weight: 600; }
.firms__inner > p { margin-top: 8px; max-width: 70ch; font-size: .875rem; color: rgba(255,255,255,.9); }
.firms__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 28px 0 0; padding: 0; list-style: none; }
.firms__grid li {
  position: relative; overflow: hidden; aspect-ratio: 150 / 68; border-radius: 12px;
  border: 1px solid rgba(255,255,255,.16); background: rgba(255,255,255,.07);
}
/* colour logos on white -> clean white marks (white bg turns black, then "screen" drops it) */
.firms__grid img {
  position: absolute; inset: 12px 16px; width: calc(100% - 32px); height: calc(100% - 24px); object-fit: contain;
  filter: grayscale(1) invert(1) contrast(1.15) brightness(1.3); mix-blend-mode: screen;
}
.firms__grid img[src*="eicher"] { transform: scale(1.9); }
.firms__grid img[src*="titan"] { transform: scale(1.2); }
@media (min-width: 640px) { .firms__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1024px) {
  .firms { padding: 64px 0 96px; }
  .firms__inner { padding-inline: 60px; }
  .firms__grid { grid-template-columns: repeat(8, minmax(0, 1fr)); margin-top: 32px; }
}

/* ==========================================================================
   Hear Directly from Our Alumni  (video shorts carousel)
   ========================================================================== */
.stories { padding: 48px 0 96px; }
.stories__inner { max-width: 1400px; margin-inline: auto; padding-inline: var(--gutter); }
.stories__head { max-width: 820px; margin: 0 auto 32px; text-align: center; }
.stories h2 { font-size: 1.5rem; font-weight: 300; line-height: 1.35; }
.stories h2 strong { font-weight: 600; color: var(--accent); }
.stories__head p { margin-top: 8px; font-size: .875rem; color: rgba(255,255,255,.9); }

.stories__carousel { position: relative; }
.stories__track {
  display: flex; gap: 16px; margin: -4px; padding: 4px; list-style: none;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 4px; scrollbar-width: none; overscroll-behavior-x: contain;
}
.stories__track::-webkit-scrollbar { display: none; }
.story {
  flex: 0 0 78%; scroll-snap-align: start; aspect-ratio: 406 / 719; overflow: hidden;
  border: 1px solid rgba(255,255,255,.22); border-radius: 20px; background: #0b3a43;
}
.story__btn, .story iframe { display: block; position: relative; width: 100%; height: 100%; padding: 0; border: 0; background: none; color: var(--text); text-align: left; cursor: pointer; }
.story__btn img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.story__btn::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(0,0,0,.45), rgba(0,0,0,0) 14%, rgba(0,0,0,0) 74%, rgba(0,0,0,.7)); }
.story__tag, .story__play, .story__meta { position: absolute; z-index: 2; }
.story__tag { top: 14px; left: 16px; font-family: var(--font-head); font-size: .875rem; font-weight: 600; }
.story__play {
  top: 50%; left: 50%; display: grid; place-items: center; width: 56px; height: 56px; margin: -28px 0 0 -28px;
  border-radius: 50%; background: #fff; color: #000; box-shadow: 0 8px 24px rgba(0,0,0,.35); transition: transform .2s, background-color .2s, color .2s;
}
.story__btn:hover .story__play { transform: scale(1.1); background: var(--cta); color: #fff; }
.story__meta { left: 16px; right: 12px; bottom: 16px; display: grid; gap: 4px; font-size: .75rem; font-weight: 500; }
.story__meta > span:first-child { color: var(--gray); font-size: .6875rem; letter-spacing: .04em; text-transform: uppercase; }
.story__caption { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: .8125rem; line-height: 1.4; }

.stories__nav {
  position: absolute; top: 50%; z-index: 3; width: 40px; height: 40px; margin-top: -20px; padding: 0;
  border: 1px solid rgba(255,255,255,.35); border-radius: 50%; background: rgba(0,0,0,.45); color: var(--text);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); font-size: 1.5rem; line-height: 1; cursor: pointer; transition: background-color .2s, border-color .2s;
}
.stories__nav:hover { background: var(--cta); border-color: var(--cta); }
.stories__nav--prev { left: 6px; }
.stories__nav--next { right: 6px; }
.stories__dots { display: flex; justify-content: center; gap: 10px; margin-top: 20px; }
.stories__dots span { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.35); transition: width .25s, background-color .25s; }
.stories__dots span.is-active { width: 24px; border-radius: 999px; background: var(--text); }

@media (min-width: 640px) { .story { flex-basis: calc((100% - 16px) / 2); } }
@media (min-width: 1024px) {
  .stories { padding: 64px 0 112px; }
  .stories__inner { padding-inline: 60px; }
  .story { flex-basis: calc((100% - 48px) / 4); }
  .stories__nav--prev { left: -20px; }
  .stories__nav--next { right: -20px; }
}

/* ==========================================================================
   Meet the experts (faculty)  -  card style after Mesa "Supporters and Investors"
   ========================================================================== */
.faculty { padding: 48px 0 96px; }
.faculty__inner { max-width: 1400px; margin-inline: auto; padding-inline: var(--gutter); }
.faculty h2 { font-size: 1.5rem; font-weight: 300; line-height: 1.35; text-align: center; }
.faculty h2 strong { font-weight: 600; }
.faculty__sub { margin-top: 8px; text-align: center; font-size: .875rem; color: rgba(255,255,255,.9); }
.faculty__slider { margin-top: 28px; }
.faculty__viewport { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.faculty__viewport::-webkit-scrollbar { display: none; }
.faculty__viewport:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 12px; }
.faculty__track { display: flex; gap: 32px; }
.faculty__grid { flex: 0 0 100%; min-width: 0; scroll-snap-align: start; scroll-snap-stop: always; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 12px; align-content: start; margin: 0; padding: 0; list-style: none; }
.faculty__controls { display: flex; align-items: center; justify-content: space-between; margin-top: 24px; }
.faculty__dots { display: flex; gap: 8px; }
.faculty__dots button { width: 10px; height: 10px; padding: 0; border: 0; border-radius: 999px; background: rgba(255,255,255,.35); cursor: pointer; transition: width .25s, background-color .25s; }
.faculty__dots button[aria-current="true"] { width: 28px; background: var(--text); }
.faculty__arrows { display: flex; gap: 8px; }
.faculty__arrows button { width: 44px; height: 44px; border: 1px solid rgba(255,255,255,.3); border-radius: 50%; background: rgba(0,0,0,.25); color: var(--text); font-size: 1.5rem; line-height: 1; cursor: pointer; transition: background-color .2s, opacity .2s; }
.faculty__arrows button:hover:not(:disabled) { background: var(--cta); border-color: var(--cta); }
.faculty__arrows button:disabled { opacity: .35; cursor: default; }

.fcard {
  display: block; overflow: hidden; text-align: left;
  border: 1px solid rgba(255,255,255,.16); border-radius: 20px;
  background: linear-gradient(180deg, #0c3a42 0%, #061f24 100%);
  transition: transform .3s, border-color .3s;
}
.fcard:hover { transform: translateY(-4px); border-color: var(--accent); }
.fcard__photo { position: relative; aspect-ratio: 1 / 1; overflow: hidden; background: #fff; }
.fcard__photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.fcard h3, .fcard p { margin: 0; padding-inline: 14px; }
.fcard h3 { padding-top: 12px; font-family: var(--font-head); font-size: .9375rem; font-weight: 500; line-height: 1.3; }
.fcard p { padding-top: 3px; padding-bottom: 14px; font-size: .71875rem; line-height: 1.5; color: rgba(255,255,255,.85); }
.fcard h3 { font-family: var(--font-head); font-size: .9375rem; font-weight: 500; line-height: 1.3; }
.fcard p { padding-top: 3px; padding-bottom: 14px; font-size: .71875rem; line-height: 1.5; color: rgba(255,255,255,.88); }

@media (min-width: 640px) { .faculty__grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 24px 14px; } }
@media (min-width: 1024px) {
  .faculty { padding: 64px 0 112px; }
  .faculty__inner { padding-inline: 60px; }
  .faculty__grid { grid-template-columns: repeat(5, minmax(0, 196px)); justify-content: space-between; gap: 36px 24px; }
  .faculty__track { gap: 64px; }
  .faculty__slider { margin-top: 36px; }
}

/* ==========================================================================
   Areas covered  (layout after Mesa "Marquee Professors": text left, 2-row card scroller right)
   ========================================================================== */
.areas { padding: 48px 0 40px; }
.areas__inner { max-width: 1400px; margin-inline: auto; padding-inline: var(--gutter); display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; }
.areas__intro h2 { font-size: 1.5rem; font-weight: 300; line-height: 1.35; }
.areas__intro h2 strong { font-weight: 600; }
.areas__intro p { margin-top: 12px; max-width: 34ch; font-size: .9375rem; color: rgba(255,255,255,.88); }
.areas__intro .btn { margin-top: 24px; }

.areas__panel { border: 1px solid rgba(255,255,255,.16); border-radius: 24px; background: rgba(0,0,0,.2); overflow: hidden; }
.areas__list { display: grid; grid-template-columns: minmax(0, 1fr); margin: 0; padding: 0; list-style: none; }
.area { position: relative; display: flex; align-items: center; gap: 14px; padding: 15px 20px; border-top: 1px solid rgba(255,255,255,.12); transition: background-color .2s; }
.areas__list .area:first-child { border-top: 0; }
.area:hover { background: rgba(255,255,255,.07); }
.area__icon { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: rgba(0,175,206,.16); color: var(--accent); }
.area__icon svg { width: 20px; height: 20px; }
.area h3 { flex: 1; min-width: 0; font-family: var(--font-head); font-size: .9375rem; font-weight: 500; line-height: 1.35; }
.area__no { flex: none; font-family: var(--font-head); font-size: .75rem; font-weight: 500; letter-spacing: .06em; color: rgba(255,255,255,.45); }

@media (min-width: 640px) { .areas__list { grid-template-columns: repeat(2, minmax(0, 1fr)); } .areas__list .area:nth-child(2) { border-top: 0; } .areas__list .area:nth-child(even) { border-left: 1px solid rgba(255,255,255,.12); } .areas__list::after { content: ""; border-top: 1px solid rgba(255,255,255,.12); border-left: 1px solid rgba(255,255,255,.12); } }
@media (min-width: 1024px) {
  .areas { padding: 64px 0 48px; }
  .areas__inner { padding-inline: 60px; grid-template-columns: minmax(0, 1fr) minmax(0, 3fr); gap: 64px; align-items: center; }
}

/* ==========================================================================
   Alumni job roles  (three drifting rows of pills)
   ========================================================================== */
.roles { padding: 16px 0 72px; overflow: hidden; }
.roles__inner { max-width: 900px; margin-inline: auto; padding-inline: var(--gutter); text-align: center; }
.roles h2 { font-size: 1.25rem; font-weight: 300; line-height: 1.35; }
.roles h2 strong { font-weight: 600; }
.roles__sub { margin-top: 8px; font-size: .875rem; color: rgba(255,255,255,.9); }

.roles__rows { display: grid; gap: 10px; margin-top: 24px; }
.roles__row {
  display: flex; width: 100%; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.roles__group { flex: none; display: flex; padding-right: 10px; }
.roles__group ul { display: flex; gap: 10px; margin: 0; padding: 0; list-style: none; }
.roles__group li {
  flex: none; display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; white-space: nowrap;
  border: 1px solid rgba(255,255,255,.22); border-radius: 999px; background: rgba(0,0,0,.22);
  font-family: var(--font-head); font-size: .8125rem; font-weight: 400;
  transition: background-color .25s, border-color .25s;
}
.roles__group li::before { content: ""; flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.roles__group li:nth-child(even) { background: var(--teal-2); border-color: transparent; }
.roles__group li:hover { background: var(--cta); border-color: var(--cta); }
.roles__group li:hover::before { background: #fff; }

/* drifting rows (script.js adds a clone, so -50% loops seamlessly) */
.roles__row.is-moving .roles__group { animation: roles-drift var(--roles-dur, 45s) linear infinite; }
.roles__row--2.is-moving .roles__group { animation-direction: reverse; }
.roles__row.is-moving:hover .roles__group { animation-play-state: paused; }
@keyframes roles-drift { to { transform: translateX(-100%); } }

/* no script / reduced motion: pills simply wrap, centred */
.roles__row:not(.is-moving) { -webkit-mask-image: none; mask-image: none; justify-content: center; }
.roles__row:not(.is-moving) .roles__group { padding: 0 var(--gutter); }
.roles__row:not(.is-moving) .roles__group ul { flex-wrap: wrap; justify-content: center; }
@media (min-width: 640px) {
  .roles { padding: 24px 0 96px; }
  .roles h2 { font-size: 1.5rem; }
  .roles__rows { gap: 14px; margin-top: 32px; }
  .roles__group { padding-right: 14px; }
  .roles__group ul { gap: 14px; }
  .roles__group li { gap: 10px; padding: 14px 24px; font-size: .9375rem; }
  .roles__group li::before { width: 8px; height: 8px; }
}
@media (min-width: 1024px) { .roles { padding: 24px 0 112px; } .roles__rows { gap: 16px; margin-top: 40px; } }

/* ==========================================================================
   Why choose GRMI  (text list + overlapping image / image / video-badge collage)
   ========================================================================== */
.why { padding: 48px 0 56px; }
.why__inner { max-width: 1400px; margin-inline: auto; padding-inline: var(--gutter); display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; }
.why h2 { font-size: 1.5rem; font-weight: 300; line-height: 1.35; }
.why h2 strong { font-weight: 600; }

.why__list { margin: 24px 0 0; padding: 0; list-style: none; }
.why__list li { display: flex; gap: 16px; padding: 18px 0; border-top: 1px solid rgba(255,255,255,.18); }
.why__list li:last-child { border-bottom: 1px solid rgba(255,255,255,.18); }
.why__no {
  flex: none; display: grid; place-items: center; width: 38px; height: 38px; border: 1.5px solid var(--accent); border-radius: 50%;
  font-family: var(--font-head); font-size: .8125rem; font-weight: 500; color: var(--accent); transition: background-color .25s, color .25s;
}
.why__list li:hover .why__no { background: var(--accent); color: #000; }
.why__list h3 { font-family: var(--font-head); font-size: 1.0625rem; font-weight: 500; line-height: 1.35; }
.why__list p { margin-top: 6px; font-size: .875rem; line-height: 1.6; color: rgba(255,255,255,.85); }

/* collage: three images joined as one tidy block */
.why__media { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1.15fr 1fr; gap: 8px; width: 100%; max-width: 560px; margin-inline: auto; aspect-ratio: 1 / 1.05; overflow: hidden; border-radius: 28px; box-shadow: 0 24px 50px rgba(0,0,0,.3); }
.wm { position: relative; margin: 0; overflow: hidden; min-width: 0; min-height: 0; background: var(--teal-2); }
.wm img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.8,.2,1); }
.wm:hover img { transform: scale(1.05); }
.wm--group { grid-column: 1 / -1; }
.wm--group img { object-position: 60% 45%; }
.wm--fun img { object-position: 50% 50%; }
.wm--campus img { object-position: 55% 40%; }
@media (min-width: 1024px) {
  .why { padding: 64px 0 72px; }
  .why__inner { padding-inline: 60px; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 72px; align-items: center; }
  .why__media { margin-inline: 0 0; max-width: 580px; justify-self: end; }
}

/* ==========================================================================
   Why spend two years  (GRMI vs traditional: two aligned cards, no table)
   ========================================================================== */
.vs { padding: 56px 0 56px; }
.vs__inner { max-width: 1400px; margin-inline: auto; padding-inline: var(--gutter); }
.vs h2 { font-size: 1.25rem; font-weight: 300; line-height: 1.35; text-align: center; }
.vs h2 strong { font-weight: 600; }

.vs__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; margin: 28px auto 0; max-width: 1000px; }
.vs__card { display: grid; grid-template-rows: auto auto; align-content: start; padding: 22px 20px 8px; border-radius: 24px; border: 1px solid rgba(255,255,255,.16); }
.vs__card h3 { display: flex; flex-direction: column; gap: 8px; padding-bottom: 16px; font-family: var(--font-head); font-size: 1.125rem; font-weight: 600; line-height: 1.3; }
.vs__tag { align-self: flex-start; padding: 4px 12px; border-radius: 999px; font-size: .6875rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.vs__card ul { margin: 0; padding: 0; list-style: none; }
.vs__card li { display: flex; gap: 12px; padding: 14px 0; border-top: 1px solid rgba(255,255,255,.14); }
.vs__icon { flex: none; display: grid; place-items: center; width: 28px; height: 28px; margin-top: 2px; border-radius: 50%; }
.vs__label { display: block; font-size: .6875rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.vs__card p { margin-top: 3px; font-size: .9375rem; line-height: 1.45; }

/* GRMI: bright, hero card */
.vs__card--grmi, .vs__card--other { background: linear-gradient(160deg, var(--teal-2) 0%, var(--primary) 55%, #0b3a43 130%); border-color: var(--accent); box-shadow: 0 24px 60px rgba(0,0,0,.3), 0 0 0 1px rgba(0,175,206,.25); }
.vs__card .vs__tag { background: var(--accent); color: #000; }
.vs__card .vs__icon { background: var(--accent); color: #000; }
.vs__card .vs__label { color: var(--accent); }
.vs__card p { font-weight: 500; color: var(--text); }
/* traditional: quiet, muted card */

.vs__badge {
  position: relative; justify-self: center; margin-block: -34px; z-index: 3; display: grid; place-items: center; width: 52px; height: 52px;
  border: 4px solid var(--primary); border-radius: 50%; background: var(--cta); color: #000; font-family: var(--font-head); font-size: .8125rem; font-weight: 700; letter-spacing: .04em;
  box-shadow: 0 8px 22px rgba(0,0,0,.35);
}

@media (min-width: 640px) { .vs h2 { font-size: 1.5rem; } }
@media (min-width: 1024px) {
  .vs { padding: 72px 0 80px; }
  .vs__inner { padding-inline: 60px; }
  .vs__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: auto repeat(6, auto); column-gap: 28px; row-gap: 0; margin-top: 36px; }
  /* each card spans every row and re-uses the grid's rows, so row N lines up across both cards */
  .vs__card { grid-row: 1 / span 7; grid-template-rows: subgrid; padding: 26px 28px 10px; }
  .vs__card ul { display: grid; grid-row: 2 / span 6; grid-template-rows: subgrid; }
  .vs__card li { align-items: center; }
  .vs__badge { position: absolute; left: 50%; top: 50%; margin: 0; transform: translate(-50%, -50%); width: 64px; height: 64px; font-size: .9375rem; }
}

/* ==========================================================================
   How to Join PGDRM Programme  (connected 4-step stepper)
   ========================================================================== */
.join { padding: 56px 0 80px; }
.join__inner { max-width: 1400px; margin-inline: auto; padding-inline: var(--gutter); }
.join__head { max-width: 760px; margin-inline: auto; text-align: center; }
.join h2 { font-size: 1.5rem; font-weight: 300; line-height: 1.35; }
.join h2 strong { font-weight: 600; }
.join__head p { margin-top: 8px; font-size: .9375rem; color: rgba(255,255,255,.9); }

.join__steps { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; margin: 36px 0 0; padding: 0; list-style: none; counter-reset: none; }
.step {
  position: relative; display: flex; flex-direction: column; gap: 10px; padding: 22px 20px 22px;
  border: 1px solid rgba(255,255,255,.16); border-radius: 24px; background: linear-gradient(180deg, rgba(0,0,0,.26), rgba(0,0,0,.4));
  transition: border-color .25s, transform .25s;
}
.step:hover { border-color: var(--accent); transform: translateY(-3px); }
.step__no {
  display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 4px; border-radius: 50%;
  background: var(--accent); color: #000; font-family: var(--font-head); font-size: 1.125rem; font-weight: 700; box-shadow: 0 0 0 6px rgba(0,175,206,.18);
}
.step h3 { font-family: var(--font-head); font-size: 1.125rem; font-weight: 600; line-height: 1.3; }
.step p { font-size: .875rem; line-height: 1.65; color: rgba(255,255,255,.88); }
.step strong { color: var(--highlight); font-weight: 600; }

.step__list { display: grid; gap: 10px; margin: 2px 0 0; padding: 0; list-style: none; }
.step__list li { padding: 12px 14px; border-radius: 14px; background: rgba(255,255,255,.07); font-size: .8125rem; line-height: 1.55; color: rgba(255,255,255,.9); }
.step__list b { display: block; margin-bottom: 3px; font-size: .6875rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
.step__list--plain li { position: relative; padding: 0 0 0 22px; background: none; }
.step__list--plain li::before { content: ""; position: absolute; left: 2px; top: .55em; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.step__note { margin-top: auto !important; padding: 10px 14px; border-radius: 12px; background: var(--cta); color: #000 !important; font-weight: 500; }

.join__elig {
  display: flex; align-items: center; gap: 14px; max-width: 920px; margin: 28px auto 0; padding: 16px 20px;
  border: 1px solid rgba(255,255,255,.18); border-radius: 18px; background: rgba(0,0,0,.28); font-size: .9375rem; line-height: 1.55;
}
.join__tick { flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--accent); color: #000; }
.join__elig strong { font-weight: 600; }

@media (min-width: 640px) { .join__steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) {
  .join { padding: 72px 0 96px; }
  .join__inner { padding-inline: 60px; }
  .join__steps { grid-template-columns: minmax(0, .85fr) minmax(0, .95fr) minmax(0, 1.3fr) minmax(0, 1.2fr); gap: 20px; align-items: start; margin-top: 44px; }
  /* connector between the numbered circles */
  .step:not(:last-child)::after { content: ""; position: absolute; top: 44px; left: calc(20px + 44px + 8px); right: -20px; height: 2px; z-index: 2; background: linear-gradient(90deg, var(--accent), rgba(0,175,206,.15)); pointer-events: none; }
  .step { padding: 24px 20px; }
}

/* ==========================================================================
   Alumni testimonials  (one big quote + clickable avatar rail)
   ========================================================================== */
.tst { padding: 56px 0 88px; }
.tst__inner { max-width: 1400px; margin-inline: auto; padding-inline: var(--gutter); }
.tst__head { text-align: center; }
.tst h2 { font-size: 1.5rem; font-weight: 300; line-height: 1.35; }
.tst h2 strong { font-weight: 600; }

.tst__stage { max-width: 960px; margin: 32px auto 0; }
.tst__card {
  position: relative; overflow: hidden; padding: 56px 22px 26px; border: 1px solid rgba(255,255,255,.2); border-radius: 28px;
  background: linear-gradient(150deg, var(--teal-2) 0%, var(--primary) 60%, #0a3a43 130%); box-shadow: 0 24px 60px rgba(0,0,0,.28);
}
.tst__mark { position: absolute; left: 20px; top: -6px; font-family: Georgia, serif; font-size: 8rem; line-height: 1; color: rgba(255,255,255,.12); pointer-events: none; }
.tst__stars { position: absolute; right: 22px; top: 20px; margin: 0; font-size: .9375rem; letter-spacing: .18em; color: var(--highlight); }
.tst__list { margin: 0; padding: 0; list-style: none; }
.tst__item + .tst__item { margin-top: 28px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,.18); }
.tst__item figure { margin: 0; }
.tst__item blockquote { margin: 0; }
.tst__item blockquote p { font-family: var(--font-head); font-size: 1.0625rem; font-weight: 400; line-height: 1.65; color: var(--text); }
.tst__item figcaption { display: flex; align-items: center; gap: 14px; margin-top: 22px; }
.tst__item figcaption img { flex: none; width: 64px; height: 64px; border-radius: 50%; object-fit: cover; background: #fff; border: 3px solid var(--accent); }
.tst__who { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.tst__who strong { font-family: var(--font-head); font-size: 1.0625rem; font-weight: 600; }
.tst__who span { font-size: .8125rem; font-weight: 500; color: rgba(255,255,255,.82); }
.tst__in { flex: none; margin-left: auto; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: rgba(255,255,255,.14); color: var(--text); transition: background-color .2s, color .2s; }
.tst__in:hover { background: #0a66c2; color: #fff; }

/* with script: one quote at a time */
.tst__stage.is-js .tst__item[hidden] { display: none; }
.tst__stage.is-js .tst__item { margin: 0; padding: 0; border: 0; animation: tstIn .4s ease; }
@keyframes tstIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .tst__stage.is-js .tst__item { animation: none; } }

.tst__controls { display: none; align-items: center; justify-content: center; gap: 12px; margin-top: 22px; }
.tst__stage.is-js .tst__controls { display: flex; }
.tst__arrow { flex: none; width: 44px; height: 44px; border: 1px solid rgba(255,255,255,.3); border-radius: 50%; background: rgba(0,0,0,.25); color: var(--text); font-size: 1.5rem; line-height: 1; cursor: pointer; transition: background-color .2s; }
.tst__arrow:hover { background: var(--cta); border-color: var(--cta); }

@media (min-width: 640px) {
  .tst__card { padding: 64px 40px 34px; }
  .tst__stars { right: 40px; top: 26px; }
  .tst__mark { left: 34px; }
  .tst__item blockquote p { font-size: 1.25rem; }
  .tst__item figcaption img { width: 76px; height: 76px; }
}
@media (min-width: 1024px) {
  .tst { padding: 72px 0 112px; }
  .tst__inner { padding-inline: 60px; }
  .tst__stage { margin-top: 40px; }
  .tst__card { padding: 72px 56px 40px; }
  .tst__stars { right: 56px; }
  .tst__mark { left: 48px; font-size: 9rem; }
  .tst__item blockquote p { font-size: 1.375rem; }
  }

/* ==========================================================================
   Frequently Asked Questions  (category list + accordion)
   ========================================================================== */
.faq { padding: 56px 0 96px; }
.faq__inner { max-width: 1400px; margin-inline: auto; padding-inline: var(--gutter); }
.faq h2 { font-size: 1.5rem; font-weight: 300; line-height: 1.35; }
.faq h2 strong { font-weight: 600; }

.faq__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; margin-top: 28px; }

/* categories: scrollable pills on small screens, sticky list on desktop */
.faq__cats { display: flex; gap: 8px; margin: 0 calc(var(--gutter) * -1); padding: 2px var(--gutter) 6px; overflow-x: auto; scrollbar-width: none; }
.faq__cats::-webkit-scrollbar { display: none; }
.faq__cat {
  flex: none; display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px; border: 1px solid rgba(255,255,255,.22); border-radius: 999px; background: rgba(0,0,0,.22);
  color: rgba(255,255,255,.85); font-family: var(--font-head); font-size: .875rem; font-weight: 500; white-space: nowrap; cursor: pointer; transition: background-color .25s, border-color .25s, color .25s;
}
.faq__cat span { font-family: var(--font-body); font-size: .6875rem; font-weight: 600; letter-spacing: .06em; color: var(--accent); }
.faq__cat:hover { border-color: var(--accent); color: var(--text); }
.faq__cat[aria-selected="true"] { background: var(--teal-2); border-color: var(--accent); color: var(--text); }
.faq__cat:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.faq__ptitle { margin-bottom: 14px; font-family: var(--font-head); font-size: 1.125rem; font-weight: 600; }
.faq__grid.is-js .faq__ptitle { display: none; }
.faq__grid.is-js .faq__panel[hidden] { display: none; }
.faq__panel + .faq__panel { margin-top: 40px; }
.faq__grid.is-js .faq__panel + .faq__panel { margin-top: 0; }

.faq__item { border: 1px solid rgba(255,255,255,.16); border-radius: 18px; background: rgba(0,0,0,.24); transition: border-color .25s, background-color .25s; }
.faq__item + .faq__item { margin-top: 10px; }
.faq__item:hover { border-color: rgba(255,255,255,.34); }
.faq__item[open] { border-color: var(--accent); background: rgba(0,0,0,.34); }
.faq__item summary {
  position: relative; display: block; padding: 16px 56px 16px 18px; cursor: pointer; list-style: none;
  font-family: var(--font-head); font-size: .9375rem; font-weight: 500; line-height: 1.45;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+"; position: absolute; right: 14px; top: 50%; translate: 0 -50%; display: grid; place-items: center; width: 30px; height: 30px;
  border: 1.5px solid rgba(255,255,255,.4); border-radius: 50%; font-family: var(--font-body); font-size: 1.125rem; line-height: 1; transition: background-color .25s, color .25s, border-color .25s;
}
.faq__item[open] summary::after { content: "−"; background: var(--accent); border-color: var(--accent); color: #000; }
.faq__item summary:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; border-radius: 18px; }
.faq__a { padding: 0 18px 18px; font-size: .875rem; line-height: 1.7; color: rgba(255,255,255,.88); }
.faq__a p + p, .faq__a ul + p, .faq__a p + ul { margin-top: 10px; }
.faq__a ul { margin: 8px 0 0; padding-left: 20px; list-style: disc; }
.faq__a li + li { margin-top: 4px; }
.faq__tbl { width: 100%; margin-top: 4px; border-collapse: collapse; font-size: .875rem; }
.faq__tbl th, .faq__tbl td { padding: 10px 12px; border: 1px solid rgba(255,255,255,.16); text-align: left; vertical-align: top; }
.faq__tbl th { background: rgba(0,175,206,.16); font-family: var(--font-head); font-weight: 600; }
.faq__tbl td:first-child { width: 26%; font-weight: 600; color: var(--accent); }
.faq__a a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.faq__a a:hover { color: var(--highlight); }

@media (min-width: 1024px) {
  .faq { padding: 72px 0 120px; }
  .faq__inner { padding-inline: 60px; }
  .faq__grid { grid-template-columns: 280px minmax(0, 1fr); gap: 56px; margin-top: 40px; align-items: start; }
  .faq__cats { position: sticky; top: 104px; flex-direction: column; gap: 8px; margin: 0; padding: 0; overflow: visible; }
  .faq__cat { justify-content: space-between; width: 100%; padding: 14px 18px; border-radius: 16px; white-space: normal; text-align: left; }
  .faq__item summary { padding: 18px 64px 18px 22px; font-size: 1rem; }
  .faq__a { padding: 0 22px 22px; font-size: .9375rem; }
}

/* ==========================================================================
   Footer
   ========================================================================== */
.foot { background: linear-gradient(180deg, #0b3a43 0%, #04181c 100%); border-top: 3px solid var(--accent); }
.foot__inner { max-width: 1400px; margin-inline: auto; padding: 48px var(--gutter) 22px; }
.foot__cols { display: grid; grid-template-columns: minmax(0, 1fr); gap: 36px; }
.foot h2 { margin-bottom: 14px; font-family: var(--font-head); font-size: 1.0625rem; font-weight: 600; }
.foot__logo { display: inline-block; margin-bottom: 18px; }
.foot__logo img { width: 220px; height: auto; }
.foot__about p { max-width: 38ch; font-size: .875rem; line-height: 1.8; color: rgba(255,255,255,.8); }

.foot__social { display: flex; gap: 10px; margin-top: 18px; }
.foot__social a { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: rgba(0,175,206,.16); border: 1px solid rgba(255,255,255,.14); color: var(--text); transition: background-color .2s, border-color .2s, transform .2s; }
.foot__social a:hover { background: var(--cta); border-color: var(--cta); transform: translateY(-3px); }
.foot__social a:focus-visible { outline: 2px solid var(--highlight); outline-offset: 3px; }
.foot__links ul { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.foot__links a { display: inline-flex; align-items: center; gap: 8px; font-size: .875rem; color: rgba(255,255,255,.85); text-decoration: none; transition: color .2s, gap .2s; }
.foot__links a::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.foot__links a:hover { gap: 12px; color: var(--accent); }

.foot address { display: grid; gap: 12px; font-style: normal; }
.foot address a, .foot address p { display: flex; align-items: flex-start; gap: 12px; margin: 0; font-size: .875rem; line-height: 1.6; color: rgba(255,255,255,.85); text-decoration: none; }
.foot address a:hover { color: var(--accent); }
.foot__ico { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: rgba(0,175,206,.16); color: var(--accent); }
.foot__co { margin-top: 18px; font-size: .8125rem; line-height: 1.7; color: rgba(255,255,255,.62); }

.foot__copy { margin: 36px 0 0; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.18); text-align: center; font-size: .8125rem; color: rgba(255,255,255,.7); }

@media (min-width: 640px) { .foot__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } .foot__about { grid-column: 1 / -1; } }
@media (min-width: 1024px) {
  .foot__inner { padding: 64px 60px 26px; }
  .foot__cols { grid-template-columns: minmax(0, 1.3fr) minmax(0, .8fr) minmax(0, 1.3fr); gap: 56px; }
  .foot__about { grid-column: auto; }
}

/* ==========================================================================
   Floating "Enquire Now"  (desktop: bottom-right pill; mobile: full-width bottom bar)
   ========================================================================== */
.fab {
  position: fixed; z-index: 60; right: 24px; bottom: 24px; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px 26px; border-radius: 999px; background: var(--cta); color: var(--text); text-decoration: none;
  font-family: var(--font-head); font-size: .9375rem; font-weight: 600; letter-spacing: .01em;
  box-shadow: 0 14px 34px rgba(255,118,0,.38), 0 4px 12px rgba(0,0,0,.3);
  opacity: 0; transform: translateY(24px); pointer-events: none; transition: opacity .35s, transform .35s, background-color .2s, box-shadow .2s;
}
.fab.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.fab:hover { background: #e56a00; color: var(--text); transform: translateY(-3px); box-shadow: 0 18px 40px rgba(255,118,0,.5), 0 4px 12px rgba(0,0,0,.3); }
.fab:focus-visible { outline: 3px solid var(--highlight); outline-offset: 3px; }
.fab svg { flex: none; }
.fab.is-visible::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; border: 2px solid var(--cta); pointer-events: none; animation: fabPulse 2.4s ease-out infinite;
}
@keyframes fabPulse { 0% { opacity: .7; transform: scale(1); } 100% { opacity: 0; transform: scale(1.28, 1.6); } }
@media (prefers-reduced-motion: reduce) { .fab.is-visible::before { animation: none; display: none; } .fab { transition: none; } }

/* desktop: no floating button */
@media (min-width: 1024px) { .fab { display: none !important; } }

/* phones & tablets: always-visible bar across the bottom */
@media (max-width: 1023px) {
  body { padding-bottom: calc(56px + env(safe-area-inset-bottom, 0px)); }
  .fab {
    left: 0; right: 0; bottom: 0; gap: 12px; height: calc(56px + env(safe-area-inset-bottom, 0px)); padding: 0 16px env(safe-area-inset-bottom, 0px);
    border-radius: 0; font-size: 1.0625rem; box-shadow: 0 -6px 24px rgba(0,0,0,.3);
    opacity: 1; transform: none; pointer-events: auto;
  }
  .fab:hover { transform: none; box-shadow: 0 -6px 24px rgba(0,0,0,.3); }
  .fab::before, .fab.is-visible::before { display: none; }
}

/* hero video overlays: smaller on phones so they don't cover the picture */
@media (max-width: 639px) {
  .video { border-radius: 18px; }
  .video__btn > img.video__logo { top: 8px; right: 10px; width: 34px; }
  .video__time { left: 10px; bottom: 10px; gap: 5px; padding: 4px 10px 4px 7px; font-size: .6875rem; }
  .video__time svg { width: 13px; height: 13px; }
  .video__caption { right: 10px; bottom: 10px; gap: 0; padding: 5px 10px; border-radius: 9px; }
  .video__caption strong { font-size: .6875rem; line-height: 1.3; }
  .video__caption span { font-size: .625rem; line-height: 1.3; }
  .video__play { width: 48px; height: 48px; margin: -24px 0 0 -24px; }
  .video__play svg { width: 20px; height: 20px; }
}

/* narrow desktops (1024-1279px): keep all 7 links on one line */
@media (min-width: 1024px) and (max-width: 1279px) {
  .nav__logo img { width: 150px; }
  .nav__menu { gap: 18px; }
  .nav__links a { font-size: .9375rem; }
  .nav__cta { padding: 10px 18px; font-size: .8125rem; }
  .nav__inner { gap: 16px; padding-inline: 32px; }
}

/* ==========================================================================
   Enquiry form popup
   ========================================================================== */
.enq { width: min(94vw, 560px); max-height: 92vh; margin: auto; padding: 0; border: 0; border-radius: 24px; overflow: auto; background: #fff; color: #111; box-shadow: 0 30px 80px rgba(0,0,0,.5); }
.enq::backdrop { background: rgba(2, 20, 24, .78); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.enq[open] { animation: enqIn .3s ease; }
@keyframes enqIn { from { opacity: 0; transform: translateY(16px) scale(.98); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .enq[open] { animation: none; } }
.enq__head { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 20px 22px 8px; background: #fff; }
.enq h2 { margin: 0; font-family: var(--font-head); font-size: 1.375rem; font-weight: 400; line-height: 1.3; color: var(--primary); }
.enq h2 strong { font-weight: 700; }
.enq__close { flex: none; width: 38px; height: 38px; padding: 0; border: 0; border-radius: 50%; background: #eef3f4; color: #111; font-size: 1.5rem; line-height: 1; cursor: pointer; transition: background-color .2s, color .2s; }
.enq__close:hover { background: var(--cta); color: #fff; }
.enq__close:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.enq__sub { margin: 0; padding: 0 22px 8px; font-size: .875rem; color: #5b6770; }
.enq__body { min-height: 120px; padding: 6px 22px 22px; }
.enq__loading { margin: 18px 0; text-align: center; font-size: .875rem; color: #5b6770; }
.enq__body .npf_wgts { width: 100%; }
.enq__body .npf_wgts iframe { display: block; width: 100%; border: 0; }
html.enq-open { overflow: hidden; }
/* the form wraps into a longer layout on phones, give it more room so the submit button is reachable */
@media (max-width: 639px) { .enq__body .npf_wgts iframe { height: 1040px !important; } }


/* ==========================================================================
   PGDRM batch & placement demographics (native charts)
   ========================================================================== */
.demo { padding: 40px 0 56px; }
.demo__inner { max-width: 1400px; margin-inline: auto; padding-inline: var(--gutter); }
.demo h2 { font-size: 1.5rem; font-weight: 300; line-height: 1.35; text-align: center; }
.demo h2 strong { font-weight: 600; }
.demo__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; margin-top: 28px; }
.dc {
  display: flex; flex-direction: column; min-width: 0; padding: 20px 20px 22px; border: 1px solid rgba(255,255,255,.16); border-radius: 24px;
  background: linear-gradient(160deg, rgba(255,255,255,.09) 0%, rgba(0,0,0,.24) 100%); box-shadow: 0 18px 40px rgba(0,0,0,.2);
}
.dc h3 { font-family: var(--font-head); font-size: 1rem; font-weight: 600; line-height: 1.35; }
.dc__sub { margin: 4px 0 0; font-size: .8125rem; color: rgba(255,255,255,.7); }
.dc > :last-child { margin-top: 18px; }
.dc--tall > :last-child { flex: 1; }

.dn__wrap { position: relative; width: min(100%, 190px); aspect-ratio: 1; margin: 18px auto 0; }
.dn { display: block; width: 100%; height: 100%; transform: rotate(-90deg); }
.dn circle { fill: none; stroke-width: 13; }
.dn__track { stroke: rgba(255,255,255,.08); }
.dn__seg { transition: opacity .6s ease calc(var(--i) * .12s); }
.demo.anim:not(.is-in) .dn__seg { opacity: 0; }
.dn__c { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.dn__c strong { font-family: var(--font-head); font-size: 1.75rem; font-weight: 600; line-height: 1.1; }
.dn__c span { margin-top: 2px; max-width: 90px; font-size: .6875rem; line-height: 1.3; color: rgba(255,255,255,.75); }
.dn__wrap + .leg { margin-top: 20px; }
.leg { display: grid; gap: 9px; margin: 0; padding: 0; list-style: none; }
.leg li { display: flex; align-items: center; gap: 10px; font-size: .8125rem; line-height: 1.4; }
.leg i { flex: none; width: 10px; height: 10px; border-radius: 3px; }
.leg span { flex: 1; min-width: 0; color: rgba(255,255,255,.88); }
.leg b { flex: none; font-family: var(--font-head); font-weight: 600; }

.big { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.big strong { font-family: var(--font-head); font-size: 3rem; font-weight: 600; line-height: 1; color: var(--accent); }
.big span { font-size: .8125rem; color: rgba(255,255,255,.8); }
.kv { display: grid; margin: 14px 0 0; }
.kv > div { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-top: 1px solid rgba(255,255,255,.12); font-size: .875rem; }
.kv dt { color: rgba(255,255,255,.8); }
.kv dd { margin: 0; font-family: var(--font-head); font-weight: 600; }

.bars { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; align-content: space-between; }
.bars__t { display: flex; justify-content: space-between; gap: 12px; font-size: .8125rem; line-height: 1.35; }
.bars__t span { color: rgba(255,255,255,.88); }
.bars__t b { flex: none; font-family: var(--font-head); font-weight: 600; }
.bars__b { height: 8px; margin-top: 6px; border-radius: 999px; background: rgba(255,255,255,.1); overflow: hidden; }
.bars__b i { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--teal-2), var(--accent)); transform-origin: left; transform: scaleX(var(--p)); transition: transform .9s cubic-bezier(.2,.8,.2,1) calc(var(--i) * .07s); }
.demo.anim:not(.is-in) .bars__b i { transform: scaleX(0); }
.bars li:first-child .bars__b i { background: linear-gradient(90deg, var(--accent), var(--highlight)); }

.split__bar { display: flex; height: 16px; border-radius: 999px; overflow: hidden; background: var(--cta); }
.split__bar i { display: block; height: 100%; }
.split__bar i:first-child { width: calc(var(--m) * 1%); background: var(--accent); border-right: 3px solid #0e4650; transition: width .9s cubic-bezier(.2,.8,.2,1); }
.split__bar i:last-child { flex: 1; }
.demo.anim:not(.is-in) .split__bar i:first-child { width: 0; }
.waffle { display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); gap: 6px; }
.waffle i { aspect-ratio: 1; border-radius: 50%; background: var(--accent); }
.waffle i.f { background: var(--cta); }
.split__l { display: flex; justify-content: space-between; gap: 12px; margin-top: 16px; }
.split__l > div { display: flex; flex-direction: column; gap: 2px; }
.split__l > div:last-child { text-align: right; }
.split__l strong { font-family: var(--font-head); font-size: 1.75rem; font-weight: 600; line-height: 1.1; }
.split__l > div:first-child strong { color: var(--accent); }
.split__l > div:last-child strong { color: var(--cta); }
.split__l span { font-size: .8125rem; color: rgba(255,255,255,.8); }

@media (prefers-reduced-motion: reduce) { .dn__seg, .bars__b i, .split__bar i { transition: none; } }
@media (min-width: 640px) { .demo__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; } }
@media (min-width: 1024px) {
  .demo { padding: 56px 0 72px; }
  .demo__inner { padding-inline: 60px; }
  .demo h2 { font-size: 1.75rem; }
  .demo__grid { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 20px; margin-top: 36px; }
  .dc { grid-column: span 2; padding: 24px 24px 26px; }
  .dc--tall { grid-row: span 2; }
  .dc--wide { grid-column: span 3; }
}
