.hero--couple {
  --couple-hero-height: clamp(565px, 46vw, 690px);
  min-height: var(--couple-hero-height);
  background: #151211;
}

.hero--couple .hero-scene {
  inset: 0;
  z-index: -3;
  height: 100%;
}

.hero--couple .hero-scrim {
  inset: 0;
  height: 100%;
  background:
    linear-gradient(90deg, #1b151148 0%, #17120eae 24%, #17120e9e 39%, #19150e22 61%, #15110e0a 100%),
    radial-gradient(ellipse at 28% 108%, #15110dc2 0%, transparent 54%);
}

.hero--couple .hero-inner {
  display: grid;
  grid-template-areas: "logo" "copy";
  grid-template-columns: minmax(0, 46%);
  row-gap: .65rem;
  padding-block: clamp(2.25rem, 4.3vw, 4rem);
}

.hero--couple .hero-logo {
  grid-area: logo;
  align-self: end;
  width: clamp(185px, 19.5vw, 298px);
  margin: 0 auto;
}

.hero-couple-copy { grid-area: copy; align-self: start; }
.hero--couple h1 { font-size: clamp(2.02rem, 3.85vw, 3.65rem); }

.hero-couple-portrait {
  position: absolute;
  inset: auto max(1.25%, calc((100% - 1210px) / 2)) 0 auto;
  z-index: -2;
  width: min(59%, calc(var(--couple-hero-height) * 762 / 727));
  margin: 0;
  overflow: hidden;
  aspect-ratio: 762 / 727;
  mask-image:
    url("/public/coutu-portrait-blend.svg?v=20261107-arm"),
    linear-gradient(180deg, transparent, #000 2.2%, #000 98%, transparent);
  mask-size: 100% 100%;
  mask-repeat: no-repeat;
  mask-composite: intersect;
}

.hero-couple-photo { height: 100%; }
.hero-couple-photo img {
  width: 100%;
  height: auto;
}

@media (min-width: 761px) and (max-width: 940px) {
  .header-inner { gap: .65rem; }
  .desktop-nav { gap: .75rem; }
  .hero--couple .hero-actions .button { padding-inline: .7rem; font-size: .84rem; }
}

@media (max-width: 760px) {
  .hero--couple { min-height: 0; background: #171310; }
  .hero--couple .hero-scene, .hero--couple .hero-scrim { display: none; }

  .hero--couple .hero-inner {
    grid-template-areas: "logo" "portrait" "copy";
    grid-template-columns: minmax(0, 1fr);
    row-gap: .35rem;
    padding-block: .55rem 1.5rem;
  }

  .hero--couple .hero-logo { width: clamp(106px, 29vw, 152px); }
  .hero-couple-portrait {
    grid-area: portrait;
    position: relative;
    inset: auto;
    z-index: 0;
    width: calc(100% + 2.25rem);
    height: clamp(156px, calc(100svh - 390px), 342px);
    margin-inline: -1.125rem;
    aspect-ratio: auto;
    mask-image: none;
  }

  .hero-couple-portrait::after {
    position: absolute;
    inset: 0;
    background: linear-gradient(
      to bottom,
      #171310, transparent 26px, transparent calc(100% - 38px), #171310
    );
    pointer-events: none;
    content: "";
  }

  .hero-couple-photo img {
    height: 100%;
    object-fit: cover;
    object-position: center top;
  }

  .hero--couple .hero-kicker { gap: .4rem; font-size: .68rem; letter-spacing: .12em; }
  .hero--couple .hero-kicker span { flex-basis: clamp(.4rem, 3vw, 1.5rem); }
  .hero--couple h1 {
    margin-block: .45rem .55rem;
    font-size: clamp(1.95rem, 8.9vw, 3.25rem);
  }

  .hero--couple .hero-description {
    max-width: 42ch;
    font-size: .94rem;
    line-height: 1.4;
  }

  .hero--couple .hero-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 24rem;
    gap: .45rem;
    margin: .7rem auto 0;
  }

  .hero--couple .hero-actions .button {
    gap: .3rem;
    padding: .45rem .3rem;
    font-size: clamp(.72rem, 3.35vw, .82rem);
    line-height: 1.25;
  }
}

@media (max-width: 760px) and (max-height: 540px),
       (max-width: 760px) and (min-aspect-ratio: 1/1) {
  .hero--couple .hero-inner {
    grid-template-areas: "logo portrait" "copy copy";
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 28rem;
  }

  .hero--couple .hero-logo { align-self: center; }
  .hero-couple-portrait {
    width: min(100%, 180px);
    width: min(100%, clamp(106px, calc(100svh - 335px), 180px));
    height: auto;
    margin-inline: auto;
    aspect-ratio: 762 / 727;
    border: 1px solid #6c5540;
    border-radius: 4px;
  }

  .hero-couple-portrait::after { content: none; }
}

