/* des-h.css: Nov 6 premium design pass for Brick, Jackson, Lakewood and Manchester town pages.
   Loaded last on those four pages only; every rule is scoped to body[data-des]. */

/* ---------- Promise, shared reset for the four variants ---------- */
body[data-des] .dh-pm .pm1-t li::after,body[data-des] .dh-pm .pm1-t li::before{animation:none}

/* ---------- Brick: the Promise as a four-part ticket ---------- */
body[data-des=brick] .dh-pm-brick .pm1-t{grid-template-columns:repeat(4,minmax(0,1fr));border:2px solid var(--fg);border-radius:18px;background:var(--bg)}
body[data-des=brick] .dh-pm-brick .pm1-t::before{display:none}
body[data-des=brick] .dh-pm-brick .pm1-t li{padding:26px clamp(16px,2vw,28px) 28px;gap:10px;align-content:start}
body[data-des=brick] .dh-pm-brick .pm1-t li.pm1-0::before,body[data-des=brick] .dh-pm-brick .pm1-t li.pm1-0::after{display:none}
body[data-des=brick] .dh-pm-brick .pm1-t li.pm1-0 b{font:600 13px/1.2 var(--ff-m);letter-spacing:.02em;text-transform:uppercase}
body[data-des=brick] .dh-pm-brick .pm1-t li.pm1-0 span{font:700 clamp(20px,1.8vw,26px)/1.15 var(--ff-d);max-width:14ch}
body[data-des=brick] .dh-pm-brick .pm1-t li.pm1-rf{background:var(--fg);color:var(--bg);border-radius:0 16px 16px 0}
body[data-des=brick] .dh-pm-brick .pm1-t li.pm1-rf b,body[data-des=brick] .dh-pm-brick .pm1-t li.pm1-rf span{color:var(--bg)}
@media (min-width:800px){
 body[data-des=brick] .dh-pm-brick .pm1-t li+li{border-left:2px dashed var(--fg)}
 body[data-des=brick] .dh-pm-brick .pm1-t li+li::before{left:-11px;top:-2px;width:20px;height:12px;border:2px solid var(--fg);border-top:0;border-radius:0 0 20px 20px;background:var(--bg)}
 body[data-des=brick] .dh-pm-brick .pm1-t li+li::after{display:block;left:-11px;right:auto;top:auto;bottom:-2px;width:20px;height:12px;border:2px solid var(--fg);border-bottom:0;border-radius:20px 20px 0 0;background:var(--bg);transform:none;box-sizing:border-box}
 body[data-des=brick] .dh-pm-brick .pm1-t li+li::before{box-sizing:border-box}
 body[data-des=brick] .dh-pm-brick .pm1-t b{font-size:clamp(34px,3.6vw,56px)}
}
@media (max-width:799px){
 body[data-des=brick] .dh-pm-brick .pm1-t{grid-template-columns:repeat(2,minmax(0,1fr));gap:0}
 body[data-des=brick] .dh-pm-brick .pm1-t li{padding:18px 16px 20px}
 body[data-des=brick] .dh-pm-brick .pm1-t li::before,body[data-des=brick] .dh-pm-brick .pm1-t li::after{display:none}
 body[data-des=brick] .dh-pm-brick .pm1-t li:nth-child(even){border-left:2px dashed var(--fg)}
 body[data-des=brick] .dh-pm-brick .pm1-t li:nth-child(n+3){border-top:2px dashed var(--fg)}
 body[data-des=brick] .dh-pm-brick .pm1-t li.pm1-rf{border-radius:0 0 16px 0}
 body[data-des=brick] .dh-pm-brick .pm1-t li.pm1-0 span{font-size:19px}
}

