/* ============================================
   THE LAB — Exhibit 03 styles
   ============================================ */

/* ---- Shared exhibit utilities (not in style.css) ---- */

.surface-section {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.exhibit-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.tag {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  border: 1px solid var(--border-light);
  border-radius: 100px;
  padding: 0.25rem 0.75rem;
}

/* ---- Lab layout ---- */

.lab-header {
  display: flex;
  align-items: flex-start;
  gap: 2rem;
  margin-bottom: 3rem;
}

.lab-num {
  font-family: var(--font-serif);
  font-size: 4.5rem;
  font-weight: 900;
  line-height: 0.9;
  color: var(--border-light);
  flex-shrink: 0;
  user-select: none;
  margin-top: 0.1rem;
}

.lab-header-text h2 {
  margin-bottom: 0.5rem;
}

.lab-stage {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
}

.lab-stage--narrow {
  max-width: 680px;
  margin: 0 auto;
}

/* ---- Shared reveal styles ---- */

.lab-reveal {
  padding: 4rem 2rem;
}

.reveal-inner {
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
}

.reveal-stat-compare {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 2rem;
}

.reveal-stat-block {
  text-align: center;
}

.reveal-big-num {
  font-family: var(--font-serif);
  font-size: 3.5rem;
  font-weight: 900;
  line-height: 1;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}

.reveal-big-num.accent {
  color: var(--accent);
}

.reveal-stat-label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.reveal-vs {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-dim);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.reveal-headline {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  margin-bottom: 0.75rem;
  color: var(--text);
}

.reveal-body {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.75;
  margin-bottom: 1rem;
}

.reveal-research {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-dim);
  letter-spacing: 0.03em;
  line-height: 1.6;
  border-top: 1px solid var(--border);
  padding-top: 1rem;
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
}

.reveal-research strong {
  color: var(--accent);
}

.btn-lab-replay {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
  background: none;
  border: 1px solid var(--border-light);
  border-radius: 100px;
  padding: 0.5rem 1.2rem;
  cursor: pointer;
  transition: color var(--t-fast), border-color var(--t-fast);
}

.btn-lab-replay:hover {
  color: var(--text);
  border-color: var(--text-dim);
}

/* ============================================
   EXPERIMENT 01 — COOKIE MAZE
   ============================================ */

.cookie-browser {
  border-radius: 10px;
  overflow: hidden;
  margin: 1.5rem;
  border: 1px solid rgba(255,255,255,0.06);
}

.cookie-browser-bar {
  background: #2a2a32;
  padding: 0.55rem 1rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.cookie-browser-dots {
  display: flex;
  gap: 5px;
  flex-shrink: 0;
}

.cookie-browser-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #4a4a56;
}

.cookie-browser-url {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: rgba(255,255,255,0.3);
  flex: 1;
  text-align: center;
}

.cookie-browser-body {
  position: relative;
  height: 400px;
  overflow: hidden;
}

/* Fake page behind */
.cookie-bg-page {
  position: absolute;
  inset: 0;
  background: #f2f1ee;
  padding: 1.25rem 1.5rem;
  overflow: hidden;
}

.cookie-bg-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid #ddd;
}

.cookie-bg-logo {
  width: 90px;
  height: 14px;
  background: #c0bdb7;
  border-radius: 3px;
}

.cookie-bg-nav {
  display: flex;
  gap: 14px;
}

.cookie-bg-nav span {
  width: 36px;
  height: 8px;
  background: #c0bdb7;
  border-radius: 2px;
}

.cookie-bg-content {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cookie-bg-hed {
  height: 22px;
  background: #a8a5a0;
  border-radius: 3px;
  width: 65%;
}

.cookie-bg-dek {
  height: 12px;
  background: #c8c5c0;
  border-radius: 2px;
  width: 45%;
}

.cookie-bg-body {
  height: 9px;
  background: #d8d5d0;
  border-radius: 2px;
}

.cookie-bg-body.short {
  width: 70%;
}

.cookie-bg-img {
  height: 90px;
  background: #c5c3be;
  border-radius: 4px;
  margin: 6px 0;
}

/* Dark overlay */
.cookie-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10,10,15,0.55);
  backdrop-filter: blur(2px);
}

