/* ═══════════════════════════════════════════════
   MAGDALENA — Mysterious VHS
   ═══════════════════════════════════════════════ */

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --bg: #08080c;
  --bg-elevated: #0e0e14;
  --bg-card: #12121a;
  --bg-hover: #1a1a24;
  --surface: #16161f;
  --border: rgba(255,255,255,0.06);
  --border-hover: rgba(255,255,255,0.12);
  --text: #e8e6f0;
  --text-secondary: rgba(255,255,255,0.45);
  --text-tertiary: rgba(255,255,255,0.25);
  --accent: #c8a2ff;
  --accent-dim: rgba(200,162,255,0.15);
  --accent-glow: rgba(200,162,255,0.3);
  --red: #ff4057;
  --green: #2dd4a8;
  --warm: #f5c27a;
  --vhs-blue: #4af;
  --vhs-red: #f44;
  --font-sans: 'Inter', -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
  --font-serif: 'Playfair Display', Georgia, serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

html {
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: var(--accent-dim) transparent;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--accent); color: #000; }
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--accent-dim); border-radius: 3px; }

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* ═══ CURSOR GLOW ═══ */
.cursor-glow {
  position: fixed;
  width: 600px; height: 600px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  background: radial-gradient(circle, rgba(200,162,255,0.04) 0%, transparent 70%);
  transform: translate(-50%, -50%);
  transition: opacity 0.3s;
  opacity: 0;
}
body:hover .cursor-glow { opacity: 1; }

/* ═══ NOISE ═══ */
.noise-overlay {
  position: fixed; inset: 0;
  pointer-events: none; z-index: 9998;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 180px;
  animation: noiseShift 0.15s steps(3) infinite;
}

@keyframes noiseShift {
  0% { transform: translate(0, 0); }
  33% { transform: translate(-2px, 1px); }
  66% { transform: translate(1px, -1px); }
  100% { transform: translate(0, 0); }
}

/* ═══ VHS SCANLINES ═══ */
.vhs-scanlines {
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 9997;
  background: repeating-linear-gradient(
    0deg,
    transparent 0px,
    transparent 2px,
    rgba(0, 0, 0, 0.12) 2px,
    rgba(0, 0, 0, 0.12) 4px
  );
  animation: scanlineFlicker 0.06s steps(2) infinite;
}

@keyframes scanlineFlicker {
  0% { opacity: 0.6; }
  50% { opacity: 0.55; }
  100% { opacity: 0.6; }
}

/* ═══ VHS TRACKING LINE ═══ */
.vhs-tracking {
  position: fixed;
  left: 0; right: 0;
  height: 3px;
  background: rgba(255, 255, 255, 0.08);
  z-index: 9996;
  pointer-events: none;
  opacity: 0;
  box-shadow: 0 0 20px 4px rgba(255, 255, 255, 0.06);
  transition: opacity 0.1s;
}
.vhs-tracking.active {
  opacity: 1;
  animation: trackingMove 4s linear;
}

@keyframes trackingMove {
  0% { top: -4px; }
  100% { top: 100vh; }
}

/* ═══ VHS TIMESTAMP ═══ */
.vhs-timestamp {
  position: fixed;
  bottom: 20px; right: 24px;
  z-index: 9995;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 2px;
  color: rgba(255, 255, 255, 0.35);
  display: flex; gap: 16px;
  align-items: center;
  pointer-events: none;
  text-shadow: 1px 1px 0 rgba(255, 0, 0, 0.3), -1px 0 0 rgba(0, 150, 255, 0.3);
}
.vhs-rec {
  color: var(--red);
  animation: recBlink 1.2s steps(1) infinite;
}

@keyframes recBlink {
  0%, 60% { opacity: 1; }
  61%, 100% { opacity: 0; }
}

.vhs-cam {
  color: rgba(255, 255, 255, 0.2);
}

/* ═══ CRT VIGNETTE ═══ */
.crt-vignette {
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 9994;
  background: radial-gradient(
    ellipse at center,
    transparent 50%,
    rgba(0, 0, 0, 0.35) 100%
  );
}

/* ═══ PRELOADER ═══ */
.preloader {
  position: fixed; inset: 0; z-index: 100000;
  background: #05050a;
  display: flex; align-items: center; justify-content: center;
  transition: opacity 0.8s var(--ease), visibility 0.8s;
}
.preloader.done {
  opacity: 0; visibility: hidden;
  pointer-events: none;
}
.preloader-inner {
  width: 420px; max-width: 90vw;
}
.preloader-log {
  font-family: var(--font-mono);
  font-size: 12px; line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 24px;
  max-height: 200px;
  overflow: hidden;
}
.preloader-log .pl-line {
  opacity: 0;
  animation: plFade 0.3s forwards;
  text-shadow: 0 0 8px rgba(200,162,255,0.15);
}
.preloader-log .pl-line.accent { color: var(--accent); }
.preloader-log .pl-line.green { color: var(--green); }
.preloader-log .pl-line.warn { color: var(--warm); }

@keyframes plFade { to { opacity: 1; } }

