/* NDx website — design system and page modules.
   Palette from the design brief (V1.0, 30 Nov 2026): Ivory, Glacier, Mist Blue, Iris, Ink.
   Text colours are darkened derivatives chosen to pass WCAG AA on Ivory:
     --ink-2 7.2:1 (body), --ink-3 5.0:1 (captions), --iris-ink 6.3:1 (labels).
   Mist Blue and Glacier are surfaces and decoration only, never text. */

@font-face { font-family: "Inter Tight"; src: url("../fonts/inter-tight.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("../fonts/plex-mono-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("../fonts/plex-mono-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }

:root {
  /* brand palette */
  --ivory: #F5F5F0;
  --glacier: #DCE7EB;
  --mist: #A2B9C8;
  --iris: #696B93;
  --ink: #19272D;

  /* derived */
  --ink-2: #46545B;
  --ink-3: #5F6C72;
  --iris-ink: #55577F;
  --slate: #4F6874;
  --paper: #FAFAF7;
  --glacier-soft: #E9F0F2;
  --line: rgba(25, 39, 45, 0.12);
  --line-soft: rgba(25, 39, 45, 0.07);
  --focus: #55577F;

  /* type */
  --font-display: "Inter Tight", "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --fs-display: clamp(2.3rem, 1.45rem + 3.3vw, 4.3rem);
  --fs-h1: clamp(2.15rem, 1.5rem + 2.6vw, 3.9rem);
  --fs-h2: clamp(1.75rem, 1.3rem + 1.7vw, 2.85rem);
  --fs-h3: clamp(1.15rem, 1.06rem + 0.35vw, 1.35rem);
  --fs-lead: clamp(1.1rem, 1.02rem + 0.38vw, 1.36rem);
  --fs-body: 1.0625rem;
  --fs-small: 0.9375rem;
  --fs-mono: 0.75rem;

  /* layout */
  --max: 1240px;
  --gutter: clamp(18px, 5vw, 56px);
  --section: clamp(84px, 10.5vw, 156px);
  --radius: 10px;
  --radius-lg: 16px;
  --header-h: 68px;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  color-scheme: light;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink-2);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.62;
  font-feature-settings: "cv11", "ss01";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, canvas { display: block; max-width: 100%; }
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--ink); font-weight: 460; margin: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; }
a { color: inherit; }
::selection { background: var(--glacier); color: var(--ink); }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
button { font: inherit; color: inherit; }

.skip {
  position: absolute; left: 12px; top: -48px; z-index: 100;
  background: var(--ink); color: var(--ivory); padding: 10px 14px; border-radius: 6px; text-decoration: none;
}
.skip:focus { top: 12px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { width: 100%; max-width: calc(var(--max) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); }
.section:not(.section--rule):not(.section--tint) + .section:not(.section--rule):not(.section--tint) { padding-top: 0; }
.section--rule { border-top: 1px solid var(--line); }
.section--tint { background: var(--paper); border-block: 1px solid var(--line-soft); }

/* ---------- type helpers ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: var(--fs-mono); font-weight: 500;
  letter-spacing: 0.09em; text-transform: uppercase; color: var(--iris-ink);
  margin-bottom: 22px;
}
.eyebrow::before { content: ""; width: 18px; height: 1px; background: currentColor; opacity: 0.7; }
.eyebrow--plain::before { display: none; }
.display { font-size: var(--fs-display); line-height: 1.03; letter-spacing: -0.03em; font-weight: 440; }
.h1 { font-size: var(--fs-h1); line-height: 1.06; letter-spacing: -0.028em; font-weight: 440; }
.h2 { font-size: var(--fs-h2); line-height: 1.1; letter-spacing: -0.022em; }
.h3 { font-size: var(--fs-h3); line-height: 1.3; letter-spacing: -0.01em; font-weight: 520; }
.lead { font-size: var(--fs-lead); line-height: 1.55; color: var(--ink-2); max-width: 46ch; }
.lead--wide { max-width: 60ch; }
.muted { color: var(--ink-3); }
.small { font-size: var(--fs-small); }
.mono { font-family: var(--font-mono); font-size: var(--fs-mono); letter-spacing: 0.04em; }
.prose { max-width: 64ch; }
.prose p + p { margin-top: 1em; }
.prose strong { color: var(--ink); font-weight: 560; }

.section-head { display: grid; gap: 18px; margin-bottom: clamp(40px, 5vw, 72px); max-width: 780px; }
.section-head--split {
  max-width: none; grid-template-columns: minmax(0, 1fr); align-items: end;
}
@media (min-width: 900px) {
  .section-head--split { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 64px; }
}
.section-head .eyebrow { margin-bottom: 4px; }

/* ---------- links & buttons ---------- */
.btn {
  --btn-bg: var(--ink); --btn-fg: var(--ivory); --btn-bd: var(--ink);
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 46px; padding: 11px 20px;
  border-radius: 7px; border: 1px solid var(--btn-bd);
  background: var(--btn-bg); color: var(--btn-fg);
  font-family: var(--font-body); font-size: 0.975rem; font-weight: 500; letter-spacing: -0.005em;
  text-decoration: none; cursor: pointer;
  transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease);
}
.btn:hover { --btn-bg: #24363E; --btn-bd: #24363E; }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--ink); --btn-bd: rgba(25, 39, 45, 0.24); }
.btn--ghost:hover { --btn-bg: rgba(25, 39, 45, 0.04); --btn-bd: rgba(25, 39, 45, 0.42); }
.btn .icon { width: 16px; height: 16px; transition: transform 0.25s var(--ease); }
.btn:hover .icon { transform: translateX(2px); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.link {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--ink); font-weight: 500; text-decoration: none;
  background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat;
  padding-bottom: 2px; transition: background-size 0.3s var(--ease);
}
.link:hover { background-size: 0 1px; background-position: 100% 100%; }
.link .icon { width: 15px; height: 15px; }

.icon { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }

.src {
  font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.02em;
  color: var(--iris-ink); text-decoration: none; white-space: nowrap;
  border-bottom: 1px solid rgba(85, 87, 127, 0.35);
}
.src:hover { border-bottom-color: currentColor; }

.chip {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--font-mono); font-size: 0.6875rem; font-weight: 500; letter-spacing: 0.07em; text-transform: uppercase;
  color: var(--slate); background: transparent;
  border: 1px solid var(--line); border-radius: 999px; padding: 4px 10px 4px 9px; white-space: nowrap;
}
.chip::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.chip--progress { color: var(--iris-ink); border-color: rgba(85, 87, 127, 0.3); }
.chip--planned { color: var(--ink-3); }
.chip--planned::before { background: transparent; box-shadow: inset 0 0 0 1px currentColor; }
.chip--vision { color: var(--ink-3); border-style: dashed; }
.chip--vision::before { background: transparent; box-shadow: inset 0 0 0 1px currentColor; }
.chip--placeholder { color: #7A5B2E; border-color: rgba(122, 91, 46, 0.32); background: rgba(196, 160, 98, 0.10); }
.chip--illustrative { color: var(--slate); border-style: dashed; }
.chip--illustrative::before { display: none; }

/* ---------- header & nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(245, 245, 240, 0.86);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease);
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.site-header__inner { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.wordmark {
  font-family: var(--font-display); font-size: 1.6rem; font-weight: 540; letter-spacing: -0.04em;
  color: var(--ink); text-decoration: none; line-height: 1;
}
.wordmark span { color: var(--iris); }

.site-nav ul { list-style: none; display: flex; align-items: center; gap: 6px; }
.site-nav a {
  display: inline-flex; align-items: center; min-height: 40px; padding: 8px 12px; border-radius: 6px;
  font-size: 0.9375rem; color: var(--ink-2); text-decoration: none; letter-spacing: -0.005em;
  transition: color 0.2s var(--ease), background-color 0.2s var(--ease);
}
.site-nav a:hover { color: var(--ink); background: rgba(25, 39, 45, 0.045); }
.site-nav a[aria-current="page"] { color: var(--ink); }
.site-nav a[aria-current="page"]:not(.site-nav__cta) { box-shadow: inset 0 -1px 0 var(--ink); border-radius: 0; }
.site-nav .site-nav__cta { margin-left: 10px; background: var(--ink); color: var(--ivory); padding-inline: 16px; }
.site-nav .site-nav__cta:hover { background: #24363E; color: var(--ivory); }
.site-nav a.site-nav__cta, .site-nav a.site-nav__cta[aria-current="page"], .js .site-nav a.site-nav__cta { color: var(--ivory); }
.site-nav__home { display: none; }

.menu-btn {
  display: none; align-items: center; gap: 10px; min-height: 40px; padding: 8px 4px 8px 12px;
  background: none; border: 0; cursor: pointer; color: var(--ink); font-size: 0.9375rem; font-weight: 500;
}
.menu-btn__icon { position: relative; width: 18px; height: 10px; }
.menu-btn__icon::before, .menu-btn__icon::after {
  content: ""; position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor; border-radius: 1px;
  transition: transform 0.3s var(--ease), top 0.3s var(--ease);
}
.menu-btn__icon::before { top: 0; }
.menu-btn__icon::after { top: 8.5px; }
.menu-btn[aria-expanded="true"] .menu-btn__icon::before { top: 4.25px; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-btn__icon::after { top: 4.25px; transform: rotate(-45deg); }

@media (max-width: 899px) {
  .js .menu-btn { display: inline-flex; }
  .site-nav__home { display: list-item; }
  .js .site-nav {
    position: fixed; inset: var(--header-h) 0 auto 0; z-index: 49;
    background: var(--ivory); border-bottom: 1px solid var(--line);
    padding: 8px var(--gutter) 28px;
    max-height: calc(100dvh - var(--header-h)); overflow-y: auto;
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0s linear 0.25s;
  }
  .js .site-nav.is-open { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
  .js .site-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .js .site-nav li { border-bottom: 1px solid var(--line-soft); }
  .js .site-nav li:last-child { border-bottom: 0; padding-top: 18px; }
  .js .site-nav a { font-family: var(--font-display); font-size: 1.375rem; letter-spacing: -0.015em; padding: 16px 0; min-height: 56px; width: 100%; color: var(--ink); }
  .js .site-nav a[aria-current="page"]:not(.site-nav__cta) { box-shadow: none; color: var(--iris-ink); }
  .js .site-nav .site-nav__cta { margin: 0; justify-content: center; font-family: var(--font-body); font-size: 1rem; padding: 14px 18px; border-radius: 7px; }
  html:not(.js) .site-nav ul { flex-wrap: wrap; gap: 0; }
  html:not(.js) .site-header__inner { height: auto; padding-block: 14px; flex-wrap: wrap; }
  body.menu-open { overflow: hidden; }
}

/* ---------- hero (home) ---------- */
.hero { padding-top: clamp(12px, 2vw, 28px); padding-bottom: clamp(72px, 9vw, 128px); }
.hero__visual {
  position: relative;
  height: clamp(250px, min(40vw, 47vh), 500px);
  margin-inline: calc(var(--gutter) * -0.5);
  touch-action: pan-y;
}
.hero__visual canvas { width: 100%; height: 100%; cursor: grab; }
.hero__visual canvas:active { cursor: grabbing; }
html:not(.js) .hero__visual, html:not(.js) .projection-legend { display: none; }

.projection-legend {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px;
  margin-top: 6px; padding-top: 14px; border-top: 1px solid var(--line-soft);
}
.projection-legend__views { display: flex; flex-wrap: wrap; gap: 4px 6px; list-style: none; }
.view-btn {
  display: inline-flex; align-items: center; gap: 9px; min-height: 36px; padding: 6px 10px 6px 8px;
  background: none; border: 0; border-radius: 6px; cursor: pointer;
  font-family: var(--font-mono); font-size: var(--fs-mono); letter-spacing: 0.05em; text-transform: uppercase; color: var(--ink-3);
  transition: color 0.25s var(--ease), background-color 0.25s var(--ease);
}
@media (hover: hover) { .view-btn:hover { color: var(--ink); background: rgba(25, 39, 45, 0.04); } }
.view-btn__dot { width: 7px; height: 7px; border-radius: 50%; box-shadow: inset 0 0 0 1px currentColor; transition: background-color 0.25s var(--ease); }
.view-btn.is-active { color: var(--ink); }
.view-btn.is-active .view-btn__dot { background: var(--iris); box-shadow: none; }
.projection-legend__hint { font-size: 0.8125rem; color: var(--ink-3); display: flex; align-items: center; gap: 14px; }
.pause-btn {
  display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 6px 12px;
  border: 1px solid var(--line); border-radius: 999px; background: none; cursor: pointer;
  font-size: 0.8125rem; color: var(--ink-2);
}
.pause-btn:hover { border-color: rgba(25, 39, 45, 0.3); color: var(--ink); }
.pause-btn .icon { width: 14px; height: 14px; }
.pause-btn .i-play { display: none; }

.hero__copy { display: grid; gap: 28px; margin-top: clamp(32px, 3.6vw, 52px); }
@media (min-width: 1000px) {
  .hero__copy { grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); align-items: start; gap: 72px; }
  .hero__side { padding-top: 0.55em; }
}
.hero__copy .lead { max-width: 42ch; font-size: clamp(1.08rem, 1rem + 0.3vw, 1.25rem); }
.hero__side { display: grid; gap: 26px; }

@media (max-width: 640px) {
  .hero__visual { height: auto; aspect-ratio: 1.3; margin-inline: -8px; }
  .projection-legend { flex-wrap: nowrap; gap: 8px; }
  .projection-legend__views { flex-wrap: nowrap; gap: 0; margin-left: -8px; }
  .view-btn { font-size: 0.6875rem; letter-spacing: 0.03em; padding-inline: 8px 7px; gap: 7px; }
  .view-btn__long, .projection-legend__hint .hint-text, .pause-btn [data-label] { display: none; }
  .pause-btn { width: 36px; padding: 0; justify-content: center; flex: none; }
}

/* ---------- page hero (inner pages) ---------- */
.page-hero { padding-top: clamp(56px, 8vw, 120px); padding-bottom: clamp(56px, 7vw, 104px); }
.page-hero__grid { display: grid; gap: 28px; }
@media (min-width: 1000px) {
  .page-hero__grid { grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); align-items: end; gap: 72px; }
}
.page-hero .h1 { max-width: 15ch; }

