/* =========================================================================
   Aspen Tree Services Inc. — site styles
   Based on the Aspen Tree Services design system (design tokens, typography,
   spacing, component rules).
   ========================================================================= */

/* ---------- Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@300;400;500;600&family=Source+Sans+3:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&family=Lora:ital,wght@0,400;0,500;0,600;1,400&display=swap');

/* Estrangelo Edessa — reserved exclusively for the "Aspen" wordmark.
   Shipped from the design system (Syriac Computing Institute / Beth Mardutho). */
@font-face {
  font-family: 'Estrangelo Edessa';
  src: url('../fonts/estre.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  --green-50:  #eef3ec;
  --green-100: #d7e3d3;
  --green-300: #98c898;
  --green-500: #6a9068;
  --green-700: #386838;
  --green-900: #1f3a20;

  --teal-500:  #4a746e;
  --teal-700:  #2a4f4a;
  --teal-900:  #143230;

  --cert-green: #4a7a3a;

  --neutral-0:   #ffffff;
  --neutral-50:  #f4f4f2;
  --neutral-100: #e9e9e5;
  --neutral-200: #d4d4cf;
  --neutral-300: #b4b4ad;
  --neutral-500: #7b7b75;
  --neutral-700: #454540;
  --neutral-900: #1c1c1a;

  --bg-1: var(--neutral-50);
  --bg-2: var(--neutral-100);
  --bg-3: var(--neutral-0);
  --bg-dark: var(--green-900);

  --fg-1: var(--neutral-900);
  --fg-2: var(--neutral-700);
  --fg-3: var(--neutral-500);
  --fg-on-dark: var(--neutral-50);

  --line: var(--neutral-200);
  --line-strong: var(--neutral-300);

  --accent: var(--green-700);
  --accent-hover: var(--green-900);
  --accent-soft: var(--green-50);

  /* Wordmark ONLY — the "Aspen" logotype. Do not use elsewhere. */
  --font-wordmark: 'Estrangelo Edessa', 'Palatino Linotype', 'Book Antiqua', Palatino, serif;
  /* Display — section titles, page headers, hero title. */
  --font-display: 'Oswald', 'Impact', system-ui, sans-serif;
  --font-condensed: 'Oswald', 'Impact', system-ui, sans-serif;
  --font-body: 'Source Sans 3', system-ui, sans-serif;
  --font-serif: 'Lora', Georgia, serif;

  --text-xs:   0.75rem;
  --text-sm:   0.875rem;
  --text-base: 1rem;
  --text-lg:   1.125rem;
  --text-xl:   1.375rem;
  --text-2xl:  1.75rem;
  --text-3xl:  2.25rem;
  --text-4xl:  3rem;
  --text-5xl:  4rem;

  --space-1:  4px;
  --space-2:  8px;
  --space-3:  12px;
  --space-4:  16px;
  --space-6:  24px;
  --space-8:  32px;
  --space-12: 48px;
  --space-16: 64px;
  --space-24: 96px;

  --radius-sm: 2px;
  --radius-md: 4px;
  --radius-lg: 8px;
  --radius-pill: 999px;

  --shadow-1: 0 1px 2px rgba(20, 30, 20, 0.06), 0 1px 1px rgba(20, 30, 20, 0.04);
  --shadow-2: 0 8px 24px rgba(20, 30, 20, 0.10), 0 2px 6px rgba(20, 30, 20, 0.06);

  --ease-out: cubic-bezier(0.22, 0.61, 0.36, 1);
  --dur-fast: 80ms;
  --dur-base: 150ms;
  --dur-slow: 250ms;

  --max-w: 1200px;
  --nav-h: 64px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.55;
  color: var(--fg-1);
  background: var(--bg-1);
}
img { max-width: 100%; display: block; }
a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-thickness: 1px;
  transition: color var(--dur-base) var(--ease-out);
}
a:hover { color: var(--accent-hover); }
hr { border: 0; border-top: 1px solid var(--line); margin: var(--space-8) 0; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.15;
  color: var(--fg-1);
  margin: 0;
  letter-spacing: 0;
}
h1 { font-size: var(--text-5xl); }
h2 { font-size: var(--text-3xl); }
h3 { font-size: var(--text-2xl); }
h4 {
  font-size: var(--text-xl);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-family: var(--font-body);
}
h5 {
  font-size: var(--text-base);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-family: var(--font-body);
}
p {
  margin: 0 0 var(--space-4) 0;
  color: var(--fg-2);
  text-wrap: pretty;
  max-width: 68ch;
}
small, .text-caption {
  font-size: var(--text-sm);
  color: var(--fg-3);
}

