/* ==========================================================================
   KALIPH SOLUTIONS — PUTURE ARCHITECTURAL STYLESHEET (style.css)
   Exact Puture Design Language & Award-Winning Interaction Mechanics
   ========================================================================== */

/* 1. Global Reset & Foundational Setup */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  background-color: var(--bg-base);
  color: var(--text-primary);
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-base);
  color: var(--text-primary);
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  line-height: 1.5;
}

::selection {
  background-color: var(--accent-light);
  color: var(--accent-primary);
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--duration-fast) var(--ease-apple);
}

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

/* 2. Ambient Canvas & Pointer Dynamics */
.ambient-canvas {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 1;
  opacity: 1;
}

.cursor-spotlight {
  position: fixed;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(circle, rgba(61, 139, 255, 0.06) 0%, rgba(250, 249, 246, 0) 70%);
  transform: translate(-50%, -50%);
  transition: transform 0.1s ease-out, opacity 0.3s ease;
  z-index: 1;
  opacity: 0;
}

.cursor-dot {
  position: fixed;
  width: 6px;
  height: 6px;
  background-color: var(--accent-primary);
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%, -50%);
  z-index: 9999;
  transition: opacity 0.2s ease;
  opacity: 0;
}

@media (hover: hover) and (pointer: fine) {
  .cursor-spotlight,
  .cursor-dot {
    opacity: 1;
  }
}

/* 3. Containers & Global Typographic Architecture */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-6);
  position: relative;
  z-index: 2;
}

.section {
  padding: var(--space-24) 0;
  position: relative;
  border-bottom: 1px solid var(--border-hairline);
}

.section-heading-block {
  margin-bottom: var(--space-16);
  max-width: 960px;
}

.section-pre-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: var(--text-2xs);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-primary);
  background-color: var(--accent-light);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  margin-bottom: var(--space-3);
  font-weight: 600;
}

.section-big-title {
  font-size: clamp(2.25rem, 4.2vw, 3.75rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.1;
  color: var(--text-primary);
}

.section-lead-copy {
  font-size: var(--text-lg);
  color: var(--text-secondary);
  margin-top: var(--space-4);
  line-height: 1.6;
  max-width: 720px;
}

.section-quote {
  font-size: var(--text-sm);
  font-family: var(--font-mono);
  color: var(--accent-primary);
  margin-top: var(--space-3);
  letter-spacing: -0.01em;
}

/* 4. Top Navigation Bar (Puture Minimal Header) */
.master-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: rgba(250, 249, 246, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-hairline);
  transition: all var(--duration-fast) var(--ease-apple);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-6);
}

.brand-wordmark {
  font-size: var(--text-base);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text-primary);
}

.brand-dot {
  color: var(--accent-primary);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: var(--space-8);
}

.nav-link {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--text-secondary);
  letter-spacing: -0.01em;
  transition: color var(--duration-fast) var(--ease-apple);
}

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

.nav-cta-wrap {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

/* Puture Reusable Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  font-weight: 600;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  transition: all var(--duration-fast) var(--ease-apple);
  cursor: pointer;
}

.btn--primary {
  background-color: var(--text-primary);
  color: var(--text-inverse);
  border: 1px solid var(--text-primary);
}

.btn--primary:hover {
  background-color: #1f2937;
  transform: translateY(-1px);
}

.btn--primary svg {
  transition: transform var(--duration-fast) var(--ease-apple);
}

.btn--primary:hover svg {
  transform: translateX(3px);
}

.btn--ghost {
  background-color: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-hairline);
}

.btn--ghost:hover {
  background-color: var(--bg-surface);
  border-color: var(--border-strong);
  transform: translateY(-1px);
}

.btn--accent {
  background-color: var(--accent-primary);
  color: #fff;
  border: 1px solid var(--accent-primary);
  box-shadow: 0 4px 14px rgba(0, 82, 255, 0.25);
}

.btn--accent:hover {
  background-color: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0, 82, 255, 0.35);
}

.btn--secondary {
  background-color: var(--bg-surface);
  color: var(--text-primary);
  border: 1px solid var(--border-hairline);
}

.btn--secondary:hover {
  background-color: var(--bg-subtle);
  transform: translateY(-1px);
}

.w-full {
  width: 100%;
}

.justify-center {
  justify-content: center;
}

.text-center {
  text-align: center;
}

/* Mobile Toggle & Drawer */
.mobile-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
}

.mobile-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--text-primary);
}

.mobile-drawer {
  position: fixed;
  inset: 0;
  background-color: rgba(9, 10, 12, 0.4);
  backdrop-filter: blur(10px);
  display: none;
  z-index: 99;
}

.mobile-drawer.active {
  display: block;
}

.mobile-drawer-inner {
  position: absolute;
  top: 80px;
  left: var(--space-4);
  right: var(--space-4);
  background-color: var(--bg-surface);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  border: 1px solid var(--border-hairline);
  box-shadow: var(--shadow-xl);
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

.mobile-links {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.mobile-link {
  font-size: var(--text-lg);
  font-weight: 600;
  padding: var(--space-2) 0;
  border-bottom: 1px solid var(--border-subtle);
}

.mobile-contact-line {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mono-label {
  font-family: var(--font-mono);
  font-size: var(--text-2xs);
  color: var(--text-muted);
}

.direct-val {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--accent-primary);
}

/* 5. Phase 2: Pinned Cinematic Hero & Sequential Storytelling Chapters */
.hero-story-container {
  position: relative;
  width: 100%;
  height: 350vh; /* Deliberate scroll distance for cinematic chapter scrub */
  z-index: 5;
}

.hero-story-stage {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: calc(72px + var(--space-4)) var(--space-8) var(--space-6);
  box-sizing: border-box;
}

/* Ambient Full-Bleed Video Background Stage */
.hero-bg-video-wrapper {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
}

.hero-bg-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.88;
  filter: contrast(1.06) brightness(1.02);
  will-change: transform;
  z-index: 0;
  pointer-events: none;
}

.hero-bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.78;
  filter: contrast(1.06) brightness(1.02);
  will-change: transform;
}

