:root {
  --paper: #ffffff;
  --ink: #292929;
  --ink-soft: #323232;
  --mid: color-mix(in srgb, var(--ink) 62%, var(--paper));
  --border: #e9e9e9;
  --blue: #e9e9e9;
  --blue-soft: #e9e9e9;
  --pattern-blue: #e9e9e9;
  --mist: #e9e9e9;
  --header-height: 4.25rem;
  --cell-pad: clamp(1.25rem, 3.4vw, 4rem);
  --font: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --type-heading-large: clamp(3rem, 5.3vw, 6.4rem);
  --type-heading-small: clamp(2rem, 3.25vw, 3.5rem);
  --type-body-large: clamp(1.25rem, 1.8vw, 1.75rem);
  --type-body-standard: clamp(1rem, 1.05vw, 1.12rem);
  color-scheme: light;
  font-family: var(--font);
  font-synthesis: none;
}

* {
  box-sizing: border-box;
  font-weight: 400;
}

html {
  background: var(--paper);
  color: var(--ink);
  scroll-behavior: smooth;
  text-rendering: optimizeLegibility;
}

body {
  margin: 0;
  overflow-x: hidden;
  background-color: var(--paper);
  background-image: none;
  background-size: 12px 12px;
  font-family: var(--font);
  font-size: var(--type-body-standard);
  line-height: 1.5;
}

/* Keep selected text clean and strongly inverted. */
::selection {
  background: var(--ink);
  color: var(--paper);
}

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

a {
  color: inherit;
  text-decoration-thickness: 0.07em;
  text-underline-offset: 0.16em;
}

button {
  color: inherit;
  font: inherit;
}

a:focus-visible,
button:focus-visible {
  outline: 0;
  text-decoration: underline;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 0;
  left: 0;
  padding: 0.8rem 1rem;
  border: 1px solid var(--ink);
  background: var(--paper);
  transform: translateY(-110%);
}

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

.visually-hidden {
  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;
}

.site-header {
  --header-bg: rgb(255 255 255 / 94%);
  --header-fg: var(--ink);
  position: fixed;
  z-index: 100;
  inset: 0 0 auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  height: var(--header-height);
  border-bottom: 1px solid var(--border);
  background: var(--header-bg);
  color: var(--header-fg);
  backdrop-filter: blur(12px);
  transition: color 180ms ease, background-color 180ms ease;
}

.site-header[data-mode="dark"] {
  --header-bg: rgb(41 41 41 / 94%);
  --header-fg: var(--paper);
}

.wordmark,
.header-whatsapp {
  display: flex;
  align-items: center;
  min-width: 0;
  padding: 0 var(--cell-pad);
}

.wordmark {
  border-right: 1px solid color-mix(in srgb, var(--header-fg) 20%, transparent);
  text-decoration: none;
}

.wordmark__logo {
  width: clamp(10.5rem, 15vw, 13.5rem);
  height: auto;
}

.wordmark__logo--white {
  display: none;
}

.site-header[data-mode="dark"] .wordmark__logo--dark {
  display: none;
}

.site-header[data-mode="dark"] .wordmark__logo--white {
  display: block;
}

.header-whatsapp {
  justify-content: flex-end;
  font-size: var(--type-body-standard);
  white-space: nowrap;
}

.header-whatsapp__label {
  padding-right: 5px;
}

.no-js .site-header {
  position: absolute;
}

main {
  padding-top: var(--header-height);
}

.content-section {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  overflow: clip;
  border-top: 1px solid var(--border);
  background-color: rgb(255 255 255 / 92%);
  background-image: none;
  background-size: 12px 12px;
  color: var(--ink);
}

main > .content-section:first-child {
  border-top: 0;
}

.home-offer-row {
  background: var(--ink);
  color: var(--paper);
}

.home-offer-row .content-shell {
  display: block;
  padding: 0;
}

.home-offer-row .content-shell > .offer-wireframe {
  margin: 0;
}

.home-offer-row .content-shell::after {
  display: none;
}

.home-care-row .content-shell {
  padding-top: clamp(2.5rem, 4vw, 4rem);
  padding-bottom: clamp(2.5rem, 4vw, 4rem);
}

.home-care-row .home-care-copy {
  grid-column: 2;
}

.home-care-copy p {
  max-width: 47rem;
  margin: 0 0 1.25rem;
}

.content-shell {
  position: relative;
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  min-width: 0;
  padding: clamp(4.75rem, 7vw, 7.5rem) 0;
}

.content-shell::after {
  position: absolute;
  inset: 0 auto 0 50%;
  width: 1px;
  background: var(--border);
  content: "";
}

.content-shell > * {
  grid-column: 2;
  min-width: 0;
  margin-right: var(--cell-pad);
  margin-left: var(--cell-pad);
}

.content-shell > h1:first-child {
  grid-column: 1;
  grid-row: 1;
  align-self: start;
}

.content-section:not(.has-graphic) .content-shell > p:first-of-type {
  grid-column: 1;
}

.content-shell > h1.full-width-heading {
  grid-column: 1 / -1;
  max-width: none;
}

.has-graphic .content-shell {
  grid-column: 1;
  display: block;
  border-right: 1px solid var(--border);
}

.has-graphic .content-shell::after {
  display: none;
}

.has-graphic .content-shell > * {
  margin-right: var(--cell-pad);
  margin-left: var(--cell-pad);
}

.has-graphic.graphic-left .content-shell {
  grid-column: 2;
  border-right: 0;
  border-left: 1px solid var(--border);
}

.graphic-left .webgl-stage {
  grid-column: 1;
  grid-row: 1;
}

.home-process-row .content-shell {
  display: flex;
  min-height: clamp(30rem, 52vw, 52rem);
  flex-direction: column;
  justify-content: center;
}

.home-process-row .content-shell > h1 {
  max-width: 14ch;
}

.home-process-row .content-shell > p {
  max-width: 34rem;
  font-size: var(--type-body-large);
  line-height: 1.25;
}

.content-shell > h1 {
  max-width: 12ch;
  margin-top: 0;
  margin-bottom: 2.5rem;
  font-size: var(--type-heading-large);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 0.9;
  text-wrap: balance;
}

.hero-section .content-shell > h1:first-child {
  font-size: clamp(4.5rem, 8vw, 9rem);
}

.page--home .hero-section .content-shell {
  display: flex;
  grid-template-columns: 1fr;
  flex-direction: column;
  justify-content: center;
}

.page--home .hero-section .content-shell::after {
  display: none;
}

.page--home .hero-section .content-shell > * {
  grid-column: 1;
}

.page--home .hero-section .content-shell > h1 {
  font-size: clamp(4rem, 7vw, 8rem);
}

.hero-projects {
  position: relative;
  grid-column: 2;
  min-width: 0;
  min-height: clamp(30rem, 52vw, 52rem);
  overflow: hidden;
  isolation: isolate;
  background: var(--mist);
  container-type: inline-size;
}

.hero-projects__scene {
  --ui-gap: 22px;
  position: absolute;
  inset: -55% -55%;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--ui-gap);
  /* Centred one-point perspective with a gentler viewing angle. */
  transform: perspective(1600px) rotateX(38deg);
  pointer-events: none;
}

