/* Approved Stone Pond scenic hero. Scoped to avoid Webflow component drift. */
.pond-hero,
.pond-hero * { box-sizing: border-box; }

.pond-hero {
  position: relative;
  width: 100%;
  min-height: 760px;
  padding: 0 32px 96px;
  overflow: hidden;
  isolation: isolate;
  color: #1e2022;
  background: #fff;
  font-family: Arial, Helvetica, sans-serif;
  text-align: center;
}

.pond-hero::after {
  content: "";
  position: absolute;
  z-index: 1;
  inset: auto 0 0;
  height: 12%;
  pointer-events: none;
  background: linear-gradient(to bottom, rgba(249,249,250,0), #f9f9fa 94%);
}

.pond-hero-art { position: absolute; z-index: 0; inset: 0; pointer-events: none; }
.pond-hero-art img {
  --mask-rx: min(760px, 78vw);
  --mask-ry: 270px;
  --mask-rx-offset: min(600px, 62vw);
  --mask-ry-offset: 200px;
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center bottom;
  -webkit-mask-image:
    radial-gradient(ellipse var(--mask-rx) var(--mask-ry) at 50% 175px, transparent 0 76%, rgba(0,0,0,.28) 88%, #000 100%),
    radial-gradient(ellipse var(--mask-rx-offset) var(--mask-ry-offset) at 47% 270px, transparent 0 70%, rgba(0,0,0,.3) 86%, #000 100%),
    linear-gradient(to bottom, rgba(0,0,0,.48), rgba(0,0,0,.64) 34%, #000 54%);
  -webkit-mask-composite: source-in, source-in;
  mask-image:
    radial-gradient(ellipse var(--mask-rx) var(--mask-ry) at 50% 175px, transparent 0 76%, rgba(0,0,0,.28) 88%, #000 100%),
    radial-gradient(ellipse var(--mask-rx-offset) var(--mask-ry-offset) at 47% 270px, transparent 0 70%, rgba(0,0,0,.3) 86%, #000 100%),
    linear-gradient(to bottom, rgba(0,0,0,.48), rgba(0,0,0,.64) 34%, #000 54%);
  mask-composite: intersect, intersect;
  mask-mode: alpha;
}

.pond-hero-header {
  position: relative;
  z-index: 2;
  width: min(1280px, calc(100% - 64px));
  min-height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.pond-hero-brand { display: inline-flex; width: 163px; height: 44px; align-items: center; }
.pond-hero-brand img { display: block; width: 163px; height: 35px; max-width: none; object-fit: contain; }
.pond-hero-nav { display: flex; align-items: center; gap: 12px; font-size: 16px; line-height: 24px; }
.pond-hero-nav a { display: inline-flex; min-height: 44px; padding: 10px 14px; align-items: center; border-radius: 999px; color: #1e2022; text-decoration: none; }
.pond-hero-nav a:hover { background: #fff; }
.pond-hero-nav a[aria-current="page"] { background: #fff; box-shadow: 0 0 0 1px rgba(34, 42, 53, .06); }
.pond-hero-nav .pond-hero-cta { padding-inline: 20px; color: #fff; background: #1e2022; }
.pond-hero-nav .pond-hero-cta:hover { background: #4a7cb8; }
.pond-hero a:focus-visible { outline: 3px solid #4a7cb8; outline-offset: 3px; }

.pond-hero-copy { position: relative; z-index: 2; width: min(1040px, 100%); margin: 72px auto 0; }
.pond-hero-copy h1 { margin: 0; color: #1e2022; font-family: Arial, Helvetica, sans-serif; font-size: 72px; line-height: 76px; letter-spacing: -.04em; font-weight: 700; text-align: center; text-wrap: balance; }
.pond-hero-copy h1 span { color: #4a7cb8; }
.pond-hero-copy p { max-width: 690px; margin: 24px auto 0; color: #3e474c; font-family: Arial, Helvetica, sans-serif; font-size: 19px; line-height: 30px; font-weight: 400; text-align: center; }

@media (max-width: 900px) {
  .pond-hero { min-height: 720px; padding-bottom: 80px; }
  .pond-hero-copy h1 { font-size: 48px; line-height: 52px; }
}

@media (max-width: 700px) {
  .pond-hero { min-height: 720px; padding: 0 16px 64px; }
  .pond-hero-art img { --mask-rx: 96vw; --mask-rx-offset: 80vw; }
  .pond-hero-header { width: calc(100% - 32px); padding-block: 14px; align-items: flex-start; }
  .pond-hero-brand { width: 126px; }
  .pond-hero-brand img { width: 126px; height: auto; }
  .pond-hero-nav { justify-content: flex-end; flex-wrap: wrap; gap: 4px; font-size: 14px; }
  .pond-hero-nav a { padding: 8px 9px; }
  .pond-hero-copy { margin-top: 56px; }
  .pond-hero-copy h1 { font-size: 36px; line-height: 40px; }
  .pond-hero-copy p { margin-top: 18px; font-size: 16px; line-height: 26px; }
}

@media (max-width: 430px) {
  .pond-hero-header { display: block; }
  .pond-hero-nav { justify-content: flex-start; margin-top: 8px; }
  .pond-hero-copy { margin-top: 48px; }
  .pond-hero-copy h1 { font-size: 34px; line-height: 38px; }
}

/* ---------- Staging v18 additions (everything above is byte-identical to live) ----------
   "Stone Pond Investing" pill above the H1. The copy block's top margin shrinks by most of the
   pill's height so the headline moves down only ~16px and stays clear of the tree line. */
.pond-hero-copy { margin-top: 40px; }
.pond-hero-copy .sp-pill { max-width: none; margin: 0 auto 20px; color: #3a3f44; font-size: 14px; line-height: 20px; } /* beats .pond-hero-copy p */

@media (max-width: 700px) {
  .pond-hero-copy { margin-top: 28px; }
  .pond-hero-copy .sp-pill { margin-bottom: 16px; font-size: 14px; line-height: 20px; }
}

@media (max-width: 430px) {
  .pond-hero-copy { margin-top: 24px; }
}

/* Three nav links (Investing, Consulting, Talk to us) on one row down to 320px. */
@media (max-width: 380px) {
  .pond-hero-header { width: 100%; }
  .pond-hero-nav { gap: 2px; }
  .pond-hero-nav a { padding-inline: 8px; }
  .pond-hero-nav .pond-hero-cta { padding-inline: 12px; }
}

/* v20 cool grade: slight cooler cast on the hero photo only (R .94, G .99, B 1.04 via the inline
   #pond-cool feColorMatrix; v19 was .96/.99/1.02). The raster is untouched; delete this rule to
   revert. Filters render before masks. v20 also softens the upper trees in both linear opacity
   masks (.52->.48 top, .68->.64 at 34%; full opacity from 54% and radial shapes unchanged). */
.pond-hero-grade { position: absolute; width: 0; height: 0; overflow: hidden; }
.pond-hero-art img { filter: url(#pond-cool); }

/* ---------- v23 mobile (<=700px) ----------
   Header: centred logo above centred Investing / Consulting; "Talk to us" hidden (desktop keeps it).
   Hero: identity pill hidden. Pond: the art box is anchored to the bottom and sized from the
   viewport width instead of filling the full hero height, so object-fit: cover scales the photo
   down and shows more pond. Its top fades out with a single soft mask (same .48/.64 tree
   softening steps as desktop). */
@media (max-width: 700px) {
  .pond-hero {
    --pond-art-h: clamp(340px, 96vw, 520px);
    min-height: 0;
    padding-bottom: calc(var(--pond-art-h) * .7);
  }
  .pond-hero-header { display: flex; flex-direction: column; align-items: center; gap: 6px; width: 100%; }
  .pond-hero-nav { justify-content: center; margin-top: 0; gap: 6px; font-size: 15px; }
  .pond-hero-nav a { padding: 10px 16px; padding-inline: 16px; }
  .pond-hero-nav .pond-hero-cta { display: none; }
  .pond-hero-copy { margin-top: 20px; }
  .pond-hero-copy .sp-pill { display: none; }
  .pond-hero-art { inset: auto 0 0; height: var(--pond-art-h); }
  .pond-hero-art img {
    -webkit-mask-image: linear-gradient(to bottom, transparent 0, rgba(0,0,0,.2) 18%, rgba(0,0,0,.48) 30%, rgba(0,0,0,.64) 42%, #000 58%);
    -webkit-mask-composite: source-over;
    mask-image: linear-gradient(to bottom, transparent 0, rgba(0,0,0,.2) 18%, rgba(0,0,0,.48) 30%, rgba(0,0,0,.64) 42%, #000 58%);
    mask-composite: add;
  }
}
