/* ============================================
   TOKENS
   ============================================ */
:root {
  --black: #0F0F0F;
  --white: #FAFAFA;
  --green: #18B185;
  --green-hover: #14A078;
  --gray-90: #1A1A1A;
  --gray-80: #2A2A2A;
  --gray-70: #4A4A4A;
  --gray-40: #999999;
  --gray-10: #F0F0F0;

  --font: 'Maison Neue', 'Inter', sans-serif;
  --mono: 'Maison Neue Mono', 'JetBrains Mono', monospace;

  --display: clamp(48px, 7vw, 88px);
  --h1: clamp(36px, 4.5vw, 52px);
  --h2: clamp(26px, 3.5vw, 40px);
  --h3: clamp(19px, 2.2vw, 26px);
  --h4: 19px;
  --lg: 18px;
  --base: 16px;
  --sm: 14px;
  --xs: 13px;

  --bold: 700;
  --med: 500;
  --reg: 400;
  --light: 300;

  --nav-h: 72px;
  --max: 1200px;
  --text-max: 700px;
  --pad: clamp(80px, 10vw, 160px);
  --gutter: clamp(24px, 5vw, 80px);

  --fast: 150ms ease;
  --base-t: 300ms ease;
  --slow: 600ms ease;
}

/* ============================================
   RESET
   ============================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--black);
  color: var(--white);
  font-family: var(--font);
  font-size: var(--base);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--green); color: var(--black); }
::-moz-selection { background: var(--green); color: var(--black); }
button { cursor: pointer; border: none; background: none; font: inherit; color: inherit; }
ul, ol { list-style: none; }
input, textarea, select { font: inherit; }

/* ============================================
   LAYOUT
   ============================================ */
.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.container--narrow {
  max-width: var(--text-max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.section {
  padding: var(--pad) 0;
}
.section--dark { background: var(--black); }
.section--mid  { background: #111111; }
.section--card { background: var(--gray-90); }

/* ============================================
   TYPOGRAPHY
   ============================================ */
.display {
  font-size: var(--display);
  font-weight: var(--bold);
  line-height: 1.0;
  letter-spacing: -0.028em;
}
.h1 {
  font-size: var(--h1);
  font-weight: var(--bold);
  line-height: 1.1;
  letter-spacing: -0.03em;
}
.h2 {
  font-size: var(--h2);
  font-weight: var(--bold);
  line-height: 1.15;
  letter-spacing: -0.02em;
}
.h3 {
  font-size: var(--h3);
  font-weight: var(--med);
  line-height: 1.3;
  letter-spacing: -0.01em;
}
.h4 {
  font-size: var(--h4);
  font-weight: var(--med);
  line-height: 1.4;
}
.body-lg { font-size: var(--lg); line-height: 1.65; }
.body    { font-size: var(--base); line-height: 1.65; }
.caption { font-size: var(--xs); line-height: 1.5; color: var(--gray-40); }
.label {
  font-family: var(--mono);
  font-size: var(--xs);
  color: var(--gray-40);
  letter-spacing: 0.1em;
  text-transform: lowercase;
}
.muted  { color: var(--gray-40); }
.dimmed { color: var(--gray-40); }

/* ============================================
   NAVIGATION
   ============================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 100;
  transition: background var(--base-t), backdrop-filter var(--base-t);
}
.nav.scrolled {
  background: rgba(15,15,15,0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.nav__logo {
  position: relative;
  display: inline-flex;
  align-items: center;
}
.nav__logo-img {
  height: 48px;
  width: auto;
  display: block;
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav__link {
  font-size: var(--sm);
  font-weight: var(--med);
  color: var(--gray-40);
  transition: color var(--fast);
  position: relative;
}
.nav__link:hover { color: var(--white); }
.nav__link.active { color: var(--white); }
.nav__link.active::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 0;
  height: 2px;
  background: var(--green);
  border-radius: 1px;
}
.nav__cta {
  font-size: var(--sm);
  font-weight: var(--med);
  padding: 8px 20px;
  border: 1px solid rgba(250,250,250,0.3);
  border-radius: 4px;
  color: var(--white);
  transition: background var(--fast), border-color var(--fast), color var(--fast);
}
.nav__cta:hover {
  background: var(--white);
  border-color: var(--white);
  color: var(--black);
}
.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  padding: 4px 0;
}
.nav__hamburger span {
  display: block;
  height: 1.5px;
  background: var(--white);
  border-radius: 1px;
  transition: transform var(--base-t), opacity var(--fast);
}
.nav__hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav__hamburger.open span:nth-child(2) { opacity: 0; }
.nav__hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile menu overlay */
.nav__overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--black);
  z-index: 99;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 40px;
  opacity: 0;
  transition: opacity var(--base-t);
}
.nav__overlay.open { opacity: 1; }
.nav__overlay-link {
  font-size: var(--h2);
  font-weight: var(--bold);
  letter-spacing: -0.03em;
  color: var(--gray-40);
  transition: color var(--fast);
}
.nav__overlay-link:hover { color: var(--white); }
.nav__overlay-cta {
  margin-top: 8px;
  font-size: var(--lg);
  font-weight: var(--med);
  color: var(--white);
  border-bottom: 1px solid var(--white);
  padding-bottom: 2px;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: var(--base);
  font-weight: var(--med);
  letter-spacing: -0.005em;
  transition: color var(--fast);
  cursor: pointer;
  border: none;
  background: transparent;
  padding: 0;
  min-height: 44px;
  position: relative;
}
.btn:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 6px;
  border-radius: 4px;
}

