:root {
  color-scheme: light;
  --ink: #0f1622;
  --ink-soft: #2a3447;
  --paper: #f6f3ec;
  --paper-soft: #fbf9f3;
  --paper-deep: #ecebe5;
  --line: rgba(15, 22, 34, 0.10);
  --line-strong: rgba(15, 22, 34, 0.20);
  --muted: #5b6675;
  --muted-soft: #8a93a1;
  --green: #1f5a48;
  --green-2: #2f765e;
  --gold: #b08544;
  --rust: #1f3d6e;
  --teal: #38516e;
  --white: #ffffff;
  --radius: 12px;
  --radius-lg: 18px;
  --shadow-soft: 0 1px 2px rgba(15, 22, 34, 0.04), 0 10px 28px rgba(15, 22, 34, 0.06);
  --shadow-lift: 0 2px 4px rgba(15, 22, 34, 0.05), 0 24px 56px rgba(15, 22, 34, 0.12);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--paper);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  letter-spacing: -0.005em;
}

a { color: inherit; text-decoration: none; }

/* ============ atmospheric background (quiet, serious) ============ */
.grain {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  opacity: 0.18;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.06 0 0 0 0 0.08 0 0 0 0 0.13 0 0 0 0.4 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

.glow { display: none; }

/* ============ header ============ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 56px);
  border-bottom: 1px solid rgba(21, 22, 19, 0.08);
  background: rgba(244, 237, 225, 0.78);
  backdrop-filter: saturate(1.2) blur(18px);
  -webkit-backdrop-filter: saturate(1.2) blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  font-weight: 600;
}

.brand-logo {
  display: block;
  width: clamp(204px, 18vw, 272px);
  height: auto;
  mix-blend-mode: multiply;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 10px;
  background: var(--ink);
  color: var(--paper-soft);
}

.brand-name {
  font-size: 18px;
  letter-spacing: -0.01em;
}

.brand-name em {
  font-family: "Instrument Serif", serif;
  font-style: italic;
  font-weight: 400;
  color: var(--rust);
  padding-left: 2px;
}

nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.2vw, 28px);
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
}

nav a { transition: color 160ms ease; }
nav a:hover { color: var(--ink); }
nav a[aria-current="page"] { color: var(--ink); }

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--ink);
  background: var(--paper-soft);
  font-weight: 600;
}

.nav-cta:hover {
  background: var(--ink);
  color: var(--paper-soft);
  border-color: var(--ink);
}

/* ============ typography ============ */
.section {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 20px;
  color: var(--green);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow.centered {
  justify-content: center;
  display: flex;
}

.eyebrow .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green-2);
  box-shadow: 0 0 0 4px rgba(47, 118, 94, 0.16);
}

h1, h2, h3, p { margin-top: 0; }

h1 {
  margin-bottom: 26px;
  font-size: clamp(46px, 7.5vw, 96px);
  line-height: 0.95;
  letter-spacing: -0.025em;
  font-weight: 600;
}

h1 em, h2 em {
  font-family: "Instrument Serif", serif;
  font-style: italic;
  font-weight: 400;
  color: var(--rust);
  letter-spacing: -0.01em;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(32px, 4.6vw, 56px);
  line-height: 1.04;
  letter-spacing: -0.02em;
  font-weight: 600;
}

h3 {
  margin-bottom: 10px;
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

/* ============ hero ============ */
.hero {
  display: block;
  padding: clamp(72px, 11vw, 140px) 0 clamp(56px, 8vw, 100px);
}

.hero-copy { max-width: 920px; }

.hero-lede {
  max-width: 620px;
  margin-bottom: 32px;
  color: var(--ink-soft);
  font-size: clamp(18px, 1.6vw, 21px);
  line-height: 1.5;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  list-style: none;
  padding: 0;
  margin: 32px 0 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
}

.hero-trust li::before {
  content: "";
  display: inline-block;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--rust);
  margin-right: 10px;
  vertical-align: middle;
}

