/* Renovia RenalCare Network — flagship site styles.
   Consumes the Renovia design system tokens (../styles.css). */

/* ===== Site-level aliases (PRD §4.2 mapped onto brand tokens) ===== */
:root {
  --sky: var(--fresh-sky);
  --teal-dark: var(--dark-teal);
  --cyan-soft: var(--soft-cyan);
  --surface: #F4F8F8;
  --ink: #0B2A2E;
  --ink-muted: #5A7378;
  --line: #E2EBEB;
  --container: 1280px;
  --ease-site: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ===== Reset / base ===== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font: var(--text-body-font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-wrap: pretty;
}
img { max-width: 100%; display: block; }
a { color: var(--sky); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 {
  font-family: var(--font-display);
  letter-spacing: var(--tracking-heading);
  color: var(--teal-dark);
  margin: 0 0 20px 0;
  text-wrap: balance;
}
h1 { font-size: clamp(34px, 4.4vw, 56px); line-height: 1.1; font-weight: 600; }
h2 { font-size: clamp(28px, 3vw, 40px); line-height: 1.15; font-weight: 600; }
h3 { font-size: clamp(20px, 2vw, 24px); line-height: 1.25; font-weight: 600; }
p { margin: 0 0 16px 0; }
.lead { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.6; color: var(--ink-muted); }
.on-dark h1, .on-dark h2, .on-dark h3 { color: var(--white); }
.on-dark p, .on-dark .lead { color: rgba(255, 255, 255, 0.78); }

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

.eyebrow {
  display: inline-block;
  font: 600 13px/1.3 var(--font-body);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sapphire);
  margin-bottom: 18px;
}
.on-dark .eyebrow { color: var(--emerald); }
.eyebrow.sky { color: oklch(0.5 0.13 245); }
.on-dark .eyebrow.sky { color: var(--sky); }

/* ===== Layout ===== */
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: 120px 0; }
.section.tight { padding: 88px 0; }
.section.light { background: var(--white); }
.section.tinted { background: var(--antique-white); --line: rgba(143, 98, 38, 0.16); }
.section.dark { background: var(--teal-dark); }
.section.carbon { background: var(--carbon-black); }
.section.cyan { background: var(--soft-cyan); --line: rgba(15, 63, 68, 0.18); }
.section.cyan .btn-ghost { border-color: rgba(15, 63, 68, 0.4); }
.section-head { max-width: 760px; margin-bottom: 56px; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
@media (max-width: 900px) {
  .section { padding: 64px 0; }
  .section.tight { padding: 48px 0; }
  .two-col { grid-template-columns: 1fr; gap: 32px; }
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font: 600 16px/1 var(--font-body);
  padding: 16px 30px; min-height: 52px;
  border-radius: var(--radius-pill);
  border: 2px solid transparent;
  cursor: pointer; text-decoration: none; white-space: nowrap;
  transition: transform var(--duration-base) var(--ease-site), box-shadow var(--duration-base) var(--ease-site), background var(--duration-base) var(--ease-site), border-color var(--duration-base) var(--ease-site);
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--emerald); color: var(--teal-dark); }
.btn-primary:hover { background: oklch(from var(--emerald) calc(l - 0.05) c h); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(7, 210, 131, 0.35); }
.btn-ghost { background: transparent; color: var(--teal-dark); border-color: oklch(0.6 0.04 200); }
.btn-ghost:hover { border-color: var(--sapphire); color: var(--sapphire); transform: translateY(-2px); }
.on-dark .btn-ghost { color: var(--white); border-color: rgba(255, 255, 255, 0.45); }
.on-dark .btn-ghost:hover { border-color: var(--cyan-soft); color: var(--cyan-soft); }
.btn-row { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 32px; }
.btn .arr { transition: transform var(--duration-base) var(--ease-site); }
.btn:hover .arr { transform: translateX(4px); }

