/* Leaf Line Cleaners — forest mist */
:root {
  --ll-pine: #16352b;
  --ll-deep: #0c221c;
  --ll-moss: #2a5544;
  --ll-leaf: #4f7d66;
  --ll-mist: #d8e6df;
  --ll-fog: #ebf2ee;
  --ll-cloud: #f5f9f7;
  --ll-ink: #14231d;
  --ll-soft: #5a6e64;
  --ll-rule: rgba(22, 53, 43, 0.13);
  --ll-white: #ffffff;
  --ll-lichen: #a8b896;
  --ll-serif: "Libre Baskerville", Georgia, "Times New Roman", serif;
  --ll-sans: "DM Sans", "Segoe UI", sans-serif;
  --ll-wide: 1120px;
  --ll-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--ll-sans);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--ll-ink);
  background:
    radial-gradient(ellipse 55% 40% at 0% 0%, rgba(79, 125, 102, 0.12), transparent 60%),
    linear-gradient(185deg, var(--ll-mist) 0%, var(--ll-fog) 18%, var(--ll-cloud) 100%);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--ll-moss);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--ll-pine);
}

h1,
h2,
h3,
.brand-mark {
  font-family: var(--ll-serif);
  font-weight: 400;
  line-height: 1.2;
  color: var(--ll-deep);
}

p {
  margin: 0 0 1rem;
}

ul {
  margin: 0 0 1rem;
  padding-left: 1.15rem;
}

.wrap {
  width: min(100% - 2.5rem, var(--ll-wide));
  margin-inline: auto;
}

.wrap-narrow {
  width: min(100% - 2.5rem, 680px);
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(245, 249, 247, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--ll-rule);
}

.site-header.over-hero {
  position: absolute;
  inset-inline: 0;
  background: transparent;
  border-bottom: none;
  backdrop-filter: none;
}

.site-header.over-hero .brand-mark,
.site-header.over-hero .menu-toggle {
  color: var(--ll-white);
}

.site-header.over-hero .nav-main a {
  color: rgba(255, 255, 255, 0.9);
}

.site-header.over-hero .nav-main a:hover,
.site-header.over-hero .nav-main a[aria-current="page"] {
  color: var(--ll-white);
}

.top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.5rem;
}

.brand-mark {
  display: flex;
  flex-direction: column;
  gap: 0.12rem;
  text-decoration: none;
  color: var(--ll-deep);
  font-size: 1.12rem;
  letter-spacing: 0.01em;
}

.brand-mark em {
  font-family: var(--ll-sans);
  font-style: normal;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.7;
}

.menu-toggle {
  display: none;
  border: 1px solid currentColor;
  background: transparent;
  color: var(--ll-pine);
  font-family: var(--ll-sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.55rem 0.9rem;
  cursor: pointer;
}

.nav-main {
  display: flex;
  align-items: center;
  gap: 1.4rem;
}

.nav-main a {
  text-decoration: none;
  color: var(--ll-ink);
  font-size: 0.9rem;
  font-weight: 500;
}

.nav-main a:hover,
.nav-main a[aria-current="page"] {
  color: var(--ll-pine);
}

/* Hero — full bleed */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  align-items: center;
  color: var(--ll-white);
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  animation: leaf-drift 20s var(--ll-ease) infinite alternate;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(12, 34, 28, 0.78) 0%, rgba(12, 34, 28, 0.45) 42%, rgba(12, 34, 28, 0.55) 100%),
    linear-gradient(180deg, rgba(12, 34, 28, 0.25) 0%, rgba(12, 34, 28, 0.7) 100%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(100% - 2.5rem, var(--ll-wide));
  margin: 0 auto;
  padding: 6.5rem 0 4rem;
  max-width: 36rem;
  animation: lift-in 0.95s var(--ll-ease) both;
}

.hero-inner .brand-hero {
  margin: 0 0 0.9rem;
  font-size: clamp(2.55rem, 7vw, 4.35rem);
  color: var(--ll-white);
  max-width: 12ch;
}

