@import "./shared/tokens.css";

/* =====================================================================
   DIGITAL FLOW — CONTINUOUS OPENING EXPERIENCE (BRAND SYSTEM 2026)
   Interaction Architecture: One Continuous Scene (Hero -> Connected Orbit)
   Art Direction & Craft: Editorial-Tech Restraint (Prototype A Discipline)
   ===================================================================== */

/* 1. Header & Navigation */
.df-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  background: rgba(23, 24, 22, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--df-border-subtle);
  z-index: 1000;
}

.df-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--df-text-primary);
}

.df-brand-symbol {
  width: 26px;
  height: 26px;
  display: block;
}

.df-brand-wordmark {
  font-family: var(--df-font-sans);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--df-text-primary);
}

.df-header-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.df-header-status {
  font-family: var(--df-font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--df-text-faint);
}

.df-header-cta {
  font-family: var(--df-font-mono);
  font-size: 11px;
  font-weight: 600;
  color: #1C1D1B;
  background: var(--df-signal-green);
  padding: 6px 14px;
  border-radius: 6px;
  text-decoration: none;
  transition: all 180ms ease;
}

.df-header-cta:hover {
  background: #cbfb60;
  transform: translateY(-1px);
}

/* 2. Main Container (No overflow-x: hidden to preserve position: sticky) */
.proto-container {
  width: 100%;
  background-color: transparent;
  color: var(--df-text-primary);
  position: relative;
}

/* 3. ONE Continuous Scene (Total scroll travel ~380vh) */
.continuous-scene {
  height: 380vh;
  position: relative;
  background-color: transparent;
}

.scene-viewport {
  position: sticky;
  top: 64px;
  height: calc(100vh - 64px);
  width: 100%;
  overflow: hidden;
}

/* 4. Shared Ambient Environment (Always Continuous in Background) */
.ambient-environment {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.env-grid {
  display: none;
}

.env-conduits {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.conduit {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(180deg, 
    transparent 0%, 
    rgba(242, 238, 230, 0.02) 15%, 
    rgba(242, 238, 230, 0.04) 50%, 
    rgba(242, 238, 230, 0.02) 85%, 
    transparent 100%
  );
}

.c-1 { left: 16%; }
.c-2 { left: 36%; }
.c-3 { left: 64%; }
.c-4 { left: 84%; }

.env-glow {
  display: none;
}

/* 5. Primary Hero Composition (Centered, refined breathing room) */
.hero-stage {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding-top: clamp(84px, 12.5vh, 120px);
  z-index: 10;
  pointer-events: auto;
  transition: opacity 160ms cubic-bezier(0.16, 1, 0.3, 1), transform 160ms cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-content {
  max-width: 900px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: clamp(18px, 2.5vh, 26px);
  padding: 0 24px;
}

/* Eyebrow — Clean Floating Editorial Typography */
.df-capability-eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  padding: 0;
  background: transparent;
  border: none;
}

.eyebrow-accent {
  color: var(--df-signal-green);
  font-size: 8px;
  margin-right: 6px;
}

.df-capability-eyebrow span {
  font-family: var(--df-font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--df-text-muted);
}

/* Primary Headline */
.hero-title {
  font-family: var(--df-font-sans);
  font-size: clamp(40px, 5.2vw, 56px);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: var(--df-text-primary);
  margin: 0;
  max-width: 860px;
  text-wrap: balance;
}

/* Supporting Copy */
.hero-subtitle {
  font-family: var(--df-font-sans);
  font-size: clamp(17px, 1.35vw, 19px);
  line-height: 1.58;
  color: var(--df-text-muted);
  max-width: 620px;
  margin: 0;
  text-wrap: balance;
}

/* CTAs: Strictly Centered */
.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 8px;
  width: 100%;
}

.df-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  font-family: var(--df-font-sans);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 6px;
  transition: all 180ms ease;
  cursor: pointer;
}

.df-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, rgba(182, 255, 46, 0.12) 0%, rgba(29, 29, 27, 0.94) 80%);
  color: #F4F0E7 !important;
  border: 1.5px solid rgba(182, 255, 46, 0.75);
  box-shadow: 
    0 4px 20px -2px rgba(0, 0, 0, 0.70),
    0 0 16px -4px rgba(182, 255, 46, 0.25),
    inset 0 1px 0 rgba(182, 255, 46, 0.20);
}

.df-btn-primary::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--df-signal-green, #B6FF2E);
  box-shadow: 0 0 8px rgba(182, 255, 46, 0.90);
}