/* ===== Top navigation ===== */
.site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background 300ms var(--ease-site), box-shadow 300ms var(--ease-site), padding 300ms var(--ease-site);
  padding: 18px 0;
}
.site-nav .container { display: flex; align-items: center; gap: 32px; }
.site-nav.scrolled { padding: 10px 0; background: rgba(15, 63, 68, 0.96); box-shadow: 0 2px 20px rgba(11, 42, 46, 0.25); backdrop-filter: blur(8px); }
.site-nav .logo-link { display: flex; align-items: center; flex-shrink: 0; }
.site-nav .logo-link img { height: 34px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 26px; margin-left: auto; }
.nav-links a {
  font: 500 15px/1 var(--font-body);
  color: rgba(255, 255, 255, 0.85);
  padding: 8px 2px;
}
.nav-links a:hover { color: var(--white); text-decoration: none; }
.nav-links a.active { color: var(--emerald); }
.nav-links .btn { padding: 12px 22px; min-height: 44px; font-size: 14px; }
.nav-burger {
  display: none; margin-left: auto;
  width: 48px; height: 48px; border: 0; background: transparent; cursor: pointer;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.nav-burger span { display: block; width: 24px; height: 2px; background: var(--white); border-radius: 2px; transition: transform 250ms var(--ease-site), opacity 250ms; }
.mobile-menu {
  position: fixed; inset: 0; z-index: 99; background: var(--teal-dark);
  display: none; flex-direction: column; padding: 110px 28px 40px;
  overflow: auto;
}
.mobile-menu.open { display: flex; }
.mobile-menu a.page-link { font: 500 22px/1.3 var(--font-display); color: var(--white); padding: 14px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.12); }
.mobile-menu .doors { display: grid; gap: 12px; margin-top: 28px; }
.mobile-menu .doors a {
  display: block; background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-lg); padding: 18px 20px; color: var(--white); font: 600 16px/1.4 var(--font-body);
}
.mobile-menu .doors a small { display: block; font-weight: 400; color: rgba(255, 255, 255, 0.65); margin-top: 4px; }
body.menu-open { overflow: hidden; }
body.menu-open .nav-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.menu-open .nav-burger span:nth-child(2) { opacity: 0; }
body.menu-open .nav-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (max-width: 1080px) {
  .nav-links { display: none; }
  .nav-burger { display: flex; }
}

