/* ============================================================================
   Vivasayi Garden - plants, landscaping and water features
   Self-contained: no web fonts, no CDN, works from file://

   The greens are sampled from the logo (tools/make_brand.py) and then darkened
   until each one clears 4.5:1 against every surface it is used on. The logo's
   own leaf green, #6aa833, only clears 2.9:1 on white, so it stays decorative.
   ========================================================================== */

:root {
  --ink:            #16221c;
  --ink-soft:       #47584f;
  --ink-faint:      #7b8a82;
  --paper:          #ffffff;
  --paper-warm:     #f7f6f1;
  --paper-tint:     #eef2ec;
  --line:           #dfe4dc;
  --line-soft:      #ebeee8;

  --green:          #1a6127;   /* 7.6:1 on white  - links, solid buttons     */
  --green-deep:     #0d3f18;   /* 12.1:1 on white - footer, button hover      */
  --green-bright:   #2f7a28;   /* 5.3:1 on white  - small accent text         */
  --green-wash:     #e9f2df;
  --leaf:           #6aa833;   /* logo leaf green - decorative fills only     */
  --leaf-pale:      #c3da88;
  --clay:           #b4653a;
  --sun:            #c8912f;
  --sky:            #2f6f8a;

  --radius-sm: 8px;
  --radius:    14px;
  --radius-lg: 22px;

  --shadow-sm: 0 1px 2px rgba(20, 40, 30, .06), 0 2px 8px rgba(20, 40, 30, .05);
  --shadow:    0 2px 6px rgba(20, 40, 30, .07), 0 12px 28px rgba(20, 40, 30, .08);
  --shadow-lg: 0 8px 20px rgba(20, 40, 30, .12), 0 32px 64px rgba(20, 40, 30, .16);

  --sans: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto,
          "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  --serif: ui-serif, Georgia, Cambria, "Times New Roman", serif;

  --shell: 1240px;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { margin: 0 0 .4em; line-height: 1.18; letter-spacing: -.015em; font-weight: 650; }
h1 { font-size: clamp(2rem, 1.2rem + 3.2vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.25rem); }
h3 { font-size: 1.125rem; }
p  { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
img { max-width: 100%; display: block; }
svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

a { color: var(--green); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--green-bright); }

:focus-visible {
  outline: 3px solid var(--green-bright);
  outline-offset: 2px;
  border-radius: 4px;
}

.shell { width: 100%; max-width: var(--shell); margin-inline: auto; padding-inline: clamp(1rem, 4vw, 2.5rem); }
.muted { color: var(--ink-faint); font-size: .875rem; }
.eyebrow {
  text-transform: uppercase; letter-spacing: .14em; font-size: .75rem;
  font-weight: 700; color: var(--green-bright); margin-bottom: 1rem;
}
.linkish {
  background: none; border: 0; padding: 0; font: inherit; color: var(--green);
  text-decoration: underline; text-underline-offset: 3px; cursor: pointer;
}
.linkish:hover { color: var(--green-bright); }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--green-deep); color: #fff; padding: .75rem 1.25rem;
  border-radius: 0 0 var(--radius-sm) 0; font-weight: 600;
}
.skip-link:focus { left: 0; }

/* ---------------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font: inherit; font-weight: 600; line-height: 1.2;
  padding: .625rem 1.1rem; border-radius: 999px; border: 1.5px solid transparent;
  cursor: pointer; text-decoration: none; white-space: nowrap;
  transition: background-color .15s, color .15s, border-color .15s, transform .15s;
}
.btn:active { transform: translateY(1px); }
.btn--solid  { background: var(--green); color: #fff; }
.btn--solid:hover { background: var(--green-deep); color: #fff; }
.btn--outline { border-color: var(--green); color: var(--green); background: transparent; }
.btn--outline:hover { background: var(--green-wash); }
.btn--ghost { background: transparent; color: var(--ink-soft); border-color: var(--line); }
.btn--ghost:hover { background: var(--paper-warm); color: var(--ink); }
.btn--ghost[aria-pressed="true"] { background: var(--green); border-color: var(--green); color: #fff; }
.btn--lg { padding: .8rem 1.5rem; font-size: 1.0625rem; }
.btn--sm { padding: .4rem .8rem; font-size: .8125rem; }

.pill {
  display: inline-grid; place-items: center; min-width: 1.4rem; height: 1.4rem;
  padding: 0 .35rem; border-radius: 999px;
  background: var(--green); color: #fff; font-size: .75rem; font-weight: 700;
}
.btn--ghost .pill { background: var(--green); }

/* ============================================================================
   site header
   Two tiers: a dark utility strip carrying the address and every way to reach
   us, and the white bar with the brand, navigation and calls to action. The
   strip collapses on scroll so the sticky bar stays shallow; the collapsed
   navigation below 1160px lives in .sitemenu, which the header positions.
   ========================================================================== */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(255, 255, 255, .88);
  backdrop-filter: saturate(150%) blur(12px);
  border-bottom: 1px solid var(--line-soft);
  transition: background-color .25s, box-shadow .25s;
}
.site-header.is-scrolled {
  background: rgba(255, 255, 255, .95);
  box-shadow: 0 6px 24px rgba(20, 40, 30, .07);
}
/* headings must clear the sticky bar when an anchor is followed */
main > section[id] { scroll-margin-top: 96px; }

