/* ===== styles.css (static build, unchanged) ===== */
/* Alpha Plumbing homepage. Tokens from Matt W's stylescape (task 17ttn4mnm4v):
   Barlow Condensed for headings, buttons, labels; Barlow Regular for body. */
:root{
  --h2-size:clamp(32px,3.6vw,52px);--h3-size:30px;--royal:#2257C7;--navy:#0F2257;--red:#D0262F;--red-hover:#B01F27;--ink:#141A2B;--mist:#F3F6FB;--white:#FFFFFF;--bright:#2E6BE6;
  --line-on-dark:rgba(255,255,255,.28);
  --font-head:'Barlow Condensed',sans-serif;--font-body:'Barlow',sans-serif;
  --ease:cubic-bezier(.65,0,.35,1);--frame-gap:24px;--frame-radius:24px;--content-max:1296px;
}
*{box-sizing:border-box}
body{margin:0;font-family:var(--font-body);font-weight:400;color:var(--ink);background:var(--white);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}

/* Buttons: round pill, Royal. Hover: a fill circle rises from the bottom, label changes color,
   arrow slides in without changing the button width. Leaving drains the fill back down. Click: slight press. */
.ap-btn{position:relative;isolation:isolate;overflow:hidden;display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:0 28px;border-radius:999px;border:1.5px solid transparent;font-family:var(--font-head);font-weight:500;font-size:16px;letter-spacing:1.4px;text-transform:uppercase;text-decoration:none;white-space:nowrap;cursor:pointer;transition:color .45s var(--ease),border-color .45s var(--ease),transform .15s ease;-webkit-tap-highlight-color:transparent}
.ap-btn > span{margin-right:-1px} /* cancels the trailing letter-spacing so the label sits dead center */
.ap-btn::before{content:"";position:absolute;z-index:-1;left:50%;top:100%;width:135%;aspect-ratio:1;border-radius:50%;transform:translate(-50%,-50%) scale(0);transition:transform .55s var(--ease)}
.ap-btn:hover::before,.ap-btn:focus-visible::before{transform:translate(-50%,-50%) scale(1)}
/* Arrow slides in over the right padding and the label nudges left, so the button never changes width (Vivian 2026-11-13) */
.ap-btn > span{transition:transform .45s var(--ease)}
.ap-btn__arrow{position:absolute;right:16px;top:50%;width:14px;height:12px;margin-top:-6px;opacity:0;transform:translateX(-8px);fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;transition:transform .45s var(--ease),opacity .3s ease}
.ap-btn:hover > span,.ap-btn:focus-visible > span{transform:translateX(-12px)}
.ap-btn:hover .ap-btn__arrow,.ap-btn:focus-visible .ap-btn__arrow{opacity:1;transform:translateX(0)}
.ap-btn:active{transform:scale(.97)}
.ap-btn:focus-visible{outline:2px solid var(--bright);outline-offset:3px}
/* Accent (Red): fill rises white, label turns Red */
.ap-btn--primary{background:var(--red);color:var(--white);border-color:var(--red)}
/* Red buttons: white fill rises on hover, text turns Red, and the border stays Red everywhere (same as the header Call) */
.ap-btn--primary::before{background:var(--white)}
.ap-btn--primary:hover,.ap-btn--primary:focus-visible{color:var(--red);border-color:var(--red)}
/* Outline on dark or Royal: fill rises white, label turns Ink */
.ap-btn--ghost{color:var(--white);border-color:rgba(255,255,255,.75)}
.ap-btn--ghost::before{background:var(--white)}
.ap-btn--ghost:hover,.ap-btn--ghost:focus-visible{color:var(--ink);border-color:var(--white)}
/* Outline on white: Red ring and Red label; fill rises Red, label turns white */
.ap-btn--outline{color:var(--red);border-color:var(--red)}
.ap-btn--outline::before{background:var(--red)}
.ap-btn--outline:hover,.ap-btn--outline:focus-visible{color:var(--white);border-color:var(--red)}
.ap-btn--sm{min-height:42px;padding:0 20px;font-size:15px}
.ap-btn--sm:hover > span,.ap-btn--sm:focus-visible > span{transform:translateX(-10px)}
.ap-btn--sm .ap-btn__arrow{right:10px}
@media (prefers-reduced-motion:reduce){.ap-btn,.ap-btn::before,.ap-btn > span,.ap-btn__arrow{transition-duration:.01s}}

/* ===== Sticky header (always on top) ===== */
/* hero is full width from the start (Vivian 2026-11-10); --hero-p fixed at 1, hero-scroll.js no longer loaded */
:root{--hero-p:1;--nav-h:88px}
.ap-header{position:fixed;top:0;left:0;right:0;z-index:100;padding-top:calc(var(--frame-gap) * (1 - var(--hero-p)))}
.ap-header__bar{transition:background .45s ease,box-shadow .45s ease}
/* logo and Call button line up with the content container (Matt W) */
.ap-header__bar .ap-nav{max-width:none;margin:0 auto;min-height:var(--nav-h);padding:0 max(72px,calc((100% - var(--content-max)) / 2))}
.ap-header.is-scrolled{padding-top:0}
.ap-header.is-scrolled .ap-header__bar{background:var(--white);box-shadow:0 4px 20px rgba(20,26,43,.10)}
/* On the white bar: Navy logo, Ink links, Call button in the same Red as the hero accent button */
.ap-logo,.ap-nav__links a{transition:color .45s ease}
.ap-header.is-scrolled .ap-logo{color:var(--navy)}
.ap-header.is-scrolled .ap-nav__links a{color:var(--ink)}
.ap-header.is-scrolled .ap-nav__links a:hover{color:var(--red)}
.ap-header.is-scrolled .ap-btn--ghost{background:var(--red);color:var(--white);border-color:var(--red)}
.ap-header.is-scrolled .ap-btn--ghost::before{background:var(--white)}
.ap-header.is-scrolled .ap-btn--ghost:hover,.ap-header.is-scrolled .ap-btn--ghost:focus-visible{color:var(--red);border-color:var(--red)}
/* Logo: eases smaller as the bar turns Navy, with a quick settle */
.ap-logo__svg{transform-origin:left center;transition:transform .5s var(--ease)}
.ap-header.is-scrolled .ap-logo__svg{transform:scale(.8)}
/* logo overshoot (settle) animation removed: it shrank to 76% then grew to 80% (Vivian 2026-11-13) */
@media (prefers-reduced-motion:reduce){.ap-logo__svg{transition:none}}
.ap-header.is-scrolled .ap-nav{min-height:72px}

/* ===== Emergency: floating round button + click-to-open card ===== */
.ap-sos{position:fixed;z-index:110;right:24px;bottom:24px;display:flex;flex-direction:column;align-items:flex-end;gap:12px}
.ap-sos__fab{position:relative;width:56px;height:56px;border:0;border-radius:50%;background:var(--red);color:var(--white);display:grid;place-items:center;cursor:pointer;box-shadow:0 8px 24px rgba(20,26,43,.28);transition:transform .2s ease,background .2s ease}
.ap-sos__fab::after{content:"";position:absolute;inset:0;border-radius:50%;animation:ap-pulse 2.2s infinite}
.ap-sos__fab:hover{background:var(--red-hover);transform:scale(1.05)}
.ap-sos__fab:active{transform:scale(.95)}
.ap-sos__fab:focus-visible{outline:2px solid var(--bright);outline-offset:3px}
.ap-sos__fab svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linejoin:round}
.ap-sos__card{position:relative;width:300px;max-width:calc(100vw - 32px);padding:20px 20px 18px;background:var(--white);border-radius:18px;box-shadow:0 12px 32px rgba(20,26,43,.22);display:flex;flex-direction:column;gap:14px;transform-origin:bottom right;animation:ap-pop .28s var(--ease)}
.ap-sos__card[hidden]{display:none}
.ap-sos__card .ap-btn{width:100%}
.ap-sos__title{margin:0;padding-right:24px;display:flex;align-items:center;gap:8px;white-space:nowrap;font-family:var(--font-head);font-weight:500;font-size:18px;letter-spacing:.5px;color:var(--ink)}
.ap-sos__dot{width:8px;height:8px;flex:none;border-radius:50%;background:var(--red)}
.ap-sos__close{position:absolute;top:10px;right:10px;width:28px;height:28px;border:0;border-radius:50%;background:transparent;color:var(--ink);display:grid;place-items:center;cursor:pointer}
.ap-sos__close:hover{background:var(--mist)}
.ap-sos__close svg{width:12px;height:12px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round}
@keyframes ap-pop{from{opacity:0;transform:translateY(8px) scale(.96)}to{opacity:1;transform:none}}
@keyframes ap-pulse{0%{box-shadow:0 0 0 0 rgba(208,38,47,.55)}70%{box-shadow:0 0 0 14px rgba(208,38,47,0)}100%{box-shadow:0 0 0 0 rgba(208,38,47,0)}}
@media (prefers-reduced-motion:reduce){.ap-sos__fab::after,.ap-sos__card{animation:none}}

/* ===== Hero: framed photo that opens to full width on scroll ===== */
.ap-hero{--inv:calc(1 - var(--hero-p));padding:calc(var(--frame-gap) * var(--inv))}
.ap-hero__frame{position:relative;max-width:calc(1392px + (100vw - 1392px) * var(--hero-p));min-height:760px;margin:0 auto;border-radius:calc(var(--frame-radius) * var(--inv));overflow:hidden;display:flex;flex-direction:column;background:var(--ink)}
.ap-hero__bg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center 45%}
/* hero v2 (Vivian): everything on the left, so the scrim runs left to right; a light top band keeps the menu readable */
.ap-hero__shade{position:absolute;inset:0;background:linear-gradient(180deg,rgba(20,26,43,.45) 0%,rgba(20,26,43,0) 22%),linear-gradient(90deg,rgba(20,26,43,.9) 0%,rgba(20,26,43,.78) 38%,rgba(20,26,43,.25) 68%,rgba(20,26,43,.05) 100%)}
.ap-hero__inner{position:relative;flex:1;display:flex;flex-direction:column;padding:var(--nav-h) max(48px,calc((100% - var(--content-max)) / 2)) 0}

.ap-nav{display:flex;align-items:center;gap:40px;transition:min-height .3s ease}
.ap-logo{display:block;color:var(--white);margin-right:auto;line-height:0}
.ap-logo__svg{display:block;width:150px;height:auto}
.ap-nav__links{display:flex;gap:32px;font-family:var(--font-head);font-weight:500;font-size:18px;letter-spacing:.8px}
.ap-nav__links a{color:var(--white);text-decoration:none}
.ap-nav__links a:hover{text-decoration:underline;text-underline-offset:6px}

/* Both columns share a top line; the row itself stays at the bottom of the hero */
.ap-hero__main{flex:1;display:flex;flex-direction:column;justify-content:center;gap:28px;max-width:640px;padding:72px 0 96px}
.ap-hero__heading{display:flex;flex-direction:column;gap:18px;min-width:0}
.ap-hero__eyebrow{margin:0;display:flex;align-items:center;gap:12px;font-family:var(--font-head);font-weight:500;font-size:17px;letter-spacing:3px;text-transform:uppercase;color:var(--white)}
/* Eyebrow rule: on dark backgrounds text + line are white; on light backgrounds both are Royal */
.ap-hero__eyebrow .ap-eyebrow__line{background:var(--white)}
/* Eyebrow: simple thin line */
.ap-eyebrow__line{width:32px;height:1.5px;flex:none;background:var(--royal)}
.ap-hero__h1{margin:0;font-family:var(--font-head);font-weight:500;font-size:72px;line-height:1.02;letter-spacing:1.5px;text-transform:uppercase;color:var(--white);text-wrap:balance}
.ap-hero__side{display:flex;flex-direction:column;gap:24px;min-width:0}
.ap-hero__intro{margin:0;font-size:16px;line-height:1.65;color:var(--mist)}
.ap-hero__btns{display:flex;flex-wrap:wrap;gap:12px}

/* trust strip sits under the hero photo (Matt W) */
.ap-trust{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));max-width:var(--content-max);margin:0 auto;padding:0;position:relative}
/* full-width line under the trust strip (Vivian) */
.ap-trust::after{content:"";position:absolute;left:50%;bottom:0;width:100vw;height:1px;transform:translateX(-50%);background:rgba(20,26,43,.14);pointer-events:none}
.ap-trust p{margin:0;padding:28px 12px;display:flex;align-items:center;justify-content:center;gap:14px;text-align:left;font-family:var(--font-head);font-weight:500;font-size:19px;letter-spacing:.8px;color:var(--ink)}
/* each item has the round Mist icon used across the page, with thin dividers between (Vivian) */
.ap-trust p+p{border-left:1px solid rgba(20,26,43,.14)}
.ap-trust__icon{flex:none;width:44px;height:44px;display:grid;place-items:center;border-radius:50%;background:var(--mist)}
.ap-trust__icon svg{width:22px;height:22px;fill:none;stroke:var(--royal);stroke-width:3;stroke-linecap:round;stroke-linejoin:round}

