/* =========================================================
   TheHumanWorksCo — Nisha Kashyap, independent people advisory
   Design system: black / white / yellow (#FFC10E) used structurally,
   Archivo superfamily. Bold comes from scale and contrast, not
   yellow area.
   ========================================================= */

:root {
  --black: #0d0d0d;
  --black-pure: #000000;
  --yellow: #FFC10E;
  --yellow-dark: #E0A800;   /* bright accent for gradients / icon fills */
  --yellow-ink: #7A5A00;    /* yellow legible as text on white, 4.6:1 */
  --white: #ffffff;
  --off-white: #FAFAF7;
  --sand: #EFEBE0;
  --grey-900: #1a1a1a;
  --grey-700: #4a4a4a;
  --grey-500: #767676;
  --grey-300: #e2e2e2;
  --grey-100: #f2f2f0;

  --font-display: "Archivo Expanded", "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Archivo", "Helvetica Neue", Arial, sans-serif;

  --container: 1180px;
  --radius-sm: 6px;
  --radius-md: 6px;
  --radius-lg: 10px;
  --radius-pill: 999px;

  --shadow-sm: 0 2px 10px rgba(0,0,0,.06);
  --shadow-md: 0 12px 32px rgba(0,0,0,.10);
  --shadow-yellow: 0 10px 24px rgba(255,193,14,.35);
  --offset-black: 4px 4px 0 var(--black);

  --ease: cubic-bezier(.22,1,.36,1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body, h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, textarea { font: inherit; }

body {
  font-family: var(--font-body);
  color: var(--grey-900);
  background: var(--white);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.02em;
  color: var(--black);
  text-wrap: balance;
  -webkit-font-smoothing: antialiased;
}
h3, h4 { line-height: 1.12; }

p { max-width: 68ch; }
.card p, .cta-banner p, .contact-aside p, td p, .section-closer,
.proof-quote, .stat p, [class*="grid"] p { max-width: none; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--yellow-ink);
  background: none;
  padding: 0 0 0 26px;
  margin-bottom: 20px;
  position: relative;
}
.eyebrow::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 18px;
  height: 3px;
  background: var(--yellow);
  transform: translateY(-50%);
}
.bg-black .eyebrow, .page-header .eyebrow { color: var(--yellow); }

.section-head {
  max-width: 760px;
  margin-bottom: 48px;
}

.section-head h2 {
  font-size: clamp(30px, 4.6vw, 54px);
  margin-bottom: 16px;
}

.section-head p {
  font-size: 1.08rem;
  color: var(--grey-700);
}

.section-head.center {
  margin-inline: auto;
  text-align: center;
}

section { padding: 88px 0; }
section.tight { padding: 56px 0; }

.bg-black { background: var(--black); color: var(--white); }
.bg-black h2, .bg-black h3, .bg-black h4 { color: var(--white); }
.bg-yellow { background: var(--yellow); color: var(--black); }
.bg-off { background: var(--off-white); }

/* ---------- Skip link ---------- */
.skip-link {
  position: absolute;
  left: -999px;
  top: auto;
  background: var(--yellow);
  color: var(--black);
  padding: 12px 20px;
  border-radius: 0 0 10px 0;
  font-weight: 700;
  z-index: 999;
}
.skip-link:focus {
  left: 0;
  top: 0;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: -0.01em;
  padding: 16px 30px;
  border-radius: var(--radius-sm);
  transition: transform .18s var(--ease), box-shadow .18s var(--ease), background .18s var(--ease), color .18s var(--ease);
  white-space: nowrap;
}
.btn svg {
  width: 18px; height: 18px; flex: none;
  stroke: currentColor; fill: none;
  stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
  transition: transform .18s var(--ease);
}
.btn:hover svg, .btn:focus-visible svg { transform: translateX(4px); }

.btn-primary {
  background: var(--yellow);
  color: var(--black);
  border-radius: var(--radius-pill);
  box-shadow: var(--offset-black);
}
.btn-primary:hover, .btn-primary:focus-visible {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 var(--black);
}

.btn-dark {
  background: var(--black);
  color: var(--white);
}
.btn-dark:hover, .btn-dark:focus-visible {
  transform: translate(-2px, -2px);
  box-shadow: var(--offset-black);
  background: var(--black);
}

.btn-outline {
  background: transparent;
  color: var(--black);
  border: 2px solid var(--black);
  padding: 14px 28px;
}
.btn-outline:hover, .btn-outline:focus-visible {
  background: var(--black);
  color: var(--white);
}

@media (prefers-reduced-motion: reduce) {
  .btn, .btn svg { transition: none; }
  .btn:hover, .btn:focus-visible { transform: none; }
  .btn:hover svg, .btn:focus-visible svg { transform: none; }
}

.bg-black .btn-outline {
  color: var(--white);
  border-color: var(--white);
}
.bg-black .btn-outline:hover {
  background: var(--white);
  color: var(--black);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 8px;
}

a:focus-visible, button:focus-visible, .btn:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 3px;
}

/* ---------- Icon badge ---------- */
.icon-badge {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-sm);
  background: var(--yellow);
  display: grid;
  place-items: center;
  flex: none;
}
.icon-badge svg {
  width: 30px;
  height: 30px;
  stroke: var(--black);
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.icon-badge.dark { background: var(--black); }
.icon-badge.dark svg { stroke: var(--yellow); }
.icon-badge svg.ico-fill { fill: var(--black); stroke: none; }

.icon-badge { transition: transform .3s var(--ease); }
.card:hover .icon-badge,
.service-head:hover .icon-badge,
.cycle-step:hover .icon-badge,
.contact-card:hover .icon-badge,
.why-item:hover .icon-badge,
.pill:hover .icon-badge {
  transform: rotate(-6deg);
}
@media (prefers-reduced-motion: reduce) {
  .icon-badge { transition: none; }
  .card:hover .icon-badge { transform: none; }
}

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 500;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--grey-300);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 12px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
}
.brand img {
  height: 34px;
  width: auto;
}
.brand-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: -0.02em;
  color: var(--black);
  line-height: 1.1;
}
.brand-name span {
  display: block;
  margin-top: 3px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.6rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--yellow-ink);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
}
.nav-links a:not(.btn) {
  font-weight: 600;
  font-size: 0.96rem;
  position: relative;
  padding-block: 4px;
}
.nav-links a:not(.btn)::after {
  content: '';
  position: absolute;
  left: 0; right: 100%;
  bottom: -2px;
  height: 2px;
  background: var(--yellow);
  transition: right .25s var(--ease);
}
.nav-links a:not(.btn):hover::after,
.nav-links a.active::after {
  right: 0;
}
.nav-links a.active { color: var(--black); }