/* Stoplight CTA — green light to the left of the label */
.btn--primary {
  color: var(--white);
  padding-right: 4px;
}
.btn--primary::before {
  content: "";
  display: inline-block;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--green);
  box-shadow:
    0 0 0 0 rgba(24, 177, 133, 0.55),
    0 0 14px rgba(24, 177, 133, 0.55);
  transition: box-shadow var(--base-t), transform var(--base-t);
  flex-shrink: 0;
}
@keyframes greenPulse {
  0%   { box-shadow: 0 0 0 0   rgba(24, 177, 133, 0.55), 0 0 14px rgba(24, 177, 133, 0.55); }
  70%  { box-shadow: 0 0 0 10px rgba(24, 177, 133, 0),     0 0 14px rgba(24, 177, 133, 0.55); }
  100% { box-shadow: 0 0 0 0   rgba(24, 177, 133, 0),     0 0 14px rgba(24, 177, 133, 0.55); }
}
.btn--primary::before {
  animation: greenPulse 2.6s ease-out infinite;
}
.btn--primary:hover {
  color: var(--green);
}
.btn--primary:hover::before {
  transform: scale(1.08);
  box-shadow:
    0 0 0 4px rgba(24, 177, 133, 0.18),
    0 0 22px rgba(24, 177, 133, 0.7);
  animation-play-state: paused;
}

/* Ghost — outlined link-style button */
.btn--ghost {
  color: var(--white);
  border: 1px solid rgba(250, 250, 250, 0.25);
  border-radius: 4px;
  padding: 12px 24px;
  background: transparent;
  transition: background var(--fast), color var(--fast), border-color var(--fast);
}
.btn--ghost:hover {
  background: var(--white);
  color: var(--black);
  border-color: var(--white);
}

@media (prefers-reduced-motion: reduce) {
  .btn--primary::before { animation: none; }
}
.link-arrow {
  font-size: var(--sm);
  font-weight: var(--med);
  color: var(--white);
  opacity: 0.65;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap var(--fast), opacity var(--fast), color var(--fast);
}
.link-arrow:hover {
  gap: 12px;
  opacity: 1;
  color: var(--green);
}

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  cursor: crosshair;
}
.hero a, .hero button { cursor: pointer; }
.hero__numeral {
  position: absolute;
  right: clamp(-40px, -3vw, 0px);
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font);
  font-weight: var(--bold);
  font-size: clamp(280px, 38vw, 540px);
  line-height: 0.8;
  letter-spacing: -0.06em;
  color: rgba(250, 250, 250, 0.045);
  pointer-events: none;
  user-select: none;
  z-index: 0;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.hero__content {
  position: relative;
  z-index: 1;
  padding-top: var(--nav-h);
  max-width: var(--max);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
  padding-bottom: 80px;
}
.hero__eyebrow {
  font-family: var(--mono);
  font-size: var(--xs);
  color: var(--gray-70);
  letter-spacing: 0.12em;
  margin-bottom: 28px;
  opacity: 0;
  transform: translateY(10px);
  animation: fadeUp 0.6s ease forwards 0.2s;
}
.hero__headline {
  max-width: 800px;
  opacity: 0;
  transform: translateY(16px);
  animation: fadeUp 0.7s ease forwards 0.4s;
}
.hero__sub {
  margin-top: 28px;
  max-width: 520px;
  color: var(--gray-40);
  font-size: var(--lg);
  opacity: 0;
  transform: translateY(12px);
  animation: fadeUp 0.6s ease forwards 0.65s;
}
.hero__cta {
  margin-top: 48px;
  opacity: 0;
  transform: translateY(10px);
  animation: fadeUp 0.6s ease forwards 0.85s;
}
.hero__scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--mono);
  font-size: 12px;
  color: var(--gray-70);
  letter-spacing: 0.08em;
  z-index: 1;
  animation: fadeIn 1s ease forwards 1.4s;
  opacity: 0;
}

