/* Palisade Fence Co. : GOOD NEIGHBOR direction.
   Deep palm green + clay orange + shell cream. Friendly rounded local-service
   trust language executed premium. Fictional demo by Overflow Marketing. */

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; }
img { max-width: 100%; height: auto; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
ul[class], ol[class] { padding: 0; list-style: none; }
a { color: inherit; }

/* ---------- tokens ---------- */
:root {
  --green: #16402b;        /* Palisade Green */
  --canopy: #0d2a1b;       /* Canopy (darkest band) */
  --green-soft: #23543a;   /* hover on dark */
  --orange: #e8622c;       /* Clay Orange */
  --orange-deep: #c94e1d;
  --cream: #faf7ef;        /* Shell Cream page ground */
  --sage: #e9f1e2;         /* Sage Mist tinted bands */
  --card: #ffffff;
  --ink: #1c2b22;
  --ink-soft: #4c5c50;
  --ink-faint: #748477;
  --line: #dfe6d8;
  --line-dark: rgba(255,255,255,.16);
  --star: #f2b53a;
  --r-card: 22px;
  --r-photo: 18px;
  --shadow: 0 18px 44px -22px rgba(13,42,27,.35);
  --shadow-soft: 0 10px 30px -18px rgba(13,42,27,.25);
  --wrap: 1180px;
  --font-display: "Bricolage Grotesque", "Plus Jakarta Sans", sans-serif;
  --font-body: "Plus Jakarta Sans", system-ui, sans-serif;
  --ease-out: cubic-bezier(.2,.75,.25,1);
}

body {
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
}

.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: clamp(18px, 4vw, 32px); }

