/* Simple Focus hero: a quiet tonal field supports the portrait. GSAP only
   enhances the content within this finished static composition. */
.hero--threshold {
  isolation: isolate;
  overflow: hidden;
  background: var(--forest);
}

.threshold-stage {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.threshold-stage__wash {
  position: absolute;
  inset: 0;
  display: block;
  background: linear-gradient(112deg, var(--forest-deep) 0%, var(--forest) 56%, color-mix(in oklch, var(--forest) 88%, var(--clay)) 100%);
}

.hero--threshold .hero-v1 {
  z-index: 2;
  grid-template-columns: 3rem minmax(0, 1.45fr) minmax(15rem, 0.55fr);
  gap: clamp(1.5rem, 3vw, 3rem);
  overflow: visible;
}

.hero--threshold .hero-v1::before,
.hero--threshold .hero-v1::after {
  content: none;
}

.hero--threshold .hero-v1__note::before {
  display: none;
}

.hero--threshold .hero-v1__copy {
  z-index: 3;
}

.hero--threshold .hero-copy-layout-a {
  gap: clamp(1.1rem, 2.3vh, 1.55rem);
}

.hero--threshold .hero-v1 h1 {
  max-width: none;
  font-size: clamp(4.5rem, 7.5vw, 8.5rem);
  font-variation-settings: "wdth" 79;
  line-height: 0.86;
}

.hero--threshold .threshold-line {
  position: relative;
  display: block;
}

.hero--threshold .threshold-line:first-child,
.hero--threshold .threshold-line--cross {
  width: max-content;
  max-width: none;
  white-space: nowrap;
}

.hero--threshold .threshold-line--cross {
  margin-left: clamp(2rem, 4vw, 4rem);
  text-indent: 0;
}

.hero--threshold .hero-copy-layout-a__footer {
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
  gap: 1.15rem;
  max-width: 35rem;
  padding-top: 0.4rem;
}

.hero--threshold .hero-v1__lede {
  max-width: 34rem;
}

.hero--threshold .hero-v1__actions {
  width: fit-content;
}

.hero--threshold .button--light {
  background: var(--clay-light);
}

.hero--threshold .threshold-portrait {
  z-index: 3;
  align-self: center;
  width: min(100%, 22rem);
  clip-path: inset(0 0 0 0);
}

.hero--threshold .hero-v1__photo {
  aspect-ratio: 3 / 4;
  border: 1px solid color-mix(in oklch, var(--clay-light) 30%, transparent);
  border-radius: 14px 14px 0 0;
  background: var(--clay);
  box-shadow: 0 1.25rem 2.5rem color-mix(in oklch, var(--forest-deep) 34%, transparent);
  animation: none;
}

.hero--threshold .hero-v1__photo::after {
  position: absolute;
  inset: 0;
  background: color-mix(in oklch, var(--clay) 14%, transparent);
  content: "";
  mix-blend-mode: color;
  pointer-events: none;
}

.hero--threshold .hero-v1 figcaption {
  padding-top: 0.85rem;
}

.threshold-enhanced [data-threshold-portrait] {
  will-change: transform;
}

@media (max-width: 49.875rem) {
  .threshold-stage__wash {
    background: linear-gradient(118deg, var(--forest-deep) 0%, var(--forest) 64%, color-mix(in oklch, var(--forest) 88%, var(--clay)) 100%);
  }

  .hero--threshold .hero-v1 {
    grid-template-columns: minmax(0, 1fr) clamp(7.5rem, 30vw, 14rem);
    gap: 1.25rem clamp(0.9rem, 3.5vw, 1.5rem);
  }

  .hero--threshold .hero-v1 h1 {
    max-width: 7.1ch;
    font-size: clamp(3rem, 10.5vw, 4.5rem);
  }

  .hero--threshold .threshold-line:first-child,
  .hero--threshold .threshold-line--cross {
    width: auto;
    white-space: normal;
  }

  .hero--threshold .threshold-line--cross {
    max-width: 6.7ch;
    margin-left: clamp(0.45rem, 2vw, 1rem);
  }

  .hero--threshold .threshold-portrait {
    align-self: center;
    justify-self: center;
    width: 100%;
    max-width: 13.25rem;
  }

  .hero--threshold .hero-copy-layout-a__footer {
    max-width: none;
    padding-top: 0.5rem;
  }
}

@media (min-width: 49.9375rem) and (max-width: 64rem) {
  .hero--threshold .hero-v1 h1 {
    max-width: 7.1ch;
    font-size: 4.5rem;
  }

  .hero--threshold .threshold-line:first-child,
  .hero--threshold .threshold-line--cross {
    width: auto;
    white-space: normal;
  }

  .hero--threshold .threshold-line--cross {
    max-width: 6.7ch;
    margin-left: 1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .threshold-enhanced [data-threshold-portrait] {
    will-change: auto;
  }
}
