/* ============================================================
   Canopy Co — Local Service / Landscaping — Growth Tier
   Palette: Forest Velvet (#1e3a2f) + Warm Sand (#c4a882) on Ivory (#f8f4ed)
   Typography: Playfair Display (serif display) + Inter (body)
   ============================================================ */

:root {
  --primary:      #1e3a2f;
  --primary-dark: #111f19;
  --secondary:    #2f5c48;
  --accent:       #c4a882;
  --accent-dark:  #a88b68;
  --background:   #f8f4ed;
  --surface:      #ffffff;
  --text:         #1a2c23;
  --muted:        #7a8e84;
  --border:       #ddd5c8;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-sans:    'Inter', system-ui, sans-serif;
  --radius:       0.5rem;
  --radius-lg:    1rem;
  --shadow-sm:    0 1px 3px rgba(30,58,47,.07), 0 1px 2px rgba(30,58,47,.05);
  --shadow-md:    0 4px 20px rgba(30,58,47,.1), 0 2px 6px rgba(30,58,47,.06);
  --shadow-lg:    0 16px 48px rgba(30,58,47,.14), 0 4px 14px rgba(30,58,47,.08);
  --transition:   .28s cubic-bezier(.4,0,.2,1);
}

/* ── Reset ────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  color: var(--text); background: var(--background);
  line-height: 1.7; -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { cursor: pointer; }

/* ── Utilities ─────────────────────────────────────────────── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.skip-link { position: absolute; left: -9999px; top: auto; z-index: 9999; padding: .5rem 1rem; background: var(--primary); color: #fff; }
.skip-link:focus { left: 1rem; top: 1rem; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.section-eyebrow {
  display: inline-block; font-family: var(--font-sans);
  font-size: .7rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  /* Weave item 59: the sand reads 2.0:1 on ivory; the plain eyebrow sits on light sections (--sand on forest bands). */
  color: oklch(from var(--accent) min(l, 0.5) c h); margin-bottom: .75rem;
}
.section-eyebrow--sand { color: var(--accent); }
.section-header { text-align: center; max-width: 600px; margin: 0 auto 4rem; }
.section-header h2 {
  font-family: var(--font-display); font-size: clamp(2rem,4vw,2.75rem);
  font-weight: 700; color: var(--primary); line-height: 1.15; margin: .5rem 0 1rem;
}
.section-header p { color: var(--muted); font-size: 1.0625rem; }
.section-header--light h2 { color: #fff; }
.section-header--light p  { color: rgba(255,255,255,.65); }
.section--forest { background: var(--primary); color: #fff; }
.section--ivory  { background: var(--background); }

/* ── Anti-FOUC ─────────────────────────────────────────────── */
.js-anim .reveal-up { opacity: 0; transform: translateY(28px); }

/* ── Scroll progress ───────────────────────────────────────── */
#scroll-progress {
  position: fixed; top: 0; left: 0; height: 2px; width: 0%;
  background: linear-gradient(90deg, var(--accent), var(--secondary));
  z-index: 9999; transition: width .1s linear;
}

/* ── Back to top ───────────────────────────────────────────── */
.back-to-top {
  position: fixed; bottom: 2rem; right: 2rem; width: 48px; height: 48px;
  border-radius: 50%; border: 1.5px solid var(--border);
  background: var(--surface); color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity var(--transition), transform var(--transition), background var(--transition);
  z-index: 999; transform: translateY(10px); box-shadow: var(--shadow-md);
}
.back-to-top.visible { opacity: 1; transform: translateY(0); }
.back-to-top:hover { background: var(--primary); color: #fff; border-color: var(--primary); }

/* ── Buttons ───────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--font-sans); font-size: .9rem; font-weight: 600;
  padding: .85rem 2rem; border-radius: 100px; text-decoration: none;
  border: 1.5px solid transparent;
  transition: background var(--transition), color var(--transition), transform var(--transition), box-shadow var(--transition);
  cursor: pointer; line-height: 1; letter-spacing: .02em;
}
.btn--primary { background: var(--primary); color: #fff; }
.btn--primary:hover { background: var(--secondary); box-shadow: 0 8px 28px rgba(30,58,47,.28); }
.btn--sand { background: var(--accent); color: var(--primary); color: oklch(from var(--accent) clamp(0, (0.57 - l) * 1000, 1) 0 0); }
.btn--sand:hover { background: var(--accent-dark); box-shadow: 0 8px 24px rgba(196,168,130,.35); }
.btn--full { width: 100%; justify-content: center; }
.btn--magnetic { transition: transform .3s cubic-bezier(.23,1,.32,1), background var(--transition), box-shadow var(--transition); }

/* ── HEADER ────────────────────────────────────────────────── */
[data-section="header"] {
  position: sticky; top: 0; z-index: 200;
  background: var(--background, rgba(248,244,237,.96));
  backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition), box-shadow var(--transition);
}
[data-section="header"].scrolled { border-color: var(--border); box-shadow: var(--shadow-sm); }
[data-section="header"] nav:not(.nav__mobile) {
  display: flex; align-items: center; justify-content: space-between; padding: 1.1rem 0;
}
.logo img { height: 44px; width: auto; }
.nav__links { display: flex; gap: 2.25rem; }
.nav__links a {
  font-family: var(--font-sans); font-size: .875rem; font-weight: 500;
  text-decoration: none; color: var(--text); letter-spacing: .02em;
  transition: color var(--transition);
}
.nav__links a:hover { color: var(--primary); }
.nav__actions { display: flex; align-items: center; gap: 1.25rem; }
.header-tel {
  display: flex; align-items: center; gap: .4rem;
  font-size: .8125rem; font-weight: 500; text-decoration: none; color: var(--muted);
  transition: color var(--transition);
}
.header-tel:hover { color: var(--primary); }
.nav__toggle {
  display: none; flex-direction: column; gap: 5px;
  width: 40px; height: 40px; background: none; border: none; padding: .5rem;
}
.nav__toggle span {
  display: block; height: 1.5px; width: 100%; background: var(--text);
  border-radius: 2px; transition: transform .3s ease, opacity .3s ease;
}
.nav__toggle.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav__toggle.open span:nth-child(2) { opacity: 0; }
.nav__toggle.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
[data-section="header"] .nav__mobile {
  display: none; flex-direction: column;
  padding: 1rem 0 1.5rem; border-top: 1px solid var(--border); gap: .2rem;
}
[data-section="header"] .nav__mobile.open { display: flex; }
[data-section="header"] .nav__mobile a {
  font-size: .9rem; font-weight: 500; text-decoration: none; color: var(--text);
  padding: .65rem 0; border-bottom: 1px solid var(--border);
  transition: color var(--transition);
}
[data-section="header"] .nav__mobile a:hover { color: var(--primary); }

/* ── EMERGENCY BAND (subtle luxury version) ────────────────── */
.emergency-band { background: var(--primary); padding: .7rem 0; }
.emergency-band__inner {
  display: flex; align-items: center; justify-content: center;
  gap: 2rem; flex-wrap: wrap;
}
.emergency-band p { font-size: .8125rem; color: rgba(255,255,255,.7); font-style: italic; }
.emergency-band__tel,
.emergency-band__wa {
  font-size: .8rem; font-weight: 600; letter-spacing: .06em;
  text-decoration: none; color: var(--accent);
  padding: .3rem .8rem; border: 1px solid rgba(196,168,130,.35); border-radius: 100px;
  transition: background var(--transition), color var(--transition);
}
.emergency-band__tel:hover,
.emergency-band__wa:hover { background: rgba(196,168,130,.12); }

/* ── HERO ──────────────────────────────────────────────────── */
[data-section="hero"] {
  background: var(--primary); color: #fff;
  padding: 7rem 0 0; position: relative;
  /* `clip`, not `hidden`: `overflow: clip` makes this a SCROLL CONTAINER,
     which silently kills the `.hero__img` parallax's `view()` timeline
     below — `clip` clips identically without creating one. */
  overflow: clip;
}
.hero__backdrop {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 70% 30%, rgba(196,168,130,.07) 0%, transparent 55%),
    radial-gradient(ellipse at 20% 80%, rgba(47,92,72,.4) 0%, transparent 50%);
  pointer-events: none;
}
.hero__inner {
  display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center;
  position: relative; z-index: 2; padding-bottom: 5rem;
  min-height: 540px;
}
.hero__meta {
  display: flex; align-items: center; gap: .75rem;
  margin-bottom: 1.75rem;
}
.hero__vol {
  font-family: var(--font-sans); font-size: .7rem; font-weight: 600;
  letter-spacing: .18em; text-transform: uppercase; color: var(--accent);
}
.hero__meta-sep { color: rgba(196,168,130,.4); font-size: .8rem; }
.hero__year { font-family: var(--font-sans); font-size: .7rem; font-weight: 500; color: rgba(255,255,255,.4); letter-spacing: .12em; }
.hero__title {
  font-family: var(--font-display); font-size: clamp(2.5rem, 5.5vw, 4rem);
  font-weight: 700; line-height: 1.1; color: #fff; margin-bottom: 1.75rem;
}
.hero__title-line { display: block; }
.hero__title-line--italic { font-style: italic; color: var(--accent); font-size: 85%; }
.hero__sub {
  font-size: 1.0625rem; line-height: 1.75; opacity: .78; margin-bottom: 2.25rem;
  max-width: 480px;
}
.hero__actions { display: flex; align-items: center; gap: 1.5rem; margin-bottom: 2.5rem; flex-wrap: wrap; }
.hero__gallery-link {
  display: flex; align-items: center; gap: .5rem;
  font-size: .875rem; font-weight: 600; color: rgba(255,255,255,.7);
  text-decoration: none; letter-spacing: .02em;
  transition: color var(--transition), gap var(--transition);
}
.hero__gallery-link:hover { color: var(--accent); gap: .75rem; }
.hero__trust {
  display: flex; align-items: center; gap: 1rem; flex-wrap: wrap;
  padding-top: 2rem; border-top: 1px solid rgba(255,255,255,.1);
}
.hero__trust-item { display: flex; align-items: center; gap: .4rem; font-size: .8125rem; color: rgba(255,255,255,.55); }
.hero__trust-item svg { color: var(--accent); }
.hero__trust-dot { color: rgba(255,255,255,.2); font-size: 1.25rem; line-height: 1; }

