/* ==========================================================================
   Wasatch Statistical Data Analytic Inc. — website template, version B
   "Clinical": light lab surfaces, molecular textures, DNA, ECG and
   patient-cohort graphics. Plain CSS, no build step.
   Brand navy & gold come from the company badge; --blue-* is a clinical
   accent from the same blue family. Change the tokens in :root to re-theme.
   ========================================================================== */

:root {
  /* Brand */
  --navy-950: #0A1630;
  --navy-900: #122848;   /* badge ring */
  --navy-800: #1A3165;
  --indigo-700: #26396E;
  --periwinkle-400: #6F7DB1;
  --periwinkle-300: #9AA5D6;
  --periwinkle-200: #C9D0EC;
  --periwinkle-100: #E7EAF6;
  --gold-300: #EBCB8B;
  --gold-500: #DDB15C;   /* badge gold */
  --gold-600: #C39443;
  --gold-700: #8C6A27;   /* gold that passes contrast on white */
  --cream: #F7F0DE;

  /* Clinical accent */
  --blue-700: #2F4BA8;
  --blue-600: #3F5FC4;
  --blue-500: #5B78D6;
  --blue-100: #E3E9FA;
  --blue-50: #F2F5FD;

  /* Surfaces & text */
  --white: #FFFFFF;
  --paper: #F6F8FB;      /* lab off-white */
  --paper-2: #EDF1F7;
  --ink: #0E1A33;
  --ink-2: #3A4766;
  --ink-3: #5B6683;
  --line: #E2E7F0;
  --line-2: #CDD5E4;
  --line-light: rgba(247, 240, 222, .14);
  --danger: #B23A2E;

  /* Type */
  --font-display: "Sora", "Avenir Next", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  /* Layout */
  --container: 1240px;
  --gutter: clamp(16px, 4vw, 32px);
  --section-y: clamp(72px, 8.5vw, 120px);
  --header-h: 76px;
  --header-h-scrolled: 68px;
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(14, 26, 51, .05), 0 2px 6px rgba(14, 26, 51, .04);
  --shadow: 0 1px 3px rgba(14, 26, 51, .06), 0 18px 40px -20px rgba(14, 26, 51, .22);
  --shadow-lg: 0 30px 70px -28px rgba(10, 22, 48, .45);
  --ease: cubic-bezier(.22, .8, .24, 1);
}

/* ----- Reset & base ------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 24px); }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img, svg, video, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -.025em;
  color: var(--navy-900);
  text-wrap: balance;
}
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; }
figure { margin: 0; }
[hidden] { display: none !important; }
::selection { background: var(--blue-100); color: var(--navy-950); }
:focus-visible { outline: 2px solid var(--blue-600); outline-offset: 3px; border-radius: 6px; }

.skip-link {
  position: absolute; left: 16px; top: -64px; z-index: 300;
  padding: 10px 18px; border-radius: 10px;
  background: var(--navy-900); color: var(--white);
  font-weight: 700; text-decoration: none;
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 14px; }
.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ----- Layout ------------------------------------------------------------ */
.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.section { position: relative; padding-block: var(--section-y); }
.section--tight { padding-block: calc(var(--section-y) * .6); }
.section--white { background: var(--white); }
.section--tint { background: var(--paper-2); }
.section--navy { background: var(--navy-900); color: var(--periwinkle-200); }
.section--navy h2, .section--navy h3 { color: var(--white); }
.section--navy .lead { color: var(--periwinkle-200); }
.section--flush-top { padding-top: 0; }
.section--rule { border-top: 1px solid var(--line); }

.section-head { max-width: 760px; margin-bottom: clamp(36px, 4.5vw, 60px); }
.section-head .eyebrow { margin-bottom: 18px; }
.section-head .lead { margin-top: 18px; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--split {
  max-width: none; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 24px 72px; align-items: end;
}
.section-head--split .lead { margin-top: 0; }
.section-head__link { margin-top: 18px; }

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

/* ----- Typography -------------------------------------------------------- */
.display {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.6rem, 1.4rem + 4vw, 4.6rem);
  line-height: 1.03;
  letter-spacing: -.04em;
  color: var(--navy-900);
}
h1 em, h2 em, .display em, .page-title em { font-style: normal; color: var(--blue-600); }
.section--navy h2 em, .cta h2 em, .careers h2 em, .newsletter h2 em { color: var(--gold-500); }
h2, .h2 { font-size: clamp(2rem, 1.25rem + 2.4vw, 3.2rem); line-height: 1.08; letter-spacing: -.035em; }
h3, .h3 { font-size: clamp(1.2rem, 1.08rem + .45vw, 1.45rem); line-height: 1.25; letter-spacing: -.02em; }
.lead { font-size: clamp(1.1rem, 1rem + .35vw, 1.25rem); line-height: 1.6; color: var(--ink-2); }
.muted { color: var(--ink-3); }
.mono { font-family: var(--font-mono); }

/* Eyebrow: a small lab-label pill with a status dot */
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 6px 12px 6px 10px; border-radius: 999px;
  font-family: var(--font-mono); font-size: .7rem; font-weight: 500;
  letter-spacing: .12em; text-transform: uppercase; line-height: 1.3;
  color: var(--blue-700); background: var(--blue-50); border: 1px solid var(--blue-100);
}
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--gold-500); box-shadow: 0 0 0 3px rgba(221, 177, 92, .22); flex: none; }
.eyebrow--plain { padding: 0; background: none; border: 0; }
.eyebrow--plain::before { display: none; }
.section--navy .eyebrow, .cta .eyebrow, .careers .eyebrow, .newsletter .eyebrow, .mega__aside .eyebrow, .keybox .eyebrow {
  color: var(--gold-300); background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .12);
}

/* ----- Buttons & links --------------------------------------------------- */
.btn {
  --bg: var(--navy-900); --fg: var(--white); --bd: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 22px;
  border: 1px solid var(--bd); border-radius: 12px;
  background: var(--bg); color: var(--fg);
  font-weight: 600; font-size: .98rem; line-height: 1.2;
  text-decoration: none; white-space: nowrap;
  transition: transform .25s var(--ease), background-color .25s, border-color .25s, color .25s, box-shadow .25s;
}
.btn svg { width: 18px; height: 18px; flex: none; transition: transform .3s var(--ease); }
.btn:hover { transform: translateY(-1px); }
.btn:hover svg { transform: translateX(3px); }
.btn--navy, .btn--primary { box-shadow: 0 10px 24px -12px rgba(18, 40, 72, .7); }
.btn--navy:hover, .btn--primary:hover { --bg: var(--navy-800); }
.btn--gold { --bg: var(--gold-500); --fg: var(--navy-950); box-shadow: 0 12px 28px -14px rgba(195, 148, 67, .8); }
.btn--gold:hover { --bg: var(--gold-300); }
.btn--outline { --bg: var(--white); --fg: var(--navy-900); --bd: var(--line-2); }
.btn--outline:hover { --bd: var(--navy-900); }
.btn--outline-light { --bg: rgba(255, 255, 255, .05); --fg: var(--white); --bd: rgba(255, 255, 255, .28); }
.btn--outline-light:hover { --bg: rgba(255, 255, 255, .1); --bd: rgba(255, 255, 255, .6); }
.btn--sm { min-height: 42px; padding: 0 16px; font-size: .92rem; border-radius: 10px; }
.btn--lg { min-height: 56px; padding: 0 28px; font-size: 1.02rem; }
.btn[disabled] { opacity: .7; pointer-events: none; }
.btn.is-loading svg { animation: spin 1s linear infinite; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; color: var(--blue-600); text-decoration: none;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  transition: background-size .35s var(--ease); padding-bottom: 2px;
}
.link-arrow svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.link-arrow:hover { background-size: 100% 1px; }
.link-arrow:hover svg { transform: translateX(4px); }
.link-arrow--light { color: var(--gold-300); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* ----- Chips, tags & lists ---------------------------------------------- */
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 5px 11px; border-radius: 8px;
  font-family: var(--font-mono); font-size: .68rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase;
  background: var(--blue-50); color: var(--blue-700); border: 1px solid var(--blue-100);
}
.chip--gold { background: rgba(221, 177, 92, .14); color: var(--gold-700); border-color: rgba(221, 177, 92, .3); }
.chip--dark { background: rgba(10, 22, 48, .55); color: var(--white); border-color: rgba(255, 255, 255, .18); }
.tags { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; }
.tags li { padding: 4px 10px; border-radius: 8px; border: 1px solid var(--line); font-size: .8rem; color: var(--ink-2); background: var(--paper); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; }
.chips li { padding: 7px 13px; border-radius: 10px; border: 1px solid var(--line-2); font-size: .88rem; font-weight: 500; color: var(--navy-900); background: var(--white); }
.checklist { list-style: none; display: grid; gap: 12px; }
.checklist li { position: relative; padding-left: 34px; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 2px; width: 22px; height: 22px; border-radius: 7px;
  background: var(--blue-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233F5FC4' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5.5 12.5l4 4L18.5 7.5'/%3E%3C/svg%3E") center / 12px no-repeat;
  border: 1px solid var(--blue-100);
}
.checklist--2col { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 32px; }
.mini-title { font-family: var(--font-mono); font-size: .72rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 16px; }

/* ----- Molecular texture (generated hex-lattice tile) -------------------- */
.hex { isolation: isolate; }
.hex::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: url("../img/hex-gold.svg") center / 630px repeat;
  opacity: .1;
  -webkit-mask-image: radial-gradient(110% 90% at 80% 20%, #000 20%, transparent 75%);
  mask-image: radial-gradient(110% 90% at 80% 20%, #000 20%, transparent 75%);
}
.hex--navy::before { background-image: url("../img/hex-navy.svg"); opacity: .06; }

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes float { 50% { transform: translateY(-8px); } }

/* ==========================================================================
   Top bar + header & navigation (light)
   ========================================================================== */
.topbar { background: var(--navy-950); color: var(--periwinkle-200); font-size: .8rem; }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 38px; }
.topbar__list { display: flex; gap: 22px; list-style: none; }
.topbar__list li { display: inline-flex; align-items: center; gap: 8px; }
.topbar__list li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--gold-500); }
.topbar a { color: var(--white); text-decoration: none; display: inline-flex; align-items: center; gap: 8px; }
.topbar a:hover { color: var(--gold-300); }
.topbar svg { width: 15px; height: 15px; }
@media (max-width: 900px) { .topbar { display: none; } }

