/* ══════════════════════════════════════════════════════════════════════════
   Greenlight × Humphreys — shared page system for the inner-page drafts.
   The landing page (../mockup-v3.html) stays self-contained; every other
   page links this file so the set stays consistent while it is iterated on.

   Inner-page templates follow humphreyslandscaping.co.nz:
     hub      → short hero, intro, alternating image/text rows, index, CTA
     service  → short hero, intro, numbered process, card grid, CTA
     gallery  → short hero, photo grid, before/after pairs
     contact  → short hero, details, single-column form
   ══════════════════════════════════════════════════════════════════════════ */
:root{
  --ink:#0c1611;         /* Forest Black */
  --ink-2:#102019;       /* Pine Panel */
  --green:#00d084;       /* accent — decoration only, never text on white */
  --grey:#5c6660;        /* 5.9:1 on white */
  --line:#e0e4e0;
  --line-2:#c4ccc6;
  --white:#fff;
  --shell:#f5f7f4;
  --f-display:'Newsreader',Georgia,serif;
  --f-body:'Jost',ui-sans-serif,system-ui,sans-serif;
  --wrap:76rem;
  --gutter:clamp(1.25rem,5.5vw,7.5rem);
  --gap:clamp(1.75rem,4.2vw,4.5rem);
  --section:clamp(3.5rem,9vw,7.5rem);
}
*{box-sizing:border-box;margin:0;padding:0;border-radius:0}
html{scroll-behavior:smooth}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
body{background:var(--white);color:var(--ink);font-family:var(--f-body);
  font-size:clamp(1rem,.97rem + .15vw,1.0625rem);line-height:1.6;-webkit-font-smoothing:antialiased;
  text-underline-offset:3px}
img{display:block;max-width:100%;height:auto}
a{color:inherit;text-decoration:none}
:focus-visible{outline:2px solid var(--green);outline-offset:3px}
.skip{position:absolute;left:-9999px;top:0;z-index:1000;background:var(--white);color:var(--ink);
  padding:1em 1.5em;border:1px solid var(--ink);font-size:.875rem;font-weight:600}
.skip:focus{left:1rem;top:1rem}
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.wrap{width:calc(100% - var(--gutter));max-width:var(--wrap);margin-inline:auto}
.wrap--wide{max-width:100rem}
.wrap--narrow{max-width:46rem}

/* ── type ── */
/* Borrowed from the Prisma concept: the headline arrives word by word. Only the
   h1s use it — every heading doing this would be noise. */
.js .pull .w{display:inline-block;transform:translateY(22px);opacity:0;
  transition:transform .6s cubic-bezier(.16,1,.3,1),opacity .55s ease}
.pull.in .w{transform:none;opacity:1}

/* small Prisma-ish hover motion */
.button svg{transition:transform .22s ease}
.button:hover svg{transform:translateX(2px)}
.index a .go,.post .go{transition:transform .22s ease}
.index a:hover .go,.post:hover .go{transform:translateX(3px)}

/* Emblems borrowed from the Evergreen concept */
.emblem{width:30px;height:30px;margin:0 auto .9rem;color:var(--green);display:block}
.emblem svg{width:100%;height:100%;display:block}

/* Their signature was serif h1 + uppercase tracked h2. Ours inverts back:
   a small eyebrow label, then a sentence-case serif title. */
.eyebrow{font-family:var(--f-body);font-size:.75rem;font-weight:600;text-transform:uppercase;
  letter-spacing:.1em;color:var(--grey)}
.section-title{font-family:var(--f-display);font-weight:700;letter-spacing:-.01em;line-height:1.16;
  font-size:clamp(1.75rem,1.4rem + 1.5vw,2.625rem);margin-top:.6rem}

.display{font-family:var(--f-display);font-weight:700;line-height:1.14;letter-spacing:-.012em;
  font-size:clamp(2.125rem,1.45rem + 3.1vw,4rem)}
.display--sm{font-family:var(--f-display);font-weight:700;line-height:1.18;letter-spacing:-.01em;
  font-size:clamp(1.6rem,1.25rem + 1.6vw,2.375rem)}
h3{font-family:var(--f-display);font-weight:700;font-size:clamp(1.25rem,1.1rem + .5vw,1.5rem);line-height:1.2}
p{margin-bottom:1em}
p:last-child{margin-bottom:0}
.lede{color:var(--grey);font-size:clamp(1rem,.96rem + .2vw,1.125rem)}
.eyebrow{font-size:.8125rem;font-weight:600;text-transform:uppercase;letter-spacing:.15em;color:var(--grey)}
.rule{width:44px;height:2px;background:var(--green);margin:1.25rem auto 0;border:0}
.rule--left{margin-inline:0}

