/* ─── Design Tokens ──────────────────────────────────────── */
:root {
  --bg-color: #000000;
  --panel-bg: #111111;
  --panel-border: rgba(201, 164, 76, 0.12);
  --panel-border-hover: rgba(201, 164, 76, 0.28);
  --text-primary: #F4F1E8;
  --text-secondary: #E8E4DA;
  --text-muted: #CFC9BC;
  --gold-accent: #C9A44C;
  --gold-glow: rgba(201, 164, 76, 0.25);
  
  --font-serif: 'Cinzel Decorative', serif;
  --font-sans: 'DM Sans', sans-serif;
  --font-tech: 'Space Grotesk', sans-serif;
}

/* ─── Global Base Helpers ─────────────────────────────── */
.hidden {
  display: none !important;
}

/* ─── Global Base ────────────────────────────────────────── */
html {
  scroll-behavior: smooth;
}
body {
  background: var(--bg-color);
  color: var(--text-primary);
  font-family: var(--font-sans);
  overflow-x: hidden;
}

.sk-main {
  margin-top: 0;
}

/* Containers */
.sk-container {
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(3rem, 7vw, 6rem) clamp(1.25rem, 4vw, 3rem);
}

/* Typography & UI Elements */
.sk-eyebrow {
  display: block;
  font-family: var(--font-tech);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--gold-accent);
  margin-bottom: 0.75rem;
}

.sk-sec-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 1.5rem 0;
  letter-spacing: -0.01em;
  line-height: 1.15;
}

.sk-hero__subtitle {
  font-family: var(--font-tech);
  font-size: clamp(0.85rem, 1.8vw, 1.2rem);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--gold-accent);
  margin-bottom: 1.5rem;
}

.sk-num-eyebrow {
  display: block;
  font-family: var(--font-tech);
  font-size: 2.2rem;
  font-weight: 700;
  color: rgba(201, 164, 76, 0.15);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.sk-sec-lead {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  line-height: 1.65;
  color: var(--text-secondary);
  max-width: 800px;
  margin-bottom: 3.5rem;
}

.sk-sec-lead.text-center {
  margin-left: auto;
  margin-right: auto;
}

.text-center {
  text-align: center;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

/* Buttons & Links */
.sk-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-tech);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 0.95rem 2.2rem;
  border-radius: 0;
  text-decoration: none;
  transition: all 300ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
  cursor: pointer;
}

.sk-btn--primary {
  background: var(--gold-accent);
  color: #000;
  border: 1px solid var(--gold-accent);
}

.sk-btn--primary:hover {
  background: transparent;
  color: var(--gold-accent);
  box-shadow: 0 0 24px var(--gold-glow);
}

.sk-btn--secondary {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--panel-border);
}

.sk-btn--secondary:hover {
  border-color: var(--gold-accent);
  color: var(--gold-accent);
  background: rgba(201, 164, 76, 0.04);
}

.sk-link-arrow {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-tech);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 240ms ease;
  cursor: pointer;
}

.sk-link-arrow:hover {
  color: var(--gold-accent);
}

.sk-link-arrow .arrow {
  margin-left: 6px;
  transition: transform 240ms ease;
}

.sk-link-arrow:hover .arrow {
  transform: translateX(4px);
}

/* ─── Hero Section ────────────────────────────────────────── */
.sk-hero {
  position: relative;
  height: 100vh;
  min-height: 650px;
  padding-top: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-bottom: 1px solid var(--panel-border);
  background: radial-gradient(circle at 50% 50%, rgba(0, 0, 0,0.75) 0%, #000000 100%), url('/assets/images/hero_home.png') no-repeat center/cover;
}

.sk-hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.sk-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.8) 100%),
              radial-gradient(circle at 50% 40%, rgba(0, 0, 0, 0.45) 0%, rgba(0, 0, 0, 0.9) 100%);
  z-index: 1;
}

.sk-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 880px;
  padding: 0 1.5rem;
}

.sk-hero-content .sk-eyebrow,
.sk-hero-content .sk-sec-title,
.sk-hero-content .sk-hero__subtitle,
.sk-hero-content .sk-sec-lead {
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.95), 0 4px 24px rgba(0, 0, 0, 0.6);
}

.sk-hero-links {
  display: flex;
  gap: 1.25rem;
  justify-content: center;
  flex-wrap: wrap;
}

.drag-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-tech);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  color: var(--text-muted);
}

/* ─── Section Base layouts ──────────────────────────────── */
.sk-athletic-section {
  position: relative;
  background: var(--bg-color);
  border-top: 1px solid var(--panel-border);
}

.sk-athletic-section.alt-bg {
  background: #000000;
}

/* ─── Split Layouts ─────────────────────────────────────── */
.split-layout {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 4rem;
  align-items: center;
}

.principle-quote {
  position: relative;
  margin-top: 2rem;
  padding-left: 2rem;
  border-left: 2px solid var(--gold-accent);
}

.principle-quote .quote-accent {
  font-family: var(--font-serif);
  font-size: 4rem;
  color: rgba(201, 164, 76, 0.15);
  position: absolute;
  top: -1.5rem;
  left: 0.5rem;
  line-height: 1;
}

.principle-quote p {
  font-size: 0.98rem;
  font-style: italic;
  line-height: 1.6;
  color: var(--text-secondary);
}



/* ─── 01. Strength: Weightlifting Simulator ──────────────── */
.lift-simulator-panel {
  background: var(--panel-bg);
  border: 1px solid var(--panel-border);
  border-radius: 0;
  padding: 2.5rem;
  box-shadow: 0 25px 55px rgba(0,0,0,0.4);
  margin-top: 3.5rem;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 3rem;
}

.sim-sidebar h4 {
  font-family: var(--font-tech);
  font-size: 1.1rem;
  color: var(--text-primary);
  margin: 0 0 0.5rem 0;
}

.sim-sidebar p {
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

.sim-controls {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 2rem;
}

.sim-controls label {
  font-family: var(--font-tech);
  font-size: 0.72rem;
  text-transform: uppercase;
  color: var(--text-muted);
}

.sim-controls input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 4px;
  background: rgba(255,255,255,0.08);
  border-radius: 2px;
  outline: none;
}

.sim-controls input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--gold-accent);
  cursor: pointer;
}

.phase-display-card {
  background: rgba(0,0,0,0.25);
  border: 1px solid rgba(255,255,255,0.03);
  padding: 0.75rem 1rem;
  border-radius: 0;
  margin-top: 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.phase-display-card .phase-lbl {
  font-family: var(--font-tech);
  font-size: 0.6rem;
  color: var(--text-muted);
  text-transform: uppercase;
}

.phase-display-card strong {
  font-family: var(--font-tech);
  font-size: 0.82rem;
  color: var(--gold-accent);
}

.dials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

.dial-item {
  background: rgba(0,0,0,0.25);
  border: 1px solid rgba(255,255,255,0.03);
  padding: 0.75rem;
  border-radius: 0;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  text-align: center;
}

.dial-item .label {
  font-family: var(--font-tech);
  font-size: 0.58rem;
  text-transform: uppercase;
  color: var(--text-muted);
}

.dial-item .val {
  font-family: var(--font-tech);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-secondary);
}

.sim-viewport {
  background: #000000;
  border: 1px solid var(--panel-border);
  border-radius: 0;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 320px;
}

.viewport-canvas-wrap {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.viewport-canvas-wrap svg {
  width: 100%;
  max-width: 400px;
  height: 100%;
  display: block;
}

.sim-feedback {
  background: rgba(0,0,0,0.4);
  border: 1px solid rgba(255,255,255,0.02);
  border-left: 2px solid var(--panel-border);
  padding: 0.75rem 1.25rem;
  font-family: 'Space Grotesk', monospace;
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* ─── 02. Transformation: Physique Dashboard ───────────────── */
.physique-dashboard-wrap {
  background: var(--panel-bg);
  border: 1px solid var(--panel-border);
  border-radius: 0;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0,0,0,0.5);
  margin-top: 3.5rem;
}

.dashboard-tabs {
  display: flex;
  background: rgba(0,0,0,0.25);
  border-bottom: 1px solid var(--panel-border);
  overflow-x: auto;
  scrollbar-width: none;
}

.dashboard-tabs::-webkit-scrollbar {
  display: none;
}

.dash-tab {
  background: transparent;
  border: none;
  border-right: 1px solid var(--panel-border);
  color: var(--text-muted);
  font-family: var(--font-tech);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  padding: 1.1rem 1.6rem;
  cursor: pointer;
  white-space: nowrap;
  transition: all 240ms ease;
  letter-spacing: 0.05em;
}

.dash-tab.active {
  background: var(--panel-bg);
  color: var(--gold-accent);
  border-bottom: 1.5px solid var(--gold-accent);
}

.dashboard-body {
  position: relative;
  min-height: 250px;
}

.dash-panel {
  display: none;
  padding: 2.5rem;
  animation: panelFadeIn 450ms ease forwards;
}

.dash-panel.active {
  display: block;
}

@keyframes panelFadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.panel-info-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
  align-items: center;
}

.panel-info-layout h3 {
  font-family: var(--font-tech);
  font-size: 1.25rem;
  color: var(--text-primary);
  margin: 0 0 0.8rem 0;
}

.panel-info-layout p {
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

.compound-records {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.rec-row {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
  padding-bottom: 0.45rem;
}

.rec-row .lbl {
  font-family: var(--font-tech);
  font-size: 0.82rem;
  color: var(--text-secondary);
}

.rec-row .val {
  font-family: var(--font-tech);
  font-size: 0.9rem;
  color: var(--gold-accent);
  text-shadow: 0 0 5px var(--gold-glow);
}

.chart-block {
  background: #000000;
  border: 1px solid var(--panel-border);
  border-radius: 0;
  padding: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.glowing-line-chart-placeholder {
  width: 100%;
  height: 160px;
}

.glowing-line-chart-placeholder svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* Conditioning Stats Grid */
.conditioning-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.cond-card {
  background: rgba(0,0,0,0.2);
  border: 1px solid rgba(255,255,255,0.03);
  border-radius: 0;
  padding: 1.8rem;
  text-align: center;
  transition: border-color 200ms ease;
}

.cond-card:hover {
  border-color: rgba(201, 164, 76, 0.15);
}

.cond-card .num {
  font-family: var(--font-tech);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--gold-accent);
  text-shadow: 0 0 10px var(--gold-glow);
  display: block;
  margin-bottom: 0.5rem;
}

.cond-card h4 {
  font-family: var(--font-tech);
  font-size: 1rem;
  color: var(--text-primary);
  margin: 0 0 0.8rem 0;
}

.cond-card p {
  font-size: 0.82rem;
  line-height: 1.5;
  color: var(--text-secondary);
  margin: 0;
}

/* Body Blueprint Silhouette */
.blueprint-layout {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.blueprint-silhouette {
  display: flex;
  justify-content: center;
}

.silhouette-box {
  width: 100%;
  max-width: 180px;
  height: 260px;
  background: #000000;
  border: 1px solid var(--panel-border);
  border-radius: 0;
  padding: 1rem;
}

.svg-vector-man {
  width: 100%;
  height: 100%;
  display: block;
}

.muscle-node {
  fill: #000000;
  stroke: var(--panel-border);
  stroke-width: 1.5;
  cursor: pointer;
  transition: all 200ms ease;
}

.muscle-node:hover,
.muscle-node.active {
  fill: var(--gold-accent);
  stroke: var(--gold-accent);
  filter: drop-shadow(0 0 5px var(--gold-accent));
}

.blueprint-feedback {
  display: flex;
}

.blueprint-feedback .feedback-card {
  flex: 1;
  background: #000000;
  border: 1px solid var(--panel-border);
  border-left: 2px solid var(--panel-border);
  border-radius: 0;
  padding: 1.8rem;
  font-family: var(--font-tech);
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.6;
  min-height: 120px;
  display: flex;
  align-items: center;
}

/* ─── 03. Competition: Reaction Composure Arena ──────────── */
.reaction-arena-panel {
  background: var(--panel-bg);
  border: 1px solid var(--panel-border);
  border-radius: 0;
  padding: 2.5rem;
  box-shadow: 0 25px 55px rgba(0,0,0,0.4);
  margin-top: 3.5rem;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.arena-info h4 {
  font-family: var(--font-tech);
  font-size: 1.2rem;
  color: var(--text-primary);
  margin: 0 0 0.5rem 0;
}

.arena-info p {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 1.8rem;
}

.arena-controls-row {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.8rem;
}

.arena-controls-row label {
  font-family: var(--font-tech);
  font-size: 0.72rem;
  text-transform: uppercase;
  color: var(--text-muted);
}

.arena-controls-row input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 4px;
  background: rgba(255,255,255,0.08);
  border-radius: 2px;
  outline: none;
}

.arena-controls-row input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--gold-accent);
  cursor: pointer;
}

.pressure-label-tag {
  font-family: var(--font-tech);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-primary);
  text-align: right;
  margin-top: 0.25rem;
}

