/* Global design tokens, base styles and layout. Compiled Tailwind utilities
   ship separately in app.css. */
:root {
  --primary-brand: #000050;
  --secondary-accent: #c0c0c0;
  --bg-base: #ffffff;
  --bg-surface: #f5f5f6;
  --text-main: #212121;
  --text-meta: #757575;
  --radius: 4px;
  --font-heading: "Oswald", sans-serif;
  --font-body: "Roboto", sans-serif;
  --header-h: 72px;
  --quick-bar-h: 68px;
  --hub-hold-h: 100vh;
  --container-max: 1280px;
  --container-pad: clamp(1.25rem, 4vw, 2.5rem);
  --spacing-section-y: 4rem;
  --spacing-section-gap: clamp(1.75rem, 3.5vw, 2.75rem);
  /* Typography scale — paragraph copy lands at 18px on desktop (≈17px on small
     phones) and headings scale up in proportion, still fluid per device (clamp).
     Unlayered :root beats the Tailwind theme layer so the whole scale updates site-wide
     from here without rebuilding the compiled app.css. */
  --text-body: clamp(1.0625rem, 1.85vw, 1.125rem); /* 17px → 18px */
  --text-body-sm: clamp(0.92rem, 1.45vw, 1.02rem);
  --text-lead: clamp(1.05rem, 1.95vw, 1.2rem);
  --text-h3: clamp(1rem, 1.78vw, 1.16rem);
  --text-h3-lg: clamp(1.16rem, 2.25vw, 1.4rem);
  --text-section: clamp(1.5rem, 3.45vw, 2rem);
  --text-section-lg: clamp(1.9rem, 4.3vw, 2.55rem);
}

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

html {
  -webkit-font-smoothing: antialiased;
}

/* .site-container → Tailwind utilities in HTML */

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text-main);
  background: var(--bg-base);
}

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

/* LOCKED:HEADER — see HERO-LOCKED.md */
/* ── Header — immersive hero + progressive white fill on scroll ── */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-h);
  overflow: hidden;
  background: transparent;
  pointer-events: none;
  --header-fill: 0%;
}

.site-header__fill {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: var(--header-fill);
  background: var(--bg-base);
  pointer-events: none;
  z-index: 0;
  transition: box-shadow 0.15s ease;
}

.site-header.is-solid .site-header__fill {
  box-shadow: 0 2px 8px rgba(0, 0, 80, 0.08);
}

.site-header__clip {
  position: absolute;
  left: 0;
  right: 0;
  overflow: hidden;
  pointer-events: auto;
}

.site-header__clip--dark {
  top: 0;
  height: calc(100% - var(--header-fill));
  z-index: 2;
}

.site-header__clip--dark::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: rgba(255, 255, 255, 0.28);
  pointer-events: none;
}

.site-header.is-solid .site-header__clip--dark::after,
.site-header:not(.is-immersive):not(.is-transitioning) .site-header__clip--dark::after {
  opacity: 0;
}

.site-header__clip--light {
  bottom: 0;
  height: var(--header-fill);
  z-index: 3;
  background: var(--bg-base);
}

.site-header__inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  height: var(--header-h);
  padding: 0 clamp(1rem, 3vw, 2.5rem);
}

.site-header__clip--light .site-header__inner {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
}

/* Dark theme — over hero/hub */
.site-header__clip--dark .logo__img {
  filter: brightness(0) invert(1);
}

.site-header__clip--dark .nav-link {
  color: rgba(255, 255, 255, 0.92);
}

.site-header__clip--dark .nav-link:hover,
.site-header__clip--dark .nav-link.is-active,
.site-header__clip--dark .nav-link.nav-dropdown:hover {
  color: #fff;
}

.site-header__clip--dark .nav-link.is-active {
  font-weight: 500;
  border-bottom-color: rgba(255, 255, 255, 0.92);
}