/* ── buttons ── */
.button{position:relative;overflow:hidden;display:inline-flex;align-items:center;justify-content:center;gap:.6em;
  min-height:48px;padding:.9em 1.6em;border:1px solid var(--ink);background:var(--white);color:var(--ink);
  font-family:var(--f-body);font-size:.9375rem;font-weight:600;line-height:1;
  letter-spacing:0;text-align:center;cursor:pointer;
  transition:background .22s ease,color .22s ease,border-color .22s ease}
/* the green marker slides in from the left on hover — the accent doing the work
   their uppercase tracking used to do */
.button::before{content:"";position:absolute;left:0;top:0;bottom:0;width:0;background:var(--green);
  transition:width .22s ease}
.button:hover::before{width:3px}
.button:hover{background:var(--ink);color:var(--white)}
.button--light{background:transparent;border-color:var(--white);color:var(--white)}
.button--light:hover{background:var(--white);color:var(--ink)}
.button--fill{background:var(--ink);color:var(--white)}
.button--fill:hover{background:var(--green);border-color:var(--green);color:var(--ink)}
.button svg{width:12px;height:12px;fill:currentColor;flex:0 0 auto}

/* ── header ── */
.header{position:fixed;top:0;left:0;width:100%;z-index:998;padding-block:clamp(.9rem,2vw,1.6rem);
  transition:padding .25s linear,background .25s linear,box-shadow .25s linear}
.header::before{content:"";position:absolute;top:0;left:0;right:0;height:170px;pointer-events:none;
  opacity:.75;background:linear-gradient(rgba(12,22,17,.72) 0%,rgba(12,22,17,0) 100%);transition:opacity .25s linear}
.header-inner{position:relative;display:flex;align-items:center;justify-content:space-between;gap:1.5rem}
.header.scrolled{background:var(--ink-2);box-shadow:0 1px 0 rgba(255,255,255,.08);
  padding-block:clamp(.45rem,1vw,.7rem)}
.header.scrolled::before{opacity:0}
.header.scrolled .logo{height:clamp(38px,4.2vw,54px)}
.logo{display:block;position:relative;z-index:997;flex:0 0 auto;
  width:clamp(140px,15vw,196px);height:clamp(57px,6.1vw,80px);transition:height .25s linear}
.logo img{position:absolute;inset:0;margin:auto;max-width:100%;max-height:100%;
  width:auto;height:auto;transition:opacity .25s linear}
.logo .logo--scrolled{opacity:0}
.header.scrolled .logo--top{opacity:0}
.header.scrolled .logo--scrolled{opacity:1}

.main-nav > ul{list-style:none;display:flex;align-items:center;gap:clamp(1rem,1.8vw,2.25rem)}
.main-nav li{position:relative}
.main-nav__link{display:inline-flex;align-items:center;min-height:44px;padding:0 0 2px;
  border-bottom:2px solid transparent;color:var(--white);font-size:.8125rem;font-weight:500;
  text-transform:uppercase;letter-spacing:.16em;transition:color .2s linear,border-color .2s linear}
.main-nav__link:hover,.main-nav__link[aria-current="page"]{border-bottom-color:var(--green)}
.nav-toggle{display:none}



/* The join marker, taken from the Evergreen concept's leaf: a real blade with a
   midrib and veins rather than the curved triangle it replaces. It straddles the
   hero's bottom edge, so the white keyline is what keeps it legible on the photo. */
.leaf-mark{position:absolute;left:50%;bottom:0;transform:translate(-50%,46%);z-index:4;
  width:clamp(24px,2.5vw,31px);line-height:0;pointer-events:none}
.leaf-mark svg{width:100%;height:auto;display:block}
/* paint-order:stroke keeps the white keyline a true outer halo — a centred stroke
   floods the blade where it narrows at the tip. */
.leaf-mark .blade{fill:var(--green);stroke:var(--white);stroke-width:6;stroke-linejoin:round;
  paint-order:stroke}
.leaf-mark .rib{fill:none;stroke:var(--white);stroke-width:3.5;stroke-linecap:round;opacity:.9}
.leaf-mark .stem{fill:none;stroke:var(--green);stroke-width:6;stroke-linecap:round}

/* Slow hero zoom, carried across from the current site unchanged: 24s ease-out,
   scale 1.001 to 1.09, once. It starts a hair above 1 rather than at 1 so the
   browser promotes the layer on the first frame instead of snapping into it.
   overflow:hidden on the wrapper is what stops the scaled photo bleeding past
   the hero, which the v4 markup never needed until now. */
