/* =========================================================
   KABDOLA — Luxury Cinematic Design System
   ========================================================= */
@import url('https://fonts.googleapis.com/css2?family=Sora:wght@300;400;500;600;700&family=Inter:wght@300;400;500;600;700&family=Space+Grotesk:wght@400;500;600;700&display=swap');

:root {
  /* Core Palette — Deep Obsidian & Studio Charcoal */
  --bg: #070709;
  --bg-surface: #0E0F14;
  --bg-surface-raised: #14161F;
  --bg-card: rgba(18, 20, 28, 0.72);
  --bg-card-hover: rgba(26, 29, 42, 0.88);
  --glass: rgba(12, 13, 18, 0.75);
  
  /* Accents — Cinematic Amber & Warm Luminous Gold */
  --gold: #FFB82E;
  --gold-glow: rgba(255, 184, 46, 0.35);
  --gold-subtle: rgba(255, 184, 46, 0.15);
  --gold-bright: #FFCA65;
  --accent-cyan: #2EE6D6;

  /* Typography Colors */
  --text-1: #F5F5F7;
  --text-2: #A1A1AE;
  --text-3: #656573;
  --text-muted: rgba(255, 255, 255, 0.45);

  /* Lines & Borders */
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.16);
  --border-glow: rgba(255, 184, 46, 0.4);

  /* Typography Families */
  --font-display: 'Sora', -apple-system, sans-serif;
  --font-body: 'Inter', -apple-system, sans-serif;
  --font-mono: 'Space Grotesk', ui-monospace, monospace;

  /* Layout & Spacing */
  --container: 1280px;
  --gutter: clamp(20px, 4vw, 56px);
  --section-y: clamp(64px, 8vw, 120px);
  --edge-pad: max(var(--gutter), calc((100% - var(--container)) / 2 + var(--gutter)));

  /* Border Radius */
  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-pill: 9999px;

  /* Transitions */
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

html {
  scroll-behavior: smooth;
  background-color: var(--bg);
  color: var(--text-1);
  overflow-x: hidden;
  max-width: 100%;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  background-color: var(--bg);
  color: var(--text-1);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  position: relative;
}

/* Film Grain Ambient Overlay */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 999;
  pointer-events: none;
  opacity: 0.035;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

/* Ambient Radial Glow Lighting */
.ambient-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(140px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.45;
  max-width: 100vw;
  overflow: hidden;
}
.ambient-glow--gold {
  background: radial-gradient(circle, rgba(255, 184, 46, 0.18) 0%, rgba(255, 184, 46, 0) 70%);
}
.ambient-glow--cyan {
  background: radial-gradient(circle, rgba(46, 230, 214, 0.12) 0%, rgba(46, 230, 214, 0) 70%);
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.25s var(--ease), border-color 0.25s var(--ease);
}

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--text-1);
}

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

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
}

::selection {
  background: var(--gold);
  color: var(--bg);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg);
}
::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--gold);
}

/* =========================================================
   Layout Utilities
   ========================================================= */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
  position: relative;
  z-index: 1;
}

.section {
  padding: var(--section-y) 0;
  position: relative;
  overflow: hidden;
}

.section--card {
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section--ink {
  background: var(--bg);
}

.hairline {
  border: none;
  border-top: 1px solid var(--border);
  margin: 0;
}

/* Typography Scales */
.display-1 {
  font-size: clamp(32px, 6.4vw, 84px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.08;
}

.display-2 {
  font-size: clamp(24px, 4.2vw, 54px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.display-3 {
  font-size: clamp(20px, 2.6vw, 34px);
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.25;
}

.lede {
  font-size: clamp(17px, 1.5vw, 21px);
  color: var(--text-2);
  font-weight: 400;
  line-height: 1.55;
  max-width: 62ch;
}

.body-l {
  font-size: 17px;
  line-height: 1.7;
  color: var(--text-2);
  max-width: 64ch;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.kicker-rule {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}
.kicker-rule::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--gold);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--gold);
  flex: none;
}

/* Gradient Shimmer Text */
.gradient-text {
  background: linear-gradient(180deg, #FFFFFF 0%, #D2D2DC 60%, #8E8E9F 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gold-gradient-text {
  background: linear-gradient(135deg, #FFE082 0%, #FFB82E 50%, #D88E12 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* =========================================================
   Buttons & Links
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  font-family: var(--font-display);
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: -0.01em;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  transition: all 0.3s var(--ease);
}

.btn--primary {
  background: var(--text-1);
  color: var(--bg);
  box-shadow: 0 4px 20px rgba(255, 255, 255, 0.15);
}
.btn--primary:hover {
  background: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(255, 255, 255, 0.28);
}

.btn--gold {
  background: linear-gradient(135deg, #FFC44D 0%, #FFB82E 100%);
  color: #0A0A0E;
  box-shadow: 0 4px 24px var(--gold-glow);
}
.btn--gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 36px rgba(255, 184, 46, 0.55);
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-1);
  border: 1px solid var(--border-strong);
  backdrop-filter: blur(10px);
}
.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-2px);
}

.btn--play {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-1);
  border: 1px solid var(--border-strong);
  padding: 12px 22px;
}
.btn--play .play-icon {
  width: 14px;
  height: 14px;
  fill: var(--gold);
  transition: transform 0.25s var(--ease);
}
.btn--play:hover {
  border-color: var(--gold);
  background: rgba(255, 184, 46, 0.12);
}
.btn--play:hover .play-icon {
  transform: scale(1.15);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14.5px;
  color: var(--text-1);
  padding-bottom: 2px;
  border-bottom: 1px solid var(--border-strong);
  transition: all 0.25s var(--ease);
}
.text-link:hover {
  color: var(--gold);
  border-color: var(--gold);
  gap: 12px;
}

