/* Working With Wood · option 4 "Site Plan, priced" (merge of option 3 frame + option 1 pricer + option 2 quote sheet).
   Palette and type are option 3's (palette-www3-paper-redline, type-www3-fraunces-publicsans). */
:root {
  color-scheme: light;
  --vellum: #f3efe7; --sheet: #fdfbf7; --sheet-2: #e7e1d5;
  --ink: #1b1c19; --ink-2: #3f403a; --ink-3: #595951;
  --rule: #a59d8a; --hair: #d9d2c3;
  --red: #a8261b; --red-ink: #9a2217; --red-wash: #f3d9d2;
  --btn-bg: #a8261b; --btn-fg: #ffffff; --btn-bg-hover: #8a1d14;
  --timber: #9c6a3a; --timber-wash: #e8d7c0; --timber-ink: #7a4f27;
  --lot: #c9c2b0; --house: #d8d1c1;
  --on-photo: #ffffff; --photo-scrim: rgba(15, 16, 13, .78);
  --shadow: 0 1px 0 rgba(27, 28, 25, .08), 0 18px 40px -22px rgba(27, 28, 25, .55);
  --focus: #1b1c19;
  --dock-bg: #1b1c19; --dock-fg: #f8f6ef; --dock-hair: #4b4b44;
  --f-display: "Fraunces", Georgia, "Times New Roman", serif;
  --f-text: "Public Sans", system-ui, sans-serif;
  --hdr: 64px; --dock: 0px;
  --gut: clamp(16px, 4vw, 56px);
  --ease: cubic-bezier(.2, .7, .2, 1);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --vellum: #151613; --sheet: #1e1f1b; --sheet-2: #2a2b26; --ink: #ede8db; --ink-2: #cfc9ba; --ink-3: #aea898;
    --rule: #6d6a5f; --hair: #3a3a34; --red: #ff7d68; --red-ink: #ff8f7c; --red-wash: #3b1d17;
    --btn-bg: #ff7d68; --btn-fg: #1c0702; --btn-bg-hover: #ff9a89; --timber: #d39b62; --timber-wash: #3a2c1d; --timber-ink: #e2b282;
    --lot: #4f4d45; --house: #34342e; --photo-scrim: rgba(8, 8, 6, .8);
    --shadow: 0 1px 0 rgba(0, 0, 0, .4), 0 14px 34px -18px rgba(0, 0, 0, .9);
    --focus: #ede8db; --dock-bg: #ede8db; --dock-fg: #151613; --dock-hair: #b9b3a4;
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --vellum: #151613; --sheet: #1e1f1b; --sheet-2: #2a2b26; --ink: #ede8db; --ink-2: #cfc9ba; --ink-3: #aea898;
  --rule: #6d6a5f; --hair: #3a3a34; --red: #ff7d68; --red-ink: #ff8f7c; --red-wash: #3b1d17;
  --btn-bg: #ff7d68; --btn-fg: #1c0702; --btn-bg-hover: #ff9a89; --timber: #d39b62; --timber-wash: #3a2c1d; --timber-ink: #e2b282;
  --lot: #4f4d45; --house: #34342e; --photo-scrim: rgba(8, 8, 6, .8);
  --shadow: 0 1px 0 rgba(0, 0, 0, .4), 0 14px 34px -18px rgba(0, 0, 0, .9);
  --focus: #ede8db; --dock-bg: #ede8db; --dock-fg: #151613; --dock-hair: #b9b3a4;
}