.hero__media,.page-hero__media{overflow:hidden}
.hero__media img,.page-hero__media img{animation:heroZoom 24s ease-out forwards}
@keyframes heroZoom{from{transform:scale(1.001)}to{transform:scale(1.09)}}
@media(prefers-reduced-motion:reduce){
  .hero__media img,.page-hero__media img{animation:none}
}

/* ── page hero: shorter than the landing hero, same language ── */
.page-hero{position:relative}
.page-hero__media{position:absolute;inset:0}
.page-hero__media img{width:100%;height:100%;object-fit:cover}
.page-hero__media::after{content:"";position:absolute;inset:0;
  background:linear-gradient(180deg,rgba(12,22,17,.56) 0%,rgba(12,22,17,.34) 42%,rgba(12,22,17,.62) 100%)}
.page-hero__content{position:relative;min-height:clamp(22rem,58svh,32rem);
  padding-top:clamp(7rem,15vh,10rem);padding-bottom:clamp(3rem,6vh,4.5rem);
  display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;color:var(--white)}
.page-hero__content .display{color:var(--white);max-width:20ch;text-shadow:0 1px 24px rgba(0,0,0,.3)}
.page-hero__content p{max-width:52ch;margin:1rem 0 0;color:#ffffffe0}
.page-hero__content .button{margin-top:2rem}
.crumb{margin-bottom:1.25rem;font-size:.75rem;font-weight:600;text-transform:uppercase;
  letter-spacing:.15em;color:#ffffffc4}
/* padding gives the link a 44px target; the negative margin keeps the visual spacing */
.crumb a{display:inline-block;padding-block:.8rem;margin-block:-.8rem}
.crumb a:hover{color:var(--white);text-decoration:underline}

/* Blog posts carry no photography (guidelines §10), so the article header is a
   plain dark band — the header logo is white artwork and needs a dark surface. */
.page-hero--plain{background:var(--ink)}
.page-hero--plain .page-hero__content{min-height:0;
  padding-top:clamp(6.5rem,13vh,8.5rem);padding-bottom:clamp(2.5rem,5vh,3.5rem)}
.page-hero--plain .display{text-shadow:none}
.article-foot{padding-block:0 var(--section)}
.back-link{display:inline-flex;align-items:center;min-height:44px;font-size:.9375rem;
  font-weight:600;color:var(--ink);border-bottom:1px solid var(--line-2)}
.back-link:hover{border-bottom-color:var(--green)}

/* Sub-services are listed, not linked — they have no pages of their own. */
.sub-list{list-style:none;max-width:60rem;margin-inline:auto;
  display:grid;gap:0;border-top:1px solid var(--line)}
.sub-list li{padding:1.15rem 0 1.15rem 1.5rem;border-bottom:1px solid var(--line);
  position:relative;font-size:1rem;line-height:1.65;color:var(--grey)}
.sub-list li::before{content:"";position:absolute;left:0;top:1.85em;
  width:6px;height:6px;background:var(--green)}
.sub-list strong{display:block;color:var(--ink);font-weight:600;margin-bottom:.15rem}
.sub-note{max-width:60rem;margin:1.75rem auto 0;font-size:.9375rem;color:var(--grey);
  border-left:2px solid var(--line-2);padding-left:1rem}
@media(width<=48em){.sub-list li{padding-left:1.25rem}}

.split-list{list-style:none;margin-top:1rem}
.split-list li{position:relative;padding:.3rem 0 .3rem 1.1rem;color:var(--grey);font-size:.9375rem}
.split-list li::before{content:"";position:absolute;left:0;top:1.05em;width:5px;height:5px;background:var(--green)}

/* A finished-work tile that slides between the before and the after. It sits in
   the normal grid on purpose — the transformation is evidence, not a feature. */
.ba__frame{position:relative;overflow:hidden}
.ba__track{display:flex;width:200%;transition:transform .8s cubic-bezier(.16,1,.3,1)}
.gallery .ba__track img{width:50%;flex:0 0 50%;aspect-ratio:4/3;object-fit:cover;background:var(--shell)}
.ba.is-after .ba__track{transform:translateX(-50%)}
.ba__tag{position:absolute;left:0;bottom:0;padding:.4rem .7rem;background:var(--ink);color:var(--white);
  font-size:.6875rem;font-weight:600;text-transform:uppercase;letter-spacing:.12em}
@media(prefers-reduced-motion:reduce){.ba__track{transition:none}}

/* A band across the full grid width, two tile rows tall, purely to break the run
   of tiles up. object-fit:cover crops to fill — never stretched, never letterboxed.
   2/1 is exactly two 4:3 tiles plus the row gap at the three-column width. */
.gallery__feature{grid-column:1/-1;margin:0}
.gallery .gallery__feature img{width:100%;aspect-ratio:2/1;object-fit:cover}
@media(width<=62em){.gallery .gallery__feature img{aspect-ratio:4/3}}
@media(width<=40em){.gallery .gallery__feature img{aspect-ratio:4/3}}

/* quote / contact form plumbing */
.hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
.checks__group{grid-column:1/-1;margin:.75rem 0 .1rem;font-size:.75rem;font-weight:600;
  text-transform:uppercase;letter-spacing:.12em;color:var(--grey)}
.checks__group:first-child{margin-top:0}
.cf-turnstile{margin:1.25rem 0;max-width:100%;overflow:hidden}
/* The widget renders at a fixed ~300px, which is wider than the form's content
   box on a 320px phone and pushes the whole page sideways. */
.cf-turnstile iframe{max-width:100%!important}
#q-fallback{color:#b3261e}
.form-success{border:1px solid var(--line);padding:clamp(1.5rem,4vw,2.5rem);background:var(--shell)}
.form-success p{margin-top:.75rem;color:var(--grey)}

/* Service picker.
   Garden / Clearance / Landscape are groupings, not services — they open a menu
   and never submit a value. Built on <details>, so the menus work with keyboard
   and without JavaScript; the script only adds counts and close-on-outside.
   The menu is absolutely positioned against .picker, not its own column, or it
   would open into a 90px sliver on a phone. */
.picker{position:relative;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.5rem}
.picker__group{min-width:0}
.picker__group summary{position:relative;display:flex;align-items:center;justify-content:center;gap:.4rem;
  min-height:48px;padding:.6rem .5rem;cursor:pointer;list-style:none;
  border:2px solid var(--ink);background:var(--white);color:var(--ink);
  text-transform:none;letter-spacing:0;font-weight:600;line-height:1.15;text-align:center;
  font-size:clamp(.8125rem,2.5vw,.9375rem);
  transition:background .18s ease,color .18s ease}
.picker__group summary::-webkit-details-marker{display:none}
.picker__group summary:hover{background:var(--shell)}
.picker__group[open] summary{background:var(--ink);color:var(--white)}
.picker__group summary:focus-visible{outline:2px solid var(--green);outline-offset:2px}
.picker__name{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
/* Pinned to the corner rather than sitting inline: as an inline item it stole
   enough width to truncate "Clearance" the moment a selection was made. The
   summary is position:relative for this; the GROUP must not be, or the menu
   would anchor to its own 110px column instead of the full row. */
.picker__count{position:absolute;top:-8px;right:-7px;z-index:2;
  min-width:20px;height:20px;padding:0 .3rem;border-radius:10px;
  display:inline-flex;align-items:center;justify-content:center;
  background:var(--green);color:var(--ink);font-size:.6875rem;font-weight:700;
  box-shadow:0 0 0 2px var(--white)}
/* [hidden] is only display:none in the UA sheet, so an author display value beats
   it — without this the empty badge shows as a green dot and squeezes the label
   into "Cleara...". */
.picker__count[hidden]{display:none}
.picker__chev{flex:0 0 auto;width:7px;height:7px;border-right:2px solid currentColor;
  border-bottom:2px solid currentColor;transform:translateY(-2px) rotate(45deg);
  transition:transform .18s ease}
.picker__group[open] .picker__chev{transform:translateY(1px) rotate(-135deg)}
/* a group with picks stays visibly marked once the menu closes */
.picker__group.has-selection summary{border-color:var(--green);box-shadow:inset 0 -3px 0 var(--green)}

.picker__menu{position:absolute;left:0;right:0;top:calc(100% + .5rem);z-index:30;
  background:var(--white);border:2px solid var(--ink);box-shadow:0 18px 40px rgba(12,22,17,.22);
  padding:.35rem;max-height:min(22rem,60vh);overflow-y:auto}
/* `.field label` is (0,1,1); a bare `.opt` is (0,1,0) and loses, which rendered
   the options as uppercase 12px field titles. Two classes wins it back. */
.picker .opt{display:flex;align-items:center;gap:.7rem;min-height:44px;padding:.35rem .6rem;
  cursor:pointer;text-transform:none;letter-spacing:0;font-weight:400;color:var(--ink);
  font-size:.9375rem;line-height:1.35;margin:0;text-align:left}
.picker .opt:hover{background:var(--shell)}
.picker .opt input{flex:0 0 auto;width:19px;height:19px;min-height:0;accent-color:var(--ink);margin:0}
.picker .opt span{min-width:0;display:block}
.label-hint{font-weight:500;text-transform:none;letter-spacing:0;color:var(--grey);opacity:.85}

/* The header is fixed, so an #anchor jump would land the target underneath it. */
[id]{scroll-margin-top:clamp(5.5rem,11vw,7.5rem)}

/* Post-quote survey. Lives inside the success panel; entirely optional, and the
   copy and the equal-weight Skip button both have to say so. */
.survey{margin-top:clamp(1.5rem,4vw,2.25rem);padding-top:clamp(1.5rem,4vw,2.25rem);
  border-top:1px solid var(--line-2)}
.survey__lead{font-size:.75rem;font-weight:700;text-transform:uppercase;letter-spacing:.14em;
  color:var(--grey);margin-bottom:.5rem}
.survey__note{color:var(--grey);font-size:.9375rem;margin-bottom:1.5rem}
.survey__ask .survey__note{margin-bottom:.9rem;max-width:38ch}
.survey__ask .button{width:auto;margin-top:0}
.survey__q{border:0;padding:0;margin:0 0 1.5rem}
.survey__q legend{padding:0;margin-bottom:.6rem;font-size:.9375rem;font-weight:600;color:var(--ink)}
.survey__opts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.25rem .75rem}
@media(width<=40em){.survey__opts{grid-template-columns:1fr}}
/* .field label is (0,1,1); .opt alone loses to it — see the picker for the same trap. */
.survey .opt{display:flex;align-items:center;gap:.6rem;min-height:44px;padding:.3rem .4rem;
  cursor:pointer;text-transform:none;letter-spacing:0;font-weight:400;color:var(--ink);
  font-size:.9375rem;line-height:1.35;margin:0;text-align:left}
.survey .opt:hover{background:var(--shell)}
.survey .opt input{flex:0 0 auto;width:18px;height:18px;min-height:0;accent-color:var(--ink);margin:0}
.survey__actions{display:flex;flex-wrap:wrap;gap:.75rem;margin-top:.5rem}
.survey__actions .button{width:auto;flex:1 1 12rem;margin-top:0}

/* Long-form legal copy. Only the privacy policy uses this; it needs readable
   rhythm at a narrow measure, not the display treatment the rest of the site has. */
.legal h2{margin:2.25rem 0 .6rem;font-size:clamp(1.15rem,2.4vw,1.4rem)}
.legal h3{margin:1.5rem 0 .4rem;font-size:1rem;font-weight:600}
.legal p,.legal li{color:var(--grey);line-height:1.7}
.legal p{margin-bottom:.9rem}
.legal ul{margin:0 0 1.1rem 1.1rem;display:grid;gap:.4rem}
.legal a{color:var(--ink);text-decoration:underline;text-underline-offset:2px}

/* ── sections ── */
section{padding-block:var(--section)}
.section-head{text-align:center;max-width:46rem;margin:0 auto clamp(2.25rem,5vw,4rem)}
.section-head .lede{margin-top:1.5rem}
.band{background:var(--shell);border-block:1px solid var(--line)}

/* intro paragraph, centred and short — the source's opening beat */
.intro{max-width:44rem;margin-inline:auto;text-align:center;
  font-size:clamp(1.0625rem,1rem + .35vw,1.25rem);line-height:1.65}

/* ── numbered process ── */
.steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--gap);counter-reset:step}
.step{counter-increment:step}
.step::before{content:counter(step,decimal-leading-zero);display:block;
  font-family:var(--f-display);font-weight:700;font-size:2rem;line-height:1;color:var(--green);margin-bottom:.75rem}
