:root {
  --paper: #f7f4ed;
  --white: #ffffff;
  --ink: #17201b;
  --muted: #667069;
  --line: rgba(23, 32, 27, 0.14);
  --leaf: #1f6f56;
  --leaf-dark: #174c3e;
  --blue: #2f7ea7;
  --sky: #dceef4;
  --yellow: #f4c45d;
  --coral: #dc6f4f;
  --charcoal: #101716;
  --shadow: 0 28px 80px rgba(16, 23, 22, 0.16);
  --sans: "Manrope", Arial, sans-serif;
  --display: "Playfair Display", Georgia, serif;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

body.nav-open {
  overflow: hidden;
}

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

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

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  min-height: 78px;
  padding: 0 max(22px, calc((100vw - var(--max)) / 2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: var(--white);
  transition: background 220ms ease, color 220ms ease, box-shadow 220ms ease;
}

.site-header.is-scrolled,
body.nav-open .site-header,
.site-header.light-page {
  background: rgba(247, 244, 237, 0.94);
  color: var(--ink);
  box-shadow: 0 10px 34px rgba(16, 23, 22, 0.08);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  line-height: 1.08;
}

.brand-mark {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 2px solid currentColor;
  border-radius: 50%;
  font-family: var(--display);
  font-size: 18px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.nav-links a {
  padding: 8px 0;
  border-bottom: 2px solid transparent;
  text-shadow: 0 1px 16px rgba(16, 23, 22, 0.22);
}

.nav-links a:hover {
  border-color: currentColor;
}

.site-header.is-scrolled .nav-links a,
body.nav-open .nav-links a,
.site-header.light-page .nav-links a {
  text-shadow: none;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.phone-link {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  padding: 0 18px;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid currentColor;
  border-radius: 50%;
  background: transparent;
  color: inherit;
  place-items: center;
}

.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
  width: 18px;
  height: 2px;
  display: block;
  background: currentColor;
  content: "";
}

.menu-toggle span::before {
  transform: translateY(-7px);
}

.menu-toggle span::after {
  transform: translateY(5px);
}

.hero {
  position: relative;
  min-height: 94svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--white);
  background: var(--charcoal);
}

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

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

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(10, 18, 16, 0.82), rgba(10, 18, 16, 0.34) 55%, rgba(10, 18, 16, 0.14)),
    linear-gradient(0deg, rgba(10, 18, 16, 0.7), rgba(10, 18, 16, 0.05) 62%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(var(--max), calc(100% - 44px));
  margin: 0 auto;
  padding: 164px 0 164px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--yellow);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1;
}

h1,
h2 {
  font-family: var(--display);
}

h1 {
  max-width: 820px;
  font-size: clamp(58px, 9vw, 132px);
}

h2 {
  font-size: clamp(38px, 5.4vw, 78px);
}

h3 {
  font-size: 24px;
}

.hero-copy {
  max-width: 640px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(18px, 2vw, 22px);
}

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

.hero-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 22px;
  color: rgba(255, 255, 255, 0.88);
  font-weight: 800;
}

.hero-contact a {
  border-bottom: 1px solid rgba(255, 255, 255, 0.52);
}

.btn {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0 24px;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--yellow);
  color: var(--charcoal);
}

.btn-ghost {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.72);
}

.btn-dark {
  background: var(--charcoal);
  color: var(--white);
}

.hero-stats {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: 28px;
  width: min(var(--max), calc(100% - 44px));
  transform: translateX(-50%);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.28);
  overflow: hidden;
  border-radius: 8px;
  backdrop-filter: blur(16px);
}

.hero-stats div {
  padding: 18px 20px;
  background: rgba(16, 23, 22, 0.58);
}

.hero-stats strong,
.hero-stats span {
  display: block;
}

.hero-stats strong {
  font-size: 14px;
}

.hero-stats span {
  color: rgba(255, 255, 255, 0.74);
  font-size: 13px;
}

.section {
  width: min(var(--max), calc(100% - 44px));
  margin: 0 auto;
  padding: 112px 0;
}

.brand-showcase {
  padding: 92px max(22px, calc((100vw - var(--max)) / 2));
  display: grid;
  grid-template-columns: minmax(300px, 0.42fr) minmax(0, 0.58fr);
  gap: 44px;
  align-items: center;
  background: #0b0f0e;
  color: var(--white);
}

.brand-showcase h2 {
  color: var(--white);
  font-size: clamp(34px, 4.6vw, 68px);
}

.brand-showcase-image {
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid rgba(244, 196, 93, 0.34);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.32);
  background: #000;
}

.brand-showcase-image img {
  width: 100%;
  height: auto;
}

.intro,
.estimate {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.65fr);
  gap: 62px;
  align-items: start;
}

.intro-text p,
.estimate-copy p,
.work-copy p,
.process-grid p,
.service-card p,
.project-card p {
  color: var(--muted);
}

.intro-text a {
  color: var(--leaf-dark);
  font-weight: 800;
  border-bottom: 1px solid rgba(23, 76, 62, 0.28);
}

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

.section-heading.compact {
  max-width: 860px;
}

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

