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

:root {
  --black: #080808;
  --off-black: #0d0d0d;
  --card: #131313;
  --border: rgba(255,255,255,0.07);
  --white: #f0ede8;
  --muted: rgba(240,237,232,0.45);
  --accent1: #ff4d1c;
  --accent2: #c8f23a;
  --accent3: #7b5cff;
}

html { scroll-behavior: smooth; }
body {
  background: var(--black);
  color: var(--white);
  font-family: 'DM Sans', sans-serif;
  font-weight: 300;
  overflow-x: hidden;
  cursor: none;
}

/* GRAIN OVERLAY */
body::before {
  content: '';
  position: fixed; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 256px;
  pointer-events: none;
  z-index: 9000;
  opacity: 0.4;
  animation: grainShift 0.5s steps(2) infinite;
}
@keyframes grainShift {
  0%   { transform: translate(0,0); }
  25%  { transform: translate(-2px, 1px); }
  50%  { transform: translate(1px, -1px); }
  75%  { transform: translate(-1px, 2px); }
  100% { transform: translate(2px, -2px); }
}

/* PAGE LOAD SCREEN */
#loader {
  position: fixed; inset: 0;
  background: #000;
  z-index: 8000;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}

/* Letterbox bars — start closed (full height), open to 13% */
#loader-bar-top,
#loader-bar-bottom {
  position: absolute; left: 0; right: 0;
  background: #000; z-index: 4;
}
#loader-bar-top    { top: 0;    height: 50%; }
#loader-bar-bottom { bottom: 0; height: 50%; }

#loader-bar-top.open    { height: 13%; transition: height 0.9s cubic-bezier(0.76, 0, 0.24, 1); }
#loader-bar-bottom.open { height: 13%; transition: height 0.9s cubic-bezier(0.76, 0, 0.24, 1); }

/* Content */
#loader-content {
  position: relative; z-index: 5;
  display: flex; flex-direction: column; align-items: center; gap: 18px;
  opacity: 0; transform: translateY(12px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}
#loader-content.visible { opacity: 1; transform: translateY(0); }

#loader-name {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(4.5rem, 11vw, 10rem);
  letter-spacing: 0.08em; line-height: 1;
  color: #fff;
  text-shadow: 0 0 80px rgba(255,255,255,0.06);
  will-change: transform, opacity;
}

#loader-sub-wrap {
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  width: 100%;
}
.loader-rule {
  width: 0; height: 1px;
  background: rgba(252,228,36,0.5);
  transition: width 0.8s cubic-bezier(0.76, 0, 0.24, 1);
}
.loader-rule.open { width: 100%; }

#loader-sub {
  font-family: 'Syne', sans-serif;
  font-size: clamp(0.65rem, 1.4vw, 0.95rem);
  font-weight: 600; letter-spacing: 0.7em; text-transform: uppercase;
  color: rgba(252,228,36,0.75);
  opacity: 0; transition: opacity 0.8s 0.3s ease;
}
#loader-sub.visible { opacity: 1; }

/* CUSTOM CURSOR */
.cursor {
  position: fixed; width: 10px; height: 10px;
  background: var(--accent2); border-radius: 50%;
  pointer-events: none; z-index: 9999;
  transform: translate(-50%, -50%);
  mix-blend-mode: exclusion;
  transition: width 0.3s, height 0.3s;
}
.cursor-ring {
  position: fixed; width: 44px; height: 44px;
  border: 1px solid rgba(252,228,36,0.35); border-radius: 50%;
  pointer-events: none; z-index: 9998;
  transform: translate(-50%, -50%);
  transition: width 0.4s, height 0.4s, border-color 0.4s;
}
.cursor.hover { width: 20px; height: 20px; }
.cursor-ring.hover { width: 70px; height: 70px; border-color: rgba(252,228,36,0.15); }