.site-header { position: sticky; top: 0; z-index: 100; color: var(--navy-900); }
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(255, 255, 255, .9);
  -webkit-backdrop-filter: saturate(160%) blur(14px); backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s var(--ease);
}
.site-header.is-scrolled::before { box-shadow: 0 10px 30px -18px rgba(14, 26, 51, .35); }
.nav { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 24px; height: var(--header-h); }

.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--navy-900); flex: none; }
.brand img { width: 46px; height: 46px; }
.brand__text { display: flex; flex-direction: column; line-height: 1.05; }
.brand__name { font-family: var(--font-display); font-weight: 600; font-size: .98rem; letter-spacing: .14em; text-transform: uppercase; white-space: nowrap; }
.brand__sub { font-family: var(--font-mono); font-size: .6rem; letter-spacing: .3em; text-transform: uppercase; color: var(--gold-700); margin-top: 5px; white-space: nowrap; }

.nav__menu { display: flex; align-items: center; gap: 20px; }
.nav__links { display: flex; align-items: center; gap: 2px; list-style: none; }
.nav__links > li > a {
  position: relative; display: inline-flex; align-items: center; gap: 6px;
  padding: 9px 13px; border-radius: 10px;
  font-size: .94rem; font-weight: 500; text-decoration: none; color: var(--ink-2);
  transition: color .2s, background-color .2s;
}
.nav__links > li > a:hover { color: var(--navy-900); background: var(--blue-50); }
.nav__links > li > a[aria-current="page"] { color: var(--navy-900); font-weight: 600; }
.nav__links > li > a[aria-current="page"]::after { content: ""; position: absolute; left: 13px; right: 13px; bottom: 2px; height: 2px; border-radius: 2px; background: var(--gold-500); }
.nav__chev { width: 14px; height: 14px; opacity: .6; transition: transform .3s var(--ease); }

.has-mega { position: static; }
.mega {
  position: absolute; top: 100%; left: 50%; width: min(880px, calc(100vw - 48px)); padding-top: 8px;
  transform: translate(-50%, 8px); opacity: 0; visibility: hidden;
  transition: opacity .25s var(--ease), transform .3s var(--ease), visibility 0s .3s;
}
.has-mega:hover .mega, .has-mega:focus-within .mega { opacity: 1; visibility: visible; transform: translate(-50%, 0); transition: opacity .25s var(--ease), transform .3s var(--ease), visibility 0s; }
.has-mega:hover .nav__chev, .has-mega:focus-within .nav__chev { transform: rotate(180deg); }
.mega__panel { display: grid; grid-template-columns: minmax(0, 1fr) 250px; background: var(--white); border-radius: 18px; border: 1px solid var(--line); box-shadow: var(--shadow-lg); overflow: hidden; }
.mega__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px; padding: 14px; }
.mega__item { display: grid; grid-template-columns: 42px 1fr; gap: 14px; align-items: start; padding: 14px; border-radius: 12px; text-decoration: none; transition: background-color .2s; }
.mega__item:hover, .mega__item:focus-visible { background: var(--paper); }
.mega__icon { width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center; background: var(--blue-50); color: var(--blue-600); border: 1px solid var(--blue-100); transition: background-color .2s, color .2s; }
.mega__icon svg { width: 22px; height: 22px; }
.mega__item:hover .mega__icon { background: var(--navy-900); color: var(--gold-500); border-color: var(--navy-900); }
.mega__item strong { display: block; font-weight: 600; font-size: .95rem; color: var(--navy-900); line-height: 1.3; }
.mega__item small { display: block; margin-top: 3px; font-size: .83rem; line-height: 1.45; color: var(--ink-3); }
.mega__aside { position: relative; display: flex; flex-direction: column; gap: 12px; justify-content: flex-end; padding: 26px; background: var(--navy-900); color: var(--periwinkle-200); overflow: hidden; }
.mega__aside p { font-size: .9rem; line-height: 1.55; }
.mega__aside strong { font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; line-height: 1.25; color: var(--white); }

.nav__toggle { display: none; position: relative; width: 46px; height: 46px; flex: none; border: 1px solid var(--line-2); border-radius: 12px; background: var(--white); }
.nav__toggle span { position: absolute; left: 13px; right: 13px; height: 1.5px; background: var(--navy-900); border-radius: 2px; transition: transform .35s var(--ease), top .35s var(--ease); }
.nav__toggle span:nth-child(1) { top: 18px; }
.nav__toggle span:nth-child(2) { top: 26px; }
.nav-open .nav__toggle span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.nav-open .nav__toggle span:nth-child(2) { top: 22px; transform: rotate(-45deg); }
.nav__mobile-extra { display: none; }

