/*--------------------------------------------------------------
# Home page sections. Loaded only by index.php, after theme.css.
--------------------------------------------------------------*/
/*--------------------------------------------------------------
# Hero
--------------------------------------------------------------*/
.lg-theme main section.h-hero {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100svh;
  padding: 100px 0 0;
  background: var(--ink);
  overflow: clip;
}

.h-hero__map {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.h-hero__veil {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(52% 62% at 74% 46%, rgba(54, 70, 166, 0.34), transparent 70%),
    linear-gradient(90deg, rgba(11, 16, 32, 0.5) 0%, rgba(11, 16, 32, 0.22) 52%, transparent 74%),
    linear-gradient(180deg, transparent 72%, rgba(11, 16, 32, 0.7) 100%);
}

/* Survey crosshair that follows the pointer */
.h-cross {
  position: absolute;
  top: 0;
  left: 0;
  background: rgba(255, 255, 255, 0.12);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}

.h-cross--x {
  width: 100%;
  height: 1px;
}

.h-cross--y {
  width: 1px;
  height: 100%;
}

.h-hero.has-pointer .h-cross {
  opacity: 1;
}

.h-hero__grid {
  flex: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  align-items: center;
  gap: 1rem;
  position: relative;
  z-index: 2;
}

.h-hero__copy {
  padding: 1rem 0;
  transform: translateY(calc(var(--hero-out, 0) * -70px));
  opacity: calc(1 - var(--hero-out, 0) * 1.15);
}

.h-hero__title {
  margin: 0;
  font-size: var(--type-display);
  line-height: 1.12;
  max-width: 13.5em;
}

.h-hero__title .h-w > span {
  transform: translateY(112%);
  animation: h-rise 1.15s var(--ease) forwards;
  animation-delay: calc(var(--n) * 48ms + 120ms);
}

@keyframes h-rise {
  to {
    transform: none;
  }
}

.h-themes {
  margin-top: 1.7rem;
  max-width: 35rem;
}

.h-themes__tabs {
  display: flex;
  align-items: stretch;
  border-bottom: 1px solid var(--hairline-light);
}

.h-themes__list {
  display: flex;
  flex: 1;
  min-width: 0;
}

.h-theme {
  position: relative;
  flex: 1;
  padding: 0.6rem 0.2rem;
  border: 0;
  background: none;
  font-family: var(--mono-font);
  font-size: var(--type-caption);
  letter-spacing: 0.04em;
  text-align: left;
  color: rgba(255, 255, 255, 0.62);
  cursor: pointer;
  transition: color 0.3s;
}

.h-theme:hover,
.h-theme.is-active {
  color: #fff;
}

.h-theme__bar {
  position: absolute;
  left: 0;
  right: 8px;
  bottom: -1px;
  height: 2px;
  background: var(--coral);
  transform: scaleX(0);
  transform-origin: 0 50%;
}

.h-theme.is-active .h-theme__bar {
  transform: scaleX(1);
}

.js .h-themes.is-auto .h-theme.is-active .h-theme__bar {
  animation: h-progress 8s linear forwards;
}

.js .h-themes.is-auto.is-held .h-theme.is-active .h-theme__bar {
  animation-play-state: paused;
}

.h-themes__pause {
  flex: none;
  width: 2.1rem;
  border: 0;
  background: none;
  color: rgba(255, 255, 255, 0.62);
  cursor: pointer;
  transition: color 0.3s;
}

.h-themes__pause:hover {
  color: #fff;
}

.h-themes__panels {
  display: grid;
  margin-top: 0.9rem;
}

.h-themes__panel {
  grid-area: 1 / 1;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.6s var(--ease), transform 0.8s var(--ease), visibility 0.6s;
}

.h-themes__panel.is-active {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.h-themes__panel > p {
  margin: 0;
  font-size: var(--type-lead);
  line-height: 1.5;
  color: #d5d9e8;
}

/* A real project figure for each theme */
.h-proof {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.9rem;
  margin-top: 0.85rem;
  padding: 0.6rem 0.75rem 0.6rem 0.95rem;
  border: 1px solid var(--hairline-light);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  color: #c4cadd;
  transition: border-color 0.3s, background-color 0.3s, transform 0.5s var(--ease);
}

.h-proof:hover {
  border-color: var(--coral);
  background: rgba(255, 84, 67, 0.08);
  color: #fff;
  transform: translateY(-2px);
}

.h-proof b {
  font-family: var(--heading-font);
  font-size: var(--type-proof);
  font-weight: 300;
  line-height: 1;
  letter-spacing: -0.01em;
  white-space: nowrap;
  color: #fff;
}

.h-proof > span {
  font-size: var(--type-caption);
  line-height: 1.32;
}

.h-proof i {
  color: var(--coral);
  transition: transform 0.5s var(--ease);
}

.h-proof:hover i {
  transform: translate(3px, -3px);
}

.h-hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.4rem;
}

/* Exploded layer stack */
.h-stack-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  transform: translateY(calc(var(--hero-out, 0) * 60px));
  opacity: calc(1 - var(--hero-out, 0) * 1.1);
}

.h-stack-wrap {
  --s: clamp(240px, min(23vw, 40vh), 390px);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: calc(var(--s) * 1.72);
  padding-right: 115px;
  cursor: grab;
  touch-action: pan-y;
  -webkit-user-select: none;
  user-select: none;
}

.h-stack-wrap.is-dragging {
  cursor: grabbing;
}

.h-stack {
  --rx: 56deg;
  --rz: -42deg;
  --gap: calc(var(--s) * 0.24);
  position: relative;
  width: var(--s);
  height: var(--s);
  margin-top: calc(var(--s) * 0.34);
  transform-style: preserve-3d;
  transform: rotateX(var(--rx)) rotateZ(var(--rz));
}

