/* ============================================================
   BridgeMed Health — Design System (Navy + Cyan)
   ============================================================ */

:root {
  /* Palette — pulled from existing site + logo */
  --bm-cream: #FBF9F7;
  --bm-cream-warm: #ECF2FB;
  --bm-paper: #FBF9F7;
  --bm-ivory: #FFFFFF;

  --bm-forest: #003588;          /* primary navy (logo BridgeMed text) */
  --bm-forest-deep: #001E5C;     /* deeper navy for backgrounds */
  --bm-forest-light: #1A4290;    /* mid navy for hover */

  --bm-sage: #B6CADD;             /* soft blue-grey */

  --bm-copper: #75C4DB;          /* cyan accent (logo Health text) */
  --bm-copper-light: #A3D8E6;    /* lighter cyan */

  --bm-ink: #010517;             /* near-black ink */
  --bm-ink-soft: #2D3D5C;        /* secondary text */
  --bm-muted: #6B7588;            /* tertiary text */

  --bm-line: #DDE3EC;             /* default border */
  --bm-line-soft: #E8EEF5;        /* soft border */

  /* Type */
  --font-display: 'Fraunces', 'Cormorant Garamond', 'Georgia', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', 'SF Mono', Menlo, monospace;

  --fs-xs: 0.75rem;
  --fs-sm: 0.875rem;
  --fs-base: 1rem;
  --fs-md: 1.125rem;
  --fs-lg: 1.375rem;
  --fs-xl: 1.75rem;
  --fs-2xl: 2.25rem;
  --fs-3xl: 3rem;
  --fs-4xl: 4rem;
  --fs-5xl: 5.5rem;
  --fs-6xl: 7rem;

  --sp-1: 0.5rem;  --sp-2: 1rem;  --sp-3: 1.5rem;  --sp-4: 2rem;
  --sp-5: 3rem;    --sp-6: 4rem;  --sp-7: 6rem;    --sp-8: 8rem;  --sp-9: 10rem;

  --max-w: 1320px;
  --max-w-narrow: 880px;
  --radius-sm: 6px;
  --radius: 14px;
  --radius-lg: 22px;

  --ease-out: cubic-bezier(.22,.61,.36,1);
  --ease-in-out: cubic-bezier(.65,.05,.36,1);

  /* Brand bar colors (overridable on dark surfaces) */
  --bar-1: #75C4DB;
  --bar-2: #5DAFC9;
  --bar-3: #4292B5;
  --bar-4: #2D709E;
  --bar-5: #1A4290;
  --bar-6: #003588;
}

/* ============================================================
   Reset & Base
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: 1.6;
  color: var(--bm-ink);
  background: var(--bm-paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: 'ss01', 'cv11';
}

img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color .2s var(--ease-out); }
button { font: inherit; cursor: pointer; border: 0; background: none; }
ul, ol { padding: 0; margin: 0; list-style: none; }

::selection { background: var(--bm-forest); color: var(--bm-ivory); }

/* ============================================================
   Typography
   ============================================================ */

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--bm-forest-deep);
  margin: 0;
  font-variation-settings: 'opsz' 144, 'SOFT' 30;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-body);
  font-size: var(--fs-xs);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--bm-forest-light);
}
.eyebrow::before {
  content: "";
  width: 28px; height: 1px;
  background: var(--bm-copper);
}

.h-display {
  font-size: clamp(2.5rem, 6.5vw, var(--fs-5xl));
  font-weight: 350;
}
.h-display em {
  font-style: italic;
  color: var(--bm-copper);
  font-variation-settings: 'opsz' 144, 'SOFT' 100;
}
.h-section {
  font-size: clamp(2rem, 4vw, var(--fs-3xl));
  font-weight: 380;
}
.h-card { font-size: var(--fs-xl); font-weight: 400; }

.lede {
  font-size: clamp(1.05rem, 1.4vw, var(--fs-md));
  line-height: 1.7;
  color: var(--bm-ink-soft);
  max-width: 60ch;
}

p { margin: 0 0 1em; }

/* ============================================================
   Layout primitives
   ============================================================ */

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 2.5rem);
}
.container-narrow { max-width: var(--max-w-narrow); margin: 0 auto; padding: 0 1.5rem; }

section { padding: clamp(4rem, 9vw, var(--sp-8)) 0; position: relative; }
.section-tight { padding: clamp(3rem, 6vw, var(--sp-6)) 0; }

