/* =========================================================================
   human, be human — Design System
   Ported 1:1 from the polished design canvas (HumanBeHuman.dc.html).
   Framework-free, deploy-ready, SEO- & performance-first.
   ========================================================================= */

/* ---------- Self-hosted fonts (variable, latin + latin-ext) ---------- */
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../fonts/space-grotesk-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../fonts/space-grotesk-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Instrument Sans';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('../fonts/instrument-sans-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Instrument Sans';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('../fonts/instrument-sans-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* IBM Plex Mono — techy/terminal font for the human, be human bot */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/ibm-plex-mono-latin-400-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/ibm-plex-mono-latin-ext-400-normal.woff2') format('woff2');
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/ibm-plex-mono-latin-600-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/ibm-plex-mono-latin-ext-600-normal.woff2') format('woff2');
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---------- Tokens ---------- */
:root {
  --paper: #ECEDE9;
  --ink: #191914;
  --mid: #7A7B72;
  --line: #C9CAC3;
  --line-soft: #D9DAD4;
  --fill: #DEDFD8;
  --pulse: #E42A18;
  --dark: #17150F;
  --ink-soft: #46463f;
  --ink-lead: #3d3d38;
  --maxw: 1180px;
  --pad: clamp(20px, 5vw, 72px);
  --gut: clamp(16px, 3vw, 40px);
  --font-head: 'Space Grotesk', ui-sans-serif, system-ui, sans-serif;
  --font-body: 'Instrument Sans', ui-sans-serif, system-ui, sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
::selection { background: var(--pulse); color: #fff; }
:focus-visible { outline: 2.5px solid var(--pulse); outline-offset: 3px; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: var(--paper);
  padding: 10px 16px;
  z-index: 100;
  font-family: var(--font-head);
  font-weight: 600;
}
.skip-link:focus { left: 12px; top: 12px; }

/* ---------- Layout primitives ---------- */
.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--pad);
}
.section {
  padding: clamp(56px, 9vw, 118px) 0;
}
.section--divider { border-top: 1px solid var(--line-soft); }
.section--hero { padding: clamp(24px, 4vw, 52px) 0 clamp(56px, 9vw, 120px); }
.section--page { padding: clamp(40px, 6vw, 84px) 0; }
.section--talk { padding: clamp(16px, 2.5vw, 30px) 0 clamp(40px, 6vw, 84px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 18px var(--pad);
  background: var(--paper);
  background: color-mix(in srgb, var(--paper) 82%, transparent);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line-soft);
}
.wordmark {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 16px;
  letter-spacing: -.01em;
  text-decoration: none;
  color: var(--ink);
}
.nav {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 14px;
}
/* desktop: the group is transparent → links sit inline in the nav */
.nav-group { display: contents; }
.nav a {
  text-decoration: none;
  color: var(--ink);
  opacity: .7;
  transition: opacity .15s ease;
}
.nav a:hover { opacity: 1; }
.nav .nav-cta {
  opacity: 1;
  border: 1.5px solid var(--ink);
  padding: 8px 15px;
  font-weight: 600;
  white-space: nowrap;
  transition: background .15s ease, color .15s ease;
}
.nav .nav-cta:hover { background: var(--ink); color: #fff; }

/* ---------- Typography helpers ---------- */
.eyebrow {
  font-size: 13px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--mid);
  margin: 0 0 20px;
}
.marker {
  font-size: 12px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--mid);
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 34px;
}
.marker::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line-soft);
}
.display {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(38px, 7.4vw, 80px);
  line-height: 1.05;
  letter-spacing: -.03em;
  margin: 0;
  max-width: 20ch;
}