/* Cookie dialog panels — light theme */
.cookie-panel {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: #fafaf8;
  color: #1a1a2e;
  border-top: 1px solid #e0ddd6;
  padding: 1.25rem 1.5rem 1rem;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  z-index: 10;
}

.cookie-panel--tall {
  max-height: 320px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.cookie-panel-title {
  font-size: 0.85rem;
  font-weight: 600;
  color: #111;
  margin-bottom: 0.6rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.cookie-emoji {
  font-size: 1rem;
}

.cookie-panel-body {
  color: #444;
  line-height: 1.5;
  margin-bottom: 1rem;
  font-size: 0.75rem;
}

.cookie-btn-row {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 0.6rem;
  flex-wrap: wrap;
}

.cookie-btn-accept {
  background: #1d72e8;
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 0.55rem 1.1rem;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s;
}

.cookie-btn-accept:hover {
  background: #1558c0;
}

.cookie-btn-secondary {
  background: none;
  color: #666;
  border: 1px solid #ccc;
  border-radius: 6px;
  padding: 0.5rem 0.9rem;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  cursor: pointer;
  white-space: nowrap;
  transition: border-color 0.15s, color 0.15s;
}

.cookie-btn-secondary:hover {
  border-color: #999;
  color: #333;
}

.cookie-footer-links {
  font-size: 0.68rem;
  color: #999;
}

.cookie-footer-links a {
  color: #888;
  text-decoration: underline;
  cursor: pointer;
}

.cookie-panel-nav {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: #111;
  flex-shrink: 0;
}

.cookie-back {
  background: none;
  border: none;
  color: #1d72e8;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  cursor: pointer;
  padding: 0;
  white-space: nowrap;
}

.cookie-toggles {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 0.75rem;
  flex: 1;
  overflow: auto;
}

.cookie-toggle-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0;
  border-bottom: 1px solid #eee;
  gap: 1rem;
}

.cookie-toggle-info {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.cookie-toggle-info strong {
  font-size: 0.72rem;
  color: #222;
}

.cookie-toggle-info span {
  font-size: 0.65rem;
  color: #888;
}

.cookie-always-on {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: #10b981;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  white-space: nowrap;
  flex-shrink: 0;
}

.cookie-switch {
  width: 32px;
  height: 18px;
  border-radius: 9px;
  background: #ddd;
  position: relative;
  flex-shrink: 0;
  cursor: pointer;
  transition: background 0.2s;
}

.cookie-switch::after {
  content: '';
  position: absolute;
  left: 3px;
  top: 3px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #fff;
  transition: transform 0.2s;
}

.cookie-switch.is-on {
  background: #10b981;
}

.cookie-switch.is-on::after {
  transform: translateX(14px);
}

.cookie-switch.sm {
  width: 26px;
  height: 14px;
  border-radius: 7px;
}

.cookie-switch.sm::after {
  width: 10px;
  height: 10px;
  left: 2px;
  top: 2px;
}

.cookie-switch.is-on.sm::after {
  transform: translateX(12px);
}

.cookie-btn-save {
  width: 100%;
  background: #1d72e8;
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 0.55rem;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  margin-bottom: 0.5rem;
  flex-shrink: 0;
  transition: background 0.15s;
}

.cookie-btn-save:hover {
  background: #1558c0;
}

.cookie-btn-save.sm {
  font-size: 0.7rem;
  padding: 0.45rem;
}

.cookie-vendor-link-row {
  text-align: center;
}

.cookie-link {
  font-size: 0.68rem;
  color: #1d72e8;
  text-decoration: underline;
  cursor: pointer;
}

.cookie-tabs {
  display: flex;
  gap: 0;
  border-bottom: 1px solid #e0ddd6;
  margin-bottom: 0.5rem;
  flex-shrink: 0;
}

.cookie-tab {
  font-size: 0.7rem;
  padding: 0.35rem 0.75rem;
  color: #888;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: color 0.15s;
}

.cookie-tab.is-active {
  color: #1d72e8;
  border-bottom-color: #1d72e8;
}

.cookie-vendor-list {
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 0.6rem;
}

.cookie-vendor-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.4rem 0;
  border-bottom: 1px solid #f0ede8;
  font-size: 0.7rem;
  color: #333;
}

.cookie-obj-btn {
  background: none;
  border: 1px solid #ccc;
  border-radius: 4px;
  padding: 0.15rem 0.5rem;
  font-family: var(--font-sans);
  font-size: 0.62rem;
  color: #666;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  transition: border-color 0.15s;
}

.cookie-obj-btn:hover {
  border-color: #999;
  color: #333;
}

.cookie-legit-note {
  font-size: 0.7rem;
  color: #666;
  line-height: 1.5;
  margin-bottom: 0.6rem;
  flex-shrink: 0;
}

.cookie-object-all {
  display: block;
  text-align: center;
  font-size: 0.65rem;
  color: #999;
  text-decoration: underline;
  cursor: pointer;
  margin-top: 0.35rem;
  transition: color 0.15s;
}

.cookie-object-all:hover {
  color: #444;
}

/* ============================================
   EXPERIMENT 02 — FRAMING MACHINE
   ============================================ */

.frame-intro-text {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.75;
  margin-bottom: 1rem;
}

#frame-intro {
  padding: 3rem 2rem;
  text-align: center;
}

