:root {
  --paper: #f2efe8;
  --paper-deep: #e8e1d7;
  --ink: #1d211d;
  --muted: #696a63;
  --wood: #8e5d3c;
  --wood-light: #c4946e;
  --line: rgba(29, 33, 29, 0.18);
  --white: #fffdf8;
  --container: 1320px;
  --transition: 180ms ease;
}

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

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

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

/* Animaciones de entrada */

.js [data-reveal] {
  opacity: 0;
  transform: translate3d(0, 16px, 0);
  transition:
    opacity 680ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 680ms cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

.js [data-reveal="fade"] {
  transform: none;
}

.js [data-reveal="left"] {
  transform: translate3d(-18px, 0, 0);
}

.js [data-reveal="scale"] {
  transform: scale(0.985);
}

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

@keyframes hero-media-in {
  from {
    opacity: 0.72;
    transform: scale(1.025);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes menu-in {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes lightbox-in {
  from {
    opacity: 0;
    transform: scale(0.985);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

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

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

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

button {
  font: inherit;
}

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

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  background: var(--ink);
  color: var(--white);
  font-size: 13px;
  transform: translateY(-160%);
  transition: transform var(--transition);
}

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

/* Encabezado */

.site-header {
  position: relative;
  z-index: 10;
  width: min(calc(100% - 48px), var(--container));
  min-height: 96px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  width: fit-content;
  align-items: center;
}

.brand-logo {
  display: block;
  width: 116px;
  height: auto;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 36px;
  font-size: 13px;
  font-weight: 650;
}

.desktop-nav a:not(.mobile-nav-cta) {
  position: relative;
}

.desktop-nav a:not(.mobile-nav-cta)::after {
  content: "";
  position: absolute;
  right: 100%;
  bottom: -8px;
  left: 0;
  height: 1px;
  background: var(--ink);
  transition: right var(--transition);
}

.desktop-nav a:not(.mobile-nav-cta):hover::after,
.desktop-nav a:not(.mobile-nav-cta):focus-visible::after {
  right: 0;
}

.mobile-nav-link,
.mobile-nav-cta {
  display: none;
}

.header-cta {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 13px 0 12px 16px;
  border-bottom: 1px solid var(--ink);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.01em;
}

.header-cta span,
.button span {
  font-size: 16px;
  transition: transform var(--transition);
}

.header-cta:hover span,
.button:hover span {
  transform: translate(2px, -2px);
}

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

.nav-toggle span {
  width: 100%;
  height: 1px;
  display: block;
  background: var(--ink);
  transition: transform var(--transition), opacity var(--transition);
}

.nav-toggle span + span {
  margin-top: 6px;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Hero */

.hero {
  --hero-parallax-y: 0px;

  position: relative;
  isolation: isolate;
  width: 100%;
  min-height: 650px;
  margin: 0;
  padding: 70px max(24px, calc((100vw - var(--container)) / 2)) 82px;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: var(--white);
}

.hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(16, 18, 15, 0.9) 0%, rgba(16, 18, 15, 0.78) 38%, rgba(16, 18, 15, 0.43) 68%, rgba(16, 18, 15, 0.22) 100%),
    linear-gradient(180deg, rgba(16, 18, 15, 0.05), rgba(16, 18, 15, 0.28));
  pointer-events: none;
}

.hero-media {
  position: absolute;
  z-index: -2;
  inset: 0;
  background: var(--ink);
  animation: hero-media-in 1.1s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero-background-image,
.hero-mobile-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-background-image {
  object-position: center 52%;
  transform: translate3d(0, var(--hero-parallax-y), 0) scale(1.14);
  transform-origin: center;
  will-change: transform;
}

.hero-mobile-video {
  display: none;
}

.hero-copy {
  position: relative;
  z-index: 1;
  width: min(100%, 760px);
  padding-top: 8px;
}

.hero .eyebrow {
  color: #f0d4bd;
}

.eyebrow,
.section-number {
  margin: 0 0 25px;
  color: var(--wood);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.hero h1 {
  max-width: 720px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(58px, 6vw, 94px);
  font-weight: 400;
  line-height: 0.96;
  letter-spacing: -0.06em;
}

.hero h1 span {
  display: block;
  color: #e2b995;
  font-style: italic;
}

.hero-lead {
  max-width: 590px;
  margin: 30px 0 0;
  color: rgba(255, 253, 248, 0.78);
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.7;
}

.hero-actions {
  margin-top: 34px;
  display: flex;
  align-items: center;
  gap: 30px;
}

.button {
  min-height: 52px;
  padding: 0 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  border: 1px solid transparent;
  border-radius: 0;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.025em;
  transition: background-color var(--transition), color var(--transition);
}

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

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

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

.hero .button-dark:hover,
.hero .button-dark:focus-visible {
  background: var(--wood-light);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
}

.hero .text-link {
  color: rgba(255, 253, 248, 0.78);
}

.text-link span {
  color: var(--ink);
  font-size: 16px;
}

.hero .text-link span {
  color: var(--white);
}

.hero-details {
  max-width: 650px;
  margin: 48px 0 0;
  padding: 20px 0 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  border-top: 1px solid var(--line);
  list-style: none;
}

.hero .hero-details {
  border-top-color: rgba(255, 253, 248, 0.28);
}

.hero-details li {
  font-size: 11px;
  font-weight: 700;
  line-height: 1.35;
}

.hero .hero-details li {
  color: rgba(255, 253, 248, 0.82);
}

/* Servicios */

.services-intro {
  padding: 90px max(24px, calc((100vw - var(--container)) / 2));
  display: grid;
  grid-template-columns: minmax(180px, 0.4fr) 1fr;
  gap: 70px;
  background: var(--ink);
  color: var(--white);
}

.services-intro .section-number {
  color: var(--wood-light);
}

.services-intro > div {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.65fr);
  gap: 70px;
  align-items: end;
}

.services-intro h2 {
  max-width: 720px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(42px, 5vw, 70px);
  font-weight: 400;
  line-height: 1.03;
  letter-spacing: -0.05em;
}

.services-intro div p {
  margin: 0 0 6px;
  color: rgba(255, 253, 248, 0.64);
  font-size: 15px;
  line-height: 1.8;
}

.services-grid {
  width: min(calc(100% - 48px), var(--container));
  margin: 0 auto;
  padding: 68px 0 104px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.service-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  transition: transform var(--transition), border-color var(--transition);
}

.service-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 700ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.photo-placeholder {
  padding: 24px;
  display: grid;
  place-content: center;
  gap: 7px;
  background: #ddd2c6;
  color: rgba(29, 33, 29, 0.62);
  text-align: center;
}

.photo-placeholder span,
.photo-placeholder small {
  position: relative;
  z-index: 2;
}

.photo-placeholder span {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 20px;
}

.photo-placeholder small {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.service-card:hover,
.service-card:focus-visible {
  border-color: rgba(29, 33, 29, 0.38);
  transform: translateY(-3px);
}

.service-card:hover img {
  transform: scale(1.025);
}

.service-card-content {
  min-height: 156px;
  padding: 20px;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: 1fr auto;
  gap: 14px;
  align-items: start;
}

.service-card-content h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 24px;
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.025em;
}

.service-card-content div span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.service-link {
  grid-column: 1;
  align-self: end;
  color: var(--wood);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.service-link span {
  display: inline;
  margin-left: 5px;
  color: inherit;
}

/* Trabajos */

.work-section {
  padding: 104px max(24px, calc((100vw - var(--container)) / 2));
  background: var(--white);
}

.work-heading-row {
  width: min(100%, 1080px);
  margin: 0 auto 32px;
}

.work-hint {
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.14em;
  text-align: right;
}

.section-heading {
  margin-bottom: 0;
  display: grid;
  grid-template-columns: minmax(170px, 0.34fr) minmax(0, 1fr) minmax(260px, 0.46fr);
  gap: 48px;
  align-items: end;
}

.section-heading .section-number {
  align-self: start;
}

.section-heading h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(46px, 5.2vw, 72px);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -0.055em;
}

.section-heading h2 em {
  color: var(--wood);
  font-weight: 400;
}

.section-heading > p:last-child {
  margin: 0 0 7px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

.work-grid {
  width: min(100%, 1080px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.work-card {
  position: relative;
  height: 160px;
  min-width: 0;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 12px;
  background: var(--paper-deep);
  color: inherit;
  box-shadow: 0 4px 24px rgba(20, 22, 19, 0.1);
  cursor: zoom-in;
  transition: transform 250ms cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

.work-card:first-child {
  height: 220px;
  grid-column: span 2;
}

.work-card > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 400ms ease;
}

.work-card:hover,
.work-card:focus-visible {
  z-index: 2;
  transform: scale(1.02);
  box-shadow: 0 8px 32px rgba(20, 22, 19, 0.16);
}

.work-card:hover > img,
.work-card:focus-visible > img {
  transform: scale(1.06);
}

.work-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(29, 33, 29, 0.55), transparent 50%);
  opacity: 0;
  transition: opacity 300ms ease;
}

.work-card:hover .work-overlay,
.work-card:focus-visible .work-overlay {
  opacity: 1;
}

@media (min-width: 600px) {
  .work-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .work-card {
    height: 200px;
  }

  .work-card:first-child {
    height: 260px;
    grid-column: span 2;
  }
}

/* Proceso */

.process-section {
  min-height: 720px;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  background: #d9c9b9;
}

.process-image {
  position: relative;
  min-height: 620px;
  overflow: hidden;
}

.process-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

.process-image::after {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(14, 15, 12, 0.55));
}

.process-photo-placeholder {
  position: absolute;
  inset: 0;
  min-height: inherit;
  background: #bca58f;
  color: rgba(29, 33, 29, 0.68);
}

.process-photo-placeholder span {
  font-size: clamp(24px, 3vw, 36px);
}

.process-image > p {
  position: absolute;
  z-index: 2;
  bottom: clamp(28px, 5vw, 58px);
  left: clamp(28px, 5vw, 68px);
  margin: 0;
  color: var(--white);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(28px, 3.2vw, 45px);
  font-style: italic;
  line-height: 1.1;
  letter-spacing: -0.04em;
}

.process-copy {
  padding: 92px clamp(36px, 7vw, 112px);
  align-self: center;
}

.process-copy h2 {
  max-width: 680px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(44px, 5.2vw, 70px);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -0.055em;
}

.process-lead {
  max-width: 620px;
  margin: 25px 0 42px;
  color: rgba(29, 33, 29, 0.68);
  font-size: 15px;
  line-height: 1.75;
}

.process-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(29, 33, 29, 0.24);
}

.process-list li {
  padding: 18px 0;
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 18px;
  border-bottom: 1px solid rgba(29, 33, 29, 0.24);
}

.process-list li > span {
  padding-top: 2px;
  color: var(--wood);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 12px;
  font-style: italic;
}

.process-list strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
  font-weight: 600;
}

.process-list p {
  margin: 5px 0 0;
  color: rgba(29, 33, 29, 0.64);
  font-size: 12px;
  line-height: 1.55;
}

/* Contacto y pie */

.contact-section {
  position: relative;
  overflow: hidden;
  padding: 112px 24px 102px;
  display: grid;
  justify-items: center;
  color: var(--white);
  background: var(--wood);
  text-align: center;
}

.contact-kicker {
  margin: 0 0 24px;
  color: rgba(255, 253, 248, 0.67);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.2em;
}

.contact-section h2 {
  max-width: 960px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(48px, 6vw, 82px);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: -0.06em;
}

.contact-section h2 em {
  color: #f0d4bd;
  font-weight: 400;
}

.contact-section > p:not(.contact-kicker) {
  max-width: 580px;
  margin: 30px 0 32px;
  color: rgba(255, 253, 248, 0.72);
  font-size: 15px;
  line-height: 1.75;
}

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

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

.contact-meta {
  width: min(100%, 720px);
  margin-top: 62px;
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 253, 248, 0.3);
  color: rgba(255, 253, 248, 0.68);
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.1em;
}

.site-footer {
  min-height: 276px;
  padding: 48px max(24px, calc((100vw - var(--container)) / 2));
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 42px clamp(64px, 5vw, 96px);
  align-items: start;
  background: var(--ink);
  color: var(--white);
}

.footer-summary {
  display: flex;
  align-items: center;
  gap: 24px;
  justify-self: start;
}

.footer-brand img {
  display: block;
  width: 136px;
  height: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.footer-summary > p {
  margin: 0;
  max-width: 280px;
  color: rgba(255, 253, 248, 0.62);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
  line-height: 1.45;
}

.footer-nav {
  display: grid;
  gap: 12px;
  justify-self: center;
  justify-items: start;
  color: rgba(255, 253, 248, 0.72);
  font-size: 11px;
  font-weight: 750;
}

.footer-location {
  justify-self: end;
  margin: 0;
  font-style: normal;
  text-align: right;
}

.footer-nav a:hover,
.footer-nav a:focus-visible,
.footer-socials a:hover,
.footer-socials a:focus-visible {
  color: var(--wood-light);
}

.footer-location > span {
  color: var(--wood-light);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.footer-location > p {
  margin: 10px 0 0;
  color: rgba(255, 253, 248, 0.72);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 17px;
  line-height: 1.45;
}

.footer-bottom {
  padding-top: 20px;
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  border-top: 1px solid rgba(255, 253, 248, 0.14);
}

.footer-socials {
  display: flex;
  align-items: center;
  justify-self: center;
  gap: 9px;
}

.footer-socials a {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 253, 248, 0.18);
  border-radius: 50%;
  color: rgba(255, 253, 248, 0.62);
  transition: color var(--transition), border-color var(--transition),
    transform var(--transition);
}

.footer-socials a:hover,
.footer-socials a:focus-visible {
  border-color: rgba(196, 148, 110, 0.8);
  transform: translateY(-2px);
}

.footer-socials svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.footer-socials .social-dot {
  fill: currentColor;
  stroke: none;
}

.site-footer small,
.dev-signature {
  color: rgba(255, 253, 248, 0.42);
  font-size: 9px;
  letter-spacing: 0.12em;
}

.dev-signature {
  justify-self: end;
  text-align: right;
  transition: color var(--transition);
}

.dev-signature:hover,
.dev-signature:focus-visible {
  color: var(--wood-light);
}

/* Visor de trabajos */

body.lightbox-open {
  overflow: hidden;
}

.lightbox {
  width: 100vw;
  max-width: none;
  height: 100vh;
  height: 100dvh;
  max-height: none;
  margin: 0;
  padding: 16px;
  overflow: hidden;
  border: 0;
  background: rgba(0, 0, 0, 0.92);
  color: var(--white);
}

.lightbox[open] {
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox::backdrop {
  background: rgba(0, 0, 0, 0.92);
}

.lightbox-shell {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox[open] .lightbox-shell {
  animation: lightbox-in 260ms ease-out both;
}

.lightbox img {
  width: auto;
  max-width: 90vw;
  max-height: 85vh;
  border-radius: 8px;
  object-fit: contain;
}

.lightbox-caption {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.lightbox-close,
.lightbox-nav {
  position: absolute;
  z-index: 2;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  cursor: pointer;
  transition: background-color var(--transition);
}

.lightbox-close {
  top: 0;
  right: 0;
  font-size: 22px;
}

.lightbox-nav {
  top: 50%;
  font-size: 30px;
  line-height: 1;
  transform: translateY(-50%);
}

.lightbox-prev {
  left: 0;
}

.lightbox-next {
  right: 0;
}

.lightbox-close:hover,
.lightbox-close:focus-visible,
.lightbox-nav:hover,
.lightbox-nav:focus-visible {
  background: rgba(255, 255, 255, 0.2);
}

.noscript-message {
  margin: 0;
  padding: 10px 20px;
  background: #fff4cc;
  color: var(--ink);
  font-size: 13px;
  text-align: center;
}

@media (max-width: 1060px) {
  .site-header {
    grid-template-columns: 1fr auto;
    gap: 18px;
  }

  .js .nav-toggle {
    display: block;
  }

  .header-cta {
    display: none;
  }

  .desktop-nav {
    display: none;
  }

  .js .desktop-nav.is-open {
    position: absolute;
    top: calc(100% + 1px);
    right: 0;
    left: 0;
    padding: 22px 24px;
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    gap: 22px;
    border-bottom: 1px solid var(--line);
    background: var(--paper);
    box-shadow: 0 16px 30px rgba(20, 22, 19, 0.08);
    animation: menu-in 220ms ease-out both;
  }

  .js .desktop-nav.is-open .mobile-nav-link {
    display: block;
  }

  .js .desktop-nav.is-open .mobile-nav-cta {
    width: 100%;
    min-height: 46px;
    margin-top: 2px;
    padding: 0 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 1px solid var(--ink);
    background: var(--ink);
    color: var(--white);
    font-size: 12px;
    font-weight: 800;
  }

  .hero {
    min-height: 620px;
    padding-top: 64px;
    padding-bottom: 72px;
  }

  .hero h1 {
    font-size: clamp(54px, 7vw, 76px);
  }

  .services-intro {
    grid-template-columns: 1fr;
    gap: 20px;
  }

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

  .section-heading {
    grid-template-columns: minmax(150px, 0.32fr) 1fr;
    gap: 28px 44px;
  }

  .section-heading > p:last-child {
    max-width: 620px;
    grid-column: 2;
  }

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

  .process-image {
    min-height: 520px;
  }

  .process-copy {
    padding: 82px max(36px, 10vw);
  }

  .site-footer {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 32px;
  }

  .footer-summary {
    gap: 16px;
  }

  .footer-summary > p {
    font-size: 16px;
  }
}

@media (max-width: 780px) {
  .site-header {
    width: min(calc(100% - 32px), var(--container));
    min-height: 82px;
    grid-template-columns: 1fr auto;
    gap: 10px;
  }

  .brand-logo {
    width: 104px;
  }

  .hero {
    width: 100%;
    min-height: calc(100svh - 82px);
    padding: 58px 16px 54px;
  }

  .hero::after {
    background: linear-gradient(180deg, rgba(16, 18, 15, 0.78) 0%, rgba(16, 18, 15, 0.62) 42%, rgba(16, 18, 15, 0.9) 100%);
  }

  .hero-copy {
    width: 100%;
    padding-top: 0;
  }

  .hero-background-image {
    display: none;
    transform: none;
    will-change: auto;
  }

  .hero-mobile-video {
    display: block;
    object-position: center center;
  }

  .eyebrow {
    margin-bottom: 20px;
    font-size: 9px;
  }

  .hero h1 {
    max-width: 580px;
    font-size: clamp(46px, 14vw, 68px);
    line-height: 0.99;
  }

  .hero-lead {
    margin-top: 25px;
    font-size: 15px;
  }

  .hero-actions {
    margin-top: 29px;
    align-items: flex-start;
    flex-direction: column;
    gap: 22px;
  }

  .hero-details {
    margin-top: 38px;
    grid-template-columns: 1fr;
    gap: 11px;
  }

  .services-intro {
    padding-top: 72px;
    padding-bottom: 72px;
    gap: 22px;
  }

  .services-intro > div {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .services-intro h2 {
    font-size: clamp(39px, 11vw, 54px);
  }

  .services-grid {
    width: min(calc(100% - 32px), var(--container));
    padding: 48px 0 76px;
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .service-card-content {
    min-height: 142px;
    padding: 18px;
  }

  .service-card-content h3 {
    font-size: 25px;
  }

  .work-section {
    padding: 78px 16px;
  }

  .work-heading-row {
    margin-bottom: 40px;
  }

  .section-heading {
    margin-bottom: 0;
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .section-heading > p:last-child {
    grid-column: 1;
  }

  .section-heading h2 {
    font-size: clamp(40px, 11.5vw, 58px);
  }

  .work-hint {
    margin-top: 18px;
    text-align: left;
  }

  .process-image {
    min-height: 430px;
  }

  .process-copy {
    padding: 72px 20px;
  }

  .process-copy h2 {
    font-size: clamp(40px, 11.5vw, 56px);
  }

  .process-lead {
    margin-bottom: 38px;
  }

  .contact-section {
    padding: 90px 18px 80px;
  }

  .contact-section h2 {
    font-size: clamp(44px, 13vw, 62px);
  }

  .contact-meta {
    margin-top: 52px;
    flex-direction: column;
    gap: 12px;
  }

  .site-footer {
    padding: 42px 20px;
    grid-template-columns: 1fr 1fr;
    gap: 34px 24px;
  }

  .footer-summary {
    grid-column: 1 / -1;
  }

  .footer-nav {
    justify-self: start;
    justify-items: start;
    text-align: left;
  }

  .footer-location {
    justify-self: end;
    text-align: right;
  }

  .footer-brand img {
    width: 124px;
  }

  .footer-bottom {
    grid-column: 1 / -1;
    grid-template-columns: 1fr;
    justify-items: start;
    gap: 16px;
  }

  .footer-socials,
  .dev-signature {
    justify-self: start;
    text-align: left;
  }

  .lightbox {
    padding: 12px;
  }

  .lightbox-close,
  .lightbox-nav {
    width: 40px;
    height: 40px;
  }
}

@media (max-width: 520px) {
  .brand-logo {
    width: 96px;
  }

  .nav-toggle {
    width: 38px;
    height: 38px;
  }

}

@media (prefers-reduced-motion: reduce) {
  .hero-media {
    animation: none;
  }

  .hero-mobile-video {
    display: none;
  }

  .hero-background-image {
    display: block;
    object-position: 55% center;
    transform: none;
    will-change: auto;
  }

  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
@media (prefers-reduced-motion: no-preference) {
  .hero-copy > * {
    opacity: 0;
    transform: translateY(36px);
    filter: blur(3px);
    animation: hero-text-enter 850ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
  }

  .hero-copy .eyebrow {
    animation-delay: 100ms;
  }

  .hero-copy h1 {
    animation-delay: 220ms;
  }

  .hero-copy .hero-lead {
    animation-delay: 340ms;
  }

  .hero-copy .hero-actions {
    animation-delay: 460ms;
  }

  .hero-copy .hero-details {
    animation-delay: 580ms;
  }
}

@keyframes hero-text-enter {
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}