:root {
  --ink: #1f2724;
  --muted: #66716d;
  --line: #ddd8cf;
  --page: #f7f5ef;
  --panel: #fffefa;
  --green: #29433b;
  --sage: #768f82;
  --gold: #bc8751;
  --sky: #dfe8e8;
  --white: #ffffff;
  --shadow: 0 18px 50px rgba(31, 39, 36, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 32px;
  width: min(1348px, calc(100% - 48px));
  min-height: 78px;
  margin: 34px auto 24px;
  padding: 0 26px;
  background: rgba(255, 255, 251, 0.94);
  border: 1px solid var(--line);
  border-radius: 8px;
  backdrop-filter: blur(14px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-right: auto;
  color: var(--ink);
  font-size: clamp(1.35rem, 2vw, 2rem);
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.brand-mark {
  display: inline-block;
  width: 14px;
  height: 34px;
  background: var(--sage);
  border-radius: 3px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 40px;
  color: var(--muted);
  font-weight: 600;
}

.nav a,
.site-footer a {
  transition: color 160ms ease;
}

.nav a:hover,
.site-footer a:hover {
  color: var(--green);
}

.header-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 28px;
  border-radius: 5px;
  font-weight: 700;
  white-space: nowrap;
}

.header-cta,
.button-primary {
  background: var(--green);
  color: var(--white);
}

.button-primary {
  background: var(--gold);
}

.button-light {
  background: var(--white);
  color: var(--green);
  border: 1px solid rgba(255, 255, 255, 0.7);
}

.hero {
  position: relative;
  width: min(1348px, calc(100% - 48px));
  min-height: clamp(560px, 62vh, 700px);
  margin: 0 auto;
  overflow: hidden;
  border-radius: 8px;
  background: var(--green);
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(32, 48, 43, 0.82) 0%, rgba(32, 48, 43, 0.55) 38%, rgba(32, 48, 43, 0.08) 72%),
    linear-gradient(0deg, rgba(30, 34, 30, 0.16), rgba(30, 34, 30, 0));
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 760px;
  padding: clamp(64px, 7vh, 84px) 64px;
  color: var(--white);
}

.eyebrow,
.section-kicker {
  margin: 0 0 24px;
  color: #ead7b8;
  font-size: 0.94rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.section-kicker {
  color: var(--gold);
}

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

h1 {
  max-width: 680px;
  margin-bottom: 24px;
  font-size: clamp(3.25rem, 5vw, 4.8rem);
  line-height: 1.05;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 660px;
  margin-bottom: 30px;
  color: #f2f4ef;
  font-size: clamp(1.18rem, 1.9vw, 1.55rem);
  line-height: 1.45;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.hero-card {
  position: absolute;
  right: 72px;
  bottom: 72px;
  z-index: 2;
  width: min(448px, calc(100% - 64px));
  padding: 30px;
  background: var(--panel);
  border: 1px solid #d9ddd3;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.hero-card h2 {
  margin-bottom: 22px;
  color: var(--green);
  font-size: 1.65rem;
  letter-spacing: 0;
}

.hero-card dl {
  display: grid;
  gap: 16px;
  margin: 0;
}

.hero-card div {
  display: grid;
  grid-template-columns: 14px 110px 1fr;
  gap: 16px;
  align-items: start;
}

.hero-card div::before {
  content: "";
  width: 14px;
  height: 14px;
  margin-top: 6px;
  grid-column: 1;
  grid-row: 1;
  background: var(--sage);
  border-radius: 50%;
}

.hero-card dt {
  grid-column: 2;
  grid-row: 1;
  font-weight: 800;
}

.hero-card dd {
  grid-column: 3;
  margin: 0;
  color: var(--muted);
}

.intro-band,
.section,
.contact-panel,
.site-footer {
  width: min(1248px, calc(100% - 64px));
  margin-right: auto;
  margin-left: auto;
}

.intro-band {
  margin-top: 58px;
  padding: 42px 48px;
  background: var(--green);
  border-radius: 8px;
  color: #e1ebe4;
}

.intro-band h2 {
  margin-bottom: 10px;
  color: var(--white);
  font-size: clamp(1.6rem, 3vw, 2rem);
  letter-spacing: 0;
}

.intro-band p {
  max-width: 1060px;
  margin-bottom: 0;
  font-size: 1.2rem;
}

.section {
  padding: 112px 0;
}

.section-heading {
  max-width: 1120px;
}

.section-heading h2 {
  margin-bottom: 20px;
  font-size: clamp(2.35rem, 5vw, 4.15rem);
  line-height: 1.1;
  letter-spacing: 0;
}

.section-heading p:not(.section-kicker) {
  max-width: 1060px;
  color: var(--muted);
  font-size: 1.25rem;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px 48px;
  margin-top: 62px;
}

.product-card {
  min-height: 168px;
  padding: 28px 24px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.swatch {
  display: inline-block;
  width: 38px;
  height: 38px;
  margin-right: 18px;
  vertical-align: middle;
  border-radius: 5px;
}

.gold {
  background: var(--gold);
}

.sage {
  background: var(--sage);
}

.dark {
  background: #29312f;
}

.product-card h3 {
  display: inline-block;
  margin-bottom: 18px;
  font-size: 1.62rem;
  letter-spacing: 0;
  vertical-align: middle;
}

.product-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-weight: 600;
}

.project-section {
  width: 100%;
  padding-right: max(64px, calc((100vw - 1248px) / 2));
  padding-left: max(64px, calc((100vw - 1248px) / 2));
  background: var(--sky);
}

.project-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px 48px;
  margin-top: 52px;
}

.project-list span {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 0 22px;
  background: var(--panel);
  border: 1px solid #cbd4d1;
  border-radius: 5px;
  color: var(--green);
  font-weight: 800;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 56px;
  margin-top: 60px;
}

.trust-grid span {
  display: block;
  margin-bottom: 22px;
  color: var(--gold);
  font-size: 2.35rem;
  font-weight: 800;
}

.trust-grid h3 {
  margin-bottom: 12px;
  color: var(--green);
  font-size: 1.65rem;
  letter-spacing: 0;
}

.trust-grid p {
  color: var(--muted);
  font-weight: 600;
}

.contact-panel {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: center;
  margin-bottom: 28px;
  padding: 44px 42px;
  background: var(--green);
  border-radius: 8px;
  color: #e1ebe4;
}

.contact-panel h2 {
  max-width: 560px;
  margin-bottom: 8px;
  color: var(--white);
  font-size: clamp(2rem, 4vw, 3.05rem);
  line-height: 1.1;
  letter-spacing: 0;
}

.contact-panel p {
  margin-bottom: 0;
  font-size: 1.15rem;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 24px;
  justify-content: center;
  padding: 0 0 48px;
  color: var(--muted);
  font-weight: 700;
}

.site-footer p {
  margin: 0;
}

@media (max-width: 1040px) {
  .site-header {
    align-items: flex-start;
    flex-wrap: wrap;
    padding: 18px 22px;
  }

  .nav {
    order: 3;
    width: 100%;
    justify-content: space-between;
    gap: 16px;
  }

  .hero {
    min-height: 780px;
  }

  .hero-content {
    padding: 72px 40px;
  }

  .hero-card {
    right: 40px;
    bottom: 40px;
    left: 40px;
    width: auto;
  }

  .product-grid,
  .project-list {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

}

@media (max-width: 680px) {
  .site-header,
  .hero {
    width: calc(100% - 28px);
  }

  .site-header {
    margin-top: 14px;
  }

  .brand {
    font-size: 1.25rem;
  }

  .nav {
    display: none;
  }

  .header-cta {
    min-height: 42px;
    padding: 0 16px;
  }

  .hero {
    min-height: 840px;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(32, 48, 43, 0.86) 0%, rgba(32, 48, 43, 0.68) 58%, rgba(32, 48, 43, 0.26) 100%),
      linear-gradient(0deg, rgba(30, 34, 30, 0.18), rgba(30, 34, 30, 0));
  }

  .hero-content {
    padding: 56px 26px;
  }

  h1 {
    font-size: 3.35rem;
  }

  .hero-copy {
    font-size: 1.18rem;
  }

  .hero-card {
    right: 18px;
    bottom: 18px;
    left: 18px;
    padding: 24px;
  }

  .hero-card div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .hero-card div::before {
    display: none;
  }

  .hero-card dt,
  .hero-card dd {
    grid-column: auto;
    grid-row: auto;
    padding-left: 0;
  }

  .intro-band,
  .section,
  .contact-panel,
  .site-footer {
    width: calc(100% - 36px);
  }

  .intro-band,
  .contact-panel {
    padding: 30px 24px;
  }

  .section {
    padding: 82px 0;
  }

  .project-section {
    width: 100%;
    padding-right: 18px;
    padding-left: 18px;
  }

  .product-grid,
  .project-list,
  .trust-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .button,
  .contact-panel .button {
    width: 100%;
  }
}