.js .h-stack:not(.is-open) {
  --gap: 0px;
}

.h-stack.is-merged {
  --gap: 1px;
}

/* Opacity goes on .h-layer__plane, not .h-layer: opacity below 1 would flatten the 3D context the labels need */
.h-layer {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
  transform: translateZ(calc(var(--i) * var(--gap) + var(--lift, 0px)));
  transition: transform 1.25s var(--ease);
  pointer-events: none;
}

.h-layer.is-active {
  --lift: calc(var(--s) * 0.05);
}

.h-stack.is-merged .h-layer {
  --lift: 0px;
}

.h-layer__plane {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: rgba(19, 26, 51, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.22);
  opacity: 0.55;
  transition: opacity 0.6s, border-color 0.6s, background-color 0.6s;
}

.h-layer--aerial .h-layer__plane {
  opacity: 0.62;
  background: var(--ink-2);
}

.h-layer.is-active .h-layer__plane {
  opacity: 1;
  border-color: var(--coral);
  background-color: rgba(19, 26, 51, 0.72);
}

.h-layer--aerial.is-active .h-layer__plane {
  background-color: var(--ink-2);
}

.h-stack.is-merged .h-layer__plane {
  opacity: 1;
  background-color: transparent;
  border-color: transparent;
}

.h-stack.is-merged .h-layer--aerial .h-layer__plane {
  background-color: var(--ink-2);
  border-color: var(--coral);
}

.h-layer__plane img,
.h-layer__plane svg {
  display: block;
  width: 100%;
  height: 100%;
  -webkit-user-drag: none;
}

/* Scan line sweeping the active layer */
.h-layer.is-active .h-layer__plane::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 26%;
  background: linear-gradient(90deg, transparent, rgba(255, 84, 67, 0.28) 92%, #ff5443 100%);
  animation: h-scan 4.2s var(--ease) infinite alternate;
  pointer-events: none;
}

.h-stack.is-merged .h-layer__plane::after {
  display: none;
}

@keyframes h-scan {
  from {
    transform: translateX(-100%);
  }

  to {
    transform: translateX(385%);
  }
}

/* The translateZ keeps labels in front of every plane; with no perspective it does not change their position */
.h-layer__tag {
  position: absolute;
  left: 100%;
  top: 100%;
  white-space: nowrap;
  transform-origin: 0 0;
  transform: rotateZ(calc(var(--rz) * -1)) rotateX(calc(var(--rx) * -1)) translateZ(500px) translate(0, -50%);
  padding: 0.3rem 0.3rem 0.3rem 40px;
  font-family: var(--mono-font);
  font-size: var(--type-label);
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.6);
  cursor: pointer;
  pointer-events: auto;
  transition: color 0.4s, opacity 0.4s;
}

.h-layer__tag::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 50%;
  width: 28px;
  height: 1px;
  background: currentColor;
}

.h-layer__tag b {
  font-weight: 400;
  color: var(--periwinkle);
  margin-right: 0.3em;
}

.h-layer__tag:hover,
.h-layer.is-active .h-layer__tag {
  color: #fff;
}

.h-layer.is-active .h-layer__tag b {
  color: var(--coral);
}

.h-layer__tag--all {
  display: none;
  color: #fff;
}

.h-layer__tag--all b {
  color: var(--coral);
}

.h-stack.is-merged .h-layer__tag--all {
  display: block;
}

.h-stack.is-merged .h-layer .h-layer__tag {
  opacity: 0;
  pointer-events: none;
}

/* Annotations pinned to the active layer */
.h-spot {
  position: absolute;
  width: 0;
  height: 0;
  transform-style: preserve-3d;
}

