:root {
  --bg: #000;
  --fg: #f0f0f0;
  --dim: #8a8a90;
  --dimmer: #46464c;
  --line: rgba(255, 255, 255, 0.1);
  --line-strong: rgba(255, 255, 255, 0.2);
  --card: rgba(255, 255, 255, 0.025);
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-padding-top: 90px;
  background: var(--bg);
}

/* slim dark scrollbar */
::-webkit-scrollbar {
  width: 12px;
  height: 12px;
}

::-webkit-scrollbar-track {
  background: #000;
  border-left: 1px solid var(--line);
}

::-webkit-scrollbar-thumb {
  background: #2c2c31;
  border: 3px solid #000;
  border-radius: 8px;
}

::-webkit-scrollbar-thumb:hover {
  background: #55555b;
}

::-webkit-scrollbar-corner {
  background: #000;
}

@supports not selector(::-webkit-scrollbar) {
  html {
    scrollbar-width: thin;
    scrollbar-color: #3a3a40 #000;
  }
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

body {
  margin: 0;
  font-family: var(--mono);
  font-size: 14px;
  background: var(--bg);
  color: var(--fg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* film grain */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 100;
  opacity: 0.06;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix type='saturate' values='0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

::selection {
  background: #fff;
  color: #000;
}

a {
  color: inherit;
}

:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.h2 {
  margin: 0 0 48px;
  text-align: center;
  font-weight: 500;
  font-size: clamp(1.7rem, 4vw, 2.9rem);
  text-wrap: balance;
  line-height: 1.1;
  letter-spacing: -0.05em;
}

.h2 em {
  color: var(--dim);
  font-weight: 500;
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 46px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 8px;
  font: 500 0.82rem/1 var(--mono);
  letter-spacing: -0.01em;
  text-decoration: none;
  color: var(--fg);
  cursor: pointer;
  transition: transform 0.25s var(--ease), background 0.25s, border-color 0.25s, box-shadow 0.25s, color 0.25s;
}

.btn-sm {
  height: 38px;
  padding: 0 16px;
  font-size: 0.8rem;
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--line-strong);
}

.btn-ghost:hover {
  background: #fff;
  border-color: #fff;
  color: #000;
}

.btn-solid {
  height: 50px;
  padding: 0 26px;
  background: #fff;
  color: #000;
  font-size: 0.86rem;
}

.btn-solid::before {
  content: ">";
  opacity: 0.45;
  transition: transform 0.25s var(--ease), opacity 0.25s;
}

.btn-solid:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 50px rgba(255, 255, 255, 0.25);
}

.btn-solid:hover::before {
  transform: translateX(3px);
  opacity: 1;
}

.btn-text {
  padding: 0 8px;
  color: var(--dim);
}

.btn-text span {
  display: inline-block;
  transition: transform 0.25s var(--ease);
}

.btn-text:hover {
  color: #fff;
}

.btn-text:hover span {
  transform: translateX(4px);
}

/* ---------- nav ---------- */

.nav {
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 50;
  width: min(1100px, calc(100% - 32px));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 8px 8px 8px 10px;
  border: 1px solid transparent;
  border-radius: 12px;
  transition: background 0.4s, border-color 0.4s;
}

.nav.scrolled {
  background: rgba(8, 8, 8, 0.65);
  border-color: var(--line);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-mark {
  display: block;
  flex: none;
  border-radius: 50%;
  line-height: 0;
}

.nav-mark img {
  display: block;
  width: 28px;
  height: 28px;
  transition: transform 0.5s var(--ease);
}

.nav-mark:hover img {
  transform: rotate(90deg) scale(1.08);
}

.nav-links {
  display: flex;
  gap: 4px;
}

.nav-links a {
  padding: 8px 14px;
  border-radius: 6px;
  font-size: 0.78rem;
  color: var(--dim);
  text-decoration: none;
  transition: color 0.2s, background 0.2s;
}

.nav-links a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.07);
}

/* ---------- hero banner (liquid pixel wordmark) ---------- */

/* the banner scrolls away with the page like any other section
   (to pin it and let the page slide over it instead, make .hero position: fixed) */
