:root {
  color-scheme: light;
  --paper: #f4f3ef;
  --paper-deep: #ecebe5;
  --ink: #191918;
  --muted: #696963;
  --line: #d2d1ca;
  --line-dark: #a6a69f;
  --soft-ink: #2b2b29;
  --max-width: 80rem;
  --gutter: clamp(1.25rem, 4vw, 4.75rem);
  --section-space: clamp(4.5rem, 10vw, 9rem);
  --header-height: 5rem;
  --font-sans: Arial, "Helvetica Neue", Helvetica, sans-serif;
  --dz-yellow: #c7a521;
}

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

html {
  scroll-behavior: smooth;
  background: var(--paper);
}

body {
  min-width: 20rem;
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
}

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

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

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

button {
  color: inherit;
}

site-header,
site-footer,
section-heading,
dz-card,
dz-ecosystem-module {
  display: block;
}

dz-button {
  display: inline-block;
}

site-container {
  display: block;
}

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

.skip-link {
  position: fixed;
  z-index: 100;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.7rem 0.9rem;
  color: var(--paper);
  background: var(--ink);
  transform: translateY(-200%);
}

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

:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 4px;
}

.site-header {
  position: sticky;
  z-index: 30;
  top: 0;
  width: 100%;
  min-height: var(--header-height);
  border-bottom: 1px solid var(--line);
  background: rgba(244, 243, 239, 0.97);
}

.site-header__inner {
  display: grid;
  min-height: var(--header-height);
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.5rem;
}

.brand {
  display: inline-flex;
  align-items: baseline;
  width: max-content;
  letter-spacing: -0.07em;
  line-height: 1;
}

.brand__dz {
  font-size: 1.45rem;
  font-weight: 800;
}

.brand__architects {
  margin-left: 0.32rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.site-nav {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: clamp(0.85rem, 1.7vw, 1.5rem);
}

.site-nav__link {
  position: relative;
  padding-block: 0.4rem;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.2;
  white-space: nowrap;
}

.site-nav__link::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  background: var(--ink);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 160ms ease;
}

.site-nav__link:hover,
.site-nav__link:focus-visible,
.site-nav__link.is-active {
  color: var(--ink);
}

.site-nav__link:hover::after,
.site-nav__link:focus-visible::after,
.site-nav__link.is-active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.site-nav__link.is-active::after {
  background: var(--dz-yellow);
}

.menu-toggle {
  display: none;
  align-items: center;
  gap: 0.6rem;
  min-height: 2.75rem;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.menu-toggle__label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.menu-toggle__icon {
  display: grid;
  width: 1.15rem;
  gap: 0.28rem;
}

.menu-toggle__icon i {
  display: block;
  height: 1px;
  background: var(--ink);
  transition: transform 160ms ease;
}

.site-header--open .menu-toggle__icon i:first-child {
  transform: translateY(0.17rem) rotate(45deg);
}

.site-header--open .menu-toggle__icon i:last-child {
  transform: translateY(-0.17rem) rotate(-45deg);
}

.hero {
  display: flex;
  flex-direction: column;
  min-height: calc(100svh - var(--header-height));
  border-bottom: 1px solid var(--line);
}

.hero__media {
  order: 2;
  min-height: clamp(20rem, 58vw, 32rem);
  overflow: hidden;
  background: #b8b7b0;
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(0.92) brightness(0.9);
}

.hero__content {
  display: flex;
  order: 1;
  flex-direction: column;
  justify-content: space-between;
  min-height: clamp(27rem, 62vw, 38rem);
  padding-top: clamp(3.25rem, 7vw, 6rem);
  padding-bottom: clamp(2rem, 4vw, 3.5rem);
}

.hero__eyebrow,
.section-heading__eyebrow,
.site-footer__label,
.project-placeholder p,
.page-hero__index,
.eyebrow {
  margin: 0;
  color: var(--muted);
  font-size: 0.69rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1.35;
}

.hero h1 {
  max-width: 100%;
  margin: clamp(1.75rem, 4vw, 3.5rem) 0 2rem;
  font-size: clamp(3.15rem, 7.1vw, 6.25rem);
  font-weight: 500;
  letter-spacing: -0.075em;
  line-height: 0.91;
}

.hero__footer {
  display: grid;
  gap: 1.75rem;
}

.hero__footer > p {
  max-width: 32rem;
  margin: 0;
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  line-height: 1.45;
}

.button-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.button {
  display: inline-flex;
  min-height: 2.9rem;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.1rem;
  border: 1px solid var(--ink);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1;
  transition: color 160ms ease, background-color 160ms ease;
}

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

.button--dark:hover,
.button--dark:focus-visible {
  color: var(--ink);
  background: transparent;
}

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

.button--light:hover,
.button--light:focus-visible {
  color: var(--paper);
  background: var(--ink);
}

.home-section {
  padding-block: var(--section-space);
  border-bottom: 1px solid var(--line);
}

.section-kicker {
  margin: 0;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  line-height: 1.35;
}

.section-kicker::before {
  display: inline-block;
  width: 1.8rem;
  height: 1px;
  margin: 0 0.65rem 0.25rem 0;
  background: var(--dz-yellow);
  content: "";
}

.home-section--logic {
  padding-block: clamp(5.5rem, 12vw, 10rem);
  background: var(--ink);
  color: var(--paper);
}

.home-section--logic .section-kicker,
.home-section--logic .logic-card__number,
.home-section--logic .logic-card p {
  color: #b9b9b2;
}

.logic-intro {
  max-width: 57rem;
  margin-bottom: clamp(3rem, 7vw, 6rem);
}

.logic-intro h2,
.about-copy h2,
.clients-intro h2,
.contact-layout h2 {
  max-width: 17ch;
  margin: 0.8rem 0 0;
  font-size: clamp(2.45rem, 5.3vw, 5.3rem);
  font-weight: 500;
  letter-spacing: -0.065em;
  line-height: 0.96;
}

.logic-grid {
  display: grid;
  border-top: 1px solid #6b6b65;
}

.logic-card {
  display: flex;
  flex-direction: column;
  border-bottom: 1px solid #6b6b65;
}

.logic-card__media {
  aspect-ratio: 1.45;
  margin: 0;
  overflow: hidden;
  background: #2f302e;
}

.logic-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(0.9) saturate(0.55);
  transition: transform 320ms ease, filter 320ms ease;
}