.site-header__clip--dark .nav-link:hover:not(.is-active),
.site-header__clip--dark .nav-link.nav-dropdown:hover {
  background: rgba(255, 255, 255, 0.08);
}

.site-header__clip--light .nav-link.is-active {
  font-weight: 500;
  border-bottom-color: var(--primary-brand);
}

.site-header__clip--light .nav-link:hover:not(.is-active) {
  background: rgba(0, 0, 80, 0.04);
}

.site-header__clip--dark .menu-toggle {
  color: #fff;
}

.btn-header--ghost {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.82);
  padding: 0.65rem 1rem;
}

.btn-header--ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 0 14px rgba(255, 255, 255, 0.12);
}

/* Light theme — over white QUALITY section */
.site-header__clip--light .nav-link {
  color: var(--text-main);
}

.site-header__clip--light .nav-link:hover,
.site-header__clip--light .nav-link.is-active {
  color: var(--primary-brand);
}

.site-header__clip--light .menu-toggle {
  color: var(--primary-brand);
}

/* Locked: solid = full white bar + dark (black) nav — never frosted blur */
.site-header.is-solid {
  --header-fill: 100%;
}

.site-header.is-solid .site-header__clip--dark {
  visibility: hidden;
  pointer-events: none;
  height: 0;
}

.site-header.is-solid .site-header__clip--light {
  visibility: visible;
  pointer-events: auto;
  height: 100%;
  background: var(--bg-base);
}

.site-header__inner .menu-toggle {
  margin-left: auto;
}

.logo__img {
  display: block;
  height: 44px;
  width: auto;
}

.main-nav {
  display: none;
  align-items: center;
  gap: 0.15rem;
  flex: 1;
  justify-content: center;
  flex-wrap: nowrap;
}

.nav-link {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  padding: 0.5rem 0.55rem;
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  color: var(--text-main);
  font-family: inherit;
  border-radius: 0;
  text-transform: uppercase;
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.nav-link:hover {
  color: var(--primary-brand);
}

/* Active = underline only — same size/weight as other items */
.nav-link.is-active {
  font-size: 0.68rem;
  font-weight: 500;
  border-bottom-color: currentColor;
  text-decoration: none;
}

.chevron {
  display: none;
}

/* .btn / .btn-primary → ghost-bem; header CTA visibility must beat .btn { display:inline-flex } */
.site-header .btn.btn-header {
  display: none;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
}

.menu-toggle .material-symbols-outlined {
  font-size: 1.55rem;
}

.material-symbols-outlined {
  font-family: "Material Symbols Outlined";
  font-weight: normal;
  font-style: normal;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 24;
  -webkit-font-smoothing: antialiased;
}

.menu-toggle {
  /* layout/visual owned by nav.css — keep color token only */
  color: var(--primary-brand);
}

/* Desktop only: show nav + ONLINE TRAINING (hidden on mobile — already in drawer) */
@media (min-width: 1100px) {
  .site-header .main-nav,
  .site-header .btn.btn-header {
    display: inline-flex;
  }
}

/* Light clip CTA keeps solid brand fill after scroll (HTML parity) */
.site-header__clip--light .btn.btn-header {
  background: var(--primary-brand, #000050);
  color: #fff;
  border: 1px solid var(--primary-brand, #000050);
  padding: 0.65rem 1rem;
}

.site-header__clip--light .btn.btn-header:hover {
  box-shadow: 0 0 16px rgba(0, 0, 80, 0.35);
}

/* LOCKED:HERO-HUB — see HERO-LOCKED.md */
/* ── Hero stage (scroll: hero → hub on same bg) ── */
/* Hero chrome is Tailwind utilities in HTML.
   Keep only GSAP scroll-pending + hub-panel positioning hooks. */
.hub-panel {
  position: absolute;
  inset: 0;
  z-index: 3;
  padding-bottom: var(--quick-bar-h);
  will-change: opacity, transform;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}

#hero-stage.scroll-pending #hub-panel {
  visibility: hidden !important;
  opacity: 0 !important;
}

#hero-stage.scroll-pending #hero-panel {
  visibility: visible !important;
  opacity: 1 !important;
}

#hero-panel {
  visibility: visible;
  opacity: 1;
}

