/* ==========================================================================
   ANDY STUDIO - DESIGN SYSTEM & STYLES (INSPIRED BY NOTHIN')
   Ultra-Luxury Editorial & Brutalist Creative Studio
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:ital,wght@0,300;0,400;0,500;0,600;1,400&family=Syne:wght@400;500;600;700;800;900&family=Space+Grotesk:wght@300;400;500;600;700&display=swap');

:root {
  --bg-primary: #0a0a0a;
  --bg-secondary: #121212;
  --bg-card: #161616;
  --bg-light: #f5f5f7;
  --text-primary: #ffffff;
  --text-secondary: rgba(255, 255, 255, 0.7);
  --text-muted: rgba(255, 255, 255, 0.45);
  --text-dark: #0a0a0a;
  --accent: #2500ad;
  --accent-glow: rgba(37, 0, 173, 0.4);
  --accent-electric: #4c1d95;
  --border-subtle: rgba(255, 255, 255, 0.12);
  --border-medium: rgba(255, 255, 255, 0.25);
  
  --font-mono: 'IBM Plex Mono', monospace;
  --font-display: 'Syne', sans-serif;
  --font-body: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;

  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out-cubic: cubic-bezier(0.65, 0, 0.35, 1);
  --transition-fast: 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
  --transition-medium: 0.5s var(--ease-out-expo);
  --transition-slow: 0.9s var(--ease-out-expo);
}

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

html {
  font-size: calc(0.75rem + 0.5vw);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-mono);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
  overscroll-behavior: none;
  scrollbar-width: none;
}

@media screen and (min-width: 1440px) {
  html {
    font-size: calc(0.85rem + 0.4vw);
  }
}

@media screen and (max-width: 768px) {
  html {
    font-size: 15px;
  }
}

body {
  width: 100%;
  min-height: 100vh;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  overflow-x: hidden;
  position: relative;
  line-height: 1.4;
  cursor: default;
}

/* ------------------------- Hide Scrollbars Everywhere ------------------------- */
html, body, *, *::before, *::after {
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
}

*::-webkit-scrollbar,
html::-webkit-scrollbar,
body::-webkit-scrollbar {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
  background: transparent !important;
}

::selection {
  background-color: var(--accent);
  color: #ffffff;
  text-shadow: none;
}

a {
  color: inherit;
  text-decoration: none;
  display: inline-block;
}

button {
  background: none;
  border: none;
  color: inherit;
  font: inherit;
  cursor: pointer;
  outline: none;
}

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

/* ==========================================================================
   CUSTOM CURSOR
   ========================================================================== */
.custom-cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 12px;
  height: 12px;
  background: #ffffff;
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  mix-blend-mode: difference;
  transform: translate(-50%, -50%);
  transition: width 0.3s var(--ease-out-expo), height 0.3s var(--ease-out-expo), transform 0.15s ease-out, background-color 0.3s ease;
}

.custom-cursor-follower {
  position: fixed;
  top: 0;
  left: 0;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: transform 0.25s ease-out, width 0.35s var(--ease-out-expo), height 0.35s var(--ease-out-expo), border-color 0.3s ease, background 0.3s ease;
}

.custom-cursor.hovering-link {
  width: 24px;
  height: 24px;
  background: var(--text-primary);
}

.custom-cursor-follower.hovering-link {
  width: 60px;
  height: 60px;
  border-color: rgba(255, 255, 255, 0.8);
}

/* Project Explore Cursor */
.explore-badge-cursor {
  position: fixed;
  top: 0;
  left: 0;
  padding: 10px 18px;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 30px;
  color: #fff;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  display: flex;
  align-items: center;
  gap: 8px;
  pointer-events: none;
  z-index: 10000;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.6);
  transition: opacity 0.3s var(--ease-out-expo), transform 0.3s var(--ease-out-expo);
}