@media (max-width: 1100px) {
  .nav__toggle { display: inline-block; }
  .nav__menu {
    position: fixed; inset: var(--header-h) 0 0 0; z-index: -2;
    flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 26px;
    padding: 12px var(--gutter) 40px; background: var(--white); overflow-y: auto;
    opacity: 0; visibility: hidden; transform: translateY(-10px);
    transition: opacity .3s var(--ease), transform .35s var(--ease), visibility 0s .35s;
  }
  .nav-open .nav__menu { opacity: 1; visibility: visible; transform: none; transition: opacity .3s var(--ease), transform .35s var(--ease), visibility 0s; }
  .nav__links { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__links > li > a { display: flex; justify-content: space-between; padding: 18px 2px; border-radius: 0; border-bottom: 1px solid var(--line); font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; color: var(--navy-900); }
  .nav__links > li > a:hover { background: none; color: var(--blue-600); }
  .nav__links > li > a[aria-current="page"]::after { left: auto; right: 4px; top: 50%; bottom: auto; width: 8px; height: 8px; margin-top: -4px; border-radius: 50%; }
  .nav__chev, .mega { display: none; }
  .nav__menu > .btn { align-self: flex-start; }
  .nav__mobile-extra { display: block; font-size: .92rem; color: var(--ink-3); }
  .nav__mobile-extra a { color: var(--blue-600); text-decoration: none; font-weight: 600; }
  html.nav-open { overflow: hidden; }
}

/* ==========================================================================
   Home hero — live CONSORT trial flow + floating data badges
   ========================================================================== */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  background:
    radial-gradient(900px 520px at 82% 30%, rgba(63, 95, 196, .10), transparent 65%),
    linear-gradient(180deg, var(--white) 0%, var(--paper) 100%);
  padding: clamp(44px, 6vw, 88px) 0 clamp(56px, 7vw, 104px);
}
.hero.hex::before { opacity: .05; -webkit-mask-image: radial-gradient(60% 80% at 85% 40%, #000 10%, transparent 70%); mask-image: radial-gradient(60% 80% at 85% 40%, #000 10%, transparent 70%); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: 40px clamp(32px, 5vw, 72px); align-items: center; }
.hero .eyebrow { margin-bottom: 24px; }
.hero__lead { margin-top: 24px; max-width: 590px; font-size: clamp(1.08rem, 1rem + .4vw, 1.25rem); line-height: 1.62; color: var(--ink-2); }
.hero .actions { margin-top: 34px; }
.hero__trust { display: flex; flex-wrap: wrap; gap: 12px 28px; margin-top: 40px; padding-top: 26px; border-top: 1px solid var(--line); list-style: none; }
.hero__trust li { display: grid; gap: 2px; }
.hero__trust strong { font-family: var(--font-display); font-size: 1.35rem; font-weight: 600; color: var(--navy-900); letter-spacing: -.02em; }
.hero__trust span { font-size: .84rem; color: var(--ink-3); }

.trial { position: relative; width: min(100%, 540px); margin-inline: auto; }
.trial__card {
  position: relative; overflow: hidden; border-radius: 26px;
  background: radial-gradient(120% 75% at 18% 0%, #2C4290 0%, #16306A 42%, #0E1F45 76%, #0A1630 100%);
  box-shadow: 0 50px 90px -40px rgba(18, 40, 72, .75), 0 0 0 10px rgba(255, 255, 255, .75), 0 0 0 11px var(--line);
}
.trial__card::before { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px); background-size: 28px 28px; }
.trial__card::after { content: ""; position: absolute; inset: 8px; border-radius: 20px; border: 1px solid rgba(221, 177, 92, .3); pointer-events: none; }
.trial__bar { position: relative; z-index: 1; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 22px 26px 0; font-family: var(--font-mono); font-size: .64rem; letter-spacing: .12em; text-transform: uppercase; color: var(--periwinkle-200); }
.trial__status { display: inline-flex; align-items: center; gap: 8px; padding: 5px 11px; border-radius: 999px; background: rgba(61, 214, 140, .12); border: 1px solid rgba(61, 214, 140, .25); color: #9BE7C4; white-space: nowrap; }
.trial__status i { width: 7px; height: 7px; border-radius: 50%; background: #3DD68C; animation: live 2s ease-out infinite; }
@keyframes live { 0% { box-shadow: 0 0 0 0 rgba(61, 214, 140, .55); } 70%, 100% { box-shadow: 0 0 0 8px rgba(61, 214, 140, 0); } }
.trial__canvas { position: relative; aspect-ratio: 1 / .98; margin: 8px 14px 0; }
.trial__canvas canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.trial__foot { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 0 24px; padding: 14px 2px 22px; border-top: 1px solid rgba(255, 255, 255, .09); }
.trial__foot span { font-size: .78rem; color: var(--periwinkle-300); }
.trial__foot b { display: block; font-family: var(--font-display); font-size: 1.1rem; font-weight: 600; color: var(--white); letter-spacing: -.01em; }
.trial__badge {
  position: absolute; z-index: 2; display: grid; gap: 2px; padding: 11px 15px; border-radius: 14px;
  background: rgba(255, 255, 255, .95); border: 1px solid var(--line); box-shadow: var(--shadow);
  animation: float 7s ease-in-out infinite;
}
.trial__badge small { font-family: var(--font-mono); font-size: .62rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.trial__badge strong { font-family: var(--font-display); font-size: 1.05rem; font-weight: 600; color: var(--navy-900); letter-spacing: -.01em; white-space: nowrap; }
.trial__badge strong span { color: var(--blue-600); }
.trial__badge--a { top: 38%; right: -9%; animation-delay: -2s; }
.trial__badge--b { top: 19%; left: -9%; animation-delay: -4s; }
.trial__badge--c { bottom: 15%; right: -6%; animation-delay: -1s; display: flex; align-items: center; gap: 10px; }
.trial__badge--c i { width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; background: rgba(46, 125, 91, .12); color: #2E7D5B; font-style: normal; }
.trial__badge--c svg { width: 15px; height: 15px; }

/* ==========================================================================
   Inner-page hero (light, molecule illustration)
   ========================================================================== */
.page-hero {
  position: relative; overflow: hidden; isolation: isolate;
  background: radial-gradient(800px 420px at 85% 40%, rgba(63, 95, 196, .09), transparent 65%), linear-gradient(180deg, var(--white), var(--paper));
  border-bottom: 1px solid var(--line);
  padding: clamp(40px, 6vw, 84px) 0 clamp(44px, 6vw, 84px);
}
.page-hero.hex::before { opacity: .045; -webkit-mask-image: radial-gradient(55% 90% at 88% 50%, #000 10%, transparent 75%); mask-image: radial-gradient(55% 90% at 88% 50%, #000 10%, transparent 75%); }
.page-hero__grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 32px 56px; align-items: center; }
.page-hero .eyebrow { margin-bottom: 20px; }
.page-title { font-family: var(--font-display); font-weight: 600; font-size: clamp(2.3rem, 1.4rem + 3.1vw, 3.9rem); line-height: 1.06; letter-spacing: -.04em; color: var(--navy-900); }
.page-hero__lead { margin-top: 22px; max-width: 640px; font-size: clamp(1.06rem, 1rem + .3vw, 1.2rem); color: var(--ink-2); }
.page-hero__art { position: relative; aspect-ratio: 5 / 4; }
.page-hero__art svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 24px; font-family: var(--font-mono); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); list-style: none; }
.breadcrumb a { color: var(--ink-2); text-decoration: none; }
.breadcrumb a:hover { color: var(--blue-600); }
.breadcrumb li + li::before { content: "/"; margin-right: 10px; opacity: .5; }
.breadcrumb [aria-current] { color: var(--navy-900); }
.article-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; margin-top: 26px; font-size: .92rem; color: var(--ink-3); }
@media (max-width: 960px) { .page-hero__grid { grid-template-columns: minmax(0, 1fr); } .page-hero__art { display: none; } }

/* ======================= Shared components (from version A) ======================= */

/* ----- Chart animation primitives ----- */
.draw { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 2s var(--ease) var(--draw-delay, 0s); }
.fade-in { opacity: 0; transition: opacity 1s var(--ease) var(--draw-delay, .6s); }
.pop { opacity: 0; transform: scale(.2); transform-box: fill-box; transform-origin: center; transition: opacity .4s var(--ease) var(--draw-delay, 0s), transform .6s var(--ease) var(--draw-delay, 0s); }
.is-visible .draw { stroke-dashoffset: 0; }
.is-visible .fade-in { opacity: 1; }
.is-visible .pop { opacity: 1; transform: none; }
.pulse { transform-box: fill-box; transform-origin: center; animation: pulse 2.6s ease-out infinite; }
@keyframes pulse { 0% { transform: scale(.6); opacity: .9; } 100% { transform: scale(2.6); opacity: 0; } }

/* ==========================================================================
   Intro statement + key figures
   ========================================================================== */
.intro__grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 40px clamp(40px, 7vw, 110px); align-items: start; }
.intro__statement { margin-top: 20px; font-size: clamp(2rem, 1.2rem + 2.5vw, 3.3rem); line-height: 1.08; }
.intro__body { display: grid; gap: 20px; padding-top: 44px; }
.intro__body p:not(.lead) { color: var(--ink-2); }

.stats {
  display: grid; grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr));
  margin: clamp(56px, 7vw, 96px) 0 0; border-top: 1px solid var(--line-2);
}
.stats--flush { margin-top: 0; }
.stat { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 10px; padding: 30px 28px 0 0; }
.stat + .stat { padding-left: 28px; border-left: 1px solid var(--line); }
.stat dd { margin: 0; font-family: var(--font-display); font-weight: 350; font-size: clamp(2.6rem, 1.8rem + 2.2vw, 3.9rem); line-height: 1; letter-spacing: -.03em; color: var(--navy-900); }
.stat dd sup, .stat dd span.unit { font-size: .45em; color: var(--gold-600); vertical-align: super; letter-spacing: 0; margin-left: 2px; }
.stat dt { font-size: .95rem; line-height: 1.5; color: var(--ink-3); max-width: 230px; }

/* ==========================================================================
   Service cards
   ========================================================================== */
.service-card {
  position: relative; display: flex; flex-direction: column; gap: 16px;
  padding: 30px 30px 28px; border-radius: var(--radius-lg);
  background: var(--white); border: 1px solid var(--line);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s;
  overflow: hidden;
}
.service-card::before {
  content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 100%;
  background: linear-gradient(90deg, var(--gold-500), var(--gold-300));
  transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease);
}
.service-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: transparent; }
.service-card:hover::before { transform: scaleX(1); }
.service-card__top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 8px; }
.service-card__icon {
  width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center;
  background: var(--periwinkle-100); color: var(--navy-900);
  transition: background-color .35s, color .35s, transform .5s var(--ease);
}
.service-card__icon svg { width: 28px; height: 28px; }
.service-card:hover .service-card__icon { background: var(--navy-900); color: var(--gold-500); transform: rotate(-6deg); }
.service-card__num { font-family: var(--font-mono); font-size: .75rem; letter-spacing: .1em; color: var(--ink-3); }
.service-card h3 { font-size: 1.42rem; }
.service-card p { font-size: .98rem; color: var(--ink-2); }
.service-card .tags { margin-top: 2px; }
.service-card__link {
  margin-top: auto; padding-top: 10px; display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; font-size: .95rem; color: var(--navy-900); text-decoration: none;
}
.service-card__link svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.service-card__link::after { content: ""; position: absolute; inset: 0; }
.service-card:hover .service-card__link svg { transform: translateX(4px); }

/* ==========================================================================
   Expertise tabs + figure cards
   ========================================================================== */
.tabs__list {
  position: relative; display: inline-flex; gap: 4px; max-width: 100%; overflow-x: auto; scrollbar-width: none;
  padding: 6px; margin-bottom: clamp(36px, 4vw, 52px);
  border-radius: 999px; background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-sm);
}
.tabs__list::-webkit-scrollbar { display: none; }
.tabs__indicator {
  position: absolute; top: 6px; bottom: 6px; left: 0; width: 0; border-radius: 999px;
  background: var(--navy-900); transition: transform .5s var(--ease), width .5s var(--ease);
}
.tab {
  position: relative; z-index: 1; border: 0; background: none; white-space: nowrap;
  padding: 11px 22px; border-radius: 999px;
  font-weight: 600; font-size: .96rem; color: var(--ink-2); transition: color .3s;
}
.tab:hover { color: var(--navy-900); }
.tab[aria-selected="true"] { color: var(--cream); }

.feature { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(36px, 5vw, 80px); align-items: center; }
.feature__copy h3 { font-size: clamp(1.6rem, 1.25rem + 1.1vw, 2.2rem); line-height: 1.12; }
.feature__copy > p { margin-top: 18px; color: var(--ink-2); }
.feature__copy .checklist { margin: 28px 0 32px; }

.figure-card {
  position: relative; padding: clamp(18px, 2.4vw, 28px);
  border-radius: var(--radius-lg); background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow);
}
.figure-card__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 18px; }
.figure-card__title { font-family: var(--font-display); font-size: 1.12rem; font-weight: 500; color: var(--navy-900); }
.figure-card figcaption {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 16px;
  margin-top: 18px; padding-top: 14px; border-top: 1px dashed var(--line-2);
  font-family: var(--font-mono); font-size: .68rem; letter-spacing: .05em; color: var(--ink-3);
}
.chart { position: relative; width: 100%; }
.chart svg { display: block; overflow: visible; }
.chart text { font-family: var(--font-mono); font-size: 11px; fill: var(--ink-3); }
.chart .axis-title { font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase; }
.chart .grid { stroke: var(--line); stroke-width: 1; }
.chart .ref { stroke: var(--line-2); stroke-dasharray: 3 4; }
.legend { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-bottom: 14px; font-size: .86rem; color: var(--ink-2); }
.legend span { display: inline-flex; align-items: center; gap: 8px; }
.legend i { width: 18px; height: 3px; border-radius: 2px; background: var(--c); }