.play-mark {
  width: 0;
  height: 0;
  border-top: 4.5px solid transparent;
  border-bottom: 4.5px solid transparent;
  border-left: 7.5px solid var(--gold);
  flex: none;
  transition: transform 0.2s var(--ease);
}
.text-link:hover .play-mark {
  transform: translateX(3px);
}

/* =========================================================
   Header & Floating Navigation
   ========================================================= */
.site-header {
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: min(calc(100% - 32px), var(--container));
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px clamp(16px, 2vw, 24px);
  background: var(--glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
  transition: background 0.35s var(--ease), border-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.site-header.is-scrolled {
  background: rgba(10, 11, 16, 0.92);
  border-color: var(--border-strong);
  box-shadow: 0 14px 44px rgba(0, 0, 0, 0.65);
}

.brand--wordmark {
  display: inline-flex;
  align-items: center;
  line-height: 0;
  flex-shrink: 0;
}
.brand--wordmark img {
  height: 26px;
  width: auto;
  object-fit: contain;
  display: block;
  transition: opacity 0.25s var(--ease);
}
.brand--wordmark:hover img {
  opacity: 0.8;
}

/* Nav Links */
.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(16px, 1.8vw, 28px);
}
.nav-links a {
  font-family: var(--font-display);
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-2);
  position: relative;
  padding: 6px 0;
  letter-spacing: 0.01em;
  transition: color 0.25s var(--ease);
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
  box-shadow: 0 0 8px var(--gold);
  transition: width 0.25s var(--ease);
}
.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--text-1);
}
.nav-links a:hover::after,
.nav-links a[aria-current="page"]::after {
  width: 100%;
}
.nav-links .nav-cta {
  display: none;
}

/* Nav Right & Sound FX Pill */
.nav-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.sound-toggle {
  display: flex;
  align-items: center;
  gap: 3px;
  padding: 8px 12px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  cursor: pointer;
  transition: all 0.25s var(--ease);
}
.sound-toggle:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--gold-glow);
}
.sound-toggle .bar {
  width: 2.5px;
  height: 12px;
  background: var(--text-3);
  border-radius: 1px;
  transition: height 0.2s var(--ease), background 0.2s var(--ease);
}
.sound-toggle.is-playing .bar {
  background: var(--gold);
  animation: soundBar 1.2s ease-in-out infinite alternate;
}
.sound-toggle.is-playing .bar:nth-child(1) { animation-delay: 0.1s; height: 10px; }
.sound-toggle.is-playing .bar:nth-child(2) { animation-delay: 0.3s; height: 16px; }
.sound-toggle.is-playing .bar:nth-child(3) { animation-delay: 0.15s; height: 12px; }
.sound-toggle.is-playing .bar:nth-child(4) { animation-delay: 0.4s; height: 7px; }

@keyframes soundBar {
  0% { transform: scaleY(0.4); }
  100% { transform: scaleY(1.3); }
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  width: 32px;
  height: 22px;
  position: relative;
  cursor: pointer;
}
.nav-toggle span {
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--text-1);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease), top 0.3s var(--ease);
}
.nav-toggle span:nth-child(1) { top: 3px; }
.nav-toggle span:nth-child(2) { top: 10px; }
.nav-toggle span:nth-child(3) { top: 17px; }

