/* Afederal Exterminating — site styles
   Palette: near-black ink + brand mustard (#BFA12F) + warm paper. Flat, bold, typographic. */

:root {
  --ink: #12110d;
  --ink-2: #1b1913;
  --ink-3: #2a271e;
  --paper: #f5f0e1;
  --paper-2: #ebe4cf;
  --card: #fffdf6;
  --mustard: #bfa12f;
  --mustard-hi: #d9ba45;
  --mustard-deep: #75610d;
  --text: #1b1913;
  --muted: #5c5848;
  --muted-inv: #bdb69e;
  --line: rgba(18, 17, 13, 0.16);
  --line-inv: rgba(245, 240, 225, 0.18);
  --danger: #a3271b;

  --font-display: "Barlow Condensed", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Barlow", "Helvetica Neue", Arial, sans-serif;

  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2.5rem;
  --space-5: 4rem;
  --space-6: 6rem;
  --gutter: clamp(1.1rem, 4vw, 3rem);
  --max: 82rem;
  --radius: 4px;
  --header-h: 4.5rem;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg, video, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, h4, h5, h6 { margin: 0; font-family: var(--font-display); font-weight: 700; line-height: 0.98; text-transform: uppercase; letter-spacing: 0.005em; text-wrap: balance; }
p { margin: 0 0 1.1em; }
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: 3px solid var(--mustard-hi); outline-offset: 3px; }
.on-mustard :focus-visible, .band :focus-visible { outline-color: var(--ink); }
::selection { background: var(--mustard); color: var(--ink); }

.skip { position: absolute; left: 1rem; top: -4rem; z-index: 200; background: var(--mustard); color: var(--ink); padding: 0.75rem 1rem; font-weight: 600; text-decoration: none; }
.skip:focus { top: 1rem; }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.container { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- type helpers ---------- */
.eyebrow { font-family: var(--font-display); font-weight: 600; font-size: 0.95rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--mustard-deep); display: flex; align-items: center; gap: 0.75rem; margin: 0 0 1.1rem; }
.eyebrow::before { content: ""; width: 2.25rem; height: 2px; background: currentColor; flex: none; }
.dark .eyebrow, .eyebrow--inv { color: var(--mustard); }
.band .eyebrow { color: var(--ink); }
.h-xl { font-size: clamp(3rem, 9.4vw, 9rem); line-height: 0.86; letter-spacing: -0.01em; }
.h-lg { font-size: clamp(2.6rem, 6.4vw, 5.5rem); line-height: 0.9; }
.h-md { font-size: clamp(2rem, 4vw, 3.25rem); }
.h-sm { font-size: clamp(1.4rem, 2.2vw, 1.85rem); line-height: 1.05; }
.lede { font-size: clamp(1.1rem, 1.5vw, 1.3rem); line-height: 1.5; max-width: 38em; }
.muted { color: var(--muted); }
.dark .muted { color: var(--muted-inv); }

