/* ==========================================================================
   ZeroFluff — Ultra-Clean Editorial Portfolio Stylesheet
   Palette: Warm White (#FAFAFC), Ink (#0F172A), Slate (#64748B), Ice Blue (#CFE6FA)
   Typography: Instrument Serif, Inter, JetBrains Mono
   Aesthetic: Flat, architectural, hairline 1px borders, zero blurry shadows
   ========================================================================== */

:root {
  --bg-page: #FAFAFC;
  --bg-card: #FFFFFF;
  --bg-subtle: #F1F3F7;
  
  --ink-primary: #0F172A;
  --ink-secondary: #334155;
  --slate-muted: #64748B;
  --slate-light: #94A3B8;

  --accent-ice: #CFE6FA;
  --accent-ice-hover: #B4D7F8;
  --accent-ice-active: #98C7F5;

  --border-hairline: rgba(15, 23, 42, 0.12);
  --border-medium: rgba(15, 23, 42, 0.22);
  --border-ink: #0F172A;

  --font-serif: 'Instrument Serif', Georgia, serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;

  --container-max: 1160px;
  --header-height: 60px;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  background-color: var(--bg-page);
  color: var(--ink-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  font-weight: 400;
  line-height: 1.55;
  background-color: #FAFAFC;
  background-image: radial-gradient(rgba(15, 23, 42, 0.09) 1px, transparent 1px);
  background-size: 16px 16px;
  color: var(--ink-primary);
  overflow-x: hidden;
}

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

/* Layout Utilities */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.mono-tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* Headings */
h1, h2, h3, h4 {
  color: var(--ink-primary);
  font-weight: 400;
}

.serif-italic {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  padding-right: 0.12em; /* Prevents italic clipping */
}

/* Physical Plunger Buttons (Real Mechanical Press Travel) */
.btn-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  font-family: var(--font-sans);
  font-size: 0.84rem;
  font-weight: 500;
  padding: 0.55rem 1.25rem;
  border-radius: 9999px;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  border: 1px solid #0F172A;
  box-shadow: 0 3px 0 #0F172A;
  transition: transform 0.08s ease, box-shadow 0.08s ease, background-color 0.15s ease;
  user-select: none;
}

.btn-pill:active,
.btn-pill.is-pressed {
  transform: translateY(3px);
  box-shadow: 0 0 0 #0F172A;
}

.btn-accent {
  background-color: var(--accent-ice);
  background-image: linear-gradient(135deg, rgba(255, 255, 255, 0.55) 0%, rgba(255, 255, 255, 0) 60%);
  color: var(--ink-primary);
  border: 1px solid #0F172A;
  box-shadow: 0 3px 0 #0F172A, inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

.btn-accent:hover {
  background-color: var(--accent-ice-hover);
  background-image: linear-gradient(135deg, rgba(255, 255, 255, 0.65) 0%, rgba(255, 255, 255, 0) 60%);
  color: var(--ink-primary);
}

.btn-accent:active,
.btn-accent.is-pressed {
  transform: translateY(3px);
  box-shadow: 0 0 0 #0F172A, inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

.btn-outline {
  background-color: #FFFFFF;
  color: var(--ink-primary);
  border: 1px solid #0F172A;
}

.btn-outline:hover {
  background-color: #F8FAFC;
}

/* ==========================================================================
   Top Announcement Bar
   ========================================================================== */
.top-bar {
  background-color: var(--bg-card);
  border-bottom: 1px solid var(--border-hairline);
  padding: 0.4rem 0;
  font-size: 0.75rem;
}

.top-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.live-indicator {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--ink-primary);
  font-weight: 500;
}

.pulse-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #10B981;
  display: inline-block;
  animation: phosphorPulse 2.8s ease-in-out infinite;
}

@keyframes phosphorPulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.45);
  }
  50% {
    opacity: 0.72;
    transform: scale(0.9);
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0);
  }
}

.top-bar-meta {
  color: var(--slate-muted);
}

/* ==========================================================================
   Scroll Progress Bar (Razor-thin 2px, fixed at very top)
   ========================================================================== */
.scroll-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--accent-ice);
  z-index: 10000;
  pointer-events: none;
}

.scroll-progress-fill {
  width: 0%;
  height: 100%;
  background-color: var(--ink-primary);
  will-change: width;
  transition: width 0.04s linear;
}

/* ==========================================================================
   Hardware-Style Timecode + SFX Pill
   ========================================================================== */
.studio-hardware-pill {
  display: inline-flex;
  align-items: center;
  height: 32px;
  padding: 2px 5px 2px 9px;
  background-color: #FFFFFF;
  border: 1px solid var(--border-hairline);
  border-radius: 9999px;
  gap: 8px;
  transition: border-color 0.15s ease, background-color 0.15s ease;
  user-select: none;
  cursor: pointer;
}

.studio-hardware-pill:hover {
  border-color: var(--border-medium);
}

.studio-hardware-pill.is-active {
  border-color: #0F172A;
}

.pill-timecode {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--ink-primary);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.pill-divider {
  width: 1px;
  height: 13px;
  background-color: var(--border-hairline);
  display: inline-block;
}

/* Braun-Style Knurled Rocker / Slide Switch */
.sfx-toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  border: none;
  padding: 1px 2px;
  cursor: pointer;
  color: var(--slate-muted);
  outline: none;
  user-select: none;
  transition: color 0.15s ease;
}

.sfx-toggle-btn:hover {
  color: var(--ink-primary);
}

.sfx-toggle-btn.is-active {
  color: var(--ink-primary);
}

.sfx-label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  line-height: 1;
  color: inherit;
}

.sfx-switch-track {
  width: 38px;
  height: 20px;
  border: 1px solid #0F172A;
  border-radius: 3px;
  background-color: #E2E8F0;
  display: inline-flex;
  align-items: center;
  padding: 1px;
  box-sizing: border-box;
  transition: background-color 0.18s ease, border-color 0.18s ease;
  flex-shrink: 0;
  position: relative;
}

/* Power Indicator LED */
.sfx-switch-track::before {
  content: '';
  position: absolute;
  left: 6px;
  top: 50%;
  transform: translateY(-50%);
  width: 4.5px;
  height: 4.5px;
  border-radius: 50%;
  background-color: #94A3B8;
  opacity: 0.3;
  transition: background-color 0.18s ease, opacity 0.18s ease, box-shadow 0.18s ease;
  z-index: 1;
}

.sfx-toggle-btn.is-active .sfx-switch-track::before,
.sfx-drawer-btn.is-active .sfx-switch-track::before {
  background-color: #0EA5E9;
  opacity: 1;
  box-shadow: 0 0 5px rgba(14, 165, 233, 0.9), 0 0 2px #0EA5E9;
}

