:root {
  --paper: #efeee8;
  --paper-deep: #ded8cd;
  --ink: #25241f;
  --muted: #726e65;
  --line: rgba(37, 36, 31, 0.14);
  --red: #b4483e;
  --white: #fffdf7;
  --shadow: 0 24px 70px rgba(22, 20, 17, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.5;
}

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

.site-header {
  position: fixed;
  top: 18px;
  left: clamp(14px, 3vw, 34px);
  right: clamp(14px, 3vw, 34px);
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 22px;
  background: rgba(239, 238, 232, 0.86);
  border: 1px solid rgba(37, 36, 31, 0.12);
  color: var(--ink);
  box-shadow: 0 18px 54px rgba(18, 16, 13, 0.12);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.brand img,
footer img {
  width: 38px;
  height: 38px;
}

nav {
  display: flex;
  gap: clamp(14px, 3vw, 42px);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

nav a {
  position: relative;
  padding: 8px 0;
}

nav a::after {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: currentColor;
  content: "";
  transition: width 220ms ease;
}

nav a:hover::after {
  width: 100%;
}

.hero {
  position: relative;
  min-height: 94vh;
  display: grid;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  padding: 118px clamp(22px, 8vw, 128px) 88px;
}

.hero-image,
.hero-overlay,
.dark-image {
  position: absolute;
  inset: 0;
}

.hero-image {
  z-index: -3;
  background-color: #8d887f;
  background:
    linear-gradient(90deg, rgba(12, 11, 10, 0.64) 0%, rgba(12, 11, 10, 0.38) 42%, rgba(12, 11, 10, 0.12) 100%),
    url("assets/hero.jpg") center / cover;
  transform: scale(1.02);
}

.hero-overlay {
  z-index: -2;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.42));
}

.hero-copy {
  width: min(880px, 100%);
  color: var(--white);
}

.kicker,
.section-label,
.small-index,
.image-card span,
.service-card span,
.value-grid span {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.kicker {
  margin: 0 0 18px;
}

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

h1 {
  max-width: 860px;
  margin-bottom: 20px;
  font-size: clamp(42px, 7.2vw, 94px);
  line-height: 0.95;
  letter-spacing: 0;
}

h2 {
  font-size: clamp(30px, 4.2vw, 58px);
  line-height: 1.02;
  letter-spacing: 0;
}

h3 {
  font-size: 22px;
  line-height: 1.12;
}

.hero-text {
  max-width: 640px;
  color: rgba(255, 253, 247, 0.84);
  font-size: 18px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid currentColor;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: transform 220ms ease, background 220ms ease, color 220ms ease, box-shadow 220ms ease;
}

.button:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.22);
}

.button.primary {
  background: var(--red);
  border-color: var(--red);
  color: var(--white);
}

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

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

.section {
  padding: clamp(74px, 11vw, 150px) clamp(22px, 10vw, 150px);
}

.section-label {
  margin-bottom: 44px;
  color: var(--muted);
}

.intro-grid,
.process-grid,
.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: clamp(34px, 8vw, 112px);
  align-items: start;
}

.intro-text,
.section-heading p,
.process-copy p,
.service-card p,
.value-grid p,
.contact-content p {
  color: var(--muted);
  font-size: 16px;
}

.feature-strip {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 18px;
  padding: 0 clamp(22px, 10vw, 150px) clamp(74px, 10vw, 130px);
}

.image-card {
  min-height: 300px;
  position: relative;
  display: grid;
  align-content: end;
  overflow: hidden;
  background: var(--paper-deep);
  color: var(--white);
  box-shadow: none;
  transition: transform 240ms ease, box-shadow 240ms ease;
}

.image-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.card-image {
  position: absolute;
  inset: 0;
  background-color: var(--paper-deep);
  background-size: cover;
  background-position: center;
  transition: transform 500ms ease, filter 500ms ease;
}

.image-card:hover .card-image {
  transform: scale(1.06);
  filter: saturate(0.8);
}

.card-image::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.02), rgba(0, 0, 0, 0.42));
  content: "";
}

.interior {
  background-image: url("assets/residential.jpg");
}

.facade {
  background-image: url("assets/facade.jpg");
}

.image-card > div:last-child {
  position: relative;
  z-index: 2;
  padding: 30px;
}

.image-card strong {
  display: block;
  max-width: 420px;
  margin-top: 8px;
  font-size: 30px;
  line-height: 1.08;
}

