/* ============ Design tokens ============ */
:root,
[data-theme="light"] {
  --page: #fcfcfa;
  --surface: #ffffff;
  --surface-muted: #f4f4f1;
  --text: #131311;
  --text-muted: #64645e;
  --border: rgba(15, 15, 12, 0.1);
  --border-soft: rgba(15, 15, 12, 0.06);

  --brand-1: #0f4c3a;
  --brand-2: #1c7a52;
  --accent: #16a34a;
  --accent-soft: #e7f5ec;
  --accent-soft-text: #0f6b3f;

  --primary-btn-bg: #0f4c3a;
  --primary-btn-text: #ffffff;
  --primary-btn-hover: #146247;
  --on-accent: #ffffff;

  /* Always-dark brand band used by the ALP section and the closing CTA */
  --band-bg: radial-gradient(70% 90% at 100% 0%, rgba(52, 211, 153, 0.22), transparent 60%), linear-gradient(135deg, #0a3527 0%, #0f4c3a 55%, #12603f 100%);
  --band-text: #ecfdf5;
  --band-muted: rgba(236, 253, 245, 0.74);
  --band-line: rgba(255, 255, 255, 0.14);

  --radius-sm: 12px;
  --radius-md: 16px;
  --radius-lg: 20px;

  --shadow-sm: 0 1px 2px rgba(15, 15, 12, 0.04);
  --shadow-md: 0 10px 30px -8px rgba(15, 45, 30, 0.12);
  --shadow-lg: 0 24px 60px -18px rgba(15, 45, 30, 0.28);

  --error: #dc2626;
  --error-soft: #fef2f2;
}

[data-theme="dark"] {
  --page: #0e120f;
  --surface: #161b17;
  --surface-muted: #1b211c;
  --text: #f2f3ef;
  --text-muted: #a2a89f;
  --border: rgba(255, 255, 255, 0.1);
  --border-soft: rgba(255, 255, 255, 0.06);

  --brand-1: #0f4c3a;
  --brand-2: #22a06b;
  --accent: #34d399;
  --accent-soft: rgba(52, 211, 153, 0.12);
  --accent-soft-text: #5eead4;

  --primary-btn-bg: #1b7f53;
  --primary-btn-text: #ffffff;
  --primary-btn-hover: #208d5d;
  --on-accent: #052e1f;

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 10px 30px -8px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 24px 60px -18px rgba(0, 0, 0, 0.75);

  --error: #f87171;
  --error-soft: rgba(248, 113, 113, 0.12);
}

/* ============ Reset ============ */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--page);
  color: var(--text);
  font-family: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  transition: background-color .25s ease, color .25s ease;
}

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

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

ul {
  list-style: none;
}

button {
  font: inherit;
}

h1,
h2,
h3 {
  letter-spacing: -0.02em;
}

h2 {
  font-weight: 800;
}

.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ============ Buttons ============ */
/* Explicit border reset: without it <button class="btn"> keeps the UA's 2px outset border */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: none;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease, box-shadow .15s ease, transform .1s ease;
}

.btn svg {
  flex-shrink: 0;
  transition: transform .15s ease;
}

.btn:hover .btn-arrow {
  transform: translateX(3px);
}

.btn:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--accent) 55%, transparent);
  outline-offset: 2px;
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background: var(--primary-btn-bg);
  color: var(--primary-btn-text);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.12);
}

.btn-primary:hover {
  background: var(--primary-btn-hover);
  box-shadow: 0 6px 16px -6px rgba(15, 76, 58, 0.45);
}

.btn-ghost {
  background: var(--surface);
  color: var(--text);
  border-color: var(--border);
}

.btn-ghost:hover {
  background: var(--surface-muted);
  border-color: color-mix(in srgb, var(--text) 22%, transparent);
}

.btn-sm {
  min-height: 36px;
  padding: 0 16px;
  font-size: 13px;
}

.btn-lg {
  min-height: 52px;
  padding: 0 28px;
  font-size: 15px;
}

@media (prefers-reduced-motion: reduce) {
  .btn:hover .btn-arrow,
  .btn:active {
    transform: none;
  }
}

/* ============ Badge ============ */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-soft-text);
  font-size: 13px;
  font-weight: 600;
}

.badge svg {
  flex-shrink: 0;
}

.badge-light {
  background: rgba(255, 255, 255, 0.5);
  color: var(--brand-1);
}

[data-theme="dark"] .badge-light {
  background: rgba(255, 255, 255, 0.12);
  color: var(--accent-soft-text);
}