/* ---------- buttons ---------- */
.btn { --bg: var(--mustard); --fg: var(--ink); display: inline-flex; align-items: center; justify-content: center; gap: 0.65rem; min-height: 3.25rem; padding: 0.8rem 1.5rem; background: var(--bg); color: var(--fg); border: 2px solid var(--bg); border-radius: var(--radius); font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; letter-spacing: 0.06em; text-transform: uppercase; text-decoration: none; line-height: 1; cursor: pointer; transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s var(--ease-out); }
.btn:hover { --bg: var(--mustard-hi); }
.btn:active { transform: translateY(1px); }
.btn svg { width: 1.15em; height: 1.15em; flex: none; }
.btn--ghost { --bg: transparent; --fg: currentColor; border-color: currentColor; }
.btn--ghost:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.light .btn--ghost:hover, .band .btn--ghost:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.btn--ink { --bg: var(--ink); --fg: var(--paper); }
.btn--ink:hover { --bg: var(--ink-3); }
.btn--lg { min-height: 3.75rem; font-size: 1.4rem; padding-inline: 1.9rem; }
.link-arrow { display: inline-flex; align-items: center; gap: 0.5rem; font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; letter-spacing: 0.08em; text-transform: uppercase; text-decoration: none; border-bottom: 2px solid var(--mustard); padding-bottom: 0.2rem; transition: gap 0.25s var(--ease-out); }
.link-arrow:hover { gap: 0.9rem; }
.link-arrow svg { width: 1.1em; height: 1.1em; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: var(--ink); color: var(--paper); border-bottom: 1px solid var(--line-inv); }
.site-header__in { display: flex; align-items: center; gap: 1.5rem; height: var(--header-h); }
.brand { display: block; flex: none; }
.brand img { height: 2.75rem; width: auto; border-radius: 2px; }
.nav { margin-left: auto; }
.nav__list { display: flex; align-items: center; gap: 0.15rem; list-style: none; }
.nav__item { position: relative; display: flex; align-items: center; }
.nav__link { display: inline-flex; align-items: center; min-height: 2.75rem; padding: 0 0.7rem; font-family: var(--font-display); font-weight: 600; font-size: 1.12rem; letter-spacing: 0.07em; text-transform: uppercase; text-decoration: none; color: var(--paper); white-space: nowrap; transition: color 0.15s ease; }
.nav__link:hover, .nav__link[aria-current="page"], .nav__item.is-current > .nav__link { color: var(--mustard-hi); }
.nav__link[aria-current="page"] { box-shadow: inset 0 -3px 0 var(--mustard); }
.nav__caret { display: inline-flex; align-items: center; justify-content: center; width: 1.75rem; height: 2.75rem; margin-left: -0.5rem; background: none; border: 0; color: var(--muted-inv); }
.nav__caret svg { width: 0.8rem; height: 0.8rem; transition: transform 0.2s ease; }
.nav__item.is-open .nav__caret svg { transform: rotate(180deg); }
.sub { position: absolute; top: 100%; left: 0; min-width: 15rem; list-style: none; background: var(--ink-2); border: 1px solid var(--line-inv); border-top: 3px solid var(--mustard); padding: 0.5rem; display: none; }
.sub--cols { columns: 2; min-width: 24rem; }
.nav__item.is-open > .sub, .nav__item:hover > .sub, .nav__item:focus-within > .sub { display: block; }
.sub a { display: block; padding: 0.6rem 0.8rem; font-weight: 500; text-decoration: none; color: var(--paper); border-radius: 2px; break-inside: avoid; }
.sub a:hover, .sub a[aria-current="page"] { background: var(--mustard); color: var(--ink); }
.header-cta { display: flex; align-items: center; gap: 0.75rem; flex: none; }
.header-phone { display: inline-flex; flex-direction: column; text-decoration: none; line-height: 1; text-align: right; }
.header-phone small { font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted-inv); margin-bottom: 0.25rem; }
.header-phone strong { font-family: var(--font-display); font-size: 1.6rem; font-weight: 700; letter-spacing: 0.02em; color: var(--mustard-hi); }
.burger { display: none; width: 3rem; height: 3rem; background: none; border: 1px solid var(--line-inv); border-radius: var(--radius); align-items: center; justify-content: center; }
.burger span, .burger span::before, .burger span::after { display: block; width: 1.35rem; height: 2px; background: var(--paper); transition: transform 0.25s var(--ease-out), opacity 0.2s ease; content: ""; }
.burger span { position: relative; }
.burger span::before { position: absolute; top: -7px; }
.burger span::after { position: absolute; top: 7px; }
.burger[aria-expanded="true"] span { background: transparent; }
.burger[aria-expanded="true"] span::before { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 68rem) {
  .burger { display: inline-flex; }
  .nav { position: fixed; inset: var(--header-h) 0 0 0; background: var(--ink); margin: 0; padding: 1rem var(--gutter) 7rem; overflow-y: auto; visibility: hidden; opacity: 0; transform: translateY(-0.5rem); transition: opacity 0.2s ease, transform 0.25s var(--ease-out), visibility 0s 0.25s; }
  .nav.is-open { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__item { flex-wrap: wrap; border-bottom: 1px solid var(--line-inv); }
  .nav__link { flex: 1; font-size: 1.6rem; min-height: 3.6rem; padding: 0; }
  .nav__link[aria-current="page"] { box-shadow: none; }
  .nav__caret { width: 3.6rem; height: 3.6rem; margin: 0; }
  .nav__caret svg { width: 1rem; height: 1rem; }
  .sub, .sub--cols { position: static; width: 100%; min-width: 0; border: 0; background: none; padding: 0 0 1rem; columns: 2; }
  .nav__item:hover > .sub, .nav__item:focus-within > .sub { display: none; }
  .nav__item.is-open > .sub { display: block; }
  .sub a { padding: 0.7rem 0.6rem; color: var(--muted-inv); }
  .header-cta { margin-left: auto; }
  .header-phone small { display: none; }
}
@media (max-width: 30rem) {
  .brand img { height: 2.25rem; }
  .header-phone strong { font-size: 1.25rem; }
  .site-header__in { gap: 0.75rem; }
}

/* ---------- section scaffolding ---------- */
.section { padding-block: clamp(4rem, 9vw, 8rem); position: relative; }
.section--tight { padding-block: clamp(3rem, 6vw, 5rem); }
.dark { background: var(--ink); color: var(--paper); }
.dark-2 { background: var(--ink-2); color: var(--paper); }
.light { background: var(--paper); color: var(--text); }
.light-2 { background: var(--paper-2); color: var(--text); }
.section__head { display: grid; gap: 1.25rem; margin-bottom: clamp(2rem, 5vw, 4rem); }
@media (min-width: 60rem) { .section__head--split { grid-template-columns: 1.2fr 1fr; align-items: end; gap: 3rem; } }

/* reveal on enter (only when JS is running) */
.js [data-reveal] { opacity: 0; transform: translateY(1.5rem); transition: opacity 0.7s ease, transform 0.9s var(--ease-out); transition-delay: var(--d, 0s); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- home: pinned stage ---------- */
.stage { position: relative; height: 620vh; background: var(--ink); color: var(--paper); --e: 0; --q: 0; --it: 12%; --ir: 4%; --ib: 12%; --il: 54%; }
.stage__pin { position: sticky; top: var(--header-h); height: calc(100vh - var(--header-h)); height: calc(100svh - var(--header-h)); overflow: hidden; }
.stage__grid { position: absolute; inset: 0; background-image: linear-gradient(var(--line-inv) 1px, transparent 1px), linear-gradient(90deg, var(--line-inv) 1px, transparent 1px); background-size: 5rem 5rem; opacity: calc(0.35 * (1 - var(--e))); mask-image: radial-gradient(120% 90% at 20% 40%, #000 20%, transparent 75%); }
.stage__media { position: absolute; inset: 0; background: var(--ink-2); clip-path: inset(calc(var(--it) * (1 - var(--e))) calc(var(--ir) * (1 - var(--e))) calc(var(--ib) * (1 - var(--e))) calc(var(--il) * (1 - var(--e))) round calc(10px * (1 - var(--e)))); will-change: clip-path; }
.stage__media canvas, .stage__media .stage__art { position: absolute; inset: 0; width: 100%; height: 100%; }
.stage__media canvas { opacity: 0; transition: opacity 0.5s ease; }
.stage.has-seq .stage__media canvas { opacity: 1; }
.stage.has-seq .stage__art { opacity: 0; }
.stage__art { transition: opacity 0.5s ease; }
.stage__art svg { width: 100%; height: 100%; }
.stage__shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(18, 17, 13, 0.92) 0%, rgba(18, 17, 13, 0.55) 38%, rgba(18, 17, 13, 0) 68%), linear-gradient(0deg, rgba(18, 17, 13, 0.7), rgba(18, 17, 13, 0) 45%); opacity: var(--e); }
.stage__frame { position: absolute; top: var(--it); right: var(--ir); bottom: var(--ib); left: var(--il); border: 1px solid var(--mustard); border-radius: 10px; opacity: calc(1 - var(--e) * 3); pointer-events: none; }
.stage__tag { position: absolute; left: var(--il); top: calc(var(--it) - 2rem); font-family: var(--font-display); font-size: 0.85rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted-inv); opacity: calc(1 - var(--e) * 4); }

.hero { position: absolute; inset: 0; display: flex; align-items: center; pointer-events: none; opacity: calc(1 - var(--e) * 1.6); transform: translate3d(calc(var(--e) * -6vw), 0, 0); }
.hero__in { width: 100%; }
.hero__copy { max-width: min(46rem, 50vw); pointer-events: auto; }
.stage.is-past-hero .hero__copy { pointer-events: none; visibility: hidden; }
.hero h1 { font-size: clamp(3.1rem, 7.2vw, 7.4rem); line-height: 0.86; letter-spacing: -0.012em; margin-bottom: 1.5rem; }
.hero h1 span { display: block; }
.hero h1 em { font-style: normal; color: var(--mustard); }
.hero .lede { color: #e6dfc9; margin-bottom: 2rem; max-width: 30em; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-bottom: 2rem; }
.chips { display: flex; flex-wrap: wrap; gap: 0.5rem 1.4rem; list-style: none; font-size: 0.95rem; color: var(--muted-inv); }
.chips li { display: inline-flex; align-items: center; gap: 0.5rem; }
.chips svg { width: 1rem; height: 1rem; color: var(--mustard); flex: none; }

.chapters { position: absolute; inset: 0; list-style: none; pointer-events: none; }
.chapter { position: absolute; left: var(--gutter); bottom: clamp(2.5rem, 9vh, 6rem); max-width: 34rem; opacity: 0; transform: translateY(2rem); transition: opacity 0.45s ease, transform 0.7s var(--ease-out); }
.chapter.is-active { opacity: 1; transform: none; }
.chapter__num { display: flex; align-items: baseline; gap: 0.9rem; font-family: var(--font-display); font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; font-size: 0.95rem; color: var(--mustard); margin-bottom: 0.6rem; }
.chapter__num b { font-size: 3.6rem; font-weight: 700; letter-spacing: 0; line-height: 0.8; color: var(--mustard); }
.chapter h2 { font-size: clamp(3rem, 7vw, 6.4rem); line-height: 0.86; margin-bottom: 1rem; }
.chapter p { font-size: clamp(1.05rem, 1.4vw, 1.25rem); color: #e6dfc9; margin: 0; max-width: 30em; }

.rail { position: absolute; right: var(--gutter); top: 50%; transform: translateY(-50%); list-style: none; display: grid; gap: 1.1rem; opacity: clamp(0, calc(var(--e) * 3 - 2), 1); }
.rail li { display: flex; align-items: center; justify-content: flex-end; gap: 0.75rem; font-family: var(--font-display); font-weight: 600; font-size: 0.9rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted-inv); transition: color 0.3s ease; }
.rail li::after { content: ""; width: 1.5rem; height: 2px; background: currentColor; transition: width 0.4s var(--ease-out); }
.rail li.is-active { color: var(--mustard-hi); }
.rail li.is-active::after { width: 3.5rem; }
.cue { position: absolute; left: 50%; bottom: 1.25rem; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 0.5rem; font-family: var(--font-display); font-size: 0.8rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--muted-inv); opacity: calc(1 - var(--e) * 5); }
.cue::after { content: ""; width: 1px; height: 2.25rem; background: linear-gradient(var(--mustard), transparent); animation: cue 1.8s ease-in-out infinite; transform-origin: top; }
@keyframes cue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

/* stage line art */
.art { --stroke: var(--mustard); }
.art .scene { transform-box: view-box; transform-origin: var(--ox, 50%) var(--oy, 50%); opacity: var(--o, 0); transform: scale(var(--s, 1)); will-change: transform, opacity; }
.art .ln { fill: none; stroke: var(--stroke); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: calc(1 - var(--d, 1)); }
.art .ln--dim { stroke: rgba(245, 240, 225, 0.34); stroke-width: 1.25; }
.art .ln--bold { stroke-width: 3.5; }
.art .fill { fill: var(--mustard); stroke: none; opacity: calc(var(--d, 1) * var(--fo, 0.9)); }
.art .fill--soft { --fo: 0.14; }
.art .fill--paper { fill: var(--paper); --fo: 0.85; }
.art .lbl { font-family: var(--font-display); font-weight: 600; font-size: 20px; letter-spacing: 0.2em; fill: var(--paper); opacity: calc(var(--d, 1) * 0.85); text-transform: uppercase; }
.art .pulse { animation: pulse 2.6s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
@keyframes pulse { 0%, 100% { opacity: 0.25; transform: scale(0.96); } 50% { opacity: 0.9; transform: scale(1.04); } }
.art .march { animation: march 1.6s linear infinite; }
@keyframes march { to { stroke-dashoffset: -28; } }

@media (max-width: 60rem) {
  .stage { height: 560vh; --it: 62%; --ir: 5%; --ib: 3%; --il: 5%; }
  .art .scene:not(.scene--street) { transform: translate(var(--tx, 0px), -120px) scale(calc(var(--s, 1) * 0.72)); }
  .hero .eyebrow .wide { display: none; }
  .stage__tag { display: none; }
  .hero { align-items: flex-start; padding-top: clamp(1.25rem, 4vh, 2.5rem); }
  .hero__copy { max-width: none; }
  .hero h1 { font-size: clamp(2.7rem, 12.5vw, 5rem); margin-bottom: 0.9rem; }
  .hero .lede { font-size: 1rem; margin-bottom: 1.1rem; }
  .hero__cta { margin-bottom: 0; }
  .hero__cta .btn { flex: 1 1 auto; }
  .hero .chips { display: none; }
  .stage__shade { background: linear-gradient(0deg, rgba(18, 17, 13, 0.95) 0%, rgba(18, 17, 13, 0.7) 40%, rgba(18, 17, 13, 0.1) 75%); }
  .chapter { right: var(--gutter); bottom: 5.5rem; }
  .rail { top: 1.25rem; right: var(--gutter); left: var(--gutter); transform: none; grid-auto-flow: column; justify-content: start; gap: 0.5rem; }
  .rail li { font-size: 0; gap: 0; }
  .rail li::after { width: 2rem; height: 3px; }
  .rail li.is-active::after { width: 3.5rem; }
  .cue { display: none; }
}
@media (max-height: 44rem) and (max-width: 60rem) { .hero .lede { display: none; } .hero h1 { margin-bottom: 1.1rem; } }
@media (max-height: 34rem) and (min-width: 60rem) {
  .hero h1 { font-size: clamp(2.6rem, 11vh, 5rem); }
  .hero .chips { display: none; }
}

/* ---------- pest index ---------- */
.pests { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); list-style: none; }
@media (min-width: 40rem) { .pests { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 64rem) { .pests { grid-template-columns: repeat(5, 1fr); } }
.pest { position: relative; display: flex; flex-direction: column; justify-content: space-between; min-height: clamp(11rem, 17vw, 15rem); padding: 1.1rem 1.1rem 1rem; background: var(--card); color: var(--ink); text-decoration: none; overflow: hidden; transition: background-color 0.25s ease; }
.pest__cat { font-family: var(--font-display); font-weight: 600; font-size: 0.78rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); position: relative; z-index: 1; }
.pest__img { position: absolute; right: -6%; top: 14%; width: 74%; height: 62%; object-fit: contain; mix-blend-mode: multiply; transition: transform 0.6s var(--ease-out); }
.pest__name { position: relative; z-index: 1; display: flex; align-items: flex-end; justify-content: space-between; gap: 0.5rem; font-family: var(--font-display); font-weight: 700; font-size: clamp(1.5rem, 2.3vw, 2.1rem); line-height: 0.95; text-transform: uppercase; }
.pest__name svg { width: 1.4rem; height: 1.4rem; flex: none; transform: translate(-0.4rem, 0); opacity: 0; transition: transform 0.35s var(--ease-out), opacity 0.25s ease; }
.pest:hover, .pest:focus-visible { background: var(--mustard); }
.pest:hover .pest__img, .pest:focus-visible .pest__img { transform: scale(1.12) rotate(-4deg); }
.pest:hover .pest__name svg, .pest:focus-visible .pest__name svg { transform: none; opacity: 1; }
.pest:hover .pest__cat { color: var(--ink); }
.pest:focus-visible { outline-color: var(--ink); outline-offset: -4px; }

/* ---------- guarantee band (diagonal wipe in) ---------- */
.band { background: var(--mustard); color: var(--ink); position: relative; }
.js .band[data-wipe] { clip-path: polygon(0 calc((1 - var(--enter, 1)) * 14vw), 100% 0, 100% 100%, 0 100%); }
.band__grid { display: grid; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
@media (min-width: 60rem) { .band__grid { grid-template-columns: 1.15fr 1fr; } }
.band p { font-size: clamp(1.1rem, 1.5vw, 1.3rem); line-height: 1.5; max-width: 34em; }
.award { display: flex; flex-direction: column; gap: 1rem; background: var(--ink); color: var(--paper); padding: 1.5rem; border-radius: var(--radius); }
.award img { width: 100%; border-radius: 2px; }
.pillars { display: grid; border-top: 1px solid rgba(18, 17, 13, 0.35); margin-top: clamp(2.5rem, 6vw, 4.5rem); list-style: none; }
.pillars li { padding: 1.5rem 0; border-bottom: 1px solid rgba(18, 17, 13, 0.35); }
@media (min-width: 48rem) {
  .pillars { grid-template-columns: repeat(3, 1fr); }
  .pillars li { padding: 1.75rem 1.5rem 0.5rem 0; border-bottom: 0; }
  .pillars li + li { padding-left: 1.5rem; border-left: 1px solid rgba(18, 17, 13, 0.35); }
}
.pillars h3 { font-size: 1.9rem; margin-bottom: 0.5rem; display: flex; align-items: center; gap: 0.75rem; }
.pillars svg { width: 1.9rem; height: 1.9rem; flex: none; }
.pillars p { font-size: 1.05rem; margin: 0; }

/* ---------- marquee ---------- */
.marquee { overflow: hidden; border-block: 1px solid var(--line-inv); padding-block: 1.1rem; user-select: none; }
.marquee__track { display: flex; width: max-content; gap: 3rem; animation: marquee 38s linear infinite; }
.marquee:hover .marquee__track, .marquee:focus-within .marquee__track { animation-play-state: paused; }
.marquee span { font-family: var(--font-display); font-weight: 700; font-size: clamp(2rem, 4.5vw, 3.75rem); text-transform: uppercase; line-height: 1; white-space: nowrap; display: inline-flex; align-items: center; gap: 3rem; }
.marquee span::after { content: ""; width: 0.8rem; height: 0.8rem; background: var(--mustard); transform: rotate(45deg); }
.marquee span:nth-child(even) { color: transparent; -webkit-text-stroke: 1px var(--muted-inv); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- serve / areas ---------- */
.split { display: grid; gap: clamp(2rem, 5vw, 5rem); }
@media (min-width: 60rem) { .split { grid-template-columns: 1fr 1fr; } }
.stat-list { list-style: none; display: grid; gap: 0; border-top: 1px solid var(--line-inv); }
.stat-list li { display: grid; grid-template-columns: 4.5rem 1fr; gap: 1rem; align-items: baseline; padding: 1.25rem 0; border-bottom: 1px solid var(--line-inv); }
.stat-list b { font-family: var(--font-display); font-size: 1rem; letter-spacing: 0.18em; color: var(--mustard); }
.stat-list strong { display: block; font-family: var(--font-display); font-size: 1.7rem; font-weight: 700; text-transform: uppercase; line-height: 1; margin-bottom: 0.35rem; }
.stat-list span { color: var(--muted-inv); }
.areas { list-style: none; display: flex; flex-wrap: wrap; gap: 0.6rem; }
.areas a { display: inline-flex; align-items: center; min-height: 2.75rem; padding: 0.4rem 1rem; border: 1px solid var(--line-inv); border-radius: 100px; text-decoration: none; font-weight: 500; transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease; }
.areas a:hover { background: var(--mustard); border-color: var(--mustard); color: var(--ink); }
.light .areas a, .light-2 .areas a { border-color: var(--line); }

/* ---------- quotes ---------- */
.quotes { display: grid; gap: 1.5rem; }
@media (min-width: 56rem) { .quotes { grid-template-columns: 1fr 1fr; } }
.quote { margin: 0; background: var(--card); border: 1px solid var(--line); border-top: 4px solid var(--mustard); padding: clamp(1.5rem, 3vw, 2.5rem); display: flex; flex-direction: column; gap: 1.25rem; }
.quote svg { width: 2.5rem; height: 2.5rem; color: var(--mustard); }
.quote blockquote { margin: 0; font-size: clamp(1.15rem, 1.6vw, 1.4rem); line-height: 1.45; font-weight: 500; }
.quote figcaption { font-family: var(--font-display); letter-spacing: 0.16em; text-transform: uppercase; font-weight: 600; color: var(--muted); margin-top: auto; }

/* ---------- FAQ ---------- */
.faq { border-top: 2px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; display: flex; align-items: flex-start; justify-content: space-between; gap: 1.5rem; padding: 1.35rem 0; cursor: pointer; font-family: var(--font-display); font-weight: 700; font-size: clamp(1.3rem, 2vw, 1.7rem); line-height: 1.1; text-transform: uppercase; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 1.25rem; height: 1.25rem; margin-top: 0.2rem; background: linear-gradient(var(--ink), var(--ink)) center / 100% 3px no-repeat, linear-gradient(var(--ink), var(--ink)) center / 3px 100% no-repeat; transition: transform 0.3s var(--ease-out); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--mustard-deep); }
.faq .faq__a { padding: 0 3rem 1.5rem 0; max-width: 46em; color: var(--muted); }
.faq-group { margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.faq-group > h2 { margin-bottom: 1.25rem; }

/* ---------- final CTA ---------- */
.cta { background: var(--ink); color: var(--paper); text-align: center; overflow: hidden; position: relative; }
.cta::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(-45deg, var(--mustard) 0 1.25rem, transparent 1.25rem 2.5rem); height: 0.9rem; }
.cta h2 { font-size: clamp(2.6rem, 7.4vw, 6.5rem); line-height: 0.88; max-width: 13em; margin: 0 auto 1.5rem; }
.cta h2 em { font-style: normal; color: var(--mustard); }
.cta__phone { display: inline-block; font-family: var(--font-display); font-weight: 700; font-size: clamp(3rem, 10vw, 8rem); line-height: 1; color: var(--mustard); text-decoration: none; letter-spacing: 0.01em; transition: color 0.2s ease; }
.cta__phone:hover { color: var(--mustard-hi); }
.cta__row { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.8rem; margin-top: 2rem; }
.cta .muted { max-width: 34em; margin-inline: auto; }

/* ---------- footer ---------- */
.site-footer { background: var(--ink-2); color: var(--paper); padding-top: clamp(3rem, 6vw, 5rem); border-top: 1px solid var(--line-inv); }
.footer-grid { display: grid; gap: 2.5rem; }
@media (min-width: 44rem) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 68rem) { .footer-grid { grid-template-columns: 1.4fr 1.3fr 0.8fr 1.2fr; } }
.site-footer h2 { font-size: 1rem; letter-spacing: 0.2em; color: var(--mustard); margin-bottom: 1rem; font-weight: 600; }
.site-footer ul { list-style: none; }
.site-footer li a { display: inline-block; padding: 0.3rem 0; text-decoration: none; color: #e6dfc9; }
.site-footer li a:hover { color: var(--mustard-hi); text-decoration: underline; text-underline-offset: 3px; }
.footer-cols { columns: 2; column-gap: 1.5rem; }
.footer-brand img { height: 3.25rem; width: auto; margin-bottom: 1.25rem; border-radius: 2px; }
.footer-brand address { font-style: normal; color: #e6dfc9; line-height: 1.7; }
.footer-brand a { color: var(--mustard-hi); }
.footer-base { margin-top: clamp(2.5rem, 5vw, 4rem); border-top: 1px solid var(--line-inv); padding-block: 1.25rem 6rem; display: flex; flex-wrap: wrap; gap: 0.75rem 1.5rem; justify-content: space-between; font-size: 0.92rem; color: var(--muted-inv); }
.footer-base a { color: inherit; }
@media (min-width: 48rem) { .footer-base { padding-bottom: 1.25rem; } }

/* mobile call bar */
.callbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; display: grid; grid-template-columns: 1.4fr 1fr; background: var(--ink); border-top: 1px solid var(--line-inv); padding: 0.5rem; gap: 0.5rem; padding-bottom: max(0.5rem, env(safe-area-inset-bottom)); transform: translateY(110%); transition: transform 0.35s var(--ease-out); }
.callbar.is-on { transform: none; }
.callbar .btn { min-height: 3rem; font-size: 1.1rem; padding-inline: 0.75rem; }
@media (min-width: 48rem) { .callbar { display: none; } }

/* ---------- inner page hero ---------- */
.page-hero { background: var(--ink); color: var(--paper); position: relative; overflow: hidden; }
.page-hero__in { display: grid; gap: 2rem; align-items: center; padding-block: clamp(2.5rem, 6vw, 5rem); min-height: clamp(20rem, 46vh, 32rem); }
@media (min-width: 56rem) { .page-hero__in { grid-template-columns: 1.25fr 1fr; } .page-hero--plain .page-hero__in { grid-template-columns: 1fr; } }
.crumbs { display: flex; flex-wrap: wrap; gap: 0.5rem; list-style: none; font-family: var(--font-display); font-weight: 600; font-size: 0.95rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted-inv); margin-bottom: 1.25rem; }
.crumbs li + li::before { content: "/"; margin-right: 0.5rem; color: var(--mustard); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--mustard-hi); }
.page-hero h1 { font-size: clamp(3.2rem, 9vw, 8rem); line-height: 0.85; letter-spacing: -0.01em; margin-bottom: 1.25rem; overflow-wrap: anywhere; }
.page-hero--post h1 { font-size: clamp(2.6rem, 6vw, 5rem); }
.page-hero .lede { color: #e6dfc9; margin-bottom: 1.75rem; }
.page-hero__cta { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.page-hero__media { position: relative; aspect-ratio: 4 / 3; max-height: 24rem; justify-self: center; width: min(100%, 30rem); }
.page-hero__disc { position: absolute; inset: 6% 12%; border-radius: 50%; background: var(--mustard); }
.page-hero__ring { position: absolute; inset: 0 6%; border-radius: 50%; border: 1px dashed rgba(217, 186, 69, 0.55); animation: spin 60s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.page-hero__media img { position: absolute; inset: 10% 14%; width: 72%; height: 80%; object-fit: contain; mix-blend-mode: multiply; }
.page-hero__media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 10px; border: 1px solid var(--mustard); }
.page-hero__stripe { position: absolute; left: 0; right: 0; bottom: 0; height: 0.6rem; background: repeating-linear-gradient(-45deg, var(--mustard) 0 1rem, transparent 1rem 2rem); }
@media (max-width: 56rem) { .page-hero__media { display: none; } }

/* ---------- article ---------- */
.layout { display: grid; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
@media (min-width: 64rem) { .layout { grid-template-columns: minmax(0, 1fr) 21rem; } }
.prose { max-width: 46rem; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: clamp(2rem, 3.6vw, 3rem); margin-top: 1.6em; padding-top: 0.7em; border-top: 2px solid var(--ink); clear: both; }
.prose > h2:first-child { margin-top: 0; }
.prose h3 { font-size: clamp(1.6rem, 2.4vw, 2.1rem); margin-top: 1.8em; line-height: 1.02; }
.prose h4, .prose h5 { font-size: 1.35rem; margin-top: 1.6em; }
.prose p { margin-bottom: 0; }
.prose h2 + *, .prose h3 + *, .prose h4 + * { margin-top: 0.65em; }
.callout p { margin: 0; }
.prose a { color: var(--mustard-deep); font-weight: 600; text-underline-offset: 3px; }
.prose a:hover { color: var(--ink); }
.prose ul, .prose ol { padding-left: 0; list-style: none; display: grid; gap: 0.6rem; }
.prose li { position: relative; padding-left: 1.75rem; }
.prose ul li::before { content: ""; position: absolute; left: 0; top: 0.55em; width: 0.7rem; height: 0.7rem; background: var(--mustard); transform: rotate(45deg); }
.prose ol { counter-reset: n; }
.prose ol li { counter-increment: n; padding-left: 2.25rem; }
.prose ol li::before { content: counter(n, decimal-leading-zero); position: absolute; left: 0; font-family: var(--font-display); font-weight: 700; color: var(--mustard-deep); }
.prose figure { margin: 2rem 0 0; }
.prose figure img { width: auto; max-width: 100%; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); }
.prose figcaption { font-size: 0.9rem; color: var(--muted); margin-top: 0.5rem; }
.prose .figs { display: grid; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); gap: 1rem; margin-top: 2rem; }
.prose .figs figure { margin: 0; }
.callout { background: var(--card); border: 1px solid var(--line); border-left: 6px solid var(--mustard); padding: 1.25rem 1.4rem; border-radius: var(--radius); }
.callout b.callout__k { display: block; font-family: var(--font-display); font-size: 1.05rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--mustard-deep); margin-bottom: 0.35rem; }
.callout--warn { border-left-color: var(--danger); }
.callout--warn b.callout__k { color: var(--danger); }
.inline-cta { background: var(--ink); color: var(--paper); padding: 1.5rem; border-radius: var(--radius); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 2.5rem !important; clear: both; }
.inline-cta strong { font-family: var(--font-display); font-size: clamp(1.4rem, 2.4vw, 1.9rem); text-transform: uppercase; line-height: 1; max-width: 14em; }

