:root {
  --black: #050505;
  --ink: #111111;
  --gray-900: #1b1b1b;
  --gray-700: #4a4a4a;
  --gray-500: #777777;
  --gray-300: #cfcfcf;
  --gray-200: #e7e7e7;
  --gray-100: #f4f4f2;
  --white: #ffffff;
  --max-width: 1240px;
  --header-height: 88px;
  --border: 1px solid var(--gray-300);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  overflow-x: hidden;
  overflow-x: clip;
  color: var(--ink);
  background: var(--white);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  position: fixed;
  left: 0;
  right: 0;
  width: 100%;
  overflow: hidden;
  touch-action: none;
}

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

button,
input,
textarea,
select {
  font: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

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

h1,
h2,
h3,
p,
a {
  overflow-wrap: break-word;
}

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

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  padding: 10px 14px;
  background: var(--black);
  color: var(--white);
  transform: translateY(-150%);
  transition: transform 180ms ease;
}

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

.container {
  width: min(calc(100% - 48px), var(--max-width));
  margin-inline: auto;
}

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-height);
  border-bottom: 1px solid rgba(0, 0, 0, .1);
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(14px);
  transition: box-shadow 220ms ease, background 220ms ease;
}

.site-header.is-scrolled {
  box-shadow: 0 12px 30px rgba(0, 0, 0, .07);
  background: rgba(255, 255, 255, .97);
}

.header-inner {
  height: 100%;
  display: grid;
  grid-template-columns: 240px 1fr auto;
  align-items: center;
  gap: 28px;
}

.brand {
  width: 218px;
}

.site-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(18px, 2.4vw, 36px);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.site-nav a {
  position: relative;
  padding-block: 8px;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 1px;
  height: 1px;
  background: var(--black);
  transition: right 180ms ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  right: 0;
}

.header-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid var(--black);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.header-cta,
.button-dark {
  background: var(--black);
  color: var(--white);
}

.header-cta:hover,
.header-cta:focus-visible,
.button-dark:hover,
.button-dark:focus-visible {
  background: var(--white);
  color: var(--black);
  transform: translateY(-2px);
}

.button-light {
  background: var(--white);
  color: var(--black);
}

.button-light:hover,
.button-light:focus-visible {
  background: var(--black);
  color: var(--white);
  transform: translateY(-2px);
}

.menu-toggle {
  display: none;
}

.hero {
  position: relative;
  min-height: 790px;
  padding: calc(var(--header-height) + 92px) 0 92px;
  overflow: hidden;
  border-bottom: var(--border);
}

.blueprint-grid {
  position: absolute;
  inset: 0;
  opacity: .45;
  background-image:
    linear-gradient(rgba(0, 0, 0, .055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 0, 0, .055) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, transparent 4%, black 22%, black 75%, transparent 100%);
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(460px, 1.1fr);
  align-items: center;
  gap: 72px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 24px;
  height: 2px;
  background: currentColor;
}

.hero h1 {
  max-width: 720px;
  margin-bottom: 24px;
  font-size: clamp(62px, 7.4vw, 112px);
  line-height: .9;
  letter-spacing: -.075em;
}