.surface-cream { background: var(--bm-cream); }
.surface-cream-warm { background: var(--bm-cream-warm); }
.surface-forest { background: var(--bm-forest-deep); color: var(--bm-cream); }
.surface-forest h1, .surface-forest h2, .surface-forest h3 { color: var(--bm-ivory); }
.surface-forest .eyebrow { color: var(--bm-copper); }
.surface-forest .lede { color: rgba(251, 249, 247, 0.78); }

/* ============================================================
   Brand mark (logo)
   ============================================================ */

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
  letter-spacing: -0.005em;
  color: var(--bm-forest);
  font-weight: 500;
  line-height: 1;
}
.brand-mark {
  display: inline-flex;
  align-items: center;
  height: 32px;
  flex-shrink: 0;
}
.brand-mark svg {
  height: 32px;
  width: auto;
  display: block;
}
.brand-name {
  font-weight: 400;
  font-size: 1.35rem;
  letter-spacing: -0.005em;
  color: var(--bm-forest);
}
.brand-name b {
  font-weight: 500;
  color: var(--bm-forest);
}
.brand-name em {
  font-style: normal;
  color: var(--bm-copper);
  font-weight: 400;
  margin-left: 0.18em;
}

/* Bar fills via class */
.bar-1 { fill: var(--bar-1); }
.bar-2 { fill: var(--bar-2); }
.bar-3 { fill: var(--bar-3); }
.bar-4 { fill: var(--bar-4); }
.bar-5 { fill: var(--bar-5); }
.bar-6 { fill: var(--bar-6); }

/* On dark surfaces, lift the dark bars to readable cyan tones */
.footer .brand-mark .bar-5,
.footer .brand-mark .bar-6,
.surface-forest .brand-mark .bar-5,
.surface-forest .brand-mark .bar-6 {
  fill: var(--bm-cream);
}
.footer .brand-mark .bar-3,
.footer .brand-mark .bar-4,
.surface-forest .brand-mark .bar-3,
.surface-forest .brand-mark .bar-4 {
  fill: var(--bm-copper-light);
}

/* ============================================================
   Navigation
   ============================================================ */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 249, 247, 0.82);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease-out), background .3s var(--ease-out);
}
.nav.is-scrolled { border-bottom-color: var(--bm-line-soft); }
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  padding: 1.1rem 0;
  max-width: var(--max-w);
  margin: 0 auto;
  padding-left: clamp(1.25rem, 4vw, 2.5rem);
  padding-right: clamp(1.25rem, 4vw, 2.5rem);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav-links a {
  font-size: var(--fs-sm);
  color: var(--bm-ink-soft);
  font-weight: 450;
  position: relative;
  padding: .25rem 0;
}
.nav-links a:hover { color: var(--bm-forest); }
.nav-links a.is-active::after {
  content: ""; position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 1px; background: var(--bm-copper);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
}

.nav-toggle { display: none; }

@media (max-width: 880px) {
  .nav-links { display: none; }
  .nav-cta .btn-quiet { display: none; }
  .nav-toggle {
    display: inline-flex;
    align-items: center; justify-content: center;
    width: 42px; height: 42px;
    border-radius: 50%;
    color: var(--bm-forest);
  }
  .nav.is-open .nav-mobile { display: flex; }
  .nav-mobile {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--bm-paper);
    border-top: 1px solid var(--bm-line-soft);
    flex-direction: column;
    padding: 1rem clamp(1.25rem, 4vw, 2.5rem) 1.5rem;
    gap: .5rem;
  }
  .nav-mobile a {
    padding: .9rem 0;
    border-bottom: 1px solid var(--bm-line-soft);
    font-size: var(--fs-md);
  }
  .nav-mobile a:last-child { border-bottom: 0; }
  .brand-name { font-size: 1.1rem; }
  .brand-mark svg { height: 26px; }
}
@media (min-width: 881px) {
  .nav-mobile { display: none !important; }
}

/* ============================================================
   Buttons
   ============================================================ */

.btn {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .95rem 1.6rem;
  border-radius: 999px;
  font-size: var(--fs-sm);
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: all .25s var(--ease-out);
  white-space: nowrap;
  line-height: 1;
}
.btn svg {
  width: 14px; height: 14px;
  transition: transform .25s var(--ease-out);
}
.btn:hover svg { transform: translateX(3px); }

