:root {
  --black: #000000;
  --bg: #070707;
  --bg-2: #101010;
  --card: #141414;
  --line: #262626;
  --red: #CC2C28;
  --red-hot: #E03A36;
  --green: #406C34;
  --green-bright: #5A9448;
  --blue: #305C9C;
  --blue-bright: #3D74C4;
  --orange: #ECAC50;
  --grey: #989CA0;
  --white: #FCFCFC;
  --muted: #B5B5B5;
  --header-h: 72px;
  --bar-h: 64px;
  --radius: 18px;
  --font-display: "Anton", "Arial Black", sans-serif;
  --font-cond: "Oswald", "Arial Narrow", sans-serif;
  --font: "Outfit", system-ui, sans-serif;
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--white);
  font-family: var(--font);
  font-size: 1.05rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  padding-bottom: calc(var(--bar-h) + env(safe-area-inset-bottom, 0px));
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--orange); text-decoration: none; }
a:hover { color: var(--white); }
button { font: inherit; }

.wrap {
  width: min(1120px, calc(100% - 32px));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -40px;
  background: var(--red);
  color: #fff;
  padding: 8px 12px;
  z-index: 100;
}
.skip-link:focus { top: 12px; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}

/* Brand stripe */
.brand-bar {
  height: 5px;
  background: linear-gradient(90deg, var(--green) 0 25%, var(--blue) 25% 50%, var(--orange) 50% 75%, var(--red) 75% 100%);
  position: sticky;
  top: 0;
  z-index: 50;
}

/* Header */
.site-header {
  position: sticky;
  top: 5px;
  z-index: 40;
  background: rgba(0, 0, 0, 0.86);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  gap: 16px;
}

.logo-link {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.logo-img {
  height: 70px;
  width: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
}
.site-nav a {
  color: var(--white);
  font-family: var(--font-cond);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.92rem;
}
.site-nav a:hover { color: var(--orange); }
.nav-call {
  background: var(--red);
  color: #fff !important;
  padding: 10px 16px;
  border-radius: 999px;
  letter-spacing: 0.04em;
}
.nav-call:hover { background: var(--red-hot); color: #fff !important; }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  padding: 10px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--white);
  margin: 6px 0;
  transition: transform 0.2s, opacity 0.2s;
}

/* Hero */
.hero {
  position: relative;
  min-height: auto;
  display: grid;
  place-items: center;
  isolation: isolate;
  overflow: hidden;
  padding: 16px 0 40px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.1) brightness(1.2);
}
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 30%, rgba(0,0,0,0.25), rgba(0,0,0,0.82) 70%),
    linear-gradient(180deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.75) 55%, var(--bg) 100%);
}

.hero-inner {
  text-align: center;
  padding-top: 8px;
}
.hero-logo {
  width: min(210px, 58vw);
  margin: 0 auto 4px;
  filter: drop-shadow(0 12px 30px rgba(0,0,0,0.55));
}

.kicker {
  font-family: var(--font-cond);
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--orange);
  font-size: 0.78rem;
  margin: 0 0 10px;
}
.kicker-green { color: var(--green-bright); }

.hero h1,
.section-head h2,
.about-copy h2,
.quote h2,
.featured-copy h3 {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  line-height: 0.95;
  margin: 0 0 16px;
}

.hero h1 {
  font-size: clamp(2.15rem, 10.5vw, 5.4rem);
  max-width: 16ch;
  margin-inline: auto;
  text-shadow: 0 6px 30px rgba(0,0,0,0.6);
}

.hero-lead {
  max-width: 36rem;
  margin: 0 auto 10px;
  color: #e8e8e8;
  font-size: 1.05rem;
}

.cta-line {
  font-family: var(--font-cond);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--white);
  font-size: 1.02rem;
  margin: 4px 0 18px;
}

