.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #eed9b6;
}

.hero-art,
.hero-landscape,
.hero-mist,
.hero-light,
.hero-art::after {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.hero-landscape {
  max-width: none;
  object-fit: cover;
  object-position: center 54%;
  transform: scale(1.04);
  transform-origin: 56% 60%;
  animation: landscape-drift 24s ease-in-out infinite alternate;
}

.hero-mist {
  inset: auto -14% -24%;
  width: 128%;
  height: 68%;
  background:
    radial-gradient(ellipse 59% 28% at 17% 50%, #fff8df91, transparent 96%),
    radial-gradient(ellipse 49% 24% at 73% 72%, #fff4de77, transparent 96%),
    radial-gradient(ellipse 67% 27% at 29% 84%, #ffe2ad7d, transparent 95%);
  animation: mist-drift 16s ease-in-out infinite alternate;
}

.hero-light {
  inset: -18% -12%;
  width: 124%;
  height: 136%;
  mix-blend-mode: screen;
  background:
    radial-gradient(ellipse 58% 9% at 86% 67%, #ffda823f, transparent 94%),
    radial-gradient(ellipse 49% 4% at 69% 66%, #ffedb44a, transparent 92%),
    radial-gradient(ellipse 66% 3% at 63% 67%, #ffefc158, transparent 94%);
  animation: light-drift 12s ease-in-out infinite alternate;
}

.hero-art::after {
  content: '';
  background:
    radial-gradient(ellipse 60% 91% at 5% 41%, #fdf0d5cd 4%, #fdf0d577 52%, transparent 100%),
    linear-gradient(180deg, transparent 82%, #483a201a);
}

.hero-inner {
  position: relative;
  display: flex;
  align-items: center;
  min-height: clamp(590px, calc(100vh - 178px), 920px);
  min-height: clamp(590px, calc(100svh - 178px), 920px);
  padding-block: 76px 95px;
}

.hero-content { max-width: 760px; }

.hero-domain {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 25px;
  color: #51542d;
  font-size: 11px;
  font-weight: 650;
  letter-spacing: .24em;
  text-transform: uppercase;
}

.hero-domain::before {
  width: 25px;
  height: 1px;
  background: currentColor;
  content: '';
}

.hero h1 {
  margin: 0;
  color: #292e19;
  font-family: var(--serif);
  font-size: clamp(68px, 7.05vw, 116px);
  font-weight: 700;
  line-height: 1.13;
  letter-spacing: -.025em;
  text-wrap: nowrap;
}

.hero h1 span { display: block; }

.hero-tagline {
  margin: 25px 0 32px;
  color: #463923;
  font-size: clamp(15px, 1.5vw, 20px);
  font-weight: 520;
  letter-spacing: .13em;
  line-height: 1.5;
}

.explore-button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 34px;
  min-height: 55px;
  padding: 0 26px;
  border-radius: 999px;
  background: #475326;
  color: #fff8e9;
  font-size: 16px;
  font-weight: 650;
  letter-spacing: .12em;
  text-decoration: none;
  transition: background-color 180ms ease;
}

.explore-button:hover { background: #323c1e; }

.arrow {
  position: relative;
  width: 17px;
  height: 1px;
  background: currentColor;
  transition: transform 180ms ease;
}

.arrow::after {
  content: '';
  position: absolute;
  top: -3px;
  right: 0;
  width: 7px;
  height: 7px;
  border-top: 1px solid;
  border-right: 1px solid;
  transform: rotate(45deg);
}

.explore-button:hover .arrow { transform: translateX(3px); }

.motion-toggle {
  position: absolute;
  inset: auto 0 24px auto;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid #fffae583;
  border-radius: 50%;
  background: #292d1bc9;
  color: #fff8e9;
  cursor: pointer;
}

.motion-toggle:hover { background: #292d1b; }
.motion-toggle:focus-visible { outline-color: #fff8e9; }

.motion-toggle span {
  width: 10px;
  height: 12px;
  border-inline: 2px solid currentColor;
}

.hero[data-motion-paused] .motion-toggle span {
  width: 0;
  height: 0;
  margin-left: 2px;
  border: 0;
  border-block: 6px solid transparent;
  border-left: 9px solid currentColor;
}

.hero[data-motion-paused] .hero-art > * { animation-play-state: paused; }

@keyframes landscape-drift {
  from { transform: scale(1.035) translate(0, 0); }
  to { transform: scale(1.11) translate(-1.1%, .8%); }
}

@keyframes mist-drift {
  from { transform: translate3d(-5%, 2%, 0) scale(1); opacity: .48; }
  to { transform: translate3d(8%, -11%, 0) scale(1.13); opacity: .9; }
}

@keyframes light-drift {
  from { transform: translate(-3%, 2%) rotate(-13deg); opacity: .42; }
  to { transform: translate(4%, -4%) rotate(-19deg); opacity: .92; }
}

@media (max-width: 680px) {
  .hero-landscape { object-position: 59% 57%; }

  .hero-art::after {
    background: linear-gradient(155deg, #f9e8cde8 4%, #f9e8cd94 43%, #fdf0d525 63%, transparent 78%);
  }

  .hero-inner {
    align-items: flex-start;
    min-height: clamp(540px, calc(100vh - 66px), 740px);
    min-height: clamp(540px, calc(100svh - 66px), 740px);
    padding-block: clamp(62px, 11svh, 112px) 114px;
  }

  .hero h1 { font-size: clamp(48px, 12.8vw, 75px); }
  .hero-domain { margin-bottom: 21px; }
  .hero-tagline { margin-block: 22px 25px; }
  .explore-button { min-height: 51px; padding-inline: 22px; }
  .motion-toggle { bottom: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-art > * { animation: none; }
  .explore-button, .arrow { transition: none; }
}