/* Temporary: gives the page height so the scroll effect can be previewed */
.ap-next-placeholder{height:600px;background:var(--white)}
/* ---------- Our Process ---------- */
/* Layout from Vivian ref: left-aligned head, photo left, steps right with a progress line; brand styling */
.ap-process{padding:112px 0 120px;background:var(--mist)}
.ap-process__head{display:flex;flex-direction:column;gap:18px}
.ap-process__head .ap-h2{text-wrap:balance}
.ap-process{--proc-gap:72px}
/* left column: eyebrow + H2, then the photo filling the rest; steps on the right (Vivian) */
.ap-process__body{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:var(--proc-gap);align-items:stretch}
.ap-process__media{position:relative;margin:0;flex:1;min-height:260px;border-radius:20px;overflow:hidden;background:var(--white)}
.ap-process__media img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:50% 30%}
.ap-process__col{display:flex;flex-direction:column;gap:32px}
/* first step title starts level with the top of the H2 caps (Vivian) */
.ap-steps{list-style:none;margin:calc(var(--h2-size) * .2 + 3px) 0 0;padding:0;display:flex;flex-direction:column}
/* each step owns a segment of the line on the left; the Royal segment fills as you scroll */
/* one continuous line runs under the icons, from icon to icon, and fills Royal as you scroll (Vivian) */
.ap-step{--ic:56px;position:relative;display:grid;grid-template-columns:var(--ic) minmax(0,1fr);gap:24px;align-items:start;padding:28px 0}
.ap-step::before,.ap-step::after{content:"";position:absolute;left:calc(var(--ic) / 2 - 1px);top:calc(28px + var(--ic) / 2);height:100%;width:2px;background:rgba(20,26,43,.12)}
.ap-step::after{background:var(--royal);transform:scaleY(var(--fill,0));transform-origin:top}
.ap-step:last-child::before,.ap-step:last-child::after{display:none}
.ap-step__icon{position:relative;z-index:1;width:var(--ic);height:var(--ic);display:grid;place-items:center;border-radius:50%;background:var(--white)}
.ap-step__icon svg{width:26px;height:26px;fill:none;stroke:var(--royal);stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.ap-step__icon svg{stroke:rgba(20,26,43,.28);transition:stroke .35s ease}
.ap-step.is-on .ap-step__icon svg{stroke:var(--royal)}
@media (prefers-reduced-motion:reduce){.ap-step__icon svg{transition:none}}
.ap-step__text{display:flex;flex-direction:column;gap:10px}
.ap-step__title{margin:0;font-family:var(--font-head);font-weight:500;font-size:var(--h3-size);line-height:1.1;letter-spacing:.5px;color:var(--navy)}
.ap-step p{margin:0;font-size:16px;line-height:1.65;color:var(--ink)}
.ap-step a{color:var(--royal);text-decoration:underline;text-underline-offset:3px}
@media (max-width:1100px){.ap-process{--proc-gap:40px}}
@media (max-width:900px){.ap-steps{margin-top:0}.ap-process{padding:72px 0 80px}.ap-process__body{grid-template-columns:minmax(0,1fr);gap:28px}.ap-process__media{display:none}.ap-step{--ic:48px;gap:16px;padding:20px 0}.ap-step__icon{width:48px;height:48px}.ap-step__icon svg{width:22px;height:22px}}

/* ---------- Where We Work ---------- */
/* Layout from Vivian ref: real map left (Leaflet + Esri dark canvas tiles, tinted Navy), city list right; head row like About (line above the right paragraph) */
.ap-areas{--areas-gap:72px;padding:112px 0 120px;background:var(--ink);color:var(--white)}
.ap-areas__top{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:20px var(--areas-gap);align-items:stretch;margin-bottom:56px}
.ap-areas__head{display:flex;flex-direction:column;gap:18px}
.ap-h2.ap-areas__title{color:var(--white);text-wrap:balance}
/* paragraph bottom-aligned with the H2 (no line above: Vivian, it read as part of the list lines) */
/* right-column paragraphs start level with the top of the H2 caps, never the eyebrow (Vivian) */
.ap-areas__intro{align-self:start;margin-top:calc(38px + var(--h2-size) * .2 - 7px);display:flex;flex-direction:column;gap:16px}
.ap-areas__intro p{margin:0;font-size:16px;line-height:1.65;color:var(--mist)}
.ap-areas__body{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:var(--areas-gap);align-items:stretch}
/* isolation keeps Leaflet's own z-index layers (up to 1000) inside the map, under the fixed header */
.ap-map{position:relative;z-index:0;isolation:isolate;min-height:100%;border-radius:20px;overflow:hidden;background:#0e1320;box-shadow:inset 0 0 0 1px rgba(255,255,255,.08)}
.ap-map__canvas{position:absolute;inset:0;background:#0e1320}
.ap-map .leaflet-container{font-family:var(--font-body);background:var(--ink)}
/* tint the plain dark canvas tiles Navy, like the ref (no road grid, no labels) */
.ap-map .leaflet-tile-pane{filter:sepia(1) hue-rotate(186deg) saturate(3) brightness(.6) contrast(1.08)}
.ap-pin{position:relative;width:12px;height:12px}
/* plain white dots; the selected city uses the same pulsing Red dot as the 24/7 emergency card */
.ap-pin span{position:absolute;inset:0;border-radius:50%;background:var(--white)}
.ap-pin.is-active span{background:var(--red);animation:ap-pulse 2.2s infinite}
.ap-map .leaflet-tooltip.ap-map__label{padding:0;border:0;background:none;box-shadow:none;color:var(--white);font-family:var(--font-head);font-weight:500;font-size:16px;letter-spacing:.5px;text-shadow:0 1px 3px rgba(20,26,43,.8)}
.ap-map .leaflet-tooltip.ap-map__label::before{display:none}
.ap-map .leaflet-control-attribution{background:rgba(20,26,43,.7);color:rgba(243,246,251,.6);font-size:10px}
.ap-map .leaflet-control-attribution a{color:rgba(243,246,251,.8)}
.ap-map .leaflet-bar a{background:var(--ink);color:var(--white);border-color:rgba(255,255,255,.15)}
.ap-areas__text{display:flex;flex-direction:column;gap:16px}
.ap-areas__text > p{margin:0;font-size:16px;line-height:1.65;color:var(--mist)}
.ap-areas__list{list-style:none;margin:0;padding:0;border-top:1px solid rgba(255,255,255,.16)}
.ap-areas__list li{border-bottom:1px solid rgba(255,255,255,.16)}
.ap-areas__city{display:flex;align-items:center;justify-content:space-between;gap:16px;width:100%;padding:12px 0;background:none;border:0;text-align:left;font-family:var(--font-head);font-weight:500;font-size:var(--h3-size);line-height:1.1;letter-spacing:.8px;text-transform:uppercase;color:rgba(243,246,251,.5);cursor:pointer;transition:color .3s ease}
.ap-areas__city:hover,.ap-areas__city.is-active{color:var(--white)}
.ap-areas__city:focus-visible{outline:2px solid var(--bright);outline-offset:2px}
@media (prefers-reduced-motion:reduce){.ap-pin.is-active span{animation:none}.ap-areas__city{transition:none}}
@media (max-width:1100px){.ap-areas{--areas-gap:40px}}
@media (max-width:1260px){.ap-areas__top{grid-template-columns:minmax(0,1fr)}.ap-areas__intro{margin-top:0}}
@media (max-width:900px){.ap-areas{padding:72px 0 80px}.ap-areas__top{margin-bottom:36px}.ap-areas__body{grid-template-columns:minmax(0,1fr);gap:28px}.ap-map{min-height:0;aspect-ratio:5/4}.ap-map .leaflet-tooltip.ap-map__label{font-size:13px}}

/* ---------- Reviews v4 (layout from Vivian ref: van photo on the left edge, review cards overlapping it and running off the right edge, arrows top right, bars below) ---------- */
.ap-reviews{--edge:max(72px,calc((100vw - var(--content-max)) / 2));padding:112px 0 120px;background:var(--mist);overflow:hidden}
.ap-reviews__head{display:flex;justify-content:space-between;align-items:flex-end;gap:32px;margin-bottom:48px}
.ap-reviews__titles{display:flex;flex-direction:column;gap:18px}
.ap-reviews__rating{margin:0;font-size:16px;color:var(--ink)}
.ap-reviews__actions{display:flex;align-items:center;gap:16px;flex:none}
.ap-rv4__arrows{display:flex;gap:12px}
.ap-rv4__btn{width:56px;height:56px;display:grid;place-items:center;border-radius:50%;border:1px solid var(--red);background:var(--white);color:var(--red);cursor:pointer;transition:background .3s ease,color .3s ease,opacity .3s ease}
.ap-rv4__btn svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.ap-rv4__btn--fill{background:var(--red);color:var(--white)}
.ap-rv4__btn:hover,.ap-rv4__btn:focus-visible{background:var(--red-hover);border-color:var(--red-hover);color:var(--white)}
.ap-rv4__btn:disabled{opacity:.35;cursor:default}
/* cards v5 (Vivian ref): white card with the author tucked into a cut-out at the bottom left; three per row */
.ap-reviews__track{overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none}
.ap-reviews__track::-webkit-scrollbar{display:none}
.ap-reviews__list{list-style:none;margin:0;padding:0;display:grid;grid-auto-flow:column;grid-auto-columns:calc((100% - 60px) / 4);gap:20px;align-items:start}
.ap-rc{--tab-w:208px;--tab-h:76px;--r:18px;--cut:var(--mist);position:relative;scroll-snap-align:start;display:flex;flex-direction:column;padding:24px 24px calc(var(--tab-h) + 20px);background:var(--white);border-radius:var(--r)}
.ap-rc__mark{width:34px;height:34px;margin-bottom:14px}
.ap-rc__mark svg{width:100%;height:100%;fill:rgba(20,26,43,.14)}
/* long reviews show 5 lines with View more (Vivian) */
.ap-rc__quote{margin:0;font-size:16px;line-height:1.65;color:var(--ink);display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:5;overflow:hidden;min-height:calc(1.65em * 5)}
.ap-rc.is-open .ap-rc__quote{-webkit-line-clamp:unset;display:block}
.ap-rc.has-more .ap-rc__more{visibility:visible}
.ap-rc__more{visibility:hidden;align-self:flex-start;margin-top:10px;padding:0;border:0;background:none;font-family:var(--font-head);font-weight:500;font-size:15px;letter-spacing:1px;text-transform:uppercase;color:var(--royal);text-decoration:underline;text-underline-offset:4px;cursor:pointer}
/* the cut-out: Mist tab at the bottom left, rounded where it meets the card */
.ap-rc__foot{position:absolute;left:0;bottom:0;width:var(--tab-w);height:var(--tab-h);box-sizing:border-box;display:flex;align-items:center;gap:14px;padding:12px 16px 0 0;background:var(--cut);border-top-right-radius:var(--r)}
.ap-rc::before,.ap-rc::after{content:"";position:absolute;width:var(--r);height:var(--r);background:radial-gradient(circle at 100% 0,transparent calc(var(--r) - .5px),var(--cut) var(--r));pointer-events:none}
.ap-rc::before{left:0;bottom:var(--tab-h)}
.ap-rc::after{left:var(--tab-w);bottom:0}
.ap-rc__avatar{flex:none;width:48px;height:48px;display:grid;place-items:center;border-radius:50%;background:var(--royal);color:var(--white);font-family:var(--font-head);font-weight:500;font-size:22px}
.ap-rc__who{margin:0;display:flex;flex-direction:column;gap:2px;min-width:0}
.ap-rc__who strong{font-family:var(--font-head);font-weight:500;font-size:18px;letter-spacing:.4px;color:var(--navy);line-height:1.1}
.ap-rc__who span{font-size:14px;white-space:nowrap;color:rgba(20,26,43,.6)}
.ap-rv4__bars{display:flex;justify-content:center;gap:8px;margin-top:40px}
.ap-rv4__bar{width:16px;height:4px;border-radius:2px;background:rgba(20,26,43,.16);transition:width .3s ease,background .3s ease}
.ap-rv4__bar.is-on{width:32px;background:var(--ink)}
@media (max-width:1260px){.ap-reviews__list{grid-auto-columns:calc((100% - 40px) / 3)}}
@media (max-width:1100px){.ap-reviews__list{grid-auto-columns:calc((100% - 20px) / 2)}}
@media (max-width:900px){.ap-reviews{padding:72px 0 80px}.ap-reviews__head{flex-direction:column;align-items:flex-start;margin-bottom:28px}.ap-reviews__actions{width:100%;justify-content:space-between}.ap-reviews__list{grid-auto-columns:86%;gap:16px}.ap-rc{--tab-w:208px;--tab-h:76px;padding:24px 22px calc(var(--tab-h) + 20px)}.ap-rv4__bars{margin-top:28px}}

/* ---------- FAQ ---------- */
/* Eyebrow, H2 and the Red Call button left (not sticky: Vivian 2026-11-13), questions right with hairlines and a thin chevron; no photo (Vivian) */
.ap-faq{--faq-gap:72px;--faq-q:25px;padding:112px 0 120px;background:var(--white)}
.ap-faq__head{display:flex;flex-direction:column;align-items:flex-start;gap:18px}
.ap-faq__head .ap-btn{margin-top:14px}
.ap-faq__head .ap-h2{max-width:9em;text-wrap:balance}
.ap-faq__grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:var(--faq-gap);align-items:start}
.ap-faq__list{border-top:1px solid rgba(20,26,43,.14)}
.ap-faq__item{border-bottom:1px solid rgba(20,26,43,.14)}
/* questions are smaller than the other H3s at Vivian's request (2026-11-10) */
.ap-faq__q{margin:0;font-family:var(--font-head);font-weight:500;font-size:var(--faq-q);line-height:1.2;letter-spacing:.4px;color:var(--navy)}
.ap-faq__q button{display:flex;align-items:center;justify-content:space-between;gap:24px;width:100%;padding:24px 0;background:none;border:0;text-align:left;font:inherit;letter-spacing:inherit;color:inherit;cursor:pointer}
.ap-faq__q button:focus-visible{outline:2px solid var(--bright);outline-offset:4px}
.ap-faq__icon{flex:none;width:24px;height:24px;display:grid;place-items:center}
.ap-faq__icon svg{width:22px;height:22px;fill:none;stroke:var(--royal);stroke-width:1.4;stroke-linecap:round;stroke-linejoin:round;transition:transform .35s var(--ease)}
.ap-faq__item.is-open .ap-faq__icon svg{transform:rotate(180deg)}
.ap-faq__a{display:grid;grid-template-rows:0fr;transition:grid-template-rows .45s var(--ease)}
.ap-faq__item.is-open .ap-faq__a{grid-template-rows:1fr}
.ap-faq__a > div{overflow:hidden}
.ap-faq__a p{margin:-6px 0 0;padding:0 48px 26px 0;font-size:16px;line-height:1.65;color:var(--ink)}
@media (prefers-reduced-motion:reduce){.ap-faq__a,.ap-faq__icon svg{transition:none}}
@media (max-width:1100px){.ap-faq{--faq-gap:40px}}
@media (max-width:900px){.ap-faq{--faq-q:22px;padding:72px 0 80px}.ap-faq__head{position:static}.ap-faq__grid{grid-template-columns:minmax(0,1fr);gap:28px}.ap-faq__q button{padding:20px 0;gap:16px}.ap-faq__a p{padding:0 0 22px}}

/* ---------- Closing CTA ---------- */
/* Ink band like Where We Work; eyebrow + H2 left, paragraph + the hero button pair right; the emergency card's two faint rings */
.ap-close{position:relative;overflow:hidden;padding:112px 0 120px;background:var(--ink);color:var(--white)}
.ap-close__rings{position:absolute;right:-180px;top:50%;width:620px;height:620px;transform:translateY(-50%);border-radius:50%;border:1px solid rgba(255,255,255,.10);pointer-events:none}
.ap-close__rings::after{content:"";position:absolute;inset:-150px;border-radius:50%;border:1px solid rgba(255,255,255,.06)}
.ap-close .ap-wrap{position:relative}
.ap-close__grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:72px;align-items:end}
.ap-close__head{display:flex;flex-direction:column;gap:18px}
.ap-h2.ap-close__title{color:var(--white);text-wrap:balance}
/* paragraph starts level with the top of the H2 caps, not the eyebrow (Vivian) */
.ap-close__grid{align-items:start}
.ap-close__body{display:flex;flex-direction:column;align-items:flex-start;gap:32px;margin-top:calc(38px + var(--h2-size) * .2 - 7px)}
.ap-close__body p{margin:0;font-size:16px;line-height:1.65;color:var(--mist)}
.ap-close__btns{display:flex;flex-wrap:wrap;gap:14px}
@media (max-width:1100px){.ap-close__grid{gap:40px}}
@media (max-width:900px){.ap-close{padding:72px 0 80px}.ap-close__grid{grid-template-columns:minmax(0,1fr);gap:28px}.ap-close__body{margin-top:0}.ap-close__rings{width:420px;height:420px;right:-220px;top:30%}.ap-close__btns{width:100%;flex-direction:column}.ap-close__btns .ap-btn{width:100%}}

/* ---------- Footer ---------- */
/* Ink like the closing band, split by a hairline; only copy already on the page (logo, trust line, service links, cities, phone, quote) */
.ap-footer{background:var(--ink);color:var(--mist)}
.ap-footer .ap-wrap{border-top:1px solid rgba(255,255,255,.14);padding-top:64px;padding-bottom:40px}
.ap-footer__top{display:grid;grid-template-columns:minmax(0,1.3fr) repeat(3,minmax(0,1fr));gap:48px}
.ap-footer__logo{display:inline-block;color:var(--white)}
.ap-footer__logo .ap-logo__svg{display:block;width:150px;height:auto}
.ap-footer__trust{margin:24px 0 0;max-width:290px;font-size:16px;line-height:1.6;color:var(--mist)}
.ap-footer__label{margin:0 0 18px;font-family:var(--font-head);font-weight:500;font-size:17px;letter-spacing:3px;text-transform:uppercase;color:var(--white)}
.ap-footer__col ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:10px;font-size:16px;line-height:1.5}
.ap-footer__col a{color:var(--mist);text-decoration:none;text-underline-offset:4px}
.ap-footer__col a:hover,.ap-footer__col a:focus-visible{color:var(--white);text-decoration:underline}
.ap-footer__cities{display:grid !important;grid-template-columns:repeat(2,max-content);column-gap:28px}
.ap-footer__bottom{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px 32px;margin-top:56px;padding-top:24px;border-top:1px solid rgba(255,255,255,.14)}
.ap-footer__legal{display:flex;gap:28px}
.ap-footer__legal a{font-size:14px;color:rgba(243,246,251,.7);text-decoration:none;text-underline-offset:4px}
.ap-footer__legal a:hover,.ap-footer__legal a:focus-visible{color:var(--white);text-decoration:underline}
.ap-footer__bottom p{margin:0;font-size:14px;color:rgba(243,246,251,.7)}
@media (max-width:1100px){.ap-footer__top{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:600px){.ap-footer .ap-wrap{padding-top:48px}.ap-footer__top{grid-template-columns:minmax(0,1fr);gap:36px}}

/* ---------- Residential and commercial CTA ---------- */
/* Homes & Businesses photo CTA: static full width at 560px, no scroll zoom (Vivian 2026-11-13) */
.ap-cta{--cta-p:1;--cta-gut:72px;--cta-r:24px;--cta-pt:112px;--cta-pb:120px;--cta-h:560px;padding:calc(var(--cta-pt) * (1 - var(--cta-p))) 0 calc(var(--cta-pb) * (1 - var(--cta-p)));background:var(--white)}
.ap-cta > .ap-wrap{max-width:calc(1440px + 100vw * var(--cta-p));padding-left:calc(var(--cta-gut) * (1 - var(--cta-p)));padding-right:calc(var(--cta-gut) * (1 - var(--cta-p)))}
.ap-cta .ap-cta__card{border-radius:calc(var(--cta-r) * (1 - var(--cta-p)))}
.ap-cta__card{position:relative;isolation:isolate;overflow:hidden;display:flex;justify-content:flex-end;min-height:var(--cta-h);background:var(--ink);border-radius:24px}
.ap-cta__img{position:absolute;inset:0;z-index:-2;width:100%;height:100%;object-fit:cover;object-position:50% 80%}
.ap-cta__shade{position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,rgba(20,26,43,0) 28%,rgba(20,26,43,.5) 46%,rgba(20,26,43,.8) 62%,rgba(20,26,43,.86) 100%)}
.ap-cta__content{box-sizing:border-box;width:46%;display:flex;flex-direction:column;justify-content:center;gap:28px;padding:64px calc(64px + var(--cta-gut) * var(--cta-p)) 64px 56px}
.ap-cta__titles{display:flex;flex-direction:column;gap:18px}
.ap-eyebrow.ap-eyebrow--light{color:var(--white)}
.ap-eyebrow--light .ap-eyebrow__line.ap-eyebrow__line{background:var(--white)}
.ap-h2.ap-cta__title{color:var(--white);text-wrap:balance}
.ap-cta__body{display:flex;flex-direction:column;align-items:flex-start;gap:32px}
.ap-cta__body p{margin:0;font-size:16px;line-height:1.65;color:var(--mist)}
@media (max-width:1140px){.ap-cta__content{width:58%;padding:56px 48px}.ap-cta__shade{background:linear-gradient(90deg,rgba(20,26,43,0) 12%,rgba(20,26,43,.55) 36%,rgba(20,26,43,.82) 50%,rgba(20,26,43,.88) 100%)}}
@media (max-width:900px){.ap-cta{--cta-pt:72px;--cta-pb:80px;--cta-gut:20px;--cta-r:20px;--cta-h:0px}.ap-cta__card{display:flex;flex-direction:column;justify-content:flex-start;border-radius:20px;background:var(--ink)}.ap-cta__img{position:relative;z-index:0;display:block;flex:1 0 240px;width:100%;height:240px;object-position:35% 62%}.ap-cta__shade{display:none}.ap-cta__content{width:auto;padding:36px 24px 40px}.ap-cta__body p{font-size:16px}}