/* ---------- statement (signature concept) ---------- */
.statement { display: grid; gap: clamp(36px, 5vw, 64px); }
@media (min-width: 1000px) { .statement { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 96px; } }
.statement__quote { font-family: var(--font-display); font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.6rem); line-height: 1.16; letter-spacing: -0.02em; color: var(--ink); font-weight: 420; }
.statement__quote em { font-style: normal; color: var(--iris); }

.steps { list-style: none; display: grid; gap: 0; counter-reset: step; margin-top: 36px; border-top: 1px solid var(--line); }
.steps li { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 4px 12px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.steps__n { font-family: var(--font-mono); font-size: var(--fs-mono); color: var(--iris-ink); padding-top: 4px; letter-spacing: 0.06em; }
.steps h3 { font-size: 1.125rem; font-weight: 540; letter-spacing: -0.01em; margin-bottom: 4px; }
.steps p { font-size: var(--fs-small); }

/* ---------- cards ---------- */
.grid { display: grid; gap: clamp(14px, 1.6vw, 20px); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
@media (min-width: 760px) { .grid--3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1100px) { .grid--4 { grid-template-columns: repeat(4, 1fr); } }

.card {
  position: relative; display: flex; flex-direction: column; gap: 14px;
  padding: clamp(24px, 2.4vw, 32px);
  background: var(--paper); border: 1px solid var(--line-soft); border-radius: var(--radius-lg);
}
.card__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.card__icon {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  background: var(--glacier-soft); color: var(--iris-ink);
}
.card__icon .icon { width: 22px; height: 22px; }
.card__n { font-family: var(--font-mono); font-size: var(--fs-mono); color: var(--ink-3); letter-spacing: 0.06em; }
.card h3 { font-size: 1.1875rem; font-weight: 540; letter-spacing: -0.012em; line-height: 1.3; }
.card p { font-size: var(--fs-small); line-height: 1.6; }
.card__foot { margin-top: auto; padding-top: 10px; }

a.card { text-decoration: none; transition: border-color 0.25s var(--ease), background-color 0.25s var(--ease), transform 0.35s var(--ease); }
a.card:hover { border-color: var(--line); background: #FDFDFB; }
a.card .card__more { margin-top: auto; padding-top: 16px; display: inline-flex; align-items: center; gap: 8px; font-size: 0.9375rem; font-weight: 500; color: var(--ink); }
a.card .card__more .icon { width: 15px; height: 15px; transition: transform 0.25s var(--ease); }
a.card:hover .card__more .icon { transform: translateX(3px); }

/* ---------- stats ---------- */
.stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line); }
@media (min-width: 900px) { .stats { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.stat { padding: 26px 20px 28px 0; border-bottom: 1px solid var(--line); }
@media (min-width: 900px) { .stat + .stat { padding-left: 24px; border-left: 1px solid var(--line); } }
@media (max-width: 899px) { .stat:nth-child(even) { padding-left: 20px; border-left: 1px solid var(--line); } }
.stat__value { font-family: var(--font-display); font-size: clamp(2.2rem, 1.6rem + 2.2vw, 3.4rem); line-height: 1; letter-spacing: -0.035em; color: var(--ink); font-weight: 420; }
.stat__value small { font-size: 0.45em; letter-spacing: -0.01em; margin-left: 4px; color: var(--ink-3); }
.stat__label { margin-top: 12px; font-size: var(--fs-small); line-height: 1.45; color: var(--ink-2); max-width: 22ch; }

/* ---------- figure module ---------- */
.fig { margin: 0; display: grid; gap: 18px; }
.fig__frame {
  position: relative; overflow: hidden;
  background: var(--paper); border: 1px solid var(--line-soft); border-radius: var(--radius-lg);
  padding: clamp(18px, 2.6vw, 36px);
}
.fig__frame svg { width: 100%; height: auto; }
.fig__frame--flush { padding: 0; }
.fig__cap { display: grid; gap: 6px; font-size: var(--fs-small); line-height: 1.55; max-width: 78ch; }
.fig__label { font-family: var(--font-mono); font-size: var(--fs-mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--iris-ink); display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.fig__title { color: var(--ink); font-weight: 540; font-size: 1rem; }
.fig__source { font-size: 0.8125rem; color: var(--ink-3); }

.fig__placeholder {
  position: relative; min-height: clamp(220px, 26vw, 340px);
  display: grid; place-items: center; text-align: center; gap: 10px;
  background:
    repeating-linear-gradient(-45deg, rgba(105, 107, 147, 0.07) 0 1px, transparent 1px 11px),
    var(--paper);
  border: 1px dashed rgba(85, 87, 127, 0.35); border-radius: var(--radius-lg);
  padding: 28px; color: var(--ink-3);
}
.fig__placeholder strong { display: block; color: var(--ink-2); font-weight: 540; font-size: 0.98rem; }
.fig__placeholder span:not(.chip) { display: block; font-size: 0.875rem; max-width: 40ch; margin-inline: auto; }
.fig__placeholder .chip { margin-bottom: 10px; }
.fig__placeholder-axes { position: absolute; inset: 24px; pointer-events: none; opacity: 0.55; }

/* ---------- evidence layout ---------- */
.evidence { display: grid; gap: clamp(32px, 4vw, 56px); }
@media (min-width: 1000px) { .evidence { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); align-items: start; gap: 72px; } }
.checklist { list-style: none; display: grid; gap: 0; border-top: 1px solid var(--line); }
.checklist li { display: flex; gap: 14px; align-items: flex-start; padding: 13px 0; border-bottom: 1px solid var(--line-soft); font-size: var(--fs-small); color: var(--ink-2); }
.checklist .icon { width: 18px; height: 18px; color: var(--iris); margin-top: 3px; }

/* ---------- facts with sources (science: measurement gap) ---------- */
.fact { display: grid; gap: 14px; padding: 28px 0; border-top: 1px solid var(--line); }
.fact .fact__k { font-family: var(--font-mono); font-size: var(--fs-mono); color: var(--iris-ink); letter-spacing: 0.06em; }
.fact h3 { font-size: 1.25rem; font-weight: 520; }
.fact p { font-size: var(--fs-small); }
.fact .fact__num { font-family: var(--font-display); color: var(--ink); font-size: 1.85rem; letter-spacing: -0.03em; font-weight: 440; line-height: 1.1; }

/* ---------- layers (science: two molecular layers) ---------- */
.layers { display: grid; gap: 16px; }
@media (min-width: 900px) { .layers { grid-template-columns: 1fr 1fr; } }
.layer { padding: clamp(26px, 3vw, 40px); border-radius: var(--radius-lg); border: 1px solid var(--line-soft); background: var(--paper); display: grid; gap: 14px; align-content: start; }
.layer__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.layer h3 { font-size: 1.375rem; font-weight: 500; letter-spacing: -0.015em; }
.layer dl { display: grid; grid-template-columns: max-content 1fr; gap: 10px 18px; margin: 8px 0 0; padding-top: 18px; border-top: 1px solid var(--line-soft); font-size: var(--fs-small); }
.layer dt { font-family: var(--font-mono); font-size: var(--fs-mono); letter-spacing: 0.05em; text-transform: uppercase; color: var(--ink-3); padding-top: 3px; }
.layer dd { margin: 0; color: var(--ink-2); }
.layer--a { background: linear-gradient(180deg, rgba(220, 231, 235, 0.55), var(--paper) 60%); }
.layer--b { background: linear-gradient(180deg, rgba(105, 107, 147, 0.09), var(--paper) 60%); }

/* ---------- roadmap ---------- */
.phases { list-style: none; display: grid; gap: 16px; counter-reset: phase; }
@media (min-width: 1000px) { .phases { grid-template-columns: repeat(3, 1fr); gap: 0; } }
.phase { position: relative; padding: 30px 28px 32px; border: 1px solid var(--line-soft); border-radius: var(--radius-lg); background: var(--paper); display: grid; gap: 14px; align-content: start; }
@media (min-width: 1000px) {
  .phase { border-radius: 0; border-right-width: 0; }
  .phase:first-child { border-radius: var(--radius-lg) 0 0 var(--radius-lg); }
  .phase:last-child { border-radius: 0 var(--radius-lg) var(--radius-lg) 0; border-right-width: 1px; }
}
.phase__track { height: 3px; border-radius: 2px; background: var(--line-soft); overflow: hidden; margin-bottom: 8px; }
.phase__track span { display: block; height: 100%; background: var(--iris); border-radius: 2px; }
.phase .phase__n { font-family: var(--font-mono); font-size: var(--fs-mono); color: var(--ink-3); letter-spacing: 0.06em; }
.phase h3 { font-size: 1.25rem; font-weight: 520; }
.phase p { font-size: var(--fs-small); }
.phase dl { margin: 6px 0 0; display: grid; gap: 12px; padding-top: 16px; border-top: 1px solid var(--line-soft); font-size: 0.9rem; }
.phase dt { font-family: var(--font-mono); font-size: 0.6875rem; letter-spacing: 0.07em; text-transform: uppercase; color: var(--ink-3); }
.phase dd { margin: 2px 0 0; color: var(--ink-2); }

/* ---------- offerings ---------- */
.offerings { display: grid; gap: 0; border-top: 1px solid var(--line); }
.offering { display: grid; gap: 24px; padding-block: clamp(36px, 4.5vw, 60px); border-bottom: 1px solid var(--line); }
@media (min-width: 1000px) { .offering { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: 80px; } }
.offering__head { display: grid; gap: 14px; align-content: start; }
.offering__n { font-family: var(--font-mono); font-size: var(--fs-mono); color: var(--iris-ink); letter-spacing: 0.06em; }
.offering__q { font-family: var(--font-display); font-size: clamp(1.6rem, 1.2rem + 1.3vw, 2.3rem); line-height: 1.12; letter-spacing: -0.022em; color: var(--ink); font-weight: 440; }
.offering__name { font-size: 1.0625rem; color: var(--ink); font-weight: 540; }
.offering__body { display: grid; gap: 22px; }
.offering__body > p { font-size: var(--fs-body); max-width: 60ch; }
.offering__cols { display: grid; gap: 20px; }
@media (min-width: 700px) { .offering__cols { grid-template-columns: 1fr 1fr; gap: 32px; } }
.offering__cols h4 { font-family: var(--font-mono); font-size: var(--fs-mono); font-weight: 500; letter-spacing: 0.07em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 10px; }
.ticks { list-style: none; display: grid; gap: 8px; }
.ticks li { position: relative; padding-left: 20px; font-size: var(--fs-small); line-height: 1.55; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: 0.62em; width: 8px; height: 1px; background: var(--iris); }

/* ---------- illustrative applications ---------- */
.apps { display: grid; gap: clamp(36px, 4vw, 56px); }
@media (min-width: 1000px) { .apps { grid-template-columns: 1fr 1fr; gap: 28px; } }
.diagram text { font-family: var(--font-body); }
.diagram .d-mono { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; fill: var(--ink-3); }
.diagram .d-label { font-size: 13.5px; fill: var(--ink); font-weight: 520; }
.diagram .d-sub { font-size: 12px; fill: var(--ink-3); }

/* ---------- process ---------- */
.process { list-style: none; display: grid; gap: 0; counter-reset: p; }
@media (min-width: 900px) { .process { grid-template-columns: repeat(4, 1fr); } }
.process li { position: relative; padding: 26px 24px 28px 0; border-top: 1px solid var(--line); display: grid; gap: 10px; align-content: start; }
@media (min-width: 900px) { .process li + li { padding-left: 24px; } .process li::before { content: ""; position: absolute; top: -4px; left: 0; width: 7px; height: 7px; border-radius: 50%; background: var(--iris); } .process li + li::before { left: 24px; } }
.process__n { font-family: var(--font-mono); font-size: var(--fs-mono); color: var(--iris-ink); letter-spacing: 0.06em; }
.process h3 { font-size: 1.125rem; font-weight: 540; }
.process p { font-size: var(--fs-small); }

/* ---------- team ---------- */
.team { display: grid; gap: clamp(16px, 2vw, 24px); grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); }
@media (min-width: 1100px) { .team { grid-template-columns: repeat(4, 1fr); } }
.person { display: grid; gap: 16px; align-content: start; padding: 28px 26px 30px; background: var(--paper); border: 1px solid var(--line-soft); border-radius: var(--radius-lg); }
.person__photo { width: 96px; height: 96px; border-radius: 50%; overflow: hidden; background: var(--glacier); }
.person__photo img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.03); filter: saturate(0.82); }
.person h3 { font-size: 1.1875rem; font-weight: 540; letter-spacing: -0.012em; }
.person__role { font-size: 0.9rem; color: var(--iris-ink); font-weight: 500; margin-top: 2px; }
.person__focus { font-size: var(--fs-small); color: var(--ink-2); }
.person__bio { font-size: 0.875rem; color: var(--ink-3); padding-top: 14px; border-top: 1px solid var(--line-soft); display: grid; gap: 3px; }