.preloader-bar {
  width: 100%; height: 2px;
  background: var(--border);
  border-radius: 1px;
  overflow: hidden;
}
.preloader-fill {
  width: 0%; height: 100%;
  background: var(--accent);
  transition: width 0.15s linear;
  box-shadow: 0 0 12px var(--accent-glow);
}
.preloader-pct {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-tertiary);
  margin-top: 8px;
  text-align: right;
}

/* ═══ NAV ═══ */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0 40px;
  height: 64px;
  display: flex; align-items: center;
  background: rgba(8,8,12,0.6);
  backdrop-filter: blur(20px) saturate(1.3);
  -webkit-backdrop-filter: blur(20px) saturate(1.3);
  border-bottom: 1px solid var(--border);
  transition: background 0.4s, box-shadow 0.4s;
}
.nav.scrolled {
  background: rgba(8,8,12,0.9);
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
}
.nav-inner {
  max-width: 1400px; width: 100%; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-brand {
  font-family: var(--font-serif);
  font-size: 20px; font-weight: 700;
  letter-spacing: 4px;
  color: var(--text);
  transition: color 0.3s;
}
.nav-brand:hover { color: var(--accent); }

.nav-links { display: flex; gap: 28px; }
.nav-link {
  font-size: 13px; font-weight: 400;
  letter-spacing: 1px;
  color: var(--text-secondary);
  position: relative;
  padding: 4px 0;
  transition: color 0.3s;
}
.nav-link::after {
  content: '';
  position: absolute; bottom: -2px; left: 0;
  width: 0; height: 1px;
  background: var(--accent);
  transition: width 0.4s var(--ease);
}
.nav-link:hover, .nav-link.active { color: var(--text); }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }

.nav-x {
  color: var(--text-secondary);
  transition: color 0.3s;
  display: flex; align-items: center;
}
.nav-x:hover { color: var(--accent); }

/* ═══ HERO ═══ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex; flex-direction: column;
  justify-content: center; align-items: center;
  overflow: hidden;
}

.hero-particles {
  position: absolute; inset: 0;
  z-index: 1;
}

.hero-fog {
  position: absolute; inset: 0; z-index: 2;
  background:
    radial-gradient(ellipse at 30% 50%, rgba(200,162,255,0.06) 0%, transparent 60%),
    radial-gradient(ellipse at 70% 40%, rgba(100,80,180,0.04) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 100%, rgba(8,8,12,1) 0%, transparent 30%),
    linear-gradient(180deg, rgba(8,8,12,0.3) 0%, transparent 30%, transparent 70%, rgba(8,8,12,1) 100%);
  pointer-events: none;
}

.hero-gallery {
  position: absolute; inset: 0; z-index: 0;
}
.hero-bg-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  filter: brightness(0.3) saturate(0.4) contrast(1.1);
  transition: opacity 2s ease, transform 10s linear;
  transform: scale(1.05);
}
.hero-bg-img.active {
  opacity: 1;
  transform: scale(1.12);
}

.hero-content {
  position: relative; z-index: 5;
  text-align: center;
  padding: 0 24px;
  max-width: 960px;
}

.hero-eyebrow {
  display: flex; align-items: center; gap: 16px;
  justify-content: center;
  margin-bottom: 32px;
  opacity: 0;
  animation: fadeUp 1s 0.5s var(--ease) forwards;
}
.eyebrow-text {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent);
  white-space: nowrap;
}
.eyebrow-line {
  flex: 1; max-width: 80px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-dim));
}
.eyebrow-line:last-child {
  background: linear-gradient(90deg, var(--accent-dim), transparent);
}

/* HERO TITLE — fixed to never wrap */
.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(48px, 10vw, 130px);
  font-weight: 700;
  letter-spacing: clamp(4px, 1vw, 10px);
  line-height: 1;
  margin-bottom: 32px;
  position: relative;
  white-space: nowrap;
}
.title-letter {
  display: inline-block;
  opacity: 0;
  transform: translateY(40px);
  animation: titleReveal 1s var(--ease) forwards;
  background: linear-gradient(180deg, #fff 30%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: none;
  position: relative;
}

/* Chromatic aberration on title */
.hero-title::before,
.hero-title::after {
  content: 'MAGDALENA';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  font-family: var(--font-serif);
  font-size: inherit;
  font-weight: 700;
  letter-spacing: inherit;
  line-height: 1;
  pointer-events: none;
  -webkit-text-fill-color: initial;
  background: none;
  -webkit-background-clip: initial;
}
.hero-title::before {
  color: rgba(255, 0, 60, 0.06);
  transform: translate(-2px, 1px);
  z-index: -1;
}
.hero-title::after {
  color: rgba(0, 120, 255, 0.06);
  transform: translate(2px, -1px);
  z-index: -1;
}

@keyframes titleReveal {
  to { opacity: 1; transform: translateY(0); }
}

.hero-sub {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--text-secondary);
  letter-spacing: 1px;
  line-height: 1.8;
  max-width: 550px;
  margin: 0 auto 40px;
  min-height: 52px;
  opacity: 0;
  animation: fadeUp 1s 1.5s var(--ease) forwards;
}