/* ── Training Hub — Variant E Circuit Mesh ── */
.hub-panel__scrim {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 50% at 85% 8%, rgba(255, 255, 255, 0.14) 0%, transparent 55%),
    radial-gradient(ellipse at center, rgba(0, 0, 50, 0.15) 0%, rgba(0, 0, 50, 0.78) 100%);
  pointer-events: none;
}

.hub-panel__hex {
  position: absolute;
  inset: 0;
  opacity: 0.22;
  background-image:
    linear-gradient(30deg, rgba(192, 192, 192, 0.08) 12%, transparent 12.5%, transparent 87%, rgba(192, 192, 192, 0.08) 87.5%, rgba(192, 192, 192, 0.08)),
    linear-gradient(150deg, rgba(192, 192, 192, 0.08) 12%, transparent 12.5%, transparent 87%, rgba(192, 192, 192, 0.08) 87.5%, rgba(192, 192, 192, 0.08)),
    linear-gradient(90deg, rgba(192, 192, 192, 0.06) 12%, transparent 12.5%, transparent 87%, rgba(192, 192, 192, 0.06) 87.5%, rgba(192, 192, 192, 0.06));
  background-size: 42px 72px;
  pointer-events: none;
}

.hub-panel__inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding: calc(var(--header-h) + 0.35rem) clamp(0.75rem, 1.5vw, 1.25rem) clamp(0.5rem, 1.5vw, 1rem);
  overflow: hidden;
}

.hub-diagram {
  position: relative;
  --hub-available-h: calc(100dvh - var(--header-h) - var(--quick-bar-h) - clamp(1rem, 2.5vw, 2rem));
  width: min(calc(100vw - 2rem), max(calc(var(--hub-available-h) * 1000 / 700 + 120px), 1360px));
  height: var(--hub-available-h);
  max-height: var(--hub-available-h);
  margin: 0 auto;
  flex-shrink: 1;
}

.hub-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.hub-dots {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 4;
}

.hub-lines__path {
  opacity: 0.85;
}

/* Perfect circles — HTML dots (SVG circles stretch with preserveAspectRatio=none) */
.hub-lines__dot {
  position: absolute;
  width: 8px;
  height: 8px;
  margin-left: -4px;
  margin-top: -4px;
  border-radius: 9999px;
  background: #e8e8ec;
  box-shadow: 0 0 0 1px rgba(192, 192, 192, 0.75);
  transform-origin: 50% 50%;
}

.hub-center {
  position: absolute;
  left: 50%;
  top: 40%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  width: clamp(200px, 26vw, 260px);
  padding: clamp(1rem, 2vw, 1.35rem) clamp(0.85rem, 1.6vw, 1.1rem);
  background: linear-gradient(165deg, rgba(0, 0, 96, 0.92) 0%, rgba(0, 0, 50, 0.95) 55%, rgba(0, 0, 40, 0.98) 100%);
  border: 1px solid rgba(192, 192, 192, 0.55);
  border-radius: var(--radius);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.08) inset,
    0 0 24px rgba(192, 192, 192, 0.15),
    0 18px 48px rgba(0, 0, 0, 0.5);
  text-align: center;
  z-index: 3;
}

.hub-center__logo {
  display: block;
  width: clamp(108px, 13vw, 148px);
  height: auto;
  opacity: 0.98;
}

.hub-center__title {
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(0.78rem, 1.55vw, 0.95rem);
  font-weight: 500;
  letter-spacing: 0.14em;
  line-height: 1.2;
  color: #fff;
}

