:root {
  --ink: #211f1a;
  --deep: #26342f;
  --moss: #62766a;
  --copper: #b97443;
  --paper: #f8f4ec;
  --chalk: #fffdf8;
  --line: #ded4c4;
  --muted: #665e54;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Avenir, "Gill Sans", "Trebuchet MS", sans-serif;
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(38, 52, 47, 0.04) 1px, transparent 1px),
    linear-gradient(180deg, rgba(38, 52, 47, 0.04) 1px, transparent 1px),
    var(--paper);
  background-size: 42px 42px;
  line-height: 1.6;
}

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

.container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(248, 244, 236, 0.92);
  border-bottom: 1px solid rgba(38, 52, 47, 0.14);
  backdrop-filter: blur(16px);
}

.nav {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  color: var(--deep);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 700;
  letter-spacing: -0.02em;
  text-decoration: none;
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

nav a {
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
  padding: 9px 12px;
  text-decoration: none;
}

nav a:hover,
nav a:focus-visible {
  color: var(--copper);
}

.hero {
  position: relative;
  min-height: min(760px, calc(100vh - 74px));
  display: grid;
  align-items: end;
  overflow: hidden;
  background: url("images/e08beff2-3ffe-4686-8ee7-f779b896dcb1.jpeg") center/cover no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(110deg, rgba(20, 26, 23, 0.92) 0%, rgba(28, 38, 34, 0.78) 42%, rgba(28, 38, 34, 0.22) 100%),
    radial-gradient(circle at 16% 25%, rgba(185, 116, 67, 0.36), transparent 34%);
}

.hero-content {
  position: relative;
  width: min(780px, 100%);
  padding: 120px 0 86px;
  color: var(--chalk);
}

.eyebrow {
  margin: 0 0 14px;
  color: #efd7bb;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.eyebrow.dark {
  color: var(--copper);
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0 0 20px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(48px, 8vw, 96px);
  line-height: 0.96;
  letter-spacing: 0;
}

h2 {
  margin: 8px 0 18px;
  color: var(--deep);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(31px, 4.5vw, 56px);
  line-height: 1.05;
  letter-spacing: 0;
}

h3 {
  margin: 0 0 10px;
  color: var(--deep);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 24px;
  line-height: 1.1;
}

.hero-text {
  max-width: 650px;
  margin: 0 0 24px;
  color: rgba(255, 253, 248, 0.9);
  font-size: clamp(18px, 2.3vw, 24px);
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 20px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 900;
  text-decoration: none;
  transition: transform 160ms ease, background-color 160ms ease, border-color 160ms ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
}

.primary {
  background: var(--copper);
  color: #fffdf8;
}

.primary:hover,
.primary:focus-visible {
  background: #a65f31;
}

.secondary {
  color: #fffdf8;
  background: rgba(255, 253, 248, 0.08);
  border-color: rgba(255, 253, 248, 0.58);
}

.section {
  padding: clamp(58px, 8vw, 98px) 0;
}

.two-col {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(28px, 6vw, 76px);
  align-items: start;
}

.two-col > p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 21px);
}

.services,
.gallery-section {
  background: rgba(255, 253, 248, 0.74);
  border-top: 1px solid rgba(38, 52, 47, 0.1);
  border-bottom: 1px solid rgba(38, 52, 47, 0.1);
}

.cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 30px;
}

.card {
  min-height: 220px;
  padding: 26px;
  background: var(--chalk);
  border: 1px solid var(--line);
  border-top: 5px solid var(--moss);
  border-radius: 8px;
  box-shadow: 0 18px 38px rgba(33, 31, 26, 0.08);
}

.card p {
  margin: 0;
  color: var(--muted);
}

.why-box {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.82fr);
  gap: clamp(26px, 5vw, 60px);
  padding: clamp(30px, 5vw, 54px);
  color: var(--chalk);
  background:
    linear-gradient(135deg, rgba(98, 118, 106, 0.92), rgba(38, 52, 47, 0.98)),
    url("images/b1359e98-49cd-45e1-9b82-20ad4a4ae6e1.jpeg") center/cover;
  border-radius: 8px;
}

.why-box h2,
.why-box .eyebrow.dark {
  color: var(--chalk);
}

.why ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.why li {
  position: relative;
  margin: 0 0 14px;
  padding: 0 0 14px 28px;
  border-bottom: 1px solid rgba(255, 253, 248, 0.22);
  font-size: 18px;
}

.why li::before {
  position: absolute;
  top: 0.65em;
  left: 0;
  width: 10px;
  height: 10px;
  background: var(--copper);
  content: "";
  transform: rotate(45deg);
}

.gallery {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
  margin-top: 30px;
}

.gallery img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 38px rgba(33, 31, 26, 0.12);
}

.gallery img:nth-child(1),
.gallery img:nth-child(6) {
  grid-column: span 3;
  height: 330px;
}

.gallery img:nth-child(2),
.gallery img:nth-child(3),
.gallery img:nth-child(4),
.gallery img:nth-child(5),
.gallery img:nth-child(7),
.gallery img:nth-child(8),
.gallery img:nth-child(9) {
  grid-column: span 2;
}

.contact {
  color: var(--chalk);
  background:
    linear-gradient(135deg, rgba(33, 31, 26, 0.95), rgba(38, 52, 47, 0.97)),
    url("images/625207fa-c57c-46c8-8c13-3117398836c5.jpeg") center/cover;
}

.contact-card {
  max-width: 900px;
}

.contact h2 {
  color: var(--chalk);
}

.contact p {
  max-width: 710px;
  margin: 0 0 24px;
  color: rgba(255, 253, 248, 0.82);
  font-size: 20px;
}

.light.primary {
  background: var(--chalk);
  color: var(--deep);
}

.light.secondary {
  color: var(--chalk);
  background: transparent;
  border-color: rgba(255, 253, 248, 0.52);
}

.small {
  margin-top: 18px !important;
  font-size: 15px !important;
}

footer {
  padding: 24px 0;
  color: rgba(255, 253, 248, 0.78);
  background: #211f1a;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 14px;
}

.footer-content p {
  margin: 0;
}

@media (max-width: 980px) {
  .cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .gallery img,
  .gallery img:nth-child(1),
  .gallery img:nth-child(6),
  .gallery img:nth-child(2),
  .gallery img:nth-child(3),
  .gallery img:nth-child(4),
  .gallery img:nth-child(5),
  .gallery img:nth-child(7),
  .gallery img:nth-child(8),
  .gallery img:nth-child(9) {
    grid-column: auto;
    height: 280px;
  }
}

@media (max-width: 720px) {
  .container {
    width: min(100% - 28px, 1120px);
  }

  .nav,
  .two-col,
  .why-box {
    grid-template-columns: 1fr;
  }

  .nav {
    padding: 14px 0;
    align-items: flex-start;
    flex-direction: column;
  }

  nav {
    justify-content: flex-start;
  }

  nav a {
    padding-left: 0;
  }

  .hero {
    min-height: 660px;
  }

  .hero-content {
    padding: 90px 0 60px;
  }

  .hero-actions,
  .contact-actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

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

  .card {
    min-height: auto;
  }

  .gallery img,
  .gallery img:nth-child(1),
  .gallery img:nth-child(6) {
    height: 270px;
  }

  .footer-content {
    display: block;
  }

  .footer-content p + p {
    margin-top: 8px;
  }
}
