/* ============================================================
   Liberty Tree & Landscape, LLC — palette + type built up from
   their real brand (forest greens + cream) and their logo.
   ============================================================ */
:root {
  /* brand greens (refined from their site: #39521E #618236 #7B8742) */
  --forest-900: #1e2f14;
  --forest-800: #26401a;
  --forest-700: #33501f;
  --forest-600: #3f5f27;
  --moss-500:   #5f7d36;
  --olive-500:  #7b8742;
  --olive-300:  #a4ac74;

  /* creams (from #FFF3DE / #F1EDE2) */
  --cream:   #fbf5e7;
  --cream-2: #f4efe0;
  --paper:   #fdfbf4;

  --ink:    #23301a;
  --muted:  #5c6a4c;
  --line:   rgba(35,48,26,.12);

  --nav-h: 76px;
  --maxw: 1180px;
  --r: 16px;
  --r-lg: 24px;
  --shadow-sm: 0 2px 10px rgba(30,47,20,.06);
  --shadow-md: 0 18px 44px -22px rgba(30,47,20,.42);
  --shadow-lg: 0 40px 90px -40px rgba(30,47,20,.55);

  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Work Sans", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: clamp(20px, 5vw, 44px); }

/* ---------- type helpers ---------- */
.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: .8rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--moss-500);
  margin-bottom: 14px;
}
.eyebrow--light { color: var(--olive-300); }
.h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.9rem, 1.2rem + 2.6vw, 3rem);
  line-height: 1.06;
  letter-spacing: -.015em;
  margin: 0 0 16px;
  color: var(--forest-800);
}
.h2--light { color: var(--cream); }
.lede { font-size: 1.075rem; color: var(--muted); max-width: 60ch; margin: 0 auto; }

/* ---------- buttons ---------- */
.btn {
  --pad-y: .72em; --pad-x: 1.15em;
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font-family: var(--font-body); font-weight: 600; font-size: .96rem;
  padding: var(--pad-y) var(--pad-x);
  border-radius: 999px; border: 1.5px solid transparent;
  cursor: pointer; transition: transform .18s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  white-space: nowrap; line-height: 1;
}
.btn:hover { transform: translateY(-2px); }
.btn--lg { --pad-y: .92em; --pad-x: 1.6em; font-size: 1rem; }
.btn--block { width: 100%; }
.btn--solid { background: var(--forest-700); color: var(--cream); box-shadow: var(--shadow-sm); }
.btn--solid:hover { background: var(--forest-800); box-shadow: var(--shadow-md); }
.btn--outline { border-color: var(--forest-700); color: var(--forest-800); background: transparent; }
.btn--outline:hover { background: var(--forest-700); color: var(--cream); }
.btn--outline-light { border-color: rgba(251,245,231,.55); color: var(--cream); }
.btn--outline-light:hover { background: var(--cream); color: var(--forest-800); }
.btn--ghost { color: var(--forest-800); background: transparent; padding-inline: .6em; }
.btn--ghost:hover { color: var(--moss-500); transform: none; }
.btn--cream { background: var(--cream); color: var(--forest-800); box-shadow: var(--shadow-sm); }
.btn--cream:hover { background: #fff; box-shadow: var(--shadow-md); }
.btn--phone { font-variant-numeric: tabular-nums; }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: sticky; top: 0; z-index: 60;
  height: var(--nav-h);
  background: rgba(253,251,244,.82);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav__in { height: var(--nav-h); display: flex; align-items: center; gap: 18px; }
.brand__chip {
  display: inline-flex; align-items: center; justify-content: center;
  background: #fff; border-radius: 12px; padding: 8px 12px;
  box-shadow: var(--shadow-sm);
}
.brand__chip img { width: auto; height: 40px; }
.brand__chip--sm { padding: 7px 11px; }
.brand__chip--sm img { height: 34px; }
.nav__links { display: flex; gap: 26px; margin-left: 12px; }
.nav__links a { font-weight: 500; font-size: .96rem; color: var(--ink); position: relative; padding: 4px 0; }
.nav__links a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 2px; width: 0;
  background: var(--moss-500); transition: width .22s ease;
}
.nav__links a:hover { color: var(--forest-800); }
.nav__links a:hover::after { width: 100%; }
.nav__cta { display: flex; align-items: center; gap: 10px; margin-left: auto; }

