:root {
  --home-ink: #172025;
  --home-deep: #0d1418;
  --home-paper: #f1f0eb;
  --home-white: #fbfaf6;
  --home-muted: #69747a;
  --home-line: rgba(35, 48, 54, .2);
  --home-dark-line: rgba(255, 255, 255, .2);
  --home-accent: #c87556;
  --home-width: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: hidden;
  background: var(--home-paper);
  color: var(--home-ink);
  font-family: "Helvetica Neue", "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

.home-page {
  --page-progress: 0;
  background: var(--home-paper);
  color: var(--home-ink);
}

.home-page::before {
  content: "";
  position: fixed;
  inset: 0 auto auto 0;
  z-index: 100;
  width: calc(var(--page-progress) * 100%);
  height: 3px;
  background: var(--home-accent);
  pointer-events: none;
}

.home-preloader {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  background: var(--home-deep);
  pointer-events: none;
  animation: home-preloader-exit 1.72s .12s forwards;
}

.home-preloader-brand {
  display: flex;
  align-items: center;
  gap: clamp(13px, 1.8vw, 22px);
}

.home-preloader-name {
  display: block;
  max-width: 0;
  overflow: hidden;
  color: #fff;
  font-size: clamp(22px, 2.35vw, 36px);
  line-height: 1;
  font-weight: 700;
  letter-spacing: .19em;
  white-space: nowrap;
  opacity: 0;
  transform: translate3d(-10px, 0, 0);
  animation: home-name-intro 1.72s .12s cubic-bezier(.22, .61, .36, 1) forwards;
}

.home-preloader-mark {
  display: block;
  width: clamp(108px, 12vw, 164px);
  height: auto;
  object-fit: contain;
  transform-origin: center center;
  animation: home-logo-intro 1.72s cubic-bezier(.22, .61, .36, 1) forwards;
}

@keyframes home-logo-intro {
  0% { opacity: 0; transform: scale(1.18); }
  14% { opacity: 1; transform: scale(1.08); }
  55% { opacity: 1; transform: scale(.76); }
  100% { opacity: 1; transform: scale(.62); }
}

@keyframes home-name-intro {
  0%, 31% { max-width: 0; opacity: 0; transform: translate3d(-10px, 0, 0); }
  53% { max-width: 220px; opacity: 1; transform: translate3d(0, 0, 0); }
  100% { max-width: 220px; opacity: 1; transform: translate3d(0, 0, 0); }
}

@keyframes home-preloader-exit {
  0%, 70% { opacity: 1; visibility: visible; }
  100% { opacity: 0; visibility: hidden; }
}

.home-page .site-header {
  position: absolute;
  top: 0;
  left: 50%;
  z-index: 5;
  width: min(var(--home-width), calc(100% - 72px));
  height: 86px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, .58);
  background: transparent;
  transform: translateX(-50%);
}

.home-page .brand {
  display: flex;
  align-items: center;
  color: #fff;
  text-decoration: none;
}

.home-page .brand-logo {
  display: block;
  width: 38px;
  height: 38px;
  object-fit: contain;
}

.home-page .site-nav {
  display: flex;
  align-items: center;
  gap: 34px;
}

.home-page .site-nav a {
  color: rgba(255, 255, 255, .92);
  font-size: 14px;
  text-decoration: none;
  transition: color .2s ease, opacity .2s ease, border-color .2s ease;
}