.hub-node {
  position: absolute;
  left: var(--hub-x);
  top: var(--hub-y);
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 0;
  width: clamp(118px, 16%, 168px);
  padding: 1rem 0.75rem 0.85rem;
  background: linear-gradient(160deg, rgba(0, 0, 90, 0.92) 0%, rgba(0, 0, 50, 0.96) 100%);
  border: 1px solid rgba(192, 192, 192, 0.5);
  border-radius: var(--radius);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.06) inset,
    0 0 16px rgba(192, 192, 192, 0.1),
    0 10px 26px rgba(0, 0, 0, 0.38);
  color: #fff;
  text-align: center;
  font-family: var(--font-body);
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
  z-index: 2;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.hub-node--bottom .hub-node__price--promo {
  font-size: 16px;
}

.hub-node--bottom .hub-node__name {
  letter-spacing: 0.03em;
}

@media (min-width: 1024px) {
  .site-header.is-immersive .site-header__clip--dark {
    background: transparent;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
}

/* NO-HUB home: frosted header (like inner pages) so the static hero content
   does not show sharply through the transparent header on scroll. Only applies
   when the Training Hub toggle is off; re-enabling the hub restores the
   transparent immersive header its animation was designed for. */
body:has(.hero-stage--no-hub) .site-header.is-immersive .site-header__clip--dark,
body:has(.hero-stage--no-hub) .site-header.is-transitioning .site-header__clip--dark {
  background: rgba(0, 0, 50, 0.58);
  -webkit-backdrop-filter: blur(14px) saturate(1.1);
  backdrop-filter: blur(14px) saturate(1.1);
}

@media (min-width: 1024px) and (max-width: 1180px) {
  .hub-diagram {
    width: min(calc(100vw - 1.5rem), calc(var(--hub-available-h) * 1000 / 700 + 80px));
  }
}

.hub-node:hover {
  border-color: rgba(192, 192, 192, 0.72);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.1) inset,
    0 0 22px rgba(192, 192, 192, 0.2),
    0 14px 30px rgba(0, 0, 0, 0.42);
}

.hub-node__icon {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  margin-bottom: 0.5rem;
  color: var(--secondary-accent);
}

.hub-node__icon svg {
  display: block;
  width: 1.65rem;
  height: 1.65rem;
  overflow: visible;
}

.hub-node__icon svg [stroke] {
  stroke-width: 1.15;
}

/* Dynamic Feature image on hub (overrides theme SVG) */
.hub-node__icon--photo {
  border-radius: 999px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.12);
  color: inherit;
}

.hub-node__icon--photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hub-node__price {
  font-family: var(--font-body);
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  font-weight: 500;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 0.35rem;
  letter-spacing: 0.01em;
}

.hub-node__price--promo {
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1.15;
}

.hub-node__name {
  font-family: var(--font-body);
  font-size: clamp(0.62rem, 1.1vw, 0.74rem);
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 1.3;
  color: rgba(220, 220, 228, 0.95);
}

@media (max-width: 1023px) {
  .hero-stage {
    height: auto;
    min-height: 100dvh;
  }

  .hero-stage__viewport {
    position: relative;
    top: auto;
    height: 100dvh;
    min-height: 100dvh;
    overflow: hidden;
  }

  .hub-panel {
    display: none !important;
  }

  /* Tablet/mobile: frosted header (not transparent) while over hero */
  .site-header.is-immersive .site-header__clip--dark,
  .site-header.is-transitioning .site-header__clip--dark {
    background: rgba(0, 0, 50, 0.62);
    -webkit-backdrop-filter: blur(14px) saturate(1.1);
    backdrop-filter: blur(14px) saturate(1.1);
  }

  .site-header.is-solid .site-header__clip--light {
    background: var(--bg-base);
  }
}