.hero__visual { position: relative; }
.hero__img-wrap { position: relative; border-radius: var(--radius-lg) var(--radius-lg) 0 0; overflow: clip; aspect-ratio: 3/4; }
.hero__img { width: 100%; height: 100%; object-fit: cover; will-change: translate; }
.hero__img-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, transparent 60%, rgba(30,58,47,.4) 100%);
  pointer-events: none;
}
.hero__img-card {
  position: absolute; bottom: 1.5rem; right: 1.5rem;
  background: rgba(248,244,237,.96); backdrop-filter: blur(12px);
  border-radius: var(--radius); padding: 1rem 1.25rem;
  box-shadow: var(--shadow-lg); border: 1px solid rgba(255,255,255,.6);
}
.hero__img-card-label { font-size: .65rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); display: block; margin-bottom: .25rem; }
.hero__img-card-stars { font-size: 1.1rem; color: #f5a623; margin-bottom: .15rem; letter-spacing: .1em; }
.hero__img-card-note { font-size: .7rem; color: var(--muted); display: block; }

/* ── MARQUEE ───────────────────────────────────────────────── */
.hero__marquee { overflow: hidden; border-top: 1px solid rgba(255,255,255,.08); padding: 1.25rem 0; position: relative; z-index: 2; }
.marquee__track {
  display: flex; gap: 2.5rem; align-items: center;
  white-space: nowrap; width: max-content;
  animation: marquee 30s linear infinite;
}
.marquee__track span {
  font-family: var(--font-display); font-size: .875rem; font-style: italic;
  color: rgba(255,255,255,.4); letter-spacing: .04em;
}
.marquee__sep { color: var(--accent) !important; font-style: normal !important; font-size: .5rem !important; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ── ABOUT ─────────────────────────────────────────────────── */
[data-section="about"] { padding: 7rem 0; }
.about__inner { display: grid; grid-template-columns: 1.1fr 1fr; gap: 5rem; align-items: start; }
.about__text h2 {
  font-family: var(--font-display); font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700; color: var(--primary); line-height: 1.2; margin: .5rem 0 1.5rem;
}
.about__body { color: var(--muted); margin-bottom: 2rem; }
.about__body p + p { margin-top: 1rem; }
.about__pull {
  border-left: 3px solid var(--accent); padding: 1rem 1.5rem;
  margin: 2rem 0; background: rgba(196,168,130,.06); border-radius: 0 var(--radius) var(--radius) 0;
}
.about__pull blockquote {
  font-family: var(--font-display); font-size: 1.125rem; font-style: italic;
  color: var(--primary); line-height: 1.55;
}
.about__visual { position: relative; }
.about__img-main-wrap { border-radius: var(--radius-lg); overflow: clip; }
.about__img-main { width: 100%; aspect-ratio: 3/4; object-fit: cover; }
.about__stats {
  display: flex; gap: 0; margin-top: 2rem;
  background: var(--primary); border-radius: var(--radius); overflow: clip;
}
.about__stat {
  flex: 1; text-align: center; padding: 1.5rem 1rem;
  border-right: 1px solid rgba(255,255,255,.08);
}
.about__stat:last-child { border-right: none; }
.about__stat:not([hidden]):not(:has(~ .about__stat:not([hidden]))) { border-right: none; } /* last VISIBLE stat */
.about__stat-num {
  display: block; font-family: var(--font-display); font-size: 2.25rem;
  font-weight: 700; color: var(--accent); line-height: 1; margin-bottom: .3rem;
}
.about__stat span { font-size: .7rem; color: rgba(255,255,255,.5); text-transform: uppercase; letter-spacing: .1em; font-weight: 500; }

/* ── SERVICES (forest bg) ──────────────────────────────────── */
[data-section="services"] { padding: 7rem 0; }
.services__grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.5rem;
}
.services__grid[data-list] { display: grid; }
div.services__grid { display: grid; }

.service-card {
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-lg); padding: 2.25rem;
  display: flex; flex-direction: column; gap: 1.25rem;
  transition: background var(--transition), border-color var(--transition), transform var(--transition);
  transform-style: preserve-3d;
}
.service-card:hover { background: rgba(255,255,255,.08); border-color: rgba(196,168,130,.35); transform: translateY(-4px); }
.service-card__num {
  font-family: var(--font-display); font-size: 1.5rem; font-style: italic;
  color: rgba(196,168,130,.35); font-weight: 400; line-height: 1;
}
.service-card__body h3 {
  font-family: var(--font-display); font-size: 1.25rem; font-weight: 600;
  color: #fff; margin-bottom: .35rem;
}
.service-card__sub { font-size: .8rem; color: var(--accent); font-weight: 500; font-style: italic; display: block; margin-bottom: .75rem; }
.service-card__desc { font-size: .9rem; color: rgba(255,255,255,.6); line-height: 1.65; flex: 1; }
.service-card__footer { display: flex; align-items: center; justify-content: space-between; padding-top: 1.25rem; border-top: 1px solid rgba(255,255,255,.1); margin-top: auto; }
.service-card__price { font-family: var(--font-display); font-size: 1rem; color: var(--accent); font-weight: 600; }
.service-card__link {
  font-size: .8125rem; font-weight: 600; text-decoration: none; color: rgba(255,255,255,.5);
  letter-spacing: .04em; transition: color var(--transition);
}
.service-card__link:hover { color: var(--accent); }

