:root {
  --ink: #0b0e11;
  --ink-2: #14181d;
  --ink-3: #1e242b;
  --paper: #f2f3f1;
  --paper-2: #e3e6e2;
  --white: #ffffff;
  --slate: #3f6d8c;
  --slate-lift: #4e82a4;
  --mist: #a8c4d6;
  --dim-on-dark: #9aa4ad;
  --dim-on-light: #59636d;
  --rule-dark: #252c34;
  --rule-light: #d2d6d1;
  --display: 'Lexend', system-ui, sans-serif;
  --body: 'Instrument Sans', system-ui, sans-serif;
  --gutter: clamp(1.25rem, 5vw, 5rem);
  --max-width: 77.5rem;
  --radius: 0.75rem;
  --shadow: 0 1.5rem 4rem rgba(11, 14, 17, 0.08);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  min-width: 20rem;
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body,
button,
input,
textarea,
select {
  font-family: var(--body);
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

button {
  color: inherit;
}

p,
h1,
h2,
h3,
h4,
ul,
ol,
dl {
  margin-top: 0;
}

p:last-child,
ul:last-child,
ol:last-child,
dl:last-child {
  margin-bottom: 0;
}

:focus-visible {
  outline: 2px solid var(--mist);
  outline-offset: 3px;
  border-radius: 2px;
}

#main-content {
  display: block;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.65rem 1rem;
  border-radius: 0.4rem;
  background: var(--paper);
  color: var(--ink);
  transform: translateY(-200%);
}

.skip-link:focus {
  transform: translateY(0);
}

h1,
h2,
h3,
h4,
.display-type {
  margin-bottom: 0;
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.06;
}

h1 {
  font-size: clamp(2.5rem, 5.9vw, 4.7rem);
  letter-spacing: -0.045em;
}

h2 {
  font-size: clamp(2rem, 4.2vw, 3.2rem);
  letter-spacing: -0.04em;
}

h3 {
  font-size: clamp(1.2rem, 1.9vw, 1.55rem);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.2;
}

h4 {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.eyebrow,
.phase-tag,
.meta,
.role {
  color: var(--slate);
  font-family: var(--body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  line-height: 1.4;
  text-transform: uppercase;
}

.lead {
  max-width: 60ch;
  margin-bottom: 0;
  color: var(--dim-on-dark);
  font-size: clamp(1.06rem, 1.5vw, 1.28rem);
  line-height: 1.58;
}

.on-light .lead {
  color: var(--dim-on-light);
}

.on-dark .eyebrow,
.on-dark .phase-tag,
.on-dark .meta,
.on-dark .role,
.site-footer h2 {
  color: var(--mist);
}

.on-dark .lead strong {
  color: var(--paper);
}

.contact-prompt {
  align-self: start;
  padding: clamp(1.5rem, 3vw, 2rem);
  border: 1px solid var(--rule-dark);
  border-radius: var(--radius);
}

.wrap {
  width: 100%;
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.band,
.hero {
  padding-block: clamp(4.5rem, 10vw, 8.75rem);
}

.band.tight {
  padding-block: clamp(3.5rem, 7vw, 6rem);
}

.hero {
  position: relative;
  overflow: hidden;
  padding-top: clamp(4rem, 9vw, 7.5rem);
  padding-bottom: clamp(3rem, 7vw, 5.5rem);
}

.hero::after {
  position: absolute;
  z-index: -1;
  top: -18rem;
  right: -14rem;
  width: 38rem;
  height: 38rem;
  border: 1px solid rgba(168, 196, 214, 0.12);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(63, 109, 140, 0.14), transparent 68%);
  content: '';
}

.on-dark {
  background: var(--ink);
  color: var(--paper);
}

.on-light {
  background: var(--paper);
  color: var(--ink);
}

.surface-muted {
  background: var(--paper-2);
}

.mt-s {
  margin-top: 0.875rem;
}

.mt-m {
  margin-top: 1.625rem;
}

.mt-l {
  margin-top: clamp(2.25rem, 5vw, 4rem);
}

.measure-14 {
  max-width: 14ch;
}

.measure-15 {
  max-width: 15ch;
}

.measure-16 {
  max-width: 16ch;
}

.measure-18 {
  max-width: 18ch;
}

p.measure-14,
p.measure-15,
p.measure-16,
p.measure-18,
.lead.measure-14,
.lead.measure-15,
.lead.measure-16,
.lead.measure-18 {
  max-width: 62ch;
}

.grid-2,
.grid-3 {
  display: grid;
  align-items: stretch;
}

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.75rem, 4vw, 3.5rem);
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.5rem, 3vw, 2.75rem);
}

