:root {
  /* Palette — corporate blue & white, friendly */
  --bg:        oklch(0.995 0.002 250);        /* near-white page */
  --bg-2:      oklch(0.975 0.008 245);        /* faint blue tint */
  --bg-3:      oklch(0.945 0.018 245);        /* stronger tint surface */
  --ink:       oklch(0.18 0.045 255);         /* deep navy — primary fg */
  --ink-2:     oklch(0.30 0.040 255);
  --ink-mute:  oklch(0.46 0.025 255);
  --ink-dim:   oklch(0.62 0.018 255);
  --line:      oklch(0.86 0.010 250);
  --line-soft: oklch(0.90 0.008 250);
  --blue:      oklch(0.52 0.18 250);          /* accent */
  --blue-2:    oklch(0.42 0.20 250);          /* deeper */
  --blue-deep: oklch(0.24 0.10 255);          /* for dark sections */
  --blue-ink:  oklch(0.16 0.08 255);          /* near-black navy */

  --sans: "Geist", "Inter", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --mono: "Geist Mono", "JetBrains Mono", ui-monospace, "SFMono-Regular", monospace;

  --container: 1360px;
  --gutter: clamp(20px, 4vw, 56px);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
::selection { background: var(--blue); color: #fff; }

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.section { padding: clamp(96px, 13vw, 160px) 0; position: relative; }
.section--tight { padding: clamp(64px, 8vw, 104px) 0; }
.section--tint { background: var(--bg-2); }
.section--dark { background: var(--blue-ink); color: oklch(0.96 0.008 240); }
.section--dark .h2 { color: #fff; }
.section--dark .eyebrow { color: oklch(0.78 0.10 240); }
.section--dark .eyebrow::before { background: oklch(0.78 0.10 240); }
.section--dark .lede { color: oklch(0.80 0.010 240); }

.divider { height: 1px; background: var(--line-soft); width: 100%; }

/* ---------- Type ---------- */
.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--blue);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 14px;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--blue);
  opacity: 0.7;
}
.eyebrow--plain::before { display: none; }

.display {
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 0.96;
  color: var(--ink);
  font-size: clamp(48px, 8.2vw, 132px);
  margin: 0;
  text-wrap: balance;
}
.display .accent { color: var(--blue); }
.display .mute   { color: var(--ink-dim); }

.h2 {
  font-weight: 500;
  font-size: clamp(34px, 4.8vw, 68px);
  line-height: 1.02;
  letter-spacing: -0.028em;
  margin: 0;
  text-wrap: balance;
}
.h2 .accent { color: var(--blue); }
.h2 .mute   { color: var(--ink-dim); }

