/* ============================================================================
   PREMIER HEALTH ALLIANCE — Design System
   Palette derived from the Premier Health Alliance logo:
     #2b1053  dark plum      (wordmark, top-left mark)
     #d9b3f2  light lavender (top-right mark)
     #5a2d8c  mid purple     (bottom-left mark)
     #a03cf5  bright violet  (bottom-right mark)
   Layout, typography and shape follow the "warm cream + editorial serif"
   reference system; the cream canvas is retained as the brand's warm base.
   ========================================================================== */

:root {
  /* ── Brand ────────────────────────────────────────────────────────────── */
  --ink:          #2b1053;  /* logo dark plum — headlines, body, dark surfaces */
  --royal:        #5a2d8c;  /* logo mid purple — deep tinted cards, depth      */
  --action:       #a03cf5;  /* logo bright violet — THE primary action color   */
  --action-dk:    #8a29de;  /* action, pressed / hovered                       */
  --lavender:     #d9b3f2;  /* logo light lavender — ghost borders, halos      */

  /* ── Derived tints ────────────────────────────────────────────────────── */
  --wisteria:     #ece1fb;  /* lightest wash — badges, info surfaces           */
  --periwinkle:   #6b5cf5;  /* blue-violet accent — icon tiles                 */

  /* ── Complementary accents ────────────────────────────────────────────── */
  /* Teal is the true complement to the logo violet. It carries white text at
     4.84:1, which the previous pink accent could not, and reads neutral
     rather than gendered. Amber is the warm secondary, used sparingly. */
  --teal:         #0e7874;  /* deep teal — tinted cards, icon tiles (white)    */
  --teal-soft:    #7fd0cb;  /* mid teal — icon tiles, halos (ink text)         */
  --mist:         #dcefed;  /* palest teal — soft card washes                  */
  --amber:        #e3a038;  /* warm secondary accent — concentrated use only   */

  /* ── Neutrals ─────────────────────────────────────────────────────────── */
  --cream:        #f8f3eb;  /* page canvas — never pure white                  */
  --white:        #ffffff;  /* card surfaces                                   */
  --stone:        #4a3560;

  --ink-70:       rgba(43, 16, 83, 0.70);
  --ink-55:       rgba(43, 16, 83, 0.55);
  --ink-14:       rgba(43, 16, 83, 0.16);
  --ink-09:       rgba(43, 16, 83, 0.11);

  /* ── Type ─────────────────────────────────────────────────────────────── */
  --serif: 'DM Serif Display', 'Source Serif 4', Georgia, 'Times New Roman', serif;
  --sans:  'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  /* Wordmark only — the heavy geometric sans of the Premier Health Alliance
     logo. Swap this one line if the brand's actual typeface differs. */
  --font-logo: 'Montserrat', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  /* ── Shape ────────────────────────────────────────────────────────────── */
  --r-card:  16px;
  --r-lg:    24px;
  --r-pill:  999px;
  --r-nav:   100px;

  /* ── Elevation — warm plum, never cool gray ───────────────────────────── */
  --sh-sm: rgba(78, 56, 92, 0.05) 0 4px 4px 0, rgba(78, 56, 92, 0.08) 0 32px 16px -24px;
  --sh-md: rgba(88, 66, 102, 0.08) 0 8px 16px 0, rgba(88, 66, 102, 0.04) 0 32px 32px 0;
  --sh-lg: rgba(78, 56, 92, 0.12) 0 12px 24px 0, rgba(78, 56, 92, 0.10) 0 48px 48px -16px;
  --sh-xl: rgba(78, 56, 92, 0.12) 0 48px 48px -12px;

  /* ── Layout ───────────────────────────────────────────────────────────── */
  --page: 1200px;
  --gutter: 24px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 120px; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

::selection { background: var(--lavender); color: var(--ink); }

:focus-visible { outline: 2px solid var(--action); outline-offset: 3px; border-radius: 4px; }

/* ============================================================================
   TYPOGRAPHY — serif at weight 400 only; hierarchy from size, not weight
   ========================================================================== */

.display, .h1, .h2, .h3 {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.015em;
  color: var(--ink);
}

.display { font-size: clamp(2.75rem, 6.2vw, 4rem);  line-height: 1.02; }
.h1      { font-size: clamp(2.25rem, 5vw, 3.25rem); line-height: 1.06; }
.h2      { font-size: clamp(1.875rem, 3.4vw, 3rem); line-height: 1.1;  }
.h3      { font-size: clamp(1.35rem, 1.9vw, 1.5rem); line-height: 1.25; letter-spacing: -0.01em; }
.h4      { font-family: var(--serif); font-weight: 400; font-size: 1.25rem; line-height: 1.3; color: var(--ink); }

.display em, .h1 em, .h2 em { font-style: italic; }

.lead    { font-size: clamp(1.0625rem, 1.35vw, 1.25rem); line-height: 1.55; color: var(--ink-70); }
.body    { font-size: 1rem;     line-height: 1.6;  color: var(--ink-70); }
.body-sm { font-size: 0.875rem; line-height: 1.45; color: var(--ink-70); }

.caption {
  font-size: 0.75rem; font-weight: 500; line-height: 1.4;
  letter-spacing: 0.09em; text-transform: uppercase;
}

.on-dark, .on-dark .h1, .on-dark .h2, .on-dark .h3, .on-dark .h4, .on-dark .display { color: var(--white); }
.on-dark .lead      { color: rgba(255, 255, 255, 0.90); }
.on-dark .body      { color: rgba(255, 255, 255, 0.88); }
.on-dark .caption   { color: rgba(255, 255, 255, 0.72); }
.on-dark .ticks li  { color: rgba(255, 255, 255, 0.94); }

/* ============================================================================
   LAYOUT
   ========================================================================== */

.wrap { width: 100%; max-width: var(--page); margin: 0 auto; padding: 0 var(--gutter); }
.wrap-narrow { max-width: 820px; }

section { padding: 96px 0; }
section.tight { padding: 64px 0; }

.section-head { max-width: 760px; margin: 0 auto 56px; text-align: center; }
.section-head .h2 { margin: 20px 0 20px; }

.section-head-left { max-width: 620px; margin: 0 0 48px; text-align: left; }
.section-head-left .h2 { margin: 20px 0 20px; }
.card-lg > .section-head-left { max-width: 760px; }

.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.split-wide     { grid-template-columns: 1.05fr 0.95fr; }
.split-standard { grid-template-columns: 1fr 1.15fr; }

/* Grid/flex children default to min-width:auto — a single nowrap element can
   otherwise force a column wider than the viewport. */
.split > *, .grid > *, .stat-band > *, .people > * { min-width: 0; }

/* ============================================================================
   BADGES
   ========================================================================== */

.badge {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 8px 16px;
  border-radius: var(--r-pill);
  background: var(--white);
  border: 1px solid var(--ink-09);
  box-shadow: var(--sh-sm);
  font-size: 0.75rem; font-weight: 500;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--ink); white-space: nowrap;
}
.badge::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--action); flex: none; }
.badge-wisteria { background: var(--wisteria); border-color: transparent; box-shadow: none; }
.badge-ghost {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.28);
  box-shadow: none; color: var(--white);
}
.badge-ghost::before { background: var(--lavender); }
.badge-plain::before { display: none; }