/* Forest plot (HTML/CSS so labels stay crisp at any size) */
.forest { --cols: minmax(110px, 1.2fr) 40px minmax(0, 2.2fr) 138px; font-size: .86rem; }
.forest__head, .forest__row, .forest__axis { display: grid; grid-template-columns: var(--cols); column-gap: 14px; align-items: center; }
.forest__head { padding-bottom: 10px; border-bottom: 1px solid var(--line-2); font-family: var(--font-mono); font-size: .64rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.forest__head span:nth-child(2), .forest__n { text-align: right; }
.forest__row { min-height: 29px; color: var(--ink-2); }
.forest__row--group { min-height: 30px; font-family: var(--font-mono); font-size: .64rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-700); }
.forest__row--overall { font-weight: 700; color: var(--navy-900); border-bottom: 1px solid var(--line); min-height: 38px; }
.forest__label { padding-left: 12px; }
.forest__row--overall .forest__label, .forest__row--group .forest__label { padding-left: 0; }
.forest__n, .forest__val { font-family: var(--font-mono); font-size: .74rem; color: var(--ink-3); white-space: nowrap; }
.forest__row--overall .forest__val { color: var(--navy-900); font-weight: 500; }
.forest__track { position: relative; align-self: stretch; min-height: 29px; }
.forest__track::before { content: ""; position: absolute; top: 0; bottom: 0; left: var(--ref, 66%); border-left: 1px dashed var(--line-2); }
.forest__ci {
  position: absolute; top: 50%; height: 2px; margin-top: -1px; left: var(--lo); width: calc(var(--hi) - var(--lo));
  background: var(--navy-900); transform: scaleX(0); transform-origin: var(--origin, 50%) 50%;
  transition: transform .9s var(--ease) var(--d, 0s);
}
.forest__pt {
  position: absolute; top: 50%; left: var(--pt); width: var(--size, 10px); height: var(--size, 10px);
  background: var(--gold-500); border: 1.5px solid var(--navy-900); border-radius: 2px;
  transform: translate(-50%, -50%) scale(0); transition: transform .55s var(--ease) calc(var(--d, 0s) + .45s);
}
.forest__diamond {
  position: absolute; top: 50%; left: var(--lo); width: calc(var(--hi) - var(--lo)); height: 16px; margin-top: -8px;
  background: var(--navy-900);
  clip-path: polygon(0 50%, var(--rel, 50%) 0, 100% 50%, var(--rel, 50%) 100%);
  transform: scaleX(0); transform-origin: var(--rel, 50%) 50%; transition: transform .9s var(--ease) .1s;
}
.is-visible .forest__ci, .is-visible .forest__diamond { transform: scaleX(1); }
.is-visible .forest__pt { transform: translate(-50%, -50%) scale(1); }
.forest__axis { margin-top: 6px; padding-top: 8px; border-top: 1px solid var(--line-2); min-height: 30px; }
.forest__ticks { position: relative; height: 18px; font-family: var(--font-mono); font-size: .7rem; color: var(--ink-3); }
.forest__ticks span { position: absolute; top: 0; transform: translateX(-50%); }
.forest__favors { display: grid; grid-template-columns: var(--cols); column-gap: 14px; margin-top: 6px; font-family: var(--font-mono); font-size: .64rem; letter-spacing: .06em; color: var(--ink-3); }
.forest__favors div { position: relative; height: 16px; }
.forest__favors > div > span { position: absolute; top: 0; white-space: nowrap; }
.forest__favors > div > span:first-child { right: calc(100% - var(--ref, 66%) + 8px); }
.forest__favors > div > span:last-child { left: calc(var(--ref, 66%) + 8px); }
/* ==========================================================================
   Generated cover art (insight & case cards)
   ========================================================================== */
.cover { position: relative; overflow: hidden; background: var(--navy-900); }
.cover svg { position: absolute; inset: 0; width: 100%; height: 100%; transition: transform 1.2s var(--ease); }
.cover__badge { position: absolute; left: 16px; top: 16px; z-index: 1; }

/* ==========================================================================
   Case study cards
   ========================================================================== */
.case-card {
  position: relative; display: flex; flex-direction: column; overflow: hidden;
  border-radius: var(--radius-lg); background: var(--white); border: 1px solid var(--line);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.case-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.case-card:hover .cover svg, .post-card:hover .cover svg, .feature-post:hover .cover svg { transform: scale(1.05); }
.case-card .cover { aspect-ratio: 16 / 10; }
.case-card__body { display: flex; flex-direction: column; gap: 14px; flex: 1; padding: 26px 26px 28px; }
.case-card__meta { display: flex; flex-wrap: wrap; gap: 8px; }
.case-card h3 { font-size: 1.36rem; line-height: 1.22; }
.case-card h3 a { text-decoration: none; }
.case-card h3 a::after { content: ""; position: absolute; inset: 0; }
.case-card__facts { margin-top: auto; display: grid; gap: 10px; padding-top: 18px; border-top: 1px solid var(--line); }
.case-card__facts div { display: grid; grid-template-columns: 86px 1fr; gap: 12px; font-size: .92rem; line-height: 1.5; color: var(--ink-2); }
.case-card__facts dt { font-family: var(--font-mono); font-size: .64rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-700); padding-top: 3px; }
.case-card__facts dd { margin: 0; }

/* ==========================================================================
   Testimonial
   ========================================================================== */
.quote { position: relative; max-width: 1000px; margin: 0 auto; text-align: center; }
.quote__mark { width: 60px; height: 60px; margin: 0 auto 28px; color: var(--gold-500); }
.quote blockquote { margin: 0; }
.quote blockquote p {
  font-family: var(--font-display); font-weight: 340; font-size: clamp(1.6rem, 1.05rem + 2.1vw, 2.75rem);
  line-height: 1.24; letter-spacing: -.018em; color: var(--navy-900);
}
.quote figcaption { display: inline-flex; align-items: center; gap: 14px; margin-top: 36px; text-align: left; }
.quote__avatar {
  width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; flex: none;
  background: var(--navy-900); color: var(--gold-500); font-family: var(--font-display); font-size: 1.1rem;
}
.quote__meta strong { display: block; font-weight: 600; color: var(--navy-900); }
.quote__meta span { display: block; font-size: .92rem; color: var(--ink-3); }

/* ==========================================================================
   Insight cards
   ========================================================================== */
.post-card {
  position: relative; display: flex; flex-direction: column; overflow: hidden;
  border-radius: var(--radius-lg); background: var(--white); border: 1px solid var(--line);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.post-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.post-card .cover { aspect-ratio: 16 / 9; }
.post-card__body { display: flex; flex-direction: column; gap: 12px; flex: 1; padding: 22px 24px 24px; }
.post-card__meta { display: flex; justify-content: space-between; gap: 12px; font-family: var(--font-mono); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.post-card__cat { color: var(--gold-700); }
.post-card h3 { font-size: 1.3rem; line-height: 1.25; }
.post-card h3 a { text-decoration: none; }
.post-card h3 a::after { content: ""; position: absolute; inset: 0; }
.post-card p { font-size: .95rem; color: var(--ink-2); }
.post-card__foot { margin-top: auto; padding-top: 14px; display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: .86rem; color: var(--ink-3); border-top: 1px solid var(--line); }
.post-card__foot svg { width: 16px; height: 16px; color: var(--navy-900); transition: transform .3s var(--ease); }
.post-card:hover .post-card__foot svg { transform: translateX(4px); }

/* ==========================================================================
   Services page
   ========================================================================== */
.subnav {
  position: sticky; top: var(--header-h-scrolled); z-index: 50;
  background: rgba(251, 248, 241, .9); border-bottom: 1px solid var(--line);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
}
.subnav__inner { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; padding-block: 10px; }
.subnav__inner::-webkit-scrollbar { display: none; }
.subnav__inner.has-more { -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 72px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 72px), transparent); }
.subnav a {
  flex: none; padding: 9px 12px; border-radius: 999px;
  font-size: .86rem; font-weight: 600; color: var(--ink-2); text-decoration: none;
  transition: background-color .25s, color .25s;
}
.subnav a:hover { background: var(--white); color: var(--navy-900); }
.subnav a.is-active { background: var(--navy-900); color: var(--cream); }

.service { border-top: 1px solid var(--line); }
.service--alt { background: var(--white); }
.service__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px clamp(40px, 6vw, 100px); }
.service__intro { position: sticky; top: calc(var(--header-h-scrolled) + 90px); align-self: start; }
.service__num { font-family: var(--font-mono); font-size: .76rem; letter-spacing: .14em; color: var(--gold-700); }
.service__icon {
  width: 68px; height: 68px; margin: 20px 0 24px; border-radius: 20px; display: grid; place-items: center;
  background: var(--navy-900); color: var(--gold-500); box-shadow: 0 18px 30px -18px rgba(18, 40, 72, .8);
}
.service__icon svg { width: 32px; height: 32px; }
.service__intro h2 { font-size: clamp(2rem, 1.4rem + 1.8vw, 2.9rem); }
.service__intro .lead { margin-top: 18px; font-size: 1.12rem; }
.service__intro .actions { margin-top: 28px; }
.service__body { display: grid; gap: 40px; }
.service__questions {
  position: relative; overflow: hidden; padding: 30px 32px; border-radius: var(--radius-lg);
  background: var(--navy-900); color: var(--periwinkle-200);
}
.service__questions .mini-title { color: var(--gold-500); }
.service__questions ul { list-style: none; display: grid; gap: 14px; }
.service__questions li { font-family: var(--font-display); font-size: 1.2rem; line-height: 1.35; color: var(--cream); padding-left: 26px; position: relative; }
.service__questions li::before { content: "?"; position: absolute; left: 0; top: 0; font-family: var(--font-mono); font-size: .9rem; color: var(--gold-500); }

.model-card {
  display: flex; flex-direction: column; gap: 14px; padding: 30px 28px; border-radius: var(--radius-lg);
  background: var(--white); border: 1px solid var(--line); transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.model-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.model-card__icon { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; background: rgba(221, 177, 92, .18); color: var(--gold-700); }
.model-card__icon svg { width: 26px; height: 26px; }
.model-card h3 { font-size: 1.32rem; }
.model-card p { font-size: .97rem; color: var(--ink-2); }
.model-card__best { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); font-size: .88rem; color: var(--ink-3); }
.model-card__best strong { display: block; font-family: var(--font-mono); font-size: .64rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-700); font-weight: 500; margin-bottom: 4px; }

.quality-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line-light); }
.quality-item { padding: 32px 30px 34px 0; border-bottom: 1px solid var(--line-light); }
.quality-item:not(:nth-child(3n + 1)) { padding-left: 30px; border-left: 1px solid var(--line-light); }
.quality-item svg { width: 30px; height: 30px; color: var(--gold-500); margin-bottom: 18px; }
.quality-item h3 { font-size: 1.25rem; color: var(--cream); margin-bottom: 8px; }
.quality-item p { font-size: .96rem; color: var(--periwinkle-200); }

/* ==========================================================================
   About page
   ========================================================================== */
.story { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 56px clamp(40px, 7vw, 120px); align-items: center; }
.seal { position: relative; width: min(100%, 440px); aspect-ratio: 1; margin-inline: auto; }
.seal img { position: absolute; inset: 13%; width: 74%; height: 74%; filter: drop-shadow(0 30px 50px rgba(18, 40, 72, .35)); }
.seal svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 80s linear infinite; }
.seal text { font-family: var(--font-mono); font-size: 13px; letter-spacing: 5px; fill: var(--navy-900); text-transform: uppercase; }
.story__copy h2 { margin-top: 18px; }
.story__copy p { margin-top: 20px; color: var(--ink-2); }
.story__copy .lead { color: var(--ink); }
.signature { display: flex; align-items: center; gap: 16px; margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line); }
.signature span { font-family: var(--font-display); font-style: italic; font-size: 1.5rem; color: var(--navy-900); }
.signature small { display: block; font-size: .88rem; color: var(--ink-3); }

