:root {
  --paper: #f4f1ea;
  --paper-2: #ebe5d8;
  --header-bg: #ffffff;
  --sand: #e4d6bd;
  --ink: #1d1c1a;
  --ink-soft: #4a4740;
  --muted: #6b665c;
  /* logo palette */
  --green: #02381e;
  --green-mid: #1f5c34;
  --orange: #fda919;
  --orange-deep: #9a5a00;
  --orange-tint: #fde4b4;
  --lime: #a4c44a;
  --sky: #2fb8dc;

  --sage: var(--lime);
  --sage-deep: var(--green-mid);
  --sage-tint: #e5edd6;
  --danger: #b3401f;
  --line: rgba(29, 28, 26, 0.14);

  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;

  --radius: 18px;
  --container: 1140px;
  --header-h: 96px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; }

h1, h2, h3 {
  color: var(--green);
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.01em;
  margin: 0 0 0.5em;
}
h1 { font-size: clamp(2.6rem, 6vw, 4.4rem); }
h2 { font-size: clamp(2rem, 4vw, 2.9rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }

:focus-visible { outline: 2px solid var(--green-mid); outline-offset: 3px; border-radius: 4px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 16px; }
@media (min-width: 640px) { .container { padding: 0 32px; } }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--ink); color: var(--paper); padding: 10px 16px; border-radius: 8px;
}
.skip-link:focus { top: 12px; }

.eyebrow {
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--orange-deep); margin-bottom: 0.9em;
}
.lead { font-size: 1.2rem; color: var(--ink-soft); max-width: 34em; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 26px; border-radius: 999px; border: 1.5px solid var(--green);
  background: var(--green); color: #fff;
  font: 600 1rem/1 var(--font-body); text-decoration: none; cursor: pointer;
  transition: background 0.2s, color 0.2s, transform 0.2s;
}
.btn:hover { background: var(--green-mid); border-color: var(--green-mid); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--green); }
.btn-ghost:hover { background: var(--green); border-color: var(--green); color: #fff; }
.btn-small { padding: 10px 18px; font-size: 0.92rem; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--header-bg);
  border-top: 5px solid var(--orange);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}
.site-header.scrolled { border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); }

.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { height: 76px; width: 76px; flex-shrink: 0; }
.site-footer .brand img { height: 96px; width: 96px; }
@media (max-width: 400px) { .site-header .brand img { height: 64px; width: 64px; } }

.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav a:not(.btn) { text-decoration: none; font-weight: 500; font-size: 0.97rem; color: var(--ink-soft); }
.site-nav a:not(.btn):hover { color: var(--ink); }

.nav-toggle {
  display: none; width: 44px; height: 44px; padding: 10px;
  background: none; border: 0; cursor: pointer;
  flex-direction: column; justify-content: center; gap: 5px;
}
.nav-toggle span { display: block; height: 2px; background: var(--ink); border-radius: 2px; transition: transform 0.25s, opacity 0.25s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  .site-nav {
    position: absolute; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--header-bg); border-bottom: 1px solid var(--line);
    padding: 8px 16px 20px;
    display: none;
  }
  .site-nav.open { display: flex; }
  .site-nav a:not(.btn) { padding: 14px 4px; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .site-nav .btn { margin-top: 16px; }
}

