/* ==========================================================================
   3D VIRTUAL DEVELOPER STUDIO — ARSH KHACHATRIAN STYLE
   ========================================================================== */

:root {
  --studio-bg: #0e0c0a;
  --studio-card-bg: rgba(20, 18, 16, 0.88);
  --studio-border: rgba(255, 255, 255, 0.12);
  --studio-accent-amber: #fde68a;
  --studio-accent-teal: #14b8a6;
}

/* Studio Hero Container */
.studio-hero-section {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 700px;
  background-color: var(--studio-bg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* Minimalist Top HUD Header */
.studio-top-hud {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  padding: 24px 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  pointer-events: auto;
  background: linear-gradient(180deg, rgba(14, 12, 10, 0.85) 0%, rgba(14, 12, 10, 0) 100%);
  backdrop-filter: blur(4px);
}

.studio-brand-title {
  font-family: 'Playfair Display', 'Poppins', Georgia, serif;
  font-size: 1.45rem;
  font-weight: 500;
  color: #ffffff;
  letter-spacing: 0.02em;
  margin: 0;
}

.studio-brand-role {
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 300;
  color: rgba(253, 230, 138, 0.7);
  margin-left: 6px;
}

.studio-brand-subtitle {
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #a8a29e;
  margin-top: 3px;
}

/* Waypoints Navigation Pills */
.studio-waypoints-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  background: rgba(26, 23, 20, 0.8);
  backdrop-filter: blur(16px);
  padding: 5px 8px;
  border-radius: 9999px;
  border: 1px solid var(--studio-border);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

.studio-waypoint-btn {
  background: transparent;
  border: none;
  color: #d6d3d1;
  font-family: 'Inter', sans-serif;
  font-size: 0.78rem;
  font-weight: 500;
  padding: 7px 16px;
  border-radius: 9999px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
}

.studio-waypoint-btn:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

.studio-waypoint-btn.active {
  background: rgba(253, 230, 138, 0.92);
  color: #1c1917;
  font-weight: 700;
  box-shadow: 0 4px 15px rgba(253, 230, 138, 0.25);
}

/* Top Right Actions */
.studio-top-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.studio-contact-pill {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #ffffff;
  font-family: 'Inter', sans-serif;
  font-size: 0.82rem;
  font-weight: 500;
  padding: 8px 20px;
  border-radius: 9999px;
  text-decoration: none;
  backdrop-filter: blur(12px);
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.studio-contact-pill:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  transform: translateY(-1px);
}

/* 3D Viewport & Canvas Stage */
.studio-viewport {
  position: relative;
  width: 100vw;
  height: 100vh;
  min-height: 100vh;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.studio-canvas-container {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-width: 100%;
  min-height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 1.2s cubic-bezier(0.25, 1, 0.5, 1);
  transform-origin: center center;
  will-change: transform;
}

.studio-render-img {
  width: 100%;
  height: 100%;
  min-width: 100%;
  min-height: 100%;
  object-fit: cover;
  object-position: center center;
  user-select: none;
  pointer-events: none;
  filter: contrast(1.03) brightness(0.98);
}

/* Three.js Particle Canvas Overlay */
.studio-particles-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 10;
}

/* Interactive 3D Hotspots */
.studio-hotspot {
  position: absolute;
  z-index: 25;
  cursor: pointer;
  transform: translate(-50%, -50%);
  user-select: none;
}

.studio-hotspot-inner {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(20, 18, 16, 0.85);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(253, 230, 138, 0.45);
  color: #fde68a;
  font-family: 'Inter', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 9999px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6), 0 0 15px rgba(253, 230, 138, 0.2);
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  white-space: nowrap;
}

.studio-hotspot:hover .studio-hotspot-inner {
  transform: scale(1.1) translateY(-3px);
  border-color: #fde68a;
  background: rgba(28, 25, 23, 0.95);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.7), 0 0 25px rgba(253, 230, 138, 0.4);
}

.studio-hotspot-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #fde68a;
  box-shadow: 0 0 10px #fde68a;
  animation: hotspotPulse 2s infinite alternate;
}

@keyframes hotspotPulse {
  0% { transform: scale(0.9); opacity: 0.7; }
  100% { transform: scale(1.3); opacity: 1; }
}

/* Specific Hotspot Placements */
.hotspot-projects {
  top: 38%;
  left: 24%;
}

.hotspot-portrait {
  top: 44%;
  left: 77%;
}

.hotspot-pucit {
  top: 43%;
  left: 91%;
}

.hotspot-desk {
  top: 56%;
  left: 52%;
}

.hotspot-turntable {
  top: 78%;
  left: 33%;
}

.hotspot-vespa {
  top: 66%;
  left: 67%;
}

/* Bottom Bar: Ambient Music & Camera Info */
.studio-bottom-hud {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 40;
  padding: 20px 36px 28px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  pointer-events: none;
  background: linear-gradient(0deg, rgba(14, 12, 10, 0.85) 0%, rgba(14, 12, 10, 0) 100%);
}

.studio-camera-status {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(26, 23, 20, 0.82);
  backdrop-filter: blur(14px);
  padding: 8px 18px;
  border-radius: 9999px;
  border: 1px solid var(--studio-border);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.studio-status-pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 10px #10b981;
}

.studio-status-text {
  font-family: 'Inter', sans-serif;
  font-size: 0.78rem;
  color: #d6d3d1;
}

.studio-status-text strong {
  color: #ffffff;
  text-transform: capitalize;
}

.studio-scroll-hint {
  font-family: 'Inter', sans-serif;
  font-size: 0.76rem;
  color: #a8a29e;
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  text-decoration: none;
  transition: color 0.25s ease;
}

.studio-scroll-hint:hover {
  color: #fde68a;
}

/* Ambient Music Floating Button (Arsh Khachatrian style bottom-right) */
.studio-audio-btn {
  pointer-events: auto;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(26, 23, 20, 0.85);
  backdrop-filter: blur(14px);
  border: 1px solid var(--studio-border);
  color: #d6d3d1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-size: 1.15rem;
}

.studio-audio-btn:hover {
  background: rgba(41, 37, 36, 0.95);
  color: #ffffff;
  transform: scale(1.08);
  border-color: rgba(253, 230, 138, 0.4);
}

.studio-audio-btn.playing {
  background: #fde68a;
  color: #1c1917;
  border-color: #fde68a;
  box-shadow: 0 0 25px rgba(253, 230, 138, 0.4);
}

