/* High Net Worth Families: "A constellation of family wealth". Prefix hn-.
   Editorial, quiet luxury: ink + deep green + sand paper, thin orbit lines, numbered index rows. */

.hn-h1 { margin: 22px 0 0; font-size: clamp(2.5rem, 4.7vw, 4.5rem); font-weight: 600; letter-spacing: -.04em; line-height: 1.02; color: var(--s-fg); }
.hn-h2 { font-size: clamp(2rem, 4vw, 3.4rem); font-weight: 600; letter-spacing: -.035em; line-height: 1.05; color: var(--s-fg); }
.hn-act { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 34px; }
.hn-tel { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; letter-spacing: .02em; color: var(--on-dark); white-space: nowrap; transition: color .3s var(--ease); }
.hn-tel svg { color: var(--lime); }
.hn-tel:hover { color: var(--lime); }

/* ---------- page-local entrances (kept calm; reduced motion never hides anything) ---------- */
html.hn-js [data-hn] { transition: opacity .9s var(--ease), transform .9s var(--ease), filter 1s var(--ease), clip-path 1.1s var(--ease-io); transition-delay: var(--d, 0ms); }
html.hn-js [data-hn="up"]:not(.hn-in)   { opacity: 0; transform: translateY(26px); }
html.hn-js [data-hn="l"]:not(.hn-in)    { opacity: 0; transform: translateX(-56px); }
html.hn-js [data-hn="r"]:not(.hn-in)    { opacity: 0; transform: translateX(72px); }
html.hn-js [data-hn="focus"]:not(.hn-in) { opacity: 0; filter: blur(12px); transform: scale(.97); }
html.hn-js [data-hn="iris"]:not(.hn-in) { clip-path: circle(0% at 50% 62%); }
html.hn-js [data-hn="iris"].hn-in       { clip-path: circle(150% at 50% 62%); transition-duration: 1.5s; }
html.hn-js [data-hn="stag"] > li { transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--i, 0) * 70ms); }
html.hn-js [data-hn="stag"]:not(.hn-in) > li { opacity: 0; transform: translateY(32px); }
@media (max-width: 899px) {
  html.hn-js [data-hn="l"]:not(.hn-in), html.hn-js [data-hn="r"]:not(.hn-in) { transform: translateY(30px); }
}

/* ---------- 1. hero: arch + orbits ---------- */
.hn-hero { overflow: hidden; min-height: min(94svh, 940px); display: flex; align-items: center; padding-bottom: clamp(56px, 7vw, 110px);
  background: radial-gradient(56% 70% at 76% 52%, rgba(0,132,78,.26), transparent 72%), var(--ink); }
.hn-hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 560px); gap: clamp(28px, 4vw, 72px); align-items: center; width: 100%; }
.hn-tagline { margin-top: 24px; max-width: 28ch; font-size: clamp(1.15rem, 1.6vw, 1.4rem); font-weight: 600; letter-spacing: -.02em; line-height: 1.3; color: var(--lime); }
.hn-hero .body-lg { margin-top: 18px; max-width: 50ch; }

.hn-orbit { position: relative; width: min(100%, 560px); aspect-ratio: 1; justify-self: center; }
.hn-ring { z-index: 2; position: absolute; border-radius: 50%; border: 1px solid rgba(123,220,134,.5); }
.hn-ring--a { inset: 19%; }
.hn-ring--b { inset: 2%; border-color: rgba(246,248,246,.28); }
.hn-node { position: absolute; left: var(--x); top: var(--y); translate: -50% -50%; }
.hn-pill { display: block; white-space: nowrap; padding: 8px 15px; border-radius: 99px; background: var(--ink-3); border: 1px solid rgba(123,220,134,.55);
  font-size: 13px; font-weight: 600; letter-spacing: .02em; color: var(--on-dark); }
.hn-pill--r { border-color: rgba(246,248,246,.4); }
/* one registered angle drives the ring; pills counter-rotate by the same value so they stay upright and in sync */
@property --hn-rot { syntax: '<angle>'; inherits: true; initial-value: 0deg; }
@keyframes hn-rot { to { --hn-rot: 360deg; } }
.hn-ring { rotate: var(--hn-rot); }
.hn-pill { rotate: calc(var(--hn-rot) * -1); }
@media (prefers-reduced-motion: no-preference) {
  .hn-ring--a { animation: hn-rot 60s linear infinite; }
  .hn-ring--b { animation: hn-rot 90s linear infinite reverse; }
}
.hn-arch {
  position: absolute; left: 50%; top: 50%; translate: -50% -50%; width: 46%; aspect-ratio: 3 / 4.2; z-index: 1;
  display: flex; align-items: center; justify-content: center;
}
.hn-fam { width: 130%; height: 130%; }