.principle {
  position: relative; display: flex; flex-direction: column; gap: 14px; padding: 32px 28px 30px;
  border-radius: var(--radius-lg); background: var(--white); border: 1px solid var(--line);
}
.principle__num { font-family: var(--font-display); font-style: italic; font-size: 2.6rem; line-height: 1; color: var(--gold-600); }
.principle h3 { font-size: 1.36rem; }
.principle p { font-size: .97rem; color: var(--ink-2); }

.team-card { display: flex; flex-direction: column; gap: 6px; }
.team-card__photo {
  position: relative; aspect-ratio: 4 / 5; margin-bottom: 18px; border-radius: var(--radius-lg); overflow: hidden;
  background: var(--sky); display: grid; place-items: center;
}
.team-card__photo::after {
  content: ""; position: absolute; left: -10%; right: -10%; bottom: -1px; height: 38%;
  background: var(--navy-900);
  clip-path: polygon(0 60%, 12% 32%, 22% 48%, 38% 8%, 50% 38%, 62% 22%, 76% 52%, 88% 30%, 100% 50%, 100% 100%, 0 100%);
  opacity: .92;
}
.team-card__photo span { position: relative; z-index: 1; margin-bottom: 24%; font-family: var(--font-display); font-size: 3.3rem; font-weight: 350; color: var(--cream); letter-spacing: .02em; }
.team-card__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 2; }
.team-card h3 { font-size: 1.32rem; }
.team-card__role { font-family: var(--font-mono); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-700); }
.team-card__bio { margin-top: 6px; font-size: .95rem; color: var(--ink-2); }
.team-card__link { margin-top: 10px; display: inline-flex; align-items: center; gap: 8px; font-size: .9rem; font-weight: 600; color: var(--navy-900); text-decoration: none; }
.team-card__link svg { width: 16px; height: 16px; }

.careers {
  position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 40px clamp(32px, 5vw, 80px);
  padding: clamp(32px, 5vw, 64px); border-radius: 28px; background: var(--navy-900); color: var(--periwinkle-200);
}
.careers h2 { color: var(--cream); margin-top: 16px; }
.careers .lead { color: var(--periwinkle-200); margin-top: 18px; }
.careers .actions { margin-top: 30px; }
.roles { list-style: none; display: grid; gap: 12px; align-content: start; }
.roles a {
  display: grid; grid-template-columns: 1fr auto; gap: 6px 16px; align-items: center;
  padding: 20px 22px; border-radius: var(--radius); text-decoration: none;
  background: rgba(255, 255, 255, .04); border: 1px solid var(--line-light);
  transition: background-color .25s, border-color .25s;
}
.roles a:hover { background: rgba(255, 255, 255, .08); border-color: rgba(221, 177, 92, .45); }
.roles strong { font-family: var(--font-display); font-weight: 450; font-size: 1.2rem; color: var(--cream); }
.roles small { grid-column: 1; font-family: var(--font-mono); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--periwinkle-300); }
.roles svg { grid-row: 1 / span 2; grid-column: 2; width: 20px; height: 20px; color: var(--gold-500); }

/* ==========================================================================
   Insights page
   ========================================================================== */
.feature-post {
  position: relative; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); overflow: hidden;
  border-radius: 28px; background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-sm);
}
.feature-post .cover { min-height: 380px; }
.feature-post__body { display: flex; flex-direction: column; gap: 16px; padding: clamp(28px, 4vw, 52px); }
.feature-post h2 { font-size: clamp(1.8rem, 1.3rem + 1.6vw, 2.6rem); }
.feature-post h2 a { text-decoration: none; }
.feature-post h2 a::after { content: ""; position: absolute; inset: 0; }
.feature-post p { color: var(--ink-2); }
.feature-post .post-card__meta { justify-content: flex-start; gap: 18px; }
.byline { display: flex; align-items: center; gap: 12px; margin-top: auto; padding-top: 18px; font-size: .9rem; color: var(--ink-3); }
.byline__avatar { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--navy-900); color: var(--gold-500); font-family: var(--font-display); font-size: .95rem; flex: none; }
.byline strong { display: block; color: var(--navy-900); font-weight: 600; }

.toolbar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px 24px; margin-bottom: 36px; }
.filter-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.filter-chip {
  padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--white);
  font-size: .9rem; font-weight: 600; color: var(--ink-2); transition: background-color .2s, color .2s, border-color .2s;
}
.filter-chip:hover { border-color: var(--navy-900); color: var(--navy-900); }
.filter-chip[aria-pressed="true"] { background: var(--navy-900); border-color: var(--navy-900); color: var(--cream); }
.search { position: relative; flex: 0 1 300px; }
.search svg { position: absolute; left: 16px; top: 50%; width: 18px; height: 18px; margin-top: -9px; color: var(--ink-3); pointer-events: none; }
.search input { width: 100%; min-height: 46px; padding: 10px 16px 10px 44px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--white); }
.search input:focus { outline: none; border-color: var(--navy-900); box-shadow: 0 0 0 4px rgba(221, 177, 92, .25); }
.results-count { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 18px; }
.empty-state { padding: 56px 24px; text-align: center; border: 1px dashed var(--line-2); border-radius: var(--radius-lg); color: var(--ink-3); }
.empty-state strong { display: block; font-family: var(--font-display); font-size: 1.5rem; font-weight: 400; color: var(--navy-900); margin-bottom: 6px; }

.newsletter {
  position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px 64px; align-items: center;
  padding: clamp(32px, 5vw, 60px); border-radius: 28px; background: var(--navy-900); color: var(--periwinkle-200);
}
.newsletter h2 { color: var(--cream); margin-top: 14px; font-size: clamp(1.9rem, 1.3rem + 1.8vw, 2.8rem); }
.newsletter p { margin-top: 14px; }
.inline-form { display: flex; gap: 10px; padding: 6px; border-radius: 999px; background: rgba(255, 255, 255, .07); border: 1px solid var(--line-light); }
.inline-form input { flex: 1; min-width: 0; padding: 0 18px; border: 0; background: none; color: var(--cream); }
.inline-form input::placeholder { color: var(--periwinkle-300); }
.inline-form input:focus { outline: none; }
.inline-form:focus-within { border-color: var(--gold-500); }
.form-note { margin-top: 12px; font-size: .84rem; color: var(--periwinkle-300); }
.form-note.is-success { color: var(--gold-500); font-weight: 600; }

/* ==========================================================================
   Contact page
   ========================================================================== */
.contact { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px clamp(32px, 5vw, 80px); align-items: start; }
.contact-info { display: grid; gap: 28px; }
.contact-methods { list-style: none; display: grid; gap: 2px; border-top: 1px solid var(--line-2); }
.contact-methods li { display: grid; grid-template-columns: 46px 1fr; gap: 16px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line-2); }
.contact-methods svg { width: 20px; height: 20px; }
.contact-methods .ico { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--navy-900); color: var(--gold-500); }
.contact-methods small { display: block; font-family: var(--font-mono); font-size: .64rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.contact-methods a, .contact-methods span { font-weight: 600; color: var(--navy-900); text-decoration: none; }
.contact-methods a:hover { color: var(--gold-700); }
.next-steps { list-style: none; display: grid; gap: 18px; counter-reset: step; }
.next-steps li { position: relative; padding-left: 52px; counter-increment: step; color: var(--ink-2); font-size: .97rem; }
.next-steps li::before {
  content: counter(step, decimal-leading-zero); position: absolute; left: 0; top: -2px;
  width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid var(--gold-500); font-family: var(--font-mono); font-size: .72rem; color: var(--gold-700);
}
.next-steps strong { display: block; color: var(--navy-900); }
.map-card { position: relative; overflow: hidden; min-height: 220px; padding: 26px; border-radius: var(--radius-lg); background: var(--navy-900); color: var(--cream); display: flex; flex-direction: column; justify-content: flex-end; }
.map-card::before { opacity: .22; -webkit-mask-image: none; mask-image: none; }
.map-card__pin { position: absolute; left: 58%; top: 34%; width: 18px; height: 18px; border-radius: 50%; background: var(--gold-500); box-shadow: 0 0 0 6px rgba(221, 177, 92, .25); }
.map-card__pin::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 1px solid var(--gold-500); animation: pulse 2.6s ease-out infinite; }
.map-card strong { font-family: var(--font-display); font-weight: 450; font-size: 1.35rem; }
.map-card span { font-size: .9rem; color: var(--periwinkle-200); }

.form-card { padding: clamp(24px, 4vw, 48px); border-radius: 28px; background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow); }
.form-card > h2 { font-size: clamp(1.7rem, 1.3rem + 1.2vw, 2.3rem); }
.form-card > p { margin-top: 10px; color: var(--ink-3); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 20px; margin-top: 32px; }
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; border: 0; padding: 0; margin: 0; }
.field--full { grid-column: 1 / -1; }
.field > label, .field > legend { padding: 0; font-weight: 600; font-size: .92rem; color: var(--navy-900); }
.field .req { color: var(--gold-700); margin-left: 2px; }
.field .opt { font-weight: 400; color: var(--ink-3); font-size: .85rem; }
.input {
  width: 100%; min-height: 52px; padding: 13px 16px; border-radius: 14px;
  border: 1px solid var(--line-2); background: var(--paper);
  transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.input:hover { border-color: rgba(18, 40, 72, .35); }
.input:focus { outline: none; border-color: var(--navy-900); background: var(--white); box-shadow: 0 0 0 4px rgba(221, 177, 92, .28); }
textarea.input { min-height: 150px; resize: vertical; line-height: 1.55; }
select.input {
  appearance: none; -webkit-appearance: none; padding-right: 46px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23122848' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center; background-size: 18px;
}
.field__error { display: none; font-size: .84rem; color: var(--danger); }
.field.is-invalid .input { border-color: var(--danger); box-shadow: 0 0 0 4px rgba(162, 60, 47, .1); }
.field.is-invalid .field__error { display: block; }
.choice-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.choice-chips input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice-chips label {
  padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--paper);
  font-weight: 500; font-size: .92rem; color: var(--ink-2); cursor: pointer; transition: background-color .2s, color .2s, border-color .2s;
}
.choice-chips label:hover { border-color: var(--navy-900); }
.choice-chips input:checked + label { background: var(--navy-900); border-color: var(--navy-900); color: var(--cream); }
.choice-chips input:focus-visible + label { outline: 2px solid var(--gold-500); outline-offset: 2px; }
.check { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; font-size: .94rem; color: var(--ink-2); cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--navy-900); }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 30px; padding-top: 24px; border-top: 1px solid var(--line); }
.form-foot p { font-size: .84rem; color: var(--ink-3); max-width: 340px; }
.form-alert { margin-top: 18px; padding: 14px 16px; border-radius: 12px; background: rgba(162, 60, 47, .08); color: var(--danger); font-size: .92rem; }
.form-success { text-align: center; padding: clamp(24px, 5vw, 56px) 8px; }
.form-success__icon { width: 76px; height: 76px; margin: 0 auto 24px; border-radius: 50%; display: grid; place-items: center; background: var(--navy-900); color: var(--gold-500); }
.form-success__icon svg { width: 34px; height: 34px; }
.form-success h2 { font-size: clamp(1.8rem, 1.3rem + 1.4vw, 2.5rem); }
.form-success p { margin: 14px auto 28px; max-width: 460px; color: var(--ink-2); }