/* Subhero (inner pages) */
.subhero {
  min-height: 60vh;
  display: flex;
  align-items: flex-end;
  padding-top: var(--nav-h);
  padding-bottom: var(--pad);
  position: relative;
  overflow: hidden;
}
.subhero__content {
  position: relative;
  z-index: 1;
}

/* ============================================
   SECTION LABELS + PULL QUOTES
   ============================================ */
.section-label {
  font-family: var(--mono);
  font-size: var(--xs);
  color: var(--gray-40);
  letter-spacing: 0.1em;
  margin-bottom: 24px;
  display: block;
  transition: color 0.4s ease;
}
.section-label.flashed {
  animation: labelFlash 1.4s ease forwards;
}
@keyframes labelFlash {
  0%   { color: var(--gray-40); }
  18%  { color: var(--green); }
  100% { color: var(--gray-40); }
}
@media (prefers-reduced-motion: reduce) {
  .section-label.flashed { animation: none; }
}
.section-label__num {
  color: var(--gray-70);
  margin-right: 4px;
}
.section-label__sep {
  color: var(--gray-80);
  margin: 0 8px;
}
.pull-quote {
  font-size: clamp(22px, 3vw, 34px);
  font-weight: var(--bold);
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--white);
}

/* ============================================
   PHILOSOPHY SECTION
   ============================================ */
.philosophy {
  max-width: 800px;
  margin: 0 auto;
  text-align: left;
}
.philosophy p {
  margin-top: var(--lg);
  color: var(--gray-40);
  font-size: var(--lg);
}

/* ============================================
   SERVICE CARDS
   ============================================ */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 56px;
}
.card {
  background: var(--gray-90);
  border: 1px solid var(--gray-80);
  border-radius: 8px;
  padding: 36px 32px;
  transition: border-color var(--base-t);
}
.card:hover { border-color: rgba(250, 250, 250, 0.28); }
.card__icon {
  width: 28px;
  height: 28px;
  margin-bottom: 24px;
  color: var(--white);
}
.card__icon svg { width: 100%; height: 100%; }
.card__title {
  font-size: var(--h4);
  font-weight: var(--bold);
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}
.card__body {
  font-size: 15px;
  color: var(--gray-40);
  line-height: 1.65;
}

/* ============================================
   METHOD TEASER
   ============================================ */
.method-teaser {
  display: grid;
  grid-template-columns: 55% 40%;
  gap: 80px;
  align-items: start;
}
.method-steps-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.step-item {
  display: flex;
  align-items: baseline;
  gap: 16px;
  transition: var(--fast);
}
.step-item__num {
  font-family: var(--mono);
  font-size: var(--xs);
  color: var(--gray-80);
  letter-spacing: 0.08em;
  min-width: 22px;
  transition: color var(--base-t);
}
.step-item__name {
  font-size: var(--base);
  font-weight: var(--med);
  color: var(--gray-40);
  transition: color var(--base-t);
}
.step-item:hover .step-item__num { color: var(--white); }
.step-item:hover .step-item__name { color: var(--white); }

/* ============================================
   CLIENT TILES
   ============================================ */
.client-tiles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 56px;
}
.client-tile {
  border-left: 1px solid var(--gray-80);
  padding-left: 24px;
}
.client-tile__title {
  font-size: var(--sm);
  font-weight: var(--med);
  color: var(--white);
  margin-bottom: 10px;
}
.client-tile__body {
  font-size: 15px;
  color: var(--gray-40);
  line-height: 1.6;
}

