:root {
  color-scheme: light;
  --ink: #1b211f;
  --soft-ink: #34403a;
  --paper: #f6f4ec;
  --white: #fffdf7;
  --mist: #e9ebe2;
  --line: rgba(27, 33, 31, 0.16);
  --green: #3e604c;
  --sage: #7c9675;
  --blue: #496f86;
  --ochre: #b9783b;
  --brick: #9e554a;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

a {
  color: inherit;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 22px;
  padding: 16px clamp(18px, 5vw, 64px);
  border-bottom: 1px solid var(--line);
  background: rgba(246, 244, 236, 0.9);
  backdrop-filter: blur(14px);
}

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

.brand span {
  width: 12px;
  height: 12px;
  background: var(--green);
  box-shadow: 0 0 0 5px rgba(62, 96, 76, 0.14);
}

.brand strong {
  overflow: hidden;
  font-size: 16px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nav {
  display: flex;
  gap: 18px;
}

.nav a,
.nav-cta,
.footer a {
  color: var(--soft-ink);
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}

.nav a:hover,
.nav a:focus-visible,
.nav-cta:hover,
.nav-cta:focus-visible,
.footer a:hover,
.footer a:focus-visible {
  color: var(--green);
  outline: none;
}

.nav-cta {
  border: 1px solid var(--line);
  background: var(--white);
  padding: 10px 12px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(340px, 0.72fr);
  gap: clamp(30px, 6vw, 84px);
  align-items: center;
  min-height: calc(100vh - 70px);
  padding: clamp(54px, 8vw, 96px) clamp(18px, 5vw, 64px) 42px;
}

.hero-copy {
  max-width: 820px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--ochre);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

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

h1 {
  max-width: 840px;
  margin-bottom: 22px;
  font-size: clamp(46px, 7vw, 88px);
  line-height: 0.96;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(34px, 5vw, 64px);
  line-height: 1;
}

h3 {
  margin-bottom: 10px;
  font-size: 25px;
  line-height: 1.08;
}

.lead,
.section-copy,
.section-head p,
.estimate-copy p {
  color: var(--soft-ink);
  font-size: 19px;
  line-height: 1.55;
}

.lead {
  max-width: 680px;
  margin-bottom: 28px;
}

.hero-actions,
.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border: 1px solid var(--green);
  background: var(--green);
  color: var(--white);
  padding: 13px 18px;
  font: inherit;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
}

.button.secondary {
  border-color: var(--line);
  background: var(--white);
  color: var(--ink);
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
  outline: 2px solid rgba(62, 96, 76, 0.2);
}

.trust-strip {
  margin-top: 24px;
}

.trust-strip span {
  border: 1px solid var(--line);
  background: rgba(255, 253, 247, 0.72);
  color: var(--soft-ink);
  padding: 9px 11px;
  font-size: 13px;
  font-weight: 850;
}

.hero-visual {
  margin: 0;
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: 0 24px 80px rgba(27, 33, 31, 0.13);
}

.hero-visual img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.hero-visual figcaption {
  border-top: 1px solid var(--line);
  color: var(--soft-ink);
  padding: 12px 14px;
  font-size: 13px;
  font-weight: 850;
}

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

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

.paint-band {
  background: var(--ink);
  color: var(--white);
}

.paint-band .section-head p,
.paint-band .paint-grid p {
  color: #d9ded4;
}

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

.paint-grid article {
  min-height: 260px;
  border: 1px solid rgba(255, 253, 247, 0.16);
  background: rgba(255, 253, 247, 0.06);
  padding: 20px;
}

.paint-grid span {
  display: block;
  margin-bottom: 52px;
  color: var(--ochre);
  font-size: 14px;
  font-weight: 900;
}

.paint-grid h3 {
  color: var(--white);
}

.paint-grid p,
.service-list span,
.process-grid p,
.gallery-ready p,
.footer span {
  margin-bottom: 0;
  line-height: 1.55;
}

.split,
.gallery-ready,
.estimate-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.46fr) minmax(0, 0.74fr);
  gap: clamp(24px, 5vw, 68px);
  align-items: start;
}

.service-list {
  display: grid;
  gap: 12px;
}