/* NAV */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 500;
  padding: 28px 48px;
  display: flex; align-items: center; justify-content: space-between;
  background: linear-gradient(to bottom, rgba(8,8,8,0.95), transparent);
  opacity: 0; transform: translateY(-20px);
  transition: opacity 0.6s, transform 0.6s, padding 0.4s, background 0.4s;
}
nav.ready { opacity: 1; transform: translateY(0); }
nav.scrolled { padding: 16px 48px; background: rgba(8,8,8,0.97); backdrop-filter: blur(10px); }

.nav-logo {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.6rem; letter-spacing: 0.08em;
  color: var(--white); text-decoration: none;
}
.nav-logo span { color: var(--accent2); }

.nav-links { display: flex; gap: 36px; list-style: none; }
.nav-links a {
  color: var(--muted); text-decoration: none;
  font-family: 'Syne', sans-serif; font-size: 0.75rem;
  font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase;
  transition: color 0.3s;
  position: relative;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -4px; left: 0;
  width: 0; height: 1px; background: var(--accent2);
  transition: width 0.3s;
}
.nav-links a:hover { color: var(--white); }
.nav-links a:hover::after { width: 100%; }

.nav-cta {
  font-family: 'Syne', sans-serif; font-size: 0.75rem;
  font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--black); background: var(--accent2);
  padding: 10px 22px; text-decoration: none;
  clip-path: polygon(8px 0%, 100% 0%, calc(100% - 8px) 100%, 0% 100%);
  transition: background 0.3s, transform 0.2s;
}
.nav-cta:hover { background: var(--white); transform: translateY(-2px); }

.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; }
.hamburger span { width: 26px; height: 2px; background: var(--white); transition: all 0.3s; }

/* HERO */
#hero {
  min-height: 100vh;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}

#hero-canvas {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  pointer-events: none; z-index: 1;
}

.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background: var(--black);
}

/* Atmospheric gradient orbs */
.hero-orbs { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.orb {
  position: absolute; border-radius: 50%;
  filter: blur(120px);
  animation: orbDrift 20s ease-in-out infinite;
}
.orb-1 {
  width: 55vw; height: 55vw;
  top: -15%; right: -10%;
  background: radial-gradient(circle, rgba(84,84,160,0.18) 0%, transparent 70%);
  animation-duration: 22s;
}
.orb-2 {
  width: 40vw; height: 40vw;
  bottom: -10%; left: -5%;
  background: radial-gradient(circle, rgba(204,60,60,0.12) 0%, transparent 70%);
  animation-duration: 18s; animation-delay: -6s;
}
.orb-3 {
  width: 30vw; height: 30vw;
  top: 30%; left: 30%;
  background: radial-gradient(circle, rgba(252,228,36,0.07) 0%, transparent 70%);
  animation-duration: 26s; animation-delay: -12s;
}
@keyframes orbDrift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%       { transform: translate(3%, 4%) scale(1.06); }
  66%       { transform: translate(-2%, 2%) scale(0.96); }
}

/* Hero inner layout */
.hero-inner {
  position: relative; z-index: 3;
  width: 100%;
  padding: 0 5vw 7vh;
  display: flex; flex-direction: column;
  justify-content: flex-end;
}

