/* ==========================================================================
   SATURN STUDIO — DESIGN SYSTEM 2026
   Positioning: Social-First Video Editing & Storytelling
   Channels: YouTube | Instagram | Reels | Shorts | Creators | Brands
   Theme: Nothing OS Minimalism + Glassmorphism + DOT-MATRIX DNA
   ========================================================================== */

/* --------------------------------------------------------------------------
   01. CSS VARIABLES & DESIGN TOKENS
   -------------------------------------------------------------------------- */
:root {
  /* Color Palette */
  --bg-paper: #F4F4F5;
  --bg-obsidian: #0A0A0C;
  --bg-card: #FFFFFF;
  --bg-card-dark: #121215;
  --text-ink: #0B0B0C;
  --text-light: #F4F4F5;
  --text-muted: #6B7280;
  --text-muted-dark: #9CA3AF;
  
  /* Primary Accent: Gemini / DeepSeek Electric Blue & Cyan */
  --accent: #2563EB;
  --accent-coral: #2563EB;
  --accent-blue: #2563EB;
  --accent-cyan: #00D2FF;
  --accent-indigo: #1D4ED8;
  --accent-gradient: linear-gradient(135deg, #1D4ED8 0%, #2563EB 40%, #00D2FF 100%);
  --accent-gradient-hover: linear-gradient(135deg, #2563EB 0%, #3B82F6 40%, #38BDF8 100%);
  --accent-glow: rgba(37, 99, 235, 0.35);
  --accent-cyan-glow: rgba(0, 210, 255, 0.5);
  --accent-rgb: 37, 99, 235;
  
  /* Borders & Dividers */
  --border-line: rgba(11, 11, 12, 0.10);
  --border-line-dark: rgba(255, 255, 255, 0.12);
  --border-active: rgba(0, 210, 255, 0.5);

  /* Glassmorphism */
  --glass-light-bg: rgba(255, 255, 255, 0.25);
  --glass-light-border: rgba(255, 255, 255, 0.60);
  --glass-dark-bg: rgba(16, 16, 18, 0.65);
  --glass-dark-border: rgba(255, 255, 255, 0.10);
  --glass-blur: blur(24px) saturate(180%);

  /* Dot Grid Pattern (Refined 1.25px / 24px) */
  --dot-color: rgba(11, 11, 12, 0.07);
  --dot-color-dark: rgba(255, 255, 255, 0.07);
  --dot-size: 1.25px;
  --dot-gap: 24px;

  /* Typography */
  --font-doto: 'Doto', 'Space Mono', monospace;
  --font-sans: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', SFMono-Regular, Menlo, Monaco, Consolas, monospace;

  /* Radii */
  --radius-card: 26px;
  --radius-pill: 9999px;
  --radius-sm: 8px;
  --radius-md: 14px;

  /* Transitions & Easing */
  --ease-spring: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-smooth: cubic-bezier(0.25, 1, 0.5, 1);
  --transition-fast: 0.2s var(--ease-spring);
  --transition-normal: 0.35s var(--ease-spring);
  --transition-slow: 0.6s var(--ease-spring);
}

/* --------------------------------------------------------------------------
   02. RESET & BASE STYLES
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: auto; /* Lenis handles smooth scrolling */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background-color: var(--bg-paper);
  color: var(--text-ink);
  font-family: var(--font-sans);
  line-height: 1.5;
  overflow-x: hidden;
  position: relative;
  background-image: radial-gradient(var(--dot-color) var(--dot-size), transparent var(--dot-size));
  background-size: var(--dot-gap) var(--dot-gap);
  background-position: 0 0;
}

::selection {
  background: var(--accent);
  color: #FFFFFF;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  background: none;
  border: none;
  font: inherit;
  cursor: pointer;
}

img, video {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 100%;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 32px;
  padding-right: 32px;
}

/* Typography Utilities */
.mono-label {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.doto-font {
  font-family: var(--font-doto);
  font-weight: 800;
  font-feature-settings: 'tnum' on, 'zero' on;
}

.accent-word {
  color: var(--accent);
  font-weight: 700;
  position: relative;
  display: inline-block;
}

.accent-views {
  color: var(--accent) !important;
  font-weight: 700;
}

.text-muted {
  color: var(--text-muted);
}

.section-lead-line {
  font-size: 16px;
  color: var(--text-muted);
  margin-top: 10px;
  line-height: 1.5;
}

/* --------------------------------------------------------------------------
   03. APPLE UI // LIQUID GLASS REPUTATION LOADER
   -------------------------------------------------------------------------- */
.saturn-loader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #0A0A0C;
  pointer-events: all;
  user-select: none;
  transition: opacity 0.6s var(--ease-spring), visibility 0.6s var(--ease-spring);
  will-change: opacity, visibility;
}

.saturn-loader.loaded {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* Ambient Luminous Glow Orbs (Subtle Fluid Backlight) */
.loader-ambient-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 1;
}

.glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.35;
  transition: transform 1.2s var(--ease-smooth);
}

.glow-coral {
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(240, 84, 84, 0.45) 0%, rgba(240, 84, 84, 0) 70%);
  top: 50%;
  left: 50%;
  transform: translate(-35%, -45%);
  animation: float-glow-1 4s ease-in-out infinite alternate;
}

.glow-white {
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.22) 0%, rgba(255, 255, 255, 0) 70%);
  top: 50%;
  left: 50%;
  transform: translate(-65%, -55%);
  animation: float-glow-2 5s ease-in-out infinite alternate;
}

@keyframes float-glow-1 {
  0% { transform: translate(-35%, -45%) scale(0.92); }
  100% { transform: translate(-30%, -40%) scale(1.12); }
}

@keyframes float-glow-2 {
  0% { transform: translate(-65%, -55%) scale(1.12); }
  100% { transform: translate(-70%, -60%) scale(0.92); }
}

/* Liquid Glass Capsule Centerpiece */
.loader-glass-capsule {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
  width: min(380px, 86vw);
  padding: 38px 32px 34px;
  border-radius: 36px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.02) 100%);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(40px) saturate(200%);
  -webkit-backdrop-filter: blur(40px) saturate(200%);
  box-shadow: 
    0 28px 70px rgba(0, 0, 0, 0.65),
    inset 0 1.5px 1.5px 0 rgba(255, 255, 255, 0.35),
    inset 0 -1px 2px 0 rgba(0, 0, 0, 0.5);
  transition: transform 0.6s var(--ease-spring), opacity 0.5s ease, filter 0.5s ease;
  overflow: hidden;
}

/* Apple Liquid Specular Light Angle */
.glass-specular-highlight {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 48%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0) 100%);
  border-radius: 36px 36px 0 0;
  pointer-events: none;
}

.saturn-loader.loaded .loader-glass-capsule {
  transform: scale(1.06);
  opacity: 0;
  filter: blur(14px);
}

/* Brand Row */
.loader-brand-row {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.brand-glyph-dot {
  color: var(--accent);
  font-size: 8px;
  text-shadow: 0 0 10px rgba(240, 84, 84, 0.8);
  animation: liquid-pulse 1.8s infinite ease-in-out;
}

.brand-name-title {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: rgba(255, 255, 255, 0.9);
  text-transform: uppercase;
}

@keyframes liquid-pulse {
  0%, 100% { opacity: 0.6; transform: scale(0.9); }
  50% { opacity: 1; transform: scale(1.2); }
}

/* Fluid Numeric Counter */
.loader-fluid-counter {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 2px;
  line-height: 1;
  margin: 4px 0 2px;
}

.counter-val {
  font-family: var(--font-sans);
  font-size: clamp(54px, 7vw, 68px);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: #FFFFFF;
  text-shadow: 0 2px 24px rgba(255, 255, 255, 0.18);
  min-width: 2.2ch;
  text-align: right;
}

.counter-symbol {
  font-family: var(--font-mono);
  font-size: 16px;
  font-weight: 600;
  color: var(--accent);
  margin-left: 2px;
}

/* Liquid Hairline Progress Track */
.loader-liquid-track {
  position: relative;
  width: 100%;
  height: 3px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 9999px;
  overflow: hidden;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.4);
}

.loader-liquid-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #1D4ED8, #00D2FF);
  border-radius: 9999px;
  box-shadow: 0 0 14px rgba(0, 210, 255, 0.8), 0 0 4px #FFFFFF;
  transition: width 0.08s linear;
}

/* Refined Minimal Monospace Lead */
.loader-lead-label {
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.45);
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

/* --------------------------------------------------------------------------
   04. CUSTOM MINIMAL HUD CURSOR
   -------------------------------------------------------------------------- */
.hud-cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 32px;
  height: 32px;
  pointer-events: none;
  z-index: 10000;
  transform: translate(-50%, -50%);
  transition: width 0.25s ease, height 0.25s ease, opacity 0.2s ease;
  mix-blend-mode: difference;
}

@media (pointer: coarse) {
  .hud-cursor {
    display: none !important;
  }
}

.cursor-crosshair {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 8px;
  height: 8px;
  transform: translate(-50%, -50%);
}

