/* Emtif. Paper and ink, one ultramarine accent, self-hosted type (no third-party requests). */
@font-face { font-family: "Geist"; font-style: normal; font-weight: 300 700; font-display: swap; src: url("/assets/fonts/Geist-normal-300_700.19f9c92546.woff2") format("woff2"); }
@font-face { font-family: "Geist Mono"; font-style: normal; font-weight: 400 500; font-display: swap; src: url("/assets/fonts/GeistMono-normal-400.684ad5b531.woff2") format("woff2"); }
@font-face { font-family: "Instrument Serif"; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/InstrumentSerif-normal-400.5eb09b5ac0.woff2") format("woff2"); }
@font-face { font-family: "Instrument Serif"; font-style: italic; font-weight: 400; font-display: swap; src: url("/assets/fonts/InstrumentSerif-italic-400.5a51946dff.woff2") format("woff2"); }

:root {
  --paper: #F3F0E8;
  --paper-2: #E9E5DA;
  --ink: #0D0D0F;
  --ink-2: #2A2A2E;
  --mute: #66635B;
  --line: rgba(13, 13, 15, 0.12);
  --line-2: rgba(13, 13, 15, 0.22);
  --accent: #2F3CFF;
  --accent-soft: rgba(47, 60, 255, 0.1);
  --dark: #0B0B0D;
  --dark-2: #151518;
  --on-dark: #EDEAE2;
  --on-dark-mute: #A3A098;
  --line-dark: rgba(237, 234, 226, 0.13);
  --accent-on-dark: #8A92FF;
  --serif: "Instrument Serif", "Iowan Old Style", Georgia, serif;
  --sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --gutter: clamp(20px, 4.2vw, 64px);
  --max: 1320px;
  --nav-h: 68px;
  --section: clamp(88px, 14vh, 168px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: var(--nav-h); }
body {
  margin: 0; background: var(--paper); color: var(--ink); font: 400 16px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip;
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p, figure, dl, dd { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, dt { text-wrap: balance; }
p, li, dd { text-wrap: pretty; }
::selection { background: var(--accent); color: #fff; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; max-width: calc(var(--max) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.display { font-family: var(--serif); font-weight: 400; letter-spacing: -0.01em; line-height: 1; }
.display em { font-style: italic; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: var(--paper);
  padding: 12px 16px; border-radius: 8px; text-decoration: none; transition: top 0.2s var(--ease-out); }
.skip:focus { top: 12px; }
.sec-title { font-size: clamp(42px, 5.8vw, 92px); margin-bottom: clamp(36px, 6vh, 72px); }

/* ---------------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 24px;
  border-radius: 999px; font: 500 15px/1.2 var(--sans); text-decoration: none; cursor: pointer; border: 1px solid transparent;
  transition: transform 160ms var(--ease-out), background-color 200ms ease, color 200ms ease, border-color 200ms ease;
  -webkit-tap-highlight-color: transparent; text-align: center;
}
.btn:active { transform: scale(0.97); }
.btn.solid { background: var(--ink); color: var(--paper); }
.btn.ghost { border-color: var(--line-2); color: var(--ink); background: transparent; }
.btn.light { background: var(--on-dark); color: var(--ink); }
.btn.small { min-height: 44px; padding: 0 18px; font-size: 14px; }
.btn[disabled] { opacity: 0.6; cursor: progress; }
@media (hover: hover) and (pointer: fine) {
  .btn.solid:hover { background: var(--accent); }
  .btn.ghost:hover { border-color: var(--ink); }
  .btn.light:hover { background: #fff; }
}

/* ---------------------------------------------------------------- nav */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--nav-h); display: grid;
  grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; padding: 0 var(--gutter);
  transition: background-color 300ms ease, box-shadow 300ms ease, color 300ms ease, transform 400ms var(--ease-out);
}
.nav.scrolled { background: rgba(243, 240, 232, 0.94); box-shadow: 0 1px 0 var(--line); }
.nav.on-dark { color: var(--on-dark); }
.nav.on-dark.scrolled { background: rgba(11, 11, 13, 0.94); box-shadow: 0 1px 0 var(--line-dark); }
.nav.on-accent { color: #fff; }
.nav.on-accent.scrolled { background: rgba(47, 60, 255, 0.96); box-shadow: none; }
.nav.on-dark .nav-cta, .nav.on-accent .nav-cta { background: var(--on-dark); color: var(--ink); }
.nav.hide { transform: translateY(-100%); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 600 21px/1 var(--sans);
  letter-spacing: -0.035em; justify-self: start; min-height: 44px; }
.brand .mark { width: 30px; height: 30px; }
.brand .dot { fill: var(--accent); }
.nav.on-accent .brand .dot { fill: #fff; }
.nav-links { display: flex; gap: 2px; }
.nav-links a { text-decoration: none; font-size: 14.5px; padding: 0 14px; min-height: 44px; display: inline-flex; align-items: center;
  border-radius: 999px; opacity: 0.8; transition: opacity 200ms ease, background-color 200ms ease; }
.nav-links a:hover, .nav-links a[aria-current="page"] { opacity: 1; background: var(--line); }
.nav.on-dark .nav-links a:hover { background: var(--line-dark); }
.nav-cta { justify-self: end; }
.nav.simple { grid-template-columns: 1fr auto; }
.nav.simple .nav-cta { display: inline-flex !important; }
.menu { display: none; justify-self: end; width: 44px; height: 44px; border: 0; background: none; color: inherit;
  cursor: pointer; position: relative; border-radius: 999px; }
.menu span:not(.sr) { position: absolute; left: 12px; right: 12px; height: 1.5px; background: currentColor;
  transition: transform 300ms var(--ease-out), top 300ms var(--ease-out); }
.menu span:nth-child(1) { top: 18px; } .menu span:nth-child(2) { top: 25px; }
.menu[aria-expanded="true"] span:nth-child(1) { top: 21.5px; transform: rotate(45deg); }
.menu[aria-expanded="true"] span:nth-child(2) { top: 21.5px; transform: rotate(-45deg); }
.sheet { position: fixed; inset: 0; z-index: 40; background: var(--paper); padding: calc(var(--nav-h) + 16px) var(--gutter) 32px;
  opacity: 0; transition: opacity 220ms var(--ease-out); overflow-y: auto; }
.sheet.open { opacity: 1; }
.sheet nav { display: flex; flex-direction: column; }
.sheet a { font: 400 clamp(32px, 9vw, 44px)/1.15 var(--serif); text-decoration: none; padding: 10px 0; border-bottom: 1px solid var(--line); }

/* ---------------------------------------------------------------- hero */
.hero { position: relative; min-height: 100svh; display: grid; overflow: hidden; padding-top: var(--nav-h); }
.field { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0;
  transform: translate3d(0, var(--hero-shift, 0px), 0); opacity: var(--hero-fade, 1); }
.hero-copy { position: relative; z-index: 1; align-self: center; padding-top: clamp(24px, 5vh, 64px); padding-bottom: clamp(40px, 8vh, 96px); }
.hero h1 { font-size: clamp(54px, 7.6vw, 140px); max-width: 6.2em; margin: 0 0 28px; }
.hero .lede { max-width: min(35em, 52vw); }
.lede { font-size: clamp(17px, 1.35vw, 20px); line-height: 1.55; color: var(--ink-2); max-width: 35em; font-weight: 350; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }

/* ---------------------------------------------------------------- statement */
.statement { padding-top: var(--section); padding-bottom: var(--section); }
.statement p { font-size: clamp(30px, 3.9vw, 62px); line-height: 1.1; max-width: 18em; }

/* ---------------------------------------------------------------- dark sections */
.products, .approach, .next { background: var(--dark); color: var(--on-dark); padding: var(--section) 0; }
.products p, .approach p, .next dd { color: var(--on-dark-mute); }

/* ---------------------------------------------------------------- products */
.product { border: 1px solid var(--line-dark); border-radius: 22px; padding: clamp(24px, 3.2vw, 44px); background: var(--dark-2); }
.product h3 { font-size: clamp(48px, 5.4vw, 88px); color: var(--on-dark); margin: 10px 0 18px; }
.products .p-tag { color: var(--accent-on-dark); font-size: 14px; }
.product.big { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(24px, 4vw, 64px); align-items: center; }
.p-lede { font-size: clamp(16px, 1.25vw, 18.5px); line-height: 1.6; max-width: 32em; }
.facts { margin: 26px 0 30px; display: grid; gap: 10px; }
.facts li { position: relative; padding-left: 20px; color: var(--on-dark); font-size: 15px; }
.facts li::before { content: ""; position: absolute; left: 0; top: 0.75em; width: 8px; height: 1px; background: var(--accent-on-dark); }
.p-art { position: relative; border-radius: 16px; background: #0E0E11; border: 1px solid var(--line-dark); padding: 20px; overflow: hidden; }
.bench { width: 100%; height: auto; color: rgba(237, 234, 226, 0.5); }
.reticle path { stroke: var(--accent-on-dark); stroke-width: 2; fill: none; }
.reticle .tag-bg { fill: var(--accent-on-dark); }
.reticle text { font: 500 10.5px var(--mono); fill: #0B0B0D; }
.in .reticle { animation: hop 12s var(--ease-in-out) infinite; }
@keyframes hop {
  0%, 21% { transform: translate(0, 0); } 25%, 46% { transform: translate(180px, 0); }
  50%, 71% { transform: translate(180px, 80px); } 75%, 96% { transform: translate(0, 80px); } 100% { transform: translate(0, 0); }
}
.steps { margin-top: 12px; display: grid; gap: 6px; color: var(--on-dark-mute); font-size: 13.5px; }
.steps li { display: flex; gap: 10px; align-items: baseline; }
.steps li::before { content: ""; width: 10px; height: 10px; border-radius: 3px; border: 1px solid var(--line-dark); flex: none; transform: translateY(1px); }
.steps .done, .steps .now { color: var(--on-dark); }
.steps .done::before { background: var(--accent-on-dark); border-color: var(--accent-on-dark); }
.steps .now::before { border-color: var(--accent-on-dark); }

.product.funds { margin-top: 20px; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: clamp(24px, 4vw, 64px); align-items: end; }
.product.funds h3 { font-size: clamp(40px, 4vw, 64px); }
.product.funds > div > p:last-child { max-width: 34em; }
.pipe-wrap figcaption { margin-top: 10px; font-size: 12.5px; color: var(--on-dark-mute); }
.pipe { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.pipe-col { display: flex; flex-direction: column; gap: 6px; }
.pipe-col span { color: var(--on-dark-mute); font-size: 12px; margin-bottom: 4px; }
.pipe-col i { display: block; height: 26px; border-radius: 6px; background: rgba(237, 234, 226, 0.06); border: 1px solid var(--line-dark);
  transform: translateX(-10px); opacity: 0; transition: transform 700ms var(--ease-out), opacity 700ms ease; }
.pipe-col i.hot { background: rgba(138, 146, 255, 0.18); border-color: rgba(138, 146, 255, 0.5); }
.in .pipe-col i { transform: none; opacity: 1; }
.in .pipe-col:nth-child(2) i { transition-delay: 150ms; } .in .pipe-col:nth-child(3) i { transition-delay: 300ms; }
.in .pipe-col:nth-child(4) i { transition-delay: 450ms; }

.auto { margin-top: clamp(56px, 9vh, 104px); display: grid; grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr); gap: 12px clamp(24px, 4vw, 64px);
  border-top: 1px solid var(--line-dark); padding-top: clamp(28px, 4vh, 44px); }
.auto h3 { font-size: clamp(36px, 3.4vw, 54px); grid-row: span 2; }
.auto p { font-size: 17px; max-width: 38em; }
.flow { display: flex; align-items: center; margin-top: 18px; }
.flow .node { border: 1px solid var(--line-dark); border-radius: 8px; padding: 10px 12px; color: var(--on-dark); white-space: nowrap; font: 12px var(--mono); }
.flow .node.agent { border-color: rgba(138, 146, 255, 0.6); color: var(--accent-on-dark); }
.flow .wire { flex: 1; height: 1px; background: var(--line-dark); position: relative; min-width: 18px; overflow: hidden; }
.flow .wire b { position: absolute; top: -1px; left: 0; width: 16px; height: 3px; border-radius: 2px; background: var(--accent-on-dark); opacity: 0; }
.in .flow .wire b { animation: packet 3.2s var(--ease-in-out) infinite; }
.in .flow .wire + .node + .wire b { animation-delay: 1.6s; }
@keyframes packet { 0% { left: 0; opacity: 0; } 10% { opacity: 1; } 90% { opacity: 1; } 100% { left: 100%; opacity: 0; } }

/* ---------------------------------------------------------------- capabilities: uneven grid */
.caps { padding-top: var(--section); padding-bottom: var(--section); }
.cap-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 3vw, 44px) clamp(20px, 2.4vw, 36px); }
.cap.wide { grid-column: span 2; }
.cap h3 { font: 400 32px/1 var(--serif); margin: 22px 0 10px; }
.cap p { color: var(--ink-2); font-size: 15.5px; max-width: 34em; }
.cap-demo { height: 150px; border-radius: 14px; background: var(--paper-2); border: 1px solid var(--line); overflow: hidden;
  position: relative; padding: 18px 20px; font-family: var(--mono); font-size: 12.5px; }
.trace p { color: var(--ink-2); opacity: 0; transform: translateY(6px); max-width: none; }
.trace .ok { color: var(--accent); }
.trace p + p { margin-top: 8px; }
.in .trace p { animation: line 8s var(--ease-out) infinite; }
.in .trace p:nth-child(2) { animation-delay: 0.7s; } .in .trace p:nth-child(3) { animation-delay: 1.4s; }
.in .trace p:nth-child(4) { animation-delay: 2.2s; }
@keyframes line { 0% { opacity: 0; transform: translateY(6px); } 6%, 86% { opacity: 1; transform: none; } 94%, 100% { opacity: 0; } }
.vision svg { width: 100%; height: 100%; color: var(--ink-2); }
.vision .box { stroke: var(--accent); stroke-width: 2; fill: none; }
.vision .box text { fill: var(--accent); stroke: none; font: 500 9.5px var(--mono); }
.in .vision .box { animation: scan 9s var(--ease-in-out) infinite; }
@keyframes scan { 0%, 28% { transform: translate(15px, 31px); } 33%, 61% { transform: translate(79px, 31px); } 66%, 94% { transform: translate(154px, 31px) scale(1.1, 0.55); } 100% { transform: translate(15px, 31px); } }
.voice { display: flex; flex-direction: column; justify-content: center; gap: 16px; }
.bars { display: flex; align-items: center; justify-content: center; gap: 6px; height: 64px; }
.bars i { width: 4px; height: 100%; border-radius: 3px; background: var(--ink); transform: scaleY(0.12); }
.in .bars i { animation: talk 1.6s ease-in-out infinite; }
.bars i:nth-child(3n) { animation-delay: -0.3s !important; } .bars i:nth-child(3n + 1) { animation-delay: -0.8s !important; }
.bars i:nth-child(5n) { animation-delay: -0.55s !important; background: var(--accent); }
@keyframes talk { 0%, 100% { transform: scaleY(0.12); } 30% { transform: scaleY(0.85); } 60% { transform: scaleY(0.35); } }
.said { color: var(--ink-2); text-align: center; }
.data .q { font: 400 24px/1.2 var(--serif); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.chips span { border: 1px solid var(--accent); color: var(--accent); background: var(--accent-soft); border-radius: 999px; padding: 4px 10px;
  font-size: 11.5px; opacity: 0; transform: scale(0.94); }
.in .chips span { animation: chip 8s var(--ease-out) infinite; }
.in .chips span:nth-child(2) { animation-delay: 0.3s; } .in .chips span:nth-child(3) { animation-delay: 0.6s; }
@keyframes chip { 0% { opacity: 0; transform: scale(0.94); } 8%, 88% { opacity: 1; transform: none; } 96%, 100% { opacity: 0; } }
.res { margin-top: 12px; color: var(--ink-2); }
.mcp svg { width: 100%; height: 100%; }
.mcp .wires { color: var(--line-2); }
.mcp .hub circle { fill: var(--ink); }
.mcp .labels text { font: 9.5px var(--mono); fill: var(--mute); }
.mcp .pk { fill: var(--accent); opacity: 0; }
.mcp .p1 { offset-path: path("M40 24 C 90 24, 90 60, 120 60"); }
.mcp .p2 { offset-path: path("M200 96 C 150 96, 150 60, 120 60"); }
.mcp .p3 { offset-path: path("M40 96 C 90 96, 90 60, 120 60"); }
.in .mcp .pk { animation: ride 3.4s var(--ease-in-out) infinite; }
.in .mcp .p2 { animation-delay: 1.1s; } .in .mcp .p3 { animation-delay: 2.2s; }
@keyframes ride { 0% { offset-distance: 0%; opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { offset-distance: 100%; opacity: 0; } }
.guard { display: flex; flex-direction: column; justify-content: center; gap: 18px; }
.sign { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 0; }
.sign .pill + .pill { margin-left: 28px; position: relative; }
.sign .pill + .pill::before { content: ""; position: absolute; left: -22px; top: 50%; width: 16px; height: 1px; background: var(--line-2); }
.pill { border: 1px solid var(--line-2); border-radius: 999px; padding: 5px 11px; font-size: 11.5px; color: var(--ink-2); }
.pill.on { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.dim { color: var(--mute); }

/* ---------------------------------------------------------------- approach */
.timeline { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 36px); padding-top: 36px; }
.rail { position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--line-dark); }
.rail-fill { position: absolute; inset: 0; background: var(--accent-on-dark); transform: scaleX(var(--p, 0)); transform-origin: left; }
.stage { position: relative; }
.stage::before { content: ""; position: absolute; top: -41px; left: 0; width: 9px; height: 9px; border-radius: 50%;
  background: var(--dark); border: 1px solid var(--on-dark-mute); transition: background-color 400ms ease, border-color 400ms ease; }
.stage.reached::before { background: var(--accent-on-dark); border-color: var(--accent-on-dark); }
.when { color: var(--accent-on-dark); font-size: 14px; }
.stage h3 { font: 400 clamp(30px, 2.7vw, 42px)/1.02 var(--serif); color: var(--on-dark); margin: 12px 0 14px; }
.stage p { font-size: 15.5px; }

/* ---------------------------------------------------------------- section heads */
.sec-head { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 20px clamp(32px, 6vw, 96px); align-items: end;
  margin-bottom: clamp(44px, 7vh, 84px); }
.sec-head h2 { font-size: clamp(42px, 5.6vw, 88px); max-width: 11em; }
.sec-head .intro { font-size: clamp(16px, 1.25vw, 19px); line-height: 1.55; color: var(--ink-2); max-width: 30em; justify-self: end; }
.sec-head.light .intro { color: var(--on-dark-mute); }
.sec-head.with-controls { grid-template-columns: minmax(0, 1fr) auto; }
.sec-head.with-controls .intro { justify-self: start; margin-top: 18px; }

/* ---------------------------------------------------------------- cards */
.card { position: relative; border-radius: 20px; border: 1px solid var(--line); background: #F8F6F0;
  box-shadow: 0 1px 0 rgba(13, 13, 15, 0.03), 0 28px 48px -36px rgba(13, 13, 15, 0.28);
  transition: transform 450ms var(--ease-out), box-shadow 450ms var(--ease-out), border-color 300ms ease; }
.card.dark { background: var(--dark-2); border-color: var(--line-dark); box-shadow: none; }
.card h3, .post-card h2 { font-family: var(--serif); font-weight: 400; letter-spacing: -0.01em; }
@media (hover: hover) and (pointer: fine) {
  .card:hover { transform: translateY(-4px); box-shadow: 0 1px 0 rgba(13, 13, 15, 0.03), 0 36px 60px -36px rgba(13, 13, 15, 0.38); }
  .card.dark:hover { border-color: rgba(138, 146, 255, 0.45); box-shadow: none; }
}
.spot::after { content: ""; position: absolute; inset: -1px; border-radius: inherit; pointer-events: none; opacity: 0;
  border: 1px solid var(--spot, rgba(47, 60, 255, 0.5));
  -webkit-mask: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), #000 0%, transparent 70%);
  mask: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), #000 0%, transparent 70%);
  transition: opacity 300ms ease; }
@media (hover: hover) and (pointer: fine) { .spot:hover::after { opacity: 1; } }

/* ---------------------------------------------------------------- what we do */
.offer-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 1.8vw, 24px); }
.offer { padding: clamp(20px, 2vw, 28px); display: flex; flex-direction: column; }
.offer h3 { font-size: clamp(34px, 2.8vw, 44px); line-height: 1; margin: 26px 0 12px; }
.promise { font-size: 17px; line-height: 1.5; color: var(--ink); max-width: 24em; }
.examples { margin: 18px 0 26px; display: grid; gap: 9px; }
.examples li { position: relative; padding-left: 18px; font-size: 15px; color: var(--ink-2); line-height: 1.5; }
.examples li::before { content: ""; position: absolute; left: 0; top: 0.72em; width: 8px; height: 1px; background: var(--accent); }
.card-link { margin-top: auto; align-self: flex-start; display: inline-flex; align-items: center; min-height: 44px; color: var(--accent);
  font-weight: 500; font-size: 15px; text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 calc(100% - 10px) / 0 1px no-repeat;
  transition: background-size 400ms var(--ease-out); }
.card-link:hover, .card-link:focus-visible { background-size: 100% 1px; }
.viz { position: relative; height: 136px; border-radius: 14px; background: var(--paper-2); border: 1px solid var(--line); overflow: hidden; padding: 14px 16px 28px; }
.viz svg { width: 100%; height: 100%; }
.viz-label { position: absolute; left: 16px; bottom: 9px; font: 11px/1 var(--mono); color: var(--mute); }
.viz-chart .grid { stroke: var(--line); fill: none; }
.viz-chart .line { stroke: var(--accent); stroke-width: 2.4; fill: none; stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 300; stroke-dashoffset: 300; transition: stroke-dashoffset 1600ms var(--ease-out) 200ms; }
.viz-chart .dot { fill: var(--accent); opacity: 0; transition: opacity 400ms ease 1600ms; }
.in .viz-chart .line { stroke-dashoffset: 0; }
.in .viz-chart .dot { opacity: 1; }
.viz-reticle .part { stroke: var(--ink-2); fill: none; stroke-width: 1.2; }
.viz-reticle .ret path { stroke: var(--accent); stroke-width: 2.2; fill: none; }
.in .viz-reticle .ret { animation: bolts 10s var(--ease-in-out) infinite; }
@keyframes bolts { 0%, 20% { transform: translate(0, 0); } 25%, 45% { transform: translate(100px, 0); } 50%, 70% { transform: translate(100px, 24px); } 75%, 95% { transform: translate(0, 24px); } 100% { transform: translate(0, 0); } }
.viz-flow { display: flex; align-items: center; gap: 0; padding-bottom: 30px; }
.viz-flow .doc { width: 46px; height: 58px; border: 1px solid var(--ink-2); border-radius: 4px; padding: 10px 8px; display: grid; gap: 6px; flex: none; background: #fff; }
.viz-flow .doc i { display: block; height: 2px; background: var(--line-2); }
.viz-flow .bot, .viz-flow .okbox { flex: none; border-radius: 999px; padding: 8px 12px; font: 11.5px var(--mono); border: 1px solid var(--accent); color: var(--accent); }
.viz-flow .okbox { border-color: var(--ink); background: var(--ink); color: var(--paper); }
.viz-flow .pipe-line { flex: 1; height: 1px; background: var(--line-2); position: relative; overflow: hidden; min-width: 12px; }
.viz-flow .pipe-line b { position: absolute; top: -1px; left: 0; width: 14px; height: 3px; border-radius: 2px; background: var(--accent); opacity: 0; }
.in .viz-flow .pipe-line b { animation: packet 3s var(--ease-in-out) infinite; }
.in .viz-flow .pipe-line + .bot + .pipe-line b { animation-delay: 1.5s; }

/* ---------------------------------------------------------------- what we've built: a snapping scroller */
.built-sec { padding: var(--section) 0; overflow: hidden; }
.scroller-controls { display: flex; gap: 8px; }
.ctrl { width: 48px; height: 48px; border-radius: 999px; border: 1px solid var(--line-2); background: transparent; color: var(--ink);
  display: grid; place-items: center; cursor: pointer; transition: background-color 200ms ease, border-color 200ms ease, transform 160ms var(--ease-out), opacity 200ms ease; }
.ctrl svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ctrl:active { transform: scale(0.95); }
.ctrl[disabled] { opacity: 0.35; cursor: default; }
@media (hover: hover) and (pointer: fine) { .ctrl:not([disabled]):hover { background: var(--ink); color: var(--paper); border-color: var(--ink); } }
.scroller { --edge: max(var(--gutter), calc((100vw - var(--max)) / 2)); display: flex; gap: clamp(14px, 1.6vw, 22px); overflow-x: auto;
  scroll-snap-type: x mandatory; scroll-padding-inline: var(--edge); padding: 6px var(--edge) 34px; scrollbar-width: none;
  overscroll-behavior-x: contain; cursor: grab; }
.scroller::-webkit-scrollbar { display: none; }
.scroller.dragging { cursor: grabbing; scroll-snap-type: none; user-select: none; }
.scroller:focus-visible { outline-offset: -4px; }
.show { flex: 0 0 clamp(290px, 29vw, 400px); scroll-snap-align: start; padding: 20px; display: flex; flex-direction: column; }
.show h3 { font-size: clamp(30px, 2.4vw, 38px); line-height: 1.02; margin: 14px 0 10px; }
.show p { font-size: 15px; line-height: 1.55; color: var(--ink-2); }
.show-link { margin-top: auto; padding-top: 10px; min-height: 44px; display: inline-flex; align-items: flex-end; color: var(--accent); font-weight: 500; font-size: 15px; text-underline-offset: 3px; }
.status { align-self: flex-start; margin-top: 18px; display: inline-flex; align-items: center; gap: 7px; font-size: 13px; color: var(--ink-2);
  border: 1px solid var(--line-2); border-radius: 999px; padding: 4px 11px 4px 9px; }
.status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--mute); }
.status.live { color: var(--accent); border-color: rgba(47, 60, 255, 0.4); }
.status.live::before { background: var(--accent); }
.vig { position: relative; height: 172px; border-radius: 14px; background: var(--paper-2); border: 1px solid var(--line); overflow: hidden; padding: 16px; font-size: 13px; }
.vig-irris ul { display: grid; gap: 8px; }
.vig-irris li { display: flex; gap: 9px; align-items: center; color: var(--mute); }
.vig-irris li::before { content: ""; width: 12px; height: 12px; border-radius: 3px; border: 1px solid var(--line-2); flex: none; }
.vig-irris li.ok { color: var(--ink-2); }
.vig-irris li.ok::before { background: var(--accent); border-color: var(--accent); }
.vig-irris li.cur { color: var(--ink); }
.vig-irris li.cur::before { border-color: var(--accent); }
.vig .reading { position: absolute; right: 14px; bottom: 14px; font: 500 12.5px var(--mono); background: var(--accent); color: #fff; border-radius: 6px; padding: 4px 8px; }
.vig-voice { display: flex; flex-direction: column; gap: 8px; }
.bubble { max-width: 82%; border-radius: 14px; padding: 8px 12px; line-height: 1.35; }
.bubble.me { align-self: flex-end; background: var(--ink); color: var(--paper); border-bottom-right-radius: 4px; }
.bubble.her { align-self: flex-start; background: #fff; border: 1px solid var(--line); border-bottom-left-radius: 4px;
  opacity: 0; transform: translateY(6px); transition: opacity 500ms ease 900ms, transform 600ms var(--ease-out) 900ms; }
.in .bubble.her { opacity: 1; transform: none; }
.wave { margin-top: auto; display: flex; gap: 4px; align-items: center; height: 22px; }
.wave i { width: 3px; height: 100%; border-radius: 2px; background: var(--accent); transform: scaleY(0.2); }
.in .wave i { animation: talk 1.4s ease-in-out infinite; }
.wave i:nth-child(2n) { animation-delay: -0.4s !important; } .wave i:nth-child(3n) { animation-delay: -0.9s !important; }
.vig-cos { display: grid; gap: 8px; align-content: start; }
.vig-cos .row { display: flex; justify-content: space-between; gap: 10px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 9px 10px; }
.vig-cos .row span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vig-cos em { font-style: normal; font-size: 11.5px; color: var(--accent); white-space: nowrap; }
.vig-cos .done em { color: var(--mute); }
.vig-db { display: grid; gap: 0; align-content: start; font-size: 13px; }
.vig-db .tr { display: grid; grid-template-columns: 1fr auto 28px; gap: 10px; align-items: center; padding: 10px 2px; border-bottom: 1px solid var(--line); }
.vig-db b { font: 500 12.5px var(--mono); }
.vig-db em { font-style: normal; font: 500 11px var(--mono); text-align: center; border-radius: 5px; padding: 2px 0; border: 1px solid var(--line-2); color: var(--mute); }
.vig-db em.g { background: var(--accent); border-color: var(--accent); color: #fff; }
.vig-db .gap b { color: var(--mute); font-weight: 400; }
.vig-dial { display: grid; place-items: center; }
.vig-dial svg { height: 140px; width: 140px; }
.vig-dial circle:first-child { fill: #fff; stroke: var(--ink-2); stroke-width: 1.2; }
.vig-dial .ticks { stroke: var(--ink-2); stroke-width: 1.4; }
.vig-dial .needle { stroke: var(--accent); stroke-width: 2.4; stroke-linecap: round; transform-origin: 60px 60px; transform: rotate(-120deg);
  transition: transform 1600ms var(--ease-out) 300ms; }
.in .vig-dial .needle { transform: rotate(38deg); }
.vig-dial .hubdot { fill: var(--ink); }

/* ---------------------------------------------------------------- next: cards that fan in */
.next-cards { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: clamp(14px, 1.6vw, 22px); }
.idea { grid-column: span 2; padding: clamp(22px, 2.2vw, 30px); min-height: 0; display: flex; flex-direction: column; }
.idea:nth-child(4), .idea:nth-child(5) { grid-column: span 3; }
.idea h3 { color: var(--on-dark); font-size: clamp(26px, 2.1vw, 32px); line-height: 1.08; margin: 44px 0 12px; max-width: 14em; }
.idea p { color: var(--on-dark-mute); font-size: 15px; max-width: 32em; }
.idea-mark { width: 28px; height: 2px; background: var(--accent-on-dark); transform-origin: left; transform: scaleX(0); transition: transform 900ms var(--ease-out) 300ms; }
.fan { opacity: 0; transform: translateY(48px) rotate(var(--r, -1.5deg)); transition: opacity 900ms var(--ease-out), transform 1100ms var(--ease-out), border-color 300ms ease;
  transition-delay: var(--d, 0ms); }
.fan:nth-child(even) { --r: 1.5deg; }
.fan.in { opacity: 1; transform: none; }
.fan.in .idea-mark { transform: none; }

/* ---------------------------------------------------------------- principles */
.principles { padding: var(--section) 0; }
.rule-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 1.6vw, 22px); }
.rule { padding: clamp(22px, 2vw, 28px); min-height: 0; display: flex; flex-direction: column; }
.rule .icon { width: 44px; height: 44px; fill: none; stroke: var(--accent); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 160; stroke-dashoffset: 160; transition: stroke-dashoffset 1400ms var(--ease-out) 250ms; }
.rule.in .icon { stroke-dashoffset: 0; }
.rule h3 { font-size: clamp(28px, 2.2vw, 34px); line-height: 1.05; margin: 40px 0 10px; }
.rule p { color: var(--ink-2); font-size: 15.5px; }

/* ---------------------------------------------------------------- impact (dark, four beats on a rail) */
.impact { background: var(--dark); color: var(--on-dark); padding: var(--section) 0; }
.impact p { color: var(--on-dark-mute); }
.impact .stage h3 { max-width: 9em; }

/* ---------------------------------------------------------------- focus areas: six cards */
.work { padding: var(--section) 0; }
.focus-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 1.8vw, 24px); }
.focus-grid .offer h3 { font-size: clamp(30px, 2.4vw, 38px); line-height: 1.04; margin: 24px 0 10px; }
.focus-grid .examples { margin-bottom: 0; }
.viz-people { display: grid; place-items: center; }
.seats { display: grid; grid-template-columns: repeat(8, 14px); gap: 9px 12px; }
.seats i { width: 14px; height: 14px; border-radius: 50%; border: 1.4px solid var(--ink-2); transition: background-color 400ms ease, border-color 400ms ease; }
.in .seats i { animation: seat 7s ease-in-out infinite; }
.seats i:nth-child(3n) { animation-delay: 0.6s !important; } .seats i:nth-child(4n + 1) { animation-delay: 1.4s !important; }
.seats i:nth-child(5n + 2) { animation-delay: 2.2s !important; } .seats i:nth-child(7n) { animation-delay: 3s !important; }
@keyframes seat { 0%, 30% { background: transparent; border-color: var(--ink-2); } 45%, 90% { background: var(--accent); border-color: var(--accent); } 100% { background: transparent; } }
.viz-rack { display: grid; place-items: center; }
.rack { width: 132px; display: grid; gap: 5px; padding: 8px; border: 1.4px solid var(--ink-2); border-radius: 6px; background: #fff; }
.rack span { height: 9px; border-radius: 2px; background: var(--paper-2); position: relative; }
.rack span::after { content: ""; position: absolute; right: 5px; top: 2.5px; width: 4px; height: 4px; border-radius: 50%; background: var(--line-2); }
.in .rack span::after { animation: led 2.4s steps(1) infinite; }
.rack span:nth-child(2)::after { animation-delay: 0.4s !important; } .rack span:nth-child(3)::after { animation-delay: 0.9s !important; }
.rack span:nth-child(4)::after { animation-delay: 1.3s !important; } .rack span:nth-child(5)::after { animation-delay: 1.7s !important; }
.rack span:nth-child(6)::after { animation-delay: 2.1s !important; }
@keyframes led { 0% { background: var(--accent); } 50% { background: var(--line-2); } }
.viz-shield .sh { fill: #fff; stroke: var(--ink-2); stroke-width: 1.4; }
.viz-shield .ck { fill: none; stroke: var(--accent); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 60; stroke-dashoffset: 60; transition: stroke-dashoffset 900ms var(--ease-out) 500ms; }
.in .viz-shield .ck { stroke-dashoffset: 0; }
.viz-meter { display: flex; align-items: flex-end; justify-content: center; padding-bottom: 32px; }
.bars2 { display: flex; align-items: flex-end; gap: 16px; height: 84px; }
.bars2 span { width: 26px; height: var(--h); border-radius: 4px 4px 0 0; background: var(--ink-2); transform: scaleY(0.08); transform-origin: bottom;
  transition: transform 1100ms var(--ease-out); }
.bars2 span:last-child { background: var(--accent); }
.in .bars2 span { transform: none; }
.in .bars2 span:nth-child(2) { transition-delay: 150ms; } .in .bars2 span:nth-child(3) { transition-delay: 300ms; } .in .bars2 span:nth-child(4) { transition-delay: 450ms; }

/* ---------------------------------------------------------------- commitments, styled like stat tiles */
.commit { padding: 0 0 var(--section); }
.commit .sec-head { margin-bottom: clamp(32px, 5vh, 56px); }
.commit-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.tile { padding: clamp(28px, 4vh, 44px) clamp(16px, 2vw, 28px) clamp(28px, 4vh, 44px) 0; display: grid; gap: 12px; align-content: start; }
.tile + .tile { padding-left: clamp(16px, 2vw, 28px); border-left: 1px solid var(--line-2); }
.tile b { font-size: clamp(44px, 4.6vw, 76px); line-height: 0.95; font-weight: 400; color: var(--accent); }
.tile span { font-size: 15.5px; color: var(--ink-2); max-width: 18em; }

/* ---------------------------------------------------------------- SDG cards (official goal colours, our own type) */
.goals { padding: 0 0 var(--section); }
.sdg-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 1.6vw, 22px); outline-offset: 6px; }
.sdg { --spot: var(--c); padding: 0 0 24px; overflow: hidden; display: flex; flex-direction: column; color: var(--ink); }
.sdg::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--c); z-index: 1; }
.sdg-top { position: relative; display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; height: 132px; padding: 0 22px 14px; isolation: isolate; }
.sdg-top::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--c); transform: scaleY(0); transform-origin: top;
  transition: transform 600ms var(--ease-out); }