/* ============================================================================
   BUTTONS — always pills
   ========================================================================== */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--sans); font-size: 0.9375rem; font-weight: 500; line-height: 1;
  padding: 15px 28px;
  border: 1px solid transparent;
  border-radius: var(--r-pill);
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background 0.22s ease, color 0.22s ease, border-color 0.22s ease,
              transform 0.22s ease, box-shadow 0.22s ease;
}
.btn svg { width: 16px; height: 16px; flex: none; }
.btn-sm { padding: 11px 20px; font-size: 0.875rem; }

.btn-primary { background: var(--action); color: var(--white); box-shadow: var(--sh-lg); }
.btn-primary:hover { background: var(--action-dk); transform: translateY(-2px); }

.btn-ghost { background: transparent; color: var(--ink); border-color: var(--lavender); }
.btn-ghost:hover { background: var(--white); border-color: var(--action); }

.btn-white { background: var(--white); color: var(--ink); box-shadow: var(--sh-md); }
.btn-white:hover { background: var(--cream); transform: translateY(-2px); }

.btn-outline-white { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.42); }
.btn-outline-white:hover { background: rgba(255,255,255,0.14); border-color: rgba(255,255,255,0.72); }

.btn-ink { background: var(--ink); color: var(--white); box-shadow: var(--sh-md); }
.btn-ink:hover { background: var(--royal); transform: translateY(-2px); }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.btn-row.center { justify-content: center; }

.tlink {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.9375rem; font-weight: 500; color: var(--action);
  text-decoration: none; transition: gap 0.22s ease;
}
.tlink:hover { gap: 12px; }
.tlink-ink { color: var(--ink); }
.on-dark .tlink { color: var(--lavender); }

.arrow-btn {
  width: 42px; height: 42px; border-radius: var(--r-nav);
  display: grid; place-items: center;
  background: var(--cream); color: var(--ink); flex: none;
  transition: background 0.22s ease, transform 0.22s ease;
}
.arrow-btn svg { width: 16px; height: 16px; }

/* ============================================================================
   NAVIGATION — floating pill
   ========================================================================== */

.nav-shell { position: fixed; top: 18px; left: 0; right: 0; z-index: 900; padding: 0 var(--gutter); pointer-events: none; }
.nav {
  pointer-events: auto;
  max-width: var(--page); margin: 0 auto;
  background: var(--white);
  border-radius: var(--r-nav);
  box-shadow: var(--sh-md);
  display: flex; align-items: center; gap: 20px;
  padding: 11px 12px 11px 22px;
  transition: box-shadow 0.3s ease;
}
.nav.scrolled { box-shadow: var(--sh-lg); }

/* Brand lockup — matches the logo: square mark + two-line uppercase wordmark */
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; flex: none; }
.brand-mark { width: 36px; height: 36px; flex: none; }
.brand-text { line-height: 1.1; }
.brand-name, .brand-tag {
  display: block;
  font-family: var(--font-logo);
  font-weight: 800;
  font-size: 0.9375rem;
  line-height: 1.1;
  letter-spacing: -0.005em;
  text-transform: uppercase;
  color: var(--ink);
}