.sfx-toggle-btn.is-active .sfx-switch-track,
.sfx-drawer-btn.is-active .sfx-switch-track {
  background-color: var(--accent-ice);
  background-image: linear-gradient(135deg, rgba(255, 255, 255, 0.55) 0%, rgba(255, 255, 255, 0) 60%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

.sfx-switch-thumb {
  width: 16px;
  height: 16px;
  border: 1px solid #0F172A;
  border-radius: 2px;
  background-color: #FFFFFF;
  background-image: repeating-linear-gradient(
    90deg,
    transparent,
    transparent 2px,
    rgba(15, 23, 42, 0.35) 2px,
    rgba(15, 23, 42, 0.35) 3px
  );
  box-sizing: border-box;
  transition: transform 0.18s cubic-bezier(0.34, 1.56, 0.64, 1);
  transform: translateX(0);
  pointer-events: none;
  position: relative;
  z-index: 2;
}

.sfx-toggle-btn.is-active .sfx-switch-thumb,
.sfx-drawer-btn.is-active .sfx-switch-thumb {
  transform: translateX(18px);
}

.sfx-drawer-btn {
  margin-top: 0.65rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.55rem 1rem;
}

.sfx-drawer-btn.is-active {
  background-color: var(--accent-ice);
  border-color: #0F172A;
  color: var(--ink-primary);
}

/* ==========================================================================
   Section 1: Minimal Navbar
   ========================================================================== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(250, 250, 252, 0.94);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border-hairline);
  height: var(--header-height);
  display: flex;
  align-items: center;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-wordmark {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.04em;
  color: var(--ink-primary);
  text-decoration: none;
}

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

.nav-link {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--slate-muted);
  text-decoration: none;
  transition: color 0.12s ease;
}

.nav-link:hover {
  color: var(--ink-primary);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Mobile Toggle */
.mobile-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: transparent;
  border: 1px solid var(--border-hairline);
  border-radius: 6px;
  cursor: pointer;
  padding: 0;
}

.hamburger-line {
  width: 18px;
  height: 1.5px;
  background-color: var(--ink-primary);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* Mobile Drawer */
.mobile-drawer {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background-color: var(--bg-card);
  border-bottom: 1px solid var(--border-hairline);
  padding: 1.5rem;
  flex-direction: column;
  gap: 1.25rem;
}

.mobile-drawer.is-open {
  display: flex;
}

.mobile-drawer-links {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.mobile-nav-link {
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--ink-primary);
  text-decoration: none;
}

/* ==========================================================================
   Section 2: Clean Hero
   ========================================================================== */
.hero-section {
  padding-top: 4.5rem;
  padding-bottom: 4.5rem;
}

.hero-content {
  max-width: 820px;
}

.hero-badge-wrap {
  margin-bottom: 1.25rem;
  animation: mechanicalStep 0.32s cubic-bezier(0.2, 1.35, 0.4, 1) 0.02s both;
}

.tag-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--slate-muted);
}

.hero-headline {
  font-family: var(--font-serif);
  font-size: clamp(3.2rem, 7vw, 5.5rem);
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--ink-primary);
  margin-bottom: 1.5rem;
  animation: filmGateShutter 0.48s cubic-bezier(0.16, 1, 0.3, 1) 0.12s both;
  will-change: clip-path, transform;
}

.hero-headline .serif-italic {
  display: inline-block;
  padding-right: 0.18em;
  padding-bottom: 0.08em;
}

.hero-subheadline {
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  line-height: 1.6;
  color: var(--slate-muted);
  max-width: 640px;
  margin-bottom: 2.25rem;
  animation: mechanicalStep 0.32s cubic-bezier(0.2, 1.35, 0.4, 1) 0.22s both;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 3.5rem;
  animation: mechanicalStep 0.32s cubic-bezier(0.2, 1.35, 0.4, 1) 0.30s both;
}

.hero-meta-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--border-hairline);
  animation: mechanicalStep 0.32s cubic-bezier(0.2, 1.35, 0.4, 1) 0.38s both;
}