/* ---------- Utilities ---------- */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--space-8);
}
.eyebrow {
  font-family: var(--font-body);
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--space-3);
}
.wordmark {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}
.section {
  padding: var(--space-16) 0;
}
.section--tight { padding: var(--space-12) 0; }
.section--alt { background: var(--neutral-0); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section--silver { background: var(--bg-2); }
.section--dark {
  background: var(--bg-dark);
  color: var(--fg-on-dark);
}
.section--dark h1, .section--dark h2, .section--dark h3, .section--dark h4 { color: var(--fg-on-dark); }
.section--dark p { color: var(--green-300); }
.section--dark .eyebrow { color: var(--green-300); }

.section-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: var(--text-3xl);
  line-height: 1.15;
  margin: 0 0 var(--space-4);
  max-width: 22ch;
}
.section-lead {
  font-size: var(--text-lg);
  max-width: 60ch;
  margin: 0 0 var(--space-6);
  color: var(--fg-2);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--text-sm);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 12px 20px;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  line-height: 1;
  white-space: nowrap;
  text-decoration: none;
  transition: background var(--dur-base) var(--ease-out),
              color var(--dur-base) var(--ease-out),
              border-color var(--dur-base) var(--ease-out),
              transform var(--dur-fast) var(--ease-out);
}
.btn:hover { text-decoration: none; }
.btn:active { transform: scale(0.98); }
.btn:focus-visible { outline: 2px solid var(--green-500); outline-offset: 2px; }
.btn--primary { background: var(--green-700); color: var(--neutral-50); }
.btn--primary:hover { background: var(--green-900); color: var(--neutral-50); }
.btn--secondary { background: var(--neutral-0); color: var(--green-700); border-color: var(--green-700); }
.btn--secondary:hover { background: var(--green-50); color: var(--green-900); border-color: var(--green-900); }
.btn--tertiary { background: transparent; color: var(--fg-2); border-color: var(--line-strong); }
.btn--tertiary:hover { color: var(--fg-1); border-color: var(--neutral-500); }
.btn--ghost { background: transparent; color: var(--green-700); border: 0; padding: 8px 0; }
.btn--ghost:hover { color: var(--green-900); }
.btn--lg { padding: 15px 26px; font-size: var(--text-base); }
.btn--sm { padding: 8px 14px; font-size: var(--text-xs); }
.btn--block { display: block; width: 100%; text-align: center; }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}
.btn-row--center { justify-content: center; }

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--nav-h);
  background: var(--bg-1);
  border-bottom: 1px solid var(--line);
  transition: background var(--dur-base) var(--ease-out),
              box-shadow var(--dur-base) var(--ease-out);
}
.nav.is-scrolled {
  background: rgba(244, 244, 242, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: var(--shadow-2);
}
.nav__inner {
  max-width: var(--max-w);
  height: 100%;
  margin: 0 auto;
  padding: 0 var(--space-8);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
}
.nav__brand {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  text-decoration: none;
}
.nav__brand:hover { color: inherit; }
.nav__brand img { height: 40px; width: auto; }
.nav__wordmark {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.nav__wordmark-name {
  font-family: var(--font-wordmark);
  font-weight: 400;
  font-size: 25px;
  letter-spacing: 0.04em;
  color: var(--fg-1);
}
.nav__wordmark-sub {
  font-family: var(--font-body);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--fg-2);
  margin-top: 4px;
}
.nav__links {
  display: flex;
  gap: var(--space-8);
}
.nav__links a {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  color: var(--fg-2);
  text-decoration: none;
  padding: 4px 0;
  border-bottom: 2px solid transparent;
  transition: color var(--dur-base) var(--ease-out), border-color var(--dur-base) var(--ease-out);
}
.nav__links a:hover { color: var(--fg-1); }
.nav__links a.is-active {
  color: var(--accent);
  border-bottom-color: var(--accent);
}
.nav__cta { font-size: 1rem; }
.nav__toggle {
  display: none;
  width: 40px; height: 40px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  cursor: pointer;
  padding: 0;
  align-items: center;
  justify-content: center;
  color: var(--fg-1);
}
.nav__toggle:hover { border-color: var(--neutral-500); }

/* ---------- Hero (auto-playing scene) ----------
   .hero is a static block taking ~2/3 of the viewport. JS drives an
   animation loop on .hero__stage: seedling -> tree -> cut -> fall -> fade,
   repeating indefinitely. No scroll coupling. */
.hero {
  position: relative;
  height: calc(75vh - var(--nav-h));
  overflow: hidden;
}
.hero__inner {
  max-width: var(--max-w);
  width: 100%;
  height: 100%;
  margin: 0 auto;
  padding: 0 var(--space-8);
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: var(--space-12);
  align-items: center;
}
.hero__copy { max-width: 640px; }
.hero__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.25rem, 5vw, 4rem);
  line-height: 1.1;
  margin: 0 0 var(--space-6);
  max-width: 16ch;
}
.hero__lead {
  font-size: var(--text-lg);
  color: var(--fg-2);
  margin: 0 0 var(--space-6);
  max-width: 52ch;
}
.hero__creds {
  margin-top: var(--space-8);
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--fg-2);
  font-size: 0.95rem;
  max-width: 52ch;
}