.explore-badge-cursor.active {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.explore-badge-cursor svg {
  width: 14px;
  height: 10px;
}

/* ==========================================================================
   PRELOADER
   ========================================================================== */
.preloader {
  position: fixed;
  inset: 0;
  background-color: #080808;
  z-index: 100000;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 2.5rem;
  overflow: hidden;
  transition: transform 1.1s var(--ease-out-expo), opacity 0.8s ease;
}

.preloader.loaded {
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
  display: none !important;
}

.preloader-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  text-transform: uppercase;
}

.preloader-center {
  position: relative;
  width: 100%;
  height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.preloader-logo-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
}

.preloader-logo-wrap svg {
  width: min(80vw, 720px);
  height: auto;
  fill: #ffffff;
}

.floating-3d-elements {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.float-item {
  position: absolute;
  filter: drop-shadow(0 15px 35px rgba(0,0,0,0.7));
  animation: floatOrb 6s ease-in-out infinite alternate;
}

.float-item.item-1 {
  top: 10%;
  left: 15%;
  width: 130px;
  animation-duration: 5s;
  animation-delay: 0s;
}

.float-item.item-2 {
  top: 15%;
  right: 18%;
  width: 150px;
  animation-duration: 6.5s;
  animation-delay: -1.5s;
}

.float-item.item-3 {
  bottom: 12%;
  left: 20%;
  width: 140px;
  animation-duration: 5.5s;
  animation-delay: -3s;
}

.float-item.item-4 {
  bottom: 15%;
  right: 15%;
  width: 160px;
  animation-duration: 7s;
  animation-delay: -2s;
}

.float-item.item-5 {
  top: 45%;
  right: 32%;
  width: 110px;
  animation-duration: 4.8s;
  animation-delay: -4s;
}

.preloader-footer {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.preloader-status {
  font-size: 0.85rem;
  color: var(--text-secondary);
  max-width: 320px;
  line-height: 1.5;
}

.preloader-counter {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 7rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 0.9;
  color: #ffffff;
}

/* ==========================================================================
   NAVIGATION BAR
   ========================================================================== */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1.5rem 2.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  mix-blend-mode: difference;
  transition: padding 0.3s ease;
}

@media screen and (max-width: 768px) {
  .site-nav {
    padding: 1.2rem 1.5rem;
  }
}

.nav-brand {
  display: flex;
  align-items: center;
}

.nav-brand svg {
  height: 28px;
  width: auto;
  fill: #ffffff;
}

.nav-controls {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links-desktop {
  display: flex;
  align-items: center;
  gap: 2.2rem;
}

.nav-link {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #ffffff;
  position: relative;
  padding: 4px 0;
  transition: opacity 0.3s ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: #ffffff;
  transition: width 0.3s var(--ease-out-expo);
}

.nav-link:hover::after {
  width: 100%;
}

.menu-toggle-btn {
  display: none;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #fff;
  padding: 6px 12px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 20px;
}

@media screen and (max-width: 900px) {
  .nav-links-desktop {
    display: none;
  }
  .menu-toggle-btn {
    display: flex;
  }
}

.menu-grid-icon {
  display: grid;
  grid-template-columns: repeat(2, 4px);
  gap: 3px;
}

.menu-grid-icon span {
  width: 4px;
  height: 4px;
  background-color: #fff;
  border-radius: 1px;
}

/* Mobile Fullscreen Menu */
.mobile-menu-overlay {
  position: fixed;
  inset: 0;
  background: #0d0d0d;
  z-index: 999;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 6rem 2rem 2.5rem;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-10px);
  transition: opacity 0.4s var(--ease-out-expo), transform 0.4s var(--ease-out-expo);
}

.mobile-menu-overlay.active {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}

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

.mobile-nav-link {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #fff;
  letter-spacing: -0.02em;
}

.mobile-menu-footer {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* ==========================================================================
   HERO SCROLL TRACK & STICKY OVERLAY (SCREENSHOT 1)
   ========================================================================== */
.hero-scroll-track {
  position: relative;
  width: 100%;
  height: 180vh;
  background-color: #000000;
}

.hero-sticky-container {
  position: sticky;
  top: 0;
  width: 100%;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 6rem 2.5rem 2rem;
  overflow: hidden;
  background-color: #000000;
  color: #ffffff;
  z-index: 1;
}

@media screen and (max-width: 768px) {
  .hero-sticky-container {
    padding: 5rem 1.5rem 1.5rem;
  }
}

.hero-video-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  opacity: 0.95;
  pointer-events: none;
  transform-origin: center center;
  transition: transform 0.1s linear;
}

.hero-overlay-gradient {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 30%, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0.3) 50%, rgba(0, 0, 0, 0.8) 100%);
  z-index: 2;
  pointer-events: none;
}