/* Slide-out Case Study Modal / Drawer */
.studio-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.studio-modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.studio-modal-card {
  position: relative;
  width: 100%;
  max-width: 820px;
  background: #141210;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 28px;
  padding: 36px 40px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7);
  max-height: 88vh;
  overflow-y: auto;
  transform: translateY(20px) scale(0.97);
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.studio-modal-overlay.active .studio-modal-card {
  transform: translateY(0) scale(1);
}

.studio-modal-close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #a8a29e;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s ease;
}

.studio-modal-close:hover {
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff;
}

/* Case Study Content Styles */
.case-study-category {
  font-family: 'Fira Code', monospace;
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #fde68a;
  margin-bottom: 6px;
}

.case-study-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2.1rem;
  font-weight: 500;
  color: #ffffff;
  margin: 0 0 10px;
  line-height: 1.2;
}

.case-study-desc {
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  color: #d6d3d1;
  line-height: 1.6;
  margin-bottom: 24px;
}

.case-study-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.btn-case-live {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  border-radius: 9999px;
  background: #fde68a;
  color: #1c1917;
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(253, 230, 138, 0.3);
  transition: all 0.25s ease;
}

.btn-case-live:hover {
  background: #ffffff;
  color: #1c1917;
  transform: translateY(-1px);
}

.btn-case-repo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #ffffff;
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.25s ease;
}

.btn-case-repo:hover {
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
}

/* Case Study Grid Sections */
.case-study-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 24px;
}

.case-study-block {
  background: rgba(26, 23, 20, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 20px;
}

.case-block-label {
  font-family: 'Fira Code', monospace;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #fde68a;
  margin-bottom: 8px;
}

.case-block-text {
  font-family: 'Inter', sans-serif;
  font-size: 0.88rem;
  color: #d6d3d1;
  line-height: 1.55;
  margin: 0;
}

.case-tech-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.case-tech-chip {
  padding: 4px 12px;
  border-radius: 9999px;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-family: 'Fira Code', monospace;
  font-size: 0.75rem;
  color: #fde68a;
}

/* Responsive adjustments */
@media (max-width: 991px) {
  .studio-top-hud {
    padding: 16px 20px;
  }
  .studio-waypoints-nav {
    display: none;
  }
  .studio-bottom-hud {
    padding: 16px 20px 20px;
  }
  .case-study-grid {
    grid-template-columns: 1fr;
  }
}


/* ========================================================
   REAL FRAMED PORTRAIT LAYER OVERLAY (TERRACOTTA WALL)
   ======================================================== */
.studio-framed-portrait-layer {
  position: absolute;
  top: 29.2%;
  left: 72.3%;
  width: 8.7%;
  height: 25.2%;
  z-index: 15;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), filter 0.4s ease;
  pointer-events: auto;
}

.studio-framed-portrait-layer:hover {
  transform: scale(1.05);
  filter: drop-shadow(0 0 16px rgba(250, 204, 21, 0.35));
}

.studio-frame-inner {
  position: relative;
  width: 100%;
  height: 90%;
  border-radius: 2px;
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.45), inset 0 0 10px rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.studio-frame-real-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 84% 20%;
  display: block;
}

.studio-frame-sheen {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.22) 0%, rgba(255, 255, 255, 0.04) 40%, rgba(0, 0, 0, 0.2) 100%);
  pointer-events: none;
}

.studio-plaque-tag {
  margin-top: 5px;
  padding: 2px 8px;
  background: rgba(14, 12, 10, 0.82);
  border: 1px solid rgba(212, 175, 55, 0.5);
  border-radius: 3px;
  font-family: 'Cinzel', serif;
  font-size: 8px;
  color: #f7d070;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  backdrop-filter: blur(6px);
  pointer-events: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.bio-modal-header {
  display: flex;
  gap: 20px;
  align-items: center;
  margin-bottom: 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 20px;
}

.bio-modal-avatar {
  width: 104px;
  height: 104px;
  border-radius: 50%;
  object-fit: cover;
  object-position: 84% 20%;
  border: 3px solid #d4af37;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6), 0 0 18px rgba(212, 175, 55, 0.35);
  flex-shrink: 0;
}

/* ==========================================================================
   UNIFIED LUXURY 3D TOP NAVIGATION BAR (REPLACES OLD DOUBLE BARS & STRIPE)
   ========================================================================== */
.studio-unified-navbar {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  z-index: 1000 !important;
  width: 100% !important;
  height: 72px !important;
  min-height: 72px !important;
  max-height: 72px !important;
  background: rgba(12, 10, 8, 0.94) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  border-bottom: 1px solid rgba(245, 158, 11, 0.22) !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.08) !important;
  display: flex !important;
  align-items: center !important;
  padding: 0 !important;
  transition: all 0.3s ease !important;
}

.studio-unified-navbar::after {
  display: none !important;
  content: none !important;
}

.studio-unified-navbar.scrolled {
  background: rgba(9, 8, 7, 0.98) !important;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.05) !important;
}

.studio-navbar-container {
  width: 100%;
  max-width: 1720px;
  margin: 0 auto;
  padding: 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 100%;
}

/* LEFT: Clean Brand Typography (No selfie, no duplicate) */
.studio-brand-link {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}