.cursor-crosshair::before,
.cursor-crosshair::after {
  content: '';
  position: absolute;
  background: #FFFFFF;
}

.cursor-crosshair::before {
  top: 3px;
  left: 0;
  width: 8px;
  height: 2px;
}

.cursor-crosshair::after {
  top: 0;
  left: 3px;
  width: 2px;
  height: 8px;
}

.cursor-ring {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 50%;
  transition: transform 0.2s ease;
}

body.cursor-hover .cursor-ring {
  transform: scale(1.6);
  border-color: var(--accent);
  background: rgba(240, 84, 84, 0.15);
}

/* --------------------------------------------------------------------------
   05. FLOATING FROSTED LIQUID GLASS NAVIGATION (AUTHENTIC APPLE UI)
   -------------------------------------------------------------------------- */
.hud-nav-wrap {
  position: fixed;
  top: 24px;
  left: 0;
  width: 100%;
  z-index: 1000;
  display: flex;
  justify-content: center;
  pointer-events: none;
  padding: 0 20px;
  transition: transform 0.4s var(--ease-spring), opacity 0.3s ease;
}

.hud-nav-pill {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 8px 10px 8px 22px;
  border-radius: var(--radius-pill);
  
  /* Authentic Apple VisionOS / macOS Frosted Liquid Glass */
  background: rgba(255, 255, 255, 0.62);
  -webkit-backdrop-filter: saturate(190%) blur(24px);
  backdrop-filter: saturate(190%) blur(24px);
  
  /* Precision Apple Glass Rim & Specular Highlight */
  border: 1px solid rgba(255, 255, 255, 0.65);
  box-shadow: 
    0 12px 32px -4px rgba(0, 0, 0, 0.08),
    0 4px 12px -2px rgba(0, 0, 0, 0.04),
    inset 0 1px 0 0 rgba(255, 255, 255, 0.95),
    inset 0 -1px 0 0 rgba(0, 0, 0, 0.04);
  
  transition: 
    transform 0.3s var(--ease-spring),
    box-shadow 0.3s var(--ease-spring),
    background 0.3s ease,
    border-color 0.3s ease;
}

.hud-nav-pill:hover {
  background: rgba(255, 255, 255, 0.75);
  border-color: rgba(255, 255, 255, 0.85);
  box-shadow: 
    0 16px 36px -4px rgba(0, 0, 0, 0.10),
    0 6px 16px -2px rgba(0, 0, 0, 0.05),
    inset 0 1px 0 0 #FFFFFF,
    inset 0 -1px 0 0 rgba(0, 0, 0, 0.04);
}

.hud-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-doto);
  font-weight: 900;
  font-size: 14.5px;
  letter-spacing: 0.08em;
  color: var(--text-ink);
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.hud-brand:hover {
  opacity: 0.85;
}

.hud-brand .doto-glyph {
  color: var(--accent);
  font-size: 11px;
  line-height: 1;
}

.hud-links {
  display: flex;
  align-items: center;
  gap: 22px;
}

.hud-link {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--text-ink);
  opacity: 0.70;
  padding: 6px 2px;
  position: relative;
  text-decoration: none;
  transition: opacity 0.2s ease, color 0.2s ease;
}

.hud-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--accent);
  transition: width 0.25s var(--ease-spring);
}

.hud-link:hover {
  opacity: 1;
  color: var(--accent);
}

.hud-link:hover::after {
  width: 100%;
}

.hud-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  background: #0B0B0C;
  color: #FFFFFF;
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  transition: background 0.25s ease, transform 0.25s var(--ease-spring), box-shadow 0.25s ease, border-color 0.25s ease;
}

.hud-cta-btn:hover {
  background: var(--accent);
  border-color: var(--accent);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px var(--accent-glow);
}

.hud-cta-btn .btn-dot-icon {
  font-size: 13px;
  transition: transform 0.2s ease;
}

.hud-cta-btn:hover .btn-dot-icon {
  transform: translateX(2px);
}

/* --------------------------------------------------------------------------
   06. HERO SECTION: 2-COLUMN BALANCED ATTENTION ENGINEERING STAGE
   -------------------------------------------------------------------------- */
.hud-header {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 100px 24px 44px;
  box-sizing: border-box;
  overflow: hidden;
  background-color: var(--bg-paper);
  background-image: none !important;
}

.hero-dot-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: auto;
}

.hud-hero-container {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: min(1400px, 94vw);
  margin: 0 auto;
  padding: 0 clamp(20px, 3vw, 48px);
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: clamp(30px, 3.8vh, 50px);
}

/* 2-Column Balanced Attention Engineering Stage (Expansive Stage) */
.hero-layout-grid {
  display: grid;
  grid-template-columns: minmax(380px, 460px) 1fr;
  align-items: center;
  gap: clamp(36px, 4.5vw, 76px);
  width: 100%;
}

/* Left Column: Eyebrow + 3-Line Headline + Sublead + Play CTA */
.hero-col-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: clamp(16px, 2.2vh, 26px);
}

.hero-eyebrow-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--accent, #F05454);
  text-transform: uppercase;
}

.eyebrow-bracket {
  color: var(--accent, #F05454);
  opacity: 0.9;
}

.eyebrow-text {
  color: var(--accent, #F05454);
}

.hero-title-wrap {
  margin: 0;
}

.hero-main-title {
  font-family: var(--font-sans);
  font-size: clamp(50px, 5.4vw, 76px);
  font-weight: 900;
  line-height: 0.92;
  letter-spacing: -0.04em;
  color: #0B0B0C;
  text-transform: uppercase;
  margin: 0;
}

.hero-main-title .accent-word {
  color: var(--accent, #F05454);
}

.hero-sublead-text {
  font-family: var(--font-sans);
  font-size: clamp(15px, 1.1vw, 17px);
  line-height: 1.5;
  font-weight: 450;
  color: #4B5563;
  max-width: 330px;
  margin: 0;
}

.hero-action-row {
  margin-top: 4px;
}

.hero-play-cta {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  background: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
  outline: none;
  text-decoration: none;
}

.cta-play-disc {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1.5px solid rgba(0, 0, 0, 0.22);
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: #0B0B0C;
  padding: 0;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
  transition: transform 0.25s var(--ease-spring), background 0.25s ease, border-color 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}

.hero-play-cta:hover .cta-play-disc {
  transform: scale(1.12);
  background: var(--accent, #F05454);
  border-color: var(--accent, #F05454);
  color: #FFFFFF;
  box-shadow: 0 8px 24px rgba(240, 84, 84, 0.35);
}

.cta-play-label {
  font-family: var(--font-sans);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #0B0B0C;
  transition: color 0.2s ease;
}

.hero-play-cta:hover .cta-play-label {
  color: var(--accent, #F05454);
}

/* Right Column: 16:9 Cinema Viewport, Overlapping 9:16 Phone & Blueprint Scrubber */
.hero-col-right {
  display: flex;
  flex-direction: column;
  position: relative;
  width: 100%;
}

.hero-player-stage {
  position: relative;
  width: 100%;
}

.deck-cinema-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #0A0A0C;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.18), 0 2px 8px rgba(0, 0, 0, 0.06);
  cursor: pointer;
  transition: transform 0.35s var(--ease-spring), box-shadow 0.35s ease;
}

.deck-cinema-frame:hover {
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.24), 0 0 0 1.5px rgba(240, 84, 84, 0.35);
}

.cinema-viewport {
  position: relative;
  width: 100%;
  height: 100%;
}

.cinema-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.cinema-hud-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.04) 38%, rgba(0, 0, 0, 0.82) 100%);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 18px 24px;
  pointer-events: none;
}

.ch-top-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.ch-badge {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: rgba(255, 255, 255, 0.95);
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.8);
}

.ch-play-trigger {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: auto;
}

.play-disc {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  border: 1.5px solid rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  padding: 0;
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.4);
  transition: transform 0.25s var(--ease-spring), background 0.25s ease, border-color 0.25s ease;
}

