/* ============================================================
   AEB SITE SOLUTIONS — Land Clearing & Forestry Mulching
   Design tokens: black / olive / warm white / earth brown
   Display: Bebas Neue   Body: Poppins
   Signature motif: topographic contour lines (survey-map language)
   ============================================================ */

:root{
  --black:      #0c0b09;
  --black-2:    #17150f;
  --black-3:    #211e16;
  --olive:      #5b6431;
  --olive-light:#8a9552;
  --olive-dim:  #3d4423;
  --white:      #f2efe4;
  --white-dim:  #cfcabb;
  --brown:      #6b4a2f;
  --brown-light:#9c7148;
  --brown-dark: #2c1f14;

  --font-display: 'Bebas Neue', sans-serif;
  --font-body: 'Poppins', sans-serif;

  --container: 1240px;
  --radius: 3px;
  --ease: cubic-bezier(.22,.9,.32,1);
}

*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  background:var(--black);
  color:var(--white);
  font-family:var(--font-body);
  font-weight:400;
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
  position:relative;
}
/* subtle film-grain texture over the whole page — breaks up the flat-vector look */
body::before{
  content:"";
  position:fixed;
  inset:0;
  z-index:9999;
  pointer-events:none;
  opacity:.05;
  mix-blend-mode:overlay;
  background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='140' height='140'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  background-size:140px 140px;
}
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
ul{ margin:0; padding:0; list-style:none; }
h1,h2,h3,h4{
  font-family:var(--font-display);
  font-weight:400;
  letter-spacing:.03em;
  margin:0;
  line-height:1.05;
  text-transform:uppercase;
}
p{ margin:0; }
.container{
  max-width:var(--container);
  margin:0 auto;
  padding:0 28px;
}
.eyebrow{
  font-family:var(--font-body);
  font-size:.78rem;
  font-weight:600;
  letter-spacing:.3em;
  text-transform:uppercase;
  color:var(--olive-light);
  display:flex;
  align-items:center;
  gap:14px;
}
.eyebrow::before{
  content:"";
  width:34px;
  height:2px;
  background:var(--olive-light);
  display:inline-block;
}
:focus-visible{
  outline:2px solid var(--olive-light);
  outline-offset:3px;
}
@media (prefers-reduced-motion: reduce){
  *{ animation-duration:.001ms !important; animation-iteration-count:1 !important; transition-duration:.001ms !important; scroll-behavior:auto !important; }
}

/* ---------- buttons ---------- */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  font-family:var(--font-body);
  font-weight:600;
  font-size:.95rem;
  letter-spacing:.04em;
  text-transform:uppercase;
  padding:16px 34px;
  border-radius:var(--radius);
  border:2px solid transparent;
  cursor:pointer;
  transition:transform .35s var(--ease), background .3s ease, border-color .3s ease, color .3s ease;
  white-space:nowrap;
}
.btn:hover{ transform:translateY(-2px) scale(1.03); }
.btn-primary{
  background:linear-gradient(180deg, var(--olive-light), var(--olive));
  color:var(--white);
  border-color:var(--olive);
  box-shadow:0 10px 24px -8px rgba(0,0,0,.55), inset 0 1px 0 rgba(255,255,255,.15);
}
.btn-primary:hover{ background:linear-gradient(180deg, var(--olive-light), var(--olive-light)); border-color:var(--olive-light); box-shadow:0 14px 30px -8px rgba(0,0,0,.6), inset 0 1px 0 rgba(255,255,255,.2); }
.btn-outline{
  background:rgba(255,255,255,.02);
  color:var(--white);
  border-color:rgba(242,239,228,.4);
}
.btn-outline:hover{ border-color:var(--white); background:rgba(242,239,228,.08); }
.btn-block{ width:100%; }