.arena-metrics {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-top: 1.8rem;
}

.metric-line {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-tech);
  font-size: 0.85rem;
  color: var(--text-secondary);
  border-bottom: 1px solid rgba(255,255,255,0.03);
  padding-bottom: 0.4rem;
}

.metric-line strong {
  color: var(--gold-accent);
  text-shadow: 0 0 5px var(--gold-glow);
}

.arena-board {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.composure-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  width: 100%;
  max-width: 280px;
  margin: 0 auto;
}

.grid-block {
  background: #000000;
  border: 1px solid var(--panel-border);
  border-radius: 0;
  aspect-ratio: 1;
  cursor: pointer;
  transition: all 150ms ease;
  position: relative;
}

.grid-block.flash {
  background: var(--gold-accent);
  border-color: var(--gold-accent);
  box-shadow: 0 0 15px var(--gold-accent);
}

.grid-block.hit {
  background: #2ecc71;
  border-color: #2ecc71;
  box-shadow: 0 0 15px #2ecc71;
}

.grid-block.miss {
  background: #e74c3c;
  border-color: #e74c3c;
  box-shadow: 0 0 15px #e74c3c;
}

.arena-status {
  background: #000000;
  border: 1px solid var(--panel-border);
  border-left: 2px solid var(--panel-border);
  border-radius: 0;
  padding: 0.85rem 1.1rem;
  font-family: 'Space Grotesk', monospace;
  font-size: 0.72rem;
  color: var(--text-muted);
  text-align: center;
}

/* ─── 04. Strategy: Chess Tactical Solver ─────────────────── */
.chess-puzzle-panel {
  background: var(--panel-bg);
  border: 1px solid var(--panel-border);
  border-radius: 0;
  padding: 2.5rem;
  box-shadow: 0 25px 60px rgba(0,0,0,0.5);
  margin-top: 3.5rem;
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 3rem;
}

.puzzle-sidebar h4 {
  font-family: var(--font-tech);
  font-size: 1.1rem;
  color: var(--text-primary);
  margin: 0 0 0.5rem 0;
}

.puzzle-sidebar p {
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

.puzzle-instructions {
  background: rgba(0,0,0,0.25);
  border: 1px solid rgba(255,255,255,0.03);
  padding: 1rem;
  border-radius: 0;
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.puzzle-instructions .badge {
  font-family: var(--font-tech);
  font-size: 0.58rem;
  font-weight: 700;
  background: rgba(201, 164, 76, 0.08);
  color: var(--gold-accent);
  border: 1px solid rgba(201, 164, 76, 0.25);
  padding: 0.2rem 0.45rem;
  border-radius: 0;
  align-self: flex-start;
}

.puzzle-instructions h5 {
  font-family: var(--font-tech);
  font-size: 0.85rem;
  color: var(--text-primary);
  margin: 0;
}

.instructions-desc {
  font-size: 0.75rem;
  line-height: 1.45;
  color: var(--text-secondary);
  margin: 0;
}

.puzzle-history h5 {
  font-family: var(--font-tech);
  font-size: 0.8rem;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 0 0 0.6rem 0;
  letter-spacing: 0.05em;
}

.sequence-log-list {
  list-style: none;
  padding: 0;
  margin: 0;
  font-family: 'Space Grotesk', monospace;
  font-size: 0.72rem;
  color: var(--text-secondary);
  background: rgba(0,0,0,0.2);
  border-radius: 0;
  padding: 0.6rem;
}

.sequence-log-list li {
  margin-bottom: 0.35rem;
  border-bottom: 1px dashed rgba(255,255,255,0.02);
  padding-bottom: 0.2rem;
}

.sequence-log-list li.empty {
  color: var(--text-muted);
  border-bottom: none;
}

.puzzle-board-view {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.chess-board-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* We can do a 4x4 mini tactical chessboard segment! */
  grid-template-rows: repeat(4, 1fr);
  width: 100%;
  max-width: 280px;
  aspect-ratio: 1;
  margin: 0 auto;
  border: 2px solid var(--panel-border);
  border-radius: 0;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.chess-square {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  cursor: pointer;
  user-select: none;
  transition: background 150ms ease;
  position: relative;
}

.chess-square.light {
  background: #1e1e1e;
}

.chess-square.dark {
  background: #111;
}

.chess-square.selected {
  background: rgba(201, 164, 76, 0.25) !important;
}

.chess-square.highlight-move {
  background: rgba(46, 204, 113, 0.15) !important;
}

.chess-piece {
  z-index: 2;
  transition: transform 300ms ease;
}

.chess-piece.white { color: #f5f5f5; filter: drop-shadow(0 0 2px rgba(255,255,255,0.6)); }
.chess-piece.black { color: #8a7c62; filter: drop-shadow(0 0 2px rgba(0,0,0,0.8)); }

.puzzle-feedback {
  background: #000000;
  border: 1px solid var(--panel-border);
  border-left: 2px solid var(--panel-border);
  border-radius: 0;
  padding: 0.85rem 1.1rem;
  font-family: 'Space Grotesk', monospace;
  font-size: 0.72rem;
  color: var(--text-muted);
  text-align: center;
}

.puzzle-feedback.success {
  border-left-color: #2ecc71;
  color: #2ecc71;
  background: rgba(46, 204, 113, 0.03);
}



/* ─── What Training Taught Me Cards ───────────────────────── */
.teachings-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3.5rem;
}

.teach-card {
  background: var(--panel-bg);
  border: 1px solid var(--panel-border);
  border-radius: 0;
  padding: 2.2rem 1.8rem;
  position: relative;
  transition: border-color 200ms ease;
}

.teach-card:hover {
  border-color: rgba(201, 164, 76, 0.2);
}

.teach-card .num {
  font-family: var(--font-tech);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gold-accent);
  display: block;
  margin-bottom: 1.8rem;
}

.teach-card h3 {
  font-family: var(--font-tech);
  font-size: 1.25rem;
  color: var(--text-primary);
  margin: 0 0 0.8rem 0;
}

.teach-card p {
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--text-secondary);
  margin: 0;
}

.teach-card:nth-child(4),
.teach-card:nth-child(5) {
  grid-column: span 1;
}

/* ─── Responsive Media Queries ──────────────────────────── */
@media (max-width: 980px) {
  .split-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  
  .lift-simulator-panel {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .panel-info-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .blueprint-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .reaction-arena-panel {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  
  .chess-puzzle-panel {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  
  .pilot-deck-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .teachings-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .sk-hero {
    height: auto;
    padding: 7rem 0 5rem;
  }
  
  .conditioning-grid {
    grid-template-columns: 1fr;
  }
  
  .teachings-grid {
    grid-template-columns: 1fr;
  }
}

/* ─── Gallery Accordion ───────────────────────────────────── */
.sk-gallery-strip {
  padding: 0;
  background: #000;
  width: 100%;
  overflow: hidden;
  border-top: 1px solid var(--panel-border);
  border-bottom: 1px solid var(--panel-border);
  margin-top: 0;
  margin-bottom: 0;
}

.gallery-accordion {
  display: flex;
  width: 100%;
  height: 380px;
  background: #000;
}

.gallery-card {
  flex: 1;
  position: relative;
  overflow: hidden;
  transition: flex 0.8s cubic-bezier(0.25, 1, 0.5, 1);
  cursor: pointer;
  border-right: 1px solid var(--panel-border);
}

.gallery-card:last-child {
  border-right: none;
}

.gallery-card img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  transition: transform 1s cubic-bezier(0.25, 1, 0.5, 1);
}

/* ─── Accordion Label Overlay ────────────────────────────── */
.overlay-text {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 1.6rem 1.4rem;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.3) 50%, transparent 100%);
  opacity: 1;
  transform: none;
  transition: padding 0.5s cubic-bezier(0.25, 1, 0.5, 1), background 0.5s cubic-bezier(0.25, 1, 0.5, 1);
  pointer-events: none;
}

.overlay-text h3 {
  font-family: var(--font-tech);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.9), 0 4px 12px rgba(0, 0, 0, 0.95);
  transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.overlay-text p {
  font-family: var(--font-sans);
  color: var(--gold-accent);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin: 0;
}

/* Hide accordion details by default, reveal them on card hover */
.overlay-text p {
  opacity: 0;
  max-height: 0;
  transform: translateY(15px);
  margin: 0 !important;
  overflow: hidden;
  transition: opacity 0.4s cubic-bezier(0.25, 1, 0.5, 1), 
              max-height 0.4s cubic-bezier(0.25, 1, 0.5, 1), 
              transform 0.4s cubic-bezier(0.25, 1, 0.5, 1),
              margin 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Desktop Hover Interactions (Screens wider than 768px) */
@media (min-width: 769px) {
  .gallery-card:hover {
    flex: 2.5;
  }
  
  .gallery-card:hover img {
    transform: scale(1.04);
  }
  
  .gallery-card:hover .overlay-text {
    padding: 2.4rem 1.8rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.98) 0%, rgba(0, 0, 0, 0.6) 70%, transparent 100%);
  }

  .gallery-card:hover .overlay-text h3 {
    font-size: 1.35rem;
    margin-bottom: 0.4rem;
  }

  .gallery-card:hover .overlay-text p {
    opacity: 1;
    max-height: 50px;
    transform: translateY(0);
    margin-top: 0.2rem !important;
  }
}

/* Mobile Media Queries Overrides */
@media (max-width: 768px) {
  .gallery-accordion {
    flex-direction: column;
    height: auto;
  }
  .gallery-card {
    flex: none;
    width: 100%;
    height: 320px;
    border-right: none;
    border-bottom: 1px solid var(--panel-border);
  }
  .gallery-card:last-child {
    border-bottom: none;
  }
  .overlay-text {
    opacity: 1 !important;
    transform: none !important;
    padding: 1.5rem !important;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.98) 0%, rgba(0, 0, 0, 0.7) 80%, transparent 100%) !important;
  }
  .overlay-text h3 {
    font-size: 1.25rem !important;
    margin-bottom: 0.4rem !important;
  }
  .overlay-text p {
    opacity: 1 !important;
    max-height: none !important;
    transform: none !important;
    margin: revert !important;
  }
}

