/* Big Works LLC — rebuilt in the client's own brand
   Palette sampled from bigworks.llc: forest green #1A4314, taupe logo #716858,
   light gray #E8E9EA body, white panels, Poppins throughout, pill buttons. */

:root {
  --bw-green: #1a4314;
  --bw-green-dark: #12300e;
  --bw-taupe: #716858;
  --bw-bg: #e8e9ea;
  --bw-white: #ffffff;
  --bw-ink: #1c1c1c;
  --bw-muted: #5c5c5c;
  --bw-border: #d5d6d8;
  --bw-radius: 0.75rem;
  --bw-pill: 999px;
  --bw-font: "Poppins", "Segoe UI", sans-serif;
  --bw-shadow: 0 10px 30px rgba(20, 40, 15, 0.12);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: 7.5rem; }

body {
  background: var(--bw-bg);
  color: var(--bw-ink);
  font-family: var(--bw-font);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { line-height: 1.2; font-weight: 600; color: var(--bw-ink); }

img { max-width: 100%; height: auto; display: block; }

a { color: var(--bw-green); }

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 3px solid var(--bw-green);
  outline-offset: 2px;
}

/* Controls that sit on green or dark surfaces need a light indicator */
.nav-menu .btn:focus-visible,
.hero .btn:focus-visible,
.hero-rating:focus-visible,
.contact-band .btn:focus-visible,
.video-toggle:focus-visible,
.lightbox-close:focus-visible {
  outline-color: #fff;
}

.container { max-width: 72rem; margin: 0 auto; padding: 0 1.5rem; }

.sr-only {
  position: absolute; width: 1px; height: 1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}

.skip-link {
  position: absolute; left: 1rem; top: -3.5rem;
  background: var(--bw-green); color: #fff;
  padding: 0.6rem 1.2rem; border-radius: var(--bw-pill);
  font-size: 0.9rem; z-index: 200; text-decoration: none;
  transition: top 0.15s ease;
}
.skip-link:focus { top: 1rem; }

.kicker {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--bw-taupe);
  margin-bottom: 0.6rem;
}
.kicker-light { color: #cfc9bd; }

.section h2 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); margin-bottom: 1.25rem; }
.section-lede { color: var(--bw-muted); margin-bottom: 2rem; max-width: 40rem; }