.hero-wrap {
  --logo-top: 110px;
  --h0: calc(max(var(--logo-top), 22svh) + min(15.42vw, 246px) + 95px);
  height: var(--h0); /* just takes up the banner's space in the page flow */
}

.hero {
  position: relative;
  width: 100%;
  height: var(--h0);
  overflow: hidden;
  --mx: 50%;
  --my: 50%;
  -webkit-mask-image: linear-gradient(to bottom, #000 calc(100% - 120px), rgba(0, 0, 0, 0.86) calc(100% - 96px), rgba(0, 0, 0, 0.55) calc(100% - 62px), rgba(0, 0, 0, 0.22) calc(100% - 30px), transparent 100%);
  mask-image: linear-gradient(to bottom, #000 calc(100% - 120px), rgba(0, 0, 0, 0.86) calc(100% - 96px), rgba(0, 0, 0, 0.55) calc(100% - 62px), rgba(0, 0, 0, 0.22) calc(100% - 30px), transparent 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(600px circle at var(--mx) var(--my), rgba(255, 255, 255, 0.06), transparent 60%);
  pointer-events: none;
}

#field {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  will-change: transform;
}

/* ---------- the layer that covers the banner ---------- */

.page {
  position: relative;
  z-index: 1;
  margin-top: -56px;
  background: var(--bg);
}

/* ---------- niches strip (slow, endless slide of the kinds of business we build for) ---------- */

.niches {
  padding: 18px 0 14px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 14%, #000 86%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 14%, #000 86%, transparent);
}

.niche-track {
  display: flex;
  width: max-content;
  animation: marquee 85s linear infinite;
}

.niche-group {
  display: flex;
  flex: none;
  margin: 0;
  padding: 0;
  list-style: none;
}

.niche {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-right: 56px;
  font-size: 0.74rem;
  color: #6e6e74;
  white-space: nowrap;
}

.niche svg {
  flex: none;
  width: 20px;
  height: 20px;
}

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

/* ---------- intro (headline) ---------- */

.intro {
  padding: 36px 0 110px;
  text-align: center;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 18px;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 0.7rem;
  color: var(--dim);
  white-space: nowrap;
}

.pulse {
  position: relative;
  width: 8px;
  height: 8px;
  background: #fff;
}

.pulse::after {
  content: "";
  position: absolute;
  inset: 0;
  background: #fff;
  animation: ping 2s ease-out infinite;
}

.intro h1 {
  margin: 0 0 30px;
  font-weight: 500;
  white-space: nowrap;
  font-size: clamp(1.3rem, calc((100vw - 48px) / 27), 2.6rem);
  line-height: 1.08;
  letter-spacing: -0.06em;
}

.w {
  display: inline-block;
  opacity: 0;
  transform: translateY(0.4em);
  filter: blur(12px);
  animation: wordIn 1s var(--ease) forwards;
  animation-delay: calc(var(--i) * 80ms + 150ms);
}

.you {
  position: relative;
  font-style: italic;
}

.caret {
  display: inline-block;
  width: 0.5em;
  height: 0.9em;
  margin-left: 0.12em;
  vertical-align: -0.08em;
  background: #fff;
  animation: blink 1.1s steps(1) infinite;
}

.lede {
  max-width: 46em;
  margin: 0 auto 38px;
  font-size: 0.8rem;
  text-wrap: balance;
  color: var(--dim);
}

.actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.fade-up {
  animation: fadeUp 1s var(--ease) both;
  animation-delay: var(--d, 0s);
}

/* ---------- statement ---------- */

.statement-wrap {
  padding: 40px 0 120px;
}

.statement {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
  font-size: clamp(0.95rem, 1.9vw, 1.3rem);
  text-wrap: balance;
  font-weight: 400;
  line-height: 1.55;
  letter-spacing: -0.035em;
  color: var(--dimmer);
}

.sw {
  transition: color 0.45s ease;
}

.sw.on {
  color: #fff;
}

/* ---------- services slider ---------- */

.services {
  padding: 40px 0 140px;
}

.slider {
  position: relative;
}

.track {
  position: relative;
  display: flex;
  gap: 16px;
  padding: 8px 0;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  cursor: grab;
}

.track::-webkit-scrollbar {
  display: none;
}

.track.dragging {
  cursor: grabbing;
  user-select: none;
}

.card {
  position: relative;
  isolation: isolate;
  flex: 0 0 76%;
  scroll-snap-align: center;
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  align-items: center;
  gap: 40px;
  min-height: 440px;
  padding: 44px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--card);
  overflow: hidden;
  opacity: 0.3;
  transform: scale(0.94);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
  cursor: pointer;
}