.principles { display: grid; gap: 0; border-top: 1px solid var(--line); }
@media (min-width: 900px) { .principles { grid-template-columns: repeat(3, 1fr); } }
.principle { padding: 28px 28px 30px 0; border-bottom: 1px solid var(--line); display: grid; gap: 10px; align-content: start; }
@media (min-width: 900px) { .principle + .principle { padding-left: 28px; border-left: 1px solid var(--line); } }
.principle h3 { font-size: 1.1875rem; font-weight: 520; }
.principle p { font-size: var(--fs-small); }

/* ---------- contact ---------- */
.contact-grid { display: grid; gap: clamp(40px, 5vw, 72px); }
@media (min-width: 1000px) { .contact-grid { grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: 96px; } }
.form { display: grid; gap: 18px; }
.form__row { display: grid; gap: 18px; }
@media (min-width: 640px) { .form__row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 8px; }
.field label, .field legend { font-size: 0.875rem; font-weight: 500; color: var(--ink); }
.field .opt { color: var(--ink-3); font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
  background: var(--paper); border: 1px solid rgba(25, 39, 45, 0.18); border-radius: 8px;
  padding: 12px 14px; min-height: 48px;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.field textarea { min-height: 150px; resize: vertical; line-height: 1.55; }
.field select { appearance: none; -webkit-appearance: none; padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 6l4 4 4-4' fill='none' stroke='%2346545B' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 16px; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: rgba(25, 39, 45, 0.32); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--iris-ink); box-shadow: 0 0 0 3px rgba(105, 107, 147, 0.18); }
.field input:user-invalid, .field textarea:user-invalid { border-color: #A2453B; }
.form__note { font-size: 0.8125rem; color: var(--ink-3); }
.form__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 20px; padding-top: 6px; }
.form__status { font-size: 0.875rem; color: var(--iris-ink); }

.aside-card { padding: clamp(26px, 3vw, 36px); background: var(--paper); border: 1px solid var(--line-soft); border-radius: var(--radius-lg); display: grid; gap: 18px; align-content: start; }
.aside-card h2 { font-size: 1.25rem; font-weight: 520; }
.email-line { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.email-line a { font-family: var(--font-display); font-size: 1.25rem; letter-spacing: -0.015em; color: var(--ink); text-decoration: none; word-break: break-all; }
.email-line a:hover { color: var(--iris-ink); }
.copy-btn { display: inline-flex; align-items: center; gap: 6px; min-height: 34px; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line); background: none; cursor: pointer; font-size: 0.8125rem; color: var(--ink-2); }
.copy-btn:hover { border-color: rgba(25, 39, 45, 0.3); color: var(--ink); }
.copy-btn .icon { width: 14px; height: 14px; }

/* ---------- CTA band ---------- */
.cta-band { padding-block: 0 var(--section); }
.cta-band__inner {
  display: grid; gap: 32px; align-items: end;
  padding: clamp(32px, 5vw, 72px);
  border-radius: calc(var(--radius-lg) + 4px);
  background:
    radial-gradient(120% 140% at 100% 0%, rgba(105, 107, 147, 0.16), transparent 55%),
    radial-gradient(90% 120% at 0% 100%, rgba(162, 185, 200, 0.35), transparent 60%),
    var(--glacier-soft);
  border: 1px solid rgba(25, 39, 45, 0.06);
}
@media (min-width: 900px) { .cta-band__inner { grid-template-columns: minmax(0, 1.3fr) auto; gap: 64px; } }
.cta-band h2 { font-size: var(--fs-h2); line-height: 1.1; letter-spacing: -0.022em; max-width: 18ch; }
.cta-band p { margin-top: 16px; max-width: 52ch; color: var(--ink-2); }
.cta-band .eyebrow { margin-top: 0; margin-bottom: 18px; color: var(--iris-ink); }
.cta-band__actions { display: grid; gap: 16px; justify-items: start; }
.cta-band__actions .link { font-size: 0.9375rem; word-break: break-all; }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding-top: clamp(48px, 6vw, 80px); padding-bottom: 32px; font-size: var(--fs-small); }
.site-footer__top { display: grid; gap: 36px; padding-bottom: 40px; }
@media (min-width: 900px) { .site-footer__top { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr); gap: 48px; } }
.site-footer__tag { margin-top: 14px; color: var(--ink-3); max-width: 32ch; }
.site-footer h2 { font-family: var(--font-mono); font-size: var(--fs-mono); font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 14px; }
.site-footer ul { list-style: none; display: grid; gap: 4px; }
.site-footer a { text-decoration: none; color: var(--ink-2); display: inline-block; padding: 4px 0; }
.site-footer a:hover { color: var(--ink); }
.site-footer__bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 28px; padding-top: 24px; border-top: 1px solid var(--line-soft); color: var(--ink-3); font-size: 0.8125rem; }
.site-footer__note { max-width: 62ch; }
.motion-toggle { display: inline-flex; align-items: center; gap: 8px; min-height: 34px; padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; background: none; cursor: pointer; font-size: 0.8125rem; color: var(--ink-2); }
.motion-toggle:hover { border-color: rgba(25, 39, 45, 0.3); color: var(--ink); }
.motion-toggle__state { font-family: var(--font-mono); font-size: 0.6875rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--iris-ink); }