/* ── BEFORE / AFTER GALLERY ────────────────────────────────── */
[data-section="before_after_gallery"] { padding: 7rem 0; }
.gallery__grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(520px, 1fr)); gap: 2.5rem;
}
.gallery__grid[data-list] { display: grid; }
div.gallery__grid { display: grid; }

.gallery-pair { background: var(--surface); border-radius: var(--radius-lg); overflow: clip; box-shadow: var(--shadow-md); }
.gallery-pair__sides { display: grid; grid-template-columns: 1fr 1fr; }
.gallery-pair__side { position: relative; overflow: clip; }
.gallery-pair__side img { width: 100%; aspect-ratio: 3/4; object-fit: cover; transition: transform .6s ease; display: block; }
.gallery-pair:hover .gallery-pair__side img { transform: scale(1.04); }
.gallery-pair__side--after { border-left: 3px solid var(--primary); }
.gallery-pair__label {
  position: absolute; bottom: .75rem; left: .75rem;
  font-size: .7rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  background: rgba(30,58,47,.8); color: rgba(255,255,255,.8);
  padding: .3rem .7rem; border-radius: 100px;
}
.gallery-pair__label--after { background: var(--accent); color: var(--primary); left: auto; right: .75rem; color: oklch(from var(--accent) clamp(0, (0.57 - l) * 1000, 1) 0 0); }
.gallery-pair__caption {
  font-size: .875rem; color: var(--muted); font-style: italic;
  padding: 1.1rem 1.5rem; border-top: 1px solid var(--border);
}

