.rv-home-hero {
  --rv-ink: #16181c;
  --rv-muted: #666d77;
  --rv-soft: #f5f6f8;
  --rv-line: #e5e8ec;
  --rv-action: #17191d;
  width: min(1440px, calc(100% - clamp(40px, 5vw, 72px)));
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  margin-inline: auto;
  overflow: hidden;
  isolation: isolate;
  background: #ffffff;
  color: var(--rv-ink);
}

.rv-home-hero__copy {
  grid-area: 1 / 1;
  position: relative;
  z-index: 2;
  width: min(47%, 620px);
  min-width: 0;
  align-self: center;
  padding: clamp(52px, 6vw, 76px) 0 clamp(52px, 6vw, 76px) clamp(32px, 4.5vw, 72px);
}

.rv-home-hero__kicker {
  margin: 0 0 18px;
  color: var(--rv-muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.rv-home-hero h1 {
  max-width: 560px;
  margin: 0;
  color: var(--rv-ink);
  font-size: clamp(42px, 4.2vw, 68px);
  font-weight: 700;
  letter-spacing: -.028em;
  line-height: 1.1;
}

.rv-home-hero__body {
  max-width: 480px;
  margin: 24px 0 0;
  color: var(--rv-muted);
  font-size: 16px;
  line-height: 1.72;
}

.rv-home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.rv-button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  border: 1px solid var(--rv-action);
  border-radius: 9px;
  font-size: 14px;
  font-weight: 700;
  transition: transform .18s ease;
}

.rv-button:hover {
  transform: translateY(-2px);
}

.rv-button--primary {
  background: var(--rv-action);
  color: #ffffff;
}

.rv-button--secondary {
  background: #ffffff;
  border-color: var(--rv-line);
  color: var(--rv-ink);
}

.rv-home-hero__media {
  grid-area: 1 / 1;
  z-index: 0;
  min-width: 0;
}

.rv-home-hero__media img {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

.rv-home-hero::after {
  content: "";
  grid-area: 1 / 1;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(255, 255, 255, .99) 0%, rgba(255, 255, 255, .97) 27%, rgba(255, 255, 255, .56) 43%, rgba(255, 255, 255, 0) 61%);
}

@media (max-width: 900px) {
  .rv-home-hero {
    width: min(calc(100% - 40px), 1440px);
    min-height: auto;
    gap: 24px;
    padding-block: 56px 32px;
  }

  .rv-home-hero__copy {
    grid-area: auto;
    width: 100%;
    padding: 0;
  }

  .rv-home-hero h1 {
    max-width: 760px;
    font-size: clamp(42px, 8vw, 64px);
  }

  .rv-home-hero__media {
    grid-area: auto;
    margin: 0;
  }

  .rv-home-hero::after {
    display: none;
  }
}

@media (max-width: 600px) {
  .rv-home-hero {
    width: calc(100% - 28px);
    gap: 18px;
    padding-block: 42px 24px;
  }

  .rv-home-hero h1 {
    font-size: clamp(38px, 11.5vw, 52px);
    letter-spacing: -.018em;
    line-height: 1.12;
  }

  .rv-home-hero__body {
    margin-top: 20px;
    line-height: 1.65;
  }

  .rv-home-hero__actions {
    display: grid;
    grid-template-columns: 1fr;
    margin-top: 28px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .rv-button {
    transition: none;
  }
}