.hero-line {
  margin: 0 0 1.7rem;
  max-width: 32ch;
  font-size: clamp(1.05rem, 2vw, 1.22rem);
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.55;
}

.cta-pair {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.4rem;
  border: 1px solid transparent;
  font-family: var(--ll-sans);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.25s var(--ll-ease), color 0.25s var(--ll-ease), border-color 0.25s var(--ll-ease), transform 0.25s var(--ll-ease);
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-mist {
  background: var(--ll-mist);
  color: var(--ll-deep);
}

.btn-mist:hover {
  background: var(--ll-white);
  color: var(--ll-deep);
}

.btn-pine {
  background: var(--ll-pine);
  color: var(--ll-white);
}

.btn-pine:hover {
  background: var(--ll-deep);
  color: var(--ll-white);
}

.btn-ghost {
  background: transparent;
  color: inherit;
  border-color: currentColor;
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  color: inherit;
}

.site-header:not(.over-hero) .btn-ghost,
.band .btn-ghost,
.page-banner .btn-ghost,
footer .btn-ghost {
  color: var(--ll-pine);
}

/* Stem strip — vertical process */
.stem-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--ll-pine);
  color: rgba(255, 255, 255, 0.88);
}

.stem-node {
  position: relative;
  padding: 1.6rem 1.5rem 1.7rem;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.stem-node:last-child {
  border-right: none;
}

.stem-node strong {
  display: block;
  font-family: var(--ll-serif);
  font-weight: 400;
  font-size: 1.15rem;
  color: var(--ll-white);
  margin-bottom: 0.35rem;
}

.stem-node span {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.72);
}

.stem-node::before {
  content: "";
  display: block;
  width: 1.5rem;
  height: 2px;
  background: var(--ll-lichen);
  margin-bottom: 0.85rem;
}

/* Bands */
.band {
  padding: 4.75rem 0;
}

.band-fog {
  background: var(--ll-fog);
}

.band-pine {
  background: var(--ll-pine);
  color: rgba(255, 255, 255, 0.9);
}

.band-pine h2,
.band-pine h3 {
  color: var(--ll-white);
}

.band-pine .lede {
  color: rgba(255, 255, 255, 0.8);
}

.band-pine a:not(.btn) {
  color: var(--ll-mist);
}

.eyebrow {
  margin: 0 0 0.6rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ll-leaf);
}

.band-pine .eyebrow {
  color: var(--ll-lichen);
}

.band-head {
  max-width: 36rem;
  margin-bottom: 2.4rem;
}

.band-head h2 {
  margin: 0 0 0.85rem;
  font-size: clamp(1.7rem, 3.4vw, 2.4rem);
}

.lede {
  margin: 0;
  font-size: 1.06rem;
  color: var(--ll-soft);
}

/* Split with vertical rule */
.split {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: start;
}

.split h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.6rem, 3vw, 2.15rem);
}

.side-panel {
  padding-left: 1.75rem;
  border-left: 2px solid var(--ll-leaf);
}

.side-panel dl {
  margin: 0;
}

.side-panel dt {
  margin-top: 1.05rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ll-soft);
}

.side-panel dt:first-child {
  margin-top: 0;
}

.side-panel dd {
  margin: 0.25rem 0 0;
  font-family: var(--ll-serif);
  font-size: 1.05rem;
  color: var(--ll-deep);
}

/* Service rails */
.rail {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1.5rem;
  align-items: start;
  padding: 1.65rem 0;
  border-top: 1px solid var(--ll-rule);
}

.rail:last-child {
  border-bottom: 1px solid var(--ll-rule);
}

.rail-tag {
  font-family: var(--ll-serif);
  font-size: 0.95rem;
  color: var(--ll-leaf);
  padding-top: 0.15rem;
  min-width: 2.5rem;
}

.rail h3 {
  margin: 0 0 0.4rem;
  font-size: 1.28rem;
}

.rail p {
  margin: 0;
  color: var(--ll-soft);
  max-width: 44ch;
}