.deck-cinema-frame:hover .play-disc {
  transform: scale(1.12);
  background: var(--accent, #F05454);
  border-color: var(--accent, #F05454);
}

/* Waveform Visualizer & Live Timecode */
.ch-bottom-bar {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}

.ch-waveform-track {
  position: relative;
  width: 100%;
  height: 26px;
  display: flex;
  align-items: flex-end;
}

.wf-bars-group {
  display: flex;
  align-items: flex-end;
  gap: 2.5px;
  width: 100%;
  height: 18px;
  padding-bottom: 2px;
}

.wf-b {
  flex: 1 1 0;
  min-width: 2px;
  background: rgba(255, 255, 255, 0.42);
  border-radius: 1px;
  min-height: 2px;
  transition: height 0.3s ease;
}

.wf-b.h-2 { height: 20%; }
.wf-b.h-3 { height: 32%; }
.wf-b.h-4 { height: 44%; }
.wf-b.h-5 { height: 56%; }
.wf-b.h-6 { height: 68%; }
.wf-b.h-7 { height: 78%; }
.wf-b.h-8 { height: 88%; }
.wf-b.h-9 { height: 95%; }
.wf-b.h-10 { height: 100%; }

/* Red Keyframe Peak Markers */
.wf-cue-line {
  position: absolute;
  bottom: 0;
  width: 2px;
  height: 22px;
  background: var(--accent, #F05454);
  box-shadow: 0 0 8px rgba(240, 84, 84, 0.8);
  z-index: 2;
  pointer-events: none;
  transform: translateX(-50%);
}

.wf-cue-line.cue-1 { left: 39%; }
.wf-cue-line.cue-2 { left: 52%; }
.wf-cue-line.cue-3 { left: 65%; }
.wf-cue-line.cue-4 { left: 78%; }

.ch-scrubber-progress {
  position: absolute;
  left: 0;
  bottom: 0;
  height: 3px;
  width: 10%;
  background: var(--accent, #F05454);
  box-shadow: 0 0 6px var(--accent, #F05454);
  border-radius: 2px;
}

.ch-timecode {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.92);
  letter-spacing: 0.1em;
}

/* Overlapping 9:16 Vertical Smartphone */
.deck-phone-frame {
  position: absolute;
  right: -48px;
  bottom: -38px;
  width: 178px;
  aspect-ratio: 9 / 18.2;
  background: #0A0A0C;
  border-radius: 28px;
  border: 3.5px solid #1A1A1E;
  box-shadow: -18px 26px 58px rgba(0, 0, 0, 0.42), 0 0 0 1px rgba(255, 255, 255, 0.08);
  overflow: hidden;
  z-index: 4;
  cursor: pointer;
  transition: transform 0.35s var(--ease-spring), box-shadow 0.35s ease;
}

.deck-phone-frame:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: -22px 28px 64px rgba(0, 0, 0, 0.48);
}

.phone-screen {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #08080A;
}

/* ==========================================================================
   HERO PHONE FRAME — INSTAGRAM REELS APP MOCKUP & HUMAN SCROLL FEED
   ========================================================================== */
.insta-reels-app {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: #000;
  color: #fff;
  overflow: hidden;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  user-select: none;
}

.insta-top-bar {
  position: absolute;
  top: 10px;
  left: 12px;
  right: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 10;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.85);
}

.insta-logo-text {
  font-family: var(--font-sans), sans-serif;
  font-weight: 700;
  font-size: 11px;
  color: #FFFFFF;
}

.insta-cam-icon {
  font-size: 11px;
  opacity: 0.9;
}

.insta-slider-viewport {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.insta-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: #0A0A0C;
  overflow: hidden;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.insta-slide.current {
  transform: translateY(0);
  z-index: 1;
}

.insta-slide.incoming {
  transform: translateY(100%);
  z-index: 2;
}

.insta-slide.exit-up {
  transform: translateY(-100%);
}

.insta-slide.enter-center {
  transform: translateY(0);
}

.insta-slide video,
.insta-slide .insta-reel-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.insta-slide iframe,
.insta-slide .insta-yt-iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
  pointer-events: none;
  transform: scale(1.35);
  transform-origin: center center;
}

.insta-fallback-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.insta-file-poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.insta-watch-link {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #FFF;
  font-family: var(--font-mono);
  font-size: 8px;
  padding: 5px 9px;
  border-radius: var(--radius-pill);
  text-decoration: none;
  z-index: 4;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
  transition: background 0.2s ease, transform 0.2s ease;
}

.insta-watch-link:hover {
  background: var(--accent-coral);
  transform: translate(-50%, -50%) scale(1.05);
}

.insta-scrim-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.45) 0%, transparent 22%, transparent 58%, rgba(0, 0, 0, 0.88) 100%);
  pointer-events: none;
  z-index: 3;
}

.insta-right-rail {
  position: absolute;
  right: 8px;
  bottom: 34px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 11px;
  z-index: 5;
}

.insta-action-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  transition: transform 0.15s ease;
}

.insta-action-btn:hover {
  transform: scale(1.1);
}

.insta-heart-icon {
  font-size: 15px;
  color: #F05454;
  filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.7));
  transition: transform 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275), color 0.2s ease;
}

.insta-heart-icon.liked {
  color: #F05454;
}

.insta-comment-icon,
.insta-share-icon {
  font-size: 13px;
  color: #FFFFFF;
  filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.7));
}

.insta-action-count {
  font-size: 7.5px;
  font-weight: 600;
  color: #FFFFFF;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.85);
  font-family: var(--font-sans), sans-serif;
}

.insta-audio-disc {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #1A1A1E;
  border: 1.5px solid #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: rotateDisc 3.5s linear infinite;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
  margin-top: 2px;
}

.insta-disc-inner {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #F05454;
}

@keyframes rotateDisc {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.insta-bottom-meta {
  position: absolute;
  left: 10px;
  right: 48px;
  bottom: 12px;
  z-index: 5;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.insta-author-row {
  display: flex;
  align-items: center;
  gap: 5px;
}

.insta-avatar {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #F05454;
  border: 1px solid #FFFFFF;
  flex-shrink: 0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

.insta-handle {
  font-size: 8.5px;
  font-weight: 700;
  color: #FFFFFF;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.85);
  letter-spacing: -0.01em;
}

.insta-badge {
  font-size: 7px;
  color: #3897f0;
  font-weight: 800;
}

.insta-follow-btn {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.7);
  color: #FFFFFF;
  font-size: 7px;
  font-weight: 600;
  padding: 1px 5px;
  border-radius: 4px;
  line-height: 1.2;
  cursor: pointer;
  transition: all 0.2s ease;
}

.insta-follow-btn:hover,
.insta-follow-btn.following {
  background: rgba(255, 255, 255, 0.2);
  border-color: #FFFFFF;
}

.insta-caption {
  font-size: 7.5px;
  color: rgba(255, 255, 255, 0.94);
  line-height: 1.32;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.85);
}

.insta-audio-ticker {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 7px;
  color: rgba(255, 255, 255, 0.85);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.85);
  overflow: hidden;
  white-space: nowrap;
}

.insta-music-note {
  font-size: 7.5px;
}

.insta-audio-name {
  overflow: hidden;
  text-overflow: ellipsis;
}

.insta-scrubber-track {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2.5px;
  background: rgba(255, 255, 255, 0.25);
  z-index: 10;
}

.insta-scrubber-fill {
  height: 100%;
  width: 0%;
  background: #F05454;
  border-radius: 0 1px 1px 0;
}

/* Attention Blueprint Timeline Scrubber */
.hero-timeline-blueprint {
  position: relative;
  width: 100%;
  padding-top: 24px;
  padding-bottom: 6px;
}

.blueprint-line {
  position: relative;
  margin: 0 24px;
  width: calc(100% - 48px);
  height: 1px;
  background: linear-gradient(90deg, transparent 2%, rgba(0, 0, 0, 0.24) 6%, rgba(0, 0, 0, 0.24) 94%, transparent 98%);
}

.bp-marker {
  position: absolute;
  top: -4px;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  pointer-events: none;
}

.bp-marker.bp-hook { left: 39%; }
.bp-marker.bp-pacing { left: 52%; }
.bp-marker.bp-story { left: 65%; }
.bp-marker.bp-payoff { left: 78%; }

.bp-tick {
  display: block;
  width: 2px;
  height: 9px;
  background: rgba(0, 0, 0, 0.45);
  border-radius: 1px;
}

.bp-label {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  color: #71717A;
  letter-spacing: 0.14em;
  margin-top: 6px;
  white-space: nowrap;
}