.hero-lede {
  max-width: 620px;
  margin-bottom: 32px;
  color: var(--gray-700);
  font-size: clamp(18px, 1.55vw, 22px);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-proof {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 58px;
  border-top: var(--border);
  border-bottom: var(--border);
}

.hero-proof div {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: center;
  min-height: 72px;
  padding: 12px 16px 12px 0;
  border-right: var(--border);
}

.hero-proof div:last-child {
  padding-left: 16px;
  border-right: 0;
}

.hero-proof div:nth-child(2) {
  padding-left: 16px;
}

.hero-proof strong {
  font-size: 11px;
}

.hero-proof span {
  color: var(--gray-700);
  font-size: 11px;
  line-height: 1.3;
  text-transform: uppercase;
}

.hero-visual {
  min-width: 0;
}

.visual-frame {
  position: relative;
  width: min(100%, 640px);
  aspect-ratio: 1 / .87;
  margin-inline: auto;
  transform: perspective(1100px) rotateX(59deg) rotateZ(-36deg);
  transform-style: preserve-3d;
}

.visual-frame::before,
.visual-frame::after {
  content: "";
  position: absolute;
  inset: 8%;
  border: 1px dashed rgba(0, 0, 0, .3);
}

.visual-frame::after {
  inset: 0;
  border-style: solid;
  opacity: .18;
}

.wire-card {
  position: absolute;
  z-index: 1;
  display: grid;
  gap: 9px;
  padding: 18px;
  border: 1px solid rgba(0, 0, 0, .25);
  background: rgba(255, 255, 255, .5);
  box-shadow: 18px 18px 0 rgba(0, 0, 0, .035);
  transform-style: preserve-3d;
}

.wire-card span {
  display: block;
  height: 8px;
  border: 1px solid rgba(0, 0, 0, .23);
}

.wire-card span:nth-child(2) {
  width: 70%;
}

.wire-card span:nth-child(3) {
  width: 42%;
}

.wire-card-a {
  top: 7%;
  right: 2%;
  width: 54%;
  height: 34%;
  transform: translateZ(74px);
}

.wire-card-b {
  left: 2%;
  bottom: 9%;
  width: 48%;
  height: 31%;
  transform: translateZ(36px);
}

.wire-card-c {
  right: 5%;
  bottom: 3%;
  width: 36%;
  height: 25%;
  transform: translateZ(12px);
}

.take-block {
  position: absolute;
  z-index: 4;
  top: 29%;
  left: 25%;
  width: 46%;
  height: 38%;
  transform: translateZ(92px);
  transform-style: preserve-3d;
}

.take-block-face {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: var(--black);
  color: var(--white);
  font-size: clamp(96px, 13vw, 164px);
  font-weight: 900;
  line-height: 1;
}

.take-block-top {
  position: absolute;
  left: 0;
  right: 0;
  top: -38px;
  height: 38px;
  background: #2e2e2e;
  transform: skewX(45deg);
  transform-origin: bottom;
}

.take-block-side {
  position: absolute;
  top: 0;
  right: -38px;
  width: 38px;
  height: 100%;
  background: #202020;
  transform: skewY(45deg);
  transform-origin: left;
}

.coordinate {
  position: absolute;
  z-index: 6;
  padding: 4px 7px;
  border: 1px solid rgba(0, 0, 0, .25);
  background: rgba(255, 255, 255, .82);
  font-size: 9px;
  letter-spacing: .12em;
}

.coordinate-a {
  top: 2%;
  left: 11%;
  transform: translateZ(58px);
}

.coordinate-b {
  right: 1%;
  bottom: 14%;
  transform: translateZ(60px);
}

.crosshair {
  position: absolute;
  z-index: 5;
  width: 20px;
  height: 20px;
  border: 1px solid rgba(0, 0, 0, .4);
  border-radius: 50%;
  transform: translateZ(72px);
}

.crosshair::before,
.crosshair::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  background: rgba(0, 0, 0, .4);
  transform: translate(-50%, -50%);
}

.crosshair::before { width: 30px; height: 1px; }
.crosshair::after { width: 1px; height: 30px; }
.crosshair-a { top: 20%; left: 9%; }
.crosshair-b { right: 12%; bottom: 8%; }

.section {
  padding: 112px 0;
}

.section-heading {
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  gap: 72px;
  align-items: end;
  margin-bottom: 54px;
}

.section-heading h2,
.why-intro h2,
.contact-copy h2 {
  margin-bottom: 0;
  font-size: clamp(38px, 4.6vw, 70px);
  line-height: .98;
  letter-spacing: -.055em;
}

.section-heading > p {
  max-width: 520px;
  margin-bottom: 0;
  color: var(--gray-700);
  font-size: 16px;
}

.section-services {
  background: var(--gray-100);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: var(--border);
  border-left: var(--border);
}

.service-card {
  min-height: 500px;
  padding: 34px;
  border-right: var(--border);
  border-bottom: var(--border);
  background: var(--white);
  transition: transform 220ms var(--ease), box-shadow 220ms var(--ease);
}