.btn-primary {
  background: var(--bm-forest);
  color: var(--bm-ivory);
}
.btn-primary:hover {
  background: var(--bm-forest-deep);
  transform: translateY(-1px);
  box-shadow: 0 12px 30px -12px rgba(0, 30, 92, .55);
}

.btn-quiet {
  background: transparent;
  color: var(--bm-forest);
  border: 1px solid var(--bm-line);
}
.btn-quiet:hover {
  border-color: var(--bm-forest);
  background: var(--bm-cream-warm);
}

.btn-on-dark {
  background: var(--bm-cream);
  color: var(--bm-forest-deep);
}
.btn-on-dark:hover {
  background: var(--bm-ivory);
}

.btn-ghost {
  color: var(--bm-forest);
  padding: .85rem 0;
  position: relative;
}
.btn-ghost::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 4px;
  height: 1px; background: currentColor;
  transform-origin: right;
  transform: scaleX(.4);
  transition: transform .35s var(--ease-out);
}
.btn-ghost:hover::after { transform: scaleX(1); transform-origin: left; }

/* ============================================================
   Hero
   ============================================================ */

.hero {
  position: relative;
  padding: clamp(4rem, 8vw, 7rem) 0 clamp(4rem, 8vw, 6rem);
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  pointer-events: none;
  z-index: 0;
}
.hero-bg::before {
  content: "";
  position: absolute;
  width: 720px; height: 720px;
  right: -200px; top: -200px;
  background: radial-gradient(closest-side, rgba(117, 196, 219, 0.18), transparent 70%);
  border-radius: 50%;
}
.hero-bg::after {
  content: "";
  position: absolute;
  width: 500px; height: 500px;
  left: -150px; bottom: -200px;
  background: radial-gradient(closest-side, rgba(0, 53, 136, 0.08), transparent 70%);
  border-radius: 50%;
}

.hero-grid {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
}

.hero h1 {
  margin-top: 1.4rem;
  font-size: clamp(2.4rem, 5.6vw, 5.4rem);
  font-weight: 350;
  line-height: 1.02;
  letter-spacing: -0.025em;
}
.hero h1 em {
  font-style: italic;
  color: var(--bm-copper);
  font-variation-settings: 'opsz' 144, 'SOFT' 100;
}
.hero-lede {
  margin: 1.6rem 0 2.2rem;
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  color: var(--bm-ink-soft);
  max-width: 52ch;
  line-height: 1.65;
}
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: .9rem;
  align-items: center;
}

.hero-card {
  position: relative;
  background: linear-gradient(145deg, var(--bm-forest) 0%, var(--bm-forest-deep) 100%);
  color: var(--bm-cream);
  border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 3vw, 2.5rem);
  overflow: hidden;
  box-shadow: 0 30px 60px -30px rgba(0, 30, 92, .55), 0 1px 0 rgba(255,255,255,.04) inset;
}
.hero-card::before {
  content: "";
  position: absolute;
  top: -120px; right: -120px;
  width: 380px; height: 380px;
  background: radial-gradient(closest-side, rgba(117, 196, 219, .25), transparent 70%);
  border-radius: 50%;
}
.hero-card-label {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: var(--fs-xs);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--bm-copper);
  margin-bottom: 1.2rem;
}
.hero-card-label .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--bm-copper);
  box-shadow: 0 0 0 4px rgba(117, 196, 219, .15);
  animation: pulse 2.4s var(--ease-in-out) infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(117, 196, 219, .15); }
  50% { box-shadow: 0 0 0 8px rgba(117, 196, 219, .04); }
}
.hero-card h3 {
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  color: var(--bm-ivory);
  margin-bottom: 1rem;
  font-weight: 380;
}
.hero-card p {
  color: rgba(251, 249, 247, .82);
  font-size: var(--fs-sm);
  line-height: 1.65;
  margin: 0 0 1.4rem;
}

.outcome-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 1.4rem;
  margin-top: 0.6rem;
  gap: .5rem;
}
.outcome {
  display: flex;
  flex-direction: column;
  gap: .2rem;
}
.outcome-num {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  color: var(--bm-ivory);
  font-weight: 400;
  letter-spacing: -0.02em;
  font-variation-settings: 'opsz' 144;
}
.outcome-label {
  font-size: var(--fs-xs);
  letter-spacing: 0.06em;
  color: rgba(251, 249, 247, .6);
  text-transform: uppercase;
}