.nav-toggle.is-open span:nth-child(1) { top: 10px; transform: rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { top: 10px; transform: rotate(-45deg); }

@media (max-width: 900px) {
  /* ---- Full-screen overlay menu ---- */
  /* Raise header z-index above overlay so logo + toggle always float on top */
  .site-header {
    z-index: 200;
  }

  .nav-links {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 0;
    padding: 90px clamp(28px, 8vw, 56px) 60px;
    background: rgba(7, 7, 9, 0.98);
    backdrop-filter: blur(32px);
    -webkit-backdrop-filter: blur(32px);
    /* slide down from top */
    transform: translateY(-100%);
    visibility: hidden;
    pointer-events: none;
    transition: transform 0.45s cubic-bezier(0.76, 0, 0.24, 1), visibility 0.45s;
    z-index: 150;
    border-radius: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  /* Open state */
  .nav-links.is-open {
    transform: translateY(0);
    visibility: visible;
    pointer-events: auto;
  }

  /* Individual link items */
  .nav-links a {
    font-family: var(--font-display);
    font-size: clamp(22px, 6vw, 40px);
    font-weight: 700;
    color: rgba(245, 245, 247, 0.45);
    letter-spacing: -0.02em;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    width: 100%;
    transition: color 0.2s var(--ease), padding-left 0.2s var(--ease), border-color 0.2s;
    position: relative;
    display: block;
  }
  .nav-links a:first-child {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
  }
  .nav-links a:hover,
  .nav-links a[aria-current="page"] {
    color: var(--text-1);
    padding-left: 12px;
    border-color: rgba(255, 255, 255, 0.12);
  }
  /* hide the desktop underline glow on mobile */
  .nav-links a::after {
    display: none;
  }

  /* Gold CTA pill inside overlay */
  .nav-links .nav-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 24px;
    padding: 14px 32px;
    background: var(--gold);
    color: #0A0A0E;
    border-radius: var(--radius-pill);
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.02em;
    border: none;
    border-top: none;
    border-bottom: none;
    width: auto;
    box-shadow: 0 8px 32px rgba(255, 184, 46, 0.45);
    transition: background 0.2s var(--ease), box-shadow 0.2s var(--ease), transform 0.2s var(--ease);
  }
  .nav-links .nav-cta:first-child {
    border-top: none;
  }
  .nav-links .nav-cta:hover {
    background: #ffc94d;
    padding-left: 36px;
    color: #0A0A0E;
    box-shadow: 0 12px 40px rgba(255, 184, 46, 0.6);
    transform: translateY(-1px);
  }

  /* Show hamburger, hide desktop CTA button */
  .nav-toggle { display: flex; z-index: 300; }
  .nav-right .btn--ghost { display: none; }
}

@media (max-width: 600px) {
  .site-header {
    top: 10px;
    width: calc(100% - 20px);
    padding: 9px 14px;
  }
  .brand--wordmark img {
    height: 22px;
  }
  .nav-right {
    gap: 10px;
  }
  .sound-toggle {
    padding: 6px 9px;
    gap: 2.5px;
  }
  .sound-toggle .bar {
    width: 2px;
    height: 10px;
  }
  .nav-toggle {
    width: 26px;
    height: 20px;
    flex-shrink: 0;
    z-index: 300;
  }
}

/* =========================================================
   Hero Section
   ========================================================= */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: var(--bg);
  overflow: hidden;
  padding-top: 140px;
}

.hero-stage {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-stage canvas {
  width: 100%;
  height: 100%;
  display: block;
}
.hero-stage::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 35%, rgba(10, 11, 16, 0.1) 0%, rgba(7, 7, 9, 0.7) 60%, rgba(7, 7, 9, 0.98) 100%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  padding: 0 var(--edge-pad) clamp(48px, 6vw, 80px);
}

/* Live Production Badge */
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px;
  background: rgba(255, 184, 46, 0.08);
  border: 1px solid rgba(255, 184, 46, 0.25);
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 600;
  color: var(--gold-bright);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.pulse-dot {
  width: 7px;
  height: 7px;
  background: #2EE68B;
  border-radius: 50%;
  box-shadow: 0 0 10px #2EE68B;
  animation: pulseDot 2s infinite;
}
@keyframes pulseDot {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(46, 230, 139, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(46, 230, 139, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(46, 230, 139, 0); }
}

.hero-headline {
  font-size: clamp(34px, 7.5vw, 104px);
  font-weight: 600;
  letter-spacing: -0.03em;
  max-width: 17ch;
  line-height: 1.04;
}
.hero-headline .line {
  display: block;
  overflow: hidden;
}
.hero-headline .line span {
  display: block;
  transform: translateY(110%);
}

.hero-sub {
  margin-top: 26px;
  max-width: 58ch;
  font-size: clamp(16px, 1.4vw, 19px);
  color: var(--text-2);
  line-height: 1.65;
}

.hero-cta {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 38px;
}

@media (max-width: 600px) {
  .hero {
    padding-top: 100px;
  }
  .hero-headline {
    font-size: clamp(30px, 8.5vw, 42px);
    max-width: 100%;
  }
  .hero-sub {
    font-size: 15px;
    margin-top: 18px;
  }
  .hero-cta {
    margin-top: 28px;
  }
  .hero-foot {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 14px var(--edge-pad);
  }
}

/* Running Marquee Ticker */
.hero-marquee {
  position: relative;
  z-index: 2;
  display: flex;
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(14, 15, 20, 0.45);
  backdrop-filter: blur(10px);
  padding: 12px 0;
}
.marquee-track {
  display: flex;
  gap: 40px;
  white-space: nowrap;
  animation: marquee 24s linear infinite;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--text-3);
  text-transform: uppercase;
}
.marquee-track span {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}
.marquee-track span::after {
  content: '•';
  color: var(--gold);
}
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.hero-foot {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px var(--edge-pad);
  font-size: 13px;
  color: var(--text-3);
}
.scroll-cue {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-2);
  font-family: var(--font-mono);
  font-size: 12px;
}
.scroll-cue-line {
  width: 28px;
  height: 1px;
  background: var(--gold);
  box-shadow: 0 0 6px var(--gold);
}