.service-card:hover {
  z-index: 1;
  transform: translateY(-8px);
  box-shadow: 0 28px 60px rgba(0, 0, 0, .1);
}

.service-icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin-bottom: 74px;
  border: 1px solid var(--black);
}

.icon-site span {
  width: 27px;
  height: 24px;
  border: 8px solid var(--black);
  border-bottom-width: 5px;
}

.icon-app span {
  width: 0;
  height: 0;
  border-left: 15px solid transparent;
  border-right: 15px solid transparent;
  border-bottom: 28px solid var(--black);
}

.icon-software span:first-child {
  width: 27px;
  height: 27px;
  background: var(--black);
  clip-path: polygon(0 0, 100% 0, 60% 50%, 100% 100%, 0 100%);
}

.icon-software span:last-child {
  position: absolute;
  width: 12px;
  height: 12px;
  border: 2px solid var(--white);
}

.card-index,
.work-label {
  margin-bottom: 10px;
  color: var(--gray-500);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.service-card h3,
.work-card h3,
.value-card h3,
.process-step h3 {
  margin-bottom: 14px;
  font-size: 24px;
  line-height: 1.1;
  letter-spacing: -.025em;
}

.service-card > p:not(.card-index) {
  min-height: 78px;
  color: var(--gray-700);
}

.service-card ul {
  display: grid;
  gap: 8px;
  margin: 22px 0 44px;
  padding: 0;
  list-style: none;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

.service-card li::before {
  content: "—";
  margin-right: 10px;
}

.service-card a {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  border-bottom: 1px solid var(--black);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.section-process {
  border-bottom: var(--border);
}

.process-list {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  margin: 0;
  padding: 0;
  border-top: var(--border);
  border-left: var(--border);
  list-style: none;
}

.process-step {
  position: relative;
  min-height: 360px;
  padding: 28px;
  border-right: var(--border);
  border-bottom: var(--border);
}

.process-step::after {
  content: "";
  position: absolute;
  top: 65px;
  left: 72px;
  right: -1px;
  border-top: 1px dashed var(--gray-300);
}

.process-step:last-child::after {
  display: none;
}

.step-number {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin-bottom: 38px;
  background: var(--black);
  color: var(--white);
  font-size: 11px;
  font-weight: 800;
}

.step-icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin-bottom: 46px;
  border: 1px solid var(--black);
  font-size: 28px;
  font-weight: 700;
}

.code-icon {
  font-family: "Courier New", monospace;
  font-size: 17px;
}

.process-step p {
  color: var(--gray-700);
  font-size: 14px;
}

.section-work {
  background: var(--gray-100);
}

.work-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 24px;
}

.work-card {
  display: grid;
  grid-template-rows: minmax(320px, 1fr) auto;
  overflow: hidden;
  border: var(--border);
  background: var(--white);
}

.work-card-large {
  grid-row: span 2;
  grid-template-rows: minmax(560px, 1fr) auto;
}

.work-visual {
  position: relative;
  min-height: 320px;
  overflow: hidden;
  background-color: #e9e9e7;
  background-image:
    linear-gradient(rgba(0, 0, 0, .06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 0, 0, .06) 1px, transparent 1px);
  background-size: 28px 28px;
}

.work-copy {
  padding: 30px;
  border-top: var(--border);
}

.work-copy p:last-child {
  margin-bottom: 0;
  color: var(--gray-700);
}

.dashboard-visual {
  padding: 10%;
}

.dashboard-visual::before {
  content: "";
  position: absolute;
  inset: 10%;
  border: 8px solid var(--black);
  background: var(--white);
  box-shadow: 22px 22px 0 rgba(0, 0, 0, .12);
}

.dash-sidebar,
.dash-topbar,
.dash-chart,
.dash-panel {
  position: absolute;
  z-index: 2;
  background: var(--black);
}

.dash-sidebar { top: 12%; bottom: 12%; left: 12%; width: 13%; }
.dash-topbar { top: 12%; left: 26%; right: 12%; height: 9%; }
.dash-chart {
  left: 29%;
  right: 15%;
  top: 30%;
  height: 30%;
  display: flex;
  align-items: flex-end;
  gap: 5%;
  padding: 5%;
  border: 2px solid var(--black);
  background: var(--white);
}

.dash-chart span { flex: 1; background: var(--black); }
.dash-chart span:nth-child(1) { height: 35%; }
.dash-chart span:nth-child(2) { height: 64%; }
.dash-chart span:nth-child(3) { height: 48%; }
.dash-chart span:nth-child(4) { height: 86%; }
.dash-chart span:nth-child(5) { height: 72%; }
.dash-panel { height: 18%; bottom: 14%; }
.panel-a { left: 29%; width: 20%; }
.panel-b { left: 52%; width: 20%; }
.panel-c { left: 75%; right: 15%; }

.commerce-visual {
  padding: 11%;
}

.commerce-visual::before {
  content: "";
  position: absolute;
  inset: 12%;
  border: 5px solid var(--black);
  background: var(--white);
}

.commerce-nav,
.commerce-image,
.commerce-lines,
.commerce-button {
  position: absolute;
  z-index: 2;
}

.commerce-nav { top: 16%; left: 16%; right: 16%; height: 7%; background: var(--black); }
.commerce-image { top: 29%; bottom: 18%; left: 16%; width: 41%; background: var(--black); }
.commerce-lines { top: 32%; left: 63%; right: 16%; display: grid; gap: 14px; }
.commerce-lines span { height: 7px; background: var(--black); }
.commerce-lines span:nth-child(2) { width: 80%; }
.commerce-lines span:nth-child(3) { width: 58%; }
.commerce-button { left: 63%; bottom: 24%; width: 21%; height: 11%; border: 3px solid var(--black); }

.integration-visual {
  display: grid;
  place-items: center;
}

.integration-core,
.node {
  position: absolute;
  z-index: 2;
  display: grid;
  place-items: center;
  border: 3px solid var(--black);
  background: var(--white);
  font-family: "Courier New", monospace;
  font-size: 12px;
  font-weight: 800;
}

.integration-core { width: 92px; height: 92px; background: var(--black); color: var(--white); font-size: 20px; }
.node { width: 66px; height: 42px; }
.node-a { top: 16%; left: 16%; }
.node-b { top: 16%; right: 16%; }
.node-c { bottom: 16%; left: 16%; }
.node-d { bottom: 16%; right: 16%; }
.line { position: absolute; z-index: 1; width: 29%; height: 2px; background: var(--black); transform-origin: left center; }
.line-a { top: 30%; left: 25%; transform: rotate(31deg); }
.line-b { top: 30%; right: 25%; transform: rotate(149deg); transform-origin: right center; }
.line-c { bottom: 30%; left: 25%; transform: rotate(-31deg); }
.line-d { bottom: 30%; right: 25%; transform: rotate(211deg); transform-origin: right center; }

.section-why {
  position: relative;
  overflow: hidden;
  background: var(--black);
  color: var(--white);
}

.section-why::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .13;
  background-image:
    linear-gradient(rgba(255, 255, 255, .18) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .18) 1px, transparent 1px);
  background-size: 48px 48px;
}