/* ── STATS BAND ────────────────────────────────────────────── */
.stats-band { background: var(--primary); padding: 5.5rem 0; position: relative; overflow: clip; }
.stats-band::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 100%, rgba(196,168,130,.06) 0%, transparent 60%);
  pointer-events: none;
}
.stats-band__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); gap: 2rem; position: relative; z-index: 1; } /* auto-fit: owner-supplied stats may be absent — never leave an empty column */
.stats-band__item { text-align: center; padding: 0 1.5rem; border-right: 1px solid rgba(255,255,255,.07); }
.stats-band__item:last-child { border-right: none; }
.stats-band__item:not([hidden]):not(:has(~ .stats-band__item:not([hidden]))) { border-right: none; } /* last VISIBLE stat: owner-supplied stats may be hidden */
.stats-num {
  display: block; font-family: var(--font-display);
  font-size: clamp(2.75rem, 5.5vw, 4rem); font-weight: 700;
  color: var(--accent); line-height: 1; margin-bottom: .5rem;
}
.stats-band__item span { color: rgba(255,255,255,.5); font-size: .8125rem; letter-spacing: .1em; text-transform: uppercase; }

/* ── CERTIFICATIONS ────────────────────────────────────────── */
[data-section="certifications"] { padding: 6rem 0; }
.certs__row {
  display: flex; flex-wrap: wrap; gap: 1.5rem; justify-content: center;
  padding: 2.5rem 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
}
.certs__row[data-list] { display: flex; }
div.certs__row { display: flex; }

.cert-item {
  display: flex; align-items: center; gap: 1rem;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 1.25rem 1.75rem;
  transition: box-shadow var(--transition), border-color var(--transition);
}
.cert-item:hover { box-shadow: var(--shadow-md); border-color: var(--accent); }
.cert-item__logo img { width: 56px; height: 56px; object-fit: contain; border-radius: .5rem; }
.cert-item__info strong { display: block; font-family: var(--font-display); font-weight: 600; color: var(--primary); margin-bottom: .2rem; }
.cert-item__info span  { font-size: .8rem; color: var(--accent); font-weight: 500; display: block; }
.cert-item__note { font-size: .8rem; color: var(--muted); display: block; margin-top: .25rem; font-style: italic; }

/* ── SERVICE AREAS ─────────────────────────────────────────── */
[data-section="service_areas"] { padding: 5.5rem 0; }
.areas__inner { display: grid; grid-template-columns: 340px 1fr; gap: 4rem; align-items: start; }
.areas__head h2 { font-family: var(--font-display); font-size: 2.25rem; font-weight: 700; color: var(--primary); margin: .5rem 0 1rem; line-height: 1.2; }
.areas__head p { color: var(--muted); }
.areas__list {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(200px,1fr)); gap: .5rem;
}
.areas__list[data-list] { display: grid; }
div.areas__list { display: grid; }

