/* Greenline Landscaping - palette: deep green, warm clay, stone */
:root {
  --green: #1f3d2b;
  --green-2: #2f5c40;
  --clay: #b5703a;
  --stone: #f4f1ea;
  --stone-2: #e9e4d8;
  --ink: #1b211d;
  --muted: #5a6259;
  --white: #ffffff;
  --radius: 18px;
  --shadow: 0 10px 30px rgba(20, 35, 27, .12);
  --shadow-lg: 0 24px 50px rgba(20, 35, 27, .22);
  --font-head: "Fraunces", Georgia, serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--stone);
  line-height: 1.6;
  font-size: 1rem;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.15; margin: 0 0 .5rem; color: var(--ink); }
h1 { font-size: clamp(2.3rem, 7vw, 4.6rem); letter-spacing: -.02em; color: var(--white); font-weight: 700; }
h2 { font-size: clamp(1.9rem, 4.5vw, 2.8rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 600; }
p { margin: 0 0 1rem; }
.muted { color: var(--muted); max-width: 60ch; }
.wrap { width: min(1140px, 100% - 2.5rem); margin-inline: auto; }

/* Eyebrow + badges */
.eyebrow {
  display: inline-block;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #e9c9a4;
  margin-bottom: .9rem;
}
.eyebrow-dark { color: var(--clay); }
.badge, .sample-inline {
  display: inline-block;
  font-size: .72rem;
  font-weight: 600;
  padding: .25rem .6rem;
  border-radius: 999px;
  background: #fbe9c9;
  color: #6b4200;
  border: 1px solid #efcf93;
  letter-spacing: .01em;
  vertical-align: middle;
}
.sample-inline { margin-left: .25rem; }

/* Glass nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(31, 61, 43, .72);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  color: var(--white);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: .6rem; text-decoration: none; font-family: var(--font-head); font-weight: 700; font-size: 1.2rem; line-height: 1; }
.brand small { display: block; font-family: var(--font-body); font-size: .68rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: #cfe3d4; margin-top: .2rem; }
.brand-mark { width: 32px; height: 32px; color: var(--clay); }
.brand span { color: var(--white); }

.nav-links { display: none; align-items: center; gap: 1.6rem; }
.nav-links a { text-decoration: none; font-size: .92rem; font-weight: 500; color: #e6efe8; transition: color .2s; }
.nav-links a:hover { color: #f0c79a; }
.nav-phone {
  background: var(--clay);
  color: var(--white) !important;
  padding: .55rem 1rem;
  border-radius: 999px;
  box-shadow: 0 6px 16px rgba(181, 112, 58, .35);
}

.menu-toggle {
  width: 44px; height: 44px;
  display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 5px;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 12px;
  cursor: pointer;
}
.menu-toggle span { width: 20px; height: 2px; background: var(--white); border-radius: 2px; transition: transform .3s, opacity .3s; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu panel */
@media (max-width: 899px) {
  .nav-links {
    position: fixed;
    top: 72px; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: .5rem 1.25rem 1.5rem;
    background: rgba(31, 61, 43, .97);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform .35s ease, opacity .35s ease;
    border-bottom: 1px solid rgba(255, 255, 255, .1);
  }
  .nav-links.open { transform: none; opacity: 1; pointer-events: auto; }
  .nav-links a { padding: 1rem .25rem; border-bottom: 1px solid rgba(255, 255, 255, .08); font-size: 1.05rem; }
  .nav-phone { margin-top: 1rem; border-bottom: 0 !important; text-align: center; }
}

@media (min-width: 900px) {
  .nav-links { display: flex; }
  .menu-toggle { display: none; }
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .95rem 1.5rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
  min-height: 52px;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-primary { background: var(--clay); color: var(--white); box-shadow: 0 10px 24px rgba(181, 112, 58, .35); }
.btn-ghost { background: rgba(255, 255, 255, .08); color: var(--white); border-color: rgba(255, 255, 255, .45); }
.btn-lg { font-size: 1.1rem; padding: 1.05rem 1.9rem; }
.btn:hover { transform: translateY(-3px); }
.btn-primary:hover { box-shadow: 0 16px 34px rgba(181, 112, 58, .45); background: #c47c42; }
.btn-ghost:hover { background: rgba(255, 255, 255, .18); }
.btn:focus-visible, .nav a:focus-visible, .card:focus-visible { outline: 3px solid #f0c79a; outline-offset: 3px; }

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  min-height: 92vh;
  display: flex;
  align-items: center;
  padding: 5rem 0 6rem;
  background: linear-gradient(160deg, #13281c 0%, var(--green) 45%, var(--green-2) 100%);
  color: var(--white);
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: .5;
}
.b1 { width: 420px; height: 420px; background: var(--clay); top: -120px; right: -80px; opacity: .35; }
.b2 { width: 360px; height: 360px; background: #6f9a76; bottom: -140px; left: -60px; opacity: .35; }
.b3 { width: 220px; height: 220px; background: #d9b98a; top: 40%; left: 55%; opacity: .18; }

.hero-inner { position: relative; z-index: 1; }
.hero .lede { font-size: clamp(1.05rem, 2.4vw, 1.25rem); color: #dbe8df; max-width: 52ch; margin-bottom: 2rem; }
.hero .sample-inline { background: rgba(255, 255, 255, .12); color: #f8e2c3; border-color: rgba(255, 255, 255, .25); }
.cta-row { display: flex; flex-wrap: wrap; gap: .85rem; margin-bottom: 2.2rem; }
.hero-tags { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; font-size: .9rem; color: #cfe3d4; }
.hero-tags li::before { content: "\2022"; color: var(--clay); font-size: 1.2rem; margin-right: .45rem; vertical-align: middle; }
.hero-tags li:first-child::before { content: none; }

.scroll-cue {
  position: absolute; bottom: 1.4rem; left: 50%; transform: translateX(-50%);
  width: 44px; height: 44px; display: grid; place-items: center;
  color: #e9c9a4; border: 1px solid rgba(255, 255, 255, .25); border-radius: 50%;
  background: rgba(255, 255, 255, .06);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.scroll-cue svg { width: 20px; height: 20px; }

/* Service area strip */
.strip { background: var(--stone-2); border-bottom: 1px solid #dcd5c4; padding: 1.2rem 0; }
.strip-inner { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: center; gap: .3rem .9rem; text-align: center; }
.strip-label { font-size: .75rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--clay); }
.strip-city { font-family: var(--font-head); font-weight: 700; font-size: 1.2rem; color: var(--green); }
.strip-sub { color: var(--muted); font-size: .95rem; }

/* Sections */
.section { padding: clamp(4rem, 9vw, 7rem) 0; }
.section-alt { background: var(--white); }
.section-head { margin-bottom: 3rem; max-width: 720px; }
.section-head h2 { margin-bottom: .6rem; }

/* Service cards */
.cards { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
.card {
  position: relative;
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow);
  border: 1px solid rgba(31, 61, 43, .06);
  transition: transform .35s ease, box-shadow .35s ease;
}
.card .badge { position: absolute; top: 1.1rem; right: 1.1rem; }
.card .icon {
  width: 52px; height: 52px; border-radius: 14px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--green), var(--green-2));
  color: #e9c9a4;
  margin-bottom: 1.1rem;
  transition: transform .35s ease;
}
.card .icon svg { width: 26px; height: 26px; }
.card h3 { padding-right: 6.5rem; }
.card p { color: var(--muted); margin: 0; }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.card:hover .icon { transform: scale(1.08) rotate(-4deg); }

@media (min-width: 640px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .cards { grid-template-columns: repeat(3, 1fr); } }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.25rem; counter-reset: s; }
.step {
  position: relative;
  background: var(--stone);
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
  border: 1px solid #e3ddcd;
  transition: transform .35s ease, box-shadow .35s ease;
}
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.step-num {
  display: inline-grid; place-items: center;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--clay); color: var(--white);
  font-family: var(--font-head); font-weight: 700; font-size: 1.2rem;
  margin-bottom: 1rem;
  box-shadow: 0 8px 18px rgba(181, 112, 58, .3);
}
.step p { color: var(--muted); margin: 0; }
@media (min-width: 800px) { .steps { grid-template-columns: repeat(3, 1fr); } }

/* Before / after gallery */
.gallery { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
.ba { margin: 0; }
.ba-pair {
  display: grid; grid-template-columns: 1fr 1fr; gap: 4px;
  border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 3;
  transition: transform .35s ease, box-shadow .35s ease;
}
.ba:hover .ba-pair { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.ba-frame {
  position: relative;
  display: flex; align-items: flex-end; padding: .75rem;
  font-size: .8rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
}
.ba-frame span { background: rgba(255, 255, 255, .85); padding: .25rem .6rem; border-radius: 6px; color: var(--ink); }
.ba-before {
  background:
    repeating-linear-gradient(45deg, #d8d2c3 0 10px, #cfc8b7 10px 20px);
}
.ba-after {
  background:
    repeating-linear-gradient(45deg, #b9c9b4 0 10px, #aebfa9 10px 20px);
}
.ba figcaption { margin-top: .75rem; font-size: .9rem; color: var(--muted); }
@media (min-width: 800px) { .gallery { grid-template-columns: repeat(3, 1fr); } }

/* About */
.about { display: grid; gap: 2.5rem; align-items: center; }
.about-card {
  background: linear-gradient(150deg, var(--green), #173123);
  color: var(--white);
  border-radius: 24px;
  padding: 3rem 2rem;
  text-align: center;
  box-shadow: var(--shadow-lg);
}
.about-card svg { width: 72px; height: 72px; margin: 0 auto 1.2rem; color: var(--clay); }
.about-quote { font-family: var(--font-head); font-size: 1.5rem; font-weight: 700; margin: 0; }
@media (min-width: 860px) { .about { grid-template-columns: 1.2fr 1fr; gap: 4rem; } }

/* Contact */
.contact { background: linear-gradient(160deg, #13281c, var(--green)); color: var(--white); }
.contact h2 { color: var(--white); }
.contact .eyebrow { color: #e9c9a4; }
.lede-dark { color: #dbe8df; font-size: 1.1rem; max-width: 46ch; }
.phone-big {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(2.2rem, 8vw, 3.6rem);
  color: #f0c79a;
  text-decoration: none;
  margin: .5rem 0 1.5rem;
  transition: color .2s;
}
.phone-big:hover { color: var(--white); }
.contact-inner { display: grid; gap: 2.5rem; }
.contact-card {
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .14);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow-lg);
}
.contact-card h3 { color: #f0c79a; font-size: 1rem; text-transform: uppercase; letter-spacing: .12em; font-family: var(--font-body); margin-top: 1.4rem; }
.contact-card h3:first-child { margin-top: 0; }
.contact-card p { color: #e6efe8; margin: .25rem 0 0; }
.contact .sample-inline { background: rgba(255, 255, 255, .12); color: #f8e2c3; border-color: rgba(255, 255, 255, .25); }
@media (min-width: 860px) { .contact-inner { grid-template-columns: 1.2fr 1fr; align-items: center; gap: 4rem; } }

/* Footer */
.footer { background: #13281c; color: #aebcb1; padding: 2rem 0; font-size: .9rem; }
.footer-inner { display: flex; flex-direction: column; gap: .5rem; align-items: center; text-align: center; }
.footer p { margin: 0; }
.footer a { color: #f0c79a; }
.powered { font-size: .8rem; opacity: .85; }
@media (min-width: 700px) { .footer-inner { flex-direction: row; justify-content: space-between; text-align: left; } }

/* Motion: only when the user has not asked for reduced motion */
@media (prefers-reduced-motion: no-preference) {
  .blob { animation: drift 18s ease-in-out infinite alternate; }
  .b2 { animation-duration: 22s; animation-delay: -6s; }
  .b3 { animation-duration: 16s; animation-delay: -3s; }
  @keyframes drift {
    0%   { transform: translate(0, 0) scale(1); }
    50%  { transform: translate(40px, -30px) scale(1.08); }
    100% { transform: translate(-30px, 40px) scale(.95); }
  }

  .reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .8s ease, transform .8s cubic-bezier(.2, .7, .2, 1);
    transition-delay: calc(var(--d, 0) * 110ms);
  }
  .reveal.in { opacity: 1; transform: none; }

  .scroll-cue { animation: bob 2.4s ease-in-out infinite; }
  @keyframes bob {
    0%, 100% { transform: translate(-50%, 0); }
    50% { transform: translate(-50%, 6px); }
  }
}

/* Without motion, everything stays visible */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation: none !important; }
}
