/* ==========================================================================
   GHUGHUTI FILMS — IMMERSIVE CINEMATIC DESIGN SYSTEM
   Inspired by A24 / Anonymous Content / Smuggler Films
   Mobile-First Responsive Architecture
   Poppins (Display) · Cinzel (Accent) · Inter (Body)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@500;600;700;800;900&family=Inter:wght@300;400;500;600;700&family=Poppins:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,400;1,600&display=swap');

/* --------------------------------------------------------------------------
   DESIGN TOKENS
   -------------------------------------------------------------------------- */
:root {
  /* Typography */
  --font-display: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-accent: 'Cinzel', 'Georgia', serif;
  --font-body: 'Inter', 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Noir Palette */
  --black: #0a0a0a;
  --black-rich: #050505;
  --surface: #111111;
  --surface-elevated: #181818;
  --surface-hover: #1f1f1f;

  /* Warm Accent */
  --amber: #c9a84c;
  --amber-light: #e4d5a0;
  --amber-dark: #9a7e2e;
  --amber-glow: rgba(201, 168, 76, 0.15);
  --amber-gradient: linear-gradient(135deg, #e4d5a0 0%, #c9a84c 50%, #9a7e2e 100%);

  /* Text Hierarchy */
  --white: #f5f0eb;
  --white-pure: #ffffff;
  --gray-100: #e0dcd7;
  --gray-300: #a8a29e;
  --gray-500: #737373;
  --gray-700: #404040;
  --gray-900: #1a1a1a;

  /* Borders & Surfaces */
  --border-subtle: rgba(255, 255, 255, 0.06);
  --border-medium: rgba(255, 255, 255, 0.12);
  --border-amber: rgba(201, 168, 76, 0.25);

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.7);
  --shadow-amber: 0 0 40px rgba(201, 168, 76, 0.2);

  /* Radii */
  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-pill: 9999px;

  /* Transitions */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-smooth: cubic-bezier(0.25, 1, 0.5, 1);
  --duration-fast: 0.25s;
  --duration-normal: 0.4s;
  --duration-slow: 0.6s;

  /* Layout */
  --container-max: 1320px;
  --section-padding: clamp(80px, 10vw, 150px);
  --header-height: 72px;
}

/* Light Theme Override */
[data-theme="light"] {
  --black: #f8f6f3;
  --black-rich: #ffffff;
  --surface: #f0ece7;
  --surface-elevated: #ffffff;
  --surface-hover: #e8e4df;
  --white: #1a1a1a;
  --white-pure: #0a0a0a;
  --gray-100: #2d2d2d;
  --gray-300: #525252;
  --gray-500: #737373;
  --gray-700: #a3a3a3;
  --gray-900: #e5e5e5;
  --amber: #9a7e2e;
  --amber-light: #7a6420;
  --amber-glow: rgba(154, 126, 46, 0.1);
  --border-subtle: rgba(0, 0, 0, 0.06);
  --border-medium: rgba(0, 0, 0, 0.1);
  --border-amber: rgba(154, 126, 46, 0.2);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.1);
}

/* --------------------------------------------------------------------------
   LENIS SMOOTH SCROLL
   -------------------------------------------------------------------------- */
html.lenis, html.lenis body {
  height: auto;
}
.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}
.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}
.lenis.lenis-stopped {
  overflow: hidden;
}
.lenis.lenis-scrolling iframe {
  pointer-events: none;
}

/* --------------------------------------------------------------------------
   GLOBAL RESET & BASE
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  background-color: var(--black);
  scroll-behavior: smooth;
}

body {
  background-color: var(--black);
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: background-color 0.5s ease, color 0.5s ease;
}

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

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

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

/* --------------------------------------------------------------------------
   LAYOUT CONTAINER
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 20px;
}

@media (min-width: 600px) {
  .container { padding: 0 32px; }
}
@media (min-width: 1200px) {
  .container { padding: 0 48px; }
}

/* --------------------------------------------------------------------------
   UTILITY CLASSES
   -------------------------------------------------------------------------- */
.text-amber {
  color: var(--amber);
}
.text-gradient {
  background: var(--amber-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

/* --------------------------------------------------------------------------
   SECTION SHARED STYLES
   -------------------------------------------------------------------------- */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-accent);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 16px;
}
.section-label::before {
  content: '';
  display: inline-block;
  width: 28px;
  height: 1px;
  background: var(--amber);
}