/* ---------- type ---------- */
h1, h2, h3, h4, .display {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.015em;
  color: var(--ink);
}
h1 { font-size: clamp(2.4rem, 5.6vw, 4.15rem); }
h2 { font-size: clamp(1.85rem, 3.6vw, 2.75rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.45rem); line-height: 1.25; }
h4 { font-size: 1.05rem; line-height: 1.35; }
.lead { font-size: clamp(1.02rem, 1.5vw, 1.17rem); color: var(--ink-soft); max-width: 62ch; }
.accent { color: var(--orange); }
.on-dark h1, .on-dark h2, .on-dark h3, .on-dark h4 { color: #fff; }
.on-dark .lead, .on-dark p { color: rgba(255,255,255,.82); }
.fineprint { font-size: .8rem; color: var(--ink-faint); }
.on-dark .fineprint { color: rgba(255,255,255,.55); }

/* label chip: pill with orange dot */
.chip {
  display: inline-flex; align-items: center; gap: .5em;
  background: #fff; border: 1px solid var(--line);
  border-radius: 999px; padding: .42em 1.1em;
  font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--green);
}
.chip::before { content: ""; width: .5em; height: .5em; border-radius: 50%; background: var(--orange); }
.on-dark .chip { background: rgba(255,255,255,.08); border-color: var(--line-dark); color: #fff; }

/* license badge chip (hero) */
.badge-license {
  display: inline-flex; align-items: center; gap: .55em;
  background: rgba(13,42,27,.55); border: 1px solid rgba(255,255,255,.32);
  backdrop-filter: blur(6px);
  color: #fff; border-radius: 999px; padding: .5em 1.2em;
  font-size: .82rem; font-weight: 600; letter-spacing: .06em;
}
.badge-license svg { width: 1em; height: 1em; color: var(--star); }

/* ---------- skip link & focus ---------- */
.skip {
  position: absolute; left: -999px; top: 0; z-index: 200;
  background: var(--orange); color: #fff; padding: .7em 1.3em; border-radius: 0 0 12px 0;
  font-weight: 700; text-decoration: none;
}
.skip:focus { left: 0; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; border-radius: 4px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .7em;
  border: 0; cursor: pointer; text-decoration: none;
  background: var(--green); color: #fff;
  font-weight: 700; font-size: .98rem;
  padding: .55em .6em .55em 1.5em; border-radius: 999px;
  transition: transform .25s var(--ease-out), background .25s, box-shadow .25s;
  box-shadow: var(--shadow-soft);
}
.btn .btn-orb {
  width: 2.35em; height: 2.35em; border-radius: 50%; flex: none;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--orange); color: #fff;
  transition: transform .3s var(--ease-out), background .25s;
}
.btn .btn-orb svg { width: 1.05em; height: 1.05em; }
.btn:hover { transform: translateY(-2px) scale(1.02); background: var(--green-soft); }
.btn:hover .btn-orb { transform: rotate(45deg); background: var(--orange-deep); }
.btn--orange { background: var(--orange); }
.btn--orange .btn-orb { background: #fff; color: var(--orange); }
.btn--orange:hover { background: var(--orange-deep); }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: #fff; }
.btn--ghost { background: transparent; box-shadow: none; border: 1.5px solid var(--line); color: var(--ink); }
.btn--ghost:hover { background: #fff; }
.btn--ghost-light { background: transparent; box-shadow: none; border: 1.5px solid rgba(255,255,255,.45); color: #fff; }
.btn--ghost-light:hover { background: rgba(255,255,255,.1); }
.btn--bare { padding: .55em 1.5em; }

/* ---------- header ---------- */
.util {
  background: var(--canopy); color: rgba(255,255,255,.85);
  font-size: .84rem; font-weight: 500;
}
.util .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1em; padding-block: .55em; }
.util a { text-decoration: none; display: inline-flex; align-items: center; gap: .45em; }
.util a:hover { color: #fff; }
.util svg { width: 1em; height: 1em; color: var(--orange); }
.util-right { display: flex; gap: 1.6em; }

.hdr-shell { position: sticky; top: 0; z-index: 100; padding-block: 12px; transition: padding .3s var(--ease-out); }
.hdr-shell::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(rgba(250,247,239,.92), rgba(250,247,239,0));
  opacity: 0; transition: opacity .3s;
}
.hdr-shell.scrolled { padding-block: 6px; }
.hdr-shell.scrolled::before { opacity: 1; }
.hdr {
  position: relative;
  display: flex; align-items: center; gap: 1.2em;
  background: #fff; border-radius: 999px; padding: .5em .55em .5em 1.5em;
  box-shadow: var(--shadow-soft);
  transition: box-shadow .3s;
}
.hdr-shell.scrolled .hdr { box-shadow: var(--shadow); }
.hero-dark + * {} /* noop */

.wordmark { display: inline-flex; align-items: baseline; gap: .35em; text-decoration: none; }
.wordmark .wm-main {
  font-family: var(--font-display); font-weight: 800; font-size: 1.35rem;
  letter-spacing: -.02em; color: var(--green);
}
.wordmark .wm-sub { font-size: .78rem; font-weight: 700; color: var(--orange); letter-spacing: .04em; }

.nav { display: flex; align-items: center; gap: .2em; margin-left: auto; }
.nav-item { position: relative; }
.nav .top {
  display: inline-flex; align-items: center; gap: .35em;
  background: none; border: 0; cursor: pointer;
  padding: .6em .95em; border-radius: 999px;
  font-weight: 600; font-size: .95rem; color: var(--ink-soft);
  text-decoration: none; transition: background .2s, color .2s;
}
.nav .top:hover, .nav .top[aria-current="true"] { background: var(--sage); color: var(--green); }
.nav .top svg { width: .85em; height: .85em; transition: transform .25s; }
.nav-item.open .top svg { transform: rotate(180deg); }
.sub {
  position: absolute; top: calc(100% + 12px); left: 0; min-width: 240px;
  background: #fff; border-radius: 18px; padding: .55em;
  box-shadow: var(--shadow); border: 1px solid var(--line);
  display: none; flex-direction: column; z-index: 60;
}
.nav-item.open .sub { display: flex; }
.sub a {
  text-decoration: none; font-weight: 600; font-size: .93rem; color: var(--ink-soft);
  padding: .6em .9em; border-radius: 12px;
}
.sub a:hover { background: var(--sage); color: var(--green); }
.sub .sub-note { font-size: .74rem; color: var(--ink-faint); padding: .5em .9em .2em; letter-spacing: .08em; text-transform: uppercase; font-weight: 700; }
.hdr-cta { flex: none; }
.nav-toggle {
  display: none; background: var(--sage); border: 0; border-radius: 50%;
  width: 44px; height: 44px; cursor: pointer; color: var(--green);
  align-items: center; justify-content: center; flex: none;
}
.nav-toggle svg { width: 22px; height: 22px; }

.mobile-panel {
  display: none; position: absolute; top: calc(100% + 10px); left: 0; right: 0;
  background: #fff; border-radius: 24px; box-shadow: var(--shadow);
  padding: 1.2em 0; max-height: calc(100vh - 140px); overflow: auto; z-index: 90;
}
body.nav-open .mobile-panel { display: block; }
.mp-group { padding: .6em 0; border-top: 1px solid var(--line); display: flex; flex-direction: column; }
.mp-group:first-child { border-top: 0; }
.mp-label { font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; color: var(--ink-faint); padding: .4em 0; }
.mp-group a { text-decoration: none; font-weight: 600; padding: .55em 0; color: var(--ink); }
.mp-cta { justify-content: center; margin-top: .6em; }

@media (max-width: 920px) {
  .nav, .hdr-cta { display: none; }
  .nav-toggle { display: inline-flex; margin-left: auto; }
  .util-right span.util-mail { display: none; }
}
@media (max-width: 560px) {
  .util .util-tag { display: none; }
  .util .wrap { justify-content: center; }
}

/* ---------- hero ---------- */
.hero {
  position: relative; color: #fff; overflow: clip;
  margin-top: -86px; /* pull behind sticky header */
  padding-top: 86px;
}
.hero-bg { position: absolute; inset: 0; z-index: -1; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(100deg, rgba(10,30,19,.88) 8%, rgba(10,30,19,.55) 48%, rgba(10,30,19,.25) 78%),
    linear-gradient(rgba(10,30,19,.5), rgba(10,30,19,.18) 30%, rgba(10,30,19,.62) 96%);
}
.hero .wrap { padding-block: clamp(84px, 12vw, 148px) clamp(60px, 8vw, 96px); }
.hero h1 { color: #fff; max-width: 15ch; }
.hero .lead { color: rgba(255,255,255,.86); margin-top: 1.1em; max-width: 54ch; }
.hero .lead b { color: #fff; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: .9em; margin-top: 1.8em; }
.hero-badge { margin-bottom: 1.4em; }
.hero h1 { margin: 0; }

/* rating proof band */
.proof { display: flex; flex-wrap: wrap; align-items: stretch; gap: clamp(1.2em, 4vw, 2.6em); margin-top: 2.4em; }
.proof-item { display: flex; flex-direction: column; gap: .25em; position: relative; }
.proof-item + .proof-item { padding-left: clamp(1.2em, 4vw, 2.6em); border-left: 1px solid rgba(255,255,255,.28); }
.proof-score { display: flex; align-items: center; gap: .55em; }
.proof-score .num {
  font-family: var(--font-display); font-weight: 800; font-size: 1.7rem; color: #fff; line-height: 1;
}
.stars { display: inline-flex; gap: .12em; color: var(--star); }
.stars svg { width: 1em; height: 1em; }
.proof-sub { font-size: .85rem; color: rgba(255,255,255,.72); font-weight: 600; }

/* founder quote card */
.founder-card {
  position: absolute; right: clamp(18px, 4vw, 48px); bottom: clamp(18px, 4vw, 44px);
  max-width: 320px;
  background: rgba(13,42,27,.55); border: 1px solid rgba(255,255,255,.25);
  backdrop-filter: blur(10px);
  border-radius: var(--r-card); padding: 1.2em 1.4em;
  display: none;
}
.founder-card blockquote { margin: 0; font-family: var(--font-display); font-weight: 600; font-size: 1.02rem; line-height: 1.4; color: #fff; }
.founder-meta { display: flex; align-items: center; gap: .8em; margin-top: .9em; }
.founder-meta .who b { display: block; color: #fff; font-size: .95rem; }
.founder-meta .who span { font-size: .8rem; color: rgba(255,255,255,.65); }
@media (min-width: 1100px) { .founder-card { display: block; } }

/* monogram avatar */
.avatar {
  width: 2.7em; height: 2.7em; flex: none; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 800; font-size: .95rem;
  color: #fff; background: var(--green);
}
.avatar.tone-b { background: var(--orange); }
.avatar.tone-c { background: #3d6a4e; }

/* ---------- quote strip (in-hero form) ---------- */
.quote-strip { position: relative; z-index: 5; margin-top: clamp(-64px, -6vw, -44px); }
.quote-card {
  background: #fff; border-radius: var(--r-card); box-shadow: var(--shadow);
  padding: 1.1em; display: grid; grid-template-columns: repeat(3, 1fr) auto; gap: .8em;
  align-items: center;
}
.quote-card .field { position: relative; }
.quote-card .field svg {
  position: absolute; left: 1em; top: 50%; translate: 0 -50%;
  width: 1.05em; height: 1.05em; color: var(--ink-faint); pointer-events: none;
}
.quote-card input, .quote-card select {
  width: 100%; border: 1px solid var(--line); background: var(--cream);
  border-radius: 999px; padding: .85em 1.1em .85em 2.7em; font-size: .95rem;
}
.quote-note { grid-column: 1 / -1; text-align: center; }
@media (max-width: 880px) { .quote-card { grid-template-columns: 1fr 1fr; } .quote-card .btn { grid-column: 1 / -1; justify-content: center; } }
@media (max-width: 560px) { .quote-card { grid-template-columns: 1fr; } }

/* ---------- sections ---------- */
.section { padding-block: clamp(64px, 9vw, 110px); }
.section--tight { padding-block: clamp(44px, 6vw, 72px); }
.band-sage { background: var(--sage); }
.band-dark { background: var(--green); }
.band-canopy { background: var(--canopy); }
.sec-head { display: grid; gap: 1.2em; margin-bottom: clamp(2.2em, 5vw, 3.4em); }
.sec-head .chip { justify-self: start; }
.sec-head.split { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); align-items: end; }
.sec-head.split .side { display: grid; gap: 1.2em; justify-items: start; }
.sec-head.center { text-align: center; justify-items: center; }
.sec-head h2 { max-width: 18ch; }
.sec-head.center h2 { max-width: 24ch; }
@media (max-width: 800px) { .sec-head.split { grid-template-columns: 1fr; align-items: start; } }

/* ---------- materials strip ---------- */
.materials { border-block: 1px solid var(--line); background: #fff; }
.materials .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .7em 2.4em; padding-block: 1.3em; }
.materials .mat { display: inline-flex; align-items: center; gap: .6em; font-weight: 700; color: var(--ink-soft); font-size: .95rem; letter-spacing: .02em; }
.materials .mat svg { width: 1.25em; height: 1.25em; color: var(--orange); }
.materials .mat-note { flex-basis: 100%; text-align: center; }

/* ---------- numbered services panel ---------- */
.svc-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(2em, 5vw, 4em); align-items: start; }
.svc-list { border-top: 1px solid var(--line-dark); }
.svc-row {
  display: flex; align-items: center; gap: 1.1em;
  padding: 1.05em .2em; border-bottom: 1px solid var(--line-dark);
  text-decoration: none; position: relative;
  transition: padding .3s var(--ease-out), background .3s;
}
.svc-row .no { font-weight: 700; font-size: .95rem; color: rgba(255,255,255,.45); width: 2em; flex: none; }
.svc-row .svc-name { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.15rem, 2.2vw, 1.5rem); color: #fff; letter-spacing: -.01em; }
.svc-row .svc-desc { display: none; }
.svc-row .orb {
  margin-left: auto; flex: none;
  width: 2.6em; height: 2.6em; border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,.4); color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  transition: background .3s, border-color .3s, transform .3s var(--ease-out);
}
.svc-row .orb svg { width: 1em; height: 1em; }
.svc-row:hover { padding-left: .7em; }
.svc-row:hover .orb { background: var(--orange); border-color: var(--orange); transform: rotate(45deg); }
.svc-row.expanded .svc-desc { display: block; }
.svc-copy { color: rgba(255,255,255,.75); font-size: .95rem; margin-top: .35em; max-width: 52ch; }
.svc-figure { position: sticky; top: 110px; }
.svc-figure img { border-radius: var(--r-photo); width: 100%; height: clamp(340px, 46vw, 560px); object-fit: cover; }
.svc-figure figcaption { margin-top: .8em; }
@media (max-width: 880px) { .svc-grid { grid-template-columns: 1fr; } .svc-figure { position: static; order: -1; } .svc-figure img { height: clamp(220px, 50vw, 360px); } }

/* ---------- feature trio (why us) ---------- */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4em; }
.feature {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-card);
  padding: 1.8em 1.6em; display: grid; gap: .8em; align-content: start;
  transition: transform .3s var(--ease-out), box-shadow .3s;
}
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.feature .ic {
  width: 3em; height: 3em; border-radius: 50%; background: var(--orange); color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
}
.feature .ic svg { width: 1.4em; height: 1.4em; }
.feature p { color: var(--ink-soft); font-size: .96rem; }
@media (max-width: 820px) { .features { grid-template-columns: 1fr; } }

/* ---------- gallery / project cards ---------- */
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.4em; }
.gcard {
  position: relative; border-radius: var(--r-card); overflow: hidden;
  display: grid; color: #fff; text-decoration: none;
  box-shadow: var(--shadow-soft); min-height: 340px;
}
.gcard img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out); }
.gcard::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(200deg, rgba(13,42,27,0) 30%, rgba(13,42,27,.82) 88%);
}
.gcard:hover img { transform: scale(1.045); }
.gcard-body { position: relative; z-index: 2; align-self: end; padding: 1.6em; display: grid; gap: .45em; justify-items: start; }
.gcard-loc { display: inline-flex; align-items: center; gap: .5em; font-size: .85rem; font-weight: 700; }
.gcard-loc .pin { width: 1.9em; height: 1.9em; border-radius: 50%; background: var(--orange); display: inline-flex; align-items: center; justify-content: center; }
.gcard-loc .pin svg { width: 1em; height: 1em; }
.gcard h3 { color: #fff; padding-bottom: .45em; border-bottom: 1px solid rgba(255,255,255,.35); }
.gcard p { color: rgba(255,255,255,.85); font-size: .93rem; max-width: 46ch; }
.gcard .tagset { display: flex; gap: .5em; flex-wrap: wrap; margin-top: .3em; }
.tag { background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.28); border-radius: 999px; padding: .25em .85em; font-size: .76rem; font-weight: 700; }
.gcard--wide { grid-column: 1 / -1; min-height: 420px; }
@media (max-width: 760px) { .gallery { grid-template-columns: 1fr; } .gcard { min-height: 300px; } }

