:root {
  --pink: #d89ab2;
  --pink-strong: #b7678c;
  --ink: #fff7fb;
  --muted: #d8c9d1;
  --bg: #0b090d;
  --panel: #171218;
  --panel-2: #211923;
  --line: #5b4350;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 18% 12%, rgba(216, 154, 178, 0.16), transparent 28%),
    linear-gradient(180deg, #050405 0%, var(--bg) 100%);
  color: var(--ink);
  font: 16px/1.5 Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  min-height: 100dvh;
  overflow-x: hidden;
}

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
  pointer-events: auto;
  touch-action: manipulation;
}

.nav-link,
.intro-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.topbar {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 8;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 60px;
  padding: 10px clamp(14px, 2vw, 26px);
  border-bottom: 1px solid rgba(216, 154, 178, 0.18);
  background: linear-gradient(180deg, rgba(7, 5, 8, 0.84), rgba(7, 5, 8, 0.48));
  backdrop-filter: blur(18px);
}

.brand {
  display: flex;
  align-items: baseline;
  gap: 5px;
  color: var(--ink);
  font-weight: 900;
  letter-spacing: 0;
  text-decoration: none;
  text-transform: uppercase;
}

.brand span {
  color: var(--pink);
}

.brand small {
  margin-left: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  text-transform: none;
}

nav {
  display: flex;
  gap: 10px;
}

.primary,
.ghost,
.scene-controls button,
.view-chip,
.station-hit,
.lesson-tabs button,
.close {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #201720;
  color: var(--ink);
  padding: 8px 11px;
  min-height: 38px;
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.primary {
  border-color: var(--pink);
  background: var(--pink);
  color: #160a11;
  font-weight: 800;
}

.ghost:hover,
.scene-controls button:hover,
.view-chip:hover,
.station-hit:hover,
.lesson-tabs button:hover,
.close:hover {
  border-color: var(--pink);
  background: #352131;
  transform: translateY(-1px);
}

.gym-shell {
  position: relative;
  display: block;
  min-height: 100dvh;
  padding: 0;
}

.intro-gate {
  position: absolute;
  z-index: 9;
  inset: 0;
  display: grid;
  place-content: center;
  gap: 16px;
  padding: 24px;
  text-align: center;
  background:
    radial-gradient(circle at 50% 42%, rgba(216, 154, 178, 0.24), transparent 28%),
    linear-gradient(180deg, rgba(5, 4, 5, 0.42), rgba(5, 4, 5, 0.8));
  transition: opacity 420ms ease, transform 420ms ease, visibility 420ms ease;
}

.intro-gate p {
  margin: 0;
  color: var(--pink);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.intro-gate h1 {
  margin: 0;
  font-size: clamp(54px, 10vw, 144px);
  line-height: 0.86;
  text-transform: uppercase;
  text-shadow: 0 22px 70px rgba(0, 0, 0, 0.58);
}

.intro-gate span {
  max-width: 520px;
  margin: 0 auto;
  color: var(--ink);
  font-size: clamp(17px, 2vw, 24px);
  font-weight: 700;
}

.intro-gate .primary {
  justify-self: center;
  min-height: 52px;
  padding-inline: 22px;
  font-size: 17px;
}

.intro-actions,
.camp-actions {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.intro-actions .primary,
.intro-actions .ghost {
  min-height: 52px;
  padding-inline: 22px;
  font-size: 17px;
  font-weight: 800;
}

body:not(.intro-mode) .intro-gate {
  opacity: 0;
  pointer-events: none;
  transform: scale(1.04);
  visibility: hidden;
}

body.intro-mode .topbar,
body.intro-mode .side-panel,
body.intro-mode .hotspots,
body.intro-mode .walk-arrow,
body.intro-mode .walkway,
body.intro-mode .scene-controls,
body.intro-mode .coach-guide,
body.intro-mode .gym-route {
  opacity: 0;
  pointer-events: none;
}

body:not(.show-route-start) .route-start-prompt {
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -44%) scale(0.96);
  visibility: hidden;
}

body:not(.tour-active) .tour-progress,
body.tour-active .coach-guide {
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
}

.scene-panel {
  position: relative;
  height: 100dvh;
  min-height: 620px;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: #161116;
  box-shadow: none;
  perspective: 1200px;
}

.scene-photo {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: var(--scene-image, url("assets/gym.jpg"));
  background-position: var(--scene-pos, 50% 50%);
  background-size: cover;
  transform: translate3d(var(--look-x, 0), var(--look-y, 0), 0) scale(calc(var(--scene-zoom, 1) + 0.04));
  transition: transform 900ms cubic-bezier(0.2, 0.8, 0.2, 1), background-position 900ms cubic-bezier(0.2, 0.8, 0.2, 1), filter 350ms ease, opacity 240ms ease;
  pointer-events: none;
}

.scene-photo.walking {
  filter: saturate(1.12) contrast(1.06);
}

.scene-panel[data-walking="forward"] .scene-photo {
  animation: walkForward 700ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.scene-panel[data-walking="back"] .scene-photo {
  animation: walkBack 700ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.scene-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.68), transparent 28%, rgba(0, 0, 0, 0.78)),
    radial-gradient(circle at 50% 48%, transparent 0 38%, rgba(0, 0, 0, 0.36) 72%);
  pointer-events: none;
}

.scene-panel[data-view="4"] .scene-shade {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.5), transparent 24%, rgba(0, 0, 0, 0.62)),
    radial-gradient(circle at 48% 52%, transparent 0 54%, rgba(0, 0, 0, 0.24) 80%);
}

