/* ═══ Cinematic Hero — split layout jak Dribbble / WIZLO ═══ */

.hero-cinematic {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #04050a;
  padding: 5.5rem 0 4rem;
}

.hero-cinematic-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 55% 45% at 78% 42%, rgba(124, 58, 237, 0.22), transparent 70%),
    radial-gradient(ellipse 40% 35% at 72% 55%, rgba(212, 175, 55, 0.14), transparent 65%),
    radial-gradient(ellipse 80% 60% at 20% 80%, rgba(15, 23, 42, 0.9), transparent 70%),
    linear-gradient(180deg, #05060c 0%, #04050a 45%, #030408 100%);
  pointer-events: none;
}

.hero-cinematic-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
  min-height: calc(100vh - 8rem);
  min-height: calc(100dvh - 8rem);
}

.hero-cinematic-copy {
  max-width: 620px;
  padding: 1rem 0;
}

.hero-cinematic-copy .hero-content {
  text-align: left;
  max-width: none;
  padding: 0;
}

.hero-cinematic-copy h1 {
  font-size: clamp(2.5rem, 4.8vw, 4.25rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
  animation: heroFadeUp 0.9s ease both;
}

.hero-cinematic-copy p {
  font-size: clamp(1rem, 1.35vw, 1.125rem);
  line-height: 1.7;
  color: rgba(226, 232, 240, 0.72);
  max-width: 520px;
  margin-bottom: 2rem;
  animation: heroFadeUp 0.9s 0.12s ease both;
}

.hero-cinematic-copy .badge {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  animation: heroFadeUp 0.7s ease both;
}

.hero-cinematic-copy .hero-cta {
  display: flex;
  gap: 0.875rem;
  flex-wrap: wrap;
  margin-bottom: 2.25rem;
  animation: heroFadeUp 0.9s 0.24s ease both;
}

.hero-btn-light.btn-primary {
  background: #f8fafc;
  color: #0f172a;
  border-color: #f8fafc;
  box-shadow: 0 12px 40px rgba(248, 250, 252, 0.12);
}

.hero-btn-light.btn-primary:hover {
  background: #fff;
  transform: translateY(-1px);
}

.hero-btn-gold.btn-outline {
  border-color: rgba(212, 175, 55, 0.55);
  color: #f8fafc;
  background: rgba(212, 175, 55, 0.12);
  backdrop-filter: blur(8px);
}

.hero-btn-gold.btn-outline:hover {
  background: rgba(212, 175, 55, 0.22);
  border-color: var(--primary);
}

.hero-stats--cinematic {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  animation: heroFadeUp 0.9s 0.36s ease both;
}

.hero-stats--cinematic .stat-value {
  font-size: 1.5rem;
}

.hero-stats--cinematic .stat-label {
  font-size: 0.8rem;
  color: rgba(148, 163, 184, 0.9);
}

/* ── Scena 3D po prawej ── */
.hero-cinematic-stage {
  position: relative;
  min-height: min(72vh, 760px);
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1200px;
  transform-style: preserve-3d;
  --hero-tilt-x: 0deg;
  --hero-tilt-y: 0deg;
  animation: heroFadeUp 1s 0.15s ease both;
}

.hero-cinematic .hero-3d-wrap {
  position: relative;
  width: min(100%, 640px);
  height: min(72vh, 700px);
  transform: rotateX(var(--hero-tilt-x)) rotateY(var(--hero-tilt-y));
  transition: transform 0.35s ease-out;
  pointer-events: auto;
}

.hero-model-ambient,
.hero-model-glow,
.hero-model-flare,
.hero-model-ring,
.hero-model-floor {
  position: absolute;
  pointer-events: none;
}

.hero-model-ambient {
  inset: -15%;
  background: radial-gradient(circle at 55% 45%, rgba(88, 28, 135, 0.35), transparent 62%);
  filter: blur(40px);
  z-index: 0;
}

.hero-model-glow {
  width: 70%;
  height: 70%;
  left: 50%;
  top: 46%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(212, 175, 55, 0.35) 0%, rgba(124, 58, 237, 0.28) 35%, transparent 72%);
  filter: blur(48px);
  z-index: 1;
  animation: heroGlowPulse 5s ease-in-out infinite;
}

.hero-model-flare {
  width: 42%;
  height: 22%;
  left: 58%;
  top: 18%;
  transform: translateX(-50%);
  background: radial-gradient(ellipse, rgba(255, 255, 255, 0.55) 0%, rgba(212, 175, 55, 0.2) 35%, transparent 72%);
  filter: blur(28px);
  opacity: 0.75;
  z-index: 2;
  animation: heroFlarePulse 4s ease-in-out infinite;
}