.nav-links { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0 auto; }
.nav-links a {
  display: block; padding: 9px 14px;
  border-radius: var(--r-pill);
  font-size: 0.875rem; font-weight: 500;
  color: var(--ink-70); text-decoration: none; white-space: nowrap;
  transition: background 0.2s ease, color 0.2s ease;
}
.nav-links a:hover { background: var(--cream); color: var(--ink); }
.nav-links a.active { color: var(--action); background: var(--wisteria); }

.nav-actions { display: flex; align-items: center; gap: 10px; flex: none; }
.nav-actions .btn-primary { box-shadow: rgba(160, 60, 245, 0.32) 0 6px 14px -4px; }

.burger {
  display: none; width: 42px; height: 42px;
  border: 1px solid var(--ink-09); border-radius: var(--r-nav);
  background: var(--white); cursor: pointer; place-items: center; flex: none;
}
.burger i { display: block; position: relative; width: 16px; height: 1.5px; border-radius: 2px; background: var(--ink); }
.burger i::before, .burger i::after {
  content: ''; position: absolute; left: 0;
  width: 16px; height: 1.5px; border-radius: 2px; background: var(--ink);
}
.burger i::before { top: -5px; }
.burger i::after  { top: 5px; }

.nav-drawer {
  pointer-events: auto; display: none;
  max-width: var(--page); margin: 10px auto 0;
  background: var(--white); border-radius: var(--r-card);
  box-shadow: var(--sh-lg); padding: 14px;
}
.nav-drawer.open { display: block; }
.nav-drawer a {
  display: block; padding: 13px 16px; border-radius: var(--r-pill);
  font-size: 0.9375rem; font-weight: 500; color: var(--ink); text-decoration: none;
}
.nav-drawer a:hover { background: var(--cream); }
.nav-drawer .btn { width: 100%; margin-top: 10px; }
.nav-drawer a.btn-primary { color: var(--white); }
.nav-drawer a.btn-primary:hover { background: var(--action-dk); }

/* ============================================================================
   HERO
   ========================================================================== */

.hero { position: relative; padding: 186px 0 96px; text-align: center; overflow: hidden; }
.hero-inner { position: relative; z-index: 2; max-width: 860px; margin: 0 auto; }
.hero .display { margin: 26px 0 24px; }
.hero .lead { max-width: 640px; margin: 0 auto 36px; }

/* Circular portrait frames with color halos */
.orbs { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.orb { position: absolute; border-radius: 50%; padding: 9px; box-shadow: var(--sh-xl); }

/* Slow, desynchronised drift. Transform-only so it stays on the compositor;
   negative delays start each orb mid-cycle so they never move in lockstep. */
@keyframes orb-drift {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50%      { transform: translate3d(var(--dx, 0px), var(--dy, -18px), 0); }
}
.orb, .dot {
  animation: orb-drift var(--dur, 10s) ease-in-out var(--delay, 0s) infinite;
  will-change: transform;
}
.orb img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.orb-teal       { background: var(--teal); }
.orb-violet     { background: var(--action); }
.orb-royal      { background: var(--royal); }
.orb-periwinkle { background: var(--periwinkle); }
.orb-lavender   { background: var(--lavender); }
.orb-wisteria   { background: var(--wisteria); }

.dot { position: absolute; border-radius: 50%; }

.orb-a { width: 168px; height: 168px; top: 210px; left: 2%;
         --dur: 9s;  --delay: -0.4s; --dy: -22px; --dx:  7px; }
.orb-b { width: 116px; height: 116px; bottom: 132px; left: 11%;
         --dur: 11s; --delay: -3.6s; --dy:  17px; --dx: -9px; }
.orb-c { width: 196px; height: 196px; top: 178px; right: 1%;
         --dur: 10s; --delay: -1.9s; --dy: -15px; --dx: -7px; }
.orb-d { width: 128px; height: 128px; bottom: 108px; right: 12%;
         --dur: 12s; --delay: -5.2s; --dy:  20px; --dx:  8px; }
.dot-a { width: 22px; height: 22px; top: 178px; left: 17%; background: var(--teal);
         --dur: 13s; --delay: -2.2s; --dy: -13px; --dx:  5px; }
.dot-b { width: 14px; height: 14px; bottom: 268px; right: 9%; background: var(--action);
         --dur: 15s; --delay: -6.8s; --dy:  11px; --dx: -6px; }
.dot-c { width: 34px; height: 34px; bottom: 60px; left: 30%; background: var(--wisteria);
         --dur: 14s; --delay: -4.1s; --dy: -16px; --dx: -5px; }

/* Compact hero for interior pages */
.hero-sub { position: relative; padding: 170px 0 64px; }
.hero-sub .h1 { margin: 22px 0 20px; }
.hero-sub .lead { max-width: 620px; }
.crumbs { display: flex; align-items: center; gap: 8px; font-size: 0.8125rem; color: var(--ink-55); margin-bottom: 22px; }
.crumbs a { color: var(--ink-55); text-decoration: none; }
.crumbs a:hover { color: var(--action); }

/* ============================================================================
   CARDS — surface hierarchy: cream → white → tinted → deep
   ========================================================================== */

.card { background: var(--white); border-radius: var(--r-card); padding: 32px; box-shadow: var(--sh-sm); }
.card-lg { padding: 40px; }
.card-flat { box-shadow: none; border: 1px solid var(--ink-09); }

.card-tint-mist     { background: var(--mist);      box-shadow: none; }
.card-tint-teal     { background: var(--teal);      box-shadow: none; color: var(--white); }
.card-tint-wisteria { background: var(--wisteria);  box-shadow: none; }
.card-tint-lavender { background: var(--lavender);  box-shadow: none; }
.card-tint-royal    { background: var(--royal);     box-shadow: none; color: var(--white); }
.card-tint-ink      { background: var(--ink);       box-shadow: none; color: var(--white); }

.card-tint-royal .h3, .card-tint-royal .h4,
.card-tint-teal  .h3, .card-tint-teal  .h4,
.card-tint-ink .h3,   .card-tint-ink .h4   { color: var(--white); }
.card-tint-royal .body { color: rgba(255,255,255,0.92); }
.card-tint-teal  .body { color: rgba(255,255,255,0.92); }
.card-tint-ink   .body { color: rgba(255,255,255,0.88); }
.card-tint-royal .arrow-btn, .card-tint-teal .arrow-btn,
.card-tint-ink .arrow-btn { background: rgba(255,255,255,0.18); color: var(--white); }
.card-tint-mist .arrow-btn, .card-tint-wisteria .arrow-btn,
.card-tint-lavender .arrow-btn { background: var(--white); }

/* Feature card — icon, serif heading, body, corner arrow */
.feature {
  position: relative; display: flex; flex-direction: column; gap: 16px;
  text-decoration: none; color: inherit;
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}
a.feature:hover { transform: translateY(-4px); box-shadow: var(--sh-md); }
a.feature:hover .arrow-btn { transform: translateX(3px); }
.feature .arrow-btn { position: absolute; top: 28px; right: 28px; }
.feature .h3 { padding-right: 56px; }
.feature .body { flex: 1; }
.feature-foot {
  margin-top: 4px; padding-top: 16px;
  border-top: 1px solid var(--ink-09);
  font-size: 0.8125rem; font-weight: 500;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--ink-55);
}
.card-tint-royal .feature-foot, .card-tint-teal .feature-foot, .card-tint-ink .feature-foot {
  border-top-color: rgba(255,255,255,0.24);
  color: rgba(255,255,255,0.74);
}