@media (max-width: 900px) {
  .hub-lines {
    display: none;
  }

  .hub-dots {
    display: none;
  }

  .hub-panel__inner {
    align-items: flex-start;
    padding-top: 1.25rem;
    padding-bottom: 1rem;
  }

  .hub-diagram {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
    width: 100%;
    height: auto;
    max-height: none;
    padding-bottom: 0.5rem;
  }

  .hub-center {
    position: static;
    transform: none;
    grid-column: 1 / -1;
    width: 100%;
    max-width: 280px;
    margin: 0 auto 0.25rem;
  }

  .hub-node {
    position: static;
    left: auto;
    top: auto;
    width: 100%;
    transform: none !important;
  }

  .hub-node:hover {
    transform: none;
  }
}

@media (max-width: 520px) {
  .hub-diagram {
    grid-template-columns: 1fr;
  }
}

/* ── Main content (white view after scroll) ── */
.site-main {
  position: relative;
  z-index: 20;
  background: var(--bg-base);
  min-height: calc(100dvh + var(--header-h));
}

@media (min-width: 1024px) {
  .site-main {
    z-index: 30;
    margin-top: calc(-1 * var(--hub-hold-h));
  }
}

/* NO-HUB MODE — when the Training Hub toggle is off, collapse the pinned hero→hub
   choreography into a single static hero that flows straight into QUALITY.
   (Two-class selectors beat the base/media rules above regardless of source order.) */
.hero-stage.hero-stage--no-hub {
  height: auto;
  min-height: 100dvh;
}

.hero-stage--no-hub .hero-stage__viewport {
  position: relative;
  top: auto;
  height: 100dvh;
  min-height: 100dvh;
  overflow: hidden;
}

.hero-stage--no-hub .hub-panel {
  display: none !important;
}

.site-main.site-main--no-hub {
  margin-top: 0;
}

/* LOCKED:QUALITY — see QUALITY-LOCKED.md */
/* Keep only multi-stop bridge gradient + collage absolute geometry */
.quality-section--c {
  background:
    radial-gradient(ellipse 90% 55% at 50% 0%, rgba(210, 218, 235, 0.55), transparent 68%),
    linear-gradient(
      180deg,
      #d8e0ef 0%,
      #e2e8f4 10%,
      #eaedf6 22%,
      #f1f4fa 38%,
      #f7f9fc 55%,
      #fcfdfe 72%,
      #ffffff 88%
    );
}

.quality-collage {
  position: relative;
  width: min(68.75rem, 100%);
  max-width: 1100px;
  margin-inline: auto;
  padding: clamp(0.5rem, 1.5vw, 1rem) 0 0;
}

.quality-collage::after {
  content: "";
  display: block;
  padding-bottom: calc(clamp(1.25rem, 2.8vw, 2rem) + 34% * 70 / 66);
  visibility: hidden;
  pointer-events: none;
}

.quality-collage__item {
  position: absolute;
  top: 0;
  aspect-ratio: 66 / 50;
}

.quality-collage__item--left {
  left: 0;
  width: 35%;
  z-index: 1;
}

.quality-collage__item--center {
  left: 50%;
  width: 34%;
  top: clamp(1.25rem, 2.8vw, 2rem);
  aspect-ratio: 66 / 70;
  z-index: 3;
  transform: translateX(-50%);
}

.quality-collage__item--right {
  right: 0;
  width: 35%;
  z-index: 2;
}

@media (max-width: 900px) {
  .quality-collage {
    width: 100%;
    max-width: 100%;
  }
}

@media (max-width: 560px) {
  .quality-collage::after {
    padding-bottom: calc(1.15rem + 36% * 70 / 66);
  }

  .quality-collage__item {
    border-width: 2px;
  }

  .quality-collage__item--left,
  .quality-collage__item--right {
    width: 38%;
  }

  .quality-collage__item--center {
    width: 36%;
    top: 1.15rem;
  }
}

/* ── UNLOCKED: new homepage sections below ── */

/* ── Course bands + cards (Section 4+) ── */
.course-band {
  scroll-margin-top: var(--header-h);
}