@keyframes filmGateShutter {
  0% {
    clip-path: inset(0 0 100% 0);
    transform: translateY(10px);
    opacity: 0;
  }
  100% {
    clip-path: inset(0 0 0% 0);
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes mechanicalStep {
  0% {
    opacity: 0;
    transform: translateY(8px) scale(0.992);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.meta-item {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.meta-label {
  color: var(--slate-muted);
  font-size: 0.68rem;
}

.meta-val {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--ink-primary);
}

.meta-divider {
  width: 1px;
  height: 28px;
  background-color: var(--border-hairline);
}

/* ==========================================================================
   Section 4: Stats Bar (Exact Numbers, Crisp 1px Top/Bottom Borders)
   ========================================================================== */
.stats-section {
  background-color: var(--bg-card);
  border-top: 1px solid var(--border-hairline);
  border-bottom: 1px solid var(--border-hairline);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.stat-cell {
  padding: 2.25rem 1.75rem;
  border-right: 1px solid var(--border-hairline);
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  background-color: var(--bg-card);
}

.stat-cell:last-child {
  border-right: none;
}

/* Mechanical 3D Split-Flap Drum (Solari Board Architecture) */
.stat-number.split-flap-drum,
.split-flap-drum {
  position: relative;
  perspective: 500px;
  transform-style: preserve-3d;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 132px;
  height: 3.6rem;
  padding: 0;
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.2vw, 2.75rem);
  line-height: 1;
  color: var(--ink-primary);
  letter-spacing: -0.02em;
  border: 1px solid #0F172A;
  background: #FFFFFF;
  box-shadow: inset 0 2px 4px rgba(15, 23, 42, 0.06);
  border-radius: 2px;
  overflow: hidden;
  align-self: flex-start;
  user-select: none;
}

/* Individual Flap Leaf Containers */
.split-flap-drum .flap-leaf {
  position: absolute;
  left: 0;
  right: 0;
  overflow: hidden;
  background: #FFFFFF;
  box-sizing: border-box;
}

/* Top half: covers top 0% to 50% */
.split-flap-drum .flap-top-bg,
.split-flap-drum .flap-top-anim {
  top: 0;
  height: 50%;
  transform-origin: bottom center;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

/* Bottom half: covers bottom 50% to 100% */
.split-flap-drum .flap-bottom-bg,
.split-flap-drum .flap-bottom-anim {
  top: 50%;
  height: 50%;
  transform-origin: top center;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

/* Layering order */
.split-flap-drum .flap-top-bg {
  z-index: 1;
}
.split-flap-drum .flap-bottom-bg {
  z-index: 2;
}
.split-flap-drum .flap-top-anim {
  z-index: 3;
  display: none;
}
.split-flap-drum .flap-bottom-anim {
  z-index: 4;
  display: none;
}

/* Centered typography across split leaf containers */
.split-flap-drum .flap-top-bg .flap-val,
.split-flap-drum .flap-top-anim .flap-val {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 200%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
  letter-spacing: inherit;
  color: inherit;
}

.split-flap-drum .flap-bottom-bg .flap-val,
.split-flap-drum .flap-bottom-anim .flap-val {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 200%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
  letter-spacing: inherit;
  color: inherit;
}

/* Split-Flap Hairline Hinge (Reduced by 90% to 10% Opacity) */
.split-flap-drum .split-flap-hinge {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 1px;
  background-color: rgba(15, 23, 42, 0.10);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.65);
  z-index: 10;
  pointer-events: none;
}

.split-flap-drum .split-flap-hinge::before {
  content: '';
  position: absolute;
  left: 0;
  top: -3px;
  width: 3px;
  height: 7px;
  background-color: rgba(15, 23, 42, 0.12);
  border-radius: 0 2px 2px 0;
}

.split-flap-drum .split-flap-hinge::after {
  content: '';
  position: absolute;
  right: 0;
  top: -3px;
  width: 3px;
  height: 7px;
  background-color: rgba(15, 23, 42, 0.12);
  border-radius: 2px 0 0 2px;
}

/* Mechanical 3D Flap Flipping State */
.split-flap-drum.is-flipping .flap-top-anim {
  display: block;
  animation: flapTopFold 45ms ease-in forwards;
}

.split-flap-drum.is-flipping .flap-bottom-anim {
  display: block;
  animation: flapBottomSnap 50ms cubic-bezier(0.22, 1.4, 0.36, 1) 45ms forwards;
}

@keyframes flapTopFold {
  0% {
    transform: rotateX(0deg);
    filter: brightness(1);
  }
  100% {
    transform: rotateX(-90deg);
    filter: brightness(0.88);
  }
}

@keyframes flapBottomSnap {
  0% {
    transform: rotateX(90deg);
    filter: brightness(0.92);
  }
  100% {
    transform: rotateX(0deg);
    filter: brightness(1);
  }
}

.stat-label {
  color: var(--slate-muted);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
}

/* ==========================================================================
   Section Headers (Shared Across Content Sections)
   ========================================================================== */
.section {
  padding-top: 4.5rem;
  padding-bottom: 4.5rem;
}

.section-header {
  margin-bottom: 2.5rem;
  max-width: 680px;
}

.section-tag {
  color: var(--slate-muted);
  margin-bottom: 0.6rem;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.8vw, 2.75rem);
  line-height: 1.15;
  color: var(--ink-primary);
  margin-bottom: 0.75rem;
  letter-spacing: -0.015em;
}

.section-desc {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--slate-muted);
}

/* ==========================================================================
   Section 3: Compact Video Showcase (Zero Vertical Bloat)
   ========================================================================== */
.showcase-studio-box {
  background-color: var(--bg-card);
  border: 1px solid var(--border-hairline);
  display: grid;
  grid-template-columns: 360px 1fr;
  min-height: 520px;
  position: relative;
}

/* Left Column: Vertical Player */
.studio-player-col {
  border-right: 1px solid var(--border-hairline);
  padding: 1.75rem;
  background-color: #FAFAFC;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.player-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.video-container {
  position: relative;
  width: 100%;
  max-width: 270px;
  aspect-ratio: 9 / 16;
  height: auto;
  background-color: #0F172A;
  border: 1px solid var(--border-hairline);
  overflow: hidden;
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

/* Graphic Placeholder Layer */
.player-canvas-layer {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.25rem;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.4) 0%, rgba(15, 23, 42, 0.85) 100%),
              radial-gradient(circle at 50% 30%, #1E293B 0%, #0F172A 100%);
  color: #FFFFFF;
  pointer-events: none;
  transition: opacity 0.2s ease;
  overflow: hidden;
}

.player-canvas-layer::after {
  content: '';
  position: absolute;
  top: -10px;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #CFE6FA, #FFFFFF, #CFE6FA, transparent);
  box-shadow: 0 0 10px rgba(207, 230, 250, 0.9);
  opacity: 0;
  pointer-events: none;
  z-index: 8;
}

.player-canvas-layer.is-cutting::after {
  animation: nleCutScanline 0.34s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

@keyframes nleCutScanline {
  0% {
    top: 0%;
    opacity: 0.95;
  }
  100% {
    top: 100%;
    opacity: 0;
  }
}

.player-canvas-layer.is-hidden {
  opacity: 0;
}

.graphic-badge {
  align-self: flex-start;
  background-color: var(--accent-ice);
  color: var(--ink-primary);
  font-weight: 600;
  padding: 0.2rem 0.5rem;
  border-radius: 3px;
  font-size: 0.68rem;
}

.graphic-title {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  line-height: 1.2;
  color: #FFFFFF;
  margin-top: auto;
  margin-bottom: 0.5rem;
}

.graphic-timecode {
  font-size: 0.68rem;
  color: #94A3B8;
}

/* Play Overlay Button */
.play-overlay-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background-color: rgba(250, 250, 252, 0.95);
  border: 1px solid var(--border-ink);
  color: var(--ink-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: transform 0.15s ease, background-color 0.15s ease;
}

.play-overlay-btn:hover {
  background-color: var(--accent-ice);
  transform: translate(-50%, -50%) scale(1.05);
}

.play-overlay-btn svg {
  width: 20px;
  height: 20px;
}

.play-overlay-btn .play-icon {
  margin-left: 2px;
}

/* Player HUD */
.player-hud {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(0deg, rgba(15, 23, 42, 0.8) 0%, transparent 100%);
  padding: 0.6rem 0.75rem 0.4rem;
  z-index: 5;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.hud-progress-track {
  width: 100%;
  height: 3px;
  background-color: rgba(255, 255, 255, 0.25);
  cursor: pointer;
  border-radius: 2px;
  overflow: hidden;
}

.hud-progress-fill {
  width: 0%;
  height: 100%;
  background-color: var(--accent-ice);
  transition: width 0.1s linear;
}

.hud-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.hud-time {
  color: #E2E8F0;
  font-size: 0.65rem;
}

/* Audio Monitoring VU Meter */
.hud-vu-meter {
  display: inline-flex;
  align-items: flex-end;
  gap: 2px;
  height: 12px;
  padding: 1px 3px;
  background-color: rgba(15, 23, 42, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 2px;
  margin-right: auto;
  margin-left: 0.5rem;
}

.vu-bar {
  width: 2.5px;
  height: 2px;
  background-color: var(--accent-ice);
  border-radius: 0.5px;
  transition: height 0.1s ease;
}

.video-container.is-playing .vu-bar.vb-1 {
  animation: vuLevel1 0.36s ease-in-out infinite alternate;
}
.video-container.is-playing .vu-bar.vb-2 {
  animation: vuLevel2 0.29s ease-in-out infinite alternate 0.05s;
}
.video-container.is-playing .vu-bar.vb-3 {
  animation: vuLevel3 0.42s ease-in-out infinite alternate 0.12s;
}
.video-container.is-playing .vu-bar.vb-4 {
  animation: vuLevel4 0.33s ease-in-out infinite alternate 0.08s;
}

@keyframes vuLevel1 { 0% { height: 2px; } 50% { height: 9px; } 100% { height: 4px; } }
@keyframes vuLevel2 { 0% { height: 3px; } 50% { height: 5px; } 100% { height: 10px; } }
@keyframes vuLevel3 { 0% { height: 4px; } 50% { height: 10px; } 100% { height: 6px; } }
@keyframes vuLevel4 { 0% { height: 2px; } 50% { height: 7px; } 100% { height: 9px; } }

.hud-mute-btn {
  background: transparent;
  border: none;
  color: #E2E8F0;
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
}

.hud-mute-btn svg {
  width: 14px;
  height: 14px;
}

/* Clean Caption Bar UNDERNEATH the video */
.player-caption-bar {
  width: 100%;
  max-width: 270px;
  margin-top: 1rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border-hairline);
}

.caption-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.45rem;
}

.caption-category {
  color: var(--slate-muted);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.06em;
}

.caption-views-hero {
  display: inline-flex;
  align-items: baseline;
  gap: 0.35rem;
  padding: 0.15rem 0.45rem;
  background-color: var(--accent-ice);
  background-image: linear-gradient(135deg, rgba(255, 255, 255, 0.55) 0%, rgba(255, 255, 255, 0) 60%);
  border: 1px solid var(--border-ink);
  border-radius: 2px;
  box-shadow: 1px 1px 0 var(--border-ink);
  flex-shrink: 0;
}

.caption-views-num {
  font-family: var(--font-mono);
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1;
  color: var(--ink-primary);
  letter-spacing: -0.02em;
}

.caption-views-label {
  font-size: 0.62rem;
  font-weight: 700;
  color: var(--ink-primary);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.caption-title {
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--ink-primary);
  margin-bottom: 0.35rem;
}

.caption-description {
  font-size: 0.78rem;
  line-height: 1.45;
  color: var(--ink-secondary);
  margin-bottom: 0.55rem;
}

.caption-meta-row {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-wrap: wrap;
  font-size: 0.7rem;
  color: var(--slate-muted);
}

.caption-meta-row strong {
  color: var(--ink-primary);
}

.meta-dot {
  color: var(--slate-light);
}

/* Right Column: Neat 2x3 Grid of 6 Clickable Reel Cards */
.studio-grid-col {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
}

.reels-grid-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border-hairline);
  margin-bottom: 1rem;
}

.grid-status-label {
  color: var(--slate-muted);
  font-weight: 500;
}

.grid-hint {
  color: var(--slate-muted);
}

.reels-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

/* Individual Reel Card */
.reel-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.75rem;
  background-color: var(--bg-card);
  border: 1px solid var(--border-hairline);
  box-shadow: 0 0 0 #0F172A;
  cursor: pointer;
  transition: transform 0.12s cubic-bezier(0.2, 1.35, 0.4, 1),
              box-shadow 0.12s cubic-bezier(0.2, 1.35, 0.4, 1),
              background-color 0.12s ease,
              border-color 0.12s ease;
  user-select: none;
}

.reel-card:hover {
  background-color: #F8FAFC;
  border-color: #0F172A;
  transform: translate(-2px, -2px);
  box-shadow: 4px 4px 0 #0F172A;
}

.reel-card:active,
.reel-card.is-pressed {
  transform: translate(0, 0);
  box-shadow: 0 0 0 #0F172A;
}

/* 4 Viewfinder Corner Reticles (10px Crisp L-brackets) */
.reel-card::before,
.viral-video-frame::before {
  content: '';
  position: absolute;
  inset: 4px;
  pointer-events: none;
  z-index: 10;
  background:
    /* Top-Left Bracket */
    linear-gradient(to right, #0F172A 10px, transparent 10px) top left / 10px 1.5px no-repeat,
    linear-gradient(to bottom, #0F172A 10px, transparent 10px) top left / 1.5px 10px no-repeat,
    /* Top-Right Bracket */
    linear-gradient(to left, #0F172A 10px, transparent 10px) top right / 10px 1.5px no-repeat,
    linear-gradient(to bottom, #0F172A 10px, transparent 10px) top right / 1.5px 10px no-repeat,
    /* Bottom-Left Bracket */
    linear-gradient(to right, #0F172A 10px, transparent 10px) bottom left / 10px 1.5px no-repeat,
    linear-gradient(to top, #0F172A 10px, transparent 10px) bottom left / 1.5px 10px no-repeat,
    /* Bottom-Right Bracket */
    linear-gradient(to left, #0F172A 10px, transparent 10px) bottom right / 10px 1.5px no-repeat,
    linear-gradient(to top, #0F172A 10px, transparent 10px) bottom right / 1.5px 10px no-repeat;
  opacity: 0;
  transform: scale(1.12);
  transition: opacity 0.18s ease-out, transform 0.18s cubic-bezier(0.16, 1, 0.3, 1);
}

.viral-video-frame::before {
  filter: drop-shadow(0 0 1px rgba(255, 255, 255, 0.85));
}

.reel-card:hover::before,
.viral-video-frame:hover::before {
  opacity: 1;
  transform: scale(1.0);
}

/* Active Reel Card (Ice-Blue fill / tint + 1px ink border) */
.reel-card.is-active {
  background-color: var(--accent-ice);
  background-image: linear-gradient(135deg, rgba(255, 255, 255, 0.55) 0%, rgba(255, 255, 255, 0) 60%);
  border-color: var(--border-ink);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

.reel-card.is-active .reel-card-title {
  color: var(--ink-primary);
}

.reel-card.is-active .reel-views-hero {
  background-color: #FFFFFF;
  border-color: var(--border-ink);
  box-shadow: 1.5px 1.5px 0 var(--border-ink);
}

.reel-card-thumb {
  position: relative;
  width: 62px;
  aspect-ratio: 9 / 16;
  height: auto;
  flex-shrink: 0;
  border: 1px solid var(--border-hairline);
  border-radius: 2px;
  overflow: hidden;
  background-color: #0F172A;
}

.reel-thumb-img {
  width: 100%;
  height: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  object-position: center;
  display: block;
}

.thumb-playhead {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 1.5px;
  background-color: #FFFFFF;
  box-shadow: 0 0 4px rgba(207, 230, 250, 0.8), 0 0 0 1px #0F172A;
  pointer-events: none;
  opacity: 0;
  z-index: 6;
  transition: opacity 0.12s ease;
}

.reel-card:hover .thumb-playhead {
  opacity: 1;
}

.thumb-time {
  position: absolute;
  bottom: 3px;
  left: 3px;
  font-size: 0.55rem;
  color: #E2E8F0;
  background-color: rgba(15, 23, 42, 0.82);
  padding: 1px 3px;
  border-radius: 2px;
  z-index: 5;
  pointer-events: none;
}

.thumb-play-indicator {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 22px;
  height: 22px;
  background-color: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--border-ink);
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-primary);
  opacity: 0.85;
  transition: transform 0.12s ease;
  z-index: 4;
}

.thumb-play-indicator svg {
  width: 10px;
  height: 10px;
  margin-left: 1px;
}

.reel-card:hover .thumb-play-indicator {
  transform: translate(-50%, -50%) scale(1.1);
  opacity: 1;
}

.reel-card-info {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  min-width: 0;
  flex: 1;
}

.reel-views-hero {
  display: inline-flex;
  align-items: baseline;
  gap: 0.35rem;
  padding: 0.12rem 0.4rem;
  background-color: #FFFFFF;
  border: 1px solid var(--border-ink);
  border-radius: 2px;
  box-shadow: 1px 1px 0 rgba(15, 23, 42, 0.08);
  width: fit-content;
}

.reel-views-num {
  font-family: var(--font-mono);
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1;
  color: var(--ink-primary);
  letter-spacing: -0.02em;
}

.reel-views-label {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 700;
  color: var(--slate-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.reel-card-title {
  font-size: 0.85rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--ink-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.reel-card-sub {
  font-size: 0.67rem;
  color: var(--slate-muted);
}

.swap-notice {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--border-hairline);
  font-size: 0.68rem;
  color: var(--slate-muted);
}

/* ==========================================================================
   Section 2: Viral Proof Spotlight (Inline 9:16 Reel & Client Review)
   ========================================================================== */
.viral-proof-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-ink);
  box-shadow: 0 4px 0 var(--border-ink);
  overflow: hidden;
  border-radius: 2px;
}

.viral-proof-grid {
  display: grid;
  grid-template-columns: 380px 1fr;
  min-height: 560px;
}

/* Left Column: Full-Quality Inline 9:16 Reel Player */
.viral-player-col {
  padding: 2.25rem;
  border-right: 1px solid var(--border-ink);
  background-color: #FAFAFC;
  display: flex;
  align-items: center;
  justify-content: center;
}

.viral-video-frame {
  position: relative;
  width: 100%;
  max-width: 320px;
  aspect-ratio: 9 / 16;
  background-color: #0F172A;
  border: 1px solid var(--border-ink);
  box-shadow: 0 4px 0 var(--border-ink);
  border-radius: 2px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.12s cubic-bezier(0.2, 1.35, 0.4, 1),
              box-shadow 0.12s cubic-bezier(0.2, 1.35, 0.4, 1);
}

.viral-video-frame:hover {
  transform: translate(-2px, -2px);
  box-shadow: 4px 4px 0 #0F172A;
}

.viral-video-frame:active,
.viral-video-frame.is-pressed {
  transform: translate(0, 0);
  box-shadow: 0 0 0 #0F172A;
}

.viral-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  cursor: pointer;
  background-color: #0F172A;
}

/* Hardware Video Overlay */
.viral-video-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(15, 23, 42, 0.35);
  transition: opacity 0.25s ease, visibility 0.25s ease;
  pointer-events: none;
  z-index: 5;
}

.viral-video-frame.is-playing .viral-video-overlay {
  opacity: 0;
  visibility: hidden;
}

/* Sharp Rectangular Hardware Play/Pause Button (Zero Pills) */
.viral-play-btn {
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background-color: var(--accent-ice);
  background-image: linear-gradient(135deg, rgba(255, 255, 255, 0.55) 0%, rgba(255, 255, 255, 0) 60%);
  color: var(--ink-primary);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 0.65rem 1.15rem;
  border: 1px solid var(--border-ink);
  border-radius: 2px;
  box-shadow: 0 3px 0 var(--border-ink), inset 0 1px 0 rgba(255, 255, 255, 0.85);
  cursor: pointer;
  transition: transform 0.08s ease, box-shadow 0.08s ease, background-color 0.15s ease;
}

.viral-play-btn:hover {
  background-color: var(--accent-ice-hover);
  background-image: linear-gradient(135deg, rgba(255, 255, 255, 0.65) 0%, rgba(255, 255, 255, 0) 60%);
}

.viral-play-btn:active,
.viral-play-btn.is-pressed {
  transform: translateY(3px);
  box-shadow: 0 0 0 var(--border-ink), inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

.viral-play-btn .play-icon {
  display: block;
}

/* Corner Mute/Unmute Toggle (Sharp Rectangular) */
.viral-mute-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 10;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #FFFFFF;
  color: var(--ink-primary);
  border: 1px solid var(--border-ink);
  border-radius: 2px;
  box-shadow: 0 2px 0 var(--border-ink);
  cursor: pointer;
  transition: transform 0.08s ease, box-shadow 0.08s ease, background-color 0.15s ease;
}

.viral-mute-btn:hover {
  background-color: var(--accent-ice);
}

.viral-mute-btn:active,
.viral-mute-btn.is-pressed {
  transform: translateY(2px);
  box-shadow: 0 0 0 var(--border-ink);
}

/* Minimal Bottom Timecode Bar */
.viral-timecode-bar {
  position: absolute;
  bottom: 10px;
  left: 10px;
  z-index: 10;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(4px);
  color: #FFFFFF;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  padding: 3px 8px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 2px;
  pointer-events: none;
}

/* Right Column: Flat Architectural Stats + Client Receipt (Zero Pills) */
.viral-details-col {
  padding: 2.75rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 2rem;
  background-color: #FFFFFF;
}

/* Top 3-Cell Stat Grid (Table Style, Sharp Rectangular, 1px Solid Lines) */
.viral-stats-table {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--border-ink);
  background-color: #FFFFFF;
}

.v-stat-cell {
  padding: 1.25rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  border-right: 1px solid var(--border-ink);
  background-color: #FAFAFC;
}

.v-stat-cell:last-child {
  border-right: none;
}

.v-stat-val {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--ink-primary);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.v-stat-label {
  font-size: 0.64rem;
  font-weight: 600;
  color: var(--slate-muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* Reel Context & Plain Text Link */
.viral-context-box {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.viral-context-text {
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--ink-secondary);
  margin: 0;
}

/* Clean Minimal Monospaced Plain Text Link (NOT a Button, NOT a Pill) */
.viral-verify-link {
  align-self: flex-start;
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--ink-primary);
  text-decoration: underline;
  text-decoration-color: var(--slate-muted);
  text-underline-offset: 4px;
  letter-spacing: 0.03em;
  transition: color 0.15s ease, text-decoration-color 0.15s ease;
}

.viral-verify-link:hover {
  color: #0F172A;
  text-decoration-color: var(--ink-primary);
}

/* Client Review Card (Sharp-cornered #FAFAFC box with 3px solid #CFE6FA left accent bar and 1px solid #0F172A border) */
.client-review-box {
  background-color: #FAFAFC;
  border: 1px solid var(--border-ink);
  border-left: 4px solid var(--accent-ice);
  padding: 1.75rem 2rem;
  border-radius: 0px;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.review-eyebrow {
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--slate-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.review-quote {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  line-height: 1.45;
  font-style: italic;
  color: var(--ink-primary);
  margin: 0;
}

.review-author {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--ink-secondary);
  letter-spacing: 0.03em;
}

/* ==========================================================================
   Section 3: FAQ Accordion (Clean 1px Dividers, Smooth Expand)
   ========================================================================== */
.faq-container {
  max-width: 840px;
}

.faq-accordion {
  border-top: 1px solid var(--border-hairline);
}

.faq-item {
  border-bottom: 1px solid var(--border-hairline);
}

.faq-trigger {
  width: 100%;
  padding: 1.5rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  background: transparent;
  border: none;
  text-align: left;
  cursor: pointer;
  transition: color 0.12s ease;
}

.faq-question {
  font-family: var(--font-sans);
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--ink-primary);
}

.faq-trigger:hover .faq-question {
  color: #1E293B;
}

.faq-icon {
  font-family: var(--font-mono);
  font-size: 1.25rem;
  line-height: 1;
  color: var(--slate-muted);
  flex-shrink: 0;
  transition: transform 0.2s cubic-bezier(0.2, 1.35, 0.4, 1), color 0.15s ease;
}

.faq-item.is-open .faq-icon {
  transform: rotate(45deg);
  color: var(--ink-primary);
}

.faq-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.36s cubic-bezier(0.2, 1.3, 0.4, 1);
}

.faq-item.is-open .faq-panel {
  max-height: 500px;
  transition: max-height 0.36s cubic-bezier(0.2, 1.3, 0.4, 1);
}

.faq-panel-inner {
  padding-bottom: 1.5rem;
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--slate-muted);
}

/* ==========================================================================
   Section 8: Interactive Booking Section (Real Email Delivery)
   ========================================================================== */
.booking-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-hairline);
  position: relative;
}

/* Laser-Etched Chassis Registration Crosshairs (8px x 8px, 1px Hairline, Inset 10px) */
.showcase-studio-box::before,
.booking-card::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 3;
  background-image:
    url("data:image/svg+xml,%3Csvg width='8' height='8' viewBox='0 0 8 8' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4 0v8M0 4h8' stroke='rgba(15,23,42,0.25)' stroke-width='1' shape-rendering='crispEdges'/%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg width='8' height='8' viewBox='0 0 8 8' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4 0v8M0 4h8' stroke='rgba(15,23,42,0.25)' stroke-width='1' shape-rendering='crispEdges'/%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg width='8' height='8' viewBox='0 0 8 8' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4 0v8M0 4h8' stroke='rgba(15,23,42,0.25)' stroke-width='1' shape-rendering='crispEdges'/%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg width='8' height='8' viewBox='0 0 8 8' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4 0v8M0 4h8' stroke='rgba(15,23,42,0.25)' stroke-width='1' shape-rendering='crispEdges'/%3E%3C/svg%3E");
  background-position:
    top 10px left 10px,
    top 10px right 10px,
    bottom 10px left 10px,
    bottom 10px right 10px;
  background-repeat: no-repeat;
  background-size: 8px 8px;
}

.booking-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

/* Left: Interactive Calendar */
.booking-calendar-col {
  padding: 2.25rem;
  border-right: 1px solid var(--border-hairline);
  background-color: #FAFAFC;
  display: flex;
  flex-direction: column;
}

.calendar-header-meta,
.form-header-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border-hairline);
  margin-bottom: 1.5rem;
  font-size: 0.7rem;
  color: var(--slate-muted);
}

