/* ─── 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 ────────────────────────────────────────── */
/* ─── 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-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);
}

/* Mini Buttons for control panels */
.sk-btn-mini {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--panel-border);
  padding: 0.5rem 1.1rem;
  font-size: 0.7rem;
  font-family: var(--font-tech);
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 0;
  transition: all 200ms ease;
}

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

/* ─── Academic Hero ────────────────────────────────────── */
.sk-hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  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_academics.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: radial-gradient(circle at 50% 40%, rgba(0, 0, 0,0.38) 0%, rgba(0, 0, 0,0.80) 100%);
  z-index: 1;
}



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

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



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

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

/* ─── 01. The Academic Path (Timeline & Syllabus Expanders) ────────── */
.sk-timeline-list {
  display: flex;
  flex-direction: column;
  gap: 2.2rem;
  margin-top: 3.5rem;
  position: relative;
}

.sk-timeline-list::before {
  content: '';
  position: absolute;
  left: 200px; /* 160px meta + 40px center of node-container */
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--gold-accent) 0%, rgba(201, 164, 76, 0.12) 50%, var(--gold-accent) 100%);
  box-shadow: 0 0 10px rgba(201, 164, 76, 0.35);
  z-index: 1;
}

.sk-timeline-list::after {
  content: '▼';
  position: absolute;
  left: 195px;
  bottom: -15px;
  font-size: 10px;
  color: var(--gold-accent);
  text-shadow: 0 0 8px var(--gold-accent);
  z-index: 1;
}

.timeline-block {
  display: grid;
  grid-template-columns: 160px 80px 1fr;
  align-items: center;
  position: relative;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 800ms cubic-bezier(0.22, 1, 0.36, 1), transform 800ms cubic-bezier(0.22, 1, 0.36, 1);
}

.timeline-block.revealed {
  opacity: 1;
  transform: translateY(0);
}

.timeline-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
  justify-content: center;
  padding-right: 1.5rem;
}

.timeline-date {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--gold-accent);
  text-shadow: 0 0 10px rgba(201, 164, 76, 0.12);
  transition: all 300ms ease;
  line-height: 1;
}

.timeline-block:hover .timeline-date {
  text-shadow: 0 0 18px var(--gold-glow);
  color: var(--text-primary);
}

.timeline-label {
  font-family: var(--font-tech);
  font-size: 0.65rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 0.35rem;
}

.timeline-node-container {
  position: relative;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.timeline-node-line-connect {
  height: 1.5px;
  background: var(--gold-accent);
  opacity: 0.35;
  flex: 1;
}

.timeline-node-line-connect.left {
  background: linear-gradient(to left, var(--gold-accent), transparent);
}

.timeline-node-line-connect.right {
  background: linear-gradient(to right, var(--gold-accent), transparent);
}

.timeline-node-target {
  position: relative;
  width: 24px;
  height: 24px;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2;
}

.node-ring-outer {
  position: absolute;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1px solid rgba(201, 164, 76, 0.4);
  background: var(--bg-color);
  transition: all 300ms cubic-bezier(0.22, 1, 0.36, 1);
}

.node-ring-inner {
  position: absolute;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 1.5px solid var(--gold-accent);
  background: var(--bg-color);
}

.node-dot {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold-accent);
  box-shadow: 0 0 10px var(--gold-accent);
  transition: all 300ms ease;
}

.timeline-block:hover .node-ring-outer {
  transform: scale(1.2);
  border-color: var(--gold-accent);
  box-shadow: 0 0 15px var(--gold-glow);
}

.timeline-block:hover .node-dot {
  background: var(--text-primary);
  box-shadow: 0 0 15px #fff, 0 0 5px var(--gold-accent);
}

.timeline-details-card {
  background: rgba(17, 17, 17, 0.38);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(201, 164, 76, 0.12);
  border-radius: 0;
  padding: 2.5rem 2rem;
  position: relative;
  transition: transform 150ms cubic-bezier(0.25, 0.46, 0.45, 0.94), border-color 300ms ease, box-shadow 300ms ease;
  transform-style: preserve-3d;
  box-shadow: 0 20px 50px rgba(0,0,0,0.55);
  overflow: hidden;
  margin: 1rem 0;
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 2rem;
}

.timeline-details-card:hover {
  border-color: var(--gold-accent);
  box-shadow: 0 25px 65px rgba(0,0,0,0.7), 0 0 20px rgba(201, 164, 76, 0.05);
}

.timeline-details-card .card-glare {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(201, 164, 76, 0.15) 0%, rgba(201, 164, 76, 0) 50%, rgba(255, 255, 255, 0.03) 100%);
  z-index: 2;
  pointer-events: none;
  transition: opacity 300ms ease;
}

.card-decor-icon-side {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding-top: 0.2rem;
}

.circular-badge {
  position: relative;
  width: 76px;
  height: 76px;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: transform 400ms cubic-bezier(0.22, 1, 0.36, 1);
}

.timeline-details-card:hover .circular-badge {
  transform: scale(1.06);
}

.badge-laurel-svg {
  width: 100%;
  height: 100%;
}

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

.card-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}

.card-content-side h3 {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
  letter-spacing: -0.015em;
}

.card-badges {
  display: flex;
  gap: 0.5rem;
}

.badge {
  font-family: var(--font-tech);
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.25rem 0.6rem;
  border-radius: 0;
}

.badge--gold {
  background: rgba(201, 164, 76, 0.08);
  color: var(--gold-accent);
  border: 1px solid rgba(201, 164, 76, 0.25);
}

.badge--dark {
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-secondary);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.card-content-side p {
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--text-secondary);
  margin: 0.8rem 0 1.8rem 0;
}

.syllabus-toggle-btn {
  background: transparent;
  border: 1.5px dashed var(--gold-accent);
  color: var(--gold-accent);
  font-family: var(--font-tech);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  padding: 0.65rem 1.4rem;
  cursor: pointer;
  border-radius: 0;
  transition: all 220ms ease;
  letter-spacing: 0.06em;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  align-self: flex-start;
}

.btn-small-icon {
  width: 14px;
  height: 14px;
  transition: transform 220ms ease;
}

.syllabus-toggle-btn:hover {
  background: var(--gold-accent);
  color: #000;
  border-style: solid;
}

.syllabus-toggle-btn:hover .btn-small-icon {
  transform: rotate(90deg);
}

.syllabus-expand-box {
  max-height: 0;
  overflow: hidden;
  transition: max-height 500ms cubic-bezier(0.22, 1, 0.36, 1);
}

.syllabus-expand-box.is-expanded {
  max-height: 400px;
}

.syllabus-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.8rem;
  padding: 1.8rem 0 0.8rem;
  border-top: 1px solid rgba(255,255,255,0.04);
  margin-top: 1.5rem;
}

.syllabus-col h4 {
  font-family: var(--font-tech);
  font-size: 0.82rem;
  color: var(--text-primary);
  margin: 0 0 0.8rem 0;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.syllabus-col ul {
  padding-left: 1.1rem;
  margin: 0;
}

.syllabus-col li {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 0.45rem;
}

.card-inner-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.05);
  margin: 1.8rem 0 0.8rem;
}

.card-links {
  padding-top: 0.6rem;
}

.view-record-link {
  font-family: var(--font-tech);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted);
  text-decoration: none;
  letter-spacing: 0.08em;
  transition: color 240ms ease;
  display: inline-block;
}

.view-record-link:hover {
  color: var(--gold-accent);
}

/* Quote banner styling */
.timeline-quote-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-top: 4.5rem;
  padding: 2rem 1rem;
  position: relative;
  z-index: 2;
}

.timeline-quote {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-weight: 400;
  font-style: italic;
  color: var(--text-secondary);
  text-align: center;
  margin: 0 0 1rem 0;
  letter-spacing: 0.02em;
}

.quote-decor {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  width: 100%;
}

.quote-decor::before,
.quote-decor::after {
  content: '';
  width: 60px;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--gold-accent));
}

.quote-decor::after {
  background: linear-gradient(to left, transparent, var(--gold-accent));
}

.q-diamond {
  font-family: var(--font-tech);
  font-size: 0.65rem;
  color: var(--gold-accent);
  user-select: none;
}

.q-diamond.fill {
  opacity: 0.7;
}

/* ─── 02. Interactive Sandboxes Playground ─────────────── */
.sk-sandbox-panel {
  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;
}

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

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

.sandbox-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;
}

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

.sandbox-body {
  position: relative;
  min-height: 380px;
}

.sandbox-panel-view {
  display: none;
  grid-template-columns: 1fr 1.1fr;
  gap: 2rem;
  padding: 2.5rem;
  align-items: center;
  animation: viewFadeIn 450ms ease forwards;
}

.sandbox-panel-view.active {
  display: grid;
}

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

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

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

.sb-slider-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.sb-slider-wrap label {
  font-family: var(--font-tech);
  font-size: 0.7rem;
  color: var(--text-secondary);
  text-transform: uppercase;
}

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

.sb-slider-wrap input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--gold-accent);
  cursor: pointer;
  transition: transform 180ms ease;
}

.sb-slider-wrap input[type="range"]::-webkit-slider-thumb:hover {
  transform: scale(1.25);
}