.course-band--online {
  background: linear-gradient(
    180deg,
    #ffffff 0%,
    #ffffff 20%,
    #f8fafc 30%,
    #f0f3f8 42%,
    #e8edf5 58%,
    #f2f5f9 78%,
    #fafbfd 92%,
    #ffffff 100%
  );
}

/* LOCKED:ONLINE gradient above — see ONLINE-LOCKED.md */

.course-band--armed {
  background: linear-gradient(
    180deg,
    #ffffff 0%,
    #ffffff 20%,
    #f9fafc 30%,
    #f1f4f9 42%,
    #e9edf5 58%,
    #f3f6fa 78%,
    #fbfcfd 92%,
    #ffffff 100%
  );
}

/* LOCKED:ARMED gradient above — see ARMED-LOCKED.md */

.course-band--unarmed {
  background: linear-gradient(
    180deg,
    #ffffff 0%,
    #ffffff 20%,
    #f8fafc 30%,
    #f0f3f8 42%,
    #e8edf5 58%,
    #f2f5f9 78%,
    #fafbfd 92%,
    #ffffff 100%
  );
}

/* LOCKED:UNARMED gradient above — see UNARMED-LOCKED.md */

/* course-band__body/wrap/header/title → Tailwind in HTML */

.course-grid--3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.5rem);
}

.course-grid--5 {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.5rem);
}

.course-grid--5 .course-card {
  grid-column: span 2;
}

.course-grid--5 .course-card:nth-child(4) {
  grid-column: 2 / span 2;
}

.course-grid--5 .course-card:nth-child(5) {
  grid-column: 4 / span 2;
}

/* .course-card layout/type → Tailwind; keep bg/border + CTA chrome for page-inner overrides */
.course-card {
  background: transparent;
  border: 1px solid rgba(192, 192, 192, 0.8);
  border-radius: var(--radius);
  box-shadow: none;
}

/* Course glyph sits comfortably inside the circular badge */
.course-card__icon-wrap {
  box-sizing: border-box;
  overflow: hidden;
  flex-shrink: 0;
  padding: 0.55rem !important;
}

.course-card__icon {
  display: block;
  width: 100% !important;
  height: 100% !important;
  max-width: 3.15rem;
  max-height: 3.15rem;
  margin: 0 auto;
  object-fit: contain;
  object-position: center;
}

.course-card__icon[src*="bouncer"] {
  max-width: 2.65rem;
  max-height: 2.65rem;
}

/* Skill / Value band: keep Material glyphs sized to the circle */
#skill article > div:first-child > .material-symbols-outlined,
#value article > div:first-child > .material-symbols-outlined,
#value a > span:first-child > .material-symbols-outlined {
  font-size: clamp(1.85rem, 3.5vw, 2.25rem) !important;
  line-height: 1 !important;
  display: block;
}

.course-card__cta {
  color: var(--primary-brand);
  background: transparent;
  border: 1.5px solid rgba(0, 0, 80, 0.32);
  border-radius: var(--radius);
  text-decoration: none;
  transition:
    background-color 0.15s ease,
    color 0.15s ease,
    border-color 0.15s ease;
}

.course-card__cta:hover {
  color: var(--bg-base);
  background: var(--primary-brand);
  border-color: var(--primary-brand);
}

/* SKILL + VALUE layout/type → Tailwind in index.html */

/* ── INFORMATION section (Section 9) — video + contact + city/course directories ── */
/* info-band shell → Tailwind */

/* info-band__body/wrap/header/title → Tailwind in HTML */

/* info-intro → Tailwind */

.info-video {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid rgba(192, 192, 192, 0.8);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 20% 15%, rgba(255, 255, 255, 0.55), transparent 45%),
    linear-gradient(160deg, #0a0a2e 0%, #000050 55%, #12123a 100%);
  box-shadow: 0 14px 32px rgba(0, 0, 80, 0.12);
}

.info-video.is-playing {
  background: #000;
}

.info-video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.info-video__play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  color: inherit;
}

