:root {
  --forest: #153a28;
  --forest-dark: #0d2c1e;
  --leaf: #678f35;
  --leaf-bright: #87ad4c;
  --ink: #17251c;
  --muted: #536057;
  --cream: #f2f4ea;
  --paper: #fff;
  --line: rgba(23,37,28,.15);
  --serif: Georgia, 'Times New Roman', serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --shadow: 0 24px 60px rgba(14,44,30,.18);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: #fff; font-family: var(--sans); line-height: 1.55; -webkit-font-smoothing: antialiased; }
body.modal-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { color: inherit; }
.shell { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }
.section { padding: 84px 0; }
.skip-link { position: fixed; left: 16px; top: -80px; z-index: 9999; padding: 10px 14px; background: #fff; box-shadow: var(--shadow); }
.skip-link:focus { top: 0; }

.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.97); border-bottom: 1px solid rgba(23,37,28,.08); backdrop-filter: blur(12px); }
.header-inner { min-height: 82px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 34px; }
.brand { display: inline-flex; align-items: center; gap: 11px; min-width: 220px; }
.brand-emblem { width: 55px; height: 55px; color: var(--leaf); }
.brand-emblem svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 2.7; stroke-linecap: round; stroke-linejoin: round; }
.brand-copy { display: grid; line-height: 1; }
.brand-copy strong { font-family: var(--serif); font-size: 32px; letter-spacing: .075em; font-weight: 500; }
.brand-copy small { margin-top: 6px; font-size: 10px; font-weight: 700; letter-spacing: .17em; }
.primary-nav { display: flex; align-items: center; justify-content: center; gap: clamp(18px, 2.5vw, 34px); }
.primary-nav a { position: relative; padding: 31px 0 28px; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .025em; }
.primary-nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 22px; height: 2px; background: var(--leaf); transform: scaleX(0); transform-origin: center; transition: transform .2s ease; }
.primary-nav a:hover::after, .primary-nav a.active::after { transform: scaleX(1); }
.header-cta { min-width: 150px; min-height: 48px; border: 0; background: var(--leaf); color: #fff; padding: 0 20px; cursor: pointer; text-transform: uppercase; font-size: 12px; font-weight: 800; letter-spacing: .04em; transition: background .2s, transform .2s; }
.header-cta:hover { background: var(--forest); transform: translateY(-2px); }
.menu-toggle { display: none; border: 0; background: transparent; padding: 9px; cursor: pointer; }

.hero { position: relative; min-height: 520px; display: grid; overflow: hidden; color: #fff; }
.hero-media { position: absolute; inset: 0; background: url('images/hero-clean.webp') center 58% / cover no-repeat; transform: scale(1.01); }
.hero::before { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(5,16,11,.83) 0%, rgba(5,16,11,.69) 32%, rgba(5,16,11,.17) 63%, rgba(5,16,11,.04) 100%); }
.hero-inner { position: relative; z-index: 2; display: flex; align-items: center; }
.hero-copy { width: min(560px, 58vw); padding: 74px 0 78px; }
.hero h1 { margin: 0; font-family: var(--serif); font-size: clamp(48px, 5.2vw, 70px); line-height: 1.02; font-weight: 500; letter-spacing: -.025em; }
.hero p { max-width: 460px; margin: 20px 0 0; color: rgba(255,255,255,.9); font-size: 18px; line-height: 1.5; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.button { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 12px; border: 1px solid transparent; padding: 0 22px; cursor: pointer; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; transition: transform .2s, background .2s, color .2s, border-color .2s; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--leaf); color: #fff; }
.button-primary:hover { background: var(--forest); }
.button-outline { background: rgba(0,0,0,.16); border-color: rgba(255,255,255,.84); color: #fff; }
.button-outline:hover { background: #fff; color: var(--forest); }
.button-ghost { background: #fff; border-color: var(--forest); color: var(--forest); }
.button-ghost:hover { background: var(--forest); color: #fff; }
.button.compact { min-height: 44px; padding-inline: 20px; }
.button.full { width: 100%; }

.eyebrow { margin: 0 0 10px; color: var(--leaf); font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.about-grid { display: grid; grid-template-columns: .72fr 1.28fr; align-items: center; gap: clamp(50px, 7vw, 95px); }
.about-copy h2, .section-title h2, .modal-heading h2 { margin: 0; font-family: var(--serif); font-weight: 500; line-height: 1.08; letter-spacing: -.02em; }
.about-copy h2 { font-size: clamp(39px, 4vw, 54px); }
.heading-line { display: block; width: 42px; height: 3px; margin: 18px 0 24px; background: var(--leaf); }
.heading-line.centered { margin-inline: auto; }
.about-copy > p:not(.eyebrow) { max-width: 470px; color: var(--muted); font-size: 15px; }
.about-copy .button { margin-top: 10px; }
.about-image { margin: 0; }
.about-image img { width: 100%; aspect-ratio: 1.82; object-fit: cover; box-shadow: 0 16px 42px rgba(16,39,26,.11); }

.services { background: var(--cream); border-block: 1px solid rgba(23,37,28,.04); }
.section-title { text-align: center; margin-bottom: 46px; }
.section-title h2 { font-size: clamp(38px, 4vw, 54px); }
.services-grid { display: grid; grid-template-columns: repeat(5, 1fr); }
.service { position: relative; min-height: 220px; padding: 4px 28px 0; text-align: center; border-right: 1px solid rgba(23,37,28,.12); }
.service:last-child { border-right: 0; }
.service-icon { width: 74px; height: 74px; margin: 0 auto 18px; display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,.78); color: var(--leaf); }
.service-icon svg { width: 44px; height: 44px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.service h3 { margin: 0 0 9px; font-size: 13px; text-transform: uppercase; letter-spacing: .015em; }
.service p { margin: 0 auto; max-width: 190px; color: #3e4a42; font-size: 13px; }

.work { padding-top: 74px; }
.project-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.project { position: relative; margin: 0; overflow: hidden; background: var(--forest); }
.project img { width: 100%; aspect-ratio: 1.56; object-fit: cover; transition: transform .45s ease, opacity .3s; }
.project figcaption { position: absolute; inset: auto 0 0; padding: 52px 18px 16px; color: #fff; background: linear-gradient(transparent, rgba(7,28,19,.9)); transform: translateY(100%); transition: transform .28s ease; }
.project figcaption span, .project figcaption strong { display: block; }
.project figcaption span { color: #b9d590; font-size: 10px; text-transform: uppercase; letter-spacing: .08em; }
.project figcaption strong { margin-top: 4px; font-family: var(--serif); font-size: 18px; }
.project:hover img { transform: scale(1.04); opacity: .88; }
.project:hover figcaption { transform: translateY(0); }
.work-action { display: flex; justify-content: center; margin-top: 28px; }

.footer { position: relative; padding: 64px 0 18px; color: #fff; background: radial-gradient(circle at 78% 28%, rgba(103,143,53,.16), transparent 26%), linear-gradient(90deg, #102f21, #0c281b); }
.footer::before { content: ''; position: absolute; left: 0; right: 0; top: -10px; height: 15px; background: #fff; clip-path: polygon(0 55%,2% 33%,4% 56%,7% 38%,9% 58%,12% 34%,15% 56%,18% 32%,21% 58%,24% 36%,27% 54%,30% 31%,34% 58%,38% 35%,42% 56%,46% 33%,50% 58%,54% 34%,58% 56%,62% 32%,66% 58%,70% 35%,74% 54%,78% 31%,82% 58%,86% 35%,90% 56%,94% 33%,97% 55%,100% 38%,100% 0,0 0); }
.footer-grid { display: grid; grid-template-columns: 1.05fr .62fr 1.05fr 1.04fr; gap: 54px; align-items: start; }
.brand-light { min-width: 0; color: #fff; }
.brand-light .brand-emblem { color: #a9c87e; width: 50px; height: 50px; }
.brand-light .brand-copy strong { font-size: 29px; }
.footer-brand p { max-width: 250px; margin: 20px 0 0; color: rgba(255,255,255,.7); font-size: 14px; }
.footer-column h3 { margin: 7px 0 18px; font-size: 13px; text-transform: uppercase; letter-spacing: .04em; }
.footer-column nav { display: grid; gap: 6px; color: rgba(255,255,255,.78); font-size: 13px; }
.footer-column nav a:hover { color: #fff; }
.footer-contact { display: grid; gap: 13px; }
.footer-contact h3 { margin-bottom: 6px; }
.footer-contact a { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; color: rgba(255,255,255,.78); font-size: 13px; }
.footer-contact a:hover { color: #fff; }
.footer-contact b { font-weight: 400; overflow-wrap: anywhere; }
.footer-cta { min-height: 170px; padding: 25px 30px; border: 1px solid rgba(216,232,195,.42); display: flex; flex-direction: column; justify-content: center; text-align: center; }
.footer-cta p { margin: 0 0 20px; font-family: var(--serif); font-size: 22px; font-weight: 700; text-transform: uppercase; line-height: 1.35; }
.footer-cta button { min-height: 48px; border: 0; background: var(--leaf); color: #fff; cursor: pointer; font-size: 12px; font-weight: 800; text-transform: uppercase; }
.footer-cta button:hover { background: #7da84a; }
.copyright { margin-top: 34px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.09); color: rgba(255,255,255,.6); text-align: center; font-size: 12px; }

.modal { width: min(760px, calc(100% - 34px)); max-height: calc(100vh - 40px); padding: 42px; border: 0; color: var(--ink); background: #fff; box-shadow: 0 30px 100px rgba(0,0,0,.4); overflow: auto; }
.modal::backdrop { background: rgba(4,16,10,.76); backdrop-filter: blur(4px); }
.modal-close { position: absolute; right: 17px; top: 12px; width: 40px; height: 40px; border: 0; background: transparent; color: var(--ink); cursor: pointer; font-size: 31px; line-height: 1; }
.modal-heading { padding-right: 35px; margin-bottom: 28px; }
.modal-heading h2 { font-size: 40px; }
.modal-heading > p:last-child { margin-bottom: 0; color: var(--muted); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
#quote-form label { display: grid; gap: 7px; margin-bottom: 16px; }
#quote-form label > span { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
#quote-form input, #quote-form select, #quote-form textarea { width: 100%; border: 1px solid rgba(23,37,28,.2); background: #f7f8f3; padding: 12px 13px; outline: 0; }
#quote-form input:focus, #quote-form select:focus, #quote-form textarea:focus { border-color: var(--leaf); box-shadow: 0 0 0 3px rgba(103,143,53,.12); }
#quote-form textarea { resize: vertical; }
.process-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.process-list li { display: grid; grid-template-columns: 50px 1fr; gap: 14px; padding: 20px; background: var(--cream); }
.process-list li > span { color: var(--leaf); font-family: var(--serif); font-size: 30px; line-height: 1; }
.process-list h3 { margin: 0 0 5px; font-family: var(--serif); font-size: 22px; }
.process-list p { margin: 0; color: var(--muted); font-size: 13px; }

.reveal { opacity: 0; transform: translateY(20px); transition: opacity .62s ease, transform .62s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 1080px) {
  .header-inner { gap: 18px; }
  .primary-nav { gap: 18px; }
  .primary-nav a { font-size: 11px; }
  .header-cta { min-width: 130px; }
  .brand { min-width: 205px; }
  .services-grid { grid-template-columns: repeat(3, 1fr); row-gap: 44px; }
  .service:nth-child(3) { border-right: 0; }
  .service:nth-child(4), .service:nth-child(5) { grid-column: span 1; }
  .service:nth-child(4) { margin-left: 50%; }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer-cta { grid-column: 1 / -1; min-height: auto; display: grid; grid-template-columns: 1fr auto; align-items: center; text-align: left; gap: 24px; }
  .footer-cta p { margin: 0; }
  .footer-cta button { min-width: 230px; }
}

@media (max-width: 900px) {
  .header-inner { min-height: 72px; grid-template-columns: auto auto; justify-content: space-between; }
  .brand-emblem { width: 47px; height: 47px; }
  .brand-copy strong { font-size: 27px; }
  .menu-toggle { display: grid; grid-template-columns: 23px auto; grid-template-rows: repeat(3,4px); align-items: center; column-gap: 9px; }
  .menu-toggle span { grid-column: 1; width: 23px; height: 2px; background: currentColor; }
  .menu-toggle b { grid-column: 2; grid-row: 1 / span 3; font-size: 10px; text-transform: uppercase; letter-spacing: .08em; }
  .primary-nav { position: absolute; left: 0; right: 0; top: 100%; display: grid; gap: 0; padding: 8px 24px 22px; background: #fff; border-top: 1px solid var(--line); opacity: 0; transform: scaleY(0); transform-origin: top; pointer-events: none; transition: opacity .2s, transform .2s; }
  .primary-nav.open { opacity: 1; transform: scaleY(1); pointer-events: auto; }
  .primary-nav a { padding: 13px 3px; border-bottom: 1px solid var(--line); }
  .primary-nav a::after { display: none; }
  .header-cta { display: none; }
  .hero { min-height: 560px; }
  .hero-copy { width: min(640px, 88vw); }
  .about-grid { grid-template-columns: 1fr; }
  .about-image { order: -1; }
  .project-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-cta { grid-template-columns: 1fr; text-align: center; }
  .footer-cta button { min-width: 0; }
}

@media (max-width: 640px) {
  .shell { width: min(100% - 32px, 1180px); }
  .section { padding: 70px 0; }
  .brand { min-width: 0; gap: 8px; }
  .brand-emblem { width: 42px; height: 42px; }
  .brand-copy strong { font-size: 23px; }
  .brand-copy small { font-size: 8px; }
  .hero { min-height: 600px; }
  .hero-media { background-position: 64% center; }
  .hero::before { background: linear-gradient(90deg, rgba(5,16,11,.89), rgba(5,16,11,.62)); }
  .hero-copy { width: 100%; padding: 76px 0; }
  .hero h1 { font-size: 49px; }
  .hero p { font-size: 16px; }
  .hero-actions { display: grid; }
  .hero-actions .button { width: 100%; }
  .about-image img { aspect-ratio: 1.35; }
  .services-grid { grid-template-columns: 1fr; row-gap: 0; }
  .service, .service:nth-child(3), .service:nth-child(4), .service:nth-child(5) { min-height: auto; margin: 0; padding: 28px 8px; border-right: 0; border-bottom: 1px solid rgba(23,37,28,.12); }
  .service:last-child { border-bottom: 0; }
  .project-grid { grid-template-columns: 1fr; }
  .project figcaption { transform: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .modal { padding: 34px 20px 24px; }
  .modal-heading h2 { font-size: 34px; }
  .field-row, .process-list { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