.hero-cta {
  display: flex; gap: 16px;
  justify-content: center;
  margin-bottom: 60px;
  opacity: 0;
  animation: fadeUp 1s 1.8s var(--ease) forwards;
}

.btn-primary {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 32px;
  background: var(--accent-dim);
  border: 1px solid rgba(200,162,255,0.2);
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 1px;
  border-radius: 2px;
  transition: all 0.4s var(--ease);
  position: relative;
  overflow: hidden;
}
.btn-primary::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(200,162,255,0.1), transparent);
  opacity: 0;
  transition: opacity 0.4s;
}
.btn-primary:hover {
  background: rgba(200,162,255,0.2);
  border-color: rgba(200,162,255,0.4);
  box-shadow: 0 0 30px rgba(200,162,255,0.15);
  transform: translateY(-2px);
}
.btn-primary:hover::before { opacity: 1; }
.btn-arrow {
  transition: transform 0.4s var(--ease);
}
.btn-primary:hover .btn-arrow { transform: translateX(4px); }

.btn-ghost {
  display: inline-flex; align-items: center;
  padding: 14px 32px;
  border: 1px solid var(--border);
  color: var(--text-secondary);
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 1px;
  border-radius: 2px;
  transition: all 0.4s var(--ease);
}
.btn-ghost:hover {
  border-color: var(--border-hover);
  color: var(--text);
  transform: translateY(-2px);
}

/* Hero data strip */
.hero-data-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 16px 32px;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border);
  border-radius: 4px;
  backdrop-filter: blur(10px);
  opacity: 0;
  animation: fadeUp 1s 2.1s var(--ease) forwards;
}
.hds-item {
  display: flex; align-items: center; gap: 8px;
}
.hds-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--green);
}
.hds-dot.live { animation: pulseDot 2s infinite; }
@keyframes pulseDot {
  0%, 100% { box-shadow: 0 0 0 0 rgba(45,212,168,0.4); }
  50% { box-shadow: 0 0 0 4px rgba(45,212,168,0); }
}
.hds-label {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: 1px;
}
.hds-val {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text);
}
.hds-sep {
  width: 1px; height: 16px;
  background: var(--border);
}

/* Scroll indicator */
.hero-scroll-indicator {
  position: absolute;
  bottom: 32px; left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex; flex-direction: column;
  align-items: center; gap: 8px;
  color: var(--text-tertiary);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  opacity: 0;
  animation: fadeUp 1s 2.5s var(--ease) forwards;
}
.scroll-line {
  width: 1px; height: 40px;
  background: linear-gradient(180deg, var(--accent-dim), transparent);
  animation: scrollPulse 2s infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 1; transform: scaleY(1); }
  50% { opacity: 0.3; transform: scaleY(0.6); }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ═══ CONSOLE STRIP ═══ */
.console-strip {
  background: var(--bg-elevated);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 12px 0;
  overflow: hidden;
  position: relative;
}
.console-inner {
  display: flex; gap: 40px;
  animation: scrollConsole 40s linear infinite;
  white-space: nowrap;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-tertiary);
}
.console-inner .ci-item { display: flex; align-items: center; gap: 6px; }
.console-inner .ci-tag { color: var(--text-tertiary); opacity: 0.5; }
.console-inner .ci-msg { color: var(--text-secondary); }
.console-inner .ci-time { color: var(--accent); opacity: 0.6; font-size: 10px; }
.console-inner .ci-success { color: var(--green); }
.console-inner .ci-warn { color: var(--warm); }

@keyframes scrollConsole {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ═══ SECTIONS ═══ */
.section {
  padding: 120px 40px;
  position: relative;
}
.section-dark {
  background: var(--bg-elevated);
}
.container {
  max-width: 1200px;
  margin: 0 auto;
}

/* Section Label */
.section-label {
  display: flex; align-items: center; gap: 16px;
  margin-bottom: 48px;
}
.sl-num {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--accent);
  letter-spacing: 2px;
}
.sl-line {
  width: 40px; height: 1px;
  background: var(--accent-dim);
}
.sl-text {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 3px;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 400;
  line-height: 1.2;
  color: var(--text);
  letter-spacing: 1px;
}
.section-title em {
  color: var(--accent);
  font-style: italic;
}

/* ═══ ABOUT ═══ */
.about-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.about-left .section-title {
  position: sticky;
  top: 120px;
}
.about-right {
  display: flex; flex-direction: column; gap: 24px;
}
.about-card {
  padding: 32px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 4px;
  transition: all 0.5s var(--ease);
  position: relative;
}
.about-card::before {
  content: '';
  position: absolute; top: 0; left: 0;
  width: 2px; height: 0;
  background: var(--accent);
  transition: height 0.6s var(--ease);
}
.about-card:hover {
  border-color: var(--border-hover);
  background: var(--bg-hover);
  transform: translateX(8px);
}
.about-card:hover::before { height: 100%; }

.ac-num {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--accent);
  letter-spacing: 2px;
  margin-bottom: 12px;
}
.about-card h3 {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 400;
  margin-bottom: 12px;
}
.about-card p {
  font-size: 14px;
  line-height: 1.8;
  color: var(--text-secondary);
}