.nav-links .nav-social {
  display: inline-flex;
  align-items: center;
  color: var(--black);
}
.nav-links .nav-social::after { content: none; }
.nav-links .nav-social svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
  stroke: none;
  transition: fill .2s var(--ease), transform .2s var(--ease);
}
.nav-links .nav-social:hover svg,
.nav-links .nav-social:focus-visible svg {
  fill: var(--yellow-dark);
  transform: translateY(-1px);
}

.nav-actions { display: flex; align-items: center; gap: 22px; }

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  background: var(--black);
  color: var(--yellow);
  align-items: center;
  justify-content: center;
}
.nav-toggle svg {
  width: 22px; height: 22px;
  stroke: currentColor; fill: none;
  stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}

/* ---------- Hero ---------- */
.hero {
  padding: 72px 0 88px;
  background: var(--white);
  position: relative;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 56px;
  align-items: center;
}
.hero h1 {
  font-size: clamp(44px, 7vw, 92px);
  margin-bottom: 26px;
}
.hero p.lead {
  font-size: 1.2rem;
  color: var(--grey-700);
  max-width: 46ch;
  margin-bottom: 26px;
}
.hero-note {
  max-width: 480px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--grey-700);
  border-left: 3px solid var(--yellow);
  padding-left: 12px;
}
.hero-stats {
  display: flex;
  gap: 34px;
  margin-top: 44px;
  flex-wrap: wrap;
}
.hero-stats > div,
.hero-stats > .stat-toggle { align-self: flex-start; }
.hero-stats strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--black);
}
.hero-stats span {
  font-size: 0.85rem;
  color: var(--grey-500);
}

.hero-stats .stat-toggle {
  padding: 0;
  text-align: left;
  cursor: pointer;
  color: inherit;
}
.hero-stats .stat-toggle span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.hero-stats .stat-toggle:hover strong,
.hero-stats .stat-toggle:focus-visible strong { color: var(--yellow-dark); }
.hero-stats .stat-toggle .stat-caret {
  width: 13px;
  height: 13px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform .25s var(--ease);
}
.hero-stats .stat-toggle[aria-expanded="true"] .stat-caret { transform: rotate(180deg); }

.hero-countries { margin-top: 22px; }
.hero-countries[hidden] { display: none; }
.hero-countries:not([hidden]) { animation: hc-in .3s var(--ease); }
@keyframes hc-in {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-countries .hc-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--grey-500);
  margin-bottom: 10px;
}
.hero-countries ul {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}
.hero-countries li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--grey-900);
  background: var(--yellow-ink);
  border: 1px solid var(--yellow);
  border-radius: var(--radius-pill);
  padding: 4px 11px;
}
.hero-countries .fl { font-size: 0.95rem; line-height: 1; }

/* Hero portrait — hard-edged: photo in a black frame, offset by a
   solid yellow rectangle behind it. Square edges, graphic. */
.hero-visual {
  position: relative;
  align-self: center;
  max-width: 300px;
  margin-left: auto;
  padding: 0 16px 16px 0;
}
.hero-visual::before {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: calc(100% - 16px);
  height: calc(100% - 16px);
  background: var(--yellow);
  z-index: 0;
}
.hero-visual img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  display: block;
  border: 3px solid var(--black);
  background: var(--off-white);
}
.hero-visual .chip {
  position: absolute;
  left: -14px;
  bottom: 44px;
  z-index: 2;
  background: var(--black);
  color: var(--white);
  padding: 11px 16px;
  border-radius: 0;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: var(--offset-black);
}
.hero-visual .chip svg { width: 16px; height: 16px; stroke: var(--yellow); fill: none; }

/* ---------- Cards ---------- */
.grid {
  display: grid;
  gap: 26px;
}
.grid-5 { grid-template-columns: repeat(5, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--grey-300);
  border-radius: var(--radius-md);
  padding: 28px 26px;
  overflow: hidden;
}
.card::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  background: var(--yellow);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform .22s var(--ease);
}
.card:hover::before, .card:focus-within::before { transform: scaleY(1); }
.card .icon-badge { margin-bottom: 20px; }
.card h3 {
  font-size: 1.16rem;
  margin-bottom: 10px;
}
.card p {
  color: var(--grey-700);
  font-size: 0.97rem;
}
@media (prefers-reduced-motion: reduce) {
  .card::before { transition: none; }
}

.pill-list { display: flex; flex-wrap: wrap; gap: 12px; }
.pill {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--white);
  border: 1px solid var(--grey-300);
  border-radius: var(--radius-pill);
  padding: 10px 20px 10px 10px;
  font-weight: 600;
  font-size: 0.95rem;
}
.pill .icon-badge { width: 40px; height: 40px; border-radius: var(--radius-pill); }
.pill .icon-badge svg { width: 20px; height: 20px; }

/* ---------- Career wordmarks (marquee) ---------- */
.logo-wall {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 12px;
  align-items: center;
}
.logo-wordmark {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: -0.01em;
  color: var(--grey-700);
  padding: 8px 16px;
  border: 2px solid var(--grey-300);
  background: var(--white);
}

