/* ==========================================================================
   DEVEN DANIL - 3D Event & Exhibition Designer Portfolio
   Architectural Studio Design System (Sharp, Geometric, Precision)
   ========================================================================== */

:root {
  /* =========================================================================
     HARMONIZED COLOR PALETTE: Black, White, Grey, Blue
     ========================================================================= */

  /* Pure Blacks & Obsidian Dark Surfaces */
  --color-black: #000000;
  --color-void: #07080c;
  --bg-dark: #090a0f;
  --bg-panel: #12151e;
  --bg-panel-elevated: #1a1e2a;
  --bg-panel-hover: #222736;
  --bg-panel-border: rgba(255, 255, 255, 0.10);
  --bg-panel-border-bright: rgba(255, 255, 255, 0.20);

  /* Architectural Greys */
  --grey-50: #f8fafc;
  --grey-100: #f1f5f9;
  --grey-200: #e2e8f0;
  --grey-300: #cbd5e1;
  --grey-400: #94a3b8;
  --grey-500: #64748b;
  --grey-600: #475569;
  --grey-700: #334155;
  --grey-800: #1e293b;
  --grey-900: #0f172a;

  /* Specific Card Component Greys */
  --card-image-grey: #484b54;
  --card-text-dark: #121316;
  --card-text-body: #4b5262;
  --card-btn-dark: #18191d;
  --card-btn-dark-hover: #26272e;

  /* Crisp Whites */
  --white-pure: #ffffff;
  --white-soft: #f8fafc;
  --white-dim: rgba(255, 255, 255, 0.72);
  --white-faint: rgba(255, 255, 255, 0.15);

  /* Signature Electric Sky Blue Palette (Unified Accent) */
  --accent-blue: #38bdf8;
  --accent-blue-hover: #0ea5e9;
  --accent-blue-light: #7dd3fc;
  --accent-blue-deep: #0284c7;
  --accent-blue-glow: rgba(56, 189, 248, 0.45);
  --accent-blue-subtle: rgba(56, 189, 248, 0.12);

  /* Supporting Accent */
  --accent-green: #22c55e;
  --accent-green-subtle: rgba(34, 197, 94, 0.12);

  /* Typography Tokens */
  --text-main: var(--white-soft);
  --text-muted: var(--grey-400);
  --text-dim: var(--grey-500);
  --font-primary: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-serif: 'Playfair Display', Didot, 'Bodoni MT', Georgia, serif;
  --font-mono: 'Space Grotesk', monospace;
  --transition-smooth: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  user-select: none;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  width: 100%;
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: var(--font-primary);
  -webkit-font-smoothing: antialiased;
}

/* Default state: Multi-page vertical scrolling enabled */
body {
  width: 100%;
  min-height: 100vh;
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: var(--font-primary);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  overflow-y: auto;
}

.app-root {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: radial-gradient(circle at 50% 25%, #141720 0%, #07080a 75%);
}

/* Fullscreen Hero 3D Section (Guaranteed 100vh Screen) */
.hero-3d-screen {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 100vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* Dark Gradient Scrim across top area for maximum text legibility when 3D rotates */
.hero-3d-screen::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 250px;
  background: linear-gradient(180deg, rgba(8, 9, 13, 0.95) 0%, rgba(8, 9, 13, 0.72) 55%, rgba(8, 9, 13, 0) 100%);
  pointer-events: none;
  z-index: 45;
}

/* ==========================================================================
   TOP NAVIGATION BAR (Left & Right Anchored)
   ========================================================================== */

.top-nav-bar {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  padding: 24px 38px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  z-index: 60;
  pointer-events: none;
}

.top-nav-bar>* {
  pointer-events: auto;
}

/* Top Left Branding Logo */
.brand-logo {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.brand-title-small {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-weight: 500;
  font-style: normal;
  letter-spacing: 0.3px;
  color: #ffffff;
  line-height: 1.15;
}

.brand-sub-im {
  font-family: var(--font-serif);
  font-weight: 400;
  font-style: italic;
  color: #cbd5e1;
}

.brand-name {
  font-family: var(--font-serif);
  font-weight: 600;
  letter-spacing: 0.8px;
  color: #ffffff;
  text-transform: uppercase;
}

.brand-subtitle-small {
  font-size: 0.82rem;
  font-weight: 400;
  color: #94a3b8;
  letter-spacing: 0.2px;
  margin-top: 3px;
}

/* ==========================================================================
   CENTER HERO BANNER (Distinct Section Below Top Navigation Bar)
   ========================================================================== */

.hero-center-banner {
  position: absolute;
  top: 76px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
  z-index: 55;
  pointer-events: none;
  width: 100%;
  max-width: 960px;
}

.hero-center-banner>* {
  pointer-events: auto;
}

.hero-headline {
  font-family: var(--font-serif);
  font-size: clamp(2.15rem, 3.4vw, 3.15rem);
  font-weight: 500;
  font-style: normal;
  color: #ffffff;
  line-height: 1.18;
  letter-spacing: -0.2px;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.85);
}

.cta-discuss-wrapper {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  z-index: 60;
}

.cta-discuss-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 24px;
  background: var(--accent-blue);
  border: none;
  border-radius: 8px;
  color: #000000;
  font-family: var(--font-primary);
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
  transition: var(--transition-smooth);
}

.cta-discuss-btn:hover {
  background: var(--accent-blue-hover);
  border-color: var(--accent-blue);
  color: #000000;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.5);
}

.discuss-chevron-icon {
  color: #000000;
  stroke: #000000;
  transition: transform 0.22s cubic-bezier(0.4, 0, 0.2, 1);
}

.cta-discuss-btn.active .discuss-chevron-icon {
  transform: rotate(180deg);
}

.btn-text {
  font-weight: 800;
}

/* Discuss Options Popover / Dropdown (Harmonized Architectural Glass Theme) */
.discuss-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  width: 320px;
  background: var(--bg-panel);
  border: 1px solid var(--bg-panel-border-bright);
    border-radius: 10px;
  padding: 12px;
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.65), 0 2px 10px rgba(0, 0, 0, 0.3);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  z-index: 100;
  text-align: left;
}

.discuss-dropdown.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.discuss-dropdown-header {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--accent-blue);
  padding: 4px 6px 8px 6px;
  border-bottom: 1px solid var(--bg-panel-border);
  margin-bottom: 8px;
}

.header-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-blue);
  box-shadow: 0 0 8px var(--accent-blue);
}

.discuss-options-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.discuss-option-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  background: var(--bg-panel-elevated);
  border: 1px solid var(--bg-panel-border);
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.18s ease;
  cursor: pointer;
}

.discuss-option-item:hover {
  background: var(--bg-panel-hover);
  border-color: var(--accent-blue-glow);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.5), 0 0 12px var(--accent-blue-subtle);
}

.discuss-option-item.whatsapp-option:hover {
  border-color: rgba(34, 197, 94, 0.4);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.5), 0 0 12px var(--accent-green-subtle);
}