/* ═══ EXHIBITS ═══ */
.exhibits-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.exhibit {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
  transition: all 0.5s var(--ease);
}
.exhibit:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}

.exhibit-img {
  position: relative;
  overflow: hidden;
  height: 260px;
}
.exhibit-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(0.5) brightness(0.7) contrast(1.1);
  transition: all 0.8s var(--ease);
}
.exhibit:hover .exhibit-img img {
  filter: saturate(0.7) brightness(0.8) contrast(1.1);
  transform: scale(1.05);
}

.exhibit-overlay {
  position: absolute; top: 16px; left: 16px; right: 16px;
  display: flex; justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 11px;
  pointer-events: none;
}
.eo-status {
  color: var(--red);
  letter-spacing: 2px;
  animation: recBlink 1.2s steps(1) infinite;
}
.eo-id {
  color: var(--text-secondary);
  letter-spacing: 2px;
}

.exhibit-glitch {
  position: absolute; inset: 0;
  pointer-events: none;
  opacity: 0;
  background: repeating-linear-gradient(
    0deg, transparent, transparent 2px,
    rgba(200,162,255,0.03) 2px, rgba(200,162,255,0.03) 4px
  );
  transition: opacity 0.3s;
}
.exhibit:hover .exhibit-glitch { opacity: 1; }

.exhibit-info {
  padding: 24px;
}
.ei-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--accent);
  letter-spacing: 3px;
  text-transform: uppercase;
}
.exhibit-info h3 {
  font-family: var(--font-serif);
  font-size: 22px; font-weight: 400;
  margin: 8px 0 12px;
}
.exhibit-info p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-secondary);
}

/* ═══ VIDEO TRANSMISSION ═══ */
.video-section {
  background: #050508;
  padding: 80px 40px;
}

.video-wrapper {
  max-width: 900px;
  margin: 0 auto;
}

.video-frame {
  position: relative;
  background: #000;
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
}

.video-scanlines {
  position: absolute; inset: 0;
  pointer-events: none;
  z-index: 3;
  background: repeating-linear-gradient(
    0deg,
    transparent 0px, transparent 1px,
    rgba(0,0,0,0.15) 1px, rgba(0,0,0,0.15) 2px
  );
}

.video-overlay-ui {
  position: absolute;
  top: 0; left: 0; right: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  z-index: 4;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 2px;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(0,0,0,0.6) 0%, transparent 100%);
}
.vo-rec {
  color: var(--red);
  animation: recBlink 1.2s steps(1) infinite;
}
.vo-label {
  color: rgba(255,255,255,0.4);
  font-size: 10px;
}
.vo-timecode {
  color: rgba(255,255,255,0.3);
}

.video-frame video {
  width: 100%;
  display: block;
  position: relative;
  z-index: 2;
}

.video-bottom-bar {
  display: flex;
  justify-content: space-between;
  padding: 10px 16px;
  border-top: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-tertiary);
  letter-spacing: 1px;
  background: rgba(0,0,0,0.5);
}

/* ═══ TOKEN ═══ */
.token-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-bottom: 64px;
}
.th-left .section-title { margin-bottom: 20px; }
.th-desc {
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 32px;
}
.th-ca {
  margin-bottom: 24px;
}
.th-ca-label {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-tertiary);
  letter-spacing: 2px;
  text-transform: uppercase;
  display: block;
  margin-bottom: 8px;
}
.th-ca-row {
  display: flex; gap: 8px; align-items: center;
}
.th-ca-row code {
  flex: 1;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--accent);
  padding: 12px 16px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 2px;
  word-break: break-all;
}
.copy-btn {
  font-family: var(--font-mono);
  font-size: 12px;
  padding: 12px 20px;
  background: var(--accent-dim);
  border: 1px solid rgba(200,162,255,0.2);
  color: var(--accent);
  cursor: pointer;
  border-radius: 2px;
  letter-spacing: 1px;
  transition: all 0.3s;
  white-space: nowrap;
}
.copy-btn:hover {
  background: rgba(200,162,255,0.25);
  box-shadow: 0 0 20px rgba(200,162,255,0.1);
}

.th-links {
  display: flex; gap: 16px;
}
.th-link {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-secondary);
  letter-spacing: 1px;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  transition: all 0.3s;
}
.th-link:hover {
  color: var(--accent);
  border-color: var(--accent);
}

/* Live Dashboard */
.live-dashboard {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
}
.ld-header {
  display: flex; align-items: center; gap: 10px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-secondary);
}
.ld-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--green);
}
.ld-source {
  margin-left: auto;
  font-size: 10px;
  color: var(--text-tertiary);
}

.ld-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--border);
}
.ld-cell {
  display: flex; flex-direction: column; gap: 6px;
  padding: 20px;
  background: var(--bg-card);
}
.ldc-label {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-tertiary);
  letter-spacing: 1px;
  text-transform: uppercase;
}
.ldc-val {
  font-family: var(--font-mono);
  font-size: 16px;
  color: var(--text);
  letter-spacing: 0.5px;
}

.ld-footer {
  display: flex; justify-content: space-between;
  padding: 12px 20px;
  border-top: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-tertiary);
}