.hero-ctas {
  display: grid;
  grid-template-columns: 1fr 1fr;
  justify-content: center;
  gap: 10px;
  width: min(100%, 420px);
  margin-inline: auto;
}
.hero-ctas .btn { width: 100%; padding-inline: 12px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 56px;
  padding: 14px 26px;
  border-radius: 999px;
  font-family: var(--font-cond);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 2px solid transparent;
  transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease, color 0.15s ease;
  color: #fff;
}
.btn:hover { transform: translateY(-2px); color: #fff; }
.btn:active { transform: translateY(0); }
.btn-call {
  background: var(--red);
  box-shadow: 0 10px 28px rgba(204, 44, 40, 0.35);
}
.btn-call:hover { background: var(--red-hot); }
.btn-text {
  background: var(--blue);
  box-shadow: 0 10px 28px rgba(48, 92, 156, 0.35);
}
.btn-text:hover { background: var(--blue-bright); }
.btn-email {
  background: transparent;
  border-color: var(--green);
  color: var(--white);
}
.btn-email:hover { background: var(--green); color: #fff; }

/* Sections */
.services, .work, .project, .about, .quote { padding: 80px 0; }
.work { background: var(--bg-2); }
.about { background: var(--bg); }

.section-head { max-width: 40rem; margin-bottom: 36px; }
.section-head h2 { font-size: clamp(2rem, 5vw, 3.4rem); }
.section-head p, .about-copy p, .service-card p, .featured-copy p {
  color: var(--muted);
  margin: 0 0 12px;
}

/* Featured service */
.featured-card {
  display: grid;
  gap: 0;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 22px;
  box-shadow: var(--shadow);
}
.featured-copy { padding: 28px 24px; }
.featured-copy h3 { font-size: clamp(2rem, 4vw, 3rem); color: var(--white); }
.featured-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 240px;
}

.service-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
.service-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 22px 22px;
  transition: border-color 0.2s, transform 0.2s;
}
.service-card:hover {
  border-color: #3a3a3a;
  transform: translateY(-3px);
}
.service-card h3 {
  font-family: var(--font-cond);
  font-size: 1.25rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  margin: 0 0 8px;
}
.icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  margin-bottom: 14px;
}
.icon-wrap.green { background: rgba(64, 108, 52, 0.22); color: var(--green-bright); }
.icon-wrap.blue { background: rgba(48, 92, 156, 0.22); color: #7aa4e0; }
.icon-wrap.orange { background: rgba(236, 172, 80, 0.16); color: var(--orange); }
.icon-wrap.red { background: rgba(204, 44, 40, 0.18); color: #ff7a76; }

/* Before / after slider */
.ba {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  container-type: inline-size;
  user-select: none;
  touch-action: none;
  cursor: ew-resize;
  background: #000;
}
.ba img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}
.ba > picture,
.ba > picture img.ba-after {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.ba > picture { display: block; }
.ba-before-clip {
  position: absolute;
  inset: 0 auto 0 0;
  width: 50%;
  overflow: hidden;
}
.ba-before-clip picture,
.ba-before-clip img {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100cqi;
  max-width: none;
  object-fit: cover;
}
.ba-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 44px;
  transform: translateX(-50%);
  z-index: 2;
  display: grid;
  place-items: center;
}
.ba-line {
  position: absolute;
  top: 0; bottom: 0;
  left: 50%;
  width: 3px;
  transform: translateX(-50%);
  background: var(--white);
  box-shadow: 0 0 0 1px rgba(0,0,0,0.35);
}
.ba-knob {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 6px 18px rgba(0,0,0,0.4);
  border: 3px solid #fff;
  z-index: 1;
}
.ba-label {
  position: absolute;
  top: 14px;
  z-index: 2;
  font-family: var(--font-cond);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.78rem;
  background: #000;
  color: #fff;
  padding: 6px 10px;
  border-radius: 4px;
}
.ba-label-before { left: 14px; }
.ba-label-after { right: 14px; }

.gallery {
  display: grid;
  gap: 20px;
  margin-top: 28px;
}
.gallery-item {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--card);
}
.gallery-item img { width: 100%; }
.gallery-item figcaption {
  padding: 12px 16px 16px;
  color: var(--muted);
  font-size: 0.95rem;
}

/* About */
.about-grid { display: grid; gap: 36px; }
.about-copy h2 { font-size: clamp(2rem, 5vw, 3.2rem); }
.about-points {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 18px;
}
.about-points li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
}
.about-points strong {
  font-family: var(--font-cond);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: block;
  margin-bottom: 4px;
}
.about-points p { margin: 0; color: var(--muted); }
.dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  margin-top: 6px;
}
.dot.green { background: var(--green-bright); }
.dot.orange { background: var(--orange); }
.dot.blue { background: var(--blue-bright); }

