:root {
  --navy: #07182f;
  --navy-2: #0d2749;
  --blue: #123b69;
  --gold: #d99a32;
  --amber: #f6bd5a;
  --white: #ffffff;
  --surface: #f7f9fc;
  --surface-2: #edf3f8;
  --ink: #102033;
  --muted: #5d6c7f;
  --line: rgba(16, 32, 51, 0.12);
  --shadow: 0 18px 44px rgba(7, 24, 47, 0.13);
  --soft-shadow: 0 16px 36px rgba(17, 36, 59, 0.08);
  --radius: 18px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--surface);
  font-family: "Segoe UI", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  letter-spacing: 0;
  overflow-x: hidden;
}

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

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

button,
input,
select {
  font: inherit;
  letter-spacing: 0;
}

.skip-link {
  position: absolute;
  left: 18px;
  top: -80px;
  z-index: 40;
  padding: 12px 16px;
  color: var(--white);
  background: var(--navy);
  border-radius: 14px;
}

.skip-link:focus {
  top: 14px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 16px;
  min-height: 78px;
  padding: 12px 18px;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(16, 32, 51, 0.08);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 205px;
}

.brand img {
  width: 56px;
  height: 56px;
  object-fit: contain;
}

.brand-copy {
  display: grid;
  gap: 2px;
  color: var(--navy);
  line-height: 1;
}

.brand-copy strong {
  font-size: 19px;
  font-weight: 850;
}

.brand-copy small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 820;
  letter-spacing: 0.02em;
}

.menu-toggle {
  justify-self: end;
  min-height: 42px;
  padding: 10px 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--navy);
  background: var(--white);
  font-weight: 760;
}

.site-nav {
  grid-column: 1 / -1;
  display: none;
  gap: 4px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.site-nav[data-open="true"] {
  display: grid;
}

.site-nav a {
  padding: 12px 13px;
  border-radius: 14px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 700;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--navy);
  background: var(--surface-2);
}

.site-nav a[aria-current="page"] {
  color: var(--navy);
  background: #fff4d8;
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.language-toggle {
  position: relative;
  width: 86px;
  min-width: 86px;
  height: 42px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding: 4px;
  border: 1px solid rgba(16, 32, 51, 0.1);
  border-radius: 999px;
  color: var(--navy);
  background: var(--surface);
  box-shadow: var(--soft-shadow);
  font-weight: 820;
  cursor: pointer;
  overflow: hidden;
}

.language-toggle::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 4px;
  width: 36px;
  height: 32px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--gold), var(--amber));
  box-shadow: 0 8px 18px rgba(214, 167, 58, 0.22);
  transition: transform 180ms ease;
}

html[data-lang-mode="fr"] .language-toggle::before {
  transform: translateX(40px);
}

.toggle-label {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  font-size: 13px;
  line-height: 1;
}

html[data-lang-mode="en"] .toggle-label-fr,
html[data-lang-mode="fr"] .toggle-label-en {
  color: var(--muted);
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 999px;
  padding: 14px 22px;
  font-weight: 820;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover,
.button:focus-visible,
.language-toggle:hover,
.language-toggle:focus-visible,
.menu-toggle:hover,
.menu-toggle:focus-visible {
  transform: translateY(-1px);
}

.button-small {
  min-height: 44px;
  padding: 12px 14px;
}

.button-gold {
  color: var(--navy);
  background: linear-gradient(135deg, var(--gold), var(--amber));
  box-shadow: 0 14px 28px rgba(214, 167, 58, 0.28);
}

.button-gold:hover,
.button-gold:focus-visible {
  color: var(--navy);
  background: linear-gradient(135deg, #f3a62e, #ffd27a);
  box-shadow: 0 18px 36px rgba(214, 167, 58, 0.34);
}

.button-light {
  color: var(--navy);
  background: var(--white);
}

.button-light:hover,
.button-light:focus-visible {
  color: var(--navy);
  box-shadow: 0 12px 28px rgba(7, 24, 47, 0.14);
}

.button-navy {
  color: var(--white);
  background: var(--navy);
  box-shadow: 0 14px 28px rgba(7, 24, 47, 0.18);
}

.button-navy:hover,
.button-navy:focus-visible {
  background: var(--blue);
}

.button-outline-light {
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.08);
}

.hero {
  position: relative;
  min-height: 700px;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--white);
  background: var(--navy);
}