/* ============ Header ============ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--page) 85%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-soft);
}

.header-inner {
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  transition: opacity .15s ease, transform .15s ease;
}

.brand:hover {
  opacity: .92;
  transform: translateY(-1px);
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08), 0 0 0 1px var(--border-soft);
  padding: 3px;
  flex-shrink: 0;
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease;
}

.brand:hover .brand-mark {
  transform: scale(1.05);
  box-shadow: 0 4px 14px rgba(15, 76, 58, 0.22), 0 0 0 1px var(--accent);
}

.brand-logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.brand-name {
  color: var(--text);
  font-size: 16px;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 14px;
  color: var(--text-muted);
  white-space: nowrap;
}

.main-nav a:hover {
  color: var(--text);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.theme-toggle {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.theme-toggle:hover {
  background: var(--surface-muted);
}

.theme-toggle .icon-moon {
  display: none;
}

[data-theme="dark"] .theme-toggle .icon-sun {
  display: none;
}

[data-theme="dark"] .theme-toggle .icon-moon {
  display: block;
}

.mobile-menu-btn {
  display: none;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: background-color .15s ease, color .15s ease;
}

.mobile-menu-btn:hover {
  background: var(--surface-muted);
}

.mobile-menu-btn .icon-close {
  display: none;
}

.mobile-menu-btn.active .icon-menu {
  display: none;
}

.mobile-menu-btn.active .icon-close {
  display: block;
}

.mobile-nav-drawer {
  display: none;
  background: var(--surface);
  border-bottom: 1px solid var(--border-soft);
  box-shadow: var(--shadow-md);
  padding: 16px 24px 20px;
  animation: menu-slide .2s ease-out;
}

.mobile-nav-drawer:not([hidden]) {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

@keyframes menu-slide {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mobile-nav-link {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  padding: 10px 4px;
  border-bottom: 1px solid var(--border-soft);
  display: block;
  transition: color .15s ease;
}

.mobile-nav-link:last-child {
  border-bottom: none;
}

.mobile-nav-link:hover {
  color: var(--accent);
}

.mobile-drawer-btn {
  width: 100%;
  justify-content: center;
}

/* ============ Hero ============ */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 72px 0 96px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(55% 60% at 88% 18%, color-mix(in srgb, var(--accent) 20%, transparent), transparent 70%),
    radial-gradient(45% 55% at 0% 100%, color-mix(in srgb, var(--brand-2) 16%, transparent), transparent 72%);
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--border-soft) 1px, transparent 1px),
    linear-gradient(90deg, var(--border-soft) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(70% 65% at 50% 35%, #000, transparent 78%);
  mask-image: radial-gradient(70% 65% at 50% 35%, #000, transparent 78%);
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 56px;
  align-items: center;
}

.hero-title {
  font-size: clamp(2.4rem, 3.9vw, 3.3rem);
  line-height: 1.03;
  font-weight: 800;
  letter-spacing: -0.035em;
  margin: 22px 0 20px;
}

.hero-title .accent {
  color: var(--accent);
}

.hero-sub {
  color: var(--text-muted);
  font-size: 17px;
  line-height: 1.65;
  max-width: 520px;
  margin-bottom: 32px;
}

.hero-sub strong {
  color: var(--text);
  font-weight: 700;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 40px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 520px;
}

.hero-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px 18px;
  border-radius: var(--radius-md);
  background: color-mix(in srgb, var(--surface) 82%, transparent);
  border: 1px solid var(--border-soft);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.hero-stat-num {
  font-size: 26px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.hero-stat-label {
  font-size: 12.5px;
  line-height: 1.35;
  color: var(--text-muted);
}

.hero-media {
  position: relative;
  padding-bottom: 76px;
}

.hero-stage {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 24px;
  overflow: hidden;
  background: #0b0f0c;
  box-shadow: 0 32px 80px -24px rgba(15, 76, 58, 0.5), 0 0 0 1px var(--border);
}

[data-theme="dark"] .hero-stage {
  box-shadow: 0 32px 80px -24px rgba(0, 0, 0, 0.85), 0 0 0 1px var(--border);
}

.hero-stage-video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-stage-shade {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.38) 0%, transparent 26%, transparent 58%, rgba(0, 0, 0, 0.6) 100%);
}

/* Top-right on desktop so the overlapping ALP card (bottom-left) never covers the controls */
.stage-bar {
  position: absolute;
  top: 14px;
  right: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.stage-sound {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border: 0;
  border-radius: 999px;
  background: #ffffff;
  color: #0f4c3a;
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  transition: transform .15s ease, background-color .15s ease;
}

.stage-sound:hover {
  transform: translateY(-1px);
  background: #ecfdf5;
}

.stage-icon-btn {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(0, 0, 0, 0.45);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  transition: background-color .15s ease;
}

.stage-icon-btn:hover {
  background: rgba(0, 0, 0, 0.65);
}

.stage-sound:focus-visible,
.stage-icon-btn:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

.stage-icon-btn .icon-play,
.stage-sound .icon-sound-on,
.hero-stage.is-paused .stage-icon-btn .icon-pause,
.hero-stage.has-sound .stage-sound .icon-sound-off {
  display: none;
}

.hero-stage.is-paused .stage-icon-btn .icon-play,
.hero-stage.has-sound .stage-sound .icon-sound-on {
  display: block;
}

.hero-alp-card {
  position: absolute;
  left: -32px;
  bottom: 0;
  z-index: 2;
  width: min(410px, 90%);
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 16px 18px;
  border-radius: 18px;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  transition: transform .2s ease, border-color .2s ease;
}

.hero-alp-card:hover {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--accent) 45%, var(--border));
}

