:root {
  --ink: #102a2b;
  --ink-soft: #1d4242;
  --paper: #fffefa;
  --canvas: #f3f1e9;
  --sand: #e5e0d3;
  --line: #d7d2c6;
  --muted: #657170;
  --teal: #2f766e;
  --accent: #e45e3f;
  --accent-dark: #c7492e;
  --mint: #a9cfc5;
  --radius-sm: 4px;
  --radius-md: 12px;
  --index-size: 0.74rem;
  --shadow-elevated: 0 24px 64px rgba(16, 42, 43, 0.16);
  --container: min(1180px, calc(100% - 48px));
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

::selection {
  color: var(--paper);
  background: var(--teal);
}

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

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

button,
input,
textarea {
  font: inherit;
}

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

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

h1,
h2,
h3 {
  font-family: "Space Grotesk", "Manrope", sans-serif;
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.04em;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(2.25rem, 4vw, 4rem);
}

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

.skip-link {
  position: fixed;
  z-index: 200;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  color: var(--paper);
  background: var(--ink);
  transform: translateY(-150%);
  transition: transform 180ms ease;
}

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

.container {
  width: var(--container);
  margin-inline: auto;
}

.site-header {
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  width: 100%;
  border-bottom: 1px solid transparent;
  transition: background-color 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.site-header::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 2px;
  background: var(--accent);
  content: "";
  opacity: 0;
  transform: scaleX(var(--scroll-progress, 0));
  transform-origin: left;
  transition: opacity 180ms ease;
}

.site-header.is-scrolled {
  border-color: rgba(16, 42, 43, 0.09);
  background: rgba(255, 254, 250, 0.94);
  box-shadow: 0 8px 32px rgba(16, 42, 43, 0.06);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}

.site-header.is-scrolled::after {
  opacity: 0.88;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 82px;
}

.brand {
  position: relative;
  z-index: 102;
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex-shrink: 0;
}

.brand-mark {
  display: grid;
  width: 37px;
  height: 37px;
  place-items: center;
  color: var(--accent);
}

.brand-mark svg {
  width: 100%;
  fill: currentColor;
}

.brand-mark .brand-mark-cut {
  fill: var(--paper);
}

.brand-copy {
  display: grid;
  line-height: 1;
}

.brand-copy strong {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.05rem;
  letter-spacing: -0.03em;
}

.brand-copy small {
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.59rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

.main-nav > a:not(.nav-cta) {
  position: relative;
  color: #344847;
  font-size: 0.79rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.main-nav > a:not(.nav-cta)::after {
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 2px;
  background: var(--accent);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.main-nav > a:hover::after,
.main-nav > a.is-active::after {
  transform: scaleX(1);
}

.nav-cta {
  padding: 11px 17px;
  border: 1px solid var(--ink);
  border-radius: var(--radius-sm);
  font-size: 0.76rem;
  font-weight: 700;
  transition: color 180ms ease, background-color 180ms ease, transform 180ms ease;
}

.nav-cta:hover {
  color: var(--paper);
  background: var(--ink);
  transform: translateY(-2px);
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: transparent;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--ink);
  transition: transform 180ms ease;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 154px 0 88px;
  background: var(--paper);
}

.hero::before {
  position: absolute;
  top: 0;
  right: 0;
  width: 35%;
  height: 100%;
  background: var(--canvas);
  content: "";
}

.hero-grid-pattern {
  position: absolute;
  top: 0;
  right: 0;
  width: 35%;
  height: 100%;
  opacity: 0.28;
  background-image: linear-gradient(rgba(16, 42, 43, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16, 42, 43, 0.12) 1px, transparent 1px);
  background-size: 36px 36px;
}

.hero-layout {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(430px, 0.8fr);
  gap: clamp(48px, 7vw, 96px);
  align-items: center;
}

.eyebrow,
.section-kicker {
  margin-bottom: 24px;
  color: var(--teal);
  font-size: 0.71rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
}

.eyebrow span {
  width: 24px;
  height: 2px;
  background: var(--accent);
}

.hero h1 {
  max-width: 760px;
  margin-bottom: 28px;
  font-size: clamp(3.35rem, 6.3vw, 6.8rem);
  line-height: 0.94;
}

.hero h1 em {
  position: relative;
  color: var(--accent);
  font-style: normal;
}

.hero h1 em::after {
  position: absolute;
  right: 0;
  bottom: 0.03em;
  left: 0;
  height: 0.08em;
  background: currentColor;
  content: "";
  opacity: 0.24;
}

.hero-lead {
  max-width: 630px;
  margin-bottom: 34px;
  color: #4e6260;
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  line-height: 1.75;
}

.hero-actions,
.contact-actions {
  display: flex;
  align-items: center;
  gap: 26px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-height: 54px;
  padding: 14px 21px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font-size: 0.81rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.button svg {
  width: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
  transition: transform 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button:hover svg {
  transform: translateX(3px);
}

.button-primary {
  color: var(--paper);
  background: var(--ink);
}

.button-primary:hover {
  background: var(--ink-soft);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid rgba(16, 42, 43, 0.3);
  font-size: 0.79rem;
  font-weight: 700;
  transition: color 180ms ease, border-color 180ms ease;
}

.text-link span {
  font-size: 1.1rem;
  transition: transform 180ms ease;
}

.text-link:hover {
  color: var(--accent);
  border-color: var(--accent);
}

.text-link:hover span {
  transform: translate(2px, 2px);
}

.hero-proof {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: 620px;
  margin: 64px 0 0;
  padding-top: 23px;
  border-top: 1px solid var(--line);
}

.hero-proof div {
  display: flex;
  gap: 12px;
  align-items: baseline;
  padding-right: 12px;
}

.hero-proof dt {
  padding: 2px 4px;
  color: var(--accent);
  font-family: "Space Grotesk", sans-serif;
  font-size: var(--index-size);
  font-weight: 600;
}

.hero-proof dd {
  margin: 0;
  color: #49605e;
  font-size: 0.71rem;
  font-weight: 700;
  line-height: 1.35;
}

.hero-visual {
  --tilt-x: 0deg;
  --tilt-y: 0deg;
  position: relative;
  min-height: 560px;
  padding: 30px;
  overflow: hidden;
  color: var(--paper);
  border-radius: var(--radius-sm);
  background: var(--ink);
  box-shadow: var(--shadow-elevated);
  transform-style: preserve-3d;
  transition: box-shadow 320ms ease, transform 380ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.hero-visual::before,
.hero-visual::after {
  position: absolute;
  border: 1px solid rgba(169, 207, 197, 0.2);
  border-radius: 50%;
  content: "";
}

.hero-visual::before {
  right: -130px;
  bottom: -135px;
  width: 390px;
  height: 390px;
}

.hero-visual::after {
  right: -55px;
  bottom: -60px;
  width: 240px;
  height: 240px;
}

.visual-status {
  display: flex;
  align-items: center;
  gap: 9px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  color: #bcd0cc;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.15em;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #70c8a8;
  box-shadow: 0 0 0 5px rgba(112, 200, 168, 0.12);
  animation: status-pulse 2.8s infinite ease-out;
}

.visual-status-code {
  margin-left: auto;
  color: rgba(255, 255, 255, 0.38);
}

.visual-heading {
  padding-top: 35px;
}

.visual-heading p {
  margin-bottom: 9px;
  color: var(--mint);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.visual-heading strong {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.8rem, 2.6vw, 2.6rem);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.process-map {
  display: grid;
  grid-template-columns: 1fr 46px 86px 46px 1fr;
  align-items: center;
  margin: 72px 0 55px;
}

.process-node {
  padding: 13px 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.04);
}

.process-node span,
.process-node strong {
  display: block;
}

.process-node span {
  margin-bottom: 4px;
  color: rgba(255, 255, 255, 0.46);
  font-size: 0.56rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.process-node strong {
  font-size: 0.68rem;
  letter-spacing: 0.03em;
}

.process-line {
  position: relative;
  height: 1px;
  overflow: hidden;
  background: rgba(169, 207, 197, 0.28);
}

.process-line span {
  position: absolute;
  top: -2px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  animation: signal 2.3s infinite ease-in-out;
}

.process-core {
  position: relative;
  display: grid;
  place-items: center;
}

.process-core svg {
  width: 86px;
  fill: none;
  stroke: var(--mint);
  stroke-width: 1;
  animation: core-orbit 16s infinite linear;
}

.process-core circle:nth-child(2) {
  fill: rgba(228, 94, 63, 0.15);
  stroke: var(--accent);
}

.process-core small {
  position: absolute;
  font-size: 0.52rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.visual-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.visual-metrics > div {
  display: grid;
}

.visual-metrics span {
  color: rgba(255, 255, 255, 0.46);
  font-size: 0.56rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.visual-metrics strong {
  margin: 4px 0 10px;
  font-size: 0.72rem;
}

.visual-metrics i {
  position: relative;
  height: 2px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.12);
}

.visual-metrics i::after {
  display: block;
  width: var(--progress);
  height: 100%;
  background: var(--accent);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 900ms 420ms cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-visual.is-visible .visual-metrics i::after {
  transform: scaleX(1);
}

.support-note {
  position: relative;
  z-index: 2;
  display: flex;
  width: fit-content;
  align-items: center;
  gap: 10px;
  min-width: 154px;
  margin: 18px 0 0 auto;
  padding: 9px 12px;
  color: var(--ink);
  background: var(--mint);
  border: 1px solid rgba(16, 42, 43, 0.12);
}

.support-note > span {
  color: var(--teal);
  font-size: 1rem;
}

.support-note small,
.support-note strong {
  display: block;
}

.support-note small {
  color: rgba(16, 42, 43, 0.65);
  font-size: 0.55rem;
}

.support-note strong {
  font-size: 0.7rem;
}

@keyframes signal {
  from { left: 0; }
  50%, to { left: calc(100% - 5px); }
}

@keyframes status-pulse {
  0%, 55%, 100% { box-shadow: 0 0 0 5px rgba(112, 200, 168, 0.12); }
  75% { box-shadow: 0 0 0 10px rgba(112, 200, 168, 0); }
}

@keyframes core-orbit {
  to { transform: rotate(360deg); }
}

.client-strip {
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--canvas);
}

.client-strip::before {
  position: absolute;
  top: 0;
  right: 0;
  width: 42%;
  height: 100%;
  background-image:
    linear-gradient(rgba(16, 42, 43, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16, 42, 43, 0.035) 1px, transparent 1px);
  background-size: 32px 32px;
  content: "";
  pointer-events: none;
}

.client-strip::after {
  position: absolute;
  top: 50%;
  right: -90px;
  width: 220px;
  height: 220px;
  border: 1px solid rgba(47, 118, 110, 0.16);
  border-radius: 50%;
  content: "";
  pointer-events: none;
  transform: translateY(-50%);
}

.client-strip-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(250px, 0.78fr) 2fr;
  gap: clamp(40px, 6vw, 92px);
  align-items: center;
  min-height: 164px;
}

.client-strip-intro {
  display: flex;
  align-items: center;
  gap: 18px;
}

.client-strip-mark {
  position: relative;
  display: grid;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(47, 118, 110, 0.32);
  border-radius: 50%;
}

.client-strip-mark::before,
.client-strip-mark::after {
  position: absolute;
  background: var(--canvas);
  content: "";
}

.client-strip-mark::before {
  width: 50px;
  height: 8px;
}

.client-strip-mark::after {
  width: 8px;
  height: 50px;
}

.client-strip-mark i {
  position: relative;
  z-index: 1;
  display: block;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--accent);
}

.client-strip-mark i:first-child,
.client-strip-mark i:last-child {
  position: absolute;
  background: var(--teal);
}

.client-strip-mark i:first-child {
  top: 7px;
}

.client-strip-mark i:last-child {
  bottom: 7px;
}

.client-strip-intro p {
  margin: 0;
  color: var(--teal);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.client-strip-intro strong {
  display: block;
  margin-top: 5px;
  color: var(--ink);
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(0.95rem, 1.2vw, 1.08rem);
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.client-strip ul {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(18px, 2.5vw, 38px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.client-strip li {
  position: relative;
  display: flex;
  min-height: 70px;
  flex-direction: column;
  justify-content: space-between;
  padding: 11px 0 9px;
  border-top: 1px solid rgba(16, 42, 43, 0.24);
  border-bottom: 2px solid transparent;
  transition: border-color 220ms ease, transform 220ms ease;
}

.client-strip li::after {
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 24px;
  height: 2px;
  background: var(--accent);
  content: "";
  transition: width 220ms ease;
}

.client-strip li > span {
  color: var(--accent);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.client-strip li > strong {
  max-width: 155px;
  color: #405553;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(0.82rem, 1vw, 0.93rem);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.015em;
}

@media (hover: hover) and (pointer: fine) {
  .client-strip li:hover {
    border-bottom-color: rgba(228, 94, 63, 0.18);
    transform: translateY(-3px);
  }

  .client-strip li:hover::after {
    width: 100%;
  }
}

.section {
  padding: clamp(100px, 11vw, 150px) 0;
}

.split-heading,
.projects-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.55fr);
  gap: 70px;
  align-items: end;
  margin-bottom: 82px;
}

.section-heading h2 {
  max-width: 760px;
}

.section-heading > p,
.split-heading > p,
.projects-heading > p {
  max-width: 460px;
  margin-bottom: 6px;
  color: var(--muted);
  line-height: 1.75;
}

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

.service-row {
  display: grid;
  grid-template-columns: 55px 96px 1fr;
  gap: 36px;
  align-items: start;
  padding: 48px 0;
  border-bottom: 1px solid var(--line);
  transition: background-color 220ms ease, transform 220ms ease;
}

.service-row:hover {
  background: linear-gradient(90deg, rgba(243, 241, 233, 0.7), transparent 70%);
  transform: translateX(10px);
}

.service-number {
  padding: 8px 8px 4px;
  color: var(--accent);
  font-size: var(--index-size);
  font-weight: 700;
}

.service-icon {
  position: relative;
  display: grid;
  width: 68px;
  height: 68px;
  place-items: center;
  border: 1px solid rgba(47, 118, 110, 0.34);
  color: var(--teal);
  background: rgba(169, 207, 197, 0.11);
  transition: color 220ms ease, background-color 220ms ease, border-color 220ms ease,
    transform 220ms ease;
}

.service-icon::after {
  position: absolute;
  top: -1px;
  right: -1px;
  width: 16px;
  height: 2px;
  background: var(--accent);
  content: "";
}

.service-icon svg {
  width: 39px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.75;
}

.service-icon .icon-accent {
  stroke: var(--accent);
}

.service-copy {
  display: grid;
  grid-template-columns: minmax(230px, 0.65fr) minmax(300px, 1fr) minmax(170px, 0.55fr);
  gap: 44px;
  align-items: start;
}

.service-copy h3 {
  margin: 2px 0 0;
  font-size: clamp(1.5rem, 2.4vw, 2.3rem);
}

.service-copy p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.service-copy ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.service-copy li {
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
  color: #526361;
  font-size: 0.72rem;
  font-weight: 700;
}

.approach {
  position: relative;
  overflow: hidden;
  padding: clamp(100px, 10vw, 140px) 0;
  color: var(--paper);
  background: var(--ink);
}

.approach::after {
  position: absolute;
  right: -18vw;
  bottom: -38vw;
  width: 70vw;
  height: 70vw;
  border: 1px solid rgba(169, 207, 197, 0.12);
  border-radius: 50%;
  box-shadow: 0 0 0 8vw rgba(169, 207, 197, 0.025), 0 0 0 16vw rgba(169, 207, 197, 0.02);
  content: "";
}

.approach-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(500px, 1fr);
  gap: clamp(80px, 12vw, 170px);
}

.section-kicker-light {
  color: var(--mint);
}

.approach h2 {
  max-width: 570px;
  margin-bottom: 32px;
}

.approach-copy > p:not(.section-kicker) {
  max-width: 550px;
  margin-bottom: 36px;
  color: #b9c8c5;
  line-height: 1.8;
}

.button-light {
  color: var(--ink);
  background: var(--paper);
}

.button-light:hover {
  background: var(--mint);
}

.approach-steps {
  margin: 0;
  padding: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.17);
  list-style: none;
}

.approach-steps li {
  position: relative;
  display: grid;
  grid-template-columns: 55px 1fr;
  gap: 24px;
  padding: 25px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.17);
  transition: background-color 220ms ease;
}

.approach-steps li::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: -16px;
  width: 2px;
  background: var(--accent);
  content: "";
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 220ms ease;
}

.approach-steps li > div {
  transition: transform 220ms ease;
}

.approach-steps li:hover {
  background: rgba(255, 255, 255, 0.025);
}

.approach-steps li:hover::before {
  transform: scaleY(1);
}

.approach-steps li:hover > div {
  transform: translateX(7px);
}

.approach-steps li > span {
  padding: 4px 8px 0;
  color: var(--accent);
  font-size: var(--index-size);
  font-weight: 700;
}

.approach-steps h3 {
  margin-bottom: 7px;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
}

.approach-steps p {
  margin: 0;
  color: #aebfbc;
  font-size: 0.88rem;
}

.projects {
  background: var(--canvas);
}

.project-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(360px, 0.65fr);
  min-height: 570px;
  margin-bottom: 28px;
  background: var(--paper);
}

.project-art {
  position: relative;
  display: grid;
  min-height: 570px;
  padding: 48px;
  place-items: center;
  overflow: hidden;
  background: #cedbd6;
}

.project-art::before {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(16, 42, 43, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16, 42, 43, 0.08) 1px, transparent 1px);
  background-size: 42px 42px;
  content: "";
}

.project-art::after {
  position: absolute;
  top: -140px;
  right: -80px;
  width: 350px;
  height: 350px;
  border: 1px solid rgba(16, 42, 43, 0.18);
  border-radius: 50%;
  content: "";
}

.project-ui {
  position: relative;
  z-index: 2;
  width: min(620px, 92%);
  overflow: hidden;
  border: 7px solid var(--ink);
  border-bottom-width: 18px;
  border-radius: 7px;
  background: var(--paper);
  box-shadow: 0 35px 70px rgba(16, 42, 43, 0.22);
  transform: perspective(1200px) rotateY(-6deg) rotateX(2deg);
  transition: box-shadow 420ms ease, transform 420ms cubic-bezier(0.22, 1, 0.36, 1);
}

.project-ui-bar {
  display: flex;
  align-items: center;
  gap: 5px;
  height: 31px;
  padding: 0 11px;
  border-bottom: 1px solid var(--line);
  background: #faf9f5;
}

.project-ui-bar span {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--line);
}

.project-ui-bar span:first-child {
  background: var(--accent);
}

.project-ui-bar small {
  margin-left: auto;
  color: var(--muted);
  font-size: 0.4rem;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.project-ui-body {
  display: grid;
  grid-template-columns: 58px 1fr;
  min-height: 340px;
}

.ui-sidebar {
  display: flex;
  align-items: center;
  flex-direction: column;
  padding: 18px 0 14px;
  background: var(--ink);
}

.ui-sidebar-logo {
  display: grid;
  width: 25px;
  height: 25px;
  place-items: center;
  color: var(--paper);
  border: 1px solid rgba(255, 255, 255, 0.24);
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.62rem;
  font-weight: 600;
}

.ui-nav {
  display: grid;
  gap: 17px;
  margin-top: 32px;
}

.ui-nav i {
  position: relative;
  width: 17px;
  height: 15px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 2px;
}

.ui-nav i::before,
.ui-nav i::after {
  position: absolute;
  background: rgba(255, 255, 255, 0.35);
  content: "";
}

.ui-nav i::before {
  top: 3px;
  right: 3px;
  bottom: 3px;
  width: 3px;
}

.ui-nav i::after {
  right: 7px;
  bottom: 3px;
  left: 3px;
  height: 2px;
}

.ui-nav i.is-active {
  border-color: var(--accent);
  background: rgba(228, 94, 63, 0.14);
}

.ui-nav i.is-active::before,
.ui-nav i.is-active::after {
  background: var(--accent);
}

.ui-avatar {
  display: grid;
  width: 25px;
  height: 25px;
  margin-top: auto;
  place-items: center;
  border-radius: 50%;
  color: var(--ink);
  background: var(--mint);
  font-size: 0.43rem;
  font-weight: 700;
}

.ui-content {
  min-width: 0;
  padding: 23px 25px 20px;
}

.ui-content-head,
.ui-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.ui-content-head {
  margin-bottom: 18px;
}

.ui-content-head > div {
  display: grid;
  gap: 2px;
}

.ui-content-head span,
.ui-kpis span {
  color: var(--muted);
  font-size: 0.42rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.ui-content-head strong {
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.92rem;
  line-height: 1.2;
}

.ui-content-head > small {
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--teal);
  font-size: 0.43rem;
  font-weight: 700;
  text-transform: uppercase;
}

.ui-content-head > small i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #58a684;
  box-shadow: 0 0 0 3px rgba(88, 166, 132, 0.13);
}

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

.ui-kpis > div {
  position: relative;
  display: grid;
  min-width: 0;
  min-height: 66px;
  grid-template-columns: 1fr auto;
  align-content: space-between;
  gap: 2px 7px;
  padding: 9px 10px 8px 12px;
  border: 1px solid rgba(16, 42, 43, 0.08);
  background: var(--canvas);
}

.ui-kpis > div::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 3px;
  background: var(--teal);
  content: "";
}

.ui-kpis > div:nth-child(2)::before { background: var(--accent); }
.ui-kpis > div:nth-child(3)::before { background: var(--mint); }

.ui-kpis span {
  grid-column: 1 / -1;
  white-space: nowrap;
}

.ui-kpis strong {
  align-self: end;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.1rem;
  line-height: 1;
}

.ui-kpis small {
  align-self: end;
  color: var(--teal);
  font-size: 0.42rem;
  font-weight: 700;
  white-space: nowrap;
}

.ui-kpis > div:nth-child(2) small { color: var(--accent); }

.ui-data-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(118px, 0.8fr);
  gap: 10px;
  margin-top: 10px;
}

