:root {
  --ink: #191b19;
  --ink-soft: #272a27;
  --paper: #f4f4ef;
  --surface: #ffffff;
  --muted: #666a63;
  --line: #d5d7cf;
  --line-dark: #40443f;
  --accent: #c2410c;
  --content-width: 1400px;
  --page-padding: clamp(24px, 5vw, 72px);
  --section-space: clamp(72px, 7vw, 108px);
  --heading-space: clamp(38px, 4vw, 58px);
  --display-size: clamp(3.25rem, 5.2vw, 5.05rem);
  --shadow: 0 24px 70px rgb(25 27 25 / 12%);
}

/* Base */

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

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

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

body.menu-open {
  overflow: hidden;
}

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

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

button {
  color: inherit;
  font: inherit;
}

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

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

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 2000;
  padding: 10px 14px;
  background: var(--ink);
  color: var(--surface);
  transform: translateY(-150%);
}

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

/* Header and navigation */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  min-height: 84px;
  padding: 11px var(--page-padding);
  border-bottom: 1px solid rgb(213 215 207 / 85%);
  background: rgb(244 244 239 / 94%);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
}

.brand-mark {
  width: 50px;
  height: 50px;
  flex: 0 0 50px;
}

.brand > span {
  display: grid;
  gap: 0;
  line-height: 1;
  text-transform: uppercase;
}

.brand strong {
  font-size: 0.9rem;
  letter-spacing: 0.04em;
}

.brand small {
  margin-top: 5px;
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.26em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(24px, 3vw, 48px);
}

.site-nav > a {
  position: relative;
  padding: 12px 0;
  font-size: 0.88rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

.site-nav > a:not(.nav-phone):hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-phone {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 11px 16px !important;
  border: 1px solid var(--ink);
  transition: background 180ms ease, color 180ms ease;
}

.nav-phone:hover {
  background: var(--ink);
  color: var(--surface);
}

.nav-phone svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  padding: 13px 11px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.menu-toggle > span:not(.sr-only) {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

/* Shared typography and controls */

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  line-height: 1.4;
  text-transform: uppercase;
}

.eyebrow > span {
  width: 30px;
  height: 2px;
  flex: 0 0 auto;
  background: var(--accent);
}

.eyebrow-light {
  color: rgb(255 255 255 / 64%);
}

.hero h1,
.section-heading h2,
.about h2,
.contact h2 {
  margin: 18px 0 0;
  font-size: var(--display-size);
  font-weight: 760;
  letter-spacing: -0.045em;
  line-height: 1.06;
  text-transform: uppercase;
}

.hero h1 em,
.contact h2 em {
  color: var(--accent);
  font-style: normal;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-height: 54px;
  padding: 14px 21px;
  border: 1px solid transparent;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.075em;
  line-height: 1.25;
  text-align: center;
  text-transform: uppercase;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease;
}

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

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

/* Hero */

.hero {
  position: relative;
  min-height: clamp(640px, calc(100svh - 84px), 780px);
  overflow: hidden;
  background: var(--paper);
  isolation: isolate;
}

.hero::before {
  position: absolute;
  z-index: 1;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgb(244 244 239 / 98%) 0%,
      rgb(244 244 239 / 94%) 40%,
      rgb(244 244 239 / 72%) 58%,
      rgb(244 244 239 / 12%) 100%
    ),
    linear-gradient(0deg, rgb(25 27 25 / 18%), transparent 36%);
  content: "";
  pointer-events: none;
}

.hero-copy {
  position: relative;
  z-index: 2;
  display: flex;
  width: min(100%, var(--content-width));
  min-height: inherit;
  margin: 0 auto;
  padding: clamp(62px, 7vw, 98px) var(--page-padding);
  align-items: flex-start;
  justify-content: center;
  flex-direction: column;
  min-width: 0;
}

.hero-title {
  min-width: 0;
  max-width: 760px;
}

.hero-lead {
  max-width: 52ch;
  margin: 26px 0 0;
  color: var(--muted);
  font-size: clamp(1.04rem, 1.3vw, 1.2rem);
  line-height: 1.7;
}