.service-card {
  min-height: 320px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 16px 44px rgba(16, 23, 22, 0.06);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(31, 111, 86, 0.4);
  box-shadow: 0 22px 54px rgba(16, 23, 22, 0.12);
}

.service-card span,
.process-grid span {
  color: var(--leaf);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.service-card.paint {
  border-top: 5px solid var(--coral);
}

.service-card.exterior {
  border-top: 5px solid var(--leaf);
}

.service-card.wash {
  border-top: 5px solid var(--blue);
}

.service-card.soft {
  border-top: 5px solid var(--yellow);
}

.projects {
  padding-top: 0;
}

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

.project-card {
  overflow: hidden;
  border-radius: 8px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 18px 48px rgba(16, 23, 22, 0.12);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.project-card:hover {
  transform: translateY(-4px);
  border-color: rgba(31, 111, 86, 0.42);
  box-shadow: 0 24px 62px rgba(16, 23, 22, 0.16);
}

.project-card img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  transition: transform 420ms ease;
}

.project-card:hover img {
  transform: scale(1.035);
}

.project-card div {
  min-height: 260px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px;
  background: var(--white);
}

.project-card span {
  margin-bottom: 14px;
  color: var(--leaf);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.project-card h3 {
  max-width: 280px;
  font-size: 24px;
  line-height: 1.1;
}

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

.project-card div::after {
  content: "View examples";
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  min-height: 36px;
  margin-top: 22px;
  border-radius: 999px;
  padding: 0 14px;
  background: var(--charcoal);
  color: var(--white);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.project-page-hero {
  width: min(var(--max), calc(100% - 44px));
  margin: 0 auto;
  padding: 154px 0 74px;
}

.project-page-hero h1 {
  max-width: 940px;
  color: var(--ink);
  font-size: clamp(48px, 7vw, 96px);
}

.project-page-hero p:not(.eyebrow) {
  max-width: 680px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 19px;
}

.gallery-page {
  width: min(var(--max), calc(100% - 44px));
  margin: 0 auto;
  padding: 0 0 96px;
  display: grid;
  gap: 52px;
}

.gallery-feature {
  display: grid;
  grid-template-columns: minmax(0, 0.58fr) minmax(320px, 0.42fr);
  gap: 36px;
  align-items: center;
}

.gallery-feature.reverse {
  grid-template-columns: minmax(320px, 0.42fr) minmax(0, 0.58fr);
}

.gallery-feature.reverse img {
  order: 2;
}

.gallery-feature img,
.gallery-grid img {
  width: 100%;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 18px 52px rgba(16, 23, 22, 0.1);
}

.gallery-feature img {
  min-height: 420px;
  height: 48vw;
  max-height: 560px;
}

.gallery-feature span {
  color: var(--leaf);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.gallery-feature h2 {
  margin-top: 14px;
  font-size: clamp(34px, 4.5vw, 62px);
}

.gallery-feature p {
  color: var(--muted);
  font-size: 18px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.gallery-grid.large,
.gallery-grid.color-gallery {
  grid-template-columns: repeat(3, 1fr);
}

.gallery-section-heading {
  max-width: 860px;
}

.gallery-section-heading span {
  color: var(--leaf);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.gallery-section-heading h2 {
  margin-top: 12px;
  font-size: clamp(34px, 4.6vw, 64px);
}

.gallery-grid figure {
  margin: 0;
}

.gallery-grid img {
  height: 360px;
}

.gallery-grid.large img,
.gallery-grid.color-gallery img {
  height: 290px;
}

.gallery-grid figcaption {
  margin-top: 12px;
  color: var(--muted);
  font-weight: 800;
}

.gallery-grid figcaption strong,
.gallery-grid figcaption span {
  display: block;
}

.gallery-grid figcaption strong {
  color: var(--ink);
}

.gallery-grid figcaption span {
  margin-top: 4px;
  color: var(--muted);
  font-weight: 600;
}

.page-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 72px max(22px, calc((100vw - var(--max)) / 2));
  background: var(--leaf-dark);
  color: var(--white);
}

.page-cta h2 {
  color: var(--white);
  max-width: 760px;
}

.work-band {
  display: grid;
  grid-template-columns: minmax(320px, 0.46fr) minmax(0, 0.54fr);
  gap: 58px;
  align-items: center;
  padding: 110px max(22px, calc((100vw - var(--max)) / 2));
  background: var(--charcoal);
  color: var(--white);
}

.work-band h2 {
  color: var(--white);
}

.work-copy p {
  max-width: 540px;
  color: rgba(255, 255, 255, 0.72);
}

.proof-list {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.proof-list span {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.86);
  font-weight: 800;
}

.proof-list span::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--yellow);
  box-shadow: 0 0 0 6px rgba(244, 196, 93, 0.12);
  flex: 0 0 auto;
}

.result-board {
  position: relative;
  min-height: 460px;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
  background: #0d1312;
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.result-board img {
  width: 100%;
  height: 100%;
  min-height: 460px;
  object-fit: cover;
}

.result-labels {
  position: absolute;
  inset: auto 22px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  pointer-events: none;
}

.result-labels span {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0 16px;
  background: rgba(16, 23, 22, 0.82);
  color: var(--white);
  font-weight: 800;
  box-shadow: 0 10px 24px rgba(16, 23, 22, 0.18);
}

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

.process-grid article {
  padding: 0 24px 0 0;
  border-right: 1px solid var(--line);
}

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

.cta-strip {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 32px;
  align-items: center;
  padding: 82px max(22px, calc((100vw - var(--max)) / 2));
  background: var(--leaf-dark);
  color: var(--white);
}

.cta-strip h2 {
  max-width: 880px;
  color: var(--white);
}

.estimate-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 16px 44px rgba(16, 23, 22, 0.07);
}

.contact-direct {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 24px 0 0;
}

.contact-direct a {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0 16px;
  background: var(--white);
  color: var(--leaf-dark);
  font-weight: 800;
  box-shadow: 0 12px 34px rgba(16, 23, 22, 0.06);
}

.estimate-form label {
  display: grid;
  gap: 8px;
  color: var(--charcoal);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.estimate-form .full,
.estimate-form button {
  grid-column: 1 / -1;
}

.estimate-form input,
.estimate-form textarea,
.estimate-form select {
  width: 100%;
  min-height: 50px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fbfbf8;
  color: var(--ink);
  padding: 12px 13px;
  outline: none;
}

.estimate-form textarea {
  resize: vertical;
}

.estimate-form input:focus,
.estimate-form textarea:focus,
.estimate-form select:focus {
  border-color: var(--leaf);
  background: var(--white);
}

.site-footer {
  padding: 34px max(22px, calc((100vw - var(--max)) / 2));
  display: flex;
  justify-content: space-between;
  gap: 24px;
  background: #0f1514;
  color: var(--white);
}

.site-footer div {
  display: grid;
  gap: 4px;
}

.site-footer span,
.site-footer a {
  color: rgba(255, 255, 255, 0.68);
}

[data-animate] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 700ms ease, transform 700ms ease;
}

[data-animate].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1040px) {
  .menu-toggle {
    display: grid;
  }

  .phone-link {
    display: none;
  }

  .nav-links {
    position: fixed;
    inset: 78px 0 0;
    display: grid;
    align-content: start;
    gap: 0;
    padding: 18px 22px 32px;
    background: #f7f4ed;
    color: var(--ink);
    transform: translateX(100%);
    transition: transform 220ms ease;
    box-shadow: inset 0 1px 0 var(--line), 0 20px 60px rgba(16, 23, 22, 0.16);
  }

  body.nav-open .nav-links {
    transform: translateX(0);
  }

  .nav-links a {
    min-height: 54px;
    display: flex;
    align-items: center;
    padding: 0 14px;
    border-bottom: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.72);
    color: var(--ink);
    font-size: 14px;
    border-radius: 6px;
    margin-bottom: 8px;
  }

  .nav-links a:hover {
    background: var(--charcoal);
    color: var(--white);
    border-color: var(--charcoal);
  }

  .intro,
  .estimate,
  .work-band,
  .cta-strip,
  .brand-showcase,
  .gallery-feature,
  .gallery-feature.reverse,
  .page-cta {
    grid-template-columns: 1fr;
  }

  .gallery-feature.reverse img {
    order: 0;
  }

  .page-cta {
    display: grid;
  }

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

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

  .process-grid article:nth-child(2) {
    border-right: 0;
  }

  .hero-stats {
    position: relative;
    left: auto;
    bottom: auto;
    transform: none;
    width: min(var(--max), calc(100% - 44px));
    margin: -118px auto 28px;
  }
}

@media (max-width: 680px) {
  .site-header {
    min-height: 72px;
  }

  .brand span:last-child {
    font-size: 13px;
  }

  .hero {
    min-height: 88svh;
  }

  .hero-content {
    width: min(100% - 32px, var(--max));
    padding: 132px 0 142px;
  }

  h1 {
    font-size: clamp(48px, 15vw, 68px);
  }

  h2 {
    font-size: clamp(34px, 11vw, 52px);
  }

  .hero-actions,
  .hero-actions .btn,
  .cta-strip .btn {
    width: 100%;
  }

  .hero-stats,
  .service-grid,
  .project-grid,
  .process-grid,
  .estimate-form,
  .result-board,
  .gallery-grid.large,
  .gallery-grid.color-gallery,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .hero-stats {
    margin-top: -108px;
    width: min(100% - 32px, var(--max));
  }

  .section {
    width: min(100% - 32px, var(--max));
    padding: 78px 0;
  }

  .service-card {
    min-height: 260px;
  }

  .work-band,
  .cta-strip {
    padding: 78px 16px;
  }

  .result-board {
    min-height: 520px;
  }

  .process-grid article,
  .process-grid article:nth-child(2) {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 0 0 22px;
  }

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

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

  .project-page-hero,
  .gallery-page {
    width: min(100% - 32px, var(--max));
  }

  .gallery-feature img,
  .gallery-grid img {
    min-height: 0;
    height: auto;
    aspect-ratio: 4 / 3;
  }
}