/* ===== About dropdown ===== */
.nav-dd { position: relative; display: flex; align-items: center; }
.nav-dd-trigger { display: inline-flex; align-items: center; gap: 5px; }
.nav-caret { width: 12px; height: 12px; transition: transform 220ms var(--ease-site); opacity: 0.8; }
.nav-dd:hover .nav-caret, .nav-dd:focus-within .nav-caret { transform: rotate(180deg); }
.nav-dd-menu {
  position: absolute; top: 100%; left: 50%; transform: translate(-50%, 8px);
  min-width: 248px; padding: 8px; margin-top: 10px;
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius-md, 14px); box-shadow: 0 18px 48px rgba(11, 42, 46, 0.22);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity 200ms var(--ease-site), transform 200ms var(--ease-site), visibility 200ms;
  z-index: 120;
}
.nav-dd-menu::before {
  content: ""; position: absolute; top: -14px; left: 0; right: 0; height: 14px;
}
.nav-dd:hover .nav-dd-menu, .nav-dd:focus-within .nav-dd-menu {
  opacity: 1; visibility: visible; pointer-events: auto; transform: translate(-50%, 0);
}
.nav-dd-menu a {
  display: block; padding: 11px 14px; border-radius: 9px;
  font: 500 14.5px/1.25 var(--font-body); color: var(--ink); white-space: nowrap;
}
.nav-dd-menu a:hover { background: var(--mist, #EAF2F2); color: var(--teal-dark); text-decoration: none; }

/* mobile submenu */
.mobile-sub { display: flex; flex-direction: column; padding: 2px 0 6px 16px; }
.mobile-sub .page-sublink {
  font: 500 16px/1 var(--font-body); color: rgba(255,255,255,0.7);
  padding: 11px 0; border-left: 2px solid rgba(255,255,255,0.18); padding-left: 16px;
}
.mobile-sub .page-sublink:hover { color: var(--white); text-decoration: none; }

/* ===== Hero ===== */
.hero {
  position: relative; background: var(--teal-dark); color: var(--white);
  min-height: 88vh; display: flex; align-items: center;
  padding: 160px 0 110px; overflow: hidden;
}
.hero.short { min-height: 0; padding: 170px 0 96px; }
.hero-bg { position: absolute; inset: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 40%; }
.hero-bg .scrim {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(15, 63, 68, 0.94) 0%, rgba(15, 63, 68, 0.78) 38%, rgba(15, 63, 68, 0.2) 78%, rgba(15, 63, 68, 0.08) 100%);
}
.hero .container { position: relative; z-index: 2; }
.hero-copy { max-width: 640px; }
.hero h1 { color: var(--white); }
.hero .lead { color: rgba(255, 255, 255, 0.82); }
@media (max-width: 720px) {
  .hero { min-height: 0; padding: 130px 0 72px; }
  .hero-bg .scrim { background: linear-gradient(180deg, rgba(15, 63, 68, 0.94) 0%, rgba(15, 63, 68, 0.84) 60%, rgba(15, 63, 68, 0.6) 100%); }
}

/* The "via" light path */
.via-path { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; }
.via-path path { fill: none; stroke-linecap: round; }
@media (prefers-reduced-motion: no-preference) {
  .via-draw { stroke-dasharray: 2400; stroke-dashoffset: 2400; animation: viaDraw 2.4s var(--ease-site) 0.3s forwards; }
  @keyframes viaDraw { to { stroke-dashoffset: 0; } }
}

/* ===== Trust strip ===== */
.trust-strip { background: var(--carbon-black); padding: 14px 0; }
.trust-strip ul {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: wrap; justify-content: center; column-gap: 40px; row-gap: 6px;
}
.trust-strip li { font: 500 12.5px/1.4 var(--font-body); letter-spacing: 0.04em; color: rgba(255, 255, 255, 0.6); display: flex; align-items: center; gap: 10px; }
.trust-strip li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--emerald); flex-shrink: 0; }
.trust-strip li:nth-child(3n+2)::before { background: var(--soft-cyan); }
.trust-strip li:nth-child(3n)::before { background: var(--sky); }

/* ===== Stat cards ===== */
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat-grid.three { grid-template-columns: repeat(3, 1fr); }
.stat-grid.two { grid-template-columns: repeat(2, 1fr); }
.stat-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 32px 28px; box-shadow: var(--shadow-card);
}
.dark .stat-card, .section.dark .stat-card { background: rgba(255, 255, 255, 0.05); border-color: rgba(255, 255, 255, 0.14); box-shadow: none; }
.stat-card .num {
  font: 600 clamp(36px, 3.4vw, 52px)/1 var(--font-display);
  letter-spacing: -0.01em; color: var(--teal-dark);
  display: flex; align-items: baseline; gap: 2px; white-space: nowrap;
}
.section.dark .stat-card .num { color: var(--emerald); }
.stat-grid .stat-card:nth-child(4n+2) .num { color: var(--sapphire); }
.stat-grid .stat-card:nth-child(4n+3) .num { color: oklch(0.49 0.13 245); }
.stat-grid .stat-card:nth-child(4n) .num { color: oklch(0.52 0.14 163); }
.section.dark .stat-grid .stat-card:nth-child(4n+2) .num { color: var(--soft-cyan); }
.section.dark .stat-grid .stat-card:nth-child(4n+3) .num { color: var(--sky); }
.section.dark .stat-grid .stat-card:nth-child(4n) .num { color: var(--antique-white); }
.stat-card .num small { font-size: 0.52em; font-weight: 500; }
.stat-card .label { font: 600 15px/1.45 var(--font-body); color: var(--ink); margin-top: 12px; }
.section.dark .stat-card .label { color: rgba(255, 255, 255, 0.9); }
.stat-card .source { font: 400 12.5px/1.5 var(--font-body); color: var(--ink-muted); margin-top: 8px; }
.section.dark .stat-card .source { color: rgba(255, 255, 255, 0.55); }
@media (max-width: 1000px) { .stat-grid, .stat-grid.three { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .stat-grid, .stat-grid.three, .stat-grid.two { grid-template-columns: 1fr; } }

/* ===== Ecosystem stack ===== */
.stack { display: grid; gap: 10px; }
.stack-layer {
  display: flex; align-items: center; gap: 18px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-md);
  padding: 16px 22px;
  color: var(--white);
  transition: border-color var(--duration-base) var(--ease-site), background var(--duration-base) var(--ease-site), transform var(--duration-base) var(--ease-site);
}
a.stack-layer:hover { text-decoration: none; border-color: var(--emerald); background: rgba(7, 210, 131, 0.08); transform: translateX(6px); }