/* Stage: the animation column. Opacity is tweened by JS for the loop fade. */
.hero__stage {
  position: relative;
  justify-self: end;
  align-self: stretch;
  width: 100%;
  height: 100%;
}

/* ---------- Hero animation elements ---------- */

/* Where the tree lives — bottom-center of the animation stage. */
.tree-anchor {
  position: absolute;
  left: 50%;
  bottom: 5%;
  width: min(20vh, 60vw);
  height: 90%;
  transform: translateX(-50%);
  pointer-events: none;
}
.tree-wrap {
  position: absolute;
  inset: 0;
  transform-origin: 50% 100%;
  will-change: transform;
}
.tree-wrap > svg {
  width: 100%;
  height: 100%;
  display: block;
  overflow: visible;
}

/* Seedling sprout shown at the very start of the animation. */
.sprout {
  position: absolute;
  left: 50%;
  bottom: 4vh;
  width: 8vh;
  height: 10vh;
  transform: translateX(-50%);
  transform-origin: 50% 100%;
  pointer-events: none;
  opacity: 0;
}
.sprout svg { width: 100%; height: 100%; display: block; overflow: visible; }

/* Chainsaw — raster image sliding in from the right. */
.saw {
  position: absolute;
  left: 50%;
  bottom: 4vh;
  width: 16vh;
  height: auto;
  transform-origin: 50% 50%;
  transform: translate(60vw, -1vh);
  pointer-events: none;
  opacity: 0;
  will-change: transform, opacity;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,.18));
}
.saw img { width: 100%; height: auto; display: block; }

/* Sawdust particles */
.dust {
  position: absolute;
  left: 50%;
  bottom: 4vh;
  width: 0; height: 0;
  pointer-events: none;
}
.dust span {
  position: absolute;
  width: 4px; height: 4px;
  background: #a87a3e;
  border-radius: 50%;
  opacity: 0;
  transform: translate(-50%, 0);
  will-change: transform, opacity;
}

/* Reduced-motion: skip the animation loop and show the mature tree. */
@media (prefers-reduced-motion: reduce) {
  .hero { height: auto; overflow: visible; padding: var(--space-12) 0; }
  .hero__inner { height: auto; }
  .hero__stage { min-height: 420px; }
}

