.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  /* The lava layer blends against this, and isolate keeps that
     blending inside the hero rather than reaching the page below. */
  background: var(--lava-bg);
  isolation: isolate;
}

/* ── Lava lamp background ──────────────────────────────
   contrast() on the parent makes the blurred blobs merge into
   solid organic forms where they overlap.
   Blobs have no CSS animation — JS moves them on scroll.

   contrast(14) drives everything below mid-grey to pure black,
   so the layer cannot carry the brand's darkest colour itself —
   it would come out #000 whatever value we set. Instead the
   layer blends with `lighten`: its black areas fall through to
   the --lava-bg floor on .hero, while the bright blobs, which
   are far lighter than the floor, pass through untouched.
──────────────────────────────────────────────────────── */
.hero__gradient-bg {
  position: absolute;
  inset: 0;
  background: #000;
  filter: contrast(14) blur(0px);
  mix-blend-mode: lighten;
  overflow: hidden;
}

.hero__blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(56px);
  will-change: transform;
}

.hero__blob--1 {
  width: 520px;
  height: 520px;
  background: var(--lava-1);
  top: -8%;
  left: 22%;
  opacity: 0.9;
}

.hero__blob--2 {
  width: 380px;
  height: 440px;
  background: var(--lava-2);
  bottom: 8%;
  right: 12%;
  opacity: 0.9;
}

.hero__blob--3 {
  width: 340px;
  height: 320px;
  background: var(--lava-3);
  top: 50%;
  left: 5%;
  opacity: 0.9;
}

.hero__blob--4 {
  width: 420px;
  height: 360px;
  background: var(--lava-4);
  bottom: -8%;
  left: 38%;
  opacity: 0.9;
}

.hero__blob--5 {
  width: 280px;
  height: 300px;
  background: var(--lava-5);
  top: 18%;
  right: 4%;
  opacity: 0.9;
}

/* Colour overlay — keeps text readable */
.hero__gradient-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg,
      rgba(45, 17, 73, 0.5) 0%,
      rgba(28, 12, 45, 0.15) 50%,
      rgba(23, 9, 36, 0.55) 100%);
  pointer-events: none;
}

/* ── Layout — text left, Monika right ── */
.hero__layout {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: 1fr 420px;
  align-items: center;
  min-height: 100vh;
}

/* ── Text column ── */
.hero__text {
  padding: var(--space-2xl) 0;
  max-width: 680px;
}

.hero__eyebrow {
  font-size: var(--text-sm);
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: var(--space-md);
  transition-delay: 0.1s;
}

.hero__headline {
  font-family: var(--font-display);
  font-size: var(--text-5xl);
  font-weight: 400;
  line-height: 1.05;
  color: white;
  margin-bottom: var(--space-lg);
  letter-spacing: -0.02em;
  transition-delay: 0.2s;
}

.hero__headline em {
  font-style: normal;
  color: var(--color-monika-light);
}

.hero__sub {
  font-size: var(--text-xl);
  color: rgba(255, 255, 255, 0.65);
  font-weight: 300;
  margin-bottom: var(--space-xl);
  transition-delay: 0.3s;
  line-height: 1.6;
}

.hero__actions {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
  transition-delay: 0.4s;
}

/* ── Monika column — bottom-anchored, mask-faded ──
   She sits at the bottom of the hero. The mask fades
   her bottom edge to transparent so she dissolves into
   the dark section below rather than clipping hard.
──────────────────────────────────────────────────── */
.hero__monika-col {
  --monika-size: 380px;
  --monika-glow: rgba(155, 45, 110, 0.45);
  position: relative;
  align-self: flex-end;
  display: flex;
  justify-content: center;
}

.hero__monika-col .monika-wrapper {
  /* fade bottom edge to transparent — dissolves into section below */
  -webkit-mask-image: linear-gradient(to bottom, black 25%, transparent 82%);
  mask-image: linear-gradient(to bottom, black 25%, transparent 82%);
}



/* ── Scroll hint ── */
.hero__scroll-hint {
  position: absolute;
  bottom: var(--space-lg);
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.35);
  font-size: var(--text-xs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.scroll-dot {
  animation: scroll-bounce 1.6s ease-in-out infinite;
}

@keyframes scroll-bounce {

  0%,
  100% {
    transform: translateY(0);
    opacity: 1;
  }

  60% {
    transform: translateY(8px);
    opacity: 0.3;
  }
}

/* ── Responsive — breakpoints mirror --bp-lg / --bp-md in tokens.css.
   Headline sizing is handled by the fluid --text-5xl token, so no
   font-size overrides are needed here. ── */
@media (max-width: 1024px) {
  .hero__layout {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    padding-bottom: 0;
  }

  .hero__text {
    padding-top: calc(var(--nav-height) + var(--space-xl));
    padding-bottom: var(--space-lg);
    max-width: 100%;
  }

  .hero__actions {
    justify-content: center;
  }

  .hero__monika-col {
    --monika-size: 260px;
    width: 100%;
  }
}

/* Below --bp-md the stacked hero no longer fits a locked 100vh, so it
   grows with its content and the scroll hint is dropped. */
@media (max-width: 768px) {
  .hero,
  .hero__layout {
    min-height: auto;
  }

  .hero__layout {
    padding-bottom: var(--space-lg);
  }

  .hero__scroll-hint {
    display: none;
  }

  .hero__sub {
    font-size: var(--text-lg);
    margin-bottom: var(--space-lg);
  }

  .hero__monika-col {
    --monika-size: 220px;
  }
}

@media (max-width: 480px) {
  .hero__actions .btn {
    flex: 1 1 100%;
    justify-content: center;
  }

  .hero__monika-col {
    --monika-size: 180px;
  }
}