/* Responsive display: Desktop (16:9 Landscape) vs Mobile (9:16 Portrait) */
.hero-bg-video--desktop {
  display: block;
}

.hero-bg-video--mobile {
  display: none;
}

@media (max-width: 768px), (orientation: portrait) {
  .hero-bg-video--desktop {
    display: none;
  }
  .hero-bg-video--mobile {
    display: block;
  }
}

.hero-bg-video-overlay {
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(circle at 60% 45%, rgba(250, 249, 246, 0.18) 0%, rgba(250, 249, 246, 0.68) 80%),
    linear-gradient(180deg, rgba(250, 249, 246, 0.4) 0%, rgba(250, 249, 246, 0.08) 45%, rgba(250, 249, 246, 0.85) 100%);
  pointer-events: none;
  z-index: 1;
}

/* Live Status Strip */
.hero-status-strip {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: var(--space-3);
  border-bottom: 1px solid var(--border-hairline);
  max-width: var(--container-max);
  width: 100%;
  margin: 0 auto;
}

.status-live {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background-color: var(--status-active);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.6); }
  70% { box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
  100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.mono-text {
  font-family: var(--font-mono);
  font-size: var(--text-2xs);
  font-weight: 500;
  color: var(--text-secondary);
  letter-spacing: 0.08em;
}

.status-clock {
  font-family: var(--font-mono);
  font-size: var(--text-2xs);
}

.mono-dim {
  color: var(--text-subtle);
  margin-right: var(--space-2);
}

.mono-val {
  font-weight: 600;
  color: var(--text-primary);
}

/* Chapter Progression Dots Tracker - Disabled for Clean Aesthetic */
.story-chapter-tracker {
  display: none !important;
}

.chapter-dot {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  color: var(--text-subtle);
  cursor: pointer;
  padding: 4px 0;
  transition: all var(--duration-fast) var(--ease-apple);
}

.chapter-dot::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--border-strong);
  transition: all var(--duration-fast) var(--ease-apple);
}

.chapter-dot.active {
  color: var(--accent-primary);
}

.chapter-dot.active::before {
  background: var(--accent-primary);
  transform: scale(1.6);
  box-shadow: 0 0 10px rgba(0, 82, 255, 0.6);
}

/* The Sequential Story Chapters Wrapper */
.story-chapters-wrapper {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  flex: 1;
  display: flex;
  align-items: center;
  min-height: 0;
}

.story-chapter {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  width: 100%;
  opacity: 0;
  pointer-events: none;
  transform: translateY(28px) scale(0.98);
  filter: blur(8px);
  will-change: opacity, transform, filter;
}

.story-chapter.active {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
  filter: blur(0px);
}

/* Chapter Split Grid */
.chapter-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: var(--space-12);
  align-items: flex-end;
  width: 100%;
}

.chapter-main {
  display: flex;
  flex-direction: column;
}

.chapter-side {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
  padding-bottom: var(--space-2);
}

/* Hero Badge */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background: rgba(0, 82, 255, 0.08);
  border: 1px solid rgba(0, 82, 255, 0.18);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-4);
  width: fit-content;
}

.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--accent-primary);
  box-shadow: 0 0 8px rgba(0, 82, 255, 0.6);
}

.hero-slogan {
  display: block;
  font-size: var(--text-base);
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: var(--space-3);
  letter-spacing: -0.01em;
}

.hero-title {
  font-size: clamp(3.25rem, 6.5vw, 6.25rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 0.94;
  display: flex;
  flex-direction: column;
}

.hero-title-sub {
  font-size: clamp(2.25rem, 4.4vw, 4.25rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.05;
  display: flex;
  flex-direction: column;
  color: var(--text-primary);
}

.title-word {
  display: block;
}

.accent-blue {
  color: var(--accent-primary);
  text-shadow: 0 0 32px rgba(0, 82, 255, 0.16);
}

.hero-lede {
  font-size: var(--text-lg);
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Chapter Stats Row */
.chapter-stats-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
}

.stat-box {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-md);
  padding: var(--space-4);
  display: flex;
  flex-direction: column;
  gap: 4px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.02);
}

.stat-giant {
  font-family: var(--font-mono);
  font-size: clamp(1.75rem, 2.5vw, 2.5rem);
  font-weight: 800;
  color: var(--accent-primary);
  letter-spacing: -0.03em;
  line-height: 1;
}

.stat-desc {
  font-size: var(--text-xs);
  color: var(--text-muted);
  line-height: 1.4;
}

/* Hero Telemetry Card */
.hero-telemetry-card {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-md);
  padding: var(--space-4) var(--space-5);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  transition: transform var(--duration-normal) var(--ease-apple), box-shadow var(--duration-normal) var(--ease-apple);
}

.hero-telemetry-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(0, 82, 255, 0.08);
}

