/* ─────────────────────────────────────────────
   maiastra — design tokens
   Light = "hairline", dark band = "conductor"
   ───────────────────────────────────────────── */
:root {
  --teal: #6e97a0;
  --mauve: #9a8590;
  --rose: #b8707a;
  --coral: #c9554a;
  --grad: linear-gradient(95deg, var(--teal) 0%, var(--rose) 62%, var(--coral) 100%);

  --bg: #f6f5f2;
  --surface: #fbfaf8;
  --surface-2: #f0efeb;
  --ink: #171717;
  --ink-2: #3b3b3b;
  --muted: #6d6d6a;
  --line: rgba(20, 20, 20, 0.1);
  --line-strong: rgba(20, 20, 20, 0.18);
  --btn-bg: #151515;
  --btn-ink: #f6f5f2;
  --shadow: 0 30px 60px -30px rgba(40, 30, 30, 0.18), 0 1px 0 rgba(0, 0, 0, 0.02);

  --display: "Urbanist", ui-sans-serif, system-ui, sans-serif;
  --text: "Inter", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, monospace;

  --gutter: clamp(16px, 4vw, 40px);
  --max: 1200px;
  --radius: 22px;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #121415;
    --surface: #181b1c;
    --surface-2: #1e2223;
    --ink: #ecebe8;
    --ink-2: #c9c8c4;
    --muted: #9a9d9c;
    --line: rgba(255, 255, 255, 0.09);
    --line-strong: rgba(255, 255, 255, 0.18);
    --btn-bg: #ecebe8;
    --btn-ink: #121415;
    --shadow: 0 30px 70px -30px rgba(0, 0, 0, 0.6);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #121415;
  --surface: #181b1c;
  --surface-2: #1e2223;
  --ink: #ecebe8;
  --ink-2: #c9c8c4;
  --muted: #9a9d9c;
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.18);
  --btn-bg: #ecebe8;
  --btn-ink: #121415;
  --shadow: 0 30px 70px -30px rgba(0, 0, 0, 0.6);
  color-scheme: dark;
}

/* ───────────── Base ───────────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--text);
  font-size: 16px;
  line-height: 1.6;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background-color .4s ease, color .4s ease;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
h1, h2, h3, p, ol, ul, dl, dd, figure { margin: 0; padding: 0; }
ol, ul { list-style: none; }
::selection { background: rgba(201, 85, 74, .18); }
:focus-visible { outline: 2px solid var(--coral); outline-offset: 3px; border-radius: 8px; }

.wrap { width: 100%; max-width: calc(var(--max) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: -9999px; top: 12px; z-index: 100; background: var(--btn-bg); color: var(--btn-ink); padding: 10px 16px; border-radius: 999px; }
.skip:focus { left: 16px; }

.grad {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.eyebrow {
  font-family: var(--text);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
}
.h2 {
  font-family: var(--display);
  font-weight: 200;
  font-size: clamp(34px, 5.2vw, 64px);
  line-height: 1.04;
  letter-spacing: -0.02em;
  text-transform: lowercase;
  max-width: 18ch;
}

/* Scroll rail (left hairline) */
.rail { position: fixed; left: clamp(6px, 1.2vw, 16px); top: 0; bottom: 0; width: 1px; background: var(--line); z-index: 40; }
.rail-fill { position: absolute; inset: 0 0 auto 0; height: 0; background: linear-gradient(var(--teal), var(--coral)); }
.rail-fill::after { content: ""; position: absolute; bottom: -3px; left: -3px; width: 7px; height: 7px; border-radius: 50%; background: var(--ink); }
@media (max-width: 720px) { .rail { display: none; } }