/* Feature Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.feature-card {
  padding: 32px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 4px;
  transition: all 0.5s var(--ease);
}
.feature-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.3);
}
.fc-icon {
  color: var(--accent);
  margin-bottom: 20px;
  opacity: 0.7;
}
.feature-card h3 {
  font-family: var(--font-serif);
  font-size: 18px; font-weight: 400;
  margin-bottom: 12px;
}
.feature-card p {
  font-size: 13px;
  line-height: 1.7;
  color: var(--text-secondary);
}

/* ═══ ARCHIVES ═══ */
.archives-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 24px;
}

.archive-terminal {
  background: #0a0a0f;
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
}
.at-header {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 16px;
  background: rgba(255,255,255,0.02);
  border-bottom: 1px solid var(--border);
}
.at-dots { display: flex; gap: 6px; }
.at-dots span {
  width: 10px; height: 10px;
  border-radius: 50%;
}
.at-dots span:nth-child(1) { background: #ff5f57; }
.at-dots span:nth-child(2) { background: #ffbd2e; }
.at-dots span:nth-child(3) { background: #28c940; }
.at-title {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-tertiary);
}

.at-body {
  padding: 20px;
  max-height: 550px;
  overflow-y: auto;
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.7;
}
.at-body::-webkit-scrollbar { width: 4px; }
.at-body::-webkit-scrollbar-thumb { background: var(--accent-dim); }

.at-line {
  color: var(--text-secondary);
  opacity: 0;
  transform: translateY(4px);
  transition: all 0.3s;
}
.at-line.visible {
  opacity: 1;
  transform: translateY(0);
}
.at-line .at-prompt { color: var(--green); }
.at-line .at-accent { color: var(--accent); }
.at-line .at-dim { color: var(--text-tertiary); }
.at-line .at-warm { color: var(--warm); }
.at-line .at-red { color: var(--red); }

.archive-media {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.am-card {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: var(--bg-card);
  transition: all 0.5s var(--ease);
}
.am-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 36px rgba(0,0,0,0.3);
}
.am-card img {
  width: 100%; height: 150px;
  object-fit: cover;
  filter: saturate(0.4) brightness(0.6) contrast(1.1);
  transition: all 0.6s var(--ease);
}
.am-card:hover img {
  filter: saturate(0.7) brightness(0.75) contrast(1.1);
}
.am-label {
  display: flex; justify-content: space-between;
  padding: 10px 12px;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-tertiary);
  letter-spacing: 1px;
  border-top: 1px solid var(--border);
}

/* ═══ BREATHE SECTION ═══ */
.breathe-section {
  background: linear-gradient(180deg, var(--bg) 0%, #0a0812 50%, var(--bg) 100%);
  overflow: hidden;
}

.breathe-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.breathe-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}

.breathe-ring {
  position: relative;
  width: 280px; height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.breathe-circle {
  width: 160px; height: 160px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200,162,255,0.12) 0%, rgba(200,162,255,0.03) 70%, transparent 100%);
  border: 1px solid rgba(200,162,255,0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  transition: transform 3s ease-in-out, box-shadow 3s ease-in-out, border-color 0.5s;
  z-index: 2;
}

.breathe-circle.inhale {
  transform: scale(1.4);
  box-shadow: 0 0 60px rgba(200,162,255,0.2), 0 0 120px rgba(200,162,255,0.08);
  border-color: rgba(200,162,255,0.4);
}
.breathe-circle.hold {
  transform: scale(1.4);
  box-shadow: 0 0 80px rgba(200,162,255,0.25), 0 0 140px rgba(200,162,255,0.1);
  border-color: rgba(245,194,122,0.4);
}
.breathe-circle.exhale {
  transform: scale(1);
  box-shadow: 0 0 20px rgba(200,162,255,0.05);
  border-color: rgba(200,162,255,0.15);
}

.breathe-instruction {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
}

.breathe-counter {
  font-family: var(--font-serif);
  font-size: 36px;
  font-weight: 700;
  color: var(--text);
  line-height: 1;
}

.breathe-pulse-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(200,162,255,0.08);
  animation: pulseRing 4s ease-in-out infinite;
}
.breathe-pulse-ring.r2 {
  animation-delay: 2s;
}

@keyframes pulseRing {
  0% { transform: scale(0.8); opacity: 0.6; }
  50% { transform: scale(1.2); opacity: 0; }
  100% { transform: scale(0.8); opacity: 0; }
}

.breathe-cycle-count {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-tertiary);
  letter-spacing: 2px;
}

.breathe-text {
  max-width: 500px;
}

.breathe-title {
  margin-bottom: 32px;
}

.breathe-sequence {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 28px;
  padding: 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 4px;
}

.bs-phase {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 1px;
  padding: 4px 12px;
  border-radius: 2px;
}
.bs-phase.in {
  color: var(--accent);
  background: var(--accent-dim);
}
.bs-phase.hold {
  color: var(--warm);
  background: rgba(245,194,122,0.12);
}
.bs-phase.out {
  color: var(--green);
  background: rgba(45,212,168,0.12);
}

.bs-num {
  font-family: var(--font-mono);
  font-size: 18px;
  font-weight: 600;
  color: var(--text-secondary);
  width: 28px;
  text-align: center;
}

