/* EDEN LANDSCAPING PRO sample, on the kit's technical base (sites/kit/starter). Colours from their logo, site and trucks (BRAND.md):
   leaf green, logo orange and a deep green band; every colour is a token with its dark value (learnings #44). */
:root {
  color-scheme: light dark;
  --paper: #f5f4ee;
  --card: #ffffff;
  --ink: #1a1f1a;
  --muted: #4a5348;
  --line: rgb(26 31 26 / .14);
  --green-ink: #1e7a1a;
  --accent: #f5891a;
  --accent-hover: #f9a347;
  --on-accent: #1a1f1a;
  --band: #16301a;
  --band-ink: #f3f5ef;
  --band-muted: #c3cfbf;
  --band-line: rgb(243 245 239 / .24);
  --leaf: #6fd65a;
  --ring: #1e7a1a;
  --band-ring: #f5891a;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --t-display: clamp(2.4rem, 1.5rem + 4vw, 4.5rem);
  --t-h2: clamp(1.85rem, 1.35rem + 2vw, 2.9rem);
  --t-h3: 1.3rem;
  --t-lead: clamp(1.1rem, 1.05rem + .3vw, 1.3rem);
  --t-body: 1.0625rem;
  --t-small: .875rem;
  --pad: clamp(1.25rem, 4.5vw, 3rem);
  --max: 76rem;
  --space: clamp(4rem, 9vw, 7rem);
  --bar: 4rem;
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #101510;
    --card: #172017;
    --ink: #eef1ea;
    --muted: #b3bdaf;
    --line: rgb(238 241 234 / .15);
    --green-ink: #84d873;
    --band: #0a1a0d;
    --ring: #84d873;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--bar) + 1rem); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 var(--t-body)/1.6 var(--sans); }
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: .25em; }
h1, h2, h3 { font-family: var(--sans); font-weight: 800; margin: 0; text-wrap: balance; letter-spacing: -.02em; }
h1 { font-size: var(--t-display); line-height: 1.02; letter-spacing: -.035em; }
h2 { font-size: var(--t-h2); line-height: 1.08; margin-bottom: 1.25rem; }
h3 { font-size: var(--t-h3); line-height: 1.25; letter-spacing: -.01em; }
p { margin: 0 0 1rem; }
:focus-visible { outline: 3px solid var(--ring); outline-offset: 3px; border-radius: 4px; }
main:focus { outline: none; }

.skip { position: absolute; left: -999px; top: .5rem; z-index: 20; background: var(--accent); color: var(--on-accent); padding: .6rem .9rem; border-radius: 8px; }
.skip:focus { left: .5rem; }

/* Header: deep green like their own bar, with their name set in their logo's green and orange */
.bar { position: sticky; top: 0; z-index: 10; background: var(--band); color: var(--band-ink); border-bottom: 1px solid transparent; }
.bar.scrolled { border-bottom-color: var(--band-line); }
.bar :focus-visible { outline-color: var(--band-ring); }
.bar-in { max-width: var(--max); margin: 0 auto; min-height: var(--bar); padding: .5rem var(--pad); display: flex; align-items: center; gap: 1rem; }
.brand { font-weight: 800; font-size: 1.05rem; line-height: 1.1; letter-spacing: .02em; text-decoration: none; margin-right: auto; min-width: 0; }
.brand-eden { color: var(--leaf); font-size: 1.35em; letter-spacing: .04em; }
.brand-rest { color: var(--accent); }
.menu { display: flex; gap: 1.5rem; }
.menu a { text-decoration: none; padding: .5rem 0; color: var(--band-ink); }
.menu a:hover { text-decoration: underline; }
.menu-btn { display: none; width: 2.75rem; height: 2.75rem; border: 1px solid var(--band-line); border-radius: 10px; background: transparent; color: var(--band-ink); cursor: pointer; flex: none; }
.menu-btn span, .menu-btn span::before, .menu-btn span::after { display: block; width: 1.1rem; height: 2px; background: currentColor; margin: 0 auto; position: relative; content: ""; }
.menu-btn span::before { position: absolute; top: -6px; }
.menu-btn span::after { position: absolute; top: 6px; }
.wide-only { display: none; }
@media (max-width: 47.99rem) {
  .menu-btn { display: block; }
  .menu { position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; gap: 0; padding: .5rem var(--pad) 1rem; background: var(--band); border-bottom: 1px solid var(--band-line); }
  .menu[hidden] { display: none; }
  .menu a { padding: .75rem 0; border-top: 1px solid var(--band-line); }
}
/* On phones the name stacks like their logo: EDEN over LANDSCAPING PRO */
@media (max-width: 47.99rem) { .brand-eden { display: block; } .brand-rest { display: block; font-size: .8rem; letter-spacing: .06em; } }
@media (min-width: 48rem) { .menu[hidden] { display: flex; } }
@media (min-width: 72rem) { .wide-only { display: inline; } }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 2.75rem; padding: .75rem 1.4rem; border-radius: 999px; background: var(--accent); color: var(--on-accent); text-decoration: none; font-weight: 700; text-align: center; border: 2px solid var(--accent); }
.btn:hover { background: var(--accent-hover); border-color: var(--accent-hover); }
.btn-sm { padding: .5rem 1.1rem; flex: none; }
.btn-ghost { background: transparent; color: var(--band-ink); border-color: var(--band-line); }
.btn-ghost:hover { background: rgb(243 245 239 / .08); border-color: var(--band-ink); }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1.75rem 0 0; }