.calendar-nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}

.calendar-month-title {
  font-family: var(--font-sans);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--ink-primary);
}

.calendar-nav-btns {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.cal-btn {
  width: 32px;
  height: 32px;
  background-color: #FFFFFF;
  border: 1px solid #0F172A;
  box-shadow: 0 2px 0 #0F172A;
  color: var(--ink-primary);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.1rem;
  transition: transform 0.08s ease, box-shadow 0.08s ease, background-color 0.15s ease;
  user-select: none;
}

.cal-btn:hover:not(:disabled) {
  background-color: var(--accent-ice);
}

.cal-btn:active:not(:disabled),
.cal-btn.is-pressed:not(:disabled) {
  transform: translateY(2px);
  box-shadow: 0 0 0 #0F172A;
}

.cal-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
  box-shadow: none;
  border-color: var(--border-hairline);
}

/* Weekday Headers */
.calendar-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--slate-muted);
  margin-bottom: 0.5rem;
}

/* Days Grid */
.calendar-days-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  margin-bottom: 1.25rem;
}

/* Interactive Calendar Day Cells */
.cal-day-cell {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--ink-primary);
  background-color: #FFFFFF;
  border: 1px solid #0F172A;
  box-shadow: 0 2px 0 #0F172A;
  border-radius: 3px;
  cursor: pointer;
  transition: transform 0.08s ease, box-shadow 0.08s ease, background-color 0.15s ease;
  user-select: none;
}