/* "human margin" — red-underlined term with a definition popover */
.hm {
  position: relative;
  white-space: nowrap;
  color: inherit;
  text-decoration: underline;
  text-decoration-color: var(--pulse);
  text-decoration-thickness: .07em;
  text-underline-offset: .1em;
  cursor: help;
  outline: none;
}
.hm-pop {
  position: absolute;
  left: 0;
  top: calc(100% + .4em);
  width: max-content;
  max-width: min(360px, 86vw);
  background: var(--dark);
  color: #e9eae6;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 15px;
  line-height: 1.5;
  letter-spacing: 0;
  text-transform: none;
  text-decoration: none;
  white-space: normal;
  padding: 13px 16px;
  border: 1px solid var(--ink);
  box-shadow: 0 16px 40px rgba(0, 0, 0, .26);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity .2s ease, transform .2s ease, visibility 0s .2s;
  z-index: 30;
}
/* definition text lives in data-def, not in the DOM → keeps the h1 clean for SEO */
.hm-pop::after { content: attr(data-def); }
.hm-pop::before {
  content: "";
  position: absolute;
  left: 22px;
  top: -6px;
  width: 11px;
  height: 11px;
  background: var(--dark);
  border-left: 1px solid var(--ink);
  border-top: 1px solid var(--ink);
  transform: rotate(45deg);
}
.hm:hover .hm-pop,
.hm:focus-within .hm-pop,
.hm.open .hm-pop {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition: opacity .2s ease, transform .2s ease;
}
@media (prefers-reduced-motion: reduce) {
  .hm-pop { transition: none; transform: none; }
}
.h2 {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: clamp(24px, 3.4vw, 36px);
  line-height: 1.12;
  letter-spacing: -.02em;
  margin: 0;
}
.lead {
  font-size: clamp(16px, 1.5vw, 19px);
  color: var(--ink-lead);
  margin: 0;
  max-width: 50ch;
}
.p {
  font-size: 14.5px;
  color: var(--ink-soft);
  margin: 0;
  max-width: 52ch;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 600;
  padding: 15px 24px;
  border: 1.5px solid var(--ink);
  background: transparent;
  color: var(--ink);
  text-decoration: none;
  cursor: pointer;
  line-height: 1;
  transition: transform .15s ease, background .15s ease, box-shadow .15s ease;
}
.btn .arr { font-weight: 700; }
.btn:hover { transform: translateY(-2px); background: var(--fill); }
.btn--primary {
  background: var(--ink);
  color: var(--paper);
}
.btn--primary:hover {
  background: var(--ink);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .16);
}
.btn--lg {
  font-size: 16px;
  padding: 16px 28px;
}
.btn--lg:hover { box-shadow: 0 12px 34px rgba(0, 0, 0, .18); }

/* ---------- Tags ---------- */
.tag {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-head);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: 5px 10px;
  border: 1px solid var(--ink);
  color: var(--ink);
  line-height: 1;
}
.tag--alt {
  padding: 4px 9px;
  border-color: var(--mid);
  color: var(--mid);
}

/* ---------- Media placeholders (hatched) ---------- */
.thumb {
  position: relative;
  width: 100%;
  border: 1.5px solid var(--line);
  background: var(--fill);
  background-image: repeating-linear-gradient(135deg, transparent 0, transparent 11px, rgba(0, 0, 0, .045) 11px, rgba(0, 0, 0, .045) 12px);
}
.thumb > span {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .1em;
  color: var(--mid);
  text-transform: uppercase;
}
.thumb--dashed {
  border-style: dashed;
  background: none;
  display: flex;
  align-items: center;
  justify-content: center;
}
.thumb--dashed > span { position: static; }
.ratio-16-10 { aspect-ratio: 16 / 10; }
.ratio-4-3 { aspect-ratio: 4 / 3; }
.ratio-1-1 { aspect-ratio: 1 / 1; }

/* ---------- Hero ---------- */
.hero-sub { margin: 22px 0 0; }
.hero-bot { margin-top: 40px; max-width: 560px; }
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

/* ---------- Bot: signature line ---------- */
.botline {
  width: 100%;
  text-align: left;
  font-family: var(--font-mono);
  cursor: pointer;
  border: 1.5px solid var(--ink);
  background: var(--dark);
  color: #e9eae6;
  padding: 15px 17px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  line-height: 1.3;
  transition: transform .15s ease, box-shadow .15s ease;
}
.botline:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .18);
}
.botline .prompt { color: var(--pulse); font-weight: 700; flex: none; }
.botline .ptxt {
  flex: 0 1 auto;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: clip;
}
.botline .cursor {
  flex: none;
  width: 9px;
  height: 18px;
  margin-left: -6px;
  background: var(--pulse);
  display: inline-block;
  animation: blink 1.05s steps(1) infinite;
}
.botline .go { flex: none; margin-left: auto; color: var(--pulse); font-weight: 700; }