.why-grid {
  position: relative;
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 72px;
}

.why-intro p:not(.eyebrow) {
  max-width: 520px;
  margin-top: 24px;
  color: #bdbdbd;
  font-size: 17px;
}

.eyebrow-light {
  color: var(--white);
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid #393939;
  border-left: 1px solid #393939;
}

.value-card {
  min-height: 260px;
  padding: 30px;
  border-right: 1px solid #393939;
  border-bottom: 1px solid #393939;
}

.value-mark {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  margin-bottom: 40px;
  border: 1px solid #5d5d5d;
  font-size: 22px;
  font-weight: 800;
}

.value-card p {
  margin-bottom: 0;
  color: #bdbdbd;
  font-size: 14px;
}

.section-statement {
  padding: 78px 0;
  border-bottom: var(--border);
}

.statement-grid {
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  gap: 72px;
  align-items: end;
}

.statement-quote {
  margin-bottom: 0;
  font-size: clamp(30px, 4vw, 58px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -.045em;
}

.statement-meta {
  display: grid;
  gap: 8px;
  justify-items: end;
  color: var(--gray-500);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .12em;
  text-align: right;
}

.section-contact {
  position: relative;
  overflow: hidden;
  background: var(--black);
  color: var(--white);
}

.section-contact::after {
  content: "";
  position: absolute;
  right: -120px;
  bottom: -260px;
  width: 620px;
  height: 620px;
  border: 1px solid #313131;
  transform: rotate(45deg);
}

.contact-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 90px;
}