/* ---------- 404 ---------- */
.notfound { min-height: 60vh; display: grid; align-content: center; gap: 24px; padding-block: var(--section); }

/* ---------- reveal motion ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(16px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); transition-delay: var(--d, 0ms); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html:not([data-motion="on"]) [data-reveal] { opacity: 1 !important; transform: none !important; transition: none !important; }
  html:not([data-motion="on"]) *, html:not([data-motion="on"]) *::before, html:not([data-motion="on"]) *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
html[data-motion="off"] [data-reveal] { opacity: 1 !important; transform: none !important; transition: none !important; }
html[data-motion="off"] *, html[data-motion="off"] *::before, html[data-motion="off"] *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }

@media print {
  .site-header, .hero__visual, .projection-legend, .cta-band, .motion-toggle { display: none !important; }
  body { background: #fff; }
}

/* ---------- additions: 3-up stats ---------- */
@media (min-width: 900px) { .stats--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 899px) {
  .stats--3 { grid-template-columns: minmax(0, 1fr); }
  .stats--3 .stat:nth-child(even) { padding-left: 0; border-left: 0; }
  .stats--3 .stat { display: grid; grid-template-columns: 88px minmax(0, 1fr); align-items: baseline; gap: 16px; padding-right: 0; }
  .stats--3 .stat__label { margin-top: 0; max-width: none; }
}
.section--tint + .cta-band { padding-top: var(--section); }