.faq { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 40px clamp(32px, 6vw, 96px); align-items: start; }
.faq__list details { border-bottom: 1px solid var(--line-2); }
.faq__list details:first-child { border-top: 1px solid var(--line-2); }
.faq__list summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 24px 0; font-family: var(--font-display); font-size: clamp(1.15rem, 1.05rem + .4vw, 1.4rem); color: var(--navy-900);
}
.faq__list summary::-webkit-details-marker { display: none; }
.faq__plus { position: relative; width: 36px; height: 36px; flex: none; border-radius: 50%; border: 1px solid var(--line-2); transition: transform .35s var(--ease), background-color .3s, border-color .3s; }
.faq__plus::before, .faq__plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; margin: -.75px 0 0 -6px; background: currentColor; }
.faq__plus::after { transform: rotate(90deg); }
.faq__list details[open] .faq__plus { transform: rotate(45deg); background: var(--navy-900); border-color: var(--navy-900); color: var(--gold-500); }
.faq__list details p { padding: 0 60px 26px 0; color: var(--ink-2); }

/* ==========================================================================
   Article (long-form insight template)
   ========================================================================== */
.article-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; margin-top: 28px; font-size: .92rem; color: rgba(247, 240, 222, .78); }
.article-meta .byline__avatar { background: var(--gold-500); color: var(--navy-950); }
.article-meta strong { color: var(--cream); font-weight: 600; }
.article-layout { display: grid; grid-template-columns: 220px minmax(0, 720px); justify-content: center; gap: clamp(32px, 6vw, 88px); }
.toc { position: sticky; top: calc(var(--header-h-scrolled) + 36px); align-self: start; }
.toc ol { list-style: none; display: grid; gap: 2px; border-left: 1px solid var(--line-2); }
.toc a { display: block; padding: 7px 0 7px 16px; margin-left: -1px; border-left: 2px solid transparent; font-size: .9rem; line-height: 1.4; color: var(--ink-3); text-decoration: none; transition: color .2s, border-color .2s; }
.toc a:hover { color: var(--navy-900); }
.toc a.is-active { color: var(--navy-900); border-left-color: var(--gold-500); font-weight: 600; }
.toc .share { display: flex; gap: 8px; margin-top: 28px; }
.toc .share a { width: 38px; height: 38px; padding: 0; margin: 0; border: 1px solid var(--line-2); border-radius: 50%; display: grid; place-items: center; color: var(--navy-900); }
.toc .share a:hover { background: var(--navy-900); color: var(--gold-500); }
.toc .share svg { width: 16px; height: 16px; }

.prose { font-size: 1.12rem; line-height: 1.78; color: var(--ink); }
.prose > * + * { margin-top: 1.3em; }
.prose > .lead { font-size: 1.32rem; line-height: 1.6; color: var(--ink-2); }
.prose h2 { font-size: clamp(1.7rem, 1.3rem + 1.2vw, 2.25rem); margin-top: 2.2em; scroll-margin-top: calc(var(--header-h-scrolled) + 32px); }
.prose h3 { font-size: 1.35rem; margin-top: 1.8em; }
.prose h2 + *, .prose h3 + * { margin-top: .8em; }
.prose a { color: var(--navy-800); text-decoration-color: var(--gold-500); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.prose ul, .prose ol { padding-left: 1.25em; }
.prose li + li { margin-top: .55em; }
.prose li::marker { color: var(--gold-600); }
.prose strong { color: var(--navy-900); }
.prose blockquote { margin: 2.2em 0; padding: 4px 0 4px 28px; border-left: 3px solid var(--gold-500); font-family: var(--font-display); font-size: 1.5rem; line-height: 1.42; color: var(--navy-900); }
.prose code { font-family: var(--font-mono); font-size: .86em; padding: .12em .4em; border-radius: 6px; background: var(--paper-2); color: var(--navy-900); }
.prose figure { margin-block: 2.2em; }
.prose figcaption { margin-top: 12px; font-family: var(--font-mono); font-size: .72rem; letter-spacing: .04em; color: var(--ink-3); }
.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line); background: var(--white); }
.prose table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: .95rem; line-height: 1.5; }
.prose th, .prose td { padding: 14px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.prose tr:last-child td { border-bottom: 0; }
.prose thead th { font-family: var(--font-mono); font-size: .68rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); background: var(--paper); }
.prose tbody th { font-weight: 600; color: var(--navy-900); }
.keybox { position: relative; overflow: hidden; padding: 30px 32px; border-radius: var(--radius-lg); background: var(--navy-900); color: var(--periwinkle-200); }
.keybox h2, .prose .keybox h2 { margin: 0 0 16px; font-size: 1.4rem; color: var(--cream); }
.keybox ul { list-style: none; padding: 0; display: grid; gap: 12px; }
.keybox li { position: relative; padding-left: 28px; font-size: 1.02rem; }
.keybox li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 8px; height: 8px; transform: rotate(45deg); background: var(--gold-500); }
.author-box { display: grid; grid-template-columns: 64px 1fr; gap: 20px; margin-top: 56px; padding: 28px; border-radius: var(--radius-lg); background: var(--white); border: 1px solid var(--line); }
.author-box .byline__avatar { width: 64px; height: 64px; font-size: 1.25rem; }
.author-box strong { font-family: var(--font-display); font-size: 1.25rem; font-weight: 450; color: var(--navy-900); }
.author-box p { margin-top: 6px; font-size: .96rem; color: var(--ink-2); }

/* ==========================================================================
   Reveal-on-scroll (only when JS is running)
   ========================================================================== */