/* before / after pair */
.ba-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 1em; }
.ba-cell { position: relative; border-radius: var(--r-photo); overflow: hidden; }
.ba-cell img { width: 100%; height: clamp(240px, 34vw, 420px); object-fit: cover; }
.ba-flag {
  position: absolute; top: 1em; left: 1em;
  background: rgba(13,42,27,.72); color: #fff; backdrop-filter: blur(4px);
  border-radius: 999px; padding: .35em 1.05em; font-size: .8rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
}
.ba-flag.is-after { background: var(--orange); }
@media (max-width: 640px) { .ba-pair { grid-template-columns: 1fr; } }

/* ---------- review cards ---------- */
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4em; }
.rcard {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-card);
  overflow: hidden; display: grid; grid-template-rows: auto 1fr auto;
  transition: transform .3s var(--ease-out), box-shadow .3s;
}
.rcard:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.rcard-photo { position: relative; }
.rcard-photo img { width: 100%; height: 190px; object-fit: cover; }
.rcard-score {
  position: absolute; right: .9em; bottom: .9em;
  background: var(--canopy); color: #fff; border-radius: 999px;
  padding: .3em .9em; font-weight: 800; font-size: .85rem;
  display: inline-flex; align-items: center; gap: .4em;
}
.rcard-score svg { width: 1em; height: 1em; color: var(--star); }
.rcard-body { padding: 1.3em 1.4em .6em; }
.rcard-body .stars { margin-bottom: .5em; }
.rcard-body p { color: var(--ink-soft); font-size: .95rem; }
.rcard-foot { display: flex; align-items: center; gap: .85em; padding: 0 1.4em 1.3em; }
.rcard-foot .who b { display: block; font-size: .95rem; }
.rcard-foot .who span { font-size: .8rem; color: var(--ink-faint); }
.rcard-foot .verified { margin-left: auto; display: inline-flex; align-items: center; gap: .35em; font-size: .74rem; font-weight: 700; color: var(--green); }
.rcard-foot .verified svg { width: 1.1em; height: 1.1em; color: var(--orange); }
.rcard--text { grid-template-rows: 1fr auto; }
@media (max-width: 920px) { .reviews-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .reviews-grid { grid-template-columns: 1fr; } }