.hero-contact-panel {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr)) minmax(230px, 0.8fr);
  width: min(100%, 830px);
  margin-top: 34px;
  padding: 7px;
  border: 1px solid var(--line);
  background: rgb(255 255 255 / 88%);
  box-shadow: 0 18px 50px rgb(25 27 25 / 13%);
  backdrop-filter: blur(12px);
}

.hero-contact {
  display: grid;
  align-content: center;
  gap: 2px;
  min-width: 0;
  padding: 10px 15px;
  border-right: 1px solid var(--line);
  transition: background 180ms ease;
}

.hero-contact:hover {
  background: rgb(244 244 239 / 84%);
}

.hero-contact:nth-child(2) {
  border-right: 1px solid var(--line);
}

.hero-contact span {
  color: var(--muted);
  font-size: 0.69rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-contact strong {
  overflow: visible;
  font-size: clamp(1rem, 1.2vw, 1.12rem);
  letter-spacing: 0.015em;
  line-height: 1.35;
  white-space: nowrap;
}

.hero-work-link {
  align-self: stretch;
  min-width: 0;
  margin: 0;
}

.hero-visual {
  position: absolute;
  z-index: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: var(--ink);
}

.hero-slides,
.hero-slide {
  position: absolute;
  inset: 0;
}

.hero-slide {
  display: block;
  padding: 0;
  margin: 0;
  background: var(--ink);
  opacity: 0;
  visibility: hidden;
  transition: opacity 900ms ease, visibility 900ms ease;
}

.hero-slide.is-active {
  z-index: 1;
  opacity: 1;
  visibility: visible;
}

.hero-slide-image {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-slide-image img {
  min-height: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 45%;
  transform: scale(1.035);
  transition: transform 6.5s ease;
}

.hero-slide:nth-child(2) .hero-slide-image img {
  object-position: center 35%;
}

.hero-slide:nth-child(3) .hero-slide-image img {
  object-position: center 42%;
}

.hero-slide.is-active .hero-slide-image img {
  transform: scale(1);
}

/* Service strip */

.service-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(20px, 3.5vw, 52px);
  min-height: 64px;
  padding: 16px var(--page-padding);
  background: var(--ink);
  color: var(--surface);
  font-size: 0.77rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.service-strip i {
  width: 5px;
  height: 5px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--accent);
}

/* Sections and services */

.section {
  scroll-margin-top: 84px;
}

.services {
  width: min(100%, var(--content-width));
  margin: 0 auto;
  padding: var(--section-space) var(--page-padding);
}

.section-heading {
  max-width: 980px;
  margin-bottom: var(--heading-space);
}

.section-heading > p:last-child:not(.eyebrow) {
  max-width: 62ch;
  margin: 25px 0 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.service-card {
  position: relative;
  display: flex;
  min-height: 340px;
  padding: clamp(28px, 3vw, 40px);
  overflow: hidden;
  background: var(--surface);
  flex-direction: column;
}

.service-card::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 4px;
  background: var(--accent);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 220ms ease;
}

.service-card:hover::after {
  transform: scaleX(1);
}

.service-number {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.service-card svg {
  width: 54px;
  height: 54px;
  margin: auto 0 32px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.service-card h3 {
  margin: 0;
  font-size: clamp(1.3rem, 2vw, 1.65rem);
  letter-spacing: -0.025em;
  line-height: 1.15;
}

.service-card p {
  margin: 14px 0 0;
  color: var(--muted);
  line-height: 1.65;
}

.service-card-accent {
  background: var(--accent);
  color: var(--surface);
}

.service-card-accent .service-number,
.service-card-accent p {
  color: rgb(255 255 255 / 78%);
}

.service-card-accent::after {
  background: var(--surface);
}

/* Project gallery */

.projects {
  padding: var(--section-space) var(--page-padding);
  background: var(--ink);
  color: var(--surface);
}

.projects-heading,
.project-grid {
  width: min(
    100%,
    calc(var(--content-width) - var(--page-padding) - var(--page-padding))
  );
  margin-right: auto;
  margin-left: auto;
}

.projects-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 440px);
  gap: clamp(50px, 8vw, 130px);
  align-items: end;
  max-width: none;
}

.projects-heading h2 {
  color: var(--surface);
}

.projects-heading > p:last-child {
  margin: 0 0 10px;
  color: rgb(255 255 255 / 66%);
  font-size: 1.05rem;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-flow: dense;
  grid-auto-rows: clamp(190px, 20vw, 285px);
  gap: 12px;
}

.project {
  position: relative;
  min-width: 0;
  min-height: 0;
  padding: 0;
  overflow: hidden;
  border: 0;
  background: var(--ink-soft);
  cursor: zoom-in;
}

.project-wide {
  grid-column: span 2;
}

.project-tall {
  grid-row: span 2;
}

.project img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 450ms ease, filter 450ms ease;
}

