/* ==========================================================================
   Health Professionals Alliance® — Site Stylesheet (v3 — HPA_Design_Kit)
   Source of truth: SharePoint > HPA_Design_Kit > DESIGN-SYSTEM.md
   Typeface: DM Sans · Signature aqua #5FD0DF · Dark surfaces: Dark Slate
   ========================================================================== */

:root {
  /* Brand aqua / blue */
  --aqua-100: #E2F3F5;
  --aqua-200: #A4DBE8;
  --aqua-400: #5FD0DF;   /* primary brand blue */
  --aqua-logo: #4AB3C8;
  --aqua-500: #3EB1C8;   /* hover */
  --aqua-700: #2D8C9E;   /* accessible actions/links on light */

  /* Brand green / gold */
  --green-400: #55BC97;
  --green-500: #50A684;
  --gold-500: #CAB64B;

  /* Neutrals */
  --slate: #333F48;
  --slate-deep: #303E45;
  --gray-500: #75787B;
  --gray-300: #BCBEC0;
  --gray-100: #E6E7E8;
  --white: #FFFFFF;

  /* Semantic */
  --bg-page: #FFFFFF;
  --bg-subtle: #F6F8F9;
  --bg-inverse: #333F48;
  --brand: #5FD0DF;
  --brand-strong: #2D8C9E;
  --brand-hover: #3EB1C8;
  --fg-1: #333F48;
  --fg-2: #75787B;
  --fg-on-dark-muted: #AEB6BC;

  --font-sans: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;

  --shadow-sm: 0 1px 2px rgba(51,63,72,.06), 0 1px 3px rgba(51,63,72,.10);
  --shadow-md: 0 4px 12px rgba(51,63,72,.08), 0 2px 4px rgba(51,63,72,.06);
  --shadow-lg: 0 12px 32px rgba(51,63,72,.12), 0 4px 8px rgba(51,63,72,.06);
  --shadow-brand: 0 8px 24px rgba(95,208,223,.30);

  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-pill: 999px;

  --container: 1180px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  font-weight: 400;
  line-height: 1.6;
  color: var(--fg-1);
  background: var(--bg-page);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-sans);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: 0.01em;
  color: var(--fg-1);
}

h1 { font-size: clamp(2.6rem, 5.5vw, 4rem); font-weight: 700; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.4rem); }
h3 { font-size: 1.375rem; }

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

a { color: var(--brand-strong); text-decoration: none; }
a:hover { text-decoration: underline; }

img { max-width: 100%; display: block; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 28px; }

::selection { background: var(--aqua-400); color: var(--slate); }

/* --- Type accents ------------------------------------------------------ */
/* Highlighted phrase: aqua fill behind slate text (type itself stays neutral) */
.accent {
  background: linear-gradient(100deg, var(--aqua-400), var(--aqua-500));
  color: var(--slate);
  padding: 0.04em 0.18em;
  border-radius: var(--r-sm);
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}
.accent-underline { position: relative; white-space: nowrap; }
.accent-underline::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0.04em;
  height: 0.2em;
  background: var(--aqua-400);
  opacity: 0.55;
  border-radius: 3px;
  z-index: -1;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand-strong);
}
.eyebrow::before {
  content: "";
  width: 34px; height: 2px;
  background: var(--aqua-400);
}
.section-navy .eyebrow, .hero .eyebrow { color: var(--aqua-400); }

/* --- Buttons (pill CTAs per design kit) ---------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--r-pill);
  padding: 14px 30px;
  cursor: pointer;
  white-space: nowrap;
  text-decoration: none !important;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.btn .arrow { transition: transform 0.2s ease; }
.btn:hover .arrow { transform: translateX(3px); }
.btn-primary {
  background: var(--aqua-400);
  color: var(--slate);
  border: none;
  box-shadow: var(--shadow-brand);
}
.btn-primary:hover { background: var(--brand-hover); }
.btn-secondary {
  background: transparent;
  color: var(--fg-1);
  border: 1.5px solid var(--gray-300);
}
.btn-secondary:hover { border-color: var(--slate); background: var(--slate); color: var(--white); }
.btn-on-dark {
  background: rgba(255, 255, 255, 0.07);
  color: var(--white);
  border: 1.5px solid rgba(255, 255, 255, 0.4);
}
.btn-on-dark:hover { background: var(--white); color: var(--slate); border-color: var(--white); }

/* --- Header / Nav ---------------------------------------------------- */
.site-header {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray-100);
  position: sticky;
  top: 0;
  z-index: 100;
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
  gap: 24px;
}
.site-logo img { height: 44px; width: auto; }
.site-nav { display: flex; align-items: center; gap: 32px; }
.site-nav a {
  font-weight: 500;
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-1);
  position: relative;
  padding: 4px 0;
}
.site-nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 2px;
  background: var(--aqua-400);
  transition: width 0.2s ease;
}
.site-nav a:hover { color: var(--brand-strong); text-decoration: none; }
.site-nav a:hover::after, .site-nav a.active::after { width: 100%; }
.site-nav a.active { color: var(--brand-strong); }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.nav-actions .btn { padding: 10px 22px; font-size: 0.82rem; }

.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--slate); margin: 5px 0; }

/* --- Hero (dark slate + aqua radial glows, per design kit) ----------------- */
.hero {
  position: relative;
  background:
    radial-gradient(ellipse at 80% 15%, rgba(95, 208, 223, 0.20) 0%, transparent 55%),
    radial-gradient(ellipse at 5% 95%, rgba(85, 188, 151, 0.10) 0%, transparent 50%),
    var(--slate);
  color: var(--white);
  padding: 120px 0 130px;
  overflow: hidden;
  isolation: isolate;
}
.hero::after {
  content: "";
  position: absolute;
  right: -180px; top: 8%;
  width: 560px; height: 560px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, rgba(95, 208, 223, 0.35), rgba(95, 208, 223, 0.06) 55%, transparent 70%);
  filter: blur(10px);
  z-index: -1;
  /* gentle parallax drift, driven by --parallax set in site.js */
  transform: translateY(calc(var(--parallax, 0) * -0.4px));
}
.hero h1 {
  color: var(--white);
  margin: 22px 0 26px;
  max-width: 860px;
}
.hero .lede {
  font-size: 1.25rem;
  max-width: 640px;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 42px;
}
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; }

/* hero stat strip */
.stat-strip {
  display: grid;
  grid-template-columns: repeat(3, auto);
  gap: clamp(28px, 6vw, 88px);
  margin-top: 72px;
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  width: fit-content;
}
.stat .num {
  font-weight: 700;
  font-size: clamp(1.9rem, 3.6vw, 2.7rem);
  color: var(--aqua-400); /* data-viz accent */
  line-height: 1;
}
.stat .label {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-on-dark-muted);
  margin-top: 8px;
}