.hamburger {
  display: none; margin-left: auto; width: 46px; height: 46px;
  border: 1px solid var(--line); border-radius: 12px; background: #fff;
  cursor: pointer; padding: 0; flex-direction: column; gap: 5px; align-items: center; justify-content: center;
}
.hamburger span { display: block; width: 20px; height: 2px; background: var(--forest-800); border-radius: 2px; transition: transform .25s ease, opacity .2s ease; }
.hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* mobile menu: hidden by default via display:none (class beats [hidden]) */
.mobile { display: none; }
.mobile.is-open {
  display: flex; flex-direction: column; gap: 4px;
  padding: 14px clamp(20px, 5vw, 44px) 22px;
  background: var(--paper); border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow-md);
}
.mobile a { padding: 13px 4px; font-weight: 500; border-bottom: 1px solid var(--line); }
.mobile a:last-child { border-bottom: 0; margin-top: 10px; }

/* ============================================================
   HERO  (robust, size-independent full-height hero)
   ============================================================ */
.hero {
  /* Content-height hero — it is as tall as its content plus balanced padding, and
     does NOT force full-viewport height. That's the whole fix: a forced 100svh box
     floats short content in the vertical centre and leaves a dead cream band on tall
     monitors. Sizing to content means the trust strip always follows immediately at
     every viewport height, while the padding + large photo still fill a normal
     laptop's opening screen. */
  padding-block: clamp(2rem, 5svh, 4rem);
  background:
    radial-gradient(120% 90% at 85% -10%, rgba(123,135,66,.14), transparent 60%),
    linear-gradient(180deg, var(--cream) 0%, var(--paper) 100%);
  border-bottom: 1px solid var(--line);
}
.hero__in {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(1.75rem, 5vw, 4.5rem);
  align-items: center; /* copy + photo read as balanced and vertically aligned */
}
.hero__copy {
  min-width: 0; /* allow the column to shrink below its content's min-content:
                   prevents the grid track from blowing out past the viewport */
  display: flex; flex-direction: column;
  gap: clamp(.8rem, 2.2svh, 1.5rem);
}
.hero__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2rem, .9rem + 3.4vw, 3.4rem);
  line-height: 1.05;
  letter-spacing: -.02em;
  text-wrap: balance; /* even line lengths, no single-word orphan lines */
  margin: 0;
  color: var(--forest-800);
}
.hero__title em { font-style: italic; font-weight: 500; color: var(--moss-500); }
.hero__sub { font-size: clamp(1rem, .9rem + .5vw, 1.14rem); color: var(--muted); max-width: 46ch; margin: 0; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-block: clamp(.15rem, 1svh, .55rem); }
.proof {
  list-style: none; display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 0; padding: 0;
  font-weight: 600; font-size: .92rem; color: var(--forest-700);
}
.proof li { position: relative; padding-left: 22px; }
.proof li::before {
  content: ""; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 13px; height: 13px; border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, var(--olive-500), var(--forest-600));
}

/* The photo is an aspect-ratio card whose height is capped with min(): on a tall
   monitor it can't stretch into a sliver, and the media column shrink-wraps the
   card so the badge is always anchored to the card, never stranded in cream. */