.view-sweep {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(90deg, transparent, rgba(255, 247, 251, 0.16), transparent);
  opacity: 0;
  pointer-events: none;
  transform: translateX(-120%);
}

.scene-panel.changing-view .view-sweep {
  animation: sweep 720ms ease;
}

.view-copy {
  position: absolute;
  z-index: 4;
  top: 76px;
  left: clamp(16px, 4vw, 54px);
  max-width: min(520px, calc(100% - 36px));
  padding: 14px 16px;
  border: 1px solid rgba(216, 154, 178, 0.35);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(13, 9, 13, 0.88), rgba(33, 25, 35, 0.68));
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.38);
  backdrop-filter: blur(18px);
  pointer-events: none;
}

.view-copy p,
.eyebrow {
  margin: 0 0 4px;
  color: var(--pink);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

.view-copy h1 {
  margin-bottom: 4px;
  font-size: clamp(34px, 5vw, 74px);
  line-height: 0.98;
}

.view-copy span {
  color: var(--muted);
}

.hotspots {
  position: absolute;
  z-index: 5;
  inset: 120px 18px 108px;
  pointer-events: none;
}

.hotspot {
  position: absolute;
  pointer-events: auto;
  transform: translate(-50%, -50%);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: 190px;
  border: 1px solid rgba(255, 225, 238, 0.85);
  border-radius: 999px;
  background: rgba(17, 12, 17, 0.78);
  color: var(--ink);
  padding: 9px 12px 9px 8px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.52);
  font-size: 13px;
  backdrop-filter: blur(14px);
  transition: transform 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.hotspot::before {
  content: "+";
  display: grid;
  width: 21px;
  height: 21px;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--pink);
  color: #140910;
  font-weight: 900;
  box-shadow: 0 0 0 7px rgba(216, 154, 178, 0.18);
}

.hotspot:hover,
.hotspot:focus-visible {
  background: var(--pink-strong);
  transform: translate(-50%, -50%) scale(1.04);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.62), 0 0 0 6px rgba(216, 154, 178, 0.2);
}

.scene-controls {
  position: absolute;
  z-index: 4;
  right: clamp(14px, 2vw, 24px);
  bottom: 18px;
  left: auto;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}

.scene-controls > button {
  display: none;
}

.route-start-prompt {
  position: absolute;
  z-index: 7;
  top: 52%;
  left: 50%;
  display: grid;
  width: min(360px, calc(100vw - 34px));
  gap: 10px;
  justify-items: center;
  padding: 18px;
  border: 1px solid rgba(255, 247, 251, 0.58);
  border-radius: 8px;
  background:
    radial-gradient(circle at 50% 0%, rgba(216, 154, 178, 0.28), transparent 54%),
    linear-gradient(135deg, rgba(8, 6, 9, 0.92), rgba(35, 25, 35, 0.86));
  box-shadow: 0 28px 95px rgba(0, 0, 0, 0.58), 0 0 0 999px rgba(0, 0, 0, 0.16);
  text-align: center;
  transform: translate(-50%, -50%);
  transition: opacity 220ms ease, transform 220ms ease, visibility 220ms ease;
  backdrop-filter: blur(18px);
}

