/* ══════════════════════════════════════════════════════════════════
   CINEMATIC 3D SCROLLYTELLING GRAPHIC DESIGN PORTFOLIO
   Design System: Brutalist-Editorial Luxury / Dark High-Fidelity
   ══════════════════════════════════════════════════════════════════ */

:root {
  --bg-primary: #070709;
  --bg-surface: rgba(18, 18, 22, 0.72);
  --bg-surface-elevated: #16161b;
  --border-subtle: rgba(255, 255, 255, 0.09);
  --border-active: rgba(212, 175, 55, 0.45);
  
  --text-primary: #f7f7f9;
  --text-secondary: #a2a2ad;
  --text-muted: #64646e;
  
  --accent-gold: #d4af37;
  --accent-gold-glow: rgba(212, 175, 55, 0.25);
  --accent-red: #ff3b30;
  --accent-cyan: #70a6ff;
  
  --font-display: 'Syne', sans-serif;
  --font-serif: 'Cinzel', serif;
  --font-body: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'Space Mono', monospace, ui-monospace;
  
  --radius-sm: 4px;
  --radius-md: 10px;
  --radius-lg: 20px;
  
  --ease-cinematic: cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-body);
  scroll-behavior: smooth;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body {
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
  cursor: default;
}

/* ══════════════════════════ PRELOADER ══════════════════════════ */
#preloader {
  position: fixed;
  inset: 0;
  background-color: #050507;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition: opacity 0.6s var(--ease-cinematic), transform 0.6s var(--ease-cinematic);
}

#preloader.fade-out {
  opacity: 0;
  pointer-events: none;
  transform: translateY(-20px);
}

.preloader-inner {
  width: min(400px, 80vw);
  text-align: center;
}

.preloader-brand {
  font-family: var(--font-display);
  font-size: 2rem;
  letter-spacing: 0.4em;
  color: var(--text-primary);
  margin-bottom: 24px;
}

.preloader-bar-wrap {
  height: 2px;
  width: 100%;
  background: rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
}

#preloader-fill {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #d4af37, #ffffff);
  transition: width 0.1s linear;
}

.preloader-meta {
  display: flex;
  justify-content: space-between;
  margin-top: 12px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 0.1em;
}

/* ══════════════════════════ WEBGL CANVAS ══════════════════════════ */
#webgl-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 1;
  pointer-events: none;
}

/* Film grain / micro-noise layer */
.noise-overlay {
  position: fixed;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

/* ══════════════════════════ HUD / NAVIGATION ══════════════════════════ */
.hud-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  padding: 24px 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  background: linear-gradient(180deg, rgba(7, 7, 9, 0.75) 0%, rgba(7, 7, 9, 0) 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
  color: var(--text-primary);
}

.brand-monogram {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  color: var(--text-primary);
}

.brand-monogram span {
  color: var(--accent-gold);
}

.availability-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(212, 175, 55, 0.08);
  border: 1px solid rgba(212, 175, 55, 0.25);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: #e5c365;
  letter-spacing: 0.05em;
}

.pulse-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--accent-gold);
  box-shadow: 0 0 8px var(--accent-gold);
  animation: pulse-ring 2s infinite;
}

@keyframes pulse-ring {
  0% { transform: scale(0.9); opacity: 0.7; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.7; }
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 32px;
}

.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 0.3s ease;
  position: relative;
}

.nav-links a:hover {
  color: var(--accent-gold);
}

.nav-cta {
  padding: 8px 18px;
  border: 1px solid var(--border-subtle);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-primary);
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: all 0.3s var(--ease-cinematic);
}

.nav-cta:hover {
  border-color: var(--accent-gold);
  background: var(--accent-gold);
  color: #070709;
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.3);
}

/* ══════════════════════════ ACT 1: HERO ══════════════════════════ */
#hero-section {
  position: relative;
  width: 100vw;
  height: 100vh;
  z-index: 10;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 0 5vw;
}