.hero__media { position: relative; min-width: 0; align-self: center; }
.hero__frame {
  width: 100%;
  aspect-ratio: 4 / 5;
  max-height: min(66svh, 600px);
  border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255,255,255,.5);
}
.hero__frame img { width: 100%; height: 100%; object-fit: cover; }
.hero__badge {
  position: absolute; left: -18px; bottom: 22px;
  background: var(--paper); border-radius: 16px; padding: 14px 18px;
  box-shadow: var(--shadow-md); border: 1px solid var(--line);
  display: flex; flex-direction: column; max-width: 190px;
}
.hero__badge strong { font-family: var(--font-display); font-size: 1.7rem; line-height: 1; color: var(--forest-700); }
.hero__badge span { font-size: .78rem; color: var(--muted); margin-top: 4px; line-height: 1.35; }

/* ============================================================
   TRUST STRIP
   ============================================================ */
.strip { background: var(--forest-800); color: var(--cream); }
.strip__in { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; padding-block: 26px; }
.strip__item { display: flex; flex-direction: column; padding-inline: 18px; border-left: 1px solid rgba(251,245,231,.16); }
.strip__item:first-child { border-left: 0; }
.strip__item strong { font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; }
.strip__item span { font-size: .86rem; color: var(--olive-300); margin-top: 3px; }

/* ============================================================
   SECTIONS
   ============================================================ */
.section { padding-block: clamp(64px, 8vw, 112px); }
.section--tint { background: var(--cream-2); }
.head { text-align: center; max-width: 720px; margin: 0 auto clamp(40px, 5vw, 60px); }

/* services */
.grid { display: grid; gap: 20px; }
.grid--services { grid-template-columns: repeat(4, 1fr); }
.card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r);
  padding: 26px 24px 28px; box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .25s ease, border-color .2s ease;
}
.card::before {
  content: ""; display: block; width: 34px; height: 3px; border-radius: 3px;
  background: linear-gradient(90deg, var(--olive-500), var(--forest-600)); margin-bottom: 16px;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: transparent; }
.card h3 { font-family: var(--font-display); font-weight: 600; font-size: 1.24rem; margin: 0 0 8px; color: var(--forest-800); }
.card p { margin: 0; color: var(--muted); font-size: .96rem; }

.section__cta { text-align: center; margin-top: clamp(36px, 4vw, 52px); display: flex; flex-direction: column; align-items: center; gap: 12px; }
.section__cta-note { font-size: .92rem; color: var(--muted); }
.section__cta-note a { color: var(--moss-500); font-weight: 600; }

/* gallery */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 200px; gap: 16px; }
.gallery__item { margin: 0; border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow-sm); background: var(--forest-900); }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.gallery__item--tall { grid-row: span 2; }
.gallery__item:hover img { transform: scale(1.06); }

/* reviews */
.grid--reviews { grid-template-columns: repeat(4, 1fr); }
.quote {
  margin: 0; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r);
  padding: 26px 24px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column;
  position: relative;
}
.quote::before {
  content: "\201C"; font-family: var(--font-display); font-size: 3.4rem; line-height: .7;
  color: var(--olive-300); margin-bottom: 6px;
}
.quote p { margin: 0 0 18px; font-size: .98rem; color: var(--ink); }
.quote cite { margin-top: auto; font-style: normal; font-weight: 700; color: var(--forest-800); font-size: .96rem; }
.quote cite span { display: block; font-weight: 500; color: var(--muted); font-size: .84rem; margin-top: 2px; }
.grid--reviews .quote:nth-child(1),
.grid--reviews .quote:nth-child(6) { grid-row: span 1; }

/* story */
.section--forest {
  background:
    radial-gradient(120% 120% at 90% 10%, rgba(123,135,66,.28), transparent 55%),
    var(--forest-800);
  color: var(--cream);
}
.story { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 5vw, 68px); align-items: center; }
.story__media img { border-radius: var(--r-lg); box-shadow: var(--shadow-lg); width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/3; }
.story__copy p { color: rgba(251,245,231,.86); margin: 0 0 18px; max-width: 52ch; }
.story__copy .btn { margin-top: 8px; }

