﻿@font-face {
  font-family: "Moonshiner";
  src: url("../site-assets/fonts/Moonshiner-Regular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --green: #2e6f40;
  --green-dark: #20492a;
  --green-ink: #0c3f27;
  --orange: #ff7e25;
  --orange-dark: #d8691e;
  --off-white: #f2f2f2;
  --cream: #faf8f2;
  --ink: #18251d;
  --muted: #627064;
  --line: #dfe5dc;
  --white: #ffffff;
  --shadow: 0 18px 46px rgba(16, 31, 23, 0.14);
  --font-display: "Moonshiner", Georgia, serif;
  --font-body: altivo, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --container: 1180px;
}

* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: 150px;
}
body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--white);
  font-family: var(--font-body);
  font-synthesis: none;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }

.container {
  width: min(var(--container), calc(100% - 40px));
  margin: 0 auto;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  background: var(--orange);
  color: var(--white);
  padding: 10px 14px;
  font-weight: 800;
}
.skip-link:focus { top: 16px; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

h1, h2, h3 {
  margin: 0 0 18px;
  color: var(--green-dark);
  font-family: var(--font-display);
  font-weight: 400;
  font-style: normal;
  line-height: 1.04;
  letter-spacing: 0;
  text-transform: uppercase;
  text-wrap: balance;
}
h1 { font-size: clamp(3.6rem, 6.5vw, 7rem); max-width: 950px; }
h2 { font-size: clamp(2.15rem, 3.8vw, 4rem); }
h3 { font-size: clamp(1.45rem, 2.2vw, 2.15rem); }
p { margin: 0 0 18px; }

.eyebrow {
  margin: 0 0 12px;
  color: var(--orange);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.accent-line {
  width: 170px;
  height: 5px;
  margin: 24px 0 26px;
  background: var(--orange);
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 25px 12px;
  border: 2px solid transparent;
  border-radius: 8px;
  font-size: 0.86rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  line-height: 1.1;
  text-align: center;
  text-transform: uppercase;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease, color 160ms ease;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--orange); color: var(--white); }
.btn--primary:hover { background: var(--orange-dark); }
.btn--secondary { background: var(--green-dark); color: var(--white); }
.btn--secondary:hover { background: var(--green-ink); }
.btn--ghost { border-color: rgba(255,255,255,0.78); color: var(--white); }
.btn--ghost:hover { background: var(--white); color: var(--green-dark); }

.top-bar {
  background: var(--orange-dark);
  color: var(--white);
  font-weight: 900;
  letter-spacing: 0.06em;
}
.top-bar__inner {
  display: flex;
  align-items: center;
  gap: 30px;
  min-height: 44px;
  font-size: 0.83rem;
  text-transform: uppercase;
}
.top-bar__inner a:last-child { margin-left: auto; text-transform: none; letter-spacing: 0.01em; }
.top-bar__inner a::before,
.top-bar__inner span::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 9px;
  background: var(--white);
  border-radius: 50%;
  vertical-align: 1px;
}

.site-header {
  position: relative;
  z-index: 20;
  background: var(--green-ink);
  color: var(--white);
  box-shadow: 0 12px 28px rgba(0,0,0,0.18);
}
.site-header__texture,
.page-hero__texture,
.quote-strip__texture {
  position: absolute;
  inset: 0;
  background-image: url("../site-assets/images/topo-white.svg");
  background-size: 760px auto;
  background-position: center;
  opacity: 0.11;
  pointer-events: none;
}
.site-header__inner {
  position: relative;
  min-height: 118px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}