.hero-alp-head {
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero-alp-ico {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  border-radius: 11px;
  background: var(--accent-soft);
  color: var(--accent-soft-text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.hero-alp-head strong {
  display: block;
  font-size: 14.5px;
  line-height: 1.3;
}

.hero-alp-head span span {
  display: block;
  font-size: 12.5px;
  color: var(--text-muted);
}

.hero-alp-steps {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  counter-reset: alp-step;
}

.hero-alp-steps li {
  counter-increment: alp-step;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 9px 4px 4px;
  border-radius: 999px;
  background: var(--surface-muted);
  border: 1px solid var(--border-soft);
  font-size: 12px;
  font-weight: 600;
}

.hero-alp-steps li::before {
  content: counter(alp-step);
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  color: var(--on-accent);
  font-size: 10.5px;
  font-weight: 800;
}

/* ============ Video embeds ============ */
.video-embed {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 14px;
  overflow: hidden;
  background: #000000;
}

.video-facade {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}

.video-facade img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}

.video-facade:hover img {
  transform: scale(1.03);
}

.video-facade:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: -3px;
}

.video-play {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 64px;
  height: 64px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding-left: 3px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--brand-1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35), 0 0 0 8px rgba(255, 255, 255, 0.22);
  transform: translate(-50%, -50%);
  transition: transform .2s ease;
}

.video-facade:hover .video-play {
  transform: translate(-50%, -50%) scale(1.08);
}

.video-duration {
  position: absolute;
  right: 10px;
  bottom: 10px;
  padding: 2px 7px;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.72);
  color: #ffffff;
  font-size: 12px;
  font-weight: 600;
}

.video-frame {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ============ About ============ */
.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  padding: 80px 24px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.eyebrow::before {
  content: "";
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
}

.about-copy h2 {
  font-size: clamp(1.75rem, 3vw, 2.4rem);
  line-height: 1.15;
  margin-bottom: 18px;
}

.body-text {
  color: var(--text-muted);
  font-size: 15px;
  margin-bottom: 14px;
  max-width: 480px;
}

.about-media {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* ============ Photos ============ */
.photo-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background: var(--surface-muted);
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-md);
}

.photo-card img {
  width: 100%;
  height: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.photo-card figcaption {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  padding: 8px 12px;
  border-radius: 10px;
  background: rgba(15, 15, 12, 0.62);
  color: #ffffff;
  font-size: 12.5px;
  line-height: 1.4;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

/* ============ Generic section ============ */
.section {
  padding: 88px 24px;
}

.section-head {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 48px;
}

.section-head h2 {
  font-size: clamp(1.75rem, 3vw, 2.4rem);
  line-height: 1.15;
  margin-bottom: 12px;
}

.section-sub {
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.6;
}

/* Shared lift on hover for the content cards */
.info-card,
.centre-card,
.story-card,
.step {
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.info-card:hover,
.centre-card:hover,
.story-card:hover,
.step:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: color-mix(in srgb, var(--accent) 35%, var(--border-soft));
}

@media (prefers-reduced-motion: reduce) {
  .info-card:hover,
  .centre-card:hover,
  .story-card:hover,
  .step:hover,
  .hero-alp-card:hover {
    transform: none;
  }
}

.card-grid {
  display: grid;
  gap: 18px;
}

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

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

.info-card,
.detail-card {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 26px;
  box-shadow: var(--shadow-sm);
}

.info-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent-soft-text);
  margin-bottom: 14px;
  flex-shrink: 0;
}

.info-ico svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
}

.info-card h3 {
  font-size: 16px;
  margin-bottom: 8px;
}

.info-card p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-muted);
}

.detail-card {
  background: var(--surface-muted);
  border-color: var(--border-soft);
}

.detail-label {
  display: block;
  font-size: 12px;
  color: var(--text-muted);
  margin: 12px 0 4px;
}

.detail-card h3 {
  font-size: 17px;
  margin-bottom: 4px;
}

.detail-card p {
  font-size: 13px;
  color: var(--text-muted);
}

/* ============ Steps ============ */
.steps {
  display: flex;
  align-items: stretch;
  gap: 16px;
}

.step {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 24px;
  flex: 1;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.step-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-soft-text);
  font-size: 12px;
  font-weight: 700;
}

.step-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--surface-muted);
  color: var(--accent);
  border: 1px solid var(--border-soft);
}

.step-ico svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
}

.step h3 {
  font-size: 15px;
  margin-bottom: 8px;
  line-height: 1.35;
}

.step p {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.5;
}

.step-cta-btn {
  margin-top: 14px;
  align-self: flex-start;
  width: auto;
  min-height: 36px;
  font-size: 13px;
  padding: 0 16px;
}

.step-arrow {
  align-self: center;
  color: var(--text-muted);
  font-size: 16px;
}

/* ============ Accelerated Learning Program ============ */
.alp-band {
  position: relative;
  overflow: hidden;
  background: var(--band-bg);
  color: var(--band-text);
  scroll-margin-top: 64px;
}

/* Faint grid, same motif as the hero */
.alp-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--band-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--band-line) 1px, transparent 1px);
  background-size: 56px 56px;
  opacity: .35;
  -webkit-mask-image: radial-gradient(60% 80% at 80% 30%, #000, transparent 75%);
  mask-image: radial-gradient(60% 80% at 80% 30%, #000, transparent 75%);
  pointer-events: none;
}

.alp {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  padding-top: 96px;
  padding-bottom: 96px;
}

.alp-band .badge {
  background: rgba(255, 255, 255, 0.1);
  color: #a7f3d0;
  border: 1px solid var(--band-line);
}

.alp-copy h2 {
  font-size: clamp(2rem, 3.6vw, 2.9rem);
  line-height: 1.1;
  margin: 18px 0 16px;
  color: #ffffff;
}

.alp-band .body-text {
  color: var(--band-muted);
  font-size: 16px;
  line-height: 1.65;
}

.alp-subhead {
  font-size: 15px;
  margin: 22px 0 10px;
  color: #ffffff;
}

/* White primary buttons on the dark brand band (ALP section and closing CTA) */
.alp-band .btn-primary,
.cta-box .btn-primary {
  background: #ffffff;
  color: #0f4c3a;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.alp-band .btn-primary:hover,
.cta-box .btn-primary:hover {
  background: #ecfdf5;
  box-shadow: 0 8px 20px -8px rgba(0, 0, 0, 0.45);
}

.alp-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
}

.alp-list li {
  position: relative;
  padding-left: 28px;
  font-size: 15px;
  color: var(--band-muted);
}

.alp-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: rgba(52, 211, 153, 0.18) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2334d399' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 11px no-repeat;
}