.hero-trust span {
  color: var(--muted-soft);
  margin-right: 4px;
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0 22px;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.005em;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.button:hover { transform: translateY(-1px); }

.button.primary {
  background: var(--ink);
  color: var(--paper-soft);
  box-shadow: 0 10px 26px rgba(21, 22, 19, 0.22);
}

.button.primary:hover {
  background: #000;
  box-shadow: 0 14px 30px rgba(21, 22, 19, 0.28);
}

.button.secondary {
  border: 1px solid var(--line-strong);
  background: rgba(251, 246, 236, 0.76);
  color: var(--ink);
}

.button.secondary:hover {
  border-color: var(--ink);
}

/* hero panel */
.hero-panel {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255, 251, 243, 0.96), rgba(246, 238, 222, 0.92));
  box-shadow: var(--shadow-lift);
  overflow: hidden;
  isolation: isolate;
}

.hero-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(120% 60% at 0% 0%, rgba(162, 79, 42, 0.08), transparent 60%);
  pointer-events: none;
  z-index: -1;
}

.panel-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.005em;
}

.panel-title { color: var(--ink); }

.status-dot { color: var(--green); }

.status-dot::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 7px;
  border-radius: 50%;
  background: var(--green-2);
  box-shadow: 0 0 0 4px rgba(47, 118, 94, 0.18);
  animation: pulse 2.2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(47, 118, 94, 0.18); }
  50%      { box-shadow: 0 0 0 7px rgba(47, 118, 94, 0.06); }
}

.panel-body {
  padding: 18px;
  display: grid;
  gap: 14px;
}

.chat-line {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  padding: 12px 14px;
  border-radius: var(--radius);
  background: rgba(255, 251, 243, 0.86);
  border: 1px solid rgba(21, 22, 19, 0.06);
  animation: fade-in 600ms ease both;
}

.chat-line:nth-child(2) { animation-delay: 200ms; }
.chat-line:nth-child(3) { animation-delay: 400ms; }

@keyframes fade-in {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}

.chip {
  display: inline-flex;
  align-items: center;
  height: 22px;
  padding: 0 8px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper-soft);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.chip.you {
  background: var(--rust);
}

.chat-line p {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink-soft);
}

/* activity log variant (persistent co-worker) */
.panel-body.log {
  padding: 8px;
  gap: 0;
}

.log-row {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 14px 14px;
  border-radius: var(--radius);
  animation: fade-in 600ms ease both;
}

.log-row + .log-row { border-top: 1px solid rgba(21, 22, 19, 0.06); }
.log-row:nth-child(2) { animation-delay: 120ms; }
.log-row:nth-child(3) { animation-delay: 240ms; }
.log-row:nth-child(4) { animation-delay: 360ms; }

.log-row time {
  font-family: "Instrument Serif", serif;
  font-style: italic;
  font-size: 16px;
  color: var(--muted);
  letter-spacing: -0.01em;
}

.log-row strong {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.005em;
}

.log-row small {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted-soft);
}

.log-row.live {
  background: rgba(47, 118, 94, 0.08);
}

.log-row.live time {
  color: var(--green-2);
  font-style: italic;
}

.log-row.live strong::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--green-2);
  box-shadow: 0 0 0 4px rgba(47, 118, 94, 0.18);
  animation: pulse 2.2s ease-in-out infinite;
  vertical-align: middle;
}

.panel-foot {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
}

.foot-stat {
  padding: 14px 16px;
  display: grid;
  gap: 2px;
}

.foot-stat + .foot-stat {
  border-left: 1px solid var(--line);
}

.foot-stat strong {
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.foot-stat small {
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.02em;
}

/* ============ proof band ============ */
.proof-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(251, 246, 236, 0.6);
  overflow: hidden;
}

.proof-band > div {
  padding: clamp(26px, 3vw, 40px);
}

.proof-band > div + div {
  border-left: 1px solid var(--line);
}

.metric {
  display: block;
  margin-bottom: 10px;
  color: var(--rust);
  font-family: "Instrument Serif", serif;
  font-style: italic;
  font-size: clamp(38px, 4vw, 56px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.02em;
}

.proof-band p,
.use-case-grid p,
.step p,
.value p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.55;
  font-size: 15px;
}