/* --- Sections --------------------------------------------------------- */
.section { padding: 110px 0; position: relative; }
.section-grey {
  background: linear-gradient(160deg, #F8FBFD 0%, #E8F2F7 100%);
}
.section-navy {
  background:
    radial-gradient(ellipse at 80% 15%, rgba(95, 208, 223, 0.18) 0%, transparent 55%),
    var(--slate);
  color: var(--white);
}
.section-navy h2, .section-navy h3 { color: var(--white); }
.section-head { max-width: 780px; margin-bottom: 64px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head .eyebrow { margin-bottom: 18px; }
.section-head h2 { margin-bottom: 0; }
.section-head p { color: var(--fg-2); font-size: 1.15rem; margin-top: 20px; }
.section-navy .section-head p { color: rgba(255,255,255,0.82); }

/* big editorial statement */
.statement {
  font-weight: 600;
  font-size: clamp(1.5rem, 3.2vw, 2.3rem);
  line-height: 1.3;
  letter-spacing: 0.005em;
  max-width: 920px;
}
.statement em {
  font-style: normal;
  background: linear-gradient(100deg, rgba(95,208,223,0.35), rgba(95,208,223,0.2));
  border-radius: 6px;
  padding: 0.02em 0.16em;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

/* --- Cards & grids ----------------------------------------------------- */
.grid { display: grid; gap: 28px; align-items: stretch; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-md);
  padding: 36px 30px;
  position: relative;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}
.card:hover {
  box-shadow: var(--shadow-lg);
  border-color: var(--aqua-200);
}
.card h3 { margin-bottom: 10px; }
.card p { color: var(--fg-2); font-size: 1rem; }

/* numbered benefit card */
.benefit-card { overflow: hidden; }
.benefit-card .index {
  position: absolute;
  top: 14px; right: 20px;
  font-weight: 700;
  font-size: 3.2rem;
  line-height: 1;
  color: var(--gray-100);
  transition: color 0.2s ease;
}
.benefit-card:hover .index { color: var(--aqua-200); }

.card-icon {
  width: 52px; height: 52px;
  border-radius: var(--r-md);
  background: linear-gradient(135deg, var(--aqua-100), rgba(164, 219, 232, 0.4));
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.card-icon svg { width: 26px; height: 26px; stroke: var(--slate); }

/* --- Phases (journey) ---------------------------------------------------- */
.journey { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; align-items: stretch; }
.phase-card {
  position: relative;
  border-radius: var(--r-lg);
  padding: 42px 32px 36px;
  background: var(--white);
  border: 1px solid var(--gray-100);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}
.phase-card:hover { box-shadow: var(--shadow-lg); border-color: var(--aqua-200); }
.phase-card .ghost {
  position: absolute;
  right: -8px; bottom: -40px;
  font-weight: 700;
  font-size: 10rem;
  line-height: 1;
  color: var(--aqua-100);
  pointer-events: none;
}
.phase-card .years {
  display: inline-block;
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand-strong);
  background: var(--aqua-100);
  border-radius: var(--r-pill);
  padding: 6px 14px;
  margin-bottom: 18px;
}
.phase-card h3 { margin-bottom: 12px; font-size: 1.45rem; }
.phase-card p { color: var(--fg-2); font-size: 1rem; position: relative; }

/* --- Results (dark, glassy cards per kit "cards on dark") ----------------- */
.result-card {
  text-align: left;
  background: linear-gradient(145deg, rgba(255,255,255,.09) 0%, rgba(255,255,255,.04) 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--r-lg);
  padding: 36px 32px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.12);
  transition: border-color 0.2s ease, background 0.2s ease;
}
.result-card:hover {
  border-color: rgba(95, 208, 223, 0.55);
  background: linear-gradient(145deg, rgba(95,208,223,.12) 0%, rgba(255,255,255,.05) 100%);
}
.result-card .where {
  font-weight: 500;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-on-dark-muted);
  margin-bottom: 18px;
}
.result-card .amount {
  font-weight: 700;
  font-size: clamp(2.5rem, 4vw, 3.2rem);
  line-height: 1;
  color: var(--aqua-400); /* data-viz accent */
  margin-bottom: 12px;
}
.result-card p { color: rgba(255, 255, 255, 0.78); font-size: 1rem; }
.result-card .roi {
  display: inline-block;
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--slate);
  background: var(--aqua-400);
  border-radius: var(--r-pill);
  padding: 8px 18px;
  margin-top: 18px;
}

/* --- Navigator split ------------------------------------------------------ */
.navigator-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 64px;
  align-items: start;
}
.navigator-grid .sticky-col { position: sticky; top: 110px; }
.promise {
  display: flex;
  gap: 18px;
  margin-top: 28px;
  padding: 22px 24px;
  border-radius: var(--r-lg);
  background: var(--bg-subtle);
  border: 1px solid var(--gray-100);
}
.promise .day {
  font-weight: 700;
  font-size: 1.6rem;
  line-height: 1.1;
  color: var(--brand-strong);
  min-width: 86px;
}
.promise .day small {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-2);
}
.promise p { font-size: 0.98rem; color: var(--fg-1); }

.nav-feature { padding: 28px 0; border-bottom: 1px solid var(--gray-100); display: flex; gap: 22px; }
.nav-feature:last-child { border-bottom: none; }
.nav-feature .tick {
  width: 34px; height: 34px; flex-shrink: 0;
  border-radius: 50%;
  background: var(--aqua-400);
  display: flex; align-items: center; justify-content: center;
}
.nav-feature .tick svg { width: 16px; height: 16px; stroke: var(--slate); stroke-width: 3; }
.nav-feature h3 { font-size: 1.15rem; margin-bottom: 6px; }
.nav-feature p { color: var(--fg-2); font-size: 0.98rem; }

/* --- Team --------------------------------------------------------------- */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; align-items: stretch; }
.team-card { text-align: center; }
.team-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  object-position: top center;
  border-radius: var(--r-lg);
  margin-bottom: 18px;
  background: var(--gray-100);
}
.team-card h3 { font-size: 1.15rem; margin-bottom: 2px; }
.team-card .role {
  font-weight: 500;
  font-size: 0.85rem;
  color: var(--brand-strong);
  margin-bottom: 10px;
}

details.bio-more { margin-top: 8px; text-align: left; }
details.bio-more summary {
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--brand-strong);
  cursor: pointer;
  list-style: none;
  text-align: center;
}
details.bio-more summary::after { content: " +"; }
details.bio-more[open] summary::after { content: " −"; }
details.bio-more p { font-size: 0.95rem; color: var(--fg-2); margin-top: 10px; }

/* --- CTA band ------------------------------------------------------------ */
.cta-band {
  text-align: center;
  padding: 130px 0;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: 900px; height: 900px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(95, 208, 223, 0.18), transparent 60%);
  pointer-events: none;
}
.cta-band h2 { margin-bottom: 18px; font-size: clamp(2.1rem, 4.5vw, 3.2rem); }
.cta-band p { max-width: 560px; margin: 0 auto 38px; color: rgba(255,255,255,0.82); font-size: 1.15rem; }

/* --- Contact -------------------------------------------------------------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.618fr; gap: 48px; align-items: start; }
.contact-info h2 { margin-bottom: 16px; }
.contact-item { display: flex; gap: 14px; margin-top: 26px; }
.contact-item svg { width: 22px; height: 22px; stroke: var(--slate); flex-shrink: 0; margin-top: 4px; }
.contact-item .label {
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 2px;
}

.form-card { padding: 40px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-field { margin-bottom: 18px; }
.form-field label {
  font-weight: 600;
  font-size: 0.85rem;
  display: block;
  margin-bottom: 6px;
}
.form-field input, .form-field textarea {
  width: 100%;
  font-family: var(--font-sans);
  font-size: 1rem;
  color: var(--fg-1);
  border: 1px solid var(--gray-300);
  border-radius: var(--r-sm);
  padding: 12px 14px;
  background: var(--white);
}
.form-field input:focus, .form-field textarea:focus {
  outline: 2px solid var(--aqua-400);
  border-color: var(--aqua-400);
}
.form-field textarea { min-height: 140px; resize: vertical; }

/* --- Footer ------------------------------------------------------------- */
.site-footer {
  background:
    radial-gradient(ellipse at 85% 0%, rgba(95, 208, 223, 0.10) 0%, transparent 55%),
    var(--slate-deep);
  color: rgba(255, 255, 255, 0.8);
  padding: 72px 0 0;
  font-size: 0.95rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 52px;
}
.site-footer img.footer-logo { height: 40px; width: auto; margin-bottom: 20px; }
.site-footer h4 {
  color: var(--white);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.site-footer a { color: rgba(255, 255, 255, 0.8); }
.site-footer a:hover { color: var(--aqua-400); }
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 10px; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 22px 0;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
}