.hero-projects__column { min-width: 0; min-height: 0; height: 100%; overflow: hidden; }
.hero-projects__track {
  animation: hero-project-flow 70s linear infinite reverse;
  will-change: transform;
}
.hero-projects__column:nth-child(2) .hero-projects__track {
  animation-direction: normal;
  animation-duration: 85s;
}
.hero-projects__column:nth-child(3) .hero-projects__track { animation-delay: -24s; }
.hero-projects__group {
  display: grid;
  gap: var(--ui-gap);
  padding-bottom: var(--ui-gap);
}
.hero-projects__card {
  aspect-ratio: 11 / 5;
  border-radius: 0;
  overflow: hidden;
  background: white;
  border: 1px solid rgb(41 41 41 / 14%);
  box-shadow: 0 8px 18px rgb(41 41 41 / 10%);
}
.hero-projects__card img {
  display: block;
  width: 100%;
  height: auto;
  animation: hero-ui-scroll var(--ui-scroll-duration, 14s) ease-in-out var(--ui-scroll-delay, 0s) infinite alternate;
}
.hero-projects__pause {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  z-index: 1;
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--border);
  background: var(--paper);
  color: var(--ink);
  font: inherit;
  font-size: 0.75rem;
  cursor: pointer;
}
.hero-projects.is-paused .hero-projects__track,
.hero-projects.is-paused .hero-projects__card img { animation-play-state: paused; }
@keyframes hero-ui-scroll {
  0%, 15% { transform: translateY(0); }
  85%, 100% { transform: translateY(var(--ui-scroll-end, 0px)); }
}
@keyframes hero-project-flow {
  from { transform: translateY(0); }
  to { transform: translateY(-50%); }
}
@media (max-width: 820px) {
  .hero-projects { grid-column: 1; min-height: 0; height: 100vw; max-height: 42rem; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-projects__track { animation: none; will-change: auto; }
  .hero-projects__card img { animation: none; }
  .hero-projects__pause { display: none; }
}

.hero-scoreboard {
  display: block;
  width: 6ch;
  height: 1em;
  margin-top: 0.12em;
  overflow: hidden;
  background: var(--blue);
  color: var(--ink);
}

.hero-scoreboard__track {
  display: flex;
  flex-direction: column;
  animation: hero-scoreboard-cycle 3.6s infinite;
  will-change: transform;
}

.hero-scoreboard__track > span {
  display: flex;
  height: 1em;
  flex: 0 0 1em;
  align-items: flex-start;
  overflow: hidden;
  padding: 0.04em 0.12em 0.06em;
}

.hero-scoreboard--industries {
  width: min(15ch, 100%);
  background: transparent;
  height: 1.24em;
  transition: height 550ms cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-scoreboard--industries .hero-scoreboard__track {
  animation: none;
  transition: opacity 440ms ease;
}

.hero-scoreboard--industries .hero-scoreboard__track.is-changing {
  opacity: 0;
  transition-duration: 240ms;
}

.hero-scoreboard--industries .hero-scoreboard__track.is-resetting {
  transition: none;
}

.hero-scoreboard--industries .hero-scoreboard__track > span {
  height: auto;
  min-height: 1.24em;
  flex-basis: auto;
  align-items: flex-start;
  padding: 0;
}

.hero-scoreboard__industry {
  display: block;
  width: fit-content;
  padding: 0.12em;
  background: var(--mist);
  max-width: 100%;
  font-size: 1em;
  line-height: 1;
  overflow-wrap: anywhere;
  white-space: normal;
}

@keyframes hero-scoreboard-cycle {
  0%, 27% {
    transform: translateY(0);
  }

  33%, 60% {
    transform: translateY(-1em);
  }

  66%, 93% {
    transform: translateY(-2em);
  }

  100% {
    transform: translateY(-3em);
  }
}

.content-shell > h2 {
  max-width: 16ch;
  margin-top: 0;
  margin-bottom: 1.8rem;
  font-size: var(--type-heading-small);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 0.96;
  text-wrap: balance;
}

.content-shell > h3 {
  margin-top: 0;
  margin-bottom: 1rem;
  font-size: var(--type-heading-small);
  font-weight: 400;
  line-height: 1.25;
}

.content-shell > h1:not(:first-child),
.content-shell > h2:not(:first-child),
.content-shell > h3:not(:first-child) {
  margin-top: clamp(2.5rem, 4vw, 4.5rem);
}

.content-shell > p,
.content-shell > ul,
.content-shell > ol,
.content-shell > .table-wrap {
  width: auto;
  max-width: 47rem;
  margin-top: 0;
  margin-bottom: 1.25rem;
}

.content-shell strong {
  font-weight: 400;
}

.content-shell :is(h1, h2) strong {
  font-weight: inherit;
}

.content-shell ul,
.content-shell ol {
  padding-left: 1.25em;
}

.content-shell li + li {
  margin-top: 0.35rem;
}

.capability-marquee {
  grid-column: 1 / -1;
  width: 100%;
  max-width: none;
  margin: clamp(2.5rem, 5vw, 5rem) 0;
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.capability-marquee--section {
  margin: 0;
  border-top: 0;
}

.offer-wireframe {
  --offer-line: rgb(255 255 255 / 26%);
  width: 100%;
}

.offer-wireframe__header {
  position: relative;
  isolation: isolate;
  display: grid;
  min-height: 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: auto;
  /* Clip decoration without allowing the animated heading's anchor to scroll
     the header contents away from their container edges on initial load. */
  overflow: clip;
  background: linear-gradient(90deg, var(--ink-soft) 19.336%, var(--ink) 100%);
}

.offer-wireframe__header::after {
  position: absolute;
  z-index: 2;
  top: 0;
  bottom: 0;
  /* Match the right border of the left column used by the accordion,
     navigation, footer, and contact form. */
  left: calc(50% - 1px);
  width: 1px;
  background: var(--offer-line);
  content: "";
  pointer-events: none;
}

.offer-wireframe__header > :not(.brand-pattern) {
  position: relative;
  z-index: 1;
}

.offer-wireframe__header > .offer-products-pattern-clip {
  position: absolute;
  z-index: 0;
  inset: 0 0 0 50%;
  overflow: hidden;
  background: var(--ink);
  pointer-events: none;
}

/* Dark tiles carry the interaction themselves, without a gradient veil. */
.offer-wireframe__header > .offer-products-pattern-clip,
.footer-mark {
  background: var(--ink);
}

.brand-pattern__tile {
  opacity: var(--tile-afterglow, 0);
}

.no-js .brand-pattern__tile {
  opacity: 0.25;
}

@media (prefers-reduced-motion: reduce) {
  .brand-pattern__tile {
    opacity: 0.25;
  }
}

.offer-products-pattern-clip > .brand-pattern {
  top: 0;
  left: -100%;
}

.offer-wireframe__header :is(h1, h2) {
  grid-column: 1;
  grid-row: 1;
  align-self: end;
  margin: 0;
  padding: 0 var(--cell-pad) clamp(3rem, 6vw, 6rem);
  font-size: calc(var(--type-heading-large) * 0.9);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 0.9;
}

.offer-wireframe__intro {
  grid-column: 2;
  grid-row: 1 / -1;
  align-self: end;
  max-width: 34rem;
  margin: 0;
  padding: var(--cell-pad) var(--cell-pad) clamp(3rem, 6vw, 6rem);
  font-size: var(--type-body-large);
  font-style: normal;
  font-weight: 400;
  line-height: 1.15;
}

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

.offer-disclosure,
.offer-subdisclosure,
.offer-product {
  border-bottom: 1px solid var(--offer-line);
}

.offer-disclosure summary,
.offer-subdisclosure summary,
.offer-product summary {
  position: relative;
  cursor: pointer;
  list-style: none;
}

.offer-disclosure summary::-webkit-details-marker,
.offer-subdisclosure summary::-webkit-details-marker,
.offer-product summary::-webkit-details-marker {
  display: none;
}

.offer-disclosure > summary {
  display: grid;
  min-height: 8.5rem;
  grid-template-columns: 3.5rem minmax(13rem, 0.8fr) minmax(18rem, 1.2fr) auto 2rem;
  gap: clamp(1rem, 2vw, 2.5rem);
  align-items: center;
  padding: 1.5rem var(--cell-pad);
  transition: background-color 160ms ease, color 160ms ease;
}

.offer-disclosure > summary:hover,
.offer-disclosure > summary:focus-visible,
.offer-disclosure[open] > summary {
  outline: 0;
  background: var(--blue);
  color: var(--ink);
}

.offer-disclosure__number,
.offer-disclosure__count,
.offer-subdisclosure summary > span,
.offer-product summary > span {
  font-size: var(--type-body-standard);
  text-transform: uppercase;
}

.offer-disclosure__title {
  font-size: var(--type-heading-small);
  line-height: 0.92;
}

.offer-disclosure__summary {
  max-width: 38rem;
  font-size: var(--type-body-standard);
  line-height: 1.3;
}

.offer-disclosure__count {
  white-space: nowrap;
}

.offer-disclosure__toggle,
.offer-subdisclosure summary > i,
.offer-product summary > i {
  position: relative;
  display: block;
  width: 1.4rem;
  height: 1.4rem;
}

.offer-subdisclosure summary > i {
  width: 1.15rem;
  height: 1.15rem;
}

.offer-disclosure__toggle::before,
.offer-disclosure__toggle::after,
.offer-subdisclosure summary > i::before,
.offer-subdisclosure summary > i::after,
.offer-product summary > i::before,
.offer-product summary > i::after {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 1px;
  background: currentColor;
  content: "";
  transition: opacity 440ms ease;
}

.hero-scoreboard--industries .hero-scoreboard__track.is-changing {
  opacity: 0;
  transition-duration: 240ms;
}

.offer-disclosure__toggle::after,
.offer-subdisclosure summary > i::after,
.offer-product summary > i::after {
  transform: rotate(90deg);
}

.offer-disclosure[open] > summary .offer-disclosure__toggle::after,
.offer-subdisclosure[open] > summary > i::after,
.offer-product[open] > summary > i::after {
  transform: rotate(0);
}

.offer-disclosure__body {
  padding: clamp(2rem, 4vw, 4rem) var(--cell-pad);
  border-top: 1px solid var(--offer-line);
  background: rgb(255 255 255 / 4%);
}

.offer-tags {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--offer-line);
  border-left: 1px solid var(--offer-line);
  background: color-mix(in srgb, var(--ink) 82%, black);
  list-style: none;
}

.offer-tags li {
  display: flex;
  min-height: 4.25rem;
  margin: 0;
  padding: 1rem;
  align-items: center;
  border-right: 1px solid var(--offer-line);
  border-bottom: 1px solid var(--offer-line);
  line-height: 1.2;
}

/* Keep the capability grid continuous despite the generic content-list spacing. */
.content-shell .offer-tags {
  padding-left: 0;
}

.content-shell .offer-tags li + li {
  margin-top: 0;
}

.offer-disclosure__body--engineering > p {
  max-width: 42rem;
  margin: 0 0 2.5rem;
  font-size: var(--type-body-large);
}

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

.offer-subdisclosure > summary {
  display: grid;
  min-height: 5.5rem;
  grid-template-columns: minmax(13rem, 0.8fr) minmax(18rem, 1.2fr) 1.4rem;
  gap: 1.5rem;
  align-items: center;
  padding: 1rem var(--cell-pad);
}

.offer-subdisclosure > summary:focus-visible strong {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.offer-subdisclosure summary > strong,
.offer-product summary > strong {
  font-size: var(--type-heading-small);
  font-weight: 400;
  line-height: 1.05;
}

.offer-subdisclosure summary > strong {
  font-size: var(--type-body-large);
}

.offer-subdisclosure summary > em {
  max-width: 36rem;
  opacity: 0.65;
  font-style: normal;
  line-height: 1.3;
}

.offer-subdisclosure > div {
  padding: clamp(2rem, 4vw, 4rem) var(--cell-pad);
}

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

.offer-products > header {
  display: grid;
  min-height: 22rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: auto 1fr;
}

.offer-products > header > p:first-child {
  grid-column: 1;
  padding: 1.25rem var(--cell-pad);
  border-right: 1px solid var(--offer-line);
}

.offer-products > header h2 {
  grid-column: 1;
  grid-row: 2;
  align-self: end;
  margin: 0;
  padding: 0 var(--cell-pad) 3rem;
  border-right: 1px solid var(--offer-line);
  font-size: var(--type-heading-large);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 0.9;
}

.offer-products > header > p:last-child {
  grid-column: 2;
  grid-row: 1 / -1;
  align-self: end;
  max-width: 34rem;
  margin: 0;
  padding: 3rem var(--cell-pad);
  font-size: var(--type-body-large);
  line-height: 1.3;
}

.offer-products__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--offer-line);
}

.offer-product:nth-child(odd) {
  border-right: 1px solid var(--offer-line);
}

.offer-product > summary {
  display: grid;
  min-height: 7.5rem;
  grid-template-columns: 2.5rem 1fr 1.4rem;
  gap: 1rem;
  align-items: center;
  padding: 1.25rem var(--cell-pad);
  transition: background-color 160ms ease, color 160ms ease;
}

.offer-product > summary:hover,
.offer-product > summary:focus-visible,
.offer-product[open] > summary {
  outline: 0;
  background: var(--blue);
  color: var(--ink);
}

.offer-product > div {
  padding: 0 var(--cell-pad) 2rem;
}

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

.offer-index {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--offer-line);
}