.section-heading {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.6rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--white-pure);
  margin-bottom: 20px;
}

.section-text {
  font-size: clamp(0.95rem, 1.5vw, 1.1rem);
  color: var(--gray-300);
  max-width: 600px;
  line-height: 1.7;
}

/* ==========================================================================
   NAVIGATION
   ========================================================================== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 0 20px;
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background var(--duration-normal) var(--ease-out),
              box-shadow var(--duration-normal) var(--ease-out),
              padding var(--duration-normal) var(--ease-out);
}

.nav.scrolled {
  background: rgba(10, 10, 10, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 var(--border-subtle);
}

[data-theme="light"] .nav.scrolled {
  background: rgba(248, 246, 243, 0.95);
}

@media (min-width: 600px) {
  .nav { padding: 0 32px; }
}
@media (min-width: 1200px) {
  .nav { padding: 0 48px; }
}

/* Logo */
.nav__logo {
  display: flex;
  align-items: center;
  z-index: 1001;
}
.nav__logo img {
  height: 38px;
  width: auto;
  transition: opacity var(--duration-fast) ease;
}
@media (min-width: 600px) {
  .nav__logo img { height: 44px; }
}

/* Desktop Links */
.nav__links {
  display: none;
  list-style: none;
  gap: 36px;
  align-items: center;
}
@media (min-width: 900px) {
  .nav__links { display: flex; }
}
.nav__links a {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gray-300);
  transition: color var(--duration-fast) ease;
  position: relative;
}
.nav__links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--amber);
  transition: width 0.3s var(--ease-out);
}
.nav__links a:hover,
.nav__links a.active {
  color: var(--white-pure);
}
.nav__links a:hover::after,
.nav__links a.active::after {
  width: 100%;
}

/* Nav Actions */
.nav__actions {
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 1001;
}

.nav__theme-btn {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-pill);
  background: var(--border-subtle);
  color: var(--amber);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  transition: all var(--duration-fast) ease;
  border: 1px solid transparent;
}
.nav__theme-btn:hover {
  background: var(--amber-glow);
  border-color: var(--border-amber);
}

.nav__cta {
  display: none;
  padding: 10px 24px;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--black-rich);
  background: var(--amber-gradient);
  border-radius: var(--radius-pill);
  transition: all var(--duration-fast) ease;
}
@media (min-width: 900px) {
  .nav__cta { display: inline-flex; align-items: center; gap: 8px; }
}
.nav__cta:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-amber);
}

/* Hamburger */
.nav__hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 28px;
  height: 28px;
  z-index: 1001;
}
@media (min-width: 900px) {
  .nav__hamburger { display: none; }
}
.nav__hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.3s var(--ease-out);
  transform-origin: center;
}
.nav__hamburger.open span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.nav__hamburger.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.nav__hamburger.open span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Fullscreen Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: var(--black-rich);
  z-index: 999;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s var(--ease-out);
}
.mobile-menu.open {
  opacity: 1;
  pointer-events: all;
}
.mobile-menu__links {
  list-style: none;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.mobile-menu__links a {
  font-family: var(--font-display);
  font-size: clamp(28px, 6vw, 42px);
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.02em;
  padding: 8px 0;
  display: block;
  opacity: 0;
  transform: translateY(20px);
  transition: color var(--duration-fast) ease;
}
.mobile-menu.open .mobile-menu__links a {
  opacity: 1;
  transform: translateY(0);
}
.mobile-menu__links a:hover {
  color: var(--amber);
}
/* Stagger delays applied by JS, but CSS fallback */
.mobile-menu.open .mobile-menu__links li:nth-child(1) a { transition-delay: 0.1s; }
.mobile-menu.open .mobile-menu__links li:nth-child(2) a { transition-delay: 0.15s; }
.mobile-menu.open .mobile-menu__links li:nth-child(3) a { transition-delay: 0.2s; }
.mobile-menu.open .mobile-menu__links li:nth-child(4) a { transition-delay: 0.25s; }
.mobile-menu.open .mobile-menu__links li:nth-child(5) a { transition-delay: 0.3s; }
.mobile-menu.open .mobile-menu__links li:nth-child(6) a { transition-delay: 0.35s; }

.mobile-menu__contact {
  margin-top: 40px;
  text-align: center;
}
.mobile-menu__contact a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--black-rich);
  background: var(--amber-gradient);
  border-radius: var(--radius-pill);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  padding: calc(var(--header-height) + 40px) 0 60px;
  overflow: hidden;
}