/* --- Page hero (interior pages) ------------------------------------------ */
.page-hero {
  position: relative;
  background:
    radial-gradient(ellipse at 80% 0%, rgba(95, 208, 223, 0.20) 0%, transparent 55%),
    var(--slate);
  color: var(--white);
  padding: 96px 0;
  text-align: center;
  overflow: hidden;
}
.page-hero h1 { color: var(--white); margin-bottom: 14px; position: relative; }
.page-hero p { max-width: 680px; margin: 0 auto; color: rgba(255,255,255,0.88); font-size: 1.18rem; position: relative; }

/* --- Scroll reveal (gentle, per kit motion rules) -------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.4s ease-out, transform 0.4s ease-out;
}
.reveal.visible { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: 0.08s; }
.reveal-d2 { transition-delay: 0.16s; }
.reveal-d3 { transition-delay: 0.24s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* --- Responsive ------------------------------------------------------------ */
@media (max-width: 900px) {
  .grid-3, .team-grid, .journey { grid-template-columns: repeat(2, 1fr); }
  .contact-grid, .footer-grid, .navigator-grid { grid-template-columns: 1fr; }
  .navigator-grid .sticky-col { position: static; }
  .site-nav {
    display: none;
    position: absolute;
    top: 78px; left: 0; right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 24px;
    border-bottom: 1px solid var(--gray-100);
    box-shadow: var(--shadow-md);
  }
  .site-nav.open { display: flex; }
  .nav-toggle { display: block; }
  .nav-actions .btn-secondary { display: none; }
}
@media (max-width: 600px) {
  .grid-3, .grid-2, .team-grid, .journey { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .section { padding: 72px 0; }
  .hero { padding: 80px 0 90px; }
  .stat-strip { grid-template-columns: 1fr; gap: 22px; }
  .cta-band { padding: 90px 0; }
}

/* ==========================================================================
   v3.1 — Scroll-driven storytelling additions (Origin/Cleo-inspired)
   ========================================================================== */

/* Scrollytelling journey: pinned intro + vertical timeline */
.scrolly-grid {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 64px;
  align-items: start;
}
.scrolly-grid .sticky-col { position: sticky; top: 120px; }

.timeline {
  position: relative;
  padding-left: 136px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.timeline-track {
  position: absolute;
  left: 92px; top: 10px; bottom: 10px;
  width: 2px;
  background: var(--gray-100);
  border-radius: 2px;
  overflow: hidden;
}
.timeline-fill {
  position: absolute;
  left: 0; top: 0;
  width: 100%; height: 0%;
  background: linear-gradient(var(--aqua-400), var(--green-400));
}
.timeline-item { position: relative; }
.timeline-item .dot {
  position: absolute;
  left: -50px; top: 38px;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--gray-300);
  box-shadow: 0 0 0 4px var(--white);
  transition: background 0.25s ease, box-shadow 0.25s ease;
}
.timeline-item .phase-label {
  position: absolute;
  left: -136px; top: 36px;
  width: 72px;
  text-align: right;
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-2);
  white-space: nowrap;
  transition: color 0.25s ease;
}
.timeline-item.active .dot {
  background: var(--aqua-400);
  box-shadow: 0 0 0 4px var(--white), 0 0 18px rgba(95, 208, 223, 0.7);
}
.timeline-item.active .phase-label { color: var(--brand-strong); }
.timeline-item .phase-card { transition: opacity 0.4s ease-out, transform 0.4s ease-out; }
.timeline-item:not(.active) .phase-card { opacity: 0.45; transform: translateY(8px); }

/* Results: intro + featured testimonial video, imagery on cards */
.results-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  margin-bottom: 64px;
}
.results-head .section-head { margin-bottom: 0; }
.video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg), 0 0 48px rgba(95, 208, 223, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.14);
}
.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  border: 0;
}
.result-img {
  width: calc(100% + 64px);
  margin: -36px -32px 24px;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--r-lg) var(--r-lg) 0 0;
  display: block;
}

/* Calendly embed band */
.calendly-card {
  max-width: 980px;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  position: relative;
}
.calendly-card .calendly-inline-widget { min-width: 320px; height: 680px; }

@media (max-width: 900px) {
  .scrolly-grid, .results-head { grid-template-columns: 1fr; }
  .scrolly-grid .sticky-col { position: static; }
}
@media (prefers-reduced-motion: reduce) {
  .timeline-item:not(.active) .phase-card { opacity: 1; transform: none; }
  .hero::after { transform: none; }
}

/* ==========================================================================
   v3.2 — Hero imagery (background video, light variant)
   ========================================================================== */
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 72% center;
  z-index: -2;
}
.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(95deg,
    rgba(248, 251, 253, 0.96) 0%,
    rgba(248, 251, 253, 0.82) 38%,
    rgba(248, 251, 253, 0.25) 68%,
    transparent 100%);
}

/* Light hero variant: slate type over the video's bright zone */
.hero-light { background: linear-gradient(160deg, #F8FBFD 0%, #E8F2F7 100%); }
.hero-light::after { display: none; }
.hero-light h1 { color: var(--fg-1); }
.hero-light .lede { color: var(--fg-1); opacity: 0.85; }
.hero-light .eyebrow { color: var(--brand-strong); }
.hero-light .stat-strip { border-top-color: rgba(51, 63, 72, 0.18); }
.hero-light .stat .num { color: var(--brand-strong); }
.hero-light .stat .label { color: var(--fg-2); }

@media (prefers-reduced-motion: reduce) {
  .hero-video { display: none; }
}
@media (max-width: 600px) {
  .hero-scrim {
    background: linear-gradient(180deg,
      rgba(248, 251, 253, 0.96) 0%,
      rgba(248, 251, 253, 0.85) 60%,
      rgba(248, 251, 253, 0.55) 100%);
  }
}

/* ensure all form controls inherit DM Sans */
button, input, select, textarea { font-family: var(--font-sans); }

/* ==========================================================================
   v3.3 — Team bio modal
   ========================================================================== */
.bio-btn {
  margin-top: 8px;
  background: none;
  border: 1.5px solid var(--gray-300);
  border-radius: var(--r-pill);
  padding: 8px 20px;
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--brand-strong);
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}
.bio-btn:hover { border-color: var(--aqua-400); background: var(--aqua-100); }

.bio-modal {
  margin: auto; /* restore native dialog centering (killed by the global reset) */
  border: none;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  padding: 40px;
  max-width: 640px;
  width: calc(100vw - 48px);
  max-height: calc(100vh - 96px);
}
.bio-modal::backdrop {
  background: rgba(51, 63, 72, 0.55);
  backdrop-filter: blur(4px);
}
.bio-modal-close {
  position: absolute;
  top: 14px; right: 18px;
  background: none;
  border: none;
  font-size: 1.8rem;
  line-height: 1;
  color: var(--fg-2);
  cursor: pointer;
}
.bio-modal-close:hover { color: var(--fg-1); }
.bio-modal-head {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 22px;
}
.bio-modal-head img {
  width: 84px; height: 84px;
  object-fit: cover;
  object-position: top center;
  border-radius: var(--r-md);
}
.bio-modal-head h3 { margin-bottom: 2px; }
.bio-modal-head .role { font-weight: 500; font-size: 0.9rem; color: var(--brand-strong); }
.bio-modal-body { overflow-y: auto; max-height: 56vh; }
.bio-modal-body p { color: var(--fg-2); font-size: 1rem; text-align: left; }

/* ==========================================================================
   v3.4 — Results infographics: Value Runway curve + animated metric gauges
   ========================================================================== */
.value-curve-card {
  background: linear-gradient(145deg, rgba(255,255,255,.09) 0%, rgba(255,255,255,.04) 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--r-lg);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.12), var(--shadow-lg);
  padding: 24px 24px 16px;
}
.curve-title {
  font-weight: 600;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 10px;
}
.curve-title span { color: rgba(255, 255, 255, 0.45); font-weight: 400; font-size: 0.8rem; }
.value-curve { width: 100%; height: auto; display: block; }
.value-curve text { font-family: var(--font-sans); }

