/* Veridata · site.css — Variant D filter.
   Quiet, paper-forward. Instrument Serif for display, Inter for body.
   One accent (terracotta), used sparingly. Minimal motion.
   rev: 2026-04-20 · D */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body {
  margin: 0; padding: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: 'Inter', -apple-system, Helvetica, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  letter-spacing: -0.005em;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
section { background: transparent; overflow: visible; padding: 0; }

/* ── Type scale (web) ─────────────────────────── */
.display-1, .display-2, .display-3,
.hero h1, .page-hero .h1,
.pipe-col .stage-title, .cap .cap-h,
.case h3, .persp-body .ptitle, .seg .seg-body h3,
.princ .h, .article-body h2, .article-body h3,
.site-foot .brand-block .wordmark, .site-brand {
  font-family: 'Instrument Serif', Georgia, serif;
  font-weight: 400;
}
.display-1 { font-size: clamp(48px, 6.6vw, 92px); line-height: 1.02; letter-spacing: -0.02em; margin: 0; }
.display-2 { font-size: clamp(36px, 4.6vw, 64px); line-height: 1.05; letter-spacing: -0.018em; margin: 0; }
.display-3 { font-size: clamp(26px, 3vw, 40px); line-height: 1.1; letter-spacing: -0.012em; margin: 0; }
.display-1 em, .display-1 .accent,
.display-2 em, .display-2 .accent,
.display-3 em, .display-3 .accent { font-style: italic; font-weight: 400; }
.display-1 .accent, .display-2 .accent, .display-3 .accent { color: var(--accent); }

.lead    { font-size: clamp(17px, 1.35vw, 20px); line-height: 1.6; color: var(--mute-2); max-width: 60ch; font-weight: 400; }
.body-md { font-size: 16px; line-height: 1.65; color: var(--mute-2); max-width: 62ch; }
.small   { font-size: 14px; line-height: 1.55; color: var(--mute); }

.site-eyebrow {
  font-family: 'Inter', sans-serif; font-size: 12px; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--mute);
  display: inline-flex; align-items: center; gap: 10px;
}
.site-eyebrow::before { content: ""; width: 20px; height: 1.5px; background: var(--rule); }
.site-eyebrow.accent { color: var(--accent-ink); font-weight: 600; }
.site-eyebrow.accent::before { background: var(--accent); }

/* ── Container ──────────────────────────────── */
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 32px; }
.wrap-narrow { max-width: 760px; margin: 0 auto; padding: 0 32px; }

/* ── Nav ────────────────────────────────────── */
.site-nav {
  position: sticky; top: 0; z-index: 100;
  background: color-mix(in srgb, var(--paper) 94%, transparent);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--hairline);
}
.site-nav-inner {
  max-width: 1160px; margin: 0 auto; padding: 18px 32px;
  display: flex; align-items: center; justify-content: space-between; gap: 32px;
}
.site-brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: 24px; letter-spacing: -0.01em; line-height: 1;
  text-decoration: none; color: var(--ink);
}
.site-brand em { font-style: italic; }
.site-brand .mark { width: 12px; height: 12px; position: relative; display: inline-block; }
.site-brand .mark::before, .site-brand .mark::after { content: ""; position: absolute; background: var(--accent); }
.site-brand .mark::before { left: 50%; top: 0; width: 1.5px; height: 100%; transform: translateX(-0.75px); }
.site-brand .mark::after  { top: 50%; left: 0; height: 1.5px; width: 100%; transform: translateY(-0.75px); }
.site-nav-links { display: flex; align-items: center; gap: 32px; }
.site-nav-links a {
  font-family: 'Inter', sans-serif; font-size: 15px; font-weight: 400;
  color: var(--mute-2); text-decoration: none;
  padding: 4px 0; transition: color .15s;
}
.site-nav-links a:hover, .site-nav-links a.current { color: var(--ink); }
.site-nav-links a.current { border-bottom: 1.5px solid var(--accent); }
.site-nav-cta {
  font-family: 'Inter', sans-serif; font-size: 14px; font-weight: 500;
  text-decoration: none; background: var(--ink); color: var(--paper);
  padding: 10px 18px; border: 1px solid var(--ink); border-radius: 2px;
  transition: background .15s;
}
.site-nav-cta:hover { background: var(--accent); border-color: var(--accent); }
@media (max-width: 820px) {
  .site-nav-links { display: none; }
  .site-nav-cta { display: none; }
}

