/* ============================================
   LEE JUNK REMOVAL — SHARED STYLES
   Source of truth: site/index.html
   ============================================ */

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url("/assets/fonts/inter-latin-var.woff2") format("woff2");
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Oswald";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/assets/fonts/oswald-latin-var.woff2") format("woff2");
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ============================================
   CSS CUSTOM PROPERTIES
   ============================================ */
:root {
  /* Core Colors */
  --black: #080a08;
  --charcoal: #111511;
  --graphite: #1b1f1b;
  --green: #5dbb2f;
  --green-bright: #76d943;
  --green-dark: #2f7d20;
  --green-soft: #eef8ea;
  --white: #ffffff;
  --off-white: #f7f8f5;
  --border: #dde3d8;
  --gray: #666d63;
  --text: #202420;
  --star: #ffc233;
  --error: #d94a38;
  --green-hover: #469a22;

  /* Typography */
  --font-heading: "Oswald", "Arial Narrow", sans-serif;
  --font-body:
    "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;

  /* Font Sizes */
  --fs-xs: 12px;
  --fs-sm: 14px;
  --fs-base: 16px;
  --fs-md: 18px;
  --fs-lg: 22px;
  --fs-xl: 28px;
  --fs-2xl: 36px;
  --fs-3xl: 48px;
  --fs-4xl: 64px;
  --fs-hero: clamp(56px, 7vw, 96px);

  /* Spacing */
  --sp-1: 4px;
  --sp-2: 8px;
  --sp-3: 12px;
  --sp-4: 16px;
  --sp-5: 24px;
  --sp-6: 32px;
  --sp-7: 48px;
  --sp-8: 64px;
  --sp-9: 56px;
  --sp-10: 80px;

  /* Layout */
  --container-max: 1180px;
  --container-wide: 1320px;
}

/* ============================================
   RESET & BASE
   ============================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
}

.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;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}
/* <picture> wrappers are layout-transparent so existing `img` rules still apply
   to the inner <img>. More specific rules (e.g. .hero__media > picture) can opt out. */
picture {
  display: contents;
}
a {
  text-decoration: none;
  color: inherit;
}
ul,
ol {
  list-style: none;
}
button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

h1,
h2,
h3,
h4,
h5 {
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: -0.02em;
  color: var(--black);
  line-height: 1;
}

.container {
  width: min(100% - 48px, var(--container-max));
  margin-inline: auto;
}
.container-wide {
  width: min(100% - 48px, var(--container-wide));
  margin-inline: auto;
}

.green {
  color: var(--green);
}

/* ============================================
   UTILITY BAR
   ============================================ */
.utility-bar {
  background: var(--black);
  color: var(--white);
  font-size: var(--fs-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  height: 38px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.utility-bar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.utility-bar__left {
  display: flex;
  align-items: center;
  gap: 28px;
}
.utility-bar__item {
  display: flex;
  align-items: center;
  gap: 6px;
  color: rgba(255, 255, 255, 0.85);
}
.utility-bar__item svg {
  color: var(--green);
  width: 14px;
  height: 14px;
}
.utility-bar__item strong {
  color: var(--green-bright);
}
.utility-bar__phone {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--white);
  font-weight: 800;
  letter-spacing: 0.04em;
}
.utility-bar__phone svg {
  color: var(--green);
  width: 14px;
  height: 14px;
}
.utility-bar__phone a {
  color: var(--white);
}
.utility-bar__phone a:hover {
  color: var(--green-bright);
}

/* ============================================
   HEADER / NAV
   ============================================ */
.header {
  height: 92px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(8, 10, 8, 0.08);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: box-shadow 0.3s ease;
}
.header.scrolled {
  box-shadow: 0 10px 30px rgba(8, 10, 8, 0.08);
}
.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}
.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.logo img {
  height: 78px;
  width: auto;
}
.logo svg {
  height: 78px;
  width: auto;
}
.logo--invert img {
  filter: brightness(0) invert(1);
}

.nav {
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav__link {
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--text);
  padding: 10px 14px;
  border-radius: 4px;
  transition: color 0.2s ease;
  letter-spacing: 0.06em;
  position: relative;
}
.nav__link:hover,
.nav__link.active {
  color: var(--green);
}
.nav__link.active::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 14px;
  right: 14px;
  height: 2px;
  background: var(--green);
  border-radius: 1px;
}
.nav__link--dropdown {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav__link--dropdown svg {
  width: 14px;
  height: 14px;
  transition: transform 0.2s;
}

/* Nav dropdown (mega-menu) — desktop hover/focus */
.nav__item {
  position: relative;
  display: flex;
  align-items: center;
}
.nav__dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 1100;
  min-width: 480px;
  padding: 16px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 20px 48px rgba(8, 10, 8, 0.16);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition:
    opacity 0.18s ease,
    transform 0.18s ease,
    visibility 0.18s ease;
}
.nav__item:hover > .nav__dropdown,
.nav__item:focus-within > .nav__dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav__item:hover .nav__link--dropdown svg,
.nav__item:focus-within .nav__link--dropdown svg {
  transform: rotate(180deg);
}
.nav__dropdown-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px 12px;
}
.nav__dropdown-link {
  display: block;
  padding: 9px 12px;
  border-radius: 7px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--text);
  white-space: nowrap;
  transition:
    background 0.15s ease,
    color 0.15s ease;
}
.nav__dropdown-link:hover {
  background: var(--green-soft);
  color: var(--black);
}
.nav__dropdown-all {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--green);
  transition: color 0.15s ease;
}
.nav__dropdown-all svg {
  width: 14px;
  height: 14px;
}
.nav__dropdown-all:hover {
  color: var(--green-bright);
}