.discuss-option-icon {
  width: 36px;
  height: 36px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.email-icon-box {
  background: var(--accent-blue-subtle);
  color: var(--accent-blue);
}

.whatsapp-icon-box {
  background: var(--accent-green-subtle);
  color: var(--accent-green);
}

.discuss-option-info {
  flex: 1;
  min-width: 0;
}

.discuss-option-name {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--white-pure);
  line-height: 1.2;
}

.discuss-option-val {
  font-size: 0.72rem;
  color: var(--grey-400);
  font-family: var(--font-mono);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  margin-top: 2px;
}

.discuss-option-action {
  color: var(--grey-500);
  display: flex;
  align-items: center;
  transition: color 0.15s ease, transform 0.15s ease;
}

.discuss-option-item:hover .discuss-option-action {
  color: var(--accent-blue);
  transform: translateX(3px);
}

.discuss-option-item.whatsapp-option:hover .discuss-option-action {
  color: var(--accent-green);
}

.discuss-dropdown-footer {
  margin-top: 10px;
  padding-top: 8px;
  border-top: none;
  text-align: center;
}

.discuss-inquiry-link {
  background: none;
  border: none;
  color: var(--accent-blue);
  font-family: var(--font-primary);
  font-size: 0.76rem;
  font-weight: 700;
  cursor: pointer;
  padding: 4px 6px;
  transition: color 0.15s ease;
  display: inline-block;
}

.discuss-inquiry-link:hover {
  color: var(--accent-blue-light);
  text-decoration: underline;
}

/* Modal Quick Channels Strip */
.modal-channels-strip {
  display: flex;
  gap: 10px;
  margin-bottom: 16px;
}

.modal-channel-wa,
.modal-channel-mail {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
  border: none;
  transition: var(--transition-smooth);
}

.modal-channel-wa {
  background: var(--accent-green);
  color: #000000;
}

.modal-channel-wa:hover {
  background: #16a34a;
  color: #ffffff;
  box-shadow: 0 4px 14px var(--accent-green-subtle);
}

.modal-channel-mail {
  background: var(--accent-blue);
  color: #000000;
}

.modal-channel-mail:hover {
  background: var(--accent-blue-hover);
  color: #000000;
  box-shadow: 0 4px 14px var(--accent-blue-glow);
}

.modal-divider-or {
  display: flex;
  align-items: center;
  text-align: center;
  margin: 14px 0 16px;
  color: #64748b;
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.modal-divider-or::before,
.modal-divider-or::after {
  content: '';
  flex: 1;
  border: none;
  height: 1px;
  background: #1e2535;
}

.modal-divider-or span {
  padding: 0 10px;
}

/* Hamburger Menu Button */
.menu-burger-btn {
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;
  transition: var(--transition-smooth);
}

.burger-line {
  width: 30px;
  height: 2px;
  background: #ffffff;
  border-radius: 0;
  transition: var(--transition-smooth);
}

.menu-burger-btn:hover .burger-line {
  background: var(--accent-blue);
}

/* ==========================================================================
   3D VIEWPORT & CANVAS
   ========================================================================== */

.viewport-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

/* Atmospheric Floating Outline Sky Keywords */
.viewport-sky-ambient {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 28px;
  padding-top: 30px;
  padding-bottom: 120px;
  mask-image: radial-gradient(ellipse 85% 65% at 50% 48%, black 30%, transparent 85%);
  -webkit-mask-image: radial-gradient(ellipse 85% 65% at 50% 48%, black 30%, transparent 85%);
  opacity: 0.9;
}

.sky-track-container {
  display: flex;
  width: 100%;
  overflow: hidden;
  user-select: none;
}

.sky-marquee-content {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-shrink: 0;
  padding-right: 32px;
  white-space: nowrap;
  animation: sky-marquee-drift 65s linear infinite;
  will-change: transform;
}

.sky-marquee-content.marquee-reverse {
  animation: sky-marquee-drift-reverse 75s linear infinite;
}

@keyframes sky-marquee-drift {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-100%);
  }
}

@keyframes sky-marquee-drift-reverse {
  from {
    transform: translateX(-100%);
  }

  to {
    transform: translateX(0);
  }
}

.sky-keyword {
  font-family: var(--font-primary);
  font-size: clamp(2.4rem, 5.2vw, 4.4rem);
  font-weight: 800;
  letter-spacing: 5px;
  color: transparent;
  -webkit-text-stroke: 1.2px rgba(255, 255, 255, 0.12);
  text-transform: uppercase;
  line-height: 1;
}

.sky-bullet {
  font-size: 1.1rem;
  color: rgba(56, 189, 248, 0.35);
  margin: 0 4px;
}

.track-bottom .sky-keyword {
  -webkit-text-stroke: 1.1px rgba(56, 189, 248, 0.15);
}

.viewport-canvas {
  position: relative;
  width: 100%;
  height: 100%;
  display: block;
  z-index: 2;
}

.viewport-canvas canvas {
  width: 100% !important;
  height: 100% !important;
  outline: none;
}

/* Hotspots Screen Overlay Container */
.hotspots-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
  z-index: 20;
}

.hotspots-overlay.edit-mode-active {
  pointer-events: none;
}

/* ==========================================================================
   HOTSPOT TEARDROP PINS & TOOLTIPS (Interactive Glow & Pulse Effect)
   ========================================================================== */

.hotspot-pin {
  position: absolute;
  top: 0;
  left: 0;
  transform: translate3d(0, 0, 0);
  pointer-events: auto;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: -16px;
  margin-top: -16px;
  width: 32px;
  height: 32px;
  z-index: 25;
  transition: transform 0.05s linear;
}

.hotspot-circle {
  width: 30px;
  height: 30px;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg) scale(var(--pin-scale, 1));
  background: var(--accent-blue);
  border: none;
  box-shadow: 0 0 16px var(--accent-blue-glow), 0 4px 14px rgba(0, 0, 0, 0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.2s ease, box-shadow 0.25s ease;
}

.hotspot-number {
  font-family: var(--font-primary);
  font-weight: 900;
  font-size: 0.92rem;
  color: #000000;
  line-height: 1;
  transform: rotate(45deg);
}

.hotspot-pulse {
  display: none !important;
  position: absolute;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--accent-blue-glow);
  opacity: 0.6;
  animation: hotspot-pulse-anim 2.4s infinite ease-out;
  pointer-events: none;
}

@keyframes hotspot-pulse-anim {
  0% {
    transform: scale(0.7);
    opacity: 0.6;
  }

  100% {
    transform: scale(1.6);
    opacity: 0;
  }
}

.hotspot-pin:hover .hotspot-circle,
.hotspot-pin.active .hotspot-circle {
  transform: rotate(-45deg) scale(1.22);
  background: var(--white-pure);
  box-shadow: 0 0 20px var(--accent-blue-glow), 0 6px 18px rgba(0, 0, 0, 0.85);
}

/* Draft / Hidden Pin Appearance (In Studio Editor) */
.hotspot-pin.is-draft {
  opacity: 0.72;
}

.hotspot-pin.is-draft .hotspot-circle {
  background: #f59e0b;
  box-shadow: 0 0 12px rgba(245, 158, 11, 0.4), 0 4px 10px rgba(0, 0, 0, 0.7);
  outline: 2px dashed rgba(254, 243, 199, 0.7);
  outline-offset: 2px;
}