.hero-model-ring {
  width: 88%;
  height: 88%;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 50%;
  z-index: 2;
  opacity: 0.5;
}

.hero-model-floor {
  left: 10%;
  right: 10%;
  bottom: 4%;
  height: 28%;
  background: radial-gradient(ellipse at center, rgba(212, 175, 55, 0.18), transparent 70%);
  filter: blur(24px);
  z-index: 1;
}

@keyframes heroGlowPulse {
  0%, 100% { opacity: 0.75; transform: translate(-50%, -50%) scale(1); }
  50%      { opacity: 1; transform: translate(-50%, -50%) scale(1.08); }
}

@keyframes heroFlarePulse {
  0%, 100% { opacity: 0.55; }
  50%      { opacity: 0.9; }
}

.hero-cinematic .hero-model-viewer,
.hero-cinematic .hero-sketchfab {
  position: relative;
  z-index: 3;
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  background: transparent;
  --poster-color: transparent;
}

.hero-cinematic .hero-scroll-hint {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
}

body:has(.hero-cinematic) .navbar {
  background: rgba(4, 5, 10, 0.55);
  backdrop-filter: blur(16px);
  border-bottom-color: rgba(255, 255, 255, 0.06);
}

@media (max-width: 1024px) {
  .hero-cinematic {
    padding-top: 6rem;
    align-items: flex-start;
  }
  .hero-cinematic-grid {
    grid-template-columns: 1fr;
    min-height: auto;
    gap: 2rem;
  }
  .hero-cinematic-copy {
    max-width: none;
    text-align: center;
  }
  .hero-cinematic-copy .hero-content {
    text-align: center;
  }
  .hero-cinematic-copy p {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-cinematic-copy .hero-cta {
    justify-content: center;
  }
  .hero-stats--cinematic {
    justify-content: center;
  }
  .hero-cinematic-stage {
    min-height: 52vh;
    order: -1;
  }
  .hero-cinematic .hero-3d-wrap {
    width: min(100%, 520px);
    height: 52vh;
    margin: 0 auto;
  }
}

@media (max-width: 640px) {
  .hero-cinematic-stage {
    min-height: 44vh;
  }
  .hero-cinematic .hero-3d-wrap {
    height: 44vh;
  }
  .hero-cinematic .hero-scroll-hint {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-cinematic-stage,
  .hero-cinematic .hero-3d-wrap {
    transform: none !important;
    transition: none !important;
  }
  .hero-model-glow,
  .hero-model-flare {
    animation: none !important;
  }
}

/* ═══ Immersive 3D Hero — legacy full-screen ═══ */

.hero-immersive {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  background: #0a0f1a;
}

.hero-3d-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: auto;
}

.hero-sketchfab-style .hero-model-viewer,
.hero-sketchfab-style .hero-sketchfab {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  background: transparent;
  --poster-color: transparent;
}

.hero-model-hint {
  position: absolute;
  top: 5.5rem;
  right: 1.25rem;
  z-index: 2;
  pointer-events: none;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.4rem 0.8rem;
  font-size: 0.72rem;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.55);
  background: rgba(10, 15, 26, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  backdrop-filter: blur(10px);
  animation: heroFadeUp 1s 1.2s ease both;
}

.hero-model-hint-icon {
  color: var(--primary);
  font-size: 0.9rem;
}

#hero3dCanvas {
  display: block;
  width: 100% !important;
  height: 100% !important;
}

.hero-gradient-top {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 35%;
  background: linear-gradient(to bottom, rgba(180, 40, 40, 0.22), transparent);
  pointer-events: none;
  z-index: 1;
}

.hero-gradient-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 55%;
  background: linear-gradient(to top, rgba(10, 15, 26, 0.95) 0%, rgba(10, 15, 26, 0.6) 40%, transparent 100%);
  pointer-events: none;
  z-index: 1;
}

.hero-vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 35%, rgba(10, 15, 26, 0.65) 100%);
  pointer-events: none;
  z-index: 1;
}

.hero-scanlines {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(0, 0, 0, 0.03) 2px,
    rgba(0, 0, 0, 0.03) 4px
  );
  pointer-events: none;
  z-index: 1;
  opacity: 0.4;
}

.hero-immersive-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 0 1.25rem 5rem;
  pointer-events: none;
}

.hero-immersive-content a,
.hero-immersive-content button {
  pointer-events: auto;
}