.marquee {
  overflow: hidden;
  border-block: 2px solid var(--black);
  padding-block: 16px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track {
  display: flex;
  gap: 56px;
  width: max-content;
  align-items: center;
}
.marquee-track span {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.01em;
  color: var(--black);
  white-space: nowrap;
}
@media (prefers-reduced-motion: no-preference) {
  .marquee-track { animation: marquee 28s linear infinite; }
  .marquee:hover .marquee-track { animation-play-state: paused; }
}
@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* ---------- Approach cycle ---------- */
.cycle {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
  counter-reset: step;
}
.cycle-step {
  position: relative;
  background: var(--white);
  border: 1px solid var(--grey-300);
  border-radius: var(--radius-md);
  padding: 26px 20px;
  text-align: center;
}
.cycle-step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--black);
  color: var(--yellow);
  font-weight: 800;
  font-size: 0.85rem;
  display: grid;
  place-items: center;
}
.cycle-step .icon-badge { margin-inline: auto; margin-bottom: 16px; }
.cycle-step h4 { font-size: 1.02rem; margin-bottom: 8px; }
.cycle-step p { font-size: 0.88rem; color: var(--grey-700); }

/* ---------- Service blocks ---------- */
.service-block {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 40px;
  padding: 44px 0;
  border-bottom: 1px solid var(--grey-300);
}
.service-block:last-child { border-bottom: none; }
.service-block .service-head {
  position: sticky;
  top: 110px;
  align-self: start;
}
.service-block .icon-badge { margin-bottom: 18px; }
.service-block h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
}
.service-block .tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--grey-500);
}
.service-block p.desc {
  color: var(--grey-700);
  margin-bottom: 20px;
  max-width: 60ch;
}
.check-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 24px; }
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.96rem;
  color: var(--grey-900);
}
.check-list li svg {
  width: 22px; height: 22px; flex: none; margin-top: 1px;
}

/* ---------- Timeline (traveling progress marker) ---------- */
.timeline {
  position: relative;
  padding-left: 40px;
  --timeline-fill: 0px;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 10px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--grey-300);
  border-radius: 3px;
}
.timeline::after {
  content: '';
  position: absolute;
  left: 10px;
  top: 0;
  width: 2px;
  height: var(--timeline-fill);
  background: linear-gradient(180deg, var(--yellow), var(--yellow-dark));
  border-radius: 3px;
  transition: height .12s linear;
}
.timeline-tracker {
  position: absolute;
  left: 4px;
  top: var(--timeline-fill);
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--yellow);
  box-shadow: 0 0 0 5px rgba(255, 193, 14, .22), 0 0 14px rgba(255, 193, 14, .55);
  transform: translateY(-50%);
  transition: top .12s linear;
  z-index: 2;
  animation: tracker-breathe 1.8s ease-in-out infinite;
}
@keyframes tracker-breathe {
  0%, 100% { transform: translateY(-50%) scale(1); }
  50%      { transform: translateY(-50%) scale(1.3); }
}

.timeline-item {
  position: relative;
  padding-bottom: 28px;
}
@media (prefers-reduced-motion: no-preference) {
  .js .timeline-item {
    opacity: 0;
    transform: translateX(-14px);
    transition: opacity .6s var(--ease), transform .6s var(--ease);
  }
  .js .timeline.is-visible .timeline-item { opacity: 1; transform: none; }
}
.timeline-item:last-child { padding-bottom: 0; }

.timeline-node {
  position: absolute;
  left: -40px;
  top: 6px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--off-white);
  border: 2px solid var(--grey-300);
  display: grid;
  place-items: center;
  z-index: 1;
  transition: background .35s var(--ease), border-color .35s var(--ease), transform .3s var(--ease);
}
.timeline-node svg {
  width: 11px;
  height: 11px;
  stroke: var(--grey-500);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: stroke .35s var(--ease);
}
.timeline-node:hover { transform: scale(1.25); }
.timeline-node.is-lit {
  background: var(--yellow);
  border-color: var(--yellow-dark);
  animation: node-pop .5s var(--ease);
}
.timeline-node.is-lit svg { stroke: var(--black); }
@keyframes node-pop {
  0%   { transform: scale(1); }
  45%  { transform: scale(1.4); }
  100% { transform: scale(1); }
}
.timeline-item:last-child .timeline-node.is-lit {
  animation: node-pop .5s var(--ease), dot-pulse 2.2s ease-in-out .5s infinite;
}
@keyframes dot-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 193, 14, .55); }
  60%      { box-shadow: 0 0 0 10px rgba(255, 193, 14, 0); }
}

.timeline-card {
  background: var(--white);
  border: 1px solid var(--grey-300);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.timeline-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--yellow);
}

.timeline.is-visible .timeline-item:nth-child(1) { transition-delay: .08s; }
.timeline.is-visible .timeline-item:nth-child(2) { transition-delay: .18s; }
.timeline.is-visible .timeline-item:nth-child(3) { transition-delay: .28s; }
.timeline.is-visible .timeline-item:nth-child(4) { transition-delay: .38s; }
.timeline.is-visible .timeline-item:nth-child(5) { transition-delay: .48s; }
.timeline.is-visible .timeline-item:nth-child(6) { transition-delay: .58s; }
.timeline.is-visible .timeline-item:nth-child(7) { transition-delay: .68s; }

@media (max-width: 480px) {
  .timeline { padding-left: 32px; }
  .timeline::before, .timeline::after { left: 7px; }
  .timeline-tracker { left: 1px; width: 12px; height: 12px; }
  .timeline-node { left: -32px; width: 18px; height: 18px; }
  .timeline-node svg { width: 9px; height: 9px; }
}

@media (prefers-reduced-motion: reduce) {
  .timeline::after,
  .timeline-tracker,
  .timeline-item,
  .timeline-node,
  .timeline-card { transition: none; }
  .timeline-tracker { animation: none; }
  .timeline-item { opacity: 1; transform: none; }
  .timeline-node.is-lit { animation: none; }
}
.timeline-item .year {
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--black);
  font-size: 1.05rem;
}
.timeline-item .role {
  font-weight: 700;
  margin-top: 2px;
}
.timeline-item .place {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 5px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--grey-500);
}
.timeline-item .place svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: var(--yellow-dark);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.timeline-item p {
  color: var(--grey-700);
  margin-top: 4px;
  font-size: 0.95rem;
}

