/* Variant B — layer between style.css and variant-c.css (former index2.html experiments)
   1. Hero fits the screen height; USP strip stays in view; machine scales with it
   2. Scroll hint at the bottom of the hero
   3. Machine opener image capped at 60vh; anchor lands exactly on the image
   -------------------------------------------------------------------------- */

/* 1. Hero */
.hero {
  min-height: 0;
  height: min(100vh, 1217px);
  min-height: 720px;
}

.hero-machine {
  top: -8.1%;
  left: 48.2%;
  width: auto;
  height: 108.1%;
  margin-left: 0;
  transform: translateX(-50%);
}

.hero-inner { padding-top: clamp(130px, 17.7vh, 215px); }
.hero-logo { margin-bottom: clamp(24px, 3.8vh, 46px); }
.hero h1 { margin-bottom: clamp(18px, 2.6vh, 32px); }
.hero-phase { margin-bottom: clamp(28px, 4.2vh, 51px); }

.hero-usps { bottom: clamp(48px, 6.7vh, 82px); }

/* 2. Scroll hint */
.scroll-hint {
  position: absolute;
  right: 32px;
  bottom: clamp(48px, 6.7vh, 82px);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--yellow);
  font-size: 10px;
  letter-spacing: 1.98px;
  text-transform: uppercase;
  text-decoration: none;
  opacity: 0;
  animation: hint-in 1s ease 1.2s forwards;
}

.scroll-hint span {
  width: 30px;
  height: 30px;
  background: url("../assets/svg/button-icon.svg") no-repeat center / contain;
  filter: invert(1) sepia(1) saturate(8) hue-rotate(10deg); /* black icon → yellow */
  animation: hint-bounce 2.2s ease-in-out infinite;
}

.site-header.is-scrolled ~ main .scroll-hint,
body.has-scrolled .scroll-hint { opacity: 0; transition: opacity .4s; animation: none; }

@keyframes hint-in { to { opacity: 1; } }
@keyframes hint-bounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(8px); } }

@media (prefers-reduced-motion: reduce) { .scroll-hint span { animation: none; } }

/* 3. Machine opener */
.media-head { scroll-margin-top: var(--header-h); }
.media-head img { max-height: 60vh; min-height: 420px; }

/* Mobile: hero flows naturally again; hint sits in the flow */
@media (max-width: 760px) {
  .hero { height: auto; min-height: 0; }
  .hero-machine { position: relative; top: auto; left: auto; height: auto; width: 130%; margin: 0 0 -40px -15%; transform: none; }
  .hero-inner { padding-top: 110px; }
  .scroll-hint { display: none; }
  .media-head img { max-height: none; min-height: 0; }
}