/* ─── Redesigned Layout Components ───────────────────────── */

/* 1. Mind-Body Focus Card */
.narrative-focus-card {
  background: var(--panel-bg);
  border: 1px solid var(--panel-border);
  border-radius: 0;
  padding: 2.2rem;
  box-shadow: 0 15px 35px rgba(0,0,0,0.4);
}

.nf-label {
  font-family: var(--font-tech);
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold-accent);
  display: block;
  margin-bottom: 0.6rem;
}

.narrative-focus-card h3 {
  font-family: var(--font-tech);
  font-size: 1.25rem;
  color: var(--text-primary);
  margin: 0 0 1rem 0;
}

.narrative-focus-card p {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

.nf-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  border-top: 1px solid rgba(255,255,255,0.05);
  padding-top: 1.2rem;
}

.nf-metric {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.nf-metric .lbl {
  font-family: var(--font-tech);
  font-size: 0.6rem;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

.nf-metric .val {
  font-family: var(--font-tech);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--gold-accent);
}

/* 2. Redesigned Weightlifting Telemetry Dashboard */
.wl-section-header {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  margin-bottom: 3.5rem;
}

.wl-num-eyebrow {
  font-family: var(--font-tech);
  font-size: clamp(3rem, 6vw, 4.5rem);
  font-weight: 700;
  line-height: 0.8;
  color: rgba(201, 164, 76, 0.08);
  user-select: none;
  letter-spacing: -0.05em;
}

.wl-header-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 0.2rem;
}

.wl-eyebrow {
  font-family: var(--font-tech);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--gold-accent);
  margin-bottom: 0.5rem;
}

.wl-sec-title {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 400;
  color: var(--text-primary);
  margin: 0;
  letter-spacing: 0.06em;
  line-height: 1;
  text-shadow: 0 0 20px rgba(201, 164, 76, 0.15);
}

.wl-dashboard {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  gap: 2.5rem;
  align-items: center;
  margin-bottom: 4.5rem;
}

.wl-narrative-col {
  display: flex;
  flex-direction: column;
  gap: 2.2rem;
  border-left: 2px solid var(--panel-border);
  padding: 0.5rem 0 0.5rem 2rem;
}

.wl-narrative-col p {
  font-family: var(--font-sans);
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--text-secondary);
  margin: 0;
}

.wl-narrative-col em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 600;
  color: var(--gold-accent);
}

.wl-telemetry-col {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.wl-telemetry-box {
  width: 100%;
  max-width: 520px;
  position: relative;
}

.wl-telemetry-svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}

/* SVG Telemetry Transition rules */
.wl-telemetry-svg line,
.wl-telemetry-svg circle,
.wl-telemetry-svg path,
.wl-telemetry-svg rect {
  transition: x1 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              y1 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              x2 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              y2 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              cx 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              cy 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              r 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              d 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              opacity 0.3s ease,
              stroke 0.3s ease,
              fill 0.3s ease;
}

.wl-svg-barbell {
  transition: transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

#wl-telemetry-arc,
#wl-telemetry-arc-core {
  stroke-dasharray: 244;
  stroke-dashoffset: 0;
  transition: stroke-dashoffset 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Holographic Telemetry Waveforms (Oscilloscope) */
.wl-wave-line {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0.4;
  transition: d 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              stroke-width 0.45s ease,
              opacity 0.35s ease;
}

.wl-wave-line.primary {
  opacity: 0.8;
  filter: drop-shadow(0 0 4px rgba(201, 164, 76, 0.6));
}

/* Concentric Gyroscope Rings (CSS continuous rotation) */
.wl-gyro-ring {
  transform-origin: 250px 202px;
  transition: transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              stroke-width 0.45s ease,
              stroke 0.45s ease,
              opacity 0.35s ease;
}

.wl-gyro-ring.outer {
  animation: spin-cw 30s linear infinite;
}

.wl-gyro-ring.inner {
  animation: spin-ccw 22s linear infinite;
}

/* Keyframes for Gyro Rotations */
@keyframes spin-cw {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes spin-ccw {
  from { transform: rotate(0deg); }
  to { transform: rotate(-360deg); }
}

/* HUD and Interactive active states */
.wl-hud-group {
  transition: opacity 0.35s ease;
}

/* When a milestone is hovered (wl-telemetry-active class is added to container) */
.wl-telemetry-active .wl-wave-line.primary {
  opacity: 0.95;
  stroke-width: 2.75;
  filter: drop-shadow(0 0 7px rgba(201, 164, 76, 0.85));
}

.wl-telemetry-active .wl-wave-line.secondary {
  opacity: 0.75;
  stroke-width: 1.75;
}

.wl-telemetry-active .wl-wave-line.tertiary {
  opacity: 0.45;
}

.wl-telemetry-active .wl-gyro-ring.outer {
  stroke: rgba(201, 164, 76, 0.65);
  animation-duration: 10s; /* speed up on lock-on */
  transform: scale(1.06);
}

.wl-telemetry-active .wl-gyro-ring.inner {
  stroke: rgba(255, 255, 255, 0.8);
  animation-duration: 7s; /* speed up on lock-on */
  transform: scale(0.93);
}

.wl-telemetry-active .wl-hud-group {
  opacity: 1;
}

/* Sweeping scanning laser */
.wl-radar-sweep {
  transition: x1 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              x2 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              opacity 0.3s ease;
}

/* Milestone Hover styling */
.wl-interactive-milestone {
  cursor: pointer;
}

.wl-interactive-milestone:hover .wl-milestone-dot,
.wl-interactive-milestone.is-current .wl-milestone-dot {
  fill: #C9A44C;
  r: 4.5px;
  stroke: #FFF;
  filter: drop-shadow(0 0 8px rgba(201, 164, 76, 0.8));
}

.wl-interactive-milestone:hover .wl-milestone-text,
.wl-interactive-milestone.is-current .wl-milestone-text {
  fill: #FFF;
  font-weight: 700;
}

.wl-interactive-milestone:hover .wl-milestone-line,
.wl-interactive-milestone.is-current .wl-milestone-line {
  stroke: #C9A44C;
  stroke-width: 1.25;
}

/* Pulse Ripple keyframes */
@keyframes milestone-ripple-anim {
  0% {
    r: 6px;
    opacity: 0.95;
    stroke-width: 1.5;
  }
  100% {
    r: 26px;
    opacity: 0;
    stroke-width: 0.5;
  }
}

.wl-milestone-ripple-active {
  animation: milestone-ripple-anim 1.2s infinite ease-out;
}

.wl-stats-col {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.wl-stat-widget {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  background: linear-gradient(135deg, rgba(17, 17, 17, 0.7) 0%, rgba(10, 10, 10, 0.9) 100%);
  border: 1px solid var(--panel-border);
  border-radius: 0;
  padding: 1.1rem 1.4rem;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.wl-stat-widget:hover {
  border-color: var(--panel-border-hover);
  transform: translateX(4px);
  box-shadow: 0 8px 30px rgba(201, 164, 76, 0.05);
}

.wl-widget-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 0;
  border: 1px solid rgba(201, 164, 76, 0.15);
  background: rgba(201, 164, 76, 0.03);
  color: var(--gold-accent);
  flex-shrink: 0;
}

.wl-widget-icon svg {
  width: 20px;
  height: 20px;
  color: var(--gold-accent);
  display: block;
}

.wl-widget-info {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.wl-widget-label {
  font-family: var(--font-tech);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  text-transform: uppercase;
}

.wl-widget-val {
  font-family: var(--font-tech);
  font-size: 1rem;
  color: var(--text-secondary);
  letter-spacing: 0.02em;
}

.wl-widget-val strong {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--gold-accent);
  text-shadow: 0 0 10px var(--gold-glow);
}

.wl-records-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-bottom: 4rem;
}

.wl-record-card {
  background: linear-gradient(180deg, rgba(17, 17, 17, 0.8) 0%, rgba(12, 12, 12, 0.95) 100%);
  border: 1px solid var(--panel-border);
  border-radius: 0;
  padding: 1.8rem 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.8rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  overflow: hidden;
}

.wl-record-card:hover {
  border-color: var(--gold-accent);
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(201, 164, 76, 0.08);
}

.wl-card-top {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.wl-card-icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  border: 1px solid rgba(201, 164, 76, 0.12);
  background: rgba(201, 164, 76, 0.02);
  color: var(--text-muted);
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.wl-record-card:hover .wl-card-icon-wrap {
  color: var(--gold-accent);
  border-color: rgba(201, 164, 76, 0.3);
  background: rgba(201, 164, 76, 0.05);
  box-shadow: 0 0 15px rgba(201, 164, 76, 0.1);
}

.wl-card-svg-icon {
  width: 32px;
  height: 32px;
  display: block;
}

.wl-card-meta {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.wl-card-type {
  font-family: var(--font-tech);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  text-transform: uppercase;
}

.wl-record-card:hover .wl-card-type {
  color: var(--text-secondary);
}

.wl-card-weight {
  font-family: var(--font-tech);
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--gold-accent);
  text-shadow: 0 0 8px var(--gold-glow);
  line-height: 1.1;
}

.wl-card-setup {
  font-size: 0.8rem;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

.wl-segment-loader {
  display: flex;
  gap: 4px;
  width: 100%;
  padding-top: 0.2rem;
}

.wl-segment {
  flex: 1;
  height: 3px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 1px;
  transition: all 0.4s ease;
}

.wl-segment.active {
  background: #C9A44C;
  box-shadow: 0 0 5px rgba(201, 164, 76, 0.5);
}

.wl-record-card:hover .wl-segment.active {
  background: #FFF;
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.8);
}

.wl-cta-wrap {
  display: flex;
  justify-content: center;
  margin-top: 3.5rem;
}

.wl-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--gold-accent);
  color: #000;
  border: 1px solid var(--gold-accent);
  font-family: var(--font-tech);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 1.1rem 2.6rem;
  border-radius: 0;
  text-decoration: none;
  transition: all 300ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
  box-shadow: 0 4px 15px rgba(201, 164, 76, 0.15);
  cursor: pointer;
}

.wl-cta-btn:hover {
  background: transparent;
  color: var(--gold-accent);
  box-shadow: 0 0 30px var(--gold-glow);
  transform: translateY(-2px);
}

/* 3. Physique Progression Timeline */
.progression-timeline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}

.timeline-step {
  background: var(--panel-bg);
  border: 1px solid var(--panel-border);
  border-radius: 0;
  padding: 2.2rem 1.8rem;
  box-shadow: 0 15px 35px rgba(0,0,0,0.4);
  transition: border-color 250ms ease, transform 250ms ease;
}

