:root {
  --ink: #17211c;
  --ink-soft: #405047;
  --muted: #6c766f;
  --forest: #1f3e2b;
  --forest-deep: #14251b;
  --spruce: #2f5b3f;
  --rust: #b85d38;
  --rust-dark: #944727;
  --stone: #e7e7e1;
  --line: #d8d9d2;
  --paper: #ffffff;
  --paper-soft: #f7f7f2;
  --shadow: 0 22px 60px rgba(23, 33, 28, 0.16);
  --serif: Georgia, "Times New Roman", serif;
  --sans: Arial, Helvetica, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
}

body.nav-open {
  overflow: hidden;
}

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

img,
svg {
  display: block;
}

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 34px;
  min-height: 88px;
  padding: 18px clamp(22px, 5vw, 68px);
  color: #fff;
  transition: background 180ms ease, box-shadow 180ms ease, color 180ms ease;
}

.site-header.is-scrolled,
.site-header.nav-active {
  background: rgba(20, 37, 27, 0.94);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  min-width: 0;
  text-transform: uppercase;
}

.brand-mark {
  width: 74px;
  height: 38px;
  color: currentColor;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.brand strong {
  display: block;
  font-size: 0.97rem;
  line-height: 1.02;
  letter-spacing: 0.15em;
  font-weight: 800;
}

.brand small {
  display: block;
  margin-top: 4px;
  font-size: 0.62rem;
  line-height: 1;
  letter-spacing: 0.18em;
  font-weight: 700;
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: clamp(18px, 3vw, 42px);
}

.site-nav a,
.header-cta {
  font-size: 0.78rem;
  line-height: 1;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.site-nav a {
  padding: 12px 0;
  opacity: 0.9;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  opacity: 1;
}

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 28px;
  background: var(--rust);
  color: #fff;
  transition: background 160ms ease, transform 160ms ease;
}

.header-cta:hover,
.header-cta:focus-visible,
.button-primary:hover,
.button-primary:focus-visible {
  background: var(--rust-dark);
  transform: translateY(-1px);
}

.menu-toggle {
  display: none;
  justify-self: end;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  cursor: pointer;
}

.menu-toggle span:not(.sr-only) {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: min(760px, 88svh);
  display: flex;
  align-items: center;
  padding: 136px clamp(24px, 5vw, 72px) 72px;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(12, 21, 16, 0.88) 0%, rgba(12, 21, 16, 0.58) 34%, rgba(12, 21, 16, 0.05) 70%),
    url("assets/colorado-backyard.png") center / cover no-repeat;
}

.hero-copy {
  width: min(650px, 100%);
}

.hero h1 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(4rem, 8vw, 7.7rem);
  line-height: 0.95;
  font-weight: 700;
}

.hero-lede {
  width: min(600px, 100%);
  margin: 28px 0 0;
  font-size: clamp(1.08rem, 2vw, 1.62rem);
  line-height: 1.5;
  font-weight: 500;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 38px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 26px;
  border: 1px solid transparent;
  cursor: pointer;
  font-size: 0.82rem;
  line-height: 1;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.button-primary {
  background: var(--rust);
  color: #fff;
}

.button:disabled {
  cursor: not-allowed;
  opacity: 0.72;
  transform: none;
}

.button-ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.58);
  background: rgba(255, 255, 255, 0.08);
}

.button-ghost:hover,
.button-ghost:focus-visible {
  background: rgba(255, 255, 255, 0.18);
  border-color: #fff;
}

.hero-scroll {
  position: absolute;
  right: clamp(24px, 5vw, 72px);
  bottom: 34px;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.08);
}

.hero-scroll svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.section {
  padding: clamp(70px, 8vw, 120px) clamp(22px, 5vw, 72px);
}

.section-heading {
  width: min(760px, 100%);
  margin-bottom: 42px;
}

.section-heading h2,
.feature-copy h2,
.area-band h2,
.estimate h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2.4rem, 5vw, 4.8rem);
  line-height: 1;
  font-weight: 700;
}

.section-heading p:not(.section-label),
.feature-copy p:not(.section-label),
.area-band p,
.estimate-image p {
  margin: 18px 0 0;
  color: var(--ink-soft);
  font-size: clamp(1rem, 1.5vw, 1.18rem);
}

