:root {
  color-scheme: light;
  --ink: #182126;
  --ink-soft: #39464d;
  --steel: #65747b;
  --line: #d7ddde;
  --paper: #ffffff;
  --wash: #f1f4f3;
  --dark: #111a1f;
  --dark-soft: #1c282e;
  --accent: #99cc00;
  --accent-dark: #557400;
  --accent-light: #c9ed5d;
  --font-heading: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --shell: 1180px;
  --header-height: 76px;
  --shadow: 0 18px 48px rgb(7 20 24 / 12%);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 1rem);
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

body.dialog-open {
  overflow: hidden;
}

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

img {
  height: auto;
}

a {
  color: inherit;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

a:hover {
  text-decoration-color: var(--accent);
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid var(--accent-light);
  outline-offset: 4px;
}

h1,
h2,
h3,
p,
figure,
dl,
dd {
  margin-top: 0;
}

h1,
h2,
h3 {
  color: inherit;
  font-weight: 760;
  letter-spacing: -0.035em;
  line-height: 1.08;
}

h1 {
  max-width: 950px;
  margin-bottom: 1.25rem;
  font-size: clamp(2.65rem, 7vw, 6.8rem);
  line-height: 0.96;
}

h2 {
  margin-bottom: 1.25rem;
  font-size: clamp(2.15rem, 4.5vw, 4.75rem);
}

h3 {
  margin-bottom: 0.8rem;
  font-size: clamp(1.25rem, 2.2vw, 1.85rem);
}

p:last-child {
  margin-bottom: 0;
}

.shell {
  width: min(calc(100% - 2.5rem), var(--shell));
  margin-inline: auto;
}

.section {
  padding-block: clamp(5rem, 10vw, 9rem);
}

.section-heading {
  margin-bottom: clamp(2.8rem, 6vw, 5.5rem);
}

.section-heading > p,
.section-heading--split > p,
.mrf-intro > p {
  max-width: 680px;
  color: var(--ink-soft);
  font-size: clamp(1rem, 1.6vw, 1.24rem);
}

.section-heading--center {
  max-width: 820px;
  margin-inline: auto;
  text-align: center;
}

.section-heading--center > p:not(.eyebrow) {
  margin-inline: auto;
}

.section-heading--split {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.8fr);
  gap: clamp(2rem, 7vw, 6rem);
  align-items: end;
}

.eyebrow {
  display: inline-flex;
  width: fit-content;
  max-width: 100%;
  min-height: 32px;
  margin-bottom: 1rem;
  padding: 0.42rem 0.72rem;
  gap: 0.45rem;
  align-items: center;
  border: 1px solid rgb(89 126 0 / 34%);
  border-radius: 999px;
  background: rgb(153 204 0 / 13%);
  color: var(--accent-dark);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  line-height: 1.3;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.eyebrow > svg {
  width: 14px;
  height: 14px;
  flex: 0 0 14px;
  fill: none;
  stroke: currentcolor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.eyebrow--light {
  color: var(--accent-light);
  border-color: rgb(185 232 65 / 42%);
  background: rgb(153 204 0 / 12%);
}

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.65rem 0.9rem;
  transform: translateY(-160%);
  border: 2px solid var(--paper);
  background: var(--dark);
  color: var(--paper);
  font-weight: 800;
}

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

.site-header {
  position: absolute;
  z-index: 100;
  top: 0;
  right: 0;
  left: 0;
  min-height: var(--header-height);
  border-bottom: 0;
  color: var(--paper);
}

.site-header.is-scrolled {
  position: fixed;
  border-bottom: 1px solid rgb(255 255 255 / 18%);
  background: rgb(17 26 31 / 96%);
  box-shadow: 0 10px 30px rgb(0 0 0 / 18%);
  backdrop-filter: blur(10px);
}

.site-header.is-menu-open {
  background: var(--dark);
  box-shadow: 0 10px 30px rgb(0 0 0 / 18%);
}

.header-inner {
  display: grid;
  width: min(calc(100% - 2.5rem), 1380px);
  min-height: var(--header-height);
  margin-inline: auto;
  grid-template-columns: minmax(110px, 1fr) auto auto;
  gap: clamp(1rem, 3vw, 2.4rem);
  align-items: center;
}

.brand {
  display: inline-flex;
  min-width: 0;
  gap: 0.8rem;
  align-items: center;
  color: inherit;
  font-size: 0.83rem;
  font-weight: 820;
  letter-spacing: 0.075em;
  line-height: 1.2;
  text-decoration: none;
  text-transform: uppercase;
}

.brand img {
  width: 76px;
  height: auto;
  flex: 0 0 auto;
  object-fit: contain;
}

.primary-nav {
  display: flex;
  gap: clamp(0.8rem, 1.8vw, 1.7rem);
  align-items: center;
}

.primary-nav a {
  position: relative;
  padding-block: 1.75rem;
  color: rgb(255 255 255 / 82%);
  font-size: 0.72rem;
  font-weight: 760;
  letter-spacing: 0.095em;
  text-decoration: none;
  text-transform: uppercase;
}

.primary-nav a::after {
  position: absolute;
  right: 0;
  bottom: 1.25rem;
  left: 0;
  height: 2px;
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  background: var(--accent-light);
  transition: transform 160ms ease;
}

.primary-nav a:hover::after,
.primary-nav a[aria-current="location"]::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-call {
  display: inline-flex;
  min-height: 44px;
  padding: 0.7rem 1rem;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--accent-light);
  background: var(--accent);
  color: #071716;
  font-size: 0.75rem;
  font-weight: 850;
  letter-spacing: 0.05em;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 11px;
  border: 1px solid rgb(255 255 255 / 40%);
  border-radius: 0;
  background: transparent;
  color: var(--paper);
  cursor: pointer;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 100%;
  height: 2px;
  margin-block: 5px;
  background: currentColor;
  transition: transform 160ms ease, opacity 160ms ease;
}

.nav-toggle[aria-expanded="true"] span:nth-of-type(2) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-of-type(3) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-of-type(4) {
  transform: translateY(-7px) rotate(-45deg);
}

.hero {
  position: relative;
  display: grid;
  min-height: min(930px, 100svh);
  overflow: hidden;
  place-items: center;
  background: var(--dark);
  color: var(--paper);
}

