/* Lacey town layer (Oct 26, 2026). Builds on tr.css and br.css; family tokens and the four brand colors only. */
.tr-stage .lc-pine{letter-spacing:.3em}
/* selling a house in Lacey: the steps in order (a real sequence), the review and the buyer's note beside them */
.lc-sell{padding-block:var(--sec);border-top:1px solid var(--line)}
.lc-sg{display:grid;gap:clamp(28px,4vw,56px);align-items:start}
@media (min-width:900px){.lc-sg{grid-template-columns:minmax(0,7fr) minmax(0,5fr)}.lc-side{position:sticky;top:calc(var(--hdr,72px) + 24px)}}
.lc-tl{list-style:none;margin:0;padding:0;display:grid;gap:0;counter-reset:lc}
.lc-st{position:relative;display:grid;gap:8px;padding:0 0 30px 46px;counter-increment:lc}
.lc-st::before{content:counter(lc);position:absolute;left:0;top:0;width:30px;height:30px;border-radius:50%;background:#2EC0C6;color:#000;font:600 14px/30px var(--ff-d);text-align:center}
.lc-st::after{content:"";position:absolute;left:14px;top:34px;bottom:4px;width:2px;background:#2EC0C6}
.lc-st:last-child{padding-bottom:0}
.lc-st:last-child::after{display:none}
.lc-sw{margin:0;font:500 13px/1.3 var(--ff-m)}
.lc-st h3{margin:0;font:600 clamp(20px,1.8vw,24px)/1.2 var(--ff-d)}
.lc-st p{margin:0;line-height:1.55}
.lc-ss{white-space:normal}
.lc-st-x{gap:10px}
.lc-st-x > h3,.lc-st-x > p:not(.ocp-act){max-width:60ch}
.lc-st-x .ocp-act{margin-top:6px}
.lc-side{display:grid;gap:16px}
.lc-rv{box-shadow:var(--shadow-sig)}
.lc-rvl{margin:0;font-size:15px;line-height:1.5}
.lc-buy{display:grid;gap:12px;padding:clamp(18px,2vw,24px);border-radius:6px;background:#000;color:#fff}
.lc-buy p{margin:0;color:#fff;line-height:1.55}
.lc-buy .btn-line{color:#fff;border-color:#fff}
@media (max-width:599px){.lc-st{padding-left:40px;padding-bottom:24px}.lc-st::before{width:28px;height:28px;line-height:28px}.lc-st::after{left:13px;top:32px}}
.lc-sell .lnk svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2;vertical-align:-3px}
.lc-sell .ocp-act{display:flex;flex-wrap:wrap;gap:12px 20px;align-items:center}
.lc-sell .ocp-act .lnk{white-space:nowrap}
/* the H1 carries two names here, so it runs a step smaller than the other town pages */
.tr-hero h1{font-size:clamp(38px,4.4vw,62px);line-height:1.02}
/* phones: the wide township map keeps two labels; the other pins stay tappable and are listed in the sections below */
@media (max-width:599px){.trp[data-id="municipal"] .trp-l,.trp[data-id="lths"] .trp-l,.trp[data-id="marina"] .trp-l,.trp[data-id="frbeach"] .trp-l,.trp[data-id="lh"] .trp-l{display:none}}
@media (max-width:420px){.ocp-copy{grid-template-columns:minmax(0,1fr)}.ocp-facts div{padding-left:10px}.ocp-facts dd{font-size:clamp(22px,6.6vw,30px)}.at-zr{min-width:0}}

/* Nov 27 publish fixes (audit Nov 24: accessibility/QA editor) */
/* Phones: the map fills the frame at its own shape; controls sit above it; no stray lines outside the land */
@media (max-width:599px){
 html body .tr-stage:not(.full){display:block!important;height:auto!important;min-height:0!important;padding-top:58px}
 html body .tr-stage:not(.full) .trm{width:100%!important;height:auto!important;margin:0!important;overflow:hidden}
 html body .tr-stage:not(.full) .tr-loc{display:none}
 .tr-stage .trm-scale text:first-of-type{display:none}
}
/* Zoom buttons that can't act right now look it */
.tr-stage .at-zm .zb[aria-disabled="true"]{opacity:.4;cursor:default}
/* Visible keyboard focus on dark cards, the teal closing band and the footer icons */
main .ocp-feeb a:focus-visible,main .tr-zipb a:focus-visible,main .lc-tl a:focus-visible,main .br-fb a:focus-visible,
main .ocp-sp a:focus-visible,main .tr-pc a:focus-visible,main .mcp-src a:focus-visible,main [class*="card"] a:focus-visible{outline:3px solid #fff;outline-offset:3px}
main .ocp-fin a:focus-visible,main .ocp-fin button:focus-visible,main [class*="fin"] .btn:focus-visible{outline:3px solid #000;outline-offset:3px}
footer a:focus-visible,footer button:focus-visible{outline:3px solid var(--focus,#2EC0C6);outline-offset:3px}
:root[data-theme="light"] main .ocp-feeb a:focus-visible{outline-color:#000}
/* Desktop and tablet: keep the map scale clear of the New Jersey inset */
@media (min-width:600px){.tr-stage .trm-scale{transform:translate(150px,583.8px)}}

/* Nov 27 design review: section rhythm, ZIP row, H1 measure (tested at 360-1440) */
/* F1: section rhythm to match the live town pages (Brick/Toms River use clamp(40px,5.2vw,80px)) */
html[data-page="/areas-served/lacey-nj/"] #main{--sec:clamp(40px,5.2vw,80px)}
html[data-page="/areas-served/lacey-nj/"] #main .ar-fin{padding-block:clamp(48px,6vw,96px)}
/* F2: ZIP check row must fit the phone column (was 363px wide in a 320px column at 360) */
html[data-page="/areas-served/lacey-nj/"] #hero .ocp-zip{align-self:stretch;width:auto;max-width:420px}
/* F3: the two-name H1 needs a wider measure than the 12.5ch town default */
html[data-page="/areas-served/lacey-nj/"] #hero #hero-h1{max-width:17ch}
@media (min-width:600px) and (max-width:899px){html[data-page="/areas-served/lacey-nj/"] #hero #hero-h1{max-width:22ch}}
/* Phones: closing buttons share one width */
@media (max-width:599px){html[data-page="/areas-served/lacey-nj/"] #main .ar-fin .btn{width:100%;justify-content:center}}
/* Nov 27 QA review */
.mcp-src .tr-src{color:#fff}
.mcp-dz{font-size:12px}
@media (max-width:599px){#fit .ocp-bandt{padding-top:196px}}
@media (min-width:600px){#fit .ocp-bandt{padding-top:clamp(24px,3vw,40px)}}
.tr-stage.full .tr-card{position:absolute;left:12px;bottom:12px;max-width:min(360px,calc(100% - 24px));z-index:3}

/* ===== Nov 27 v2: Lacey on the Nov 6 town-page system (stacked sheets, bands, hook line, reviews, nearby, close) ===== */
/* stacking order for Lacey's own section ids (br13.css supplies the sheet shape) */
main #sections{z-index:1}main #upkeep{z-index:2}main #homes{z-index:3}main #local{z-index:4}main #selling{z-index:5}
main #reviews{z-index:6}main #fit{z-index:7}main #cost{z-index:8}main #how{z-index:9}main #commitments{z-index:10}
main #promise{z-index:11}main #faq{z-index:12}main #nearby{z-index:13}main #final-cta{z-index:14}
/* every sheet paints its own ground so the rounded top edge reads */
html[data-page="/areas-served/lacey-nj/"] main>section:not(#hero){background-color:var(--bg)}
/* bands: cyan sheets */
html[data-page="/areas-served/lacey-nj/"] main #local,
html[data-page="/areas-served/lacey-nj/"] main #how{background:#2EC0C6;color:#000;--fg:#000;--bg:#2EC0C6;--line:rgba(0,0,0,.35)}
html[data-page="/areas-served/lacey-nj/"] main #local :is(h2,h3,p,li,span,b,.lead),
html[data-page="/areas-served/lacey-nj/"] main #how :is(h2,.lead,.ocp-sh p){color:#000}
/* black sheets (fixed, both themes) */
html[data-page="/areas-served/lacey-nj/"] main #homes,
html[data-page="/areas-served/lacey-nj/"] main #commitments{background:#000;color:#fff;--fg:#fff;--bg:#000}
/* hero ZIP chips: two Lacey ZIP codes */
.lc-zq{grid-template-columns:repeat(2,minmax(0,1fr));max-width:420px}
/* reviews */
.lc-rvs{padding-block:clamp(40px,5.2vw,80px)}
/* nearby: cyan, zone ruler and page cards */
.lc-nr{padding-block:clamp(40px,5.2vw,80px)}
.lc-nr-p{display:grid;gap:16px;align-content:start}
.lc-nr-l{list-style:none;margin:0;padding:0;display:grid;gap:12px;grid-template-columns:repeat(auto-fill,minmax(min(100%,240px),1fr))}
.lc-nr-l a{display:grid;gap:4px;min-height:44px;padding:16px 18px;background:#fff;border:2px solid #000;border-radius:14px;text-decoration:none;color:#000;transition:transform .2s,background .2s}
.lc-nr-l a:hover,.lc-nr-l a:focus-visible{transform:translateY(-3px);background:#000}
.lc-nr-l a:hover *,.lc-nr-l a:focus-visible *{color:#fff}
.lc-nr-l a:focus-visible{outline:3px solid #000;outline-offset:3px}
.lc-nr-d{font:500 12px/1.2 var(--ff-m);color:#000}
.lc-nr-n{font:700 18px/1.2 var(--ff-d);letter-spacing:-.01em;color:#000}
.lc-nr-f{font:500 13px/1.3 var(--ff-t,inherit);color:#000}
.lc-nr-more{margin:0;color:#000}
.lc-nr .lnk{color:#000}
body[data-des=lacey] .dh-zr{margin:28px 0 0;padding:20px 20px 16px;border:2px solid #000;border-radius:16px;background:#fff;color:#000;max-width:620px}
body[data-des=lacey] .dh-zr *{color:#000}
body[data-des=lacey] .dh-zr-l{list-style:none;margin:0;padding:0;display:grid;gap:12px;position:relative;
 --x0:calc(25 / 45 * 100%)}
body[data-des=lacey] .dh-zr-l li{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"n v" "b b";gap:6px 12px;align-items:baseline}
body[data-des=lacey] .dh-zr-n{grid-area:n;font-size:14.5px;line-height:1.3;font-weight:500}
body[data-des=lacey] .dh-zr-v{grid-area:v;font:500 12.5px/1.2 var(--ff-m);white-space:nowrap}
body[data-des=lacey] .dh-zr-v b{display:inline-block;margin-left:6px;padding:3px 6px;border:1.5px solid #000;border-radius:5px;font-weight:700}
body[data-des=lacey] .dh-zr-b{grid-area:b;position:relative;display:block;height:12px;border-radius:6px;background:linear-gradient(#000,#000) 0 3.5px/100% 1px no-repeat}
body[data-des=lacey] .dh-zr-b::after{content:"";position:absolute;top:-6px;bottom:-6px;left:calc(25 / 45 * 100%);border-left:2px dashed #000}
body[data-des=lacey] .dh-zr-b i{position:absolute;left:0;top:0;height:8px;width:calc(var(--m) / 45 * 100%);border-radius:4px;background:#000}
body[data-des=lacey] .dh-zr-on .dh-zr-b i{background:#2EC0C6;border:1.5px solid #000;box-sizing:border-box}
body[data-des=lacey] .dh-zr-on .dh-zr-n{font-weight:700}
body[data-des=lacey] .dh-zr-on .dh-zr-v b{background:#2EC0C6}
body[data-des=lacey] .dh-zr-fee .dh-zr-b i{background:repeating-linear-gradient(135deg,#000 0 2px,transparent 2px 6px);border:1.5px solid #000;box-sizing:border-box}
body[data-des=lacey] .dh-zr figcaption{margin-top:14px;padding-top:10px;border-top:1.5px solid #000;font:500 12px/1.45 var(--ff-m)}
body[data-des=lacey] .tw-nr-c{align-self:start}
/* v2: cards on the cyan sheets are white tickets with black rules */
.lc-zq{max-width:480px}.lc-zq .tw-zc span{white-space:nowrap}
html[data-page="/areas-served/lacey-nj/"] main :is(#local .lk-c,#how .ocp-hc,#how article,#how .ocp-hw>div){background:#fff;border:2px solid #000;border-radius:16px;color:#000;box-shadow:none}
html[data-page="/areas-served/lacey-nj/"] main :is(#local,#how) :is(.lk-c,.ocp-hw>div,article) :is(h3,p,li,span,b,a:not(.btn)){color:#000}
html[data-page="/areas-served/lacey-nj/"] main :is(#local,#how) .btn-line{border-color:#000;color:#000;background:transparent}
html[data-page="/areas-served/lacey-nj/"] main :is(#local,#how) .btn-line:hover{background:#000;color:#fff}
html[data-page="/areas-served/lacey-nj/"] main :is(#local,#how) .btn-cyan{background:#000;color:#fff;border-color:#000}
html[data-page="/areas-served/lacey-nj/"] main :is(#local,#how) svg{stroke:#000}
html[data-page="/areas-served/lacey-nj/"] main :is(#local,#how) a:focus-visible{outline:3px solid #000;outline-offset:3px}
html[data-page="/areas-served/lacey-nj/"] main #how .ocp-steps{list-style:decimal}html[data-page="/areas-served/lacey-nj/"] main #how .ocp-steps li::marker{color:#000;font-weight:700}
/* v2 QA fixes */
.tw-zq.lc-zq{grid-template-columns:repeat(2,minmax(0,1fr));max-width:420px}
html[data-page="/areas-served/lacey-nj/"] #final-cta .btn:focus-visible{outline:3px solid #fff;outline-offset:3px}
.lc-zq .tw-zc:focus-visible{outline-color:#000}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]) .lc-zq .tw-zc:focus-visible{outline-color:#2EC0C6}}
:root[data-theme="dark"] .lc-zq .tw-zc:focus-visible{outline-color:#2EC0C6}
@media (max-width:599px){html[data-page="/areas-served/lacey-nj/"] #final-cta .b13-fin-act .btn{width:100%;justify-content:center}}
/* ===== Nov 27 rev2 design review fixes ===== */
/* R1 hero ZIP chips: two chips, two tracks (tpl-towns.css .tw-zq forces 4 tracks, so chips overflow and overlap at 1024-1440) */
html[data-page="/areas-served/lacey-nj/"] main .tw-zq.lc-zq{grid-template-columns:repeat(2,minmax(0,200px));max-width:none}
/* R2 town cards, 1000-1199: three columns are too narrow for map + title side by side; stack the mini map over the title */
@media (min-width:1000px) and (max-width:1199px){
 html[data-page="/areas-served/lacey-nj/"] main .tr-sections .ocp-zh{grid-template-columns:minmax(0,1fr);gap:10px}
 html[data-page="/areas-served/lacey-nj/"] main .tr-sections .tr-mz{width:104px}
}
/* R3 Five Cleans: the photo band follows the sheet's rounded top edge */
html[data-page="/areas-served/lacey-nj/"] main #fit{overflow:clip}
html[data-page="/areas-served/lacey-nj/"] main #fit .ocp-band{border-radius:var(--b13-ov) var(--b13-ov) 0 0}
/* R4 Five Cleans card + picker: Nov 6 ticket style (2px rule, 16px radius, no October cyan inset/drop shadow or glow) */
html[data-page="/areas-served/lacey-nj/"] main #fit .ocp-sp{border:2px solid var(--fg);border-radius:16px;box-shadow:none}
html[data-page="/areas-served/lacey-nj/"] main #fit .ocp-q{border:2px solid var(--fg);border-radius:16px;overflow:hidden}
/* R5 The Upkeep: cyan sheet, so two white sheets no longer touch (W W B C -> W C B C, the sibling rhythm) */
html[data-page="/areas-served/lacey-nj/"] main #upkeep{padding-bottom:calc(var(--b13-ov) + clamp(40px,4.5vw,64px));background:#2EC0C6;color:#000;--fg:#000;--bg:#2EC0C6;--line:rgba(0,0,0,.35)}
html[data-page="/areas-served/lacey-nj/"] main #upkeep :is(h2,.lead,.lnk,p:not(.ocp-feeb p)){color:#000}
html[data-page="/areas-served/lacey-nj/"] main #upkeep .lnk{text-decoration-color:#000}
html[data-page="/areas-served/lacey-nj/"] main #upkeep .btn-cyan{background:#000;color:#fff;border-color:#000}
html[data-page="/areas-served/lacey-nj/"] main #upkeep .btn-cyan:hover{background:#fff;color:#000}
html[data-page="/areas-served/lacey-nj/"] main #upkeep a:focus-visible{outline:3px solid #000;outline-offset:3px}
/* R6 light theme: white sheet on white sheet gets the rounded edge drawn (mirrors the dark theme's 2px cyan edge) */
html:not([data-theme=dark])[data-page="/areas-served/lacey-nj/"] main #reviews,
html:not([data-theme=dark])[data-page="/areas-served/lacey-nj/"] main #cost{box-shadow:0 -2px 0 #000}
/* R7 phones: trim the black run between Our Side of the Deal and the Promise band */
@media (max-width:599px){html[data-page="/areas-served/lacey-nj/"] main #commitments{padding-bottom:16px}}
