/* Keep the artwork in normal flow and leave the heading and links stationary within it. */
.hedge-hero {
  min-height: 0;
}

.hedge-hero-stage {
  position: relative;
  top: auto;
  height: auto;
  min-height: calc(100svh - var(--rivage-chrome-height, 93px));
  padding-block: clamp(24px, 4vh, 46px) clamp(42px, 6vh, 64px);
}

.hedge-hero-copy {
  transform: none;
  z-index: 1;
}

@media (prefers-reduced-motion: reduce) {
  .hedge-hero-grid {
    transform: none;
  }
}

.hedge-hero-stage {
  align-items:end;
  justify-items:start;
  padding-inline:max(clamp(22px,5vw,92px), calc((100vw - 1360px) / 2));
  padding-block-end:clamp(42px,8vh,78px);
}
.hedge-hero-stage::before {
  inset:-23px 0;
  background:
    linear-gradient(180deg, #05050545 0%, #05050510 40%, #050505a0 78%, #050505 100%),
    linear-gradient(90deg, #050505ee 0%, #050505b0 38%, #05050527 83%),
    url("/assets/rivage-wall-street.jpg") center 54% / cover no-repeat;
  filter: grayscale(1);
  transform:translateY(var(--art-depth,0px)) scale(var(--hero-art-scale,1));
}
.hedge-hero-copy {
  width:min(100%,760px);
  max-width:none;
  padding:0;
  text-align:left;
}
.hedge-hero h1 {
  font-size:clamp(2.85rem,5.25vw,5.15rem);
  line-height:.98;
  letter-spacing:-.065em;
}
.hedge-hero-copy > p:not(.hedge-hero-kicker) {
  margin:17px 0 0;
  max-width:46ch;
}
.hedge-hero-actions {justify-content:start;flex-wrap:wrap;gap:8px;}
.hedge-hero-caption {bottom:12px;}
@media(max-width:640px) {
  .hedge-hero-stage {padding-block-end:64px;}
  .hedge-hero h1 {font-size:clamp(2.55rem,10vw,4.25rem);}
  .hedge-hero-stage::before {background-position:center,center,61% 48%;}
  .hedge-hero-copy > p:not(.hedge-hero-kicker) {max-width:37ch;}
}
@media(prefers-reduced-motion:reduce) {
  .hedge-hero-stage::before {transform:none;}
}
@media(max-width:360px) {
  .hedge-hero h1 {font-size:clamp(2.35rem,10vw,2.55rem);}
}

@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .hedge-hero-stage::after {
    position: absolute;
    z-index: -1;
    inset: 0;
    pointer-events: none;
    content: "";
    background:
      radial-gradient(ellipse at var(--hero-foil-x) var(--hero-foil-y),
        #f2ffd457 0%, #dbff9635 9%, #a8e54114 23%, transparent 42%),
      repeating-linear-gradient(117deg, #fff3 0 1px, transparent 1px 6px),
      conic-gradient(from 18deg at var(--hero-foil-x) var(--hero-foil-y),
        #a5ed476b, #80ae3568 14%, #b9ef725f 27%, #e0ffab62 41%,
        #d4fa8668 58%, #88cf3f74 76%, #a5ed476b);
    mask-image:
      radial-gradient(ellipse min(44vw, 550px) min(70%, 420px) at var(--hero-foil-x) var(--hero-foil-y),
        #000 2%, #000a 29%, #0004 50%, transparent 80%);
    mix-blend-mode: screen;
    opacity: 0;
    transition: opacity 200ms ease-out;
    --hero-foil-x: var(--hero-hover-x, 50%);
    --hero-foil-y: var(--hero-hover-y, 50%);
  }

  .hedge-hero-stage[data-hero-foil]:hover::after {
    opacity: .19;
  }
}

.rivage-contract {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .45rem .7rem;
  margin-top: 1rem;
  color: var(--landing-muted);
  font-size: .82rem;
}
.rivage-contract a {
  min-width: 0;
  overflow-wrap: anywhere;
  color: var(--landing-teal);
}
.rivage-contract button {
  padding: .25rem .55rem;
  border: 1px solid #b7f35745;
  border-radius: .2rem;
  background: #10150e;
  color: #e7efdc;
  cursor: pointer;
}