/* ── Mobile hamburger + slide-in menu ───────── */
.nav-hamburger {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;
  margin-right: -8px;
  z-index: 101;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--ink);
  margin: 5px 0;
  transition: transform .2s ease, opacity .2s ease;
  border-radius: 1px;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.nav-mobile {
  display: none;
  position: fixed;
  top: 58px;
  left: 0; right: 0; bottom: 0;
  background: var(--paper);
  z-index: 99;
  flex-direction: column;
  padding: 40px 32px 32px;
  gap: 4px;
  border-top: 1px solid var(--hairline);
  overflow-y: auto;
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: 32px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 400;
  letter-spacing: -0.015em;
  padding: 10px 0;
  border-bottom: 1px solid var(--hairline);
}
.nav-mobile a.cta {
  margin-top: 24px;
  font-family: 'Inter', sans-serif;
  font-size: 14.5px;
  font-weight: 500;
  background: var(--ink);
  color: var(--paper);
  padding: 14px 22px;
  border-radius: 2px;
  text-align: center;
  border-bottom: none;
}
@media (max-width: 820px) {
  .nav-hamburger { display: block; }
}

/* ── Section rhythm ─────────────────────────── */
.sec { padding: clamp(64px, 8vw, 112px) 0; position: relative; }
.sec.tight { padding: clamp(40px, 5vw, 72px) 0; }
.sec.ink { background: var(--ink); color: var(--paper); }
.sec.ink .site-eyebrow { color: color-mix(in srgb, var(--paper) 60%, transparent); }
.sec.ink .site-eyebrow::before { background: color-mix(in srgb, var(--paper) 30%, transparent); }
.sec.ink .site-eyebrow.accent { color: var(--accent); }
.sec.ink .site-eyebrow.accent::before { background: var(--accent); }
.sec.ink .lead, .sec.ink .body-md { color: color-mix(in srgb, var(--paper) 72%, transparent); }
.sec.ink .small { color: color-mix(in srgb, var(--paper) 50%, transparent); }
.sec.paper-2 { background: var(--paper-2); }
.sec-head {
  display: grid; grid-template-columns: 1fr 1.7fr; gap: 56px;
  align-items: start; margin-bottom: 48px;
}
.sec-head > .left, .sec-head > .right { display: flex; flex-direction: column; gap: 16px; }
@media (max-width: 820px) { .sec-head { grid-template-columns: 1fr; gap: 20px; } }