.home-page .site-nav a:hover { color: #fff; opacity: .72; }
.home-page .site-nav a:nth-child(2) {
  padding: 8px 18px;
  border: 1px solid rgba(255, 255, 255, .8);
  border-radius: 999px;
}

.home-page a:focus-visible {
  outline: 2px solid var(--home-accent);
  outline-offset: 5px;
}

.home-shell {
  width: min(var(--home-width), calc(100% - 72px));
  margin: 0 auto;
}

/* Portada: una lectura de ingeniería en tres capas: campo, datos y obra. */
.home-hero {
  --hero-y: 0px;
  --hero-scale: 1.04;
  --hero-detail-opacity: .9;
  position: relative;
  position: sticky;
  top: 0;
  z-index: 1;
  min-height: max(720px, 100svh);
  display: flex;
  align-items: stretch;
  overflow: hidden;
  isolation: isolate;
  background: var(--home-deep);
  color: #fff;
}

.home-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: url('/assets/home-hero-bg.jpg') center / cover no-repeat;
  filter: saturate(.78) contrast(1.08) brightness(.78);
  transform: translate3d(0, var(--hero-y), 0) scale(var(--hero-scale));
  transform-origin: center center;
  transition: transform .12s linear;
}

.home-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: var(--hero-detail-opacity);
  background:
    linear-gradient(90deg, rgba(7, 12, 14, .98) 0%, rgba(7, 12, 14, .92) 25%, rgba(7, 12, 14, .58) 56%, rgba(7, 12, 14, .15) 100%),
    linear-gradient(0deg, rgba(7, 12, 14, .82) 0%, transparent 52%),
    repeating-linear-gradient(90deg, transparent 0, transparent 119px, rgba(255, 255, 255, .035) 120px),
    repeating-linear-gradient(0deg, transparent 0, transparent 119px, rgba(255, 255, 255, .03) 120px);
  transition: opacity .12s linear;
}

.home-hero-shell {
  position: relative;
  z-index: 1;
  min-height: max(720px, 100svh);
  display: flex;
  align-items: flex-end;
  padding-top: 160px;
  padding-bottom: 112px;
}

.home-hero-shell::before {
  content: none;
  position: absolute;
  top: 126px;
  left: 0;
  color: rgba(255, 255, 255, .6);
  font-size: 12px;
  letter-spacing: .13em;
}

.home-hero-content {
  max-width: 940px;
}

.home-hero-content::before {
  content: "";
  display: block;
  width: 90px;
  height: 2px;
  margin-bottom: 29px;
  background: var(--home-accent);
}

.home-hero h1 {
  max-width: 980px;
  margin: 0 0 28px;
  color: #fff;
  font-family: "Helvetica Neue", "Segoe UI", Arial, sans-serif;
  font-size: clamp(58px, 6.2vw, 100px);
  line-height: .94;
  font-weight: 300;
  letter-spacing: -.075em;
}

.home-hero h1 strong {
  color: #fff;
  font-weight: 700;
}

.home-hero-content > p {
  max-width: 650px;
  margin: 0;
  color: rgba(255, 255, 255, .88);
  font-size: clamp(17px, 1.35vw, 20px);
  line-height: 1.55;
  text-wrap: pretty;
}

.home-button,
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.home-button {
  margin-top: 36px;
  padding: 11px 18px 12px;
  border: 1px solid rgba(255, 255, 255, .72);
  border-radius: 999px;
  color: #fff;
  font-size: 14px;
  transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}

.home-button:hover {
  border-color: var(--home-accent);
  background: var(--home-accent);
  color: #fff;
  transform: translateY(-2px);
}

.home-button span,
.text-link span {
  font-size: 18px;
  line-height: 1;
}