.step h3{margin-bottom:.5rem}
.step p{color:var(--grey);font-size:1rem}
@media(width<=62em){.steps{grid-template-columns:1fr;gap:2.25rem}}

/* ── card grid ── */
.cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--gap)}
.cards--2{grid-template-columns:repeat(2,minmax(0,1fr))}
.card{display:flex;flex-direction:column}
.card img{width:100%;aspect-ratio:4/3;object-fit:cover;margin-bottom:1.5rem;background:var(--shell)}
.card h3{margin-bottom:.6rem}
.card p{color:var(--grey);font-size:1rem}
.card .cta{margin:auto auto 0;padding-top:1.5rem}
@media(width<=62em){.cards,.cards--2{grid-template-columns:1fr;gap:2.5rem}}

/* ── alternating image / text rows ── */
.split{display:grid;grid-template-columns:1fr 1fr;gap:var(--gap);align-items:center}
.split + .split{margin-top:var(--section)}
.split img{width:100%;aspect-ratio:4/3;object-fit:cover;background:var(--shell)}
.split--flip .split__media{order:2}
.split__body h3,.split__body .display--sm{margin-bottom:1rem}
.split__body p{color:var(--grey)}
.split__body ul a{display:inline-flex;align-items:center;min-height:44px;color:var(--grey)}
.split__body ul a:hover{color:var(--ink);text-decoration:underline;text-decoration-color:var(--green)}
.split__body .button{margin-top:1.75rem}
@media(width<=62em){
  .split{grid-template-columns:1fr;gap:1.75rem}
  .split--flip .split__media{order:0}
  .split + .split{margin-top:3rem}
}

