/* ============================================================
   The Surrey Landscaping Company — Surrey, BC
   Styling conventions drawn from established landscaping firms:
   full-bleed photography, square corners, sans-serif headlines,
   deep green + white/neutral bands, uppercase tracked labels.
   ============================================================ */

:root {
  --white: #ffffff;
  --band: #f3f4ee;
  --ink: #1f241e;
  --muted: #59604f;
  --green: #2b5134;
  --green-dark: #1d3a24;
  --green-footer: #162c1b;
  --star: #c08a2d;
  --line: rgba(31, 36, 30, 0.14);
  --line-soft: rgba(31, 36, 30, 0.08);
  --ease: cubic-bezier(0.32, 0.72, 0, 1);
  --radius: 3px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  background: var(--white);
  color: var(--ink);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }

.container {
  width: min(1200px, 100% - 3rem);
  margin-inline: auto;
}

h1, h2, h3 {
  font-family: "Archivo", system-ui, sans-serif;
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.015em;
  color: var(--ink);
}

h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.22rem; line-height: 1.3; }

p { color: var(--muted); }

a { color: inherit; text-decoration: none; }

/* ---------- eyebrow label ---------- */
.eyebrow {
  font-size: 0.74rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--green);
  margin-bottom: 1.1rem;
}
.eyebrow--light { color: rgba(255, 255, 255, 0.85); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  padding: 0.8rem 1.6rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.4s var(--ease), color 0.4s var(--ease),
              border-color 0.4s var(--ease);
}

.btn--solid {
  background: var(--green);
  color: #fff;
}
.btn--solid:hover { background: var(--green-dark); }

.btn--outline {
  border-color: rgba(255, 255, 255, 0.75);
  color: #fff;
}
.btn--outline:hover { background: rgba(255, 255, 255, 0.14); }

.btn--lg { padding: 1rem 2rem; }
.btn--full { width: 100%; }

/* ---------- navigation ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 40;
  padding: 1.1rem 0;
  color: #fff;
  transition: background 0.5s var(--ease), color 0.5s var(--ease),
              padding 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.nav.is-solid {
  background: var(--white);
  color: var(--ink);
  padding: 0.7rem 0;
  box-shadow: 0 1px 0 var(--line-soft), 0 10px 30px -20px rgba(31, 36, 30, 0.3);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.nav__brand {
  font-family: "Archivo", sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1.15;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.nav__links {
  display: flex;
  gap: 1.9rem;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.nav__links a { opacity: 0.85; transition: opacity 0.3s var(--ease); }
.nav__links a:hover { opacity: 1; }

.nav__right { display: flex; align-items: center; gap: 1.4rem; }

.nav__phone {
  font-size: 0.88rem;
  font-weight: 700;
  white-space: nowrap;
}

.nav__burger {
  display: none;
  position: relative;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid currentColor;
  border-radius: var(--radius);
  background: transparent;
  color: inherit;
  cursor: pointer;
}
.nav__burger span {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 1.05rem;
  height: 2px;
  background: currentColor;
  transition: transform 0.5s var(--ease);
}
.nav__burger span:nth-child(1) { transform: translate(-50%, calc(-50% - 3px)); }
.nav__burger span:nth-child(2) { transform: translate(-50%, calc(-50% + 3px)); }
.nav__burger[aria-expanded="true"] span:nth-child(1) { transform: translate(-50%, -50%) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:nth-child(2) { transform: translate(-50%, -50%) rotate(-45deg); }

/* mobile menu overlay */
.menu {
  position: fixed;
  inset: 0;
  z-index: 30;
  background: var(--green-footer);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.55s var(--ease), visibility 0.55s var(--ease);
}
.menu.is-open { opacity: 1; visibility: visible; }

.menu__inner { display: flex; flex-direction: column; gap: 1.3rem; text-align: center; }