/* contact */
.contact { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; max-width: 900px; margin: 0 auto; }
.contact__card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r);
  padding: 28px 28px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: 6px;
  transition: transform .2s ease, box-shadow .25s ease;
}
a.contact__card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.contact__card--accent { background: var(--forest-800); color: var(--cream); border-color: transparent; }
.contact__label { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; color: var(--moss-500); }
.contact__card--accent .contact__label { color: var(--olive-300); }
.contact__big { font-family: var(--font-display); font-size: clamp(1.7rem, 1.2rem + 1.8vw, 2.3rem); line-height: 1; font-variant-numeric: tabular-nums; }
.contact__mid { font-family: var(--font-display); font-weight: 600; font-size: 1.28rem; line-height: 1.15; color: var(--forest-800); word-break: break-word; }
.contact__card--accent .contact__mid { color: var(--cream); }
.contact__note { font-size: .9rem; color: var(--muted); }
.contact__card--accent .contact__note { color: rgba(251,245,231,.78); }

/* final cta */
.finalcta {
  background:
    radial-gradient(90% 140% at 15% 0%, rgba(95,125,54,.5), transparent 55%),
    var(--forest-900);
  color: var(--cream); text-align: center;
}
.finalcta__in { padding-block: clamp(60px, 8vw, 100px); max-width: 760px; }
.finalcta h2 { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.9rem, 1.2rem + 3vw, 3rem); line-height: 1.05; margin: 0 0 14px; }
.finalcta p { color: rgba(251,245,231,.82); font-size: 1.08rem; margin: 0 auto 30px; max-width: 48ch; }
.finalcta__actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--forest-900); color: rgba(251,245,231,.82); padding-top: 56px; }
.footer__in { display: grid; grid-template-columns: 1.4fr 1fr 1.4fr; gap: 32px; padding-bottom: 36px; }
.footer__brand p { margin: 16px 0 0; font-size: .94rem; max-width: 34ch; }
.footer__nav { display: flex; flex-direction: column; gap: 10px; }
.footer__nav a { color: rgba(251,245,231,.82); font-size: .95rem; width: fit-content; }
.footer__nav a:hover { color: var(--cream); }
.footer__contact { display: flex; flex-direction: column; gap: 10px; }
.footer__contact a { color: var(--cream); font-weight: 600; }
.footer__contact a:hover { color: var(--olive-300); }
.footer__contact span { font-size: .9rem; }
.footer__legal {
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  padding-block: 22px; border-top: 1px solid rgba(251,245,231,.14);
  font-size: .84rem; color: rgba(251,245,231,.6);
}

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1040px) {
  .grid--services, .grid--reviews { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .nav__links { display: none; }
  .nav__cta { display: none; }
  .hamburger { display: flex; }
  /* mobile: content-sized (min-height:0) so nothing is clipped; single column */
  .hero { min-height: 0; align-content: start; padding-block: clamp(1.75rem, 4svh, 2.75rem); }
  .hero__in { grid-template-columns: 1fr; gap: 30px; align-items: start; }
  .hero__copy { gap: clamp(.6rem, 1.6svh, 1.1rem); }
  .hero__media { order: 2; max-width: 460px; margin-inline: auto; width: 100%; }
  .hero__frame { aspect-ratio: 16 / 11; max-height: none; }
  .hero__badge { left: 14px; bottom: 14px; }
  .story { grid-template-columns: 1fr; }
  .story__media { order: 2; }
  .strip__in { grid-template-columns: repeat(2, 1fr); gap: 20px 8px; }
  .strip__item:nth-child(3) { border-left: 0; }
  .footer__in { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .grid--services, .grid--reviews, .contact { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 150px; }
  .strip__in { grid-template-columns: 1fr 1fr; }
  .hero__actions .btn { flex: 1 1 auto; }
  .footer__in { grid-template-columns: 1fr; }
  .footer__legal { justify-content: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .btn:hover, .card:hover, .gallery__item:hover img, a.contact__card:hover { transform: none !important; }
}