main > section { max-width: var(--max); margin: 0 auto; padding: var(--space) var(--pad) 0; }
.lead { font-size: var(--t-lead); color: var(--muted); max-width: 40rem; }

/* Hero: deep green band with their own flagstone path photo */
main > .hero { max-width: none; padding: 0; background: var(--band); color: var(--band-ink); }
.hero-in { max-width: var(--max); margin: 0 auto; padding: clamp(1.75rem, 5vw, 4.5rem) var(--pad) clamp(2.5rem, 5vw, 4.5rem); display: grid; gap: 2rem; }
.hero .lead { color: var(--band-muted); margin-top: 1.25rem; }
.hero :focus-visible { outline-color: var(--band-ring); }
.es { margin: 1rem 0 0; }
.es a { display: inline-block; padding: .6rem 0; color: var(--band-ink); font-weight: 600; }
.hero-pic img { width: 100%; border-radius: 3px; }
@media (max-width: 63.99rem) { .hero-pic img { aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 15%; } }
@media (min-width: 64rem) {
  .hero-in { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: center; gap: clamp(2.5rem, 5vw, 5rem); }
  .hero-pic img { max-height: 40rem; object-fit: cover; }
}

/* Services: their four main services, each over one of their own job photos */
.svc-grid { display: grid; gap: 2.5rem; }
.svc img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 3px; margin-bottom: 1rem; }
.svc .pic-mower { object-position: 50% 72%; }
.svc h3 { margin-bottom: .4rem; }
.svc p { color: var(--muted); max-width: 34rem; margin: 0; }
.also { margin: 2.5rem 0 0; padding-top: 1.25rem; border-top: 1px solid var(--line); font-size: var(--t-lead); max-width: 44rem; }
@media (min-width: 48rem) {
  .svc-grid { grid-template-columns: 1fr 1fr; column-gap: clamp(1.5rem, 3vw, 3rem); row-gap: 3rem; }
  .svc:nth-child(even) { margin-top: 4rem; }
  .svc:nth-child(3) { margin-top: -4rem; }
}

/* About: their family company, beside their own lettered truck and trailer */
.about-in { display: grid; gap: 1.75rem; }
.about-text p { font-size: var(--t-lead); color: var(--muted); max-width: 32rem; }
.about-pic img { width: 100%; border-radius: 3px; }
@media (min-width: 64rem) {
  .about-in { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(2.5rem, 5vw, 5rem); align-items: center; }
}

/* Reviews, word for word */
.reviews-head p { color: var(--muted); }
.quotes { display: grid; gap: 2rem; margin-top: 1.5rem; }
blockquote { margin: 0; padding-top: 1.25rem; border-top: 1px solid var(--line); }
blockquote p { margin-bottom: .75rem; }
blockquote footer { color: var(--muted); font-size: var(--t-small); }
.q-main p { font-size: var(--t-lead); line-height: 1.5; font-weight: 500; }
@media (min-width: 56rem) {
  .reviews { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 0 4rem; }
  .quotes { margin-top: 0; grid-template-columns: 1fr 1fr; }
  .q-main { grid-column: 1 / -1; }
}

/* Contact: the green band again, with the call, the Spanish line, hours and address */
main > .contact { max-width: none; padding: 0; margin-top: var(--space); background: var(--band); color: var(--band-ink); }
.contact-in { max-width: var(--max); margin: 0 auto; padding: var(--space) var(--pad); display: grid; gap: 2.5rem; }
.contact .lead { color: var(--band-muted); }
.contact :focus-visible { outline-color: var(--band-ring); }
.facts { margin: 0; display: grid; gap: 1.25rem; }
.facts div { border-top: 1px solid var(--band-line); padding-top: .9rem; }
.facts dt { color: var(--band-muted); font-size: var(--t-small); margin-bottom: .25rem; }
.facts dd { margin: 0; overflow-wrap: anywhere; }
.facts a { display: inline-block; padding: .6rem 0; }
@media (min-width: 64rem) {
  .contact-in { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 5rem; align-items: start; }
}

.foot { max-width: var(--max); margin: 0 auto; padding: 2rem var(--pad) 3rem; color: var(--muted); font-size: var(--t-small); }
.foot p { margin: 0 0 .4rem; }
.foot a { display: inline-block; padding: .6rem 0; }
.foot-name { color: var(--ink); font-weight: 800; font-size: 1.05rem; }
.foot-links { display: flex; gap: 1.25rem; }

/* Privacy, accessibility and 404 pages */
.page main { max-width: 40rem; margin: 0 auto; padding: clamp(2rem, 6vw, 4rem) var(--pad) 0; }
.page h1 { font-size: var(--t-h2); margin-bottom: 1.5rem; }
.page main a { color: var(--green-ink); }
.date { color: var(--muted); font-size: var(--t-small); }
