/* Saw & Order Tree Care
   Mobile first. Rules come from Handoff/handoff/DESIGN.md:
   dark only, sharp corners, red is for the primary action only, tape yellow marks evidence. */

@font-face { font-family: "Archivo"; src: url(../fonts/archivo.woff2) format("woff2"); font-weight: 400 800; font-stretch: 62% 100%; font-display: swap; }
@font-face { font-family: "Plex Mono"; src: url(../fonts/plex-mono-500.woff2) format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Plex Mono"; src: url(../fonts/plex-mono-600.woff2) format("woff2"); font-weight: 600; font-display: swap; }

:root {
  --ink: #0E0E0F;
  --plate: #17171A;
  --line: #2B2B30;
  --line-2: #45454C;
  --text: #F1EFEA;
  --mute: #A9A59D;
  --red: #D2301F;
  --red-hi: #B9291A;   /* hover goes darker: white text stays above 4.5:1 */
  --tape: #E9C43A;
  --paper: #E9E6DF;
  --paper-ink: #151515;
  --paper-mute: #55524C;

  --sans: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --g: 20px;            /* side gutter */
  --sec: 44px;          /* section rhythm (top and bottom padding of each section) */
  --hdr: 56px;          /* header height */
  --barh: calc(76px + env(safe-area-inset-bottom, 0px)); /* mobile contact bar */
  --max: 1240px;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--hdr) + 8px); background: var(--ink); }
/* smooth scrolling for taps on in-page links, added by site.js once the page has loaded. From the start it also
   animated arrivals (a link to /#faq, a refresh), which scrolled through the whole page for a second and a half. */
html.smooth-scroll { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--ink); color: var(--text);
  font: 400 16px/1.55 var(--sans); font-synthesis: none;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  padding-bottom: var(--barh);
}
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-weight: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, select { font: inherit; color: inherit; }
figure, blockquote { margin: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--tape); outline-offset: 3px; }
::selection { background: var(--tape); color: var(--paper-ink); }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.i { width: 22px; height: 22px; fill: currentColor; flex-shrink: 0; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 100; background: var(--text); color: var(--ink); padding: 12px 16px; font-weight: 700; transition: top .2s; }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--g); }
.mono { font-family: var(--mono); font-weight: 500; }
.disp {
  font-family: var(--sans); font-stretch: 62%; font-weight: 800;
  text-transform: uppercase; line-height: .9; letter-spacing: -.005em;
  text-wrap: balance;
}
.h1 { font-size: clamp(54px, 16.4vw, 76px); }
.h2 { font-size: clamp(46px, 13vw, 60px); }
.lead { font-size: 17px; line-height: 1.55; color: var(--mute); max-width: 36em; text-wrap: pretty; }
.sec { padding: var(--sec) 0; border-top: 1px solid var(--line); }
/* stamps and seals scale up as they land; keep that from widening the page (clip keeps sticky working) */
main > section { overflow-x: hidden; overflow-x: clip; }
.sec-head { display: flex; flex-direction: column; gap: 14px; margin-bottom: 28px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 56px; padding: 0 22px;
  font: 700 16px/1 var(--sans); letter-spacing: .08em; text-transform: uppercase;
  border: 0; border-radius: 0; cursor: pointer; white-space: nowrap;
  -webkit-tap-highlight-color: transparent; user-select: none;
  transition: transform .15s, background-color .2s, color .2s, box-shadow .2s;
}
.btn:active { transform: scale(.98); }
.btn-red { background: var(--red); color: #F6F3EE; }
.btn-red:hover { background: var(--red-hi); }
.btn-line { background: transparent; color: var(--text); box-shadow: inset 0 0 0 1.5px var(--text); }
.btn-line:hover { background: rgba(241, 239, 234, .08); }
.btn .i { width: 20px; height: 20px; }

.icon-btn {
  width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center;
  background: none; border: 0; color: var(--text); cursor: pointer; -webkit-tap-highlight-color: transparent;
}
.icon-btn:active { transform: scale(.94); }
.icon-btn.sq { width: 48px; height: 48px; box-shadow: inset 0 0 0 1px var(--line-2); transition: background-color .2s, opacity .2s; }
.icon-btn.sq:hover { background: rgba(241, 239, 234, .06); }
.icon-btn[disabled] { opacity: .35; cursor: default; }

.tag {
  position: absolute; top: 12px; left: 12px; z-index: 4;
  background: var(--tape); color: #141414; padding: 7px 10px;
  font: 600 12px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase;
}
.stars { display: inline-flex; gap: 1px; color: var(--tape); }
.stars .i { width: 16px; height: 16px; }
.stars-lg .i { width: 24px; height: 24px; }

/* ---------- header ---------- */
.hdr {
  position: sticky; top: 0; z-index: 50;
  background: rgba(14, 14, 15, .9);
  -webkit-backdrop-filter: saturate(1.2) blur(12px); backdrop-filter: saturate(1.2) blur(12px);
  border-bottom: 1px solid var(--line);
}
.hdr-in { height: var(--hdr); max-width: var(--max); margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 0 8px 0 var(--g); }
.brand { flex-shrink: 0; }
.brand img { width: 148px; height: auto; }
.nav { display: none; }
.hdr-act { display: flex; align-items: center; }
.hdr-phone, .hdr-cta { display: none; }
/* 24/7 tag on the header text icon (phones and tablets; desktop shows the number instead) */
.hdr-ico { position: relative; }
.b247 {
  position: absolute; top: 5px; left: 24px; padding: 2px 3px;
  background: var(--tape); color: #141414; font: 600 9px/1 var(--mono); letter-spacing: .02em; white-space: nowrap;
  transform: rotate(-6deg); box-shadow: 0 1px 3px rgba(0, 0, 0, .45); pointer-events: none;
}
.prog { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--red); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); }

/* full-screen menu (mobile and tablet) */
.menu {
  position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none;
  margin: 0; padding: 0; border: 0; background: var(--ink); color: var(--text);
  flex-direction: column; overscroll-behavior: contain;
}
.menu[open] { display: flex; animation: menu-in .28s var(--ease-out); }
.menu::backdrop { background: rgba(0, 0, 0, .6); }
.menu-top { height: var(--hdr); display: flex; align-items: center; justify-content: space-between; padding: 0 8px 0 var(--g); border-bottom: 1px solid var(--line); flex-shrink: 0; }
.menu-top img { width: 148px; }
.menu-nav { flex: 1; overflow-y: auto; display: flex; flex-direction: column; padding: 16px var(--g); }
.menu-nav a {
  font-family: var(--sans); font-stretch: 62%; font-weight: 800; text-transform: uppercase;
  font-size: 44px; line-height: 1; padding: 10px 0; border-bottom: 1px solid var(--line);
}
.menu-cta { padding: 16px var(--g) calc(20px + env(safe-area-inset-bottom, 0px)); display: grid; gap: 10px; border-top: 1px solid var(--line); }
.menu-row { display: grid; grid-template-columns: 1fr 1.4fr; gap: 10px; }
.menu-num { font: 600 14px/1 var(--mono); letter-spacing: .1em; color: var(--mute); text-align: center; padding-top: 6px; }
.menu-hours { font: 500 12px/1.4 var(--mono); letter-spacing: .06em; color: var(--mute); text-align: center; }
@keyframes menu-in { from { opacity: 0; transform: translateY(-12px); } to { opacity: 1; transform: none; } }