.sb-math-output {
  font-family: var(--font-tech);
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--text-secondary);
  background: rgba(0,0,0,0.25);
  padding: 1rem 1.4rem;
  border-radius: 0;
  border-left: 2px solid var(--gold-accent);
}

.sb-visual {
  background: #000000;
  border: 1px solid var(--panel-border);
  border-radius: 0;
  padding: 1.25rem;
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

#math-canvas, #phys-canvas {
  width: 100%;
  height: 100%;
  background: #000000;
  border-radius: 0;
  display: block;
}

/* 2D Matrix Grid Inputs styling */
.matrix-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 2rem;
}

.matrix-inputs {
  display: grid;
  grid-template-columns: repeat(2, 60px);
  gap: 0.6rem;
}

.matrix-inputs input {
  background: #000000;
  border: 1px solid var(--panel-border);
  border-radius: 0;
  color: var(--text-primary);
  font-family: var(--font-tech);
  font-size: 1rem;
  text-align: center;
  padding: 0.5rem;
  outline: none;
}

.matrix-inputs input:focus {
  border-color: var(--gold-accent);
}

.matrix-bracket {
  width: 12px;
  height: 110px;
  border: 2px solid var(--gold-accent);
}

.matrix-bracket.left {
  border-right: none;
}

.matrix-bracket.right {
  border-left: none;
}

.matrix-grid-visual-wrapper {
  width: 100%;
  max-width: 250px;
  height: 250px;
  background: #000000;
  border: 1.5px dashed var(--panel-border);
  border-radius: 0;
}

.matrix-grid-visual-wrapper svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* CS CPU registers styling */
.assembly-code-box {
  background: #000000;
  border: 1px solid var(--panel-border);
  border-radius: 0;
  padding: 1.1rem;
  font-family: 'Space Grotesk', monospace;
  font-size: 0.78rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.assembly-line {
  padding: 0.25rem 0.5rem;
  border-radius: 0;
  color: var(--text-secondary);
  transition: all 200ms ease;
}

.assembly-line.active {
  background: rgba(201, 164, 76, 0.12);
  color: var(--gold-accent);
  font-weight: 600;
  box-shadow: inset 2px 0 0 var(--gold-accent);
}

.assembly-controls {
  display: flex;
  gap: 0.8rem;
}

.cpu-dashboard {
  width: 100%;
  max-width: 320px;
  font-family: var(--font-tech);
}

.cpu-header {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted);
  border-bottom: 1px solid var(--panel-border);
  padding-bottom: 0.5rem;
  margin-bottom: 1rem;
  letter-spacing: 0.08em;
}

.cpu-body {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

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

.cpu-row.highlight {
  border-bottom-color: rgba(201, 164, 76, 0.25);
}

.cpu-row.highlight .reg-val {
  color: var(--gold-accent);
  font-weight: 700;
  text-shadow: 0 0 5px var(--gold-glow);
}

.reg-label {
  font-size: 0.75rem;
  color: var(--text-secondary);
}

.reg-val {
  font-size: 0.85rem;
  color: var(--text-primary);
  font-weight: 600;
}

/* ─── 03. Magic Box Simulator Section ───────────────────── */
.sk-magic-box-section {
  position: relative;
  background: #000000;
  border-top: 1px solid var(--panel-border);
  padding: 3rem 0;
}



/* Layout Grid */
.sk-magic-box-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.15fr;
  gap: 2rem;
  align-items: stretch;
}

.sk-magic-box-content {
  display: flex;
  flex-direction: column;
}

/* Left Visual Card */
.mb-visual-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: rgba(10, 10, 10, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.02);
  border-radius: 0;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
}

.sk-magic-box-image-frame {
  width: 100%;
  flex: 1;
  min-height: 320px;
  overflow: hidden;
}

.sk-magic-box-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.mb-visual-card:hover .sk-magic-box-image {
  transform: scale(1.03);
}

.mb-visual-caption {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: rgba(0, 0, 0, 0.4);
  border-top: 1px dashed rgba(201, 164, 76, 0.2);
  padding: 0.75rem 1.2rem;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 0.95rem;
  color: var(--gold-accent);
}

.caption-star {
  font-size: 0.75rem;
  text-shadow: 0 0 5px var(--gold-glow);
}

/* Rigor Audit Console Panel */
.rigor-console-panel {
  background: rgba(10, 10, 10, 0.8);
  border: 1px solid rgba(201, 164, 76, 0.3);
  border-radius: 0;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6), 0 0 30px rgba(201, 164, 76, 0.08);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.mb-sim-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.8rem 1.4rem;
  background: rgba(0, 0, 0, 0.25);
  border-bottom: 1px solid rgba(201, 164, 76, 0.15);
}

.mb-sim-title {
  font-family: var(--font-tech);
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.mb-sim-status-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-tech);
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--text-secondary);
  letter-spacing: 0.08em;
}

.status-pulse {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  display: inline-block;
  background: var(--text-muted);
  transition: all 0.3s ease;
}

.status-pulse.green {
  background: #2ecc71;
  box-shadow: 0 0 8px #2ecc71;
  animation: pulseGreen 2s infinite;
}

.status-pulse.gold {
  background: var(--gold-accent);
  box-shadow: 0 0 8px var(--gold-accent);
  animation: pulseGold 2s infinite;
}

@keyframes pulseGreen {
  0%, 100% { opacity: 0.6; box-shadow: 0 0 4px #2ecc71; }
  50% { opacity: 1; box-shadow: 0 0 10px #2ecc71; }
}

@keyframes pulseGold {
  0%, 100% { opacity: 0.6; box-shadow: 0 0 4px var(--gold-accent); }
  50% { opacity: 1; box-shadow: 0 0 10px var(--gold-accent); }
}

.rigor-console-body {
  padding: 1.2rem 1.4rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  justify-content: space-between;
  background: #000000;
  font-family: var(--font-tech);
  position: relative;
}

.rigor-console-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 1.5rem;
  z-index: 2;
  position: relative;
}

/* Inner Subpanel Layouts */
.console-proof-panel, .console-map-panel {
  display: flex;
  flex-direction: column;
}

.console-sub-label {
  display: block;
  font-family: var(--font-tech);
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.6rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  padding-bottom: 0.3rem;
}

/* Theorem Box */
.theorem-box {
  background: rgba(0, 0, 0, 0.3);
  border-left: 2px solid var(--gold-accent);
  padding: 0.6rem 0.8rem;
  border-radius: 0;
  margin-bottom: 0.8rem;
}

.theorem-title {
  font-family: var(--font-serif);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--gold-accent);
}

.theorem-text {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin: 0.2rem 0 0 0;
  line-height: 1.4;
}

/* Proof steps checklist */
.proof-steps-checklist {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 0.9rem;
}

.proof-step-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(18, 18, 18, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.03);
  border-radius: 0;
  padding: 0.45rem 0.75rem;
  font-size: 0.78rem;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
}

.proof-step-row:hover {
  border-color: rgba(201, 164, 76, 0.3);
  background: rgba(201, 164, 76, 0.02);
}

.proof-step-row.active-highlight {
  border-color: var(--gold-accent);
  background: rgba(201, 164, 76, 0.06);
  box-shadow: 0 0 8px rgba(201, 164, 76, 0.15);
}

.step-badge {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  color: var(--text-muted);
  font-weight: 700;
  flex-shrink: 0;
}

.proof-step-row.active-highlight .step-badge {
  border-color: var(--gold-accent);
  color: var(--gold-accent);
}

.step-expr {
  flex: 1;
  font-family: var(--font-sans);
}

.step-status-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.success-check {
  color: #2ecc71;
}

.success-check svg {
  width: 12px;
  height: 12px;
}

.pending-spinner {
  color: var(--gold-accent);
}

.pending-spinner svg {
  width: 12px;
  height: 12px;
  animation: spinSlow 2s linear infinite;
}

.proof-step-row.val-checked .step-badge {
  background: rgba(46, 204, 113, 0.08);
  border-color: rgba(46, 204, 113, 0.3);
  color: #2ecc71;
}

.proof-step-row.val-pending .step-badge {
  background: rgba(201, 164, 76, 0.08);
  border-color: rgba(201, 164, 76, 0.3);
  color: var(--gold-accent);
}

/* Audit Status Banner */
.audit-status-banner {
  background: rgba(0, 0, 0, 0.4);
  border: 1px dashed rgba(201, 164, 76, 0.25);
  border-radius: 0;
  padding: 0.5rem 0.8rem;
}

.banner-lbl {
  display: block;
  font-family: var(--font-tech);
  font-size: 0.55rem;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  margin-bottom: 0.2rem;
}

.banner-value {
  font-family: var(--font-tech);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--gold-accent);
  text-shadow: 0 0 10px rgba(201, 164, 76, 0.4);
  letter-spacing: 0.05em;
}

/* Logic Map Panel */
.logic-map-container {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 190px;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.02);
  border-radius: 0;
  position: relative;
}

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

/* Node flow styles */
.map-node {
  transition: all 0.3s ease;
  cursor: pointer;
}

.map-node circle, .map-node rect {
  transition: all 0.3s ease;
}

.map-node text {
  transition: all 0.3s ease;
}

.node-success circle, .node-success rect {
  stroke: #2ecc71;
  fill: rgba(46, 204, 113, 0.03);
}

.node-success .ring-glow {
  stroke: #2ecc71;
  opacity: 0.25;
}