.site-nav {
  position: sticky;
  z-index: 100;
  top: 0;
  border-bottom: 1px solid var(--rule-dark);
  background: rgba(11, 14, 17, 0.88);
  backdrop-filter: blur(14px);
}

.nav-inner {
  display: flex;
  align-items: center;
  width: 100%;
  max-width: var(--max-width);
  min-height: 4.25rem;
  margin-inline: auto;
  padding: 0.75rem var(--gutter);
  gap: 1.75rem;
}

.brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--display);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 0.45rem;
  background: var(--mist);
}

.brand-mark::after {
  width: 0.7rem;
  height: 0.7rem;
  background: var(--ink);
  clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%);
  content: '';
}

.nav-links {
  display: flex;
  align-items: center;
  margin-left: auto;
  gap: 0.25rem;
}

.nav-link {
  padding: 0.5rem 0.8rem;
  border-radius: 0.45rem;
  color: var(--dim-on-dark);
  font-size: 0.91rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 160ms ease, background 160ms ease;
}

.nav-link:hover,
.nav-link.router-link-active {
  background: var(--ink-3);
  color: var(--paper);
}

.nav-cta {
  margin-left: 0.45rem;
}

.nav-toggle {
  display: none;
  margin-left: auto;
  padding: 0.55rem 0.75rem;
  border: 1px solid var(--rule-dark);
  border-radius: 0.5rem;
  background: transparent;
  color: var(--paper);
  cursor: pointer;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.68rem 1.25rem;
  border: 1px solid transparent;
  border-radius: 0.5rem;
  cursor: pointer;
  font-size: 0.91rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

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

.btn-arrow {
  margin-left: 0.4em;
}

.btn-primary {
  background: var(--slate);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--slate-lift);
}

.btn-ghost {
  border-color: var(--rule-dark);
  background: transparent;
  color: var(--paper);
}

.btn-ghost:hover {
  border-color: var(--mist);
  color: var(--mist);
}

.on-light .btn-ghost {
  border-color: var(--rule-light);
  color: var(--ink);
}

.on-light .btn-ghost:hover {
  border-color: var(--slate);
  color: var(--slate);
}

.phase-strip,
.hero-actions,
.chip-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.phase-strip {
  margin-bottom: 1.9rem;
  gap: 0.65rem;
}