.hero-content {
  text-align: center;
  max-width: 1000px;
  pointer-events: none;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent-gold);
  margin-bottom: 24px;
}

.hero-kicker::before,
.hero-kicker::after {
  content: '';
  width: 32px;
  height: 1px;
  background-color: var(--accent-gold);
  opacity: 0.5;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 7.5vw, 6.8rem);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  margin-bottom: 28px;
  background: linear-gradient(180deg, #FFFFFF 20%, #A0A0AA 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-title .title-italic {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  -webkit-text-fill-color: var(--accent-gold);
}

.hero-tagline {
  font-size: clamp(1rem, 1.8vw, 1.35rem);
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 680px;
  margin: 0 auto 36px;
}

.hero-scroll-cue {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  color: var(--text-muted);
  text-transform: uppercase;
}

.scroll-line-anim {
  width: 1px;
  height: 48px;
  background: rgba(255, 255, 255, 0.15);
  position: relative;
  overflow: hidden;
}

.scroll-line-anim::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 50%;
  background: var(--accent-gold);
  animation: scroll-drop 2s infinite ease-in-out;
}

@keyframes scroll-drop {
  0% { transform: translateY(-100%); }
  100% { transform: translateY(200%); }
}

/* ══════════════════════════ ACT 2: DECONSTRUCT (PINNED 3D KINEMATICS) ══════════════════════════ */
#deconstruct-section {
  position: relative;
  width: 100vw;
  height: 100vh;
  z-index: 10;
  pointer-events: none;
}

.deconstruct-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding: 80px 64px;
}

.deconstruct-card {
  max-width: 480px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 32px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  pointer-events: auto;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
  transition: border-color 0.4s ease;
}

.deconstruct-card:hover {
  border-color: var(--border-active);
}

.badge-pulse {
  animation: flash-badge 0.6s ease;
}

@keyframes flash-badge {
  0% { color: #fff; transform: scale(1.05); }
  100% { color: var(--accent-gold); transform: scale(1); }
}

.stage-badge {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  color: var(--accent-gold);
  text-transform: uppercase;
  margin-bottom: 12px;
  display: inline-block;
}

.stage-title {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 14px;
  line-height: 1.2;
}

.stage-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 24px;
}

.progress-track {
  width: 100%;
  height: 3px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  overflow: hidden;
  position: relative;
}

#deconstruct-progress-fill {
  height: 100%;
  width: 0%;
  background: var(--accent-gold);
  transition: width 0.1s linear;
}

.deconstruct-tech-readout {
  text-align: right;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 2;
  letter-spacing: 0.1em;
}

.tech-item span {
  color: var(--accent-gold);
  margin-left: 8px;
}

/* ══════════════════════════ ACT 3: CASE STUDIES (PINNED HORIZONTAL) ══════════════════════════ */
#projects-section {
  position: relative;
  width: 100vw;
  height: 100vh;
  z-index: 10;
  overflow: hidden;
}

.section-editorial-header {
  position: absolute;
  top: 80px;
  left: 64px;
  z-index: 20;
  pointer-events: none;
}

.section-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  color: var(--accent-gold);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.section-heading {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.01em;
}

.projects-horizontal-track {
  display: flex;
  flex-wrap: nowrap;
  width: max-content;
  align-items: center;
  height: 100%;
  padding-left: 64px;
  gap: 40px;
  will-change: transform;
}