.brand img { width: clamp(250px, 28vw, 380px); }
.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 0.9rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.site-nav a {
  position: relative;
  color: var(--white);
  padding: 10px 0;
}
.site-nav a:hover,
.site-nav a[aria-current="page"] { color: var(--orange); }
.site-nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 3px;
  height: 3px;
  background: var(--orange);
}
.site-nav .nav-cta {
  padding: 13px 22px 12px;
  border-radius: 8px;
  background: var(--orange);
  color: var(--white);
}
.site-nav .nav-cta:hover,
.site-nav .nav-cta[aria-current="page"] { background: var(--orange-dark); color: var(--white); }
.site-nav .nav-cta::after { display: none; }
.nav-toggle {
  display: none;
  width: 48px;
  height: 44px;
  border: 1px solid rgba(255,255,255,0.38);
  border-radius: 8px;
  background: rgba(12,63,39,0.36);
  cursor: pointer;
}
.nav-toggle span:not(.sr-only) {
  display: block;
  width: 24px;
  height: 2px;
  margin: 5px auto;
  background: var(--white);
  transition: transform 160ms ease, opacity 160ms ease;
}
.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); }

.hero {
  position: relative;
  min-height: calc(100vh - 162px);
  display: grid;
  align-items: center;
  overflow: hidden;
  background: #101a13;
}
.hero__image,
.hero__shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hero__image { object-fit: cover; object-position: 58% center; }
.hero__shade { background: linear-gradient(90deg, rgba(7,18,12,0.82) 0%, rgba(7,18,12,0.58) 43%, rgba(7,18,12,0.24) 72%, rgba(7,18,12,0.38) 100%); }
.hero__content {
  position: relative;
  max-width: 950px;
  padding: 82px 0 92px;
  color: var(--white);
}
.hero h1 { color: var(--white); }
.hero__eyebrow {
  max-width: 650px;
  color: var(--white);
  font-size: clamp(1rem, 1.55vw, 1.45rem);
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.35;
  text-transform: none;
}
.hero__lead {
  max-width: 760px;
  font-size: clamp(1.02rem, 1.45vw, 1.28rem);
  font-weight: 850;
  line-height: 1.45;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

.section { padding: 96px 0; }
.section--soft { background: var(--off-white); }
.section--dark { position: relative; overflow: hidden; background: var(--green-ink); color: var(--white); }
.section-heading { max-width: 760px; margin-bottom: 42px; }
.section-heading--center { margin-inline: auto; text-align: center; }
.section-heading--center p { margin-inline: auto; }
.section-heading > p:not(.eyebrow) { color: var(--muted); font-size: 1.06rem; }
.section-heading--light h2,
.section-heading--light p { color: var(--white); }

.service-card-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.service-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}
.service-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.service-card__body { display: flex; flex: 1; flex-direction: column; padding: 24px; }
.service-card h3 { font-size: 1.86rem; }
.service-card p { color: var(--muted); font-size: 0.94rem; }
.service-card a { margin-top: auto; color: var(--orange-dark); font-size: 0.78rem; font-weight: 950; letter-spacing: 0.08em; text-transform: uppercase; }

.split-grid { display: grid; grid-template-columns: 1fr 0.9fr; gap: 58px; align-items: center; }
.split-grid--wide { grid-template-columns: 1fr 0.72fr; }
.split-copy > p:not(.eyebrow), .service-area__copy p, .page-hero p { color: var(--muted); font-size: 1.06rem; }
.image-panel { overflow: hidden; border-radius: 8px; box-shadow: var(--shadow); }
.image-panel img { width: 100%; height: 100%; min-height: 420px; object-fit: cover; }
.image-panel--tall img { min-height: 560px; }
.check-list { display: grid; gap: 18px; margin: 30px 0 0; padding: 0; list-style: none; }
.check-list li { position: relative; padding-left: 34px; font-weight: 800; line-height: 1.55; }
.check-list li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 10px; height: 10px; background: var(--orange); border-radius: 50%; }

.process-band { background-image: linear-gradient(rgba(12,63,39,0.97), rgba(12,63,39,0.97)); }
.process-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.process-grid article { border: 1px solid rgba(255,255,255,0.2); border-radius: 8px; background: rgba(9, 33, 20, 0.62); padding: 32px; }
.process-grid span, .values-grid span { display: block; margin-bottom: 18px; color: var(--orange); font-family: var(--font-display); font-size: 2.4rem; font-weight: 400; line-height: 1; }
.process-grid h3 { color: var(--white); font-size: 1.86rem; }
.process-grid p { color: rgba(255,255,255,0.82); }