.route-start-prompt p {
  margin: 0;
  color: var(--pink);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.route-start-prompt .primary {
  min-height: 54px;
  padding: 12px 24px;
  font-size: 20px;
}

.route-start-prompt span {
  color: var(--muted);
  font-size: 14px;
}

.tour-progress {
  position: absolute;
  z-index: 6;
  top: 78px;
  right: clamp(16px, 4vw, 54px);
  display: grid;
  width: min(310px, calc(100vw - 32px));
  gap: 8px;
  padding: 12px;
  border: 1px solid rgba(216, 154, 178, 0.35);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(8, 6, 9, 0.86), rgba(33, 25, 35, 0.72));
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.38);
  transition: opacity 180ms ease, visibility 180ms ease;
  backdrop-filter: blur(18px);
}

.tour-progress div:first-child {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.tour-progress strong {
  font-size: 15px;
}

.tour-progress span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.progress-track {
  height: 7px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 247, 251, 0.16);
}

.progress-track span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: var(--pink);
  transition: width 220ms ease;
}

.gym-route {
  position: absolute;
  z-index: 6;
  right: clamp(16px, 4vw, 54px);
  bottom: 22px;
  left: clamp(16px, 4vw, 54px);
  display: none;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  padding: 8px;
  border: 1px solid rgba(216, 154, 178, 0.35);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(8, 6, 9, 0.86), rgba(33, 25, 35, 0.72));
  box-shadow: 0 24px 75px rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(18px);
}

