:root {
  --green-900: #1d3a22;
  --green-800: #234c2b;
  --green-700: #2e6b3a;
  --green-600: #2f7d3c;
  --green-100: #e6f0e7;
  --sand: #f6f4ee;
  --sand-deep: #efece3;
  --brown: #7a5c3e;
  --ink: #22201d;
  --muted: #5c5850;
  --line: #ddd8cc;
  --white: #fff;
  --max: 1080px;
  --shadow-sm: 0 1px 2px rgba(29, 34, 27, 0.06), 0 2px 8px rgba(29, 34, 27, 0.05);
  --shadow-md: 0 4px 12px rgba(29, 34, 27, 0.08), 0 12px 28px rgba(29, 34, 27, 0.07);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-family: Georgia, "Times New Roman", serif; line-height: 1.18; margin: 0 0 0.5em; letter-spacing: -0.01em; }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.5rem, 3.4vw, 2.1rem); }
h3 { font-size: 1.13rem; }
p { margin: 0 0 1em; }

a { color: var(--green-700); }

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

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--green-900); color: var(--white);
  padding: 12px 18px; border-radius: 0 0 6px 6px;
  font-weight: 700; text-decoration: none;
  transition: top 0.15s;
}
.skip-link:focus { top: 0; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.section { padding: 72px 0; scroll-margin-top: 86px; }
/* On the sand background the accent needs to be darker to clear 4.5:1. */
.section.alt .eyebrow { color: #26682f; }

.section.alt { background: var(--sand); }
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--green-600);
  margin-bottom: 10px;
}
.lede { font-size: 1.08rem; color: var(--muted); max-width: 62ch; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding-top: 12px; padding-bottom: 12px;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand svg { flex: 0 0 auto; }
.brand-name { font-family: Georgia, serif; font-size: 1.15rem; font-weight: 700; line-height: 1.1; }
.brand-sub { display: block; font-family: "Segoe UI", sans-serif; font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); font-weight: 600; }

nav { display: flex; align-items: center; gap: 18px; }
nav a {
  position: relative;
  text-decoration: none; color: var(--ink); font-size: 0.95rem; font-weight: 600;
  padding: 4px 0;
}
nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 2px;
  background: var(--green-600); transition: right 0.18s ease;
}
nav a:not(.btn):hover { color: var(--green-700); }
nav a:not(.btn):hover::after, nav a:not(.btn):focus-visible::after { right: 0; }

.btn {
  display: inline-block; padding: 13px 24px; border-radius: 6px;
  text-decoration: none; font-weight: 700; border: 2px solid transparent;
  text-align: center; cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s, transform 0.12s, box-shadow 0.15s;
}
.btn-primary { background: var(--green-700); color: var(--white); box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--green-900); box-shadow: var(--shadow-md); transform: translateY(-1px); }
.btn-primary:active { transform: translateY(0); }
.btn-outline { border-color: var(--green-700); color: var(--green-700); background: var(--white); }
.btn-outline:hover { background: var(--green-100); border-color: var(--green-900); }
.btn-block { display: block; width: 100%; text-align: center; }

.nav-toggle {
  display: none; background: none; border: 1px solid var(--line);
  border-radius: 6px; padding: 0; font-size: 1.1rem; cursor: pointer;
  width: 46px; height: 46px; line-height: 1; color: var(--ink);
}
.nav-toggle:hover { border-color: var(--green-600); }

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--white); border-bottom: 1px solid var(--line);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.14);
    flex-direction: column; align-items: stretch; padding: 6px 20px 12px; gap: 0;
  }
  nav.open { display: flex; }
  nav a:not(.btn) { padding: 11px 0; border-bottom: 1px solid var(--line); }
  nav a:not(.btn):last-of-type { border-bottom: 0; }
  nav a:not(.btn)::after { display: none; }
  .header-phone .btn { margin-top: 10px; padding: 12px 16px; font-size: 0.95rem; }
}

