/* ==========================================================================
   Momentum Collective Academy
   Colours from official logo lockup
   Navy #102038 · Yellow #F8D000 · White · Black
   Type: Montserrat (geometric sans matching wordmark)
   ========================================================================== */

:root {
  --navy: #102038;
  --navy-2: #182848;
  --navy-soft: #3a4a63;
  --yellow: #f8d000;
  --yellow-deep: #e0b800;
  --yellow-pale: #fff6c2;
  --ink: #333333;
  --muted: #565555;
  --line: #e6e6e6;
  --error: #b3261e;
  --white: #ffffff;
  --off-white: #f7f7f7;
  --black: #000000;
  --container: 1200px;
  --header-h: 92px;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --shadow: 0 10px 30px rgba(16, 32, 56, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

body {
  margin: 0;
  font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  line-height: 1.7;
  font-size: 16px;
}

img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; cursor: pointer; }
p { margin: 0 0 1em; color: var(--muted); }

h1, h2, h3, h4 {
  font-family: 'Montserrat', sans-serif;
  color: var(--navy);
  line-height: 1.2;
  margin: 0 0 .5em;
  font-weight: 700;
}
h1 { font-size: clamp(2rem, 4.2vw, 3.1rem); }
h2 { font-size: clamp(1.55rem, 3vw, 2.25rem); }
h3 { font-size: 1.15rem; }
h4 { font-size: 1rem; }

.wrap {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 80px 0; }
.section-tight { padding: 56px 0; }
@media (max-width: 720px) {
  .section { padding: 56px 0; }
  .section-tight { padding: 40px 0; }
}

.skip-link {
  position: absolute; left: -999px; top: 0;
  background: var(--yellow); color: var(--navy);
  padding: 10px 16px; z-index: 999; font-weight: 600;
}
.skip-link:focus { left: 10px; top: 10px; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }

/* -------------------- Buttons -------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 4px;
  font-weight: 600;
  font-size: .92rem;
  border: 2px solid transparent;
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
  letter-spacing: .02em;
}
.btn-primary {
  background: var(--yellow);
  color: var(--navy);
}
.btn-primary:hover {
  background: var(--yellow-deep);
  transform: translateY(-1px);
}
.btn-outline {
  border-color: var(--navy);
  color: var(--navy);
  background: transparent;
}
.btn-outline:hover {
  background: var(--navy);
  color: var(--white);
}
.btn-ghost-light {
  border-color: rgba(255,255,255,.7);
  color: var(--white);
  background: transparent;
}
.btn-ghost-light:hover {
  background: var(--white);
  color: var(--navy);
  border-color: var(--white);
}
.btn-block { width: 100%; }
.btn-sm { padding: 10px 18px; font-size: .85rem; }

/* ==========================================================================
   Top bar (utility strip)
   ========================================================================== */
.top-bar {
  background: var(--navy);
  color: rgba(255,255,255,.9);
  font-size: .82rem;
}
.top-bar .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding-top: 10px;
  padding-bottom: 10px;
  flex-wrap: wrap;
}
.top-bar a { color: rgba(255,255,255,.92); }
.top-bar a:hover { color: var(--yellow); }
.top-bar-left,
.top-bar-right {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.top-bar .divider { opacity: .35; }
.top-bar-social {
  display: flex;
  gap: 10px;
  align-items: center;
}
.top-bar-social a {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.35);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: .72rem;
  font-weight: 700;
}
.top-bar-social a:hover {
  background: var(--yellow);
  border-color: var(--yellow);
  color: var(--navy);
}
.portal-links {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.portal-links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.18);
  padding: 7px 14px;
  border-radius: 4px;
  font-weight: 600;
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.portal-links a:hover {
  background: var(--yellow);
  color: var(--navy);
  border-color: var(--yellow);
}
/* Primary action in the top bar: enrolment form */
.portal-links a.enrol-link {
  background: var(--yellow);
  border-color: var(--yellow);
  color: var(--navy);
  font-weight: 700;
}
.portal-links a.enrol-link:hover {
  background: var(--yellow-deep);
  border-color: var(--yellow-deep);
  color: var(--navy);
}