/* ===== Shared section pieces ===== */
.ap-wrap{max-width:1440px;margin:0 auto;padding:0 72px}
.ap-eyebrow{margin:0;display:flex;align-items:center;gap:12px;font-family:var(--font-head);font-weight:500;font-size:17px;letter-spacing:3px;text-transform:uppercase;color:var(--royal)}
.ap-h2{margin:0;font-family:var(--font-head);font-weight:500;font-size:var(--h2-size);line-height:1.02;letter-spacing:1.2px;text-transform:uppercase;color:var(--ink)}

/* ===== What We Do ===== */
.ap-services{padding:112px 0 120px;background:var(--white)}
.ap-services__head{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,6fr);gap:64px;align-items:start;margin-bottom:56px}
.ap-services__titles,.ap-about__titlewrap{display:flex;flex-direction:column;gap:18px}
.ap-services__intro{display:flex;flex-direction:column;align-items:flex-start;gap:24px;margin-top:calc(38px + var(--h2-size) * .2 - 7px)}
.ap-services__intro p{margin:0;font-size:16px;line-height:1.65;color:var(--ink)}
.ap-services__grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}

/* Service card: photo, title; hover grows a Royal fill (Red on the emergency card) out of the arrow, reveals the description */
.ap-svc{--fill-scale:28;--go:56px;--notch:10px;position:relative;isolation:isolate;display:flex;align-items:flex-end;min-height:390px;padding:32px;border-radius:20px;color:var(--white);text-decoration:none}
/* Card surface with a round notch cut from the top-right corner; the arrow sits in the notch */
.ap-svc__media{position:absolute;inset:0;z-index:-1;overflow:hidden;border-radius:20px;background:var(--ink);
  -webkit-mask:radial-gradient(circle at calc(100% - var(--go) / 2) calc(var(--go) / 2),transparent calc(var(--go) / 2 + var(--notch)),#000 calc(var(--go) / 2 + var(--notch) + .5px));
          mask:radial-gradient(circle at calc(100% - var(--go) / 2) calc(var(--go) / 2),transparent calc(var(--go) / 2 + var(--notch)),#000 calc(var(--go) / 2 + var(--notch) + .5px))}
.ap-svc__img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transition:transform .8s var(--ease)}
.ap-svc__shade{position:absolute;inset:0;background:linear-gradient(180deg,rgba(20,26,43,0) 35%,rgba(20,26,43,.82) 100%)}
.ap-svc__fill{position:absolute;right:0;top:0;width:var(--go);height:var(--go);border-radius:50%;background:var(--svc-accent,var(--royal));transform:scale(0);transition:transform .7s var(--ease)}
.ap-svc__body{display:flex;flex-direction:column;gap:0;width:100%}
.ap-svc__title{margin:0;padding-right:0;display:flex;align-items:center;gap:12px;font-family:var(--font-head);font-weight:500;font-size:var(--h3-size);line-height:1.1;letter-spacing:.5px;color:var(--white);text-wrap:balance}
.ap-svc__more{display:grid;grid-template-rows:1fr;transition:grid-template-rows .55s var(--ease)}
.ap-svc__more > div{overflow:hidden}
.ap-svc__desc{margin:14px 0 0;font-size:16px;line-height:1.65;color:var(--white)}
.ap-svc__label{display:inline-block;margin-top:16px;padding-bottom:8px;font-family:var(--font-head);font-weight:400;font-size:18px;letter-spacing:1px;color:var(--white);text-decoration-line:underline;text-decoration-thickness:1px;text-decoration-color:var(--white);text-underline-offset:5px}
.ap-svc__more > div{padding-bottom:2px}

.ap-svc__go{position:absolute;right:0;top:0;z-index:2;width:var(--go);height:var(--go);border-radius:50%;background:var(--mist);color:var(--ink);box-shadow:inset 0 0 0 1px rgba(20,26,43,.08);display:grid;place-items:center;transition:background .4s ease,color .4s ease,transform .4s var(--ease)}
.ap-svc__go svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;transition:transform .45s var(--ease)}
.ap-svc:focus-visible{outline:3px solid var(--bright);outline-offset:3px}
.ap-svc:active{transform:scale(.99)}

/* Emergency: its own full row, Navy, no photo */
.ap-svc--emergency{--svc-accent:var(--red);--fill-scale:64;grid-column:1 / -1;min-height:300px;display:grid;grid-template-columns:minmax(0,5fr) minmax(0,6fr);gap:56px;align-items:center;padding:36px 40px}
.ap-svc--emergency .ap-svc__shade{display:none}
/* Flat Navy background with two soft rings (no gradient) */
.ap-svc__layers{position:absolute;inset:0;pointer-events:none;background:var(--ink)}
.ap-svc__layers::before,.ap-svc__layers::after{content:"";position:absolute;border-radius:50%;border:1px solid rgba(255,255,255,.12)}
.ap-svc__layers::before{width:520px;height:520px;left:calc(24% - 260px);top:calc(62% - 260px)}
.ap-svc__layers::after{width:760px;height:760px;left:calc(24% - 380px);top:calc(62% - 380px);border-color:rgba(255,255,255,.07)}
.ap-svc__van{position:relative;z-index:1;display:block;width:100%;max-width:540px;height:auto;justify-self:center;filter:drop-shadow(0 22px 18px rgba(0,0,0,.4));transition:transform .7s var(--ease)}
.ap-svc--emergency .ap-svc__body{position:relative;z-index:1}

.ap-svc--emergency .ap-svc__desc{margin-top:16px}
.ap-svc--emergency:hover .ap-svc__van{transform:translateX(10px)}
.ap-svc--emergency .ap-svc__more{grid-template-rows:1fr !important}
.ap-svc--emergency .ap-svc__title{align-items:flex-start}
.ap-svc__dot{width:12px;height:12px;flex:none;margin-top:.4em;border-radius:50%;background:var(--red);animation:ap-pulse 2.2s infinite}
.ap-svc--emergency:hover .ap-svc__dot{background:var(--white)}

/* Hover-capable screens: description hidden until hover */
@media (hover:hover) and (min-width:901px){
  .ap-svc:not(.ap-svc--emergency) .ap-svc__more{grid-template-rows:0fr}
  .ap-svc:hover .ap-svc__more,.ap-svc:focus-visible .ap-svc__more{grid-template-rows:1fr}
  .ap-svc:hover .ap-svc__fill,.ap-svc:focus-visible .ap-svc__fill{transform:scale(var(--fill-scale))}
  .ap-svc:hover .ap-svc__go,.ap-svc:focus-visible .ap-svc__go{background:var(--white);color:var(--svc-accent,var(--royal));transform:scale(1.06)}
  .ap-svc:hover .ap-svc__go svg,.ap-svc:focus-visible .ap-svc__go svg{transform:rotate(45deg)}
}
@media (prefers-reduced-motion:reduce){.ap-svc__fill,.ap-svc__more,.ap-svc__img,.ap-svc__go,.ap-svc__go svg{transition-duration:.01s}.ap-svc__dot{animation:none}}

/* ===== About teaser ===== */
.ap-about{padding:112px 0 120px;background:var(--mist)}
.ap-about__top{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:20px 72px;align-items:stretch;margin-bottom:64px}
.ap-about__head{display:flex;flex-direction:column;gap:24px}
.ap-about__pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-content:end;align-items:start;margin-top:calc(38px + clamp(30px,3.6vw,54px) * .2);gap:32px;padding-top:24px;border-top:1px solid rgba(20,26,43,.16)}
.ap-about__pair p{margin:0;font-size:16px;line-height:1.65;color:var(--ink)}
.ap-h2.ap-about__title{text-wrap:balance}