/* Horizontal Bottom Metrics Telemetry Bar */
.hero-metrics-dock {
  display: flex;
  align-items: center;
  width: 100%;
  padding-top: 30px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.hero-metrics-dock .hm-metric {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.hm-num {
  font-family: var(--font-sans);
  font-size: clamp(30px, 2.8vw, 40px);
  font-weight: 800;
  letter-spacing: -0.035em;
  color: #0B0B0C;
  line-height: 1;
}

.hm-label {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  color: #71717A;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.hm-divider {
  width: 1px;
  height: 40px;
  background: rgba(0, 0, 0, 0.14);
  margin: 0 clamp(20px, 2.8vw, 46px);
}

.hm-index {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: #71717A;
}

.hm-index .idx-active {
  color: #0B0B0C;
}

.hm-index .idx-total {
  color: #A1A1AA;
}

@media (max-width: 1080px) {
  .hero-layout-grid {
    grid-template-columns: 340px 1fr;
    gap: 32px;
  }
  .deck-phone-frame {
    width: 160px;
    right: -10px;
  }
}

@media (max-width: 820px) {
  .hud-header {
    height: auto;
    min-height: 100vh;
    padding-top: 96px;
    padding-bottom: 40px;
  }
  .hero-layout-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .deck-phone-frame,
  .hide-mobile {
    display: none !important;
  }
  .hero-timeline-blueprint {
    display: none;
  }
  .hero-metrics-dock {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    padding-top: 24px;
  }
  .hm-divider {
    display: none;
  }
  .hm-index {
    grid-column: 1 / -1;
    margin-left: 0;
    padding-top: 12px;
    border-top: 1px dashed rgba(0, 0, 0, 0.1);
  }
}

@media (max-width: 500px) {
  .hud-header {
    padding-top: 84px;
    padding-bottom: 28px;
  }
  .hero-layout-grid {
    gap: 22px;
  }
  .hero-main-title {
    font-size: 38px;
  }
  .hero-sublead-text {
    font-size: 14.5px;
  }
  .hero-metrics-dock {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}


/* --------------------------------------------------------------------------
   07. SECTION 01: SELECTED WORK
   -------------------------------------------------------------------------- */
.shelf-obsidian-block {
  background-color: var(--bg-obsidian);
  color: var(--text-light);
  padding: 100px 0;
  position: relative;
  background-image: radial-gradient(var(--dot-color-dark) var(--dot-size), transparent var(--dot-size));
  background-size: var(--dot-gap) var(--dot-gap);
  overflow: hidden;
}

.shelf-header-flex {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 44px;
  flex-wrap: wrap;
  gap: 20px;
}

.shelf-header {
  margin-bottom: 44px;
}

.section-lead-line {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-top: 14px;
  max-width: 620px;
}

.shelf-tag {
  color: var(--accent);
  margin-bottom: 12px;
}

.shelf-title {
  font-family: var(--font-sans);
  font-size: clamp(30px, 3.4vw, 50px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.15;
}

.shelf-title-metrics {
  font-family: var(--font-mono);
  font-size: clamp(14px, 1.2vw, 18px);
  font-weight: 400;
  color: var(--text-muted-dark);
  letter-spacing: normal;
  vertical-align: middle;
  margin-left: 8px;
}

.shelf-obsidian-block .text-muted {
  color: var(--text-muted-dark);
}

/* Carousel Controls */
.carousel-nav-controls {
  display: flex;
  align-items: center;
  gap: 14px;
}

.c-nav-btn {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  transition: all 0.25s var(--ease-spring);
}

.c-nav-btn:hover {
  background: var(--accent);
  border-color: var(--accent);
  transform: scale(1.08);
}

.c-nav-indicator {
  font-size: 10px;
  color: var(--text-muted-dark);
  letter-spacing: 0.14em;
}

/* Carousel Track & Cards */
.carousel-container {
  overflow-x: auto;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  cursor: grab;
  padding-bottom: 20px;
}

.carousel-container::-webkit-scrollbar {
  display: none;
}

.carousel-container.is-dragging {
  cursor: grabbing;
  user-select: none;
}

.carousel-track {
  display: flex;
  gap: 24px;
  width: max-content;
}

.portfolio-item-card {
  flex: 0 0 360px;
  background: var(--bg-card-dark);
  border: 1px solid var(--border-line-dark);
  border-radius: var(--radius-card);
  padding: 14px;
  cursor: pointer;
  transition: transform 0.35s var(--ease-spring), border-color 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.portfolio-item-card:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.6);
}

.portfolio-thumb-box {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: calc(var(--radius-card) - 8px);
  overflow: hidden;
  background: #000000;
  margin-bottom: 16px;
}

.portfolio-media {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease-spring);
}

.portfolio-item-card:hover .portfolio-media {
  transform: scale(1.05);
}

.portfolio-hover-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  opacity: 0.85;
  transition: all 0.25s var(--ease-spring);
}

.portfolio-item-card:hover .portfolio-hover-play {
  transform: translate(-50%, -50%) scale(1.15);
  background: var(--accent);
  opacity: 1;
}

.portfolio-meta-box {
  padding: 4px 6px 6px;
}

.portfolio-client {
  font-size: 10.5px;
  color: var(--text-muted-dark);
  margin-bottom: 6px;
}

.portfolio-title {
  font-family: var(--font-sans);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #FFFFFF;
  margin-bottom: 12px;
  line-height: 1.3;
}

.portfolio-footer-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.p-format {
  color: var(--text-muted-dark);
}

.portfolio-duration-badge {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #FFFFFF;
  font-size: 9.5px;
  font-family: var(--font-mono);
  letter-spacing: 0.08em;
  padding: 3px 8px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  pointer-events: none;
  z-index: 2;
}

/* Short-Form 9:16 Mobile Aspect Ratio Cards */
.shelf-shortform-block {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 80px;
  padding-bottom: 100px;
}

.shortform-item-card {
  flex: 0 0 255px;
  background: var(--bg-card-dark);
  border: 1px solid var(--border-line-dark);
  border-radius: var(--radius-card);
  padding: 12px;
  cursor: pointer;
  transition: transform 0.35s var(--ease-spring), border-color 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.shortform-item-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.65);
}

.shortform-thumb-box {
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 15;
  border-radius: calc(var(--radius-card) - 6px);
  overflow: hidden;
  background: #000000;
  margin-bottom: 12px;
}

.shortform-thumb-box::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 55%, rgba(0, 0, 0, 0.45) 100%);
  pointer-events: none;
}

.shortform-thumb-box .portfolio-media {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease-spring);
}

.shortform-item-card:hover .portfolio-media {
  transform: scale(1.05);
}

.sf-pill-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-pill);
  color: #FFFFFF;
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  padding: 3px 9px;
  z-index: 2;
  pointer-events: none;
}

.shortform-item-card .portfolio-hover-play {
  width: 48px;
  height: 48px;
  font-size: 16px;
}

.shortform-item-card:hover .portfolio-hover-play {
  transform: translate(-50%, -50%) scale(1.12);
  background: var(--accent);
  opacity: 1;
}

.shortform-meta-box {
  padding: 2px 2px 2px;
  display: flex;
  flex-direction: column;
}

.sf-card-title {
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 700;
  color: #FFFFFF;
  margin: 0 0 8px 0;
  letter-spacing: -0.015em;
  line-height: 1.25;
}

.shortform-meta-box .portfolio-footer-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.shortform-meta-box .p-format {
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--text-muted-dark);
  letter-spacing: 0.08em;
}

.shortform-meta-box .accent-views {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--accent-coral);
  letter-spacing: 0.05em;
  white-space: nowrap;
}

@media (max-width: 768px) {
  .shortform-item-card {
    flex: 0 0 220px;
  }
}

/* CGI & 3D Shelf Block */
.shelf-cgi-block {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 80px;
  padding-bottom: 100px;
}

/* In-Page YouTube Lazy Iframe Embed */
.work-iframe-embed {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  z-index: 5;
}

.yt-file-fallback-link {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: var(--accent);
  color: #FFFFFF;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  z-index: 10;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
  transition: transform 0.2s ease;
}

.yt-file-fallback-link:hover {
  transform: scale(1.05);
}

/* Instagram Placeholder (Site theme styled) */
.work-media-ig {
  background: #111114;
  position: relative;
}

.work-ig-placeholder {
  width: 100%;
  height: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 30% 20%, rgba(240, 84, 84, 0.15), transparent 70%),
              radial-gradient(circle at 80% 80%, rgba(131, 58, 180, 0.2), transparent 70%),
              #121216;
}

.work-ig-gradient-layer {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(240, 84, 84, 0.08) 0%, rgba(0, 0, 0, 0.6) 100%);
  pointer-events: none;
}

.work-ig-centerpiece {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.work-ig-glyph {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
}

.work-ig-open-cue {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--accent-coral);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* --------------------------------------------------------------------------
   08. SECTION 02: WHAT WE DO (Exactly 3 Core Services)
   -------------------------------------------------------------------------- */
.shelf-light-block {
  padding: 90px 0 45px;
  position: relative;
}

.services-three-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-editorial-card {
  background: var(--bg-card);
  border: 1px solid var(--border-line);
  border-radius: var(--radius-card);
  padding: 40px 32px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.03);
  transition: transform 0.35s var(--ease-spring), box-shadow 0.35s ease, border-color 0.3s ease;
  display: flex;
  flex-direction: column;
}

.service-editorial-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.07);
  border-color: rgba(11, 11, 12, 0.25);
}

.svc-index {
  font-size: 32px;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 24px;
}

.svc-heading {
  font-family: var(--font-sans);
  font-size: 22px;
  font-weight: 700;
  color: var(--text-ink);
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}

.svc-one-liner {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.55;
}

/* --------------------------------------------------------------------------
   09. SECTION 03: HOW WE EDIT (RETENTION PHILOSOPHY)
   -------------------------------------------------------------------------- */
.philosophy-section {
  padding: 45px 0 90px;
  position: relative;
  background: rgba(255, 255, 255, 0.35);
}

.philosophy-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.philo-card {
  background: var(--bg-card);
  border: 1px solid var(--border-line);
  border-radius: var(--radius-card);
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.03);
  transition: transform 0.35s var(--ease-spring), box-shadow 0.35s ease, border-color 0.3s ease;
}

.philo-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.07);
  border-color: rgba(11, 11, 12, 0.25);
}

.philo-num {
  font-size: 28px;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 20px;
}

.philo-heading {
  font-family: var(--font-sans);
  font-size: 19px;
  font-weight: 700;
  color: var(--text-ink);
  margin-bottom: 12px;
}

.philo-body {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.55;
}