/* ---------- Page headers (non-home pages) ---------- */
/* Compact text band; the tree floats on the right, lifted out of the flow
   so content starts immediately. The tree is sized so it fits fully within
   the header band — no overhang into the following section. */
.page-header {
  padding: var(--space-8) 0;
  background: var(--bg-2);
  border-bottom: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.page-header__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--space-8);
  position: relative;
  min-height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.page-header__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2rem, 4vw, 3rem);
  margin: 0 0 var(--space-3);
  max-width: 22ch;
  line-height: 1.1;
}
.page-header__lead {
  font-size: var(--text-lg);
  color: var(--fg-2);
  max-width: 60ch;
  margin: 0;
}
/* ---------- Stats band ---------- */
.stats {
  background: var(--bg-dark);
  color: var(--fg-on-dark);
  padding: var(--space-8) 0;
}
.stats__grid {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--space-8);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-8);
}
.stat { text-align: center; }
.stat__num {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  color: var(--fg-on-dark);
  line-height: 1;
  margin-bottom: var(--space-2);
}
.stat__label {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--green-300);
}

/* ---------- Service cards ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--space-6);
  margin-top: var(--space-8);
}
.section-action {
  margin-top: var(--space-12);
  text-align: center;
}
.service-card {
  background: var(--neutral-0);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: var(--space-6);
  box-shadow: var(--shadow-1);
  transition: box-shadow var(--dur-base) var(--ease-out),
              transform var(--dur-base) var(--ease-out);
  display: flex;
  flex-direction: column;
  text-decoration: none;
}
.service-card:hover {
  box-shadow: var(--shadow-2);
  transform: translateY(-2px);
}
.service-card__icon {
  width: 44px; height: 44px;
  border-radius: var(--radius-md);
  background: var(--green-50);
  color: var(--green-700);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-4);
}
.service-card__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: var(--text-xl);
  margin: 0 0 var(--space-2);
  color: var(--fg-1);
  line-height: 1.2;
  letter-spacing: 0;
  text-transform: none;
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-thickness: 1px;
}
.service-card__body {
  font-size: var(--text-sm);
  color: var(--fg-2);
  margin: 0 0 var(--space-4);
  flex: 1;
}
.service-card__link {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-thickness: 1px;
  letter-spacing: 0.04em;
}
.service-card__link:hover { color: var(--accent-hover); }

/* Expanded services (services.html) */
.service-detail {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: var(--space-8);
  padding: var(--space-8) 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}
.service-detail:last-child { border-bottom: 0; }
/* Left column: icon aligned to the right edge, sitting next to the content column */
.service-detail > div:first-child {
  display: flex;
  justify-content: flex-end;
}
.service-detail__icon {
  width: 72px; height: 72px;
  border-radius: var(--radius-md);
  background: var(--green-50);
  color: var(--green-700);
  display: flex;
  align-items: center;
  justify-content: center;
}
.service-detail__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: var(--text-3xl);
  line-height: 1.15;
  margin: 0 0 var(--space-4);
  letter-spacing: 0;
  text-transform: none;
}
.service-detail__bullets {
  list-style: none;
  padding: 0;
  margin: var(--space-4) 0 0;
  display: grid;
  gap: var(--space-3);
}
.service-detail__bullets li {
  padding-left: 28px;
  position: relative;
  color: var(--fg-2);
}
.service-detail__bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 16px;
  height: 2px;
  background: var(--accent);
}

/* ---------- Testimonials ---------- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
@media (max-width: 1060px) {
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .testimonials-grid { grid-template-columns: 1fr; }
}
.testimonial {
  background: var(--neutral-0);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: var(--space-6);
  box-shadow: var(--shadow-1);
  display: flex;
  flex-direction: column;
  /* Overlap adjacent borders so neighbouring cards share a single 1px line
     instead of stacking into 2px. */
  margin: 1em 15px;
}
.testimonial__quote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: var(--text-base);
  line-height: 1.5;
  color: var(--fg-1);
  border-left: 2px solid var(--accent);
  padding-left: var(--space-3);
  margin: 0 0 var(--space-4);
  flex: 1;
}
.testimonial__attr {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  color: var(--fg-3);
  letter-spacing: 0.06em;
  padding-left: calc(var(--space-3) + 2px);
  margin-top: var(--space-2);
}
.testimonial__attr strong {
  color: var(--fg-2);
  font-weight: 600;
  letter-spacing: 0.04em;
  display: block;
  margin-bottom: 2px;
}