/* ============================================
   AI EDGE SECTION
   ============================================ */
.ai-edge {
  text-align: center;
  max-width: 660px;
  margin: 0 auto;
}
.ai-edge .h2 { margin: 16px 0 20px; }
.ai-edge p { color: var(--gray-40); font-size: var(--lg); }

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
  text-align: center;
  max-width: 560px;
  margin: 0 auto;
}
.cta-section .h1 { margin-bottom: 20px; }
.cta-section p { color: var(--gray-40); font-size: var(--lg); margin-bottom: 40px; }
.cta-section__email {
  display: block;
  margin-top: 20px;
  font-size: var(--xs);
  color: var(--gray-70);
  font-family: var(--mono);
  letter-spacing: 0.06em;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  border-top: 1px solid var(--gray-90);
  padding: 64px 0 40px;
  background: var(--black);
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 64px;
  margin-bottom: 56px;
}
.footer__brand .nav__logo {
  margin-bottom: 16px;
  display: inline-flex;
}
.footer__brand .nav__logo-img {
  height: 56px;
  width: auto;
}
.footer__tagline {
  font-size: var(--sm);
  color: var(--gray-70);
  line-height: 1.6;
}
.footer__heading {
  font-size: var(--xs);
  font-weight: var(--med);
  color: var(--gray-40);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.footer__links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer__link {
  font-size: var(--sm);
  color: var(--gray-40);
  transition: color var(--fast);
}
.footer__link:hover { color: var(--white); }
.footer__contact p {
  font-size: var(--sm);
  color: var(--gray-40);
  margin-bottom: 8px;
}
.footer__bottom {
  border-top: 1px solid var(--gray-90);
  padding-top: 24px;
  font-size: 12px;
  color: var(--gray-70);
  font-family: var(--mono);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.footer__legal {
  letter-spacing: 0.02em;
}
.footer__signoff {
  letter-spacing: 0.16em;
  color: var(--gray-40);
  font-variant-numeric: tabular-nums;
  text-transform: uppercase;
  font-size: 11px;
}

/* ============================================
   ABOUT PAGE — BELIEF STATEMENTS
   ============================================ */
.beliefs {
  display: flex;
  flex-direction: column;
  gap: 80px;
  max-width: 860px;
}
.belief {
  font-size: clamp(20px, 2.8vw, 30px);
  font-weight: var(--bold);
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: rgba(250,250,250,0.15);
  transition: color 0.4s ease;
}
.belief.visible { color: var(--white); }

/* Engagement models */
.engage-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.engage-card {
  background: var(--gray-90);
  border: 1px solid var(--gray-80);
  border-radius: 8px;
  padding: 32px;
}
.engage-card__title {
  font-size: var(--h4);
  font-weight: var(--bold);
  margin-bottom: 12px;
}
.engage-card__body {
  font-size: 15px;
  color: var(--gray-40);
  line-height: 1.65;
}

/* ============================================
   METHOD PAGE — HORIZONTAL FLOW MAP + STEPS
   ============================================ */
@property --lit {
  syntax: '<number>';
  inherits: false;
  initial-value: 0;
}
.flow-map--horizontal {
  position: sticky;
  top: var(--nav-h);
  z-index: 20;
  background: rgba(15, 15, 15, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  /* Stretch the backdrop full container width */
  margin: 0 calc(var(--gutter) * -1);
  padding: 28px var(--gutter) 32px;
  border-bottom: 1px solid rgba(250, 250, 250, 0.05);
}
.flow-map__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 28px;
  font-family: var(--mono);
}
.flow-map__title {
  font-size: var(--xs);
  letter-spacing: 0.14em;
  color: var(--gray-40);
  text-transform: uppercase;
}
.flow-map__progress {
  font-size: var(--xs);
  letter-spacing: 0.14em;
  color: var(--gray-70);
  font-variant-numeric: tabular-nums;
}
.flow-map--horizontal .flow-map__track {
  position: relative;
}
.flow-map--horizontal .flow-map__line {
  position: absolute;
  /* Align with the green-light center on the signals: signal height 56, green at y≈39, so 39px from top of signal */
  top: 39px;
  left: 15px;
  right: 15px;
  height: 1px;
  background: rgba(250, 250, 250, 0.08);
  z-index: 0;
}
.flow-map__cursor {
  position: absolute;
  top: calc(39px - 4px);
  left: 15px;          /* baseline; transformed via inline style */
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 14px rgba(24, 177, 133, 0.65),
              0 0 4px rgba(24, 177, 133, 0.9);
  transform: translateX(-50%);
  transition: left 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
  z-index: 2;
  pointer-events: none;
}
.flow-map--horizontal .flow-map__row {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}
.flow-map--horizontal .flow-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  flex-shrink: 0;
  width: 30px;
  text-align: center;
  --lit: 0;
  transition: --lit 0.3s ease;
}
.flow-map--horizontal .flow-node .signal__svg {
  width: 30px;
  height: 56px;
  color: rgba(250, 250, 250, 0.22);
  transition: color 0.3s ease;
  display: block;
  overflow: visible;
}
.flow-map--horizontal .flow-node .flow-light {
  fill: transparent;
  stroke: currentColor;
  stroke-width: 1;
  transition: fill 0.25s ease, stroke 0.25s ease, filter 0.25s ease;
}
.flow-map--horizontal .flow-node .flow-light--green {
  fill: rgba(24, 177, 133, var(--lit));
  stroke: rgba(24, 177, 133, calc(0.4 + 0.6 * var(--lit)));
  filter: drop-shadow(0 0 calc(5px * var(--lit)) rgba(24, 177, 133, calc(0.65 * var(--lit))));
}
.flow-map--horizontal .flow-node[data-lit] {
  color: rgba(250, 250, 250, 0.34);
}
.flow-map--horizontal .flow-node__num {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: var(--bold);
  letter-spacing: 0.08em;
  color: var(--gray-70);
  margin-top: 14px;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.flow-map--horizontal .flow-node[data-lit] .flow-node__num {
  color: var(--white);
}
.flow-map--horizontal .flow-node__label {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--gray-70);
  letter-spacing: 0.04em;
  margin-top: 6px;
  line-height: 1.35;
  white-space: normal;
  width: 88px;        /* readable wrap width */
  text-align: center;
  transition: color 0.3s ease;
}
.flow-map--horizontal .flow-node[data-lit] .flow-node__label {
  color: var(--gray-40);
}
.flow-map--horizontal .flow-node[data-active] .flow-node__label {
  color: var(--white);
}

@media (max-width: 768px) {
  .flow-map--horizontal {
    padding: 16px var(--gutter) 18px;
  }
  .flow-map__head { margin-bottom: 16px; }
  .flow-map--horizontal .flow-node .signal__svg,
  .flow-map--horizontal .flow-node__num,
  .flow-map--horizontal .flow-node__label {
    display: none;
  }
  .flow-map--horizontal .flow-map__track {
    height: 4px;
    padding: 0;
  }
  .flow-map--horizontal .flow-map__line {
    top: 1px;
    left: 0;
    right: 0;
    height: 2px;
    border-radius: 1px;
    background: rgba(250, 250, 250, 0.08);
  }
  .flow-map__cursor {
    top: -1px;
    width: 6px;
    height: 6px;
    box-shadow: 0 0 8px rgba(24, 177, 133, 0.7);
  }
  .flow-map--horizontal .flow-map__row { display: none; }
}

.step-stack {
  margin-top: 56px;
}

.step-section {
  padding: 80px 0;
  border-bottom: 1px solid var(--gray-90);
}
.step-section:last-child { border-bottom: none; }
.step-section__num {
  font-family: var(--mono);
  font-size: clamp(80px, 12vw, 140px);
  font-weight: var(--bold);
  color: rgba(255,255,255,0.04);
  line-height: 1;
  margin-bottom: -20px;
  letter-spacing: -0.04em;
  user-select: none;
}
.step-section__label { margin-bottom: 16px; }
.step-section__headline {
  font-size: var(--h2);
  font-weight: var(--bold);
  letter-spacing: -0.025em;
  line-height: 1.15;
  margin-bottom: 24px;
}
.step-section__body {
  font-size: var(--lg);
  color: var(--gray-40);
  line-height: 1.7;
  max-width: 580px;
}
.step-outcome {
  margin-top: 40px;
  background: var(--gray-90);
  border-left: 2px solid var(--green);
  padding: 24px 28px;
  border-radius: 0 4px 4px 0;
}
.step-outcome__label {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--green);
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}
.step-outcome__text {
  font-size: var(--base);
  color: var(--white);
  line-height: 1.6;
}