.hero-image,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
  object-position: 62% center;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(7, 24, 47, 0.96) 0%, rgba(7, 24, 47, 0.86) 38%, rgba(7, 24, 47, 0.42) 72%, rgba(7, 24, 47, 0.2) 100%),
    linear-gradient(0deg, rgba(7, 24, 47, 0.96) 0%, rgba(7, 24, 47, 0.12) 58%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(760px, calc(100% - 36px));
  margin: 0 auto;
  padding: 74px 0 126px;
}

.hero-panel {
  position: relative;
  z-index: 3;
  width: min(1120px, calc(100% - 36px));
  margin: -116px auto 0;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  color: var(--white);
  background: rgba(13, 39, 73, 0.82);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.hero-panel p {
  margin: 0 0 14px;
  color: var(--amber);
  font-weight: 820;
}

.hero-panel ol {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 22px;
  color: rgba(255, 255, 255, 0.88);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 850;
  text-transform: uppercase;
}

.eyebrow.light {
  color: var(--amber);
}

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

h1 {
  margin-bottom: 20px;
  font-size: 48px;
  line-height: 1.04;
  font-weight: 820;
}

h2 {
  margin-bottom: 16px;
  font-size: 34px;
  line-height: 1.12;
  font-weight: 800;
}

h3 {
  margin-bottom: 10px;
  font-size: 21px;
  line-height: 1.2;
  font-weight: 800;
}

.hero-lead,
.section-heading p,
.split-copy p,
.industry-copy p,
.final-cta p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.6;
}

.hero-lead {
  max-width: 680px;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 20px;
}

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

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 30px 18px;
  color: var(--navy);
  background: var(--surface-2);
  border-bottom: 1px solid var(--line);
}

.trust-strip span,
.trust-strip strong {
  border-radius: 999px;
  padding: 10px 14px;
}

.trust-strip span {
  flex-basis: 100%;
  color: var(--muted);
  font-size: 13px;
  font-weight: 820;
  letter-spacing: 0.14em;
  text-align: center;
  text-transform: uppercase;
}

.trust-strip strong {
  padding-inline: 10px;
  background: transparent;
  font-size: 20px;
}

.trust-strip small {
  flex-basis: 100%;
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}

.section {
  padding: 74px 18px;
  scroll-margin-top: 96px;
}

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

#admissions.section.white {
  background: linear-gradient(180deg, #ffffff 0%, #f0f5fa 100%);
}

.section.navy {
  color: var(--white);
  background: linear-gradient(180deg, var(--navy), #0a213e);
}

.section-heading {
  width: min(840px, 100%);
  margin: 0 auto 34px;
  text-align: center;
}

.section-heading.left {
  width: min(1120px, 100%);
  text-align: left;
}

.section.navy .section-heading p,
.section.navy .programme-card p,
.section.navy .programme-card dd {
  color: rgba(255, 255, 255, 0.75);
}

.pathway-grid,
.programme-grid,
.metric-grid,
.story-grid,
.event-grid,
.industry-grid {
  width: min(1120px, 100%);
  display: grid;
  gap: 18px;
  margin: 0 auto;
}

.pathway-card,
.programme-card,
.story-card,
.event-grid article,
.metric-grid article,
.quiz-panel,
.industry-grid article {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--soft-shadow);
}

.pathway-card {
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  gap: 12px;
  min-height: 304px;
  padding: 26px;
  border-color: rgba(7, 24, 47, 0.16);
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  box-shadow: 0 18px 42px rgba(7, 24, 47, 0.11);
}

.path-icon {
  width: 52px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  color: var(--navy);
  background: #fff4d8;
  border: 1px solid rgba(214, 167, 58, 0.35);
}

.path-icon svg {
  width: 27px;
  height: 27px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.pathway-card h3,
.pathway-card p {
  margin: 0;
}

.pathway-card p,
.programme-card dd,
.programme-card p,
.story-card span,
.event-grid p,
.industry-grid p,
.clean-list {
  color: var(--muted);
  line-height: 1.55;
}

.pathway-card a {
  align-self: end;
  width: 100%;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 15px;
  border-radius: 999px;
  color: var(--white);
  background: var(--navy);
  box-shadow: 0 12px 24px rgba(7, 24, 47, 0.16);
  font-size: 14px;
  font-weight: 820;
  line-height: 1.15;
}

.pathway-card a:hover,
.pathway-card a:focus-visible {
  background: var(--blue);
}

.card-link {
  align-self: end;
  width: fit-content;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--navy);
  background: var(--amber);
  font-weight: 820;
}

