/* Self-hosted fonts (SIL Open Font License 1.1). Latin subset, font-display: swap.
   Lato 400/700/900 + Red Rose 700. Files live in /fonts/ (src/fonts/ in the repo). */
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/lato-400-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/fonts/lato-700-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url(/fonts/lato-900-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Red Rose';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/fonts/red-rose-700-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --brand: #116530;
  --brand-dark: #0d4f26;
  --accent: #0f8043;
  --accent-dark: #0d6b38;
  --brand-tint: #eaf4ee;
  --ink: #111;
  --muted: #55625b;
  --line: #dfe6e1;
  --bg: #fff;
  --radius: 4px;
  --shadow: 0 6px 22px rgba(0, 0, 0, .18);
  --head: "Red Rose", Lato, Georgia, serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 170px; color-scheme: light; }
.skip { position: absolute; left: -9999px; top: 0; }
.skip:focus { left: 8px; top: 8px; z-index: 100; background: #fff; color: var(--brand-dark); padding: 10px 14px; font-weight: 700; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; }
.nav a:focus-visible, .btn:focus-visible, .float-cta a:focus-visible { outline: 3px solid #fff; outline-offset: -3px; }
.btn-ghost:focus-visible { outline: 3px solid var(--brand-dark); outline-offset: 2px; }
body { margin: 0; font-family: Lato, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; color: var(--ink); background: var(--bg); line-height: 1.5; font-size: 16px; }
img { max-width: 100%; display: block; }
a { color: var(--brand); }
h1, h2, h3, h4, .logo { font-family: var(--head); font-weight: 700; }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .5em; text-wrap: balance; }
p { margin: 0 0 1em; }
.container { width: min(1120px, 100% - 32px); margin-inline: auto; }
.ic { flex: none; }
::selection { background: var(--brand-dark); color: #fff; }

/* ---------- buttons ---------- */
.btn { display: inline-block; background: var(--accent); color: #fff; text-decoration: none; font-weight: 700; padding: 11px 28px; min-height: 45px; border-radius: 8px; border: 1px solid #fff; font-size: 16px; cursor: pointer; text-align: center; transition: background .15s, color .15s; font-family: inherit; line-height: 1.5; }
.btn-ghost { background: transparent; color: var(--brand); border: 2px solid var(--accent); padding: 10px 27px; }
.btn-light { background: var(--accent); color: #fff; border: 1px solid #fff; }
.btn-light:hover { background: var(--accent-dark); }
.btn-block { display: block; width: 100%; }
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; margin: 1.5em 0 0; }
.btn-sm { padding: 7px 20px; font-size: 15px; min-height: 0; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: #fff; border-top: 5px solid var(--brand); box-shadow: 0 3px 11px rgba(0, 0, 0, .25); }
.topbar { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 12px 0 8px; gap: 12px; }
.topbar-left { font-size: 14px; }
.hours-mini { font-size: 13px; color: var(--muted); line-height: 1.35; }
.topbar-right { text-align: right; line-height: 1.25; font-size: 14px; display: flex; flex-direction: column; align-items: flex-end; }
.topbar-right .city { font-weight: 700; }
.topbar-right .phone { font-size: 18px; font-weight: 400; text-decoration: none; color: var(--ink); white-space: nowrap; padding: 3px 0; }
.topbar-right .phone small { font-size: 11px; font-weight: 700; color: var(--muted); margin-right: 4px; text-transform: uppercase; letter-spacing: .05em; }
.topbar-right .cts { font-size: 12px; color: var(--muted); }
.logo { display: flex; flex-direction: column; align-items: center; text-decoration: none; color: var(--brand); letter-spacing: .03em; line-height: 1; text-align: center; }
.logo span:first-child { font-size: clamp(26px, 4vw, 40px); }
.logo span:last-child { font-family: Lato, sans-serif; font-weight: 900; font-size: clamp(11px, 1.6vw, 14px); letter-spacing: .2em; color: var(--ink); margin-top: 5px; }
.nav { background: #000; }
.nav ul { list-style: none; margin-block: 0; padding: 0; }
.nav > ul { display: flex; justify-content: center; flex-wrap: wrap; }
.nav a { display: block; color: #fff; text-decoration: none; padding: 14px 15px; font-size: 15px; font-weight: 700; letter-spacing: .02em; }
/* white underline wipes in from the left on hover (0.2s), and stays under the current page */
.nav > ul > li > a { position: relative; }
.nav > ul > li > a::after { content: ""; position: absolute; left: 15px; right: 15px; bottom: 9px; height: 2px; background: #fff; transform: scaleX(0); transform-origin: left; opacity: 0; transition: transform .2s ease-out, opacity .2s ease-out; }
.nav > ul > li > a:hover::after, .nav > ul > li > a:focus-visible::after, .nav > ul > li > a[aria-current="page"]::after, .nav > ul > li > a[aria-current="true"]::after,
.nav > ul > li.has-sub:hover > a::after, .nav > ul > li.has-sub:focus-within > a::after, .nav > ul > li.has-sub.tap-open > a::after { transform: scaleX(1); opacity: 1; }
.has-sub { position: relative; }
.caret { display: inline-block; font-size: 11px; opacity: .8; transition: transform .3s ease-out; }
.has-sub:hover > a .caret, .has-sub:focus-within > a .caret { transform: rotate(180deg); }
/* dropdown fades in and slides down 10px (fade 0.1s, slide 0.4s); closing waits .15s so the pointer can travel
   diagonally from the trigger into the panel without it vanishing mid-move (no pointer-events:none while visible) */
.sub { position: absolute; left: 4px; top: calc(100% + 8px); min-width: 272px; background: #fff; border-radius: 14px; box-shadow: 0 18px 40px rgba(6, 40, 20, .28), 0 2px 8px rgba(0, 0, 0, .1); display: flex; flex-direction: column; gap: 2px; z-index: 10; padding: 8px; opacity: 0; visibility: hidden; transform: translateY(-10px); transition: transform .4s ease-out .15s, opacity .1s ease-out .15s, visibility 0s linear .25s; }
.sub::before { content: ""; position: absolute; top: -6px; left: 30px; width: 14px; height: 14px; background: #fff; border-radius: 3px; transform: rotate(45deg); }
.sub::after { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; } /* invisible bridge so the menu stays open while the mouse moves down */
.has-sub:hover > .sub, .has-sub:focus-within > .sub, .has-sub.tap-open > .sub { opacity: 1; visibility: visible; transform: translateY(0); transition-delay: 0s; }
.has-sub.dismissed > .sub { opacity: 0; visibility: hidden; pointer-events: none; transform: translateY(-10px); transition-delay: 0s; } /* Esc pressed */
@media (min-width: 961px) and (prefers-reduced-motion: reduce) {
  .sub { transition: opacity 0s linear .15s, visibility 0s linear .15s !important; transform: none !important; }
  .has-sub:hover > .sub, .has-sub:focus-within > .sub, .has-sub.tap-open > .sub { transition-delay: 0s !important; }
}
.sub li { position: relative; }
.sub a { display: block; padding: 11px 14px 11px 16px; border-radius: 9px; color: var(--ink); font-weight: 600; font-size: 15px; letter-spacing: 0; transition: background-color .15s, color .15s, padding-left .15s; }
.sub a:hover, .sub a:focus-visible { background: var(--brand-tint); color: var(--brand); padding-left: 22px; }
.sub a:focus-visible { outline: 3px solid var(--brand); outline-offset: -3px; }
.sub a[aria-current="page"] { background: var(--brand-tint); color: var(--brand); box-shadow: inset 3px 0 0 var(--accent); }
.menu-btn { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.menu-btn span { display: block; width: 26px; height: 3px; background: var(--brand-dark); margin: 5px 0; border-radius: 2px; transition: transform .3s ease-out, opacity .4s ease-out; }
.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
.sub-toggle { display: none; }

/* ---------- hero ---------- */

/* ---------- intro ---------- */
.intro { padding: 32px 0 40px; }
.h-brand { color: var(--brand); text-align: center; font-size: clamp(24px, 3.4vw, 30px); max-width: 820px; margin: 0 auto 32px; }
.intro-photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; width: 100%; margin: 0 auto 40px; }
.intro-photos img { width: 100%; aspect-ratio: 379 / 220; object-fit: cover; }
.intro-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; font-size: 16px; }

/* ---------- why ---------- */
.why { background: var(--brand-tint); border-block: 1px solid #d2e3d8; padding: 40px 0 44px; }
.why-wrap { text-align: center; }
.why-h { color: var(--brand); font-size: clamp(24px, 3.4vw, 30px); max-width: 820px; margin: 0 auto 32px; }
.why-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.why-pt { position: relative; display: flex; flex-direction: column; align-items: center; padding: 2px 18px; }
.why-pt + .why-pt::before { content: ""; position: absolute; left: 0; top: 6px; bottom: 6px; width: 1px; background: rgba(17, 101, 48, .22); }
.why-ic { display: block; line-height: 0; color: var(--brand); margin-bottom: 14px; }
.why-ic .ic { stroke-width: 1.15; }
.why-t { font-family: var(--head); font-weight: 700; font-size: 19px; line-height: 1.25; color: var(--ink); margin-bottom: 8px; }
.why-d { font-size: 15px; line-height: 1.5; color: var(--muted); max-width: 30ch; text-wrap: balance; }
.why-cta { margin-top: 32px; min-width: 240px; border-color: var(--accent); }
.why-cta:focus-visible { outline: 3px solid var(--brand-dark); outline-offset: 3px; }
.ic-wrap { width: 56px; height: 56px; border: 2px solid rgba(255, 255, 255, .8); border-radius: 50%; display: grid; place-items: center; flex: none; }

/* ---------- service rows ---------- */
.svc-row { padding: 25px 0; }
.svc-grid { width: min(1200px, 100% - 32px); display: grid; grid-template-columns: minmax(0, 700px) minmax(0, 450px); gap: 50px; align-items: center; justify-content: center; }
.svc-row.rev .svc-img { order: 2; }
.svc-img img { width: 100%; aspect-ratio: 700 / 330; object-fit: cover; }
.svc-img img[src*="/tree-trimming.jpg"] { object-position: 50% 30%; } /* keeps the climber's helmet and face in frame if this photo is ever used here */
@media (min-width: 961px) { .svc-row.rev .svc-grid { grid-template-columns: minmax(0, 450px) minmax(0, 700px); } }
.svc-text h3 { color: var(--brand); font-size: 24px; }
.svc-text p { color: var(--ink); }
.svc-text .btn { min-width: 240px; }
.svc-row.rev .svc-text { text-align: right; }

/* ---------- reviews band ---------- */
.reviews-band {
  --rb-bg: #123a24; --rb-ink: #fff; --rb-copy: #d6e5db; --rb-star: #ecc25c; --rb-star-fill: #ecc25c;
  --rb-card: rgba(255, 255, 255, .07); --rb-card-line: rgba(255, 255, 255, .2); --rb-card-ink: #ebf2ed; --rb-card-mute: #bcd0c3;
  --rb-btn: #f6f2e6; --rb-btn-ink: #0d3a1f; --rb-btn-hover: #fff; --rb-focus: #fff;
  background: var(--rb-bg); color: var(--rb-ink); padding: 28px 0; margin-top: 24px;
}
.rb-grid { display: grid; grid-template-columns: 1fr; justify-items: center; align-items: stretch; text-align: center; gap: 24px; }
.rb-text { display: flex; flex-direction: column; align-items: center; justify-content: center; max-width: 640px; }
.rb-stars { display: flex; justify-content: center; gap: 12px; margin: 0 0 14px; color: var(--rb-star); }
.rb-stars .ic { width: 42px; height: 42px; stroke-width: 1.25; }
.rb-text h2 { font-size: clamp(22px, 2.3vw, 28px); margin: 0 0 8px; line-height: 1.2; }
.rb-copy { margin: 0; max-width: 34em; color: var(--rb-copy); font-size: 16px; line-height: 1.5; text-wrap: balance; }
.reviews-band .btn { margin-top: 18px; background: var(--rb-btn); color: var(--rb-btn-ink); border-color: var(--rb-btn); }
.reviews-band .btn:hover { background: var(--rb-btn-hover); border-color: var(--rb-btn-hover); }
.reviews-band .btn:focus-visible { outline: 3px solid var(--rb-focus); outline-offset: 3px; }
/* once there are real reviews they sit either side of the middle block; the band keeps the same height either way */
@media (min-width: 961px) {
  .rb-grid { min-height: 238px; }
  .rb-has .rb-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 440px) minmax(0, 1fr); gap: 32px; }
}
@media (min-width: 961px) and (max-width: 1199px) {
  .rb-has .rb-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 440px) minmax(0, 1fr); gap: 20px; }
  .rb-has .rb-copy { font-size: 15px; }
  .rev-card { padding: 18px 18px; }
}
.rb-side { display: grid; width: 100%; text-align: left; contain: size; }   /* the cards never make the band taller: they fill whatever height the middle block sets */
.rev-card { margin: 0; width: 100%; background: var(--rb-card); border: 1px solid var(--rb-card-line); border-radius: var(--radius); padding: 22px 24px; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-start; align-items: flex-start; }
.rev-card .rev-name { font-size: 16px; font-weight: 700; margin: auto 0 0; padding-top: 14px; max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--rb-ink); }
.rev-card .stars { color: var(--rb-star-fill); font-size: 16px; letter-spacing: 3px; line-height: 1; }
.rev-card blockquote { margin: 12px 0 0; overflow-wrap: anywhere; font-size: 15px; line-height: 1.5; color: var(--rb-card-ink); display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 4; line-clamp: 4; overflow: hidden; }   /* long reviews are cut short here (the full text is on the Reviews page) */
.rev-card .rev-date { max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: 2px; font-size: 13px; color: var(--rb-card-mute); }
.rev-card-dark { background: var(--brand-tint); border-radius: var(--radius); padding: 20px; }
.rev-list { display: grid; gap: 16px; margin-bottom: 8px; }

/* ---------- learn more about band ---------- */
.about-band { background: #f1f1f1; padding: 56px 0; }
.ab-grid { width: min(1120px, 100% - 32px); display: grid; grid-template-columns: 1fr minmax(0, 600px); gap: 50px; align-items: center; }
.ab-label { margin: 0 0 4px; font-size: 14px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.ab-text h2 { color: var(--brand); font-size: 30px; }
.ab-grid img { width: 100%; aspect-ratio: 600 / 280; object-fit: cover; border-radius: 4px; }

/* ---------- inner pages ---------- */
/* Page-title band (markup: pageHead() in build.mjs). Left: breadcrumb + h1 + subtitle. Right: call / estimate cluster.
   Text on the tint (worst point #eaf4ee): h1 #0d4f26 8.6:1, crumb links #116530 6.4:1, current crumb #111 16.8:1, subtitle #55625b 5.7:1, white on button #0f8043 5.0:1. */
.pagehead { background: linear-gradient(180deg, var(--brand-tint) 0%, #f3f9f5 100%); border-bottom: 3px solid var(--accent); color: var(--ink); padding: 22px 0 24px; }
.ph-in { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 12px 32px; }
.ph-text { min-width: 0; }
.crumbs ol { list-style: none; margin: 0 0 6px; padding: 0; display: flex; flex-wrap: nowrap; align-items: center; font-size: 14px; font-weight: 700; line-height: 1.4; }
.crumbs li { display: flex; align-items: center; flex: none; }
.crumbs li:last-child { flex: 0 1 auto; min-width: 0; } /* one line always: a long current-page name is cut with an ellipsis (the h1 below spells it out) */
.crumbs li + li::before { content: ""; flex: none; width: 5px; height: 5px; margin: 0 11px 0 7px; border-top: 1.5px solid #5f7368; border-right: 1.5px solid #5f7368; transform: rotate(45deg); }
.crumbs a { display: inline-block; padding: 3px 0; white-space: nowrap; color: var(--brand); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; text-underline-offset: 3px; }
.crumbs [aria-current] { display: block; padding: 3px 0; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pagehead h1 { font-size: clamp(30px, 4vw, 42px); line-height: 1.15; margin: 0; color: var(--brand-dark); }
.pagehead .ph-sub { margin: 8px 0 0; font-size: 17px; color: var(--muted); }
.ph-cta { display: flex; gap: 10px; }
.ph-cta .btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 8px 20px; border: 2px solid var(--accent); white-space: nowrap; }
.ph-cta .ph-est { background: var(--accent); color: #fff; }
.ph-cta .ph-est:hover { background: var(--brand); border-color: var(--brand); color: #fff; }
@media (min-width: 961px) and (max-width: 1180px) { .ph-cta { flex-direction: column; } } /* narrow desktop: stack the two buttons so the title keeps its width */
@media (max-width: 960px) {
  .pagehead { padding: 18px 0 22px; }
}
@media (max-width: 600px) {
  .ph-in { grid-template-columns: minmax(0, 1fr); }
  .ph-cta .btn { width: 100%; }
}
@media (forced-colors: active) { .pagehead { border-bottom: 1px solid CanvasText; } .crumbs li + li::before { border-color: CanvasText; } }
@media print { .pagehead { background: none; border-bottom: 2px solid #999; padding: 0 0 10px; } .ph-cta { display: none; } }
.section { padding: 48px 0 64px; }
.narrow { max-width: 780px; }
.lead { font-size: 18px; }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); gap: 24px; }
.card { display: block; text-decoration: none; color: inherit; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; transition: box-shadow .15s, transform .15s; }
.card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.card > div { padding: 18px; }
.card h3, .card h2 { color: var(--brand); font-size: 20px; }
.card p { color: var(--muted); font-size: 15px; }
.more { color: var(--brand); font-weight: 700; }
.detail { display: grid; grid-template-columns: 1fr 320px; gap: 40px; align-items: start; }
.detail-img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; margin-bottom: 24px; }
.detail h2 { color: var(--brand); font-size: 24px; margin-top: 1.4em; }
.ticks { list-style: none; padding: 0; margin: 0; }
.ticks li { padding: 6px 0 6px 30px; position: relative; }
.ticks li::before { content: "✓"; content: "✓" / ""; position: absolute; left: 0; color: var(--accent-dark); font-weight: 900; }
.closing { font-weight: 700; margin-top: 1.4em; overflow-wrap: anywhere; }
.detail-side { display: grid; gap: 16px; }
@media (min-width: 961px) and (min-height: 800px) { .detail-side { position: sticky; top: 154px; } }
.side-box { background: var(--brand-tint); border-radius: var(--radius); padding: 20px; }
.side-box h3, .side-box h2 { font-size: 19px; color: var(--brand-dark); margin-top: 0; }
.side-box .btn + .btn { margin-top: 8px; }
.side-list { list-style: none; margin: 0; padding: 0; font-size: 15px; }
.side-list li { padding: 5px 0; }
.side-list a { position: relative; display: inline-block; padding: 6px 0; color: var(--ink); text-decoration: none; }
.side-list a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .2s ease-out; }
.side-list a:hover { color: var(--accent-dark); }
.side-list a:hover::after { transform: scaleX(1); }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr)); gap: 16px; }
.gallery figure { margin: 0; }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.contact-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: start; }
.form { display: grid; gap: 14px; }
.form label { display: grid; gap: 4px; font-weight: 700; font-size: 14px; }
.form input, .form select, .form textarea { font: inherit; padding: 11px 12px; border: 1px solid #6b7770; border-radius: var(--radius); background: #fff; width: 100%; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--brand); outline-offset: 1px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-note { margin: 0; min-height: 1.4em; font-size: 14px; }
.form-note.ok { color: var(--brand); font-weight: 700; }
.form-note.err { color: #b3261e; font-weight: 700; }
.contact-info { display: grid; gap: 16px; }
.contact-person { margin: 0 0 12px; display: grid; }
.contact-person span { font-size: 13px; color: var(--muted); font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.cp-actions { display: flex; gap: 8px; margin-top: 6px; }
.cp-actions .btn + .btn { margin-top: 0; }
.big-phone { font-size: 26px; font-weight: 900; color: var(--brand-dark); text-decoration: none; }
table { border-collapse: collapse; width: 100%; font-size: 15px; }
td { padding: 3px 0; }
td:last-child { text-align: right; }
.table-wrap { overflow-x: auto; }
.table-wrap:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; }
.credits { min-width: 560px; }
.credits th, .credits td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--line); font-size: 14px; vertical-align: top; }
.credits a { display: inline-block; margin: -8px -2px; padding: 8px 2px; }
.credits .lic, .credits td:last-child a { white-space: nowrap; }
.credits-note h2 { margin-top: 36px; }
@media (max-width: 640px) {
  .table-wrap { overflow-x: visible; }
  .credits { min-width: 0; width: 100%; }
  .credits thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .credits, .credits tbody, .credits tr, .credits td { display: block; width: 100%; }
  .credits tr { border-bottom: 1px solid var(--line); padding: 10px 0; }
  .credits td { border-bottom: 0; padding: 3px 0; text-align: left !important; }
  .credits td::before { content: attr(data-label) ": "; font-weight: 700; color: var(--muted); }
}

/* ---------- footer ---------- */
.site-footer { background: var(--brand); color: #e9f3ed; }
.site-footer a { color: #fff; }

/* ---------- floating call buttons ---------- */
.float-cta { position: fixed; right: 0; top: 50%; transform: translateY(-50%); z-index: 40; display: none; flex-direction: column; align-items: flex-end; } /* desktop: hidden. Phones show it as the bottom call bar (see the 960px block) */
.fc { display: flex; justify-content: flex-end; align-items: stretch; overflow: hidden; background: var(--accent); color: #fff; text-decoration: none; border: 0; padding: 0; margin: 0; cursor: pointer; font: inherit; }
.fc-label { display: flex; align-items: center; background: #fff; color: #000; font-size: 14px; font-weight: 400; white-space: nowrap; padding: 0 14px; }
.fc-ic { position: relative; width: 43px; height: 43px; flex: none; display: grid; place-items: center; background: var(--accent); }
.fc-ic i { position: absolute; right: 4px; bottom: 3px; font: 700 10px/1 Lato, sans-serif; font-style: normal; }

/* ---------- responsive ---------- */
@media (max-width: 1240px) {
  .svc-grid { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 36px; }
}
@media (min-width: 961px) and (max-width: 1240px) {
  .svc-row.rev .svc-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); }
}
@media (min-width: 961px) and (max-width: 1100px) {
  .nav > ul > li > a { padding: 14px 10px; font-size: 13px; }
  .nav > ul > li > a::after { left: 10px; right: 10px; }
  .sub { min-width: 240px; }
}
/* touch/coarse-pointer desktop widths (Surface, iPad landscape, touch laptops): no hover, so a tap opens the
   panel instead of navigating (see the .has-sub > a click handler in main.js) */
@media (min-width: 961px) {
  .has-sub.tap-open > .sub { opacity: 1; visibility: visible; transform: translateY(0); transition-delay: 0s; }
}
@media (max-width: 960px) {
  html { scroll-padding-top: 84px; scroll-padding-bottom: 64px; scrollbar-gutter: stable; }
  .topbar { grid-template-columns: 1fr auto; }
  .topbar-left, .topbar-right { display: none; }
  .logo { align-items: flex-start; text-align: left; }
  .menu-btn { display: block; }
  .nav { display: block; position: fixed; top: 0; left: 0; bottom: 0; width: 75vw; max-width: 360px; background: var(--brand); z-index: 60; overflow-y: auto; overscroll-behavior: contain; padding-top: 12px; transform: translateX(-100%); visibility: hidden; transition: transform .3s linear, visibility 0s linear .3s; }
  .nav.open { transform: translateX(0); visibility: visible; transition-delay: 0s; }
  .nav > ul.container { width: 100%; }
  .nav > ul { flex-direction: column; }
  .nav a { border-top: 1px solid rgba(255, 255, 255, .12); }
  .nav > ul > li > a::after { display: none; }
  .nav a[aria-current="page"], .nav a[aria-current="true"] { background: var(--brand-dark); }
  .nav a .caret { display: none; }
  .sub { position: static; display: flex; visibility: visible; pointer-events: auto; transform: none; background: rgba(0, 0, 0, .18); border-radius: 0; box-shadow: none; padding: 0; gap: 0; min-width: 0; }
  .sub::before, .sub::after { display: none; }
  .sub a { padding: 11px 16px 11px 32px; font-weight: 400; font-size: 15px; color: #fff; border-radius: 0; border-top: 1px solid rgba(255, 255, 255, .12); }
  .sub a:hover, .sub a:focus-visible { background: rgba(255, 255, 255, .1); color: #fff; padding-left: 32px; }
  .sub a:focus-visible { outline-color: #fff; }
  .sub a[aria-current="page"] { background: var(--brand-dark); color: #fff; box-shadow: none; }
  .intro-photos { grid-template-columns: 1fr; }
  .intro-photos .ip:nth-child(n+2) { display: none; }
  .intro-cols, .rb-grid, .svc-grid, .detail, .contact-grid, .ab-grid { grid-template-columns: 1fr; gap: 24px; }
  .why-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .why-pt { display: grid; grid-template-columns: 48px minmax(0, 1fr); column-gap: 18px; align-items: start; text-align: left; padding: 22px 24px; }
  .why-pt + .why-pt::before { display: none; }
  .why-pt:nth-child(even) { border-left: 1px solid rgba(17, 101, 48, .22); }
  .why-pt:nth-child(n+3) { border-top: 1px solid rgba(17, 101, 48, .22); }
  .why-ic { grid-row: 1 / span 2; margin: 2px 0 0; }
  .why-ic .ic { width: 44px; height: 44px; }
  .why-t { margin-bottom: 4px; }
  .why-d { max-width: none; text-wrap: pretty; }
  .svc-row.rev .svc-img { order: 0; }
  .svc-text, .svc-row.rev .svc-text { text-align: center; }
  .svc-text p { margin-inline: auto; }
  .detail-side { position: static; }
  .float-cta { display: flex; top: auto; bottom: 0; left: 0; right: 0; transform: none; flex-direction: row; align-items: stretch; box-shadow: 0 -2px 8px rgba(0, 0, 0, .25); }
  .fc { flex: 1; background: var(--brand-dark); justify-content: center; align-items: center; padding: 14px 8px; }
  .fc-label { order: 2; opacity: 1; background: transparent; color: #fff; font-size: 15px; font-weight: 700; padding: 0 0 0 8px; }
  .fc-ic { width: auto; height: auto; background: transparent; }
  .fc-ic i { display: none; }
  .fc + .fc { border-left: 1px solid rgba(255, 255, 255, .35); }
  .sf-bottom { padding-bottom: 52px; }
}
@media (max-width: 340px) {
  .fc { padding-inline: 4px; }
  .fc-label { font-size: 14px; padding-left: 6px; }
}
@media (max-width: 960px) and (max-height: 480px) {
  .topbar { padding: 4px 0 2px; }
  .logo span:first-child { font-size: 20px; }
  .logo span:last-child { font-size: 10px; margin-top: 3px; }
  .menu-btn { padding: 6px 10px; }
  .fc { padding-block: 8px; }
  html { scroll-padding-top: 56px; scroll-padding-bottom: 44px; }
  .sf-bottom { padding-bottom: 40px; }
}
@media (min-width: 600px) and (max-width: 960px) {
  .intro-cols { grid-template-columns: 1fr 1fr; }
  .intro-photos img { max-height: 360px; }
}
@media (max-width: 520px) {
  .svc-text .btn, .why-cta { min-width: 0; width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .card, .btn, .btn-ghost, .hero-btn, .nav, .sub, .sub a, .fc, .fc-label, .nav-overlay, .lb, .lb-img, .rv-dialog, .menu-btn span, .ip img, .caret, .sub-toggle .caret { transition: none !important; animation: none !important; }
  section.hero .hero-btn:hover { transform: none; }
}
@media (forced-colors: active) {
  .menu-btn span { background: ButtonText; forced-color-adjust: none; }
  .btn, .hero-btn, .fc, .cx-submit { border: 2px solid ButtonText; }
  .star-input label { forced-color-adjust: none; color: GrayText; }
  .star-input input:checked ~ label, .star-input label:hover, .star-input label:hover ~ label { color: Highlight; }
  .star-input input:focus-visible + label { outline-color: Highlight; }
  .nav > ul > li > a::after { background: LinkText; }
  .sub { border: 1px solid CanvasText; }
  .sub a[aria-current="page"] { border-left: 3px solid Highlight; padding-left: 13px; }
}
@media print {
  .float-cta, .nav-overlay, .menu-btn, .nav, .preview-ribbon, .skip, .lb, .hero-shape { display: none; }
  .site-header { position: static; box-shadow: none; }
  .detail-side { position: static; }
  .detail-main, .detail-side { opacity: 1 !important; animation: none !important; }
  .cx-card, .card, .side-box, .rv-item { break-inside: avoid; }
  * { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}

.side-box a[href^="mailto"] { overflow-wrap: anywhere; }
.nw, .tel { white-space: nowrap; }
.side-box .btn-block { padding-inline: 12px; }
.btn-row .btn { padding-inline: 20px; }
@media (max-width: 960px) { .detail-main .btn-row { display: none; } } /* the side box directly below already has the same buttons */
.stock-note { font-size: 13px; color: var(--muted); margin: -16px 0 20px; }
.stock-note-c { text-align: center; margin: -24px 0 32px; }
.gallery figure { position: relative; }
.stock-tag { position: absolute; left: 8px; bottom: 8px; margin: 0; padding: 4px 8px; border-radius: 4px; background: rgba(0, 0, 0, .72); color: #fff; font-size: 12px; line-height: 1.2; pointer-events: none; }

/* ---------- rating (header) ---------- */
.rating { display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap; text-decoration: none; color: var(--ink); }
.rating strong { font-family: Lato, sans-serif; font-size: 26px; font-weight: 700; color: #8a5a00; line-height: 1; }
.rating-stars { color: #a66c08; font-size: 28px; letter-spacing: 1px; line-height: 1; }
.rating-count { font-size: 14px; text-decoration: underline; color: #333; }
.rating-empty .rating-stars { color: #6b7770; }
@media (min-width: 961px) and (max-width: 1100px) { .rating { gap: 6px; } .rating strong, .rating-stars { font-size: 22px; } }
.rev-card-dark blockquote { color: var(--ink); }

/* ---------- customer review form (Rate Us, clickable stars) ---------- */
.review-form { max-width: 420px; margin-top: 12px; }
.star-rating { border: 0; margin: 0; padding: 0; min-width: 0; }
.star-rating legend { padding: 0 0 4px; font-weight: 700; font-size: 16px; width: 100%; border-bottom: 1px solid var(--line); margin-bottom: 8px; }
.star-input { display: inline-flex; direction: rtl; }
.star-input input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.star-input label { display: block; font-size: 44px; line-height: 1; padding: 0 4px 0 0; cursor: pointer; color: #7d8b83; }
.star-input label::before { content: "★"; content: "★" / ""; }
.star-input input:checked ~ label, .star-input label:hover, .star-input label:hover ~ label { color: #a66c08; }
.star-input input:focus-visible + label { outline: 3px solid var(--brand); outline-offset: 2px; border-radius: 6px; }
.star-hint { display: inline-block; vertical-align: middle; margin-left: 10px; font-size: 15px; font-weight: 700; color: var(--brand); }
.fine-print { font-size: 13px; color: var(--muted); margin: 0; }

/* ---------- Reviews page ---------- */
.rv-wrap > * { max-width: 940px; }
.rv-summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 6px 0 18px; border-bottom: 1px solid #e3e3e3; }
.rv-score { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.rv-big-stars { font-size: 52px; line-height: 1; letter-spacing: -2px; }
.rv-num { font-size: 26px; }
.rv-big-stars .on, .rv-stars-sm .on { color: #a66c08; }
.rv-big-stars .off, .rv-stars-sm .off { color: #7d8b83; }
.rv-count { padding: 18px 0; border-bottom: 1px solid #e3e3e3; font-size: 18px; }
.rv-head { color: var(--brand); font-size: 24px; margin: 28px 0 8px; }
.rv-form-head { margin-top: 44px; }
.rv-wrap > .rv-form-head:first-child { margin-top: 0; }
.rv-item { padding: 22px 0; border-bottom: 1px solid #e3e3e3; }
.rv-name { font-family: Lato, sans-serif; font-size: 20px; margin: 0 0 4px; overflow-wrap: anywhere; }
.rv-stars-sm { font-size: 28px; line-height: 1; margin-bottom: 8px; letter-spacing: -1px; }
.rv-item p { margin: 0 0 8px; overflow-wrap: anywhere; }
.rv-date { font-size: 14px; }
/* ---------- motion ---------- */
.btn { transition: background-color .2s, color .2s, border-color .2s; }
.btn:hover { background: var(--brand); }
.btn-ghost:hover { background: var(--brand); border-color: var(--brand); color: #fff; }
.ip { display: block; overflow: hidden; }
.ip img { transition: transform .2s ease-out; }
.ip:hover img { transform: scale(1.06); }
@keyframes mFade { from { opacity: 0; } to { opacity: 1; } }

/* Terms of Use / Review Guidelines pop-ups (hidden until a link is clicked) */
.rv-dialog { width: min(720px, 92vw); max-height: 84vh; overflow: auto; border: 0; border-radius: 10px; padding: 26px 30px 24px; box-shadow: 0 20px 60px rgba(0, 0, 0, .35); color: var(--ink); }
.rv-dialog::backdrop { background: rgba(0, 0, 0, .6); }
.rv-dialog[open] { animation: mFade .3s ease-out; }
.rv-dialog h2 { color: var(--brand); font-size: 24px; margin: 0 40px 12px 0; }
.rv-dialog p { color: #333; }
.rv-dialog ol { padding-left: 22px; margin: 0; }
.rv-dialog li { margin-bottom: 10px; }
.rv-dialog-x { position: sticky; top: -14px; float: right; margin: -14px -16px 0 8px; width: 40px; height: 40px; border: 0; border-radius: 50%; background: #fff; box-shadow: 0 0 0 1px #e3e3e3; color: #444; font: 400 30px/1 Lato, sans-serif; cursor: pointer; }
.rv-dialog-x:hover { background: #eee; }
html.dlg-open { overflow: hidden; scrollbar-gutter: stable; }
.terms-band { background: #e7ece9; padding: 44px 0; margin-top: 40px; }
.terms-band h2 { font-family: Lato, sans-serif; font-weight: 400; font-size: 34px; color: #465966; margin: 0 0 8px; }
.terms-band p { color: #59656d; font-size: 18px; font-weight: 300; max-width: 1000px; margin: 0; }
.guidelines { padding: 36px 0 56px; }
.guidelines h2 { color: var(--brand); font-size: 26px; }
.guidelines ol { padding-left: 22px; }
.guidelines li { margin-bottom: 10px; }
@media (max-width: 520px) { .rv-big-stars { font-size: 38px; } .rv-num { font-size: 20px; } }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.preview-ribbon { position: fixed; left: 0; bottom: 0; z-index: 90; background: #b3261e; color: #fff; font-size: 12px; font-weight: 700; padding: 6px 12px; max-width: min(520px, 100%); border-top-right-radius: 6px; line-height: 1.3; }
@media (max-width: 960px) { .preview-ribbon { bottom: 56px; } }

/* ---------- phone menu: slide-in drawer, dimmed page, accordion submenus ---------- */
.nav-overlay { display: none; }
@media (max-width: 960px) {
  .nav-overlay { display: block; position: fixed; inset: 0; background: rgba(0, 0, 0, .4); opacity: 0; visibility: hidden; z-index: 45; transition: opacity .3s ease-out, visibility 0s linear .3s; }
  body.nav-open .nav-overlay { opacity: 1; visibility: visible; transition-delay: 0s; }
  body.nav-open { overflow: hidden; }
  .has-sub { display: flex; flex-wrap: wrap; }
  .has-sub > a { flex: 1 1 0; min-width: 0; }
  .sub-toggle { display: flex; align-items: center; justify-content: center; width: 56px; background: transparent; border: 0; border-top: 1px solid rgba(255, 255, 255, .12); border-left: 1px solid rgba(255, 255, 255, .12); color: #fff; cursor: pointer; }
  .sub-toggle .caret { display: inline-block; font-size: 15px; opacity: 1; transition: transform .3s ease-out; }
  .has-sub.sub-open .sub-toggle .caret { transform: rotate(180deg); }
  .sub { flex-basis: 100%; max-height: 0; overflow: hidden; opacity: 0; transition: max-height .3s ease-in-out, opacity .6s ease-out; }
  .has-sub.sub-open .sub { max-height: 640px; opacity: 1; }
}

/* ---------- gallery photo viewer ---------- */
.gal-link { display: block; cursor: pointer; overflow: hidden; border-radius: var(--radius); }
.gal-link img { transition: transform .2s ease-out; }
@media (hover: hover) and (pointer: fine) { .gal-link:hover img, .gal-link:focus-visible img { transform: scale(1.04); } }
body.lb-open { overflow: hidden; }
.lb { position: fixed; inset: 0; z-index: 200; background: rgba(0, 0, 0, .96); display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity .333s cubic-bezier(.4, 0, .22, 1); }
.lb[hidden] { display: none; }
.lb:not(.open) { pointer-events: none; }
.lb.open { opacity: 1; }
.lb-img { max-width: 92vw; max-height: 84vh; max-height: 84dvh; border-radius: 2px; transform: scale(.92); transition: transform .333s cubic-bezier(.4, 0, .22, 1), filter .15s; }
.lb.open .lb-img { transform: scale(1); }
.lb-img.loading { filter: brightness(.6) blur(1px); }
.lb-img.failed { filter: none; }
.lb-msg { position: absolute; color: #fff; font-size: 15px; background: rgba(0, 0, 0, .5); padding: 8px 16px; border-radius: 8px; }
.lb button, .lb-count { position: absolute; z-index: 1; }
.lb button { background: rgba(0, 0, 0, .35); color: #fff; border: 0; cursor: pointer; font: 400 34px/1 Lato, sans-serif; width: 48px; height: 48px; border-radius: 50%; }
.lb button:hover { background: rgba(255, 255, 255, .2); }
.lb-close { top: 14px; right: 14px; }
.lb-prev { left: 14px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 14px; top: 50%; transform: translateY(-50%); }
.lb-count { top: 22px; left: 20px; color: #fff; font-size: 15px; }

/* ===== QA patches ===== */
/* collapsed accordion links must not be focusable / announced */
@media (max-width: 960px) {
  .sub, .has-sub:hover > .sub, .has-sub:focus-within > .sub { visibility: hidden; opacity: 0; transition: max-height .3s ease-in-out, opacity .6s ease-out, visibility 0s linear .3s; }
  .nav.open .has-sub.sub-open > .sub { visibility: visible; opacity: 1; transition-delay: 0s; }
  .nav-overlay { touch-action: none; }
}
/* visible focus rings on dark surfaces */
.nav .sub-toggle:focus-visible, .lb button:focus-visible, .fc:focus-visible { outline: 3px solid #fff; outline-offset: -3px; }
.lb button:focus-visible { outline-offset: 2px; }
/* About-band truck photo: keep the lettering on the truck door in the wide crop */
img[src*="/images/about."] { aspect-ratio: 3 / 2; object-position: 50% 89%; } /* wide crop, truck centered */
.gallery a[href*="/gallery/00.jpg"] img { object-position: 50% 94%; } /* gallery thumbnail centered on the truck; the viewer shows the whole photo */
@media (prefers-reduced-motion: reduce) {
  .nav > ul > li > a::after, .side-list a::after { transition: none !important; }
}

/* Compact three-column footer */
.site-footer { background: #116530; color: #e9f3ed; font-size: 15px; line-height: 1.5; }
.site-footer a { color: #fff; }
.site-footer a:focus-visible { outline: 3px solid #fff; outline-offset: 3px; border-radius: 2px; }

.sf-main { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; padding: 24px 0; }
.sf-main > * { min-width: 0; }

/* column 1: wordmark + tagline */
.sf-brand { padding-right: 32px; }
.site-footer .sf-logo { align-items: flex-start; text-align: left; color: #fff; width: max-content; max-width: 100%; margin: 0 0 9px; }
.sf-logo span:first-child { font-size: 32px; }
.sf-logo span:last-child { color: #d5eadd; font-size: 12px; margin-top: 4px; }
.sf-tag { margin: 0; max-width: 440px; text-wrap: balance; }

/* columns 2 and 3 */
.sf-col { align-self: stretch; padding: 0 32px; border-left: 1px solid rgba(255, 255, 255, .2); }
.sf-contact { justify-self: start; }
.sf-hours { padding-right: 0; }
.sf-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 36px; margin-bottom: 4px; }
.sf-h { margin: 0; color: #bfe3cd; font-size: 15px; letter-spacing: .09em; text-transform: uppercase; }
.sf-list { list-style: none; margin: 0; padding: 0; }
.sf-list li, .sf-times { line-height: 25px; }
.sf-list a { display: inline-block; text-underline-offset: 3px; text-decoration-color: rgba(255, 255, 255, .55); overflow-wrap: anywhere; }
.sf-list a:hover { text-decoration-color: #fff; }
.sf-list strong { color: #fff; font-weight: 700; }
.site-footer .sf-btn { padding: 6px 16px; min-height: 0; font-size: 15px; line-height: 22px; white-space: nowrap; }
.sf-brand .sf-btn { display: inline-block; margin-top: 14px; }
.sf-times { display: grid; grid-template-columns: auto auto; column-gap: 16px; margin: 0; }
.sf-times dt { color: #fff; font-weight: 700; }
.sf-times dd { margin: 0; }

/* bottom strip */
.sf-bottom { background: #f9f9f9; color: #333; font-size: 14px; line-height: 20px; }
.sf-bottom-in { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 0 16px; padding: 9px 0; }
.site-footer .sf-bottom a { color: #5f6b64; font-size: 12px; line-height: 16px; text-decoration: none; padding: 4px 2px; margin: -4px -2px; }
.site-footer .sf-bottom a:hover { text-decoration: underline; }
.site-footer .sf-bottom a:focus-visible { outline-color: #116530; }

@media (max-width: 1100px) {
  .sf-brand { padding-right: 24px; }
  .sf-col { padding: 0 24px; }
  .sf-hours { padding-right: 0; }
}
/* tablet: brand row on top, contact + hours side by side */
@media (max-width: 960px) {
  .sf-bottom { padding-bottom: 52px; } /* room for the fixed call bar */
  .sf-main { grid-template-columns: 1fr 1fr; row-gap: 16px; padding: 20px 0; }
  .sf-brand { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; padding: 0 0 16px; border-bottom: 1px solid rgba(255, 255, 255, .2); }
  .sf-brand .sf-btn { margin: 0 0 0 auto; flex: none; }
  .site-footer .sf-logo { margin: 0; flex: none; }
  .sf-col { border-left: 0; padding: 0 32px 0 0; }
  .sf-hours { padding-left: 32px; border-left: 1px solid rgba(255, 255, 255, .2); }
}
/* phone: single column */
@media (max-width: 700px) {
  .sf-main { grid-template-columns: 1fr; row-gap: 8px; padding: 14px 0; }
  .sf-brand { display: block; border-bottom: 0; padding: 0 0 2px; }
  .sf-brand .sf-btn { margin: 10px 0 4px; }
  .site-footer .sf-logo { margin: 0 0 6px; }
  .sf-logo span:first-child { font-size: 26px; }
  .sf-logo span:last-child { font-size: 11px; margin-top: 3px; }
  .sf-tag { font-size: 14px; line-height: 21px; }
  .sf-col, .sf-hours { padding: 0; border-left: 0; }
  .sf-list li, .sf-times { line-height: 24px; }
  .sf-head { min-height: 34px; margin-bottom: 2px; }
  .sf-hours .sf-head { min-height: 24px; }
  .site-footer .sf-btn { padding: 5px 16px; }
  .sf-bottom-in { padding: 6px 0; }
}

/* ===== HOME HERO: the real Visionaries truck, full-bleed, under a green gradient scrim ===== */
section.hero {
  --hp: clamp(24px, 4.5vw, 84px);   /* gap between the copy and the screen's right edge */
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  align-items: center;
  min-height: clamp(540px, 42vw, 660px);
  background: var(--brand-dark);
  color: #fff;
  text-align: left;
}

/* the truck photo (portrait, 1086x1448) fills the whole hero; cropped to its lower-middle
   band so the truck body and door lettering stay in frame instead of the sky/climber above
   or the gravel below. */
section.hero .hero-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: 50% 74%;
  filter: brightness(1.08);
  z-index: -2;
}

/* dark green gradient scrim: strongest behind the copy column on the left and along the
   bottom, easing off toward the upper right so the truck itself still reads through. */
section.hero .hero-scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(to left, rgba(4, 33, 15, .93) 0, rgba(4, 33, 15, .88) calc(var(--hp) + 500px), rgba(4, 33, 15, .5) calc(var(--hp) + 600px), rgba(4, 33, 15, .16) calc(var(--hp) + 720px), rgba(4, 33, 15, 0) calc(var(--hp) + 820px)),
    linear-gradient(0deg, rgba(4, 33, 15, .34) 0%, rgba(4, 33, 15, 0) 30%, rgba(4, 33, 15, 0) 70%, rgba(4, 33, 15, .2) 100%);
}

section.hero .hero-inner { position: relative; display: flex; justify-content: flex-end; width: 100%; margin: 0; padding: 56px var(--hp); }
section.hero .hero-copy { flex: 0 1 auto; max-width: 500px; }

section.hero h1 {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin: 0 0 16px;
  font-size: clamp(34px, 4.2vw, 60px);
  line-height: 1.08;
  letter-spacing: -.01em;
  color: #fff;
  text-shadow: none;
  text-wrap: balance;
}
/* the tag shows above the headline; in the markup it follows it so the h1 reads "Tree Service and Removal in Asheboro, NC" */
section.hero .hero-tag {
  order: -1;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin: 0 0 18px;
  padding: 7px 14px 7px 10px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font: 900 13px/1 Lato, system-ui, sans-serif;
  letter-spacing: .12em;
  text-transform: uppercase;
}
section.hero .hero-sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

section.hero .hero-lead {
  max-width: 30em;
  margin: 0 0 28px;
  font-size: clamp(17px, 1.5vw, 20px);
  line-height: 1.45;
  color: #d9eee0;
  text-shadow: none;
  text-wrap: balance;
}

section.hero .hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
section.hero .hero-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 26px;
  border-radius: 8px;
  font: 900 17px/1.2 Lato, system-ui, sans-serif;
  text-decoration: none;
  text-shadow: none;
  box-shadow: 0 6px 16px rgba(0, 0, 0, .28);
  transition: background-color .2s, transform .2s;
}
section.hero .hero-btn:hover { transform: translateY(-1px); }
section.hero .hero-btn-call { background: var(--accent); color: #fff; }
section.hero .hero-btn-call:hover { background: var(--accent-dark); }
section.hero .hero-btn-est { background: #fff; color: var(--brand-dark); }
section.hero .hero-btn-est:hover { background: #e3f3e9; }
section.hero .hero-btn:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }

@media (max-width: 1199px) {
  section.hero { min-height: clamp(520px, 48vw, 620px); }
  section.hero .hero-media { object-position: 50% 73%; }
}
@media (max-width: 899px) {
  section.hero { min-height: clamp(500px, 62vw, 580px); }
  section.hero .hero-media { object-position: 50% 71%; }
  section.hero .hero-copy { max-width: 440px; }
  section.hero .hero-btn { padding: 0 20px; }
  /* box gets closer to the photo's own 3:4 aspect ratio here, so ease the scrim toward a
     plainer top-to-bottom vignette instead of the wide-screen left-to-right one. */
  section.hero .hero-scrim {
    background:
      linear-gradient(to left, rgba(4, 33, 15, .93) 0, rgba(4, 33, 15, .88) calc(var(--hp) + 440px), rgba(4, 33, 15, .5) calc(var(--hp) + 530px), rgba(4, 33, 15, .16) calc(var(--hp) + 640px), rgba(4, 33, 15, 0) calc(var(--hp) + 740px)),
      linear-gradient(0deg, rgba(4, 33, 15, .4) 0%, rgba(4, 33, 15, 0) 34%, rgba(4, 33, 15, 0) 68%, rgba(4, 33, 15, .24) 100%);
  }
}

/* phones: the truck stays the full-bleed background. The copy block sits at the TOP against
   a strong scrim (behind the pill/headline/lead); the box is tall enough that, at typical
   phone widths, the whole photo shows uncropped (this portrait photo and a phone hero turn
   out to be close to the same shape), which leaves the lower third of the frame -- where the
   truck itself sits -- open and clearly visible below the copy, right behind the buttons. */
@media (max-width: 720px) {
  section.hero { min-height: clamp(500px, 138vw, 560px); align-items: flex-start; }
  section.hero .hero-media { object-position: 50% 75%; }
  section.hero .hero-scrim {
    background:
      linear-gradient(180deg, rgba(4, 33, 15, .93) 0%, rgba(4, 33, 15, .85) 30%, rgba(4, 33, 15, .55) 50%, rgba(4, 33, 15, .22) 66%, rgba(4, 33, 15, 0) 82%);
  }
  section.hero .hero-inner { display: block; padding: 30px 16px 24px; }
  section.hero .hero-copy { max-width: none; }
  section.hero h1 { font-size: 32px; margin-bottom: 12px; }
  section.hero .hero-tag { margin-bottom: 14px; }
  section.hero .hero-lead { font-size: 17px; margin-bottom: 20px; }
  section.hero .hero-actions { flex-direction: column; gap: 10px; }
  section.hero .hero-btn { width: 100%; padding: 0 16px; }
}

/* footer legal links + privacy page */
.sf-legal { display: inline-flex; gap: 16px; flex-wrap: wrap; }
.prose h2 { margin: 28px 0 8px; }
.prose h3 { margin: 18px 0 6px; }
.prose ul { padding-left: 22px; }
.intro-cols p { text-wrap: pretty; }

/* 404 page */
.nf { min-height: 44vh; }

/* city and state next to a reviewer's name */
.rv-loc { font-weight: 400; color: var(--muted); }
.rev-loc { font-weight: 400; opacity: .85; }

/* ---------- optional photo picker (estimate form + gallery "Share a Photo" form) ---------- */
.pp { display: grid; gap: 8px; justify-items: start; }
.pp-btn { position: relative; display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 20px; border: 2px dashed #9db4a5; border-radius: 10px; background: #f6faf7; color: var(--brand-dark); font-weight: 700; font-size: 15px; cursor: pointer; transition: background-color .15s, border-color .15s; }
.pp-btn:hover { background: var(--brand-tint); border-color: var(--brand); }
.pp-btn:focus-within { outline: 3px solid var(--brand); outline-offset: 2px; }
.pp-btn:has(.pp-input:disabled) { opacity: .55; cursor: not-allowed; }
.pp-btn svg { flex: none; }
.form .pp-input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; padding: 0; border: 0; font-size: 0; }
.pp-hint { font-size: 13px; color: var(--muted); font-weight: 400; }
.pp-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.pp-list:empty { display: none; }
.pp-item { position: relative; width: 88px; height: 88px; border-radius: 8px; overflow: hidden; border: 1px solid var(--line); background: #eef3ef; }
.pp-item img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pp-x { position: absolute; top: 4px; right: 4px; width: 32px; height: 32px; border: 0; border-radius: 50%; background: rgba(0, 0, 0, .72); color: #fff; font-size: 20px; line-height: 32px; padding: 0; cursor: pointer; }
.pp-x:focus-visible { outline: 3px solid #fff; outline-offset: 1px; box-shadow: 0 0 0 5px var(--brand); }
.pp-msg { margin: 0; font-size: 13px; color: #b3261e; font-weight: 700; }
.pp-msg:empty { display: none; }
.cx-opt { font-weight: 400; color: var(--muted); }
.form label.check { display: flex; align-items: flex-start; gap: 10px; font-weight: 400; line-height: 1.45; }
.form label.check input { width: 20px; height: 20px; flex: none; margin-top: 2px; padding: 0; accent-color: var(--accent); }
@media (forced-colors: active) { .pp-btn { border-color: ButtonText; } .pp-x { border: 1px solid ButtonText; } }
@media print { .pp, .gal-add, .photo-dialog { display: none; } }

/* ---------- About page sections ---------- */
.ab-sec { margin-top: 40px; }
.ab-sec h2 { margin: 0 0 14px; font-size: clamp(22px, 2.6vw, 28px); color: var(--brand); }
.ab-person { margin: 0 0 20px; padding: 2px 0 2px 20px; border-left: 4px solid var(--accent); }
.ab-person h3 { margin: 0 0 6px; font-size: 20px; color: var(--ink); }
.ab-person p { margin: 0; }
.ab-list li { padding: 9px 0 9px 32px; }
.ab-list li::before { top: 9px; }
.ab-closing { margin: 44px 0 0; padding-top: 24px; border-top: 1px solid var(--line); font-size: 19px; font-weight: 700; color: var(--brand-dark); }
.form label.pp-btn { display: inline-flex; flex-direction: row; align-items: center; gap: 10px; font-size: 15px; font-weight: 700; }

/* gallery "Add a photo" tile + its small pop-up */
.gallery figure.gal-add { margin: 0; grid-column: 1 / -1; }
.gal-add-btn { display: flex; flex-direction: row; align-items: center; justify-content: center; gap: 12px; width: 100%; min-height: 72px; border: 2px dashed #9db4a5; border-radius: var(--radius); background: #f6faf7; color: var(--brand-dark); font: 800 17px/1.2 Lato, system-ui, sans-serif; cursor: pointer; transition: background-color .15s, border-color .15s; }
.gal-add-btn:hover { background: var(--brand-tint); border-color: var(--brand); }
.gal-add-btn:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; }
.gal-add-btn svg { color: var(--accent-dark); flex: none; width: 28px; height: 28px; }
.photo-dialog { width: min(460px, 92vw); }
.photo-dialog .pd-lede { margin: 0 0 14px; font-size: 15px; }
.photo-dialog .form { gap: 12px; }
@media (forced-colors: active) { .gal-add-btn { border-color: ButtonText; } }
.ab-sec:first-child { margin-top: 0; }
/* Main/Alternate phone buttons: label on the left, number on the right, so the two numbers line up in a column */
.btn.btn-phone { display: flex; align-items: center; justify-content: space-between; gap: 12px; text-align: left; }
.btn-phone .pn { white-space: nowrap; font-variant-numeric: tabular-nums; }
@media (max-width: 960px) { .rb-side { display: none; } }   /* tablets and phones: the band stays the same height; reviews are on the Reviews page */

/* About page: full-width estimate band across the bottom */
.ab-band { background: var(--brand-tint); border-top: 1px solid var(--line); padding: 40px 0; text-align: center; }
.ab-band .btn { display: block; width: 100%; font-size: 19px; padding-block: 16px; }
.gal-add-t { text-align: center; text-wrap: balance; max-width: 26ch; }

/* why: phone layout, forced colours, print */
@media (max-width: 760px) {
  .why { padding: 40px 0 44px; }
  .why-h { margin-bottom: 20px; }
  .why-list { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
  .why-pt, .why-pt:nth-child(even) { padding: 18px 0; border-left: 0; }
  .why-pt:nth-child(n+2) { border-top: 1px solid rgba(17, 101, 48, .22); }
  .why-cta { margin-top: 24px; }
}
@media (forced-colors: active) {
  .why { border-block-color: CanvasText; }
  .why-ic { color: CanvasText; }
  .why-pt + .why-pt::before { background: CanvasText; }
  .why-cta { border: 2px solid ButtonText; }
}
@media print { .why { background: none; border-block: 1px solid #999; padding: 16px 0; } .why-cta { display: none; } }
@media (min-width: 961px) and (max-width: 1199px) {
  .why-pt { padding-inline: 12px; }
  .why-t { font-size: 17px; }
}
@media (min-width: 961px) and (max-width: 1060px) {
  .why-t { font-size: 16px; letter-spacing: -.005em; }
  .why-d { font-size: 14.5px; }
}

/* reviews band: phones, forced colours, print */
@media (max-width: 640px) {
  .reviews-band { padding: 30px 0; }
  .rb-stars { gap: 6px; margin-bottom: 12px; }
  .rb-stars .ic { width: 32px; height: 32px; }
  .rb-copy { font-size: 15px; }
}
@media (max-width: 380px) { .rb-text h2 { font-size: 20px; } }
@media (forced-colors: active) { .reviews-band { border-block: 1px solid CanvasText; } .reviews-band .btn { border: 2px solid ButtonText; } }
@media print { .reviews-band { --rb-bg: #fff; --rb-ink: #111; --rb-copy: #222; --rb-star: #8a5a00; --rb-star-fill: #8a5a00; --rb-card: #fff; --rb-card-line: #999; --rb-card-ink: #222; --rb-card-mute: #555; border-block: 1px solid #999; padding: 16px 0; } .reviews-band .btn { display: none; } }

/* Service area: town names as tags (home page band, /service-area/ page) */
.area-list { list-style: none; padding: 0; margin: 14px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.area-list li { background: var(--brand-tint); color: var(--brand-dark); border-radius: 999px; padding: 6px 14px; font-size: 15px; font-weight: 700; line-height: 1.3; }
.area-band { padding: 48px 0; text-align: center; border-top: 1px solid var(--line); }
.area-band h2 { color: var(--brand); font-size: clamp(24px, 3.4vw, 30px); margin: 0 0 10px; }
.area-band p { margin: 0 auto; max-width: 640px; }
.area-band .area-list { justify-content: center; margin: 18px 0 24px; }
.faq-item h2 { font-size: clamp(19px, 2.2vw, 22px); }

/* ============ Contact page: "get in touch" call bar on top, calm "send a request" form below ============
   One card, two layers, one 3-column rhythm shared by both (the call-bar cells sit exactly above the form columns).
   Type: three sizes only (26 numbers, 16 body/controls, 13 small) and two weights (400, 700), plus the h2s.
   Colour: brand green + neutrals; the one alert colour is the dark red "Emergency?" lead-in. One radius (8px). Spacing in 8s. */
.cx {
  --cx-green: #116530;
  --cx-dark: #0d4f26;
  --cx-tint: #eaf4ee;
  --cx-ink: #14201a;
  --cx-mute: #4c5c54;      /* small text: 7:1 on white, 6:1 on the tint */
  --cx-rule: #cfe0d5;      /* hairlines */
  --cx-edge: #84998c;      /* input borders (3:1 on white) */
  --cx-pad: 40px;          /* card side padding: cells and form columns share it */
  --cx-gap: 32px;          /* column gap: cells and form columns share it */
  padding-bottom: 40px;
  background: linear-gradient(180deg, #f3f9f5 0, #f6faf7 300px, #fff 100%); /* picks up where the shared page-title band ends */
}

/* ---- page title: the shared band (pageHead({compact:true}) in build.mjs) collapses to one slim row on wide screens ---- */
@media (min-width: 761px) {
  .cx .pagehead.ph-compact { padding: 11px 0 12px; border-bottom-width: 1px; border-bottom-color: #c9dccf; } /* the card below carries the one accent line */
  .cx .ph-compact .ph-text { display: flex; align-items: center; gap: 0 18px; }
  .cx .ph-compact h1 { order: 1; flex: none; font-size: 28px; line-height: 1.15; }
  .cx .ph-compact .ph-sub { order: 2; flex: 0 1 auto; min-width: 0; margin: 0; font-size: 15px; }
  .cx .ph-compact .crumbs { order: 3; flex: none; margin-left: auto; }
  .cx .ph-compact .crumbs ol { margin: 0; }
}
@media (max-width: 760px) {
  .cx .pagehead.ph-compact { padding: 12px 0 14px; }
  .cx .ph-compact h1 { font-size: 30px; }
  .cx .ph-compact .ph-sub { margin-top: 4px; font-size: 15px; }
}
.cx-main { padding-top: 10px; }

/* ---- the card ---- */
.cx-card {
  position: relative; overflow: hidden; background: #fff;
  border: 1px solid #c9dccf; border-radius: 8px;
  box-shadow: 0 20px 40px -28px rgba(13, 79, 38, .35), 0 1px 4px rgba(13, 79, 38, .06);
}
.cx-card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; background: var(--accent); z-index: 2; } /* the one accent line */
.cx a:focus-visible { outline: 3px solid var(--cx-dark); outline-offset: 3px; border-radius: 4px; }

/* section heading row, the same in both layers: title on the left, one quiet note on the right */
.cx-hd { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 0 24px; }
.cx-hd h2 { margin: 0; font-size: 20px; line-height: 22px; color: var(--cx-dark); }
.cx-lede { margin: 0; font-size: 13px; line-height: 18px; color: var(--cx-mute); }
.cx-lede span { color: var(--cx-dark); font-weight: 700; }

/* ---- layer 1: get in touch (a call bar) ---- */
.cx-touch { padding: 10px var(--cx-pad) 8px; background: var(--cx-tint); border-bottom: 1px solid var(--cx-rule); color: var(--cx-ink); }
.cx-bar { list-style: none; margin: 6px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: var(--cx-gap); }
.cx-cell { min-width: 0; }
.cx-k { display: block; font-size: 13px; line-height: 18px; font-weight: 700; color: var(--cx-mute); }
.cx-val { display: flex; align-items: baseline; flex-wrap: wrap; column-gap: 16px; min-height: 30px; }
.cx-num {
  font-family: var(--head); font-weight: 700; font-size: 26px; line-height: 30px; letter-spacing: .01em;
  color: var(--cx-dark); text-decoration: none; white-space: nowrap;
}
.cx-num:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; }
.cx-text, .cx-mail {
  font-size: 16px; line-height: 30px; font-weight: 700; color: var(--cx-green);
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; text-decoration-color: rgba(17, 101, 48, .45);
}
.cx-mail { min-width: 0; overflow-wrap: anywhere; font-size: 19px; font-weight: 700; }
.cx-text:hover, .cx-mail:hover { color: var(--cx-dark); text-decoration-color: currentColor; }
.cx-meta { display: flex; flex-wrap: wrap; margin: 6px 0 0; font-size: 13px; line-height: 18px; color: var(--cx-mute); }
.cx-meta strong { font-weight: 700; color: var(--cx-ink); }
.cx-meta > span + span { margin-left: 16px; padding-left: 16px; border-left: 1px solid #b7cdbf; }

/* ---- layer 2: send a request (the form) ---- */
.cx-formwrap { padding: 12px var(--cx-pad) 10px; background: #fff; min-width: 0; }
.cx .cx-form { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px var(--cx-gap); margin-top: 8px; align-items: start; }
.cx-c2 { grid-column: span 2; }
.cx .cx-form label.cx-field, .cx .cx-form div.cx-field { display: flex; flex-direction: column; gap: 4px; min-width: 0; font-size: 13px; font-weight: 700; line-height: 18px; color: var(--cx-ink); }
.cx-lab b { color: var(--cx-dark); font-weight: 700; margin-left: 1px; }
.cx .cx-form .cx-opt { font-weight: 400; color: var(--cx-mute); }
.cx .cx-form input:not(.pp-input):not(.hp),
.cx .cx-form select,
.cx .cx-form textarea {
  display: block; width: 100%; min-height: 40px; padding: 8px 12px; margin: 0;
  font: inherit; font-size: 16px; font-weight: 400; line-height: 1.4; color: var(--cx-ink);
  background-color: #fff; border: 1px solid var(--cx-edge); border-radius: 8px;
  transition: border-color .15s, box-shadow .15s;
  -webkit-appearance: none; appearance: none;
}
.cx .cx-form select {
  padding-right: 36px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234c5c54' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 11px center; background-size: 16px;
}
.cx .cx-form input::placeholder, .cx .cx-form textarea::placeholder { color: var(--cx-mute); opacity: 1; }
.cx .cx-form input:not(.pp-input):hover, .cx .cx-form select:hover, .cx .cx-form textarea:hover { border-color: #5d7768; }
.cx .cx-form input:not(.pp-input):focus, .cx .cx-form select:focus, .cx .cx-form textarea:focus {
  outline: 2px solid transparent; border-color: var(--cx-dark); box-shadow: 0 0 0 3px rgba(13, 79, 38, .3);
}
.cx .cx-form [aria-invalid="true"] { border-color: #b3261e; box-shadow: 0 0 0 3px rgba(179, 38, 30, .2); }

/* message and photos share a row: the textarea stretches to the height of the photos column */
.cx-msg, .cx-photos { align-self: stretch; }
.cx .cx-form .cx-msg textarea { flex: 1 1 auto; min-height: 64px; resize: vertical; }

/* optional photos: one dashed button + one hint; thumbnails wrap under them once photos are added */
.cx-photos .pp { width: 100%; gap: 4px; justify-items: stretch; }
.cx .cx-form label.pp-btn { flex-direction: row; align-items: center; justify-content: center; gap: 8px; min-height: 40px; padding: 0 12px; font-size: 16px; font-weight: 700; line-height: 1.3; letter-spacing: 0; color: var(--cx-dark); border: 1.5px dashed #6f8b7b; border-radius: 8px; background: #f6faf7; }
.cx .cx-form label.pp-btn svg { width: 18px; height: 18px; }
.cx .cx-form .pp-hint { font-size: 13px; line-height: 18px; color: var(--cx-mute); font-weight: 400; }
.cx .cx-form .pp-list { gap: 8px; }
.cx .cx-form .pp-msg { font-size: 13px; line-height: 18px; }
@media (min-width: 901px) {
  .cx .cx-form .pp-item { width: auto; height: auto; flex: 1 1 0; min-width: 0; max-width: 56px; aspect-ratio: 1 / 1; border-radius: 6px; }
  .cx .cx-form .pp-item img { position: absolute; inset: 0; }
  .cx .cx-form .pp-x { top: 2px; right: 2px; width: 22px; height: 22px; font-size: 15px; line-height: 22px; }
}

/* last row: the one primary button, then the status line and the consent language beside it */
.cx .cx-submit {
  display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 50px; margin: 0; padding: 8px 16px;
  border: 0; border-radius: 8px; background: var(--cx-green); color: #fff;
  font-family: inherit; font-size: 16px; font-weight: 700; letter-spacing: .01em; cursor: pointer;
  transition: background-color .15s;
}
.cx .cx-submit::after {
  content: ""; width: 20px; height: 20px; flex: none; transition: transform .18s;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
}
.cx .cx-submit:hover { background: var(--cx-dark); }
.cx .cx-submit:hover::after { transform: translateX(3px); }
.cx .cx-submit:focus-visible { outline: 3px solid var(--cx-dark); outline-offset: 3px; }
.cx .cx-submit:disabled, .cx .cx-submit[aria-disabled="true"] { background: #3f7a55; cursor: progress; }
.cx .cx-submit:disabled::after, .cx .cx-submit[aria-disabled="true"]::after { transform: none; }

.cx .cx-form .cx-submit { grid-column: 1 / -1; width: 100%; }
.cx-notes { grid-column: 1 / -1; min-width: 0; }
.cx .cx-notes .form-note { margin: 0; min-height: 0; font-size: 13px; line-height: 18px; }
.cx .cx-notes .form-note:not(:empty) { margin-bottom: 8px; padding: 8px 12px; border-radius: 8px; border: 1px solid transparent; font-weight: 700; }
.cx .cx-notes .form-note.ok { background: var(--cx-tint); border-color: #b5d9c3; color: var(--cx-dark); }
.cx .cx-notes .form-note.err { background: #fdeeec; border-color: #f2c4bf; color: #8e1c14; }
.cx .cx-notes .form-note:not(.ok):not(.err):not(:empty) { background: #f3f6f4; border-color: var(--cx-rule); color: var(--cx-ink); }
.cx .cx-notes .form-note a { color: inherit; white-space: nowrap; }
.cx .cx-fine { margin: 0; font-size: 13px; line-height: 17px; color: var(--cx-mute); }
.cx .cx-fine a { color: var(--cx-dark); }
.cx .cx-form > noscript { grid-column: 1 / -1; display: block; }
.cx-nojs { margin: 0; padding: 8px 16px; border-radius: 8px; background: var(--cx-tint); border: 1px solid #b5d9c3; color: var(--cx-dark); font-weight: 700; }
.cx-nojs a { color: inherit; }

/* ---- bottom of the card: the emergency guidance, one quiet line ---- */
.cx-emergency { margin: 0; padding: 9px var(--cx-pad); text-align: center; border-top: 1px solid #f0c9c4; background: #fdf1ef; font-size: 16px; line-height: 22px; color: #3b1f1c; }
.cx-emergency strong { font-weight: 800; color: #8e1c14; }

@media (forced-colors: active) {
  .cx .cx-submit { border: 2px solid ButtonText; }
  .cx-card { border-color: CanvasText; }
  .cx-card::before { background: Highlight; }
  .cx-touch { border-bottom: 1px solid CanvasText; }
  .cx-meta > span + span { border-left-color: CanvasText; }
  .cx-emergency { border-top-color: CanvasText; }
}
@media print {
  .cx .cx-submit, .cx-nojs, .cx .cx-form .cx-photos { display: none; }
  .cx { background: none; padding-bottom: 0; }
  .cx-card { box-shadow: none; border: 1px solid #999; }
  .cx-card::before { display: none; }
  .cx-touch { background: none; }
}

/* ---- narrow desktop / tablet landscape: tighter side padding, same three columns ---- */
@media (max-width: 1099px) {
  .cx { --cx-pad: 32px; --cx-gap: 24px; }
  .cx-num { font-size: 24px; }
}

/* ---- call bar layout (desktop): hairline dividers between the cells; on wide screens the heading becomes a side block ---- */
@media (min-width: 961px) {
  .cx-touch { padding: 10px var(--cx-pad) 8px; }
  .cx-hd { margin-bottom: 4px; }
  .cx-bar { margin-top: 0; column-gap: 0; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.4fr); }
  .cx-cell { display: flex; flex-direction: column; justify-content: center; padding: 0 12px 0 20px; border-left: 1px solid var(--cx-rule); }
  .cx-cell:first-child { padding-left: 0; border-left: 0; }
}
@media (min-width: 1200px) {
  .cx-touch { display: grid; grid-template-columns: 172px minmax(0, 1fr); align-items: center; padding: 18px var(--cx-pad); }
  .cx-hd { margin: 0; }
  .cx-hd h2 { font-size: 22px; line-height: 26px; text-wrap: balance; }
  .cx-cell { padding: 2px 16px 2px 28px; }
  .cx-cell:first-child { padding-left: 28px; border-left: 1px solid var(--cx-rule); }
}

/* ---- tablet: the call bar becomes a tidy list; the form drops to two columns ---- */
@media (max-width: 960px) {
  .cx { padding-bottom: 48px; } /* room for the fixed bottom call bar */
  .cx-bar { grid-template-columns: minmax(0, 1fr); row-gap: 0; margin-top: 8px; }
  .cx-cell { display: grid; grid-template-columns: 152px minmax(0, 1fr); align-items: center; padding: 4px 0; }
  .cx-cell + .cx-cell { border-top: 1px solid var(--cx-rule); }
  .cx-val { min-height: 44px; align-items: center; }
  .cx-num, .cx-text, .cx-mail { display: inline-flex; align-items: center; min-height: 44px; }
  .cx-meta { display: block; }
  .cx-meta > span { display: inline-block; }
  .cx .cx-form input:not(.pp-input):not(.hp), .cx .cx-form select, .cx .cx-form label.pp-btn { min-height: 48px; }   /* touch layouts: 44px+ targets */
  .cx .cx-submit { min-height: 52px; }
}
@media (max-width: 900px) {
  .cx .cx-form { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cx-em, .cx-msg, .cx-photos, .cx-submit, .cx-notes { grid-column: 1 / -1; }   /* email gets its own row; address and service pair up */
  .cx-adr { grid-column: auto; }
  .cx-msg { align-self: start; }
  .cx .cx-form textarea { min-height: 96px; }
  .cx-photos .pp { grid-template-columns: auto 1fr; align-items: center; column-gap: 16px; }
  .cx-photos .pp-list, .cx-photos .pp-msg { grid-column: 1 / -1; }
}

/* ---- phones ---- */
@media (max-width: 560px) {
  .cx { --cx-pad: 16px; }
  .cx-main { padding-top: 16px; }
  .cx-touch { padding-top: 24px; }
  .cx-hd { display: block; }
  .cx-hd .cx-lede { margin-top: 4px; }
  .cx-cell { grid-template-columns: minmax(0, 1fr); padding: 8px 0; }
  .cx-val { min-height: 0; justify-content: space-between; }
  .cx-meta > span, .cx-meta > span + span { display: block; margin: 0; padding: 0; border: 0; }
  .cx .cx-form { grid-template-columns: minmax(0, 1fr); }
  .cx-photos .pp { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 380px) {
  .cx-num { font-size: 23px; }
}
@media (prefers-reduced-motion: reduce) {
  .cx .cx-submit, .cx .cx-submit::after, .cx .cx-form input, .cx .cx-form select, .cx .cx-form textarea { transition: none !important; }
  .cx .cx-submit:hover::after { transform: none; }
}
@media (max-width: 380px) { .cx-mail { font-size: 16px; } }   /* the long email must not break as "...@gmail / .com" on small phones */