.hero-top-info {
  position: relative;
  z-index: 10;
  max-width: 620px;
  margin-top: 1.5rem;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.hero-tagline {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.6rem);
  font-weight: 700;
  line-height: 1.25;
  color: #ffffff !important;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.95), 0 1px 3px rgba(0, 0, 0, 0.8);
  margin-bottom: 2rem;
  letter-spacing: -0.02em;
}

.btn-pill {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 12px 26px;
  background: #ffffff;
  color: #000000;
  border: 1px solid #ffffff;
  border-radius: 40px;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
  transition: all 0.3s var(--ease-out-expo);
}

.btn-pill:hover {
  background: #000000;
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.6);
  transform: translateY(-2px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.8);
}

.btn-pill .arrow-circle {
  width: 26px;
  height: 26px;
  background: #000000;
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s var(--ease-out-expo), background-color 0.3s ease, color 0.3s ease;
}

.btn-pill:hover .arrow-circle {
  background: #ffffff;
  color: #000000;
  transform: translateX(4px) rotate(-45deg);
}

.hero-brand-massive {
  position: relative;
  z-index: 3;
  width: 100%;
  margin: 3rem 0 1rem;
  transform-origin: center center;
  will-change: transform;
}

.hero-brand-massive svg {
  width: 100%;
  height: auto;
  fill: #ffffff;
  filter: drop-shadow(0 10px 35px rgba(0, 0, 0, 0.9));
}

.hero-bottom-bar {
  position: relative;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  color: #ffffff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.9);
  border-top: 1px solid rgba(255, 255, 255, 0.25);
  padding-top: 1.2rem;
}