.node-pending circle, .node-pending rect {
  stroke: var(--gold-accent);
  fill: rgba(201, 164, 76, 0.03);
}

.node-pending .ring-glow {
  stroke: var(--gold-accent);
  opacity: 0.6;
}

.map-node.active-node circle, .map-node.active-node rect {
  stroke: #fff;
  fill: rgba(255, 255, 255, 0.06);
}

.map-node.active-node .ring-glow {
  stroke: #fff;
  opacity: 0.8;
  filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.5));
}

#node-a .ring-glow { transform-origin: 50px 60px; }
#node-b .ring-glow { transform-origin: 190px 60px; }
#node-c .ring-glow { transform-origin: 120px 148px; }
#node-d .ring-glow { transform-origin: 120px 218px; }

.pulsing .ring-glow {
  animation: mapNodePulse 2.2s infinite ease-in-out;
}

@keyframes mapNodePulse {
  0%, 100% { transform: scale(1); opacity: 0.3; }
  50% { transform: scale(1.06); opacity: 0.8; }
}

/* Legend */
.logic-map-legend {
  display: flex;
  justify-content: center;
  gap: 0.8rem;
  margin-top: 0.8rem;
  font-family: var(--font-tech);
  font-size: 0.6rem;
  color: var(--text-muted);
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.legend-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  display: inline-block;
}

.legend-dot.green {
  background: #2ecc71;
  box-shadow: 0 0 5px #2ecc71;
}

.legend-dot.gold {
  background: var(--gold-accent);
  box-shadow: 0 0 5px var(--gold-accent);
}

.legend-dot.red {
  background: #e74c3c;
  box-shadow: 0 0 5px #e74c3c;
}

/* Console Metrics Bottom Bar */
.console-metrics-footer {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid rgba(201, 164, 76, 0.15);
  padding-top: 0.8rem;
  margin-top: 1rem;
  z-index: 2;
  position: relative;
}

.metric-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.metric-icon {
  width: 18px;
  height: 18px;
  color: var(--gold-accent);
}

.metric-details {
  display: flex;
  flex-direction: column;
}

.m-lbl {
  font-family: var(--font-tech);
  font-size: 0.55rem;
  color: var(--text-muted);
  letter-spacing: 0.08em;
}

.m-val {
  font-family: var(--font-tech);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-secondary);
  margin-top: 0.1rem;
}

/* Middle Connected Cards Flow */
.mb-cards-flow-wrapper {
  position: relative;
  z-index: 2;
  margin: 2.5rem 0;
}

.mb-flow-connectors {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 20px;
  transform: translateY(-50%);
  z-index: 1;
  pointer-events: none;
  display: block;
}

.mb-flow-line {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  height: 20px;
  width: 12%;
}

.mb-flow-line.line-left {
  left: 24%;
}

.mb-flow-line.line-right {
  right: 24%;
}

.mb-flow-line svg {
  width: 100%;
  height: 100%;
  display: block;
}

.mb-flow-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  position: relative;
  z-index: 2;
}

.mb-flow-card {
  position: relative;
  padding: 1.5rem 1.25rem;
  background: rgba(10, 10, 10, 0.85);
  border-radius: 0;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.mb-flow-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.7);
}

.mb-flow-card-decor {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 3;
}

.mb-flow-card-decor svg {
  width: 100%;
  height: 100%;
  display: block;
}

.mb-flow-card-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1.2px solid rgba(201, 164, 76, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-accent);
  margin-bottom: 1.1rem;
  background: rgba(0, 0, 0, 0.2);
  transition: all 0.4s ease;
}

.mb-flow-card:hover .mb-flow-card-icon-wrap {
  border-color: var(--gold-accent);
  box-shadow: 0 0 12px var(--gold-glow);
  color: #fff;
  background: rgba(201, 164, 76, 0.05);
}

.mb-flow-card-title {
  font-family: var(--font-tech);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 0.8rem 0;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: color 0.3s ease;
}

.mb-flow-card:hover .mb-flow-card-title {
  color: var(--gold-accent);
}

.mb-flow-card-desc {
  font-size: 0.82rem;
  line-height: 1.5;
  color: var(--text-muted);
  margin: 0;
}

/* Impact Snapshot Panel */
.mb-snapshot-wrapper {
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(201, 164, 76, 0.15);
  border-radius: 0;
  padding: 1.5rem 2rem;
  margin: 2.5rem 0;
  position: relative;
  z-index: 2;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.mb-snapshot-header {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #000000;
  padding: 0.2rem 1.5rem;
  font-family: var(--font-tech);
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.15em;
  border: 1px solid rgba(201, 164, 76, 0.15);
  border-radius: 0;
}

.mb-snapshot-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem;
  text-align: center;
}

.mb-stat-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  transition: all 0.3s ease;
}

.mb-stat-col:not(:last-child)::after {
  content: '';
  position: absolute;
  right: -0.75rem;
  top: 20%;
  height: 60%;
  width: 1px;
  background: linear-gradient(to bottom, transparent, rgba(201, 164, 76, 0.15), transparent);
}

.mb-stat-icon {
  width: 24px;
  height: 24px;
  color: var(--gold-accent);
  opacity: 0.55;
  margin-bottom: 0.8rem;
  transition: all 0.3s ease;
}

.mb-stat-num {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.1;
  margin-bottom: 0.4rem;
  transition: all 0.3s ease;
}

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

.mb-stat-col:hover .mb-stat-icon {
  opacity: 1;
  transform: translateY(-2px);
}

.mb-stat-col:hover .mb-stat-num {
  color: var(--gold-accent);
  text-shadow: 0 0 10px rgba(201, 164, 76, 0.2);
}

/* Explore Button */
.mb-explore-records-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.95rem 2.2rem;
  background: transparent;
  border: 1.2px solid var(--gold-accent);
  border-radius: 0;
  font-family: var(--font-tech);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--gold-accent);
  text-transform: uppercase;
  text-decoration: none;
  letter-spacing: 0.08em;
  transition: all 0.4s ease;
  box-shadow: 0 0 10px rgba(201, 164, 76, 0.05);
}

.mb-explore-records-btn:hover {
  background: var(--gold-accent);
  color: #000000;
  box-shadow: 0 0 25px rgba(201, 164, 76, 0.4);
}

.mb-explore-records-btn .btn-arrow {
  transition: transform 0.3s ease;
}

.mb-explore-records-btn:hover .btn-arrow {
  transform: translateX(4px);
}

/* Responsive adjustments */
@media (max-width: 1080px) {
  .mb-flow-line {
    width: 9%;
  }
}

@media (max-width: 980px) {
  .sk-magic-box-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .rigor-console-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .mb-flow-connectors {
    display: none !important;
  }

  .mb-flow-cards-grid {
    grid-template-columns: 1fr;
    max-width: 450px;
    margin: 0 auto;
    gap: 2rem;
  }

  .mb-snapshot-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }

  .mb-stat-col::after {
    display: none !important;
  }
}

@media (max-width: 640px) {
  .mb-snapshot-grid {
    grid-template-columns: 1fr;
    gap: 2.2rem;
  }


}

/* ─── 04. Clubs & Societies Section ──────────────────────── */
/* ─── 04. Clubs & Societies Section ──────────────────────── */
.sk-clubs-section {
  position: relative;
  background: #000000;
  border-top: 1px solid var(--panel-border);
  overflow: hidden;
  padding: 6rem 0;
}

.sk-clubs-cosmic-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.85;
}

.sk-clubs-cosmic-bg svg {
  width: 120%;
  height: 120%;
  min-width: 1200px;
  transform-origin: center;
  animation: spinCosmic 240s linear infinite;
}

@keyframes spinCosmic {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.sk-clubs-header-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 4.5rem;
  gap: 2rem;
  position: relative;
  z-index: 2;
}

.sk-clubs-header-left {
  max-width: 720px;
}

.sk-clubs-header-right {
  flex-shrink: 0;
  margin-bottom: 0.5rem;
}

.sk-creative-clubs-wrapper {
  position: relative;
  z-index: 2;
  margin-top: 4.5rem;
}

/* Connectors Container */
.sk-clubs-connectors-container {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 40px;
  transform: translateY(-50%);
  z-index: 1;
  pointer-events: none;
  display: block;
}

.sk-clubs-connector {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  height: 40px;
  z-index: 1;
}

.sk-clubs-connector.conn-left {
  left: 27%;
  width: 12%;
}

.sk-clubs-connector.conn-right {
  right: 27%;
  width: 12%;
}

.sk-clubs-connector svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* Connector Pulse Animation */
.connector-pulse {
  stroke-dasharray: 20 60;
  stroke-dashoffset: 0;
  animation: connectorFlow 3s linear infinite;
  opacity: 0.8;
}

@keyframes connectorFlow {
  to {
    stroke-dashoffset: -80;
  }
}

.sk-creative-clubs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  margin-bottom: 3.5rem;
  position: relative;
  z-index: 2;
  align-items: center;
}

/* Card Styling */
.sk-creative-card {
  position: relative;
  background: rgba(10, 10, 10, 0.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.02);
  border-radius: 0;
  overflow: visible; /* to allow top badge overflow */
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 380px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
  transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1),
              box-shadow 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  padding-top: 1rem; /* Space for the top circle badge */
}