.card-link:hover,
.card-link:focus-visible {
  color: var(--white);
  background: var(--navy);
}

.split {
  width: min(1120px, calc(100% - 36px));
  display: grid;
  gap: 28px;
  align-items: center;
  margin: 0 auto;
}

.image-frame,
.image-banner {
  overflow: hidden;
  border-radius: 22px;
  background: var(--navy);
  box-shadow: var(--shadow);
}

.image-frame img,
.image-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.image-frame {
  min-height: 420px;
}

.purpose-section .image-frame {
  aspect-ratio: auto;
  min-height: 360px;
}

.purpose-section .image-frame img {
  object-position: center;
}

.split-copy {
  padding: 6px 0;
}

.feature-list {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

.feature-list div,
.clean-list li {
  padding: 18px;
  border-radius: 20px;
  background: var(--white);
  box-shadow: var(--soft-shadow);
}

.feature-list strong,
.feature-list span {
  display: block;
}

.feature-list strong {
  margin-bottom: 6px;
  color: var(--navy);
}

.feature-list span {
  color: var(--muted);
  line-height: 1.5;
}

.programme-grid {
  grid-template-columns: 1fr;
}

.programme-card {
  min-height: 410px;
  display: grid;
  gap: 18px;
  padding: 25px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow: none;
}

.programme-card dl {
  display: grid;
  gap: 12px;
  margin: 0;
}

.programme-card div {
  display: grid;
  gap: 3px;
}

.programme-card dt {
  color: var(--amber);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.programme-card dd {
  margin: 0;
  font-size: 15px;
}

.programme-card .card-link {
  color: var(--navy);
  background: var(--amber);
  box-shadow: 0 12px 22px rgba(214, 167, 58, 0.2);
}

.outcomes-section {
  background: var(--surface);
}

.metric-grid {
  grid-template-columns: 1fr;
}

.metric-grid article {
  min-height: 158px;
  display: grid;
  align-content: center;
  gap: 8px;
  padding: 26px;
  text-align: center;
}

.metric-grid strong {
  color: var(--navy);
  font-size: 44px;
  line-height: 1;
}

.metric-grid span {
  color: var(--muted);
  font-weight: 760;
}

.story-grid {
  grid-template-columns: 1fr;
}

.story-card {
  overflow: hidden;
}

.story-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.story-card div {
  padding: 24px;
}

.story-card p {
  margin-bottom: 8px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 850;
  text-transform: uppercase;
}

.clean-list {
  display: grid;
  gap: 12px;
  margin: 24px 0;
  padding: 0;
  list-style: none;
}

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

.image-banner {
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto 34px;
}

.image-banner img {
  aspect-ratio: 16 / 9;
}

.industry-copy {
  width: min(1120px, 100%);
  margin: 0 auto;
}

.industry-grid {
  margin-top: 24px;
}

.industry-grid article {
  padding: 24px;
}

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

.home-feature-grid {
  width: min(1120px, 100%);
  display: grid;
  gap: 22px;
  margin: 0 auto;
}

.home-link-feature {
  overflow: hidden;
  display: grid;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--soft-shadow);
}

.home-link-feature img {
  width: 100%;
  aspect-ratio: 16 / 7;
  object-fit: cover;
}

.home-link-copy {
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 26px;
}

.home-link-copy h3,
.home-link-copy p {
  margin: 0;
}

.home-link-copy > p:not(.eyebrow) {
  color: var(--muted);
  line-height: 1.55;
}

.home-link-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 6px;
}

.home-link-actions .button-light {
  border-color: var(--line);
  color: var(--navy);
  background: var(--surface);
}

.event-grid {
  grid-template-columns: 1fr;
}

.event-grid article {
  min-height: 192px;
  padding: 26px;
}

.event-grid span {
  display: block;
  margin-bottom: 14px;
  color: var(--navy);
  font-size: 22px;
  line-height: 1.2;
  font-weight: 820;
}

.application-section {
  background:
    linear-gradient(180deg, rgba(245, 247, 251, 0.96), rgba(237, 242, 247, 0.96)),
    url("assets/training-workshop.jpg") center / cover no-repeat;
}

