/* ==========================================================================
   Hunley Lawn & Landscape — styles.css
   Brand colors: #009348 green · #8DC63F lime · #1B4332 dark green · #2D3748 gray
   ========================================================================== */

:root {
  /* Brand palette — Hunley Lawn & Landscape */
  --forest: #1B4332;
  --forest-deep: #123026;
  --olive: #009348;
  --moss: #6f8f4f;
  --sun: #8DC63F;
  --sun-deep: #009348;
  --terracotta: #127c46;
  --cream: #f4f7ee;
  --cream-2: #e9efe0;
  --sand: #dbe6c8;
  --ink: #22312a;
  --ink-soft: #3a463f;
  --muted: #586759;
  --olive-text: #006e35;
  --line: #d7e2c8;

  /* Type — matches the Hunley wordmark (condensed industrial sans) */
  --ff-display: "Barlow Condensed", "Oswald", "Impact", system-ui, sans-serif;
  --ff-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* Space — more generous, fluid. Scale tokens for consistent rhythm. */
  --container: 1240px;
  --container-narrow: 1040px;
  --gutter: clamp(1.25rem, 5vw, 2.5rem);
  --space-3xs: .25rem;
  --space-2xs: .5rem;
  --space-xs: .75rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.25rem;
  --space-xl: 3.5rem;
  --space-2xl: 5rem;
  --space-3xl: 7rem;
  --space-4xl: 10rem;
  /* Variable vertical rhythm by section weight */
  --section-y-sm: clamp(2.75rem, 5.5vw, 4.5rem);
  --section-y:    clamp(3.5rem, 7vw, 6rem);
  --section-y-lg: clamp(4rem, 8.5vw, 7.5rem);
  --section-head-gap: clamp(2rem, 4vw, 3.25rem);

  /* Radii */
  --r-sm: 6px;
  --r-md: 14px;
  --r-lg: 24px;
  --r-xl: 36px;

  /* Motion */
  --ease: cubic-bezier(.2,.7,.2,1);
  --ease-bounce: cubic-bezier(.34,1.56,.64,1);
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--ff-sans);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.55;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
button { font: inherit; cursor: pointer; background: none; border: 0; color: inherit; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; padding: 0; }
input, textarea, select { font: inherit; color: inherit; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }

/* Typography */
.eyebrow {
  font-family: var(--ff-sans);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--olive-text);
  margin-bottom: 1.1rem;
  display: inline-flex;
  align-items: center;
  gap: .7rem;
}
.eyebrow::before { content: none; }
.eyebrow--light { color: var(--sun); }
.eyebrow--sun { color: var(--olive-text); }
/* On dark section backgrounds, use lime for high contrast */
.projects .eyebrow, .membership .eyebrow, .about-stats .eyebrow,
[data-theme="dark"] .eyebrow--sun { color: var(--sun); }

.h2 {
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: clamp(2.35rem, 5vw, 4.25rem);
  line-height: 1;
  letter-spacing: -.005em;
  text-transform: none;
  color: var(--forest);
}
.h2 em {
  font-style: italic;
  color: var(--olive-text);
  font-weight: 700;
}
.h3 {
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: clamp(1.5rem, 2.4vw, 1.95rem);
  line-height: 1.1;
  letter-spacing: 0;
  color: var(--forest);
}
.h4 {
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: 1.4rem;
  line-height: 1.15;
  color: var(--forest);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  padding: .9rem 1.55rem;
  min-height: 48px;
  border-radius: 999px;
  font-family: var(--ff-sans);
  font-weight: 600;
  font-size: .95rem;
  line-height: 1.1;
  letter-spacing: .01em;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .2s var(--ease), background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), box-shadow .25s var(--ease);
  white-space: nowrap;
  text-decoration: none;
}
.btn--primary { background: var(--forest); color: var(--cream); }
.btn--primary:hover { background: var(--olive); transform: translateY(-1px); box-shadow: 0 10px 22px -12px rgba(0,110,53,.55); }
.btn--sun { background: var(--sun); color: var(--forest-deep); border-color: var(--sun); }
.btn--sun:hover { background: var(--sun-deep); color: #fff; border-color: var(--sun-deep); transform: translateY(-1px); box-shadow: 0 12px 26px -12px rgba(0,110,53,.6); }
.btn--ghost { background: transparent; color: var(--forest); border-color: var(--forest); }
.btn--ghost:hover { background: var(--forest); color: var(--cream); transform: translateY(-1px); }
.btn--outline-light { background: transparent; color: var(--cream); border-color: rgba(247,242,232,.55); }
.btn--outline-light:hover { background: var(--cream); color: var(--forest); border-color: var(--cream); transform: translateY(-1px); }
.btn--lg { padding: 1.05rem 1.9rem; min-height: 54px; font-size: 1rem; }
.btn--block { width: 100%; }
.btn:active { transform: translateY(0) scale(.98); }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-weight: 600;
  color: var(--forest);
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
  transition: gap .2s var(--ease), color .2s var(--ease);
}
.link-arrow:hover { gap: .75rem; color: var(--terracotta); }

/* Announcement — slim top strip */
.announcement { background: var(--forest); color: var(--cream); font-size: .78rem; }
.announcement__inner {
  display: flex; justify-content: center; align-items: center;
  gap: .85rem; padding: .32rem 0; flex-wrap: wrap;
}
.announcement__glyph { width: 14px; height: 14px; opacity: .9; }
.announcement__logo { width: 22px; height: 22px; object-fit: contain; flex: none; opacity: .95; }
.announcement__cta {
  font-weight: 600; color: var(--sun);
  border-bottom: 1px solid transparent; transition: border-color .2s var(--ease);
}
.announcement__cta:hover { border-color: var(--sun); }

/* ==========================================================================
   HEADER + NAV — logo-forward layout
   Grid: [left nav]  [centered big logo]  [right nav + CTA]
   When scrolled, the logo shrinks elegantly and the bar tightens.
   ========================================================================== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--cream) 88%, transparent);
  backdrop-filter: saturate(1.5) blur(16px);
  -webkit-backdrop-filter: saturate(1.5) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), background .3s var(--ease), box-shadow .3s var(--ease);
}
.site-header.is-scrolled {
  border-bottom-color: var(--line);
  background: color-mix(in srgb, var(--cream) 96%, transparent);
  box-shadow: 0 6px 20px -18px rgba(42,67,52,.5);
}
.site-header__inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 2rem;
  padding: clamp(.4rem, .8vw, .65rem) var(--gutter);
  transition: padding .3s var(--ease);
}
.site-header.is-scrolled .site-header__inner { padding-block: clamp(.3rem, .5vw, .45rem); }

/* --- Brand / Logo (left) --- */
.brand {
  display: inline-flex; align-items: center;
  color: var(--forest);
  position: relative;
  line-height: 0;
}
/* Brand logo image sizing lives in the Hunley overrides block at the end. */

/* Nav — center column, inline-flex */
.nav--primary { grid-column: 2; justify-self: center; }
.site-header__right {
  grid-column: 3; display: flex; align-items: center; gap: 1rem; justify-self: end;
}
.nav__list { display: flex; gap: 1.4rem; align-items: center; }
.nav__list > li { position: relative; }
.nav__list a {
  font-size: .95rem; font-weight: 500; color: var(--forest);
  display: inline-flex; align-items: center; gap: .3rem;
  padding: .35rem 0; position: relative;
  transition: color .2s var(--ease);
}
.nav__list > li > a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -3px;
  height: 2px; background: var(--sun-deep);
  transform: scaleX(0); transform-origin: left;
  transition: transform .3s var(--ease);
}
.nav__list > li > a:hover { color: var(--sun-deep); }
.nav__list > li > a:hover::after { transform: scaleX(1); }
.caret { font-size: .7em; opacity: .6; transition: transform .2s var(--ease); }

/* Dropdown */
.has-dropdown .dropdown {
  position: absolute; top: calc(100% + 10px); left: -1rem;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: .75rem;
  min-width: 280px;
  box-shadow: 0 20px 40px -20px rgba(26,44,34,.25);
  opacity: 0; pointer-events: none; transform: translateY(6px);
  transition: opacity .2s var(--ease), transform .2s var(--ease);
  z-index: 60;
}
.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown { opacity: 1; pointer-events: auto; transform: translateY(0); }
.has-dropdown:hover > a .caret { transform: rotate(180deg); }
.dropdown li { display: block; }
.dropdown a {
  display: flex; flex-direction: column; gap: 2px;
  padding: .7rem .85rem; border-radius: var(--r-sm);
  transition: background .15s var(--ease);
}
.dropdown a:hover { background: var(--cream-2); }
.dropdown a strong {
  font-family: var(--ff-display); font-weight: 700;
  color: var(--forest); font-size: 1rem;
}
.dropdown a span {
  font-size: .82rem; color: var(--muted); font-weight: 400;
}

.phone-link {
  display: inline-flex; align-items: center; gap: .45rem;
  font-size: .88rem; font-weight: 600; color: var(--forest);
  padding: .4rem .6rem; border-radius: 999px;
  transition: background .25s var(--ease), color .2s var(--ease);
}
.phone-link:hover { color: var(--terracotta); background: color-mix(in srgb, var(--sun) 15%, transparent); }
.phone-link svg { opacity: .85; }

/* Primary button — sun-flair accent on hover */
.btn--sunflair { position: relative; overflow: hidden; }
.btn--sunflair::before {
  content: "";
  position: absolute; inset: -2px;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%),
    color-mix(in srgb, var(--sun) 60%, transparent) 0%, transparent 60%);
  opacity: 0; transition: opacity .3s var(--ease);
  pointer-events: none;
}
.btn--sunflair:hover::before { opacity: 1; }
.btn--sunflair > span { position: relative; z-index: 1; }

.nav-toggle {
  display: none; width: 40px; height: 40px;
  flex-direction: column; justify-content: center; align-items: center;
  gap: 5px; border-radius: var(--r-sm);
}
.nav-toggle span { width: 22px; height: 2px; background: var(--forest); transition: transform .25s var(--ease), opacity .25s var(--ease); }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  color: var(--cream);
  padding-bottom: 0;
}
.hero__media { position: absolute; inset: 0; z-index: -1; }
.hero__image, .hero__video { width: 100%; height: 100%; object-fit: cover; }
.hero__video { background: var(--forest-deep); }
.hero__overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(100deg, rgba(11,30,22,.92) 0%, rgba(11,30,22,.74) 40%, rgba(11,30,22,.5) 72%, rgba(11,30,22,.42) 100%),
    linear-gradient(180deg, rgba(11,30,22,.5) 0%, rgba(11,30,22,.28) 42%, rgba(11,30,22,.72) 100%);
}
.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(330px, 430px);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
  padding-top: clamp(2rem, 4vw, 3.25rem);
  padding-bottom: clamp(2.5rem, 6vw, 4.5rem);
}
.hero__text { max-width: 640px; }
.hero__watermark {
  position: absolute;
  right: -6%; bottom: -8%;
  width: clamp(320px, 45vw, 640px);
  height: auto;
  opacity: .08;
  pointer-events: none;
  z-index: 0;
}
.hero__title {
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: clamp(3rem, 8.5vw, 6.25rem);
  line-height: .95;
  letter-spacing: -.005em;
  text-transform: uppercase;
  color: var(--cream);
  margin-bottom: 1.5rem;
}
.hero__title em {
  font-style: italic;
  font-weight: 700;
  color: var(--sun);
  display: inline-block;
}
.word-line { display: block; overflow: hidden; }
.word-line > .word,
.word-line > em > .word {
  display: inline-block;
  opacity: 0;
  transform: translateY(110%) rotate(3deg);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
  will-change: transform, opacity;
}
.is-revealed .word-line > .word,
.is-revealed .word-line > em > .word {
  opacity: 1;
  transform: translateY(0) rotate(0);
}
.hero__lede {
  max-width: 640px; font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  color: color-mix(in srgb, var(--cream) 88%, transparent);
  margin-bottom: 2.25rem;
}
.hero__cta { display: flex; gap: .85rem 1rem; flex-wrap: wrap; }

.hero__meta-wrap {
  background: var(--forest);
  color: var(--cream);
  border-top: 1px solid color-mix(in srgb, var(--cream) 12%, transparent);
}
.hero__meta {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 1.5rem;
  padding: 1.5rem 0;
}
.hero__meta > div {
  display: flex; flex-direction: column;
  padding-left: 1.25rem;
  border-left: 2px solid color-mix(in srgb, var(--sun) 40%, transparent);
}
.hero__meta strong {
  font-family: var(--ff-display);
  font-size: clamp(1.6rem, 2.4vw, 2.25rem);
  font-variation-settings: "opsz" 96, "SOFT" 40;
  font-weight: 700;
  color: var(--sun);
  line-height: 1;
  letter-spacing: -.02em;
}
.hero__meta span {
  font-size: .82rem;
  color: color-mix(in srgb, var(--cream) 70%, transparent);
  margin-top: .75rem;
  letter-spacing: .02em;
}

/* ==========================================================================
   SECTION HEADS
   ========================================================================== */
.section-head { margin-bottom: clamp(2rem, 5vw, 4rem); max-width: 800px; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.section-head--split {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(240px, .85fr);
  align-items: start;
  column-gap: clamp(1.5rem, 3vw, 3rem);
  row-gap: 1.25rem;
  max-width: none;
}
.section-head--split > :first-child { max-width: 42rem; }
.section-head--split > .pullquote,
.section-head--split > .link-arrow { justify-self: end; }
.section-head__sub { color: var(--ink-soft); margin-top: 1rem; font-size: 1.05rem; max-width: 50ch; }
.section-head--center .section-head__sub { margin-inline: auto; }
.section-head__note { max-width: 36ch; color: var(--ink-soft); }
.section-foot { margin-top: 3rem; text-align: center; }

.pullquote {
  max-width: 28ch; font-family: var(--ff-display);
  font-style: italic; font-size: 1.1rem; color: var(--ink-soft);
  border-left: 2px solid var(--terracotta); padding-left: 1.25rem;
}
.pullquote cite {
  display: block; font-style: normal; font-size: .85rem;
  color: var(--muted); margin-top: .5rem; font-family: var(--ff-sans);
}

/* ==========================================================================
   FEATURES (3-col cards)
   ========================================================================== */
.features { padding: var(--section-y-lg) 0 var(--section-y) 0; }
.features__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}
.feature-card {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
  color: var(--ink);
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -20px rgba(42,67,52,.25);
  border-color: var(--forest);
}
.feature-card__media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--sand);
}
.feature-card__media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s var(--ease);
}
.feature-card:hover .feature-card__media img { transform: scale(1.04); }
.feature-card__body {
  padding: 1.4rem 1.6rem 1.6rem;
  display: grid;
  grid-template-columns: 46px 1fr;
  grid-template-areas: "icon title" "body body" "cta cta";
  column-gap: 1rem;
  row-gap: .55rem;
  align-items: center;
  flex: 1;
}
.feature-card__body .h3 { grid-area: title; margin: 0; align-self: center; line-height: 1.1; }
.feature-card__body p { grid-area: body; margin: 0; color: var(--ink-soft); }
.feature-card__body .link-arrow { grid-area: cta; align-self: flex-start; margin-top: .25rem; }
.feature-card__icon { grid-area: icon; width: 46px !important; height: 46px !important; align-self: center; }
.feature-card__num {
  font-family: var(--ff-display);
  font-size: 1.05rem; font-weight: 700; letter-spacing: .05em;
  color: var(--olive-text);
}