/* draw-on-scroll: line draws, area fades, milestones pop in sequence */
.curve-line { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.8s ease-out 0.2s; }
.curve-area { opacity: 0; transition: opacity 0.9s ease-out 1.4s; }
.value-curve .ms { opacity: 0; transform: translateY(6px); transition: opacity 0.45s ease-out, transform 0.45s ease-out; }
.value-curve .ms-1 { transition-delay: 0.4s; }
.value-curve .ms-2 { transition-delay: 0.9s; }
.value-curve .ms-3 { transition-delay: 1.4s; }
.value-curve .ms-4 { transition-delay: 1.9s; }
.value-curve-card.visible .curve-line { stroke-dashoffset: 0; }
.value-curve-card.visible .curve-area { opacity: 1; }
.value-curve-card.visible .ms { opacity: 1; transform: none; }
.exit-glow { animation: exit-pulse 2.6s ease-in-out 2.4s infinite; transform-origin: 540px 55px; }
@keyframes exit-pulse {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.35); }
}

/* metric cards */
.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 64px;
  align-items: stretch;
}
.metric-card {
  background: linear-gradient(145deg, rgba(255,255,255,.09) 0%, rgba(255,255,255,.04) 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--r-lg);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.12);
  padding: 28px 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  transition: border-color 0.2s ease;
}
.metric-card:hover { border-color: rgba(95, 208, 223, 0.55); }
.gauge { width: 110px; height: 110px; }
.gauge text { font-family: var(--font-sans); }
/* donut fill: circumference of r=50 is 314.16 */
.gauge .fg {
  stroke-dasharray: 314.16;
  stroke-dashoffset: 314.16;
  transition: stroke-dashoffset 1.4s ease-out 0.3s;
}
.metric-card.visible .gauge .fg {
  stroke-dashoffset: calc(314.16 * (1 - var(--target, 1)));
}
.metric-num {
  font-weight: 700;
  font-size: clamp(2.4rem, 3.4vw, 3rem);
  line-height: 1;
  color: var(--aqua-400);
}
.metric-unit { font-size: 0.6em; font-weight: 700; }
.metric-label {
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.45;
}

@media (max-width: 900px) {
  .metric-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .metric-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .curve-line { stroke-dashoffset: 0; transition: none; }
  .curve-area { opacity: 1; transition: none; }
  .value-curve .ms { opacity: 1; transform: none; transition: none; }
  .exit-glow { animation: none; }
  .gauge .fg { transition: none; }
}

/* promise boxes need white on the grey-gradient section */
.section-grey .promise { background: var(--white); }
.section-grey .nav-feature { border-bottom-color: rgba(51,63,72,0.1); }

/* v3.5 — six-step runway legend + staggered milestone delays */
.curve-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-top: 14px;
  padding: 0 4px 6px;
}
.curve-legend span {
  font-size: 0.82rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.72);
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.curve-legend b {
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--aqua-400);
  color: var(--slate);
  font-size: 0.72rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.curve-legend span:nth-child(5) b { background: var(--green-400); }
.value-curve .ms-5 { transition-delay: 1.7s; }
.value-curve .ms-6 { transition-delay: 2.0s; }
.exit-glow { animation-delay: 2.5s; }

/* promise boxes: frosted glass lift */
.section-grey .promise, .promise {
  background: rgba(255, 255, 255, 0.62);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.85);
  box-shadow: var(--shadow-md);
}

