/* Self-hosted fonts (Fontsource, SIL Open Font License), Latin subset only. */
@font-face { font-family: "Domine"; font-weight: 600; font-display: swap; src: url(/fonts/domine-latin-600-normal.woff2) format("woff2"); }
@font-face { font-family: "Domine"; font-weight: 700; font-display: swap; src: url(/fonts/domine-latin-700-normal.woff2) format("woff2"); }
@font-face { font-family: "Figtree"; font-weight: 400; font-display: swap; src: url(/fonts/figtree-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Figtree"; font-weight: 500; font-display: swap; src: url(/fonts/figtree-latin-500-normal.woff2) format("woff2"); }
@font-face { font-family: "Figtree"; font-weight: 600; font-display: swap; src: url(/fonts/figtree-latin-600-normal.woff2) format("woff2"); }
@font-face { font-family: "Figtree"; font-weight: 700; font-display: swap; src: url(/fonts/figtree-latin-700-normal.woff2) format("woff2"); }

:root {
  --forest: #1d4a2c;      /* the logo's tree green */
  --forest-2: #143521;
  --forest-3: #2b6a3f;
  --leaf: #7fb069;
  --cream: #f6f0e3;       /* the logo's card */
  --cream-2: #ece3d1;
  --white: #fffdf8;
  --ink: #18241b;
  --text: #3c4a3f;
  --muted: #6d7a6f;
  --line: #ddd3bf;
  --bark: #a8743f;
  --wa: #1c9d4f;
  --wa-dark: #16833f;

  --display: "Domine", Georgia, serif;
  --body: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --r: 16px;
  --shadow: 0 1px 2px rgba(20,53,33,.06), 0 18px 40px -18px rgba(20,53,33,.35);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; background: var(--cream); color: var(--text); font: 400 17px/1.65 var(--body); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--bark); outline-offset: 3px; }

h1, h2, h3 { font-family: var(--display); color: var(--ink); font-weight: 700; line-height: 1.12; letter-spacing: -.01em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.4rem, 5.6vw, 4.4rem); }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.8rem); }
h3 { font-size: 1.3rem; font-weight: 600; }
h1 span, h2 span { color: var(--forest-3); }
p { margin: 0 0 1em; }
.muted { color: var(--muted); }
.fine { font-size: .86rem; color: var(--muted); margin: 0; display: flex; gap: 8px; align-items: flex-start; }
.fine .i { width: 18px; height: 18px; flex: none; margin-top: 1px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--forest); color: #fff; padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }
.i { width: 20px; height: 20px; flex: none; }
.i-arrow { width: 18px; height: 18px; transition: transform .2s var(--ease); }