.telemetry-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 6px;
}

.telemetry-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  color: var(--accent-primary);
  letter-spacing: 0.08em;
}

.telemetry-status {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  color: var(--status-active);
}

.telemetry-body {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-3);
}

.telemetry-stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.stat-num {
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--text-primary);
}

.stat-label {
  font-family: var(--font-mono);
  font-size: 9px;
  color: var(--text-muted);
  letter-spacing: 0.06em;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  flex-wrap: wrap;
}

/* Floating Bottom Scroll Indicator */
.hero-scroll-indicator {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  padding-top: var(--space-3);
  border-top: 1px solid var(--border-hairline);
  max-width: var(--container-max);
  width: 100%;
  margin: 0 auto;
  opacity: 0.85;
  transition: opacity 0.3s ease;
}

.scroll-mouse-icon {
  width: 16px;
  height: 26px;
  border: 2px solid var(--text-secondary);
  border-radius: 12px;
  display: flex;
  justify-content: center;
  padding-top: 4px;
}

.scroll-wheel {
  width: 3px;
  height: 6px;
  background: var(--accent-primary);
  border-radius: 2px;
  animation: scrollWheelPulse 1.8s infinite ease-in-out;
}

@keyframes scrollWheelPulse {
  0% { transform: translateY(0); opacity: 1; }
  60% { transform: translateY(8px); opacity: 0; }
  100% { transform: translateY(0); opacity: 0; }
}

.scroll-prompt-text {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  text-transform: uppercase;
}

/* Metrics Ribbon */
.hero-metrics-ribbon {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
  background-color: var(--bg-surface);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-md);
  padding: var(--space-6) var(--space-8);
  box-shadow: var(--shadow-sm);
}

.metric-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.metric-val {
  font-family: var(--font-mono);
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--text-primary);
}

.metric-name {
  font-family: var(--font-mono);
  font-size: var(--text-2xs);
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

.metric-divider {
  width: 1px;
  height: 36px;
  background-color: var(--border-hairline);
  margin: 0 auto;
}

/* ==========================================================================
   FULL-PAGE 3D PINNED STORYBOOK ARCHITECTURE (ACTS 02, 03, 04, 05)
   ========================================================================== */
.story-pinned-section {
  position: relative;
  width: 100%;
}

.about-story-container {
  height: 300vh;
  z-index: 6;
}

.work-story-container {
  height: 400vh;
  z-index: 7;
}

.process-story-container {
  height: 300vh;
  z-index: 8;
}

.studio-story-container {
  height: 250vh;
  z-index: 9;
}

.story-pinned-stage {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: calc(72px + var(--space-4)) var(--space-8) var(--space-6);
  box-sizing: border-box;
  background-color: #FAF9F6;
}

.story-stage-ambient {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.stage-grid-overlay {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(0, 82, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 82, 255, 0.05) 1px, transparent 1px);
  background-size: 48px 48px;
  background-position: center center;
  mask-image: radial-gradient(circle at 50% 50%, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(circle at 50% 50%, black 30%, transparent 80%);
}

.stage-glow-radial {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 60%, rgba(0, 82, 255, 0.04) 0%, transparent 70%);
}

/* Philosophy Section Full-Bleed Ambient Media Layers */
.about-bg-media-wrapper {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
  pointer-events: none;
}

.about-bg-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transform: scale(1);
  will-change: opacity, transform;
}

.about-bg-layer.active {
  opacity: 0.82;
  transform: scale(1);
}

.about-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: contrast(1.06) brightness(1.02);
}

.about-bg-scrim {
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(circle at 60% 45%, rgba(250, 249, 246, 0.35) 0%, rgba(250, 249, 246, 0.78) 80%),
    linear-gradient(180deg, rgba(250, 249, 246, 0.6) 0%, rgba(250, 249, 246, 0.18) 50%, rgba(250, 249, 246, 0.88) 100%);
  pointer-events: none;
  z-index: 2;
}

.story-stage-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  z-index: 5;
  position: relative;
}

.stage-tag-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background: rgba(0, 82, 255, 0.08);
  border: 1px solid rgba(0, 82, 255, 0.18);
  padding: 4px 12px;
  border-radius: var(--radius-full);
}

.stage-chapter-indicator {
  font-family: var(--font-mono);
  font-size: var(--text-2xs);
}

.story-stage-chapters {
  position: relative;
  flex: 1;
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  min-height: 0;
  z-index: 3;
}

.pinned-chapter {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  width: 100%;
  opacity: 0;
  pointer-events: none;
  transform: translateY(28px) scale(0.98);
  filter: blur(8px);
  will-change: opacity, transform, filter;
}

.pinned-chapter.active {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
  filter: blur(0px);
}

.pinned-chapter-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: var(--space-12);
  align-items: flex-end;
  width: 100%;
}

.pinned-chapter-main {
  display: flex;
  flex-direction: column;
}

.pinned-chapter-side {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
  padding-bottom: var(--space-2);
}

.pinned-tags-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-top: var(--space-4);
}

.story-stage-bottombar,
.stage-dots-group,
.story-dot,
.stage-timeline-bar,
.stage-chapter-indicator {
  display: none !important;
}

.stage-timeline-fill {
  height: 100%;
  width: 0%;
  background: var(--accent-primary);
  transition: width 0.1s linear;
}

.stage-scroll-tip {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.08em;
}