.js [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .9s var(--ease) var(--delay, 0s), transform .9s var(--ease) var(--delay, 0s); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }
.js [data-reveal="fade"] { transform: none; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1100px) {
  .footer-main { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
  .section-head--split, .intro__grid, .feature, .service__grid, .story, .contact, .faq, .careers, .newsletter, .feature-post { grid-template-columns: minmax(0, 1fr); }
  .intro__body { padding-top: 0; }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat { padding: 26px 20px 26px 0; }
  .stat + .stat { padding-left: 0; border-left: 0; }
  .stat:nth-child(even) { padding-left: 24px; border-left: 1px solid var(--line); }
  .stat:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .service__intro { position: static; }
  .quality-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .quality-item, .quality-item:not(:nth-child(3n + 1)) { padding: 28px 24px 30px 0; border-left: 0; }
  .quality-item:nth-child(even) { padding-left: 24px; border-left: 1px solid var(--line-light); }
  .article-layout { grid-template-columns: minmax(0, 1fr); }
  .toc { position: static; }
  .toc ol { display: none; }
  .toc .share { margin-top: 0; }
  .feature-post .cover { min-height: 260px; }
  .seal { width: min(80%, 380px); }
}
@media (max-width: 680px) {
  .grid-2, .grid-3, .grid-4, .form-grid, .quality-grid { grid-template-columns: minmax(0, 1fr); }
  .quality-item:nth-child(even) { padding-left: 0; border-left: 0; }
  .footer-main { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 20px; }
  .footer-contact-col { grid-column: 1 / -1; }
  .standards__inner { flex-direction: column; align-items: flex-start; gap: 14px; }
  .standards__label { max-width: none; }
  .marquee { width: 100%; }
  .checklist--2col { grid-template-columns: minmax(0, 1fr); }
  .forest { --cols: minmax(96px, 1fr) minmax(0, 1.7fr); font-size: .8rem; }
  .forest__n, .forest__val, .forest__head span:nth-child(2), .forest__head span:nth-child(4) { display: none; }
  .hero__proof { gap: 10px 18px; }
  .hero__fig { display: none; }
  .tab { padding: 10px 16px; font-size: .9rem; }
  .faq__list details p { padding-right: 0; }
  .inline-form { flex-direction: column; border-radius: 22px; }
  .inline-form input { min-height: 48px; }
  .toolbar { flex-direction: column; align-items: stretch; }
  .search { flex-basis: auto; }
  .case-card__facts div { grid-template-columns: 1fr; gap: 2px; }
}
@media (max-width: 420px) {
  .brand__name { font-size: .9rem; letter-spacing: .09em; }
  .brand__sub { font-size: .56rem; letter-spacing: .2em; }
  .brand img { width: 44px; height: 44px; }
  .actions .btn { width: 100%; }
}
/* ==========================================================================
   Reduced motion
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
}
/* ==========================================================================
   Therapeutic-area strip (medical icons)
   ========================================================================== */
.ta-strip { background: var(--white); border-block: 1px solid var(--line); padding: 26px 0; }
.ta-strip__inner { display: flex; align-items: center; gap: 32px; }
.ta-strip__label { flex: none; max-width: 170px; font-family: var(--font-mono); font-size: .68rem; line-height: 1.6; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.ta-list { flex: 1; display: grid; grid-template-columns: repeat(var(--n, 8), minmax(0, 1fr)); gap: 8px; list-style: none; }
.ta-list li { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; font-size: .82rem; font-weight: 500; line-height: 1.3; color: var(--ink-2); }
.ta-list svg { width: 46px; height: 46px; padding: 11px; border-radius: 50%; background: var(--blue-50); border: 1px solid var(--blue-100); color: var(--blue-600); transition: background-color .3s, color .3s, transform .4s var(--ease); }
.ta-list li:hover svg { background: var(--navy-900); color: var(--gold-500); transform: translateY(-3px); }

/* ==========================================================================
   Clinical development pipeline (tabs styled as phases)
   ========================================================================== */
.pipeline__scroll { overflow-x: auto; scrollbar-width: none; margin-inline: calc(var(--gutter) * -1); padding: 6px var(--gutter) 4px; }
.pipeline__scroll::-webkit-scrollbar { display: none; }
.pipeline__track { position: relative; display: grid; grid-template-columns: repeat(var(--n, 6), minmax(0, 1fr)); min-width: calc(var(--n, 6) * 120px); }
.pipeline__rail { position: absolute; left: calc(50% / var(--n, 6)); right: calc(50% / var(--n, 6)); top: 31px; height: 4px; border-radius: 4px; background: var(--line); }
.pipeline__fill { position: absolute; inset: 0 auto 0 0; width: var(--progress, 0%); border-radius: inherit; background: linear-gradient(90deg, var(--blue-600), var(--gold-500)); transition: width .7s var(--ease); }
.pipeline__step { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 0 6px; border: 0; background: none; text-align: center; color: var(--ink-2); }
.pipeline__dot {
  width: 66px; height: 66px; border-radius: 50%; display: grid; place-items: center;
  background: var(--white); border: 2px solid var(--line-2); color: var(--ink-3); box-shadow: var(--shadow-sm);
  transition: background-color .35s, border-color .35s, color .35s, transform .45s var(--ease), box-shadow .35s;
}
.pipeline__dot svg { width: 28px; height: 28px; }
.pipeline__step:hover .pipeline__dot { border-color: var(--blue-500); color: var(--blue-600); }
.pipeline__step.is-done .pipeline__dot { border-color: var(--blue-600); color: var(--blue-600); }
.pipeline__step[aria-selected="true"] .pipeline__dot { background: var(--navy-900); border-color: var(--navy-900); color: var(--gold-500); transform: scale(1.08); box-shadow: 0 0 0 8px rgba(63, 95, 196, .12), var(--shadow); }
.pipeline__label { font-family: var(--font-display); font-weight: 600; font-size: .98rem; line-height: 1.2; color: var(--navy-900); }
.pipeline__label small { display: block; margin-bottom: 4px; font-family: var(--font-mono); font-weight: 500; font-size: .62rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.pipeline__panel { margin-top: 36px; }
.pipeline__body { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr) minmax(0, .85fr); gap: 28px 48px; padding: clamp(24px, 3vw, 40px); border-radius: var(--radius-lg); background: var(--paper); border: 1px solid var(--line); }
.pipeline__body h3 { font-size: clamp(1.35rem, 1.15rem + .6vw, 1.7rem); }
.pipeline__body p { margin-top: 12px; color: var(--ink-2); }
.pipeline__meta { display: grid; gap: 18px; align-content: start; padding-left: 28px; border-left: 1px solid var(--line-2); }
.pipeline__meta dt { font-family: var(--font-mono); font-size: .64rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.pipeline__meta dd { margin: 4px 0 0; font-weight: 600; color: var(--navy-900); line-height: 1.45; }

/* ==========================================================================
   Patient cohort animation
   ========================================================================== */
.cohort { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 48px clamp(40px, 6vw, 88px); align-items: center; }
.cohort__copy .lead { margin-top: 18px; }
.cohort__steps { list-style: none; display: grid; gap: 8px; margin-top: 32px; }
.cohort__steps li { display: grid; grid-template-columns: 40px 1fr; gap: 14px; padding: 14px 16px; border-radius: 14px; border: 1px solid transparent; opacity: .5; transition: background-color .45s, border-color .45s, opacity .45s, box-shadow .45s; }
.cohort__steps li.is-active { opacity: 1; background: var(--white); border-color: var(--line); box-shadow: var(--shadow-sm); }
.cohort__steps li > span { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; font-family: var(--font-mono); font-size: .74rem; color: var(--blue-600); background: var(--blue-50); border: 1px solid var(--blue-100); transition: background-color .45s, color .45s; }
.cohort__steps li.is-active > span { background: var(--navy-900); border-color: var(--navy-900); color: var(--gold-500); }
.cohort__steps strong { font-family: var(--font-display); font-weight: 600; font-size: 1.06rem; color: var(--navy-900); }
.cohort__steps p { margin-top: 2px; font-size: .94rem; line-height: 1.55; color: var(--ink-2); }
.cohort__figure { padding: clamp(14px, 2vw, 24px); border-radius: 24px; background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow); }
.cohort__canvas { position: relative; aspect-ratio: 6 / 5; }
.cohort__canvas canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.cohort__figure figcaption { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 16px; margin-top: 14px; padding-top: 12px; border-top: 1px dashed var(--line-2); font-family: var(--font-mono); font-size: .68rem; letter-spacing: .04em; color: var(--ink-3); }
@media (prefers-reduced-motion: reduce) { .cohort__steps li { opacity: 1; } }

/* ==========================================================================
   CDISC data flow
   ========================================================================== */
.flow { --gap: 46px; position: relative; display: grid; grid-template-columns: repeat(var(--n, 5), minmax(0, 1fr)); gap: var(--gap); list-style: none; counter-reset: flow; }
.flow__node { position: relative; padding: 24px 20px 26px; border-radius: 18px; background: rgba(255, 255, 255, .045); border: 1px solid rgba(255, 255, 255, .12); counter-increment: flow; transition: background-color .3s, border-color .3s, transform .4s var(--ease); }
.flow__node:hover { background: rgba(255, 255, 255, .08); border-color: rgba(221, 177, 92, .45); transform: translateY(-3px); }
.flow__node::after { content: counter(flow, decimal-leading-zero); position: absolute; top: 20px; right: 18px; font-family: var(--font-mono); font-size: .68rem; color: var(--periwinkle-300); }
.flow__node + .flow__node::before {
  content: ""; position: absolute; top: 47px; right: 100%; width: var(--gap); height: 2px;
  background: repeating-linear-gradient(90deg, rgba(221, 177, 92, .55) 0 5px, transparent 5px 10px);
}
.flow__packet { position: absolute; top: 44px; right: 100%; width: 8px; height: 8px; margin-right: calc(var(--gap) - 8px); border-radius: 50%; background: var(--gold-500); box-shadow: 0 0 12px rgba(221, 177, 92, .9); animation: packet 2.2s linear infinite; animation-delay: var(--d, 0s); }
@keyframes packet { 0% { transform: translateX(0); opacity: 0; } 15%, 85% { opacity: 1; } 100% { transform: translateX(calc(var(--gap) - 8px)); opacity: 0; } }
.flow__icon { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; background: rgba(221, 177, 92, .12); color: var(--gold-500); }
.flow__icon svg { width: 26px; height: 26px; }
.flow__node strong { display: block; margin-top: 18px; font-family: var(--font-display); font-weight: 600; font-size: 1.12rem; color: var(--white); }
.flow__node small { display: block; margin-top: 6px; font-size: .9rem; line-height: 1.5; color: var(--periwinkle-200); }
.flow__checks { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 40px; list-style: none; }
.flow__checks li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 10px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .12); font-size: .9rem; color: var(--white); }
.flow__checks svg { width: 16px; height: 16px; color: var(--gold-500); }

/* ==========================================================================
   Closing CTA with ECG monitor line + footer
   ========================================================================== */
.cta { position: relative; overflow: hidden; isolation: isolate; background: var(--navy-900); color: var(--white); text-align: center; padding: clamp(72px, 9vw, 120px) 0 clamp(150px, 15vw, 200px); }
.cta__badge { width: 84px; height: 84px; margin: 0 auto 24px; filter: drop-shadow(0 18px 30px rgba(0, 0, 0, .35)); }
.cta h2 { max-width: 18ch; margin: 18px auto 0; font-size: clamp(2.1rem, 1.3rem + 2.8vw, 3.7rem); color: var(--white); }
.cta .lead { max-width: 580px; margin: 20px auto 0; color: var(--periwinkle-200); }
.cta .actions { justify-content: center; margin-top: 36px; }
.cta__ecg { position: absolute; left: 0; right: 0; bottom: 18px; height: clamp(90px, 11vw, 140px); z-index: -1; pointer-events: none; }
.cta__ecg svg { width: 100%; height: 100%; overflow: visible; }
.ecg__base { fill: none; stroke: rgba(221, 177, 92, .22); stroke-width: 1.5; stroke-linejoin: round; }
.ecg__pulse { fill: none; stroke: var(--gold-300); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 55 945; animation: ecg 5.5s linear infinite; filter: drop-shadow(0 0 6px rgba(221, 177, 92, .9)); }
@keyframes ecg { from { stroke-dashoffset: 1000; } to { stroke-dashoffset: 0; } }