/* Tag */
.hero-tag {
  font-family: 'Syne', sans-serif; font-size: 0.78rem;
  font-weight: 700; letter-spacing: 0.35em; text-transform: uppercase;
  color: var(--accent2);
  margin-top: -8px; margin-bottom: 36px;
  opacity: 0; transform: translateY(8px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.hero-tag.reveal { opacity: 1; transform: translateY(0); }

/* BIG title */
.hero-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(7rem, 20vw, 22rem);
  line-height: 0.84; letter-spacing: -0.01em;
  position: relative; z-index: 2;
  margin-bottom: 0px;
}
.hero-title .title-line { display: block; overflow: hidden; }
.hero-title .title-inner {
  display: block;
  transform: translateY(105%);
  transition: transform 0.95s cubic-bezier(0.16, 1, 0.3, 1);
  color: var(--white);
}
.hero-title .title-inner.outline {
  color: transparent;
  -webkit-text-stroke: 2px rgba(240,237,232,0.2);
}
.hero-title .title-inner.reveal { transform: translateY(0); }

/* Sub row */
.hero-sub {
  display: flex; align-items: flex-end;
  justify-content: space-between; gap: 40px;
  opacity: 0; transform: translateY(18px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.hero-sub.reveal { opacity: 1; transform: translateY(0); }
.hero-desc {
  max-width: 360px; font-size: 0.95rem;
  line-height: 1.8; color: var(--muted);
}
.hero-cta-group { display: flex; align-items: center; gap: 16px; flex-shrink: 0; }

.btn-primary {
  padding: 14px 32px;
  background: var(--accent2); color: var(--black);
  font-family: 'Syne', sans-serif; font-weight: 700;
  font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase;
  text-decoration: none; border: none; cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(252,228,36,0.25); }

.btn-ghost {
  padding: 14px 28px;
  background: transparent;
  border: 1px solid rgba(240,237,232,0.2);
  color: var(--white);
  font-family: 'Syne', sans-serif; font-weight: 600;
  font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase;
  text-decoration: none; cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
}
.btn-ghost:hover { border-color: var(--accent2); color: var(--accent2); }

/* Scroll indicator */
.hero-scroll {
  position: absolute; bottom: 48px; right: 5vw;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: var(--muted); font-family: 'Syne', sans-serif;
  font-size: 0.62rem; letter-spacing: 0.22em; text-transform: uppercase;
  z-index: 3;
}
.scroll-line {
  width: 1px; height: 50px;
  background: linear-gradient(to bottom, var(--accent2), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(1); }
  50%       { opacity: 1;   transform: scaleY(1.1); }
}

/* MARQUEE */
.marquee-strip {
  background: none;
  padding: 32px 0;
  overflow: visible;
  white-space: nowrap;
  position: relative;
  z-index: 10;
  pointer-events: none;
}
.marquee-strip * { pointer-events: auto; }
.marquee-inner {
  display: inline-flex;
  align-items: center;
  animation: marquee 35s linear infinite;
}

.marquee-item {
  display: inline-flex;
  align-items: center;
  padding: 0 72px;
  opacity: 0.75;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s;
  flex-shrink: 0;
  cursor: pointer;
}
.marquee-item:hover { transform: scale(1.18); opacity: 1; }
.marquee-item img {
  height: 100px;
  width: auto;
  max-width: 220px;
  filter: none;
  object-fit: contain;
  display: block;
}
.marquee-item span {
  font-family: 'Syne', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #fff;
}
.marquee-sep {
  width: 0;
  height: 0;
  display: none;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* SECTIONS */
section { padding: 130px 48px; position: relative; }

.section-label {
  font-family: 'Syne', sans-serif; font-size: 0.68rem;
  font-weight: 700; letter-spacing: 0.32em; text-transform: uppercase;
  color: var(--accent2); margin-bottom: 16px;
  display: flex; align-items: center; gap: 12px;
}
.section-label::before { content: ''; width: 24px; height: 1px; background: var(--accent2); }

.section-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(3rem, 6vw, 6.5rem);
  line-height: 0.9; letter-spacing: 0.01em;
  margin-bottom: 60px;
}

/* SCROLL REVEAL - BASE */
.reveal-up {
  opacity: 0; transform: translateY(50px);
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1), transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-up.visible { opacity: 1; transform: translateY(0); }
.reveal-left {
  opacity: 0; transform: translateX(-40px);
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1), transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-left.visible { opacity: 1; transform: translateX(0); }
.reveal-right {
  opacity: 0; transform: translateX(40px);
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1), transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-right.visible { opacity: 1; transform: translateX(0); }

/* SERVICES - scale up from small */
.reveal-scale {
  opacity: 0; transform: scale(0.88) translateY(30px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-scale.visible { opacity: 1; transform: scale(1) translateY(0); }

/* WORK - wipe in with clip-path */
.reveal-wipe {
  opacity: 1;
  clip-path: inset(0 100% 0 0);
  transition: clip-path 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-wipe.visible { clip-path: inset(0 0% 0 0); }

/* CLIENTS - pop in with bounce */
.reveal-pop {
  opacity: 0; transform: scale(0.75);
  transition: opacity 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.reveal-pop.visible { opacity: 1; transform: scale(1); }

/* CONTACT - slide up sharp */
.reveal-sharp {
  opacity: 0; transform: translateY(60px) skewY(2deg);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-sharp.visible { opacity: 1; transform: translateY(0) skewY(0deg); }

/* ABOUT */
#about { background: var(--black); }
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px;
  align-items: center;
}
.about-text p { font-size: 1.05rem; line-height: 1.85; color: var(--muted); margin-bottom: 20px; }
.about-text p strong { color: var(--white); font-weight: 400; }
.about-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.stat-box {
  background: var(--card); border: 1px solid var(--border);
  padding: 40px 32px;
  transition: border-color 0.4s, transform 0.4s;
  position: relative; overflow: hidden;
}
.stat-box::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(252,228,36,0.04), transparent);
  opacity: 0; transition: opacity 0.4s;
}
.stat-box:hover { border-color: var(--accent2); transform: translateY(-6px); }
.stat-box:hover::after { opacity: 1; }
.stat-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 4.5rem; line-height: 1; color: var(--accent2); margin-bottom: 8px;
}
.stat-label {
  font-family: 'Syne', sans-serif; font-size: 0.72rem;
  font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--muted);
}

/* SHOWREEL */
#showreel { padding: 0; background: var(--black); overflow: hidden; }
.reel-wrapper { position: relative; padding-top: 56.25%; overflow: hidden; }
.reel-wrapper iframe {
  position: absolute; inset: 0; width: 100%; height: 100%; border: none;
}
.reel-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, var(--black) 0%, transparent 12%, transparent 88%, var(--black) 100%);
  pointer-events: none; z-index: 2;
}

/* SERVICES */
#services { background: var(--black); }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; }
.service-card {
  background: var(--card); border: 1px solid var(--border);
  padding: 48px 36px; position: relative; overflow: hidden;
  transition: border-color 0.4s, transform 0.4s;
}
.service-card::before {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(to right, var(--accent1), var(--accent3));
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.service-card:hover { border-color: rgba(255,255,255,0.12); transform: translateY(-6px); }
.service-card:hover::before { transform: scaleX(1); }
.service-num {
  font-family: 'Bebas Neue', sans-serif; font-size: 4.5rem;
  color: rgba(255,255,255,0.04); line-height: 1; margin-bottom: 24px;
}
.service-name {
  font-family: 'Syne', sans-serif; font-size: 1.1rem;
  font-weight: 700; margin-bottom: 16px; color: var(--white);
  transition: color 0.3s;
}
.service-card:hover .service-name { color: var(--accent2); }
.service-desc { font-size: 0.88rem; line-height: 1.78; color: var(--muted); }

/* WORK */
#work { background: var(--off-black); }
.work-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2px; }
.work-item {
  position: relative; overflow: hidden; aspect-ratio: 16/10;
  background: var(--card); cursor: pointer;
}
.work-item:first-child { grid-column: span 2; aspect-ratio: 21/9; }
.work-thumb-placeholder {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, #181818, #0d0d0d);
  display: flex; align-items: center; justify-content: center;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.work-item:hover .work-thumb-placeholder { transform: scale(1.06); }
.work-placeholder-icon { font-size: 3rem; opacity: 0.1; transition: opacity 0.4s; }
.work-item:hover .work-placeholder-icon { opacity: 0.25; }
.work-info {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(8,8,8,0.94) 0%, rgba(8,8,8,0.2) 50%, transparent 100%);
  padding: 36px; display: flex; flex-direction: column; justify-content: flex-end;
  opacity: 0; transition: opacity 0.5s;
}
.work-item:hover .work-info { opacity: 1; }
.work-cat {
  font-family: 'Syne', sans-serif; font-size: 0.65rem;
  font-weight: 700; letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--accent2); margin-bottom: 8px;
  transform: translateY(8px); transition: transform 0.4s 0.05s;
}
.work-item:hover .work-cat { transform: translateY(0); }
.work-title {
  font-family: 'Bebas Neue', sans-serif; font-size: 2.2rem;
  color: var(--white); line-height: 1;
  transform: translateY(10px); transition: transform 0.4s 0.1s;
}
.work-item:hover .work-title { transform: translateY(0); }
.work-play {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%) scale(0.8);
  width: 64px; height: 64px;
  border: 2px solid rgba(255,255,255,0.3); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity 0.3s, transform 0.3s;
  background: rgba(255,255,255,0.08);
}
.work-play::after { content: '▶'; color: white; font-size: 1rem; margin-left: 4px; }
.work-item:hover .work-play { opacity: 1; transform: translate(-50%, -50%) scale(1); }