/* ---------- hero ---------- */
.hero {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end;
  height: calc(100vh - var(--hdr) - var(--barh));
  height: calc(100svh - var(--hdr) - var(--barh));
  min-height: 600px; max-height: 880px; overflow: hidden; overflow: clip;
}
.hero-media { position: absolute; inset: 0; overflow: hidden; overflow: clip; background: #1A2A40; }
.hero-media picture, .hero-media img { width: 100%; height: 100%; }
.hero-media img { object-fit: cover; object-position: 44% 30%; }
.hero-media::before, .hero-media::after { content: ""; position: absolute; left: 0; right: 0; pointer-events: none; }
.hero-media::before { top: 0; height: 34%; background: linear-gradient(to bottom, rgba(14, 14, 15, .62), rgba(14, 14, 15, 0)); }
.hero-media::after { bottom: 0; height: 74%; background: linear-gradient(to bottom, rgba(14, 14, 15, 0), rgba(14, 14, 15, .8) 42%, var(--ink) 92%); }

.tc {
  position: absolute; top: 22px; left: var(--g); z-index: 2;
  font: 600 14px/1.65 var(--mono); letter-spacing: .12em; color: var(--text);
  text-shadow: 0 1px 12px rgba(0, 0, 0, .5);
}
.tc span { display: block; white-space: nowrap; }
.cur { display: inline-block; width: 9px; height: 15px; margin-left: 4px; vertical-align: -2px; background: var(--text); animation: blink 1s steps(1) infinite; }

.hero-copy { position: relative; z-index: 2; padding: 0 var(--g) 26px; display: flex; flex-direction: column; gap: 18px; }
.hero-lead { color: #DAD6CE; max-width: 24em; }
.hero-cta { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 10px; }
.h1-wrap { display: flex; flex-direction: column; gap: 14px; }
.h1-kicker { font: 600 13px/1.3 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: #DAD6CE; }
.h1-wrap .h1 { display: block; }
/* plain-English label above each themed heading (for searchers, screen readers, and anyone who skims) */
.h2-kicker { display: block; margin-bottom: 14px; font: 600 12px/1.3 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--mute); text-wrap: pretty; }

/* ---------- trust strip ---------- */
.trust { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-bottom: 1px solid var(--line); }
.trust li { padding: 16px var(--g) 18px; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; min-width: 0; }
.trust-logo { height: 46px; display: flex; align-items: center; flex-shrink: 0; }
.trust-logo img { height: 46px; width: auto; }
.g-logo { width: 38px; height: 38px; }
.trust-txt { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.trust li:nth-child(odd) { border-right: 1px solid var(--line); }
.trust li:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
.trust b { font-size: 15px; font-weight: 700; line-height: 1.25; }
.trust .mono { font-size: 12px; color: var(--mute); letter-spacing: .04em; display: flex; flex-wrap: wrap; align-items: center; gap: 2px 6px; }
.stars-sm .i { width: 12px; height: 12px; }

/* ---------- marquee ---------- */
.marq { overflow: hidden; overflow: clip; border-bottom: 1px solid var(--line); }
.marq-in { display: flex; align-items: center; width: max-content; padding: 14px 0; animation: marquee 34s linear infinite; }
.mq { display: inline-flex; align-items: center; gap: 12px; padding: 0 22px; font-family: var(--sans); font-stretch: 62%; font-weight: 800; font-size: 26px; line-height: 1; text-transform: uppercase; white-space: nowrap; }
.mq-i { width: 32px; height: 32px; color: var(--tape); }
@keyframes marquee { to { transform: translateX(-50%); } }
.marq:hover .marq-in, .marq:active .marq-in { animation-play-state: paused; }

/* ---------- rails (swipe rows on mobile) ---------- */
.rail {
  display: flex; gap: 12px; overflow-x: auto; overscroll-behavior-x: none; /* none: no rubber-band past the last card, which read as a blank extra slide on iPhone */
  scroll-snap-type: x mandatory; scroll-padding-inline: var(--g);
  padding: 0 var(--g) 6px; scrollbar-width: none;
}
.rail::-webkit-scrollbar { display: none; }
.rail::after { content: ""; flex: 0 0 1px; }

/* ---------- services ---------- */
.docket { padding-bottom: 36px; }
.charge { flex: 0 0 min(300px, 82vw); scroll-snap-align: start; background: var(--plate); border: 1px solid var(--line); display: flex; flex-direction: column; }
.charge picture { display: block; overflow: hidden; overflow: clip; border-bottom: 1px solid var(--line); }
.charge img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform .6s var(--ease-out); }
.charge-bd { padding: 22px 20px 20px; display: flex; flex-direction: column; gap: 10px; flex-grow: 1; }
.count { display: inline-flex; align-items: center; gap: 10px; font: 600 12px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--mute); }
.svc-i { width: 26px; height: 26px; color: var(--tape); }
.charge h3 { font-size: 36px; }
.charge p { font-size: 15px; line-height: 1.5; color: #CFCBC3; }
.charge-link { margin-top: auto; padding-top: 8px; min-height: 44px; display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; }
.charge-link .i { width: 20px; height: 20px; transition: transform .25s var(--ease-out); }
.charge-link:hover .i { transform: translateX(4px); }

.inline-cta { margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 14px; }
.inline-cta p { font-size: 17px; line-height: 1.45; }
.inline-cta--flush { border-top: 0; padding-top: 0; margin-top: 32px; }

/* ---------- before / after gallery ---------- */
.ex-rail { gap: 14px; }
.ex { flex: 0 0 min(86vw, 440px); scroll-snap-align: center; }
.ba {
  --pos: 50%;
  position: relative; aspect-ratio: 3 / 4; overflow: hidden; overflow: clip; background: var(--plate);
  border: 1px solid var(--line); user-select: none; -webkit-user-select: none;
  -webkit-tap-highlight-color: transparent;
}
.ba-img, .ba-img img { position: absolute; inset: 0; width: 100%; height: 100%; }
.ba-img img { object-fit: cover; -webkit-user-drag: none; }
.ba-a { clip-path: inset(0 0 0 var(--pos)); }
.lbl {
  position: absolute; bottom: 12px; z-index: 2; padding: 6px 8px;
  background: rgba(14, 14, 15, .74); color: var(--text);
  font: 600 11px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase;
  transition: opacity .25s;
}
.lbl-b { left: 12px; }
.lbl-a { right: 12px; }
.ba.pos-lo .lbl-b, .ba.pos-hi .lbl-a { opacity: 0; }
.ba-line { position: absolute; top: 0; bottom: 0; left: var(--pos); z-index: 3; width: 2px; margin-left: -1px; background: var(--text); touch-action: none; cursor: ew-resize; }
.ba-line::before { content: ""; position: absolute; top: 0; bottom: 0; left: -24px; right: -24px; }
.knob {
  position: absolute; top: 50%; left: 50%; width: 48px; height: 48px; transform: translate(-50%, -50%);
  display: grid; place-items: center; background: var(--text); color: var(--ink);
  box-shadow: 0 8px 22px rgba(0, 0, 0, .4); transition: transform .2s var(--ease-out);
}
.ba.dragging .knob { transform: translate(-50%, -50%) scale(1.08); }
.knob .i { width: 26px; height: 26px; }
.stamp {
  position: absolute; right: 16px; bottom: 54px; z-index: 4; pointer-events: none;
  border: 3px solid var(--tape); color: var(--tape); background: rgba(14, 14, 15, .55);
  font: 600 17px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; padding: 8px 12px;
  opacity: 0; transform: rotate(-9deg);
}
.ba.closed .stamp { animation: slam .5s cubic-bezier(.3, 1.5, .5, 1) both; }
.ba-range { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 1px; opacity: 0; pointer-events: none; margin: 0; }
.ba:has(.ba-range:focus-visible) { outline: 2px solid var(--tape); outline-offset: 3px; }
.ex-cap { margin-top: 12px; font: 500 12px/1.4 var(--mono); letter-spacing: .04em; color: var(--mute); }
.ex-cap b { color: var(--text); font-weight: 600; text-transform: uppercase; letter-spacing: .1em; margin-right: 6px; }
.ex-ctrl { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 18px; }
.ex-count { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; }
.ex-of { color: var(--mute); }

/* ---------- reviews ---------- */
.verdict { display: flex; align-items: flex-end; gap: .15em; margin: 22px 0 14px; font-size: clamp(84px, 28vw, 112px); }
.big5 { font-family: var(--sans); font-stretch: 62%; font-weight: 800; font-size: 1em; line-height: .78; }
.g-mark { display: block; line-height: 0; transition: transform .2s var(--ease-out); }
.g-mark:hover { transform: translateY(-2px); }
.g-mark img { height: var(--g-h, .7em); width: auto; margin-bottom: var(--g-b, .06em); }
.verdict-note { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--mute); }
.text-link { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; margin: 8px 0 30px; font-weight: 700; font-size: 15px; border-bottom: 1.5px solid var(--line-2); transition: border-color .2s; }
.text-link:hover { border-color: var(--text); }
.text-link .i { width: 18px; height: 18px; }
.inline-link { color: var(--text); font-weight: 700; border-bottom: 1.5px solid var(--line-2); white-space: nowrap; transition: border-color .2s; }
.inline-link:hover { border-color: var(--text); }
.stack { display: flex; flex-direction: column; gap: 22px; }
.wit {
  position: sticky; top: calc(var(--hdr) + 16px + var(--i, 0) * 14px);
  background: var(--paper); color: var(--paper-ink); padding: 24px 22px 22px;
  display: flex; flex-direction: column; gap: 14px;
  box-shadow: 0 -14px 30px rgba(0, 0, 0, .45);
}
.wit:nth-child(2) { --i: 1; }
.wit:nth-child(3) { --i: 2; }
.wit:nth-child(4) { --i: 3; }
.wit:nth-child(5) { --i: 4; }
.wit-hd { display: flex; justify-content: space-between; align-items: center; padding-bottom: 10px; border-bottom: 1px dashed #A8A398; font: 600 11px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--paper-mute); }
.wit-hd .stars { color: #B38A10; }
.wit-hd .stars .i { width: 13px; height: 13px; }
.wit blockquote p { font-size: 20px; line-height: 1.38; font-weight: 500; text-wrap: pretty; }
.wit figcaption { font: 600 13px/1.3 var(--mono); letter-spacing: .06em; text-transform: uppercase; }

/* ---------- case files strip ---------- */
.casefiles { padding: var(--sec) 0; border-top: 1px solid var(--line); overflow-x: hidden; overflow-x: clip; }
/* phones swipe the strip; desktop pans it with the page scroll (motion section) */
.film {
  overflow-x: auto; overflow-y: hidden; scrollbar-width: none; padding-bottom: 22px;
  scroll-snap-type: x mandatory; scroll-padding-inline: var(--g); overscroll-behavior-x: none;
}
.film::-webkit-scrollbar { display: none; }
/* the side gutters live on the track, so the last photo can scroll clear of the edge in every browser */
.film-track { display: flex; gap: 14px; width: max-content; padding: 0 var(--g); }
.film-item { flex: 0 0 240px; scroll-snap-align: start; }
.film-img img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border: 1px solid var(--line); }
.film-cap { display: block; margin-top: 10px; font: 500 12px/1.3 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--mute); }
.film-item:nth-child(odd) { transform: translateY(18px); }

/* ---------- counsel ---------- */
.counsel { border-top: 1px solid var(--line); padding: var(--sec) 0; }
.counsel-grid { display: grid; gap: 36px; }
.lineup {
  --pt: 64px; /* top of the booking print; the pin goes through the paper just below it */
  position: relative; height: 520px; margin: 0 calc(var(--g) * -1);
  background-color: #16161A;
  background-image: repeating-linear-gradient(to bottom, transparent 0 49px, #2E2E34 49px 50px);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.mk { position: absolute; left: 14px; top: calc(var(--y) * 50px - 6px); font: 500 11px/1 var(--mono); color: #6F6C66; }
.lineup-photo {
  position: absolute; left: 52px; right: 52px; top: var(--pt); bottom: 66px;
  display: flex; padding: 10px 10px 30px; background: var(--paper);
  transform: rotate(-1.4deg); transform-origin: 50% 9px; /* the print pivots on its pin */
  box-shadow: 0 18px 36px rgba(0, 0, 0, .55), 0 2px 0 rgba(0, 0, 0, .25);
}
/* a deeper shadow for the moment before the pin goes in, while the print is still off the board */
.lineup-photo::before { content: ""; position: absolute; inset: 0; z-index: -1; box-shadow: 0 30px 54px rgba(0, 0, 0, .55); opacity: 0; pointer-events: none; }
/* push pin (a Higgsfield render) holding the print to the board; site.js pushes it in when the lineup comes into view */
.pin { position: absolute; z-index: 3; left: 50%; top: calc(var(--pt) + 9px); width: 30px; height: 48px; margin: -46px 0 0 -15px; pointer-events: none; }
.pin-body { position: absolute; inset: 0; transform-origin: 50% 96%; }
.pin-img { position: relative; z-index: 1; width: 30px; height: 48px; filter: drop-shadow(0 1px 1px rgba(0, 0, 0, .35)); }
.pin-needle { position: absolute; left: 50%; top: calc(100% - 4px); width: 2px; height: 19px; margin-left: -1px; background: linear-gradient(90deg, #6d6d75, #f3f3f6 45%, #8a8a92); transform: scaleY(0); transform-origin: 50% 0; }
.pin-shadow { position: absolute; left: 50%; top: 100%; width: 34px; height: 14px; margin: -11px 0 0 -12px; border-radius: 50%; background: radial-gradient(closest-side, rgba(0, 0, 0, .55), rgba(0, 0, 0, 0)); transform: translate(6px, 3px) rotate(24deg); }
.lineup-photo picture { display: block; flex: 1; min-height: 0; overflow: hidden; overflow: clip; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .25); }
.lineup-photo img { width: 100%; height: 100%; }
.booking { position: absolute; left: 12px; right: 12px; bottom: 9px; display: flex; justify-content: space-between; gap: 8px; font: 600 10px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--paper-mute); }
.lineup-photo img { object-fit: cover; object-position: 50% 22%; }
.nameplate {
  position: absolute; left: 50%; bottom: 16px; transform: translateX(-50%); white-space: nowrap;
  background: var(--ink); border: 1px solid var(--line-2); padding: 9px 12px;
  font: 600 12px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase;
}
.counsel-head { margin-bottom: 26px; }
.counsel-copy { display: flex; flex-direction: column; gap: 18px; }
.counsel-sub { font-size: clamp(34px, 9.4vw, 42px); }
.body-copy { font-size: 16px; line-height: 1.6; color: #CFCBC3; max-width: 36em; }
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 6px; }
.facts li { padding: 16px 0; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.facts li:nth-child(odd) { padding-right: 12px; }
.facts b { font-size: 15px; line-height: 1.3; }
.facts .mono { font-size: 12px; color: var(--mute); line-height: 1.35; }
.counsel .btn { margin-top: 8px; }

/* ---------- credentials ---------- */
.cert-board { display: grid; gap: 26px; padding-top: 12px; }
.cert {
  position: relative; background: var(--paper); color: var(--paper-ink);
  padding: 24px 20px 22px; display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 18px; align-items: start;
  transform: rotate(var(--r, 0deg)); box-shadow: 0 18px 40px rgba(0, 0, 0, .45);
}
.cert::before {
  content: ""; position: absolute; z-index: 2; pointer-events: none;
  top: var(--tt, -13px); left: var(--tx, 50%); width: var(--tw, 96px); height: var(--th, 28px);
  background: center / 100% 100% no-repeat; opacity: .94; /* the tape image itself arrives with .tapes (below) */
  transform: translateX(-50%) rotate(var(--tr, -3deg));
  filter: drop-shadow(0 1px 1.5px rgba(0, 0, 0, .28));
}
/* site.js adds .tapes when the section gets close, so the six strips don't download with the first screen */
.tapes .cert::before { background-image: var(--tape); }
.cert:nth-child(1) { --tape: url(../img/tape/tape-1.webp?v=91b159b4); --tw: 98px; --th: 35px; --tx: 30%; --tr: -7deg; --tt: -16px; }
.cert:nth-child(2) { --tape: url(../img/tape/tape-2.webp?v=a275417b); --tw: 124px; --th: 33px; --tx: 56%; --tr: 2deg; --tt: -14px; }
.cert:nth-child(3) { --tape: url(../img/tape/tape-3.webp?v=9e8d6140); --tw: 106px; --th: 33px; --tx: 78%; --tr: 9deg; --tt: -12px; }
.cert:nth-child(4) { --tape: url(../img/tape/tape-4.webp?v=ddaeb393); --tw: 132px; --th: 34px; --tx: 44%; --tr: -2deg; --tt: -17px; }
.cert:nth-child(5) { --tape: url(../img/tape/tape-5.webp?v=49bcaf7c); --tw: 94px; --th: 32px; --tx: 22%; --tr: -11deg; --tt: -11px; }
.cert:nth-child(6) { --tape: url(../img/tape/tape-6.webp?v=f2222bf7); --tw: 110px; --th: 34px; --tx: 64%; --tr: 5deg; --tt: -15px; }
.cert-logo { height: 96px; display: flex; align-items: center; justify-content: center; }
.cert-logo img { max-height: 96px; width: auto; }
.cert h3 { font-weight: 700; font-size: 18px; line-height: 1.2; }
.cert-no { margin: 6px 0 8px; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--paper-mute); }
.cert p:last-child { font-size: 15px; line-height: 1.5; color: #2C2B28; }
.verify { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 34px; }
.verify a { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-weight: 700; font-size: 15px; border-bottom: 1.5px solid var(--line-2); transition: border-color .2s; }
.verify a:hover { border-color: var(--text); }
.verify .i { width: 18px; height: 18px; }

/* ---------- guarantee ---------- */
.guarantee-grid { display: grid; gap: 28px; }
.doc { background: var(--paper); color: var(--paper-ink); padding: 28px 22px 30px; position: relative; }
.doc-hd {
  display: flex; justify-content: space-between; gap: 12px; padding-bottom: 14px; margin-bottom: 20px;
  border-bottom: 2px solid var(--paper-ink);
  font: 600 11px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--paper-mute);
}
.doc h2 { font-size: 44px; }
.doc p { font-size: 16px; line-height: 1.6; margin-top: 16px; color: #2C2B28; }
.sig { margin-top: 26px; display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; }
.sig-name { display: flex; flex-direction: column; gap: 6px; }
/* signature: the line sits on the writing's baseline and the G's tail dips below it, like a real signed line */
.sig-line { display: block; width: max-content; padding-right: 28px; border-bottom: 1.5px solid var(--paper-ink); line-height: 0; }
.sig-img { position: relative; display: block; width: auto; height: clamp(60px, 17.5vw, 67px); margin: 0 0 -25px -4px; clip-path: inset(0 0 0 0); transition: clip-path 1.5s cubic-bezier(.5, .1, .25, 1) .15s; }
.sig-img.unsigned { clip-path: inset(0 100% 0 0); transition: none; }
.sig-name .mono { font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--paper-mute); margin-top: 20px; }
.doc { margin-bottom: 40px; }
.seal { position: absolute; right: -8px; bottom: -40px; width: 104px; height: auto; transform: rotate(-8deg); filter: drop-shadow(0 8px 12px rgba(0, 0, 0, .35)); pointer-events: none; }
@media (max-width: 379px) { .seal { width: 92px; right: -12px; } }
@media (max-width: 899px) {
  .hero-cta { grid-template-columns: minmax(0, 1.85fr) minmax(0, 1fr); }
  .hero-cta .btn { padding: 0 12px; letter-spacing: .05em; }
}
.footage { display: grid; grid-template-columns: minmax(0, 44%) minmax(0, 1fr); gap: 16px; align-items: end; }
.footage-frame { position: relative; aspect-ratio: 9 / 16; background: var(--plate); border: 1px solid var(--line); overflow: hidden; overflow: clip; }
.fv { width: 100%; height: 100%; object-fit: cover; }
.footage .tag { top: 10px; left: 10px; font-size: 11px; padding: 6px 8px; }
.tcode { position: absolute; left: 10px; bottom: 12px; z-index: 2; font-size: 11px; letter-spacing: .1em; color: var(--text); text-shadow: 0 1px 6px rgba(0, 0, 0, .7); }
.fv-toggle { position: absolute; right: 6px; bottom: 4px; z-index: 2; width: 44px; height: 44px; display: grid; place-items: center; background: none; border: 0; color: var(--text); cursor: pointer; filter: drop-shadow(0 1px 4px rgba(0, 0, 0, .6)); }
.footage figcaption { font-size: 16px; line-height: 1.5; color: var(--mute); padding-bottom: 6px; }

/* ---------- process ---------- */
.tl { position: relative; margin-top: 36px; padding-left: 44px; }
.tl-step { position: relative; padding-bottom: 34px; display: flex; flex-direction: column; gap: 6px; }
.tl-step:last-child { padding-bottom: 0; }
.tl-dot {
  position: absolute; left: -44px; top: 0; z-index: 1; width: 28px; height: 28px;
  display: flex; align-items: center; justify-content: center;
  background: var(--ink); border: 2px solid var(--text); font: 600 12px/1 var(--mono);
}
.tl-step h3 { font-size: 30px; }
.tl-step p { font-size: 16px; line-height: 1.5; color: var(--mute); max-width: 26em; }
.tl-track { position: absolute; left: 13px; top: 6px; bottom: 6px; width: 2px; background: var(--line); z-index: 0; }
.tl-step { z-index: 1; } /* keep the numeral boxes above the drawn line */
.tl-line { position: absolute; inset: 0; background: var(--text); transform-origin: top; }

/* ---------- rough estimate calculator ---------- */
.est-grid { display: grid; gap: 28px; }
.est-step { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--mute); margin: 4px 0 12px; }
.est-step:not(:first-child) { margin-top: 28px; }
.est-svcs { display: grid; gap: 10px; }
.est-svc {
  position: relative; display: grid; grid-template-columns: 34px 1fr; grid-template-rows: auto auto; column-gap: 12px; align-items: center; text-align: left;
  min-height: 64px; padding: 12px 44px 12px 14px; background: var(--plate); color: var(--text); border: 1.5px solid var(--line-2); border-radius: 0; cursor: pointer;
  transition: border-color .2s, background-color .2s;
}
.est-svc:hover { border-color: #77767d; }
.est-svc[aria-pressed="true"] { border-color: var(--text); background: #202024; }
.est-svc-i { grid-row: 1 / 3; width: 34px; height: 34px; color: var(--tape); }
.est-svc-name { font-weight: 700; font-size: 17px; line-height: 1.2; }
.est-svc-note { font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--mute); }
.est-check { position: absolute; right: 12px; top: 50%; width: 22px; height: 22px; margin-top: -11px; opacity: 0; transform: scale(.6); transition: opacity .2s, transform .2s var(--ease-out); }
.est-svc[aria-pressed="true"] .est-check { opacity: 1; transform: none; }
.est-hint { font-size: 15px; color: var(--mute); padding: 18px; border: 1px dashed var(--line-2); }
.est-panel { background: var(--plate); border: 1px solid var(--line); padding: 16px 16px 6px; margin-bottom: 12px; }
.est-panel-h { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 17px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.est-panel-note { font-size: 14px; line-height: 1.5; color: var(--mute); margin: 10px 0 2px; max-width: 34em; }
.est-panel-h .i { width: 26px; height: 26px; color: var(--tape); }
.est-row { display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.est-row:last-child { border-bottom: 0; }
.est-size-i { width: 52px; height: 52px; fill: #77767d; transition: fill .2s; }
.est-row.on .est-size-i { fill: var(--text); }
.est-row-txt { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.est-row-txt b { font-size: 16px; }
.est-row-txt .mono { font-size: 11px; letter-spacing: .04em; color: var(--mute); }
.est-row-txt .est-row-price { color: #CFCBC3; }
.stepper { display: flex; align-items: center; border: 1px solid var(--line-2); }
.stepper button { width: 44px; height: 44px; display: grid; place-items: center; background: none; border: 0; color: var(--text); cursor: pointer; }
.stepper button:hover { background: rgba(241, 239, 234, .08); }
.stepper button:active { transform: scale(.94); }
.stepper .i { width: 20px; height: 20px; }
.stepper output { min-width: 2.2ch; text-align: center; font: 600 17px/1 var(--mono); }
.ticket { background: var(--paper); color: var(--paper-ink); padding: 24px 20px 22px; align-self: start; display: flex; flex-direction: column; gap: 14px; }
.ticket .doc-hd { margin-bottom: 0; }
.ticket-lines { display: flex; flex-direction: column; gap: 8px; font-size: 15px; line-height: 1.35; }
.ticket-lines li { display: flex; justify-content: space-between; gap: 12px; }
.ticket-lines li span:last-child { font-family: var(--mono); font-weight: 600; font-size: 13px; white-space: nowrap; }
.ticket-empty { color: var(--paper-mute); font-style: italic; }
.ticket-total { display: flex; flex-direction: column; gap: 2px; padding-top: 12px; border-top: 2px solid var(--paper-ink); }
.ticket-total .mono { font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--paper-mute); }
.ticket-total b { font-family: var(--sans); font-stretch: 62%; font-weight: 800; font-size: 46px; line-height: 1; text-transform: uppercase; }
.ticket-discount { display: flex; gap: 8px; align-items: flex-start; font-size: 14px; line-height: 1.45; color: #3A3833; padding: 10px 12px; border: 1px dashed #A8A398; transition: background-color .3s, border-color .3s; }
.ticket-discount .i { width: 18px; height: 18px; margin-top: 1px; flex-shrink: 0; }
.ticket-discount.on { background: rgba(233, 196, 58, .35); border-color: #B38A10; }
.ticket-fine { font-size: 11px; line-height: 1.55; color: #4A4741; }
.ticket-pay { font-size: 14px; line-height: 1.45; color: #2C2B28; }
.ticket-pay b { color: var(--paper-ink); }
.ticket .btn { width: 100%; }

/* ---------- intake form (QuoteIQ widget, restyled in site.js) ---------- */
.file { padding-top: var(--sec); }
.file-grid { display: grid; gap: 28px; }
.file-head { margin-bottom: 0; }
.intake { background: var(--paper); color: var(--paper-ink); padding: 26px 20px 22px; }
.intake .doc-hd { margin-bottom: 18px; }
.qiq-host {
  display: block; min-height: 1024px; /* the loaded form's height, so nothing jumps when it arrives */
  --qiq-bg: transparent; --qiq-card-bg: transparent;
  --qiq-text: #151515; --qiq-text-muted: #55524C; --qiq-border: #8A867D;
  --qiq-input-bg: #F5F3EE; --qiq-input-text: #151515;
  --qiq-primary: #D2301F; --qiq-primary-hover: #B9291A; --qiq-primary-text: #F6F3EE;
  --qiq-primary-focus-ring: rgba(21, 21, 21, .2); --qiq-button-gradient: #D2301F; --qiq-button-shadow: none;
  --qiq-radius-input: 0; --qiq-radius-button: 0; --qiq-radius-card: 0;
}
.qiq-host.is-ready { min-height: 0; }
.qiq-loading { min-height: 620px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; text-align: center; font: 500 13px/1.5 var(--mono); letter-spacing: .06em; color: var(--paper-mute); }
.qiq-loading a { color: var(--paper-ink); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.qiq-spin { width: 28px; height: 28px; border: 3px solid #CFCAC0; border-top-color: var(--paper-ink); border-radius: 50%; animation: spin .8s linear infinite; }
.qiq-loading.is-failed .qiq-spin { display: none; }
@keyframes spin { to { transform: rotate(360deg); } }
.fine { font: 500 12px/1.55 var(--mono); color: #4A4741; text-align: center; margin-top: 18px; }
.fine.consent { margin-top: 8px; font-size: 11px; }

.talk { padding-top: 28px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 12px; align-self: start; }
.talk-h { font-size: 34px; }
.talk-num { font-family: var(--sans); font-stretch: 62%; font-weight: 800; font-size: 58px; line-height: .95; letter-spacing: .005em; }
.talk > p:not(.talk-h) { font-size: 16px; line-height: 1.55; color: var(--mute); }
.talk-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.copy {
  display: inline-flex; align-items: center; gap: 8px; min-height: 56px; padding: 0 16px; cursor: pointer;
  background: transparent; border: 1px solid var(--line-2); border-radius: 0; color: var(--text);
  font: 600 13px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase;
}
.copy .i { width: 18px; height: 18px; }

/* ---------- service area ---------- */
.juris-grid { display: grid; gap: 32px; }
.juris-copy { display: flex; flex-direction: column; gap: 14px; }
.juris .lead a { color: var(--text); font-weight: 700; border-bottom: 1.5px solid var(--line-2); white-space: nowrap; }
.areas { display: grid; gap: 22px; margin-top: 12px; }
.area-h { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--mute); margin-bottom: 10px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { display: flex; }
.chips a { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; border: 1px solid var(--line-2); padding: 11px 14px; font-size: 15px; font-weight: 600; line-height: 1.2; transition: background-color .2s, color .2s, border-color .2s; }
.chips a:hover, .chips a:focus-visible { background: var(--text); color: var(--ink); border-color: var(--text); }
/* service-area map (inline SVG from tools/page-src/area_map.py) */
.juris-map { margin: 0 calc(var(--g) * -1); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #131316; }
.map-hd { display: flex; justify-content: space-between; gap: 12px; padding: 12px var(--g); border-bottom: 1px solid var(--line); font: 600 11px/1.2 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--mute); }
.map-wrap { position: relative; }
.map { display: block; width: 100%; height: auto; }
.map .bg { fill: #131316; }
.map .grid { fill: none; stroke: #1c1c21; stroke-width: 1; }
.map .zone { fill: rgba(210, 48, 31, .13); stroke: var(--red); stroke-width: 1.8; stroke-linejoin: round; stroke-dasharray: 1; }
.map .water { fill: #213646; }
.map .road { fill: none; stroke: #393940; stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; }
.map .road.big { stroke: #4c4c54; stroke-width: 2.2; }
.map .denver-area { fill: rgba(14, 14, 15, .8); stroke: #4c4c54; stroke-width: 1; fill-rule: evenodd; }
.map .denver-hatch { fill: url(#hatch); fill-rule: evenodd; }
.map #hatch path { stroke: #2a2a30; stroke-width: 1.4; }
.map .denver-lbl { font-family: var(--sans); font-stretch: 62%; font-weight: 800; font-size: 34px; letter-spacing: .02em; fill: #5e5b56; }
.map .denver-sub { font: 600 9.5px var(--mono); letter-spacing: .24em; fill: #8c8980; }
.map .shield { transform-box: fill-box; transform-origin: center; }
.map .shield rect { fill: #0E0E0F; stroke: #56565d; stroke-width: 1; }
.map .shield text { font: 600 9px var(--mono); letter-spacing: .02em; fill: #c4c0b8; text-anchor: middle; }
.map .town { fill: var(--text); stroke: #131316; stroke-width: 2; transform-box: fill-box; transform-origin: center; }
.map .lbl { font: 600 11px var(--mono); letter-spacing: .06em; fill: #d9d5cd; paint-order: stroke; stroke: #131316; stroke-width: 3.5px; stroke-linejoin: round; }
.map .hq-dot { fill: var(--red); stroke: #131316; stroke-width: 2; }
.map .hq-ring { fill: none; stroke: var(--red); stroke-width: 1.4; opacity: .55; }
.map .hq-pin { transform-box: fill-box; transform-origin: 50% 100%; }
.map .hq-lbl { fill: var(--text); }
.map .hq-tag { font: 600 9px var(--mono); letter-spacing: .24em; fill: var(--red); paint-order: stroke; stroke: #131316; stroke-width: 3px; }
.map .scale path { fill: none; stroke: #8c8980; stroke-width: 1.2; }
.map .scale text, .map .north text { font: 600 9px var(--mono); letter-spacing: .14em; fill: #8c8980; }
.map .north path { fill: #8c8980; }
.map .north text { text-anchor: middle; }
/* a slow pulse on HQ; an HTML ring over the map, so it animates without repainting the SVG */
.map-beacon { position: absolute; width: 38px; height: 38px; margin: -19px 0 0 -19px; border-radius: 50%; box-shadow: 0 0 0 2px var(--red); opacity: 0; pointer-events: none; }
.map-cap { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; padding: 12px var(--g) 14px; border-top: 1px solid var(--line); font: 500 11px/1.4 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--mute); }
.map-key { display: inline-flex; align-items: center; gap: 7px; }
.map-key i { width: 12px; height: 12px; flex-shrink: 0; }
.k-town { border-radius: 50%; background: var(--text); transform: scale(.7); }
.k-zone { background: rgba(210, 48, 31, .2); box-shadow: inset 0 0 0 1.5px var(--red); }
.k-denver { background: repeating-linear-gradient(45deg, #2a2a30 0 1.5px, #0E0E0F 1.5px 5px); box-shadow: inset 0 0 0 1px #4c4c54; }
.map-credit { flex-basis: 100%; font-size: 10px; text-transform: none; letter-spacing: .02em; color: #77746d; }
.map-credit a { color: inherit; border-bottom: 1px solid var(--line-2); }
/* phones: bigger type, and only the towns that fit without crowding (all 23 are in the list above) */
@media (max-width: 599px) {
  .map .lbl { font-size: 16px; stroke-width: 4.5px; }
  .map .lbl:not(.major) { display: none; }
  .map .hq-tag { font-size: 12px; }
  .map .town { scale: 1.3; }
  .map .shield { scale: 1.35; }
  .map .denver-sub { font-size: 12px; }
  .map .scale text, .map .north text { font-size: 12px; }
}

/* ---------- FAQ ---------- */
.faq { padding-bottom: 36px; }
.faq-list { margin-top: 28px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 20px 0; font-size: 18px; font-weight: 700; line-height: 1.3; -webkit-tap-highlight-color: transparent;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .i { color: var(--mute); transition: transform .25s var(--ease-out); }
.faq details[open] summary .i { transform: rotate(180deg); }
.faq details.closing summary .i { transform: none; } /* flips back as the answer starts to close */
.faq .a p { padding: 0 0 22px; font-size: 16px; line-height: 1.6; color: #CFCBC3; max-width: 44em; }

/* ---------- closing ---------- */
.closing { position: relative; border-top: 1px solid var(--line); overflow: hidden; overflow: clip; }
.closing-media { position: absolute; left: 0; right: 0; top: 0; height: min(133vw, 620px); }
.closing-media picture, .closing-media img { width: 100%; height: 100%; }
.closing-media img { object-fit: cover; object-position: 50% 60%; filter: grayscale(.35) contrast(1.05); }
.closing-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(14, 14, 15, .25), rgba(14, 14, 15, 0) 22%, rgba(14, 14, 15, .2) 55%, var(--ink) 96%); }
.closing-copy { position: relative; padding-top: calc(min(133vw, 620px) * .84); padding-bottom: 44px; display: flex; flex-direction: column; gap: 20px; }
.closing h2 { font-size: clamp(52px, 15vw, 64px); }
.miranda { font: 500 15px/1.65 var(--mono); color: #DDD9D1; max-width: 34em; }

/* ---------- footer ---------- */
.ftr { border-top: 1px solid var(--line); padding: 56px 0 40px; color: var(--mute); font-size: 15px; }
.case-closed { font-family: var(--sans); font-stretch: 62%; font-weight: 800; font-size: clamp(80px, 24vw, 104px); line-height: .85; text-transform: uppercase; color: var(--text); }
.flogo { width: 100%; margin: 22px 0 30px; }
.ftr-grid { display: grid; gap: 22px; }
.ftr-contact { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 20px; }
.ftr-phone { color: var(--text); font-weight: 700; font-size: 20px; }
.ftr-contact > a:not(.ftr-phone), .ftr-nav a { color: var(--text); border-bottom: 1px solid var(--line-2); }
.ftr-about { display: flex; flex-direction: column; gap: 10px; }
.ftr-base { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.social { display: flex; gap: 8px; flex-basis: 100%; margin-top: 6px; }
.social a { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--line-2); color: var(--text); transition: background-color .2s, color .2s, border-color .2s; }
.social a:hover { background: var(--text); color: var(--ink); border-color: var(--text); }
.social .i { width: 20px; height: 20px; }
.ftr-nav { display: flex; flex-wrap: wrap; gap: 10px 18px; }
.ftr-nav a { padding: 6px 0; }
.legal { margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 11px; line-height: 1.7; letter-spacing: .04em; }

/* phones and tablets: solid bars instead of frosted glass. A blur behind a fixed bar has to be redrawn on every
   scroll frame, and on iPhones that showed up as a hitch; at 97% opacity the blur was barely visible anyway. */
@media (hover: none) {
  .hdr { background: rgba(14, 14, 15, .97); -webkit-backdrop-filter: none; backdrop-filter: none; }
  .bar { background: rgba(14, 14, 15, .98); -webkit-backdrop-filter: none; backdrop-filter: none; }
}

/* ---------- mobile contact bar ---------- */
.bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  display: grid; grid-template-columns: 52px minmax(0, 1fr) minmax(0, 1.12fr); gap: 8px;
  padding: 10px 12px calc(12px + env(safe-area-inset-bottom, 0px));
  background: rgba(14, 14, 15, .94); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-top: 1px solid var(--line);
}
.bar .btn { min-height: 52px; font-size: 15px; font-stretch: 75%; letter-spacing: .05em; padding: 0 8px; gap: 6px; }
.bar-call { padding: 0; }
.bar-file { grid-area: 1 / 3; }
/* a ring pulses out from the Free Estimate button; scale and fade only, so it never repaints the bar */
.bar::before { content: ""; grid-area: 1 / 3; pointer-events: none; box-shadow: 0 0 0 2px var(--red); opacity: 0; animation: ring 3.6s ease-out infinite; }
.btn-shine { position: relative; overflow: hidden; isolation: isolate; }
.btn-shine::after {
  content: ""; position: absolute; z-index: -1; top: -60%; bottom: -60%; left: -45%; width: 32%;
  background: linear-gradient(100deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, .5) 50%, rgba(255, 255, 255, 0));
  transform: translateX(0) skewX(-18deg); animation: shine 3.6s cubic-bezier(.45, 0, .2, 1) infinite; pointer-events: none;
}
@keyframes shine { 0%, 58% { transform: translateX(0) skewX(-18deg); } 88%, 100% { transform: translateX(560%) skewX(-18deg); } }

/* ---------- back to top ---------- */
.to-top {
  position: fixed; z-index: 39; right: 12px; bottom: calc(var(--barh) + 12px);
  width: 46px; height: 46px; display: grid; place-items: center;
  background: rgba(23, 23, 26, .92); color: var(--text); border: 1px solid var(--line-2);
  box-shadow: 0 10px 24px rgba(0, 0, 0, .45); -webkit-tap-highlight-color: transparent;
  opacity: 0; visibility: hidden; transform: translateY(14px) scale(.9);
  transition: opacity .3s var(--ease-out), transform .35s var(--ease-out), visibility 0s linear .35s, background-color .2s, color .2s, border-color .2s;
}
.to-top.show { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.to-top .i { width: 22px; height: 22px; transition: transform .25s var(--ease-out); }
.to-top:hover { background: var(--text); color: var(--ink); border-color: var(--text); }
.to-top:hover .i { transform: translateY(-3px); }
.to-top:active { transform: scale(.94); }

/* ---------- motion ----------
   Phones and tablets get time-based reveals: site.js adds .io to the page, then .in to each piece as it scrolls
   into view. iPhone Safari doesn't run scroll-linked animations on its scrolling thread, so they judder under a
   swipe. Mouse and trackpad screens with scroll timelines get the scroll-linked versions instead. */
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes rise-sm { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes blink { 50% { opacity: 0; } }
/* two characters of slack: Safari stops a steps() animation one step early, which clipped the last letter */
@keyframes type { from { width: 0; } to { width: calc((var(--n) + 2) * (1ch + .12em)); } }
@keyframes slam { 0% { opacity: 0; transform: scale(2.3) rotate(-18deg); } 70% { opacity: 1; transform: scale(.94) rotate(-8deg); } 100% { opacity: 1; transform: scale(1) rotate(-9deg); } }
@keyframes seal-in { from { opacity: 0; transform: scale(1.9) rotate(-40deg); } 70% { opacity: 1; transform: scale(.95) rotate(-6deg); } to { opacity: 1; transform: scale(1) rotate(-8deg); } }
@keyframes pin { from { opacity: 0; transform: translateY(46px) rotate(calc(var(--r, 0deg) - 6deg)) scale(1.04); } to { opacity: 1; transform: rotate(var(--r, 0deg)); } }
@keyframes grow-x { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes grow-y { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes film-pan { to { transform: translateX(calc(-100% + 100vw)); } }
@keyframes ring { 0% { opacity: .75; transform: scale(1); } 70%, 100% { opacity: 0; transform: scale(1.1, 1.36); } }
@keyframes settle { from { transform: scale(1.07); } to { transform: none; } }
@keyframes menu-out { to { opacity: 0; transform: translateY(-10px); } }
@keyframes bump { 40% { transform: scale(1.07); } }
/* the push pin: brought in close, needle touches the paper, pushed home, a little squash on impact */
@keyframes pin-in {
  0% { opacity: 0; transform: translate(-24px, -72px) scale(1.8) rotate(-18deg); animation-timing-function: cubic-bezier(.2, .7, .35, 1); }
  14% { opacity: 1; }
  56% { transform: translate(0, -15px) scale(1.08) rotate(-3deg); animation-timing-function: cubic-bezier(.55, 0, .9, .45); }
  76% { transform: none; animation-timing-function: ease-out; }
  84% { transform: scale(1.05, .92); animation-timing-function: ease-in-out; }
  100% { opacity: 1; transform: none; }
}
@keyframes needle-in { 0%, 56% { transform: scaleY(1); animation-timing-function: cubic-bezier(.55, 0, .9, .45); } 76%, 100% { transform: scaleY(0); } }
@keyframes pin-shadow-in {
  0% { opacity: 0; transform: translate(46px, 40px) rotate(24deg) scale(2.6); animation-timing-function: cubic-bezier(.2, .7, .35, 1); }
  56% { opacity: .4; transform: translate(16px, 11px) rotate(24deg) scale(1.4); animation-timing-function: cubic-bezier(.55, 0, .9, .45); }
  76%, 100% { opacity: 1; transform: translate(6px, 3px) rotate(24deg); }
}
/* the print, pressed flat by the pin, swings once on it and settles */
@keyframes photo-pinned {
  0% { transform: rotate(-3.6deg) scale(1.025); animation-timing-function: cubic-bezier(.3, .9, .4, 1); }
  28% { transform: rotate(-.6deg); animation-timing-function: ease-in-out; }
  56% { transform: rotate(-1.9deg); animation-timing-function: ease-in-out; }
  80% { transform: rotate(-1.25deg); }
  100% { transform: rotate(-1.4deg); }
}
@keyframes lift-off { from { opacity: 1; } to { opacity: 0; } }

/* hero: the photo settles, the title card types in, then the headline and buttons rise */
.hero-media img { animation: settle 2.6s var(--ease-out) both; }
.tc span { width: 0; overflow: hidden; animation: type calc(var(--n) * 28ms) steps(var(--n), end) forwards; }
.tc span:nth-child(1) { animation-delay: .2s; }
.tc span:nth-child(2) { animation-delay: .86s; }
.tc span:nth-child(3) { animation-delay: 1.62s; }
.ld { opacity: 0; animation: rise .8s var(--ease-out) forwards; }
.hero-copy .ld:nth-child(1) { animation-delay: .35s; }
.hero-copy .ld:nth-child(2) { animation-delay: .5s; }
.hero-copy .ld:nth-child(3) { animation-delay: .65s; }
.hero-copy .ld:nth-child(4) { animation-delay: .8s; }

/* menu: links step in on open; site.js plays .closing before it closes */
.menu[open] .menu-nav a { animation: rise-sm .45s var(--ease-out) both; }
.menu[open] .menu-nav a:nth-child(2) { animation-delay: .04s; }
.menu[open] .menu-nav a:nth-child(3) { animation-delay: .08s; }
.menu[open] .menu-nav a:nth-child(4) { animation-delay: .12s; }
.menu[open] .menu-nav a:nth-child(5) { animation-delay: .16s; }
.menu[open] .menu-nav a:nth-child(6) { animation-delay: .2s; }
.menu[open] .menu-nav a:nth-child(7) { animation-delay: .24s; }
.menu[open] .menu-nav a:nth-child(8) { animation-delay: .28s; }
.menu[open] .menu-cta { animation: fade .5s .18s both; }
.menu.closing { animation: menu-out .18s ease-in forwards; }

/* the booking print waits off the board until the pin goes in (classes set by site.js) */
.lineup.pin-wait .lineup-photo { transform: rotate(-3.6deg) scale(1.025); }
.lineup.pin-wait .lineup-photo::before { opacity: 1; }
.lineup.pin-wait .pin { opacity: 0; }
.lineup.pin-go .pin-body { animation: pin-in .82s both; }
.lineup.pin-go .pin-needle { animation: needle-in .82s linear both; }
.lineup.pin-go .pin-shadow { animation: pin-shadow-in .82s both; }
.lineup.pin-go .lineup-photo { animation: photo-pinned .95s .6s both; }
.lineup.pin-go .lineup-photo::before { animation: lift-off .35s ease-out .6s both; }

/* service-area map: the boundary draws itself, the towns pop in rippling out from Highlands Ranch, the pin drops (site.js) */
@keyframes zone-draw { from { stroke-dashoffset: 1; fill-opacity: 0; } 55% { fill-opacity: 0; } to { stroke-dashoffset: 0; fill-opacity: 1; } }
@keyframes pop { from { transform: scale(0); } 70% { transform: scale(1.25); } to { transform: none; } }
@keyframes hq-drop { from { opacity: 0; transform: translateY(-24px) scale(1.5); } 70% { opacity: 1; transform: translateY(1px) scale(.97); } to { opacity: 1; transform: none; } }
@keyframes beacon { 0% { opacity: .85; transform: scale(.35); } 70%, 100% { opacity: 0; transform: scale(1.5); } }
.map.wait .zone { stroke-dashoffset: 1; fill-opacity: 0; }
.map.wait .town, .map.wait .lbl, .map.wait .hq-tag, .map.wait .hq-pin, .map.wait .hq-dot, .map.wait .hq-ring { opacity: 0; }
.map.go .zone { animation: zone-draw 1.5s cubic-bezier(.4, 0, .2, 1) both; }
.map.go .town { animation: pop .5s cubic-bezier(.3, 1.4, .5, 1) var(--d) both; }
.map.go .lbl, .map.go .hq-tag { animation: fade .5s var(--d) both; }
.map.go .hq-pin { animation: hq-drop .6s cubic-bezier(.3, 1.3, .5, 1) .1s both; }
.map.go .hq-dot, .map.go .hq-ring { animation: fade .3s .45s both; }
.map.go + .map-beacon { animation: beacon 2.8s ease-out 1.8s infinite; }

/* rough estimate: a new service slides in, and the total gives a nudge when it changes */
.est-panel:not([hidden]) { animation: rise-sm .35s var(--ease-out); }
.ticket-total b { transform-origin: 0 70%; }
.ticket-total b.bump { animation: bump .4s var(--ease-out); }

/* scroll-linked motion: mouse and trackpad screens whose browser has scroll timelines */
@media (hover: hover) and (pointer: fine) {
  @supports (animation-timeline: view()) {
    .rv { animation: rise linear both; animation-timeline: view(); animation-range: entry 0% cover 24%; }
    .cert { animation: pin linear both; animation-timeline: view(); animation-range: entry 5% cover 32%; }
    .seal { animation: seal-in linear both; animation-timeline: view(); animation-range: entry 20% cover 45%; }
    .tl-line { animation: grow-y linear both; animation-timeline: view(); animation-range: entry 30% cover 70%; }
    .prog { animation: grow-x linear both; animation-timeline: scroll(root block); }
    .case-closed { animation: rise linear both; animation-timeline: view(); animation-range: entry 0% cover 30%; }
    .film { overflow-x: clip; scroll-snap-type: none; }
    .film-track { animation: film-pan linear both; animation-timeline: view(); animation-range: entry 10% exit 90%; will-change: transform; }
  }
}
@media (hover: hover) and (pointer: fine) and (min-width: 900px) {
  @supports (animation-timeline: view()) { .tl-line { animation-name: grow-x; } } /* the line runs sideways on desktop */
}

/* time-based reveals (.io on the page, .in once in view, .done when finished so hover transitions come back) */
.io .rv:not(.in), .io .case-closed:not(.in) { opacity: 0; transform: translateY(24px); }
.io .rv.in:not(.done), .io .case-closed.in:not(.done) { transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); }
.io .cert:not(.in) { opacity: 0; transform: translateY(40px) rotate(calc(var(--r, 0deg) - 5deg)); }
.io .cert.in:not(.done) { transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); }
.io .seal:not(.in) { opacity: 0; }
.io .seal.in { animation: seal-in .65s cubic-bezier(.3, 1.3, .5, 1) .15s both; }
.io .seal.in.done { animation: none; }
.io .tl:not(.in) .tl-line { transform: scaleY(0); }
.io .tl.in:not(.done) .tl-line { transition: transform 1.6s var(--ease-out) .1s; }
.io .tl-step:not(.in) .tl-dot { opacity: 0; transform: scale(.4); }
.io .tl-step.in:not(.done) .tl-dot { transition: opacity .35s var(--ease-out) .15s, transform .55s cubic-bezier(.3, 1.6, .5, 1) .15s; }
.io .docket-rail:not(.in) .charge, .io .film:not(.in) .film-item { opacity: 0; translate: 40px 0; }
.io .docket-rail.in:not(.done) .charge, .io .film.in:not(.done) .film-item { transition: opacity .6s var(--ease-out), translate .75s var(--ease-out); }
.io .docket-rail.in:not(.done) .charge:nth-child(2), .io .film.in:not(.done) .film-item:nth-child(2) { transition-delay: .09s; }
.io .docket-rail.in:not(.done) .charge:nth-child(3), .io .film.in:not(.done) .film-item:nth-child(3) { transition-delay: .18s; }
.io .docket-rail.in:not(.done) .charge:nth-child(4), .io .film.in:not(.done) .film-item:nth-child(4) { transition-delay: .27s; }
@media (min-width: 900px) { .io .tl:not(.in) .tl-line { transform: scaleX(0); } }

/* ---------- small tablets ---------- */
@media (min-width: 600px) {
  :root { --g: 32px; }
  .hero-copy { max-width: 620px; }
  .cert-board { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 24px; }
  .facts { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .facts li { padding-right: 12px; }
  .lineup { margin: 0; border: 1px solid var(--line); }
  .juris-map { margin: 0; border: 1px solid var(--line); }
  .footage { grid-template-columns: 240px minmax(0, 1fr); }
}

/* ---------- desktop ---------- */
@media (min-width: 900px) {
  :root { --g: 40px; --hdr: 72px; --barh: 0px; --sec: 60px; }
  body { padding-bottom: 0; }
  .bar { display: none; }
  .to-top { right: 24px; bottom: 24px; width: 52px; height: 52px; }
  .h1 { font-size: clamp(76px, 7.4vw, 124px); }
  .h2 { font-size: clamp(64px, 6vw, 96px); }
  .lead { font-size: 19px; }
  .btn { min-height: 58px; padding: 0 26px; }

  .hdr-in { padding: 0 var(--g); gap: 24px; }
  .brand img { width: 176px; }
  .hdr-ico { display: none; }
  .hdr-phone { display: inline-flex; white-space: nowrap; font: 600 16px/1 var(--mono); letter-spacing: .06em; padding: 0 8px; min-height: 44px; align-items: center; }
  .hdr-cta { white-space: nowrap; }
  .hdr-phone:hover { color: #fff; }
  .hdr-cta { display: inline-flex; min-height: 48px; padding: 0 20px; font-size: 14px; margin-left: 8px; }
  .menu-btn { margin-left: 4px; }

  .hero { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); height: auto; min-height: min(calc(100svh - var(--hdr)), 900px); max-height: none; }
  .hero-media { position: relative; order: 2; min-height: 640px; }
  .hero-media::after { top: 0; height: auto; width: 34%; right: auto; background: linear-gradient(to right, var(--ink), rgba(14, 14, 15, 0)); }
  .hero-media::before { height: 26%; }
  .tc { top: 28px; left: 28px; font-size: 15px; }
  .hero-copy { order: 1; align-self: center; max-width: 760px; padding: 72px var(--g) 72px max(var(--g), calc((100vw - var(--max)) / 2 + var(--g))); gap: 26px; }
  .hero-lead { font-size: 21px; max-width: 26em; color: var(--mute); }
  .hero-cta { display: flex; gap: 12px; }
  .hero-cta .btn-red { min-width: 260px; }

  .trust { grid-template-columns: repeat(4, minmax(0, 1fr)); padding: 0 max(0px, calc((100vw - var(--max)) / 2)); }
  .trust li { padding: 22px var(--g); border-bottom: 0 !important; border-right: 1px solid var(--line); flex-direction: row; align-items: center; gap: 14px; }
  .trust-logo, .trust-logo img { height: 52px; }
  .g-logo { width: 42px; height: 42px; }
  .trust li:last-child { border-right: 0; }
  .trust b { font-size: 17px; }
  .trust .mono { font-size: 13px; }

  .mq { font-size: 34px; padding: 0 28px; gap: 14px; }
  .mq-i { width: 40px; height: 40px; }

  .rail { scroll-padding-inline: max(var(--g), calc((100vw - var(--max)) / 2 + var(--g))); padding-inline: max(var(--g), calc((100vw - var(--max)) / 2 + var(--g))); }

  .docket-rail { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; overflow: visible; max-width: var(--max); margin: 0 auto; padding: 0 var(--g); }
  .docket-rail::after { display: none; }
  .charge { flex: none; }
  .charge img { aspect-ratio: 1 / 1; }
  .charge:hover img { transform: scale(1.04); }
  .charge h3 { font-size: clamp(28px, 2.6vw, 34px); }
  .charge-bd { padding: 20px 18px 18px; }
  .inline-cta { flex-direction: row; align-items: center; justify-content: space-between; gap: 28px; }
  .inline-cta p { font-size: 22px; max-width: 30em; }
  .inline-cta--flush { justify-content: flex-start; }

  .sec-head { flex-direction: row; align-items: flex-end; justify-content: space-between; gap: 48px; margin-bottom: 44px; }
  .sec-head .lead { max-width: 26em; padding-bottom: 8px; }

  .ex { flex-basis: 440px; scroll-snap-align: start; }
  .ex-ctrl { justify-content: flex-start; gap: 18px; }

  .testimony-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 64px; align-items: start; }
  .verdict-col { position: sticky; top: calc(var(--hdr) + 40px); }
  .verdict { font-size: 150px; }
  .stack { gap: 28px; }
  .wit { position: relative; top: auto; transform: rotate(var(--wr, 0deg)); box-shadow: 0 18px 40px rgba(0, 0, 0, .45); padding: 30px 30px 26px; }
  .wit:nth-child(1) { --wr: -.6deg; }
  .wit:nth-child(2) { --wr: .5deg; margin-left: 28px; }
  .wit:nth-child(3) { --wr: -.4deg; }
  .wit:nth-child(4) { --wr: .7deg; margin-left: 28px; }
  .wit:nth-child(5) { --wr: -.5deg; }
  .wit blockquote p { font-size: 22px; }

  .film { scroll-padding-inline: max(var(--g), calc((100vw - var(--max)) / 2 + var(--g))); }
  .film-track { padding: 0 max(var(--g), calc((100vw - var(--max)) / 2 + var(--g))); }
  .film-item { flex-basis: 300px; }

  .counsel-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 64px; align-items: center; }
  .lineup { --pt: 90px; height: 640px; }
  .lineup-photo { left: 64px; right: 64px; bottom: 80px; }
  .counsel-sub { font-size: clamp(40px, 3.6vw, 54px); }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .counsel .btn { align-self: flex-start; min-width: 260px; }

  .cert-board { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 44px 32px; padding-top: 18px; }
  .cert { grid-template-columns: 1fr; padding: 30px 26px 28px; gap: 20px; }
  .cert-logo { height: 120px; justify-content: flex-start; }
  .cert-logo img { max-height: 120px; }

  .guarantee-grid { grid-template-columns: minmax(0, 1fr) 340px; gap: 56px; align-items: center; }
  .doc { padding: 48px 52px 46px; }
  .doc h2 { font-size: 64px; max-width: 9em; }
  .doc p { font-size: 18px; max-width: 34em; }
  .doc { margin-bottom: 0; }
  .seal { width: clamp(124px, 13vw, 168px); right: -30px; bottom: -54px; }
  .sig { margin-top: 80px; }
  .sig-img { height: 86px; margin-bottom: -33px; }
  .sig-name .mono { margin-top: 28px; }
  .footage { grid-template-columns: 1fr; }

  .tl { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; padding-left: 0; padding-top: 58px; margin-top: 48px; }
  .tl-step { padding-bottom: 0; }
  .tl-dot { left: 0; top: -58px; width: 40px; height: 40px; font-size: 14px; }
  .tl-step h3 { font-size: 34px; }
  .tl-track { left: 0; right: 0; top: 19px; bottom: auto; width: auto; height: 2px; }
  .tl-line { transform-origin: left; }

  .file-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 0 64px; align-items: start; }
  .est-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 0 56px; }
  .est-svcs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .est-svc { grid-template-columns: 1fr; grid-template-rows: auto; row-gap: 6px; padding: 16px 16px 16px; min-height: 124px; align-content: start; }
  .est-svc-i { grid-row: auto; width: 38px; height: 38px; }
  .est-check { top: 16px; margin-top: 0; }
  .est-panel { padding: 18px 22px 8px; }
  .ticket { position: sticky; top: calc(var(--hdr) + 32px); padding: 30px 30px 28px; }
  .ticket-total b { font-size: 56px; }
  .file-head { grid-column: 1 / -1; }
  .intake { padding: 34px 38px 30px; }
  .talk { border-top: 0; padding: 32px; background: var(--plate); border: 1px solid var(--line); position: sticky; top: calc(var(--hdr) + 32px); }
  .talk-num { font-size: 64px; }

  .juris-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
  .areas { gap: 26px; }

  .faq-wrap { max-width: 980px; }
  .faq summary { font-size: 21px; padding: 26px 0; }
  .faq .a p { font-size: 17px; }

  .closing { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: 640px; }
  .closing-media { position: relative; order: 2; height: auto; }
  .closing-media img { object-position: 50% 50%; }
  .closing-media::after { background: linear-gradient(to right, var(--ink), rgba(14, 14, 15, .2) 45%, rgba(14, 14, 15, .1)); }
  .closing-copy { order: 1; align-self: center; max-width: none; padding: 48px var(--g) 48px max(var(--g), calc((100vw - var(--max)) / 2 + var(--g))); }
  .closing h2 { font-size: clamp(72px, 7vw, 112px); }
  .miranda { font-size: 17px; }
  .closing .btn { align-self: flex-start; min-width: 260px; }

  .ftr { padding: 88px 0 48px; }
  .case-closed { font-size: clamp(120px, 14vw, 200px); }
  .flogo { margin: 30px 0 44px; }
  .ftr-grid { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: start; }
  .ftr-contact { flex-direction: column; gap: 10px; }
  .ftr-nav { flex-direction: column; gap: 6px; align-items: flex-start; }
}

@media (min-width: 1280px) {
  .nav { display: flex; gap: clamp(14px, 1.5vw, 22px); margin-right: auto; margin-left: 12px; }
  .nav a { white-space: nowrap; font-size: 13px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: #D9D5CD; padding: 10px 0; border-bottom: 1.5px solid transparent; transition: border-color .2s, color .2s; }
  .nav a:hover { color: var(--text); border-color: var(--text); }
  .menu-btn { display: none; }
}

@media (hover: hover) and (pointer: fine) {
  .ba { cursor: ew-resize; }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .ld, .tc span, .rv, .cert { opacity: 1 !important; }
  .tc span { width: auto; }
  .prog { transform: scaleX(var(--p, 0)); }
  .film { overflow-x: auto; }
  .film-track { transform: none !important; }
  .btn-shine::after { display: none; }
}

/* ---------- simple pages (404, privacy) ---------- */
.plain-hero { min-height: calc(100svh - var(--hdr) - var(--barh) - 120px); display: flex; align-items: center; padding: 36px 0; }
.plain-hero .wrap { display: flex; flex-direction: column; gap: 20px; }
.plain-kicker { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--mute); }
.plain-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.plain-doc { padding: 32px 0 44px; }
.plain-doc .wrap { max-width: 820px; display: flex; flex-direction: column; gap: 18px; }
.prose { display: flex; flex-direction: column; gap: 14px; font-size: 17px; line-height: 1.65; color: #D6D2CA; }
.prose h2 { margin-top: 18px; font-weight: 700; font-size: 20px; color: var(--text); }
.prose a, .legal a { color: var(--text); border-bottom: 1px solid var(--line-2); }

/* ---------- service-area pages (tree-service-<town>-co/) ---------- */

.area-intro-grid { display: grid; gap: 32px; }
.area-intro-copy { display: flex; flex-direction: column; gap: 16px; }
.area-intro-copy .h2 { margin-bottom: 6px; }
.area-intro-copy p { font-size: 17px; line-height: 1.65; color: #D6D2CA; max-width: 40em; text-wrap: pretty; }
.case-file { background: var(--paper); color: var(--paper-ink); padding: 24px 22px 14px; align-self: start; }
.case-file .doc-hd { margin-bottom: 6px; }
.case-file dl { margin: 0; }
.case-file dl div { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 12px; padding: 12px 0; border-bottom: 1px dashed #A8A398; }
.case-file dl div:last-child { border-bottom: 0; }
.case-file dt { font: 600 11px/1.6 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--paper-mute); }
.case-file dd { margin: 0; font-size: 15px; font-weight: 600; line-height: 1.45; }
.case-file dd a { border-bottom: 1.5px solid var(--paper-ink); }

.svc-list { display: grid; gap: 40px; }
.svc-block { display: grid; gap: 22px; scroll-margin-top: calc(var(--hdr) + 16px); }
.svc-media { margin: 0 calc(var(--g) * -1); overflow: hidden; overflow: clip; background: var(--plate); }
.svc-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .6s var(--ease-out); }
.svc-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.svc-h { font-size: clamp(38px, 11vw, 48px); }
.svc-copy > p { font-size: 17px; line-height: 1.6; color: #D6D2CA; max-width: 36em; text-wrap: pretty; }
.ticks { display: grid; gap: 10px; margin-top: 2px; }
.ticks li { position: relative; padding-left: 30px; font-size: 16px; line-height: 1.45; font-weight: 600; }
.ticks li::before { content: ""; position: absolute; left: 3px; top: .32em; width: 13px; height: 7px; border-left: 2.5px solid var(--tape); border-bottom: 2.5px solid var(--tape); transform: rotate(-45deg); }
.svc-copy .charge-link { margin-top: 4px; border-bottom: 1.5px solid var(--red); }

.local-grid { display: grid; gap: 36px; }
.local-h { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--mute); margin-bottom: 14px; }
.tchips { display: flex; flex-wrap: wrap; gap: 8px; }
.tchips li { background: var(--plate); border: 1px solid var(--line); padding: 10px 14px; font-size: 15px; font-weight: 600; line-height: 1.25; }
.watch { display: grid; gap: 12px; }
.watch-item { background: var(--plate); border: 1px solid var(--line); border-left: 4px solid var(--tape); padding: 20px 20px 20px 22px; }
.watch-item h3 { font-size: 19px; font-weight: 700; line-height: 1.25; margin-bottom: 8px; }
.watch-item p { font-size: 15px; line-height: 1.6; color: #CFCBC3; }

.area-nearby .lead { margin: 14px 0 26px; }

/* phones: long town names can outgrow the fixed-height hero, so let it grow and keep the copy below the title card */
@media (max-width: 899px) {
  .area-page .hero { height: auto; min-height: max(600px, calc(100svh - var(--hdr) - var(--barh))); max-height: none; }
  .area-page .hero-copy { padding-top: 136px; }
}

@media (min-width: 600px) {
  .svc-media { margin: 0; border: 1px solid var(--line); }
}

@media (min-width: 900px) {
  .area-intro-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 64px; align-items: start; }
  .area-intro-copy p { font-size: 18px; }
  .case-file { position: sticky; top: calc(var(--hdr) + 32px); padding: 30px 30px 18px; }
  .svc-list { gap: 56px; }
  .svc-block { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
  .svc-block:nth-child(even) .svc-media { order: 2; }
  .svc-block:hover .svc-media img { transform: scale(1.03); }
  .svc-h { font-size: clamp(46px, 4.2vw, 64px); }
  .svc-copy > p { font-size: 18px; }
  .local-grid { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 64px; align-items: start; }
  .watch-item { padding: 24px 26px 24px 28px; }
  .watch-item h3 { font-size: 21px; }
  .watch-item p { font-size: 16px; }
}

/* ---------- service pages (tree-removal, land-clearing) ---------- */
.grounds { display: grid; gap: 12px; }
.svc-note { margin-top: 20px; font-size: 17px; line-height: 1.55; color: var(--text); max-width: 40em; }
.steps { display: grid; gap: 12px; counter-reset: step; }
.steps li { position: relative; background: var(--plate); border: 1px solid var(--line); padding: 20px 20px 20px 70px; }
.steps li::before {
  counter-increment: step; content: counter(step, upper-roman);
  position: absolute; left: 18px; top: 18px; width: 36px; height: 36px; display: grid; place-items: center;
  border: 1.5px solid var(--tape); color: var(--tape); font: 600 13px/1 var(--mono);
}
.steps h3 { font-size: 19px; font-weight: 700; line-height: 1.25; margin-bottom: 6px; }
.steps p { font-size: 15px; line-height: 1.6; color: #CFCBC3; }
.gal { display: grid; gap: 16px; }
.gal-item { background: var(--plate); border: 1px solid var(--line); }
.gal-item img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.gal-item figcaption { padding: 12px 14px 14px; font-size: 15px; line-height: 1.45; color: #CFCBC3; }
.factors { margin-top: 4px; }
.text-link.svc-more, .text-link.card-more { margin: 0; min-height: 40px; font-size: 14px; }
.charge h3 a { border-bottom: 2px solid transparent; transition: border-color .2s; }
.charge h3 a:hover { border-color: var(--text); }

@media (min-width: 600px) {
  .gal { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 900px) {
  .grounds { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .steps li { padding: 26px 28px 26px 82px; }
  .steps li::before { left: 24px; top: 24px; width: 40px; height: 40px; font-size: 14px; }
  .steps h3 { font-size: 21px; }
  .steps p { font-size: 16px; }
  .gal { gap: 24px; }
  .gal-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .svc-note { font-size: 19px; }
}
