:root {
  --green: #173b2d;
  --green-deep: #102c21;
  --green-mid: #244d3b;
  --cream: #f3f0e7;
  --paper: #fbfaf6;
  --ink: #202923;
  --muted: #5d685f;
  --line: #e4e6df;
  --gold: #b9a16b;
  --header: 88px;
  --font: "Figtree", "Segoe UI", "Helvetica Neue", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 16px/1.7 var(--font);
}

body.lightboxOpen { overflow: hidden; }

img { max-width: 100%; height: auto; }

a { color: inherit; }

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

.skip {
  position: absolute;
  left: 16px;
  top: -48px;
  background: var(--green);
  color: white;
  padding: 8px 12px;
  z-index: 20;
}

.skip:focus { top: 12px; }

header {
  min-height: var(--header);
  padding: 8px 6%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 5;
}

.logo { display: flex; align-items: center; }

.logo img {
  display: block;
  width: 72px;
  height: 72px;
  object-fit: contain;
}

nav {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 14px;
  font-weight: 650;
}

nav a { text-decoration: none; }

nav a:hover,
nav a[aria-current="page"] { color: #8d7340; }

.navbtn,
.btn {
  display: inline-block;
  background: var(--green);
  color: white;
  text-decoration: none;
  padding: 13px 18px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: 0;
  cursor: pointer;
}

.btn { background: var(--cream); color: var(--green); }

.darkbtn { background: var(--green); color: white; }

.btn:hover,
.navbtn:hover,
.darkbtn:hover { filter: brightness(1.08); }

#menu {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  background: white;
  padding: 0;
}

.menuIcon,
.menuIcon::before,
.menuIcon::after {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--green);
  position: relative;
  margin: 0 auto;
}

.menuIcon::before,
.menuIcon::after {
  content: "";
  position: absolute;
  left: 0;
}

.menuIcon::before { top: -6px; }
.menuIcon::after { top: 6px; }

.hero {
  min-height: 78vh;
  padding: 88px 8% 72px;
  display: flex;
  align-items: center;
  color: white;
  position: relative;
  background:
    linear-gradient(90deg, rgba(9, 35, 25, 0.92), rgba(13, 44, 31, 0.62) 58%, rgba(15, 39, 28, 0.18)),
    url("../assets/hero-church-climber.webp") center 42% / cover no-repeat;
}

.shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent, rgba(7, 26, 18, 0.28));
}

.heroText { position: relative; max-width: 760px; }

.brandMark {
  margin: 0 0 18px;
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #f4efe3;
  line-height: 1.1;
  animation: riseIn 700ms ease both;
}

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

.hero .eyebrow { color: #e7d7b0; }

.hero h1 { animation: riseIn 850ms ease both; animation-delay: 80ms; }
.hero p { animation: riseIn 900ms ease both; animation-delay: 140ms; }
.heroActions { animation: riseIn 950ms ease both; animation-delay: 200ms; }

@keyframes riseIn {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .brandMark,
  .hero h1,
  .hero p,
  .heroActions { animation: none; }
}

h1, h2, h3 { line-height: 1.15; }

.hero h1,
.subhero h1,
.legal h1 {
  margin: 0 0 18px;
  font-size: clamp(40px, 6vw, 76px);
  letter-spacing: -0.04em;
  font-weight: 700;
}

.hero h1 span,
.subhero h1 span,
.dark h2 span,
.feature h2 span,
.steps h2 span,
.legal h1 span {
  font-weight: 560;
}

.hero p { max-width: 640px; color: #e7eee8; }

.qualify { font-size: 15px; }

.heroActions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  margin-top: 26px;
}

.call {
  color: white;
  font-weight: 700;
  text-decoration: none;
}

.trust {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--green-deep);
  color: #e7eee8;
}

.trust p {
  margin: 0;
  padding: 18px 22px;
  border-right: 1px solid #345546;
  font-size: 14px;
  font-weight: 650;
}

.trust p:last-child { border-right: 0; }

.wrap { width: min(1120px, 100%); margin: 0 auto; }

.narrow { width: min(860px, 100%); }

.localVideo,
.dark,
.steps,
.band,
.details,
.contact,
.noteBand,
.serviceIntro {
  padding: 72px 6%;
}

.localVideo {
  background: var(--cream);
}

.localVideo h2,
.dark h2,
.feature h2,
.steps h2,
.band h2,
.details h2,
.noteBand h2,
.contact h2 {
  margin: 0 0 14px;
  color: var(--green);
  font-size: clamp(30px, 4vw, 46px);
}

.localVideo p,
.feature p,
.lede,
.details p,
.noteBand p,
.contact p,
.serviceIntro p { color: var(--muted); }

.videoFrame {
  background: var(--green-deep);
  padding: 16px;
  display: flex;
  justify-content: center;
  margin-top: 22px;
}

