/* ==========================================================================
   PAUL E. K. GUEDE — PORTFOLIO ÉDITORIAL & DIRECTION ARTISTIQUE
   Design System & Styling Haute Couture
   ========================================================================== */

:root {
  /* Color Palette */
  --bg-primary: #09090b;
  --bg-secondary: #121216;
  --bg-card: #16161c;
  --bg-card-hover: #1e1e26;
  --bg-glass: rgba(18, 18, 22, 0.75);
  --bg-glass-pill: rgba(22, 22, 28, 0.85);

  --text-main: #f4f4f6;
  --text-muted: #9e9ea8;
  --text-faint: #5e5e6a;
  --text-inverse: #09090b;

  --accent-lime: #d4ff00;
  --accent-lime-glow: rgba(212, 255, 0, 0.25);
  --accent-orange: #ff4d00;
  --accent-orange-glow: rgba(255, 77, 0, 0.25);
  --accent-cyan: #00f0ff;

  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-medium: rgba(255, 255, 255, 0.16);
  --border-accent: rgba(212, 255, 0, 0.4);

  /* Typography */
  --font-display: 'Syne', sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'Space Mono', monospace;

  /* Spacing & Layout */
  --container-max: 1360px;
  --header-height: 84px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --radius-full: 9999px;

  /* Transitions & Curves */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --duration-fast: 0.2s;
  --duration-normal: 0.35s;
  --duration-slow: 0.6s;
}

/* Light Theme Overrides (if toggled) */
[data-theme="light"] {
  --bg-primary: #f6f6f8;
  --bg-secondary: #ffffff;
  --bg-card: #ffffff;
  --bg-card-hover: #f0f0f4;
  --bg-glass: rgba(255, 255, 255, 0.8);
  --bg-glass-pill: rgba(255, 255, 255, 0.9);

  --text-main: #0d0d11;
  --text-muted: #5a5a68;
  --text-faint: #9898a6;
  --text-inverse: #ffffff;

  --border-subtle: rgba(0, 0, 0, 0.08);
  --border-medium: rgba(0, 0, 0, 0.16);
  --border-accent: rgba(255, 77, 0, 0.5);
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
  background-color: var(--bg-primary);
  color: var(--text-main);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

/* Background Subtle Noise / Mesh Gradient Overlay */
.noise-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 999;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

.ambient-glow {
  position: fixed;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(140px);
  z-index: 0;
  opacity: 0.12;
  transition: transform 0.4s ease;
}

.ambient-glow-1 {
  top: -150px;
  left: 10%;
  background: radial-gradient(circle, var(--accent-lime) 0%, transparent 70%);
}

.ambient-glow-2 {
  top: 40%;
  right: -100px;
  background: radial-gradient(circle, var(--accent-orange) 0%, transparent 70%);
}

.ambient-glow-3 {
  bottom: 5%;
  left: -150px;
  background: radial-gradient(circle, var(--accent-cyan) 0%, transparent 70%);
}

/* Custom Interactive Cursor */
.custom-cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 10px;
  height: 10px;
  background-color: var(--accent-lime);
  border-radius: 50%;
  pointer-events: none;
  z-index: 10000;
  transform: translate(-50%, -50%);
  transition: width 0.25s var(--ease-out), height 0.25s var(--ease-out), background-color 0.25s ease, opacity 0.2s ease;
  mix-blend-mode: difference;
}

.custom-cursor-follower {
  position: fixed;
  top: 0;
  left: 0;
  width: 38px;
  height: 38px;
  border: 1.5px solid rgba(212, 255, 0, 0.6);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: transform 0.12s linear, width 0.3s var(--ease-out), height 0.3s var(--ease-out), border-color 0.3s ease;
}

.cursor-hover .custom-cursor {
  width: 50px;
  height: 50px;
  background-color: var(--accent-lime);
  opacity: 0.9;
}

.cursor-hover .custom-cursor-follower {
  width: 70px;
  height: 70px;
  border-color: transparent;
  background-color: rgba(212, 255, 0, 0.15);
}

.cursor-view .custom-cursor {
  width: 75px;
  height: 75px;
  background-color: var(--accent-orange);
  mix-blend-mode: normal;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cursor-view .custom-cursor::after {
  content: 'VOIR';
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  color: #09090b;
  letter-spacing: 0.1em;
}

@media (pointer: coarse) {
  .custom-cursor, .custom-cursor-follower {
    display: none !important;
  }
}

/* Typography Helpers */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.1;
  color: var(--text-main);
  letter-spacing: -0.02em;
}

p {
  color: var(--text-muted);
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* Layout Utilities */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
  z-index: 2;
}

.section {
  padding: 8rem 0;
  position: relative;
}

@media (max-width: 768px) {
  .section {
    padding: 5rem 0;
  }
  .container {
    padding: 0 1.25rem;
  }
}

/* Section Header Typography */
.section-header {
  margin-bottom: 4rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent-lime);
  font-weight: 700;
}

.section-tag::before {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--accent-lime);
  box-shadow: 0 0 10px var(--accent-lime);
}