.offer-index--products {
  grid-template-columns: 1fr;
}

.offer-index--products > .offer-index__list--products {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.offer-index__list--products .offer-index__item:nth-child(odd) {
  border-right: 1px solid var(--offer-line);
}

.offer-index--stage {
  grid-template-columns: 1fr;
}

.offer-index--stage > .offer-index__list--stage {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.offer-index__list--stage > .offer-index__item:nth-of-type(odd) {
  border-right: 1px solid var(--offer-line);
}

.offer-service-toggle {
  border-top: 1px solid var(--offer-line);
}

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

.offer-service-toggle__controls button {
  min-height: 8.5rem;
  padding: 1.5rem var(--cell-pad);
  border: 0;
  border-right: 1px solid var(--offer-line);
  border-bottom: 1px solid var(--offer-line);
  border-radius: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font: inherit;
  font-size: var(--type-heading-small);
  line-height: 0.98;
  text-align: left;
  transition: background-color 160ms ease, color 160ms ease;
}

.offer-service-toggle__controls button:last-child {
  border-right: 0;
}

.offer-service-toggle__controls button:hover,
.offer-service-toggle__controls button:focus-visible,
.offer-service-toggle__controls button[aria-selected="true"] {
  outline: 0;
  background: var(--blue);
  color: var(--ink);
}

.offer-service-toggle__panels > .offer-index__list--toggle {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.offer-service-toggle__panels > .offer-index__list--toggle[hidden] {
  display: none;
}

.offer-index__list--toggle .offer-index__item:nth-child(odd) {
  border-right: 1px solid var(--offer-line);
}

.offer-index__list > .offer-detail {
  grid-column: 1 / -1;
  border-bottom: 1px solid var(--offer-line);
}

.offer-index__group {
  min-width: 0;
  border-right: 1px solid var(--offer-line);
}

.offer-index__group:last-child {
  border-right: 0;
}

.offer-index__group-toggle,
.offer-index__item {
  width: 100%;
  border: 0;
  border-bottom: 1px solid var(--offer-line);
  border-radius: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
}

.offer-index__group-toggle {
  display: flex;
  min-height: 6.25rem;
  align-items: flex-end;
  justify-content: space-between;
  padding: 1.25rem var(--cell-pad);
  cursor: default;
  font-size: var(--type-heading-small);
  line-height: 1.05;
  pointer-events: none;
}

.offer-index__group-toggle i,
.offer-index__item i {
  position: relative;
  display: block;
  width: 1.15rem;
  height: 1.15rem;
  flex: 0 0 auto;
}

.offer-index__group-toggle i::before,
.offer-index__group-toggle i::after,
.offer-index__item i::before,
.offer-index__item i::after {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 1px;
  background: currentColor;
  content: "";
  transition: opacity 440ms ease;
}

.hero-scoreboard--industries .hero-scoreboard__track.is-changing {
  opacity: 0;
  transition-duration: 240ms;
}

.offer-index__group-toggle i::after,
.offer-index__item i::after {
  transform: rotate(90deg);
}

.offer-index__item[aria-expanded="true"] i::after,
.offer-index__group-toggle[aria-expanded="true"] i::after {
  transform: rotate(0);
}

.offer-index__group-toggle i {
  display: none;
}

.offer-index__item {
  display: flex;
  min-height: 5.4rem;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  padding: 1rem var(--cell-pad);
  cursor: pointer;
  font-size: var(--type-body-standard);
  line-height: 1.08;
  transition: background-color 160ms ease, color 160ms ease;
}

.offer-index__item:hover,
.offer-index__item:focus-visible,
.offer-index__item[aria-expanded="true"] {
  outline: 0;
  background: var(--blue);
  color: var(--ink);
}

.offer-index__item[aria-expanded="true"] {
  --content-opacity: 1;
  opacity: 1;
}

.offer-detail-stage:has(.offer-detail:not([hidden])) {
  border-top: 1px solid var(--offer-line);
}

.offer-detail[hidden] {
  display: none;
}

.offer-detail > header {
  position: relative;
  display: grid;
  min-height: clamp(16rem, 22vw, 18rem);
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: auto 1fr;
  background: var(--blue);
  color: var(--ink);
}

.offer-detail > header::after {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
  background: rgb(255 255 255 / 35%);
  content: "";
}

.offer-detail > header h3 {
  grid-column: 1;
  grid-row: 2;
  align-self: end;
  margin: 0;
  padding: 0 var(--cell-pad) clamp(2.5rem, 5vw, 5rem);
  font-size: var(--type-heading-small);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 0.88;
}

.offer-detail > header > p:last-child {
  grid-column: 2;
  grid-row: 1 / -1;
  align-self: end;
  max-width: 37rem;
  margin: 0;
  padding: var(--cell-pad) var(--cell-pad) clamp(2.5rem, 5vw, 5rem);
  font-size: var(--type-body-large);
  line-height: 1.25;
}

.offer-detail > .offer-tags {
  margin: clamp(2rem, 4vw, 4rem) var(--cell-pad);
}

.offer-detail--engineering > .offer-subdisclosures {
  margin: 0;
}

.capability-marquee__track {
  display: flex;
  width: max-content;
  animation: capability-slide 30s linear infinite;
  will-change: transform;
}

.capability-marquee__track span {
  flex: none;
  padding: 0.36em 0.55em 0.48em 0;
  font-size: var(--type-heading-small);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 0.88;
  white-space: nowrap;
}

@keyframes capability-slide {
  to {
    transform: translateX(-50%);
  }
}

.quality-row {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  background: var(--paper);
}

.quality-row__item {
  min-width: 0;
  padding: clamp(1.5rem, 3vw, 3.5rem) var(--cell-pad);
  font-size: var(--type-heading-large);
  font-weight: 400;
  line-height: 0.9;
  animation: quality-cycle 6s step-end infinite;
}

.quality-row__item + .quality-row__item {
  border-left: 1px solid var(--border);
}

.quality-row__item:nth-child(2) {
  animation-delay: -4s;
}

.quality-row__item:nth-child(3) {
  animation-delay: -2s;
}

@keyframes quality-cycle {
  0%, 32% {
    background: var(--blue);
    color: var(--ink);
  }
  32.01%, 100% {
    background: var(--paper);
    color: var(--ink);
  }
}

.text-link {
  display: inline-block;
  width: fit-content;
  margin-top: 1.2rem;
  border-bottom: 1px solid currentColor;
  font-size: var(--type-body-standard);
  font-weight: 400;
  text-decoration: none;
}

.page--home .home-process-row .text-link {
  display: none;
}

.table-wrap {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--type-body-standard);
  line-height: 1.4;
}

th,
td {
  min-width: 10rem;
  padding: 0.9rem;
  border: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
  transition: background-color 100ms ease;
}

table .is-table-highlight {
  background: var(--blue);
  color: var(--ink);
}

thead th {
  font-size: var(--type-body-standard);
  font-weight: 400;
}

tbody th {
  font-weight: 400;
}

.placeholder {
  min-height: 8rem;
  padding: 1rem;
  border: 1px solid var(--border);
  background: repeating-linear-gradient(0deg, transparent 0 7px, var(--border) 7px 8px);
  color: transparent;
}

.webgl-stage {
  position: relative;
  grid-column: 2;
  align-self: stretch;
  min-width: 0;
  min-height: clamp(30rem, 52vw, 52rem);
  margin: 0;
  overflow: hidden;
  background: var(--blue);
}

.webgl-stage--icon {
  background: var(--mist);
}

.webgl-stage--footer {
  min-height: 60vh;
  background: var(--ink);
}

.webgl-stage canvas {
  width: 100%;
  height: 100%;
  min-height: inherit;
  cursor: grab;
  touch-action: none;
}

.webgl-stage canvas:active,
.webgl-stage canvas.is-dragging {
  cursor: grabbing;
}

.webgl-stage canvas[data-form="cone-open"],
.webgl-stage canvas[data-form="cone-close"] {
  cursor: ew-resize;
}

.webgl-stage canvas[data-form="radiate"] {
  cursor: crosshair;
}

.webgl-stage__toggle {
  position: absolute;
  z-index: 2;
  top: 0.8rem;
  left: 0.8rem;
  display: grid;
  width: 2.2rem;
  height: 2.2rem;
  padding: 0;
  place-items: center;
  border: 1px solid var(--ink);
  background: var(--blue);
  color: var(--ink);
  cursor: pointer;
  font-size: var(--type-body-standard);
}

.webgl-stage--fallback::before,
.no-js .webgl-stage::before {
  position: absolute;
  inset: 12%;
  border: 2px solid var(--ink);
  border-radius: 50%;
  content: "";
}

.webgl-stage--icon.webgl-stage--fallback::before,
.no-js .webgl-stage--icon::before {
  inset: 18%;
  border: 0;
  border-radius: 0;
  background: center / contain no-repeat url("../img/tb-icon.svg");
}

.no-js .webgl-stage__toggle {
  display: none;
}

.client-field {
  border-top: 1px solid var(--border);
  background: rgb(255 255 255 / 94%);
  color: var(--ink);
}

.client-field__intro {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-bottom: 1px solid var(--border);
  font-size: var(--type-body-standard);
  font-weight: 400;
}

.client-field__intro span {
  padding: 1rem var(--cell-pad);
}

.client-field__intro span:first-child {
  border-right: 1px solid var(--border);
}

.client-marquee {
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}

.client-marquee__track {
  display: flex;
  width: max-content;
  animation: logo-slide var(--client-marquee-duration, 175s) linear infinite;
  will-change: transform;
}

.client-marquee--reverse .client-marquee__track {
  animation-direction: reverse;
}

.client-field ul {
  display: flex;
  flex: none;
  margin: 0;
  padding: 0;
  list-style: none;
}

.client-field li {
  display: grid;
  flex: 0 0 clamp(14rem, 20vw, 22rem);
  height: clamp(10rem, 14vw, 15rem);
  padding: clamp(1.75rem, 3vw, 3.5rem);
  place-items: center;
  border-right: 1px solid var(--border);
}

.client-field img {
  width: 100%;
  height: 100%;
  max-width: 90%;
  max-height: 10rem;
  object-fit: contain;
  filter: grayscale(1) contrast(1.2);
  mix-blend-mode: multiply;
}

.home-turnbuckle .content-shell {
  min-height: 0;
  padding: 0;
}

.home-turnbuckle .content-shell > * {
  min-width: 0;
  margin: 0;
}

.turnbuckle-map {
  position: relative;
  grid-column: 1;
  grid-row: 1;
  display: grid;
  width: 100%;
  aspect-ratio: auto;
  align-self: stretch;
  grid-template-rows: minmax(0, 1fr) auto;
  min-height: 50vw;
  overflow: hidden;
  background: var(--blue);
  color: var(--ink);
}

.client-map__viewport {
  position: relative;
  min-height: 0;
  overflow: hidden;
}

.client-globe {
  cursor: grab;
  touch-action: none;
  user-select: none;
}

.client-globe.is-dragging {
  cursor: grabbing;
}

.client-globe__canvas {
  display: block;
  width: 100%;
  height: 100%;
}

.client-globe__markers {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.client-globe .client-map__marker {
  position: absolute;
  width: 1.75rem;
  height: 1.75rem;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, -50%);
  transition: opacity 120ms ease;
}

.client-globe .client-map__marker::before {
  position: absolute;
  inset: 50% auto auto 50%;
  width: 0.48rem;
  height: 0.48rem;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--paper);
  content: attr(data-cluster-count);
  display: grid;
  place-items: center;
  transform: translate(-50%, -50%);
  transition: width 150ms ease, height 150ms ease, background-color 150ms ease;
}

.client-globe .client-map__marker[data-cluster-count] {
  width: 3rem;
  height: 3rem;
}

.client-globe .client-map__marker[data-cluster-count]::before {
  width: 2rem;
  height: 2rem;
  color: var(--ink);
  font-size: var(--type-body-standard);
  font-weight: 400;
  line-height: 1;
}

.client-globe .client-map__marker:is(:hover, :focus-visible, .is-client-active, .is-tour-active)::before {
  width: 0.8rem;
  height: 0.8rem;
  outline: 2px solid var(--paper);
  outline-offset: 0.2rem;
  background: var(--ink);
}

.client-globe .client-map__marker[data-cluster-count]:is(:hover, :focus-visible, .is-client-active, .is-tour-active)::before {
  width: 2.35rem;
  height: 2.35rem;
  background: var(--ink);
  color: var(--paper);
}

.client-globe .client-map__marker[data-globe-hidden] {
  opacity: 0;
  pointer-events: none;
}

.client-globe__region {
  position: absolute;
  top: 1rem;
  left: 1rem;
  max-width: calc(100% - 2rem);
  padding: 0.55rem 0.7rem;
  border: 1px solid rgb(255 255 255 / 38%);
  background: #e9e9e9;
  color: var(--ink);
  font-size: var(--type-body-standard);
  font-weight: 400;
  pointer-events: none;
}

.client-globe__tooltip {
  position: absolute;
  z-index: 4;
  right: 0;
  bottom: 0;
  left: 0;
  display: grid;
  grid-template-columns: clamp(8.5rem, 14vw, 13rem) minmax(0, 1fr);
  border: 0;
  background: var(--paper);
  color: var(--ink);
  pointer-events: none;
}

.client-globe__tooltip-logo {
  display: grid;
  min-height: clamp(9rem, 14vw, 13rem);
  padding: clamp(1rem, 2vw, 1.8rem);
  place-items: center;
  border-right: 0;
  background: var(--mist);
}

.client-globe__tooltip-logo img {
  width: 100%;
  max-width: 9rem;
  max-height: 7rem;
  object-fit: contain;
  filter: grayscale(1) contrast(1.2);
  mix-blend-mode: multiply;
  opacity: 0.92;
}

.client-globe__tooltip-copy {
  display: grid;
  gap: 0.65rem;
  min-width: 0;
  align-content: center;
  padding: clamp(1.1rem, 2vw, 1.8rem);
}

.client-globe__tooltip[hidden] {
  display: none;
}

.client-globe__tooltip[data-client-card-disabled] {
  display: none !important;
}

.client-globe__tooltip span {
  font-size: var(--type-body-standard);
  font-weight: 400;
}

.client-globe__tooltip strong {
  font-size: var(--type-heading-small);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 0.82;
}

.client-globe__tooltip p {
  max-width: 42rem;
  margin: 0;
  font-size: var(--type-body-large);
  font-weight: 400;
  line-height: 1.15;
}

.turnbuckle-map svg {
  display: block;
  width: 100%;
  height: 100%;
}

.client-map__countries path {
  fill: rgb(255 255 255 / 7%);
  stroke: rgb(255 255 255 / 48%);
  stroke-width: 1.5;
  vector-effect: non-scaling-stroke;
}

.client-map__marker {
  cursor: pointer;
  outline: 0;
}

.client-map__marker-hit {
  fill: transparent;
  stroke: none;
}

.client-map__marker-dot {
  fill: var(--paper);
  stroke: var(--ink);
  stroke-width: 2;
  vector-effect: non-scaling-stroke;
  transition: r 150ms ease, fill 150ms ease;
}

.client-map__marker-ring {
  fill: none;
  stroke: var(--paper);
  stroke-width: 2;
  opacity: 0;
  vector-effect: non-scaling-stroke;
  transition: opacity 150ms ease, r 150ms ease;
}

.client-map__marker:is(:hover, :focus-visible, .is-client-active) .client-map__marker-dot {
  r: 6px;
  fill: var(--ink);
}

.client-map__marker:is(:hover, :focus-visible, .is-client-active) .client-map__marker-ring {
  r: 11px;
  opacity: 1;
}

.client-map__base circle:first-child {
  fill: none;
  stroke: var(--paper);
  stroke-width: 1.5;
  vector-effect: non-scaling-stroke;
}

.client-map__base circle:nth-child(2) {
  fill: var(--paper);
}

.client-map__base text {
  fill: var(--paper);
  font-family: var(--font);
  font-size: 12px;
  font-weight: 400;
}

.client-map__footer {
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  min-height: 3rem;
  padding: 0.75rem 1rem;
  border-top: 1px solid rgb(255 255 255 / 45%);
  background: #e9e9e9;
  font-size: var(--type-body-standard);
  font-weight: 400;
}

.client-map__footer span:last-child {
  max-width: 19rem;
  text-align: right;
  opacity: 0.72;
}

.turnbuckle-map .client-field {
  min-width: 0;
  overflow: hidden;
  border-top: 1px solid rgb(255 255 255 / 45%);
  background: var(--blue);
  color: var(--ink);
}

.turnbuckle-map .client-field__intro {
  border-color: rgb(255 255 255 / 30%);
  color: var(--paper);
}

.turnbuckle-map .client-field__intro span {
  padding: 0.65rem 1rem;
}

.turnbuckle-map .client-field__intro span:first-child,
.turnbuckle-map .client-marquee,
.turnbuckle-map .client-field li {
  border-color: rgb(255 255 255 / 28%);
}

.turnbuckle-map .client-field li {
  flex-basis: clamp(15rem, 20vw, 20rem);
  height: clamp(8rem, 9vw, 10rem);
  padding: 1.5rem 2rem;
}

.turnbuckle-map .client-field img,
.turnbuckle-map .client-field.is-map-focused li.is-client-focused img {
  max-width: 88%;
  max-height: 7rem;
  filter: grayscale(1) brightness(0) invert(1);
  mix-blend-mode: normal;
}

.turnbuckle-map .client-field.is-map-focused li {
  opacity: 0.16;
}

.turnbuckle-map .client-field.is-map-focused li.is-client-focused {
  background: rgb(255 255 255 / 12%);
  opacity: 1;
}

.turnbuckle-map .client-field.is-region-filtered li {
  display: none;
}

.turnbuckle-map .client-field.is-region-filtered li.is-region-visible {
  display: grid;
}

.client-region-empty {
  height: clamp(8rem, 9vw, 10rem);
  overflow: hidden;
  border-bottom: 1px solid rgb(255 255 255 / 28%);
  color: var(--paper);
}

.client-region-empty[hidden] {
  display: none;
}

.client-region-empty__track {
  display: flex;
  width: max-content;
  height: 100%;
  align-items: center;
  animation: logo-slide 16s linear infinite;
  will-change: transform;
}

.client-region-empty__track span {
  display: block;
  flex: none;
  padding-right: 0.22em;
  font-size: var(--type-heading-large);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 0.82;
  white-space: nowrap;
}

.turnbuckle-copy {
  grid-column: 2;
  grid-row: 1;
  display: flex;
  width: 100%;
  aspect-ratio: auto;
  min-height: 50vw;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2rem, 3vw, 3rem) var(--cell-pad);
}