.quiz-panel {
  width: min(1120px, 100%);
  display: grid;
  gap: 24px;
  margin: 0 auto;
  padding: 30px;
  background: rgba(255, 255, 255, 0.97);
}

.form-section {
  display: grid;
  gap: 14px;
  padding: 0;
  border: 0;
  background: transparent;
}

.form-section + .form-section {
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.form-section h3 {
  margin: 0;
  color: var(--blue);
  font-size: 16px;
  line-height: 1.25;
}

.form-grid {
  display: grid;
  gap: 14px;
}

.field {
  display: grid;
  gap: 8px;
  min-height: 98px;
  padding: 16px;
  border: 1px solid rgba(16, 32, 51, 0.14);
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(17, 36, 59, 0.05);
}

.field span {
  color: var(--navy);
  font-size: 13px;
  font-weight: 820;
}

.field input,
.field select {
  width: 100%;
  min-height: 40px;
  border: 0;
  outline: 0;
  color: var(--ink);
  background: transparent;
}

.quiz-actions {
  display: grid;
  gap: 14px;
}

.quiz-actions p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.result-panel {
  display: block;
  min-height: 96px;
  padding: 20px;
  border: 1px solid rgba(16, 32, 51, 0.1);
  border-radius: 16px;
  color: var(--ink);
  background: var(--surface);
  box-shadow: none;
}

.result-panel strong,
.result-panel span {
  display: block;
}

.result-panel strong {
  margin-bottom: 8px;
  color: #14745d;
  font-size: 18px;
}

.result-panel span {
  color: var(--muted);
  line-height: 1.5;
}

.follow-up-panel {
  display: grid;
  gap: 18px;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.follow-up-panel b {
  display: block;
  margin-bottom: 6px;
  color: var(--navy);
  font-size: 18px;
}

.follow-up-panel p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.follow-up-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.final-cta {
  padding: 84px 18px;
  scroll-margin-top: 96px;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(7, 24, 47, 0.98), rgba(7, 24, 47, 0.82)),
    url("assets/offshore-training.jpg") center / cover no-repeat;
}

.final-cta > div {
  width: min(900px, 100%);
  margin: 0 auto;
  text-align: center;
}

.final-cta p {
  color: rgba(255, 255, 255, 0.78);
}

.final-cta .hero-actions {
  justify-content: center;
  margin-top: 26px;
}

.site-footer {
  display: grid;
  gap: 18px;
  padding: 32px 18px 42px;
  color: rgba(255, 255, 255, 0.7);
  background: var(--navy);
}

.site-footer div {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
  font-weight: 780;
}

.site-footer img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.site-footer p {
  margin: 0;
  line-height: 1.5;
}

.page-hero {
  position: relative;
  overflow: hidden;
  padding: 92px 18px 80px;
  color: var(--white);
  background: var(--navy);
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 24, 47, 0.96), rgba(7, 24, 47, 0.78), rgba(7, 24, 47, 0.42)),
    var(--page-image, url("assets/academy-hero-ai.jpg")) center / cover no-repeat;
}

.admissions-hero::before {
  background-position: center 42%;
}

.programmes-hero::before,
.about-hero::before {
  background-position: center 46%;
}

.funding-hero::before {
  background-position: center 50%;
}

.employers-hero::before {
  background-position: center 48%;
}

.government-hero::before {
  background-position: center 52%;
}

.contact-hero::before {
  background-position: center 34%;
}

.careers-hero::before {
  background-position: center 42%;
}

.student-life-hero::before {
  background-position: center 36%;
}

.page-hero-inner {
  position: relative;
  z-index: 1;
  width: min(1120px, 100%);
  margin: 0 auto;
}

.page-hero h1 {
  width: min(780px, 100%);
  margin-bottom: 18px;
  font-size: 46px;
}

.page-hero p {
  width: min(690px, 100%);
  color: rgba(255, 255, 255, 0.82);
  font-size: 20px;
  line-height: 1.55;
}

.page-hero .hero-actions {
  margin-top: 28px;
}

.page-section {
  padding: 72px 18px;
  background: var(--surface);
}

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

.page-section.navy {
  color: var(--white);
  background: var(--navy);
}

.page-wrap {
  width: min(1120px, 100%);
  margin: 0 auto;
}

.two-column {
  display: grid;
  gap: 26px;
}

