:root {
  --green-950: #10241a;
  --green-900: #173524;
  --green-800: #214833;
  --green-600: #44624a;
  --tan-500: #c7a56b;
  --tan-200: #ead9bd;
  --cream: #f6f1e7;
  --paper: #fffaf0;
  --ink: #1b211b;
  --muted: #64685d;
  --line: rgba(33, 72, 51, .18);
  --shadow: 0 18px 50px rgba(16, 36, 26, .14);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: "Segoe UI", Roboto, Arial, sans-serif;
  line-height: 1.6;
}

a { color: inherit; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
  padding: 14px clamp(18px, 4vw, 52px);
  background: rgba(246, 241, 231, .94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.brand {
  display: flex;
  align-items: center;
  min-width: 175px;
  text-decoration: none;
}

.brand img {
  width: 165px;
  height: auto;
  max-height: 68px;
  object-fit: contain;
}

.brand strong {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.1;
}

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

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: flex-end;
}

.site-nav a {
  padding: 8px 10px;
  color: var(--green-900);
  border-radius: 6px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--paper);
  background: var(--green-800);
}

.header-contact {
  display: grid;
  flex: 0 0 auto;
  gap: 1px;
  text-align: right;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
}

.header-contact a {
  color: var(--green-800);
  text-decoration: none;
}

.header-contact a:hover,
.site-footer a:hover {
  text-decoration: underline;
}

main > section {
  padding: clamp(40px, 5vw, 64px) clamp(20px, 5vw, 70px);
}

.hero {
  min-height: 78vh;
  display: flex;
  align-items: center;
  background:
    linear-gradient(90deg, rgba(16,36,26,.88), rgba(16,36,26,.62) 42%, rgba(16,36,26,.18)),
    url("hero-arborist.png") center / cover no-repeat;
  color: var(--paper);
}

.hero-copy,
.page-hero,
.section-heading {
  max-width: 790px;
}

.hero h1,
.page-hero h1,
h2,
h3 {
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.05;
}

.hero h1 {
  max-width: 720px;
  margin: 0 0 22px;
  font-size: clamp(44px, 8vw, 88px);
}

.hero p {
  max-width: 660px;
  font-size: clamp(18px, 2vw, 22px);
}

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

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

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

.button.primary,
button {
  color: var(--green-950);
  background: var(--tan-500);
}

.button.secondary {
  color: var(--paper);
  border-color: rgba(255, 250, 240, .5);
}

.button.light {
  color: var(--paper);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: clamp(28px, 6vw, 76px);
  align-items: start;
}

h2 {
  margin: 0 0 18px;
  color: var(--green-950);
  font-size: clamp(30px, 4vw, 52px);
}

h3 {
  margin: 0 0 10px;
  color: var(--green-900);
  font-size: 24px;
}

.stack p:first-child,
.feature-list p:first-child {
  margin-top: 0;
}