.turnbuckle-copy .turnbuckle-intro {
  max-width: 22ch;
  margin: 0 0 clamp(1.5rem, 3vw, 2.5rem);
  font-size: var(--type-heading-small);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 0.98;
}

.turnbuckle-copy p {
  max-width: 44rem;
  margin: 0 0 0.9rem;
  line-height: 1.35;
}

.client-marquee__track {
  transition: transform 600ms cubic-bezier(0.22, 1, 0.36, 1);
}

.client-marquee__track.is-resetting {
  transition: none;
}

.client-field--map {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.client-field--map .client-marquee {
  overflow-x: auto;
  overflow-y: hidden;
  border-bottom: 0;
  overscroll-behavior-inline: contain;
  scroll-snap-type: x proximity;
  scrollbar-color: #8a8a8a var(--paper);
  scrollbar-width: thin;
  touch-action: pan-x;
}

.client-field--map .client-marquee::-webkit-scrollbar {
  height: 6px;
}

.client-field--map .client-marquee::-webkit-scrollbar-track {
  background: var(--paper);
}

.client-field--map .client-marquee::-webkit-scrollbar-thumb {
  background: #8a8a8a;
}

.client-field--map .client-marquee__track {
  animation: none;
  will-change: auto;
}

.client-field--map li {
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: minmax(0, 1fr);
  flex-basis: clamp(13rem, 19vw, 20rem);
  width: clamp(13rem, 19vw, 20rem);
  min-width: 0;
  height: clamp(8rem, 11vw, 11rem);
  contain: paint;
  overflow: hidden;
  padding: clamp(0.9rem, 1.35vw, 1.5rem);
  cursor: pointer;
  isolation: isolate;
  scroll-snap-align: center;
}

.client-field--map .client-logo__image {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  box-shadow: none;
  filter: grayscale(1);
  mix-blend-mode: normal;
  object-fit: contain;
  opacity: 0.65;
  transition: opacity 180ms ease;
}

.client-field--map li:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: -2px;
}