.ap-nowrap{white-space:nowrap}
.ap-about__lead{margin:0;font-size:20px;font-weight:400;line-height:1.6;color:var(--ink)}
@media (max-width:1260px){.ap-about__top{grid-template-columns:minmax(0,1fr);gap:32px}.ap-about__pair{margin-top:0}}
.ap-about__bottom{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:72px;align-items:stretch}
@media (max-width:1260px){.ap-about__bottom{gap:40px}}
.ap-about__media{position:relative;margin:0;overflow:hidden;border-radius:20px;background:var(--white);min-height:420px}
.ap-about__media img{position:absolute;inset:0;display:block;width:100%;height:100%;border-radius:20px;object-fit:cover;object-position:50% 50%}
.ap-why{display:flex;flex-direction:column;gap:14px}
/* Heading sits on the photo in a solid box */
/* heading tab sits flush in the photo's bottom-left corner, two lines (Vivian, Matt W) */
.ap-about__tag{--ring:14px;--fr:20px;position:absolute;left:0;bottom:0;z-index:1;max-width:calc(100% - 48px);display:flex}
/* the tab looks cut out of the photo: a Mist ring on its open sides (square where it meets the photo edges, like the service-card notch) */
.ap-about__tag .ap-why__title{box-shadow:0 0 0 var(--ring) var(--mist)}
.ap-why__title{margin:0;width:max-content;max-width:min(100%,380px);padding:26px 36px 28px 32px;background:var(--ink);border-radius:0 20px 0 20px;font-family:var(--font-head);font-weight:500;font-size:var(--h3-size);line-height:1.08;letter-spacing:.5px;color:var(--white);text-wrap:balance}
.ap-why__list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:20px;flex:1}
.ap-why__item{--g:48px;--pad-l:20px;--notch:7px;position:relative;isolation:isolate;flex:1 0 auto;display:flex;flex-direction:column;justify-content:center;gap:0;min-height:calc(var(--g) + 12px);padding:12px 24px 12px calc(var(--pad-l) + var(--g) + var(--notch) + 13px);font-size:16px;line-height:1.5;color:var(--ink)}
/* Card surface with a perfectly round hole cut around the icon (even ring all the way round, fully inside the card) */
.ap-why__surface{position:absolute;inset:0;z-index:-1;border-radius:16px;background:var(--white);-webkit-mask:radial-gradient(circle at calc(var(--pad-l) + var(--g) / 2) 50%,transparent calc(var(--g) / 2 + var(--notch)),#000 calc(var(--g) / 2 + var(--notch) + .5px));mask:radial-gradient(circle at calc(var(--pad-l) + var(--g) / 2) 50%,transparent calc(var(--g) / 2 + var(--notch)),#000 calc(var(--g) / 2 + var(--notch) + .5px))}
.ap-why__item strong{font-family:var(--font-head);font-weight:500;font-size:20px;line-height:1.15;letter-spacing:.4px;color:var(--navy)}
.ap-why__icon{position:absolute;left:var(--pad-l);top:50%;width:var(--g);height:var(--g);display:grid;place-items:center;border-radius:50%;background:var(--white);transform:translateY(-50%)}
.ap-why__icon svg{width:22px;height:22px;fill:none;stroke:var(--royal);stroke-width:3;stroke-linecap:round;stroke-linejoin:round}
/* Wide screens: equal-height cards; the icon is a full-height circle on the left end of the card (Vivian sketch). The Mist ring is the cut between circle and card. */
@media (min-width:1221px){
  .ap-about__bottom{--why-h:96px}
  .ap-why__list{display:grid;grid-auto-rows:var(--why-h,88px)}
  .ap-why__item{--g:var(--why-h,88px);--pad-l:0px;min-height:0;padding:6px 24px 6px calc(var(--g) + 20px)}
  .ap-why__surface{-webkit-mask:none;mask:none;border-radius:calc(var(--g) / 2) 16px 16px calc(var(--g) / 2)}
  .ap-why__icon{box-shadow:0 0 0 6px var(--mist)}
  .ap-why__icon svg{width:26px;height:26px;stroke-width:2.8}
}


@media (max-width:900px){
  .ap-wrap{padding:0 20px}
  .ap-about{padding:72px 0 80px}

  .ap-about__top{grid-template-columns:minmax(0,1fr);gap:20px;margin-bottom:36px}
  .ap-about__lead{font-size:18px}
  .ap-about__pair{grid-template-columns:minmax(0,1fr);gap:18px;margin-top:0}
  .ap-about__bottom{grid-template-columns:minmax(0,1fr);gap:16px}
  .ap-about__media{min-height:0;aspect-ratio:4/3}
  .ap-about__bottom{padding-bottom:0}
  .ap-about__media{margin:0}
  .ap-about__tag{--ring:10px;--fr:16px;max-width:calc(100% - 36px)}
  .ap-why__title{padding:18px 24px 20px 20px}
  .ap-about__bottom{gap:16px}
  .ap-why__item{--g:44px;--pad-l:16px;--notch:6px;padding:14px 18px 14px calc(var(--pad-l) + var(--g) + var(--notch) + 12px)}
  .ap-why__item strong{font-size:19px}
  :root{--h2-size:clamp(28px,8.2vw,40px);--h3-size:26px}
  .ap-eyebrow{font-size:15px;letter-spacing:2.5px}
  .ap-services{padding:72px 0 80px}
  .ap-services__head{grid-template-columns:minmax(0,1fr);gap:20px;margin-bottom:36px}
  .ap-services__intro{margin-top:0}
  .ap-services__intro p{font-size:16px}
  .ap-services__grid{grid-template-columns:minmax(0,1fr);gap:16px}
  /* Mobile: photo on top, text on a solid Ink panel below, so long copy never sits on a bright photo */
  .ap-svc{display:block;min-height:0;padding:0;border-radius:18px}
  .ap-svc__img{position:absolute;inset:0 0 auto 0;height:220px}
  .ap-svc__shade{display:none}
  .ap-svc__body{padding:242px 24px 24px}
  .ap-svc{--go:52px}

  .ap-svc--emergency{display:block;min-height:0;padding:0}
  .ap-svc__van{width:auto;max-width:none;margin:0 auto;padding:28px 24px 0;width:100%}
  .ap-svc__layers::before{width:300px;height:300px;left:calc(50% - 150px);top:-40px}
  .ap-svc__layers::after{width:460px;height:460px;left:calc(50% - 230px);top:-120px}
  .ap-svc--emergency .ap-svc__body{padding:20px 24px 28px}

}

@media (max-width:900px){
  :root{--frame-gap:12px;--frame-radius:20px}
  .ap-hero__frame{min-height:0}
  /* Audit 2026-11-24: the clear window was 16% to 22% of the hero height, about 40px on a phone,
     so the art-directed crop was invisible behind the scrim. Widened to 12% to 28% and the ramp
     brought forward so it is fully dark before the eyebrow starts at roughly 41%. */
  .ap-hero__shade{background:linear-gradient(180deg,rgba(20,26,43,.55) 0%,rgba(20,26,43,0) 12%,rgba(20,26,43,0) 28%,rgba(20,26,43,.78) 38%,rgba(20,26,43,.92) 100%)}
  :root{--nav-h:72px}
  .ap-sos{right:16px;bottom:calc(16px + env(safe-area-inset-bottom))}
  .ap-sos__fab{width:52px;height:52px}
  .ap-hero__inner{padding:var(--nav-h) 20px 0}
  .ap-header__bar .ap-nav{padding:0 20px;gap:16px}
  .ap-header.is-scrolled .ap-nav{min-height:64px;padding:0 20px}
  .ap-logo__svg{width:118px}
  .ap-nav__links{display:none}
  .ap-hero__main{grid-template-columns:minmax(0,1fr);gap:20px;padding:200px 0 56px}
  .ap-hero__eyebrow{font-size:15px;letter-spacing:2.5px}
  .ap-hero__h1{font-size:44px;letter-spacing:1px}
  .ap-hero__intro{font-size:16px}
  .ap-hero__btns{display:inline-grid;grid-template-columns:minmax(0,max-content);justify-content:start}
  .ap-hero__btns .ap-btn{width:100%}
  .ap-trust{grid-template-columns:repeat(2,minmax(0,1fr));padding:0;margin:0 20px}
  .ap-trust p{padding:14px 6px;font-size:17px;justify-content:flex-start;gap:10px}
  .ap-trust__icon{width:38px;height:38px}
  .ap-trust p+p{border-left:0}
  .ap-trust p:nth-child(even){border-left:1px solid rgba(20,26,43,.14);padding-left:14px}
  .ap-trust p:nth-child(n+3){border-top:1px solid rgba(20,26,43,.14)}
  .ap-trust__icon svg{width:19px;height:19px}
}

/* ---------- Figma capture mode (index.html?figma) ----------
   For importing with html.to.design: everything sits in its resting, framed state. */
.is-capture{scroll-behavior:auto}
.is-capture .ap-header{position:absolute}
.is-capture .ap-cta{--cta-p:1 !important}
.is-capture .ap-faq__head{position:static}
.is-capture .ap-sos{display:none}
.is-capture .ap-map__canvas{display:none}
.is-capture .ap-map{background:url(../img/map-static.png) center/cover no-repeat}
.is-capture *,.is-capture *::before,.is-capture *::after{transition:none !important;animation:none !important}
/* importer turns the radial-gradient notch mask into a white blob: drop the mask and draw the notch as a ring on the arrow */
.is-capture .ap-svc__media{-webkit-mask:none !important;mask:none !important}
.is-capture .ap-svc__go{box-shadow:0 0 0 10px var(--white)}
/* importer stretched the emergency card's grid row; pin its height */
@media (min-width:901px){.is-capture .ap-svc--emergency{height:326px;min-height:0}}


/* eyebrows without the dash, page wide (Vivian, 2026-11-10) */
.ap-eyebrow__line{display:none !important}
/* Figma capture: show the Process steps in their finished state (line filled, icons Royal) */
.is-capture .ap-step::after{transform:none}
.is-capture .ap-step__icon svg{stroke:var(--royal)}

/* stars under the reviewer name (Vivian) */
.ap-rc__who .ap-review__stars{display:inline-flex;gap:2px;margin-top:3px}
.ap-rc__who .ap-review__stars svg{width:14px;height:14px;fill:var(--royal)}

/* eyebrow to heading 12px, was 18px (Vivian, 2026-11-12); parent gaps unchanged for the other items */
.ap-eyebrow,.ap-hero__eyebrow{margin-bottom:-6px}

/* ===== Services mega menu (Vivian ref, 2026-11-12) =====
   White panel under the header: service links with round Mist icons on the left (2 x 2), the Ink emergency
   card on the right (pulsing Red dot, title link with the corner arrow, Call link). Labels reuse existing copy. */
.ap-mega-wrap{position:relative}
.ap-nav__trigger{display:inline-flex;align-items:center;gap:8px}
.ap-nav__chev{width:11px;height:8px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;transition:transform .3s var(--ease)}
.ap-mega-wrap:hover .ap-nav__chev,.ap-mega-wrap.is-open .ap-nav__chev{transform:rotate(180deg)}
/* panel hangs from the trigger; a transparent bridge keeps hover alive across the gap */
.ap-mega{position:absolute;top:calc(100% + 18px);left:50%;z-index:120;width:min(860px,calc(100vw - 48px));display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:12px;padding:12px;border-radius:20px;background:var(--white);box-shadow:0 24px 60px rgba(20,26,43,.22);opacity:0;visibility:hidden;transform:translate(-38%,8px);transition:opacity .25s ease,transform .3s var(--ease),visibility 0s linear .3s;font-family:var(--font-body);letter-spacing:0}
.ap-mega::before{content:"";position:absolute;left:0;right:0;top:-18px;height:18px}
.ap-mega-wrap:hover .ap-mega,.ap-mega-wrap.is-open .ap-mega{opacity:1;visibility:visible;transform:translate(-38%,0);transition-delay:0s}
.ap-mega__links{list-style:none;margin:0;padding:8px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;align-content:start}
.ap-nav__links .ap-mega__link{display:flex;align-items:center;gap:14px;padding:14px;border-radius:14px;color:var(--ink);text-decoration:none;transition:background .2s ease}
.ap-nav__links .ap-mega__link:hover,.ap-nav__links .ap-mega__link:focus-visible,.ap-nav__links .ap-mega__link[aria-current="page"]{background:var(--mist);text-decoration:none}
.ap-mega__link:focus-visible{outline:2px solid var(--bright);outline-offset:2px}
.ap-mega__icon{flex:none;width:44px;height:44px;display:grid;place-items:center;border-radius:50%;background:var(--mist);transition:background .2s ease}
.ap-mega__link:hover .ap-mega__icon,.ap-mega__link[aria-current="page"] .ap-mega__icon{background:var(--white)}
.ap-mega__icon svg{width:22px;height:22px;fill:none;stroke:var(--royal);stroke-width:2.8;stroke-linecap:round;stroke-linejoin:round}
.ap-mega__label{font-family:var(--font-head);font-weight:500;font-size:19px;line-height:1.2;letter-spacing:.4px;color:var(--navy)}
/* emergency card */
.ap-mega__card{position:relative;display:flex;flex-direction:column;gap:14px;padding:24px;border-radius:14px;background:var(--ink);overflow:hidden}
.ap-mega__card::after{content:"";position:absolute;right:-90px;bottom:-110px;width:260px;height:260px;border-radius:50%;border:1px solid rgba(255,255,255,.10);pointer-events:none}
.ap-mega__badge{margin:0;align-self:flex-start;display:inline-flex;align-items:center;gap:8px;padding:6px 12px;border-radius:999px;background:rgba(208,38,47,.16);font-family:var(--font-head);font-weight:500;font-size:14px;letter-spacing:1px;text-transform:uppercase;color:var(--white)}
.ap-mega__badge .ap-svc__dot{width:8px;height:8px;margin:0}
.ap-nav__links .ap-mega__title{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;font-family:var(--font-head);font-weight:500;font-size:28px;line-height:1.1;letter-spacing:.5px;color:var(--white);text-decoration:none}
.ap-nav__links .ap-mega__title:hover{text-decoration:none}
/* the whole card is the click target for the emergency page; the Call link sits above it */
.ap-mega__title::before{content:"";position:absolute;inset:0;z-index:0}
.ap-mega__go{position:relative;flex:none;width:36px;height:36px;display:grid;place-items:center;border-radius:50%;background:rgba(255,255,255,.1);transition:background .3s ease,transform .3s var(--ease)}
.ap-mega__go svg{width:14px;height:14px;fill:none;stroke:var(--white);stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.ap-mega__card:hover .ap-mega__go{background:var(--red);transform:rotate(45deg)}
.ap-nav__links .ap-mega__phone{position:relative;z-index:1;margin-top:auto;display:flex;flex-direction:column;gap:2px;font-family:var(--font-head);font-weight:500;font-size:32px;line-height:1.05;letter-spacing:.5px;color:var(--white);text-decoration:none}
.ap-mega__phone span{font-family:var(--font-body);font-weight:400;font-size:14px;letter-spacing:0;color:rgba(243,246,251,.7)}
.ap-nav__links .ap-mega__phone:hover{text-decoration:underline;text-underline-offset:5px}
.ap-mega__title:focus-visible,.ap-mega__phone:focus-visible{outline:2px solid var(--bright);outline-offset:4px;border-radius:4px}
@media (prefers-reduced-motion:reduce){.ap-mega,.ap-nav__chev{transition:none}}
.is-capture .ap-mega{display:none}
/* mega menu fixes: the panel lines up with the header's right content edge (it was running off screen),
   and the card text stays white when the scrolled header turns its links Ink */
.ap-header__bar .ap-nav{position:relative}
.ap-mega-wrap{position:static}
.ap-mega{top:calc(100% - 4px);left:auto;right:max(72px,calc((100% - var(--content-max)) / 2));transform:translateY(8px)}
.ap-mega::before{top:-14px;height:14px}
.ap-mega-wrap:hover .ap-mega,.ap-mega-wrap.is-open .ap-mega{transform:none}
.ap-header .ap-nav__links .ap-mega__title,.ap-header.is-scrolled .ap-nav__links .ap-mega__title,
.ap-header .ap-nav__links .ap-mega__phone,.ap-header.is-scrolled .ap-nav__links .ap-mega__phone{color:var(--white)}
.ap-header.is-scrolled .ap-nav__links .ap-mega__link,.ap-header.is-scrolled .ap-nav__links .ap-mega__link:hover{color:var(--ink)}
.ap-header .ap-nav__links .ap-mega__phone:hover{color:var(--white)}
/* mega menu v2 (Vivian 2026-11-12): services in ONE column, smaller type, no phone number;
   the emergency card is just the link, with the van */
.ap-mega{width:620px;grid-template-columns:minmax(0,1fr) 280px}
.ap-mega__links{grid-template-columns:minmax(0,1fr);gap:2px;padding:6px}
.ap-nav__links .ap-mega__link{gap:12px;padding:10px 12px;border-radius:12px}
.ap-mega__icon{width:36px;height:36px}
.ap-mega__icon svg{width:18px;height:18px}
.ap-mega__label{font-size:17px;white-space:nowrap}
.ap-mega__card{gap:12px;padding:20px 20px 0;min-height:236px}
.ap-mega__badge{font-size:12px;padding:5px 10px}
.ap-nav__links .ap-mega__title{font-size:22px}
.ap-mega__go{width:32px;height:32px}
.ap-mega__van{position:relative;z-index:0;display:block;width:108%;max-width:none;margin:auto -4% 0 auto;transform:translateY(10%);filter:drop-shadow(0 14px 12px rgba(0,0,0,.4));transition:transform .5s var(--ease);pointer-events:none}
.ap-mega__card:hover .ap-mega__van{transform:translate(6px,10%)}
.ap-mega__van{width:100%;margin:auto 0 14px;transform:none}
.ap-mega__card:hover .ap-mega__van{transform:translateX(6px)}

/* ===== Mobile menu: off-canvas panel (Vivian 2026-11-12) =====
   Below 900px the header shows the logo and a menu button (the Call number lives in the panel and on the
   floating Call button). The panel slides in from the right over a dark backdrop. */
.ap-burger{display:none;position:relative;width:44px;height:44px;flex:none;border:1px solid rgba(255,255,255,.75);border-radius:50%;background:transparent;cursor:pointer;transition:border-color .3s ease,background .3s ease}
.ap-burger span{position:absolute;left:13px;right:13px;height:1.5px;border-radius:1px;background:var(--white);transition:background .3s ease}
.ap-burger span:nth-child(1){top:15px}.ap-burger span:nth-child(2){top:21px}.ap-burger span:nth-child(3){top:27px}
.ap-header.is-scrolled .ap-burger{border-color:var(--red);background:var(--red)}
.ap-burger:focus-visible{outline:2px solid var(--bright);outline-offset:3px}
/* Audit 2026-11-24: the off-canvas panel is translateX(100%) inside this fixed, viewport-sized box,
   so it parks 380px past the right edge with nothing clipping it, which is what put a horizontal
   scrollbar on every page. Clipping here costs nothing: the panel slides into this box when open. */
.ap-drawer{position:fixed;inset:0;z-index:300;visibility:hidden;overflow:hidden;transition:visibility 0s linear .4s}
.ap-drawer.is-open{visibility:visible;transition-delay:0s}
.ap-drawer__scrim{position:absolute;inset:0;background:rgba(20,26,43,.55);opacity:0;transition:opacity .35s ease}
.ap-drawer.is-open .ap-drawer__scrim{opacity:1}
.ap-drawer__panel{position:absolute;top:0;right:0;bottom:0;width:min(380px,88vw);display:flex;flex-direction:column;background:var(--white);box-shadow:-20px 0 50px rgba(20,26,43,.25);transform:translateX(100%);transition:transform .4s var(--ease);overflow-y:auto;overscroll-behavior:contain}
.ap-drawer.is-open .ap-drawer__panel{transform:none}
.ap-drawer__head{display:flex;align-items:center;justify-content:space-between;padding:18px 20px;border-bottom:1px solid rgba(20,26,43,.1)}
.ap-drawer__logo{color:var(--navy);line-height:0}
.ap-drawer__logo .ap-logo__svg{width:112px;transform:none !important;animation:none !important}
.ap-drawer__close{width:40px;height:40px;display:grid;place-items:center;border:0;border-radius:50%;background:var(--mist);color:var(--ink);cursor:pointer}
.ap-drawer__close svg{width:13px;height:13px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round}
.ap-drawer__list{list-style:none;margin:0;padding:12px 20px;display:flex;flex-direction:column}
.ap-drawer__list > li{border-bottom:1px solid rgba(20,26,43,.1)}
.ap-drawer__list > li > a,.ap-drawer__toggle{display:flex;align-items:center;justify-content:space-between;width:100%;padding:18px 0;border:0;background:none;text-align:left;font-family:var(--font-head);font-weight:500;font-size:24px;letter-spacing:.6px;color:var(--navy);text-decoration:none;cursor:pointer}
.ap-drawer__toggle .ap-nav__chev{width:14px;height:9px;transition:transform .3s var(--ease)}
.ap-drawer__toggle[aria-expanded="true"] .ap-nav__chev{transform:rotate(180deg)}
.ap-drawer__list a[aria-current="page"]{color:var(--royal)}
.ap-drawer__sub{list-style:none;margin:0 0 14px;padding:4px 0 4px 14px;border-left:2px solid var(--mist);display:flex;flex-direction:column}
.ap-drawer__sub[hidden]{display:none}
.ap-drawer__sub a{display:flex;align-items:center;gap:10px;padding:9px 0;font-family:var(--font-body);font-size:16px;color:var(--ink);text-decoration:none}
.ap-drawer__sub a:hover,.ap-drawer__sub a[aria-current="page"]{color:var(--royal)}
.ap-drawer__sub .ap-svc__dot{width:8px;height:8px;margin:0}
.ap-drawer__sos{font-weight:500}
.ap-drawer__foot{margin-top:auto;padding:20px;display:flex;flex-direction:column;gap:12px;background:var(--mist)}
.ap-drawer__foot .ap-btn{width:100%}
.ap-drawer a:focus-visible,.ap-drawer button:focus-visible{outline:2px solid var(--bright);outline-offset:3px}
html.is-drawer-open,html.is-drawer-open body{overflow:hidden}
@media (prefers-reduced-motion:reduce){.ap-drawer__panel,.ap-drawer__scrim{transition:none}}
@media (max-width:900px){
  .ap-burger{display:block}
  .ap-header .ap-nav > .ap-btn--ghost.ap-btn--sm{display:none}
}
.is-capture .ap-drawer{display:none}

/* ===== Legal pages (Privacy, Terms), 2026-11-12: Ink title band under the header, then a single readable
   column. Legal headings are smaller than section H2s on purpose (long documents, many headings). ===== */
.ap-legal-hero{padding:calc(var(--nav-h) + 72px) 0 64px;background:var(--ink);color:var(--white)}
.ap-legal-hero__title{margin:0;font-family:var(--font-head);font-weight:500;font-size:var(--h2-size);line-height:1.02;letter-spacing:1.2px;text-transform:uppercase;color:var(--white)}
.ap-legal{padding:72px 0 120px;background:var(--white)}
.ap-legal__body{max-width:760px}
.ap-legal__body h2{margin:48px 0 14px;font-family:var(--font-head);font-weight:500;font-size:var(--h3-size);line-height:1.15;letter-spacing:.5px;color:var(--navy)}
.ap-legal__body h3{margin:28px 0 10px;font-family:var(--font-head);font-weight:500;font-size:21px;line-height:1.2;color:var(--navy)}
.ap-legal__body p,.ap-legal__body li{font-size:16px;line-height:1.7;color:var(--ink)}
.ap-legal__body p{margin:0 0 16px}
.ap-legal__body ul,.ap-legal__body ol{margin:0 0 16px;padding-left:22px}
.ap-legal__body a{color:var(--royal);text-decoration:underline;text-underline-offset:3px}
.ap-legal__pending{padding:28px 32px;border-radius:20px;background:var(--mist);border:1px dashed rgba(34,87,199,.35)}
.ap-legal__pending .ap-eyebrow{margin:0 0 6px}
.ap-legal__pending p:last-child{margin:0}
/* footer legal link for the current page */
.ap-footer__legal a[aria-current="page"]{color:var(--white);text-decoration:underline}
@media (max-width:900px){.ap-legal-hero{padding:calc(var(--nav-h) + 40px) 0 44px}.ap-legal{padding:48px 0 80px}.ap-legal__pending{padding:22px 20px}}
.ap-legal__updated{margin:28px 0 24px !important;font-size:14px !important;color:rgba(20,26,43,.6) !important}
.ap-legal__body > h2:first-of-type{margin-top:32px}

/* Reviews on a white section (Vivian 2026-11-13): same card, colors swapped (grey card, white cut-out) */
.ap-reviews.ap-reviews--white{background:var(--white)}
.ap-reviews--white .ap-rc{background:var(--mist);--cut:var(--white)}
/* Live Google reviews (Trustindex): the widget loads off-screen and is rebuilt as .ap-rc cards; shown as is only if that fails */
.ap-reviews__source{position:absolute;left:0;top:0;width:1200px;max-width:100vw;height:0;overflow:hidden;opacity:0;pointer-events:none}
.ap-reviews.is-ti-fallback .ap-reviews__source{position:static;height:auto;opacity:1;pointer-events:auto;width:auto}
.ap-reviews.is-ti-fallback .ap-reviews__actions,.ap-reviews.is-ti-fallback .ap-reviews__track,.ap-reviews.is-ti-fallback .ap-rv4__bars{display:none}
.ap-reviews--live{position:relative}

/* Mobile fixes (Vivian 2026-11-13) */
@media (max-width:900px){
  /* About: "Why Homeowners" box becomes a full card below the photo */
  .ap-about__media{display:flex;flex-direction:column;gap:12px;aspect-ratio:auto;min-height:0;overflow:visible;background:none;border-radius:0}
  .ap-about__media img{position:relative;inset:auto;width:100%;height:auto;aspect-ratio:4/3}
  .ap-about__tag{position:static;max-width:none;width:100%}
  .ap-about__tag .ap-why__title{box-shadow:none;width:100%;max-width:none;box-sizing:border-box;border-radius:20px}
  /* Reviews: one full-width card at a time */
  .ap-reviews__list{grid-auto-columns:100%}
}
/* Drawer Services sub-list opens and closes smoothly */
.ap-drawer__sub{overflow:hidden;transition:height .32s var(--ease),opacity .25s ease}
@media (prefers-reduced-motion:reduce){.ap-drawer__sub{transition:none}}

/* ===== services/services.css (static build, unchanged) ===== */
/* Service Hub (/services/). Loads after ../styles.css; every section is a homepage component (Vivian 2026-11-12:
   keep the hub consistent with the homepage). Only the inner-page differences live here.
   Copy: Service Hub doc 1dyUdWuRau5yWlMulJ3DPm0VlnfQ9slyP8i0HOaY6wSg (verbatim). */

/* Hero, inner page: same layout, scrim and type as the homepage hero, a little shorter */
.ap-hero--page .ap-hero__frame{min-height:680px}
.ap-hero--page .ap-hero__bg{object-position:50% 60%}

/* Trust strip: the doc's trust line has three items, so three columns */
.ap-trust.ap-trust--3{grid-template-columns:repeat(3,minmax(0,1fr))}

/* Property managers card: the photo is the van, keep it in the clear left side */
#property-managers .ap-cta__img{object-position:20% 55%}

@media (max-width:900px){
  .ap-trust.ap-trust--3{grid-template-columns:minmax(0,1fr)}
  .ap-trust.ap-trust--3 p{padding:14px 0;border-left:0 !important;padding-left:0 !important;border-top:0}
  .ap-trust.ap-trust--3 p+p{border-top:1px solid rgba(20,26,43,.14)}
}

/* Where We Work, light: the homepage map + city list on white, so it does not run into the Ink closing band */
.ap-areas.ap-areas--light{background:var(--white);color:var(--ink)}
.ap-areas--light .ap-h2.ap-areas__title{color:var(--ink)}
.ap-areas--light .ap-areas__intro p{color:var(--ink)}
.ap-areas--light .ap-areas__list{border-top-color:rgba(20,26,43,.14)}
.ap-areas--light .ap-areas__list li{border-bottom-color:rgba(20,26,43,.14)}
.ap-areas--light .ap-areas__city{color:rgba(20,26,43,.45)}
.ap-areas--light .ap-areas__city:hover,.ap-areas--light .ap-areas__city.is-active{color:var(--navy)}

/* mobile hero: show the tub, not just the windows */
@media (max-width:900px){.ap-hero--page .ap-hero__bg{object-position:58% 78%}}

/* Two-line H2s set by Vivian (2026-11-12): each .ap-l is one line on desktop; on mobile they wrap naturally */
@media (min-width:901px){.ap-l{display:block;white-space:nowrap}}
.ap-l{display:block}
/* the services title column fits its two lines; the head stacks before the intro gets too narrow */
@media (min-width:1261px){.ap-services__head{grid-template-columns:max-content minmax(0,1fr)}}
@media (min-width:901px) and (max-width:1260px){.ap-services__head{grid-template-columns:minmax(0,1fr);gap:20px}.ap-services__intro{margin-top:0}}

/* ================= Service page components (Water Heaters first, 2026-11-12) =================
   Built from homepage tokens: round Mist icon circles with Royal line icons (trust strip), 20px card radius,
   Barlow Condensed H3 at --h3-size in Navy, 16px body. Section backgrounds alternate white / Mist. */

/* Signs: Mist section, homepage head, then photo left + white cards right (About / Why layout) */
.ap-signs{padding:112px 0 120px;background:var(--mist)}
.ap-signs__body{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:72px;align-items:stretch}
.ap-signs__media{position:relative;margin:0;min-height:420px;border-radius:20px;overflow:hidden;background:var(--white)}
.ap-signs__media img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:50% 40%}
.ap-signs__list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:20px}
.ap-sign{flex:1;display:grid;grid-template-columns:56px minmax(0,1fr);gap:20px;align-items:start;padding:28px 28px 28px 24px;border-radius:20px;background:var(--white)}
.ap-sign__icon{flex:none;width:56px;height:56px;display:grid;place-items:center;border-radius:50%;background:var(--mist)}
.ap-sign__icon svg{width:26px;height:26px;fill:none;stroke:var(--royal);stroke-width:2.8;stroke-linecap:round;stroke-linejoin:round}
.ap-sign__title,.ap-card__title{margin:0 0 10px;font-family:var(--font-head);font-weight:500;font-size:var(--h3-size);line-height:1.1;letter-spacing:.5px;color:var(--navy);text-wrap:balance}
.ap-sign p,.ap-card p{margin:0;font-size:16px;line-height:1.65;color:var(--ink)}

/* Services cards: white section, Mist cards in a 2 x 2 grid, white icon circles */
.ap-svcs .ap-services__head{margin-bottom:56px}
.ap-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
.ap-card{display:flex;flex-direction:column;gap:20px;padding:36px;border-radius:20px;background:var(--mist)}
.ap-card .ap-sign__icon{background:var(--white)}
.ap-card__title{margin:0}

/* Tank vs tankless table: Mist section, white table card, Ink header row */
.ap-compare{padding:112px 0 120px;background:var(--mist)}
.ap-table{border-radius:20px;overflow:hidden;background:var(--white)}
.ap-table table{width:100%;border-collapse:collapse;table-layout:fixed}
.ap-table thead th,.ap-table thead td{padding:24px 32px;background:var(--ink);color:var(--white);text-align:left;font-family:var(--font-head);font-weight:500;font-size:var(--h3-size);line-height:1.1;letter-spacing:.5px}
.ap-table thead td{width:24%}
.ap-table tbody th{padding:24px 32px;text-align:left;vertical-align:top;font-family:var(--font-head);font-weight:500;font-size:20px;line-height:1.3;letter-spacing:.4px;color:var(--navy)}
.ap-table tbody td{padding:24px 32px;vertical-align:top;font-size:16px;line-height:1.65;color:var(--ink)}
.ap-table tbody tr+tr > *{border-top:1px solid rgba(20,26,43,.12)}
.ap-table tbody td+td{border-left:1px solid rgba(20,26,43,.12)}
.ap-table tbody td:nth-child(2){border-left:1px solid rgba(20,26,43,.12)}

/* Repair or replace: the homepage About-teaser head on its own, white */
.ap-pair{padding:112px 0 120px;background:var(--white)}
.ap-pair .ap-about__top{margin-bottom:0}

/* Urgent: the homepage emergency card as its own band (Mist around the Ink card) */
.ap-urgent-wrap{padding:112px 0 120px;background:var(--mist)}
.ap-urgent{position:relative;isolation:isolate;overflow:hidden;display:grid;grid-template-columns:minmax(0,5fr) minmax(0,6fr);gap:56px;align-items:center;min-height:326px;padding:36px 40px;border-radius:20px;background:var(--ink);color:var(--white)}
.ap-urgent .ap-svc__layers{z-index:-1}
.ap-urgent__van{position:relative;display:block;width:100%;max-width:540px;height:auto;justify-self:center;filter:drop-shadow(0 22px 18px rgba(0,0,0,.4));transition:transform .7s var(--ease)}
.ap-urgent:hover .ap-urgent__van{transform:translateX(10px)}
.ap-urgent__body{display:flex;flex-direction:column;align-items:flex-start;gap:16px}
.ap-urgent__title{margin:0;display:flex;align-items:flex-start;gap:12px;font-family:var(--font-head);font-weight:500;font-size:var(--h3-size);line-height:1.1;letter-spacing:.5px;color:var(--white);text-wrap:balance}
.ap-urgent__body p{margin:0 0 8px;font-size:16px;line-height:1.65;color:var(--white)}

/* the Where We Work section follows Process (Mist) and precedes the Mist urgent band, so it stays white */

@media (max-width:1100px){.ap-signs__body{gap:40px}.ap-urgent{gap:32px}}
@media (max-width:1260px){.ap-signs .ap-services__head,.ap-compare .ap-services__head{grid-template-columns:minmax(0,1fr);gap:20px}.ap-signs .ap-services__intro,.ap-compare .ap-services__intro{margin-top:0}}
@media (max-width:900px){
  .ap-signs,.ap-compare,.ap-pair,.ap-urgent-wrap{padding:72px 0 80px}
  .ap-svcs .ap-services__head{margin-bottom:36px}
  .ap-signs__body{grid-template-columns:minmax(0,1fr);gap:16px}
  .ap-signs__media{min-height:0;aspect-ratio:4/3}
  .ap-sign{grid-template-columns:44px minmax(0,1fr);gap:16px;padding:22px 20px}
  .ap-sign__icon{width:44px;height:44px}
  .ap-sign__icon svg{width:21px;height:21px}
  .ap-cards{grid-template-columns:minmax(0,1fr);gap:16px}
  .ap-card{padding:26px 22px;gap:16px}
  /* table: each row becomes a block, the column names come from the header cells (data-label) */
  .ap-table thead{display:none}
  .ap-table table,.ap-table tbody,.ap-table tr,.ap-table th,.ap-table td{display:block;width:auto}
  .ap-table tbody tr{padding:22px 22px 6px}
  .ap-table tbody tr+tr{border-top:1px solid rgba(20,26,43,.12)}
  .ap-table tbody tr+tr > *{border-top:0}
  .ap-table tbody th{padding:0 0 12px;font-size:var(--h3-size)}
  .ap-table tbody td{padding:0 0 16px;border-left:0 !important}
  .ap-table tbody td::before{content:attr(data-label);display:block;margin-bottom:2px;font-family:var(--font-head);font-weight:500;font-size:15px;letter-spacing:1.5px;text-transform:uppercase;color:var(--royal)}
  .ap-urgent{display:block;min-height:0;padding:0}
  .ap-urgent__van{width:100%;max-width:none;padding:28px 24px 0}
  .ap-urgent .ap-svc__layers::before{width:300px;height:300px;left:calc(50% - 150px);top:-40px}
  .ap-urgent .ap-svc__layers::after{width:460px;height:460px;left:calc(50% - 230px);top:-120px}
  .ap-urgent__body{padding:20px 24px 28px}
  .ap-urgent__body .ap-btn{width:100%}
}
/* the urgent heading is an H2 in the doc: shared H2 size, white, Red dot in front */
.ap-h2.ap-urgent__title{display:flex;align-items:flex-start;gap:16px;font-size:var(--h2-size);line-height:1.02;letter-spacing:1.2px;text-transform:uppercase;color:var(--white)}
.ap-h2.ap-urgent__title .ap-svc__dot{margin-top:.32em}

/* H1 set to exact lines by Vivian (2026-11-12): one span per line on desktop; the H1 may run wider than the
   640px text column, the paragraph and buttons keep 640px. Mobile wraps naturally. */
@media (min-width:901px){
  .ap-hero__main:has(.ap-h1--lines){max-width:none}
  .ap-hero__main:has(.ap-h1--lines) .ap-hero__side{max-width:640px}
  .ap-h1--lines > span{display:block;white-space:nowrap}
}

/* ===== Water Heaters round 2 (Vivian, 2026-11-12) ===== */
/* Head rows on service pages: intro starts on the same line as the column below it (e.g. the first sign card) */
.ap-signs .ap-services__head,.ap-compare .ap-services__head{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:20px 72px}

/* Urgent card: eyebrow carries the pulsing Red dot, so eyebrow, heading, paragraph and button share one left edge */
.ap-urgent__eyebrow{gap:12px}
.ap-urgent__eyebrow .ap-svc__dot{width:10px;height:10px;margin:0}
.ap-urgent__eyebrow .ap-eyebrow__line{display:none}
.ap-urgent__body{gap:0}
.ap-urgent__body .ap-urgent__eyebrow{margin-bottom:12px}
.ap-urgent__body .ap-urgent__title{margin-bottom:20px}
.ap-urgent__body p{margin:0 0 28px}
.ap-urgent{padding:48px 56px 48px 40px}

/* Your Options: homepage photo card (opens to full width on scroll); two paragraphs share the body column */
.ap-cta--options .ap-cta__body{gap:16px}
.ap-cta--options .ap-cta__body p + p{margin-top:0}

/* Tank vs tankless, reference layout: Ink section, row labels in caps on the left, the tank column plain,
   the tankless column in a raised card; rows slide in on scroll (compare-reveal.js) */
.ap-compare.ap-compare--dark{background:var(--ink);color:var(--white)}
.ap-compare--dark .ap-h2{color:var(--white)}
.ap-compare--dark .ap-services__intro p{color:var(--mist)}
.ap-cmp{position:relative}
.ap-cmp table{width:100%;border-collapse:separate;border-spacing:0;table-layout:fixed}
.ap-cmp thead td{width:28%}
.ap-cmp thead th{padding:36px 28px 32px;text-align:left;vertical-align:bottom;font-family:var(--font-head);font-weight:500;font-size:20px;letter-spacing:2.5px;text-transform:uppercase;color:rgba(243,246,251,.6)}
.ap-cmp thead th.ap-cmp__hi{font-size:var(--h3-size);letter-spacing:.5px;text-transform:none;color:var(--white)}
.ap-cmp tbody th,.ap-cmp tbody td{padding:26px 28px;vertical-align:top;border-top:1px solid rgba(255,255,255,.12)}
.ap-cmp tbody th{padding-left:0;text-align:left;font-family:var(--font-head);font-weight:500;font-size:20px;line-height:1.4;letter-spacing:1.5px;text-transform:uppercase;color:var(--white)}
.ap-cmp tbody td{font-size:16px;line-height:1.65;color:rgba(243,246,251,.75)}
/* the raised card: lighter Ink panel behind the tankless column, rounded at its top and bottom */
.ap-cmp .ap-cmp__hi{background:#232B42;color:var(--white)}
.ap-cmp thead .ap-cmp__hi{border-radius:20px 20px 0 0}
.ap-cmp tbody tr:last-child .ap-cmp__hi{border-radius:0 0 20px 20px}
.ap-cmp tbody td.ap-cmp__hi{position:relative;padding-left:60px;border-top-color:rgba(255,255,255,.1)}
.ap-cmp__mark{position:absolute;left:24px;top:28px;width:22px;height:22px;border-radius:50%;background:var(--royal);box-shadow:0 0 0 4px rgba(34,87,199,.25)}
.ap-cmp__mark::after{content:"";position:absolute;left:50%;top:50%;width:6px;height:6px;border-radius:50%;background:var(--white);transform:translate(-50%,-50%)}
.ap-cmp table{filter:drop-shadow(0 24px 40px rgba(0,0,0,.25))}
/* scroll reveal (only when JS armed it, so the table is never hidden without JS) */
.ap-cmp.is-armed .ap-cmp__row,.ap-cmp.is-armed thead tr{opacity:0;transform:translateY(18px);transition:opacity .6s var(--ease),transform .6s var(--ease)}
.ap-cmp.is-in .ap-cmp__row,.ap-cmp.is-in thead tr{opacity:1;transform:none}
.ap-cmp.is-in .ap-cmp__row:nth-child(1){transition-delay:.12s}
.ap-cmp.is-in .ap-cmp__row:nth-child(2){transition-delay:.24s}
.ap-cmp.is-in .ap-cmp__row:nth-child(3){transition-delay:.36s}
.ap-cmp.is-in .ap-cmp__row:nth-child(4){transition-delay:.48s}

@media (max-width:900px){
  .ap-urgent{padding:0}
  .ap-urgent__body{padding:20px 24px 28px}
  /* table scrolls sideways on phones; the row labels stay pinned on the left */
  .ap-cmp{overflow-x:auto;margin-right:-20px;padding-right:20px;scrollbar-width:none}
  .ap-cmp::-webkit-scrollbar{display:none}
  .ap-cmp table{min-width:640px;filter:none}
  .ap-cmp thead td{width:130px}
  .ap-cmp tbody th{position:sticky;left:0;z-index:1;background:var(--ink);padding-right:16px;font-size:16px;letter-spacing:1px}
  .ap-cmp thead td{position:sticky;left:0;z-index:1;background:var(--ink)}
  .ap-cmp thead th{padding:24px 20px 20px;font-size:16px}
  .ap-cmp tbody th,.ap-cmp tbody td{padding-top:20px;padding-bottom:20px}
  .ap-cmp tbody td{padding-left:20px;padding-right:20px}
  .ap-cmp tbody td.ap-cmp__hi{padding-left:52px}
  .ap-cmp__mark{left:18px;top:22px}
  .ap-signs .ap-services__head,.ap-compare .ap-services__head{grid-template-columns:minmax(0,1fr)}
}

/* Water Heater Services as the homepage photo cards (Vivian, 2026-11-12): three photo cards plus a full-width
   fourth card, the same pattern as the homepage emergency row. Cards are not links (the doc has none), so the
   corner arrow is decoration only; the copy reveals on hover and shows under the title on mobile. */
.ap-svcs--photo .ap-services__head{margin-bottom:56px}
.ap-svc--static{cursor:default}
.ap-svc--static:active{transform:none}
.ap-svc--annual{--svc-accent:var(--royal)}
.ap-svc__bigicon{position:relative;z-index:1;justify-self:center;width:200px;height:200px;display:grid;place-items:center;border-radius:50%;background:rgba(255,255,255,.06);box-shadow:inset 0 0 0 1px rgba(255,255,255,.12)}
.ap-svc__bigicon svg{width:84px;height:84px;fill:none;stroke:var(--white);stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
@media (max-width:900px){.ap-svcs--photo .ap-services__head{margin-bottom:36px}.ap-svc__bigicon{display:flex;margin:28px auto 0;width:120px;height:120px}.ap-svc__bigicon svg{width:52px;height:52px}}
/* urgent heading has no dot now: plain block so its two lines stack */
.ap-h2.ap-urgent__title{display:block}
/* phones: set line breaks give orphans (a lone "FOR"), so headings wrap naturally and balanced there */
@media (max-width:900px){.ap-l{display:inline}.ap-h2{text-wrap:balance}}

/* Signs, three in a row (Vivian 2026-11-12): no photo; each white card has its round icon cropped into the top
   edge, sitting in a Mist cut-out ring like the homepage Why cards and service-card notch */
.ap-signs__body--row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;padding-top:36px}
.ap-signs__body--row .ap-signs__list{display:contents}
.ap-signs__body--row .ap-sign{position:relative;display:block;padding:60px 32px 36px}
.ap-signs__body--row .ap-sign__icon{position:absolute;left:32px;top:-36px;width:72px;height:72px;background:var(--white);box-shadow:0 0 0 10px var(--mist)}
.ap-signs__body--row .ap-sign__icon svg{width:30px;height:30px}
.ap-signs__body--row .ap-sign__title{margin-bottom:12px}
@media (max-width:1100px){.ap-signs__body--row{grid-template-columns:minmax(0,1fr);gap:56px}}
@media (max-width:900px){.ap-signs__body--row{padding-top:32px;gap:52px}.ap-signs__body--row .ap-sign{padding:52px 22px 28px}.ap-signs__body--row .ap-sign__icon{left:22px;top:-32px;width:64px;height:64px;box-shadow:0 0 0 8px var(--mist)}.ap-signs__body--row .ap-sign__icon svg{width:26px;height:26px}}
/* parallel cards: titles hold two lines so all three paragraphs start level */
@media (min-width:1101px){.ap-signs__body--row .ap-sign__title{min-height:calc(2 * 1.1em)}}

/* Water Heater Services, simple (Vivian 2026-11-12): the cards are not links, so no notch, arrow or hover fill.
   Photo on top, title and copy below, 2 x 2. */
.ap-simple-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:56px 40px}
.ap-simple{display:flex;flex-direction:column}
.ap-simple__media{margin:0 0 28px;aspect-ratio:16/10;border-radius:20px;overflow:hidden;background:var(--mist)}
.ap-simple__media img{display:block;width:100%;height:100%;object-fit:cover}
.ap-simple__title{margin:0 0 12px;font-family:var(--font-head);font-weight:500;font-size:var(--h3-size);line-height:1.1;letter-spacing:.5px;color:var(--navy)}
.ap-simple p{margin:0;font-size:16px;line-height:1.65;color:var(--ink)}
@media (max-width:900px){.ap-simple-grid{grid-template-columns:minmax(0,1fr);gap:40px}.ap-simple__media{margin-bottom:20px;border-radius:18px}}
/* four in a row (Vivian 2026-11-12): smaller photos, tighter gaps; two per row on tablet, one on phones */
.ap-simple-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:40px 24px}
.ap-simple__media{aspect-ratio:4/5;margin-bottom:24px}
.ap-simple__title{text-wrap:balance;min-height:calc(2 * 1.1em)}
@media (max-width:1100px){.ap-simple-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:48px 24px}.ap-simple__media{aspect-ratio:4/3}}
@media (max-width:900px){.ap-simple-grid{grid-template-columns:minmax(0,1fr);gap:40px}.ap-simple__title{min-height:0}}