@media (min-width: 600px) {
  .hero { padding-bottom: 80px; }
}
@media (min-width: 900px) {
  .hero { align-items: center; padding: 0; }
}

/* Background Image */
.hero__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}
.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.35) contrast(1.15) saturate(0.9);
  transform: scale(1.05);
  transition: transform 12s ease-out;
}
.hero.loaded .hero__bg img {
  transform: scale(1);
}

/* Vignette Overlay */
.hero__vignette {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  background:
    linear-gradient(to bottom, rgba(10,10,10,0.4) 0%, transparent 30%, transparent 50%, rgba(10,10,10,0.7) 80%, var(--black) 100%),
    linear-gradient(to right, rgba(10,10,10,0.5) 0%, transparent 50%);
}

[data-theme="light"] .hero__vignette {
  background:
    linear-gradient(to bottom, rgba(248,246,243,0.3) 0%, transparent 30%, transparent 50%, rgba(248,246,243,0.7) 80%, var(--black) 100%),
    linear-gradient(to right, rgba(248,246,243,0.4) 0%, transparent 50%);
}

/* Hero Content */
.hero__content {
  position: relative;
  z-index: 2;
  padding: 0 20px;
  max-width: 900px;
}
@media (min-width: 600px) {
  .hero__content { padding: 0 32px; }
}
@media (min-width: 1200px) {
  .hero__content { padding: 0 48px; }
}

.hero__label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-accent);
  font-size: 10px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 24px;
  opacity: 0;
}
.hero__label::before {
  content: '';
  width: 32px;
  height: 1px;
  background: var(--amber);
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 8vw, 6rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.04em;
  color: var(--white-pure);
  margin-bottom: 24px;
  text-transform: uppercase;
}
.hero__title .word {
  display: inline-block;
  overflow: hidden;
  margin-right: 0.25em;
}
.hero__title .word-inner {
  display: inline-block;
  transform: translateY(110%);
}

.hero__subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--gray-300);
  max-width: 560px;
  line-height: 1.7;
  margin-bottom: 40px;
  opacity: 0;
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  opacity: 0;
}

/* Scroll Indicator */
.hero__scroll {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0;
}
.hero__scroll-text {
  font-family: var(--font-accent);
  font-size: 9px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gray-500);
}
.hero__scroll-line {
  width: 1px;
  height: 40px;
  background: var(--gray-700);
  position: relative;
  overflow: hidden;
}
.hero__scroll-line::after {
  content: '';
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--amber);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0% { top: -100%; }
  50% { top: 100%; }
  100% { top: 100%; }
}

@media (min-width: 900px) {
  .hero__scroll { display: flex; }
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 32px;
  border-radius: var(--radius-pill);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all var(--duration-normal) var(--ease-out);
  position: relative;
  overflow: hidden;
  border: none;
}

.btn--primary {
  background: var(--amber-gradient);
  color: var(--black-rich);
  box-shadow: 0 4px 20px rgba(201, 168, 76, 0.25);
}
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 35px rgba(201, 168, 76, 0.4);
}

.btn--outline {
  background: transparent;
  color: var(--white);
  border: 1.5px solid var(--border-medium);
}
.btn--outline:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--amber);
  color: var(--amber-light);
  transform: translateY(-2px);
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.05);
  color: var(--white);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-subtle);
}
.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--border-medium);
}

/* Play Button (Circle) */
.btn--play {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  padding: 0;
  background: var(--amber-gradient);
  color: var(--black-rich);
  font-size: 20px;
  box-shadow: 0 0 30px rgba(201, 168, 76, 0.4);
}
.btn--play:hover {
  transform: scale(1.08);
  box-shadow: 0 0 50px rgba(201, 168, 76, 0.6);
}

/* ==========================================================================
   SHOWREEL — HORIZONTAL SCROLL FILMSTRIP
   ========================================================================== */
.showreel {
  padding: var(--section-padding) 0;
  overflow: hidden;
}