/* rating summary (reviews page) */
.rating-summary {
  display: grid; grid-template-columns: auto 1fr; gap: clamp(1.6em, 4vw, 3em);
  background: var(--canopy); color: #fff; border-radius: var(--r-card);
  padding: clamp(1.6em, 4vw, 2.6em); align-items: center;
}
.rating-summary .big {
  font-family: var(--font-display); font-weight: 800; font-size: clamp(3.4rem, 8vw, 5.4rem); line-height: 1; color: #fff;
}
.rating-summary .sub { color: rgba(255,255,255,.7); font-weight: 600; font-size: .9rem; }
.rating-bars { display: grid; gap: .55em; }
.rbar { display: grid; grid-template-columns: 3.2em 1fr 3em; gap: .8em; align-items: center; font-size: .85rem; font-weight: 700; }
.rbar .track { height: .55em; border-radius: 999px; background: rgba(255,255,255,.15); overflow: hidden; }
.rbar .fill { height: 100%; border-radius: 999px; background: var(--star); width: var(--w, 0%); transition: width 1.1s var(--ease-out) .2s; }
.rbar .pct { text-align: right; color: rgba(255,255,255,.7); }
@media (max-width: 640px) { .rating-summary { grid-template-columns: 1fr; } }

/* ---------- process rail ---------- */
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.6em; counter-reset: step; }
.pstep { text-align: center; display: grid; justify-items: center; gap: .7em; position: relative; }
.pstep .porb {
  position: relative; width: 5.4em; height: 5.4em; border-radius: 50%;
  background: var(--sage); color: var(--orange);
  display: inline-flex; align-items: center; justify-content: center;
}
.pstep .porb svg { width: 2.1em; height: 2.1em; }
.pstep .porb::after {
  counter-increment: step; content: "0" counter(step);
  position: absolute; top: -.35em; left: -.35em;
  background: var(--orange); color: #fff; border-radius: 999px;
  font-size: .78rem; font-weight: 800; padding: .3em .7em;
}
.pstep p { font-size: .93rem; color: var(--ink-soft); max-width: 30ch; }
.pstep:not(:last-child)::after {
  content: ""; position: absolute; top: 2.6em; left: calc(50% + 3.4em); width: calc(100% - 6.8em); height: 2px;
  background-image: linear-gradient(90deg, var(--ink-faint) 40%, transparent 40%);
  background-size: 9px 2px; opacity: .5;
}
@media (max-width: 880px) { .process { grid-template-columns: 1fr 1fr; } .pstep:not(:last-child)::after { display: none; } }
@media (max-width: 520px) { .process { grid-template-columns: 1fr; } }