.hero-socials {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.hero-socials a {
  color: #ffffff;
  transition: color 0.25s ease;
  font-weight: 600;
}

.hero-socials a:hover {
  color: var(--accent-glow);
}

/* ==========================================================================
   SHOWREEL / MANIFESTO SCROLL ZOOM & OVERLAY
   ========================================================================== */
.showreel-scroll-track {
  position: relative;
  width: 100%;
  min-height: 140vh;
  background-color: var(--bg-primary);
  z-index: 2;
  margin-top: -10vh;
  border-radius: 30px 30px 0 0;
  box-shadow: 0 -30px 60px rgba(0,0,0,0.9);
}

.showreel-sticky-container {
  position: sticky;
  top: 0;
  width: 100%;
  min-height: 100vh;
  padding: 6rem 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

@media screen and (max-width: 768px) {
  .showreel-sticky-container {
    padding: 5rem 1.5rem;
  }
}

.manifesto-heading {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5.5vw, 4.8rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  max-width: 1100px;
  margin-bottom: 3.5rem;
}

.video-showreel-card {
  position: relative;
  width: 100%;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 35px 80px rgba(0,0,0,0.8);
  background: #111;
  border: 1px solid var(--border-subtle);
  transform-origin: center center;
  will-change: transform;
}

.showreel-video {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}

.showreel-meta {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 3rem;
  padding: 2.5rem 0 0;
  border-top: 1px solid var(--border-subtle);
  margin-top: 2.5rem;
  font-size: 0.95rem;
  color: var(--text-secondary);
}

@media screen and (max-width: 768px) {
  .showreel-meta {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

.showreel-meta .label {
  color: var(--text-muted);
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
}

.showreel-meta .description {
  line-height: 1.6;
  max-width: 680px;
}

/* ==========================================================================
   WORKS SECTION: STACKING OVERLAPPING CARDS (SCREENSHOT 2)
   ========================================================================== */
.works-section {
  position: relative;
  width: 100%;
  padding: 8rem 2.5rem 10rem;
  background-color: var(--bg-primary);
  z-index: 3;
}

@media screen and (max-width: 768px) {
  .works-section {
    padding: 5rem 1.5rem 6rem;
  }
}

.section-header-works {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border-subtle);
}

.works-giant-label {
  font-family: var(--font-display);
  font-size: clamp(3rem, 10vw, 8.5rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  line-height: 0.85;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.4);
  transition: -webkit-text-stroke 0.3s ease, color 0.3s ease;
}

.works-giant-label:hover {
  color: #fff;
  -webkit-text-stroke: 1px #fff;
}

.works-subheading {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.6vw, 2.2rem);
  font-weight: 600;
  line-height: 1.25;
  max-width: 480px;
}

.works-grid {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
}

/* Sticky Overlapping Card Stack */
.work-card {
  position: sticky;
  top: 12vh;
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 3.5rem;
  align-items: center;
  padding: 3.5rem;
  background: #111111;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 20px;
  box-shadow: 0 -20px 60px rgba(0, 0, 0, 0.8);
  margin-bottom: 12vh;
  transform-origin: center top;
  will-change: transform, filter;
  transition: transform 0.4s var(--ease-out-expo), filter 0.4s ease, border-color 0.3s ease;
}

.work-card:nth-child(1) { top: 10vh; z-index: 10; }
.work-card:nth-child(2) { top: 12vh; z-index: 11; }
.work-card:nth-child(3) { top: 14vh; z-index: 12; }
.work-card:nth-child(4) { top: 16vh; z-index: 13; }
.work-card:nth-child(5) { top: 18vh; z-index: 14; }

@media screen and (max-width: 960px) {
  .work-card {
    grid-template-columns: 1fr;
    gap: 1.8rem;
    padding: 2rem;
  }
}

.work-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.work-index {
  font-size: 0.8rem;
  color: var(--text-muted);
  letter-spacing: 0.1em;
}

.work-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4.5vw, 3.8rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #fff;
  transition: transform 0.3s var(--ease-out-expo);
}

.work-card:hover .work-title {
  transform: translateX(10px);
}

.work-tagline {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.work-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 0.5rem;
}

.work-tag {
  font-size: 0.72rem;
  padding: 4px 10px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

.work-media-wrap {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: #181818;
  box-shadow: 0 25px 60px rgba(0,0,0,0.6);
  cursor: pointer;
  transform-style: preserve-3d;
  perspective: 1000px;
  transition: transform 0.4s var(--ease-out-expo), box-shadow 0.4s var(--ease-out-expo);
}

.work-media-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease-out-expo), filter 0.8s var(--ease-out-expo);
  will-change: transform;
}

.work-card:hover .work-media-wrap {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 35px 80px rgba(0,0,0,0.85);
}

.work-card:hover .work-media-img {
  transform: scale(1.06);
  filter: brightness(1.1);
}

/* ==========================================================================
   MUSEUM STUDIO & EXHIBITION (ZOOM ON SCROLL)
   ========================================================================== */
.museum-scroll-track {
  position: relative;
  width: 100%;
  min-height: 200vh;
  background-color: #0c0c0c;
  z-index: 4;
}

.museum-sticky-wrapper {
  position: sticky;
  top: 0;
  width: 100%;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 2rem;
}

.museum-frame-wrap {
  position: relative;
  width: 100%;
  max-width: 1300px;
  margin: 0 auto;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 35px 80px rgba(0, 0, 0, 0.8);
  background: #000;
  transform-origin: center center;
  will-change: transform;
}

.museum-bg-img {
  width: 100%;
  height: auto;
  display: block;
  opacity: 0.9;
}