.menu__link {
  font-family: "Archivo", sans-serif;
  font-weight: 600;
  font-size: clamp(1.5rem, 6.5vw, 2.1rem);
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  opacity: 0;
  transform: translateY(2rem);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.menu.is-open .menu__link { opacity: 1; transform: translateY(0); }
.menu.is-open .menu__link:nth-child(1) { transition-delay: 0.05s; }
.menu.is-open .menu__link:nth-child(2) { transition-delay: 0.1s; }
.menu.is-open .menu__link:nth-child(3) { transition-delay: 0.15s; }
.menu.is-open .menu__link:nth-child(4) { transition-delay: 0.2s; }
.menu.is-open .menu__link:nth-child(5) { transition-delay: 0.25s; }
.menu.is-open .menu__link:nth-child(6) { transition-delay: 0.3s; }
.menu__link--accent { color: #9fc7a6; }

/* ---------- hero: full-bleed photo ---------- */
.hero {
  position: relative;
  min-height: 92vh;
  min-height: 92dvh;
  display: flex;
  align-items: center;
  isolation: isolate;
  color: #fff;
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(100deg, rgba(13, 22, 14, 0.78) 0%, rgba(13, 22, 14, 0.5) 55%, rgba(13, 22, 14, 0.25) 100%);
}

.hero__content { padding: 8rem 0 5rem; }

.hero__title {
  color: #fff;
  font-size: clamp(2.5rem, 5.4vw, 4.2rem);
  font-weight: 700;
  margin-bottom: 1.4rem;
}

.hero__lede {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.08rem;
  max-width: 33rem;
  margin-bottom: 2.4rem;
}

.hero__ctas { display: flex; flex-wrap: wrap; gap: 0.9rem; }

/* ---------- stats band ---------- */
.stats {
  background: var(--green-dark);
  color: #fff;
  padding: 1.9rem 0;
}
.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.stat {
  text-align: center;
  border-left: 1px solid rgba(255, 255, 255, 0.16);
}
.stat:first-child { border-left: none; }
.stat strong {
  display: block;
  font-family: "Archivo", sans-serif;
  font-weight: 700;
  font-size: 1.75rem;
  line-height: 1.2;
}
.stat span {
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
}

/* ---------- section head ---------- */
.section-head { margin-bottom: clamp(2.2rem, 4.5vw, 3.5rem); }
.section-head--split {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 3rem;
}
.section-head__aside {
  max-width: 21rem;
  font-size: 0.93rem;
  padding-bottom: 0.3rem;
}

/* ---------- why ---------- */
.why { padding: clamp(4.5rem, 9vw, 7rem) 0; }

.why__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--line-soft);
}
.why__card {
  padding: 2.2rem 2rem;
  border-left: 1px solid var(--line-soft);
}
.why__card:first-child { border-left: none; }
.why__card h3 { margin-bottom: 0.7rem; }
.why__card p { font-size: 0.94rem; }

/* ---------- services ---------- */
.services {
  padding: clamp(4.5rem, 9vw, 7rem) 0;
  background: var(--band);
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 15.5rem;
  gap: 1rem;
}

.svc {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.svc--tall { grid-row: span 2; }
.svc--wide { grid-column: span 2; }

.svc img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  transition: transform 1s var(--ease);
  will-change: transform;
}
.svc:hover img { transform: scale(1.05); }

.svc::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(to top, rgba(10, 16, 11, 0.88) 0%, rgba(10, 16, 11, 0.32) 55%, rgba(10, 16, 11, 0.06) 100%);
}

.svc__body {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  padding: 1.4rem 1.5rem;
}
.svc__body h3 { color: #fff; font-size: 1.15rem; margin-bottom: 0.3rem; }
.svc__body p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.86rem;
  line-height: 1.5;
  max-width: 28rem;
  margin-bottom: 0.7rem;
}