/* --------------------------------------------------------- utility strip */
.utility {
  background: var(--green-deep); color: #cfe0d4;
  font-size: .8125rem; height: 38px; overflow: hidden;
  transition: height .25s ease, opacity .2s ease;
}
.site-header.is-scrolled .utility { height: 0; opacity: 0; }
.utility__inner {
  height: 38px; display: flex; align-items: center;
  justify-content: space-between; gap: 1rem;
}
.utility__where { margin: 0; display: inline-flex; align-items: center; gap: .4rem; white-space: nowrap; }
.utility__where svg { width: 15px; height: 15px; flex: none; color: var(--leaf-pale); }
.utility__links {
  list-style: none; margin: 0; padding: 0;
  display: flex; align-items: center; gap: 1.15rem;
}
.utility__links a { color: #e7f1e5; text-decoration: none; font-weight: 550; white-space: nowrap; }
.utility__links a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.utility__links li + li { position: relative; }
.utility__links li + li::before {
  content: ""; position: absolute; left: -.6rem; top: 50%;
  width: 1px; height: 12px; transform: translateY(-50%);
  background: rgba(255, 255, 255, .22);
}

/* ---------------------------------------------------------------- topbar */
.topbar { position: relative; }
.topbar__inner {
  display: flex; align-items: center; gap: clamp(.6rem, 2vw, 1.5rem);
  min-height: 74px; padding-block: .55rem;
  transition: min-height .25s ease;
}
.site-header.is-scrolled .topbar__inner { min-height: 62px; }

.brand { display: flex; align-items: center; gap: .75rem; text-decoration: none; color: inherit; }

/* The logo's lower stem is drawn white on white in the artwork, so the mark
   always needs a white surface under it - see tools/make_brand.py. */
.brand__mark {
  width: 48px; height: 48px; flex: none; padding: 2px;
  display: grid; place-items: center;
  border-radius: 14px; background: var(--paper);
  box-shadow: 0 0 0 1px var(--line), 0 5px 14px rgba(20, 40, 30, .10);
  transition: box-shadow .2s, transform .2s;
}
.brand:hover .brand__mark {
  transform: translateY(-1px);
  box-shadow: 0 0 0 1px #cddcbd, 0 9px 20px rgba(20, 40, 30, .15);
}
.brand__mark img { width: 100%; height: 100%; object-fit: contain; }

/* the brand is the only shrinkable item in the bar, so its two lines clip
   rather than let the row overflow on a narrow laptop */
.brand { min-width: 0; }
.brand__text { display: flex; flex-direction: column; gap: .1rem; line-height: 1.2; min-width: 0; }
.brand__text strong,
.brand__text small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.brand__text strong { font-size: 1.09rem; letter-spacing: -.015em; }
.brand__text small { color: var(--ink-faint); font-size: .71875rem; }

/* ------------------------------------------------------------- top nav */
.topnav { display: flex; align-items: center; gap: .1rem; margin-inline: auto; flex: none; }
.topnav a {
  position: relative; padding: .55rem .7rem; border-radius: 10px;
  text-decoration: none; white-space: nowrap;
  color: var(--ink-soft); font-weight: 550; font-size: .9375rem;
  transition: color .15s;
}
/* the rule grows out from the middle of the label on hover, and marks the
   section the reader is currently in */
.topnav a::after {
  content: ""; position: absolute; left: .7rem; right: .7rem; bottom: .28rem;
  height: 2px; border-radius: 2px; background: var(--green-bright);
  transform: scaleX(0); opacity: 0;
  transition: transform .2s ease, opacity .15s ease;
}
.topnav a:hover { color: var(--green-deep); }
.topnav a:hover::after { transform: scaleX(1); opacity: 1; }
.topnav a[aria-current="true"] { color: var(--green-deep); font-weight: 650; }
.topnav a[aria-current="true"]::after { transform: scaleX(1); opacity: 1; background: var(--green); }

/* --------------------------------------------------------- header actions */
.topbar__actions { display: flex; align-items: center; gap: .45rem; margin-left: auto; flex: none; }

.iconbtn {
  display: inline-flex; align-items: center; gap: .45rem;
  height: 42px; padding: 0 .85rem; border-radius: 999px;
  font: inherit; font-size: .9375rem; font-weight: 600; line-height: 1;
  background: var(--paper); color: var(--ink-soft);
  border: 1.5px solid var(--line); cursor: pointer;
  transition: background-color .15s, border-color .15s, color .15s, transform .15s;
}
.iconbtn:hover { background: var(--green-wash); border-color: #c6d8b6; color: var(--green-deep); }
.iconbtn:active { transform: translateY(1px); }
.iconbtn svg { width: 18px; height: 18px; flex: none; }
.iconbtn--square { width: 42px; padding: 0; justify-content: center; }

/* the shortlist count rides the corner of the heart, like a basket badge */
.iconbtn--shortlist { position: relative; }
.iconbtn--shortlist .pill {
  position: absolute; top: -6px; right: -5px;
  min-width: 1.2rem; height: 1.2rem; padding-inline: .3rem;
  font-size: .6875rem; background: var(--line); color: var(--ink-soft);
  box-shadow: 0 0 0 2px var(--paper);
}
.iconbtn--shortlist .pill[hidden] { display: none; }   /* no badge at zero */
.iconbtn.has-items { border-color: #c6d8b6; color: var(--green-deep); }
.iconbtn.has-items .pill { background: var(--green); color: #fff; }
.iconbtn.has-items .icon-heart { fill: var(--clay); stroke: var(--clay); }

.btn--call { font-variant-numeric: tabular-nums; height: 42px; padding-inline: 1.1rem; }
.btn--call svg { width: 17px; height: 17px; flex: none; }

/* --------------------------------------------------------- menu toggle */
.navtoggle {
  display: none; width: 44px; height: 44px; flex: none;
  border-radius: 12px; border: 1.5px solid var(--line);
  background: var(--paper); cursor: pointer;
  transition: background-color .15s, border-color .15s;
}
.navtoggle:hover { background: var(--paper-warm); border-color: #c6d8b6; }
.navtoggle__bars { display: grid; gap: 4px; width: 20px; margin-inline: auto; }
.navtoggle__bars i {
  display: block; height: 2px; border-radius: 2px; background: var(--ink);
  transition: transform .22s ease, opacity .15s ease;
}
.navtoggle[aria-expanded="true"] .navtoggle__bars i:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.navtoggle[aria-expanded="true"] .navtoggle__bars i:nth-child(2) { opacity: 0; }
.navtoggle[aria-expanded="true"] .navtoggle__bars i:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ------------------------------------------------------- reading progress */
.topbar__progress {
  position: absolute; left: 0; right: 0; bottom: -1px; height: 2px;
  overflow: hidden; pointer-events: none;
}
.topbar__progress i {
  display: block; height: 100%; width: 100%;
  transform: scaleX(0); transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--green), var(--leaf));
}

/* ------------------------------------------------------- collapsed menu */
.sitemenu {
  position: absolute; left: 0; right: 0; top: 100%;
  background: var(--paper); border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow); max-height: calc(100vh - 100%); overflow: auto;
  animation: menu-drop .18s ease-out;
}
.sitemenu[hidden] { display: none; }
@keyframes menu-drop { from { opacity: 0; transform: translateY(-8px); } }
.sitemenu__inner { padding-block: .5rem 1.25rem; }
.sitemenu__nav { display: grid; }
.sitemenu__nav a {
  display: flex; flex-direction: column; gap: .1rem;
  padding: .8rem .25rem; text-decoration: none;
  color: var(--ink); font-weight: 650; font-size: 1.0625rem;
  border-bottom: 1px solid var(--line-soft);
}
.sitemenu__nav a span { font-size: .8125rem; font-weight: 500; color: var(--ink-faint); }
.sitemenu__nav a:hover { color: var(--green-deep); }
.sitemenu__nav a:hover span { color: var(--green-bright); }
.sitemenu__actions { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; margin-top: 1.1rem; }
.sitemenu__where { margin: .9rem 0 0; }

@media (min-width: 1161px) { .sitemenu { display: none; } }
@media (max-width: 1160px) {
  .topnav { display: none; }
  .navtoggle { display: grid; place-items: center; }
}
/* the band where the full nav is up but the shell is not yet at its widest:
   the strapline is what gives way, so nothing has to be clipped */
@media (min-width: 1161px) and (max-width: 1319px) {
  .brand__text small { display: none; }
}
@media (max-width: 860px) { .utility { display: none; } .iconbtn--print { display: none; } }
@media (max-width: 640px) {
  .brand__text small { display: none; }
  .brand__mark { width: 42px; height: 42px; }
  .topbar__inner { min-height: 64px; gap: .5rem; }
}
@media (max-width: 460px) {
  .brand { gap: .55rem; }
  .brand__mark { width: 40px; height: 40px; }
  .brand__text strong { font-size: 1rem; }
  .btn--call .btn__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .btn--call { padding-inline: 0; width: 42px; }
  .sitemenu__actions { grid-template-columns: 1fr; }
}

/* ---------------------------------------------------------------- hero */
.hero {
  background:
    radial-gradient(1100px 520px at 85% -10%, #e6f2d8 0%, transparent 62%),
    linear-gradient(180deg, var(--paper-warm), var(--paper));
  border-bottom: 1px solid var(--line-soft);
}
.hero__inner {
  display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4.5rem); align-items: center;
  padding-block: clamp(3rem, 7vw, 6rem);
}
.hero h1 { max-width: 22ch; }
.lede { font-size: clamp(1rem, .95rem + .35vw, 1.1875rem); color: var(--ink-soft); max-width: 56ch; }
.hero__cta { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }

.stats {
  margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1px;
  background: var(--line); border: 1px solid var(--line);
  border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm);
}
.stat { background: var(--paper); padding: 1.4rem 1.25rem; }
.stat dt { color: var(--ink-faint); font-size: .8125rem; font-weight: 600; text-transform: uppercase; letter-spacing: .07em; }
.stat dd { margin: .3rem 0 0; font-size: clamp(1.75rem, 1.2rem + 1.6vw, 2.5rem); font-weight: 700; color: var(--green-deep); font-variant-numeric: tabular-nums; }

@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; }
}