/* VIDEO MODAL */
.modal-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.96);
  z-index: 700; display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transition: opacity 0.4s;
  backdrop-filter: blur(8px);
}
.modal-overlay.active { opacity: 1; pointer-events: all; }
.modal-inner {
  width: 90vw; max-width: 1100px; position: relative;
  transform: scale(0.92); transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.modal-overlay.active .modal-inner { transform: scale(1); }
.modal-video { position: relative; padding-top: 56.25%; }
.modal-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: none; }
.modal-close {
  position: absolute; top: -52px; right: 0;
  font-family: 'Syne', sans-serif; font-size: 0.72rem;
  font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--muted); background: none; border: none; cursor: pointer;
  transition: color 0.3s;
}
.modal-close:hover { color: var(--white); }

/* CLIENTS */
#clients { background: var(--black); }
.clients-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; }
.client-cell {
  border: 1px solid var(--border); padding: 48px 32px;
  display: flex; align-items: center; justify-content: center;
  background: var(--card); min-height: 130px;
  transition: border-color 0.4s, background 0.4s, transform 0.4s;
  position: relative; overflow: hidden;
}
.client-cell::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(252,228,36,0.04), transparent);
  opacity: 0; transition: opacity 0.4s;
}
.client-cell:hover { border-color: rgba(252,228,36,0.25); background: #141414; transform: scale(1.02); }
.client-cell:hover::before { opacity: 1; }
.client-name {
  font-family: 'Syne', sans-serif; font-size: 0.82rem;
  font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--muted); text-align: center; transition: color 0.3s; position: relative;
}
.client-cell:hover .client-name { color: var(--white); }