.museum-screen-holder {
  position: absolute;
  top: 14%;
  left: 21%;
  width: 58%;
  height: 52%;
  overflow: hidden;
  background: #000;
  box-shadow: 0 0 50px rgba(0, 0, 0, 0.9);
}

.museum-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.museum-reflection {
  position: absolute;
  top: 67%;
  left: 21%;
  width: 58%;
  height: 25%;
  overflow: hidden;
  opacity: 0.45;
  filter: blur(4px);
  transform: scaleY(-1);
  pointer-events: none;
  mask-image: linear-gradient(to top, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 90%);
  -webkit-mask-image: linear-gradient(to top, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 90%);
}

.museum-controls {
  position: absolute;
  bottom: 2rem;
  right: 2.5rem;
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(10px);
  padding: 10px 20px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 30px;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10;
}

.museum-controls:hover {
  background: #fff;
  color: #000;
  border-color: #fff;
}

.sound-wave-icon {
  display: flex;
  align-items: center;
  gap: 3px;
  height: 14px;
}

.sound-wave-icon span {
  width: 2px;
  height: 100%;
  background: currentColor;
  border-radius: 1px;
}

.sound-wave-icon.playing span:nth-child(1) { animation: soundWave 0.8s ease-in-out infinite alternate; }
.sound-wave-icon.playing span:nth-child(2) { animation: soundWave 1.2s ease-in-out infinite alternate 0.2s; }
.sound-wave-icon.playing span:nth-child(3) { animation: soundWave 0.6s ease-in-out infinite alternate 0.4s; }

/* ==========================================================================
   STUDIO PHILOSOPHY & SERVICES
   ========================================================================== */
.philosophy-section {
  position: relative;
  width: 100%;
  padding: 9rem 2.5rem;
  background-color: var(--bg-primary);
  overflow: hidden;
}

@media screen and (max-width: 768px) {
  .philosophy-section {
    padding: 5rem 1.5rem;
  }
}

.philosophy-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  margin-bottom: 7rem;
}

@media screen and (max-width: 900px) {
  .philosophy-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

.philosophy-label {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.philosophy-big-statement {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.8vw, 3.4rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.philosophy-text-lead {
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--text-secondary);
}

.floating-gallery-cluster {
  position: relative;
  width: 100%;
  min-height: 480px;
  margin: 4rem 0 7rem;
}

.cluster-item {
  position: absolute;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 25px 50px rgba(0,0,0,0.6);
  transition: transform 0.6s var(--ease-out-expo);
}

.cluster-item.item-left {
  top: 0;
  left: 5%;
  width: min(340px, 45%);
}

.cluster-item.item-right {
  top: 15%;
  right: 5%;
  width: min(380px, 48%);
}

/* Services and Team Lists */
.services-team-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  padding-top: 5rem;
  border-top: 1px solid var(--border-subtle);
}

@media screen and (max-width: 900px) {
  .services-team-wrap {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

.list-block-title {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 2rem;
  color: #fff;
}

.interactive-service-list {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.service-item-row {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  font-size: 1.1rem;
  color: var(--text-secondary);
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: color 0.3s ease, padding-left 0.3s var(--ease-out-expo);
}

.service-item-row:hover {
  color: #fff;
  padding-left: 12px;
}

.service-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent-glow);
}

.team-list-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

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

.team-member .role {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-top: 4px;
}

/* ==========================================================================
   INTERACTIVE 3D FLOATING PHYSICS & LETTERS UNIVERSE (SCREENSHOT 3)
   ========================================================================== */
.physics-floating-section {
  position: relative;
  width: 100%;
  min-height: 90vh;
  background-color: #040404;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1200px;
  padding: 4rem 2rem;
  z-index: 5;
}

.physics-stage-container {
  position: relative;
  width: 100%;
  height: 80vh;
  max-width: 1400px;
  margin: 0 auto;
  overflow: hidden;
}

.physics-stage-header {
  position: absolute;
  top: 1.5rem;
  left: 2rem;
  z-index: 10;
}

.physics-stage-title {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
}

.physics-stage-hint {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.4);
  margin-top: 4px;
}

.physics-floating-item {
  position: absolute !important;
  user-select: none;
  pointer-events: auto;
  cursor: grab;
  will-change: transform;
  filter: drop-shadow(0 25px 45px rgba(0, 0, 0, 0.85));
  max-height: 42vh;
  object-fit: contain;
}

.physics-floating-item:active {
  cursor: grabbing;
}

.physics-floating-item.asterisk-balloon {
  top: 12%;
  right: 24%;
  width: min(230px, 28vw);
  z-index: 5;
}

.physics-floating-item.metallic-blue-foil {
  bottom: 6%;
  right: 25%;
  width: min(270px, 30vw);
  z-index: 4;
}

.physics-floating-item.pink-swirl {
  top: 36%;
  right: 27%;
  width: min(120px, 15vw);
  z-index: 6;
}

.physics-floating-item.silver-candy {
  top: 48%;
  right: 21%;
  width: min(130px, 16vw);
  z-index: 3;
}

.physics-floating-item.bubble-heart {
  top: 18%;
  left: 14%;
  width: min(180px, 22vw);
  z-index: 4;
}

/* Floating Letters */
.physics-letter {
  position: absolute !important;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2.8rem, 6vw, 5.5rem);
  color: #ffffff;
  user-select: none;
  cursor: grab;
  will-change: transform;
  text-shadow: 0 10px 30px rgba(0,0,0,0.9);
  z-index: 2;
  transition: color 0.3s ease;
}