/* Network hub + supporting subsidiaries */
.stack-hub { background: rgba(7, 210, 131, 0.12); border-color: rgba(7, 210, 131, 0.5); padding: 22px 22px; }
.stack-hub b { font-size: 19px; }
.stack-hub span.role { color: rgba(255, 255, 255, 0.78); }
a.stack-hub:hover { transform: none; background: rgba(7, 210, 131, 0.18); }
.stack-support-label { display: flex; align-items: center; gap: 14px; margin: 4px 0; }
.stack-support-label::before, .stack-support-label::after { content: ""; flex: 1; height: 1px; background: rgba(255, 255, 255, 0.18); }
.stack-support-label span { font: 600 11px/1 var(--font-body); letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255, 255, 255, 0.55); }
.stack-sub { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.stack-sub .stack-layer { gap: 12px; padding: 13px 14px; }
.stack-sub .chip { width: 38px; height: 38px; }
.stack-sub .chip svg { width: 19px; height: 19px; }
.stack-sub .stack-layer b { font-size: 14.5px; }
.stack-sub .stack-layer span.role { font-size: 12.5px; }
.stack-sub .stack-layer .go { display: none; }
@media (max-width: 720px) { .stack-sub { grid-template-columns: 1fr; } }
.chain-head { max-width: 760px; margin-bottom: 48px; }
.chain-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 56px; align-items: start; }
.chain-art { margin: 0; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid rgba(255, 255, 255, 0.14); align-self: stretch; }
.chain-art img { display: block; width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 880px) {
  .chain-grid { grid-template-columns: 1fr; gap: 32px; }
  .chain-art { align-self: auto; max-height: 420px; }
  .chain-art img { height: 420px; }
  .chain-head { margin-bottom: 36px; }
}
.stack-layer .chip { flex-shrink: 0; }
.stack-layer b { font: 600 16px/1.3 var(--font-body); display: block; }
.stack-layer span.role { font: 400 13.5px/1.4 var(--font-body); color: rgba(255, 255, 255, 0.62); display: block; }
.stack-layer .go { margin-left: auto; color: var(--emerald); font-size: 18px; }
@media (prefers-reduced-motion: no-preference) {
  .stack.animate .stack-layer, .stack.animate .stack-support-label { opacity: 0; transform: translateY(26px); }
  .stack.animate.in .stack-layer, .stack.animate.in .stack-support-label { opacity: 1; transform: none; transition: opacity 600ms var(--ease-site), transform 600ms var(--ease-site); transition-delay: calc(var(--i) * 90ms); }
  .stack.animate.in a.stack-layer:hover { transform: translateX(6px); transition-delay: 0ms; }
}

/* Icon chips (filled circles, line icons) */
.chip {
  width: 48px; height: 48px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--emerald); color: var(--teal-dark); flex-shrink: 0;
}
.chip.sky { background: var(--sky); color: var(--white); }
.chip.cyan { background: var(--soft-cyan); color: var(--teal-dark); }
.chip.sapphire { background: var(--sapphire); color: var(--white); }
.chip.antique { background: var(--antique-white); color: var(--teal-dark); }
.stack-sub .stack-layer:nth-child(4n+2) .chip { background: var(--sky); color: var(--white); }
.stack-sub .stack-layer:nth-child(4n+3) .chip { background: var(--soft-cyan); color: var(--teal-dark); }
.stack-sub .stack-layer:nth-child(4n) .chip { background: var(--antique-white); color: var(--teal-dark); }
.company-grid > *:nth-child(3n+2) .chip, .proof-grid > *:nth-child(3n+2) .chip { background: var(--sky); color: var(--white); }
.company-grid > *:nth-child(3n) .chip, .proof-grid > *:nth-child(3n) .chip { background: var(--soft-cyan); color: var(--teal-dark); }
.chip svg { width: 23px; height: 23px; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; fill: none; }