.h-spot__chip {
  position: absolute;
  left: 0;
  top: 0;
  display: flex;
  align-items: flex-start;
  gap: 0.42rem;
  padding: 0.24rem 0.65rem 0.24rem 0.42rem;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 13px;
  background: rgba(11, 16, 32, 0.88);
  font-family: var(--mono-font);
  font-size: var(--type-micro);
  line-height: 1.3;
  white-space: nowrap;
  color: #fff;
  transform-origin: 0 0;
  transform: rotateZ(calc(var(--rz) * -1)) rotateX(calc(var(--rx) * -1)) translateZ(600px) translate(-8px, -13px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.45s, visibility 0.45s, border-color 0.3s;
  pointer-events: none;
  cursor: pointer;
  -webkit-user-drag: none;
}

.h-layer.is-active .h-spot__chip {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition-delay: 0.35s, 0.35s, 0s;
}

.h-stack.is-merged .h-spot__chip {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.h-spot__chip:hover {
  color: #fff;
  border-color: var(--coral);
  transform: rotateZ(calc(var(--rz) * -1)) rotateX(calc(var(--rx) * -1)) translateZ(700px) translate(-8px, -13px);
}

.h-spot__chip i {
  position: relative;
  flex: none;
  width: 8px;
  height: 8px;
  margin-top: 0.22rem;
  border-radius: 50%;
  background: var(--coral);
}

.h-spot__chip i::after {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  background: var(--coral);
  animation: h-pin-pulse 2.2s ease-out infinite;
}

.h-spot__chip b {
  display: block;
  font-weight: 400;
}

.h-spot__chip small {
  display: block;
  width: 0;
  max-height: 0;
  overflow: hidden;
  font-size: var(--type-micro);
  white-space: normal;
  color: #c4cadd;
  transition: max-height 0.5s var(--ease), width 0.5s var(--ease), margin 0.5s var(--ease);
}

.h-spot__chip:hover small {
  width: 205px;
  max-height: 64px;
  margin-top: 0.15rem;
}

.h-axis {
  position: absolute;
  bottom: 0;
  width: 1px;
  height: calc(var(--gap) * 3);
  background: repeating-linear-gradient(to top, rgba(255, 255, 255, 0.42) 0 4px, transparent 4px 9px);
  transform-origin: 0 100%;
  transition: height 1.25s var(--ease);
}

.h-axis--a {
  left: 0;
  transform: translateY(0) rotateX(-90deg);
}

.h-axis--b {
  left: 100%;
  transform: translateY(0) rotateX(-90deg);
}

.h-axis--c {
  left: 100%;
  transform: translateY(calc(var(--s) * -1)) rotateX(-90deg);
}

.h-plane-label {
  font-family: var(--mono-font);
  font-size: 9px;
  letter-spacing: 0.08em;
  fill: rgba(255, 255, 255, 0.62);
}

.h-road {
  fill: none;
  stroke: rgba(255, 255, 255, 0.72);
  stroke-width: 5;
  stroke-linecap: round;
}

.h-road--main {
  stroke-width: 11;
}

.h-road--minor {
  stroke-width: 3;
  stroke: rgba(255, 255, 255, 0.5);
}

.h-road--centre {
  stroke: var(--ink);
  stroke-width: 1.4;
  stroke-dasharray: 7 7;
}

.h-rail {
  fill: none;
  stroke: var(--periwinkle);
  stroke-width: 4;
  stroke-dasharray: 2 6;
}

.h-parcels path {
  fill: rgba(255, 255, 255, 0.05);
  stroke: var(--coral);
  stroke-width: 1.3;
}

.h-parcels .is-filled {
  fill: rgba(255, 84, 67, 0.46);
}

.h-parcels .is-sub {
  fill: none;
  stroke-width: 0.8;
  stroke-dasharray: 3 3;
}

.h-pipes path {
  fill: none;
  stroke: rgba(139, 152, 242, 0.55);
  stroke-width: 3.4;
  stroke-linejoin: round;
}

.h-pipes .h-flow {
  stroke: #fff;
  stroke-width: 1.6;
  stroke-dasharray: 3 11;
  stroke-linecap: round;
}

.h-layer.is-active .h-flow,
.h-stack.is-merged .h-flow {
  animation: h-flow 1.1s linear infinite;
}

@keyframes h-flow {
  to {
    stroke-dashoffset: -14;
  }
}

.h-nodes circle {
  fill: var(--ink);
  stroke: var(--coral);
  stroke-width: 2.2;
}

.h-hero.is-offscreen .h-layer *,
.h-hero.is-offscreen .h-layer *::after {
  animation-play-state: paused !important;
}

.h-stack-ctl {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-right: 115px;
  font-family: var(--mono-font);
  font-size: var(--type-label);
  color: rgba(255, 255, 255, 0.62);
}

.h-stack-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.36rem 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  background: rgba(11, 16, 32, 0.6);
  font: inherit;
  color: #fff;
  cursor: pointer;
  transition: border-color 0.3s, background-color 0.3s;
}

.h-stack-btn:hover,
.h-stack-btn[aria-pressed="true"] {
  border-color: var(--coral);
  background: rgba(255, 84, 67, 0.16);
}

/* Map furniture */
.h-hud {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 1.75rem;
  padding-top: 0.7rem;
  padding-bottom: 1rem;
  font-family: var(--mono-font);
  font-size: var(--type-label);
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.62);
}

.h-hud__coords {
  font-variant-numeric: tabular-nums;
}

.h-hud__scale {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}

.h-hud__scale i {
  display: block;
  width: 72px;
  height: 6px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-top: 0;
}

.h-hud__north {
  margin-left: auto;
}

.h-hud__north path {
  fill: var(--coral);
}

/*--------------------------------------------------------------
# Clients
--------------------------------------------------------------*/
.lg-theme main section.h-trust {
  padding: clamp(3rem, 5vw, 4.5rem) 0 clamp(2rem, 3vw, 3rem);
}

.h-trust__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
  margin-bottom: 0.8rem;
}

.h-trust__title {
  margin: 0;
  font-size: var(--type-h3);
}

.h-trust__partner {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  font-family: var(--mono-font);
  font-size: var(--type-label);
  letter-spacing: 0.04em;
}

.h-trust__partner img {
  width: auto;
  height: 40px;
}

.h-marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  cursor: grab;
  touch-action: pan-y;
  -webkit-user-select: none;
  user-select: none;
}

.h-marquee.is-dragging {
  cursor: grabbing;
}

/* Room above each row for the name label */
.h-marquee__row {
  padding-top: 1.9rem;
}

.h-marquee__track {
  display: flex;
  width: max-content;
  animation: h-marquee 70s linear infinite;
  will-change: transform;
}

.h-marquee__row:nth-child(2) .h-marquee__track {
  animation-direction: reverse;
}

.h-marquee.is-driven .h-marquee__track {
  animation: none;
}

.h-marquee ul {
  display: flex;
  align-items: center;
  flex: none;
  gap: clamp(2.4rem, 5vw, 4.5rem);
  margin: 0;
  padding: 0 clamp(1.2rem, 2.5vw, 2.25rem);
  list-style: none;
}

.h-marquee li {
  position: relative;
}

.h-marquee li::after {
  content: attr(data-name);
  position: absolute;
  left: 50%;
  bottom: calc(100% + 5px);
  padding: 0.12rem 0.5rem;
  border-radius: 4px;
  background: var(--ink);
  font-family: var(--mono-font);
  font-size: var(--type-micro);
  white-space: nowrap;
  color: #fff;
  opacity: 0;
  transform: translate(-50%, 5px);
  transition: opacity 0.25s, transform 0.4s var(--ease);
  pointer-events: none;
}

.h-marquee li:hover::after {
  opacity: 1;
  transform: translate(-50%, 0);
}