.alp-track {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
}

.alp-phase {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--band-line);
  border-radius: var(--radius-md);
  padding: 20px 22px;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  transition: background-color .2s ease, border-color .2s ease;
}

.alp-phase:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(52, 211, 153, 0.45);
}

.alp-phase .step-num {
  flex-shrink: 0;
  background: #34d399;
  color: #052e1f;
}

.alp-phase h3 {
  font-size: 16px;
  margin-bottom: 4px;
  color: #ffffff;
}

.alp-phase p {
  font-size: 14px;
  line-height: 1.55;
  color: var(--band-muted);
}

/* ============ Success stories ============ */
.story-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 18px;
}

.story-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.story-card .video-embed {
  border-radius: 0;
}

.story-body {
  padding: 22px 24px 24px;
}

.story-tag {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-soft-text);
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 12px;
}

.story-body h3 {
  font-size: 17px;
  line-height: 1.35;
  margin-bottom: 8px;
}

.story-body p {
  font-size: 14px;
  color: var(--text-muted);
}

@media (max-width: 1000px) {
  .story-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  /* Featured first card spans the row */
  .story-grid .story-card:first-child {
    grid-column: 1 / -1;
  }
}

/* On tablets the full-width featured card puts its video beside the text instead of above it */
@media (min-width: 601px) and (max-width: 1000px) {
  .story-grid .story-card:first-child {
    flex-direction: row;
  }

  .story-grid .story-card:first-child .video-embed {
    flex: 1.25 1 0;
    align-self: center;
  }

  .story-grid .story-card:first-child .story-body {
    flex: 1 1 0;
    align-self: center;
  }
}

.story-source {
  text-align: center;
  font-size: 12.5px;
  color: var(--text-muted);
  margin-top: 16px;
}

/* ============ Centres ============ */
section[id] {
  scroll-margin-top: 64px;
}

.centres-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 18px;
  align-items: stretch;
}

.centres-photo img {
  aspect-ratio: auto;
  min-height: 100%;
}

.centre-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.centre-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  flex: 1;
}

.centre-card h3 {
  font-size: 16px;
  line-height: 1.35;
  margin-bottom: 4px;
}

.centre-address {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent-soft-text);
  margin-bottom: 10px;
}

.centre-card p:not(.centre-address) {
  font-size: 13.5px;
  color: var(--text-muted);
}

.centre-link {
  display: inline-block;
  margin-top: 12px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text);
  border-bottom: 1px solid var(--accent);
}

.centre-link:hover {
  color: var(--accent);
}

/* ============ Gallery ============ */
.gallery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

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

.gallery-wide img {
  aspect-ratio: 21 / 9;
}

/* ============ FAQ ============ */
.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  font-size: 15px;
  font-weight: 600;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-soft-text);
  font-size: 16px;
  font-weight: 700;
  transition: transform .2s ease;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item p {
  padding: 0 20px 18px;
  font-size: 14px;
  color: var(--text-muted);
}

.faq-item a {
  color: var(--accent-soft-text);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ============ CTA ============ */
.cta-section {
  padding: 24px 24px 96px;
}

.cta-box {
  background: var(--band-bg);
  color: var(--band-text);
  border-radius: 28px;
  text-align: center;
  padding: 72px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  box-shadow: var(--shadow-lg);
}

.cta-box h2 {
  font-size: clamp(1.9rem, 3.4vw, 2.6rem);
  color: #ffffff;
}

.cta-box p {
  color: var(--band-muted);
  max-width: 480px;
}

.cta-box .badge-light,
[data-theme="dark"] .cta-box .badge-light {
  background: rgba(255, 255, 255, 0.12);
  color: #a7f3d0;
}

.cta-box .btn-ghost {
  background: transparent;
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.35);
}

.cta-box .btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.6);
}

