:root {
  --green-900: #0f3d1e;
  --green-700: #1f6b33;
  --green-600: #2e8540;
  --green-100: #e8f3ea;
  --lime: #b9d84a;
  --ink: #1d2420;
  --muted: #56605a;
  --line: #dfe6e0;
  --bg: #ffffff;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(15, 61, 30, 0.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
section[id] { scroll-margin-top: 110px; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green-700); }

.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }
.narrow { max-width: 760px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.header-row { display: flex; flex-wrap: wrap; align-items: center; gap: 0 24px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); margin-right: auto; min-width: 0; }
.brand-mark { height: 46px; width: auto; flex-shrink: 0; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-family: Georgia, "Times New Roman", serif; font-weight: 400; font-size: 1.45rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--green-900); }
.brand-text small { font-size: 0.75rem; color: var(--muted); }
.nav { display: flex; gap: 22px; }
.nav a { text-decoration: none; color: var(--ink); font-weight: 500; }
.nav a:hover { color: var(--green-600); }

/* Buttons */
.btn {
  display: inline-block;
  background: var(--green-600);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  padding: 12px 22px;
  border-radius: 999px;
  border: 2px solid var(--green-600);
  transition: background 0.15s, transform 0.15s;
}
.btn:hover { background: var(--green-700); border-color: var(--green-700); transform: translateY(-1px); }
.btn-small { padding: 8px 16px; font-size: 0.9rem; white-space: nowrap; }
.btn-large { font-size: 1.4rem; padding: 14px 30px; margin-top: 8px; }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.7); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.12); border-color: #fff; }

/* Hero */
.hero {
  background:
    radial-gradient(ellipse at 75% 60%, rgba(185, 216, 74, 0.35), transparent 55%),
    linear-gradient(160deg, var(--green-900), var(--green-700) 60%, var(--green-600));
  color: #fff;
  padding: 72px 0 80px;
}
.hero-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 48px; align-items: center; }
.eyebrow { text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.8rem; color: var(--lime); font-weight: 700; margin: 0 0 12px; }
.hero h1 { font-size: clamp(2rem, 4vw, 3rem); line-height: 1.15; margin: 0 0 18px; }
.lede { font-size: 1.15rem; color: rgba(255, 255, 255, 0.9); margin: 0 0 28px; max-width: 34em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.badges { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.badges li {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 0.9rem;
}
.badges li::before { content: "\2713"; color: var(--lime); margin-right: 6px; font-weight: 700; }

.hero-photos { position: relative; min-height: 320px; }
.photo { position: absolute; border-radius: var(--radius); border: 5px solid #fff; box-shadow: var(--shadow); object-fit: cover; }
.photo-a { width: 78%; aspect-ratio: 4 / 3; top: 0; right: 0; }
.photo-b { width: 62%; aspect-ratio: 2 / 1; bottom: 0; left: 0; }

/* Sections */
.section { padding: 80px 0; }
.section-tint { background: var(--green-100); }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); color: var(--green-900); margin: 0 0 16px; line-height: 1.2; }
.section-lede { color: var(--muted); margin: 0 0 32px; font-size: 1.1rem; }
.section p { font-size: 1.05rem; }

.about-grid { display: grid; grid-template-columns: 300px 1fr; gap: 56px; align-items: center; }
.about-logo { width: 100%; height: auto; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card { background: #fff; border-radius: var(--radius); padding: 28px; box-shadow: 0 2px 10px rgba(15, 61, 30, 0.06); border: 1px solid var(--line); }
.card-icon { width: 48px; height: 48px; border-radius: 12px; background: var(--green-100); color: var(--green-600); display: grid; place-items: center; margin-bottom: 16px; }
.card-icon svg { width: 28px; height: 28px; }
.card h3 { margin: 0 0 10px; color: var(--green-900); }
.card ul { margin: 0; padding-left: 20px; color: var(--muted); }
.card li + li { margin-top: 6px; }

.contact-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: start; }
.facts { margin: 0; display: grid; gap: 18px; background: var(--green-100); border-radius: var(--radius); padding: 28px; }
.facts dt { font-weight: 700; color: var(--green-900); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.06em; }
.facts dd { margin: 4px 0 0; font-size: 1.05rem; }

/* Footer */
.site-footer { background: var(--green-900); color: rgba(255, 255, 255, 0.85); padding: 32px 0; font-size: 0.95rem; }
.footer-row { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px 24px; }
.footer-logo { height: 104px; width: auto; }

/* Our work (home page) */
.work-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 28px; }
.work-grid a { display: block; border-radius: var(--radius); overflow: hidden; box-shadow: 0 2px 10px rgba(15, 61, 30, 0.1); }
.work-grid img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform 0.25s; }
.work-grid a:hover img { transform: scale(1.04); }