/* ===== Company cards / modules ===== */
.company-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 1000px) { .company-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .company-grid { grid-template-columns: 1fr; } }
.company-card {
  display: flex; flex-direction: column; gap: 0;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 30px 28px; box-shadow: var(--shadow-card);
  transition: transform var(--duration-base) var(--ease-site), box-shadow var(--duration-base) var(--ease-site), border-color var(--duration-base) var(--ease-site);
}
.company-card:hover { transform: translateY(-4px); box-shadow: 0 4px 14px rgba(15, 63, 68, 0.08), 0 14px 40px rgba(7, 210, 131, 0.18); border-color: rgba(7, 210, 131, 0.5); }
.company-card h3 { margin: 20px 0 6px; font-size: 20px; }
.company-card .what { font: 600 14.5px/1.5 var(--font-body); color: var(--sapphire); margin-bottom: 8px; }
.company-card p { font-size: 15px; line-height: 1.6; color: var(--ink-muted); margin-bottom: 12px; }
.company-card .avail { font: 400 12.5px/1.5 var(--font-body); font-style: italic; color: var(--ink-muted); border-top: 1px solid var(--line); padding-top: 12px; margin-top: auto; }
.company-card .cta { font: 600 15px/1 var(--font-body); color: var(--teal-dark); margin-top: 14px; display: inline-flex; gap: 8px; align-items: center; }
.company-card .cta:hover { color: oklch(0.45 0.12 163); text-decoration: none; }

/* Company module (Ecosystem page, microsite-ready) */
.module { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; padding: 72px 0; border-top: 1px solid var(--line); }
.module:first-of-type { border-top: 0; }
.module.flip > .module-media { order: 2; }
.module-media img { border-radius: var(--radius-lg); width: 100%; height: auto; box-shadow: var(--shadow-raised); }
.module h3 { font-size: clamp(24px, 2.4vw, 30px); margin-bottom: 6px; }
.module .what { font: 600 16px/1.5 var(--font-body); color: var(--sapphire); margin-bottom: 14px; }
.module .avail { font-style: italic; font-size: 14px; color: var(--ink-muted); }
@media (max-width: 900px) { .module, .module.flip { grid-template-columns: 1fr; gap: 28px; padding: 48px 0; } .module.flip > .module-media { order: 0; } }

/* ===== Router (Choose your path) ===== */
.router-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 900px) { .router-grid { grid-template-columns: 1fr; } }
.door {
  position: relative; display: flex; flex-direction: column; gap: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-lg);
  padding: 34px 30px;
  color: var(--white);
  transition: transform var(--duration-base) var(--ease-site), border-color var(--duration-base) var(--ease-site), box-shadow var(--duration-base) var(--ease-site), background var(--duration-base) var(--ease-site);
}
.door:hover { text-decoration: none; transform: translateY(-4px); border-color: var(--emerald); background: rgba(7, 210, 131, 0.07); box-shadow: 0 0 0 1px rgba(7, 210, 131, 0.4), 0 14px 44px rgba(7, 210, 131, 0.22); }
.door b { font: 600 20px/1.3 var(--font-display); letter-spacing: -0.01em; }
.door p { font: 400 15px/1.55 var(--font-body); color: rgba(255, 255, 255, 0.72); margin: 0; }
.door .go { margin-top: auto; font: 600 15px/1 var(--font-body); color: var(--emerald); display: inline-flex; align-items: center; gap: 8px; }
.door .go .arr { transition: transform var(--duration-base) var(--ease-site); }
.door:hover .go .arr { transform: translateX(5px); }
.router-grid .door:nth-child(2) .go { color: var(--sky); }
.router-grid .door:nth-child(2):hover { border-color: var(--sky); background: rgba(23, 174, 255, 0.07); box-shadow: 0 0 0 1px rgba(23, 174, 255, 0.4), 0 14px 44px rgba(23, 174, 255, 0.22); }
.router-grid .door:nth-child(3) .go { color: var(--soft-cyan); }
.router-grid .door:nth-child(3):hover { border-color: var(--soft-cyan); background: rgba(161, 255, 255, 0.07); box-shadow: 0 0 0 1px rgba(161, 255, 255, 0.4), 0 14px 44px rgba(161, 255, 255, 0.18); }