/* ==========================================================================
   Site header / nav
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 1px 0 rgba(16,32,56,.04);
}
.site-header.is-scrolled {
  box-shadow: var(--shadow);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: var(--header-h);
  padding-top: 8px;
  padding-bottom: 8px;
}
.logo-link {
  display: block;
  width: 220px;
  flex-shrink: 0;
}
.logo-link img {
  width: 100%;
  height: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  margin-left: auto;
}
.main-nav > ul {
  display: flex;
  align-items: center;
  gap: 2px;
}
.main-nav > ul > li { position: relative; }
.main-nav > ul > li > a,
.main-nav > ul > li > button.nav-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 14px;
  font-weight: 600;
  font-size: .9rem;
  color: var(--navy);
  background: none;
  border: none;
  border-radius: 4px;
  white-space: nowrap;
}
.main-nav > ul > li > a:hover,
.main-nav > ul > li:hover > button.nav-toggle,
.main-nav > ul > li.active > a {
  color: var(--yellow-deep);
}
.main-nav .caret {
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  margin-top: -3px;
  transition: transform .2s;
}
.main-nav li.open .caret {
  transform: rotate(225deg);
  margin-top: 3px;
}
@media (min-width: 981px) {
  .main-nav li:hover .caret {
    transform: rotate(225deg);
    margin-top: 3px;
  }
}

.mega {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--white);
  border-radius: 6px;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  padding: 24px;
  display: none;
  min-width: 640px;
  z-index: 50;
}
/* Extend the hit area below the Courses item so the menu stays open while moving to click */
.main-nav > ul > li.has-mega {
  padding-bottom: 16px;
  margin-bottom: -16px;
}
.main-nav li.open > .mega { display: grid; }
@media (min-width: 981px) {
  .main-nav li:hover > .mega { display: grid; }
}
.mega h4 {
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--yellow-deep);
  margin: 0 0 10px;
}
.mega h4 + ul + h4 { margin-top: 18px; }
.mega ul li a {
  display: block;
  padding: 7px 0;
  color: var(--navy-soft);
  font-size: .88rem;
  font-weight: 500;
}
.mega ul li a:hover { color: var(--yellow-deep); }
.mega-all {
  grid-column: 1 / -1;
  margin-top: 8px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-weight: 700;
  color: var(--navy);
  font-size: .9rem;
}
.mega-all:hover { color: var(--yellow-deep); }

.header-cta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 8px;
}
.hamburger span {
  width: 24px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
}
.nav-close { display: none; }

@media (max-width: 1100px) {
  .logo-link { width: 180px; }
  .main-nav > ul > li > a,
  .main-nav > ul > li > button.nav-toggle {
    padding: 10px 10px;
    font-size: .84rem;
  }
  .header-cta .btn { display: none; }
}

@media (max-width: 980px) {
  .main-nav {
    position: fixed;
    inset: 0;
    background: var(--navy);
    transform: translateX(100%);
    transition: transform .35s var(--ease);
    overflow-y: auto;
    padding: 88px 24px 40px;
    margin: 0;
    align-items: stretch;
    z-index: 120;
  }
  .main-nav.open { transform: translateX(0); }
  .main-nav > ul {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 0;
  }
  .main-nav > ul > li {
    border-bottom: 1px solid rgba(255,255,255,.12);
  }
  .main-nav > ul > li.has-mega {
    padding-bottom: 0;
    margin-bottom: 0;
  }
  .main-nav > ul > li > a,
  .main-nav > ul > li > button.nav-toggle {
    color: var(--white);
    width: 100%;
    justify-content: space-between;
    padding: 16px 4px;
    border-radius: 0;
    font-size: 1.02rem;
  }
  .main-nav > ul > li > a:hover,
  .main-nav > ul > li:hover > button.nav-toggle,
  .main-nav > ul > li.active > a {
    color: var(--yellow);
  }
  .mega {
    display: none;
    position: static;
    transform: none;
    box-shadow: none;
    border: none;
    background: rgba(255,255,255,.05);
    min-width: 0;
    width: 100%;
    padding: 12px 16px;
    border-radius: 4px;
    margin-bottom: 12px;
  }
  .main-nav li.open > .mega { display: grid; }
  .mega h4 { color: var(--yellow); }
  .mega ul li a { color: rgba(255,255,255,.82); }
  .mega-all {
    color: var(--yellow);
    border-color: rgba(255,255,255,.12);
  }
  .hamburger { display: flex; }
  .nav-close {
    display: block;
    position: absolute;
    top: 22px;
    right: 22px;
    background: none;
    border: none;
    color: var(--white);
    font-size: 2rem;
    line-height: 1;
  }
}

/* ==========================================================================
   Hero slider (full-bleed)
   ========================================================================== */
.hero-slider {
  position: relative;
  overflow: hidden;
  background: var(--navy);
  color: var(--white);
  min-height: min(72vh, 620px);
}
.hero-slides { position: relative; min-height: inherit; }
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity .7s ease, visibility .7s;
  display: grid;
  align-items: center;
}
.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  position: relative;
}
.hero-slide-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.04);
  transition: transform 7s ease;
}
.hero-slide.is-active .hero-slide-bg { transform: scale(1); }
.hero-slide-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(16,32,56,.82) 0%, rgba(16,32,56,.55) 48%, rgba(16,32,56,.28) 100%);
}
.hero-slide .wrap {
  position: relative;
  z-index: 2;
  padding-top: 88px;
  padding-bottom: 100px;
  max-width: 760px;
  margin-left: max(24px, calc((100% - var(--container)) / 2 + 24px));
  margin-right: auto;
}
.hero-kicker {
  display: inline-block;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 14px;
}
.hero-slide h1,
.hero-slide .hero-title {
  color: var(--white);
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  margin-bottom: 14px;
  text-shadow: 0 2px 18px rgba(0,0,0,.25);
}
.hero-slide p {
  color: rgba(255,255,255,.9);
  font-size: 1.08rem;
  max-width: 42ch;
  margin-bottom: 28px;
}
.hero-nav {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 3;
}
.hero-nav button {
  pointer-events: auto;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.45);
  background: rgba(16,32,56,.35);
  color: var(--white);
  font-size: 1.2rem;
  backdrop-filter: blur(4px);
}
.hero-nav button:hover {
  background: var(--yellow);
  color: var(--navy);
  border-color: var(--yellow);
}
.hero-prev { left: 18px; }
.hero-next { right: 18px; }
.hero-dots {
  position: absolute;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 3;
}
.hero-dots button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 0;
  background: rgba(255,255,255,.45);
  padding: 0;
}
.hero-dots button.is-active,
.hero-dots button:hover { background: var(--yellow); }

