/* Self-hosted web fonts (PERF-03). Latin subsets of the DM Sans v17 and
   Manrope v20 variable fonts as served by Google Fonts (SIL Open Font
   License 1.1), with Google's weight ranges and latin unicode-range. The
   URLs are root-absolute so pages served at nested paths (such as the 404
   page) resolve them. */

@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/assets/fonts/dm-sans-latin-wght.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 500 800;
  font-display: swap;
  src: url("/assets/fonts/manrope-latin-wght.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Metric-matched local Arial faces used while the web fonts load (or if
   they fail), so the swap barely reflows text. size-adjust is the
   advance-width ratio of each web font to Arial or Arial Bold, measured
   over the copy of all 128 public pages (DM Sans at 400/700, Manrope at
   500/700/800); the ascent, descent and line-gap overrides are the web
   fonts' hhea metrics divided by size-adjust. Bold weights use the real
   Arial Bold face, so no synthetic bold is needed. */

@font-face {
  font-family: "DM Sans Fallback";
  font-style: normal;
  font-weight: 400 599;
  src: local("Arial"), local("ArialMT");
  size-adjust: 104.45%;
  ascent-override: 94.97%;
  descent-override: 29.68%;
  line-gap-override: 0%;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "DM Sans Fallback";
  font-style: normal;
  font-weight: 600 900;
  src: local("Arial Bold"), local("Arial-BoldMT");
  size-adjust: 102.32%;
  ascent-override: 96.95%;
  descent-override: 30.30%;
  line-gap-override: 0%;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Manrope Fallback";
  font-style: normal;
  font-weight: 400 599;
  src: local("Arial"), local("ArialMT");
  size-adjust: 105.27%;
  ascent-override: 101.26%;
  descent-override: 28.50%;
  line-gap-override: 0%;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Manrope Fallback";
  font-style: normal;
  font-weight: 600 749;
  src: local("Arial Bold"), local("Arial-BoldMT");
  size-adjust: 100.54%;
  ascent-override: 106.03%;
  descent-override: 29.84%;
  line-gap-override: 0%;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Manrope Fallback";
  font-style: normal;
  font-weight: 750 900;
  src: local("Arial Bold"), local("Arial-BoldMT");
  size-adjust: 102.68%;
  ascent-override: 103.81%;
  descent-override: 29.22%;
  line-gap-override: 0%;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --crimson: #b71935;
  --crimson-dark: #7f1026;
  --crimson-soft: #fae9ec;
  --orange: #f29d16;
  --orange-soft: #fff0d5;
  --ink: #25181c;
  --muted: #72666a;
  --white: #ffffff;
  --paper: #fffcf9;
  --soft: #faf6f2;
  --line: #eadfd9;
  --dark: #28141a;
  --green: #26756e;
  --shadow-sm: 0 12px 36px rgba(59, 25, 34, .08);
  --shadow-lg: 0 28px 70px rgba(67, 31, 40, .16);
  --radius-sm: 14px;
  --radius-md: 22px;
  --radius-lg: 36px;
  --container: 1180px;
}

.guidance-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
}

.programme-guidance .section-heading {
  max-width: 820px;
  margin-bottom: 0;
}

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

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

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "DM Sans", "DM Sans Fallback", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

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

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

button, input, textarea, select {
  font: inherit;
}

button, a {
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
}

h1, h2, h3, h4, p {
  margin-top: 0;
}

h1, h2, h3, h4 {
  font-family: "Manrope", "Manrope Fallback", Arial, sans-serif;
  line-height: 1.13;
  letter-spacing: -.035em;
}

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

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  transform: translateY(-150%);
  padding: 11px 18px;
  border-radius: 10px;
  color: var(--white);
  background: var(--crimson);
  transition: transform .2s ease;
}

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  border-bottom: 1px solid transparent;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(18px);
  transition: box-shadow .25s ease, border-color .25s ease, background .25s ease;
}

.site-header.is-scrolled {
  border-color: rgba(183, 25, 53, .08);
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 10px 35px rgba(53, 21, 30, .07);
}

.header-inner {
  height: 84px;
  display: flex;
  align-items: center;
  gap: 28px;
}

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

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

.desktop-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 32px;
}

.desktop-nav a {
  position: relative;
  padding-block: 30px;
  color: #55494d;
  font-weight: 600;
  font-size: 14px;
}

.desktop-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 22px;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--orange), var(--crimson));
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .25s ease;
}

.desktop-nav a:hover, .desktop-nav a.is-active {
  color: var(--crimson);
}

.desktop-nav a:hover::after, .desktop-nav a.is-active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.button {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 24px;
  border: 1px solid var(--crimson);
  border-radius: 999px;
  color: var(--white);
  background: linear-gradient(120deg, var(--crimson), #d32c38 65%, #da4f29);
  box-shadow: 0 12px 24px rgba(183, 25, 53, .18);
  font-family: "Manrope", "Manrope Fallback", Arial, sans-serif;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 30px rgba(183, 25, 53, .26);
}

.button svg {
  width: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.button-small {
  min-height: 44px;
  padding: 11px 19px;
  font-size: 13px;
}

.button-ghost {
  color: var(--ink);
  border-color: var(--line);
  background: rgba(255, 255, 255, .68);
  box-shadow: none;
}

.button-ghost:hover {
  color: var(--crimson);
  border-color: rgba(183, 25, 53, .3);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.button-dark {
  border-color: var(--dark);
  background: var(--dark);
  box-shadow: 0 12px 24px rgba(40, 20, 26, .16);
}

.button-white {
  color: var(--crimson-dark);
  border-color: var(--white);
  background: var(--white);
  box-shadow: 0 12px 28px rgba(60, 6, 20, .16);
}

.menu-toggle, .mobile-menu {
  display: none;
}

.hero {
  position: relative;
  min-height: 780px;
  padding: 148px 0 92px;
  background:
    radial-gradient(circle at 8% 8%, rgba(242, 157, 22, .12), transparent 27%),
    radial-gradient(circle at 91% 20%, rgba(183, 25, 53, .09), transparent 30%),
    linear-gradient(180deg, #fffdfb 0%, #fff9f5 100%);
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 45%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--orange), transparent);
  opacity: .55;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(1px);
}

.hero-orb-one {
  width: 18px;
  height: 18px;
  top: 210px;
  left: 5vw;
  border: 5px solid var(--orange);
  opacity: .6;
}

.hero-orb-two {
  width: 190px;
  height: 190px;
  right: -110px;
  bottom: 90px;
  border: 34px solid rgba(242, 157, 22, .1);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  align-items: center;
  gap: clamp(54px, 7vw, 100px);
}

.hero h1 {
  max-width: 680px;
  margin-bottom: 24px;
  font-size: clamp(48px, 5.15vw, 76px);
  font-weight: 800;
}

.hero h1 em {
  position: relative;
  color: var(--crimson);
  font-style: normal;
  white-space: nowrap;
}

.hero h1 em::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 8px;
  border-radius: 50%;
  border-top: 3px solid var(--orange);
  transform: rotate(-1deg);
}

.hero-copy > p {
  max-width: 590px;
  margin-bottom: 32px;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.68;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-proof {
  margin-top: 48px;
  padding-top: 26px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  border-top: 1px solid var(--line);
}

.hero-proof div {
  display: flex;
  flex-direction: column;
}

.hero-proof strong {
  color: var(--ink);
  font-family: "Manrope", "Manrope Fallback", Arial, sans-serif;
  font-size: 20px;
  letter-spacing: -.03em;
}

.hero-proof span {
  color: var(--muted);
  font-size: 12px;
}

.hero-visual {
  position: relative;
  min-height: 570px;
}

.hero-image-wrap {
  position: absolute;
  top: 0;
  right: 0;
  width: min(100%, 510px);
  height: 530px;
  border-radius: 34px 34px 94px 34px;
  background: #e9ded3;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.hero-image-wrap > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: opacity .35s ease, transform .7s ease;
}

.hero-image-wrap:hover > img {
  transform: scale(1.025);
}

.hero-image-wrap > img.is-changing {
  opacity: .2;
}

.hero-image-tint {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 58%, rgba(31, 12, 17, .35));
  pointer-events: none;
}

.hero-mini-image {
  position: absolute;
  left: -48px;
  bottom: 0;
  width: 210px;
  height: 164px;
  padding: 8px;
  border-radius: 25px;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 18px 50px rgba(49, 23, 30, .22);
  transform: rotate(-3deg);
  overflow: hidden;
}

.hero-mini-image img {
  width: 100%;
  height: 100%;
  border-radius: 18px;
  object-fit: cover;
}

.hero-floating-card {
  position: absolute;
  top: 24px;
  left: 34px;
  right: 34px;
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, .35);
  border-radius: 18px;
  color: var(--white);
  background: rgba(45, 20, 27, .66);
  backdrop-filter: blur(12px);
}

.floating-icon {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  color: var(--dark);
  background: var(--orange);
}

.floating-icon svg {
  width: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero-floating-card span, .hero-floating-card strong {
  display: block;
}

.hero-floating-card span {
  margin-bottom: 2px;
  color: rgba(255, 255, 255, .7);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.hero-floating-card strong {
  font-family: "Manrope", "Manrope Fallback", Arial, sans-serif;
  font-size: 14px;
}

.hero-dots {
  position: absolute;
  right: 14px;
  bottom: -4px;
  display: flex;
  align-items: center;
  gap: 7px;
}

.hero-dots button[data-hero] {
  position: relative;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
}

.hero-dots button[data-hero]::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  transform: translate(-50%, -50%);
  background: #d6c8c1;
  transition: width .25s ease, background .25s ease;
}

.hero-dots button[data-hero].is-active::after {
  width: 28px;
  background: var(--crimson);
}

.carousel-toggle {
  min-width: 54px;
  min-height: 44px;
  padding: 6px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--crimson);
  background: #fffcf9;
  font: 700 11px "Manrope", "Manrope Fallback", Arial, sans-serif;
  cursor: pointer;
}

.carousel-toggle[hidden] { display: none; }

.trust-strip {
  position: relative;
  z-index: 3;
  border-block: 1px solid var(--line);
  background: rgba(255, 255, 255, .82);
}

.principle-row {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(22px, 5vw, 76px);
}

.principle-row span {
  color: #76666a;
  font-family: "Manrope", "Manrope Fallback", Arial, sans-serif;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.principle-row i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--orange);
}

.section {
  padding: 110px 0;
}

.section-soft {
  background: var(--soft);
}

.section h2 {
  margin-bottom: 22px;
  font-size: clamp(36px, 4vw, 54px);
  font-weight: 800;
}

.section-lead {
  color: #4d4145;
  font-size: 18px;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(65px, 8vw, 120px);
}

.about-visual {
  position: relative;
  min-height: 600px;
}