.section-label {
  margin: 0 0 14px;
  color: var(--rust);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.services {
  background: var(--paper-soft);
}

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

.service-card {
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: 0 16px 42px rgba(23, 33, 28, 0.08);
}

.service-media {
  min-height: 210px;
  background-position: center;
  background-size: cover;
}

.media-concrete {
  background-image: url("assets/service-concrete-patio.png");
}

.media-stone {
  background-image: url("assets/service-stone-pavers.png");
}

.media-porcelain {
  background-image: url("assets/service-porcelain-pavers.png");
}

.media-wall {
  background-image: url("assets/service-retaining-walls.png");
}

.media-garden {
  background-image: url("assets/service-garden-beds.png");
}

.media-fire {
  background-image: url("assets/service-outdoor-fireplaces.png");
}

.media-kitchen {
  background-image: url("assets/service-outdoor-kitchens.png");
}

.service-body {
  padding: 26px;
}

.service-body svg,
.process-steps svg {
  width: 34px;
  height: 34px;
  color: var(--rust);
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-body h3,
.process-steps h3 {
  margin: 18px 0 8px;
  font-size: 1.08rem;
  line-height: 1.2;
}

.service-body p,
.process-steps p,
.feature-list p {
  margin: 0;
  color: var(--muted);
}

.area-band {
  display: grid;
  grid-template-columns: minmax(240px, 0.8fr) minmax(0, 1.4fr);
  align-items: center;
  gap: clamp(34px, 6vw, 78px);
  padding: clamp(70px, 8vw, 110px) clamp(22px, 5vw, 72px);
  background: var(--forest);
  color: #fff;
}

.area-band .section-label,
.area-band p {
  color: rgba(255, 255, 255, 0.74);
}

.area-band h2 span::before {
  content: "/";
  color: var(--rust);
  margin: 0 0.25em;
}

.area-map {
  display: grid;
  place-items: center;
  min-height: 320px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
}

.area-map svg {
  width: min(320px, 86%);
  fill: none;
  stroke: currentColor;
  stroke-width: 5;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0.84;
}

.feature {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 88px);
  align-items: start;
}

.feature-list {
  display: grid;
  gap: 18px;
}

.feature-list div {
  padding: 26px;
  border-left: 4px solid var(--rust);
  background: var(--paper-soft);
}

.feature-list strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.05rem;
}

.process {
  background: var(--paper-soft);
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
}

.process-steps article {
  min-height: 270px;
  padding: 24px;
  background: var(--paper);
  border: 1px solid var(--line);
}

.process-steps span {
  display: block;
  margin-top: 28px;
  color: var(--rust);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.1em;
}

.estimate {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1fr);
  min-height: 720px;
}

.estimate-image {
  display: flex;
  align-items: flex-end;
  padding: clamp(32px, 5vw, 72px);
  color: #fff;
  background:
    linear-gradient(0deg, rgba(15, 25, 18, 0.88), rgba(15, 25, 18, 0.08) 72%),
    url("assets/colorado-backyard.png") center / cover no-repeat;
}

.estimate-image h2 {
  color: #fff;
}

.estimate-image p {
  color: rgba(255, 255, 255, 0.84);
}

.estimate-form-wrap {
  padding: clamp(42px, 6vw, 82px) clamp(24px, 5vw, 72px);
  background: var(--forest-deep);
  color: #fff;
}

.estimate-form-wrap .section-label {
  color: #e0a079;
}

.estimate-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 28px;
}

.estimate-form label {
  display: grid;
  gap: 8px;
}

.estimate-form span {
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.estimate-form input,
.estimate-form select,
.estimate-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 0;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  padding: 15px 14px;
  outline: 0;
}

.estimate-form textarea {
  resize: vertical;
}

.estimate-form option {
  color: var(--ink);
}

.estimate-form input:focus,
.estimate-form select:focus,
.estimate-form textarea:focus {
  border-color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.12);
}

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

.form-status {
  min-height: 24px;
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
}

.form-status.is-success {
  color: #d7f0d4;
}

.form-status.is-error {
  color: #ffd4c4;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 30px clamp(22px, 5vw, 72px);
  background: var(--ink);
  color: #fff;
}

.site-footer p {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
}

@media (max-width: 1050px) {
  .site-header {
    grid-template-columns: auto auto;
  }

  .menu-toggle {
    display: block;
  }

  .site-nav,
  .header-cta {
    display: none;
  }

  .site-header.nav-active .site-nav {
    position: fixed;
    inset: 88px 0 auto;
    display: grid;
    justify-content: stretch;
    gap: 0;
    padding: 18px 24px 28px;
    background: rgba(20, 37, 27, 0.98);
  }

  .site-header.nav-active .site-nav a {
    padding: 18px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

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

  .feature,
  .area-band,
  .estimate {
    grid-template-columns: 1fr;
  }

  .estimate {
    min-height: 0;
  }
}

@media (max-width: 680px) {
  .site-header {
    min-height: 76px;
    padding: 14px 18px;
  }

  .brand-mark {
    width: 58px;
  }

  .brand strong {
    font-size: 0.82rem;
  }

  .brand small {
    font-size: 0.55rem;
  }

  .hero {
    min-height: 720px;
    padding: 116px 20px 70px;
  }

  .hero h1 {
    font-size: clamp(3.4rem, 18vw, 5rem);
  }

  .hero-scroll {
    left: 20px;
    right: auto;
  }

  .section,
  .area-band,
  .estimate-form-wrap,
  .estimate-image {
    padding-inline: 20px;
  }

  .service-grid,
  .process-steps,
  .estimate-form {
    grid-template-columns: 1fr;
  }

  .service-media {
    min-height: 230px;
  }

  .process-steps article {
    min-height: 0;
  }

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