.section-title {
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.03em;
  max-width: 900px;
}

.section-subtitle {
  font-size: 1.15rem;
  max-width: 650px;
  color: var(--text-muted);
}

/* ==========================================================================
   FLOATING PILL NAVIGATION
   ========================================================================== */
.site-header {
  position: fixed;
  top: 1.5rem;
  left: 0;
  width: 100%;
  z-index: 1000;
  pointer-events: none;
  transition: transform var(--duration-normal) var(--ease-out);
}

.nav-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-pill {
  pointer-events: auto;
  background: var(--bg-glass-pill);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  padding: 0.5rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 2rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 1px 1px rgba(255, 255, 255, 0.05);
  transition: all var(--duration-normal) var(--ease-out);
}

.nav-pill:hover {
  border-color: var(--border-medium);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.6), 0 0 20px rgba(212, 255, 0, 0.08);
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-lime), var(--accent-orange));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 0.95rem;
  color: #09090b;
  letter-spacing: -0.05em;
  box-shadow: 0 0 15px rgba(212, 255, 0, 0.3);
}

.brand-text {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand-text span {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 500;
  color: var(--accent-lime);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 2px;
}

.nav-links {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 0.5rem;
}

.nav-item a {
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  border-radius: var(--radius-full);
  transition: all var(--duration-fast) ease;
  position: relative;
}

.nav-item a:hover,
.nav-item a.active {
  color: var(--text-main);
  background-color: rgba(255, 255, 255, 0.06);
}

.nav-item a.active {
  color: var(--accent-lime);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  pointer-events: auto;
}

.btn-contact-pill {
  background: var(--text-main);
  color: var(--bg-primary);
  padding: 0.55rem 1.25rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: all var(--duration-fast) var(--ease-out);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-contact-pill:hover {
  background: var(--accent-lime);
  color: #09090b;
  box-shadow: 0 0 20px var(--accent-lime-glow);
  transform: translateY(-1px);
}

.btn-theme-toggle {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--bg-glass-pill);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: all var(--duration-fast) ease;
}

.btn-theme-toggle:hover {
  border-color: var(--border-medium);
  transform: rotate(15deg);
}

.btn-burger {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--bg-glass-pill);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  align-items: center;
  justify-content: center;
  pointer-events: auto;
}

@media (max-width: 900px) {
  .nav-links {
    display: none;
  }
  .btn-burger {
    display: flex;
  }
}

/* Mobile Drawer */
.mobile-nav-drawer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: rgba(9, 9, 11, 0.96);
  backdrop-filter: blur(24px);
  z-index: 2000;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 3rem 2rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s var(--ease-out);
}

.mobile-nav-drawer.active {
  opacity: 1;
  pointer-events: auto;
}

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

.mobile-nav-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.mobile-nav-links a {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--text-main);
  display: inline-block;
  transition: transform 0.2s ease, color 0.2s ease;
}

.mobile-nav-links a:hover {
  color: var(--accent-lime);
  transform: translateX(10px);
}

.mobile-nav-footer {
  border-top: 1px solid var(--border-subtle);
  padding-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
  min-height: 100vh;
  padding-top: calc(var(--header-height) + 4rem);
  padding-bottom: 5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.hero-meta-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-subtle);
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  background-color: rgba(212, 255, 0, 0.08);
  border: 1px solid rgba(212, 255, 0, 0.25);
  border-radius: var(--radius-full);
  padding: 0.4rem 0.95rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent-lime);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.status-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--accent-lime);
  box-shadow: 0 0 0 0 rgba(212, 255, 0, 0.7);
  animation: pulseGreen 2s infinite;
}

@keyframes pulseGreen {
  0% {
    box-shadow: 0 0 0 0 rgba(212, 255, 0, 0.7);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(212, 255, 0, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(212, 255, 0, 0);
  }
}

.location-info {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-muted);
}

.hero-main {
  position: relative;
}

.hero-title {
  font-size: clamp(3rem, 8.5vw, 7.8rem);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  margin-bottom: 2rem;
}

.hero-title .title-line {
  display: block;
  overflow: hidden;
}

.hero-title .title-line span {
  display: inline-block;
  transform: translateY(0);
}

.hero-title .highlight-accent {
  color: var(--accent-lime);
  position: relative;
  font-style: italic;
  font-weight: 900;
}

.hero-title .highlight-serif {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-weight: 400;
  text-transform: none;
  color: var(--text-muted);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 4rem;
  align-items: flex-end;
  margin-top: 2rem;
}

@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

.hero-desc {
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  line-height: 1.5;
  color: var(--text-muted);
  max-width: 600px;
}

.hero-desc strong {
  color: var(--text-main);
  font-weight: 600;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-top: 2.5rem;
}

/* Editorial Buttons */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  background-color: var(--accent-lime);
  color: #09090b;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 1rem 2rem;
  border-radius: var(--radius-full);
  transition: all var(--duration-fast) var(--ease-out);
  box-shadow: 0 10px 25px var(--accent-lime-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  background-color: #e4ff33;
  box-shadow: 0 15px 35px rgba(212, 255, 0, 0.4);
}