.svc__more {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
  padding-bottom: 0.2rem;
  transition: border-color 0.4s var(--ease);
}
.svc:hover .svc__more { border-color: #fff; }
.svc__more span { transition: transform 0.4s var(--ease); }
.svc:hover .svc__more span { transform: translateX(3px); }

/* ---------- projects ---------- */
.projects { padding: clamp(4.5rem, 9vw, 7rem) 0; }

.projects__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem 1.25rem;
}
.proj img { aspect-ratio: 16 / 10; width: 100%; object-fit: cover; }
.proj figcaption {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding-top: 0.85rem;
  border-bottom: 1px solid var(--line-soft);
  padding-bottom: 0.85rem;
}
.proj figcaption strong {
  font-family: "Archivo", sans-serif;
  font-weight: 600;
  font-size: 1rem;
}
.proj figcaption span {
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- about ---------- */
.about {
  padding: clamp(4.5rem, 9vw, 7rem) 0;
  background: var(--band);
}
.about__grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: center;
}
.about__media img {
  width: 100%;
  aspect-ratio: 4 / 4.4;
  object-fit: cover;
}

.about__copy h2 { margin-bottom: 1.2rem; }
.about__copy > p { margin-bottom: 1.5rem; max-width: 33rem; }

.about__points {
  list-style: none;
  margin-bottom: 2rem;
  display: grid;
  gap: 0.6rem;
}
.about__points li {
  position: relative;
  padding-left: 1.5rem;
  color: var(--ink);
  font-size: 0.94rem;
  font-weight: 500;
}
.about__points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62rem;
  width: 0.6rem;
  height: 2px;
  background: var(--green);
}

/* ---------- quotes ---------- */
.quotes { padding: clamp(4.5rem, 9vw, 7rem) 0; }

.quotes__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.quote {
  background: var(--white);
  border: 1px solid var(--line-soft);
  padding: 2rem 1.9rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.quote__stars { color: var(--star); letter-spacing: 0.12em; font-size: 0.82rem; }
.quote p {
  font-size: 0.96rem;
  line-height: 1.62;
  color: var(--ink);
}
.quote footer { display: flex; flex-direction: column; margin-top: auto; }
.quote footer strong { font-size: 0.9rem; }
.quote footer span {
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- process ---------- */
.process {
  padding: clamp(4.5rem, 9vw, 7rem) 0;
  background: var(--band);
}
.process__grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--line-soft);
  background: var(--white);
}
.step {
  padding: 2rem 1.7rem;
  border-left: 1px solid var(--line-soft);
}
.step:first-child { border-left: none; }
.step__num {
  display: block;
  font-family: "Archivo", sans-serif;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  color: var(--green);
  margin-bottom: 1rem;
}
.step h3 { font-size: 1.08rem; margin-bottom: 0.45rem; }
.step p { font-size: 0.88rem; }

/* ---------- areas ---------- */
.areas {
  position: relative;
  padding: clamp(5rem, 10vw, 8rem) 0;
  isolation: isolate;
  overflow: hidden;
  color: #fff;
}
.areas__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.areas::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(13, 22, 14, 0.85);
}
.areas__inner { text-align: center; }
.areas h2 { color: #fff; margin-bottom: 0.7rem; }
.areas__lede { color: rgba(255, 255, 255, 0.72); margin-bottom: 2.2rem; }

.areas__list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.55rem;
  max-width: 48rem;
  margin-inline: auto;
}
.areas__list li {
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 0.45rem 1.05rem;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
}

/* ---------- contact ---------- */
.contact { padding: clamp(4.5rem, 9vw, 7.5rem) 0; }
.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: center;
}
.contact__copy h2 { margin-bottom: 1.1rem; }
.contact__copy > p { max-width: 28rem; margin-bottom: 1.9rem; }

.contact__details { display: grid; gap: 0.85rem; }
.contact__line {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  font-family: "Archivo", sans-serif;
  font-weight: 600;
  font-size: 1.08rem;
  color: var(--ink);
  transition: color 0.35s var(--ease);
}
a.contact__line:hover { color: var(--green); }
.contact__line span {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--muted);
  min-width: 3.2rem;
}