/* ---------- Buttons (pill, like the original) ---------- */
.btn {
  display: inline-block;
  font-family: var(--bw-font);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.8rem 1.9rem;
  border-radius: var(--bw-pill);
  border: 2px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.btn-green { background: var(--bw-green); color: #fff; }
.btn-green:hover { background: var(--bw-green-dark); }
.btn-light { background: #fff; color: var(--bw-green); }
.btn-light:hover { background: #eef2ec; }
.btn-outline { background: transparent; color: var(--bw-green); border-color: var(--bw-green); }
.btn-outline:hover { background: var(--bw-green); color: #fff; }
.btn-outline-light { background: transparent; color: #fff; border-color: #fff; }
.btn-outline-light:hover { background: #fff; color: var(--bw-green); }
.btn-block { width: 100%; text-align: center; }

/* ---------- Top bar ---------- */
.topbar { background: var(--bw-white); border-bottom: 1px solid var(--bw-border); }
.topbar-inner {
  display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 0.35rem 2rem;
  padding-top: 0.45rem; padding-bottom: 0.45rem;
  font-size: 0.85rem;
}
.topbar a { color: var(--bw-ink); text-decoration: none; }
.topbar a:hover { color: var(--bw-green); text-decoration: underline; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--bw-green);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.18);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 0.6rem; padding-bottom: 0.6rem;
}
.logo img { width: 95px; height: auto; }

.nav-menu {
  display: flex; align-items: center; gap: 1.9rem;
  list-style: none;
}
.nav-menu a:not(.btn) {
  color: #fff; text-decoration: none;
  font-size: 0.95rem; font-weight: 500;
}
.nav-menu a:not(.btn):hover { color: #cfe3c8; }
.nav-menu a:not(.btn):focus-visible { outline-color: #fff; }
.nav-cta { padding: 0.55rem 1.4rem; font-size: 0.9rem; }

.nav-toggle {
  display: none;
  background: none; border: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: var(--bw-radius);
  width: 2.9rem; height: 2.9rem;
  cursor: pointer; position: relative;
}
.nav-toggle:focus-visible { outline-color: #fff; }
.nav-toggle-bar,
.nav-toggle-bar::before,
.nav-toggle-bar::after {
  content: ""; display: block; position: absolute;
  left: 0.7rem; right: 0.7rem; height: 2px;
  background: #fff; border-radius: 1px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle-bar { top: calc(50% - 1px); }
.nav-toggle-bar::before { top: -8px; }
.nav-toggle-bar::after { top: 8px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::before { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::after { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  background:
    linear-gradient(rgba(12, 24, 9, 0.55), rgba(12, 24, 9, 0.65)),
    url("../images/hero-deck.jpg") center / cover no-repeat;
  padding: 5rem 0;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.9fr);
  gap: 3.5rem;
  align-items: center;
}
.hero-copy h1 {
  color: #fff;
  font-size: clamp(2rem, 3.4vw + 0.6rem, 2.75rem);
  font-weight: 700;
  margin-bottom: 1.25rem;
  text-wrap: balance;
}
.hero-sub {
  color: #e6e8e4;
  font-size: 1.08rem;
  max-width: 34rem;
  margin-bottom: 2rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; }
.hero .btn-outline { color: #fff; border-color: #fff; }
.hero .btn-outline:hover { background: #fff; color: var(--bw-green); }

.hero-rating {
  display: inline-flex; align-items: center; gap: 0.6rem;
  margin-top: 1.75rem;
  color: #e6e8e4; text-decoration: none;
  font-size: 0.95rem;
}
.hero-rating strong { color: #fff; }
.hero-rating:hover span:last-child { text-decoration: underline; }
.stars { color: #f6ad58; letter-spacing: 0.1em; }

/* Quote card */
.quote-card {
  background: var(--bw-white);
  border-radius: var(--bw-radius);
  box-shadow: var(--bw-shadow);
  padding: 2rem;
}
.quote-card h2 { font-size: 1.45rem; margin-bottom: 1.25rem; }
.quote-card form { display: grid; gap: 0.9rem; }
.form-field { display: grid; gap: 0.3rem; }
.form-field label { font-size: 0.82rem; font-weight: 500; color: var(--bw-muted); }
.req { color: var(--bw-green); }
.form-field input,
.form-field select {
  font-family: var(--bw-font);
  font-size: 1rem;
  color: var(--bw-ink);
  background: #fff;
  border: 1px solid #767676;
  border-radius: 0.5rem;
  padding: 0.6rem 0.8rem;
  width: 100%;
}
.form-field input:hover,
.form-field select:hover { border-color: var(--bw-taupe); }
.form-note { font-size: 0.85rem; color: var(--bw-green); min-height: 1.2em; }

/* ---------- Sections ---------- */
.section { padding: 4.5rem 0; }
.section-white { background: var(--bw-white); }

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 3.5rem;
  align-items: center;
}
.split-copy p { margin-bottom: 1rem; color: var(--bw-muted); }
.split-copy h2 + p { color: var(--bw-ink); }
.split-copy .kicker { color: var(--bw-taupe); }
.split-copy .btn { margin-top: 0.5rem; }
.split-photo {
  border-radius: var(--bw-radius);
  box-shadow: var(--bw-shadow);
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.split-reverse .split-photo { order: -1; }

/* ---------- Services ---------- */
.services-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(16.5rem, 100%), 1fr));
  gap: 1.5rem;
}
.service-card {
  display: block;
  background: var(--bw-bg);
  border-radius: var(--bw-radius);
  overflow: hidden;
  text-decoration: none;
  color: var(--bw-ink);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--bw-shadow); }
.service-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.service-card h3 {
  font-size: 1.05rem;
  font-weight: 600;
  text-align: center;
  padding: 1rem 1rem 1.1rem;
}
.service-card:hover h3 { color: var(--bw-green); }

/* ---------- Commitment (video bg) ---------- */
.commitment { position: relative; overflow: hidden; color: #fff; }
.commitment-video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.commitment-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(rgba(14, 28, 10, 0.82), rgba(14, 28, 10, 0.88));
}
.commitment-inner { position: relative; max-width: 52rem; }
.commitment h2 { color: #fff; }
.commitment-inner > p { color: #dfe3dc; }

.video-toggle {
  position: absolute; right: 1.25rem; bottom: 1.25rem;
  z-index: 1;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: var(--bw-pill);
  padding: 0.45rem 1.1rem;
  font-family: var(--bw-font);
  font-size: 0.82rem;
  cursor: pointer;
}
.video-toggle:hover { background: rgba(255, 255, 255, 0.28); }
.pillars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
  gap: 2rem;
  margin: 2.5rem 0;
}
.pillar-num {
  display: inline-grid; place-content: center;
  width: 2.6rem; height: 2.6rem;
  border-radius: 50%;
  background: #fff; color: var(--bw-green);
  font-weight: 700; font-size: 1.15rem;
  margin-bottom: 0.9rem;
}
.pillar h3 { color: #fff; font-size: 1.08rem; margin-bottom: 0.5rem; }
.pillar p { color: #d4d9d0; font-size: 0.93rem; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .commitment-video { display: none; }
  .commitment { background: var(--bw-green-dark); }
  .service-card, .gallery-item img { transition: none; }
}

/* ---------- Gallery ---------- */
.gallery-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(15rem, 100%), 1fr));
  gap: 1rem;
}
.gallery-item {
  display: block; width: 100%;
  padding: 0; border: 0;
  border-radius: var(--bw-radius);
  overflow: hidden;
  cursor: zoom-in;
  background: var(--bw-bg);
}
.gallery-item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.25s ease;
}
.gallery-item:hover img { transform: scale(1.04); }

/* Lightbox */
.lightbox {
  border: 0; padding: 1rem;
  margin: auto;
  background: transparent;
  max-width: min(90vw, 70rem);
}
.lightbox::backdrop { background: rgba(10, 14, 8, 0.85); }
.lightbox img {
  max-width: 100%; max-height: 80vh;
  margin: 0 auto;
  border-radius: var(--bw-radius);
}
.lightbox p { color: #fff; text-align: center; margin-top: 0.75rem; font-size: 0.95rem; }
.lightbox-close {
  position: absolute; top: 0; right: 0;
  width: 2.6rem; height: 2.6rem;
  border: 0; border-radius: 50%;
  background: #fff; color: var(--bw-ink);
  font-size: 1.5rem; line-height: 1;
  cursor: pointer;
}

/* ---------- Areas ---------- */
.areas-list {
  list-style: none;
  display: flex; flex-wrap: wrap; gap: 0.55rem;
  margin-top: 0.5rem;
}
.areas-list li {
  background: var(--bw-white);
  border: 1px solid var(--bw-border);
  border-radius: var(--bw-pill);
  padding: 0.35rem 1rem;
  font-size: 0.88rem;
}
.areas-more {
  background: var(--bw-green) !important;
  border-color: var(--bw-green) !important;
  color: #fff;
}

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--bw-white);
  padding: 4.5rem 0;
  border-block: 1px solid var(--bw-border);
}
.cta-band h2 { font-size: clamp(1.6rem, 3.2vw, 2.2rem); margin-bottom: 1rem; }
.cta-band .split-photo { aspect-ratio: 1 / 1; max-height: 26rem; }

/* ---------- Reviews ---------- */
.reviews-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(17rem, 100%), 1fr));
  gap: 1.5rem;
  margin-bottom: 2.25rem;
}
.review-card {
  background: var(--bw-bg);
  border-radius: var(--bw-radius);
  padding: 1.75rem;
  display: flex; flex-direction: column; gap: 0.9rem;
}
.review-card .stars { font-size: 1.05rem; }
.review-card blockquote p { color: var(--bw-ink); font-size: 0.95rem; }
.review-name {
  margin-top: auto;
  font-weight: 600; font-size: 0.9rem;
}
.review-name span { font-weight: 400; color: var(--bw-muted); }
.reviews-cta { text-align: center; }

/* ---------- Contact band ---------- */
.contact-band {
  background: var(--bw-green);
  color: #fff;
  padding: 4rem 0;
}
.contact-inner { text-align: center; }
.contact-band h2 {
  color: #fff;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  max-width: 42rem;
  margin: 0 auto 1.75rem;
  text-wrap: balance;
}
.contact-links { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }

/* ---------- Footer ---------- */
.site-footer { background: var(--bw-green-dark); color: #e3e6e0; }
.footer-grid {
  display: grid;
  grid-template-columns: auto 1fr 1fr;
  gap: 3rem;
  padding-top: 3rem; padding-bottom: 2rem;
}
.footer-brand img { width: 120px; height: auto; }
.site-footer h3 {
  color: #fff; font-size: 1rem;
  margin-bottom: 0.9rem;
}
.footer-nav, .footer-contact { list-style: none; display: grid; gap: 0.5rem; }
.site-footer a { color: #e3e6e0; text-decoration: none; font-size: 0.92rem; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer a:focus-visible { outline-color: #fff; }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 1.25rem; padding-bottom: 1.5rem;
  font-size: 0.82rem; color: #b9bfb4;
}
.site-credit a { color: #b9bfb4; }
.site-credit a:hover { color: #fff; }

/* ---------- 404 ---------- */
.error-page {
  min-height: 70vh;
  display: grid; place-content: center;
  text-align: center; gap: 1rem;
  padding: 4rem 1.5rem;
}
.error-code {
  font-size: clamp(4rem, 15vw, 7rem);
  font-weight: 700;
  color: var(--bw-green);
  line-height: 1;
}
.error-page .site-credit { margin-top: 2rem; font-size: 0.8rem; color: var(--bw-muted); }
.error-page .site-credit a { color: var(--bw-muted); }

/* ---------- Responsive ---------- */
@media (max-width: 60rem) {
  .hero-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .split { grid-template-columns: 1fr; gap: 2rem; }
  .split-reverse .split-photo { order: 0; }
}

@media (max-width: 46rem) {
  .nav-toggle { display: block; }
  .nav-menu {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: var(--bw-green);
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding: 0.5rem 1.5rem 1.25rem;
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.25);
  }
  .nav-menu.open { display: flex; max-height: calc(100dvh - 8.5rem); overflow-y: auto; }
  .nav-menu li { width: 100%; }
  .nav-menu a:not(.btn) { display: block; padding: 0.8rem 0; }
  .nav-cta { margin-top: 0.75rem; }
  .topbar-inner { justify-content: center; gap: 1.25rem; }
  .hero { padding: 3.5rem 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { justify-content: center; text-align: center; }
}