/* Circular icon tiles */
.itile { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; flex: none; }
.itile svg { width: 24px; height: 24px; }
.itile-action     { background: var(--wisteria);   color: var(--action); }
.itile-teal       { background: var(--teal);       color: var(--white); }
.itile-teal-soft  { background: var(--teal-soft);  color: var(--ink); }
.itile-mist       { background: var(--mist);       color: var(--teal); }
.itile-amber      { background: var(--amber);      color: var(--ink); }
.itile-royal      { background: var(--royal);      color: var(--white); }
.itile-violet     { background: var(--action);     color: var(--white); }
.itile-periwinkle { background: var(--periwinkle); color: var(--white); }
.itile-lavender   { background: var(--lavender);   color: var(--ink); }
.itile-white      { background: var(--white);      color: var(--ink); }
.itile-cream      { background: var(--cream);      color: var(--ink); }
.itile-glass      { background: rgba(255,255,255,0.20); color: var(--white); }
.itile-sm { width: 42px; height: 42px; }
.itile-sm svg { width: 19px; height: 19px; }

/* ============================================================================
   STATS
   ========================================================================== */

.stat-band { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.stat { padding: 8px 28px; border-left: 1px solid var(--ink-09); }
.stat:first-child { border-left: 0; padding-left: 8px; }
.stat-num {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(2.25rem, 3.2vw, 3rem); line-height: 1;
  letter-spacing: -0.02em; color: var(--ink); margin-bottom: 10px;
}
.stat-num em { font-style: normal; color: var(--action); }
.stat-label { font-size: 0.875rem; line-height: 1.4; color: var(--ink-70); }
.on-dark .stat { border-left-color: rgba(255,255,255,0.24); }
.on-dark .stat-num { color: var(--white); }
.on-dark .stat-num em { color: var(--lavender); }
.on-dark .stat-label { color: rgba(255,255,255,0.85); }

/* ============================================================================
   LISTS
   ========================================================================== */

.ticks { list-style: none; display: grid; gap: 14px; }
.ticks li { display: flex; gap: 13px; align-items: flex-start; font-size: 1rem; line-height: 1.55; }
.ticks li::before {
  content: ''; flex: none;
  width: 20px; height: 20px; margin-top: 3px; border-radius: 50%;
  background: var(--action) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 12px 12px no-repeat;
}
.on-dark .ticks li::before { background-color: var(--lavender);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232b1053' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E"); }

.numrow { display: flex; gap: 20px; align-items: flex-start; }
.numrow-n {
  flex: none; width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--cream); border: 1px solid var(--ink-09);
  font-family: var(--serif); font-size: 1.125rem; color: var(--ink);
}

.rows { display: grid; }
.rows > * { padding: 24px 0; border-top: 1px solid var(--ink-09); }
.rows > *:first-child { border-top: 0; padding-top: 0; }
.rows > *:last-child { padding-bottom: 0; }

/* ============================================================================
   ORG STRUCTURE DIAGRAM
   ========================================================================== */

.org { display: grid; gap: 0; }
.org-node { background: var(--ink); color: var(--white); border-radius: var(--r-card); padding: 22px 26px; text-align: center; }
.org-node .h4 { color: var(--white); }
.org-node p { font-size: 0.8125rem; color: rgba(255,255,255,0.74); margin-top: 4px; }
.org-stem { width: 1px; height: 26px; background: var(--ink-14); margin: 0 auto; }
.org-tier {
  background: var(--wisteria); border-radius: var(--r-card); padding: 20px;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px;
}
.org-chip {
  background: var(--white); border-radius: var(--r-pill); padding: 12px 16px;
  text-align: center; font-size: 0.8125rem; font-weight: 500; color: var(--ink);
}
.org-leaves { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.org-leaves-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.org-leaf {
  background: var(--white); border: 1px solid var(--ink-09);
  border-radius: var(--r-card); padding: 18px 16px; text-align: center;
}
.org-leaf .n { font-family: var(--serif); font-size: 1rem; line-height: 1.25; display: block; }
.org-leaf .s { font-size: 0.75rem; color: var(--ink-55); margin-top: 6px; display: block; }
.org-leaf-open { border-style: dashed; background: transparent; color: var(--ink-55); }

/* ============================================================================
   PEOPLE — circular portraits with color halos
   ========================================================================== */

.people { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; text-align: center; }
.person-orb { width: 200px; height: 200px; margin: 0 auto 22px; border-radius: 50%; padding: 10px; box-shadow: var(--sh-xl); }
.person-orb img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.person-name { font-family: var(--serif); font-size: 1.25rem; line-height: 1.3; }
.person-role { font-size: 0.875rem; color: var(--ink-70); margin-top: 4px; }
.person-tag {
  display: inline-block; margin-top: 12px; padding: 6px 14px;
  border-radius: var(--r-pill); background: var(--white);
  border: 1px solid var(--ink-09);
  font-size: 0.75rem; font-weight: 500; letter-spacing: 0.05em;
  text-transform: uppercase; color: var(--ink-70);
}

/* ============================================================================
   BANDS
   ========================================================================== */

.gradient-band {
  position: relative; isolation: isolate;
  border-radius: var(--r-lg);
  background: linear-gradient(121deg, #0e7874 0%, #a03cf5 52%, #2b1053 100%);
  padding: 72px 56px;
  box-shadow: var(--sh-xl);
}
/* Scrim lifts white-text contrast over the light end without flattening the ramp */
.gradient-band::before {
  content: ''; position: absolute; inset: 0;
  border-radius: inherit;
  background: rgba(43, 16, 83, 0.12);
  z-index: -1;
}

.ink-band { border-radius: var(--r-lg); background: var(--ink); padding: 64px 56px; }

/* Dark glass — a white wash would lighten the surface and lose contrast */
.card-glass {
  background: rgba(43, 16, 83, 0.26);
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: none; color: var(--white);
}
.card-glass .h3, .card-glass .h4 { color: var(--white); }
.card-glass .body { color: rgba(255, 255, 255, 0.90); }

/* ============================================================================
   PHOTO FRAMES
   ========================================================================== */

.photo { border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh-lg); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo-tall { aspect-ratio: 4 / 5; }
.photo-wide { aspect-ratio: 16 / 10; }

.photo-stack { position: relative; }
.photo-stack .float-card {
  position: absolute; bottom: -28px; left: -28px;
  background: var(--white); border-radius: var(--r-card);
  padding: 22px 26px; box-shadow: var(--sh-lg); max-width: 260px;
}
.photo-stack .float-card .stat-num { font-size: 2.25rem; }

/* ============================================================================
   SPECIALTY PAGE HELPERS
   ========================================================================== */

.pill-row { display: flex; flex-wrap: wrap; gap: 10px; }
.pill {
  display: inline-flex; align-items: center; padding: 9px 18px;
  border-radius: var(--r-pill); background: var(--white);
  border: 1px solid var(--ink-09); font-size: 0.875rem; color: var(--ink);
}
.pill-cream { background: var(--cream); }

.quote {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(1.375rem, 2.3vw, 1.875rem);
  line-height: 1.35; letter-spacing: -0.01em; color: var(--ink);
}
.quote-cite { font-family: var(--sans); font-size: 0.875rem; color: var(--ink-55); margin-top: 20px; }

.xlinks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.xlink {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  background: var(--white); border: 1px solid var(--ink-09);
  border-radius: var(--r-card); padding: 20px 24px;
  text-decoration: none; color: var(--ink);
  transition: border-color 0.22s ease, transform 0.22s ease, box-shadow 0.22s ease;
}
.xlink:hover { border-color: var(--action); transform: translateY(-3px); box-shadow: var(--sh-sm); }
.xlink-name { font-family: var(--serif); font-size: 1.0625rem; line-height: 1.25; }
.xlink svg { width: 16px; height: 16px; flex: none; color: var(--action); }

/* ============================================================================
   FORM
   ========================================================================== */

.field { display: grid; gap: 8px; }
.field label { font-size: 0.8125rem; font-weight: 500; color: var(--ink); }
.field input, .field select, .field textarea {
  width: 100%; font-family: var(--sans); font-size: 0.9375rem; color: var(--ink);
  background: var(--white); border: 1px solid var(--ink-14);
  border-radius: var(--r-pill); padding: 14px 20px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.field textarea { border-radius: var(--r-lg); min-height: 120px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: rgba(43,16,83,0.38); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--action);
  box-shadow: 0 0 0 3px rgba(160, 60, 245, 0.16);
}
.field select {
  appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232b1053' stroke-width='2' stroke-linecap='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 18px center; background-size: 16px;
  padding-right: 44px;
}
.form-grid { display: grid; gap: 18px; }
.form-grid .two { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-note {
  margin-top: 18px; padding: 16px 20px;
  border-radius: var(--r-card); background: var(--cream);
  font-size: 0.8125rem; line-height: 1.5; color: var(--ink-70);
}

.detail-card {
  background: var(--white); border: 1px solid var(--ink-09);
  border-radius: var(--r-card); padding: 26px 28px; margin-top: 32px;
}
.detail-card .caption { color: var(--ink-55); }

/* ============================================================================
   FOOTER
   ========================================================================== */

.footer { background: var(--ink); color: rgba(255,255,255,0.74); padding: 80px 0 32px; }
.footer-top {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 48px;
  padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,0.16);
}
.footer .brand-name, .footer .brand-tag { color: var(--white); }
.footer-blurb { font-size: 0.9375rem; line-height: 1.6; margin-top: 20px; max-width: 380px; }
.footer-motto {
  font-family: var(--serif); font-size: 1.125rem; color: var(--white);
  margin-top: 24px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.16);
}
.footer-col h5 {
  font-size: 0.75rem; font-weight: 500; letter-spacing: 0.11em;
  text-transform: uppercase; color: var(--white); margin-bottom: 18px;
}
.footer-col ul { list-style: none; display: grid; gap: 11px; }
.footer-col a { font-size: 0.9375rem; color: rgba(255,255,255,0.70); text-decoration: none; transition: color 0.2s ease; }
.footer-col a:hover { color: var(--white); }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px;
  padding-top: 28px; font-size: 0.8125rem; color: rgba(255,255,255,0.55);
}
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: 22px; }
.footer-bottom a { color: rgba(255,255,255,0.55); text-decoration: none; transition: color 0.2s ease; }
.footer-bottom a:hover { color: var(--white); text-decoration: underline; }
.footer-legal {
  max-width: 760px; margin-top: 20px;
  font-size: 0.75rem; line-height: 1.6; color: rgba(255,255,255,0.46);
}