/* ==========================================================================
   FEATURE BLOCK (Commercial) — big side-by-side
   ========================================================================== */
.feature-block { padding: var(--section-y-lg) 0; background: var(--cream-2); position: relative; overflow: hidden; }
.feature-block__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}
.feature-block--reverse .feature-block__grid > .feature-block__media { order: -1; }
.feature-block__media {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 4 / 4;
}
.feature-block__media img { width: 100%; height: 100%; object-fit: cover; }
.feature-block__badge {
  position: absolute; left: 1.25rem; bottom: 1.25rem;
  background: var(--sun); color: var(--forest-deep);
  padding: .75rem 1rem; border-radius: var(--r-sm);
  display: flex; flex-direction: column; line-height: 1.1;
  box-shadow: 0 10px 30px -10px rgba(0,0,0,.3);
}
.feature-block__badge strong { font-family: var(--ff-display); font-size: 1.2rem; margin-bottom: 2px; }
.feature-block__badge span { font-size: .78rem; font-weight: 700; }

.feature-list { display: flex; flex-direction: column; gap: .6rem; margin: 1.5rem 0 2rem; }
.feature-list li {
  padding-left: 1.75rem; position: relative; color: var(--ink-soft);
}
.feature-list li::before {
  content: ""; position: absolute; left: 0; top: .55em;
  width: 10px; height: 10px; border-radius: 2px; background: var(--sun);
}
.feature-list--light li { color: color-mix(in srgb, var(--cream) 85%, transparent); }
.feature-list--light li::before { background: var(--sun); }

.feature-block__copy .h2 { margin-bottom: 1.25rem; }
.feature-block__copy > p { color: var(--ink-soft); max-width: 52ch; }

/* ==========================================================================
   PROCESS
   ========================================================================== */
.process { padding: var(--section-y-sm) 0 var(--section-y) 0; position: relative; }
.process__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  position: relative;
}
.process__list::before {
  content: "";
  position: absolute; top: 26px; left: 12%; right: 12%;
  height: 1px;
  background: repeating-linear-gradient(90deg, var(--line) 0 8px, transparent 8px 16px);
  z-index: 0;
}
.process__step {
  background: var(--cream-2);
  padding: 1.5rem 1.5rem 1.75rem;
  border-radius: var(--r-md);
  position: relative;
  border: 1px solid var(--line);
  display: grid;
  grid-template-columns: 52px 1fr;
  grid-template-areas: "num title" "body body";
  column-gap: 1rem;
  row-gap: .35rem;
  align-items: center;
}
.process__num {
  grid-area: num;
  display: inline-flex; align-items: center; justify-content: center;
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--forest); color: var(--sun);
  font-family: var(--ff-display); font-size: 1.2rem; font-weight: 700;
  position: relative; z-index: 1;
  margin: 0;
}
.process__step h3 {
  grid-area: title;
  margin: 0;
  line-height: 1.1;
  align-self: center;
}
.process__step p { grid-area: body; margin: .5rem 0 0; }
.process__icon { display: none; }
.process__step h3 { margin-bottom: .5rem; }
.process__step p { color: var(--ink-soft); }
.process__cta { text-align: center; margin-top: 3rem; }

/* ==========================================================================
   PROJECTS
   ========================================================================== */
.projects { padding: var(--section-y-lg) 0; background: var(--forest); color: var(--cream); }
.projects .h2 { color: var(--cream); }
.projects .pullquote { color: color-mix(in srgb, var(--cream) 80%, transparent); border-color: var(--sun); }
.projects .pullquote cite { color: color-mix(in srgb, var(--cream) 55%, transparent); }

.projects__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 220px;
  grid-auto-flow: dense;
  gap: 1rem;
}
.project {
  position: relative; overflow: hidden; border-radius: var(--r-md);
  grid-column: span 1; grid-row: span 1;
}
.project--tall { grid-row: span 2; }
.project--wide { grid-column: span 2; }
.project img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .6s var(--ease);
}
.project:hover img { transform: scale(1.06); }
.project figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 1rem 1.25rem;
  background: linear-gradient(180deg, transparent 0%, rgba(27,44,34,.9) 100%);
  font-size: .9rem; font-weight: 500; color: var(--cream);
}

/* ==========================================================================
   TESTIMONIALS
   ========================================================================== */
.testimonials { padding: var(--section-y) 0; background: var(--cream-2); position: relative; overflow: hidden; }
.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.review {
  background: var(--cream);
  padding: 2rem;
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 1.25rem;
}
.review__stars { color: var(--sun-deep); letter-spacing: .15em; font-size: 1.1rem; }
.review blockquote {
  font-family: var(--ff-display); font-size: 1.1rem; line-height: 1.4;
  color: var(--forest); font-style: italic;
}
.review figcaption { margin-top: auto; display: flex; align-items: center; gap: .85rem; }
.review__avatar {
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--forest); color: var(--sun);
  font-family: var(--ff-display); font-weight: 600; font-size: .9rem;
  letter-spacing: .02em; flex: none;
}
.review figcaption strong { display: block; font-family: var(--ff-sans); font-size: .95rem; }
.review figcaption span { font-size: .8rem; color: var(--muted); }

/* ==========================================================================
   MEMBERSHIP (Seasonal Care Plan)
   ========================================================================== */
.membership {
  padding: var(--section-y-sm) 0;
  background: var(--forest-deep);
  color: var(--cream);
  position: relative; overflow: hidden;
}
.membership::before {
  content: "";
  position: absolute; top: -120px; right: -80px;
  width: 360px; height: 360px; border-radius: 50%;
  background: radial-gradient(circle, var(--sun) 0%, transparent 70%);
  opacity: .25; filter: blur(20px); pointer-events: none;
}
.membership__leaf {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  opacity: .07;
  mix-blend-mode: screen;
  pointer-events: none;
  z-index: 0;
}
.membership__stamp {
  position: absolute;
  left: -4%; bottom: -6%;
  width: clamp(200px, 22vw, 320px);
  height: auto;
  opacity: .07;
  transform: rotate(-8deg);
  pointer-events: none;
  z-index: 0;
}
.membership__grid {
  display: grid; grid-template-columns: 1.1fr 1fr;
  gap: clamp(2rem, 6vw, 5rem); align-items: center;
  position: relative; z-index: 1;
}
.membership .h2 { color: var(--cream); margin-bottom: 1.25rem; }
.membership__copy > p {
  color: color-mix(in srgb, var(--cream) 80%, transparent);
  max-width: 52ch;
}
.membership__cta { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: .5rem; }
.membership__media {
  aspect-ratio: 4 / 4.5; border-radius: var(--r-xl); overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--cream) 15%, transparent);
}
.membership__media img { width: 100%; height: 100%; object-fit: cover; }

/* ==========================================================================
   TEAM
   ========================================================================== */
.team { padding: var(--section-y-sm) 0; }
.team__grid {
  display: grid; grid-template-columns: 1.1fr 1fr;
  gap: clamp(2rem, 6vw, 5rem); align-items: center;
}
.team__copy p { color: var(--ink-soft); margin: 1.25rem 0 2rem; max-width: 50ch; }
.team__portrait {
  aspect-ratio: 4 / 4.5; border-radius: var(--r-xl); overflow: hidden;
  background: var(--forest);
}
.team__portrait img { width: 100%; height: 100%; object-fit: cover; }

/* ==========================================================================
   UPDATES (horizontal scrolling news strip)
   ========================================================================== */
.updates { padding: var(--section-y-sm) 0; background: var(--cream-2); }
.updates__scroll {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(280px, 320px);
  gap: 1.25rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 1.5rem;
  margin-inline: calc(-1 * var(--gutter));
  padding-inline: var(--gutter);
  scrollbar-width: thin;
}
.updates__scroll::-webkit-scrollbar { height: 8px; }
.updates__scroll::-webkit-scrollbar-track { background: transparent; }
.updates__scroll::-webkit-scrollbar-thumb { background: var(--line); border-radius: 4px; }

.update-card {
  background: var(--cream);
  border-radius: var(--r-md);
  overflow: hidden;
  display: flex; flex-direction: column;
  border: 1px solid var(--line);
  scroll-snap-align: start;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.update-card:hover { transform: translateY(-4px); box-shadow: 0 16px 30px -16px rgba(42,67,52,.25); }
.update-card img { width: 100%; aspect-ratio: 5 / 3; object-fit: cover; }
.update-card__body { padding: 1.25rem 1.25rem 1.5rem; display: flex; flex-direction: column; gap: .5rem; }
.update-card__tag {
  align-self: flex-start;
  font-size: .72rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--terracotta);
  background: color-mix(in srgb, var(--terracotta) 12%, transparent);
  padding: .3rem .6rem; border-radius: 999px;
}
.update-card h3 {
  font-family: var(--ff-display); font-size: 1.1rem; font-weight: 700;
  color: var(--forest); line-height: 1.25;
}
.update-card p { color: var(--ink-soft); font-size: .92rem; }

/* ==========================================================================
   SHOP
   ========================================================================== */
.shop { padding: var(--section-y-sm) 0; }
.shop__grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem;
}
.product { display: block; transition: transform .25s var(--ease); }
.product:hover { transform: translateY(-4px); }
.product__img {
  aspect-ratio: 1;
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--cream-2);
  margin-bottom: 1rem;
}
.product__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s var(--ease); }
.product:hover .product__img img { transform: scale(1.04); }
.product h3 {
  font-family: var(--ff-display); font-size: 1.05rem; font-weight: 700;
  color: var(--forest); margin-bottom: .2rem;
}
.product p { font-size: .95rem; color: var(--ink-soft); }

/* ==========================================================================
   CONTACT
   ========================================================================== */
.contact { padding: var(--section-y) 0; background: var(--cream-2); }
.contact__grid {
  display: grid; grid-template-columns: 1fr 1.2fr;
  gap: clamp(2rem, 6vw, 5rem); align-items: start;
}
.contact__copy p { color: var(--ink-soft); margin: 1.25rem 0 2rem; max-width: 40ch; }
.contact__details {
  display: flex; flex-direction: column; gap: 1rem;
  border-top: 1px solid var(--line); padding-top: 2rem;
}
.contact__details li {
  display: grid; grid-template-columns: 110px 1fr; gap: 1rem;
  align-items: baseline;
}
.contact__label {
  font-size: .78rem; font-weight: 600; letter-spacing: .14em;
  text-transform: uppercase; color: var(--muted);
}
.contact__details a { border-bottom: 1px solid transparent; transition: border-color .2s var(--ease); }
.contact__details a:hover { border-color: currentColor; }

.contact-form {
  background: var(--cream);
  padding: clamp(1.5rem, 3vw, 2.5rem);
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 1rem;
}
.field { display: flex; flex-direction: column; gap: .4rem; }
.field label {
  font-size: .8rem; font-weight: 600; letter-spacing: .1em;
  text-transform: uppercase; color: var(--ink-soft);
}
.field input, .field select, .field textarea {
  padding: .85rem 1rem; border-radius: var(--r-sm);
  border: 1px solid var(--line); background: var(--cream);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
  font-size: 1rem;
}
.field textarea { resize: vertical; min-height: 120px; font-family: inherit; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--forest);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--forest) 15%, transparent);
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-note { text-align: center; font-size: .85rem; color: var(--muted); }

/* ==========================================================================
   FOOTER (5-column)
   ========================================================================== */
.site-footer {
  background: var(--forest-deep); color: var(--cream);
  padding: clamp(3rem,6vw,5rem) 0 1.5rem;
}
.site-footer__inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.1fr 1.3fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid color-mix(in srgb, var(--cream) 15%, transparent);
}
.footer-logo {
  width: 140px; height: auto;
  margin-bottom: 1.25rem;
  display: block;
}
.site-footer__brand p {
  color: color-mix(in srgb, var(--cream) 70%, transparent);
  max-width: 32ch;
}
.footer-social { display: flex; gap: .5rem; margin-top: 1.25rem; }
.footer-social a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 50%;
  background: color-mix(in srgb, var(--cream) 10%, transparent);
  color: var(--cream); font-size: .8rem; font-weight: 600; letter-spacing: .05em;
  transition: background .2s var(--ease), color .2s var(--ease);
}
.footer-social a:hover { background: var(--sun); color: var(--forest-deep); }

.site-footer h4 {
  font-family: var(--ff-sans); font-size: .8rem;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--sun); margin-bottom: 1rem; font-weight: 600;
}
.site-footer ul li { margin-bottom: .6rem; font-size: .95rem; color: color-mix(in srgb, var(--cream) 80%, transparent); }
.site-footer ul a { transition: color .2s var(--ease); }
.site-footer ul a:hover { color: var(--sun); }

.footer-newsletter-copy {
  color: color-mix(in srgb, var(--cream) 70%, transparent);
  font-size: .9rem; margin-bottom: 1rem;
}
.footer-newsletter {
  display: flex; gap: .5rem;
  background: color-mix(in srgb, var(--cream) 10%, transparent);
  padding: .3rem; border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--cream) 15%, transparent);
}
.footer-newsletter input {
  flex: 1; min-width: 0;
  background: transparent; border: 0; outline: none;
  color: var(--cream); padding: .5rem .8rem;
  font-size: .9rem;
}
.footer-newsletter input::placeholder { color: color-mix(in srgb, var(--cream) 50%, transparent); }
.footer-newsletter button {
  background: var(--sun); color: var(--forest-deep);
  padding: .55rem 1.1rem; border-radius: 999px;
  font-weight: 600; font-size: .9rem;
  transition: background .2s var(--ease);
}
.footer-newsletter button:hover { background: var(--sun-deep); }

.site-footer__legal {
  display: flex; justify-content: space-between;
  padding-top: 1.5rem; flex-wrap: wrap; gap: 1rem;
}
.site-footer__legal small { color: color-mix(in srgb, var(--cream) 55%, transparent); }

/* ==========================================================================
   SCROLL-REVEAL UTILITIES
   ========================================================================== */