.studio-brand-badge {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: linear-gradient(135deg, #f59e0b 0%, #b45309 100%);
  color: #0e0c0a;
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 800;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.45);
  letter-spacing: 0.5px;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.studio-brand-link:hover .studio-brand-badge {
  transform: rotate(-6deg) scale(1.08);
}

.studio-brand-meta {
  display: flex;
  flex-direction: column;
}

.studio-brand-name {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.2rem;
  font-weight: 600;
  color: #ffffff;
  letter-spacing: 0.03em;
  line-height: 1.2;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
}

.studio-brand-tagline {
  font-family: 'Inter', sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  color: #f59e0b;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 2px;
}

/* CENTER: 3D Spatial Waypoints Navigation (Prominent, High-Contrast 3D Pills) */
.studio-waypoints-nav {
  display: flex !important;
  align-items: center;
  gap: 6px;
  background: rgba(22, 18, 14, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 5px 8px;
  border-radius: 9999px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.studio-waypoint-btn {
  background: transparent;
  border: none;
  outline: none;
  cursor: pointer;
  padding: 8px 16px;
  border-radius: 9999px;
  font-family: 'Inter', sans-serif;
  font-size: 0.82rem;
  font-weight: 500;
  color: #e5e7eb;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.28s cubic-bezier(0.34, 1.56, 0.64, 1);
  transform: perspective(600px) translateZ(0);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.studio-waypoint-btn i {
  font-size: 0.8rem;
  color: #f59e0b;
  transition: transform 0.28s ease, color 0.28s ease;
}

.studio-waypoint-btn:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
  transform: perspective(600px) translateY(-2px) translateZ(8px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}

.studio-waypoint-btn:hover i {
  color: #fbbf24;
  transform: scale(1.18);
}

.studio-waypoint-btn.active {
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%) !important;
  color: #1c1917 !important;
  font-weight: 700 !important;
  transform: perspective(600px) translateZ(10px) !important;
  box-shadow: 0 6px 18px rgba(245, 158, 11, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.6) !important;
}

.studio-waypoint-btn.active i {
  color: #b45309 !important;
}

/* RIGHT: Controls & Actions */
.studio-navbar-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.studio-icon-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #e5e7eb;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s ease;
  transform: perspective(500px) translateZ(0);
}

.studio-icon-btn:hover {
  background: rgba(255, 255, 255, 0.18);
  color: #fbbf24;
  transform: perspective(500px) translateY(-2px) translateZ(6px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.45);
}

.studio-icon-btn.playing {
  background: rgba(245, 158, 11, 0.3);
  border-color: #f59e0b;
  color: #fde68a;
  animation: studioPulseGlow 1.8s infinite ease-in-out;
}

.studio-nav-cv {
  padding: 8px 16px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(245, 158, 11, 0.4);
  color: #fef3c7;
  font-family: 'Inter', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.25s ease;
  transform: perspective(500px) translateZ(0);
}

.studio-nav-cv:hover {
  background: rgba(245, 158, 11, 0.2);
  border-color: #f59e0b;
  color: #ffffff;
  transform: perspective(500px) translateY(-2px) translateZ(6px);
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.35);
}

.studio-nav-hire {
  padding: 9px 20px;
  border-radius: 9999px;
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #0e0c0a;
  font-family: 'Inter', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 6px 18px rgba(245, 158, 11, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.45);
  transition: all 0.28s cubic-bezier(0.34, 1.56, 0.64, 1);
  transform: perspective(500px) translateZ(0);
}

.studio-nav-hire:hover {
  transform: perspective(500px) translateY(-2px) translateZ(10px) scale(1.03);
  box-shadow: 0 10px 24px rgba(245, 158, 11, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.5);
  color: #000000;
}

.studio-mobile-hamburger {
  display: none;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
  cursor: pointer;
}

.studio-mobile-hamburger .hamburger-bar {
  width: 18px;
  height: 2px;
  background: #ffffff;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.studio-mobile-menu {
  display: none;
  position: absolute;
  top: 72px;
  left: 0;
  right: 0;
  background: rgba(14, 12, 10, 0.98);
  backdrop-filter: blur(24px);
  border-bottom: 1px solid rgba(245, 158, 11, 0.25);
  padding: 20px 24px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.85);
}

.studio-mobile-menu.active {
  display: block;
}

.studio-mobile-section-label {
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #f59e0b;
  margin-bottom: 10px;
}

.studio-mobile-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.studio-mobile-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.studio-mobile-link {
  padding: 7px 14px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  color: #e5e7eb;
  font-size: 0.78rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

/* 3D Hotspots (Elevated Perspective Animations) */
.studio-hotspot {
  position: absolute;
  z-index: 30;
  cursor: pointer;
  perspective: 800px;
}

.studio-hotspot-inner {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: rgba(18, 15, 12, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(245, 158, 11, 0.45);
  color: #fef3c7;
  font-family: 'Inter', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  border-radius: 9999px;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.7), 0 0 16px rgba(245, 158, 11, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.15);
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  white-space: nowrap;
  transform: perspective(600px) translateZ(0);
}

.studio-hotspot:hover .studio-hotspot-inner {
  transform: perspective(600px) translateY(-4px) translateZ(14px) scale(1.08);
  border-color: #fbbf24;
  background: rgba(26, 22, 18, 0.98);
  color: #ffffff;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.8), 0 0 28px rgba(245, 158, 11, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.studio-hotspot-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #f59e0b;
  box-shadow: 0 0 12px #f59e0b;
  animation: hotspotPulse 1.8s infinite alternate ease-in-out;
}

@media (max-width: 1100px) {
  .studio-waypoints-nav {
    display: none !important;
  }
  .studio-mobile-hamburger {
    display: flex;
  }
}

/* Adjust Studio Hero Padding for Fixed Header */
.studio-hero-section {
  padding-top: 72px !important;
  height: 100vh !important;
  min-height: 100vh !important;
}


/* ==========================================================================
   FLOATING WARM GLASS 3D HUD (MATCHES DAYLIGHT ROOM ENVIRONMENT)
   ========================================================================== */
.studio-unified-navbar {
  position: fixed !important;
  top: 14px !important;
  left: 0 !important;
  right: 0 !important;
  z-index: 1000 !important;
  width: 100% !important;
  height: auto !important;
  min-height: auto !important;
  max-height: none !important;
  background: transparent !important;
  box-shadow: none !important;
  border: none !important;
  display: flex !important;
  justify-content: center !important;
  padding: 0 16px !important;
  pointer-events: none !important;
}

.studio-unified-navbar::after {
  display: none !important;
  content: none !important;
}

.studio-navbar-container {
  pointer-events: auto !important;
  width: auto !important;
  max-width: 1480px !important;
  background: rgba(28, 22, 17, 0.48) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
  border-radius: 9999px !important;
  padding: 6px 18px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 16px !important;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.22) !important;
  transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1) !important;
}

.studio-navbar-container:hover {
  background: rgba(28, 22, 17, 0.68) !important;
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.48), inset 0 1px 0 rgba(255, 255, 255, 0.3) !important;
}

/* Studio Hero Stage Fill Screen Without Heavy Dark Bar Offset */
.studio-hero-section {
  padding-top: 0 !important;
  height: 100vh !important;
  min-height: 100vh !important;
}

/* 3D Key Navigation List in Studio HUD */
.studio-3d-key-nav .nav-3d-list {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.studio-3d-key-nav .nav-3d-key {
  height: 38px !important;
  padding: 0 16px !important;
  border-radius: 9999px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 7px !important;
  font-family: 'Inter', sans-serif !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  background: rgba(25, 21, 18, 0.75) !important;
  border: 1px solid rgba(255, 255, 255, 0.16) !important;
  color: #e5e7eb !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 3px 0 rgba(0, 0, 0, 0.55), 0 8px 14px rgba(0, 0, 0, 0.4) !important;
  transition: all 0.25s cubic-bezier(0.22, 1, 0.36, 1) !important;
  cursor: pointer !important;
  outline: none !important;
  text-decoration: none !important;
  transform: perspective(500px) translateZ(0) !important;
}

.studio-3d-key-nav .nav-3d-key:hover {
  transform: perspective(500px) rotateX(8deg) translateY(-2px) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), 0 5px 0 rgba(0, 0, 0, 0.7), 0 12px 20px rgba(0, 0, 0, 0.45) !important;
  color: #ffffff !important;
  border-color: rgba(245, 158, 11, 0.5) !important;
}

