:root {
  --ink: #202020;
  --muted: #5b5b5b;
  --cream: #f7f1e7;
  --sand: #e5d2ba;
  --brand: #a47747;
  --brand-dark: #6f4c2d;
  --line: #ddd0c0;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

a {
  color: inherit;
}

.site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  background: transparent;
  border-bottom: 0;
}

.nav-wrap {
  width: min(1120px, calc(100% - 40px));
  min-height: 147px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 24px;
}

.logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 158px;
  height: 70px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid #000000;
}

.logo img {
  display: block;
  width: 111px;
  height: 70px;
  object-fit: contain;
}

.site-nav {
  margin-left: auto;
  display: flex;
  align-items: stretch;
  min-height: 70px;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid #000000;
}

.site-nav a,
.call-btn {
  min-width: 160px;
  padding: 0 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 15px;
  color: #570006;
  font-weight: 700;
}

.site-nav a:hover {
  background: rgba(255, 255, 255, 0.55);
}

.call-btn {
  min-width: 170px;
  height: 70px;
  background: #98050b;
  color: var(--white);
  font-weight: 700;
  border: 1px solid #000000;
}

.hero {
  min-height: 768px;
  display: grid;
  align-items: center;
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.02)),
    var(--hero-image) center / cover no-repeat;
  z-index: -1;
}

.hero-content {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  color: var(--white);
  padding-top: 150px;
  padding-left: 54px;
}

.hero h1 {
  max-width: 900px;
  margin: 0 0 18px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(44px, 5vw, 57px);
  line-height: 1.15;
  font-weight: 800;
  color: #ffffff;
}

.hero p {
  max-width: 780px;
  margin: 0 0 44px;
  font-size: clamp(24px, 2.6vw, 32px);
  line-height: 1.45;
  color: #ffffff;
  font-weight: 700;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.button {
  min-width: 200px;
  min-height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border: 1px solid #000000;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.82);
  color: var(--ink);
  font-weight: 700;
}

.button.secondary {
  background: rgba(255, 255, 255, 0.18);
  color: #111111;
}

.page-hero {
  min-height: 420px;
  display: grid;
  align-items: center;
  background: #2b2b2b;
  color: var(--white);
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.38)),
    var(--hero-image) center / cover no-repeat;
  z-index: -1;
}

.page-hero .inner,
.section .inner,
.footer-inner {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.page-hero h1 {
  max-width: 780px;
  margin: 0 0 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(42px, 6vw, 76px);
  line-height: 1.05;
  font-weight: 400;
}

.page-hero p {
  max-width: 660px;
  margin: 0;
  font-size: 22px;
}

.section {
  padding: 90px 0;
  background: var(--cream);
}

.section.alt {
  background: var(--white);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 70px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--brand-dark);
  font-size: 18px;
}

h2 {
  margin: 0 0 24px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1.1;
  font-weight: 400;
}

h3 {
  margin: 0 0 14px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 26px;
  font-weight: 400;
}

p {
  color: var(--muted);
  font-size: 17px;
}

.feature-image {
  min-height: 520px;
  background: center / cover no-repeat;
}

.services-grid,
.project-grid,
.values-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 30px;
}

.service-card,
.value-card,
.project-card {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 30px;
}

.project-card {
  padding: 0;
  overflow: hidden;
}

.project-card img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.project-card .content {
  padding: 26px 28px 30px;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 60px;
  align-items: start;
}

.contact-panel {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 34px;
}

.contact-form {
  display: grid;
  gap: 16px;
}

.field-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 14px;
}

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

textarea {
  min-height: 150px;
  resize: vertical;
}

button {
  border: 0;
  min-height: 54px;
  padding: 13px 28px;
  background: var(--brand);
  color: var(--white);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.site-footer {
  background: var(--white);
  border-top: 1px solid var(--line);
}

.footer-inner {
  padding: 58px 0 30px;
}

.footer-main {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 36px;
  align-items: start;
}

.footer-logo {
  width: min(401px, 100%);
  height: auto;
}

.footer-label {
  margin: 0 0 12px;
  color: var(--ink);
  font-weight: 700;
}

.social-icon {
  width: 39px;
  height: 39px;
}

.copyright {
  margin: 42px 0 0;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  color: var(--muted);
  font-size: 14px;
}

.up-link {
  text-decoration: none;
}

.form-note {
  display: none;
  margin: 0;
  color: var(--brand-dark);
  font-weight: 700;
}

@media (max-width: 820px) {
  .site-header {
    position: relative;
    background: #ffffff;
  }

  .nav-wrap {
    width: min(100% - 28px, 620px);
    min-height: 0;
    padding: 14px 0;
    flex-wrap: wrap;
    gap: 12px;
  }

  .hero-content {
    padding-left: 0;
    padding-top: 0;
  }

  .logo img {
    width: 96px;
    height: auto;
  }

  .logo {
    width: 128px;
    height: 58px;
  }

  .site-nav {
    order: 3;
    flex: 1 0 100%;
    min-height: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border: 1px solid #000000;
  }

  .site-nav a {
    min-width: 0;
    min-height: 44px;
    padding: 10px;
    font-size: 14px;
  }

  .call-btn {
    margin-left: auto;
    min-width: 132px;
    height: 44px;
    padding: 10px 14px;
  }

  .hero {
    min-height: 640px;
  }

  .hero::before,
  .page-hero::before {
    background:
      linear-gradient(180deg, rgba(20, 18, 15, 0.76), rgba(20, 18, 15, 0.42)),
      var(--hero-image) center / cover no-repeat;
  }

  .hero-content,
  .page-hero .inner,
  .section .inner,
  .footer-inner {
    width: min(100% - 28px, 620px);
  }

  .section {
    padding: 64px 0;
  }

  .split,
  .contact-layout,
  .footer-main,
  .services-grid,
  .project-grid,
  .values-grid {
    grid-template-columns: 1fr;
  }

  .split,
  .contact-layout {
    gap: 34px;
  }

  .feature-image {
    min-height: 340px;
  }

  .field-row {
    grid-template-columns: 1fr;
  }

  .button-row {
    gap: 12px;
  }

  .button {
    min-width: 0;
    width: 100%;
  }
}

@media (max-width: 440px) {
  .site-nav {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 580px;
  }

  .page-hero {
    min-height: 360px;
  }

  .service-card,
  .value-card,
  .contact-panel {
    padding: 24px;
  }
}