.h3 {
  font-weight: 500;
  font-size: clamp(22px, 2.2vw, 30px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0;
}

.lede {
  font-weight: 400;
  font-size: clamp(16px, 1.2vw, 19px);
  line-height: 1.55;
  color: var(--ink-mute);
  max-width: 58ch;
  text-wrap: pretty;
}

.body-text {
  color: var(--ink-mute);
  font-size: 15.5px;
  line-height: 1.7;
  text-wrap: pretty;
}
.body-text p + p { margin-top: 1.1em; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 22px;
  font-family: var(--sans);
  font-size: 13px;
  letter-spacing: 0.02em;
  font-weight: 500;
  border: 1px solid var(--ink);
  color: var(--ink);
  background: transparent;
  transition: border-color 0.25s ease, color 0.25s ease, background 0.25s ease;
  border-radius: 0;
  cursor: pointer;
}
.btn:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.btn:hover .btn__arrow { transform: translate(3px, -3px); }

.btn--primary { background: var(--blue); color: #fff; border-color: var(--blue); }
.btn--primary:hover { background: var(--blue-2); border-color: var(--blue-2); color: #fff; }

.btn--ghost { border-color: var(--line); color: var(--ink); }
.btn--ghost:hover { border-color: var(--ink); background: transparent; color: var(--ink); }

.section--dark .btn { border-color: rgba(255,255,255,0.35); color: #fff; }
.section--dark .btn:hover { background: #fff; color: var(--blue-ink); border-color: #fff; }
.section--dark .btn--primary { background: #fff; color: var(--blue-ink); border-color: #fff; }
.section--dark .btn--primary:hover { background: var(--blue); color: #fff; border-color: var(--blue); }

/* Hero is dark — buttons need light treatment */
.hero .btn { border-color: rgba(255,255,255,0.4); color: #fff; background: transparent; }
.hero .btn:hover { background: #fff; color: var(--blue-ink); border-color: #fff; }
.hero .btn--primary { background: oklch(0.78 0.13 245); color: var(--blue-ink); border-color: oklch(0.78 0.13 245); font-weight: 600; }
.hero .btn--primary:hover { background: #fff; color: var(--blue-ink); border-color: #fff; }

.btn__arrow {
  display: inline-block;
  transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* ---------- Reveal (no JS, no animation — just visible) ---------- */
.reveal { opacity: 1; }

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 22px 0;
  background: transparent;
  transition: background 0.35s ease, backdrop-filter 0.35s ease, padding 0.35s ease, border-color 0.35s ease, color 0.35s ease;
  border-bottom: 1px solid transparent;
  color: var(--ink);
}
.nav.is-scrolled {
  background: oklch(0.995 0.002 250 / 0.78);
  backdrop-filter: blur(14px) saturate(160%);
  padding: 14px 0;
  border-bottom-color: var(--line-soft);
}
/* When over hero (dark), invert to light text */
.nav.is-on-dark { color: #fff; }
.nav.is-on-dark .nav__link { color: oklch(0.85 0.010 240); }
.nav.is-on-dark .nav__link:hover { color: #fff; }
.nav.is-on-dark .nav__cta { border-color: rgba(255,255,255,0.3); color: #fff; }
.nav.is-on-dark .nav__cta:hover { border-color: #fff; color: #fff; }
.nav.is-on-dark .brand__wordmark { color: #fff; }
.nav.is-on-dark.is-scrolled { background: oklch(0.16 0.08 255 / 0.78); border-bottom-color: rgba(255,255,255,0.08); }

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  color: inherit;
}
.brand__mark { width: 26px; height: 26px; flex-shrink: 0; }
.brand__wordmark {
  font-family: var(--sans);
  font-size: 16px;
  letter-spacing: -0.01em;
  font-weight: 600;
  color: var(--ink);
}
.brand__wordmark .dot { color: var(--blue); margin: 0 2px; }
.nav__links { display: flex; gap: 32px; align-items: center; }
.nav__link {
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-mute);
  position: relative;
  padding: 8px 0;
  transition: color 0.25s ease;
  cursor: pointer;
}
.nav__link:hover { color: var(--ink); }
.nav__link.is-active { color: var(--blue); }
.nav__link.is-active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 2px;
  height: 1px;
  background: var(--blue);
}
.nav__cta {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.05em;
  padding: 9px 14px;
  border: 1px solid var(--line);
  color: var(--ink);
  transition: border-color 0.25s ease, color 0.25s ease, background 0.25s ease;
  cursor: pointer;
}
.nav__cta:hover { border-color: var(--blue); color: var(--blue); }
.nav__burger { display: none; color: inherit; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 120px;
  padding-bottom: 80px;
  overflow: hidden;
  isolation: isolate;
  color: #fff;
  background: var(--blue-ink);
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(1200px 700px at 85% 22%, oklch(0.40 0.20 250 / 0.55), transparent 60%),
    radial-gradient(900px 600px at 5% 90%, oklch(0.28 0.16 260 / 0.5), transparent 55%),
    linear-gradient(180deg, var(--blue-ink) 0%, oklch(0.12 0.06 255) 100%);
}
.hero__grid-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 88px 88px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
  pointer-events: none;
}
.hero__content {
  display: flex;
  flex-direction: column;
  gap: 56px;
  width: 100%;
}
.hero__top {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 32px;
  flex-wrap: wrap;
}
.hero__index {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.05em;
  color: oklch(0.75 0.020 240);
  display: flex;
  align-items: center;
  gap: 14px;
}
.hero__index .dot {
  width: 6px; height: 6px;
  background: oklch(0.75 0.15 250);
  display: inline-block;
  border-radius: 50%;
  animation: dotPulse 2.6s ease-in-out infinite;
}
@keyframes dotPulse {
  0%, 100% { opacity: 0.4; transform: scale(0.85); }
  50% { opacity: 1; transform: scale(1); }
}

.hero__headline { color: #fff; max-width: 1280px; }
.hero__headline .accent { color: oklch(0.78 0.13 245); }

.hero__bottom {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: end;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.12);
}
.hero__ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.hero__verticals {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.05em;
  color: oklch(0.75 0.015 240);
}
.hero__verticals span { display: inline-flex; align-items: center; gap: 8px; }
.hero__verticals .num { color: oklch(0.78 0.13 245); }

.hero__scroll {
  position: absolute;
  right: var(--gutter);
  bottom: 36px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: oklch(0.70 0.015 240);
  display: flex;
  align-items: center;
  gap: 12px;
}
.hero__scroll-line {
  width: 1px;
  height: 36px;
  background: linear-gradient(180deg, oklch(0.78 0.13 245), transparent);
  animation: scrollPulse 2.6s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { transform: scaleY(0.35); transform-origin: top; opacity: 0.4; }
  50% { transform: scaleY(1); opacity: 1; }
}

/* ---------- Generic section header ---------- */
.section-head {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 40px;
  align-items: start;
  margin-bottom: 72px;
}
.section-head__label { padding-top: 6px; }
.section-head__title { max-width: 24ch; }

/* ---------- Thesis ---------- */
.thesis__body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(48px, 8vw, 120px);
}
.thesis__statement { color: var(--ink-mute); font-size: 16px; line-height: 1.75; max-width: 52ch; }
.thesis__statement p + p { margin-top: 1.1em; }
.thesis__quote {
  font-size: clamp(22px, 2.4vw, 32px);
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.022em;
  color: var(--ink);
  max-width: 28ch;
  text-wrap: balance;
}
.thesis__quote .accent { color: var(--blue); }

/* ---------- Nexus ---------- */
.nexus {
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  background: var(--bg);
}
.nexus__inner {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 48px;
  align-items: start;
}
.nexus__sectors {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.nexus__sectors li {
  list-style: none;
  font-size: clamp(48px, 8vw, 124px);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.05;
  color: var(--ink);
  padding: 6px 0;
  display: flex;
  align-items: baseline;
  gap: 28px;
  transition: color 0.3s ease, padding 0.3s ease;
}
.nexus__sectors li .num {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  color: var(--blue);
  letter-spacing: 0.05em;
  flex-shrink: 0;
  transform: translateY(-0.3em);
}
.nexus__sectors li:hover { color: var(--blue); padding-left: 12px; }

/* ---------- Verticals ---------- */
.verticals__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.vcard {
  position: relative;
  padding: 40px 36px 36px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  min-height: 460px;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 32px;
  transition: background 0.4s ease;
  overflow: hidden;
  isolation: isolate;
  background: var(--bg);
}
.vcard::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.5s ease;
  background: radial-gradient(500px 320px at var(--mx, 50%) var(--my, 50%),
                              oklch(0.93 0.05 250 / 0.7), transparent 60%);
}
.vcard:hover::before { opacity: 1; }
.vcard__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.05em;
  color: var(--ink-dim);
}
.vcard__top .num { color: var(--blue); }
.vcard__visual {
  width: 100%;
  height: 220px;
  position: relative;
  overflow: hidden;
  background: var(--bg-3);
  border: 1px solid var(--line-soft);
}
.vcard__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.vcard:hover .vcard__visual img { transform: scale(1.04); }
.vcard__visual svg { width: 100%; height: 100%; }
.vcard__title {
  font-weight: 500;
  font-size: clamp(22px, 2.0vw, 28px);
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0 0 14px;
  color: var(--ink);
}
.vcard__copy {
  color: var(--ink-mute);
  font-size: 14.5px;
  line-height: 1.7;
  max-width: 42ch;
}
.vcard__detail {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.05em;
  color: var(--ink-dim);
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  padding-top: 18px;
  border-top: 1px solid var(--line-soft);
  margin-top: 18px;
}
.vcard__detail .tag { color: var(--blue); }

/* ---------- Stats strip ---------- */
.stats {
  background: var(--blue);
  color: #fff;
}
.stats__inner {
  display: grid;
  grid-template-columns: 1.2fr repeat(3, 1fr);
  gap: 24px;
  align-items: center;
  padding: 72px 0;
}
.stats__lead {
  font-size: clamp(18px, 1.6vw, 22px);
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.018em;
  color: #fff;
  max-width: 24ch;
}
.stats__cell {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-left: 24px;
  border-left: 1px solid rgba(255,255,255,0.22);
}
.stats__num {
  font-size: clamp(36px, 4.4vw, 64px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.035em;
  color: #fff;
}
.stats__num .small { font-size: 0.55em; vertical-align: super; opacity: 0.85; margin-left: 2px; }
.stats__label {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.05em;
  color: rgba(255,255,255,0.78);
  max-width: 18ch;
  line-height: 1.5;
}

/* ---------- About ---------- */
.about__grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(56px, 8vw, 120px);
  align-items: start;
}
.about__copy { max-width: 54ch; }
.principles {
  list-style: none;
  padding: 0;
  margin: 0;
  border-top: 1px solid var(--line);
}
.principle {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 24px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line-soft);
  align-items: center;
  transition: padding 0.25s ease;
}
.principle:hover { padding-left: 8px; }
.principle__num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.05em;
  color: var(--blue);
}
.principle__label {
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.015em;
  color: var(--ink);
}
.offices {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.office {
  background: var(--bg);
  padding: 26px 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: background 0.25s ease;
}
.office:hover { background: var(--bg-2); }
.office__city {
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.office__meta {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.05em;
  color: var(--ink-dim);
}

/* ---------- Approach ---------- */
.approach__cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 72px;
  background: var(--line);
  border: 1px solid var(--line);
}
.approach__col {
  background: var(--bg);
  padding: 44px 36px 52px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  transition: background 0.3s ease;
}
.approach__col:hover { background: var(--bg-2); }
.approach__num {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--blue);
  letter-spacing: 0.05em;
}
.approach__title {
  font-weight: 500;
  font-size: clamp(22px, 2.2vw, 28px);
  letter-spacing: -0.022em;
  line-height: 1.15;
  margin: 0;
  color: var(--ink);
}
.approach__copy {
  color: var(--ink-mute);
  font-size: 15px;
  line-height: 1.7;
  max-width: 36ch;
}

/* ---------- CTA / Contact ---------- */
.cta {
  background: var(--blue-ink);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(900px 600px at 80% 20%, oklch(0.40 0.20 250 / 0.4), transparent 60%);
  pointer-events: none;
}
.cta > .container { position: relative; z-index: 1; }
.cta .h2 { color: #fff; }
.cta .h2 .accent { color: oklch(0.78 0.13 245); }
.cta .lede { color: oklch(0.82 0.010 240); }
.cta .eyebrow { color: oklch(0.78 0.13 245); }
.cta .eyebrow::before { background: oklch(0.78 0.13 245); }
.cta__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(56px, 8vw, 120px);
  align-items: center;
}
.contact-form { display: grid; gap: 22px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field__label {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.05em;
  color: oklch(0.72 0.015 240);
}
.cta .field input, .cta .field textarea, .cta .field select {
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(255,255,255,0.2);
  padding: 10px 0;
  color: #fff;
  font-family: var(--sans);
  font-size: 15px;
  outline: none;
  transition: border-color 0.25s ease;
  resize: none;
  border-radius: 0;
}
.cta .field input:focus, .cta .field textarea:focus, .cta .field select:focus {
  border-bottom-color: oklch(0.78 0.13 245);
}
.cta .field input::placeholder, .cta .field textarea::placeholder { color: oklch(0.65 0.015 240); }
.cta .field select option { background: var(--blue-ink); color: #fff; }
.form-status {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.05em;
  color: oklch(0.78 0.13 245);
  margin-top: 4px;
  min-height: 16px;
}
.cta .btn { border-color: rgba(255,255,255,0.4); color: #fff; }
.cta .btn:hover { background: #fff; color: var(--blue-ink); border-color: #fff; }
.cta .btn--primary { background: #fff; color: var(--blue-ink); border-color: #fff; }
.cta .btn--primary:hover { background: oklch(0.78 0.13 245); color: var(--blue-ink); border-color: oklch(0.78 0.13 245); }

/* ---------- Footer ---------- */
.footer {
  background: var(--bg);
  padding: 96px 0 32px;
  border-top: 1px solid var(--line-soft);
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 64px;
  border-bottom: 1px solid var(--line-soft);
}
.footer__col h4 {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.05em;
  color: var(--ink-dim);
  margin: 0 0 22px;
  font-weight: 500;
}
.footer__col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer__col li {
  color: var(--ink-mute);
  font-size: 14px;
  transition: color 0.2s ease;
  cursor: pointer;
}
.footer__col li:hover { color: var(--blue); }
.footer__list--static li { cursor: default; }
.footer__list--static li:hover { color: var(--ink-mute); }
.footer__lede {
  font-size: 17px;
  line-height: 1.5;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin: 22px 0 0;
  max-width: 28ch;
}
.footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding-top: 24px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.05em;
  color: var(--ink-dim);
  flex-wrap: wrap;
}
.social {
  display: inline-flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  transition: border-color 0.25s ease, color 0.25s ease;
  margin-left: 12px;
  color: var(--ink-mute);
}
.social:hover { border-color: var(--blue); color: var(--blue); }

/* ---------- Team page ---------- */
.team-hero {
  padding-top: 130px;
  padding-bottom: 80px;
  position: relative;
  border-bottom: 1px solid var(--line-soft);
  overflow: hidden;
  background: var(--bg-2);
}
.team-hero__grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: clamp(48px, 8vw, 120px);
  align-items: end;
}
.team-hero__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px 24px;
  padding-top: 36px;
  margin-top: 64px;
  border-top: 1px solid var(--line);
}
.stat__num {
  font-size: 56px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--ink);
  margin-bottom: 12px;
}
.stat__num .accent { color: var(--blue); }
.stat__label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.05em;
  color: var(--ink-dim);
  max-width: 22ch;
  line-height: 1.55;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px 28px;
  margin-top: 72px;
}
.member {
  display: flex;
  flex-direction: column;
  gap: 22px;
  cursor: pointer;
}
.member__portrait {
  position: relative;
  aspect-ratio: 4 / 5;
  background: var(--bg-3);
  overflow: hidden;
  border: 1px solid var(--line);
}
.member__portrait::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, oklch(0.20 0.06 255 / 0.18) 100%);
  pointer-events: none;
}
.member__portrait::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, oklch(0.85 0.010 250 / 0.5) 1px, transparent 1px),
    linear-gradient(to bottom, oklch(0.85 0.010 250 / 0.5) 1px, transparent 1px);
  background-size: 24px 24px;
}
.member__monogram {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 500;
  font-size: 180px;
  line-height: 1;
  letter-spacing: -0.06em;
  color: oklch(0.78 0.04 250 / 0.7);
  transition: color 0.4s ease, transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}
.member:hover .member__monogram {
  color: var(--blue);
  transform: scale(1.04);
}
.member__badge {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 2;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.05em;
  color: var(--blue);
  padding: 5px 10px;
  border: 1px solid var(--blue);
  background: oklch(0.99 0.005 250 / 0.85);
  backdrop-filter: blur(4px);
}
.member__meta {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 16px;
  padding-top: 18px;
  border-top: 1px solid var(--line-soft);
}
.member__name {
  font-size: 24px;
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.15;
  margin: 0 0 6px;
  color: var(--ink);
}
.member__title {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.05em;
  color: var(--blue);
}
.member__linkedin {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  transition: border-color 0.25s ease, color 0.25s ease;
  color: var(--ink-mute);
  flex-shrink: 0;
}
.member__linkedin:hover { color: var(--blue); border-color: var(--blue); }
.member__bio {
  color: var(--ink-mute);
  font-size: 14px;
  line-height: 1.7;
  max-width: 42ch;
}
.member__expand {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.05em;
  color: var(--blue);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  width: max-content;
}
.member__expand:hover { border-bottom-color: var(--blue); }

/* No-portrait card variant — text-only */
.member--no-portrait {
  padding: 32px 28px;
  border: 1px solid var(--line);
  background: var(--bg);
  transition: background 0.3s ease, border-color 0.3s ease;
}
.member--no-portrait:hover {
  background: var(--bg-2);
  border-color: var(--ink-dim);
}
.member__meta--top {
  border-top: 0;
  padding-top: 0;
  margin-bottom: 4px;
}
.member__badge--inline {
  position: static !important;
  display: inline-block;
  margin-bottom: 16px;
  background: transparent;
  backdrop-filter: none;
  padding: 4px 10px;
  border-color: var(--blue);
  white-space: nowrap;
  line-height: 1.4;
}

/* Modal */
.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: oklch(0.20 0.06 255 / 0.55);
  backdrop-filter: blur(8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.modal.is-open { opacity: 1; pointer-events: auto; }
.modal__panel {
  background: var(--bg);
  border: 1px solid var(--line);
  max-width: 720px;
  width: 100%;
  max-height: 86vh;
  overflow-y: auto;
  padding: 52px 52px 44px;
  position: relative;
  transform: translateY(16px);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  color: var(--ink);
}
.modal.is-open .modal__panel { transform: translateY(0); }
.modal__close {
  position: absolute;
  top: 18px; right: 18px;
  width: 38px; height: 38px;
  border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  color: var(--ink);
  transition: border-color 0.25s ease, color 0.25s ease;
}
.modal__close:hover { border-color: var(--blue); color: var(--blue); }
.modal__name {
  font-weight: 500;
  font-size: clamp(28px, 3.4vw, 44px);
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin: 0 0 8px;
  color: var(--ink);
}
.modal__title {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.05em;
  color: var(--blue);
}
.modal__body {
  margin-top: 28px;
  padding-top: 28px;
  border-top: 1px solid var(--line-soft);
  color: var(--ink-mute);
  line-height: 1.75;
  font-size: 15px;
}
.modal__body p + p { margin-top: 1.05em; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .nav__links { display: none; }
  .nav__burger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px; height: 40px;
    border: 1px solid var(--line);
  }
  .nav.is-on-dark .nav__burger { border-color: rgba(255,255,255,0.3); }
  .nav__cta { display: none; }
  .nav__menu-open .nav__links {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: oklch(0.995 0.002 250 / 0.98);
    backdrop-filter: blur(14px);
    padding: 22px var(--gutter) 28px;
    border-top: 1px solid var(--line-soft);
    border-bottom: 1px solid var(--line-soft);
    gap: 4px;
    align-items: stretch;
    color: var(--ink);
  }
  .nav__menu-open .nav__link {
    color: var(--ink);
    font-size: 17px;
    font-weight: 500;
    letter-spacing: -0.015em;
    padding: 12px 0;
    border-bottom: 1px solid var(--line-soft);
  }
  .nav__menu-open .nav__link:last-child { border-bottom: 0; }
  .nav__menu-open .nav__link:hover { color: var(--blue); }
  .nav.is-on-dark .nav__menu-open .nav__links { background: oklch(0.10 0.06 255 / 0.98); border-bottom-color: rgba(255,255,255,0.08); border-top-color: rgba(255,255,255,0.08); }
  .nav.is-on-dark .nav__menu-open .nav__link { color: #fff; border-bottom-color: rgba(255,255,255,0.10); }
  .nav.is-on-dark .nav__menu-open .nav__link:hover { color: oklch(0.78 0.13 245); }
  .hero { min-height: auto; padding-top: 140px; padding-bottom: 100px; }
  .hero__bottom { grid-template-columns: 1fr; }
  .hero__scroll { display: none; }
  .section-head { grid-template-columns: 1fr; gap: 16px; margin-bottom: 48px; }
  .thesis__body, .about__grid, .cta__grid, .team-hero__grid, .nexus__inner { grid-template-columns: 1fr; gap: 32px; }
  .verticals__grid { grid-template-columns: 1fr; }
  .vcard { min-height: auto; padding: 32px 24px; }
  .approach__cols { grid-template-columns: 1fr; margin-top: 48px; }
  .offices { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; gap: 56px; }
  .team-hero__stats { grid-template-columns: 1fr 1fr; gap: 24px 16px; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .modal__panel { padding: 40px 26px 32px; }
  .stats__inner { grid-template-columns: 1fr 1fr; padding: 56px 0; gap: 32px 24px; }
  .stats__lead { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px 24px; }
  .footer__col:first-child { grid-column: 1 / -1; }
  .stat__num { font-size: 42px; }
  .stats__inner { grid-template-columns: 1fr; }
  .stats__cell { padding-left: 0; border-left: 0; border-top: 1px solid rgba(255,255,255,0.22); padding-top: 24px; }
}
