/* Carry the warm hero color into Safari’s inset around the notch. */
html, body { background-color: #ffe8c6; }
main { background: var(--paper); }

.operator-hero {
  height: clamp(680px, 100svh, 1100px);
  min-height: 0;
  max-height: none;
  padding-bottom: 0;
  background: #ffe8c6;
}
.operator-hero::before {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: 100px;
  background: linear-gradient(#ffe8c6 20%, #ffe8c600);
  z-index: 1;
  pointer-events: none;
}
.operator-hero .neighborhood-art {
  left: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  min-width: 0;
  object-fit: cover;
  object-position: center bottom;
  transform: none;
  mask-image: linear-gradient(#000 95%, transparent);
  -webkit-mask-image: linear-gradient(#000 95%, transparent);
}
.operator-hero .header {
  width: 100%;
  height: 84px;
  max-width: 1800px;
  padding: 18px 34px;
}
.operator-hero .hero-content { z-index: 2; margin: 0; padding: 24px 24px 0; }
.operator-hero .hero-content h1 { width: min(46vw, 700px, 78svh); max-width: none; }
.operator-hero .hero-content > p:not(.hero-small) {
  max-width: 600px;
  margin: 22px auto 0;
  padding: 0;
  font-size: 19px;
  line-height: 1.5;
  letter-spacing: 0;
  color: #355547;
}
.operator-hero .hero-content .text-stoop {
  margin-top: 20px;
  gap: 9px;
  padding: 10px 21px 10px 12px;
  min-height: 48px;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.2;
}
.operator-hero .hero-content .messages-icon { width: 26px; height: 26px; flex-basis: 26px; }
.operator-hero .hero-content .hero-small { margin-top: 10px; font-size: 13px; line-height: 1.5; color: #526956; }

@media (min-width: 1001px) and (max-height: 800px) {
  .operator-hero .header { height: 72px; padding-block: 14px; }
  .operator-hero .hero-content { padding-top: 6px; }
  .operator-hero .hero-content > p:not(.hero-small) { margin-top: 18px; font-size: 17px; }
  .operator-hero .hero-content .text-stoop { margin-top: 16px; min-height: 46px; font-size: 17px; }
  .operator-hero .hero-content .hero-small { margin-top: 8px; }
}
/* A short, wide window crops more sky, so the copy needs a little less height. */
@media (min-width: 1001px) and (min-aspect-ratio: 2/1) {
  .operator-hero .hero-content h1 { width: min(46vw, 60svh); }
}

/* The portrait scene leaves room for live copy above the neighbors. */
@media (max-width: 1000px) {
  .operator-hero { height: auto; min-height: 0; padding-bottom: clamp(270px, 78vw, 535px); }
  .operator-hero .hero-content { padding-top: 20px; }
  .operator-hero .hero-content h1 { width: min(78vw, 500px); }
  .operator-hero .neighborhood-art { height: auto; object-fit: initial; }
}
@media (max-width: 680px) {
  .operator-hero { min-height: 100svh; }
  .operator-hero .neighborhood-art {
    mask-image: linear-gradient(transparent, #000 16%, #000 95%, transparent);
    -webkit-mask-image: linear-gradient(transparent, #000 16%, #000 95%, transparent);
  }
  .operator-hero .header { height: 74px; padding: 15px 20px; }
  .operator-hero .header nav { gap: 14px; }
  .operator-hero .header .nav-join.text-stoop { padding: 8px 12px; gap: 7px; font-size: 13px; }
  .operator-hero .header .messages-icon { width: 22px; height: 22px; flex-basis: 22px; }
  .operator-hero .hero-content { padding: 20px 20px 0; }
  .operator-hero .hero-content h1 { width: min(88vw, 400px); }
  .operator-hero .hero-content > p:not(.hero-small) {
    max-width: 360px;
    margin-top: 20px;
    font-size: 16px;
    line-height: 1.5;
    text-wrap: balance;
  }
  .operator-hero .hero-content > p:not(.hero-small) br { display: none; }
  .operator-hero .hero-content .text-stoop { margin-top: 20px; min-height: 46px; font-size: 17px; }
  .operator-hero .hero-content .hero-small { font-size: 12px; }
}
@media (max-width: 359px) {
  .operator-hero .header { height: 70px; padding-inline: 16px; }
  .operator-hero .header nav { gap: 10px; }
  .operator-hero .header .nav-join.text-stoop { padding-inline: 10px; }
  .operator-hero .hero-content { padding: 16px 18px 0; }
  .operator-hero .hero-content > p:not(.hero-small) { font-size: 15px; margin-top: 18px; }
  .operator-hero .hero-content .text-stoop { margin-top: 18px; }
}
