.maithe-home-hero,
body[data-route="/"] {
  min-width: 0;
}

.maithe-home-hero {
  position: relative;
  display: flex;
  min-height: max(760px, 100svh);
  overflow: hidden;
  background: #d8c2a8;
  color: var(--color-ink);
}

.maithe-home-hero__media,
.maithe-home-hero__veil {
  position: absolute;
  inset: 0;
}

.maithe-home-hero__media img,
.maithe-home-hero__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% center;
}

.maithe-home-hero__video {
  position: absolute;
  inset: 0;
}

.maithe-home-hero__veil {
  background:
    linear-gradient(90deg, rgba(245, 241, 235, .97) 0%, rgba(245, 241, 235, .9) 30%, rgba(245, 241, 235, .48) 53%, rgba(245, 241, 235, .04) 74%),
    linear-gradient(0deg, rgba(31, 26, 23, .2) 0%, transparent 26%);
}

.maithe-home-hero__shell {
  position: relative;
  z-index: 1;
  display: flex;
  flex: 1;
  align-items: center;
  width: min(100%, calc(var(--container-width) + (var(--page-gutter) * 2)));
  margin-inline: auto;
  padding: calc(var(--header-height) + 60px) var(--page-gutter) 92px;
}

.maithe-home-hero__content {
  width: min(720px, 61vw);
}

.maithe-home-hero__eyebrow {
  margin: 0 0 clamp(24px, 3vw, 42px);
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.maithe-home-hero h1 {
  display: flex;
  flex-direction: column;
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(72px, 8.4vw, 126px);
  font-weight: 400;
  line-height: .86;
  letter-spacing: -.052em;
}

.maithe-home-hero h1 span:last-child {
  margin-left: .24em;
}

.maithe-home-hero h1 em {
  color: var(--color-clay);
  font-style: italic;
}

.maithe-home-hero__introduction {
  max-width: 590px;
  margin: clamp(30px, 4vw, 52px) 0 0;
  color: rgba(31, 26, 23, .76);
  font-family: var(--font-sans);
  font-size: clamp(16px, 1.3vw, 19px);
  line-height: 1.58;
}

.maithe-home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  margin-top: 34px;
}

.maithe-home-hero__primary {
  min-width: 190px;
  justify-content: space-between;
}

.maithe-home-hero__secondary {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  min-height: 48px;
  padding: 0 4px;
  border-bottom: 1px solid rgba(31, 26, 23, .5);
  font-size: 12px;
  font-weight: 500;
}

.maithe-home-hero__secondary span:last-child {
  transition: transform 220ms ease;
}

.maithe-home-hero__secondary:hover span:last-child,
.maithe-home-hero__secondary:focus-visible span:last-child {
  transform: translate(3px, -3px);
}

.maithe-home-hero__foot {
  position: absolute;
  right: var(--page-gutter);
  bottom: 28px;
  left: var(--page-gutter);
  display: flex;
  justify-content: space-between;
  color: rgba(245, 241, 235, .86);
  font-family: var(--font-sans);
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.maithe-home-hero__scroll {
  position: absolute;
  z-index: 2;
  bottom: 28px;
  left: 50%;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fffdf9;
  font-family: var(--font-sans);
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  transform: translateX(-50%);
}

.maithe-home-hero__scroll i {
  display: block;
  width: 42px;
  height: 1px;
  background: currentColor;
}

.maithe-home-hero__video-control {
  position: absolute;
  z-index: 3;
  right: 24px;
  bottom: 64px;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 253, 249, .55);
  border-radius: 50%;
  background: rgba(31, 26, 23, .48);
  color: #fffdf9;
  cursor: pointer;
  backdrop-filter: blur(8px);
}

@media (max-width: 980px) {
  .maithe-home-hero__shell { padding-inline: 36px; }
  .maithe-home-hero__content { width: min(680px, 72vw); }
  .maithe-home-hero__foot { right: 36px; left: 36px; }
}

@media (max-width: 640px) {
  .maithe-home-hero {
    min-height: max(760px, 100svh);
  }

  .maithe-home-hero__media img,
  .maithe-home-hero__video {
    object-position: 66% center;
  }

  .maithe-home-hero__veil {
    background:
      linear-gradient(0deg, rgba(245, 241, 235, .99) 0%, rgba(245, 241, 235, .92) 43%, rgba(245, 241, 235, .26) 76%, rgba(245, 241, 235, .05) 100%),
      linear-gradient(90deg, rgba(245, 241, 235, .58) 0%, transparent 75%);
  }

  .maithe-home-hero__shell {
    align-items: flex-end;
    padding: calc(var(--header-height) + 48px) 20px 92px;
  }

  .maithe-home-hero__content { width: 100%; }
  .maithe-home-hero__eyebrow { margin-bottom: 20px; font-size: 10px; }

  .maithe-home-hero h1 {
    font-size: clamp(55px, 16.5vw, 72px);
    line-height: .9;
  }

  .maithe-home-hero h1 span:last-child { margin-left: 0; }
  .maithe-home-hero__introduction { margin-top: 24px; font-size: 15px; line-height: 1.5; }
  .maithe-home-hero__actions { align-items: stretch; gap: 12px; margin-top: 26px; }
  .maithe-home-hero__primary { flex: 1 1 190px; }
  .maithe-home-hero__secondary { flex: 1 1 auto; justify-content: space-between; }
  .maithe-home-hero__foot { display: none; }
  .maithe-home-hero__scroll { display: none; }
  .maithe-home-hero__video-control { right: 18px; bottom: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  .maithe-home-hero__secondary span:last-child { transition-duration: .01ms; }
  .maithe-home-hero__video,
  .maithe-home-hero__video-control { display: none; }
}