/* Quote */
.quote {
  background:
    radial-gradient(ellipse at 50% 0%, rgba(204, 44, 40, 0.16), transparent 55%),
    var(--bg-2);
  text-align: center;
  border-top: 1px solid var(--line);
}
.quote h2 { font-size: clamp(2.1rem, 6vw, 4rem); max-width: 18ch; margin-inline: auto; }
.quote-phone {
  font-family: var(--font-display);
  font-size: clamp(2rem, 6vw, 3.4rem);
  letter-spacing: 0.04em;
  margin: 8px 0 4px;
}
.quote-phone a { color: var(--white); }
.quote-phone a:hover { color: var(--orange); }
.quote-email {
  color: var(--muted);
  margin: 0 0 26px;
}
.quote-email a { color: var(--orange); font-weight: 600; }
.quote-email a:hover { color: var(--white); }
.quote-ctas {
  margin-top: 4px;
  width: min(100%, 640px);
  grid-template-columns: 1fr 1fr;
}
.quote-ctas .btn-email { grid-column: 1 / -1; }

/* Footer */
.site-footer {
  background: #000;
  border-top: 1px solid var(--line);
  padding: 48px 0 32px;
}
.footer-inner {
  display: grid;
  gap: 20px;
  justify-items: center;
  text-align: center;
}
.footer-logo img { width: 160px; margin-inline: auto; }
.footer-name {
  font-family: var(--font-display);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 1.4rem;
  margin: 0 0 6px;
}
.footer-info p { margin: 0 0 6px; color: var(--muted); font-size: 0.98rem; }
.footer-info a { color: var(--white); }
.footer-info a:hover { color: var(--orange); }
.socials { margin-top: 10px; display: flex; gap: 10px; justify-content: center; align-items: center; }
.socials a {
  font-family: var(--font-cond);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  color: var(--orange);
}
.copyright { color: #777; font-size: 0.88rem; margin: 10px 0 0; }

/* Mobile sticky bar */
.mobile-bar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 60;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  min-height: var(--bar-h);
  padding-bottom: env(safe-area-inset-bottom, 0px);
  background: #000;
  border-top: 1px solid var(--line);
}
.mobile-bar a {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-cond);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  font-size: 0.95rem;
}
.bar-call { background: var(--red); }
.bar-text { background: var(--blue); }
.bar-email { background: var(--green); }
.mobile-bar a:hover { color: #fff; filter: brightness(1.08); }

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}

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

/* Desktop */
@media (min-width: 800px) {
  body { padding-bottom: 0; }
  .mobile-bar { display: none; }
  .featured-card {
    grid-template-columns: 1fr 1.1fr;
    align-items: stretch;
  }
  .featured-copy {
    padding: 48px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  .service-grid {
    grid-template-columns: 1fr 1fr;
  }
  .service-card-wide { grid-column: 1 / -1; }
  .gallery { grid-template-columns: 1.3fr 0.9fr; align-items: start; }
  .about-grid { grid-template-columns: 1.1fr 0.9fr; align-items: center; gap: 56px; }
  .hero-logo { width: 340px; }
  .hero {
    min-height: min(92vh, 920px);
    padding: 32px 0 72px;
  }
  .hero-ctas {
    display: flex;
    width: auto;
    grid-template-columns: none;
  }
  .hero-ctas .btn { width: auto; padding-inline: 26px; }
  .quote-ctas { display: flex; width: auto; }
  .quote-ctas .btn-email { grid-column: auto; }
  .hero-lead { font-size: 1.12rem; }
  .footer-inner {
    grid-template-columns: auto 1fr auto;
    justify-items: start;
    text-align: left;
    align-items: center;
  }
  .footer-logo img { margin: 0; }
  .socials { justify-content: flex-start; }
  .copyright { justify-self: end; }
}

@media (min-width: 1024px) {
  .service-grid { grid-template-columns: 1fr 1fr 1fr; }
  .service-card-wide { grid-column: 1 / -1; }
  .wrap { width: min(1160px, calc(100% - 48px)); }
}

/* Mobile nav */
@media (max-width: 799px) {
  .nav-toggle { display: block; }
  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: rgba(0,0,0,0.96);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    padding: 8px 16px 20px;
    gap: 0;
  }
  .site-nav.open { display: flex; }
  .site-nav a {
    padding: 14px 8px;
    border-bottom: 1px solid var(--line);
  }
  .nav-call {
    margin-top: 12px;
    text-align: center;
    border-bottom: 0;
  }
  .header-inner { position: relative; }
  .logo-img { height: 58px; }
  .services, .work, .project, .about, .quote { padding: 64px 0; }
}