.df-btn-primary:hover {
  background: linear-gradient(135deg, rgba(182, 255, 46, 0.22) 0%, rgba(29, 29, 27, 0.96) 80%);
  border-color: rgba(182, 255, 46, 0.95);
  color: #F4F0E7 !important;
  transform: translateY(-1.5px);
  box-shadow: 
    0 8px 28px -4px rgba(0, 0, 0, 0.75),
    0 0 24px -2px rgba(182, 255, 46, 0.35),
    inset 0 1px 0 rgba(182, 255, 46, 0.30);
}

.df-btn-secondary {
  background: rgba(244, 240, 231, 0.04);
  border: 1px solid rgba(244, 240, 231, 0.14);
  color: var(--df-text-primary, #F2EEE6);
}

.df-btn-secondary:hover {
  background: rgba(244, 240, 231, 0.08);
  border-color: rgba(244, 240, 231, 0.30);
  color: #F4F0E7;
  transform: translateY(-1px);
}

/* Peeking Continuation Cue */
.hero-peeking-cue {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  margin-top: clamp(16px, 2.2vh, 26px);
  pointer-events: none;
  transition: opacity 180ms ease;
}

.cue-label {
  font-family: var(--df-font-mono);
  font-size: 9.5px;
  letter-spacing: 0.14em;
  color: var(--df-text-faint);
}

.cue-line {
  width: 1px;
  height: 20px;
  background: linear-gradient(180deg, var(--df-signal-green) 0%, transparent 100%);
  animation: pulse-line 2.2s infinite ease-in-out;
}

@keyframes pulse-line {
  0% { transform: scaleY(0.4); opacity: 0.3; }
  50% { transform: scaleY(1); opacity: 0.9; }
  100% { transform: scaleY(0.4); opacity: 0.3; }
}

/* =====================================================================
   6. Section 2 Continuous Stage: Editorial Layout (Left) + Orbit (Right)
   Authentic Section 2 Information Hierarchy & Editorial Impact
   ===================================================================== */
.solutions-stage {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  padding: 0 clamp(24px, 5vw, 80px);
  will-change: transform;
}

.solutions-layout {
  width: 100%;
  max-width: 1400px;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  align-items: center;
  gap: clamp(28px, 4vw, 72px);
  position: relative;
  z-index: 10;
}

/* Primary Editorial Area (Grand Editorial Typography & Open Space) */
.solutions-editorial {
  position: relative;
  max-width: 600px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  pointer-events: auto;
  opacity: 0;
  transition: opacity 280ms cubic-bezier(0.16, 1, 0.3, 1);
}

.editorial-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: opacity 200ms ease, transform 200ms ease;
}

.editorial-problem {
  font-family: var(--df-font-sans);
  font-size: clamp(17px, 1.4vw, 21px);
  line-height: 1.5;
  font-weight: 500;
  color: #A8A69E;
  margin: 0 0 16px 0;
  max-width: 44ch;
}

.editorial-eyebrow {
  font-family: var(--df-font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--df-signal-green);
  margin: 0 0 14px 0;
}

.editorial-title {
  font-family: var(--df-font-sans);
  font-size: clamp(42px, 5.5vw, 72px);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.035em;
  color: var(--df-text-primary);
  margin: 0 0 20px 0;
  text-wrap: balance;
}

/* For overview & closing where headline is a full phrase */
.editorial-title.phrase-title {
  font-size: clamp(30px, 3.8vw, 50px);
  line-height: 1.1;
  letter-spacing: -0.025em;
}

.editorial-result {
  font-family: var(--df-font-sans);
  font-size: clamp(16px, 1.3vw, 19px);
  line-height: 1.55;
  color: var(--df-text-muted);
  margin: 0 0 28px 0;
  max-width: 44ch;
}

.editorial-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.editorial-cta {
  display: inline-flex;
  align-items: center;
  padding: 13px 26px;
  font-family: var(--df-font-sans);
  font-size: 14.5px;
  font-weight: 600;
  color: var(--df-text-primary);
  background: rgba(242, 238, 230, 0.05);
  border: 1px solid rgba(242, 238, 230, 0.25);
  border-radius: 999px;
  text-decoration: none;
  cursor: pointer;
  transition: all 180ms ease;
}

.editorial-cta:hover {
  background: var(--df-signal-green);
  color: #1C1D1B;
  border-color: var(--df-signal-green);
  box-shadow: 0 4px 16px rgba(182, 255, 46, 0.25);
  transform: translateY(-2px);
}

.editorial-cta.cta-primary {
  background: var(--df-signal-green);
  color: #1C1D1B;
  border-color: var(--df-signal-green);
  box-shadow: 0 4px 16px rgba(182, 255, 46, 0.25);
}