@media (max-width: 720px) {
  .hero-slider { min-height: 520px; }
  .hero-slide .wrap {
    margin-left: 24px;
    padding-top: 64px;
    padding-bottom: 80px;
  }
  .hero-nav button { display: none; }
}

/* ==========================================================================
   Page hero (inner pages)
   ========================================================================== */
.page-hero {
  background: var(--navy);
  color: var(--white);
  padding: 64px 0 72px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 85% 20%, rgba(248,208,0,.18), transparent 40%),
    linear-gradient(135deg, rgba(255,255,255,.04), transparent 50%);
  pointer-events: none;
}
.page-hero .wrap { position: relative; z-index: 2; }
.breadcrumb {
  font-size: .82rem;
  color: rgba(255,255,255,.6);
  margin-bottom: 14px;
}
.breadcrumb a { color: rgba(255,255,255,.85); }
.breadcrumb a:hover { color: var(--yellow); }
.page-hero h1 { color: var(--white); margin-bottom: 10px; }
.page-hero p { color: rgba(255,255,255,.75); max-width: 60ch; margin: 0; }

/* ==========================================================================
   Intro / content bands
   ========================================================================== */
.intro-band {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 48px;
  align-items: start;
}
.intro-band .eyebrow {
  color: var(--yellow-deep);
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
@media (max-width: 860px) {
  .intro-band { grid-template-columns: 1fr; gap: 24px; }
}

.why-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 48px;
  align-items: center;
}
@media (max-width: 900px) {
  .why-grid { grid-template-columns: 1fr; }
}

.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.feature-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 28px 24px;
  box-shadow: 0 8px 20px rgba(16,32,56,.05);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.feature-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}
.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--yellow-pale);
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  margin-bottom: 14px;
  font-size: .95rem;
}
.feature-card h3 { margin-bottom: 8px; }
.feature-card p { margin: 0; font-size: .94rem; }

/* Home "Why train with MCA" tiles — numbered, rule-topped, icon inline */
.why-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
}
.why-card {
  position: relative;
  background: var(--white);
  padding: 30px 26px 28px;
  transition: background .25s var(--ease);
}
.why-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 0;
  height: 3px;
  background: var(--yellow);
  transition: width .35s var(--ease);
}
.why-card:hover::before { width: 100%; }
.why-card:hover { background: var(--off-white); }
.why-num {
  position: absolute;
  top: 18px;
  right: 20px;
  font-size: 1.9rem;
  font-weight: 800;
  line-height: 1;
  color: var(--navy);
  opacity: .09;
  letter-spacing: -.02em;
}
.why-card h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.02rem;
  margin-bottom: 10px;
  padding-right: 34px;
}
/* beats the global `h3 > i.fa-solid` rule further down the sheet */
.why-cards .why-card h3 > i {
  color: var(--yellow-deep);
  font-size: 1rem;
  margin-right: 0;
  flex: none;
}
.why-card p { margin: 0; font-size: .93rem; }
@media (max-width: 560px) {
  .why-cards { grid-template-columns: 1fr; }
}

.success-band {
  background: var(--off-white);
  text-align: center;
}
.success-band .brand-mark {
  width: 72px;
  height: 72px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 12px;
}
.success-band .brand-mark img {
  width: 100%;
  height: auto;
  filter: brightness(0) invert(1);
}
.success-band .lead-wrap {
  max-width: 720px;
  margin: 0 auto;
}
.success-band .lead-wrap p {
  font-size: 1.02rem;
  line-height: 1.75;
}

.success-gallery {
  margin: 44px auto 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  max-width: 1100px;
}
.success-gallery figure {
  margin: 0;
  border-radius: 8px;
  overflow: hidden;
  background: var(--navy);
  box-shadow: 0 12px 28px rgba(16, 32, 56, .12);
}
.success-gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  transition: transform .45s var(--ease);
}
.success-gallery figure:hover img {
  transform: scale(1.04);
}
@media (max-width: 800px) {
  .success-gallery {
    grid-template-columns: 1fr;
    max-width: 420px;
  }
}

/* ==========================================================================
   Cards / grids / courses
   ========================================================================== */
.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 900px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .grid-3, .grid-4, .grid-2 { grid-template-columns: 1fr; }
}

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 28px 24px;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.course-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.course-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}
.course-card .band {
  height: 6px;
  background: linear-gradient(90deg, var(--yellow), var(--yellow-deep));
}
.course-card .body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.course-code {
  font-size: .72rem;
  letter-spacing: .1em;
  color: var(--yellow-deep);
  font-weight: 700;
  text-transform: uppercase;
}
.course-card h3 { margin: 8px 0 10px; font-size: 1.08rem; }
.course-meta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  font-size: .8rem;
  color: var(--muted);
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.course-card .card-cta {
  margin-top: 14px;
  font-weight: 700;
  color: var(--navy);
  font-size: .88rem;
  display: flex;
  align-items: center;
  gap: 6px;
}
.course-card .card-cta::after {
  content: '\f178';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  font-size: .8rem;
  transition: transform .2s;
}
.course-card:hover .card-cta::after { transform: translateX(4px); }