.about-image-main {
  width: 84%;
  height: 540px;
  border-radius: 32px 32px 84px 32px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.about-image-main img, .about-image-small img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-image-small {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 240px;
  height: 180px;
  padding: 8px;
  border-radius: 25px;
  background: var(--white);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.about-image-small img {
  border-radius: 18px;
}

.experience-stamp {
  position: absolute;
  top: 45px;
  right: -8px;
  width: 138px;
  height: 138px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
  border-radius: 50%;
  color: var(--white);
  background: var(--crimson);
  box-shadow: 0 16px 34px rgba(183, 25, 53, .25);
  text-align: center;
}

.experience-stamp::after {
  content: "";
  position: absolute;
  inset: 7px;
  border: 1px dashed rgba(255, 255, 255, .55);
  border-radius: inherit;
}

.experience-stamp strong {
  font-family: "Manrope", "Manrope Fallback", Arial, sans-serif;
  font-size: 34px;
  line-height: 1;
}

.experience-stamp span {
  max-width: 88px;
  margin-top: 6px;
  color: rgba(255, 255, 255, .8);
  font-size: 10px;
  line-height: 1.35;
  text-transform: uppercase;
  letter-spacing: .07em;
}

.about-copy > p {
  color: var(--muted);
}

.about-copy > p strong {
  color: var(--ink);
}

.about-checks {
  margin: 30px 0 28px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px 26px;
}

.about-checks > div {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.about-checks span {
  width: 31px;
  height: 31px;
  flex: 0 0 31px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  color: var(--crimson);
  background: var(--crimson-soft);
  font-family: "Manrope", "Manrope Fallback", Arial, sans-serif;
  font-size: 10px;
  font-weight: 800;
}

.about-checks p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.about-checks strong {
  display: block;
  margin-bottom: 3px;
  color: var(--ink);
  font-family: "Manrope", "Manrope Fallback", Arial, sans-serif;
  font-size: 14px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--crimson);
  font-family: "Manrope", "Manrope Fallback", Arial, sans-serif;
  font-size: 14px;
  font-weight: 800;
}

.text-link span {
  transition: transform .2s ease;
}

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

.values-section {
  background: var(--white);
}

.section-heading {
  margin-bottom: 52px;
}

.section-heading.centered {
  max-width: 720px;
  margin-inline: auto;
  text-align: center;
}

.section-heading.centered > p:last-child, .section-heading.split-heading > p {
  color: var(--muted);
  font-size: 17px;
}

.section-heading.compact {
  margin-bottom: 42px;
}

.section-heading.compact h2 {
  font-size: clamp(32px, 3.7vw, 48px);
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.value-card {
  position: relative;
  min-height: 340px;
  padding: 34px 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #fffefd;
  overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}

.value-card::after {
  content: "";
  position: absolute;
  right: -55px;
  bottom: -65px;
  width: 150px;
  height: 150px;
  border: 28px solid var(--orange-soft);
  border-radius: 50%;
  transition: transform .35s ease;
}

.value-card:hover {
  border-color: rgba(183, 25, 53, .18);
  box-shadow: var(--shadow-sm);
  transform: translateY(-7px);
}

.value-card:hover::after {
  transform: scale(1.12);
}

.value-number {
  position: absolute;
  top: 27px;
  right: 28px;
  color: #c9bfc1;
  font-family: "Manrope", "Manrope Fallback", Arial, sans-serif;
  font-size: 12px;
  font-weight: 800;
}

.value-icon {
  width: 52px;
  height: 52px;
  margin-bottom: 48px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  color: var(--crimson);
  background: var(--crimson-soft);
}

.value-icon svg {
  width: 26px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.value-card:nth-child(even) .value-icon {
  color: #ad6500;
  background: var(--orange-soft);
}

.value-card h3 {
  margin-bottom: 12px;
  font-size: 24px;
}

.value-card p {
  position: relative;
  z-index: 1;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14px;
}

.split-heading {
  display: grid;
  grid-template-columns: 1.15fr .65fr;
  align-items: end;
  gap: 70px;
}

.split-heading h2, .split-heading > p {
  margin-bottom: 0;
}

.program-filter {
  margin-bottom: 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.program-filter button {
  padding: 10px 17px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255, 255, 255, .72);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: color .2s ease, border-color .2s ease, background .2s ease;
}

.program-filter button:hover, .program-filter button.is-active {
  color: var(--white);
  border-color: var(--crimson);
  background: var(--crimson);
}

.program-category-group + .program-category-group {
  margin-top: 62px;
}

.program-category-group.is-hidden {
  display: none;
}

.program-category-heading {
  margin-bottom: 22px;
  padding-bottom: 16px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  border-bottom: 1px solid var(--line);
}

.program-category-heading h3 {
  margin: 0;
  font-size: clamp(23px, 2.6vw, 32px);
}

.program-category-heading p {
  max-width: 560px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  text-align: right;
}

.program-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.program-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: 0 8px 28px rgba(58, 29, 37, .045);
  overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease;
}

.program-card:hover {
  transform: translateY(-7px);
  box-shadow: var(--shadow-sm);
}

.program-card.is-hidden {
  display: none;
}

.program-image {
  position: relative;
  height: 210px;
  display: block;
  background: #ebdfd9;
  overflow: hidden;
}

.program-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(27, 11, 15, .28));
  pointer-events: none;
}

.program-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}

.program-card:hover .program-image img {
  transform: scale(1.045);
}

.program-image > span {
  position: absolute;
  z-index: 1;
  left: 16px;
  top: 16px;
  padding: 7px 11px;
  border-radius: 999px;
  color: var(--crimson-dark);
  background: rgba(255, 255, 255, .9);
  backdrop-filter: blur(7px);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.program-body {
  min-height: 215px;
  padding: 24px;
  display: flex;
  flex-direction: column;
}

.program-body > p {
  margin-bottom: 8px;
  color: var(--crimson);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.program-body h3 {
  margin-bottom: 24px;
  font-size: 20px;
  line-height: 1.35;
}

.program-meta {
  margin-top: auto;
  padding-top: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--line);
}

.program-meta > span {
  padding-left: 17px;
  position: relative;
  color: var(--muted);
  font-size: 12px;
}

.program-meta > span::before {
  content: "";
  position: absolute;
  left: 1px;
  top: 50%;
  width: 7px;
  height: 7px;
  border: 2px solid var(--orange);
  border-radius: 50% 50% 50% 0;
  transform: translateY(-65%) rotate(-45deg);
}

.program-meta a {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--crimson);
  background: var(--crimson-soft);
  font-weight: 700;
  transition: color .2s ease, background .2s ease, transform .2s ease;
}

.program-meta a:hover {
  color: var(--white);
  background: var(--crimson);
  transform: rotate(45deg);
}

.section-action {
  margin-top: 42px;
  text-align: center;
}

.why-section {
  background: var(--white);
}

.why-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  align-items: center;
  gap: clamp(60px, 9vw, 130px);
}

.why-copy > p {
  color: var(--muted);
}

.why-list {
  margin-top: 34px;
}

.why-list > div {
  padding: 21px 0;
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 15px;
  border-top: 1px solid var(--line);
}

.why-list > div:last-child {
  border-bottom: 1px solid var(--line);
}

.why-list span {
  color: var(--orange);
  font-family: "Manrope", "Manrope Fallback", Arial, sans-serif;
  font-size: 12px;
  font-weight: 800;
}

.why-list p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.why-list strong {
  display: block;
  margin-bottom: 5px;
  color: var(--ink);
  font-family: "Manrope", "Manrope Fallback", Arial, sans-serif;
  font-size: 16px;
}

.why-visual {
  position: relative;
  min-height: 600px;
}

.why-visual > img {
  width: 100%;
  height: 600px;
  border-radius: 38px 38px 38px 108px;
  object-fit: cover;
  box-shadow: var(--shadow-lg);
}

.impact-card {
  position: absolute;
  left: -58px;
  bottom: 35px;
  width: 260px;
  padding: 23px;
  border: 1px solid rgba(255, 255, 255, .6);
  border-radius: 22px;
  background: rgba(255, 255, 255, .91);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(12px);
}

.impact-card span {
  display: block;
  margin-bottom: 6px;
  color: var(--crimson);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.impact-card strong {
  display: block;
  font-family: "Manrope", "Manrope Fallback", Arial, sans-serif;
  font-size: 18px;
  line-height: 1.4;
}

.impact-chip {
  position: absolute;
  top: 34px;
  right: -30px;
  padding: 11px 15px 11px 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-radius: 999px;
  color: var(--white);
  background: var(--crimson);
  box-shadow: 0 14px 32px rgba(183, 25, 53, .26);
  font-size: 12px;
  font-weight: 700;
}

.impact-chip span {
  width: 25px;
  height: 25px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--crimson);
  background: var(--white);
}

.testimonials-section {
  padding-top: 30px;
  color: var(--white);
  background: var(--white);
}

.testimonials-shell {
  position: relative;
  min-height: 570px;
  padding: 76px 78px;
  display: grid;
  grid-template-columns: .78fr 1.22fr;
  align-items: center;
  gap: 90px;
  border-radius: 40px;
  background:
    radial-gradient(circle at 95% 0%, rgba(242, 157, 22, .2), transparent 30%),
    linear-gradient(135deg, #32151e 0%, #581428 52%, #7f1328 100%);
  box-shadow: 0 30px 70px rgba(60, 15, 29, .2);
  overflow: hidden;
}

.testimonials-shell::before {
  content: "";
  position: absolute;
  width: 280px;
  height: 280px;
  left: -150px;
  bottom: -155px;
  border: 48px solid rgba(255, 255, 255, .04);
  border-radius: 50%;
}

.testimonial-intro h2 {
  color: var(--white);
  font-size: clamp(36px, 3.7vw, 49px);
}

.testimonial-intro > p:last-of-type {
  color: rgba(255, 255, 255, .64);
}

.testimonial-controls {
  margin-top: 34px;
  display: flex;
  gap: 10px;
}

.slider-button {
  width: 45px;
  height: 45px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .23);
  border-radius: 50%;
  color: var(--white);
  background: rgba(255, 255, 255, .06);
  cursor: pointer;
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}

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

.testimonial-stage {
  position: relative;
  min-height: 330px;
  padding: 54px 50px 34px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 28px;
  background: rgba(255, 255, 255, .075);
  backdrop-filter: blur(12px);
}

.quote-mark {
  position: absolute;
  top: 12px;
  right: 32px;
  color: rgba(255, 197, 97, .35);
  font-family: Georgia, serif;
  font-size: 110px;
  line-height: 1;
}

.testimonial-slide {
  display: none;
  opacity: 0;
  transform: translateY(8px);
}

.testimonial-slide.is-active {
  display: block;
  animation: testimonial-in .45s ease forwards;
}

.testimonial-slide blockquote {
  position: relative;
  z-index: 1;
  margin: 0 0 38px;
  color: var(--white);
  font-family: "Manrope", "Manrope Fallback", Arial, sans-serif;
  font-size: clamp(20px, 2.2vw, 27px);
  font-weight: 500;
  line-height: 1.55;
  letter-spacing: -.025em;
}

.testimonial-person {
  display: flex;
  align-items: center;
  gap: 13px;
}

.testimonial-person > span {
  width: 45px;
  height: 45px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--dark);
  background: var(--orange);
  font-family: "Manrope", "Manrope Fallback", Arial, sans-serif;
  font-size: 12px;
  font-weight: 800;
}

.testimonial-person p {
  margin: 0;
  color: rgba(255, 255, 255, .6);
  font-size: 12px;
  line-height: 1.5;
}

.testimonial-person strong {
  display: block;
  color: var(--white);
  font-size: 14px;
}

.testimonial-progress {
  position: absolute;
  left: 50px;
  right: 50px;
  bottom: 25px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
}

.testimonial-progress span {
  height: 2px;
  border-radius: 3px;
  background: rgba(255, 255, 255, .17);
}

.testimonial-progress span.is-active {
  background: var(--orange);
}

@keyframes testimonial-in {
  to { opacity: 1; transform: translateY(0); }
}