/* ---------- Founder note ---------- */
.founder-wrap {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 56px;
  align-items: center;
}
.founder-photo {
  position: relative;
}
.founder-photo img {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 24px 36px rgba(0, 0, 0, .18));
}
.founder-quote {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--black);
  line-height: 1.4;
  margin-bottom: 22px;
}
.founder-name { font-weight: 800; font-size: 1.05rem; }
.founder-title { color: var(--grey-500); font-size: 0.9rem; }

/* ---------- CTA banner ---------- */
.cta-banner {
  background: var(--black);
  border-radius: var(--radius-lg);
  padding: 60px;
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  align-items: center;
  gap: 30px;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  width: 320px; height: 320px;
  background: var(--yellow);
  border-radius: 50%;
  opacity: .18;
  right: -80px; top: -120px;
}
.cta-banner h2 { color: var(--white); margin-bottom: 12px; font-size: clamp(1.7rem, 3vw, 2.3rem); }
.cta-banner p { color: #cfcfcf; font-size: 1.02rem; }
.cta-banner .cta-row { justify-content: flex-start; }

/* ---------- Process steps ---------- */
.process {
  max-width: 760px;
  margin-inline: auto;
  counter-reset: pstep;
  list-style: none;
  padding: 0;
}
.process-step {
  display: flex;
  gap: 22px;
  padding-bottom: 30px;
  position: relative;
}
.process-step:not(:last-child)::before {
  content: '';
  position: absolute;
  left: 25px;
  top: 56px;
  bottom: 0;
  width: 2px;
  background: var(--grey-300);
}
.process-step:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 25px;
  top: 56px;
  bottom: 0;
  width: 2px;
  background: var(--yellow);
  transform-origin: top;
}
.process-num {
  flex: none;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--black);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.25rem;
  position: relative;
  z-index: 1;
}
@media (prefers-reduced-motion: no-preference) {
  .js .process-step:not(:last-child)::after {
    transform: scaleY(0);
    transition: transform .9s var(--ease) .1s;
  }
  .js .process.is-in .process-step::after,
  .js .process-step.is-in::after { transform: scaleY(1); }
  .js .process-num { transform: scale(.4); transition: transform .45s var(--ease); }
  .js .process.is-in .process-num,
  .js .process-step.is-in .process-num { transform: scale(1); }
}
.process-body { padding-top: 4px; }
.process-body h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px;
}
.process-meta {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--yellow-ink);
}
.process-body p {
  color: var(--grey-700);
  font-size: 0.98rem;
  line-height: 1.6;
}

/* ---------- Proof / manifesto ---------- */
.proof-stats {
  margin-bottom: 44px;
}
.proof-stats > div { text-align: center; }
.proof-stats strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  color: var(--black);
  line-height: 1;
  margin-bottom: 8px;
}
.proof-stats span {
  color: var(--grey-700);
  font-size: 0.88rem;
  line-height: 1.45;
  display: block;
  max-width: 22ch;
  margin-inline: auto;
}
.proof {
  max-width: 880px;
  margin-inline: auto;
  text-align: center;
}
.proof-quote {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.35rem, 3vw, 2rem);
  line-height: 1.38;
  color: var(--black);
  letter-spacing: -0.01em;
}
.proof-attr {
  margin-top: 20px;
  color: var(--grey-500);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ---------- Hero trust checks ---------- */
.hero-checks {
  margin-top: 26px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.hero-checks li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.96rem;
  font-weight: 600;
  color: var(--grey-700);
}
.hero-checks svg { width: 20px; height: 20px; flex: none; }

/* ---------- Stats band (below hero) ---------- */
.stats-band { border-bottom: 1px solid var(--grey-300); }
.stats-band .proof-stats { margin-bottom: 28px; }
.stats-trust {
  text-align: center;
  color: var(--grey-500);
  font-size: 0.9rem;
  font-weight: 600;
}
.stats-trust span {
  display: inline-block;
  margin-left: 14px;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--grey-700);
  letter-spacing: 0.02em;
}
.stats-trust span:first-of-type { margin-left: 10px; }

/* ---------- Section closer statement ---------- */
.section-closer {
  margin-top: 44px;
  text-align: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.3rem, 2.6vw, 1.8rem);
  color: var(--black);
  letter-spacing: -0.01em;
}

/* ---------- Centered CTA under a section ---------- */
.center-cta {
  margin-top: 44px;
  text-align: center;
}
.center-cta .btn { margin-inline: auto; }
.cta-support {
  margin-top: 14px;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--grey-500);
}

/* ---------- "For …" label on service cards ---------- */
.card-for {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--yellow-ink);
  margin-bottom: 6px;
}

/* ---------- About lead paragraphs ---------- */
.about-lead {
  color: var(--grey-700);
  font-size: 1.08rem;
  line-height: 1.6;
  max-width: 52ch;
  margin-bottom: 16px;
}

/* ---------- Testimonials (populate when real quotes exist) ---------- */
.testimonials {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
}
.testimonial {
  background: var(--white);
  border: 1px solid var(--grey-300);
  border-radius: var(--radius-md);
  padding: 28px;
  margin: 0;
}
.testimonial blockquote {
  margin: 0 0 16px;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--black);
}
.testimonial figcaption {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--grey-500);
}

/* ---------- FAQ ---------- */
.faq {
  max-width: 760px;
  margin-inline: auto;
}
.faq-item {
  background: var(--white);
  border: 1px solid var(--grey-300);
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 22px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--black);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  flex: none;
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1;
  color: var(--yellow-ink);
  transition: transform .25s var(--ease);
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item summary:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: -3px;
  border-radius: var(--radius-sm);
}
.faq-item > p {
  margin: 0;
  padding: 0 22px 20px;
  color: var(--grey-700);
  font-size: 0.96rem;
  line-height: 1.6;
}