/* Featured Card: Card 2 (BCS) */
.sk-creative-card.card-bcs {
  min-height: 410px;
  background: rgba(13, 13, 13, 0.85);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.7), 0 0 35px rgba(201, 164, 76, 0.22);
}

.sk-creative-card.card-bcs::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 0;
  pointer-events: none;
  box-shadow: 0 0 15px rgba(201, 164, 76, 0.15);
  z-index: -1;
  opacity: 0.7;
}

.sk-creative-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.7), 0 0 25px rgba(201, 164, 76, 0.2);
}

.sk-creative-card.card-bcs:hover {
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.7), 0 0 35px rgba(201, 164, 76, 0.4);
}

/* Glare Layer */
.card-inner-glare {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(201, 164, 76, 0) 0%, rgba(255, 255, 255, 0) 65%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
  z-index: 3;
  border-radius: 0;
}

.sk-creative-card:hover .card-inner-glare {
  opacity: 1;
}

/* Border Frame Container & SVGs */
.card-border-frame-container {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 10;
}

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

.border-path-outer {
  stroke-dasharray: 2000;
  stroke-dashoffset: 0;
  transition: stroke-dashoffset 0.8s ease;
}

.border-path-inner {
  stroke-dasharray: 2000;
  stroke-dashoffset: 0;
  transition: stroke-dashoffset 0.8s ease;
}

.sk-creative-card:hover .border-path-outer {
  animation: borderDrawSlow 6s linear infinite;
  stroke: #ffe090;
}

@keyframes borderDrawSlow {
  0% { stroke-dashoffset: 0; }
  100% { stroke-dashoffset: -2000; }
}

/* Index Circle Badge */
.card-index-circle {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #000000;
  border: 1.5px solid var(--gold-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 12;
  box-shadow: 0 0 12px rgba(201, 164, 76, 0.25);
  transition: all 0.4s ease;
}

.sk-creative-card:hover .card-index-circle {
  border-color: #fff;
  box-shadow: 0 0 18px rgba(255, 255, 255, 0.4);
  transform: translate(-50%, -50%) scale(1.08);
}

.card-index-circle .index-num {
  font-family: var(--font-tech);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--gold-accent);
  transition: color 0.4s ease;
}

.sk-creative-card:hover .card-index-circle .index-num {
  color: #fff;
}

/* Logo & Concentric Rings */
.card-visual-header {
  position: relative;
  height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
  margin-top: 0.5rem;
}

.logo-concentric-container {
  position: relative;
  width: 90px;
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-ring {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  transition: border-color 0.4s ease, transform 0.4s ease;
}

.logo-ring.ring-outer {
  inset: 0;
  border: 1px dashed rgba(201, 164, 76, 0.15);
  animation: spinSlow 35s linear infinite;
}

.logo-ring.ring-middle {
  inset: 8px;
  border: 1px solid rgba(201, 164, 76, 0.08);
}

.logo-ring.ring-inner {
  inset: 15px;
  border: 1.5px solid rgba(201, 164, 76, 0.25);
  animation: spinSlow 20s linear infinite reverse;
}

.sk-creative-card:hover .logo-ring.ring-outer {
  border-color: rgba(201, 164, 76, 0.4);
  animation-duration: 10s;
}

.sk-creative-card:hover .logo-ring.ring-inner {
  border-color: rgba(201, 164, 76, 0.6);
  animation-duration: 6s;
}

.card-logo-frame {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(15, 15, 15, 0.85);
  border: 1px solid rgba(201, 164, 76, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  transition: all 0.4s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.sk-creative-card:hover .card-logo-frame {
  border-color: var(--gold-accent);
  box-shadow: 0 0 20px var(--gold-glow);
  transform: scale(1.05);
}

.card-logo-img {
  width: 30px;
  height: 30px;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.5));
  transition: transform 0.4s ease;
}

.logo-jedi .card-logo-img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
}

.sk-creative-card:hover .card-logo-img {
  transform: scale(1.08);
}

/* Card Body Content */
.card-body-content {
  padding: 0.75rem 1.5rem 1.25rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  text-align: center;
  position: relative;
  z-index: 4;
}

.card-title {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
  letter-spacing: 0.02em;
  transition: color 0.3s ease;
}

.sk-creative-card:hover .card-title {
  color: #fff;
  text-shadow: 0 0 10px rgba(255,255,255,0.15);
}

.card-subtitle {
  font-family: var(--font-tech);
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.3rem;
  margin-bottom: 0.4rem;
  letter-spacing: 0.04em;
}

.card-category-wrap {
  display: flex;
  justify-content: center;
  margin: 0.4rem 0;
}

.card-category {
  font-family: var(--font-tech);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.25rem 0.75rem;
  border-radius: 0;
}

.tag-tech {
  background: rgba(0, 200, 255, 0.05);
  color: #00c8ff;
  border: 1px solid rgba(0, 200, 255, 0.25);
  text-shadow: 0 0 5px rgba(0, 200, 255, 0.2);
}

.card-role-meta {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid rgba(201, 164, 76, 0.15);
  border-bottom: 1px solid rgba(201, 164, 76, 0.15);
  padding: 0.4rem 0.25rem;
  margin: 0.5rem 0 0.8rem;
  font-family: var(--font-tech);
  font-size: 0.7rem;
  letter-spacing: 0.04em;
}

.meta-field {
  display: flex;
  gap: 0.3rem;
}

.meta-field .lbl {
  color: var(--text-muted);
}

.meta-field .val {
  color: var(--text-secondary);
  font-weight: 600;
}

.card-text-desc {
  font-size: 0.82rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.86);
  margin: 0 0 1rem 0;
  flex: 1;
  text-align: left;
}

.card-tag-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.45rem;
  margin-top: auto;
}

.tag-pill {
  font-family: var(--font-tech);
  font-size: 0.65rem;
  background: rgba(255, 255, 255, 0.02);
  color: var(--text-muted);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 0.25rem 0.6rem;
  border-radius: 0;
  transition: all 0.3s ease;
}

.sk-creative-card:hover .tag-pill {
  border-color: rgba(201, 164, 76, 0.25);
  background: rgba(201, 164, 76, 0.03);
  color: var(--text-primary);
}

/* Card Action Footer */
.card-action-footer {
  padding: 0.8rem 1.5rem;
  border-top: 1px dashed rgba(201, 164, 76, 0.15);
  background: rgba(0, 0, 0, 0.15);
  margin-top: auto;
  text-align: center;
  position: relative;
  z-index: 4;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

.card-action-link {
  font-family: var(--font-tech);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--gold-accent);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: all 0.3s ease;
}

.card-action-link:hover {
  color: #fff;
  text-shadow: 0 0 10px rgba(201, 164, 76, 0.6);
  transform: translateY(-1px);
}

.card-action-status {
  font-family: var(--font-tech);
  font-size: 0.72rem;
  color: rgba(201, 164, 76, 0.6);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}

/* Bottom Mandala divider */
.sk-grid-decor-bottom {
  margin-top: 4.5rem;
}

.decor-bottom-svg {
  width: 100%;
  max-width: 1000px;
  display: block;
  margin: 0 auto;
}

/* Responsive Styles */
@media (max-width: 1080px) {
  .sk-clubs-connector.conn-left {
    left: 28%;
    width: 9%;
  }
  .sk-clubs-connector.conn-right {
    right: 28%;
    width: 9%;
  }
}

@media (max-width: 980px) {
  .sk-clubs-header-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
  }
  
  .sk-clubs-connectors-container {
    display: none !important;
  }

  .sk-creative-clubs-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }

  .sk-creative-card {
    min-height: auto !important;
  }
}

@media (max-width: 640px) {
  .sk-creative-clubs-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin: 0 auto;
  }
}