.videoFrame.phoneFrame {
  width: fit-content;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.videoFrame iframe {
  display: block;
  width: min(100vw - 48px, 320px);
  aspect-ratio: 9 / 16;
  max-height: min(72vh, 640px);
  border: 0;
  background: black;
}

.videoNote {
  text-align: center;
  margin-top: 12px;
}

.link {
  display: inline-block;
  margin-top: 16px;
  color: var(--green);
  font-size: 14px;
  font-weight: 700;
  text-underline-offset: 4px;
}

.dark { background: var(--green); color: white; }
.dark h2,
.dark .eyebrow { color: var(--cream); }
.dark .eyebrow { color: #e7d7b0; }

.cards,
.stepsGrid,
.tiles {
  display: grid;
  gap: 22px;
}

.cards,
.cardsFour { grid-template-columns: repeat(4, 1fr); margin-top: 28px; }
.cardsThree { grid-template-columns: repeat(3, 1fr); margin-top: 28px; }

.cards a {
  display: block;
  min-height: 220px;
  padding: 8px 18px 8px 0;
  border-top: 1px solid #6d8578;
  color: white;
  text-decoration: none;
}

.cards small {
  display: block;
  margin-bottom: 28px;
  color: #d5e0d6;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cards h3,
.stepsGrid h3,
.tiles h3 {
  margin: 10px 0;
  font-size: 22px;
}

.cards p,
.stepsGrid p,
.tiles p { color: #d5e0d6; font-size: 15px; }
.stepsGrid p,
.tiles p { color: var(--muted); }

.feature {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  background: var(--cream);
}

.featurePhoto {
  min-height: 520px;
  background: url("../assets/commercial-school-tree-work.webp") center 20% / cover no-repeat;
}

.feature > div { padding: 72px 8%; }

.feature ul,
.plainList { color: #3f5146; padding-left: 18px; }

.feature li,
.plainList li { margin: 8px 0; }

.band { background: white; }

.stepsGrid,
.tiles { grid-template-columns: repeat(4, 1fr); margin-top: 28px; }

.tiles { grid-template-columns: repeat(3, 1fr); }
.tilesFour { grid-template-columns: repeat(2, 1fr); }

.stepsGrid article,
.tiles article {
  border-top: 1px solid var(--line);
  padding-top: 16px;
}

.stepsGrid b,
.tiles b {
  color: var(--gold);
  font-size: 28px;
}

.cta {
  background: var(--gold);
  padding: 36px 6%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.cta .eyebrow { color: #3d4a34; }
.cta h2 { margin: 0; color: var(--green); font-size: clamp(26px, 3vw, 34px); }
.cta .btn { margin: 0; }

footer {
  background: var(--green-deep);
  color: #dbe2da;
  padding: 56px 6% 20px;
}

.footgrid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 36px;
  padding-bottom: 36px;
}

.footgrid p,
.footgrid a,
.footgrid span { color: #c5d2c8; font-size: 14px; }

.footgrid a { display: block; text-decoration: none; margin: 6px 0; }
.footgrid a:hover { color: white; }

.footgrid strong {
  display: block;
  margin-bottom: 8px;
  color: var(--gold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 12px;
}

.footgrid .logo img { width: 70px; height: 70px; background: white; border-radius: 50%; }

.bottom {
  border-top: 1px solid #3d5749;
  padding-top: 16px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: #9eafa2;
  font-size: 13px;
}

.bottom a { color: #d5e0d6; }

.subhero {
  background: var(--green);
  color: white;
  padding: 72px 6% 64px;
}

.subhero p { max-width: 680px; color: #d7e3d9; }

.serviceIntro,
.noteBand { background: var(--cream); }

.serviceIntro p,
.noteBand p { max-width: 980px; margin: 0 auto; }

.photoStrip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding: 28px 6% 8px;
}

.photoStrip figure,
.photoGallery figure { margin: 0; background: white; }

.photoStrip img,
.photoGallery img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  height: auto;
  max-height: 420px;
  object-fit: cover;
  object-position: var(--img-pos, center 30%);
  background: #e6e9e2;
}

.photoStrip figcaption,
.photoGallery figcaption {
  padding: 12px 14px;
  color: var(--green);
  font-size: 14px;
  font-weight: 700;
}

.photoStrip .stripCaption {
  display: grid;
  gap: 4px;
}

.photoStrip .stripTitle {
  display: block;
  color: var(--green);
  font-size: 14px;
  font-weight: 700;
}

.photoStrip .stripSub {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
}

.serviceRow {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 28px;
  width: min(1120px, 88%);
  margin: 0 auto;
  padding: 32px 0;
  border-bottom: 1px solid var(--line);
}

.serviceNo {
  margin: 8px 0 0;
  color: #9b824c;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.serviceRow h2 { margin: 0 0 8px; color: var(--green); font-size: 28px; }
.serviceRow p { margin: 0; color: var(--muted); }

.details { max-width: none; }
.details h2 { max-width: 760px; }
.pale { background: var(--cream); }

.sectionNav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 22px 6%;
  background: white;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: var(--header);
  z-index: 4;
}

.sectionNav a {
  text-decoration: none;
  border: 1px solid var(--line);
  padding: 8px 12px;
  font-size: 14px;
  font-weight: 650;
  color: var(--green);
  background: var(--paper);
}

.galleryBlock + .galleryBlock { padding-top: 10px; }

.photoGallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 22px;
}

.shot {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: #e6e9e2;
  cursor: zoom-in;
  overflow: hidden;
}

.shot img {
  transition: transform 420ms ease;
}

.shot:hover img,
.shot:focus-visible img {
  transform: scale(1.035);
}

@media (prefers-reduced-motion: reduce) {
  .shot img { transition: none; }
  .shot:hover img,
  .shot:focus-visible img { transform: none; }
}

.btn,
.navbtn,
.cards a,
.sectionNav a {
  transition: filter 180ms ease, background-color 180ms ease, color 180ms ease;
}

.contact {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: start;
}

.big {
  display: block;
  margin: 12px 0;
  color: var(--green);
  font-size: 22px;
  font-weight: 750;
  text-decoration: none;
}

.banner {
  display: block;
  width: min(100%, 520px);
  margin: 18px 0;
  border-radius: 12px;
}

.notice,
.formNote,
.formStatus {
  background: #eee9d9;
  border-left: 3px solid var(--gold);
  padding: 14px 16px;
  color: #3f5146;
  font-size: 14px;
}

form {
  background: var(--cream);
  padding: 28px;
  display: grid;
  gap: 14px;
}

form label {
  display: grid;
  gap: 6px;
  color: var(--green);
  font-size: 14px;
  font-weight: 700;
}

input, select, textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #d6dbd1;
  background: white;
  color: var(--ink);
}

.uploadLabel {
  padding: 14px;
  background: white;
  border: 1px dashed #9aa99b;
}

.uploadLabel input { padding: 8px 0; border: 0; }

.photoList { margin: 0; padding-left: 18px; color: var(--muted); font-size: 14px; }

.legal { max-width: 860px; margin: 0 auto; padding: 56px 6% 80px; }
.legal h2 { color: var(--green); margin-top: 32px; font-size: 24px; }
.legal p, .legal li { color: var(--muted); }
.legal a { color: var(--green); }

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(10, 24, 18, 0.92);
  z-index: 30;
  display: grid;
  place-items: center;
  padding: 24px;
}

.lightbox[hidden] { display: none; }

.lightbox figure { margin: 0; max-width: min(1000px, 100%); }

.lightbox img {
  display: block;
  max-height: 78vh;
  width: auto;
  max-width: 100%;
  margin: 0 auto;
}

.lightbox figcaption { color: white; text-align: center; padding-top: 10px; }

.lightboxClose {
  position: absolute;
  top: 16px;
  right: 16px;
  background: white;
  color: var(--green);
  border: 0;
  padding: 10px 14px;
  font-weight: 700;
  cursor: pointer;
}

.cookieNotice {
  position: sticky;
  bottom: 0;
  z-index: 6;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  padding: 14px 6%;
  background: var(--green-deep);
  color: #e7eee8;
}

.cookieNotice[hidden] { display: none; }
.cookieNotice p { margin: 0; font-size: 14px; }
.cookieNotice a { color: white; }
.cookieNotice button {
  background: var(--cream);
  color: var(--green);
  border: 0;
  padding: 8px 12px;
  font-weight: 700;
  cursor: pointer;
}

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
}

@media (max-width: 1100px) {
  .cards,
  .cardsFour,
  .cardsThree,
  .stepsGrid,
  .trust,
  .tilesFour { grid-template-columns: 1fr 1fr; }
  .tiles,
  .photoGallery,
  .photoStrip { grid-template-columns: 1fr 1fr; }
  .feature { grid-template-columns: 1fr; }
  .featurePhoto { min-height: 360px; }
  .contact { grid-template-columns: 1fr; }
  .trust p:nth-child(2) { border-right: 0; }
}

@media (max-width: 860px) {
  :root { --header: 76px; }
  .logo img,
  .footgrid .logo img { width: 60px; height: 60px; }
  #menu { display: grid; place-items: center; }
  nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: 12px 6% 20px;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
  }
  nav.open { display: flex; }
  nav a { padding: 12px 0; }
  .navbtn { text-align: center; }
  .sectionNav { top: var(--header); }
  .serviceRow { grid-template-columns: 1fr; gap: 6px; width: min(1120px, 88%); }
  .footgrid,
  .cta,
  .bottom,
  .cookieNotice { grid-template-columns: 1fr; display: grid; }
  .hero { min-height: 0; padding: 64px 7%; }
  .photoStrip img,
  .photoGallery img { height: 210px; }
}

@media (max-width: 640px) {
  .cards,
  .cardsFour,
  .cardsThree,
  .stepsGrid,
  .tiles,
  .tilesFour,
  .trust,
  .photoGallery,
  .photoStrip { grid-template-columns: 1fr; }
  .trust p { border-right: 0; border-bottom: 1px solid #345546; }
  .localVideo,
  .dark,
  .steps,
  .band,
  .details,
  .contact,
  .noteBand,
  .serviceIntro { padding: 48px 6%; }
  .photoStrip img,
  .photoGallery img { max-height: 360px; }
  .photoGallery img.hasMobilePos {
    object-position: var(--img-pos-mobile, var(--img-pos, center 30%));
  }
  .legal { padding: 40px 6% 64px; }
  .hero h1 { font-size: 40px; }
}