.logic-card:hover .logic-card__media img {
  filter: grayscale(1) contrast(0.98) saturate(0.75);
  transform: scale(1.02);
}

.logic-card__content {
  display: flex;
  min-height: 14.5rem;
  flex: 1;
  flex-direction: column;
  padding: 1.25rem 0;
}

.logic-card__number {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.logic-card h3 {
  max-width: 16ch;
  margin: auto 0 0.9rem;
  font-size: clamp(1.2rem, 1.8vw, 1.65rem);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1.05;
}

.logic-card__content > p:last-child {
  max-width: 21rem;
  margin: 0;
  font-size: 0.94rem;
  line-height: 1.5;
}

.home-section--experience {
  background: var(--paper);
}

.section-layout--experience {
  align-items: end;
}

.experience-sectors {
  display: grid;
  border-top: 1px solid var(--ink);
  border-left: 1px solid var(--line);
}

.experience-sector {
  position: relative;
  display: flex;
  min-height: clamp(9rem, 16vw, 13rem);
  flex-direction: column;
  justify-content: space-between;
  padding: 1rem;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.experience-sector span {
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.experience-sector h3 {
  position: relative;
  z-index: 1;
  max-width: 12ch;
  margin: 1.75rem 0 0;
  font-size: clamp(1.1rem, 2vw, 1.6rem);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1;
}

.experience-sector { cursor: pointer; }
.experience-sector__reveal { position:absolute; z-index:2; right:1rem; bottom:3rem; left:1rem; opacity:0; transform:translateY(.4rem); transition:opacity 180ms ease,transform 180ms ease; pointer-events:none; }
.experience-sector__reveal p { max-width:29ch; margin:0; font-size:clamp(.76rem,1.15vw,.92rem); line-height:1.3; }
.experience-sector__reveal small { display:block; margin-top:.55rem; color:var(--muted); font-size:.54rem; font-weight:700; letter-spacing:.07em; line-height:1.35; }
.experience-sector.is-selected .experience-sector__reveal { opacity:1; transform:translateY(0); }
.experience-sector.is-selected .experience-character__figure { right:.15rem; left:auto; transform:none; animation:none; }
.experience-sector.is-selected .experience-character__leg,
.experience-sector.is-selected .experience-character__arm { animation:none; }
.experience-character--industrial .experience-character__figure { animation-duration:4.4s; animation-delay:-1.1s; }
.experience-character--comercial .experience-character__figure { animation-duration:5.2s; animation-delay:-3.3s; }
.experience-character--corporativo .experience-character__figure { animation-duration:6s; animation-delay:-4.5s; }
.experience-character--urbano .experience-character__figure { animation-duration:5.6s; animation-delay:-2.1s; }
.experience-character--habitacional .experience-character__figure { animation-duration:4.8s; animation-delay:-3.8s; }
.experience-character--gestion .experience-character__figure { animation-duration:4.2s; animation-delay:-.6s; }

@media (hover:hover) and (pointer:fine) { .experience-sector:hover .experience-sector__reveal { opacity:1; transform:translateY(0); } .experience-sector:hover .experience-character__figure { right:.15rem; left:auto; transform:none; animation:none; } .experience-sector:hover .experience-character__leg,.experience-sector:hover .experience-character__arm { animation:none; } }

.experience-character {
  position: absolute;
  top: 1.7rem;
  right: 1rem;
  left: 1rem;
  height: 4.6rem;
  overflow: hidden;
  pointer-events: none;
}

.experience-character__figure {
  position: absolute;
  top: 0;
  left: 0;
  width: 5.7rem;
  height: 4.6rem;
  overflow: visible;
  animation: dz-character-run 4.8s linear infinite;
}

.experience-character__body,
.experience-character__detail,
.experience-character__leg,
.experience-character__arm,
.experience-character__roof,
.experience-character__handle,
.experience-character__steam,
.experience-character__smile,
.experience-character__branch,
.experience-character__fold,
.experience-character__clip,
.experience-character__awning,
.experience-character__cloud,
.experience-character__ground,
.experience-character__urban,
.experience-character__seal,
.experience-character__check,
.experience-character__panel,
.experience-character__shadow {
  stroke: var(--ink);
  stroke-linecap: round;
  stroke-linejoin: round;
}

.experience-character__body {
  stroke-width: 1.55;
  fill: #deddd7;
}

.experience-character__panel {
  fill: #eeece5;
  stroke-width: 1.15;
}

.experience-character__back-sheet {
  fill: #cbc9c1;
}

.experience-character__shadow {
  fill: none;
  stroke: rgba(25, 25, 24, 0.2);
  stroke-width: 1.75;
  stroke-linecap: round;
}

.experience-character__detail,
.experience-character__leg,
.experience-character__arm,
.experience-character__roof,
.experience-character__handle,
.experience-character__steam,
.experience-character__smile,
.experience-character__branch,
.experience-character__fold,
.experience-character__clip,
.experience-character__awning,
.experience-character__cloud,
.experience-character__ground,
.experience-character__urban,
.experience-character__seal,
.experience-character__check {
  stroke-width: 1.35;
  fill: none;
}

.experience-character__foliage {
  fill: #56704a;
  stroke: #56704a;
  stroke-linejoin: round;
}

.experience-character__foliage-detail {
  stroke: rgba(255, 255, 255, 0.65);
  stroke-width: 1;
}

.experience-character__yellow {
  fill: #c7a437;
  stroke: var(--ink);
  stroke-width: 1.15;
  stroke-linejoin: round;
}

.experience-character__awning {
  fill: #e7e2d3;
}

.experience-character__cloud {
  fill: #f4f2ec;
  stroke-width: 1.05;
  opacity: 0.8;
}

.experience-character__ground {
  stroke: var(--muted);
  stroke-width: 1.05;
  stroke-linecap: round;
  opacity: 0.58;
}

.experience-character__urban,
.experience-character__seal,
.experience-character__check {
  stroke-width: 1.2;
}

.experience-character__seal {
  fill: #f0eee7;
}

.experience-character__eye {
  fill: var(--ink);
}

.experience-character__motion {
  stroke: var(--muted);
  stroke-width: 1.1;
  stroke-linecap: round;
  opacity: 0.55;
}

.experience-character__leg {
  transform-box: fill-box;
  transform-origin: top center;
  animation: dz-character-run-step 190ms ease-in-out infinite alternate;
}

.experience-character__leg--right {
  animation-delay: -95ms;
}

.experience-character__arm {
  transform-box: fill-box;
  transform-origin: center;
  stroke-width: 1.45;
  animation: dz-character-run-arm 190ms ease-in-out infinite alternate;
}

.experience-character__arm--right {
  animation-delay: -95ms;
}

@keyframes dz-character-run {
  from { left: -5.9rem; transform: translateY(0); }
  15% { transform: translateY(-2px); }
  30% { transform: translateY(0); }
  45% { transform: translateY(-2px); }
  60% { transform: translateY(0); }
  75% { transform: translateY(-2px); }
  90% { transform: translateY(0); }
  to { left: 100%; transform: translateY(-1px); }
}

@keyframes dz-character-run-step {
  from { transform: rotate(-28deg); }
  to { transform: rotate(28deg); }
}

@keyframes dz-character-run-arm {
  from { transform: rotate(-20deg); }
  to { transform: rotate(20deg); }
}

.experience-gallery {
  display: grid;
  gap: 0.75rem;
}

.experience-image {
  position: relative;
  min-height: 20rem;
  margin: 0;
  overflow: hidden;
  background: var(--paper-deep);
}

.experience-image img,
.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(0.92) saturate(0.68);
  transition: transform 360ms ease, filter 360ms ease;
}

.experience-image:hover img,
.about-image:hover img {
  filter: grayscale(1) contrast(0.98) saturate(0.85);
  transform: scale(1.025);
}

.experience-image figcaption,
.about-image figcaption {
  position: absolute;
  right: 1rem;
  bottom: 0.9rem;
  left: 1rem;
  color: var(--paper);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.28);
}

.about-layout {
  display: grid;
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: center;
}

.about-copy {
  max-width: 38rem;
}

.about-copy > p:not(.section-kicker) {
  max-width: 34rem;
  margin: 1.35rem 0 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.58;
}

.about-copy dz-button {
  margin-top: 2rem;
}

.about-image {
  position: relative;
  min-height: clamp(24rem, 42vw, 40rem);
  margin: 0;
  overflow: hidden;
  background: #c9c8c2;
}

.clients-intro {
  display: grid;
  gap: 2rem;
  margin-bottom: clamp(2.5rem, 5vw, 4.5rem);
}

.clients-intro > p {
  max-width: 30rem;
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.58;
}

.client-grid--names .client-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 8.5rem;
  overflow: hidden;
  color: #4e4e49;
  transition: color 180ms ease, background-color 180ms ease;
}