.breathe-repeat {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 32px;
  letter-spacing: 1px;
}
.breathe-repeat strong {
  color: var(--accent);
  font-weight: 600;
}

.breathe-benefits {
  margin-bottom: 32px;
}
.breathe-intro {
  font-family: var(--font-serif);
  font-size: 20px;
  font-style: italic;
  color: var(--text);
  margin-bottom: 16px;
}
.breathe-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.breathe-list li {
  font-size: 15px;
  color: var(--text-secondary);
  padding-left: 20px;
  position: relative;
  line-height: 1.6;
}
.breathe-list li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--accent);
}

.breathe-note {
  padding: 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-left: 2px solid var(--accent);
  border-radius: 4px;
}
.breathe-note p {
  font-family: var(--font-serif);
  font-size: 16px;
  font-style: italic;
  color: var(--text-secondary);
  margin-bottom: 12px;
}
.breathe-email {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--accent);
  letter-spacing: 1px;
  transition: all 0.3s;
  display: inline-block;
}
.breathe-email:hover {
  color: #fff;
  text-shadow: 0 0 20px rgba(200,162,255,0.4);
}
.breathe-email em {
  font-style: italic;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ═══ CONTACT ═══ */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.contact-desc {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-secondary);
  margin: 24px 0 40px;
}
.contact-desc em {
  color: var(--accent);
  font-style: italic;
}
.contact-links {
  display: flex; flex-direction: column;
  gap: 16px;
}
.contact-link {
  display: flex; align-items: center; gap: 12px;
  padding: 16px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 4px;
  font-size: 14px;
  color: var(--text-secondary);
  transition: all 0.4s var(--ease);
}
.contact-link:hover {
  border-color: var(--border-hover);
  color: var(--text);
  transform: translateX(8px);
  background: var(--bg-hover);
}
.cl-icon {
  color: var(--accent);
  display: flex; align-items: center;
}

.contact-img-wrap {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  border: 1px solid var(--border);
  margin-bottom: 20px;
}
.contact-img-wrap img {
  width: 100%; height: 280px;
  object-fit: cover;
  filter: saturate(0.4) brightness(0.5);
  transition: all 0.8s var(--ease);
}
.contact-img-wrap:hover img {
  filter: saturate(0.6) brightness(0.6);
  transform: scale(1.03);
}
.ciw-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(8,8,12,0.8));
  pointer-events: none;
}

.contact-quote {
  font-family: var(--font-serif);
  font-size: 16px;
  font-style: italic;
  line-height: 1.8;
  color: var(--text-secondary);
  padding: 24px;
  border-left: 2px solid var(--accent-dim);
}
.contact-quote cite {
  display: block;
  font-family: var(--font-mono);
  font-style: normal;
  font-size: 12px;
  color: var(--accent);
  margin-top: 12px;
  letter-spacing: 2px;
}

/* ═══ FOOTER ═══ */
.footer {
  padding: 32px 40px;
  border-top: 1px solid var(--border);
  background: var(--bg);
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-left {
  display: flex; flex-direction: column; gap: 4px;
}
.footer-brand {
  font-family: var(--font-serif);
  font-size: 16px; font-weight: 700;
  letter-spacing: 4px;
}
.footer-sub {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-tertiary);
  letter-spacing: 1px;
}
.footer-center {
  display: flex; gap: 24px;
}
.footer-center a {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-tertiary);
  letter-spacing: 1px;
  transition: color 0.3s;
}
.footer-center a:hover { color: var(--accent); }
.footer-right {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-tertiary);
}

/* ═══ TOAST ═══ */
.toast {
  position: fixed;
  bottom: -60px; left: 50%;
  transform: translateX(-50%);
  padding: 12px 28px;
  background: var(--accent);
  color: #000;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 1px;
  border-radius: 4px;
  z-index: 100000;
  transition: bottom 0.5s var(--ease);
  box-shadow: 0 8px 32px rgba(200,162,255,0.3);
}
.toast.show { bottom: 32px; }

/* ═══ REVEAL ANIMATIONS ═══ */
.reveal-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
  transition-delay: var(--d, 0s);
}
.reveal-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ═══ VHS GLITCH ON PAGE ═══ */
@keyframes vhsGlitch {
  0% { transform: translate(0); filter: none; }
  20% { transform: translate(-3px, 1px); filter: hue-rotate(20deg); }
  40% { transform: translate(2px, -1px); filter: saturate(2); }
  60% { transform: translate(-1px, 2px); filter: hue-rotate(-10deg); }
  80% { transform: translate(1px, -1px); filter: brightness(1.1); }
  100% { transform: translate(0); filter: none; }
}

.vhs-glitch-active {
  animation: vhsGlitch 0.15s steps(3) 1;
}

/* ═══ HAMBURGER BUTTON ═══ */
.nav-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  padding: 8px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1002;
  -webkit-tap-highlight-color: transparent;
}
.nav-burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s var(--ease);
  transform-origin: center;
}
.nav-burger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.nav-burger.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.nav-burger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ═══ RESPONSIVE ═══ */