.timeline-step:hover {
  border-color: var(--panel-border-hover);
  transform: translateY(-4px);
}

.step-num {
  font-family: var(--font-tech);
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  display: block;
  margin-bottom: 0.5rem;
}

.timeline-step h3 {
  font-family: var(--font-tech);
  font-size: 1.2rem;
  color: var(--text-primary);
  margin: 0 0 0.75rem 0;
}

.step-metric {
  font-family: var(--font-tech);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gold-accent);
  margin-bottom: 1.25rem;
}

.timeline-step p {
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--text-secondary);
  margin: 0;
}

.timeline-step.warning .step-metric {
  color: #e67e22;
}

.timeline-step.success .step-metric {
  color: #2ecc71;
}

/* 4. Sports Comparative Stats */
.sports-stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 2rem;
}

.sport-stat-card {
  background: var(--panel-bg);
  border: 1px solid var(--panel-border);
  border-radius: 0;
  padding: 2.5rem 2rem;
  box-shadow: 0 15px 35px rgba(0,0,0,0.4);
  transition: border-color 250ms ease, transform 250ms ease;
}

.sport-stat-card:hover {
  border-color: var(--panel-border-hover);
  transform: translateY(-4px);
}

.ssc-tag {
  font-family: var(--font-tech);
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold-accent);
  background: rgba(201,164,76,0.08);
  padding: 0.35rem 0.75rem;
  border-radius: 0;
  display: inline-block;
  margin-bottom: 1.25rem;
}

.sport-stat-card h3 {
  font-family: var(--font-tech);
  font-size: 1.35rem;
  color: var(--text-primary);
  margin: 0 0 1rem 0;
}

.ssc-desc {
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--text-secondary);
  margin-bottom: 1.8rem;
}

.ssc-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.05);
  padding-top: 1.5rem;
}

.ssc-met {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.ssc-met .lbl {
  font-family: var(--font-tech);
  font-size: 0.6rem;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

.ssc-met .val {
  font-family: var(--font-tech);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
}

/* 5. Chess Summary Panel */
.chess-summary-panel {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 3rem;
  background: var(--panel-bg);
  border: 1px solid var(--panel-border);
  border-radius: 0;
  padding: 2.5rem;
  box-shadow: 0 15px 35px rgba(0,0,0,0.4);
  margin-top: 2rem;
  align-items: center;
}

.csp-info h3 {
  font-family: var(--font-tech);
  font-size: 1.35rem;
  color: var(--text-primary);
  margin: 0 0 1rem 0;
}

.csp-info p {
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--text-secondary);
  margin: 0;
}

.csp-telemetry {
  background: rgba(0,0,0,0.2);
  border: 1px solid rgba(255,255,255,0.03);
  border-radius: 0;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.csp-telemetry-label {
  font-family: var(--font-tech);
  font-size: 0.62rem;
  font-weight: 700;
  color: var(--gold-accent);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  padding-bottom: 0.5rem;
  display: block;
}

.csp-tel-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-tech);
}

.csp-tel-row .lbl {
  font-size: 0.72rem;
  color: var(--text-muted);
}

.csp-tel-row .val {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-align: right;
}

/* ─── 05. The Athletic Principle Dial ──────────────────── */
.pilot-directives-hud {
  position: relative;
  max-width: 960px;
  margin: 3rem auto 0;
  padding: 1.5rem 2rem;
  background: rgba(12, 12, 12, 0.7);
  border: 1px solid rgba(201, 164, 76, 0.2);
  border-bottom: 2px solid rgba(201, 164, 76, 0.35);
  border-radius: 0;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.55);
}

.hud-scanner-line {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(to right, transparent, rgba(201, 164, 76, 0.38), transparent);
  animation: hudScan 4.5s infinite linear;
  pointer-events: none;
}

@keyframes hudScan {
  0% { transform: translateY(-5px); opacity: 0; }
  10%, 90% { opacity: 1; }
  100% { transform: translateY(115px); opacity: 0; }
}

.hud-header {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 1.25rem;
  border-bottom: 1px dashed rgba(201, 164, 76, 0.15);
  padding-bottom: 0.6rem;
}

.hud-status-blink {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.pulsing-amber {
  background: #f0932b;
  box-shadow: 0 0 10px #f0932b;
  animation: blinkAmber 1.2s infinite ease-in-out;
}

.pulsing-green {
  background: #2ecc71;
  box-shadow: 0 0 10px #2ecc71;
  animation: blinkGreen 1.2s infinite ease-in-out;
}

@keyframes blinkAmber {
  0%, 100% { opacity: 0.4; filter: brightness(0.8); }
  50% { opacity: 1; filter: brightness(1.3); }
}

@keyframes blinkGreen {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; box-shadow: 0 0 14px #2ecc71; }
}

.hud-title {
  font-family: var(--font-tech);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-secondary);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hud-directives-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.hud-card {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.03);
  border-left: 2px solid rgba(201, 164, 76, 0.3);
  padding: 0.85rem 1.1rem;
  border-radius: 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  transition: all 300ms ease;
}

.hud-card.aligned {
  border-left-color: #2ecc71;
  border-color: rgba(46, 204, 113, 0.15);
  background: rgba(46, 204, 113, 0.03);
  box-shadow: inset 0 0 10px rgba(46, 204, 113, 0.05);
}

.hud-card-system {
  font-family: var(--font-tech);
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.06em;
}

.hud-card.aligned .hud-card-system {
  color: #2ecc71;
}

.hud-card-params {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.hud-card-target,
.hud-card-min {
  font-family: var(--font-tech);
  font-size: 0.78rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.hud-card-status {
  font-family: var(--font-tech);
  font-size: 0.68rem;
  font-weight: 700;
  color: #f0932b;
  letter-spacing: 0.05em;
  margin-top: 0.35rem;
  text-transform: uppercase;
}

.hud-card.aligned .hud-card-status {
  color: #2ecc71;
}

.principle-dial-wrapper {
  background: var(--panel-bg);
  border: 1px solid var(--panel-border);
  border-radius: 0;
  padding: 2.2rem;
  max-width: 960px;
  margin: 2rem auto 0;
  box-shadow: 0 30px 70px rgba(0,0,0,0.6);
}

.pilot-deck-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.8rem;
  margin-bottom: 1.5rem;
}

.pilot-console {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--panel-border);
  border-radius: 0;
  padding: 1.8rem 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  text-align: center;
  transition: all 400ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  overflow: hidden;
}

.pilot-console::before {
  content: '';
  position: absolute;
  top: 0; left: 10%; right: 10%;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(201, 164, 76, 0.18), transparent);
  pointer-events: none;
}

.pilot-console.system-aligned {
  border-color: #2ecc71;
  box-shadow: 0 0 25px rgba(46, 204, 113, 0.12), inset 0 0 15px rgba(46, 204, 113, 0.03);
  background: rgba(46, 204, 113, 0.01);
}

.pilot-console.lock-acquired:not(.system-aligned) {
  border-color: rgba(201, 164, 76, 0.65);
  box-shadow: 0 0 15px rgba(201, 164, 76, 0.1);
}

.console-title {
  font-family: var(--font-tech);
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.12em;
  transition: color 300ms ease;
}

.pilot-console.system-aligned .console-title {
  color: #2ecc71;
}

.pilot-console.lock-acquired .console-title {
  color: var(--gold-accent);
}

.dial-compass-container {
  position: relative;
  width: 160px;
  height: 160px;
  margin: 0 auto;
}

.dial-compass {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dial-svg {
  width: 100%;
  height: 100%;
  display: block;
}

.dial-target-arc {
  stroke: rgba(201, 164, 76, 0.18);
  stroke-width: 6px;
  transition: all 300ms ease;
}

.pilot-console.lock-acquired .dial-target-arc {
  stroke: #2ecc71;
  filter: drop-shadow(0 0 4px rgba(46, 204, 113, 0.7));
}

.gauge-progress {
  stroke: var(--gold-accent);
  stroke-width: 5;
  stroke-linecap: round;
  transition: stroke-dashoffset 350ms cubic-bezier(0.25, 0.46, 0.45, 0.94), stroke 300ms ease, filter 300ms ease;
  filter: drop-shadow(0 0 3px rgba(201, 164, 76, 0.35));
}

.pilot-console.system-aligned .gauge-progress {
  stroke: #2ecc71;
  filter: drop-shadow(0 0 8px rgba(46, 204, 113, 0.8));
}

.compass-pointer-svg {
  transition: transform 350ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
  transform-origin: 80px 80px;
}

.compass-pointer-svg line {
  transition: stroke 300ms ease;
}

.compass-pointer-svg polygon {
  transition: fill 300ms ease;
}

.pilot-console.system-aligned .compass-pointer-svg line:first-of-type {
  stroke: #2ecc71;
}

.pilot-console.system-aligned .compass-pointer-svg polygon {
  fill: #2ecc71;
}

.needle-core {
  transition: fill 300ms ease;
}

.pilot-console.system-aligned .needle-core {
  fill: #2ecc71;
}

.compass-marker.target-marker {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-tech);
  font-size: 0.62rem;
  font-weight: 700;
  color: var(--text-muted);
  opacity: 0.6;
  pointer-events: none;
  transition: all 300ms ease;
}

.pilot-console.lock-acquired .compass-marker.target-marker {
  color: #2ecc71;
  opacity: 1;
  text-shadow: 0 0 6px rgba(46, 204, 113, 0.6);
}

.dial-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.dial-slider-group {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  text-align: left;
}

.slider-label-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.slider-lbl {
  font-family: var(--font-tech);
  font-size: 0.68rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* Premium range input design */
.dial-slider-group input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 5px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 0;
  outline: none;
  transition: border-color 300ms ease, background 300ms ease;
}

.dial-slider-group input[type="range"]:focus {
  border-color: rgba(201, 164, 76, 0.25);
  background: rgba(255, 255, 255, 0.08);
}