* { box-sizing: border-box; }
html { background: var(--vellum); -webkit-text-size-adjust: 100%; }
html.snap { scroll-snap-type: y mandatory; scroll-behavior: smooth; }
body { margin: 0; background: var(--vellum); color: var(--ink); font: 400 1rem/1.55 var(--f-text); overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--f-display); font-weight: 700; letter-spacing: -.015em; line-height: 1.04; margin: 0; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.skip { position: absolute; left: -999px; top: 0; z-index: 99; background: var(--ink); color: var(--vellum); padding: 10px 14px; }
.skip:focus { left: 8px; top: 8px; }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.kick { font: 600 .75rem/1.4 var(--f-text); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.kick b { color: var(--red-ink); font-weight: 700; }
.lede { color: var(--ink-2); font-size: 1.0625rem; line-height: 1.5; max-width: 46ch; }
.fine { color: var(--ink-3); font-size: .8125rem; line-height: 1.5; }
.verb { color: var(--ink-2); font-size: .9375rem; line-height: 1.5; }
.verb q { quotes: "\201C" "\201D"; }

/* ---------- buttons: one filled action, everything else outlined ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 0 26px; border: 0; border-radius: 6px;
  background: var(--btn-bg); color: var(--btn-fg); font: 700 1.0625rem/1.1 var(--f-text); text-decoration: none; cursor: pointer;
  box-shadow: 0 10px 22px -12px rgba(168, 38, 27, .9); transition: background .15s, transform .15s; }
.btn:hover { background: var(--btn-bg-hover); }
.btn:active { transform: translateY(1px); }
.btn .arr { font-size: 1.2em; line-height: 1; }
.btn-2 { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 18px; border-radius: 6px;
  border: 2px solid var(--ink); background: transparent; color: var(--ink); font: 700 .9375rem/1.1 var(--f-text); text-decoration: none; cursor: pointer; }
.btn-2:hover { background: var(--ink); color: var(--vellum); }
.btn-2.red { border-color: var(--red); color: var(--red-ink); }
.btn-2.red:hover { background: var(--red); color: var(--btn-fg); }
.asks { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.asks .btn { grid-column: 1 / -1; }
@media (min-width: 900px) { .asks { display: flex; flex-wrap: wrap; gap: 12px; } .asks .btn { min-width: 280px; } }

/* ---------- header ---------- */
.hdr { position: fixed; inset: 0 0 auto 0; z-index: 40; height: var(--hdr); display: flex; align-items: center; gap: 18px;
  padding: 0 var(--gut); background: var(--vellum); border-bottom: 1px solid var(--hair);
  backdrop-filter: saturate(1.2) blur(8px); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; min-width: 0; }
.brand img { width: 40px; height: 40px; }
:root[data-theme="dark"] .brand img { filter: invert(1) hue-rotate(180deg); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .brand img { filter: invert(1) hue-rotate(180deg); } }
.brand .nm { display: block; font: 700 1.125rem/1.05 var(--f-display); white-space: nowrap; }
.brand .rg { display: block; font: 600 .6875rem/1.3 var(--f-text); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); white-space: nowrap; }
.nav { display: none; gap: 22px; margin-left: auto; }
.nav a { text-decoration: none; font-weight: 600; font-size: .9375rem; padding: 6px 0; border-bottom: 2px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { border-bottom-color: var(--red); }
.hdr .call { margin-left: auto; text-decoration: none; font-weight: 700; font-size: .9375rem; border: 2px solid var(--ink); border-radius: 6px; padding: 8px 12px; white-space: nowrap; }
.hdr .count { font: 600 .75rem/1 var(--f-text); letter-spacing: .12em; color: var(--ink-3); font-variant-numeric: tabular-nums; white-space: nowrap; }
.hdr .btn { display: none; min-height: 44px; padding: 0 18px; font-size: .9375rem; box-shadow: none; }
@media (max-width: 899px) {
  :root { --hdr: 58px; --dock: 64px; }
  .brand img { width: 34px; height: 34px; }
  .brand .nm { font-size: 1rem; }
  .brand .rg { font-size: .625rem; }
  .hdr { gap: 10px; }
  .hdr .call { padding: 7px 10px; font-size: .875rem; }
  .hdr .call .long { display: none; }
}
@media (min-width: 900px) {
  .nav { display: flex; }
  .hdr .call { margin-left: 4px; border: 0; padding: 0; }
  .hdr .btn { display: inline-flex; }
}
@media (max-width: 360px) { .brand .rg { display: none; } }

/* ---------- dock (phones): Text / WhatsApp / Your sheet ---------- */
.dock { position: fixed; inset: auto 0 0 0; z-index: 40; height: var(--dock); display: grid; grid-template-columns: 1fr 1fr 1.35fr;
  background: var(--dock-bg); color: var(--dock-fg); padding-bottom: env(safe-area-inset-bottom); }
.dock a, .dock button { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; color: inherit; text-decoration: none;
  font: 700 .9375rem/1.1 var(--f-text); border: 0; background: none; border-right: 1px solid var(--dock-hair); cursor: pointer; }
.dock small { font: 600 .6875rem/1.2 var(--f-text); letter-spacing: .08em; text-transform: uppercase; opacity: .85; }
.dock .sheet-btn { background: var(--btn-bg); color: var(--btn-fg); border-right: 0; }
.dock .sheet-btn small { opacity: 1; }
.dock.bump .sheet-btn { animation: bump .6s var(--ease); }
@keyframes bump { 30% { transform: scale(1.06); } 100% { transform: none; } }
@media (min-width: 900px) {
  .dock { inset: auto 24px 24px auto; height: auto; width: auto; grid-template-columns: auto; border-radius: 8px; box-shadow: var(--shadow); overflow: hidden; }
  .dock a:not(.sheet-btn) { display: none; }
  .dock .sheet-btn { flex-direction: row; gap: 10px; padding: 14px 20px; }
}

/* ---------- home: full-screen sections ---------- */
.sec { position: relative; display: flex; flex-direction: column; justify-content: center; min-height: 100vh; min-height: 100svh;
  padding: calc(var(--hdr) + 20px) var(--gut) calc(var(--dock) + 20px); scroll-snap-align: start; scroll-snap-stop: always; }
.snap .sec { height: 100vh; height: 100svh; overflow: hidden; }
.wrap { width: 100%; max-width: 1240px; margin: 0 auto; }
.sec-n { font: 600 .75rem/1 var(--f-text); letter-spacing: .14em; text-transform: uppercase; color: var(--red-ink); margin-bottom: 10px; display: flex; gap: 10px; align-items: center; }
.sec-n::before { content: ""; width: 28px; height: 2px; background: var(--red); }
.sec h2 { font-size: clamp(1.9rem, 1.3rem + 2.4vw, 3.4rem); }
.two { display: grid; gap: 20px; align-items: center; }
@media (min-width: 900px) { .two { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 5vw, 80px); } .two.flip > :first-child { order: 2; } }
.stack > * + * { margin-top: 14px; }
@media (min-width: 900px) { .stack > * + * { margin-top: 20px; } }
/* small phones / short screens: release the snap so nothing is ever clipped */
@media (max-height: 740px) and (max-width: 899px), (max-height: 680px) {
  html.snap { scroll-snap-type: none; }
  .snap .sec { height: auto; min-height: 100svh; overflow: visible; }
}

/* hero */
.hero h1 { font-size: clamp(2.05rem, 1.2rem + 3.6vw, 4.4rem); max-width: 14ch; }
.hero .lede b { color: var(--ink); }
.plan { position: relative; margin: 0; background: var(--sheet); border-radius: 6px; box-shadow: var(--shadow); padding: 8px 8px 6px; }
.plan svg { display: block; width: 100%; height: auto; }
.plan figcaption { display: flex; justify-content: space-between; gap: 10px; padding: 4px 6px 0; font: 600 .6875rem/1.4 var(--f-text); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.plan figcaption .tap { color: var(--red-ink); }
.p-street { fill: var(--sheet-2); }
.p-lot { fill: none; stroke: var(--lot); stroke-width: 2; stroke-dasharray: 8 6; }
.p-house { fill: var(--house); stroke: var(--ink-3); stroke-width: 1.5; }
.p-label { font: 600 11px var(--f-text); letter-spacing: .12em; text-transform: uppercase; fill: var(--ink-3); }
.p-label.big { font: italic 600 18px var(--f-display); letter-spacing: 0; text-transform: none; fill: var(--ink-2); }
.p-fence { fill: none; stroke: var(--red); stroke-width: 7; stroke-linecap: square; }
.p-post { fill: var(--red); }
.p-deck { fill: var(--timber-wash); stroke: var(--timber); stroke-width: 2; }
.p-board { stroke: var(--timber); stroke-width: 1; opacity: .6; }
.p-gate { fill: none; stroke: var(--red); stroke-width: 1.5; stroke-dasharray: 3 3; }
.pk { cursor: pointer; }
.pk .hit { fill: none; stroke: transparent; stroke-width: 34; pointer-events: stroke; }
.pk .hit-a { fill: transparent; }
.co circle { fill: var(--red); stroke: var(--sheet); stroke-width: 3; }
.co.deck circle { fill: var(--timber-ink); }
.co text { fill: #fff; font: 700 15px var(--f-text); text-anchor: middle; dominant-baseline: central; }
.co .tip { fill: var(--ink); }
.co-lab { font: 700 13px var(--f-text); fill: var(--red-ink); }
.co-lab.deck { fill: var(--timber-ink); }
.pk:hover .p-fence, .pk:focus-visible .p-fence { stroke-width: 9; }
.pk:focus { outline: none; }
.pk:focus-visible .co circle { stroke: var(--focus); }
.js-motion .pulse { animation: pulse 2.2s var(--ease) infinite; transform-box: fill-box; transform-origin: center; }
@keyframes pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.18); } }
.js-motion .draw .p-fence { stroke-dasharray: 1; stroke-dashoffset: 1; animation: ink 1.6s .2s var(--ease) forwards; }
.js-motion .draw .p-post, .js-motion .draw .p-deck, .js-motion .draw .co, .js-motion .draw .co-lab, .js-motion .draw .p-board { opacity: 0; animation: fade .5s var(--ease) forwards; }
.js-motion .draw .p-post { animation-delay: 1.3s; }
.js-motion .draw .p-deck, .js-motion .draw .p-board { animation-delay: 1.7s; }
.js-motion .draw .co, .js-motion .draw .co-lab { animation-delay: 2.1s; }
.js-motion .draw .p-board { animation-name: fade6; }
@keyframes ink { to { stroke-dashoffset: 0; } }
@keyframes fade { to { opacity: 1; } }
@keyframes fade6 { to { opacity: .6; } }
@media (max-width: 899px) {
  .hero .wrap { display: flex; flex-direction: column; gap: 14px; }
  .hero h1 { font-size: 2.05rem; }
  .hero .lede { font-size: 1rem; }
  .plan { margin: 0 calc(var(--gut) * -1 + 6px); }
}