/* ============================================================================
   REVEAL
   ========================================================================== */

[data-reveal] {
  opacity: 0; transform: translateY(18px);
  transition: opacity 0.7s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}
[data-reveal].in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
  [data-reveal] { opacity: 1; transform: none; }
  /* Stop the drift outright rather than running it at an imperceptible rate */
  .orb, .dot { animation: none !important; transform: none !important; will-change: auto; }
}

/* ============================================================================
   RESPONSIVE
   ========================================================================== */

@media (max-width: 1180px) {
  .orb-a { left: -4%; } .orb-c { right: -5%; }
  .orb-b { left: 3%; }  .orb-d { right: 4%; }
  .dot-a, .dot-b, .dot-c { display: none; }
}

@media (max-width: 1020px) {
  .nav-links { display: none; }
  .burger { display: grid; }
  .nav { margin-left: auto; }
  .nav-actions .btn { display: none; }
  .orbs { display: none; }
  .hero { padding: 150px 0 72px; }
  .split, .split-wide, .split-standard { grid-template-columns: 1fr; gap: 48px; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat-band { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 32px; }
  .stat:nth-child(odd) { border-left: 0; padding-left: 8px; }
  .people { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
  .person-orb { width: 160px; height: 160px; }
  .gradient-band, .ink-band { padding: 56px 32px; }
  .photo-stack .float-card { left: 0; bottom: -20px; }
  .xlinks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 720px) {
  :root { --gutter: 18px; }
  section { padding: 72px 0; }
  .hero { padding: 132px 0 60px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .people { grid-template-columns: 1fr; gap: 40px; }
  .person-orb { width: 200px; height: 200px; }
  .org-tier, .org-leaves, .org-leaves-2 { grid-template-columns: 1fr; }
  .form-grid .two { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 36px; }
  .footer-brand-col { grid-column: 1 / -1; }
  .card { padding: 26px; }
  .card-lg { padding: 28px; }
  .feature .arrow-btn { top: 22px; right: 22px; }
  .gradient-band, .ink-band { padding: 40px 24px; border-radius: var(--r-card); }
  .section-head { margin-bottom: 40px; }
  .xlinks { grid-template-columns: 1fr; }
  /* A nowrap button label otherwise sets the column's min-content width */
  .btn { width: 100%; white-space: normal; text-align: center; }
  .btn-row { flex-direction: column; }
  .nav-drawer .btn { width: 100%; }
}

@media (max-width: 560px) {
  .badge { white-space: normal; text-align: left; }
  .section-head .badge { text-align: center; }
}

@media (max-width: 460px) {
  .stat-band { grid-template-columns: 1fr; }
  .stat { border-left: 0; padding-left: 8px; }
  .brand-name, .brand-tag { font-size: 0.8125rem; }
  .brand-mark { width: 32px; height: 32px; }
}

/* ============================================================================
   FEATURED PROGRAM  ·  Women's Health / Iron Care
   ========================================================================== */

.card-xl { padding: 56px; }

/* Full-width specialty card — spans the whole grid row, reads as "featured" */
.feature-wide {
  grid-column: 1 / -1;
  display: flex; align-items: center; gap: 26px;
  text-decoration: none; color: inherit;
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}
.feature-wide:hover { transform: translateY(-4px); box-shadow: var(--sh-md); }
.feature-wide:hover .arrow-btn { transform: translateX(3px); }
.feature-wide .fw-body { flex: 1; min-width: 0; }
.feature-wide .fw-eyebrow {
  font-size: 0.75rem; font-weight: 500;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--ink-70); margin-bottom: 9px;
}
.feature-wide .h3 { margin-bottom: 9px; }
.feature-wide .body { max-width: 780px; }

/* Access pathway — numbered steps on white, inside a tinted band */
.steps { display: grid; gap: 14px; }
.step { background: var(--white); border-radius: var(--r-card); padding: 22px 24px; }
.step .numrow-n { background: var(--wisteria); border-color: transparent; color: var(--action); font-size: 1rem; }
.step-title { font-family: var(--serif); font-size: 1.0625rem; line-height: 1.3; margin-bottom: 5px; }

/* Compact stat row for use inside a feature band */
.stat-band-compact .stat-num { font-size: clamp(1.375rem, 1.9vw, 1.625rem); margin-bottom: 8px; }
.stat-band-compact .stat-label { font-size: 0.8125rem; }
.stat-band-compact .stat { padding: 4px 24px; }
.stat-band-compact .stat:first-child { padding-left: 0; }

@media (max-width: 860px) {
  .feature-wide { flex-direction: column; align-items: flex-start; gap: 18px; }
}
@media (max-width: 720px) {
  .card-xl { padding: 28px; }
  .stat-band-compact .stat { padding-left: 0; }
}

/* ============================================================================
   MEDICAL TEAM  ·  physician bio cards
   Monogram avatars stand in for portraits — a stock photograph attached to a
   named physician would misrepresent a real person. Drop real headshots in
   by replacing .doc-avatar with an <img>.
   ========================================================================== */

.doc-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.doc-grid > * { min-width: 0; }

.doc-card {
  display: flex; flex-direction: column;
  background: var(--white);
  border: 1px solid var(--ink-09);
  border-radius: var(--r-card);
  padding: 32px;
}
.doc-card-open { border-style: dashed; background: transparent; }

.doc-head { display: flex; align-items: center; gap: 18px; margin-bottom: 20px; }
.doc-avatar {
  width: 60px; height: 60px; flex: none;
  border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--sans); font-weight: 700; font-size: 1.125rem;
  letter-spacing: 0.02em;
}
.doc-avatar svg { width: 22px; height: 22px; }
.doc-avatar-1    { background: var(--action);     color: var(--white); }
.doc-avatar-2    { background: var(--royal);      color: var(--white); }
.doc-avatar-3    { background: var(--teal);       color: var(--white); }
.doc-avatar-4    { background: var(--periwinkle); color: var(--white); }
.doc-avatar-5    { background: var(--lavender);   color: var(--ink); }
.doc-avatar-open { background: var(--cream); color: var(--ink-55); border: 1px dashed var(--ink-14); }

.doc-name { font-family: var(--serif); font-weight: 400; font-size: 1.25rem; line-height: 1.25; color: var(--ink); }
.doc-role { font-size: 0.9375rem; color: var(--ink-70); margin-top: 3px; }
.doc-practice {
  font-size: 0.6875rem; font-weight: 500;
  letter-spacing: 0.09em; text-transform: uppercase;
  color: var(--action); margin-top: 7px;
}
.doc-card .body { flex: 1; }
.doc-chips { margin-top: 20px; gap: 8px; }
.doc-chips .pill { font-size: 0.75rem; padding: 7px 14px; }

@media (max-width: 900px) { .doc-grid { grid-template-columns: 1fr; } }
@media (max-width: 720px) { .doc-card { padding: 26px; } }

.photo-square { aspect-ratio: 1 / 1; }

/* ============================================================================
   PARTNERSHIP & CAREERS PAGES
   ========================================================================== */

/* Empower / Elevate / Grow pillars */
.pillar-card { display: flex; flex-direction: column; gap: 16px; }
.pillar-num {
  font-family: var(--sans); font-weight: 700; font-size: 0.6875rem;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--action);
}
.card-tint-royal .pillar-num, .card-tint-teal .pillar-num, .card-tint-ink .pillar-num { color: var(--lavender); }