.header__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 4px;
  background: var(--green);
  color: var(--white);
  font-weight: 800;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  border: 1px solid var(--green);
  box-shadow: 0 10px 24px rgba(93, 187, 47, 0.22);
  transition: all 0.2s ease;
  white-space: nowrap;
}
.header__cta:hover {
  background: var(--green-bright);
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(93, 187, 47, 0.3);
}
.header__cta svg {
  width: 16px;
  height: 16px;
}

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--black);
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 4px;
  background: var(--green);
  color: var(--white);
  font-weight: 800;
  font-size: var(--fs-sm);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  border: 2px solid var(--green);
  box-shadow: 0 10px 24px rgba(93, 187, 47, 0.25);
  transition: all 0.25s ease;
  white-space: nowrap;
}
.btn-primary:hover {
  background: var(--green-bright);
  border-color: var(--green-bright);
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(93, 187, 47, 0.35);
}
.btn-primary svg {
  width: 18px;
  height: 18px;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 4px;
  background: var(--black);
  color: var(--white);
  font-weight: 800;
  font-size: var(--fs-sm);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  border: 2px solid rgba(255, 255, 255, 0.22);
  transition: all 0.25s ease;
  white-space: nowrap;
}
.btn-secondary:hover {
  background: var(--graphite);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-1px);
}
.btn-secondary svg {
  width: 18px;
  height: 18px;
}

/* ============================================
   SECTION SHARED STYLES
   ============================================ */
.section {
  padding: var(--sp-9) 0;
}
.section--tight {
  padding: 56px 0;
}
.section--large {
  padding: var(--sp-10) 0;
}
.section--dark {
  background: var(--black);
  color: var(--white);
}
.section--dark h2,
.section--dark h3 {
  color: var(--white);
}
.section--off-white {
  background: var(--off-white);
}

.section__eyebrow {
  font-family: var(--font-heading);
  font-size: var(--fs-sm);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gray);
  margin-bottom: 8px;
}
.section__eyebrow--green {
  color: var(--green);
}
.section__title {
  font-size: var(--fs-3xl);
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1;
}
.section__subtitle {
  font-size: var(--fs-md);
  color: var(--gray);
  max-width: 580px;
}
.section__header {
  text-align: center;
  margin-bottom: var(--sp-7);
}
.section__header .section__subtitle {
  margin-inline: auto;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--black);
  color: var(--white);
  padding: 30px 0 16px;
}
.footer .container-wide {
  display: grid;
  grid-template-columns: 1.1fr 0.8fr 0.95fr 0.95fr 1fr;
  gap: 22px;
  align-items: start;
}
.footer__brand {
  max-width: 240px;
}
.footer__brand svg {
  height: 48px;
  width: auto;
  margin-bottom: 12px;
}
.footer__brand p {
  font-size: var(--fs-xs);
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.5;
  max-width: 220px;
}
.footer__col h4 {
  font-family: var(--font-heading);
  font-size: var(--fs-sm);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--white);
  margin-bottom: 10px;
}
.footer__col a {
  display: block;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
  padding: 4px 0;
  transition: color 0.2s ease;
}
.footer__col a:hover {
  color: var(--green);
}
.footer__contact-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 8px;
}
.footer__contact-item svg {
  width: 14px;
  height: 14px;
  color: var(--green);
  flex-shrink: 0;
}
.footer__contact-item a {
  display: inline;
  padding: 0;
}

.form-static-status {
  display: none;
  margin: 1rem 0 0;
  padding: 0.875rem 1rem;
  border: 1px solid rgba(34, 197, 94, 0.28);
  border-radius: 8px;
  background: rgba(34, 197, 94, 0.1);
  color: #12301f;
  font-weight: 700;
  line-height: 1.45;
}

.form-static-status.visible {
  display: block;
}

.form-static-status.is-error {
  border-color: rgba(220, 38, 38, 0.32);
  background: rgba(220, 38, 38, 0.1);
  color: #4b1111;
}