.project::after {
  position: absolute;
  inset: 35% 0 0;
  background: linear-gradient(to bottom, transparent, rgb(0 0 0 / 72%));
  content: "";
  pointer-events: none;
}

.project > span {
  position: absolute;
  z-index: 1;
  right: 20px;
  bottom: 18px;
  left: 20px;
  display: grid;
  color: var(--surface);
  font-size: 0.95rem;
  line-height: 1.35;
  text-align: left;
}

.project > span b {
  margin-bottom: 4px;
  color: var(--accent);
  font-size: 0.67rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.project:hover img {
  filter: saturate(1.05);
  transform: scale(1.035);
}

/* About */

.about {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(48px, 6vw, 84px);
  align-items: stretch;
  width: min(100%, var(--content-width));
  margin: 0 auto;
  padding: var(--section-space) var(--page-padding);
}

.about-copy {
  max-width: none;
}

.about-lead {
  margin: 28px 0 0;
  font-size: clamp(1.12rem, 1.6vw, 1.35rem);
  line-height: 1.62;
}

.about-copy > p:not(.eyebrow):not(.about-lead) {
  max-width: 64ch;
  margin: 20px 0 0;
  color: var(--muted);
}

.team-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin-top: 32px;
  border: 1px solid var(--line);
  background: var(--line);
}

.about-signature {
  display: grid;
  gap: 3px;
  padding: 16px 18px;
  background: var(--surface);
  font-weight: 750;
}

.about-signature a {
  display: inline-flex;
  align-items: baseline;
  gap: 7px;
  width: max-content;
  color: var(--accent);
  font-size: 0.95rem;
}