.client-field.is-map-focused .client-marquee__track {
  animation: none;
}

.client-field.is-map-focused li {
  opacity: 1;
  transition: opacity 180ms ease, background-color 180ms ease;
}

.client-field.is-map-focused li.is-client-focused {
  background: transparent;
  opacity: 1;
}

.client-field.is-map-focused li.is-client-focused .client-logo__image {
  filter: grayscale(1);
  opacity: 1;
}

@keyframes logo-slide {
  to {
    transform: translateX(-50%);
  }
}

.site-footer {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid rgb(255 255 255 / 20%);
  background: var(--ink);
  color: var(--paper);
}

.footer-mark {
  position: relative;
  isolation: isolate;
  display: grid;
  min-height: 60vh;
  overflow: hidden;
  place-items: center;
  padding: var(--cell-pad);
  border-right: 1px solid rgb(255 255 255 / 20%);
  background: var(--ink);
}

.brand-pattern {
  position: absolute;
  width: 2400px;
  height: 1000px;
  max-width: none;
  overflow: hidden;
  pointer-events: none;
  shape-rendering: geometricPrecision;
}

.brand-pattern__mark {
  opacity: 0;
  transform: translate(-54px, var(--tile-entry-y)) rotate(var(--tile-entry-rotate)) scale(0.88);
  transform-box: fill-box;
  transform-origin: center;
  will-change: opacity, transform;
}

.brand-pattern.is-revealed .brand-pattern__mark {
  animation: brand-pattern-tile-arrive 620ms cubic-bezier(0.22, 0.61, 0.36, 1) var(--tile-delay) both;
}

.brand-pattern__trace {
  opacity: 0;
}

.no-js .brand-pattern__mark {
  opacity: 1;
  transform: none;
}

.no-js .footer-pattern {
  opacity: 1;
}

@keyframes brand-pattern-tile-arrive {
  0% {
    opacity: 0;
    transform: translate(-54px, var(--tile-entry-y)) rotate(var(--tile-entry-rotate)) scale(0.88);
  }

  78% {
    opacity: 1;
    transform: translate(0, 0) rotate(0) scale(1);
  }

  100% {
    opacity: 1;
    transform: translate(0, 0) rotate(0) scale(1);
  }
}

.footer-pattern {
  z-index: 0;
  top: 0;
  left: 0;
  opacity: 0;
}

.footer-pattern.is-aligned {
  opacity: 1;
}

/* Footer motion studies. The unqualified footer keeps the established tile wave. */
.footer-mark.footer-motion--radial::after {
  position: absolute;
  z-index: 0;
  top: var(--footer-anchor-y, 50%);
  left: var(--footer-anchor-x, 50%);
  width: var(--footer-pulse-size, 140vmax);
  height: var(--footer-pulse-size, 140vmax);
  border-radius: 50%;
  background: radial-gradient(circle, rgb(30 30 30 / 24%) 0 10%, rgb(30 30 30 / 17%) 25%, rgb(30 30 30 / 8%) 43%, transparent 68%);
  content: '';
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -50%) scale(0.02);
}

.footer-mark.footer-motion--radial.is-pattern-revealed::after {
  animation: footer-radial-signal 2.35s cubic-bezier(0.16, 0.72, 0.28, 1) 1.2s both;
}

.footer-pattern.footer-motion--radial.is-revealed .brand-pattern__mark {
  animation: footer-radial-tile-reveal 460ms ease-out var(--tile-radial-delay) both;
  opacity: 0;
  transform: none;
}

.footer-pattern.footer-motion--clusters.is-revealed .brand-pattern__mark {
  animation: none;
  opacity: 0;
  transform: none;
}

.footer-pattern.footer-motion--clusters.is-revealed .brand-pattern__tile.is-sampled .brand-pattern__mark {
  animation: footer-cluster-sample 1.5s ease-in-out both;
}

.footer-pattern.footer-motion--clusters.is-revealed.is-flashing .brand-pattern__mark {
  animation: footer-cluster-release 3s cubic-bezier(0.22, 0.7, 0.26, 1) both;
}

.footer-pattern.footer-motion--clusters.is-revealed.is-released .brand-pattern__mark {
  animation: none;
  opacity: 1;
}

.brand-pattern.brand-pattern--trace.is-revealed .brand-pattern__mark {
  animation: none;
  opacity: 1;
  transform: none;
}

.brand-pattern.brand-pattern--trace .brand-pattern__fill {
  opacity: 0;
}

.brand-pattern.brand-pattern--trace .brand-pattern__trace {
  display: none;
}

.brand-pattern.brand-pattern--trace.is-revealed .brand-pattern__fill {
  animation: footer-trace-fill 860ms cubic-bezier(0.3, 0.72, 0.38, 1) var(--tile-trace-delay) both;
}

@keyframes footer-radial-signal {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.02);
  }

  12% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(1);
  }
}