/* ---------- Contact form ---------- */
.contact-wrap {
  display: grid;
  grid-template-columns: 1.4fr 0.9fr;
  gap: 32px;
  align-items: start;
  max-width: 1000px;
  margin-inline: auto;
}
.contact-form {
  background: var(--white);
  border: 1px solid var(--grey-300);
  border-radius: var(--radius-md);
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.contact-form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

.form-success {
  background: var(--white);
  border: 1px solid var(--grey-300);
  border-radius: var(--radius-md);
  padding: 44px 30px;
  text-align: center;
}
.form-success .icon-badge {
  margin-inline: auto;
  margin-bottom: 18px;
  background: var(--yellow);
}
.form-success h3 { font-size: 1.3rem; margin-bottom: 10px; }
.form-success p { color: var(--grey-700); max-width: 360px; margin-inline: auto; }
.form-success:not([hidden]) { animation: form-success-in .5s var(--ease); }
@keyframes form-success-in {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .form-success:not([hidden]) { animation: none; }
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form label {
  display: block;
  font-weight: 600;
  font-size: 0.86rem;
  color: var(--grey-900);
}
.contact-form .req { color: var(--yellow-ink); }
.contact-form .opt { color: var(--grey-500); font-weight: 400; }
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form select,
.contact-form textarea {
  width: 100%;
  margin-top: 6px;
  padding: 11px 13px;
  border: 1px solid var(--grey-300);
  border-radius: var(--radius-sm);
  background: var(--off-white);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--grey-900);
  transition: border-color .2s var(--ease), background .2s var(--ease);
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--yellow);
  background: var(--white);
}
.contact-form textarea { resize: vertical; min-height: 96px; }
.form-radios {
  border: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.form-radios legend {
  font-weight: 600;
  font-size: 0.86rem;
  margin-bottom: 8px;
}
.form-radios .radio {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 500;
  font-size: 0.9rem;
}
.form-radios input[type="radio"],
.contact-form .checkbox input { accent-color: var(--yellow-dark); width: 16px; height: 16px; flex: none; }
.contact-form .checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-weight: 500;
  font-size: 0.88rem;
  line-height: 1.5;
}
.contact-form .checkbox input { margin-top: 2px; }
.contact-form button[type="submit"] { align-self: flex-start; margin-top: 4px; }
.form-note { font-size: 0.85rem; color: var(--grey-500); }
.form-success {
  text-align: center;
  padding: 30px 10px;
}
.form-success h3 { font-size: 1.4rem; margin-bottom: 8px; }
.form-success p { color: var(--grey-700); }

.contact-aside {
  background: var(--black);
  color: var(--white);
  border-radius: var(--radius-md);
  padding: 30px;
}
.contact-aside h3 { color: var(--white); font-size: 1.15rem; margin-bottom: 8px; }
.contact-aside > p { color: #cfcfcf; font-size: 0.95rem; margin-bottom: 18px; }
.contact-aside .btn { width: 100%; justify-content: center; }
.contact-direct {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.14);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.contact-direct a {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #d8d8d8;
  font-size: 0.9rem;
  word-break: break-word;
  transition: color .2s var(--ease);
}
.contact-direct a:hover { color: var(--yellow); }
.contact-direct a svg {
  width: 17px; height: 17px; flex: none;
  stroke: var(--yellow); fill: none; stroke-width: 2;
}
.contact-direct a svg.ico-fill { fill: var(--yellow); stroke: none; }

.contact-calendar {
  max-width: 1000px;
  margin: 28px auto 0;
  background: var(--white);
  border: 1px solid var(--grey-300);
  border-radius: var(--radius-md);
  padding: 26px 26px 20px;
}
.contact-calendar h3 { text-align: center; font-size: 1.2rem; margin-bottom: 4px; }
.contact-calendar > p {
  text-align: center;
  color: var(--grey-500);
  font-size: 0.85rem;
  letter-spacing: 0.03em;
  margin-bottom: 18px;
}
.contact-calendar iframe {
  width: 100%;
  height: 600px;
  border: 0;
  border-radius: var(--radius-sm);
  display: block;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--black);
  color: #d8d8d8;
  padding: 64px 0 26px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr 1fr;
  gap: 40px;
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.footer-brand img {
  height: 44px;
  margin-bottom: 16px;
  background: var(--white);
  padding: 9px 13px;
  border-radius: 12px;
}
.footer-brand p { max-width: 300px; color: #a8a8a8; font-size: 0.92rem; }
.footer-col h4 {
  color: var(--white);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.footer-col ul li { margin-bottom: 12px; }
.footer-col ul li a {
  color: #b8b8b8;
  font-size: 0.95rem;
  transition: color .2s var(--ease);
}
.footer-col ul li a:hover { color: var(--yellow); }
.footer-col ul li a svg { width: 16px; height: 16px; margin-right: 8px; stroke: var(--yellow); fill: none; vertical-align: -3px; }
.footer-col ul li a svg.ico-fill { fill: var(--yellow); stroke: none; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 26px;
  font-size: 0.85rem;
  color: #8a8a8a;
  flex-wrap: wrap;
  gap: 12px;
}

.back-to-top {
  position: fixed;
  right: 26px;
  bottom: 96px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--black);
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-md);
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity .3s var(--ease), transform .3s var(--ease);
  z-index: 400;
}
.back-to-top.visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
.back-to-top svg {
  width: 22px; height: 22px;
  stroke: currentColor; fill: none;
  stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}

/* ---------- Page header (services/about/work/notes) ---------- */
.page-header {
  padding: 84px 0 72px;
  background: var(--black);
  color: var(--white);
}
.page-header .eyebrow { color: var(--yellow); }
.page-header h1 { color: var(--white); font-size: clamp(40px, 6vw, 76px); margin-bottom: 18px; max-width: 16ch; }
.page-header p { color: #cfcfcf; max-width: 60ch; font-size: 1.1rem; }

/* ---------- Media frame (gif/video showcase) ---------- */
.media-frame {
  max-width: 900px;
  margin-inline: auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--grey-300);
}
.media-frame video,
.media-frame img {
  display: block;
  width: 100%;
  height: auto;
}

/* ---------- Motion system ----------
   Content is visible by default. Only when JS has confirmed itself
   (html.js) and the user allows motion do elements start hidden and
   animate in. Nothing inside .hero is ever gated. */
@media (prefers-reduced-motion: no-preference) {
  .js [data-anim="rise"] {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity .48s var(--ease), transform .48s var(--ease);
  }
  .js [data-anim="rise"].is-in { opacity: 1; transform: none; }

  .js [data-anim="stagger"] > * {
    opacity: 0;
    transform: translateY(16px);
  }
  .js [data-anim="stagger"].is-in > * {
    opacity: 1;
    transform: none;
    transition: opacity .5s var(--ease), transform .5s var(--ease);
    transition-delay: calc(var(--i, 0) * 65ms);
  }

  .js .hero [data-anim] { opacity: 1 !important; transform: none !important; }
}

/* The signature move: the yellow wipe behind a key phrase.
   Painted as a background so it survives line wraps (box-decoration-break
   clones it onto every wrapped fragment); the wipe animates the width. */
.hl {
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  background-image: linear-gradient(var(--yellow), var(--yellow));
  background-repeat: no-repeat;
  background-position: left center;
  background-size: 100% 82%;
  padding: 0 0.08em;
  margin: 0 -0.08em;
}
.bg-black .hl { color: var(--black); }
@media (prefers-reduced-motion: no-preference) {
  .js .hl {
    background-size: 0% 82%;
    transition: background-size .42s cubic-bezier(.22,1,.36,1);
  }
  .js [data-anim="wipe"].is-in .hl,
  .js .hero .hl { background-size: 100% 82%; }
  .js .hero .hl { transition-delay: .35s; }
}

/* Stat count-up: figure holds space, JS ticks the number */
[data-anim="count"] .count-target { font-variant-numeric: tabular-nums; }

/* ---------- Problem / why ---------- */
.why-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 50px;
  align-items: start;
}
.why-item { display: flex; gap: 18px; margin-bottom: 28px; }
.why-item .icon-badge { width: 52px; height: 52px; }
.why-item .icon-badge svg { width: 26px; height: 26px; }
.why-item h4 { margin-bottom: 6px; font-size: 1.05rem; }
.why-item p { color: var(--grey-700); font-size: 0.95rem; }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 22px;
}
.contact-card {
  background: var(--white);
  border: 1px solid var(--grey-300);
  border-radius: var(--radius-md);
  padding: 34px 26px;
  text-align: center;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.contact-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.contact-card .icon-badge { margin-inline: auto; margin-bottom: 18px; }
.contact-card h3 { font-size: 1.1rem; margin-bottom: 8px; }
.contact-card a.link { color: var(--grey-700); font-weight: 600; word-break: break-word; }
.contact-card a.link:hover { color: var(--black); }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 420px; margin-inline: auto; order: -1; }
  .grid-5 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .cycle { grid-template-columns: repeat(3, 1fr); }
  .service-block { grid-template-columns: 1fr; }
  .service-block .service-head { position: static; }
  .founder-wrap { grid-template-columns: 1fr; }
  .founder-photo { max-width: 340px; margin-inline: auto; }
  .cta-banner { grid-template-columns: 1fr; text-align: center; }
  .cta-banner .cta-row { justify-content: center; }
  .why-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-wrap { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .nav-links, .nav-actions .btn { display: none; }
  .nav-toggle { display: grid; }
  .nav-actions { gap: 10px; }

  body.nav-open .nav-links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    padding: 18px 24px 26px;
    border-bottom: 1px solid var(--grey-300);
    box-shadow: var(--shadow-md);
  }
  body.nav-open .nav-links a { padding-block: 10px; width: 100%; }
  body.nav-open .nav-links .btn { display: inline-flex; margin-top: 10px; }

  .grid-5, .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .proof-stats { grid-template-columns: 1fr 1fr; }
  .cycle { grid-template-columns: 1fr; }
  .check-list { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form, .contact-aside { padding: 22px; }
  section { padding: 60px 0; }
  .cta-banner { padding: 40px 26px; }
  .hero { padding: 48px 0 64px; }
  .hero-stats { gap: 24px; }
}