.clients-section {
  padding-top: 95px;
  background: var(--white);
}

.client-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.client-grid > div {
  height: 132px;
  padding: 25px;
  display: grid;
  place-items: center;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fffefd;
}

.client-grid img {
  width: auto;
  max-width: 130px;
  max-height: 64px;
  object-fit: contain;
  filter: grayscale(1);
  opacity: .58;
  transition: filter .3s ease, opacity .3s ease, transform .3s ease;
}

.client-grid > div:hover img {
  filter: grayscale(0);
  opacity: 1;
  transform: scale(1.04);
}

.cta-wrap {
  padding: 0 0 40px;
  background: var(--white);
}

.cta-panel {
  position: relative;
  min-height: 350px;
  padding: 62px 70px;
  display: grid;
  grid-template-columns: 1.1fr .55fr;
  align-items: center;
  gap: 80px;
  border-radius: 36px;
  color: var(--white);
  background: linear-gradient(118deg, var(--crimson-dark), var(--crimson) 54%, #d44b29 125%);
  box-shadow: 0 28px 55px rgba(126, 15, 37, .19);
  overflow: hidden;
}

.cta-panel > *:not(.cta-rings) {
  position: relative;
  z-index: 1;
}

.cta-panel h2 {
  margin-bottom: 14px;
  color: var(--white);
}

.cta-panel p {
  max-width: 670px;
  margin: 0;
  color: rgba(255, 255, 255, .72);
  font-size: 17px;
}

.cta-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}

.cta-actions > a:last-child {
  color: rgba(255, 255, 255, .78);
  font-size: 13px;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 5px;
}

.cta-rings {
  position: absolute;
  width: 350px;
  height: 350px;
  right: -115px;
  top: -138px;
  border: 52px solid rgba(255, 255, 255, .065);
  border-radius: 50%;
}

.cta-rings::after {
  content: "";
  position: absolute;
  inset: 45px;
  border: 2px solid rgba(255, 255, 255, .07);
  border-radius: 50%;
}

.gallery-section {
  background: var(--white);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 230px;
  gap: 16px;
}

.gallery-item {
  position: relative;
  isolation: isolate;
  padding: 0;
  border: 0;
  border-radius: 20px;
  background: #e7dcd5;
  cursor: zoom-in;
  overflow: hidden;
}

.gallery-item[data-media="video"] {
  cursor: pointer;
}

.gallery-wide {
  grid-column: span 2;
}

.gallery-tall {
  grid-row: span 2;
}

.gallery-item > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .55s ease, filter .4s ease;
}

.gallery-item::after {
  content: "↗";
  position: absolute;
  top: 18px;
  right: 18px;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: rgba(35, 20, 24, .65);
  backdrop-filter: blur(8px);
  transform: scale(.8);
  opacity: 0;
  transition: opacity .25s ease, transform .25s ease;
}

.gallery-item > .gallery-item-label {
  position: absolute;
  z-index: 1;
  left: 20px;
  bottom: 18px;
  max-width: calc(100% - 40px);
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--white);
  background: rgba(40, 20, 26, .7);
  backdrop-filter: blur(8px);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.35;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .25s ease, transform .25s ease;
}

.gallery-play {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .32);
  border-radius: 50%;
  color: var(--white);
  background: rgba(35, 20, 24, .72);
  box-shadow: 0 12px 30px rgba(0, 0, 0, .24);
  backdrop-filter: blur(10px);
  transform: translate(-50%, -50%);
  transition: background .25s ease, transform .25s ease;
  pointer-events: none;
}

.gallery-play svg {
  width: 25px;
  height: 25px;
  margin-left: 3px;
  fill: currentColor;
}

.gallery-item:hover > img,
.gallery-item:focus-visible > img {
  transform: scale(1.045);
  filter: saturate(1.07);
}

.gallery-item:hover::after,
.gallery-item:hover > .gallery-item-label,
.gallery-item:focus-visible::after,
.gallery-item:focus-visible > .gallery-item-label {
  opacity: 1;
  transform: none;
}

.gallery-item:hover .gallery-play,
.gallery-item:focus-visible .gallery-play {
  background: rgba(190, 27, 54, .9);
  transform: translate(-50%, -50%) scale(1.06);
}

.gallery-item:focus-visible {
  outline: 3px solid var(--crimson);
  outline-offset: 4px;
}

.faq-grid {
  display: grid;
  grid-template-columns: .72fr 1.28fr;
  align-items: start;
  gap: clamp(60px, 9vw, 130px);
}

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

.faq-heading > p {
  color: var(--muted);
}

.faq-heading .text-link {
  margin-top: 18px;
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item:first-child {
  border-top: 1px solid var(--line);
}

.faq-item button {
  width: 100%;
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.faq-item button span {
  font-family: "Manrope", "Manrope Fallback", Arial, sans-serif;
  font-size: 17px;
  font-weight: 700;
}

.faq-item button i {
  position: relative;
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 4px 12px rgba(39, 20, 25, .06);
}

.faq-item button i::before, .faq-item button i::after {
  content: "";
  position: absolute;
  left: 8px;
  top: 13px;
  width: 12px;
  height: 2px;
  border-radius: 2px;
  background: var(--crimson);
  transition: transform .25s ease;
}

.faq-item button i::after {
  transform: rotate(90deg);
}

.faq-item.is-open button i::after {
  transform: rotate(0);
}

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .35s ease;
}

.faq-answer > p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  overflow: hidden;
}

.faq-item.is-open .faq-answer {
  grid-template-rows: 1fr;
}

.faq-item.is-open .faq-answer > p {
  padding-bottom: 25px;
}

.site-footer {
  color: #d9cdd0;
  background: #211318;
}

.footer-main {
  padding: 76px 0 58px;
  display: grid;
  grid-template-columns: 1.35fr .65fr .8fr 1fr;
  gap: 60px;
}

.footer-logo {
  margin-bottom: 20px;
  padding: 9px 12px;
  border-radius: 11px;
  background: var(--white);
}

.footer-logo img {
  width: 142px;
  mix-blend-mode: normal;
}

.footer-brand > p {
  max-width: 300px;
  color: #9f9296;
  font-size: 13px;
}

.social-links {
  display: flex;
  gap: 8px;
}

.social-links a {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 50%;
  color: var(--white);
  font-family: "Manrope", "Manrope Fallback", Arial, sans-serif;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  transition: color .2s ease, border-color .2s ease, background .2s ease;
}

.social-links a:hover {
  color: var(--dark);
  border-color: var(--orange);
  background: var(--orange);
}

/* Inline SVG icons inside the round footer social links. */
.social-links svg {
  width: 18px;
  height: 18px;
  display: block;
}

.footer-column {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 11px;
}

.footer-column h3 {
  margin-bottom: 9px;
  color: var(--white);
  font-size: 13px;
  letter-spacing: .04em;
}

.footer-column > a {
  color: #9f9296;
  font-size: 13px;
  transition: color .2s ease, transform .2s ease;
}

.footer-column > a:hover {
  color: var(--orange);
  transform: translateX(3px);
}

.footer-contact > a, .footer-contact > p {
  margin: 0 0 7px;
  color: #d9cdd0;
  line-height: 1.5;
}

.footer-contact span {
  display: block;
  margin-bottom: 2px;
  color: #897d80;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.footer-bottom {
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid rgba(255, 255, 255, .08);
}

.footer-bottom p {
  margin: 0;
  color: #897d80;
  font-size: 11px;
}

.whatsapp-button {
  position: fixed;
  z-index: 90;
  right: 24px;
  bottom: 24px;
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border: 4px solid var(--white);
  border-radius: 50%;
  color: var(--white);
  background: #24b965;
  box-shadow: 0 14px 28px rgba(22, 112, 61, .24);
  transition: transform .2s ease, box-shadow .2s ease;
}

.whatsapp-button:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 18px 34px rgba(22, 112, 61, .3);
}

.whatsapp-button svg {
  width: 26px;
  fill: currentColor;
}

.lightbox {
  position: fixed;
  width: min(1100px, calc(100% - 40px));
  max-width: none;
  height: min(780px, calc(100% - 40px));
  max-height: none;
  padding: 56px 70px 32px;
  border: 0;
  border-radius: 24px;
  color: var(--white);
  background: #180f12;
  box-shadow: 0 40px 100px rgba(0, 0, 0, .4);
  overflow: visible;
}

.lightbox::backdrop {
  background: rgba(25, 12, 17, .78);
  backdrop-filter: blur(10px);
}

.lightbox figure {
  width: 100%;
  height: 100%;
  margin: 0;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  gap: 14px;
}

.lightbox-media {
  position: relative;
  min-height: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 14px;
  background: #080508;
}

.lightbox img,
.lightbox video {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  border-radius: 14px;
  object-fit: contain;
}

.lightbox video {
  position: absolute;
  inset: 0;
}

.lightbox img[hidden],
.lightbox video[hidden] {
  display: none;
}

.lightbox figcaption {
  color: #cbbfc2;
  font-size: 13px;
  text-align: center;
}

.lightbox-close, .lightbox-nav {
  position: absolute;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 50%;
  color: var(--white);
  background: rgba(255, 255, 255, .08);
  cursor: pointer;
  transition: border-color .2s ease, background .2s ease, transform .2s ease;
}

.lightbox-close {
  width: 44px;
  height: 44px;
  top: 13px;
  right: 14px;
  font-size: 26px;
  line-height: 1;
}

.lightbox-close:hover,
.lightbox-nav:hover {
  border-color: rgba(255, 255, 255, .36);
  background: rgba(255, 255, 255, .16);
}

.lightbox-close:focus-visible,
.lightbox-nav:focus-visible {
  outline: 3px solid #ff8296;
  outline-offset: 3px;
}

.lightbox-nav {
  width: 46px;
  height: 46px;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-prev { left: 13px; }
.lightbox-next { right: 13px; }

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s ease, transform .7s cubic-bezier(.2, .75, .3, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.reveal-delay, .reveal-delay-1 { transition-delay: .12s; }
.reveal-delay-2 { transition-delay: .22s; }
.reveal-delay-3 { transition-delay: .32s; }

/* PERF-01 safety net: hero content in the first viewport is never hidden
   behind the scroll-reveal animation (the generator also strips the reveal
   classes from hero sections). */
.hero .reveal, .page-hero .reveal {
  opacity: 1;
  transform: none;
  transition: none;
}

/* Individual pages */
.page-hero {
  position: relative;
  min-height: 680px;
  padding: 154px 0 84px;
  display: flex;
  align-items: center;
  background:
    radial-gradient(circle at 9% 18%, rgba(242, 157, 22, .13), transparent 25%),
    radial-gradient(circle at 93% 12%, rgba(183, 25, 53, .1), transparent 31%),
    linear-gradient(180deg, #fffdfb, #fff8f4);
  overflow: hidden;
}

.page-hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(183, 25, 53, .2), transparent);
}

.page-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  align-items: center;
  gap: clamp(60px, 8vw, 120px);
}

.breadcrumb {
  margin-bottom: 26px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.breadcrumb a {
  color: var(--crimson);
}

.breadcrumb i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--orange);
}

.page-hero h1 {
  max-width: 700px;
  margin-bottom: 24px;
  font-size: clamp(48px, 5.2vw, 72px);
  font-weight: 800;
}

.page-hero h1 em {
  color: var(--crimson);
  font-style: normal;
}

