:root {
  --brand-blue: #001399;
  --brand-blue-hover: #00107a;
  --brand-yellow: #f2e000;
  --brand-yellow-hover: #e0cc00;
  --surface: #f8f9fa;
  --ink: #001399;
  --muted: #4a5280;
  --line: #dde1e8;
  --paper: #f8f9fa;
  --white: #ffffff;
  --blue: #001399;
  --blue-dark: #00107a;
  --green: #15a36b;
  --yellow: #f2e000;
  --coral: #f26f5b;
  --accent: #f2e000;
  --accent-dark: #e0cc00;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow: 0 20px 50px rgba(0, 19, 153, 0.1);
  --shadow-soft: 0 12px 32px rgba(0, 19, 153, 0.08);
  --font-display: "Bricolage Grotesque", "Microsoft YaHei", "PingFang SC", sans-serif;
  --font-body: "Figtree", "Microsoft YaHei", "PingFang SC", sans-serif;
  --text-body: 1.08rem;
  --text-paragraph: 1.14rem;
  --text-paragraph-sm: 1.06rem;
  --text-caption: 0.94rem;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 30;
  padding: 10px 14px;
  color: var(--brand-blue);
  background: var(--brand-yellow);
  border-radius: 8px;
  font-weight: 800;
}

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

body {
  margin: 0;
  overflow-x: clip;
  color: var(--ink);
  background: var(--surface);
  font-family: var(--font-body);
  font-size: var(--text-body);
  line-height: 1.65;
  font-feature-settings: "kern" 1, "liga" 1;
}

img,
video {
  max-width: 100%;
  height: auto;
}

h1,
h2,
h3,
h4,
h5,
h6,
.eyebrow,
.section-tag,
.main-nav,
.nav-cta,
.button,
.stat-item strong,
.camp-popup-title,
.camp-soon-badge,
.program-subheader,
.discipline-card h3,
.language-button,
.hero-main-title,
.pathway-step h4 {
  font-family: var(--font-display);
}

.camp-popup {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 40;
  display: none;
  padding: 12px clamp(32px, 9vw, 72px);
  padding-bottom: max(12px, env(safe-area-inset-bottom, 0px));
  pointer-events: none;
}

.camp-popup.is-open {
  display: block;
}

.camp-popup-panel {
  position: relative;
  z-index: 1;
  width: min(100%, 440px);
  margin: 0 auto;
  padding: clamp(14px, 2.8vw, 20px) clamp(16px, 3vw, 24px);
  background: var(--white);
  border: 3px solid var(--brand-yellow);
  border-radius: var(--radius);
  box-shadow: 0 12px 40px rgba(0, 19, 153, 0.22);
  pointer-events: auto;
}

.camp-popup-close {
  position: absolute;
  top: 12px;
  right: 12px;
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  color: var(--brand-blue);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}

.camp-popup-close:hover {
  background: var(--brand-yellow);
}

.camp-popup-title {
  margin: 0;
  padding-right: 44px;
  font-size: clamp(1.35rem, 3.5vw, 1.85rem);
  line-height: 1.35;
  text-align: center;
}