.contact-copy > p:not(.eyebrow) {
  max-width: 520px;
  margin: 24px 0;
  color: #bdbdbd;
}

.contact-email {
  display: inline-flex;
  gap: 18px;
  align-items: center;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--white);
  font-size: 18px;
  font-weight: 800;
}

.project-form {
  padding: 36px;
  border: 1px solid #373737;
  background: #0d0d0d;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.project-form label {
  display: grid;
  gap: 9px;
}

.project-form label > span {
  color: #bdbdbd;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.form-full {
  grid-column: 1 / -1;
}

.project-form input,
.project-form textarea,
.project-form select {
  width: 100%;
  border: 0;
  border-bottom: 1px solid #5d5d5d;
  border-radius: 0;
  outline: none;
  background: transparent;
  color: var(--white);
}

.project-form input,
.project-form select {
  height: 48px;
}

.project-form textarea {
  padding: 12px 0;
  resize: vertical;
}

.project-form select option {
  background: var(--black);
  color: var(--white);
}

.project-form input:focus,
.project-form textarea:focus,
.project-form select:focus {
  border-color: var(--white);
}

.form-submit {
  margin-top: 30px;
}

.form-note,
.form-status {
  margin: 12px 0 0;
  color: #8f8f8f;
  font-size: 11px;
}

.site-footer {
  padding: 48px 0 28px;
  background: var(--white);
}

.footer-main {
  display: grid;
  grid-template-columns: 260px 1fr auto;
  gap: 48px;
  align-items: center;
  padding-bottom: 40px;
  border-bottom: var(--border);
}

.footer-brand {
  width: 230px;
}

.footer-main > p {
  max-width: 460px;
  margin-bottom: 0;
  color: var(--gray-700);
  font-size: 13px;
}

.footer-main nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 24px;
  flex-wrap: nowrap;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.footer-main nav a {
  white-space: nowrap;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 24px;
  color: var(--gray-500);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 650ms var(--ease), transform 650ms var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

@media (max-width: 1120px) {
  .header-inner {
    grid-template-columns: 190px minmax(0, 1fr) auto;
    gap: 18px;
  }

  .brand {
    width: 190px;
  }

  .site-nav {
    gap: clamp(12px, 1.6vw, 18px);
    font-size: 11px;
  }

  .site-nav a:nth-child(4) {
    display: block;
  }

  .header-cta {
    min-height: 44px;
    gap: 10px;
    padding-inline: 16px;
  }

  .hero-grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }

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

  .hero-proof div,
  .hero-proof div:nth-child(2),
  .hero-proof div:last-child {
    padding-left: 0;
    border-right: 0;
    border-bottom: var(--border);
  }

  .hero-proof div:last-child {
    border-bottom: 0;
  }

  .process-list {
    grid-template-columns: repeat(3, 1fr);
  }

  .process-step:nth-child(3)::after {
    display: none;
  }

  .why-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .why-intro,
  .contact-copy {
    max-width: 720px;
  }
}