.hero-media,
.hero-media img,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-media img {
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgb(7 13 16 / 91%) 0%, rgb(7 13 16 / 73%) 50%, rgb(7 13 16 / 28%) 100%),
    linear-gradient(180deg, rgb(7 13 16 / 42%) 0%, transparent 42%, rgb(7 13 16 / 38%) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-top: calc(var(--header-height) + clamp(4rem, 8vw, 8rem));
  padding-bottom: clamp(4rem, 8vw, 7rem);
}

.hero-lede {
  max-width: 730px;
  margin-bottom: 2.1rem;
  color: rgb(255 255 255 / 84%);
  font-size: clamp(1.06rem, 2vw, 1.35rem);
}

.hero-actions {
  display: flex;
  margin-bottom: 0;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  min-height: 50px;
  padding: 0.9rem 1.3rem;
  align-items: center;
  justify-content: center;
  border: 1px solid currentColor;
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.07em;
  line-height: 1;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
}

.button--accent {
  border-color: var(--accent);
  background: var(--accent);
  color: #071716;
}

.button--accent:hover,
.header-call:hover {
  border-color: var(--accent-light);
  background: var(--accent-light);
  text-decoration: none;
}

.button--outline {
  border-color: rgb(255 255 255 / 70%);
  background: rgb(12 24 28 / 28%);
  color: var(--paper);
}

.button--outline:hover {
  border-color: var(--paper);
  background: var(--paper);
  color: var(--ink);
  text-decoration: none;
}

.error-page {
  min-height: 100svh;
  background: var(--dark);
}

.error-page .error-header {
  border-bottom: 1px solid rgb(255 255 255 / 16%);
  background: rgb(17 26 31 / 94%);
}

.error-page .header-inner {
  grid-template-columns: minmax(110px, 1fr) auto;
}

.error-page .header-call {
  grid-column: 2;
}

.error-main {
  position: relative;
  display: grid;
  min-height: min(820px, 82svh);
  padding-top: calc(var(--header-height) + clamp(4rem, 10vw, 8rem));
  padding-bottom: clamp(4rem, 10vw, 8rem);
  place-items: center;
  overflow: hidden;
  background:
    linear-gradient(112deg, rgb(5 12 15 / 94%) 0%, rgb(17 30 35 / 92%) 57%, rgb(31 44 49 / 86%) 100%),
    repeating-linear-gradient(135deg, transparent 0 68px, rgb(255 255 255 / 4%) 68px 69px);
  color: var(--paper);
}

.error-main::before,
.error-main::after {
  position: absolute;
  width: 46vw;
  height: 1px;
  content: "";
  transform: rotate(-28deg);
  background: linear-gradient(90deg, transparent, rgb(153 204 0 / 45%), transparent);
}

.error-main::before {
  top: 19%;
  right: -8%;
}

.error-main::after {
  right: 9%;
  bottom: 14%;
}

.error-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.5rem, 3vw, 2.4rem);
  align-items: center;
  justify-items: center;
  text-align: center;
}

.error-code {
  margin: 0;
  color: transparent;
  font-size: clamp(8rem, 18vw, 15rem);
  font-weight: 900;
  letter-spacing: -0.1em;
  line-height: 0.72;
  -webkit-text-stroke: 2px rgb(201 237 93 / 72%);
  user-select: none;
}

.error-copy {
  max-width: 670px;
  margin-inline: auto;
}

.error-copy h1 {
  max-width: 650px;
  margin-bottom: 1.5rem;
  margin-inline: auto;
  font-size: clamp(2.8rem, 6vw, 5.6rem);
}

.error-copy > p:not(.eyebrow) {
  max-width: 610px;
  margin-bottom: 2rem;
  margin-inline: auto;
  color: rgb(255 255 255 / 78%);
  font-size: clamp(1.05rem, 1.8vw, 1.28rem);
}

.error-actions {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
  justify-content: center;
}

.error-copy .eyebrow {
  margin-inline: auto;
}

.error-copy .service-line {
  justify-content: center;
}

.error-footer {
  padding-block: 2rem;
  border-top: 1px solid rgb(255 255 255 / 12%);
  background: #0a1013;
  color: rgb(255 255 255 / 68%);
}

.error-footer-inner,
.error-footer nav {
  display: flex;
  gap: 1rem 1.5rem;
  align-items: center;
  flex-wrap: wrap;
}

.error-footer-inner {
  justify-content: space-between;
}

.error-footer p {
  margin: 0;
}

.error-footer strong {
  color: var(--paper);
}

.error-footer a {
  color: rgb(255 255 255 / 76%);
  text-decoration: none;
}

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