.cta-box .btn {
  margin-top: 8px;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

/* ============ Footer ============ */
.site-footer {
  border-top: 1px solid var(--border-soft);
  padding-top: 56px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.1fr 1.2fr;
  gap: 32px;
  padding-bottom: 40px;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 13.5px;
  margin-top: 14px;
  max-width: 280px;
}

.footer-col h4 {
  font-size: 12px;
  letter-spacing: .04em;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.footer-col a,
.footer-col span {
  display: block;
  font-size: 13.5px;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.footer-col a:hover {
  color: var(--text);
}

.footer-bottom {
  border-top: 1px solid var(--border-soft);
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12.5px;
  color: var(--text-muted);
}

.footer-socials {
  display: flex;
  gap: 12px;
}

.footer-socials a {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: 1px solid var(--border);
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: color .15s ease, border-color .15s ease, background-color .15s ease, transform .15s ease;
}

.footer-socials a:hover {
  color: var(--text);
  border-color: var(--accent);
  background: var(--surface-muted);
  transform: translateY(-2px);
}

/* ============ Modals Common ============ */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(10, 12, 10, 0.55);
  backdrop-filter: blur(4px);
  opacity: 0;
  animation: overlay-in .18s ease forwards;
}

[data-theme="dark"] .modal-overlay {
  background: rgba(0, 0, 0, 0.65);
}

.modal-overlay[hidden] {
  display: none !important;
}

@keyframes overlay-in {
  to {
    opacity: 1;
  }
}

@keyframes modal-in {
  from {
    opacity: 0;
    transform: translateY(12px) scale(.98);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.modal {
  position: relative;
  width: 100%;
  max-width: 620px;
  max-height: min(90vh, 760px);
  display: flex;
  flex-direction: column;
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: var(--shadow-md);
  overflow: hidden;
  animation: modal-in .2s ease;
}

/* ============ Full-Screen Registration Modal ============ */
.modal-overlay-fullscreen {
  padding: 0 !important;
  background: var(--page) !important;
  backdrop-filter: none !important;
  width: 100vw !important;
  height: 100vh !important;
  max-width: 100vw !important;
  max-height: 100vh !important;
  z-index: 999;
  align-items: stretch !important;
  justify-content: stretch !important;
}

.modal-fullscreen {
  width: 100vw !important;
  max-width: 100vw !important;
  height: 100vh !important;
  max-height: 100vh !important;
  border-radius: 0 !important;
  border: none !important;
  box-shadow: none !important;
  display: flex !important;
  flex-direction: column !important;
  background: var(--page) !important;
  overflow: hidden !important;
  animation: none !important;
}

.modal-fullscreen .modal-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 16px 24px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
  flex-shrink: 0;
}

.modal-header-inner {
  max-width: 900px;
  margin: 0 auto;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.modal-header-inner .modal-head {
  padding-right: 0;
}

.modal-header-inner .modal-head .badge {
  margin-bottom: 6px;
}

.modal-header-inner .modal-head h2 {
  font-size: 22px;
  letter-spacing: -0.01em;
  margin-bottom: 2px;
}

.modal-header-inner .modal-head .modal-sub {
  color: var(--text-muted);
  font-size: 13.5px;
}

.modal-header-inner .modal-close {
  position: static;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface-muted);
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: background-color .15s ease, color .15s ease, transform .1s ease, border-color .15s ease;
}

.modal-header-inner .modal-close:hover {
  background: var(--border-soft);
  color: var(--text);
  border-color: var(--border);
  transform: scale(1.05);
}

.modal-header-inner .modal-close:active {
  transform: scale(0.95);
}

.modal-fullscreen .modal-body {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 32px 24px 64px;
  background: var(--page);
  scroll-behavior: smooth;
  overscroll-behavior: contain;
  /* Firefox scrollbar */
  scrollbar-width: thin;
  scrollbar-color: var(--border) transparent;
}

/* Rounded sleek scrollbar for Webkit/Blink */
.modal-fullscreen .modal-body::-webkit-scrollbar {
  width: 8px;
}

.modal-fullscreen .modal-body::-webkit-scrollbar-track {
  background: transparent;
  margin: 8px 0;
  border-radius: 999px;
}

.modal-fullscreen .modal-body::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 999px;
  border: 2px solid transparent;
  background-clip: padding-box;
  transition: background-color .15s ease;
}

.modal-fullscreen .modal-body::-webkit-scrollbar-thumb:hover {
  background: var(--text-muted);
  background-clip: padding-box;
}

.modal-fullscreen .modal-form {
  max-width: 860px;
  margin: 0 auto;
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 32px 36px 36px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.modal-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
  position: relative;
}

.form-row-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.form-row-split>div {
  display: flex;
  flex-direction: column;
  gap: 6px;
  position: relative;
}

.modal-form label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 4px;
}

.required-star {
  color: var(--accent);
  font-weight: 700;
}

.modal-form input:not([type="radio"]):not([type="checkbox"]),
.modal-form select,
.modal-form textarea {
  width: 100%;
  background: var(--surface-muted);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 11px 14px;
  font-size: 14px;
  font-family: inherit;
  color: var(--text);
  transition: border-color .15s ease, background-color .15s ease, box-shadow .15s ease;
}

/* Phone input with country code */
.phone-input-wrap {
  display: flex;
  align-items: center;
  position: relative;
  width: 100%;
}

.phone-prefix {
  position: absolute;
  left: 14px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  pointer-events: none;
  user-select: none;
  z-index: 2;
  letter-spacing: 0.02em;
}

.phone-input-wrap input {
  padding-left: 50px !important;
}

@media (max-width: 600px) {
  .phone-prefix {
    font-size: 15px;
    left: 13px;
  }

  .phone-input-wrap input {
    padding-left: 48px !important;
  }
}

.modal-form textarea {
  resize: vertical;
  min-height: 84px;
}

.modal-form input:not([type="radio"]):not([type="checkbox"]):focus,
.modal-form select:focus,
.modal-form textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: var(--surface);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.modal-form select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5' stroke='%2364645e' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 34px;
  max-width: 100%;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.modal-form select:invalid {
  color: var(--text-muted);
}

.modal-form select option {
  color: var(--text);
  white-space: normal;
  word-wrap: break-word;
}

/* Section Dividers */
.form-section-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
  margin-bottom: 2px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-soft);
  color: var(--text);
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.form-section-title:first-of-type {
  margin-top: 0;
}