@keyframes footer-radial-tile-reveal {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes footer-cluster-sample {
  0%, 100% { opacity: 0; }
  14%, 80% { opacity: 0.86; }
}

@keyframes footer-cluster-release {
  0% { opacity: 0; }
  20%, 100% { opacity: 1; }
}

@keyframes footer-trace-fill {
  0% { opacity: 0; }
  16% { opacity: 0.12; }
  100% { opacity: 1; }
}

.js .offer-wireframe__header > h1,
.js .offer-wireframe__header > .offer-wireframe__intro {
  opacity: 0;
  transform: translate3d(0, 0.9rem, 0);
}

.js .offer-wireframe__header.is-pattern-revealed > h1 {
  animation: pattern-copy-settle 720ms cubic-bezier(0.22, 1, 0.36, 1) 2.25s both;
}

.js .offer-wireframe__header.is-pattern-revealed > .offer-wireframe__intro {
  animation: pattern-copy-settle 720ms cubic-bezier(0.22, 1, 0.36, 1) 2.42s both;
}

@keyframes pattern-copy-settle {
  from {
    opacity: 0;
    transform: translate3d(0, 0.9rem, 0);
  }

  to {
    opacity: var(--content-opacity, 1);
    transform: translate3d(0, 0, 0);
  }
}

.footer-mark__logo {
  position: relative;
  z-index: 2;
  width: min(72%, 34rem);
  aspect-ratio: 433.852 / 46.4;
}

.footer-mark__logo-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.footer-mark__logo-layer--icon {
  clip-path: inset(0 76.38% 0 0);
}

.footer-mark__logo-layer--wordmark {
  clip-path: inset(0 0 0 30.56%);
}

.js .footer-mark__logo-layer {
  opacity: 0;
  transform: translate3d(0, 0.65rem, 0);
}

.js .footer-mark.is-pattern-revealed .footer-mark__logo-layer--icon {
  animation: pattern-copy-settle 620ms cubic-bezier(0.22, 1, 0.36, 1) 2.2s both;
}

.js .footer-mark.is-pattern-revealed .footer-mark__logo-layer--wordmark {
  animation: pattern-copy-settle 680ms cubic-bezier(0.22, 1, 0.36, 1) 2.68s both;
}

.footer-contact {
  display: grid;
  align-content: center;
  justify-items: center;
  padding: clamp(4rem, 8vw, 8rem) var(--cell-pad);
  font-size: var(--type-body-standard);
  text-align: center;
}

.footer-contact p {
  margin: 0 0 2rem;
}

.footer-meta {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  padding: 1rem var(--cell-pad);
  border-top: 1px solid rgb(255 255 255 / 20%);
  font-size: var(--type-body-standard);
}

body :where(
  p,
  figcaption,
  td,
  th,
  label,
  dt,
  dd,
  .text-link,
  .header-whatsapp,
  .footer-meta > span,
  .footer-meta > a,
  .offer-index__item,
  .offer-tags li,
  .client-map__status,
  .client-globe__region
) {
  --content-opacity: 0.65;
  opacity: var(--content-opacity);
}

.js .scroll-text-reveal {
  opacity: 0;
  transform: translate3d(0, 0.9rem, 0);
  transition:
    opacity 680ms ease var(--text-reveal-delay, 0ms),
    transform 760ms cubic-bezier(0.22, 1, 0.36, 1) var(--text-reveal-delay, 0ms);
  will-change: opacity, transform;
}

.js .scroll-text-reveal.is-visible {
  opacity: var(--content-opacity, 1);
  transform: translate3d(0, 0, 0);
}


@media (max-width: 820px) {
  :root {
    --header-height: 4rem;
    --type-heading-large: clamp(3.35rem, 12vw, 6rem);
    --type-heading-small: clamp(2rem, 8.5vw, 3rem);
  }

  .header-whatsapp { justify-content: center; }

  .content-section,
  .content-shell,
  .client-field__intro,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .content-shell,
  .has-graphic .content-shell {
    grid-column: 1;
    display: block;
    padding: 4.75rem 0;
    border-right: 0;
  }

  .has-graphic.graphic-left .content-shell {
    grid-column: 1;
    grid-row: 2;
    border-left: 0;
  }

  .graphic-left .webgl-stage {
    grid-column: 1;
    grid-row: 1;
  }

  .home-process-row .content-shell {
    min-height: 0;
    padding-block: 2rem;
  }

  .home-process-row .content-shell > p:last-of-type {
    margin-bottom: 0;
  }

  .content-shell::after {
    display: none;
  }

  .content-shell > * {
    margin-right: var(--cell-pad);
    margin-left: var(--cell-pad);
  }

  .content-shell > h1 {
    font-size: var(--type-heading-large);
  }

  .hero-section .content-shell > h1:first-child {
    font-size: clamp(4rem, 16vw, 7rem);
  }

  .page--home .hero-section .content-shell > h1:first-child {
    font-size: clamp(2.25rem, 11.5vw, 6rem);
  }

  .content-shell > h2 {
    font-size: var(--type-heading-small);
  }

  .home-offer-row .content-shell {
    padding: 0;
  }

  .home-offer-row .content-shell > .offer-wireframe {
    margin: 0;
  }

  .offer-wireframe__header,
  .offer-products > header {
    min-height: 0;
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .offer-wireframe__header::after {
    display: none;
  }

  .offer-wireframe__header > .offer-products-pattern-clip {
    inset: 0;
  }

  .offer-products-pattern-clip > .brand-pattern {
    left: 0;
  }

  .offer-wireframe__header :is(h1, h2),
  .offer-wireframe__intro,
  .offer-products > header > p:first-child,
  .offer-products > header h2,
  .offer-products > header > p:last-child {
    grid-column: 1;
    grid-row: auto;
    border-right: 0;
  }

  .offer-wireframe__header :is(h1, h2) {
    padding-top: clamp(5rem, 14vw, 8rem);
    padding-bottom: 2.5rem;
  }

  .offer-wireframe__intro {
    padding-top: 0;
    padding-bottom: 3.5rem;
  }

  .offer-index {
    grid-template-columns: 1fr;
  }

  .offer-index--products > .offer-index__list--products {
    display: grid;
    grid-template-columns: 1fr;
  }

  .offer-index__list--products .offer-index__item:nth-child(odd) {
    border-right: 0;
  }

  .offer-index--stage > .offer-index__list--stage {
    display: grid;
    grid-template-columns: 1fr;
  }

  .offer-index__list--stage > .offer-index__item:nth-of-type(odd) {
    border-right: 0;
  }

  .offer-service-toggle__controls button {
    min-height: 6.5rem;
    padding: 1.25rem;
    font-size: var(--type-heading-small);
  }

  .offer-service-toggle__panels > .offer-index__list--toggle {
    grid-template-columns: 1fr;
  }

  .offer-index__list--toggle .offer-index__item:nth-child(odd) {
    border-right: 0;
  }

  .offer-index__group,
  .offer-index__group:last-child {
    border-right: 0;
  }

  .offer-index__group-toggle {
    min-height: 6rem;
    align-items: center;
    cursor: pointer;
    pointer-events: auto;
  }

  .offer-index__group-toggle:hover,
  .offer-index__group-toggle:focus-visible {
    outline: 0;
    background: rgb(255 255 255 / 6%);
  }

  .offer-index__group-toggle i {
    display: block;
  }

  .offer-index__list {
    display: none;
  }

  .offer-index__group.is-group-open > .offer-index__list {
    display: block;
  }

  .offer-index__item {
    padding-left: calc(var(--cell-pad) * 1.5);
  }

  .offer-index__list > .offer-detail {
    border-bottom: 1px solid var(--offer-line);
  }

  .offer-detail > header {
    min-height: 0;
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .offer-detail > header::after {
    display: none;
  }

  .offer-detail > header h3,
  .offer-detail > header > p:last-child {
    grid-column: 1;
    grid-row: auto;
    border-right: 0;
  }

  .offer-detail > header h3 {
    padding-top: clamp(1.5rem, 5vw, 2.5rem);
    padding-bottom: 1.5rem;
  }

  .offer-detail > header > p:last-child {
    padding-top: 0;
    padding-bottom: 3rem;
  }

  .offer-detail > .offer-tags {
    margin: 1.5rem var(--cell-pad) 2.5rem;
  }

  .offer-detail--engineering > .offer-subdisclosures {
    margin: 0;
  }

  .offer-disclosure > summary {
    min-height: 0;
    grid-template-columns: 2.5rem minmax(0, 1fr) 1.4rem;
    gap: 0.75rem 1rem;
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
  }

  .offer-disclosure__number {
    grid-column: 1;
    grid-row: 1;
  }

  .offer-disclosure__title {
    grid-column: 2;
    grid-row: 1;
  }

  .offer-disclosure__toggle {
    grid-column: 3;
    grid-row: 1;
  }

  .offer-disclosure__summary,
  .offer-disclosure__count {
    grid-column: 2 / -1;
  }

  .offer-disclosure__summary {
    margin-top: 0.5rem;
  }

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

  .offer-subdisclosure > summary {
    grid-template-columns: minmax(0, 1fr) 1.15rem;
    gap: 0.7rem 1rem;
  }

  .offer-subdisclosure summary > span {
    grid-column: 1;
    grid-row: 1;
  }

  .offer-subdisclosure summary > strong {
    grid-column: 1;
    grid-row: 1;
  }

  .offer-subdisclosure summary > i {
    grid-column: 2;
    grid-row: 1;
  }

  .offer-subdisclosure summary > em {
    grid-column: 1 / -1;
  }

  .offer-subdisclosure > div {
    padding: 1.5rem var(--cell-pad) 2.5rem;
  }

  .offer-products > header h2 {
    padding-top: 4rem;
    padding-bottom: 2rem;
  }

  .offer-products > header > p:last-child {
    padding-top: 0;
    padding-bottom: 3rem;
  }

  .offer-products__grid {
    grid-template-columns: 1fr;
  }

  .offer-product:nth-child(odd) {
    border-right: 0;
  }

  .webgl-stage {
    grid-column: 1;
    min-height: min(100vw, 42rem);
    border-top: 1px solid var(--border);
  }

  .page--home .hero-section .content-shell {
    min-height: 0;
    height: auto;
    align-self: start;
    padding-block: 2rem;
  }

  .page--home .hero-section .content-shell > h1 {
    margin-bottom: 1.5rem;
  }

  .page--home .hero-section .content-shell > p:last-child {
    margin-bottom: 0;
  }

  .page--home .hero-section .webgl-stage {
    aspect-ratio: 1;
    min-height: 0;
    height: auto;
    align-self: start;
  }

  .page--home .hero-section .webgl-stage canvas {
    position: absolute;
    inset: 0;
    height: 100%;
    min-height: 0;
  }

  .client-field__intro span:first-child {
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }

  .client-field li {
    flex-basis: 14rem;
    height: 10rem;
  }

  .home-turnbuckle .content-shell,
  .home-turnbuckle .content-shell > * {
    display: block;
  }

  .home-turnbuckle .content-shell {
    min-height: 0;
    padding: 0;
  }

  .turnbuckle-map {
    min-height: 100vw;
    border-bottom: 1px solid var(--border);
  }

  .turnbuckle-map .client-field__intro {
    grid-template-columns: 4rem 1fr;
  }

  .turnbuckle-map .client-field__intro span:first-child {
    border-right: 1px solid rgb(255 255 255 / 28%);
    border-bottom: 0;
  }

  .turnbuckle-map .client-field li {
    flex-basis: 44vw;
    height: 8rem;
    padding: 1.35rem 1.5rem;
  }

  .client-region-empty {
    height: 8rem;
  }

  .client-region-empty__track span {
    font-size: var(--type-heading-large);
  }

  .client-globe__tooltip {
    grid-template-columns: 7rem minmax(0, 1fr);
  }

  .client-globe__tooltip-logo {
    min-height: 8.5rem;
    padding: 0.85rem;
  }

  .client-globe__tooltip-copy {
    gap: 0.45rem;
    padding: 0.85rem;
  }

  .client-globe__tooltip strong {
    font-size: var(--type-heading-small);
  }

  .turnbuckle-copy {
    display: flex;
    min-height: 0;
    padding: clamp(1.5rem, 5vw, 2.5rem) var(--cell-pad);
  }

  .turnbuckle-copy .turnbuckle-intro {
    max-width: none;
    font-size: var(--type-heading-small);
  }

  .footer-mark {
    min-height: min(82vw, 32rem);
    border-right: 0;
    border-bottom: 1px solid rgb(255 255 255 / 20%);
  }

  .footer-mark__logo {
    width: min(78%, 28rem);
  }

  .footer-meta {
    grid-column: 1;
  }


}

@media (max-width: 520px) {
  :root {
    --type-heading-large: clamp(3rem, 15vw, 4.8rem);
  }

  .wordmark,
  .header-whatsapp {
    padding-right: 1rem;
    padding-left: 1rem;
  }

  .header-whatsapp {
    padding-right: 1rem;
  }

  .header-whatsapp__label {
    display: none;
  }

  .turnbuckle-copy {
    min-height: 0;
    padding-top: 3rem;
    padding-bottom: 3rem;
  }

  .content-shell > h1 {
    font-size: var(--type-heading-large);
  }

  .offer-tags,
  .offer-product .offer-tags {
    grid-template-columns: 1fr;
  }

  .offer-disclosure__body {
    padding-right: 1.25rem;
    padding-left: 1.25rem;
  }

  .offer-subdisclosure > div {
    padding-left: 0;
  }


  .hero-section .content-shell > h1:first-child {
    font-size: clamp(4rem, 18vw, 6rem);
  }

  .page--home .hero-section .content-shell > h1:first-child {
    font-size: clamp(2.25rem, 11.5vw, 6rem);
  }

  .footer-meta {
    gap: 1rem;
    align-items: center;
    flex-direction: row;
    padding-bottom: calc(1rem + env(safe-area-inset-bottom, 0px));
  }

  .client-map__footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .client-map__footer span:last-child {
    text-align: left;
  }


}

@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;
  }

  .quality-row__item {
    animation: none;
  }

  .quality-row__item:first-child {
    background: var(--blue);
    color: var(--ink);
  }

  .hero-scoreboard__track,
  .capability-marquee__track,
  .client-marquee__track {
    animation: none;
    transform: none;
  }


  .js .scroll-text-reveal,
  .js .offer-wireframe__header > h1,
  .js .offer-wireframe__header > .offer-wireframe__intro,
  .js .footer-mark__logo-layer {
    animation: none;
    opacity: 1;
    transform: none;
    transition: none;
  }

  .brand-pattern.is-revealed .brand-pattern__mark {
    animation: none;
    opacity: 1;
    transform: none;
  }

  .pattern-tone-overlay {
    animation: none;
    background-position: 50% 50%;
  }

  .footer-pattern.footer-motion--radial.is-revealed .brand-pattern__mark,
  .footer-pattern.footer-motion--clusters.is-revealed .brand-pattern__mark,
  .brand-pattern.brand-pattern--trace.is-revealed .brand-pattern__mark {
    animation: none;
    opacity: 1;
    transform: none;
  }

  .brand-pattern.brand-pattern--trace .brand-pattern__fill {
    animation: none;
    opacity: 1;
  }

  .brand-pattern.brand-pattern--trace .brand-pattern__trace,
  .footer-mark.footer-motion--radial::after {
    display: none;
    animation: none;
  }

}

@media print {
  .site-header,
  .webgl-stage,
  .site-footer {
    display: none;
  }

  main {
    padding-top: 0;
  }

  .content-section,
  .content-shell {
    display: block;
    break-inside: avoid;
    background: white;
  }

  .content-shell::after {
    display: none;
  }
}

/* The four process graphics fill the existing column edge to edge. */
.process-overview { position: relative; grid-column: 2; min-width: 0; align-self: stretch; padding: 0; }
.process-overview__grid { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--border); }
.process-overview__item { position: relative; display: block; min-width: 0; min-height: 0; background: var(--mist); color: var(--ink); text-decoration: none; }
.process-overview .webgl-stage { position: absolute; inset: 0; min-height: 0; height: 100%; border: 0; background: transparent; }
.process-overview .sphere-field { display: block; min-height: 0; pointer-events: none; cursor: default; touch-action: auto; }
.process-overview__item:focus-visible { outline: 2px solid var(--ink); outline-offset: -3px; }
.process-overview__pause { position: absolute; right: 0.75rem; bottom: 0.75rem; padding: 0.5rem; border: 1px solid var(--border); background: var(--mist); color: var(--ink); font: inherit; cursor: pointer; }
@media (max-width: 820px) { .process-overview { grid-column: 1; aspect-ratio: 1; } }

