/* Pagecrisp Test Garden Care. One accent: the shop's own dark ink (#222222). Flat and square. */
[hidden] { display: none !important; } /* keep in every design: past closures and the empty closures list stay hidden */

:root {
  --accent: #222222;
  --ink: #222222;
  --muted: #555555;
  --paper: #ffffff;
  --mist: #f4f4f4;
  --rule: #dddddd;
  --head: Georgia, 'Times New Roman', serif;
  --body: Verdana, Geneva, Tahoma, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; font: 16px/1.6 var(--body); color: var(--ink); background: var(--paper); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-underline-offset: 3px; }
h1, h2, h3 { font-family: var(--head); font-weight: 700; line-height: 1.15; margin: 0; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.2rem); }
main > section { padding: 56px 20px; }
main > section.hero, main > section.strip { padding: 0; }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 24px;
  font: 700 1rem/1 var(--body); text-decoration: none; border: 2px solid var(--accent); border-radius: 3px; cursor: pointer;
  background: var(--accent); color: #fff; }
.btn--line { background: var(--paper); color: var(--accent); }
.btn--call { background: transparent; color: #fff; border-color: #fff; }

/* 1. stuck header */
.top { position: sticky; top: 0; z-index: 50; background: var(--paper); border-bottom: 1px solid var(--rule); }
.top__in { max-width: 1180px; margin: 0 auto; padding: 10px 20px; display: flex; align-items: center; gap: 22px; }
.top__logo { font: 700 1.15rem/1.15 var(--head); color: var(--ink); text-decoration: none; max-width: 15em; }
.top__nav { display: flex; gap: 18px; flex-wrap: wrap; font-size: .95rem; }
.top__nav a { color: var(--ink); text-decoration: none; padding: 10px 0; }
.top__nav a:hover, .top__nav a[aria-current] { text-decoration: underline; }
.top__phone { margin-left: auto; font-weight: 700; font-size: 1.1rem; text-decoration: none; color: var(--accent); white-space: nowrap; }
.top__phone-label { display: block; font-size: .72rem; letter-spacing: .06em; color: var(--muted); font-weight: 400; }
.top__quote { min-height: 46px; padding: 0 18px; }

/* 2. first screen: the photo dimmed under their ink, the pitch beside the form */
.hero { position: relative; background: var(--accent); color: #fff; overflow: hidden; }
.hero__photo { position: absolute; inset: 0; }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 70%; opacity: .38; }
.hero__in { position: relative; max-width: 1180px; margin: 0 auto; padding: 56px 20px 64px;
  display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.hero__sign { font-size: clamp(2.5rem, 6vw, 4.6rem); line-height: 1.04; color: #fff; padding: 18px 0;
  border-top: 4px double #fff; border-bottom: 4px double #fff; }
.hero__line { font-size: clamp(1.05rem, 2.2vw, 1.25rem); margin: 20px 0 0; max-width: 30em; }
.hero__buttons { display: flex; gap: 12px; margin-top: 26px; }
.hero .btn--quote { background: #fff; color: var(--accent); border-color: #fff; }
.hero__today { margin: 22px 0 0; }
.status { font-weight: 700; padding-right: 10px; margin-right: 6px; border-right: 1px solid currentColor; }
.today-line { margin: 6px 0 0; }
.today-line:empty { display: none; }

/* the quote panel: flat paper on the photo */
.quote { background: var(--paper); color: var(--ink); padding: 26px 26px 20px; border-radius: 3px; }
.quote__title { font-size: 1.7rem; }
.quote__sub { margin: 6px 0 10px; color: var(--muted); }
.quote label { display: block; font-weight: 700; font-size: .9rem; margin: 10px 0 4px; }
.quote input, .quote select, .quote textarea { width: 100%; font: 16px/1.3 var(--body); padding: 10px 12px;
  border: 1px solid #999; border-radius: 3px; background: #fff; color: var(--ink); }
.quote form p { margin: 0; }
.quote button[type=submit] { width: 100%; margin-top: 16px; min-height: 54px; background: var(--accent); color: #fff; border-color: var(--accent); }
.btn__num { margin-left: .35em; }
#quote-need, #quote-fail, #quote-thanks { margin: 12px 0 0; padding: 10px 12px; background: var(--mist); border-left: 4px solid var(--accent); }
.quote__or { margin: 12px 0 0; text-align: center; color: var(--muted); }

/* 3. the strip */
.strip { display: grid; grid-template-columns: repeat(3, 1fr); max-width: 1180px; margin: 0 auto; border-bottom: 1px solid var(--rule); }
.strip__cell { padding: 22px 20px; border-left: 1px solid var(--rule); }
.strip__cell:first-child { border-left: 0; }
.strip h3 { font: 700 .8rem/1 var(--body); letter-spacing: .08em; color: var(--muted); margin-bottom: 8px; }
.strip p { margin: 0; font-size: 1.05rem; }

/* 4. what we do: a ruled board beside one photo */
.jobs__in, .work__in, .area__in, .ask__in { max-width: 1180px; margin: 0 auto; }
.jobs__in { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.board { list-style: none; counter-reset: job; margin: 24px 0 0; padding: 0; border-top: 2px solid var(--ink); }
.board li { counter-increment: job; display: flex; align-items: baseline; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--rule); }
.board li::before { content: counter(job, decimal-leading-zero); font: 700 1rem/1 var(--body); color: var(--muted); }
.board__name { font: 700 clamp(1.6rem, 3.6vw, 2.4rem)/1.1 var(--head); flex: 1; }
.board__cta { font-weight: 700; white-space: nowrap; padding: 10px 0; }
.jobs__more { margin: 18px 0 0; }
.job, .work figure { margin: 0; }
.job img, .work img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 3px; }
figcaption { font-size: .9rem; color: var(--muted); padding-top: 8px; }

/* 5. where we work */
.area { background: var(--mist); }
.area__in { display: flex; align-items: baseline; gap: 40px; flex-wrap: wrap; }
.area__towns { list-style: none; margin: 0; padding: 0; font: 700 clamp(1.6rem, 4vw, 2.6rem)/1.1 var(--head); }

/* 6. photos */
.work__in { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.work__text p { margin: 14px 0 0; font-size: 1.1rem; }

/* 7. the second ask */
.ask { background: var(--accent); color: #fff; }
.ask h2 { color: #fff; }
.ask p { margin: 10px 0 22px; }
.ask__buttons { display: flex; gap: 12px; flex-wrap: wrap; }
.ask .btn--quote { background: #fff; color: var(--accent); border-color: #fff; }
.ask .btn--line { background: transparent; color: #fff; border-color: #fff; }

/* 8. hours beside the questions */
.info { max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1.6fr; gap: 56px; }
main > section.info { padding: 56px 20px; }
.rows { margin: 16px 0 0; }
.rows div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--rule); }
.rows dt { font-weight: 700; }
.rows dd { margin: 0; text-align: right; }
.closures { list-style: none; padding: 0; margin: 16px 0 0; font-weight: 700; }
.info__faq h3 { font-size: 1.2rem; margin: 22px 0 6px; }
.info__faq p { margin: 0; }

/* other pages */
.page { max-width: 900px; margin: 0 auto; padding: 48px 20px 64px; }
.page h1 { font-size: clamp(2.2rem, 6vw, 3.6rem); padding: 14px 0; border-top: 4px double var(--ink); border-bottom: 4px double var(--ink); }
.page p { font-size: 1.1rem; max-width: 36em; }
.page .lede { margin: 20px 0 0; }
.gallery { display: grid; gap: 40px; margin-top: 32px; align-items: start; }
.gallery img { width: 100%; border-radius: 3px; }
.bigcall { display: inline-flex; margin: 10px 0 0; font-size: 1.4rem; min-height: 60px; }
.page h2 { margin: 36px 0 10px; }
.page .board { margin-top: 28px; }
.page .quote { padding: 0; }
.page #quote-title { margin-bottom: 14px; }
.page form { max-width: 560px; }

/* footer */
.foot { background: var(--mist); border-top: 1px solid var(--rule); margin-top: 0; }
.foot__in { max-width: 1180px; margin: 0 auto; padding: 36px 20px 12px; }
.foot p { margin: 0 0 6px; }
.foot__name { font: 700 1.3rem/1.2 var(--head); }
.foot__note { color: var(--muted); font-size: .9rem; }
.foot__nav { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 14px !important; }
.foot__nav a { display: inline-block; padding: 8px 0; }

/* 9. the phone bar */
.bar { display: none; }

@media (max-width: 900px) {
  .hero__in { grid-template-columns: 1fr; gap: 28px; padding: 28px 16px 36px; }
  .jobs__in, .work__in, .info { grid-template-columns: 1fr; gap: 32px; }
  main > section { padding: 44px 16px; }
}
@media (max-width: 760px) {
  .top__nav { order: 3; width: 100%; overflow-x: auto; flex-wrap: nowrap; gap: 12px; font-size: .8rem; }
  .top__nav a { white-space: nowrap; }
  .top__in { flex-wrap: wrap; gap: 0 12px; padding: 8px 16px 0; }
  .top__logo { font-size: 1rem; max-width: 11em; }
  .top__phone-label, .top__quote { display: none; }
  .hero__sign { font-size: clamp(2rem, 9.5vw, 2.8rem); padding: 12px 0; }
  .hero__line { margin-top: 14px; }
  .hero__buttons { margin-top: 18px; }
  .hero__today { margin-top: 14px; font-size: .95rem; }
  .hero__buttons .btn { flex: 1 1 0; padding: 0 12px; }
  .btn__num { display: none; }
  .strip { grid-template-columns: 1fr; }
  .strip__cell { border-left: 0; border-top: 1px solid var(--rule); padding: 16px; }
  .strip__cell:first-child { border-top: 0; }
  .board li { flex-wrap: wrap; }
  body { padding-bottom: calc(64px + env(safe-area-inset-bottom, 0px)); }
  .bar { display: grid; grid-template-columns: 1fr 1fr 1.4fr; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    background: var(--paper); border-top: 1px solid var(--rule); padding: 8px 10px calc(8px + env(safe-area-inset-bottom, 0px)); }
  .bar a { display: flex; align-items: center; justify-content: center; min-height: 46px; border-radius: 3px; font-weight: 700;
    text-decoration: none; border: 2px solid var(--accent); color: var(--accent); }
  .bar .bar__quote { background: var(--accent); color: #fff; }
}

/* The maker's mark (tools/mark.py): a signature, not an advert. Bottom-left corner, outside the
   shop's own content, the smallest thing on the page. Inherits the footer's text colour. */
.madeby-wrap { background: var(--mist); padding: 8px 0 max(16px, env(safe-area-inset-bottom)); padding-inline-start: clamp(12px, 1.6vw, 22px); text-align: left; }
.madeby { display: inline-flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 6px 0 2px;
  min-height: 44px; color: inherit; text-decoration: none; opacity: .7; transition: opacity .16s ease; }
.madeby img { width: 38px; height: 38px; border-radius: 8px; display: block; }
.madeby span { font-size: 0.6875rem; font-weight: 600; line-height: 1; letter-spacing: .09em; text-transform: uppercase; }
.madeby:hover, .madeby:focus-visible { opacity: 1; }
.madeby:hover span { text-decoration: underline; text-underline-offset: 3px; }