/* ---------- service area ---------- */
.areas { display: grid; grid-template-columns: 1fr 1fr; gap: 0 clamp(1.6em, 5vw, 4em); }
.area-row {
  display: flex; align-items: center; gap: .9em;
  padding: .95em .2em; border-bottom: 1px solid var(--line);
  font-weight: 700; color: var(--ink); font-size: 1.02rem;
}
.area-row .pin {
  width: 2.2em; height: 2.2em; border-radius: 50%; flex: none;
  background: var(--orange); color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
}
.area-row .pin svg { width: 1.1em; height: 1.1em; }
.area-row .mi { margin-left: auto; font-size: .8rem; font-weight: 600; color: var(--ink-faint); }
@media (max-width: 640px) { .areas { grid-template-columns: 1fr; } }

/* ---------- spec tables ---------- */
.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-photo); background: #fff; }
table.spec { width: 100%; border-collapse: collapse; font-size: .95rem; min-width: 640px; }
table.spec caption { text-align: left; padding: 1.1em 1.3em .4em; font-weight: 700; font-family: var(--font-display); font-size: 1.05rem; }
table.spec th, table.spec td { text-align: left; padding: .85em 1.3em; border-top: 1px solid var(--line); }
table.spec thead th { border-top: 0; background: var(--sage); color: var(--green); font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; }
table.spec td b { color: var(--ink); }
table.spec .num-cell { font-variant-numeric: tabular-nums; }