.route-step {
  position: relative;
  display: grid;
  min-height: 76px;
  align-content: center;
  gap: 2px;
  border: 1px solid rgba(255, 247, 251, 0.18);
  border-radius: 8px;
  background: rgba(17, 12, 17, 0.78);
  color: var(--ink);
  padding: 10px 12px;
  text-align: left;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.route-step::before {
  content: "";
  position: absolute;
  top: 50%;
  left: -10px;
  width: 10px;
  height: 1px;
  background: rgba(216, 154, 178, 0.45);
}

.route-step:first-child::before {
  display: none;
}

.route-step small {
  color: var(--pink);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.route-step strong {
  font-size: 17px;
  line-height: 1.05;
}

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

.route-step:hover,
.route-step:focus-visible {
  border-color: var(--pink);
  background: #352131;
  transform: translateY(-1px);
}

.route-step.active {
  border-color: rgba(255, 247, 251, 0.85);
  background: var(--pink);
  color: #140910;
}

.route-step.active small,
.route-step.active span {
  color: #3f1c2e;
}

.coach-guide {
  position: absolute;
  z-index: 6;
  bottom: 124px;
  left: clamp(16px, 4vw, 54px);
  display: grid;
  width: min(365px, calc(100vw - 32px));
  gap: 6px;
  padding: 13px;
  border: 1px solid rgba(216, 154, 178, 0.38);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(10, 7, 10, 0.9), rgba(35, 25, 35, 0.7));
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(18px);
}

.coach-guide p {
  margin: 0;
  color: var(--pink);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.coach-guide strong {
  font-size: 18px;
  line-height: 1.1;
}

.coach-guide span {
  color: var(--muted);
  font-size: 13px;
}

.coach-guide .ghost {
  justify-self: start;
  min-height: 34px;
  margin-top: 4px;
  padding: 6px 9px;
  font-size: 13px;
}

.walk-arrow {
  display: none;
  position: absolute;
  z-index: 6;
  place-items: center;
  width: clamp(96px, 11vw, 142px);
  height: clamp(96px, 11vw, 142px);
  border: 2px solid rgba(255, 247, 251, 0.9);
  border-radius: 50%;
  background: rgba(216, 154, 178, 0.9);
  color: #140910;
  box-shadow: 0 18px 54px rgba(0, 0, 0, 0.5);
  font-weight: 900;
  text-align: center;
  text-transform: uppercase;
  transition: transform 180ms ease, background 180ms ease;
}

.walk-arrow::before {
  content: "";
  width: 42%;
  height: 42%;
  border-top: 13px solid currentColor;
  border-right: 13px solid currentColor;
  transform: rotate(-45deg);
}

.walk-arrow span {
  position: absolute;
  right: 9px;
  bottom: 14px;
  left: 9px;
  font-size: 11px;
  line-height: 1.05;
}

.walk-arrow:hover,
.walk-arrow:focus-visible {
  transform: translateY(-3px) scale(1.03);
  background: #f0b2ca;
}

.walk-arrow-next {
  right: clamp(24px, 8vw, 110px);
  bottom: 24%;
}

.walk-arrow-prev {
  left: clamp(24px, 7vw, 94px);
  bottom: 24%;
  background: rgba(17, 12, 17, 0.86);
  color: var(--ink);
}

.walk-arrow-prev::before {
  transform: rotate(135deg);
}

.walkway {
  position: absolute;
  z-index: 4;
  right: 22%;
  bottom: 116px;
  left: 22%;
  display: grid;
  min-height: 58px;
  place-items: center;
  border-top: 1px solid rgba(216, 154, 178, 0.35);
  color: rgba(255, 247, 251, 0.86);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-align: center;
  text-transform: uppercase;
  pointer-events: none;
}

.walkway::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 50%;
  width: min(380px, 72vw);
  height: 90px;
  border: 1px solid rgba(216, 154, 178, 0.3);
  border-top: 0;
  transform: translateX(-50%) perspective(220px) rotateX(64deg);
  transform-origin: top center;
  background: linear-gradient(180deg, rgba(216, 154, 178, 0.22), transparent);
  clip-path: polygon(42% 0, 58% 0, 100% 100%, 0 100%);
}

.walkway span {
  position: relative;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(7, 5, 8, 0.62);
  backdrop-filter: blur(12px);
}

.view-dots {
  display: flex;
  gap: 8px;
}

.view-dots button {
  width: 12px;
  height: 12px;
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 50%;
  background: transparent;
  padding: 0;
}

.view-dots button.active {
  border-color: var(--pink);
  background: var(--pink);
}

.side-panel,
.status-strip,
.station-card,
.qa-card {
  border: 1px solid rgba(216, 154, 178, 0.3);
  border-radius: 8px;
  background: var(--panel);
}

.side-panel {
  position: absolute;
  z-index: 7;
  top: 74px;
  right: clamp(12px, 2vw, 28px);
  display: flex;
  width: min(330px, calc(100vw - 24px));
  max-height: calc(100dvh - 140px);
  min-height: 0;
  flex-direction: column;
  gap: 12px;
  overflow: auto;
  padding: 14px;
  background: linear-gradient(180deg, rgba(23, 18, 24, 0.86), rgba(12, 9, 13, 0.74));
  box-shadow: 0 22px 75px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(20px);
  transform: translateX(calc(100% + 36px));
  transition: transform 260ms ease, opacity 260ms ease;
  opacity: 0;
  pointer-events: none;
}

body.map-open .side-panel {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}

.panel-heading h2 {
  margin-bottom: 0;
  font-size: 19px;
  line-height: 1.1;
}

.panel-heading p,
.station-index label {
  margin: 0 0 6px;
  color: var(--pink);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.view-list,
#stationResults {
  display: grid;
  gap: 7px;
}

.view-chip {
  width: 100%;
  text-align: left;
  padding: 9px 10px;
}

.view-chip.active {
  border-color: var(--pink);
  background: #4d2c40;
}

.view-chip span,
.station-hit span {
  display: block;
  color: var(--muted);
  font-size: 12px;
}

.station-index {
  display: grid;
  gap: 8px;
  min-height: 0;
}

.station-index input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #100d12;
  color: var(--ink);
  padding: 12px;
}

.station-hit {
  width: 100%;
  text-align: left;
  padding: 8px 10px;
}

.status-strip {
  position: fixed;
  z-index: 6;
  right: clamp(14px, 2vw, 28px);
  bottom: 18px;
  left: auto;
  display: grid;
  grid-template-columns: repeat(4, auto);
  gap: 1px;
  max-width: none;
  margin: 0;
  overflow: hidden;
  opacity: 0.72;
  backdrop-filter: blur(16px);
}