.area-item {
  display: flex; align-items: center; gap: .6rem;
  padding: .65rem .9rem; border-radius: var(--radius);
  font-size: .875rem; color: var(--text); font-weight: 500;
  transition: background var(--transition);
}
.area-item:hover { background: var(--surface); }
.area-item svg { color: var(--accent); flex-shrink: 0; }

/* ── QUOTE (forest bg) ─────────────────────────────────────── */
[data-section="quote_request"] { padding: 7rem 0; }
.quote__inner { display: grid; grid-template-columns: 1fr 1.2fr; gap: 5rem; align-items: start; }
.quote__info h2 {
  font-family: var(--font-display); font-size: clamp(2rem,4vw,2.75rem);
  font-weight: 700; color: #fff; line-height: 1.2; margin: .5rem 0 1rem;
}
.quote__info p { color: rgba(255,255,255,.65); margin-bottom: 2.5rem; }
.quote__feature { display: flex; flex-direction: column; gap: 1.5rem; }
.quote__feature-item { display: flex; gap: 1.25rem; align-items: flex-start; }
.quote__feature-num {
  font-family: var(--font-display); font-size: 1.25rem; font-style: italic;
  color: var(--accent); opacity: .7; flex-shrink: 0; line-height: 1.2; min-width: 1.5ch;
}
.quote__feature-item strong { display: block; color: #fff; font-weight: 600; margin-bottom: .2rem; }
.quote__feature-item p { font-size: .875rem; color: rgba(255,255,255,.55); margin: 0; }
.quote-form {
  background: var(--surface); border-radius: var(--radius-lg);
  padding: 2.75rem; box-shadow: var(--shadow-lg);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { display: flex; flex-direction: column; gap: .45rem; margin-bottom: 1.1rem; }
.form-group label { font-size: .8rem; font-weight: 600; letter-spacing: .04em; color: var(--text); }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; padding: .8rem 1rem;
  border: 1px solid var(--border); border-radius: var(--radius);
  font-family: var(--font-sans); font-size: .9375rem; color: var(--text);
  background: var(--background); outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(196,168,130,.15); }
.form-group textarea { resize: vertical; min-height: 110px; }

/* ── TESTIMONIALS ──────────────────────────────────────────── */
[data-section="testimonials"] { padding: 7rem 0; }
.testimonials__grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(320px,1fr)); gap: 1.75rem;
}
.testimonials__grid[data-list] { display: grid; }
div.testimonials__grid { display: grid; }

.testimonial-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 2.25rem;
  display: flex; flex-direction: column; gap: 1.25rem;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition);
  transform-style: preserve-3d;
}
.testimonial-card:hover { box-shadow: var(--shadow-lg); }
.testimonial-card__mark { color: rgba(196,168,130,.25); flex-shrink: 0; }
.testimonial-card blockquote {
  font-family: var(--font-display); font-size: 1.0625rem; font-style: italic;
  line-height: 1.65; color: var(--text); flex: 1;
}
.testimonial-card__author { display: flex; align-items: center; gap: .85rem; border-top: 1px solid var(--border); padding-top: 1.25rem; }
.testimonial-card__author img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; }
.testimonial-card__author strong { display: block; font-family: var(--font-display); font-weight: 600; color: var(--primary); }
.testimonial-card__author span  { font-size: .8rem; color: var(--muted); font-style: italic; }