.btn-primary svg {
  transition: transform var(--duration-fast) ease;
}

.btn-primary:hover svg {
  transform: translateY(3px);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  background-color: transparent;
  color: var(--text-main);
  border: 1px solid var(--border-medium);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 1rem 2rem;
  border-radius: var(--radius-full);
  backdrop-filter: blur(10px);
  transition: all var(--duration-fast) var(--ease-out);
}

.btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.08);
  border-color: var(--text-main);
  transform: translateY(-2px);
}

.hero-spec-card {
  background: var(--bg-glass);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  position: relative;
  overflow: hidden;
}

.hero-spec-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(to bottom, var(--accent-lime), var(--accent-orange));
}

.spec-item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  border-bottom: 1px dashed var(--border-subtle);
  padding-bottom: 0.65rem;
}

.spec-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.spec-label {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-faint);
  text-transform: uppercase;
}

.spec-value {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-main);
}

/* ==========================================================================
   RESILIENT IMAGE COMPONENT & SKELETON
   ========================================================================== */
.resilient-img-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background-color: #121216;
}

.skeleton-shimmer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.03) 0%,
    rgba(255, 255, 255, 0.08) 50%,
    rgba(255, 255, 255, 0.03) 100%
  );
  background-size: 200% 100%;
  animation: shimmer 1.8s infinite linear;
  z-index: 1;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

@keyframes shimmer {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

.resilient-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}

.resilient-img.loaded {
  opacity: 1;
  transform: scale(1);
}

.resilient-fallback {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 2rem;
  text-align: center;
  background: linear-gradient(145deg, #181820, #0f0f14);
  border: 1px dashed var(--border-medium);
  z-index: 2;
}

.resilient-fallback.active {
  display: flex;
}

.fallback-icon {
  width: 48px;
  height: 48px;
  color: var(--accent-orange);
}

.fallback-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-main);
}

.fallback-desc {
  font-size: 0.85rem;
  color: var(--text-faint);
  max-width: 250px;
}

/* ==========================================================================
   SELECTED WORKS / PROJECTS SECTION
   ========================================================================== */
/* ==========================================================================
   3D SPATIAL GALLERY SYSTEM (Real CSS 3D Cylinder & Perspective Stage)
   ========================================================================== */
.spatial-gallery-stage {
  position: relative;
  width: 100%;
  height: 720px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: radial-gradient(circle at 50% 35%, #181824 0%, #08080c 80%);
  border: 1px solid var(--border-medium);
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  user-select: none;
  cursor: grab;
  margin-bottom: 3.5rem;
}

.spatial-gallery-stage.grabbing {
  cursor: grabbing;
}

.spatial-scene {
  position: relative;
  width: 100%;
  height: 520px;
  perspective: 1200px;
  perspective-origin: 50% 45%;
  display: flex;
  align-items: center;
  justify-content: center;
  transform-style: preserve-3d;
}

.spatial-ring {
  position: absolute;
  width: 340px;
  height: 440px;
  transform-style: preserve-3d;
  will-change: transform;
}

.spatial-card {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background-color: #121217;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.85);
  cursor: pointer;
  transform-style: preserve-3d;
  backface-visibility: hidden;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, filter 0.3s ease, opacity 0.3s ease;
}

.spatial-card:hover,
.spatial-card.is-active {
  border-color: var(--accent-lime);
  box-shadow: 0 30px 65px rgba(0, 0, 0, 0.95), 0 0 35px rgba(212, 255, 0, 0.3);
}

.spatial-card-media {
  width: 100%;
  height: 75%;
  position: relative;
  overflow: hidden;
  background-color: #0d0d12;
}

.spatial-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.spatial-card:hover .spatial-card-media img {
  transform: scale(1.06);
}

.spatial-card-badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  background: rgba(9, 9, 11, 0.85);
  backdrop-filter: blur(8px);
  padding: 0.3rem 0.65rem;
  border-radius: var(--radius-full);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--accent-lime);
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border: 1px solid rgba(255, 255, 255, 0.1);
  z-index: 5;
}

.spatial-card-body {
  height: 25%;
  padding: 0.75rem 1rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: linear-gradient(180deg, #16161e 0%, #101015 100%);
  border-top: 1px solid var(--border-subtle);
}

.spatial-card-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-main);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.spatial-card-year {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-faint);
}

/* Floor Grid & Ambient Light */
.spatial-floor-grid {
  position: absolute;
  bottom: -40px;
  width: 1600px;
  height: 800px;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 50px 50px;
  transform: rotateX(85deg) translateZ(-160px);
  pointer-events: none;
  opacity: 0.35;
  mask-image: radial-gradient(circle, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(circle, black 30%, transparent 75%);
}

.spatial-spotlight {
  position: absolute;
  bottom: 0;
  width: 600px;
  height: 120px;
  background: radial-gradient(ellipse at 50% 100%, rgba(212, 255, 0, 0.15) 0%, transparent 70%);
  filter: blur(35px);
  pointer-events: none;
}

/* Spatial HUD */
.spatial-hud {
  position: relative;
  z-index: 10;
  padding: 1.5rem 2.5rem;
  background: rgba(9, 9, 12, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid var(--border-medium);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.spatial-hud-info {
  display: flex;
  align-items: baseline;
  gap: 1.5rem;
}

.spatial-counter {
  font-family: var(--font-mono);
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--accent-lime);
}

.spatial-active-details {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.spatial-active-cat {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent-orange);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
}

.spatial-active-title {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--text-main);
  transition: all 0.25s ease;
}

.spatial-nav-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.spatial-ctrl-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border-medium);
  color: var(--text-main);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s var(--ease-out);
}

