.real-life-scenes #home.hero.hero-unified { padding-inline: 0; }

#home .portrait-hero {
  --hero-gutter: calc((var(--page-pad) + clamp(32px, 5vw, 92px)) / 2);
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  min-height: clamp(660px, 64vw, 900px);
  padding: 80px var(--hero-gutter);
  overflow: hidden;
  background: radial-gradient(ellipse at 67% 33%, #007566 0%, #153d35 38%, #101817 78%);
}

.portrait-hero__watermark {
  position: absolute;
  z-index: -2;
  inset: 4% 0 auto;
  color: #8ddac8;
  opacity: .12;
  font: 700 clamp(160px, 34vw, 560px)/.82 var(--display);
  letter-spacing: -.065em;
  text-align: center;
  white-space: nowrap;
  pointer-events: none;
}

.portrait-hero__image {
  position: absolute;
  z-index: -1;
  bottom: 0;
  left: 60%;
  width: min(61%, 960px);
  height: auto;
  max-height: 96%;
  object-fit: contain;
  object-position: center bottom;
  transform: translateX(-50%);
  mask-image: linear-gradient(to top, transparent, black 8%);
}

.portrait-hero__copy { width: min(49%, 660px); }

.portrait-hero__eyebrow {
  margin: 0 0 20px;
  color: #fff;
  font-size: 14.4px;
  font-weight: 800;
  letter-spacing: .15em;
  text-transform: uppercase;
}

#home.hero-unified .portrait-hero #hero-title {
  color: #f2f6f3;
  font-size: clamp(52px, 5.25vw, 96px);
  font-weight: 700;
  line-height: .87;
}

.portrait-hero #hero-title > * { display: block; text-transform: uppercase; }

.portrait-hero__description {
  max-width: 36ch;
  margin: 25px 0;
  color: #e1ebe5;
  font-size: clamp(15px, 1.3vw, 19px);
  line-height: 1.6;
}

.portrait-hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 22px;
}

.hero-progress {
  position: absolute;
  right: var(--hero-gutter);
  bottom: 12%;
  width: clamp(320px, 34%, 520px);
  min-width: 0;
  padding: 12px;
  border: 1px solid #8ddac84d;
  border-radius: 20px 4px;
  color: #f2f6f3;
  background: #102923f5;
}

.hero-progress__header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 5px 12px;
  margin-bottom: 8px;
}

#home .hero-progress__header h2 {
  margin: 0;
  font: 700 22px/1 var(--display);
  text-transform: uppercase;
}

#home .hero-progress__header a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.hero-progress__controls:not([hidden]) {
  display: flex;
  gap: 5px;
}

#home .hero-progress__controls button {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 1px solid #8ddac86b;
  border-radius: 4px;
  background: transparent;
  color: #f2f6f3;
  font: 600 17px/1 var(--body);
  cursor: pointer;
}

#home .hero-progress__controls button:is(:hover,:focus-visible) {
  background: #8ddac8;
  color: #102923;
}

.hero-progress__viewport {
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: #8ddac8 #153d35;
}

#home .hero-progress__group {
  position: relative;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 100%;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero-progress__pair {
  min-width: 0;
  scroll-snap-align: start;
  background: #153d35;
}

.hero-progress__pair img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.hero-progress__labels {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.hero-progress__labels span {
  justify-self: start;
  margin: 5px;
  padding: 2px 6px;
  border-radius: 3px;
  background: #101817e8;
  font-size: 10px;
  font-weight: 700;
}

@media (max-width: 1100px) {
  .portrait-hero__eyebrow { padding-top: 18px; }
}

@media (max-width: 1100px) and (min-width: 761px) {
  #home .portrait-hero { align-items: start; padding-top: 105px; }
  .hero-progress { bottom: 7%; }
  .portrait-hero__image { left: 66%; width: 68%; }
}

@media (max-width: 760px) {
  #home .portrait-hero {
    display: grid;
    min-height: auto;
    padding: 30px 9px 18px;
    background: radial-gradient(ellipse at 56% 40%, #007566 0%, #153d35 34%, #101817 76%);
  }

  .portrait-hero__copy { grid-row: 1; width: auto; }
  .portrait-hero__eyebrow { margin-bottom: 13px; font-size: 12px; }
  #home.hero-unified .portrait-hero #hero-title { font-size: clamp(38px, 11.5vw, 74px); }
  .portrait-hero__description { margin: 16px 0; }
  .portrait-hero__watermark { inset-block-start: auto; top: 43%; font-size: 39vw; }
  .portrait-hero__image {
    position: relative;
    left: auto;
    width: min(100%, 460px);
    max-height: none;
    margin: 10px auto -32px;
    transform: none;
    grid-row: 2;
  }
  .hero-progress { position: relative; inset: auto; width: 100%; }
}