.client-grid--names .client-logo img {
  width: auto;
  max-width: 84%;
  height: auto;
  max-height: 3.6rem;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.72;
  transform: scale(1);
  transform-origin: center;
  transition:
    filter 220ms ease,
    opacity 220ms ease,
    transform 220ms ease;
}

.client-grid--names .client-logo--iberdrola img,
.client-grid--names .client-logo--walmart img,
.client-grid--names .client-logo--cccc img,
.client-grid--names .client-logo--autozone img,
.client-grid--names .client-logo--sanhua img {
  max-width: 100%;
  max-height: 4.5rem;
}

@media (hover: hover) and (pointer: fine) {
  .client-grid--names .client-logo:hover {
    color: var(--ink);
    background: #e7e6e0;
  }

  .client-grid--names .client-logo:hover img,
  .client-grid--names .client-logo:focus-within img {
    filter: grayscale(0);
    opacity: 1;
    transform: scale(1.4);
  }
}

.clients-action {
  margin-top: 2.25rem;
}

.home-section--ecosystem {
  background: #e5e4df;
}

.ecosystem-intro {
  margin-bottom: clamp(2.5rem, 6vw, 5rem);
}

.ecosystem-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--line-dark);
  border-left: 1px solid var(--line-dark);
}

.ecosystem-module__body {
  position:relative;
  display: flex;
  min-height: 12rem;
  flex-direction: column;
  padding: 1rem;
  border-right: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
  background: rgba(244, 243, 239, 0.42);
  cursor:pointer;
}