.physics-letter:hover {
  color: var(--accent-glow);
}

.physics-letter:active {
  cursor: grabbing;
}

/* ==========================================================================
   GLITCH & KINETIC TYPOGRAPHY SECTION
   ========================================================================== */
.glitch-section {
  position: relative;
  width: 100%;
  min-height: 80vh;
  padding: 8rem 2.5rem;
  background-color: #070707;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}

@media screen and (max-width: 768px) {
  .glitch-section {
    padding: 5rem 1.5rem;
  }
}

.kinetic-text-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6.5vw, 6.2rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.04em;
  line-height: 0.95;
  user-select: none;
}

.kinetic-line {
  color: #1a1a1a;
  transition: color 0.4s ease, transform 0.4s ease;
}

.kinetic-line.highlight {
  color: #ffffff;
  text-shadow: 0 0 30px rgba(255, 255, 255, 0.2);
}

.kinetic-line:hover {
  color: #ffffff;
  transform: translateX(15px);
}

.kinetic-bottom-lead {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.8vw, 2.4rem);
  font-weight: 600;
  line-height: 1.3;
  margin-top: 4rem;
  max-width: 780px;
}

/* ==========================================================================
   FOOTER SECTION
   ========================================================================== */
.site-footer {
  position: relative;
  width: 100%;
  padding: 8rem 2.5rem 2.5rem;
  background-color: #050505;
  border-top: 1px solid var(--border-subtle);
}

@media screen and (max-width: 768px) {
  .site-footer {
    padding: 5rem 1.5rem 1.5rem;
  }
}

.footer-cta-wrap {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 6rem;
}

@media screen and (max-width: 860px) {
  .footer-cta-wrap {
    flex-direction: column;
    align-items: flex-start;
    gap: 3rem;
  }
}

.footer-heading {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 5.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.footer-action-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-massive-logo {
  width: 100%;
  margin: 4rem 0 3rem;
}

.footer-massive-logo svg {
  width: 100%;
  height: auto;
  fill: #ffffff;
}

.footer-credits-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: var(--text-muted);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
}

@media screen and (max-width: 768px) {
  .footer-credits-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
}

.footer-social-links {
  display: flex;
  gap: 2rem;
}

.footer-social-links a {
  color: var(--text-secondary);
  transition: color 0.25s ease;
}

.footer-social-links a:hover {
  color: #fff;
}

/* ==========================================================================
   PROJECT CASE STUDY MODAL (WIDESCREEN + MULTI-IMAGE GALLERY)
   ========================================================================== */