/* ============================================================
   Trust strip
   ============================================================ */

.trust-strip {
  border-top: 1px solid var(--bm-line-soft);
  border-bottom: 1px solid var(--bm-line-soft);
  background: var(--bm-paper);
  padding: 1.6rem 0;
}
.trust-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: clamp(1.2rem, 4vw, 3rem);
  justify-content: space-between;
}
.trust-label {
  font-size: var(--fs-xs);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--bm-muted);
  font-weight: 500;
}
.trust-items {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(1rem, 3vw, 2.4rem);
  align-items: center;
}
.trust-item {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  color: var(--bm-ink-soft);
  font-size: var(--fs-sm);
  font-weight: 500;
  letter-spacing: 0.02em;
}
.trust-item svg { color: var(--bm-forest); width: 18px; height: 18px; }

/* ============================================================
   Section header
   ============================================================ */

.section-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: end;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
@media (max-width: 880px) {
  .section-head { grid-template-columns: 1fr; }
}
.section-head .eyebrow { margin-bottom: 1rem; }
.section-head h2 {
  font-size: clamp(2rem, 4.4vw, 3.2rem);
  font-weight: 360;
  line-height: 1.05;
}
.section-head h2 em {
  font-style: italic;
  color: var(--bm-copper);
  font-variation-settings: 'opsz' 144, 'SOFT' 100;
}

/* ============================================================
   Service cards
   ============================================================ */

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.5rem);
}
@media (max-width: 800px) {
  .services-grid { grid-template-columns: 1fr; }
}
.service-card {
  position: relative;
  background: var(--bm-ivory);
  border: 1px solid var(--bm-line-soft);
  border-radius: var(--radius-lg);
  padding: clamp(1.6rem, 3vw, 2.4rem);
  display: flex;
  flex-direction: column;
  min-height: 340px;
  overflow: hidden;
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out), border-color .35s var(--ease-out);
}
.service-card::after {
  content: "";
  position: absolute;
  inset: auto -10% -10% auto;
  width: 240px; height: 240px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(117, 196, 219, .15), transparent 70%);
  opacity: 0;
  transition: opacity .35s var(--ease-out);
  pointer-events: none;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 30px 60px -30px rgba(1, 5, 23, .22);
  border-color: var(--bm-line);
}
.service-card:hover::after { opacity: 1; }

.service-icon {
  width: 56px; height: 56px;
  display: grid; place-items: center;
  background: var(--bm-cream-warm);
  border-radius: 14px;
  margin-bottom: 1.5rem;
  color: var(--bm-forest);
}
.service-icon svg { width: 26px; height: 26px; }

.service-card h3 {
  font-size: clamp(1.4rem, 2vw, 1.7rem);
  margin-bottom: .8rem;
  font-weight: 400;
}
.service-card p {
  color: var(--bm-ink-soft);
  font-size: var(--fs-sm);
  line-height: 1.65;
  margin: 0 0 1.6rem;
}
.service-meta {
  margin-top: auto;
  padding-top: 1.2rem;
  border-top: 1px solid var(--bm-line-soft);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-size: var(--fs-xs);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--bm-muted);
}
.service-meta a {
  color: var(--bm-forest);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  letter-spacing: 0.04em;
  text-transform: none;
  font-size: var(--fs-sm);
}
.service-meta a svg {
  width: 12px; height: 12px;
  transition: transform .25s var(--ease-out);
}
.service-meta a:hover svg { transform: translateX(3px); }

/* ============================================================
   Pillars (Bio/Psych/Social/Spiritual)
   ============================================================ */

.pillars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255,255,255,.08);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.08);
}
@media (max-width: 980px) {
  .pillars { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 540px) {
  .pillars { grid-template-columns: 1fr; }
}
.pillar {
  background: var(--bm-forest-deep);
  padding: clamp(1.6rem, 3vw, 2.2rem);
  min-height: 260px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: background .3s var(--ease-out);
}
.pillar:hover { background: var(--bm-forest); }
.pillar-num {
  font-family: var(--font-display);
  font-size: var(--fs-sm);
  letter-spacing: 0.18em;
  color: var(--bm-copper);
  margin-bottom: 1.2rem;
}
.pillar h3 {
  font-size: var(--fs-xl);
  color: var(--bm-ivory);
  margin-bottom: .8rem;
  font-weight: 380;
}
.pillar p {
  color: rgba(251, 249, 247, .78);
  font-size: var(--fs-sm);
  line-height: 1.65;
  margin: 0;
}

/* ============================================================
   Outcomes / numbers
   ============================================================ */

.numbers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 3vw, 3rem);
  border-top: 1px solid var(--bm-line);
  border-bottom: 1px solid var(--bm-line);
  padding: clamp(2rem, 4vw, 3.5rem) 0;
}
@media (max-width: 760px) { .numbers { grid-template-columns: 1fr; gap: 2rem; } }