.filter-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}
.filter-pill {
  padding: 10px 18px;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  background: var(--white);
  font-size: .86rem;
  font-weight: 600;
  color: var(--navy-soft);
}
.filter-pill.is-active,
.filter-pill:hover {
  border-color: var(--yellow);
  background: var(--yellow-pale);
  color: var(--navy);
}

.stat-strip {
  background: var(--off-white);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.stat-strip .grid { padding: 40px 0; }
.stat { text-align: center; }
.stat b {
  display: block;
  font-size: 2.1rem;
  color: var(--navy);
}
.stat span {
  font-size: .8rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .06em;
  font-weight: 600;
}
.stat b .accent { color: var(--yellow-deep); }

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 52px;
  align-items: center;
}
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; gap: 28px; }
}
.split .media-frame {
  border-radius: 6px;
  overflow: hidden;
}
.split .media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 320px;
}
.split-reverse .art { order: 2; }
@media (max-width: 860px) {
  .split-reverse .art { order: -1; }
}

.check-list li {
  display: flex;
  gap: 12px;
  margin-bottom: 12px;
  align-items: flex-start;
}
.check-list li::before {
  content: '\f058';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  font-size: 1rem;
  line-height: 1.55;
  flex-shrink: 0;
  color: var(--yellow-deep);
}
.check-list li span { color: var(--ink); }

/* ==========================================================================
   Testimonials
   ========================================================================== */
.testimonials {
  background: var(--white);
  text-align: center;
}
.testi-track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding: 8px 4px 18px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}
.testi-track::-webkit-scrollbar { height: 6px; }
.testi-track::-webkit-scrollbar-thumb {
  background: var(--line);
  border-radius: 4px;
}
.testi-card {
  scroll-snap-align: start;
  flex: 0 0 min(380px, 85vw);
  background: var(--off-white);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 28px 24px;
  text-align: left;
}
.testi-card p {
  color: var(--ink);
  font-size: .95rem;
  font-style: italic;
}
.testi-name {
  display: block;
  margin-top: 16px;
  font-weight: 700;
  color: var(--navy);
}
.testi-name small {
  display: block;
  font-weight: 500;
  color: var(--muted);
  margin-top: 2px;
}

/* ==========================================================================
   CTA / forms
   ========================================================================== */
.cta-band {
  background: var(--navy);
  color: var(--white);
  border-radius: 6px;
  padding: 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}
.cta-band h2 { color: var(--white); margin-bottom: 8px; }
.cta-band p { color: rgba(255,255,255,.75); margin: 0; }
@media (max-width: 700px) {
  .cta-band {
    padding: 32px 22px;
    text-align: center;
    justify-content: center;
  }
}

.form-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 32px;
  box-shadow: 0 8px 24px rgba(16,32,56,.06);
}
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
@media (max-width: 620px) {
  .field-row { grid-template-columns: 1fr; }
}
.field { margin-bottom: 16px; }
.field label {
  display: block;
  font-size: .84rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 6px;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--line);
  border-radius: 4px;
  font-family: inherit;
  font-size: .95rem;
  background: var(--white);
  color: var(--ink);
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--yellow);
}
.field textarea { resize: vertical; min-height: 120px; }

/* Validation state. The error text is what carries the meaning; the red border
   only reinforces it, so the field is not identified by colour alone. */
.field-error {
  margin: 6px 0 0;
  font-size: .82rem;
  font-weight: 600;
  color: var(--error);
}
.field-error:empty { display: none; }
.field input[aria-invalid="true"],
.field select[aria-invalid="true"],
.field textarea[aria-invalid="true"] {
  border-color: var(--error);
}
.field input[aria-invalid="true"]:focus,
.field select[aria-invalid="true"]:focus,
.field textarea[aria-invalid="true"]:focus {
  border-color: var(--error);
  box-shadow: 0 0 0 3px rgba(179, 38, 30, .18);
}
.declaration .field-error { margin-top: 8px; }

/* Honeypot: reachable by a bot filling every field, never shown to a person.
   Not display:none, which some bots skip. */