/* TEAM */
.team-section {
  padding: 120px 5vw;
  background: var(--black);
}

.team-grid {
  display: flex;
  align-items: flex-end;
  gap: 32px;
  margin-top: 64px;
  justify-content: center;
  width: 100%;
}

/* Flip card shell */
.team-card {
  perspective: 1000px;
  cursor: pointer;
  flex: 1;
  max-width: 300px;
}
.team-card.featured {
  flex: 1.4;
  max-width: 420px;
}

.team-card-inner {
  position: relative;
  width: 100%;
  aspect-ratio: 3/4;
  transform-style: preserve-3d;
  transition: transform 0.75s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.75s ease;
}
.team-card:hover .team-card-inner {
  transform: rotateY(180deg) translateY(-12px);
  box-shadow: 0 40px 80px rgba(0,0,0,0.6);
}

/* Front & back share same space */
.team-card-front,
.team-card-back {
  position: absolute; inset: 0;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

/* FRONT — photo + name/role overlay */
.team-card-front .team-photo-wrap {
  position: relative;
  width: 100%; height: 100%;
  overflow: hidden;
}
.team-photo {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform 0.6s ease;
}
.team-card:hover .team-photo { transform: scale(1.04); }

.team-photo-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top,
    rgba(8,8,8,0.85) 0%,
    rgba(8,8,8,0.2) 45%,
    transparent 70%);
  pointer-events: none;
}

.team-front-info {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 20px;
}
.team-name {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.7rem; letter-spacing: 0.04em;
  color: var(--white); line-height: 1;
  margin-bottom: 4px;
}
.team-role {
  font-family: 'Syne', sans-serif;
  font-size: 0.62rem; font-weight: 700;
  letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--accent2);
}