/* ============ HEADER ============ */
.site-header{
  position:fixed;
  top:0; left:0; right:0;
  z-index:1000;
  background:rgba(12,11,9,.72);
  backdrop-filter:blur(10px);
  border-bottom:1px solid rgba(242,239,228,.08);
  transition:background .35s ease, box-shadow .35s ease;
}
.site-header.scrolled{
  background:rgba(12,11,9,.94);
  box-shadow:0 8px 24px rgba(0,0,0,.35);
}
.header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  height:82px;
}
.brand{
  display:flex;
  align-items:center;
  gap:12px;
}
.brand img{ height:56px; width:auto; }
.brand-text{
  font-family:var(--font-display);
  font-size:1.5rem;
  letter-spacing:.06em;
  line-height:1;
}
.brand-text span{
  display:block;
  font-family:var(--font-body);
  font-size:.6rem;
  letter-spacing:.3em;
  color:var(--olive-light);
  font-weight:600;
  margin-top:2px;
}
.main-nav{ display:flex; align-items:center; gap:38px; }
.main-nav a{
  font-size:.85rem;
  font-weight:600;
  letter-spacing:.06em;
  text-transform:uppercase;
  position:relative;
  padding:6px 0;
  color:var(--white-dim);
  transition:color .25s ease;
}
.main-nav a::after{
  content:"";
  position:absolute; left:0; bottom:0;
  width:0; height:2px;
  background:var(--olive-light);
  transition:width .3s var(--ease);
}
.main-nav a:hover{ color:var(--white); }
.main-nav a:hover::after{ width:100%; }
.header-cta{ display:flex; align-items:center; gap:22px; }
.header-cta .btn{ padding:12px 24px; font-size:.8rem; }

.hamburger{
  display:none;
  flex-direction:column;
  gap:5px;
  width:30px;
  cursor:pointer;
  background:none;
  border:none;
  padding:8px;
}
.hamburger span{
  height:2px; width:100%;
  background:var(--white);
  transition:transform .3s ease, opacity .3s ease;
}
.hamburger.open span:nth-child(1){ transform:translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2){ opacity:0; }
.hamburger.open span:nth-child(3){ transform:translateY(-7px) rotate(-45deg); }

/* ============ HERO ============ */
.hero{
  position:relative;
  min-height:100vh;
  display:flex;
  align-items:center;
  overflow:hidden;
  background:
    radial-gradient(ellipse 900px 500px at 78% 18%, rgba(200,150,60,.20), transparent 60%),
    linear-gradient(180deg, #0c0b09 0%, #14120d 55%, #191510 100%);
}
.hero-contours{
  position:absolute; inset:0;
  width:100%; height:100%;
  opacity:.5;
}
.hero-logo-mark{
  position:absolute;
  top:50%;
  right:-6%;
  transform:translateY(-50%);
  height:130%;
  width:auto;
  max-width:none;
  opacity:.07;
  filter:grayscale(1) brightness(1.6) contrast(1.1);
  pointer-events:none;
  user-select:none;
}
@media (max-width: 980px){
  .hero-logo-mark{ right:-30%; opacity:.06; }
}
.hero-content{
  position:relative;
  z-index:2;
  max-width:760px;
  padding-top:82px;
}
.hero-tagline{
  font-family:var(--font-display);
  font-size:clamp(3rem, 8vw, 6.4rem);
  color:var(--white);
  margin:22px 0 18px;
}
.hero-tagline em{
  font-style:normal;
  color:var(--olive-light);
}
.hero-sub{
  font-size:1.15rem;
  color:var(--white-dim);
  max-width:560px;
  margin-bottom:36px;
  font-weight:300;
}
.hero-actions{ display:flex; gap:20px; flex-wrap:wrap; }
.scroll-cue{
  position:absolute;
  bottom:34px; left:50%;
  transform:translateX(-50%);
  display:flex; flex-direction:column; align-items:center;
  gap:10px;
  color:var(--white-dim);
  font-size:.7rem;
  letter-spacing:.3em;
  text-transform:uppercase;
  z-index:2;
}
.scroll-cue .line{
  width:1px; height:44px;
  background:linear-gradient(var(--olive-light), transparent);
  animation:scrollLine 2.2s ease-in-out infinite;
}
@keyframes scrollLine{
  0%{ transform:scaleY(0); transform-origin:top; }
  50%{ transform:scaleY(1); transform-origin:top; }
  50.01%{ transform-origin:bottom; }
  100%{ transform:scaleY(0); transform-origin:bottom; }
}

/* section divider contour */
.divider{
  height:60px;
  width:100%;
  display:block;
  color:var(--olive-dim);
}

/* ============ GENERIC SECTION ============ */
section{ position:relative; padding:120px 0; }
.section-black{ background:var(--black); }
.section-alt{ background:var(--black-2); }
.section-head{
  max-width:680px;
  margin-bottom:60px;
}
.section-head h2{
  font-size:clamp(2.4rem, 5vw, 3.6rem);
  margin-top:14px;
  color:var(--white);
}
.section-head p{
  margin-top:20px;
  color:var(--white-dim);
  font-size:1.05rem;
  font-weight:300;
}
.reveal{
  opacity:0;
  transform:translateY(36px);
  transition:opacity .8s var(--ease), transform .8s var(--ease);
}
.reveal.in{ opacity:1; transform:translateY(0); }
.reveal-delay-1{ transition-delay:.08s; }
.reveal-delay-2{ transition-delay:.16s; }
.reveal-delay-3{ transition-delay:.24s; }
.reveal-delay-4{ transition-delay:.32s; }
.reveal-delay-5{ transition-delay:.4s; }
.reveal-delay-6{ transition-delay:.48s; }

/* ============ ABOUT PREVIEW ============ */
.about-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:70px;
  align-items:center;
}
.about-centered p{
  color:var(--white-dim);
  font-size:1.1rem;
  font-weight:300;
}