/* =========================================================
   Sub-Page Hero
   ========================================================= */
.page-hero {
  padding: clamp(120px, 13vw, 160px) 0 clamp(48px, 6vw, 72px);
  border-bottom: 1px solid var(--border);
  background: radial-gradient(ellipse at 50% 0%, rgba(255, 184, 46, 0.07) 0%, rgba(7, 7, 9, 0) 70%);
}
.page-hero .display-1 {
  margin-top: 14px;
}

/* =========================================================
   Work Showcase & Cards
   ========================================================= */
.work-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 48px 36px;
}
@media (max-width: 860px) {
  .work-grid { grid-template-columns: 1fr; }
}
.work-grid .work-card:first-child {
  grid-column: 1 / -1;
}

/* Category Filter Tabs */
.filter-tabs {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 44px;
}
.filter-btn {
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-2);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  transition: all 0.25s var(--ease);
  cursor: pointer;
}
.filter-btn:hover {
  color: var(--text-1);
  border-color: var(--border-strong);
  background: rgba(255, 255, 255, 0.08);
}
.filter-btn.is-active {
  background: var(--gold);
  color: #0A0A0E;
  border-color: var(--gold);
  font-weight: 600;
  box-shadow: 0 4px 18px var(--gold-glow);
}

/* Cinematic Work Card */
.work-card {
  display: block;
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border);
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.work-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-glow);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 0 0 30px rgba(255, 184, 46, 0.12);
}

.frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--bg);
  isolation: isolate;
}
.frame--wide { aspect-ratio: 21 / 9; }
.frame--tall { aspect-ratio: 4 / 5; }

.frame-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease), filter 0.8s var(--ease);
}
.work-card:hover .frame-img {
  transform: scale(1.05);
  filter: brightness(1.05);
}

.frame-grain {
  position: absolute;
  inset: 0;
  opacity: 0.18;
  mix-blend-mode: overlay;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.frame-vignette {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(ellipse at 50% 50%, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, 0.65) 100%),
              linear-gradient(180deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, 0.85) 100%);
}

.frame-tag {
  position: absolute;
  right: 20px;
  top: 20px;
  z-index: 2;
  font-family: var(--font-mono);
  color: var(--text-1);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  padding: 5px 12px;
  background: rgba(10, 11, 16, 0.75);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-pill);
  text-transform: uppercase;
}

.frame-code {
  position: absolute;
  left: 22px;
  bottom: 20px;
  z-index: 2;
  font-family: var(--font-mono);
  color: var(--text-1);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  gap: 10px;
}

.frame-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
  pointer-events: none;
}
.frame-play span {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: rgba(12, 13, 18, 0.65);
  backdrop-filter: blur(14px);
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  transition: transform 0.4s var(--ease-bounce), border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.frame-play span::after {
  content: '';
  width: 0;
  height: 0;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  border-left: 14px solid var(--gold);
  margin-left: 3px;
}
.work-card:hover .frame-play span {
  transform: scale(1.15);
  border-color: var(--gold);
  background: rgba(255, 184, 46, 0.2);
  box-shadow: 0 10px 30px var(--gold-glow);
}

.work-card-meta {
  padding: 22px 24px;
  background: var(--bg-card);
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  border-top: 1px solid var(--border);
}
.work-card-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 20px;
  color: var(--text-1);
  margin-bottom: 4px;
}
.work-card-cat {
  font-size: 13.5px;
  color: var(--text-2);
}
.work-card-hud {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--gold);
  background: rgba(255, 184, 46, 0.08);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 184, 46, 0.2);
  white-space: nowrap;
}