.cal-day-cell:hover:not(.is-disabled):not(.is-empty) {
  background-color: #F1F5F9;
}

.cal-day-cell:active:not(.is-disabled):not(.is-empty),
.cal-day-cell.is-pressed:not(.is-disabled):not(.is-empty) {
  transform: translateY(2px);
  box-shadow: 0 0 0 #0F172A;
}

.cal-day-cell.is-today {
  font-weight: 700;
}

.cal-day-cell.is-selected {
  background-color: var(--accent-ice) !important;
  background-image: linear-gradient(135deg, rgba(255, 255, 255, 0.55) 0%, rgba(255, 255, 255, 0) 60%) !important;
  color: var(--ink-primary) !important;
  border-color: #0F172A !important;
  box-shadow: 0 1px 0 #0F172A, inset 0 1px 0 rgba(255, 255, 255, 0.85);
  transform: translateY(1px);
  font-weight: 700;
}

.cal-day-cell.is-disabled {
  opacity: 0.25;
  cursor: not-allowed;
  pointer-events: none;
  box-shadow: none;
  border-color: var(--border-hairline);
  background-color: transparent;
}

.cal-day-cell.is-empty {
  background: transparent;
  border: none;
  box-shadow: none;
  cursor: default;
}

.selected-date-indicator {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.6rem 0.85rem;
  background-color: #FFFFFF;
  border: 1px solid var(--border-hairline);
  margin-bottom: 1.5rem;
  font-size: 0.72rem;
}