.hero-content--center {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  padding: 0;
}

.hero-content--center .hero-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.hero-stats--inline {
  display: flex;
  justify-content: center;
  gap: 2.5rem;
  flex-wrap: wrap;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: none;
}

.hero-immersive .hero-scroll-hint {
  z-index: 3;
}

.hero-immersive .hero-content h1 {
  font-size: clamp(2.25rem, 6vw, 4.5rem);
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
  animation: heroFadeUp 1s ease both;
}

.hero-immersive .hero-content p {
  font-size: 1.125rem;
  max-width: 560px;
  margin: 0 auto 1.5rem;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6);
}

.hero-immersive .badge {
  backdrop-filter: blur(8px);
  animation: heroFadeUp 0.8s ease both;
}

/* Navbar przezroczysty nad hero */
body:has(.hero-immersive) .navbar {
  background: rgba(10, 15, 26, 0.35);
  border-bottom-color: rgba(255, 255, 255, 0.06);
}

/* ═══ Animated Hero — Architektura ↔ Model 3D (legacy panels) ═══ */

.hero-animated {
  min-height: 100vh;
  align-items: stretch;
}

.hero-animated .hero-anim-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-animated .hero-anim-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .35;
  transform: scale(1.05);
  animation: heroKenBurns 20s ease-in-out infinite alternate;
}

@keyframes heroKenBurns {
  from { transform: scale(1.05) translate(0, 0); }
  to   { transform: scale(1.12) translate(-1%, -1%); }
}

.hero-animated .hero-overlay {
  background:
    radial-gradient(ellipse 80% 60% at 70% 50%, rgba(212, 175, 55, .08), transparent 60%),
    linear-gradient(135deg, rgba(10, 15, 26, .92) 0%, rgba(15, 23, 42, .88) 50%, rgba(10, 15, 26, .94) 100%);
}

.hero-animated-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
  min-height: calc(100vh - 64px);
  padding: 5rem 0 3rem;
}

.hero-animated .hero-content {
  max-width: none;
  padding: 0;
}

.hero-animated .hero-content h1 {
  animation: heroFadeUp .8s ease both;
}

.hero-animated .hero-content .badge { animation: heroFadeUp .6s ease both; }
.hero-animated .hero-content p { animation: heroFadeUp .8s .15s ease both; }
.hero-animated .hero-content .hero-cta { animation: heroFadeUp .8s .3s ease both; }
.hero-animated .hero-stats { animation: heroFadeUp .8s .45s ease both; }

@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── Visual container ── */
.hero-visual {
  position: relative;
  height: min(520px, 70vh);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  animation: heroFadeUp 1s .2s ease both;
  transform-style: preserve-3d;
  will-change: transform;
}

.hero-visual-glow {
  position: absolute;
  width: 60%;
  height: 60%;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(212, 175, 55, .18), transparent 70%);
  filter: blur(40px);
  animation: glowPulse 4s ease-in-out infinite;
  pointer-events: none;
}

@keyframes glowPulse {
  0%, 100% { opacity: .6; transform: translate(-50%, -50%) scale(1); }
  50%      { opacity: 1;  transform: translate(-50%, -50%) scale(1.15); }
}

/* ── Panels ── */
.hero-panel {
  position: relative;
  width: 42%;
  height: 85%;
  border: 1px solid rgba(212, 175, 55, .2);
  border-radius: 16px;
  background: rgba(17, 24, 39, .6);
  backdrop-filter: blur(8px);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1rem;
}

.hero-panel--arch {
  animation: panelFloat 6s ease-in-out infinite;
  box-shadow: inset 0 0 30px rgba(59, 130, 246, .05);
}

.hero-panel--3d {
  animation: panelFloat 6s ease-in-out infinite reverse;
  box-shadow: inset 0 0 30px rgba(212, 175, 55, .08);
}

@keyframes panelFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}

.hero-panel-label {
  display: flex;
  align-items: center;
  gap: .4rem;
  font-size: .6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--primary);
  margin-bottom: .75rem;
  z-index: 2;
}

.hero-panel-icon { font-size: .875rem; }

/* ── Blueprint SVG ── */
.hero-blueprint {
  width: 85%;
  height: auto;
  flex: 1;
}

.bp-line {
  stroke: rgba(96, 165, 250, .7);
  stroke-dasharray: 400;
  stroke-dashoffset: 400;
  animation: bpDraw 3s ease forwards;
}

