/* Party wall notice checker page. Tokens: _work/design-plan.md (loaded after site.css). */

.chk-sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ================= the tool (opener) ================= */
.chk { position: relative; background: #fff; padding: calc(var(--hdr) + clamp(16px, 2.6vh, 40px)) 0 clamp(24px, 3.6vh, 56px); overflow: clip; }
/* drawing-paper grid down the left side */
.chk::before { content: ''; position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(rgba(25,61,92,.075) 1px, transparent 1px), linear-gradient(90deg, rgba(25,61,92,.075) 1px, transparent 1px); background-size: 40px 40px; -webkit-mask-image: linear-gradient(90deg, #000 0, rgba(0,0,0,.55) 16%, transparent 44%); mask-image: linear-gradient(90deg, #000 0, rgba(0,0,0,.55) 16%, transparent 44%); animation: chk-paper 40s linear infinite; }
@keyframes chk-paper { to { background-position: 40px 40px, 40px 40px; } }
.chk__grid { position: relative; display: grid; grid-template-columns: minmax(0, 11fr) minmax(0, 13fr); gap: clamp(28px, 4vw, 64px); align-items: start; }
.chk__h { font-size: clamp(2.3rem, 3.4vw, 3.7rem); line-height: 1.04; color: var(--ink); }
.chk__h em { color: var(--prussian); }
.chk__lede { margin: 14px 0 0; font-size: clamp(1.02rem, 1.12vw, 1.12rem); line-height: 1.55; color: var(--muted); }
.js:not(.reveal-done) [data-chk-in], .js:not(.reveal-done) .sheet { opacity: 0; }

.chk__form { margin-top: clamp(16px, 2.6vh, 28px); display: grid; gap: clamp(12px, 2vh, 22px); }
.qs { border: 0; margin: 0; padding: 0; min-width: 0; }
.qs__l { display: flex; align-items: center; gap: 12px; float: left; width: 100%; padding: 0; margin: 0 0 10px; font: 600 1.06rem/1.3 var(--sans); color: var(--ink); }
.qs__t { flex: 1 1 auto; min-width: 0; }
.qs__l + * { clear: both; }
.qs__n { display: grid; place-items: center; width: 30px; height: 30px; flex: none; background: var(--ink); color: var(--ochre-2); font: 600 1rem/1 var(--display); }
.qs__hint { margin-left: 6px; font-weight: 400; font-size: .92rem; color: var(--muted); white-space: nowrap; }

.chips { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px 8px; }
.chips--radio { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; display: inline-flex; align-items: center; gap: 9px; min-height: 44px; padding: 0 18px 0 14px; border: 0; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1.5px #BFCBD5; color: var(--ink); font: 500 .97rem/1.15 var(--sans); cursor: pointer; text-align: left; justify-content: flex-start; transition: background-color .35s var(--ease), color .35s, box-shadow .35s; -webkit-tap-highlight-color: transparent; }
.chip:hover { box-shadow: inset 0 0 0 1.5px var(--ochre), 0 8px 20px -12px rgba(14,27,38,.4); }
.chip__i { width: 16px; height: 16px; flex: none; overflow: visible; }
.chip__i path { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .45s var(--ease), opacity .3s, stroke-dashoffset .45s var(--ease); transform-origin: 8px 8px; }
.chip__tick { stroke-dasharray: 16; stroke-dashoffset: 16; opacity: 0; }
.chip[aria-pressed="true"] { background: var(--ink); color: #fff; box-shadow: inset 0 0 0 1.5px var(--ink), 0 10px 22px -14px rgba(14,27,38,.7); }
.chip[aria-pressed="true"] .chip__i { color: var(--ochre-2); }
.chip[aria-pressed="true"] .chip__v, .chip[aria-pressed="true"] .chip__h { opacity: 0; transform: rotate(90deg) scale(.4); }
.chip[aria-pressed="true"] .chip__tick { stroke-dashoffset: 0; opacity: 1; }
.chip--r { padding: 0 18px; }
.chip--r input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; border-radius: 999px; }
.chip--r:has(input:checked) { background: var(--prussian); color: #fff; box-shadow: inset 0 0 0 1.5px var(--prussian); }
.chip--r:has(input:focus-visible) { outline: 3px solid var(--ochre); outline-offset: 3px; }
.qs--dist { overflow: clip; }
.qs--dist[hidden] { display: none; }

.qs__date { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; }
.qs__in { min-height: 50px; padding: 10px 14px; font: 500 1.02rem/1.3 var(--sans); color: var(--ink); background: #F6F8F9; border: 1.5px solid #C7D2DA; border-radius: 0; transition: border-color .25s, background-color .25s, box-shadow .25s; }
.qs__in:focus { outline: none; border-color: var(--prussian); background: #fff; box-shadow: 0 0 0 3px rgba(25,61,92,.15); }
.qs__in::-webkit-calendar-picker-indicator { cursor: pointer; padding: 6px; }
.qs__dhint { font-size: .92rem; color: var(--muted); }
.chk__note { margin: clamp(12px, 2vh, 22px) 0 0; padding-left: 14px; border-left: 2px solid var(--ochre); font-size: .92rem; line-height: 1.5; color: var(--muted); }

/* without JS: the same guidance as a table */
.chk__table { display: none; margin-top: 22px; }
.no-js .chk__table { display: block; }
.no-js .chk__form, .no-js .peek, .no-js .dwg__read { display: none; }
.sheet__eg { display: none; margin: 0 0 12px; padding: 8px 12px; background: var(--lime); font-size: .95rem; color: var(--ink); }
.no-js .sheet__eg { display: block; }
.chk__table table { width: 100%; border-collapse: collapse; font-size: .95rem; line-height: 1.4; }
.chk__table caption { text-align: left; font: 600 .875rem/1 var(--label); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); padding-bottom: 10px; }
.chk__table th, .chk__table td { text-align: left; vertical-align: top; padding: 8px 10px 8px 0; border-bottom: 1px solid var(--line); }
.chk__table thead th { font: 600 .875rem/1.2 var(--label); letter-spacing: .08em; text-transform: uppercase; color: var(--prussian); border-bottom: 1.5px solid var(--ink); }
.chk__table tbody th { font-weight: 600; color: var(--ink); width: 30%; }
.chk__table td:last-child { white-space: nowrap; }

/* ---- the live drawing ---- */
.chk__show { position: relative; }
.dwg { position: relative; overflow: clip; padding: 12px clamp(14px, 1.6vw, 22px) clamp(36px, 4.4vh, 44px); }
.dwg__bar { display: contents; }
.dwg > .dwg__bar > * { position: absolute; z-index: 3; }
.dwg__l { left: clamp(14px, 1.6vw, 22px); top: 16px; }
.dwg__l { font: 600 .875rem/1 var(--label); letter-spacing: .14em; text-transform: uppercase; color: var(--ochre); display: flex; align-items: center; gap: 10px; }
.dwg__l::before { content: ''; width: 18px; height: 1.5px; background: var(--ochre); }
.dwg__read { right: clamp(14px, 1.6vw, 22px); bottom: clamp(48px, 5.6vh, 58px); font-size: .92rem; color: #C9D7E3; text-align: right; min-height: 1.4em; }
.dwg__read b { color: var(--ochre-2); font-weight: 600; }
.dwg__box { position: relative; touch-action: pan-y; }
.dwg__svg { width: 100%; height: auto; overflow: visible; }
.js .dwg:not(.is-go) .dwg__svg, .js .dwg:not(.is-go) .tag { opacity: 0; }
.reveal-done .dwg .dwg__svg, .reveal-done .dwg .tag--base { opacity: 1; }
/* scan lines: a full-width layer moved by transform, the line drawn on its left edge */
.dwg__scan { position: absolute; top: -12px; bottom: -12px; left: 0; width: 100%; opacity: 0; pointer-events: none; z-index: 3; }
.dwg__scan::before, .sheet__scan::before { content: ''; position: absolute; top: 0; bottom: 0; left: -1px; width: 2px; background: var(--ochre); box-shadow: 0 0 16px 3px rgba(217,164,65,.55); }

.dr-gnd { fill: none; stroke: rgba(220,230,238,.75); stroke-width: 1.6; }
.dr-hatch { fill: none; stroke: rgba(220,230,238,.28); stroke-width: 1; }
.dr-line { fill: none; stroke: #DCE6EE; stroke-width: 2; stroke-linejoin: round; }
.dr-thin { fill: none; stroke: rgba(220,230,238,.62); stroke-width: 1.4; }
.dr-floor { fill: none; stroke: rgba(220,230,238,.36); stroke-width: 1.2; stroke-dasharray: 5 5; }
.dr-breast path { fill: rgba(220,230,238,.1); stroke: rgba(220,230,238,.62); stroke-width: 1.4; transition: opacity .5s; }
.no-breast .dr-breast path { opacity: .12; }
.dr-wall rect, .dr-wall path { fill: var(--ochre); fill-opacity: .28; stroke: var(--ochre); stroke-width: 1.8; }
.dr-cross { stroke: var(--ochre-2); stroke-width: 1.2; stroke-dasharray: 3 4; opacity: 0; transition: opacity .4s; }
.dr-crossdot { fill: var(--ochre-2); opacity: 0; transition: opacity .4s; }
.is-measuring .dr-cross { opacity: .85; }
.is-measuring .dr-crossdot { opacity: 1; }

.pt { opacity: 0; visibility: hidden; transition: opacity .45s var(--ease), visibility .45s; }
.pt.is-on { opacity: 1; visibility: visible; }
.dr-dim { fill: none; stroke: var(--ochre-2); stroke-width: 1.4; }
.dr-45 { fill: none; stroke: var(--ochre-2); stroke-width: 1.5; }
.dr-45a { fill: none; stroke: var(--ochre-2); stroke-width: 1.2; }
.dr-band { fill: var(--ochre); fill-opacity: .08; }
.dr-dig { fill: url(#hatch); }
.dr-add { fill: none; stroke: var(--ochre); stroke-width: 1.8; }
.dr-new { fill: none; stroke: var(--ochre); stroke-width: 2; stroke-dasharray: 7 5; }
.dr-steel { fill: var(--ochre); }
.dr-pad { fill: #fff; }
.dr-gone { fill: none; stroke: rgba(255,255,255,.7); stroke-width: 1.6; stroke-dasharray: 4 4; }
.dr-removed { fill: rgba(255,255,255,.06); stroke: #fff; stroke-width: 1.6; stroke-dasharray: 4 4; }
.dr-extroof { fill: var(--ochre); }
.dr-extbox { fill: var(--prussian); stroke: var(--ochre); stroke-width: 2; }
.ext-unsure .dr-extbox { stroke-dasharray: 7 5; }
.dr-extwin { fill: none; stroke: rgba(232,188,98,.75); stroke-width: 1.4; }
.dr-trench { fill: url(#hatch); stroke: var(--ochre); stroke-width: 1.5; }
.dr-loj { fill: none; stroke: var(--ochre); stroke-width: 1.6; stroke-dasharray: 8 5; }
.dr-newwall { fill: var(--ochre); }
.dr-point { fill: none; stroke: #fff; stroke-width: 2.2; stroke-linecap: round; }
.dr-hole { fill: #fff; }

/* labels on the drawing (HTML so they stay readable on phones) */
.tag { position: absolute; left: var(--x); top: var(--y); z-index: 2; transform: translate(-50%, -50%); padding: 5px 9px 4px; background: rgba(14,27,38,.88); color: #fff; font: 600 .875rem/1 var(--label); letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; border-left: 2px solid var(--ochre); pointer-events: none; opacity: 0; visibility: hidden; clip-path: inset(0 100% 0 0); transition: opacity .3s, visibility .5s, clip-path .6s var(--ease); }
.tag--l { transform: translate(0, -50%); }
.tag--r { transform: translate(-100%, -50%); border-left: 0; border-right: 2px solid var(--ochre); }
.tag.is-on, .tag--base { opacity: 1; visibility: visible; clip-path: inset(0 0 0 0); }
.tag--base { transition: none; background: rgba(25,61,92,.92); border: 0; padding: 4px 7px 3px; color: rgba(220,230,238,.9); }
.tag[data-tag="pw"] { color: var(--ochre-2); }
.tag[data-tag="d3"], .tag[data-tag="d6"] { background: var(--prussian); border: 0; color: var(--ochre-2); padding: 3px 6px 2px; }

/* ---- the result sheet ---- */
.sheet { position: relative; z-index: 2; margin: -26px 0 0 clamp(14px, 2.4vw, 34px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(200px, 36%); background: #fff; box-shadow: 0 34px 60px -34px rgba(14,27,38,.55), 0 0 0 1px var(--line); overflow: clip; }
.sheet__main { padding: 16px clamp(16px, 1.8vw, 24px) 6px; min-width: 0; }
.sheet__date { padding: 16px clamp(16px, 1.8vw, 24px) 14px; background: var(--film); box-shadow: inset 1px 0 0 var(--line); display: flex; flex-direction: column; min-width: 0; }
.sheet__l { margin: 0 0 4px; font: 600 .875rem/1.2 var(--label); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.notes { display: grid; }
.note { overflow: clip; }
.note[hidden] { display: none; }
.note:not([hidden]) ~ .note:not([hidden]) .note__in { box-shadow: inset 0 1px 0 var(--line); }
.note__top { display: flex; align-items: center; justify-content: space-between; gap: 6px 12px; flex-wrap: wrap; padding-top: 10px; }
.note__t { font: 600 clamp(1.12rem, 1.3vw, 1.28rem)/1.2 var(--display); color: var(--ink); }
.note__badge { flex: none; padding: 5px 8px 4px; font: 600 .875rem/1 var(--label); letter-spacing: .1em; text-transform: uppercase; background: var(--ochre); color: var(--ink); }
.note.is-likely .note__badge { background: #fff; box-shadow: inset 0 0 0 1.5px var(--ochre); }
.note.is-maybe .note__badge { background: #fff; outline: 1.5px dashed var(--ochre); outline-offset: -1.5px; }
.note__meta { display: flex; align-items: center; gap: 8px; margin: 3px 0 0; font-size: .95rem; color: var(--muted); }
.note__meta i { width: 5px; height: 5px; background: var(--ochre); }
.note__meta b { color: var(--ink); font-weight: 600; }
.note__why { margin: 3px 0 0; padding-bottom: 10px; font-size: .95rem; line-height: 1.45; color: var(--text); }
.note--none .note__t { color: var(--prussian); }
.note--empty .note__why { padding: 10px 0 12px; color: var(--muted); }

.sheet__d { margin: 0; display: grid; color: var(--ink); }
.roll { display: block; overflow: clip; padding: .12em 0 .16em; margin: -.12em 0 -.16em; }
.roll > span { display: inline-block; }
.sheet__d .roll:first-child > span { font: 500 1rem/1.25 var(--sans); color: var(--muted); }
.roll--big > span { font: 600 clamp(3rem, 4.4vw, 4.5rem)/1 var(--display); color: var(--prussian); letter-spacing: -.02em; }
.sheet__d .roll:last-child > span { font: 600 clamp(1.2rem, 1.4vw, 1.4rem)/1.2 var(--display); }
.sheet__w { margin: 8px 0 0; font-size: .95rem; color: var(--muted); }
.sheet__clear { display: none; margin: 4px 0 0; font-size: 1rem; line-height: 1.45; color: var(--ink); }
.sheet.is-clear .sheet__d, .sheet.is-clear .sheet__w, .sheet.is-empty .sheet__w { display: none; }
.sheet.is-clear .sheet__clear { display: block; }
.sheet.is-empty .sheet__d, .sheet.is-nodate .sheet__d { opacity: .25; }
.sheet.is-late .roll--big > span, .sheet.is-late .sheet__w { color: var(--brick); }
.sheet__foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 18px; padding: 12px clamp(16px, 1.8vw, 24px); background: var(--lime); box-shadow: inset 0 1px 0 var(--line); }
.sheet__reply { margin: 0; flex: 1 1 220px; font-size: .95rem; line-height: 1.45; color: var(--text); }
.sheet__reply b { font-weight: 600; }
.sheet.is-clear .sheet__foot, .sheet.is-empty .sheet__foot { display: none; }
.sheet__scan { position: absolute; top: 0; bottom: 0; left: 0; width: 100%; z-index: 3; opacity: 0; pointer-events: none; }

/* phone: a bar that keeps the answer in reach while you pick */
.peek { position: fixed; left: 16px; right: 16px; bottom: 14px; z-index: 40; display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 52px; padding: 0 22px; border: 0; border-radius: 999px; background: var(--ink); color: #fff; font: 600 .98rem/1.2 var(--sans); box-shadow: 0 18px 40px -16px rgba(14,27,38,.8), inset 0 0 0 1.5px rgba(217,164,65,.7); cursor: pointer; transform: translateY(160%); transition: transform .5s var(--ease); }
.peek.is-on { transform: none; }
.peek[hidden] { display: none; }

@media (max-width: 900px) {
  .chk__grid { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .chk__ask, .chk__show { display: contents; }
  .chk__head { order: 1; }
  .dwg { order: 2; margin-top: 18px; padding-bottom: 16px; }
  .chk__table { order: 3; }
  .chk__form { order: 3; }
  .sheet { order: 4; margin: 20px 0 0; }
  .chk__note { order: 5; }
  .chk-sr { order: 6; }
}
@media (max-width: 640px) {
  .chk { padding-top: calc(var(--hdr) + 14px); }
  .chk__h { font-size: clamp(2rem, 9vw, 2.5rem); }
  .chk__lede { font-size: 1rem; margin-top: 10px; }
  .dwg { margin-left: calc(var(--gut) * -1); margin-right: calc(var(--gut) * -1); padding: 8px 10px 10px; }
  .dwg__bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 28px; }
  .dwg > .dwg__bar > * { position: static; }
  .dwg__read { font-size: .875rem; }
  .tag:not(.tag--base):not(.is-latest) { opacity: 0; visibility: hidden; }
  .tag[data-tag="d3"].is-on, .tag[data-tag="d6"].is-on { opacity: 1; visibility: visible; }
  .chip { min-height: 44px; padding: 0 14px 0 12px; font-size: .94rem; }
  .chip--r { padding: 0 14px; }
  .sheet { grid-template-columns: minmax(0, 1fr); }
  .sheet__date { box-shadow: inset 0 1px 0 var(--line); display: grid; grid-template-columns: auto 1fr; column-gap: 16px; align-items: end; }
  .sheet__date .sheet__l, .sheet__date .sheet__w, .sheet__date .sheet__clear { grid-column: 1 / -1; }
  .sheet__d { grid-column: 1 / -1; grid-template-columns: auto 1fr; column-gap: 14px; align-items: end; }
  .sheet__d .roll--big { grid-row: 1 / 3; }
  .roll--big > span { font-size: 3.4rem; }
  .sheet__cta { width: 100%; white-space: normal; text-align: center; }
  .chk__table td:last-child { white-space: normal; }
}

/* ================= the three notices ================= */
.kinds { padding: clamp(56px, 6vw, 92px) 0; }
.kinds__head { margin-bottom: clamp(24px, 3.4vw, 46px); }
.kinds__head .lede { margin: 16px 0 0; max-width: 120ch; }
.kinds__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 30px); }
.kind { position: relative; display: flex; flex-direction: column; padding: clamp(18px, 2vw, 28px); background: rgba(10,26,40,.55); box-shadow: inset 0 0 0 1px rgba(220,230,238,.16); will-change: transform; }
.kind__svg { width: 100%; height: auto; aspect-ratio: 240 / 140; max-height: 20vh; margin-bottom: 16px; overflow: visible; }
.k-gnd { fill: none; stroke: rgba(220,230,238,.5); stroke-width: 1.5; }
.k-line { fill: none; stroke: #DCE6EE; stroke-width: 2; stroke-linejoin: round; }
.k-wall { fill: var(--ochre); fill-opacity: .3; stroke: var(--ochre); stroke-width: 1.8; }
.k-steel, .k-new { fill: var(--ochre); }
.k-dig { fill: url(#hatch); stroke: var(--ochre); stroke-width: 1.5; }
.k-45, .k-dim { fill: none; stroke: var(--ochre-2); stroke-width: 1.5; }
.k-flow { fill: none; stroke: var(--ochre-2); stroke-width: 1.5; stroke-dasharray: 6 6; opacity: .75; animation: k-flow 1.4s linear infinite; }
@keyframes k-flow { to { stroke-dashoffset: -24; } }
.kind__t { font: 600 clamp(1.4rem, 1.8vw, 1.75rem)/1.15 var(--display); color: #fff; }
.kind__meta { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 14px 0; padding: 10px 0; border-top: 1px solid rgba(220,230,238,.2); border-bottom: 1px solid rgba(220,230,238,.2); }
.kind__sec { font: 600 .875rem/1 var(--label); letter-spacing: .12em; text-transform: uppercase; color: var(--ochre); }
.kind__per { font: 500 1.05rem/1 var(--sans); color: #fff; }
.kind__per b { font: 600 2.4rem/1 var(--display); color: var(--ochre-2); margin-right: 6px; }
.kinds .kind__p { margin: 0; font-size: 1rem; line-height: 1.55; color: #C9D7E3; }
@media (max-width: 980px) { .kinds__grid { grid-template-columns: minmax(0, 1fr); } .kind { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 0 22px; align-items: center; } .kind__svg { margin: 0; max-height: none; } }
@media (max-width: 560px) { .kind { display: flex; } .kind__svg { margin-bottom: 14px; max-height: 150px; } }

/* ================= after you serve notice ================= */
.served { background: var(--lime); padding: clamp(56px, 6vw, 92px) 0; }
.served__grid { display: grid; grid-template-columns: minmax(0, 11fr) minmax(0, 10fr); gap: clamp(28px, 5vw, 84px); align-items: center; }
.served__fig { position: relative; margin: 0; }
.served__pic { position: relative; display: block; }
.served__pic::before { content: ''; position: absolute; inset: 16px -16px -16px 16px; border: 1.5px solid rgba(25,61,92,.45); clip-path: polygon(0 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% 100%, 0 100%); pointer-events: none; }
.served__frame { position: relative; display: block; }
.served__media { position: relative; display: block; aspect-ratio: 3 / 2; max-height: var(--media-cap); overflow: hidden; background: var(--prussian); }
.served__media img { position: absolute; inset: -6% 0; width: 100%; height: 112%; object-fit: cover; }
.served__bp { position: absolute; inset: 0; clip-path: circle(0px at 50% 50%); }
.served__ring { position: absolute; left: 0; top: 0; width: 0; height: 0; z-index: 2; pointer-events: none; opacity: 0; }
.served__ring::before { content: ''; position: absolute; left: calc(var(--lr, 120px) * -1); top: calc(var(--lr, 120px) * -1); width: calc(var(--lr, 120px) * 2); height: calc(var(--lr, 120px) * 2); border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--ochre), 0 0 0 6px rgba(217,164,65,.14); }
.served__ring::after { content: ''; position: absolute; left: -8px; top: -8px; width: 16px; height: 16px; background: linear-gradient(var(--ochre), var(--ochre)) center / 1.5px 100% no-repeat, linear-gradient(var(--ochre), var(--ochre)) center / 100% 1.5px no-repeat; }
.served__cap { position: relative; margin: 34px 0 0; padding-left: 30px; font-size: .95rem; line-height: 1.5; color: var(--muted); }
.served__cap::before { content: ''; position: absolute; left: 0; top: .75em; width: 20px; height: 1.5px; background: var(--ochre); }
.served__copy .lede { margin-top: 16px; }
.flow { position: relative; margin-top: clamp(18px, 3vh, 28px); }
.flow { --fg: clamp(10px, 1.8vh, 16px); isolation: isolate; }
.flow__list { display: grid; gap: var(--fg); }
/* the track: one segment per step, from its marker centre to the next marker centre */
.flow__i { position: relative; }
.flow__i:not(:last-child)::before { content: ''; position: absolute; left: 19.25px; top: 20px; width: 1.5px; height: calc(100% + var(--fg)); background: rgba(25,61,92,.22); z-index: 1; }
.flow__n { position: relative; z-index: 3; }
.flow__i { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 16px; align-items: start; }
.flow__n { display: grid; place-items: center; width: 40px; height: 40px; background: var(--lime); box-shadow: inset 0 0 0 1.5px var(--prussian); font: 600 1.05rem/1 var(--display); color: var(--prussian); transition: background-color .45s, color .45s, box-shadow .45s; }
.flow__i.is-on .flow__n { background: var(--prussian); color: #fff; }
.no-js .flow__n, .reduce .flow__n { background: var(--prussian); color: #fff; }
.flow__t { padding-top: 8px; font: 600 1.14rem/1.25 var(--sans); color: var(--ink); }
.flow__i p { margin: 4px 0 0; font-size: 1rem; line-height: 1.5; color: var(--muted); }
.flow__i .flow__opts { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.flow__opts span { padding: 6px 10px 5px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); font: 600 .875rem/1 var(--label); letter-spacing: .1em; text-transform: uppercase; color: var(--ink); }
.flow__line { position: absolute; z-index: 2; left: 19.25px; top: 20px; height: 0; width: 1.5px; pointer-events: none; }
.no-js .flow__line { display: none; }
.flow__line i { display: block; height: 100%; background: var(--ochre); transform-origin: top; }
.js:not(.reduce) .flow__line i { transform: scaleY(0); }
.reveal-done.reduce .flow__line i, .no-gsap .flow__line i { transform: none; }
@media (max-width: 900px) { .served__grid { grid-template-columns: minmax(0, 1fr); } .served__fig { max-width: 640px; } }

/* ================= enquiry ================= */
.cenq { background: var(--film); padding-bottom: clamp(120px, 11vw, 150px); }
.cenq__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.cenq__copy .lede { margin-top: 18px; }
.cenq__pre { margin: 18px 0 0; padding: 12px 16px; background: #fff; border-left: 3px solid var(--ochre); font-weight: 500; color: var(--ink); }
.cenq__pre[hidden] { display: none; }
.cenq__list { display: grid; gap: 14px; margin-top: 24px; }
.cenq__list li { position: relative; padding-left: 32px; color: var(--text); }
.cenq__list li::before { content: ''; position: absolute; left: 0; top: .8em; width: 20px; height: 1.5px; background: var(--ochre); }
.cenq__list li::after { content: ''; position: absolute; left: 19px; top: calc(.8em - 5px); width: 1.5px; height: 11px; background: var(--ochre); }
.cenq__list b { color: var(--ink); font-weight: 600; }
.cenq__list a { color: var(--prussian); font-weight: 600; text-decoration-color: var(--ochre); text-underline-offset: 4px; }
.cenq__panel { background: #fff; padding: clamp(22px, 3vw, 40px); box-shadow: 0 40px 80px -40px rgba(14,27,38,.4), 0 0 0 1px var(--line); }
.tline { position: absolute; left: var(--gut); right: var(--gut); bottom: clamp(34px, 4vw, 48px); height: 40px; pointer-events: none; }
.tline__svg { position: absolute; left: 0; top: 0; width: 100%; height: 40px; }
.tline__base { fill: none; stroke: rgba(25,61,92,.25); stroke-width: 1.5; }
.tline__days { fill: none; stroke: rgba(25,61,92,.4); stroke-width: 10; stroke-dasharray: 1.4 14.99; }
.tline__run { fill: none; stroke: var(--ochre); stroke-width: 3; }
.tline__m { position: absolute; left: var(--x); top: 34px; transform: translateX(-50%); font: 600 .875rem/1 var(--label); letter-spacing: .12em; text-transform: uppercase; color: var(--prussian); white-space: nowrap; }
.tline__m:first-of-type { transform: none; }
.tline__m--end { transform: translateX(-100%); }
.tline__dot { position: absolute; left: 0; top: 8px; width: 100%; height: 24px; }
.tline__dot::before { content: ''; position: absolute; left: -1.5px; top: 0; width: 3px; height: 100%; background: var(--ochre); box-shadow: 0 0 12px 2px rgba(217,164,65,.6); }
@media (max-width: 900px) { .cenq__grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) { .tline__m:nth-of-type(2), .tline__m:nth-of-type(3) { display: none; } }
.dwg__scan--dev { top: 0; bottom: 0; z-index: 4; }
.chk-safe [data-chk-in], .chk-safe .sheet, .chk-safe .dwg__svg, .chk-safe .dwg .tag--base { opacity: 1; }
/* proposed work: dashed lines march, the way a drafter marks new work */
.pt.is-on .dr-new, .pt.is-on .dr-loj, .pt.is-on .dr-removed, .pt.is-on .dr-gone, .ext-unsure .pt.is-on .dr-extbox { animation: chk-march 1.3s linear infinite; }
@keyframes chk-march { to { stroke-dashoffset: -24; } }

/* the drawn notice that goes next door */
.cenq__art { margin-top: clamp(22px, 4vh, 40px); max-width: 560px; }
.cenq__art svg { width: 100%; height: auto; overflow: visible; }
.n-paper { fill: #fff; stroke: var(--prussian); stroke-width: 1.8; }
.n-head { fill: none; stroke: var(--ochre); stroke-width: 6; }
.n-txt { fill: none; stroke: rgba(25,61,92,.35); stroke-width: 3; }
.n-sig { fill: none; stroke: var(--prussian); stroke-width: 2; }
.n-stamp { fill: none; stroke: var(--ochre); stroke-width: 2; }
.n-route { fill: none; stroke: var(--ochre); stroke-width: 1.8; stroke-dasharray: 3 7; stroke-linecap: round; animation: chk-march 1.6s linear infinite; }
.n-house { fill: none; stroke: var(--prussian); stroke-width: 2; stroke-linejoin: round; }
.n-win { fill: rgba(25,61,92,.08); stroke: var(--prussian); stroke-width: 1.6; }
.n-env rect { fill: #fff; stroke: var(--ink); stroke-width: 1.6; }
.n-env path { fill: none; stroke: var(--ink); stroke-width: 1.6; }
.js:not(.reduce) .n-env { opacity: 0; }
@media (max-width: 900px) { .cenq__art { max-width: 420px; margin-bottom: 8px; } }
.cenq::before { content: ''; position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(rgba(25,61,92,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(25,61,92,.08) 1px, transparent 1px); background-size: 40px 40px; -webkit-mask-image: linear-gradient(90deg, #000, rgba(0,0,0,.4) 40%, transparent 60%); mask-image: linear-gradient(90deg, #000, rgba(0,0,0,.4) 40%, transparent 60%); animation: chk-paper 22s linear infinite; }
.cenq > .wrap { position: relative; }

/* short desktop screens (1366x768, 1280x720): the whole tool, note and button included, fits below the header */
@media (max-height: 820px) and (min-width: 901px) {
  .chk { padding: calc(var(--hdr) + 10px) 0 4px; }
  .chk__h { font-size: clamp(2rem, 3vw, 3rem); }
  .chk__lede { margin-top: 8px; font-size: .98rem; line-height: 1.5; }
  .chk__form { margin-top: 12px; gap: 10px; }
  .qs__l { margin-bottom: 6px; font-size: 1rem; }
  .qs__n { width: 26px; height: 26px; font-size: .9rem; }
  .chips { gap: 6px; }
  .chip { font-size: .94rem; }
  .qs__in { min-height: 46px; padding: 8px 12px; }
  .chk__note { margin-top: 10px; font-size: .875rem; line-height: 1.45; }
  .dwg { padding-bottom: 34px; }
  .dwg__box { width: min(100%, calc((100vh - 420px) * 1.749)); margin: 0 auto; }
  .dwg__read { bottom: 40px; }
  .sheet__main { padding-top: 12px; }
  .sheet__date { padding-top: 12px; padding-bottom: 10px; }
  .note__top { padding-top: 6px; }
  .note__why { padding-bottom: 8px; }
  .roll--big > span { font-size: 2.8rem; }
  .sheet__d .roll:last-child > span { font-size: 1.15rem; }
  .sheet__w { margin-top: 4px; }
  .sheet__foot { padding-top: 8px; padding-bottom: 8px; }
}