/* ── OPENING HOURS ─────────────────────────────────────────── */
[data-section="opening_hours"] { padding: 5.5rem 0; }
.hours__inner { display: grid; grid-template-columns: 1fr 1.5fr; gap: 5rem; align-items: start; }
.hours__head h2 { font-family: var(--font-display); font-size: 2.25rem; font-weight: 700; color: var(--primary); margin: .5rem 0 1.25rem; }
.hours__status { display: flex; align-items: center; gap: .6rem; font-size: .875rem; font-weight: 500; color: var(--muted); }
.hours__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--border); }
.hours__dot.open { background: #5cb85c; animation: hoursGlow 2s ease-in-out infinite; }
@keyframes hoursGlow { 0%,100% { box-shadow: 0 0 0 0 rgba(92,184,92,.5); } 50% { box-shadow: 0 0 0 5px rgba(92,184,92,0); } }
.hours__table [data-list] { display: block; }
.hours__table div { display: block; }
.hours__row { display: flex; justify-content: space-between; padding: .95rem 0; border-bottom: 1px solid var(--border); }
.hours__row:first-child { border-top: 1px solid var(--border); }
.hours__row span:first-child { font-weight: 500; color: var(--primary); font-size: .9375rem; }
.hours__row span:last-child  { color: var(--muted); font-size: .9rem; font-style: italic; }

/* ── FAQS ──────────────────────────────────────────────────── */
[data-section="faqs"] { padding: 7rem 0; }
.faqs__inner { display: grid; grid-template-columns: 300px 1fr; gap: 5rem; align-items: start; }
.faqs__head h2 { font-family: var(--font-display); font-size: 2.25rem; font-weight: 700; color: var(--primary); margin: .5rem 0 1rem; }
.faqs__list[data-list] { display: block; }
div.faqs__list { display: block; }

.faq-item { border-bottom: 1px solid var(--border); }
.faq-item:first-child { border-top: 1px solid var(--border); }
.faq-item__q {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.35rem 0; cursor: pointer; list-style: none; gap: 1rem;
  font-family: var(--font-display); font-size: 1rem; font-weight: 600;
  color: var(--primary);
}
.faq-item__q::-webkit-details-marker { display: none; }
.faq-item__icon {
  width: 28px; height: 28px; border-radius: 50%;
  border: 1px solid var(--border); flex-shrink: 0;
  position: relative; transition: background var(--transition), border-color var(--transition);
}
.faq-item__icon::before,
.faq-item__icon::after {
  content: ''; position: absolute; top: 50%; left: 50%;
  background: var(--muted); border-radius: 2px;
  transform: translate(-50%, -50%);
}
.faq-item__icon::before { width: 10px; height: 1.5px; }
.faq-item__icon::after  { width: 1.5px; height: 10px; transition: transform .25s ease, opacity .25s ease; }
.faq-item[open] .faq-item__icon { background: var(--accent); border-color: var(--accent); }
.faq-item[open] .faq-item__icon::before,
.faq-item[open] .faq-item__icon::after { background: var(--primary); }
.faq-item[open] .faq-item__icon::after { transform: translate(-50%,-50%) rotate(90deg); opacity: 0; }
.faq-item__a { padding: 0 0 1.35rem; color: var(--muted); font-size: .9375rem; line-height: 1.7; }

/* ── POLICIES ──────────────────────────────────────────────── */
[data-section="policies"] { padding: 4.5rem 0; }
.policies__title { font-family: var(--font-display); font-size: 2rem; font-weight: 700; color: var(--primary); margin-bottom: 1.75rem; }
.policies__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px,1fr)); gap: 1.25rem; }
.policies__grid[data-list] { display: grid; }
div.policies__grid { display: grid; }
.policy-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.75rem; }
.policy-card strong { display: block; font-family: var(--font-display); font-weight: 600; color: var(--primary); margin-bottom: .6rem; font-size: 1.0625rem; }
.policy-card div { font-size: .9rem; color: var(--muted); line-height: 1.65; }

/* ── SOCIAL ────────────────────────────────────────────────── */
.social-section { padding: 2rem 0; }
.social__strip { display: flex; justify-content: center; gap: 2rem; flex-wrap: wrap; }
.social__strip[data-list] { display: flex; }
div.social__strip { display: flex; }
.social__link {
  font-size: .8rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  color: rgba(255,255,255,.5); text-decoration: none; transition: color var(--transition);
  padding: .4rem .75rem;
}
.social__link:hover { color: var(--accent); }

/* ── CONTACT ───────────────────────────────────────────────── */
[data-section="contact"] { padding: 7rem 0; }
.contact__inner { display: grid; grid-template-columns: 1fr 1.4fr; gap: 5rem; align-items: start; }
.contact__info h2 { font-family: var(--font-display); font-size: clamp(2rem,4vw,2.75rem); font-weight: 700; color: var(--primary); margin: .5rem 0 2rem; line-height: 1.2; }
.contact__list { list-style: none; display: flex; flex-direction: column; gap: 1.5rem; }
.contact__list li { display: flex; flex-direction: column; gap: .2rem; }
.contact__list-label { font-size: .7rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.contact__list a { font-size: 1rem; color: var(--text); text-decoration: none; font-weight: 500; transition: color var(--transition); }
.contact__list a:hover { color: var(--primary); }
.contact__form-wrap { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 2.75rem; box-shadow: var(--shadow-md); }

/* ── FOOTER ────────────────────────────────────────────────── */
[data-section="footer"] { background: var(--primary); color: #fff; padding: 5rem 0 2rem; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 3rem; margin-bottom: 3.5rem; }
.footer__brand img { height: 44px; width: auto; margin-bottom: 1.25rem; filter: brightness(0) invert(1); }
.footer__brand p { font-size: .9rem; opacity: .55; font-style: italic; line-height: 1.7; }
.footer__links h3, .footer__nav h3, .footer__social h3 {
  font-family: var(--font-sans); font-size: .65rem; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase; color: var(--accent);
  margin-bottom: 1.25rem;
}
.footer__links a, .footer__nav a, .footer__social a {
  display: block; color: rgba(255,255,255,.5); text-decoration: none;
  font-size: .875rem; margin-top: .75rem; transition: color var(--transition);
}
.footer__links a:hover, .footer__nav a:hover, .footer__social a:hover { color: rgba(255,255,255,.85); }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.08); padding-top: 1.5rem;
  display: flex; justify-content: space-between; align-items: center;
  font-size: .8rem; color: rgba(255,255,255,.3);
}
.footer__bottom a { color: rgba(255,255,255,.3); text-decoration: none; transition: color var(--transition); }
.footer__bottom a:hover { color: rgba(255,255,255,.65); }

/* ── DATA-LIST GRID FIX ────────────────────────────────────── */
[data-list] { display: contents; }
[data-list].services__grid,
[data-list].gallery__grid,
[data-list].testimonials__grid,
[data-list].areas__list,
[data-list].policies__grid { display: grid; }
[data-list].certs__row,
[data-list].social__strip { display: flex; }
[data-list].faqs__list { display: block; }