/* ============ sections ============ */
.split,
.process,
.offerings,
.team-values {
  padding: clamp(72px, 9vw, 120px) 0;
}

.section-heading {
  display: grid;
  grid-template-columns: 0.75fr 1.4fr;
  gap: 30px;
  align-items: start;
  margin-bottom: 44px;
}

.section-heading.slim {
  display: block;
  margin-bottom: 36px;
}

.section-heading.slim .eyebrow { margin-bottom: 12px; }

/* ============ drops / integrations strip ============ */
.drops {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(28px, 4vw, 44px) 0;
  text-align: center;
  border-block: 1px solid var(--line);
}

.drops .eyebrow { margin-bottom: 18px; }

.drops-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.drops-row span {
  padding: 8px 16px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(251, 246, 236, 0.7);
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.005em;
}

/* ============ offerings (three minimal cards) ============ */
.offer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.offer-grid article {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(251, 246, 236, 0.75);
  box-shadow: var(--shadow-soft);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.offer-grid article:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lift);
  border-color: var(--line-strong);
}

.offer-num {
  display: block;
  margin-bottom: 20px;
  color: var(--rust);
  font-family: "Instrument Serif", serif;
  font-style: italic;
  font-size: 20px;
}

.offer-grid h3 {
  font-size: 22px;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.offer-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
}

.steps.three { grid-template-columns: repeat(3, 1fr); }

.use-case-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.use-case-grid article,
.step,
.value {
  min-height: 230px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(251, 246, 236, 0.75);
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.use-case-grid article:hover,
.step:hover,
.value:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lift);
  border-color: var(--line-strong);
}

.tile-label,
.step span,
.value-num {
  display: inline-block;
  margin-bottom: auto;
  padding-bottom: 28px;
  color: var(--teal);
  font-family: "Instrument Serif", serif;
  font-style: italic;
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0.02em;
}

.step span,
.value-num {
  color: var(--rust);
  font-size: 18px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

/* ============ marquee ============ */
.marquee {
  width: 100%;
  padding: 44px 0;
  border-block: 1px solid var(--line);
  background: rgba(236, 227, 210, 0.4);
}

.marquee .eyebrow {
  margin-bottom: 16px;
  width: 100%;
}

.marquee-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 14px;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  color: var(--ink-soft);
  font-family: "Instrument Serif", serif;
  font-style: italic;
  font-size: clamp(18px, 2.2vw, 24px);
  letter-spacing: -0.01em;
}

.marquee-row span:nth-child(even) { color: var(--muted-soft); }

/* ============ quote ============ */
.quote {
  position: relative;
  width: min(900px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(76px, 10vw, 130px) 0;
  text-align: center;
}

.quote-glyph {
  display: block;
  font-family: "Instrument Serif", serif;
  font-style: italic;
  font-size: clamp(100px, 14vw, 180px);
  line-height: 0.7;
  color: var(--rust);
  opacity: 0.28;
  margin-bottom: -18px;
  user-select: none;
}

.quote blockquote {
  margin: 0 0 20px;
  font-family: "Instrument Serif", serif;
  font-style: normal;
  font-size: clamp(30px, 3.6vw, 46px);
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--ink);
  font-weight: 400;
}

.quote blockquote em {
  font-family: "Instrument Serif", serif;
  font-style: italic;
  color: var(--rust);
  font-weight: 400;
}

.quote cite {
  display: block;
  margin-bottom: 22px;
  color: var(--muted);
  font-size: 13px;
  font-style: normal;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.quote-note {
  max-width: 560px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}

.quote-note strong {
  color: var(--ink);
  font-weight: 600;
}

/* ============ cta ============ */
.cta {
  padding: clamp(80px, 10vw, 132px) 0 clamp(60px, 8vw, 100px);
  text-align: center;
}

.cta h2 {
  max-width: 820px;
  margin: 0 auto 16px;
}

.cta-sub {
  margin: 0 auto 28px;
  color: var(--muted);
  font-size: 16px;
}

.cta .hero-actions { justify-content: center; }

/* ============ footer ============ */
.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px 24px;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 32px 0 44px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  font-weight: 600;
  color: var(--ink);
}