/* ---------- Credentials ---------- */
.credentials-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: var(--space-3);
  margin-top: var(--space-8);
}
@media (max-width: 960px) { .credentials-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 500px) { .credentials-grid { grid-template-columns: repeat(2, 1fr); } }
.cred {
  border: 2px solid var(--cert-green);
  border-radius: var(--radius-md);
  padding: var(--space-4) var(--space-3);
  background: var(--neutral-0);
  text-align: center;
}
.cred__title {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1.125rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cert-green);
  margin-bottom: 6px;
}
.cred__sub {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.125rem;
  color: var(--fg-2);
}

/* ---------- Crew ---------- */
.crew-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-6);
  margin-top: var(--space-8);
}
@media (max-width: 640px) {
  .crew-grid {
    grid-template-columns: 1fr;
  }
}
.crew-card {
  background: var(--neutral-0);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: var(--space-6);
  box-shadow: var(--shadow-1);
  text-align: left;
}
.crew-card__avatar {
  width: 72px; height: 72px;
  border-radius: var(--radius-pill);
  background: var(--green-50);
  color: var(--green-700);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  margin-bottom: var(--space-4);
}
.crew-card__name {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: var(--text-xl);
  margin: 0 0 var(--space-1);
  color: var(--fg-1);
  letter-spacing: 0;
  text-transform: none;
}
.crew-card__role {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--space-3);
}
.crew-card__body {
  font-size: var(--text-sm);
  color: var(--fg-2);
  margin: 0;
}

/* ---------- About layout ---------- */
.about-grid {
  display: grid;
  grid-template-columns: minmax(200px, 320px) 1fr;
  gap: var(--space-12);
  align-items: start;
}
@media (max-width: 800px) { .about-grid { grid-template-columns: 1fr; gap: var(--space-6); } }
.about-grid img { max-height: 360px; object-fit: contain; justify-self: center; }

.pull-quote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: var(--text-xl);
  line-height: 1.45;
  color: var(--fg-1);
  border-left: 2px solid var(--accent);
  padding: var(--space-1) 0 var(--space-1) var(--space-6);
  max-width: 46ch;
  margin: var(--space-8) 0 var(--space-2);
}
.pull-quote-attr {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  color: var(--fg-3);
  padding-left: calc(var(--space-6) + 2px);
  letter-spacing: 0.04em;
}

/* ---------- FAQ ---------- */
/* Center the FAQ block on the page. Heading copy (eyebrow, title, lead)
   is centered via .faq-intro; the list itself is centered via margin auto.
   .section-title and .section-lead both have max-widths, so we also need
   margin auto on them — text-align alone only centers the text inside the
   narrow block, not the block within its parent.
   Individual question text stays left-aligned inside each row — long,
   center-aligned questions read poorly. */
.faq-intro { text-align: center; }
.faq-intro .section-title { margin: 0 auto var(--space-4); }
.faq-intro .section-lead  { margin: 0 auto var(--space-6); }
.faq-list {
  margin: var(--space-8) auto 0;
  max-width: 820px;
}
.faq {
  border-bottom: 1px solid var(--line);
}
.faq:first-child { border-top: 1px solid var(--line); }
.faq__q {
  width: 100%;
  background: transparent;
  border: 0;
  padding: var(--space-6) 0;
  text-align: left;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: var(--text-xl);
  color: var(--fg-1);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-4);
  letter-spacing: 0;
  text-transform: none;
}
.faq__q:hover { color: var(--accent); }
.faq__q:focus-visible { outline: 2px solid var(--green-500); outline-offset: 2px; border-radius: var(--radius-sm); }
.faq__q-icon {
  flex-shrink: 0;
  width: 24px; height: 24px;
  color: var(--accent);
  transition: transform var(--dur-base) var(--ease-out);
}
.faq.is-open .faq__q-icon { transform: rotate(45deg); }
.faq__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--dur-slow) var(--ease-out);
}
.faq__a-inner {
  padding: 0 0 var(--space-6);
  color: var(--fg-2);
  max-width: 72ch;
}
.faq.is-open .faq__a { max-height: 400px; }