[data-reveal] {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}
[data-reveal="fade"] { transform: translateY(16px); }
[data-reveal].in-view {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children inside reveal containers */
.features__grid [data-reveal]:nth-child(1) { --reveal-delay:   0ms; }
.features__grid [data-reveal]:nth-child(2) { --reveal-delay: 120ms; }
.features__grid [data-reveal]:nth-child(3) { --reveal-delay: 240ms; }
.process__list [data-reveal]:nth-child(1)  { --reveal-delay:   0ms; }
.process__list [data-reveal]:nth-child(2)  { --reveal-delay: 120ms; }
.process__list [data-reveal]:nth-child(3)  { --reveal-delay: 240ms; }
.testimonials__grid [data-reveal]:nth-child(1) { --reveal-delay:   0ms; }
.testimonials__grid [data-reveal]:nth-child(2) { --reveal-delay: 120ms; }
.testimonials__grid [data-reveal]:nth-child(3) { --reveal-delay: 240ms; }
.shop__grid [data-reveal]:nth-child(1) { --reveal-delay:   0ms; }
.shop__grid [data-reveal]:nth-child(2) { --reveal-delay:  90ms; }
.shop__grid [data-reveal]:nth-child(3) { --reveal-delay: 180ms; }
.shop__grid [data-reveal]:nth-child(4) { --reveal-delay: 270ms; }
.updates__scroll [data-reveal]:nth-child(1) { --reveal-delay:   0ms; }
.updates__scroll [data-reveal]:nth-child(2) { --reveal-delay:  90ms; }
.updates__scroll [data-reveal]:nth-child(3) { --reveal-delay: 180ms; }
.updates__scroll [data-reveal]:nth-child(4) { --reveal-delay: 270ms; }
.projects__grid [data-reveal]:nth-child(1) { --reveal-delay:   0ms; }
.projects__grid [data-reveal]:nth-child(2) { --reveal-delay:  80ms; }
.projects__grid [data-reveal]:nth-child(3) { --reveal-delay: 160ms; }
.projects__grid [data-reveal]:nth-child(4) { --reveal-delay: 240ms; }
.projects__grid [data-reveal]:nth-child(5) { --reveal-delay: 320ms; }
.projects__grid [data-reveal]:nth-child(6) { --reveal-delay: 400ms; }
.projects__grid [data-reveal]:nth-child(7) { --reveal-delay: 480ms; }
.projects__grid [data-reveal]:nth-child(8) { --reveal-delay: 560ms; }

/* ==========================================================================
   MARQUEE TICKER
   ========================================================================== */
/* Marquee removed — replaced with .service-strip (static pills) */

/* ==========================================================================
   MAGNETIC BUTTON EFFECT
   ========================================================================== */
.btn--magnetic {
  position: relative;
  transition: transform .25s var(--ease-bounce), background .2s var(--ease), color .2s var(--ease), box-shadow .3s var(--ease);
  overflow: hidden;
  isolation: isolate;
}
.btn--magnetic::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(circle at var(--mx,50%) var(--my,50%), color-mix(in srgb, var(--sun) 40%, transparent) 0%, transparent 60%);
  opacity: 0;
  transition: opacity .3s var(--ease);
  z-index: -1;
  border-radius: inherit;
}
.btn--magnetic:hover::before { opacity: 1; }
.btn--magnetic:hover { box-shadow: 0 12px 30px -15px rgba(141,198,63,.55); }

/* ==========================================================================
   HOVER TILT on feature cards
   ========================================================================== */
[data-tilt] {
  transform-style: preserve-3d;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .3s var(--ease);
}
[data-tilt].is-tilted {
  transform: perspective(1000px) rotateX(var(--tx,0deg)) rotateY(var(--ty,0deg)) translateY(-4px);
}

/* ==========================================================================
   PROJECT CARD HOVER
   ========================================================================== */
.project {
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.project:hover {
  transform: translateY(-4px);
  box-shadow: 0 25px 50px -25px rgba(0,0,0,.6);
}
.project figcaption {
  transform: translateY(100%);
  transition: transform .4s var(--ease);
}
.project:hover figcaption { transform: translateY(0); }
/* Show captions on touch devices (no hover) */
@media (hover: none) {
  .project figcaption { transform: translateY(0); }
}

/* ==========================================================================
   FOCUS STATES
   ========================================================================== */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--sun);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1100px) {
  .site-footer__inner { grid-template-columns: 1.5fr 1fr 1fr; }
  .site-footer__brand { grid-column: 1 / -1; padding-bottom: 1rem; border-bottom: 1px solid color-mix(in srgb, var(--cream) 12%, transparent); margin-bottom: 1rem; }
}

@media (max-width: 1180px) {
  /* Tighten nav gaps slightly */
  .nav__list { gap: 1.1rem; }
  .site-header__inner { gap: 1.25rem; }
}

@media (max-width: 1024px) {
  /* Collapse nav to hamburger */
  .nav--primary { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav.is-open {
    display: block !important;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--cream); border-bottom: 1px solid var(--line);
    padding: 1.5rem var(--gutter);
    animation: mobile-nav-in .35s var(--ease);
    box-shadow: 0 20px 40px -20px rgba(26,44,34,.25);
  }
  @keyframes mobile-nav-in {
    from { opacity: 0; transform: translateY(-8px); }
    to   { opacity: 1; transform: translateY(0); }
  }
  .nav.is-open .nav__list { flex-direction: column; gap: 1rem; align-items: flex-start; width: 100%; }
  .nav.is-open .nav__list a { font-size: 1.05rem; }
  .nav.is-open .dropdown { position: static; opacity: 1; pointer-events: auto; transform: none; box-shadow: none; border: 0; padding: .5rem 0 0 1rem; background: transparent; min-width: 0; }
  .phone-link { display: none; }

  .features__grid { grid-template-columns: 1fr; }
  .feature-block__grid { grid-template-columns: 1fr; }
  .feature-block--reverse .feature-block__grid > .feature-block__media { order: 0; }
  .process__list { grid-template-columns: 1fr; }
  .process__list::before { display: none; }
  .projects__grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 200px; }
  .project--tall { grid-row: span 1; }
  .project--wide { grid-column: span 2; }
  .testimonials__grid { grid-template-columns: 1fr; }
  .membership__grid { grid-template-columns: 1fr; }
  .team__grid { grid-template-columns: 1fr; }
  .shop__grid { grid-template-columns: repeat(2, 1fr); }
  .contact__grid { grid-template-columns: 1fr; }
  .hero__meta { grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
  .section-head--split { grid-template-columns: 1fr; }
  .section-head--split > .pullquote,
  .section-head--split > .link-arrow { justify-self: start; }
  .site-footer__inner { grid-template-columns: 1fr 1fr; }

  .marquee__item { font-size: clamp(1.5rem, 7vw, 2.5rem); }
}

@media (max-width: 680px) {
  /* Hide Get a Quote from header on small screens — sticky CTA replaces it */
  .site-header__right .btn--primary { display: none; }
  .phone-link__num { display: none; } /* icon only on mobile */
  .phone-link { padding: .5rem; }
  .hero__title { font-size: clamp(2.5rem, 12vw, 4rem); }
  .projects__grid { grid-template-columns: 1fr; grid-auto-rows: 240px; }
  .project--wide { grid-column: span 1; }
}

@media (max-width: 560px) {
  .site-header__inner { gap: .75rem; padding-block: .7rem; }
  .btn--lg { padding: .9rem 1.4rem; font-size: .95rem; }
  .hero__cta { flex-direction: column; align-items: stretch; }
  .hero__cta .btn { width: 100%; }
  .field-row { grid-template-columns: 1fr; }
  .site-footer__inner { grid-template-columns: 1fr; }
  .hero__meta { grid-template-columns: 1fr; }
  .announcement__inner { font-size: .78rem; gap: .75rem; padding-right: 2rem; }
  .service-strip { padding: .75rem 0; }
  .service-strip__pill { font-size: .75rem; padding: .3rem .7rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto; }
}

/* ==========================================================================
   PAGE LOADER / INTRO ANIMATION
   Plays once per session — revealed home page by way of a dark forest
   curtain that splits open after the logo/sun rays/wordmark animate in.
   ========================================================================== */
body.is-loading { overflow: hidden; }

.loader {
  position: fixed; inset: 0; z-index: 9999;
  cursor: pointer;
}
.loader.is-exiting { pointer-events: none; }
.loader__top, .loader__bottom {
  position: absolute; left: 0; right: 0;
  height: 50%;
  background: var(--forest-deep);
  /* The split reveal happens via transform at the end */
  transition: transform .9s cubic-bezier(.7,.02,.3,1);
  will-change: transform;
}
.loader__top    { top: 0; }
.loader__bottom { bottom: 0; }

/* Hairline seam */
.loader__top::after, .loader__bottom::before {
  content: "";
  position: absolute; left: 0; right: 0;
  height: 1px;
  background: color-mix(in srgb, var(--sun) 35%, transparent);
  opacity: 0;
  animation: loader-seam-fade .6s ease-out forwards;
}
.loader__top::after    { bottom: 0; }
.loader__bottom::before { top: 0; }
@keyframes loader-seam-fade {
  0%   { opacity: 0; transform: scaleX(.2); }
  60%  { opacity: 1; transform: scaleX(1); }
  100% { opacity: 0; transform: scaleX(1); }
}

/* Center stage — drawn above the two halves so it sits in the middle seam */
.loader__stage {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 1.25rem;
  color: var(--cream);
  z-index: 1;
  transition: opacity .45s ease-out;
}

/* Sun with radiating rays — logo sits at center, rays radiate outward */
.loader__sun {
  position: relative;
  width: clamp(280px, 34vw, 440px);
  aspect-ratio: 1;
  display: grid; place-items: center;
}
/* Rays use CSS vars for offset (how far from center) + length — so they scale with viewport */
.loader__ray {
  --offset: clamp(170px, 20vw, 260px);
  --length: clamp(24px, 3vw, 40px);
  position: absolute;
  top: 50%; left: 50%;
  width: 3px;
  height: var(--length);
  margin-left: -1.5px;
  background: linear-gradient(180deg, var(--sun) 0%, color-mix(in srgb, var(--sun) 0%, transparent) 100%);
  border-radius: 2px;
  transform-origin: 50% calc(var(--offset) + var(--length));
  transform: translateY(calc(-1 * (var(--offset) + var(--length)))) rotate(var(--a, 0deg)) scaleY(0);
  opacity: 0;
  animation: ray-out 1.6s cubic-bezier(.2,.7,.2,1) forwards;
  animation-delay: .55s;
}
.loader__ray:nth-child(1) { --a:   0deg; }
.loader__ray:nth-child(2) { --a:  30deg; animation-delay: .58s; }
.loader__ray:nth-child(3) { --a:  60deg; animation-delay: .61s; }
.loader__ray:nth-child(4) { --a:  90deg; animation-delay: .64s; }
.loader__ray:nth-child(5) { --a: 120deg; animation-delay: .67s; }
.loader__ray:nth-child(6) { --a: 150deg; animation-delay: .70s; }
.loader__ray:nth-child(7) { --a: 180deg; animation-delay: .73s; }
.loader__ray:nth-child(8) { --a: 210deg; animation-delay: .76s; }
.loader__ray:nth-child(9) { --a: 240deg; animation-delay: .79s; }
.loader__ray:nth-child(10){ --a: 270deg; animation-delay: .82s; }
.loader__ray:nth-child(11){ --a: 300deg; animation-delay: .85s; }
.loader__ray:nth-child(12){ --a: 330deg; animation-delay: .88s; }
@keyframes ray-out {
  0%   { opacity: 0; transform: translateY(calc(-1 * (var(--offset) + var(--length)))) rotate(var(--a)) scaleY(0); }
  40%  { opacity: 1; transform: translateY(calc(-1 * (var(--offset) + var(--length)))) rotate(var(--a)) scaleY(1); }
  100% { opacity: .7; transform: translateY(calc(-1 * (var(--offset) + var(--length)))) rotate(var(--a)) scaleY(1); }
}

/* Logo — centered in the sun, rays radiate around it */
.loader__logo {
  position: relative;
  z-index: 2;
  width: clamp(180px, 22vw, 280px);
  height: auto;
  transform: scale(.3);
  opacity: 0;
  filter: drop-shadow(0 0 40px rgba(141,198,63,.4));
  animation: logo-in 1.1s cubic-bezier(.2,.8,.2,1) forwards;
}

/* Thin progress bar beneath the sun */
.loader__progress {
  position: relative;
  width: clamp(160px, 18vw, 220px);
  height: 2px;
  background: color-mix(in srgb, var(--cream) 12%, transparent);
  border-radius: 2px;
  overflow: hidden;
  opacity: 0;
  animation: letter-in .5s ease-out forwards;
  animation-delay: 1.1s;
}
.loader__progress span {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent, var(--sun), transparent);
  transform: translateX(-100%);
  animation: progress-sweep 1.6s cubic-bezier(.5,.0,.3,1) infinite;
  animation-delay: 1.1s;
}
@keyframes progress-sweep {
  to { transform: translateX(100%); }
}
@keyframes logo-in {
  0%   { transform: scale(.3) rotate(-12deg); opacity: 0; }
  60%  { transform: scale(1.1) rotate(4deg);  opacity: 1; }
  100% { transform: scale(1)    rotate(0deg); opacity: 1; }
}

