* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #f5f1ea;
  color: #1f211f;
  font-family: "Segoe UI", Arial, sans-serif;
}

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

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

.seo-intro {
  max-width: 960px;
  margin: 0 auto;
  padding: 54px clamp(20px, 6vw, 88px) 10px;
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  line-height: 1.7;
  color: #3d3d38;
}

.topbar {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(18px, 5vw, 72px);
  color: #fff;
  background: linear-gradient(to bottom, rgba(0, 0, 0, .72), rgba(0, 0, 0, .08));
}

.brand {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border: 2px solid currentColor;
  font-size: 1.45rem;
  font-weight: 900;
  letter-spacing: 0;
}

nav {
  display: flex;
  gap: clamp(18px, 3vw, 34px);
  font-size: .9rem;
  font-weight: 750;
}

.topbar__phone {
  font-weight: 800;
}

.hero {
  position: relative;
  min-height: 92vh;
  overflow: hidden;
  display: grid;
  align-items: end;
  padding: 150px clamp(20px, 6vw, 88px) 88px;
  color: #fff;
}

.hero__image,
.hero__shade {
  position: absolute;
  inset: 0;
  height: 100%;
}

.hero__image {
  object-fit: cover;
}

.hero__shade {
  background:
    linear-gradient(90deg, rgba(0, 0, 0, .78), rgba(0, 0, 0, .38) 54%, rgba(0, 0, 0, .12)),
    linear-gradient(to top, rgba(0, 0, 0, .42), transparent 45%);
}

.hero__content {
  position: relative;
  max-width: 780px;
}

.eyebrow {
  margin: 0 0 14px;
  color: #bd925f;
  font-size: .76rem;
  font-weight: 850;
  letter-spacing: .14em;
  text-transform: uppercase;
}

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

h1,
h2,
h3 {
  font-family: Bahnschrift, "Arial Narrow", "Segoe UI", sans-serif;
  font-weight: 850;
  letter-spacing: 0;
}

h1 {
  max-width: 720px;
  margin-bottom: 20px;
  font-size: clamp(2.1rem, 4.5vw, 4.45rem);
  line-height: 1.04;
}

h2 {
  max-width: 780px;
  margin-bottom: 20px;
  font-size: clamp(1.65rem, 3vw, 3rem);
  line-height: 1.08;
}

h3 {
  margin-bottom: 12px;
  font-size: 1.12rem;
}

.hero p:not(.eyebrow),
.section__intro p,
.feature p,
.process p {
  max-width: 640px;
  font-size: clamp(1rem, 1.45vw, 1.16rem);
  line-height: 1.62;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 28px;
  background: #bd925f;
  color: #15120f;
  font-size: .86rem;
  font-weight: 850;
  text-transform: uppercase;
}

.button--light {
  background: rgba(255, 255, 255, .94);
}

.section {
  padding: clamp(64px, 9vw, 120px) clamp(20px, 6vw, 88px);
}

.services {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 1fr);
  gap: clamp(36px, 7vw, 90px);
  background: #fff;
}

.service-grid {
  display: grid;
  gap: 14px;
}

.service-grid article {
  padding: 22px;
  background: #f5f1ea;
  border-left: 5px solid #bd925f;
}

.service-grid p,
figcaption,
footer p {
  color: #5e5a54;
  font-size: .96rem;
  line-height: 1.6;
}

.feature,
.process {
  display: grid;
  align-items: center;
  gap: clamp(30px, 6vw, 84px);
  padding: clamp(64px, 9vw, 112px) clamp(20px, 6vw, 88px);
}

.feature {
  grid-template-columns: minmax(280px, .85fr) minmax(0, 1.15fr);
  background: #e8dfd3;
}

.feature p:not(.eyebrow) {
  color: #4f4b45;
}

.feature img,
.process img {
  max-height: 720px;
  object-fit: cover;
  box-shadow: 0 24px 70px rgba(22, 18, 14, .18);
}

.projects {
  background: #f5f1ea;
}

.section-head {
  margin-bottom: 36px;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.project-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 12px;
}

.project-gallery button {
  padding: 0;
  overflow: hidden;
  border: 0;
  background: #fff;
  cursor: zoom-in;
  box-shadow: 0 5px 18px rgba(22, 18, 14, .1);
}

.project-gallery img {
  aspect-ratio: 1 / 1;
  height: 100%;
  object-fit: cover;
  transition: transform .2s ease;
}

.project-gallery button:hover img,
.project-gallery button:focus-visible img {
  transform: scale(1.05);
}

.project-gallery button:focus-visible {
  outline: 3px solid #bd925f;
  outline-offset: 3px;
}

.project-lightbox {
  width: min(94vw, 1100px);
  max-height: 92vh;
  padding: 0;
  border: 0;
  background: transparent;
  overflow: visible;
}

.project-lightbox::backdrop {
  background: rgba(0, 0, 0, .88);
}

.project-lightbox img {
  width: 100%;
  max-height: 88vh;
  object-fit: contain;
}

.project-lightbox__close {
  position: absolute;
  z-index: 2;
  top: -16px;
  right: -10px;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: #111;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
}

figure {
  margin: 0;
  background: #fff;
}

figure.wide {
  grid-column: span 2;
  grid-row: span 2;
}

figure img {
  aspect-ratio: 1 / 1;
  height: 100%;
  object-fit: cover;
}

figure.wide img {
  aspect-ratio: 1.2 / 1;
}

figcaption {
  padding: 14px 16px 16px;
  font-weight: 750;
}

.process {
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, .95fr);
  background: #20211f;
  color: #fff;
}

footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 34px clamp(20px, 6vw, 88px);
  background: #111;
  color: #fff;
}

footer strong {
  font-size: 1.08rem;
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 28px;
  font-weight: 800;
}

@media (max-width: 820px) {
  nav {
    display: none;
  }

  .topbar__phone {
    font-size: .92rem;
  }

  .hero {
    min-height: 86vh;
  }

  .services,
  .feature,
  .process {
    grid-template-columns: 1fr;
  }

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

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

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

  footer {
    display: grid;
  }
}

@media (max-width: 540px) {
  .brand {
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
  }

  .topbar {
    padding-block: 12px;
  }

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

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

  figure.wide {
    grid-column: span 1;
  }
}