.studio-3d-key-nav .nav-3d-key:active {
  transform: translateY(2px) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 1px 0 rgba(0, 0, 0, 0.6) !important;
}

.studio-3d-key-nav .nav-3d-key.active {
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%) !important;
  color: #1c1917 !important;
  border-color: #f59e0b !important;
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.6) !important;
}

.studio-3d-key-nav .nav-3d-key.active .nav-key-icon {
  color: #b45309 !important;
}

/* ==========================================================================
   ANIMATED 3D MOTORCYCLE (YELLOW VESPA SCOOTER IN ROOM)
   ========================================================================== */
.studio-vespa-animator {
  position: absolute;
  top: 59%;
  left: 63%;
  width: 25%;
  height: 33%;
  z-index: 25;
  pointer-events: auto;
  cursor: pointer;
  animation: vespaRumble 1.4s infinite ease-in-out;
  transition: transform 0.4s ease;
}

.studio-vespa-animator:hover {
  transform: scale(1.03);
}

.studio-vespa-animator.driving {
  animation: vespaDriveRide 2.4s cubic-bezier(0.25, 0.8, 0.25, 1) forwards !important;
}

@keyframes vespaRumble {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  25% { transform: translate(0.6px, -1px) rotate(0.2deg); }
  50% { transform: translate(-0.6px, 0.6px) rotate(-0.2deg); }
  75% { transform: translate(0.8px, -0.6px) rotate(0.1deg); }
}

@keyframes vespaDriveRide {
  0% { transform: translate3d(0, 0, 0) scale(1); filter: drop-shadow(0 6px 14px rgba(0,0,0,0.4)); }
  20% { transform: translate3d(-140px, 15px, 0) scale(1.08) rotate(-1deg); filter: drop-shadow(0 14px 26px rgba(0,0,0,0.55)); }
  50% { transform: translate3d(-380px, 40px, 0) scale(1.22) rotate(1deg); filter: drop-shadow(0 22px 38px rgba(0,0,0,0.65)); }
  80% { transform: translate3d(-560px, 58px, 0) scale(1.32) rotate(-0.5deg); filter: drop-shadow(0 28px 46px rgba(0,0,0,0.7)); }
  100% { transform: translate3d(-750px, 75px, 0) scale(1.4) rotate(0deg); filter: drop-shadow(0 34px 54px rgba(0,0,0,0.75)); }
}

.vespa-headlight-glow {
  position: absolute;
  top: 18%;
  left: 6%;
  width: 140px;
  height: 60px;
  background: radial-gradient(ellipse at left, rgba(254, 240, 138, 0.7) 0%, rgba(254, 240, 138, 0.2) 45%, transparent 75%);
  transform: rotate(-15deg);
  opacity: 0.75;
  pointer-events: none;
  filter: blur(4px);
  animation: headlightFlicker 2.5s infinite ease-in-out;
}

@keyframes headlightFlicker {
  0%, 100% { opacity: 0.65; }
  50% { opacity: 0.95; }
}

.hotspot-vespa {
  top: 68%;
  left: 68%;
  z-index: 35;
}


/* ==========================================================================
   ROOM 02: 3D INTERACTIVE ENGINEERING LAB & SPATIAL BIOGRAPHY
   ========================================================================== */
.room-3d-lab-section {
  position: relative;
  width: 100%;
  min-height: 100vh;
  background: radial-gradient(circle at 50% 15%, #1c1712 0%, #100d0a 55%, #080605 100%);
  padding: 110px 24px 90px;
  overflow: hidden;
  color: #f3f4f6;
  border-top: 1px solid rgba(245, 158, 11, 0.2);
}

.room-portal-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 9999px;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.35);
  color: #fbbf24;
  font-family: 'Inter', sans-serif;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 14px;
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.15);
}

.room-3d-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2.2rem, 4.5vw, 3.8rem);
  font-weight: 700;
  color: #ffffff;
  line-height: 1.15;
  margin-bottom: 14px;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
}

.room-3d-title span {
  background: linear-gradient(135deg, #fef3c7 0%, #f59e0b 60%, #d97706 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.room-3d-subtitle {
  font-family: 'Inter', sans-serif;
  font-size: 1.05rem;
  color: #9ca3af;
  max-width: 720px;
  line-height: 1.65;
  margin-bottom: 45px;
}

/* 3D Parallax Holo Stage Container */
.room-3d-stage-grid {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 36px;
  max-width: 1440px;
  margin: 0 auto;
  align-items: start;
}

/* 3D Interactive Holographic Chassis (Left Column) */
.room-holo-chassis {
  perspective: 1200px;
  transform-style: preserve-3d;
}

.room-holo-card {
  position: relative;
  background: rgba(26, 21, 17, 0.65);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 28px;
  padding: 32px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  transform-style: preserve-3d;
  transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.25s ease;
}

.room-holo-card:hover {
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.75), 0 0 40px rgba(245, 158, 11, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

/* Portrait Halo Stage */
.room-portrait-stage {
  position: relative;
  width: 100%;
  height: 320px;
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 24px;
  transform: translateZ(35px);
  border: 1px solid rgba(245, 158, 11, 0.3);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.5);
}

.room-portrait-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 84% 20%;
  transition: transform 0.6s ease;
}

.room-holo-card:hover .room-portrait-img {
  transform: scale(1.05);
}

.room-portrait-glare {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.02) 40%, rgba(0, 0, 0, 0.3) 100%);
  pointer-events: none;
}

.room-status-badge {
  position: absolute;
  bottom: 16px;
  left: 16px;
  padding: 5px 12px;
  border-radius: 9999px;
  background: rgba(10, 8, 7, 0.85);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: #34d399;
  font-family: 'Inter', sans-serif;
  font-size: 0.74rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.5);
}

.room-status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 10px #10b981;
  animation: hotspotPulse 1.8s infinite alternate;
}

/* 3D Floating Code Capsule */
.room-3d-code-box {
  background: #090807;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 18px;
  transform: translateZ(50px);
  margin-bottom: 24px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
}

.room-code-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 10px;
  margin-bottom: 12px;
}

.room-code-dots {
  display: flex;
  gap: 6px;
}

.room-code-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
}

.room-code-title {
  font-family: 'Fira Code', monospace;
  font-size: 0.72rem;
  color: #9ca3af;
}

.room-code-body {
  font-family: 'Fira Code', monospace;
  font-size: 0.78rem;
  color: #e5e7eb;
  line-height: 1.6;
}