.form-section-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-soft-text);
  font-size: 11px;
  font-weight: 700;
  flex-shrink: 0;
}

.input-uppercase {
  text-transform: uppercase;
}

.input-uppercase::placeholder {
  text-transform: none;
}

.optional-tag {
  font-size: 11px;
  font-weight: 400;
  color: var(--text-muted);
  margin-left: 4px;
}

/* Gender Radio Buttons */
.gender-radio-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  width: 100%;
}

.radio-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  background: var(--surface-muted);
  border: 1px solid var(--border);
  border-radius: 10px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  min-height: 44px;
  width: 100%;
  box-sizing: border-box;
  transition: border-color .15s ease, background-color .15s ease, box-shadow .15s ease;
  user-select: none;
}

.radio-card:hover {
  background: var(--surface);
  border-color: var(--accent);
}

.radio-card input[type="radio"] {
  appearance: none;
  -webkit-appearance: none;
  width: 18px !important;
  height: 18px !important;
  min-width: 18px !important;
  min-height: 18px !important;
  max-width: 18px !important;
  max-height: 18px !important;
  border: 2px solid var(--text-muted) !important;
  border-radius: 50% !important;
  margin: 0 !important;
  padding: 0 !important;
  cursor: pointer;
  display: grid;
  place-content: center;
  background: transparent !important;
  box-shadow: none !important;
  flex-shrink: 0 !important;
  transition: border-color .15s ease;
}

.radio-card input[type="radio"]::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  transform: scale(0);
  transition: transform .12s ease-in-out;
  background: var(--accent);
}

.radio-card input[type="radio"]:checked {
  border-color: var(--accent) !important;
}

.radio-card input[type="radio"]:checked::before {
  transform: scale(1);
}

.radio-card:has(input[type="radio"]:checked) {
  border-color: var(--accent);
  background: var(--surface);
  box-shadow: 0 0 0 2px var(--accent-soft);
}

/* Checkbox Cards */
.checkbox-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 10px;
  width: 100%;
}

.checkbox-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  background: var(--surface-muted);
  border: 1px solid var(--border);
  border-radius: 10px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  min-height: 44px;
  width: 100%;
  box-sizing: border-box;
  transition: border-color .15s ease, background-color .15s ease, box-shadow .15s ease;
  user-select: none;
}

.checkbox-card:hover {
  background: var(--surface);
  border-color: var(--accent);
}

.checkbox-card input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 18px !important;
  height: 18px !important;
  min-width: 18px !important;
  min-height: 18px !important;
  border: 2px solid var(--text-muted) !important;
  border-radius: 4px !important;
  margin: 0 !important;
  padding: 0 !important;
  cursor: pointer;
  display: grid;
  place-content: center;
  background: transparent !important;
  box-shadow: none !important;
  flex-shrink: 0 !important;
  transition: border-color .15s ease, background-color .15s ease;
}

.checkbox-card input[type="checkbox"]::before {
  content: "✔";
  font-size: 11px;
  font-weight: 700;
  color: #ffffff;
  transform: scale(0);
  transition: transform .12s ease-in-out;
}

.checkbox-card input[type="checkbox"]:checked {
  border-color: var(--accent) !important;
  background-color: var(--accent) !important;
}

.checkbox-card input[type="checkbox"]:checked::before {
  transform: scale(1);
}

.checkbox-card:has(input[type="checkbox"]:checked) {
  border-color: var(--accent);
  background: var(--surface);
  box-shadow: 0 0 0 2px var(--accent-soft);
}

.form-server-error {
  padding: 12px 16px;
  border-radius: 10px;
  background: var(--error-soft);
  border: 1px solid var(--error);
  color: var(--error);
  font-size: 13.5px;
  font-weight: 500;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Validation Error Styles */
.form-row.has-error input,
.form-row.has-error select,
.form-row.has-error textarea,
.form-row-split>div.has-error input,
.form-row-split>div.has-error select,
.gender-group.has-error .radio-card {
  border-color: var(--error) !important;
  background: var(--error-soft) !important;
}

.gender-group.has-error .radio-card input[type="radio"] {
  border-color: var(--error) !important;
}

.gender-group.has-error .radio-card:hover {
  border-color: var(--error) !important;
}

.form-row.has-error input:focus,
.form-row.has-error select:focus,
.form-row.has-error textarea:focus,
.form-row-split>div.has-error input:focus,
.form-row-split>div.has-error select:focus {
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.18) !important;
}

.form-error {
  display: none;
  font-size: 12px;
  font-weight: 500;
  color: var(--error);
  line-height: 1.3;
  margin-top: 2px;
}

.has-error .form-error {
  display: block;
  animation: error-in .15s ease-out;
}