/* =========================================================
   Interactive Comparison Slider (AI Production Advantage)
   ========================================================= */
.compare-container {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-strong);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.7);
  user-select: none;
  cursor: ew-resize;
  margin-top: 40px;
  touch-action: none;
}

.compare-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.compare-layer img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.compare-layer--after {
  z-index: 1;
}

.compare-layer--before {
  z-index: 2;
  width: 50%;
  border-right: 2px solid var(--gold);
  box-shadow: 4px 0 25px rgba(255, 184, 46, 0.5);
}

.compare-layer--before img {
  width: var(--container-width, 100%);
  max-width: none;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.compare-handle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gold);
  color: #0A0A0E;
  box-shadow: 0 0 25px var(--gold-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  pointer-events: none;
}
.compare-handle svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.compare-badge {
  position: absolute;
  bottom: 24px;
  z-index: 5;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  padding: 6px 14px;
  background: rgba(10, 11, 16, 0.85);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-pill);
  text-transform: uppercase;
  color: var(--text-1);
}
.compare-badge--left { left: 24px; }
.compare-badge--right { right: 24px; color: var(--gold); border-color: rgba(255, 184, 46, 0.4); }

@media (max-width: 600px) {
  .compare-container {
    aspect-ratio: 16 / 10;
    margin-top: 24px;
    border-radius: var(--radius-md);
  }
  .compare-handle {
    width: 38px;
    height: 38px;
  }
  .compare-handle svg {
    width: 16px;
    height: 16px;
  }
  .compare-badge {
    bottom: 12px;
    font-size: 10px;
    padding: 4px 10px;
  }
  .compare-badge--left { left: 12px; }
  .compare-badge--right { right: 12px; }
}

/* =========================================================
   Interactive Showreel Theatre Modal
   ========================================================= */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(5, 5, 8, 0.94);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s var(--ease), visibility 0.35s var(--ease);
  padding: clamp(12px, 3vh, 32px) clamp(12px, 3vw, 32px);
  overflow-y: auto;
  overscroll-behavior: contain;
}
.modal-overlay.is-active {
  opacity: 1;
  visibility: visible;
}

.modal-theatre {
  width: min(100%, 1020px);
  max-height: calc(100vh - clamp(24px, 6vh, 64px));
  display: flex;
  flex-direction: column;
  margin: auto;
  background: var(--bg-surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.95), 0 0 50px rgba(255, 184, 46, 0.15);
  transform: scale(0.96) translateY(12px);
  transition: transform 0.35s var(--ease);
}
.modal-overlay.is-active .modal-theatre {
  transform: scale(1) translateY(0);
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  background: rgba(14, 15, 20, 0.92);
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}
.modal-title-group {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.modal-title {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.modal-hud {
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--gold);
  background: rgba(255, 184, 46, 0.1);
  padding: 3px 8px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
}
.modal-close {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border);
  color: var(--text-2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  line-height: 1;
  transition: all 0.2s var(--ease);
  cursor: pointer;
  flex-shrink: 0;
}
.modal-close:hover {
  background: rgba(255, 255, 255, 0.2);
  color: var(--text-1);
  transform: scale(1.08);
  box-shadow: 0 0 12px rgba(255, 184, 46, 0.3);
}

/* Modal Viewport Player */
.theatre-viewport {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: clamp(240px, 48vh, 500px);
  background: #000;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 1;
}
.theatre-viewport img,
.theatre-viewport video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.4s ease, transform 6s ease-out;
}
.theatre-viewport.is-playing img {
  transform: scale(1.03);
}
.theatre-letterbox-top,
.theatre-letterbox-bottom {
  position: absolute;
  left: 0;
  right: 0;
  height: 4%;
  background: #000;
  z-index: 2;
  pointer-events: none;
}
.theatre-letterbox-top { top: 0; }
.theatre-letterbox-bottom { bottom: 0; }

.theatre-chapter-badge {
  position: absolute;
  top: 14px;
  left: 16px;
  z-index: 3;
  font-family: var(--font-mono);
  font-size: 11px;
  color: #FFF;
  background: rgba(10, 10, 14, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 184, 46, 0.45);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.6);
  letter-spacing: 0.04em;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.theatre-play-state {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 4;
  cursor: pointer;
}
.theatre-play-pulse {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(14, 15, 20, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 2px solid var(--gold);
  box-shadow: 0 0 35px var(--gold-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s var(--ease);
}
.theatre-play-pulse::after {
  content: '';
  width: 0;
  height: 0;
  border-top: 9px solid transparent;
  border-bottom: 9px solid transparent;
  border-left: 16px solid var(--gold);
  margin-left: 3px;
}
.theatre-play-state:hover .theatre-play-pulse {
  transform: scale(1.1);
}

/* Modal Controls */
.theatre-controls {
  padding: 12px 20px;
  background: rgba(12, 13, 18, 0.96);
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex-shrink: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}
.theatre-scrubber {
  position: relative;
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.14);
  border-radius: 3px;
  cursor: pointer;
}
.theatre-progress {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, #FF9E1A, var(--gold));
  border-radius: 3px;
  position: relative;
  box-shadow: 0 0 10px var(--gold-glow);
  transition: width 0.15s linear;
}
.theatre-controls-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.theatre-left-ctrl {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-2);
}
.theatre-play-btn {
  color: var(--text-1);
  font-size: 15px;
  cursor: pointer;
  transition: transform 0.2s ease, color 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
}
.theatre-play-btn:hover {
  color: var(--gold);
  transform: scale(1.15);
}
.theatre-right-ctrl {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-3);
}