/* ── Buttons ────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'Inter', sans-serif; font-size: 14.5px; font-weight: 500;
  text-decoration: none; padding: 12px 22px;
  background: var(--ink); color: var(--paper); border: 1px solid var(--ink);
  border-radius: 2px; transition: background .15s, color .15s, border-color .15s;
}
.btn:hover { background: var(--accent); border-color: var(--accent); }
.btn.ghost { background: transparent; color: var(--ink); border-color: transparent; padding: 12px 4px; }
.btn.ghost { border-bottom: 1.5px solid var(--ink); border-radius: 0; }
.btn.ghost:hover { background: transparent; color: var(--accent); border-bottom-color: var(--accent); }
.btn.accent { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.btn.accent:hover { background: var(--accent); border-color: var(--accent); }
.sec.ink .btn { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.sec.ink .btn:hover { background: var(--accent); color: var(--paper); border-color: var(--accent); }
.sec.ink .btn.ghost { background: transparent; color: var(--paper); border-bottom-color: var(--paper); }
.sec.ink .btn.ghost:hover { color: var(--accent); border-bottom-color: var(--accent); }

.text-link {
  font-family: 'Inter', sans-serif; font-size: 14.5px; font-weight: 500;
  text-decoration: none; color: var(--ink);
  border-bottom: 1.5px solid var(--ink); padding-bottom: 2px;
  display: inline-flex; align-items: center; gap: 6px;
  transition: color .15s, border-color .15s;
}
.text-link:hover { color: var(--accent); border-bottom-color: var(--accent); }
.sec.ink .text-link { color: var(--paper); border-bottom-color: var(--paper); }
.sec.ink .text-link:hover { color: var(--accent); border-bottom-color: var(--accent); }

/* ── Footer ─────────────────────────────────── */
.site-foot { background: var(--ink); color: var(--paper); padding: 64px 32px 32px; }
.site-foot-inner { max-width: 1160px; margin: 0 auto; }
.site-foot-grid {
  display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 40px;
  padding-bottom: 48px; border-bottom: 1px solid color-mix(in srgb, var(--paper) 15%, transparent);
}
.site-foot .brand-block { display: flex; flex-direction: column; gap: 14px; }
.site-foot .brand-block .wordmark { font-size: 36px; letter-spacing: -0.01em; line-height: 1; }
.site-foot .brand-block .wordmark em { font-style: italic; }
.site-foot .brand-block .wordmark .accent { color: var(--accent); font-style: italic; }
.site-foot .brand-block p { font-size: 14px; line-height: 1.6; color: color-mix(in srgb, var(--paper) 60%, transparent); max-width: 34ch; margin: 0; }
.site-foot .col-h { font-family: 'Inter', sans-serif; font-size: 12px; letter-spacing: 0.12em; color: color-mix(in srgb, var(--paper) 55%, transparent); text-transform: uppercase; margin-bottom: 14px; font-weight: 500; }
.site-foot ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.site-foot ul a { color: color-mix(in srgb, var(--paper) 82%, transparent); text-decoration: none; font-size: 14px; }
.site-foot ul a:hover { color: var(--accent); }
.site-foot-bottom {
  padding-top: 28px;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px;
  font-family: 'Inter', sans-serif; font-size: 13px;
  color: color-mix(in srgb, var(--paper) 50%, transparent);
}
.site-foot-bottom .accent-dot { color: var(--accent); }
.site-foot-address {
  margin-top: 22px; padding-top: 18px;
  border-top: 1px solid color-mix(in srgb, var(--paper) 8%, transparent);
  font-family: 'Inter', sans-serif; font-size: 12px; letter-spacing: 0.04em;
  color: color-mix(in srgb, var(--paper) 40%, transparent);
  text-align: center;
}
@media (max-width: 980px) { .site-foot-grid { grid-template-columns: repeat(3, 1fr); gap: 32px; } }
@media (max-width: 720px)  { .site-foot-grid { grid-template-columns: 1fr 1fr; gap: 28px; } }

/* ── HERO (homepage) — D layout ────────────── */
.hero { padding: clamp(72px, 10vw, 128px) 0 clamp(56px, 7vw, 96px); border-bottom: 1px solid var(--hairline); }
.hero-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 72px; align-items: center; }
.hero .lede { display: flex; flex-direction: column; gap: 22px; }
.hero h1 {
  font-family: 'Instrument Serif', Georgia, serif; font-weight: 400;
  font-size: clamp(46px, 6vw, 84px); line-height: 1.02;
  letter-spacing: -0.02em; margin: 0; max-width: 13ch;
}
.hero h1 em, .hero h1 .accent { font-style: italic; }
.hero h1 .accent { color: var(--accent); }
.hero-ctas { display: flex; gap: 20px; flex-wrap: wrap; align-items: center; margin-top: 12px; }
.hero-proof {
  margin-top: 24px; font-size: 14px; color: var(--ink); font-weight: 500;
  letter-spacing: -0.005em;
}
.hero-trust {
  margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--hairline);
  display: flex; gap: 20px; flex-wrap: wrap; align-items: center;
  font-size: 13.5px; color: var(--mute);
}
.hero-trust .check { color: var(--accent); font-weight: 600; }
.hero-trust .sep { color: var(--rule); }