/* ───────────── Buttons ───────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  height: 50px; padding: 0 24px;
  border-radius: 999px;
  font-family: var(--display); font-weight: 400; font-size: 16px; letter-spacing: .01em;
  white-space: nowrap;
  transition: transform .25s ease, box-shadow .25s ease, background-color .25s ease, color .25s ease, border-color .25s ease;
}
.btn-primary {
  background: var(--btn-bg); color: var(--btn-ink);
  box-shadow: 0 0 0 2px var(--bg), 0 0 0 3px rgba(201, 85, 74, .55);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 0 0 2px var(--bg), 0 0 0 3px rgba(201, 85, 74, .9), 0 12px 24px -12px rgba(201, 85, 74, .5); }
.btn-ghost { border: 1px solid var(--line-strong); background: var(--surface); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-sm { height: 42px; padding: 0 18px; font-size: 15px; }

/* ───────────── Nav ───────────── */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease, background-color .4s ease;
}
.nav.scrolled { border-bottom-color: var(--line); }
.nav.on-dark {
  --bg: #121415; --surface: #181b1c; --ink: #ecebe8; --ink-2: #c4c3bf; --muted: #8f9291;
  --line: rgba(255,255,255,.09); --line-strong: rgba(255,255,255,.18);
  --btn-bg: #ecebe8; --btn-ink: #121415;
  color: var(--ink);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 10px; }
.glyph { width: 22px; height: 30px; }
.brand-word { font-family: var(--display); font-weight: 200; font-size: 27px; letter-spacing: -0.01em; line-height: 1; }
.nav-links { display: flex; gap: clamp(16px, 2.4vw, 34px); font-family: var(--display); font-weight: 300; font-size: 16px; }
.nav-links a { position: relative; color: var(--ink-2); transition: color .2s; }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px; background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform .3s ease; }
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.lang { display: inline-flex; align-items: center; height: 42px; padding: 3px; border: 1px solid var(--line); border-radius: 999px; }
.lang a { display: grid; place-items: center; height: 34px; min-width: 34px; padding: 0 9px; border-radius: 999px; font-family: var(--display); font-size: 14px; font-weight: 400; color: var(--muted); transition: color .2s, background-color .2s; }
.lang a:hover { color: var(--ink); }
.lang a[aria-current="page"] { background: var(--btn-bg); color: var(--btn-ink); }
.theme-toggle { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); transition: border-color .2s; }
.theme-toggle:hover { border-color: var(--line-strong); }
.theme-toggle svg { width: 18px; height: 18px; fill: none; stroke: var(--ink); stroke-width: 1.2; }
.theme-toggle .fill { fill: var(--ink); stroke: none; }
.menu-toggle { display: none; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); position: relative; }
.menu-toggle span { position: absolute; left: 13px; right: 13px; height: 1px; background: var(--ink); transition: transform .3s ease, top .3s ease; }
.menu-toggle span:first-child { top: 17px; }
.menu-toggle span:last-child { top: 24px; }
.menu-toggle[aria-expanded="true"] span:first-child { top: 20.5px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { top: 20.5px; transform: rotate(-45deg); }
.mobile-menu { display: grid; gap: 4px; padding: 8px var(--gutter) 24px; border-bottom: 1px solid var(--line); }
.mobile-menu[hidden] { display: none; }
.mobile-menu a:not(.btn) { font-family: var(--display); font-weight: 200; font-size: 32px; padding: 6px 0; border-bottom: 1px solid var(--line); }
.mobile-menu .btn { margin-top: 18px; }

@media (max-width: 900px) {
  .nav-links { display: none; }
  .menu-toggle { display: block; }
  .nav-actions .btn-sm { display: none; }
}

/* ───────────── Hero ───────────── */
.hero { padding-top: clamp(24px, 5vw, 56px); }
.wordmark {
  font-family: var(--display);
  font-weight: 100;
  font-size: clamp(84px, 19vw, 248px);
  line-height: .9;
  letter-spacing: -0.035em;
  margin-left: -0.04em;
  background: linear-gradient(180deg, var(--teal) 8%, var(--rose) 60%, var(--coral) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  padding-bottom: .06em;
}
.hero-grid {
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: end;
  margin-top: clamp(40px, 8vw, 110px);
}
.hero-line {
  font-family: var(--display); font-weight: 200;
  font-size: clamp(32px, 5.4vw, 72px); line-height: 1.02; letter-spacing: -0.025em;
}
.lede { font-size: clamp(16px, 1.4vw, 18px); color: var(--ink-2); max-width: 46ch; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }

.paths { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: clamp(48px, 7vw, 88px); }
.path {
  display: grid; gap: 10px; padding: 26px 28px 30px;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--surface);
  position: relative; overflow: hidden;
  transition: border-color .3s ease, transform .3s ease;
}
.path::before { content: ""; position: absolute; left: 0; top: 22px; bottom: 22px; width: 1px; background: linear-gradient(var(--teal), var(--coral)); opacity: .7; }
.path:hover { border-color: var(--line-strong); transform: translateY(-2px); }
.path-title { font-family: var(--display); font-weight: 200; font-size: clamp(26px, 2.6vw, 32px); line-height: 1.1; }
.path-text { color: var(--muted); max-width: 44ch; }

/* Agent feed mock */
.feed { margin-top: clamp(56px, 8vw, 96px); }
.feed-card {
  display: grid; grid-template-columns: 1.55fr 1fr;
  border: 1px solid var(--line); border-radius: 28px;
  background: var(--surface);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.feed-main { padding: clamp(24px, 4vw, 44px); border-right: 1px solid var(--line); }
.feed-kicker { font-size: 13px; color: var(--muted); letter-spacing: .02em; }
.feed-title { font-family: var(--display); font-weight: 200; font-size: clamp(30px, 3.6vw, 44px); line-height: 1.05; letter-spacing: -0.02em; margin-top: 8px; }
.feed-sub { color: var(--muted); margin-top: 6px; }
.feed-list { margin-top: 26px; position: relative; }
.feed-list::before { content: ""; position: absolute; left: 17px; top: 18px; bottom: 18px; width: 1px; background: linear-gradient(var(--teal), var(--coral)); opacity: .55; }
.feed-item {
  display: grid; grid-template-columns: 36px 1fr auto; gap: 16px; align-items: start;
  padding: 16px 0; border-bottom: 1px solid var(--line);
  opacity: 0; transform: translateY(8px); transition: opacity .6s ease, transform .6s ease;
}
.feed-item:last-child { border-bottom: 0; }
.feed.in .feed-item { opacity: 1; transform: none; }
.feed.in .feed-item:nth-child(2) { transition-delay: .15s; }
.feed.in .feed-item:nth-child(3) { transition-delay: .3s; }
.feed.in .feed-item:nth-child(4) { transition-delay: .45s; }
.feed-icon { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--surface); border: 1px solid var(--line-strong); position: relative; z-index: 1; }
.feed-icon svg { width: 16px; height: 16px; fill: none; stroke: var(--ink-2); stroke-width: 1.3; stroke-linejoin: round; stroke-linecap: round; }
.feed-text { color: var(--ink); font-size: 15px; line-height: 1.5; }
.feed-text small { display: block; color: var(--muted); font-size: 13px; margin-top: 2px; }
.pill {
  display: inline-flex; align-items: center; gap: 7px; white-space: nowrap;
  font-size: 12.5px; padding: 5px 12px; border-radius: 999px;
  border: 1px solid var(--line-strong); color: var(--ink-2);
}
.pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--teal); }
.pill-hot::before { background: var(--coral); }