.showreel__header {
  padding: 0 20px;
  margin-bottom: 48px;
}
@media (min-width: 600px) {
  .showreel__header { padding: 0 32px; }
}
@media (min-width: 1200px) {
  .showreel__header { padding: 0 48px; max-width: var(--container-max); margin-left: auto; margin-right: auto; margin-bottom: 48px; }
}

.showreel__track-wrapper {
  position: relative;
  width: 100%;
}

.showreel__track {
  display: flex;
  gap: 20px;
  padding: 0 20px;
  /* Horizontal scroll handled by GSAP pin on desktop; native on mobile */
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.showreel__track::-webkit-scrollbar {
  display: none;
}
@media (min-width: 900px) {
  .showreel__track {
    gap: 28px;
    padding: 0 48px;
    overflow: visible;
  }
}

.showreel__frame {
  position: relative;
  flex: 0 0 82vw;
  max-width: 82vw;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  background: var(--surface);
}
@media (min-width: 600px) {
  .showreel__frame { flex: 0 0 60vw; max-width: 60vw; }
}
@media (min-width: 900px) {
  .showreel__frame { flex: 0 0 45vw; max-width: 45vw; }
}
@media (min-width: 1200px) {
  .showreel__frame { flex: 0 0 38vw; max-width: 38vw; }
}

.showreel__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease-out), filter 0.6s ease;
  filter: brightness(0.85);
}
.showreel__frame:hover img {
  transform: scale(1.05);
  filter: brightness(1);
}

.showreel__frame-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,10,10,0.8) 0%, transparent 50%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  transition: opacity 0.3s ease;
}

.showreel__frame-title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--white-pure);
  margin-bottom: 4px;
}
@media (min-width: 600px) {
  .showreel__frame-title { font-size: 20px; }
}

.showreel__frame-tag {
  font-family: var(--font-accent);
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--amber);
}

.showreel__frame-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.9);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(201, 168, 76, 0.9);
  color: var(--black-rich);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  opacity: 0;
  transition: all 0.35s var(--ease-out);
}
.showreel__frame:hover .showreel__frame-play {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

/* ==========================================================================
   ABOUT SECTION
   ========================================================================== */
.about {
  padding: var(--section-padding) 0;
  position: relative;
}

.about__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}
@media (min-width: 900px) {
  .about__grid {
    grid-template-columns: 1.1fr 1fr;
    gap: 80px;
  }
}

.about__image-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.about__image-wrap img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}
@media (min-width: 900px) {
  .about__image-wrap img { aspect-ratio: 3 / 4; min-height: 520px; }
}

.about__badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-amber);
  border-radius: var(--radius-sm);
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.about__badge-icon {
  font-size: 24px;
  color: var(--amber);
}
.about__badge-num {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  color: var(--white-pure);
  line-height: 1;
}
.about__badge-label {
  font-size: 11px;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.about__content p {
  font-size: 15px;
  color: var(--gray-300);
  line-height: 1.8;
  margin-bottom: 20px;
}
.about__content strong {
  color: var(--white-pure);
}

/* Stats Row */
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 36px;
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
}
.stat {
  text-align: center;
  position: relative;
}
.stat:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 15%;
  height: 70%;
  width: 1px;
  background: var(--border-subtle);
}
.stat__number {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 800;
  color: var(--amber);
  line-height: 1;
  margin-bottom: 4px;
}
.stat__label {
  font-size: 11px;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 500;
}

/* ==========================================================================
   SELECTED WORK — BENTO GRID
   ========================================================================== */
.work {
  padding: var(--section-padding) 0;
  background: var(--surface);
}

.work__head {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 40px;
}
@media (min-width: 900px) {
  .work__head {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 56px;
  }
}

/* Filter Tabs */
.work__filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.work__filter-btn {
  padding: 8px 20px;
  border-radius: var(--radius-pill);
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.5px;
  color: var(--gray-500);
  background: transparent;
  border: 1px solid var(--border-subtle);
  transition: all var(--duration-fast) ease;
  text-transform: uppercase;
  cursor: pointer;
  white-space: nowrap;
}
.work__filter-btn:hover {
  color: var(--white);
  border-color: var(--border-medium);
  background: rgba(255, 255, 255, 0.03);
}
.work__filter-btn.active {
  color: var(--black-rich);
  background: var(--amber);
  border-color: var(--amber);
  font-weight: 600;
}