.hp-field {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.form-note { font-size: .8rem; color: var(--muted); margin-top: 10px; }
.form-success {
  display: none;
  background: var(--yellow-pale);
  border: 1px solid var(--yellow);
  border-radius: 4px;
  padding: 14px 16px;
  color: var(--navy);
  font-weight: 600;
  margin-bottom: 16px;
}
.form-success.show { display: block; }

/* ==========================================================================
   Accordion
   ========================================================================== */
.accordion-item { border-bottom: 1px solid var(--line); }
.accordion-trigger {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 18px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 700;
  font-size: 1rem;
  color: var(--navy);
  gap: 20px;
}
.accordion-trigger .plus {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1.5px solid var(--yellow-deep);
  position: relative;
  flex-shrink: 0;
}
.accordion-trigger .plus::before,
.accordion-trigger .plus::after {
  content: '';
  position: absolute;
  background: var(--yellow-deep);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.accordion-trigger .plus::before { width: 10px; height: 2px; }
.accordion-trigger .plus::after { width: 2px; height: 10px; transition: transform .2s; }
.accordion-item.open .plus::after {
  transform: translate(-50%, -50%) rotate(90deg) scale(0);
}
.accordion-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s var(--ease);
}
.accordion-panel-inner {
  padding-bottom: 18px;
  color: var(--muted);
}
.accordion-item.open .accordion-panel { max-height: 480px; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,.78);
  padding-top: 64px;
}
.footer-main {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,.12);
  align-items: start;
}
@media (max-width: 800px) {
  .footer-main { grid-template-columns: 1fr; gap: 32px; }
}
.footer-logo {
  width: 220px;
  margin-bottom: 18px;
}
.site-footer p { color: rgba(255,255,255,.72); }
.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}
.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.28);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: .85rem;
}
.footer-social a:hover {
  background: var(--yellow);
  border-color: var(--yellow);
  color: var(--navy);
}
.footer-contact h3 {
  color: var(--white);
  margin-bottom: 14px;
}
.footer-contact address {
  font-style: normal;
}
.footer-contact-line {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
  line-height: 1.55;
}
.footer-contact-line:last-child { margin-bottom: 0; }
.footer-contact-line i {
  color: var(--yellow);
  width: 16px;
  flex: none;
  margin-top: .28em;
  text-align: center;
}
.footer-contact-line a {
  color: rgba(255,255,255,.86);
  text-decoration: none;
}
.footer-contact-line a:hover,
.footer-contact-line a:focus-visible {
  color: var(--yellow);
  text-decoration: underline;
}
.acknowledgement {
  font-size: .82rem;
  color: rgba(255,255,255,.58);
  max-width: 78ch;
  padding: 24px 0 14px;
}
/* Aboriginal and Torres Strait Islander flags, under the acknowledgement */
.footer-flags {
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.footer-flags img {
  height: 40px;
  width: auto;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 0 28px;
  font-size: .8rem;
  color: rgba(255,255,255,.55);
  flex-wrap: wrap;
  gap: 10px;
}
.footer-bottom a:hover { color: var(--yellow); }
.site-footer a:hover { color: var(--yellow); }

/* About page extras */
.ceo-quote {
  background: var(--off-white);
  border-left: 4px solid var(--yellow);
  padding: 28px 28px 24px;
  border-radius: 0 8px 8px 0;
  margin: 28px 0 0;
}
.ceo-quote p {
  color: var(--ink);
  font-style: italic;
  margin-bottom: 1em;
}
.ceo-quote cite {
  display: block;
  font-style: normal;
  font-weight: 700;
  color: var(--navy);
  margin-top: 8px;
}
.ceo-quote cite small {
  display: block;
  font-weight: 500;
  color: var(--muted);
  margin-top: 4px;
}
.mission-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-top: 28px;
}
@media (max-width: 720px) {
  .mission-grid { grid-template-columns: 1fr; }
}
.mission-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 26px 24px;
}
.mission-card h3 {
  margin-bottom: 12px;
}

.to-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--navy);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 700;
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s;
  z-index: 60;
}
.to-top.show { opacity: 1; pointer-events: auto; }

/* ==========================================================================
   Utility
   ========================================================================== */
.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }
.max-60 { max-width: 60ch; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-40 { margin-top: 40px; }
.mb-0 { margin-bottom: 0; }
.badge-row { display: flex; gap: 10px; flex-wrap: wrap; }
.badge {
  font-size: .74rem;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--yellow-pale);
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: .04em;
}
.badge-outline {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--muted);
}
/* Course-detail badges sit on the navy page hero, where the light-background
   outline treatment (grey text, grey border) is unreadable. */
.page-hero .badge {
  font-size: .78rem;
  padding: 7px 14px;
  letter-spacing: .05em;
}
.page-hero .badge-outline {
  background: rgba(255, 255, 255, .12);
  border-color: rgba(255, 255, 255, .5);
  color: var(--white);
}
table.detail-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
}
table.detail-table th,
table.detail-table td {
  text-align: left;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  font-size: .92rem;
}
table.detail-table th {
  color: var(--navy);
  width: 220px;
  font-weight: 700;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--yellow-deep);
  margin-bottom: 12px;
}


/* ==========================================================================
   Icons (Font Awesome 6 Free)
   ========================================================================== */
/* Direct children only — .top-bar-social is nested inside .top-bar-left,
   and a descendant selector here knocks the brand glyphs off-centre. */
.top-bar-left > a i,
.top-bar-left > span i {
  margin-right: 7px;
  color: var(--yellow);
  font-size: .8em;
}
.portal-links a i { font-size: .85em; }
.top-bar-social a {
  flex-shrink: 0;
  line-height: 1;
}
.top-bar-social a i {
  font-size: .72rem;
  margin: 0;
  color: inherit;
}
.footer-social a i { font-size: .95rem; }
.mega-all i {
  margin-left: 6px;
  font-size: .85em;
  transition: transform .2s;
}
.mega-all:hover i { transform: translateX(3px); }
.to-top i { font-size: 1rem; }

.feature-icon i { font-size: 1.15rem; }

h2 > i.fa-solid,
h2 > i.fa-regular,
h2 > i.fa-brands,
h3 > i.fa-solid,
h3 > i.fa-regular,
h3 > i.fa-brands {
  margin-right: 10px;
  color: var(--yellow-deep);
  font-size: .9em;
}
/* On the navy CTA band the deep yellow is too dark to read as an accent. */
.cta-band h2 > i { color: var(--yellow); }