/* BACK — solid dark with bio */
.team-card-back {
  background: #111;
  transform: rotateY(180deg);
  border: 1px solid rgba(252,228,36,0.12);
  display: flex; align-items: center; justify-content: center;
}
.team-back-content {
  padding: 32px;
  display: flex; flex-direction: column; gap: 10px;
}
.team-back-content .team-name { font-size: 1.9rem; }
.team-bio {
  font-size: 0.88rem; line-height: 1.8;
  color: var(--muted);
  margin-top: 8px;
}

/* Hover hint */
.team-card::after {
  content: 'hover';
  position: absolute; top: 14px; right: 14px;
  font-family: 'Syne', sans-serif;
  font-size: 0.55rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: rgba(252,228,36,0.5);
  border: 1px solid rgba(252,228,36,0.2);
  padding: 3px 8px;
  opacity: 0; transition: opacity 0.3s;
  z-index: 2;
}
.team-card:hover::after { opacity: 0; }
.team-section:hover .team-card::after { opacity: 1; }
.team-section:hover .team-card:hover::after { opacity: 0; }

@media (max-width: 700px) {
  .team-grid { flex-direction: column; align-items: stretch; }
  .team-card, .team-card.featured { width: 100%; }
}

.team-photo-placeholder {
  width: 100%; height: 100%;
  background: #111;
  border: 1px dashed rgba(252,228,36,0.15);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 16px;
}
.team-photo-placeholder span {
  font-family: 'Syne', sans-serif;
  font-size: 0.62rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: rgba(252,228,36,0.3);
}

.team-photo-placeholder {
  width: 100%; height: 100%;
  background: #111;
  border: 1px dashed rgba(252,228,36,0.15);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 14px;
}
.team-photo-placeholder span {
  font-family: 'Syne', sans-serif;
  font-size: 0.6rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: rgba(252,228,36,0.3);
}