@media (max-width: 899px) {
  .hn-hero { min-height: 0; }
  .hn-hero__grid { grid-template-columns: minmax(0, 1fr); }
  .hn-hero__copy { min-width: 0; }
  .hn-orbit { width: min(100%, 440px); }
  .hn-ring--b { inset: 14%; }
  .hn-ring--a { inset: 27%; }
  .hn-arch { width: 28%; }
  .hn-pill { font-size: 12px; padding: 6px 11px; }
}

/* ---------- 2. hub and spokes ---------- */
.hn-hub__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 100px); align-items: start; }
.hn-hub__side { position: sticky; top: calc(var(--nav-h) + 28px); }
.hn-hub__fig { position: relative; margin: 0 auto; width: min(100%, 560px); aspect-ratio: 1; }
.hn-hub__fig > svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.hn-hub__rings circle { fill: none; stroke: rgba(20,32,27,.3); stroke-width: 1.4; }
.hn-sp-base line { stroke: rgba(20,32,27,.2); stroke-width: 1.6; stroke-linecap: round; }
.hn-sp { fill: none; stroke: var(--green-ink); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 0; transition: stroke-dashoffset 1s var(--ease-io); }
html.hn-js .hn-sp:not(.is-on) { stroke-dashoffset: 1; }
.hn-core { position: absolute; left: 50%; top: 50%; translate: -50% -50%; width: 22%; aspect-ratio: 1; display: grid; place-items: center; text-align: center; padding: 6px;
  border-radius: 50%; background: var(--green-deep); color: var(--on-dark); font-size: clamp(12px, 1.2vw, 14px); font-weight: 600; line-height: 1.2; box-shadow: 0 0 0 10px rgba(1,53,34,.1); }
.hn-hn { position: absolute; left: var(--x); top: var(--y); translate: -50% -50%; white-space: nowrap; padding: 8px 15px; border-radius: 99px;
  font-size: 13px; font-weight: 600; letter-spacing: .02em; background: var(--green-deep); color: var(--on-dark); border: 1px solid var(--green-deep);
  transition: background .5s var(--ease), color .5s var(--ease), box-shadow .5s var(--ease), border-color .5s var(--ease); }
html.hn-js .hn-hn:not(.is-on) { background: #fff; color: var(--text); border-color: rgba(20,32,27,.3); }
.hn-hn.is-cur { background: var(--green-dark); border-color: var(--green-dark); box-shadow: 0 0 0 6px rgba(0,132,78,.2); }
.hn-hub__cap { position: absolute; left: 0; bottom: -4px; font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--text-2); }

.hn-hub__main .tag { margin-bottom: 26px; }
.hn-hub__main .lead { margin-top: 24px; }
.hn-hub__main .body-lg { margin-top: 16px; }
.hn-areas { list-style: none; margin: clamp(40px, 6vw, 80px) 0 0; padding: 0; }
.hn-area { display: grid; align-content: center; min-height: 52vh; padding: 28px 0 28px 30px; border-left: 2px solid rgba(20,32,27,.18); transition: border-color .6s var(--ease); }
.hn-area.is-on { border-left-color: var(--green-ink); }
.hn-area__n { font-size: clamp(2.6rem, 4.6vw, 4rem); font-weight: 600; letter-spacing: -.05em; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px var(--green-ink); transition: color .6s var(--ease); }
.hn-area.is-cur .hn-area__n { color: var(--green-ink); }
.hn-area__t { margin: 14px 0 12px; font-size: clamp(1.6rem, 2.6vw, 2.2rem); font-weight: 600; letter-spacing: -.03em; line-height: 1.1; color: var(--text); }
.hn-area p { max-width: 36ch; font-size: clamp(1rem, 1.2vw, 1.1rem); line-height: 1.7; color: var(--text-2); }
html.js-m .hn-area:not(.is-on) .hn-area__t { color: var(--text-2); }

@media (max-width: 899px) {
  .hn-hub__grid { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .hn-hub__side { top: calc(var(--nav-h) - 4px); z-index: 4; margin-inline: calc(var(--gutter) * -1); padding: 8px var(--gutter) 10px; background: var(--sand); box-shadow: 0 14px 18px -16px rgba(20,32,27,.35); }
  .hn-hub__fig { width: min(100%, 250px); }
  .hn-hub__cap { display: none; }
  .hn-hn { font-size: 12px; padding: 5px 10px; }
  .hn-core { font-size: 11px; }
  .hn-area { min-height: 34vh; padding-left: 22px; }
  .hn-hub__main { padding-top: 36px; }
}

/* ---------- 3. index ---------- */
.hn-ix { --no-w: clamp(64px, 9vw, 140px); }
.hn-ix__head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 64px); }
.hn-ix__head .tag { margin-bottom: 24px; }
.hn-ix__list { list-style: none; margin: 0; padding: 0; border-bottom: 1px solid var(--line-dark); }
.hn-row { border-top: 1px solid var(--line-dark); }
.hn-row__h { margin: 0; font: inherit; }
.hn-row__b { display: grid; grid-template-columns: var(--no-w) minmax(0, 1.35fr) minmax(0, 1fr) 28px; align-items: center; column-gap: 20px; width: 100%;
  padding: clamp(18px, 2.4vw, 30px) 0; background: none; border: 0; color: var(--on-dark); font: inherit; text-align: left; cursor: pointer; transition: padding .5s var(--ease); }