/* --------------------------------------------------------------------------
   10. SECTION 04: CASE STUDY (45M+ VIEWS)
   -------------------------------------------------------------------------- */
.scrolly-section {
  padding: 110px 0;
  position: relative;
  border-top: 1px solid var(--border-line);
}

.scrolly-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.scrolly-story-col {
  padding-right: 20px;
}

.scrolly-meta {
  color: var(--accent);
  margin-bottom: 14px;
}

.scrolly-main-title {
  font-family: var(--font-sans);
  font-size: clamp(34px, 3.6vw, 52px);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.025em;
  margin-bottom: 36px;
}

.case-study-simple-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.cs-simple-item {
  padding: 20px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border-line);
  border-radius: var(--radius-md);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.02);
}

.cs-item-label {
  font-size: 10.5px;
  color: var(--accent);
  margin-bottom: 6px;
}

.cs-item-text {
  font-size: 15px;
  color: var(--text-ink);
  font-weight: 500;
  line-height: 1.45;
}

/* Right Video Stage */
.scrolly-pinned-col {
  perspective: 1000px;
}

.pinned-stage {
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: var(--radius-card);
  overflow: hidden;
  background: #0A0A0C;
  border: 1px solid var(--border-line);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.12);
  cursor: pointer;
  transform-style: preserve-3d;
}

.stage-media-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.layer-back .layer-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.7) blur(2px);
  transform: scale(1.05);
}

.layer-mid .layer-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.85;
}

.layer-hud {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px;
  color: #FFFFFF;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.5) 0%, transparent 50%, rgba(0, 0, 0, 0.7) 100%);
}

.hud-layer-tag {
  font-size: 11px;
  letter-spacing: 0.14em;
  opacity: 0.85;
}

.hud-play-center {
  align-self: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  padding-left: 4px;
  transition: transform 0.3s var(--ease-spring), background 0.2s ease;
}

.pinned-stage:hover .hud-play-center {
  transform: scale(1.15);
  background: var(--accent);
}

.hud-layer-readout {
  font-size: 11px;
  color: var(--accent);
  letter-spacing: 0.12em;
}

/* --------------------------------------------------------------------------
   11. SECTION 05: SOCIAL-FIRST
   -------------------------------------------------------------------------- */
.social-first-section {
  padding: 100px 0;
  position: relative;
}

.social-formats-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.social-card {
  background: var(--bg-card);
  border: 1px solid var(--border-line);
  border-radius: var(--radius-card);
  padding: 12px;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.03);
  transition: transform 0.3s var(--ease-spring), border-color 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.social-card:hover {
  transform: translateY(-6px);
  border-color: rgba(11, 11, 12, 0.25);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.06);
}

.social-card-media {
  position: relative;
  aspect-ratio: 9 / 14;
  border-radius: calc(var(--radius-card) - 6px);
  overflow: hidden;
  background: #000000;
  margin-bottom: 12px;
}

.sc-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease-spring);
}

.social-card:hover .sc-img {
  transform: scale(1.05);
}

.sc-play-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  padding-left: 2px;
  transition: all 0.25s var(--ease-spring);
}

.social-card:hover .sc-play-icon {
  transform: translate(-50%, -50%) scale(1.15);
  background: var(--accent);
}

.social-card-label {
  text-align: center;
  font-size: 11px;
  color: var(--text-ink);
  padding: 4px 0 2px;
}

/* --------------------------------------------------------------------------
   12. SECTION 06: WHO WE EDIT FOR
   -------------------------------------------------------------------------- */
.who-we-edit-section {
  padding: 90px 0;
  position: relative;
  background: rgba(255, 255, 255, 0.35);
}

.who-four-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.who-card {
  background: var(--bg-card);
  border: 1px solid var(--border-line);
  border-radius: var(--radius-card);
  padding: 32px 24px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.03);
  transition: transform 0.3s var(--ease-spring), border-color 0.3s ease;
}

.who-card:hover {
  transform: translateY(-4px);
  border-color: rgba(11, 11, 12, 0.25);
}

.who-name {
  font-size: 13px;
  color: var(--accent);
  margin-bottom: 10px;
}

.who-line {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-ink);
  line-height: 1.45;
}

/* --------------------------------------------------------------------------
   13. SECTION 07: THE STUDIO (ABOUT)
   -------------------------------------------------------------------------- */
.about-studio-section {
  padding: 100px 0;
  position: relative;
  border-top: 1px solid var(--border-line);
}

.about-compact-box {
  max-width: 900px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border-line);
  border-radius: var(--radius-card);
  padding: 56px 48px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.03);
}

.about-compact-title {
  font-family: var(--font-sans);
  font-size: clamp(32px, 3.8vw, 50px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 24px;
}

.about-compact-body {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.about-compact-body p {
  font-size: 18px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   14. SECTION 08: SOCIAL PROOF (CLIENTS & TESTIMONIALS)
   -------------------------------------------------------------------------- */
.proof-board-section {
  padding: 90px 0;
  position: relative;
}

.brand-marquee-row {
  overflow: hidden;
  padding: 24px 0;
  border-top: 1px solid var(--border-line);
  border-bottom: 1px solid var(--border-line);
  margin-bottom: 48px;
  position: relative;
}

.brand-marquee-track {
  display: flex;
  align-items: center;
  gap: 48px;
  white-space: nowrap;
  animation: marquee-slide 32s linear infinite;
  user-select: none;
}

.brand-marquee-row:hover .brand-marquee-track {
  animation-play-state: paused;
}

.b-logo {
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: rgba(11, 11, 12, 0.45);
  transition: color 0.2s ease;
}

.b-logo:hover {
  color: var(--text-ink);
}

.b-dot {
  font-size: 8px;
  color: var(--border-line);
}

@keyframes marquee-slide {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.voices-three-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.voice-card {
  background: var(--glass-light-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-light-border);
  border-radius: var(--radius-card);
  padding: 36px 30px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.03);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.3s var(--ease-spring), box-shadow 0.3s ease, border-color 0.3s ease;
}

.voice-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.07);
  border-color: rgba(11, 11, 12, 0.25);
}

.voice-quote {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-ink);
  font-style: italic;
  margin-bottom: 24px;
}

.author-name {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 700;
  color: var(--text-ink);
  margin-bottom: 4px;
}

.author-role {
  font-size: 11px;
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   15. FINAL CTA & FOOTER
   -------------------------------------------------------------------------- */
.hud-footer-wrapper {
  padding-top: 60px;
  padding-bottom: 40px;
  position: relative;
}

.hud-cta-panel {
  background: var(--bg-obsidian);
  color: var(--text-light);
  border: 1px solid var(--border-line-dark);
  border-radius: var(--radius-card);
  padding: 64px 48px;
  margin-bottom: 80px;
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 40px;
  align-items: center;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.3);
  position: relative;
  overflow: hidden;
  background-image: radial-gradient(var(--dot-color-dark) var(--dot-size), transparent var(--dot-size));
  background-size: var(--dot-gap) var(--dot-gap);
}

.cta-headline {
  font-family: var(--font-sans);
  font-size: clamp(32px, 3.6vw, 48px);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 16px;
}

.cta-sub {
  font-size: 17px;
  color: var(--text-muted-dark);
  line-height: 1.5;
  max-width: 540px;
}

.cta-actions-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.btn-block {
  width: 100%;
  justify-content: center;
  text-align: center;
}

.cta-actions-card .btn-glass-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: #FFFFFF;
  border-color: rgba(255, 255, 255, 0.18);
}

.cta-actions-card .btn-glass-secondary:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.35);
}

/* Footer Bottom Grid */
.footer-base-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.2fr 1fr;
  gap: 48px;
  padding-bottom: 60px;
  border-bottom: 1px solid var(--border-line);
}

.footer-doto-wordmark {
  font-size: clamp(48px, 6vw, 76px);
  color: var(--text-ink);
  line-height: 0.9;
  letter-spacing: -0.04em;
  margin-bottom: 14px;
  transition: color 0.3s ease;
}

.footer-doto-wordmark:hover {
  color: var(--accent);
}

.footer-meta-tagline {
  font-size: 10px;
  color: var(--text-muted);
  line-height: 1.6;
}

.footer-links-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.f-col-header {
  color: var(--accent);
  margin-bottom: 6px;
}

.f-link {
  font-size: 14px;
  color: var(--text-ink);
  opacity: 0.8;
  transition: opacity 0.2s ease, color 0.2s ease, transform 0.2s ease;
  display: inline-block;
}

.f-link:hover {
  opacity: 1;
  color: var(--accent);
  transform: translateX(3px);
}

.footer-copyright-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 28px;
  color: var(--text-muted);
  font-size: 11px;
}

/* --------------------------------------------------------------------------
   16. CINEMA / VIDEO LIGHTBOX MODAL
   -------------------------------------------------------------------------- */
.hud-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 10001;
  background: rgba(10, 10, 12, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s var(--ease-spring);
}

.hud-modal-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

.hud-modal-box {
  width: 100%;
  max-width: 1100px;
  background: var(--bg-card-dark);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.8);
  transform: scale(0.92);
  transition: transform 0.35s var(--ease-spring);
}