/* Water Heater Services v4 (Vivian 2026-11-12): homepage card shape, four in a row; the notch holds the
   service's own icon instead of the arrow (cards are not links); hover fills Royal and shows the full copy */
.ap-services__grid--4{grid-template-columns:repeat(4,minmax(0,1fr))}
.ap-services__grid--4 .ap-svc{min-height:520px;padding:28px}
.ap-svc--icon .ap-svc__go svg{width:26px;height:26px;stroke:var(--royal);stroke-width:2.6}
.ap-svc--icon:hover .ap-svc__go svg{transform:none}
.ap-svc--icon .ap-svc__title{font-size:var(--h3-size)}
/* photo hover zoom removed (Vivian 2026-11-13) */
@media (max-width:1260px){.ap-services__grid--4{grid-template-columns:repeat(2,minmax(0,1fr))}.ap-services__grid--4 .ap-svc{min-height:440px}}
@media (max-width:900px){.ap-services__grid--4{grid-template-columns:minmax(0,1fr)}.ap-services__grid--4 .ap-svc{min-height:0;padding:0}}

/* Tank vs tankless v3 (Vivian 2026-11-12): both options on the same level, no highlight. Simple, clean,
   easy to read: Mist section, one white card, equal columns, hairline rows, dark text on white. */