.editorial-cta.cta-primary:hover {
  background: #cbfb60;
  transform: translateY(-2px);
}

.editorial-cue {
  font-family: var(--df-font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--df-text-faint);
  margin: 0;
  text-transform: uppercase;
}

/* Right Visual Area: Connected Orbit Stage Canvas */
.solutions-visual {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1100px;
  pointer-events: auto;
}

.orbit-world {
  width: 640px;
  height: 640px;
  position: relative;
  transform-style: preserve-3d;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Central Nucleus: YOUR BUSINESS with Continuous Pulsing Waves */
.business-nucleus {
  position: absolute;
  width: 170px;
  height: 170px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transform-style: preserve-3d;
  z-index: 5;
}

.pulse-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(242, 238, 230, 0.08);
  pointer-events: none;
}

.pulse-ring-1 {
  width: 210px;
  height: 210px;
  animation: pulse-wave 3.6s infinite ease-out;
}

.pulse-ring-2 {
  width: 210px;
  height: 210px;
  animation: pulse-wave 3.6s infinite ease-out 1.2s;
}

.pulse-ring-3 {
  width: 210px;
  height: 210px;
  animation: pulse-wave 3.6s infinite ease-out 2.4s;
}

@keyframes pulse-wave {
  0% { transform: scale(0.85); opacity: 0.6; }
  100% { transform: scale(1.6); opacity: 0; }
}

.nucleus-core {
  width: 144px;
  height: 144px;
  border-radius: 50%;
  background: radial-gradient(circle, #222320 0%, #141513 85%);
  border: 1px solid rgba(242, 238, 230, 0.16);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.85), inset 0 0 14px rgba(242, 238, 230, 0.04);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 3px;
  padding: 12px;
}

.nucleus-symbol {
  width: 26px;
  height: 26px;
  margin-bottom: 2px;
}

.nucleus-title {
  font-family: var(--df-font-sans);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--df-text-primary);
}

.nucleus-sub {
  font-family: var(--df-font-mono);
  font-size: 8.5px;
  letter-spacing: 0.12em;
  color: var(--df-text-faint);
}

/* SVG Orbital Layer */
.orbit-svg-layer {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 2;
}

.orbit-ring-guide {
  fill: none;
  stroke: rgba(242, 238, 230, 0.08);
  stroke-width: 1;
  stroke-dasharray: 4 6;
}

.orbit-ring-inner {
  fill: none;
  stroke: rgba(242, 238, 230, 0.05);
  stroke-width: 1;
  stroke-dasharray: 2 4;
}

.orbit-bus-ray {
  stroke: rgba(242, 238, 230, 0.12);
  stroke-width: 1.1;
  stroke-dasharray: 4 4;
  transition: opacity 200ms ease;
}

/* Active Signal Laser Beam (Prototype B Fidelity) */
.active-beam {
  stroke: var(--df-signal-green);
  stroke-width: 2;
  stroke-dasharray: 6 4;
  opacity: 0.95;
  filter: drop-shadow(0 0 8px rgba(182, 255, 46, 0.75));
  transition: all 180ms ease;
}

/* 7. Orbiting Capability Cards (Standalone Possibilities) */
.orbit-card {
  position: absolute;
  width: 172px;
  height: 196px;
  transform-style: preserve-3d;
  cursor: pointer;
  z-index: 6;
  transition: opacity 200ms ease;
}

.card-inner {
  width: 100%;
  height: 100%;
  background: var(--df-surface-card);
  border: 1px solid var(--df-border-frame);
  border-radius: 12px;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.45);
  transition: all 250ms cubic-bezier(0.16, 1, 0.3, 1);
  /* PERF: backdrop-filter removed. The card background is an opaque colour,
     so the blur was never visible, but it made the browser re-render and blur
     everything behind four moving 3D cards on every frame. */
}

/* Active Focused Option — Scale & Crisp Volt Highlight (Prototype B Motion + Craft) */
.orbit-card.active .card-inner,
.orbit-card:hover .card-inner {
  border-color: var(--df-signal-green);
  background: var(--df-surface-elevated);
  transform: scale(1.15);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.7), 0 0 20px rgba(182, 255, 46, 0.25);
}

/* Synced State for All Cards at Resolution State */
.orbit-card.synced .card-inner {
  border-color: rgba(182, 255, 46, 0.75);
  background: var(--df-surface-elevated);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.65), 0 0 14px rgba(182, 255, 46, 0.2);
}

.card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.card-num {
  font-family: var(--df-font-mono);
  font-size: 9.5px;
  font-weight: 600;
  color: var(--df-signal-green);
}