.process-overview__item:nth-child(1),
.process-overview__item:nth-child(4) {
  background: #fff;
}

/* The official STADIO asset is white; match the monochrome client strip. */
.client-field.client-field--map li[data-client-id="STADIO"] .client-logo__image {
  filter: brightness(0);
}

.client-field--map li[data-client-id="Africa_Evidence_Network"] .client-logo__image {
  width: 75%;
  height: 75%;
}

/* Hero client system experiment; rollback is documented in HAPPY_POINT.md. */
.page--home .hero-section .content-shell { min-height: 0; padding-block: clamp(2rem, 4vw, 4rem); }
.page--home .hero-projects { min-height: clamp(25rem, 35vw, 36rem); }
.page--home .hero-section .content-shell > h1 { font-size: clamp(3.5rem, 6vw, 6.6rem); }
.client-field--map li { flex-basis: clamp(13rem, 19vw, 20rem); width: clamp(13rem, 19vw, 20rem); height: clamp(8rem, 11vw, 11rem); padding: 1rem 1.5rem; }
.client-field--map li.is-client-focused { background: var(--paper); box-shadow: inset 0 10px var(--border), inset 0 -10px var(--border); }
.client-field--map li:hover { background: #f3f3f3; }
@media (max-width: 820px) {
  .page--home .hero-projects { min-height: 22rem; height: 85vw; }
  .client-field--map li { flex-basis: 11rem; width: 11rem; height: 7rem; padding: 1rem 1.25rem; }
}

/* Client strip edge fades. */
.client-field--map .client-marquee {
  --logo-edge-fade: clamp(1.5rem, 4vw, 4rem);
  -webkit-mask-image: linear-gradient(to right, transparent, #000 var(--logo-edge-fade), #000 calc(100% - var(--logo-edge-fade)), transparent);
  mask-image: linear-gradient(to right, transparent, #000 var(--logo-edge-fade), #000 calc(100% - var(--logo-edge-fade)), transparent);
}

/* Headquarters tour is editorial motion, not a draggable map. */
.client-globe { cursor: default; touch-action: pan-y; }
.client-globe__markers[hidden] { display: none; }

/* Individually selectable headquarters; canvas owns the dot appearance. */
.client-globe { cursor: grab; touch-action: pan-y; }
.client-globe.is-dragging { cursor: grabbing; }
.client-globe .client-map__marker { background: transparent; padding: 0; border: 0; }
.client-globe .client-map__marker::before { display: none; }
.client-globe .client-map__marker[hidden] { display: none; }
.client-globe .client-map__marker:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.headquarters-tooltip { position: absolute; inset: auto 1rem 1rem; z-index: 4; padding: .7rem 1rem; background: rgb(255 255 255 / 94%); color: var(--ink); pointer-events: none; }
.headquarters-tooltip[hidden] { display: none; }
.headquarters-tooltip strong, .headquarters-tooltip span { display: block; }
.headquarters-tooltip span { margin-top: .2rem; font-size: .8rem; }

/* Hero graphic, company UI panels, and closing client globe. */
.hero-brand-graphic { grid-column: 2; grid-row: 1; display: grid; place-items: center; background: var(--mist); overflow: hidden; min-width: 0; }
.hero-brand-graphic canvas { display: block; width: min(100%, 42rem); aspect-ratio: 1; }
.home-turnbuckle .hero-projects { grid-column: 1; grid-row: 1; }
.home-client-world .content-shell { padding: 0; }
.home-client-world .content-shell > * { margin: 0; min-width: 0; }
.home-client-world .turnbuckle-map { min-height: 0; height: 50vw; }
.home-client-world .turnbuckle-copy p { font-size: 1rem; line-height: 1.4; }
.home-client-world .turnbuckle-copy .client-world-statement { font-size: clamp(1.1rem, 1.4vw, 1.35rem); line-height: 1.35; margin-top: .6rem; }
.client-field--map li.is-client-focused { box-shadow: none; }
.client-field--map li:not(.is-client-focused) .client-logo__image { opacity: .25; }
@media (min-width: 821px) {
  .page--home { --home-row-height: clamp(34rem, 42.5vw, 44rem); }
  .page--home .hero-section > .content-shell,
  .hero-brand-graphic,
  .page--home .home-turnbuckle .turnbuckle-copy,
  .page--home .home-turnbuckle .hero-projects { min-height: var(--home-row-height); }
  .hero-brand-graphic,
  .page--home .home-turnbuckle .hero-projects { height: var(--home-row-height); }
}
@media (max-width: 820px) {
  .hero-brand-graphic { grid-column: 1; grid-row: auto; min-height: 100vw; }
  .home-turnbuckle .hero-projects { min-height: 100vw; }
  .home-client-world .content-shell { display: flex; flex-direction: column; }
  .home-client-world .turnbuckle-map { height: 100vw; }
}

.home-care-row .content-shell > h1 {
  font-size: clamp(2.5rem, 4vw, 4.5rem);
  line-height: 1.05;
}

/* Cropped screen recordings retain their full browser-content frame. */
.hero-projects__card--video { aspect-ratio: 960 / 536; }
.hero-projects__card video { display: block; width: 100%; height: 100%; object-fit: cover; }

.hero-projects__card--portrait { aspect-ratio: 4 / 5; background: #f4f4f4; }
.hero-projects__card--portrait video,
.hero-projects__card--portrait img { width: 100%; height: 100%; object-fit: contain; animation: none; }

/* Show landscape stills in full, without the old image-scroll crop. */
.hero-projects__card:not(.hero-projects__card--video) { aspect-ratio: 960 / 536; }
.hero-projects__card:not(.hero-projects__card--video) img { width: 100%; height: 100%; object-fit: contain; animation: none; }

/* Preserve the full desktop width of the newer, wider recordings.
   Match the current project ID because carousel cards can swap recordings. */
.hero-projects__card[data-project-id="risk-dashboard"] video,
.hero-projects__card[data-project-id="risk-data"] video,
.hero-projects__card[data-project-id="legal-tax"] video { object-fit: contain; }

/* Let the hero artwork centre within the actual text-row height. */
@media (min-width: 821px) {
  .page--home .hero-brand-graphic { height: auto; align-self: stretch; }
  .page--home .has-graphic > .hero-projects { height: auto; min-height: var(--home-row-height); margin: 0; grid-column: 2; grid-row: 1; }
}

.home-client-world .client-world-statement,
.home-client-world .client-world-statement strong { color: #000; }
.hero-projects::after {
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: linear-gradient(to bottom, #fff, transparent 12%, transparent 88%, #fff);
}
@media (max-width: 820px) {
  .hero-projects::after { background: linear-gradient(to bottom, #fff, transparent 12%); }
}
.hero-projects__column:nth-child(2) { position: relative; }
.hero-projects__column:nth-child(2) .hero-projects__track { animation-name: hero-middle-flow; animation-duration: 190s; }

@keyframes hero-middle-flow {
  from { transform: translateY(var(--ui-start-offset, 0px)); }
  to { transform: translateY(calc(-50% + var(--ui-start-offset, 0px))); }
}
.page--home .home-care-row .content-shell > h1:first-child { font-size: var(--type-heading-small); line-height: 1.05; }

/* Balanced inner spacing for the offer introduction and closing invitation. */
@media (min-width: 821px) {
  .offer-wireframe__header :is(h1, h2),
  .offer-wireframe__intro { padding-block: var(--cell-pad); align-self: center; }
}
@media (max-width: 820px) {
  .offer-wireframe__header { padding-block: var(--cell-pad); row-gap: 1.5rem; }
  .offer-wireframe__header :is(h1, h2),
  .offer-wireframe__intro { padding-block: 0; }
}
.home-care-row .content-shell > h1 { margin-bottom: 0; align-self: center; }
.home-care-row .home-care-copy > p:last-child { margin-bottom: 0; }
.home-client-world .turnbuckle-copy .client-world-statement { --content-opacity: 1; color: #000; }

.home-care-row .home-care-copy { align-self: center; }

/* Stacked homepage rows share the same heading scale as the client-world title. */
@media (max-width: 820px) {
  .page--home main h1,
  .page--home .hero-section .content-shell > h1:first-child {
    font-size: var(--type-heading-small);
    line-height: 0.98;
  }

  .home-care-row .home-care-copy {
    margin-top: 1.5rem;
  }
}

.page--home .content-shell:has(> #from-the-right-problem-to-a-product-people-use) {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.page--home .content-shell:has(> #from-the-right-problem-to-a-product-people-use) > p:last-child {
  margin-bottom: 0;
}

/* Contact overlay remains below the persistent navigation strip. */
body.contact-open { overflow: hidden; }
.contact-open .site-header { --header-bg: rgb(41 41 41 / 98%); --header-fg: var(--paper); }
.contact-open .wordmark__logo--dark { display: none; }
.contact-open .wordmark__logo--white { display: block; }
.contact-toggle { background: none; border: 0; border-radius: 0; color: inherit; opacity: 1; font: inherit; text-decoration: underline; text-underline-offset: .16em; cursor: pointer; }
.contact-panel { position: fixed; z-index: 95; inset: var(--header-height) 0 0; overflow-y: auto; background: var(--ink); color: var(--paper); }
.contact-panel[hidden] { display: none; }
.contact-panel__layout { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); min-height: 100%; grid-template-rows: 1fr auto; }
.contact-form { position: relative; isolation: isolate; display: flex; flex-direction: column; justify-content: center; padding: clamp(2rem, 4vw, 4rem) var(--cell-pad); border-right: 1px solid rgb(255 255 255 / 20%); background: var(--ink); }
.contact-pattern-clip { position: absolute; z-index: -1; inset: 0; overflow: hidden; pointer-events: none; }
.contact-pattern { top: 0; left: 0; }
.contact-form h2 { margin: 0 0 2rem; font-size: clamp(2.5rem, 4vw, 4rem); line-height: 1; font-weight: 400; }
.contact-form label { margin-bottom: .5rem; }
.contact-form input:not([type="hidden"]), .contact-form textarea { width: 100%; border: 1px solid #777; border-radius: 0; background: var(--ink); color: #fff; padding: .8rem 1rem; font: inherit; margin-bottom: 1.25rem; }
.contact-form textarea { resize: vertical; min-height: 7rem; }
.contact-form :focus-visible, .contact-panel a:focus-visible, .contact-toggle:focus-visible { outline: 2px solid #fff; outline-offset: 4px; }
.contact-form__send { display: flex; justify-content: space-between; padding: .9rem 1rem; color: var(--ink); background: #fff; border: 1px solid #fff; font: inherit; cursor: pointer; }
.contact-form__status { margin: .8rem 0 0; }
.contact-form__status:empty { display: none; }
.contact-panel .footer-contact p { opacity: 1; }
.contact-panel .footer-meta { border-top: 1px solid rgb(255 255 255 / 20%); }
@media (max-width: 820px) {
  .contact-panel__layout { grid-template-columns: 1fr; }
  .contact-form { border-right: 0; border-bottom: 1px solid rgb(255 255 255 / 20%); }
  .contact-panel .footer-contact { padding-block: 2.5rem; }
}

.contact-form input:focus-visible, .contact-form textarea:focus-visible { outline-offset: -2px; }
.contact-form__send { justify-content: center; text-align: center; }