.ecosystem-module__icon {
  position: relative;
  display: flex;
  width: 3.25rem;
  height: 3.25rem;
  align-items: center;
  justify-content: center;
  margin-bottom: auto;
  animation: dz-ecosystem-drift 4.6s ease-in-out infinite alternate;
}
.ecosystem-module--slate .ecosystem-module__icon{animation-duration:5.4s;animation-delay:-2.6s}.ecosystem-module--sand .ecosystem-module__icon{animation-duration:4.9s;animation-delay:-1.9s}.ecosystem-module--stone .ecosystem-module__icon{animation-duration:5.8s;animation-delay:-3.1s}.ecosystem-module--charcoal .ecosystem-module__icon{animation-duration:4.3s;animation-delay:-2.2s}.ecosystem-module--taupe .ecosystem-module__icon{animation-duration:5.1s;animation-delay:-.9s}.ecosystem-module--graphite .ecosystem-module__icon{animation-duration:6s;animation-delay:-3.7s}
.ecosystem-module__icon img{display:block;width:100%;height:100%;object-fit:contain}.ecosystem-module__body[data-module="dz-web"] .ecosystem-module__icon img{transform:scale(.93)}.ecosystem-module__body[data-module="dz-meet"] .ecosystem-module__icon img{transform:scale(.96)}.ecosystem-module__body[data-module="dz-proyectos"] .ecosystem-module__icon img{transform:scale(.98)}.ecosystem-module__body[data-module="dz-servicios"] .ecosystem-module__icon img{transform:scale(.95)}.ecosystem-module__body[data-module="dz-costos"] .ecosystem-module__icon img{transform:scale(.98)}.ecosystem-module__body[data-module="dz-bitacora"] .ecosystem-module__icon img{transform:scale(.96)}.ecosystem-module__body[data-module="dz-levantamiento"] .ecosystem-module__icon img{transform:scale(.97)}
.ecosystem-module__reveal{position:absolute;top:4.7rem;right:1rem;bottom:3.25rem;left:1rem;opacity:0;transform:translateY(.35rem);transition:opacity 180ms ease,transform 180ms ease;pointer-events:none}.ecosystem-module__reveal p{margin:0;max-width:28ch;font-size:.72rem;line-height:1.3}.ecosystem-module__reveal small{display:block;margin-top:.7rem;color:var(--muted);font-size:.52rem;font-weight:700;letter-spacing:.07em;line-height:1.35}.ecosystem-module__body.is-selected .ecosystem-module__reveal{opacity:1;transform:none}.ecosystem-module__body.is-selected .ecosystem-module__icon{position:absolute;top:1rem;right:1rem;animation:none}.ecosystem-module__body.is-selected > h3{position:absolute;right:1rem;bottom:2.35rem;left:1rem;margin:0}.ecosystem-module__body.is-selected > h3 + p{position:absolute;right:1rem;bottom:1rem;left:1rem;margin:0}
@keyframes dz-ecosystem-drift{from{transform:translate(0,0)}to{transform:translate(.42rem,-.2rem)}}

