:root {
  --ink: #19221f;
  --muted: #626b66;
  --paper: #f8f5ef;
  --white: #ffffff;
  --soft: #ebe4da;
  --line: #ded6ca;
  --forest: #18352e;
  --forest-2: #25483e;
  --accent: #bf7448;
  --accent-soft: #f1ded0;
  --shadow: 0 28px 80px rgba(25, 34, 31, .16);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
}

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

a { color: inherit; }

.topbar {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 9px clamp(18px, 4vw, 58px);
  background: var(--forest);
  color: rgba(255, 255, 255, .86);
  font-size: .9rem;
}

.topbar a {
  color: #fff;
  font-weight: 800;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 58px);
  background: rgba(248, 245, 239, .92);
  border-bottom: 1px solid rgba(222, 214, 202, .86);
  backdrop-filter: blur(18px);
}

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

.brand img {
  width: 42px;
  height: 42px;
}

.brand > span {
  font-size: 1.18rem;
}

.brand span span { color: var(--accent); }

nav {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  font-size: .94rem;
}

nav a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 700;
}

nav a:hover { color: var(--ink); }

.nav-cta {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  padding: 0 15px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--forest);
}

.hero {
  position: relative;
  min-height: calc(100vh - 100px);
  display: grid;
  align-items: start;
  padding: clamp(30px, 5vw, 58px) clamp(18px, 4vw, 58px);
  overflow: hidden;
  background: var(--forest);
  color: #fff;
}

.hero-media {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 72% 50%, rgba(37, 72, 62, .58), transparent 34%),
    #0d1815;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(13, 24, 21, .86) 0%, rgba(13, 24, 21, .56) 42%, rgba(13, 24, 21, .24) 100%),
    linear-gradient(0deg, rgba(13, 24, 21, .62) 0%, rgba(13, 24, 21, 0) 45%);
}

.hero-media video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: right center;
}

.hero-video-mobile { display: none; }

@media (max-width: 700px) {
  .hero-video-desktop { display: none; }
  .hero-video-mobile { display: block; }
}

.hero-panel {
  position: relative;
  z-index: 1;
  max-width: 760px;
  padding-top: 52px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: .76rem;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.hero .eyebrow { color: #f0ad7e; }

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.06;
  letter-spacing: 0;
}

h1 {
  max-width: 820px;
  font-size: clamp(2.25rem, 4.2vw, 3.65rem);
}

h2 {
  max-width: 880px;
  font-size: clamp(2rem, 4vw, 3.65rem);
}

h3 { font-size: 1.2rem; }

.lead {
  max-width: 690px;
  margin: 16px 0 0;
  color: rgba(255, 255, 255, .84);
  font-size: clamp(1.04rem, 1.7vw, 1.28rem);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 19px;
  border: 1px solid var(--forest);
  border-radius: 8px;
  background: var(--forest);
  color: #fff;
  font-weight: 850;
  text-decoration: none;
}

.button.secondary {
  border-color: rgba(255, 255, 255, .42);
  background: rgba(255, 255, 255, .12);
  color: #fff;
}

.estimate .button { margin-top: 10px; }

.hero-note {
  max-width: 560px;
  margin: 12px 0 0;
  color: rgba(255, 255, 255, .72);
  font-size: .98rem;
}

.hero-facts {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  width: min(100%, 980px);
  margin-top: clamp(18px, 3vw, 30px);
}

.hero-facts div {
  min-height: 92px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, .24);
  border-radius: 8px;
  background: rgba(15, 28, 24, .62);
  backdrop-filter: blur(12px);
}

.hero-facts strong {
  display: block;
  margin-bottom: 8px;
  color: #f0ad7e;
  font-size: .9rem;
}

.hero-facts span {
  display: block;
  color: #fff;
  font-weight: 900;
}

.hero-facts p {
  margin: 5px 0 0;
  color: rgba(255, 255, 255, .72);
  font-size: .86rem;
  line-height: 1.32;
}

.section {
  padding: clamp(54px, 7vw, 96px) clamp(18px, 4vw, 58px);
  border-top: 1px solid var(--line);
}

.section-title {
  max-width: 900px;
  margin-bottom: 30px;
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1fr);
  gap: clamp(28px, 6vw, 84px);
  background: var(--white);
}

.intro > p {
  margin: 0;
  color: var(--muted);
  font-size: 1.16rem;
}

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

.service-grid article,
details,
address {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.service-grid article {
  min-height: 230px;
  padding: 24px;
}

.service-grid span {
  display: inline-flex;
  margin-bottom: 42px;
  color: var(--accent);
  font-weight: 900;
}

.service-grid p,
.estimate-copy p,
.note,
details p,
.contact p {
  color: var(--muted);
}

.estimate {
  background: var(--forest);
  color: #fff;
}

.estimate .eyebrow { color: #f0ad7e; }

.estimate-grid {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(320px, 1fr);
  gap: clamp(20px, 4vw, 58px);
  align-items: start;
}

.estimate-copy p {
  margin-top: 0;
  color: rgba(255, 255, 255, .8);
  font-size: 1.1rem;
}

.check-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border: 1px solid rgba(255, 255, 255, .2);
  background: rgba(255, 255, 255, .08);
}

.check-list li {
  position: relative;
  min-height: 62px;
  padding: 18px 20px 18px 54px;
  border-top: 1px solid rgba(255, 255, 255, .16);
  color: rgba(255, 255, 255, .84);
}

.check-list li:first-child { border-top: 0; }

.check-list li::before {
  content: "";
  position: absolute;
  left: 22px;
  top: 24px;
  width: 12px;
  height: 7px;
  border-left: 2px solid #f0ad7e;
  border-bottom: 2px solid #f0ad7e;
  transform: rotate(-45deg);
}

.proof-strip {
  background: var(--white);
}

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

.proof-grid div {
  min-height: 180px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

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

.proof-grid strong {
  color: var(--forest);
  font-size: 1.05rem;
}

.proof-grid span {
  margin-top: 14px;
  color: var(--muted);
}

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

.project-card {
  position: relative;
  min-height: 360px;
  overflow: hidden;
  border-radius: 8px;
  background: var(--soft);
  box-shadow: 0 18px 48px rgba(25, 34, 31, .12);
}

.project-card.large {
  grid-column: span 2;
}

.project-card img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
}

.project-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(9, 20, 17, .78) 0%, rgba(9, 20, 17, .08) 58%);
}