.bot-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}
.chip {
  font-family: var(--font-mono);
  font-size: 12.5px;
  cursor: pointer;
  background: transparent;
  border: 1.3px solid var(--line);
  color: var(--ink);
  padding: 9px 13px;
  line-height: 1;
  transition: border-color .15s ease, background .15s ease;
}
.chip:hover { border-color: var(--ink); background: var(--fill); }

.heart {
  flex: none;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--pulse);
  animation: beat 1.05s ease-in-out infinite;
}

/* ---------- Chat panel ---------- */
.chat {
  margin-top: 14px;
  border: 1.5px solid var(--ink);
  background: var(--dark);
  color: #e9eae6;
  font-family: var(--font-mono);
  display: none;
  flex-direction: column;
  overflow: hidden;
  animation: slideup .28s ease;
}
.chat.open { display: flex; }
.chat-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 15px;
  border-bottom: 1px solid #33322b;
  font-size: 13px;
}
.chat-head .who { font-weight: 600; }
.chat-head .demo {
  font-size: 9.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  border: 1px solid var(--pulse);
  color: var(--pulse);
  padding: 2px 6px;
}
.chat-head .x {
  margin-left: auto;
  background: none;
  border: none;
  color: #9b9b94;
  font-family: inherit;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  padding: 2px 4px;
  transition: color .15s ease;
}
.chat-head .x:hover { color: #e9eae6; }
.chat-msgs {
  padding: 16px 15px;
  display: flex;
  flex-direction: column;
  gap: 9px;
  max-height: 46vh;
  overflow-y: auto;
}
.msg {
  max-width: 84%;
  padding: 10px 13px;
  font-size: 14px;
  line-height: 1.45;
  animation: slideup .22s ease;
}
.msg.bot {
  align-self: flex-start;
  background: #242219;
  border: 1px solid #33322b;
  color: #e9eae6;
}
.msg.me {
  align-self: flex-end;
  background: var(--pulse);
  color: #fff;
}
.typing {
  align-self: flex-start;
  background: #242219;
  border: 1px solid #33322b;
  padding: 12px 14px;
  display: inline-flex;
  gap: 5px;
}
.typing i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #8d8d84;
  display: inline-block;
  animation: td 1s infinite ease-in-out;
}
.typing i:nth-child(2) { animation-delay: .15s; }
.typing i:nth-child(3) { animation-delay: .3s; }
.chat-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  padding: 0 15px 12px;
}
.chat-chips .chip {
  border-color: #3c3b33;
  color: #d8d8d0;
  background: transparent;
}
.chat-chips .chip:hover { border-color: #e9eae6; background: #242219; }
.chat-form {
  display: flex;
  border-top: 1px solid #33322b;
}
.chat-form.inline {
  width: 100%;
  border: 1px solid #33322b;
  border-top: 1px solid #33322b;
}
.chat-form input {
  flex: 1;
  min-width: 0;
  font-family: var(--font-mono);
  font-size: 13.5px;
  background: transparent;
  border: none;
  color: #e9eae6;
  padding: 14px;
  outline: none;
}
.chat-form input::placeholder { color: #7c7c73; }
.chat-form button {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 600;
  background: var(--pulse);
  color: #fff;
  border: none;
  padding: 0 20px;
  cursor: pointer;
}

/* ---------- 02 Stance ---------- */
.stance-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(32px, 6vw, 90px);
  align-items: start;
}
.stance-claim { max-width: 24ch; }
.stance-claim .p { margin-top: 18px; max-width: 44ch; }
.spec { border-top: 1px solid var(--ink); }
.spec-row {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 18px;
  align-items: start;
  padding: 22px 0 22px 18px;
  border-bottom: 1px solid var(--line-soft);
  position: relative;
  transition: background .25s ease;
}
.spec-row::before {
  content: "";
  position: absolute;
  left: 0;
  top: -1px;
  bottom: -1px;
  width: 3px;
  background: var(--pulse);
  transform: scaleY(0);
  transform-origin: center;
  transition: transform .3s cubic-bezier(.2, .7, .2, 1);
}
.spec-row:hover,
.spec-row.lit {
  background: color-mix(in srgb, var(--fill) 60%, transparent);
}
.spec-row:hover::before,
.spec-row.lit::before { transform: scaleY(1); }
.spec-row .idx {
  font-family: var(--font-head);
  font-size: 13px;
  color: var(--mid);
  padding-top: 3px;
  transition: color .2s ease;
}
.spec-row:hover .idx,
.spec-row.lit .idx { color: var(--ink); }
.spec-row .srh {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 17px;
  margin: 0 0 6px;
  transition: color .2s ease;
}
.spec-row:hover .srh,
.spec-row.lit .srh { color: var(--pulse); }
.spec-row .p { transition: color .2s ease; }
.spec-row:hover .p,
.spec-row.lit .p { color: var(--ink); }
@media (prefers-reduced-motion: reduce) {
  .spec-row::before { transition: none; }
}

/* ---------- 03 Work ---------- */
.work-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
}
.work-head .intro { max-width: 44ch; flex: 1 1 320px; }
.work-head .intro .p { margin-top: 14px; }
.work-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: var(--gut);
  margin-top: 36px;
}
/* let the widgets' inner tables scroll instead of stretching the card wider than the screen */
.work-grid > * { min-width: 0; }
.card { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.card .meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 12.5px;
  color: var(--mid);
}
.card .ctitle {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.15;
  margin: 2px 0 0;
}
.card .ctitle.sm { font-size: clamp(17px, 2vw, 21px); }
.card-side { display: grid; grid-template-rows: auto auto; gap: var(--gut); min-width: 0; }
.card-side > * { min-width: 0; }
.metric {
  font-family: var(--font-head);
  font-size: 12.5px;
  color: var(--ink);
  border-left: 2px solid var(--pulse);
  padding-left: 10px;
  margin: 0;
}