.feed-side { padding: clamp(20px, 3vw, 28px); background: var(--surface-2); display: flex; }
.assistant { display: flex; flex-direction: column; gap: 14px; width: 100%; min-height: 280px; }
.assistant-head { display: flex; align-items: center; gap: 9px; font-size: 14px; color: var(--ink-2); }
.ring { width: 16px; height: 16px; border-radius: 50%; border: 1.5px solid var(--coral); box-shadow: inset 0 0 0 3px var(--surface-2), inset 0 0 0 10px rgba(110,151,160,.35); }
.bubble { font-size: 14.5px; line-height: 1.5; padding: 10px 15px; border-radius: 18px; max-width: 88%; }
.bubble-user { align-self: flex-end; background: var(--btn-bg); color: var(--btn-ink); border-bottom-right-radius: 6px; }
.bubble-agent { align-self: flex-start; background: var(--surface); border: 1px solid var(--line); border-bottom-left-radius: 6px; min-height: 44px; }
.bubble-agent:empty::after, .bubble-agent.typing::after { content: ""; display: inline-block; width: 1px; height: 1.05em; margin-left: 2px; vertical-align: -2px; background: var(--coral); animation: caret 1s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }
.feed figcaption { margin-top: 18px; color: var(--muted); font-size: 14px; }

.values {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
  margin-top: clamp(56px, 7vw, 88px); padding-top: 28px; border-top: 1px solid var(--line);
  font-family: var(--display); font-weight: 300; font-size: 18px;
}
.values li { display: flex; align-items: center; gap: 12px; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--c); flex: none; }