.h-marquee img {
  display: block;
  width: auto;
  height: 54px;
  max-width: 150px;
  object-fit: contain;
  filter: grayscale(1) contrast(1.05);
  opacity: 0.68;
  transition: filter 0.4s, opacity 0.4s, transform 0.5s var(--ease);
  -webkit-user-drag: none;
}

.h-marquee li:hover img {
  filter: none;
  opacity: 1;
  transform: scale(1.1);
}

@keyframes h-marquee {
  to {
    transform: translateX(-33.3333%);
  }
}

/*--------------------------------------------------------------
# About
--------------------------------------------------------------*/
.h-about__statement {
  margin: 0 0 clamp(1.75rem, 3.2vw, 3rem);
  max-width: 31em;
  font-family: var(--heading-font);
  font-size: var(--type-statement);
  font-weight: 300;
  line-height: 1.28;
  letter-spacing: -0.015em;
  color: var(--text);
}

.h-word {
  opacity: 0.2;
  transition: opacity 0.45s ease;
}

.h-word.is-on {
  opacity: 1;
}

.h-sector {
  position: relative;
  color: inherit;
  white-space: nowrap;
  transition: color 0.3s, opacity 0.45s ease;
}

.h-sector::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.03em;
  height: 0.055em;
  background: var(--coral);
  transform-origin: 0 50%;
  transition: transform 0.6s var(--ease), background-color 0.3s;
}

.h-sector:hover,
.h-sector.is-current {
  color: var(--coral-deep);
}

.h-sector.is-current::after {
  animation: h-sector-line 0.8s var(--ease);
}

@keyframes h-sector-line {
  from {
    transform: scaleX(0);
  }
}

.h-about__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(1.75rem, 4vw, 4rem);
}

.h-frame {
  position: relative;
  margin: 0;
  aspect-ratio: 16 / 10;
}

.h-frame__inner {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: 6px;
  background: var(--paper-2);
}

.h-frame__inner img {
  position: absolute;
  left: 0;
  top: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  clip-path: inset(0 100% 0 0);
  transition: clip-path 1s var(--ease), opacity 0s linear 1s;
}

.h-frame__inner img.is-active {
  opacity: 1;
  clip-path: inset(0 0 0 0);
  z-index: 1;
  transition: clip-path 1s var(--ease), opacity 0s;
}

.h-frame__label {
  position: absolute;
  left: 0.9rem;
  bottom: 0.9rem;
  z-index: 2;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  background: rgba(11, 16, 32, 0.84);
  font-family: var(--mono-font);
  font-size: var(--type-label);
  color: #fff;
}

.h-about__text > p {
  margin: 0 0 1.4rem;
  font-size: var(--type-lead);
  color: var(--text);
}

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

.h-creds li {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.65rem 0.9rem;
  border: 1px solid var(--hairline);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.5);
}

.js .h-creds li.is-in {
  transition: transform 0.5s var(--ease), border-color 0.3s, background-color 0.3s;
}

.h-creds li:hover {
  border-color: var(--coral);
  background: #fff;
  transform: translateX(6px);
}

.h-creds i {
  flex: none;
  font-size: 1.25rem;
  color: var(--coral-deep);
  transition: transform 0.6s var(--ease);
}

.h-creds li:hover i {
  transform: rotate(-10deg) scale(1.15);
}

.h-creds b {
  display: block;
  font-weight: 600;
  font-size: var(--type-body);
  line-height: 1.25;
  color: var(--text);
}

.h-creds small {
  display: block;
  font-size: var(--type-caption);
  line-height: 1.3;
  color: var(--muted);
}

.h-glance {
  margin-top: clamp(2rem, 3.6vw, 3.25rem);
}

.h-glance .h-eyebrow {
  margin-bottom: 1rem;
}

.h-facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--text);
}

/* Ink fill wipes up behind the figure on hover, and the count replays */
.h-fact {
  position: relative;
  overflow: hidden;
  padding: 1.3rem 1.2rem 1.4rem;
  cursor: default;
  transition: color 0.4s;
}

.h-fact + .h-fact {
  border-left: 1px solid var(--hairline);
}

.h-fact::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--ink);
  transform: scaleY(0);
  transform-origin: 50% 100%;
  transition: transform 0.6s var(--ease);
}

.h-fact > * {
  position: relative;
}

.h-fact:hover::before,
.h-fact:focus-visible::before {
  transform: scaleY(1);
}

.h-fact b {
  display: block;
  font-family: var(--heading-font);
  font-size: var(--type-figure);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  color: var(--text);
  transition: color 0.4s;
}

.h-fact em {
  font-style: normal;
  color: var(--coral-deep);
  transition: color 0.4s;
}

.h-fact__label {
  display: block;
  margin-top: 0.3rem;
  font-family: var(--mono-font);
  font-size: var(--type-label);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.4s;
}

.h-fact__note {
  display: block;
  margin-top: 0.55rem;
  font-size: var(--type-small);
  line-height: 1.38;
  color: var(--muted);
  transition: color 0.4s;
}

.h-fact:hover b,
.h-fact:focus-visible b,
.h-fact:hover .h-fact__note,
.h-fact:focus-visible .h-fact__note {
  color: #fff;
}

.h-fact:hover em,
.h-fact:focus-visible em {
  color: var(--coral);
}

.h-fact:hover .h-fact__label,
.h-fact:focus-visible .h-fact__label {
  color: var(--periwinkle);
}

/*--------------------------------------------------------------
# Approach
--------------------------------------------------------------*/
.h-approach__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  align-items: start;
  gap: 3rem clamp(3rem, 6vw, 6rem);
}

.h-approach__intro {
  position: sticky;
  top: 90px;
}

.h-approach__intro .h-lead {
  margin-top: 1.1rem;
}

.h-stage {
  position: relative;
  height: clamp(190px, calc(100vh - 430px), 340px);
  margin-top: 1.5rem;
  overflow: hidden;
  border: 1px solid var(--hairline-light);
  border-radius: 8px;
  background: rgba(11, 16, 32, 0.72);
}

