/* McNulty Lawn Service: logo green, turf green, mower-man charcoal, grass-tinted paper. */
:root {
  --green: #448c36;
  --green-mid: #3a7a2e;
  --turf: #24561f;
  --turf-2: #2b6425;
  --ink: #231f20;
  --ink-2: #4a4a44;
  --paper: #f4f6ef;
  --paper-2: #e8ece0;
  --line: #d3d9c8;
  --red: #b8322a;
  --display: "Zilla Slab", Rockwell, "Roboto Slab", Georgia, serif;
  --text: "Public Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --r: 4px;
  --hh: 72px;
  /* Crisp and steady, like a straight pass with a mower. */
  --m-ease: cubic-bezier(.22, 1, .36, 1);
  --m-dur: .85s;
  --m-rise: 26px;
  --m-word: 60ms;
}
@media (max-width: 719px) { :root { --hh: 64px; --m-dur: .7s; --m-rise: 16px; --m-word: 42ms; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--hh) + 16px); }
body { margin: 0; font: 400 17px/1.6 var(--text); color: var(--ink); background: var(--paper); overflow-x: hidden; }
@media (min-width: 960px) { body { font-size: 18px; } }
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; margin: 0; line-height: 1.05; letter-spacing: -.005em; }
h2 { font-size: clamp(2.4rem, 1.6rem + 3.4vw, 3.6rem); }
p { margin: 0 0 1em; }
.wrap { width: min(1240px, 100% - 32px); margin-inline: auto; }
@media (min-width: 720px) { .wrap { width: min(1240px, 100% - 64px); } }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
svg { width: 1.15em; height: 1.15em; flex: none; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; padding: 10px 16px; background: var(--ink); color: #fff; border-radius: var(--r); }
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; }