/* Webkit browser slider thumb - gold notched metal thumb */
.dial-slider-group input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 12px;
  height: 20px;
  border-radius: 2px;
  background: repeating-linear-gradient(90deg, #c9a44c 0px, #c9a44c 1.5px, transparent 1.5px, transparent 3.5px), 
              linear-gradient(180deg, #f4d993 0%, #a48232 100%);
  border: 1px solid #574618;
  box-shadow: 0 0 6px rgba(201, 164, 76, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.25);
  cursor: ew-resize;
  transition: transform 150ms ease, box-shadow 150ms ease;
}

.dial-slider-group input[type="range"]::-webkit-slider-thumb:hover {
  transform: scale(1.1) translateY(-1px);
  box-shadow: 0 0 12px rgba(201, 164, 76, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.dial-slider-group input[type="range"]::-webkit-slider-thumb:active {
  cursor: grabbing;
  transform: scale(1.05);
}

/* Firefox browser slider thumb */
.dial-slider-group input[type="range"]::-moz-range-thumb {
  width: 12px;
  height: 20px;
  border-radius: 2px;
  background: repeating-linear-gradient(90deg, #c9a44c 0px, #c9a44c 1.5px, transparent 1.5px, transparent 3.5px), 
              linear-gradient(180deg, #f4d993 0%, #a48232 100%);
  border: 1px solid #574618;
  box-shadow: 0 0 6px rgba(201, 164, 76, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.25);
  cursor: ew-resize;
  transition: transform 150ms ease, box-shadow 150ms ease;
}

.dial-slider-group input[type="range"]::-moz-range-thumb:hover {
  transform: scale(1.1) translateY(-1px);
  box-shadow: 0 0 12px rgba(201, 164, 76, 0.6);
}

/* Retro-Tech CRT Diagnostics Screen */
.dial-feedback-console {
  position: relative;
  margin-top: 2.2rem;
  background: #000000;
  border: 1px solid rgba(61, 242, 61, 0.15);
  border-left: 3px solid rgba(61, 242, 61, 0.45);
  padding: 1.25rem 1.75rem;
  font-family: 'Space Grotesk', monospace;
  font-size: 0.8rem;
  color: rgba(61, 242, 61, 0.8);
  line-height: 1.6;
  text-align: left;
  border-radius: 0;
  box-shadow: inset 0 0 15px rgba(0, 0, 0, 0.9), 0 5px 15px rgba(0, 0, 0, 0.45);
  transition: all 400ms ease;
  overflow: hidden;
}

.crt-glow-overlay {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    rgba(18, 16, 16, 0) 0px,
    rgba(18, 16, 16, 0) 1.5px,
    rgba(0, 0, 0, 0.25) 1.5px,
    rgba(0, 0, 0, 0.25) 3px
  ), linear-gradient(
    rgba(61, 242, 61, 0.05) 0%,
    rgba(61, 242, 61, 0) 100%
  );
  pointer-events: none;
  z-index: 2;
}

.crt-text-line {
  position: relative;
  z-index: 3;
  text-shadow: 0 0 6px rgba(61, 242, 61, 0.65);
  letter-spacing: 0.02em;
}

.dial-feedback-console.unlocked {
  background: #000000;
  border-color: rgba(46, 204, 113, 0.25);
  border-left-color: #2ecc71;
  color: rgba(46, 204, 113, 0.95);
}

.dial-feedback-console.unlocked .crt-text-line {
  text-shadow: 0 0 8px rgba(46, 204, 113, 0.85);
}

.dial-feedback-console.unlocked .crt-glow-overlay {
  background: repeating-linear-gradient(
    rgba(18, 16, 16, 0) 0px,
    rgba(18, 16, 16, 0) 1.5px,
    rgba(0, 0, 0, 0.25) 1.5px,
    rgba(0, 0, 0, 0.25) 3px
  ), linear-gradient(
    rgba(46, 204, 113, 0.05) 0%,
    rgba(46, 204, 113, 0) 100%
  );
}

.dial-feedback-console.error {
  background: #000000;
  border-color: rgba(235, 77, 75, 0.25);
  border-left-color: #eb4d4b;
  color: rgba(235, 77, 75, 0.9);
}

.dial-feedback-console.error .crt-text-line {
  text-shadow: 0 0 8px rgba(235, 77, 75, 0.8);
}

.dial-feedback-console.error .crt-glow-overlay {
  background: repeating-linear-gradient(
    rgba(18, 16, 16, 0) 0px,
    rgba(18, 16, 16, 0) 1.5px,
    rgba(0, 0, 0, 0.25) 1.5px,
    rgba(0, 0, 0, 0.25) 3px
  ), linear-gradient(
    rgba(235, 77, 75, 0.05) 0%,
    rgba(235, 77, 75, 0) 100%
  );
}

.arena-metric-row {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-tech);
  font-size: 0.85rem;
  color: var(--text-secondary);
  border-bottom: 1px solid rgba(255,255,255,0.03);
  padding-bottom: 0.4rem;
}

.arena-metric-row strong {
  color: var(--gold-accent);
  text-shadow: 0 0 5px var(--gold-glow);
}

.simulation-grid .reaction-arena-panel {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  min-height: 480px;
  justify-content: space-between;
}

.simulation-grid .reaction-arena-panel .arena-info {
  display: flex;
  flex-direction: column;
}

.simulation-grid .reaction-arena-panel .arena-board {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.04);
  padding-top: 1.5rem;
}

.simulation-grid .reaction-arena-panel .composure-grid {
  margin: 0;
  max-width: 180px;
}

.simulation-grid .reaction-arena-panel .arena-status {
  flex: 1;
  text-align: left;
  min-height: 60px;
  display: flex;
  align-items: center;
}

/* Responsive Overrides */
@media (max-width: 1080px) {
  .wl-dashboard {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .wl-narrative-col {
    border-left: none;
    border-bottom: 1px solid var(--panel-border);
    padding: 0 0 2rem 0;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 1.5rem;
  }
  
  .wl-narrative-col p {
    flex: 1;
    min-width: 200px;
  }
  
  .wl-stats-col {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }
  
  .wl-records-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

@media (max-width: 900px) {
  .progression-timeline {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .chess-summary-panel {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .wl-section-header {
    flex-direction: column;
    gap: 0.5rem;
    align-items: center;
    text-align: center;
  }
  
  .wl-narrative-col {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.25rem;
  }
  
  .wl-narrative-col p br {
    display: none;
  }
  
  .wl-stats-col {
    grid-template-columns: 1fr;
  }
  
  .wl-records-grid {
    grid-template-columns: 1fr;
  }
  
  .sports-stats-grid {
    grid-template-columns: 1fr;
  }
  
  .simulation-grid .reaction-arena-panel .arena-board {
    flex-direction: column;
    align-items: center;
  }
  
  .simulation-grid .reaction-arena-panel .composure-grid {
    max-width: 220px;
    margin: 0 auto;
  }
  
  .simulation-grid .reaction-arena-panel .arena-status {
    text-align: center;
  }
}

/* ─── PHYSIQUE SECTION REDESIGN ────────────────────── */
.phys-telemetry-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr 1fr;
  gap: 3rem;
  align-items: center;
  margin-bottom: 4.5rem;
}

.phys-narrative-col {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.phys-subtitle-lead {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--gold-accent);
  margin-top: 1.5rem;
  margin-bottom: 1.25rem;
  line-height: 1.5;
}

.phys-divider-line {
  width: 40px;
  height: 2px;
  background-color: var(--gold-accent);
  margin-bottom: 1.75rem;
}

.phys-desc-p {
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-secondary);
  margin: 0;
}

/* Center 3D viewport circular frame */
.phys-3d-col {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.phys-3d-outer-circle {
  width: 100%;
  max-width: 400px;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px dashed rgba(201, 164, 76, 0.18);
  position: relative;
  box-shadow: inset 0 0 40px rgba(201, 164, 76, 0.04);
}

#physique-3d-container {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  overflow: hidden;
  position: relative;
  z-index: 2;
}

#physique-3d-container canvas {
  display: block;
  width: 100% !important;
  height: 100% !important;
}

.phys-telemetry-svg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 3;
}

/* Absolute positioned stat callouts */
.phys-stat-callout {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 5;
  cursor: pointer;
  transition: all 0.3s ease;
}

.phys-stat-callout .label {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #CFC9BC;
  transition: color 0.3s ease;
}

.phys-stat-callout .value {
  font-family: var(--font-sans);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-top: 2px;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.1);
  transition: color 0.3s ease, transform 0.3s ease;
}

/* Specific position coords matching the reference image layout */
.stat-strength {
  top: -2.5rem;
  left: 50%;
  transform: translateX(-50%);
}

.stat-endurance {
  top: 30%;
  left: -4.5rem;
}

.stat-recovery {
  bottom: 2%;
  left: -2.5rem;
}

.stat-muscle {
  top: 30%;
  right: -4.5rem;
}

.stat-consistency {
  bottom: 2%;
  right: -2.5rem;
}

/* Hover highlights */
.phys-stat-callout:hover .label {
  color: var(--text-primary);
}

.phys-stat-callout:hover .value {
  color: var(--gold-accent);
  transform: scale(1.1);
}

/* Right Panel Styles */
.phys-scores-col {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  justify-content: center;
}

.phys-score-widget,
.phys-graph-widget {
  background: linear-gradient(135deg, rgba(16, 16, 16, 0.6) 0%, rgba(0, 0, 0, 0.85) 1005);
  background-color: rgba(12, 12, 11, 0.8);
  border: 1px solid var(--panel-border);
  border-radius: 0;
  padding: 1.5rem;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.35);
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  width: 100%;
}

.widget-title {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #CFC9BC;
  margin-bottom: 1.25rem;
  text-align: center;
  width: 100%;
}

.score-dial-box {
  width: 110px;
  height: 110px;
  position: relative;
}

.graph-box {
  width: 100%;
  position: relative;
}

.phys-progress-svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}

/* Floating interactive tooltip inside graph */
.phys-graph-tooltip {
  position: absolute;
  background: rgba(10, 10, 10, 0.95);
  border: 1px solid var(--gold-accent);
  padding: 0.4rem 0.6rem;
  border-radius: 0;
  display: flex;
  flex-direction: column;
  pointer-events: none;
  font-family: var(--font-sans);
  font-size: 0.65rem;
  z-index: 10;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.phys-graph-tooltip .week-tag {
  color: #CFC9BC;
  font-weight: 600;
}

.phys-graph-tooltip .score-tag {
  color: var(--gold-accent);
  font-weight: 700;
  margin-top: 2px;
}

.graph-dot {
  cursor: pointer;
  transition: r 0.2s ease, fill 0.2s ease;
}

.graph-dot:hover {
  r: 4.5px;
  fill: var(--gold-accent);
}

/* Timeline Step Cards (Bottom Row) */
.phys-timeline-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 4rem;
  margin-bottom: 4rem;
}

.phys-timeline-card {
  display: flex;
  gap: 1.5rem;
  background: linear-gradient(135deg, rgba(16, 16, 16, 0.45) 0%, rgba(0, 0, 0, 0.75) 100%);
  border: 1px solid var(--panel-border);
  border-radius: 0;
  padding: 1.8rem 1.6rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.phys-timeline-card:hover {
  transform: translateY(-5px);
  border-color: rgba(201, 164, 76, 0.45);
  box-shadow: 0 8px 30px rgba(201, 164, 76, 0.08);
}

.card-icon-hex-wrap {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
}

.hex-svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.card-content-wrap {
  display: flex;
  flex-direction: column;
}

.card-phase-index {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--gold-accent);
  opacity: 0.7;
}

.phys-timeline-card h3 {
  font-family: var(--font-sans);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0.4rem 0 0.2rem 0;
  letter-spacing: 0.03em;
}

.card-duration-sub {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 600;
  color: #CFC9BC;
  margin-bottom: 0.8rem;
}

.phys-timeline-card p {
  font-family: var(--font-sans);
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--text-secondary);
  margin: 0;
}

/* CTA Pill Button centered */
.phys-cta-btn-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 1.5rem;
}