/* CONTACT */
#contact {
  background: var(--off-black);
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center;
}
.contact-left .section-title { margin-bottom: 24px; }
.contact-left p { font-size: 1rem; line-height: 1.8; color: var(--muted); max-width: 380px; }
.contact-email {
  margin-top: 48px;
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(1.5rem, 3vw, 2.8rem);
  color: var(--white); text-decoration: none;
  border-bottom: 2px solid var(--accent2); padding-bottom: 8px;
  display: inline-block; transition: color 0.3s;
}
.contact-email:hover { color: var(--accent2); }
.contact-form { display: flex; flex-direction: column; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-group label {
  font-family: 'Syne', sans-serif; font-size: 0.68rem;
  font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted);
}
.form-group input, .form-group textarea, .form-group select {
  background: var(--card); border: 1px solid var(--border);
  color: var(--white); padding: 14px 18px;
  font-family: 'DM Sans', sans-serif; font-size: 0.95rem;
  outline: none; transition: border-color 0.3s, background 0.3s; width: 100%;
}
.form-group select { cursor: pointer; }
.form-group select option { background: var(--card); }
.form-group textarea { height: 120px; resize: vertical; }
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  border-color: var(--accent2); background: #161616;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.btn-submit {
  font-family: 'Syne', sans-serif; font-size: 0.78rem;
  font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--black); background: var(--accent2);
  border: none; padding: 18px 40px; cursor: pointer;
  clip-path: polygon(10px 0%, 100% 0%, calc(100% - 10px) 100%, 0% 100%);
  transition: background 0.3s, transform 0.2s; margin-top: 8px;
  position: relative; overflow: hidden;
}
.btn-submit::before {
  content: ''; position: absolute; inset: 0;
  background: var(--white);
  transform: translateX(-100%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.btn-submit:hover::before { transform: translateX(0); }
.btn-submit span { position: relative; }
.btn-submit:hover { transform: translateY(-2px); }

/* FOOTER */
footer {
  background: var(--black); padding: 48px;
  border-top: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
}
.footer-logo { font-family: 'Bebas Neue', sans-serif; font-size: 1.4rem; letter-spacing: 0.08em; color: var(--white); }
.footer-logo span { color: var(--accent2); }
.footer-copy { font-size: 0.78rem; color: var(--muted); }
.footer-socials { display: flex; gap: 24px; }
.footer-socials a {
  font-family: 'Syne', sans-serif; font-size: 0.7rem;
  font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--muted); text-decoration: none; transition: color 0.3s;
}
.footer-socials a:hover { color: var(--accent2); }

/* MOBILE NAV */
.mobile-menu {
  display: none; position: fixed; inset: 0;
  background: rgba(8,8,8,0.98); z-index: 490;
  flex-direction: column; align-items: center; justify-content: center; gap: 24px;
  backdrop-filter: blur(20px);
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-family: 'Bebas Neue', sans-serif; font-size: 3.5rem;
  color: var(--white); text-decoration: none; letter-spacing: 0.05em; transition: color 0.3s;
}
.mobile-menu a:hover { color: var(--accent2); }

/* RESPONSIVE */
@media (max-width: 900px) {
  nav { padding: 20px 24px; }
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  section { padding: 80px 24px; }
  #hero { padding: 0 24px 60px; }
  .hero-title { font-size: clamp(4rem, 15vw, 8rem); }
  .hero-sub { flex-direction: column; align-items: flex-start; gap: 32px; }
  .about-grid, #contact { grid-template-columns: 1fr; gap: 48px; }
  .about-stats { grid-template-columns: 1fr 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .work-grid { grid-template-columns: 1fr; }
  .work-item:first-child { grid-column: span 1; }
  .clients-grid { grid-template-columns: repeat(2, 1fr); }
  footer { flex-direction: column; gap: 24px; text-align: center; }
  .form-row { grid-template-columns: 1fr; }
}

/* ── COLOUR VARS ── */
:root {
  --c-yellow: #fce424; --c-red: #cc3c3c; --c-purple: #5454a0;
  --c-green: #0c9c54;  --c-lime: #ccfc6c; --c-orange: #fccc3c;
}
/* ── CONTINUOUS BG GRADIENT ── */
html { background: #060606; }
body { background: transparent !important; position: relative; }
body::after {
  content: ''; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(ellipse 40% 30% at 0%   8%,  rgba(204,60,60,0.22)   0%, transparent 100%),
    radial-gradient(ellipse 35% 25% at 2%   35%, rgba(12,156,84,0.16)   0%, transparent 100%),
    radial-gradient(ellipse 40% 25% at 0%   62%, rgba(252,204,60,0.18)  0%, transparent 100%),
    radial-gradient(ellipse 35% 25% at 3%   88%, rgba(84,84,160,0.16)   0%, transparent 100%),
    radial-gradient(ellipse 40% 30% at 100% 5%,  rgba(84,84,160,0.20)   0%, transparent 100%),
    radial-gradient(ellipse 35% 25% at 98%  30%, rgba(252,228,36,0.14)  0%, transparent 100%),
    radial-gradient(ellipse 40% 25% at 100% 58%, rgba(204,252,108,0.16) 0%, transparent 100%),
    radial-gradient(ellipse 35% 25% at 97%  84%, rgba(204,60,60,0.14)   0%, transparent 100%),
    radial-gradient(ellipse 100% 100% at 50% 50%, rgba(30,10,40,0.5) 0%, transparent 70%),
    #060606;
}
#hero,#about,#showreel,#services,#work,#team,#contact,footer,.marquee-strip,nav { background: transparent !important; }
.hero-bg { background: transparent !important; }
.stat-box,.service-card,.work-item,.team-card-front,.team-card-back,.contact-form {
  background: rgba(8,8,8,0.65) !important; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
nav.scrolled { background: rgba(6,6,6,0.88) !important; backdrop-filter: blur(20px) !important; }
footer { background: rgba(6,6,6,0.92) !important; }
/* ── COLOUR OVERRIDES ── */
.nav-cta { background: var(--c-yellow) !important; color: #060606 !important; }
.nav-cta:hover { background: var(--c-red) !important; color: #fff !important; }
.cursor-dot { background: var(--c-yellow) !important; }
.hero-tag { color: var(--c-yellow) !important; }
.scroll-line { background: linear-gradient(to bottom, var(--c-red), transparent) !important; }
.btn-primary { background: var(--c-yellow) !important; color: #060606 !important; }
.btn-primary:hover { background: var(--c-lime) !important; }
.btn-ghost:hover { border-color: var(--c-red) !important; color: var(--c-red) !important; }
#about .section-label { color: var(--c-purple) !important; }
#about .section-label::before { background: var(--c-purple) !important; }
#about .stat-box:nth-child(1) .stat-num { color: var(--c-yellow) !important; }
#about .stat-box:nth-child(2) .stat-num { color: var(--c-red) !important; }
#about .stat-box:nth-child(3) .stat-num { color: var(--c-purple) !important; }
#about .stat-box:nth-child(4) .stat-num { color: var(--c-green) !important; }
#services .section-label { color: var(--c-green) !important; }
#services .section-label::before { background: var(--c-green) !important; }
.service-card:nth-child(1) .service-num { color: var(--c-yellow) !important; }
.service-card:nth-child(2) .service-num { color: var(--c-red) !important; }
.service-card:nth-child(3) .service-num { color: var(--c-purple) !important; }
.service-card:nth-child(4) .service-num { color: var(--c-green) !important; }
.service-card:nth-child(5) .service-num { color: var(--c-orange) !important; }
.service-card:nth-child(6) .service-num { color: var(--c-lime) !important; }
.service-card:nth-child(1):hover { border-color: var(--c-yellow) !important; }
.service-card:nth-child(2):hover { border-color: var(--c-red) !important; }
.service-card:nth-child(3):hover { border-color: var(--c-purple) !important; }
.service-card:nth-child(4):hover { border-color: var(--c-green) !important; }
.service-card:nth-child(5):hover { border-color: var(--c-orange) !important; }
.service-card:nth-child(6):hover { border-color: var(--c-lime) !important; }
#work .section-label { color: var(--c-orange) !important; }
#work .section-label::before { background: var(--c-orange) !important; }
.work-cat { color: var(--c-orange) !important; }
.work-item:nth-child(1) .work-play { background: var(--c-yellow) !important; color: #060606 !important; }
.work-item:nth-child(2) .work-play { background: var(--c-red) !important; color: #fff !important; }
.work-item:nth-child(3) .work-play { background: var(--c-purple) !important; color: #fff !important; }
.work-item:nth-child(4) .work-play { background: var(--c-green) !important; color: #fff !important; }
.work-item:nth-child(5) .work-play { background: var(--c-orange) !important; color: #060606 !important; }
.work-item:nth-child(6) .work-play { background: var(--c-lime) !important; color: #060606 !important; }
#showreel .section-label { color: var(--c-red) !important; }
#showreel .section-label::before { background: var(--c-red) !important; }
#team .section-label, .team-section .section-label { color: var(--c-lime) !important; }
#team .section-label::before, .team-section .section-label::before { background: var(--c-lime) !important; }
#contact .section-label { color: var(--c-purple) !important; }
#contact .section-label::before { background: var(--c-purple) !important; }
.contact-email { color: var(--c-yellow) !important; }
.btn-submit { background: var(--c-yellow) !important; color: #060606 !important; }
.btn-submit:hover { background: var(--c-orange) !important; }
footer { border-top: 2px solid transparent !important;
  background-image: linear-gradient(rgba(6,6,6,0.92),rgba(6,6,6,0.92)),
    linear-gradient(90deg,var(--c-red) 0%,var(--c-yellow) 20%,var(--c-green) 40%,var(--c-purple) 60%,var(--c-orange) 80%,var(--c-lime) 100%) !important;
  background-origin: border-box !important; background-clip: padding-box, border-box !important; }
/* Replace old accent2 */
.nav-links a::after { background: var(--c-yellow) !important; }
.scroll-line { background: linear-gradient(to bottom, var(--c-yellow), transparent) !important; }
/* ── BLENDER ASSETS ── */
.ba-asset { position:absolute; pointer-events:none; z-index:1; top:0; left:0; transform-origin:center center; will-change:transform; }