.rail-link {
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  color: var(--ll-moss);
  padding-top: 0.2rem;
}

/* Canopy panel */
.canopy {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  min-height: 440px;
}

.canopy-field {
  background:
    linear-gradient(160deg, rgba(22, 53, 43, 0.2), transparent 55%),
    radial-gradient(ellipse at 70% 30%, rgba(168, 184, 150, 0.35), transparent 50%),
    linear-gradient(200deg, var(--ll-moss), var(--ll-deep));
  animation: mist-breathe 16s ease-in-out infinite alternate;
}

.canopy-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 3.5rem clamp(1.5rem, 5vw, 4rem);
  background: var(--ll-mist);
}

.canopy-copy h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.65rem, 3vw, 2.25rem);
}

/* Page banner */
.page-banner {
  padding: 4.75rem 0 2.6rem;
  border-bottom: 1px solid var(--ll-rule);
  background:
    linear-gradient(120deg, rgba(216, 230, 223, 0.9) 0%, transparent 70%);
}

.page-banner h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(2rem, 4.5vw, 3.1rem);
}

.page-banner p {
  margin: 0;
  max-width: 42ch;
  color: var(--ll-soft);
  font-size: 1.06rem;
}

/* Service stacks */
.stack-list {
  display: grid;
  gap: 0;
}

.stack {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.75rem;
  padding: 2.85rem 0;
  border-bottom: 1px solid var(--ll-rule);
}

.stack:first-child {
  padding-top: 0;
}

.stack h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
}

.stack ul {
  color: var(--ll-soft);
  margin: 0;
}

/* Eco rows */
.grove {
  display: grid;
  gap: 2.25rem;
  margin-top: 2rem;
}

.grove-item {
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--ll-rule);
}

.grove-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.grove-item h3 {
  margin: 0 0 0.5rem;
  font-size: 1.28rem;
}

.grove-item p {
  margin: 0;
  color: var(--ll-soft);
  max-width: 50ch;
}

/* Pickup path */
.path {
  counter-reset: path;
  display: grid;
  gap: 0;
  margin: 2rem 0 0;
}

.path-step {
  display: grid;
  grid-template-columns: 3rem 1fr;
  gap: 1.1rem;
  padding: 1.35rem 0;
  border-top: 1px solid var(--ll-rule);
}

.path-step:last-child {
  border-bottom: 1px solid var(--ll-rule);
}

.path-step::before {
  counter-increment: path;
  content: counter(path, decimal-leading-zero);
  font-family: var(--ll-serif);
  font-size: 1.1rem;
  color: var(--ll-leaf);
  line-height: 1.4;
}

.path-step h3 {
  margin: 0 0 0.35rem;
  font-size: 1.18rem;
}

.path-step p {
  margin: 0;
  color: var(--ll-soft);
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 3.25rem;
}

.detail-list {
  margin: 0;
}

.detail-list dt {
  margin-top: 1.2rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ll-soft);
}

.detail-list dt:first-child {
  margin-top: 0;
}

.detail-list dd {
  margin: 0.3rem 0 0;
  font-size: 1.05rem;
}

.field {
  margin-bottom: 1.1rem;
}

.field label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ll-deep);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.8rem 0.9rem;
  border: 1px solid var(--ll-rule);
  background: var(--ll-white);
  color: var(--ll-ink);
  font-family: var(--ll-sans);
  font-size: 1rem;
}

.field textarea {
  min-height: 145px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 2px solid var(--ll-leaf);
  outline-offset: 1px;
}

.form-success {
  display: none;
  margin-bottom: 1rem;
  padding: 0.9rem 1rem;
  background: var(--ll-mist);
  color: var(--ll-deep);
  border-left: 3px solid var(--ll-moss);
}

.form-success.show {
  display: block;
}

/* Legal */
.legal-body {
  padding: 3rem 0 4.5rem;
}

.legal-body h2 {
  margin: 2rem 0 0.75rem;
  font-size: 1.35rem;
}

.legal-body p,
.legal-body li {
  color: var(--ll-soft);
}

