.reference-hero {
  --hero-beige: #f4f0e5;
}
.reference-hero h1 {
  word-break: normal;
  overflow-wrap: normal;
  hyphens: none;
}
.reference-hero.first-screen {
  --hero-fade: 29%;
  display: grid;
  align-items: center;
  background: var(--hero-beige);
}
.first-screen .hero-figure { width: 63%; }
.first-screen .hero-figure img { object-position: 31% top; }
.first-screen .hero-figure::after {
  background: linear-gradient(90deg, var(--hero-beige), transparent var(--hero-fade));
}
.first-screen .hero-text { max-width: 51%; }
.reference-hero.first-screen h1 {
  font-size: clamp(1.875rem, 4vw, 2.92rem);
  text-wrap: balance;
}
.first-screen .hero-city {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--green-dark);
  font-size: .83rem;
  font-weight: 720;
  text-underline-offset: 3px;
}
.first-screen .hero-city::before {
  content: "⌖";
  margin-inline-end: 5px;
  color: var(--green);
  font-size: 1.16em;
}
.first-screen .hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-top: 16px;
}
.first-screen--standalone { margin-block: 0 16px; }
.first-screen--standalone .hero-figure figcaption { bottom: 8px; }

@media (max-width: 700px) {
  .reference-hero.first-screen {
    --hero-fade: 32%;
    align-items: start;
    min-height: clamp(226px, 67vw, 350px);
  }
  .first-screen .hero-figure {
    bottom: auto;
    width: 55%;
    height: clamp(216px, 64vw, 345px);
  }
  .first-screen .hero-figure::after {
    background:
      linear-gradient(90deg, var(--hero-beige) 12%, #f4f0e5ad 23%, transparent var(--hero-fade)),
      linear-gradient(0deg, var(--hero-beige), transparent 25%);
  }
  .first-screen .hero-figure figcaption {
    right: 6px;
    bottom: 11%;
    max-width: 67%;
  }
  .first-screen--standalone .hero-figure img { object-position: 76% top; }
  .first-screen .hero-text {
    max-width: none;
    padding-block: 14px 18px;
  }
  .first-screen .hero-text > :not(.hero-actions) {
    max-width: 59%;
    width: fit-content;
  }
  .wrap > .first-screen--standalone {
    width: calc(100% + var(--gutter)*2);
    margin-inline: calc(-1*var(--gutter));
  }
  .reference-hero.first-screen h1 {
    font-size: clamp(1.125rem, 5.55vw, 1.95rem);
    line-height: 1.05;
  }
  .first-screen .hero-city { font-size: .8rem; }
  .first-screen .hero-intro { font-size: clamp(.88rem, 3.55vw, 1rem); }
  .first-screen .hero-actions { gap: 5px 10px; margin-top: 11px; }
  .first-screen .hero-actions .button { padding-inline: 9px; font-size: .82rem; }
}

@media (max-width: 430px) {
  .reference-hero:not(.first-screen) .hero-figure img { object-position: 76% top; }
  .reference-hero:not(.first-screen) .hero-figure figcaption { max-width: 58%; }
  .reference-hero:not(.first-screen) .hero-figure::after {
    background: linear-gradient(90deg, var(--hero-beige), #f4f0e5e8 25%, #f4f0e561 38%, transparent 46%);
  }
}