.hn-row__no { font-size: clamp(2.2rem, 4.4vw, 4rem); font-weight: 600; letter-spacing: -.05em; line-height: 1; color: transparent; -webkit-text-stroke: 1.3px rgba(246,248,246,.55); transition: color .4s var(--ease), -webkit-text-stroke-color .4s var(--ease); }
.hn-row__t { font-size: clamp(1.3rem, 2.4vw, 2.1rem); font-weight: 600; letter-spacing: -.03em; line-height: 1.12; transition: color .4s var(--ease); }
.hn-row__l { font-size: 16px; color: var(--on-dark-2); }
.hn-row__i { display: grid; place-items: center; color: var(--lime); transition: rotate .45s var(--ease); }
.hn-row:hover .hn-row__b, .hn-row.is-open .hn-row__b { padding-left: 14px; }
.hn-row:hover .hn-row__t, .hn-row.is-open .hn-row__t { color: var(--lime); }
.hn-row:hover .hn-row__no, .hn-row.is-open .hn-row__no { color: var(--lime); -webkit-text-stroke-color: var(--lime); }
.hn-row.is-open .hn-row__i { rotate: 45deg; }
.hn-row__b:focus-visible { outline: 2px solid var(--lime); outline-offset: 2px; }
.hn-row__p { display: grid; grid-template-rows: 1fr; }
.hn-row__in { min-height: 0; overflow: hidden; padding-left: calc(var(--no-w) + 20px + 14px); display: flex; flex-wrap: wrap; align-items: center; gap: 12px 36px; }
.hn-row__in p { max-width: 54ch; font-size: clamp(1rem, 1.2vw, 1.1rem); line-height: 1.7; color: var(--on-dark-2); margin: 0 0 26px; }
.hn-row__in .tl { margin: 0 0 26px; }
html.hn-ix-js .hn-row:not(.is-open) .hn-row__p { grid-template-rows: 0fr; visibility: hidden; }
html.hn-ix-js .hn-row__p { transition: grid-template-rows .55s var(--ease), visibility 0s; }
html.hn-ix-js .hn-row:not(.is-open) .hn-row__p { transition: grid-template-rows .55s var(--ease), visibility 0s .55s; }

@media (max-width: 719px) {
  .hn-ix { --no-w: 46px; }
  .hn-row__b { grid-template-columns: var(--no-w) minmax(0, 1fr) 24px; column-gap: 12px; row-gap: 4px; }
  .hn-row__l { grid-column: 2; grid-row: 2; font-size: 15px; }
  .hn-row__i { grid-column: 3; grid-row: 1; }
  .hn-row__no { grid-row: 1 / 3; align-self: start; }
  .hn-row:hover .hn-row__b, .hn-row.is-open .hn-row__b { padding-left: 0; }
  .hn-row__in { padding-left: calc(var(--no-w) + 12px); }
}

/* ---------- 4. generations: horizontal scroll + family tree ---------- */
.hn-gen { background: var(--ink); } /* no overflow:hidden here: the engine's sticky stage needs it clear */
.hn-gen .hs__stage { padding-block: 12px; }
.hn-gen__head { width: 100%; margin-bottom: clamp(14px, 3vh, 36px); }
.hn-gen__head .tag { margin-bottom: 16px; }
.hn-gen__head .hn-h2 { font-size: clamp(1.8rem, 3.2vw, 2.9rem); }
.hn-gen__br { display: block; color: var(--lime); }
.hn-gp { flex: 0 0 auto; width: min(78vw, 540px); min-height: 0; overflow: visible; display: flex; flex-direction: column; justify-content: flex-start; padding: clamp(24px, 3vh, 38px) clamp(24px, 2.6vw, 40px); background: var(--ink-2); border: 1px solid var(--line-dark); border-radius: 4px;
  translate: 0 calc((1 - var(--hpc, 1)) * 22px); }