.status-strip div {
  padding: 8px 10px;
  background: rgba(21, 16, 21, 0.74);
}

.status-strip strong {
  display: block;
  font-size: 14px;
}

.status-strip span {
  color: var(--muted);
  font-size: 11px;
}

.drawer,
.qa-modal {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: none;
  padding: 18px;
}

.drawer.show,
.qa-modal.show {
  display: block;
  animation: modalIn 180ms ease;
}

.drawer-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.74);
  backdrop-filter: blur(12px);
}

.station-card,
.qa-card {
  position: relative;
  width: min(1240px, calc(100vw - 36px));
  max-height: calc(100vh - 36px);
  margin: 4vh auto 0;
  overflow: auto;
  padding: 18px;
  box-shadow: var(--shadow);
  background:
    linear-gradient(135deg, rgba(216, 154, 178, 0.13), transparent 32%),
    var(--panel);
  backdrop-filter: blur(18px);
  animation: stationRise 240ms ease;
}

.qa-card {
  width: min(760px, calc(100vw - 36px));
  margin-top: 5vh;
}

.qa-card li {
  margin: 10px 0;
}

.photo-credits {
  margin-top: 18px;
  color: var(--muted);
  font-size: 13px;
}

.photo-credits summary {
  color: var(--pink);
  cursor: pointer;
  font-weight: 800;
}

.close {
  margin-bottom: 14px;
}

.station-grid {
  display: grid;
  grid-template-columns: minmax(320px, 1.05fr) minmax(0, 0.95fr);
  gap: 18px;
}

.equipment-card {
  display: grid;
  min-height: 500px;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(216, 154, 178, 0.28);
  border-radius: 8px;
  background: #0f0d11;
  box-shadow: inset 0 0 0 1px rgba(255, 247, 251, 0.04);
}

.equipment-card img {
  width: 100%;
  height: 100%;
  max-height: 570px;
  object-fit: cover;
}

.missing-photo {
  display: none;
  padding: 26px;
  color: var(--muted);
  text-align: center;
}

.missing-photo.show {
  display: block;
}

.lesson-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

#stationSummary,
#topicTip,
#videoNote {
  color: var(--muted);
}

.lesson-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.lesson-tabs button {
  min-height: 38px;
  padding: 8px 10px;
  font-size: 14px;
}

.lesson-tabs button.active {
  border-color: var(--pink);
  background: var(--pink);
  color: #13080f;
}

.topic-box,
.video-box {
  border: 1px solid rgba(216, 154, 178, 0.25);
  border-radius: 8px;
  background: var(--panel-2);
  padding: 14px;
}

.video-box video {
  width: 100%;
  max-height: 360px;
  border-radius: 8px;
  background: #050405;
}

@keyframes walkForward {
  0% { transform: translate3d(var(--look-x, 0), var(--look-y, 0), 0) scale(calc(var(--scene-zoom, 1) + 0.03)); }
  48% { transform: translate3d(var(--look-x, 0), calc(var(--look-y, 0) + 14px), 0) scale(calc(var(--scene-zoom, 1) + 0.1)); filter: blur(1px) saturate(1.14); }
  100% { transform: translate3d(var(--look-x, 0), var(--look-y, 0), 0) scale(var(--scene-zoom, 1)); }
}

@keyframes walkBack {
  0% { transform: translate3d(var(--look-x, 0), var(--look-y, 0), 0) scale(calc(var(--scene-zoom, 1) + 0.02)); }
  48% { transform: translate3d(var(--look-x, 0), calc(var(--look-y, 0) - 12px), 0) scale(calc(var(--scene-zoom, 1) - 0.01)); filter: blur(1px) saturate(1.08); }
  100% { transform: translate3d(var(--look-x, 0), var(--look-y, 0), 0) scale(var(--scene-zoom, 1)); }
}

@keyframes sweep {
  0% { opacity: 0; transform: translateX(-120%); }
  30% { opacity: 1; }
  100% { opacity: 0; transform: translateX(120%); }
}