.btn-portal i { margin-left: 10px; font-size: .82em; }

/* Visually hidden but available to screen readers (new-tab warnings etc.) */
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.contact-line {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.contact-line > i {
  color: var(--yellow-deep);
  margin-top: 4px;
  width: 16px;
  text-align: center;
  flex-shrink: 0;
}

/* ==========================================================================
   Blog article
   ========================================================================== */
.article-hero-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  font-size: .85rem;
  color: rgba(255, 255, 255, .72);
  margin-top: 16px;
}
.article-hero-meta i { color: var(--yellow); margin-right: 6px; }

.article-figure {
  max-width: 900px;
  margin: -48px auto 0;
  position: relative;
  z-index: 3;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
  line-height: 0;
}
.article-figure img { width: 100%; height: auto; display: block; }
.article-figure figcaption {
  background: var(--white);
  color: var(--muted);
  font-size: .78rem;
  line-height: 1.5;
  padding: 10px 16px;
  border-top: 1px solid var(--line);
}

.article {
  max-width: 720px;
  margin: 0 auto;
}
.article > p {
  font-size: 1.02rem;
  line-height: 1.8;
  margin: 0 0 20px;
}
.article > p.lead {
  font-size: 1.14rem;
  line-height: 1.7;
  color: var(--ink);
  font-weight: 500;
}
.article h2 {
  font-size: 1.42rem;
  margin: 40px 0 14px;
  scroll-margin-top: calc(var(--header-h) + 20px);
}
.article h3 {
  font-size: 1.08rem;
  margin: 28px 0 10px;
}
.article ul,
.article ol { padding-left: 22px; margin: 0 0 20px; }
.article li { margin-bottom: 10px; line-height: 1.75; }
.article strong { color: var(--navy); }
.article a { color: var(--navy); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.article a:hover { color: var(--yellow-deep); }

.pull-quote {
  margin: 32px 0;
  padding: 4px 0 4px 24px;
  border-left: 4px solid var(--yellow);
  font-size: 1.12rem;
  line-height: 1.65;
  font-weight: 600;
  color: var(--navy);
}

.takeaways {
  background: var(--off-white);
  border: 1px solid var(--line);
  border-left: 4px solid var(--yellow);
  border-radius: 6px;
  padding: 24px 26px;
  margin: 36px 0;
}
.takeaways h2 {
  margin: 0 0 14px;
  font-size: 1.08rem;
  display: flex;
  align-items: center;
}
.takeaways ul { list-style: none; padding: 0; margin: 0; }
.takeaways li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 10px;
  font-size: .95rem;
  line-height: 1.65;
}
.takeaways li:last-child { margin-bottom: 0; }
.takeaways li::before {
  content: '\f058';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  color: var(--yellow-deep);
  flex-shrink: 0;
  line-height: 1.65;
}

.article-cta {
  background: var(--navy);
  color: rgba(255, 255, 255, .82);
  border-radius: 8px;
  padding: 32px;
  margin: 40px 0 0;
  text-align: center;
}
.article-cta h2 { color: var(--white); margin: 0 0 10px; font-size: 1.24rem; }
.article-cta p { margin: 0 0 20px; font-size: .96rem; }

.article-footer-nav {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: .9rem;
  font-weight: 600;
}
.article-footer-nav i { margin: 0 6px; }

.course-meta i { margin-right: 6px; color: var(--yellow-deep); }

.blog-card-img {
  aspect-ratio: 7 / 4;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--off-white);
}
.blog-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .4s var(--ease);
}
.course-card:hover .blog-card-img img { transform: scale(1.04); }

@media (max-width: 700px) {
  .article-figure { margin-top: -24px; border-radius: 6px; }
  .article-cta { padding: 24px 20px; }
}

/* ==========================================================================
   Referral partner application (agents.html)
   ========================================================================== */
.form-card h3 {
  font-size: 1rem;
  color: var(--navy);
  padding-bottom: 10px;
  margin-bottom: 18px;
  border-bottom: 2px solid var(--yellow);
}
.declaration {
  background: var(--off-white);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 16px 18px;
}
.declaration-check {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: .88rem;
  line-height: 1.55;
  color: var(--ink);
  cursor: pointer;
}
.declaration-check input {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--navy);
}
.alt-submit {
  border: 1px dashed var(--navy-soft);
  border-radius: 6px;
  padding: 28px 30px;
  background: var(--white);
}
.alt-submit h3 { margin-bottom: 10px; }
.alt-submit .btn i { margin-right: 8px; }

/* Print-only elements: hidden on screen, revealed when printing */
.print-doc-head,
.print-signature { display: none; }

/* ==========================================================================
   Print stylesheet — the application page doubles as a printable PDF form
   ========================================================================== */