/* Work Grid */
.work__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 600px) {
  .work__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1200px) {
  .work__grid { grid-template-columns: repeat(3, 1fr); gap: 20px; }
}

/* Work Card */
.work-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  background: var(--black);
  aspect-ratio: 16 / 10;
  transition: transform var(--duration-slow) var(--ease-out);
}
.work-card:hover {
  transform: translateY(-4px);
}

/* Featured card (spans 2 cols on desktop) */
@media (min-width: 1200px) {
  .work-card--featured {
    grid-column: span 2;
    aspect-ratio: 21 / 9;
  }
}

.work-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease-out), filter 0.4s ease;
  filter: brightness(0.8) saturate(0.95);
}
.work-card:hover .work-card__image {
  transform: scale(1.06);
  filter: brightness(0.95) saturate(1);
}

.work-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,10,10,0.9) 0%, rgba(10,10,10,0.1) 50%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  transition: background var(--duration-normal) ease;
}
@media (min-width: 600px) {
  .work-card__overlay { padding: 28px; }
}

.work-card__tag {
  font-family: var(--font-accent);
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 6px;
}

.work-card__title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--white-pure);
  line-height: 1.3;
  margin-bottom: 4px;
  transition: color var(--duration-fast) ease;
}
@media (min-width: 600px) {
  .work-card__title { font-size: 20px; }
}
.work-card:hover .work-card__title {
  color: var(--amber-light);
}

.work-card__desc {
  font-size: 13px;
  color: var(--gray-300);
  line-height: 1.5;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: all 0.4s var(--ease-out);
}
.work-card:hover .work-card__desc {
  max-height: 60px;
  opacity: 1;
  margin-top: 6px;
}

/* Play indicator for video cards */
.work-card__play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.85);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(201, 168, 76, 0.9);
  color: var(--black-rich);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  opacity: 0;
  transition: all 0.35s var(--ease-out);
  z-index: 3;
}
.work-card:hover .work-card__play {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

/* ==========================================================================
   BRAND MARQUEE — INFINITE SCROLL
   ========================================================================== */
.brands {
  padding: 60px 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  overflow: hidden;
  position: relative;
}

.brands__label {
  text-align: center;
  margin-bottom: 32px;
}
.brands__label h4 {
  font-family: var(--font-accent);
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gray-500);
}

.brands__marquee {
  position: relative;
  overflow: hidden;
}
.brands__marquee::before,
.brands__marquee::after {
  content: '';
  position: absolute;
  top: 0;
  width: 120px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}
.brands__marquee::before {
  left: 0;
  background: linear-gradient(to right, var(--black), transparent);
}
.brands__marquee::after {
  right: 0;
  background: linear-gradient(to left, var(--black), transparent);
}
[data-theme="light"] .brands__marquee::before {
  background: linear-gradient(to right, var(--black), transparent);
}
[data-theme="light"] .brands__marquee::after {
  background: linear-gradient(to left, var(--black), transparent);
}

.brands__track {
  display: flex;
  gap: 60px;
  align-items: center;
  animation: marqueeScroll 40s linear infinite;
  width: max-content;
}
.brands__track img {
  height: 36px;
  width: auto;
  object-fit: contain;
  opacity: 0.5;
  filter: grayscale(100%) brightness(1.8);
  transition: all var(--duration-normal) ease;
  flex-shrink: 0;
}
[data-theme="light"] .brands__track img {
  filter: grayscale(100%) brightness(0.4);
  opacity: 0.6;
}
.brands__track img:hover {
  opacity: 1;
  filter: grayscale(0%) brightness(1);
}

@keyframes marqueeScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ==========================================================================
   SERVICES / CAPABILITIES
   ========================================================================== */
.services {
  padding: var(--section-padding) 0;
}

.services__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 48px;
}
@media (min-width: 600px) {
  .services__grid { grid-template-columns: repeat(2, 1fr); }
}

.service-card {
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  transition: all var(--duration-normal) var(--ease-out);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 0;
  background: var(--amber);
  transition: height 0.4s var(--ease-out);
}
.service-card:hover {
  border-color: var(--border-amber);
  background: var(--surface-elevated);
  transform: translateY(-3px);
}
.service-card:hover::before {
  height: 100%;
}