.project-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 99999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.5rem;
  opacity: 0;
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.project-modal-backdrop.active {
  display: flex !important;
  opacity: 1;
}

.modal-backdrop-surface {
  position: absolute;
  inset: 0;
  cursor: pointer;
}

.project-modal-card {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1380px;
  max-height: 90vh;
  background: #0d0d0d;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 20px;
  overflow-y: auto;
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
  padding: 3rem;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.95), 0 0 80px rgba(255, 255, 255, 0.03);
  transform: translateY(20px) scale(0.98);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.project-modal-card::-webkit-scrollbar {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
}

/* Modal Header */
.project-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.modal-header-meta {
  flex: 1;
}

.modal-category-badge {
  font-family: var(--font-mono, monospace);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.modal-title-heading {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.8rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: #ffffff;
  margin: 0;
}

.modal-close-button {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  cursor: pointer;
  flex-shrink: 0;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-close-button:hover {
  background: #ffffff;
  color: #000000;
  transform: rotate(90deg) scale(1.08);
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.4);
}

/* Project Gallery Showcase */
.project-modal-gallery {
  margin-bottom: 2.5rem;
}

.gallery-main-container {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  max-height: 64vh;
  border-radius: 14px;
  overflow: hidden;
  background: #000000;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8);
  margin-bottom: 1.2rem;
}

.gallery-main-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.3s ease, transform 0.4s ease;
  opacity: 1;
}

.gallery-main-img.fade-out {
  opacity: 0;
  transform: scale(0.99);
}

/* Gallery Navigation Arrows */
.gallery-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(10, 10, 10, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  cursor: pointer;
  z-index: 5;
  transition: all 0.25s ease;
  opacity: 0.85;
}

.gallery-nav-btn:hover {
  background: #ffffff;
  color: #000000;
  opacity: 1;
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 0 25px rgba(255, 255, 255, 0.4);
}

.gallery-nav-btn.prev {
  left: 1.5rem;
}

.gallery-nav-btn.next {
  right: 1.5rem;
}

.gallery-counter-badge {
  position: absolute;
  bottom: 1.5rem;
  right: 1.5rem;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 6px 16px;
  border-radius: 30px;
  font-family: var(--font-mono, monospace);
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  color: #ffffff;
  z-index: 5;
  pointer-events: none;
}

/* Thumbnails Strip */
.gallery-thumbs-track {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding: 4px 2px 10px 2px;
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
}

.gallery-thumbs-track::-webkit-scrollbar {
  display: none !important;
}

.gallery-thumb-item {
  position: relative;
  width: 120px;
  height: 72px;
  flex-shrink: 0;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  background: #141414;
  opacity: 0.5;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-thumb-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-thumb-item:hover {
  opacity: 0.85;
  transform: translateY(-3px);
}

.gallery-thumb-item.active {
  opacity: 1;
  border-color: #ffffff;
  box-shadow: 0 0 16px rgba(255, 255, 255, 0.4);
  transform: scale(1.04);
}

/* Project Details Editorial Grid */
.project-modal-details-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 3.5rem;
  align-items: start;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.modal-section-title {
  font-family: var(--font-mono, monospace);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-muted);
  margin-bottom: 1.2rem;
}

.modal-tagline-text {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  line-height: 1.4;
  color: #ffffff;
  margin-bottom: 1.2rem;
}

.modal-desc-text {
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--text-secondary);
}

.modal-services-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

@media (max-width: 900px) {
  .project-modal-card {
    padding: 1.8rem;
    max-height: 94vh;
  }
  
  .project-modal-details-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .gallery-nav-btn {
    width: 42px;
    height: 42px;
    font-size: 1.4rem;
  }
  
  .gallery-nav-btn.prev {
    left: 0.8rem;
  }
  
  .gallery-nav-btn.next {
    right: 0.8rem;
  }
  
  .gallery-thumb-item {
    width: 90px;
    height: 56px;
  }
}