.project-card {
  flex: 0 0 520px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 32px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: transform 0.4s var(--ease-cinematic), border-color 0.4s ease, box-shadow 0.4s ease;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.project-card:hover {
  transform: translateY(-8px);
  border-color: var(--border-active);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6), 0 0 30px rgba(212, 175, 55, 0.15);
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.card-num {
  font-weight: 700;
  color: var(--accent-gold);
}

.card-visual-preview {
  position: relative;
  height: 200px;
  background: #0d0d11;
  border-radius: var(--radius-sm);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px;
  margin-bottom: 24px;
}

.visual-badge {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.visual-graphic-art {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.art-circle {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  border: 1.5px dashed;
  opacity: 0.35;
  animation: rotate-slow 20s infinite linear;
}

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

.art-title-overlay {
  position: absolute;
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  opacity: 0.85;
}

.palette-swatches {
  display: flex;
  gap: 8px;
  z-index: 2;
}

.swatch {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.card-body {
  margin-bottom: 20px;
}

.card-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.card-role {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--accent-gold);
  margin-bottom: 12px;
}

.card-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.card-stats {
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  padding: 12px 0;
  margin-bottom: 20px;
}

.stat-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 4px;
}

.stat-value {
  font-size: 0.82rem;
  color: var(--text-primary);
}

.card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  max-width: 60%;
}

.tag {
  font-size: 0.7rem;
  font-family: var(--font-mono);
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.04);
  padding: 3px 8px;
  border-radius: var(--radius-sm);
}

.view-case-btn {
  background: transparent;
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.3s ease;
}

.view-case-btn:hover {
  background: var(--accent-gold);
  color: #070709;
  border-color: var(--accent-gold);
}

.btn-arrow {
  transition: transform 0.2s ease;
}

.view-case-btn:hover .btn-arrow {
  transform: translateX(4px);
}

/* ══════════════════════════ ACT 4: DISCIPLINES & SANDBOX ══════════════════════════ */
#sandbox-section {
  position: relative;
  min-height: 100vh;
  z-index: 10;
  padding: 120px 64px;
}

.sandbox-header {
  max-width: 700px;
  margin-bottom: 64px;
}

.disciplines-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.discipline-card {
  position: relative;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 36px 28px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all 0.4s var(--ease-cinematic);
}

.discipline-card:hover {
  border-color: var(--border-active);
  transform: translateY(-6px);
  background: rgba(26, 26, 32, 0.85);
}

.d-header {
  margin-bottom: 18px;
}

.d-code {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent-gold);
  margin-bottom: 8px;
  display: block;
}

.d-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.3;
}

.d-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.d-corner-accent {
  position: absolute;
  bottom: 16px;
  right: 16px;
  width: 8px;
  height: 8px;
  border-bottom: 2px solid var(--accent-gold);
  border-right: 2px solid var(--accent-gold);
  opacity: 0.4;
}

/* ══════════════════════════ ACT 5: CONTACT / EPILOGUE ══════════════════════════ */
#contact-section {
  position: relative;
  min-height: 90vh;
  z-index: 10;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 80px 24px;
}

.contact-box {
  max-width: 800px;
}

.contact-kicker {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.25em;
  color: var(--accent-gold);
  text-transform: uppercase;
  margin-bottom: 24px;
}

.contact-heading {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6vw, 5.2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.05;
  text-transform: uppercase;
  margin-bottom: 32px;
}

.contact-heading em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--accent-gold);
}

.contact-actions {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.btn-primary {
  padding: 16px 36px;
  background: var(--accent-gold);
  color: #070709;
  border: none;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s var(--ease-cinematic);
  box-shadow: 0 0 25px rgba(212, 175, 55, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 35px rgba(212, 175, 55, 0.5);
  background: #fff;
}

.btn-secondary {
  padding: 16px 36px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  border-color: var(--accent-gold);
  background: rgba(212, 175, 55, 0.1);
}

.contact-footer-meta {
  display: flex;
  justify-content: center;
  gap: 40px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  flex-wrap: wrap;
}

/* ══════════════════════════ MODAL CASE INSPECTOR ══════════════════════════ */
#project-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s var(--ease-cinematic);
}

#project-modal.open {
  opacity: 1;
  pointer-events: auto;
}

.modal-container {
  position: relative;
  width: min(880px, 90vw);
  max-height: 85vh;
  overflow-y: auto;
  background: #111116;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.8);
}