.hotspot-pin.is-draft .hotspot-pulse {
  display: none !important;
  background: rgba(245, 158, 11, 0.35);
  animation-duration: 3.5s;
}

.hotspot-pin.is-draft .hotspot-number {
  color: #11141c;
}

.tooltip-draft-badge {
  background: #f59e0b;
  color: #11141c;
  font-weight: 800;
  font-size: 0.65rem;
  padding: 1px 5px;
  border-radius: 3px;
  margin-right: 5px;
  letter-spacing: 0.5px;
}

/* Tooltip on Hover */
.hotspot-tooltip {
  position: absolute;
  bottom: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  background: var(--bg-panel);
  border: 1px solid var(--bg-panel-border-bright);
  border-radius: 8px;
  padding: 10px 14px;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s ease;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.7);
  z-index: 30;
}

.hotspot-tooltip::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border-width: 5px;
  border-style: solid;
  border-color: #11141c transparent transparent transparent;
}

.hotspot-pin:hover .hotspot-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.tooltip-tag {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--accent-blue);
}

.tooltip-title {
  font-size: 0.86rem;
  font-weight: 600;
  color: #ffffff;
  margin-top: 2px;
}

.tooltip-sub {
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-top: 3px;
}

/* ==========================================================================
   NAVIGATION ARROWS (Clean Architectural Chevrons)
   ========================================================================== */

.nav-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 40;
  padding: 16px;
  outline: none;
  transition: transform 0.2s ease;
}

.nav-arrow-left {
  left: 18px;
}

.nav-arrow-right {
  right: 18px;
}

.arrow-shape {
  width: 38px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  background: #0f121a;
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 4px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  transition: var(--transition-smooth);
}

.left-arrow-poly { clip-path: none; }

.right-arrow-poly { clip-path: none; }

.arrow-shape svg {
  width: 24px;
  height: 24px;
}

.nav-arrow:hover .arrow-shape {
  background: #1e2433;
  color: var(--accent-blue);
}

.nav-arrow-left:hover {
  transform: translateY(-50%) translateX(-4px);
}

.nav-arrow-right:hover {
  transform: translateY(-50%) translateX(4px);
}

.nav-arrow:active {
  transform: translateY(-50%) scale(0.95);
}

/* Nav arrows disabled / loading state */
.nav-arrow.btn-loading {
  opacity: 0.55;
  pointer-events: none;
  cursor: wait;
}

.nav-arrow.btn-loading .arrow-shape {
  box-shadow: 0 0 16px var(--accent-blue-subtle);
  border: 1px solid rgba(56, 189, 248, 0.35);
}

/* ==========================================================================
   MINIMALIST RECTANGLE LOADING STRIP (Simple, Solid, Clean)
   ========================================================================== */

.viewport-loader {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 55;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.viewport-loader.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.loader-strip {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: #0f121a;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 4px;
  padding: 7px 14px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5);
  user-select: none;
}

.loader-indicator {
  width: 6px;
  height: 6px;
  background: var(--accent-blue);
  border-radius: 1px;
  animation: loader-pulse-square 0.9s ease-in-out infinite alternate;
}

@keyframes loader-pulse-square {
  0% {
    opacity: 0.35;
    transform: scale(0.85);
  }
  100% {
    opacity: 1;
    transform: scale(1.15);
  }
}

.loader-text {
  font-family: var(--font-primary);
  font-size: 0.80rem;
  font-weight: 600;
  color: #f1f5f9;
  letter-spacing: 0.2px;
  white-space: nowrap;
}


/* ==========================================================================
   BOTTOM FLOATING DOCK WRAPPER & TOGGLE ACTION
   ========================================================================== */

.bottom-dock-wrapper {
  position: fixed;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7px;
  z-index: 50;
  pointer-events: none;
  transition: all 0.3s ease;
}

.bottom-dock-wrapper>* {
  pointer-events: auto;
}

.bottom-dock {
  position: relative;
  bottom: auto;
  left: auto;
  transform: none;
  width: auto;
  min-width: 360px;
  max-width: 820px;
  background: #0f121a;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 10px 18px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 16px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.6);
  transition: var(--transition-smooth);
}

/* Action Button: Down Arrow (Scroll Down) / Cube Icon (Bring to 1st Page) */
.btn-learn-more {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #0b0e16;
  border: 1.5px solid rgba(255, 255, 255, 0.45);
  color: #ffffff;
  cursor: pointer;
  padding: 0;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5);
  animation: arrow-bounce-subtle 2.2s ease-in-out infinite;
}

@keyframes arrow-bounce-subtle {

  0%,
  100% {
    transform: translateY(0);
    border-color: rgba(255, 255, 255, 0.45);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5);
  }

  50% {
    transform: translateY(3px);
    border-color: rgba(255, 255, 255, 0.85);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.7);
  }
}

.btn-learn-more:hover {
  background: var(--accent-blue);
  border-color: var(--accent-blue);
  color: #000000;
  transform: scale(1.15);
  animation-play-state: paused;
}

.arrow-down-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: inherit;
  transition: transform 0.2s ease, color 0.2s ease;
}

.btn-learn-more:hover .arrow-down-icon {
  color: #000000;
  transform: translateY(2px);
}

.cube-icon {
  display: none;
  color: #ffffff;
  transition: transform 0.25s ease, color 0.2s ease;
}

/* Tooltip on hover for the small button */
.btn-learn-more::after {
  content: 'Scroll Down (Services & About)';
  position: absolute;
  top: calc(100% + 7px);
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  background: var(--bg-panel);
  border: 1px solid var(--bg-panel-border-bright);
    color: var(--white-pure);
  font-family: var(--font-primary);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.3px;
  padding: 4px 10px;
  border-radius: 5px;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5);
  z-index: 60;
}

.btn-learn-more:hover::after {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

/* When in active state (Cube Icon while scrolled down: brings to 1st page) */
.btn-learn-more.active {
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: 50%;
  background: #0b0e16;
  border: 1.5px solid var(--accent-blue);
  animation: cube-float-pulse 2s ease-in-out infinite;
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.65), 0 0 16px var(--accent-blue-subtle);
}

@keyframes cube-float-pulse {

  0%,
  100% {
    transform: translateY(0) scale(1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.6);
  }

  50% {
    transform: translateY(-2px) scale(1.06);
    box-shadow: 0 8px 26px rgba(0, 0, 0, 0.75);
  }
}

.btn-learn-more.active:hover {
  background: var(--accent-blue);
  border-color: var(--accent-blue);
  color: #000000;
}

.btn-learn-more.active:hover .cube-icon {
  color: #000000;
  transform: rotate(15deg) scale(1.1);
}

.btn-learn-more.active::after {
  content: 'Back to 3D Showcase (Top)';
}

.btn-learn-more.active .arrow-down-icon {
  display: none;
}

.btn-learn-more.active .cube-icon {
  display: block;
}

/* Smooth hide of the 3D bottom dock when scrolled down into portfolio section */
body.scrolled-past-hero .bottom-dock {
  display: none;
}