.card-badge {
  font-family: var(--df-font-mono);
  font-size: 8px;
  font-weight: 600;
  padding: 2px 5px;
  border-radius: 3px;
  background: rgba(242, 238, 230, 0.06);
  border: 1px solid rgba(242, 238, 230, 0.08);
  color: var(--df-text-muted);
}

.card-title {
  font-family: var(--df-font-sans);
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1.25;
  color: var(--df-text-primary);
  margin-bottom: 6px;
}

.card-foot {
  font-family: var(--df-font-mono);
  font-size: 8.5px;
  letter-spacing: 0.04em;
  color: var(--df-text-muted);
  border-top: 1px solid var(--df-border-subtle);
  padding-top: 6px;
}

/* Micro UI Mockups & Video Proof */
.mini-ui {
  height: 72px;
  background: rgba(20, 21, 19, 0.9);
  border-radius: 6px;
  border: 1px solid rgba(242, 238, 230, 0.09);
  padding: 7px 8px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.mini-ui.has-video {
  padding: 0;
  overflow: hidden;
  position: relative;
  background: #111210;
  border-radius: 6px;
  border: 1px solid rgba(242, 238, 230, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 5px;
  transition: opacity 300ms ease, filter 300ms ease;
  filter: brightness(0.92) contrast(1.04);
}

.orbit-card.active .card-video {
  filter: brightness(1.02) contrast(1.08);
}

.card-video-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: 5px;
  box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(242, 238, 230, 0.06);
}

/* Micro Browser */
.micro-browser-bar {
  display: flex;
  align-items: center;
  gap: 4px;
  padding-bottom: 4px;
  border-bottom: 1px solid rgba(242, 238, 230, 0.08);
}

.m-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
}
.m-dot.red { background: #FF5F56; }
.m-dot.yellow { background: #FFBD2E; }
.m-dot.green { background: #27C93F; }

.m-url {
  font-family: var(--df-font-mono);
  font-size: 7.5px;
  color: var(--df-text-faint);
  margin-left: 2px;
}

.micro-browser-body {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  margin-top: 4px;
}

.m-wire-hero {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.m-wire-line {
  height: 4px;
  background: rgba(242, 238, 230, 0.1);
  border-radius: 1px;
}
.m-wire-line.l1 { width: 85%; }
.m-wire-line.l2 { width: 60%; }

.m-wire-cta {
  font-family: var(--df-font-mono);
  font-size: 8px;
  font-weight: 600;
  color: #1C1D1B;
  background: var(--df-signal-green);
  padding: 3px 6px;
  border-radius: 3px;
}

/* Micro App Portal */
.micro-app-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--df-font-mono);
  font-size: 8px;
  color: var(--df-text-muted);
}

.m-badge {
  background: rgba(242, 255, 36, 0.14);
  padding: 1px 4px;
  border-radius: 2px;
  color: var(--df-electric-yellow, #F2FF24);
  font-size: 7.5px;
}

.micro-app-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--df-font-mono);
  font-size: 8px;
}

.m-row-name {
  color: var(--df-text-muted);
}

.m-status-pill {
  padding: 1px 5px;
  border-radius: 3px;
  font-size: 7.5px;
}

.m-status-pill.in-prog {
  background: rgba(242, 255, 36, 0.14);
  color: var(--df-electric-yellow, #F2FF24);
}

.m-status-pill.queued {
  background: rgba(244, 240, 231, 0.08);
  color: var(--df-text-faint);
}

/* Micro Marketing */
.micro-mkt-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--df-font-mono);
  font-size: 8px;
  color: var(--df-text-muted);
}