.about-signature a span {
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.about-image {
  position: relative;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  align-self: stretch;
  width: 100%;
  min-height: 0;
  margin: 0;
  justify-self: stretch;
}

.about-image::before {
  position: absolute;
  z-index: -1;
  top: 14px;
  right: -14px;
  bottom: 42px;
  left: 14px;
  border: 2px solid var(--accent);
  content: "";
}

.about-image-frame {
  position: relative;
  min-height: 0;
  overflow: hidden;
  background: var(--ink);
  box-shadow: var(--shadow);
}

.about-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-image figcaption {
  margin-top: 14px;
  padding-left: 12px;
  border-left: 2px solid var(--accent);
  color: var(--muted);
  font-size: 0.8rem;
}

/* Contact */

.contact {
  scroll-margin-top: 84px;
  padding: 0 var(--page-padding);
  background: var(--ink);
  color: var(--surface);
}

.contact-topline,
.contact-main,
.contact footer {
  width: min(
    100%,
    calc(var(--content-width) - var(--page-padding) - var(--page-padding))
  );
  margin-right: auto;
  margin-left: auto;
}

.contact-topline {
  padding: 22px 0;
  border-bottom: 1px solid var(--line-dark);
  color: rgb(255 255 255 / 64%);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.contact-topline span {
  display: flex;
  align-items: center;
  gap: 10px;
}

.contact-topline span::before {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  content: "";
}

.contact-main {
  display: grid;
  grid-template-columns: minmax(300px, 0.78fr) minmax(0, 1.22fr);
  gap: clamp(58px, 8vw, 128px);
  align-items: start;
  padding: var(--section-space) 0;
}

.contact h2 {
  margin-top: 0;
}

.contact-details > p {
  max-width: 66ch;
  margin: 0;
  color: rgb(255 255 255 / 68%);
  font-size: 1.05rem;
}

.contact-people {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 30px;
}

.contact-person {
  position: relative;
  min-width: 0;
  padding: 26px;
  border: 1px solid var(--line-dark);
  background: var(--ink-soft);
}

.contact-person-number {
  position: absolute;
  top: 24px;
  right: 24px;
  color: var(--accent);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.contact-person h3 {
  margin: 0 40px 22px 0;
  font-size: clamp(1.25rem, 2vw, 1.55rem);
  letter-spacing: -0.025em;
  line-height: 1.2;
}

.contact-person a {
  display: grid;
  gap: 2px;
  min-width: 0;
  padding: 13px 0;
  border-top: 1px solid var(--line-dark);
}

.contact-person a:last-child {
  padding-bottom: 0;
}

.contact-person a span {
  color: rgb(255 255 255 / 50%);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.contact-person a strong {
  overflow-wrap: anywhere;
  font-size: 0.98rem;
  line-height: 1.45;
  transition: color 180ms ease;
}

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

.contact-area {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 12px;
  padding: 18px 20px;
  border: 1px solid var(--line-dark);
}

.contact-area span {
  color: rgb(255 255 255 / 50%);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.contact-area strong {
  text-align: right;
}

.contact footer {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 28px;
  align-items: center;
  padding: 28px 0 34px;
  border-top: 1px solid var(--line-dark);
}

.brand-footer strong,
.contact footer > a:last-child {
  color: var(--surface);
}

.contact footer p {
  margin: 0;
  color: rgb(255 255 255 / 52%);
  font-size: 0.82rem;
  text-align: center;
}

.contact footer > a:last-child {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Gallery dialog */

.lightbox {
  width: min(94vw, 1280px);
  max-width: none;
  max-height: 94vh;
  padding: 54px 72px 58px;
  overflow: visible;
  border: 0;
  background: transparent;
  color: var(--surface);
}

.lightbox::backdrop {
  background: rgb(10 11 10 / 94%);
  backdrop-filter: blur(4px);
}

.lightbox[open] {
  display: grid;
  place-items: center;
}

.lightbox img {
  max-width: 100%;
  max-height: calc(94vh - 120px);
  object-fit: contain;
}

.lightbox-close,
.lightbox-nav {
  position: fixed;
  z-index: 1;
  display: grid;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid rgb(255 255 255 / 35%);
  background: rgb(25 27 25 / 72%);
  color: var(--surface);
  cursor: pointer;
  place-items: center;
  transition: background 180ms ease, border-color 180ms ease;
}

.lightbox-close:hover,
.lightbox-nav:hover {
  border-color: var(--accent);
  background: var(--accent);
}

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

.lightbox-nav {
  top: 50%;
  font-size: 1.35rem;
  transform: translateY(-50%);
}

.lightbox-prev {
  left: 22px;
}

.lightbox-next {
  right: 22px;
}

.lightbox-meta {
  position: fixed;
  right: 72px;
  bottom: 20px;
  left: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: rgb(255 255 255 / 78%);
}

.lightbox-meta p {
  margin: 0;
}

.lightbox-meta span {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.1em;
}

/* Responsive layout */

@media (max-width: 1180px) {
  .about {
    gap: 60px;
  }

  .contact-main {
    grid-template-columns: 0.72fr 1.28fr;
    gap: 58px;
  }
}

@media (max-width: 980px) {
  :root {
    --display-size: clamp(3.15rem, 8.5vw, 4.75rem);
  }

  .hero {
    min-height: 680px;
  }

  .hero::before {
    background:
      linear-gradient(
        90deg,
        rgb(244 244 239 / 98%) 0%,
        rgb(244 244 239 / 95%) 48%,
        rgb(244 244 239 / 72%) 74%,
        rgb(244 244 239 / 24%) 100%
      ),
      linear-gradient(0deg, rgb(25 27 25 / 16%), transparent 36%);
  }

  .hero-copy {
    gap: 0;
    padding: 58px var(--page-padding);
  }

  .hero-visual {
    height: 100%;
  }

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

  .projects-heading {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .projects-heading > p:last-child {
    max-width: 62ch;
  }

  .project-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: clamp(220px, 42vw, 340px);
  }

  .about {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .about-image {
    display: block;
    align-self: auto;
    width: 100%;
  }

  .about-image-frame {
    aspect-ratio: 16 / 9;
  }

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

  .contact-main {
    grid-template-columns: 1fr;
    gap: 42px;
  }
}

@media (max-width: 760px) {
  :root {
    --page-padding: 20px;
    --section-space: 68px;
    --heading-space: 36px;
    --display-size: clamp(2.55rem, 11.5vw, 4rem);
  }

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

  .site-header {
    min-height: 74px;
    padding-top: 9px;
    padding-bottom: 9px;
    backdrop-filter: none;
  }

  .brand-mark {
    width: 44px;
    height: 44px;
    flex-basis: 44px;
  }

  .brand strong {
    font-size: 0.82rem;
  }

  .brand small {
    font-size: 0.67rem;
  }

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

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

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

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

  .site-nav {
    position: fixed;
    z-index: 1;
    top: 74px;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    width: 100%;
    height: calc(100dvh - 74px);
    max-height: none;
    gap: 0;
    align-items: stretch;
    padding: 28px var(--page-padding) 40px;
    overflow-y: auto;
    overscroll-behavior: contain;
    background: var(--paper);
    flex-direction: column;
    transform: translateX(100%);
    visibility: hidden;
    transition: transform 220ms ease, visibility 220ms ease;
  }

  .site-nav.is-open {
    transform: translateX(0);
    visibility: visible;
  }

  .site-nav > a {
    padding: 20px 0;
    border-bottom: 1px solid var(--line);
    font-size: clamp(1.6rem, 8vw, 2.35rem);
    letter-spacing: -0.035em;
    text-transform: none;
  }

  .site-nav > a::after {
    display: none;
  }

  .nav-phone {
    justify-content: center;
    margin-top: 26px;
    padding: 15px !important;
    border: 0;
    background: var(--accent);
    color: var(--surface);
    font-size: 0.88rem !important;
    letter-spacing: 0.08em !important;
    text-transform: uppercase !important;
  }

  .hero {
    min-height: 700px;
  }

  .hero::before {
    background: linear-gradient(
      180deg,
      rgb(244 244 239 / 97%) 0%,
      rgb(244 244 239 / 94%) 55%,
      rgb(244 244 239 / 76%) 78%,
      rgb(244 244 239 / 42%) 100%
    );
  }

  .hero-copy {
    gap: 0;
    padding: 48px var(--page-padding) 56px;
  }

  .hero h1,
  .section-heading h2,
  .about h2,
  .contact h2 {
    letter-spacing: -0.048em;
    line-height: 1.06;
  }

  .hero-lead {
    margin-top: 22px;
  }

  .hero-contact-panel {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 28px;
  }

  .hero-contact {
    padding: 10px 11px;
  }

  .hero-contact:nth-child(2) {
    border-right: 0;
  }

  .hero-contact strong {
    font-size: 0.94rem;
  }

  .hero-work-link {
    grid-column: 1 / -1;
    margin-top: 7px;
  }

  .hero-visual {
    height: 100%;
  }

  .service-strip {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 20px;
    justify-items: center;
    min-height: 88px;
  }

  .service-strip i {
    display: none;
  }

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

  .service-card {
    min-height: 300px;
  }

  .project-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: minmax(270px, 68vw);
  }

  .project-wide,
  .project-tall {
    grid-column: span 1;
    grid-row: span 1;
  }

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

  .about-image {
    width: 100%;
    justify-self: start;
  }

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

  .contact footer {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .contact footer p {
    text-align: left;
  }

  .lightbox {
    width: 100vw;
    max-height: 100dvh;
    padding: 58px 18px 76px;
  }

  .lightbox img {
    max-height: calc(100dvh - 148px);
  }

  .lightbox-close {
    top: 12px;
    right: 12px;
  }

  .lightbox-nav {
    top: auto;
    bottom: 14px;
    transform: none;
  }

  .lightbox-prev {
    left: 14px;
  }

  .lightbox-next {
    right: 14px;
  }

  .lightbox-meta {
    right: 72px;
    bottom: 16px;
    left: 72px;
    justify-content: center;
    text-align: center;
  }

  .lightbox-meta p {
    display: none;
  }
}

@media (max-width: 420px) {
  :root {
    --display-size: clamp(2.35rem, 11vw, 2.8rem);
  }

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

  .hero-contact {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .hero-work-link {
    grid-column: auto;
  }

  .contact-area {
    align-items: flex-start;
    flex-direction: column;
  }

  .contact-area strong {
    text-align: left;
  }
}

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

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

}