/* Before / after case study */
.ba { display: grid; gap: 32px; }
.ba-row { display: grid; gap: 16px; }
.ba-head { display: flex; align-items: center; gap: 14px; }
.ba-label {
  display: inline-flex; align-items: center;
  padding: 7px 18px; border-radius: var(--r-pill);
  font-size: 0.75rem; font-weight: 500;
  letter-spacing: 0.11em; text-transform: uppercase;
}
.ba-label-before { background: var(--white); border: 1px solid var(--ink-14); color: var(--ink-70); }
.ba-label-after  { background: var(--teal); color: var(--white); }
.ba-rule { flex: 1; height: 1px; background: var(--ink-09); }
.ba-shots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.ba-shots > * { min-width: 0; }
.ba-shot { border-radius: var(--r-card); overflow: hidden; aspect-ratio: 4 / 3; box-shadow: var(--sh-sm); }
.ba-shot img { width: 100%; height: 100%; object-fit: cover; }

/* Outcome chips under the case study */
.outcomes { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.outcome {
  background: var(--white); border: 1px solid var(--ink-09);
  border-radius: var(--r-card); padding: 22px 24px;
}
.outcome-k {
  font-family: var(--serif); font-size: 1.375rem; line-height: 1.2;
  color: var(--ink); margin-bottom: 6px;
}
.outcome-v { font-size: 0.8125rem; line-height: 1.45; color: var(--ink-70); }

/* Two-audience switch — cross-link between the partnership and careers pages */
.switch {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; flex-wrap: wrap;
  background: var(--wisteria); border-radius: var(--r-card);
  padding: 26px 32px;
}
.switch-q { font-family: var(--serif); font-size: 1.125rem; line-height: 1.35; color: var(--ink); }

/* Benefit list — two columns of hairline-separated rows */
.benefits { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 48px; }
.benefits > div {
  padding: 20px 0; border-top: 1px solid var(--ink-09);
}
.benefits > div:nth-child(1), .benefits > div:nth-child(2) { border-top: 0; padding-top: 0; }
.benefit-t { font-family: var(--serif); font-size: 1.0625rem; line-height: 1.3; margin-bottom: 5px; }

@media (max-width: 1020px) {
  .outcomes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .ba-shots { grid-template-columns: 1fr 1fr; }
    .outcomes { grid-template-columns: 1fr; }
  .benefits { grid-template-columns: 1fr; gap: 0; }
  .benefits > div:nth-child(2) { border-top: 1px solid var(--ink-09); padding-top: 20px; }
  .switch { padding: 24px; }
  .switch .btn { width: 100%; }
}

/* Real headshots in the physician cards. The colored ring reuses the hero's
   portrait-halo motif; .doc-avatar-N supplies the ring color. Physicians
   without a headshot on file keep the filled monogram. */
.doc-avatar { width: 72px; height: 72px; font-size: 1.25rem; }
.doc-avatar svg { width: 24px; height: 24px; }
.doc-avatar-photo { padding: 3px; }
.doc-avatar-photo img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; display: block; }