.service-line {
  display: flex;
  margin-top: 2.25rem;
  gap: 0.7rem 1.5rem;
  align-items: center;
  flex-wrap: wrap;
  color: rgb(255 255 255 / 68%);
  font-size: 0.83rem;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.service-line .service-item {
  display: inline-flex;
  gap: 0.5rem;
  align-items: center;
}

.service-line .service-item::before {
  color: var(--accent);
  content: "✓";
  font-size: 1.05em;
  font-weight: 900;
  line-height: 1;
}


.client-strip {
  position: relative;
  z-index: 3;
  background: var(--ink);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.client-strip__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 1.05rem 0;
}

.client-strip__label {
  margin: 0;
  color: rgba(255, 255, 255, 0.66);
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.client-strip__logos {
  --client-logo-gap: clamp(1.25rem, 3vw, 3rem);
  --client-logo-duration: 24s;
  inline-size: min(100%, 900px);
  overflow: hidden;
}

.client-strip__track {
  display: flex;
  inline-size: max-content;
  animation: client-logo-scroll var(--client-logo-duration) linear infinite;
  will-change: transform;
}

.client-strip__group {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: var(--client-logo-gap);
  padding-inline-end: var(--client-logo-gap);
}

.client-strip__logos:hover .client-strip__track {
  animation-play-state: paused;
}

@keyframes client-logo-scroll {
  to {
    transform: translate3d(-50%, 0, 0);
  }
}

.client-logo-card {
  display: grid;
  inline-size: clamp(150px, 13vw, 185px);
  block-size: 78px;
  margin: 0;
  padding: 0;
  place-items: center;
  background: transparent;
  border: 0;
}

.client-logo-card img {
  display: block;
  inline-size: 185px;
  block-size: 58px;
  max-inline-size: 100%;
  object-fit: contain;
  filter: grayscale(1) saturate(0.15) opacity(0.62);
  transition: filter 180ms ease;
}

.client-logo-card:hover img {
  filter: grayscale(0) saturate(1) opacity(1);
}

.client-logo-card--placeholder {
  color: rgba(255, 255, 255, 0.74);
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.section--proof {
  padding-top: clamp(2.75rem, 6vw, 5rem);
  background: var(--wash);
}

.section--proof .section-heading--split {
  grid-template-columns: 1fr;
  gap: 0;
  align-items: start;
}

.section--proof .section-heading--split > div,
.section--proof .section-heading--split > p {
  max-width: 760px;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1rem;
}

.project-card {
  position: relative;
  min-height: 350px;
  margin: 0;
  overflow: hidden;
  grid-column: span 2;
  background: var(--dark-soft);
}

.project-card--wide {
  grid-column: span 3;
}

.project-image-button {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--paper);
  cursor: zoom-in;
}

.project-image-button:focus-visible {
  z-index: 3;
  outline: 3px solid var(--accent);
  outline-offset: -6px;
}

.project-card picture,
.project-card img {
  display: block;
  width: 100%;
  height: 100%;
}

.project-card img {
  object-fit: cover;
  transition: transform 260ms ease;
}

.project-image-button:hover img,
.project-image-button:focus-visible img {
  transform: scale(1.025);
}

.project-expand {
  position: absolute;
  z-index: 3;
  top: 1rem;
  right: 1rem;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid rgb(255 255 255 / 55%);
  background: rgb(4 12 14 / 78%);
  transition: background 160ms ease, color 160ms ease;
}

.project-image-button:hover .project-expand,
.project-image-button:focus-visible .project-expand {
  background: var(--accent);
  color: var(--dark);
}

.project-card::after {
  position: absolute;
  inset: 40% 0 0;
  content: "";
  background: linear-gradient(transparent, rgb(4 12 14 / 82%));
  pointer-events: none;
}

.project-card figcaption {
  position: absolute;
  z-index: 2;
  right: 1.4rem;
  bottom: 1.3rem;
  left: 1.4rem;
  color: var(--paper);
  font-size: clamp(1.1rem, 2.1vw, 1.55rem);
  font-weight: 760;
  line-height: 1.18;
  pointer-events: none;
}

.project-card figcaption span {
  display: block;
  margin-bottom: 0.45rem;
  color: var(--accent-light);
  font-size: 0.67rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.service-summary-grid {
  display: grid;
  margin-bottom: clamp(5rem, 10vw, 9rem);
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.summary-card {
  display: grid;
  min-height: clamp(250px, 18vw, 290px);
  padding: clamp(1.35rem, 2vw, 2rem);
  grid-template-columns: auto minmax(0, 1fr);
  column-gap: 0.75rem;
  align-content: center;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  animation: summary-card-highlight 12s ease-in-out infinite;
}

.summary-card:nth-child(2) {
  animation-delay: 3s;
}

.summary-card:nth-child(3) {
  animation-delay: 6s;
}

.summary-card:nth-child(4) {
  animation-delay: 9s;
}

.summary-card h3 {
  grid-column: 2;
  grid-row: 1;
  font-size: clamp(1.08rem, 1.25vw, 1.35rem);
  line-height: 1.1;
  text-wrap: balance;
}

.summary-card > p {
  grid-column: 1 / -1;
  font-size: clamp(0.96rem, 0.82vw, 1.05rem);
  line-height: 1.55;
}

.summary-card p,
.capability-copy p,
.industry-grid p,
.application-grid p {
  color: var(--ink-soft);
}

.card-index {
  display: block;
  margin-top: 0.3rem;
  grid-column: 1;
  grid-row: 1;
  color: var(--accent-dark);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.8rem;
  font-weight: 800;
}

@keyframes summary-card-highlight {
  0%, 22%, 100% {
    background-color: transparent;
    box-shadow: inset 0 0 0 rgb(153 204 0 / 0%);
  }

  4%, 18% {
    background-color: rgb(153 204 0 / 8%);
    box-shadow: inset 4px 0 0 rgb(153 204 0 / 68%);
  }
}

@media (max-width: 1240px) {
  .service-summary-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.capability-list {
  display: grid;
  gap: clamp(1.5rem, 4vw, 3rem);
}

.capability {
  display: grid;
  min-height: 450px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  background: var(--wash);
}

.capability-copy {
  padding: clamp(2rem, 5vw, 4.5rem);
  align-self: center;
}

.capability > picture {
  min-height: 350px;
  grid-column: 2;
  grid-row: 1;
}

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

.capability--reverse .capability-copy {
  grid-column: 2;
}

.capability--reverse > picture {
  grid-column: 1;
}

.section--dark {
  position: relative;
  overflow: hidden;
  background: var(--dark);
  color: var(--paper);
}

.section--dark::before {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg, transparent 0 48%, rgb(153 204 0 / 5%) 48% 48.2%, transparent 48.2%),
    linear-gradient(90deg, transparent 0 72%, rgb(255 255 255 / 3%) 72% 100%);
  content: "";
  pointer-events: none;
}

.section--dark .shell {
  position: relative;
}

.section--dark .section-heading > p {
  color: rgb(255 255 255 / 68%);
}

.section--industries {
  padding-block: clamp(4rem, 7vw, 6.5rem);
}

.section--industries::before {
  display: none;
}

.industry-header {
  display: grid;
  margin-bottom: clamp(2rem, 4vw, 3.5rem);
  grid-template-columns: minmax(0, 760px);
  gap: 1.25rem;
  align-items: start;
}

.industry-title {
  max-width: 760px;
  margin-bottom: 0;
  color: var(--paper);
  font-size: clamp(2.5rem, 5vw, 4.8rem);
  line-height: 0.98;
}

.industry-header > p {
  max-width: 680px;
  color: rgb(255 255 255 / 68%);
  font-size: clamp(1rem, 1.4vw, 1.18rem);
}

.industry-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.industry-grid article {
  min-height: 250px;
  padding: clamp(1.5rem, 2.5vw, 2.1rem);
  border-top: 3px solid rgb(153 204 0 / 72%);
  background: rgb(255 255 255 / 5%);
}

.industry-card-top {
  display: inline-flex;
  width: fit-content;
  min-height: 38px;
  padding: 0.45rem 0.8rem;
  margin-bottom: 1.35rem;
  gap: 0.55rem;
  align-items: center;
  border: 1px solid rgb(185 232 65 / 40%);
  border-radius: 3px;
  background: rgb(153 204 0 / 8%);
}

.industry-icon {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  fill: none;
  stroke: var(--accent-light);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.industry-pill {
  display: inline-flex;
  align-items: center;
  color: var(--accent-light);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  line-height: 1;
  text-transform: uppercase;
}

.industry-grid h3 {
  margin-bottom: 0.75rem;
  color: var(--paper);
  font-size: clamp(1.3rem, 1.7vw, 1.65rem);
  line-height: 1.1;
}

.industry-grid p {
  color: rgb(255 255 255 / 68%);
  font-size: 0.96rem;
  line-height: 1.6;
}

.section--mrf {
  padding-block: clamp(4rem, 7vw, 6.5rem);
  background: var(--paper);
}

.mrf-intro {
  display: grid;
  max-width: 800px;
  margin-bottom: clamp(2rem, 4vw, 3.5rem);
  margin-inline: auto;
  gap: 0.45rem;
  justify-items: center;
  text-align: center;
}

.mrf-intro > p {
  margin-inline: auto;
}

.mrf-layout {
  display: grid;
  margin-bottom: 1.25rem;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  background: var(--wash);
}

.mrf-copy {
  padding: clamp(2rem, 4vw, 3.5rem);
  align-self: center;
}

.mrf-copy > p {
  color: var(--ink-soft);
  font-size: clamp(1rem, 1.5vw, 1.2rem);
}

.mrf-copy .mrf-kicker {
  margin-bottom: 0.8rem;
  color: var(--ink);
  font-size: clamp(1.08rem, 1.8vw, 1.45rem);
  font-weight: 760;
  letter-spacing: -0.035em;
  line-height: 1.08;
  text-transform: none;
}

.mrf-image,
.mrf-image img {
  width: 100%;
  height: 100%;
  min-height: 390px;
}

.mrf-image img {
  object-fit: cover;
}

.scope-note {
  margin-top: 1.25rem;
  padding: 1rem 1.25rem;
  border-left: 3px solid var(--accent);
  background: var(--wash);
  color: var(--ink-soft);
  font-size: 0.86rem;
}

.scope-note strong {
  color: var(--accent-dark);
}

.application-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.application-grid article {
  min-height: 170px;
  padding: clamp(1.5rem, 3vw, 2.3rem);
  border-top: 3px solid rgb(153 204 0 / 72%);
  background: var(--wash);
}

.application-grid h3 {
  font-size: clamp(1.08rem, 1.8vw, 1.45rem);
}

.section--about {
  padding-bottom: 0;
  background: var(--wash);
}

.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  column-gap: clamp(3rem, 8vw, 8rem);
  row-gap: clamp(2rem, 4vw, 3.5rem);
  align-items: start;
}

.about-proof {
  display: grid;
  margin: 1.5rem 0 1.8rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-block: 1px solid var(--line);
}

.about-proof div {
  padding: 1rem 0;
}

.about-proof div + div {
  padding-left: 1.25rem;
  border-left: 1px solid var(--line);
}

.about-proof strong,
.about-proof span {
  display: block;
}

.about-proof strong {
  color: var(--ink);
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.1;
}

.about-proof span {
  margin-top: 0.35rem;
  color: var(--ink-soft);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.35;
  text-transform: uppercase;
}

.founder-images {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}

.founder-images--shared {
  grid-template-columns: 1fr;
}

.founder-images figure {
  margin: 0;
}

.founder-images img {
  width: 100%;
  aspect-ratio: 0.87;
  object-fit: cover;
  filter: saturate(0.8);
}

.founder-images--shared img {
  aspect-ratio: 4 / 3;
  object-position: center;
}

@media (min-width: 801px) {
  .founder-images--shared img {
    aspect-ratio: 16 / 9;
    object-position: center top;
  }
}

.founder-images figcaption {
  padding: 0.85rem 1rem 1rem;
  background: var(--paper);
  font-size: 0.88rem;
  font-weight: 760;
  line-height: 1.25;
}

.founder-images figcaption span {
  display: block;
  margin-top: 0.28rem;
  color: var(--steel);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.about-copy p {
  color: var(--ink-soft);
}

.about-story {
  display: grid;
  padding-top: 0.5rem;
  grid-column: 1 / -1;
  gap: 1.25rem;
}

.about-story p {
  max-width: none;
  margin: 0;
  color: var(--ink-soft);
}

.about-story .signature {
  margin-top: 0.5rem;
  color: var(--ink);
  font-weight: 400;
  line-height: 1.45;
}

.about-story .signature span {
  display: block;
}

.about-story .signature span:first-child {
  font-weight: 800;
}

.founder-heritage {
  display: grid;
  padding-block: clamp(2.5rem, 5vw, 4rem);
  background: #e4e9e8;
  box-shadow: 0 0 0 100vmax #e4e9e8;
  clip-path: inset(0 -100vmax);
  grid-column: 1 / -1;
  grid-template-columns: repeat(4, minmax(0, 17rem));
  gap: clamp(0.8rem, 2vw, 1.5rem);
  align-items: stretch;
  justify-content: space-between;
}

.founder-heritage-copy {
  display: flex;
  min-height: auto;
  padding-right: 0;
  flex-direction: column;
  grid-column: 1 / -1;
  justify-content: flex-start;
}

.founder-heritage-copy h3 {
  max-width: none;
  margin: 1.25rem 0 1rem;
  font-size: clamp(1.8rem, 3.5vw, 3.2rem);
  letter-spacing: -0.04em;
  line-height: 0.98;
}

.founder-heritage-copy > p:last-child {
  max-width: 56rem;
  color: var(--ink-soft);
}

.story-card {
  display: grid;
  margin: 0;
  background: var(--paper);
  grid-template-rows: auto 1fr;
}

.story-image-button {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  padding: 0;
  overflow: hidden;
  border: 0;
  background: var(--dark-soft);
  color: var(--paper);
  cursor: zoom-in;
}

.story-image-button picture,
.story-image-button img {
  display: block;
  width: 100%;
  height: 100%;
}

.story-image-button img {
  aspect-ratio: 4 / 5;
  object-fit: cover;
  transition: transform 260ms ease;
}

.story-image-button:hover img,
.story-image-button:focus-visible img {
  transform: scale(1.025);
}

.story-image-button:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: -6px;
}

.story-card figcaption {
  padding: 0.9rem 1rem 1.05rem;
}

.story-card figcaption strong,
.story-card figcaption span {
  display: block;
}

.story-card figcaption strong {
  color: var(--ink);
  font-size: 1rem;
  font-weight: 800;
}

.story-card figcaption span {
  margin-top: 0.35rem;
  color: var(--ink-soft);
  font-size: 0.78rem;
  line-height: 1.45;
}

.founder-teaching {
  display: grid;
  min-height: clamp(22rem, 34vw, 30rem);
  overflow: hidden;
  background: var(--dark);
  color: var(--paper);
  grid-column: 1 / -1;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
}

.founder-teaching-image {
  height: 100%;
  min-height: 22rem;
  aspect-ratio: auto;
}

.founder-teaching-image img {
  object-position: 50% 50%;
}

.founder-teaching-copy {
  display: flex;
  padding: clamp(1.75rem, 4vw, 4rem);
  flex-direction: column;
  justify-content: center;
}

.founder-teaching-copy .eyebrow {
  color: var(--accent);
}

.founder-teaching-copy h4 {
  max-width: 11ch;
  margin: 1.15rem 0 1rem;
  color: var(--paper);
  font-size: clamp(1.8rem, 3.2vw, 3.1rem);
  letter-spacing: -0.04em;
  line-height: 0.98;
}

.founder-teaching-copy > p:not(.eyebrow) {
  max-width: 38rem;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.65;
}

.founder-teaching-categories {
  display: grid;
  margin: 1.5rem 0 0;
  gap: 0.65rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.founder-teaching-categories > div {
  padding: 0.8rem 0.9rem 0.9rem;
}

.founder-teaching-categories dt {
  color: var(--accent);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  line-height: 1;
  text-transform: uppercase;
}

.founder-teaching-categories dd {
  margin: 0.45rem 0 0;
  color: var(--paper);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.045em;
  line-height: 1.35;
  text-transform: uppercase;
}

.faq {
  border-top: 1px solid var(--line);
}

.faq-layout {
  display: grid;
  grid-template-columns: minmax(240px, 0.55fr) minmax(0, 1.45fr);
  gap: clamp(3rem, 8vw, 8rem);
}

@media (min-width: 801px) {
  .faq-layout > div:first-child {
    position: sticky;
    top: calc(var(--header-height) + 2rem);
    align-self: start;
  }
}

@media (min-width: 801px) and (max-width: 1080px) {
  .faq-layout > div:first-child {
    top: 9rem;
  }

  .founder-heritage {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .founder-heritage-copy {
    min-height: auto;
    padding-right: 0;
    grid-column: 1 / -1;
  }

  .founder-heritage-copy h3 {
    max-width: none;
  }
}

.faq-intro {
  max-width: 320px;
  color: var(--ink-soft);
  font-size: clamp(1rem, 1.35vw, 1.12rem);
  line-height: 1.6;
}

.faq-list {
  border-top: 1px solid var(--line);
}

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

.faq-list summary {
  position: relative;
  padding: 1.45rem 3rem 1.45rem 0;
  cursor: pointer;
  font-size: clamp(1.08rem, 2vw, 1.35rem);
  font-weight: 740;
  line-height: 1.35;
  list-style: none;
}

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

.faq-list summary::after {
  position: absolute;
  top: 50%;
  right: 0.5rem;
  width: 0.7rem;
  height: 0.7rem;
  border-right: 2px solid var(--accent-dark);
  border-bottom: 2px solid var(--accent-dark);
  content: "";
  transform: translateY(-70%) rotate(45deg);
}

.faq-list details[open] summary::after {
  transform: translateY(-30%) rotate(225deg);
}

.faq-list details p {
  max-width: 720px;
  padding: 0 3rem 1.6rem 0;
  color: var(--ink-soft);
}

.contact-cta {
  padding-block: clamp(4.5rem, 8vw, 7rem);
  background: var(--dark);
  color: var(--paper);
}

.contact-layout {
  display: flex;
  max-width: 920px;
  align-items: center;
  flex-direction: column;
  text-align: center;
}

.contact-layout .eyebrow {
  margin-bottom: 1.4rem;
}

.contact-lede {
  max-width: 720px;
  margin-bottom: 2rem;
  color: rgb(255 255 255 / 70%);
  font-size: clamp(1rem, 1.7vw, 1.25rem);
}

.contact-layout h2 {
  max-width: 780px;
  margin-bottom: 1rem;
  font-size: clamp(2.5rem, 5.2vw, 4.5rem);
}

.contact-title-line {
  display: block;
  white-space: nowrap;
}

.contact-actions {
  display: flex;
  gap: 0.8rem;
  justify-content: center;
  flex-wrap: wrap;
}

.contact-service-area {
  display: flex;
  margin: 0 0 1.5rem;
  gap: 0.7rem 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.contact-service-area span {
  display: inline-flex;
  gap: 0.5rem;
  align-items: center;
}

.contact-service-area span::before {
  color: var(--accent);
  content: "✓";
  font-size: 1.05em;
  font-weight: 900;
}

.site-footer {
  padding-top: 3rem;
  padding-bottom: 3rem;
  background: #0a1013;
  color: rgb(255 255 255 / 68%);
}

.footer-grid {
  display: grid;
  padding-bottom: 2rem;
  grid-template-columns: minmax(280px, 1.5fr) repeat(2, minmax(180px, 0.75fr));
  gap: clamp(2rem, 5vw, 5rem);
}

.footer-brand {
  display: flex;
  max-width: 440px;
  gap: 0.8rem;
  align-items: flex-start;
  flex-direction: column;
}

.footer-brand p {
  margin: 0;
}

.footer-brand strong {
  color: var(--paper);
}

.site-footer h2 {
  margin-bottom: 1.1rem;
  color: var(--paper);
  font-size: 0.74rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.site-footer a {
  display: block;
  width: fit-content;
  margin-bottom: 0.65rem;
  color: rgb(255 255 255 / 74%);
  text-decoration: none;
}

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

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.site-footer .social-links a {
  display: grid;
  width: 2.75rem;
  height: 2.75rem;
  margin: 0;
  place-items: center;
  border: 1px solid rgb(255 255 255 / 22%);
  color: var(--paper);
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.site-footer .social-links a:hover {
  border-color: var(--accent);
  background: rgb(153 204 0 / 10%);
  color: var(--accent-light);
  transform: translateY(-2px);
}

.site-footer .social-links a:focus-visible {
  outline: 2px solid var(--accent-light);
  outline-offset: 3px;
}

.social-icon {
  width: 1.15rem;
  height: 1.15rem;
  fill: currentColor;
}

.social-icon--stroke {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.social-icon--stroke .social-icon-dot {
  fill: currentColor;
  stroke: none;
}

.site-footer address {
  margin-top: 0;
  font-style: normal;
}

.footer-contact h2 {
  margin-bottom: 0.8rem;
}

.footer-contact a {
  margin-bottom: 0.2rem;
}

.footer-contact address {
  white-space: nowrap;
}

.footer-bottom {
  display: flex;
  padding-top: 1.1rem;
  gap: 2rem;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgb(255 255 255 / 14%);
  font-size: 0.78rem;
}

.footer-bottom p {
  margin: 0;
}

.footer-bottom nav {
  display: flex;
  gap: 1.3rem;
}

.footer-bottom nav a {
  margin: 0;
}

.mobile-call {
  position: fixed;
  z-index: 90;
  right: 0.75rem;
  bottom: 0.75rem;
  left: 0.75rem;
  display: none;
  min-height: 52px;
  padding: 0.8rem 1rem;
  gap: 0.6rem;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--accent-light);
  background: var(--accent);
  box-shadow: 0 14px 30px rgb(0 0 0 / 30%);
  color: #061514;
  font-size: 0.77rem;
  font-weight: 850;
  letter-spacing: 0.04em;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
}

.legal-dialog {
  width: min(920px, calc(100% - 1.5rem));
  max-width: none;
  height: min(820px, calc(100dvh - 1.5rem));
  max-height: none;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: var(--paper);
  box-shadow: var(--shadow);
  color: var(--ink);
}

.legal-dialog::backdrop {
  background: rgb(4 11 13 / 82%);
  backdrop-filter: blur(4px);
}

.image-dialog {
  width: min(1440px, calc(100% - 1.5rem));
  max-width: none;
  max-height: calc(100dvh - 1.5rem);
  padding: 0;
  border: 0;
  border-radius: 0;
  background: var(--dark);
  box-shadow: var(--shadow);
  color: var(--paper);
}

.image-dialog::backdrop {
  background: rgb(4 11 13 / 92%);
  backdrop-filter: blur(4px);
}

.image-dialog-frame {
  display: grid;
  max-height: calc(100dvh - 1.5rem);
  grid-template-rows: auto minmax(0, 1fr);
}

.image-dialog-body {
  display: grid;
  min-height: 0;
  padding: clamp(0.75rem, 2vw, 1.5rem);
  gap: 0.9rem;
  place-items: center;
  overflow: auto;
  overscroll-behavior: contain;
}

.image-dialog-body img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: calc(100dvh - 10rem);
  object-fit: contain;
}

.image-dialog-body p {
  width: 100%;
  margin: 0;
  color: rgb(255 255 255 / 76%);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-align: center;
}

.dialog-frame {
  display: grid;
  height: 100%;
  grid-template-rows: auto minmax(0, 1fr);
}

.dialog-header {
  display: flex;
  min-height: 72px;
  padding: 1rem clamp(1.1rem, 4vw, 2.4rem);
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  background: var(--dark);
  color: var(--paper);
}

.image-dialog .dialog-header {
  border-bottom-color: rgb(255 255 255 / 14%);
}

.dialog-header h2 {
  margin: 0;
  font-size: clamp(1.1rem, 3vw, 1.45rem);
  letter-spacing: -0.015em;
}

.dialog-close {
  min-height: 42px;
  padding: 0.6rem 0.9rem;
  border: 1px solid rgb(255 255 255 / 48%);
  border-radius: 0;
  background: transparent;
  color: var(--paper);
  font: inherit;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}

.dialog-scroll {
  padding: clamp(1.4rem, 4vw, 3.5rem);
  overflow-y: auto;
  overscroll-behavior: contain;
}

.dialog-scroll .legal-copy h1 {
  display: none;
}

.legal-page {
  background: var(--wash);
}

.legal-header {
  display: flex;
  min-height: 78px;
  padding: 1rem max(1.25rem, calc((100% - var(--shell)) / 2));
  gap: 2rem;
  align-items: center;
  justify-content: space-between;
  background: var(--dark);
  color: var(--paper);
}

.legal-shell {
  width: min(calc(100% - 2.5rem), 920px);
  margin: clamp(3rem, 8vw, 7rem) auto;
  padding: clamp(1.5rem, 5vw, 4.5rem);
  background: var(--paper);
  box-shadow: 0 18px 48px rgb(7 20 24 / 8%);
}

.legal-copy h1 {
  margin-bottom: 0.8rem;
  font-size: clamp(2.2rem, 6vw, 4rem);
}

.legal-updated {
  margin-bottom: 2rem;
  font-size: 0.86rem;
}

.legal-intro {
  max-width: 760px;
  margin-bottom: clamp(2.5rem, 6vw, 4rem);
  color: var(--ink);
  font-size: clamp(1.08rem, 2vw, 1.3rem);
  line-height: 1.65;
}

.legal-section {
  padding-block: clamp(1.4rem, 3vw, 2rem);
  border-top: 1px solid var(--line);
}

.legal-section h2 {
  margin-bottom: 0.8rem;
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  letter-spacing: -0.02em;
}

.legal-section p {
  margin-bottom: 1rem;
}

.legal-section p:last-child,
.legal-section ul:last-child {
  margin-bottom: 0;
}

.legal-copy p,
.legal-copy li {
  color: var(--ink-soft);
}

.legal-copy {
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.legal-copy strong {
  color: var(--ink);
}

.section-heading > .eyebrow,
.capability-copy > .eyebrow,
.about-copy > .eyebrow,
.legal-copy > .eyebrow {
  max-width: 100%;
  color: var(--accent-dark);
  font-size: 0.76rem;
}

.section--dark .section-heading > .eyebrow--light {
  color: var(--accent-light);
}

.legal-copy ul {
  margin-block: 0.75rem 1rem;
  padding-left: 1.35rem;
}

.legal-copy li + li {
  margin-top: 0.45rem;
}

.legal-copy a,
.text-link {
  color: var(--accent-dark);
}

.legal-return {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  font-weight: 750;
}

.legal-footer {
  display: flex;
  padding: 2rem max(1.25rem, calc((100% - var(--shell)) / 2));
  gap: 1.4rem;
  flex-wrap: wrap;
  background: var(--dark);
  color: rgb(255 255 255 / 70%);
}

.legal-footer span {
  margin-right: auto;
  color: var(--paper);
  font-weight: 750;
}

@media (min-width: 801px) and (max-height: 900px) {
  .hero {
    min-height: calc(100svh - 56px);
  }

  .hero-content {
    padding-top: calc(var(--header-height) + clamp(2.5rem, 5vw, 4.5rem));
    padding-bottom: clamp(2.5rem, 5vw, 4rem);
  }

  .hero h1 {
    font-size: clamp(2.65rem, min(7vw, 10vh), 6.8rem);
  }

  .hero-lede {
    margin-bottom: 1.5rem;
  }

  .service-line {
    margin-top: 1.5rem;
  }

  .error-main {
    min-height: 100svh;
    padding-top: calc(var(--header-height) + 2rem);
    padding-bottom: 3rem;
  }

  .error-layout {
    gap: 1rem;
  }

  .error-code {
    font-size: clamp(7rem, min(16vw, 21vh), 11rem);
  }

  .error-copy h1 {
    margin-bottom: 1rem;
    font-size: clamp(2.7rem, min(5vw, 8vh), 4.75rem);
  }

  .error-copy > p:not(.eyebrow) {
    margin-bottom: 1.25rem;
  }

  .error-copy .service-line {
    margin-top: 1.25rem;
  }
}

@media (max-width: 1180px) {
  .site-header,
  .site-header:not(.is-scrolled) {
    --header-height: 70px;
  }

  .header-inner {
    position: relative;
    width: calc(100% - 1.5rem);
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 0.55rem;
  }

  .brand img {
    width: 68px;
    height: auto;
  }

  .nav-toggle {
    display: block;
    grid-column: 3;
    grid-row: 1;
  }

  .primary-nav {
    position: absolute;
    top: calc(100% - 1px);
    right: -0.75rem;
    left: -0.75rem;
    display: grid;
    padding: 0.75rem;
    visibility: hidden;
    grid-column: auto;
    gap: 0;
    justify-content: stretch;
    justify-items: stretch;
    transform: translateY(-0.5rem);
    background: var(--dark);
    box-shadow: 0 20px 35px rgb(0 0 0 / 24%);
    opacity: 0;
    pointer-events: none;
    transition: opacity 150ms ease, transform 150ms ease, visibility 150ms ease;
  }

  .primary-nav.is-open {
    visibility: visible;
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .primary-nav a {
    padding: 0.95rem 1rem;
    border-bottom: 1px solid rgb(255 255 255 / 12%);
    text-align: left;
  }

  .primary-nav a:last-child {
    border-bottom: 0;
  }

  .primary-nav a::after {
    display: none;
  }

  .header-call {
    min-height: 42px;
    padding: 0.65rem 0.8rem;
    grid-column: 2;
    font-size: 0;
  }

  .header-call::after {
    content: "Call";
    font-size: 0.71rem;
  }
}

@media (max-width: 1080px) {
  .industry-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .industry-grid article {
    min-height: 230px;
  }

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

@media (max-width: 800px) {
  .client-strip__inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.8rem;
  }

  .client-strip__logos {
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 0.85rem;
    width: 100%;
  }

  .client-logo-card {
    inline-size: calc(50% - 0.425rem);
    block-size: 62px;
  }

  .client-logo-card img {
    inline-size: 138px;
    block-size: 44px;
  }

  :root {
    --header-height: 70px;
  }

  .shell,
  .legal-shell {
    width: min(calc(100% - 1.5rem), var(--shell));
  }

  .site-header,
  .site-header:not(.is-scrolled) {
    --header-height: 70px;
  }

  .header-inner {
    position: relative;
    width: calc(100% - 1.5rem);
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 0.55rem;
  }

  .brand img {
    width: 68px;
    height: auto;
  }

  .nav-toggle {
    display: block;
    grid-column: 3;
    grid-row: 1;
  }

  .primary-nav {
    position: absolute;
    top: calc(100% - 1px);
    right: -0.75rem;
    left: -0.75rem;
    display: grid;
    padding: 0.75rem;
    visibility: hidden;
    grid-column: auto;
    gap: 0;
    justify-content: stretch;
    justify-items: stretch;
    transform: translateY(-0.5rem);
    background: var(--dark);
    box-shadow: 0 20px 35px rgb(0 0 0 / 24%);
    opacity: 0;
    pointer-events: none;
    transition: opacity 150ms ease, transform 150ms ease, visibility 150ms ease;
  }

  .primary-nav.is-open {
    visibility: visible;
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .primary-nav a {
    padding: 0.95rem 1rem;
    border-bottom: 1px solid rgb(255 255 255 / 12%);
    text-align: left;
  }

  .primary-nav a:last-child {
    border-bottom: 0;
  }

  .primary-nav a::after {
    display: none;
  }

  .header-call {
    min-height: 42px;
    padding: 0.65rem 0.8rem;
    grid-column: 2;
    font-size: 0;
  }

  .header-call::after {
    content: "Call";
    font-size: 0.71rem;
  }

  .hero {
    min-height: 780px;
  }

  .hero-overlay {
    background: linear-gradient(90deg, rgb(7 13 16 / 90%) 0%, rgb(7 13 16 / 68%) 100%);
  }

  .section-heading--split,
  .mrf-intro,
  .about-layout,
  .faq-layout,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .industry-grid article {
    min-height: 220px;
  }

  .industry-header {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

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

  .project-card,
  .project-card--wide {
    min-height: 320px;
    grid-column: 1;
  }

  .capability,
  .capability--reverse {
    grid-template-columns: 1fr;
  }

  .capability .capability-copy,
  .capability--reverse .capability-copy {
    grid-column: 1;
    grid-row: 2;
  }

  .capability > picture,
  .capability--reverse > picture {
    min-height: 300px;
    grid-column: 1;
    grid-row: 1;
  }

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

  .founder-heritage {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    justify-items: stretch;
  }

  .founder-teaching {
    min-height: 0;
    grid-template-columns: 1fr;
  }

  .founder-teaching-image {
    min-height: 0;
    aspect-ratio: 4 / 3;
  }

  .story-card,
  .story-card:last-child {
    width: 100%;
    grid-column: auto;
  }

  .founder-heritage-copy {
    min-height: auto;
    padding-right: 0;
    grid-column: 1 / -1;
  }

  .founder-heritage-copy h3 {
    max-width: none;
  }

  .mrf-image,
  .mrf-image img {
    min-height: 320px;
  }

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

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

  .footer-brand {
    grid-column: 1 / -1;
  }

  .mobile-call {
    display: flex;
  }

  .error-code {
    font-size: clamp(7.5rem, 40vw, 12rem);
  }

  .error-footer {
    padding-bottom: 6.5rem;
  }
}

@media (max-width: 560px) {
  h1 {
    font-size: clamp(2.45rem, 13vw, 4rem);
  }

  h2 {
    font-size: clamp(2rem, 10vw, 3rem);
  }

  .contact-layout h2 {
    font-size: clamp(2rem, 8vw, 2.5rem);
  }

  .hero {
    min-height: 830px;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero-actions .button {
    width: 100%;
  }

  .error-main {
    min-height: 760px;
    padding-top: calc(var(--header-height) + 3rem);
  }

  .error-code {
    font-size: clamp(7rem, 44vw, 10rem);
  }

  .error-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .error-actions .button {
    width: 100%;
  }

  .error-footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .contact-actions {
    display: grid;
    width: 100%;
    grid-template-columns: 1fr;
    justify-content: stretch;
  }

  .contact-actions .button {
    width: 100%;
  }

  .contact-service-area {
    align-items: center;
    flex-direction: column;
  }

  .service-line {
    display: grid;
    gap: 0.55rem;
  }

  .service-summary-grid,
  .industry-grid,
  .application-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .industry-grid article,
  .industry-grid article:nth-child(even) {
    min-height: auto;
    transform: none;
  }

  .summary-card,
  .industry-grid article,
  .application-grid article {
    min-height: auto;
  }

  .founder-images {
    gap: 0.5rem;
  }

  .founder-heritage {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem;
  }

  .founder-teaching {
    min-height: 0;
    grid-template-columns: 1fr;
  }

  .founder-teaching-image {
    min-height: 0;
    aspect-ratio: 4 / 3;
  }

  .founder-teaching-copy {
    padding: 1.5rem 1.25rem 1.75rem;
  }

  .founder-teaching-copy h4 {
    max-width: none;
  }

  .founder-teaching-categories {
    grid-template-columns: 1fr;
  }

  .founder-heritage-copy {
    justify-self: stretch;
  }

  .story-card,
  .story-card:last-child {
    width: 100%;
    grid-column: auto;
  }

  .story-card figcaption {
    padding: 0.65rem 0.55rem 0.75rem;
  }

  .story-card figcaption strong {
    font-size: 0.82rem;
  }

  .story-card figcaption span {
    font-size: 0.66rem;
    line-height: 1.35;
  }

  .footer-brand {
    grid-column: auto;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-footer {
    padding-bottom: 7rem;
  }

  .legal-header {
    gap: 0.8rem;
  }

  .legal-header .button {
    min-height: 44px;
    padding: 0.65rem 0.75rem;
    font-size: 0.68rem;
  }

  .legal-shell {
    padding: 1.25rem;
  }

  .legal-footer {
    flex-direction: column;
  }

  .legal-footer span {
    margin-right: 0;
  }
}

@media (max-width: 370px) {
  .header-inner {
    grid-template-columns: 70px 1fr auto;
  }

  .header-call {
    justify-self: end;
  }

  .hero-content {
    padding-top: calc(var(--header-height) + 3.5rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

@media print {
  .site-header,
  .mobile-call,
  .site-footer,
  .legal-header,
  .legal-footer,
  .legal-return {
    display: none !important;
  }

  .legal-shell {
    width: 100%;
    margin: 0;
    padding: 0;
    box-shadow: none;
  }
}

/* Client logo strip tablet containment start */
@media (max-width: 1180px) {
  .client-strip {
    padding-block: clamp(1.4rem, 4vw, 2.25rem);
  }

  .client-strip__inner {
    align-items: center;
    flex-direction: column;
    text-align: center;
    gap: 1.1rem;
  }

  .client-strip__logos {
    --client-logo-gap: clamp(0.75rem, 2vw, 1.25rem);
    inline-size: min(100%, 760px);
    min-inline-size: 0;
  }

  .client-logo-card {
    inline-size: clamp(130px, 20vw, 172px);
    min-inline-size: 0;
    block-size: 74px;
    padding: 0.65rem;
  }

  .client-logo-card img {
    inline-size: min(100%, 172px);
    block-size: 48px;
  }
}

@media (max-width: 640px) {
  .client-strip__logos {
    --client-logo-gap: clamp(0.35rem, 1vw, 0.55rem);
    --client-logo-duration: 18s;
    inline-size: 100%;
  }

  .client-logo-card {
    inline-size: clamp(78px, 22vw, 100px);
    block-size: 50px;
    padding: 0.15rem;
  }

  .client-logo-card img {
    inline-size: min(100%, 88px);
    block-size: 32px;
  }
}
/* Client logo strip tablet containment end */

@media (prefers-reduced-motion: reduce) {
  .client-strip__logos {
    overflow-x: auto;
  }

  .client-strip__track {
    animation: none;
  }

  .client-strip__group[aria-hidden="true"] {
    display: none;
  }
}