.sdg-no { position: relative; display: block; font: 400 104px/0.8 var(--serif); letter-spacing: -0.02em; }
.sdg-no .o { color: transparent; -webkit-text-stroke: 1.25px var(--c); transition: -webkit-text-stroke-color 400ms ease; }
.sdg-no .f { position: absolute; left: 0; top: 0; color: var(--c); clip-path: inset(100% 0 0 0);
  transition: clip-path 1300ms var(--ease-out) calc(var(--d, 0ms) + 350ms), color 400ms ease; }
.sdg.in .sdg-no .f { clip-path: inset(0 0 0 0); }
.sdg-goal { font: 500 12px/1 var(--mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--mute); padding-bottom: 6px; transition: color 400ms ease; }
.sdg h3 { color: var(--ink); font-size: clamp(23px, 1.75vw, 27px); line-height: 1.1; margin: 18px 22px 10px; }
.sdg .t { font-size: 14.5px; line-height: 1.55; color: var(--ink-2); margin: 0 22px; }
.sdg .tno { display: block; margin-bottom: 4px; font: 500 12px/1.4 var(--mono); letter-spacing: 0.04em; color: var(--ink); }
.sdg .tno::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 2px; background: var(--c); margin-right: 8px; vertical-align: 0; }
.sdg .how { margin: auto 22px 0; padding-top: 16px; border-top: 1px solid var(--line); font: 400 clamp(19px, 1.35vw, 21px)/1.3 var(--serif); color: var(--ink); }
.sdg .t + .how { margin-top: 18px; }
@media (hover: hover) and (pointer: fine) {
  .sdg:hover .sdg-top::before { transform: scaleY(1); }
  .sdg:hover .sdg-no .f { color: var(--on-c); clip-path: inset(0 0 0 0); transition-delay: 0ms; }
  .sdg:hover .sdg-no .o { -webkit-text-stroke-color: var(--on-c); }
  .sdg:hover .sdg-goal { color: var(--on-c); }
}
.sdg-note { margin-top: 22px; font-size: 13px; color: var(--mute); max-width: 52em; }