.bp-d1 { animation-delay: .3s; }
.bp-d2 { animation-delay: .5s; }
.bp-d3 { animation-delay: .8s; }
.bp-d4 { animation-delay: 1s; }
.bp-d5 { animation-delay: 1.2s; }
.bp-d6 { animation-delay: 1.4s; }

@keyframes bpDraw {
  to { stroke-dashoffset: 0; }
}

.bp-dot {
  fill: var(--primary);
  opacity: 0;
  animation: bpDotIn .5s ease forwards, bpDotPulse 2s ease-in-out infinite;
}

.bp-d7 { animation-delay: 1.6s, 2s; }
.bp-d8 { animation-delay: 1.8s, 2.3s; }

@keyframes bpDotIn {
  to { opacity: 1; }
}

@keyframes bpDotPulse {
  0%, 100% { r: 2; opacity: .8; }
  50%      { opacity: 1; filter: drop-shadow(0 0 4px var(--primary)); }
}

.hero-grid-floor {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 40%;
  background:
    linear-gradient(rgba(96, 165, 250, .06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(96, 165, 250, .06) 1px, transparent 1px);
  background-size: 16px 16px;
  mask-image: linear-gradient(to top, black, transparent);
  animation: gridScroll 8s linear infinite;
}

@keyframes gridScroll {
  from { background-position: 0 0; }
  to   { background-position: 16px 16px; }
}

/* ── Bridge 2D → 3D ── */
.hero-bridge {
  position: relative;
  width: 16%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
}

.hero-bridge-core {
  width: 4px;
  height: 60%;
  background: linear-gradient(to bottom, rgba(96, 165, 250, .8), var(--primary), rgba(212, 175, 55, .8));
  border-radius: 4px;
  animation: bridgePulse 2s ease-in-out infinite;
  box-shadow: 0 0 20px rgba(212, 175, 55, .5);
}

@keyframes bridgePulse {
  0%, 100% { opacity: .7; transform: scaleY(1); }
  50%      { opacity: 1;  transform: scaleY(1.05); }
}

.hero-bridge-svg {
  position: absolute;
  width: 100%;
  height: 70%;
  opacity: .6;
}

.bridge-path {
  fill: none;
  stroke: var(--primary);
  stroke-width: 1.5;
  stroke-dasharray: 120;
  stroke-dashoffset: 120;
  animation: bridgeFlow 2.5s ease-in-out infinite;
}

.bridge-path--2 {
  animation-delay: 1.2s;
  stroke: rgba(96, 165, 250, .8);
}

@keyframes bridgeFlow {
  0%   { stroke-dashoffset: 120; opacity: 0; }
  30%  { opacity: 1; }
  100% { stroke-dashoffset: 0; opacity: .3; }
}

.hero-particle {
  position: absolute;
  width: 5px;
  height: 5px;
  background: var(--primary);
  border-radius: 50%;
  left: 50%;
  top: 50%;
  box-shadow: 0 0 8px var(--primary);
  animation: particleFly 3s ease-in-out infinite;
  animation-delay: calc(var(--i) * .6s);
  opacity: 0;
}

@keyframes particleFly {
  0%   { transform: translate(-80px, 0) scale(0); opacity: 0; }
  20%  { opacity: 1; }
  80%  { opacity: 1; }
  100% { transform: translate(80px, calc(var(--i) * 12px - 24px)) scale(1); opacity: 0; }
}

/* ── 3D wireframe scene ── */
.hero-3d-stage {
  position: relative;
  flex: 1;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 600px;
}

.hero-3d-grid {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(212, 175, 55, .08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(212, 175, 55, .08) 1px, transparent 1px);
  background-size: 20px 20px;
  transform: perspective(200px) rotateX(60deg);
  transform-origin: center bottom;
  mask-image: linear-gradient(to top, black 30%, transparent 90%);
  animation: grid3dMove 6s linear infinite;
}

@keyframes grid3dMove {
  from { background-position: 0 0; }
  to   { background-position: 0 40px; }
}

.wire-scene {
  position: relative;
  width: 140px;
  height: 140px;
  transform-style: preserve-3d;
  animation: sceneRotate 18s linear infinite;
}

@keyframes sceneRotate {
  from { transform: rotateX(-15deg) rotateY(0deg); }
  to   { transform: rotateX(-15deg) rotateY(360deg); }
}

.wire-cube {
  position: absolute;
  width: 70px;
  height: 70px;
  left: 50%;
  top: 30%;
  margin: -35px 0 0 -35px;
  transform-style: preserve-3d;
  animation: cubeSpin 12s linear infinite reverse;
}

@keyframes cubeSpin {
  from { transform: rotateX(0) rotateY(0); }
  to   { transform: rotateX(360deg) rotateY(360deg); }
}

.wire-face {
  position: absolute;
  width: 70px;
  height: 70px;
  border: 1.5px solid rgba(212, 175, 55, .75);
  background: rgba(212, 175, 55, .04);
  box-shadow: inset 0 0 15px rgba(212, 175, 55, .1);
}

.wire-f1 { transform: rotateY(0deg)   translateZ(35px); }
.wire-f2 { transform: rotateY(180deg) translateZ(35px); }
.wire-f3 { transform: rotateY(90deg)  translateZ(35px); }
.wire-f4 { transform: rotateY(-90deg) translateZ(35px); }
.wire-f5 { transform: rotateX(90deg)  translateZ(35px); }
.wire-f6 { transform: rotateX(-90deg) translateZ(35px); }

.wire-building {
  position: absolute;
  left: 50%;
  bottom: 10%;
  margin-left: -40px;
  width: 80px;
  height: 90px;
  transform-style: preserve-3d;
  transform: rotateX(-60deg) rotateZ(45deg);
}

.wb-floor {
  position: absolute;
  left: 0;
  width: 80px;
  height: 50px;
  border: 1.5px solid rgba(212, 175, 55, .6);
  background: rgba(212, 175, 55, .03);
  transform-origin: bottom center;
}

.wb-f1 { bottom: 0;  transform: translateZ(0); }
.wb-f2 { bottom: 22px; transform: translateZ(15px); width: 70px; left: 5px; opacity: .85; }
.wb-f3 { bottom: 44px; transform: translateZ(30px); width: 60px; left: 10px; opacity: .7; }

.wb-roof {
  position: absolute;
  bottom: 66px;
  left: 15px;
  width: 50px;
  height: 30px;
  border: 1.5px solid var(--primary);
  background: rgba(212, 175, 55, .08);
  transform: translateZ(40px) rotateX(30deg);
  animation: roofGlow 3s ease-in-out infinite;
}

@keyframes roofGlow {
  0%, 100% { box-shadow: 0 0 8px rgba(212, 175, 55, .3); }
  50%      { box-shadow: 0 0 20px rgba(212, 175, 55, .6); }
}

/* ── Scroll indicator ── */
.hero-scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
  color: var(--muted-fg);
  font-size: .75rem;
  animation: heroFadeUp 1s .8s ease both;
}