.number {
  display: flex;
  flex-direction: column;
}
.number-value {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 400;
  letter-spacing: -0.03em;
  color: var(--bm-forest-deep);
  line-height: 1;
  margin-bottom: .8rem;
  font-variation-settings: 'opsz' 144;
}
.number-value sup {
  font-size: 0.42em;
  vertical-align: top;
  margin-left: .15em;
  color: var(--bm-copper);
  font-weight: 400;
}
.number-label {
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--bm-ink);
  margin-bottom: .4rem;
  letter-spacing: 0.02em;
}
.number-help {
  font-size: var(--fs-sm);
  color: var(--bm-muted);
  line-height: 1.55;
  max-width: 30ch;
}

/* ============================================================
   Care coordination diagram
   ============================================================ */

.coord {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
@media (max-width: 980px) { .coord { grid-template-columns: 1fr; } }

.coord-stage {
  position: relative;
  aspect-ratio: 1/1;
  display: grid;
  place-items: center;
  background:
    radial-gradient(closest-side at 50% 50%, rgba(117, 196, 219, 0.10) 0%, transparent 70%),
    rgba(251, 249, 247, 0.04);
  border-radius: 50%;
  border: 1px solid rgba(251, 249, 247, .14);
  max-width: 540px;
  margin: 0 auto;
  width: 100%;
}
.coord-stage::before, .coord-stage::after {
  content: "";
  position: absolute; inset: 0;
  border: 1px dashed rgba(251, 249, 247, .14);
  border-radius: 50%;
  margin: 12%;
}
.coord-stage::after { margin: 26%; border-style: solid; opacity: .5; }
.coord-center {
  position: relative;
  z-index: 2;
  text-align: center;
  background: var(--bm-forest);
  color: var(--bm-cream);
  border-radius: 50%;
  width: 38%;
  aspect-ratio: 1/1;
  display: grid;
  place-items: center;
  padding: 1.2rem;
  box-shadow: 0 14px 40px -14px rgba(0, 30, 92, .5);
}
.coord-center h4 {
  color: var(--bm-ivory);
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  font-weight: 400;
  letter-spacing: 0.02em;
}
.coord-node {
  position: absolute;
  z-index: 3;
  background: var(--bm-ivory);
  border: 1px solid var(--bm-line);
  border-radius: 999px;
  padding: .65rem 1rem .65rem .65rem;
  display: flex;
  align-items: center;
  gap: .55rem;
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--bm-forest-deep);
  box-shadow: 0 6px 18px -8px rgba(1, 5, 23, .16);
}
.coord-node-mark {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--bm-cream-warm);
  display: grid; place-items: center;
  color: var(--bm-forest);
}
.coord-node-mark svg { width: 14px; height: 14px; }
.coord-node.n1 { top: 6%; left: 50%; transform: translateX(-50%); }
.coord-node.n2 { top: 50%; right: 2%; transform: translateY(-50%); }
.coord-node.n3 { bottom: 6%; left: 50%; transform: translateX(-50%); }
.coord-node.n4 { top: 50%; left: 2%; transform: translateY(-50%); }

/* ============================================================
   Team
   ============================================================ */

.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(1.5rem, 3vw, 2.4rem);
}
@media (max-width: 800px) { .team-grid { grid-template-columns: 1fr; } }