.ecosystem-module h3 {
  margin: 1.8rem 0 0.25rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  line-height: 1.2;
}

.ecosystem-module p {
  margin: 0;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.35;
}

.contact-layout {
  display: grid;
  gap: 3rem;
  align-items: end;
}

.home-section--contact .section-kicker,
.home-section--contact .contact-details p {
  color: #b9b9b2;
}

.contact-details {
  display: grid;
  justify-items: start;
  gap: 1.25rem;
}

.contact-details p {
  margin: 0;
  font-size: 1rem;
}

.future-location-link {
  display: inline-flex;
  gap: 0.55rem;
  padding-bottom: 0.3rem;
  border-bottom: 1px solid #b9b9b2;
  color: var(--paper);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.09em;
}

@media (min-width: 40rem) {
  .logic-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .logic-card {
    border-right: 1px solid #6b6b65;
  }

  .logic-card__content {
    padding: 1.25rem;
  }

  .experience-gallery,
  .experience-sectors {
    grid-template-columns: repeat(3, 1fr);
  }

  .experience-image {
    min-height: clamp(19rem, 32vw, 30rem);
  }

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

@media (min-width: 48rem) {
  .about-layout,
  .clients-intro,
  .contact-layout {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .clients-intro > p,
  .contact-details {
    justify-self: end;
  }
}

@media (min-width: 70rem) {
  .logic-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .logic-card:nth-child(3n) {
    border-right: 0;
  }

  .ecosystem-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.section-layout {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: clamp(2.5rem, 6vw, 5rem);
}

.section-heading {
  max-width: 43rem;
}

.section-heading__title {
  max-width: 14ch;
  margin: 0.8rem 0 0;
  font-size: clamp(2.25rem, 5vw, 4.75rem);
  font-weight: 500;
  letter-spacing: -0.065em;
  line-height: 0.98;
}

.section-heading__description {
  max-width: 36rem;
  margin: 1.25rem 0 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.55;
}

.section-link,
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding-bottom: 0.35rem;
  border-bottom: 1px solid var(--ink);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.25;
}

.section-link span,
.text-link span {
  font-size: 1.05rem;
  font-weight: 400;
  line-height: 0.7;
}

.project-grid {
  display: grid;
  grid-template-columns: 1fr;
  border-top: 1px solid var(--ink);
}

.project-placeholder {
  display: flex;
  min-height: clamp(12rem, 25vw, 20rem);
  flex-direction: column;
  justify-content: space-between;
  padding: 1rem;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--paper-deep);
}

.project-placeholder:nth-child(2) {
  background: #dfded8;
}

.project-placeholder:nth-child(3) {
  background: #cecdc6;
}

.project-placeholder span {
  align-self: flex-end;
  color: var(--muted);
  font-size: 0.82rem;
}

.home-section--services {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}

.home-section--services .section-heading__eyebrow,
.home-section--services .section-heading__description,
.home-section--services .card__index,
.home-section--services .card__description {
  color: #b9b9b2;
}

.home-section--services .button--light {
  border-color: var(--paper);
  color: var(--paper);
}

.home-section--services .button--light:hover,
.home-section--services .button--light:focus-visible {
  color: var(--ink);
  background: var(--paper);
}

.card-grid {
  display: grid;
  grid-template-columns: 1fr;
  border-top: 1px solid currentColor;
}

.dz-card {
  min-width: 0;
}

.card {
  display: flex;
  min-height: 13rem;
  flex-direction: column;
  padding: 1rem 0;
  border-bottom: 1px solid currentColor;
}

.card__index {
  color: var(--muted);
  font-size: 0.69rem;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.card__title {
  max-width: 12ch;
  margin: auto 0 0.65rem;
  font-size: 1.45rem;
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1;
}

.card__description {
  max-width: 19rem;
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

.card .text-link {
  width: max-content;
  margin-top: 1.4rem;
}

.section-action {
  margin-top: 2.5rem;
}

.home-section--about {
  background: var(--paper-deep);
}

.editorial-grid {
  display: grid;
  gap: 3rem;
}

.editorial-grid__content {
  align-self: end;
  max-width: 33rem;
}

.editorial-grid__lead {
  margin: 0 0 2rem;
  font-size: clamp(1.25rem, 2vw, 1.75rem);
  letter-spacing: -0.03em;
  line-height: 1.3;
}

.client-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.client-grid div {
  display: flex;
  min-height: 7.25rem;
  align-items: center;
  justify-content: center;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.11em;
}

.ecosystem-callout,
.contact-callout {
  display: grid;
  gap: 2.75rem;
  align-items: end;
}

.home-section--ecosystem {
  background: #d8d7d1;
}

.home-section--contact {
  background: var(--soft-ink);
  color: var(--paper);
  border-color: var(--soft-ink);
}

.home-section--contact .section-heading__eyebrow,
.home-section--contact .section-heading__description {
  color: #bbbcb6;
}

.home-section--contact .button--light {
  border-color: var(--paper);
  color: var(--paper);
}

.home-section--contact .button--light:hover,
.home-section--contact .button--light:focus-visible {
  color: var(--soft-ink);
  background: var(--paper);
}

.contact-callout__links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.5rem;
}

.contact-email {
  border-bottom: 1px solid #bbbcb6;
  padding-bottom: 0.45rem;
  font-size: clamp(1.05rem, 2vw, 1.55rem);
  letter-spacing: -0.025em;
}

.contact-whatsapp {
  display: grid;
  gap: 0.45rem;
  max-width: 25rem;
}

.contact-whatsapp__label {
  margin: 0;
  color: var(--dz-yellow);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.11em;
}

.home-section--contact .contact-whatsapp__label {
  color: var(--dz-yellow);
}

.contact-whatsapp__description {
  margin: 0;
  color: #bbbcb6;
  font-size: 0.8rem;
  line-height: 1.4;
}

.contact-whatsapp__action {
  display: inline-flex;
  width: max-content;
  max-width: 100%;
  gap: 0.55rem;
  border-bottom: 1px solid currentColor;
  padding-bottom: 0.32rem;
  color: var(--paper);
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.2;
}

.page-hero {
  padding-block: clamp(4.5rem, 11vw, 9rem) clamp(3rem, 7vw, 6rem);
  border-bottom: 1px solid var(--line);
}

.page-hero__inner {
  display: grid;
  gap: 2.25rem;
}

.page-hero h1 {
  max-width: 11ch;
  margin: 0.7rem 0 0;
  font-size: clamp(3.6rem, 10vw, 8.5rem);
  font-weight: 500;
  letter-spacing: -0.08em;
  line-height: 0.88;
}

.page-hero__intro {
  max-width: 33rem;
  margin: 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.8vw, 1.35rem);
  line-height: 1.45;
}

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

.services-overview {
  padding-block: var(--section-space);
  background: var(--ink);
  color: var(--paper);
}

.services-overview .section-kicker,
.services-overview__item > span,
.services-overview__item p {
  color: #b9b9b2;
}

.services-overview__grid {
  display: grid;
  margin-top: clamp(2.5rem, 6vw, 5rem);
  border-top: 1px solid #6b6b65;
}

.services-overview__item {
  display: flex;
  min-height: 16rem;
  flex-direction: column;
  padding: 1.25rem 0;
  border-bottom: 1px solid #6b6b65;
}

.services-overview__item > span,
.service-detail__meta > span {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.services-overview__item h2 {
  max-width: 15ch;
  margin: auto 0 0.8rem;
  font-size: clamp(1.35rem, 2vw, 1.85rem);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1.04;
}

.services-overview__item p {
  max-width: 23rem;
  margin: 0;
  font-size: 0.94rem;
  line-height: 1.5;
}

.services-overview__item--lead {
  min-height: clamp(21rem, 33vw, 29rem);
  padding-top: 1.5rem;
}

.services-overview__item--lead h2 {
  max-width: 11ch;
  font-size: clamp(2.2rem, 4vw, 4.15rem);
  letter-spacing: -0.065em;
  line-height: 0.95;
}

.service-details {
  padding-block: var(--section-space);
  border-bottom: 1px solid var(--line);
  scroll-margin-top: calc(var(--header-height) + 1.5rem);
}

.service-details__heading {
  max-width: 43rem;
  margin-bottom: clamp(3rem, 7vw, 6rem);
}

.service-details__heading h2 {
  max-width: 15ch;
  margin: 0.8rem 0 0;
  font-size: clamp(2.4rem, 5.2vw, 5rem);
  font-weight: 500;
  letter-spacing: -0.065em;
  line-height: 0.97;
}

.service-details__list {
  border-top: 1px solid var(--ink);
}

.service-detail {
  display: grid;
  gap: 1.5rem;
  padding-block: clamp(2rem, 4vw, 3.5rem);
  border-bottom: 1px solid var(--line);
}

.service-detail__meta {
  display: grid;
  grid-template-columns: 2.5rem minmax(0, 1fr);
  gap: 1rem;
}

.service-detail__meta > span {
  color: var(--muted);
}

.service-detail__meta h3 {
  max-width: 17ch;
  margin: 0;
  font-size: clamp(1.4rem, 2.2vw, 2rem);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1.03;
}

.service-detail__content {
  display: grid;
  gap: 1.75rem;
  max-width: 40rem;
}

.service-detail__content > p {
  max-width: 36rem;
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.58;
}

.service-detail__content h4 {
  margin: 0 0 0.85rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.service-detail__content ul {
  display: grid;
  gap: 0.45rem;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.4;
}

.service-detail__content li {
  padding-bottom: 0.45rem;
  border-bottom: 1px solid var(--line);
}

.service-detail--lead .service-detail__meta h3 {
  color: var(--ink);
}

.placeholder-section {
  padding-block: var(--section-space);
  border-bottom: 1px solid var(--line);
}

.placeholder-section__grid {
  display: grid;
  gap: 2.75rem;
}

.placeholder-note {
  max-width: 29rem;
  padding: 1.25rem;
  border: 1px solid var(--line-dark);
}

.placeholder-note p {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.3;
}

.placeholder-note ul {
  display: grid;
  gap: 0.5rem;
  margin: 1.4rem 0 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 0.92rem;
}

.placeholder-note li {
  padding-bottom: 0.45rem;
  border-bottom: 1px solid var(--line);
}

.placeholder-stack {
  display: grid;
  border-top: 1px solid var(--ink);
}

.placeholder-row {
  display: grid;
  grid-template-columns: 2.5rem 1fr;
  gap: 1rem;
  padding-block: 1.25rem;
  border-bottom: 1px solid var(--line);
}

.placeholder-row__number {
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.placeholder-row h2,
.placeholder-row h3 {
  margin: 0;
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.2;
}

.placeholder-row p {
  max-width: 36rem;
  margin: 0.35rem 0 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.contact-placeholder {
  display: grid;
  gap: 2rem;
  padding: clamp(1.5rem, 4vw, 3rem);
  background: var(--ink);
  color: var(--paper);
}

.contact-placeholder .eyebrow {
  color: #b9b9b2;
}

.contact-placeholder a {
  width: max-content;
  max-width: 100%;
  border-bottom: 1px solid #b9b9b2;
  padding-bottom: 0.4rem;
  overflow-wrap: anywhere;
  font-size: clamp(1.1rem, 2.2vw, 1.7rem);
  letter-spacing: -0.025em;
}

.contact-placeholder__channels {
  display: grid;
  gap: 1.5rem;
  align-self: end;
}

.contact-placeholder .contact-whatsapp__action {
  color: var(--paper);
}

.site-footer {
  padding-block: 2.5rem;
  background: var(--ink);
  color: var(--paper);
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

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

.site-footer__label {
  color: #b9b9b2;
}

.site-footer__contact a,
.site-footer__address p:last-child {
  margin: 0.35rem 0 0;
  font-size: 0.92rem;
}

.site-footer__contact a {
  border-bottom: 1px solid transparent;
}

.site-footer__contact a:hover,
.site-footer__contact a:focus-visible {
  border-color: currentColor;
}

.site-footer__copyright {
  margin: 0;
  color: #b9b9b2;
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

@media (min-width: 40rem) {
  .hero__footer {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
  }

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

  .project-placeholder {
    border-bottom: 0;
  }

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

  .card-grid--four .dz-card:nth-child(odd) .card {
    padding-right: 1.5rem;
    border-right: 1px solid currentColor;
  }

  .card-grid--four .dz-card:nth-child(even) .card {
    padding-left: 1.5rem;
  }

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

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

  .services-overview__item {
    padding: 1.5rem;
    border-right: 1px solid #6b6b65;
  }

  .services-overview__item:nth-child(even) {
    border-right: 0;
  }

  .services-overview__item--lead {
    grid-column: 1 / -1;
  }

  .site-footer__grid {
    grid-template-columns: 1.2fr 1fr 1fr;
  }

  .site-footer__copyright {
    grid-column: 1 / -1;
  }
}

@media (min-width: 48rem) {
  .section-layout {
    flex-direction: row;
    align-items: end;
  }

  .section-link {
    flex: 0 0 auto;
  }

  .editorial-grid,
  .ecosystem-callout,
  .contact-callout {
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  }

  .page-hero__inner,
  .placeholder-section__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: end;
  }

  .page-hero__intro {
    justify-self: end;
  }

  .service-detail {
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: clamp(2.5rem, 7vw, 7rem);
  }

  .service-detail__content {
    justify-self: end;
  }

  .placeholder-note {
    justify-self: end;
  }

  .contact-placeholder {
    grid-template-columns: 1fr 1fr;
    align-items: end;
  }
}

@media (min-width: 60rem) {
  .hero {
    display: grid;
    grid-template-columns: minmax(0, 0.96fr) minmax(0, 1.04fr);
  }

  .hero__content {
    grid-column: 1;
    grid-row: 1;
    min-height: calc(100svh - var(--header-height));
  }

  .hero__media {
    grid-column: 2;
    grid-row: 1;
    min-height: calc(100svh - var(--header-height));
  }

  .card-grid--four {
    grid-template-columns: repeat(4, 1fr);
  }

  .card-grid--four .dz-card:not(:last-child) .card {
    padding-right: 1.25rem;
    border-right: 1px solid currentColor;
  }

  .card-grid--four .dz-card:not(:first-child) .card {
    padding-left: 1.25rem;
  }

  .card-grid--four .dz-card .card {
    border-bottom: 0;
  }
}

@media (max-width: 69.9375rem) {
  .menu-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 1px);
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0 var(--gutter) 1.25rem;
    border-bottom: 1px solid var(--line);
    background: var(--paper);
  }

  .site-header--open .site-nav {
    display: flex;
  }

  .site-nav__link {
    padding-block: 1rem;
    border-bottom: 1px solid var(--line);
    font-size: 0.76rem;
  }

  .site-nav__link::after {
    display: none;
  }
}

@media (min-width: 70rem) {
  .site-header__inner {
    grid-template-columns: auto 1fr;
  }

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

  .services-overview__item:nth-child(even) {
    border-right: 1px solid #6b6b65;
  }

  .services-overview__item:nth-child(3n) {
    border-right: 0;
  }

  .services-overview__item--lead {
    grid-column: span 2;
  }
}

@media (min-width: 80rem) {
  .site-footer__grid {
    grid-template-columns: 1.75fr 1fr 1fr auto;
    align-items: start;
  }

  .site-footer__copyright {
    grid-column: auto;
    align-self: end;
    text-align: right;
  }
}

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

  .experience-character__figure,
  .experience-character__leg,
  .experience-character__arm,
  .ecosystem-module__icon {
    animation: none;
  }

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