.footer-logo {
  display: block;
  width: 204px;
  height: auto;
  mix-blend-mode: multiply;
}

.footer-brand .brand-mark {
  width: 28px;
  height: 28px;
}

.footer-links {
  display: inline-flex;
  gap: 20px;
}

.footer-links a { color: var(--ink-soft); font-weight: 500; }
.footer-links a:hover { color: var(--ink); }

.footer-meta { color: var(--muted-soft); }

/* ============ team page ============ */
.team-hero {
  padding: clamp(72px, 10vw, 120px) 0 clamp(40px, 6vw, 72px);
  max-width: 900px;
}

.team-hero h1 {
  font-size: clamp(44px, 6vw, 82px);
}

.team-lede {
  color: var(--ink-soft);
  font-size: clamp(18px, 1.6vw, 21px);
  line-height: 1.5;
  max-width: 660px;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  padding-bottom: 40px;
}

/* minimal: photo + name + linkedin only */
.team-grid.minimal {
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  max-width: 880px;
  margin: 0 auto;
}

.member-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 32px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(251, 246, 236, 0.75);
  box-shadow: var(--shadow-soft);
  text-align: center;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.member-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lift);
  border-color: var(--line-strong);
}

.member-photo {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--paper-deep);
  border: 1px solid var(--line);
}

.member-meta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.member-meta h2 {
  font-size: 22px;
  margin: 0;
  letter-spacing: -0.01em;
  font-weight: 600;
}

.member-title {
  margin: 4px 0 0;
  color: var(--rust);
  font-family: "Instrument Serif", serif;
  font-style: italic;
  font-size: 18px;
  letter-spacing: -0.005em;
}

.member-school {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.team-grid.minimal {
  padding-top: clamp(56px, 9vw, 100px);
}

.member-linkedin {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: color 160ms ease;
}

.member-card:hover .member-linkedin { color: var(--ink); }

.member {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 28px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(251, 246, 236, 0.75);
  box-shadow: var(--shadow-soft);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.member:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lift);
  border-color: var(--line-strong);
}

.member-portrait {
  --accent: var(--rust);
  width: 180px;
  height: 180px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: linear-gradient(150deg, var(--paper-deep), var(--paper-soft));
  border: 1px solid var(--line);
  color: var(--accent);
  font-family: "Instrument Serif", serif;
  font-style: italic;
  font-size: 64px;
  font-weight: 400;
  letter-spacing: -0.02em;
  position: relative;
  overflow: hidden;
}

.member-portrait::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(80% 80% at 20% 20%, rgba(162, 79, 42, 0.1), transparent 65%);
  pointer-events: none;
}