.page-lead {
  max-width: 620px;
  margin-bottom: 32px;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.7;
}

.page-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.page-hero-media {
  position: relative;
  min-height: 470px;
}

.page-hero-media > img {
  width: 100%;
  height: 470px;
  border-radius: 32px 32px 92px 32px;
  object-fit: cover;
  box-shadow: var(--shadow-lg);
}

.page-hero-media.contain-media {
  display: grid;
  place-items: center;
  padding: 35px;
  border-radius: 32px 32px 92px 32px;
  background: var(--white);
  box-shadow: var(--shadow-lg);
}

.page-hero-media.contain-media > img {
  width: 100%;
  height: 400px;
  border-radius: 18px;
  object-fit: contain;
  box-shadow: none;
}

.page-hero-badge {
  position: absolute;
  left: -34px;
  bottom: 28px;
  max-width: 245px;
  padding: 20px 22px;
  border: 1px solid rgba(255, 255, 255, .72);
  border-radius: 20px;
  background: rgba(255, 255, 255, .9);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(12px);
}

.page-hero-badge span, .page-hero-badge strong {
  display: block;
}

.page-hero-badge span {
  margin-bottom: 5px;
  color: var(--crimson);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.page-hero-badge strong {
  font-family: "Manrope", "Manrope Fallback", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.4;
}

.page-section {
  padding: 105px 0;
  background: var(--white);
}

.page-section.section-soft {
  background: var(--soft);
}

.page-section h2 {
  margin-bottom: 22px;
  font-size: clamp(35px, 4vw, 52px);
  font-weight: 800;
}

.page-section h3 {
  font-weight: 800;
}

.page-section p {
  color: var(--muted);
}

.content-split {
  display: grid;
  grid-template-columns: .88fr 1.12fr;
  align-items: start;
  gap: clamp(65px, 9vw, 130px);
}

.content-split.reverse {
  grid-template-columns: 1.12fr .88fr;
}

.content-split.centered-split {
  align-items: center;
}

.content-image {
  position: relative;
}

.content-image > img {
  width: 100%;
  min-height: 510px;
  max-height: 620px;
  border-radius: 30px 30px 76px 30px;
  object-fit: cover;
  box-shadow: var(--shadow-lg);
}

.content-image.image-contain {
  min-height: 520px;
  padding: 34px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 30px 30px 76px 30px;
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.content-image.image-contain > img {
  min-height: 0;
  max-height: 450px;
  border-radius: 0;
  object-fit: contain;
  box-shadow: none;
}

.prose-copy > p {
  font-size: 17px;
}

.prose-copy .text-link {
  margin-top: 12px;
}

.mini-feature-list {
  margin: 34px 0;
  display: grid;
  gap: 4px;
}

.mini-feature {
  padding: 20px 0;
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 14px;
  border-top: 1px solid var(--line);
}

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

.mini-feature > span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  color: var(--crimson);
  background: var(--crimson-soft);
  font-family: "Manrope", "Manrope Fallback", Arial, sans-serif;
  font-size: 11px;
  font-weight: 800;
}

.mini-feature p {
  margin: 0;
  font-size: 14px !important;
}

.mini-feature strong {
  display: block;
  margin-bottom: 4px;
  color: var(--ink);
  font-family: "Manrope", "Manrope Fallback", Arial, sans-serif;
  font-size: 16px;
}

.metric-band {
  padding: 0;
  color: var(--white);
  background: var(--dark);
}

.metric-row {
  min-height: 190px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.metric-item {
  padding: 42px 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-right: 1px solid rgba(255, 255, 255, .1);
}

.metric-item:first-child {
  border-left: 1px solid rgba(255, 255, 255, .1);
}

.metric-item strong {
  color: var(--orange);
  font-family: "Manrope", "Manrope Fallback", Arial, sans-serif;
  font-size: 32px;
  line-height: 1.2;
}

.metric-item span {
  margin-top: 8px;
  color: rgba(255, 255, 255, .62);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.mission-grid, .delivery-grid, .benefit-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.mission-card, .delivery-card, .benefit-card {
  position: relative;
  min-height: 315px;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--white);
  overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease;
}

.mission-card:hover, .delivery-card:hover, .benefit-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-sm);
}

.mission-card > span, .delivery-card > span, .benefit-card > span {
  width: 48px;
  height: 48px;
  margin-bottom: 55px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  color: var(--crimson);
  background: var(--crimson-soft);
  font-family: "Manrope", "Manrope Fallback", Arial, sans-serif;
  font-size: 12px;
  font-weight: 800;
}

.mission-card:nth-child(2) > span, .delivery-card:nth-child(2) > span, .benefit-card:nth-child(even) > span {
  color: #9a5a00;
  background: var(--orange-soft);
}

.mission-card h3, .delivery-card h3, .benefit-card h3 {
  margin-bottom: 12px;
  font-size: 23px;
}

.mission-card p, .delivery-card p, .benefit-card p {
  margin: 0;
  font-size: 14px;
}

.timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 3%;
  right: 3%;
  top: 14px;
  height: 1px;
  background: var(--line);
}

.timeline-item {
  position: relative;
  padding-top: 48px;
}

.timeline-item::before {
  content: "";
  position: absolute;
  z-index: 1;
  top: 8px;
  left: 0;
  width: 13px;
  height: 13px;
  border: 4px solid var(--soft);
  border-radius: 50%;
  background: var(--crimson);
  box-shadow: 0 0 0 1px var(--crimson);
}

.timeline-item time {
  display: block;
  margin-bottom: 9px;
  color: var(--crimson);
  font-family: "Manrope", "Manrope Fallback", Arial, sans-serif;
  font-size: 13px;
  font-weight: 800;
}

.timeline-item h3 {
  margin-bottom: 10px;
  font-size: 18px;
}

.timeline-item p {
  margin: 0;
  font-size: 13px;
}

.delivery-card {
  min-height: 360px;
  display: flex;
  flex-direction: column;
}

.delivery-card .text-link {
  margin-top: auto;
}

.delivery-card.featured {
  color: var(--white);
  border-color: var(--crimson);
  background: linear-gradient(145deg, var(--crimson-dark), var(--crimson));
  box-shadow: 0 20px 44px rgba(126, 16, 38, .2);
}

.delivery-card.featured h3, .delivery-card.featured .text-link {
  color: var(--white);
}

.delivery-card.featured p {
  color: rgba(255, 255, 255, .69);
}

.delivery-card.featured > span {
  color: var(--dark);
  background: var(--orange);
}

.programme-process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.process-step {
  padding: 28px 24px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, .72);
}

.process-step > span {
  display: block;
  margin-bottom: 38px;
  color: var(--orange);
  font-family: "Manrope", "Manrope Fallback", Arial, sans-serif;
  font-size: 12px;
  font-weight: 800;
}

.process-step h3 {
  margin-bottom: 9px;
  font-size: 17px;
}

.process-step p {
  margin: 0;
  font-size: 13px;
}

.course-toolbar {
  margin-bottom: 38px;
  padding: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--white);
  box-shadow: 0 8px 24px rgba(58, 29, 37, .04);
}

.course-search {
  position: relative;
  width: min(100%, 380px);
}

.course-search::before {
  content: "⌕";
  position: absolute;
  left: 16px;
  top: 50%;
  color: var(--crimson);
  font-size: 22px;
  transform: translateY(-52%);
}

.course-search input {
  width: 100%;
  height: 46px;
  padding: 10px 16px 10px 46px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  outline: 0;
  background: var(--soft);
  font-size: 13px;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.course-search input:focus {
  border-color: var(--crimson);
  box-shadow: 0 0 0 3px rgba(183, 25, 53, .09);
}

.course-filter {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 7px;
}

.course-filter button {
  padding: 9px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: var(--white);
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
}

.course-filter button:hover, .course-filter button.is-active {
  color: var(--white);
  border-color: var(--crimson);
  background: var(--crimson);
}

.course-category-grid {
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.course-category-card {
  min-width: 0;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: 0 8px 26px rgba(58, 29, 37, .035);
}

.course-category-card.is-hidden, .course-list li.is-hidden {
  display: none;
}

.course-category-heading {
  margin-bottom: 22px;
  padding-bottom: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid var(--line);
}

.course-category-heading > div {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 13px;
}

.course-category-heading span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  color: var(--crimson);
  background: var(--crimson-soft);
  font-family: "Manrope", "Manrope Fallback", Arial, sans-serif;
  font-size: 11px;
  font-weight: 800;
}

.course-category-heading h2 {
  min-width: 0;
  margin: 0;
  font-size: 20px;
  overflow-wrap: anywhere;
}

.course-category-heading small {
  color: #a39498;
  font-size: 11px;
}

.course-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.course-list li {
  padding: 12px 0 12px 22px;
  position: relative;
  border-bottom: 1px solid #f1e8e3;
  color: #514549;
  font-size: 14px;
}

.course-list li:last-child {
  border-bottom: 0;
}

.course-list li::before {
  content: "";
  position: absolute;
  left: 1px;
  top: 20px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 4px var(--orange-soft);
}

.course-empty {
  display: none;
  padding: 50px 20px;
  border: 1px dashed var(--line);
  border-radius: 20px;
  color: var(--muted);
  text-align: center;
}

.course-empty.is-visible {
  display: block;
}

.method-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.method-step {
  min-height: 300px;
  padding: 30px 25px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--white);
}

.method-step > span {
  width: 48px;
  height: 48px;
  margin-bottom: 54px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: var(--crimson);
  font-family: "Manrope", "Manrope Fallback", Arial, sans-serif;
  font-size: 12px;
  font-weight: 800;
  box-shadow: 0 9px 20px rgba(183, 25, 53, .17);
}

.method-step h3 {
  margin-bottom: 10px;
  font-size: 19px;
}

.method-step p {
  margin: 0;
  font-size: 13px;
}

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

.benefit-card {
  min-height: 245px;
}

.benefit-card > span {
  margin-bottom: 35px;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.review-card {
  min-height: 330px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: 0 8px 25px rgba(58, 29, 37, .035);
}

.review-card::before {
  content: "“";
  margin-bottom: 14px;
  color: var(--orange);
  font-family: Georgia, serif;
  font-size: 70px;
  line-height: .7;
}

.review-card blockquote {
  margin: 0 0 30px;
  color: #44373b;
  font-family: "Manrope", "Manrope Fallback", Arial, sans-serif;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.55;
  letter-spacing: -.02em;
}

.review-card footer {
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
}

.review-card footer strong {
  display: block;
  color: var(--ink);
  font-family: "Manrope", "Manrope Fallback", Arial, sans-serif;
  font-size: 14px;
}

.gallery-page-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 290px;
  gap: 18px;
}

.gallery-page-grid .gallery-item:nth-child(1),
.gallery-page-grid .gallery-item:nth-child(7) {
  grid-column: span 2;
}

.gallery-page-grid .gallery-item:nth-child(2),
.gallery-page-grid .gallery-item:nth-child(6) {
  grid-row: span 2;
}

.page-cta-section {
  padding: 0 0 100px;
  background: var(--white);
}

.page-cta-section.soft-before {
  padding-top: 100px;
  background: var(--soft);
}

.page-cta-section .cta-panel {
  min-height: 320px;
}

.course-meta {
  margin-top: 34px;
  padding-top: 25px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  border-top: 1px solid var(--line);
}