.member {
  display: flex;
  flex-direction: column;
  background: var(--bm-ivory);
  border: 1px solid var(--bm-line-soft);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out);
}
.member:hover {
  transform: translateY(-3px);
  box-shadow: 0 30px 60px -30px rgba(1, 5, 23, .18);
}
.member-portrait {
  aspect-ratio: 4/3;
  background:
    linear-gradient(135deg, rgba(0, 53, 136, .07), rgba(117, 196, 219, .12)),
    var(--bm-cream-warm);
  position: relative;
  overflow: hidden;
  display: grid; place-items: center;
}
.member-portrait .monogram {
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 5rem);
  color: var(--bm-forest);
  font-weight: 380;
  font-style: italic;
  letter-spacing: -0.03em;
  font-variation-settings: 'opsz' 144, 'SOFT' 100;
  opacity: .9;
}
.member-portrait::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0; height: 50%;
  background: linear-gradient(to top, rgba(0, 53, 136, .12), transparent);
}
.member-body { padding: 1.6rem 1.8rem 1.8rem; }
.member-name {
  font-family: var(--font-display);
  font-size: var(--fs-xl);
  margin-bottom: .25rem;
  color: var(--bm-forest-deep);
  font-weight: 400;
}
.member-title {
  font-size: var(--fs-xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--bm-copper);
  font-weight: 600;
  margin-bottom: 1rem;
}
.member-bio {
  font-size: var(--fs-sm);
  color: var(--bm-ink-soft);
  line-height: 1.7;
  margin: 0;
}

/* ============================================================
   Quote / testimonial
   ============================================================ */

.quote-block {
  background: var(--bm-cream-warm);
  border-radius: var(--radius-lg);
  padding: clamp(2.5rem, 5vw, 4.5rem);
  position: relative;
  overflow: hidden;
}
.quote-block::before {
  content: "“";
  position: absolute;
  top: -20px; left: 30px;
  font-family: var(--font-display);
  font-size: 14rem;
  line-height: 1;
  color: rgba(117, 196, 219, .25);
}
.quote-block blockquote {
  margin: 0;
  position: relative;
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  line-height: 1.45;
  font-weight: 380;
  color: var(--bm-forest-deep);
  font-variation-settings: 'opsz' 144, 'SOFT' 50;
  max-width: 38ch;
}
.quote-author {
  margin-top: 2rem;
  display: flex;
  align-items: center;
  gap: .9rem;
}
.quote-rule { width: 32px; height: 1px; background: var(--bm-copper); }
.quote-author span {
  font-size: var(--fs-sm);
  color: var(--bm-ink-soft);
  letter-spacing: 0.04em;
}

/* ============================================================
   Process / timeline
   ============================================================ */

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--bm-line);
  border-left: 1px solid var(--bm-line);
}
@media (max-width: 880px) { .process-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .process-grid { grid-template-columns: 1fr; } }

.step {
  padding: 2rem 1.6rem 2rem;
  border-right: 1px solid var(--bm-line);
  border-bottom: 1px solid var(--bm-line);
  display: flex;
  flex-direction: column;
  background: var(--bm-paper);
  transition: background .3s var(--ease-out);
  min-height: 220px;
}
.step:hover { background: var(--bm-cream-warm); }
.step-num {
  font-family: var(--font-display);
  font-size: var(--fs-xs);
  letter-spacing: 0.18em;
  color: var(--bm-copper);
  margin-bottom: 1.2rem;
  font-style: italic;
}
.step h4 {
  font-size: var(--fs-md);
  color: var(--bm-forest-deep);
  margin-bottom: .6rem;
  font-weight: 450;
  font-family: var(--font-body);
  letter-spacing: -0.005em;
}
.step p {
  font-size: var(--fs-sm);
  color: var(--bm-ink-soft);
  line-height: 1.6;
  margin: 0;
}

/* ============================================================
   CTA banner
   ============================================================ */

.cta-banner {
  background:
    radial-gradient(800px 400px at 80% -20%, rgba(117, 196, 219, .22), transparent 70%),
    linear-gradient(135deg, var(--bm-forest) 0%, var(--bm-forest-deep) 100%);
  color: var(--bm-cream);
  border-radius: var(--radius-lg);
  padding: clamp(3rem, 6vw, 5rem);
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: end;
}
@media (max-width: 880px) { .cta-banner { grid-template-columns: 1fr; align-items: stretch; } }

.cta-banner h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--bm-ivory);
  font-weight: 360;
  line-height: 1.05;
}
.cta-banner h2 em {
  font-style: italic;
  color: var(--bm-copper);
  font-variation-settings: 'opsz' 144, 'SOFT' 100;
}
.cta-banner p {
  color: rgba(251, 249, 247, .82);
  font-size: var(--fs-md);
  margin: 1.2rem 0 0;
  max-width: 50ch;
}
.cta-banner-side {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: end;
}
.cta-banner-side .btn { width: 100%; justify-content: center; }
.cta-banner-side .helper {
  font-size: var(--fs-xs);
  color: rgba(251, 249, 247, .55);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: center;
}