/* Footer */
.site-footer {
  padding: 3.5rem 0 2rem;
  background: var(--ll-deep);
  color: rgba(255, 255, 255, 0.82);
}

.site-footer .brand-mark {
  color: var(--ll-white);
  margin-bottom: 1rem;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.85);
}

.site-footer a:hover {
  color: var(--ll-white);
}

.site-footer h3 {
  margin: 0 0 0.85rem;
  font-size: 1rem;
  color: var(--ll-white);
}

.foot-cols {
  display: grid;
  grid-template-columns: 1.45fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.foot-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.foot-links li {
  margin-bottom: 0.45rem;
}

.foot-links a {
  text-decoration: none;
}

.foot-end {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.88rem;
}

.foot-legal {
  display: flex;
  gap: 1.25rem;
}

.foot-legal a {
  text-decoration: none;
}

/* Cookie banner */
#cookie-banner {
  display: none;
  position: fixed;
  inset-inline: 0;
  bottom: 0;
  z-index: 60;
  padding: 1rem;
  background: rgba(12, 34, 28, 0.97);
  color: rgba(255, 255, 255, 0.9);
  box-shadow: 0 -8px 28px rgba(0, 0, 0, 0.22);
}

#cookie-banner.show {
  display: block;
  animation: lift-in 0.45s var(--ll-ease) both;
}

.cookie-inner {
  width: min(100%, var(--ll-wide));
  margin: 0 auto;
}

.cookie-inner p {
  margin: 0 0 1rem;
}

.cookie-inner a {
  color: var(--ll-mist);
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

#cookie-banner .btn-ghost {
  color: var(--ll-white);
  border-color: rgba(255, 255, 255, 0.45);
}

#cookie-panel {
  display: none;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

#cookie-panel.open {
  display: block;
}

.cookie-opt {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.55rem;
  font-size: 0.92rem;
}

/* Motion */
@keyframes lift-in {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes leaf-drift {
  from {
    transform: scale(1.04) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.09) translate3d(-1.4%, -0.6%, 0);
  }
}

@keyframes mist-breathe {
  from {
    filter: saturate(1) brightness(1);
  }
  to {
    filter: saturate(1.12) brightness(1.06);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  html {
    scroll-behavior: auto;
  }
}

/* Responsive */
@media (max-width: 920px) {
  .stem-strip {
    grid-template-columns: 1fr 1fr;
  }

  .stem-node:nth-child(1),
  .stem-node:nth-child(2) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .stem-node:nth-child(2),
  .stem-node:nth-child(4) {
    border-right: none;
  }

  .split,
  .canopy,
  .contact-grid,
  .stack,
  .foot-cols {
    grid-template-columns: 1fr;
  }

  .side-panel {
    padding-left: 0;
    padding-top: 0.5rem;
    border-left: none;
    border-top: 2px solid var(--ll-leaf);
  }

  .canopy-field {
    min-height: 200px;
  }

  .rail {
    grid-template-columns: auto 1fr;
  }

  .rail-link {
    grid-column: 2;
  }
}

@media (max-width: 760px) {
  .menu-toggle {
    display: inline-flex;
  }

  .nav-main {
    display: none;
    position: absolute;
    top: 100%;
    inset-inline: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.75rem 1.25rem 1.25rem;
    background: var(--ll-cloud);
    border-bottom: 1px solid var(--ll-rule);
  }

  .site-header.over-hero .nav-main {
    background: var(--ll-deep);
  }

  .nav-main.open {
    display: flex;
  }

  .nav-main a {
    padding: 0.7rem 0;
    border-bottom: 1px solid var(--ll-rule);
  }

  .site-header.over-hero .nav-main a {
    border-bottom-color: rgba(255, 255, 255, 0.12);
  }

  .top-bar {
    position: relative;
  }

  .stem-strip {
    grid-template-columns: 1fr;
  }

  .stem-node {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .stem-node:last-child {
    border-bottom: none;
  }

  .hero-inner {
    padding-bottom: 3.25rem;
    align-self: end;
  }
}