.spatial-ctrl-btn:hover {
  background: var(--accent-lime);
  color: #09090b;
  border-color: var(--accent-lime);
  box-shadow: 0 0 20px var(--accent-lime-glow);
  transform: scale(1.08);
}

.spatial-open-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--accent-lime);
  color: #09090b;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.85rem 2rem;
  border-radius: var(--radius-full);
  transition: all 0.25s var(--ease-out);
  box-shadow: 0 10px 25px var(--accent-lime-glow);
}

.spatial-open-btn:hover {
  background: #e4ff33;
  transform: translateY(-2px);
  box-shadow: 0 15px 35px rgba(212, 255, 0, 0.45);
}

.spatial-hint {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-faint);
  letter-spacing: 0.02em;
}

.spatial-hint-icon {
  color: var(--accent-lime);
}

@media (max-width: 768px) {
  .spatial-gallery-stage {
    height: 640px;
  }
  .spatial-scene {
    height: 420px;
    perspective: 900px;
  }
  .spatial-ring {
    width: 250px;
    height: 330px;
  }
  .spatial-hud {
    padding: 1.25rem 1rem;
    gap: 0.75rem;
  }
  .spatial-counter {
    font-size: 1.3rem;
  }
  .spatial-active-title {
    font-size: 1.15rem;
  }
  .spatial-open-btn {
    padding: 0.7rem 1.25rem;
    font-size: 0.85rem;
  }
  .spatial-ctrl-btn {
    width: 42px;
    height: 42px;
  }
  .spatial-hint {
    font-size: 0.68rem;
  }
}

/* Asymmetric Editorial Bento Grid */
.works-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 2.5rem;
}

@media (max-width: 768px) {
  .works-grid {
    gap: 1.75rem;
  }
}

.project-card {
  position: relative;
  background-color: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  transition: transform var(--duration-normal) var(--ease-out),
              border-color var(--duration-normal) var(--ease-out),
              box-shadow var(--duration-normal) var(--ease-out);
  display: flex;
  flex-direction: column;
}

.project-card:hover {
  transform: translateY(-8px);
  border-color: var(--border-medium);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5), 0 0 25px rgba(212, 255, 0, 0.06);
}

/* Asymmetric Layout Classes */
.card-col-12 {
  grid-column: span 12;
}

.card-col-7 {
  grid-column: span 7;
}

.card-col-5 {
  grid-column: span 5;
}

.card-col-6 {
  grid-column: span 6;
}

.card-col-4 {
  grid-column: span 4;
}

.card-col-8 {
  grid-column: span 8;
}

@media (max-width: 992px) {
  .card-col-7, .card-col-5, .card-col-8, .card-col-4, .card-col-6 {
    grid-column: span 12;
  }
}

.project-media-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background-color: #111116;
}

.card-col-12 .project-media-wrapper {
  aspect-ratio: 21 / 9;
}

@media (max-width: 768px) {
  .project-media-wrapper,
  .card-col-12 .project-media-wrapper {
    aspect-ratio: 4 / 3;
  }
}

.project-card:hover .resilient-img {
  transform: scale(1.06);
}

.project-floating-badge {
  position: absolute;
  top: 1.25rem;
  left: 1.25rem;
  z-index: 5;
  background: rgba(9, 9, 11, 0.75);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-full);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-main);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}

.project-year-badge {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  z-index: 5;
  background: rgba(9, 9, 11, 0.75);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 0.4rem 0.75rem;
  border-radius: var(--radius-full);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent-lime);
  font-weight: 700;
}

.project-overlay-action {
  position: absolute;
  bottom: 1.25rem;
  right: 1.25rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: var(--accent-lime);
  color: #09090b;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(10px) scale(0.9);
  transition: all var(--duration-fast) var(--ease-out);
  z-index: 5;
}

.project-card:hover .project-overlay-action {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.project-info {
  padding: 1.75rem 2rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  flex-grow: 1;
}

.project-category-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.project-discipline {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent-lime);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
}

.project-client {
  font-size: 0.85rem;
  color: var(--text-faint);
}

.project-title {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text-main);
  transition: color var(--duration-fast) ease;
}

.project-card:hover .project-title {
  color: var(--accent-lime);
}

.project-desc-short {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ==========================================================================
   ABOUT & VISION SECTION
   ========================================================================== */
.about-section {
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  position: relative;
}

.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 5rem;
  align-items: center;
}