@media print {
  @page { size: A4; margin: 14mm; }

  html, body {
    background: #fff !important;
    color: #000;
    font-size: 10.5pt;
  }

  /* Chrome: keep the everything-else off the page */
  .top-bar,
  .site-header,
  .page-hero,
  .site-footer,
  .to-top,
  .cta-band,
  .accordion,
  .skip-link,
  .art,
  .feature-grid,
  .why-cards,
  .mission-grid,
  .alt-submit,
  .form-success,
  .form-note,
  .turnstile-field,
  .form-card button[type="submit"] { display: none !important; }

  /* Only the application section prints */
  main > section { display: none !important; }
  main > section#apply { display: block !important; }

  .section, .section-tight { padding: 0 !important; }
  .wrap { max-width: none !important; padding: 0 !important; }

  .print-doc-head {
    display: block;
    border-bottom: 2px solid #000;
    padding-bottom: 8px;
    margin-bottom: 16px;
  }
  .print-doc-head p { margin: 0; font-size: 9.5pt; line-height: 1.5; }

  #apply .eyebrow { display: none; }
  #apply > .wrap > h2 {
    font-size: 15pt;
    margin: 0 0 4px;
    page-break-after: avoid;
  }

  .form-card {
    border: 0 !important;
    box-shadow: none !important;
    padding: 0 !important;
    background: #fff !important;
  }
  .form-card h3 {
    font-size: 11pt;
    border-bottom: 1px solid #000;
    margin: 14px 0 10px;
    padding-bottom: 4px;
    page-break-after: avoid;
  }

  .field { margin-bottom: 10px; page-break-inside: avoid; }
  .field label { font-size: 9pt; margin-bottom: 3px; }
  .field input,
  .field select,
  .field textarea {
    border: 0 !important;
    border-bottom: 1px solid #666 !important;
    border-radius: 0 !important;
    padding: 2px 0 !important;
    font-size: 10pt;
    background: transparent !important;
    /* give empty fields room to be written in by hand */
    min-height: 20px;
  }
  .field textarea { min-height: 70px; border: 1px solid #666 !important; padding: 6px !important; }
  .field-row { gap: 24px; }

  /* Native select arrows print badly; show the chosen value as plain text */
  .field select { appearance: none; -webkit-appearance: none; }

  .declaration {
    border: 1px solid #000;
    background: transparent;
    padding: 10px 12px;
    margin-top: 14px;
    page-break-inside: avoid;
  }
  .declaration-check { font-size: 9pt; }
  .declaration-check a { text-decoration: underline; color: #000; }

  .print-signature {
    display: grid;
    grid-template-columns: 2fr 2fr 1fr;
    gap: 24px;
    margin-top: 28px;
    page-break-inside: avoid;
  }
  .print-signature .sig-line {
    display: block;
    border-bottom: 1px solid #000;
    height: 30px;
  }
  .print-signature small {
    display: block;
    margin-top: 4px;
    font-size: 8.5pt;
    color: #000;
  }

  a { color: #000; text-decoration: none; }
}

/* ==========================================================================
   Course eligibility badges + secondary filter row
   ========================================================================== */
.filter-row-sub {
  margin-top: -8px;
  margin-bottom: 28px;
  align-items: center;
}
.filter-label {
  font-size: .82rem;
  font-weight: 600;
  color: var(--muted);
  margin-right: 4px;
}
.elig {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 3px;
  white-space: nowrap;
}
.elig-dom {
  background: var(--off-white);
  color: var(--navy-soft);
  border: 1px solid var(--line);
}
.elig-both {
  background: var(--yellow-pale);
  color: var(--navy);
  border: 1px solid var(--yellow);
}
.filter-empty {
  background: var(--off-white);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 28px 30px;
  text-align: center;
  color: var(--muted);
  font-size: .95rem;
}
.badge-row .badge i { margin-right: 6px; }

/* ==========================================================================
   Notice panel (international eligibility, compliance callouts)
   ========================================================================== */
.notice {
  border: 1px solid var(--line);
  border-left: 5px solid var(--navy);
  border-radius: 6px;
  padding: 30px 32px;
  background: var(--white);
}
.notice h2 { font-size: 1.3rem; margin-bottom: 14px; }
.notice-warn { border-left-color: var(--yellow-deep); background: var(--yellow-pale); }
.notice-warn .check-list li span { color: var(--ink); }
@media (max-width: 620px) {
  .notice { padding: 22px 20px; }
}

/* ==========================================================================
   Mega menu — domestic / international split
   ========================================================================== */
.mega-split {
  display: none;
  grid-template-columns: 3fr 1.15fr;
  gap: 0;
  min-width: 1020px;
  max-width: min(96vw, 1180px);
}
.main-nav li.open > .mega-split { display: grid; }
@media (min-width: 981px) {
  .main-nav li:hover > .mega-split { display: grid; }
}
.mega-audience { padding: 4px 28px 4px 4px; }
.mega-audience-intl {
  padding: 4px 4px 4px 28px;
  border-left: 1px solid var(--line);
  background: var(--off-white);
  border-radius: 0 4px 4px 0;
  margin: -24px -24px -24px 0;
  padding: 24px 24px 24px 26px;
}
.mega-audience-head {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  padding-bottom: 10px;
  margin-bottom: 16px;
  border-bottom: 2px solid var(--yellow);
}
.mega-audience-title {
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--navy);
}
.mega-audience-note {
  font-size: .78rem;
  line-height: 1.5;
  color: var(--muted);
  margin: -8px 0 14px;
}
.mega-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px 28px;
}
.mega-split .mega-all { margin-top: 18px; }