/* ── RESPONSIVE ────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero__inner      { grid-template-columns: 1fr; min-height: auto; padding-bottom: 3rem; }
  .hero__visual     { display: none; }
  .about__inner     { grid-template-columns: 1fr; gap: 3rem; }
  .about__visual    { display: none; }
  .quote__inner     { grid-template-columns: 1fr; gap: 3rem; }
  .contact__inner   { grid-template-columns: 1fr; gap: 3rem; }
  .hours__inner     { grid-template-columns: 1fr; gap: 3rem; }
  .faqs__inner      { grid-template-columns: 1fr; gap: 2.5rem; }
  .areas__inner     { grid-template-columns: 1fr; }
  .stats-band__grid { grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); }
  .footer__grid     { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .nav__links    { display: none; }
  .nav__toggle   { display: flex; }
  .gallery__grid { grid-template-columns: 1fr; }
  .footer__grid  { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; gap: .5rem; }
}
@media (max-width: 480px) {
  .hero__actions { flex-direction: column; align-items: flex-start; }
  .hero__trust   { gap: .6rem; }
  .form-row      { grid-template-columns: 1fr; }
  .stats-band__grid { grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); }
}

/* ── Motion lanes (CSS-only; this theme loads no motion library) ──────────
   Three animations, each with its resting state visible at RULE level and
   the hidden from-state confined to the @keyframes, so a browser without
   scroll timelines — or one that never activates them — shows a complete,
   readable page rather than a blank one. The `.js-anim .reveal-up` rule
   above is the separate anti-FOUC pre-hide, unhooked the instant the
   handshake in main.js runs; what follows is the actual entrance/reveal.

   1. Hero entrance (`[data-section="hero"] .reveal-up`). Above the fold,
      so it runs on a TIME timeline, not a scroll one — reusing each
      element's existing `--reveal-delay` custom property for its cascade,
      exactly as the replaced GSAP tween's per-element `delay` did.
   2. Everything else: an `entry` view range, staggered per grid/list via
      nth-child rather than delay.
   3. Hero image parallax, on the `exit` range — the exact span the
      replaced ScrollTrigger used (`start: top top` to `end: bottom top`).
*/
@keyframes wb-canopy-rise {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes wb-canopy-parallax {
  from { translate: 0 0;    scale: 1.08; }
  to   { translate: 0 -40px; scale: 1; }
}

@media (prefers-reduced-motion: no-preference) {
  [data-section="hero"] .reveal-up {
    animation: wb-canopy-rise .75s cubic-bezier(.19,1,.22,1) both;
    animation-delay: var(--reveal-delay, 0s);
  }
}

@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .reveal-up {
      animation: wb-canopy-rise .7s ease both;
      animation-timeline: view();
      animation-range: entry 0% entry 45%;
    }
    /* Above-the-fold hero content stays on the time-based lane above —
       cancel the scroll timeline this more general rule would otherwise
       give it (a view() timeline never advances for an element already
       fully visible on load). */
    [data-section="hero"] .reveal-up {
      animation-timeline: auto;
      animation-range: normal;
    }

    /* The old JS staggered these by DOM order; shifting the RANGE rather
       than adding a delay keeps each item tied to its own scroll position
       instead of to a clock that may already have run. */
    .services__grid > *:nth-child(2),
    .gallery__grid > *:nth-child(2),
    .certs__row > *:nth-child(2),
    .stats-band__grid > *:nth-child(2),
    .areas__list > *:nth-child(2),
    .testimonials__grid > *:nth-child(2),
    .policies__grid > *:nth-child(2) { animation-range: entry 8% entry 53%; }

    .services__grid > *:nth-child(3),
    .gallery__grid > *:nth-child(3),
    .certs__row > *:nth-child(3),
    .stats-band__grid > *:nth-child(3),
    .areas__list > *:nth-child(3),
    .testimonials__grid > *:nth-child(3),
    .policies__grid > *:nth-child(3) { animation-range: entry 16% entry 61%; }

    .services__grid > *:nth-child(4),
    .gallery__grid > *:nth-child(4),
    .certs__row > *:nth-child(4),
    .stats-band__grid > *:nth-child(4),
    .areas__list > *:nth-child(4),
    .testimonials__grid > *:nth-child(4),
    .policies__grid > *:nth-child(4) { animation-range: entry 24% entry 69%; }

    .services__grid > *:nth-child(5),
    .gallery__grid > *:nth-child(5),
    .certs__row > *:nth-child(5),
    .stats-band__grid > *:nth-child(5),
    .areas__list > *:nth-child(5),
    .testimonials__grid > *:nth-child(5),
    .policies__grid > *:nth-child(5) { animation-range: entry 32% entry 77%; }

    .services__grid > *:nth-child(n+6),
    .gallery__grid > *:nth-child(n+6),
    .certs__row > *:nth-child(n+6),
    .stats-band__grid > *:nth-child(n+6),
    .areas__list > *:nth-child(n+6),
    .testimonials__grid > *:nth-child(n+6),
    .policies__grid > *:nth-child(n+6) { animation-range: entry 40% entry 85%; }

    .hero__img {
      animation: wb-canopy-parallax linear both;
      animation-timeline: view();
      animation-range: exit;
    }
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
  .js-anim .reveal-up { opacity: 1 !important; transform: none !important; }
}