.h-stage__scene {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 0.6s, transform 1s var(--ease);
}

.h-stage__scene.is-active {
  opacity: 1;
  transform: none;
}

.h-route {
  position: relative;
}

/* Without JS the route is a plain dashed rule; home.js swaps it for the drawn path */
.h-route::before {
  content: "";
  position: absolute;
  left: 20px;
  top: 12px;
  bottom: 12px;
  border-left: 1px dashed rgba(255, 255, 255, 0.28);
}

.h-route.is-drawn::before {
  display: none;
}

.h-route__svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}

.h-route__base,
.h-route__line {
  fill: none;
  stroke-linecap: round;
}

.h-route__base {
  stroke: rgba(255, 255, 255, 0.24);
  stroke-width: 1.2;
  stroke-dasharray: 2 7;
}

.h-route__line {
  stroke: var(--coral);
  stroke-width: 2;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
}

.h-route__head {
  fill: var(--coral);
  stroke: rgba(255, 84, 67, 0.3);
  stroke-width: 9;
  opacity: 0;
}

.h-route.is-drawn .h-route__head {
  opacity: 1;
}

.h-route__steps {
  position: relative;
  margin: 0;
  padding: 0;
  list-style: none;
}

.h-step {
  position: relative;
  padding: 0 0 clamp(3rem, 10vh, 6rem) 76px;
  opacity: 0.55;
  transition: opacity 0.6s;
}

.h-step:last-child {
  padding-bottom: 0;
}

.h-step.is-current {
  opacity: 1;
}

.h-step:hover {
  opacity: 0.9;
}

.h-step.is-current:hover {
  opacity: 1;
}

.h-step__pin {
  position: absolute;
  left: 13px;
  top: 7px;
  width: 15px;
  height: 15px;
  border: 1.5px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  background: var(--ink);
  transition: border-color 0.4s, background-color 0.4s, box-shadow 0.6s;
}

.h-step__heading {
  margin: 0;
  font-size: inherit;
}

.h-step__btn {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  text-align: left;
  color: inherit;
  cursor: pointer;
}

.h-step__num {
  display: block;
  margin-bottom: 0.55rem;
  font-family: var(--mono-font);
  font-size: var(--type-label);
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.4s;
}

.h-step__title {
  display: block;
  margin-bottom: 0.65rem;
  font-family: var(--heading-font);
  font-size: var(--type-h3);
  font-weight: 300;
  line-height: 1.12;
  letter-spacing: -0.015em;
  color: #fff;
  transition: color 0.3s, transform 0.6s var(--ease);
}

.h-step__btn:hover .h-step__title {
  transform: translateX(6px);
}

.h-step p {
  margin: 0;
  max-width: 31rem;
}

.h-step.is-reached .h-step__pin {
  border-color: var(--coral);
  background: var(--coral);
  box-shadow: 0 0 0 7px rgba(255, 84, 67, 0.18);
}

.h-step.is-reached .h-step__num {
  color: var(--coral);
}

.h-step.is-current .h-chips li {
  border-color: rgba(255, 84, 67, 0.65);
}

/*--------------------------------------------------------------
# Services
--------------------------------------------------------------*/
.h-svc-list {
  border-top: 1px solid var(--text);
}

.h-svc {
  border-bottom: 1px solid var(--hairline);
}

.h-svc__heading {
  margin: 0;
  font-size: inherit;
}

.h-svc__head {
  position: relative;
  display: grid;
  grid-template-columns: 4.5rem minmax(0, 1fr) 3rem;
  align-items: center;
  gap: 0 1rem;
  width: 100%;
  padding: clamp(1.25rem, 2.3vw, 1.9rem) 0;
  border: 0;
  background: none;
  text-align: left;
  color: var(--text);
  cursor: pointer;
  overflow: hidden;
}

/* Row fill wipes up from the bottom on hover */
.h-svc__head::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--paper-2);
  transform: scaleY(0);
  transform-origin: 50% 100%;
  transition: transform 0.6s var(--ease);
}

.h-svc__head > * {
  position: relative;
}

.h-svc__num {
  font-family: var(--mono-font);
  font-size: var(--type-label);
  letter-spacing: 0.06em;
  color: var(--muted);
  transition: transform 0.6s var(--ease);
}

.h-svc__title {
  max-width: 28em;
  font-family: var(--heading-font);
  font-size: var(--type-h3);
  font-weight: 300;
  line-height: 1.12;
  letter-spacing: -0.015em;
  transition: color 0.3s, transform 0.6s var(--ease);
}

.h-svc__go {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid var(--hairline);
  border-radius: 50%;
  transition: background-color 0.3s, border-color 0.3s, transform 0.6s var(--ease);
}

.h-svc__go i {
  transition: transform 0.6s var(--ease);
}

.h-svc__head:hover::before {
  transform: scaleY(1);
}

.h-svc__head:hover .h-svc__num,
.h-svc__head:hover .h-svc__title {
  transform: translateX(1rem);
}

.h-svc__head:hover .h-svc__title,
.h-svc.is-open .h-svc__title {
  color: var(--coral-deep);
}

.h-svc__head:hover .h-svc__go {
  transform: translateX(-1rem);
}

.h-svc.is-open .h-svc__go {
  background: var(--coral);
  border-color: var(--coral);
}

.h-svc.is-open .h-svc__go i {
  transform: rotate(135deg);
}

.h-svc__panel {
  display: grid;
  grid-template-rows: 1fr;
  transition: grid-template-rows 0.75s var(--ease);
}

.js .h-svc:not(.is-open) .h-svc__panel {
  grid-template-rows: 0fr;
}

.h-svc__clip {
  min-height: 0;
  overflow: hidden;
}