/* ───────────── Sections ───────────── */
.section { padding-block: clamp(96px, 13vw, 168px) 0; }
.section-head { display: grid; gap: 18px; margin-bottom: clamp(40px, 6vw, 72px); }
.section-note { color: var(--muted); max-width: 52ch; }

/* Services */
.services { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.service {
  padding: clamp(24px, 3vw, 36px); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 14px; min-height: 320px;
  position: relative; transition: background-color .35s ease;
}
.service::after { content: ""; position: absolute; left: -1px; right: -1px; top: -1px; height: 1px; background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform .5s ease; }
.service:hover { background: var(--surface); }
.service:hover::after { transform: scaleX(1); }
.num { font-family: var(--mono); font-size: 12px; color: var(--muted); }
.service h3 { font-family: var(--display); font-weight: 200; font-size: clamp(26px, 2.4vw, 30px); line-height: 1.1; letter-spacing: -0.01em; margin-top: 18px; }
.service p { color: var(--ink-2); font-size: 15px; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 10px; }
.tags li { font-size: 12.5px; padding: 4px 11px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); }

/* ───────────── Dark band (conductor) ───────────── */
.band {
  --bg: #121415; --surface: #181b1c; --surface-2: #1e2223;
  --ink: #ecebe8; --ink-2: #c4c3bf; --muted: #8f9291;
  --line: rgba(255,255,255,.09); --line-strong: rgba(255,255,255,.18);
  --btn-bg: #ecebe8; --btn-ink: #121415;
  background: radial-gradient(120% 70% at 50% 0%, #1d2223 0%, #121415 60%);
  color: var(--ink);
  margin-top: clamp(96px, 13vw, 168px);
  padding-block: clamp(96px, 12vw, 150px);
  position: relative; overflow: hidden;
}
.band::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.05) 1px, transparent 1px); background-size: 28px 28px; mask-image: radial-gradient(70% 60% at 50% 30%, #000 0%, transparent 80%); -webkit-mask-image: radial-gradient(70% 60% at 50% 30%, #000 0%, transparent 80%); pointer-events: none; }
.band > .wrap { position: relative; }
.band-intro { display: grid; gap: 22px; justify-items: center; text-align: center; }
.band-intro .h2 { max-width: 22ch; }
.band-lede { color: var(--ink-2); max-width: 60ch; font-size: clamp(16px, 1.4vw, 18px); }

.orbit { position: relative; margin: clamp(48px, 7vw, 80px) auto 0; width: 100%; max-width: 980px; aspect-ratio: 16 / 9; }
.orbit-lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.orbit-lines .ell { fill: none; stroke: rgba(255,255,255,.08); stroke-dasharray: .6 1.2; vector-effect: non-scaling-stroke; }
.orbit-lines .spoke { stroke: rgba(255,255,255,.1); stroke-width: 1; vector-effect: non-scaling-stroke; }
.orbit-lines .pulse { stroke: var(--coral); stroke-width: 1.5; vector-effect: non-scaling-stroke; stroke-dasharray: 10 200; stroke-dashoffset: 10; stroke-linecap: round; animation: pulse 3.6s cubic-bezier(.5,0,.5,1) infinite; }
@keyframes pulse { from { stroke-dashoffset: 10; } to { stroke-dashoffset: -100; } }
.orbit-core {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: clamp(120px, 17vw, 168px); aspect-ratio: 1; border-radius: 50%;
  display: grid; place-content: center; text-align: center; gap: 2px;
  background: radial-gradient(circle at 50% 35%, #232829, #141617 70%);
  border: 1px solid rgba(201, 85, 74, .55);
  box-shadow: 0 0 0 10px rgba(255,255,255,.02), 0 0 60px -10px rgba(201, 85, 74, .35);
}
.core-ring { position: absolute; inset: 8px; border-radius: 50%; border: 1px solid rgba(110,151,160,.35); animation: breathe 4s ease-in-out infinite; }
@keyframes breathe { 50% { transform: scale(1.05); opacity: .5; } }
.core-label { font-family: var(--display); font-weight: 300; font-size: clamp(16px, 1.7vw, 20px); }
.core-sub { font-size: 12px; color: var(--muted); }
.orbit-nodes li {
  position: absolute; transform: translate(-50%, -50%);
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--display); font-weight: 300; font-size: clamp(13px, 1.3vw, 15px);
  color: var(--ink-2); white-space: nowrap;
  padding: 7px 14px; border-radius: 999px;
  border: 1px solid var(--line); background: rgba(24,27,28,.85);
}
.orbit-nodes li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; border: 1px solid var(--teal); }
.orbit-nodes li.warm::before { border-color: var(--coral); }