.frame-meta-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem 0;
}

.frame-scenario-label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.frame-ab-pill {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--accent-dim);
  color: var(--accent);
  border: 1px solid rgba(212,168,67,0.2);
  border-radius: 100px;
  padding: 0.2rem 0.6rem;
  transition: background var(--t-mid), color var(--t-mid);
}

.frame-ab-pill.is-b {
  background: var(--blue-dim);
  color: var(--blue);
  border-color: rgba(74,144,226,0.2);
}

/* 3D card flip */
.frame-scene {
  perspective: 1200px;
  padding: 1.5rem 2rem 2rem;
}

.frame-card {
  position: relative;
  min-height: 300px;
  transform-style: preserve-3d;
  transition: transform 0.7s var(--ease-out);
}

.frame-card.is-flipped {
  transform: rotateY(180deg);
}

.frame-face {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  min-height: 300px;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 2rem;
}

.frame-back {
  transform: rotateY(180deg);
  border-color: var(--blue);
  background: rgba(74,144,226,0.04);
}

.frame-context {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 0.75rem;
}

.frame-framing {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  line-height: 1.5;
  color: var(--text);
  margin-bottom: 1.75rem;
}

.frame-framing strong {
  color: var(--accent);
}

.frame-back .frame-framing strong {
  color: var(--blue);
}

.frame-option {
  display: block;
  width: 100%;
  text-align: left;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.85rem 1.1rem;
  color: var(--text-muted);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  cursor: pointer;
  margin-bottom: 0.6rem;
  transition: border-color var(--t-fast), background var(--t-fast), color var(--t-fast);
}

.frame-option:last-child {
  margin-bottom: 0;
}

.frame-option:hover {
  border-color: var(--accent);
  background: var(--card-hover);
  color: var(--text);
}

.frame-option.is-selected {
  border-color: var(--accent);
  background: var(--accent-dim);
  color: var(--text);
}

.frame-back .frame-option:hover,
.frame-back .frame-option.is-selected {
  border-color: var(--blue);
  background: var(--blue-dim);
}

/* Reveal */
#frame-reveal {
  padding: 3rem 2rem;
}

.frame-reveal-inner {
  max-width: 500px;
  margin: 0 auto;
  text-align: center;
}

.frame-choices-row {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.frame-choice-tag {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.06em;
  padding: 0.35rem 0.8rem;
  border-radius: 100px;
  border: 1px solid var(--border-light);
  color: var(--text-dim);
}

.frame-choice-tag.changed {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-dim);
}

.frame-reveal-body {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.75;
  margin-bottom: 1.25rem;
}

.frame-data-row {
  display: flex;
  gap: 2rem;
  justify-content: center;
  margin-bottom: 2rem;
}

.frame-data-item {
  text-align: center;
}