.phys-solid-gold-btn {
  display: inline-block;
  background-color: var(--gold-accent);
  color: #000000;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 1.1rem 2.4rem;
  border-radius: 0;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(201, 164, 76, 0.2);
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.phys-solid-gold-btn:hover {
  background-color: #ffd269;
  box-shadow: 0 6px 24px rgba(201, 164, 76, 0.45);
  transform: translateY(-2px);
}

/* ─── PHYSIQUE RESPONSIVE OVERRIDES ────────────────── */
@media (max-width: 1120px) {
  .phys-telemetry-grid {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }
  
  .phys-narrative-col {
    align-items: center;
    text-align: center;
  }
  
  .phys-divider-line {
    margin-left: auto;
    margin-right: auto;
  }
  
  .phys-scores-col {
    flex-direction: row;
    justify-content: center;
    gap: 2.5rem;
    flex-wrap: wrap;
  }
  
  .phys-score-widget,
  .phys-graph-widget {
    flex: 1;
    min-width: 280px;
    max-width: 380px;
  }
}

@media (max-width: 900px) {
  .phys-timeline-row {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

@media (max-width: 600px) {
  .phys-stat-callout .label {
    font-size: 0.65rem;
  }
  
  .phys-stat-callout .value {
    font-size: 1rem;
  }

  .stat-endurance {
    left: -2.5rem;
  }

  .stat-muscle {
    right: -2.5rem;
  }
  
  .phys-scores-col {
    flex-direction: column;
    align-items: center;
  }
  
  .phys-score-widget,
  .phys-graph-widget {
    width: 100%;
    max-width: 100%;
  }
}

/* ─── Sports Telemetry & Reaction Simulator ───────────────── */
.sports-sim-container {
  background: var(--panel-bg);
  border: 1px solid var(--panel-border);
  border-radius: 0;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0,0,0,0.5);
  margin-top: 3.5rem;
}

.sports-sim-panel {
  display: none;
  padding: 2.5rem;
  animation: panelFadeIn 450ms ease forwards;
}

.sports-sim-panel.active {
  display: block;
}





















@keyframes swimFlashGlow {
  from { box-shadow: 0 0 4px rgba(201, 164, 76, 0.3); }
  to { box-shadow: 0 0 12px rgba(201, 164, 76, 0.6); }
}

/* ─── Floating Texts & Particles ─────────────────────────── */
.floating-score-text {
  position: absolute;
  pointer-events: none;
  font-family: var(--font-tech);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--gold-accent);
  text-shadow: 0 0 6px var(--gold-glow);
  animation: floatUpFade 0.7s ease-out forwards;
  z-index: 100;
}

@keyframes floatUpFade {
  0% { transform: translate(-50%, 0) scale(0.8); opacity: 0; }
  20% { transform: translate(-50%, -15px) scale(1.15); opacity: 1; }
  100% { transform: translate(-50%, -40px) scale(0.9); opacity: 0; }
}

.wushu-spark-particle {
  pointer-events: none;
  animation: particleFade 0.4s ease-out forwards;
}

@keyframes particleFade {
  to { opacity: 0; }
}

/* ─── 04. Strategy: Chess Dashboard ──────────────────────── */
.chess-header-area {
  margin-bottom: 3rem;
  text-align: left;
}

.chess-dashboard-grid {
  display: grid;
  grid-template-columns: 290px minmax(0, 1fr) 240px;
  gap: 3rem;
  align-items: start;
  margin-bottom: 2rem;
}

/* Left Column: Calculation Index */
.chess-calc-col {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.chess-calc-item {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  transition: transform 250ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.chess-calc-hex {
  width: 48px;
  height: 52px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.chess-calc-hex .hex-svg {
  width: 100%;
  height: 100%;
  display: block;
}

.chess-calc-hex .hex-svg polygon {
  transition: stroke 240ms ease, fill 240ms ease, filter 240ms ease;
}

.chess-calc-info h4 {
  font-family: var(--font-tech);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 0.2rem 0;
  letter-spacing: 0.08em;
  transition: color 240ms ease;
}

.chess-calc-info p {
  font-size: 0.74rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.35;
}

/* Calc Hover Effects */
.chess-calc-item:hover {
  transform: translateX(6px);
}

.chess-calc-item:hover .hex-svg polygon {
  stroke: var(--gold-accent);
  fill: rgba(201, 164, 76, 0.04);
  filter: drop-shadow(0 0 4px var(--gold-accent));
}

.chess-calc-item:hover h4 {
  color: var(--gold-accent);
}

/* Middle Column: Interactive HUD */
.chess-hud-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
}

.chess-analysis-indicator {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1.5rem;
  font-family: var(--font-tech);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--gold-accent);
  text-shadow: 0 0 8px var(--gold-glow);
}

.chess-analysis-indicator .bracket-tag {
  color: rgba(201, 164, 76, 0.45);
  font-weight: 400;
}







@keyframes chessRadarSweep {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}



























@keyframes knightScanPulse {
  from { transform: scale(1.02); }
  to { transform: scale(1.08); }
}

/* Orbiting Star particles rotation animations */
#chess-star-1 { transform-origin: 200px 200px; animation: orbitCW 24s linear infinite; }
#chess-star-2 { transform-origin: 200px 200px; animation: orbitCCW 18s linear infinite; }
#chess-star-3 { transform-origin: 200px 200px; animation: orbitCW 32s linear infinite; }
#chess-star-4 { transform-origin: 200px 200px; animation: orbitCCW 20s linear infinite; }

@keyframes orbitCW {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes orbitCCW {
  from { transform: rotate(0deg); }
  to { transform: rotate(-360deg); }
}



















/* Right Column: Rating Cards */
.chess-stats-col {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.chess-rating-card {
  position: relative;
  background: var(--panel-bg);
  border: 1px solid var(--panel-border);
  border-radius: 0;
  padding: 2.2rem 1.8rem;
  text-align: center;
  overflow: hidden;
  transition: transform 300ms cubic-bezier(0.25, 0.46, 0.45, 0.94),
              border-color 300ms ease,
              box-shadow 300ms ease;
}

.chess-rating-card:hover {
  transform: translateY(-5px);
  border-color: rgba(201, 164, 76, 0.35);
  box-shadow: 0 15px 35px rgba(201, 164, 76, 0.08);
}

.chess-card-glow {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120px;
  height: 120px;
  background: radial-gradient(circle, rgba(201, 164, 76, 0) 0%, rgba(201, 164, 76, 0) 70%);
  pointer-events: none;
}

.chess-rating-header {
  display: flex;
  justify-content: center;
  margin-bottom: 0.8rem;
}

.chess-rating-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px stroke var(--panel-border);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.chess-rating-icon::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 1px dashed rgba(201, 164, 76, 0.2);
}

.chess-rating-icon svg {
  width: 22px;
  height: 22px;
}

.chess-rating-value {
  font-family: var(--font-tech);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin: 0.5rem 0;
}

.chess-rating-label {
  font-family: var(--font-tech);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--gold-accent);
  letter-spacing: 0.15em;
  text-transform: uppercase;
}







/* Bottom Highlight Cards */
.chess-bottom-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.8rem;
  margin-top: 4.5rem;
}

.chess-bottom-card {
  background: var(--panel-bg);
  border: 1px solid var(--panel-border);
  border-radius: 0;
  padding: 2rem;
  transition: border-color 300ms ease, background-color 300ms ease, box-shadow 300ms ease;
}

.chess-bottom-card:hover {
  border-color: rgba(201, 164, 76, 0.28);
  background-color: rgba(201, 164, 76, 0.02);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.chess-bottom-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.8rem;
}

.chess-double-circle-icon {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.chess-double-circle-icon svg {
  width: 100%;
  height: 100%;
}

.chess-card-arrow {
  font-size: 0.65rem;
  color: var(--text-muted);
  transition: transform 250ms ease, color 250ms ease;
}

.chess-bottom-card:hover .chess-card-arrow {
  transform: translateX(4px);
  color: var(--gold-accent);
}

.chess-bottom-card h4 {
  font-family: var(--font-tech);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--gold-accent);
  letter-spacing: 0.08em;
  margin: 0 0 0.6rem 0;
  text-transform: uppercase;
}

.chess-bottom-card p {
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin: 0;
}

/* Action CTA Button Section */
.chess-cta-btn-wrap {
  text-align: center;
  margin-top: 4.5rem;
}

.chess-solid-gold-btn {
  display: inline-block;
  background: var(--gold-accent);
  color: #000;
  font-family: var(--font-tech);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 1.1rem 2.8rem;
  border-radius: 0;
  text-decoration: none;
  border: 1px solid var(--gold-accent);
  transition: background-color 300ms cubic-bezier(0.25, 0.46, 0.45, 0.94),
              color 300ms cubic-bezier(0.25, 0.46, 0.45, 0.94),
              box-shadow 300ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
  cursor: pointer;
}

.chess-solid-gold-btn:hover {
  background: transparent;
  color: var(--gold-accent);
  box-shadow: 0 0 24px var(--gold-glow);
}

/* Responsive Scaling */
@media (max-width: 1024px) {
  .chess-dashboard-grid {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }
  .chess-calc-col {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  .chess-bottom-cards-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 3.5rem;
  }
  .chess-stats-col {
    flex-direction: row;
    justify-content: center;
    gap: 1.5rem;
  }
  .chess-stats-col .chess-rating-card {
    flex: 1;
    max-width: 320px;
    margin-bottom: 0;
  }
}

@media (max-width: 768px) {
  .chess-calc-col {
    grid-template-columns: 1fr;
  }
  .chess-stats-col {
    flex-direction: column;
    align-items: center;
  }
  .chess-stats-col .chess-rating-card {
    width: 100%;
  }
}

/* ════════════════════════════════════════════════════════════════════════
   V3 - ATHLETICS OVERVIEW
   ════════════════════════════════════════════════════════════════════════ */

/* ─── Hero metronome ─────────────────────────────────────────────────── */
.at-metro {
  position: absolute; z-index: 3; right: clamp(1.25rem, 6vw, 6rem); bottom: 7.5rem;
  display: flex; flex-direction: column; align-items: center; gap: 0.75rem; pointer-events: none;
}
.at-metro__arc { position: relative; width: 132px; height: 72px; border-bottom: 1px solid rgba(201, 164, 76, 0.35); }
.at-metro__arc::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 144px; border-radius: 50%;
  border: 1px dashed rgba(201, 164, 76, 0.28); clip-path: inset(0 0 50% 0);
}
.at-metro__arm {
  position: absolute; left: 50%; bottom: 0; width: 2px; height: 66px; margin-left: -1px; transform-origin: 50% 100%;
  background: linear-gradient(var(--gold-accent), rgba(201, 164, 76, 0.25)); box-shadow: 0 0 10px rgba(201, 164, 76, 0.55);
}
.at-metro__arm::after {
  content: ""; position: absolute; left: 50%; top: 18%; width: 10px; height: 10px; transform: translateX(-50%) rotate(45deg);
  background: #000000; border: 1px solid var(--gold-accent);
}
.at-metro__arm.is-tick::after { animation: atTick 0.35s ease-out; }
@keyframes atTick { 0% { background: #F4E2AE; box-shadow: 0 0 16px rgba(244, 226, 174, 0.9); } 100% { background: #000000; box-shadow: none; } }
.at-metro__pivot { position: absolute; left: 50%; bottom: -4px; width: 8px; height: 8px; margin-left: -4px; border-radius: 50%; background: var(--gold-accent); }
.at-metro__read { font: 600 0.58rem/1 var(--font-tech); letter-spacing: 0.24em; color: var(--text-muted); white-space: nowrap; }
.at-metro__read b { font: 400 1.2rem/1 var(--font-serif); color: var(--text-primary); letter-spacing: 0; margin-right: 0.15rem; }

/* ─── Principle + photo deck ─────────────────────────────────────────── */
.at-principle { background: #000000; border-top: 1px solid var(--panel-border); overflow: hidden; }
.at-principle__grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.at-principle__title { font: 400 clamp(2.2rem, 4.6vw, 4.3rem)/1.1 var(--font-serif); color: var(--text-primary); margin: 0.4rem 0 2rem; }
.at-principle__title em { font-style: normal; color: var(--gold-accent); transition: text-shadow 0.8s; }
.at-principle.is-lit .at-principle__title em { text-shadow: 0 0 36px rgba(201, 164, 76, 0.5); }
.at-principle__body p { font-size: 1.08rem; line-height: 1.8; color: var(--text-secondary); margin: 0 0 1.2rem; }
.at-w { display: inline-block; }
.at-principle__quote { margin: 2rem 0 0; padding-left: 1.2rem; border-left: 1px solid var(--gold-accent); font: 400 1.05rem/1.5 var(--font-serif); color: var(--gold-accent); }
.at-deck { position: relative; height: clamp(360px, 36vw, 500px); cursor: pointer; }
.at-deck__card {
  position: absolute; left: 50%; top: 50%; translate: -50% -50%; margin: 0;
  width: min(94%, 520px); aspect-ratio: 4 / 3; border-radius: 0; overflow: hidden;
  border: 1px solid rgba(201, 164, 76, 0.32); box-shadow: 0 40px 90px rgba(0, 0, 0, 0.7); background: #000000;
}
.at-deck__card img { width: 100%; height: 100%; object-fit: cover; display: block; filter: grayscale(12%) contrast(108%); }
.at-deck__card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(0, 0, 0, 0.85)); pointer-events: none; }
.at-deck__card figcaption {
  position: absolute; left: 1.1rem; bottom: 1rem; z-index: 2;
  font: 600 0.6rem/1 var(--font-tech); letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold-accent);
}