/* AI Accelerator */
.ai-caps {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 48px;
}
.ai-cap {
  background: var(--gray-90);
  border: 1px solid var(--gray-80);
  border-radius: 8px;
  padding: 28px;
}
.ai-cap__title {
  font-size: var(--sm);
  font-weight: var(--bold);
  color: var(--white);
  margin-bottom: 10px;
}
.ai-cap__body {
  font-size: 14px;
  color: var(--gray-40);
  line-height: 1.65;
}

/* ============================================
   SERVICES PAGE — editorial spread
   ============================================ */
.service-section {
  padding: var(--pad) 0;
  position: relative;
  overflow: hidden;
}
/* Decorative oversized service number anchored top-right */
.service-section__num {
  position: absolute;
  top: 24px;
  right: var(--gutter);
  font-family: var(--mono);
  font-size: clamp(72px, 13vw, 180px);
  font-weight: var(--bold);
  letter-spacing: -0.04em;
  color: rgba(250, 250, 250, 0.035);
  line-height: 0.85;
  pointer-events: none;
  user-select: none;
  z-index: 0;
}
.service-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 88px;
  align-items: start;
  position: relative;
  z-index: 1;
}
.service-layout__left { }
.service-layout__right { padding-top: 4px; }
.service-layout__headline {
  font-size: var(--h2);
  font-weight: var(--bold);
  letter-spacing: -0.025em;
  margin: 18px 0 28px;
  line-height: 1.12;
}
.service-layout__body {
  font-size: var(--lg);
  color: var(--gray-40);
  line-height: 1.7;
  max-width: 56ch;
}
.service-includes { margin-top: 8px; }
.service-includes__title,
.service-for__title {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: var(--med);
  color: var(--gray-40);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.service-includes__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.service-includes__item {
  display: flex;
  gap: 14px;
  font-size: 15px;
  color: var(--gray-40);
  line-height: 1.5;
}
.service-includes__item::before {
  content: '—';
  color: var(--gray-70);
  flex-shrink: 0;
  font-family: var(--mono);
}
/* "Who this is for" — flat callout, left-rule, no card */
.service-for {
  margin-top: 48px;
  padding: 4px 0 4px 20px;
  border-left: 1px solid var(--gray-80);
  background: transparent;
  border-radius: 0;
}
.service-for__body {
  font-size: 14px;
  color: var(--gray-40);
  line-height: 1.65;
}

/* ============================================
   WORK PAGE
   ============================================ */
.work-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 56px;
}
.work-card {
  background: var(--gray-90);
  border: 1px solid var(--gray-80);
  border-radius: 8px;
  padding: 40px;
  transition: border-color var(--base-t), box-shadow var(--base-t);
}
.work-card:hover {
  border-color: var(--gray-70);
  box-shadow: 0 8px 40px rgba(0,0,0,0.4);
}
.work-card__icon {
  width: 22px;
  height: 22px;
  margin-bottom: 20px;
  color: var(--gray-40);
}
.work-card__icon svg { width: 100%; height: 100%; }
.work-card__type {
  font-family: var(--mono);
  font-size: var(--xs);
  color: var(--gray-40);
  letter-spacing: 0.1em;
  margin-bottom: 20px;
}
.work-card__client {
  font-size: var(--sm);
  color: var(--gray-40);
  margin-bottom: 20px;
}
.work-card__situation { margin-bottom: 16px; }
.work-card__situation strong {
  display: block;
  font-size: var(--xs);
  color: var(--gray-40);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.work-card__situation p {
  font-size: 15px;
  color: var(--gray-40);
  line-height: 1.6;
}
.work-card__outcome {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--gray-80);
  font-size: 15px;
  color: var(--white);
  line-height: 1.6;
}