@media (max-width: 992px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

.about-visual-col {
  position: relative;
}

/* ==========================================================================
   ABOUT STUDIO IDENTITY CARD (Luxury Editorial Studio Emblem)
   ========================================================================== */
.about-studio-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-medium);
  background: linear-gradient(160deg, #16161e 0%, #0d0d12 100%);
  padding: 2.75rem 2.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5), 0 0 40px rgba(212, 255, 0, 0.05);
  transition: transform var(--duration-normal) var(--ease-out), border-color var(--duration-normal) var(--ease-out);
}

.about-studio-card:hover {
  transform: translateY(-6px);
  border-color: rgba(212, 255, 0, 0.4);
  box-shadow: 0 35px 70px rgba(0, 0, 0, 0.7), 0 0 50px rgba(212, 255, 0, 0.1);
}

.studio-card-glow {
  position: absolute;
  top: -60px;
  left: 50%;
  transform: translateX(-50%);
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212, 255, 0, 0.18) 0%, transparent 70%);
  filter: blur(50px);
  pointer-events: none;
}

.studio-badge-top {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--accent-lime);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 2.5rem;
  z-index: 2;
}

.studio-live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--accent-lime);
  box-shadow: 0 0 8px var(--accent-lime);
  animation: pulseGreen 2s infinite;
}

.studio-monogram-display {
  position: relative;
  width: 140px;
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2.25rem;
  z-index: 2;
}

.monogram-orbit {
  position: absolute;
  border-radius: 50%;
  border: 1px dashed rgba(212, 255, 0, 0.35);
  pointer-events: none;
}

.monogram-orbit-1 {
  width: 136px;
  height: 136px;
  animation: rotateOrbit 25s linear infinite;
}

.monogram-orbit-2 {
  width: 110px;
  height: 110px;
  border: 1px solid rgba(255, 77, 0, 0.25);
  animation: rotateOrbitReverse 18s linear infinite;
}

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

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

.monogram-core {
  width: 82px;
  height: 82px;
  border-radius: 50%;
  background: linear-gradient(135deg, #d4ff00 0%, #ff4d00 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 2.1rem;
  font-weight: 900;
  color: #09090b;
  letter-spacing: -0.05em;
  box-shadow: 0 10px 30px rgba(212, 255, 0, 0.35);
  z-index: 3;
}

.studio-card-details {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  width: 100%;
  z-index: 2;
}

.studio-artist-name {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.studio-artist-role {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--accent-lime);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 0.35rem;
}

.studio-pillars-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  width: 100%;
  padding: 1.25rem 0;
  border-top: 1px dashed var(--border-subtle);
  border-bottom: 1px dashed var(--border-subtle);
}

.pillar-tag {
  font-size: 0.88rem;
  color: var(--text-muted);
  font-weight: 500;
  text-align: left;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.studio-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding-top: 0.5rem;
}

.studio-established {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-faint);
  letter-spacing: 0.05em;
}

.studio-stamp {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  color: #09090b;
  background-color: var(--accent-lime);
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-sm);
  letter-spacing: 0.05em;
}

.about-content-col {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.quote-editorial {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.8vw, 2.2rem);
  font-weight: 700;
  line-height: 1.25;
  color: var(--text-main);
  border-left: 3px solid var(--accent-lime);
  padding-left: 1.5rem;
  letter-spacing: -0.01em;
}

.about-bio-text {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text-muted);
}

/* Skills & Tools */
.skills-container {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 1rem;
}

.skill-bar-item {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.skill-info {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--text-main);
}

.skill-progress-track {
  width: 100%;
  height: 6px;
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-full);
  overflow: hidden;
  position: relative;
}

.skill-progress-fill {
  height: 100%;
  border-radius: var(--radius-full);
  background: linear-gradient(90deg, var(--accent-lime), var(--accent-orange));
  transform-origin: left;
  transform: scaleX(0);
  transition: transform 1.2s var(--ease-out);
}

.skill-progress-fill.animated {
  transform: scaleX(1);
}

/* Tool Badges */
.tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.tool-badge-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  transition: all var(--duration-fast) ease;
}

.tool-badge-card:hover {
  border-color: var(--accent-lime);
  transform: translateY(-3px);
  background: var(--bg-card-hover);
}

.tool-icon {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-family: var(--font-display);
  font-size: 0.85rem;
}

.tool-ps { background-color: #001e36; color: #31a8ff; }
.tool-ai { background-color: #330000; color: #ff9a00; }
.tool-id { background-color: #2b001a; color: #ff3366; }
.tool-ae { background-color: #00005b; color: #9999ff; }
.tool-figma { background-color: #1e1e1e; color: #f24e1e; }
.tool-c4d { background-color: #0f1c3f; color: #0070ba; }

.tool-name {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-main);
}

/* ==========================================================================
   METRICS & CLIENTS SECTION
   ========================================================================== */
.metrics-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 4rem;
  padding: 3rem;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
}

@media (max-width: 900px) {
  .metrics-strip {
    grid-template-columns: repeat(2, 1fr);
    padding: 2rem;
  }
}

@media (max-width: 500px) {
  .metrics-strip {
    grid-template-columns: 1fr;
  }
}

.metric-item {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.metric-number {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 4vw, 3.8rem);
  font-weight: 900;
  color: var(--accent-lime);
  line-height: 1;
  letter-spacing: -0.03em;
}

.metric-label {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Clients Marquee / Grid */
.clients-section {
  margin-top: 5rem;
}

.clients-title-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-subtle);
}

.clients-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.5rem;
}

.client-chip {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.5rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 0.5rem;
  transition: all var(--duration-fast) ease;
}

.client-chip:hover {
  border-color: var(--border-medium);
  background: var(--bg-card-hover);
  transform: translateY(-2px);
}

.client-chip-name {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-main);
}

.client-chip-type {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-faint);
  text-transform: uppercase;
}