/* ── TABLET ── */
@media (max-width: 1024px) {
  .about-layout { grid-template-columns: 1fr; gap: 40px; }
  .about-left .section-title { position: static; }
  .exhibits-grid { grid-template-columns: 1fr; }
  .token-hero { grid-template-columns: 1fr; }
  .archives-layout { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
  .breathe-layout { grid-template-columns: 1fr; gap: 60px; }
  .breathe-visual { order: -1; }
  .hero-title { font-size: clamp(42px, 9vw, 110px); }
}

/* ── MOBILE ── */
@media (max-width: 768px) {
  /* Nav */
  .nav { padding: 0 16px; height: 56px; }
  .nav-brand { font-size: 17px; letter-spacing: 3px; }
  .nav-burger { display: flex; }

  .nav-links {
    position: fixed;
    inset: 0;
    background: rgba(8, 8, 12, 0.97);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0;
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s var(--ease), visibility 0.4s;
  }
  .nav-links.open {
    opacity: 1;
    visibility: visible;
  }
  .nav-links .nav-link {
    font-size: 20px;
    letter-spacing: 3px;
    padding: 16px 0;
    color: var(--text-secondary);
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s, transform 0.4s, color 0.3s;
  }
  .nav-links.open .nav-link {
    opacity: 1;
    transform: translateY(0);
  }
  .nav-links.open .nav-link:nth-child(1) { transition-delay: 0.05s; }
  .nav-links.open .nav-link:nth-child(2) { transition-delay: 0.1s; }
  .nav-links.open .nav-link:nth-child(3) { transition-delay: 0.15s; }
  .nav-links.open .nav-link:nth-child(4) { transition-delay: 0.2s; }
  .nav-links.open .nav-link:nth-child(5) { transition-delay: 0.25s; }
  .nav-links.open .nav-link:nth-child(6) { transition-delay: 0.3s; }

  .nav-x { z-index: 1002; }

  /* Hero */
  .hero { min-height: 100svh; }
  .hero-title {
    font-size: clamp(36px, 10vw, 80px);
    letter-spacing: clamp(2px, 0.8vw, 8px);
    margin-bottom: 20px;
  }
  .hero-title::before, .hero-title::after {
    display: none;
  }
  .hero-eyebrow { margin-bottom: 20px; gap: 10px; }
  .eyebrow-text { font-size: 10px; letter-spacing: 2px; }
  .eyebrow-line { max-width: 40px; }
  .hero-sub { font-size: 12px; margin-bottom: 28px; min-height: 40px; }
  .hero-cta {
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-bottom: 32px;
  }
  .btn-primary, .btn-ghost {
    width: 100%;
    max-width: 280px;
    justify-content: center;
    padding: 14px 24px;
  }
  .hero-data-strip {
    flex-wrap: wrap;
    gap: 10px;
    padding: 12px 16px;
    margin: 0 -8px;
  }
  .hds-sep { display: none; }
  .hds-item { gap: 6px; }
  .hds-label { font-size: 10px; }
  .hds-val { font-size: 12px; }
  .hero-scroll-indicator { bottom: 16px; }
  .scroll-line { height: 28px; }

  /* Console strip */
  .console-inner { font-size: 11px; gap: 28px; }

  /* Sections */
  .section { padding: 60px 16px; }
  .section-label { margin-bottom: 32px; gap: 12px; }
  .sl-line { width: 24px; }
  .section-title { font-size: clamp(24px, 6vw, 36px); }

  /* About */
  .about-card { padding: 24px; }
  .about-card h3 { font-size: 19px; }
  .about-card p { font-size: 13px; }

  /* Exhibits */
  .exhibit-img { height: 200px; }
  .exhibit-info { padding: 16px; }
  .exhibit-info h3 { font-size: 19px; }
  .exhibit-info p { font-size: 13px; }

  /* Video */
  .video-section { padding: 40px 16px; }
  .video-overlay-ui { padding: 8px 12px; font-size: 9px; }
  .vo-label { font-size: 8px; display: none; }
  .video-bottom-bar {
    flex-direction: column;
    gap: 4px;
    text-align: center;
    font-size: 9px;
    padding: 8px 12px;
  }

  /* Token */
  .th-desc { font-size: 14px; }
  .th-ca-row {
    flex-direction: column;
    gap: 8px;
  }
  .th-ca-row code {
    font-size: 10px;
    padding: 10px 12px;
    width: 100%;
  }
  .copy-btn {
    width: 100%;
    text-align: center;
    padding: 12px;
  }
  .th-links { gap: 12px; flex-wrap: wrap; }
  .ldc-val { font-size: 14px; }
  .ld-cell { padding: 14px; }
  .ld-header { padding: 12px 14px; font-size: 11px; }
  .ld-source { font-size: 9px; }
  .features-grid { grid-template-columns: 1fr; gap: 12px; }
  .feature-card { padding: 24px 20px; }
  .feature-card h3 { font-size: 16px; }
  .feature-card p { font-size: 12px; }

  /* Archives */
  .archive-media { grid-template-columns: 1fr 1fr; gap: 8px; }
  .am-card img { height: 120px; }
  .am-label { padding: 8px 10px; font-size: 9px; }
  .at-body { font-size: 11px; padding: 14px; max-height: 400px; }
  .at-title { font-size: 11px; }

  /* Breathe */
  .breathe-ring { width: 220px; height: 220px; }
  .breathe-circle { width: 120px; height: 120px; }
  .breathe-counter { font-size: 28px; }
  .breathe-instruction { font-size: 10px; }
  .breathe-title { font-size: clamp(24px, 6vw, 36px); margin-bottom: 24px; }
  .breathe-sequence {
    padding: 14px;
    gap: 6px;
  }
  .bs-phase { font-size: 11px; padding: 3px 8px; }
  .bs-num { font-size: 15px; width: 22px; }
  .breathe-repeat { font-size: 13px; margin-bottom: 24px; }
  .breathe-intro { font-size: 17px; }
  .breathe-list li { font-size: 14px; }
  .breathe-note {
    padding: 18px;
  }
  .breathe-note p { font-size: 14px; }
  .breathe-email { font-size: 12px; }

  /* Contact */
  .contact-desc { font-size: 14px; margin: 16px 0 28px; }
  .contact-link { padding: 14px 16px; font-size: 13px; }
  .contact-img-wrap img { height: 200px; }
  .contact-quote { font-size: 14px; padding: 18px; }
  .contact-quote cite { font-size: 11px; }

  /* Footer */
  .footer { padding: 24px 16px; }
  .footer-inner {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
  .footer-center { gap: 16px; flex-wrap: wrap; justify-content: center; }
  .footer-brand { font-size: 14px; }

  /* VHS overlays */
  .vhs-timestamp {
    bottom: 10px; right: 10px;
    font-size: 9px;
    gap: 8px;
  }
  .vhs-scanlines { opacity: 0.4; }
  .crt-vignette { display: none; }
}

/* ── SMALL MOBILE ── */
@media (max-width: 480px) {
  .hero-title {
    font-size: clamp(30px, 11vw, 48px);
    letter-spacing: 2px;
  }
  .hero-content { padding: 0 12px; }
  .eyebrow-text { font-size: 9px; }
  .eyebrow-line { max-width: 24px; }
  .hero-sub { font-size: 11px; max-width: 300px; }
  .btn-primary, .btn-ghost {
    font-size: 12px;
    padding: 12px 20px;
    max-width: 260px;
  }
  .hero-data-strip {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding: 10px 12px;
  }
  .hds-item { justify-content: center; }

  .section { padding: 48px 12px; }
  .section-title { font-size: clamp(20px, 5.5vw, 30px); }

  .about-card { padding: 18px; }
  .about-card h3 { font-size: 17px; }

  .exhibit-img { height: 180px; }
  .exhibit-overlay { top: 10px; left: 10px; right: 10px; }
  .exhibit-info { padding: 14px; }

  .ld-grid { grid-template-columns: 1fr; }
  .ld-cell { padding: 12px; }
  .ldc-val { font-size: 13px; }

  .archive-media { grid-template-columns: 1fr; }
  .am-card img { height: 160px; }
  .at-body { font-size: 10px; max-height: 320px; }

  .breathe-ring { width: 180px; height: 180px; }
  .breathe-circle { width: 100px; height: 100px; }
  .breathe-counter { font-size: 24px; }
  .breathe-sequence { padding: 10px; }
  .breathe-note { padding: 14px; }

  .contact-link { padding: 12px 14px; font-size: 12px; }
  .contact-img-wrap img { height: 160px; }
  .contact-quote { font-size: 13px; padding: 14px; }

  .nav-links .nav-link { font-size: 18px; padding: 14px 0; }

  .video-section { padding: 32px 12px; }
  .vhs-timestamp { display: none; }
}

/* ── TOUCH DEVICES ── */
@media (hover: none) and (pointer: coarse) {
  .cursor-glow { display: none !important; }
  .about-card:hover { transform: none; }
  .contact-link:hover { transform: none; }
  .exhibit:hover { transform: none; box-shadow: none; }
  .feature-card:hover { transform: none; box-shadow: none; }
  .am-card:hover { transform: none; box-shadow: none; }
  .btn-primary:hover { transform: none; }
  .btn-ghost:hover { transform: none; }

  /* Active states for touch instead of hover */
  .about-card:active { background: var(--bg-hover); }
  .contact-link:active { background: var(--bg-hover); }
  .exhibit:active { border-color: var(--border-hover); }
  .feature-card:active { border-color: var(--border-hover); }
  .btn-primary:active {
    background: rgba(200,162,255,0.2);
    border-color: rgba(200,162,255,0.4);
  }
}

/* ── LANDSCAPE MOBILE ── */
@media (max-height: 500px) and (orientation: landscape) {
  .hero { min-height: auto; padding: 80px 24px 40px; }
  .hero-eyebrow { margin-bottom: 12px; }
  .hero-title { margin-bottom: 12px; }
  .hero-sub { margin-bottom: 20px; min-height: 30px; }
  .hero-cta { margin-bottom: 20px; flex-direction: row; }
  .hero-data-strip { margin-bottom: 0; }
  .hero-scroll-indicator { display: none; }
}