/* 3D Chips */
.room-3d-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  transform: translateZ(60px);
  margin-bottom: 24px;
}

.room-3d-chip {
  padding: 6px 14px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  color: #d1d5db;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.3);
  transition: all 0.25s ease;
}

.room-3d-chip:hover {
  background: rgba(245, 158, 11, 0.15);
  border-color: #f59e0b;
  color: #fde68a;
  transform: translateY(-2px);
}

/* CV Actions in Room 2 */
.room-cv-actions {
  display: flex;
  gap: 12px;
  transform: translateZ(70px);
}

.room-btn-cv {
  flex: 1;
  padding: 12px 20px;
  border-radius: 9999px;
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #0e0c0a;
  font-family: 'Inter', sans-serif;
  font-size: 0.84rem;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 6px 18px rgba(245, 158, 11, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.4);
  transition: all 0.25s ease;
}

.room-btn-cv:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 10px 26px rgba(245, 158, 11, 0.55);
  color: #000000;
}

.room-btn-hire {
  padding: 12px 24px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #ffffff;
  font-family: 'Inter', sans-serif;
  font-size: 0.84rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.25s ease;
}

.room-btn-hire:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.35);
  transform: translateY(-2px);
}

/* RIGHT COLUMN: 3D Capabilities & Philosophy Grid */
.room-capabilities-column {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* 3D Capabilities Matrix Grid */
.room-capabilities-matrix {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.room-cap-card {
  position: relative;
  background: rgba(26, 21, 17, 0.6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.14);
  transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
  cursor: pointer;
  overflow: hidden;
}

.room-cap-card:hover {
  transform: translateY(-4px) scale(1.02);
  border-color: rgba(245, 158, 11, 0.45);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.6), 0 0 24px rgba(245, 158, 11, 0.2);
}

.room-cap-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.3);
  color: #fbbf24;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  margin-bottom: 14px;
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.15);
}

.room-cap-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.12rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 6px;
}

.room-cap-desc {
  font-family: 'Inter', sans-serif;
  font-size: 0.82rem;
  color: #9ca3af;
  line-height: 1.5;
}

.room-cap-techs {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.room-cap-tech {
  font-family: 'Fira Code', monospace;
  font-size: 0.7rem;
  padding: 2px 7px;
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.4);
  color: #fde68a;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

/* 3D Stats Pedestals */
.room-stats-pedestals {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.room-stat-pedestal {
  background: rgba(26, 21, 17, 0.6);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  padding: 18px;
  text-align: center;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
  transition: transform 0.25s ease;
}

.room-stat-pedestal:hover {
  transform: translateY(-3px);
  border-color: rgba(245, 158, 11, 0.4);
}

.room-stat-icon {
  font-size: 1.25rem;
  color: #f59e0b;
  margin-bottom: 8px;
}

.room-stat-value {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 4px;
}

.room-stat-label {
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem;
  color: #9ca3af;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* Philosophy 3D Quote Box */
.room-philosophy-card {
  background: rgba(26, 21, 17, 0.6);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 26px 30px;
  position: relative;
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.4);
}

.room-philosophy-quote {
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-size: 1.05rem;
  color: #e5e7eb;
  line-height: 1.7;
  border-left: 3px solid #f59e0b;
  padding-left: 18px;
  margin-bottom: 12px;
}

.room-philosophy-author {
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  color: #fbbf24;
  font-weight: 600;
  letter-spacing: 0.05em;
  padding-left: 21px;
}

@media (max-width: 1024px) {
  .room-3d-stage-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .room-capabilities-matrix {
    grid-template-columns: 1fr;
  }
  .room-stats-pedestals {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   CIRCULAR 3D BUTTONS ROW (EXACT REFERENCE RECREATION)
   ========================================================================== */
.nav-3d-circles-list {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-circle-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(22, 18, 14, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #d1d5db;
  font-size: 0.86rem;
  cursor: pointer;
  transition: all 0.22s cubic-bezier(0.2, 0.8, 0.2, 1);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
  text-decoration: none;
}

.nav-circle-btn:hover {
  transform: translateY(-2px) scale(1.08);
}

/* 1. Home active - glowing yellow with brown house */
.nav-circle-btn.active-home,
.nav-circle-btn.active {
  background: #fbbf24 !important;
  color: #451a03 !important;
  border-color: #fde68a !important;
  box-shadow: 0 0 18px rgba(251, 191, 36, 0.7), 0 4px 12px rgba(0, 0, 0, 0.4) !important;
  transform: scale(1.08);
}

/* 2. Green glowing icons */
.nav-circle-btn.glow-green {
  color: #34d399;
  border-color: rgba(52, 211, 153, 0.35);
  box-shadow: 0 0 10px rgba(52, 211, 153, 0.25);
}
.nav-circle-btn.glow-green:hover {
  border-color: #34d399;
  box-shadow: 0 0 16px rgba(52, 211, 153, 0.55);
}

/* 3. Red glowing icons */
.nav-circle-btn.glow-red {
  color: #f87171;
  border-color: rgba(248, 113, 113, 0.35);
  box-shadow: 0 0 10px rgba(248, 113, 113, 0.25);
}
.nav-circle-btn.glow-red:hover {
  border-color: #f87171;
  box-shadow: 0 0 16px rgba(248, 113, 113, 0.55);
}

/* 4. White / Dark Code icon */
.nav-circle-btn.glow-white {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.25);
}
.nav-circle-btn.glow-white:hover {
  border-color: #ffffff;
  box-shadow: 0 0 14px rgba(255, 255, 255, 0.45);
}

/* 8. Amber Lo-Fi audio icon */
.nav-circle-btn.glow-amber {
  color: #fbbf24;
  border-color: rgba(251, 191, 36, 0.35);
}
.nav-circle-btn.glow-amber:hover {
  border-color: #fbbf24;
  box-shadow: 0 0 14px rgba(251, 191, 36, 0.5);
}

/* 9. Settings icon */
.nav-circle-btn.glow-neutral {
  color: #9ca3af;
  border-color: rgba(255, 255, 255, 0.15);
}
.nav-circle-btn.glow-neutral:hover {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.4);
}

/* CV Button: Light Beige Pill */
.studio-nav-cv-pill {
  padding: 8px 18px;
  border-radius: 9999px;
  background: #f4eee2;
  color: #1c1815;
  font-family: 'Inter', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
  transition: all 0.22s ease;
}
.studio-nav-cv-pill:hover {
  background: #ffffff;
  transform: translateY(-2px);
  color: #000000;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.45);
}

/* Hire Me Button: Bright Orange Pill with Dark Text */
.studio-nav-hire-orange {
  padding: 8px 20px;
  border-radius: 9999px;
  background: #f59e0b;
  color: #120e0a;
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  box-shadow: 0 4px 16px rgba(245, 158, 11, 0.5);
  transition: all 0.22s ease;
}
.studio-nav-hire-orange:hover {
  background: #fbbf24;
  transform: translateY(-2px);
  color: #000000;
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.65);
}

/* Bottom Left & Right HUD Groups */
.studio-bottom-left-group {
  display: flex;
  align-items: center;
  gap: 12px;
}
.studio-bottom-right-group {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Floating WhatsApp Button */
.studio-whatsapp-floating-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #25D366;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.45rem;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.studio-whatsapp-floating-btn:hover {
  transform: scale(1.1);
  color: #ffffff;
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.65);
}

/* Floating Teal Chat Bubble Button */
.studio-teal-chat-bubble-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #00897b;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(0, 137, 123, 0.45);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.studio-teal-chat-bubble-btn:hover {
  transform: scale(1.1);
  color: #ffffff;
  background: #00796b;
  box-shadow: 0 12px 30px rgba(0, 137, 123, 0.65);
}