.hud-modal-backdrop.active .hud-modal-box {
  transform: scale(1);
}

.modal-hud-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 24px;
  background: rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: #FFFFFF;
}

.modal-title {
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--accent);
}

.modal-exit-btn {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.2s ease;
}

.modal-exit-btn:hover {
  color: var(--accent);
}

.modal-video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #000000;
}

.modal-video-frame video {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* --------------------------------------------------------------------------
   17. RESPONSIVE BREAKPOINTS
   -------------------------------------------------------------------------- */
@media (max-width: 1100px) {
  .hud-hero-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .services-three-grid {
    grid-template-columns: 1fr;
  }

  .philosophy-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .scrolly-container {
    grid-template-columns: 1fr;
  }

  .social-formats-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .who-four-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .voices-three-grid {
    grid-template-columns: 1fr;
  }

  .hud-cta-panel {
    grid-template-columns: 1fr;
  }

  .footer-base-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
}

@media (max-width: 768px) {
  .hud-nav-wrap {
    top: 12px;
    padding: 0 12px;
  }

  .hud-nav-pill {
    padding: 6px 10px 6px 16px;
    gap: 16px;
  }

  .hud-links {
    display: none;
  }

  .hud-header {
    padding-top: 100px;
    padding-bottom: 50px;
  }

  .philosophy-grid {
    grid-template-columns: 1fr;
  }

  .social-formats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .who-four-grid {
    grid-template-columns: 1fr;
  }

  .portfolio-item-card {
    flex: 0 0 280px;
  }

  .about-compact-box {
    padding: 36px 24px;
  }

  .footer-base-grid {
    grid-template-columns: 1fr;
  }

  .footer-copyright-bar {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }
}

/* --------------------------------------------------------------------------
   18. REDUCED MOTION PREFERENCE
   -------------------------------------------------------------------------- */

/* --- Missing coverage utility classes --- */
.nothing-theme {
  background-color: var(--bg-paper);
  color: var(--text-dark);
  font-family: var(--font-sans);
}

.brand-text {
  font-weight: 700;
  letter-spacing: -0.02em;
}

.badge-label {
  display: inline-block;
}

.btn-text {
  position: relative;
  z-index: 1;
}

.cta-inner-text {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.footer-brand-col {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.p-result {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
}

.trigger-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(240, 84, 84, 0.15);
  color: var(--accent-coral);
  font-size: 0.65rem;
}

.voice-author {
  display: flex;
  flex-direction: column;
  gap: 2px;
}



.hide-mobile {
  display: block;
}

/* Hero Specific Utilities */
.btn-primary-coral {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: linear-gradient(120deg, #1a3fc4 0%, #2563EB 25%, #3B82F6 50%, #00C6FF 75%, #2563EB 100%);
  background-size: 200% 100%;
  background-position: 100% 0;
  color: #FFFFFF !important;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.05em;
  text-decoration: none;
  transition:
    transform           0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    box-shadow          0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    background-position 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    border-color        0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  box-shadow: 0 4px 18px rgba(37, 99, 235, 0.35);
}

.btn-primary-coral:hover {
  background-position: 0% 0;
  transform: translateY(-2px);
  box-shadow: 0 8px 26px rgba(37, 99, 235, 0.55), 0 2px 12px rgba(0, 210, 255, 0.35);
}

.btn-arrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 14px;
  transition: transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.btn-primary-coral:hover .btn-arrow {
  transform: translateX(5px);
}

.chip-sep {
  color: var(--accent-coral);
  font-weight: 700;
  margin: 0 4px;
}

.live-dot-pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-coral);
  box-shadow: 0 0 0 0 rgba(240, 84, 84, 0.7);
  animation: pulse-dot 1.8s infinite;
  display: inline-block;
}

.meta-tc {
  font-family: var(--font-mono);
  font-weight: 600;
}

.phone-bezel {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 34px;
  overflow: hidden;
}

.phone-notch {
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 44px;
  height: 4px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 2px;
  z-index: 5;
}

.play-arrow {
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.telemetry-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  
  .dot-curtain {
    display: none !important;
  }
  
  .brand-marquee-track {
    animation: none !important;
  }
}


/* ==========================================================================
   ENHANCED EDITORIAL DESIGN SYSTEM OVERHAUL (PHASE 1 - 3 REMEDIATION)
   ========================================================================== */

/* Smart Navigation Auto-Hide on Scroll Down */
.hud-nav-wrap {
  transition: transform 0.4s var(--ease-spring), opacity 0.3s ease;
}

.hud-nav-wrap.nav-hidden {
  transform: translateY(-130%);
  opacity: 0;
  pointer-events: none;
}

/* Header Flex Header Block Constraint */
.shelf-header-text {
  max-width: 780px;
}

/* Carousel Navigation Controls Alignment */
.shelf-header-flex .carousel-nav-controls {
  margin-bottom: 8px;
}

/* --------------------------------------------------------------------------
   03. WHAT WE DO (HIGH-DENSITY SERVICES CARDS)
   -------------------------------------------------------------------------- */
.service-editorial-card {
  background: var(--bg-card);
  border: 1px solid var(--border-line);
  border-radius: var(--radius-card);
  padding: 36px 32px;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.03);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 380px;
  position: relative;
  overflow: hidden;
  transition: transform 0.35s var(--ease-spring), box-shadow 0.35s ease, border-color 0.3s ease;
}

.service-editorial-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: transparent;
  transition: background 0.3s ease;
}

.service-editorial-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.08);
  border-color: rgba(11, 11, 12, 0.25);
}

.service-editorial-card:hover::before {
  background: var(--accent);
}

.svc-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.svc-index-tag {
  font-family: var(--font-doto);
  font-size: 26px;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
}

.svc-format-pill {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  color: var(--text-muted);
  background: rgba(0, 0, 0, 0.04);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-line);
  letter-spacing: 0.08em;
}

.svc-heading {
  font-family: var(--font-sans);
  font-size: 22px;
  font-weight: 700;
  color: var(--text-ink);
  letter-spacing: -0.02em;
  margin-bottom: 12px;
  line-height: 1.25;
}

.svc-one-liner {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 24px;
}

/* Service Deliverable Tags */
.svc-chips-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}

.svc-chip {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  color: var(--text-ink);
  background: rgba(11, 11, 12, 0.03);
  border: 1px solid rgba(11, 11, 12, 0.09);
  padding: 4px 9px;
  border-radius: 4px;
  letter-spacing: 0.06em;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.service-editorial-card:hover .svc-chip {
  border-color: rgba(240, 84, 84, 0.35);
  background: rgba(240, 84, 84, 0.04);
}

/* Service Spec Bar */
.svc-spec-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid var(--border-line);
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
}

.svc-spec-highlight {
  color: var(--accent);
  font-weight: 700;
}

/* --------------------------------------------------------------------------
   04. HOW WE EDIT (INTERACTIVE ATTENTION RETENTION CURVE)
   -------------------------------------------------------------------------- */
.retention-dashboard-stage {
  background: var(--bg-obsidian);
  color: var(--text-light);
  border: 1px solid var(--border-line-dark);
  border-radius: var(--radius-card);
  padding: 48px 44px;
  margin-top: 36px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
  background-image: radial-gradient(var(--dot-color-dark) var(--dot-size), transparent var(--dot-size));
  background-size: var(--dot-gap) var(--dot-gap);
}

.retention-header-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 24px;
  margin-bottom: 30px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  flex-wrap: wrap;
  gap: 16px;
}

.retention-telemetry-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--accent);
  background: rgba(240, 84, 84, 0.12);
  border: 1px solid rgba(240, 84, 84, 0.3);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
}

.retention-legends {
  display: flex;
  gap: 20px;
  font-family: var(--font-mono);
  font-size: 11px;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--text-muted-dark);
}

.legend-line-coral {
  width: 20px;
  height: 2px;
  background: var(--accent);
}

.legend-line-grey {
  width: 20px;
  height: 2px;
  border-top: 2px dashed rgba(255, 255, 255, 0.35);
}

/* SVG Retention Curve Graph */
.retention-curve-wrap {
  position: relative;
  width: 100%;
  height: 240px;
  margin-bottom: 40px;
}

.retention-svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.retention-graph-caption {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted-dark);
  text-align: center;
  margin-top: -24px;
  margin-bottom: 28px;
  letter-spacing: 0.05em;
}

/* 4 Stage Interactive Node Cards */
.retention-stages-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.retention-stage-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 24px 20px;
  transition: all 0.3s var(--ease-spring);
  cursor: pointer;
  position: relative;
}

.retention-stage-card:hover,
.retention-stage-card.active {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(240, 84, 84, 0.5);
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.4);
}

.stage-top-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.stage-idx {
  font-family: var(--font-doto);
  font-size: 18px;
  font-weight: 700;
  color: var(--accent);
}

.stage-timing {
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--text-muted-dark);
  background: rgba(255, 255, 255, 0.06);
  padding: 2px 8px;
  border-radius: 4px;
}