/* Focus */
:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 3px;
}
.btn:focus-visible { outline-offset: 4px; }


/* Project sections */
.project { background: var(--bg); }
.project-fire, .project-hedge, .project-turf { background: var(--bg-2); }
.project-rental, .project-lawn, .project-gallery { background: var(--bg); }
.subhead {
  font-family: var(--font-cond);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 0.92rem;
  color: var(--orange);
  margin: 0 0 14px;
}

.split-grids { display: grid; gap: 32px; }
@media (min-width: 900px) {
  .split-grids { grid-template-columns: 1fr 1fr; gap: 28px; align-items: start; }
}

/* 3-stage viewer */
.stage-viewer { max-width: 720px; margin: 0 auto; }
.stage-frame {
  display: grid;
  aspect-ratio: 3 / 4;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background: #000;
}
.stage-slide {
  grid-area: 1 / 1;
  margin: 0;
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}
.stage-slide.is-active {
  opacity: 1;
  pointer-events: auto;
  z-index: 1;
}
.stage-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.stage-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-top: 16px;
}
.stage-pills button,
.filter-pills button {
  font-family: var(--font-cond);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--card);
  border: 1px solid var(--line);
  color: var(--white);
  border-radius: 999px;
  padding: 10px 16px;
  min-height: 44px;
  cursor: pointer;
}
.stage-pills button:hover,
.filter-pills button:hover { border-color: #4a4a4a; }
.stage-pills button[aria-selected="true"] {
  background: var(--green);
  border-color: var(--green);
}
.filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 24px;
}
.filter-pills button.is-active,
.filter-pills button[aria-pressed="true"] {
  background: var(--red);
  border-color: var(--red);
}

/* Portrait before/after */
.ba-portrait {
  aspect-ratio: 3 / 4;
  max-width: 560px;
  margin-inline: auto;
}

/* Photo grids */
.photo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.photo-grid figure { margin: 0; }
.photo-grid-2 { grid-template-columns: 1fr 1fr; }
.photo-btn {
  display: block;
  width: 100%;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  background: var(--card);
  cursor: pointer;
  color: inherit;
}
.photo-btn:hover { border-color: #4a4a4a; }
.photo-btn img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}
@media (min-width: 800px) {
  .photo-grid { grid-template-columns: repeat(3, 1fr); }
  .photo-grid-2 { grid-template-columns: 1fr 1fr; max-width: 820px; margin-inline: auto; width: 100%; }
  .photo-grid-5 { grid-template-columns: repeat(5, 1fr); }
  .photo-grid-3 { grid-template-columns: repeat(3, 1fr); }
}

/* Filterable gallery */
.proj-gallery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.proj-item { margin: 0; }
.proj-item.is-hidden { display: none; }
@media (min-width: 800px) {
  .proj-gallery-grid { grid-template-columns: repeat(4, 1fr); }
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(0, 0, 0, 0.94);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 8px;
  padding: 56px 12px 24px;
}
.lightbox[hidden] { display: none; }
.lightbox figure {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 0;
}
.lightbox img {
  max-height: min(82vh, 1400px);
  max-width: min(92vw, 1200px);
  width: auto;
  height: auto;
  object-fit: contain;
}
.lightbox figcaption {
  color: var(--muted);
  text-align: center;
  margin-top: 12px;
  max-width: 42rem;
}
.lb-close {
  position: absolute;
  top: 12px;
  right: 12px;
  min-height: 44px;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--card);
  color: #fff;
  font-family: var(--font-cond);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
}
.lb-prev, .lb-next {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--card);
  color: #fff;
  cursor: pointer;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.lb-prev:hover, .lb-next:hover, .lb-close:hover { border-color: #666; }
body.lb-open { overflow: hidden; }
@media (max-width: 699px) {
  .lightbox { grid-template-columns: 1fr; padding: 64px 8px 80px; }
  .lb-prev, .lb-next {
    position: absolute;
    bottom: calc(12px + env(safe-area-inset-bottom, 0px));
  }
  .lb-prev { left: 16px; }
  .lb-next { right: 16px; }
}