/* Modal Tabs & Specs */
.theatre-footer {
  padding: 14px 20px;
  background: var(--bg-surface-raised);
  border-top: 1px solid var(--border);
  display: grid;
  grid-template-columns: 1.8fr 1.2fr;
  gap: 20px;
  flex-shrink: 0;
  overflow-y: auto;
  max-height: 140px;
}
.theatre-notes h4 {
  font-size: 13.5px;
  margin-bottom: 4px;
  color: var(--text-1);
}
.theatre-notes p {
  font-size: 12.5px;
  color: var(--text-2);
  line-height: 1.5;
  margin: 0;
}
.theatre-specs-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-3);
}
.theatre-specs-list span strong {
  color: var(--gold);
  font-weight: 500;
}

@media (max-width: 768px) {
  .modal-overlay {
    padding: 12px;
  }
  .modal-theatre {
    width: 100%;
    max-height: 94vh;
  }
  .modal-header {
    padding: 10px 14px;
  }
  .modal-title {
    font-size: 13.5px;
  }
  .modal-hud {
    display: none;
  }
  .theatre-viewport {
    max-height: 36vh;
  }
  .theatre-controls {
    padding: 10px 14px;
  }
  .theatre-right-ctrl {
    display: none;
  }
  .theatre-footer {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 12px 14px;
    max-height: 120px;
  }
}

@media (max-height: 640px) {
  .theatre-footer {
    padding: 10px 16px;
    max-height: 85px;
  }
  .theatre-specs-list {
    display: none;
  }
  .theatre-viewport {
    max-height: 44vh;
  }
}

/* =========================================================
   Services List / Grid
   ========================================================= */
.service-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 40px;
}
.service-card {
  display: grid;
  grid-template-columns: 280px 1fr auto;
  gap: 32px;
  align-items: center;
  padding: 36px 40px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: all 0.35s var(--ease);
}
.service-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-glow);
  transform: translateX(8px);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}
.service-title {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 600;
  color: var(--text-1);
}
.service-card:hover .service-title {
  color: var(--gold-bright);
}
.service-desc {
  font-size: 16px;
  color: var(--text-2);
  line-height: 1.6;
}
.service-tag-pill {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--gold);
  background: rgba(255, 184, 46, 0.08);
  border: 1px solid rgba(255, 184, 46, 0.22);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
}
@media (max-width: 960px) {
  .service-card {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 28px 24px;
  }
}

/* =========================================================
   Why KABDOLA (Pillars Grid)
   ========================================================= */
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 48px;
}
@media (max-width: 960px) {
  .why-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 580px) {
  .why-grid { grid-template-columns: 1fr; }
}
.why-card {
  padding: 36px 30px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  position: relative;
  overflow: hidden;
  transition: all 0.35s var(--ease);
}
.why-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0;
  transition: opacity 0.35s var(--ease);
}
.why-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-glow);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
}
.why-card:hover::before {
  opacity: 1;
}
.why-card h3 {
  font-size: 20px;
  margin-bottom: 12px;
  color: var(--text-1);
}
.why-card p {
  color: var(--text-2);
  font-size: 15px;
  line-height: 1.6;
}

/* =========================================================
   Process Timeline
   ========================================================= */