.m-growth-tag {
  font-weight: 600;
  color: var(--df-hot-pink, #FF3D9A);
}

.micro-mkt-bars {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 22px;
}

.m-bar {
  flex: 1;
  background: rgba(244, 240, 231, 0.12);
  border-radius: 2px 2px 0 0;
}
.m-bar.b-1 { height: 40%; }
.m-bar.b-2 { height: 60%; }
.m-bar.b-3 { height: 50%; }
.m-bar.b-4 { height: 80%; }
.m-bar.b-5 { height: 100%; background: var(--df-hot-pink, #FF3D9A); }

/* Micro Automation Flow */
.micro-flow-diagram {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--df-font-mono);
  font-size: 7.5px;
}

.m-node-dot {
  background: rgba(244, 240, 231, 0.08);
  padding: 2px 4px;
  border-radius: 3px;
  color: var(--df-text-muted);
}

.m-node-dot.active {
  background: rgba(255, 61, 154, 0.16);
  color: var(--df-hot-pink, #FF3D9A);
}

.m-node-arrow {
  color: var(--df-text-faint);
}

.micro-flow-rate {
  font-family: var(--df-font-mono);
  font-size: 7.5px;
  color: var(--df-hot-pink, #FF3D9A);
  text-align: center;
}

/* Micro Custom Spec */
.micro-spec-line {
  display: flex;
  justify-content: space-between;
  font-family: var(--df-font-mono);
  font-size: 8px;
}

.spec-k-word { color: var(--df-text-faint); }
.spec-v-word { color: var(--df-text-primary); }

.micro-spec-state {
  display: flex;
  justify-content: space-between;
  font-family: var(--df-font-mono);
  font-size: 8px;
}

.spec-badge {
  color: var(--df-electric-orange, #FF6A1A);
  background: rgba(255, 106, 26, 0.16);
  padding: 1px 4px;
  border-radius: 2px;
}

.spec-proto {
  color: var(--df-text-muted);
}

/* 8. Minimal Grounding Floor (Transition to future Section 2) */
.hero-grounding-floor {
  padding: 40px 24px;
  background-color: var(--df-surface-ink);
  border-top: 1px solid var(--df-border-subtle);
  text-align: center;
  position: relative;
  z-index: 10;
}

.grounding-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.grounding-tag {
  font-family: var(--df-font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--df-signal-green);
}

.grounding-note {
  font-size: 14px;
  color: var(--df-text-muted);
}

/* 9. Responsive Breakpoints (First-Class Mobile Experience) */
@media (max-width: 960px) {
  .df-header {
    padding: 0 20px;
  }
  .df-header-status {
    display: none;
  }
  .continuous-scene {
    height: 360vh;
  }
  .hero-stage {
    padding-top: 4vh;
  }
  .hero-title {
    font-size: 32px;
  }
  .hero-subtitle {
    font-size: 16px;
  }
  .solutions-layout {
    gap: 24px;
  }
  .editorial-title {
    font-size: 40px;
  }
  .editorial-title.phrase-title {
    font-size: 28px;
  }
  .orbit-world {
    transform-origin: center center;
  }
}

@media (max-width: 640px) {
  .df-header {
    padding: 0 16px;
    height: 56px;
  }
  .df-brand-wordmark {
    display: none;
  }
  .df-header-cta {
    font-size: 10px;
    padding: 4px 10px;
  }
  .scene-viewport {
    top: 56px;
    height: calc(100vh - 56px);
  }
  .hero-stage {
    padding-top: clamp(38px, 6.8vh, 54px);
  }
  .hero-content {
    gap: 16px;
    padding: 0 20px;
  }
  .df-capability-eyebrow span {
    font-size: 8.5px;
    letter-spacing: 0.06em;
  }
  .hero-title {
    font-size: clamp(25px, 6.8vw, 30px);
    line-height: 1.18;
  }
  .hero-subtitle {
    font-size: 14.5px;
    line-height: 1.48;
  }
  .hero-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    max-width: 290px;
    margin-top: 6px;
  }
  .df-btn {
    width: 100%;
    padding: 11px 20px;
    font-size: 13.5px;
    text-align: center;
  }
  .hero-peeking-cue {
    margin-top: 14px;
  }
  .cue-label {
    font-size: 8.5px;
  }
  /* On mobile, stack editorial layout gracefully */
  .solutions-stage {
    padding: 0 16px;
    align-items: flex-start;
    padding-top: 2vh;
  }
  .solutions-layout {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }
  .solutions-visual {
    order: 1;
    transform-origin: center center;
    margin-top: -24px;
    margin-bottom: -46px;
  }
  .solutions-editorial {
    order: 2;
    max-width: 100%;
    align-items: center;
    text-align: center;
  }
  .editorial-content {
    align-items: center;
    text-align: center;
  }
  .editorial-problem {
    font-size: 13.5px;
    line-height: 1.4;
    margin-bottom: 6px;
    max-width: 100%;
  }
  .editorial-eyebrow {
    font-size: 9px;
    margin-bottom: 6px;
  }
  .editorial-title {
    font-size: 27px;
    line-height: 1.05;
    margin-bottom: 8px;
  }
  .editorial-title.phrase-title {
    font-size: 20px;
    line-height: 1.2;
  }
  .editorial-result {
    font-size: 13.5px;
    line-height: 1.45;
    margin-bottom: 16px;
    max-width: 100%;
  }
  .editorial-cta {
    padding: 10px 20px;
    font-size: 13px;
  }
  .editorial-cue {
    font-size: 10px;
  }
}