/* ---------- Brick: zone ruler fills the Nearby Towns column ---------- */
body[data-des=brick] .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=brick] .dh-zr *{color:#000}
body[data-des=brick] .dh-zr-l{list-style:none;margin:0;padding:0;display:grid;gap:12px;position:relative;
 --x0:calc(25 / 45 * 100%)}
body[data-des=brick] .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=brick] .dh-zr-n{grid-area:n;font-size:14.5px;line-height:1.3;font-weight:500}
body[data-des=brick] .dh-zr-v{grid-area:v;font:500 12.5px/1.2 var(--ff-m);white-space:nowrap}
body[data-des=brick] .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=brick] .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=brick] .dh-zr-b::after{content:"";position:absolute;top:-6px;bottom:-6px;left:calc(25 / 45 * 100%);border-left:2px dashed #000}
body[data-des=brick] .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=brick] .dh-zr-on .dh-zr-b i{background:#2EC0C6;border:1.5px solid #000;box-sizing:border-box}
body[data-des=brick] .dh-zr-on .dh-zr-n{font-weight:700}
body[data-des=brick] .dh-zr-on .dh-zr-v b{background:#2EC0C6}
body[data-des=brick] .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=brick] .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=brick] .tw-nr-c{align-self:start}

/* ---------- Jackson: Promise as a split, vertical timeline in a black panel ---------- */
body[data-des=jackson] .dh-pm-jackson .pm1-t{grid-template-columns:minmax(0,1fr);gap:26px;padding:clamp(24px,3vw,36px);background:#000;border:1.5px solid var(--fg);border-radius:18px}
body[data-des=jackson] .dh-pm-jackson .pm1-t::before{left:calc(clamp(24px,3vw,36px) + 9px);right:auto;top:clamp(24px,3vw,36px);bottom:clamp(24px,3vw,36px);width:2px;height:auto;background:#fff}
body[data-des=jackson] .dh-pm-jackson .pm1-t li{padding:0 0 0 40px;min-height:20px}
body[data-des=jackson] .dh-pm-jackson .pm1-t li::after{display:none}
body[data-des=jackson] .dh-pm-jackson .pm1-t li::before{background:#000;border-color:#fff}
body[data-des=jackson] .dh-pm-jackson .pm1-t li.pm1-48::before,body[data-des=jackson] .dh-pm-jackson .pm1-t li.pm1-24::before{background:#2EC0C6}
body[data-des=jackson] .dh-pm-jackson .pm1-t li.pm1-rf::before{background:#fff}
body[data-des=jackson] .dh-pm-jackson .pm1-t b,body[data-des=jackson] .dh-pm-jackson .pm1-t span{color:#fff}
body[data-des=jackson] .dh-pm-jackson .pm1-t span{max-width:none}
body[data-des=jackson] .dh-pm-jackson .pm1-t b{font-size:clamp(30px,3vw,44px)}
body[data-des=jackson] .dh-pm-jackson .pm1-t li.pm1-0 b{font-size:18px}
@media (min-width:900px){
 body[data-des=jackson] .dh-pm-jackson .pm1-in{grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);column-gap:clamp(40px,5vw,80px);align-items:center}
 body[data-des=jackson] .dh-pm-jackson .pm1-top{grid-column:1/-1}
 body[data-des=jackson] .dh-pm-jackson .pm1-t{grid-column:1}
 body[data-des=jackson] .dh-pm-jackson .pm1-f{grid-column:2;grid-template-columns:minmax(0,1fr);gap:28px}
 body[data-des=jackson] .dh-pm-jackson .pm1-s{font-size:clamp(20px,1.8vw,26px);line-height:1.45}
 body[data-des=jackson] .dh-pm-jackson .pm1-r{justify-items:start;text-align:left;border-left:0;border-top:1.5px solid var(--fg);padding:18px 0 0}
}

/* ---------- Lakewood: the Promise printed as a receipt ---------- */
body[data-des=lakewood] .dh-pm-lakewood .pm1-t{grid-template-columns:minmax(0,1fr);gap:0;padding:22px clamp(20px,2.6vw,30px) 26px;border:2px solid var(--fg);border-radius:6px;background:var(--bg);font-family:var(--ff-m)}
body[data-des=lakewood] .dh-pm-lakewood .pm1-t::before{content:"Lakewood, 08701";position:static;display:block;width:auto;height:auto;background:none;padding-bottom:12px;margin-bottom:4px;border-bottom:2px dashed var(--fg);font:600 12.5px/1.2 var(--ff-m);letter-spacing:.04em;text-transform:uppercase;color:var(--fg)}
body[data-des=lakewood] .dh-pm-lakewood .pm1-t li{display:grid;grid-template-columns:auto minmax(24px,1fr) auto;grid-template-areas:"s l b";align-items:baseline;gap:10px;padding:16px 0;border-bottom:1px dashed var(--fg)}
body[data-des=lakewood] .dh-pm-lakewood .pm1-t li::before{display:none}
body[data-des=lakewood] .dh-pm-lakewood .pm1-t li::after{position:static;grid-area:l;display:block;height:0;background:none;border-bottom:2px dotted var(--fg);transform:translateY(-5px)}
body[data-des=lakewood] .dh-pm-lakewood .pm1-t span{grid-area:s;font:500 14px/1.35 var(--ff-m);max-width:none}
body[data-des=lakewood] .dh-pm-lakewood .pm1-t b{grid-area:b;font:700 clamp(26px,2.6vw,36px)/1 var(--ff-d)}
body[data-des=lakewood] .dh-pm-lakewood .pm1-t li.pm1-0{grid-template-columns:minmax(0,1fr);grid-template-areas:"b" "s";gap:4px}
body[data-des=lakewood] .dh-pm-lakewood .pm1-t li.pm1-0::after{display:none}
body[data-des=lakewood] .dh-pm-lakewood .pm1-t li.pm1-0 b{font:700 18px/1.2 var(--ff-d)}
body[data-des=lakewood] .dh-pm-lakewood .pm1-t li.pm1-rf{border-bottom:0;border-top:4px double var(--fg);margin-top:-1px}
body[data-des=lakewood] .dh-pm-lakewood .pm1-t li.pm1-rf b{padding:6px 10px;background:#2EC0C6;color:#000;border-radius:6px}
@media (min-width:900px){
 body[data-des=lakewood] .dh-pm-lakewood .pm1-in{grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);column-gap:clamp(40px,5vw,88px);align-items:start}
 body[data-des=lakewood] .dh-pm-lakewood .pm1-top{grid-column:1/-1}
 body[data-des=lakewood] .dh-pm-lakewood .pm1-t{grid-column:2;grid-row:2;transform:rotate(-1deg);box-shadow:10px 10px 0 #2EC0C6}
 body[data-des=lakewood] .dh-pm-lakewood .pm1-f{grid-column:1;grid-row:2;grid-template-columns:minmax(0,1fr);gap:32px;align-self:center}
 body[data-des=lakewood] .dh-pm-lakewood .pm1-s{font-size:clamp(21px,1.9vw,28px);line-height:1.4}
 body[data-des=lakewood] .dh-pm-lakewood .pm1-r{justify-items:start;text-align:left;border-left:0;border-top:1.5px solid var(--fg);padding:18px 0 0}
}
@media (prefers-reduced-motion:reduce){body[data-des=lakewood] .dh-pm-lakewood .pm1-t{transform:none}}

/* ---------- Manchester: the Promise measured on a ruler ---------- */
body[data-des=manchester] .dh-pm-manchester .pm1-t::before{top:0;height:24px;background:
 linear-gradient(var(--fg),var(--fg)) 0 100%/100% 2px no-repeat,
 repeating-linear-gradient(90deg,var(--fg) 0 1.5px,transparent 1.5px 14px) 0 100%/100% 9px no-repeat,
 repeating-linear-gradient(90deg,var(--fg) 0 2px,transparent 2px 70px) 0 100%/100% 18px no-repeat}
body[data-des=manchester] .dh-pm-manchester .pm1-t li{padding-top:58px}
body[data-des=manchester] .dh-pm-manchester .pm1-t li::before{top:0;left:0;width:4px;height:48px;border:0;border-radius:2px;background:var(--fg)}
body[data-des=manchester] .dh-pm-manchester .pm1-t li.pm1-48::before,body[data-des=manchester] .dh-pm-manchester .pm1-t li.pm1-24::before{background:var(--fg)}
body[data-des=manchester] .dh-pm-manchester .pm1-t li::after{top:30px;left:8px;right:8px;height:10px;border-radius:3px;transform:none}
body[data-des=manchester] .dh-pm-manchester .pm1-t li.pm1-0::after{display:none}
body[data-des=manchester] .dh-pm-manchester .pm1-t li.pm1-24::after{background:repeating-linear-gradient(135deg,#2EC0C6 0 6px,#000 6px 8px)}
body[data-des=manchester] .dh-pm-manchester .pm1-t li:not(.pm1-0) b{font-size:clamp(30px,3.4vw,52px)}
body[data-des=manchester] .dh-pm-manchester .pm1-t li.pm1-0 b{font-size:18px}
body[data-des=manchester] .dh-pm-manchester .pm1-r{border:2px solid var(--fg);border-radius:12px;padding:16px 20px;justify-items:start;text-align:left}
@media (max-width:799px){
 body[data-des=manchester] .dh-pm-manchester .pm1-t::before{left:0;right:auto;top:0;bottom:0;width:24px;height:auto;background:
  linear-gradient(var(--fg),var(--fg)) 100% 0/2px 100% no-repeat,
  repeating-linear-gradient(180deg,var(--fg) 0 1.5px,transparent 1.5px 12px) 100% 0/9px 100% no-repeat}
 body[data-des=manchester] .dh-pm-manchester .pm1-t li{padding:0 0 0 46px}
 body[data-des=manchester] .dh-pm-manchester .pm1-t li::before{top:10px;left:0;width:36px;height:4px}
 body[data-des=manchester] .dh-pm-manchester .pm1-t li::after{display:none}
 body[data-des=manchester] .dh-pm-manchester .pm1-r{border-top:2px solid var(--fg)}
}

/* ---------- Jackson: final CTA, left-aligned with the township outline on the right ---------- */
body[data-des=jackson] .j14-fin-g{justify-items:start;text-align:left}
body[data-des=jackson] .j14-fin-f,body[data-des=jackson] .j14-fin-act{justify-content:flex-start}
body[data-des=jackson] .j14-fin-tw{left:auto;right:3%}
@media (min-width:1000px){
 body[data-des=jackson] .j14-fin-g{grid-template-columns:minmax(0,1fr) minmax(0,.55fr);column-gap:48px;position:relative;z-index:1}
 body[data-des=jackson] .j14-fin-g>*{grid-column:1}
 body[data-des=jackson] .j14-fin h2{font-size:clamp(48px,5.6vw,84px)}
}
@media (max-width:999px){body[data-des=jackson] .j14-fin-tw{opacity:.45}}

/* ---------- Lakewood fixes ---------- */
body[data-des=lakewood] .l13-nb-g .l13-nb-i .l13-nb-z{margin-bottom:0;min-height:44px;box-sizing:border-box}
body[data-des=lakewood] .l13-nb-g .l13-nb-i{display:flex;flex-direction:column;justify-content:flex-start}
body[data-des=lakewood] .l13-nb-g .l13-nb-i .l13-nb-k{align-self:flex-start}
body[data-des=lakewood] .l13-nb-g .l13-nb-i .l13-nb-go{margin-top:auto;align-self:flex-start}

@media (min-width:1000px){
 body[data-des=lakewood] .l13-rec-g{row-gap:18px}
 body[data-des=lakewood] .l13-rec .sz-note{grid-column:2;margin:0;align-self:start}
 body[data-des=lakewood] .l13-rec .l13-path3{align-self:end}
 body[data-des=lakewood] .l13-sw-p{grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:stretch}
 body[data-des=lakewood] .l13-sw-from{max-width:none;align-self:stretch}
 body[data-des=lakewood] .l13-sw-from li{height:100%;align-content:center;box-sizing:border-box}
 body[data-des=lakewood] .l13-sw-from b{font-size:clamp(44px,4.4vw,64px)}
}

/* ---------- Manchester fixes ---------- */
body[data-des=manchester] .m14-hr-n{display:none}
body[data-des=manchester] .m14-sub .m14-sub-f{color:#000}
@media (min-width:1000px) and (max-width:1239px){body[data-des=lakewood] .l13-fq{grid-template-columns:repeat(2,minmax(0,1fr))}}