/* ---------- detail page intro ---------- */
.pageintro { background: var(--sage); position: relative; overflow: clip; }
.pageintro .wrap { padding-block: clamp(56px, 8vw, 92px); display: grid; gap: 1.1em; justify-items: start; }
.pageintro h1 { max-width: 16ch; }
.crumbs { font-size: .84rem; font-weight: 600; color: var(--ink-faint); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--orange); }

/* split content blocks */
.split-2 { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.8em, 5vw, 4em); align-items: center; }
.split-2 img { border-radius: var(--r-photo); width: 100%; height: clamp(280px, 38vw, 440px); object-fit: cover; }
.split-2 .copy { display: grid; gap: 1em; justify-items: start; }
.split-2 .copy p { color: var(--ink-soft); }
@media (max-width: 820px) { .split-2 { grid-template-columns: 1fr; } }

.checklist { display: grid; gap: .7em; }
.checklist li { display: flex; gap: .8em; align-items: flex-start; color: var(--ink-soft); }
.checklist li svg { width: 1.35em; height: 1.35em; flex: none; color: var(--orange); margin-top: .15em; }
.checklist li b { color: var(--ink); }

/* FAQ */
.faq { display: grid; gap: .9em; max-width: 820px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--r-photo); padding: 0 1.4em; }
.faq summary {
  cursor: pointer; list-style: none; display: flex; align-items: center; gap: 1em;
  font-weight: 700; font-family: var(--font-display); font-size: 1.05rem; padding: 1.1em 0;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; margin-left: auto; color: var(--orange); font-size: 1.4em; font-weight: 600; transition: rotate .25s; }