/* Hero */
.hero { padding: 56px 0 72px; }
.hero-inner { display: grid; gap: 40px; align-items: center; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
@media (min-width: 900px) {
  .hero { padding: 88px 0 104px; }
  .hero-inner { grid-template-columns: 1.1fr 1fr; gap: 56px; }
}

.line-art { width: 100%; height: auto; }
.line-art path, .line-art ellipse, .line-art circle {
  fill: none; stroke: var(--green); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round;
}
.line-art .soft { stroke-width: 2; opacity: 0.45; }
.line-art .sun { fill: var(--orange-tint); stroke: none; }
.line-art .water { stroke: var(--sky); opacity: 0.8; }
.line-art .leafy { stroke: var(--lime); }
.line-art .bloom { fill: var(--orange); stroke: none; }

/* Sections */
.section { padding: 80px 0; }
@media (min-width: 900px) { .section { padding: 112px 0; } }
.section-sand { background: var(--paper-2); }
.section-sage { background: var(--sage-tint); }
.section-head { max-width: 640px; margin-bottom: 48px; }
.section-head p:not(.eyebrow) { color: var(--ink-soft); }

/* Cards */
.cards { display: grid; gap: 20px; }
@media (min-width: 760px) { .cards.three { grid-template-columns: repeat(3, 1fr); } }
.card {
  background: #fbfaf6; border: 1px solid var(--line); border-top: 4px solid var(--lime); border-radius: var(--radius);
  padding: 32px 28px;
}
.card p { color: var(--ink-soft); margin: 0; }
.icon { width: 48px; height: 48px; margin-bottom: 18px; }
.icon path, .icon circle { fill: none; stroke: var(--sage-deep); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }

/* Services */
.services { display: grid; gap: 0; border-top: 1px solid var(--line); }
@media (min-width: 700px) { .services { grid-template-columns: repeat(2, 1fr); column-gap: 48px; } }
@media (min-width: 1080px) { .services { grid-template-columns: repeat(4, 1fr); column-gap: 40px; } }
.service { padding: 32px 0; border-bottom: 1px solid var(--line); }
.service h3 { font-size: 1.2rem; }
.service p { color: var(--ink-soft); margin: 0; }
.num { display: block; font-family: var(--font-display); color: var(--orange-deep); font-size: 0.95rem; margin-bottom: 10px; }

/* Process */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 28px; counter-reset: step; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step { position: relative; padding-top: 8px; }
.step p { color: var(--ink-soft); margin: 0; }
.step-num {
  display: inline-grid; place-items: center; width: 48px; height: 48px; margin-bottom: 18px;
  border: 1.5px solid var(--orange); background: var(--orange-tint); color: var(--green); border-radius: 50%;
  font-family: var(--font-display); font-size: 1.25rem;
}


/* Contact */
.contact { display: grid; gap: 48px; }
@media (min-width: 900px) { .contact { grid-template-columns: 1fr 1.15fr; gap: 72px; align-items: start; } }
.contact-info p:not(.eyebrow) { color: var(--ink-soft); }
.contact-list { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 18px; }
.contact-list li { display: grid; gap: 2px; }
.contact-list strong { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--muted); font-weight: 600; }
.contact-list a { text-decoration: none; font-size: 1.1rem; }
.contact-list a:hover { color: var(--green-mid); }

.contact-form {
  background: #fbfaf6; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 20px; display: grid; gap: 18px;
}
@media (min-width: 640px) { .contact-form { padding: 36px; } }
.field-row { display: grid; gap: 18px; }
@media (min-width: 640px) { .field-row { grid-template-columns: 1fr 1fr; } }
.contact-form label { display: grid; gap: 6px; font-weight: 500; font-size: 0.95rem; }
.optional { color: var(--muted); font-weight: 400; }
.contact-form input, .contact-form select, .contact-form textarea {
  width: 100%; padding: 12px 14px; font: inherit; font-weight: 400; color: var(--ink);
  background: var(--paper); border: 1px solid rgba(29, 28, 26, 0.22); border-radius: 10px;
}
.contact-form textarea { resize: vertical; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus {
  outline: none; border-color: var(--sage-deep); box-shadow: 0 0 0 3px rgba(164, 196, 74, 0.35);
}
.contact-form .invalid { border-color: var(--danger); }
.contact-form .btn { justify-self: start; }
.form-status { margin: 0; min-height: 1.5em; color: var(--sage-deep); font-weight: 500; }
.form-status.error { color: var(--danger); }

/* Footer */
.site-footer { background: var(--green); color: var(--paper); border-top: 5px solid var(--orange); padding: 56px 0 40px; }
.footer-inner { display: grid; gap: 20px; }
.tagline { color: rgba(244, 241, 234, 0.7); margin: 0; max-width: 32em; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 20px; }
.footer-nav a { text-decoration: none; color: rgba(244, 241, 234, 0.85); }
.footer-nav a:hover { color: var(--paper); }
.footer-contact { margin: 0; }
.footer-contact a { color: var(--paper); text-decoration: none; font-weight: 500; }
.footer-contact a:hover { color: var(--orange); }
.copyright { font-size: 0.85rem; color: rgba(244, 241, 234, 0.55); margin: 12px 0 0; }

/* Reveal on scroll */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s ease, transform 0.7s ease; }
.js .reveal.visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .btn { transition: none; }
}