/* ---------- schematic flow (science, figure 1) ---------- */
.flow { display: grid; gap: 14px; }
@media (min-width: 1000px) {
  .flow { grid-template-columns: minmax(0, 0.9fr) 36px minmax(0, 1.1fr) 36px minmax(0, 1fr) 36px minmax(0, 1.1fr); align-items: center; gap: 0 10px; }
}
.flow__stage { display: grid; gap: 10px; align-content: center; }
.flow__k { font-family: var(--font-mono); font-size: 0.6875rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); }
.flow__node {
  display: flex; align-items: center; gap: 12px; padding: 14px 16px;
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  border-left: 3px solid var(--mist);
}
.flow__node .icon { width: 22px; height: 22px; color: var(--slate); }
.flow__node strong { display: block; font-size: 0.95rem; font-weight: 560; color: var(--ink); line-height: 1.3; }
.flow__node span { display: block; font-size: 0.8125rem; color: var(--ink-3); line-height: 1.4; margin-top: 2px; }
.flow__node--b { border-left-color: var(--iris); }
.flow__node--b .icon { color: var(--iris-ink); }
.flow__node--ai { background: var(--ink); border-color: var(--ink); border-left-color: var(--iris); }
.flow__node--ai strong { color: var(--ivory); }
.flow__node--ai span { color: #B9C6CC; }
.flow__node--ai .icon { color: var(--glacier); }
.flow__node--muted { border-style: dashed; border-left-style: solid; border-left-color: var(--line); background: transparent; }
.flow__arrow { position: relative; height: 26px; }
.flow__arrow::before { content: ""; position: absolute; left: 50%; top: 2px; bottom: 6px; width: 1px; background: var(--mist); }
.flow__arrow::after { content: ""; position: absolute; left: calc(50% - 4px); bottom: 3px; width: 7px; height: 7px; border-right: 1px solid var(--slate); border-bottom: 1px solid var(--slate); transform: rotate(45deg); }
@media (min-width: 1000px) {
  .flow__arrow { height: 14px; margin-top: 22px; }
  .flow__arrow::before { left: 0; right: 6px; top: 50%; bottom: auto; width: auto; height: 1px; }
  .flow__arrow::after { left: auto; right: 3px; bottom: auto; top: calc(50% - 3.5px); transform: rotate(-45deg); }
}

/* ---------- next stage (science) ---------- */
.next { margin-top: clamp(48px, 6vw, 88px); padding-top: clamp(36px, 4vw, 56px); border-top: 1px solid var(--line); display: grid; gap: 32px; }
@media (min-width: 1000px) { .next { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 72px; } }
.next__head { display: grid; gap: 14px; align-content: start; }
.next__head .eyebrow { margin-bottom: 0; }
.next__head p:not(.eyebrow) { font-size: var(--fs-body); }
.objectives { list-style: none; display: grid; gap: 0; border-top: 1px solid var(--line); }
.objectives li { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 2px 12px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.objectives h4 { font-family: var(--font-display); font-size: 1.125rem; font-weight: 520; color: var(--ink); letter-spacing: -0.01em; }
.objectives p { grid-column: 2; font-size: var(--fs-small); }

/* ---------- illustrative funnel (pharma A) ---------- */
.funnel { display: grid; gap: 18px; padding-block: 8px; }
.funnel__row { display: grid; gap: 10px; }
@media (min-width: 640px) { .funnel__row { grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr); align-items: center; gap: 20px; } }
.funnel__bar { display: block; height: 30px; width: var(--w); border-radius: 6px; background: var(--glacier); }
.funnel__row:nth-child(2) .funnel__bar { background: var(--mist); }
.funnel__row:nth-child(3) .funnel__bar { background: var(--iris); }
.funnel__label strong { display: block; color: var(--ink); font-weight: 560; font-size: 0.95rem; }
.funnel__label span { display: block; font-size: 0.8125rem; color: var(--ink-3); }

/* ---------- illustrative timeline (pharma B) ---------- */
.tl { display: grid; gap: 22px; padding-block: 8px; }
.tl__row { display: grid; gap: 8px; }
.tl__name { font-size: 0.95rem; font-weight: 560; color: var(--ink); }
.tl__note { font-size: 0.8125rem; color: var(--ink-3); }
.tl__track { position: relative; height: 22px; margin-inline: 6px; }
.tl__track::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: var(--line); }
.tl__span { position: absolute; top: calc(50% - 1px); height: 2px; left: var(--a); width: calc(var(--b) - var(--a)); background: rgba(25, 39, 45, 0.25); }
.tl__goal { position: absolute; top: calc(50% - 11px); height: 22px; left: var(--a); width: calc(var(--b) - var(--a)); border-radius: 11px; background: rgba(105, 107, 147, 0.12); }
.tl__mark { position: absolute; top: 50%; left: var(--x); width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; background: var(--iris); z-index: 1; }
.tl__mark--ink { width: 12px; height: 12px; margin: -6px 0 0 -6px; background: var(--ink); border-radius: 3px; }
.tl__axis { display: flex; justify-content: space-between; margin-inline: 0; padding-top: 10px; border-top: 1px solid var(--line-soft); font-family: var(--font-mono); font-size: 0.6875rem; letter-spacing: 0.05em; color: var(--ink-3); }