/* ---------- 04 Team ---------- */
.team-intro { margin: 0 0 34px; }
.team-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 340px));
  gap: var(--gut);
  justify-content: start;
}
.person { display: flex; flex-direction: column; gap: 12px; }
.person .pmeta { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; }
.person .pname { font-family: var(--font-head); font-size: 20px; font-weight: 600; }
/* Hagen's name links to hbm.business but looks like plain text (subtle hover) */
a.pname { color: inherit; text-decoration: none; transition: color .15s ease; }
a.pname:hover { color: var(--pulse); }
/* LinkedIn icon link next to the name */
.plink {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--mid);
  transition: color .15s ease, transform .15s ease;
}
.plink svg { width: 18px; height: 18px; display: block; }
.plink:hover { color: #0a66c2; transform: translateY(-1px); }
.person .prole { font-size: 12.5px; color: var(--mid); }
.person .p { max-width: 44ch; }
.person picture {
  display: block;
  overflow: hidden;
  border: 1.5px solid var(--line);
  aspect-ratio: 1 / 1;
  background: var(--fill);
  transition: box-shadow .4s ease, transform .35s ease;
}
.portrait {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .6s cubic-bezier(.2, .7, .2, 1), filter .4s ease;
}
.person picture:hover,
.person picture:focus-within {
  box-shadow: 0 16px 38px rgba(0, 0, 0, .15);
  transform: translateY(-4px);
}
.person picture:hover .portrait,
.person picture:focus-within .portrait {
  transform: scale(1.05);
}
@media (prefers-reduced-motion: reduce) {
  .person picture,
  .person picture:hover,
  .person picture:focus-within,
  .portrait,
  .person picture:hover .portrait,
  .person picture:focus-within .portrait {
    transition: none;
    transform: none;
    box-shadow: none;
  }
}

/* ---------- 05 Process ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--gut);
}
.step {
  position: relative;
  border-top: 2px solid var(--ink);
  padding-top: 14px;
}
.step::before {
  content: "";
  position: absolute;
  top: -2px;
  left: 0;
  height: 2px;
  width: 100%;
  background: var(--pulse);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .7s cubic-bezier(.4, 0, .2, 1);
}
.step.on::before { transform: scaleX(1); }
.step .no {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 12px;
  transition: color .3s ease;
}
.step.lead .no { color: var(--pulse); }
.step .sh {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 17px;
  margin: 0 0 8px;
}
.step .p { font-size: 14px; }
@media (prefers-reduced-motion: reduce) {
  .step::before { transition: none; }
}

/* ---------- 06 CTA ---------- */
.cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 24px;
}
.cta .h2 {
  font-size: clamp(26px, 3.8vw, 42px);
  line-height: 1.1;
  max-width: 22ch;
}
.cta .live {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 12.5px;
  color: var(--mid);
}
.cta-quote {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: clamp(24px, 3.6vw, 40px);
  line-height: 1.18;
  letter-spacing: -.02em;
  max-width: 24ch;
  margin: 0;
}
.cta-cite {
  font-size: 14px;
  color: var(--mid);
  margin: -10px 0 6px;
}
.cta-cite .hm { color: var(--ink); }