body.scrolled-past-hero .bottom-dock-wrapper {
  bottom: 24px;
}

/* Pointy indicator arrow on top edge of bottom bar */
.bottom-dock::before {
  content: '';
  position: absolute;
  top: -9px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 18px;
  height: 18px;
  background: #12151e;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  border-left: 1px solid rgba(255, 255, 255, 0.14);
  pointer-events: none;
  z-index: 0;
}

.dock-left {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  text-align: left;
  white-space: nowrap;
}

.dock-title {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--white-pure);
  letter-spacing: 0.1px;
  line-height: 1.2;
  text-align: left;
}

.dock-credit {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--grey-400);
  margin-top: 2px;
  opacity: 0.9;
  text-align: left;
}

/* Single Thumbnail Trigger Button in Dock (Left) */
.dock-thumb-trigger {
  position: relative;
  z-index: 1;
  background: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
  display: block;
  flex-shrink: 0;
}

.thumb-trigger-inner {
  position: relative;
  width: 82px;
  height: 52px;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
  transition: var(--transition-smooth);
}

.thumb-trigger-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.thumb-trigger-badge {
  position: absolute;
  bottom: 4px;
  right: 4px;
  background: var(--accent-blue);
  color: #000000;
  width: 20px;
  height: 20px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
  pointer-events: none;
  transition: transform 0.22s ease, background 0.2s ease, color 0.2s ease;
}

.dock-arrow-icon {
  width: 13px;
  height: 13px;
  stroke: #000000;
  transition: transform 0.22s ease, stroke 0.2s ease;
}

.dock-thumb-trigger:hover .thumb-trigger-inner {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.6);
}

.dock-thumb-trigger:hover .thumb-trigger-badge {
  background: var(--white-pure);
  color: #000000;
}

.dock-thumb-trigger:hover .dock-arrow-icon {
  stroke: #000000;
  transform: translateY(-1px);
}

.dock-thumb-trigger[aria-expanded="true"] .dock-arrow-icon {
  transform: rotate(180deg);
}

/* EXPANDABLE 4-IMAGE GALLERY TRAY */
.dock-gallery-tray {
  position: absolute;
  bottom: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  width: 440px;
  max-width: calc(100vw - 32px);
  background: #0f121a;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 14px 16px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.7);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  z-index: 65;
  text-align: left;
}

.dock-gallery-tray.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.gallery-tray-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.gallery-tray-title {
  font-family: var(--font-serif);
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--white-pure);
  letter-spacing: 0.2px;
}

.tray-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-blue);
  box-shadow: 0 0 8px var(--accent-blue);
}

.close-tray-btn {
  background: transparent;
  border: none;
  color: var(--grey-400);
  font-size: 1.4rem;
  cursor: pointer;
  line-height: 1;
  padding: 2px 6px;
  transition: color 0.15s ease;
}

.close-tray-btn:hover {
  color: var(--white-pure);
}

.gallery-tray-hint {
  font-size: 0.72rem;
  color: var(--grey-400);
  margin-top: 1px;
  margin-bottom: 12px;
}

.dock-gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  width: 100%;
}

.thumb-card {
  width: 100%;
  height: 58px;
  border-radius: 6px;
  overflow: hidden;
  border: none;
  cursor: pointer;
  background: #f8fafc;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
  transition: var(--transition-smooth);
  position: relative;
}

.thumb-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.thumb-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.45);
}

.thumb-card.active {
  outline: 2px solid #38bdf8; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
  transform: translateY(-1px);
}

/* ==========================================================================
   MODALS (Hotspot Detail & Contact Me - Sharp Architectural Panels)
   ========================================================================== */

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-smooth);
  padding: 20px;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-card {
  position: relative;
  background: #11141c;
  border: none;
  border-radius: 8px;
  padding: 32px;
  width: 100%;
  max-width: 540px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.9);
  transform: translateY(16px);
  transition: var(--transition-smooth);
}

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

.close-modal {
  position: absolute;
  top: 18px;
  right: 18px;
  background: #151924;
  border: none;
  color: #9ca3af;
  width: 32px;
  height: 32px;
  border-radius: 6px;
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.close-modal:hover {
  background: #202636;
  color: #ffffff;
}

/* Detail Modal Specifics */
.detail-header {
  margin-bottom: 16px;
}

.detail-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.badge-num {
  width: 22px;
  height: 22px;
  background: var(--accent-blue);
  color: #070b14;
  font-weight: 800;
  font-size: 0.8rem;
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.badge-tag {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--accent-blue);
  font-weight: 700;
}

.detail-title {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-weight: 500;
  color: #ffffff;
}

.detail-description {
  color: #d1d5db;
  font-size: 0.92rem;
  line-height: 1.6;
  margin-bottom: 20px;
}

/* Detail Modal Image */
.detail-modal-card {
  max-height: 90vh;
  overflow-y: auto;
}

.detail-modal-img-wrap {
  position: relative;
  width: 100%;
  max-height: 220px;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 20px;
  background: #07090e;
  border: 1px solid rgba(255, 255, 255, 0.1);
  cursor: pointer;
  transition: transform var(--transition-smooth), border-color var(--transition-smooth), box-shadow var(--transition-smooth);
}

.detail-modal-img-wrap:hover {
  border-color: var(--accent-blue);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6), 0 0 16px rgba(0, 240, 255, 0.18);
}

.detail-modal-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.detail-modal-img-wrap:hover .detail-modal-img {
  transform: scale(1.04);
}

.img-zoom-hint {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: rgba(11, 14, 20, 0.82);
    border: 1px solid rgba(255, 255, 255, 0.18);
  color: #ffffff;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 5px;
  pointer-events: none;
  transition: all 0.25s ease;
}

.detail-modal-img-wrap:hover .img-zoom-hint {
  background: var(--accent-blue);
  color: #070b14;
  border-color: var(--accent-blue);
  font-weight: 700;
}

.specs-box {
  background: #0b0e14;
  border: none;
  border-radius: 6px;
  padding: 16px;
  margin-bottom: 24px;
}

.specs-box h4 {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.specs-grid {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.spec-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  padding-bottom: 6px;
  border-bottom: none;
}

.spec-label {
  color: var(--text-muted);
}

.spec-value {
  color: #ffffff;
  font-weight: 600;
}

.modal-actions {
  display: flex;
  justify-content: flex-end;
}

.action-btn {
  padding: 9px 20px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.88rem;
  cursor: pointer;
  background: #1a1e29;
  border: none;
  color: #ffffff;
  transition: var(--transition-smooth);
}

.action-btn.primary-action {
  background: var(--accent-blue);
  border: none;
  color: #000000;
  font-weight: 800;
}

.action-btn:hover {
  filter: brightness(1.1);
}

/* Contact Modal Details */
.bubble-pill-small {
  display: inline-block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 700;
  color: var(--accent-blue);
  margin-bottom: 6px;
}

.modal-hero h2 {
  font-family: var(--font-serif);
  font-size: 1.65rem;
  font-weight: 500;
  color: var(--white-pure);
  letter-spacing: -0.2px;
}

.modal-hero p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 4px;
  margin-bottom: 20px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 0.78rem;
  color: var(--grey-400);
  font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
  background: var(--bg-panel-elevated);
  border: 1px solid var(--bg-panel-border);
  border-radius: 6px;
  padding: 10px 12px;
  color: var(--white-pure);
  font-family: var(--font-primary);
  font-size: 0.88rem;
  outline: none;
  transition: var(--transition-smooth);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent-blue);
  box-shadow: 0 0 0 2px var(--accent-blue-glow);
}