.course-meta div {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.course-meta span {
  margin-bottom: 4px;
  color: #a08f94;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.course-meta strong {
  color: var(--ink);
  font-family: "Manrope", "Manrope Fallback", Arial, sans-serif;
  font-size: 13px;
  line-height: 1.4;
  overflow-wrap: break-word;
}

/* The hero fact strip holds five items (Duration, Format, Programme, HRD Corp,
   Certificate): three columns where the hero copy column is wide, two where it
   is narrow (881-1100 px here, phones below), and in a two-column grid an odd
   last item spans the final row. */
@media (min-width: 881px) and (max-width: 1100px) {
  .course-meta { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .course-meta > :last-child:nth-child(odd) { grid-column: 1 / -1; }
}

.course-poster-media > img {
  object-position: center;
}

.course-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  align-items: start;
  gap: clamp(55px, 8vw, 110px);
}

.detail-main > section {
  margin-bottom: 68px;
}

.detail-main > section:last-child {
  margin-bottom: 0;
}

.detail-main h2 {
  margin-bottom: 20px;
  font-size: clamp(30px, 3.4vw, 43px);
}

.detail-main > section > p {
  font-size: 17px;
}

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

.outcome-card {
  min-height: 125px;
  padding: 20px;
  display: grid;
  grid-template-columns: 34px 1fr;
  align-items: start;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: var(--white);
}

.outcome-card > span {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  color: var(--crimson);
  background: var(--crimson-soft);
  font-size: 12px;
  font-weight: 800;
}

.outcome-card p {
  margin: 2px 0 0;
  color: #4c4044;
  font-size: 14px;
  line-height: 1.55;
}

.outline-list {
  margin-top: 28px;
  border-top: 1px solid var(--line);
}

.outline-item {
  padding: 22px 0;
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 18px;
  border-bottom: 1px solid var(--line);
}

.outline-item > span {
  color: var(--orange);
  font-family: "Manrope", "Manrope Fallback", Arial, sans-serif;
  font-size: 12px;
  font-weight: 800;
}

.outline-item h3 {
  margin-bottom: 7px;
  font-size: 17px;
}

.outline-item p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.audience-tags {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.audience-tags span {
  padding: 9px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #564a4e;
  background: var(--white);
  font-size: 12px;
  font-weight: 700;
}

.detail-sidebar {
  position: sticky;
  top: 115px;
}

.enquiry-card {
  padding: 30px;
  border-radius: 24px;
  color: var(--white);
  background:
    radial-gradient(circle at 100% 0%, rgba(242, 157, 22, .2), transparent 35%),
    linear-gradient(145deg, #341720, #78142a);
  box-shadow: 0 24px 55px rgba(64, 18, 31, .18);
}

.enquiry-card h2 {
  margin-bottom: 12px;
  color: var(--white);
  font-size: 26px;
}

.enquiry-card > p {
  color: rgba(255, 255, 255, .64);
  font-size: 13px;
}

.course-facts {
  margin: 25px 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(255, 255, 255, .13);
}

.course-facts li {
  padding: 14px 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, .13);
  color: rgba(255, 255, 255, .55);
  font-size: 11px;
}

.course-facts li > span {
  flex: 0 0 auto;
  max-width: 45%;
}

.course-facts strong {
  min-width: 0;
  color: var(--white);
  font-size: 12px;
  text-align: right;
  overflow-wrap: break-word;
}

.enquiry-card .button {
  width: 100%;
}

.course-actions {
  display: grid;
  gap: 10px;
}

.course-actions .button-outline-white {
  color: var(--white);
  border-color: rgba(255, 255, 255, .42);
  background: transparent;
  box-shadow: none;
}

.course-actions .button-outline-white:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, .1);
}

.enquiry-card > a:last-child {
  margin-top: 15px;
  display: block;
  color: rgba(255, 255, 255, .68);
  font-size: 12px;
  text-align: center;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.lead-modal {
  width: min(720px, calc(100% - 32px));
  max-height: min(90dvh, 860px);
  padding: 0;
  border: 0;
  border-radius: 24px;
  color: var(--ink);
  background: var(--white);
  box-shadow: 0 30px 90px rgba(50, 15, 25, .28);
  overflow: auto;
}

.lead-modal::backdrop {
  background: rgba(31, 15, 20, .7);
  backdrop-filter: blur(7px);
}

.lead-modal-shell {
  padding: 34px;
}

.lead-modal-head {
  margin-bottom: 26px;
  padding-bottom: 20px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid var(--line);
}

.lead-modal-head h2 {
  margin: 4px 0 7px;
  font-size: clamp(25px, 4vw, 34px);
}

.lead-modal-head p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.lead-modal-close {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink);
  background: var(--white);
  font-size: 22px;
  cursor: pointer;
}

.lead-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 17px;
}

.lead-field {
  min-width: 0;
  display: grid;
  gap: 7px;
}

.lead-field[hidden] {
  display: none;
}

.gallery-page-title {
  margin-bottom: 22px;
  font-size: clamp(35px, 4vw, 52px);
  font-weight: 800;
}

.lead-field.span-2 {
  grid-column: 1 / -1;
}

.lead-field label {
  color: #4d3f44;
  font-size: 12px;
  font-weight: 800;
}