/* ---------------------------------------------------------------- sections */
.section { padding-block: clamp(3rem, 6vw, 5.5rem); }
.section--tint { background: var(--paper-warm); border-block: 1px solid var(--line-soft); }
.section__head { max-width: 62ch; margin-bottom: clamp(1.75rem, 3vw, 2.75rem); }
.section__head p { color: var(--ink-soft); margin: 0; }

/* ---------------------------------------------------------------- services */
.services {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.service {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.5rem 1.45rem;
  display: flex; flex-direction: column; gap: .5rem;
}
.service__icon {
  width: 48px; height: 48px; flex: none; margin-bottom: .35rem;
  padding: 11px; border-radius: 14px;
  background: var(--green-wash); color: var(--green); display: grid; place-items: center;
}
.service h3 { margin: 0; color: var(--green-deep); }
.service p { margin: 0; color: var(--ink-soft); font-size: .9375rem; }
.service__link {
  margin-top: auto; padding-top: .6rem; align-self: start;
  font-size: .875rem; font-weight: 650; text-decoration: none;
}
.service__link::after { content: " →"; }
.service__link:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ---------------------------------------------------------------- categories */
.cats {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: 1rem;
  grid-template-columns: repeat(auto-fill, minmax(255px, 1fr));
}
.cat {
  width: 100%; text-align: left; cursor: pointer; font: inherit;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.25rem; display: flex; gap: .9rem; align-items: flex-start;
  transition: border-color .15s, box-shadow .15s, transform .15s;
}
.cat:hover { border-color: var(--green-bright); box-shadow: var(--shadow); transform: translateY(-2px); }
.cat__icon {
  width: 42px; height: 42px; flex: none; padding: 9px; border-radius: 12px;
  background: var(--green-wash); color: var(--green); display: grid; place-items: center;
}
.cat__name { font-weight: 650; display: flex; align-items: baseline; gap: .5rem; flex-wrap: wrap; }
.cat__count { color: var(--green-bright); font-size: .8125rem; font-weight: 700; }
.cat__blurb { color: var(--ink-faint); font-size: .875rem; margin: .25rem 0 0; line-height: 1.5; }

/* ---------------------------------------------------------------- toolbar */
.toolbar {
  display: grid; gap: 1rem 1.1rem; align-items: end;
  grid-template-columns: minmax(240px, 2.2fr) repeat(4, minmax(130px, 1fr));
  padding: 1.25rem; margin-bottom: 1.25rem;
  background: var(--paper-warm); border: 1px solid var(--line); border-radius: var(--radius);
}
@media (max-width: 980px) { .toolbar { grid-template-columns: 1fr 1fr; } .field--search { grid-column: 1 / -1; } }
@media (max-width: 560px) { .toolbar { grid-template-columns: 1fr; } }

.field { display: flex; flex-direction: column; gap: .35rem; min-width: 0; }
.field > label { font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; color: var(--ink-faint); }
.field__control { position: relative; display: flex; align-items: center; }
.field__icon { position: absolute; left: .75rem; width: 18px; height: 18px; color: var(--ink-faint); pointer-events: none; }
.field input, .field select {
  width: 100%; font: inherit; font-size: .9375rem; color: var(--ink);
  padding: .6rem .8rem; border: 1.5px solid var(--line); border-radius: 10px;
  background: var(--paper); min-width: 0;
}
.field input { padding-left: 2.4rem; }
.field select { appearance: none; padding-right: 2rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2347584f' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right .6rem center; background-size: 16px;
}
.field input:focus, .field select:focus { border-color: var(--green-bright); outline: none; box-shadow: 0 0 0 3px rgba(47, 138, 88, .18); }

.chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.5rem; }
.chip {
  font: inherit; font-size: .875rem; font-weight: 550; cursor: pointer;
  padding: .4rem .85rem; border-radius: 999px;
  border: 1.5px solid var(--line); background: var(--paper); color: var(--ink-soft);
  transition: background-color .15s, border-color .15s, color .15s;
}
.chip:hover { border-color: var(--green-bright); color: var(--green-deep); }
.chip[aria-pressed="true"] { background: var(--green); border-color: var(--green); color: #fff; }
.chip__n { opacity: .6; font-size: .8125rem; margin-left: .25rem; }

.results { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between; margin-bottom: 1.25rem; }
.results__count { margin: 0; color: var(--ink-soft); font-size: .9375rem; }
.results__count strong { color: var(--ink); }
.results__tools { display: flex; gap: .5rem; }

.empty { text-align: center; padding: 3rem 1rem; color: var(--ink-soft); }

/* ---------------------------------------------------------------- plant grid */
.grid {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: 1.5rem;
  grid-template-columns: repeat(auto-fill, minmax(268px, 1fr));
}
.card {
  position: relative; display: flex; flex-direction: column; height: 100%;
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden;
  transition: border-color .15s, box-shadow .15s, transform .15s;
}
.card:hover { border-color: #cddcbd; box-shadow: var(--shadow); transform: translateY(-3px); }

.card__media { position: relative; aspect-ratio: 4 / 3; background: var(--paper-tint); overflow: hidden; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.card:hover .card__media img { transform: scale(1.045); }
.card__badge {
  position: absolute; left: .75rem; top: .75rem; z-index: 2;
  background: rgba(255, 255, 255, .94); color: var(--green-deep);
  font-size: .6875rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em;
  padding: .3rem .6rem; border-radius: 999px; box-shadow: var(--shadow-sm);
}
.card__fav {
  position: absolute; right: .6rem; top: .6rem; z-index: 2;
  width: 36px; height: 36px; padding: 8px; border-radius: 50%; cursor: pointer;
  background: rgba(255, 255, 255, .92); border: 0; color: var(--ink-soft);
  box-shadow: var(--shadow-sm); transition: color .15s, background-color .15s;
}
.card__fav:hover { color: var(--clay); background: #fff; }
.card__fav[aria-pressed="true"] { color: #fff; background: var(--clay); }
.card__fav[aria-pressed="true"] svg { fill: currentColor; }

.card__body { padding: 1.05rem 1.1rem 1.15rem; display: flex; flex-direction: column; gap: .55rem; flex: 1; }
.card__name { font-size: 1.0625rem; font-weight: 650; margin: 0; }
.card__name button {
  font: inherit; background: none; border: 0; padding: 0; text-align: left;
  color: inherit; cursor: pointer;
}
.card__name button::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.card__role { margin: 0; color: var(--ink-faint); font-size: .8125rem; line-height: 1.45; }
.card__benefit { margin: 0; font-size: .875rem; color: var(--ink-soft); }

.meta { display: flex; flex-wrap: wrap; gap: .35rem; margin-top: auto; padding-top: .3rem; }
.tag {
  display: inline-flex; align-items: center; gap: .3rem;
  font-size: .75rem; font-weight: 600; padding: .25rem .5rem;
  border-radius: 7px; background: var(--paper-tint); color: var(--ink-soft);
}
.tag svg { width: 13px; height: 13px; flex: none; }
.tag--light { background: #fdf4e0; color: #8a6410; }
.tag--water { background: #e6f1f6; color: #245c72; }
.tag--care  { background: var(--green-wash); color: #1c5b3c; }

/* ---------------------------------------------------------------- combos */
.combo { display: grid; grid-template-columns: minmax(220px, 280px) minmax(0, 1fr); gap: 2rem; align-items: start; }
@media (max-width: 860px) { .combo { grid-template-columns: 1fr; } }

.combo__tabs { display: flex; flex-direction: column; gap: .3rem; }
@media (max-width: 860px) { .combo__tabs { flex-direction: row; flex-wrap: wrap; } }
.combo__tab {
  font: inherit; font-size: .9375rem; font-weight: 550; text-align: left; cursor: pointer;
  padding: .65rem .9rem; border-radius: 10px; border: 1.5px solid transparent;
  background: transparent; color: var(--ink-soft);
  display: flex; justify-content: space-between; gap: .6rem; align-items: center;
}
.combo__tab:hover { background: var(--paper-tint); color: var(--green-deep); }
.combo__tab[aria-selected="true"] { background: var(--paper); border-color: var(--line); color: var(--green-deep); font-weight: 650; box-shadow: var(--shadow-sm); }
.combo__tab span { font-size: .8125rem; color: var(--ink-faint); font-variant-numeric: tabular-nums; }

.pairs { list-style: none; margin: 0; padding: 0; display: grid; gap: .75rem; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.pair {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1rem 1.1rem;
}
.pair__names { display: flex; align-items: center; gap: .55rem; flex-wrap: wrap; font-weight: 600; }
.pair__plus { color: var(--green-bright); font-weight: 700; }
.pair__use { margin: .4rem 0 0; font-size: .8125rem; color: var(--ink-faint); }
.pair__na {
  color: var(--ink-faint); font-weight: 500;
  text-decoration: underline dotted 1px; text-underline-offset: 3px; cursor: help;
}
.pair__thumbs { display: flex; gap: .4rem; margin-bottom: .7rem; }
.pair__thumbs img { width: 52px; height: 52px; border-radius: 9px; object-fit: cover; border: 1px solid var(--line); }

/* ---------------------------------------------------------------- guide */
.guide { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.guide__card { background: var(--paper-warm); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem; }
.guide__card h3 { color: var(--green-deep); }
.guide__card p { margin: 0; color: var(--ink-soft); font-size: .9375rem; }

/* ---------------------------------------------------------------- contact */
.section--contact {
  background:
    radial-gradient(900px 420px at 12% 0%, #eef6e3 0%, transparent 60%),
    var(--green-wash);
  border-block: 1px solid #dae7c8;
}
.contact { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(260px, 1fr); gap: clamp(1.5rem, 3vw, 2.5rem); align-items: start; }
@media (max-width: 880px) { .contact { grid-template-columns: 1fr; } }

.contact__cards {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
}
.contact__card {
  height: 100%; display: flex; flex-direction: column; gap: .1rem;
  background: var(--paper); border: 1px solid #d5e6bd; border-radius: var(--radius);
  padding: 1.25rem 1.2rem; text-decoration: none; color: inherit;
  transition: border-color .15s, box-shadow .15s, transform .15s;
}
.contact__card:hover { border-color: var(--green-bright); box-shadow: var(--shadow); transform: translateY(-2px); color: inherit; }
.contact__icon {
  width: 40px; height: 40px; padding: 9px; margin-bottom: .6rem;
  border-radius: 12px; background: var(--green-wash); color: var(--green);
  display: grid; place-items: center;
}
.contact__label { font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-faint); }
.contact__value { font-size: 1.0625rem; font-weight: 650; color: var(--green-deep); font-variant-numeric: tabular-nums; }

.contact__where {
  background: var(--paper); border: 1px solid #d5e6bd; border-radius: var(--radius);
  padding: 1.5rem 1.45rem;
}
.contact__where h3 { color: var(--green-deep); }
.contact__address { font-style: normal; line-height: 1.7; margin-bottom: .9rem; }
.contact__address strong { color: var(--green-deep); }
.contact__map { margin-top: 1rem; }

/* ============================================================================
   footer
   Three tiers on the deep green: a call-to-action band, the link columns, and
   a legal bar carrying the copyright, build note and image credits.
   ========================================================================== */
.footer {
  position: relative; isolation: isolate;
  background: var(--green-deep); color: #d3e2d8;
}
.footer::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(760px 340px at 88% 0%, rgba(106, 168, 51, .18), transparent 62%),
    radial-gradient(620px 320px at 2% 100%, rgba(106, 168, 51, .10), transparent 66%);
}
.footer .muted { color: #b7cdbf; }
.footer .linkish { color: #d9e6dd; }
.footer .linkish:hover { color: #fff; }

/* ------------------------------------------------------------- cta band */
.footer__cta {
  border-bottom: 1px solid rgba(255, 255, 255, .11);
  background: linear-gradient(180deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, 0));
}
.footer__cta-inner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 1.5rem clamp(1.5rem, 4vw, 3rem); padding-block: clamp(1.85rem, 4vw, 2.9rem);
}
.footer__cta-copy { max-width: 46ch; }
.footer__cta .eyebrow { color: var(--leaf-pale); margin-bottom: .5rem; }
.footer__cta h2 {
  color: #fff; margin: 0 0 .45rem;
  font-size: clamp(1.35rem, 1.05rem + 1.1vw, 1.95rem);
}
.footer__cta-actions { display: flex; flex-wrap: wrap; gap: .7rem; }
.footer__cta .btn svg { width: 18px; height: 18px; flex: none; }
.footer__cta .btn--solid { background: #fff; color: var(--green-deep); }
.footer__cta .btn--solid:hover { background: var(--leaf-pale); color: var(--green-deep); }
.footer__cta .btn--outline { border-color: rgba(255, 255, 255, .45); color: #fff; }
.footer__cta .btn--outline:hover { background: rgba(255, 255, 255, .12); }

/* --------------------------------------------------------- link columns */
.footer__inner {
  display: grid; gap: 2.25rem clamp(1.5rem, 4vw, 3.5rem);
  grid-template-columns: minmax(240px, 1.5fr) repeat(3, minmax(140px, 1fr));
  padding-block: clamp(2.4rem, 5vw, 3.5rem);
}
@media (max-width: 1020px) { .footer__inner { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer__inner { grid-template-columns: 1fr; } }

.footer__brand { max-width: 46ch; }
.footer__lockup {
  display: inline-flex; align-items: center; gap: .8rem;
  text-decoration: none; color: inherit; margin-bottom: 1rem;
}
.footer__mark {
  width: 54px; height: 54px; flex: none; padding: 2px;
  display: grid; place-items: center;
  border-radius: 15px; background: var(--paper);
  box-shadow: 0 6px 18px rgba(0, 0, 0, .25);
  transition: transform .2s;
}
.footer__lockup:hover .footer__mark { transform: translateY(-2px); }
.footer__mark img { width: 100%; height: 100%; object-fit: contain; }
.footer__lockup-text { display: flex; flex-direction: column; gap: .2rem; line-height: 1.15; }
.footer__lockup-text strong { color: #fff; font-size: 1.0625rem; letter-spacing: -.01em; }
.footer__lockup-text small {
  color: var(--leaf-pale); font-size: .625rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .12em;
}

.footer__social { list-style: none; display: flex; gap: .5rem; margin: 1.15rem 0 0; padding: 0; }
.footer__social a {
  width: 40px; height: 40px; display: grid; place-items: center;
  border-radius: 12px; color: #e7f1e5;
  border: 1px solid rgba(255, 255, 255, .18); background: rgba(255, 255, 255, .06);
  transition: background-color .15s, border-color .15s, color .15s, transform .15s;
}
.footer__social a:hover {
  background: var(--leaf); border-color: var(--leaf); color: #102c15;
  transform: translateY(-2px);
}
.footer__social svg { width: 19px; height: 19px; }

.footer__h {
  display: flex; align-items: center; gap: .6rem;
  font-size: .6875rem; font-weight: 700; text-transform: uppercase; letter-spacing: .13em;
  color: var(--leaf-pale); margin: 0 0 .95rem;
}
.footer__h::after { content: ""; flex: 1; height: 1px; background: rgba(255, 255, 255, .14); }

.footer__list { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.footer__list a {
  display: inline-flex; align-items: center;
  color: #e2eee0; text-decoration: none; font-weight: 550; font-size: .9375rem;
  transition: color .15s;
}
/* a rule that grows out of the link on hover, and takes no room at rest */
.footer__list a::before {
  content: ""; width: 0; height: 1.5px; margin-right: 0; border-radius: 2px;
  background: var(--leaf-pale); transition: width .18s ease, margin-right .18s ease;
}
.footer__list a:hover { color: #fff; }
.footer__list a:hover::before { width: 12px; margin-right: .4rem; }
.footer__list--plain li { color: #c2d6c8; font-size: .9375rem; }
.footer__address { font-style: normal; line-height: 1.75; color: #d3e2d8; margin-bottom: .9rem; }
.footer__maplink {
  display: inline-block; margin-top: .9rem;
  color: var(--leaf-pale); font-size: .875rem; font-weight: 650; text-decoration: none;
}
.footer__maplink::after { content: " →"; }
.footer__maplink:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

/* ------------------------------------------------------------ legal bar */
.footer__bar {
  border-top: 1px solid rgba(255, 255, 255, .11);
  background: rgba(0, 0, 0, .18);
}
.footer__bar-inner {
  display: flex; flex-wrap: wrap; align-items: center;
  gap: .75rem clamp(1.25rem, 3vw, 2.5rem); padding-block: 1.15rem;
}
.footer__legal { margin: 0; font-size: .8125rem; color: #b7cdbf; }
.footer__note { margin: 0; font-size: .75rem; line-height: 1.6; color: #9db5a6; flex: 1 1 340px; max-width: 74ch; }
.footer__note .linkish { color: #cfe0d4; }
.footer__top {
  margin-left: auto; display: inline-flex; align-items: center; gap: .45rem;
  padding: .5rem .9rem; border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .2); background: rgba(255, 255, 255, .06);
  color: #e2eee0; text-decoration: none; font-size: .8125rem; font-weight: 600;
  transition: background-color .15s, color .15s, transform .15s;
}
.footer__top:hover { background: rgba(255, 255, 255, .14); color: #fff; transform: translateY(-1px); }
.footer__top svg { width: 15px; height: 15px; flex: none; }
@media (max-width: 700px) { .footer__top { margin-left: 0; } }

/* ---------------------------------------------------------------- modal */
.modal { position: fixed; inset: 0; z-index: 60; display: grid; place-items: center; padding: clamp(.75rem, 3vw, 2rem); }
.modal[hidden] { display: none; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(12, 26, 19, .55); backdrop-filter: blur(3px); }
.modal__panel {
  position: relative; z-index: 1; width: min(940px, 100%); max-height: 92vh; overflow: auto;
  background: var(--paper); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
}
.modal__close {
  position: absolute; right: .85rem; top: .85rem; z-index: 3;
  width: 38px; height: 38px; padding: 9px; border: 0; border-radius: 50%; cursor: pointer;
  background: rgba(255, 255, 255, .92); color: var(--ink); box-shadow: var(--shadow-sm);
}
.modal__close:hover { background: #fff; color: var(--green-deep); }

.detail__media { aspect-ratio: 16 / 9; background: var(--paper-tint); }
.detail__media img { width: 100%; height: 100%; object-fit: cover; }
.detail__body { padding: clamp(1.25rem, 3vw, 2.25rem); }
.detail__cat { color: var(--green-bright); font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; margin: 0 0 .4rem; }
.detail__name { margin: 0 0 .35rem; font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2rem); }
.detail__role { margin: 0 0 1.5rem; color: var(--ink-soft); font-size: 1.0625rem; }

.specs { display: grid; gap: 1px; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin-bottom: 1.75rem; }
.spec { background: var(--paper); padding: 1rem; }
.spec__label { display: flex; align-items: center; gap: .4rem; color: var(--ink-faint); font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.spec__label svg { width: 14px; height: 14px; }
.spec__value { margin: .4rem 0 0; font-weight: 650; font-size: .9375rem; }
.bar { display: flex; gap: 3px; margin-top: .5rem; }
.bar i { height: 5px; flex: 1; border-radius: 3px; background: var(--line); }
.bar i.on { background: var(--green-bright); }

.blocks { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.block { border: 1px solid var(--line); border-radius: var(--radius); padding: 1.15rem 1.25rem; }
.block h3 { font-size: .8125rem; text-transform: uppercase; letter-spacing: .07em; color: var(--ink-faint); margin-bottom: .55rem; }
.block p { margin: 0; font-size: .9375rem; }
.block--warn { background: #fdf6ee; border-color: #f0dfc8; }
.block--good { background: var(--green-wash); border-color: #d5e6bd; }
.actions { list-style: none; margin: .7rem 0 0; padding: 0; display: grid; gap: .4rem; }
.actions li { display: flex; gap: .5rem; font-size: .875rem; color: var(--ink-soft); }
.actions li::before { content: "→"; color: var(--green-bright); font-weight: 700; flex: none; }

.detail__foot { margin-top: 1.75rem; padding-top: 1.25rem; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between; }
.credit { font-size: .75rem; color: var(--ink-faint); max-width: 60ch; margin: 0; }

/* ---------------------------------------------------------------- drawer */
.drawer { position: fixed; inset: 0; z-index: 70; }
.drawer[hidden] { display: none; }
.drawer__backdrop { position: absolute; inset: 0; background: rgba(12, 26, 19, .5); }
.drawer__panel {
  position: absolute; right: 0; top: 0; bottom: 0; width: min(460px, 100%);
  background: var(--paper); box-shadow: var(--shadow-lg);
  display: flex; flex-direction: column;
}
.drawer__head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.25rem 1.4rem; border-bottom: 1px solid var(--line); }
.drawer__head h2 { margin: 0; font-size: 1.25rem; }
.drawer__head .modal__close { position: static; box-shadow: none; background: var(--paper-tint); }
.drawer__body { flex: 1; overflow: auto; padding: 1.25rem 1.4rem; }
.drawer__foot { display: flex; gap: .6rem; padding: 1.1rem 1.4rem; border-top: 1px solid var(--line); background: var(--paper-warm); }

.slist { list-style: none; margin: 0; padding: 0; display: grid; gap: .7rem; }
.slist li { display: flex; gap: .8rem; align-items: center; }
.slist img { width: 56px; height: 56px; border-radius: 10px; object-fit: cover; flex: none; border: 1px solid var(--line); }
.slist__name { font-weight: 600; font-size: .9375rem; }
.slist__meta { color: var(--ink-faint); font-size: .75rem; }
.slist__drop { margin-left: auto; width: 30px; height: 30px; padding: 7px; border: 0; border-radius: 50%; background: var(--paper-tint); color: var(--ink-soft); cursor: pointer; flex: none; }
.slist__drop:hover { background: #f6e3da; color: var(--clay); }

/* credits table inside the modal */
.credits-table { width: 100%; border-collapse: collapse; font-size: .8125rem; }
.credits-table th, .credits-table td { text-align: left; padding: .5rem .6rem; border-bottom: 1px solid var(--line-soft); vertical-align: top; }
.credits-table th { color: var(--ink-faint); text-transform: uppercase; font-size: .6875rem; letter-spacing: .06em; position: sticky; top: 0; background: var(--paper); }

/* ---------------------------------------------------------------- print */
@media print {
  :root { --shadow: none; --shadow-sm: none; --shadow-lg: none; }
  @page { margin: 14mm; }
  body { font-size: 10.5pt; }
  .site-header, .hero__cta, .toolbar, .chips, .results__tools, .combo__tabs,
  .card__fav, .modal, .drawer, .skip-link,
  .service__link, .contact__map,
  .footer__cta, .footer__social, .footer__top, .footer__maplink { display: none !important; }
  .section, .hero { padding-block: 0 1rem; border: 0; background: #fff !important; }
  .section--tint, .section--contact { background: #fff !important; }
  .grid { grid-template-columns: repeat(3, 1fr); gap: .5rem; }
  .card { break-inside: avoid; border-color: #ccc; }
  .card:hover { transform: none; box-shadow: none; }
  .cats { grid-template-columns: repeat(3, 1fr); }
  .services { grid-template-columns: repeat(3, 1fr); gap: .5rem; }
  .service, .contact__card, .contact__where { break-inside: avoid; border-color: #ccc; }
  .contact__cards { grid-template-columns: repeat(4, 1fr); gap: .5rem; }

  /* the footer carries the phone numbers and address, so it has to stay
     legible once its dark green background is dropped */
  .footer { background: #fff; color: #000; border-top: 1px solid #ccc; }
  .footer::before { display: none; }
  .footer__inner { padding-block: 1rem; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
  .footer .muted { color: #444; }
  .footer__h { color: #444; }
  .footer__h::after { background: #ddd; }
  .footer__mark { box-shadow: none; }
  .footer__lockup-text strong, .footer__lockup-text small,
  .footer__address, .footer__list a, .footer__list--plain li { color: #000; }
  .footer__bar { background: #fff; border-color: #ccc; }
  .footer__bar-inner { padding-block: .6rem; }
  .footer__legal, .footer__note { color: #444; }
  a { color: #000; text-decoration: none; }
}

/* printing just the shortlist - the contact block stays, so the printed list
   still says who to send it back to */
body.printing-shortlist > main > .section:not(#catalogue):not(#contact),
body.printing-shortlist > main > .hero .stats,
body.printing-shortlist > footer { display: none; }
