/* Healthcare Professionals: "the practice timeline". Clinical calm: deep green, sand, hairlines, an ECG line as the recurring motif. */

/* ---------- 1. Hero: type-led with an ECG scene ---------- */
.hp-hero { min-height: min(100svh, 900px); padding-top: calc(var(--nav-h) + clamp(28px, 3.4vw, 48px)); padding-bottom: clamp(110px, 9vw, 130px); overflow: hidden; }
.hp-hero .crumbs { margin-bottom: 20px; }
.hp-hero__in { position: relative; z-index: 2; }
.hp-h1 {
  margin-top: 18px; max-width: 14em;
  font-size: clamp(2.6rem, 6.2vw, 6.4rem); font-weight: 600; letter-spacing: -.048em; line-height: .98; color: var(--on-dark);
}
.hp-hero__cols { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: end; margin-top: clamp(24px, 3vw, 40px); }
.hp-tagline { font-size: clamp(1.15rem, 1.7vw, 1.5rem); font-weight: 500; letter-spacing: -.02em; color: var(--lime); max-width: 60ch; }
.hp-hero .lead { margin-top: 16px; max-width: 54ch; font-size: clamp(1rem, 1.15vw, 1.1rem); color: var(--on-dark-2); }
.hp-hero__act { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; }
.hp-tel { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 600; letter-spacing: .02em; color: var(--on-dark); transition: color .3s var(--ease); }
.hp-tel svg { color: var(--lime); }
.hp-tel:hover { color: var(--lime); }
/* a small live vital-sign monitor above the button, in the free right column (heartbeat-ecg is an 840x680 canvas with the trace mid-frame: the fixed-height box crops it) */
.hp-monitor { position: relative; width: min(100%, 380px); aspect-ratio: 2.5 / 1; overflow: hidden; pointer-events: none; }
.hp-monitor__lt { position: absolute; left: 0; top: 50%; width: 100%; aspect-ratio: 840 / 680; transform: translateY(-50%); }
@media (max-width: 899px) { .hp-monitor { display: none; } }
.hp-ecg { position: absolute; left: 0; bottom: 0; width: 100%; height: clamp(120px, 14vw, 200px); z-index: 1; overflow: visible; pointer-events: none; }
.hp-ecg path { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.hp-ecg__ghost { stroke: var(--on-dark-2); stroke-opacity: .35; stroke-width: 1; stroke-dasharray: 2 7; }
.hp-ecg__line { stroke: var(--lime-hi); stroke-width: 2.5; }
/* intro: the line draws itself about half way on load; scrolling (engine draw, --dr) finishes it */
@property --hp-i { syntax: '<number>'; inherits: true; initial-value: 0; }
@keyframes hp-intro { to { --hp-i: .5; } }
html.js-m .hp-ecg { animation: hp-intro 2.4s cubic-bezier(.22, 1, .36, 1) .5s both; }
html.js-m .hp-ecg[data-m="draw"] .hp-ecg__line { stroke-dashoffset: max(0, calc(var(--dr, 1) - var(--hp-i, 0))); }

/* ---------- 2. Understanding: three circles that slide together ---------- */
.vn { --k: clamp(0, calc((var(--p, 1) - .27) / .3), 1); padding: 0; }
.vn__stage { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 88px); align-items: center; padding-block: clamp(64px, 8vw, 120px); }
.vn__h { margin-top: 14px; font-size: clamp(2rem, 3.6vw, 3.2rem); color: var(--text); }
.vn .lead { margin-top: 24px; }
.vn__p { margin-top: 18px; max-width: 52ch; font-size: 17px; line-height: 1.65; }
.vn__fig { margin: 0; }
.vn__svg { display: block; width: 100%; height: auto; max-height: calc(100vh - var(--nav-h) - 90px); overflow: visible; }
.vn__fig figcaption { margin-top: 8px; text-align: center; font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--text-2); }
.vn__c circle { stroke-width: 1.5; }
.vn__c--a circle { fill: rgba(0, 132, 78, .2); stroke: var(--green-ink); }
.vn__c--b circle { fill: rgba(1, 53, 34, .15); stroke: var(--green-deep); }
.vn__c--c circle { fill: rgba(54, 180, 72, .24); stroke: var(--green); }
.vn__c--a { transform: translate(calc((1 - var(--k)) * -100px), calc((1 - var(--k)) * -66px)); }
.vn__c--b { transform: translate(calc((1 - var(--k)) * 100px), calc((1 - var(--k)) * -66px)); }
.vn__c--c { transform: translate(0, calc((1 - var(--k)) * 104px)); }
.vn__svg text { font-family: inherit; font-size: 19px; font-weight: 600; letter-spacing: -.01em; fill: var(--text); text-anchor: middle; }
.vn__core text { font-size: 21px; font-weight: 600; fill: var(--green-deep); }
.vn__core { opacity: clamp(0, calc((var(--k) - .8) * 5), 1); }
@media (min-width: 900px) {
  .vn { height: 235vh; }
  .vn__stage { position: sticky; top: var(--nav-h); height: calc(100vh - var(--nav-h)); padding-block: 0; }
}
@media (max-width: 899px) {
  .vn { --k: clamp(0, calc((var(--p, 1) - .08) / .3), 1); }
  .vn__stage { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- 3. Statement ---------- */
.hp-state { padding-block: clamp(120px, 17vw, 250px); }
.hp-state__h { font-size: clamp(2.5rem, 7.2vw, 7rem); font-weight: 600; letter-spacing: -.05em; line-height: 1; color: var(--on-dark); max-width: 14em; }

/* ---------- 4. Roadmap: horizontal pinned scroller ---------- */
.rd { padding: 0; }
.rd .hs__stage { padding-block: 18px 22px; }
.rd__head { width: 100%; padding-bottom: clamp(10px, 2vh, 22px); }
.rd__h { margin-top: 6px; font-size: clamp(1.5rem, 2.6vw, 2.4rem); font-weight: 600; letter-spacing: -.035em; line-height: 1.1; color: var(--on-dark); max-width: 26ch; }
.rd__panel {
  position: relative; display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); grid-template-rows: auto 1fr; gap: 8px 24px;
  min-height: clamp(300px, 52vh, 500px); padding: clamp(22px, 2.6vw, 40px);
  border-radius: 8px; background: rgba(246, 248, 246, .055);
  box-shadow: inset 0 0 0 1px rgba(246, 248, 246, calc(.14 + var(--hpc, 1) * .1)), inset 0 0 0 1px rgba(123, 220, 134, calc(var(--hpc, 1) * .22));
}
.rd__no {
  grid-column: 1; grid-row: 1; align-self: start;
  font-size: clamp(4.6rem, 10vw, 9rem); font-weight: 600; letter-spacing: -.06em; line-height: .85;
  color: rgba(123, 220, 134, calc(var(--hpc, 1) * .9)); -webkit-text-stroke: 1.5px var(--lime-hi);
}
.rd__txt { grid-column: 1; grid-row: 2; align-self: end; }
.rd__txt h3 { color: var(--on-dark); font-size: clamp(2rem, 3.4vw, 3rem); }
.rd__txt p { margin-top: 12px; max-width: 32ch; font-size: 17px; line-height: 1.6; color: var(--on-dark-2); }
.rd__ill { grid-column: 2; grid-row: 1 / 3; align-self: center; width: 100%; height: auto; max-height: 100%; overflow: visible; }
.rd__ill :is(path, circle, rect) { fill: none; stroke: var(--lime-hi); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 0; }
.m-hs-on .rd__ill :is(path, circle, rect) { stroke-dashoffset: calc(1 - min(1, max(0, (var(--hp, 0) - .04) * 3.4))); }
@media (min-width: 900px) { .rd__panel.hs__panel { width: min(90vw, 1100px); } }
@media (max-width: 899px) {
  .rd__panel { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto; min-height: 0; }
  .rd__no, .rd__txt, .rd__ill { grid-column: 1; grid-row: auto; }
  .rd__ill { max-width: 260px; margin-top: 8px; }
}
.rd__pulse { position: relative; height: clamp(46px, 7vh, 70px); margin: clamp(12px, 2vh, 22px) var(--gutter, 24px) 0; }
.rd__pulse svg { display: block; width: 100%; height: 100%; overflow: visible; }
.rd__pulse path { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.rd__pulse-base { stroke: rgba(246, 248, 246, .3); stroke-width: 1.5; }
.rd__pulse-line { stroke: var(--lime-hi); stroke-width: 2.5; stroke-dasharray: 1 2; stroke-dashoffset: calc(1 - var(--pin, 1)); }
.rd__head-dot {
  position: absolute; left: 0; top: 62%; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%;
  background: var(--lime-hi); box-shadow: 0 0 0 5px rgba(123, 220, 134, .22), 0 0 18px 4px rgba(123, 220, 134, .5);
}

/* ---------- 5. Tailored solutions: bento ---------- */
.bn { padding-block: clamp(72px, 9vw, 140px); }
.bn__head { max-width: 34rem; margin-bottom: clamp(28px, 4vw, 56px); }
.bn__head h2 { margin-top: 12px; color: var(--text); }
.bn__grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); grid-auto-rows: minmax(250px, auto); gap: clamp(12px, 1.4vw, 20px); }
.bn__t {
  position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; overflow: hidden; min-width: 0;
  padding: clamp(22px, 2.3vw, 34px); border-radius: 8px; border: 1px solid transparent;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.bn__t h3 { font-size: clamp(1.2rem, 1.6vw, 1.5rem); font-weight: 600; letter-spacing: -.03em; line-height: 1.15; max-width: 22ch; }
.bn__t p { font-size: 16px; line-height: 1.6; max-width: 44ch; }
.bn__ic { flex: none; }
.bn__go { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 6px; font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.bn__go svg { transition: transform .4s var(--ease); }
a.bn__t:hover { transform: translateY(-5px); box-shadow: 0 22px 40px -22px rgba(1, 53, 34, .45); }
a.bn__t:hover .bn__go svg { transform: translateX(5px); }
/* surfaces */
.bn__t--hero { grid-column: 1 / 4; grid-row: 1 / 3; background: var(--green-deep); color: var(--on-dark); }
.bn__t--tax  { grid-column: 4 / 7; grid-row: 1; background: #fff; color: var(--text); }
.bn__t--corp { grid-column: 4 / 7; grid-row: 2; background: var(--ink); color: var(--on-dark); }
.bn__t--ret  { grid-column: 1 / 3; grid-row: 3; background: var(--sand); color: var(--text); }
.bn__t--ins  { grid-column: 3 / 5; grid-row: 3; background: #fff; color: var(--text); }
.bn__t--est  { grid-column: 5 / 7; grid-row: 3; background: var(--green-dark); color: var(--on-dark); }
.bn__t--inv  { grid-column: 1 / 4; grid-row: 4; background: var(--ink); color: var(--on-dark); }
.bn__t--cta  { grid-column: 4 / 7; grid-row: 4; background: var(--sand-2); color: var(--text); justify-content: space-between; }
.bn__t--hero p, .bn__t--corp p, .bn__t--est p, .bn__t--inv p { color: var(--on-dark-2); }
.bn__t--tax p, .bn__t--ret p, .bn__t--ins p, .bn__t--cta p { color: var(--text-2); }
.bn__t--tax .bn__ic, .bn__t--ret .bn__ic, .bn__t--ins .bn__ic { color: var(--green-ink); }
.bn__t--tax .bn__go, .bn__t--ret .bn__go, .bn__t--ins .bn__go { color: var(--green-ink); }
.bn__t--hero .bn__ic, .bn__t--corp .bn__ic, .bn__t--inv .bn__ic { color: var(--lime); }
.bn__t--corp .bn__go, .bn__t--inv .bn__go { color: var(--lime); }
.bn__t--est .bn__ic, .bn__t--est .bn__go { color: var(--lime-hi); }
.bn__t--hero h3 { font-size: clamp(1.7rem, 2.8vw, 2.6rem); letter-spacing: -.04em; max-width: 14ch; }
.bn__t--hero p { font-size: clamp(1rem, 1.2vw, 1.15rem); max-width: 30ch; }
.bn__lt { position: absolute; right: -4%; bottom: -4%; width: min(70%, 380px); aspect-ratio: 1; }
.bn__t--hero > :not(.bn__lt) { position: relative; z-index: 1; }
.bn__t--cta .btn { align-self: flex-start; }
@media (max-width: 1000px) {
  .bn__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: auto; }
  .bn__t { grid-column: auto !important; grid-row: auto !important; min-height: 240px; }
  .bn__t--hero, .bn__t--inv, .bn__t--cta { grid-column: 1 / -1 !important; }
  .bn__t--hero { min-height: 420px; }
}
@media (max-width: 600px) {
  .bn__grid { grid-template-columns: minmax(0, 1fr); }
  .bn__t { grid-column: 1 / -1 !important; }
}

/* ---------- 6. Questions ---------- */
.hp-faq { padding-block: clamp(72px, 9vw, 140px); }
.hp-faq__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 110px); align-items: start; }
.hp-faq__side { position: sticky; top: calc(var(--nav-h) + 32px); }
.hp-faq__side h2 { margin-top: 12px; color: var(--text); }
.hp-faq__side .muted { margin-top: 18px; max-width: 36ch; font-size: 17px; line-height: 1.6; }
.hp-faq__ecg { display: block; width: min(100%, 260px); height: auto; margin-top: 30px; overflow: visible; }
.hp-faq__ecg path { fill: none; stroke: var(--green-ink); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.hp-faq .faq__a { color: var(--text-2); }
@media (max-width: 899px) { .hp-faq__grid { grid-template-columns: minmax(0, 1fr); } .hp-faq__side { position: static; } }
/* local entrance: each row's hairline draws, the ECG ornament draws */
html.hp-js .hp-faq .faq details { position: relative; border-bottom-color: transparent; }
html.hp-js .hp-faq .faq details::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--line); transform: scaleX(0); transform-origin: 0 50%; transition: transform 1.1s var(--ease); }
html.hp-js .hp-faq .faq details.is-in::after { transform: scaleX(1); }
html.hp-js .hp-faq__ecg path { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.8s var(--ease) .2s; }
html.hp-js .hp-faq__ecg.is-in path { stroke-dashoffset: 0; }