@keyframes letter-in {
  0%   { opacity: 0; transform: translateY(14px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* Exit: top goes up, bottom goes down, stage fades */
.loader.is-exiting .loader__top    { transform: translateY(-100%); }
.loader.is-exiting .loader__bottom { transform: translateY( 100%); }
.loader.is-exiting .loader__stage  { opacity: 0; }
.loader.is-done { display: none; }

/* Hero content subtly floats up after the curtain clears */
body.is-loading main,
body.is-loading .site-header,
body.is-loading .announcement { opacity: 0; }
body.is-revealed main,
body.is-revealed .site-header,
body.is-revealed .announcement {
  animation: content-rise .9s cubic-bezier(.2,.8,.2,1) both;
}
@keyframes content-rise {
  0%   { opacity: 0; transform: translateY(18px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* Respect reduced motion: show content instantly */
@media (prefers-reduced-motion: reduce) {
  .loader { display: none !important; }
  body.is-loading main,
  body.is-loading .site-header,
  body.is-loading .announcement { opacity: 1; }
}

/* ==========================================================================
   MUSIC PLAYER (floating, bottom-right)
   ========================================================================== */
.music-player {
  position: fixed;
  bottom: 1.25rem;
  right: 1.25rem;
  z-index: 80;
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .5rem .85rem .5rem .5rem;
  background: var(--forest-deep);
  color: var(--cream);
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--sun) 35%, transparent);
  box-shadow: 0 12px 32px -12px rgba(0,0,0,.5);
  transition: transform .3s var(--ease), opacity .3s var(--ease);
}
.music-player.is-hidden { transform: translateY(calc(100% + 2rem)); opacity: 0; pointer-events: none; }

.music-player__toggle {
  position: relative;
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--sun);
  color: var(--forest-deep);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  transition: background .2s var(--ease), transform .2s var(--ease);
}
.music-player__toggle:hover { background: var(--sun-deep); transform: scale(1.05); }
.music-player__icon { width: 18px; height: 18px; }
.music-player__icon--pause { display: none; }
.music-player.is-playing .music-player__icon--play { display: none; }
.music-player.is-playing .music-player__icon--pause { display: block; }

/* Animated bars — only visible while playing */
.music-player__bars {
  position: absolute;
  inset: 0;
  display: none;
  align-items: flex-end;
  justify-content: center;
  gap: 2px;
  padding-bottom: 10px;
  pointer-events: none;
  opacity: 0;
}
.music-player.is-playing .music-player__bars { display: flex; opacity: .0; }
.music-player__bars i {
  width: 2px; height: 8px;
  background: var(--forest-deep);
  border-radius: 2px;
  animation: bar-bounce 900ms ease-in-out infinite;
}
.music-player__bars i:nth-child(2) { animation-delay: 120ms; }
.music-player__bars i:nth-child(3) { animation-delay: 240ms; }
.music-player__bars i:nth-child(4) { animation-delay: 360ms; }
@keyframes bar-bounce {
  0%, 100% { height: 4px; }
  50%      { height: 14px; }
}

.music-player__meta { display: flex; flex-direction: column; line-height: 1.1; }
.music-player__track {
  font-family: var(--ff-display);
  font-size: .95rem;
  font-weight: 700;
  color: var(--sun);
}
.music-player__artist {
  font-size: .72rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--cream) 60%, transparent);
  margin-top: 2px;
}
.music-player__close {
  width: 24px; height: 24px;
  border-radius: 50%;
  color: color-mix(in srgb, var(--cream) 55%, transparent);
  font-size: 1.2rem;
  line-height: 1;
  transition: color .2s var(--ease), background .2s var(--ease);
}
.music-player__close:hover { color: var(--cream); background: color-mix(in srgb, var(--cream) 10%, transparent); }

@media (max-width: 560px) {
  .music-player { right: .75rem; bottom: .75rem; padding: .4rem .7rem .4rem .4rem; }
  .music-player__meta { display: none; }
}

/* ==========================================================================
   BRAND VISUAL REINFORCEMENT
   Sun-ray dividers, ghosted watermarks, hill silhouettes, plant cards,
   service icons, process icons, seasonal icons, footer badge.
   ========================================================================== */

/* --- Sun-ray divider between sections --- */
.sun-divider {
  display: flex; align-items: center; justify-content: center;
  gap: 1.25rem;
  padding: 2rem 0;
  color: var(--sun-deep);
}
.sun-divider::before, .sun-divider::after {
  content: ""; flex: 1; max-width: 180px;
  height: 1px;
  background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--sun-deep) 55%, transparent), transparent);
}
.sun-divider svg { width: 32px; height: 32px; opacity: .9; }
.sun-divider--dark { color: var(--sun); }
.sun-divider--dark::before, .sun-divider--dark::after {
  background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--sun) 55%, transparent), transparent);
}

/* --- Service icons on feature cards --- */
.feature-card__icon {
  width: 56px; height: 56px;
  color: var(--forest);
  transition: transform .6s var(--ease-bounce), color .3s var(--ease);
}
.feature-card:hover .feature-card__icon {
  transform: rotate(-6deg) scale(1.08);
  color: var(--terracotta);
}

/* --- Native Plants section --- */
.plants {
  padding: var(--section-y) 0;
  background: var(--cream);
  border-block: 1px solid color-mix(in srgb, var(--forest) 10%, transparent);
  position: relative;
  overflow: hidden;
}
.plants__bg {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 15% 20%, color-mix(in srgb, var(--moss) 12%, transparent) 0%, transparent 50%),
              radial-gradient(ellipse at 85% 80%, color-mix(in srgb, var(--sun) 10%, transparent) 0%, transparent 55%);
  pointer-events: none;
}
.plants__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
  margin: 3rem auto 0;
  max-width: 1120px;
  position: relative;
  z-index: 1;
}
.plants .plants__grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 1040px;
}
.plant-card {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 1.5rem 1rem 1.25rem;
  text-align: center;
  transition: transform .4s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.plant-card:hover {
  transform: translateY(-6px);
  border-color: var(--sun-deep);
  box-shadow: 0 20px 40px -24px rgba(42,67,52,.25);
}
.plant-card__svg {
  width: 90px; height: 90px;
  margin: 0 auto .85rem;
  color: var(--forest);
  transition: color .3s var(--ease), transform .6s var(--ease-bounce);
}
.plant-card:hover .plant-card__svg {
  color: var(--terracotta);
  transform: rotate(-4deg);
}
.plant-card__name {
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--forest);
  letter-spacing: -.01em;
  margin-bottom: .15rem;
}
.plant-card__latin {
  font-size: .72rem;
  font-style: italic;
  color: var(--muted);
  letter-spacing: .02em;
}

/* --- Process step icons --- */
.process__icon {
  grid-area: icon;
  width: 30px; height: 30px;
  color: var(--olive-text);
  opacity: .55;
  margin: 0;
  justify-self: end;
  transition: transform .4s var(--ease), opacity .3s var(--ease);
}
.process__step:hover .process__icon { transform: rotate(-8deg) scale(1.1); opacity: .9; }

/* --- Seasonal icons for Care Plan feature list --- */
.feature-list--season li {
  position: relative; padding-left: 2.25rem;
}
.feature-list--season li .season-icon {
  position: absolute; left: 0; top: .15rem;
  width: 20px; height: 20px;
  color: var(--sun);
}

/* --- Logo watermark stamps (extend membership pattern) --- */
.brand-watermark {
  position: absolute;
  width: clamp(280px, 30vw, 480px);
  height: auto;
  opacity: .045;
  pointer-events: none;
  user-select: none;
  z-index: 0;
}
.brand-watermark--tl { top: -5%; left: -6%; transform: rotate(-8deg); }
.brand-watermark--tr { top: -6%; right: -6%; transform: rotate(12deg); }
.brand-watermark--bl { bottom: -8%; left: -8%; transform: rotate(-12deg); }
.brand-watermark--br { bottom: -10%; right: -8%; transform: rotate(18deg); }
/* Slightly stronger watermark on dark backgrounds */
.projects .brand-watermark { opacity: .07; }
.feature-block .brand-watermark { opacity: .05; }

/* --- Section leaf accents (organic plant flourishes) --- */
.section-leaf {
  position: absolute;
  width: clamp(140px, 18vw, 280px);
  height: auto;
  pointer-events: none;
  user-select: none;
  z-index: 0;
  color: var(--moss, #4a6741);
  opacity: .12;
}
.section-leaf--tl { top: -2%; left: -3%; transform: rotate(-15deg); }
.section-leaf--tr { top: -2%; right: -3%; transform: rotate(135deg); }
.section-leaf--bl { bottom: -2%; left: -3%; transform: rotate(-115deg); }
.section-leaf--br { bottom: -2%; right: -3%; transform: rotate(45deg); }
.projects .section-leaf,
.feature-block .section-leaf { color: var(--sun, #e8c46c); opacity: .14; }
.membership .section-leaf,
.process .section-leaf--dark { color: var(--cream, #f5efe2); opacity: .10; }

/* Sections that need to clip absolutely-positioned watermarks/leaves */
.features, .projects, .process, .team, .updates, .shop, .contact, .faq {
  overflow: hidden;
}

/* --- Hill silhouettes (commercial section) --- */
.hills-bg {
  position: absolute; inset: auto 0 0 0;
  width: 100%; height: 340px;
  pointer-events: none;
  z-index: 0;
  opacity: .12;
  color: var(--forest);
}

/* --- Footer rotating "Owner Operated · Licensed · Insured" badge --- */
.crafted-badge {
  position: relative;
  width: 120px; height: 120px;
  display: grid; place-items: center;
  margin-top: 1.5rem;
}
.crafted-badge__ring {
  position: absolute; inset: 0;
  animation: crafted-rotate 24s linear infinite;
}
.crafted-badge__ring svg { width: 100%; height: 100%; overflow: visible; }
.crafted-badge__ring text {
  font-family: var(--ff-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .2em;
  fill: var(--sun);
  text-transform: uppercase;
}
.crafted-badge__star {
  width: 34px; height: 34px;
  color: var(--sun);
  z-index: 1;
}
@keyframes crafted-rotate { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
  .crafted-badge__ring { animation: none; }
}

/* --- Responsive — plants grid --- */
@media (max-width: 1024px) {
  .plants__grid,
  .plants .plants__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .plants__grid { grid-template-columns: repeat(2, 1fr); gap: .75rem; }
  .plant-card { padding: 1rem .5rem; }
  .plant-card__svg { width: 72px; height: 72px; }
}

/* Reveal sections below header padding — sections with relative overflow */
.features, .projects, .plants, .process, .testimonials, .membership, .team, .updates, .shop, .contact, .feature-block {
  position: relative;
}
.features > .container, .projects > .container, .plants > .container,
.process > .container, .testimonials > .container, .team > .container,
.updates > .container, .shop > .container, .contact > .container {
  position: relative; z-index: 1;
}

/* ==========================================================================
   HERO — service area line
   ========================================================================== */
/* Hero trust bar — subtle, refined micro-badge (replaces chunky city list) */
.hero__trust {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .65rem;
  margin-top: -.25rem;
  margin-bottom: 1.75rem;
  padding: 0;
  color: color-mix(in srgb, var(--cream) 90%, transparent);
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.hero__trust-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--sun);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--sun) 18%, transparent);
  flex: none;
  animation: heroTrustPulse 2.4s ease-in-out infinite;
}
@keyframes heroTrustPulse {
  0%, 100% { box-shadow: 0 0 0 4px color-mix(in srgb, var(--sun) 18%, transparent); }
  50%      { box-shadow: 0 0 0 8px color-mix(in srgb, var(--sun) 6%, transparent); }
}
.hero__trust-label { color: var(--cream); }
.hero__trust-sep { color: color-mix(in srgb, var(--sun) 70%, transparent); font-weight: 400; }
.hero__trust-rating {
  display: inline-flex; align-items: center;
  gap: .55rem;
  padding: .3rem .7rem .3rem .5rem;
  background: color-mix(in srgb, var(--forest-deep) 55%, transparent);
  border: 1px solid color-mix(in srgb, var(--sun) 45%, transparent);
  border-radius: 999px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: var(--cream);
  text-transform: none;
  letter-spacing: 0;
}
.hero__trust-stars {
  display: inline-flex;
  gap: 2px;
  align-items: center;
}
.hero__trust-stars svg {
  width: 13px; height: 13px;
  fill: var(--sun);
  filter: drop-shadow(0 1px 1px rgba(0,0,0,.25));
  flex: none;
}
.hero__trust-score {
  font-size: .78rem;
  font-weight: 500;
  color: color-mix(in srgb, var(--cream) 92%, transparent);
  letter-spacing: .02em;
  white-space: nowrap;
}
.hero__trust-score strong {
  color: var(--sun);
  font-weight: 700;
  letter-spacing: .02em;
  margin-right: .15rem;
}
@media (prefers-reduced-motion: reduce) {
  .hero__trust-dot { animation: none; }
}
@media (max-width: 540px) {
  .hero__trust { font-size: .72rem; gap: .5rem; }
  .hero__trust-sep { display: none; }
}

/* ==========================================================================
   BEFORE / AFTER SLIDER
   ========================================================================== */
.ba-slider {
  margin: clamp(2rem, 5vw, 3.5rem) 0 clamp(2.5rem, 6vw, 4rem);
  color: var(--cream);
}
.ba-slider__frame {
  position: relative;
  aspect-ratio: 16 / 9;
  max-height: 560px;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--forest-deep);
  user-select: none;
  box-shadow: 0 30px 60px -30px rgba(0,0,0,.5);
}
.ba-slider__img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  pointer-events: none;
}
.ba-slider__frame { --ba: 50%; }
.ba-slider__clip {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  clip-path: inset(0 calc(100% - var(--ba)) 0 0);
  overflow: hidden;
  will-change: clip-path;
}
.ba-slider__clip img {
  width: 100%; height: 100%; object-fit: cover;
}
.ba-slider__tag {
  position: absolute;
  top: 1rem;
  padding: .35rem .7rem;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  border-radius: 999px;
  background: rgba(27,44,34,.7);
  color: var(--cream);
  border: 1px solid color-mix(in srgb, var(--cream) 25%, transparent);
  backdrop-filter: blur(6px);
  pointer-events: none;
  z-index: 3;
}
.ba-slider__tag--before { left: 1rem; }
.ba-slider__tag--after  { right: 1rem; background: color-mix(in srgb, var(--sun) 85%, transparent); color: var(--forest-deep); border-color: var(--sun); }
.ba-slider__handle {
  position: absolute;
  top: 0; bottom: 0;
  left: var(--ba, 50%);
  width: 48px; height: 48px;
  margin-top: auto; margin-bottom: auto;
  transform: translateX(-50%);
  background: var(--cream);
  color: var(--forest);
  border-radius: 50%;
  border: 2px solid var(--sun);
  display: flex; align-items: center; justify-content: center;
  cursor: ew-resize; touch-action: none;
  box-shadow: 0 8px 20px -4px rgba(0,0,0,.4);
  z-index: 4;
  transition: transform .15s var(--ease), box-shadow .2s var(--ease);
}
.ba-slider__handle:hover { box-shadow: 0 10px 24px -4px rgba(0,0,0,.5); }
.ba-slider__handle:active { cursor: grabbing; }
.ba-slider__handle::before,
.ba-slider__handle::after {
  content: "";
  position: absolute; left: 50%;
  width: 2px;
  background: var(--cream);
  transform: translateX(-50%);
  pointer-events: none;
}
.ba-slider__handle::before { top: -2000px; bottom: 50%; margin-bottom: 24px; background: linear-gradient(to bottom, transparent, var(--cream)); }
.ba-slider__handle::after  { bottom: -2000px; top: 50%; margin-top: 24px; background: linear-gradient(to top, transparent, var(--cream)); }
.ba-slider__handle svg { width: 22px; height: 22px; }
.ba-slider figcaption {
  margin-top: 1rem;
  font-size: .9rem;
  color: color-mix(in srgb, var(--cream) 72%, transparent);
  text-align: center;
  letter-spacing: .02em;
}
.ba-slider figcaption em { color: var(--sun); font-style: normal; }
@media (max-width: 560px) {
  .ba-slider__tag { font-size: .65rem; top: .6rem; padding: .25rem .55rem; }
  .ba-slider__tag--before { left: .6rem; } .ba-slider__tag--after { right: .6rem; }
  .ba-slider__handle { width: 40px; height: 40px; }
}

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq { padding: var(--section-y) 0; background: var(--cream); }
.faq__inner { max-width: 860px; }
.faq__list { display: flex; flex-direction: column; gap: .65rem; }
.faq__item {
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--cream);
  overflow: hidden;
  transition: border-color .2s var(--ease), box-shadow .3s var(--ease), background .2s var(--ease);
}
.faq__item:hover { border-color: color-mix(in srgb, var(--forest) 35%, var(--line)); }
.faq__item details { }
.faq__item summary {
  list-style: none;
  cursor: pointer;
  padding: 1.1rem 1.3rem;
  display: flex; justify-content: space-between; align-items: center;
  gap: 1.5rem;
  font-family: var(--ff-display);
  font-size: clamp(1.02rem, 1.25vw, 1.15rem);
  font-weight: 700;
  color: var(--forest);
  transition: color .2s var(--ease);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:hover { color: var(--terracotta); }
.faq__chev {
  flex: none;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--sun) 18%, transparent);
  color: var(--forest);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 1.15rem; font-weight: 400;
  transition: transform .3s var(--ease), background .2s var(--ease);
}
.faq__item details[open] { background: var(--cream-2); border-color: color-mix(in srgb, var(--forest) 50%, var(--line)); }
.faq__item details[open] .faq__chev { transform: rotate(45deg); background: var(--sun); }
.faq__body { padding: 0 1.3rem 1.25rem; color: var(--ink-soft); font-size: .98rem; line-height: 1.65; max-width: 70ch; }
.faq__item details[open] .faq__body { animation: faqFade .3s var(--ease) both; }
@keyframes faqFade {
  from { opacity: 0; transform: translateY(-4px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Slim header — announcement glyph refinement */
.announcement__inner { line-height: 1.2; position: relative; }

/* ==========================================================================
   ANNOUNCEMENT DISMISS
   ========================================================================== */
.announcement__close {
  position: absolute;
  right: var(--gutter);
  top: 50%;
  transform: translateY(-50%);
  width: 24px; height: 24px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 1.1rem; line-height: 1;
  color: color-mix(in srgb, var(--cream) 75%, transparent);
  border-radius: 50%;
  transition: background .2s var(--ease), color .2s var(--ease);
}
.announcement__close:hover,
.announcement__close:focus-visible {
  background: color-mix(in srgb, var(--cream) 15%, transparent);
  color: var(--cream);
  outline: none;
}
.announcement.is-dismissed { display: none; }

/* ==========================================================================
   SERVICE STRIP (replaces marquee)
   ========================================================================== */
.service-strip {
  padding: clamp(1rem, 2vw, 1.5rem) 0;
  background: var(--forest);
  color: var(--cream);
  border-top: 1px solid color-mix(in srgb, var(--cream) 10%, transparent);
}
.service-strip__inner {
  display: flex; flex-wrap: wrap;
  gap: .5rem .6rem;
  justify-content: center;
  align-items: center;
}
.service-strip__pill {
  display: inline-flex; align-items: center;
  padding: .4rem .9rem;
  font-family: var(--ff-sans);
  font-size: .82rem;
  font-weight: 500;
  letter-spacing: .04em;
  color: color-mix(in srgb, var(--cream) 88%, transparent);
  background: color-mix(in srgb, var(--cream) 6%, transparent);
  border: 1px solid color-mix(in srgb, var(--cream) 18%, transparent);
  border-radius: 999px;
  transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.service-strip__pill:hover {
  background: color-mix(in srgb, var(--sun) 18%, transparent);
  color: var(--sun);
  border-color: color-mix(in srgb, var(--sun) 40%, transparent);
}

/* ========================================================================== 
   FOCUS-VISIBLE POLISH
   ========================================================================== */
:focus-visible {
  outline: 2px solid var(--sun-deep);
  outline-offset: 2px;
  border-radius: 4px;
}
.faq__item summary:focus-visible {
  outline: 2px solid var(--sun-deep);
  outline-offset: -2px;
  border-radius: inherit;
}
.btn:focus-visible {
  outline: 3px solid var(--sun);
  outline-offset: 3px;
}

/* ==========================================================================
   REVEAL ANIMATION SAFETY NETS
   — if JS fails or is slow, content becomes visible via timeout/media query.
   ========================================================================== */
/* Show everything in reduced-motion mode regardless of observer state */
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1 !important; transform: none !important; transition: none !important; }
  .crafted-badge__ring svg { animation: none !important; }
}
/* Fallback: force visibility after 3s even if IO never fires */
html.force-reveal [data-reveal] {
  opacity: 1 !important;
  transform: none !important;
}

/* ==========================================================================
   BEFORE/AFTER DRAG HINT
   ========================================================================== */
.ba-slider__hint {
  position: absolute;
  top: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%);
  padding: .15rem .55rem;
  font-size: .65rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--forest-deep);
  background: var(--sun);
  border-radius: 999px;
  white-space: nowrap;
  pointer-events: none;
  animation: baHintBob 1.8s ease-in-out infinite;
}
@keyframes baHintBob {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%      { transform: translateX(-50%) translateY(-3px); }
}
.ba-slider__hint.is-hidden { opacity: 0; transition: opacity .4s var(--ease); }
@media (prefers-reduced-motion: reduce) {
  .ba-slider__hint { animation: none; }
}

