/* ==========================================================================
   Lorenz Landscaping — light/modern design system
   ========================================================================== */

:root {
  /* Surfaces */
  --bg: #f6f8f3;
  --surface: #ffffff;
  --surface-alt: #eef3e7;
  --surface-dark: #16221b;

  /* Text */
  --ink-900: #16221b;
  --ink-700: #3a4a3f;
  --ink-500: #6b796e;
  --ink-on-dark: #eef3ea;
  --ink-on-dark-muted: #b9c7bb;

  /* Brand green */
  --leaf-800: #1f3b2c;
  --leaf-700: #2c6a49;
  --leaf-600: #3a8259;
  --leaf-500: #4a9c6b;
  --leaf-100: #e2f0e5;

  /* Accent (tree work / warmth) */
  --bark-600: #8a5a34;
  --gold-500: #c99a4b;

  --border: #e1e8dd;
  --shadow-sm: 0 2px 10px -4px rgba(22, 34, 27, 0.12);
  --shadow-md: 0 16px 40px -16px rgba(22, 34, 27, 0.22);

  --radius: 14px;
  --radius-lg: 22px;

  --font-body: 'Montserrat', system-ui, sans-serif;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-script: 'Satisfy', cursive;

  --wrap: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink-700);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.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, h4 { font-family: var(--font-display); color: var(--ink-900); margin: 0 0 0.5em; line-height: 1.2; font-weight: 700; }
