/* Hero scene with scales */

.hero {
  position: relative;
  height: 100vh;
  min-height: 680px;
  max-height: 1100px;
  padding: 92px 0 40px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(250, 247, 240, 0.99) 0%, rgba(250, 247, 240, 0.96) 38%, rgba(250, 247, 240, 0.78) 58%, rgba(250, 247, 240, 0.35) 78%, rgba(250, 247, 240, 0.1) 100%),
    url('assets/hero-bg.jpeg') right center / contain no-repeat,
    radial-gradient(ellipse 80% 60% at 50% 30%, #FAF7F0 0%, #F4EFE6 45%, #EBE4D6 100%);
}

.hero-scales-wrap {
  position: absolute;
  top: 0;
  right: -8%;
  width: 65%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  display: none;
}

.scales-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 30px 80px rgba(60, 40, 10, 0.18));
  animation: hero-breath 9s ease-in-out infinite;
}

@keyframes hero-breath {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-6px) scale(1.005); }
}

.pan-left {
  transform-origin: 120px 225px;
  animation: sway-left 8s ease-in-out infinite;
}
.pan-right {
  transform-origin: 680px 225px;
  animation: sway-right 8s ease-in-out infinite;
}
.chain-left { transform-origin: 120px 225px; animation: sway-left 8s ease-in-out infinite; }
.chain-right { transform-origin: 680px 225px; animation: sway-right 8s ease-in-out infinite; }

@keyframes sway-left {
  0%, 100% { transform: translateY(0) rotate(0.6deg); }
  50% { transform: translateY(3px) rotate(-0.4deg); }
}
@keyframes sway-right {
  0%, 100% { transform: translateY(0) rotate(-0.6deg); }
  50% { transform: translateY(-3px) rotate(0.4deg); }
}

.mote {
  animation: float-mote 7s ease-in-out infinite;
}
.mote-0 { animation-duration: 6s; }
.mote-1 { animation-duration: 8s; animation-delay: -2s; }
.mote-2 { animation-duration: 10s; animation-delay: -4s; }
.mote-3 { animation-duration: 7s; animation-delay: -1s; }
@keyframes float-mote {
  0%, 100% { transform: translateY(0); opacity: 0.3; }
  50% { transform: translateY(-30px); opacity: 0.7; }
}

/* Mist layers — soft fog */
.mist {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(70px);
}
.mist-1 {
  width: 700px; height: 600px;
  left: -10%; top: 10%;
  background: radial-gradient(circle, rgba(250, 247, 240, 0.85), rgba(250, 247, 240, 0));
  animation: mist-drift-1 22s ease-in-out infinite;
}
.mist-2 {
  width: 800px; height: 500px;
  right: -15%; bottom: 0;
  background: radial-gradient(circle, rgba(244, 239, 230, 0.9), rgba(244, 239, 230, 0));
  animation: mist-drift-2 28s ease-in-out infinite;
}
.mist-3 {
  width: 500px; height: 400px;
  left: 30%; top: 40%;
  background: radial-gradient(circle, rgba(217, 190, 138, 0.18), rgba(217, 190, 138, 0));
  animation: mist-drift-3 24s ease-in-out infinite;
}
.mist-front {
  position: absolute;
  bottom: -20%;
  left: -10%;
  width: 120%; height: 50%;
  background: linear-gradient(to top, rgba(244, 239, 230, 0.95) 0%, rgba(244, 239, 230, 0.4) 50%, transparent 100%);
  filter: blur(30px);
  pointer-events: none;
}

@keyframes mist-drift-1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(60px, -30px) scale(1.1); }
}
@keyframes mist-drift-2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-50px, -40px) scale(1.15); }
}
@keyframes mist-drift-3 {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: 1; }
  50% { transform: translate(40px, 20px) scale(1.2); opacity: 0.6; }
}

/* Hero content */
.hero-inner {
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 60px;
  align-items: center;
  height: 100%;
}

.hero-text { max-width: 620px; }

.hero-h1 {
  font-size: clamp(36px, 3.8vw, 60px);
  line-height: 1.06;
  letter-spacing: -0.022em;
  color: var(--ink);
  margin-top: 18px;
  font-weight: 400;
  max-width: 18ch;
  hyphens: none;
  word-break: keep-all;
  overflow-wrap: normal;
}
.hero-h1 .accent {
  font-style: italic;
  color: var(--gold);
  font-weight: 500;
}

.hero-sub {
  margin-top: 18px;
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 52ch;
  font-weight: 400;
}

.hero-chips {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
}
.hero-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Cormorant Garamond', 'Manrope', serif;
  font-size: 15px;
  color: var(--ink-soft);
  font-style: italic;
  font-weight: 500;
}
.hero-chip::before {
  content: '';
  width: 4px; height: 4px;
  background: var(--gold);
  border-radius: 50%;
}

.hero-cta {
  margin-top: 26px;
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.hero-trial {
  margin-top: 14px;
  font-size: 12px;
  color: var(--ink-mute);
  font-family: 'JetBrains Mono', monospace;
}
.hero-trial a {
  color: var(--gold);
  border-bottom: 1px solid var(--gold-line);
  padding-bottom: 1px;
}

/* Scroll cue */
.scroll-cue {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-mute);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.scroll-cue::after {
  content: '';
  width: 1px; height: 40px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scroll-line 2.4s ease-in-out infinite;
}
@keyframes scroll-line {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-scales-wrap { width: 110%; opacity: 0.45; right: -20%; }
}