/* ==========================================================================
   REBUILT CLEAN FLOATING TOP NAVIGATION BAR (STEP 2 & STEP 3 SPEC)
   ========================================================================== */
:root {
  --nav-bg: rgba(13, 11, 9, 0.78);
  --nav-bg-scrolled: rgba(13, 11, 9, 0.92);
  --nav-border: rgba(255, 255, 255, 0.10);
  --text: #F3EBDD;
  --text-muted: #BDB4A5;
  --accent: #F59E0B;
  --accent-soft: rgba(245, 158, 11, 0.14);
}

/* Accessible Skip to Content Link */
.skip-to-content {
  position: fixed !important;
  top: -80px !important;
  left: 20px !important;
  z-index: 10090 !important;
  padding: 10px 18px !important;
  background: var(--accent) !important;
  color: #120e08 !important;
  font-family: "Inter", sans-serif !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  border-radius: 10px !important;
  text-decoration: none !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4) !important;
  transition: top 0.2s ease !important;
}
.skip-to-content:focus {
  top: 20px !important;
  outline: 2px solid var(--accent) !important;
  outline-offset: 2px !important;
}

/* Smooth Scroll Section Anchor Offset */
#home, #about, #services, #portfolio, #contact {
  scroll-margin-top: 88px !important;
}

/* One Floating Bar Centered at Top */
.top-navbar {
  position: fixed !important;
  top: 16px !important;
  left: 16px !important;
  right: 16px !important;
  margin: 0 auto !important;
  max-width: 1120px !important;
  width: calc(100% - 32px) !important;
  height: 64px !important;
  min-height: 64px !important;
  max-height: 64px !important;
  border-radius: 18px !important;
  background: var(--nav-bg) !important;
  border: 1px solid var(--nav-border) !important;
  backdrop-filter: blur(14px) !important;
  -webkit-backdrop-filter: blur(14px) !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35) !important;
  z-index: 10050 !important;
  pointer-events: auto !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-sizing: border-box !important;
  padding: 0 !important;
  transition: height 0.22s cubic-bezier(0.2, 0.8, 0.2, 1), 
              min-height 0.22s ease, 
              max-height 0.22s ease,
              background 0.22s ease, 
              box-shadow 0.22s ease,
              border-color 0.22s ease !important;
}

/* Shrunk State after 40px Scroll (56px) */
.top-navbar.scrolled {
  height: 56px !important;
  min-height: 56px !important;
  max-height: 56px !important;
  background: var(--nav-bg-scrolled) !important;
  border-color: rgba(255, 255, 255, 0.14) !important;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5) !important;
}

.top-navbar::after {
  display: none !important;
  content: none !important;
}

/* Inner Navigation Bar Flex Container */
.nav-container {
  width: 100% !important;
  height: 100% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 0 16px !important;
  gap: 12px !important;
  box-sizing: border-box !important;
  pointer-events: auto !important;
}

/* A. BRAND (Left) */
.nav-brand {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  text-decoration: none !important;
  flex-shrink: 0 !important;
  cursor: pointer !important;
}
.nav-brand:focus-visible {
  outline: 2px solid var(--accent) !important;
  outline-offset: 2px !important;
  border-radius: 12px !important;
}
.nav-brand-tile {
  width: 40px !important;
  height: 40px !important;
  border-radius: 10px !important;
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%) !important;
  color: #120e08 !important;
  font-family: "Playfair Display", Georgia, serif !important;
  font-weight: 800 !important;
  font-size: 15px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-shadow: 0 3px 10px rgba(245, 158, 11, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.4) !important;
  flex-shrink: 0 !important;
  transition: transform 0.2s ease !important;
}
.nav-brand:hover .nav-brand-tile {
  transform: scale(1.04) !important;
}
.nav-brand-text {
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
}
.nav-brand-name {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  color: var(--text) !important;
  line-height: 1.15 !important;
  letter-spacing: -0.01em !important;
  transition: color 0.15s ease !important;
}
.nav-brand:hover .nav-brand-name {
  color: #ffffff !important;
}
.nav-brand-sub {
  font-family: "Inter", monospace !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  letter-spacing: 0.1em !important;
  color: rgba(245, 158, 11, 0.85) !important;
  text-transform: uppercase !important;
  margin-top: 2px !important;
  line-height: 1 !important;
}

/* B. NAVIGATION LINKS (Center, 5 Labelled Items in Page Order) */
.nav-links-list {
  display: flex !important;
  align-items: center !important;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  gap: 4px !important;
}
.nav-links-list li {
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}
.nav-link {
  position: relative !important;
  height: 40px !important;
  padding: 0 14px !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  text-decoration: none !important;
  color: var(--text-muted) !important;
  background: transparent !important;
  border-radius: 8px !important;
  transition: background 150ms ease, color 150ms ease, transform 100ms ease !important;
  white-space: nowrap !important;
  cursor: pointer !important;
  box-sizing: border-box !important;
}
.nav-link i {
  font-size: 16px !important;
  opacity: 0.9 !important;
  transition: transform 150ms ease, color 150ms ease !important;
}
.nav-link:hover {
  color: var(--text) !important;
  background: rgba(255, 255, 255, 0.06) !important;
}
.nav-link:active {
  transform: scale(0.98) !important;
}
.nav-link:focus-visible {
  outline: 2px solid var(--accent) !important;
  outline-offset: 2px !important;
}
/* Active State: Amber Text, var(--accent-soft) Background, 2px Amber Bottom Bar Inset 12px */
.nav-link.active {
  color: var(--accent) !important;
  background: var(--accent-soft) !important;
  font-weight: 600 !important;
}
.nav-link.active i {
  color: var(--accent) !important;
}
.nav-link.active::after {
  content: "" !important;
  position: absolute !important;
  bottom: 0 !important;
  left: 12px !important;
  right: 12px !important;
  height: 2px !important;
  background: var(--accent) !important;
  border-radius: 1px !important;
}