/* ============================================
   CONTACT PAGE
   ============================================ */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: start;
}
.contact-layout__left p {
  font-size: var(--lg);
  color: var(--gray-40);
  margin-top: 20px;
  line-height: 1.7;
}
.contact-direct {
  margin-top: 48px;
}
.contact-direct__label {
  font-size: var(--xs);
  color: var(--gray-70);
  font-family: var(--mono);
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}
.contact-direct__email {
  font-size: var(--lg);
  font-weight: var(--med);
  color: var(--white);
  transition: color var(--fast);
}
.contact-direct__email:hover { color: var(--green); }

.form { display: flex; flex-direction: column; gap: 20px; }
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-group label {
  font-size: var(--xs);
  font-weight: var(--med);
  color: var(--gray-40);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.form-group input,
.form-group textarea,
.form-group select {
  background: var(--gray-90);
  border: 1px solid var(--gray-80);
  border-radius: 4px;
  padding: 14px 16px;
  color: var(--white);
  font-size: var(--base);
  transition: border-color var(--fast);
  resize: vertical;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--green);
}
.form-group textarea { min-height: 140px; }
.form-note {
  font-size: 13px;
  color: var(--gray-70);
  font-family: var(--mono);
}
.form__success {
  display: none;
  padding: 24px;
  background: rgba(24,177,133,0.08);
  border: 1px solid rgba(24,177,133,0.2);
  border-radius: 8px;
  font-size: var(--base);
  color: var(--white);
}
.form__error {
  display: none;
  padding: 14px 18px;
  background: rgba(255, 59, 48, 0.08);
  border: 1px solid rgba(255, 59, 48, 0.25);
  border-radius: 4px;
  font-size: 14px;
  color: rgba(255, 121, 113, 1);
  margin: 0;
}
/* Honeypot — visually & functionally hidden, but still posted */
.form-honeypot {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ============================================
   404 PAGE
   ============================================ */
.not-found {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.not-found__bg {
  position: absolute;
  font-family: var(--mono);
  font-size: clamp(160px, 25vw, 300px);
  font-weight: var(--bold);
  color: rgba(255,255,255,0.025);
  user-select: none;
  letter-spacing: -0.04em;
}
.not-found__content {
  position: relative;
  z-index: 1;
}
.not-found__content .h1 { margin: 16px 0 20px; }
.not-found__content p { color: var(--gray-40); font-size: var(--lg); margin-bottom: 40px; }

/* ============================================
   SCROLL ANIMATIONS
   ============================================ */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: none;
}
.fade-up.delay-1 { transition-delay: 0.1s; }
.fade-up.delay-2 { transition-delay: 0.2s; }
.fade-up.delay-3 { transition-delay: 0.3s; }
.fade-up.delay-4 { transition-delay: 0.4s; }

@keyframes fadeUp {
  to { opacity: 1; transform: none; }
}
@keyframes fadeIn {
  to { opacity: 1; }
}

/* ============================================
   DIVIDERS + UTILITY
   ============================================ */
.divider {
  border: none;
  border-top: 1px solid var(--gray-90);
  margin: 0;
}
.mt-label { margin-top: 48px; }
.mt-content { margin-top: 24px; }
.intro-text {
  font-size: var(--lg);
  color: var(--gray-40);
  max-width: 540px;
  margin-top: 20px;
  line-height: 1.7;
}
.spacer-s { height: 40px; }
.spacer-m { height: 80px; }

/* ============================================
   SCROLL HAIRLINE — right-edge progress indicator
   ============================================ */
.scroll-rail {
  position: fixed;
  top: var(--nav-h);
  right: 0;
  width: 1px;
  height: calc(100vh - var(--nav-h));
  background: rgba(250, 250, 250, 0.04);
  z-index: 50;
  pointer-events: none;
}
.scroll-rail__fill {
  width: 100%;
  height: 100%;
  background: var(--green);
  opacity: 0.55;
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.08s linear;
  box-shadow: 0 0 6px rgba(24, 177, 133, 0.4);
}
@media (max-width: 640px) {
  .scroll-rail { display: none; }
}

/* ============================================
   GREEN-WAVE HERO — row of 5 stoplight signals
   ============================================ */
.green-wave {
  display: flex;
  align-items: center;
  gap: clamp(28px, 5vw, 64px);
  margin-bottom: 56px;
  pointer-events: none;
}
.signal {
  flex: 0 0 auto;
  width: 30px;
  height: 56px;
  color: rgba(250, 250, 250, 0.18);
  transition: color 0.4s ease;
  will-change: color;
}
.signal__svg {
  width: 100%;
  height: 100%;
  display: block;
  overflow: visible;
}
.signal__light {
  fill: transparent;
  stroke: currentColor;
  stroke-width: 1;
  transition: fill 0.18s ease, stroke 0.18s ease, filter 0.18s ease;
}
.signal.lit-red .signal__light--red {
  fill: #FF3B30;
  stroke: #FF3B30;
  filter: drop-shadow(0 0 4px rgba(255, 59, 48, 0.6));
}
.signal.lit-yellow .signal__light--yellow {
  fill: #FFC107;
  stroke: #FFC107;
  filter: drop-shadow(0 0 4px rgba(255, 193, 7, 0.6));
}
.signal.lit-green .signal__light--green {
  fill: var(--green);
  stroke: var(--green);
  filter: drop-shadow(0 0 5px rgba(24, 177, 133, 0.7));
}
.signal.lit-green {
  color: rgba(250, 250, 250, 0.34);
}
@media (max-width: 768px) {
  .green-wave { gap: 24px; margin-bottom: 40px; }
  .signal { width: 22px; height: 42px; }
}

/* ============================================
   KINETIC HEADLINE — character weight ripple
   ============================================ */
.hero__headline[data-kinetic] {
  /* Disable the default block fade-up from animation rules below */
  opacity: 1 !important;
  animation: none !important;
}
.kchar {
  display: inline-block;
  opacity: 0;
  font-weight: var(--light);
  transform: translateY(8px) scaleY(0.78);
  transform-origin: 50% 100%;
  transition:
    opacity 0.35s ease,
    transform 0.45s cubic-bezier(0.2, 0.7, 0.2, 1),
    font-weight 0.25s ease;
  will-change: opacity, transform, font-weight;
}
.kchar.lit {
  opacity: 1;
  font-weight: var(--bold);
  transform: none;
}

/* ============================================
   SPEEDOMETER (nav-embedded)
   ============================================ */
.nav__brand-group {
  display: flex;
  align-items: center;
  gap: 18px;
}
.speedo {
  position: relative;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  pointer-events: none;
  user-select: none;
  flex-shrink: 0;
  opacity: 0;
  transition: opacity 0.5s ease;
}
.speedo.ready { opacity: 1; }
.speedo__dial {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}
.speedo__arc-bg,
.speedo__arc-fill {
  fill: none;
  stroke-linecap: round;
  stroke-width: 2;
}
.speedo__arc-bg {
  stroke: rgba(250, 250, 250, 0.10);
}
.speedo__arc-fill {
  stroke: rgba(250, 250, 250, 0.62);
  transition: stroke 0.25s ease;
}
.speedo__tick {
  stroke: rgba(250, 250, 250, 0.45);
  stroke-width: 2;
  stroke-linecap: round;
  transition: stroke 0.25s ease;
}
.speedo.in-flow .speedo__arc-fill,
.speedo.in-flow .speedo__tick {
  stroke: var(--green);
}
.speedo__num {
  position: relative;
  z-index: 1;
  font-family: var(--mono);
  font-size: 13px;
  font-weight: var(--bold);
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
  color: var(--white);
  line-height: 1;
  transition: color 0.25s ease;
}
.speedo.in-flow .speedo__num {
  color: var(--green);
}
@media (max-width: 768px) {
  .speedo { display: none; }
  .nav__brand-group { gap: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .speedo { transition: opacity 0.3s ease; }
  .speedo__arc-fill,
  .speedo__tick,
  .speedo__num { transition: none; }
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1100px) {
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .method-teaser { grid-template-columns: 1fr; gap: 48px; }
  .service-layout { grid-template-columns: 1fr; gap: 40px; }
  .contact-layout { grid-template-columns: 1fr; gap: 48px; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 48px; }
  .footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 768px) {
  :root {
    --pad: 80px;
    --gutter: 24px;
  }
  .nav__links { display: none; }
  .nav__hamburger { display: flex; }
  .nav__overlay { display: flex; }
  .cards-grid { grid-template-columns: 1fr; }
  .client-tiles { grid-template-columns: 1fr; gap: 32px; }
  .engage-grid { grid-template-columns: 1fr; }
  .ai-caps { grid-template-columns: 1fr; }
  .work-grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 40px; }
  .footer__brand { grid-column: auto; }
  .beliefs { gap: 48px; }
}
@media (prefers-reduced-motion: reduce) {
  .fade-up, .hero__eyebrow, .hero__headline, .hero__sub, .hero__cta, .hero__scroll {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
    transition: none !important;
  }
  .belief { color: var(--white) !important; transition: none !important; }
  .flow-node__dot { transition: none !important; }
}