.content-card,
.detail-card,
.timeline-card,
.contact-block,
.table-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--soft-shadow);
}

.content-card,
.detail-card,
.timeline-card,
.contact-block {
  padding: 26px;
}

.content-card.dark,
.detail-card.dark {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: none;
}

.content-card p,
.detail-card p,
.timeline-card p,
.contact-block p,
.programme-detail p {
  color: var(--muted);
  line-height: 1.58;
}

.page-section.navy .content-card p,
.page-section.navy .detail-card p,
.content-card.dark p,
.detail-card.dark p {
  color: rgba(255, 255, 255, 0.75);
}

.detail-grid,
.programme-detail-grid,
.contact-grid,
.check-grid,
.glossary-grid {
  display: grid;
  gap: 18px;
}

.programme-detail {
  display: grid;
  gap: 18px;
  min-height: 100%;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--soft-shadow);
}

.programme-detail .button {
  align-self: end;
  width: fit-content;
  margin-top: 4px;
}

.admissions-next-grid {
  grid-template-columns: 1fr;
}

.programme-meta {
  display: grid;
  gap: 10px;
}

.programme-meta div {
  display: grid;
  gap: 3px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
}

.programme-meta dt {
  color: var(--gold);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.programme-meta dd {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.timeline {
  display: grid;
  gap: 16px;
  counter-reset: steps;
}

.timeline-card {
  position: relative;
  padding-left: 78px;
}

.timeline-card::before {
  counter-increment: steps;
  content: "0" counter(steps);
  position: absolute;
  left: 24px;
  top: 26px;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: var(--navy);
  background: linear-gradient(135deg, var(--gold), var(--amber));
  font-weight: 850;
}

.table-card {
  overflow: hidden;
}

.responsive-table {
  width: 100%;
  border-collapse: collapse;
}

.responsive-table th,
.responsive-table td {
  padding: 17px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.responsive-table th {
  color: var(--navy);
  background: var(--surface);
  font-size: 13px;
  text-transform: uppercase;
}

.responsive-table td {
  color: var(--muted);
  line-height: 1.45;
}

.contact-form {
  display: grid;
  gap: 14px;
}

.contact-form.contact-block {
  padding: 26px;
  background: var(--white);
}

.contact-form-section {
  display: grid;
  gap: 14px;
  padding: 0;
  border: 0;
  background: transparent;
}

.contact-form-section:nth-of-type(2) {
  padding-top: 20px;
  border-top: 1px solid var(--line);
  background: transparent;
}

.contact-form-section h3 {
  margin: 0;
  color: var(--navy);
  font-size: 18px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--navy);
  font-size: 13px;
  font-weight: 820;
}

.contact-form textarea {
  min-height: 130px;
  resize: vertical;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 15px 16px;
  color: var(--ink);
  background: #ffffff;
}

.note-pill {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--navy);
  background: #fff4d8;
  font-size: 13px;
  font-weight: 820;
}

[data-reveal] {
  opacity: 1;
  transform: translateY(18px);
  transition: transform 520ms ease;
}

[data-reveal].is-visible {
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

.field-wide {
  grid-column: 1 / -1;
}

.analytics-panel {
  position: fixed;
  z-index: 1000;
  right: 18px;
  bottom: 18px;
  left: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  max-width: 860px;
  margin: 0 auto;
  padding: 18px 20px;
  color: #fff;
  background: #082f49;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 18px 48px rgba(2, 24, 39, 0.28);
}

.analytics-panel strong {
  display: block;
  margin-bottom: 5px;
  font-size: 1rem;
}

.analytics-panel p {
  max-width: 610px;
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.9rem;
  line-height: 1.45;
}

.analytics-actions {
  display: flex;
  flex: 0 0 auto;
  gap: 8px;
}

.analytics-panel .button {
  min-width: 94px;
}

.analytics-manage {
  position: fixed;
  z-index: 900;
  right: 12px;
  bottom: 10px;
  padding: 6px 8px;
  color: #334155;
  background: #fff;
  border: 1px solid #cbd5e1;
  font: inherit;
  font-size: 0.72rem;
  cursor: pointer;
}

@media (max-width: 680px) {
  .analytics-panel {
    align-items: stretch;
    flex-direction: column;
  }

  .analytics-actions,
  .analytics-actions .button {
    width: 100%;
  }
}

@media (min-width: 680px) {
  h1 {
    font-size: 62px;
  }

  h2 {
    font-size: 42px;
  }

  .hero-content {
    width: min(1120px, calc(100% - 72px));
  }

  .hero-panel {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 22px;
    align-items: center;
  }

  .hero-panel p {
    margin: 0;
  }

  .hero-panel ol {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    padding-left: 18px;
  }

  .section {
    padding: 92px 36px;
  }

  .pathway-grid,
  .metric-grid,
  .story-grid,
  .event-grid,
  .industry-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .home-feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .detail-grid,
  .programme-detail-grid,
  .contact-grid,
  .check-grid,
  .glossary-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .quiz-actions {
    grid-template-columns: auto 1fr;
    align-items: center;
  }

  .follow-up-panel {
    grid-template-columns: 1fr auto;
    align-items: center;
  }
}

@media (min-width: 1040px) {
  .site-header {
    grid-template-columns: auto minmax(0, 1fr) auto;
    padding: 14px 34px;
  }

  .brand img {
    width: 58px;
    height: 58px;
  }

  .menu-toggle {
    display: none;
  }

  .site-nav {
    grid-column: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 2px;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    min-width: 0;
  }

  .site-nav a {
    padding: 8px 5px;
    font-size: 11.5px;
    line-height: 1.1;
    white-space: nowrap;
  }

  .hero {
    min-height: 700px;
  }

  .hero-content {
    padding-bottom: 126px;
  }

  h1 {
    width: min(780px, 100%);
    font-size: 64px;
  }

  .hero-lead {
    font-size: 22px;
  }

  .hero-panel {
    margin-top: -128px;
  }

  .pathway-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .split {
    grid-template-columns: 0.95fr 1.05fr;
  }

  .purpose-section {
    align-items: stretch;
  }

  .purpose-section .image-frame {
    height: 100%;
  }

  .funding-section {
    grid-template-columns: 1.05fr 0.95fr;
  }

  .programme-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .metric-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .story-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .industry-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .event-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .form-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .page-hero {
    padding: 118px 36px 108px;
  }

  .page-hero h1 {
    font-size: 64px;
  }

  .page-section {
    padding: 92px 36px;
  }

  .two-column {
    grid-template-columns: 0.95fr 1.05fr;
    align-items: start;
  }

  .detail-grid,
  .check-grid,
  .glossary-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .programme-detail-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .contact-grid {
    grid-template-columns: 0.8fr 1.2fr;
  }

  .admissions-next-grid {
    grid-template-columns: 1fr;
  }

  .site-footer {
    grid-template-columns: auto minmax(0, 650px);
    align-items: center;
    justify-content: space-between;
    padding-left: 44px;
    padding-right: 44px;
  }

  .site-footer p {
    text-align: right;
  }
}

@media (min-width: 1220px) {
  .site-nav a {
    padding-left: 5px;
    padding-right: 5px;
    font-size: 11.5px;
  }
}

@media (max-width: 520px) {
  .header-actions {
    grid-column: 1 / -1;
    justify-content: stretch;
  }

  .header-actions .button {
    flex: 1;
  }

  .hero-actions .button,
  .final-cta .button {
    width: 100%;
  }

  .hero {
    min-height: 620px;
  }

  .hero-content {
    padding-top: 48px;
    padding-bottom: 44px;
  }

  .hero-lead {
    margin-bottom: 22px;
    font-size: 17px;
    line-height: 1.5;
  }

  h1 {
    font-size: 40px;
  }

  h2 {
    font-size: 30px;
  }
}

/* --- Soft-launch additions --- */
.consent-row {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.9rem;
  line-height: 1.45;
  margin: 0.4rem 0 0.9rem;
  max-width: 62ch;
}

.consent-row input[type="checkbox"] {
  margin-top: 0.2rem;
  width: 1.05rem;
  height: 1.05rem;
  flex: none;
  accent-color: #123;
}

.consent-row a {
  color: inherit;
  text-decoration: underline;
}

.hidden-field {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
  opacity: 0;
  pointer-events: none;
}

.form-status {
  display: block;
  margin-top: 0.75rem;
  font-size: 0.92rem;
  font-weight: 600;
  min-height: 1.2em;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.1rem;
  justify-content: center;
  margin-top: 0.5rem;
  font-size: 0.85rem;
}

.footer-links a {
  color: inherit;
  text-decoration: underline;
}