/* Hero */
.hero { background: linear-gradient(160deg, var(--green-900), var(--green-700)); color: var(--white); padding: 66px 0 56px; }
.hero-inner { display: grid; gap: 44px; grid-template-columns: 1.2fr 0.8fr; align-items: center; }
@media (max-width: 900px) { .hero-inner { grid-template-columns: 1fr; gap: 32px; } }

.hero-media { margin: 0; position: relative; }
.hero-media img {
  display: block; width: 100%; height: auto; max-height: 520px; object-fit: cover;
  border-radius: 12px; border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 26px 50px rgba(0, 0, 0, 0.38);
}
.hero-media figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 30px 16px 12px;
  font-size: 0.82rem; color: #eaf4ec;
  background: linear-gradient(to top, rgba(14, 32, 18, 0.85), rgba(14, 32, 18, 0));
  border-radius: 0 0 11px 11px;
}
@media (max-width: 900px) { .hero-media img { max-height: 400px; } }

.hero h1 { color: var(--white); margin-bottom: 16px; }
.hero .eyebrow { color: #bfe0c4; }
.hero p { color: #e3efe5; font-size: 1.12rem; max-width: 58ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.hero .btn-primary { background: var(--white); color: var(--green-900); }
.hero .btn-primary:hover { background: var(--green-100); }
.hero .btn-outline { border-color: rgba(255, 255, 255, 0.85); color: var(--white); background: transparent; }
.hero .btn-outline:hover { background: rgba(255, 255, 255, 0.14); border-color: var(--white); color: var(--white); }

.hero-assurances {
  list-style: none; display: flex; flex-wrap: wrap; gap: 10px 26px;
  margin: 24px 0 0; padding: 0; font-size: 0.92rem; color: #d6e8db;
}
.hero-assurances li { display: flex; align-items: center; gap: 8px; }
.hero-assurances li::before {
  content: "✓"; display: inline-grid; place-items: center;
  width: 18px; height: 18px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.16); color: var(--white);
  font-size: 0.7rem; font-weight: 700; flex: 0 0 auto;
}

.facts {
  display: grid; gap: 14px; margin: 44px 0 0; padding: 0;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
}
.fact {
  list-style: none;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px; padding: 15px 17px;
}
.fact strong { display: block; font-size: 1rem; }
.fact span { font-size: 0.85rem; color: #cfe4d4; }

/* Cards */
.grid { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.services-grid { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 960px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .services-grid { grid-template-columns: 1fr; } }

.card {
  background: var(--white); border: 1px solid var(--line); border-radius: 10px;
  padding: 26px 24px; border-top: 4px solid var(--green-600);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.18s, transform 0.18s, border-color 0.18s;
}
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); border-top-color: var(--green-700); }
.card h3 {
  color: var(--green-900);
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 0.55em;
}
.card-icon {
  width: 26px; height: 26px; flex: 0 0 auto;
  color: var(--green-600);
  background: var(--green-100);
  border-radius: 7px; padding: 4px;
}
.card p { color: var(--muted); margin: 0; }
.card ul { margin: 12px 0 0; padding-left: 18px; color: var(--muted); font-size: 0.95rem; }
.card li { margin-bottom: 4px; }

/* Steps */
.steps { list-style: none; display: grid; gap: 22px; grid-template-columns: repeat(4, 1fr); margin: 38px 0 0; padding: 0; }
@media (max-width: 960px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }
.step {
  position: relative; background: var(--white);
  border: 1px solid var(--line); border-radius: 10px; padding: 26px 22px 22px;
  box-shadow: var(--shadow-sm);
}
.step-num {
  position: relative;
  display: grid; place-items: center;
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--green-900); color: var(--white);
  font-family: Georgia, serif; font-size: 1.05rem; font-weight: 700;
  margin-bottom: 14px;
  box-shadow: 0 0 0 4px var(--white);
}
.step h3 { color: var(--green-900); margin-bottom: 0.4em; }
.step p { color: var(--muted); margin: 0; font-size: 0.97rem; }

