/* Home hero — full-screen split, no card */
.hero-split {
  height: 100vh;
  height: 100dvh;
  max-height: 100vh;
  max-height: 100dvh;
  overflow: hidden;
  background: #3C3141;
}
.hero-split > .container-fluid {
  height: 100%;
}
.hero-split > .container-fluid > .row {
  height: 100%;
  min-height: 0;
  margin: 0;
}
.hero-split .col-lg-7,
.hero-split .col-lg-5 {
  display: flex;
  min-height: 0;
}

.hero-split-copy {
  background: #3C3141;
  color: #fff;
  width: 100%;
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 108px clamp(28px, 6vw, 88px) 40px clamp(28px, 7vw, 96px);
}
.hero-split-kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  color: #E6E1EE;
  margin-bottom: clamp(12px, 2vh, 22px);
}
.hero-split-kicker span {
  display: block;
  width: 28px;
  height: 1.5px;
  background: #B39055;
  flex-shrink: 0;
}
.hero-split-copy h1 {
  font-size: clamp(1.7rem, 4.8vh, 3.35rem);
  font-weight: 700;
  line-height: 1.15;
  color: #fff;
  max-width: 580px;
  margin-bottom: clamp(10px, 1.8vh, 18px);
  letter-spacing: -0.02em;
}
.hero-split-lead {
  max-width: 500px;
  color: rgba(230, 225, 238, 0.82);
  font-size: clamp(0.9rem, 1.8vh, 1.05rem);
  line-height: 1.7;
  margin-bottom: clamp(16px, 3vh, 32px);
}
.hero-split-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: clamp(18px, 3.4vh, 40px);
}
.hero-split-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  color: #3C3141;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 13px 24px;
  border-radius: 999px;
  transition: transform 0.3s var(--ease, ease), box-shadow 0.3s ease;
}
.hero-split-btn i { color: #B39055; transition: transform 0.3s ease; }
.hero-split-btn:hover {
  color: #3C3141;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}
.hero-split-btn:hover i { transform: translateX(4px); }
.hero-split-demo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  font-weight: 500;
  font-size: 0.95rem;
}
.hero-split-demo:hover { color: #E6E1EE; }
.hero-split-play {
  width: 42px;
  height: 42px;
  border: 1.5px solid rgba(230, 225, 238, 0.55);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #B39055;
  font-size: 0.72rem;
  padding-left: 2px;
  transition: border-color 0.3s ease, transform 0.3s ease;
}
.hero-split-demo:hover .hero-split-play {
  border-color: #B39055;
  transform: scale(1.06);
}
.hero-split-stats {
  margin-top: auto;
  padding-top: clamp(14px, 2.6vh, 28px);
  border-top: 1px solid rgba(230, 225, 238, 0.16);
}
.hero-split-stats strong {
  display: block;
  font-size: clamp(1.35rem, 3.2vh, 2rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.1;
}
.hero-split-stats span {
  display: block;
  margin-top: 6px;
  font-size: clamp(0.72rem, 1.5vh, 0.84rem);
  color: #E6E1EE;
  opacity: 0.8;
}

.hero-split-visual {
  position: relative;
  background: #fff;
  width: 100%;
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-orbit {
  position: absolute;
  width: min(100%, 85vh);
  aspect-ratio: 1;
  pointer-events: none;
}
.hero-orbit-svg {
  width: 100%;
  height: 100%;
  animation: orbitSpin 22s linear infinite;
}
.hero-orbit-track {
  fill: none;
  stroke: #E6E1EE;
  stroke-width: 1.6;
}
.hero-orbit-arc {
  fill: none;
  stroke: #B39055;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-dasharray: 140 916;
  animation: orbitDash 6s linear infinite;
}
.hero-orbit-spin {
  position: absolute;
  inset: 0;
  animation: orbitSpin 14s linear infinite;
}
.hero-orbit-dot {
  position: absolute;
  top: 0;
  left: 50%;
  width: 10px;
  height: 10px;
  margin-left: -5px;
  background: #B39055;
  border-radius: 50%;
  box-shadow: 0 0 0 6px rgba(179, 144, 85, 0.18), 0 0 16px rgba(179, 144, 85, 0.55);
  animation: orbitPulse 2.2s ease-in-out infinite;
}

.hero-machine-wrap {
  position: relative;
  z-index: 2;
  width: min(100%, 60vh);
  animation: machineFloat 5.5s ease-in-out infinite;
  background: #fff;
  border-radius: 50%;
  padding: 16px;
  box-shadow: 0 8px 32px rgba(59, 47, 68, 0.08);
}
.hero-machine-wrap img {
  width: 100%;
  height: auto;
  max-height: 52vh;
  display: block;
  border-radius: 50%;
  object-fit: contain;
  /* filter: drop-shadow(0 8px 20px rgba(59, 47, 68, 0.08)); */
  background: #fff;
}

.hero-float-card {
  position: absolute;
  z-index: 3;
  background: #fff;
  border: 1px solid rgba(59, 47, 68, 0.08);
  border-radius: 16px;
  padding: 14px 18px;
  box-shadow: 0 12px 32px rgba(59, 47, 68, 0.12);
  min-width: 148px;
}
.hero-float-card strong {
  display: block;
  font-size: 0.92rem;
  font-weight: 700;
  color: #3C3141;
  line-height: 1.2;
}
.hero-float-card span {
  display: block;
  margin-top: 4px;
  font-size: 0.78rem;
  color: #5C5268;
}
.hero-float-card--tl {
  top: 18%;
  left: 8%;
  animation: cardFloat 6s ease-in-out infinite;
}
.hero-float-card--br {
  bottom: 16%;
  right: 8%;
  animation: cardFloat 6.8s 0.6s ease-in-out infinite;
}

.hero-split .anim-in {
  opacity: 1;
  transform: none;
  animation: none;
}

@keyframes heroSplitIn {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}
@keyframes orbitSpin {
  to { transform: rotate(360deg); }
}
@keyframes orbitDash {
  to { stroke-dashoffset: -1056; }
}
@keyframes orbitPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.25); }
}
@keyframes machineFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
@keyframes cardFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* Home header sits over the full-bleed split */
/* body.page-home .header .nav-logo,
body:has(.hero-split) .header .nav-logo { color: #fff; } */
body.page-home .header .nav-logo span,
body:has(.hero-split) .header .nav-logo span { color: #B39055; }
body.page-home .header.scrolled .nav-logo,
body:has(.hero-split) .header.scrolled .nav-logo { color: var(--eggplant, #3B2F44); }
body.page-home .header::before,
/* body:has(.hero-split) .header::before {
  opacity: 0.55;
  background: linear-gradient(180deg, rgba(60, 49, 65, 0.92) 0%, rgba(60, 49, 65, 0.35) 100%);
} */

body.page-home .header.scrolled::before,
body:has(.hero-split) .header.scrolled::before {
  opacity: 1;
  background: rgba(230, 225, 238, 0.92);
}

@media (max-width: 991.98px) {
  .hero-split {
    height: auto;
    max-height: none;
    min-height: 0;
    overflow: visible;
  }
  .hero-split > .container-fluid,
  .hero-split > .container-fluid > .row {
    height: auto;
    min-height: 0;
  }
  .hero-split-copy {
    padding: 96px 20px 32px;
    min-height: auto;
  }
  .hero-split-visual {
    min-height: 360px;
    height: auto;
  }
  .hero-orbit {
    width: min(78%, 280px);
  }
  .hero-machine-wrap {
    width: min(70%, 220px);
  }
  body.page-home .header .navbar-toggler span,
  /* body:has(.hero-split) .header .navbar-toggler span { background: #fff; } */
  body.page-home .header.scrolled .navbar-toggler span,
  body:has(.hero-split) .header.scrolled .navbar-toggler span { background: var(--ink, #3B2F44); }
  body.page-home .header .cart-icon svg,
  /* body:has(.hero-split) .header .cart-icon svg { stroke: #fff; } */
  body.page-home .header.scrolled .cart-icon svg,
  body:has(.hero-split) .header.scrolled .cart-icon svg { stroke: currentColor; }

  /* Show hero copy immediately — no animation dependency on mobile */
  .hero-split .anim-in {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
  }
}

@media (max-width: 575.98px) {
  .hero-split-copy { padding: 88px 16px 28px; }
  .hero-split-actions { gap: 12px; flex-direction: column; align-items: flex-start; }
  .hero-split-visual { min-height: 300px; }
  .hero-float-card { min-width: 118px; padding: 10px 12px; font-size: 0.85rem; }
  .hero-float-card--tl { top: 12%; left: 4%; }
  .hero-float-card--br { bottom: 12%; right: 4%; }
  .hero-machine-wrap { width: min(65%, 180px); }
  .hero-split-stats span { font-size: 0.68rem; }
}

.hero-split .anim-in.is-visible {
  opacity: 1 !important;
  transform: none !important;
  animation: none !important;
}

@media (prefers-reduced-motion: reduce) {
  .hero-split .anim-in,
  .hero-orbit-svg,
  .hero-orbit-arc,
  .hero-orbit-spin,
  .hero-orbit-dot,
  .hero-machine-wrap,
  .hero-float-card--tl,
  .hero-float-card--br {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}