.card.is-active {
  opacity: 1;
  transform: none;
  cursor: inherit;
}

/* first and last slides get a margin so they can sit in the centre too */
.card:first-child {
  margin-left: 12%;
}

.card:last-child {
  margin-right: 12%;
}

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(520px circle at var(--mx, 50%) var(--my, 0%), rgba(255, 255, 255, 0.08), transparent 60%);
  opacity: 0;
  transition: opacity 0.4s;
}

.card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: radial-gradient(300px circle at var(--mx, 50%) var(--my, 0%), rgba(255, 255, 255, 0.5), transparent 60%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}

.card:hover::before,
.card:hover::after {
  opacity: 1;
}

.card .copy {
  order: -1;
}

.visual {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 240px;
}

.copy h3 {
  margin: 0 0 14px;
  font-weight: 500;
  font-size: clamp(1.35rem, 2.5vw, 1.9rem);
  line-height: 1.1;
  letter-spacing: -0.055em;
}

.copy p {
  margin: 0;
  max-width: 28em;
  color: var(--dim);
  font-size: 0.76rem;
  text-wrap: pretty;
}

.copy .slide-tags {
  margin-top: 20px;
  font-size: 0.68rem;
  color: var(--dimmer);
  text-wrap: balance;
}

.arrow {
  position: absolute;
  top: 50%;
  z-index: 3;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: rgba(10, 10, 10, 0.72);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: #fff;
  font: 500 1.1rem/1 var(--mono);
  cursor: pointer;
  transition: background 0.2s, color 0.2s, opacity 0.3s;
}

.arrow-prev {
  left: 6%;
  transform: translate(-50%, -50%);
}

.arrow-next {
  right: 6%;
  transform: translate(50%, -50%);
}

.arrow:hover:not(:disabled) {
  background: #fff;
  color: #000;
}

.arrow:disabled {
  opacity: 0;
  pointer-events: none;
}

/* websites visual */

.v-browser {
  width: 100%;
  max-width: 520px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: #050505;
  overflow: hidden;
  transition: transform 0.6s var(--ease);
}

.card:hover .v-browser {
  transform: translateY(-6px) scale(1.02);
}

.v-browser .bar {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 32px;
  padding: 0 12px;
  border-bottom: 1px solid var(--line);
}

.v-browser .bar i {
  width: 8px;
  height: 8px;
  background: rgba(255, 255, 255, 0.16);
}

.v-browser .bar span {
  margin-left: 10px;
  font-size: 0.64rem;
  color: var(--dimmer);
}

.v-browser .page {
  display: grid;
  gap: 10px;
  padding: 16px;
}

.b {
  background: rgba(255, 255, 255, 0.09);
  border-radius: 3px;
  animation: build 7s var(--ease) infinite;
  animation-delay: calc(var(--d) * 1s);
}

.b.hero-b {
  height: 58px;
  background: linear-gradient(110deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.04));
}

.b.line {
  height: 9px;
}

.b.l1 {
  width: 72%;
}

.b.l2 {
  width: 46%;
}

.v-browser .row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.b.sq {
  height: 44px;
}

/* internal tools visual */

.v-tool {
  width: 100%;
  max-width: 400px;
  display: grid;
  gap: 8px;
}

.v-tool .r {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.02);
}

.v-tool .av {
  width: 20px;
  height: 20px;
  flex: none;
  border-radius: 4px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.08));
}