.stage-name {
  font-family: var(--font-sans);
  font-size: 17px;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.stage-desc {
  font-size: 13.5px;
  color: var(--text-muted-dark);
  line-height: 1.5;
}

/* --------------------------------------------------------------------------
   05. CASE STUDY (TATA MOTORS DOSSIER & METRICS)
   -------------------------------------------------------------------------- */
.cs-telemetry-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-bottom: 24px;
}

.cs-telemetry-chip {
  background: var(--bg-card);
  border: 1px solid var(--border-line);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.02);
}

.cs-chip-num {
  font-family: var(--font-sans);
  font-size: 26px;
  font-weight: 800;
  color: var(--accent);
  line-height: 1.1;
}

.cs-chip-label {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 4px;
}

.cs-quote-box {
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border-line);
  border-left: 3px solid var(--accent);
  border-radius: 8px;
  padding: 16px 20px;
  margin-top: 20px;
}

.cs-quote-text {
  font-size: 14px;
  font-style: italic;
  color: var(--text-ink);
  line-height: 1.5;
  margin-bottom: 8px;
}

.cs-quote-author {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   06. OMNICHANNEL DISTRIBUTION MATRIX (Replaces redundant Social section)
   -------------------------------------------------------------------------- */
.omnichannel-cascade-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.cascade-card {
  background: var(--bg-card);
  border: 1px solid var(--border-line);
  border-radius: var(--radius-card);
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.03);
  transition: transform 0.3s var(--ease-spring), border-color 0.3s ease, box-shadow 0.3s ease;
  position: relative;
}

.cascade-card:hover {
  transform: translateY(-6px);
  border-color: rgba(11, 11, 12, 0.25);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.07);
}

.cascade-ratio-badge {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  color: var(--accent);
  background: rgba(240, 84, 84, 0.08);
  border: 1px solid rgba(240, 84, 84, 0.25);
  padding: 3px 8px;
  border-radius: 4px;
  display: inline-block;
  align-self: flex-start;
  margin-bottom: 16px;
}

.cascade-platform-title {
  font-family: var(--font-sans);
  font-size: 18px;
  font-weight: 700;
  color: var(--text-ink);
  margin-bottom: 8px;
}

.cascade-role-desc {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 18px;
  flex: 1;
}

.cascade-retention-goal {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  color: var(--text-ink);
  padding-top: 14px;
  border-top: 1px solid var(--border-line);
  display: flex;
  justify-content: space-between;
}

/* --------------------------------------------------------------------------
   07. WHO WE EDIT FOR (2x2 MODULAR MATRIX)
   -------------------------------------------------------------------------- */
.who-matrix-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.audience-card {
  background: var(--bg-card);
  border: 1px solid var(--border-line);
  border-radius: var(--radius-card);
  padding: 36px 32px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.03);
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform 0.3s var(--ease-spring), border-color 0.3s ease, box-shadow 0.3s ease;
}

.audience-card:hover {
  transform: translateY(-4px);
  border-color: rgba(11, 11, 12, 0.25);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.06);
}

.audience-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.audience-name {
  font-family: var(--font-sans);
  font-size: 20px;
  font-weight: 700;
  color: var(--text-ink);
}

.audience-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--accent);
  background: rgba(240, 84, 84, 0.08);
  border: 1px solid rgba(240, 84, 84, 0.25);
  padding: 3px 8px;
  border-radius: 4px;
}

.audience-friction {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-line);
}

.audience-friction strong {
  color: #DC2626;
  font-weight: 600;
}

.audience-solution {
  font-size: 14px;
  color: var(--text-ink);
  line-height: 1.5;
}

.audience-solution strong {
  color: var(--accent);
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   08. THE STUDIO & PRODUCTION TECH STACK (ABOUT)
   -------------------------------------------------------------------------- */
.studio-tech-split-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
  background: var(--bg-card);
  border: 1px solid var(--border-line);
  border-radius: var(--radius-card);
  padding: 60px 54px;
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.04);
}

.studio-ethos-col h2 {
  font-family: var(--font-sans);
  font-size: clamp(32px, 3.5vw, 48px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.12;
  margin-bottom: 24px;
}

.studio-ethos-col p {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 24px;
}

.studio-metrics-row {
  display: flex;
  gap: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--border-line);
}

.sm-num {
  font-family: var(--font-sans);
  font-size: 28px;
  font-weight: 800;
  color: var(--text-ink);
  line-height: 1;
}

.sm-label {
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  margin-top: 4px;
}

/* Tech Stack Grid */
.tech-stack-panel {
  background: var(--bg-obsidian);
  color: var(--text-light);
  border: 1px solid var(--border-line-dark);
  border-radius: calc(var(--radius-card) - 6px);
  padding: 36px 30px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.tech-stack-header {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.14em;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.tech-tools-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.tech-tool-item {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 14px 12px;
  transition: all 0.25s ease;
}

.tech-tool-item:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(240, 84, 84, 0.4);
  transform: translateY(-2px);
}

.tool-name {
  font-family: var(--font-sans);
  font-size: 13.5px;
  font-weight: 700;
  color: #FFFFFF;
}

.tool-role {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-muted-dark);
  margin-top: 2px;
}

/* --------------------------------------------------------------------------
   09. SOCIAL PROOF (STYLED CLIENT WORDMARKS & BADGES)
   -------------------------------------------------------------------------- */
.b-logo-pill {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--text-ink);
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(11, 11, 12, 0.12);
  padding: 10px 22px;
  border-radius: var(--radius-pill);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.b-logo-pill:hover {
  background: #FFFFFF;
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(240, 84, 84, 0.12);
}

.voice-card {
  position: relative;
  overflow: hidden;
}

.voice-project-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.1em;
  margin-bottom: 14px;
}

/* --------------------------------------------------------------------------
   10. FINAL CTA - HIGH-CONTRAST BULLETPROOF PRIMARY BUTTON
   -------------------------------------------------------------------------- */
.btn-primary-coral {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  padding: 16px 36px !important;
  background: linear-gradient(120deg, #1a3fc4 0%, #2563EB 25%, #3B82F6 50%, #00C6FF 75%, #2563EB 100%) !important;
  background-size: 200% 100% !important;
  background-position: 100% 0 !important;
  color: #FFFFFF !important;
  border-radius: var(--radius-pill) !important;
  font-family: var(--font-sans) !important;
  font-weight: 700 !important;
  font-size: 13px !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  text-decoration: none !important;
  border: 1px solid rgba(255, 255, 255, 0.25) !important;
  box-shadow: 0 8px 30px rgba(37, 99, 235, 0.42), 0 2px 10px rgba(0, 191, 255, 0.25) !important;
  transition: transform 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94), background-position 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
  cursor: pointer !important;
}

.btn-primary-coral:hover {
  background: linear-gradient(120deg, #1a3fc4 0%, #2563EB 25%, #3B82F6 50%, #00C6FF 75%, #2563EB 100%) !important;
  background-size: 200% 100% !important;
  background-position: 0% 0 !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 14px 40px rgba(37, 99, 235, 0.60), 0 4px 18px rgba(0, 210, 255, 0.45) !important;
}

.btn-glass-secondary {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 15px 32px !important;
  background: rgba(255, 255, 255, 0.1) !important;
  color: #FFFFFF !important;
  border-radius: var(--radius-pill) !important;
  font-family: var(--font-sans) !important;
  font-weight: 600 !important;
  font-size: 13px !important;
  letter-spacing: 0.06em !important;
  text-decoration: none !important;
  border: 1px solid rgba(255, 255, 255, 0.22) !important;
  backdrop-filter: blur(10px) !important;
  transition: all 0.25s ease !important;
}

.btn-glass-secondary:hover {
  background: rgba(255, 255, 255, 0.2) !important;
  border-color: rgba(255, 255, 255, 0.4) !important;
  transform: translateY(-2px) !important;
}

/* Responsive Overrides for Enhanced Sections */
@media (max-width: 1080px) {
  .omnichannel-cascade-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .retention-stages-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .studio-tech-split-grid {
    grid-template-columns: 1fr;
    gap: 36px;
    padding: 40px 28px;
  }
}

@media (max-width: 768px) {
  .who-matrix-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   2026 REVAMP: WORK SECTION, LIVE STATS, AND SENTENCE-CASE STYLING
   ========================================================================== */

/* Sentence Case Headings & Reset Small Mono Caps */
.hero-main-title,
.work-main-title,
.shelf-title,
.cta-headline,
.svc-heading {
  text-transform: none !important;
}

/* Hero Live Stats Bar & Audiences */
.hero-live-stats-bar {
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(11, 11, 12, 0.08);
  border-radius: var(--radius-md);
  padding: 12px 18px;
  max-width: 440px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
}

.hero-live-line {
  font-family: var(--font-sans);
  font-size: 13.5px;
  color: #1F2937;
  line-height: 1.55;
  margin: 0;
}

.hero-live-line .live-stat-num {
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--accent-coral);
  background: rgba(240, 84, 84, 0.08);
  padding: 1px 6px;
  border-radius: 4px;
}

.hero-live-updated {
  display: block;
  font-size: 11px;
  color: #6B7280;
  margin-top: 4px;
  font-family: var(--font-mono);
}

.hero-quote-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  background: #0B0B0C;
  color: #FFFFFF;
  border-radius: var(--radius-pill);
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
  transition: all 0.25s var(--ease-spring);
  text-decoration: none;
}