/* ---------- pricer (option 1's drawn run, in option 3's dress) ---------- */
.pricer { background: var(--sheet); border-radius: 8px; box-shadow: var(--shadow); padding: 18px 18px 16px; }
@media (min-width: 900px) { .pricer { padding: 28px 30px 24px; } }
.pr-q { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.pr-q label { font: 700 1.0625rem/1.25 var(--f-text); }
.pr-q output { font: 700 1.75rem/1 var(--f-display); color: var(--red-ink); white-space: nowrap; font-variant-numeric: tabular-nums; }
.pricer.deck .pr-q output { color: var(--timber-ink); }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 44px; background: transparent; margin: 6px 0 2px; cursor: pointer; }
input[type="range"]::-webkit-slider-runnable-track { height: 6px; border-radius: 3px; background: linear-gradient(to right, var(--red) var(--fill, 30%), var(--hair) var(--fill, 30%)); }
input[type="range"]::-moz-range-track { height: 6px; border-radius: 3px; background: var(--hair); }
input[type="range"]::-moz-range-progress { height: 6px; border-radius: 3px; background: var(--red); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 30px; height: 30px; margin-top: -12px; border-radius: 50%; background: var(--sheet); border: 3px solid var(--red); box-shadow: 0 2px 6px rgba(0,0,0,.25); }
input[type="range"]::-moz-range-thumb { width: 24px; height: 24px; border-radius: 50%; background: var(--sheet); border: 3px solid var(--red); }
.pricer.deck input[type="range"]::-webkit-slider-runnable-track { background: linear-gradient(to right, var(--timber) var(--fill, 30%), var(--hair) var(--fill, 30%)); }
.pricer.deck input[type="range"]::-webkit-slider-thumb { border-color: var(--timber); }
.pricer.deck input[type="range"]::-moz-range-progress { background: var(--timber); }
.pricer.deck input[type="range"]::-moz-range-thumb { border-color: var(--timber); }
.run { display: block; width: 100%; height: auto; margin: 2px 0 8px; overflow: visible; }
.run .gnd { stroke: var(--ink-3); stroke-width: 1.5; }
.run .pk-b { fill: var(--timber-wash); stroke: var(--timber); stroke-width: .8; }
.run .pk-p { fill: var(--red); }
.run .dim { stroke: var(--ink-3); stroke-width: 1; }
.run text { font: 700 12px var(--f-text); fill: var(--ink-2); }
.run .db { fill: var(--timber-wash); stroke: var(--timber); stroke-width: .8; }
.run .dk { fill: none; stroke: var(--timber); stroke-width: 2; }
.js-motion .run .grow { transform-box: fill-box; transform-origin: 50% 100%; animation: rise .38s var(--ease) both; }
.js-motion .run .grow-x { transform-box: fill-box; transform-origin: 0 50%; animation: risex .38s var(--ease) both; }
@keyframes rise { from { transform: scaleY(0); } }
@keyframes risex { from { transform: scaleX(0); } }
.res { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; padding-top: 10px; border-top: 1px solid var(--hair); }
.res .k { font: 700 .6875rem/1 var(--f-text); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); width: 100%; }
.res .v { font: 700 clamp(1.9rem, 1.4rem + 2vw, 2.9rem)/1.05 var(--f-display); font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.res .v .to { font: 400 .55em var(--f-text); color: var(--ink-3); letter-spacing: 0; }
.how { font: 600 .8125rem/1.45 var(--f-text); color: var(--ink-2); margin-top: 6px; }
.how .nq { color: var(--red-ink); }
.ref { margin-top: 8px; padding-left: 10px; border-left: 3px solid var(--red); font-size: .875rem; color: var(--ink-2); line-height: 1.45; }
.pricer.deck .ref { border-left-color: var(--timber); }
.add { margin-top: 14px; width: 100%; }
.add[aria-pressed="true"] { border-color: var(--ink-3); color: var(--ink-2); }
.add[aria-pressed="true"]:hover { background: var(--ink); color: var(--vellum); }

/* ---------- photos ---------- */
.ph { margin: 0; }
.ph .fr { position: relative; overflow: hidden; border-radius: 6px; background: var(--sheet-2); }
.ph img { width: 100%; height: 100%; object-fit: cover; }
.ph figcaption { margin-top: 8px; font-size: .875rem; color: var(--ink-2); line-height: 1.4; }
.gal { display: grid; gap: 10px; }
.gal .big .fr { aspect-ratio: 16 / 10; }
.thumbs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.thumbs button { padding: 0; border: 2px solid transparent; border-radius: 5px; overflow: hidden; background: none; cursor: pointer; aspect-ratio: 1; }
.thumbs button img { width: 100%; height: 100%; object-fit: cover; }
.thumbs button[aria-pressed="true"] { border-color: var(--red); }
.deckgal .thumbs button[aria-pressed="true"] { border-color: var(--timber); }
@media (max-width: 899px) { .gal .big .fr { aspect-ratio: 4 / 3; margin: 0 calc(var(--gut) * -1); border-radius: 0; } }
.photo-band { margin: 0 calc(var(--gut) * -1); }
.photo-band .fr { aspect-ratio: 16 / 7; border-radius: 0; }
@media (min-width: 900px) { .photo-band { margin: 0; } .photo-band .fr { aspect-ratio: 4 / 3; border-radius: 6px; } }

/* ---------- town rule ---------- */
.towns { display: flex; flex-wrap: wrap; gap: 6px; border: 0; padding: 0; margin: 0; }
.towns legend { font: 700 .6875rem/1 var(--f-text); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 8px; padding: 0; }
.towns label { position: relative; }
.towns input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.towns span { display: inline-flex; align-items: center; min-height: 36px; padding: 0 12px; border: 1.5px solid var(--rule); border-radius: 18px; font-size: .875rem; font-weight: 600; background: var(--sheet); }
.towns input:checked + span { background: var(--ink); color: var(--vellum); border-color: var(--ink); }
.towns input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 2px; }
.bars { background: var(--sheet); border-radius: 8px; box-shadow: var(--shadow); padding: 16px 18px; }
.bar { display: grid; grid-template-columns: 8.5em 1fr; align-items: center; gap: 10px; margin: 8px 0; }
.bar .l { font-weight: 600; font-size: .875rem; line-height: 1.25; }
.bar .track { position: relative; height: 34px; background: repeating-linear-gradient(to right, transparent 0 calc(33.333% - 1px), var(--hair) calc(33.333% - 1px) 33.333%); border-bottom: 1.5px solid var(--ink-3); }
.bar .fill { position: absolute; left: 0; top: 4px; bottom: 0; width: 0; background: repeating-linear-gradient(to right, var(--timber-wash) 0 7px, var(--timber) 7px 8.5px); border-right: 4px solid var(--red); transition: width .6s var(--ease); }
.bar .fill b { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); font: 700 .9375rem var(--f-text); color: var(--ink); background: var(--sheet); padding: 1px 6px; border-radius: 3px; white-space: nowrap; }
.bar .fill.none { width: 0 !important; border: 0; }
.scale { display: grid; grid-template-columns: 8.5em 1fr; gap: 10px; }
.scale div { display: flex; justify-content: space-between; font: 600 .6875rem var(--f-text); color: var(--ink-3); }
.said { margin-top: 12px; }
.confirm { display: inline-block; margin-top: 10px; font: 700 .6875rem/1 var(--f-text); letter-spacing: .14em; text-transform: uppercase; color: var(--red-ink); border: 1.5px solid var(--red); padding: 6px 8px; border-radius: 3px; }