.protocol-deliverable-box {
  background: rgba(0, 82, 255, 0.04);
  border: 1px dashed rgba(0, 82, 255, 0.25);
  border-radius: var(--radius-sm);
  padding: var(--space-4);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.protocol-deliverable-val {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--accent-primary);
}

/* 3D Horizontal Showcase Carousel Track */
.work-showcase-viewport {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  overflow: hidden;
  z-index: 3;
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
}

.work-showcase-track {
  display: flex;
  gap: var(--space-8);
  will-change: transform;
}

.showcase-card {
  flex: 0 0 clamp(360px, 32vw, 560px);
  background: var(--bg-surface);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  transition: box-shadow var(--duration-fast) var(--ease-apple), border-color var(--duration-fast) var(--ease-apple);
}

.showcase-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 32px 72px rgba(0, 82, 255, 0.12);
  border-color: rgba(0, 82, 255, 0.3);
}

.showcase-card__media {
  aspect-ratio: 16/9;
  position: relative;
  overflow: hidden;
  background: #EEF4FF;
}

.showcase-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.showcase-card:hover .showcase-img {
  transform: scale(1.05);
}

.showcase-badge-glass {
  position: absolute;
  top: 12px;
  left: 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(250, 249, 246, 0.88);
  backdrop-filter: blur(8px);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(0, 82, 255, 0.18);
  font-size: 10px;
  font-weight: 600;
}

.showcase-card__info {
  padding: var(--space-5) var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.showcase-header {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--accent-primary);
  font-weight: 600;
}

.showcase-title {
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.showcase-desc {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: 1.5;
}

.showcase-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.showcase-tags span {
  font-family: var(--font-mono);
  font-size: 10px;
  background: var(--bg-canvas);
  padding: 3px 8px;
  border-radius: 4px;
  border: 1px solid var(--border-hairline);
  color: var(--text-muted);
}

.showcase-actions {
  margin-top: var(--space-2);
}

/* Studio Pinned Stage */
.studio-pinned-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: var(--space-12);
  align-items: center;
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  flex: 1;
  z-index: 3;
}

.studio-capabilities-rail {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.studio-rail-item {
  display: flex;
  gap: var(--space-4);
  padding: var(--space-4);
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  transition: all 0.4s var(--ease-apple);
  opacity: 0.35;
  background: transparent;
}

.studio-rail-item.active {
  opacity: 1;
  background: var(--bg-surface);
  border-color: var(--border-hairline);
  box-shadow: 0 12px 32px rgba(0, 82, 255, 0.06);
  transform: translateX(8px);
}

.rail-num {
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--accent-primary);
}

.rail-title {
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 2px;
}

.rail-desc {
  font-size: var(--text-xs);
  color: var(--text-secondary);
  line-height: 1.4;
}

.studio-tech-matrix-zone {
  display: flex;
  justify-content: center;
  align-items: center;
  perspective: 1200px;
}

.studio-matrix-card {
  width: 100%;
  max-width: 500px;
  background: var(--bg-surface);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
  transform: perspective(1000px) rotateY(-4deg) rotateX(2deg);
  transition: transform 0.2s var(--ease-apple), box-shadow 0.2s var(--ease-apple);
}

.studio-matrix-card:hover {
  transform: perspective(1000px) rotateY(0deg) rotateX(0deg) translateY(-4px);
  box-shadow: 0 32px 80px rgba(0, 82, 255, 0.1);
  border-color: rgba(0, 82, 255, 0.3);
}

.matrix-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: var(--space-4);
  border-bottom: 1px solid var(--border-subtle);
}

.matrix-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
}

.matrix-status {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  color: var(--accent-primary);
  letter-spacing: 0.05em;
}

.matrix-stack-layers {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.matrix-layer {
  background: var(--bg-canvas);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-md);
  padding: var(--space-4);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  transition: all 0.3s var(--ease-apple);
  opacity: 0.6;
}

.matrix-layer.active {
  opacity: 1;
  background: #FFFFFF;
  border-color: rgba(0, 82, 255, 0.3);
  box-shadow: 0 8px 24px rgba(0, 82, 255, 0.08);
}

.layer-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.layer-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  color: var(--accent-primary);
}

.layer-title {
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--text-primary);
}

.layer-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

.mono-metric {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-secondary);
  background: rgba(0, 82, 255, 0.05);
  border: 1px solid rgba(0, 82, 255, 0.12);
  padding: 2px 8px;
  border-radius: 4px;
}

.matrix-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--space-3);
  border-top: 1px solid var(--border-subtle);
  font-size: 10px;
}

/* 6. Puture Feature Row (3 Blueprint Cards) */
.feature-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 1.6vw, 24px);
}

.feature-card {
  color: var(--text-primary);
  background: var(--bg-surface);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-md);
  padding: 10px 10px 20px;
  display: grid;
  grid-template-rows: auto 1fr auto auto;
  gap: var(--space-5);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.04);
  transition: transform var(--duration-normal) var(--ease-apple), box-shadow var(--duration-normal) var(--ease-apple), border-color var(--duration-normal) var(--ease-apple);
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
  box-shadow: 0 24px 60px rgba(0, 82, 255, 0.08);
}

.feature-card__visual {
  aspect-ratio: 16/9;
  background-color: #EEF4FF;
  background-image: 
    radial-gradient(70% 80% at 50% 115%, rgba(61, 139, 255, 0.4), transparent 70%),
    linear-gradient(rgba(61, 139, 255, 0.14) 1px, transparent 1px),
    linear-gradient(90deg, rgba(61, 139, 255, 0.14) 1px, transparent 1px);
  background-position: 0 0, 50% 50%, 50% 50%;
  background-size: auto, 24px 24px, 24px 24px;
  border-radius: var(--radius-sm);
  place-items: center;
  display: grid;
  position: relative;
  overflow: hidden;
}