img[src=""], img:not([src]) { display: none !important; }


/* __wobooks-defensive__ — appended by HtmlZipThemeConverterV2.
   Hide images whose src resolves to empty (e.g. data-src-field bindings
   for Items / categories the owner hasn't uploaded a photo for yet).
   Without this rule, the browser shows the alt-text fallback —
   that's the bug behind the literal word 'image' showing in avatar
   slots and About images on the production Braise theme. */
img[src=""], img:not([src]) { display: none !important; }

/* Palette roles (BrandColourRoles, 2026-10-06): brand-coloured text on a band this theme draws dark keeps a lightness floor; text on a brand fill follows the fill. */
:where(.section--forest) .section-eyebrow--sand { color: oklch(from var(--primary) clamp(0, (0.57 - l) * 1000, 1) 0 0); }
:where(.section--forest) .service-card__sub { color: oklch(from var(--primary) clamp(0, (0.57 - l) * 1000, 1) 0 0); }
:where(.section--forest) .service-card__price { color: oklch(from var(--primary) clamp(0, (0.57 - l) * 1000, 1) 0 0); }
:where(.section--forest) .quote__feature-num { color: oklch(from var(--primary) clamp(0, (0.57 - l) * 1000, 1) 0 0); }
:where([data-section="footer"]) .footer__links h3 { color: oklch(from var(--primary) clamp(0, (0.57 - l) * 1000, 1) 0 0); }
:where([data-section="footer"]) .footer__nav h3 { color: oklch(from var(--primary) clamp(0, (0.57 - l) * 1000, 1) 0 0); }
:where([data-section="footer"]) .footer__social h3 { color: oklch(from var(--primary) clamp(0, (0.57 - l) * 1000, 1) 0 0); }

/* Palette roles, item 53 (BrandColourRoles, 2026-10-06): text on a band filled with a palette brand colour follows the fill; brand-coloured text on a band this theme draws dark keeps a lightness floor. */
:where(.section--forest) .quote__feature-item p { color: oklch(from var(--primary) clamp(0, (0.57 - l) * 1000, 1) 0 0); }
[data-section="footer"] { color: oklch(from var(--primary) clamp(0, (0.57 - l) * 1000, 1) 0 0); }
:where(.section--forest) .section-header--light p { color: oklch(from var(--primary) clamp(0, (0.57 - l) * 1000, 1) 0 0); }
.emergency-band p { color: oklch(from var(--primary) clamp(0, (0.57 - l) * 1000, 1) 0 0); }
:where(.section--forest) .quote__info p { color: oklch(from var(--primary) clamp(0, (0.57 - l) * 1000, 1) 0 0); }

/* Own contrast (Weave item 54, theme:palette-stress --heal): with no palette, these read 4.5:1 on the theme's own
   backgrounds; each was proven by rendering the page. The palette block (html:root) still overrides the tokens. */
:root {
  --muted: #5d7067; /* was #7a8e84 */
}
.footer__links a, .footer__nav a, .footer__social a { color: oklch(from rgba(255, 255, 255, 0.5) calc(l + 0.02) c h / calc(min(1, alpha + 0.06))); }
.service-card__num { color: oklch(from rgba(196, 168, 130, 0.35) calc(l + 0.1) c h / calc(min(1, alpha + 0.3))); }
.service-card__link { color: oklch(from rgba(255, 255, 255, 0.5) calc(l + 0.02) c h / calc(min(1, alpha + 0.06))); }
.footer__bottom { color: oklch(from rgba(255, 255, 255, 0.3) calc(l + 0.1) c h / calc(min(1, alpha + 0.3))); }
.footer__bottom a { color: oklch(from rgba(255, 255, 255, 0.3) calc(l + 0.1) c h / calc(min(1, alpha + 0.3))); }

/* phone-header-fit: at phone width a real business name fills the logo, so the brand truncates
   before it can push the menu toggle off-screen, and the toggle stays pinned right. On a phone
   the header's quote button gives way to the brand; the hero carries the same call. */
@media (max-width: 768px) {
  [data-section="header"] .logo { flex-shrink: 1; min-width: 0; }
  [data-section="header"] .logo .wb-header-brand { max-width: 100% !important; }
  .nav__actions { flex-shrink: 0; }
}
@media (max-width: 480px) {
  .nav__actions .btn { display: none; }
}
/* /phone-header-fit */

/* Own contrast (Weave item 54, theme:palette-stress --heal): with no palette, these read 4.5:1 on the theme's own
   backgrounds; each was proven by rendering the page. The palette block (html:root) still overrides the tokens. */
.contact__list-label { color: oklch(from var(--accent) min(l, 0.497) c h / alpha); }