.form-static-status a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.form-honeypot {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.footer__bottom {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.footer__copy {
  font-size: var(--fs-xs);
  color: rgba(255, 255, 255, 0.3);
  margin-top: 0;
}
.footer__social {
  display: flex;
  gap: 14px;
}
.footer__social a {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  transition: all 0.2s ease;
  padding: 0;
  border: none;
  color: rgba(255, 255, 255, 0.8);
}
.footer__social a:hover {
  transform: translateY(-2px);
  color: #fff;
}
.footer__social a img,
.footer__social a svg {
  width: 20px;
  height: 20px;
  opacity: 0.8;
}
.footer__social a:hover img,
.footer__social a:hover svg {
  opacity: 1;
}
.footer__birdnest {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
  white-space: nowrap;
}
.footer__birdnest a {
  display: inline;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.55);
}
.footer__birdnest-logo {
  width: 26px;
  height: 26px;
  object-fit: contain;
  filter: grayscale(1) brightness(0) invert(1);
  opacity: 0.65;
}

/* ============================================
   SCROLL ANIMATIONS
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 0.42s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.42s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 {
  transition-delay: 0.05s;
}
.reveal-delay-2 {
  transition-delay: 0.1s;
}
.reveal-delay-3 {
  transition-delay: 0.15s;
}
.reveal-delay-4 {
  transition-delay: 0.2s;
}

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

/* ============================================
   RESPONSIVE — SHARED COMPONENTS
   ============================================ */
/* Keep the hamburger until the full desktop nav + CTA actually fit (~1040px).
   Below this the desktop nav overflows and the CTA gets clipped. */
@media (max-width: 1040px) {
  .nav {
    display: none;
  }
  .header__cta {
    display: none;
  }
  .menu-toggle {
    display: flex;
  }
  .nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    /* Span to the viewport bottom so page content can't bleed through.
       100% resolves to the header height, so this works at any breakpoint. */
    height: calc(100vh - 100%);
    overflow-y: auto;
    background: var(--white);
    border-top: 1px solid var(--border);
    padding: 16px 24px;
    box-shadow: 0 16px 40px rgba(8, 10, 8, 0.1);
  }
  .nav.open .nav__link {
    padding: 12px 0;
    text-align: center;
  }
  /* In the mobile menu, Services/Service Areas expand inline (tap to toggle) */
  .nav__item {
    display: block;
    width: 100%;
    text-align: center;
  }
  .nav.open .nav__link--dropdown {
    justify-content: center;
  }
  .nav__item.open .nav__link--dropdown svg {
    transform: rotate(180deg);
  }
  .nav__dropdown {
    position: static;
    display: none;
    min-width: 0;
    width: 100%;
    padding: 2px 0 10px;
    border: none;
    border-radius: 0;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
  }
  .nav__item.open > .nav__dropdown {
    display: block;
  }
  .nav__dropdown-grid {
    grid-template-columns: 1fr;
  }
  .nav__dropdown-link {
    text-align: center;
    white-space: normal;
    font-size: 14px;
  }
  .nav__dropdown-all {
    justify-content: center;
    margin-top: 4px;
    border-top: none;
  }
}

@media (max-width: 1024px) {
  .footer .container-wide {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  :root {
    --fs-hero: clamp(44px, 14vw, 64px);
    --fs-3xl: 38px;
    --fs-2xl: 30px;
  }
  .header {
    height: 78px;
  }
  .logo img,
  .logo svg {
    height: 62px;
  }
  .section {
    padding: 56px 0;
  }
  .utility-bar__left {
    gap: 12px;
  }
  .utility-bar__item:nth-child(3) {
    display: none;
  }
  .footer .container-wide {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .footer__bottom {
    display: flex;
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
  .footer__birdnest {
    justify-content: center;
    margin-left: 0;
  }
}

@media (max-width: 480px) {
  .utility-bar__item:nth-child(2) {
    display: none;
  }
}

/* ============================================
   STORY SECTION (editorial prose — service & location pages)
   ============================================ */
.service-story {
  padding: 72px 0;
  background: var(--white);
}
.service-story__lead {
  max-width: 820px;
  margin: 0 auto 44px;
  text-align: center;
}
.service-story__lead p {
  font-size: 1.15rem;
  line-height: 1.75;
  color: var(--graphite);
}
.service-story__lead p + p {
  margin-top: 18px;
}
.service-story__lead strong {
  color: var(--black);
}
.service-story__cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 1100px;
  margin: 0 auto;
}
.service-story__item {
  padding-top: 22px;
  border-top: 3px solid var(--green);
}
.service-story__item h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 12px;
  color: var(--black);
}
.service-story__item p {
  line-height: 1.75;
  color: var(--graphite);
}
.service-story__item strong {
  color: var(--black);
}
@media (max-width: 880px) {
  .service-story__cols {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}
