:root {
  --ink: #17201a;
  --muted: #5d6a61;
  --paper: #f7f4ed;
  --surface: #ffffff;
  --line: #ded8cb;
  --green: #27352a;
  --moss: #6f7b4f;
  --clay: #b66d3b;
  --stone: #d8d0c0;
  --shadow: 0 22px 50px rgba(23, 32, 26, .14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 74px;
  padding: 14px clamp(18px, 4vw, 58px);
  border-bottom: 1px solid rgba(222, 216, 203, .78);
  background: rgba(247, 244, 237, .9);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 7px;
  background:
    linear-gradient(135deg, transparent 42%, rgba(255, 255, 255, .42) 43% 48%, transparent 49%),
    linear-gradient(135deg, var(--green), var(--clay));
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.35);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.site-nav a {
  min-height: 40px;
  padding: 10px 14px;
  border-radius: 7px;
  color: var(--muted);
  font-weight: 700;
  font-size: 15px;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--ink);
  background: rgba(39, 53, 42, .08);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--surface);
  color: var(--ink);
  font-size: 22px;
}

.hero {
  position: relative;
  height: calc(100svh - 122px);
  min-height: 500px;
  max-height: 760px;
  display: grid;
  align-items: end;
  overflow: hidden;
  background: var(--green);
}

.hero picture,
.hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero img {
  object-fit: cover;
  filter: saturate(.94) contrast(1.02);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(12, 17, 14, .82), rgba(12, 17, 14, .38) 50%, rgba(12, 17, 14, .08));
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(820px, calc(100% - 36px));
  padding: 0 0 clamp(58px, 10vh, 110px) clamp(18px, 6vw, 72px);
  color: #fff;
}

.hero h1,
.page-hero h1,
.page-title h1,
.contact-copy h1 {
  margin: 0;
  max-width: 980px;
  font-size: clamp(42px, 7vw, 84px);
  line-height: .96;
  letter-spacing: 0;
}

.hero p {
  max-width: 690px;
  color: rgba(255, 255, 255, .88);
  font-size: clamp(17px, 2vw, 21px);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--clay);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0;
  font-size: 13px;
}

.hero .eyebrow {
  color: #f4c49f;
}

.hero-actions,
.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  padding: 13px 18px;
  border-radius: 7px;
  border: 1px solid transparent;
  font-weight: 900;
  transition: transform .18s ease, background-color .18s ease, border-color .18s ease, box-shadow .18s ease, color .18s ease;
}

.btn svg {
  width: 18px;
  height: 18px;
  stroke-width: 2.4;
  flex: 0 0 auto;
}

.btn.primary {
  color: #fff;
  background: var(--clay);
  box-shadow: 0 14px 28px rgba(182, 109, 59, .24);
}

.btn.primary:hover {
  background: #96552d;
  box-shadow: 0 18px 34px rgba(150, 85, 45, .3);
  transform: translateY(-2px);
}

.btn.secondary {
  color: var(--ink);
  background: rgba(255,255,255,.82);
  border-color: rgba(23, 32, 26, .12);
}

.btn.secondary:hover {
  background: #ebe6dc;
  border-color: rgba(23, 32, 26, .2);
  box-shadow: 0 14px 26px rgba(23, 32, 26, .12);
  transform: translateY(-2px);
}

.btn:focus-visible {
  outline: 3px solid rgba(182, 109, 59, .35);
  outline-offset: 3px;
}

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

.trust div {
  display: grid;
  gap: 7px;
  padding: 24px clamp(18px, 4vw, 58px);
  background: var(--surface);
}

.trust svg {
  width: 24px;
  height: 24px;
  color: var(--clay);
  stroke-width: 2.2;
}

.trust strong {
  display: block;
  font-size: 22px;
}

.trust span,
p {
  color: var(--muted);
}

.section,
.services-preview,
.feature-band,
.cta,
.page-hero,
.contact-layout,
.map-band {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
}

.section {
  padding: 86px 0 34px;
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, .9fr);
  gap: clamp(28px, 7vw, 90px);
  align-items: end;
}

h2 {
  margin: 0;
  font-size: clamp(31px, 4vw, 54px);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  font-size: 23px;
}

.services-preview,
.service-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding: 34px 0 72px;
}

.services-preview article,
.service-list article,
.timeline div,
.contact-form,
.contact-methods a {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 12px 26px rgba(23, 32, 26, .06);
}

.services-preview article,
.service-list article {
  padding: 26px;
}

.services-preview span,
.timeline span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  margin-bottom: 28px;
  border-radius: 50%;
  color: #fff;
  background: var(--green);
  font-weight: 900;
}

.services-preview span svg {
  width: 19px;
  height: 19px;
  stroke-width: 2.4;
}