.service-area__grid { display: grid; grid-template-columns: 0.92fr 1fr; gap: 64px; align-items: center; }
.service-area__image { overflow: hidden; border-radius: 8px; }
.service-area__image img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; }
.area-tags { display: flex; flex-wrap: wrap; gap: 10px; margin: 28px 0 30px; }
.area-tags span, .inline-service-list li { display: inline-flex; align-items: center; min-height: 34px; padding: 7px 12px; border-radius: 999px; background: var(--off-white); color: var(--green-dark); font-size: 0.82rem; font-weight: 900; }

.faq-layout { display: grid; grid-template-columns: 0.7fr 1fr; gap: 58px; }
.accordion { border-top: 1px solid var(--line); }
.accordion__item { border-bottom: 1px solid var(--line); }
.accordion__trigger { position: relative; width: 100%; padding: 22px 44px 22px 0; border: 0; background: transparent; color: var(--green-dark); font-weight: 950; text-align: left; cursor: pointer; }
.accordion__trigger::after { content: "+"; position: absolute; right: 8px; top: 17px; color: var(--orange); font-size: 1.5rem; font-weight: 900; }
.accordion__trigger[aria-expanded="true"]::after { content: "-"; }
.accordion__panel { display: none; padding: 0 24px 22px 0; color: var(--muted); }
.accordion__panel.is-open { display: block; }

.quote-strip { position: relative; overflow: hidden; padding: 54px 0; background: var(--green-ink); color: var(--white); }
.quote-strip__texture { opacity: 0.08; }
.quote-strip h2 { color: var(--white); margin-bottom: 0; }
.quote-strip__inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 28px; }

.page-hero { position: relative; overflow: hidden; padding: 86px 0 92px; background: var(--green-ink); color: var(--white); }
.page-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(12,63,39,0.97), rgba(32,73,42,0.86)); }
.page-hero__texture { opacity: 0.08; }
.page-hero__inner { position: relative; z-index: 2; max-width: 820px; }
.page-hero h1 { color: var(--white); font-size: clamp(3rem, 5.4vw, 5.9rem); }
.page-hero p { color: rgba(255,255,255,0.86); }

.services-layout { display: grid; grid-template-columns: 250px 1fr; gap: 42px; align-items: start; }
.service-menu { position: sticky; top: 22px; display: grid; gap: 8px; padding: 18px; border: 1px solid var(--line); border-radius: 8px; background: var(--off-white); }
.service-menu a { padding: 11px 12px; border-radius: 6px; color: var(--green-dark); font-size: 0.82rem; font-weight: 900; text-transform: uppercase; }
.service-menu a:hover, .service-menu a.is-active { background: var(--white); color: var(--orange-dark); }
.service-details { display: grid; gap: 30px; }
.service-detail { scroll-margin-top: 150px; display: grid; grid-template-columns: 0.92fr 1fr; gap: 34px; align-items: center; padding: 34px; border: 1px solid var(--line); border-radius: 8px; background: var(--white); }
.service-detail--reverse img { order: 2; }
.service-detail img { width: 100%; aspect-ratio: 4 / 3; border-radius: 6px; object-fit: cover; }
.service-detail p { color: var(--muted); }
.inline-service-list { display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0 0; padding: 0; list-style: none; }

blockquote { margin: 28px 0; padding: 22px 24px; border-left: 5px solid var(--orange); background: var(--off-white); color: var(--green-dark); font-weight: 850; }
.team-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.team-card { padding: 32px; border: 1px solid var(--line); border-radius: 8px; background: var(--white); }
.team-card__role { color: var(--orange-dark); font-weight: 950; text-transform: uppercase; }
.values-grid { display: grid; grid-template-columns: 1.2fr repeat(3, 1fr); gap: 22px; }
.values-grid article { padding: 28px; border-radius: 8px; background: var(--off-white); }
.values-grid article:first-child { background: var(--green-dark); color: var(--white); }
.values-grid article:first-child h2 { color: var(--white); }
.values-grid p { color: var(--muted); }
.values-grid article:first-child p { color: rgba(255,255,255,0.82); }