@media (max-width: 560px) {
  .btn { white-space: normal; text-align: center; line-height: 1.3; }
  .cta-row .btn { width: 100%; justify-content: center; }
  .stats-trust span { display: block; margin: 4px 0 0; }
}

/* =========================================================
   FAQ chatbot — "Wren"
   ========================================================= */
.chatbot { position: fixed; right: 26px; bottom: 26px; z-index: 600; }

.chat-launcher {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--black);
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-yellow);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.chat-launcher:hover { transform: translateY(-3px) scale(1.05); }
.chat-launcher svg {
  width: 26px; height: 26px;
  fill: none; stroke: currentColor;
  stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
  grid-area: 1 / 1;
  transition: opacity .2s var(--ease), transform .2s var(--ease);
}
.chat-launcher .chat-ico-close { opacity: 0; transform: rotate(-45deg); }
.chat-launcher.is-open .chat-ico-open { opacity: 0; transform: rotate(45deg); }
.chat-launcher.is-open .chat-ico-close { opacity: 1; transform: rotate(0); }

.chat-window {
  position: absolute;
  right: 0;
  bottom: 74px;
  width: 360px;
  max-width: calc(100vw - 40px);
  max-height: min(72vh, 560px);
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--grey-300);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  transform-origin: bottom right;
  animation: chat-pop .28s var(--ease);
}
.chat-window[hidden] { display: none; }
@keyframes chat-pop {
  from { opacity: 0; transform: translateY(12px) scale(.96); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.chat-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: var(--black);
  color: var(--white);
}
.chat-header strong { display: block; font-family: var(--font-display); font-size: .98rem; }
.chat-header span { font-size: .72rem; color: #b9b9b9; }
.chat-avatar {
  width: 38px; height: 38px;
  flex: none;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--black);
  display: grid;
  place-items: center;
  overflow: hidden;
}

/* ---------- Animated bot avatar (Shimona) ---------- */
.bot-face {
  width: 30px;
  height: 30px;
  color: var(--black);
  animation: bot-bob 3s ease-in-out infinite;
}
.chat-launcher .bot-face { width: 30px; height: 30px; }
.bot-face rect,
.bot-face line,
.bot-face .bot-smile {
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.bot-face .bot-eye,
.bot-face .bot-spark { fill: currentColor; stroke: none; }
.bot-face .bot-eye {
  transform-box: fill-box;
  transform-origin: center;
  animation: bot-blink 4.5s ease-in-out infinite;
}
.bot-face .bot-spark {
  transform-box: fill-box;
  transform-origin: center;
  animation: bot-spark 2s ease-in-out infinite;
}
@keyframes bot-bob {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-1.5px); }
}
@keyframes bot-blink {
  0%, 90%, 100% { transform: scaleY(1); }
  95%           { transform: scaleY(0.15); }
}
@keyframes bot-spark {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: .35; transform: scale(.8); }
}
.chat-close {
  margin-left: auto;
  width: 30px; height: 30px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: #cfcfcf;
  transition: background .2s var(--ease), color .2s var(--ease);
}
.chat-close:hover { background: rgba(255,255,255,.12); color: var(--white); }
.chat-close svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }

.chat-body {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  background: var(--off-white);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.chat-msg { display: flex; }
.chat-msg p {
  max-width: 85%;
  padding: 10px 13px;
  border-radius: 14px;
  font-size: .88rem;
  line-height: 1.5;
}
.chat-msg.bot p {
  background: var(--white);
  border: 1px solid var(--grey-300);
  border-bottom-left-radius: 4px;
  color: var(--grey-900);
}
.chat-msg.user { justify-content: flex-end; }
.chat-msg.user p {
  background: var(--yellow);
  color: var(--black);
  border-bottom-right-radius: 4px;
  font-weight: 500;
}
.chat-msg a { color: var(--black); font-weight: 700; text-decoration: underline; }

.chat-faqs {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  padding: 12px 16px;
  border-top: 1px solid var(--grey-300);
  background: var(--white);
  max-height: 168px;
  overflow-y: auto;
}
.chat-faq {
  padding: 7px 12px;
  border: 1px solid var(--grey-300);
  border-radius: var(--radius-pill);
  font-size: .78rem;
  font-weight: 500;
  color: var(--grey-900);
  transition: background .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease);
}
.chat-faq:hover { background: var(--black); border-color: var(--black); color: var(--white); }

.chat-foot {
  padding: 11px 16px;
  border-top: 1px solid var(--grey-300);
  background: var(--white);
  text-align: center;
}
.chat-foot a { font-size: .8rem; font-weight: 600; color: var(--grey-700); }
.chat-foot a:hover { color: var(--black); }

@media (prefers-reduced-motion: reduce) {
  .chat-window { animation: none; }
  .chat-launcher:hover { transform: none; }
  .bot-face, .bot-face * { animation: none !important; }
}

@media (max-width: 480px) {
  .chatbot { right: 16px; bottom: 16px; }
  .chat-window {
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: 84px;
    width: auto;
    max-width: none;
    max-height: calc(100vh - 150px);
  }
  .back-to-top { right: 16px; bottom: 84px; }
}

/* =========================================================
   Rebuild additions — sell judgement, not capacity
   ========================================================= */

/* ---------- Full-bleed statement band ("I do the work") ---------- */
.statement {
  background: var(--black);
  color: var(--white);
  padding: 96px 0;
}
.statement .container { max-width: 980px; }
.statement p {
  max-width: none;
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.05;
  font-size: clamp(28px, 4.4vw, 52px);
  color: var(--white);
}
.statement .lead-in {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.02em;
  color: #b9b9b9;
  margin-bottom: 18px;
}
.statement .hl { color: var(--black); }

/* ---------- Full-bleed yellow CTA ---------- */
.cta-yellow {
  background: var(--yellow);
  color: var(--black);
  padding: 88px 0;
}
.cta-yellow h2 {
  font-size: clamp(30px, 4.6vw, 56px);
  margin-bottom: 16px;
  max-width: 20ch;
}
.cta-yellow p { font-size: 1.15rem; margin-bottom: 30px; max-width: 52ch; }
.cta-yellow .btn-primary {
  background: var(--black);
  color: var(--white);
  box-shadow: 4px 4px 0 rgba(0,0,0,.28);
}
.cta-yellow .btn-primary:hover { box-shadow: 6px 6px 0 rgba(0,0,0,.28); }

/* ---------- People Audit / engagement table ---------- */
.steps {
  display: grid;
  gap: 0;
  border: 2px solid var(--black);
  max-width: 900px;
  margin-inline: auto;
}
.step-row {
  display: grid;
  grid-template-columns: 200px 1fr 200px;
  gap: 24px;
  padding: 26px 28px;
  align-items: start;
}
.step-row + .step-row { border-top: 2px solid var(--black); }
.step-row.is-key { background: var(--yellow); }
.step-row h3 { font-size: 1.15rem; margin-bottom: 4px; }
.step-row .step-when {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--yellow-ink);
}
.step-row.is-key .step-when { color: var(--black); }
.step-row p { font-size: 0.98rem; color: var(--grey-700); max-width: none; }
.step-row.is-key p { color: var(--black); }
.step-row .step-price {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.05rem;
  text-align: right;
}
.step-note {
  max-width: 900px;
  margin: 16px auto 0;
  font-size: 0.9rem;
  color: var(--grey-500);
}

/* ---------- Testimonials ---------- */
.testimonials-section .section-title {
  font-size: clamp(28px, 4vw, 46px);
  margin-bottom: 40px;
  max-width: 20ch;
}
.testimonials {
  margin-top: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.testimonial {
  background: var(--white);
  border: 2px solid var(--black);
  border-radius: 0;
  padding: 28px;
  margin: 0;
}
.testimonial blockquote {
  margin: 0 0 20px;
  font-size: 1.02rem;
  line-height: 1.55;
  color: var(--black);
  font-weight: 500;
}
.testimonial figcaption {
  display: grid;
  grid-template-columns: 48px 1fr;
  grid-template-rows: auto auto;
  column-gap: 12px;
  align-items: center;
  font-size: 0.85rem;
  letter-spacing: 0;
  text-transform: none;
  color: var(--grey-700);
}
.testimonial figcaption img {
  grid-row: 1 / 3;
  width: 48px; height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--black);
}
.testimonial .t-name { font-weight: 800; color: var(--black); align-self: end; }
.testimonial .t-role { font-size: 0.8rem; align-self: start; }