.phase-strip span {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.phase-strip .p {
  color: var(--mist);
}

.phase-strip .arrow {
  color: var(--slate);
}

.hero h1 {
  max-width: 17ch;
}

.hero .lead {
  max-width: 62ch;
}

.hero-actions {
  margin-top: 2.25rem;
  gap: 0.75rem;
}

.principals {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: clamp(3rem, 7vw, 5.25rem);
  padding-top: 1.9rem;
  border-top: 1px solid var(--rule-dark);
  gap: 1.625rem;
}

.principal {
  display: flex;
  align-items: flex-start;
  gap: 0.95rem;
}

.avatar {
  display: none;
  flex: 0 0 auto;
  place-items: center;
  width: 3.5rem;
  height: 3.5rem;
  overflow: hidden;
  border: 1px dashed var(--slate);
  border-radius: 50%;
  background: var(--ink-3);
  color: var(--mist);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
}

.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.nm {
  font-family: var(--display);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.bit {
  max-width: 34ch;
  margin-top: 0.2rem;
  color: var(--dim-on-dark);
  font-size: 0.88rem;
  line-height: 1.55;
}

.claim h3 {
  margin-bottom: 0.65rem;
}

.claim p {
  margin-bottom: 0;
  color: var(--dim-on-dark);
  font-size: 0.98rem;
}

.on-light .claim p {
  color: var(--dim-on-light);
}

.spine-layout {
  display: grid;
  grid-template-columns: 7.25rem minmax(0, 1fr);
  gap: clamp(1.75rem, 4vw, 4rem);
}

.spine {
  position: sticky;
  top: 7.5rem;
  display: flex;
  flex-direction: column;
  align-self: start;
  justify-content: space-between;
  width: 7.25rem;
  height: min(62vh, 32.5rem);
  padding-block: 0.4rem;
}

.spine::before {
  position: absolute;
  top: 0.75rem;
  bottom: 0.75rem;
  left: 0.69rem;
  width: 1px;
  background: var(--rule-light);
  content: '';
}

.on-dark .spine::before {
  background: var(--rule-dark);
}

.spine-node {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.spine-dot {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 1.45rem;
  height: 1.45rem;
  border: 1px solid var(--rule-light);
  border-radius: 50%;
  background: var(--paper);
}

.spine-dot::after {
  width: 0.44rem;
  height: 0.44rem;
  border-radius: 50%;
  background: var(--rule-light);
  content: '';
}

.spine-node.on .spine-dot {
  border-color: var(--slate);
  background: var(--slate);
}

.spine-node.on .spine-dot::after {
  background: var(--white);
}

.spine-label {
  color: var(--dim-on-light);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
}

.spine-node.on .spine-label {
  color: var(--slate);
}

.phase-block {
  scroll-margin-top: 6.5rem;
  padding-block: clamp(2.5rem, 6vw, 4.5rem);
  border-top: 1px solid var(--rule-light);
}

.phase-block:first-child {
  padding-top: 0;
  border-top: 0;
}

.phase-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  margin-bottom: 0.9rem;
  gap: 0.9rem;
}

.phase-block > p,
.phase-block .phase-copy {
  max-width: 68ch;
  margin-top: 0.75rem;
  margin-bottom: 0;
  color: var(--dim-on-light);
}

.chip-row {
  margin-top: 1.4rem;
  gap: 0.5rem;
}

.chip {
  padding: 0.36rem 0.75rem;
  border: 1px solid var(--rule-light);
  border-radius: 999px;
  color: var(--dim-on-light);
  font-size: 0.79rem;
  font-weight: 500;
  line-height: 1.35;
}

.dl {
  margin-bottom: 0;
  border-top: 1px solid var(--rule-dark);
}

.on-light .dl {
  border-top-color: var(--rule-light);
}

.dl-row {
  display: grid;
  grid-template-columns: minmax(9.5rem, 13.75rem) minmax(0, 1fr);
  padding-block: 1.4rem;
  border-bottom: 1px solid var(--rule-dark);
  gap: clamp(1rem, 3vw, 3rem);
}

.on-light .dl-row {
  border-bottom-color: var(--rule-light);
}

.dl-row dt {
  padding-top: 0.3rem;
  color: var(--slate);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.dl-row dd {
  margin: 0;
  color: var(--dim-on-dark);
  font-size: 1rem;
}

.on-light .dl-row dd {
  color: var(--dim-on-light);
}

.case {
  display: flex;
  flex-direction: column;
  padding: clamp(1.4rem, 3vw, 2rem);
  border: 1px solid var(--rule-light);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
  gap: 0.8rem;
  text-decoration: none;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.case:hover {
  border-color: var(--slate);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.case h3 {
  margin-top: 0.2rem;
}

.case p {
  margin-bottom: 0;
  color: var(--dim-on-light);
  font-size: 0.96rem;
}

.case .meta {
  color: var(--slate);
  font-family: var(--body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  line-height: 1.4;
  text-transform: uppercase;
}

.case .metric {
  margin-bottom: 0;
  color: var(--ink);
  font-family: var(--display);
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1;
}

.case .metric small {
  display: block;
  margin-top: 0.4375rem;
  color: var(--dim-on-light);
  font-family: var(--body);
  font-size: 0.65625rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  line-height: 1.4;
  text-transform: uppercase;
}

.result-card .meta {
  min-height: 2.016rem;
}

.result-card .metric {
  min-height: 4.18rem;
}

.current-project-card .project-link {
  margin-top: auto;
}

.current-project-card .claim h4 {
  margin-bottom: 0.5rem;
}

.bio {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
  gap: 1.625rem;
}

.portrait {
  width: 6rem;
  height: 6rem;
  overflow: hidden;
  border: 1px solid var(--rule-light);
  border-radius: 50%;
  background: var(--paper-2);
  object-fit: cover;
}

.bio h3 {
  margin-bottom: 0.2rem;
}

.bio .role {
  margin-bottom: 0.9rem;
  color: var(--slate);
  font-family: var(--body);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  line-height: 1.4;
  text-transform: uppercase;
}

.bio p {
  margin-bottom: 0.75rem;
  color: var(--dim-on-light);
  font-size: 1rem;
}

.bio .li {
  border-bottom: 1px solid transparent;
  color: var(--slate);
  font-family: var(--body);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: border-color 160ms ease;
}

.bio .li:hover {
  border-bottom-color: var(--slate);
}

.faq-section {
  background: var(--paper);
  color: var(--ink);
}

.faq-header {
  max-width: 48rem;
  margin-bottom: clamp(2rem, 5vw, 3.5rem);
}

.faq {
  max-width: 62rem;
  border-top: 1px solid var(--rule-light);
}

.faq details {
  border-bottom: 1px solid var(--rule-light);
}

.faq summary {
  position: relative;
  padding: 1.25rem 2.5rem 1.25rem 0;
  cursor: pointer;
  font-family: var(--display);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.35;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  position: absolute;
  top: 1.1rem;
  right: 0;
  color: var(--slate);
  content: '+';
  font-family: var(--body);
  font-size: 1.35rem;
  font-weight: 400;
}

.faq details[open] summary::after {
  content: '-';
}

.faq details p {
  max-width: 68ch;
  padding-bottom: 1.4rem;
  margin-bottom: 0;
  color: var(--dim-on-light);
  font-size: 1rem;
}

.cta {
  text-align: center;
}

.cta h2,
.cta .lead {
  margin-inline: auto;
}

.cta h2 {
  max-width: 20ch;
}

.cta .lead {
  margin-top: 1.1rem;
  text-align: center;
}

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

.home-contact-cta h2 {
  max-width: none;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  gap: 1px;
  list-style: none;
}

.contact-card {
  padding: 1.5rem;
  border: 1px solid var(--rule-light);
  background: var(--white);
}

.contact-card h3 {
  margin-bottom: 0.55rem;
}

.contact-card p {
  margin-bottom: 0.6rem;
  color: var(--dim-on-light);
  font-size: 0.92rem;
}

.text-link {
  color: var(--slate);
  font-weight: 600;
  text-underline-offset: 0.2em;
}

.legal {
  max-width: 52rem;
}

.v2-page.legal {
  max-width: none;
}

.legal > h1 {
  margin-bottom: 1.5rem;
}

.legal h2 {
  margin-top: 2.75rem;
  margin-bottom: 0.9rem;
  font-size: clamp(1.35rem, 3vw, 1.8rem);
}

.legal h3 {
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.legal p,
.legal li {
  color: var(--dim-on-light);
}

.legal a {
  color: var(--slate);
}

.page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(18rem, 0.8fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 5rem);
}

.page-hero-image {
  aspect-ratio: 1;
  width: 100%;
  border-radius: var(--radius);
  object-fit: cover;
  filter: saturate(0.75) contrast(1.03);
}

.site-footer {
  padding-block: clamp(3.25rem, 6vw, 4.75rem) 2.1rem;
  border-top: 1px solid var(--rule-dark);
  background: var(--ink);
  color: var(--paper);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: clamp(1.5rem, 3vw, 2.5rem);
}

.footer-grid h2 {
  margin-bottom: 0.9rem;
  color: var(--slate);
  font-family: var(--body);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.footer-grid ul {
  display: grid;
  margin: 0;
  padding: 0;
  gap: 0.55rem;
  list-style: none;
}

.footer-grid a:not(.brand) {
  color: var(--dim-on-dark);
  font-size: 0.93rem;
  text-decoration: none;
}

.footer-grid a:hover {
  color: var(--paper);
}

.footer-blurb {
  max-width: 36ch;
  margin-top: 1rem;
  color: var(--dim-on-dark);
  font-size: 0.9rem;
}

.footer-base {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-top: 2.75rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--rule-dark);
  color: var(--dim-on-dark);
  font-size: 0.82rem;
  gap: 1rem;
}

@media (max-width: 60rem) {
  .grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .spine-layout {
    grid-template-columns: 1fr;
  }

  .spine {
    display: none;
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 56.25rem) {
  .nav-links {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 0.6rem var(--gutter) 1.15rem;
    border-bottom: 1px solid var(--rule-dark);
    background: var(--ink-2);
    gap: 0.15rem;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-link {
    padding: 0.75rem 0.65rem;
    font-size: 1rem;
  }

  .nav-cta {
    align-self: flex-start;
    margin: 0.45rem 0 0;
  }

  .nav-toggle {
    display: inline-flex;
  }
}

@media (max-width: 47.9375rem) {
  .grid-2,
  .grid-3,
  .principals,
  .contact-grid,
  .page-hero-grid {
    grid-template-columns: 1fr;
  }

  .dl-row {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

  .bio {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 30rem) {
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .brand {
    font-size: 1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