/* ==========================================================================
   SUBPAGE TEMPLATES — shared layout primitives for services / content / forms
   ========================================================================== */

/* Reserve header space on subpages (no fullscreen hero pushing chrome down) */
body.is-subpage { padding-top: 0; }
.service-page { background: var(--cream); }

/* Breadcrumb */
.breadcrumb {
  padding: clamp(1.25rem, 2.5vw, 2rem) 0 .25rem;
  font-size: .8rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--forest) 55%, transparent);
}
.breadcrumb ol {
  display: flex; flex-wrap: wrap; gap: .4rem;
  list-style: none; margin: 0; padding: 0;
}
.breadcrumb li + li::before {
  content: "/"; margin-right: .4rem;
  color: color-mix(in srgb, var(--forest) 30%, transparent);
}
.breadcrumb a { color: inherit; text-decoration: none; }
.breadcrumb a:hover { color: var(--terracotta); }
.breadcrumb [aria-current="page"] {
  color: var(--forest); font-weight: 600;
}

/* ---------- Service Hero ---------- */
.service-hero {
  position: relative;
  min-height: clamp(420px, 58vh, 620px);
  display: flex; align-items: flex-end;
  padding: clamp(3rem, 8vw, 6rem) 0 clamp(3rem, 6vw, 5rem);
  overflow: hidden;
  color: var(--cream);
  isolation: isolate;
  margin-top: 1rem;
}
.service-hero__media {
  position: absolute; inset: 0; z-index: -1;
}
.service-hero__img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  display: block;
}
.service-hero__overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(27,44,34,.35) 0%, rgba(27,44,34,.7) 70%, rgba(27,44,34,.85) 100%),
    linear-gradient(90deg, rgba(27,44,34,.55) 0%, rgba(27,44,34,.15) 60%);
}
.service-hero__inner { max-width: 780px; }
.service-hero__title {
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: clamp(2.75rem, 7vw, 5.25rem);
  line-height: 1;
  letter-spacing: -.005em;
  text-transform: uppercase;
  margin: .5rem 0 1.25rem;
  color: var(--cream);
}
.service-hero__title em {
  font-style: italic;
  color: var(--sun);
  font-weight: 700;
}
.service-hero__lede {
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  line-height: 1.55;
  color: color-mix(in srgb, var(--cream) 90%, transparent);
  max-width: 56ch;
  margin-bottom: 1.75rem;
}
.service-hero__cta {
  display: flex; flex-wrap: wrap; gap: .75rem;
}

/* ---------- Quick facts strip ---------- */
.service-facts {
  background: var(--forest);
  color: var(--cream);
  padding: 1.5rem 0;
  border-bottom: 1px solid color-mix(in srgb, var(--sun) 25%, transparent);
}
.service-facts__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1rem, 3vw, 2.5rem);
  align-items: center;
}
.service-fact {
  display: flex; flex-direction: column;
  gap: .2rem;
  padding-left: 1rem;
  border-left: 2px solid color-mix(in srgb, var(--sun) 60%, transparent);
}
.service-fact__label {
  font-size: .7rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--sun) 90%, transparent);
  font-weight: 600;
}
.service-fact__value {
  font-family: var(--ff-display);
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
  font-weight: 700;
  color: var(--cream);
  line-height: 1;
}
.service-fact__note {
  font-size: .8rem;
  color: color-mix(in srgb, var(--cream) 72%, transparent);
}
@media (max-width: 840px) {
  .service-facts__grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem 1rem; }
}
@media (max-width: 420px) {
  .service-facts__grid { grid-template-columns: 1fr; }
}

/* ---------- What's included ---------- */
.service-included { padding: var(--section-y) 0; }
.service-included__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.25rem, 2.5vw, 2rem);
}
.included-card {
  background: #fff;
  border: 1px solid color-mix(in srgb, var(--forest) 12%, transparent);
  border-radius: 20px;
  padding: clamp(1.5rem, 2.5vw, 2.25rem);
  position: relative;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .3s var(--ease);
}
.included-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px -22px rgba(27,44,34,.25);
  border-color: color-mix(in srgb, var(--sun) 45%, transparent);
}
.included-card__num {
  display: inline-block;
  font-family: var(--ff-display);
  font-size: .8rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: .75rem;
}
.included-card .h3 { margin-bottom: .75rem; }
.included-card p { color: var(--ink-soft); margin-bottom: 1.25rem; }
.included-card__list {
  list-style: none; padding: 0; margin: 0;
  border-top: 1px dashed color-mix(in srgb, var(--forest) 20%, transparent);
  padding-top: 1rem;
}
.included-card__list li {
  position: relative;
  padding-left: 1.4rem;
  margin-bottom: .5rem;
  font-size: .92rem;
  color: var(--forest);
}
.included-card__list li::before {
  content: "";
  position: absolute; left: 0; top: .55em;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--sun);
}
@media (max-width: 900px) {
  .service-included__grid { grid-template-columns: 1fr; }
}

/* ---------- Process timeline ---------- */
.service-process {
  padding: var(--section-y) 0;
  background: color-mix(in srgb, var(--cream-2) 70%, var(--cream));
}
.process-timeline {
  list-style: none; padding: 0; margin: 0;
  max-width: 820px; margin-inline: auto;
  display: flex; flex-direction: column;
  gap: 1.25rem;
  position: relative;
}
.process-timeline::before {
  content: "";
  position: absolute;
  left: 22px; top: 24px; bottom: 24px;
  width: 2px;
  background: linear-gradient(180deg,
    color-mix(in srgb, var(--sun) 70%, transparent) 0%,
    color-mix(in srgb, var(--forest) 30%, transparent) 100%);
}
.process-step {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 1rem;
  align-items: flex-start;
  background: #fff;
  border: 1px solid color-mix(in srgb, var(--forest) 10%, transparent);
  border-radius: 18px;
  padding: 1.25rem 1.5rem;
  position: relative;
}
.process-step__num {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--forest);
  color: var(--sun);
  font-family: var(--ff-display);
  font-size: 1.25rem;
  font-weight: 600;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 0 4px var(--cream);
  flex: none;
}
.process-step__body .h3 { font-size: 1.3rem; margin-bottom: .35rem; }
.process-step__body p { color: var(--ink-soft); margin-bottom: .5rem; }
.process-step__meta {
  display: inline-block;
  font-size: .75rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--terracotta);
  font-weight: 600;
}

/* ---------- Related gallery ---------- */
.service-gallery { padding: var(--section-y) 0; }
.service-gallery__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1rem, 2vw, 1.5rem);
}
.service-project {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: 18px;
  overflow: hidden;
  display: block;
  text-decoration: none;
  color: var(--cream);
  isolation: isolate;
  transition: transform .4s var(--ease);
}
.service-project img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease);
}
.service-project:hover img { transform: scale(1.04); }
.service-project:hover { transform: translateY(-3px); }
.service-project__label {
  position: absolute; inset: auto 0 0 0;
  padding: 1.25rem;
  background: linear-gradient(180deg, transparent, rgba(27,44,34,.85));
  display: flex; flex-direction: column; gap: .2rem;
}
.service-project__label strong {
  font-family: var(--ff-display);
  font-size: 1.15rem;
  font-weight: 700;
}
.service-project__label span {
  font-size: .78rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--sun) 85%, transparent);
}
@media (max-width: 860px) {
  .service-gallery__grid { grid-template-columns: repeat(2, 1fr); }
  .service-gallery__grid > :last-child { grid-column: 1 / -1; aspect-ratio: 16/9; }
}
@media (max-width: 520px) {
  .service-gallery__grid { grid-template-columns: 1fr; }
  .service-gallery__grid > :last-child { aspect-ratio: 4/5; }
}

/* ---------- Pricing tiers ---------- */
.service-pricing {
  padding: var(--section-y) 0;
  background: var(--forest);
  color: var(--cream);
}
.service-pricing .h2 { color: var(--cream); }
.service-pricing .section-head__sub { color: color-mix(in srgb, var(--cream) 80%, transparent); }
.service-pricing .eyebrow { color: var(--sun); }

.pricing-tiers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.25rem, 2vw, 1.75rem);
  align-items: stretch;
}
.pricing-tier {
  background: color-mix(in srgb, var(--forest-deep) 60%, transparent);
  border: 1px solid color-mix(in srgb, var(--sun) 20%, transparent);
  border-radius: 20px;
  padding: 2rem 1.75rem;
  position: relative;
  display: flex; flex-direction: column;
  transition: transform .4s var(--ease), border-color .3s var(--ease);
}
.pricing-tier:hover {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--sun) 55%, transparent);
}
.pricing-tier--feature {
  background: color-mix(in srgb, var(--sun) 12%, var(--forest-deep));
  border-color: var(--sun);
}
.pricing-tier header { margin-bottom: 1rem; }
.pricing-tier__tag {
  display: inline-block;
  font-size: .72rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--sun);
  font-weight: 600;
  margin-bottom: .5rem;
}
.pricing-tier__price {
  font-family: var(--ff-display);
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 700;
  line-height: 1;
  color: var(--cream);
  margin: 0;
}
.pricing-tier__price span {
  font-size: .6em; color: var(--sun); margin-left: .15rem;
}
.pricing-tier__desc {
  color: color-mix(in srgb, var(--cream) 80%, transparent);
  font-size: .95rem;
  margin-bottom: 1.25rem;
}
.pricing-tier ul {
  list-style: none; padding: 0; margin: 0 0 auto;
  display: flex; flex-direction: column; gap: .55rem;
  border-top: 1px dashed color-mix(in srgb, var(--sun) 25%, transparent);
  padding-top: 1.25rem;
}
.pricing-tier ul li {
  position: relative; padding-left: 1.4rem;
  font-size: .92rem;
  color: color-mix(in srgb, var(--cream) 92%, transparent);
}
.pricing-tier ul li::before {
  content: "✓";
  position: absolute; left: 0; top: 0;
  color: var(--sun);
  font-weight: 700;
}
.pricing-tier__badge {
  position: absolute;
  top: -12px; right: 1.5rem;
  background: var(--sun);
  color: var(--forest-deep);
  font-size: .7rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  font-weight: 700;
  padding: .35rem .7rem;
  border-radius: 999px;
}
.service-pricing__note {
  margin-top: 2rem;
  text-align: center;
  font-size: .85rem;
  color: color-mix(in srgb, var(--cream) 70%, transparent);
  max-width: 60ch;
  margin-inline: auto;
}
@media (max-width: 900px) {
  .pricing-tiers { grid-template-columns: 1fr; }
}