.feature-card__index {
  color: var(--accent-primary);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  line-height: 1;
  position: absolute;
  top: 12px;
  left: 14px;
}

.feature-card__visual .icon-tile {
  color: var(--accent-primary);
  background: #FFFFFF;
  width: 56px;
  height: 56px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 24px rgba(29, 92, 255, 0.25);
  transition: transform var(--duration-normal) var(--ease-apple);
}

.feature-card:hover .icon-tile {
  transform: scale(1.1);
}

.feature-card__words {
  align-content: start;
  gap: 8px;
  padding: 0 12px;
  display: grid;
}

.feature-card__title {
  letter-spacing: -0.03em;
  font-size: clamp(20px, 1.8vw, 26px);
  font-weight: 700;
  line-height: 1.2;
}

.feature-card__body {
  color: var(--text-secondary);
  font-size: var(--text-sm);
  line-height: 1.55;
}

.feature-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 0 12px;
  list-style: none;
}

.feature-card__tags li {
  color: var(--accent-primary);
  border-radius: var(--radius-xs);
  background: rgba(61, 139, 255, 0.1);
  padding: 4px 8px;
  font-size: 11px;
  font-weight: 600;
  font-family: var(--font-mono);
}

.feature-card__more {
  color: var(--text-primary);
  border-top: 1px solid var(--border-subtle);
  justify-content: space-between;
  align-items: center;
  margin: 0 12px;
  padding-top: 14px;
  font-size: var(--text-xs);
  font-weight: 600;
  display: flex;
  transition: color var(--duration-fast);
}

.feature-card__more svg {
  color: var(--accent-primary);
  transition: transform var(--duration-fast) var(--ease-apple);
}

.feature-card:hover .feature-card__more {
  color: var(--accent-primary);
}

.feature-card:hover .feature-card__more svg {
  transform: translateX(4px);
}

/* ==========================================================================
   6B. Flagship Cinematic Motion Reel (16:9 Panoramic Landscape)
   ========================================================================== */
.reel-section {
  padding: var(--space-20) 0;
  border-bottom: 1px solid var(--border-hairline);
  position: relative;
  background: linear-gradient(180deg, var(--bg-base) 0%, rgba(0, 82, 255, 0.02) 50%, var(--bg-base) 100%);
}

.reel-theater {
  position: relative;
  width: 100%;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-hairline);
  background: var(--bg-surface);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 40, 120, 0.08);
  transition: box-shadow var(--duration-normal) var(--ease-apple);
}

.reel-theater:hover {
  box-shadow: 0 28px 80px rgba(0, 82, 255, 0.14);
}

.reel-theater-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-3) var(--space-6);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-hairline);
}

.reel-topbar-left {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.reel-live-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--accent-primary);
  letter-spacing: 0.06em;
}

.reel-live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--status-active);
  box-shadow: 0 0 8px rgba(16, 185, 129, 0.8);
}

.reel-topbar-right {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  font-family: var(--font-mono);
  font-size: 11px;
}

.reel-video-container {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background-color: #050608;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.reel-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Floating Glass Controls (Over video) */
.reel-overlay-controls {
  position: absolute;
  bottom: var(--space-5);
  left: var(--space-6);
  right: var(--space-6);
  display: flex;
  align-items: center;
  justify-content: space-between;
  pointer-events: none;
  z-index: 10;
}

.reel-controls-left,
.reel-controls-right {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  pointer-events: auto;
}

.reel-ctrl-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: rgba(9, 10, 12, 0.76);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-full);
  padding: 8px 14px;
  color: #fff;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--duration-fast) var(--ease-apple);
}

.reel-ctrl-btn:hover {
  background: var(--accent-primary);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-1px);
}

.reel-ctrl-btn svg {
  display: block;
}

.reel-time-badge {
  background: rgba(9, 10, 12, 0.64);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-full);
  padding: 6px 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: rgba(255, 255, 255, 0.85);
  letter-spacing: 0.05em;
}

.reel-spec-pill {
  background: rgba(9, 10, 12, 0.64);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-full);
  padding: 6px 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.04em;
}

/* Reel Footer Telemetry */
.reel-footer-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  padding: var(--space-5) var(--space-8);
  background: var(--bg-surface);
  border-top: 1px solid var(--border-hairline);
}

.reel-footer-cell {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.reel-footer-val {
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--text-primary);
}

/* 7. Work Showcase Grid */
.work-showcase-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-8);
}

.work-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--duration-normal) var(--ease-apple), box-shadow var(--duration-normal) var(--ease-apple);
}

.work-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.work-media-canvas {
  height: 260px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-6);
}