.process-list {
  counter-reset: step;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 48px;
  position: relative;
}
@media (max-width: 960px) {
  .process-list { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .process-list { grid-template-columns: 1fr; }
}
.process-item {
  counter-increment: step;
  padding: 32px 28px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  position: relative;
  transition: all 0.3s var(--ease);
}
.process-item:hover {
  border-color: var(--border-strong);
  background: var(--bg-card-hover);
}
.process-item::before {
  content: counter(step, decimal-leading-zero);
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 16px;
  background: rgba(255, 184, 46, 0.1);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
}
.process-item h4 {
  font-size: 19px;
  margin-bottom: 10px;
  color: var(--text-1);
}
.process-item p {
  color: var(--text-2);
  font-size: 14.5px;
  line-height: 1.6;
}

/* =========================================================
   FAQ Accordion
   ========================================================= */
.faq-item {
  border-top: 1px solid var(--border);
  transition: background 0.25s var(--ease);
}
.faq-item:last-child {
  border-bottom: 1px solid var(--border);
}
.faq-q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 24px 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 18px;
  color: var(--text-1);
  text-align: left;
  width: 100%;
  cursor: pointer;
  transition: color 0.2s var(--ease);
}
.faq-q:hover {
  color: var(--gold);
}
.faq-q .plus {
  position: relative;
  width: 18px;
  height: 18px;
  flex: none;
}
.faq-q .plus::before,
.faq-q .plus::after {
  content: '';
  position: absolute;
  background: var(--text-1);
  transition: transform 0.3s var(--ease);
}
.faq-q .plus::before { left: 0; top: 8px; width: 18px; height: 2px; }
.faq-q .plus::after { left: 8px; top: 0; width: 2px; height: 18px; }
.faq-item.is-open .plus::after { transform: rotate(90deg); opacity: 0; }
.faq-item.is-open .faq-q { color: var(--gold); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease);
}
.faq-a p {
  padding-bottom: 24px;
  color: var(--text-2);
  font-size: 16px;
  line-height: 1.65;
  max-width: 60ch;
}

/* =========================================================
   Final CTA
   ========================================================= */
.final-cta {
  padding: clamp(80px, 10vw, 140px) 0;
  background: radial-gradient(circle at 50% 100%, rgba(255, 184, 46, 0.12) 0%, rgba(7, 7, 9, 0.95) 75%);
  border-top: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.final-cta-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 36px;
  flex-wrap: wrap;
}

/* =========================================================
   Footer
   ========================================================= */
.site-footer {
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  color: var(--text-2);
  padding: clamp(64px, 8vw, 96px) 0 36px;
  position: relative;
  z-index: 1;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  gap: clamp(32px, 6vw, 80px);
  padding-bottom: 56px;
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
}
.footer-brand {
  max-width: 360px;
}
.footer-brand .brand--wordmark img {
  height: 34px;
  width: auto;
  object-fit: contain;
  margin-bottom: 20px;
}
.footer-brand p {
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--text-3);
}
.footer-cols {
  display: flex;
  gap: clamp(40px, 7vw, 80px);
  flex-wrap: wrap;
}
.footer-col h5 {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 20px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.footer-col a, .footer-col span {
  display: block;
  font-size: 14.5px;
  color: var(--text-2);
  margin-bottom: 12px;
  transition: color 0.2s var(--ease);
}
.footer-col a:hover {
  color: var(--text-1);
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 32px;
  font-size: 13px;
  color: var(--text-3);
  font-family: var(--font-mono);
  flex-wrap: wrap;
  gap: 12px;
}

@media (max-width: 600px) {
  .footer-brand .brand--wordmark img {
    height: 28px;
    margin-bottom: 16px;
  }
  .footer-cols {
    gap: 32px;
    width: 100%;
  }
  .footer-col {
    width: 100%;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
}

/* =========================================================
   Contact Form & Interactive Chips
   ========================================================= */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px 32px;
}
@media (max-width: 680px) {
  .form-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}
.form-field {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.form-field.full {
  grid-column: 1 / -1;
}
.form-field label {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-1);
  font-family: var(--font-display);
}
.form-field .hint {
  font-size: 12px;
  color: var(--text-3);
  margin-top: -4px;
}
.form-field input,
.form-field select,
.form-field textarea {
  border: none;
  border-bottom: 1px solid var(--border-strong);
  padding: 14px 2px;
  background: transparent;
  color: var(--text-1);
  font-size: 15px;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.form-field textarea {
  resize: vertical;
  min-height: 100px;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--gold);
  outline: none;
  box-shadow: 0 1px 0 var(--gold);
}
.form-field input:user-invalid,
.form-field textarea:user-invalid {
  border-color: #FF5555;
}
.form-field select {
  background: var(--bg-surface);
  color: var(--text-1);
}
.form-field select option {
  background: #0E0F14;
  color: #F5F5F7;
}

/* Interactive Chips for Project Types */
.chips-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}
.chip-btn {
  padding: 7px 14px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-family: var(--font-mono);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  color: var(--text-2);
  cursor: pointer;
  transition: all 0.2s var(--ease);
}
.chip-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--border-strong);
}
.chip-btn.is-selected {
  background: rgba(255, 184, 46, 0.15);
  border-color: var(--gold);
  color: var(--gold-bright);
}