/* ==========================================================================
   FOOTER & CONTACT SECTION
   ========================================================================== */
.footer-section {
  background-color: #050507;
  border-top: 1px solid var(--border-subtle);
  padding-top: 8rem;
  padding-bottom: 3rem;
  position: relative;
  overflow: hidden;
}

.footer-hero-cta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2.5rem;
  margin-bottom: 6rem;
}

.cta-tagline {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--accent-orange);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 700;
}

.cta-grand-title {
  font-size: clamp(2.8rem, 7.5vw, 6.8rem);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  max-width: 1100px;
}

.cta-grand-title span.accent {
  color: var(--accent-lime);
  font-style: italic;
}

/* Fast Email Copy Pill */
.email-copy-box {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  background: var(--bg-card);
  border: 1px solid var(--border-medium);
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--duration-fast) var(--ease-out);
  position: relative;
}

.email-copy-box:hover {
  border-color: var(--accent-lime);
  box-shadow: 0 0 25px var(--accent-lime-glow);
  transform: translateY(-2px);
}

.email-text {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2.5vw, 1.8rem);
  font-weight: 700;
  color: var(--text-main);
  letter-spacing: -0.01em;
}

.email-copy-btn {
  background-color: var(--accent-lime);
  color: #09090b;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: transform var(--duration-fast) ease;
}

.email-copy-box:hover .email-copy-btn {
  transform: scale(1.1);
}

.copy-feedback-toast {
  position: absolute;
  top: -45px;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background-color: var(--accent-lime);
  color: #09090b;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-full);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s var(--ease-out);
  white-space: nowrap;
}

.copy-feedback-toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.footer-channels-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2.5rem;
  padding-bottom: 4rem;
  border-bottom: 1px solid var(--border-subtle);
}

.channel-block {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.channel-title {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  text-transform: uppercase;
  color: var(--text-faint);
  letter-spacing: 0.1em;
}

.channel-link {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-main);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: color var(--duration-fast) ease;
}

.channel-link:hover {
  color: var(--accent-lime);
}

.socials-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.social-pill-link {
  padding: 0.55rem 1.1rem;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: all var(--duration-fast) ease;
}

.social-pill-link:hover {
  color: var(--text-main);
  border-color: var(--accent-lime);
  background-color: rgba(212, 255, 0, 0.08);
}

.footer-bottom-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-top: 3rem;
  font-size: 0.85rem;
  color: var(--text-faint);
}

.footer-copyright {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.back-to-top-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-muted);
  transition: color var(--duration-fast) ease;
}

.back-to-top-btn:hover {
  color: var(--accent-lime);
}

/* ==========================================================================
   MODAL / PROJECT DETAIL VIEW
   ========================================================================== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(9, 9, 11, 0.85);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  z-index: 5000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s var(--ease-out);
}

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

.modal-sheet {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 1100px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  display: flex;
  flex-direction: column;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.8), 0 0 1px 1px rgba(255, 255, 255, 0.1);
  transform: translateY(30px) scale(0.98);
  transition: transform 0.4s var(--ease-out);
}

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

.modal-close-btn {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border-medium);
  color: var(--text-main);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  z-index: 10;
  transition: all var(--duration-fast) ease;
}

.modal-close-btn:hover {
  background: var(--accent-orange);
  color: #ffffff;
  border-color: var(--accent-orange);
  transform: rotate(90deg);
}

.modal-media-stage {
  width: 100%;
  background: #0d0d12;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  border-bottom: 1px solid var(--border-subtle);
}

.modal-media-stage img {
  max-width: 100%;
  max-height: 550px;
  object-fit: contain;
  border-radius: var(--radius-sm);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7);
}

.modal-content-body {
  padding: 3rem;
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 3.5rem;
}

@media (max-width: 850px) {
  .modal-overlay {
    padding: 1rem;
  }
  .modal-content-body {
    grid-template-columns: 1fr;
    padding: 2rem 1.5rem;
    gap: 2.5rem;
  }
  .modal-media-stage {
    padding: 1.5rem 1rem;
  }
}

.modal-header-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

.modal-tag {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--accent-lime);
  font-weight: 700;
  letter-spacing: 0.05em;
}

.modal-year {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-faint);
}

.modal-project-title {
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.modal-desc-heading {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.75rem;
}

.modal-full-desc {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.modal-palette-box {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.palette-swatches {
  display: flex;
  gap: 0.75rem;
}

.swatch-item {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.15);
  cursor: pointer;
  position: relative;
  transition: transform var(--duration-fast) ease;
}

.swatch-item:hover {
  transform: translateY(-3px) scale(1.05);
}

.modal-sidebar-meta {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  background-color: var(--bg-card);
  padding: 2rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
}

.meta-group-title {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-faint);
  margin-bottom: 0.5rem;
}

.meta-group-value {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-main);
}

.deliverables-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.deliverables-list li {
  font-size: 0.85rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.deliverables-list li::before {
  content: '→';
  color: var(--accent-lime);
  font-weight: 700;
}

.modal-nav-controls {
  padding: 1.5rem 3rem;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--bg-card);
}

@media (max-width: 850px) {
  .modal-nav-controls {
    padding: 1.25rem 1.5rem;
  }
}

.modal-nav-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-muted);
  transition: color var(--duration-fast) ease;
}

.modal-nav-btn:hover {
  color: var(--accent-lime);
}

/* ==========================================================================
   ANIMATIONS & REVEAL ON SCROLL
   ========================================================================== */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
  will-change: opacity, transform;
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Delay helpers */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