h1 { font-size: clamp(2.1rem, 4vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
.lede { font-size: 1.15rem; color: var(--ink-700); }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 1.5rem; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--leaf-700); background: var(--leaf-100); padding: 0.35rem 0.85rem; border-radius: 999px;
  margin-bottom: 1rem;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.85rem 1.6rem; border-radius: 999px; font-weight: 700; font-size: 0.98rem;
  border: 2px solid transparent; cursor: pointer; transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn-primary { background: var(--leaf-700); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--leaf-600); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-ghost { background: #fff; color: var(--leaf-800); border-color: var(--border); }
.btn-ghost:hover { border-color: var(--leaf-500); transform: translateY(-1px); }
.btn-dark { background: var(--surface-dark); color: #fff; }
.btn-dark:hover { background: #223326; }
.cta-row { display: flex; flex-wrap: wrap; gap: 0.85rem; margin-top: 1.75rem; }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(246, 248, 243, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.site-header-inner { display: flex; align-items: center; justify-content: space-between; padding: 0.85rem 1.5rem; gap: 1rem; }
.brand-mark { display: flex; align-items: center; gap: 0.65rem; font-family: var(--font-display); font-weight: 700; color: var(--ink-900); font-size: 1.15rem; }
.brand-logo { height: 42px; width: 42px; object-fit: contain; }
.main-nav { display: flex; align-items: center; }
.nav-list { list-style: none; display: flex; align-items: center; gap: 0.35rem; margin: 0; padding: 0; }
.nav-list > li { position: relative; }
.nav-list > li > a {
  display: inline-block; padding: 0.6rem 0.85rem; border-radius: 999px; font-weight: 600; font-size: 0.94rem; color: var(--ink-700);
  transition: background 0.15s ease, color 0.15s ease;
}
.nav-list > li > a:hover, .nav-list > li.open > a { background: var(--leaf-100); color: var(--leaf-800); }
.nav-cta { background: var(--leaf-700) !important; color: #fff !important; }
.nav-cta:hover { background: var(--leaf-600) !important; }

.has-dropdown .dropdown {
  list-style: none; margin: 0; padding: 0.5rem; position: absolute; top: 100%; left: 0;
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-md);
  min-width: 250px; display: none; flex-direction: column; gap: 0.15rem;
}
.has-dropdown.open .dropdown, .has-dropdown:hover .dropdown { display: flex; }
.dropdown li a { display: block; padding: 0.6rem 0.75rem; border-radius: 10px; font-size: 0.92rem; color: var(--ink-700); font-weight: 600; }
.dropdown li a:hover { background: var(--surface-alt); color: var(--leaf-800); }

.nav-toggle { display: none; flex-direction: column; justify-content: center; gap: 5px; width: 42px; height: 42px; border-radius: 10px; border: 1px solid var(--border); background: #fff; cursor: pointer; }
.nav-toggle span { display: block; width: 20px; height: 2px; background: var(--ink-900); margin: 0 auto; }

@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .main-nav { position: relative; }
  .nav-list {
    display: none; position: absolute; top: calc(100% + 0.75rem); right: 0; left: auto;
    flex-direction: column; align-items: stretch; background: #fff; border: 1px solid var(--border);
    border-radius: var(--radius-lg); box-shadow: var(--shadow-md); padding: 0.75rem; width: min(320px, 84vw); gap: 0.15rem;
  }
  .nav-list.open { display: flex; }
  .has-dropdown .dropdown { position: static; box-shadow: none; border: none; padding: 0 0 0 0.75rem; display: none; }
  .has-dropdown.open .dropdown { display: flex; }
}

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: 4.5rem 0 5rem; background: linear-gradient(180deg, #eef3e7 0%, #f6f8f3 65%); }
.hero-badge-strip { background: var(--leaf-800); color: var(--ink-on-dark); text-align: center; font-size: 0.82rem; font-weight: 600; letter-spacing: 0.03em; padding: 0.55rem 1rem; }
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 3rem; align-items: center; }
.hero-copy p { font-size: 1.1rem; }
.hero-media { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); aspect-ratio: 4 / 3; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.75rem; margin-top: 1.75rem; }
.hero-stats div { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 0.9rem 0.7rem; text-align: center; font-weight: 700; font-size: 0.88rem; color: var(--leaf-800); box-shadow: var(--shadow-sm); }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } .hero-stats { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Page hero (subpages) ---------- */
.page-hero { background: linear-gradient(180deg, #eef3e7 0%, #f6f8f3 100%); padding: 3.5rem 0 3rem; }
.breadcrumbs { font-size: 0.85rem; color: var(--ink-500); margin-bottom: 0.75rem; }
.breadcrumbs a { color: var(--leaf-700); font-weight: 600; }
.breadcrumbs a:hover { text-decoration: underline; }

/* ---------- Sections ---------- */
section { padding: 4.5rem 0; }
.section-alt { background: var(--surface-alt); }
.section-dark { background: var(--surface-dark); color: var(--ink-on-dark); }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark p { color: var(--ink-on-dark-muted); }
.section-heading { max-width: 680px; margin: 0 auto 2.75rem; text-align: center; }
.section-heading p { color: var(--ink-500); }

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: 1.5rem; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid-3, .grid-4, .grid-2 { grid-template-columns: 1fr; } }

.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 1.75rem; box-shadow: var(--shadow-sm); transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.card.featured { border: 2px solid var(--leaf-600); background: linear-gradient(180deg, #fff 0%, var(--leaf-100) 130%); }
.card-icon { width: 46px; height: 46px; border-radius: 12px; background: var(--leaf-100); display: flex; align-items: center; justify-content: center; margin-bottom: 1rem; font-size: 1.4rem; }
.card a.card-link { color: var(--leaf-700); font-weight: 700; font-size: 0.92rem; }
.card a.card-link:hover { text-decoration: underline; }
.tag { display: inline-block; font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; background: var(--gold-500); color: #fff; border-radius: 999px; padding: 0.25rem 0.7rem; margin-bottom: 0.75rem; }

/* ---------- Before / after + testimonials ---------- */
.testimonial-row { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: center; margin-bottom: 2.5rem; }
.testimonial-row.reverse .testimonial-media { order: 2; }
.testimonial-media { display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem; }
.work-shot { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/3; box-shadow: var(--shadow-sm); }
.work-shot img { width: 100%; height: 100%; object-fit: cover; }
.testimonial-quote p { font-size: 1.05rem; font-style: italic; color: var(--ink-900); }
.quote-attribution { color: var(--leaf-700); font-size: 1rem; margin: 0; }
@media (max-width: 800px) { .testimonial-row, .testimonial-row.reverse { grid-template-columns: 1fr; } .testimonial-row.reverse .testimonial-media { order: 0; } }

.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.gallery-item { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/3; box-shadow: var(--shadow-sm); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s ease; }
.gallery-item:hover img { transform: scale(1.05); }
@media (max-width: 800px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Pay Invoice nav button ---------- */
/* Outlined rather than filled, so it reads as a secondary action and doesn't
   compete with the Get a Free Quote button beside it. */
.nav-pay {
  border: 1px solid var(--leaf-600) !important;
  color: var(--leaf-700) !important;
  background: transparent !important;
}
.nav-pay:hover { background: var(--leaf-100) !important; color: var(--leaf-800) !important; }
.site-header--overlay .nav-pay {
  border-color: rgba(255,255,255,0.6) !important;
  color: #fff !important;
}
.site-header--overlay .nav-pay:hover { background: rgba(255,255,255,0.18) !important; color: #fff !important; }

/* Contact page: single column now the invoice form has its own page */
.contact-single { max-width: 760px; margin: 0 auto; }

/* ---------- Hero photo banner ---------- */
.hero--banner {
  position: relative; isolation: isolate;
  background: var(--surface-dark);
  /* Top padding clears the navigation, which now floats over the photo. */
  padding: 9rem 0 5.5rem; min-height: 88vh;
  display: flex; align-items: center;
}
.hero-bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.hero-bg-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transition: opacity 1.4s ease-in-out;
}
.hero-bg-img.is-active { opacity: 1; }
/* Scrim: the photos run from a bright sunlit lawn to a dark night sky, so the
   text needs a consistent dark layer underneath it rather than relying on any
   one image being dark enough on its own. */
.hero-scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(12, 22, 16, 0.66) 0%, rgba(12, 22, 16, 0.60) 50%, rgba(12, 22, 16, 0.74) 100%);
}
.hero-banner-inner { position: relative; max-width: 860px; }
.hero--banner h1 { color: #fff; text-shadow: 0 2px 18px rgba(0, 0, 0, 0.35); }
.hero--banner .lede { color: #eef3ea; font-size: 1.12rem; max-width: 46rem; }
.eyebrow--on-dark { background: rgba(255, 255, 255, 0.16); color: #fff; backdrop-filter: blur(2px); }
.btn-on-dark { background: rgba(255, 255, 255, 0.12); color: #fff; border: 1px solid rgba(255, 255, 255, 0.55); backdrop-filter: blur(2px); }
.btn-on-dark:hover { background: #fff; color: var(--leaf-800); border-color: #fff; }
.hero--banner .hero-stats div {
  background: rgba(255, 255, 255, 0.12); border: 1px solid rgba(255, 255, 255, 0.28);
  color: #fff; backdrop-filter: blur(2px); box-shadow: none;
}

@media (max-width: 900px) {
  .hero--banner { min-height: 0; padding: 4rem 0 3.5rem; }
}
@media (prefers-reduced-motion: reduce) {
  /* No crossfade - the first photo simply stays put. */
  .hero-bg-img { transition: none; }
}

/* Centred banner layout */
.hero-banner-inner--centred { max-width: 820px; margin: 0 auto; text-align: center; }
.hero-banner-inner--centred .lede { margin-left: auto; margin-right: auto; }
.hero-banner-inner--centred .cta-row { justify-content: center; }
.hero-banner-inner--centred .hero-stats { max-width: 620px; margin-left: auto; margin-right: auto; }
.hero--banner h1 { font-size: clamp(2.2rem, 4.6vw, 3.5rem); }

/* Navigation floating over the banner photo (homepage only) */
.site-header--overlay {
  position: absolute; top: 0; left: 0; right: 0; z-index: 20;
  background: transparent; border-bottom: none; box-shadow: none;
}
.site-header--overlay .brand-mark { color: #fff; }
.site-header--overlay .nav-list > li > a { color: #fff; }
.site-header--overlay .nav-list > li > a:hover,
.site-header--overlay .nav-list > li.open > a { background: rgba(255,255,255,0.16); color: #fff; }
.site-header--overlay .nav-toggle span { background: #fff; }
/* Dropdown panels keep their own light background, so their links stay dark. */
.site-header--overlay .dropdown a { color: var(--ink-700); }
.site-header--overlay .dropdown a:hover { color: var(--leaf-800); }

@media (max-width: 900px) {
  .hero--banner { min-height: 0; padding: 7rem 0 3.5rem; }
  /* The mobile menu drops onto a light panel, so put the bar back to solid. */
  .site-header--overlay { position: static; background: rgba(255,255,255,0.96); }
  .site-header--overlay .brand-mark,
  .site-header--overlay .nav-list > li > a { color: var(--ink-900); }
  .site-header--overlay .nav-toggle span { background: var(--ink-900); }
}

/* ---------- Service link buttons ---------- */
.service-links { list-style: none; padding: 0; margin: 0 0 1.75rem; }
.service-links li { margin-bottom: 1.25rem; }
.service-link-btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: var(--leaf-100); color: var(--leaf-700);
  font-weight: 700; font-size: 0.98rem; line-height: 1.3;
  padding: 0.6rem 1.15rem; border-radius: 999px;
  border: 1px solid transparent; text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}
.service-link-btn::after { content: '\2192'; font-weight: 400; }
.service-link-btn:hover {
  background: var(--leaf-700); color: #fff;
  transform: translateY(-1px); box-shadow: var(--shadow-sm);
  text-decoration: none;
}
.service-link-btn:focus-visible { outline: 2px solid var(--leaf-500); outline-offset: 2px; }
.service-link-note { display: block; margin-top: 0.45rem; color: var(--ink-700); }

@media (max-width: 520px) {
  /* Full-width tap targets on a phone rather than ragged pills. */
  .service-link-btn { display: flex; justify-content: space-between; width: 100%; }
}

/* ---------- Rotating customer reviews ---------- */
.reviews-band { background: var(--surface-alt); }
.review-cycle { position: relative; max-width: 820px; margin: 0 auto; padding: 0 3.25rem; }
.review-viewport { position: relative; }
.review-slide {
  margin: 0; text-align: center;
  opacity: 0; visibility: hidden;
  position: absolute; inset: 0;
  transition: opacity 0.45s ease;
}
.review-slide.is-active { opacity: 1; visibility: visible; position: relative; }
.review-stars { color: var(--gold-500); letter-spacing: 0.15em; font-size: 1.05rem; margin-bottom: 1rem; }
.review-slide blockquote { margin: 0 0 1.1rem; }
.review-slide blockquote p {
  font-family: var(--font-display); font-size: clamp(1.1rem, 2.2vw, 1.4rem);
  line-height: 1.55; color: var(--ink-900); margin: 0;
}
.review-slide blockquote p::before { content: '\201C'; }
.review-slide blockquote p::after  { content: '\201D'; }
.review-slide figcaption { font-weight: 700; color: var(--leaf-700); font-size: 0.95rem; }
.review-place { font-weight: 400; color: var(--ink-500); }

.review-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid var(--border); background: var(--surface);
  color: var(--ink-700); font-size: 1.5rem; line-height: 1;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.review-nav:hover { background: var(--leaf-700); border-color: var(--leaf-700); color: #fff; }
.review-nav:focus-visible { outline: 2px solid var(--leaf-500); outline-offset: 2px; }
.review-prev { left: 0; }
.review-next { right: 0; }

.review-dots { display: flex; justify-content: center; gap: 0.5rem; margin-top: 1.75rem; }
.review-dot {
  width: 9px; height: 9px; padding: 0; border-radius: 50%;
  border: none; background: var(--border); cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}
.review-dot.is-active { background: var(--leaf-600); transform: scale(1.3); }
.review-dot:focus-visible { outline: 2px solid var(--leaf-500); outline-offset: 2px; }

@media (max-width: 620px) {
  .review-cycle { padding: 0; }
  .review-nav { display: none; }   /* dots + swipe are enough on a phone */
}

/* ---------- Tree felling scroll section ---------- */
.falls-section { background: #000; color: var(--ink-on-dark); padding-bottom: 0; }
.falls-section .section-heading p { color: var(--ink-on-dark-muted); }
.falls-scroll { position: relative; height: 240vh; }
.falls-stage { position: sticky; top: 0; height: 100vh; overflow: hidden; background: #000; }
.falls-grid { position: absolute; inset: 0; }
.falls-video { width: 100%; height: 100%; display: block; object-fit: cover; }
/* Homepage: show the entire frame for the whole scroll instead of filling the
   stage. The clip is portrait (608x1080) and the stage is a full-width 100vh
   box, so "cover" scales it until the width fits and crops most of the height
   away. "contain" fits the whole frame inside the stage instead - nothing is
   ever cropped, at any viewport size, at any point in the scroll. The spare
   space either side is the section's own black, so it reads as letterboxing. */
.falls-section--uncropped .falls-video { object-fit: contain; }
/* ...and sit that section on the site's own page background instead of black,
   so the space around the portrait video matches the sections above and below
   rather than reading as a black band. Switching to a light background means
   the section's text has to flip from light-on-dark to the site's normal
   dark-on-light treatment. */
.falls-section--uncropped { background: var(--bg); color: var(--ink-700); }
.falls-section--uncropped .falls-stage { background: var(--bg); }
.falls-section--uncropped .section-heading p { color: var(--ink-500); }
/* The caption sits over the video on wide screens but over the plain
   background on narrow ones, so give it its own pill rather than relying on a
   shadow that only works against dark pixels. */
.falls-section--uncropped .falls-caption {
  color: var(--ink-700);
  text-shadow: none;
  background: var(--bg);
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
  padding: 0.35rem 1.1rem;
  border-radius: 999px;
}
.falls-caption { position: absolute; left: 0; right: 0; bottom: 2rem; margin-top: 0; color: #fff; font-size: 0.95rem; text-align: center; text-shadow: 0 2px 12px rgba(0, 0, 0, 0.65); pointer-events: none; }

/* ---------- FAQ ---------- */
.faq-item { border-bottom: 1px solid var(--border); padding: 1.4rem 0; }
.faq-item:first-child { padding-top: 0; }
.faq-item h3 { font-size: 1.05rem; margin-bottom: 0.5rem; }
.faq-item p { margin-bottom: 0; color: var(--ink-700); }

/* ---------- Forms ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 1.25rem; }
.form-grid .full { grid-column: 1 / -1; }
label { display: block; font-size: 0.85rem; font-weight: 700; color: var(--ink-900); margin-bottom: 0.35rem; }
input, textarea { width: 100%; padding: 0.75rem 0.9rem; border-radius: 10px; border: 1px solid var(--border); background: #fff; font-family: inherit; font-size: 0.95rem; color: var(--ink-900); }
input:focus, textarea:focus { outline: 2px solid var(--leaf-500); outline-offset: 1px; }
.hint { font-size: 0.78rem; color: var(--ink-500); margin-top: 0.35rem; }
.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.submit { margin-top: 1.25rem; width: 100%; }
@media (max-width: 700px) { .form-grid { grid-template-columns: 1fr; } }

.contact-shell { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 2.5rem; align-items: start; }
.contact-panel { background: var(--surface-dark); color: var(--ink-on-dark); border-radius: var(--radius-lg); padding: 2rem; }
.contact-panel h3, .contact-panel h4 { color: #fff; }
.contact-panel a { color: #cfe6d7; font-weight: 700; }
.contact-panel p strong { color: #fff; }
.contact-intro { margin-bottom: 2.5rem; }
.contact-intro-details { display: flex; flex-wrap: wrap; gap: 0.6rem 3rem; margin-top: 1.1rem; }
.contact-intro-details p { margin: 0; }
.invoice-panel { margin-top: 2rem; padding-top: 1.75rem; border-top: 1px solid rgba(255,255,255,0.14); }
.invoice-panel.invoice-standalone { margin-top: 0; padding-top: 0; border-top: none; }
.invoice-note { font-size: 0.8rem; color: var(--ink-on-dark-muted); }
.invoice-link-output { min-height: 70px; resize: vertical; }
.invoice-tool-actions { display: flex; gap: 0.6rem; margin-top: 0.75rem; }
.invoice-tool-button { margin-top: 0; }
@media (max-width: 900px) { .contact-shell { grid-template-columns: 1fr; } }
@media (max-width: 620px) { .contact-intro-details { flex-direction: column; gap: 0.5rem; } }

/* ---------- Footer ---------- */
footer.site-footer { background: var(--surface-dark); color: var(--ink-on-dark-muted); padding: 3rem 0 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem; margin-bottom: 2.5rem; }
.footer-grid h4 { color: #fff; font-family: var(--font-body); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 1rem; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.5rem; }
.footer-grid a:hover { color: #fff; text-decoration: underline; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.12); padding-top: 1.5rem; font-size: 0.82rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.75rem; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal-delay.is-visible { transition-delay: 0.15s; }

/* ---------- Modal ---------- */
.modal-backdrop { position: fixed; inset: 0; background: rgba(22,34,27,0.55); display: flex; align-items: center; justify-content: center; padding: 1.5rem; opacity: 0; pointer-events: none; transition: opacity 0.2s ease; z-index: 100; }
.modal-backdrop.is-open { opacity: 1; pointer-events: auto; }
.modal { background: #fff; border-radius: var(--radius-lg); padding: 2.25rem; max-width: 420px; width: 100%; text-align: center; box-shadow: var(--shadow-md); }
.modal-icon { width: 56px; height: 56px; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 1rem; font-size: 1.6rem; font-weight: 800; }
.modal-icon-success { background: var(--leaf-100); color: var(--leaf-700); }
.modal-icon-error { background: #fbe7e2; color: #b0492f; }
.modal-close { margin-top: 1.25rem; background: var(--surface-alt); border: none; border-radius: 999px; padding: 0.65rem 1.5rem; font-weight: 700; cursor: pointer; }

/* ---------- Misc content pages ---------- */
.prose h2 { margin-top: 2rem; }
.prose ul { padding-left: 1.2rem; }
.prose li { margin-bottom: 0.5rem; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }

/* ---------- Inline scroll-scrubbed video (pinned beside scrolling text) ---------- */
.split-scrub { grid-template-columns: var(--scrub-media-width, 240px) 1fr; align-items: start; }
@media (max-width: 900px) { .split-scrub { grid-template-columns: 1fr; } }
.split-scrub-media { position: sticky; top: 6.5rem; width: 100%; aspect-ratio: 608 / 1080; max-height: 85vh; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); background: #000; }
@media (max-width: 900px) { .split-scrub-media { position: static; width: min(300px, 70vw); margin: 0 auto; max-height: none; } }
.scrub-video { width: 100%; height: 100%; display: block; object-fit: cover; }
.split-scrub .prose { padding-bottom: 7rem; line-height: 1.75; }
.split-scrub .prose h2 { margin-top: 0; }
.split-scrub .prose li { margin-bottom: 0.9rem; }
.split-scrub .prose p { margin-bottom: 1.4rem; }
.stat-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; text-align: center; }
.stat-strip strong { display: block; font-family: var(--font-display); font-size: 2rem; color: var(--leaf-700); }
@media (max-width: 700px) { .stat-strip { grid-template-columns: repeat(2, 1fr); } }