@keyframes modalIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes stationRise {
  from { opacity: 0; transform: translateY(18px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@media (max-width: 980px) {
  .station-grid {
    grid-template-columns: 1fr;
  }

  .side-panel {
    top: auto;
    right: 10px;
    bottom: 76px;
    left: 10px;
    width: auto;
    max-height: 30dvh;
    transform: translateY(calc(100% + 96px));
  }

  body.map-open .side-panel {
    transform: translateY(0);
  }

  .scene-panel {
    height: 100dvh;
    min-height: 620px;
  }

  .status-strip {
    display: none;
  }

  .coach-guide {
    right: 10px;
    bottom: 158px;
    left: 10px;
    width: auto;
  }

  .gym-route {
    right: 10px;
    bottom: 10px;
    left: 10px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .route-step {
    min-height: 70px;
    padding: 8px;
  }

  .route-step strong {
    font-size: 14px;
  }

  .route-step span {
    display: none;
  }

  .route-start-prompt {
    top: 46%;
  }

  .tour-progress {
    top: 84px;
    right: 10px;
    left: 10px;
    width: auto;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 15px;
  }

  .topbar {
    align-items: center;
    flex-direction: row;
    gap: 8px;
  }

  nav {
    gap: 6px;
  }

  nav button {
    padding-inline: 9px;
  }

  .brand {
    flex-wrap: wrap;
  }

  .brand small {
    display: none;
  }

  .scene-panel {
    height: 100dvh;
    min-height: 620px;
  }

  .hotspots {
    inset: 142px 8px 150px;
  }

  .view-copy {
    top: 82px;
    left: 10px;
  }

  .view-copy h1 {
    font-size: 34px;
  }

  .walk-arrow {
    width: 74px;
    height: 74px;
  }

  .walk-arrow::before {
    border-top-width: 9px;
    border-right-width: 9px;
  }

  .walk-arrow span {
    bottom: 9px;
    font-size: 9px;
  }

  .walk-arrow-next {
    right: 14px;
    bottom: 36%;
  }

  .walk-arrow-prev {
    left: 14px;
    bottom: 36%;
  }

  .walkway {
    right: 12px;
    bottom: 136px;
    left: 12px;
    min-height: 44px;
    font-size: 11px;
  }

  .coach-guide {
    bottom: 112px;
    padding: 10px;
  }

  .coach-guide strong {
    font-size: 15px;
  }

  .coach-guide span {
    font-size: 12px;
  }

  .route-start-prompt {
    width: min(310px, calc(100vw - 28px));
    padding: 14px;
  }

  .route-start-prompt .primary {
    min-height: 48px;
    font-size: 17px;
  }

  .tour-progress {
    top: 86px;
    padding: 10px;
  }

  .tour-progress strong {
    font-size: 14px;
  }

  .hotspot {
    max-width: 145px;
    padding: 7px 9px 7px 7px;
    font-size: 12px;
  }

  .hotspot::before {
    width: 19px;
    height: 19px;
  }

  .scene-controls {
    align-items: stretch;
    right: 10px;
    bottom: 8px;
  }

  .gym-route {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 5px;
    padding: 5px;
  }

  .route-step {
    min-height: 58px;
    padding: 7px 5px;
    text-align: center;
  }

  .route-step::before,
  .route-step span,
  .route-step small {
    display: none;
  }

  .route-step strong {
    font-size: 12px;
  }

  .view-dots {
    align-items: center;
  }

  .status-strip {
    grid-template-columns: 1fr;
  }

  .drawer,
  .qa-modal {
    padding: 8px;
  }

  .station-card,
  .qa-card {
    width: calc(100vw - 16px);
    max-height: calc(100vh - 16px);
  }

  .equipment-card {
    min-height: 300px;
  }
}

.training-camp {
  position: relative;
  z-index: 2;
  padding: clamp(22px, 5vw, 72px);
  background:
    radial-gradient(circle at 82% 12%, rgba(216, 154, 178, 0.15), transparent 30%),
    #080609;
  scroll-margin-top: 60px;
}

.camp-hero {
  position: relative;
  min-height: min(82vh, 860px);
  overflow: hidden;
  border: 1px solid rgba(216, 154, 178, 0.28);
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.camp-hero > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 38%;
}

.camp-hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 4, 5, 0.9) 0%, rgba(5, 4, 5, 0.62) 42%, rgba(5, 4, 5, 0.16) 76%),
    linear-gradient(0deg, rgba(5, 4, 5, 0.72), transparent 50%);
}

.camp-hero-copy {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  min-height: min(82vh, 860px);
  width: min(680px, 88%);
  padding: clamp(28px, 6vw, 84px);
}

.camp-hero-copy h1 {
  max-width: 760px;
  margin: 8px 0 18px;
  font-size: clamp(48px, 8vw, 112px);
  line-height: 0.88;
  letter-spacing: -0.055em;
  text-transform: uppercase;
}

.camp-hero-copy > p:not(.eyebrow) {
  max-width: 600px;
  margin: 0 0 26px;
  color: #eee3e9;
  font-size: clamp(17px, 2vw, 23px);
  font-weight: 650;
}

.camp-actions {
  justify-content: flex-start;
}

.camp-actions a {
  min-height: 48px;
  padding: 11px 16px;
  font-weight: 800;
}

.camp-lesson {
  display: grid;
  grid-template-columns: minmax(300px, 0.9fr) minmax(360px, 1.1fr);
  gap: clamp(24px, 5vw, 70px);
  align-items: center;
  padding: clamp(64px, 9vw, 130px) 0 clamp(36px, 6vw, 84px);
  scroll-margin-top: 70px;
}

.camp-video-shell {
  position: relative;
  padding: 12px;
  border: 1px solid rgba(216, 154, 178, 0.34);
  border-radius: 22px;
  background: linear-gradient(145deg, #211821, #0e0b0f);
  box-shadow: var(--shadow);
}

.camp-video-shell video {
  display: block;
  width: 100%;
  max-height: 72vh;
  border-radius: 14px;
  background: #000;
  object-fit: contain;
}

.camp-video-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 4px 4px 12px;
  text-transform: uppercase;
}

.camp-video-heading span,
.camp-review-note {
  color: var(--muted);
  font-size: 12px;
}

.camp-video-heading strong {
  color: var(--pink);
  font-size: 20px;
}

.camp-review-note {
  margin: 10px 4px 2px;
}

.camp-lesson-copy h2 {
  margin: 6px 0 14px;
  font-size: clamp(42px, 6vw, 80px);
  line-height: 0.96;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}

.camp-lesson-copy > p:not(.eyebrow) {
  max-width: 650px;
  color: var(--muted);
  font-size: 18px;
}

.camp-topics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 28px 0;
}