.submit-btn {
  margin-top: 6px;
  padding: 12px;
  background: var(--accent-blue);
  border: none;
  border-radius: 6px;
  color: #000000;
  font-weight: 800;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
  transition: var(--transition-smooth);
}

.submit-btn:hover {
  background: var(--accent-blue-hover);
  color: #000000;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.5);
}

.social-channels {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 20px;
  padding-top: 16px;
  border-top: none;
}

.social-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 600;
  transition: var(--transition-smooth);
}

.social-link:hover {
  color: #ffffff;
}

/* ==========================================================================
   SIDE NAVIGATION DRAWER
   ========================================================================== */

.side-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 360px;
  max-width: 88vw;
  height: 100vh;
  background: rgba(15, 18, 25, 0.96);
  border-left: 1px solid rgba(255, 255, 255, 0.12);
    z-index: 110;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  box-shadow: -14px 0 44px rgba(0, 0, 0, 0.85);
}

.side-drawer.active {
  transform: translateX(0);
}

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 26px 24px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.drawer-header h3 {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--white-pure);
  letter-spacing: 0.3px;
}

.close-drawer {
  background: transparent;
  border: none;
  color: var(--grey-400);
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 6px;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.close-drawer:hover {
  color: var(--white-pure);
  background: rgba(255, 255, 255, 0.08);
}

.drawer-content {
  padding: 28px 24px;
  overflow-y: auto;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.drawer-nav-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.drawer-nav-link-btn {
  width: 100%;
  padding: 15px 18px;
  border-radius: 8px;
  background: #141724;
  border: none;
  color: var(--white-pure);
  font-family: var(--font-primary);
  font-size: 0.95rem;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.2s ease;
  box-shadow: none;
}

.drawer-btn-label {
  display: flex;
  align-items: center;
  gap: 12px;
}

.drawer-btn-num {
  font-family: var(--font-mono);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--accent-blue);
  opacity: 0.9;
}

.drawer-link-arrow {
  font-size: 1.25rem;
  color: var(--accent-blue);
  transition: transform 0.2s ease;
}

.drawer-nav-link-btn:hover {
  background: #1b2032;
  color: var(--accent-blue);
  border: none;
  box-shadow: none;
  transform: translateX(4px);
}

.drawer-nav-link-btn:hover .drawer-link-arrow {
  transform: translateX(4px);
}

.drawer-nav-link-btn:active {
  transform: scale(0.98);
}

/* ==========================================================================
   RENDER IMAGE LIGHTBOX MODAL (Enlarged Preview - Sharp Architectural Layout)
   ========================================================================== */

.lightbox-overlay {
  background: rgba(6, 8, 12, 0.96);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px;
}

.lightbox-container {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 90vw;
  max-height: 88vh;
}

.lightbox-image-wrapper {
  position: relative;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.95);
  border: none;
  background: #0a0c10;
  max-width: 100%;
  max-height: calc(88vh - 50px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-image-wrapper img {
  max-width: 86vw;
  max-height: calc(82vh - 50px);
  object-fit: contain;
  display: block;
}

.lightbox-caption {
  margin-top: 14px;
  display: flex;
  align-items: center;
  gap: 16px;
  background: #11141c;
  border: none;
  padding: 6px 18px;
  border-radius: 6px;
}

.caption-title {
  font-family: var(--font-serif);
  color: #ffffff;
  font-weight: 500;
  font-size: 0.98rem;
}

.caption-counter {
  color: #38bdf8;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.82rem;
}

.close-lightbox-btn {
  position: absolute;
  top: 24px;
  right: 28px;
  background: #141824;
  border: none;
  color: #ffffff;
  width: 40px;
  height: 40px;
  border-radius: 6px;
  font-size: 1.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 210;
  transition: var(--transition-smooth);
}

.close-lightbox-btn:hover {
  background: #202636;
}

.lightbox-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #141824;
  border: none;
  color: #ffffff;
  width: 48px;
  height: 48px;
  border-radius: 6px;
  font-size: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 210;
  transition: var(--transition-smooth);
}

.lightbox-nav-btn.prev-btn {
  left: 30px;
}

.lightbox-nav-btn.next-btn {
  right: 30px;
}

.lightbox-nav-btn:hover {
  background: #202636;
  color: #38bdf8;
}

/* ==========================================================================
   SERVICES SECTION (Clean White / Architectural Graphite Palette)
   ========================================================================== */

.services-section {
  position: relative;
  width: 100%;
  background: #000000;
  padding: 100px 24px 180px;
  z-index: 20;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.services-container {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Serif Headline matching reference */
.services-headline-serif {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 5.2vw, 3.8rem);
  font-weight: 500;
  color: #ffffff;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  text-align: center;
  margin-bottom: 32px;
  line-height: 1.15;
}

/* Service Nav Tabs (3 Category Buttons) */
.services-nav-tabs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 50px;
  flex-wrap: wrap;
  z-index: 10;
}

.service-nav-tab {
  background: #181c26;
  color: var(--grey-300);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 13px 32px;
  font-family: var(--font-primary);
  font-size: 0.96rem;
  font-weight: 700;
  cursor: pointer;
  outline: none;
  transition: all 0.3s cubic-bezier(0.2, 0.9, 0.3, 1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
  user-select: none;
}

.service-nav-tab:hover {
  background: #242a38;
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
  color: var(--white-pure);
}

.service-nav-tab.active {
  background: var(--accent-blue);
  color: #000000;
  border-color: var(--accent-blue);
  box-shadow: 0 0 24px var(--accent-blue-glow), 0 4px 14px rgba(0, 0, 0, 0.4);
  transform: translateY(-2px) scale(1.02);
  font-weight: 800;
}

/* 3D Perspective Stage */
.services-3d-stage {
  perspective: 1300px;
  perspective-origin: 50% 40%;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  padding-bottom: 180px;
  /* Space for the floor reflection */
  touch-action: pan-y;
  user-select: none;
  outline: none;
}

.services-3d-carousel {
  position: relative;
  width: 100%;
  height: 560px;
  transform-style: preserve-3d;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: grab;
  user-select: none;
  touch-action: pan-y;
  transition: transform 0.45s cubic-bezier(0.2, 0.9, 0.3, 1);
}

.services-3d-carousel.is-dragging {
  cursor: grabbing !important;
  transition: none !important;
}

.services-3d-carousel.is-dragging .service-card-slot {
  pointer-events: none;
  user-select: none;
  transition: none !important;
}

body.is-services-dragging {
  cursor: grabbing !important;
  user-select: none !important;
}

/* Service Card Slot & 3D Positions */
.service-card-slot {
  position: absolute;
  top: 0;
  width: 350px;
  max-width: 90vw;
  height: 530px;
  transform-style: preserve-3d;
  transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.5s ease,
    z-index 0.5s step-end;
  cursor: grab;
  user-select: none;
  touch-action: pan-y;
  will-change: transform;
}

/* Center position: Facing forward directly at 1:1 pixel scale (Zero Blur) */
.service-card-slot.pos-center {
  transform: translateX(0px) translateZ(0px) rotateY(0deg) scale(1);
  z-index: 30;
  opacity: 1;
  cursor: grab;
}

/* Left position: Flipped inward facing toward middle with 3D perspective */
.service-card-slot.pos-left {
  transform: translateX(-360px) translateZ(-70px) rotateY(-28deg) scale(0.93);
  z-index: 20;
  opacity: 0.92;
  cursor: pointer;
}

.service-card-slot.pos-left:hover {
  opacity: 1;
  transform: translateX(-350px) translateZ(-45px) rotateY(-22deg) scale(0.95);
}

.service-card-slot.pos-left:hover .service-3d-card {
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.85);
}

/* Far Left position (tucked behind the left card) */
.service-card-slot.pos-far-left {
  transform: translateX(-430px) translateZ(-140px) rotateY(-32deg) scale(0.86);
  z-index: 10;
  opacity: 0.65;
  cursor: pointer;
}

.service-card-slot.pos-far-left:hover {
  opacity: 0.85;
  transform: translateX(-410px) translateZ(-105px) rotateY(-27deg) scale(0.89);
}

.service-card-slot.pos-far-left:hover .service-3d-card {
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.85);
}