.faq details[open] summary::after { rotate: 45deg; }
.faq details p { padding-bottom: 1.2em; color: var(--ink-soft); }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: clip; }
.cta-band .wrap { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 2em; align-items: center; }
.cta-band h2 { max-width: 14ch; }
.cta-side { display: grid; gap: 1em; justify-items: start; }
.cta-side .cta-phone a { color: #fff; font-weight: 800; font-size: 1.25rem; text-decoration: none; font-family: var(--font-display); }
@media (max-width: 800px) { .cta-band .wrap { grid-template-columns: 1fr; } }

/* ---------- contact / forms ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(1.8em, 5vw, 3.5em); align-items: start; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-card); padding: clamp(1.4em, 3.5vw, 2.2em); box-shadow: var(--shadow-soft); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1em; }
.form-grid .full { grid-column: 1 / -1; }
.form-grid label { display: grid; gap: .4em; font-weight: 700; font-size: .88rem; }
.form-grid input, .form-grid select, .form-grid textarea {
  border: 1px solid var(--line); background: var(--cream); border-radius: 14px;
  padding: .8em 1em; font-size: .96rem; width: 100%;
}
.form-grid textarea { min-height: 120px; resize: vertical; border-radius: var(--r-photo); }
.form-ok {
  display: none; background: var(--sage); border: 1px solid var(--green);
  border-radius: var(--r-photo); padding: 1.2em 1.4em; color: var(--green); font-weight: 600;
}
form.sent .form-ok { display: block; }
form.sent .form-grid, form.sent .form-actions { display: none; }
.form-actions { display: flex; align-items: center; gap: 1.2em; flex-wrap: wrap; margin-top: 1.3em; }
.contact-info { display: grid; gap: 1em; }
.info-tile {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-card);
  padding: 1.3em 1.5em; display: flex; gap: 1em; align-items: flex-start;
}
.info-tile .ic { width: 2.6em; height: 2.6em; flex: none; border-radius: 50%; background: var(--sage); color: var(--orange); display: inline-flex; align-items: center; justify-content: center; }
.info-tile .ic svg { width: 1.25em; height: 1.25em; }
.info-tile b { display: block; font-family: var(--font-display); }
.info-tile p, .info-tile a { color: var(--ink-soft); font-size: .95rem; text-decoration: none; }
.info-tile a:hover { color: var(--orange); }
@media (max-width: 880px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } }

/* ---------- footer ---------- */
.footer { background: var(--canopy); color: rgba(255,255,255,.78); overflow: clip; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--orange); }
.footer-grid {
  display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.2fr; gap: 2.2em;
  padding-block: clamp(48px, 7vw, 80px) 2em;
}
.footer-grid h4 { color: #fff; font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 1em; }
.footer-grid ul { display: grid; gap: .55em; font-size: .95rem; }
.footer-brand p { margin-top: 1em; font-size: .95rem; max-width: 34ch; }
.footer-brand .wm-main { color: #fff; }
.foot-contact li { display: flex; gap: .7em; align-items: flex-start; }
.foot-contact svg { width: 1.15em; height: 1.15em; flex: none; color: var(--orange); margin-top: .25em; }
.footer-mark {
  font-family: var(--font-display); font-weight: 800; letter-spacing: -.03em;
  font-size: clamp(4rem, 16.5vw, 15rem); line-height: .78; text-align: center;
  background: linear-gradient(180deg, rgba(255,255,255,.55), rgba(255,255,255,.04));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  user-select: none; pointer-events: none;
}
.footer-legal { border-top: 1px solid var(--line-dark); padding-block: 1.6em 2.2em; display: grid; gap: .5em; font-size: .8rem; color: rgba(255,255,255,.55); }
.footer-legal strong { color: rgba(255,255,255,.8); }
@media (max-width: 880px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- motion ---------- */
/* Reveal states only arm when JS has stamped html.js; otherwise fully visible. */
html.js .reveal { opacity: 0; translate: 0 26px; }
html.js .reveal.in {
  opacity: 1; translate: 0 0;
  transition: opacity .7s var(--ease-out), translate .7s var(--ease-out);
  transition-delay: calc(var(--i, 0) * 90ms);
}
html.js .wipe { clip-path: inset(0 0 100% 0 round var(--r-photo)); }
html.js .wipe.in {
  clip-path: inset(0 0 0% 0 round var(--r-photo));
  transition: clip-path .95s var(--ease-out);
  transition-delay: calc(var(--i, 0) * 110ms);
}
html.js .hero .reveal { translate: 0 34px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  html.js .reveal, html.js .wipe { opacity: 1; translate: 0 0; clip-path: none; transition: none; }
  .btn, .btn .btn-orb, .gcard img, .feature, .rcard { transition: none; }
  .rbar .fill { transition: none; }
}