/* ─── 05. The Academic 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;
}

.slider-val {
  font-family: var(--font-tech);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-secondary);
}

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

/* 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%
  );
}

/* ─── Responsive Media Queries ──────────────────────────── */
@media (max-width: 980px) {
  .sk-timeline-list::before,
  .sk-timeline-list::after {
    display: none !important;
  }

  .timeline-block {
    grid-template-columns: 1fr;
    gap: 0.8rem;
    margin-bottom: 1.5rem;
  }

  .timeline-meta {
    align-items: flex-start;
    text-align: left;
    padding-left: 0.5rem;
    padding-right: 0;
  }

  .timeline-node-container {
    display: none !important;
  }

  .timeline-details-card {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 2rem 1.5rem;
    margin: 0;
  }

  .card-decor-icon-side {
    justify-content: flex-start;
  }

  .circular-badge {
    width: 64px;
    height: 64px;
  }

  .syllabus-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .sandbox-panel-view {
    grid-template-columns: 1fr;
  }

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

  .sk-cabinet {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .grades-grid {
    grid-template-columns: 1fr;
  }
  
  .pilot-deck-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

/* ─── Percentile Rings ───────────────────────────────────── */

.sk-percentile-section { background: #000000; }

.percentile-rings {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: clamp(3rem, 8vw, 7rem);
  flex-wrap: wrap;
  padding-top: 1rem;
}

.percentile-ring {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
}

.ring-wrap {
  position: relative;
  width: clamp(140px, 18vw, 190px);
  height: clamp(140px, 18vw, 190px);
}

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

.ring-bg {
  fill: none;
  stroke: rgba(201, 164, 76, 0.1);
  stroke-width: 7;
}

.ring-fill {
  fill: none;
  stroke: #C9A44C;
  stroke-width: 7;
  stroke-linecap: round;
  transition: stroke-dashoffset 1.4s cubic-bezier(0.22, 1, 0.36, 1);
  filter: drop-shadow(0 0 6px rgba(201, 164, 76, 0.45));
}

.ring-center {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.ring-num-row {
  display: flex;
  align-items: flex-start;
}

.ring-num {
  font-family: 'Cinzel Decorative', serif;
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 400;
  color: #F4F1E8;
  line-height: 1;
  letter-spacing: 0.02em;
}

.ring-sup {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  color: #C9A44C;
  letter-spacing: 0.06em;
  margin-top: 0.3rem;
  line-height: 1;
}

.ring-tag {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.62rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #CFC9BC;
  margin-top: 0.25rem;
}

.ring-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #E8E4DA;
  text-align: center;
  margin: 0;
  max-width: 160px;
}

@media (max-width: 600px) {
  .percentile-rings { gap: 2.5rem; }
  .ring-wrap { width: 130px; height: 130px; }
}

/* ════════════════════════════════════════════════════════════════════════
   V3 - ACADEMICS OVERVIEW
   ════════════════════════════════════════════════════════════════════════ */
.ac-glyphs { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; }
#academic-hero .sk-hero-content { position: relative; z-index: 2; }
.sb-matrix { font-family: var(--font-tech); color: var(--gold-accent); white-space: nowrap; }

/* ─── 01 // chronicle ────────────────────────────────────────────────── */
.ac-path { background: #000000; border-top: 1px solid var(--panel-border); overflow: hidden; }
.ac-path__pin { position: relative; padding: clamp(5rem, 9vh, 7rem) 0 2.4rem; }
.ac-path--h .ac-path__pin { height: 100vh; min-height: 680px; display: flex; flex-direction: column; padding-top: clamp(5.5rem, 11vh, 7.5rem); }
.ac-path__head {
  max-width: 1280px; width: 100%; margin: 0 auto; padding: 0 clamp(1.25rem, 4vw, 3rem);
  display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem;
}
.ac-path__head .sk-sec-title { margin-bottom: 0; }
.ac-path__lead { max-width: 380px; margin: 0; color: var(--text-secondary); line-height: 1.7; }
.ac-path__viewport { flex: 1; min-height: 0; overflow: visible; margin-top: 2rem; }
.ac-path__track { display: flex; flex-direction: column; gap: 4rem; padding: 0 clamp(1.25rem, 4vw, 3rem); }
.ac-path--h .ac-path__track { flex-direction: row; gap: 5vw; height: 100%; width: max-content; padding: 0 6vw; align-items: center; will-change: transform; }

.ac-ch {
  --fill: 0;
  position: relative; display: grid; grid-template-columns: 1fr; gap: 1.6rem;
}
.ac-path--h .ac-ch { width: min(78vw, 1060px); height: min(100%, 560px); grid-template-columns: 1.05fr 1fr; gap: clamp(1.6rem, 3vw, 3rem); align-items: center; }
.ac-ch__year {
  position: absolute; left: -1.5vw; top: -0.3em; z-index: 0; pointer-events: none; user-select: none;
  font: 700 clamp(6rem, 17vw, 15rem)/1 var(--font-serif); letter-spacing: -0.02em;
  color: transparent; -webkit-text-stroke: 1px rgba(201, 164, 76, 0.2);
  background: linear-gradient(90deg, rgba(201, 164, 76, 0.1) calc(var(--fill) * 100%), transparent calc(var(--fill) * 100% + 0.5%));
  -webkit-background-clip: text; background-clip: text;
}
.ac-path--h .ac-ch__year { top: -0.32em; left: auto; right: -0.02em; font-size: clamp(6rem, 13vw, 12rem); }
.ac-ch__media {
  position: relative; z-index: 1; margin: 0; overflow: hidden; border-radius: 0; aspect-ratio: 4 / 5;
  border: 1px solid rgba(201, 164, 76, 0.22); box-shadow: 0 40px 100px rgba(0, 0, 0, 0.6);
}
.ac-path--h .ac-ch__media { height: 100%; aspect-ratio: auto; }
.ac-ch__media img { width: 100%; height: 100%; object-fit: cover; display: block; transform: scale(1.18); filter: grayscale(18%) contrast(108%) brightness(0.88); }
.ac-ch__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, 0) 50%, rgba(0, 0, 0, 0.75)); pointer-events: none; }
.ac-ch__media figcaption {
  position: absolute; left: 1.2rem; bottom: 1.1rem; z-index: 2;
  font: 600 0.62rem/1 var(--font-tech); letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold-accent);
}
.ac-ch__body { position: relative; z-index: 1; }
.ac-ch__kicker { display: block; font: 600 0.64rem/1 var(--font-tech); letter-spacing: 0.24em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 0.9rem; }
.ac-ch__body h3 { font: 400 clamp(1.8rem, 3.2vw, 2.8rem)/1.1 var(--font-serif); color: var(--text-primary); margin: 0 0 1rem; }
.ac-ch__badges { display: flex; flex-wrap: wrap; gap: 0.45rem; margin-bottom: 1.2rem; }
.ac-badge {
  font: 600 0.6rem/1 var(--font-tech); letter-spacing: 0.16em; text-transform: uppercase;
  padding: 0.5rem 0.75rem; border-radius: 0; border: 1px solid rgba(201, 164, 76, 0.25); color: var(--text-secondary);
}
.ac-badge--gold { background: var(--gold-accent); color: #000000; border-color: var(--gold-accent); }
.ac-ch__body p { color: var(--text-secondary); line-height: 1.75; margin: 0 0 1.2rem; max-width: 520px; }
.ac-ch__modules { list-style: none; padding: 0; margin: 0 0 1.5rem; display: grid; gap: 0.5rem; }
.ac-ch__modules li { position: relative; padding-left: 1.2rem; font-size: 0.88rem; color: #cfc8b8; }
.ac-ch__modules li::before { content: ""; position: absolute; left: 0; top: 0.55em; width: 6px; height: 6px; transform: rotate(45deg); border: 1px solid var(--gold-accent); }
.ac-ch--apex .ac-ch__media { border-color: rgba(201, 164, 76, 0.5); box-shadow: 0 40px 100px rgba(0, 0, 0, 0.6), 0 0 80px rgba(201, 164, 76, 0.12); }
.ac-ch--end { text-align: center; place-items: center; align-content: center; }
.ac-path--h .ac-ch--end { width: min(48vw, 560px); grid-template-columns: 1fr; }
.ac-end__kicker { font: 600 0.64rem/1 var(--font-tech); letter-spacing: 0.26em; text-transform: uppercase; color: var(--text-muted); margin: 0; }
.ac-end__num { font: 400 clamp(6rem, 14vw, 12rem)/1 var(--font-serif); color: var(--text-primary); text-shadow: 0 0 60px rgba(201, 164, 76, 0.35); }
.ac-end__lbl { font: 600 0.7rem/1.4 var(--font-tech); letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold-accent); margin: 0.6rem 0 1.6rem; }
.ac-end__quote { font: 400 1.05rem/1.5 var(--font-serif); color: var(--text-secondary); margin: 0; max-width: 360px; }

.ac-path__rail { position: relative; height: 40px; margin: 1.6rem clamp(5rem, 8vw, 8rem) 0; display: none; }
.ac-path--h .ac-path__rail { display: block; }
.ac-path__rail::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: rgba(201, 164, 76, 0.15); }
.ac-path__fill { position: absolute; left: 0; right: 0; top: 50%; height: 1px; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, var(--gold-accent), #F4E2AE); box-shadow: 0 0 12px rgba(201, 164, 76, 0.6); }
.ac-path__mark { position: absolute; left: var(--x); top: 50%; transform: translate(-50%, 10px); font: 600 0.6rem/1 var(--font-tech); letter-spacing: 0.22em; color: var(--text-muted); }
.ac-path__mark::before { content: ""; position: absolute; left: 50%; top: -14px; width: 7px; height: 7px; transform: translateX(-50%) rotate(45deg); background: #000000; border: 1px solid var(--gold-accent); }

/* ─── 02 // bell curve ───────────────────────────────────────────────── */
.ac-bell { background: linear-gradient(180deg, #000000 0%, #000000 100%); border-top: 1px solid var(--panel-border); overflow: hidden; }
.ac-bell__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; flex-wrap: wrap; }
.ac-bell__head .sk-sec-lead { margin-bottom: 0; max-width: 560px; }
.ac-bell__readout { text-align: right; display: flex; flex-direction: column; align-items: flex-end; gap: 0.4rem; }
.ac-bell__big { font: 400 clamp(4.5rem, 9vw, 8rem)/0.9 var(--font-serif); color: var(--text-primary); text-shadow: 0 0 50px rgba(201, 164, 76, 0.35); font-variant-numeric: tabular-nums; }
.ac-bell__big sup { font-size: 0.32em; color: var(--gold-accent); vertical-align: top; margin-left: 0.1em; }
.ac-bell__lbl { font: 600 0.62rem/1 var(--font-tech); letter-spacing: 0.22em; text-transform: uppercase; color: var(--text-muted); }
.ac-bell__lbl b { color: var(--text-secondary); font-weight: 600; }
.ac-bell__top { font: 600 0.62rem/1 var(--font-tech); letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold-accent); }
.ac-bell__stage { position: relative; height: clamp(260px, 32vw, 420px); margin: 2.6rem 0 1.2rem; }
.ac-bell__svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.ac-bell__pin {
  position: absolute; left: 50%; top: 10%; transform: translate(-50%, calc(-100% - 14px)); pointer-events: none;
  display: flex; flex-direction: column; align-items: center; gap: 6px;
}
.ac-bell__pin span {
  white-space: nowrap; font: 600 0.58rem/1 var(--font-tech); letter-spacing: 0.24em; text-transform: uppercase; color: #000000;
  background: var(--gold-accent); padding: 0.45rem 0.7rem; border-radius: 0; box-shadow: 0 0 30px rgba(201, 164, 76, 0.5);
}
.ac-bell__pin i { width: 10px; height: 10px; transform: rotate(45deg); background: #F4E2AE; box-shadow: 0 0 18px rgba(244, 226, 174, 0.9); margin-top: 4px; }
.ac-bell__axis { position: absolute; left: 0; right: 0; bottom: -0.4rem; height: 1rem; }
.ac-bell__axis span { position: absolute; transform: translateX(-50%); font: 600 0.6rem/1 var(--font-tech); letter-spacing: 0.14em; color: var(--text-muted); }
.ac-bell__tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.8rem; margin-top: 2.4rem; }
.ac-bell-tab {
  display: flex; flex-direction: column; gap: 0.5rem; align-items: flex-start; cursor: pointer; text-align: left;
  background: rgba(255, 255, 255, 0.02); border: 1px solid rgba(201, 164, 76, 0.14); border-radius: 0; padding: 1.1rem 1.2rem;
  font: 600 0.62rem/1 var(--font-tech); letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-muted);
  transition: border-color 0.35s, background 0.35s, color 0.35s;
}
.ac-bell-tab b { font: 400 1.8rem/1 var(--font-serif); letter-spacing: 0; color: var(--text-secondary); }
.ac-bell-tab b sup { font-size: 0.45em; color: var(--gold-accent); }
.ac-bell-tab:hover { border-color: rgba(201, 164, 76, 0.4); }
.ac-bell-tab.is-active { border-color: var(--gold-accent); background: rgba(201, 164, 76, 0.07); color: var(--text-primary); }
.ac-bell-tab.is-active b { color: var(--text-primary); }

/* ─── 04 // society orbit ────────────────────────────────────────────── */
.ac-orbit { background: radial-gradient(ellipse 70% 50% at 50% 55%, rgba(201, 164, 76, 0), transparent 70%), #000000; border-top: 1px solid var(--panel-border); overflow: hidden; }
.ac-orbit__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; flex-wrap: wrap; }
.ac-orbit__head .sk-sec-lead { margin-bottom: 0; }
.ac-orbit__stage { position: relative; height: clamp(440px, 42vw, 560px); margin: 0; cursor: grab; touch-action: pan-y; user-select: none; }
.ac-orbit__stage.is-drag { cursor: grabbing; }
.ac-orbit__ring { position: absolute; left: 50%; top: 50%; width: 0; height: 0; }
.ac-orbit__floor {
  position: absolute; left: 50%; top: 50%; width: min(1100px, 86vw); height: 300px; transform: translate(-50%, -50%);
  border-radius: 50%; border: 1px solid rgba(201, 164, 76, 0.12);
  background: radial-gradient(ellipse, rgba(201, 164, 76, 0), transparent 65%);
}
.ac-orbit__floor::after { content: ""; position: absolute; inset: 18% 14%; border-radius: 50%; border: 1px dashed rgba(201, 164, 76, 0.12); }
.orb { position: absolute; left: 0; top: 0; margin: 0; width: 120px; display: flex; flex-direction: column; align-items: center; gap: 0.7rem; will-change: transform, opacity; }
.orb img {
  width: 96px; height: 96px; object-fit: contain; padding: 16px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fbf8f0, #e4dccb 75%); border: 2px solid rgba(201, 164, 76, 0.45);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6); transition: border-color 0.4s, box-shadow 0.4s; pointer-events: none;
}
.orb figcaption {
  white-space: nowrap; font: 600 0.58rem/1 var(--font-tech); letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-secondary);
  opacity: 0; transform: translateY(-6px); transition: opacity 0.35s, transform 0.35s;
}
.orb.is-front figcaption, .orb.is-hover figcaption { opacity: 1; transform: none; }
.orb.is-front img, .orb.is-hover img { border-color: var(--gold-accent); box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 0 0 40px rgba(201, 164, 76, 0.3); }
.ac-orbit__core { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); text-align: center; pointer-events: none; z-index: 90; }
.ac-orbit__count { display: block; font: 400 clamp(4rem, 8vw, 7rem)/1 var(--font-serif); color: var(--text-primary); text-shadow: 0 0 50px rgba(201, 164, 76, 0.4); }
.ac-orbit__lbl { display: block; margin-top: 0.4rem; font: 600 0.6rem/1.6 var(--font-tech); letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold-accent); }
.ac-orbit__hint { position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); margin: 0; white-space: nowrap; font: 600 0.58rem/1 var(--font-tech); letter-spacing: 0.26em; text-transform: uppercase; color: var(--text-muted); }