/* ---------- 7. CTA ---------- */
.hp-cta { padding-block: clamp(72px, 9vw, 140px); }
.hp-cta__grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(32px, 6vw, 100px); align-items: center; }
.hp-cta h2 { margin-top: 12px; max-width: 16ch; color: var(--text); font-size: clamp(2.2rem, 4.6vw, 4rem); }
.hp-cta .lead { margin-top: 22px; }
.hp-cta__act { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.hp-cta__fine { margin-top: 20px; font-size: 15px; color: var(--text-2); }
.hp-cta__fine a { color: var(--green-ink); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.hp-cta__disc { display: grid; place-items: center; width: min(100%, 440px); aspect-ratio: 1; margin-inline: auto; border-radius: 50%; background: var(--green-deep); box-shadow: 0 0 0 14px rgba(1, 53, 34, .08); }
.hp-cta__disc .lt { width: 74%; aspect-ratio: 1; }
@media (max-width: 899px) { .hp-cta__grid { grid-template-columns: minmax(0, 1fr); } .hp-cta__disc { width: min(70%, 300px); } }

/* ---------- 8. Other client types ---------- */
.hp-oth { padding-block: clamp(72px, 9vw, 130px); }
.hp-oth__h { margin-top: 12px; max-width: 14ch; color: var(--on-dark); }
.hp-oth__list { margin-top: clamp(28px, 4vw, 56px); border-top: 1px solid var(--line-dark); }
.hp-oth__list li { border-bottom: 1px solid var(--line-dark); }
.hp-oth__list a { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; align-items: center; gap: clamp(12px, 2vw, 32px); padding: clamp(20px, 2.6vw, 34px) 4px; color: var(--on-dark); transition: background .4s var(--ease), padding .4s var(--ease); }
.hp-oth__n { font-size: 14px; font-weight: 600; letter-spacing: .12em; color: var(--lime-hi); }
.hp-oth__t { font-size: clamp(1.5rem, 3.8vw, 3.2rem); font-weight: 600; letter-spacing: -.04em; line-height: 1.05; transition: transform .5s var(--ease); }
.hp-oth__list svg { color: var(--lime-hi); transition: transform .5s var(--ease); }
.hp-oth__list a:hover { background: rgba(246, 248, 246, .06); }
.hp-oth__list a:hover .hp-oth__t { transform: translateX(14px); }
.hp-oth__list a:hover svg { transform: translateX(8px); }
.hp-oth__foot { display: flex; flex-wrap: wrap; gap: 18px 40px; margin-top: clamp(28px, 3.4vw, 44px); }
@media (max-width: 899px) { .hp-oth__list a { grid-template-columns: 38px minmax(0, 1fr) auto; } .hp-oth__list svg { width: 24px; height: 24px; } }

@media (max-width: 899px) {
  .hp-hero { padding-bottom: 150px; }
  .hp-hero__cols { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  .bn__t, .bn__go svg, .hp-oth__t, .hp-oth__list svg { transition: none; }
  .rd__head-dot { display: none; }
  .rd__pulse-line { stroke-dashoffset: 0; }
}
@media (max-width: 899px) {
  .hp-hero__act, .hp-cta__act { width: 100%; }
  .hp-hero__act .btn, .hp-cta__act .btn, .bn__t--cta .btn { max-width: 100%; white-space: normal; text-align: center; justify-content: center; }
}