.site-footer { position: relative; isolation: isolate; overflow: hidden; background: var(--navy-950); color: var(--periwinkle-200); border-top: 1px solid rgba(255, 255, 255, .06); }
.footer-main { display: grid; grid-template-columns: minmax(0, 1.8fr) repeat(3, minmax(0, 1fr)) minmax(0, 1.35fr); gap: 40px; padding-block: clamp(56px, 7vw, 84px) 48px; }
.site-footer .brand { color: var(--white); }
.site-footer .brand__sub { color: var(--gold-500); }
.footer-brand .brand img { width: 54px; height: 54px; }
.footer-brand p { margin-top: 20px; max-width: 300px; font-size: .94rem; line-height: 1.65; color: var(--periwinkle-300); }
.footer-social { display: flex; gap: 10px; margin-top: 22px; }
.footer-social a { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; border: 1px solid var(--line-light); color: var(--white); transition: background-color .25s, color .25s, border-color .25s; }
.footer-social a:hover { background: var(--gold-500); color: var(--navy-950); border-color: var(--gold-500); }
.footer-social svg { width: 17px; height: 17px; }
.footer-col h3 { font-family: var(--font-mono); font-size: .68rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-500); margin-bottom: 18px; }
.footer-col ul { list-style: none; display: grid; gap: 11px; }
.footer-col a { font-size: .93rem; color: var(--periwinkle-200); text-decoration: none; transition: color .2s; }
.footer-col a:hover { color: var(--white); }
.footer-contact li { display: grid; grid-template-columns: 18px 1fr; gap: 12px; font-size: .93rem; line-height: 1.5; }
.footer-contact svg { width: 17px; height: 17px; margin-top: 3px; color: var(--gold-500); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px 28px; padding-block: 24px 30px; border-top: 1px solid var(--line-light); font-size: .85rem; color: var(--periwinkle-300); }
.footer-bottom ul { display: flex; flex-wrap: wrap; gap: 8px 22px; list-style: none; }
.footer-bottom a { color: var(--periwinkle-300); text-decoration: none; }
.footer-bottom a:hover { color: var(--white); }
.footer-bottom .mono { font-size: .72rem; letter-spacing: .06em; opacity: .8; }

/* ==========================================================================
   Molecule illustrations & 404 cohort
   ========================================================================== */
.molecule { animation: float 9s ease-in-out infinite; }
.page-hero__art .orbit { fill: none; stroke: var(--line-2); stroke-dasharray: 3 6; }
.error-page { min-height: 70vh; display: grid; align-items: center; background: linear-gradient(180deg, var(--white), var(--paper)); }
.error-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); gap: 48px 72px; align-items: center; }
.error-code { font-family: var(--font-mono); font-size: .85rem; letter-spacing: .14em; color: var(--blue-600); margin-bottom: 20px; }
.error-page .lead { margin-top: 22px; max-width: 520px; }
.error-page .actions { margin-top: 32px; }
.dot-cohort { display: grid; grid-template-columns: repeat(12, 1fr); gap: 10px; padding: 28px; border-radius: 24px; background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow); }
.dot-cohort i { aspect-ratio: 1; border-radius: 50%; background: var(--navy-900); opacity: .85; }
.dot-cohort i:nth-child(7n + 3), .dot-cohort i:nth-child(11n + 5) { background: var(--gold-600); }
.dot-cohort i.is-missing { position: relative; background: transparent; border: 2px dashed var(--blue-600); opacity: 1; }
.dot-cohort i.is-missing::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 1px solid var(--blue-600); animation: pulse 2.4s ease-out infinite; }
.dot-cohort__caption { grid-column: 1 / -1; margin-top: 10px; font-family: var(--font-mono); font-size: .72rem; color: var(--ink-3); display: flex; justify-content: space-between; gap: 12px; }

/* ==========================================================================
   Responsive (version-B components)
   ========================================================================== */
@media (max-width: 1100px) {
  .ta-list { grid-template-columns: repeat(4, minmax(0, 1fr)); row-gap: 20px; }
  .flow { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .flow__node:nth-child(3n+1)::before, .flow__node:nth-child(3n+1) .flow__packet { display: none; }
}
@media (max-width: 960px) {
  .hero__grid, .cohort, .error-grid { grid-template-columns: minmax(0, 1fr); }
  .trial { width: min(100%, 500px); }
  .pipeline__body { grid-template-columns: minmax(0, 1fr); }
  .pipeline__meta { padding-left: 0; border-left: 0; padding-top: 20px; border-top: 1px solid var(--line-2); }
  .ta-strip__inner { flex-direction: column; align-items: flex-start; gap: 18px; }
  .ta-strip__label { max-width: none; }
  .ta-list { width: 100%; }
}
@media (max-width: 680px) {
  .ta-list { grid-template-columns: repeat(2, minmax(0, 1fr)); justify-items: start; }
  .ta-list li { flex-direction: row; text-align: left; }
  .ta-list svg { width: 40px; height: 40px; padding: 9px; }
  .flow { --gap: 28px; grid-template-columns: minmax(0, 1fr); }
  .flow__node + .flow__node::before { top: auto; bottom: 100%; right: auto; left: 44px; width: 2px; height: var(--gap); background: repeating-linear-gradient(180deg, rgba(221, 177, 92, .55) 0 5px, transparent 5px 10px); }
  .flow__node:nth-child(3n+1)::before, .flow__node:nth-child(3n+1) .flow__packet { display: block; }
  .flow__packet { top: auto; right: auto; bottom: 100%; left: 41px; margin: 0 0 calc(var(--gap) - 8px); animation-name: packet-v; }
  @keyframes packet-v { 0% { transform: translateY(0); opacity: 0; } 15%, 85% { opacity: 1; } 100% { transform: translateY(calc(var(--gap) - 8px)); opacity: 0; } }
  .trial__badge { display: none; }
  .trial__bar { padding: 18px 20px 0; font-size: .58rem; }
  .trial__foot { margin: 0 18px; }
  .hero__trust { gap: 14px 22px; }
  .dot-cohort { gap: 7px; padding: 18px; }
}

/* ==========================================================================
   Theme adjustments for shared components (light clinical look)
   ========================================================================== */
.service-card { border-radius: 20px; }
.service-card::before { background: linear-gradient(90deg, var(--blue-600), var(--gold-500)); }
.service-card__icon { border-radius: 14px; background: var(--blue-50); color: var(--blue-600); border: 1px solid var(--blue-100); }
.service-card:hover .service-card__icon { border-color: var(--navy-900); }
.service-card h3 { font-size: 1.28rem; }
.service-card__link { color: var(--blue-600); }

.intro__statement { font-size: clamp(1.9rem, 1.2rem + 2.2vw, 3rem); }
.stat dd { font-weight: 600; letter-spacing: -.045em; }
.stat dd span.unit { color: var(--blue-600); }

.tabs__list { border-radius: 14px; }
.tabs__indicator, .tab { border-radius: 10px; }
.figure-card { border-radius: 20px; }

.case-card, .post-card, .feature-post, .model-card, .principle { border-radius: 20px; }
.case-card__facts dt, .post-card__cat { color: var(--blue-700); }
.quote blockquote p { font-weight: 500; font-size: clamp(1.45rem, 1rem + 1.7vw, 2.25rem); letter-spacing: -.028em; line-height: 1.3; }
.quote__avatar { border-radius: 14px; }

.subnav { top: var(--header-h); background: rgba(255, 255, 255, .92); }
.subnav a { border-radius: 10px; }
.service--alt { background: var(--white); }
.model-card__icon { background: var(--blue-50); color: var(--blue-600); border: 1px solid var(--blue-100); }
.model-card__best strong { color: var(--blue-700); }

.principle__num { font-family: var(--font-mono); font-style: normal; font-size: .9rem; font-weight: 500; letter-spacing: .1em; color: var(--blue-600); }
.signature span { font-style: normal; font-weight: 600; font-size: 1.15rem; }
.team-card__photo { border-radius: 20px; background: radial-gradient(circle at 30% 25%, #2C4290 0%, #122848 55%, #0A1630 100%); }
.team-card__photo::after { left: 0; right: 0; top: 0; bottom: 0; height: auto; clip-path: none; background: url("../img/hex-gold.svg") center / 420px; opacity: .12; }
.team-card__photo span { margin-bottom: 0; font-family: var(--font-display); font-weight: 600; font-size: 2.6rem; letter-spacing: -.02em; }
.team-card__role { color: var(--blue-700); }

.filter-chip, .choice-chips label { border-radius: 10px; }
.search input, .inline-form { border-radius: 14px; }
.faq__plus { border-radius: 10px; }
.input:focus, .search input:focus { box-shadow: 0 0 0 4px rgba(63, 95, 196, .18); }
.form-card { border-radius: 24px; }
.form-card__title { font-size: clamp(1.6rem, 1.25rem + 1.1vw, 2.15rem); }
.form-card__intro { margin-top: 10px; color: var(--ink-3); font-size: .96rem; }
.next-steps li::before { border-color: var(--blue-600); color: var(--blue-700); border-radius: 10px; }
.contact-methods .ico { border-radius: 12px; }
.faq .lead { margin-top: 20px; }

.article-meta { color: var(--ink-3); }
.article-meta .byline { margin: 0; padding: 0; color: inherit; }
.article-meta .byline strong { display: inline; color: var(--navy-900); }
.article-meta .byline__avatar { background: var(--navy-900); color: var(--gold-500); }
.toc a.is-active { border-left-color: var(--blue-600); }
.prose a { color: var(--blue-700); text-decoration-color: rgba(63, 95, 196, .4); }
.prose blockquote { border-left-color: var(--blue-600); font-weight: 500; letter-spacing: -.02em; }
.prose li::marker { color: var(--blue-600); }

.site-footer.hex::before { opacity: .045; }
.cta.hex::before { opacity: .07; }

@media (max-width: 680px) {
  .forest > * > :nth-child(2), .forest > * > :nth-child(4) { display: none; }
  .forest__favors > div { display: flex; justify-content: space-between; height: auto; }
  .forest__favors > div > span { position: static; font-size: .6rem; }
}
@media (max-width: 1100px) { .footer-main { grid-template-columns: repeat(3, minmax(0, 1fr)); } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 680px) { .footer-main { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 20px; } .footer-contact-col { grid-column: 1 / -1; } }

/* ----- Content added through the editor (photos, article opening) ------- */
.cover > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.post-card:hover .cover > img, .case-card:hover .cover > img, .feature-post:hover .cover > img { transform: scale(1.05); }
.article-cover { margin: 0 0 2em; }
.article-cover img { width: 100%; border-radius: var(--radius-lg); border: 1px solid var(--line); }
.prose > p:first-child, .prose > .article-cover + p { font-size: 1.28rem; line-height: 1.6; color: var(--ink-2); }
.prose img { border-radius: var(--radius); }

/* ==========================================================================
   Editor options: expertise tab without a chart, About story photo, extra pages
   ========================================================================== */
.feature--text { grid-template-columns: minmax(0, 1fr); max-width: 760px; }
.story__photo { width: min(100%, 460px); margin-inline: auto; }
.story__photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.page-prose { max-width: 760px; margin-inline: auto; }