.blueprint-grid {
  background: linear-gradient(135deg, #0A0D14 0%, #151B28 100%);
  background-image: 
    linear-gradient(rgba(61, 139, 255, 0.2) 1px, transparent 1px),
    linear-gradient(90deg, rgba(61, 139, 255, 0.2) 1px, transparent 1px);
  background-size: 28px 28px;
}

.light-grid {
  background: linear-gradient(135deg, #EEF4FF 0%, #E0E7FF 100%);
  background-image: 
    linear-gradient(rgba(0, 82, 255, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 82, 255, 0.1) 1px, transparent 1px);
  background-size: 28px 28px;
}

.work-overlay-meta {
  position: absolute;
  top: var(--space-4);
  left: var(--space-4);
  right: var(--space-4);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.meta-tag {
  font-family: var(--font-mono);
  font-size: var(--text-2xs);
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  padding: 4px 8px;
  border-radius: var(--radius-xs);
  backdrop-filter: blur(8px);
}

.meta-status {
  font-family: var(--font-mono);
  font-size: var(--text-2xs);
  color: #10B981;
}

.model-badge {
  text-align: center;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-md);
  padding: var(--space-4) var(--space-6);
  color: #fff;
}

.light-badge {
  background: rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.08);
  color: var(--text-primary);
}

.model-title {
  display: block;
  font-size: var(--text-lg);
  font-weight: 800;
  letter-spacing: -0.01em;
}

.model-subtitle {
  display: block;
  font-size: var(--text-xs);
  opacity: 0.8;
  margin-top: 2px;
}

.work-meta {
  padding: var(--space-6) var(--space-8);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.work-meta-header {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-family: var(--font-mono);
  font-size: var(--text-2xs);
  color: var(--text-muted);
}

.work-title {
  font-size: var(--text-xl);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.work-desc {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: 1.6;
}

.work-tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-top: var(--space-2);
}

.tag {
  font-family: var(--font-mono);
  font-size: var(--text-2xs);
  background-color: var(--bg-subtle);
  color: var(--text-secondary);
  padding: 3px 8px;
  border-radius: var(--radius-xs);
}

.work-action {
  margin-top: var(--space-4);
  padding-top: var(--space-4);
  border-top: 1px solid var(--border-subtle);
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--accent-primary);
}

/* 8. Process Section: Step Cards (Puture Style) */
.process-steps-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-6);
}

.step--light {
  background: var(--bg-surface);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-md);
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  box-shadow: var(--shadow-sm);
}

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

.step__badge {
  font-family: var(--font-mono);
  font-size: var(--text-2xs);
  font-weight: 600;
  color: var(--accent-primary);
}

.step__progress {
  display: flex;
  gap: 4px;
  list-style: none;
}

.step__progress li {
  width: 24px;
  height: 3px;
  background-color: var(--bg-subtle);
  border-radius: 2px;
}

.step__progress li.is-on {
  background-color: var(--accent-primary);
}

.step__title {
  font-size: var(--text-lg);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.step__body {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: 1.6;
}

.step__log {
  margin-top: auto;
  padding-top: var(--space-4);
  border-top: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.step__log-val {
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--text-primary);
}

/* 9. Studio Section: Triad & 3D Isometric Layer Stack */
.studio-triad {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--text-sm);
  color: var(--text-secondary);
  margin-top: var(--space-4);
}

.studio-triad strong {
  color: var(--accent-primary);
}

.triad-dot {
  color: var(--border-strong);
}

.studio-scene-panel {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: var(--space-12);
  align-items: center;
  background-color: var(--bg-surface);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-xl);
  padding: var(--space-10);
  box-shadow: var(--shadow-sm);
}

.studio-capabilities {
  display: flex;
  flex-direction: column;
}

.capability-row {
  border-top: 1px solid var(--border-subtle);
  padding: var(--space-4) 0;
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
}

.capability-row:first-child {
  border-top: none;
}

.cap-num {
  font-family: var(--font-mono);
  font-size: var(--text-2xs);
  font-weight: 600;
  color: var(--accent-primary);
  margin-top: 2px;
}

.capability-row h3 {
  font-size: var(--text-base);
  font-weight: 700;
  letter-spacing: -0.01em;
}

.capability-row p {
  font-size: var(--text-xs);
  color: var(--text-secondary);
  margin-top: 2px;
}

/* ==========================================================================
   9. Studio Triad & Vertical 9:16 Cascading Architecture Showcase
   ========================================================================== */
.studio-scene-visual {
  min-height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  perspective: 1000px;
}

.vertical-ambient-glow {
  position: absolute;
  width: 340px;
  height: 480px;
  background: radial-gradient(circle, rgba(0, 82, 255, 0.2) 0%, rgba(0, 82, 255, 0) 70%);
  border-radius: 50%;
  filter: blur(36px);
  pointer-events: none;
  z-index: 1;
}

.vertical-device-frame {
  position: relative;
  width: 290px;
  aspect-ratio: 9 / 16;
  border-radius: 28px;
  background: #000;
  border: 2px solid rgba(0, 82, 255, 0.32);
  box-shadow: 
    0 24px 60px rgba(0, 82, 255, 0.18),
    0 0 0 1px rgba(255, 255, 255, 0.75) inset,
    0 0 24px rgba(0, 82, 255, 0.12);
  overflow: hidden;
  transition: transform var(--duration-normal) var(--ease-apple), box-shadow var(--duration-normal) var(--ease-apple);
  z-index: 2;
  cursor: pointer;
}

.vertical-device-frame:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 
    0 32px 72px rgba(0, 82, 255, 0.28),
    0 0 0 1.5px rgba(0, 82, 255, 0.6) inset,
    0 0 32px rgba(0, 82, 255, 0.24);
}

.vertical-device-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Glass Status Bars inside 9:16 Frame */
.vertical-device-topbar {
  position: absolute;
  top: 14px;
  left: 14px;
  right: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 5;
  pointer-events: none;
}