.hn-gp__n { font-size: clamp(3.6rem, 7vw, 6.4rem); font-weight: 600; letter-spacing: -.05em; line-height: .95; color: transparent; -webkit-text-stroke: 1.5px var(--lime); }
.hn-gp__t { margin: 12px 0 10px; font-size: clamp(1.9rem, 3.4vw, 3rem); font-weight: 600; letter-spacing: -.035em; line-height: 1.05; color: var(--on-dark); }
.hn-gp p { max-width: 38ch; font-size: clamp(1rem, 1.15vw, 1.08rem); line-height: 1.7; color: var(--on-dark-2); margin: 0; }
.hn-tree { display: block; width: clamp(160px, 22vw, 260px); height: clamp(160px, 22vw, 260px); margin: clamp(10px, 3vh, 34px) auto 0; flex: none; }
.m-hs-flow .hn-tree { display: block; }
@media (max-width: 899px) {
  .hn-gen { padding-block: clamp(64px, 12vw, 100px); }
  .hn-gen .hs__stage { padding-block: 0; }
  .hn-gen__head { margin-bottom: 28px; }
  .hn-gp { translate: none; }
  .hn-tree { order: 5; margin-top: 28px; height: 90px; }
}

/* ---------- 5. statement ---------- */
.hn-stm { padding-block: clamp(90px, 11vw, 170px); }
.hn-stm__k { margin: 0 0 clamp(24px, 3vw, 44px); font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--green-ink); }
.hn-stm__dx { max-width: 15ch; margin: 0; font-size: clamp(3rem, 9.2vw, 8.6rem); color: var(--green-deep); }

/* ---------- 6. philanthropy ---------- */
.hn-giv__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(32px, 6vw, 100px); align-items: center; }
.hn-giv__copy .tag { margin-bottom: 26px; }
.hn-giv__copy .lead { margin-top: 24px; max-width: 30ch; }
.hn-giv__copy .body-lg { margin-top: 16px; }
.hn-giv__link { margin-top: 28px; }
.hn-giv__art { position: relative; justify-self: center; width: min(100%, 460px); }
.hn-giv__disc { position: relative; aspect-ratio: 1; border-radius: 50%; background: var(--mint); border: 1px solid var(--mint-2); box-shadow: 0 0 0 clamp(14px, 2vw, 26px) rgba(234,245,238,.55); padding: 9%; }
.hn-giv__disc .lt { width: 100%; height: 100%; }
.hn-giv__chip { position: absolute; right: -4%; bottom: 6%; padding: 8px 14px; border-radius: 99px; background: #fff; box-shadow: 0 14px 30px -18px rgba(1,53,34,.5);
  font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--text-2); }

/* ---------- 7. CTA ---------- */
.hn-cta__in { position: relative; overflow: hidden; text-align: center; padding: clamp(52px, 8vw, 120px) clamp(22px, 5vw, 80px); border-radius: 6px; background: var(--green-dark);
  background-image: repeating-radial-gradient(circle at 50% 120%, transparent 0 70px, rgba(246,248,246,.07) 70px 71px); }
.hn-cta__ico { margin: 0 auto 26px; }
.hn-cta__h { max-width: 20ch; margin: 0 auto; font-size: clamp(2rem, 4.4vw, 3.8rem); font-weight: 600; letter-spacing: -.04em; line-height: 1.05; color: var(--on-dark); }
.hn-cta .lead { margin: 24px auto 0; max-width: 46ch; text-align: center; }
.hn-cta .hn-act { justify-content: center; }
.hn-cta__fine { margin-top: 28px; font-size: 14px; color: var(--on-dark-2); }
.hn-cta__fine a { color: var(--on-dark); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- 8. other client types ---------- */
.hn-oth__list { list-style: none; margin: clamp(28px, 4vw, 48px) 0 0; padding: 0; border-bottom: 1px solid var(--line-dark); }
.hn-oth__list li { border-top: 1px solid var(--line-dark); }
.hn-oth__a { display: grid; grid-template-columns: clamp(48px, 7vw, 100px) minmax(0, 1fr) auto; align-items: center; gap: 16px; padding: clamp(20px, 3vw, 36px) 0; color: var(--on-dark); transition: color .35s var(--ease), padding .5s var(--ease); }
.hn-oth__no { font-size: 12px; font-weight: 600; letter-spacing: .16em; color: var(--on-dark-2); }
.hn-oth__t { font-size: clamp(1.5rem, 3.6vw, 3.2rem); font-weight: 600; letter-spacing: -.035em; line-height: 1.1; }
.hn-oth__a svg { color: var(--lime); transition: transform .45s var(--ease); }
.hn-oth__a:hover, .hn-oth__a:focus-visible { color: var(--lime); padding-left: 16px; }
.hn-oth__a:hover svg, .hn-oth__a:focus-visible svg { transform: translateX(8px); }
.hn-oth__a:focus-visible { outline: 2px solid var(--lime); outline-offset: -2px; }
.hn-oth__more { margin-top: 36px; }

@media (max-width: 899px) {
  .hn-giv__grid { grid-template-columns: minmax(0, 1fr); }
  .hn-giv__art { order: -1; width: min(86%, 340px); }
}