.credential-strip {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(24px, 5vw, 60px);
  align-items: center;
  background: var(--paper);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.credential-strip h2 {
  max-width: 720px;
}

.credential-strip p:last-child {
  max-width: 690px;
}

.badge-row,
.contact-badges {
  display: flex;
  gap: 16px;
  align-items: center;
}

.badge-row img {
  width: auto;
  max-width: 124px;
  max-height: 156px;
  object-fit: contain;
  filter: drop-shadow(0 12px 18px rgba(16, 36, 26, .16));
}

.band {
  display: flex;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
  color: var(--paper);
  background: var(--green-900);
}

.band h2,
.band p {
  color: var(--paper);
}

.card-grid {
  display: grid;
  gap: 18px;
}

.card-grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card,
.project-card,
.contact-card,
.service-list article,
.blog-list article,
.gallery-grid article {
  padding: 24px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.card a,
.service-list a {
  color: var(--green-800);
  font-weight: 800;
}

.contact-badges {
  flex-wrap: wrap;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.contact-badges img {
  width: auto;
  max-width: 96px;
  max-height: 118px;
  object-fit: contain;
}

.project-card span {
  color: var(--tan-500);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.pill-list,
.simple-list,
.check-list {
  padding: 0;
  list-style: none;
}

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pill-list li {
  padding: 9px 12px;
  color: var(--green-950);
  background: var(--tan-200);
  border: 1px solid rgba(199, 165, 107, .42);
  border-radius: 999px;
  font-weight: 700;
}

.simple-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 36px;
  max-width: 920px;
  border-top: 1px solid var(--line);
}

.simple-list li {
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  color: var(--green-950);
  font-weight: 700;
}

.check-list li {
  padding: 12px 0 12px 34px;
  border-bottom: 1px solid var(--line);
  position: relative;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 18px;
  width: 12px;
  height: 12px;
  background: var(--tan-500);
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(199, 165, 107, .18);
}

.page-hero {
  min-height: 0;
  display: grid;
  align-content: end;
  padding-top: clamp(64px, 8vw, 96px);
  padding-bottom: clamp(38px, 5vw, 58px);
}

.page-hero h1 {
  margin: 0 0 18px;
  color: var(--green-950);
  font-size: clamp(40px, 6vw, 72px);
}

.page-hero p:last-child {
  margin-bottom: 0;
  font-size: 20px;
}

.article-page {
  max-width: 860px;
  margin: 0 auto;
  padding: clamp(52px, 7vw, 90px) clamp(20px, 5vw, 70px);
}

.article-hero {
  margin-bottom: 30px;
}

.article-hero h1 {
  margin: 0;
  color: var(--green-950);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(38px, 5vw, 62px);
  line-height: 1.08;
}

.article-page h2 {
  margin-top: 36px;
  font-size: clamp(28px, 3vw, 40px);
}

.article-page p,
.article-page li {
  font-size: 18px;
}

.article-page ul {
  padding-left: 24px;
}

.article-figure {
  max-width: 430px;
  margin: 30px auto 38px;
  padding: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  box-shadow: var(--shadow);
  text-align: center;
}

.article-figure img {
  display: block;
  width: 100%;
  height: auto;
}

.article-figure.wide {
  max-width: 760px;
}

.article-figure figcaption {
  margin-top: 12px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.page-hero + .split,
.split + .split {
  padding-top: 28px;
}

.assessment-list {
  padding-top: 12px;
}

.assessment-credit {
  max-width: calc(100% - clamp(40px, 10vw, 140px));
  margin: 0 auto;
  padding: 22px 26px;
  color: var(--green-950);
  background: var(--tan-200);
  border-left: 6px solid var(--tan-500);
  border-radius: 6px;
}

.assessment-credit strong {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(22px, 3vw, 30px);
}

.assessment-credit p {
  margin: 5px 0 0;
}

.assessment-option {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(28px, 6vw, 76px);
  padding: clamp(34px, 5vw, 54px) 0;
  border-top: 1px solid var(--line);
}

.assessment-option:first-child {
  border-top: 0;
}

.assessment-option h2 {
  font-size: clamp(30px, 4vw, 46px);
}

.assessment-option h3 {
  margin-top: 8px;
  font-size: 20px;
}

.service-price {
  margin: -6px 0 18px;
  color: var(--green-800);
  font-size: 22px;
  font-weight: 800;
}

.stack p {
  margin: 0 0 14px;
}

.stack p:last-child,
.feature-list p:last-child {
  margin-bottom: 0;
}

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

.service-list article,
.blog-list article {
  box-shadow: none;
}

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

.photo-slot {
  min-height: 250px;
  margin: -24px -24px 22px;
  background:
    linear-gradient(135deg, rgba(16,36,26,.82), rgba(199,165,107,.25)),
    url("hero-arborist.png") center / cover no-repeat;
}

.slot-two { background-position: 72% center; }
.slot-three { background-position: 36% center; }
.slot-four { background-position: 52% bottom; }

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: 22px;
  align-items: start;
}

.estimate-form {
  display: grid;
  gap: 14px;
  padding: 24px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.hidden-field {
  display: none;
}

label {
  display: grid;
  gap: 6px;
  color: var(--green-950);
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  padding: 12px 13px;
  color: var(--ink);
  background: #fff;
  border: 1px solid rgba(33, 72, 51, .28);
  border-radius: 6px;
  font: inherit;
}

textarea {
  resize: vertical;
}

.site-footer {
  padding: 34px clamp(20px, 5vw, 70px);
  color: var(--paper);
  background: var(--green-950);
}

.site-footer p {
  margin: 5px 0;
}

.site-footer a {
  color: var(--paper);
}

@media (max-width: 920px) {
  .site-header {
    position: static;
    display: block;
  }

  .site-nav {
    justify-content: flex-start;
    margin-top: 12px;
  }

  .header-contact {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 18px;
    margin-top: 12px;
    text-align: left;
  }

  .split,
  .card-grid.three,
  .service-list,
  .blog-list,
  .gallery-grid,
  .credential-strip,
  .simple-list,
  .assessment-option,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .band {
    display: block;
  }

  .band .button {
    margin-top: 18px;
  }
}

@media (max-width: 560px) {
  .hero {
    min-height: 72vh;
    background-position: 58% center;
  }

  .brand {
    min-width: 0;
  }

  .brand img {
    width: 132px;
    max-height: 58px;
  }

  .badge-row img {
    max-width: 96px;
    max-height: 120px;
  }

  .site-nav a {
    padding: 7px 8px;
    font-size: 13px;
  }

  main > section {
    padding-left: 16px;
    padding-right: 16px;
  }
}