.service-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}
.service-card__num {
  font-family: var(--font-accent);
  font-size: 12px;
  letter-spacing: 2px;
  color: var(--amber);
  font-weight: 700;
}
.service-card__icon {
  width: 46px;
  height: 46px;
  border-radius: var(--radius-sm);
  background: var(--amber-glow);
  border: 1px solid var(--border-amber);
  color: var(--amber);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  transition: all var(--duration-fast) ease;
}
.service-card:hover .service-card__icon {
  background: var(--amber);
  color: var(--black-rich);
}

.service-card__title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--white-pure);
  margin-bottom: 10px;
}
.service-card__text {
  font-size: 14px;
  color: var(--gray-300);
  line-height: 1.7;
  margin-bottom: 20px;
}

.service-card__list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  padding-top: 16px;
  border-top: 1px solid var(--border-subtle);
}
@media (min-width: 600px) {
  .service-card__list { grid-template-columns: 1fr 1fr; gap: 8px 16px; }
}
.service-card__list li {
  font-size: 13px;
  color: var(--gray-100);
  display: flex;
  align-items: center;
  gap: 8px;
}
.service-card__list li i {
  color: var(--amber);
  font-size: 10px;
  flex-shrink: 0;
}

/* ==========================================================================
   LINE PRODUCTION FEATURE BANNER
   ========================================================================== */
.feature {
  position: relative;
  min-height: 500px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.feature__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.feature__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.4);
}

.feature__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(10,10,10,0.9) 0%, rgba(10,10,10,0.3) 70%);
  z-index: 1;
}

.feature__content {
  position: relative;
  z-index: 2;
  padding: 60px 20px;
  max-width: 600px;
}
@media (min-width: 600px) {
  .feature__content { padding: 80px 48px; }
}

.feature__tag {
  font-family: var(--font-accent);
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.feature__tag::before {
  content: '';
  width: 28px;
  height: 1px;
  background: var(--amber);
}

.feature__title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  color: var(--white-pure);
  line-height: 1.15;
  margin-bottom: 16px;
}

.feature__text {
  font-size: 15px;
  color: var(--gray-300);
  line-height: 1.7;
  margin-bottom: 28px;
}

/* ==========================================================================
   CONTACT SECTION
   ========================================================================== */
.contact {
  padding: var(--section-padding) 0;
}

.contact__wrapper {
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr;
}
@media (min-width: 900px) {
  .contact__wrapper { grid-template-columns: 1fr 1.3fr; }
}

/* Info Panel */
.contact__info {
  padding: 40px 28px;
  background: var(--surface-elevated);
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
@media (min-width: 900px) {
  .contact__info {
    padding: 48px 40px;
    border-bottom: none;
    border-right: 1px solid var(--border-subtle);
  }
}

.contact__info-tag {
  font-family: var(--font-accent);
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--amber);
  text-transform: uppercase;
  margin-bottom: 12px;
}
.contact__info h3 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 800;
  color: var(--white-pure);
  margin-bottom: 12px;
}
.contact__info > div:first-child > p {
  font-size: 14px;
  color: var(--gray-300);
  line-height: 1.7;
  margin-bottom: 28px;
}

.contact__details {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 28px;
}
.contact__detail {
  display: flex;
  align-items: center;
  gap: 14px;
}
.contact__detail-icon {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  background: var(--amber-glow);
  border: 1px solid var(--border-amber);
  color: var(--amber);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}
.contact__detail-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--gray-500);
  margin-bottom: 2px;
}
.contact__detail-value {
  font-size: 14px;
  color: var(--white-pure);
  font-weight: 600;
}
.contact__detail-value a {
  transition: color var(--duration-fast) ease;
}
.contact__detail-value a:hover {
  color: var(--amber);
}

.contact__whatsapp {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 14px;
  border-radius: var(--radius-sm);
  background: var(--amber-gradient);
  color: var(--black-rich);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: all var(--duration-fast) ease;
}
.contact__whatsapp:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-amber);
}

/* Form Panel */
.contact__form-panel {
  padding: 40px 28px;
}
@media (min-width: 900px) {
  .contact__form-panel { padding: 48px; }
}

.contact__form-panel h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--white-pure);
  margin-bottom: 24px;
}

.form-success {
  display: none;
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.3);
  color: #4ade80;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  margin-bottom: 20px;
  font-size: 14px;
  font-weight: 600;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}
