/* First view: framed orchard aerial image and central orchard mark. */
.hero {
  padding: 0 3%;
  min-height: 0;
  height: auto;
  background: #f8fbed;
}

.hero-media {
  height: min(calc(100vh - 120px), 720px);
  min-height: 560px;
  background:
    linear-gradient(rgba(18, 32, 19, .2), rgba(18, 32, 19, .2)),
    url('../images/hero.webp') center / cover;
}

.hero-copy {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 30px;
  color: #fff;
  font-family: serif;
  font-size: clamp(34px, 4vw, 64px);
  letter-spacing: .2em;
  text-shadow: 0 2px 18px #0008;
}

.hero-copy p { margin: 0; line-height: 1.3; }

.hero-logo {
  width: 200px;
  height: 200px;
  overflow: hidden;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 15px rgba(0, 0, 0, .12);
}

.hero-logo img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* Entry sequence: the page remains normally scrollable throughout. */
.hero-sequence-ready .hero-line,
.hero-sequence-ready .hero-logo {
  opacity: 0;
}

.hero-sequence-running .hero-line--first {
  animation: hero-copy-reveal-from-left 3s cubic-bezier(.22, .61, .36, 1) both;
}

.hero-sequence-running .hero-logo {
  animation: hero-logo-reveal 3s cubic-bezier(.22, .61, .36, 1) both;
}

.hero-sequence-running .hero-line--second {
  animation: hero-copy-reveal-from-right 3s cubic-bezier(.22, .61, .36, 1) both;
}

@keyframes hero-copy-reveal-from-left {
  from { opacity: 0; transform: translate3d(-48px, 0, 0); }
  to { opacity: 1; transform: translate3d(0, 0, 0); }
}

@keyframes hero-copy-reveal-from-right {
  from { opacity: 0; transform: translate3d(48px, 0, 0); }
  to { opacity: 1; transform: translate3d(0, 0, 0); }
}

@keyframes hero-logo-reveal {
  from { opacity: 0; transform: scale(.88); }
  to { opacity: 1; transform: scale(1); }
}

@media (max-width: 700px) {
  .hero { padding: 0 0 18px; }
  .hero-media { height: calc(100svh - 78px); min-height: 500px; background-position: 53% center; }
  .hero-copy { gap: 24px; font-size: clamp(28px, 9vw, 38px); }
  .hero-logo { width: 142px; height: 142px; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-sequence-ready .hero-line,
  .hero-sequence-ready .hero-logo { opacity: 1; }
}