/* right side — one clean artifact card */
.hero-artifact {
  background: var(--paper); border: 1px solid var(--hairline); border-radius: 4px;
  overflow: hidden; box-shadow: 0 1px 0 var(--hairline);
}
.hero-artifact .art-head {
  display: flex; align-items: center; gap: 8px; padding: 12px 16px;
  border-bottom: 1px solid var(--hairline); background: var(--paper-2);
  font-size: 12.5px; color: var(--mute);
}
.hero-artifact .art-head .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--hairline); }
.hero-artifact .art-head .dot.live { background: var(--accent); }
.hero-artifact .art-body { padding: 28px 32px 32px; display: flex; flex-direction: column; gap: 22px; }
.hero-artifact .q-label { font-size: 12px; color: var(--mute); letter-spacing: 0.08em; text-transform: uppercase; }
.hero-artifact .q-text {
  font-family: 'Instrument Serif', Georgia, serif; font-weight: 400; font-style: italic;
  font-size: 22px; line-height: 1.35; color: var(--ink); margin: 0;
}
.hero-artifact .arrow {
  font-family: 'Instrument Serif', Georgia, serif; font-style: italic; font-size: 18px;
  color: var(--accent); padding-left: 2px;
}
.hero-artifact .a-label { font-size: 12px; color: var(--accent-ink); letter-spacing: 0.08em; text-transform: uppercase; font-weight: 600; }
.hero-artifact .a-number {
  font-family: 'Instrument Serif', Georgia, serif; font-weight: 400;
  font-size: 72px; line-height: 1; letter-spacing: -0.02em; color: var(--ink);
  display: flex; align-items: baseline; gap: 14px;
}
.hero-artifact .a-number .unit {
  font-size: 15px; color: var(--mute); font-style: italic; font-family: 'Instrument Serif', Georgia, serif;
  letter-spacing: 0;
}
.hero-artifact .a-sub { font-size: 14px; color: var(--mute-2); line-height: 1.55; margin: 0; }
.hero-artifact .a-sub strong { color: var(--ink); font-weight: 600; }
.hero-artifact .foot {
  padding: 14px 16px; border-top: 1px solid var(--hairline); background: var(--paper);
  display: flex; justify-content: space-between; align-items: center;
  font-size: 12px; color: var(--mute);
}
.hero-artifact .foot .sig { color: var(--accent-ink); font-weight: 600; }

@media (max-width: 980px) { .hero-grid { grid-template-columns: 1fr; gap: 48px; } }

/* ── Trust strip ─────────────────────────────── */
.trust { padding: 22px 0; border-bottom: 1px solid var(--hairline); background: var(--paper); }
.trust-inner { max-width: 1160px; margin: 0 auto; padding: 0 32px; display: flex; align-items: center; gap: 32px; flex-wrap: wrap; justify-content: space-between; }
.trust-label { font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--mute); font-weight: 500; }
.trust-items { display: flex; gap: 28px; flex-wrap: wrap; align-items: center; }
.trust-item { font-size: 13.5px; color: var(--mute-2); }
.trust-item .check { color: var(--accent); margin-right: 6px; }
.trust-logo { height: 20px; width: auto; opacity: .7; filter: grayscale(1); }
.trust-dot { color: var(--rule); }

/* ── Pipeline (thesis) ───────────────────────── */
.pipe {
  display: grid; grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline);
}
.pipe-col {
  padding: 36px 32px; min-height: 280px;
  display: flex; flex-direction: column; gap: 14px;
  border-right: 1px solid var(--hairline); position: relative; background: var(--paper);
}
.pipe-col:last-child { border-right: none; }
.pipe-col.paper-2 { background: var(--paper); }
.pipe-col .stage {
  font-family: 'Inter', sans-serif; font-size: 12px; letter-spacing: 0.1em;
  color: var(--mute); text-transform: uppercase; font-weight: 500;
  display: flex; align-items: baseline; gap: 10px;
}
.pipe-col .stage .n { color: var(--accent); font-weight: 600; }
.pipe-col .stage-title {
  font-family: 'Instrument Serif', Georgia, serif; font-size: 30px; font-weight: 400;
  letter-spacing: -0.012em; line-height: 1.08; margin: 6px 0;
}
.pipe-col .stage-title em, .pipe-col .stage-title .accent { font-style: italic; }
.pipe-col .stage-title .accent { color: var(--accent); }
.pipe-col p { font-size: 15px; line-height: 1.6; color: var(--mute-2); margin: 0; max-width: 36ch; }
.pipe-items { display: none; }  /* drop the terminal chatter */

