:root {
  --cream: #f6f3eb;
  --paper: #fbfaf5;
  --ink: #13231b;
  --muted: #536258;
  --green: #075f32;
  --green-2: #0a7b43;
  --blue: #1685b5;
  --gold: #f5c430;
  --line: rgba(19, 35, 27, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

.site-header {
  align-items: center;
  background: rgba(251, 250, 245, 0.96);
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 24px;
  justify-content: space-between;
  left: 0;
  padding: 12px max(20px, calc((100vw - 1280px) / 2 + 32px));
  position: sticky;
  right: 0;
  top: 0;
  z-index: 20;
}

.brand {
  align-items: center;
  display: flex;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  align-items: center;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  display: grid;
  flex: 0 0 auto;
  height: 44px;
  justify-content: center;
  width: 56px;
}

.brand-mark img {
  height: 36px;
  object-fit: contain;
  width: 48px;
}

.brand-title {
  color: var(--green);
  display: block;
  font-size: 16px;
  font-weight: 900;
  letter-spacing: 0.04em;
  line-height: 1.1;
  text-transform: uppercase;
}

.brand-subtitle {
  color: var(--blue);
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  margin-top: 3px;
  text-transform: uppercase;
}

.nav {
  display: flex;
  gap: 24px;
  font-size: 14px;
  font-weight: 700;
  color: #385244;
}

.nav a:hover,
.phone-button:hover {
  color: var(--green-2);
}

.phone-button {
  background: var(--green);
  border-radius: 8px;
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  padding: 10px 16px;
}

.phone-button:hover {
  background: var(--green-2);
  color: #fff;
}

.hero {
  isolation: isolate;
  min-height: 84svh;
  overflow: hidden;
  position: relative;
}

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

.hero-image {
  height: 100%;
  object-fit: cover;
  width: 100%;
  z-index: -2;
}

.hero-overlay {
  background: linear-gradient(90deg, rgba(6, 42, 25, 0.86), rgba(6, 42, 25, 0.52) 48%, rgba(6, 42, 25, 0.14));
  z-index: -1;
}

.hero-content {
  align-items: center;
  display: flex;
  min-height: 84svh;
  margin: 0 auto;
  max-width: 1280px;
  padding: 64px 32px;
}

.hero-content > * {
  max-width: 760px;
}

.eyebrow,
.section-label {
  color: var(--blue);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.18em;
  margin: 0;
  text-transform: uppercase;
}

.eyebrow {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 8px;
  color: #d9f7e2;
  display: inline-flex;
  padding: 10px 12px;
}

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

h1 {
  color: #fff;
  font-size: clamp(48px, 8vw, 96px);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 0.95;
  margin: 24px 0 24px;
}

h2 {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.08;
  margin: 16px 0 0;
}

h3 {
  color: var(--green);
  font-size: 25px;
  font-weight: 900;
  line-height: 1.2;
}

.hero-copy {
  color: rgba(255, 255, 255, 0.9);
  font-size: 20px;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button {
  border-radius: 8px;
  display: inline-flex;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.08em;
  padding: 14px 20px;
  text-align: center;
  text-transform: uppercase;
}

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

.button-outline {
  border: 1px solid rgba(255, 255, 255, 0.45);
  color: #fff;
}

.metrics {
  background: #fff;
  border-bottom: 1px solid var(--line);
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0 auto;
  max-width: 1280px;
}

.metrics article {
  border-right: 1px solid var(--line);
  padding: 28px 32px;
}

.metrics article:last-child {
  border-right: 0;
}

.metrics strong {
  color: var(--green);
  display: block;
  font-size: 30px;
  font-weight: 900;
}

.metrics p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
  margin: 8px 0 0;
}

.section {
  padding: 80px max(20px, calc((100vw - 1280px) / 2 + 32px));
}

.two-column {
  align-items: end;
  display: grid;
  gap: 48px;
  grid-template-columns: 0.9fr 1.1fr;
}

.align-start {
  align-items: start;
}

.body-copy,
.body-copy p,
.section p {
  color: #415449;
  font-size: 16px;
  line-height: 1.85;
}

.services {
  background: #e8efe4;
}

.section-intro {
  max-width: 760px;
}

.cards {
  display: grid;
  gap: 20px;
  margin-top: 40px;
}

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

.cards.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 0;
}

.card {
  background: #fff;
  border: 1px solid #c4d2c6;
  border-radius: 10px;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.04);
  padding: 28px;
}