.aside { display: grid; gap: 1.25rem; }
@media (min-width: 64rem) { .aside { position: sticky; top: calc(var(--header-h) + 1.5rem); } }
.aside-card { background: var(--ink); color: var(--paper); padding: 1.6rem; border-radius: var(--radius); border-top: 5px solid var(--mustard); }
.aside-card h2 { font-size: 1.9rem; margin-bottom: 0.6rem; }
.aside-card p { color: #e6dfc9; font-size: 1rem; }
.aside-card .tel { display: block; font-family: var(--font-display); font-weight: 700; font-size: 2.5rem; line-height: 1; color: var(--mustard-hi); text-decoration: none; margin-bottom: 1rem; }
.aside-card .btn { width: 100%; }
.aside-card small { display: block; margin-top: 0.9rem; color: var(--muted-inv); font-size: 0.9rem; }
.aside-list { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem 1.6rem; }
.aside-list h2 { font-size: 1rem; letter-spacing: 0.2em; color: var(--mustard-deep); font-weight: 600; margin-bottom: 0.75rem; }
.aside-list ul { list-style: none; columns: 2; column-gap: 1rem; }
.aside-list a { display: inline-block; padding: 0.3rem 0; text-decoration: none; font-weight: 500; }
.aside-list a:hover { color: var(--mustard-deep); text-decoration: underline; text-underline-offset: 3px; }
.aside-list a[aria-current="page"] { color: var(--mustard-deep); font-weight: 700; }

/* guarantee strip on inner pages */
.gstrip { display: grid; gap: 1.5rem; align-items: center; }
@media (min-width: 56rem) { .gstrip { grid-template-columns: 1.1fr 1fr; gap: 3rem; } }
.gstrip img { border-radius: var(--radius); }

/* about */
.owner { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 52rem) { .owner { grid-template-columns: 20rem 1fr; gap: 3.5rem; } }
.owner img { width: 100%; border-radius: var(--radius); border: 6px solid var(--mustard); }
.clients { background: #000; border-radius: var(--radius); padding: 1.5rem; }
.clients img { margin: 0 auto; }
.seal { display: inline-block; background: #fff; padding: 0.6rem; border-radius: var(--radius); }

/* contact */
.contact-grid { display: grid; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
@media (min-width: 60rem) { .contact-grid { grid-template-columns: 1fr 1.1fr; } }
.facts { list-style: none; border-top: 2px solid var(--ink); }
.facts li { display: grid; grid-template-columns: 7.5rem 1fr; gap: 1rem; padding: 1.1rem 0; border-bottom: 1px solid var(--line); }
.facts b { font-family: var(--font-display); font-size: 1rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--mustard-deep); padding-top: 0.2rem; }
.facts a { font-weight: 600; text-underline-offset: 3px; }
.facts .big { font-family: var(--font-display); font-size: 2.2rem; font-weight: 700; line-height: 1; text-decoration: none; }
.form { background: var(--card); border: 1px solid var(--line); border-top: 5px solid var(--mustard); border-radius: var(--radius); padding: clamp(1.4rem, 3vw, 2.4rem); display: grid; gap: 1.1rem; }
.form h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); }
.field { display: grid; gap: 0.4rem; }
.field label { font-weight: 600; }
.field label span { color: var(--danger); }
.field input, .field textarea { font: inherit; color: var(--ink); background: #fff; border: 1.5px solid #8b8672; border-radius: var(--radius); padding: 0.8rem 0.9rem; min-height: 3.1rem; width: 100%; }
.field textarea { min-height: 8rem; resize: vertical; }
.field input:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--mustard); outline-offset: 1px; border-color: var(--ink); }
.field small { color: var(--muted); }
.field .err { color: var(--danger); font-weight: 600; font-size: 0.95rem; }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: var(--danger); }
.form__row { display: grid; gap: 1.1rem; }
@media (min-width: 36rem) { .form__row { grid-template-columns: 1fr 1fr; } }
.hp { position: absolute; left: -9999px; }
.form__status { font-weight: 600; }