/* ── Capability cards ────────────────────────── */
.caps { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; border-top: 1px solid var(--hairline); }
.cap {
  padding: 32px; display: flex; flex-direction: column; gap: 12px;
  border-right: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline);
  min-height: 220px; background: var(--paper);
  text-decoration: none; color: inherit; transition: background .15s;
}
.cap:hover { background: var(--paper-2); }
.cap:nth-child(2n) { border-right: none; }
.cap .cap-n { font-family: 'Inter', sans-serif; font-size: 12px; letter-spacing: 0.1em; color: var(--mute); text-transform: uppercase; font-weight: 500; }
.cap .cap-h { font-family: 'Instrument Serif', Georgia, serif; font-size: 30px; letter-spacing: -0.012em; line-height: 1.08; font-weight: 400; }
.cap .cap-h em, .cap .cap-h .accent { font-style: italic; }
.cap .cap-h .accent { color: var(--accent); }
.cap p { font-size: 14.5px; line-height: 1.6; color: var(--mute-2); margin: 0; max-width: 40ch; }
.cap .cap-tail { margin-top: auto; font-size: 13px; color: var(--accent-ink); font-weight: 500; display: flex; align-items: center; gap: 6px; padding-top: 12px; }
@media (max-width: 820px) {
  .caps { grid-template-columns: 1fr; }
  .cap { border-right: none; }
  .pipe { grid-template-columns: 1fr; }
  .pipe-col { border-right: none; border-bottom: 1px solid var(--hairline); min-height: auto; }
}

/* ── Fade-in ────────────────────────────────── */
.fade { opacity: 0; transform: translateY(12px); transition: opacity .6s ease, transform .6s ease; }
.fade.show { opacity: 1; transform: none; }
.fade.d1 { transition-delay: .05s; } .fade.d2 { transition-delay: .12s; } .fade.d3 { transition-delay: .19s; } .fade.d4 { transition-delay: .26s; }

/* ── Persona pills (quieter) ───────────────── */
.persona-row { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-top: 4px; }
.persona-label { font-size: 13px; color: var(--mute); margin-right: 6px; }
.persona-pill { font-family: 'Inter', sans-serif; font-size: 13.5px; padding: 6px 12px; border: 1px solid var(--hairline); background: transparent; color: var(--mute-2); cursor: pointer; border-radius: 2px; transition: all .15s; }
.persona-pill:hover { border-color: var(--ink); color: var(--ink); }
.persona-pill.active { background: var(--ink); color: var(--paper); border-color: var(--ink); }

/* ── Tabs ───────────────────────────────────── */
.tabs-bar { display: flex; gap: 0; border-bottom: 1px solid var(--hairline); margin-bottom: 32px; flex-wrap: wrap; }
.tab-btn { font-family: 'Inter', sans-serif; font-size: 14px; font-weight: 500; padding: 14px 20px; background: transparent; border: none; cursor: pointer; color: var(--mute); border-bottom: 2px solid transparent; margin-bottom: -1px; transition: color .15s, border-color .15s; }
.tab-btn:hover { color: var(--ink); }
.tab-btn.active { color: var(--ink); border-bottom-color: var(--accent); }
.tab-panel { display: none; }
.tab-panel.active { display: grid; animation: tab-in .28s ease; }
@keyframes tab-in { from { opacity: 0; } to { opacity: 1; } }

/* ── Storylane frame ─────────────────────────── */
.storylane-wrap { border: 1px solid var(--hairline); background: var(--paper); padding: 12px; border-radius: 4px; }
.storylane-frame { position: relative; width: 100%; aspect-ratio: 16/10; background: var(--paper-2); border: 1px solid var(--hairline); display: flex; align-items: center; justify-content: center; overflow: hidden; border-radius: 2px; }
.storylane-frame .ph { text-align: center; display: flex; flex-direction: column; gap: 12px; align-items: center; color: var(--mute); }
.storylane-frame .ph .mono { font-family: 'Inter', sans-serif; font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; }
.storylane-frame .ph .big { font-family: 'Instrument Serif', Georgia, serif; font-size: 36px; line-height: 1; letter-spacing: -0.01em; color: var(--ink); font-style: italic; }
.storylane-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.storylane-caption { margin-top: 14px; display: flex; justify-content: space-between; align-items: baseline; gap: 24px; flex-wrap: wrap; font-size: 13px; color: var(--mute); padding: 0 4px; }
.storylane-caption .title { color: var(--ink); font-weight: 500; }