.form-submit {
  margin-top: 20px;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.form-note {
  font-size: 13px;
  color: var(--text-3);
}
.form-success {
  display: none;
  padding: 24px;
  background: var(--bg-surface-raised);
  border: 1px solid var(--border-strong);
  border-left: 3px solid var(--gold);
  border-radius: var(--radius-sm);
  font-size: 15px;
  margin-top: 24px;
}
.form-success.is-visible {
  display: block;
}

/* Copy Email Toast */
.copy-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  font-size: 13.5px;
  color: var(--text-1);
  cursor: pointer;
  transition: all 0.2s var(--ease);
}
.copy-pill:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--gold);
}
.toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  padding: 12px 20px;
  background: var(--gold);
  color: #0A0A0E;
  font-family: var(--font-display);
  font-size: 13.5px;
  font-weight: 600;
  border-radius: var(--radius-pill);
  box-shadow: 0 10px 30px var(--gold-glow);
  z-index: 2000;
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.3s var(--ease);
}
.toast.is-visible {
  transform: translateY(0);
  opacity: 1;
}

/* =========================================================
   Project Detail Case Study Styling
   ========================================================= */
.case-hud-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding: 28px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  margin-top: 36px;
}
@media (max-width: 800px) {
  .case-hud-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  .case-hud-grid {
    grid-template-columns: 1fr;
    padding: 20px 18px;
    gap: 16px;
  }
}
.hud-cell {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.hud-label {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.hud-value {
  font-family: var(--font-mono);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-1);
}

.case-quote-box {
  padding: 40px;
  background: linear-gradient(135deg, rgba(255, 184, 46, 0.06) 0%, rgba(14, 15, 20, 0.8) 100%);
  border-left: 3px solid var(--gold);
  border-radius: var(--radius-sm);
  margin: 40px 0;
}
.case-quote {
  font-family: var(--font-display);
  font-size: clamp(19px, 2vw, 24px);
  font-weight: 500;
  line-height: 1.5;
  color: var(--text-1);
}
.case-author {
  font-size: 13.5px;
  color: var(--gold);
  margin-top: 14px;
  font-family: var(--font-mono);
}

/* Next / Prev Project Bar */
.project-nav-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 32px 0;
  border-top: 1px solid var(--border);
  margin-top: 60px;
  gap: 24px;
  flex-wrap: wrap;
}
@media (max-width: 600px) {
  .project-nav-bar {
    flex-direction: column;
    align-items: flex-start;
  }
}
.project-nav-link {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.project-nav-label {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--gold);
  text-transform: uppercase;
}
.project-nav-title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  color: var(--text-1);
}
.project-nav-link:hover .project-nav-title {
  color: var(--gold-bright);
}

/* =========================================================
   Custom Cursor (Desktop Only)
   ========================================================= */
@media (hover: hover) and (pointer: fine) {
  .custom-cursor {
    position: fixed;
    top: 0;
    left: 0;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(255, 184, 46, 0.2);
    border: 1px solid var(--gold);
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: width 0.3s var(--ease), height 0.3s var(--ease), background 0.3s var(--ease), border-color 0.3s var(--ease), opacity 0.25s var(--ease);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-mono);
    font-size: 10px;
    font-weight: 700;
    color: #0A0A0E;
    letter-spacing: 0.05em;
  }
  .custom-cursor.is-hovering {
    width: 68px;
    height: 68px;
    background: var(--gold);
    box-shadow: 0 0 25px var(--gold-glow);
  }
  .custom-cursor.is-hovering::after {
    content: attr(data-label);
  }
}

/* =========================================================
   Reveal on Scroll Animations
   ========================================================= */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Utilities */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gutter); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gutter); }
@media (max-width: 900px) {
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
  margin-bottom: 56px;
}
@media (max-width: 760px) {
  .section-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
}

.mt-xs { margin-top: 12px; }
.mt-s  { margin-top: 20px; }
.mt-m  { margin-top: 36px; }
.mt-l  { margin-top: 60px; }

.stat-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(24px, 4vw, 56px);
}
@media (max-width: 900px) {
  .stat-row { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .stat-row { grid-template-columns: 1fr; gap: 24px; }
}
.stat .num {
  font-family: var(--font-display);
  font-size: clamp(34px, 3.6vw, 48px);
  font-weight: 700;
  color: var(--text-1);
}
.stat .lab {
  font-size: 13.5px;
  color: var(--text-2);
  margin-top: 6px;
}

.label-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
}
.label-list span {
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--text-2);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
}

.byline-block {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}
.byline-mark {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1.5px solid var(--gold);
  background: rgba(255, 184, 46, 0.1);
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 15px var(--gold-glow);
}
.byline-mark::after {
  content: '';
  width: 0;
  height: 0;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  border-left: 11px solid var(--gold);
  margin-left: 3px;
}