/* ===== Feature / proof cards ===== */
.proof-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.proof-grid.two { grid-template-columns: repeat(2, 1fr); }
.proof-grid.four { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1100px) { .proof-grid.four { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 900px) { .proof-grid, .proof-grid.two, .proof-grid.four { grid-template-columns: 1fr; } }
.proof-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 30px 28px; box-shadow: var(--shadow-card);
}
.section.dark .proof-card { background: rgba(255, 255, 255, 0.05); border-color: rgba(255, 255, 255, 0.14); box-shadow: none; }
.proof-card h3 { font-size: 19px; margin: 18px 0 8px; }
.section.dark .proof-card h3 { color: var(--white); }
.proof-card p { font-size: 15px; line-height: 1.6; color: var(--ink-muted); margin: 0; }
.section.dark .proof-card p { color: rgba(255, 255, 255, 0.7); }

/* ===== Imagery ===== */
.photo { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-raised); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
figure.photo { margin: 0; }
.full-photo { position: relative; border-radius: var(--radius-lg); overflow: hidden; }
.full-photo img { width: 100%; height: auto; display: block; }

/* ===== Network map (abstract nodes) ===== */
.netmap { width: 100%; height: auto; display: block; }
.netmap .isle { fill: rgba(161, 255, 255, 0.10); }
.netmap .link-line { stroke: rgba(161, 255, 255, 0.35); stroke-width: 1.5; stroke-dasharray: 3 6; fill: none; stroke-linecap: round; }
.netmap .node { fill: var(--emerald); }
.netmap .node-label { font: 500 13px var(--font-body); fill: rgba(255, 255, 255, 0.75); }
@media (prefers-reduced-motion: no-preference) {
  .netmap .pulse { transform-origin: center; transform-box: fill-box; animation: nodePulse 3.2s ease-in-out infinite; }
  .netmap .pulse.p2 { animation-delay: 1.1s; }
  .netmap .pulse.p3 { animation-delay: 2.2s; }
  @keyframes nodePulse { 0%, 100% { opacity: 0.25; transform: scale(1); } 50% { opacity: 0; transform: scale(2.4); } }
  .netmap .traveler { animation: travel 7s var(--ease-site) infinite; }
  .netmap .seat-ring { transform-origin: center; transform-box: fill-box; animation: seatOn 7s var(--ease-site) infinite; }
}

/* ===== Flywheel chain ===== */
.flywheel { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 28px; }
.flywheel .step {
  font: 600 14px/1 var(--font-body); color: var(--teal-dark);
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-pill);
  padding: 12px 18px; box-shadow: var(--shadow-card);
}
.flywheel .step.lead-step { background: var(--emerald); border-color: transparent; }
.flywheel .step:nth-child(4n+3) { background: var(--soft-cyan); border-color: transparent; }
.flywheel .step:last-child { background: var(--sapphire); border-color: transparent; color: var(--white); }
.flywheel .sep { color: var(--ink-muted); font-size: 14px; }

/* ===== Tables (JV economics) ===== */
.spec-table { width: 100%; border-collapse: collapse; font: 400 15px/1.55 var(--font-body); }
.spec-table th, .spec-table td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec-table th { font-weight: 600; color: var(--teal-dark); white-space: nowrap; }
.spec-table td b { color: var(--teal-dark); }
@media (max-width: 640px) {
  .spec-table, .spec-table tbody, .spec-table tr, .spec-table td, .spec-table th { display: block; }
  .spec-table tr { border-bottom: 1px solid var(--line); padding: 10px 0; }
  .spec-table th, .spec-table td { border: 0; padding: 4px 0; }
}