.js .h-svc:not(.is-open) .h-svc__clip {
  visibility: hidden;
  transition: visibility 0s 0.75s;
}

.h-svc__body {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: 1.5rem clamp(1.5rem, 3vw, 3rem);
  padding: 0.2rem 0 clamp(1.75rem, 3vw, 2.5rem) 5.5rem;
}

.h-svc__info > p {
  margin: 0 0 1.2rem;
  max-width: 38rem;
}

.h-svc__groups {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.1rem 2rem;
  margin-bottom: 1.2rem;
}

.h-svc__groups h4 {
  margin: 0 0 0.55rem;
  font-family: var(--mono-font);
  font-size: var(--type-label);
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--coral-deep);
}

.h-svc__groups ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.h-svc__groups li,
.h-ind__cols li {
  position: relative;
  padding: 0.28rem 0 0.28rem 1.15rem;
  font-size: var(--type-small);
  line-height: 1.42;
  color: var(--text);
}

.h-svc__groups li::before,
.h-ind__cols li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.8em;
  width: 7px;
  height: 7px;
  background:
    linear-gradient(var(--coral), var(--coral)) center / 100% 1px no-repeat,
    linear-gradient(var(--coral), var(--coral)) center / 1px 100% no-repeat;
}

.js .h-svc__groups li {
  opacity: 0;
  transform: translateY(10px);
}

.js .h-svc.is-open .h-svc__groups li {
  opacity: 1;
  transform: none;
  transition: opacity 0.6s, transform 0.8s var(--ease);
}

.js .h-svc.is-open .h-svc__groups li:nth-child(1) { transition-delay: 0.12s; }
.js .h-svc.is-open .h-svc__groups li:nth-child(2) { transition-delay: 0.18s; }
.js .h-svc.is-open .h-svc__groups li:nth-child(3) { transition-delay: 0.24s; }
.js .h-svc.is-open .h-svc__groups li:nth-child(4) { transition-delay: 0.3s; }
.js .h-svc.is-open .h-svc__groups li:nth-child(5) { transition-delay: 0.36s; }

.h-svc__media {
  align-self: start;
  overflow: hidden;
  border-radius: 6px;
  aspect-ratio: 3 / 2;
  background: var(--paper-2);
}

.js .h-svc__media {
  clip-path: inset(0 100% 0 0);
}

.js .h-svc.is-open .h-svc__media {
  clip-path: inset(0 0 0 0);
  transition: clip-path 1.1s var(--ease) 0.1s;
}

.h-svc__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.4s var(--ease);
}

.h-svc__media:hover img {
  transform: scale(1.05);
}

/* Floating preview on closed rows: desktop with a mouse only */
.h-preview {
  position: fixed;
  top: 0;
  left: 0;
  width: clamp(280px, 25vw, 370px);
  aspect-ratio: 3 / 2;
  overflow: hidden;
  border-radius: 6px;
  box-shadow: 0 30px 70px rgba(11, 16, 32, 0.3);
  background: var(--ink);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  z-index: 50;
  transition: opacity 0.35s, visibility 0.35s;
}

.h-preview.is-visible {
  opacity: 1;
  visibility: visible;
}

.h-preview img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.12);
  transition: opacity 0.4s, transform 1.2s var(--ease);
}

.h-preview img.is-active {
  opacity: 1;
  transform: none;
}

/*--------------------------------------------------------------
# Solutions
--------------------------------------------------------------*/
.h-sol-stack {
  position: relative;
}

.h-sol {
  position: sticky;
  top: calc(84px + var(--i) * 14px);
  margin-bottom: 1.5rem;
  transform: scale(calc(1 - var(--stack, 0) * 0.05));
  transform-origin: 50% 0;
}

.h-sol:last-child {
  margin-bottom: 0;
}

.h-sol__card {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  min-height: min(610px, calc(100vh - 150px));
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 -10px 40px rgba(11, 16, 32, 0.1);
}

.h-sol__card--dark {
  --heading-color: #fff;
  background: var(--ink);
  color: #c4cadd;
}

.h-sol__card--light {
  --heading-color: var(--text);
  background: var(--paper);
  color: var(--muted);
}

.h-sol:nth-child(even) .h-sol__text {
  order: 2;
}

.h-sol__text {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  padding: clamp(1.4rem, 2.6vw, 2.4rem);
}

.h-sol__tag {
  margin-bottom: 0.65rem;
  font-family: var(--mono-font);
  font-size: var(--type-label);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--coral);
}

.h-sol__card--light .h-sol__tag {
  color: var(--coral-deep);
}

.h-sol h3 {
  margin: 0 0 0.6rem;
  font-size: var(--type-h3);
  line-height: 1.1;
}

.h-sol__intro {
  margin: 0 0 1rem;
  font-size: var(--type-small);
  line-height: 1.5;
}

.h-feats {
  margin-bottom: 0.9rem;
  border-top: 1px solid var(--line, rgba(128, 134, 160, 0.34));
}

.h-feat {
  border-bottom: 1px solid rgba(128, 134, 160, 0.34);
}

.h-feat button {
  position: relative;
  display: block;
  width: 100%;
  padding: 0.62rem 0;
  border: 0;
  background: none;
  font-weight: 500;
  font-size: var(--type-small);
  text-align: left;
  color: inherit;
  cursor: pointer;
  transition: color 0.3s, padding 0.5s var(--ease);
}

.h-feat button:hover {
  padding-left: 0.4rem;
}

.h-feat.is-active button {
  color: var(--heading-color);
}

.h-feat__bar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 1.5px;
  background: var(--coral);
  transform: scaleX(0);
  transform-origin: 0 50%;
}

.h-feat.is-active .h-feat__bar {
  transform: scaleX(1);
}