.contact-grid { display: grid; grid-template-columns: 0.72fr 1fr; gap: 38px; align-items: start; }
.contact-card, .quote-form { border: 1px solid var(--line); border-radius: 8px; background: var(--white); box-shadow: var(--shadow); }
.contact-card { padding: 34px; }
.contact-list { display: grid; gap: 12px; margin: 28px 0; }
.contact-list a, .contact-list div { display: grid; gap: 2px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.contact-list strong { color: var(--green-dark); text-transform: uppercase; font-size: 0.78rem; letter-spacing: 0.08em; }
.contact-list span { overflow-wrap: anywhere; }
.fine-print { color: var(--muted); font-size: 0.92rem; }
.quote-form { display: grid; gap: 18px; padding: 34px; }
.form-row--two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
label { display: grid; gap: 8px; color: var(--green-dark); font-size: 0.88rem; font-weight: 900; text-transform: uppercase; }
label span { color: var(--orange-dark); }
input, select, textarea { width: 100%; border: 1px solid #cbd6ce; border-radius: 6px; background: var(--off-white); color: var(--ink); padding: 13px 14px; text-transform: none; }
textarea { resize: vertical; }
.field-error { border-color: #b42318; background: #fff7f5; }
.form-alert { padding: 13px 14px; border-radius: 6px; font-weight: 800; }
.form-alert--success { background: #eaf4eb; color: var(--green-dark); }
.form-alert--error { background: #fff1ec; color: #9a3412; }

.site-footer { background: var(--off-white); color: var(--muted); }
.footer-main { display: grid; grid-template-columns: 1.4fr 0.6fr 0.8fr; gap: 48px; padding: 64px 0 44px; }
.footer-logo { width: 230px; margin-bottom: 18px; }
.site-footer h2 { margin-bottom: 18px; color: var(--green-dark); font-family: var(--font-body); font-size: 0.88rem; font-weight: 950; letter-spacing: 0.08em; text-transform: uppercase; }
.site-footer a, .site-footer span { display: block; margin-bottom: 9px; overflow-wrap: anywhere; }
.site-footer a:hover { color: var(--orange-dark); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 22px 0; border-top: 1px solid var(--line); font-size: 0.9rem; }
.footer-bottom p { margin: 0; }

input:focus, select:focus, textarea:focus, .accordion__trigger:focus, .btn:focus, a:focus, button:focus { outline: 3px solid rgba(255,126,37,0.42); outline-offset: 3px; }

@media (max-width: 1100px) {
  .service-card-grid,
  .process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .split-grid,
  .service-area__grid,
  .faq-layout,
  .contact-grid,
  .values-grid {
    grid-template-columns: 1fr;
  }
  .top-bar__inner a:last-child {
    display: none;
  }
}

@media (max-width: 992px) {
  html {
    scroll-padding-top: 112px;
  }
  .site-header,
  .site-header__inner {
    overflow: visible;
  }
  .site-header__inner {
    min-height: 96px;
    gap: 16px;
    position: relative;
  }
  .brand {
    min-width: 0;
  }
  .brand img {
    width: min(295px, calc(100vw - 116px));
  }
  .nav-toggle {
    display: inline-flex;
    flex: 0 0 48px;
    width: 48px;
    height: 44px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(255,255,255,0.75);
    border-radius: 8px;
    background: var(--orange);
    cursor: pointer;
    z-index: 5;
  }
  .nav-toggle span:not(.sr-only) {
    display: block;
    width: 24px;
    height: 2px;
    margin: 3px auto;
    background: var(--white);
  }
  .site-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% - 8px);
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 14px;
    border-radius: 8px;
    background: var(--green-dark);
    box-shadow: var(--shadow);
  }
  .site-nav.is-open {
    display: flex;
  }
  .site-nav a {
    padding: 14px;
    border-radius: 6px;
  }
  .site-nav a[aria-current="page"]::after {
    display: none;
  }
  .site-nav .nav-cta {
    text-align: center;
    margin-top: 8px;
  }
  .services-layout {
    grid-template-columns: 1fr;
  }
  .service-menu {
    position: static;
    display: flex;
    overflow-x: auto;
    gap: 10px;
    padding: 12px;
    scroll-snap-type: x proximity;
  }
  .service-menu a {
    flex: 0 0 auto;
    scroll-snap-align: start;
    white-space: nowrap;
  }
}

@media (max-width: 820px) {
  .container {
    width: min(100% - 28px, var(--container));
  }
  h1 {
    font-size: clamp(2.8rem, 11.8vw, 4.4rem);
    line-height: 1.07;
  }
  h2 {
    font-size: clamp(1.9rem, 8vw, 3rem);
    line-height: 1.12;
  }
  h3 {
    font-size: clamp(1.35rem, 6vw, 2rem);
    line-height: 1.14;
  }
  .top-bar__inner {
    justify-content: center;
    min-height: 42px;
    font-size: 0.78rem;
  }
  .top-bar__inner span,
  .top-bar__inner a:last-child {
    display: none;
  }
  .top-bar__inner a::before {
    display: none;
  }
  .hero {
    min-height: 680px;
  }
  .hero__image {
    object-position: 64% center;
  }
  .hero__content {
    padding: 56px 0 70px;
  }
  .hero__eyebrow {
    max-width: 24rem;
    font-size: 0.98rem;
    letter-spacing: 0.06em;
  }
  .hero__lead {
    max-width: 22rem;
    font-size: 0.96rem;
    line-height: 1.45;
  }
  .section {
    padding: 72px 0;
  }
  .section-heading {
    margin-bottom: 34px;
  }
  .section-heading--center .eyebrow,
  .eyebrow {
    overflow-wrap: anywhere;
    line-height: 1.35;
  }
  .service-card-grid,
  .team-grid,
  .footer-main {
    grid-template-columns: 1fr;
  }
  .service-detail,
  .service-detail--reverse {
    grid-template-columns: 1fr;
    padding: 22px;
    scroll-margin-top: 116px;
  }
  .service-detail--reverse img {
    order: 0;
  }
  .process-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .process-grid article {
    padding: 28px;
  }
  .quote-strip__inner,
  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }
  .form-row--two {
    grid-template-columns: 1fr;
  }
  .contact-card,
  .quote-form {
    overflow: hidden;
  }
  .contact-card h2 {
    max-width: 20rem;
    font-size: clamp(1.55rem, 6vw, 2.05rem);
  }
  .image-panel img,
  .image-panel--tall img {
    min-height: 320px;
  }
}

@media (max-width: 520px) {
  .site-header__inner {
    min-height: 88px;
  }
  .brand img {
    width: min(235px, calc(100vw - 112px));
  }
  .hero {
    min-height: 650px;
  }
  .hero__shade {
    background: linear-gradient(90deg, rgba(7,18,12,0.84), rgba(7,18,12,0.5));
  }
  .hero h1 {
    max-width: 21rem;
    font-size: clamp(2.35rem, 10.6vw, 3.05rem);
  }
  .hero__lead,
  .hero__eyebrow,
  .section-heading--center > p:not(.eyebrow),
  .page-hero p,
  .contact-card p,
  .service-area__copy p,
  .split-copy > p:not(.eyebrow) {
    max-width: 20.5rem;
  }
  .page-hero {
    padding: 70px 0 74px;
  }
  .page-hero h1 {
    max-width: 21rem;
    font-size: clamp(2.4rem, 10vw, 3.1rem);
  }
  .section-heading--center h2 {
    max-width: 22rem;
    margin-left: auto;
    margin-right: auto;
  }
  .hero__actions .btn,
  .quote-strip .btn,
  .quote-form .btn {
    width: 100%;
  }
  .service-card__body,
  .contact-card,
  .quote-form,
  .team-card,
  .values-grid article {
    padding: 24px;
  }
  .footer-logo {
    width: 220px;
  }
}