.project-card div {
  position: absolute;
  inset: auto 0 0;
  z-index: 1;
  padding: 22px;
  color: #fff;
}

.project-card p {
  margin: 0 0 8px;
  color: #f0ad7e;
  font-size: .78rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .1em;
}

.note {
  max-width: 760px;
  margin: 20px 0 0;
}

.process {
  background: var(--white);
}

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

.process li {
  counter-increment: steps;
  min-height: 230px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  color: var(--muted);
}

.process li::before {
  content: counter(steps);
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin-bottom: 24px;
  border-radius: 8px;
  background: var(--forest);
  color: #fff;
  font-weight: 900;
}

.process strong { color: var(--ink); }

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

details {
  padding: 22px;
}

summary {
  cursor: pointer;
  color: var(--forest);
  font-weight: 900;
}

details p { margin-bottom: 0; }

.contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: clamp(22px, 4vw, 48px);
  align-items: center;
  background: var(--accent-soft);
}

.contact p {
  max-width: 720px;
  font-size: 1.12rem;
}

address {
  display: grid;
  gap: 8px;
  padding: 28px;
  font-style: normal;
  box-shadow: var(--shadow);
}

address a {
  color: var(--forest);
  font-size: 1.8rem;
  font-weight: 950;
  text-decoration: none;
}

address .email-link {
  overflow-wrap: anywhere;
  font-size: 1rem;
  font-weight: 850;
}

address span { color: var(--muted); }

.contact-form {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.contact-form label {
  display: grid;
  gap: 7px;
  color: var(--forest);
  font-size: .86rem;
  font-weight: 900;
}

.contact-form label:last-of-type {
  grid-column: 1 / -1;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 13px;
  color: var(--ink);
  background: var(--paper);
  font: inherit;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 3px solid rgba(191, 116, 72, .24);
  border-color: var(--accent);
}

.contact-form .button {
  width: fit-content;
  border: 0;
  cursor: pointer;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 26px clamp(18px, 4vw, 58px);
  color: var(--muted);
  background: var(--paper);
}

@media (max-width: 980px) {
  .hero-facts,
  .intro,
  .estimate-grid,
  .contact-form,
  .contact {
    grid-template-columns: 1fr;
  }

  .contact-form label:last-of-type {
    grid-column: auto;
  }

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

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

@media (max-width: 680px) {
  footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .topbar {
    padding: 7px 16px;
    font-size: .76rem;
  }

  .topbar span {
    text-align: right;
  }

  .site-header {
    position: relative;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 11px 16px 13px;
  }

  .brand img {
    width: 32px;
    height: 32px;
  }

  .brand > span {
    font-size: 1rem;
  }

  nav {
    width: 100%;
    display: flex;
    gap: 6px;
    overflow-x: auto;
    padding-bottom: 2px;
    font-size: .75rem;
    scrollbar-width: none;
  }

  nav::-webkit-scrollbar { display: none; }

  nav a,
  .nav-cta {
    flex: 0 0 auto;
    min-height: 32px;
    justify-content: center;
    padding: 0 9px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(255, 255, 255, .56);
    text-align: center;
  }

  .hero {
    display: block;
    min-height: auto;
    padding: 0;
    background: var(--forest);
    color: #fff;
  }

  .hero-media {
    position: relative;
    height: clamp(430px, 70vh, 620px);
    min-height: 0;
    overflow: hidden;
    background: #0d1815;
  }

  .hero-media::after {
    background:
      linear-gradient(180deg, rgba(13, 24, 21, .1) 0%, rgba(13, 24, 21, 0) 30%),
      linear-gradient(0deg, rgba(13, 24, 21, .32) 0%, rgba(13, 24, 21, 0) 34%);
  }

  .hero-media video {
    object-position: center center;
  }

  .hero-panel {
    padding: 24px 18px 22px;
    margin-top: 0;
    max-width: none;
    background: var(--forest);
    text-shadow: none;
  }

  .hero .eyebrow {
    margin-bottom: 8px;
    font-size: .68rem;
  }

  h1 {
    font-size: 1.92rem;
  }

  .lead {
    margin-top: 12px;
    font-size: 1.02rem;
    line-height: 1.46;
  }

  .actions,
  .button {
    width: 100%;
  }

  .actions {
    gap: 10px;
    margin-top: 18px;
  }

  .hero-note {
    color: rgba(255, 255, 255, .78);
    font-size: .9rem;
  }

  .hero-facts {
    padding: 0 18px 28px;
    margin-top: 0;
    background: var(--forest);
  }

  .service-grid,
  .proof-grid,
  .process ol,
  .faq-grid,
  .project-grid {
    grid-template-columns: 1fr;
  }

  .project-card.large {
    grid-column: auto;
  }

  .hero-facts div,
  .project-card,
  .project-card img,
  .process li,
  .service-grid article {
    min-height: auto;
  }

  .project-card img {
    height: 380px;
  }

  address a {
    font-size: 1.45rem;
  }
}