@media (max-width: 860px) {
  :root {
    --header-height: 74px;
  }

  .container {
    width: min(calc(100% - 32px), var(--max-width));
  }

  .site-header {
    isolation: isolate;
  }

  .header-inner {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 16px;
  }

  .brand {
    width: clamp(150px, 46vw, 190px);
    max-width: 100%;
  }

  .header-cta {
    display: none;
  }

  .menu-toggle {
    position: relative;
    z-index: 3;
    display: inline-flex;
    min-width: 44px;
    min-height: 44px;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    padding: 0;
    border: 0;
    background: none;
    color: var(--black);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
    cursor: pointer;
  }

  .menu-toggle:focus-visible {
    outline: 2px solid var(--black);
    outline-offset: 6px;
  }

  .menu-toggle-lines {
    position: relative;
    flex: 0 0 24px;
    width: 24px;
    height: 12px;
  }

  .menu-toggle-lines i {
    position: absolute;
    left: 0;
    width: 24px;
    height: 2px;
    background: var(--black);
    transition: transform 180ms ease, top 180ms ease;
  }

  .menu-toggle-lines i:first-child { top: 1px; }
  .menu-toggle-lines i:last-child { top: 9px; }
  .menu-toggle[aria-expanded="true"] .menu-toggle-lines i:first-child { top: 5px; transform: rotate(45deg); }
  .menu-toggle[aria-expanded="true"] .menu-toggle-lines i:last-child { top: 5px; transform: rotate(-45deg); }

  .site-nav {
    position: absolute;
    z-index: 2;
    top: 100%;
    left: 0;
    right: 0;
    display: flex;
    height: calc(100vh - var(--header-height));
    height: calc(100dvh - var(--header-height));
    max-height: calc(100vh - var(--header-height));
    max-height: calc(100dvh - var(--header-height));
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    padding: clamp(24px, 6vh, 54px) max(16px, env(safe-area-inset-right)) max(28px, env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left));
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    border-top: 1px solid var(--gray-200);
    background: var(--white);
    font-size: clamp(21px, 5vw, 30px);
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 180ms ease, transform 180ms ease, visibility 0s linear 180ms;
    -webkit-overflow-scrolling: touch;
  }

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

  .site-nav a,
  .site-nav a:nth-child(4) {
    position: relative;
    display: flex;
    width: min(100%, 680px);
    min-height: 58px;
    margin-inline: auto;
    align-items: center;
    justify-content: space-between;
    padding: 10px 2px;
    border-bottom: 1px solid var(--gray-200);
    line-height: 1.1;
  }

  .site-nav a::after {
    content: "↗";
    position: static;
    width: auto;
    height: auto;
    flex: 0 0 auto;
    margin-left: 20px;
    background: none;
    opacity: .42;
    transform: none;
    transition: transform 180ms ease, opacity 180ms ease;
  }

  .site-nav a:hover::after,
  .site-nav a:focus-visible::after {
    right: auto;
    opacity: 1;
    transform: translate(3px, -3px);
  }

  .site-nav a:focus-visible {
    outline: 2px solid var(--black);
    outline-offset: 3px;
  }

  .site-nav a:last-child {
    min-height: 62px;
    margin-top: 18px;
    padding-inline: 18px;
    border: 1px solid var(--black);
    background: var(--black);
    color: var(--white);
  }

  body.menu-open .site-header {
    background: var(--white);
    box-shadow: none;
  }

  .hero {
    min-height: auto;
    padding-top: calc(var(--header-height) + 70px);
  }

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

  .hero-copy {
    max-width: 720px;
  }

  .hero-visual {
    width: min(100%, 680px);
    margin-inline: auto;
  }

  .visual-frame {
    transform: perspective(1100px) rotateX(59deg) rotateZ(-36deg) scale(.9);
  }

  .section {
    padding: 84px 0;
  }

  .section-heading,
  .statement-grid {
    grid-template-columns: 1fr;
    gap: 26px;
  }

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

  .service-card {
    min-height: 0;
  }

  .service-card > p:not(.card-index) {
    min-height: 0;
  }

  .service-icon {
    margin-bottom: 42px;
  }

  .process-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-step:nth-child(2)::after,
  .process-step:nth-child(4)::after {
    display: none;
  }

  .process-step:nth-child(3)::after {
    display: block;
  }

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

  .work-card-large {
    grid-row: auto;
  }

  .work-card-large,
  .work-card {
    grid-template-rows: minmax(420px, 1fr) auto;
  }

  .statement-meta {
    justify-items: start;
    text-align: left;
  }

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

  .footer-main > p {
    grid-column: 1 / -1;
    grid-row: 2;
  }
}