/* ---------- the quote sheet (option 2's clipboard over his photo) ---------- */
.sheet-sec { color: var(--ink); }
.sheet-sec .bg { position: absolute; inset: 0; z-index: 0; }
.sheet-sec .bg img { width: 100%; height: 100%; object-fit: cover; }
.sheet-sec .bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15,16,13,.25), rgba(15,16,13,.55)); }
.sheet-sec .wrap { position: relative; z-index: 1; display: flex; justify-content: center; }
.clip { position: relative; width: 100%; max-width: 560px; background: var(--sheet); border-radius: 10px; box-shadow: 0 30px 60px -25px rgba(0,0,0,.7); padding: 30px 20px 20px; }
.clip::before { content: ""; position: absolute; top: -12px; left: 50%; transform: translateX(-50%); width: 120px; height: 28px; border-radius: 6px; background: linear-gradient(var(--ink-2), var(--ink)); box-shadow: 0 3px 6px rgba(0,0,0,.3); }
@media (min-width: 900px) { .clip { padding: 38px 34px 28px; } }
.clip h2 { font-size: clamp(1.7rem, 1.2rem + 1.8vw, 2.5rem); }
.clip .for { font-size: .8125rem; color: var(--ink-3); margin-top: 4px; }
.lines { list-style: none; margin: 14px 0 0; padding: 0; border-top: 2px solid var(--ink); }
.lines li { display: grid; grid-template-columns: 2.1em 1fr auto; gap: 4px 8px; align-items: baseline; padding: 10px 0; border-bottom: 1px solid var(--hair); }
.lines .n { font: 700 .75rem var(--f-text); color: var(--ink-3); font-variant-numeric: tabular-nums; }
.lines .w { font-weight: 600; font-size: .9375rem; line-height: 1.35; }
.lines .w small { display: block; font-weight: 400; color: var(--ink-3); font-size: .78rem; }
.lines .a { font: 700 1.0625rem var(--f-display); white-space: nowrap; font-variant-numeric: tabular-nums; }
.lines .rm { grid-column: 3; justify-self: end; border: 0; background: none; color: var(--ink-3); font: 600 .75rem var(--f-text); text-decoration: underline; cursor: pointer; padding: 6px 0 0; min-height: 28px; }
.lines li.ex .w, .lines li.ex .a { color: var(--ink-3); }
.lines li.ex .w small { color: var(--ink-3); }
.lines li.meta .a { font: 600 .9375rem var(--f-text); }
.js-motion .lines li.new { animation: land .55s var(--ease) both; }
@keyframes land { from { opacity: 0; transform: translateY(-14px); background: var(--red-wash); } 60% { background: var(--red-wash); } }
.clip .disc { margin-top: 10px; font-size: .78rem; color: var(--ink-3); line-height: 1.45; }
.clip .asks { margin-top: 16px; }
.empty-go { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 8px; font-weight: 600; font-size: .875rem; }
.empty-go a { color: var(--red-ink); }