/* ---------- Service FAQ ---------- */
.service-faq { padding: var(--section-y) 0; background: var(--cream); }
.service-faq__inner { max-width: 820px; margin-inline: auto; }
.faq-list { display: flex; flex-direction: column; gap: .65rem; margin-top: 1.5rem; }
.faq-item {
  background: #fff;
  border: 1px solid color-mix(in srgb, var(--forest) 10%, transparent);
  border-radius: 14px;
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
  overflow: hidden;
}
.faq-item[open] {
  border-color: color-mix(in srgb, var(--sun) 50%, transparent);
  box-shadow: 0 10px 24px -18px rgba(27,44,34,.18);
}
.faq-item summary {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 1.1rem 1.4rem;
  cursor: pointer;
  font-family: var(--ff-display);
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--forest);
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:focus-visible {
  outline: 2px solid var(--sun);
  outline-offset: 2px;
  border-radius: 14px;
}
.faq-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--sun) 20%, transparent);
  color: var(--forest);
  font-size: 1.2rem; font-weight: 400;
  transition: transform .3s var(--ease), background .3s var(--ease);
  flex: none;
}
.faq-item[open] .faq-icon {
  background: var(--sun);
  transform: rotate(45deg);
}
.faq-body {
  padding: 0 1.4rem 1.2rem;
  color: var(--ink-soft);
  font-size: .95rem;
  line-height: 1.6;
}

/* ---------- Cross-sell ---------- */
.service-crosssell { padding: var(--section-y) 0; background: var(--cream-2); }
.crosssell-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(1.25rem, 2.5vw, 2rem);
  max-width: 900px; margin-inline: auto;
}
.crosssell-card {
  background: #fff;
  border: 1px solid color-mix(in srgb, var(--forest) 12%, transparent);
  border-radius: 20px;
  padding: 1.75rem;
  text-decoration: none;
  color: var(--forest);
  display: flex; flex-direction: column; gap: .5rem;
  transition: transform .4s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.crosssell-card:hover {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--sun) 50%, transparent);
  box-shadow: 0 18px 40px -22px rgba(27,44,34,.25);
}
.crosssell-card__num {
  font-family: var(--ff-display);
  font-size: .8rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--terracotta);
}
.crosssell-card .h3 { font-size: 1.35rem; margin-bottom: .25rem; }
.crosssell-card p { color: var(--ink-soft); margin-bottom: .75rem; }
@media (max-width: 720px) {
  .crosssell-grid { grid-template-columns: 1fr; }
}

/* ---------- Final CTA ---------- */
.service-cta {
  padding: clamp(3.5rem, 7vw, 6rem) 0;
  background:
    radial-gradient(ellipse at 20% 20%, color-mix(in srgb, var(--sun) 20%, transparent), transparent 60%),
    var(--forest);
  color: var(--cream);
}
.service-cta__inner {
  max-width: 640px; margin-inline: auto; text-align: center;
}
.service-cta .h2 { color: var(--cream); margin-bottom: .75rem; }
.service-cta p {
  color: color-mix(in srgb, var(--cream) 85%, transparent);
  font-size: 1.05rem;
  margin-bottom: 1.75rem;
}
.service-cta__actions {
  display: flex; gap: .75rem; justify-content: center; flex-wrap: wrap;
}
.service-cta .btn--ghost {
  background: transparent;
  color: var(--cream);
  border-color: color-mix(in srgb, var(--cream) 50%, transparent);
}
.service-cta .btn--ghost:hover {
  background: var(--cream);
  color: var(--forest);
  border-color: var(--cream);
}

/* Link-arrow large variant */
.link-arrow--lg { font-size: 1rem; font-weight: 600; }

/* Per-page accent — subtle tint on hero title em + process rail */
.service-hero[data-accent="sun"] .service-hero__title em { color: var(--sun); }
.service-hero[data-accent="terracotta"] .service-hero__title em { color: var(--terracotta); }
.service-hero[data-accent="forest"] .service-hero__title em { color: color-mix(in srgb, var(--sun) 85%, var(--cream)); }

/* Hardscaping: terracotta accents on numbers + icons */
body[data-page="hardscaping"] .included-card__num,
body[data-page="hardscaping"] .crosssell-card__num,
body[data-page="hardscaping"] .process-step__meta { color: var(--terracotta); }
body[data-page="hardscaping"] .included-card__list li::before { background: var(--terracotta); }

/* Maintenance: leafy forest accents */
body[data-page="maintenance"] .included-card__num,
body[data-page="maintenance"] .crosssell-card__num { color: var(--forest); letter-spacing: .12em; }

/* Commercial: understated, all-business — deeper forest tone */
body[data-page="commercial"] .service-hero__overlay {
  background:
    linear-gradient(180deg, rgba(27,44,34,.55) 0%, rgba(27,44,34,.82) 70%, rgba(27,44,34,.9) 100%),
    linear-gradient(90deg, rgba(27,44,34,.65) 0%, rgba(27,44,34,.25) 60%);
}
body[data-page="commercial"] .included-card__num,
body[data-page="commercial"] .crosssell-card__num { color: var(--forest); letter-spacing: .12em; }

/* ==========================================================================
   CONTACT PAGE — form + trust column
   ========================================================================== */
.contact-page { background: var(--cream); }
.hidden-field { position: absolute; left: -9999px; top: -9999px; visibility: hidden; }

/* Hero (compact) */
.contact-hero {
  padding: clamp(2.25rem, 4.5vw, 3.75rem) 0 clamp(1.5rem, 3vw, 2.5rem);
  background:
    radial-gradient(circle at 85% 20%, color-mix(in srgb, var(--sun) 22%, transparent), transparent 55%),
    var(--cream);
}
.contact-hero__inner { max-width: 820px; }
.contact-hero__title {
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: clamp(2.5rem, 6.5vw, 4.75rem);
  line-height: 1;
  letter-spacing: -.005em;
  text-transform: uppercase;
  margin: .5rem 0 1rem;
  color: var(--forest);
}
.contact-hero__title em { font-style: italic; color: var(--olive-text); font-weight: 700; }
.contact-hero__lede {
  font-size: clamp(1rem, 1.3vw, 1.15rem);
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 56ch;
}
.contact-hero__lede a { color: var(--forest); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.contact-hero__lede a:hover { color: var(--terracotta); }

/* Main 2-column layout */
.contact-main { padding: 0 0 var(--section-y-lg); }
.contact-main__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: start;
}
@media (max-width: 960px) {
  .contact-main__grid { grid-template-columns: 1fr; }
}

/* Form */
.contact-form {
  background: #fff;
  border: 1px solid color-mix(in srgb, var(--forest) 12%, transparent);
  border-radius: 24px;
  padding: clamp(1.5rem, 3.5vw, 2.5rem);
  display: flex; flex-direction: column; gap: 1.1rem;
  box-shadow: 0 18px 48px -32px rgba(27,44,34,.22);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
@media (max-width: 560px) {
  .form-row { grid-template-columns: 1fr; }
}
.form-field {
  display: flex; flex-direction: column;
  gap: .45rem;
  border: 0; padding: 0; margin: 0;
}
.form-field__label {
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--forest);
}
.form-field__label em {
  font-style: normal;
  color: var(--terracotta);
  margin-left: .2rem;
}
.form-field input[type="text"],
.form-field input[type="email"],
.form-field input[type="tel"],
.form-field select,
.form-field textarea {
  width: 100%;
  padding: .8rem 1rem;
  font: inherit;
  font-size: 1rem;
  color: var(--forest);
  background: var(--cream);
  border: 1.5px solid color-mix(in srgb, var(--forest) 15%, transparent);
  border-radius: 10px;
  transition: border-color .2s var(--ease), background .2s var(--ease), box-shadow .2s var(--ease);
  font-family: inherit;
}
.form-field textarea { resize: vertical; min-height: 120px; }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--sun);
  background: #fff;
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--sun) 22%, transparent);
}
.form-field--inline {
  flex-direction: row;
  align-items: center;
  gap: .65rem;
  font-size: .92rem;
  color: var(--ink-soft);
}
.form-field--inline input[type="checkbox"] {
  width: 18px; height: 18px;
  accent-color: var(--sun);
  flex: none;
}

/* Chip-style checkbox group */
.form-chips {
  display: flex; flex-wrap: wrap; gap: .5rem;
}
.form-chip {
  display: inline-flex; align-items: center;
  position: relative;
  cursor: pointer;
}
.form-chip input {
  position: absolute; opacity: 0; pointer-events: none;
}
.form-chip span {
  display: inline-block;
  padding: .5rem .9rem;
  background: var(--cream);
  border: 1.5px solid color-mix(in srgb, var(--forest) 15%, transparent);
  border-radius: 999px;
  font-size: .88rem;
  font-weight: 500;
  color: var(--forest);
  transition: all .2s var(--ease);
}
.form-chip input:checked + span {
  background: var(--forest);
  border-color: var(--forest);
  color: var(--sun);
}
.form-chip input:focus-visible + span {
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--sun) 35%, transparent);
}
.form-chip:hover span { border-color: var(--sun); }

.form-actions {
  display: flex; align-items: center; flex-wrap: wrap;
  gap: 1rem;
  margin-top: .5rem;
}
.form-actions__note {
  font-size: .82rem;
  color: var(--ink-soft);
  letter-spacing: .04em;
}

/* Trust column */
.contact-trust {
  display: flex; flex-direction: column;
  gap: 1rem;
  position: sticky;
  top: 7rem;
}
@media (max-width: 960px) {
  .contact-trust { position: static; }
}
.trust-card {
  background: #fff;
  border: 1px solid color-mix(in srgb, var(--forest) 10%, transparent);
  border-radius: 18px;
  padding: 1.25rem 1.4rem;
  display: flex; flex-direction: column; gap: .25rem;
}
.trust-card__label {
  font-size: .72rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--terracotta);
  font-weight: 600;
}
.trust-card__big {
  font-family: var(--ff-display);
  font-size: clamp(1.5rem, 2.3vw, 1.9rem);
  font-weight: 700;
  color: var(--forest);
  text-decoration: none;
  line-height: 1.1;
}
.trust-card__big--sm { font-size: clamp(1.05rem, 1.6vw, 1.25rem); word-break: break-all; }
.trust-card__big:hover { color: var(--terracotta); }
.trust-card__meta {
  font-size: .82rem;
  color: var(--ink-soft);
}
.trust-card__text {
  margin: 0;
  font-size: .95rem;
  color: var(--ink-soft);
  line-height: 1.5;
}

.trust-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .75rem;
  background: var(--forest);
  border-radius: 18px;
  padding: 1.25rem 1rem;
  color: var(--cream);
}
.trust-stat {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  gap: .15rem;
}
.trust-stat strong {
  font-family: var(--ff-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--sun);
  display: inline-flex; align-items: center; gap: .3rem;
}
.trust-stat span {
  font-size: .72rem;
  color: color-mix(in srgb, var(--cream) 75%, transparent);
  letter-spacing: .05em;
}

.trust-quote {
  background: color-mix(in srgb, var(--sun) 12%, var(--cream));
  border: 1px solid color-mix(in srgb, var(--sun) 35%, transparent);
  border-radius: 18px;
  padding: 1.4rem;
  position: relative;
}
.trust-quote svg {
  color: var(--sun);
  margin-bottom: .35rem;
}
.trust-quote p {
  font-family: var(--ff-display);
  font-style: italic;
  font-size: 1.02rem;
  line-height: 1.5;
  color: var(--forest);
  margin: 0 0 .65rem;
}
.trust-quote footer {
  font-size: .8rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--terracotta);
  font-weight: 600;
}

/* Contact mini FAQ / "what happens next" */
.contact-faq {
  background: var(--cream-2);
  padding: var(--section-y) 0;
  border-top: 1px solid color-mix(in srgb, var(--forest) 10%, transparent);
}
.contact-faq__inner { max-width: 820px; margin-inline: auto; }
.contact-steps {
  list-style: none; padding: 0; margin: 1.5rem 0 0;
  counter-reset: step;
  display: flex; flex-direction: column;
  gap: 1rem;
}
.contact-steps li {
  counter-increment: step;
  background: #fff;
  border: 1px solid color-mix(in srgb, var(--forest) 10%, transparent);
  border-radius: 14px;
  padding: 1.1rem 1.3rem 1.1rem 4rem;
  position: relative;
  font-size: 1rem;
  line-height: 1.55;
  color: var(--ink-soft);
}
.contact-steps li::before {
  content: counter(step);
  position: absolute;
  left: 1.1rem; top: 1.05rem;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--forest); color: var(--sun);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--ff-display);
  font-weight: 600;
  font-size: 1.05rem;
}
.contact-steps li strong { color: var(--forest); }

/* ==========================================================================
   THANKS PAGE
   ========================================================================== */
.thanks-page {
  min-height: 70vh;
  display: flex; align-items: center; justify-content: center;
  padding: clamp(6rem, 12vw, 9rem) 0 var(--section-y);
  background:
    radial-gradient(circle at 20% 20%, color-mix(in srgb, var(--sun) 25%, transparent), transparent 55%),
    radial-gradient(circle at 80% 80%, color-mix(in srgb, var(--terracotta) 15%, transparent), transparent 55%),
    var(--cream);
}
.thanks-card {
  max-width: 640px;
  text-align: center;
}
.thanks-sun {
  color: var(--sun);
  width: 96px; height: 96px;
  margin: 0 auto 1.5rem;
  animation: thanks-spin 20s linear infinite;
}
.thanks-sun svg { width: 100%; height: 100%; }
@keyframes thanks-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .thanks-sun { animation: none; } }
.thanks-title {
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: clamp(2.25rem, 5.5vw, 3.75rem);
  line-height: 1;
  letter-spacing: -.005em;
  text-transform: uppercase;
  color: var(--forest);
  margin: .5rem 0 1rem;
}
.thanks-lede {
  font-size: 1.05rem;
  color: var(--ink-soft);
  line-height: 1.6;
  max-width: 54ch;
  margin: 0 auto 2rem;
}
.thanks-lede strong { color: var(--forest); }
.thanks-actions {
  display: flex; gap: .75rem; justify-content: center; flex-wrap: wrap;
}
.thanks-page .btn--ghost {
  background: transparent; color: var(--forest); border-color: var(--forest);
}
.thanks-page .btn--ghost:hover {
  background: var(--forest); color: var(--cream);
}

/* Responsive refinements */
@media (max-width: 720px) {
  .service-hero { min-height: 420px; padding-top: 4rem; }
  .service-hero__cta .btn { width: 100%; justify-content: center; }
  .process-step { grid-template-columns: 44px 1fr; padding: 1rem 1.15rem; }
  .process-step__num { width: 40px; height: 40px; font-size: 1.05rem; }
  .process-timeline::before { left: 19px; }
}

/* ==========================================================================
   HUNLEY LAWN & LANDSCAPE — brand overrides (dark header, CTA card, promise)
   Appended so they win the cascade over the base template rules.
   ========================================================================== */