@media (max-width: 580px) {
  :root {
    --header-height: 72px;
  }

  .container {
    width: min(calc(100% - 24px), var(--max-width));
  }

  .header-inner {
    gap: 12px;
  }

  .brand {
    width: clamp(148px, 47vw, 178px);
  }

  .site-nav {
    height: calc(100vh - var(--header-height));
    height: calc(100dvh - var(--header-height));
    max-height: calc(100vh - var(--header-height));
    max-height: calc(100dvh - var(--header-height));
    padding-top: clamp(20px, 4vh, 34px);
  }

  .hero {
    padding-top: calc(var(--header-height) + 50px);
    padding-bottom: 60px;
  }

  .hero h1 {
    font-size: clamp(46px, 14vw, 72px);
    line-height: .94;
    letter-spacing: -.06em;
  }

  .hero-lede {
    font-size: 17px;
  }

  .hero-actions {
    display: grid;
  }

  .button {
    width: 100%;
    min-height: 52px;
  }

  .hero-proof {
    margin-top: 40px;
  }

  .visual-frame {
    margin-top: -20px;
    transform: perspective(1000px) rotateX(59deg) rotateZ(-36deg) scale(.74);
  }

  .section {
    padding: 68px 0;
  }

  .section-heading {
    margin-bottom: 38px;
  }

  .section-heading h2,
  .why-intro h2,
  .contact-copy h2 {
    font-size: clamp(35px, 11vw, 46px);
  }

  .service-card,
  .work-copy,
  .value-card,
  .project-form {
    padding: 24px;
  }

  .service-icon {
    margin-bottom: 32px;
  }

  .service-card ul {
    margin-bottom: 34px;
  }

  .process-list {
    grid-template-columns: 1fr;
  }

  .process-step {
    min-height: 0;
  }

  .process-step::after {
    display: none !important;
  }

  .work-card-large,
  .work-card {
    grid-template-rows: minmax(280px, 1fr) auto;
  }

  .work-visual {
    min-height: 280px;
  }

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

  .value-card {
    min-height: 0;
  }

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

  .form-full {
    grid-column: auto;
  }

  .project-form input,
  .project-form textarea,
  .project-form select {
    font-size: 16px;
  }

  .contact-email {
    max-width: 100%;
    font-size: 16px;
  }

  .section-contact::after {
    right: -300px;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-brand {
    width: min(210px, 80vw);
  }

  .footer-main > p {
    grid-column: auto;
    grid-row: auto;
  }

  .footer-main nav {
    justify-content: start;
  }

  .footer-bottom {
    display: grid;
    gap: 8px;
  }
}

@media (max-width: 360px) {
  .container {
    width: min(calc(100% - 20px), var(--max-width));
  }

  .brand {
    width: min(164px, 58vw);
  }

  .menu-toggle-label {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }

  .site-nav {
    padding-inline: 10px;
    font-size: 20px;
  }

  .site-nav a,
  .site-nav a:nth-child(4) {
    min-height: 54px;
  }

  .hero {
    padding-top: calc(var(--header-height) + 42px);
  }

  .hero h1 {
    font-size: clamp(38px, 13.5vw, 48px);
    letter-spacing: -.05em;
  }

  .hero-lede {
    font-size: 16px;
  }

  .visual-frame {
    margin-top: -28px;
    transform: perspective(900px) rotateX(59deg) rotateZ(-36deg) scale(.67);
  }

  .section {
    padding: 58px 0;
  }

  .section-heading h2,
  .why-intro h2,
  .contact-copy h2 {
    font-size: clamp(32px, 10.5vw, 39px);
  }

  .service-card,
  .work-copy,
  .value-card,
  .project-form,
  .process-step {
    padding: 20px;
  }

  .work-grid {
    gap: 16px;
  }

  .work-card-large,
  .work-card {
    grid-template-rows: minmax(230px, 1fr) auto;
  }

  .work-visual {
    min-height: 230px;
  }

  .statement-quote {
    font-size: 28px;
  }
}