.ac-members { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; margin-top: 1rem; }
@media (max-width: 1180px) { .ac-members { grid-template-columns: repeat(2, 1fr); } }
.ac-member {
  --mx: 50%; --my: 0%;
  position: relative; overflow: hidden; display: flex; flex-direction: column; text-decoration: none; color: inherit;
  padding: 1.7rem; border-radius: 0; border: 1px solid rgba(201, 164, 76, 0.16);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.012));
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4); transition: border-color 0.4s, transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.ac-member:hover { border-color: rgba(201, 164, 76, 0.45); transform: translateY(-6px); }
.ac-member--lead { border-color: rgba(201, 164, 76, 0.36); background: radial-gradient(ellipse at 50% 0%, rgba(201, 164, 76, 0), transparent 60%), linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.015)); }
.ac-member__foil { position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity 0.4s; background: radial-gradient(circle at var(--mx) var(--my), rgba(244, 226, 174, 0.14), transparent 40%); }
.ac-member:hover .ac-member__foil { opacity: 1; }
.ac-member__num { position: absolute; top: 1.3rem; right: 1.4rem; font: 600 0.62rem/1 var(--font-tech); letter-spacing: 0.2em; color: rgba(201, 164, 76, 0.6); }
.ac-member__logo { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: #000000; border: 1px solid rgba(201, 164, 76, 0.3); margin-bottom: 1.3rem; }
.ac-member__logo img { width: 70%; height: 70%; object-fit: contain; }
.ac-member__logo--light { background: #F4F1E8; }
.ac-member__logo--light img { width: 80%; height: 80%; }
.ac-member h3 { font: 400 1.3rem/1.2 var(--font-serif); color: var(--text-primary); margin: 0 0 0.45rem; }
.ac-member__sub { font: 600 0.58rem/1.5 var(--font-tech); letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-accent); margin-bottom: 1rem; }
.ac-member p { font-size: 0.9rem; line-height: 1.7; color: var(--text-secondary); margin: 0 0 1.3rem; }
.ac-member__tags { margin-top: auto; display: flex; flex-wrap: wrap; gap: 0.4rem; }
.ac-member__tags span { font: 600 0.56rem/1 var(--font-tech); letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-muted); padding: 0.4rem 0.6rem; border: 1px solid rgba(201, 164, 76, 0.16); border-radius: 0; }

/* ─── 05 // magic box polish ─────────────────────────────────────────── */
.sk-magic-box-image-frame { overflow: hidden; }
.mb-stat-num .sk-odo { vertical-align: baseline; }