.camp-topics div {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0 12px;
  padding: 16px;
  border: 1px solid rgba(216, 154, 178, 0.22);
  border-radius: 14px;
  background: rgba(31, 23, 31, 0.78);
}

.camp-topics span {
  grid-row: 1 / 3;
  color: var(--pink);
  font-size: 12px;
  font-weight: 900;
}

.camp-topics strong {
  font-size: 17px;
}

.camp-topics small {
  color: var(--muted);
}

.camp-cue {
  padding: 20px;
  border-left: 4px solid var(--pink);
  background: linear-gradient(90deg, rgba(216, 154, 178, 0.14), transparent);
}

.camp-cue span {
  display: block;
  margin-bottom: 6px;
  color: var(--pink);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.camp-cue strong {
  font-size: clamp(18px, 2vw, 24px);
}

@media (max-width: 900px) {
  .topbar .nav-link {
    display: none;
  }

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

  .camp-video-shell {
    width: min(620px, 100%);
    margin: 0 auto;
  }
}

@media (max-width: 640px) {
  .intro-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .training-camp {
    padding: 12px;
  }

  .camp-hero {
    min-height: 88vh;
    border-radius: 18px;
  }

  .camp-hero-shade {
    background: linear-gradient(0deg, rgba(5, 4, 5, 0.94) 0%, rgba(5, 4, 5, 0.5) 72%, rgba(5, 4, 5, 0.28));
  }

  .camp-hero-copy {
    justify-content: flex-end;
    min-height: 88vh;
    width: 100%;
    padding: 24px;
  }

  .camp-hero-copy h1 {
    font-size: clamp(44px, 16vw, 72px);
  }

  .camp-actions {
    align-items: stretch;
    flex-direction: column;
    width: 100%;
  }

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