:root {
  --ink: #17201b;
  --muted: #5b665f;
  --blue: #1f6f9f;
  --blue-dark: #12496b;
  --green: #2f7d4c;
  --lime: #d6e8a8;
  --stone: #e8e3d8;
  --paper: #fbfaf6;
  --line: #d8d0c2;
  --shadow: 0 18px 50px rgba(23, 32, 27, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 5vw, 64px);
  background: rgba(251, 250, 246, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: white;
  background: var(--blue);
  border-radius: 8px;
  font-weight: 800;
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0;
}

.nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav a {
  padding: 9px 11px;
  color: var(--muted);
  font-size: 14px;
  text-decoration: none;
  border-radius: 8px;
}

.nav a:hover {
  color: var(--ink);
  background: #eef2eb;
}

.nav .nav-cta {
  color: white;
  background: var(--blue);
}

.hero {
  position: relative;
  min-height: min(720px, calc(100vh - 68px));
  display: flex;
  align-items: center;
  overflow: hidden;
}

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

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(13, 25, 18, 0.78), rgba(13, 25, 18, 0.34) 48%, rgba(13, 25, 18, 0.08));
}

.hero-content {
  position: relative;
  width: min(720px, calc(100% - 36px));
  margin-left: clamp(18px, 7vw, 82px);
  color: white;
  padding: 72px 0 98px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
}

.hero .eyebrow {
  color: var(--lime);
}

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

h1 {
  margin: 0;
  max-width: 660px;
  font-size: clamp(48px, 9vw, 96px);
  line-height: 0.94;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-size: clamp(32px, 5vw, 54px);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin: 16px 0 8px;
  font-size: 20px;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 620px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 19px;
}

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

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border: 0;
  border-radius: 8px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.button.primary {
  color: white;
  background: var(--blue);
}

.button.secondary {
  color: white;
  background: rgba(255, 255, 255, 0.16);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.42);
}

.metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-bottom: 1px solid var(--line);
  background: white;
}

.metrics div {
  padding: 24px clamp(18px, 4vw, 48px);
  border-right: 1px solid var(--line);
}

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

.metrics strong {
  display: block;
  color: var(--green);
  font-size: clamp(24px, 4vw, 40px);
  line-height: 1;
}

.metrics span {
  color: var(--muted);
}

