/* Homepage hero only. Shared navigation, sections and video controllers stay intact. */
.home-page.home-hero-refresh .site-header {
  position: relative;
  top: auto;
  left: auto;
  width: 100%;
  background: #fff;
  color: var(--ink, #20352a);
  border-bottom: 1px solid var(--line, #d9e4dd);
  backdrop-filter: none;
}

.home-page.home-hero-refresh .estate-hero {
  display: grid;
  grid-template-rows: minmax(min-content, 1fr) auto;
  align-items: stretch;
  justify-content: stretch;
  width: 100%;
  min-height: 100vh;
  min-height: 100svh;
  height: auto;
  max-height: none;
  padding: 0 0 max(20px, env(safe-area-inset-bottom));
  background: #20352a;
}

.home-page.home-hero-refresh .estate-shade {
  background: linear-gradient(180deg, rgb(7 23 16 / 8%) 0%, rgb(7 23 16 / 3%) 60%, rgb(7 23 16 / 38%) 100%);
}

.home-page.home-hero-refresh .estate-content {
  align-self: center;
  width: 100%;
  min-width: 0;
  margin: 0;
  padding: clamp(48px, 9vh, 108px) 0;
  text-align: center;
  text-shadow: 0 2px 16px rgb(0 0 0 / 20%);
}

.home-page.home-hero-refresh .hero-brand-panel {
  width: 100%;
  padding: clamp(34px, 5vw, 64px) 6%;
  border-block: 1px solid rgb(255 255 255 / 12%);
  background: linear-gradient(90deg, rgb(8 26 18 / 62%), rgb(8 26 18 / 68%) 28%, rgb(8 26 18 / 68%) 72%, rgb(8 26 18 / 62%));
}

.home-page.home-hero-refresh .estate-content h1 {
  max-width: 1200px;
  margin: 0 auto;
  color: #fff;
  font-family: var(--serif, Georgia, serif);
  font-size: clamp(52px, 7.9vw, 118px);
  font-weight: 400;
  line-height: 1.06;
  letter-spacing: -.025em;
  text-wrap: balance;
}

.home-page.home-hero-refresh .hero-brand-area {
  max-width: 760px;
  margin: 23px auto 0;
  color: #fff;
  font-size: clamp(15px, 1.45vw, 20px);
  line-height: 1.65;
  letter-spacing: .015em;
  text-wrap: balance;
}

.home-page.home-hero-refresh .hero-brand-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 31px auto 0;
}

.home-page.home-hero-refresh .hero-brand-actions .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 25px;
  min-width: 198px;
  min-height: 52px;
  margin: 0;
  padding: 14px 24px;
  border: 1px solid #fff;
  border-radius: 3px;
  background: #fff;
  color: var(--green, #216b45);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.45;
  text-decoration: none;
  text-shadow: none;
  transform: none;
}

.home-page.home-hero-refresh .hero-brand-actions .hero-sell {
  border-color: rgb(255 255 255 / 75%);
  background: var(--green, #216b45);
  color: #fff;
}

.home-page.home-hero-refresh .hero-brand-actions .hero-buy:hover {
  background: #edf4ee;
  border-color: #edf4ee;
  color: #174f34;
}

.home-page.home-hero-refresh .hero-brand-actions .hero-sell:hover {
  background: #174f34;
  border-color: #fff;
  color: #fff;
}

.home-page.home-hero-refresh .hero-brand-actions .button:focus-visible,
.home-page.home-hero-refresh .hero-discover:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 5px;
  box-shadow: 0 0 0 8px rgb(8 26 18 / 65%);
}

.home-page.home-hero-refresh .estate-bottom {
  position: relative;
  inset: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 24px;
  width: 88%;
  margin: 0 auto;
  color: #fff;
}

.home-page.home-hero-refresh .hero-discover {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-height: 44px;
  max-width: 100%;
  padding: 7px 0;
  font-size: 12px;
  line-height: 1.5;
  color: #fff;
}

.home-page.home-hero-refresh .estate-controls {
  flex: 0 0 auto;
  margin-left: auto;
}

@media (max-width: 700px) {
  .home-page.home-hero-refresh .estate-content {
    padding: 48px 0;
  }

  .home-page.home-hero-refresh .hero-brand-panel {
    padding: 40px 6%;
  }

  .home-page.home-hero-refresh .estate-content h1 {
    font-size: clamp(48px, 12vw, 76px);
    line-height: 1.08;
  }

  .home-page.home-hero-refresh .hero-brand-area {
    max-width: 440px;
    margin-top: 21px;
    font-size: 16px;
  }

  .home-page.home-hero-refresh .hero-brand-actions {
    gap: 12px;
    margin-top: 28px;
  }

  .home-page.home-hero-refresh .hero-brand-actions .button {
    min-width: 0;
    width: min(100%, 290px);
    min-height: 50px;
    font-size: 14px;
  }

  .home-page.home-hero-refresh .estate-bottom {
    width: 88%;
    gap: 12px;
  }

  .home-page.home-hero-refresh .hero-discover {
    font-size: 11px;
    gap: 10px;
  }
}

@media (max-height: 560px) and (min-width: 701px) {
  .home-page.home-hero-refresh .estate-content { padding: 36px 0; }
  .home-page.home-hero-refresh .hero-brand-panel { padding-block: 32px; }
  .home-page.home-hero-refresh .estate-content h1 { font-size: clamp(52px, 6.2vw, 88px); }
  .home-page.home-hero-refresh .hero-brand-actions { margin-top: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  .home-page.home-hero-refresh .hero-brand-actions .button { transition: none; }
}