.v-tool .nm {
  flex: 1;
  min-width: 0;
  font-size: 0.74rem;
  color: #cfcfd3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.v-tool .st {
  padding: 3px 8px;
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  font-size: 0.62rem;
  color: var(--dim);
  transition: background 0.4s, color 0.4s, border-color 0.4s;
}

.v-tool .st[data-stage="2"] {
  color: #ddd;
  border-color: rgba(255, 255, 255, 0.36);
}

.v-tool .st[data-stage="3"] {
  background: #fff;
  color: #000;
  border-color: #fff;
}

.v-tool .st.tick {
  animation: tick 0.9s ease-out;
}

/* automation visual */

.v-flow {
  width: 100%;
  max-width: 520px;
}

.v-flow svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}

.v-flow .rail {
  fill: none;
  stroke: rgba(255, 255, 255, 0.14);
  stroke-width: 1.5;
}

.v-flow .rail.flow {
  stroke: rgba(255, 255, 255, 0.55);
  stroke-dasharray: 3 9;
  animation: dash 1.2s linear infinite;
}

.v-flow .node rect {
  fill: #050505;
  stroke: rgba(255, 255, 255, 0.2);
  stroke-width: 1;
  animation: nodeOn 4s ease-out infinite;
}

.v-flow .n2 rect {
  animation-delay: 2s;
}

.v-flow .n3 rect {
  animation-delay: 3.9s;
}

.v-flow .node text {
  font-family: var(--mono);
  font-size: 9px;
  fill: #d4d4d8;
}

.v-flow .dot {
  fill: #fff;
  filter: drop-shadow(0 0 6px #fff);
}

/* custom (terminal) visual */

.v-term {
  width: 100%;
  max-width: 520px;
  height: 200px;
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: #050505;
  font-size: 0.74rem;
  line-height: 1.85;
  white-space: pre;
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 35%);
  mask-image: linear-gradient(to bottom, transparent, #000 35%);
}

.v-term .pr {
  color: var(--dimmer);
}

.v-term .out {
  color: var(--dim);
}

.v-term .caret {
  width: 7px;
  height: 14px;
  margin-left: 2px;
  vertical-align: -2px;
}

/* ---------- process ---------- */

.process {
  padding: 40px 0 140px;
}

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

.step {
  position: relative;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.step::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  height: 1px;
  width: 100%;
  background: #fff;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1.4s var(--ease) 0.3s;
}

.step.in::before {
  transform: scaleX(1);
}

.num {
  display: block;
  margin-bottom: 40px;
  font-size: 0.78rem;
  color: var(--dim);
}

.step h3 {
  margin: 0 0 12px;
  font-weight: 500;
  font-size: 1.65rem;
  letter-spacing: -0.06em;
}

.step p {
  margin: 0;
  max-width: 26em;
  font-size: 0.76rem;
  color: var(--dim);
  text-wrap: balance;
}

/* ---------- contact ---------- */

.contact {
  position: relative;
  padding: 160px 0 140px;
  text-align: center;
  border-top: 1px solid var(--line);
  overflow: hidden;
}

.contact-glow {
  position: absolute;
  left: 50%;
  top: 0;
  width: 900px;
  height: 500px;
  transform: translate(-50%, -50%);
  background: radial-gradient(closest-side, rgba(255, 255, 255, 0.12), transparent);
  pointer-events: none;
}

.contact .container {
  position: relative;
}

.mega {
  margin: 0 0 26px;
  font-weight: 500;
  font-size: clamp(2.4rem, 9.5vw, 7rem);
  line-height: 1;
  letter-spacing: -0.075em;
}

.contact-copy {
  max-width: 30em;
  margin: 0 auto 40px;
  color: var(--dim);
  font-size: 0.8rem;
  text-wrap: balance;
}

.email-row {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  padding: 10px;
  border-radius: 14px;
}

.email-row.flash {
  animation: ring 2.6s ease-out;
}

#copy {
  height: 52px;
  min-width: 92px;
}

/* ---------- footer ---------- */

.footer {
  padding: 56px 0 44px;
  border-top: 1px solid var(--line);
}

.foot-grid {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
  flex-wrap: wrap;
}

.wm {
  display: block;
  height: 20px;
  width: auto;
}