/* hub grid on /insects/ and /rodents/ uses .pests */
.pests--hub .pest { min-height: clamp(13rem, 20vw, 17rem); }

/* media poster for optional loops */
.loop { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: var(--ink-2); }
.loop video { width: 100%; height: 100%; object-fit: cover; }

/* 404 */
.nf { min-height: 60vh; display: grid; place-items: center; text-align: center; }

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .js .band[data-wipe] { clip-path: none; }
  .marquee__track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; }
  .marquee__track > [aria-hidden="true"] { display: none; }
  .stage { height: auto; --e: 1; }
  .stage__pin { position: relative; top: 0; height: auto; overflow: visible; padding-block: 3rem; }
  .stage__media, .stage__frame, .stage__tag, .stage__grid, .stage__shade, .rail, .cue { display: none; }
  .hero { position: relative; opacity: 1; transform: none; }
  .hero__copy { max-width: 46rem; }
  .chapters { position: relative; display: grid; gap: 2.5rem; padding: 3rem var(--gutter) 0; max-width: var(--max); margin-inline: auto; }
  @media (min-width: 56rem) { .chapters { grid-template-columns: 1fr 1fr; } }
  .chapter { position: relative; left: auto; bottom: auto; opacity: 1; transform: none; }
  .chapter h2 { font-size: clamp(2.4rem, 5vw, 4rem); }
}

@media print {
  .site-header, .callbar, .stage__media, .cue, .rail { display: none !important; }
  body { background: #fff; }
}