@media (min-width: 600px) {
  .form-row { grid-template-columns: 1fr 1fr; gap: 16px; }
}

.form-group {
  margin-bottom: 18px;
}
.form-label {
  display: block;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: var(--gray-300);
  margin-bottom: 8px;
  text-transform: uppercase;
}
.form-input,
.form-select,
.form-textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  color: var(--white-pure);
  font-family: var(--font-body);
  font-size: 14px;
  transition: all var(--duration-fast) ease;
}
.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--amber);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 0 0 3px var(--amber-glow);
}
.form-textarea {
  min-height: 100px;
  resize: vertical;
}
.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23737373' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
  background: var(--black-rich);
  border-top: 1px solid var(--border-subtle);
  padding: 60px 0 28px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  margin-bottom: 48px;
}
@media (min-width: 600px) {
  .footer__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 900px) {
  .footer__grid { grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 48px; }
}

.footer__brand img {
  height: 40px;
  width: auto;
  margin-bottom: 16px;
}
.footer__brand p {
  font-size: 13px;
  color: var(--gray-500);
  line-height: 1.7;
  max-width: 300px;
  margin-bottom: 20px;
}

.footer__socials {
  display: flex;
  gap: 10px;
}
.footer__social {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  color: var(--gray-500);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  transition: all var(--duration-fast) ease;
}
.footer__social:hover {
  background: var(--amber);
  color: var(--black-rich);
  border-color: var(--amber);
  transform: translateY(-2px);
}

.footer__heading {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--white-pure);
  margin-bottom: 18px;
}

.footer__links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer__links a,
.footer__links li {
  font-size: 13px;
  color: var(--gray-500);
  transition: all var(--duration-fast) ease;
}
.footer__links a:hover {
  color: var(--amber);
  padding-left: 4px;
}

.footer__bottom {
  padding-top: 24px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 12px;
  color: var(--gray-700);
  text-align: center;
}
@media (min-width: 600px) {
  .footer__bottom { flex-direction: row; justify-content: space-between; text-align: left; }
}
.footer__bottom a {
  color: var(--amber);
  transition: color var(--duration-fast) ease;
}
.footer__bottom a:hover {
  color: var(--amber-light);
}

/* ==========================================================================
   LIGHTBOX MODAL
   ========================================================================== */
.modal {
  position: fixed;
  inset: 0;
  background: rgba(5, 5, 5, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 5000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.modal.active {
  opacity: 1;
  pointer-events: all;
}

.modal__content {
  position: relative;
  width: 100%;
  max-width: 960px;
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transform: scale(0.95);
  transition: transform 0.3s var(--ease-out);
}
.modal.active .modal__content {
  transform: scale(1);
}

.modal__close {
  position: absolute;
  top: -44px;
  right: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  transition: all var(--duration-fast) ease;
  z-index: 10;
}
.modal__close:hover {
  background: var(--amber);
  color: var(--black-rich);
}

@media (max-width: 599px) {
  .modal__close {
    top: 12px;
    right: 12px;
    background: rgba(0, 0, 0, 0.7);
  }
}

.modal__video {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
}
.modal__video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.modal__image {
  width: 100%;
  max-height: 75vh;
  object-fit: contain;
  display: block;
  background: var(--black);
}

.modal__caption {
  padding: 18px 24px;
  background: var(--surface-elevated);
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-top: 1px solid var(--border-subtle);
}
@media (min-width: 600px) {
  .modal__caption { flex-direction: row; justify-content: space-between; align-items: center; }
}

.modal__caption-title {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  color: var(--white-pure);
}
.modal__caption-subtitle {
  font-family: var(--font-accent);
  font-size: 11px;
  color: var(--amber);
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* ==========================================================================
   ANIMATIONS — GSAP REVEAL CLASSES
   ========================================================================== */
.reveal-up {
  opacity: 0;
  transform: translateY(30px);
}
.reveal-left {
  opacity: 0;
  transform: translateX(-30px);
}
.reveal-right {
  opacity: 0;
  transform: translateX(30px);
}
.reveal-scale {
  opacity: 0;
  transform: scale(0.95);
}

/* ==========================================================================
   RESPONSIVE FINE-TUNING
   ========================================================================== */
@media (max-width: 599px) {
  .hero__scroll { display: none; }
}