/* ===== Forms ===== */
.form-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-xl); padding: 40px; box-shadow: var(--shadow-raised); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } .form-card { padding: 26px 20px; } }
.field label { display: block; font: 600 13.5px/1.4 var(--font-body); color: var(--teal-dark); margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; font: 400 15px/1.5 var(--font-body); color: var(--ink);
  background: var(--white); border: 1.5px solid var(--line); border-radius: var(--radius-md);
  padding: 13px 14px; min-height: 48px;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--sky); box-shadow: 0 0 0 3px rgba(23, 174, 255, 0.18); }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: #C9483B; }
.field .err { display: none; font: 400 12.5px/1.4 var(--font-body); color: #C9483B; margin-top: 5px; }
.field.invalid .err { display: block; }
.check-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media (max-width: 560px) { .check-grid { grid-template-columns: 1fr; } }
.check-pill { display: flex; align-items: center; gap: 10px; border: 1.5px solid var(--line); border-radius: var(--radius-md); padding: 12px 14px; cursor: pointer; font: 500 14.5px/1.4 var(--font-body); transition: border-color var(--duration-fast), background var(--duration-fast); }
.check-pill:hover { border-color: var(--sky); }
.check-pill input { width: 18px; height: 18px; accent-color: var(--emerald); margin: 0; }
.check-pill:has(input:checked) { border-color: var(--emerald); background: rgba(7, 210, 131, 0.06); }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-success { display: none; text-align: center; padding: 48px 24px; }
.form-success .chip { width: 64px; height: 64px; margin: 0 auto 20px; }
.form-success .chip svg { width: 30px; height: 30px; }
form.sent { display: none; }
form.sent + .form-success { display: block; }

/* ===== Team cards ===== */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 900px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .team-grid { grid-template-columns: 1fr; } }
.team-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-card); }
.team-card .portrait { aspect-ratio: 4 / 5; position: relative; background: repeating-linear-gradient(135deg, #FBEEDC 0px, #FBEEDC 14px, #FFF8EE 14px, #FFF8EE 28px); display: flex; align-items: center; justify-content: center; }
.team-card .portrait span { font: 400 12px/1.5 ui-monospace, "SF Mono", monospace; color: var(--ink-muted); text-align: center; padding: 0 18px; }
.team-card .portrait img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.team-card .meta { padding: 20px 22px 24px; }
.team-card .meta b { font: 600 17px/1.3 var(--font-display); color: var(--teal-dark); display: block; }
.team-card .meta .title { font: 500 13.5px/1.45 var(--font-body); color: var(--sapphire); display: block; margin-top: 4px; }
.team-card .meta p { font: 400 14px/1.55 var(--font-body); color: var(--ink-muted); margin: 10px 0 0; }
.team-card .bio { display: block; }
.team-card .bio .bio-inner { min-height: 0; }
.team-card .linkedin { display: inline-flex; align-items: center; gap: 6px; margin: 14px 0 4px; font: 600 13.5px/1 var(--font-body); color: var(--sapphire, #0353A4); text-decoration: none; }
.team-card .linkedin:hover, .team-card .linkedin:focus-visible { text-decoration: underline; }

/* ===== Mission cut ===== */
.mission-cut { position: relative; background: var(--ink); overflow: hidden; }
.mission-cut .bgimg { position: absolute; inset: 0; }
.mission-cut .bgimg img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; opacity: 0.34; }
.mission-cut .bgimg .scrim { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11, 42, 46, 0.93) 0%, rgba(11, 42, 46, 0.62) 60%, rgba(11, 42, 46, 0.4) 100%); }
.mission-cut .container { position: relative; z-index: 2; }
.mission-cut h2 { color: var(--emerald); font-size: clamp(32px, 3.6vw, 48px); }
.mission-cut .lead { color: rgba(255, 239, 220, 0.88); }

/* ===== EMR booking mock ===== */
.emr-mock {
  background: var(--white); border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: 0 24px 64px rgba(4, 24, 27, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.2);
  font: 400 13px/1.5 var(--font-body); color: var(--ink);
}
.emr-mock .bar { display: flex; align-items: center; gap: 10px; background: var(--surface); border-bottom: 1px solid var(--line); padding: 12px 16px; }
.emr-mock .bar img { height: 18px; width: auto; }
.emr-mock .bar .tag { margin-left: auto; font: 600 11px/1 var(--font-body); color: var(--teal-dark); background: rgba(7, 210, 131, 0.18); border-radius: var(--radius-pill); padding: 6px 12px; }
.emr-mock .body { padding: 18px; display: grid; gap: 12px; }
.emr-row { display: flex; align-items: center; gap: 12px; border: 1px solid var(--line); border-radius: var(--radius-md); padding: 12px 14px; }
.emr-row .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--emerald); flex-shrink: 0; }
.emr-row .dot.q { background: var(--sky); }
.emr-row b { font-weight: 600; color: var(--teal-dark); }
.emr-row small { color: var(--ink-muted); display: block; }
.emr-row .slot { margin-left: auto; font: 600 11.5px/1 var(--font-body); color: var(--teal-dark); background: rgba(7, 210, 131, 0.16); padding: 6px 10px; border-radius: var(--radius-pill); white-space: nowrap; }
.emr-row .slot.held { background: rgba(23, 174, 255, 0.14); color: oklch(0.42 0.12 245); }