.hero-quote-btn:hover {
  background: var(--accent);
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px var(--accent-glow);
  color: #FFFFFF;
}

.hero-target-audience {
  font-size: 13.5px;
  color: #6B7280;
  line-height: 1.5;
  max-width: 380px;
  margin: 0;
}

/* ---- Hero Client Logo Strip ---- */
.hero-clients-strip {
  width: 100%;
  margin-top: 32px;
  padding: 0 0 clamp(20px, 3vw, 36px);
  opacity: 1 !important;
  visibility: visible !important;
  position: relative;
  z-index: 5;
  text-align: center;
}

.hero-strip-rule {
  border: none;
  border-top: 1px solid rgba(11, 11, 12, 0.08);
  margin: 0 0 18px;
}

.hero-strip-header {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 20px;
}

.hero-strip-label {
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-strip-inner {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 6px 0;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
}

.hero-logos-track {
  display: flex;
  align-items: center;
  gap: 60px;
  width: max-content;
  animation: heroLogoMarquee 26s linear infinite;
  will-change: transform;
}

.hero-logos-track:hover {
  animation-play-state: paused;
}

.hero-logo-item {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  height: 48px;
}

.hero-logo-img {
  height: 38px;
  max-height: 42px;
  max-width: 150px;
  width: auto;
  object-fit: contain;
  filter: grayscale(100%) contrast(1.15);
  opacity: 0.88;
  transition: transform 0.25s var(--ease-spring), opacity 0.25s ease, filter 0.25s ease;
  flex-shrink: 0;
}

.hero-logo-item:hover .hero-logo-img {
  transform: scale(1.08);
  opacity: 1;
  filter: grayscale(0%) contrast(1);
}

/* Marquee: Seamless -50% translation over 2 sets */
@keyframes heroLogoMarquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-logos-track {
    animation: none;
  }
}

/* ==========================================================================
   WORK SECTION
   ========================================================================== */
.work-section-header {
  margin-bottom: 36px;
}

.work-main-title {
  font-family: var(--font-sans);
  font-size: clamp(36px, 4.4vw, 56px);
  font-weight: 800;
  letter-spacing: -0.035em;
  color: #FFFFFF;
  line-height: 1.1;
  margin: 0 0 12px 0;
}

.work-subhead {
  font-family: var(--font-sans);
  font-size: clamp(15px, 1.2vw, 17px);
  color: var(--text-muted-dark);
  max-width: 660px;
  line-height: 1.55;
  margin: 0;
}

/* Controls: Tabs & Platform Filter */
.work-controls-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.work-tabs-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-pill);
  padding: 4px;
}

.work-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  background: transparent;
  border: none;
  color: var(--text-muted-dark);
  font-family: var(--font-sans);
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
  outline: none;
}

.work-tab-btn:hover {
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.06);
}

.work-tab-btn.active {
  background: #FFFFFF;
  color: #0A0A0C;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
}

.tab-metrics {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: rgba(255, 255, 255, 0.45);
}

.work-tab-btn.active .tab-metrics {
  color: #6B7280;
}

.work-filters-bar {
  display: flex;
  align-items: center;
  gap: 8px;
}

.filter-label {
  font-size: 11px;
  color: var(--text-muted-dark);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-right: 4px;
}

.filter-pill-btn {
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text-muted-dark);
  font-family: var(--font-mono);
  font-size: 11.5px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.filter-pill-btn:hover {
  border-color: rgba(255, 255, 255, 0.3);
  color: #FFFFFF;
}

.filter-pill-btn.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #FFFFFF;
  box-shadow: 0 2px 10px var(--accent-glow);
}

/* Descriptions */
.work-group-descriptions {
  margin-bottom: 36px;
}

.work-group-desc {
  display: none;
  font-size: 15px;
  color: #A1A1AA;
  max-width: 720px;
  line-height: 1.6;
  margin: 0;
}

.work-group-desc.active {
  display: block;
  animation: fadeInDesc 0.3s ease;
}

@keyframes fadeInDesc {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Dynamic Work Grid */
.work-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 26px;
  width: 100%;
}

.work-card {
  background: var(--bg-card-dark);
  border: 1px solid var(--border-line-dark);
  border-radius: var(--radius-card);
  padding: 14px;
  display: flex;
  flex-direction: column;
  transition: transform 0.35s var(--ease-spring), border-color 0.3s ease, box-shadow 0.3s ease;
}

.work-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 255, 255, 0.28);
  box-shadow: 0 22px 52px rgba(0, 0, 0, 0.65);
}

.work-card.is-hidden {
  display: none !important;
}

.work-media-box {
  position: relative;
  width: 100%;
  border-radius: calc(var(--radius-card) - 6px);
  overflow: hidden;
  background: #000000;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.work-card--long .work-media-box {
  aspect-ratio: 16 / 9;
}

.work-card--short .work-media-box {
  aspect-ratio: 9 / 14;
}

.work-media-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s var(--ease-spring);
}

.work-card:hover .work-media-thumb {
  transform: scale(1.04);
}

.work-play-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.25);
  transition: background 0.3s ease;
}

.work-card:hover .work-play-overlay {
  background: rgba(0, 0, 0, 0.4);
}

.work-play-arrow {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
  border: 1.5px solid rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  font-size: 16px;
  padding-left: 3px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
  transition: transform 0.25s var(--ease-spring), background 0.25s ease, border-color 0.25s ease;
}

.work-card:hover .work-play-arrow {
  transform: scale(1.12);
  background: var(--accent);
  border-color: var(--accent);
}

.work-pill-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #FFFFFF;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  z-index: 2;
  pointer-events: none;
}

.work-iframe-embed {
  width: 100%;
  height: 100%;
  border: none;
  border-radius: inherit;
  display: block;
}

/* Instagram Styled Placeholder */
.work-ig-placeholder {
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 35% 25%, #31162B 0%, #111116 75%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 24px;
  text-align: center;
}

.work-ig-centerpiece {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  z-index: 2;
}

.work-ig-glyph {
  font-family: var(--font-sans);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.01em;
  background: linear-gradient(45deg, #F58529, #DD2A7B, #8134AF);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.work-ig-open-cue {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--text-muted-dark);
  letter-spacing: 0.05em;
  transition: color 0.2s ease;
}

.work-card:hover .work-ig-open-cue {
  color: #FFFFFF;
}

/* Card Info */
.work-card-info {
  padding: 14px 4px 4px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex-grow: 1;
  justify-content: space-between;
}

.work-card-head {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.work-card-title {
  font-family: var(--font-sans);
  font-size: 16.5px;
  font-weight: 700;
  color: #FFFFFF;
  line-height: 1.3;
  letter-spacing: -0.015em;
  text-transform: none;
  margin: 0;
}

.work-card-client {
  font-size: 11px;
  color: var(--accent);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.work-card-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 11.5px;
}

.work-stats-line {
  color: var(--accent-coral);
  font-weight: 600;
  letter-spacing: 0.04em;
}

.work-link-action {
  color: var(--text-muted-dark);
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: color 0.2s ease;
}

.work-link-action:hover {
  color: #FFFFFF;
  text-decoration: underline;
}

.work-empty-state {
  padding: 48px 0;
  text-align: center;
  color: var(--text-muted-dark);
  font-size: 15px;
}

/* ==========================================================================
   SERVICES, HOW WE EDIT & STUDIO CLEAN SECTIONS
   ========================================================================== */
.svc-pricing-dock {
  margin-top: 20px;
  padding-top: 14px;
  border-top: 1px solid var(--border-line);
}

.svc-start-link {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
  letter-spacing: 0.04em;
  transition: opacity 0.2s ease;
}

.svc-start-link:hover {
  opacity: 0.75;
  text-decoration: underline;
}

.how-we-edit-panel,
.studio-clean-card {
  background: var(--bg-card);
  border: 1px solid var(--border-line);
  border-radius: var(--radius-card);
  padding: clamp(36px, 4.5vw, 64px);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.04);
  max-width: 900px;
}

.how-we-edit-text,
.studio-clean-body {
  font-size: clamp(19px, 1.9vw, 25px);
  line-height: 1.6;
  font-weight: 450;
  color: #1F2937;
  letter-spacing: -0.015em;
  margin: 0;
}

.studio-clean-body {
  margin-top: 16px;
  color: #374151;
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .hero-layout-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero-col-right {
    max-width: 580px;
  }
}

@media (max-width: 768px) {
  .work-grid {
    grid-template-columns: 1fr;
  }
  .work-controls-container {
    flex-direction: column;
    align-items: flex-start;
  }
  .work-tabs-bar {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    border-radius: 16px;
  }
  .work-tab-btn {
    justify-content: space-between;
    width: 100%;
  }
}