.section {
  padding: clamp(64px, 9vw, 110px) clamp(18px, 5vw, 64px);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-heading p:not(.eyebrow),
.area-section p,
.contact-card p {
  color: var(--muted);
  font-size: 18px;
}

.project-grid,
.review-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.project-card,
.review-grid figure,
.quote-form,
.contact-card,
.area-panel {
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.project-card {
  padding: 12px 12px 20px;
  box-shadow: var(--shadow);
}

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

.before-after {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.before,
.after {
  position: relative;
  overflow: hidden;
  min-height: 180px;
  border-radius: 6px;
  background: #ddd;
}

.before span,
.after span {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 2;
  padding: 5px 8px;
  color: white;
  background: rgba(23, 32, 27, 0.72);
  border-radius: 6px;
  font-size: 12px;
  font-weight: 800;
}

.yard {
  position: absolute;
  inset: 0;
}

.yard::before,
.yard::after {
  position: absolute;
  content: "";
}

.rough {
  background:
    linear-gradient(18deg, transparent 58%, #a98557 59% 72%, transparent 73%),
    radial-gradient(circle at 70% 34%, #6f7741 0 10%, transparent 11%),
    linear-gradient(#9da86e, #777f48);
}

.rough::before {
  inset: 62% 0 0;
  background: repeating-linear-gradient(95deg, #6f6b42 0 16px, #8f8b5a 17px 31px);
}

.refined {
  background:
    radial-gradient(circle at 72% 42%, #faf5d0 0 9%, transparent 10%),
    radial-gradient(circle at 58% 36%, #2f7d4c 0 10%, transparent 11%),
    linear-gradient(130deg, transparent 0 44%, #c8c2b4 45% 57%, transparent 58%),
    linear-gradient(#49a865, #2f7d4c);
}

.refined::before {
  inset: 63% 0 0;
  background: linear-gradient(90deg, #5a4534, #2c2a1f);
}

.sloped {
  background:
    linear-gradient(160deg, #8d815b 0 45%, #67663c 46% 100%),
    #8d815b;
}

.sloped::after {
  inset: 62% 0 0;
  background: repeating-linear-gradient(-12deg, #7b5e44 0 20px, #a98052 21px 38px);
}

.terrace {
  background:
    linear-gradient(168deg, transparent 0 40%, #817d70 41% 49%, transparent 50%),
    linear-gradient(154deg, transparent 0 62%, #b8b1a3 63% 72%, transparent 73%),
    radial-gradient(circle at 72% 24%, #dcd08b 0 8%, transparent 9%),
    linear-gradient(#5da666, #2f7d4c);
}

.terrace::before {
  inset: 66% 0 0;
  background: linear-gradient(90deg, #282820, #5b4632);
}

.bare {
  background:
    radial-gradient(circle at 50% 44%, #8b6a43 0 20%, transparent 21%),
    linear-gradient(#a8a16f, #766c48);
}

.bare::before {
  inset: 70% 0 0;
  background: #69503a;
}

.patio {
  background:
    linear-gradient(150deg, transparent 0 42%, #d1c8b5 43% 62%, transparent 63%),
    radial-gradient(circle at 28% 42%, #d8e58e 0 8%, transparent 9%),
    radial-gradient(circle at 70% 34%, #346b42 0 14%, transparent 15%),
    linear-gradient(#50a869, #367e52);
}

.patio::before {
  inset: 64% 0 0;
  background: repeating-linear-gradient(90deg, #b8aa95 0 16px, #928775 17px 31px);
}

.split-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.2fr);
  gap: 32px;
  background: #eef2eb;
}

.compact {
  margin-bottom: 0;
}

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

.service-list article {
  padding: 22px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.service-icon {
  color: var(--blue-dark);
  font-weight: 800;
}

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

.area-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 420px);
  gap: 28px;
  align-items: start;
}

.area-panel {
  display: grid;
  gap: 8px;
  padding: 26px;
  box-shadow: var(--shadow);
}

.area-panel span {
  margin-bottom: 12px;
  color: var(--muted);
}

.review-grid figure {
  margin: 0;
  padding: 26px;
}

blockquote {
  margin: 0 0 16px;
  font-size: 19px;
}

figcaption {
  color: var(--green);
  font-weight: 800;
}

.quote-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.85fr) minmax(300px, 1.15fr);
  gap: 20px;
  background: var(--ink);
}

.contact-card,
.quote-form {
  padding: clamp(22px, 4vw, 34px);
}

.contact-card {
  color: white;
  background: #223127;
  border-color: rgba(255, 255, 255, 0.14);
}

.contact-card .eyebrow {
  color: var(--lime);
}

.contact-card p {
  color: rgba(255, 255, 255, 0.72);
}

.contact-list {
  display: grid;
  gap: 14px;
  padding: 0;
  margin: 28px 0 0;
  list-style: none;
}

.contact-list li {
  display: grid;
  gap: 2px;
}

.contact-list strong {
  color: var(--lime);
}

.contact-list a,
.contact-list span {
  color: white;
}

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

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

input,
select,
textarea {
  width: 100%;
  min-height: 46px;
  padding: 11px 12px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  font: inherit;
}

textarea {
  resize: vertical;
}

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

.form-status {
  min-height: 24px;
  margin: 0;
  color: var(--green);
  font-weight: 800;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 24px clamp(18px, 5vw, 64px);
  color: var(--muted);
  background: white;
  border-top: 1px solid var(--line);
}

@media (max-width: 900px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .project-grid,
  .review-grid,
  .split-section,
  .area-section,
  .quote-section {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .hero {
    min-height: 650px;
  }

  .hero-overlay {
    background: linear-gradient(180deg, rgba(13, 25, 18, 0.82), rgba(13, 25, 18, 0.46));
  }

  .hero-content {
    align-self: flex-end;
    padding-bottom: 62px;
  }

  .metrics,
  .service-list,
  .quote-form {
    grid-template-columns: 1fr;
  }

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

  .site-footer {
    flex-direction: column;
  }
}