.ap-cmp--even{background:var(--white);border-radius:20px;padding:12px 40px 16px}
.ap-cmp--even table{filter:none}
.ap-cmp--even thead td{width:22%}
.ap-cmp--even thead th{padding:28px 24px 24px;vertical-align:middle;font-family:var(--font-head);font-weight:500;font-size:var(--h3-size);line-height:1.1;letter-spacing:.5px;text-transform:none;color:var(--navy)}
.ap-cmp--even thead th .ap-cmp__icon{display:inline-grid;place-items:center;width:48px;height:48px;margin-right:14px;vertical-align:middle;border-radius:50%;background:var(--mist)}
.ap-cmp--even thead th .ap-cmp__icon svg{width:24px;height:24px;fill:none;stroke:var(--royal);stroke-width:2.6;stroke-linecap:round;stroke-linejoin:round}
.ap-cmp--even tbody th,.ap-cmp--even tbody td{padding:24px;border-top:1px solid rgba(20,26,43,.12);background:none}
.ap-cmp--even tbody th{padding-left:0;font-family:var(--font-head);font-weight:500;font-size:17px;line-height:1.5;letter-spacing:2px;text-transform:uppercase;color:var(--royal)}
.ap-cmp--even tbody td{font-size:16px;line-height:1.65;color:var(--ink)}
.ap-cmp--even tbody td + td{border-left:0}
@media (max-width:900px){
  .ap-cmp--even{overflow:visible;margin:0;padding:4px 22px 8px}
  .ap-cmp--even table{min-width:0}
  .ap-cmp--even thead{display:none}
  .ap-cmp--even table,.ap-cmp--even tbody,.ap-cmp--even tr,.ap-cmp--even tbody th,.ap-cmp--even tbody td{display:block;width:auto}
  .ap-cmp--even tbody tr{padding:20px 0 4px}
  .ap-cmp--even tbody tr + tr{border-top:1px solid rgba(20,26,43,.12)}
  .ap-cmp--even tbody th,.ap-cmp--even tbody td{position:static;padding:0 0 14px;border-top:0;background:none}
  .ap-cmp--even tbody th{font-size:15px}
  .ap-cmp--even tbody td::before{content:attr(data-label);display:block;margin-bottom:2px;font-family:var(--font-head);font-weight:500;font-size:19px;letter-spacing:.4px;color:var(--navy)}
}
/* phones: keep the header row for screen readers (visually hidden, not removed) */
@media (max-width:900px){.ap-cmp--even thead{display:table-header-group;position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap}}