/* ---------- Contact layout ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: var(--space-8);
  align-items: start;
}
@media (max-width: 800px) { .contact-grid { grid-template-columns: 1fr; gap: var(--space-6); } }

.contact-form {
  background: var(--neutral-0);
  padding: var(--space-8);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-1);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
  margin-bottom: var(--space-4);
}
@media (max-width: 500px) { .form-row { grid-template-columns: 1fr; } }
.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: var(--space-4);
}
.field label {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--fg-2);
}
.field input,
.field select,
.field textarea {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  padding: 11px 13px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--neutral-0);
  color: var(--fg-1);
  box-shadow: 0 1px 2px rgba(20,30,20,0.04);
  outline: none;
  width: 100%;
  transition: border-color var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out);
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--green-700);
  box-shadow: 0 0 0 3px rgba(56, 104, 56, 0.15);
}

.contact-card {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: var(--space-6);
}
.contact-card__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: var(--text-xl);
  margin: 0 0 var(--space-4);
  letter-spacing: 0;
  text-transform: none;
}
.contact-card__row {
  display: flex;
  gap: var(--space-3);
  align-items: flex-start;
  padding: var(--space-3) 0;
  border-bottom: 1px solid var(--line);
}
.contact-card__row:last-child { border-bottom: 0; }
.contact-card__icon {
  width: 24px; height: 24px;
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 2px;
}
.contact-card__label {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg-3);
  margin-bottom: 2px;
}
.contact-card__value {
  font-size: var(--text-base);
  color: var(--fg-1);
}
.contact-card__value a {
  color: var(--fg-1);
  text-decoration: none;
}
.contact-card__value a:hover { color: var(--accent); text-decoration: underline; }

.contact-note {
  margin-top: var(--space-4);
  margin-bottom: 0;
}
.service-areas-wrap {
  margin-top: var(--space-8);
}
.service-areas {
  margin-top: var(--space-8);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}
.service-areas li {
  list-style: none;
  border: 1px solid var(--line);
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  font-size: var(--text-sm);
  color: var(--fg-2);
  background: var(--neutral-0);
}
.service-areas { padding: 0; }

/* ---------- CTA strip ---------- */
.cta-strip {
  background: var(--bg-dark);
  color: var(--fg-on-dark);
  padding: var(--space-12) var(--space-8);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-strip h2 {
  color: var(--fg-on-dark);
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  margin: 0 auto var(--space-4);
  max-width: 24ch;
}
.cta-strip p {
  color: var(--green-300);
  margin: 0 auto var(--space-6);
  max-width: 52ch;
}
.cta-strip .btn--secondary { background: transparent; color: var(--neutral-50); border-color: var(--neutral-50); }
.cta-strip .btn--secondary:hover { background: var(--neutral-50); color: var(--green-900); border-color: var(--neutral-50); }

/* ---------- Footer ---------- */
.footer {
  background: var(--bg-dark);
  color: var(--fg-on-dark);
  padding: var(--space-12) 0 var(--space-8);
  font-family: var(--font-body);
}
.footer__grid {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--space-8);
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-8);
}
@media (max-width: 800px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}
.footer__brand {
  display: flex;
  gap: var(--space-4);
  align-items: flex-start;
}
.footer__brand img {
  height: 64px;
  width: auto;
  filter: brightness(0) invert(1) opacity(0.9);
}
.footer__brand-text p {
  font-size: var(--text-sm);
  color: var(--green-300);
  line-height: 1.6;
  margin: var(--space-3) 0 0;
  max-width: 36ch;
}
.footer__brand-text .nav__wordmark-name { color: var(--fg-on-dark); }
.footer__brand-text .nav__wordmark-sub { color: var(--green-300); }
.footer__col h4 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--text-xs);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin: 0 0 var(--space-4);
  color: var(--green-300);
}
.footer__col a,
.footer__col span {
  color: var(--fg-on-dark);
  text-decoration: none;
  font-size: var(--text-sm);
  line-height: 2;
  display: block;
}
.footer__col a:hover { color: var(--green-300); }
.footer__bottom {
  max-width: var(--max-w);
  margin: var(--space-8) auto 0;
  padding: var(--space-6) var(--space-8) 0;
  border-top: 1px solid rgba(152, 200, 152, 0.2);
  font-size: var(--text-xs);
  color: var(--green-300);
  display: flex;
  justify-content: space-between;
  gap: var(--space-4);
  flex-wrap: wrap;
}