.feature-band {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(320px, 1.1fr);
  gap: 34px;
  align-items: center;
  padding: 74px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.feature-copy {
  padding-right: 24px;
}

.feature-image img,
.page-hero img,
.map-band img {
  width: 100%;
  height: clamp(360px, 46vw, 620px);
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.check-list {
  padding: 0;
  margin: 26px 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding: 10px 0 10px 30px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 16px;
  width: 12px;
  height: 12px;
  border-radius: 3px;
  background: var(--moss);
}

.text-link {
  color: var(--green);
  font-weight: 900;
  border-bottom: 2px solid var(--clay);
  transition: color .18s ease, border-color .18s ease;
}

.text-link:hover {
  color: var(--clay);
  border-color: var(--green);
}

.portfolio-teaser {
  padding-bottom: 86px;
}

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

.gallery-grid.compact {
  grid-template-columns: repeat(4, 1fr);
  margin-top: 28px;
}

.gallery-grid.full {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto 82px;
  grid-template-columns: repeat(3, 1fr);
}

.gallery-grid img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 10px 22px rgba(23, 32, 26, .1);
}

.gallery-grid.full a:nth-child(2) img,
.gallery-grid.full a:nth-child(6) img {
  aspect-ratio: 16 / 10;
}

.cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 44px;
  margin-bottom: 84px;
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(135deg, var(--green), #455036 58%, var(--clay));
}

.cta h2 {
  max-width: 760px;
  color: #fff;
}

.cta p {
  max-width: 700px;
  color: rgba(255,255,255,.8);
}

.cta .eyebrow {
  color: #f6c39a;
}

.page-hero,
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, .86fr);
  gap: clamp(28px, 6vw, 74px);
  align-items: center;
  padding: 76px 0;
}

.page-hero p,
.page-title p,
.contact-copy p {
  max-width: 680px;
  font-size: 18px;
}

.service-list {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  grid-template-columns: repeat(2, 1fr);
}

.process {
  padding-bottom: 86px;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 30px;
}

.timeline div {
  padding: 24px;
}

.page-title {
  padding-bottom: 42px;
}

.contact-methods {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.contact-methods a {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 4px 14px;
  align-items: center;
  padding: 18px;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.contact-methods a svg {
  grid-row: 1 / span 2;
  width: 42px;
  height: 42px;
  padding: 10px;
  border-radius: 7px;
  color: var(--clay);
  background: rgba(182, 109, 59, .1);
  stroke-width: 2.2;
}

.contact-methods a:hover {
  border-color: rgba(182, 109, 59, .34);
  box-shadow: 0 16px 32px rgba(23, 32, 26, .1);
  transform: translateY(-2px);
}

.contact-methods span {
  color: var(--muted);
}

.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  padding: 24px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-weight: 800;
}

.contact-form .wide,
.contact-form button {
  grid-column: 1 / -1;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fbfaf6;
  color: var(--ink);
  font: inherit;
  padding: 13px 14px;
}

textarea {
  resize: vertical;
}

.map-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 28px;
  align-items: center;
  padding-bottom: 84px;
}

.map-band img {
  height: 380px;
}

.small-note {
  font-size: 14px;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 34px clamp(18px, 4vw, 58px);
  border-top: 1px solid var(--line);
  background: var(--surface);
}

.site-footer p {
  margin: 6px 0 0;
}

.footer-links {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  color: var(--muted);
  font-weight: 800;
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 10px;
  border-radius: 7px;
  transition: background-color .18s ease, color .18s ease;
}

.footer-links a:hover {
  color: var(--ink);
  background: rgba(39, 53, 42, .08);
}

@media (max-width: 880px) {
  .nav-toggle {
    display: inline-grid;
    place-items: center;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 1px);
    left: 18px;
    right: 18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .hero::after {
    background: linear-gradient(0deg, rgba(12, 17, 14, .84), rgba(12, 17, 14, .18));
  }

  .hero-content {
    padding: 0 18px 48px;
  }

  .strip,
  .intro-grid,
  .services-preview,
  .service-list,
  .feature-band,
  .gallery-grid.compact,
  .gallery-grid.full,
  .page-hero,
  .timeline,
  .contact-layout,
  .map-band {
    grid-template-columns: 1fr;
  }

  .feature-copy {
    padding-right: 0;
  }

  .cta,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

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

@media (max-width: 520px) {
  .brand span:last-child {
    max-width: 210px;
  }

  .hero h1,
  .page-hero h1,
  .page-title h1,
  .contact-copy h1 {
    font-size: 38px;
  }

  .section {
    padding-top: 62px;
  }

  .cta {
    width: calc(100% - 28px);
    padding: 28px;
  }
}