.info-video__poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.info-video__btn {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 4.25rem;
  height: 4.25rem;
  border-radius: 50%;
  color: #fff;
  background: rgba(0, 0, 50, 0.88);
  border: 2px solid rgba(255, 255, 255, 0.92);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
  transition:
    transform 0.18s cubic-bezier(0.16, 1, 0.3, 1),
    background-color 0.18s ease;
}

.info-video__btn .material-symbols-outlined {
  font-size: 2.1rem;
  line-height: 1;
  margin-left: 0.12rem;
  font-variation-settings: "wght" 400, "opsz" 28, "FILL" 1, "GRAD" 0;
}

.info-video__play:hover .info-video__btn,
.info-video__play:focus-visible .info-video__btn {
  transform: scale(1.06);
  background: var(--primary-brand);
}

.info-video__play:focus-visible {
  outline: 2px solid #fff;
  outline-offset: -4px;
}

/* info-block titles → Tailwind */

.info-card-grid {
  display: grid;
  gap: clamp(1.15rem, 2.2vw, 1.5rem);
}

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

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

.info-card-grid--inperson {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

/* .info-card* base/hover → Tailwind group utilities in HTML */

.info-card-grid--online .info-card__label,
.info-card-grid--inperson .info-card__label {
  font-size: clamp(0.72rem, 1.05vw, 0.84rem);
}

.info-card-grid--online .info-card__icon,
.info-card-grid--inperson .info-card__icon {
  width: 3.15rem;
  height: 3.15rem;
  padding: 0.5rem;
}

.info-map-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 14rem;
  padding: 0.7rem 1.35rem;
  color: #fff;
  background: var(--primary-brand);
  border: 1px solid var(--primary-brand);
  border-radius: var(--radius);
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-decoration: none;
  transition:
    background-color 0.18s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.18s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.18s cubic-bezier(0.16, 1, 0.3, 1);
}

.info-map-btn:hover {
  background: #00006a;
  border-color: #00006a;
  transform: translateY(-1px);
}

/* info-courses layout → Tailwind */