.contact__form {
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-top: 3px solid var(--green);
  box-shadow: 0 24px 50px -32px rgba(31, 36, 30, 0.35);
  padding: 2rem 1.8rem;
  display: grid;
  gap: 1.05rem;
}
.contact__form label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
}
.contact__form input,
.contact__form textarea {
  font-family: inherit;
  font-size: 0.95rem;
  padding: 0.75rem 0.95rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  transition: border-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
  resize: vertical;
}
.contact__form input::placeholder,
.contact__form textarea::placeholder { color: #a1a69a; font-weight: 400; }
.contact__form input:focus,
.contact__form textarea:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(43, 81, 52, 0.15);
}
.contact__status {
  font-size: 0.88rem;
  font-weight: 600;
  text-align: center;
  padding: 0.7rem 1rem;
  border-radius: var(--radius);
}
.contact__status.is-ok {
  color: var(--green-dark);
  background: rgba(43, 81, 52, 0.1);
}
.contact__status.is-error {
  color: #8a2f24;
  background: rgba(138, 47, 36, 0.08);
}

.contact__fineprint {
  font-size: 0.78rem;
  text-align: center;
  color: var(--muted);
}

/* ---------- footer ---------- */
.footer {
  background: var(--green-footer);
  color: rgba(255, 255, 255, 0.62);
  padding: 3.2rem 0;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 2rem;
  align-items: start;
}
.footer__brand {
  font-family: "Archivo", sans-serif;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
}
.footer__tag { font-size: 0.82rem; margin-top: 0.35rem; color: rgba(255, 255, 255, 0.5); }
.footer__links {
  display: grid;
  gap: 0.5rem;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.footer__links a { transition: color 0.35s var(--ease); }
.footer__links a:hover { color: #fff; }
.footer__meta { font-size: 0.8rem; display: grid; gap: 0.75rem; text-align: right; }
.footer__meta p { color: rgba(255, 255, 255, 0.62); }

/* ---------- scroll reveals ---------- */
.reveal {
  opacity: 0;
  transform: translateY(1.8rem);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
  will-change: transform, opacity;
}
.reveal.is-in { opacity: 1; transform: translateY(0); }
.d-1 { transition-delay: 0.08s; }
.d-2 { transition-delay: 0.16s; }
.d-3 { transition-delay: 0.24s; }
.d-4 { transition-delay: 0.32s; }

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

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1024px) {
  .nav__phone { display: none; }
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .svc--wide { grid-column: span 2; }
  .why__grid { grid-template-columns: 1fr; }
  .why__card { border-left: none; border-top: 1px solid var(--line-soft); }
  .why__card:first-child { border-top: none; }
  .quotes__grid { grid-template-columns: 1fr 1fr; }
  .process__grid { grid-template-columns: repeat(2, 1fr); }
  .step:nth-child(3) { border-left: none; }
  .step:nth-child(n+3) { border-top: 1px solid var(--line-soft); }
}

@media (max-width: 768px) {
  .nav__links, .nav__right { display: none; }
  .nav__burger { display: block; }

  .hero { min-height: 86dvh; }
  .hero__content { padding: 7rem 0 4rem; }

  .stats__grid { grid-template-columns: 1fr 1fr; gap: 1.5rem 0; }
  .stat:nth-child(3) { border-left: none; }

  .hero__grid,
  .about__grid,
  .contact__grid { grid-template-columns: 1fr; }

  .section-head--split { flex-direction: column; align-items: flex-start; gap: 1rem; }

  .quotes__grid { grid-template-columns: 1fr; gap: 1rem; }

  .process__grid { grid-template-columns: 1fr; }
  .step { border-left: none; }
  .step:nth-child(n+2) { border-top: 1px solid var(--line-soft); }

  .services__grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 16rem;
  }
  .svc--tall { grid-row: span 1; }
  .svc--wide { grid-column: span 1; }

  .projects__grid { grid-template-columns: 1fr; }

  .footer__grid { grid-template-columns: 1fr; }
  .footer__meta { text-align: left; }
}