/* --- Dark, brand-forward header so the white two-tone logo reads --- */
.site-header {
  background: color-mix(in srgb, var(--forest-deep) 90%, transparent);
}
.site-header.is-scrolled {
  background: color-mix(in srgb, var(--forest-deep) 97%, transparent);
  border-bottom-color: color-mix(in srgb, var(--sun) 32%, transparent);
  box-shadow: 0 8px 24px -18px rgba(0,0,0,.6);
}
.brand__logo-img {
  display: block;
  width: clamp(150px, 16vw, 210px);
  height: auto;
  transition: width .35s var(--ease), transform .6s var(--ease-bounce);
}
.site-header.is-scrolled .brand__logo-img { width: clamp(130px, 13vw, 178px); }
.brand:hover .brand__logo-img { transform: rotate(-2deg) scale(1.03); }

/* Light nav + actions on the dark header (top level only) */
.nav__list > li > a { color: var(--cream); }
.nav__list > li > a:hover { color: var(--sun); }
.nav__list > li > a::after { background: var(--sun); }
.phone-link { color: var(--cream); }
.phone-link:hover { background: color-mix(in srgb, var(--cream) 14%, transparent); color: var(--sun); }
.nav-toggle span { background: var(--cream); }
.site-header .btn--primary { background: var(--sun); color: var(--forest-deep); }
.site-header .btn--primary:hover { background: var(--sun-deep); color: var(--cream); }

/* Mobile flyout panel is light — keep its links dark for contrast */
@media (max-width: 1024px) {
  .nav.is-open .nav__list > li > a { color: var(--forest); }
  .nav.is-open .nav__list > li > a:hover { color: var(--sun-deep); }
}
@media (min-width: 721px) and (max-width: 1024px) {
  .features__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 680px) {
  .brand__logo-img { width: 148px; }
  .site-header.is-scrolled .brand__logo-img { width: 124px; }
}

/* --- 6th "get started" tile that closes the services grid --- */
.feature-card--cta {
  background: linear-gradient(160deg, var(--forest) 0%, var(--forest-deep) 100%);
  color: var(--cream);
  border: 0;
}
.feature-card__body--cta {
  text-align: left;
  padding: 2rem 1.75rem;
  justify-content: flex-start;
  gap: .75rem;
}
.feature-card--cta .feature-card__icon { color: var(--sun); width: 44px; height: 44px; margin-bottom: .25rem; }
.feature-card--cta .feature-card__num { color: var(--sun); }
.feature-card--cta .h3 { color: var(--cream); }
.feature-card--cta p { color: color-mix(in srgb, var(--cream) 82%, transparent); }
.feature-card--cta .link-arrow { color: var(--sun); margin-top: auto; }

/* --- The Hunley Promise — check badges replace review stars --- */
.review__promise {
  display: inline-grid;
  place-items: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--sun);
  color: var(--forest-deep);
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1;
}

/* --- Subpage helpers --- */
.is-subpage-main { background: var(--cream); }
/* Alternate feature-block backgrounds so stacked service sections have rhythm */
.feature-block--reverse { background: var(--cream); }
.team__portrait { position: relative; }

/* Service jump nav (services page hero) */
.svc-jump { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.75rem; }
.svc-jump a {
  font-size: .82rem; font-weight: 600; letter-spacing: .01em;
  color: var(--forest);
  background: color-mix(in srgb, var(--sun) 20%, var(--cream));
  border: 1px solid color-mix(in srgb, var(--olive) 30%, transparent);
  padding: .5rem .9rem; border-radius: 999px;
  transition: background .2s var(--ease), transform .2s var(--ease);
}
.svc-jump a:hover { background: var(--sun); transform: translateY(-1px); }

/* Service pricing note */
.svc-price {
  display: inline-flex; align-items: center; gap: .5rem;
  font-weight: 600; color: var(--olive-text);
  margin: .25rem 0 1.25rem;
}
.svc-price::before {
  content: ""; width: 16px; height: 16px; flex: none;
  background: var(--olive-text);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M9 16.2l-3.5-3.5L4 14.2l5 5 11-11-1.5-1.4z'/%3E%3C/svg%3E") no-repeat center / contain;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M9 16.2l-3.5-3.5L4 14.2l5 5 11-11-1.5-1.4z'/%3E%3C/svg%3E") no-repeat center / contain;
}

/* --- Gallery page --- */
.gallery-section { padding: clamp(1rem, 3vw, 2rem) 0 var(--section-y-lg); background: var(--cream); }
.gallery-filters { display: flex; flex-wrap: wrap; gap: .6rem; justify-content: center; margin-bottom: 2rem; }
.gallery-filter {
  font-family: var(--ff-sans);
  font-size: .88rem; font-weight: 600;
  color: var(--forest);
  background: transparent;
  border: 1px solid var(--line);
  padding: .55rem 1.1rem; border-radius: 999px;
  cursor: pointer;
  transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.gallery-filter:hover { border-color: var(--olive); }
.gallery-filter.is-active { background: var(--forest); color: var(--cream); border-color: var(--forest); }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
}
.gallery-item {
  position: relative; margin: 0;
  border-radius: var(--r-md); overflow: hidden;
  aspect-ratio: 4 / 3;
  box-shadow: 0 14px 30px -22px rgba(18,48,38,.5);
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s var(--ease); }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 1.6rem .9rem .7rem;
  font-size: .82rem; font-weight: 600; color: #fff;
  background: linear-gradient(to top, rgba(18,48,38,.8), transparent);
}
@media (max-width: 560px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: .6rem; }
  .gallery-item figcaption { font-size: .72rem; padding: 1.2rem .6rem .5rem; }
}

/* ==========================================================================
   HERO QUICK-ESTIMATE FORM CARD  +  ABOUT PAGE  (batch 3)
   ========================================================================== */

/* Two-column hero: text left, estimate form right */
.hero__form-card {
  background: color-mix(in srgb, var(--cream) 97%, transparent);
  border: 1px solid color-mix(in srgb, var(--forest) 12%, transparent);
  border-radius: var(--r-lg);
  padding: clamp(1.25rem, 2vw, 1.85rem);
  box-shadow: 0 34px 70px -34px rgba(0,0,0,.6);
  color: var(--ink);
}
.hero__form-head { margin-bottom: 1rem; }
.hero__form-head strong {
  display: block;
  font-family: var(--ff-display);
  font-weight: 620;
  font-size: 1.5rem;
  line-height: 1.05;
  letter-spacing: -.02em;
  color: var(--forest);
}
.hero__form-head span {
  display: block; margin-top: .35rem;
  font-size: .85rem; color: var(--muted);
}
.hero-form { display: grid; gap: .6rem; }
.hero-form input,
.hero-form select {
  width: 100%;
  font: inherit;
  font-size: .95rem;
  padding: .7rem .85rem;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: #fff;
  color: var(--ink);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.hero-form input::placeholder { color: color-mix(in srgb, var(--muted) 90%, transparent); }
.hero-form input:focus,
.hero-form select:focus {
  outline: none;
  border-color: var(--olive);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--sun) 40%, transparent);
}
.hero-form .btn { margin-top: .25rem; }
.hero-form__note { margin-top: .4rem; font-size: .78rem; color: var(--muted); text-align: center; }

@media (max-width: 980px) {
  .hero__inner { grid-template-columns: 1fr; gap: 2rem; }
  .hero__text { max-width: 720px; }
  .hero__form-card { max-width: 480px; }
}

/* --- About page --- */
.about-stats {
  background: var(--forest);
  color: var(--cream);
}
.about-stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  padding: clamp(1.75rem, 3.5vw, 2.75rem) 0;
}
.about-stats__item { text-align: center; position: relative; }
.about-stats__item:not(:last-child)::after {
  content: ""; position: absolute; right: -.75rem; top: 15%; bottom: 15%;
  width: 1px; background: color-mix(in srgb, var(--cream) 18%, transparent);
}
.about-stats__num {
  display: block;
  font-family: var(--ff-display);
  font-weight: 600;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1;
  color: var(--sun);
}
.about-stats__label {
  display: block; margin-top: .5rem;
  font-size: .82rem; letter-spacing: .04em; text-transform: uppercase;
  color: color-mix(in srgb, var(--cream) 78%, transparent);
}
/* Signature line under the story */
.team__copy p.about-signature,
p.about-signature {
  margin-top: 1.5rem;
  margin-bottom: .5rem;
  font-family: var(--ff-display);
  font-style: italic;
  font-weight: 700;
  font-size: 1.5rem;
  line-height: 1.2;
  color: var(--olive-text);
}
/* Portrait shows the full framed photo without a tight crop */
.team__portrait img { object-position: center top; }

@media (max-width: 700px) {
  .about-stats__grid { grid-template-columns: repeat(2, 1fr); gap: 1.25rem 1rem; }
  .about-stats__item:nth-child(2)::after { display: none; }
}

/* ==========================================================================
   SERVICE AREA — 20 neighborhoods grid (replaces the old plants section)
   ========================================================================== */
.service-area {
  padding: var(--section-y) 0;
  background: var(--cream);
  border-top: 1px solid color-mix(in srgb, var(--forest) 10%, transparent);
  position: relative;
  overflow: hidden;
}
.service-area .plants__bg { position: absolute; inset: 0; opacity: .5; pointer-events: none; }
.service-area .container { position: relative; z-index: 1; }

.area-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: .75rem;
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 1000px;
}
.area-pill {
  display: flex;
  align-items: center;
  gap: .55rem;
  padding: .85rem 1rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-family: var(--ff-display);
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: .01em;
  color: var(--forest);
  transition: transform .2s var(--ease), border-color .2s var(--ease),
              background .2s var(--ease), box-shadow .25s var(--ease);
}
.area-pill::before {
  content: "";
  flex: none;
  width: 14px;
  height: 14px;
  background: var(--olive-text);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 2C7.6 2 4 5.6 4 10c0 5.7 7.4 11.6 7.7 11.9.2.1.4.1.6 0C12.6 21.6 20 15.7 20 10c0-4.4-3.6-8-8-8zm0 11a3 3 0 110-6 3 3 0 010 6z'/%3E%3C/svg%3E") no-repeat center / contain;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 2C7.6 2 4 5.6 4 10c0 5.7 7.4 11.6 7.7 11.9.2.1.4.1.6 0C12.6 21.6 20 15.7 20 10c0-4.4-3.6-8-8-8zm0 11a3 3 0 110-6 3 3 0 010 6z'/%3E%3C/svg%3E") no-repeat center / contain;
}
.area-pill:hover {
  transform: translateY(-2px);
  border-color: var(--olive-text);
  background: color-mix(in srgb, var(--sun) 8%, #fff);
  box-shadow: 0 14px 28px -18px rgba(0,110,53,.45);
}

/* Reveal stagger for the grid */
.area-grid .area-pill { --reveal-delay: calc(30ms * var(--i, 0)); }
.area-grid .area-pill:nth-child(1)  { --i: 0;  }
.area-grid .area-pill:nth-child(2)  { --i: 1;  }
.area-grid .area-pill:nth-child(3)  { --i: 2;  }
.area-grid .area-pill:nth-child(4)  { --i: 3;  }
.area-grid .area-pill:nth-child(5)  { --i: 4;  }
.area-grid .area-pill:nth-child(6)  { --i: 5;  }
.area-grid .area-pill:nth-child(7)  { --i: 6;  }
.area-grid .area-pill:nth-child(8)  { --i: 7;  }
.area-grid .area-pill:nth-child(9)  { --i: 8;  }
.area-grid .area-pill:nth-child(10) { --i: 9;  }
.area-grid .area-pill:nth-child(11) { --i: 10; }
.area-grid .area-pill:nth-child(12) { --i: 11; }
.area-grid .area-pill:nth-child(13) { --i: 12; }
.area-grid .area-pill:nth-child(14) { --i: 13; }
.area-grid .area-pill:nth-child(15) { --i: 14; }
.area-grid .area-pill:nth-child(16) { --i: 15; }
.area-grid .area-pill:nth-child(17) { --i: 16; }
.area-grid .area-pill:nth-child(18) { --i: 17; }
.area-grid .area-pill:nth-child(19) { --i: 18; }
.area-grid .area-pill:nth-child(20) { --i: 19; }

.area-cta {
  text-align: center;
  margin-top: 3rem;
  max-width: 640px;
  margin-inline: auto;
}
.area-cta p {
  color: var(--ink-soft);
  font-size: 1.05rem;
  margin-bottom: 1.25rem;
}
.area-cta strong { color: var(--forest); font-weight: 700; }
.area-cta .hero__cta { justify-content: center; }

@media (max-width: 900px) {
  .area-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 560px) {
  .area-grid { grid-template-columns: repeat(2, 1fr); gap: .55rem; }
  .area-pill { font-size: 1rem; padding: .75rem .9rem; }
}

/* ==========================================================================
   MOBILE IMAGE SIZING — keep photos from dominating small screens
   ========================================================================== */
@media (max-width: 720px) {
  .feature-card__media { aspect-ratio: 16 / 9; }
  .feature-block__media { aspect-ratio: 16 / 10; }
  .team__portrait { aspect-ratio: 5 / 5; max-width: 380px; margin-inline: auto; }
  .update-card img { aspect-ratio: 16 / 9; }
  .membership__media img { max-height: 340px; object-fit: cover; }
  .hero__form-card { max-width: 100%; }
}
@media (max-width: 480px) {
  .feature-card__media { aspect-ratio: 16 / 8; }
  .feature-block__media { aspect-ratio: 16 / 9; }
  .team__portrait { max-width: 320px; }
  .gallery-item { aspect-ratio: 3 / 2; }
}

/* Desktop: cap photo max-height so tall images don't dominate */
.feature-block__media { max-height: 560px; }
.team__portrait { max-height: 620px; }

/* ==========================================================================
   FINAL POLISH PASS
   ========================================================================== */

/* Icon-next-to-title works on the CTA card too */
.feature-card__body--cta {
  display: grid !important;
  grid-template-columns: 46px 1fr !important;
  grid-template-areas: "kicker kicker" "icon title" "body body" "cta cta" !important;
  column-gap: 1rem;
  row-gap: .55rem;
  align-items: center;
  padding: 1.4rem 1.6rem 1.6rem !important;
}
.feature-card__body--cta .feature-card__num {
  grid-area: kicker;
  margin: 0 0 .15rem;
  font-size: .85rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.feature-card--cta .h3 { grid-area: title; align-self: center; }
.feature-card--cta p { grid-area: body; }
.feature-card--cta .link-arrow { grid-area: cta; }

/* Balanced headline wrapping (modern browsers) */
h1, h2, .h1, .h2, .h3, .hero__title, .contact-hero__title {
  text-wrap: balance;
}

/* --- Mobile call button in header (always visible) --- */
.header-call-mobile {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--sun);
  color: var(--forest-deep);
  transition: background .2s var(--ease), transform .2s var(--ease);
}
.header-call-mobile:hover { background: var(--sun-deep); color: #fff; transform: scale(1.05); }
.header-call-mobile svg { width: 20px; height: 20px; }

/* Subpage mobile — center hero copy (services, gallery, about, contact share this hero) */
@media (max-width: 720px) {
  body.is-subpage .contact-hero__inner,
  body.is-subpage .contact-hero__title,
  body.is-subpage .contact-hero__lede { text-align: center; }
  body.is-subpage .contact-hero__inner { margin-inline: auto; }
  body.is-subpage .contact-hero__lede { margin-inline: auto; }
  body.is-subpage .contact-hero .eyebrow { justify-content: center; }
  body.is-subpage .svc-jump { justify-content: center; }
}

/* Header — always visible + call button on mobile */
@media (max-width: 1024px) {
  .header-call-mobile { display: inline-flex; }
  .site-header .btn--primary { display: none; }
  .site-header__right { gap: .5rem; }
}
/* Header safe on small phones */
@media (max-width: 560px) {
  .site-header__inner { padding-inline: 1rem; }
  .brand__logo-img { width: 130px !important; }
}

/* Shorter photos on mobile */
@media (max-width: 720px) {
  .feature-block__media { aspect-ratio: 16 / 9 !important; max-height: 320px; }
  .team__portrait { aspect-ratio: 4 / 4 !important; max-height: 400px; }
  .membership__media { max-height: none; }
  .updates__scroll .update-card img { aspect-ratio: 16 / 9 !important; max-height: 220px; }
  .hero { min-height: auto; }
}
@media (max-width: 480px) {
  .feature-card__media { aspect-ratio: 2 / 1 !important; max-height: 200px; }
  .feature-block__media { max-height: 260px; }
  .team__portrait { max-height: 340px; }
}

/* --- 4-photo season grid --- */
.membership__media {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .5rem;
  border-radius: var(--r-lg);
  overflow: hidden;
}
.membership__media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--r-md);
  height: auto;
}
.membership__media .season-tile {
  position: relative;
  border-radius: var(--r-md);
  overflow: hidden;
}
.membership__media .season-tile img { border-radius: 0; }
.membership__media .season-tile__label {
  position: absolute;
  left: .6rem;
  top: .6rem;
  background: color-mix(in srgb, var(--forest-deep) 82%, transparent);
  color: var(--sun);
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: .8rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: .3rem .55rem;
  border-radius: 999px;
}