/* Right position: Flipped inward facing toward middle with 3D perspective */
.service-card-slot.pos-right {
  transform: translateX(360px) translateZ(-70px) rotateY(28deg) scale(0.93);
  z-index: 20;
  opacity: 0.92;
  cursor: pointer;
}

.service-card-slot.pos-right:hover {
  opacity: 1;
  transform: translateX(350px) translateZ(-45px) rotateY(22deg) scale(0.95);
}

.service-card-slot.pos-right:hover .service-3d-card {
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.85);
}

/* Far Right position (tucked behind the right card) */
.service-card-slot.pos-far-right {
  transform: translateX(430px) translateZ(-140px) rotateY(32deg) scale(0.86);
  z-index: 10;
  opacity: 0.65;
  cursor: pointer;
}

.service-card-slot.pos-far-right:hover {
  opacity: 0.85;
  transform: translateX(410px) translateZ(-105px) rotateY(27deg) scale(0.89);
}

.service-card-slot.pos-far-right:hover .service-3d-card {
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.85);
}

/* Service 3D Card Face - 100% Native Normal Sharpness */
.service-3d-card {
  position: relative;
  z-index: 3;
  width: 100%;
  height: 100%;
  background: #ffffff;
  border-radius: 22px;
  padding: 16px 18px 20px 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #111111;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.85),
    0 0 1px rgba(255, 255, 255, 0.4);
  overflow: visible;
  user-select: none;
  -webkit-user-select: none;
  touch-action: pan-y;
  transition: box-shadow 0.3s ease;
  transform: translateZ(0);
  backface-visibility: hidden;
  -webkit-font-smoothing: subpixel-antialiased;
  text-rendering: optimizeLegibility;
}

.service-3d-card img {
  pointer-events: none;
  -webkit-user-drag: none;
  image-rendering: -webkit-optimize-contrast;
}

/* Top Grey Image Area Placeholder */
.card-image-box {
  width: 100%;
  height: 215px;
  background: #48484a;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.35);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}

.card-image-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-3d-card:hover .card-image-box img {
  transform: scale(1.035);
}

.image-box-label {
  opacity: 0;
  transition: opacity 0.2s ease;
}

.card-image-box:hover .image-box-label {
  opacity: 0.8;
}

/* Card Content Area */
.card-content-wrap {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
  padding: 12px 6px 10px 6px;
}

/* Feature Item Row */
.card-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.feature-dot {
  font-size: 1.1rem;
  line-height: 1.2;
  color: #111111;
  font-weight: 900;
  flex-shrink: 0;
}

.feature-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.feature-title {
  font-family: var(--font-primary);
  font-size: 0.88rem;
  font-weight: 800;
  color: #111111;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  margin: 0;
  line-height: 1.2;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

.feature-desc {
  font-family: var(--font-primary);
  font-size: 0.80rem;
  font-weight: 500;
  color: #4b5563;
  line-height: 1.35;
  margin: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* Bottom Consult Now Button & Popover Options */
.card-action-bar {
  position: relative;
  width: 100%;
  margin-top: auto;
  padding-top: 8px;
}

.card-consult-action {
  width: 100%;
  padding: 13px 18px;
  background: #1e1e20;
  color: #38bdf8;
  border: 1.5px solid transparent;
  border-radius: 10px;
  font-family: var(--font-primary);
  font-size: 1.02rem;
  font-weight: 800;
  cursor: pointer;
  text-align: center;
  outline: none;
  transition: all 0.22s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

.card-consult-action:hover,
.card-consult-action.active {
  background: #2b2b2e;
  color: #7dd3fc;
  border-color: transparent;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5);
  transform: translateY(-1px);
}

.consult-chevron-icon {
  width: 16px;
  height: 16px;
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  color: #38bdf8;
  flex-shrink: 0;
}

.card-consult-action.active .consult-chevron-icon {
  transform: rotate(180deg);
}

/* Consult Dropdown on 3D Card (Matches Contact Method Dropdown with zero form) */
.card-consult-dropdown {
  position: absolute;
  bottom: calc(100% + 10px);
  left: 0;
  width: 100%;
  background: rgba(15, 18, 25, 0.98);
  border: 1px solid var(--bg-panel-border-bright);
    -webkit-  border-radius: 12px;
  padding: 12px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.9), 0 0 24px rgba(56, 189, 248, 0.2);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s;
  z-index: 100;
  text-align: left;
  box-sizing: border-box;
}

.card-consult-dropdown.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.card-consult-dropdown .discuss-dropdown-header {
  color: var(--accent-blue);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.card-consult-dropdown .discuss-option-item {
  background: rgba(26, 31, 46, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.card-consult-dropdown .discuss-option-item:hover {
  background: rgba(33, 40, 60, 1);
  border-color: rgba(56, 189, 248, 0.5);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.6), 0 0 14px rgba(56, 189, 248, 0.25);
}

.card-consult-dropdown .discuss-option-item.whatsapp-option:hover {
  border-color: rgba(34, 197, 94, 0.5);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.6), 0 0 14px rgba(34, 197, 94, 0.25);
}

/* Clear Transparent Floor Reflection (Zero Blur) */
/* Realistic Mirror Floor Reflection matching reference */
.card-floor-reflection {
  position: absolute;
  top: calc(100% - 1px);
  left: 0;
  width: 100%;
  height: 240px;
  transform: scaleY(-1);
  transform-origin: center;
  opacity: 0.58;
  filter: blur(2px);
  pointer-events: none;
  user-select: none;
  -webkit-mask-image: linear-gradient(to top, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0.55) 45%, rgba(0, 0, 0, 0) 88%);
  mask-image: linear-gradient(to top, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0.55) 45%, rgba(0, 0, 0, 0) 88%);
  overflow: hidden;
  border-radius: 22px;
  z-index: 2;
}

.reflection-card-body {
  width: 100%;
  height: 100%;
  background: #ffffff;
  border-radius: 22px;
  padding: 8px 18px 12px 18px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  box-sizing: border-box;
  overflow: hidden;
}

.reflection-card-body .card-content-wrap {
  flex: 0 0 auto;
  padding: 0 6px 10px 6px;
}

.reflection-card-body .card-action-bar {
  margin-top: 0;
  padding-top: 0;
}

.reflection-card-body .card-consult-action {
  pointer-events: none;
  box-shadow: none;
}

/* Responsive adjustments for 3D cards */
/* Responsive adjustments for 3D cards */
@media (max-width: 1100px) {
  .service-card-slot {
    width: 320px;
    height: 510px;
  }

  .service-card-slot.pos-left {
    transform: translateX(-280px) translateZ(-60px) rotateY(-24deg) scale(0.9);
  }

  .service-card-slot.pos-far-left {
    transform: translateX(-340px) translateZ(-110px) rotateY(-28deg) scale(0.83);
  }

  .service-card-slot.pos-right {
    transform: translateX(280px) translateZ(-60px) rotateY(24deg) scale(0.9);
  }

  .service-card-slot.pos-far-right {
    transform: translateX(340px) translateZ(-110px) rotateY(28deg) scale(0.83);
  }
}

@media (max-width: 768px) {
  .services-section {
    padding: 70px 16px 140px;
  }

  .services-headline-serif {
    font-size: 2.2rem;
    margin-bottom: 24px;
  }

  .services-nav-tabs {
    gap: 10px;
    margin-bottom: 36px;
  }

  .service-nav-tab {
    padding: 10px 18px;
    font-size: 0.86rem;
  }

  .services-3d-stage {
    perspective: 900px;
    padding-bottom: 90px;
  }

  .services-3d-carousel {
    height: 520px;
  }

  .service-card-slot {
    width: 290px;
    height: 480px;
  }

  .card-image-box {
    height: 175px;
  }

  .service-card-slot.pos-left {
    transform: translateX(-175px) translateZ(-80px) rotateY(-20deg) scale(0.82);
    opacity: 0.7;
  }

  .service-card-slot.pos-far-left {
    transform: translateX(-215px) translateZ(-125px) rotateY(-24deg) scale(0.75);
    opacity: 0.42;
  }

  .service-card-slot.pos-right {
    transform: translateX(175px) translateZ(-80px) rotateY(20deg) scale(0.82);
    opacity: 0.7;
  }

  .service-card-slot.pos-far-right {
    transform: translateX(215px) translateZ(-125px) rotateY(24deg) scale(0.75);
    opacity: 0.42;
  }
}

/* ==========================================================================
   ABOUT ME SECTION (Page 3: Biography, Studio Portrait, Portfolio & Socials)
   ========================================================================== */

.about-section {
  position: relative;
  width: 100%;
  background: #000000;
  padding: 120px 48px 220px;
  z-index: 20;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

/* Interactive Bendable Wireframe Background */
.about-wireframe-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  display: block;
}

.about-container {
  position: relative;
  z-index: 2;
  max-width: 1160px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 52px;
}

/* --- Top Row: Big Title & Profile Lockup --- */
.about-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding-bottom: 8px;
}