.service-list article,
.process-grid article,
.photo-slots span {
  border: 1px solid var(--line);
  background: var(--white);
  padding: 18px;
}

.service-list strong,
.process-grid strong {
  display: block;
  margin-bottom: 6px;
  color: var(--green);
  font-size: 14px;
  text-transform: uppercase;
}

.service-list span,
.process-grid p {
  color: var(--soft-ink);
}

.proof-section {
  background: var(--mist);
}

.process-grid b {
  display: block;
  margin-bottom: 38px;
  color: var(--blue);
  font-size: 52px;
  line-height: 0.9;
}

.gallery-ready {
  background: var(--paper);
}

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

.photo-slots span {
  display: grid;
  align-content: end;
  min-height: 170px;
  color: var(--white);
  font-size: 18px;
  font-weight: 900;
  background:
    linear-gradient(135deg, rgba(27, 33, 31, 0.38), rgba(27, 33, 31, 0.72)),
    linear-gradient(135deg, var(--green), var(--blue));
}

.photo-slots span:nth-child(2) {
  background:
    linear-gradient(135deg, rgba(27, 33, 31, 0.35), rgba(27, 33, 31, 0.7)),
    linear-gradient(135deg, var(--ochre), var(--green));
}

.photo-slots span:nth-child(3) {
  background:
    linear-gradient(135deg, rgba(27, 33, 31, 0.35), rgba(27, 33, 31, 0.7)),
    linear-gradient(135deg, var(--brick), var(--blue));
}

.estimate-section {
  padding: 72px clamp(18px, 5vw, 64px);
  background: var(--ink);
  color: var(--white);
}

.estimate-copy {
  position: sticky;
  top: 100px;
}

.estimate-copy p,
.estimate-copy li,
.form-note {
  color: #d9ded4;
}

.estimate-copy ul {
  margin: 24px 0 0;
  padding-left: 20px;
}

.estimate-copy li + li {
  margin-top: 8px;
}

.estimate-form {
  display: grid;
  gap: 16px;
  border: 1px solid rgba(255, 253, 247, 0.16);
  background: rgba(255, 253, 247, 0.06);
  padding: clamp(18px, 4vw, 28px);
}

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

.form-grid.tight {
  align-items: end;
}

label {
  display: grid;
  gap: 8px;
}

label span {
  color: var(--white);
  font-size: 13px;
  font-weight: 850;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid rgba(255, 253, 247, 0.18);
  background: rgba(255, 253, 247, 0.96);
  color: var(--ink);
  padding: 12px 13px;
  font: inherit;
  line-height: 1.45;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--ochre);
  outline: 2px solid rgba(185, 120, 59, 0.24);
}

.hidden {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-note {
  margin: 0;
  font-size: 13px;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 24px clamp(18px, 5vw, 64px);
  background: #101513;
  color: var(--white);
}

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

.footer strong {
  display: block;
}

.thanks-page {
  display: grid;
  place-items: center;
  min-height: 100vh;
  padding: 24px;
}

.thanks-card {
  width: min(720px, 100%);
  border: 1px solid var(--line);
  background: var(--white);
  padding: clamp(24px, 6vw, 56px);
  box-shadow: 0 24px 80px rgba(27, 33, 31, 0.14);
}

.thanks-card h1 {
  font-size: clamp(42px, 7vw, 78px);
}

@media (max-width: 900px) {
  .topbar,
  .hero,
  .split,
  .gallery-ready,
  .estimate-section {
    grid-template-columns: 1fr;
  }

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

  .nav {
    grid-column: 1 / -1;
    flex-wrap: wrap;
    order: 3;
  }

  .hero {
    min-height: auto;
  }

  .hero-visual img {
    aspect-ratio: 16 / 10;
  }

  .paint-grid,
  .process-grid {
    grid-template-columns: 1fr;
  }

  .estimate-copy {
    position: static;
  }
}

@media (max-width: 560px) {
  h1 {
    font-size: 42px;
  }

  h2 {
    font-size: 34px;
  }

  .nav-cta {
    display: none;
  }

  .hero-actions,
  .footer {
    align-items: stretch;
    flex-direction: column;
  }

  .form-grid,
  .photo-slots {
    grid-template-columns: 1fr;
  }
}