.ui-chart-card,
.ui-activity {
  min-width: 0;
  padding: 11px 12px 8px;
  border: 1px solid rgba(16, 42, 43, 0.1);
  background: var(--paper);
}

.ui-card-head {
  min-height: 19px;
  margin-bottom: 6px;
}

.ui-card-head strong {
  font-size: 0.5rem;
  letter-spacing: -0.01em;
}

.ui-card-head > span {
  color: var(--muted);
  font-size: 0.38rem;
}

.ui-chart {
  width: 100%;
  height: 118px;
  overflow: visible;
}

.ui-chart-grid path {
  fill: none;
  stroke: rgba(16, 42, 43, 0.09);
  stroke-width: 1;
}

.ui-chart-area {
  fill: url(#project-chart-fill);
}

.ui-chart-line {
  fill: none;
  stroke: var(--accent);
  stroke-dasharray: 700;
  stroke-dashoffset: 700;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.5;
}

.project-feature.is-visible .ui-chart-line {
  animation: project-chart-draw 1.2s 260ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.ui-chart-points circle {
  fill: var(--paper);
  stroke: var(--accent);
  stroke-width: 2;
}

.ui-activity ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.ui-activity li {
  display: grid;
  grid-template-columns: 7px 1fr;
  gap: 7px;
  align-items: start;
  padding: 7px 0;
  border-top: 1px solid rgba(16, 42, 43, 0.08);
}

.ui-activity li > i {
  width: 5px;
  height: 5px;
  margin-top: 2px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 3px rgba(47, 118, 110, 0.1);
}

.ui-activity li:nth-child(2) > i { background: var(--accent); }
.ui-activity li:nth-child(3) > i { background: var(--mint); }

.ui-activity li > span {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.ui-activity li strong {
  overflow: hidden;
  font-size: 0.43rem;
  line-height: 1.15;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ui-activity li small {
  overflow: hidden;
  color: var(--muted);
  font-size: 0.36rem;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@keyframes project-chart-draw {
  to { stroke-dashoffset: 0; }
}

.art-label {
  position: absolute;
  z-index: 3;
  bottom: 24px;
  left: 24px;
  padding: 7px 10px;
  color: var(--paper);
  background: var(--ink);
  font-size: 0.56rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.project-details {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(42px, 6vw, 78px);
}

.project-tag,
.project-industry {
  color: var(--accent);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.project-details h3 {
  margin: 8px 0 7px;
  font-size: clamp(2.2rem, 4vw, 3.4rem);
}

.project-industry {
  margin-bottom: 28px;
  color: var(--teal);
}

.project-details > p:not(.project-tag):not(.project-industry) {
  margin-bottom: 34px;
  color: var(--muted);
  line-height: 1.75;
}

.project-results {
  margin: 0;
  padding: 0;
  list-style: none;
}

.project-results li {
  display: flex;
  gap: 13px;
  padding: 10px 0;
  border-top: 1px solid var(--line);
  font-size: 0.75rem;
  font-weight: 700;
}

.project-results span {
  padding: 2px 4px;
  color: var(--accent);
  font-size: var(--index-size);
}

.project-index {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.project-index article {
  display: grid;
  grid-template-columns: minmax(180px, 0.7fr) 1fr 34px;
  gap: 30px;
  align-items: center;
  padding: 31px;
  border: 1px solid var(--line);
  background: transparent;
  transition: color 180ms ease, background-color 180ms ease, transform 180ms ease;
}

.project-index article:hover {
  color: var(--paper);
  background: var(--ink);
  transform: translateY(-3px);
}

.project-index article span:first-child {
  padding: 2px 4px;
  color: var(--accent);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.project-index h3 {
  margin: 5px 0 0;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}

.project-index p {
  margin: 0;
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.6;
  transition: color 180ms ease;
}

.project-index article:hover p {
  color: #b9c8c5;
}

.project-arrow {
  font-size: 1.3rem;
  transition: transform 180ms ease;
}

.project-index article:hover .project-arrow {
  transform: translate(3px, -3px);
}

.products {
  background: var(--paper);
}

.products-layout {
  display: grid;
  grid-template-columns: minmax(290px, 0.67fr) minmax(540px, 1fr);
  gap: clamp(70px, 11vw, 150px);
  align-items: start;
}

.products-intro {
  position: sticky;
  top: 130px;
}

.products-intro h2 {
  margin-bottom: 28px;
  font-size: clamp(2.3rem, 4vw, 3.7rem);
}

.products-intro > p:not(.section-kicker) {
  margin-bottom: 30px;
  color: var(--muted);
  line-height: 1.75;
}

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

.product-item {
  position: relative;
  display: grid;
  grid-template-columns: 92px 1fr 35px;
  gap: 30px;
  align-items: center;
  min-height: 205px;
  padding: 34px 0;
  border-bottom: 1px solid var(--line);
}

.product-monogram {
  display: grid;
  width: 82px;
  height: 104px;
  place-items: center;
  color: var(--paper);
  font-family: "Space Grotesk", sans-serif;
  font-size: 2.1rem;
  background: var(--ink);
  transition: color 200ms ease, background-color 200ms ease, transform 200ms ease;
}

.product-item:nth-child(2) .product-monogram {
  color: var(--ink);
  background: var(--mint);
}

.product-item:nth-child(3) .product-monogram {
  background: var(--accent);
}

.product-item:hover .product-monogram {
  color: var(--paper);
  background: var(--teal);
  transform: translateY(-4px) rotate(-2deg);
}

.product-item p {
  margin-bottom: 5px;
  color: var(--teal);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.product-item h3 {
  margin-bottom: 11px;
  font-size: clamp(1.55rem, 2.6vw, 2.25rem);
}

.product-item div > span {
  display: block;
  max-width: 510px;
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.65;
}

.product-index {
  align-self: start;
  padding: 2px 4px;
  color: var(--accent);
  font-size: var(--index-size);
  font-weight: 700;
}

.team {
  border-top: 1px solid var(--line);
  background: var(--canvas);
}

.team-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(520px, 1fr);
  gap: clamp(70px, 11vw, 150px);
  align-items: center;
}

.team-copy h2 {
  max-width: 600px;
  margin-bottom: 28px;
}

.team-copy > p:not(.section-kicker) {
  max-width: 590px;
  color: var(--muted);
  line-height: 1.8;
}

.team-location {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-top: 34px;
  padding-top: 25px;
  border-top: 1px solid var(--line);
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1.4;
}

.team-location svg {
  width: 26px;
  fill: none;
  stroke: var(--accent);
  stroke-width: 1.6;
}

.team-location small {
  color: var(--muted);
  font-weight: 600;
}

.team-members {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.member {
  border: 1px solid var(--line);
  background: var(--paper);
  transition: border-color 220ms ease, transform 220ms ease;
}

.member-photo {
  position: relative;
  height: 260px;
  overflow: hidden;
  background-color: var(--ink);
}

.member-photo::before {
  position: absolute;
  z-index: 1;
  inset: 0;
  background:
    linear-gradient(to top, rgba(16, 42, 43, 0.28), transparent 42%),
    linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px);
  background-size: auto, 32px 32px, 32px 32px;
  content: "";
  opacity: 0.55;
  pointer-events: none;
  transition: opacity 360ms ease;
}

.member-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 42%;
  filter: saturate(0.86) contrast(1.03);
  transform: scale(1.01);
  transition: filter 420ms ease, transform 520ms cubic-bezier(0.22, 1, 0.36, 1);
}

.member-photo-mariano img {
  object-position: 50% 38%;
}

.member:hover {
  border-color: rgba(47, 118, 110, 0.45);
  transform: translateY(-4px);
}

.member:hover .member-photo::before {
  opacity: 0.25;
}

.member:hover .member-photo img {
  filter: saturate(1) contrast(1.02);
  transform: scale(1.045);
}

.member > div:last-child {
  padding: 22px;
}

.member h3 {
  margin-bottom: 6px;
  font-size: 1.1rem;
  letter-spacing: -0.02em;
}

.member p {
  margin: 0;
  color: var(--muted);
  font-size: 0.7rem;
}

.contact {
  position: relative;
  overflow: hidden;
  padding: clamp(100px, 11vw, 150px) 0;
  color: var(--paper);
  background:
    radial-gradient(circle at 82% 36%, rgba(169, 207, 197, 0.04), transparent 32%),
    #173c3d;
}

.contact-topography {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.contact-topography::before {
  position: absolute;
  top: -32%;
  right: -16%;
  width: 76%;
  height: 164%;
  background: repeating-linear-gradient(
    116deg,
    transparent 0 82px,
    rgba(169, 207, 197, 0.03) 83px 84px
  );
  content: "";
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 62%);
  mask-image: linear-gradient(90deg, transparent, #000 62%);
  transform: rotate(-4deg);
}

.contact-topography::after {
  position: absolute;
  top: 0;
  right: 0;
  width: 54%;
  height: 100%;
  background-image:
    linear-gradient(rgba(169, 207, 197, 0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(169, 207, 197, 0.022) 1px, transparent 1px);
  background-size: 56px 56px;
  content: "";
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 68%);
  mask-image: linear-gradient(90deg, transparent, #000 68%);
}

.contact-layout {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.55fr);
  gap: clamp(70px, 12vw, 160px);
  align-items: end;
}

.contact h2 {
  max-width: 780px;
  margin-bottom: 28px;
  font-size: clamp(2.7rem, 5.4vw, 5.5rem);
}

.contact-copy > p:not(.section-kicker) {
  max-width: 630px;
  margin-bottom: 38px;
  color: #bfd0cd;
  font-size: 1.02rem;
  line-height: 1.75;
}

.button-accent {
  color: var(--paper);
  background: var(--accent);
}

.button-accent:hover {
  background: var(--accent-dark);
}

.contact-mail {
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
  font-size: 0.78rem;
  font-weight: 700;
  transition: color 180ms ease, border-color 180ms ease;
}

.contact-mail:hover {
  color: var(--mint);
  border-color: var(--mint);
}

.contact-data {
  display: grid;
  margin: 0;
  padding-left: 28px;
  border-left: 1px solid rgba(169, 207, 197, 0.14);
  font-style: normal;
}

.contact-data div {
  padding: 23px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.28);
}

.contact-data span {
  display: block;
  margin-bottom: 6px;
  color: var(--mint);
  font-size: 0.57rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.contact-data a,
.contact-data p {
  margin: 0;
  color: var(--paper);
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.15rem, 1.25vw, 1.28rem);
  font-weight: 600;
  line-height: 1.45;
}

.contact-data a:hover {
  color: var(--accent);
}

.site-footer {
  color: #aebfbc;
  background: #0b2021;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 112px;
}

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

.brand-footer .brand-mark-cut {
  fill: #0b2021;
}

.brand-footer .brand-copy small {
  color: #8da6a1;
}

.footer-inner > p {
  margin: 0;
  font-size: 0.65rem;
}

.footer-inner > p:last-child {
  text-align: right;
}

.whatsapp-fab {
  position: fixed;
  z-index: 80;
  right: 24px;
  bottom: 24px;
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  color: var(--paper);
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 50%;
  background: #25d366;
  box-shadow: 0 12px 32px rgba(16, 42, 43, 0.23), 0 6px 18px rgba(37, 211, 102, 0.16);
  transition: transform 180ms ease, background-color 180ms ease;
}

.whatsapp-fab::before {
  position: absolute;
  inset: -1px;
  border: 1px solid currentColor;
  border-radius: inherit;
  content: "";
  opacity: 0;
  animation: fab-ring 3.6s infinite ease-out;
}

.whatsapp-fab:hover {
  background: #20bd5a;
  transform: translateY(-3px);
}

.whatsapp-fab svg {
  width: 29px;
  height: 29px;
  fill: currentColor;
  stroke: none;
}

@keyframes fab-ring {
  0%, 58% {
    opacity: 0;
    transform: scale(1);
  }
  66% { opacity: 0.38; }
  86%, 100% {
    opacity: 0;
    transform: scale(1.42);
  }
}

.js [data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms ease, transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--reveal-delay, 0ms);
}

.js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

@media (hover: hover) and (pointer: fine) {
  .js .hero-visual[data-reveal].is-visible {
    transform: perspective(1200px) rotateX(var(--tilt-x)) rotateY(var(--tilt-y));
  }

  .hero-visual:hover {
    box-shadow: 0 30px 74px rgba(16, 42, 43, 0.2);
  }

  .project-art:hover .project-ui {
    box-shadow: 0 42px 82px rgba(16, 42, 43, 0.28);
    transform: perspective(1200px) translateY(-7px) rotateY(-3deg) rotateX(1deg);
  }
}

@media (max-width: 1100px) {
  .main-nav {
    gap: 20px;
  }

  .hero-layout {
    grid-template-columns: minmax(0, 1fr) minmax(380px, 0.75fr);
    gap: 46px;
  }

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

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

  .service-copy ul {
    grid-column: 1 / -1;
    display: flex;
    gap: 20px;
  }

  .service-copy li {
    flex: 1;
  }

  .project-index article {
    grid-template-columns: 1fr 28px;
  }

  .project-index article > p {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .project-arrow {
    grid-column: 2;
    grid-row: 1;
  }
}

@media (max-width: 900px) {
  :root {
    --container: min(100% - 40px, 760px);
  }

  .menu-toggle {
    position: relative;
    z-index: 102;
    display: block;
  }

  .menu-toggle[aria-expanded="true"] span:first-child {
    transform: translateY(3.5px) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] span:last-child {
    transform: translateY(-3.5px) rotate(-45deg);
  }

  .main-nav {
    position: fixed;
    z-index: 101;
    inset: 0;
    display: grid;
    align-content: center;
    gap: 0;
    padding: 90px max(24px, calc((100vw - 720px) / 2));
    visibility: hidden;
    opacity: 0;
    color: var(--paper);
    background: var(--ink);
    transform: translateY(-12px);
    transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
  }

  .main-nav.is-open {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
  }

  .menu-open .site-header {
    border-color: transparent;
    background: var(--ink);
    box-shadow: none;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }

  .main-nav > a:not(.nav-cta) {
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--paper);
    font-family: "Space Grotesk", sans-serif;
    font-size: clamp(1.8rem, 6vw, 3rem);
    font-weight: 500;
    letter-spacing: -0.04em;
  }

  .main-nav > a:not(.nav-cta)::after {
    display: none;
  }

  .nav-cta {
    justify-self: start;
    margin-top: 28px;
    color: var(--ink);
    border-color: var(--paper);
    background: var(--paper);
  }

  .menu-open .site-header .brand,
  .menu-open .menu-toggle {
    color: var(--paper);
  }

  .menu-open .brand-mark-cut {
    fill: var(--ink);
  }

  .menu-open .brand-copy small {
    color: #a8bdb9;
  }

  .menu-open .menu-toggle {
    border-color: rgba(255, 255, 255, 0.35);
  }

  .menu-open .menu-toggle span {
    background: var(--paper);
  }

  .hero {
    padding: 130px 0 70px;
  }

  .hero::before,
  .hero-grid-pattern {
    display: none;
  }

  .hero-layout,
  .approach-layout,
  .project-feature,
  .products-layout,
  .team-layout,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .hero-layout {
    gap: 64px;
  }

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

  .hero-visual {
    width: min(100%, 620px);
    min-height: 530px;
  }

  .client-strip-inner {
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 30px 0;
  }

  .client-strip ul {
    grid-template-columns: repeat(2, 1fr);
    gap: 22px 0;
  }

  .client-strip li:nth-child(3)::before {
    display: none;
  }

  .split-heading,
  .projects-heading {
    grid-template-columns: 1fr;
    gap: 28px;
    margin-bottom: 60px;
  }

  .service-row {
    grid-template-columns: 45px 70px 1fr;
    gap: 24px;
  }

  .service-copy {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .service-copy ul {
    grid-column: auto;
  }

  .approach-layout {
    gap: 70px;
  }

  .project-feature {
    min-height: 0;
  }

  .project-art {
    min-height: 500px;
  }

  .products-layout {
    gap: 70px;
  }

  .products-intro {
    position: static;
  }

  .team-layout {
    gap: 70px;
  }

  .contact-layout {
    gap: 70px;
  }

  .contact-topography {
    inset: 30% 0 0;
    opacity: 0.7;
  }

  .contact-topography::before {
    right: -36%;
    width: 100%;
  }

  .contact-topography::after {
    width: 78%;
  }

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

  .footer-inner > p:nth-child(2) {
    display: none;
  }
}

@media (max-width: 640px) {
  :root {
    --container: calc(100% - 32px);
  }

  html {
    scroll-padding-top: 76px;
  }

  .header-inner {
    min-height: 72px;
  }

  .hero {
    padding-top: 112px;
  }

  .hero h1 {
    font-size: clamp(3.05rem, 15vw, 4.5rem);
  }

  .hero-actions,
  .contact-actions {
    align-items: stretch;
    flex-direction: column;
    gap: 20px;
  }

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

  .hero-actions .text-link,
  .contact-mail {
    align-self: flex-start;
  }

  .hero-proof {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 48px;
  }

  .hero-visual {
    min-height: 510px;
    padding: 24px 20px;
  }

  .visual-heading strong {
    font-size: 1.95rem;
  }

  .process-map {
    grid-template-columns: 1fr 24px 70px 24px 1fr;
    margin: 60px 0 48px;
  }

  .process-core svg {
    width: 70px;
  }

  .process-node {
    padding: 10px 7px;
  }

  .support-note {
    margin-top: 16px;
  }

  .client-strip ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px 18px;
  }

  .client-strip li {
    min-height: 76px;
  }

  .section {
    padding: 90px 0;
  }

  h2 {
    font-size: 2.5rem;
  }

  .service-row {
    grid-template-columns: 35px 1fr;
    gap: 17px;
    padding: 35px 0;
  }

  .service-icon {
    width: 58px;
    height: 58px;
  }

  .service-copy {
    grid-column: 2;
  }

  .service-copy ul {
    display: block;
  }

  .service-row:hover {
    padding-left: 0;
    background: transparent;
    transform: none;
  }

  .approach-steps li {
    grid-template-columns: 38px 1fr;
    gap: 14px;
  }

  .project-art {
    min-height: 410px;
    padding: 22px;
  }

  .project-ui {
    width: 100%;
    border-width: 5px;
    border-bottom-width: 12px;
    transform: none;
  }

  .project-ui-body {
    grid-template-columns: 46px 1fr;
    min-height: 280px;
  }

  .ui-content {
    padding: 15px 14px 14px;
  }

  .ui-sidebar {
    padding: 14px 0 12px;
  }

  .ui-sidebar-logo,
  .ui-avatar {
    width: 22px;
    height: 22px;
  }

  .ui-nav {
    gap: 15px;
    margin-top: 25px;
  }

  .ui-nav i {
    width: 15px;
    height: 14px;
  }

  .ui-content-head {
    margin-bottom: 13px;
  }

  .ui-content-head strong {
    font-size: 0.78rem;
  }

  .ui-kpis {
    gap: 6px;
  }

  .ui-kpis > div {
    min-height: 57px;
    padding: 7px 6px 6px 8px;
  }

  .ui-kpis span {
    font-size: 0.34rem;
  }

  .ui-kpis strong {
    font-size: 0.9rem;
  }

  .ui-kpis small {
    font-size: 0.34rem;
  }

  .ui-data-grid {
    grid-template-columns: 1fr;
    margin-top: 8px;
  }

  .ui-activity {
    display: none;
  }

  .ui-chart {
    height: 96px;
  }

  .project-details {
    padding: 38px 25px;
  }

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

  .project-index article {
    gap: 18px;
    padding: 25px;
  }

  .product-item {
    grid-template-columns: 62px 1fr 20px;
    gap: 18px;
    min-height: 180px;
  }

  .product-monogram {
    width: 60px;
    height: 80px;
    font-size: 1.6rem;
  }

  .team-members {
    grid-template-columns: 1fr;
  }

  .member-photo {
    height: 210px;
  }

  .contact h2 {
    font-size: clamp(2.65rem, 12vw, 4rem);
  }

  .contact-topography {
    inset: 38% 0 0;
    opacity: 0.55;
  }

  .contact-topography::before {
    top: -10%;
    right: -72%;
    width: 150%;
    height: 120%;
  }

  .contact-topography::after {
    top: 0;
    right: 0;
    width: 82%;
    height: 100%;
  }

  .contact-data {
    padding-left: 0;
    border-left: 0;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 28px 0;
  }

  .footer-inner > p:last-child {
    text-align: left;
  }

  .whatsapp-fab {
    right: 16px;
    bottom: 16px;
  }
}

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

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

  .js [data-reveal] {
    opacity: 1;
    transform: none;
  }

  .js .hero-visual[data-reveal].is-visible,
  .service-row:hover,
  .approach-steps li:hover > div,
  .member:hover,
  .project-art:hover .project-ui {
    transform: none;
  }
}