.eyebrow { margin: 0 0 14px; font: 700 .76rem/1 var(--body); letter-spacing: .24em; text-transform: uppercase; color: var(--bark); }
.eyebrow-light { color: #d9b98a; }
.lede { font-size: clamp(1.06rem, 1.5vw, 1.2rem); max-width: 34em; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 13px 24px; border-radius: 999px; border: 0; font: 600 1rem/1 var(--body); text-decoration: none; cursor: pointer; white-space: nowrap; transition: transform .2s var(--ease), background .2s, box-shadow .2s; }
.btn:hover { transform: translateY(-2px); }
.btn:hover .i-arrow { transform: translateX(3px); }
.btn-lg { min-height: 56px; padding: 16px 28px; font-size: 1.05rem; }
.btn-wa { background: var(--wa); color: #fff; box-shadow: 0 10px 24px -10px rgba(28,157,79,.7); }
.btn-wa:hover { background: var(--wa-dark); }
.btn-ghost { color: #fff; background: rgba(255,255,255,.1); box-shadow: inset 0 0 0 1px rgba(255,255,255,.45); }
.btn-ghost:hover { background: rgba(255,255,255,.2); }
.btn-dark { background: var(--forest); color: var(--cream); }
.btn-dark:hover { background: var(--forest-2); }
.btn-line { color: var(--forest); background: transparent; box-shadow: inset 0 0 0 1.5px var(--forest); }
.btn-line:hover { background: var(--forest); color: var(--cream); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(246,240,227,.95); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 8px 24px -18px rgba(20,53,33,.4); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { height: 46px; width: auto; }
.brand-word { display: flex; flex-direction: column; line-height: 1; }
.brand-word b { font: 700 1.35rem/1 var(--display); color: var(--ink); }
.brand-word span { font: 700 .62rem/1 var(--body); letter-spacing: .32em; text-transform: uppercase; color: var(--forest); margin-top: 6px; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { text-decoration: none; font-weight: 600; font-size: .98rem; color: var(--text); padding: 8px 0; border-bottom: 2px solid transparent; }
.nav a:not(.nav-cta):hover { color: var(--forest); border-bottom-color: var(--leaf); }
.nav-cta { display: inline-flex; align-items: center; gap: 8px; padding: 11px 18px !important; border-radius: 999px; background: var(--wa); color: #fff !important; border: 0 !important; }
.nav-cta:hover { background: var(--wa-dark); }
.menu-btn { display: none; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line); background: var(--white); cursor: pointer; position: relative; }
.menu-btn span { position: absolute; left: 12px; right: 12px; height: 2px; border-radius: 2px; background: var(--forest); transition: transform .25s var(--ease), top .25s var(--ease); }
.menu-btn span:first-child { top: 17px; } .menu-btn span:last-child { top: 26px; }
.menu-btn[aria-expanded="true"] span:first-child { top: 21.5px; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] span:last-child { top: 21.5px; transform: rotate(-45deg); }

/* Hero: full-bleed job photo under a forest-green shade */
.hero { position: relative; min-height: min(86vh, 760px); display: flex; align-items: flex-end; color: #e9efe6; overflow: hidden; background: var(--forest-2); }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 35%; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(14,38,23,.92) 0%, rgba(14,38,23,.72) 45%, rgba(14,38,23,.15) 100%), linear-gradient(0deg, rgba(14,38,23,.7) 0%, transparent 45%); }
.hero-inner { position: relative; padding-top: 80px; padding-bottom: clamp(48px, 8vw, 96px); }
.hero h1 { color: #fff; max-width: 13em; }
.hero h1 span { color: #b9d99c; display: block; }
.hero .lede { color: #dbe6d6; }
.kicker { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 20px; padding: 8px 14px; border-radius: 999px; background: rgba(255,255,255,.1); box-shadow: inset 0 0 0 1px rgba(255,255,255,.2); font-weight: 600; font-size: .9rem; color: #fff; }
.kicker .i { width: 17px; height: 17px; color: #b9d99c; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0 28px; }
.promises { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; font-weight: 600; font-size: .95rem; color: #fff; }
.promises li { display: flex; align-items: center; gap: 7px; }
.promises .i { width: 18px; height: 18px; color: #b9d99c; }

/* Sections */
.section { padding: clamp(72px, 10vw, 120px) 0; }
.section-flush { padding-top: 0; }
.section-tint { background: var(--cream-2); }
.section-head { max-width: 720px; margin-bottom: clamp(32px, 5vw, 52px); }
.section-head-gallery { margin-top: clamp(64px, 9vw, 104px); }

/* Services */
.services { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.svc { display: flex; flex-direction: column; border-radius: var(--r); overflow: hidden; background: var(--white); box-shadow: var(--shadow); scroll-margin-top: 100px; }
.svc-img { aspect-ratio: 4 / 3; overflow: hidden; background: var(--cream-2); }
.svc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.svc:hover .svc-img img { transform: scale(1.05); }
.svc-body { padding: 20px 20px 22px; display: flex; flex-direction: column; flex: 1; }
.svc-body p { font-size: .96rem; flex: 1; }
.svc-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: .92rem; color: var(--forest); text-decoration: none; }
.svc-link:hover .i-arrow { transform: translateX(3px); }
.extras { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 26px; padding: 18px 22px; border-radius: var(--r); background: var(--white); border: 1px dashed var(--line); }
.extras p { margin: 0; font-size: 1.02rem; }
.extras strong { color: var(--forest); }

/* In action */
.action { background: var(--forest); color: #d5e2d1; }
.action-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(36px, 7vw, 96px); align-items: center; }
.action-film { position: relative; margin: 0; max-width: 360px; justify-self: center; width: 100%; border-radius: 22px; overflow: hidden; box-shadow: 0 30px 70px -25px rgba(0,0,0,.6); background: #000; }
.action-video { display: block; width: 100%; aspect-ratio: 476 / 856; object-fit: cover; }
.action-film figcaption { position: absolute; left: 12px; bottom: 12px; right: 64px; padding: 7px 11px; border-radius: 10px; background: rgba(20,53,33,.85); color: #fff; font-size: .8rem; font-weight: 600; }
.film-toggle { position: absolute; right: 12px; bottom: 12px; width: 42px; height: 42px; border-radius: 50%; border: 0; background: rgba(255,255,255,.9); cursor: pointer; display: grid; place-items: center; }
.film-toggle span { width: 12px; height: 14px; border-left: 4px solid var(--forest); border-right: 4px solid var(--forest); }
.film-toggle[aria-pressed="true"] span { width: 0; height: 0; border-style: solid; border-width: 8px 0 8px 13px; border-color: transparent transparent transparent var(--forest); margin-left: 4px; }
.action h2 { color: #fff; }
.action h2 span { color: #b9d99c; display: block; }
.action-copy > p { font-size: 1.06rem; }
.ticks { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 10px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; color: #fff; }
.ticks .i { color: #b9d99c; margin-top: 2px; }

/* Before & after */
.pairs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.pair { margin: 0; border-radius: var(--r); overflow: hidden; background: var(--white); box-shadow: var(--shadow); }
.pair-imgs { display: grid; grid-template-columns: 1fr 1fr; gap: 3px; background: var(--white); }
.pair-side { position: relative; aspect-ratio: 3 / 4; overflow: hidden; }
.pair-side img { width: 100%; height: 100%; object-fit: cover; }
.tag { position: absolute; z-index: 2; top: 10px; left: 10px; padding: 5px 10px; border-radius: 999px; background: rgba(24,36,27,.82); color: #fff; font: 700 .68rem/1 var(--body); letter-spacing: .14em; text-transform: uppercase; }
.tag-after { background: var(--forest-3); }
.pair figcaption { display: flex; flex-direction: column; gap: 4px; padding: 16px 18px 18px; }
.pair figcaption strong { font: 600 1.08rem/1.3 var(--display); color: var(--ink); }
.pair figcaption span { display: flex; align-items: center; gap: 6px; font-size: .88rem; color: var(--muted); }
.pair figcaption .i { width: 15px; height: 15px; color: var(--bark); }

/* Gallery */
.gallery { columns: 4 230px; column-gap: 14px; }
.tile { break-inside: avoid; margin: 0 0 14px; position: relative; border-radius: 12px; overflow: hidden; background: var(--cream-2); }
.tile button { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.tile img { width: 100%; height: auto; transition: transform .6s var(--ease); }
.tile button:hover img { transform: scale(1.04); }
.tile figcaption { position: absolute; left: 8px; bottom: 8px; display: flex; align-items: center; gap: 5px; padding: 5px 9px; border-radius: 999px; background: rgba(24,36,27,.78); color: #fff; font-size: .74rem; font-weight: 600; pointer-events: none; }
.tile figcaption .i { width: 13px; height: 13px; color: #b9d99c; }
.lightbox { position: fixed; inset: 0; z-index: 90; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 8px; padding: 24px; background: rgba(12,24,16,.95); }
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; display: grid; justify-items: center; gap: 12px; min-width: 0; }
.lightbox img { max-width: 100%; max-height: 82vh; border-radius: 8px; }
.lightbox figcaption { color: #e9efe6; font-size: .92rem; text-align: center; }
.lb-close, .lb-prev, .lb-next { width: 50px; height: 50px; border-radius: 50%; border: 1px solid rgba(255,255,255,.4); background: none; color: #fff; font-size: 1.8rem; line-height: 1; cursor: pointer; }
.lb-close { position: absolute; top: 14px; right: 16px; }
.lb-prev:hover, .lb-next:hover, .lb-close:hover { background: rgba(255,255,255,.12); }

/* Areas */
.areas-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 80px); align-items: center; }
.areas-grid .muted { margin-bottom: 26px; }
.area-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.area-list li { display: flex; align-items: center; gap: 8px; padding: 12px 14px; border-radius: 12px; background: var(--white); font-weight: 600; color: var(--ink); }
.area-list .i { width: 17px; height: 17px; color: var(--forest-3); }

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.steps li { display: flex; gap: 18px; padding: 26px; border-radius: var(--r); background: var(--white); box-shadow: var(--shadow); }
.step-n { display: grid; place-items: center; flex: none; width: 48px; height: 48px; border-radius: 50%; background: var(--forest); color: var(--cream); font: 700 1.2rem/1 var(--display); }
.steps h3 { margin-bottom: 6px; }
.steps p { margin: 0; font-size: .97rem; }

/* Quote */
.quote-sec { background: var(--forest-2); color: #d5e2d1; }
.quote-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(36px, 6vw, 80px); align-items: start; }
.quote-sec h2 { color: #fff; }
.contact-list { list-style: none; margin: 30px 0 0; padding: 0; display: grid; gap: 16px; }
.contact-list li { display: flex; gap: 14px; align-items: center; }
.contact-list li > span { display: grid; place-items: center; flex: none; width: 46px; height: 46px; border-radius: 14px; background: rgba(255,255,255,.08); color: #b9d99c; }
.contact-list small { display: block; font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: #9fb3a0; }
.contact-list a { color: #fff; font-weight: 600; text-decoration: none; }
.contact-list a:hover { text-decoration: underline; }
.contact-list div { color: #fff; }
.form { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding: clamp(22px, 4vw, 36px); border-radius: 22px; background: var(--white); color: var(--text); box-shadow: 0 40px 80px -30px rgba(0,0,0,.6); }
.field { display: grid; gap: 7px; min-width: 0; }
.field-full { grid-column: 1 / -1; }
.field > span { font-weight: 600; font-size: .86rem; color: var(--ink); }
.form input, .form select, .form textarea { width: 100%; font-size: 16px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--cream); transition: border-color .2s, box-shadow .2s, background .2s; }
.form textarea { resize: vertical; }
.form select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--forest) 50%), linear-gradient(135deg, var(--forest) 50%, transparent 50%); background-position: calc(100% - 20px) 55%, calc(100% - 15px) 55%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 40px; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; background-color: #fff; border-color: var(--forest-3); box-shadow: 0 0 0 4px rgba(43,106,63,.15); }
.form-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-status { margin: 0; padding: 13px 16px; border-radius: 12px; font-weight: 500; }
.form-status.is-ok { background: #e2f1e3; color: #1d4a2c; }
.form-status.is-err { background: #f8e3dc; color: #8a2a17; }
.form .fine a { color: var(--forest); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* Footer */
.site-footer { background: var(--forest-2); color: #9fb3a0; padding: 60px 0 26px; font-size: .95rem; border-top: 1px solid rgba(255,255,255,.06); }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1.2fr; gap: 40px; padding-bottom: 36px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer-brand img { width: 150px; margin-bottom: 16px; }
.footer-brand p { max-width: 24em; }
.footer-h { font: 700 .74rem/1 var(--body); letter-spacing: .2em; text-transform: uppercase; color: #fff; margin: 4px 0 16px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-top: 20px; font-size: .84rem; }
.footer-bottom p { margin: 0; }
.footer-bottom a { text-decoration: underline; text-underline-offset: 3px; }
.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 40; width: 58px; height: 58px; display: grid; place-items: center; border-radius: 50%; background: var(--wa); color: #fff; box-shadow: 0 8px 22px rgba(0,0,0,.28); transition: transform .2s; }
.wa-float:hover { transform: scale(1.06); }
.wa-float .i { width: 28px; height: 28px; }

/* Inner pages */
.page-head { padding: clamp(56px, 8vw, 96px) 0 40px; }
.page-404 { min-height: 60vh; display: flex; align-items: center; }
.prose > * { max-width: 760px; }
.prose h2 { font-size: clamp(1.4rem, 2.6vw, 1.8rem); margin: 40px 0 12px; }
.prose ul { padding-left: 1.2em; display: grid; gap: 8px; }
.prose a { color: var(--forest); text-underline-offset: 3px; }

/* Reveal on scroll */
.js .reveal { opacity: 0; transform: translateY(20px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 1060px) {
  .services { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pairs { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .menu-btn { display: block; }
  .nav { position: fixed; inset: 76px 0 0 0; flex-direction: column; align-items: stretch; gap: 0; padding: 12px var(--gutter) 40px; background: var(--cream); overflow-y: auto; opacity: 0; visibility: hidden; transition: opacity .2s, visibility .2s; }
  .nav.is-open { opacity: 1; visibility: visible; }
  .nav a { font: 700 1.6rem/1.2 var(--display); color: var(--ink); padding: 18px 0; border-bottom: 1px solid var(--line); }
  .nav-cta { margin-top: 26px; justify-content: center; font: 600 1.05rem/1 var(--body) !important; }
  body.menu-open { overflow: hidden; }
  .action-grid, .areas-grid, .quote-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .action-film { max-width: 300px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .header-inner { height: 68px; }
  .nav { inset: 68px 0 0 0; }
  .brand img { height: 40px; }
  .brand-word b { font-size: 1.15rem; }
  .brand-word span { font-size: .56rem; }
  .hero { min-height: 88vh; }
  .hero-shade { background: linear-gradient(0deg, rgba(14,38,23,.95) 0%, rgba(14,38,23,.7) 55%, rgba(14,38,23,.25) 100%); }
  .hero-actions .btn { flex: 1 1 100%; }
  .services { grid-template-columns: 1fr; }
  .pairs { grid-template-columns: 1fr; }
  .gallery { columns: 2; column-gap: 10px; }
  .tile { margin-bottom: 10px; }
  .area-list { grid-template-columns: 1fr 1fr; gap: 8px; }
  .area-list li { padding: 10px 12px; font-size: .9rem; }
  .form { grid-template-columns: 1fr; }
  .form-actions { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .extras { flex-direction: column; align-items: stretch; text-align: center; }
  .lightbox { grid-template-columns: 1fr; padding: 60px 12px 88px; }
  .lb-prev, .lb-next { position: absolute; bottom: 18px; }
  .lb-prev { left: 18px; } .lb-next { right: 18px; }
  .wa-float { width: 54px; height: 54px; right: 14px; bottom: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}