/* Split */
.split { display: grid; gap: 34px; grid-template-columns: 1fr 1fr; align-items: start; }
@media (max-width: 800px) { .split { grid-template-columns: 1fr; } }

.contact-card {
  background: var(--white); border: 1px solid var(--line); border-radius: 12px;
  padding: 28px 26px; box-shadow: var(--shadow-md);
}

.detail-list { list-style: none; margin: 0; padding: 0; }
.detail-list li {
  display: flex; justify-content: space-between; gap: 16px;
  padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 0.95rem;
}
.detail-list li span:first-child { color: var(--muted); }
.detail-list li span:last-child { font-weight: 600; text-align: right; }
.detail-list li:last-child { border-bottom: 0; }
@media (max-width: 480px) {
  .detail-list li { flex-direction: column; gap: 2px; }
  .detail-list li span:last-child { text-align: left; }
}

.note {
  background: var(--green-100); border-left: 4px solid var(--green-600);
  padding: 15px 18px; border-radius: 0 8px 8px 0; font-size: 0.94rem;
  color: var(--green-900); margin: 24px 0 0;
}
.contact-actions { margin: 24px 0 0; }

/* Form */
form.quote { display: grid; gap: 16px; }
.field { display: grid; gap: 6px; }
.field label { font-weight: 600; font-size: 0.92rem; }
.req { color: var(--green-700); }
.opt { color: var(--muted); font-weight: 400; font-size: 0.86rem; }
.field input, .field select, .field textarea {
  padding: 12px 13px; border: 1px solid var(--line); border-radius: 6px;
  font: inherit; font-size: 0.98rem; background: var(--white); color: var(--ink);
  width: 100%;
}
.field input:hover, .field select:hover, .field textarea:hover { border-color: #c6c0b0; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 2px solid var(--green-600); outline-offset: 1px; border-color: var(--green-600);
}
.field input:user-invalid, .field select:user-invalid, .field textarea:user-invalid { border-color: #b4705f; }
.two { display: grid; gap: 16px; grid-template-columns: 1fr 1fr; }
@media (max-width: 560px) { .two { grid-template-columns: 1fr; } }

.form-status { padding: 12px 16px; border-radius: 6px; font-size: 0.94rem; display: none; }
.form-status.ok { display: block; background: var(--green-100); color: var(--green-900); border: 1px solid var(--green-600); }
.form-status.err { display: block; background: #fbeaea; color: #8a1f1f; border: 1px solid #d98b8b; }
.form-note { font-size: 0.85rem; color: var(--muted); margin: 0; }

/* FAQ */
.faq-wrap { max-width: 820px; }
.faq details { border-bottom: 1px solid var(--line); padding: 4px 0; }
.faq details:first-of-type { border-top: 1px solid var(--line); }
.faq summary {
  cursor: pointer; font-weight: 600; padding: 15px 0; list-style: none;
  display: flex; justify-content: space-between; gap: 12px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--green-600); font-size: 1.3rem; line-height: 1; flex: 0 0 auto; }
.faq details[open] summary::after { content: "\2212"; }
.faq p { color: var(--muted); margin: 0 0 16px; max-width: 68ch; }

/* Gallery */
.gallery {
  display: grid; gap: 18px;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 210px;
}
@media (max-width: 900px) { .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 190px; } }
@media (max-width: 560px) { .gallery { grid-template-columns: 1fr; grid-auto-rows: 230px; } }

.shot { margin: 0; position: relative; }
.shot-tall { grid-row: span 2; }

.shot-btn {
  display: block; width: 100%; height: 100%; padding: 0; cursor: zoom-in;
  border: 1px solid var(--line); border-radius: 10px; overflow: hidden;
  background: var(--sand-deep); position: relative;
}
.shot-btn::after {
  content: ""; position: absolute; inset: 0;
  background: rgba(29, 58, 34, 0); transition: background 0.18s;
}
.shot-btn:hover::after, .shot-btn:focus-visible::after { background: rgba(29, 58, 34, 0.3); }
.shot-btn:focus-visible { outline: 3px solid var(--green-600); outline-offset: 2px; }
.shot-btn img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform 0.28s ease;
}
.shot-btn:hover img { transform: scale(1.04); }