.frame-data-pct {
  font-family: var(--font-serif);
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 0.2rem;
}

.frame-data-pct.a { color: var(--accent); }
.frame-data-pct.b { color: var(--blue); }

.frame-data-desc {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dim);
  max-width: 110px;
}

/* Final */
#frame-final {
  padding: 3rem 2rem;
}

.frame-final-inner {
  max-width: 520px;
  margin: 0 auto;
  text-align: center;
}

.frame-final-inner h3 {
  font-size: 1.6rem;
  margin-bottom: 1rem;
}

.frame-final-inner p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.75;
  margin-bottom: 0.85rem;
}

/* ============================================
   EXPERIMENT 03 — FRICTION SLIDER
   ============================================ */

.friction-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  padding: 2.5rem;
  align-items: start;
}

.friction-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  width: 244px;
}

.friction-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  transition: background 0.3s ease, transform 0.3s ease;
  flex-shrink: 0;
}

.friction-dot.is-active {
  background: var(--success);
  box-shadow: 0 0 4px rgba(74, 226, 138, 0.4);
}

.friction-readout {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.friction-pct {
  font-family: var(--font-serif);
  font-size: 3.5rem;
  font-weight: 900;
  color: var(--success);
  line-height: 1;
  transition: color 0.4s ease;
  min-width: 4rem;
  display: inline-block;
}

.friction-pct.is-low {
  color: #e24a4a;
}

.friction-pct-unit {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.friction-controls {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding-top: 1rem;
}

.friction-range-labels {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-dim);
}

/* Custom range input */
.friction-range {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 4px;
  background: var(--border-light);
  border-radius: 2px;
  outline: none;
  cursor: pointer;
}

.friction-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--accent);
  cursor: pointer;
  border: 3px solid var(--card);
  box-shadow: 0 0 0 1px var(--accent);
  transition: background var(--t-fast), transform var(--t-fast);
}

.friction-range::-webkit-slider-thumb:hover {
  transform: scale(1.15);
}

.friction-range::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--accent);
  cursor: pointer;
  border: 3px solid var(--card);
}

.friction-stops {
  display: flex;
  justify-content: space-between;
}

.friction-stop {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  flex: 1;
}

.stop-name {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  text-align: center;
  color: var(--text-dim);
  letter-spacing: 0.04em;
  line-height: 1.3;
  transition: color var(--t-fast);
}

.stop-pct {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  color: var(--text-dim);
  transition: color var(--t-fast);
}

.friction-stop.is-active .stop-name,
.friction-stop.is-active .stop-pct {
  color: var(--accent);
}

.friction-caption {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--text-dim);
  line-height: 1.6;
  letter-spacing: 0.03em;
}

.friction-caption strong {
  color: var(--text-muted);
}

/* ============================================
   EXPERIMENT 04 — DEFAULT SPOTTER
   ============================================ */

.spotter-intro {
  padding: 3rem 2rem;
  text-align: center;
  max-width: 520px;
  margin: 0 auto;
}

.spotter-intro p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.75;
  margin-bottom: 1rem;
}

/* Countdown */
.countdown-wrap {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.5rem 0.5rem;
}

.countdown-track {
  flex: 1;
  height: 4px;
  background: var(--border);
  border-radius: 2px;
  overflow: hidden;
}

.countdown-bar {
  height: 100%;
  width: 100%;
  background: var(--success);
  border-radius: 2px;
  transition: background 0.5s;
}

.countdown-bar.is-urgent {
  background: #e24a4a;
}

.countdown-num {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  min-width: 1.5rem;
  text-align: right;
  transition: color 0.3s;
}

.countdown-num.is-urgent {
  color: #e24a4a;
}

.countdown-unit {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--text-dim);
}

/* Spotter UI — fake settings page */
.spotter-ui {
  margin: 0.5rem 1.5rem 1.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
}