/* ── index list ── */
.index{max-width:56rem;margin-inline:auto}
.index a{display:grid;grid-template-columns:3rem 1fr auto;gap:1.5rem;align-items:baseline;
  padding-block:1.35rem;border-top:1px solid var(--line)}
.index a:last-child{border-bottom:1px solid var(--line)}
.index .n{font-size:.8125rem;font-weight:600;letter-spacing:.12em;color:var(--grey)}
.index .t{font-family:var(--f-display);font-weight:700;font-size:clamp(1.125rem,1rem + .5vw,1.375rem)}
.index .go{font-size:.75rem;font-weight:600;letter-spacing:.1em;text-transform:uppercase;color:var(--grey)}
.index a:hover .t{color:var(--ink)}
.index a:hover .go{color:var(--ink)}
.index a{border-left:2px solid transparent;padding-left:1rem}
.index a:hover{background:var(--shell);border-left-color:var(--green)}
@media(width<=46em){.index a{grid-template-columns:2.25rem 1fr;gap:1rem}.index .go{display:none}}

/* ── gallery ── */
.gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1.5rem}
.gallery figure{margin:0}
.gallery img{width:100%;aspect-ratio:4/3;object-fit:cover;background:var(--shell)}
.gallery figcaption{margin-top:.85rem;font-size:.8125rem;font-weight:600;
  text-transform:uppercase;letter-spacing:.14em;color:var(--grey)}
