:root {
  --ink: #173540;
  --muted: #62737a;
  --line: #d8e2e5;
  --soft: #f2f6f7;
  --teal: #2a9d8f;
  --teal-dark: #1e766d;
  --paper: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 12px 28px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
}

.brand img {
  width: 74px;
  height: 50px;
  object-fit: contain;
}

.nav {
  display: flex;
  gap: 22px;
  color: var(--muted);
  font-weight: 700;
  font-size: 14px;
}

.call-button,
.primary,
.secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 6px;
  padding: 10px 16px;
  font-weight: 800;
}

.call-button,
.primary {
  border: 0;
  background: var(--ink);
  color: #fff;
}

.secondary {
  border: 1px solid rgba(255, 255, 255, 0.72);
  color: #fff;
}

.hero {
  position: relative;
  min-height: calc(100vh - 75px);
  display: grid;
  align-items: end;
  overflow: hidden;
}

.hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(9, 35, 43, 0.88), rgba(9, 35, 43, 0.55) 42%, rgba(9, 35, 43, 0.12));
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(760px, 100%);
  padding: 72px 28px 86px;
  color: #fff;
}

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

.hero .eyebrow {
  color: #78d8cd;
}

.hero h1 {
  margin-top: 12px;
  font-size: clamp(40px, 7vw, 72px);
  line-height: 0.98;
  letter-spacing: 0;
}

.hero p {
  max-width: 650px;
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 18px;
  line-height: 1.5;
}

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

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

.quick-strip div {
  display: grid;
  gap: 4px;
  padding: 22px 28px;
  border-right: 1px solid var(--line);
}

.quick-strip span {
  color: var(--muted);
  line-height: 1.35;
}

.section {
  width: min(1180px, 100%);
  margin: 0 auto;
  padding: 86px 28px;
}

.section-head {
  max-width: 760px;
  margin-bottom: 28px;
}

.section-head h2,
.quote-section h2 {
  margin-top: 8px;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.08;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.service-grid article,
.work-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 20px;
  background: var(--paper);
}

.service-grid h3 {
  font-size: 18px;
}

.service-grid p {
  margin-top: 10px;
  color: var(--muted);
  line-height: 1.45;
}

.work-section {
  width: 100%;
  background: var(--soft);
}

.work-section .section-head,
.work-grid {
  width: min(1180px, 100%);
  margin-left: auto;
  margin-right: auto;
}

.work-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr;
  gap: 12px;
}

.work-card {
  min-height: 220px;
  display: grid;
  align-content: end;
  background: #fff;
}

.work-card.large {
  min-height: 360px;
  background: linear-gradient(0deg, rgba(23, 53, 64, 0.82), rgba(23, 53, 64, 0.16)), url("assets/hero-homestead.png");
  background-size: cover;
  background-position: center;
  color: #fff;
}

.work-card span {
  color: var(--teal-dark);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.work-card.large span {
  color: #78d8cd;
}

.work-card strong {
  margin-top: 8px;
  font-size: 24px;
  line-height: 1.15;
}

.process ol {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  padding: 0;
  margin: 0;
  list-style: none;
  counter-reset: step;
}

.process li {
  counter-increment: step;
  display: grid;
  gap: 10px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.process li::before {
  content: counter(step);
  width: 34px;
  height: 34px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: #e8f6f3;
  color: var(--teal-dark);
  font-weight: 900;
}

.process span {
  color: var(--muted);
  line-height: 1.4;
}

.quote-section {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 34px;
  width: min(1180px, 100%);
  margin: 0 auto 80px;
  padding: 34px 28px;
  border-top: 1px solid var(--line);
}

.quote-section p {
  margin-top: 12px;
  color: var(--muted);
  line-height: 1.5;
}

.contact-lines {
  display: grid;
  gap: 8px;
  margin-top: 24px;
  font-weight: 800;
}

form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}

label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.wide {
  grid-column: 1 / -1;
}

input,
select,
textarea {
  width: 100%;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 10px;
  color: var(--ink);
  background: #fff;
}

textarea {
  resize: vertical;
}

form .primary {
  width: fit-content;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 28px;
  border-top: 1px solid var(--line);
  background: var(--ink);
  color: #fff;
}

.footer div {
  display: grid;
  gap: 6px;
}

.footer span,
.footer a {
  color: rgba(255, 255, 255, 0.78);
}

@media (max-width: 920px) {
  .site-header,
  .quick-strip,
  .service-grid,
  .work-grid,
  .process ol,
  .quote-section,
  .footer {
    grid-template-columns: 1fr;
  }

  .site-header,
  .footer {
    display: grid;
  }

  .nav {
    flex-wrap: wrap;
  }

  .quick-strip div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
}

@media (max-width: 620px) {
  .site-header,
  .hero-content,
  .section,
  .quote-section,
  .footer {
    padding-left: 16px;
    padding-right: 16px;
  }

  .call-button {
    width: 100%;
  }

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