#modal-close {
  position: absolute;
  top: 24px;
  right: 24px;
  background: transparent;
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

#modal-close:hover {
  color: #fff;
  border-color: #fff;
}

.modal-header {
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 24px;
  margin-bottom: 32px;
}

.modal-num {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent-gold);
  display: block;
  margin-bottom: 8px;
}

.modal-title {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.modal-subtitle {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.modal-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;
}

.modal-col-left h4,
.modal-col-right h4 {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  color: var(--accent-gold);
  text-transform: uppercase;
  margin-bottom: 16px;
  margin-top: 24px;
}

.modal-col-left h4:first-child,
.modal-col-right h4:first-child {
  margin-top: 0;
}

.modal-col-left p {
  color: var(--text-secondary);
  line-height: 1.7;
  font-size: 0.95rem;
  margin-bottom: 20px;
}

.modal-role-box {
  background: rgba(255, 255, 255, 0.03);
  border-left: 3px solid var(--accent-gold);
  padding: 12px 16px;
  font-size: 0.85rem;
  color: var(--text-primary);
  margin-bottom: 24px;
}

.deliverables-list {
  list-style: none;
}

.deliverables-list li {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.modal-palette {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 24px;
}

.color-chip {
  height: 60px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: flex-end;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.color-chip span {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  background: rgba(0, 0, 0, 0.6);
  padding: 2px 6px;
  border-radius: 2px;
  color: #fff;
}

.spec-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.8rem;
}

.spec-key {
  font-family: var(--font-mono);
  color: var(--text-muted);
}

.spec-val {
  color: var(--text-primary);
}

/* ══════════════════════════ TOAST NOTIFICATION ══════════════════════════ */
#toast {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 2000;
  background: #18181f;
  border: 1px solid var(--accent-gold);
  border-radius: var(--radius-sm);
  padding: 14px 24px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: #fff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition: all 0.3s var(--ease-cinematic);
}

#toast.show {
  opacity: 1;
  transform: translateY(0);
}

/* ══════════════════════════ CUSTOM CURSOR ══════════════════════════ */
.cursor-dot {
  position: fixed;
  top: -4px;
  left: -4px;
  width: 8px;
  height: 8px;
  background: var(--accent-gold);
  border-radius: 50%;
  pointer-events: none;
  z-index: 10000;
  transition: opacity 0.2s ease;
}

.cursor-ring {
  position: fixed;
  top: -18px;
  left: -18px;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(212, 175, 55, 0.5);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transition: width 0.3s ease, height 0.3s ease, border-color 0.3s ease;
}

.cursor-ring.cursor-hover {
  width: 60px;
  height: 60px;
  top: -30px;
  left: -30px;
  border-color: var(--accent-gold);
  background: rgba(212, 175, 55, 0.08);
}

/* ══════════════════════════ ACCESSIBILITY: REDUCED MOTION ══════════════════════════ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  
  .art-circle, .pulse-dot, .scroll-line-anim::after {
    animation: none !important;
  }
  
  .cursor-dot, .cursor-ring {
    display: none !important;
  }
}

/* ══════════════════════════ RESPONSIVE BREAKPOINTS ══════════════════════════ */
@media (max-width: 900px) {
  .hud-nav {
    padding: 18px 24px;
  }
  
  .nav-links {
    display: none;
  }
  
  .deconstruct-overlay {
    padding: 40px 24px;
    flex-direction: column;
    justify-content: flex-end;
    gap: 20px;
  }
  
  .deconstruct-tech-readout {
    text-align: left;
  }
  
  .projects-horizontal-track {
    padding-left: 24px;
  }
  
  .project-card {
    flex: 0 0 380px;
    padding: 24px;
  }
  
  .section-editorial-header {
    left: 24px;
    top: 60px;
  }
  
  #sandbox-section {
    padding: 80px 24px;
  }
  
  .modal-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}