/* ─── Chapter breaks ─────────────────────────────────────────────────── */
.at-chapter { background: #000000; position: relative; }
.at-chapter__pin { position: relative; height: 100vh; min-height: 560px; overflow: hidden; display: grid; place-items: center; }
.at-chapter__frame { --dim: 0.25; position: absolute; inset: 0; clip-path: inset(26% 33% 26% 33% round 26px); }
.at-chapter__frame img { width: 100%; height: 100%; object-fit: cover; display: block; filter: grayscale(22%) contrast(110%) brightness(0.82); }
.at-chapter__frame::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse at 50% 50%, rgba(0, 0, 0, calc(var(--dim) * 0.6)) 0%, rgba(0, 0, 0, calc(var(--dim) + 0.25)) 100%);
}
.at-chapter__label { position: relative; z-index: 2; text-align: center; pointer-events: none; padding: 0 1rem; }
.at-chapter__num { display: block; margin-bottom: 1rem; font: 600 0.72rem/1 var(--font-tech); letter-spacing: 0.42em; color: var(--gold-accent); }
.at-chapter__title { margin: 0; font: 400 clamp(1.8rem, 7.6vw, 8.2rem)/1 var(--font-serif); color: var(--text-primary); white-space: nowrap; text-shadow: 0 10px 70px rgba(0, 0, 0, 0.75); }
.at-chapter__sub { margin: 1.2rem 0 0; font: 600 0.66rem/1 var(--font-tech); letter-spacing: 0.32em; text-transform: uppercase; color: var(--text-secondary); }

/* ─── Physique reel ──────────────────────────────────────────────────── */
.at-phys { background: #000000; border-top: 1px solid var(--panel-border); }
.at-phys__pin { min-height: 100vh; display: flex; align-items: center; }
.at-phys__grid {
  width: 100%; max-width: 1280px; margin: 0 auto;
  padding: clamp(5.5rem, 10vh, 7rem) clamp(1.25rem, 4vw, 3rem) 2.5rem;
  display: grid; grid-template-columns: 0.82fr 1.18fr; gap: clamp(2rem, 4vw, 4rem); align-items: center;
}
.at-phys__copy .sk-sec-title { margin-bottom: 1rem; }
.at-phys__lead { color: var(--text-secondary); line-height: 1.75; margin: 0 0 1.6rem; }
.at-phases { list-style: none; padding: 0; margin: 0 0 2rem; display: grid; gap: 0.4rem; }
.at-phases li {
  display: grid; grid-template-columns: 2.4rem 1fr; gap: 0.8rem; padding: 0.85rem 1rem; border-radius: 0;
  border: 1px solid transparent; opacity: 0.38; transition: opacity 0.5s, border-color 0.5s, background 0.5s;
}
.at-phases li.is-active { opacity: 1; border-color: rgba(201, 164, 76, 0.3); background: rgba(201, 164, 76, 0.05); }
.at-phases__n { font: 400 1.3rem/1.1 var(--font-serif); color: var(--gold-accent); }
.at-phases h3 { margin: 0; font: 400 1.08rem/1.3 var(--font-serif); color: var(--text-primary); }
.at-phases__w { font: 600 0.56rem/1 var(--font-tech); letter-spacing: 0.2em; text-transform: uppercase; color: var(--text-muted); }
.at-phases p { margin: 0; font-size: 0.86rem; line-height: 1.6; color: var(--text-secondary); max-height: 0; overflow: hidden; transition: max-height 0.6s ease, margin 0.6s ease; }
.at-phases li.is-active p { max-height: 6em; margin-top: 0.5rem; }
.at-reel {
  position: relative; aspect-ratio: 16 / 10.5; border-radius: 0; overflow: hidden; background: #000000;
  border: 1px solid rgba(201, 164, 76, 0.3); box-shadow: 0 50px 120px rgba(0, 0, 0, 0.65);
}
.at-reel__frames img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 0.35s ease; }
.at-reel__frames img.is-on { opacity: 1; }
.at-reel::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(0, 0, 0, 0.55) 0%, transparent 22%, transparent 58%, rgba(0, 0, 0, 0.9) 100%); }
.at-reel__scan { position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: 0.25; background: repeating-linear-gradient(0deg, rgba(0, 0, 0, 0.35) 0 1px, transparent 1px 3px); }
.at-reel__hud { position: absolute; z-index: 2; top: 1.1rem; display: flex; align-items: baseline; gap: 0.5rem; font: 600 0.58rem/1 var(--font-tech); letter-spacing: 0.22em; text-transform: uppercase; color: var(--text-secondary); }
.at-reel__hud b { font: 400 1.7rem/1 var(--font-serif); letter-spacing: 0; color: var(--text-primary); }
.at-reel__hud i { font-style: normal; color: var(--text-muted); }
.at-reel__hud--tl { left: 1.3rem; }
.at-reel__hud--tr { right: 1.3rem; }
.at-reel__score { position: absolute; z-index: 2; right: 1.2rem; bottom: 1.6rem; width: 96px; height: 96px; }
.at-reel__score svg { width: 100%; height: 100%; filter: drop-shadow(0 0 8px rgba(201, 164, 76, 0.4)); }
.at-reel__score div { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.at-reel__score b { font: 400 1.7rem/1 var(--font-serif); color: var(--text-primary); }
.at-reel__score span { font: 600 0.5rem/1 var(--font-tech); letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold-accent); margin-top: 0.25rem; }
.at-reel__graph { position: absolute; z-index: 2; left: 1.3rem; right: 8.5rem; bottom: 1.6rem; height: 70px; overflow: visible; }
.at-reel__graph path:last-child { filter: drop-shadow(0 0 6px rgba(230, 194, 106, 0.6)); }
.at-reel__bar { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(201, 164, 76, 0.15); }
.at-reel__bar span { display: block; height: 100%; background: var(--gold-accent); transform-origin: 0 50%; transform: scaleX(0); box-shadow: 0 0 10px rgba(201, 164, 76, 0.7); }

/* ─── Lessons: stacking cards ────────────────────────────────────────── */
.at-teach { background: #000000; border-top: 1px solid var(--panel-border); }
.at-teach__head { text-align: center; }
.at-teach__head .sk-sec-lead { margin-left: auto; margin-right: auto; }
.at-stack { position: relative; padding-bottom: 6vh; }
.at-card {
  --i: 0;
  position: sticky; top: calc(13vh + var(--i) * 16px);
  display: grid; grid-template-columns: 1fr 1fr; min-height: min(62vh, 520px); margin-bottom: 9vh;
  border-radius: 0; overflow: hidden; transform-origin: 50% 0;
  border: 1px solid rgba(201, 164, 76, 0.24);
  background: #050505;
  box-shadow: 0 -24px 60px #000;
}
.at-card:last-child { margin-bottom: 0; }
.at-card__copy { padding: clamp(2rem, 4vw, 3.6rem); display: flex; flex-direction: column; justify-content: center; }
.at-card__n { font: 400 clamp(3.6rem, 7vw, 6.6rem)/1 var(--font-serif); color: transparent; -webkit-text-stroke: 1px rgba(201, 164, 76, 0.55); }
.at-card h3 { font: 400 clamp(2rem, 3.4vw, 3.1rem)/1.1 var(--font-serif); color: var(--text-primary); margin: 0.9rem 0 1rem; }
.at-card p { font-size: 1.08rem; line-height: 1.75; color: var(--text-secondary); max-width: 460px; margin: 0; }
.at-card__tag { margin-top: 1.8rem; font: 600 0.6rem/1 var(--font-tech); letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold-accent); }
.at-card__media { position: relative; margin: 0; }
.at-card__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.at-card__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #050505 0%, rgba(5, 5, 5, 0) 35%); }