/* C. SCENE CONTROLS (Grouped, 40px Neutral Circular Buttons) */
.nav-scene-controls {
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
}
.nav-icon-btn {
  width: 40px !important;
  height: 40px !important;
  border-radius: 50% !important;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  background: rgba(255, 255, 255, 0.03) !important;
  color: var(--text) !important;
  font-size: 15px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  transition: background 150ms ease, border-color 150ms ease, color 150ms ease, transform 100ms ease !important;
  padding: 0 !important;
  box-shadow: none !important;
  box-sizing: border-box !important;
}
.nav-icon-btn:hover {
  background: rgba(255, 255, 255, 0.08) !important;
  color: #ffffff !important;
  border-color: rgba(255, 255, 255, 0.25) !important;
}
.nav-icon-btn:active {
  transform: scale(0.98) !important;
}
.nav-icon-btn:focus-visible {
  outline: 2px solid var(--accent) !important;
  outline-offset: 2px !important;
}
.nav-icon-btn[aria-pressed="true"] {
  background: var(--accent-soft) !important;
  border-color: rgba(245, 158, 11, 0.45) !important;
  color: var(--accent) !important;
}

/* Tooltip Pill (Only for Icon-only Controls) */
.nav-tooltip-wrapper {
  position: relative !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}
.nav-tooltip {
  position: absolute !important;
  top: calc(100% + 8px) !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  background: rgba(18, 14, 11, 0.95) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  color: var(--text) !important;
  padding: 4px 8px !important;
  border-radius: 6px !important;
  font-family: "Inter", sans-serif !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  white-space: nowrap !important;
  pointer-events: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.5) !important;
  z-index: 10070 !important;
  transition: opacity 150ms ease 300ms, visibility 150ms ease 300ms !important;
}
.nav-tooltip-wrapper:hover .nav-tooltip,
.nav-tooltip-wrapper:focus-within .nav-tooltip {
  opacity: 1 !important;
  visibility: visible !important;
}
@media (hover: none) {
  .nav-tooltip {
    display: none !important;
  }
}

/* Popover for Scene Settings */
.nav-scene-popover {
  position: absolute !important;
  top: calc(100% + 12px) !important;
  right: 0 !important;
  width: 270px !important;
  background: rgba(20, 16, 12, 0.96) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  border-radius: 14px !important;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.65) !important;
  padding: 14px 16px !important;
  z-index: 10060 !important;
  opacity: 0 !important;
  visibility: hidden !important;
  transform: translateY(-8px) scale(0.97) !important;
  transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease !important;
  pointer-events: none !important;
}
.nav-scene-popover.active {
  opacity: 1 !important;
  visibility: visible !important;
  transform: translateY(0) scale(1) !important;
  pointer-events: auto !important;
}
.popover-header {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding-bottom: 10px !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
  margin-bottom: 12px !important;
}
.popover-title {
  font-family: "Inter", sans-serif !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  color: var(--text) !important;
  letter-spacing: -0.01em !important;
}
.popover-close-btn {
  background: transparent !important;
  border: none !important;
  color: var(--text-muted) !important;
  font-size: 13px !important;
  cursor: pointer !important;
  padding: 4px !important;
  border-radius: 4px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: color 150ms ease !important;
}
.popover-close-btn:hover {
  color: #ffffff !important;
}
.popover-close-btn:focus-visible {
  outline: 2px solid var(--accent) !important;
}
.popover-body {
  display: flex !important;
  flex-direction: column !important;
  gap: 12px !important;
}
.popover-row {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 10px !important;
}
.popover-label-group {
  display: flex !important;
  flex-direction: column !important;
}
.popover-label {
  font-family: "Inter", sans-serif !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  color: var(--text) !important;
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
}
.popover-desc {
  font-size: 11px !important;
  color: var(--text-muted) !important;
  margin-top: 1px !important;
}
/* Toggle Switch Element */
.popover-switch {
  width: 42px !important;
  height: 24px !important;
  border-radius: 12px !important;
  background: rgba(255, 255, 255, 0.15) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  position: relative !important;
  cursor: pointer !important;
  transition: background 200ms ease, border-color 200ms ease !important;
  padding: 0 !important;
  flex-shrink: 0 !important;
}
.popover-switch:focus-visible {
  outline: 2px solid var(--accent) !important;
  outline-offset: 2px !important;
}
.popover-switch .switch-knob {
  position: absolute !important;
  top: 2px !important;
  left: 2px !important;
  width: 18px !important;
  height: 18px !important;
  border-radius: 50% !important;
  background: #ffffff !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4) !important;
  transition: transform 200ms cubic-bezier(0.2, 0.8, 0.2, 1), background 200ms ease !important;
}
.popover-switch.checked {
  background: var(--accent) !important;
  border-color: var(--accent) !important;
}
.popover-switch.checked .switch-knob {
  transform: translateX(18px) !important;
  background: #120e08 !important;
}
.popover-action-btn {
  padding: 5px 12px !important;
  border-radius: 8px !important;
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(255, 255, 255, 0.16) !important;
  color: var(--text) !important;
  font-family: "Inter", sans-serif !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  transition: background 150ms ease, color 150ms ease, border-color 150ms ease !important;
}
.popover-action-btn:hover {
  background: rgba(255, 255, 255, 0.15) !important;
  color: #ffffff !important;
}
.popover-action-btn:active {
  transform: scale(0.98) !important;
}
.popover-action-btn:focus-visible {
  outline: 2px solid var(--accent) !important;
}