/* ── Cases ──────────────────────────────────── */
.cases-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.case { background: var(--paper); border: 1px solid var(--hairline); padding: 28px; display: flex; flex-direction: column; gap: 14px; border-radius: 4px; transition: border-color .15s; }
.case:hover { border-color: var(--ink); }
.case .segment { font-family: 'Inter', sans-serif; font-size: 12px; letter-spacing: 0.1em; color: var(--accent-ink); text-transform: uppercase; font-weight: 600; }
.case h3 { font-family: 'Instrument Serif', Georgia, serif; font-size: 24px; letter-spacing: -0.01em; line-height: 1.2; margin: 0; font-weight: 400; }
.case h3 em { font-style: italic; }
.case .problem, .case .outcome { font-size: 14.5px; line-height: 1.6; color: var(--mute-2); margin: 0; }
.case .metric-row { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--hairline); display: flex; gap: 28px; }
.case .metric-row .m { display: flex; flex-direction: column; gap: 4px; }
.case .metric-row .m .v { font-family: 'Instrument Serif', Georgia, serif; font-size: 26px; letter-spacing: -0.01em; line-height: 1; color: var(--ink); }
.case .metric-row .m .l { font-family: 'Inter', sans-serif; font-size: 12px; color: var(--mute); }
a.case { text-decoration: none; color: inherit; }
.case .case-link {
  margin-top: 14px; padding-top: 14px; border-top: 1px dashed var(--hairline);
  font-family: 'Inter', sans-serif; font-size: 13px; font-weight: 500;
  color: var(--accent-ink); transition: color .15s;
}
a.case:hover .case-link { color: var(--accent); }
.cases-disclaimer { margin-top: 28px; font-size: 13px; color: var(--mute); font-style: italic; }
@media (max-width: 980px) { .cases-grid { grid-template-columns: 1fr !important; } }

/* ── Segment cases (on solutions page) ─────── */
.seg-cases { margin-top: 28px; padding-top: 24px; border-top: 1px dashed var(--hairline); }
.seg-cases-label { font-family: 'Inter', sans-serif; font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--mute); font-weight: 500; margin-bottom: 16px; }
.seg-cases-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.seg-cases-grid.single { grid-template-columns: 1fr; max-width: 580px; }
.seg-cases-grid.triple { grid-template-columns: repeat(3, 1fr); }
.seg-cases-grid .case { padding: 20px; gap: 10px; }
.seg-cases-grid .case h3 { font-size: 20px; }
.seg-cases-grid .case .problem, .seg-cases-grid .case .outcome { font-size: 13.5px; }
.seg-cases-grid .case .metric-row .m .v { font-size: 22px; }
@media (max-width: 980px) { .seg-cases-grid, .seg-cases-grid.triple { grid-template-columns: 1fr; } }

/* ── Pull quote ──────────────────────────────── */
.pull {
  font-family: 'Instrument Serif', Georgia, serif; font-weight: 400; font-style: italic;
  font-size: clamp(26px, 3.2vw, 40px); line-height: 1.3; letter-spacing: -0.01em;
  color: var(--ink); max-width: 26ch; margin: 0;
}
.pull-attr { font-size: 13px; color: var(--mute); margin-top: 16px; }
.pull-attr strong { color: var(--ink); font-weight: 600; }