/* ---------- Sub-pages ---------- */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  color: var(--mid);
  text-decoration: none;
  margin-bottom: 28px;
  transition: color .15s ease;
}
.back-link:hover { color: var(--ink); }

.talk-grid {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: clamp(32px, 6vw, 72px);
  align-items: start;
}
.talk-title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(30px, 4.4vw, 52px);
  line-height: 1.04;
  letter-spacing: -.02em;
  margin: 0;
}
.talk-lead { font-size: clamp(15px, 1.5vw, 18px); color: var(--ink-lead); margin: 20px 0 0; max-width: 42ch; }
.talk-contact { margin-top: 28px; display: flex; flex-direction: column; gap: 14px; }
.talk-contact .label {
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--mid);
  margin: 0 0 4px;
}
.talk-contact .val { font-size: 15px; margin: 0; }
.cal-embed {
  min-height: 560px;
  border: 1.5px solid var(--line);
  background: #fff;
  overflow: hidden;
}
.cal-embed #cal-inline-30min { border: 0; }

.legal { max-width: 760px; }
.legal-title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.05;
  letter-spacing: -.02em;
  margin: 0 0 28px;
}
.legal-block { margin-bottom: 26px; }
.legal-block h2 {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 17px;
  margin: 0 0 8px;
}
.legal-block p {
  font-size: 15px;
  color: var(--ink-soft);
  margin: 0;
  line-height: 1.6;
}
.legal-lead {
  font-size: 16px;
  color: var(--ink-lead);
  line-height: 1.6;
  margin: 0 0 30px;
  max-width: 62ch;
}
.legal-block p + p,
.legal-block p + ul,
.legal-block ul + p { margin-top: 10px; }
.legal-block ul {
  margin: 0;
  padding-left: 20px;
  font-size: 15px;
  color: var(--ink-soft);
  line-height: 1.6;
}
.legal-block li { margin: 2px 0; }
.legal-block a:not(.btn) {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-color: var(--pulse);
}
.legal-block a:not(.btn):hover { text-decoration-color: var(--ink); }
.legal-block code {
  font-family: var(--font-mono);
  font-size: 13px;
  background: var(--fill);
  padding: 1px 5px;
  border: 1px solid var(--line-soft);
}

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--ink);
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 26px var(--pad);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  font-size: 12.5px;
  color: var(--mid);
}
.site-footer a {
  text-decoration: none;
  color: var(--mid);
  transition: color .15s ease;
}
.site-footer a:hover { color: var(--ink); }
.site-footer .wordmark { color: var(--mid); font-size: 12.5px; }
.site-footer .wordmark:hover { color: var(--ink); }
.foot-links { display: flex; gap: 18px; }
.foot-cookie {
  font-family: inherit;
  font-size: 12.5px;
  color: var(--mid);
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  transition: color .15s ease;
}
.foot-cookie:hover { color: var(--ink); }