.stream { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(24px, 4vw, 56px); margin-top: clamp(64px, 8vw, 110px); }
.stream-head { font-size: 13px; color: var(--muted); margin-bottom: 14px; }
.events { display: grid; gap: 10px; }
.events li { display: grid; grid-template-columns: 110px 1fr; gap: 12px; align-items: center; padding: 13px 18px; border: 1px solid var(--line); border-radius: 14px; font-size: 14.5px; position: relative; }
.events li::before { content: ""; position: absolute; left: -1px; top: 50%; width: 3px; height: 3px; border-radius: 50%; background: var(--muted); transform: translate(-50%, -50%); }
.events b { font-weight: 500; color: var(--ink); }
.events span { color: var(--ink-2); }
.handled { padding: 20px 22px; border-radius: 18px; background: var(--surface-2); border: 1px solid var(--line); border-left: 1px solid var(--coral); font-size: 15px; color: var(--ink); }
.handled + .handled { margin-top: 14px; }
.handled-meta { font-size: 13px; color: var(--muted); margin-bottom: 6px; }
.handled-meta b { font-weight: 500; color: var(--ink-2); }
.handled-actions { display: flex; gap: 8px; margin-top: 14px; }
.chip { font-size: 13px; padding: 6px 13px; border-radius: 999px; border: 1px solid var(--line-strong); color: var(--ink-2); }
.chip-solid { background: var(--ink); color: #121415; border-color: var(--ink); }

.capabilities { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: clamp(64px, 8vw, 110px); border-top: 1px solid var(--line); }
.capabilities li { padding: 26px 24px 0 0; }
.capabilities li + li { padding-left: 24px; border-left: 1px solid var(--line); }
.capabilities h3 { font-family: var(--display); font-weight: 300; font-size: 19px; }
.capabilities p { color: var(--muted); font-size: 14.5px; margin-top: 6px; }

/* Blur-in reveal (conductor) and rise reveal (hairline) */
.js .blur-in { opacity: 0; filter: blur(14px); transform: translateY(10px); transition: opacity 1.1s ease, filter 1.1s ease, transform 1.1s ease; }
.js .blur-in.in { opacity: 1; filter: blur(0); transform: none; }
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .9s cubic-bezier(.2,.7,.2,1), transform .9s cubic-bezier(.2,.7,.2,1); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .blur-in, .js .reveal { opacity: 1; filter: none; transform: none; transition: none; }
  .feed-item { opacity: 1; transform: none; transition: none; }
  .orbit-lines .pulse, .core-ring { animation: none; }
}

/* ───────────── Work ───────────── */
.work { border-top: 1px solid var(--line); }
.case {
  display: grid; grid-template-columns: 70px 1fr 220px; gap: clamp(16px, 3vw, 40px); align-items: start;
  padding: clamp(28px, 3.5vw, 44px) 0; border-bottom: 1px solid var(--line);
  position: relative;
}
.case::before { content: ""; position: absolute; left: 0; bottom: -1px; height: 1px; width: 100%; background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform .7s ease; }
.case:hover::before { transform: scaleX(1); }
.case-num { font-family: var(--mono); font-size: 12px; color: var(--muted); padding-top: 12px; }
.case h3 { font-family: var(--display); font-weight: 200; font-size: clamp(30px, 3.4vw, 42px); line-height: 1.05; letter-spacing: -0.015em; display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 16px; }
.case h3 small { font-family: var(--text); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 400; }
.case-body p { color: var(--ink-2); margin-top: 14px; max-width: 64ch; font-size: 15.5px; }
.case-body .tags { margin-top: 18px; padding-top: 0; }
.case-metric { text-align: right; color: var(--muted); font-size: 14px; padding-top: 6px; }
.metric { display: block; font-family: var(--display); font-weight: 100; font-size: clamp(44px, 5vw, 64px); line-height: 1; letter-spacing: -0.03em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 6px; }