@media(width<=62em){.gallery{grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}}
@media(width<=40em){.gallery{grid-template-columns:1fr}}


/* ── form ── */
.form{max-width:44rem;margin-inline:auto}
.form .row{display:grid;grid-template-columns:1fr 1fr;gap:1.25rem}
.field{margin-bottom:1.25rem}
.field label{display:block;font-size:.75rem;font-weight:700;text-transform:uppercase;
  letter-spacing:.14em;color:var(--grey);margin-bottom:.5rem}
.field input,.field select,.field textarea{width:100%;min-height:48px;padding:.85em 1.1em;
  border:1px solid var(--line-2);background:var(--white);color:var(--ink);
  font-family:var(--f-body);font-size:1rem;line-height:1.4}
.field textarea{min-height:9rem;resize:vertical}
.field input:focus,.field select:focus,.field textarea:focus{border-color:var(--ink);outline-offset:1px}
.checks{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.5rem 1.25rem}
.check{display:flex;align-items:center;gap:.65rem;min-height:44px;font-size:.9375rem}
.check input{width:20px;height:20px;min-height:0;flex:0 0 auto;accent-color:var(--ink)}
.form .button{width:100%;margin-top:.5rem}
.form-note{margin-top:1rem;font-size:.8125rem;color:var(--grey);text-align:center}
@media(width<=46em){.form .row,.checks{grid-template-columns:1fr}}

/* ── contact details ── */
.details{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--gap);text-align:center}
.details h3{font-family:var(--f-body);font-size:.8125rem;font-weight:600;text-transform:uppercase;
  letter-spacing:.15em;color:var(--grey);margin-bottom:.75rem}
.details .big{font-family:var(--f-display);font-weight:700;font-size:clamp(1.25rem,1.1rem + .6vw,1.625rem);line-height:1.3}
.details .big a{display:inline-flex;align-items:center;min-height:44px}
.details a:hover{text-decoration:underline;text-decoration-color:var(--green)}
@media(width<=62em){.details{grid-template-columns:1fr;gap:2rem}}

/* ── posts ── */
.posts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--gap)}
.post{display:flex;flex-direction:column;border-top:2px solid var(--green);padding-top:1.5rem}
/* Posts carry no date (evergreen guides), so the heading leads the card. */
.post h3{margin:0 0 .6rem}

/* ── blog filter + search ── */
.blog-tools{display:flex;flex-direction:column;gap:1.25rem;margin-bottom:var(--gap)}
.blog-search{width:100%;max-width:26rem;min-height:48px;padding:.75rem 1rem;
  border:1px solid var(--line-2);background:var(--white);color:var(--ink);
  font-family:var(--f-body);font-size:.9375rem;-webkit-appearance:none}