/* ─── 06 // kinetic close + index ────────────────────────────────────── */
.ac-close { background: #000000; border-top: 1px solid var(--panel-border); overflow: hidden; padding-top: clamp(4rem, 8vw, 7rem); }
.ac-close__lines { display: flex; flex-direction: column; align-items: center; gap: 0.1em; padding: 0 1rem; }
.ac-close__line {
  display: block; white-space: nowrap;
  font: 400 clamp(2.6rem, 8.6vw, 8.4rem)/1.04 var(--font-serif); color: var(--text-primary); letter-spacing: 0.005em;
}
.ac-close__line em {
  --fill: 0; font-style: normal; color: transparent; -webkit-text-stroke: 1px rgba(201, 164, 76, 0.7);
  background: linear-gradient(90deg, #E8C774 calc(var(--fill) * 100%), transparent calc(var(--fill) * 100% + 1%));
  -webkit-background-clip: text; background-clip: text;
}
.ac-index-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; margin-top: clamp(3rem, 7vw, 6rem); flex-wrap: wrap; }
.ac-index-note { max-width: 460px; margin: 0; color: var(--text-secondary); line-height: 1.7; font-size: 0.95rem; }
.ac-index { list-style: none; margin: 1.6rem 0 0; padding: 0; border-top: 1px solid rgba(201, 164, 76, 0.16); position: relative; z-index: 2; }
.ac-index li { border-bottom: 1px solid rgba(201, 164, 76, 0.16); }
.ac-index a {
  display: grid; grid-template-columns: 4rem 1fr auto 3rem; align-items: center; gap: 1.5rem; padding: 1.6rem 0.4rem;
  text-decoration: none; color: inherit; position: relative; overflow: hidden;
}
.ac-index a::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(201, 164, 76, 0.1), transparent 70%); transform: scaleX(0); transform-origin: 0 50%; transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1); }
.ac-index a:hover::before { transform: scaleX(1); }
.ac-index__n { font: 600 0.66rem/1 var(--font-tech); letter-spacing: 0.22em; color: rgba(201, 164, 76, 0.7); position: relative; }
.ac-index__t { font: 400 clamp(1.8rem, 4vw, 3.4rem)/1 var(--font-serif); color: var(--text-primary); position: relative; transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), color 0.4s; }
.ac-index a:hover .ac-index__t { transform: translateX(14px); color: var(--gold-accent); }
.ac-index__m { font: 600 0.62rem/1 var(--font-tech); letter-spacing: 0.2em; text-transform: uppercase; color: var(--text-muted); position: relative; }
.ac-index__a { font-size: 1.4rem; color: var(--gold-accent); justify-self: end; position: relative; transition: transform 0.4s; }
.ac-index a:hover .ac-index__a { transform: translateX(6px) rotate(-45deg); }
.ac-close__actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin: 3.5rem 0 1rem; }
.ac-index__preview {
  position: absolute; left: 0; top: 0; z-index: 1; width: 300px; height: 380px; margin: -190px 0 0 -150px; pointer-events: none;
  border-radius: 0; overflow: hidden; opacity: 0; transform-origin: 50% 50%;
  border: 1px solid rgba(201, 164, 76, 0.4); box-shadow: 0 40px 100px rgba(0, 0, 0, 0.7);
  transition: opacity 0.4s;
}
.ac-index__preview.is-on { opacity: 1; }
.ac-index__preview img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(15%) contrast(108%); }

@media (max-width: 1024px) {
  .ac-members { grid-template-columns: 1fr; max-width: 560px; margin-left: auto; margin-right: auto; }
}
@media (max-width: 900px) {
  .ac-path__head { flex-direction: column; align-items: flex-start; }
  .ac-ch__year { font-size: clamp(5rem, 26vw, 9rem); }
  .ac-bell__readout { align-items: flex-start; text-align: left; }
  .ac-bell__tabs { grid-template-columns: 1fr; }
  .ac-index a { grid-template-columns: 2.5rem 1fr 2rem; }
  .ac-index__m { display: none; }
  .orb { width: 90px; }
  .orb img { width: 70px; height: 70px; padding: 10px; }
}