/* ===== Footer ===== */
.site-footer { background: var(--carbon-black); color: rgba(255, 255, 255, 0.75); padding: 72px 0 36px; }
.site-footer a { color: rgba(255, 255, 255, 0.75); font: 400 14px/2 var(--font-body); }
.site-footer a:hover { color: var(--white); text-decoration: none; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 48px; }
@media (max-width: 980px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-grid h4 { font: 600 13px/1.4 var(--font-body); letter-spacing: 0.07em; text-transform: uppercase; color: rgba(255, 255, 255, 0.45); margin: 0 0 14px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.site-footer .f-logo img { height: 36px; width: auto; margin-bottom: 18px; }
.site-footer .tagline { font: 500 italic 19px/1.4 var(--font-display); color: var(--emerald); margin: 4px 0 16px; }
.site-footer .f-contact { font: 400 14px/1.8 var(--font-body); }
.site-footer .f-contact a { color: var(--cyan-soft); }
.site-footer .f-social { display: flex; gap: 10px; margin-top: 22px; }
.site-footer .f-social a { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.22); color: rgba(255, 255, 255, 0.75); transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease; }
.site-footer .f-social a:hover, .site-footer .f-social a:focus-visible { color: var(--teal-dark); background: var(--emerald); border-color: var(--emerald); }
.site-footer .f-social svg { width: 17px; height: 17px; display: block; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.12); margin-top: 48px; padding-top: 24px; display: flex; flex-wrap: wrap; gap: 12px 32px; justify-content: space-between; font: 400 12.5px/1.6 var(--font-body); color: rgba(255, 255, 255, 0.45); }

/* ===== Scroll reveals ===== */
@media (prefers-reduced-motion: no-preference) {
  .rv { opacity: 0; transform: translateY(28px); transition: opacity 700ms var(--ease-site), transform 700ms var(--ease-site); transition-delay: var(--rvd, 0ms); }
  .rv.in { opacity: 1; transform: none; }
}

/* ===== Page-content offset under fixed nav for light-top pages ===== */
.page-top-pad { padding-top: 76px; }

/* ===== Misc ===== */
.note { font: 400 13px/1.6 var(--font-body); color: var(--ink-muted); }
.divider-quote { font: 500 clamp(20px, 2.2vw, 26px)/1.45 var(--font-display); color: var(--teal-dark); letter-spacing: -0.01em; max-width: 880px; }
.divider-quote em { color: var(--sapphire); font-style: normal; }
.on-dark .divider-quote { color: var(--white); }
.on-dark .divider-quote em { color: var(--soft-cyan); }
.anchor-offset { scroll-margin-top: 90px; }