.h-sol.is-live .h-feat.is-active .h-feat__bar {
  animation: h-progress 6.5s linear forwards;
}

.h-sol.is-live.is-held .h-feat.is-active .h-feat__bar {
  animation-play-state: paused;
}

.h-feat__panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.6s var(--ease);
}

.h-feat.is-active .h-feat__panel {
  grid-template-rows: 1fr;
}

.h-feat__panel p {
  min-height: 0;
  margin: 0;
  overflow: hidden;
  font-size: var(--type-small);
  line-height: 1.45;
}

.h-feat.is-active .h-feat__panel p {
  padding: 0.1rem 0 0.7rem;
}

.h-chips--plain {
  margin: 0 0 1rem;
}

.h-chips--plain li {
  border-color: rgba(128, 134, 160, 0.4);
  color: inherit;
}

.h-sol .h-more {
  margin-top: auto;
}

.h-sol__card--dark .h-more {
  color: #ff8a7d;
}

.h-sol__media {
  position: relative;
  margin: clamp(0.75rem, 1.3vw, 1.1rem);
  overflow: hidden;
  border-radius: 8px;
  background: #fff;
}

.h-sol__camera {
  position: absolute;
  inset: 0;
  transform-origin: var(--fx) var(--fy);
  transform: scale(var(--fs));
  transition: transform 1.5s var(--ease), transform-origin 1.5s var(--ease);
}

.h-sol__camera img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.7s;
  -webkit-user-drag: none;
}

.h-sol__camera img.is-active {
  opacity: 1;
}

.h-sol__media--cover img {
  object-fit: cover;
  object-position: var(--fx) var(--fy);
  transition: opacity 0.7s, object-position 1.5s var(--ease);
}

.h-sol__media--contain img {
  object-fit: contain;
  padding: 1rem;
}

/* Marker at the camera's focus point. Cards with a separate screen per capability don't need it. */
.h-sol__camera--screens::after {
  display: none;
}

.h-sol__camera::after {
  content: "";
  position: absolute;
  left: var(--fx);
  top: var(--fy);
  width: 26px;
  height: 26px;
  margin: -13px 0 0 -13px;
  border: 1.5px solid var(--coral);
  border-radius: 50%;
  animation: h-marker 2s ease-out infinite;
  transition: left 1.5s var(--ease), top 1.5s var(--ease);
}

@keyframes h-marker {
  from {
    transform: scale(0.5);
    opacity: 1;
  }

  to {
    transform: scale(1.7);
    opacity: 0;
  }
}

/*--------------------------------------------------------------
# Industries
--------------------------------------------------------------*/
.lg-theme main section.h-industries {
  background: var(--ink);
}

.h-ind {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1fr);
  align-items: start;
  gap: clamp(1.5rem, 4vw, 4rem);
}

.h-ind__list {
  border-top: 1px solid var(--hairline-light);
}

.h-ind__tab {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  width: 100%;
  padding: 1.1rem 0.5rem 1.1rem 0;
  border: 0;
  border-bottom: 1px solid var(--hairline-light);
  background: none;
  text-align: left;
  color: #fff;
  cursor: pointer;
  transition: padding 0.6s var(--ease);
}

.h-ind__tab::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 1px;
  background: var(--coral);
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform 0.8s var(--ease);
}

.h-ind__tab i {
  flex: none;
  margin-top: 0.1rem;
  font-size: 1.3rem;
  line-height: 1.3;
  color: var(--periwinkle);
  transition: color 0.3s, transform 0.6s var(--ease);
}

.h-ind__tab strong {
  display: block;
  font-family: var(--heading-font);
  font-size: var(--type-h4);
  font-weight: 300;
  line-height: 1.2;
}

.h-ind__tab small {
  display: block;
  margin-top: 0.25rem;
  font-size: var(--type-caption);
  line-height: 1.4;
  color: #a7aec6;
}

.h-ind__tab:hover {
  padding-left: 0.6rem;
}

.h-ind__tab:hover i {
  transform: scale(1.18);
}

.h-ind__tab.is-active {
  padding-left: 1rem;
}

.h-ind__tab.is-active::before {
  transform: scaleX(1);
}

.h-ind__tab.is-active i {
  color: var(--coral);
}

.lg-theme .h-ind__detail,
.lg-theme .industries .h-ind__detail {
  position: sticky;
  top: 90px;
  padding: clamp(1.25rem, 2.6vw, 2.25rem);
  scroll-margin-top: 90px;
  background: rgba(19, 26, 51, 0.82);
  border: 1px solid var(--hairline-light);
  border-radius: 8px;
  box-shadow: none;
}

.h-ind__panel {
  animation: h-panel-in 0.75s var(--ease);
}

.h-ind__panel[hidden] {
  display: none;
}

@keyframes h-panel-in {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
}

.h-ind__scene {
  aspect-ratio: 640 / 120;
  margin-bottom: 1.1rem;
  overflow: hidden;
  border-radius: 6px;
  background: rgba(11, 16, 32, 0.7);
}

.h-ind__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.9rem;
}

.h-ind__tags span {
  padding: 0.22rem 0.65rem;
  border: 1px solid var(--hairline-light);
  border-radius: 999px;
  font-family: var(--mono-font);
  font-size: var(--type-label);
  color: #d5d9e8;
}

.h-ind__panel h3 {
  margin: 0 0 0.7rem;
  font-size: var(--type-h3);
  line-height: 1.12;
}

.h-ind__panel > p {
  margin: 0 0 1.25rem;
  font-size: var(--type-small);
  line-height: 1.52;
}

.h-ind__cols {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.1rem 2rem;
  margin-bottom: 1.1rem;
}

.h-ind__cols h4 {
  margin: 0 0 0.55rem;
  font-family: var(--mono-font);
  font-size: var(--type-label);
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--periwinkle);
}