/* Promo banners (managed in the admin) */
.promo-bar { font-size: 0.95rem; }
.promo-bar-inner { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 6px 16px; padding-top: 10px; padding-bottom: 10px; padding-right: 48px; position: relative; text-align: center; }
.promo-bar p { margin: 0; font-weight: 500; }
.promo-bar .promo-link { font-weight: 700; text-decoration: underline; text-underline-offset: 3px; color: inherit; white-space: nowrap; }
.promo-close {
  position: absolute; right: 8px; top: 50%; transform: translateY(-50%);
  width: 36px; height: 36px; border: 0; background: transparent; color: inherit;
  font-size: 1.5rem; line-height: 1; cursor: pointer; border-radius: 50%; opacity: 0.75;
}
.promo-close:hover { opacity: 1; background: rgba(0, 0, 0, 0.08); }
@media (min-width: 640px) { .promo-close { right: 24px; } }

.promo-orange { background: var(--orange); color: var(--green); }
.promo-green { background: var(--green); color: #fff; }
.promo-lime { background: var(--lime); color: var(--green); }
.promo-sky { background: var(--sky); color: var(--green); }

.promo-card {
  display: grid; gap: 6px; margin-bottom: 28px; padding: 18px 22px;
  border-radius: var(--radius); max-width: 34em;
  box-shadow: 0 10px 30px -18px rgba(2, 56, 30, 0.6);
}
.promo-card p { margin: 0; font-size: 1.1rem; font-weight: 500; line-height: 1.45; }
.promo-card .promo-link { font-weight: 700; color: inherit; text-decoration: underline; text-underline-offset: 3px; justify-self: start; }
.promo-tag {
  justify-self: start; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  padding: 3px 10px; border-radius: 999px; background: rgba(255, 255, 255, 0.85); color: var(--green);
}
.promo-green .promo-tag { background: var(--orange); }

/* Spam trap: hidden from people */
.hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.contact-form button[disabled] { opacity: 0.7; cursor: wait; }

/* Photo gallery (managed in the admin) */
.gallery { list-style: none; margin: 0; padding: 0; display: grid; gap: 24px; }
@media (min-width: 640px) { .gallery { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .gallery { grid-template-columns: repeat(3, 1fr); } }
.gallery-item {
  display: block; width: 100%; padding: 0; border: 0; background: var(--paper-2); cursor: zoom-in;
  border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3;
  box-shadow: 0 14px 30px -22px rgba(2, 56, 30, 0.55);
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.gallery-item:hover img { transform: scale(1.04); }
.gallery-caption { margin: 12px 2px 0; font-family: var(--font-display); font-size: 1.1rem; color: var(--green); }

.lightbox {
  width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0;
  background: rgba(2, 28, 15, 0.94); color: #fff;
}
.lightbox[open] { display: grid; place-items: center; }
.lightbox::backdrop { background: transparent; }
.lightbox figure { margin: 0; padding: 64px 16px 24px; display: grid; justify-items: center; gap: 14px; max-width: 100%; }
.lightbox img { max-width: min(1200px, 100%); max-height: calc(100vh - 160px); width: auto; height: auto; border-radius: 10px; }
.lightbox figcaption { font-family: var(--font-display); font-size: 1.15rem; text-align: center; }
.lb-btn {
  position: absolute; width: 48px; height: 48px; border-radius: 50%; border: 0;
  background: rgba(255, 255, 255, 0.14); color: #fff; font-size: 2rem; line-height: 1; cursor: pointer;
}
.lb-btn:hover { background: var(--orange); color: var(--green); }
.lb-close { top: 12px; right: 12px; }
.lb-prev, .lb-next { top: 50%; transform: translateY(-50%); }
.lb-prev { left: 12px; }
.lb-next { right: 12px; }