/* Gallery page */
.back-link { margin: 0 0 12px; }
.back-link a { text-decoration: none; font-weight: 600; }
.page-title { font-size: clamp(1.8rem, 4vw, 2.6rem); color: var(--green-900); margin: 0 0 12px; line-height: 1.2; }
.nav a[aria-current="page"] { color: var(--green-600); }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.gallery figure { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.gallery a { display: block; overflow: hidden; }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform 0.25s; }
.gallery a:hover img { transform: scale(1.04); }
.gallery figcaption { padding: 10px 14px 12px; font-size: 0.95rem; color: var(--muted); }
.gallery-cta { margin-top: 56px; padding: 32px; text-align: center; background: var(--green-100); border-radius: var(--radius); }
.gallery-cta h2 { margin-bottom: 8px; }
.gallery-cta p { margin: 0 0 8px; }

.lightbox { padding: 0; border: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; }
.lightbox::backdrop { background: rgba(0, 0, 0, 0.88); }
.lightbox[open] { display: flex; align-items: center; justify-content: center; }
.lightbox figure { margin: 0; text-align: center; }
.lightbox img { max-width: 92vw; max-height: 80vh; margin: 0 auto; border-radius: 8px; }
.lightbox figcaption { color: #fff; margin-top: 10px; font-size: 1rem; }
.lightbox button { position: absolute; background: rgba(255, 255, 255, 0.15); color: #fff; border: 0; font-size: 2rem; line-height: 1; width: 48px; height: 48px; border-radius: 50%; cursor: pointer; }
.lightbox button:hover { background: rgba(255, 255, 255, 0.3); }
.lb-close { top: 16px; right: 16px; }
.lb-prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 12px; top: 50%; transform: translateY(-50%); }
.footer-row p { margin: 0; }
.site-footer a { color: #fff; }

/* Responsive */
@media (max-width: 860px) {
  .hero-grid, .contact-grid, .about-grid { grid-template-columns: 1fr; }
  .about-grid { gap: 32px; }
  .about-logo { max-width: 260px; }
  .hero-photos { min-height: 280px; max-width: 460px; }
  .work-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .cards { grid-template-columns: 1fr; }
  /* Menu moves to its own row under the logo instead of disappearing */
  .header-row { padding-top: 8px; }
  .nav { order: 3; width: 100%; justify-content: center; gap: 0; border-top: 1px solid var(--line); margin-top: 8px; }
  .nav a { flex: 1; text-align: center; padding: 10px 0; font-size: 0.95rem; }
}
/* Phones: keep the full business name in the header and move the call button
   to a bar along the bottom, so no words have to be hidden to make room */
.call-bar { display: none; }
@media (max-width: 480px) {
  .header-row .btn-small { display: none; }
  .brand-mark { height: 40px; }
  .brand-text strong { font-size: 1.25rem; letter-spacing: 0.06em; }
  .brand-text small { font-size: 0.72rem; white-space: normal; }
  .nav a { font-size: 0.9rem; }
  .hero { padding: 40px 0 56px; }
  .section { padding: 56px 0; }
  .footer-row { flex-direction: column; align-items: flex-start; }
  .gallery { grid-template-columns: 1fr; }
  .call-bar {
    display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 20;
    background: var(--green-600); color: #fff; text-align: center; text-decoration: none;
    font-weight: 700; font-size: 1.05rem; padding: 14px 16px calc(14px + env(safe-area-inset-bottom));
    box-shadow: 0 -4px 16px rgba(15, 61, 30, 0.2);
  }
  body { padding-bottom: calc(56px + env(safe-area-inset-bottom)); }
}

.section-tint .facts { background: #fff; }
.gallery-heading { font-size: clamp(1.3rem, 2.5vw, 1.6rem); margin: 44px 0 6px; }
.gallery-desc { color: var(--muted); margin: 0 0 16px; }
.gallery-heading + .gallery { margin-top: 16px; }

/* Small phones (iPhone SE and similar): the call bar wraps to two lines,
   so reserve enough room that it never covers the footer */
@media (max-width: 360px) {
  .call-bar { font-size: 0.95rem; line-height: 1.3; padding: 12px 14px calc(12px + env(safe-area-inset-bottom)); }
  body { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
}