/* ============================================================================
   CLINICAL RESEARCH
   ========================================================================== */

/* Tick markers on dark tinted cards */
.card-tint-teal .ticks li, .card-tint-royal .ticks li, .card-tint-ink .ticks li {
  color: rgba(255, 255, 255, 0.94);
}
.card-tint-teal .ticks li::before,
.card-tint-royal .ticks li::before,
.card-tint-ink .ticks li::before {
  background-color: var(--lavender);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232b1053' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
}

/* Negative column of a comparison — the "typical site" side */
.crosses { list-style: none; display: grid; gap: 14px; }
.crosses li {
  display: flex; gap: 13px; align-items: flex-start;
  font-size: 1rem; line-height: 1.55; color: var(--ink-70);
}
.crosses li::before {
  content: ''; flex: none;
  width: 20px; height: 20px; margin-top: 3px; border-radius: 50%;
  background: var(--ink-09) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232b1053' stroke-opacity='0.55' stroke-width='3.2' stroke-linecap='round'%3E%3Cline x1='6' y1='6' x2='18' y2='18'/%3E%3Cline x1='18' y1='6' x2='6' y2='18'/%3E%3C/svg%3E") center / 10px 10px no-repeat;
}

/* Compact spec lists — medication classes, storage, equipment */
.speclist { list-style: none; display: grid; gap: 10px; }
.speclist li {
  display: flex; gap: 11px; align-items: flex-start;
  font-size: 0.9375rem; line-height: 1.5; color: var(--ink-70);
}
.speclist li::before {
  content: ''; flex: none;
  width: 5px; height: 5px; margin-top: 9px; border-radius: 50%;
  background: var(--teal);
}

/* Therapeutic-area chips with a leading index */
.area-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.area-grid > * { min-width: 0; }
.area {
  background: var(--white); border: 1px solid var(--ink-09);
  border-radius: var(--r-card); padding: 22px 24px;
}
.area-n {
  font-family: var(--sans); font-weight: 700; font-size: 0.6875rem;
  letter-spacing: 0.12em; color: var(--teal); margin-bottom: 10px;
}
.area-t { font-family: var(--serif); font-size: 1.0625rem; line-height: 1.3; margin-bottom: 6px; }
.area-d { font-size: 0.8125rem; line-height: 1.45; color: var(--ink-70); }

@media (max-width: 1020px) { .area-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px)  { .area-grid { grid-template-columns: 1fr; } }