/* ─── The Standard ───────────────────────────────────────────────────── */
.at-standard { position: relative; overflow: hidden; border-top: 1px solid var(--panel-border); background: radial-gradient(ellipse at 50% 70%, rgba(201, 164, 76, 0), transparent 60%), #000000; }
.at-standard__marquee { padding-top: 3.5rem; font: 400 clamp(3.6rem, 10vw, 9.5rem)/1.05 var(--font-serif); color: transparent; -webkit-text-stroke: 1.5px #E0BE67; user-select: none; }
.at-standard__marquee span { padding: 0 0.28em; }
.at-standard__marquee i { font-style: normal; font-size: 0.4em; align-self: center; color: #E0BE67; -webkit-text-stroke: 0; }
.at-ecg { position: relative; display: block; width: 100%; height: 150px; margin-top: -1rem; pointer-events: none; }
.at-standard .sk-container { position: relative; z-index: 1; padding-top: 1rem; }
.at-standard__pulse { margin: 0.5rem 0 2.4rem; font: 600 0.6rem/1 var(--font-tech); letter-spacing: 0.24em; text-transform: uppercase; color: var(--text-muted); }
.at-standard__pulse b { font: 400 1.7rem/1 var(--font-serif); letter-spacing: 0; color: var(--gold-accent); margin-right: 0.35rem; vertical-align: middle; }
.at-standard .standard-links { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

@media (max-width: 1024px) {
  .at-principle__grid, .at-phys__grid { grid-template-columns: 1fr; }
  .at-phys__grid .at-reel { order: -1; }
  .at-card { grid-template-columns: 1fr; grid-template-rows: 220px auto; min-height: 0; }
  .at-card__media { grid-row: 1; }
  .at-card__media::after { background: linear-gradient(0deg, #050505 0%, rgba(5, 5, 5, 0) 50%); }
}
@media (max-width: 720px) {
  .at-metro { display: none; }
  .at-reel__graph { right: 1.3rem; bottom: 7.5rem; }
}

/* ─── Rhythm Racer: the same swimmer and water as the Propulsion Simulator ── */
#sports-tab-swimming { padding: 0; }
.sr { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(290px, 1fr); }
.sr-stage { display: flex; flex-direction: column; min-width: 0; border-right: 1px solid var(--panel-border); }
.sr-view { position: relative; flex: 1; min-height: clamp(380px, 38vw, 520px); background: #000; }
.sr-view canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.sr-pads { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--panel-border); }
.sr-btn { min-height: 62px; padding: 0.75rem 1rem; border: 0; border-radius: 0; cursor: pointer; font-family: var(--font-tech); font-size: 0.82rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; touch-action: manipulation; -webkit-user-select: none; user-select: none; transition: background 160ms ease, color 160ms ease, opacity 160ms ease; }
.sr-btn:focus-visible { outline: 2px solid #F4F1E8; outline-offset: -4px; }
.sr-btn kbd { margin-left: 0.7rem; padding: 0.1rem 0.4rem; border: 1px solid currentColor; font: inherit; font-size: 0.62rem; letter-spacing: 0.08em; }
@media (hover: none) { .sr-btn kbd { display: none; } }
.sr-btn--go { grid-column: 1 / -1; background: var(--gold-accent); color: #000; }
.sr-btn--go:hover { background: #E0BE67; }
.sr-btn--stroke, .sr-btn--breathe { display: none; }
.is-racing .sr-btn--go { display: none; }
.is-racing .sr-btn--stroke, .is-racing .sr-btn--breathe { display: block; }
.sr-btn--stroke { background: #F4F1E8; color: #000; }
.sr-btn--stroke:active:not(:disabled) { background: var(--gold-accent); }
.sr-btn--breathe { background: #000; color: #8FB7D9; border-left: 1px solid var(--panel-border); }
.sr-btn--breathe:active:not(:disabled) { background: #8FB7D9; color: #000; }
.sr-btn:disabled { opacity: 0.6; cursor: default; }
.sr-side { display: flex; flex-direction: column; gap: 1.35rem; min-width: 0; padding: 1.75rem; }
.sr-title { margin: 0; font-family: var(--font-sans); font-size: 1.2rem; font-weight: 700; color: var(--text-primary); }
.sr-idea, .sr-verdict { margin: 0; font-size: 0.95rem; line-height: 1.6; color: var(--text-primary); }
.sr-verdict { padding-top: 1.1rem; border-top: 1px solid var(--panel-border); }
.sr-rivals__k { display: block; margin-bottom: 0.55rem; font-family: var(--font-tech); font-size: 0.68rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-primary); }
.sr-rivals__row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.4rem; }
.sr-rival { min-height: 46px; padding: 0.35rem 0.2rem; border: 1px solid var(--panel-border-hover); border-radius: 0; background: #000; color: var(--text-primary); font-family: var(--font-tech); font-size: 0.82rem; font-weight: 700; cursor: pointer; transition: border-color 160ms ease, color 160ms ease; }
.sr-rival small { display: block; font-size: 0.58rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold-accent); }
.sr-rival:hover:not(:disabled) { border-color: var(--gold-accent); }
.sr-rival.is-active { border-color: var(--gold-accent); color: var(--gold-accent); box-shadow: inset 0 -2px 0 var(--gold-accent); }
.sr-rival:disabled { cursor: default; }
.sr-rival:focus-visible { outline: 2px solid #F4F1E8; outline-offset: 2px; }
.sr-reads { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.75rem; }
.sr-reads b { display: block; font-family: var(--font-tech); font-size: 1.35rem; font-weight: 700; color: var(--text-primary); }
.sr-reads span { display: block; margin-top: 0.15rem; font-family: var(--font-tech); font-size: 0.62rem; font-weight: 600; line-height: 1.35; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-primary); }
@media (max-width: 980px) {
  .sr { grid-template-columns: minmax(0, 1fr); }
  .sr-stage { border-right: 0; border-bottom: 1px solid var(--panel-border); }
  .sr-view { min-height: 400px; }
}
@media (max-width: 600px) {
  .sr-view { min-height: 340px; }
  .sr-side { padding: 1.25rem; }
}

/* ─── Sports section: the timing board above the race ────────────────────── */
#sports .sw-board { margin-top: 3.5rem; }
#sports .sw-board + .sports-sim-container { margin-top: 1.75rem; }

/* ─── Chess radar ────────────────────────────────────────────────────────── */
.chess-hud-col { min-width: 0; }
.cr { position: relative; width: 100%; max-width: 470px; aspect-ratio: 1; margin: 0 auto; }
.cr-svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.cr-beam {
  position: absolute; inset: 6.2%; border-radius: 50%;
  background: conic-gradient(from 0deg, rgba(224, 190, 103, 0) 0deg 262deg, rgba(224, 190, 103, 0.03) 290deg, rgba(224, 190, 103, 0.2) 356deg, rgba(240, 212, 135, 0.62) 360deg);
  animation: crSweep 8s linear infinite;
  transition: opacity 240ms ease;
  opacity: 0.8;
}
.scanning.cr .cr-beam { opacity: 1; }
.cr-ring { fill: none; stroke: #C9A44C; }
.cr-ring--outer { stroke-width: 1.2; opacity: 0.75; }
.cr-ring--dash { stroke-width: 1; stroke-dasharray: 2 7; opacity: 0.8; }
.cr-ring--dot { stroke-width: 1.6; stroke-dasharray: 0.1 9; stroke-linecap: round; opacity: 0.75; }
.cr-ring--inner { stroke-width: 1.2; opacity: 0.9; transition: stroke-width 240ms ease; }
.scanning.cr .cr-ring--inner { stroke-width: 2; }
.cr-tick { stroke: #C9A44C; stroke-width: 1; opacity: 0.5; }
.cr-tick--major { stroke: #E0BE67; stroke-width: 1.6; opacity: 1; }
.cr-cross { stroke: #C9A44C; stroke-width: 1; opacity: 0.32; }
.cr-compass { font-family: 'Space Grotesk', sans-serif; font-size: 13px; font-weight: 700; letter-spacing: 0.04em; fill: #E0BE67; }
.cr-orbit { fill: none; stroke: #E0BE67; stroke-width: 2.2; stroke-linecap: round; }
.cr-mote { fill: #FAF8F2; }
.cr-mote--dim { fill: #E0BE67; }
.cr-lead { stroke: #C9A44C; stroke-width: 1; opacity: 0.55; }
.cr-node { fill: #000; stroke: #E0BE67; stroke-width: 1.5; animation: crBlip 8s linear infinite; }
.cr-node--tr { animation-delay: 1s; }
.cr-node--br { animation-delay: 3s; }
.cr-node--bl { animation-delay: 5s; }
.cr-node--tl { animation-delay: 7s; }
.cr-spin { transform-origin: 260px 260px; }
.cr-spin--slow { animation: crTurn 70s linear infinite; }
.cr-spin--back { animation: crTurn 46s linear infinite reverse; }
.cr-pulse { fill: none; stroke: #F0D487; stroke-width: 2; opacity: 0; transform-origin: 260px 260px; }
.is-burst.cr .cr-pulse { animation: crBurst 900ms cubic-bezier(0.22, 1, 0.36, 1); }
.cr-knight { filter: drop-shadow(0 0 14px rgba(224, 190, 103, 0.42)); transition: filter 240ms ease; }
.scanning.cr .cr-knight { filter: drop-shadow(0 0 24px rgba(240, 212, 135, 0.75)); }
.cr-knight__body, .cr-knight__head { stroke: #2A1E08; stroke-width: 0.55; stroke-linejoin: round; stroke-linecap: round; }
.cr-knight__body { fill: url(#cr-gold-mane); }
.cr-knight__head { fill: url(#cr-gold); }
.cr-knight__mane { fill: none; stroke: #2A1E08; stroke-width: 0.45; stroke-linecap: round; opacity: 0.65; }
.cr-knight__eye { fill: #0A0703; stroke: #0A0703; stroke-width: 0.5; }
.cr-hit { position: absolute; left: 50%; top: 50%; width: 46%; height: 46%; transform: translate(-50%, -50%); padding: 0; border: 0; border-radius: 50%; background: transparent; cursor: pointer; }
.cr-hit:focus-visible { outline: 2px solid #F4F1E8; outline-offset: 4px; }
.cr-eval { position: absolute; min-width: 4.6rem; font-family: var(--font-tech); pointer-events: none; transition: opacity 180ms ease, transform 180ms ease; }
.cr-eval--tl { left: 0; top: 0; }
.cr-eval--tr { right: 0; top: 0; text-align: right; }
.cr-eval--bl { left: 0; bottom: 0; }
.cr-eval--br { right: 0; bottom: 0; text-align: right; }
.cr-eval__san { display: block; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.06em; color: var(--text-primary); }
.cr-eval__val { display: block; margin-top: 0.1rem; font-size: 1.32rem; font-weight: 700; line-height: 1.1; letter-spacing: -0.01em; color: var(--text-primary); font-variant-numeric: tabular-nums; }
.cr-eval.is-top .cr-eval__san, .cr-eval.is-top .cr-eval__val { color: #E0BE67; }
.is-swapping.cr .cr-eval { opacity: 0; transform: translateY(4px); }
.is-offline.cr .cr-eval { display: none; }
.cr-log { display: block; width: 100%; max-width: 470px; margin: 1.1rem auto 0; padding: 0.9rem 1.1rem; border: 1px solid var(--panel-border-hover); border-left: 2px solid var(--gold-accent); background: #000; }
.cr-log__name { display: block; font-family: var(--font-sans); font-size: 1.02rem; font-weight: 600; color: var(--text-primary); }
.cr-log__line { display: block; margin-top: 0.25rem; font-family: var(--font-tech); font-size: 0.82rem; font-weight: 600; color: #E0BE67; }
.cr-log__meta { display: block; margin-top: 0.3rem; font-family: var(--font-tech); font-size: 0.68rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-primary); }
.cr-note { width: 100%; max-width: 470px; margin: 0.7rem auto 0; font-size: 0.78rem; line-height: 1.5; text-align: left; color: var(--text-secondary); }
@keyframes crSweep { to { transform: rotate(360deg); } }
@keyframes crTurn { to { transform: rotate(360deg); } }
@keyframes crBlip { 0%, 3% { fill: #F0D487; } 16%, 100% { fill: #000; } }
@keyframes crBurst { 0% { opacity: 0.9; transform: scale(1); } 100% { opacity: 0; transform: scale(1.75); } }
@media (max-width: 480px) {
  .cr-eval { min-width: 3.6rem; }
  .cr-eval__san { font-size: 0.64rem; }
  .cr-eval__val { font-size: 1.02rem; }
}
@media (prefers-reduced-motion: reduce) {
  .cr-beam, .cr-spin--slow, .cr-spin--back, .cr-node, .is-burst.cr .cr-pulse { animation: none; }
  .cr-eval { transition: none; }
}