.spotter-ui-titlebar {
  padding: 0.75rem 1.25rem;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.spotter-group {
  padding: 0.75rem 1.25rem;
  border-bottom: 1px solid var(--border);
}

.spotter-group:last-child {
  border-bottom: none;
}

.spotter-group-label {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.6rem;
}

/* Default targets — clickable */
.spotter-target {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 0.75rem;
  border-radius: 6px;
  cursor: pointer;
  margin-bottom: 0.25rem;
  border: 1px solid transparent;
  transition: background var(--t-fast), border-color var(--t-fast);
}

.spotter-target--row {
  justify-content: space-between;
}

.spotter-target--col {
  flex-direction: column;
  align-items: flex-start;
}

.spotter-target:hover {
  background: var(--card-hover);
  border-color: var(--border-light);
}

.spotter-target.is-found {
  background: var(--accent-dim);
  border-color: rgba(212,168,67,0.3);
}

.spotter-target.is-missed {
  background: rgba(226,74,74,0.08);
  border-color: rgba(226,74,74,0.25);
}

.spotter-non-target {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 0.75rem;
  margin-bottom: 0.25rem;
  opacity: 0.6;
}

/* Form controls */
.s-check {
  width: 14px;
  height: 14px;
  border: 1.5px solid var(--border-light);
  border-radius: 3px;
  flex-shrink: 0;
  position: relative;
  background: var(--card);
}

.s-check.is-checked {
  background: var(--accent);
  border-color: var(--accent);
}

.s-check.is-checked::after {
  content: '';
  position: absolute;
  left: 2px;
  top: 5px;
  width: 4px;
  height: 2px;
  border-left: 2px solid #0c0c0e;
  border-bottom: 2px solid #0c0c0e;
  transform: rotate(-45deg) translateY(-3px);
}

.s-label {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.s-select-val {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--accent);
  background: var(--accent-dim);
  border: 1px solid rgba(212,168,67,0.2);
  border-radius: 4px;
  padding: 0.2rem 0.5rem;
  white-space: nowrap;
}

.s-toggle-val {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  color: var(--text-dim);
  border: 1px solid var(--border-light);
  border-radius: 3px;
  padding: 0.15rem 0.5rem;
}

.s-toggle-val.is-on {
  color: var(--success);
  border-color: rgba(74,226,138,0.3);
  background: rgba(74,226,138,0.06);
}

.s-radio-group {
  display: flex;
  gap: 1rem;
  margin-top: 0.35rem;
  flex-wrap: wrap;
}

.s-radio {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--text-dim);
  border: 1px solid var(--border-light);
  border-radius: 100px;
  padding: 0.15rem 0.6rem;
}

.s-radio.is-selected {
  color: var(--accent);
  background: var(--accent-dim);
  border-color: rgba(212,168,67,0.3);
}

/* Reveal */
.spotter-missed {
  margin: 1.25rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  text-align: left;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}

.spotter-missed-item {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: #e24a4a;
  padding: 0.35rem 0.75rem;
  background: rgba(226,74,74,0.07);
  border: 1px solid rgba(226,74,74,0.2);
  border-radius: 5px;
  letter-spacing: 0.03em;
}

/* ============================================
   NEXT EXHIBIT + FOOTER SHARED
   ============================================ */

.next-exhibit-section {
  padding: 6rem 0;
  background: var(--bg);
  border-top: 1px solid var(--border);
}

.next-exhibit-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
}

.next-exhibit-text h2 {
  margin-bottom: 1rem;
}

.next-exhibit-text p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
  max-width: 520px;
  margin-bottom: 2rem;
}

.next-exhibit-num {
  font-family: var(--font-serif);
  font-size: clamp(6rem, 12vw, 11rem);
  font-weight: 900;
  color: var(--border);
  line-height: 1;
  flex-shrink: 0;
  user-select: none;
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 1024px) {
  .friction-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .friction-grid {
    width: 100%;
    max-width: 244px;
  }
  .next-exhibit-num { display: none; }
}

@media (max-width: 768px) {
  .lab-header {
    flex-direction: column;
    gap: 0.5rem;
  }
  .lab-num {
    font-size: 3rem;
  }
  .reveal-stat-compare {
    flex-direction: column;
    gap: 1rem;
  }
  .frame-data-row {
    flex-direction: column;
    gap: 1rem;
  }
  .next-exhibit-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}