.blog-search::placeholder{color:var(--grey)}
.blog-search:focus-visible{outline:2px solid var(--green);outline-offset:2px}
.chips{display:flex;flex-wrap:wrap;gap:.5rem}
.chip{min-height:44px;padding:.6rem 1rem;border:1px solid var(--line-2);background:var(--white);
  color:var(--grey);font-family:var(--f-body);font-size:.8125rem;font-weight:600;
  letter-spacing:.04em;cursor:pointer;transition:color .18s ease,border-color .18s ease}
.chip:hover{color:var(--ink);border-color:var(--ink)}
/* green is decoration-only, so the active chip is marked by an ink ground and a
   green underline rather than green text on white */
.chip.is-on{background:var(--ink);color:var(--white);border-color:var(--ink);
  box-shadow:inset 0 -3px 0 var(--green)}
.post.is-hidden{display:none}
.no-results{margin-top:2rem;color:var(--grey)}
.no-results[hidden]{display:none}
.post p{color:var(--grey);font-size:.9375rem}
.post .go{margin-top:auto;padding-top:1.25rem;font-size:.75rem;font-weight:700;
  text-transform:uppercase;letter-spacing:.14em}
.post:hover h3{text-decoration:underline;text-decoration-color:var(--green)}
@media(width<=62em){.posts{grid-template-columns:1fr;gap:2.25rem}}

/* ── article ── */
.article{max-width:40rem;margin-inline:auto}
.article .stand-first{font-size:clamp(1.125rem,1.05rem + .4vw,1.3125rem);line-height:1.55;
  color:var(--ink);border-left:2px solid var(--green);padding-left:1.25rem;margin-bottom:2rem}
.article h2{font-family:var(--f-display);font-weight:700;line-height:1.2;
  font-size:clamp(1.375rem,1.2rem + .7vw,1.75rem);margin:2.5rem 0 .85rem}
.article p{color:var(--grey);margin-bottom:1.15em}
.article ul{list-style:none;margin:0 0 1.5rem}
.article li{position:relative;padding-left:1.25rem;margin-bottom:.75rem;color:var(--grey)}
.article li::before{content:"";position:absolute;left:0;top:.65em;width:6px;height:2px;background:var(--green)}
.article li strong{color:var(--ink)}
/* green is decoration-only, so it carries the underline while the text stays ink */
.article a{color:var(--ink);text-decoration:underline;text-decoration-color:var(--green);
  text-decoration-thickness:1px}
.article a:hover{text-decoration-thickness:2px}
.article .draft-note{margin-top:2.5rem;padding-top:1.25rem;border-top:1px solid var(--line);
  font-size:.8125rem;color:var(--grey)}

/* ── faq ── */
.faq{max-width:52rem;margin-inline:auto}
.faq details{border-top:1px solid var(--line)}
.faq details:last-of-type{border-bottom:1px solid var(--line)}
.faq summary{display:flex;align-items:center;justify-content:space-between;gap:1rem;
  min-height:64px;cursor:pointer;list-style:none;
  font-family:var(--f-display);font-weight:700;font-size:clamp(1.0625rem,1rem + .3vw,1.25rem)}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{content:"";width:9px;height:9px;flex:0 0 auto;
  border-right:1.5px solid var(--grey);border-bottom:1.5px solid var(--grey);
  transform:rotate(45deg) translateY(-3px);transition:transform .2s}
.faq details[open] summary::after{transform:rotate(225deg) translateY(-3px)}
.faq details p{padding-bottom:1.5rem;color:var(--grey)}