.hero-scroll-mouse {
  width: 22px;
  height: 34px;
  border: 2px solid rgba(212, 175, 55, .4);
  border-radius: 11px;
  position: relative;
}

.hero-scroll-mouse::after {
  content: '';
  position: absolute;
  top: 6px;
  left: 50%;
  width: 3px;
  height: 8px;
  margin-left: -1.5px;
  background: var(--primary);
  border-radius: 2px;
  animation: scrollWheel 2s ease infinite;
}

@keyframes scrollWheel {
  0%   { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; transform: translateY(12px); }
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .hero-animated-grid {
    grid-template-columns: 1fr;
    text-align: center;
    padding-top: 3rem;
  }
  .hero-animated .hero-content { max-width: 640px; margin: 0 auto; }
  .hero-animated .hero-content .hero-cta { justify-content: center; }
  .hero-visual { height: 380px; margin-top: 1rem; }
  .hero-panel { width: 40%; }
  .hero-bridge { width: 12%; }
}

@media (max-width: 640px) {
  .hero-visual { height: 300px; }
  .hero-model-hint { display: none; }
  .hero-panel-label span:not(.hero-panel-icon) { display: none; }
  .hero-panel { padding: .5rem; }
  .wire-scene { width: 100px; height: 100px; }
  .wire-cube { width: 50px; height: 50px; margin: -25px 0 0 -25px; }
  .wire-face { width: 50px; height: 50px; }
  .wire-f1 { transform: rotateY(0deg)   translateZ(25px); }
  .wire-f2 { transform: rotateY(180deg) translateZ(25px); }
  .wire-f3 { transform: rotateY(90deg)  translateZ(25px); }
  .wire-f4 { transform: rotateY(-90deg) translateZ(25px); }
  .wire-f5 { transform: rotateX(90deg)  translateZ(25px); }
  .wire-f6 { transform: rotateX(-90deg) translateZ(25px); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-animated *, .hero-visual * {
    animation: none !important;
    transition: none !important;
  }
  .bp-line { stroke-dashoffset: 0; }
}