.shot figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  padding: 28px 14px 10px;
  font-size: 0.88rem; font-weight: 600; color: var(--white);
  background: linear-gradient(to top, rgba(16, 32, 19, 0.9), rgba(16, 32, 19, 0));
  pointer-events: none;
}

/* Prep gallery: flat rows (every shot is mid-project), column count chosen so
   the 8 tiles fill complete rows instead of leaving an orphan */
.gallery-prep { grid-auto-rows: 240px; grid-template-columns: repeat(4, 1fr); }
.gallery-prep .shot-tall { grid-row: span 1; }
@media (max-width: 1024px) { .gallery-prep { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .gallery-prep { grid-template-columns: 1fr; grid-auto-rows: 250px; } }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(10, 17, 12, 0.92);
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
}
.lightbox[hidden] { display: none; }
@media (max-width: 640px) {
  /* Order the photo first, then caption, then the arrows — nothing sits on the image. */
  .lightbox { flex-direction: column; gap: 16px; padding: 18px 16px 24px; }
  .lb-figure { max-width: 100%; order: 1; }
  .lb-figure img { max-height: 60vh; }
  .lb-controls { width: 100%; order: 2; }
  .lb-close { z-index: 2; }
}
.lb-figure { margin: 0; max-width: min(1000px, 88vw); max-height: 92vh; text-align: center; }
.lb-figure img {
  max-width: 100%; max-height: 80vh; width: auto; height: auto;
  border-radius: 8px; box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
}
.lb-figure figcaption { color: #e3efe5; font-size: 0.95rem; margin-top: 14px; max-width: 68ch; margin-left: auto; margin-right: auto; }
.lb-counter {
  color: #a9cbb2; font-size: 0.82rem; margin: 10px 0 0;
  letter-spacing: 0.03em;
}
.lb-close {
  position: absolute; top: 18px; right: 20px;
  width: 46px; height: 46px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.14); color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.3); font-size: 1.7rem; line-height: 1; cursor: pointer;
}
.lb-close:hover { background: rgba(255, 255, 255, 0.26); }
.lb-controls {
  display: flex; gap: 14px; justify-content: center; align-items: center;
}
.lb-nav {
  width: 48px; height: 48px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.14); color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.3);
  font-size: 1.9rem; line-height: 1; cursor: pointer; flex: 0 0 auto;
}
.lb-nav:hover { background: rgba(255, 255, 255, 0.26); }
@media (min-width: 641px) {
  .lb-controls {
    position: absolute; inset: 0; pointer-events: none;
    justify-content: space-between; align-items: center;
    padding: 0 18px;
  }
  .lb-nav {
    pointer-events: auto; position: static;
    width: 48px; height: 48px; font-size: 1.9rem;
  }
}

/* While a photo is open, the overlay owns the viewport. */
body.lb-open .site-header { visibility: hidden; }
body.lb-open .lightbox { background: rgba(8, 14, 10, 0.97); }

/* Footer */
.site-footer { background: var(--green-900); color: #cfe4d4; padding: 52px 0 26px; font-size: 0.95rem; }
.site-footer h3 { color: var(--white); font-size: 1rem; margin-bottom: 0.85em; }
.footer-grid { display: grid; gap: 30px; grid-template-columns: 1.5fr 1fr 1fr 1fr; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer a { color: #cfe4d4; text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.site-footer p { margin: 0 0 10px; }
.footer-address { margin-top: 14px; }
.footer-phone { font-weight: 700; font-size: 1.05rem; }
.footer-access { color: #a9cbb2; font-size: 0.87rem; margin-top: 12px; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.16); margin-top: 34px; padding-top: 16px;
  font-size: 0.85rem; display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}