.member-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.member-role {
  margin: 0 0 8px;
  color: var(--green);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.member h2 {
  font-size: clamp(26px, 2.6vw, 32px);
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.member-bio {
  color: var(--ink-soft);
  font-size: 15.5px;
  line-height: 1.55;
  margin-bottom: 16px;
}

.member-tags {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.member-tags li {
  padding: 4px 10px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(255, 251, 243, 0.75);
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 500;
}

.member-links {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.member-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: var(--paper-soft);
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
  transition: background 160ms ease, color 160ms ease, border-color 160ms ease;
}

.member-link svg { flex-shrink: 0; }

.member-link:hover {
  background: var(--ink);
  color: var(--paper-soft);
  border-color: var(--ink);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

/* ============ privacy / 404 ============ */
.legal {
  max-width: 760px;
  padding: clamp(64px, 10vw, 120px) 0;
}

.legal h1 {
  margin-bottom: 28px;
  font-size: clamp(40px, 7vw, 72px);
}

.legal p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.6;
}

.legal a {
  color: var(--green);
  font-weight: 600;
}

/* ============ responsive ============ */
@media (max-width: 1020px) {
  .use-case-grid,
  .steps,
  .offer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .team-grid,
  .team-grid.minimal { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
}

@media (max-width: 920px) {
  .hero,
  .section-heading {
    grid-template-columns: 1fr;
  }
  .hero { min-height: auto; }
  .hero-panel { max-width: 560px; }
  .proof-band { grid-template-columns: 1fr 1fr; }
  .proof-band > div:nth-child(3) {
    border-left: 0;
    border-top: 1px solid var(--line);
    grid-column: 1 / -1;
  }
}

@media (max-width: 700px) {
  .site-header {
    flex-wrap: wrap;
    gap: 12px;
  }
  nav { width: 100%; justify-content: space-between; flex-wrap: wrap; row-gap: 8px; }
  .nav-cta { margin-left: auto; }

  h1 { font-size: clamp(42px, 12vw, 60px); }
  h2 { font-size: clamp(28px, 7vw, 40px); }

  .use-case-grid,
  .steps,
  .offer-grid,
  .proof-band { grid-template-columns: 1fr; }

  .log-row { grid-template-columns: 48px 1fr; }
  .log-row small { grid-column: 2; font-size: 10px; }

  .proof-band > div + div { border-left: 0; border-top: 1px solid var(--line); }

  .hero-actions, .button { width: 100%; }

  .member { grid-template-columns: 1fr; }
  .member-portrait { width: 120px; height: 120px; font-size: 46px; }

  .footer-links { width: 100%; justify-content: flex-start; }
}

/* ============ sticky chat dock (CEO checking in on the company) ============ */
.chat-dock {
  position: fixed;
  right: clamp(16px, 2.4vw, 36px);
  bottom: clamp(16px, 2.4vw, 36px);
  width: clamp(300px, 26vw, 380px);
  max-height: min(620px, 72vh);
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  background: rgba(251, 249, 243, 0.96);
  backdrop-filter: saturate(1.2) blur(20px);
  -webkit-backdrop-filter: saturate(1.2) blur(20px);
  box-shadow: var(--shadow-lift);
  z-index: 30;
  overflow: hidden;
  transform: translateY(8px);
  opacity: 0;
  pointer-events: none;
  transition: transform 480ms ease, opacity 480ms ease;
}

.chat-dock.visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.dock-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  background: var(--paper-soft);
}

.dock-id {
  display: flex;
  align-items: center;
  gap: 10px;
}

.dock-avatar {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--paper-soft);
  font-family: "Instrument Serif", serif;
  font-style: italic;
  font-size: 18px;
  font-weight: 400;
}

.dock-id > div { display: flex; flex-direction: column; line-height: 1.1; }
.dock-title { font-size: 14px; font-weight: 600; color: var(--ink); }
.dock-sub { font-size: 11px; color: var(--muted-soft); letter-spacing: 0.04em; text-transform: uppercase; }

.dock-body {
  flex: 1;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow-y: auto;
  scroll-behavior: smooth;
  min-height: 120px;
}

.dock-body::-webkit-scrollbar { width: 6px; }
.dock-body::-webkit-scrollbar-thumb { background: rgba(15, 22, 34, 0.18); border-radius: 999px; }

.msg {
  display: flex;
  max-width: 88%;
}

.msg-ajax {
  align-self: flex-start;
  transform-origin: left bottom;
  animation: msg-in-left 520ms cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

.msg-you  {
  align-self: flex-end;
  transform-origin: right bottom;
  animation: msg-in-right 520ms cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

.msg .bubble {
  padding: 10px 13px;
  border-radius: 14px;
  font-size: 13.5px;
  line-height: 1.45;
  border: 1px solid var(--line);
}

.msg-ajax .bubble {
  background: var(--paper);
  color: var(--ink);
  border-bottom-left-radius: 4px;
}

.msg-you .bubble {
  background: var(--ink);
  color: var(--paper-soft);
  border-color: var(--ink);
  border-bottom-right-radius: 4px;
}

.msg .bubble strong { font-weight: 600; }
.msg .bubble em { font-style: italic; color: var(--gold); }

@keyframes msg-in-left {
  0%   { opacity: 0; transform: translateX(-32px) scale(0.82); }
  60%  { opacity: 1; transform: translateX(4px) scale(1.04); }
  100% { opacity: 1; transform: translateX(0) scale(1); }
}

@keyframes msg-in-right {
  0%   { opacity: 0; transform: translateX(36px) scale(0.82); }
  55%  { opacity: 1; transform: translateX(-5px) scale(1.05); }
  100% { opacity: 1; transform: translateX(0) scale(1); }
}

/* dock pulse when a new message lands */
.chat-dock.pulse {
  animation: dock-thump 380ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes dock-thump {
  0%   { transform: translateY(0) scale(1); box-shadow: var(--shadow-lift); }
  35%  { transform: translateY(-3px) scale(1.012); box-shadow: 0 4px 8px rgba(15, 22, 34, 0.10), 0 36px 80px rgba(15, 22, 34, 0.22), 0 0 0 6px rgba(31, 61, 110, 0.10); }
  100% { transform: translateY(0) scale(1); box-shadow: var(--shadow-lift); }
}

@media (max-width: 920px) {
  .chat-dock { display: none; }
}

/* ========= grand reveal system ========= */

/* generic reveal: opacity + slide */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 700ms cubic-bezier(0.16, 1, 0.3, 1),
              transform 700ms cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--reveal-delay, 0ms);
}
.reveal.in { opacity: 1; transform: translateY(0); }

/* split-word headline: each word springs up */
h1.split, h2.split {
  overflow: visible;
  line-height: 1.06;
}
h1.split .word, h2.split .word {
  display: inline-block;
  overflow: hidden;
  vertical-align: baseline;
  /* room for italic overhang + descenders so glyphs don't clip */
  padding: 0.16em 0.08em 0.24em;
  margin: -0.16em -0.08em -0.24em;
}
h1.split .word > span, h2.split .word > span {
  display: inline-block;
  transform: translateY(110%);
  opacity: 0;
  transition: transform 760ms cubic-bezier(0.22, 1.4, 0.36, 1),
              opacity 520ms ease;
  transition-delay: calc(var(--word-i, 0) * 70ms);
}
h1.split.in .word > span, h2.split.in .word > span {
  transform: translateY(0);
  opacity: 1;
}

/* stagger children inside `.stagger` once parent enters */
.stagger > * {
  opacity: 0;
  transform: translateY(34px) scale(0.94);
  transition: opacity 720ms cubic-bezier(0.16, 1, 0.3, 1),
              transform 720ms cubic-bezier(0.34, 1.4, 0.36, 1);
  transition-delay: calc(var(--stagger-i, 0) * 90ms);
}
.stagger.in > * {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* drop chips — cascade with extra punch */
.drops-row.stagger > span {
  transform: translateY(28px) scale(0.6);
  transition: opacity 600ms cubic-bezier(0.16, 1, 0.3, 1),
              transform 600ms cubic-bezier(0.34, 1.7, 0.4, 1);
  transition-delay: calc(var(--stagger-i, 0) * 60ms);
}
.drops-row.stagger.in > span { transform: translateY(0) scale(1); }

/* proof band metrics — scale pop */
.proof-band.stagger > div { transform: translateY(40px) scale(0.92); }
.proof-band.stagger > div .metric {
  display: inline-block;
  transform: scale(0.6);
  opacity: 0;
  transition: transform 720ms cubic-bezier(0.34, 1.7, 0.4, 1),
              opacity 520ms ease;
  transition-delay: calc(var(--stagger-i, 0) * 110ms + 120ms);
}
.proof-band.stagger.in > div .metric { transform: scale(1); opacity: 1; }

/* ========= manifesto ========= */
.manifesto {
  width: min(1080px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(96px, 14vw, 180px) 0 clamp(80px, 12vw, 160px);
  text-align: center;
}

.manifesto-line {
  font-size: clamp(44px, 7.4vw, 92px);
  line-height: 1.0;
  letter-spacing: -0.025em;
  margin-bottom: 28px;
}

.manifesto-line em {
  color: var(--rust);
}

.manifesto-sub {
  max-width: 640px;
  margin: 0 auto;
  color: var(--muted);
  font-size: clamp(16px, 1.6vw, 19px);
  line-height: 1.6;
}

/* ========= team block on home ========= */
.team-block {
  padding: clamp(80px, 11vw, 140px) 0;
}

.team-block .team-grid.minimal {
  margin-top: 36px;
  max-width: 880px;
}