/* ── closing band ── */
.closing{background:var(--ink);color:var(--white);text-align:center}
.closing .display,.closing .display--sm{color:var(--white)}
.closing p{color:#ffffffc9;max-width:46ch;margin:1.25rem auto 0}
.closing-cta{display:flex;flex-wrap:wrap;gap:.75rem;justify-content:center;margin-top:2.25rem}

/* ── footer ── */
.footer{padding-block:clamp(3rem,7vw,5rem) 2.5rem;background:var(--shell);border-top:1px solid var(--line)}
.footer-grid{display:grid;grid-template-columns:1fr 1fr 1fr;gap:var(--gap)}
.footer h2{font-size:.8125rem;font-weight:600;text-transform:uppercase;letter-spacing:.15em;
  color:var(--grey);margin-bottom:1.25rem;font-family:var(--f-body)}
.footer ul{list-style:none}
.footer li a,.footer-nap a{display:inline-flex;align-items:center;min-height:44px;font-size:.9375rem}
.footer li a:hover,.footer-nap a:hover{color:var(--ink);text-decoration:underline;text-decoration-color:var(--green)}
.footer-phone{font-family:var(--f-display);font-weight:700;
  font-size:clamp(1.5rem,1.3rem + .8vw,1.875rem);line-height:1.2}
.footer-legal{display:flex;justify-content:space-between;gap:1rem;flex-wrap:wrap;
  margin-top:clamp(2.5rem,5vw,4rem);padding-top:1.5rem;border-top:1px solid var(--line);
  font-size:.75rem;text-transform:uppercase;letter-spacing:.12em;color:var(--grey)}
.socials{display:flex;gap:.5rem}
.socials a{width:44px;height:44px;border:1px solid var(--line-2);display:grid;place-items:center;color:var(--grey)}
.socials a:hover{border-color:var(--ink);color:var(--ink)}
.socials svg{width:14px;height:14px;fill:currentColor}
@media(width<=62em){.footer-grid{grid-template-columns:1fr 1fr}.footer .col-contact{grid-column:1/-1}}
@media(width<=40em){.footer-grid{grid-template-columns:1fr}}

/* ── sticky mobile action bar ── */
.callbar{position:fixed;left:0;right:0;bottom:0;z-index:997;display:none;
  grid-template-columns:1fr 1fr;background:var(--white);border-top:1px solid var(--ink)}
.callbar a{display:flex;align-items:center;justify-content:center;gap:.5rem;min-height:56px;
  font-size:.9375rem;font-weight:600;letter-spacing:0}
.callbar a + a{background:var(--ink);color:var(--white)}
@media(width<=48em){.callbar{display:grid}body{padding-bottom:56px}.back{bottom:68px}}

/* ── mobile nav ── */
@media(width<=62em){
  .nav-toggle{display:flex;flex-direction:column;justify-content:center;gap:5px;width:48px;height:48px;
    border:1px solid currentColor;background:none;color:var(--white);cursor:pointer;flex:0 0 auto;
    position:relative;z-index:999}
  .nav-toggle span{display:block;width:20px;height:2px;background:currentColor;margin-inline:auto;
    transition:transform .25s ease,opacity .2s ease}
  .nav-toggle[aria-expanded="true"]{color:var(--white)}
  .nav-toggle[aria-expanded="true"] span:nth-child(1){transform:translateY(7px) rotate(45deg)}
  .nav-toggle[aria-expanded="true"] span:nth-child(2){opacity:0}
  .nav-toggle[aria-expanded="true"] span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}
  .main-nav{position:fixed;inset:0 0 0 auto;width:min(24rem,88vw);background:var(--ink-2);
    padding:6.5rem 1.75rem 2.5rem;transform:translateX(100%);visibility:hidden;
    transition:transform .3s ease,visibility .3s ease;overflow-y:auto;z-index:996;
    box-shadow:-12px 0 40px rgba(12,22,17,.45)}
  .main-nav.open{transform:none;visibility:visible}
  .main-nav > ul{flex-direction:column;align-items:stretch;gap:0}
  .main-nav__link{color:var(--white);width:100%;min-height:56px;
    border-bottom:1px solid rgba(255,255,255,.14);letter-spacing:.12em;justify-content:space-between}
  .nav-backdrop{position:fixed;inset:0;background:rgba(12,22,17,.62);z-index:995;opacity:0;visibility:hidden;
    transition:opacity .3s,visibility .3s}
  /* with the menu open the bar goes solid, so the logo and the close button sit
     on the same dark surface as the panel below them */
  .header.nav-open{background:var(--ink-2);box-shadow:none}
  .header.nav-open::before{opacity:0}
  .nav-backdrop.show{opacity:1;visibility:visible}
}

.js [data-r]{opacity:0;transform:translateY(18px);transition:opacity .8s cubic-bezier(.16,1,.3,1),transform .8s cubic-bezier(.16,1,.3,1)}
[data-r].in{opacity:1;transform:none}

.back{position:fixed;left:1rem;bottom:1rem;z-index:994;background:var(--white);border:1px solid var(--ink);
  display:inline-flex;align-items:center;min-height:44px;padding:.6em 1em;
  font-size:.6875rem;font-weight:700;text-transform:uppercase;letter-spacing:.12em}
a[href^="tel:"]{white-space:nowrap}

@media(prefers-reduced-motion:reduce){
  .js [data-r]{opacity:1!important;transform:none!important;transition:none!important}
  .js .pull .w{opacity:1!important;transform:none!important;transition:none!important}
}