/* Your Options v3 (Vivian 2026-11-12): photo left, words right; white section between the Mist table and Mist process */
.ap-split{padding:112px 0 120px;background:var(--white)}
.ap-split__grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:72px;align-items:center}
.ap-split__media{position:relative;margin:0;aspect-ratio:5/4;border-radius:20px;overflow:hidden;background:var(--mist)}
.ap-split__media img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.ap-split__text{display:flex;flex-direction:column;gap:16px}
.ap-split__titles{display:flex;flex-direction:column;gap:18px;margin-bottom:12px}
.ap-split__text > p{margin:0;font-size:16px;line-height:1.65;color:var(--ink)}
@media (max-width:1100px){.ap-split__grid{gap:40px}}
@media (max-width:900px){.ap-split{padding:72px 0 80px}.ap-split__grid{grid-template-columns:minmax(0,1fr);gap:28px}.ap-split__media{aspect-ratio:4/3}}

/* Your Options v4 (Vivian 2026-11-12): dark blue (Navy) call-to-action band, closing-band rings, no photo.
   Two columns bottom-aligned: eyebrow + H2 left, both paragraphs right behind a thin divider, one 16px size. */
.ap-band{position:relative;overflow:hidden;padding:112px 0 120px;background:var(--navy);color:var(--white)}
.ap-band .ap-wrap{position:relative}
.ap-band__grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:72px;align-items:end}
.ap-band__head{display:flex;flex-direction:column;gap:18px}
.ap-h2.ap-band__title{color:var(--white)}
.ap-band__body{display:flex;flex-direction:column;gap:16px;padding-left:40px;border-left:1px solid rgba(255,255,255,.22)}
.ap-band__body p{margin:0;font-size:16px;line-height:1.65;color:var(--mist)}
@media (max-width:1100px){.ap-band__grid{gap:40px}.ap-band__body{padding-left:28px}}
@media (max-width:900px){.ap-band{padding:72px 0 80px}.ap-band__grid{grid-template-columns:minmax(0,1fr);gap:28px}.ap-band__body{padding:24px 0 0;border-left:0;border-top:1px solid rgba(255,255,255,.22)}}
/* bulb icon on the Your Options band (Vivian 2026-11-12): homepage round icon, white line on a soft white circle */
.ap-band__icon{display:grid;place-items:center;width:64px;height:64px;margin-bottom:10px;border-radius:50%;background:rgba(255,255,255,.08);box-shadow:inset 0 0 0 1px rgba(255,255,255,.18)}
.ap-band__icon svg{width:30px;height:30px;fill:none;stroke:var(--white);stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round}
@media (max-width:900px){.ap-band__icon{width:56px;height:56px}.ap-band__icon svg{width:26px;height:26px}}
.ap-band__icon svg{width:34px;height:34px;stroke-width:2.2}
@media (max-width:900px){.ap-band__icon svg{width:30px;height:30px}}

/* ===== Water Softeners page (2026-11-12) ===== */
/* Common problems: the doc has bold lead-ins in a list, so the lead is <strong> in the paragraph, styled like the sign titles */
.ap-sign__lead{margin:0;font-size:16px;line-height:1.65;color:var(--ink)}
.ap-sign__lead .ap-sign__title{display:block;margin-bottom:12px;min-height:0}
@media (min-width:1101px){.ap-signs__body--row .ap-sign__lead .ap-sign__title{min-height:calc(2 * 1.1em)}}
ul.ap-signs__body--row{list-style:none;margin:0;padding-left:0;padding-right:0}
/* FAQ on Mist when it follows a white section */
.ap-faq.ap-faq--mist{background:var(--mist)}
.ap-services__grid--4 .ap-svc--emergency{min-height:300px;padding:36px 40px}
@media (max-width:900px){.ap-services__grid--4 .ap-svc--emergency{min-height:0;padding:0}}
/* problem leads all fit one line: no two-line reserve */
@media (min-width:1101px){.ap-signs__body--row .ap-sign__lead .ap-sign__title{min-height:0}}
/* Softener services 3 x 2 (Vivian 2026-11-12): five identical photo cards, three per row, left-aligned (no centering) */
@media (min-width:1261px){
  .ap-services__grid--3x2{grid-template-columns:repeat(3,minmax(0,1fr))}
  .ap-services__grid--3x2 .ap-svc{min-height:390px}
}
@media (min-width:901px) and (max-width:1260px){.ap-services__grid--3x2 .ap-svc{min-height:380px}}

/* ================= Remaining pages (Emergency, Plumbing Repair, About, Contact), 2026-11-12 ================= */
/* Checklist split: H2 + paragraphs left, white card with check items right (doc lists with bold lead-ins) */
.ap-checks{padding:112px 0 120px}
.ap-checks--white{background:var(--white)}
.ap-checks--mist{background:var(--mist)}
.ap-checks__grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:72px;align-items:center}
.ap-checks__text{display:flex;flex-direction:column;gap:16px}
.ap-checks__text .ap-services__titles{margin-bottom:12px}
.ap-checks__text > p{margin:0;font-size:16px;line-height:1.65;color:var(--ink)}
.ap-check__card{padding:36px 40px;border-radius:20px;background:var(--mist)}
.ap-checks--mist .ap-check__card{background:var(--white)}
.ap-check__intro{margin:0 0 20px;font-size:16px;line-height:1.65;color:var(--ink)}
.ap-check__list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column}
.ap-check__list li{display:grid;grid-template-columns:32px minmax(0,1fr);gap:14px;align-items:start;padding:16px 0;border-top:1px solid rgba(20,26,43,.12)}
.ap-check__list li:first-child{border-top:0;padding-top:0}
.ap-check__list li:last-child{padding-bottom:0}
.ap-check__icon{width:32px;height:32px;display:grid;place-items:center;border-radius:50%;background:var(--royal)}
.ap-check__icon svg{width:16px;height:16px;fill:none;stroke:var(--white);stroke-width:2.6;stroke-linecap:round;stroke-linejoin:round}
.ap-check__list p{margin:3px 0 0;font-size:16px;line-height:1.6;color:var(--ink)}
.ap-check__list strong{font-family:var(--font-head);font-weight:500;font-size:19px;letter-spacing:.3px;color:var(--navy)}

/* Process steps whose doc items are bold lead-ins (While You Wait), plus an intro under the H2 */
.ap-step__lead{margin:0;font-size:16px;line-height:1.65;color:var(--ink)}
.ap-step__lead .ap-step__title{display:block;margin-bottom:10px}
.ap-process__intro{margin:0;font-size:16px;line-height:1.65;color:var(--ink)}

/* Paragraph after a row of sign cards */
.ap-signs__after{max-width:860px;margin:40px 0 0;font-size:16px;line-height:1.65;color:var(--ink)}

/* License cards: the number is the big line */
.ap-licenses .ap-sign__lead{display:flex;flex-direction:column}
.ap-license{display:block;font-family:var(--font-head);font-weight:500;font-size:40px;line-height:1.1;letter-spacing:1px;color:var(--royal)}
.ap-licenses .ap-sign__title{margin-bottom:6px}
@media (min-width:1101px){.ap-licenses .ap-sign__lead .ap-sign__title{min-height:calc(2 * 1.1em)}}