/* ---------------------------------------------------------------- who we work with */
.who { padding: 0 0 var(--section); }
.aud { border-top: 1px solid var(--ink); }
.aud li { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 8px clamp(24px, 5vw, 80px); align-items: baseline;
  padding: clamp(18px, 3vh, 28px) 0; border-bottom: 1px solid var(--line-2); }
.aud b { font: 400 clamp(28px, 3vw, 46px)/1.05 var(--serif); }
.aud span { color: var(--ink-2); font-size: 16px; }
@media (hover: hover) and (pointer: fine) {
  .aud li b { transition: transform 500ms var(--ease-out), color 300ms ease; }
  .aud li:hover b { transform: translateX(8px); color: var(--accent); }
}

/* ---------------------------------------------------------------- contact actions on blue */
.btn.outline-light { border-color: rgba(255, 255, 255, 0.6); color: #fff; background: transparent; }
@media (hover: hover) and (pointer: fine) { .btn.outline-light:hover { border-color: #fff; background: rgba(255, 255, 255, 0.08); } }
.contact .actions { margin-top: 30px; }

/* ---------------------------------------------------------------- impact block: step cards, then the goals */
.steps-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 1.6vw, 22px); list-style: none; margin: 0; padding: 0; }
.step { padding: clamp(18px, 1.8vw, 24px); display: flex; flex-direction: column; color: var(--ink); }
.step .viz { height: 128px; }
.step .viz-people .seats { grid-template-columns: repeat(8, 12px); gap: 8px 10px; }
.step .viz-people .seats i { width: 12px; height: 12px; }
.step .chip { align-self: flex-start; margin-top: 18px; font-size: 13px; color: var(--accent); border: 1px solid rgba(47, 60, 255, 0.35);
  border-radius: 999px; padding: 4px 11px; }
.step h3 { font-size: clamp(26px, 2.1vw, 32px); line-height: 1.05; margin: 14px 0 8px; }
.impact .step p { color: var(--ink-2); font-size: 15px; }
.goals-inner { margin-top: clamp(80px, 13vh, 150px); }
.goals-title { font-size: clamp(36px, 4.4vw, 68px); color: var(--on-dark); }
.impact .sdg p.t { color: var(--ink-2); }
.impact .sdg p.how { color: var(--ink); }
.impact .sdg-note { color: var(--on-dark-mute); }
.impact .card:hover { box-shadow: none; }

/* ---------------------------------------------------------------- writing teaser and blog cards */
.writing { padding: var(--section) 0; }
.writing .intro a, .blog-head p a { color: var(--accent); text-underline-offset: 3px; }
.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 1.8vw, 24px); }
.post-card { padding: clamp(20px, 2vw, 28px); display: flex; flex-direction: column; text-decoration: none; color: inherit; min-height: 280px; }
.post-card .meta { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 13.5px; color: var(--mute); }
.post-card .tag { color: var(--accent); }
.post-card h2, .post-card h3 { font-size: clamp(26px, 2.1vw, 32px); line-height: 1.08; margin: 18px 0 12px; }
.post-card p { color: var(--ink-2); font-size: 15.5px; }
.post-card .more { margin-top: auto; padding-top: 22px; color: var(--accent); font-weight: 500; font-size: 15px; min-height: 44px; display: flex; align-items: flex-end; }
.empty-note { color: var(--mute); font-size: 16px; }