.home-scroll-note {
  position: absolute;
  right: 0;
  bottom: 32px;
  display: flex;
  align-items: center;
  gap: 11px;
  color: rgba(255, 255, 255, .62);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.home-scroll-note span {
  display: block;
  width: 1px;
  height: 38px;
  background: var(--home-accent);
}

/* Datos de experiencia: banda oscura continua con la portada. */
.home-stats {
  position: sticky;
  top: 0;
  z-index: 2;
  min-height: max(114svh, 760px);
  display: flex;
  align-items: center;
  padding: clamp(72px, 8vw, 112px) 0;
  background: var(--home-deep);
  color: #fff;
  box-shadow: 0 -18px 54px rgba(0, 0, 0, .18);
}

.home-stats > .home-shell {
  width: min(var(--home-width), calc(100% - 72px));
  transform: translate3d(0, clamp(-72px, -6vh, -42px), 0);
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
  border-top: 1px solid var(--home-dark-line);
  border-bottom: 1px solid var(--home-dark-line);
}

.stat-item { padding: 26px 20px 24px; text-align: center; }
.stat-item + .stat-item { border-left: 1px solid var(--home-dark-line); }
.stat-item strong {
  display: block;
  color: #fff;
  font-size: clamp(48px, 5vw, 72px);
  line-height: .9;
  font-weight: 300;
  letter-spacing: -.08em;
  font-variant-numeric: tabular-nums;
}

.stat-item span {
  display: block;
  margin-top: 14px;
  color: rgba(255, 255, 255, .62);
  font-size: 15px;
}

.home-intro {
  max-width: 920px;
  margin: 78px 0 0 auto;
  padding-left: 34px;
  border-left: 2px solid var(--home-accent);
}

.home-intro p {
  max-width: 850px;
  margin: 0;
  color: rgba(255, 255, 255, .88);
  font-size: clamp(18px, 1.55vw, 23px);
  line-height: 1.5;
}

/* Servicios: filas de catálogo técnico, sin tarjetas que fragmenten la lectura. */
.home-services {
  position: relative;
  z-index: 3;
  padding: clamp(88px, 10vw, 144px) 0;
  background: var(--home-paper);
  color: var(--home-ink);
  border-radius: clamp(22px, 3vw, 38px) clamp(22px, 3vw, 38px) 0 0;
  box-shadow: 0 -22px 70px rgba(13, 20, 24, .16);
}

.home-section-heading {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 64px;
}

.home-section-heading::after {
  content: "02 / 04";
  margin-bottom: 10px;
  color: var(--home-accent);
  font-size: 12px;
  letter-spacing: .14em;
}

.home-section-heading h2 {
  max-width: 770px;
  margin: 0;
  color: var(--home-ink);
  font-size: clamp(48px, 6vw, 86px);
  line-height: .95;
  font-weight: 300;
  letter-spacing: -.075em;
}

.service-list {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  border-top: 1px solid var(--home-line);
}

.home-service-card {
  display: grid;
  position: sticky;
  top: clamp(24px, 7vh, 72px);
  grid-template-columns: 54px minmax(0, 1fr) minmax(0, 1fr);
  column-gap: 30px;
  align-items: center;
  min-height: 300px;
  padding: 30px 0;
  background: var(--home-paper);
  border-bottom: 1px solid var(--home-line);
  will-change: transform, opacity;
  transform-origin: center top;
  box-shadow: 0 16px 34px rgba(13, 20, 24, .08);
}

.home-service-card:nth-child(1) { z-index: 1; }
.home-service-card:nth-child(2) { z-index: 2; }
.home-service-card:nth-child(3) { z-index: 3; }
.home-service-card:nth-child(4) { z-index: 4; }
.home-service-card:nth-child(even) { background: #ebeae5; }
.service-index { align-self: start; padding-top: 5px; color: var(--home-accent); font-size: 12px; letter-spacing: .1em; }

.home-service-card > .service-image-link,
.home-service-card > img {
  grid-column: 2;
  grid-row: 1;
  align-self: stretch;
  min-width: 0;
}

.home-service-card:nth-child(even) > .service-image-link,
.home-service-card:nth-child(even) > img { grid-column: 3; }

.service-image-link {
  display: block;
  min-height: 238px;
  overflow: hidden;
  border-radius: 5px;
  line-height: 0;
}

.home-service-card img,
.home-project-card img {
  display: block;
  border: 1px solid rgba(73, 87, 98, .25);
  filter: saturate(.92) contrast(1.04);
  transition: filter .35s ease, transform .45s ease;
}

.home-service-card img {
  width: 100%;
  height: 238px;
  border-radius: 5px;
  object-fit: cover;
}

.service-image-link:hover img {
  filter: saturate(1) contrast(1.06);
  transform: scale(1.035);
}

.home-service-card > div:last-child {
  grid-column: 3;
  grid-row: 1;
  align-self: center;
  max-width: 470px;
  padding: 0 0 0 10px;
}

.home-service-card:nth-child(even) > div:last-child {
  grid-column: 2;
  padding: 0 10px 0 0;
}

.service-eyebrow {
  margin: 0;
  color: var(--home-accent);
  font-size: 17px;
  line-height: 1.3;
  font-weight: 600;
}

.service-eyebrow a { color: inherit; text-decoration: none; }
.service-eyebrow a:hover { color: var(--home-ink); }

.home-service-card p {
  margin: 13px 0 0;
  color: #263138;
  font-size: 17px;
  line-height: 1.52;
}

.text-link {
  margin-top: 40px;
  padding-bottom: 7px;
  border-bottom: 1px solid currentColor;
  color: var(--home-ink);
  font-size: 14px;
  font-weight: 600;
  transition: color .2s ease, border-color .2s ease;
}

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

/* Visión y misión: un solo campo visual para mantener contraste y continuidad. */
.home-values {
  position: relative;
  z-index: 4;
  background: var(--home-deep);
  color: #fff;
  border-radius: clamp(22px, 3vw, 38px) clamp(22px, 3vw, 38px) 0 0;
  box-shadow: 0 -22px 70px rgba(0, 0, 0, .2);
}

.home-value {
  position: sticky;
  top: 0;
  z-index: 1;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: clamp(88px, 11vw, 152px) 0;
  border-bottom: 1px solid var(--home-dark-line);
  will-change: transform, opacity;
  transform-origin: center top;
}

.home-value-vision,
.home-value-mission { background: var(--home-deep); }
.home-value-mission { z-index: 2; }

.value-grid {
  display: grid;
  grid-template-columns: minmax(280px, .72fr) minmax(0, 1.28fr);
  gap: clamp(48px, 9vw, 132px);
  align-items: start;
}

.value-grid h2 {
  margin: 0;
  padding: 0 0 27px;
  border-bottom: 1px solid var(--home-accent);
  color: #fff;
  font-size: clamp(50px, 6.2vw, 90px);
  line-height: .93;
  font-weight: 300;
  letter-spacing: -.075em;
}

.home-value p {
  max-width: 720px;
  margin: -3px 0 0;
  color: rgba(255, 255, 255, .83);
  font-size: clamp(18px, 1.55vw, 23px);
  line-height: 1.55;
}

/* Proyectos: archivo de obra con lectura alternada. */
.home-projects {
  position: relative;
  z-index: 5;
  padding: clamp(88px, 10vw, 144px) 0;
  background: var(--home-paper);
  color: var(--home-ink);
  border-radius: clamp(22px, 3vw, 38px) clamp(22px, 3vw, 38px) 0 0;
  box-shadow: 0 -22px 70px rgba(13, 20, 24, .16);
}

.home-projects .home-section-heading { margin-bottom: 58px; }
.home-projects .home-section-heading::after { content: "03 / 04"; }
.home-projects .home-section-heading h2 { max-width: 810px; }

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

.home-project-card {
  display: grid;
  position: sticky;
  top: clamp(24px, 7vh, 72px);
  grid-template-columns: 54px minmax(220px, .65fr) minmax(0, 1fr);
  gap: 30px;
  align-items: center;
  min-height: 230px;
  padding: 28px 0;
  background: var(--home-paper);
  border-bottom: 1px solid var(--home-line);
  will-change: transform, opacity;
  transform-origin: center top;
  box-shadow: 0 16px 34px rgba(13, 20, 24, .08);
}

.home-project-card:nth-child(1) { z-index: 1; }
.home-project-card:nth-child(2) { z-index: 2; }
.home-project-card:nth-child(3) { z-index: 3; }
.home-project-card:nth-child(4) { z-index: 4; }
.home-project-card:nth-child(even) {
  grid-template-columns: 54px minmax(0, 1fr) minmax(220px, .65fr);
  background: #ebeae5;
}

.project-index { align-self: start; padding-top: 5px; color: var(--home-accent); font-size: 12px; letter-spacing: .1em; }
.home-project-card img {
  grid-column: 2;
  grid-row: 1;
  width: 100%;
  height: 176px;
  border-radius: 5px;
  object-fit: cover;
}

.home-project-card > div:last-child {
  grid-column: 3;
  grid-row: 1;
  max-width: 520px;
}

.home-project-card:nth-child(even) img { grid-column: 3; }
.home-project-card:nth-child(even) > div:last-child { grid-column: 2; }
.home-project-card h3 { margin: 0 0 6px; color: var(--home-ink); font-size: 17px; line-height: 1.38; font-weight: 600; }
.project-meta { color: var(--home-muted); font-size: 14px; line-height: 1.45; }
.home-project-card p { margin: 12px 0 0; color: #3d484e; font-size: 16px; line-height: 1.5; }
.home-project-card img { transition: filter .35s ease, transform .45s ease; }
.home-project-card:hover img { filter: saturate(1) contrast(1.06); transform: scale(1.02); }

/* Pie institucional: la información permanece completa y respira en dos columnas. */
.home-footer {
  position: relative;
  z-index: 6;
  padding: 68px 0 34px;
  background: #202629;
  color: #fff;
}

.footer-contact-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 54px;
}

.footer-contact-list a {
  display: flex;
  align-items: center;
  gap: 15px;
  min-height: 58px;
  border-bottom: 1px dotted rgba(255, 255, 255, .22);
  color: rgba(255, 255, 255, .9);
  text-decoration: none;
  font-size: 15px;
}

.footer-contact-list a:hover { color: #efb49c; }
.footer-contact-list a svg {
  flex: 0 0 19px;
  width: 19px;
  height: 19px;
  color: var(--home-accent);
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.footer-bottom {
  display: flex;
  justify-content: center;
  align-items: center;
  padding-top: 42px;
  color: rgba(255, 255, 255, .64);
  font-size: 13px;
}

.footer-bottom > div { text-align: center; }

/* Entrada progresiva y movimiento sutil ligado al desplazamiento. */
.home-page.reveal-ready [data-reveal] {
  --reveal-y: 34px;
  opacity: 0;
  transform: translate3d(0, calc(var(--reveal-y) + var(--stack-y, 0px)), 0) scale(var(--stack-scale, 1));
  transition: opacity .72s ease, transform .72s cubic-bezier(.22, .61, .36, 1);
}

.home-page.reveal-ready [data-reveal].is-visible {
  --reveal-y: 0px;
  opacity: var(--stack-opacity, 1);
}
.home-page.reveal-ready .home-stats.is-visible {
  transition: opacity .52s cubic-bezier(.22, .61, .36, 1);
}
.home-page.reveal-ready .home-stats.scene-covered {
  opacity: 0;
  pointer-events: none;
}
.home-page.reveal-ready .home-service-card.is-visible,
.home-page.reveal-ready .home-project-card.is-visible,
.home-page.reveal-ready .home-value.is-visible {
  transition-duration: .12s;
  transition-delay: 0s;
}

.home-services .home-section-heading h2,
.home-projects .home-section-heading h2 {
  transform: translateY(calc((1 - var(--section-progress, 1)) * 18px));
  transition: transform .18s linear;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .home-preloader { display: none; }
  .home-page.reveal-ready [data-reveal] { opacity: 1; transform: none; transition: none; }
  .home-page .home-service-card img,
  .home-page .home-project-card img,
  .home-page .home-hero::before,
  .home-page .home-hero::after,
  .home-services .home-section-heading h2,
  .home-projects .home-section-heading h2 { transition: none; }
  .home-page .home-hero::before { transform: none; }
  .home-page .home-hero::after { opacity: 1; }
}

@media (min-width: 1600px) {
  :root { --home-width: 1260px; }
}

@media (max-width: 980px) and (min-width: 761px) {
  .home-service-card,
  .home-project-card,
  .home-project-card:nth-child(even) { column-gap: 20px; }
  .home-service-card { grid-template-columns: 42px minmax(0, 1fr) minmax(0, 1fr); }
  .home-service-card:nth-child(even) { grid-template-columns: 42px minmax(0, 1fr) minmax(0, 1fr); }
  .home-service-card img,
  .service-image-link { height: 205px; min-height: 205px; }
  .home-project-card,
  .home-project-card:nth-child(even) { grid-template-columns: 42px minmax(170px, .6fr) minmax(0, 1fr); }
  .home-project-card img { height: 145px; }
  .home-project-card:nth-child(even) { grid-template-columns: 42px minmax(0, 1fr) minmax(170px, .6fr); }
  .value-grid { gap: 48px; }
}

@media (max-width: 760px) {
  .home-page .site-header {
    top: 0;
    left: 18px;
    right: 18px;
    width: auto;
    height: 68px;
    transform: none;
  }

  .home-page .brand-logo { width: 32px; height: 32px; }
  .home-page .site-nav { gap: 15px; }
  .home-page .site-nav a { font-size: 12px; }
  .home-page .site-nav a:nth-child(2) { padding: 6px 11px; }
  .home-shell, .home-hero-shell { width: calc(100% - 36px); }

  .home-hero,
  .home-hero-shell { min-height: 760px; }

  .home-hero,
  .home-stats { position: relative; top: auto; }

  .home-stats { min-height: auto; }
  .home-stats > .home-shell { width: calc(100% - 36px); transform: none; }

  .home-service-card,
  .home-service-card:nth-child(1),
  .home-service-card:nth-child(2),
  .home-service-card:nth-child(3),
  .home-service-card:nth-child(4),
  .home-project-card,
  .home-project-card:nth-child(1),
  .home-project-card:nth-child(2),
  .home-project-card:nth-child(3),
  .home-project-card:nth-child(4),
  .home-value,
  .home-value-mission {
    position: relative;
    top: auto;
    z-index: auto;
    --stack-y: 0px;
    --stack-scale: 1;
    --stack-opacity: 1;
  }

  .home-service-card:nth-child(even),
  .home-project-card:nth-child(even) { background: transparent; }

  .home-hero::before { background-position: 60% center; opacity: .82; }
  .home-hero::after {
    background:
      linear-gradient(90deg, rgba(7, 12, 14, .97) 0%, rgba(7, 12, 14, .78) 68%, rgba(7, 12, 14, .28) 100%),
      linear-gradient(0deg, rgba(7, 12, 14, .88), transparent 58%);
  }

  .home-hero-shell {
    align-items: flex-end;
    padding-top: 110px;
    padding-bottom: 106px;
  }

  .home-hero-shell::before { top: 96px; }
  .home-hero-content { max-width: none; }
  .home-hero-content::before { width: 58px; margin-bottom: 24px; }
  .home-hero h1 {
    max-width: 640px;
    margin-bottom: 23px;
    font-size: clamp(53px, 14vw, 76px);
    letter-spacing: -.08em;
  }

  .home-hero-content > p { font-size: 17px; }
  .home-button { margin-top: 29px; font-size: 13px; }
  .home-scroll-note { right: auto; left: 0; bottom: 30px; }

  .home-stats,
  .home-services,
  .home-projects { padding: 76px 0; }

  .stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat-item { padding: 23px 9px 21px; }
  .stat-item:nth-child(3),
  .stat-item:nth-child(4) { border-top: 1px solid var(--home-dark-line); }
  .stat-item strong { font-size: 52px; }
  .stat-item span { font-size: 14px; line-height: 1.3; }

  .home-intro { margin-top: 58px; padding-left: 21px; }
  .home-intro p { font-size: 18px; }

  .home-section-heading {
    display: block;
    margin-bottom: 42px;
  }

  .home-section-heading::after {
    display: block;
    margin-top: 18px;
  }

  .home-section-heading h2 { font-size: clamp(49px, 14vw, 70px); }

  .home-service-card,
  .home-service-card:nth-child(even) {
    grid-template-columns: 28px minmax(0, 1fr);
    column-gap: 14px;
    align-items: start;
    min-height: 0;
    padding: 26px 0 36px;
  }

  .home-service-card:nth-child(even) { background: transparent; }
  .service-index { grid-column: 1; grid-row: 1 / span 2; padding-top: 3px; font-size: 11px; }

  .home-service-card > .service-image-link,
  .home-service-card > img,
  .home-service-card:nth-child(even) > .service-image-link,
  .home-service-card:nth-child(even) > img {
    grid-column: 2;
    grid-row: 1;
    width: 100%;
    min-height: 190px;
    height: 190px;
  }

  .home-service-card > div:last-child,
  .home-service-card:nth-child(even) > div:last-child {
    grid-column: 2;
    grid-row: 2;
    max-width: none;
    padding: 16px 0 0;
  }

  .service-eyebrow { font-size: 16px; }
  .home-service-card p { margin-top: 10px; font-size: 16px; }

  .home-value { padding: 76px 0; }
  .value-grid { display: block; }
  .value-grid h2 {
    display: inline-block;
    margin-bottom: 28px;
    padding-bottom: 20px;
    font-size: 56px;
  }

  .home-value p { font-size: 18px; }
  .home-projects .home-section-heading { margin-bottom: 42px; }

  .home-project-card,
  .home-project-card:nth-child(even) {
    grid-template-columns: 28px minmax(0, 1fr);
    column-gap: 14px;
    align-items: start;
    min-height: 0;
    padding: 23px 0 30px;
    background: transparent;
  }

  .project-index { grid-column: 1; grid-row: 1 / span 2; padding-top: 3px; font-size: 11px; }
  .home-project-card img,
  .home-project-card:nth-child(even) img {
    grid-column: 2;
    grid-row: 1;
    width: 100%;
    height: 180px;
  }

  .home-project-card > div:last-child,
  .home-project-card:nth-child(even) > div:last-child {
    grid-column: 2;
    grid-row: 2;
    max-width: none;
    padding-top: 16px;
  }

  .home-project-card h3 { font-size: 16px; }
  .project-meta { font-size: 14px; }
  .home-project-card p { font-size: 15px; }

  .home-footer { padding: 58px 0 30px; }
  .footer-contact-list { grid-template-columns: 1fr; }
  .footer-contact-list a { align-items: flex-start; min-height: 0; padding: 12px 0; font-size: 14px; }
  .footer-contact-list a svg { margin-top: 3px; }
  .footer-bottom { display: flex; flex-direction: column; align-items: center; gap: 20px; padding-top: 34px; }
  .footer-bottom > div { text-align: center; }
}

@media (max-width: 420px) {
  .home-page .site-header { left: 14px; right: 14px; }
  .home-page .site-nav { gap: 10px; }
  .home-page .site-nav a { font-size: 11px; }
  .home-page .site-nav a:nth-child(2) { padding: 6px 9px; }
  .home-shell, .home-hero-shell { width: calc(100% - 28px); }
  .home-stats > .home-shell { width: calc(100% - 28px); }
  .home-hero h1 { font-size: 52px; }
  .home-hero-content > p { font-size: 16px; }
  .home-scroll-note { font-size: 10px; }
  .stat-item strong { font-size: 45px; }
  .stat-item span { font-size: 13px; }
  .home-section-heading h2 { font-size: 48px; }
  .home-service-card img,
  .home-service-card > .service-image-link { height: 172px; min-height: 172px; }
  .value-grid h2 { font-size: 51px; }
}