.selected-date-indicator .label {
  color: var(--slate-muted);
}

.selected-date-indicator .value {
  color: var(--ink-primary);
  font-weight: 600;
}

/* Time Slots */
.time-slots-wrapper {
  margin-top: auto;
}

.slots-header {
  color: var(--slate-muted);
  font-size: 0.68rem;
  margin-bottom: 0.65rem;
}

.slots-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
}

.time-slot-pill {
  padding: 0.55rem 0.4rem;
  background-color: #FFFFFF;
  border: 1px solid #0F172A;
  box-shadow: 0 3px 0 #0F172A;
  border-radius: 9999px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--ink-primary);
  text-align: center;
  cursor: pointer;
  transition: transform 0.08s ease, box-shadow 0.08s ease, background-color 0.15s ease;
  user-select: none;
}

.time-slot-pill:hover {
  background-color: #F8FAFC;
}

.time-slot-pill:active,
.time-slot-pill.is-pressed {
  transform: translateY(3px);
  box-shadow: 0 0 0 #0F172A;
}

.time-slot-pill.is-selected {
  background-color: var(--accent-ice) !important;
  background-image: linear-gradient(135deg, rgba(255, 255, 255, 0.55) 0%, rgba(255, 255, 255, 0) 60%) !important;
  border-color: #0F172A !important;
  color: var(--ink-primary) !important;
  font-weight: 600;
  box-shadow: 0 1px 0 #0F172A, inset 0 1px 0 rgba(255, 255, 255, 0.85);
  transform: translateY(2px);
}