.camp-popup-link {
  display: inline-block;
  margin-left: 0.15em;
  padding: 2px 10px;
  color: var(--brand-blue);
  background: var(--brand-yellow);
  border-radius: 6px;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.camp-popup-link:hover {
  background: var(--brand-yellow-hover);
}

@media (max-width: 992px) {
  .camp-popup {
    padding-left: clamp(40px, 12vw, 64px);
    padding-right: clamp(40px, 12vw, 64px);
  }

  .camp-popup-panel {
    width: min(100%, 360px);
  }
}

h1,
h2,
h3,
h4,
h5 {
  color: var(--brand-blue);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  padding: 14px clamp(16px, 3vw, 48px);
  overflow: visible;
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 3px solid var(--brand-yellow);
  backdrop-filter: blur(18px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(12px, 2vw, 28px);
  flex-wrap: nowrap;
  overflow: visible;
}

.brand {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: 10px;
  font-size: 1.1rem;
  font-weight: 800;
}

.brand img {
  display: block;
  width: min(272px, 54vw);
  max-height: 64px;
  height: auto;
  object-fit: contain;
}

.main-nav {
  display: flex;
  flex: 1 1 auto;
  flex-flow: row nowrap;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 2.2vw, 28px);
  min-width: 0;
  overflow: visible;
  font-weight: 700;
  font-size: 1.2rem;
  line-height: 1.2;
  color: var(--brand-blue);
}

.main-nav .nav-dropdown {
  display: flex;
  flex-shrink: 0;
  align-items: center;
}

.header-actions {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: 10px;
}

.language-switch,
.hero-actions,
.site-footer {
  display: flex;
  align-items: center;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 44px;
  min-width: 44px;
  min-height: 44px;
  padding: 10px;
  color: var(--brand-blue);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.nav-toggle-bar {
  display: block;
  width: 22px;
  height: 3px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.hero-aside .robot-mascot {
  object-fit: contain;
}

.main-nav > a:not(.nav-cta),
.main-nav .nav-dropdown-toggle {
  flex-shrink: 0;
  padding-bottom: 4px;
  border-bottom: 3px solid transparent;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.main-nav > a:not(.nav-cta):hover,
.main-nav > a:not(.nav-cta):focus-visible,
.main-nav .nav-dropdown-toggle:hover,
.nav-dropdown.is-open .nav-dropdown-toggle {
  border-bottom-color: var(--brand-yellow);
}

.main-nav a {
  white-space: nowrap;
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown.is-open {
  z-index: 30;
}

.nav-dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0;
  color: inherit;
  background: transparent;
  border: 0;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}

.nav-dropdown-toggle::after {
  width: 6px;
  height: 6px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform 0.2s ease;
  content: "";
}

.nav-dropdown.is-open .nav-dropdown-toggle::after {
  transform: rotate(-135deg) translateY(2px);
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  z-index: 25;
  display: grid;
  gap: 4px;
  min-width: 190px;
  padding: 8px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}

.nav-dropdown-menu a {
  display: block;
  padding: 10px 12px;
  color: var(--brand-blue);
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 3px solid var(--brand-yellow);
  border-radius: 8px;
  font-weight: 700;
  white-space: nowrap;
}

.nav-dropdown-menu a:hover {
  background: var(--white);
}

@media (min-width: 881px) {
  .nav-dropdown:hover .nav-dropdown-menu,
  .nav-dropdown.is-open .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
}

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

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

.camp-card {
  display: grid;
  gap: 14px;
  min-height: 220px;
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 3px solid var(--brand-yellow);
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
}

.camp-card p {
  margin: 0;
  color: var(--muted);
}

.camp-soon-badge {
  display: inline-block;
  align-self: start;
  margin: 0;
  padding: 6px 14px;
  color: var(--brand-blue);
  background: var(--brand-yellow);
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.camp-card--soon {
  opacity: 0.92;
}

.camp-card--featured {
  grid-column: 1 / -1;
  gap: 20px;
}

.camp-card-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 16px;
}

.camp-card-head h3 {
  margin: 0;
}

.camp-dates {
  margin: 0;
  padding: 4px 12px;
  color: var(--brand-blue);
  background: rgba(0, 19, 153, 0.06);
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 700;
}

.camp-deal {
  margin: 0;
  align-self: start;
  padding: 10px 18px;
  color: #7a3b00;
  background: linear-gradient(135deg, #fff4cc 0%, var(--brand-yellow) 100%);
  border: 1px solid rgba(122, 59, 0, 0.18);
  border-radius: 10px;
  font-weight: 800;
  font-size: 1rem;
}

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

.camp-poster {
  display: block;
  width: 100%;
  padding: 0;
  overflow: hidden;
  border: none;
  border-radius: 12px;
  background: none;
  box-shadow: 0 8px 24px rgba(0, 19, 153, 0.12);
  cursor: zoom-in;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.camp-poster img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.camp-poster:hover,
.camp-poster:focus-visible {
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(0, 19, 153, 0.2);
}

.camp-card .button {
  align-self: start;
  margin-top: auto;
}

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

@media (max-width: 480px) {
  .camp-posters {
    grid-template-columns: 1fr;
  }
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: clamp(16px, 4vw, 48px);
  background: rgba(8, 12, 40, 0.86);
  backdrop-filter: blur(4px);
}

.lightbox.is-open {
  display: flex;
}

.lightbox-img {
  max-width: min(96vw, 1100px);
  max-height: 90vh;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
  animation: lightboxIn 0.2s ease;
}

@keyframes lightboxIn {
  from {
    opacity: 0;
    transform: scale(0.96);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.lightbox-close {
  position: absolute;
  top: clamp(12px, 2vw, 24px);
  right: clamp(12px, 2vw, 24px);
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  color: var(--brand-blue);
  background: var(--white);
  border: none;
  border-radius: 999px;
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
}

.lightbox-close:hover {
  background: var(--brand-yellow);
}

body.lightbox-open {
  overflow: hidden;
}

.main-nav a:focus-visible,
.nav-dropdown-toggle:focus-visible,
.language-button:focus-visible,
.nav-toggle:focus-visible,
.button:focus-visible,
.brand:focus-visible {
  outline: 3px solid rgba(0, 19, 153, 0.28);
  outline-offset: 3px;
}

.language-switch {
  gap: 6px;
  padding: 4px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.language-button {
  min-width: 48px;
  padding: 8px 10px;
  color: var(--brand-blue);
  background: transparent;
  border: 0;
  border-radius: 6px;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 800;
  cursor: pointer;
}

.language-button.active {
  color: var(--brand-blue);
  background: var(--brand-yellow);
}

.language-button:focus-visible,
.nav-toggle:focus-visible,
.nav-dropdown-toggle:focus-visible,
.button:focus-visible,
.main-nav a:focus-visible {
  outline: 3px solid rgba(0, 19, 153, 0.28);
  outline-offset: 2px;
}

.nav-cta {
  padding: 10px 18px;
  color: var(--brand-blue);
  background: var(--brand-yellow);
  border: 0;
  border-bottom: 0 !important;
  border-radius: 999px;
  box-shadow: 0 8px 20px rgba(0, 19, 153, 0.14);
  white-space: nowrap;
  flex-shrink: 0;
  font-size: 1.1rem;
}

.nav-cta:hover {
  background: var(--brand-yellow-hover);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, min(38vw, 400px));
  gap: 0;
  align-items: stretch;
  min-height: min(72vh, 640px);
  padding: 0;
  color: var(--white);
  background: var(--brand-blue);
  position: relative;
  overflow: hidden;
}

.hero::before {
  position: absolute;
  left: -80px;
  top: -100px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  content: "";
  pointer-events: none;
}

.hero-content {
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0;
  min-width: 0;
  width: 100%;
  padding: clamp(50px, 8vw, 96px) clamp(40px, 5vw, 72px) clamp(48px, 6vw, 72px)
    clamp(20px, 5vw, 72px);
}

.hero-aside {
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(28px, 4vw, 48px) clamp(20px, 4vw, 40px)
    clamp(28px, 4vw, 48px) clamp(36px, 6vw, 56px);
  background: var(--brand-yellow);
  clip-path: polygon(16% 0, 100% 0, 100% 100%, 0 100%);
}

.hero h1,
.hero h2,
.hero h3 {
  color: var(--white);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--brand-blue);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero .hero-title {
  max-width: none;
}

.hero-title {
  display: flex;
  flex-wrap: nowrap;
  gap: clamp(0.55em, 2.2vw, 0.85em);
  width: 100%;
  margin: 0 0 calc(1.2em + clamp(24px, 4vw, 36px));
  color: var(--brand-yellow);
  font-size: clamp(1rem, 2.35vw, 2.65rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.hero-program {
  flex-shrink: 0;
  white-space: nowrap;
}

.hero-body {
  display: flex;
  flex-direction: column;
  gap: clamp(14px, 2.5vw, 22px);
  width: 100%;
  margin: 0 0 clamp(28px, 4vw, 40px);
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.08;
}

h1 {
  max-width: 780px;
  font-size: clamp(2.55rem, 6vw, 5.45rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.35rem);
  font-weight: 700;
  letter-spacing: -0.025em;
}

h3 {
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.015em;
}

.hero-copy {
  margin: 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(1.3rem, 2.1vw, 1.5rem);
  line-height: 1.68;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  width: 100%;
  margin-top: auto;
}

.hero-actions .button {
  min-height: 52px;
  padding: 14px 22px;
  font-size: 1.06rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 20px;
  border: 0;
  border-radius: 8px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
}

@media (prefers-reduced-motion: reduce) {
  .button:hover,
  .bento-card:hover {
    transform: none;
  }

  .bento-card {
    transition: none;
  }
}

.primary {
  color: var(--brand-blue);
  background: var(--brand-yellow);
  box-shadow: 0 14px 24px rgba(0, 19, 153, 0.14);
}

.primary:hover {
  background: var(--brand-yellow-hover);
}

.secondary {
  color: var(--brand-blue);
  background: var(--white);
  border: 2px solid var(--line);
}

.hero .secondary {
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.45);
}

.hero .secondary:hover {
  background: rgba(255, 255, 255, 0.18);
}

.robot-mascot {
  position: relative;
  z-index: 1;
  display: block;
  width: min(100%, 340px);
  max-height: 300px;
  margin: 0 auto;
  object-fit: contain;
  background: transparent;
  filter: drop-shadow(0 10px 20px rgba(0, 19, 153, 0.15));
}

/* Hero — sky capture scene */
.hero-redefined {
  background: linear-gradient(180deg, #eef1fb 0%, var(--white) 100%);
  padding: clamp(32px, 5vw, 64px) clamp(20px, 4%, 48px);
  overflow: visible;
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  min-height: calc(100svh - 72px);
}

.hero-container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 1fr);
  gap: clamp(24px, 4vw, 40px);
  align-items: center;
}

.hero-text-side {
  z-index: 2;
}

.hero-main-title {
  margin: 0 0 20px;
  max-width: none;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 6vw, 4.25rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero-subtitle {
  margin: 0 0 12px;
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  color: var(--muted);
  max-width: 480px;
  line-height: 1.55;
}

.hero-capture-copy {
  min-height: 3.2em;
  margin: 0 0 28px;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--brand-blue);
  line-height: 1.5;
  max-width: 480px;
  transition: opacity 0.25s ease;
}

.hero-capture-copy:empty {
  visibility: hidden;
  opacity: 0;
  min-height: 3.2em;
  margin-bottom: 28px;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-redefined .shadow-btn {
  box-shadow: 0 8px 24px rgba(0, 19, 153, 0.2);
}

.hero-redefined .secondary {
  color: var(--brand-blue);
  background: var(--white);
  border: 2px solid var(--line);
}

.hero-redefined .secondary:hover {
  background: var(--paper);
}

.hero-animation-side {
  position: relative;
  z-index: 41;
  height: clamp(320px, 38vw, 460px);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
}

.hero-fireworks {
  position: absolute;
  inset: 0;
  z-index: 12;
  overflow: hidden;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.hero-fireworks.is-active {
  opacity: 1;
}

.hero-fireworks__canvas {
  display: block;
  width: 100%;
  height: 100%;
}

.sky-scene {
  position: relative;
  width: 100%;
  height: 100%;
  cursor: none;
  touch-action: pan-y;
  overflow: visible;
  background:
    radial-gradient(ellipse 90% 70% at 50% 0%, rgba(186, 220, 255, 0.45) 0%, transparent 68%),
    radial-gradient(ellipse 60% 40% at 80% 20%, rgba(255, 242, 180, 0.2) 0%, transparent 55%);
}

.sky-scene.beam-active {
  cursor: none;
}

.aim-reticle {
  --aim-size: 34px;
  position: absolute;
  z-index: 6;
  width: var(--aim-size);
  height: var(--aim-size);
  opacity: 0;
  pointer-events: none;
  transform: translate3d(-50%, -50%, 0) scale(0.6);
  transform-origin: center center;
  transition: opacity 0.2s ease;
  will-change: transform, left, top;
}

.aim-reticle.is-visible {
  opacity: 1;
  transform: translate3d(-50%, -50%, 0) scale(1) rotate(var(--aim-rotate, 0deg));
}

.aim-reticle__orbit {
  position: absolute;
  inset: -4px;
  border: 1px dashed rgba(120, 220, 255, 0.45);
  border-radius: 50%;
  animation: aimOrbit 8s linear infinite;
}

.aim-reticle__ring {
  position: absolute;
  inset: 3px;
  border: 1.5px solid rgba(0, 255, 220, 0.55);
  border-radius: 50%;
  box-shadow:
    0 0 8px rgba(0, 200, 255, 0.4),
    inset 0 0 6px rgba(0, 19, 153, 0.12);
  animation: aimRingPulse 2s ease-in-out infinite;
}

.aim-reticle__ticks {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: repeating-conic-gradient(
    from 0deg,
    rgba(0, 220, 255, 0.55) 0deg 2deg,
    transparent 2deg 30deg
  );
  mask: radial-gradient(circle, transparent 58%, #000 59%, #000 68%, transparent 69%);
  animation: aimOrbit 12s linear infinite reverse;
  opacity: 0.7;
}

.aim-reticle__core {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 5px;
  height: 5px;
  border: 1.5px solid rgba(255, 255, 255, 0.95);
  border-radius: 50%;
  background: rgba(0, 255, 220, 0.85);
  box-shadow:
    0 0 10px rgba(0, 255, 220, 0.9),
    0 0 20px rgba(0, 19, 153, 0.4);
  transform: translate(-50%, -50%);
  animation: aimCoreBlink 1.4s ease-in-out infinite;
}

.aim-reticle__bracket {
  position: absolute;
  width: 8px;
  height: 8px;
  border-color: rgba(100, 240, 255, 0.9);
  border-style: solid;
  border-width: 0;
  box-shadow: 0 0 8px rgba(0, 220, 255, 0.5);
}

.aim-reticle__bracket--tl {
  top: 1px;
  left: 1px;
  border-top-width: 1.5px;
  border-left-width: 1.5px;
}

.aim-reticle__bracket--tr {
  top: 1px;
  right: 1px;
  border-top-width: 1.5px;
  border-right-width: 1.5px;
}

.aim-reticle__bracket--bl {
  bottom: 1px;
  left: 1px;
  border-bottom-width: 1.5px;
  border-left-width: 1.5px;
}

.aim-reticle__bracket--br {
  right: 1px;
  bottom: 1px;
  border-bottom-width: 1.5px;
  border-right-width: 1.5px;
}

.sky-scene.is-zapping .aim-reticle.is-visible {
  transform: translate(-50%, -50%) scale(1.18) rotate(var(--aim-rotate, 0deg));
}

.sky-scene.is-zapping .aim-reticle__core {
  background: #fff;
  box-shadow: 0 0 18px rgba(255, 255, 255, 0.95);
}

@keyframes aimOrbit {
  to {
    transform: rotate(360deg);
  }
}

@keyframes aimRingPulse {
  0%,
  100% {
    opacity: 0.85;
    transform: scale(1);
  }

  50% {
    opacity: 1;
    transform: scale(1.04);
  }
}

@keyframes aimCoreBlink {
  0%,
  100% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }

  50% {
    opacity: 0.75;
    transform: translate(-50%, -50%) scale(0.85);
  }
}

@media (prefers-reduced-motion: reduce) {
  .program-bubble {
    animation: none;
  }

  .program-bubble.pulled {
    animation: none;
  }

  .magnetic-beam {
    opacity: 0.85 !important;
  }

  .magnetic-beam__core {
    animation: none !important;
  }

  .mascot-container,
  .mascot-static,
  .mascot-tips,
  .mascot-aura,
  .mascot-eye-gleam {
    animation: none !important;
  }

  .mascot-container.powered-up .mascot-static {
    filter: drop-shadow(0 0 12px rgba(0, 180, 200, 0.45));
  }

  .sky-scene.beam-active .grab-pulse {
    animation: none;
    opacity: 0.45;
  }

  .program-bubble.is-popping,
  .program-bubble.is-spawning {
    animation: none;
  }

  .program-bubble.is-popping {
    transition: opacity 0.35s ease, transform 0.35s ease;
    transform: scale(0) !important;
    opacity: 0;
  }

  .aim-reticle__orbit,
  .aim-reticle__ticks,
  .aim-reticle__ring,
  .aim-reticle__core {
    animation: none;
  }
}

.magnetic-beam {
  position: absolute;
  z-index: 1;
  width: var(--beam-length, 0px);
  height: 36px;
  opacity: 0;
  pointer-events: none;
  transform: translate3d(0, -50%, 0) rotate(var(--beam-angle, 0deg));
  transform-origin: 0 50%;
  transition: opacity 0.2s ease;
  will-change: transform, width;
}

.magnetic-beam__glow {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(0, 19, 153, 0.38) 0%,
    rgba(100, 170, 255, 0.22) 45%,
    rgba(200, 230, 255, 0.08) 75%,
    transparent 100%
  );
  clip-path: polygon(0 48%, 100% 48%, 100% 52%, 0 52%);
  filter: blur(1.5px);
}

.magnetic-beam__cone {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(0, 19, 153, 0.28) 0%,
    rgba(140, 190, 255, 0.14) 55%,
    transparent 100%
  );
  clip-path: polygon(0 46%, 100% 46%, 100% 54%, 0 54%);
}

.magnetic-beam__core {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(
    90deg,
    rgba(180, 230, 255, 0.95) 0%,
    rgba(255, 255, 255, 0.85) 35%,
    rgba(120, 180, 255, 0.5) 70%,
    transparent 100%
  );
  box-shadow: 0 0 8px rgba(120, 190, 255, 0.75);
  transform: translateY(-50%);
  animation: beamCorePulse 1.1s ease-in-out infinite;
}

.sky-scene.beam-active .magnetic-beam {
  opacity: 0.55;
}

.sky-scene.beam-targeting .magnetic-beam {
  opacity: 1;
}

.sky-scene.beam-targeting .magnetic-beam__glow {
  filter: blur(2px);
  animation: none;
}

.sky-scene.beam-targeting .magnetic-beam__cone {
  opacity: 1;
}

.sky-scene.beam-targeting .magnetic-beam__core {
  height: 3px;
  animation: none;
  box-shadow:
    0 0 12px rgba(120, 220, 255, 0.95),
    0 0 24px rgba(0, 200, 255, 0.45);
}

.sky-scene.beam-targeting .grab-pulse {
  opacity: 0.55;
  animation: none;
}

.sky-scene.is-zapping .magnetic-beam,
.sky-scene.is-absorbing .magnetic-beam {
  opacity: 1;
  filter: brightness(1.25) saturate(1.25);
}

.sky-scene.is-absorbing .magnetic-beam__core {
  height: 4px;
  animation: beamAbsorbPulse 0.45s ease-in-out 2;
}

.sky-scene.is-absorbing .grab-pulse {
  opacity: 0.9;
  animation: grabPulse 0.75s ease-out 2;
}

.sky-scene.is-zapping .magnetic-beam__core {
  animation: beamZap 0.28s ease-out;
}

@keyframes beamZap {
  0% {
    filter: brightness(1);
    height: 2px;
  }

  50% {
    filter: brightness(1.8);
    height: 3px;
  }

  100% {
    filter: brightness(1);
    height: 2px;
  }
}

@keyframes beamCorePulse {
  0%,
  100% {
    opacity: 0.75;
    filter: brightness(1);
  }

  50% {
    opacity: 1;
    filter: brightness(1.35);
  }
}

@keyframes beamTargetingGlow {
  0%,
  100% {
    opacity: 0.82;
  }

  50% {
    opacity: 1;
  }
}

@keyframes beamTargetingPulse {
  0%,
  100% {
    opacity: 0.88;
    filter: brightness(1.1);
  }

  50% {
    opacity: 1;
    filter: brightness(1.55);
  }
}

.mascot-container {
  --mascot-scale: 0.72;
  position: absolute;
  bottom: 12px;
  left: 50%;
  z-index: 3;
  pointer-events: none;
  transform: translateX(-50%) scale(var(--mascot-scale));
  transform-origin: center bottom;
  text-align: center;
  animation: mascotIdleFloat 5.5s ease-in-out infinite;
  transition: transform 0.55s cubic-bezier(0.22, 1.25, 0.38, 1);
}

.mascot-tips {
  position: absolute;
  top: -5.25rem;
  left: 50%;
  z-index: 5;
  pointer-events: auto;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  max-width: min(360px, 92vw);
  padding: 12px 20px;
  color: var(--white);
  font-size: 1.12rem;
  font-weight: 600;
  line-height: 1.4;
  text-align: center;
  white-space: nowrap;
  background: #233142;
  border-radius: 16px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  transform: translateX(-50%);
  animation: tipsPulse 2s ease-in-out infinite;
  transition:
    opacity 0.35s ease,
    transform 0.35s ease,
    visibility 0.35s ease;
}

.mascot-tips:not(.mascot-tips--complete) {
  min-width: min(320px, 90vw);
  min-height: 3.2rem;
}

.mascot-tips::after {
  position: absolute;
  bottom: -6px;
  left: 50%;
  width: 0;
  border-width: 6px 6px 0;
  border-style: solid;
  border-color: #233142 transparent;
  transform: translateX(-50%);
  content: "";
}

.mascot-tips.fade-out {
  visibility: hidden;
  opacity: 0;
  transform: translate(-50%, -12px);
  pointer-events: none;
  animation: none;
}

.mascot-tips__message {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin: 0;
  text-align: center;
}

.mascot-tips__cta {
  display: none;
  margin-top: 10px;
  padding: 8px 16px;
  color: var(--brand-blue);
  background: var(--brand-yellow);
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(0, 19, 153, 0.12);
  transition: background 0.2s ease, transform 0.2s ease;
}

.mascot-tips__cta:hover {
  background: var(--brand-yellow-hover);
  transform: translateY(-1px);
}

.mascot-tips--complete {
  top: auto;
  bottom: calc(100% + 10px);
  white-space: normal;
  max-width: min(320px, 92vw);
  padding: 12px 18px;
  font-size: 1rem;
  visibility: visible;
  opacity: 1;
  background: linear-gradient(135deg, #0a6b6d 0%, #001399 100%);
  border: 2px solid var(--brand-yellow);
  animation: tipsVictoryPulse 2.2s ease-in-out infinite;
  pointer-events: auto;
}

.mascot-tips--complete::after {
  top: 100%;
  bottom: auto;
  border-width: 0 6px 6px;
  border-color: transparent transparent #001399;
}

.mascot-tips--complete .mascot-tips__cta {
  display: inline-block;
  animation: ctaNudge 2s ease-in-out infinite;
}

.mascot-container.mascot-maxed .mascot-tips--complete {
  top: clamp(10px, 5%, 28px);
  bottom: auto;
  left: 50%;
  z-index: 25;
  max-width: min(340px, 94vw);
}

.mascot-aura {
  position: absolute;
  top: 8%;
  right: 8%;
  bottom: 28%;
  left: 8%;
  z-index: 0;
  border-radius: 50%;
  opacity: 0;
  pointer-events: none;
}

.mascot-eye-gleam {
  position: absolute;
  z-index: 4;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  opacity: 0;
  background: radial-gradient(circle, #fff 0%, #7ef9ff 45%, transparent 72%);
  box-shadow: 0 0 10px rgba(120, 255, 255, 0.9);
  pointer-events: none;
}

.mascot-eye-gleam--left {
  top: 34%;
  left: 38%;
}

.mascot-eye-gleam--right {
  top: 34%;
  right: 38%;
}

.mascot-container.powered-up .mascot-aura {
  opacity: 1;
  border: 2px solid transparent;
  background:
    linear-gradient(var(--white), var(--white)) padding-box,
    linear-gradient(
      135deg,
      var(--brand-yellow),
      #5ce1ff,
      var(--brand-blue),
      #c8f542,
      var(--brand-yellow)
    )
    border-box;
  animation: auraSpin 5s linear infinite, auraPulse 1.6s ease-in-out infinite alternate;
}

.mascot-container.powered-up .mascot-eye-gleam {
  opacity: 1;
  animation: eyeBlink 2.8s ease-in-out infinite;
}

.mascot-container.powered-up:not(.mascot-maxed) {
  animation: superFloat 1.5s ease-in-out infinite alternate !important;
}

.mascot-container.mascot-maxed {
  top: 50%;
  bottom: auto;
  left: 50%;
  z-index: 20;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translate(-50%, -50%) scale(1);
  transform-origin: center center;
  animation: mascotFinalGrow 1.15s cubic-bezier(0.22, 1, 0.22, 1) forwards !important;
}

.sky-scene.all-bubbles-cleared .aim-reticle,
.sky-scene.all-bubbles-cleared .magnetic-beam,
.sky-scene.game-complete .aim-reticle,
.sky-scene.game-complete .magnetic-beam {
  opacity: 0 !important;
  pointer-events: none;
}

.sky-scene.game-complete .mascot-static {
  width: auto;
  height: min(72%, 400px);
  max-width: min(88%, 440px);
  max-height: min(72%, 400px);
  object-fit: contain;
}

.mascot-static.powered-up {
  filter: drop-shadow(0 0 16px rgba(0, 200, 255, 0.45));
  animation: superGlow 1.1s ease-in-out infinite alternate !important;
}

.sky-scene.game-complete .grab-pulse {
  opacity: 0.85;
  animation: grabPulse 1s ease-out infinite;
}

.hero-complete-highlight .hero-capture-copy {
  display: block;
  color: var(--brand-blue);
  font-weight: 700;
}

.hero-complete-highlight .hero-buttons .primary {
  animation: trialCtaPulse 2s ease-in-out infinite;
  box-shadow: 0 0 0 0 rgba(242, 224, 0, 0.55);
}

@keyframes tipsVictoryPulse {
  0%,
  100% {
    transform: translate(-50%, 0);
    box-shadow: 0 6px 20px rgba(0, 19, 153, 0.2);
  }

  50% {
    transform: translate(-50%, -4px);
    box-shadow: 0 10px 28px rgba(242, 224, 0, 0.35);
  }
}

@keyframes ctaNudge {
  0%,
  100% {
    transform: translateY(0);
    box-shadow: 0 4px 12px rgba(0, 19, 153, 0.12);
  }

  50% {
    transform: translateY(-3px);
    box-shadow: 0 8px 22px rgba(242, 224, 0, 0.45);
  }
}

@keyframes auraSpin {
  to {
    rotate: 360deg;
  }
}

@keyframes auraPulse {
  0% {
    opacity: 0.75;
    scale: 0.96;
  }

  100% {
    opacity: 1;
    scale: 1.02;
  }
}

@keyframes eyeBlink {
  0%,
  42%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  46% {
    opacity: 0.15;
    transform: scaleY(0.15);
  }

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

@keyframes superFloat {
  0% {
    transform: translate(-50%, -50%) scale(1.12);
  }

  100% {
    transform: translate(-50%, calc(-50% - 10px)) scale(1.18);
  }
}

@keyframes mascotFinalGrowMobile {
  0% {
    transform: scale(calc(var(--mascot-scale, 1) * 0.95));
  }

  100% {
    transform: scale(1.06);
  }
}

@keyframes superFloatMobile {
  0% {
    transform: translateY(0);
  }

  100% {
    transform: translateY(-10px);
  }
}

@keyframes superGlow {
  0% {
    filter: drop-shadow(0 0 10px rgba(0, 180, 200, 0.4));
  }

  100% {
    filter: drop-shadow(0 0 22px rgba(242, 224, 0, 0.75));
  }
}

@keyframes trialCtaPulse {
  0%,
  100% {
    box-shadow: 0 8px 20px rgba(0, 19, 153, 0.14);
  }

  50% {
    box-shadow: 0 8px 28px rgba(242, 224, 0, 0.45);
  }
}

@keyframes tipsPulse {
  0%,
  100% {
    transform: translate(-50%, 0);
    opacity: 0.95;
  }

  50% {
    transform: translate(-50%, -5px);
    opacity: 1;
  }
}

.sky-scene.beam-active .mascot-container {
  animation: none;
}

.sky-scene.is-zapping .mascot-static,
.sky-scene.is-absorbing .mascot-static {
  transform: translateY(-10px) scale(calc(var(--mascot-scale, 0.68) * 1.06));
  filter: drop-shadow(0 20px 36px rgba(0, 19, 153, 0.24));
}

.sky-scene.is-absorbing .mascot-static {
  animation: mascotAbsorbPulse 0.45s ease-in-out 2 !important;
}

.grab-pulse {
  position: absolute;
  top: 12%;
  left: 50%;
  z-index: 1;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.5);
  background: radial-gradient(circle, rgba(180, 220, 255, 0.55) 0%, rgba(0, 19, 153, 0) 70%);
  pointer-events: none;
}

.sky-scene.beam-active .grab-pulse {
  opacity: 0.35;
  animation: none;
}

.sky-scene.is-zapping .grab-pulse {
  opacity: 0.85;
}

.mascot-static {
  position: relative;
  z-index: 2;
  display: block;
  width: min(100%, 320px);
  height: auto;
  max-height: 290px;
  object-fit: contain;
  filter: drop-shadow(0 14px 28px rgba(0, 19, 153, 0.14));
  transform: translateY(0) scale(1);
  transition: transform 0.5s cubic-bezier(0.34, 1.15, 0.64, 1);
}

@keyframes mascotIdleFloat {
  0%,
  100% {
    transform: translateX(-50%) translateY(0) scale(var(--mascot-scale, 0.72));
  }

  50% {
    transform: translateX(-50%) translateY(-8px) scale(var(--mascot-scale, 0.72));
  }
}

@keyframes mascotFinalGrow {
  0% {
    transform: translate(-50%, -42%) scale(calc(var(--mascot-scale, 1) * 0.95));
  }

  100% {
    transform: translate(-50%, -50%) scale(1.08);
  }
}

@keyframes mascotIdleFloatMobile {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

@keyframes grabPulse {
  0% {
    opacity: 0.75;
    transform: translate(-50%, -50%) scale(0.55);
  }

  70% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(1.35);
  }

  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(1.35);
  }
}

.program-bubble {
  --bubble-scale: 1;
  --bubble-diameter: clamp(4.5rem, 10.5vw, 5.35rem);
  --drift-duration: 6s;
  --drift-delay: 0s;
  --drift-x: 10px;
  --drift-y: -14px;
  --pull-x: 0px;
  --pull-y: 0px;
  --absorb-x: 0px;
  --absorb-y: 0px;
  position: absolute;
  top: 10%;
  left: 10%;
  z-index: 2;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: var(--bubble-diameter);
  height: var(--bubble-diameter);
  min-width: var(--bubble-diameter);
  min-height: var(--bubble-diameter);
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 50%;
  color: var(--ink);
  font: inherit;
  font-size: 0.68rem;
  font-weight: 700;
  line-height: 1.15;
  text-align: center;
  white-space: normal;
  pointer-events: auto;
  cursor: pointer;
  user-select: none;
  isolation: isolate;
  aspect-ratio: 1;
  background:
    radial-gradient(120% 140% at 28% 18%, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.55) 42%, rgba(186, 214, 255, 0.35) 100%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.7), rgba(220, 235, 255, 0.45));
  box-shadow:
    0 10px 28px rgba(0, 19, 153, 0.14),
    0 2px 8px rgba(255, 255, 255, 0.8) inset,
    0 -10px 22px rgba(0, 19, 153, 0.07) inset;
  backdrop-filter: blur(6px);
  transform: scale(var(--bubble-scale));
  animation: bubbleFloat var(--drift-duration) ease-in-out var(--drift-delay) infinite;
  transition:
    box-shadow 0.35s ease,
    border-color 0.35s ease,
    color 0.35s ease,
    filter 0.25s ease,
    top 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    left 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.program-bubble.pulled,
.program-bubble.is-active {
  z-index: 5;
  border-color: rgba(80, 220, 255, 0.9);
  filter: brightness(1.1);
  box-shadow:
    0 0 28px rgba(0, 200, 255, 0.38),
    0 12px 32px rgba(0, 19, 153, 0.18),
    0 2px 8px rgba(255, 255, 255, 0.85) inset,
    0 -10px 22px rgba(0, 19, 153, 0.07) inset;
  transform: scale(calc(var(--bubble-scale) * 1.12)) translate(var(--pull-x), var(--pull-y));
}

.program-bubble.is-absorbing {
  z-index: 6;
  animation-play-state: paused;
  border-color: rgba(120, 240, 255, 0.95);
  filter: brightness(1.18);
  box-shadow:
    0 0 calc(20px + var(--pull-strength, 0.5) * 24px) rgba(0, 220, 255, 0.5),
    0 0 calc(8px + var(--pull-strength, 0.5) * 12px) rgba(255, 255, 255, 0.7),
    0 12px 32px rgba(0, 19, 153, 0.2),
    0 2px 8px rgba(255, 255, 255, 0.9) inset;
  transform: scale(calc(var(--bubble-scale) * (1.04 + var(--pull-strength, 0.5) * 0.1)))
    translate(var(--pull-x), var(--pull-y));
  transition:
    box-shadow 0.35s ease,
    border-color 0.35s ease,
    filter 0.3s ease,
    transform 0.5s cubic-bezier(0.22, 1.15, 0.42, 1);
}

.program-bubble::before {
  position: absolute;
  top: 14%;
  left: 16%;
  z-index: -1;
  width: 34%;
  height: 28%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0) 72%);
  content: "";
  pointer-events: none;
}

.program-bubble::after {
  position: absolute;
  right: 12%;
  bottom: 16%;
  z-index: -1;
  width: 18%;
  height: 14%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.45) 0%, rgba(255, 255, 255, 0) 70%);
  content: "";
  pointer-events: none;
}

.bubble-icon {
  flex-shrink: 0;
  font-size: 1.22rem;
  line-height: 1;
  filter: drop-shadow(0 1px 1px rgba(255, 255, 255, 0.6));
}

.program-bubble > span:not(.bubble-icon) {
  display: block;
  max-width: 92%;
  line-height: 1.15;
  text-align: center;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

.program-bubble.is-popping {
  z-index: 7;
  pointer-events: none;
  animation: bubbleAbsorb 0.9s cubic-bezier(0.42, 0, 0.58, 1) forwards;
}

.program-bubble.is-popping::before {
  animation: absorbSpark 0.9s ease-out forwards;
}

.program-bubble.is-popping::after {
  inset: auto;
  top: 50%;
  right: auto;
  left: 50%;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(120, 230, 255, 0.55) 0%, rgba(120, 230, 255, 0) 68%);
  transform: translate(-50%, -50%) scale(0.6);
  animation: absorbRing 0.9s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.program-bubble.is-hidden {
  visibility: hidden;
  pointer-events: none;
  opacity: 0;
  animation: none !important;
}

.program-bubble.is-spawning {
  animation: bubbleSpawn 0.7s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes bubbleAbsorb {
  0% {
    transform: scale(calc(var(--bubble-scale, 1) * 1.1)) translate(var(--pull-x, 0px), var(--pull-y, 0px));
    opacity: 1;
    filter: brightness(1.3);
  }

  18% {
    transform: scale(calc(var(--bubble-scale, 1) * 1.22)) translate(
      calc(var(--pull-x, 0px) * 0.35 + var(--absorb-x, 0px) * 0.12),
      calc(var(--pull-y, 0px) * 0.35 + var(--absorb-y, 0px) * 0.12)
    );
    filter: brightness(1.55);
  }

  55% {
    transform: scale(calc(var(--bubble-scale, 1) * 0.72)) translate(
      calc(var(--absorb-x, 0px) * 0.72),
      calc(var(--absorb-y, 0px) * 0.72)
    );
    opacity: 0.85;
    filter: brightness(1.7);
  }

  100% {
    transform: scale(calc(var(--bubble-scale, 1) * 0.04)) translate(var(--absorb-x, 0px), var(--absorb-y, 0px));
    opacity: 0;
    filter: brightness(2) blur(8px);
  }
}

@keyframes absorbRing {
  0% {
    opacity: 0.75;
    transform: translate(-50%, -50%) scale(0.5);
  }

  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(2.4);
  }
}

@keyframes absorbSpark {
  0% {
    opacity: 1;
    transform: scale(1);
  }

  100% {
    opacity: 0;
    transform: scale(1.8);
  }
}

@keyframes beamAbsorbPulse {
  0%,
  100% {
    filter: brightness(1.2);
    opacity: 0.9;
  }

  50% {
    filter: brightness(1.75);
    opacity: 1;
  }
}

@keyframes mascotAbsorbPulse {
  0%,
  100% {
    transform: translateY(-8px) scale(1.04);
  }

  50% {
    transform: translateY(-12px) scale(1.08);
  }
}

@keyframes bubbleSpawn {
  0% {
    transform: scale(0.2);
    opacity: 0;
    filter: blur(6px);
  }

  65% {
    transform: scale(calc(var(--bubble-scale, 1) * 1.08));
    opacity: 1;
    filter: blur(0);
  }

  100% {
    transform: scale(var(--bubble-scale, 1));
    opacity: 1;
  }
}

@keyframes bubbleFloat {
  0%,
  100% {
    translate: 0 0;
    rotate: 0deg;
  }

  25% {
    translate: calc(var(--drift-x) * 0.55) calc(var(--drift-y) * 0.5);
    rotate: 0.8deg;
  }

  50% {
    translate: var(--drift-x) var(--drift-y);
    rotate: -0.7deg;
  }

  75% {
    translate: calc(var(--drift-x) * 0.75) calc(var(--drift-y) * 0.9);
    rotate: 0.55deg;
  }
}

@media (max-width: 992px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-redefined {
    padding: clamp(12px, 3vw, 24px) clamp(14px, 4vw, 22px);
    padding-bottom: clamp(132px, 26vw, 184px);
    min-height: calc(100svh - 60px);
  }

  .hero-container {
    gap: clamp(4px, 2vw, 14px);
  }

  .hero-main-title {
    font-size: clamp(1.5rem, 6vw, 2.2rem);
    letter-spacing: 0.01em;
    margin-bottom: 10px;
  }

  .hero-subtitle {
    margin-bottom: 6px;
  }

  .hero-text-side {
    order: 2;
  }

  .hero-animation-side {
    order: 1;
    width: 100%;
    min-height: min(50vw, 240px);
    height: clamp(220px, 52vw, 300px);
  }

  .sky-scene {
    min-height: 100%;
    overflow: visible;
  }

  .mascot-container {
    left: 0;
    right: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    transform: scale(var(--mascot-scale, 0.72));
    transform-origin: center bottom;
    animation: none;
    z-index: 2;
    pointer-events: none;
  }

  .mascot-container.mascot-maxed {
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    transform: none;
    align-items: center;
    animation: mascotFinalGrowMobile 1.15s cubic-bezier(0.22, 1, 0.22, 1) forwards !important;
  }

  .sky-scene.game-complete .mascot-static {
    width: auto;
    height: min(68%, 300px);
    max-width: 92%;
    max-height: min(68%, 300px);
  }

  .mascot-tips {
    top: -4.8rem;
    white-space: normal;
    max-width: min(320px, 92vw);
    font-size: 1.05rem;
    padding: 11px 16px;
  }

  .mascot-tips:not(.mascot-tips--complete) {
    min-width: min(290px, 88vw);
    min-height: 3rem;
  }

  .mascot-tips--complete {
    top: auto;
    bottom: calc(100% + 8px);
    font-size: 0.95rem;
  }

  .mascot-container.mascot-maxed .mascot-tips--complete {
    top: clamp(8px, 4%, 22px);
    bottom: auto;
    z-index: 25;
  }

  .mascot-static {
    width: min(250px, 58vw);
    max-height: 220px;
    margin: 0;
    animation: mascotIdleFloatMobile 5.5s ease-in-out infinite;
  }

  .sky-scene.beam-active .mascot-static {
    animation: none;
  }

  .mascot-container.powered-up:not(.mascot-maxed) {
    animation: superFloatMobile 1.5s ease-in-out infinite alternate !important;
  }

  .hero-subtitle,
  .hero-capture-copy {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-capture-copy {
    min-height: 1.6em;
    margin-bottom: 14px;
    font-size: 0.95rem;
  }

  .hero-capture-copy:empty {
    min-height: 0;
    margin-bottom: 10px;
  }

  .hero-buttons {
    justify-content: center;
  }

  .program-bubble {
    --bubble-diameter: clamp(3rem, 13vw, 3.65rem);
    padding: 6px;
    font-size: 0.62rem;
    gap: 2px;
    z-index: 4;
  }

  .mascot-tips,
  .mascot-tips--complete {
    pointer-events: auto;
  }

  .bubble-icon {
    font-size: 1.05rem;
  }

  .what-is-grid {
    flex-direction: column;
    align-items: stretch;
    padding-inline: clamp(16px, 4vw, 24px);
  }

  .what-is-copy {
    flex: 1 1 auto;
    width: 100%;
    order: 2;
  }

  .what-is-bento {
    order: 1;
    width: 100%;
    max-width: min(100%, 400px);
    margin-inline: auto;
  }

  .what-is-copy .what-is-cta {
    margin-top: 1.25rem;
  }
}

@media (max-width: 560px) {
  .hero-main-title {
    font-size: clamp(1.4rem, 6.4vw, 1.9rem);
    letter-spacing: 0.01em;
    overflow-wrap: break-word;
  }

  .hero-animation-side {
    min-height: 200px;
    height: clamp(200px, 50vw, 280px);
  }

  .hero-buttons {
    align-items: stretch;
    flex-direction: column;
  }

  .program-bubble {
    --bubble-diameter: clamp(2.85rem, 12vw, 3.35rem);
    padding: 5px;
    font-size: 0.58rem;
  }

  .section {
    padding-inline: clamp(16px, 4vw, 20px);
  }

  .discipline-grid {
    padding-inline: clamp(16px, 4vw, 20px);
  }
}

.section {
  padding: clamp(56px, 7vw, 96px) clamp(20px, 5vw, 72px);
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(280px, 1fr);
  gap: 36px;
  align-items: end;
  background: var(--surface);
}

.intro p:last-child,
.split p,
.schedule-band p,
.trial-copy p,
.section-heading p:last-child,
.what-is-copy p:not(.eyebrow),
.discipline-card p,
.program-card p,
.pathway-heading p,
.pathway-step p,
.skills-grid p,
.feature-list p,
.learner-grid p,
.faq-list p,
.camp-card p,
.testimonial-card p,
.about-main > div:first-child p:last-child,
.thank-you-card p:not(.eyebrow),
.thank-you-message,
.cta-band p,
#formNote,
.form-privacy {
  font-size: var(--text-paragraph);
}

.intro p:last-child,
.split p,
.schedule-band p,
.trial-copy p {
  margin: 0;
  color: var(--muted);
}

.section-heading {
  max-width: 720px;
  margin-bottom: 30px;
}

.section-heading p:last-child {
  margin: 16px 0 0;
  color: var(--muted);
}

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

.about-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.82fr);
  gap: clamp(28px, 5vw, 68px);
  align-items: start;
}

.about-main > div:first-child p:last-child {
  max-width: 720px;
  margin: 20px 0 0;
  color: var(--muted);
}

.about-panel {
  display: grid;
  gap: 14px;
  padding: clamp(22px, 3vw, 30px);
  color: var(--white);
  background: var(--brand-blue);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.about-panel h3 {
  color: var(--white);
}

.about-panel div {
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

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

.about-panel span {
  margin-top: 5px;
  color: rgba(255, 255, 255, 0.72);
  font-size: var(--text-paragraph-sm);
}

.steam-visual {
  display: grid;
  grid-template-columns: minmax(260px, 0.48fr) minmax(0, 1fr);
  gap: clamp(22px, 4vw, 42px);
  align-items: center;
  margin: 34px 0 0;
  padding: clamp(18px, 3vw, 28px);
  background: #f0fbff;
  border: 1px solid #cfedf8;
  border-radius: 8px;
}

.steam-visual img {
  display: block;
  width: min(360px, 100%);
  height: auto;
  margin: 0 auto;
  object-fit: contain;
}

.steam-visual figcaption {
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.18rem, 2.1vw, 1.75rem);
  font-weight: 800;
  line-height: 1.25;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 34px;
}

.skills-grid article {
  min-height: 180px;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 3px solid var(--brand-yellow);
  border-radius: 8px;
}

.skills-grid article:nth-child(2),
.skills-grid article:nth-child(3),
.skills-grid article:nth-child(4) {
  background: var(--white);
}

.skills-grid p {
  margin: 12px 0 0;
  color: var(--muted);
}

.feature-list p {
  margin: 12px 0 0;
  color: var(--muted);
}

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

.program-block {
  margin-top: clamp(36px, 5vw, 56px);
}

.program-block:first-of-type {
  margin-top: 0;
}

.program-subheader {
  margin: 0 0 18px;
  font-size: clamp(1.5rem, 3vw, 2rem);
  line-height: 1.15;
}

.program-block .pathway-card,
.program-card {
  min-width: 0;
  padding: clamp(22px, 3vw, 30px);
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 3px solid var(--brand-yellow);
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
}

.program-card h4 {
  margin: 0;
  font-size: 1.15rem;
  line-height: 1.25;
}

.program-card p {
  margin: 12px 0 0;
  color: var(--muted);
}

.competition-group + .competition-group {
  margin-top: 28px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.competition-group-title {
  margin: 24px 0 14px;
  color: var(--brand-blue);
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.competition-group:first-of-type .competition-group-title {
  margin-top: 24px;
}

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

.competition-item {
  display: grid;
  grid-template-columns: minmax(120px, 148px) minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  padding: 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.competition-logo-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 72px;
  padding: 10px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.competition-logo {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: 52px;
  object-fit: contain;
}

.competition-logo-wide {
  max-height: 44px;
}

.competition-details {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.competition-details strong {
  color: var(--brand-blue);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.35;
}

.competition-ages {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  max-width: 100%;
  padding: 5px 10px;
  color: var(--brand-blue);
  background: var(--brand-yellow);
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 800;
  line-height: 1.2;
}

.program-block,
.program-block .pathway-card,
.program-card {
  scroll-margin-top: 100px;
}

.pathway-card {
  min-width: 0;
  padding: clamp(22px, 3vw, 30px);
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 3px solid var(--brand-yellow);
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
}

.pathway-heading {
  padding-bottom: 18px;
}

.pathway-heading h4 {
  margin: 0;
  font-size: 1.15rem;
  line-height: 1.25;
}

.pathway-heading span {
  display: inline-flex;
  margin-bottom: 14px;
  padding: 7px 10px;
  color: var(--brand-blue);
  background: var(--brand-yellow);
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.robotics-pathway .pathway-heading span {
  background: var(--brand-yellow);
  color: var(--brand-blue);
}

.pathway-heading p,
.pathway-step p {
  margin: 10px 0 0;
  color: var(--muted);
}

.pathway-steps {
  display: grid;
}

.pathway-step {
  display: grid;
  grid-template-columns: minmax(88px, max-content) minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}

.pathway-step h4 {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.25;
}

.age-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 6px 10px;
  color: var(--brand-blue);
  background: var(--brand-yellow);
  border-radius: 8px;
  font-size: 0.96rem;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  white-space: nowrap;
}

.learner-section {
  background: #f5f9fc;
}

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

.learner-grid article {
  min-height: 220px;
  padding: 26px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(21, 33, 47, 0.06);
}

.learner-grid span {
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  margin-bottom: 28px;
  color: var(--brand-blue);
  background: var(--brand-yellow);
  border-radius: 8px;
  font-weight: 800;
}

.learner-grid article:nth-child(2) span,
.learner-grid article:nth-child(3) span {
  color: var(--brand-blue);
  background: var(--brand-yellow);
}

.learner-grid p {
  margin: 12px 0 0;
  color: var(--muted);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(300px, 1.05fr);
  gap: clamp(30px, 5vw, 72px);
  align-items: start;
  background: #eaf4f7;
}

.split > div:first-child p:last-child {
  margin-top: 18px;
}

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

.feature-list div {
  padding: 22px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 8px;
}

.schedule-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.8fr);
  gap: 34px;
  align-items: center;
  color: var(--white);
  background: var(--brand-blue);
  border-top: 4px solid var(--brand-yellow);
}

.schedule-band .eyebrow,
.schedule-band p {
  color: rgba(255, 255, 255, 0.76);
}

.schedule-band h2 {
  color: var(--white);
}

.schedule-band p {
  margin-top: 18px;
}

.schedule-list {
  display: grid;
  gap: 12px;
}

.schedule-list div {
  padding: 18px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
}

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

.schedule-list span {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.72);
}

.schedule-list .schedule-hours strong,
.schedule-list .schedule-hours span {
  color: var(--white);
  font-weight: 800;
}

.schedule-list a {
  color: var(--white);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.map-embed {
  grid-column: 1 / -1;
  overflow: hidden;
  min-height: 280px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
}

.map-embed iframe {
  display: block;
  width: 100%;
  height: 320px;
  border: 0;
}

.trial-section {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(320px, 1fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
  background: var(--white);
}

.trial-copy {
  position: sticky;
  top: 110px;
}

.trial-copy > p:not(.eyebrow) {
  margin-top: 18px;
}

.trial-points {
  display: grid;
  gap: 10px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.trial-points li {
  position: relative;
  padding: 14px 14px 14px 42px;
  color: var(--ink);
  background: #eef7f2;
  border: 1px solid #cfe7da;
  border-radius: 8px;
  font-weight: 700;
}

.trial-points li::before {
  position: absolute;
  left: 15px;
  top: 14px;
  color: var(--green);
  content: "✓";
  font-weight: 800;
}

.trial-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: clamp(20px, 4vw, 34px);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 16px 40px rgba(21, 33, 47, 0.08);
}

label {
  display: grid;
  gap: 8px;
  color: #314052;
  font-size: var(--text-paragraph-sm);
  font-weight: 800;
}

.label-hint {
  color: var(--muted);
  font-size: var(--text-caption);
  font-weight: 600;
}

input,
select,
textarea {
  width: 100%;
  min-height: 46px;
  padding: 12px 13px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid #c9d5e3;
  border-radius: 8px;
  font: inherit;
}

.honeypot {
  position: absolute;
  left: -9999px;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(0, 19, 153, 0.18);
  border-color: var(--brand-blue);
}

.full-width {
  grid-column: 1 / -1;
}

.form-note,
.form-privacy {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--muted);
  font-size: var(--text-paragraph-sm);
}

.form-privacy {
  font-size: var(--text-caption);
}

.site-footer {
  position: relative;
  justify-content: space-between;
  gap: 20px;
  padding: 28px clamp(20px, 5vw, 72px) 54px;
  color: rgba(255, 255, 255, 0.86);
  background: var(--brand-blue);
}

.site-footer strong,
.site-footer a:not(.button) {
  color: var(--white);
}

.footer-logo {
  display: block;
  width: 170px;
  height: auto;
  margin-bottom: 10px;
  padding: 8px;
  background: var(--white);
  border-radius: 8px;
}

.site-footer p {
  margin: 5px 0 0;
}

.site-footer a:not(.button) {
  font-weight: 800;
}

.footer-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.86);
  font-style: normal;
}

.footer-contact span,
.footer-contact a {
  display: inline-flex;
  align-items: center;
}

.copyright {
  position: absolute;
  right: clamp(20px, 5vw, 72px);
  bottom: 20px;
  margin: 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: var(--text-caption);
}

.thank-you-language {
  position: fixed;
  top: 18px;
  right: clamp(20px, 5vw, 72px);
  z-index: 10;
}

.thank-you-lang {
  position: fixed;
  top: 16px;
  right: 16px;
  z-index: 10;
}

.thank-you-page {
  min-height: 100vh;
  background: var(--surface);
}

.thank-you-wrap {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: clamp(22px, 5vw, 72px);
}

.thank-you-card {
  width: min(760px, 100%);
  padding: clamp(28px, 5vw, 54px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.thank-you-card img {
  width: min(220px, 60vw);
  height: auto;
  margin-bottom: 28px;
}

.thank-you-card h1 {
  font-size: clamp(2.3rem, 5vw, 4.6rem);
}

.thank-you-card p:not(.eyebrow) {
  color: var(--muted);
}

.thank-you-card a:not(.button) {
  color: var(--brand-blue);
  font-weight: 800;
}

.thank-you-message {
  color: var(--muted);
}

.thank-you-message a {
  color: var(--brand-blue);
  font-weight: 800;
}

@media (min-width: 881px) {
  .header-inner {
    flex-wrap: nowrap;
  }
}

@media (max-width: 880px) {
  .header-inner {
    flex-wrap: wrap;
  }

  .header-actions {
    order: 2;
    margin-left: auto;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .main-nav {
    order: 3;
    display: none;
    flex: 1 1 100%;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 8px;
    width: 100%;
    padding: 12px;
    font-size: 1.2rem;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
    overflow: visible;
  }

  .main-nav.is-open {
    display: flex;
  }

  .main-nav a {
    padding: 11px 12px;
    background: var(--white);
    border: 1px solid var(--line);
    border-left: 3px solid var(--brand-yellow);
    border-radius: 8px;
  }

  .main-nav a.nav-cta {
    text-align: center;
    color: var(--brand-blue);
    background: var(--brand-yellow);
    border: 0;
    border-left: 0;
    border-radius: 8px;
    box-shadow: 0 8px 20px rgba(0, 19, 153, 0.14);
  }

  .main-nav a.nav-cta:hover,
  .main-nav a.nav-cta:focus-visible {
    background: var(--brand-yellow-hover);
    border-bottom-color: transparent;
  }

  .nav-dropdown {
    width: 100%;
  }

  .nav-dropdown-toggle {
    justify-content: space-between;
    width: 100%;
    padding: 11px 12px;
    background: var(--white);
    border: 1px solid var(--line);
    border-left: 3px solid var(--brand-yellow);
    border-radius: 8px;
  }

  .nav-dropdown-menu {
    position: static;
    display: none;
    min-width: 0;
    padding: 0 0 0 12px;
    background: transparent;
    border: 0;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .nav-dropdown.is-open .nav-dropdown-menu {
    display: grid;
    gap: 8px;
    margin-top: 8px;
  }

  .nav-dropdown-menu a {
    padding: 11px 12px;
  }

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

  .intro,
  .about-main,
  .split,
  .schedule-band,
  .trial-section {
    grid-template-columns: 1fr;
  }

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

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

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

  .steam-visual {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .trial-copy {
    position: static;
  }
}

@media (max-width: 560px) {
  .site-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .copyright {
    position: static;
    margin-top: 8px;
  }

  .trial-form {
    grid-template-columns: 1fr;
  }

  .pathway-step {
    grid-template-columns: 1fr;
    gap: 10px;
  }

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

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

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

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

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

  .competition-item {
    grid-template-columns: 1fr;
  }

  .competition-logo-wrap {
    min-height: 64px;
  }

  .cta-band {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }
}

/* Steamoji-inspired sections */
.stats-band {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--brand-blue);
}

.stat-item {
  padding: clamp(22px, 4vw, 36px);
  text-align: center;
  color: var(--white);
  background: var(--brand-blue);
}

.stat-item strong {
  display: block;
  font-size: clamp(2rem, 4.2vw, 2.85rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.stat-item span {
  display: block;
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.72);
  font-size: var(--text-paragraph-sm);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.section-tag {
  margin: 0 0 28px;
  padding: 0 clamp(20px, 5vw, 72px);
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 800;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.what-is {
  background: var(--white);
}

.what-is.section {
  padding-top: clamp(40px, 5.5vw, 72px);
}

.what-is-grid {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(24px, 4vw, 48px);
  align-items: flex-end;
  padding: 0 clamp(20px, 5vw, 72px) clamp(56px, 7vw, 96px);
}

.what-is-copy .what-is-cta {
  margin-top: calc(28px + 1.25em);
}

.what-is-copy {
  flex: 1 1 280px;
  min-width: 0;
}

.what-is-bento {
  --course-img-filter: saturate(0.96) contrast(1.04) brightness(1.03);
  --course-img-radius: 12px;
  flex: 0 0 auto;
  width: clamp(300px, 40vw, 540px);
  max-width: 100%;
  padding: clamp(12px, 2vw, 16px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: 0 16px 40px rgba(0, 19, 153, 0.08);
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: clamp(10px, 2vw, 12px);
  width: 100%;
  aspect-ratio: 1;
}

.bento-card {
  position: relative;
  display: block;
  aspect-ratio: 1;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  text-decoration: none;
  border-radius: var(--course-img-radius);
  box-shadow: 0 6px 18px rgba(0, 19, 153, 0.1);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.bento-card::after {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.28);
  content: "";
  pointer-events: none;
}

.bento-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(0, 19, 153, 0.14);
}

.bento-card:focus-visible {
  outline: 3px solid var(--brand-yellow);
  outline-offset: 2px;
  z-index: 1;
}

.bento-card__img,
.course-img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--course-img-radius);
  filter: var(--course-img-filter);
}

.bento-card:nth-child(1) .course-img {
  object-position: center 30%;
}

.bento-card:nth-child(2) .course-img {
  object-position: center 40%;
}

.bento-card:nth-child(3) .course-img {
  object-position: center 45%;
}

.bento-card:nth-child(4) .course-img {
  object-position: center 22%;
}

.what-is-copy h2 {
  margin: 0 0 calc(1.1em + 1.25rem);
}

.what-is-copy p:not(.eyebrow) {
  margin: 0 0 1rem;
  color: var(--muted);
}

.what-is-copy p:not(.eyebrow):last-of-type {
  margin-bottom: 1.5rem;
}

.what-is-visual {
  padding: 24px;
  text-align: center;
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 4px solid var(--brand-yellow);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.what-is-visual img,
.what-is-photo {
  display: block;
  width: min(100%, 280px);
  max-height: 400px;
  margin: 0 auto;
  object-fit: cover;
  object-position: center 20%;
  border-radius: 8px;
}

.visual-caption {
  margin: 16px 0 0;
  font-weight: 800;
  color: var(--brand-blue);
}

.section-heading.center {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.disciplines {
  background: var(--paper);
}

.discipline-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(36px, 4vw, 42px);
  padding: 0 clamp(20px, 5vw, 72px) clamp(56px, 7vw, 96px);
}

.discipline-card {
  padding: 28px 24px;
  text-align: center;
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 3px solid var(--brand-yellow);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.discipline-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.discipline-icon {
  display: grid;
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  place-items: center;
  font-size: 1.6rem;
  background: #eef4ff;
  border-radius: 14px;
}

.discipline-card:nth-child(2) .discipline-icon {
  background: #eef7f2;
}

.discipline-card:nth-child(3) .discipline-icon {
  background: #fff7e3;
}

.discipline-card:nth-child(4) .discipline-icon {
  background: #fff0ed;
}

.discipline-card:nth-child(5) .discipline-icon {
  background: #f4effa;
}

.discipline-card:nth-child(6) .discipline-icon {
  background: #eef6fc;
}

.discipline-card:nth-child(7) .discipline-icon {
  background: #fff8e8;
}

.discipline-card h3 {
  margin-bottom: 8px;
}

.discipline-card p {
  margin: 0;
  color: var(--muted);
  font-size: var(--text-paragraph-sm);
}

.partners-section {
  background: var(--paper);
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.partner-card {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 140px;
  padding: 28px 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 3px solid var(--brand-yellow);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.partner-logo {
  display: block;
  width: auto;
  max-width: min(100%, 240px);
  max-height: 72px;
  object-fit: contain;
}

.partner-logo-wide {
  max-width: min(100%, 300px);
  max-height: 88px;
}

.partners-grid .partner-card:first-child .partner-logo {
  max-height: 64px;
}

.partners-grid .partner-card:nth-child(2) .partner-logo {
  max-width: min(100%, 110px);
  max-height: 110px;
}

.testimonials-section {
  background: linear-gradient(180deg, var(--brand-blue) 0%, var(--brand-blue-hover) 100%);
  color: var(--white);
}

.testimonials-section .eyebrow {
  color: rgba(255, 255, 255, 0.75);
  font-size: clamp(1rem, 2vw, 1.35rem);
  letter-spacing: 0.16em;
}

.testimonials-section h2 {
  color: var(--white);
}

.testimonials-section .section-heading {
  padding-top: clamp(56px, 7vw, 96px);
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  padding: 0 clamp(20px, 5vw, 72px) clamp(56px, 7vw, 96px);
}

.testimonial-card {
  margin: 0;
  padding: 28px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
}

.testimonial-card p {
  margin: 0;
  line-height: 1.55;
}

.testimonial-card p + p {
  margin-top: 10px;
}

.testimonial-card footer {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

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

.testimonial-card span {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
}

.google-reviews {
  padding: 0 clamp(20px, 5vw, 72px) clamp(56px, 7vw, 96px);
}

.gr-fallback,
.gr-reviews {
  padding: 0;
  align-items: start;
}

.gr-summary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(16px, 3vw, 28px);
  max-width: 720px;
  margin: 0 auto clamp(28px, 4vw, 40px);
  padding: clamp(18px, 3vw, 26px) clamp(20px, 3.5vw, 32px);
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.22);
}

.gr-glogo {
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.gr-summary-text {
  flex: 1 1 180px;
  min-width: 0;
  text-align: left;
}

.gr-summary-title {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.gr-rating-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 2px 0 2px;
}

.gr-score {
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 800;
  line-height: 1;
}

.gr-stars {
  color: #fbbc05;
  font-size: 1.35rem;
  letter-spacing: 2px;
}

.gr-count {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 600;
}

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

.gr-summary .button.secondary {
  color: var(--brand-blue);
  background: var(--white);
  border: 2px solid var(--line);
}

.gr-widget:empty {
  display: none;
}

.google-reviews.gr-live .gr-summary,
.google-reviews.gr-live .gr-fallback {
  display: none;
}

.tc-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.testimonial-card .tc-avatar {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin: 0;
  color: var(--brand-blue);
  background: var(--brand-yellow);
  border-radius: 50%;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.1rem;
  text-transform: none;
  letter-spacing: 0;
}

.testimonial-card .tc-stars {
  display: inline-block;
  margin: 0;
  color: #fbbc05;
  font-size: 1.05rem;
  font-weight: 400;
  letter-spacing: 1px;
  text-transform: none;
}

.faq-section {
  background: var(--paper);
}

.faq-list {
  display: grid;
  gap: 12px;
  max-width: 820px;
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 72px) clamp(56px, 7vw, 96px);
}

.faq-list details {
  padding: 18px 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.faq-list summary {
  font-weight: 800;
  cursor: pointer;
  list-style: none;
}

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

.faq-list details[open] summary {
  color: var(--brand-blue);
  margin-bottom: 10px;
}

.faq-list p {
  margin: 0;
  color: var(--muted);
}

.cta-band {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: clamp(40px, 6vw, 72px) clamp(20px, 5vw, 72px);
  color: var(--white);
  background: var(--brand-blue);
  border-top: 4px solid var(--brand-yellow);
}

.cta-band h2 {
  color: var(--white);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
}

.cta-band p {
  margin: 10px 0 0;
  max-width: 520px;
  color: rgba(255, 255, 255, 0.88);
}

@media (max-width: 960px) {
  .what-is-bento {
    width: min(100%, 400px);
    margin-inline: auto;
  }
}

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

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

/* Mobile layout fixes — must follow base .stats-band / .testimonial-grid rules */
@media (max-width: 992px) {
  .site-header {
    padding-top: max(14px, env(safe-area-inset-top, 0px));
  }

  .brand {
    flex: 1 1 auto;
    min-width: 0;
  }

  .brand img {
    width: min(200px, 48vw);
    max-height: 52px;
  }

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

  .stat-item {
    padding: clamp(14px, 3.5vw, 22px);
  }

  .stat-item strong {
    font-size: clamp(1.2rem, 4.5vw, 1.55rem);
    line-height: 1.2;
    overflow-wrap: normal;
    word-break: normal;
  }

  .stat-item span {
    margin-top: 4px;
    font-size: clamp(0.62rem, 2.2vw, 0.72rem);
    line-height: 1.35;
    letter-spacing: 0.03em;
    overflow-wrap: normal;
    word-break: normal;
  }

  .testimonial-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .testimonial-card {
    min-width: 0;
  }

  .testimonial-card p {
    overflow-wrap: normal;
    word-break: normal;
    hyphens: none;
  }
}

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

  .stat-item strong {
    font-size: clamp(1.1rem, 5vw, 1.35rem);
  }

  .program-bubble {
    --bubble-diameter: clamp(2.85rem, 12vw, 3.35rem);
    font-size: 0.58rem;
  }
}