/* ============ SERVICES ============ */
.services-grid{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:26px;
}
.service-card{
  background:linear-gradient(180deg, var(--black-3), var(--black-2));
  border:1px solid rgba(242,239,228,.07);
  padding:40px 30px;
  border-radius:var(--radius);
  transition:transform .4s var(--ease), border-color .4s ease, background .4s ease, box-shadow .4s ease;
  position:relative;
  overflow:hidden;
  box-shadow:0 1px 0 rgba(255,255,255,.03) inset, 0 20px 40px -28px rgba(0,0,0,.7);
}
.service-card::before{
  content:"";
  position:absolute; left:0; top:0;
  width:100%; height:3px;
  background:var(--olive);
  transform:scaleX(0);
  transform-origin:left;
  transition:transform .5s var(--ease);
}
.service-card:hover{
  transform:translateY(-8px);
  border-color:var(--olive-dim);
  background:var(--black-3);
  box-shadow:0 1px 0 rgba(255,255,255,.05) inset, 0 30px 50px -24px rgba(0,0,0,.8);
}
.service-card:hover::before{ transform:scaleX(1); }
.service-icon{
  width:52px; height:52px;
  margin-bottom:22px;
  color:var(--olive-light);
}
.service-card h3{
  font-size:1.5rem;
  margin-bottom:12px;
  color:var(--white);
}
.service-card p{
  color:var(--white-dim);
  font-size:.95rem;
  font-weight:300;
}

/* ============ WHY CHOOSE ============ */
.why-grid{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:2px;
  background:rgba(242,239,228,.07);
  border:1px solid rgba(242,239,228,.07);
}
.why-item{
  background:var(--black);
  padding:44px 34px;
  display:flex;
  gap:20px;
  align-items:flex-start;
  transition:background .35s ease;
}
.why-item:hover{ background:var(--black-2); }
.why-icon{
  flex:none;
  width:42px; height:42px;
  color:var(--olive-light);
}
.why-item h4{
  font-family:var(--font-body);
  text-transform:none;
  font-size:1.08rem;
  font-weight:600;
  margin-bottom:8px;
  color:var(--white);
}
.why-item p{
  font-size:.9rem;
  color:var(--white-dim);
  font-weight:300;
}

/* ============ STATS STRIP ============ */
.stats-strip{
  background:var(--brown-dark);
  border-top:1px solid var(--olive-dim);
  border-bottom:1px solid var(--olive-dim);
  padding:64px 0;
}
.stats-grid{
  display:grid;
  grid-template-columns:repeat(4, 1fr);
  gap:20px;
  text-align:center;
}
.stat-plate{
  border:1px solid rgba(242,239,228,.15);
  padding:26px 14px;
  position:relative;
}
.stat-plate::before,
.stat-plate::after{
  content:"";
  position:absolute;
  width:10px; height:10px;
  border:1px solid var(--olive-light);
  opacity:.6;
}
.stat-plate::before{ top:6px; left:6px; border-width:1px 0 0 1px; }
.stat-plate::after{ bottom:6px; right:6px; border-width:0 1px 1px 0; }
.stat-num{
  font-family:var(--font-display);
  font-size:clamp(2.4rem, 5vw, 3.4rem);
  color:var(--olive-light);
  letter-spacing:.02em;
}
.stat-label{
  font-size:.72rem;
  letter-spacing:.18em;
  text-transform:uppercase;
  color:var(--white-dim);
  margin-top:6px;
  display:block;
}

/* ============ SERVICE AREAS ============ */
.areas-wrap{
  display:grid;
  grid-template-columns:1.1fr 1fr;
  gap:70px;
  align-items:center;
}
.area-chips{
  display:flex;
  flex-wrap:wrap;
  gap:14px;
}
.area-chip{
  border:1px solid rgba(242,239,228,.18);
  padding:12px 22px;
  font-size:.85rem;
  font-weight:600;
  letter-spacing:.03em;
  border-radius:2px;
  color:var(--white-dim);
  transition:border-color .3s ease, color .3s ease, background .3s ease;
}
.area-chip:hover{
  border-color:var(--olive-light);
  color:var(--white);
  background:rgba(139,149,82,.08);
}
.nc-map{ width:100%; height:auto; }
.nc-dot{ fill:var(--olive-light); }
.nc-dot-pulse{
  fill:none;
  stroke:var(--olive-light);
  stroke-width:1.5;
  opacity:.6;
  animation:mapPulse 2.6s ease-out infinite;
}
@keyframes mapPulse{
  0%{ r:4; opacity:.7; }
  100%{ r:16; opacity:0; }
}