/* ---------- Scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 600ms var(--ease-out), transform 600ms var(--ease-out);
  will-change: opacity, transform;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal[data-delay="1"] { transition-delay: 80ms; }
.reveal[data-delay="2"] { transition-delay: 160ms; }
.reveal[data-delay="3"] { transition-delay: 240ms; }
.reveal[data-delay="4"] { transition-delay: 320ms; }

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

/* ---------- Responsive nav ---------- */
@media (max-width: 800px) {
  .nav__inner { padding: 0 var(--space-4); gap: var(--space-3); }
  .nav__toggle { display: inline-flex; }
  .nav__links {
    position: absolute;
    top: var(--nav-h);
    left: 0; right: 0;
    background: var(--bg-1);
    border-bottom: 0 solid var(--line);
    flex-direction: column;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    padding: 0 var(--space-4);
    visibility: hidden;
    pointer-events: none;
    transition:
      max-height var(--dur-base) var(--ease-out),
      padding var(--dur-base) var(--ease-out),
      visibility 0s linear var(--dur-base);
    box-shadow: none;
  }
  .nav__links.is-open {
    border-bottom-width: 1px;
    max-height: 240px;
    padding: var(--space-3) var(--space-4);
    visibility: visible;
    pointer-events: auto;
    box-shadow: var(--shadow-2);
    transition-delay: 0s;
  }
  .nav__links a {
    padding: var(--space-3) 0;
    border-bottom: 1px solid var(--line);
    font-size: var(--text-base);
  }
  .nav__links a:last-child { border-bottom: 0; }
  .nav__cta { display: none; }
}

/* ---------- Hero responsive ---------- */
/* On tablet/phone we drop the animation stage entirely — just the copy
   and the CTAs. */
@media (max-width: 900px) {
  .hero {
    height: auto;
    overflow: visible;
    padding: var(--space-12) 0 var(--space-16);
  }
  .hero__inner {
    grid-template-columns: 1fr;
    height: auto;
    gap: var(--space-8);
  }
  .hero__stage { display: none; }
  .hero__copy { max-width: 100%; }
}
/* Slightly shrink the stage on narrow desktop so it doesn't crowd the copy */
@media (min-width: 901px) and (max-width: 1100px) {
  .hero__inner { grid-template-columns: 1.5fr 1fr; }
}

/* ---------- Services grid variant (3 items, same auto-fit behavior) ---------- */
.services-grid--three { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }

/* ---------- Service detail responsive ---------- */
@media (max-width: 800px) {
  .service-detail { grid-template-columns: 1fr; gap: var(--space-4); }
  /* On a single column, drop the icon's right-alignment so it sits at the
     natural left-edge next to the heading. */
  .service-detail > div:first-child { justify-content: flex-start; }
}

/* ---------- Page header responsive ---------- */
@media (max-width: 800px) {
  .page-header__inner { min-height: 0; }
}

/* ---------- Stats responsive ---------- */
@media (max-width: 640px) {
  .stats__grid { grid-template-columns: 1fr; gap: var(--space-6); }
}

/* ---------- Section padding on small screens ---------- */
@media (max-width: 640px) {
  .section { padding: var(--space-16) 0; }
  .section--tight { padding: var(--space-12) 0; }
  h1 { font-size: var(--text-4xl); }
  h2 { font-size: var(--text-2xl); }
}