.about-main-title {
  font-family: var(--font-serif);
  font-size: clamp(3rem, 5.8vw, 4.6rem);
  font-weight: 500;
  color: #ffffff;
  letter-spacing: 0.04em;
  line-height: 1;
  text-transform: uppercase;
  margin: 0;
}

.about-profile-badge {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-shrink: 0;
}

.about-avatar-wrap {
  width: 96px;
  height: 96px;
  flex-shrink: 0;
  border-radius: 18px;
  overflow: hidden;
  background: #181a20;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.about-avatar-wrap:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.6);
}

.about-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
  display: block;
  transition: transform 0.5s ease;
}

.about-avatar-wrap:hover .about-avatar-img {
  transform: scale(1.04);
}

.about-profile-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.about-profile-name {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 600;
  color: #ffffff;
  letter-spacing: 0.04em;
  line-height: 1.15;
  margin: 0;
}

.about-profile-role {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1rem;
  color: #e2e8f0;
  line-height: 1.25;
  margin: 0;
}

.about-profile-location {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  color: #94a3b8;
  margin-top: 5px;
}

.about-profile-location svg {
  color: #cbd5e1;
  flex-shrink: 0;
}

/* --- Main Body: 2 Columns --- */
.about-body-grid {
  display: grid;
  grid-template-columns: 1.18fr 0.82fr;
  gap: 72px;
  align-items: start;
}

/* Left Column: Bio & Vertical Stats */
.about-col-left {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.about-bio-lead {
  font-family: var(--font-primary);
  font-size: 1.05rem;
  font-weight: 400;
  color: #f1f5f9;
  line-height: 1.68;
  max-width: 520px;
  margin: 0;
}

.about-vertical-stats {
  border-left: 2.5px solid var(--accent-blue);
  padding-left: 22px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.about-stat-row {
  display: flex;
  align-items: baseline;
  gap: 16px;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.about-stat-row:hover {
  transform: translateX(5px);
}

.about-stat-value {
  font-family: var(--font-primary);
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--accent-blue);
  line-height: 1;
  letter-spacing: -0.5px;
  min-width: 54px;
}

.about-stat-label {
  font-family: var(--font-primary);
  font-style: italic;
  font-size: 1.18rem;
  font-weight: 500;
  color: var(--white-pure);
  letter-spacing: 0.2px;
}

/* Right Column: Portfolio and Social Tiles */
.about-col-right {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.about-social-heading {
  font-family: var(--font-primary);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white-pure);
  text-align: center;
  margin: 0;
  letter-spacing: -0.2px;
}

.about-tiles-grid {
  display: grid;
  grid-template-columns: repeat(3, 102px);
  grid-template-rows: repeat(2, 102px);
  gap: 16px;
  justify-content: center;
}

.about-tile-btn {
  width: 102px;
  height: 102px;
  background: var(--white-pure);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #000000;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.45);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
    background-color 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.about-tile-btn svg,
.about-tile-btn img {
  color: #000000;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  display: block;
}

.about-tile-btn img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.about-tile-btn:hover {
  transform: translateY(-6px) scale(1.04);
  background-color: var(--white-pure);
  border-color: var(--accent-blue);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.6), 0 0 20px var(--accent-blue-glow);
}

.about-tile-btn:hover svg,
.about-tile-btn:hover img {
  transform: scale(1.08);
}

.about-tile-btn:active {
  transform: translateY(-2px) scale(0.97);
  transition-duration: 0.1s;
}

/* --- Bottom Actions: WhatsApp & Email --- */
.about-action-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  margin-top: 24px;
}

.about-pill-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-blue);
  color: #000000;
  text-decoration: none;
  padding: 13px 28px;
  border-radius: 14px;
  font-family: var(--font-primary);
  font-size: 0.96rem;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
    background-color 0.25s ease,
    box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.about-pill-btn:hover {
  background: var(--accent-blue-hover);
  color: #000000;
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 10px 26px var(--accent-blue-glow);
}