/* Right: Contact Form & Details */
.booking-form-col {
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
}

.booking-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-label {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--ink-primary);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.required-star {
  color: #DC2626;
}

.optional-tag {
  color: var(--slate-muted);
  font-size: 0.68rem;
  font-weight: 400;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 0.7rem 0.85rem;
  font-family: var(--font-sans);
  font-size: 0.88rem;
  color: var(--ink-primary);
  background-color: #FFFFFF;
  border: 1px solid var(--border-hairline);
  border-radius: 4px;
  outline: none;
  transition: border-color 0.12s ease;
}

.form-input:focus,
.form-textarea:focus {
  border-color: var(--border-ink);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--slate-light);
}

.form-textarea {
  resize: vertical;
  min-height: 80px;
}

.field-error-msg {
  display: none;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: #DC2626;
}

.field-error-msg.is-visible {
  display: block;
}

/* Booking Live Summary */
.booking-summary-box {
  background-color: #FAFAFC;
  border: 1px solid var(--border-hairline);
  padding: 0.85rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  border-radius: 4px;
}

.summary-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.7rem;
}

.summary-label {
  color: var(--slate-muted);
}

.summary-value {
  color: var(--ink-primary);
  font-weight: 500;
}

/* Form Submit Button */
.btn-submit {
  width: 100%;
  padding: 0.8rem 1.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  margin-top: 0.5rem;
}

.btn-submit:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.loader-spinner {
  display: inline-block;
  width: 14px;
  height: 14px;
  border: 2px solid rgba(15, 23, 42, 0.2);
  border-top-color: var(--ink-primary);
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
  vertical-align: middle;
  margin-right: 0.4rem;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.form-alert-msg {
  padding: 0.65rem 0.85rem;
  background-color: #FEF2F2;
  border: 1px solid #FCA5A5;
  color: #991B1B;
  font-size: 0.78rem;
  border-radius: 4px;
}

/* Inline Confirmation Card */
.booking-confirmation-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 2.5rem 1.5rem;
  background-color: #FFFFFF;
}

.confirmation-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: var(--accent-ice);
  border: 1px solid var(--border-ink);
  color: var(--ink-primary);
  font-size: 1.25rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.confirmation-title {
  font-family: var(--font-serif);
  font-size: 1.85rem;
  line-height: 1.2;
  color: var(--ink-primary);
  margin-bottom: 0.5rem;
}

.confirmation-lead {
  font-size: 0.9rem;
  color: var(--slate-muted);
  max-width: 380px;
  margin-bottom: 1.75rem;
}

.confirmation-details-box {
  width: 100%;
  background-color: #FAFAFC;
  border: 1px solid var(--border-hairline);
  padding: 1rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 1.5rem;
  text-align: left;
}

.confirm-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
}

.confirm-label {
  color: var(--slate-muted);
}

.confirm-val {
  color: var(--ink-primary);
  font-weight: 600;
}

.confirmation-subtext {
  font-size: 0.7rem;
  color: var(--slate-muted);
  margin-bottom: 1.5rem;
  max-width: 360px;
}

.confirmation-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  width: 100%;
  max-width: 320px;
  align-items: center;
}

.btn-dispatch-email {
  width: 100%;
  text-align: center;
  text-decoration: none;
  font-size: 0.85rem;
  padding: 0.65rem 1.25rem;
}

.btn-reset {
  font-size: 0.8rem;
  padding: 0.5rem 1rem;
}

/* ==========================================================================
   Section 9: Minimal Footer
   ========================================================================== */
.footer {
  background-color: var(--bg-card);
  border-top: 1px solid var(--border-hairline);
  padding: 2.25rem 0;
}

.footer-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.footer-left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer-brand {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.03em;
  color: var(--ink-primary);
}

.footer-dot {
  color: var(--slate-light);
}

.footer-motto {
  color: var(--slate-muted);
  font-size: 0.72rem;
}

.footer-hardware-grille {
  display: inline-block;
  width: 48px;
  height: 18px;
  background-image: radial-gradient(#0F172A 1px, transparent 1px);
  background-size: 4px 4px;
  opacity: 0.35;
  border-radius: 2px;
  flex-shrink: 0;
  margin-left: 0.25rem;
}

.footer-email-btn,
.footer-email-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background-color: #FFFFFF;
  border: 1px solid var(--border-hairline);
  border-radius: 2px;
  padding: 0.25rem 0.65rem;
  color: var(--ink-primary);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 1px 1px 0 rgba(15, 23, 42, 0.08);
  transition: all 0.12s ease;
  user-select: none;
}

.footer-email-btn:hover,
.footer-email-link:hover {
  background-color: #F8FAFC;
  border-color: var(--border-ink);
  transform: translate(-1px, -1px);
  box-shadow: 2px 2px 0 var(--border-ink);
}

.footer-email-btn:active,
.footer-email-link:active {
  transform: translate(0, 0);
  box-shadow: 0 0 0 var(--border-ink);
}

.footer-email-btn.is-copied,
.direct-email-action.is-copied {
  background-color: var(--accent-ice) !important;
  border-color: var(--border-ink) !important;
  color: var(--ink-primary) !important;
  font-weight: 600 !important;
}

.direct-email-action {
  cursor: pointer;
  text-decoration: none;
  transition: all 0.12s ease;
}

.direct-email-action:hover {
  border-color: var(--border-ink);
  color: var(--ink-primary);
  background-color: #FFFFFF;
}