/* ─── 02 // STANDING - understated: three figures, nothing more ───────── */
.ac-standing { background: #000; border-top: 1px solid rgba(201, 164, 76, 0.18); border-bottom: 1px solid rgba(201, 164, 76, 0.18); }
.ac-standing__inner { max-width: 1180px; margin: 0 auto; padding: clamp(2rem, 4vw, 3rem) clamp(1.25rem, 4vw, 3rem); display: grid; grid-template-columns: auto 1fr; gap: clamp(1.5rem, 5vw, 4rem); align-items: center; }
.ac-standing__row { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ac-standing__row li { display: grid; grid-template-columns: auto 1fr; column-gap: 0.7rem; align-items: baseline; padding: 0.2rem clamp(1rem, 2.5vw, 2rem); border-left: 1px solid rgba(201, 164, 76, 0.25); }
.ac-standing__row b { grid-row: span 2; font: 600 clamp(1.7rem, 3vw, 2.4rem)/1 var(--font-tech); letter-spacing: -0.02em; color: #FAF8F2; }
.ac-standing__row sup { font-size: 0.42em; color: var(--gold-accent); letter-spacing: 0; }
.ac-standing__row span { font: 600 0.58rem/1.3 var(--font-tech); letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-accent); }
.ac-standing__row em { font: 400 0.92rem/1.3 var(--font-sans); font-style: normal; color: var(--text-primary); }
@media (max-width: 820px) {
  .ac-standing__inner { grid-template-columns: 1fr; }
  .ac-standing__row { grid-template-columns: 1fr; gap: 0.9rem; }
  .ac-standing__row li { padding-left: 1rem; }
}


/* ════════════════════════════════════════════════════════════════════════
   04 // THE LAB - four A-Level ideas you can operate
   ════════════════════════════════════════════════════════════════════════ */
.lab { background: #000; }
.lab__inner { max-width: 1320px; margin: 0 auto; padding: clamp(5rem, 10vw, 8rem) clamp(1.25rem, 4vw, 3rem); }
.lab__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; flex-wrap: wrap; margin-bottom: clamp(2rem, 4vw, 3rem); }
.lab__head .sk-sec-title { margin: 0.9rem 0 0; max-width: 780px; }
.lab__intro { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1.4rem; align-items: center; max-width: 520px; }
.lab__intro p { margin: 0; font-size: 1.04rem; line-height: 1.7; color: var(--text-primary); }
.lab__score { padding-left: 1.2rem; border-left: 1px solid rgba(201, 164, 76, 0.5); }
.lab__score b { display: block; font: 700 2.6rem/1 var(--font-tech); color: #E0BE67; }
.lab__score span { display: block; margin-top: 0.3rem; font: 600 0.56rem/1.3 var(--font-tech); letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-primary); white-space: nowrap; }

.lab__tabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid rgba(201, 164, 76, 0.4); border-bottom: 0; }
.lab-tab { position: relative; display: block; padding: 1.1rem 2.3rem 1.2rem 1.2rem; text-align: left; background: #030303; border: 0; border-right: 1px solid rgba(201, 164, 76, 0.22); color: #FAF8F2; cursor: pointer; transition: background 250ms; }
.lab-tab:last-child { border-right: 0; }
.lab-tab::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: #E0BE67; transform: scaleX(0); transform-origin: 0 50%; transition: transform 450ms cubic-bezier(0.22, 1, 0.36, 1); }
.lab-tab:hover, .lab-tab:focus-visible { background: #0a0a0a; outline: none; }
.lab-tab.is-active { background: #0a0a0a; }
.lab-tab.is-active::after { transform: scaleX(1); }
.lab-tab__sub { display: block; margin-bottom: 0.45rem; font: 600 0.6rem/1.3 var(--font-tech); letter-spacing: 0.18em; text-transform: uppercase; color: #E0BE67; }
.lab-tab__q { display: block; font: 600 0.98rem/1.35 var(--font-sans); color: #FAF8F2; }
.lab-tab__tick { position: absolute; right: 0.9rem; top: 0.9rem; width: 20px; height: 20px; display: grid; place-items: center; border: 1px solid rgba(201, 164, 76, 0.5); font: 700 0.7rem/1 var(--font-tech); font-style: normal; color: transparent; transition: background 300ms, color 300ms; }
.lab-tab.is-solved .lab-tab__tick { background: #E0BE67; color: #000; }

.lab__body { display: grid; border: 1px solid rgba(201, 164, 76, 0.4); background: #030303; }
.lab-view { grid-area: 1 / 1; display: grid; grid-template-columns: minmax(0, 1.42fr) minmax(0, 1fr); visibility: hidden; opacity: 0; transition: opacity 350ms ease, visibility 0s linear 350ms; }
.lab-view.is-active { visibility: visible; opacity: 1; transition-delay: 0s; }
.lab-stage { position: relative; min-height: clamp(360px, 42vw, 560px); background: #000; border-right: 1px solid rgba(201, 164, 76, 0.22); overflow: hidden; }
.lab-stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; touch-action: pan-y; }
.lab-stage__hint { position: absolute; left: 1rem; top: 1rem; padding: 0.4rem 0.6rem; background: rgba(0, 0, 0, 0.72); border: 1px solid rgba(201, 164, 76, 0.4); font: 600 0.58rem/1.2 var(--font-tech); letter-spacing: 0.14em; text-transform: uppercase; color: #FAF8F2; pointer-events: none; }
.lab-stage__hint--right { left: auto; right: 4.2rem; }
.lab-side { padding: clamp(1.3rem, 2.6vw, 2.1rem); display: flex; flex-direction: column; gap: 1.15rem; min-width: 0; }
.lab-idea { margin: 0; font-size: 1.02rem; line-height: 1.65; color: #FAF8F2; }
.lab-ctl { display: grid; gap: 0.55rem; font: 600 0.66rem/1.3 var(--font-tech); letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-primary); }
.lab-ctl span { display: flex; justify-content: space-between; gap: 1rem; }
.lab-ctl b { color: #E0BE67; text-transform: none; letter-spacing: 0.02em; font-size: 0.86rem; }
.lab-ctl input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 2px; margin: 0.5rem 0; background: rgba(224, 190, 103, 0.5); outline: none; cursor: pointer; }
.lab-ctl input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 16px; height: 22px; background: #E0BE67; border: 0; cursor: grab; }
.lab-ctl input[type="range"]::-moz-range-thumb { width: 16px; height: 22px; background: #E0BE67; border: 0; border-radius: 0; cursor: grab; }
.lab-ctl input[type="range"]:focus-visible { outline: 1px solid #F4E2AE; outline-offset: 6px; }
.lab-reads { display: flex; flex-wrap: wrap; gap: 1rem 1.8rem; padding: 0.9rem 0; border-top: 1px solid rgba(201, 164, 76, 0.22); border-bottom: 1px solid rgba(201, 164, 76, 0.22); }
.lab-reads b { display: block; font: 700 1.55rem/1 var(--font-tech); letter-spacing: -0.01em; color: #FAF8F2; font-variant-numeric: tabular-nums; }
.lab-reads span { display: block; margin-top: 0.35rem; font: 600 0.56rem/1.3 var(--font-tech); letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-primary); }
.lab-chal { padding: 0.8rem 0.95rem; border: 1px solid rgba(201, 164, 76, 0.5); transition: background 350ms, border-color 350ms; }
.lab-chal__k { font: 700 0.58rem/1 var(--font-tech); letter-spacing: 0.2em; text-transform: uppercase; color: #E0BE67; }
.lab-chal p { margin: 0.4rem 0 0; font-size: 0.96rem; line-height: 1.5; color: #FAF8F2; }
.lab-chal.is-solved { background: #E0BE67; border-color: #E0BE67; }
.lab-chal.is-solved .lab-chal__k, .lab-chal.is-solved p { color: #000; }
.lab-btn { align-self: flex-start; padding: 0.75rem 1.05rem; background: var(--gold-accent); border: 1px solid var(--gold-accent); color: #000; font: 700 0.64rem/1 var(--font-tech); letter-spacing: 0.14em; text-transform: uppercase; cursor: pointer; transition: background 220ms, color 220ms; }
.lab-btn:hover, .lab-btn:focus-visible { background: #E0BE67; outline: none; }
.lab-btn--ghost { background: transparent; color: #FAF8F2; border-color: rgba(224, 190, 103, 0.6); }
.lab-btn--ghost:hover, .lab-btn--ghost:focus-visible { background: #E0BE67; color: #000; }
.lab-presets, .lab-actions { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.lab-matrix { position: relative; align-self: flex-start; display: grid; grid-template-columns: repeat(2, 4.2rem); gap: 0.3rem 0.4rem; padding: 0.6rem 0.9rem; font: 700 1.3rem/1.3 var(--font-tech); color: #FAF8F2; text-align: center; font-variant-numeric: tabular-nums; border-left: 2px solid #E0BE67; border-right: 2px solid #E0BE67; }
.lab-matrix span:nth-child(odd) { color: #E0BE67; }
.lab-matrix span:nth-child(even) { color: #8FB7D9; }

.lab-stage--cpu { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.lab-asm { list-style: none; margin: 0; padding: 0.7rem 0; max-height: clamp(360px, 42vw, 560px); overflow: auto; border-right: 1px solid rgba(201, 164, 76, 0.22); scrollbar-width: none; position: relative; }
.lab-asm li { display: grid; grid-template-columns: 2.2rem 3.4rem 1fr; align-items: baseline; padding: 0.34rem 1rem; font: 600 0.9rem/1.3 var(--font-tech); color: #FAF8F2; transition: background 150ms; }
.lab-asm li span { color: #E0BE67; font-size: 0.72rem; }
.lab-asm li b { font-weight: 700; }
.lab-asm li em { font-style: normal; }
.lab-asm li.is-pc { background: #E0BE67; color: #000; }
.lab-asm li.is-pc span { color: #000; }
.lab-cpu { padding: 1rem 1.2rem; display: grid; align-content: start; gap: 0.6rem; }
.lab-reg { display: flex; align-items: center; justify-content: space-between; gap: 0.8rem; padding: 0.6rem 0.8rem; border: 1px solid rgba(201, 164, 76, 0.28); }
.lab-reg span { font: 600 0.58rem/1.3 var(--font-tech); letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-primary); }
.lab-reg b { font: 700 1.4rem/1 var(--font-tech); color: #FAF8F2; font-variant-numeric: tabular-nums; }
.lab-reg--out { border-color: #E0BE67; }
.lab-reg--out b { color: #E0BE67; }
.lab-explain { margin: 0.3rem 0 0; font-size: 0.94rem; line-height: 1.5; color: #FAF8F2; }

.lab__done { margin: 1rem 0 0; padding: 1rem 1.2rem; border: 1px solid #E0BE67; font: 400 1.02rem/1.4 var(--font-serif); color: #FAF8F2; }
.lab__done a { color: #E0BE67; text-decoration: none; border-bottom: 1px solid currentColor; }

@media (max-width: 1000px) {
  .lab-view { grid-template-columns: 1fr; }
  .lab-stage { border-right: 0; border-bottom: 1px solid rgba(201, 164, 76, 0.22); min-height: 340px; }
  .lab__tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lab-tab:nth-child(2) { border-right: 0; }
  .lab-tab:nth-child(-n+2) { border-bottom: 1px solid rgba(201, 164, 76, 0.22); }
}
@media (max-width: 640px) {
  .lab-stage--cpu { grid-template-columns: 1fr; }
  .lab-asm { max-height: 240px; border-right: 0; border-bottom: 1px solid rgba(201, 164, 76, 0.22); }
  .lab__intro { grid-template-columns: 1fr; }
  .lab__score { padding-left: 0; border-left: 0; display: flex; align-items: baseline; gap: 0.6rem; }
  .lab-tab { padding: 0.9rem 2rem 1rem 0.9rem; }
  .lab-tab__q { font-size: 0.88rem; }
}

/* ─── The Academic Path below the horizontal layout: a vertical timeline ─── */
@media (max-width: 900px) {
  .ac-path__pin { padding: 3.5rem 0 2rem; }
  .ac-path__viewport { margin-top: 1.5rem; }
  .ac-path:not(.ac-path--h) .ac-path__track { position: relative; gap: 2.6rem; padding: 0 1.25rem 0 2.6rem; }
  .ac-path:not(.ac-path--h) .ac-ch { gap: 0.8rem; }
  .ac-path:not(.ac-path--h) .ac-ch:not(.ac-ch--end)::before { content: ""; position: absolute; left: calc(-1.35rem - 4px); top: 0.55rem; width: 9px; height: 9px; transform: rotate(45deg); background: #000; border: 1px solid #E0BE67; }
  .ac-path:not(.ac-path--h) .ac-ch--apex::before { background: #E0BE67 !important; }
  /* The line belongs to each chapter, so it always reaches the next one. */
  .ac-path:not(.ac-path--h) .ac-ch:not(.ac-ch--end)::after { content: ""; position: absolute; left: -1.35rem; top: 0.6rem; bottom: -2.6rem; width: 1px; background: rgba(224, 190, 103, 0.6); }
  .ac-path:not(.ac-path--h) .ac-ch[data-year="2026"]::after { bottom: 0; background: linear-gradient(180deg, rgba(224, 190, 103, 0.6), rgba(224, 190, 103, 0)); }
  .ac-path:not(.ac-path--h) .ac-ch__year { position: static; font: 700 1.5rem/1 var(--font-tech); letter-spacing: 0.02em; color: #E0BE67; -webkit-text-stroke: 0; background: none; -webkit-background-clip: border-box; background-clip: border-box; }
  .ac-path:not(.ac-path--h) .ac-ch__media { aspect-ratio: 16 / 11; box-shadow: none; }
  .ac-path:not(.ac-path--h) .ac-ch__media::after, .ac-path:not(.ac-path--h) .ac-ch__media figcaption { display: none; }
  .ac-path:not(.ac-path--h) .ac-ch__media img { filter: none; }
  /* Each photo is cropped around where he stands in it. */
  .ac-ch[data-year="2023"] .ac-ch__media img { object-position: 12% 100%; transform: scale(1.55); transform-origin: 29% 78%; }
  .ac-ch[data-year="2024"] .ac-ch__media img { object-position: 84% 40%; transform: scale(1.3); transform-origin: 70% 32%; }
  .ac-ch[data-year="2025"] .ac-ch__media img { object-position: 50% 40%; transform: scale(1.35); transform-origin: 51% 30%; }
  .ac-ch[data-year="2026"] .ac-ch__media img { object-position: 52% 30%; transform: scale(1.3); transform-origin: 52% 26%; }
  .ac-path:not(.ac-path--h) .ac-ch__kicker { font-size: 0.56rem; letter-spacing: 0.16em; margin-bottom: 0.5rem; line-height: 1.4; }
  .ac-path:not(.ac-path--h) .ac-ch__body h3 { font-size: 1.5rem; margin-bottom: 0.65rem; }
  .ac-path:not(.ac-path--h) .ac-ch__badges { margin-bottom: 0.7rem; }
  .ac-path:not(.ac-path--h) .ac-ch__body p { font-size: 0.94rem; line-height: 1.6; margin-bottom: 0.8rem; }
  .ac-path:not(.ac-path--h) .ac-ch__modules { display: none; }
  .ac-path:not(.ac-path--h) .ac-ch--end { margin: 0.5rem 0 0 -1.35rem; }
  .ac-path:not(.ac-path--h) .ac-end__num { font-size: 4.6rem; }

  /* This panel waits off to the side until it reveals, which dragged the whole page sideways. */
  .sk-magic-box-section { overflow-x: clip; }
  .sk-magic-box-layout, .rigor-console-grid { grid-template-columns: minmax(0, 1fr); }
  .sk-magic-box-widget, .rigor-console-panel { min-width: 0; max-width: 100%; }
}