.about-pill-btn:active {
  transform: translateY(0) scale(0.98);
  transition-duration: 0.1s;
}

.about-pill-btn .pill-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #000000;
}

.about-pill-btn .pill-icon img {
  width: 22px;
  height: 22px;
  object-fit: contain;
  display: block;
}

.about-pill-btn .pill-divider {
  width: 1px;
  height: 20px;
  background: rgba(0, 0, 0, 0.25);
  margin: 0 14px;
  display: inline-block;
}

.about-pill-btn .pill-text {
  color: #000000;
  font-weight: 800;
  letter-spacing: 0.2px;
  white-space: nowrap;
}

/* Responsive Overrides */
@media (max-width: 1100px) {
  .services-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    max-width: 680px;
    margin: 0 auto;
  }

  .about-body-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .about-col-right {
    align-items: flex-start;
  }

  .about-social-heading {
    text-align: left;
  }

  .about-tiles-grid {
    justify-content: flex-start;
  }

  .about-action-buttons {
    justify-content: flex-start;
  }
}

@media (max-width: 768px) {
  .about-section {
    padding: 80px 24px 120px;
  }

  .about-header-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 28px;
  }

  .about-main-title {
    font-size: clamp(2.4rem, 8vw, 3.4rem);
  }

  .about-action-buttons {
    flex-direction: column;
    width: 100%;
    gap: 14px;
  }

  .about-pill-btn {
    width: 100%;
  }
}

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

@media (max-width: 900px) {
  .top-nav-bar {
    padding: 16px 20px;
  }

  .brand-title-small {
    font-size: 1.15rem;
  }

  .brand-subtitle-small {
    font-size: 0.72rem;
  }

  .app-root::before {
    height: 310px;
  }

  .hero-center-banner {
    top: 92px;
    width: 90%;
    gap: 16px;
  }

  .hero-headline {
    font-family: var(--font-serif);
    font-size: clamp(1.9rem, 6.8vw, 2.5rem);
    font-weight: 500;
    font-style: normal;
    line-height: 1.15;
    letter-spacing: -0.2px;
    text-shadow: 0 2px 18px rgba(0, 0, 0, 0.9);
  }

  .viewport-sky-ambient {
  display: none !important;
    gap: 14px;
    padding-top: 15px;
    padding-bottom: 60px;
  }

  .sky-keyword {
    font-size: clamp(1.6rem, 5.8vw, 2.5rem);
    letter-spacing: 2.5px;
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.11);
  }

  .sky-bullet {
    font-size: 0.85rem;
  }

  .cta-discuss-btn {
    padding: 12px 30px;
    font-size: 1.02rem;
    font-weight: 800;
    letter-spacing: 0.4px;
    border-radius: 8px;
    gap: 10px;
    box-shadow: 0 6px 22px rgba(0, 0, 0, 0.6);
  }

  .discuss-chevron-icon {
    width: 18px;
    height: 18px;
  }

  .discuss-dropdown {
    width: min(340px, calc(100vw - 32px));
  }

  .bottom-dock {
    bottom: 16px;
    width: calc(100% - 24px);
    max-width: 460px;
    min-width: unset;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    padding: 10px 14px;
    border-radius: 7px;
  }

  .dock-left {
    align-items: flex-start;
    text-align: left;
    flex: 1;
    min-width: 0;
  }

  .dock-title {
    font-family: var(--font-serif);
    font-weight: 500;
    font-size: 1.02rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    width: 100%;
    text-align: left;
  }

  .dock-credit {
    font-size: 0.70rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    width: 100%;
  }

  .dock-thumb-trigger {
    flex-shrink: 0;
  }

  .thumb-trigger-inner {
    width: 72px;
    height: 46px;
  }

  .dock-gallery-tray {
    width: calc(100vw - 28px);
    padding: 12px 14px;
  }

  .dock-gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .thumb-card {
    width: 100%;
    height: 64px;
    border-radius: 6px;
  }

  .nav-arrow {
    padding: 8px;
  }

  .arrow-shape {
    width: 36px;
    height: 48px;
  }

  .lightbox-nav-btn {
    width: 38px;
    height: 38px;
    font-size: 1.5rem;
    border-radius: 6px;
  }

  .lightbox-nav-btn.prev-btn {
    left: 10px;
  }

  .lightbox-nav-btn.next-btn {
    right: 10px;
  }
}

@media (max-width: 980px) {
  .portfolio-collage-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .collage-card.card-span-2 {
    grid-column: span 2;
  }
}

@media (max-width: 768px) {
  .bottom-dock-wrapper {
    flex-direction: column;
    bottom: 16px;
    width: calc(100% - 24px);
    gap: 10px;
  }

  .bottom-dock {
    width: 100%;
    min-width: unset;
  }

  .btn-learn-more:not(.active) {
    width: 28px;
    height: 28px;
    border-radius: 50%;
  }

  .btn-learn-more.active {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    padding: 0;
  }

  .portfolio-section {
    padding: 70px 20px 100px;
  }

  .portfolio-collage-grid {
    grid-template-columns: 1fr;
  }

  .collage-card.card-span-2 {
    grid-column: span 1;
  }
}
}
}

@media (max-width: 980px) {
  .portfolio-collage-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .collage-card.card-span-2 {
    grid-column: span 2;
  }
}

@media (max-width: 768px) {
  .bottom-dock-wrapper {
    flex-direction: column;
    bottom: 16px;
    width: calc(100% - 24px);
    gap: 10px;
  }

  .bottom-dock {
    width: 100%;
    min-width: unset;
  }

  .btn-learn-more:not(.active) {
    width: 28px;
    height: 28px;
    border-radius: 50%;
  }

  .btn-learn-more.active {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    padding: 0;
  }

  .portfolio-section {
    padding: 70px 20px 100px;
  }

  .portfolio-collage-grid {
    grid-template-columns: 1fr;
  }

  .collage-card.card-span-2 {
    grid-column: span 1;
  }
}

/* ==========================================================================
   DRAWER 3D EXHIBITION SHOWCASE LIST
   ========================================================================== */
.drawer-projects-section {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.drawer-subheading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.drawer-count-badge {
  background: rgba(255, 255, 255, 0.1);
  color: var(--accent-yellow);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 10px;
}

.menu-project-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.menu-project-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: #141724;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: left;
}

.menu-project-item:hover {
  background: #1b2032;
  border: none;
  transform: translateX(4px);
}

.menu-project-item.active {
  background: #181d2c;
  border: none;
}

.menu-project-item.active .proj-name {
  color: var(--accent-blue);
}

.menu-project-item .proj-num {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--accent-blue);
  opacity: 0.9;
}

.menu-project-item .proj-info {
  display: flex;
  flex-direction: column;
}

.menu-project-item .proj-name {
  font-size: 0.88rem;
  font-weight: 600;
  color: #ffffff;
}

.menu-project-item .proj-cat {
  display: none !important;
}