/* ── Perspectives teaser ─────────────────────── */
.persp-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.persp-card { background: var(--paper); border: 1px solid var(--hairline); text-decoration: none; color: inherit; display: flex; flex-direction: column; border-radius: 4px; transition: border-color .15s; overflow: hidden; }
.persp-card:hover { border-color: var(--ink); }
.persp-thumb { background: var(--paper-2); color: var(--ink); padding: 24px 28px; min-height: 140px; display: flex; flex-direction: column; justify-content: space-between; border-bottom: 1px solid var(--hairline); }
.persp-thumb .kind { font-family: 'Inter', sans-serif; font-size: 11.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent-ink); font-weight: 600; }
.persp-thumb .nn { font-family: 'Instrument Serif', Georgia, serif; font-size: 72px; line-height: 0.9; letter-spacing: -0.02em; color: var(--hairline); font-style: italic; }
.persp-body { padding: 20px 28px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.persp-body .ptitle { font-family: 'Instrument Serif', Georgia, serif; font-size: 22px; letter-spacing: -0.008em; line-height: 1.2; font-weight: 400; }
.persp-body .pexc { font-size: 14px; line-height: 1.55; color: var(--mute-2); }
.persp-body .pmeta { margin-top: auto; padding-top: 14px; font-family: 'Inter', sans-serif; font-size: 12px; color: var(--mute); }

/* ── Product screenshot frame ────────────────── */
.shot-frame { border: 1px solid var(--hairline); background: var(--paper); padding: 10px; border-radius: 4px; }
.shot-frame img { width: 100%; display: block; border: 1px solid var(--hairline); background: var(--paper); border-radius: 2px; }
.shot-caption { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; margin-top: 12px; font-size: 13px; color: var(--mute); padding: 0 4px; }
.shot-caption .t { color: var(--ink); font-weight: 500; }

/* ── Architecture stack ──────────────────────── */
.stack { display: flex; flex-direction: column; gap: 4px; }
.stack-row {
  display: grid; grid-template-columns: 120px 1fr auto; gap: 20px; align-items: center;
  padding: 18px 20px; background: var(--paper); border: 1px solid var(--hairline); border-radius: 2px;
}
.stack-row.accent { border-color: var(--accent); background: var(--accent-wash); }
.stack-row.ink { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.stack-row .tag { font-family: 'Inter', sans-serif; font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--mute); font-weight: 500; }
.stack-row.accent .tag { color: var(--accent-ink); font-weight: 600; }
.stack-row.ink .tag { color: color-mix(in srgb, var(--paper) 60%, transparent); }
.stack-row .name { font-family: 'Inter', sans-serif; font-size: 15px; font-weight: 500; }
.stack-row .note { font-family: 'Inter', sans-serif; font-size: 13px; color: var(--mute); text-align: right; }
.stack-row.ink .note { color: color-mix(in srgb, var(--paper) 60%, transparent); }

/* Architecture stack on mobile — fixed `120px 1fr auto` overflows below ~600px
   because the .note text ("OMOP · FHIR R4 · HL7 v2 · DICOM SR · VCF") doesn't
   fit the auto column at narrow widths. Stack vertically: tag+name on one row,
   note wraps below. */
@media (max-width: 720px) {
  .stack-row {
    grid-template-columns: auto 1fr;
    grid-template-areas: "tag name" "note note";
    gap: 4px 14px; padding: 14px 16px;
  }
  .stack-row .tag { grid-area: tag; }
  .stack-row .name { grid-area: name; }
  .stack-row .note {
    grid-area: note; text-align: left;
    font-size: 12px; padding-top: 4px;
  }
}

/* Contact form row — Name+Company side-by-side on tablet+, stacked on phone */
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 480px) { .form-row { grid-template-columns: 1fr; } }

/* ── Spec blocks ─────────────────────────────── */
.spec-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--hairline); }
.spec { padding: 24px; border-right: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); display: flex; flex-direction: column; gap: 8px; }
.spec:last-child { border-right: none; }
.spec .k { font-family: 'Inter', sans-serif; font-size: 12px; letter-spacing: 0.1em; color: var(--mute); text-transform: uppercase; font-weight: 500; }
.spec .v { font-family: 'Instrument Serif', Georgia, serif; font-size: 30px; line-height: 1; letter-spacing: -0.01em; }
.spec .v em { font-style: italic; } .spec .v.accent { color: var(--accent); }
.spec .sub { font-size: 13.5px; color: var(--mute-2); line-height: 1.5; }