/* Tablet / narrow desktop: stack the two audiences */
@media (max-width: 1180px) and (min-width: 981px) {
  .mega-split { min-width: 0; width: 92vw; grid-template-columns: 1fr; }
  .mega-audience-intl {
    border-left: 0;
    border-top: 1px solid var(--line);
    margin: 16px -24px -24px;
    padding: 20px 24px 24px;
    border-radius: 0 0 4px 4px;
  }
  .mega-cols { grid-template-columns: repeat(2, 1fr); }
}

/* Mobile: full stack inside the slide-in nav */
@media (max-width: 980px) {
  .mega-split {
    min-width: 0;
    max-width: none;
    width: auto;
    grid-template-columns: 1fr;
    gap: 4px;
  }
  .mega-cols { grid-template-columns: 1fr; gap: 4px; }
  .mega-audience { padding: 0; }
  .mega-audience-intl {
    margin: 12px 0 0;
    padding: 16px 0 0;
    border-left: 0;
    border-top: 1px solid rgba(255,255,255,.14);
    background: transparent;
    border-radius: 0;
  }
  .mega-audience-head { border-bottom-color: rgba(255,255,255,.2); }
  .mega-audience-title { color: var(--white); }
  .mega-audience-note { color: rgba(255,255,255,.6); }
  .mega-audience .elig { font-size: .62rem; }
}

/* Eligibility badges in course-page hero badge rows */
.badge-dom {
  background: var(--white);
  color: var(--navy);
  border: 1.5px solid var(--navy);
}
.badge-intl {
  background: var(--yellow-pale);
  color: var(--navy);
  border: 1.5px solid var(--yellow-deep);
}
.badge-dom i,
.badge-intl i { margin-right: 6px; }

/* ==========================================================================
   Nationally Recognised Training / AQF credential logos
   ========================================================================== */
.cred-heading {
  margin: 20px 0 0;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--navy);
}
.cred-logos {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 14px;
}
.cred-logos img {
  height: 78px;
  width: auto;
  max-width: 100%;
}
.cred-note {
  font-size: .74rem;
  line-height: 1.5;
  color: var(--muted);
  margin-top: 12px;
}
@media (max-width: 620px) {
  .cred-heading { text-align: center; }
  .cred-logos { gap: 16px; justify-content: center; }
  .cred-logos img { height: 66px; }
}

/* ==========================================================================
   Student information — jump nav and data tables
   ========================================================================== */

/* The six cards on this page were teasers for content that did not exist.
   They are now anchors into the sections themselves. */
a.card { display: block; color: inherit; }
a.card .card-cta {
  display: inline-block;
  margin-top: 10px;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--navy);
}
a.card:hover .card-cta { color: var(--yellow-deep); }

/* An anchored section must not land under the fixed header. */
.anchor-offset { scroll-margin-top: calc(var(--header-h) + 24px); }

/* detail-table is a two-column key/value panel. Fees and placement hours are
   wider than that, so they get a plain multi-column table instead. */
table.data-table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: .92rem;
}
table.data-table caption {
  caption-side: top;
  text-align: left;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  padding-bottom: 10px;
}
table.data-table th,
table.data-table td {
  text-align: left;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
table.data-table thead th {
  color: var(--navy);
  font-weight: 700;
  border-bottom: 2px solid var(--navy);
  white-space: nowrap;
}
table.data-table tbody th { color: var(--navy); font-weight: 600; }
table.data-table td { color: var(--muted); }
/* A table is the one thing allowed to be wider than the page. */
.table-scroll { overflow-x: auto; }

/* ul is reset to no bullets globally; an ol is not, so a numbered list needs
   its own rule rather than borrowing check-list and getting both. */
ol.step-list { margin: 0 0 1em; padding-left: 1.3em; list-style: decimal; }
ol.step-list li { margin-bottom: 10px; color: var(--muted); }
ol.step-list li::marker { color: var(--yellow-deep); font-weight: 700; }

/* ==========================================================================
   Compliance register v1.1 — identification, disclosures, labelling
   ========================================================================== */

/* C1/C4. Legal name, trading name, ABN and RTO code have to read as one
   statement, not as separate footer lines a reader has to assemble. */
.rto-identity { font-weight: 600; }

/* M1. Six of the fifteen courses are non-accredited. The nav grouped them
   under a heading that did not say so. */
.mega-tag {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 7px;
  border-radius: 3px;
  background: var(--yellow-pale);
  color: var(--navy);
  font-size: .62rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  vertical-align: middle;
}

/* H1. Sits under the testimonials, and has to be legible against the band
   rather than tucked away at the size of a footnote. */
.testi-disclaimer {
  margin-top: 28px;
  font-size: .86rem;
  color: var(--muted);
  max-width: 70ch;
}

/* M8. Repeated on all fifteen course pages, inside the enquiry card. It is a
   disclosure, so it must stay readable — quiet, not hidden. */
.referral-note {
  margin-top: 16px;
  margin-bottom: 0;
  font-size: .8rem;
  line-height: 1.55;
  color: var(--muted);
}

/* M10. APP 5 notification, adjacent to the form it describes. */
.notice-info { border-left-color: var(--navy); background: var(--off-white); }
.collection-notice { margin-top: 24px; }
.collection-notice h3 { font-size: 1.05rem; margin-bottom: 12px; }
.collection-notice p { font-size: .88rem; margin-bottom: 10px; }
.collection-notice strong { color: var(--ink); }