/* ---------------------------------------------------------------- blog index and posts */
.blog-page { padding-top: calc(var(--nav-h) + clamp(40px, 9vh, 96px)); padding-bottom: var(--section); }
.blog-head { margin-bottom: clamp(40px, 7vh, 72px); }
.blog-head h1 { font-size: clamp(52px, 7vw, 112px); margin-bottom: 16px; }
.blog-head p { color: var(--ink-2); font-size: clamp(16px, 1.3vw, 19px); max-width: 34em; }
.post { padding-top: calc(var(--nav-h) + clamp(40px, 8vh, 88px)); padding-bottom: var(--section); }
.post-head { max-width: 860px; }
.post-head .back { display: inline-flex; align-items: center; min-height: 44px; margin-bottom: 8px; color: var(--accent); font-size: 15px; text-underline-offset: 3px; }
.post-head .meta { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 14px; color: var(--mute); }
.post-head .tag { color: var(--accent); }
.post-head h1 { font-size: clamp(42px, 5.4vw, 84px); line-height: 1.02; margin: 18px 0 18px; }
.post-head .standfirst { font: 400 clamp(22px, 2vw, 30px)/1.3 var(--serif); color: var(--ink); max-width: 30em; }
.essay-toc { max-width: 680px; margin-top: clamp(32px, 5vh, 48px); padding: 20px 24px; border: 1px solid var(--line-2); border-radius: 18px; background: var(--paper-2); }
.essay-toc p { font: 500 13px/1.4 var(--mono); letter-spacing: 0.04em; text-transform: uppercase; color: var(--mute); }
.essay-toc ol { list-style: none; margin: 8px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 24px; counter-reset: toc; }
.essay-toc li { counter-increment: toc; }
.essay-toc a { display: flex; align-items: center; gap: 12px; min-height: 44px; color: var(--ink); text-decoration: none; font-size: 16px; border-bottom: 1px solid var(--line); }
.essay-toc a::before { content: counter(toc, decimal-leading-zero); font: 400 12px var(--mono); color: var(--mute); }
.essay-toc a:hover { color: var(--accent); }
.post-body { max-width: 33.5em;   /* about 70 characters a line in Geist */ font-size: clamp(17px, 0.35vw + 15.6px, 18.5px); margin-top: clamp(40px, 6vh, 64px); }
.post-body h2 { font: 400 clamp(30px, 2.6vw, 40px)/1.1 var(--serif); margin: 64px 0 16px; color: var(--ink); scroll-margin-top: calc(var(--nav-h) + 16px); }
.post-body h3 { font: 600 19px/1.3 var(--sans); margin: 32px 0 10px; }
.post-body p, .post-body li { font-size: 1em; line-height: 1.75; color: var(--ink-2); }
.post-body > * + * { margin-top: 1.05em; }
.post-body ul, .post-body ol { padding-left: 22px; display: grid; gap: 6px; }
.post-body ul { list-style: disc; } .post-body ol { list-style: decimal; }
.post-body a { color: var(--accent); text-underline-offset: 3px; overflow-wrap: anywhere; }
.post-body strong { color: var(--ink); font-weight: 600; }
.post-body p strong { font-weight: 600; color: var(--ink); }
.post-body code { font: 0.86em var(--mono); background: var(--paper-2); border-radius: 4px; padding: 1px 5px; }
.post-body pre { background: var(--ink); color: var(--on-dark); border-radius: 14px; padding: 18px 20px; overflow-x: auto; }
.post-body pre code { background: none; padding: 0; color: inherit; font-size: 13.5px; line-height: 1.6; }
.post-body blockquote { margin: 1.2em 0; padding: 0; }
.post-body blockquote p { color: var(--ink); }
.post-body hr { border: 0; border-top: 1px solid var(--line-2); margin: 48px 0; }
.post-body #sources { font: 500 13px/1.4 var(--mono); letter-spacing: 0.04em; text-transform: uppercase; color: var(--mute); margin-top: 72px; padding-top: 24px; border-top: 1px solid var(--line-2); }
.post-body #sources + ul { list-style: none; padding: 0; gap: 12px; counter-reset: src; }
.post-body #sources + ul li { font-size: 15px; line-height: 1.55; padding-left: 34px; position: relative; counter-increment: src; }
.post-body #sources + ul li::before { content: counter(src); position: absolute; left: 0; top: 2px; font: 400 12px var(--mono); color: var(--mute); }
.post-foot { max-width: 620px; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line-2); display: flex; flex-wrap: wrap; gap: 12px 24px; }
.post-foot a { color: var(--accent); min-height: 44px; display: inline-flex; align-items: center; }