.footer-copyright {
  color: var(--slate-muted);
  font-size: 0.72rem;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */

/* Tablet & Smaller Desktops */
@media (max-width: 960px) {
  .showcase-studio-box {
    grid-template-columns: 1fr;
  }

  .studio-player-col {
    border-right: none;
    border-bottom: 1px solid var(--border-hairline);
    padding: 2rem 1.5rem;
  }

  .viral-proof-grid {
    grid-template-columns: 1fr;
  }

  .viral-player-col {
    border-right: none;
    border-bottom: 1px solid var(--border-ink);
    padding: 2rem 1.5rem;
  }

  .viral-video-frame {
    max-width: 300px;
  }

  .viral-details-col {
    padding: 2rem 1.5rem;
    gap: 1.75rem;
  }

  .booking-grid {
    grid-template-columns: 1fr;
  }

  .booking-calendar-col {
    border-right: none;
    border-bottom: 1px solid var(--border-hairline);
  }
}

/* Mobile Devices */
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .mobile-toggle {
    display: flex;
  }

  .top-bar-meta {
    display: none;
  }

  .hero-section {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }

  .hero-meta-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .meta-divider {
    display: none;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat-cell:nth-child(2) {
    border-right: none;
  }

  .stat-cell:nth-child(1),
  .stat-cell:nth-child(2) {
    border-bottom: 1px solid var(--border-hairline);
  }

  .stat-cell {
    padding: 1.5rem 1rem;
    gap: 0.65rem;
  }

  .stat-number.split-flap-drum,
  .split-flap-drum {
    min-width: 105px;
    height: 3.1rem;
    font-size: 1.85rem;
  }

  /* Section 3: Selected Work Showcase Mobile Refinements */
  .showcase-studio-box {
    grid-template-columns: 1fr;
    overflow: hidden;
    width: 100%;
  }

  .studio-player-col {
    border-right: none;
    border-bottom: 1px solid var(--border-hairline);
    padding: 1.5rem 1rem 1.25rem;
    width: 100%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .player-wrapper {
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .video-container {
    width: 100%;
    max-width: 240px;
    aspect-ratio: 9 / 16;
    margin: 0 auto;
  }

  .player-caption-bar {
    width: 100%;
    max-width: 300px;
    margin: 0.85rem auto 0;
    padding-top: 0.65rem;
  }

  .caption-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.4rem;
    margin-bottom: 0.35rem;
  }

  .caption-category {
    font-size: 0.62rem;
    line-height: 1.25;
  }

  .caption-views-hero {
    padding: 0.12rem 0.4rem;
    flex-shrink: 0;
  }

  .caption-views-num {
    font-size: 1.2rem;
  }

  .caption-title {
    font-size: 0.95rem;
    line-height: 1.3;
    margin-bottom: 0.3rem;
  }

  .caption-description {
    font-size: 0.76rem;
    line-height: 1.4;
    margin-bottom: 0.45rem;
  }

  .caption-meta-row {
    font-size: 0.67rem;
    gap: 0.3rem;
  }

  .studio-grid-col {
    padding: 1.25rem 1rem;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }

  .reels-grid-header {
    padding-bottom: 0.5rem;
    margin-bottom: 0.75rem;
  }

  .reels-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.65rem;
    width: 100%;
  }

  .reel-card {
    width: 100%;
    min-width: 0;
    padding: 0.65rem 0.75rem;
    gap: 0.75rem;
    border-radius: 2px;
    box-shadow: 0 0 0 #0F172A;
  }

  .reel-card-thumb {
    width: 52px;
    aspect-ratio: 9 / 16;
    height: auto;
    flex-shrink: 0;
  }

  .reel-card-info {
    min-width: 0;
    flex: 1;
    gap: 0.25rem;
  }

  .reel-views-hero {
    padding: 0.1rem 0.35rem;
    gap: 0.3rem;
  }

  .reel-views-num {
    font-size: 1.15rem;
  }

  .reel-views-label {
    font-size: 0.58rem;
  }

  .reel-card-title {
    font-size: 0.84rem;
    white-space: normal;
    line-height: 1.25;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .reel-card-sub {
    font-size: 0.65rem;
  }

  .slots-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Section 2: Viral Proof Spotlight Mobile Adjustments */
  .viral-stats-table {
    grid-template-columns: 1fr;
  }

  .v-stat-cell {
    border-right: none;
    border-bottom: 1px solid var(--border-ink);
    padding: 1rem 1.25rem;
  }

  .v-stat-cell:last-child {
    border-bottom: none;
  }

  .v-stat-val {
    font-size: 1.35rem;
  }

  .client-review-box {
    padding: 1.25rem;
  }

  .review-quote {
    font-size: 1.1rem;
  }

  .footer-container {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  @media (max-width: 540px) {
    .nav-actions {
      gap: 0.5rem;
    }
    .studio-hardware-pill {
      padding: 2px 3px 2px 6px;
      gap: 5px;
    }
    .pill-timecode {
      font-size: 0.64rem;
    }
  }

  @media (max-width: 520px) {
    .nav-actions > .btn-pill {
      display: none;
    }
  }
}

@media (min-width: 601px) and (max-width: 768px) {
  .reels-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ==========================================================================
   Rack-Mount Hardware Snap Scroll Reveals & Motion Performance
   ========================================================================== */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(8px) scale(0.992);
  transition: opacity 0.25s ease, transform 0.36s cubic-bezier(0.2, 1.35, 0.4, 1);
  will-change: opacity, transform;
}

.reveal-on-scroll.is-revealed {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Precision Hardware Staggered Reveals for Stats Bar */
.stats-grid.is-revealed .stat-cell {
  animation: statCellSnap 0.36s cubic-bezier(0.2, 1.35, 0.4, 1) both;
}
.stats-grid.is-revealed .stat-cell:nth-child(1) { animation-delay: 0.04s; }
.stats-grid.is-revealed .stat-cell:nth-child(2) { animation-delay: 0.12s; }
.stats-grid.is-revealed .stat-cell:nth-child(3) { animation-delay: 0.20s; }
.stats-grid.is-revealed .stat-cell:nth-child(4) { animation-delay: 0.28s; }

@keyframes statCellSnap {
  from {
    opacity: 0;
    transform: translateY(8px) scale(0.992);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Section 2: Viral Proof Spotlight Hardware Snaps & 75ms Stagger */
.viral-video-frame {
  opacity: 0;
  transform: translateY(8px) scale(0.992);
  transition: opacity 0.25s ease, transform 0.36s cubic-bezier(0.2, 1.35, 0.4, 1), box-shadow 0.12s ease;
  will-change: opacity, transform;
}

.case-study-card.is-revealed .viral-video-frame {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.viral-stats-table .v-stat-cell,
.viral-context-box,
.client-review-box {
  opacity: 0;
  transform: translateY(8px) scale(0.992);
  transition: opacity 0.25s ease, transform 0.36s cubic-bezier(0.2, 1.35, 0.4, 1);
  will-change: opacity, transform;
}

.case-study-card.is-revealed .viral-stats-table .v-stat-cell:nth-child(1) {
  opacity: 1;
  transform: translateY(0) scale(1);
  transition-delay: 0.05s;
}

.case-study-card.is-revealed .viral-stats-table .v-stat-cell:nth-child(2) {
  opacity: 1;
  transform: translateY(0) scale(1);
  transition-delay: 0.125s; /* 75ms stagger */
}

.case-study-card.is-revealed .viral-stats-table .v-stat-cell:nth-child(3) {
  opacity: 1;
  transform: translateY(0) scale(1);
  transition-delay: 0.20s; /* 75ms stagger */
}

.case-study-card.is-revealed .viral-context-box {
  opacity: 1;
  transform: translateY(0) scale(1);
  transition-delay: 0.22s;
}

.case-study-card.is-revealed .client-review-box {
  opacity: 1;
  transform: translateY(0) scale(1);
  transition-delay: 0.275s; /* 75ms stagger */
}