.vertical-device-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(9, 10, 12, 0.68);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-full);
  padding: 5px 11px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.04em;
}

.vertical-device-bottombar {
  position: absolute;
  bottom: 14px;
  left: 14px;
  right: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 5;
  pointer-events: none;
}

.vertical-play-badge {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(0, 82, 255, 0.85);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 6;
}

.vertical-device-frame.paused .vertical-play-badge {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1.1);
}

/* 10. Estimator Grid (Pricing Engine) */
.estimator-grid {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: var(--space-8);
  align-items: start;
}

.estimator-config-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
}

.config-block {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.config-label {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--text-sm);
  font-weight: 700;
}

.label-index {
  font-family: var(--font-mono);
  font-size: var(--text-2xs);
  color: var(--accent-primary);
  background-color: var(--accent-light);
  padding: 2px 6px;
  border-radius: var(--radius-xs);
}

.tier-options {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-3);
}

.tier-btn {
  text-align: left;
  background-color: var(--bg-surface-elevated);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-sm);
  padding: var(--space-4);
  transition: all var(--duration-fast) var(--ease-apple);
  cursor: pointer;
}

.tier-btn:hover {
  border-color: var(--border-strong);
  background-color: #fff;
}

.tier-btn.active {
  border-color: var(--accent-primary);
  background-color: #fff;
  box-shadow: 0 0 0 1px var(--accent-primary);
}

.tier-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 4px;
}

.tier-name {
  font-size: var(--text-sm);
  font-weight: 700;
}

.tier-price-tag {
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--accent-primary);
}

.tier-desc {
  display: block;
  font-size: var(--text-xs);
  color: var(--text-secondary);
  line-height: 1.4;
}

.slider-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.slider-val-badge {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--accent-primary);
  background-color: var(--accent-light);
  padding: 4px 10px;
  border-radius: var(--radius-full);
}

.custom-range {
  width: 100%;
  -webkit-appearance: none;
  height: 6px;
  border-radius: 3px;
  background: var(--bg-subtle);
  outline: none;
}

.custom-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--accent-primary);
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0, 82, 255, 0.4);
  border: 2px solid #fff;
}

.range-ticks {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: var(--text-2xs);
  color: var(--text-muted);
}

.addon-chips {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-3);
}

.addon-chip input {
  display: none;
}

.chip-inner {
  display: flex;
  flex-direction: column;
  gap: 2px;
  background-color: var(--bg-surface-elevated);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-sm);
  padding: var(--space-3) var(--space-4);
  transition: all var(--duration-fast);
  cursor: pointer;
}

.addon-chip:hover .chip-inner {
  border-color: var(--border-strong);
  background-color: #fff;
}

.addon-chip input:checked + .chip-inner {
  border-color: var(--accent-primary);
  background-color: var(--accent-light);
}

.chip-title {
  font-size: var(--text-xs);
  font-weight: 600;
}

.chip-cost {
  font-family: var(--font-mono);
  font-size: var(--text-2xs);
  color: var(--accent-primary);
  font-weight: 600;
}

/* Summary Card */
.estimator-summary-card {
  position: sticky;
  top: calc(72px + var(--space-6));
}

.summary-card-inner {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

.summary-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-mono);
  font-size: var(--text-2xs);
  color: var(--text-muted);
}

.summary-status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--accent-primary);
}

.price-display-box {
  padding: var(--space-6);
  background-color: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
}

.price-sub-label {
  font-family: var(--font-mono);
  font-size: var(--text-2xs);
  color: var(--text-muted);
  display: block;
}

.price-odometer {
  display: flex;
  align-items: baseline;
  gap: var(--space-1);
  margin: var(--space-2) 0;
}

.currency-symbol {
  font-size: var(--text-2xl);
  font-weight: 700;
}

.price-digits {
  font-family: var(--font-mono);
  font-size: clamp(2.5rem, 4vw, 3.25rem);
  font-weight: 800;
  letter-spacing: -0.04em;
}

.price-range-note {
  font-size: var(--text-xs);
  color: var(--text-secondary);
}

.price-range-note strong {
  color: var(--accent-primary);
}

.spec-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  padding: var(--space-2) 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.spec-row {
  display: flex;
  justify-content: space-between;
  font-size: var(--text-xs);
}

.spec-key {
  color: var(--text-muted);
}

.spec-val {
  font-weight: 600;
  text-align: right;
}

.summary-cta-wrap {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.cta-microcopy {
  font-size: var(--text-2xs);
  color: var(--text-muted);
  line-height: 1.4;
  text-align: center;
}

/* 11. Contact Section */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-12);
  align-items: start;
}

.contact-heading {
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin: var(--space-3) 0 var(--space-4);
}

.contact-desc {
  font-size: var(--text-base);
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 480px;
}

.direct-contact-blocks {
  margin-top: var(--space-8);
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

.direct-block {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}

.direct-label {
  font-family: var(--font-mono);
  font-size: var(--text-2xs);
  color: var(--text-muted);
}

.direct-link {
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--accent-primary);
}

.direct-static {
  font-size: var(--text-sm);
  color: var(--text-secondary);
}

/* Form */
.form-wrapper-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  box-shadow: var(--shadow-sm);
}

.form-title {
  font-size: var(--text-lg);
  font-weight: 700;
  margin-bottom: var(--space-6);
}

.inquiry-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.form-group label {
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--text-secondary);
}