.foot-brand p {
  margin: 14px 0 0;
  font-size: 0.68rem;
  color: var(--dim);
}

.foot-links {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  font-size: 0.72rem;
}

.foot-links a {
  color: var(--dim);
  text-decoration: none;
  transition: color 0.2s;
}

.foot-links a:hover {
  color: #fff;
}

/* ---------- scroll reveal ---------- */

.js .reveal {
  opacity: 0;
  transform: translateY(28px);
  filter: blur(8px);
  transition: opacity 1s var(--ease), transform 1s var(--ease), filter 1s var(--ease);
  transition-delay: var(--d, 0s);
}

.js .reveal.in {
  opacity: 1;
  transform: none;
  filter: none;
}

/* ---------- keyframes ---------- */

@keyframes wordIn {
  to {
    opacity: 1;
    transform: none;
    filter: blur(0);
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes ping {
  0% {
    transform: scale(1);
    opacity: 0.7;
  }
  80%,
  100% {
    transform: scale(3);
    opacity: 0;
  }
}

@keyframes drip {
  0% {
    transform: scaleY(0);
    opacity: 1;
  }
  60% {
    transform: scaleY(1);
    opacity: 1;
  }
  100% {
    transform: scaleY(1);
    opacity: 0;
  }
}

@keyframes build {
  0% {
    opacity: 0;
    transform: translateY(10px) scale(0.98);
  }
  9%,
  80% {
    opacity: 1;
    transform: none;
  }
  92%,
  100% {
    opacity: 0;
    transform: translateY(-4px);
  }
}

@keyframes tick {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.55);
  }
  100% {
    box-shadow: 0 0 0 10px rgba(255, 255, 255, 0);
  }
}

@keyframes dash {
  to {
    stroke-dashoffset: -12;
  }
}

@keyframes nodeOn {
  0% {
    stroke: #fff;
    fill: #1c1c1c;
  }
  18%,
  100% {
    stroke: rgba(255, 255, 255, 0.2);
    fill: #050505;
  }
}

@keyframes blink {
  50% {
    opacity: 0;
  }
}

@keyframes ring {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
  }
  12% {
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.9), 0 0 80px rgba(255, 255, 255, 0.35);
  }
  60% {
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.3), 0 0 50px rgba(255, 255, 255, 0.12);
  }
}

/* ---------- responsive ---------- */

@media (max-width: 1000px) {
  .card {
    grid-template-columns: 1fr;
    gap: 28px;
    min-height: 0;
    padding: 32px;
  }

  .card .copy {
    order: 0;
  }

  .visual {
    min-height: 200px;
  }
}

@media (max-width: 900px) {
  .steps {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .num {
    margin-bottom: 20px;
  }
}

@media (max-width: 760px) {
  .card {
    flex-basis: 84%;
    padding: 24px;
  }

  .card:first-child {
    margin-left: 8%;
  }

  .card:last-child {
    margin-right: 8%;
  }

  .arrow {
    display: none;
  }

  .intro h1 {
    white-space: normal;
    font-size: 1.8rem;
    text-wrap: balance;
  }

  .statement {
    text-wrap: pretty;
  }

  .nav-links {
    display: none;
  }

  .hero-wrap {
    --logo-top: 76px;
  }

  .nav-right {
    gap: 12px;
  }

  .status {
    font-size: 0.66rem;
    gap: 7px;
  }

  .intro {
    padding: 40px 0 80px;
  }

  .statement-wrap {
    padding: 30px 0 80px;
  }

  .services,
  .process {
    padding-bottom: 90px;
  }

  .contact {
    padding: 110px 0 90px;
  }

  .btn-solid {
    font-size: 0.8rem;
    padding: 0 18px;
  }

  .foot-links {
    align-items: flex-start;
  }
}

/* ---------- reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  .niche-track {
    animation: none;
    width: auto;
    justify-content: center;
  }

  .niche-group {
    flex-wrap: wrap;
    justify-content: center;
    row-gap: 14px;
    padding: 0 24px;
  }

  .niche-group[aria-hidden="true"] {
    display: none;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
  }

  .b {
    opacity: 1;
  }
}