/* ==========================================================================
   MOBILE EXPERIENCE PASS — touch-first layout and shared accessibility
   ========================================================================== */
html { scroll-padding-top: 5rem; }
body { overflow-x: clip; }
body.mobile-menu-open { overflow: hidden; }
main { scroll-margin-top: 5rem; }
a, button, input, select, textarea { touch-action: manipulation; }

.skip-link {
  position: fixed;
  top: .75rem;
  left: .75rem;
  z-index: 1000;
  padding: .7rem 1rem;
  border-radius: 999px;
  background: var(--sun);
  color: var(--forest-deep);
  font-weight: 700;
  transform: translateY(-180%);
  transition: transform .2s var(--ease);
}
.skip-link:focus { transform: translateY(0); outline: 3px solid var(--cream); outline-offset: 2px; }

.site-header { isolation: isolate; }
.nav-toggle { min-width: 44px; min-height: 44px; }
.header-call-mobile { flex: none; }

@media (max-width: 1024px) {
  .site-header__inner { min-height: 72px; }
  .nav.is-open {
    max-height: min(70dvh, 520px);
    overflow-y: auto;
    padding: .75rem var(--gutter) calc(1rem + env(safe-area-inset-bottom));
  }
  .nav.is-open .nav__list { gap: .25rem; align-items: stretch; }
  .nav.is-open .nav__list > li,
  .nav.is-open .nav__list > li > a { width: 100%; }
  .nav.is-open .nav__list > li > a { min-height: 48px; padding: .7rem .25rem; }
  .nav.is-open .dropdown { margin-bottom: .35rem; }
  .nav.is-open .dropdown a { min-height: 44px; padding: .6rem .7rem; }
  .nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.is-open span:nth-child(2) { opacity: 0; }
  .nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

@media (max-width: 720px) {
  .hero__inner {
    gap: 1.5rem;
    padding-top: 2.75rem;
    padding-bottom: 2rem;
  }
  .hero__title {
    max-width: 12ch;
    margin-bottom: 1rem;
    font-size: clamp(2.75rem, 14vw, 4rem);
    text-wrap: balance;
  }
  .hero__lede { max-width: 34ch; margin-bottom: 1.5rem; font-size: 1rem; }
  .hero__form-card { max-width: none; padding: 1.25rem; border-radius: 18px; }
  .hero-form { gap: .7rem; }
  .hero-form input, .hero-form select { min-height: 48px; font-size: 1rem; }
  .hero__meta { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; padding: .75rem 0; }
  .hero__meta > div { min-height: 72px; padding: .75rem .8rem; border-left: 0; border-top: 1px solid color-mix(in srgb, var(--sun) 24%, transparent); }
  .hero__meta > div:nth-child(-n+2) { border-top: 0; }
  .hero__meta strong { font-size: 1.5rem; }
  .hero__meta span { margin-top: .4rem; font-size: .78rem; line-height: 1.3; }

  .section-head { margin-bottom: 2rem; }
  .section-head__sub { font-size: 1rem; }
  .feature-block__grid { gap: 1.5rem; }
  .contact__details li { grid-template-columns: 1fr; gap: .2rem; }
  .contact-form { padding: 1.25rem; border-radius: 18px; }
  .form-field input, .form-field select { min-height: 48px; }
  .form-chip span { min-height: 44px; display: inline-flex; align-items: center; }
  .form-actions { align-items: stretch; flex-direction: column; }
  .form-actions .btn { width: 100%; }
  .form-actions__note { text-align: center; }
  .gallery-filters { gap: .5rem; margin-bottom: 1.5rem; }
  .gallery-filter { min-height: 44px; }
}

@media (max-width: 560px) {
  .announcement__inner { padding-inline: 1rem 2.5rem; text-align: center; }
  .announcement__close { right: .75rem; width: 40px; height: 40px; }
  .site-header__inner { min-height: 64px; }
  .hero__text { max-width: 100%; }
  .hero__title { max-width: 11ch; }
  .hero__watermark { right: -22%; bottom: 8%; width: 400px; }
  .site-footer { padding-bottom: calc(2rem + env(safe-area-inset-bottom)); }
  .site-footer__legal { flex-direction: column; gap: .5rem; }
  .music-player { bottom: calc(.75rem + env(safe-area-inset-bottom)); }
}

@media (prefers-reduced-motion: reduce) {
  .nav.is-open { animation: none; }
}

/* ========================================================================== 
   RESPONSIVE SYSTEM + THE HUNLEY STANDARD
   Final cascade pass: one container rhythm, deliberate tablet transitions,
   and a compact editorial replacement for the old promise cards.
   ========================================================================== */
:root {
  --container: 1240px;
  --gutter: clamp(1rem, 4vw, 2.5rem);
}

.container {
  width: min(100%, var(--container));
  min-width: 0;
}

main, section, header, footer, .container,
.site-header__inner, .site-footer__inner,
.feature-block__grid, .contact-main__grid, .membership__grid,
.team__grid, .contact__grid { min-width: 0; }

h1, h2, h3, h4, .hero__title, .contact-hero__title,
.service-hero__title, .thanks-title {
  text-wrap: balance;
}

.hero__title, .contact-hero__title, .service-hero__title, .thanks-title {
  max-inline-size: 100%;
}

.announcement__inner > span { min-width: 0; }
.brand { min-width: 0; }
.brand__logo-img { max-width: 100%; }
.site-header__right { min-width: 0; flex-shrink: 0; }

/* The standard is a reading flow, not a grid of cards. */
.standard-section {
  background: var(--forest);
  color: var(--cream);
  padding-block: clamp(3.75rem, 7vw, 6.5rem);
}
.standard-section .h2 { color: var(--cream); max-width: 12ch; }
.standard-section .h2 em { color: var(--sun); }
.standard-section .section-head__sub {
  color: color-mix(in srgb, var(--cream) 74%, transparent);
  max-width: 38ch;
}
.standard-layout {
  display: grid;
  grid-template-columns: minmax(250px, .78fr) minmax(0, 1.22fr);
  gap: clamp(2.5rem, 8vw, 8rem);
  align-items: start;
}
.standard-intro { margin: 0; }
.standard-intro .eyebrow { color: var(--sun); }
.standard-list { border-top: 1px solid color-mix(in srgb, var(--cream) 20%, transparent); }
.standard-item {
  display: grid;
  grid-template-columns: 2.4rem minmax(0, 1fr) 2rem;
  gap: 1rem;
  align-items: start;
  padding: 1.35rem 0;
  border-bottom: 1px solid color-mix(in srgb, var(--cream) 20%, transparent);
  transition: background .25s var(--ease), padding-inline .25s var(--ease);
}
.standard-item:hover {
  padding-inline: .9rem;
  background: color-mix(in srgb, var(--cream) 7%, transparent);
}
.standard-item__number {
  padding-top: .15rem;
  color: var(--sun);
  font-family: var(--ff-display);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: .08em;
}
.standard-item__body h3 {
  color: var(--cream);
  font-family: var(--ff-display);
  font-size: clamp(1.35rem, 2.1vw, 1.8rem);
  line-height: 1.05;
  margin-bottom: .35rem;
}
.standard-item__body p {
  color: color-mix(in srgb, var(--cream) 68%, transparent);
  font-size: .92rem;
  line-height: 1.5;
  max-width: 48ch;
}
.standard-item__mark {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border: 1px solid color-mix(in srgb, var(--sun) 55%, transparent);
  border-radius: 50%;
  color: var(--sun);
  font-size: 1.05rem;
  transition: background .25s var(--ease), color .25s var(--ease), transform .25s var(--ease);
}
.standard-item:hover .standard-item__mark {
  background: var(--sun);
  color: var(--forest-deep);
  transform: translate(2px, -2px);
}
.standard-proof {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: clamp(2rem, 4vw, 3.25rem);
  padding-top: 1.25rem;
  border-top: 1px solid color-mix(in srgb, var(--cream) 20%, transparent);
}
.standard-proof__mark {
  display: grid;
  place-items: center;
  width: 2.2rem;
  height: 2.2rem;
  flex: none;
  border-radius: 50%;
  background: var(--sun);
  color: var(--forest-deep);
  font-weight: 800;
}
.standard-proof p {
  flex: 1;
  color: color-mix(in srgb, var(--cream) 72%, transparent);
  font-size: .92rem;
}
.standard-proof strong { color: var(--cream); }
.standard-proof .link-arrow { color: var(--sun); flex: none; }

/* Tablet: keep two-column storytelling where there is room, then stack cleanly. */
@media (min-width: 900px) and (max-width: 1024px) {
  .feature-block__grid,
  .membership__grid,
  .team__grid,
  .contact__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feature-block__grid { gap: 2rem; }
  .feature-block--reverse .feature-block__grid > .feature-block__media { order: -1; }
  .feature-block__media { aspect-ratio: 1 / 1; max-height: 440px; }
  .team__portrait { max-height: 520px; }
  .contact__grid { gap: 2rem; }
}

@media (max-width: 899px) {
  .section-head--split { row-gap: 1rem; }
  .feature-block__grid,
  .membership__grid,
  .team__grid,
  .contact__grid { gap: clamp(1.75rem, 5vw, 3rem); }
  .feature-block__copy .h2 { max-width: 16ch; }
  .standard-layout { grid-template-columns: minmax(220px, .8fr) minmax(0, 1.2fr); gap: 2.5rem; }
}

@media (max-width: 720px) {
  :root {
    --section-y: clamp(3rem, 10vw, 4.5rem);
    --section-y-lg: clamp(3.5rem, 12vw, 5.5rem);
  }
  .hero__title { font-size: clamp(2.65rem, 12vw, 4rem); }
  .contact-hero__title, .service-hero__title { font-size: clamp(2.5rem, 11vw, 4.25rem); }
  .section-head__sub { font-size: 1rem; }
  .feature-block__grid,
  .membership__grid,
  .team__grid,
  .contact__grid,
  .contact-main__grid { grid-template-columns: 1fr; }
  .feature-block__copy .h2 { max-width: 18ch; }
  .feature-block__media { aspect-ratio: 16 / 10; max-height: 340px; }
  .team__portrait { max-width: 100%; max-height: 420px; }
  .standard-layout { grid-template-columns: 1fr; gap: 2.25rem; }
  .standard-section .h2 { max-width: 14ch; }
  .standard-item { grid-template-columns: 2rem minmax(0, 1fr) 2rem; gap: .75rem; padding-block: 1.15rem; }
  .standard-item:hover { padding-inline: .6rem; }
  .standard-item__body h3 { font-size: 1.45rem; }
  .standard-proof { align-items: flex-start; flex-wrap: wrap; }
  .standard-proof p { min-width: calc(100% - 3.2rem); }
  .standard-proof .link-arrow { margin-left: 3.2rem; }
  .svc-jump { gap: .5rem; }
  .svc-jump a { min-height: 44px; display: inline-flex; align-items: center; }
}

@media (max-width: 560px) {
  .container { padding-inline: 1rem; }
  .section-head { margin-bottom: 1.75rem; }
  .section-head--split { gap: .75rem; }
  .section-foot { margin-top: 2rem; }
  .h2 { font-size: clamp(2.1rem, 10vw, 3.2rem); }
  .hero__inner { gap: 1.25rem; }
  .hero__title { font-size: clamp(2.55rem, 13vw, 3.65rem); }
  .contact-hero__title, .service-hero__title { font-size: clamp(2.35rem, 12vw, 3.5rem); }
  .feature-card__body { padding: 1.15rem 1.15rem 1.3rem; }
  .feature-card__body .h3 { font-size: 1.3rem; }
  .feature-card__icon { width: 38px !important; height: 38px !important; }
  .feature-card__body, .feature-card__body--cta { grid-template-columns: 38px 1fr !important; column-gap: .8rem; }
  .feature-block__copy .h2 { max-width: 100%; }
  .feature-block__media { aspect-ratio: 16 / 9; max-height: 270px; }
  .about-stats__grid { gap: 1rem .75rem; }
  .about-stats__num { font-size: clamp(1.8rem, 9vw, 2.5rem); }
  .site-footer__inner { gap: 1.75rem; }
  .standard-section { padding-block: 3.5rem; }
  .standard-item__body h3 { font-size: 1.3rem; }
  .standard-item__body p { font-size: .88rem; }
  .standard-proof { gap: .75rem; }
  .standard-proof p { font-size: .88rem; }
  .standard-proof .link-arrow { margin-left: 3rem; }
}

@media (max-width: 380px) {
  .hero__title { font-size: 2.45rem; }
  .contact-hero__title, .service-hero__title { font-size: 2.25rem; }
  .standard-item { grid-template-columns: 1.75rem minmax(0, 1fr) 1.75rem; gap: .6rem; }
  .standard-item__mark { width: 1.75rem; height: 1.75rem; }
}