/* v3.6 — milestone/legend color mapping + metric card baseline alignment */
/* legend chips match the chart dots: aqua ramp -> greens -> gold */
.curve-legend span:nth-child(1) b { background: #A4DBE8; color: var(--slate); }
.curve-legend span:nth-child(2) b { background: #3EB1C8; color: var(--slate); }
.curve-legend span:nth-child(3) b { background: #2D8C9E; color: var(--white); }
.curve-legend span:nth-child(4) b { background: #55BC97; color: var(--slate); }
.curve-legend span:nth-child(5) b { background: #50A684; color: var(--white); }
.curve-legend span:nth-child(6) b { background: #CAB64B; color: var(--slate); }
/* gold exit pulse */
.exit-glow { transform-origin: 540px 55px; }

/* metric cards: fixed visual row so numbers and labels align across the row */
.metric-card {
  display: grid;
  grid-template-rows: 110px 1fr;
  align-items: center;
  justify-items: center;
  gap: 14px;
}
.metric-card .metric-label { align-self: start; }

/* v3.7 — legend chips on full brand palette; 7-card metric grid centers last row */
.curve-legend span:nth-child(1) b { background: #9BCFDE; color: var(--slate); }  /* Sky Blue */
.curve-legend span:nth-child(2) b { background: #4AB3C8; color: var(--slate); }  /* HPA Teal */
.curve-legend span:nth-child(3) b { background: #0099B0; color: var(--white); }  /* Ocean Blue */
.curve-legend span:nth-child(4) b { background: #6DC8A0; color: var(--slate); }  /* Sage Green */
.curve-legend span:nth-child(5) b { background: #007A53; color: var(--white); }  /* Forest Green */
.curve-legend span:nth-child(6) b { background: #C4902A; color: var(--white); }  /* Brand Gold */

.metric-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
}
.metric-card {
  flex: 1 1 220px;
  max-width: calc(25% - 18px);
  min-width: 220px;
}
@media (max-width: 900px) {
  .metric-card { max-width: calc(50% - 12px); }
}
@media (max-width: 600px) {
  .metric-card { max-width: 100%; }
}

/* ==========================================================================
   v3.8 — "Why HPA Exists" split duo (Cleo-style panels)
   ========================================================================== */
.split-duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.duo-panel {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  min-height: 640px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  isolation: isolate;
}
.duo-media video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}
/* scrim so caption type stays legible over footage */
.duo-media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, transparent 45%, rgba(51, 63, 72, 0.78) 100%);
}
.duo-gradient {
  background:
    radial-gradient(ellipse at 80% 10%, rgba(155, 207, 222, 0.35) 0%, transparent 55%),
    linear-gradient(160deg, #3dbece 0%, #2D8C9E 55%, #00788A 100%);
}
.duo-caption {
  padding: 32px 34px 34px;
  color: var(--white);
  position: relative;
}
.duo-caption h3 {
  color: var(--white);
  font-size: 1.35rem;
  margin-bottom: 10px;
}
.duo-caption p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1rem;
  max-width: 46ch;
}

/* chat bubbles */
.duo-bubbles {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
  padding: 48px 34px 24px;
}
.bubble {
  position: relative;
  max-width: 380px;
  padding: 22px 26px;
  font-size: 1.15rem;
  line-height: 1.45;
  border-radius: 22px;
  box-shadow: var(--shadow-md);
}
.bubble-in {
  background: rgba(255, 255, 255, 0.92);
  color: var(--slate);
  border-bottom-left-radius: 6px;
  align-self: flex-start;
}
.bubble-tag {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-500);
  margin-bottom: 8px;
}
.bubble-out {
  background: var(--slate);
  color: var(--white);
  font-weight: 600;
  border-bottom-right-radius: 6px;
  align-self: flex-end;
}
/* bubbles pop in when the panel reveals */
.duo-gradient .bubble { opacity: 0; transform: translateY(14px); transition: opacity 0.5s ease-out, transform 0.5s ease-out; }
.duo-gradient.visible .bubble-in { opacity: 1; transform: none; transition-delay: 0.35s; }
.duo-gradient.visible .bubble-out { opacity: 1; transform: none; transition-delay: 0.95s; }

@media (max-width: 900px) {
  .split-duo { grid-template-columns: 1fr; }
  .duo-panel { min-height: 520px; }
}
@media (prefers-reduced-motion: reduce) {
  .duo-media video { display: none; }
  .duo-media { background: linear-gradient(160deg, var(--slate-deep), var(--slate)); }
  .duo-gradient .bubble { opacity: 1; transform: none; transition: none; }
}

/* ==========================================================================
   v3.9 — phone-screen message exchange + fuller section fit
   ========================================================================== */
.container-wide { max-width: 1400px; }
#why-hpa { padding: 56px 0 72px; }

.phone-wrap {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 44px 24px 16px;
}
.phone {
  width: 320px;
  background: var(--slate-deep);
  border-radius: 40px;
  padding: 12px;
  box-shadow: 0 24px 60px -18px rgba(27, 42, 74, 0.55), inset 0 1px 0 rgba(255,255,255,0.18);
}
.phone-screen {
  background: #F6F8F9;
  border-radius: 30px;
  overflow: hidden;
  min-height: 360px;
  display: flex;
  flex-direction: column;
}
.phone-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  background: var(--white);
  border-bottom: 1px solid var(--gray-100);
}
.phone-avatar {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--gray-300);
  color: var(--slate);
  font-size: 0.7rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.phone-name { font-weight: 600; font-size: 0.85rem; color: var(--slate); }
.phone-thread {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 12px;
  padding: 18px 14px 20px;
}

/* messages: pop in as typing dots, then text replaces the dots */
.msg {
  position: relative;
  max-width: 86%;
  padding: 12px 16px;
  font-size: 0.95rem;
  line-height: 1.45;
  border-radius: 18px;
  opacity: 0;
  transform: translateY(10px) scale(0.92);
}
.msg-in {
  background: var(--gray-100);
  color: var(--slate);
  border-bottom-left-radius: 6px;
  align-self: flex-start;
  transform-origin: bottom left;
}
.msg-out {
  background: var(--aqua-400);
  color: var(--slate);
  font-weight: 600;
  border-bottom-right-radius: 6px;
  align-self: flex-end;
  transform-origin: bottom right;
}
.msg .msg-text { opacity: 0; }
.msg .dots {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.msg .dots i {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: rgba(51, 63, 72, 0.45);
  animation: dot-bounce 1s ease-in-out infinite;
}
.msg .dots i:nth-child(2) { animation-delay: 0.15s; }
.msg .dots i:nth-child(3) { animation-delay: 0.3s; }
@keyframes dot-bounce {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.5; }
  30% { transform: translateY(-4px); opacity: 1; }
}
@keyframes msg-pop { to { opacity: 1; transform: none; } }
@keyframes el-show { to { opacity: 1; } }
@keyframes el-hide { to { opacity: 0; visibility: hidden; } }

/* choreography: runs when the gradient panel reveals */
.duo-gradient.visible .msg-in  { animation: msg-pop 0.45s ease-out 0.5s forwards; }
.duo-gradient.visible .msg-in .dots  { animation-name: el-hide; animation-duration: 0.25s; animation-delay: 1.9s; animation-fill-mode: forwards; }
.duo-gradient.visible .msg-in .msg-text { animation: el-show 0.3s ease-out 2.0s forwards; }
.duo-gradient.visible .msg-out { animation: msg-pop 0.45s ease-out 2.9s forwards; }
.duo-gradient.visible .msg-out .dots { animation-name: el-hide; animation-duration: 0.25s; animation-delay: 4.1s; animation-fill-mode: forwards; }
.duo-gradient.visible .msg-out .msg-text { animation: el-show 0.3s ease-out 4.2s forwards; }
/* keep the bouncing dots animation while they're visible */
.duo-gradient.visible .msg .dots i { animation: dot-bounce 1s ease-in-out infinite; }

@media (prefers-reduced-motion: reduce) {
  .msg { opacity: 1; transform: none; }
  .msg .msg-text { opacity: 1; }
  .msg .dots { display: none; }
  .duo-gradient.visible .msg,
  .duo-gradient.visible .msg .dots,
  .duo-gradient.visible .msg .msg-text { animation: none; }
}

/* ==========================================================================
   v4.0 — full-viewport hero + realistic iPhone mockup
   ========================================================================== */
/* hero fills the browser window below the 78px sticky header */
.hero {
  min-height: calc(100vh - 78px);
  min-height: calc(100svh - 78px);
  display: flex;
  align-items: center;
  padding: 60px 0;
}
.hero .container { width: 100%; }

/* iPhone frame */
.phone {
  position: relative;
  width: 300px;
  background: #1B2126;
  border-radius: 52px;
  padding: 10px;
  box-shadow: 0 30px 70px -20px rgba(27, 42, 74, 0.6),
              inset 0 1px 1px rgba(255,255,255,0.22),
              inset 0 -1px 1px rgba(0,0,0,0.45);
}
/* side buttons */
.phone::before {
  content: "";
  position: absolute;
  left: -2.5px; top: 110px;
  width: 3px; height: 88px;
  background: #1B2126;
  border-radius: 2px;
  box-shadow: 0 110px 0 #1B2126; /* second volume button */
}
.phone::after {
  content: "";
  position: absolute;
  right: -2.5px; top: 160px;
  width: 3px; height: 72px;
  background: #1B2126;
  border-radius: 2px;
}
.dynamic-island {
  position: absolute;
  top: 24px; left: 50%;
  transform: translateX(-50%);
  width: 92px; height: 26px;
  background: #000;
  border-radius: 999px;
  z-index: 3;
}
.phone-screen {
  background: var(--white);
  border-radius: 42px;
  overflow: hidden;
  aspect-ratio: 9 / 18.6;
  display: flex;
  flex-direction: column;
  min-height: 0;
}
.status-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 26px 4px;
}
.st-time { font-size: 0.82rem; font-weight: 700; color: var(--slate); letter-spacing: 0.01em; }
.st-icons { display: inline-flex; align-items: center; gap: 5px; }
.phone-contact {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  padding: 8px 16px 10px;
  border-bottom: 1px solid var(--gray-100);
}
.phone-avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: linear-gradient(180deg, #9aa3ab, #75787B);
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.phone-name { font-weight: 600; font-size: 0.72rem; color: var(--slate); }
.thread-stamp {
  text-align: center;
  font-size: 0.66rem;
  font-weight: 500;
  color: var(--gray-500);
  padding: 10px 0 0;
}
.phone-thread {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 10px;
  padding: 14px 12px 12px;
}
.home-bar {
  width: 108px; height: 4px;
  border-radius: 2px;
  background: rgba(51, 63, 72, 0.3);
  margin: 2px auto 9px;
  flex-shrink: 0;
}

/* ==========================================================================
   v4.1 — transparent header at top (homepage), solid after scroll
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
body { padding-top: 78px; }
body.home { padding-top: 0; }
body.home .hero { padding-top: 140px; }
body.home .site-header:not(.scrolled) {
  background: transparent;
  border-bottom-color: transparent;
  backdrop-filter: none;
}
.site-header.scrolled {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 16px rgba(51, 63, 72, 0.07);
}

/* bigger, fuller hero type for the first impression */
.hero h1 { font-size: clamp(3rem, 6.4vw, 5.2rem); letter-spacing: -0.01em; }
.hero .lede { font-size: clamp(1.15rem, 1.5vw, 1.35rem); }

/* v4.2 — duo media panel uses a still image (portrait-safe crop) */
.duo-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 32% center; /* keep the doctor centered in the tall crop */
  z-index: -2;
}

/* ==========================================================================
   v4.3 — cinematic full-bleed dark hero + on-dark transparent header
   ========================================================================== */
/* header over the dark hero: white logo + white nav until scrolled */
.site-logo .logo-light { display: none; }
body.home .site-header:not(.scrolled) .logo-dark { display: none; }
body.home .site-header:not(.scrolled) .logo-light { display: block; }
body.home .site-header:not(.scrolled) .site-nav a { color: var(--white); }
body.home .site-header:not(.scrolled) .site-nav a.active,
body.home .site-header:not(.scrolled) .site-nav a:hover { color: var(--aqua-400); }
body.home .site-header:not(.scrolled) .nav-actions .btn-secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.55);
}
body.home .site-header:not(.scrolled) .nav-actions .btn-secondary:hover {
  background: var(--white); color: var(--slate); border-color: var(--white);
}
body.home .site-header:not(.scrolled) .nav-toggle span { background: var(--white); }

/* cinematic hero */
.hero-dark {
  background: linear-gradient(170deg, #232C33, var(--slate-deep));
}
.hero-dark::after { display: none; }
.hero-dark .hero-video {
  filter: brightness(0.84) saturate(1.06);
  animation: ken-burns 28s ease-in-out infinite alternate;
}
@keyframes ken-burns {
  from { transform: scale(1); }
  to { transform: scale(1.09); }
}
.hero-dark .hero-scrim {
  background: linear-gradient(180deg,
    rgba(27, 33, 38, 0.60) 0%,
    rgba(27, 33, 38, 0.18) 34%,
    rgba(27, 33, 38, 0.28) 68%,
    rgba(38, 47, 55, 0.88) 100%);
}
.hero-dark .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.hero-dark h1 {
  color: var(--white);
  max-width: 1020px;
  text-shadow: 0 2px 28px rgba(0, 0, 0, 0.3);
}
.hero-dark .lede {
  color: rgba(255, 255, 255, 0.92);
  max-width: 660px;
  text-shadow: 0 1px 14px rgba(0, 0, 0, 0.3);
}
.hero-dark .eyebrow { color: var(--aqua-400); }
.hero-dark .hero-ctas { justify-content: center; }
.hero-dark .accent { box-shadow: 0 10px 44px rgba(95, 208, 223, 0.4); }

/* scroll cue: bouncing chevron at the bottom of the hero */
.scroll-cue {
  position: absolute;
  bottom: 30px; left: 50%;
  width: 22px; height: 22px;
  border-right: 2.5px solid rgba(255, 255, 255, 0.75);
  border-bottom: 2.5px solid rgba(255, 255, 255, 0.75);
  transform: translateX(-50%) rotate(45deg);
  animation: cue-bounce 2.2s ease-in-out infinite;
}
@keyframes cue-bounce {
  0%, 100% { transform: translateX(-50%) rotate(45deg) translate(0, 0); opacity: 0.75; }
  50% { transform: translateX(-50%) rotate(45deg) translate(7px, 7px); opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-dark .hero-video { animation: none; }
  .scroll-cue { animation: none; }
}

/* ==========================================================================
   v4.4 — seamless hero -> dark section transition (Origin-style)
   ========================================================================== */
/* hero scrim now lands fully opaque at the exact color the next section starts with */
.hero-dark .hero-scrim {
  background: linear-gradient(180deg,
    rgba(27, 33, 38, 0.60) 0%,
    rgba(27, 33, 38, 0.18) 34%,
    rgba(27, 33, 38, 0.28) 62%,
    rgba(38, 47, 54, 0.92) 88%,
    #262F36 100%);
}
/* Why HPA Exists: continues the dark mood, easing into Dark Slate */
#why-hpa {
  background:
    radial-gradient(ellipse at 85% 30%, rgba(95, 208, 223, 0.10) 0%, transparent 55%),
    linear-gradient(180deg, #262F36 0%, #2D3840 55%, var(--slate) 100%);
  padding-top: 64px;
}
/* panels gain a touch of separation on the dark backdrop */
#why-hpa .duo-panel { box-shadow: 0 24px 60px -24px rgba(0, 0, 0, 0.55); }

/* v4.5 — true seam weld: video fully fades out BEFORE the boundary,
   and the next section opens in the identical solid color */
.hero-dark .hero-scrim {
  background: linear-gradient(180deg,
    rgba(27, 33, 38, 0.60) 0%,
    rgba(27, 33, 38, 0.18) 32%,
    rgba(27, 33, 38, 0.30) 54%,
    rgba(38, 47, 54, 0.78) 72%,
    rgba(38, 47, 54, 0.97) 84%,
    #262F36 92%,
    #262F36 100%);
}
#why-hpa {
  background:
    radial-gradient(ellipse at 85% 65%, rgba(95, 208, 223, 0.09) 0%, transparent 55%),
    linear-gradient(180deg, #262F36 0%, #262F36 12%, #2C3740 60%, var(--slate) 100%);
}

/* ==========================================================================
   v4.6 — Cleo-scale floating message bubbles (phone removed)
   ========================================================================== */
.duo-bubbles {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 22px;
  padding: 56px 38px 24px;
}
.msg-big {
  position: relative;
  max-width: 440px;
  padding: 26px 32px;
  font-size: clamp(1.15rem, 1.5vw, 1.4rem);
  line-height: 1.45;
  border-radius: 28px;
  box-shadow: 0 16px 44px -14px rgba(27, 42, 74, 0.4);
  opacity: 0;
  transform: translateY(14px) scale(0.94);
}
.msg-big.msg-in {
  background: rgba(255, 255, 255, 0.95);
  color: var(--slate);
  border-bottom-left-radius: 8px;
  align-self: flex-start;
  transform-origin: bottom left;
}
.msg-big.msg-out {
  background: var(--slate);
  color: var(--white);
  font-weight: 600;
  border-bottom-right-radius: 8px;
  align-self: flex-end;
  transform-origin: bottom right;
}
.msg-big .bubble-tag {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray-500);
  margin-bottom: 10px;
}
.msg-big .dots i { width: 9px; height: 9px; }
.msg-big.msg-out .dots i { background: rgba(255, 255, 255, 0.65); }

/* v4.7 — section 2 hugs the hero seam; anchors clear the fixed header */
#why-hpa { padding-top: 20px; }
section[id] { scroll-margin-top: 92px; }

/* v4.8 — hero owns the entire first viewport (header floats over it) */
body.home .hero {
  min-height: 100vh;
  min-height: 100svh;
}

/* v4.9 — primary buttons: darker on hover with white text (all pages) */
.btn-primary:hover {
  background: var(--brand-strong); /* deep aqua #2D8C9E — dark enough for white type */
  color: var(--white);
}

/* v5.0 — Calendly embeds wide enough for the horizontal (side-by-side) layout */
.calendly-card { max-width: 1140px; }
.calendly-card .calendly-inline-widget { height: 750px; }

/* v5.1 — Calendly: no white wrapper box on home; tighter heading gap on contact */
.calendly-card {
  background: transparent;
  box-shadow: none;
  border-radius: 0;
  overflow: visible;
}
.calendly-section .section-head { margin-bottom: 0; }
.calendly-section .calendly-inline-widget { margin-top: -16px; }

/* v5.2 — homepage Calendly hugs the heading above it */
#schedule p { margin-bottom: 12px; }
#schedule .calendly-card { margin-top: -14px; }

/* ==========================================================================
   v6.0 — Transition Journey section (#transition-journey)
   ========================================================================== */

/* Phase color tokens */
.tj-node[data-phase="1"], .tj-phase[data-phase="1"] { --pc: #5FD0DF; }
.tj-node[data-phase="2"], .tj-phase[data-phase="2"] { --pc: #6DC8A0; }
.tj-node[data-phase="3"], .tj-phase[data-phase="3"] { --pc: #C4902A; }

/* Section wrapper — deep dark to contrast with #what-we-do (white) above */
.tj-section {
  background: #141D24;
  color: var(--white);
}
.tj-section .section-head { text-align: center; }
.tj-section .eyebrow { color: var(--brand); }
.tj-section h2 { color: var(--white); }
.tj-intro {
  max-width: 600px;
  margin: 16px auto 0;
  color: var(--fg-on-dark-muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

/* ── Roadmap row ─────────────────────────────────────────────────────────── */
.tj-roadmap {
  position: relative;
  margin: 56px 0 0;
  padding-bottom: 8px;
}

/* Three node columns */
.tj-nodes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  position: relative;
  z-index: 1;
}
.tj-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

/* The animated connecting line sits behind the nodes */
.tj-connector {
  position: absolute;
  top: 26px; /* vertically centered on the 52px circles */
  left: calc(100% / 6);
  right: calc(100% / 6);
  height: 2px;
  background: rgba(255, 255, 255, 0.1);
  z-index: 0;
  overflow: hidden;
  border-radius: 2px;
}
.tj-connector-fill {
  height: 100%;
  width: 0;
  background: linear-gradient(to right, #5FD0DF 0%, #6DC8A0 50%, #C4902A 100%);
  transition: width 1.8s cubic-bezier(0.4, 0, 0.2, 1) 0.25s;
}
.tj-roadmap.visible .tj-connector-fill { width: 100%; }

/* Phase node circles — pop in as the line draws */
.tj-node-circle {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 2px solid var(--pc);
  background: #141D24;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--pc);
  position: relative;
  z-index: 1;
  /* pop-in start state */
  opacity: 0;
  transform: scale(0.4);
  transition: opacity 0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
              transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
/* A pulsing ring behind each circle */
.tj-node-circle::after {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 1px solid var(--pc);
  opacity: 0;
  transform: scale(0.8);
  transition: opacity 0.5s ease 0.3s, transform 0.5s ease 0.3s;
}
.tj-roadmap.visible .tj-node[data-phase="1"] .tj-node-circle         { opacity: 1; transform: scale(1); transition-delay: 0.05s; }
.tj-roadmap.visible .tj-node[data-phase="1"] .tj-node-circle::after  { opacity: 0.35; transform: scale(1); transition-delay: 0.45s; }
.tj-roadmap.visible .tj-node[data-phase="2"] .tj-node-circle         { opacity: 1; transform: scale(1); transition-delay: 0.85s; }
.tj-roadmap.visible .tj-node[data-phase="2"] .tj-node-circle::after  { opacity: 0.35; transform: scale(1); transition-delay: 1.25s; }
.tj-roadmap.visible .tj-node[data-phase="3"] .tj-node-circle         { opacity: 1; transform: scale(1); transition-delay: 1.65s; }
.tj-roadmap.visible .tj-node[data-phase="3"] .tj-node-circle::after  { opacity: 0.35; transform: scale(1); transition-delay: 2.05s; }

/* Node labels */
.tj-node-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  text-align: center;
  opacity: 0;
  transition: opacity 0.4s ease;
}
.tj-node-time {
  font-size: 0.75rem;
  color: var(--fg-on-dark-muted);
  text-align: center;
  opacity: 0;
  transition: opacity 0.4s ease;
}
.tj-roadmap.visible .tj-node[data-phase="1"] .tj-node-label,
.tj-roadmap.visible .tj-node[data-phase="1"] .tj-node-time  { opacity: 1; transition-delay: 0.2s; }
.tj-roadmap.visible .tj-node[data-phase="2"] .tj-node-label,
.tj-roadmap.visible .tj-node[data-phase="2"] .tj-node-time  { opacity: 1; transition-delay: 1.0s; }
.tj-roadmap.visible .tj-node[data-phase="3"] .tj-node-label,
.tj-roadmap.visible .tj-node[data-phase="3"] .tj-node-time  { opacity: 1; transition-delay: 1.8s; }

/* ── Phase detail cards ──────────────────────────────────────────────────── */
.tj-phases {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
}
.tj-phase {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-top: 3px solid var(--pc);
  border-radius: var(--r-lg);
  padding: 28px 22px 24px;
}
.tj-phase h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
  line-height: 1.3;
}
.tj-phase > p {
  font-size: 0.875rem;
  color: var(--fg-on-dark-muted);
  line-height: 1.65;
  margin-bottom: 20px;
}

/* ── Step list inside each card ─────────────────────────────────────────── */
.tj-steps {
  list-style: none;
}
.tj-step {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 11px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  /* start hidden — revealed by CSS when parent gets .visible */
  opacity: 0;
  transform: translateX(-10px);
  transition: opacity 0.38s ease, transform 0.38s ease;
}
.tj-step:last-child { border-bottom: none; }

/* Stagger delays when the phase card becomes visible */
.tj-phase.visible .tj-step:nth-child(1) { opacity: 1; transform: none; transition-delay: 0.18s; }
.tj-phase.visible .tj-step:nth-child(2) { opacity: 1; transform: none; transition-delay: 0.32s; }
.tj-phase.visible .tj-step:nth-child(3) { opacity: 1; transform: none; transition-delay: 0.46s; }
.tj-phase.visible .tj-step:nth-child(4) { opacity: 1; transform: none; transition-delay: 0.60s; }

.tj-dot {
  flex-shrink: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--pc);
  margin-top: 7px;
}
.tj-step strong {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 3px;
}
.tj-step span {
  display: block;
  font-size: 0.8rem;
  color: var(--fg-on-dark-muted);
  line-height: 1.55;
}

/* ── Recapitalize callout ────────────────────────────────────────────────── */
.tj-recap {
  margin-top: 36px;
  padding: 22px 28px;
  background: rgba(95, 208, 223, 0.07);
  border: 1px solid rgba(95, 208, 223, 0.22);
  border-radius: var(--r-md);
  display: flex;
  gap: 20px;
  align-items: flex-start;
}
.tj-recap-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  color: var(--brand);
  margin-top: 2px;
}
.tj-recap-icon svg { width: 100%; height: 100%; stroke: currentColor; }
.tj-recap strong {
  display: block;
  font-size: 0.975rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 6px;
}
.tj-recap p {
  font-size: 0.85rem;
  color: var(--fg-on-dark-muted);
  line-height: 1.65;
  margin: 0;
}

/* ── Mobile stacking ─────────────────────────────────────────────────────── */
@media (max-width: 860px) {
  .tj-nodes { grid-template-columns: 1fr; gap: 0; }
  .tj-node {
    flex-direction: row;
    align-items: center;
    gap: 16px;
    padding: 14px 0;
    border-bottom: 1px solid rgba(255,255,255,0.07);
  }
  .tj-node:last-child { border-bottom: none; }
  .tj-node-circle { flex-shrink: 0; }
  .tj-node-label, .tj-node-time { text-align: left; }
  .tj-connector { display: none; }
  .tj-phases { grid-template-columns: 1fr; }
  .tj-recap { flex-direction: column; gap: 14px; }
}

/* ==========================================================================
   v6.1 — Transition Journey OPTION B: tabbed + hover (#transition-tabs)
   ========================================================================== */

/* Phase color tokens */
.tt-tab[data-phase="1"], .tt-panel[data-phase="1"] { --pc: #5FD0DF; }
.tt-tab[data-phase="2"], .tt-panel[data-phase="2"] { --pc: #6DC8A0; }
.tt-tab[data-phase="3"], .tt-panel[data-phase="3"] { --pc: #C4902A; }

.tt-section {
  /* layered gradient for depth: aqua glow up top, deepening vertical fade */
  background:
    radial-gradient(130% 90% at 50% -10%, rgba(95, 208, 223, 0.12), transparent 55%),
    radial-gradient(100% 70% at 85% 110%, rgba(109, 200, 160, 0.08), transparent 60%),
    linear-gradient(180deg, #1A2832 0%, #141D24 45%, #0E151A 100%);
  color: var(--white);
}
.tt-section .section-head { text-align: center; margin-left: auto; margin-right: auto; }
.tt-section .eyebrow { color: var(--brand); }
/* symmetric eyebrow: dash on BOTH sides so it reads truly centered */
.tt-section .eyebrow::after {
  content: "";
  width: 34px; height: 2px;
  background: var(--aqua-400);
}
.tt-section h2 { color: var(--white); text-wrap: balance; }
.tt-intro {
  max-width: 480px;
  margin: 16px auto 0;
  color: var(--fg-on-dark-muted);
  font-size: 1.05rem;
  line-height: 1.7;
  text-wrap: balance; /* even line lengths instead of a long line + orphan */
}

/* ── Tab bar ─────────────────────────────────────────────────────────────── */
.tt-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 48px 0 28px;
}
.tt-tab {
  display: flex;
  align-items: center;
  gap: 14px;
  text-align: left;
  padding: 16px 20px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--r-md);
  color: rgba(255, 255, 255, 0.6);
  cursor: pointer;
  transition: background .25s ease, border-color .25s ease, color .25s ease, transform .25s ease;
}
.tt-tab:hover {
  background: rgba(255, 255, 255, 0.07);
  color: rgba(255, 255, 255, 0.85);
  transform: translateY(-2px);
}
.tt-tab.is-active {
  background: color-mix(in srgb, var(--pc) 14%, transparent);
  border-color: var(--pc);
  color: var(--white);
}
.tt-tab-num {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  border: 1.5px solid currentColor;
  color: var(--pc);
  transition: background .25s ease, color .25s ease;
}
.tt-tab.is-active .tt-tab-num { background: var(--pc); color: #141D24; border-color: var(--pc); }
.tt-tab-text { display: flex; flex-direction: column; line-height: 1.25; }
.tt-tab-text strong { font-size: .95rem; font-weight: 700; }
.tt-tab-text small { font-size: .78rem; opacity: .75; }

/* ── Stage / panels — open on the page, no box ───────────────────────────── */
.tt-stage {
  position: relative;
  padding: 12px 0 0;
}
.tt-panel { display: none; }
.tt-panel.is-active { display: block; }

.tt-summary {
  text-align: center;
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.6;
  max-width: 560px;
  margin: 0 auto 48px;
  text-wrap: balance;
}
/* time pill sits on its own centered line above the sentence */
.tt-time {
  display: block;
  width: fit-content;
  margin: 0 auto 16px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--pc);
  border: 1px solid color-mix(in srgb, var(--pc) 40%, transparent);
  border-radius: var(--r-pill);
  padding: 5px 14px;
}

/* ── Flow of 4 step nodes ────────────────────────────────────────────────── */
.tt-flow {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
/* squiggly connector curve behind the nodes (Value-Runway feel) */
.tt-curve {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 68px; /* matches icon band; threads through icon centers */
  z-index: 0;
  overflow: visible;
}
.tt-curve-line {
  stroke: var(--pc);
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
}
.tt-panel.is-active .tt-curve-line { animation: ttDraw 1.5s ease-out .15s forwards; }
@keyframes ttDraw { to { stroke-dashoffset: 0; } }

/* node */
.tt-node {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 0 6px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: center;
  opacity: 0;
}
.tt-panel.is-active .tt-node { animation: ttNodeIn .5s ease forwards; }
.tt-panel.is-active .tt-node:nth-child(2) { animation-delay: .25s; }
.tt-panel.is-active .tt-node:nth-child(3) { animation-delay: .45s; }
.tt-panel.is-active .tt-node:nth-child(4) { animation-delay: .65s; }
.tt-panel.is-active .tt-node:nth-child(5) { animation-delay: .85s; }
@keyframes ttNodeIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

.tt-icon {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #141D24;
  border: 2px solid var(--pc);
  color: var(--pc);
  transition: background .25s ease, color .25s ease, transform .25s ease, box-shadow .25s ease;
}
.tt-icon svg { width: 28px; height: 28px; stroke: currentColor; }
.tt-node:hover .tt-icon,
.tt-node:focus-visible .tt-icon {
  background: var(--pc);
  color: #141D24;
  transform: scale(1.08);
  box-shadow: 0 0 0 6px color-mix(in srgb, var(--pc) 18%, transparent);
}
.tt-node-title {
  font-size: .92rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
}

/* hover detail popover */
.tt-detail {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  width: 220px;
  max-width: 80vw;
  background: #1F2B34;
  border: 1px solid color-mix(in srgb, var(--pc) 45%, transparent);
  border-radius: var(--r-sm);
  padding: 12px 14px;
  font-size: .82rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.85);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .22s ease, transform .22s ease, visibility .22s;
  z-index: 5;
}
/* little arrow */
.tt-detail::before {
  content: '';
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-bottom-color: color-mix(in srgb, var(--pc) 45%, transparent);
}
.tt-node:hover .tt-detail,
.tt-node:focus-visible .tt-detail {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.tt-recap-note {
  text-align: center;
  font-size: .85rem;
  color: var(--fg-on-dark-muted);
  margin-top: 24px;
}

/* ── Mobile ──────────────────────────────────────────────────────────────── */
@media (max-width: 860px) {
  .tt-tabs { grid-template-columns: 1fr; gap: 8px; }
  .tt-flow { grid-template-columns: 1fr 1fr; gap: 28px 12px; }
  .tt-curve { display: none; }
  .tt-stage { padding: 12px 0 0; }
  /* on touch, show detail inline instead of as a popover */
  .tt-detail {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    width: auto;
    max-width: none;
    margin-top: 10px;
    box-shadow: none;
    background: rgba(255,255,255,0.04);
  }
  .tt-detail::before { display: none; }
  .tt-node:hover .tt-detail { transform: none; }
}