@keyframes error-in {
  from {
    opacity: 0;
    transform: translateY(-3px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ============ Multi-Step Form Styles ============ */
.form-progress-wrap {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-soft);
  margin-bottom: 4px;
}

.form-progress-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.form-progress-step {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.3;
}

.form-progress-percent {
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 3px 10px;
  border-radius: 999px;
  flex-shrink: 0;
}

.form-progress-bar {
  width: 100%;
  height: 6px;
  background: var(--surface-muted);
  border: 1px solid var(--border-soft);
  border-radius: 999px;
  overflow: hidden;
}

.form-progress-fill {
  height: 100%;
  background: var(--accent);
  border-radius: 999px;
  transition: width .3s cubic-bezier(0.4, 0, 0.2, 1);
}

.form-step {
  display: flex;
  flex-direction: column;
  gap: 16px;
  animation: step-in .2s ease-out;
}

.form-step[hidden] {
  display: none !important;
}

@keyframes step-in {
  from {
    opacity: 0;
    transform: translateY(4px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Form Step Actions (Next, Prev, Submit) */
.form-step-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 8px;
  padding-top: 16px;
  border-top: 1px solid var(--border-soft);
}

.form-step-actions .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 24px;
  font-size: 14.5px;
  font-weight: 600;
  border-radius: 12px;
  cursor: pointer;
  min-width: 120px;
}

.form-step-actions #form-next-btn,
.form-step-actions #register-submit-btn {
  margin-left: auto;
}

.modal-submit {
  width: auto;
  min-width: 180px;
  margin-top: 0;
}

/* Dedicated Success Confirmation Modal Card */
.success-modal-card {
  max-width: 480px;
  padding: 40px 32px 36px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.success-modal-card .modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface-muted);
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color .15s ease, color .15s ease;
}

.success-modal-card .modal-close:hover {
  background: var(--border-soft);
  color: var(--text);
}

.modal-success {
  text-align: center;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  animation: modal-in .25s ease;
}

.modal-success-ico {
  width: 68px;
  height: 68px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-soft-text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 6px;
  animation: success-bounce .45s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes success-bounce {
  0% {
    transform: scale(0.4);
    opacity: 0;
  }

  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.modal-success-title {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text);
  line-height: 1.25;
}

.modal-success-desc {
  color: var(--text-muted);
  font-size: 14.5px;
  max-width: 380px;
  line-height: 1.55;
  margin-bottom: 8px;
}

.modal-success-close-btn {
  min-width: 160px;
  margin-top: 6px;
}

/* ============ Responsive Design System ============ */

/* The six nav links stop fitting beside the brand and actions below ~1024px; use the menu button instead */
@media (max-width: 1024px) {
  .main-nav {
    display: none;
  }

  .mobile-menu-btn {
    display: inline-flex;
  }
}

/* Tablet & Smaller Desktops */
@media (max-width: 860px) {
  .main-nav {
    display: none;
  }

  .mobile-menu-btn {
    display: inline-flex;
  }

  .hero {
    padding: 48px 0 64px;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-media {
    padding-bottom: 0;
  }

  /* ALP card no longer overlaps here, so the controls go back to the bottom */
  .stage-bar {
    top: auto;
    bottom: 12px;
  }

  .hero-alp-card {
    position: relative;
    left: auto;
    bottom: auto;
    width: auto;
    margin: 16px 0 0;
  }

  .about {
    grid-template-columns: 1fr;
    gap: 36px;
    padding: 60px 20px;
  }

  .card-grid-4,
  .card-grid-3 {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .alp,
  .centres-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .alp {
    padding-top: 60px;
    padding-bottom: 60px;
  }

  .centres-grid {
    gap: 16px;
  }

  .centres-photo img {
    aspect-ratio: 3 / 2;
  }

  .steps {
    flex-direction: column;
    gap: 16px;
  }

  .step-arrow {
    display: none;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

/* Standard Mobile & Phablets */
@media (max-width: 600px) {
  .wrap {
    padding: 0 16px;
  }

  .section {
    padding: 52px 16px;
  }

  .site-header {
    background: color-mix(in srgb, var(--page) 92%, transparent);
  }

  .header-inner {
    height: 60px;
    gap: 12px;
  }

  .brand-mark {
    width: 34px;
    height: 34px;
  }

  .brand-name {
    font-size: 15px;
  }

  .header-actions {
    gap: 8px;
  }

  .header-reg-btn {
    min-height: 34px;
    padding: 0 14px;
    font-size: 12.5px;
  }

  .theme-toggle,
  .mobile-menu-btn {
    width: 34px;
    height: 34px;
  }

  .hero {
    padding: 36px 0 48px;
  }

  .hero-inner {
    gap: 32px;
  }

  .hero-title {
    font-size: clamp(2.1rem, 9vw, 2.75rem);
    line-height: 1.08;
    margin: 16px 0 14px;
  }

  .hero-sub {
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 24px;
  }

  .hero-cta {
    margin-bottom: 28px;
    gap: 10px;
  }

  .hero-cta .btn {
    flex: 1;
    min-height: 48px;
    padding: 0 16px;
    font-size: 14px;
  }

  .hero-stats {
    gap: 8px;
  }

  .hero-stat {
    padding: 12px 10px;
    text-align: center;
    border-radius: 14px;
  }

  .hero-stat-num {
    font-size: 21px;
  }

  .hero-stat-label {
    font-size: 11px;
  }

  .hero-stage {
    border-radius: 18px;
  }

  .stage-bar {
    right: 10px;
    gap: 8px;
  }

  .stage-sound {
    padding: 8px 13px;
    font-size: 12.5px;
  }

  .stage-icon-btn {
    width: 36px;
    height: 36px;
  }

  .hero-alp-card {
    margin-top: 12px;
    padding: 14px;
  }

  .video-embed {
    border-radius: 11px;
  }

  .video-play {
    width: 52px;
    height: 52px;
  }

  .about-copy h2 {
    font-size: 24px;
    line-height: 1.25;
    margin-bottom: 14px;
  }

  .section-head {
    margin-bottom: 32px;
  }

  .section-head h2 {
    font-size: 24px;
  }

  .section-sub {
    font-size: 14px;
  }

  .card-grid-4,
  .card-grid-3 {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .info-card,
  .detail-card,
  .centre-card,
  .alp-phase {
    padding: 20px 16px;
    border-radius: 14px;
  }

  .alp {
    padding-top: 48px;
    padding-bottom: 48px;
  }

  .alp-copy h2 {
    font-size: 24px;
  }

  .alp-copy .btn {
    width: 100%;
    min-height: 44px;
  }

  .gallery-grid,
  .story-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .story-body {
    padding: 18px 16px 20px;
  }

  .story-body h3 {
    font-size: 16px;
  }

  .gallery-wide img {
    aspect-ratio: 3 / 2;
  }

  .photo-card {
    border-radius: 16px;
  }

  .photo-card figcaption {
    left: 8px;
    right: 8px;
    bottom: 8px;
    font-size: 11.5px;
  }

  .faq-item summary {
    padding: 16px;
    font-size: 14.5px;
  }

  .faq-item p {
    padding: 0 16px 16px;
    font-size: 13.5px;
  }

  .cta-actions {
    flex-direction: column;
    width: 100%;
  }

  .cta-actions .btn {
    width: 100%;
  }

  .detail-card h3 {
    font-size: 16px;
  }

  .step {
    padding: 20px 16px;
    border-radius: 14px;
  }

  .step-head {
    margin-bottom: 12px;
  }

  .step-cta-btn {
    width: 100%;
    justify-content: center;
    padding: 10px 16px;
    font-size: 13.5px;
  }

  .cta-section {
    padding: 12px 16px 56px;
  }

  .cta-box {
    padding: 36px 18px;
    border-radius: 20px;
    gap: 14px;
  }

  .cta-box h2 {
    font-size: 22px;
    line-height: 1.25;
  }

  .cta-box p {
    font-size: 14px;
  }

  .cta-box .btn {
    width: 100%;
    max-width: 280px;
    min-height: 46px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 14px;
    text-align: center;
    padding: 18px 16px;
  }

  .footer-socials {
    justify-content: center;
  }

  /* Full-Screen Multi-Step Form on Mobile */
  .modal-fullscreen .modal-header {
    padding: 12px 16px;
  }

  .modal-header-inner {
    gap: 10px;
  }

  .modal-header-inner .modal-head h2 {
    font-size: 16.5px;
    line-height: 1.25;
  }

  .modal-header-inner .modal-head .modal-sub {
    display: none;
  }

  .modal-header-inner .modal-close {
    width: 34px;
    height: 34px;
  }

  .modal-fullscreen .modal-body {
    padding: 14px 10px 32px;
    -webkit-overflow-scrolling: touch;
  }

  .modal-fullscreen .modal-form {
    padding: 18px 14px 22px;
    border-radius: 14px;
    gap: 13px;
  }

  .form-progress-wrap {
    padding-bottom: 10px;
    margin-bottom: 2px;
    gap: 6px;
  }

  .form-progress-step {
    font-size: 12px;
  }

  .form-progress-percent {
    font-size: 11px;
    padding: 2px 7px;
  }

  .form-section-title {
    font-size: 13px;
    margin-top: 4px;
  }

  .form-row-split {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .modal-form input,
  .modal-form select,
  .modal-form textarea {
    font-size: 16px;
    /* Prevents auto-zoom on iOS */
    padding: 11px 12px;
    min-height: 44px;
  }

  .gender-radio-group {
    gap: 8px;
  }

  .radio-card {
    padding: 10px 12px;
    min-height: 44px;
    font-size: 13.5px;
  }

  .form-step-actions {
    gap: 8px;
    padding-top: 12px;
  }

  .form-step-actions .btn {
    padding: 11px 14px;
    font-size: 13.5px;
    min-height: 44px;
    flex: 1;
    min-width: 90px;
  }

  /* Success Modal on Mobile */
  .modal-overlay {
    padding: 14px;
  }

  .success-modal-card {
    border-radius: 18px;
    padding: 32px 18px 24px;
    width: 100%;
    max-width: 380px;
  }

  .modal-success-ico {
    width: 58px;
    height: 58px;
    margin-bottom: 4px;
  }

  .modal-success-title {
    font-size: 19px;
  }

  .modal-success-desc {
    font-size: 13.5px;
  }

  .modal-success-close-btn {
    width: 100%;
    min-height: 44px;
  }
}

/* Small Screens (320px–375px) */
@media (max-width: 375px) {
  .wrap {
    padding: 0 12px;
  }

  .header-actions {
    gap: 6px;
  }

  .header-reg-btn {
    display: none;
  }

  .hero {
    padding: 28px 0 40px;
  }

  .hero-title {
    font-size: 1.95rem;
  }

  .hero-cta {
    flex-direction: column;
  }

  .hero-cta .btn {
    width: 100%;
  }

  .hero-alp-steps li {
    font-size: 11.5px;
  }

  .modal-fullscreen .modal-body {
    padding: 10px 6px 24px;
  }

  .modal-fullscreen .modal-form {
    padding: 14px 10px 18px;
  }

  .form-progress-step {
    font-size: 11px;
  }

  .gender-radio-group {
    grid-template-columns: 1fr;
  }
}