/* ---------- toggle states ---------- */
.pause-btn[data-paused="true"] .i-play { display: block; }
.pause-btn[data-paused="true"] .i-pause { display: none; }

/* ---------- hero caption (changes with the view) ---------- */
.projection-caption { display: flex; align-items: baseline; gap: 10px; margin-top: 12px; min-height: 1.6em; font-size: 0.875rem; color: var(--ink-3); }
.projection-caption .chip { flex: none; transform: translateY(-1px); }
@media (max-width: 640px) { .projection-caption { min-height: 3.2em; font-size: 0.8125rem; } }

/* ---------- small print ---------- */
.note { margin-top: 28px; font-size: 0.8125rem; color: var(--ink-3); max-width: 70ch; }

/* short desktop screens: keep the headline and CTAs above the fold */
@media (min-width: 1000px) and (max-height: 860px) {
  .hero { padding-top: 4px; }
  .hero__visual { height: clamp(250px, min(40vw, 43vh), 500px); }
  .hero__copy { margin-top: 28px; }
  .projection-caption { margin-top: 6px; }
}

/* ---------- hero legend on phones: four data sources plus pause must fit on one row ---------- */
@media (max-width: 640px) {
  .projection-legend .projection-legend__views { flex: 1 1 auto; min-width: 0; margin-left: 0; overflow-x: auto; scrollbar-width: none; }
  .projection-legend .projection-legend__views::-webkit-scrollbar { display: none; }
  .projection-legend .view-btn { font-size: 0.625rem; letter-spacing: 0.02em; padding-inline: 6px; gap: 0; white-space: nowrap; }
  .projection-legend .view-btn__dot { display: none; }
  .projection-legend .view-btn.is-active { text-decoration: underline; text-underline-offset: 4px; }
  .projection-legend .projection-legend__hint { flex: none; }
}