.lead-field input,
.lead-field select,
.lead-field textarea {
  width: 100%;
  min-width: 0;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid #dfd2d5;
  border-radius: 11px;
  color: var(--ink);
  background: #fffdfc;
  font: inherit;
  font-size: 14px;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.lead-field textarea {
  min-height: 92px;
  resize: vertical;
}

.lead-field input:focus,
.lead-field select:focus,
.lead-field textarea:focus {
  border-color: var(--crimson);
  box-shadow: 0 0 0 3px rgba(183, 25, 53, .1);
}

.lead-form-footer {
  margin-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.lead-form-footer p {
  max-width: 390px;
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
}

.lead-form-status {
  margin-top: 14px;
  color: var(--crimson-dark);
  font-size: 12px;
  font-weight: 700;
}

/* Privacy notice line under lead-form submit buttons (brochure and quotation
   dialogs, enquire.html). Muted text, underlined links. */
.form-privacy-note {
  display: block;
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

.form-privacy-note a {
  color: var(--crimson-dark);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.form-privacy-note a:hover {
  color: var(--crimson);
}

.form-privacy-note a:focus-visible {
  outline: 3px solid var(--crimson);
  outline-offset: 2px;
  border-radius: 2px;
}

/* When the note sits inside the footer row, it takes its own line below the
   submit button. */
.lead-form-footer:has(> .form-privacy-note) {
  flex-wrap: wrap;
}

.lead-form-footer > .form-privacy-note {
  order: 3;
  width: 100%;
  max-width: none;
  margin: 0;
  font-size: 12px;
  line-height: 1.55;
}

.enquiry-form .form-privacy-note {
  font-size: 13px;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.related-card {
  display: block;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--white);
  overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease;
}

.related-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-sm);
}

.related-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.related-card div {
  padding: 20px;
}

.related-card span {
  display: block;
  margin-bottom: 7px;
  color: var(--crimson);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.related-card h3 {
  margin: 0;
  font-size: 16px;
  line-height: 1.4;
}

.mobile-menu a.is-active {
  color: var(--crimson);
}

@media (max-width: 1100px) {
  .desktop-nav { gap: 20px; }
  .desktop-nav a { font-size: 13px; }
  .header-cta { display: none; }
  .hero-grid { gap: 45px; }
  .hero-visual { min-height: 530px; }
  .hero-image-wrap { height: 500px; }
  .hero-mini-image { left: -20px; width: 185px; height: 145px; }
  .about-grid { gap: 70px; }
  .about-image-main { width: 88%; }
  .value-card { padding: 30px 22px; }
  .program-grid { grid-template-columns: repeat(2, 1fr); }
  .impact-chip { right: -10px; }
  .testimonials-shell { padding: 65px 54px; gap: 55px; }
  .footer-main { gap: 38px; }
}

@media (max-width: 880px) {
  .desktop-nav { display: none; }
  .header-inner { height: 76px; }
  .menu-toggle {
    width: 44px;
    height: 44px;
    margin-left: auto;
    padding: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: var(--white);
    cursor: pointer;
  }
  .menu-toggle span {
    width: 19px;
    height: 2px;
    border-radius: 2px;
    background: var(--ink);
    transition: transform .25s ease, opacity .25s ease;
  }
  .menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .mobile-menu {
    position: fixed;
    inset: 76px 0 auto;
    height: calc(100dvh - 76px);
    display: block;
    padding: 26px 24px;
    border-top: 1px solid var(--line);
    background: #fffcf9;
    backdrop-filter: blur(18px);
    transform: translateX(102%);
    transition: transform .3s cubic-bezier(.2, .75, .3, 1);
    overflow-y: auto;
  }
  .mobile-menu.is-open { transform: none; }
  .mobile-menu nav { display: flex; flex-direction: column; }
  .mobile-menu nav > a:not(.button) { padding: 14px 4px; border-bottom: 1px solid var(--line); font-family: "Manrope", "Manrope Fallback", Arial, sans-serif; font-size: 20px; font-weight: 700; }
  .mobile-menu .button { margin-top: 24px; }
  .hero { min-height: 0; padding: 126px 0 70px; }
  .hero-grid, .about-grid, .why-grid, .faq-grid { grid-template-columns: 1fr; }
  .hero h1 { max-width: 760px; }
  .hero-copy > p { max-width: 680px; }
  .hero-visual { width: min(100%, 630px); min-height: 600px; margin-inline: auto; }
  .hero-image-wrap { width: 92%; height: 560px; }
  .hero-mini-image { left: 0; }
  .about-grid { gap: 70px; }
  .about-visual { width: min(100%, 620px); margin-inline: auto; }
  .about-copy { max-width: 680px; }
  .value-grid { grid-template-columns: repeat(2, 1fr); }
  .split-heading { grid-template-columns: 1fr; gap: 15px; }
  .split-heading > p { max-width: 650px; }
  .why-grid { gap: 60px; }
  .why-copy { max-width: 680px; }
  .why-visual { width: min(100%, 650px); margin-inline: auto; }
  .testimonials-shell { min-height: 0; grid-template-columns: 1fr; }
  .testimonial-intro { max-width: 600px; }
  .testimonial-stage { min-height: 310px; }
  .client-grid { grid-template-columns: repeat(3, 1fr); }
  .cta-panel { grid-template-columns: 1fr; gap: 35px; }
  .cta-actions { flex-direction: row; align-items: center; flex-wrap: wrap; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-wide { grid-column: span 1; }
  .faq-heading { position: static; max-width: 680px; }
  .footer-main { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 620px) {
  .container { width: min(calc(100% - 32px), var(--container)); }
  .brand img { width: 140px; }
  .section { padding: 78px 0; }
  .hero { padding: 115px 0 55px; }
  .hero h1 { font-size: clamp(42px, 12.5vw, 59px); }
  .hero-copy > p { font-size: 17px; }
  .hero-actions { align-items: stretch; }
  .hero-actions .button { width: 100%; }
  .hero-proof { gap: 10px; }
  .hero-proof strong { font-size: 17px; }
  .hero-proof span { max-width: 80px; line-height: 1.35; }
  .hero-visual { min-height: 470px; margin-top: 10px; }
  .hero-image-wrap { width: calc(100% - 12px); height: 430px; border-radius: 27px 27px 66px 27px; }
  .hero-mini-image { width: 145px; height: 115px; bottom: -5px; }
  .hero-floating-card { top: 18px; left: 18px; right: 18px; padding: 12px; }
  .hero-floating-card strong { font-size: 12px; }
  .hero-dots { right: 0; }
  .principle-row { min-height: 70px; justify-content: space-between; gap: 8px; }
  .principle-row span { font-size: 9px; }
  .principle-row i { width: 3px; height: 3px; }
  .section h2 { font-size: clamp(33px, 9.5vw, 44px); }
  .about-visual { min-height: 460px; }
  .about-image-main { width: 92%; height: 420px; }
  .about-image-small { width: 165px; height: 125px; }
  .experience-stamp { top: 27px; right: 0; width: 112px; height: 112px; }
  .experience-stamp strong { font-size: 27px; }
  .experience-stamp span { font-size: 8px; }
  .about-checks { grid-template-columns: 1fr; gap: 15px; }
  .value-grid, .program-grid { grid-template-columns: 1fr; }
  .program-category-heading { align-items: flex-start; flex-direction: column; gap: 7px; }
  .program-category-heading p { text-align: left; }
  .value-card { min-height: 280px; }
  .value-icon { margin-bottom: 38px; }
  .program-image { height: auto; aspect-ratio: 16 / 9; }
  .program-body { min-height: 190px; }
  .why-visual { min-height: 455px; }
  .why-visual > img { height: 455px; border-radius: 28px 28px 28px 72px; }
  .impact-card { left: 15px; bottom: -26px; width: 235px; }
  .impact-chip { top: 18px; right: 12px; font-size: 10px; }
  .testimonials-section { padding-top: 10px; }
  .testimonials-shell { width: 100%; padding: 58px 24px; border-radius: 0; gap: 35px; }
  .testimonial-stage { min-height: 355px; padding: 50px 25px 40px; }
  .testimonial-slide blockquote { font-size: 19px; }
  .quote-mark { right: 17px; }
  .testimonial-progress { left: 25px; right: 25px; }
  .client-grid { grid-template-columns: repeat(2, 1fr); }
  .client-grid > div { height: 105px; padding: 20px; }
  .client-grid img { max-width: 105px; max-height: 50px; }
  .cta-wrap { padding-top: 0; }
  .cta-wrap .container { width: 100%; }
  .cta-panel { min-height: 410px; padding: 52px 24px; border-radius: 0; }
  .cta-actions { align-items: flex-start; flex-direction: column; }
  .gallery-grid { grid-template-columns: 1fr; grid-auto-rows: 245px; }
  .gallery-tall { grid-row: span 1; }
  .gallery-item > .gallery-item-label, .gallery-item::after { opacity: 1; transform: none; }
  .faq-item button span { font-size: 15px; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 42px 25px; }
  .footer-brand, .footer-contact { grid-column: 1 / -1; }
  .footer-bottom { padding-block: 20px; flex-direction: column; align-items: flex-start; justify-content: center; }
  .whatsapp-button { width: 50px; height: 50px; right: 14px; bottom: 14px; }
  .lightbox { width: calc(100% - 16px); height: calc(100% - 24px); padding: 60px 15px 32px; border-radius: 18px; }
  .lightbox-nav { top: auto; bottom: 12px; transform: none; }
  .lightbox-prev { left: 15px; }
  .lightbox-next { right: 15px; }
  .lightbox figcaption { padding-inline: 50px; }
}

@media (max-width: 1100px) {
  .method-grid { grid-template-columns: repeat(2, 1fr); }
  .reviews-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 880px) {
  .page-hero { padding-top: 126px; }
  .page-hero-grid, .content-split, .content-split.reverse { grid-template-columns: 1fr; }
  .page-hero-copy { max-width: 720px; }
  .page-hero-media { width: min(100%, 680px); min-height: 500px; }
  .page-hero-media > img { height: 500px; }
  .page-hero-media.contain-media > img { height: 420px; }
  .content-split { gap: 60px; }
  .content-image { width: min(100%, 680px); }
  .metric-row { grid-template-columns: repeat(2, 1fr); }
  .metric-item:nth-child(2) { border-right: 0; }
  .metric-item:nth-child(-n+2) { border-bottom: 1px solid rgba(255, 255, 255, .1); }
  .mission-grid, .delivery-grid { grid-template-columns: repeat(2, 1fr); }
  .delivery-card:last-child { grid-column: 1 / -1; }
  .timeline { grid-template-columns: repeat(2, 1fr); }
  .timeline::before { display: none; }
  .programme-process { grid-template-columns: repeat(2, 1fr); }
  .course-toolbar { align-items: stretch; flex-direction: column; }
  .course-search { width: 100%; }
  .course-filter { justify-content: flex-start; }
  .gallery-page-grid { grid-template-columns: repeat(2, 1fr); }
  .course-detail-layout { grid-template-columns: 1fr; }
  .detail-sidebar { position: static; }
  .enquiry-card { max-width: 650px; }
  .gallery-page-grid .gallery-item:nth-child(1), .gallery-page-grid .gallery-item:nth-child(7) { grid-column: span 1; }
}

@media (max-width: 620px) {
  .page-hero { min-height: 0; padding: 116px 0 68px; }
  .page-hero h1 { font-size: clamp(42px, 12vw, 56px); }
  .page-lead { font-size: 17px; }
  .page-hero-actions .button { width: 100%; }
  .page-hero-media { min-height: 365px; }
  .page-hero-media > img { height: 365px; border-radius: 25px 25px 62px 25px; }
  .page-hero-media.contain-media { min-height: 365px; padding: 20px; }
  .page-hero-media.contain-media > img { height: 325px; }
  .page-hero-badge { left: 14px; bottom: -22px; padding: 15px 17px; }
  .page-section { padding: 76px 0; }
  .page-section h2 { font-size: clamp(32px, 9.5vw, 43px); }
  .content-image > img { min-height: 380px; }
  .content-image.image-contain { min-height: 390px; padding: 20px; }
  .metric-row { grid-template-columns: repeat(2, 1fr); }
  .metric-item { min-height: 135px; padding: 25px 17px; }
  .metric-item strong { font-size: 23px; }
  .metric-item span { font-size: 9px; }
  .mission-grid, .delivery-grid, .benefit-grid, .course-category-grid, .method-grid, .reviews-grid { grid-template-columns: 1fr; }
  .delivery-card:last-child { grid-column: auto; }
  .mission-card, .delivery-card { min-height: 290px; }
  .mission-card > span, .delivery-card > span { margin-bottom: 38px; }
  .timeline { grid-template-columns: 1fr; }
  .timeline-item { padding: 15px 0 15px 35px; }
  .timeline-item::before { top: 19px; }
  .programme-process { grid-template-columns: 1fr; }
  .process-step { min-height: 220px; }
  .course-toolbar { padding: 15px; }
  .course-filter { gap: 6px; }
  .course-filter button { padding: 8px 11px; }
  .course-category-card { padding: 23px 20px; }
  .course-category-heading { align-items: flex-start; }
  .course-category-heading { flex-direction: column; }
  .course-category-heading > div { width: 100%; }
  .method-step { min-height: 255px; }
  .method-step > span { margin-bottom: 38px; }
  .review-card { min-height: 300px; }
  .gallery-page-grid { grid-template-columns: 1fr; grid-auto-rows: 250px; }
  .course-meta { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .course-meta > :last-child:nth-child(odd) { grid-column: 1 / -1; }
  .outcome-grid, .related-grid { grid-template-columns: 1fr; }
  .outcome-card { min-height: 0; }
  .detail-main > section { margin-bottom: 55px; }
  .lead-modal { width: calc(100% - 18px); max-height: 94dvh; border-radius: 18px; }
  .lead-modal-shell { padding: 24px 20px; }
  .lead-modal-head { gap: 12px; }
  .lead-form-grid { grid-template-columns: 1fr; }
  .lead-field.span-2 { grid-column: auto; }
  .lead-form-footer { align-items: stretch; flex-direction: column; }
  .lead-form-footer .button { width: 100%; }
  .gallery-page-grid .gallery-item:nth-child(2), .gallery-page-grid .gallery-item:nth-child(6) { grid-row: span 1; }
  .page-cta-section { padding-bottom: 0; }
  .page-cta-section .container { width: 100%; }
  .page-cta-section .cta-panel { border-radius: 0; }
}

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

/* Keep complete photographs visible at every viewport size. Captions and
   decorative cards sit outside the frame so they cannot obscure participants. */
.hero-visual { min-height: 0; display: grid; grid-template-columns: 160px 1fr; gap: 16px; align-items: end; }
.hero-image-wrap { position: relative; top: auto; right: auto; grid-column: 1 / -1; width: 100%; height: auto; padding: 12px; border-radius: 24px; background: var(--white); }
.hero-image-wrap > img { height: auto; aspect-ratio: 4 / 3; object-fit: contain; transition: opacity .35s ease; }
.hero-image-wrap:hover > img { transform: none; }
.hero-image-tint { display: none; }
.hero-floating-card { position: static; margin-top: 12px; background: var(--crimson-dark); }
.hero-mini-image { position: static; width: 160px; height: 160px; transform: none; border-radius: 18px; }
.hero-mini-image img { object-fit: contain; border-radius: 0; }
.hero-dots { position: static; justify-self: end; align-self: center; flex-wrap: wrap; justify-content: flex-end; }
.about-visual { min-height: 0; display: grid; grid-template-columns: minmax(0, 1fr) 138px; gap: 18px; align-items: center; }
.about-image-main { grid-column: 1 / -1; width: 100%; height: auto; padding: 8px; border-radius: 20px; background: var(--white); }
.about-image-main img, .about-image-small img { height: auto; object-fit: contain; border-radius: 0; }
.about-image-small { position: static; width: min(100%, 240px); height: auto; border-radius: 18px; }
.experience-stamp { position: relative; top: auto; right: auto; width: 138px; height: 138px; }
.why-visual { min-height: 0; }
.why-visual > img { height: auto; object-fit: contain; border-radius: 16px; padding: 8px; background: var(--white); }
.impact-card { position: static; width: 100%; margin-top: 16px; }
.impact-chip { position: static; width: fit-content; margin-top: 12px; }
.page-hero-media, .page-hero-media.contain-media { min-height: 0; }
.page-hero-media > img, .page-hero-media.contain-media > img { height: auto; object-fit: contain; padding: 8px; border-radius: 16px; background: var(--white); }
.page-hero-badge { position: static; max-width: none; margin-top: 18px; }
.content-image > img { height: auto; min-height: 0; max-height: none; object-fit: contain; padding: 8px; border-radius: 16px; background: var(--white); }
.program-image { height: auto; aspect-ratio: 16 / 9; }
.program-image img, .related-card img { object-fit: contain; background: #f5f0ec; }
.program-card:hover .program-image img { transform: none; }
.program-image::after, .program-image > span { display: none; }
.gallery-grid, .gallery-page-grid { grid-auto-rows: auto; align-items: start; }
.gallery-grid .gallery-item, .gallery-page-grid .gallery-item:nth-child(n) { grid-column: auto; grid-row: auto; border: 1px solid var(--line); border-radius: 14px; background: var(--white); }
.gallery-item > img { display: block; height: auto; aspect-ratio: 1; object-fit: contain; padding: 8px; transition: filter .3s ease; }
.gallery-item:hover > img, .gallery-item:focus-visible > img { transform: none; }
.gallery-item::after { display: none; }
.gallery-item > .gallery-item-label { position: static; display: block; min-height: 52px; max-width: none; padding: 16px 14px; border-radius: 0; color: var(--ink); background: #f5f0ec; opacity: 1; transform: none; text-align: left; white-space: normal; }
.gallery-item[data-media="video"] > .gallery-item-label { padding-right: 58px; }
.gallery-play { top: auto; left: auto; right: 10px; bottom: 9px; width: 34px; height: 34px; transform: none; }
.gallery-play svg { width: 16px; height: 16px; }
.gallery-item:hover .gallery-play, .gallery-item:focus-visible .gallery-play { transform: none; }
@media (max-width: 620px) {
  .hero-visual { grid-template-columns: 130px 1fr; }
  .hero-mini-image { width: 130px; height: 130px; }
  .hero-floating-card { padding: 12px; }
}

/* Crawlable course navigation and detailed programme guides. */
.course-page .page-hero h1 { font-size: clamp(34px, 4.1vw, 56px); line-height: 1.15; }
.course-page .course-meta span { color: var(--muted); font-size: 11px; letter-spacing: .07em; }
.course-page .course-facts li { color: rgba(255,255,255,.78); }
.eyebrow { display: inline-block; margin-bottom: 13px; color: var(--crimson); font-size: 11px; font-weight: 800; line-height: 1.5; letter-spacing: .1em; text-transform: uppercase; }
.nav-programmes { display: flex; align-items: center; gap: 2px; }
.mega-toggle { display: grid; place-items: center; flex: 0 0 44px; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: transparent; cursor: pointer; }
.mega-toggle:hover, .mega-toggle[aria-expanded="true"] { color: var(--crimson); background: var(--crimson-soft); }
.mega-toggle svg { transition: transform .2s ease; }
.mega-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.mega-menu { position: absolute; top: 100%; left: 50%; width: min(calc(100% - 48px), var(--container)); max-height: calc(100dvh - 104px); padding: 28px 32px 20px; transform: translateX(-50%); overflow-y: auto; overscroll-behavior: contain; border: 1px solid var(--line); border-top: 3px solid var(--crimson); border-radius: 0 0 22px 22px; background: var(--white); box-shadow: var(--shadow-lg); }
.mega-menu[hidden] { display: none; }
.mega-top, .mega-bottom { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.mega-kicker { color: var(--crimson); font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.mega-top p { margin: 3px 0 0; font-family: "Manrope", "Manrope Fallback", Arial, sans-serif; font-size: 21px; font-weight: 700; letter-spacing: -.025em; }
.mega-columns { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 26px; margin: 24px 0; }
.mega-group h2 { margin: 0 0 10px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.mega-group { min-width: 0; align-self: start; }
.mega-group > summary { min-height: 48px; padding: 10px 4px; color: var(--crimson-dark); font: 800 15px/1.45 "Manrope","Manrope Fallback",Arial,sans-serif; cursor: pointer; }
.mega-group > summary span { font-weight: 500; color: var(--muted); white-space: nowrap; }
.mega-group[open] { padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.mega-group ul, .mobile-course-group ul, .catalogue-group ul { list-style: none; padding: 0; margin: 0; }
.desktop-nav .mega-menu a { display: flex; align-items: center; min-height: 44px; padding: 9px 8px; border-radius: 7px; font-size: 13px; line-height: 1.45; }
.desktop-nav .mega-menu a::after { display: none; }
.desktop-nav .mega-menu a:hover, .desktop-nav .mega-menu a[aria-current="page"] { color: var(--crimson-dark); background: var(--crimson-soft); }
.desktop-nav .mega-group h2 a { padding: 4px 8px; color: var(--crimson-dark); font-size: 15px; font-weight: 800; }
.desktop-nav .mega-menu .mega-all { flex-shrink: 0; gap: 10px; color: var(--crimson); }
.mega-bottom { padding-top: 14px; border-top: 1px solid var(--line); }
.desktop-nav .mega-bottom a { gap: 8px; }
.site-header :is(a, button, summary):focus-visible, .course-jump-links a:focus-visible, .catalogue-group a:focus-visible, .course-path-card:focus-visible, .course-faq summary:focus-visible, .brochure-preview:focus-visible { outline: 3px solid var(--crimson); outline-offset: 3px; }
.mobile-course-group { border-bottom: 1px solid var(--line); }
.mobile-course-group summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 52px; padding: 12px 4px; font-weight: 700; line-height: 1.4; list-style: none; cursor: pointer; }
.mobile-course-group summary::-webkit-details-marker { display: none; }
.mobile-course-group summary::after { content: "+"; color: var(--crimson); font-size: 24px; }
.mobile-course-group[open] summary::after { content: "−"; }
.mobile-course-group ul { margin: 0 0 15px 4px; padding-left: 12px; border-left: 2px solid var(--crimson); }
.mobile-course-group a { display: flex; align-items: center; min-height: 44px; padding: 10px 8px; border-radius: 6px; font-size: 15px; line-height: 1.45; }
.mobile-course-group a:hover, .mobile-course-group a[aria-current="page"] { color: var(--crimson-dark); background: var(--crimson-soft); }
.course-jump-links { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 20px; }
.course-jump-links a { display: inline-flex; align-items: center; min-height: 44px; color: var(--crimson-dark); font-size: 13px; font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }
.course-official-name { padding-left: 18px; border-left: 3px solid var(--orange); color: var(--muted); }
.course-outcomes { padding-left: 22px; }
.course-outcomes li { margin-bottom: 12px; padding-left: 5px; }
.course-outcomes li::marker { color: var(--crimson); }
.curriculum-list { list-style: none; padding: 0; margin: 24px 0 0; border-top: 1px solid var(--line); }
.curriculum-module { display: grid; grid-template-columns: 38px minmax(0, 1fr); gap: 18px; padding: 25px 0; border-bottom: 1px solid var(--line); }
.module-number { padding-top: 3px; color: var(--crimson); font-family: "Manrope", "Manrope Fallback", Arial, sans-serif; font-size: 14px; font-weight: 800; }
.curriculum-module h3, .curriculum-module h4 { margin-bottom: 9px; font-size: 20px; line-height: 1.4; }
.curriculum-module p { margin-bottom: 12px; color: var(--muted); font-size: 15px; }
.curriculum-module ul { margin: 0; padding-left: 19px; font-size: 15px; }
.curriculum-module li { margin-bottom: 7px; padding-left: 3px; }
.curriculum-module li::marker { color: var(--crimson); }
.detail-main .module-group-title { margin: 34px 0 0; color: var(--crimson-dark); font-size: 23px; line-height: 1.4; }
.course-application { padding: 30px; border-radius: var(--radius-md); background: var(--soft); border: 1px solid var(--line); }
.detail-main .course-application h2 { font-size: clamp(25px, 2.7vw, 34px); line-height: 1.25; }
.course-application p:last-child { margin-bottom: 0; }
.detail-main .course-note { color: var(--muted); font-size: 14px; }
.course-attend-options { padding-left: 22px; }
.course-attend-options li { margin-bottom: 12px; padding-left: 5px; }
.course-attend-options li::marker { color: var(--crimson); }
.course-ms { margin-top: 26px; padding: 22px 0 0 18px; border-top: 1px solid var(--line); border-left: 3px solid var(--orange); }
.detail-main .course-ms h3 { margin-bottom: 10px; font-size: 19px; line-height: 1.4; }
.course-ms p { margin-bottom: 0; color: var(--muted); font-size: 15px; }
.brochure-options { display: flex; align-items: center; flex-wrap: wrap; gap: 16px 24px; }
.brochure-preview { min-height: 44px; line-height: 1.6; }
.brochure-download { display: inline-flex; align-items: center; min-height: 44px; line-height: 1.6; }
.course-faq details { border-bottom: 1px solid var(--line); }
.course-faq summary { display: flex; align-items: center; justify-content: space-between; gap: 22px; padding: 21px 0; font-family: "Manrope", "Manrope Fallback", Arial, sans-serif; font-size: 17px; font-weight: 700; line-height: 1.5; cursor: pointer; list-style: none; }
.course-faq summary::-webkit-details-marker { display: none; }
.course-faq summary::after { content: "+"; flex-shrink: 0; color: var(--crimson); font-size: 25px; font-weight: 400; }
.course-faq details[open] summary::after { content: "−"; }
.course-faq details > div { padding: 0 30px 20px 0; }
.course-faq details p { margin: 0; color: var(--muted); }
.course-catalogue, .related-courses { background: var(--soft); }
.catalogue-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.catalogue-grid { align-items: start; }
.catalogue-group { min-width: 0; scroll-margin-top: 110px; }
.catalogue-group > summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 48px; cursor: pointer; font: 800 21px/1.4 "Manrope","Manrope Fallback",Arial,sans-serif; }
.catalogue-group > summary::after { content: "+"; color: var(--crimson); font-size: 25px; }
.catalogue-group[open] > summary::after { content: "−"; }
.catalogue-group > summary small { margin-left: auto; flex-shrink: 0; color: var(--muted); font: 500 12px/1.5 "DM Sans","DM Sans Fallback",Arial,sans-serif; }
.catalogue-group[open] > summary { margin-bottom: 16px; }
.catalogue-group > summary:focus-visible, .catalogue-search :is(input,select,button):focus-visible { outline: 3px solid var(--crimson); outline-offset: 3px; }
.catalogue-course-meta { display: block; padding: 0 0 12px; color: var(--muted); font-size: 13px; line-height: 1.5; }
.catalogue-search { display: grid; grid-template-columns: 2fr 1fr auto; align-items: end; gap: 20px; margin-bottom: 20px; }
.catalogue-search label { display: block; margin-bottom: 8px; font-size: 14px; font-weight: 700; }
.catalogue-search :is(input,select) { width: 100%; min-width: 0; min-height: 48px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 8px; color: var(--ink); background: var(--white); font: inherit; }
.catalogue-search .button { min-height: 48px; }
#course-results { margin-bottom: 24px; color: var(--muted); }
[data-course-entry][hidden], [data-course-group][hidden], #course-empty[hidden] { display: none !important; }
@media(max-width:700px) { .catalogue-search { grid-template-columns: 1fr; gap: 14px; } .catalogue-group > summary { font-size: 18px; gap: 10px; } }
.catalogue-group { padding: 30px; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--white); }
.catalogue-group h3 { margin-bottom: 12px; font-size: 23px; line-height: 1.3; }
.catalogue-group > p { margin-bottom: 18px; color: var(--muted); font-size: 15px; }
.catalogue-group a { display: flex; align-items: center; min-height: 44px; gap: 15px; padding: 10px 0; border-top: 1px solid var(--line); color: var(--crimson-dark); font-weight: 600; line-height: 1.5; }
.catalogue-group a::after { content: "→"; margin-left: auto; }
.catalogue-group a:hover { color: var(--crimson); text-decoration: underline; text-underline-offset: 4px; }
.home-course-index { margin-top: 56px; }
.home-course-index-title { margin-bottom: 22px; font-size: 23px; line-height: 1.3; }
.home-course-index ul { margin: 0; padding: 0; list-style: none; }
.home-course-index .catalogue-group { padding: 24px 28px; }
.home-course-index .catalogue-group h3 { font-size: 19px; }
.course-path-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.course-path-card { display: flex; flex-direction: column; min-width: 0; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--white); transition: border-color .2s ease, box-shadow .2s ease; }
.course-path-card:hover { border-color: var(--crimson); box-shadow: var(--shadow-sm); }
.course-path-card > span:first-child { margin-bottom: 18px; color: var(--crimson); font-size: 12px; font-weight: 700; }
.page-section .course-path-card h3 { margin-bottom: 14px; font-size: 23px; line-height: 1.3; }
.course-path-card p { color: var(--muted); font-size: 15px; }
.course-path-link { margin-top: auto; padding-top: 14px; color: var(--crimson-dark); font-size: 13px; font-weight: 700; }
.course-browse-links { display: flex; flex-wrap: wrap; gap: 15px 30px; margin: 30px 0 0; }
.course-browse-links a { min-height: 44px; }
@media (min-width: 881px) and (max-width: 1100px) {
  .mega-menu { padding-inline: 22px; }
  .mega-columns { gap: 16px; }
}
@media (max-width: 880px) {
  .course-path-grid { grid-template-columns: 1fr; }
  .course-path-card { padding: 26px; }
}
@media (max-width: 600px) {
  .catalogue-grid { grid-template-columns: 1fr; }
  .catalogue-group { padding: 24px; }
  .curriculum-module { grid-template-columns: 28px minmax(0, 1fr); gap: 12px; }
  .curriculum-module h3, .curriculum-module h4 { font-size: 18px; }
  .course-application { padding: 24px; }
}

/* Training topics, programme enquiries and trainer introductions. */
.partner-note { padding: 30px 0; background: var(--orange-soft); border-block: 1px solid var(--line); }
.partner-note-inner { display: grid; grid-template-columns: 220px 1fr auto; align-items: center; gap: 28px; }
.partner-note strong { line-height: 1.6; }
.partner-note strong span { color: var(--crimson-dark); font-size: 20px; }
.partner-note p { margin: 0; font-size: 15px; }
.hrdc-form-note { margin: 10px 0 0; color: var(--muted); font-size: 13px; line-height: 1.6; }
.enquiry-card .course-partner-note { margin: 24px 0 0; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.25); font-size: 13px; color: var(--white); }
.topic-invitation { display: flex; align-items: center; justify-content: space-between; gap: 36px; }
.topic-invitation > div { max-width: 720px; }
.topic-invitation h2 { max-width: 650px; }
.topic-invitation p { margin-bottom: 0; color: var(--muted); }
.topic-invitation > a { flex-shrink: 0; }
.section-action { margin-top: 32px; text-align: center; }
.course-enquiry-page .page-hero h1 { font-size: clamp(32px,3.2vw,49px); line-height: 1.13; }
.course-subtitle { max-width: 620px; margin: -5px 0 20px; color: var(--crimson-dark); font-size: 20px; line-height: 1.5; font-weight: 600; }
.course-enquiry-page .page-hero-actions { margin-top: 24px; }
.course-enquiry-page .course-meta { grid-template-columns: repeat(2,minmax(0,1fr)); }
.course-enquiry-page .course-meta > :last-child:nth-child(odd) { grid-column: 1/-1; }
.course-enquiry-page .course-meta strong { font-size: 15px; }
.course-enquiry-page .detail-sidebar { min-width: 0; }
.course-enquiry-page .course-facts li { align-items: flex-start; gap: 16px; }
.course-enquiry-page .course-facts strong { max-width: 70%; text-align: right; }
.course-enquiry-page .course-actions a { white-space: normal; }
.course-day { margin: 32px 0 40px; }
.course-day > h3 { font-size: 22px; line-height: 1.4; margin-bottom: 18px; color: var(--crimson-dark); }
.course-day h4 { font-size: 18px; line-height: 1.4; margin-bottom: 8px; }
.course-day .outline-item p { margin-bottom: 0; }
.trainer-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px; }
.trainer-card { display: flex; flex-direction: column; padding: 30px; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--white); scroll-margin-top: 110px; }
.trainer-card h3 { font-size: 25px; line-height: 1.2; overflow-wrap: anywhere; }
.trainer-card p { color: var(--muted); }
.trainer-card .trainer-speciality { font-size: 13px; line-height: 1.6; color: var(--crimson-dark); font-weight: 700; }
.trainer-card .text-link { margin-top: auto; padding-top: 14px; }
.topic-hero { padding-top: 140px; padding-bottom: 60px; }
.topic-hero h1 { font-size: clamp(38px,5vw,68px); max-width: 900px; }
.topic-hero h1 em { font-style: normal; color: var(--crimson); }
.topic-hero .page-lead { max-width: 740px; }
.topic-scope { padding: 23px 28px; max-width: 900px; border-left: 4px solid var(--crimson); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; background: var(--soft); }
.topic-scope p { margin: 6px 0 0; color: var(--muted); }
.topic-scope a { color: var(--crimson-dark); text-decoration: underline; text-underline-offset: 3px; }
.topic-tools { display: grid; grid-template-columns: minmax(240px,1fr) minmax(240px,.85fr) auto; align-items: end; gap: 20px; margin-bottom: 24px; }
.topic-tools label { display: block; margin-bottom: 8px; font-weight: 700; }
.topic-tools input,.topic-tools select { display: block; width: 100%; min-height: 52px; padding: 12px 15px; border: 1px solid #aa9499; border-radius: 10px; background: var(--white); color: var(--ink); }
.topic-tools input::placeholder { color: var(--muted); }
.topic-tools input:focus-visible,.topic-tools select:focus-visible,.topic-group summary:focus-visible { outline: 3px solid var(--crimson); outline-offset: 3px; }
.topic-results { color: var(--muted); font-size: 14px; }
.topic-group { border: 1px solid var(--line); border-radius: var(--radius-sm); margin-bottom: 14px; background: var(--white); overflow: clip; scroll-margin-top: 110px; }
.topic-group summary { display: flex; align-items: center; gap: 20px; padding: 23px 26px; cursor: pointer; list-style: none; font-family: "Manrope","Manrope Fallback",Arial,sans-serif; font-size: 19px; font-weight: 700; line-height: 1.45; transition: background .2s; }
.topic-group summary::-webkit-details-marker { display: none; }
.topic-group summary::after { content: "+"; color: var(--crimson); font-size: 26px; font-weight: 500; }
.topic-group[open] summary::after { content: "−"; }
.topic-group summary:hover,.topic-group[open] summary { background: var(--crimson-soft); }
.topic-group summary > span:first-child { flex: 1; }
.topic-count { flex-shrink: 0; color: var(--muted); font: 500 13px "DM Sans","DM Sans Fallback",Arial,sans-serif; }
.topic-list { margin: 0; padding: 0 26px; list-style: none; }
.topic-row { display: flex; align-items: center; justify-content: space-between; gap: 22px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.topic-row:last-child { border-bottom: 0; }
.topic-row > span { line-height: 1.55; }
.topic-row > a { flex-shrink: 0; padding: 10px 12px; min-height: 44px; border-radius: 8px; color: var(--crimson-dark); font-weight: 700; font-size: 14px; transition: background .2s; }
.topic-row > a:hover { background: var(--crimson-soft); }
.topic-empty { border: 1px dashed var(--line); padding: 32px; text-align: center; }
.additional-topics { padding: 0; }
.topic-tools[hidden],.topic-group[hidden],.topic-row[hidden],.topic-empty[hidden] { display: none; }
@media (max-width: 1000px) {
  .partner-note-inner { grid-template-columns: 1fr 2fr; }
  .partner-note .text-link { grid-column: 2; }
  .trainer-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .topic-invitation { align-items: flex-start; flex-direction: column; }
  .topic-tools { grid-template-columns: 1fr 1fr; }
  .topic-tools button { justify-self: start; }
}
@media (max-width: 600px) {
  .partner-note-inner,.trainer-grid,.topic-tools { grid-template-columns: 1fr; }
  .partner-note .text-link { grid-column: auto; }
  .partner-note-inner { gap: 14px; }
  .trainer-card { padding: 24px; }
  .topic-hero { padding-top: 112px; padding-bottom: 40px; }
  .topic-scope { padding: 20px; }
  .topic-group summary { padding: 18px; gap: 12px; font-size: 16px; flex-wrap: wrap; }
  .topic-group summary > span:first-child { flex-basis: calc(100% - 30px); }
  .topic-group summary::after { order: 1; }
  .topic-group summary .topic-count { flex-basis: 100%; order: 2; }
  .topic-list { padding-inline: 18px; }
  .topic-row { align-items: flex-start; gap: 8px; }
  .topic-row > a { padding-inline: 8px; }
  .topic-row > span { font-size: 15px; }
}

/* ==========================================================================
   Enquiry page (enquire.html). Merged from assets/enquiry.css on 2026-10-19
   (PERF-07) so the page needs a single render-blocking stylesheet. These
   classes are used only on enquire.html and no rule above styles them.
   ========================================================================== */
.enquiry-section { padding: clamp(116px, 11vw, 160px) 0 80px; }
.enquiry-intro { max-width: 730px; margin-bottom: 36px; }
.enquiry-intro h1 { margin: 12px 0 18px; font-size: clamp(34px, 4.5vw, 56px); line-height: 1.12; letter-spacing: -.04em; }
.enquiry-intro p { color: var(--muted); font-size: 18px; line-height: 1.7; }
.enquiry-layout { display: grid; grid-template-columns: minmax(0, 1.8fr) minmax(250px, 1fr); align-items: start; gap: 32px; }
.enquiry-form { min-width: 0; padding: clamp(22px, 3vw, 36px); border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--white); box-shadow: var(--shadow-sm); }
.enquiry-form h2, .enquiry-contact h2 { margin: 0 0 12px; font-size: 23px; }
.enquiry-form .form-hint { margin: 0 0 24px; color: var(--muted); font-size: 14px; }
.enquiry-form .lead-field label { font-size: 14px; }
.enquiry-form .lead-field :is(input, select, textarea) { font-size: 16px; }
.enquiry-form .lead-form-footer { align-items: start; flex-direction: column; }
.enquiry-form .lead-form-footer p { max-width: none; font-size: 13px; }
.enquiry-form .lead-form-status { font-size: 15px; line-height: 1.6; scroll-margin-block: 110px; }
.enquiry-form .lead-form-status:empty { margin: 0; }
.enquiry-form .lead-form-status[data-state="success"] { color: var(--green); }
.enquiry-form button:disabled { cursor: wait; opacity: .65; }
.enquiry-trap { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.enquiry-contact { padding: 30px; background: var(--soft); border: 1px solid var(--line); border-radius: var(--radius-md); }
.enquiry-contact p { color: var(--muted); line-height: 1.7; }
.enquiry-contact dl { margin: 24px 0; }
.enquiry-contact dt { color: var(--crimson-dark); font-size: 13px; font-weight: 800; }
.enquiry-contact dd { margin: 0 0 16px; }
.enquiry-contact dd a { display: inline-flex; align-items: center; min-height: 44px; overflow-wrap: anywhere; }
.enquiry-contact .button { width: 100%; margin: 0 0 16px; }
.enquiry-contact .enquiry-catalogue { display: inline-flex; align-items: center; min-height: 44px; color: var(--crimson-dark); font-weight: 700; text-decoration: underline; }
@media (max-width: 850px) { .enquiry-layout { grid-template-columns: 1fr; } }
@media (max-width: 620px) { .enquiry-form { padding: 22px 18px; } .enquiry-contact { padding: 24px; } }

/* Very narrow phones: keep "Tailor this topic" inside topic rows. */
@media (max-width: 359px) {
  .topic-row > a { padding-inline: 4px; font-size: 13px; }
}