/* ---------------------------------------------------------------- contact */
.contact { background: var(--accent); color: #fff; padding: var(--section) 0; }
.contact h2 { font-size: clamp(44px, 5.8vw, 96px); margin: 0 0 26px; max-width: 9em; }
.contact .lede { color: rgba(255, 255, 255, 0.9); }
.direct { margin-top: 20px; color: rgba(255, 255, 255, 0.88); font-size: 15px; }
.direct a { color: #fff; text-underline-offset: 4px; display: inline-block; min-height: 44px; line-height: 44px; }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.form-box { position: relative; background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.26); border-radius: 22px; padding: clamp(20px, 2.6vw, 32px); }
.form { display: grid; gap: 14px; }
.form label { display: grid; gap: 6px; }
.form label > span { font-size: 14px; color: rgba(255, 255, 255, 0.9); }
.form input, .form textarea, .form select { width: 100%; min-height: 48px; border: 1px solid rgba(255, 255, 255, 0.36); background: rgba(255, 255, 255, 0.08);
  color: #fff; border-radius: 12px; padding: 12px 14px; font: 400 16px/1.4 var(--sans); transition: border-color 200ms ease, background-color 200ms ease; }
.form select { appearance: none; -webkit-appearance: none; padding-right: 40px; cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, #fff 50%), linear-gradient(135deg, #fff 50%, transparent 50%);
  background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; }
.form select option { color: var(--ink); background: #fff; }
.form input:focus, .form textarea:focus, .form select:focus { outline: none; border-color: #fff; background: rgba(255, 255, 255, 0.14); }
.form [aria-invalid="true"] { border-color: #FFD3CC; box-shadow: 0 0 0 1px #FFD3CC; }
.form textarea { resize: vertical; min-height: 120px; }
.hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.form .btn.solid { background: #fff; color: var(--ink); margin-top: 4px; justify-self: start; min-width: 140px; }
@media (hover: hover) and (pointer: fine) { .form .btn.solid:not([disabled]):hover { background: var(--ink); color: #fff; } }
.form-note { color: #fff; font-size: 15px; }
.form-note:empty { display: none; }
.form-note a, .form-legal a { color: #fff; text-underline-offset: 3px; }
.form-legal { font-size: 13.5px; color: rgba(255, 255, 255, 0.82); }
.form-done h3 { font-size: clamp(40px, 4vw, 60px); margin-bottom: 14px; }
.form-done p { color: rgba(255, 255, 255, 0.9); font-size: 17px; max-width: 26em; }
.form-done:focus { outline: none; }

/* ---------------------------------------------------------------- footer */
.foot { background: var(--paper); padding: 28px 0 calc(28px + env(safe-area-inset-bottom)); }
.foot-grid { display: grid; grid-template-columns: auto 1fr auto; gap: 8px 24px; align-items: center; }
.foot nav { display: flex; flex-wrap: wrap; gap: 0 20px; font-size: 14.5px; justify-self: end; }
.foot nav a { text-decoration: none; opacity: 0.8; min-height: 44px; display: inline-flex; align-items: center; }
.foot nav a:hover { opacity: 1; }
.small { font-size: 13px; color: var(--mute); }

/* ---------------------------------------------------------------- long-form pages (privacy, terms) */
.doc-page { padding-top: calc(var(--nav-h) + clamp(40px, 9vh, 96px)); padding-bottom: var(--section); }
.doc-head h1 { font-size: clamp(48px, 6vw, 92px); margin-bottom: 16px; }
.doc-head p { color: var(--mute); font-size: 15px; }
.doc-body { display: grid; grid-template-columns: minmax(0, 220px) minmax(0, 680px); gap: clamp(28px, 6vw, 96px); margin-top: clamp(40px, 7vh, 72px); }
.toc { position: sticky; top: calc(var(--nav-h) + 24px); align-self: start; display: grid; font-size: 14px; }
.toc a { text-decoration: none; color: var(--ink-2); min-height: 44px; display: flex; align-items: center; }
.toc a:hover { color: var(--accent); }
.prose h2 { font: 400 clamp(28px, 2.6vw, 38px)/1.1 var(--serif); margin: 48px 0 14px; scroll-margin-top: calc(var(--nav-h) + 16px); }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { font-size: 17px; line-height: 1.7; color: var(--ink-2); }
.prose p + p, .prose ul + p, .prose p + ul { margin-top: 14px; }
.prose ul { padding-left: 20px; list-style: disc; display: grid; gap: 6px; }
.prose a { color: var(--accent); text-underline-offset: 3px; }
.prose .ph { background: rgba(47, 60, 255, 0.09); border-radius: 4px; padding: 0 4px; }
.back { display: inline-flex; align-items: center; min-height: 44px; margin-top: 48px; color: var(--accent); }

/* ---------------------------------------------------------------- reveal */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 800ms var(--ease-out), transform 1000ms var(--ease-out);
  transition-delay: var(--d, 0ms); }
.reveal.in { opacity: 1; transform: none; }
.split .ln { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.12em; margin-bottom: -0.12em; }
.split .ln > span { display: inline-block; transform: translateY(104%); transition: transform 1000ms var(--ease-out); transition-delay: var(--d, 0ms); }
.split.in .ln > span { transform: none; }

/* ---------------------------------------------------------------- responsive */
@media (max-width: 1100px) {
  .steps-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .focus-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sdg-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .commit-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tile:nth-child(3) { padding-left: 0; border-left: 0; }
  .tile:nth-child(n + 3) { border-top: 1px solid var(--line-2); }
  .rule-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .next-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .idea, .idea:nth-child(4), .idea:nth-child(5) { grid-column: auto; }
  .idea:nth-child(5) { grid-column: span 2; }
  .cap-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cap.wide { grid-column: span 2; }
}
@media (max-width: 960px) {
  .aud li { grid-template-columns: 1fr; }
  .sec-head, .sec-head.with-controls { grid-template-columns: 1fr; }
  .sec-head .intro { justify-self: start; }
  .scroller-controls { display: none; }
  .offer-grid { grid-template-columns: 1fr; max-width: 640px; }
  .nav { grid-template-columns: 1fr auto; }
  .nav-links, .nav-cta { display: none; }
  .menu { display: block; }
  .product.big, .product.funds, .contact-grid { grid-template-columns: 1fr; }
  .auto { grid-template-columns: 1fr; }
  .auto h3 { grid-row: auto; }
  .timeline { grid-template-columns: 1fr 1fr; row-gap: 56px; }
  .rail { display: none; }
  .stage::before { top: -18px; }
  .doc-body { grid-template-columns: 1fr; }
  .toc { position: static; display: flex; flex-wrap: wrap; gap: 0 18px; }
}
/* portrait phones and tablets: the art sits in a band above the copy */
@media (max-width: 959px) and (orientation: portrait) {
  .hero-copy { align-self: start; padding-top: calc(30svh + 8px); }
  .hero h1 { font-size: clamp(54px, 13vw, 112px); max-width: 7em; }
  .hero .lede { max-width: 35em; }
}
@media (max-width: 640px) {
  .steps-grid, .post-grid, .essay-toc ol { grid-template-columns: 1fr; }
  .post-card { min-height: 0; }
  .focus-grid, .commit-grid { grid-template-columns: 1fr; }
  .sdg-grid { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; gap: 14px;
    margin: 0 calc(var(--gutter) * -1); padding: 6px var(--gutter) 18px; scroll-padding-inline: var(--gutter); }
  .sdg-grid::-webkit-scrollbar { display: none; }
  .sdg { flex: 0 0 min(80vw, 330px); scroll-snap-align: start; }
  .tile + .tile { padding-left: 0; border-left: 0; border-top: 1px solid var(--line-2); }
  .contact .actions .btn { width: 100%; }
  .rule-grid, .next-cards { grid-template-columns: 1fr; }
  .idea:nth-child(5) { grid-column: auto; }
  .idea, .rule { min-height: 0; }
  .show { flex-basis: 84vw; }
  :root { --nav-h: 60px; }
  .hero h1 { margin-bottom: 20px; }
  .actions .btn { width: 100%; }
  .cap-grid { grid-template-columns: 1fr; }
  .cap.wide { grid-column: auto; }
  .timeline { grid-template-columns: 1fr; row-gap: 44px; }
  .flow { flex-wrap: wrap; row-gap: 10px; }
  .foot-grid { grid-template-columns: 1fr; }
  .foot nav { justify-self: start; }
  .pipe { gap: 6px; }
  .pipe-col span { font-size: 11px; }
  .form .btn.solid { width: 100%; }
}
@media (max-height: 520px) and (orientation: landscape) {
  .hero { min-height: auto; }
  .hero-copy { padding-top: 16px; }
  .hero h1 { font-size: clamp(34px, 5.4vw, 60px); max-width: none; width: 46vw; }
  .hero .lede { width: 46vw; font-size: 15px; }
  .hero .actions { margin-top: 20px; }
  .hero .actions .btn { min-height: 44px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .reveal, .split .ln > span { opacity: 1; transform: none; }
  .pipe-col i, .chips span, .trace p, .mcp .pk { opacity: 1; transform: none; }
  .fan { opacity: 1; transform: none; }
  .sdg-no .f { clip-path: inset(0 0 0 0); }
}