/* ============================================================
   Footer
   ============================================================ */

.footer {
  background: var(--bm-forest-deep);
  color: rgba(251, 249, 247, .7);
  padding: clamp(4rem, 7vw, 5.5rem) 0 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
}
@media (max-width: 880px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand-col { grid-column: span 2; }
}
@media (max-width: 540px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand-col { grid-column: span 1; }
}
.footer .brand,
.footer .brand-name,
.footer .brand-name b { color: var(--bm-cream); }
.footer .brand-name em { color: var(--bm-copper); }

.footer-brand-col p {
  margin-top: 1.2rem;
  max-width: 32ch;
  font-size: var(--fs-sm);
  line-height: 1.65;
  color: rgba(251, 249, 247, .6);
}
.footer-col h5 {
  color: var(--bm-cream);
  font-family: var(--font-body);
  font-size: var(--fs-xs);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
  font-weight: 500;
}
.footer-col ul { display: flex; flex-direction: column; gap: .65rem; }
.footer-col a {
  color: rgba(251, 249, 247, .7);
  font-size: var(--fs-sm);
  transition: color .2s var(--ease-out);
}
.footer-col a:hover { color: var(--bm-copper); }
.footer-bottom {
  margin-top: clamp(3rem, 5vw, 4rem);
  padding-top: 1.6rem;
  border-top: 1px solid rgba(251, 249, 247, .12);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  font-size: var(--fs-xs);
  color: rgba(251, 249, 247, .45);
  letter-spacing: 0.04em;
}
.footer-bottom a { color: rgba(251, 249, 247, .5); }
.footer-bottom a:hover { color: var(--bm-copper); }

/* ============================================================
   Forms
   ============================================================ */

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}
@media (max-width: 700px) { .form-grid { grid-template-columns: 1fr; } }

.field { display: flex; flex-direction: column; }
.field label {
  font-size: var(--fs-xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--bm-muted);
  margin-bottom: .55rem;
  font-weight: 500;
}
.field input, .field textarea, .field select {
  font: inherit;
  background: var(--bm-ivory);
  border: 1px solid var(--bm-line);
  border-radius: 10px;
  padding: .85rem 1rem;
  color: var(--bm-ink);
  transition: border-color .2s var(--ease-out), box-shadow .2s var(--ease-out);
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: 0;
  border-color: var(--bm-forest);
  box-shadow: 0 0 0 4px rgba(0, 53, 136, .1);
}
.field textarea { min-height: 140px; resize: vertical; }
.field-full { grid-column: 1 / -1; }

/* ============================================================
   Page hero (interior pages)
   ============================================================ */

.page-hero {
  padding: clamp(4rem, 7vw, 6rem) 0 clamp(3rem, 5vw, 4rem);
  border-bottom: 1px solid var(--bm-line-soft);
  position: relative;
  overflow: hidden;
}
.page-hero h1 {
  font-size: clamp(2.4rem, 5.5vw, 4.6rem);
  font-weight: 350;
  letter-spacing: -0.025em;
  margin-top: 1rem;
}
.page-hero h1 em {
  font-style: italic;
  color: var(--bm-copper);
  font-variation-settings: 'opsz' 144, 'SOFT' 100;
}
.page-hero .lede {
  margin-top: 1.4rem;
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
}
.page-hero-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: end;
}
@media (max-width: 880px) { .page-hero-grid { grid-template-columns: 1fr; } }
.page-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.4rem;
  padding: 1.5rem;
  background: var(--bm-cream-warm);
  border-radius: var(--radius);
  border: 1px solid var(--bm-line-soft);
}
.page-meta .meta-label {
  font-size: var(--fs-xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--bm-muted);
  margin-bottom: .35rem;
  font-weight: 500;
}
.page-meta .meta-value {
  font-size: var(--fs-sm);
  color: var(--bm-ink);
  line-height: 1.5;
}

/* ============================================================
   FAQ
   ============================================================ */