/* ---------- Cookie consent ---------- */
.cookie {
  position: fixed;
  left: var(--pad);
  right: var(--pad);
  bottom: 16px;
  z-index: 200;
  display: flex;
  pointer-events: none;
  transform: translateY(140%);
  opacity: 0;
  transition: transform .4s cubic-bezier(.2, .7, .2, 1), opacity .3s ease;
}
.cookie.show { transform: none; opacity: 1; pointer-events: auto; }
.cookie-card {
  width: min(440px, 100%);
  background: var(--paper);
  border: 1.5px solid var(--ink);
  box-shadow: 0 18px 50px rgba(0, 0, 0, .22);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.cookie-title {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 16px;
  margin: 0;
}
.cookie-text {
  font-size: 13.5px;
  color: var(--ink-soft);
  margin: 8px 0 0;
  line-height: 1.55;
}
.cookie-text a { color: var(--ink); text-decoration: underline; text-underline-offset: 2px; }
.cookie-cats { display: flex; flex-direction: column; gap: 10px; margin-top: 14px; }
.cookie-cats[hidden] { display: none; }
.cookie-cat {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  padding: 11px 12px;
  border: 1px solid var(--line);
  background: color-mix(in srgb, var(--fill) 45%, transparent);
}
.cookie-cat-info { display: flex; flex-direction: column; gap: 2px; }
.cookie-cat-name { font-family: var(--font-head); font-weight: 600; font-size: 13.5px; }
.cookie-cat-desc { font-size: 12px; color: var(--mid); max-width: 42ch; }
.cookie-cat input {
  margin-top: 3px;
  width: 16px;
  height: 16px;
  accent-color: var(--pulse);
  flex: none;
  cursor: pointer;
}
.cookie-cat--locked { opacity: .75; }
.cookie-cat--locked input { cursor: not-allowed; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.cookie-btn {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 600;
  padding: 11px 16px;
  border: 1.5px solid var(--ink);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  line-height: 1;
  transition: background .15s ease, transform .15s ease;
}
.cookie-btn:hover { background: var(--fill); transform: translateY(-1px); }
.cookie-btn[hidden] { display: none; }
.cookie-btn--primary { background: var(--ink); color: var(--paper); }
.cookie-btn--primary:hover { background: var(--ink); box-shadow: 0 8px 22px rgba(0, 0, 0, .16); }
.cookie-link {
  border: none;
  padding: 11px 8px;
  color: var(--mid);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.cookie-link:hover { background: transparent; color: var(--ink); transform: none; }
@media (max-width: 560px) {
  .cookie { left: 12px; right: 12px; bottom: 12px; }
  .cookie-card { padding: 18px; }
  .cookie-btn { flex: 1 1 auto; text-align: center; }
  .cookie-link { flex-basis: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .cookie { transition: opacity .2s ease; transform: none; }
  .cookie.show { transform: none; }
}

/* ---------- Reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.in { opacity: 1; transform: none; }

/* ---------- Keyframes ---------- */
@keyframes blink { 0%, 55% { opacity: 1; } 56%, 100% { opacity: 0; } }
@keyframes beat {
  0%, 100% { transform: scale(1); opacity: .85; }
  18% { transform: scale(1.55); opacity: 1; }
  36% { transform: scale(1); opacity: .85; }
  54% { transform: scale(1.3); opacity: 1; }
}
@keyframes td {
  0%, 80%, 100% { opacity: .3; transform: translateY(0); }
  40% { opacity: 1; transform: translateY(-3px); }
}
@keyframes slideup {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 880px) {
  .stance-grid,
  .work-grid,
  .talk-grid { grid-template-columns: 1fr; gap: 38px; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  /* full-width claim on mobile (no narrow 24ch column, not squished left) */
  .stance-claim { max-width: none; }
  .stance-claim .p { max-width: 60ch; }
}
@media (max-width: 560px) {
  .team-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .hero-bot { max-width: 100%; }
  .chat-msgs { max-height: 52vh; }

  /* mobile menu: tap the "human, be human" wordmark to reveal Arbeit/Team/Prozess */
  .site-header .wordmark {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
  }
  .site-header .wordmark::after {
    content: "▾";
    font-size: 10px;
    opacity: .55;
    transition: transform .2s ease;
  }
  .site-header.menu-open .wordmark::after { transform: rotate(180deg); }

  .nav-group { display: none; }
  .site-header.menu-open .nav-group {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line-soft);
    box-shadow: 0 14px 26px rgba(0, 0, 0, .1);
    padding: 4px var(--pad) 12px;
    z-index: 49;
  }
  .site-header.menu-open .nav-group a {
    padding: 12px 0;
    font-size: 16px;
    opacity: .9;
    border-bottom: 1px solid var(--line-soft);
  }
  .site-header.menu-open .nav-group a:last-child { border-bottom: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .botline { transition: none; }
}