.h-ind__cols ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.h-ind__cols li {
  font-size: var(--type-small);
  color: #e4e7f1;
  animation: h-list-in 0.7s var(--ease) backwards;
  animation-delay: calc(var(--n) * 55ms + 0.12s);
}

@keyframes h-list-in {
  from {
    opacity: 0;
    transform: translateX(-10px);
  }
}

/*--------------------------------------------------------------
# Responsive
--------------------------------------------------------------*/
/* Short laptop screens: keep the hero buttons above the fold */
@media (min-width: 992px) and (max-height: 760px) {
  .lg-theme main section.h-hero {
    padding-top: 78px;
  }

  .h-hero__copy {
    padding: 0.25rem 0;
  }

  .h-hero__title {
    font-size: clamp(2rem, 6.2vh, 2.75rem);
  }

  .h-hero .h-eyebrow {
    margin-bottom: 0.7rem;
  }

  .h-themes {
    margin-top: 0.9rem;
  }

  .h-themes__panels {
    margin-top: 0.55rem;
  }

  .h-themes__panel > p {
    font-size: var(--type-small);
  }

  .h-proof {
    margin-top: 0.55rem;
    padding-top: 0.42rem;
    padding-bottom: 0.42rem;
  }

  .h-hero__cta {
    margin-top: 0.8rem;
  }

  .h-hud {
    display: none;
  }

  .h-stack-wrap {
    --s: clamp(210px, 38vh, 300px);
  }
}

@media (max-width: 991.98px) {
  .lg-theme main section.h-hero {
    padding-top: 92px;
  }

  .h-hero__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .h-stack-wrap {
    --s: clamp(190px, 50vw, 300px);
    padding-right: 0;
    margin-top: 0.5rem;
    height: calc(var(--s) * 1.5);
  }

  .h-stack-ctl {
    padding-right: 0;
    margin-bottom: 0.5rem;
  }

  .h-layer__tag,
  .h-spot__chip b,
  .h-spot__chip small {
    display: none;
  }

  /* On small screens the annotations collapse to pulsing dots */
  .h-spot__chip {
    padding: 0.28rem;
    border-radius: 50%;
  }

  .h-spot__chip i {
    margin: 0;
  }

  .h-hero__title {
    max-width: none;
    font-size: clamp(2rem, 6.4vw, 3rem);
  }

  .h-themes {
    max-width: none;
  }

  .h-approach__grid,
  .h-about__grid,
  .h-ind,
  .h-sol__card,
  .h-svc__body {
    grid-template-columns: minmax(0, 1fr);
  }

  .h-approach__intro,
  .lg-theme .h-ind__detail,
  .lg-theme .industries .h-ind__detail {
    position: static;
  }

  /* home.js moves the stage in here so it can stick while the steps scroll past */
  .h-route .h-stage {
    position: sticky;
    top: 72px;
    z-index: 3;
    height: clamp(170px, 46vw, 260px);
    margin: 0 0 1.75rem;
    background: var(--ink);
  }

  .h-step {
    padding-bottom: clamp(3rem, 9vh, 5rem);
  }

  .h-sol {
    position: static;
    transform: none;
  }

  .h-sol__card {
    min-height: 0;
  }

  .h-sol__text,
  .h-sol:nth-child(even) .h-sol__text {
    order: 2;
  }

  .h-sol__media {
    order: 1;
    height: clamp(210px, 55vw, 400px);
    margin-bottom: 0;
  }

  .h-svc__body {
    padding-left: 0;
  }

  .h-svc__head {
    grid-template-columns: 2.6rem minmax(0, 1fr) 2.75rem;
  }

  .h-svc__media {
    order: -1;
  }

  .h-frame {
    aspect-ratio: 16 / 10;
  }
}

@media (max-width: 575.98px) {
  .h-theme {
    font-size: var(--type-label);
  }

  .h-proof b {
    font-size: var(--type-h4);
  }

  .h-hero__cta .h-btn {
    flex: 1 1 auto;
  }

  .h-hud__scale {
    display: none;
  }

  .h-marquee img {
    height: 42px;
    max-width: 118px;
  }

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

  .h-fact {
    padding: 1.1rem 0.9rem;
  }

  .h-fact + .h-fact {
    border-left: 0;
  }

  .h-fact:nth-child(even) {
    border-left: 1px solid var(--hairline);
  }

  .h-fact:nth-child(n + 3) {
    border-top: 1px solid var(--hairline);
  }

  .h-ind__cols,
  .h-svc__groups {
    grid-template-columns: minmax(0, 1fr);
  }

  .h-step {
    padding-left: 58px;
  }

}

/*--------------------------------------------------------------
# Reduced motion
--------------------------------------------------------------*/
@media (prefers-reduced-motion: reduce) {
  .h-hero__title .h-w > span {
    animation: none;
    transform: none;
  }

  .h-word,
  .h-step {
    opacity: 1;
  }

  .h-layer,
  .h-axis,
  .h-sol__camera,
  .h-frame__inner img {
    transition: none;
  }

  .h-layer.is-active .h-layer__plane::after,
  .h-sol__camera::after {
    display: none;
  }

  .h-layer.is-active .h-flow,
  .h-spot__chip i::after {
    animation: none;
    opacity: 0;
  }

  .h-themes__pause {
    display: none;
  }

  .h-marquee {
    -webkit-mask-image: none;
    mask-image: none;
    cursor: default;
  }

  .h-marquee__track {
    animation: none;
    width: auto;
  }

  .h-marquee ul {
    flex-wrap: wrap;
    flex: 1;
    justify-content: center;
    row-gap: 1.75rem;
  }

  .h-marquee ul[aria-hidden] {
    display: none;
  }

  .h-ind__panel,
  .h-ind__cols li {
    animation: none;
  }

  .h-sol {
    transform: none;
  }

}