.faq-list { display: flex; flex-direction: column; }
.faq-item {
  border-top: 1px solid var(--bm-line-soft);
  padding: 1.5rem 0;
}
.faq-item:last-child { border-bottom: 1px solid var(--bm-line-soft); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 1.6vw, 1.4rem);
  font-weight: 400;
  color: var(--bm-forest-deep);
  letter-spacing: -0.01em;
  gap: 2rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-icon {
  flex-shrink: 0;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--bm-cream-warm);
  display: grid; place-items: center;
  color: var(--bm-forest);
  transition: transform .3s var(--ease-out), background .3s var(--ease-out);
}
.faq-item[open] .faq-icon { transform: rotate(45deg); background: var(--bm-forest); color: var(--bm-cream); }
.faq-body {
  padding-top: 1rem;
  font-size: var(--fs-md);
  color: var(--bm-ink-soft);
  line-height: 1.7;
  max-width: 70ch;
}

/* ============================================================
   Reveal animation
   ============================================================ */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .8s var(--ease-out), transform .8s var(--ease-out);
}
.reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  * { animation: none !important; transition: none !important; }
}

/* ============================================================
   Featured / split content
   ============================================================ */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
@media (max-width: 880px) { .split { grid-template-columns: 1fr; } }

.feature-list { display: flex; flex-direction: column; gap: 1.6rem; }
.feature-item { display: flex; gap: 1.2rem; align-items: flex-start; }
.feature-item .feature-mark {
  flex-shrink: 0;
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--bm-cream-warm);
  color: var(--bm-forest);
  display: grid; place-items: center;
}
.feature-item h4 {
  font-family: var(--font-body);
  font-size: var(--fs-md);
  font-weight: 500;
  color: var(--bm-forest-deep);
  margin: 0 0 .35rem;
  letter-spacing: -0.005em;
}
.feature-item p {
  margin: 0;
  font-size: var(--fs-sm);
  color: var(--bm-ink-soft);
  line-height: 1.65;
}

.featured-card {
  background: var(--bm-cream-warm);
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 4vw, 3rem);
  border: 1px solid var(--bm-line-soft);
  position: relative;
  overflow: hidden;
}
.featured-card .label {
  font-size: var(--fs-xs);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--bm-copper);
  font-weight: 600;
  margin-bottom: 1rem;
}
.featured-card h3 {
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  font-weight: 380;
  margin-bottom: 1rem;
}
.featured-card .stat {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 6vw, 5rem);
  color: var(--bm-forest-deep);
  font-weight: 400;
  line-height: 1;
  margin: .8rem 0 0;
  letter-spacing: -0.03em;
  font-variation-settings: 'opsz' 144;
}
.featured-card .stat sup {
  font-size: 0.42em;
  vertical-align: top;
  color: var(--bm-copper);
}
.featured-card hr {
  border: 0; height: 1px;
  background: var(--bm-line-soft);
  margin: 1.6rem 0;
}

/* ============================================================
   Lists / utility
   ============================================================ */

.tick-list { display: flex; flex-direction: column; gap: .9rem; }
.tick-list li {
  display: flex;
  gap: .75rem;
  align-items: flex-start;
  font-size: var(--fs-md);
  color: var(--bm-ink-soft);
  line-height: 1.55;
}
.tick-list li::before {
  content: "";
  flex-shrink: 0;
  width: 22px; height: 22px;
  margin-top: .15rem;
  border-radius: 50%;
  background:
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' fill='none'><path d='M2.5 6.2L4.8 8.5L9.5 3.5' stroke='%23FBF9F7' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/></svg>") center no-repeat,
    var(--bm-forest);
}

.divider { height: 1px; background: var(--bm-line-soft); border: 0; margin: 0; }

.pill {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .35rem .75rem;
  border-radius: 999px;
  background: var(--bm-cream-warm);
  color: var(--bm-forest-deep);
  font-size: var(--fs-xs);
  font-weight: 500;
  letter-spacing: 0.04em;
}
.pill svg { width: 12px; height: 12px; }

.text-center { text-align: center; }
.muted { color: var(--bm-muted); }

/* Stagger delays for reveal children */
.stagger > * { transition-delay: 0ms; }
.stagger > *:nth-child(2) { transition-delay: 80ms; }
.stagger > *:nth-child(3) { transition-delay: 160ms; }
.stagger > *:nth-child(4) { transition-delay: 240ms; }
.stagger > *:nth-child(5) { transition-delay: 320ms; }
.stagger > *:nth-child(6) { transition-delay: 400ms; }