/* Contact: form card left, Ink emergency card right */
.ap-contact{padding:96px 0 120px;background:var(--mist)}
.ap-contact__grid{display:grid;grid-template-columns:minmax(0,7fr) minmax(0,5fr);gap:24px;align-items:stretch}
.ap-contact__form{padding:44px 48px;border-radius:20px;background:var(--white)}
.ap-contact__title,.ap-contact__sostitle{margin:0 0 12px;font-family:var(--font-head);font-weight:500;font-size:var(--h3-size);line-height:1.1;letter-spacing:.5px;color:var(--navy)}
.ap-contact__form > p{margin:0 0 28px;font-size:16px;line-height:1.65;color:var(--ink)}
.ap-form{display:flex;flex-direction:column;gap:18px;align-items:flex-start}
.ap-form__row{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:18px;width:100%}
.ap-field{display:flex;flex-direction:column;gap:8px;width:100%}
.ap-field span{font-family:var(--font-head);font-weight:500;font-size:16px;letter-spacing:1px;text-transform:uppercase;color:var(--navy)}
.ap-field input,.ap-field textarea,.ap-field select{width:100%;padding:14px 16px;border:1px solid rgba(20,26,43,.18);border-radius:12px;background:var(--white);font:inherit;font-size:16px;color:var(--ink);transition:border-color .2s ease,box-shadow .2s ease}
.ap-field textarea{resize:vertical;min-height:140px}
/* Service select (Vivian 2026-11-13): same box as the inputs, Royal chevron */
.ap-field select{-webkit-appearance:none;appearance:none;cursor:pointer;padding-right:44px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 8' fill='none' stroke='%232257C7' stroke-width='1.6'%3E%3Cpath d='M1 1l6 6 6-6'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 18px center;background-size:14px 8px}
.ap-field select:invalid{color:rgba(20,26,43,.55)}
.ap-field[hidden]{display:none}
.ap-field input:focus,.ap-field textarea:focus,.ap-field select:focus{outline:none;border-color:var(--royal);box-shadow:0 0 0 3px rgba(34,87,199,.18)}
.ap-form .ap-btn{margin-top:6px}
.ap-contact__sos{position:relative;isolation:isolate;overflow:hidden;display:flex;flex-direction:column;align-items:flex-start;gap:0;padding:44px 40px 0;border-radius:20px;background:var(--ink);color:var(--white)}
.ap-contact__sos .ap-svc__layers{z-index:-1}
.ap-contact__sos .ap-urgent__eyebrow{margin-bottom:16px}
.ap-contact__sostitle{color:var(--white)}
.ap-contact__sos > p:not(.ap-eyebrow){margin:0 0 28px;font-size:16px;line-height:1.65;color:var(--mist)}
.ap-contact__van{display:block;width:100%;max-width:440px;margin:auto 0 0;padding-top:32px;align-self:center;filter:drop-shadow(0 18px 14px rgba(0,0,0,.4))}

@media (max-width:1100px){.ap-checks__grid{gap:40px}.ap-contact__grid{grid-template-columns:minmax(0,1fr)}}
@media (max-width:900px){
  .ap-checks{padding:72px 0 80px}
  .ap-checks__grid{grid-template-columns:minmax(0,1fr);gap:28px}
  .ap-check__card{padding:26px 22px}
  .ap-license{font-size:34px}
  .ap-contact{padding:56px 0 72px}
  .ap-contact__form{padding:28px 22px}
  .ap-form__row{grid-template-columns:minmax(0,1fr)}
  .ap-form .ap-btn{width:100%}
  .ap-contact__sos{padding:32px 24px 0}
  .ap-contact__sos .ap-btn{width:100%}
}
/* Contact hero has no trust strip: shorter */
.ap-hero--page:not(:has(.ap-trust)) .ap-hero__frame{min-height:560px}
/* head row without an eyebrow: the intro starts level with the H2 cap top */
.ap-services__head--noeb .ap-services__intro{margin-top:calc(var(--h2-size) * .17)}
@media (max-width:1260px){.ap-signs .ap-services__head--noeb .ap-services__intro{margin-top:0}}
/* intro column holding two paragraphs */
.ap-services__intro:has(p + p){gap:16px}

/* Section heads are ALWAYS half and half on inner pages (Vivian 2026-11-12): eyebrow + H2 in the left half,
   intro in the right half, starting on the page center line like the second column below. */
@media (min-width:901px){
  .ap-services__head,.ap-signs .ap-services__head,.ap-compare .ap-services__head{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:20px 72px}
  .ap-services__intro{margin-top:calc(38px + var(--h2-size) * .2 - 7px)}
  .ap-services__head--noeb .ap-services__intro{margin-top:calc(var(--h2-size) * .17)}
}
@media (min-width:901px) and (max-width:1100px){.ap-services__head,.ap-signs .ap-services__head,.ap-compare .ap-services__head{gap:20px 40px}}

/* Warning signs as a one-row slider (Vivian 2026-11-13): 3 cards desktop, 2 tablet, 1 + peek on phones.
   The track pads its top so the cropped-in icons (and their ring) are not clipped. */
.ap-signs--slider .ap-signs__body--row.ap-signs__track{display:block;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;padding-top:46px;margin-top:-10px;outline-offset:4px}
.ap-signs--slider .ap-signs__track::-webkit-scrollbar{display:none}
.ap-signs--slider .ap-signs__body--row .ap-signs__list{display:grid;grid-auto-flow:column;grid-auto-columns:calc((100% - 40px) / 3);gap:20px;align-items:stretch;list-style:none;margin:0;padding:0}
.ap-signs--slider .ap-sign{scroll-snap-align:start}
.ap-signs__nav{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-top:40px}
.ap-signs__nav .ap-rv4__bars{margin-top:0;justify-content:flex-start}
.ap-signs--slider.is-static .ap-signs__nav{display:none}
@media (max-width:1100px){.ap-signs--slider .ap-signs__body--row .ap-signs__list{grid-auto-columns:calc((100% - 20px) / 2)}}
@media (max-width:900px){.ap-signs--slider .ap-signs__body--row.ap-signs__track{padding-top:40px;margin-top:-8px}.ap-signs--slider .ap-signs__body--row .ap-signs__list{grid-auto-columns:86%;gap:16px}.ap-signs__nav{margin-top:28px}}

/* Checklist intro line sits in the left column under the body (Vivian 2026-11-13) */
.ap-checks__text > .ap-check__intro--left{margin:0}

/* Service grid call-to-action card (Vivian 2026-11-13): fills the empty slot of a 3 x 2 grid; copy reused from the page close */
.ap-svc-cta{position:relative;isolation:isolate;overflow:hidden;display:flex;flex-direction:column;justify-content:flex-end;gap:28px;min-height:390px;box-sizing:border-box;padding:36px;border-radius:20px;background:var(--navy)}
.ap-svc-cta::before{content:"";position:absolute;z-index:-1;right:-140px;top:-140px;width:380px;height:380px;border-radius:50%;border:1px solid rgba(255,255,255,.14);box-shadow:0 0 0 56px rgba(255,255,255,.035),0 0 0 112px rgba(255,255,255,.02)}
.ap-svc-cta__title{margin:0;font-family:var(--font-head);font-weight:500;font-size:30px;line-height:1.15;letter-spacing:.3px;color:var(--white);text-wrap:balance}
.ap-svc-cta__btns{display:flex;flex-wrap:wrap;gap:12px}
@media (min-width:901px) and (max-width:1260px){.ap-svc-cta{min-height:380px}}
@media (max-width:900px){.ap-svc-cta{min-height:0;padding:32px 24px;gap:24px}.ap-svc-cta__title{font-size:26px}.ap-svc-cta__btns{flex-direction:column;align-items:stretch}.ap-svc-cta__btns .ap-btn{width:100%}}

/* Trust bar under every hero: one swipeable row on mobile (Vivian 2026-11-13) */
@media (max-width:900px){
  .ap-trust,.ap-trust.ap-trust--3{display:flex;grid-template-columns:none;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x mandatory;scroll-padding-left:20px;scrollbar-width:none;margin:0;padding:0 20px;border-bottom:1px solid rgba(20,26,43,.14);-webkit-mask-image:linear-gradient(90deg,#000 82%,transparent);mask-image:linear-gradient(90deg,#000 82%,transparent)}
  .ap-trust::-webkit-scrollbar{display:none}
  .ap-trust::after{display:none}
  .ap-trust p,.ap-trust.ap-trust--3 p{flex:none;scroll-snap-align:start;white-space:nowrap;padding:16px 20px !important;border-top:0 !important;border-left:1px solid rgba(20,26,43,.14) !important}
  .ap-trust p:first-child,.ap-trust.ap-trust--3 p:first-child{border-left:0 !important;padding-left:0 !important}
  .ap-trust p:last-child{margin-right:48px}
}

/* ===== extras.css (theme only, not in the static build) ===== */
/* Theme-only rules, appended after the two static stylesheets (SOP: extras.css).
   In the static build the homepage loads styles.css only; in the theme every page loads both sheets, so the
   inner-page "half and half" head rule (services.css) would reach the homepage. Restore the homepage head
   exactly as approved: 5fr / 6fr with a 64px gap, intro level with the H2 cap top, stacking at 900px. */
@media (min-width:901px){
  .home .ap-services__head{grid-template-columns:minmax(0,5fr) minmax(0,6fr);gap:64px}
  .home .ap-services__intro{margin-top:calc(38px + var(--h2-size) * .2 - 7px)}
}


/* Mega menu without the emergency card (client removed 24/7 emergency service, 2026-11-20): links only */
.ap-mega--solo{width:340px;grid-template-columns:minmax(0,1fr)}


/* Quote form (task 07, 2026-11-23): Forminator, design style "none", mapped onto the approved .ap-field / .ap-btn--primary
   look from services.css. Scoped with a repeated class so it outranks the plugin CSS in any load order, no !important. */
.ap-form--plugin{display:block;width:100%}
.ap-form--plugin.ap-form--plugin .forminator-custom-form{margin:0}
.ap-form--plugin.ap-form--plugin .forminator-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:18px;margin:0 0 18px}
.ap-form--plugin.ap-form--plugin .forminator-row.forminator-hidden{display:none}
.ap-form--plugin.ap-form--plugin .forminator-col{width:auto;max-width:none;min-width:0;margin:0;padding:0;flex:none}
/* the plugin adds margin-bottom:20px to a stacked column on phones; the row gap already spaces them */
.ap-form--plugin.ap-form--plugin.ap-form--plugin.ap-form--plugin .forminator-row .forminator-col:not(:last-child){margin-bottom:0}
.ap-form--plugin.ap-form--plugin .forminator-col-12,.ap-form--plugin.ap-form--plugin .forminator-row-last .forminator-col{grid-column:1/-1}
.ap-form--plugin.ap-form--plugin .forminator-row-last{margin:24px 0 0}
.ap-form--plugin.ap-form--plugin .forminator-field{margin:0}
.ap-form--plugin.ap-form--plugin .forminator-label{display:block;margin:0 0 8px;padding:0;font-family:var(--font-head);font-weight:500;font-size:16px;line-height:1.2;letter-spacing:1px;text-transform:uppercase;color:var(--navy)}
.ap-form--plugin.ap-form--plugin .forminator-required{display:none}
.ap-form--plugin.ap-form--plugin .forminator-input,.ap-form--plugin.ap-form--plugin .forminator-textarea,.ap-form--plugin.ap-form--plugin select{display:block;width:100%;margin:0;padding:14px 16px;border:1px solid rgba(20,26,43,.18);border-radius:12px;background-color:var(--white);box-shadow:none;font-family:var(--font-body);font-size:16px;line-height:1.4;color:var(--ink);transition:border-color .2s ease,box-shadow .2s ease}
.ap-form--plugin.ap-form--plugin .forminator-textarea{resize:vertical;min-height:140px}
.ap-form--plugin.ap-form--plugin select{-webkit-appearance:none;appearance:none;cursor:pointer;padding-right:44px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 8' fill='none' stroke='%232257C7' stroke-width='1.6'%3E%3Cpath d='M1 1l6 6 6-6'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 18px center;background-size:14px 8px}
.ap-form--plugin.ap-form--plugin .forminator-input:focus,.ap-form--plugin.ap-form--plugin .forminator-textarea:focus,.ap-form--plugin.ap-form--plugin select:focus{outline:none;border-color:var(--royal);box-shadow:0 0 0 3px rgba(34,87,199,.18)}
.ap-form--plugin.ap-form--plugin .forminator-has_error .forminator-input,.ap-form--plugin.ap-form--plugin .forminator-has_error .forminator-textarea,.ap-form--plugin.ap-form--plugin .forminator-has_error select{border-color:var(--red)}
.ap-form--plugin.ap-form--plugin .forminator-error-message{display:block;margin:6px 0 0;padding:0;background:none;font-size:14px;line-height:1.4;color:var(--red)}
.ap-form--plugin.ap-form--plugin .forminator-button-submit{position:relative;display:inline-flex;align-items:center;justify-content:center;min-height:48px;margin:0;padding:0 28px;border-radius:999px;border:1.5px solid var(--red);background:var(--red);color:var(--white);box-shadow:none;font-family:var(--font-head);font-weight:500;font-size:16px;letter-spacing:1.4px;text-transform:uppercase;white-space:nowrap;cursor:pointer;transition:background-color .45s var(--ease),color .45s var(--ease)}
.ap-form--plugin.ap-form--plugin .forminator-button-submit:hover,.ap-form--plugin.ap-form--plugin .forminator-button-submit:focus-visible{background:var(--white);color:var(--red)}
.ap-form--plugin.ap-form--plugin .forminator-response-message{margin:0 0 18px;padding:16px 20px;border:0;border-radius:12px;background:var(--mist);font-size:16px;line-height:1.5;color:var(--ink)}
.ap-form--plugin.ap-form--plugin .forminator-response-message[aria-hidden="true"]{display:none}
.ap-form--plugin.ap-form--plugin .forminator-response-message.forminator-error{color:var(--red);background:#fdf1f0}
.ap-form--plugin.ap-form--plugin .forminator-response-message p{margin:0}
@media (max-width:900px){
  .ap-form--plugin.ap-form--plugin .forminator-row{grid-template-columns:minmax(0,1fr)}
  .ap-form--plugin.ap-form--plugin .forminator-button-submit{width:100%}
}
@media (prefers-reduced-motion:reduce){.ap-form--plugin.ap-form--plugin .forminator-button-submit{transition-duration:.01s}}


/* Fonts, self-hosted (2026-11-23): same Google Fonts latin files and weights, served from the theme so nothing blocks
   rendering on fonts.googleapis.com; the hero faces are preloaded in inc/enqueue.php. */
@font-face{font-family:'Barlow';font-style:normal;font-weight:400;font-display:swap;src:url(../fonts/barlow-400.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:'Barlow';font-style:normal;font-weight:500;font-display:swap;src:url(../fonts/barlow-500.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:'Barlow';font-style:normal;font-weight:600;font-display:swap;src:url(../fonts/barlow-600.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:'Barlow Condensed';font-style:normal;font-weight:400;font-display:swap;src:url(../fonts/barlow-condensed-400.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:'Barlow Condensed';font-style:normal;font-weight:500;font-display:swap;src:url(../fonts/barlow-condensed-500.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:'Barlow Condensed';font-style:normal;font-weight:600;font-display:swap;src:url(../fonts/barlow-condensed-600.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:'Barlow Condensed';font-style:normal;font-weight:700;font-display:swap;src:url(../fonts/barlow-condensed-700.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}

/* Where We Work on white (inner pages): unselected cities were Ink at 45% = #9598a0, 2.89:1 on white (PSI contrast fail).
   52% = #858891, 3.54:1 (26px text needs 3:1); still reads faded next to the Navy active city. */
.ap-areas--light .ap-areas__city{color:rgba(20,26,43,.52)}

/* ================= Audit 2026-11-24 =================================================
   A11Y-7 skip link, A11Y-1 visually hidden map description, A11Y-4 tap targets.
   WCAG 2.2 AA 2.5.8 wants 24x24 CSS px; the two header CTAs get 44px because they are
   the primary conversion on a phone. Padding only: nothing moves or resizes visually. */
.ap-sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap;border:0}
.ap-skip{position:absolute;left:12px;top:-60px;z-index:200;display:inline-block;padding:12px 18px;border-radius:999px;background:var(--navy,#0F2257);color:#fff;font-family:var(--font-head);font-size:16px;letter-spacing:.6px;text-decoration:none;transition:top .18s ease}
.ap-skip:focus{top:12px;outline:3px solid #fff;outline-offset:2px}
#ap-main:focus{outline:none}
.ap-trust:focus-visible{outline:3px solid var(--royal,#2257C7);outline-offset:-3px}
@media (max-width:900px){
  .ap-nav__links a,.ap-mega__link,.ap-drawer__panel a{min-height:24px;display:flex;align-items:center}
  .ap-footer__col a,.ap-footer__legal a{display:inline-flex;align-items:center;min-height:24px}
  .ap-hero__btns .ap-btn,.ap-header .ap-btn{min-height:44px}
  a[href^="tel:"]{min-height:44px;display:inline-flex;align-items:center}
  .ap-rc__more{min-height:24px;padding-top:4px;padding-bottom:4px}
}

/* Audit 2026-11-24: an image with a "-mobile" art-directed crop is already framed on its subject.
   The page's object-position is tuned for the landscape original, so applying it to the crop as well
   shifts the subject back out of frame. Below 900px the crop positions itself. */
@media (max-width:900px){
  .ap-img--art{object-position:50% 50% !important}
}


/* Audit 2026-11-24: a full-bleed hairline on .ap-trust::after is width:100vw. 100vw includes the
   scrollbar, so with a vertical scrollbar present it sits about 8px past each edge and Chrome shows
   a horizontal scrollbar on every page that has a hero trust strip. Contact has none, which is why
   it was the only clean page. overflow-x:clip rather than hidden: clip does not create a scroll
   container, so the sticky table headers in the legal pages keep working. */
html,body{overflow-x:clip}

/* Audit 2026-11-24 (SEO-1): the reviews source line now links to the Google profile, and the section
   offers a way to add one. Both inherit the section's type; only the affordance is new. */
.ap-reviews__src{color:inherit;text-decoration:underline;text-underline-offset:4px;text-decoration-thickness:1px;text-decoration-color:rgba(20,26,43,.35)}
.ap-reviews__src:hover{text-decoration-color:currentColor}
.ap-reviews--white .ap-reviews__src,.ap-reviews__src{color:inherit}
.ap-reviews__write{display:inline-flex;align-items:center;min-height:44px;padding:0 20px;margin-right:16px;border:1px solid rgba(20,26,43,.28);border-radius:999px;font-family:var(--font-head);font-weight:500;font-size:16px;letter-spacing:.6px;color:var(--navy);text-decoration:none;white-space:nowrap}
.ap-reviews__write:hover{border-color:var(--navy);background:var(--white)}
@media (max-width:900px){.ap-reviews__write{margin-right:12px;padding:0 16px;font-size:15px}}

/* Audit 2026-11-24: MapTiler and OpenStreetMap attribution is required by their licences and stays.
   The default white pill fought the navy map, so it sits in the map instead: no background, small
   white type at 72% on a dark tinted basemap, which measures above 4.5:1 and stays readable. */
/* Leaflet's own stylesheet is injected at runtime by the lazy loader, so it lands after main.css,
   and its rule is .leaflet-container .leaflet-control-attribution: the same specificity as a two-class
   theme selector, which it then beats on order. That is why the control has been a white pill with
   white text on it since launch. Three classes to win it outright. */
.ap-map .leaflet-container .leaflet-control-attribution{background:none;padding:2px 10px 4px;font-family:var(--font-body);font-size:11px;letter-spacing:.2px;color:rgba(255,255,255,.78);text-shadow:0 1px 3px rgba(8,16,36,.9)}
.ap-map .leaflet-container .leaflet-control-attribution a{color:rgba(255,255,255,.88);text-decoration:none}
.ap-map .leaflet-container .leaflet-control-attribution a:hover,.ap-map .leaflet-container .leaflet-control-attribution a:focus-visible{color:#fff;text-decoration:underline}

/* Audit 2026-11-24: two links added today sat under the 24px WCAG 2.2 minimum. The reviews source
   line and the required map attribution links get enough line box to clear it without moving. */
.ap-reviews__src{display:inline-flex;align-items:center;min-height:24px}
.ap-map .leaflet-container .leaflet-control-attribution a{display:inline-block;min-height:24px;line-height:24px}
.ap-map .leaflet-container .leaflet-control-attribution{line-height:24px;padding-bottom:2px}