/* ───────────── Process ───────────── */
.process-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(40px, 6vw, 96px); }
.sticky { position: sticky; top: 120px; align-self: start; }
.sticky .btn { justify-self: start; margin-top: 8px; }
.timeline { position: relative; padding-left: 40px; }
.timeline::before { content: ""; position: absolute; left: 6px; top: 8px; bottom: 8px; width: 1px; background: linear-gradient(var(--teal), var(--coral)); }
.step { position: relative; padding-bottom: clamp(36px, 5vw, 56px); }
.step:last-child { padding-bottom: 0; }
.step-dot { position: absolute; left: -40px; top: 6px; width: 13px; height: 13px; border-radius: 50%; background: var(--bg); border: 1px solid var(--line-strong); }
.step-dot::after { content: ""; position: absolute; inset: 3px; border-radius: 50%; background: var(--grad); }
.step-time { font-size: 13px; color: var(--muted); letter-spacing: .02em; display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.step-badge {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 12px; letter-spacing: .04em; color: var(--ink);
  padding: 4px 12px; border-radius: 999px;
  border: 1px solid transparent;
  background: linear-gradient(var(--bg), var(--bg)) padding-box, var(--grad) border-box;
}
.step-badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--coral); animation: blink 2.4s ease-in-out infinite; }
@keyframes blink { 50% { opacity: .35; } }
.step-key .step-dot { left: -43px; top: 3px; width: 19px; height: 19px; border-color: rgba(201, 85, 74, .6); box-shadow: 0 0 0 6px rgba(201, 85, 74, .08), 0 0 24px rgba(201, 85, 74, .35); }
.step-key .step-dot::after { inset: 4px; }
.step-key h3 { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
@media (prefers-reduced-motion: reduce) { .step-badge::before { animation: none; } }
.step h3 { font-family: var(--display); font-weight: 200; font-size: clamp(28px, 3vw, 36px); line-height: 1.1; margin-top: 2px; }
.step p:last-child { color: var(--ink-2); margin-top: 8px; max-width: 48ch; }

/* ───────────── About ───────────── */
.about { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.about-story { display: grid; gap: 20px; }
.about-story p:not(.eyebrow) { color: var(--ink-2); font-size: clamp(16px, 1.4vw, 18px); max-width: 54ch; }
.founder { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); padding: clamp(24px, 3vw, 36px); display: grid; gap: 20px; box-shadow: var(--shadow); }
.founder-top { display: flex; align-items: center; gap: 16px; }
.avatar { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; font-family: var(--display); font-weight: 300; font-size: 18px; color: var(--ink); background: var(--surface-2); border: 1px solid transparent; background-image: linear-gradient(var(--surface-2), var(--surface-2)), var(--grad); background-origin: border-box; background-clip: padding-box, border-box; flex: none; }
.founder h3 { font-family: var(--display); font-weight: 300; font-size: 24px; line-height: 1.2; }
.founder-role { color: var(--muted); font-size: 14px; }
.founder > p { color: var(--ink-2); font-size: 15px; }
.facts { display: grid; gap: 0; border-top: 1px solid var(--line); }
.facts div { display: grid; grid-template-columns: 110px 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.facts dt { color: var(--muted); }
.founder-links { display: flex; gap: 22px; font-family: var(--display); font-size: 16px; }
.founder-links a { border-bottom: 1px solid var(--line-strong); padding-bottom: 2px; transition: border-color .2s; }
.founder-links a:hover { border-color: var(--coral); }

/* ───────────── Contact ───────────── */
.contact { padding-bottom: clamp(80px, 10vw, 140px); }
.big { font-family: var(--display); font-weight: 100; font-size: clamp(64px, 13vw, 176px); line-height: .95; letter-spacing: -0.035em; margin-top: 14px; text-transform: lowercase; }
.contact-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(40px, 6vw, 96px); margin-top: clamp(40px, 6vw, 72px); }
.form { display: grid; gap: 22px; }
.field { display: grid; gap: 8px; border: 0; padding: 0; margin: 0; min-width: 0; }
.field label, .field legend { font-size: 13px; color: var(--muted); padding: 0; }
.field input, .field textarea {
  width: 100%; font: inherit; font-size: 17px; color: var(--ink);
  background: transparent; border: 0; border-bottom: 1px solid var(--line-strong);
  padding: 8px 0 12px; border-radius: 0; resize: vertical;
  transition: border-color .2s;
}
.field input:focus, .field textarea:focus { outline: none; border-bottom-color: var(--coral); }
.field.invalid input, .field.invalid textarea { border-bottom-color: var(--coral); }
.choices { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.choices label { position: relative; cursor: pointer; }
.choices input { position: absolute; opacity: 0; pointer-events: none; }
.choices span { display: inline-block; font-size: 14px; color: var(--ink-2); padding: 8px 15px; border: 1px solid var(--line-strong); border-radius: 999px; transition: all .2s; }
.choices input:checked + span { background: var(--btn-bg); color: var(--btn-ink); border-color: var(--btn-bg); }
.choices input:focus-visible + span { outline: 2px solid var(--coral); outline-offset: 2px; }
.form .btn { justify-self: start; margin-top: 6px; }
.form-note { font-size: 13px; color: var(--muted); }
.direct { display: grid; gap: 26px; align-content: start; }
.direct-lede { color: var(--ink-2); font-size: clamp(16px, 1.4vw, 18px); max-width: 40ch; }
.direct-list { border-top: 1px solid var(--line); }
.direct-list li { display: grid; grid-template-columns: 90px 1fr; gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.direct-list span { font-size: 13px; color: var(--muted); }
.direct-list a { font-family: var(--display); font-weight: 300; font-size: clamp(17px, 1.6vw, 20px); overflow-wrap: anywhere; transition: color .2s; }
.direct-list a:hover { color: var(--coral); }

/* ───────────── Footer ───────────── */
.footer { border-top: 1px solid var(--line); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-block: 32px; flex-wrap: wrap; }
.legal { color: var(--muted); font-size: 14px; }
.legal strong { font-weight: 500; color: var(--ink-2); }
.to-top { font-size: 14px; color: var(--muted); }
.to-top:hover { color: var(--ink); }

/* ───────────── Responsive ───────────── */
@media (max-width: 1024px) {
  .services { grid-template-columns: repeat(2, 1fr); }
  .capabilities { grid-template-columns: repeat(2, 1fr); }
  .capabilities li:nth-child(3) { padding-left: 0; border-left: 0; }
  .capabilities li { padding-bottom: 26px; }
  .case { grid-template-columns: 50px 1fr; }
  .case-metric { grid-column: 2; text-align: left; display: flex; align-items: baseline; gap: 12px; padding-top: 0; }
  .metric { display: inline; margin: 0; font-size: 44px; }
}
@media (max-width: 860px) {
  .hero-grid, .paths, .feed-card, .stream, .process-grid, .about, .contact-grid { grid-template-columns: 1fr; }
  .feed-main { border-right: 0; border-bottom: 1px solid var(--line); }
  .values { grid-template-columns: 1fr 1fr; }
  .sticky { position: static; }
  .orbit { aspect-ratio: 1 / 1; }
}
@media (max-width: 600px) {
  .services { grid-template-columns: 1fr; }
  .service { min-height: 0; }
  .capabilities { grid-template-columns: 1fr; }
  .capabilities li, .capabilities li + li { padding: 22px 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .values { grid-template-columns: 1fr; gap: 14px; font-size: 17px; }
  .feed-item { grid-template-columns: 36px 1fr; }
  .feed-item .pill { grid-column: 2; justify-self: start; }
  .events li { grid-template-columns: 1fr; gap: 2px; }
  .case { grid-template-columns: 1fr; gap: 10px; }
  .case-num { padding-top: 0; }
  .case-metric { grid-column: 1; }
  .facts div, .direct-list li { grid-template-columns: 1fr; gap: 2px; }
  .cta-row .btn { flex: 1 1 auto; }
  .orbit-nodes li { padding: 5px 10px; font-size: 12px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}

/* Contact form extras */
.opt { opacity: .7; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form.sending .btn[type="submit"] { opacity: .6; pointer-events: none; }
.form-note.ok { color: var(--teal); }
.form-note.err { color: var(--coral); }

/* Hero H1: wordmark plus a small descriptive line (keeps the look, gives search engines a real heading) */
.hero-title { margin: 0; }
.hero-title .wordmark { display: block; }
.hero-kicker {
  display: block; margin-top: clamp(14px, 2vw, 22px);
  font-family: var(--text); font-size: 13px; font-weight: 400; line-height: 1.5;
  letter-spacing: .14em; text-transform: uppercase; color: var(--muted);
}