/* Interactive Focus ring */
:focus-visible {
  outline: 2px solid var(--accent-lime);
  outline-offset: 4px;
}

/* ==========================================================================
   ADVANCED MOBILE RESPONSIVENESS & TOUCH OPTIMIZATION (320px - 992px)
   ========================================================================== */

/* Universal mobile-first baseline constraints */
html, body {
  max-width: 100vw;
  overflow-x: hidden !important;
}

img, svg, video {
  max-width: 100%;
  height: auto;
}

/* --- TABLETS & INTERMEDIATE BREAKPOINT (max-width: 992px) --- */
@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }

  .card-col-12, .card-col-7, .card-col-5, .card-col-6, .card-col-4, .card-col-8 {
    grid-column: span 12;
  }
}

/* --- MOBILE LANDSCAPE & SMALL TABLETS (max-width: 900px) --- */
@media (max-width: 900px) {
  .site-header {
    top: 0.85rem;
  }

  .nav-container {
    padding: 0 1rem;
  }

  .nav-pill {
    width: 100%;
    justify-content: space-between;
    padding: 0.45rem 1rem;
    gap: 0.5rem;
  }

  .nav-links {
    display: none;
  }

  .btn-burger {
    display: flex;
  }
}

/* --- SMARTPHONES (max-width: 768px) --- */
@media (max-width: 768px) {
  :root {
    --header-height: 70px;
  }

  .container {
    padding: 0 1.15rem;
  }

  .section {
    padding: 4.5rem 0;
  }

  .section-header {
    margin-bottom: 2.5rem;
    gap: 0.75rem;
  }

  .section-title {
    font-size: clamp(2rem, 8vw, 3rem);
    letter-spacing: -0.02em;
  }

  .section-subtitle {
    font-size: 1rem;
    line-height: 1.5;
  }

  /* Hero Section */
  .hero-section {
    min-height: auto;
    padding-top: calc(var(--header-height) + 2rem);
    padding-bottom: 3.5rem;
  }

  .hero-meta-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.85rem;
    margin-bottom: 1.75rem;
    padding-bottom: 1.25rem;
  }

  .hero-title {
    font-size: clamp(2.3rem, 10.5vw, 4rem);
    line-height: 1.02;
    margin-bottom: 1.5rem;
  }

  .hero-desc {
    font-size: 1.05rem;
    line-height: 1.55;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
    gap: 0.85rem;
    margin-top: 1.75rem;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
    justify-content: center;
    padding: 0.95rem 1.5rem;
    font-size: 0.95rem;
  }

  .hero-spec-card {
    padding: 1.35rem;
    gap: 1rem;
    margin-top: 1.5rem;
  }

  .spec-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
  }

  /* Pro Controls & Dock on Mobile: Smooth horizontal touch swipe */
  .pro-controls-wrapper {
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
    margin-bottom: 2rem;
  }

  .pro-filter-dock {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 4px;
  }

  .pro-filter-dock::-webkit-scrollbar {
    display: none;
  }

  .pro-filter-tab {
    flex-shrink: 0;
    padding: 0.55rem 0.95rem;
    font-size: 0.75rem;
  }

  .pro-view-switcher {
    width: 100%;
    justify-content: space-between;
    padding: 4px 6px;
  }

  .view-mode-btn {
    flex: 1;
    justify-content: center;
    padding: 0.5rem 0.6rem;
    font-size: 0.72rem;
  }

  /* Works Bento Grid */
  .works-grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

  .project-media-wrapper,
  .card-col-12 .project-media-wrapper {
    aspect-ratio: 16 / 11;
  }

  .project-info {
    padding: 1.25rem 1.25rem 1.5rem;
    gap: 0.5rem;
  }

  .project-title {
    font-size: 1.35rem;
  }

  .project-desc-short {
    font-size: 0.88rem;
  }

  .project-floating-badge,
  .project-year-badge {
    top: 0.85rem;
    padding: 0.35rem 0.65rem;
    font-size: 0.7rem;
  }

  .project-floating-badge {
    left: 0.85rem;
  }

  .project-year-badge {
    right: 0.85rem;
  }

  /* About Studio Card on Mobile */
  .about-studio-card {
    padding: 2rem 1.25rem;
  }

  .studio-monogram-display {
    width: 110px;
    height: 110px;
    margin-bottom: 1.5rem;
  }

  .monogram-orbit-1 {
    width: 108px;
    height: 108px;
  }

  .monogram-orbit-2 {
    width: 88px;
    height: 88px;
  }

  .monogram-core {
    width: 68px;
    height: 68px;
    font-size: 1.7rem;
  }

  .studio-artist-name {
    font-size: 1.5rem;
  }

  .quote-editorial {
    font-size: clamp(1.2rem, 5.5vw, 1.7rem);
    padding-left: 1rem;
    border-left-width: 2.5px;
  }

  .about-bio-text {
    font-size: 0.98rem;
  }

  .tools-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }

  /* Metrics Strip */
  .metrics-strip {
    grid-template-columns: repeat(2, 1fr);
    padding: 1.75rem 1.25rem;
    gap: 1.5rem 1rem;
  }

  .metric-number {
    font-size: 2.5rem;
  }

  .metric-label {
    font-size: 0.75rem;
  }

  .clients-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }

  .client-chip {
    padding: 1.15rem 0.75rem;
  }

  .client-chip-name {
    font-size: 0.95rem;
  }

  /* Footer & Contact on Mobile */
  .footer-section {
    padding-top: 4.5rem;
    padding-bottom: 2.5rem;
  }

  .footer-hero-cta {
    margin-bottom: 3.5rem;
    gap: 1.5rem;
  }

  .cta-grand-title {
    font-size: clamp(2.1rem, 9vw, 3.4rem);
    line-height: 1.05;
  }

  .email-copy-box {
    width: 100%;
    justify-content: space-between;
    padding: 0.65rem 1rem;
  }

  .email-text {
    font-size: clamp(0.92rem, 4vw, 1.3rem);
    word-break: break-all;
  }

  .email-copy-btn {
    width: 38px;
    height: 38px;
    flex-shrink: 0;
  }

  .footer-channels-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding-bottom: 2.5rem;
  }

  .socials-list {
    gap: 0.5rem;
  }

  .social-pill-link {
    font-size: 0.8rem;
    padding: 0.45rem 0.85rem;
  }

  .footer-bottom-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.25rem;
    padding-top: 2rem;
  }

  /* Modal on Mobile */
  .modal-overlay {
    padding: 0.5rem;
    align-items: flex-end;
  }

  .modal-sheet {
    max-height: 92vh;
    border-radius: var(--radius-md);
  }

  .modal-close-btn {
    top: 0.75rem;
    right: 0.75rem;
    width: 38px;
    height: 38px;
    font-size: 1rem;
  }

  .modal-media-stage {
    padding: 1rem 0.75rem;
  }

  .modal-media-stage img {
    max-height: 280px;
  }

  .modal-content-body {
    grid-template-columns: 1fr;
    padding: 1.5rem 1.15rem;
    gap: 1.75rem;
  }

  .modal-project-title {
    font-size: 1.55rem;
    margin-bottom: 1rem;
  }

  .modal-full-desc {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
  }

  .modal-sidebar-meta {
    padding: 1.25rem;
    gap: 1.25rem;
  }

  .palette-swatches {
    flex-wrap: wrap;
    gap: 0.5rem;
  }

  .swatch-item {
    width: 38px;
    height: 38px;
  }

  .modal-nav-controls {
    padding: 1rem 1.15rem;
    flex-direction: column;
    gap: 0.75rem;
  }

  .modal-nav-controls span {
    display: none;
  }

  .modal-nav-btn {
    width: 100%;
    justify-content: center;
    padding: 0.6rem;
    background: rgba(255, 255, 255, 0.04);
    border-radius: var(--radius-sm);
  }
}

/* --- SMALL PHONES (max-width: 480px) --- */
@media (max-width: 480px) {
  .btn-contact-pill span {
    display: none;
  }

  .btn-contact-pill {
    padding: 0.5rem;
    width: 38px;
    height: 38px;
    justify-content: center;
  }

  .brand-text {
    font-size: 0.95rem;
  }

  .brand-text span {
    font-size: 0.6rem;
  }

  .status-badge {
    font-size: 0.7rem;
    padding: 0.35rem 0.75rem;
  }

  .metrics-strip {
    grid-template-columns: 1fr 1fr;
    text-align: center;
  }

  .metric-item {
    align-items: center;
  }

  .metric-number {
    font-size: 2.1rem;
  }

  .clients-grid {
    grid-template-columns: 1fr 1fr;
  }

  .client-chip {
    padding: 0.85rem 0.5rem;
  }

  .client-chip-name {
    font-size: 0.85rem;
  }

  .email-copy-box {
    padding: 0.6rem 0.85rem;
  }

  .email-text {
    font-size: 0.95rem;
  }
}