.card p {
  color: var(--muted);
  min-height: 64px;
}

.card ul {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
}

.card li {
  color: #24352b;
  display: flex;
  font-size: 14px;
  font-weight: 700;
  gap: 12px;
  line-height: 1.6;
  margin-bottom: 12px;
}

.card li::before {
  background: var(--blue);
  border-radius: 50%;
  content: "";
  flex: 0 0 6px;
  height: 6px;
  margin-top: 8px;
  width: 6px;
}

.projects,
.contact {
  background: #fff;
}

.project-table {
  border: 1px solid #dde5dd;
  border-radius: 10px;
  overflow: hidden;
}

.table-head,
.table-row {
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr 0.9fr 1.3fr;
  padding: 16px 20px;
}

.table-head {
  background: var(--green);
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.table-row {
  border-top: 1px solid #dde5dd;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.table-row:first-of-type {
  border-top: 0;
}

.table-row b {
  color: var(--ink);
  font-weight: 900;
}

.table-row strong {
  color: #0b6b3a;
}

.gallery {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 48px;
}

.gallery figure {
  background: #f7f6f0;
  border: 1px solid #dde5dd;
  border-radius: 10px;
  margin: 0;
  overflow: hidden;
}

.gallery img {
  height: 288px;
  object-fit: cover;
  width: 100%;
}

.gallery figcaption {
  align-items: center;
  color: var(--ink);
  display: flex;
  font-size: 14px;
  font-weight: 900;
  justify-content: space-between;
  min-height: 56px;
  padding: 14px 16px;
}

.gallery figcaption::after {
  background: var(--gold);
  border-radius: 999px;
  content: "";
  height: 4px;
  width: 40px;
}

.capability {
  background: var(--ink);
  color: #fff;
}

.capability .section-label,
.section-label.gold {
  color: var(--gold);
}

.capability h2,
.capability p {
  color: #fff;
}

.capability p {
  opacity: 0.75;
}

.dark-card {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  padding: 28px;
}

.dark-card h3 {
  color: var(--gold);
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tags span {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 14px;
  font-weight: 700;
  padding: 10px 12px;
}

.approvals {
  background: var(--cream);
}

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

.approval-grid p {
  background: #fff;
  border: 1px solid #d9d2bd;
  border-radius: 10px;
  color: #314338;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.6;
  margin: 0;
  padding: 20px;
}

.contact-grid {
  background: #f7f6f0;
  border: 1px solid #dde5dd;
  border-radius: 10px;
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding: 28px;
}

.contact-grid a {
  background: #fff;
  border: 1px solid #cddbcf;
  border-radius: 8px;
  padding: 20px;
}

.contact-grid .contact-primary {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
}

.contact-grid span {
  display: block;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.contact-grid strong {
  display: block;
  font-size: 18px;
  line-height: 1.35;
  margin-top: 8px;
  overflow-wrap: anywhere;
}

.alternate-email {
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  grid-column: 1 / -1;
  margin: 0;
}

.footer {
  align-items: center;
  background: var(--ink);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
  display: flex;
  gap: 20px;
  justify-content: space-between;
  padding: 32px max(20px, calc((100vw - 1280px) / 2 + 32px));
}

.footer p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  font-weight: 700;
  margin: 0;
}

.footer strong {
  color: var(--gold);
  font-size: 14px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

@media (max-width: 960px) {
  .nav {
    display: none;
  }

  .phone-button {
    display: none;
  }

  .metrics,
  .two-column,
  .cards.three,
  .cards.two,
  .gallery,
  .approval-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .metrics article {
    border-bottom: 1px solid var(--line);
    border-right: 0;
  }

  .metrics article:last-child {
    border-bottom: 0;
  }

  .table-head {
    display: none;
  }

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

  .hero-content,
  .section,
  .footer {
    padding-left: 20px;
    padding-right: 20px;
  }
}

@media (max-width: 520px) {
  .site-header {
    padding: 10px 14px;
  }

  .brand-title {
    font-size: 14px;
  }

  .brand-subtitle {
    font-size: 10px;
  }

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

  .button {
    justify-content: center;
    width: 100%;
  }

  .eyebrow {
    font-size: 11px;
    line-height: 1.5;
  }

  .gallery img {
    height: 240px;
  }

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