/* D. ACTIONS (Right) */
.nav-actions-group {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  flex-shrink: 0 !important;
}
.nav-divider {
  width: 1px !important;
  height: 24px !important;
  background: rgba(255, 255, 255, 0.12) !important;
  margin: 0 2px !important;
}
.nav-btn-secondary {
  height: 40px !important;
  padding: 0 14px !important;
  border-radius: 10px !important;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  background: rgba(255, 255, 255, 0.04) !important;
  color: var(--text) !important;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 7px !important;
  text-decoration: none !important;
  cursor: pointer !important;
  transition: background 150ms ease, border-color 150ms ease, color 150ms ease, transform 100ms ease !important;
  box-sizing: border-box !important;
}
.nav-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.10) !important;
  border-color: rgba(255, 255, 255, 0.25) !important;
  color: #ffffff !important;
}
.nav-btn-secondary:active {
  transform: scale(0.98) !important;
}
.nav-btn-secondary:focus-visible {
  outline: 2px solid var(--accent) !important;
  outline-offset: 2px !important;
}
.nav-btn-primary {
  height: 40px !important;
  padding: 0 16px !important;
  border-radius: 10px !important;
  background: var(--accent) !important;
  color: #120e08 !important;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  letter-spacing: -0.01em !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 7px !important;
  text-decoration: none !important;
  cursor: pointer !important;
  border: none !important;
  transition: background 150ms ease, transform 100ms ease, box-shadow 150ms ease !important;
  box-shadow: 0 2px 8px rgba(245, 158, 11, 0.25) !important;
  box-sizing: border-box !important;
}
.nav-btn-primary:hover {
  background: #fbbf24 !important;
  color: #000000 !important;
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.4) !important;
}
.nav-btn-primary:active {
  transform: scale(0.98) !important;
}
.nav-btn-primary:focus-visible {
  outline: 2px solid #ffffff !important;
  outline-offset: 2px !important;
}

/* Mobile Hamburger Button */
.nav-hamburger {
  display: none !important;
  width: 44px !important;
  height: 44px !important;
  border-radius: 10px !important;
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  flex-direction: column !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 5px !important;
  cursor: pointer !important;
  padding: 0 !important;
  transition: background 150ms ease, border-color 150ms ease !important;
}
.nav-hamburger:hover {
  background: rgba(255, 255, 255, 0.10) !important;
  border-color: rgba(255, 255, 255, 0.22) !important;
}
.nav-hamburger:focus-visible {
  outline: 2px solid var(--accent) !important;
  outline-offset: 2px !important;
}
.hamburger-bar {
  width: 20px !important;
  height: 2px !important;
  background: var(--text) !important;
  border-radius: 2px !important;
  transition: transform 200ms ease, opacity 200ms ease !important;
}
.nav-hamburger.active .hamburger-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg) !important;
}
.nav-hamburger.active .hamburger-bar:nth-child(2) {
  opacity: 0 !important;
}
.nav-hamburger.active .hamburger-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg) !important;
}

/* Mobile Dropdown Panel */
.nav-mobile-menu {
  display: none !important;
  position: absolute !important;
  top: calc(100% + 10px) !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  background: rgba(14, 11, 9, 0.96) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: 18px !important;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.75) !important;
  overflow: hidden !important;
  z-index: 10055 !important;
  opacity: 0 !important;
  visibility: hidden !important;
  transform: translateY(-8px) scale(0.98) !important;
  transition: opacity 200ms ease, transform 200ms ease, visibility 200ms ease !important;
}
.nav-mobile-menu.active {
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
  transform: translateY(0) scale(1) !important;
}
.mobile-menu-inner {
  padding: 16px 18px !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 12px !important;
}
.mobile-links-list {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 4px !important;
}
.mobile-link {
  height: 52px !important;
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  padding: 0 16px !important;
  font-family: "Inter", sans-serif !important;
  font-size: 16px !important;
  font-weight: 500 !important;
  color: var(--text-muted) !important;
  text-decoration: none !important;
  border-radius: 10px !important;
  transition: background 150ms ease, color 150ms ease !important;
}
.mobile-link i {
  font-size: 18px !important;
  width: 22px !important;
  text-align: center !important;
}
.mobile-link:hover,
.mobile-link:focus-visible {
  color: var(--text) !important;
  background: rgba(255, 255, 255, 0.06) !important;
}
.mobile-link.active {
  color: var(--accent) !important;
  background: var(--accent-soft) !important;
  font-weight: 600 !important;
}
.mobile-divider {
  width: 100% !important;
  height: 1px !important;
  background: rgba(255, 255, 255, 0.1) !important;
  margin: 4px 0 !important;
}
.mobile-scene-controls {
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
  padding: 4px 6px !important;
}
.mobile-control-row {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
}
.mobile-control-label {
  font-size: 14px !important;
  font-weight: 500 !important;
  color: var(--text) !important;
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
}
.mobile-actions {
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
  padding-top: 4px !important;
}
.mobile-btn-full {
  width: 100% !important;
  height: 44px !important;
  font-size: 14px !important;
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS (SPEC STEP 6)
   ========================================================================== */
/* Breakpoint: >= 1100px: Everything in one row. No wrapping. */
@media (min-width: 1100px) {
  .nav-brand-sub {
    display: block !important;
  }
  .nav-links-list {
    display: flex !important;
  }
  .nav-scene-controls {
    display: flex !important;
  }
  .nav-divider {
    display: block !important;
  }
  .nav-cv-wrapper {
    display: inline-flex !important;
  }
  .nav-cv-wrapper .nav-btn-text {
    display: inline !important;
  }
  .nav-btn-primary {
    display: inline-flex !important;
  }
  .nav-hamburger {
    display: none !important;
  }
}

/* Breakpoint: 820px to 1099px */
@media (min-width: 820px) and (max-width: 1099px) {
  .nav-brand-sub {
    display: none !important; /* Hide FULL STACK DEVELOPER */
  }
  .nav-cv-wrapper .nav-btn-text {
    display: none !important; /* Hide CV text label, keep download icon with tooltip */
  }
  .nav-btn-secondary {
    padding: 0 12px !important;
  }
  .nav-links-list {
    display: flex !important;
    gap: 2px !important;
  }
  .nav-link {
    padding: 0 10px !important;
    font-size: 13.5px !important;
    gap: 6px !important;
  }
  .nav-scene-controls {
    display: flex !important;
  }
  .nav-btn-primary {
    display: inline-flex !important;
    padding: 0 14px !important;
  }
  .nav-hamburger {
    display: none !important;
  }
}

/* Breakpoint: < 820px */
@media (max-width: 819px) {
  .top-navbar {
    top: 12px !important;
    left: 12px !important;
    right: 12px !important;
    width: calc(100% - 24px) !important;
    height: 58px !important;
    min-height: 58px !important;
    max-height: 58px !important;
  }
  .nav-brand-sub {
    display: none !important;
  }
  .nav-links-list {
    display: none !important; /* Hide center 5 links in bar */
  }
  .nav-scene-controls {
    display: none !important; /* Hide scene controls from bar */
  }
  .nav-divider {
    display: none !important;
  }
  .nav-cv-wrapper {
    display: none !important;
  }
  .nav-btn-primary {
    padding: 0 12px !important;
    font-size: 12.5px !important;
    height: 38px !important;
  }
  .nav-hamburger {
    display: flex !important; /* 44px hamburger */
  }
}