.form-input {
  font-family: inherit;
  font-size: var(--text-sm);
  background-color: var(--bg-surface-elevated);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-sm);
  padding: var(--space-3) var(--space-4);
  color: var(--text-primary);
  outline: none;
  transition: border-color var(--duration-fast);
}

.form-input:focus {
  border-color: var(--accent-primary);
  background-color: #fff;
  box-shadow: 0 0 0 1px var(--accent-primary);
}

.form-actions {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin-top: var(--space-2);
}

/* 12. Floating WhatsApp Badge */
.floating-whatsapp-container {
  position: fixed;
  bottom: var(--space-6);
  right: var(--space-6);
  z-index: 90;
}

.floating-whatsapp-pill {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background-color: #25D366;
  color: #fff;
  padding: var(--space-3) var(--space-5);
  border-radius: var(--radius-full);
  box-shadow: 0 4px 18px rgba(37, 211, 102, 0.4);
  font-size: var(--text-xs);
  font-weight: 700;
  transition: transform var(--duration-fast) var(--ease-apple);
}

.floating-whatsapp-pill:hover {
  transform: translateY(-2px) scale(1.03);
  color: #fff;
}

.whatsapp-online-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #fff;
  animation: pulse 1.8s infinite;
}

/* 13. Master Footer (NO Specifications) */
.master-footer {
  background-color: var(--bg-surface);
  border-top: 1px solid var(--border-hairline);
  padding: var(--space-16) 0 var(--space-8);
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1.2fr 1.2fr;
  gap: var(--space-8);
  padding-bottom: var(--space-12);
  border-bottom: 1px solid var(--border-subtle);
}

.footer-brand-col {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.brand-tagline {
  font-size: var(--text-xs);
  color: var(--text-muted);
  max-width: 280px;
}

.footer-nav-col {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.footer-col-title {
  font-family: var(--font-mono);
  font-size: var(--text-2xs);
  letter-spacing: 0.08em;
  color: var(--text-primary);
  font-weight: 700;
  margin-bottom: var(--space-2);
}

.footer-nav-col a {
  font-size: var(--text-xs);
  color: var(--text-secondary);
}

.footer-nav-col a:hover {
  color: var(--accent-primary);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--space-6);
  font-size: var(--text-xs);
  color: var(--text-muted);
}

.btn-back-to-top {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  color: var(--text-secondary);
}

.btn-back-to-top:hover {
  color: var(--accent-primary);
}

/* 14. Staggered Scroll Reveals */
.reveal-item {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity var(--duration-reveal) var(--ease-apple), transform var(--duration-reveal) var(--ease-apple);
  will-change: opacity, transform;
}

.reveal-item.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* 15. Responsive Layouts */
@media (max-width: 1024px) {
  .hero-story-stage {
    padding: calc(72px + var(--space-3)) var(--space-6) var(--space-4);
  }

  .chapter-grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: var(--space-8);
  }

  .story-chapter-tracker {
    right: var(--space-4);
  }

  .feature-row {
    grid-template-columns: 1fr;
  }

  .work-showcase-grid {
    grid-template-columns: 1fr;
  }

  .process-steps-grid {
    grid-template-columns: 1fr;
  }

  .studio-scene-panel {
    grid-template-columns: 1fr;
  }

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

  .contact-grid {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    display: none;
  }

  .mobile-toggle {
    display: flex;
  }

  .hero-story-stage {
    padding: calc(72px + var(--space-2)) var(--space-4) var(--space-4);
  }

  .chapter-grid {
    grid-template-columns: 1fr;
    gap: var(--space-4);
    align-items: flex-start;
  }

  .story-chapter-tracker {
    display: none;
  }

  .hero-telemetry-card {
    display: none;
  }

  .hero-title {
    font-size: clamp(2.4rem, 8.5vw, 3.6rem);
  }

  .hero-title-sub {
    font-size: clamp(1.85rem, 6.2vw, 2.75rem);
  }

  .hero-lede {
    font-size: var(--text-base);
  }

  .hero-scroll-indicator {
    padding-top: var(--space-2);
  }

  .scroll-prompt-text {
    font-size: 9px;
  }

  .hero-metrics-ribbon {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-6);
  }

  .metric-divider {
    display: none;
  }

  .addon-chips {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .reel-theater-topbar {
    padding: var(--space-2) var(--space-4);
  }

  .reel-live-tag,
  .reel-topbar-right {
    font-size: 10px;
  }

  .reel-footer-strip {
    grid-template-columns: 1fr;
    gap: var(--space-4);
    padding: var(--space-4);
  }

  .reel-overlay-controls {
    bottom: var(--space-3);
    left: var(--space-3);
    right: var(--space-3);
  }

  .reel-time-badge,
  .reel-spec-pill {
    display: none;
  }

  .pinned-chapter-grid {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }

  .studio-pinned-grid {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }

  .story-pinned-stage {
    padding: calc(64px + var(--space-2)) var(--space-4) var(--space-3);
  }

  .showcase-card {
    flex: 0 0 86vw;
  }

  .studio-3d-device-zone {
    display: none;
  }

  .studio-rail-item {
    opacity: 0.6;
  }

  .studio-scene-visual {
    min-height: 440px;
    margin-top: var(--space-6);
  }

  .vertical-device-frame {
    width: 240px;
  }

  .footer-top {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    gap: var(--space-4);
  }
}

/* 16. Prefers-Reduced-Motion */
@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;
  }

  .ambient-canvas,
  .cursor-spotlight,
  .cursor-dot {
    display: none !important;
  }
}