/* ── Utility ─────────────────────────────────── */
.rule-top { border-top: 1px solid var(--hairline); padding-top: 24px; }
.rule-top.accent { border-top-color: var(--accent); border-top-width: 2px; }
.cluster { display: flex; flex-direction: column; gap: 18px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
@media (max-width: 820px) { .grid-2 { grid-template-columns: 1fr; gap: 32px; } }
.kbd { font-family: 'Inter', sans-serif; font-size: 12px; padding: 2px 6px; background: var(--paper-2); border: 1px solid var(--hairline); color: var(--mute-2); border-radius: 2px; }

/* ── Page hero (subpages) ────────────────────── */
.page-hero { padding: clamp(64px, 8vw, 112px) 0 clamp(32px, 4vw, 64px); border-bottom: 1px solid var(--hairline); }
.page-hero .h1 { font-family: 'Instrument Serif', Georgia, serif; font-weight: 400; font-size: clamp(42px, 5.2vw, 76px); line-height: 1.04; letter-spacing: -0.02em; margin: 0; max-width: 18ch; }
.page-hero .h1 em { font-style: italic; }
.page-hero .h1 .accent { color: var(--accent); font-style: italic; }
.page-hero .lead { margin-top: 20px; }

/* ── Segments (Solutions) ────────────────────── */
.seg-tabs { display: flex; flex-direction: column; border-top: 1px solid var(--hairline); }
.seg { display: grid; grid-template-columns: 200px 1fr; gap: 40px; padding: 36px 0; border-bottom: 1px solid var(--hairline); align-items: start; }
.seg .seg-label { font-family: 'Inter', sans-serif; font-size: 12px; letter-spacing: 0.12em; color: var(--accent-ink); text-transform: uppercase; font-weight: 600; padding-top: 10px; }
.seg .seg-body h3 { font-family: 'Instrument Serif', Georgia, serif; font-size: 30px; font-weight: 400; letter-spacing: -0.012em; line-height: 1.1; margin: 0 0 12px; }
.seg .seg-body h3 em { font-style: italic; }
.seg .seg-body p { font-size: 15.5px; line-height: 1.65; color: var(--mute-2); margin: 0 0 18px; max-width: 58ch; }
.seg .seg-list { display: flex; flex-wrap: wrap; gap: 6px; }
.seg .seg-list .chip { font-family: 'Inter', sans-serif; font-size: 12.5px; padding: 5px 10px; background: var(--paper-2); border: 1px solid var(--hairline); color: var(--mute-2); border-radius: 2px; }
@media (max-width: 820px) { .seg { grid-template-columns: 1fr; gap: 12px; } }

/* ── Principles grid ─────────────────────────── */
.princ-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 36px 56px; }
.princ { border-top: 1px solid var(--hairline); padding-top: 22px; display: flex; flex-direction: column; gap: 12px; }
.princ.accent-top { border-top-color: var(--accent); border-top-width: 2px; }
.princ .n { font-family: 'Inter', sans-serif; font-size: 12px; letter-spacing: 0.1em; color: var(--mute); font-weight: 500; }
.princ .h { font-family: 'Instrument Serif', Georgia, serif; font-size: 26px; line-height: 1.15; letter-spacing: -0.01em; font-weight: 400; }
.princ .h em { font-style: italic; } .princ .h .accent { color: var(--accent); font-style: italic; }
.princ p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--mute-2); }
@media (max-width: 820px) { .princ-grid { grid-template-columns: 1fr; } }

/* ── Article (Perspectives) ──────────────────── */
.article-body { max-width: 640px; margin: 0 auto; }
.article-body h2 { font-family: 'Instrument Serif', Georgia, serif; font-size: 32px; font-weight: 400; letter-spacing: -0.012em; line-height: 1.2; margin: 40px 0 14px; }
.article-body h2 em { font-style: italic; }
.article-body h3 { font-family: 'Instrument Serif', Georgia, serif; font-size: 22px; font-weight: 400; letter-spacing: -0.008em; margin: 28px 0 10px; }
.article-body p { font-size: 17px; line-height: 1.7; color: var(--mute-2); margin: 0 0 20px; }
.article-body blockquote { margin: 28px 0; padding: 6px 0 6px 20px; border-left: 2px solid var(--accent); font-family: 'Instrument Serif', Georgia, serif; font-style: italic; font-size: 21px; line-height: 1.4; color: var(--ink); }
.article-body ul { padding-left: 20px; }
.article-body ul li { font-size: 16.5px; line-height: 1.7; color: var(--mute-2); margin-bottom: 6px; }
.article-meta { max-width: 640px; margin: 0 auto 32px; display: flex; gap: 20px; font-family: 'Inter', sans-serif; font-size: 12px; color: var(--mute); }
.article-meta .dot { color: var(--accent); }

/* Hero-side legacy (milestones) — kept simple, quiet */
.hero-side { display: none; }

/* Kill leftover heavy motion just in case any class sneaks through */
.page-curtain, .cursor-ring { display: none !important; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