/* ---------- next steps + shop (home end) ---------- */
.steps { list-style: none; margin: 0; padding: 0; counter-reset: s; display: grid; gap: 0; }
.steps li { display: grid; grid-template-columns: 34px 1fr; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--hair); }
.steps li::before { counter-increment: s; content: counter(s); display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--red); color: var(--btn-fg); font: 700 .875rem var(--f-text); }
.steps b { display: block; font-size: .9375rem; }
.steps span { display: block; font-size: .8125rem; color: var(--ink-2); line-height: 1.4; }
.shop { display: grid; gap: 10px; font-size: .875rem; }
.shop dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; }
.shop dt { font: 700 .6875rem/1.6 var(--f-text); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.shop dd { margin: 0; }
.shop a { font-weight: 600; }
.copy { margin-left: 8px; border: 1px solid var(--rule); background: none; color: var(--ink-2); border-radius: 3px; font: 600 .6875rem var(--f-text); padding: 3px 6px; cursor: pointer; }
.also { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: .875rem; }
.also a { font-weight: 600; }
.foot-l { font-size: .75rem; color: var(--ink-3); }
.foot-l a { color: var(--ink-2); }
.honest { font-size: .875rem; color: var(--ink-2); border-left: 3px solid var(--ink-3); padding-left: 10px; }

/* ---------- dialog: the form that sends the sheet ---------- */
dialog.send { width: min(560px, 100vw); max-width: 100vw; max-height: 100dvh; margin: auto; padding: 0; border: 0; border-radius: 10px; background: var(--sheet); color: var(--ink); box-shadow: 0 40px 80px -30px rgba(0,0,0,.8); }
dialog.send::backdrop { background: rgba(15, 16, 13, .6); }
@media (max-width: 899px) { dialog.send { width: 100vw; height: 100dvh; max-height: 100dvh; border-radius: 0; margin: 0; } }
.dlg { padding: 20px; display: flex; flex-direction: column; gap: 12px; }
.dlg-top { display: flex; justify-content: space-between; align-items: start; gap: 12px; }
.dlg-top h2 { font-size: 1.6rem; }
.x { border: 2px solid var(--ink); background: none; color: var(--ink); border-radius: 6px; min-height: 40px; padding: 0 12px; font: 700 .875rem var(--f-text); cursor: pointer; }
.dlg .lines { margin-top: 0; }
.f { display: grid; gap: 4px; }
.f label { font: 700 .6875rem/1.2 var(--f-text); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); }
.f input, .f textarea { width: 100%; font: 400 1rem/1.4 var(--f-text); color: var(--ink); background: var(--vellum); border: 1.5px solid var(--rule); border-radius: 5px; padding: 10px 12px; }
.f textarea { min-height: 84px; resize: vertical; }
.f input[aria-invalid="true"] { border-color: var(--red); }
.err { color: var(--red-ink); font-size: .8125rem; font-weight: 600; }
.row2 { display: grid; gap: 12px; grid-template-columns: 1fr 1fr; }
.legal { font-size: .75rem; color: var(--ink-3); line-height: 1.45; }
.sample { font: 700 .6875rem/1.2 var(--f-text); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.ok h3 { font-size: 1.5rem; margin: 6px 0; }
.ok p + p { margin-top: 8px; }
.stamp { display: inline-block; font: 700 .6875rem var(--f-text); letter-spacing: .12em; text-transform: uppercase; color: var(--red-ink); border: 1.5px solid var(--red); padding: 4px 8px; border-radius: 3px; transform: rotate(-2deg); }
.toast { position: fixed; left: 50%; bottom: calc(var(--dock) + 14px); transform: translate(-50%, 20px); z-index: 45; background: var(--ink); color: var(--vellum); padding: 10px 16px; border-radius: 6px; font-weight: 600; font-size: .9375rem; opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s; white-space: nowrap; }
.toast.on { opacity: 1; transform: translate(-50%, 0); }
@media (min-width: 900px) { .toast { left: auto; right: 24px; transform: translateY(20px); bottom: 92px; } .toast.on { transform: none; } }

/* ---------- fencing page (normal scroll) ---------- */
.lane { padding-top: var(--hdr); padding-bottom: var(--dock); }
.lane-first { min-height: calc(100svh - var(--hdr) - var(--dock)); display: flex; align-items: center; padding: 18px var(--gut) 22px; }
.lane-first .wrap { display: grid; gap: 16px; }
@media (min-width: 900px) { .lane-first .wrap { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 5vw, 72px); align-items: center; } }
.crumb { font-size: .8125rem; color: var(--ink-3); }
.crumb a { color: var(--ink-2); }
.lane h1 { font-size: clamp(1.85rem, 1.1rem + 3vw, 3.6rem); max-width: 16ch; }
.blk { padding: clamp(40px, 7vw, 96px) var(--gut); border-top: 1px solid var(--hair); }
.blk h2 { font-size: clamp(1.7rem, 1.2rem + 2vw, 2.8rem); }
.blk .wrap > * + * { margin-top: 18px; }
.prose { max-width: 70ch; color: var(--ink-2); line-height: 1.65; }
.prose p + p { margin-top: 12px; }
.cols { display: grid; gap: 18px; }
@media (min-width: 900px) { .cols { grid-template-columns: 1fr 1fr; gap: 28px; } }
.card { background: var(--sheet); border-radius: 8px; box-shadow: var(--shadow); padding: 18px 20px; }
.card h3 { font-size: 1.35rem; margin-bottom: 6px; }
.card .fig { font: 700 1.25rem var(--f-display); color: var(--red-ink); margin-bottom: 6px; }
details.q { border-bottom: 1px solid var(--hair); }
details.q summary { cursor: pointer; padding: 14px 0; font-weight: 700; font-size: 1.0625rem; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
details.q summary::-webkit-details-marker { display: none; }
details.q summary::after { content: "+"; font: 700 1.3rem/1 var(--f-text); color: var(--red-ink); }
details.q[open] summary::after { content: "\2212"; }
details.q > div { padding: 0 0 16px; color: var(--ink-2); line-height: 1.6; max-width: 72ch; }
.rel { list-style: none; padding: 0; margin: 0; display: grid; gap: 0 28px; }
@media (min-width: 700px) { .rel { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .rel { grid-template-columns: 1fr 1fr 1fr; } }
.rel a { display: block; padding: 10px 0; border-bottom: 1px solid var(--hair); font-weight: 600; text-decoration: none; }
.rel a:hover { color: var(--red-ink); }
.strip { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 900px) { .strip { grid-template-columns: repeat(3, 1fr); } }
.strip .fr { aspect-ratio: 4 / 3; }
.lane .sheet-sec { min-height: 100svh; display: flex; align-items: center; padding: 60px var(--gut) calc(var(--dock) + 60px); position: relative; }
.lane-foot { padding: 40px var(--gut) 48px; border-top: 1px solid var(--hair); }

/* reduced motion: everything lands at once, snapping stays (it is not motion) */
@media (prefers-reduced-motion: reduce) {
  html.snap { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* ---------- fix pass 1 (r1 review) ---------- */
[hidden] { display: none !important; }
.hdr .call .long { display: inline; }
@media (max-width: 899px) {
  .hdr .call .num { display: none; }
  .hdr .call .long { display: inline; }
  .brand { flex: 1 1 auto; }
  .hdr .call { margin-left: 0; }
}
@media (min-width: 900px) { .hdr .call .long { display: inline; } }
.towns { margin-top: 18px !important; }
.run text { font-size: 15px; }
.p-label { font-size: 13px; }
.co-lab { font-size: 19px; }
@media (max-width: 899px) {
  .p-label { font-size: 17px; }
  .p-label.big { font-size: 24px; }
  .co-lab { font-size: 25px; }
  .co text { font-size: 19px; }
}
@media (min-width: 900px) {
  .asks { flex-wrap: nowrap; }
  .asks .btn { min-width: 0; padding: 0 30px; }
  .hero .two { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
  .two.wide { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); }
  .lede { font-size: 1.25rem; }
  .sec h2 { font-size: clamp(2.4rem, 1.4rem + 2.6vw, 4rem); }
  .pricer { padding: 34px 38px 30px; }
  .pr-q label { font-size: 1.3rem; }
  .pr-q output { font-size: 2.6rem; }
  .res .v { font-size: clamp(2.6rem, 1.6rem + 2.4vw, 4rem); }
  .how { font-size: .9375rem; }
  .ref { font-size: 1rem; }
  .add { min-height: 54px; font-size: 1.0625rem; }
  .bars { padding: 26px 30px; }
  .bar { grid-template-columns: 11em 1fr; margin: 14px 0; }
  .bar .l { font-size: 1.0625rem; }
  .bar .track { height: 48px; }
  .scale { grid-template-columns: 11em 1fr; }
  .said .verb { font-size: 1.0625rem; }
  .towns span { min-height: 42px; padding: 0 16px; font-size: .9375rem; }
  .clip { max-width: 680px; }
  .lines .w { font-size: 1.0625rem; }
  .lines .a { font-size: 1.3rem; }
  .steps b { font-size: 1.0625rem; }
  .steps span { font-size: .9375rem; }
  .shop { font-size: 1rem; }
  .hero h1 { font-size: clamp(3rem, 1.6rem + 3vw, 5rem); }
}
/* the closing pair: next steps, then the shop */
.reach h2 { margin-bottom: 4px; }
.reach .shop dl { gap: 10px 18px; font-size: 1.0625rem; }
@media (min-width: 900px) { .reach .shop dl { font-size: 1.25rem; } }
.reach .also { font-size: 1rem; }

/* fencing first screen: the chain leads on phones (title, pricer, then the send button) */
.lane-first .wrap { grid-template-areas: "head" "pricer" "asks" "lede"; }
.lf-head { grid-area: head; } .lane-first .pricer { grid-area: pricer; } .lf-asks { grid-area: asks; } .lane-lede { grid-area: lede; }
@media (max-width: 899px) {
  .lane-first { padding-top: 14px; padding-bottom: 16px; align-items: flex-start; }
  .lane-first .wrap { gap: 12px; }
  .lane-first .asks .btn-2 { display: none; }
  .lane-first .pricer .ref .fine { display: none; }
}
@media (min-width: 900px) {
  .lane-first .wrap { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); grid-template-areas: "head pricer" "lede pricer" "asks pricer"; align-content: center; row-gap: 22px; }
  .lane-first .lf-head { align-self: end; }
  .lane-first .lf-asks { align-self: start; }
}

/* ---------- fix pass 2 (r2 review) ---------- */
.btn, .btn-2 { white-space: nowrap; }
.plan figcaption .tap { white-space: nowrap; }
@media (min-width: 900px) {
  .asks { display: grid; grid-template-columns: 1fr 1fr; max-width: 480px; }
  .asks .btn { grid-column: 1 / -1; min-height: 58px; font-size: 1.125rem; }
  .clip .asks { max-width: none; }
  .sec { padding-bottom: 84px; }
}

/* ======================================================================
   Rollout: every page from one system (lanes, repairs, towns, guides, hubs)
   ====================================================================== */
[id] { scroll-margin-top: calc(var(--hdr) + 12px); }
.pr-q .lab { font: 700 1.0625rem/1.25 var(--f-text); }
@media (min-width: 900px) { .pr-q .lab { font-size: 1.3rem; } }
.pricer.repair .pr-q output { font-size: 1.05rem; font-family: var(--f-text); text-align: right; white-space: normal; }
@media (min-width: 900px) { .pricer.repair .pr-q output { font-size: 1.2rem; } }
.add:disabled { opacity: .55; cursor: default; }

/* first screen without a pricer: title, lede, the ask, then his photo or the drawing */
.lane-first.media .wrap { grid-template-areas: "head" "lede" "asks" "media"; }
.lf-media { grid-area: media; min-width: 0; }
.lf-media .media-ph .fr { aspect-ratio: 4 / 3; }
@media (max-width: 899px) {
  .lane-first.media .lf-media .plan { margin: 0 calc(var(--gut) * -1 + 6px); }
}
@media (min-width: 900px) {
  .lane-first.media .wrap { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); grid-template-areas: "head media" "lede media" "asks media"; }
  .lane-first.media .lf-media { align-self: center; }
}

/* blocks with a drawing or photo beside the words */
.blk .two { align-items: center; }
.blk .two > .stack > * + * { margin-top: 16px; }
.blk .bars { margin-top: 8px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { font: 700 .6875rem/1 var(--f-text); letter-spacing: .1em; text-transform: uppercase; border: 1.5px solid var(--rule); border-radius: 14px; padding: 6px 10px; color: var(--ink-2); }
.blk details.q .prose { max-width: 72ch; }
.blk details.q .prose p + p { margin-top: 12px; }
.town-links { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.town-links a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border: 1.5px solid var(--rule); border-radius: 20px; font-weight: 600; font-size: .9375rem; text-decoration: none; background: var(--sheet); }
.town-links a[aria-current="page"] { background: var(--ink); color: var(--vellum); border-color: var(--ink); }
.prose a, .verb a { color: var(--red-ink); font-weight: 600; }

/* guides: the short answer sits beside his photo, so the screen under the drawing is full */
.ans-blk .two { align-items: start; }
@media (min-width: 900px) { .ans-blk .two { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); } }
.ans { background: var(--sheet); border-radius: 8px; box-shadow: var(--shadow); padding: 22px 20px; border-top: 4px solid var(--red); }
@media (min-width: 900px) { .ans { padding: 34px 38px; } }
.ans h2 { font-size: clamp(1.45rem, 1.1rem + 1.4vw, 2.2rem); margin-bottom: 14px; }
.ans .prose { color: var(--ink); font-size: 1.0625rem; }
.ans-ph .fr { aspect-ratio: 4 / 5; }
@media (max-width: 899px) { .ans-ph .fr { aspect-ratio: 4 / 3; } }

/* option 3's drawings (town limits, broken posts, deck beside the 10 m2 square, the yard index) */
.dwg svg { display: block; width: 100%; height: auto; }
.dwg .p-lot { stroke: var(--ink-3); stroke-width: 1.4; stroke-dasharray: 10 4 2 4; }
.dwg .p-house { stroke: var(--ink-2); }
.dwg .p-fence { stroke-width: 5; }
.dwg .p-label.red { fill: var(--red-ink); }
.dwg .p-label.lim { font-weight: 700; letter-spacing: .06em; }
.dwg .p-dim { stroke: var(--ink-3); stroke-width: 1; fill: none; }
.dwg .p-hatch { stroke: var(--rule); stroke-width: 1; }
.dwg .p-perg { fill: none; stroke: var(--ink-2); stroke-width: 1.3; stroke-dasharray: 4 3; }
.dwg .p-shed, .dwg .p-porch { fill: var(--sheet); stroke: var(--ink); stroke-width: 1.4; }
.dwg .p-screen { stroke: var(--ink-2); stroke-width: 4; stroke-dasharray: 2 2; }
.dwg .p-north { fill: none; stroke: var(--ink); stroke-width: 1.2; }
.dwg .p-co circle { fill: var(--sheet); stroke: var(--ink); stroke-width: 1.4; }
.dwg .p-co text { font: 700 12px var(--f-text); fill: var(--ink); text-anchor: middle; dominant-baseline: central; }
.dwg .p-zone-front { fill: var(--red-wash); opacity: .55; }
.dwg .p-fence-front { stroke: var(--red); stroke-width: 3; fill: none; stroke-dasharray: 9 5; }
.dwg .p-sq { fill: none; stroke: var(--ink-2); stroke-width: 1.2; stroke-dasharray: 3 3; }
.dwg .p-bad { stroke: var(--red); stroke-width: 2.4; fill: none; }
.dwg .p-mark { fill: var(--red); }
.dwg .p-ring { fill: none; stroke: var(--red); stroke-width: 1.6; }
.dwg .pk.on .p-shed, .dwg .pk.on .p-porch, .dwg .pk.on .p-house, .dwg .pk.on .p-perg, .dwg .pk.on .p-screen { stroke: var(--red); }
.dwg .pk.on .p-deck, .dwg .pk.on .p-shed, .dwg .pk.on .p-porch, .dwg .pk.on .p-house { fill: var(--red-wash); }
.dwg .pk.on .p-co circle { fill: var(--ink); stroke: var(--ink); }
.dwg .pk.on .p-co text { fill: var(--sheet); }
.dwg .pk { cursor: default; }
.dwg a.pk { cursor: pointer; }
.dwg .pk.ix:hover .p-fence, .dwg .pk.ix:focus-visible .p-fence { stroke-width: 8; }
.dwg .pk.ix:hover .p-deck, .dwg .pk.ix:hover .p-shed, .dwg .pk.ix:hover .p-house, .dwg .pk.ix:focus-visible .p-house, .dwg .pk.ix:focus-visible .p-deck { stroke: var(--red); fill: var(--red-wash); }
.dwg .pk.ix:hover .ixl, .dwg .pk.ix:focus-visible .ixl { text-decoration: underline; }
.dwg .ixl { font-weight: 700; }
.js-motion .dwg-svg .p-fence:not([pathLength]) { stroke-dasharray: none; stroke-dashoffset: 0; animation: none; }
.js-motion .dwg-svg .p-fence-front, .js-motion .dwg-svg .p-mark, .js-motion .dwg-svg .p-ring, .js-motion .dwg-svg .p-bad, .js-motion .dwg-svg .p-sq { opacity: 0; animation: fade .5s var(--ease) 1.8s forwards; }
.js-motion .dwg-svg .p-zone-front { opacity: 0; animation: fade55 .5s var(--ease) 1.8s forwards; }
@keyframes fade55 { to { opacity: .55; } }
.dwg figcaption span + span { white-space: nowrap; }
@media (max-width: 899px) {
  .dwg .p-label { font-size: 16px; letter-spacing: .06em; }
  .dwg .p-label.lim { font-size: 18px; letter-spacing: .02em; }
  .dwg .p-label.big { font-size: 22px; }
  .dwg .p-co text { font-size: 15px; }
  .dwg figcaption { flex-wrap: wrap; }
}

/* the repair markers (option 3's tap-the-broken-posts tool, in option 4's pricer card) */
.rp-svg { display: block; width: 100%; height: auto; margin: 6px 0 8px; overflow: visible; }
.rp-svg .hit-a { fill: transparent; }
.rp-svg .pk { cursor: pointer; outline: none; }
.rp-svg .pk:focus-visible .hit-a { stroke: var(--focus); stroke-width: 2; stroke-dasharray: 3 2; }
.rp-run { stroke: var(--timber); stroke-width: 6; stroke-linecap: square; }
.rp-run.bad { stroke: var(--red); }
.rp-x { stroke: var(--red); stroke-width: 3; fill: none; }
.rp-post { fill: var(--ink-2); }
.rp-post.on { fill: var(--red); }
.rp-ring { fill: none; stroke: var(--red); stroke-width: 2; }
.rp-arc { fill: none; stroke: var(--ink-3); stroke-width: 1.2; stroke-dasharray: 3 3; }
.rp-n { font: 700 13px var(--f-text); fill: var(--ink-2); }
.rp-l { font: 600 11px var(--f-text); letter-spacing: .12em; text-transform: uppercase; fill: var(--ink-3); }
.rp-house { fill: var(--house); stroke: var(--ink-3); }
.rp-deck { fill: var(--timber-wash); stroke: var(--timber); stroke-width: 2; }
.rp-deck.on { stroke: var(--red); stroke-width: 3.5; fill: var(--red-wash); }
.rp-board { stroke: var(--timber); stroke-width: .8; opacity: .6; pointer-events: none; }
.rp-part { fill: var(--sheet-2); stroke: var(--ink-3); stroke-width: 1.2; }
.rp-part.on { fill: var(--red); stroke: var(--red); }
.pk.rp:hover .rp-post { fill: var(--red-ink); }
.pk.rp:hover .rp-run { stroke-width: 8; }
@media (max-width: 899px) { .rp-n { font-size: 16px; } .rp-l { font-size: 13px; } }

/* pricer drawings for chain link and pergolas */
.run .mesh { stroke: var(--ink-3); stroke-width: .9; fill: none; }
.run .rail { stroke: var(--ink-2); stroke-width: 2.5; }
.run .house { fill: var(--house); }
.run .board { stroke: var(--timber); stroke-width: .6; opacity: .7; }
.run .pg { fill: var(--sheet-2); stroke: var(--ink-3); stroke-width: .8; }
.run .raft { stroke: var(--timber-ink); stroke-width: 2.2; }

/* guides hub */
.gx-tools { display: grid; gap: 14px; }
.gx-search { max-width: 520px; }
.gx-search input { min-height: 48px; }
.gx { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 0 28px; }
@media (min-width: 900px) { .gx { grid-template-columns: 1fr 1fr; } }
.gx li { border-bottom: 1px solid var(--hair); }
.gx a { display: grid; gap: 4px; padding: 14px 0; text-decoration: none; }
.gx .k { font: 700 .6875rem/1 var(--f-text); letter-spacing: .14em; text-transform: uppercase; color: var(--red-ink); }
.gx .t { font: 700 1.2rem/1.2 var(--f-display); }
.gx .s { font-size: .9375rem; color: var(--ink-2); line-height: 1.45; }
.gx a:hover .t { color: var(--red-ink); }

/* project photos */
.set { margin-top: 30px; }
.set h3 { font-size: 1.5rem; margin-bottom: 12px; }
.blk fieldset.towns { margin-top: 6px !important; }
/* phones: a first screen with a photo or drawing ends where its content ends, so no empty paper sits under it */
@media (max-width: 899px) { .lane-first.media { min-height: 0; padding-bottom: 28px; } }

/* r3 (coordinator): one price per card, a quiet repair prompt, bigger repair diagrams */
.res .v.prompt { font: 600 1rem/1.4 var(--f-text); letter-spacing: 0; color: var(--ink-2); padding: 4px 0 2px; }
@media (min-width: 900px) { .res .v.prompt { font-size: 1.125rem; } }
.pricer.repair .how { font-weight: 600; }
.rp-gnd { stroke: var(--ink-3); stroke-width: 1.5; }
.rp-pk { fill: var(--timber-wash); stroke: var(--timber); stroke-width: .8; }
.rp-pk.on { fill: var(--red-wash); stroke: var(--red); }
.rp-gate { fill: var(--timber-wash); stroke: var(--timber); stroke-width: 1.5; }
.rp-gate.on { fill: var(--red-wash); stroke: var(--red); stroke-width: 2.5; }
.rp-post { fill: var(--ink-2); }
.pk.rp:hover .rp-pk, .pk.rp:hover .rp-gate { stroke: var(--red); }
@media (max-width: 899px) {
  .pricer.repair .rp-svg { width: calc(100% + 36px); max-width: none; margin: 8px -18px 10px; }
  .rp-n { font-size: 15px; } .rp-l { font-size: 12px; }
}
.lines li.empty { display: block; grid-template-columns: none; color: var(--ink-2); font-weight: 600; font-size: .9375rem; padding: 16px 0; }

/* ---- www staging review fixes (lw2 dispatch 20261109T152100Z) ---- */
/* fix 1: the add button shows it is on the sheet; a second tap takes it off */
.add.on { border-color: var(--red); color: var(--red-ink); background: var(--red-wash); }
/* fix 2: the job-site town row and its Change town control */
.lines li.meta .w small { display: block; }
.lines li.meta .rm, .lines li.meta .town-sel { grid-column: 3; justify-self: end; }
.town-sel { font: 600 .9375rem var(--f-text); min-height: 40px; padding: 4px 8px; border: 1.5px solid var(--ink-3); border-radius: 4px; background: var(--sheet); color: var(--ink); max-width: 100%; }
/* fix 3/4: confirm locally opens the town's official page in a new tab */
.cf { margin-top: 12px; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; }
.cf-go, .cf-pick > summary { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font: 700 .875rem/1.2 var(--f-text); color: var(--red-ink); border: 1.5px solid var(--red); padding: 8px 12px; border-radius: 4px; text-decoration: none; cursor: pointer; background: transparent; }
.cf-go:hover, .cf-pick > summary:hover { background: var(--red-wash); }
.cf-pick > summary { list-style: none; }
.cf-pick > summary::-webkit-details-marker { display: none; }
.cf-pick { width: 100%; }
.cf-pick[open] > summary { background: var(--red-wash); }
.cf-list { list-style: none; margin: 8px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 6px; }
.cf-list a { display: flex; align-items: center; justify-content: space-between; min-height: 44px; padding: 8px 10px; border: 1px solid var(--hair); border-radius: 4px; font: 600 .875rem var(--f-text); color: var(--ink); text-decoration: none; }
.cf-list a:hover { border-color: var(--red); color: var(--red-ink); }
.cf-other { border: 0; background: none; color: var(--ink-2); font: 600 .8125rem var(--f-text); text-decoration: underline; cursor: pointer; min-height: 44px; padding: 0 4px; }
/* fix 6: his photos on the sheet and in the yard plan */
.clip-ph { margin-top: 16px; padding-top: 12px; border-top: 1px solid var(--hair); }
.clip-ph ul { list-style: none; margin: 6px 0 6px; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.clip-ph img { display: block; width: 100%; height: 64px; object-fit: cover; border-radius: 3px; }
.clip-ph a { font: 600 .8125rem var(--f-text); color: var(--ink-2); }
@media (min-width: 900px) { .clip-ph img { height: 92px; } }
.p-ph-fr { fill: #fff; stroke: var(--ink-3); stroke-width: 1; }
/* the home sheet is one full screen (snap); on phones its strip would run under the dock, so it shows on desktop
   home and on every lane page, where the sheet scrolls normally */
@media (max-width: 899px) { .snap .clip-ph { display: none; } }
/* ---- header never collides (operator report + lw2 measurement 2026-11-10: brand over "Fencing"/"Deck" at 1024-1100,
   "Deck Building" on two lines). Natural widths with the web fonts loaded: brand 232, nav 399, "Call " 32, call 139,
   counter 54, button 186, gaps 18, gutter 4vw. Everything fits from 1180 (home, with the counter); without the counter
   from 1102; without "Call " from 1067. Breakpoints keep >= 12px slack over those: the counter goes below 1200,
   "Call " below 1120, the page links fold into the Menu button below 1080. Below 900 the phone layout is unchanged.
   header-gate.mjs guards it. ---- */
.nav a { white-space: nowrap; }
.menu-btn { display: none; }
@media (min-width: 900px) {
  .hdr > * { flex-shrink: 0; }
  .brand { flex: 0 0 auto; }
}
@media (min-width: 900px) and (max-width: 1199px) { .hdr .count { display: none; } }
@media (min-width: 900px) and (max-width: 1119px) { .hdr .call .long { display: none; } }
@media (min-width: 900px) and (max-width: 1079px) {
  .menu-btn { display: inline-flex; align-items: center; gap: 8px; margin-left: auto; min-height: 44px; padding: 0 14px;
    font: 700 .9375rem/1 var(--f-text); color: var(--ink); background: transparent; border: 2px solid var(--ink); border-radius: 6px; cursor: pointer; }
  .menu-btn::after { content: ""; width: 7px; height: 7px; border: solid currentColor; border-width: 0 2px 2px 0; transform: translateY(-2px) rotate(45deg); }
  .hdr.nav-open .menu-btn::after { transform: translateY(2px) rotate(-135deg); }
  .menu-btn:hover, .hdr.nav-open .menu-btn { background: var(--sheet); }
  .nav { display: none; position: absolute; top: calc(100% + 6px); right: var(--gut); margin: 0; flex-direction: column; gap: 0;
    min-width: 220px; padding: 6px 0; background: var(--sheet); border: 1px solid var(--hair); border-radius: 6px; box-shadow: 0 10px 28px rgba(0, 0, 0, .14); }
  .hdr.nav-open .nav { display: flex; }
  .nav a { padding: 12px 18px; border-bottom: 0; border-left: 3px solid transparent; }
  .nav a:hover, .nav a[aria-current="page"] { border-left-color: var(--red); background: var(--vellum); }
}
/* gate d 5b: the static page prints no ballpark total (merge.js fills data-lo/data-hi on load from the visitor's size);
   until it does, the empty result does not show a stray "to" */
.res [data-lo]:empty + .to { display: none; }