/* ---------- Long-form article (Field Notes / Work) ---------- */
.article {
  max-width: 720px;
  margin-inline: auto;
  color: #141414;
}
.article > * { max-width: none; }
.article h2 { font-size: clamp(24px, 3vw, 34px); margin: 44px 0 14px; color: var(--black); }
.article h3 { font-size: 1.2rem; margin: 32px 0 10px; color: var(--black); }
.article p, .article li { margin-bottom: 20px; font-size: 1.08rem; color: #141414; }
.article strong { color: var(--black); }
.article em { color: var(--black); font-style: italic; }
.article ul:not(.check-list) { margin: 0 0 20px 1.1em; list-style: disc; }
.article ul:not(.check-list) li { margin-bottom: 8px; }
.article .pull-quote {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(20px, 2.6vw, 28px);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 36px 0;
  padding-left: 22px;
  border-left: 4px solid var(--yellow);
}
.article-meta {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--yellow-ink);
  margin-bottom: 12px;
}

/* Case-study block (work.html) */
.case {
  max-width: 820px;
  margin: 0 auto 8px;
  padding: 44px 0;
  border-bottom: 2px solid var(--black);
}
.case:last-of-type { border-bottom: none; }
.case > h2 { font-size: clamp(26px, 3.4vw, 40px); margin-bottom: 24px; }
.case dl { display: grid; gap: 22px; }
.case dt {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--yellow-ink);
  margin-bottom: 6px;
}
.case dd { margin: 0; font-size: 1.04rem; color: var(--grey-900); }
.placeholder {
  display: inline-block;
  background: var(--yellow);
  color: var(--black);
  font-weight: 700;
  padding: 1px 6px;
}

/* Notes index list */
.note-list { max-width: 760px; margin-inline: auto; display: grid; gap: 0; border-top: 2px solid var(--black); }
.note-list li { border-bottom: 2px solid var(--black); }
.note-list a {
  display: block;
  padding: 26px 4px;
  transition: background .15s var(--ease), padding-left .15s var(--ease);
}
.note-list a:hover,
.note-list a:focus-visible {
  background: var(--sand);
  box-shadow: inset 5px 0 0 var(--yellow);
  padding-left: 18px;
}
.note-list h2 { font-size: 1.45rem; margin-bottom: 6px; color: var(--black); }
.note-list .article-meta { margin: 0 0 4px; }

/* Simple redirect page */
.redirect-note { text-align: center; padding: 120px 24px; font-size: 1.1rem; }

/* ---------- Nav underline: permanent on active ---------- */
.nav-links a.active::after { right: 0; }

/* ---------- View transitions ---------- */
@media (prefers-reduced-motion: no-preference) {
  ::view-transition-old(root) { animation: vt-out .22s ease both; }
  ::view-transition-new(root) { animation: vt-in .28s ease both; }
  @keyframes vt-out { to { opacity: 0; transform: translateY(-8px); } }
  @keyframes vt-in { from { opacity: 0; transform: translateY(8px); } }
}

/* ---------- Scroll-driven parallax where supported ---------- */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .hero-visual img {
      animation: drift linear both;
      animation-timeline: view();
      animation-range: entry 0% exit 100%;
    }
    @keyframes drift { to { transform: translateY(-34px); } }
  }
}

/* ---------- Section that fades to black as it enters ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .to-black { transition: background-color .35s var(--ease), color .35s var(--ease); }
}

/* ---------- Reduced motion: everything at rest ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  [data-anim], [data-anim] > * { opacity: 1 !important; transform: none !important; }
  .hl { background-size: 100% 82% !important; }
  .marquee-track { animation: none !important; }
  .timeline-tracker { display: none; }
}

/* ---------- Animated marks (replace static icons) ---------- */
.mark .mk {
  width: 30px;
  height: 30px;
  overflow: visible;
}
.mark .mk rect,
.mark .mk circle,
.mark .mk path,
.mark .mk line {
  fill: none;
  stroke: var(--black);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.mark .mk .solid { fill: var(--black); stroke: none; }

@media (prefers-reduced-motion: no-preference) {
  .m1 .mk { animation: mk-spin 16s linear infinite; transform-box: view-box; transform-origin: center; }
  .m2 .mk .ring {
    transform-box: view-box; transform-origin: center;
    animation: mk-ring 2.8s ease-out infinite;
  }
  .m3 .mk rect {
    transform-box: fill-box; transform-origin: bottom;
    animation: mk-bar 2.6s ease-in-out infinite;
  }
  .m3 .mk .b2 { animation-delay: .16s; }
  .m3 .mk .b3 { animation-delay: .32s; }
  .m4 .mk .dot {
    transform-box: view-box; transform-origin: center;
    animation: mk-spin 6.5s linear infinite;
  }
  .card:hover .m1 .mk,
  .card:hover .m4 .mk .dot { animation-duration: 3s; }
}
@keyframes mk-spin { to { transform: rotate(360deg); } }
@keyframes mk-ring {
  0%   { transform: scale(.35); opacity: 1; }
  70%  { opacity: 0; }
  100% { transform: scale(1.25); opacity: 0; }
}
@keyframes mk-bar {
  0%, 100% { transform: scaleY(.45); }
  50%      { transform: scaleY(1); }
}

/* ---------- Section colour rotation ---------- */
.bg-off,
section.bg-off { background: var(--sand); }
.bg-white { background: var(--white); }
.bg-black { background: var(--black); color: var(--white); }
.bg-black p { color: #cfcfcf; }
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form select,
.contact-form textarea { background: var(--off-white); }
.bg-black .section-head p { color: #cfcfcf; }
.bg-black .card {
  background: var(--grey-900);
  border-color: rgba(255,255,255,.14);
}
.bg-black .card h3 { color: var(--white); }
.bg-black .card p { color: #b7b7b7; }

/* ---------- Responsive: rebuild pieces ---------- */
@media (max-width: 900px) {
  .step-row { grid-template-columns: 1fr; gap: 8px; }
  .step-row .step-price { text-align: left; }
  .testimonials { grid-template-columns: 1fr; }
}
@media (max-width: 980px) {
  .hero-visual { max-width: 360px; margin-inline: auto; order: -1; padding: 0 18px 18px 0; }
}