/* Preview bar */
.preview { background: var(--ink); color: #e9ece4; font-size: 13px; line-height: 1.4; text-align: center; padding: 7px 16px; }
.preview b { color: #fff; font-weight: 600; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 14px 24px; border: 2px solid transparent; border-radius: var(--r); font: 600 1rem/1.2 var(--text); text-decoration: none; cursor: pointer; }
.btn-green { background: var(--turf); color: #fff; border-color: var(--turf); --m-fill: var(--green-mid); }
.btn-line { background: transparent; color: var(--ink); border-color: var(--ink); --m-fill: rgba(36, 86, 31, .1); }
.btn-sm { min-height: 44px; padding: 10px 16px; font-size: .95rem; }
.text-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 600; text-decoration: none; }

/* Header */
.top { position: sticky; top: 0; z-index: 30; background: #fff; border-bottom: 1px solid var(--line); }
.top-in { display: flex; align-items: center; gap: 24px; height: var(--hh); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; }
.brand img { width: 56px; height: auto; }
.brand-name { font: 700 1.35rem/1 var(--display); color: var(--ink); display: flex; flex-direction: column; }
.brand-name small { font: 700 .72rem/1.3 var(--text); letter-spacing: .14em; text-transform: uppercase; color: var(--green-mid); margin-top: 3px; }
.nav { display: none; gap: 28px; font-weight: 600; font-size: .98rem; }
.nav a { padding-block: 10px; }
.top-call span { display: none; }
@media (max-width: 719px) { .brand img { width: 48px; } .top-call { width: 48px; min-height: 48px; padding: 0; } }
@media (min-width: 720px) { .top-call span { display: inline; } }
@media (min-width: 1040px) { .nav { display: flex; } }

/* Hero */
.hero { position: relative; display: grid; align-items: end; min-height: calc(100svh - var(--hh) - 33px); color: #fff; overflow: hidden; background: var(--turf); }
.hero-show { position: absolute; inset: 0; }
.hero-show img { object-position: 50% 60%; }
.hero::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(20, 24, 18, 0) 22%, rgba(20, 24, 18, .5) 50%, rgba(16, 20, 14, .9) 100%); }
@media (min-width: 960px) { .hero::after { background: linear-gradient(90deg, rgba(16, 20, 14, .72) 0%, rgba(16, 20, 14, .35) 45%, rgba(16, 20, 14, 0) 70%), linear-gradient(180deg, rgba(16, 20, 14, 0) 50%, rgba(16, 20, 14, .55) 100%); } }
.hero-text { position: relative; z-index: 1; padding-block: 0 clamp(88px, 12svh, 120px); }
.hero h1 { display: flex; flex-direction: column; }
.h-name { font-size: clamp(3.6rem, 2rem + 8vw, 7.4rem); line-height: .95; letter-spacing: -.01em; }
.h-sub { font-size: clamp(1.9rem, 1.1rem + 3.4vw, 3.6rem); line-height: 1.05; margin-top: .1em; color: #cfe8c4; }
.hero-line { max-width: 34ch; font-size: clamp(1.06rem, 1rem + .4vw, 1.3rem); line-height: 1.45; margin: 18px 0 24px; text-shadow: 0 1px 12px rgba(0, 0, 0, .35); }
.cta { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 24px; }
.hero .btn-green { background: var(--green-mid); border-color: var(--green-mid); --m-fill: var(--turf); }
.hero .text-link { color: #fff; }
.hero-note { margin: 14px 0 0; font-size: .95rem; color: #e3ecdc; }
.hero .m-pause { bottom: 20px; right: 16px; }
@media (min-width: 720px) { .hero .m-pause { right: 32px; bottom: 28px; } }
@media (min-width: 960px) { .hero { min-height: min(calc(100svh - var(--hh) - 33px), 920px); } .hero-text { padding-bottom: clamp(72px, 10svh, 120px); } }

/* Sections */
.sec { padding-block: clamp(72px, 9vw, 144px); }

/* Services: stripes */
.svc { background: var(--turf); color: #fff; padding-bottom: 0; }
.svc-head { display: grid; gap: 12px; margin-bottom: clamp(32px, 5vw, 56px); }
.svc-intro { max-width: 34ch; color: #d8e8d0; margin: 0; font-size: 1.1rem; }
@media (min-width: 960px) { .svc-head { grid-template-columns: 1fr 1fr; align-items: end; } .svc-intro { justify-self: end; text-align: right; } }
.stripes { list-style: none; margin: 0; padding: 0; }
.stripes li { background: var(--turf-2); }
.stripes li:nth-child(even) { background: #1f4c1b; }
.stripes .row { display: grid; grid-template-columns: 2.6rem 1fr; column-gap: 12px; row-gap: 4px; padding-block: 26px; }
.stripes .n { font: 700 .95rem/1.9 var(--text); color: #c9e7bc; letter-spacing: .06em; grid-row: span 2; }
.stripes h3 { font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.4rem); }
.stripes p { margin: 4px 0 0; color: #dbe9d4; max-width: 52ch; font-size: 1.04rem; }
@media (min-width: 860px) {
  .stripes .row { grid-template-columns: 4rem minmax(0, 1.1fr) minmax(0, 1fr); align-items: baseline; padding-block: 34px; column-gap: 24px; }
  .stripes .n { grid-row: auto; }
  .stripes p { margin: 0; }
}
/* The rows mow in like passes: odd rows from the left, even rows back from the right. */
@media (prefers-reduced-motion: no-preference) and (scripting: enabled) {
  .stripes li:nth-child(even)[data-reveal="mask-left"]:not(.is-in) { clip-path: inset(0 0 0 100%); }
  .stripes li[data-reveal] { transition-duration: var(--m-dur), var(--m-dur), 1.1s, var(--m-dur); }
}

/* Stripe patterns */
.patterns { background: var(--paper); }
.pat-in { display: grid; gap: 36px; width: min(1240px, 100% - 32px); margin-inline: auto; }
.pat-intro { color: var(--ink-2); max-width: 44ch; margin: 18px 0 28px; }
.pat-tabs { display: flex; flex-wrap: wrap; gap: 0; border-bottom: 2px solid var(--line); }
.pat-tabs button { position: relative; min-height: 52px; padding: 12px 18px; border: 0; background: none; font: 600 1.08rem/1.2 var(--text); color: var(--ink-2); cursor: pointer; -webkit-tap-highlight-color: transparent; }
.pat-tabs button::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 4px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--m-ease); }
.pat-tabs button[aria-selected="true"] { color: var(--ink); }
.pat-tabs button[aria-selected="true"]::after { transform: scaleX(1); }
.pat-tabs button:first-child { padding-left: 0; }
@media (hover: hover) { .pat-tabs button:hover { color: var(--ink); } }
.pat-notes { position: relative; margin-top: 20px; min-height: 3.4em; }
.pat-notes p { margin: 0; color: var(--ink); font-size: 1.05rem; }
.pat-notes p:not(.is-on) { display: none; }
.pat-stage { position: relative; aspect-ratio: 4 / 3; margin-inline: -16px; background: var(--paper-2); }
.pat-panel { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity .7s var(--m-ease-io); }
.pat-panel img { width: 100%; height: 100%; object-fit: cover; scale: 1.04; transition: scale 1.4s var(--m-ease); }
.pat-panel.is-on { opacity: 1; }
.pat-panel.is-on img { scale: 1; }
@media (min-width: 720px) { .pat-in { width: min(1240px, 100% - 64px); } .pat-stage { margin-inline: 0; } }
@media (min-width: 960px) {
  .pat-in { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 5vw, 80px); align-items: center; width: auto; margin-left: max(32px, (100% - 1240px) / 2); margin-right: 0; }
  .pat-stage { aspect-ratio: 4 / 3.1; }
}

/* Mulch & beds: edge-to-edge split */
.beds { display: grid; background: var(--paper-2); }
.beds-photo { aspect-ratio: 4 / 5; max-height: 78svh; width: 100%; }
.beds-text { position: relative; padding: clamp(64px, 8vw, 128px) 16px; display: grid; gap: 40px; align-content: center; }
.beds-copy { max-width: 34rem; }
.beds-copy h2 { margin-bottom: 20px; }
.beds-copy p { color: var(--ink-2); }
.beds-copy .text-link { color: var(--turf); }
.beds-inset { position: relative; width: min(78%, 420px); padding: 0 0 24px 24px; }
.beds-block { position: absolute; left: 0; bottom: 0; width: 72%; height: 78%; background: var(--green); }
.beds-small { position: relative; aspect-ratio: 1; }
.beds-small-in { height: 100%; }
.beds-small img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 720px) { .beds-text { padding-inline: 32px; } }
@media (min-width: 960px) {
  .beds { grid-template-columns: 1fr 1fr; min-height: 760px; }
  .beds-photo { aspect-ratio: auto; max-height: none; height: 100%; }
  .beds-text { padding-inline: clamp(48px, 6vw, 112px); }
  .beds-inset { width: min(78%, 380px); }
}

/* Reviews band */
.reviews { background: var(--green-mid); color: #fff; }
.rev-head { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px; padding-bottom: 20px; border-bottom: 1px solid rgba(255, 255, 255, .35); margin-bottom: clamp(36px, 5vw, 64px); }
.reviews h2 { font-size: clamp(1.9rem, 1.4rem + 1.8vw, 2.6rem); }
.rating { margin: 0; display: flex; align-items: baseline; gap: 10px; }
.rating b { font: 700 2.2rem/1 var(--display); }
.rating span { color: #e6f1e1; }
.quote-lead { margin: 0 0 clamp(48px, 6vw, 80px); max-width: 60rem; }
.quote-lead blockquote { margin: 0; }
.quote-lead blockquote p { font: 700 clamp(1.8rem, 1.2rem + 2.6vw, 3.1rem)/1.12 var(--display); margin: 0 0 22px; }
.quote-lead blockquote p::before { content: "“"; }
.quote-lead blockquote p::after { content: "”"; }
.quote-rest { max-width: 52ch; color: #eef5ea; font-size: 1.06rem; }
.reviews figcaption { font-weight: 600; font-size: .98rem; color: #fff; }
.reviews figcaption::before { content: ""; display: inline-block; width: 28px; height: 2px; background: currentColor; vertical-align: middle; margin-right: 12px; }
.quotes { display: grid; gap: 40px; }
.quote { margin: 0; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .35); }
.quote blockquote { margin: 0 0 16px; }
.quote blockquote p { margin: 0; font-size: 1.1rem; line-height: 1.6; }
.quote blockquote p::before { content: "“"; }
.quote blockquote p::after { content: "”"; }
.rev-more { margin: clamp(40px, 5vw, 64px) 0 0; }
@media (min-width: 860px) { .quotes { grid-template-columns: 1fr 1fr; gap: 56px; } }

/* Contact */
.contact { background: var(--paper); }
.contact-in { display: grid; gap: 56px; }
.contact-main h2 { max-width: 12ch; }
.big-phone { font: 700 clamp(2.5rem, 1.4rem + 5vw, 5.2rem)/1 var(--display); margin: 24px 0 18px; letter-spacing: -.01em; color: var(--turf); }
.big-phone a { text-decoration: none; background-size: 0 3px; }
.big-phone a:hover, .big-phone a:focus-visible { background-size: 100% 3px; }
.contact-area { color: var(--ink-2); font-size: 1.08rem; }
.contact-btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.side-h { font: 700 .8rem/1.3 var(--text); letter-spacing: .14em; text-transform: uppercase; color: var(--green-mid); margin: 0 0 12px; }
.side-h:not(:first-child) { margin-top: 32px; }
.hours-line { font-weight: 600; margin: 0 0 12px; }
.week { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(7, 1fr); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: #fff; }
.week li { position: relative; display: grid; place-items: center; min-height: 52px; font-weight: 600; font-size: .95rem; color: var(--ink-2); }
.week li + li { border-left: 1px solid var(--line); }
.week abbr { text-decoration: none; }
.week li.is-today { color: var(--ink); background: var(--paper); }
.week li.is-today::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--red); }
.contact-side p { margin: 0; }
.contact-side a { text-decoration: none; }
.socials { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.socials a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 600; }
@media (min-width: 960px) { .contact-in { grid-template-columns: 1.3fr 1fr; gap: clamp(56px, 8vw, 128px); align-items: start; } }

/* Footer */
.foot { background: var(--ink); color: #d9dcd3; padding: 64px 0 calc(96px + env(safe-area-inset-bottom)); font-size: .98rem; }
.foot-in { display: grid; gap: 32px; }
.foot-brand { display: flex; align-items: center; gap: 16px; }
.foot-brand img { width: 64px; background: #fff; padding: 6px; border-radius: var(--r); }
.foot-name { font: 700 1.4rem/1.1 var(--display); color: #fff; margin: 0 0 4px; }
.foot-legal { margin: 0; font-size: .9rem; color: #b5b9ad; }
.foot-h { font: 700 .78rem/1.3 var(--text); letter-spacing: .14em; text-transform: uppercase; color: #9fcf8f; margin: 0 0 10px; }
.foot-col p { margin: 0 0 6px; }
.foot a { text-decoration: none; color: #fff; }
.fine { display: flex; flex-wrap: wrap; gap: 6px 20px; margin: 16px 0 0; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .15); font-size: .9rem; color: #b5b9ad; }
.fine a { color: #d9dcd3; padding-block: 8px; }
@media (min-width: 860px) { .foot { padding-bottom: 56px; } .foot-in { grid-template-columns: 1.4fr 1fr 1fr 1fr; } .fine { grid-column: 1 / -1; } }

/* Phone action bar */
.actionbar { position: fixed; z-index: 40; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: 1.3fr 1fr 1fr; background: var(--ink); padding-bottom: env(safe-area-inset-bottom); box-shadow: 0 -6px 24px rgba(0, 0, 0, .18); }
.actionbar a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 58px; color: #fff; text-decoration: none; font-weight: 600; font-size: .98rem; --m-fill: rgba(255, 255, 255, .12); }
.actionbar a.main { background: var(--turf); --m-fill: var(--green-mid); }
@media (min-width: 860px) { .actionbar { display: none; } }

/* Policy pages (legal.mjs) */
.legal { padding-block: 64px 96px; max-width: 760px; }
.legal h1 { font-size: clamp(2.4rem, 1.6rem + 3vw, 3.4rem); margin-bottom: 24px; }
.legal h2 { font-size: 1.6rem; margin: 40px 0 12px; }
.legal a { color: var(--turf); }

/* 404 */
.nf { background: var(--paper); }
.nf-in { padding-block: clamp(96px, 14vw, 180px); max-width: 760px; margin-inline: auto; }
.nf-code { font: 700 1rem/1 var(--text); letter-spacing: .14em; color: var(--green-mid); margin-bottom: 16px; }
.nf h1 { font-size: clamp(2.6rem, 1.6rem + 4vw, 4.4rem); margin-bottom: 20px; }