/* ============ CTA BANNER ============ */
.cta-banner{
  position:relative;
  padding:110px 0;
  text-align:center;
  background:
    linear-gradient(180deg, rgba(12,11,9,.86), rgba(12,11,9,.94)),
    linear-gradient(120deg, var(--olive-dim), var(--brown-dark));
  overflow:hidden;
}
.cta-banner h2{
  font-size:clamp(2.6rem, 6vw, 4.4rem);
  color:var(--white);
  margin-bottom:22px;
}
.cta-banner p{
  color:var(--white-dim);
  font-size:1.1rem;
  margin-bottom:44px;
}
.cta-banner .btn-primary{
  padding:20px 48px;
  font-size:1rem;
}

/* ============ FOOTER ============ */
.site-footer{
  background:var(--black-2);
  border-top:1px solid rgba(242,239,228,.08);
  padding:80px 0 30px;
}
.footer-grid{
  display:grid;
  grid-template-columns:1.4fr 1fr 1fr 1fr;
  gap:50px;
  padding-bottom:50px;
  border-bottom:1px solid rgba(242,239,228,.08);
}
.footer-brand img{ height:70px; margin-bottom:18px; }
.footer-brand p{
  color:var(--white-dim);
  font-size:.9rem;
  font-weight:300;
  max-width:280px;
}
.footer-col h5{
  font-family:var(--font-body);
  text-transform:uppercase;
  font-size:.78rem;
  letter-spacing:.16em;
  color:var(--olive-light);
  margin-bottom:20px;
  font-weight:600;
}
.footer-col li{ margin-bottom:12px; }
.footer-col a{
  color:var(--white-dim);
  font-size:.92rem;
  transition:color .25s ease;
}
.footer-col a:hover{ color:var(--white); }
.social-row{ display:flex; gap:14px; margin-top:4px; }
.social-icon{
  width:38px; height:38px;
  border:1px solid rgba(242,239,228,.18);
  border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  transition:border-color .3s ease, background .3s ease, transform .3s ease;
}
.social-icon svg{ width:16px; height:16px; color:var(--white-dim); }
.social-icon:hover{ border-color:var(--olive-light); background:rgba(139,149,82,.1); transform:translateY(-3px); }
.footer-bottom{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding-top:26px;
  font-size:.78rem;
  color:var(--white-dim);
  flex-wrap:wrap;
  gap:10px;
}

/* ============ COUNT-UP shared ============ */
[data-countup]{ display:inline-block; }

/* ============ RESPONSIVE ============ */
@media (max-width: 980px){
  .main-nav{ display:none; }
  .header-cta .btn-outline{ display:none; }
  .hamburger{ display:flex; }
  .about-grid, .areas-wrap{ grid-template-columns:1fr; gap:44px; }
  .services-grid{ grid-template-columns:repeat(2,1fr); }
  .why-grid{ grid-template-columns:repeat(2,1fr); }
  .stats-grid{ grid-template-columns:repeat(2,1fr); }
  .footer-grid{ grid-template-columns:1fr 1fr; }
}
@media (max-width: 640px){
  section{ padding:80px 0; }
  .services-grid{ grid-template-columns:1fr; }
  .why-grid{ grid-template-columns:1fr; }
  .stats-grid{ grid-template-columns:repeat(2,1fr); }
  .footer-grid{ grid-template-columns:1fr; gap:36px; }
  .hero-actions{ flex-direction:column; align-items:stretch; }
  .hero-actions .btn{ width:100%; }

  /* mobile nav drawer */
  .main-nav{
    display:flex;
    flex-direction:column;
    position:fixed;
    top:82px; left:0; right:0;
    background:var(--black-2);
    padding:26px 28px;
    gap:0;
    border-bottom:1px solid rgba(242,239,228,.08);
    transform:translateY(-140%);
    transition:transform .4s var(--ease);
  }
  .main-nav.open{ transform:translateY(0); }
  .main-nav a{ padding:14px 0; border-bottom:1px solid rgba(242,239,228,.06); width:100%; }
}