@media (max-width: 1100px) {
  .info-card-grid--cities {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .info-card-grid--cities {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

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

  .info-courses {
    gap: clamp(1.75rem, 4vw, 2.5rem);
  }
}

@media (max-width: 560px) {
  .info-card-grid--cities,
  .info-card-grid--online,
  .info-card-grid--inperson {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.1rem;
  }

  .info-card {
    padding: 0.75rem 0.4rem;
  }

  .info-card__icon {
    width: 3rem;
    height: 3rem;
    padding: 0.48rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .info-contact,
  .info-card__icon,
  .info-card__label,
  .info-map-btn {
    transition: none;
  }

  .info-contact:hover,
  .info-map-btn:hover,
  .info-card:hover .info-card__icon {
    transform: none;
  }
}

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

  .course-grid--5 .course-card,
  .course-grid--5 .course-card:nth-child(4),
  .course-grid--5 .course-card:nth-child(5) {
    grid-column: auto;
  }

  .course-grid--3 {
    grid-template-columns: 1fr;
    max-width: 22rem;
    margin-inline: auto;
  }
}

@media (max-width: 560px) {
  .course-grid--5 {
    grid-template-columns: 1fr;
    max-width: 22rem;
    margin-inline: auto;
  }
}

@media (max-width: 480px) {
  .site-header {
    gap: 0.75rem;
    padding: 0 0.75rem;
  }

  .logo img {
    height: 36px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .btn,
  .hero-tab,
  .quick-card,
  .nav-link,
  .hub-node {
    transition: none;
  }

  .hero-panel,
  .hub-panel {
    will-change: auto;
  }
}

/* LOCKED:FOOTER — see FOOTER-LOCKED.md; do not edit without client approval */
/* Solid navy + atmospheric fill; clean 5-col menu + plain social */
.site-footer {
  position: relative;
  isolation: isolate;
  overflow-x: clip;
  color: #f5f7fb;
  background: #000050;
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(
      180deg,
      rgba(0, 0, 50, 0.82) 0%,
      rgba(0, 0, 50, 0.72) 40%,
      rgba(0, 0, 40, 0.88) 100%
    ),
    url("../images/footer/footer-atmosphere.jpg") center 45% / cover no-repeat;
  pointer-events: none;
}

.site-footer__bridge {
  display: none;
}

/* footer body/wrap/brand/title/list/tagline/copy → Tailwind; keep logo filter + groups MQ */

.site-footer__logo img {
  display: block;
  max-width: 280px;
  height: clamp(4.25rem, 8vw, 5.5rem);
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.98;
}

/* Flex shell = true viewport center (avoids grid-item left-pack) */
.site-footer__groups-shell {
  display: flex;
  justify-content: center;
  width: 100%;
  max-width: 100%;
  padding-inline: var(--container-pad);
  box-sizing: border-box;
}

.site-footer__groups {
  --footer-cols: 5;
  display: grid;
  grid-template-columns: repeat(var(--footer-cols), minmax(0, 1fr));
  gap: clamp(1.5rem, 3vw, 2.75rem);
  width: 100%;
  max-width: 1152px;
  margin-inline: 0;
  padding-inline: 0;
  border: 0;
  box-sizing: border-box;
  align-items: start;
  justify-items: start;
}

.site-footer__group {
  min-width: 0;
}

.site-footer__group + .site-footer__group {
  border-left: 0;
}

.site-footer__list a {
  display: inline-block;
  font-size: clamp(0.84rem, 1.25vw, 0.92rem);
  line-height: 1.45;
  color: rgba(232, 236, 244, 0.88);
  text-decoration: none;
  transition: color 0.15s ease;
}

.site-footer__list a:hover {
  color: #fff;
  text-decoration: none;
}

/* footer bottom/social → Tailwind; keep link hover below */

.site-footer__social a {
  display: grid;
  place-items: center;
  width: auto;
  height: auto;
  padding: 0.15rem;
  color: rgba(255, 255, 255, 0.92);
  border: 0;
  border-radius: 0;
  background: transparent;
  transition: color 0.15s ease, opacity 0.15s ease;
}

.site-footer__social a:hover {
  color: #fff;
  opacity: 0.75;
  background: transparent;
  border: 0;
}

.site-footer__social svg {
  display: block;
  width: 1.15rem;
  height: 1.15rem;
}

.scroll-top {
  position: fixed;
  right: clamp(1rem, 3vw, 1.5rem);
  bottom: clamp(1rem, 3vw, 1.5rem);
  z-index: 90;
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  margin: 0;
  padding: 0;
  color: #fff;
  background: var(--primary-brand);
  border: 1px solid rgba(192, 192, 192, 0.45);
  border-radius: 50%;
  box-shadow: 0 8px 20px rgba(0, 0, 80, 0.22);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition:
    opacity 0.2s ease,
    transform 0.2s cubic-bezier(0.16, 1, 0.3, 1),
    background-color 0.15s ease;
}

.scroll-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.scroll-top:hover {
  background: #00006a;
}

.scroll-top[hidden] {
  display: none;
}

@media (max-width: 1100px) {
  .site-footer__groups {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(1.5rem, 3vw, 2rem) clamp(1.25rem, 2.5vw, 2rem);
  }
}

@media (max-width: 700px) {
  .site-footer__groups {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem 1.25rem;
  }

  .site-footer__group:last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 420px) {
  .site-footer__groups {
    grid-template-columns: 1fr;
  }

  .site-footer__group:last-child {
    grid-column: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-footer__list a,
  .site-footer__social a,
  .scroll-top {
    transition: none;
  }

  .scroll-top,
  .scroll-top.is-visible {
    transform: none;
  }
}
/* /LOCKED:FOOTER */