.dark-band {
  min-height: 520px;
  position: relative;
  display: grid;
  align-items: end;
  overflow: hidden;
  padding: clamp(68px, 9vw, 120px) clamp(22px, 10vw, 150px);
  color: var(--white);
  isolation: isolate;
}

.dark-image {
  z-index: -3;
  background-color: #1f1d19;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.74), rgba(0, 0, 0, 0.18)),
    url("assets/method.jpg") center / cover;
  filter: grayscale(0.65);
}

.dark-content {
  max-width: 660px;
  position: relative;
  z-index: 3;
}

.dark-content h2 {
  margin-bottom: 18px;
}

.dark-content p:last-child {
  color: rgba(255, 253, 247, 0.76);
}

.services {
  background: var(--paper);
}

.section-heading {
  margin-bottom: 52px;
}

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

.service-card,
.value-grid article {
  min-height: 300px;
  padding: 32px;
  background: var(--paper);
  transition: background 220ms ease, color 220ms ease, transform 220ms ease;
}

.service-card:hover,
.value-grid article:hover {
  background: var(--ink);
  color: var(--white);
  transform: translateY(-4px);
}

.service-card:hover p,
.value-grid article:hover p {
  color: rgba(255, 253, 247, 0.72);
}

.service-card span,
.value-grid span {
  display: inline-block;
  margin-bottom: 58px;
  color: var(--red);
}

.process-grid {
  align-items: center;
}

.process-visual {
  margin: 0;
  overflow: hidden;
}

.process-visual img {
  display: block;
  width: 100%;
  aspect-ratio: 0.82;
  object-fit: cover;
  filter: grayscale(0.15);
  transition: transform 520ms ease, filter 520ms ease;
}

.process-visual:hover img {
  transform: scale(1.045);
  filter: grayscale(0);
}

.small-index {
  color: var(--red);
}

.check-list {
  display: grid;
  gap: 12px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-weight: 700;
}

.values {
  padding-top: 0;
}

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

.contact {
  min-height: 540px;
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  align-items: stretch;
  gap: 0;
  overflow: hidden;
  padding: 0;
  background: #171613;
  color: var(--white);
  text-align: left;
}

.contact-photo {
  min-height: 540px;
  margin: 0;
  overflow: hidden;
  background: #2b2924;
}

.contact-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.2) contrast(0.92);
  transition: transform 520ms ease, filter 520ms ease;
}

.contact:hover .contact-photo img {
  transform: scale(1.045);
  filter: grayscale(0) contrast(1);
}

.contact-content {
  display: grid;
  align-content: center;
  max-width: 760px;
  padding: clamp(70px, 9vw, 130px) clamp(28px, 8vw, 112px);
}

.contact-content p {
  color: rgba(255, 253, 247, 0.78);
}

.contact .button {
  width: fit-content;
  max-width: 100%;
  justify-self: start;
  white-space: nowrap;
}

footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 28px clamp(22px, 5vw, 72px);
  background: #171613;
  color: rgba(255, 253, 247, 0.72);
  font-size: 12px;
  letter-spacing: 0.04em;
}

footer p {
  margin: 0;
}

@media (max-width: 900px) {
  .site-header {
    align-items: flex-start;
    gap: 18px;
  }

  nav {
    max-width: 260px;
    justify-content: flex-end;
    flex-wrap: wrap;
  }

  .intro-grid,
  .process-grid,
  .section-heading,
  .feature-strip {
    grid-template-columns: 1fr;
  }

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

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

  .contact-photo {
    min-height: 360px;
  }
}

@media (max-width: 620px) {
  .site-header {
    position: absolute;
    top: 12px;
    left: 12px;
    right: 12px;
  }

  .brand span {
    display: none;
  }

  nav {
    gap: 12px;
    font-size: 10px;
  }

  .hero {
    min-height: 840px;
    padding-top: 128px;
  }

  h1 {
    font-size: clamp(38px, 12vw, 56px);
  }

  h2 {
    font-size: 34px;
  }

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

  .service-card,
  .value-grid article {
    min-height: auto;
  }

  .hero-actions,
  .hero-actions .button {
    width: 100%;
  }

  .button {
    justify-content: center;
    text-align: center;
  }

  .contact .button {
    width: fit-content;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  footer {
    align-items: flex-start;
    flex-direction: column;
  }
}
