/* McLaughlin Realty & Renovations demo (GBT Labs, 14 Oct 2026), built on our Plumb template.
   Plumb Custom Homes: a small custom home builder near Raleigh. Our own site (Social & Skills dashboard, Websites tab,
   8 Oct 2026), built after studying how Osvald (Webflow) pairs a drawing-board hero with a dark works grid and a
   split testimonial heading. The motion kit (motion.js) gives [data-scrub] sections --p, 0 to 1 across their scroll. */

:root {
  --paper: #f2f1ec; --paper-2: #e8e6df; --ink: #111110; --ink-2: #1b1b1a; --chalk: #d3202a;
  --muted: rgba(17, 17, 16, .6); --line: rgba(17, 17, 16, .14); --line-l: rgba(255, 255, 255, .14);
  --sans: 'Archivo', system-ui, sans-serif; --mono: 'IBM Plex Mono', ui-monospace, monospace;
  --ease: cubic-bezier(.2, .75, .15, 1); --pad: clamp(18px, 3.4vw, 52px);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body { background: var(--paper); color: var(--ink); font: 400 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; width: 100%; height: 100%; object-fit: cover; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button, input { font: inherit; color: inherit; }
[hidden] { display: none !important; }
::selection { background: var(--chalk); color: #fff; }
.mono { font: 500 14px/1.5 var(--mono); letter-spacing: .06em; text-transform: uppercase; }
.dim { color: var(--muted); }
.rule { display: inline-block; width: 64px; height: 1px; background: currentColor; vertical-align: middle; margin-right: 14px; opacity: .5; }
.stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.sample-note { margin-top: 26px; font: 400 15px/1.4 var(--mono); color: var(--muted); }
.read-bar { position: fixed; z-index: 60; left: 0; top: 0; width: 100%; height: 2px; background: var(--chalk); }

/* a "live" status: a chalk dot that breathes */
.live { display: inline-flex; align-items: center; gap: 8px; }
.live::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--chalk); animation: breathe 1.8s ease-in-out infinite; }
@keyframes breathe { 50% { opacity: .25; transform: scale(.7); } }

/* ---- nav */
.nav { position: fixed; z-index: 50; inset: 0 0 auto; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 16px var(--pad);
  transition: background .4s, border-color .4s; border-bottom: 1px solid transparent; }
.has-scrolled .nav { background: rgba(242, 241, 236, .86); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-color: var(--line); }
.brand { display: inline-flex; align-items: center; font: 700 20px/1 var(--sans); font-stretch: 118%; letter-spacing: -.02em; text-transform: uppercase; }
.bob { position: relative; width: 14px; height: 22px; margin-right: 8px; }
.bob::before { content: ''; position: absolute; left: 6.5px; top: 0; width: 1px; height: 10px; background: currentColor; }
.bob::after { content: ''; position: absolute; left: 3px; top: 9px; width: 8px; height: 8px; background: var(--chalk); border-radius: 50% 0 50% 50%; transform: rotate(-45deg); }
.nav-links { display: flex; gap: 28px; }
.nav-links a, .nav-cta { font: 500 15px/1 var(--mono); letter-spacing: .04em; text-transform: uppercase; }
.nav-links i, .nav-cta i, .btn i { font-style: normal; display: inline-block; transition: transform .4s var(--ease); }
.nav-links a:hover i, .nav-cta:hover i, .btn:hover i { transform: translate(2px, -2px); }
.nav-cta { justify-self: end; padding: 10px 14px; border: 1px solid var(--ink); transition: background .3s, color .3s; }
.nav-cta:hover { background: var(--ink); color: var(--paper); }
.nav-menu { display: none; justify-self: end; width: 40px; height: 40px; border: 0; background: none; position: relative; cursor: pointer; }
.nav-menu span { position: absolute; left: 9px; right: 9px; height: 1.5px; background: currentColor; transition: transform .4s var(--ease); }
.nav-menu span:first-child { top: 15px; } .nav-menu span:last-child { top: 24px; }
.menu-open .nav-menu span:first-child { transform: translateY(4.5px) rotate(45deg); }
.menu-open .nav-menu span:last-child { transform: translateY(-4.5px) rotate(-45deg); }
.phone-menu { position: fixed; inset: 0; z-index: 40; background: var(--paper); display: flex; flex-direction: column; justify-content: center; gap: 6px;
  padding: 0 var(--pad); opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s; }
.phone-menu a { font: 600 40px/1.2 var(--sans); font-stretch: 112%; letter-spacing: -.03em; }
.menu-open .phone-menu { opacity: 1; visibility: visible; }

/* ---- 1. hero: drafting paper, a front elevation drawing itself, and the headline over it */
.hero { position: relative; min-height: max(760px, 100svh); padding: 92px var(--pad) 28px; overflow: hidden;
  background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 48px 48px; background-position: -1px -1px; }
.hero::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 55%, rgba(242, 241, 236, .2), var(--paper) 78%); }
.specs { position: relative; display: grid; grid-template-columns: auto auto; gap: 3px 18px; width: max-content; font: 400 14px/1.5 var(--mono); }
.specs div { display: contents; }
.specs dt { color: var(--muted); }
.bp { position: absolute; left: 50%; bottom: 5vh; width: min(1080px, 90vw); transform: translateX(-50%); overflow: visible; }
.bp path { fill: none; stroke: var(--ink); stroke-width: 1.3; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1;
  animation: draw 1.9s var(--ease) forwards; }
.bp .cons path { stroke-width: .8; opacity: .22; animation-duration: 1.4s; }
.bp .ground { stroke-width: 2; animation-delay: .25s; }
.bp .boxes path { fill: var(--paper); fill-opacity: 0; animation: draw 1.9s var(--ease) .45s forwards, fill .6s ease 1.6s forwards; }
.bp .tops path { fill: var(--paper); animation-delay: .9s; }
.bp .det path { stroke-width: 1; animation-delay: 1.3s; }
.bp .hatch path { stroke-width: .8; opacity: .45; animation-delay: 1.6s; }
.bp .dims path { stroke: var(--chalk); stroke-width: 1.1; animation-delay: 2s; }
.bp .dim-t text { fill: var(--chalk); font: 500 15px var(--mono); opacity: 0; animation: show .8s ease 2.6s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fill { to { fill-opacity: 1; } }
@keyframes show { to { opacity: 1; } }
.headline { position: relative; margin-top: 8vh; font: 600 clamp(56px, 9.6vw, 168px)/.9 var(--sans); font-stretch: 112%; letter-spacing: -.045em; }
.headline > span { display: block; }
.hl-2 { padding-left: 1.4em; }
.hero-foot { position: absolute; left: var(--pad); right: var(--pad); bottom: 24px; display: flex; justify-content: space-between; align-items: end; gap: 24px; }
.hero-foot p { max-width: 400px; font-size: 15px; color: var(--muted); }
.hero-foot p .rule { margin-bottom: 4px; }
.site-card { display: flex; align-items: center; gap: 14px; padding: 8px 14px 8px 8px; background: var(--paper); border: 1px solid var(--line);
  box-shadow: 0 20px 40px -28px rgba(17, 17, 16, .4); transition: border-color .3s; }
.site-card:hover { border-color: var(--ink); }
.site-card img { width: 88px; height: 64px; }
.site-card span { display: grid; gap: 2px; }
.site-card b { font: 600 15px/1.2 var(--sans); }
.site-card small { font: 400 14px/1.3 var(--mono); color: var(--muted); }
.site-card small.live { color: var(--chalk); text-transform: uppercase; letter-spacing: .04em; }
.site-card i { font-style: normal; margin-left: 10px; }

/* ---- 2. a plumb line widens into the finished house */
.line { height: 220vh; background: var(--ink); color: #fff; }
.line .stage { --a: clamp(0, calc((var(--p, 0) - .12) * 2.2), 1); --b: clamp(0, calc((var(--p, 0) - .55) * 3), 1); }
.line-photo { position: absolute; inset: 0; opacity: clamp(0, calc(var(--a) * 40), 1);
  clip-path: inset(calc((1 - var(--a)) * 12%) calc((1 - var(--a)) * 49.6%) calc((1 - var(--a)) * 6%) calc((1 - var(--a)) * 49.6%)); }
/* the intro, once the section nearly fills the screen: the heading rises in, then the plumb line draws down the
   middle, then the hint to scroll. Scrolling then widens the line into the photo (which starts as the same strip). */
.js .line:not(.scrub-in) [data-split] .wi { transform: translateY(105%); }
.line-plumb { position: absolute; left: 50%; top: 12%; bottom: 6%; width: .8%; min-width: 3px; translate: -50% 0;
  background: linear-gradient(180deg, #fff, rgba(255, 255, 255, .55)); transform-origin: 50% 0;
  opacity: clamp(0, calc(1 - var(--a) * 4), 1); }
.js .line-plumb { transform: scaleY(0); transition: transform 1.8s cubic-bezier(.65, 0, .25, 1) 1.3s; }
.js .line.scrub-in .line-plumb { transform: none; }
.line-hint { position: absolute; left: calc(50% + 28px); bottom: 9vh; color: rgba(255, 255, 255, .75);
  opacity: clamp(0, calc((.2 - var(--a)) * 20), 1); pointer-events: none; }
.line-hint span { display: inline-flex; align-items: center; gap: 10px; }
.line-hint i { width: 9px; height: 9px; border: solid currentColor; border-width: 0 1.5px 1.5px 0; rotate: 45deg; margin-top: -4px;
  animation: line-hint-bob 1.6s ease-in-out infinite; }
@keyframes line-hint-bob { 50% { translate: 0 5px; } }
.js .line-hint span { opacity: 0; transform: translateY(10px); transition: opacity .8s ease 3.2s, transform .8s ease 3.2s; }
.js .line.scrub-in .line-hint span { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .line-hint i { animation: none; } }
.line-photo img { transform: scale(calc(1.25 - var(--a) * .25)); }
.line-photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 10, 9, .55), rgba(10, 10, 9, .05) 45%, rgba(10, 10, 9, .7));
  opacity: var(--b); }
.line-head { position: absolute; left: var(--pad); right: var(--pad); top: 13vh; display: flex; justify-content: space-between; gap: 30px; align-items: start; }
.line-head .mono { color: rgba(255, 255, 255, .6); padding-top: 12px; }
.line-head h2 { font: 600 clamp(36px, 5.2vw, 90px)/.95 var(--sans); font-stretch: 110%; letter-spacing: -.04em; max-width: 11em; text-align: right;
  opacity: clamp(0, calc(1 - var(--a) * 3 + var(--b) * 3), 1); }
.line-head h2 em { font-style: normal; color: var(--chalk); }
.line-copy { position: absolute; right: var(--pad); bottom: 8vh; width: min(420px, 80vw); opacity: var(--b); transform: translateY(calc((1 - var(--b)) * 24px)); }
.line-copy p { font-size: 15px; color: rgba(255, 255, 255, .78); }
.line-copy .strong { margin-top: 14px; color: #fff; font-weight: 600; }

/* ---- 3. homes */
.homes { background: var(--ink); color: #fff; padding: 16vh var(--pad) 14vh; }
.sec-head { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 10px 30px; padding-bottom: 18px; border-bottom: 1px solid var(--line-l); margin-bottom: 48px; }
.sec-head > .mono:first-child { grid-column: 1 / -1; color: rgba(255, 255, 255, .6); }
.sec-head h2 { font: 500 clamp(30px, 3.6vw, 56px)/1 var(--sans); font-stretch: 105%; letter-spacing: -.03em; text-transform: uppercase; }
.homes .dim { color: rgba(255, 255, 255, .5); }
.home-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 0 24px; align-items: start; }
.home { position: relative; }
.home figure { overflow: hidden; }
.home figure img { transition: transform 1.4s var(--ease); }
.home:hover figure img { transform: scale(1.05); }
.h1 { grid-column: 1 / span 7; } .h1 figure { aspect-ratio: 4 / 3; }
.h2 { grid-column: 9 / span 4; margin-top: 16vh; } .h2 figure { aspect-ratio: 4 / 5; }
.h3 { grid-column: 6 / span 7; margin-top: 10vh; } .h3 figure { aspect-ratio: 4 / 3; }
.h4 { grid-column: 1 / span 4; grid-row: 2; margin-top: -4vh; } .h4 figure { aspect-ratio: 4 / 5; }
.home-card { display: grid; grid-template-columns: 1fr auto; gap: 6px 24px; padding: 18px 20px 20px; background: var(--ink-2); border: 1px solid var(--line-l); border-top: 0; }
.home-card h3 { font: 500 24px/1.1 var(--sans); letter-spacing: -.02em; }
.home-card p { grid-column: 1; font-size: 15px; color: rgba(255, 255, 255, .6); max-width: 40ch; }
.home-card dl { grid-column: 2; grid-row: 1 / span 2; display: grid; gap: 4px; font: 400 14px/1.4 var(--mono); text-align: right; align-self: start; }
.home-card dl div { display: flex; gap: 8px; justify-content: flex-end; }
.home-card dt { color: rgba(255, 255, 255, .45); }
.homes .sample-note { color: rgba(255, 255, 255, .45); }

/* ---- 4. process: a chalk line snaps across five stops */
.process { height: 300vh; background: var(--paper); }
.process .stage { padding: 15vh var(--pad) 0; --a: clamp(0, calc((var(--p, 0) - .06) * 1.2), 1); }
.process .sec-head { border-color: var(--line); }
.process .sec-head > .mono:first-child { color: var(--muted); }
.chalk { position: relative; height: 2px; margin: 9vh 0 0; background: var(--line); }
.chalk-line { position: absolute; inset: 0; background: var(--chalk); transform-origin: 0 50%; transform: scaleX(var(--a)); box-shadow: 0 0 10px rgba(211, 32, 42, .45); }
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; margin-top: -8px; }
.step { --on: clamp(0, calc((var(--a) - var(--at)) * 14), 1); position: relative; padding-top: 34px; opacity: calc(.28 + var(--on) * .72);
  transform: translateY(calc((1 - var(--on)) * 14px)); }
.step .dot { position: absolute; left: 0; top: 0; width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--ink);
  background: color-mix(in srgb, var(--chalk) calc(var(--on) * 100%), var(--paper)); border-color: color-mix(in srgb, var(--chalk) calc(var(--on) * 100%), var(--ink)); }
.step .mono { color: var(--muted); }
.step h3 { margin: 10px 0 10px; font: 600 26px/1.05 var(--sans); font-stretch: 108%; letter-spacing: -.03em; }
.step p { font-size: 16px; color: var(--muted); }

/* ---- 5. numbers */
.numbers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; padding: 12vh var(--pad) 10vh; background: var(--ink); color: #fff; }
.num { padding: 26px 22px 22px; border: 1px solid var(--line-l); background: var(--ink-2); }
.num b { display: block; font: 600 clamp(64px, 7.4vw, 124px)/.9 var(--sans); font-stretch: 112%; letter-spacing: -.05em; }
.num span { display: block; margin-top: 18px; font: 400 14px/1.4 var(--mono); text-transform: uppercase; color: rgba(255, 255, 255, .55); }
.num-foot { grid-column: 1 / -1; display: flex; justify-content: space-between; margin-top: 22px; color: rgba(255, 255, 255, .45); }

/* ---- 6. owners: the heading halves part while the notes rise between them */
.owners { position: relative; display: grid; grid-template-columns: 1fr min(430px, 86vw) 1fr; padding: 22vh var(--pad) 26vh; background: var(--paper); }
.owners-title { grid-column: 1 / -1; grid-row: 1; position: sticky; top: calc(50vh - .6em); align-self: start; height: 0; z-index: 0;
  display: flex; justify-content: space-between; font: 500 clamp(30px, 3.4vw, 54px)/1 var(--sans); font-stretch: 105%; letter-spacing: -.03em; }
.owners-title span { display: block; transition: transform .2s linear; }
.ot-l { transform: translateX(calc(var(--p, 0) * -2vw + 2vw)); }
.ot-r { transform: translateX(calc(var(--p, 0) * 2vw - 2vw)); }
.notes { grid-column: 2; grid-row: 1; position: relative; z-index: 1; display: grid; gap: 16px; padding-top: 40vh; }
.note { padding: 22px 22px 18px; background: #fff; border: 1px solid var(--line); box-shadow: 0 30px 60px -40px rgba(17, 17, 16, .35); }
.note blockquote { font-size: 15px; line-height: 1.5; }
.note figcaption { display: flex; align-items: center; gap: 12px; margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 15px; }
.note small { color: var(--muted); font-size: 15px; }
.ini { flex: 0 0 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: #fff; font: 500 14px/1 var(--mono); }
.stars { margin-left: auto; font: 500 14px/1 var(--mono); color: var(--chalk); }
.note.photo { padding: 8px 8px 0; }
.note.photo img { aspect-ratio: 4 / 3; height: auto; }
.note.photo figcaption { margin-top: 0; border-top: 0; padding: 12px 6px 14px; font: 400 14px/1.4 var(--mono); color: var(--muted); text-transform: uppercase; }

/* ---- 7. walk your lot */
.walk { position: relative; overflow: clip; padding: 22vh var(--pad); background: var(--ink); color: #fff; }
.walk-bg { position: absolute; inset: -12% 0; }
.walk-bg img { opacity: .6; }
.walk-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10, 10, 9, .82), rgba(10, 10, 9, .25)); }
.walk-inner { position: relative; max-width: 820px; }
.walk-inner .mono { color: rgba(255, 255, 255, .7); }
.walk h2 { margin: 22px 0 22px; font: 600 clamp(44px, 6vw, 104px)/.92 var(--sans); font-stretch: 112%; letter-spacing: -.045em; }
.walk h2 em { font-style: normal; color: var(--chalk); }
.walk-copy { max-width: 46ch; color: rgba(255, 255, 255, .78); }
.walk-btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.btn { display: inline-flex; align-items: center; gap: 10px; height: 50px; padding: 0 22px; font: 500 15px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; }
.btn-solid { background: var(--chalk); color: #fff; }
.btn-line { border: 1px solid rgba(255, 255, 255, .5); transition: background .3s, color .3s; }
.btn-line:hover { background: #fff; color: var(--ink); }

/* ---- footer: the name, with its own dimension line */
.foot { background: var(--paper); padding: 70px var(--pad) 24px; overflow: hidden; }
.foot-cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.4fr; gap: 30px; font-size: 16px; }
.foot-about { font: 500 20px/1.3 var(--sans); letter-spacing: -.01em; max-width: 22ch; }
.foot-cols h4 { margin-bottom: 12px; color: var(--muted); }
.foot-cols a { display: block; }
.foot-cols a:hover { color: var(--chalk); }
.foot-cols p { color: var(--muted); }
.news { display: flex; margin-top: 14px; border: 1px solid var(--ink); }
.news input { flex: 1; min-width: 0; height: 44px; padding: 0 12px; border: 0; background: none; outline: none; }
.news button { padding: 0 16px; border: 0; background: var(--ink); color: var(--paper); font: 500 14px/1 var(--mono); text-transform: uppercase; cursor: pointer; }
.news-done { margin-top: 14px; color: var(--ink) !important; }
.foot-mark { margin-top: 70px; }
.fm-dim { display: flex; align-items: center; gap: 14px; color: var(--chalk); font: 500 15px/1 var(--mono); }
.fm-dim span { flex: 1; height: 1px; background: var(--chalk); position: relative; }
.fm-dim span:first-child::before, .fm-dim span:last-child::after { content: ''; position: absolute; top: -8px; width: 1px; height: 17px; background: var(--chalk); }
.fm-dim span:first-child::before { left: 0; } .fm-dim span:last-child::after { right: 0; }
.fm-dim b { font-weight: 500; }
.foot-mark p { font: 700 clamp(48px, 11.6vw, 220px)/.82 var(--sans); font-stretch: 118%; letter-spacing: -.06em; text-transform: uppercase; text-align: center;
  margin: 10px 0 26px; }
.foot-base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px 24px; padding-top: 18px; border-top: 1px solid var(--line);
  font: 400 14px/1.4 var(--mono); color: var(--muted); }

/* ---- tablets */
@media (max-width: 1024px) {
  .nav-links { display: none; }
  .nav { grid-template-columns: 1fr auto; }
  .steps { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
  .step p { font-size: 15px; }
  .numbers { grid-template-columns: 1fr 1fr; }
  .foot-cols { grid-template-columns: 1fr 1fr; }
}

/* ---- phones */
@media (max-width: 720px) {
  .nav-cta { display: none; }
  .nav-menu { display: block; }
  .nav { grid-template-columns: 1fr auto; }
  .hero { padding-top: 80px; }
  .headline { margin-top: 6vh; font-size: 15vw; }
  .hl-2 { padding-left: .8em; }
  .bp { width: 168vw; bottom: 17vh; }
  .hero-foot { flex-direction: column; align-items: start; gap: 12px; }
  .line-head { flex-direction: column; top: 11vh; }
  .line-head h2 { text-align: left; }
  .line-hint { left: 50%; translate: -50% 0; bottom: 1.2vh; font-size: 12px; white-space: nowrap; }
  .line-copy { left: var(--pad); right: var(--pad); width: auto; bottom: 6vh; }
  .home-grid { grid-template-columns: 1fr; gap: 34px; }
  .h1, .h2, .h3, .h4 { grid-column: 1; grid-row: auto; margin-top: 0; }
  .home-card { grid-template-columns: 1fr; }
  .home-card dl { grid-column: 1; grid-row: auto; text-align: left; }
  .home-card dl div { justify-content: flex-start; }
  .process { height: 320vh; }
  .process .stage { padding-top: 11vh; }
  .chalk { position: absolute; left: calc(var(--pad) + 6px); top: 33vh; bottom: 6vh; width: 2px; height: auto; margin: 0; }
  .chalk-line { transform: scaleY(var(--a)); transform-origin: 50% 0; }
  .steps { grid-template-columns: 1fr; gap: 0; margin-top: 4vh; padding-left: 34px; }
  .step { padding-top: 0; min-height: 11vh; }
  .step .dot { left: -34px; top: 2px; }
  .step h3 { font-size: 21px; margin: 4px 0 0; }
  .step p { display: none; }
  .numbers { grid-template-columns: 1fr 1fr; }
  .num { padding: 18px 14px; }
  .owners { grid-template-columns: 1fr; padding: 14vh var(--pad); }
  .owners-title { grid-column: 1; flex-direction: column; justify-content: start; align-items: center; text-align: center; top: 10vh; height: auto;
    padding-bottom: 20px; background: var(--paper); z-index: 2; }
  .ot-l, .ot-r { transform: none; }
  .notes { grid-column: 1; grid-row: 2; padding-top: 0; }
  .foot-cols { grid-template-columns: 1fr; }
  .foot-mark p { font-size: 11.4vw; }
}

@media (prefers-reduced-motion: reduce) {
  .bp path, .bp .dim-t text, .bp .codes text { animation: none; stroke-dashoffset: 0; opacity: 1; }
  .bp .boxes path { fill-opacity: 1; }
  [data-scrub] { height: auto !important; }
  .stage { position: relative; height: auto; min-height: 100vh; }
}

/* ---- MR&R additions: logo lockup, the towns band, the next-review card, the estimate form */
.brand { gap: 10px; }
.brand-logo { width: 40px; height: 40px; object-fit: contain; }
.brand > span { display: grid; font-size: 17px; }
.brand small { font: 500 12px/1.3 var(--mono); letter-spacing: .08em; font-stretch: 100%; color: var(--muted); }
.towns { background: var(--ink); color: #fff; padding: 16px 0; border-block: 1px solid var(--line-l); }
.towns .marquee-track { gap: 42px; padding-right: 42px; align-items: center; }
.towns span { font: 500 14px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--chalk); }
.towns b { font: 600 22px/1 var(--sans); font-stretch: 110%; letter-spacing: -.02em; white-space: nowrap; }
.towns b::after { content: ''; display: inline-block; width: 6px; height: 6px; margin-left: 42px; background: var(--chalk); vertical-align: middle; transform: rotate(45deg); }
.note.next { background: var(--paper-2); border-style: dashed; }
.note.next blockquote { color: var(--muted); }
.note.next .ini { background: var(--chalk); }
.est { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)) auto; gap: 12px; align-items: end; margin-top: 34px; }
.est label { display: grid; gap: 6px; font: 500 14px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: rgba(255, 255, 255, .7); }
.est input, .est select { height: 50px; padding: 0 12px; border: 1px solid rgba(255, 255, 255, .35); background: rgba(10, 10, 9, .45); color: #fff;
  font: 400 15px/1 var(--sans); text-transform: none; letter-spacing: 0; color-scheme: dark; border-radius: 0; min-width: 0; }
.est input:focus-visible, .est select:focus-visible, .btn:focus-visible { outline: 2px solid var(--chalk); outline-offset: 2px; }
.est .btn { border: 0; cursor: pointer; }
.est-done { margin-top: 22px; max-width: 52ch; padding: 14px 16px; border-left: 2px solid var(--chalk); background: rgba(10, 10, 9, .55); color: #fff; }
.est-call-unused { margin-top: 22px; font: 400 15px/1.5 var(--mono); color: rgba(255, 255, 255, .7); }
.est-call b { color: #fff; font-weight: 500; user-select: all; }
.foot-strong { color: var(--ink) !important; font-weight: 500; user-select: all; }
.walk-inner { max-width: 1040px; }
@media (max-width: 1024px) { .est { grid-template-columns: 1fr 1fr; } .est .btn { grid-column: 1 / -1; justify-content: center; } }
@media (max-width: 720px) { .headline { font-size: 12.4vw; } .bp .dims, .bp .dim-t, .bp .codes { display: none; } .est { grid-template-columns: 1fr; } .brand > span { font-size: 15px; } .towns b { font-size: 18px; } }

/* ---- polish, 14 Oct: Brian's face where people decide, and selectable contact details */
.founder { display: flex; align-items: center; gap: 14px; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line-l); }
.founder img, .est-who img { flex: 0 0 auto; width: 60px; height: 60px; border-radius: 50%; object-fit: cover; border: 2px solid var(--chalk); }
.founder span { display: grid; gap: 2px; }
.founder b { font: 600 16px/1.2 var(--sans); color: #fff; }
.founder small { font: 400 14px/1.4 var(--mono); color: rgba(255, 255, 255, .62); text-transform: uppercase; letter-spacing: .04em; }
.est-who { display: flex; align-items: center; gap: 16px; margin-top: 28px; max-width: 560px; }
.est-who img { width: 72px; height: 72px; }
.est-who p { font-size: 15px; color: rgba(255, 255, 255, .8); }
.est-who b { color: #fff; }
.est-who .sel { color: #fff; font-weight: 600; user-select: all; white-space: nowrap; }
.site-card, .note, .num { transition: border-color .3s, transform .4s var(--ease), box-shadow .4s var(--ease); }
.note:hover { transform: translateY(-3px); box-shadow: 0 34px 60px -36px rgba(17, 17, 16, .45); }
.site-card:hover { transform: translateY(-2px); }
.nav-cta, .btn-solid { position: relative; }
.btn-solid:hover { filter: brightness(1.08); }

/* ---- quality pass, 14 Oct */
@media (min-width: 721px) {
  .headline { font-size: clamp(56px, 8.4vw, 148px); }
  .bp { width: min(1000px, 80vw); }
  /* the five steps sit in the middle of the screen instead of the top half */
  .process .stage { display: flex; flex-direction: column; justify-content: center; padding-top: 6vh; }
  .step h3 { font-size: 28px; }
  .step p { font-size: 15px; }
}
.walk { padding-bottom: 14vh; }
.h3 figure img { object-position: 50% 55%; }
.line-photo figcaption { position: absolute; left: var(--pad); bottom: 3vh; font: 400 13px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase;
  color: rgba(255, 255, 255, .55); opacity: var(--b); }

/* ---- drawing to done: a drag slider on drafting paper */
.reveal { padding: 16vh var(--pad) 12vh; background-color: var(--paper);
  background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px); background-size: 48px 48px; }
.reveal .sec-head { border-color: var(--line); }
.reveal .sec-head > .mono:first-child { color: var(--muted); }
.slider { --x: 50%; position: relative; aspect-ratio: 16 / 6.4; max-width: 100%; overflow: hidden; border: 1px solid var(--ink);
  box-shadow: 0 40px 80px -50px rgba(17, 17, 16, .55); user-select: none; touch-action: pan-y; }
.slider img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%; }
.slider .s-draw { clip-path: inset(0 calc(100% - var(--x)) 0 0); }
.s-handle { position: absolute; top: 0; bottom: 0; left: var(--x); width: 2px; margin-left: -1px; background: var(--chalk); pointer-events: none; }
.s-handle i { position: absolute; top: 50%; left: 50%; width: 52px; height: 52px; margin: -26px 0 0 -26px; display: grid; place-items: center; border-radius: 50%;
  background: var(--chalk); color: #fff; font: 600 22px/1 var(--sans); font-style: normal; box-shadow: 0 10px 30px -8px rgba(211, 32, 42, .7); }
.s-tag { position: absolute; top: 16px; padding: 7px 10px; font: 500 14px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; pointer-events: none; }
.s-tag-l { left: 16px; background: var(--paper); color: var(--ink); border: 1px solid var(--ink); }
.s-tag-r { right: 16px; background: var(--ink); color: #fff; }
.slider input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.slider input:focus-visible + * , .slider:focus-within { outline: 2px solid var(--chalk); outline-offset: 4px; }
.reveal .sample-note { color: var(--muted); }

/* ---- phones: a contact bar that is always one thumb away */
.mbar { display: none; }
@media (max-width: 720px) {
  .slider { aspect-ratio: 4 / 3.4; }
  .slider img { object-position: 38% 50%; }
  .mbar { position: fixed; z-index: 55; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px)); background: rgba(17, 17, 16, .92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
  .mbar a { display: grid; place-items: center; height: 46px; font: 500 15px/1.2 var(--mono); letter-spacing: .05em; text-transform: uppercase; text-align: center; }
  .mbar-est { background: var(--chalk); color: #fff; }
  .mbar-call { border: 1px solid rgba(255, 255, 255, .4); color: #fff; }
  .mbar-call span { display: block; font-size: 14px; letter-spacing: 0; text-transform: none; opacity: .75; }
  .foot { padding-bottom: 90px; }
}

/* ---- the hero hand-off, 14 Oct: drawing, a two-second hold, then the slider in its place */
.bp { transition: opacity .9s ease, transform 1.2s var(--ease); }
.hero-slider { position: absolute; left: 50%; width: min(1240px, calc(100% - 2 * var(--pad))); aspect-ratio: auto; z-index: 2;
  opacity: 0; visibility: hidden; transform: translate(-50%, 18px); transition: opacity .9s ease .25s, transform 1.2s var(--ease) .25s, visibility 0s linear 1.2s; }
.hero.swap .bp { opacity: 0; transform: translateX(-50%) scale(.985); }
.hero.swap .hero-slider { opacity: 1; visibility: visible; transform: translate(-50%, 0); transition-delay: .25s, .25s, 0s; }
.hero-slider .s-handle i { animation: nudge 2.4s ease-in-out 4s infinite; }
@keyframes nudge { 0%, 70%, 100% { transform: none; } 80% { transform: translateX(-5px); } 90% { transform: translateX(5px); } }
@media (max-width: 720px) {
  .hero-slider { width: calc(100% - 2 * var(--pad)); }
  .hero-slider img { object-position: 30% 50%; }
}
@media (prefers-reduced-motion: reduce) { .hero-slider .s-handle i { animation: none; } }

/* phones: the contact bar sits at the bottom, so the hero foot moves up above it and drops the job card */
@media (max-width: 720px) { .hero-foot { bottom: 88px; } .hero-foot .site-card { display: none; } }

/* ---- header, 14 Oct: a dark license strip, a bigger mark, red chalk-line links, a solid red estimate button,
   and a tape-measure ruler along the bar's bottom edge that the red reading line runs along */
.topbar { position: fixed; z-index: 52; inset: 0 0 auto; height: 34px; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 0 var(--pad); background: var(--ink); color: rgba(255, 255, 255, .72); font: 400 14px/1 var(--mono); letter-spacing: .05em; text-transform: uppercase; }
.topbar b { color: #fff; font-weight: 500; }
.topbar i { display: inline-block; width: 5px; height: 5px; margin: 0 12px; background: var(--chalk); transform: rotate(45deg); vertical-align: 1px; }
.topbar .sel { user-select: all; letter-spacing: .02em; }
.nav { top: 34px; padding-block: 12px; background: rgba(242, 241, 236, .9); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.has-scrolled .nav { background: rgba(242, 241, 236, .94); border-color: transparent; box-shadow: 0 14px 30px -24px rgba(17, 17, 16, .5); }
.brand-logo { width: 46px; height: 46px; }
.brand > span { font-size: 19px; }
.nav-links { gap: 34px; }
.nav-links a { position: relative; padding: 8px 0; }
.nav-links a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--chalk); transform: scaleX(0); transform-origin: 0 50%;
  transition: transform .45s var(--ease); }
.nav-links a:hover::after, .nav-links a.on::after { transform: scaleX(1); }
.nav-links a.on { color: var(--chalk); }
.nav-links a i { color: var(--chalk); }
.nav-cta { background: var(--chalk); border-color: var(--chalk); color: #fff; padding: 12px 18px; box-shadow: 0 10px 24px -12px rgba(211, 32, 42, .8);
  transition: background .3s, border-color .3s, transform .3s var(--ease); }
.nav-cta:hover { background: var(--ink); border-color: var(--ink); color: #fff; transform: translateY(-1px); }
.ruler { position: absolute; left: 0; right: 0; bottom: 0; height: 8px; pointer-events: none; opacity: .38;
  background: repeating-linear-gradient(90deg, var(--ink) 0 1px, transparent 1px 60px) 0 100% / 100% 8px no-repeat,
              repeating-linear-gradient(90deg, var(--ink) 0 1px, transparent 1px 12px) 0 100% / 100% 4px no-repeat; }
.nav .read-bar { position: absolute; top: auto; bottom: 0; height: 3px; }
.hero { padding-top: 140px; }
.phone-menu { padding-top: 110px; }
@media (max-width: 1024px) { .tb-y { display: none; } }
@media (max-width: 720px) {
  .topbar { height: 30px; font-size: 13px; }
  .nav { top: 30px; }
  .tb-x, .tb-y { display: none; }
  .brand-logo { width: 38px; height: 38px; }
  .hero { padding-top: 124px; }
}

/* ---- final cleanup, 14 Oct: the about copy stays readable over the bright kitchen, and the phone reviews
   heading sits below the two-row header instead of under it */
.line-photo::after { background: linear-gradient(180deg, rgba(10, 10, 9, .6), rgba(10, 10, 9, .08) 40%, rgba(10, 10, 9, .86)); }
.line-copy p { text-shadow: 0 1px 14px rgba(0, 0, 0, .75); }
.line-copy .founder { text-shadow: none; }
@media (max-width: 720px) { .owners-title { top: 108px; } }

/* ---- the briefing's rules, 16 Oct: the license number leading the numbers row */
.num b.lic { font-size: clamp(48px, 5.4vw, 96px); letter-spacing: -.04em; }

/* ---- inner pages, 16 Oct: built by tools/build.py from content/. The home page's parts, carried through:
   drafting paper and a sheet number at the top, the license card beside the text, a customer's words, and the
   free-estimate band with its form */
.topbar a { color: inherit; }
.nav-links a[aria-current] { color: var(--chalk); }
.nav-links a[aria-current]::after { transform: scaleX(1); }
.hero.sub { min-height: 0; padding: 150px var(--pad) 64px; border-bottom: 1px solid var(--line); }
.hero.sub::before { background: radial-gradient(ellipse at 70% 40%, rgba(242, 241, 236, .1), var(--paper) 72%); }
.sub-copy { position: relative; margin-top: 7vh; max-width: 1080px; }
.sub-copy .label { color: var(--muted); }
.page-h1 { margin: 18px 0 0; font: 600 clamp(40px, 6.2vw, 104px)/.94 var(--sans); font-stretch: 110%; letter-spacing: -.045em; max-width: 15em; }
.page-h1 em { font-style: normal; color: var(--chalk); }
.lede { margin-top: 24px; max-width: 54ch; font-size: 18px; line-height: 1.5; color: var(--muted); }
.hero-btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.btn-ink { border: 1px solid var(--ink); color: var(--ink); transition: background .3s, color .3s; }
.btn-ink:hover { background: var(--ink); color: var(--paper); }
.btn.wide { width: 100%; justify-content: center; }

.page-wrap { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 64px; align-items: start; padding: 72px var(--pad) 96px; max-width: 1360px; margin: 0 auto; }
.page-wrap.solo { grid-template-columns: minmax(0, 820px); justify-content: center; }
.prose { max-width: 760px; font-size: 17px; line-height: 1.7; }
.prose > * + * { margin-top: 18px; }
.prose h2 { margin-top: 56px; padding-top: 18px; border-top: 1px solid var(--line); font: 600 clamp(26px, 2.6vw, 38px)/1.08 var(--sans); font-stretch: 106%; letter-spacing: -.03em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 30px; font: 600 21px/1.25 var(--sans); letter-spacing: -.015em; }
.prose a { color: var(--chalk); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.prose a:hover { color: var(--ink); }
.prose strong, .prose .strong { font-weight: 600; }
.prose ul, .prose ol { display: grid; gap: 10px; padding-left: 0; }
.prose ul > li { position: relative; padding-left: 26px; }
.prose ul > li::before { content: ''; position: absolute; left: 4px; top: .68em; width: 7px; height: 7px; background: var(--chalk); transform: rotate(45deg); }
.prose ol { counter-reset: n; }
.prose ol > li { counter-increment: n; position: relative; padding-left: 44px; }
.prose ol > li::before { content: counter(n, decimal-leading-zero); position: absolute; left: 0; top: .2em; font: 500 15px/1.6 var(--mono); color: var(--chalk); letter-spacing: .04em; }
.callout { padding: 22px 24px; background: #fff; border: 1px solid var(--line); border-left: 3px solid var(--chalk); box-shadow: 0 30px 60px -44px rgba(17, 17, 16, .35); }
.callout p { font-size: 17px; }
.callout p + p { margin-top: 10px; }
.callout .mono { color: var(--chalk); margin-bottom: 6px; }

/* the contact facts, and a list of services, as drawing-sheet cells */
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border: 1px solid var(--line); background: #fff; }
.facts > div { padding: 20px 22px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.facts > div:nth-child(2n) { border-right: 0; }
.facts > div:nth-last-child(-n+2) { border-bottom: 0; }
.facts h3 { margin: 0 0 6px; font: 500 14px/1.4 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.facts p { font: 500 19px/1.35 var(--sans); }
.facts p a { color: var(--ink); text-decoration: none; }
.facts p a:hover { color: var(--chalk); }
.svc-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; counter-reset: s; }
.svc-list > section { counter-increment: s; position: relative; padding: 22px 22px 20px; background: #fff; border: 1px solid var(--line); }
.svc-list > section::before { content: counter(s, decimal-leading-zero); display: block; font: 500 14px/1 var(--mono); color: var(--chalk); letter-spacing: .06em; }
.svc-list h3 { margin: 10px 0 8px; font-size: 20px; }
.svc-list p { font-size: 15px; line-height: 1.55; color: var(--muted); }
.svc-list a.more { display: inline-block; margin-top: 10px; font: 500 14px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; text-decoration: none; }
.founder-fig { display: flex; align-items: center; gap: 18px; padding: 18px; background: var(--ink); color: #fff; }
.founder-fig img { flex: 0 0 auto; width: 84px; height: 84px; border-radius: 50%; border: 2px solid var(--chalk); }
.founder-fig figcaption { display: grid; gap: 4px; font: 400 14px/1.5 var(--mono); letter-spacing: .04em; text-transform: uppercase; color: rgba(255, 255, 255, .65); }
.founder-fig b { font: 600 19px/1.2 var(--sans); letter-spacing: -.01em; text-transform: none; color: #fff; }

/* the license card: the briefing's whole argument, beside every page */
.lic-card { position: sticky; top: 132px; display: grid; gap: 14px; padding: 24px; background: var(--ink); color: #fff; box-shadow: 0 40px 80px -50px rgba(17, 17, 16, .7); }
.lic-card > .mono { color: var(--chalk); }
.lc-num { display: grid; gap: 2px; padding-bottom: 14px; border-bottom: 1px solid var(--line-l); }
.lc-num small { font: 400 14px/1.4 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: rgba(255, 255, 255, .6); }
.lc-num b { font: 700 54px/.95 var(--sans); font-stretch: 116%; letter-spacing: -.04em; }
.lc-num span { font: 400 15px/1.4 var(--mono); color: rgba(255, 255, 255, .7); }
.lc-check { font: 500 15px/1.3 var(--mono); letter-spacing: .04em; text-transform: uppercase; color: #fff; }
.lc-check i { font-style: normal; color: var(--chalk); }
.lc-check:hover { color: var(--chalk); }
.lc-list { display: grid; gap: 8px; font-size: 16px; color: rgba(255, 255, 255, .82); }
.lc-list li { position: relative; padding-left: 20px; }
.lc-list li::before { content: ''; position: absolute; left: 2px; top: .6em; width: 6px; height: 6px; background: var(--chalk); transform: rotate(45deg); }
.lic-card .btn-ink { border-color: rgba(255, 255, 255, .45); color: #fff; }
.lic-card .btn-ink:hover { background: #fff; color: var(--ink); }
.lc-meta { font: 400 14px/1.6 var(--mono); color: rgba(255, 255, 255, .55); }

/* read next, and a customer's words */
.rel { padding: 0 var(--pad) 90px; max-width: 1360px; margin: 0 auto; }
.rel h2 { color: var(--muted); margin-bottom: 18px; }
.rel-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; }
.rel-grid a { position: relative; display: grid; gap: 8px; padding: 22px 46px 22px 22px; background: #fff; border: 1px solid var(--line); transition: border-color .3s, transform .4s var(--ease); }
.rel-grid a:hover { border-color: var(--ink); transform: translateY(-2px); }
.rel-grid small { font: 500 14px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--chalk); }
.rel-grid b { font: 600 20px/1.2 var(--sans); letter-spacing: -.015em; }
.rel-grid i { position: absolute; right: 18px; top: 20px; font-style: normal; }
.quote-band { padding: 14vh var(--pad); background: var(--ink); color: #fff; text-align: center; }
.quote-band blockquote { max-width: 30ch; margin: 0 auto; font: 500 clamp(24px, 2.8vw, 40px)/1.25 var(--sans); letter-spacing: -.02em; }
.quote-band figcaption { margin-top: 26px; font: 400 15px/1.5 var(--mono); letter-spacing: .05em; text-transform: uppercase; color: rgba(255, 255, 255, .6); }
.quote-band figcaption a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.foot-strong a:hover, .foot-base a:hover { color: var(--chalk); }
.foot-base a { text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 1024px) {
  .page-wrap { grid-template-columns: minmax(0, 1fr); gap: 44px; }
  .lic-card { position: static; max-width: 560px; }
}
@media (max-width: 720px) {
  .hero.sub { padding: 128px var(--pad) 44px; }
  .sub-copy { margin-top: 4vh; }
  .page-h1 { font-size: clamp(36px, 10.4vw, 56px); }
  .lede { font-size: 16px; }
  .page-wrap { padding: 44px var(--pad) 64px; }
  .prose { font-size: 16px; }
  .facts, .svc-list { grid-template-columns: 1fr; }
  .facts > div { border-right: 0; }
  .facts > div:nth-last-child(2) { border-bottom: 1px solid var(--line); }
  .quote-band blockquote { font-size: 22px; }
}

/* ---- WEB-01, 16 Oct: the service-area line from Briefing 16.1 in the header of every page: the top bar on wide
   screens, the menu on phones */
.tb-area { flex: 1; min-width: 0; text-align: center; text-transform: none; letter-spacing: .02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pm-area { margin-top: 26px; max-width: 34ch; font: 400 15px/1.6 var(--mono); color: var(--muted); }
@media (max-width: 1360px) { .tb-place { display: none; } }
@media (max-width: 1180px) { .tb-left .tb-x { display: none; } }
@media (max-width: 860px) { .tb-area { display: none; } }

/* ---- WEB-03, 16 Oct: the hours in the header as well as the footer, from the same setting */
.tb-hours { white-space: nowrap; }
@media (max-width: 1600px) { .tb-left .tb-x { display: none; } }
@media (max-width: 1500px) { .tb-place { display: none; } }
@media (max-width: 1300px) { .tb-hours { display: none; } }

/* ---- WEB-08, 16 Oct: the service pages' own blocks. Three photographs with the town under each (a drafting-paper
   tile until the client's own arrive: no stock photography), and the three price bands */
.photos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.photos figure { display: grid; gap: 8px; align-content: start; }
.photos img { aspect-ratio: 1; height: auto; border: 1px solid var(--line); }
.photos figcaption { font: 500 14px/1.4 var(--mono); letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
.photos .todo > div { aspect-ratio: 1; display: grid; place-content: center; gap: 6px; padding: 16px; text-align: center; border: 1px dashed rgba(17, 17, 16, .35);
  background-color: var(--paper-2); background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px); background-size: 24px 24px; }
.photos .todo span { font: 500 13px/1.3 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--chalk); }
.photos .todo b { font: 600 15px/1.25 var(--sans); }
.bands { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--line); background: #fff; }
.bands > section { padding: 20px 20px 22px; border-right: 1px solid var(--line); }
.bands > section:last-child { border-right: 0; }
.bands .mono { color: var(--chalk); }
.bands h3 { margin: 8px 0 8px; font-size: 20px; }
.bands p:not(.mono) { font-size: 15px; line-height: 1.55; color: var(--muted); }
.home-card h3 a:hover { color: var(--chalk); }
@media (max-width: 720px) {
  .photos, .bands { grid-template-columns: 1fr; }
  .photos img, .photos .todo > div { aspect-ratio: 4 / 3; }
  .bands > section { border-right: 0; border-bottom: 1px solid var(--line); }
  .bands > section:last-child { border-bottom: 0; }
}

/* the inner pages' heading, with its picture: a framed photograph on the drafting paper, a dimension line over it */
.hero.sub.has-photo .sub-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(32px, 5vw, 84px);
  align-items: center; margin-top: 5vh; }
.hero.sub.has-photo .sub-copy { margin-top: 0; }
.hero.sub.has-photo .page-h1 { font-size: clamp(40px, 5vw, 86px); }
.sub-photo { display: grid; gap: 14px; width: min(100%, 80vh); justify-self: end; }   /* landscape, so a wide screen doesn't make the heading tall */
.sub-photo .fm-dim { font-size: 14px; letter-spacing: .06em; text-transform: uppercase; }
.sub-photo figure { aspect-ratio: 4 / 3; overflow: hidden; border: 1px solid var(--ink); background: var(--paper-2);
  box-shadow: 0 40px 80px -50px rgba(17, 17, 16, .6); }
.sub-photo img { transition: transform 1.6s var(--ease); }
.sub-photo figure:hover img { transform: scale(1.03); }

/* the three price bands: a small meter shows which band costs more */
.bands > section > .mono { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.bands > section > .mono::after { content: ""; width: 54px; height: 6px; flex: 0 0 auto;
  background: linear-gradient(90deg, var(--chalk) 0 var(--fill, 33.4%), var(--line) var(--fill, 33.4%) 100%);
  -webkit-mask: repeating-linear-gradient(90deg, #000 0 16px, transparent 16px 19px); mask: repeating-linear-gradient(90deg, #000 0 16px, transparent 16px 19px); }
.bands > section:nth-child(2) { --fill: 66.7%; }
.bands > section:nth-child(3) { --fill: 100%; }
.bands > section { transition: background .3s; }
.bands > section:hover { background: var(--paper); }

/* the Services page's three main services, as picture cards */
.feature-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.prose .feature-cards a { display: grid; gap: 6px; align-content: start; padding-bottom: 20px; background: #fff; border: 1px solid var(--line); color: var(--ink);
  text-decoration: none; transition: border-color .3s, transform .4s var(--ease), box-shadow .4s var(--ease); }
.prose .feature-cards a:hover { border-color: var(--ink); transform: translateY(-3px); box-shadow: 0 30px 60px -40px rgba(17, 17, 16, .45); }
.fc-img { display: block; aspect-ratio: 4 / 3; overflow: hidden; margin-bottom: 10px; }
.fc-img img { transition: transform 1.2s var(--ease); }
.feature-cards a:hover .fc-img img { transform: scale(1.05); }
.feature-cards small, .feature-cards b, .feature-cards a > span:last-child { padding: 0 18px; }
.feature-cards small { font: 500 14px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--chalk); }
.feature-cards b { font: 600 21px/1.2 var(--sans); letter-spacing: -.015em; }
.feature-cards a > span:last-child { font-size: 16px; line-height: 1.5; color: var(--muted); }
.svc-list > section { transition: border-color .3s, transform .4s var(--ease); }
.svc-list > section:hover { border-color: rgba(17, 17, 16, .4); transform: translateY(-2px); }

/* About: the numbers, the license first. Contact: the towns */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.stats > div { padding: 18px 16px 16px; background: var(--ink); color: #fff; }
.stats b { display: block; font: 600 clamp(32px, 3.2vw, 50px)/.9 var(--sans); font-stretch: 112%; letter-spacing: -.04em; }
.stats > div:first-child b { color: var(--chalk); }
.stats span { display: block; margin-top: 12px; font: 400 13px/1.45 var(--mono); letter-spacing: .05em; text-transform: uppercase; color: rgba(255, 255, 255, .62); }
.prose ul.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.prose ul.chips > li { padding: 9px 14px; border: 1px solid var(--line); background: #fff; font: 500 16px/1 var(--sans); }
.prose ul.chips > li::before { display: none; }

/* Read next: each card carries its page's picture */
.rel-img { display: block; aspect-ratio: 16 / 8; overflow: hidden; margin: -22px -46px 8px -22px; }
.rel-img img { transition: transform 1.2s var(--ease); }
.rel-img.portrait { display: flex; justify-content: center; padding: 16px 0 6px; background: #fff; }
.rel-img.portrait img { width: auto; height: 100%; aspect-ratio: 1; border-radius: 50%; object-fit: cover; }
.rel-grid a:hover .rel-img img { transform: scale(1.05); }
.rel-grid a:has(.rel-img) i { top: auto; bottom: 20px; }
.rel-grid a:hover i { color: var(--chalk); }
.quote-band blockquote::before { content: ""; display: block; width: 48px; height: 3px; margin: 0 auto 30px; background: var(--chalk); }

/* the home page: straight answers, before anyone calls */
.answers { padding: 16vh var(--pad) 14vh; background-color: var(--paper);
  background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px); background-size: 48px 48px; }
.answers .sec-head { border-color: var(--line); }
.answers .sec-head > .mono:first-child { color: var(--muted); }
.answer-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.answer { position: relative; display: grid; grid-template-rows: auto auto 1fr; gap: 16px; min-height: 300px; padding: 26px 56px 28px 26px; overflow: hidden;
  background: #fff; border: 1px solid var(--line); box-shadow: 0 30px 60px -48px rgba(17, 17, 16, .35);
  transition: border-color .3s, transform .45s var(--ease), box-shadow .45s var(--ease); }
.answer small { font: 500 14px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--chalk); }
.answer b { font: 600 clamp(26px, 2.4vw, 38px)/1.04 var(--sans); font-stretch: 108%; letter-spacing: -.03em; }
.answer span { align-self: end; font-size: 15px; line-height: 1.5; color: var(--muted); }
.answer i { position: absolute; right: 24px; top: 22px; font-style: normal; font-size: 18px; transition: transform .4s var(--ease); }
.answer::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--chalk); transform: scaleX(0); transform-origin: 0 50%;
  transition: transform .55s var(--ease); }
.answer:hover { border-color: var(--ink); transform: translateY(-4px); box-shadow: 0 40px 70px -44px rgba(17, 17, 16, .5); }
.answer:hover::after { transform: scaleX(1); }
.answer:hover i { transform: translate(3px, -3px); color: var(--chalk); }
.num-foot a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.num-foot a:hover { color: #fff; }

@media (max-width: 1024px) {
  .hero.sub.has-photo .sub-grid { grid-template-columns: 1fr; }
  .sub-photo { width: 100%; max-width: 620px; justify-self: start; }
  .sub-photo figure { aspect-ratio: 16 / 10; }
  .answer-grid { grid-template-columns: 1fr; }
  .answer { min-height: 0; }
}
@media (max-width: 720px) {
  .feature-cards, .stats { grid-template-columns: 1fr 1fr; }
  .feature-cards { grid-template-columns: 1fr; }
  .sub-photo figure { aspect-ratio: 4 / 3; }
  .hero.sub .specs { display: none; }
  .hero.sub .sub-copy, .hero.sub.has-photo .sub-grid { margin-top: 0; }
  .answers { padding: 11vh var(--pad); }
  .answer b { font-size: 26px; }
}

/* ---- 29 Oct: the job ticket on the estimate form, and each page's own drawn tool, in the site's drafting look: ink line
   on paper, mono labels, a sheet number along the bottom, and chalk red for whatever the visitor can move */

/* the estimate form as a job ticket: the form on the left, the tear-off copy on the right that fills in as you type */
.ticket { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 380px; max-width: 980px; margin-top: 34px; background: var(--paper); color: var(--ink);
  -webkit-mask: radial-gradient(circle 11px at calc(100% - 380px) 0, transparent 97%, #000), radial-gradient(circle 11px at calc(100% - 380px) 100%, transparent 97%, #000);
  -webkit-mask-composite: source-in; mask: radial-gradient(circle 11px at calc(100% - 380px) 0, transparent 97%, #000), radial-gradient(circle 11px at calc(100% - 380px) 100%, transparent 97%, #000);
  mask-composite: intersect; }
.tk-main { min-width: 0; padding: 22px 26px 26px; }
.tk-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 16px; padding-bottom: 12px; border-bottom: 1.5px solid var(--ink); color: var(--muted); }
.tk-head span:first-child { color: var(--chalk); }
.ticket .est { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 20px; margin-top: 18px; }
.ticket .est label { color: var(--muted); }
.ticket .est input, .ticket .est select { height: 44px; padding: 0 2px; border: 0; border-bottom: 1.5px solid var(--ink); background: transparent; color: var(--ink); color-scheme: light;
  font: 500 17px/1 var(--sans); }
.ticket .est input::placeholder, .ticket .est select:invalid { color: rgba(17, 17, 16, .38); }
.ticket .est select option { color: var(--ink); }
.ticket .est input:focus-visible, .ticket .est select:focus-visible { outline: 0; border-bottom-color: var(--chalk); box-shadow: 0 2px 0 var(--chalk); }
.ticket .est .btn { grid-column: 1 / -1; justify-content: center; margin-top: 4px; }
.tk-list { grid-column: 1 / -1; padding: 10px 12px; background: #fff; border: 1px dashed rgba(17, 17, 16, .45); }
.tk-list .mono { display: flex; justify-content: space-between; gap: 10px; color: var(--chalk); }
.tk-list button { border: 0; background: none; font: inherit; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.tk-list button:hover { color: var(--ink); }
.tk-list ul { display: grid; gap: 2px; margin-top: 6px; font-size: 16px; line-height: 1.45; }
.tk-list li::before { content: "– "; color: var(--chalk); }
.tk-stub { position: relative; display: grid; align-content: start; gap: 12px; min-width: 0; padding: 22px 22px 26px 26px; background: #fff; border-left: 2px dashed rgba(17, 17, 16, .32); }
.tk-stub > .mono:first-child { color: var(--chalk); }
.tk-stub dl { display: grid; gap: 7px; }
.tk-stub dl > div { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 12px; align-items: baseline; padding-bottom: 7px; border-bottom: 1px solid var(--line); }
.tk-stub dt { font: 500 14px/1.3 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.tk-stub dd { font: 600 16px/1.3 var(--sans); overflow-wrap: anywhere; }
.tk-stub dd.blank { color: rgba(17, 17, 16, .34); font-weight: 500; }
.tk-stub dd.new { animation: tk-new .8s ease; }
@keyframes tk-new { from { background: rgba(211, 32, 42, .2); } to { background: transparent; } }
.tk-line { font-size: 16px; line-height: 1.5; color: var(--ink-2); }
.tk-lic { color: var(--muted); }
.tk-stamp { position: absolute; right: 18px; bottom: 58px; padding: 7px 11px; border: 2.5px solid var(--chalk); color: var(--chalk); font: 700 15px/1 var(--mono); letter-spacing: .1em;
  text-transform: uppercase; opacity: 0; transform: rotate(-9deg) scale(1.7); pointer-events: none; transition: opacity .2s, transform .4s cubic-bezier(.3, 1.6, .5, 1); }
.ticket.sent .tk-stamp { opacity: .92; transform: rotate(-9deg) scale(1); }
.ticket.flash .tk-stub { animation: tk-flash 1.4s ease; }
@keyframes tk-flash { 0%, 45% { background: #fbe9e8; } 100% { background: #fff; } }
@media (max-width: 860px) {
  .ticket { grid-template-columns: minmax(0, 1fr); -webkit-mask: none; mask: none; }
  .tk-stub { border-left: 0; border-top: 2px dashed rgba(17, 17, 16, .32); }
}
@media (max-width: 560px) {
  .ticket .est { grid-template-columns: minmax(0, 1fr); }
  .tk-main { padding: 18px 16px 20px; }
  .tk-stub { padding: 18px 16px 22px; }
}

/* the tools' frame: a white drawing sheet with a title strip along its foot */
.plan-tool, .punch { position: relative; display: grid; gap: 14px; padding: 18px; background: #fff; border: 1px solid var(--ink); box-shadow: 0 30px 60px -48px rgba(17, 17, 16, .5); }
.prose .plan-tool, .prose .punch, .prose .hours-sign, .prose .town-map, .prose .lic-flip { margin-top: 26px; }
.pt-bar { display: grid; grid-template-columns: repeat(auto-fit, minmax(118px, 1fr)); gap: 1px; background: var(--ink); border: 1px solid var(--ink); }
.pt-bar button { min-height: 42px; padding: 10px 12px; border: 0; background: #fff; font: 500 14px/1.25 var(--mono); letter-spacing: .06em; text-transform: uppercase; cursor: pointer;
  transition: background .25s, color .25s; }
.pt-bar button:hover { background: var(--paper); }
.pt-bar button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.pt-bar button:focus-visible, .bp-q button:focus-visible, .pl-clear:focus-visible, .lf-turn:focus-visible, .town-chips button:focus-visible { outline: 2px solid var(--chalk); outline-offset: 2px; }
.pt-paper { position: relative; border: 1px solid var(--line); background-color: var(--paper);
  background-image: linear-gradient(rgba(17, 17, 16, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(17, 17, 16, .07) 1px, transparent 1px); background-size: 24px 24px; }
.pt-svg { display: block; width: 100%; height: auto; overflow: visible; -webkit-user-select: none; user-select: none; }
.pt-svg text { font-family: var(--mono); font-size: 15px; font-weight: 500; letter-spacing: .06em; fill: var(--ink); text-anchor: middle; }
.pt-read { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.pt-read > div { padding: 10px 12px; background: #fff; }
.pt-read dt { font: 500 14px/1.3 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.pt-read dd { margin-top: 3px; font: 600 19px/1.2 var(--sans); font-stretch: 106%; letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.prose .pt-note { padding: 10px 14px; border-left: 3px solid var(--chalk); background: var(--paper); font-size: 15px; line-height: 1.5; }
.prose .pt-note:empty { display: none; }
.pt-foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 12px; padding-top: 10px; border-top: 1px solid var(--ink); color: var(--muted); }
.pt-check { display: inline-flex; align-items: center; gap: 10px; justify-self: start; font: 500 15px/1.3 var(--mono); letter-spacing: .05em; text-transform: uppercase; cursor: pointer; }
.pt-check input { width: 20px; height: 20px; accent-color: var(--chalk); cursor: pointer; }
.pt-range { display: grid; gap: 4px; }
.pt-range .mono { display: flex; justify-content: space-between; gap: 10px; color: var(--muted); }
.pt-range output { color: var(--ink); }
.pt-range input[type="range"] { width: 100%; height: 30px; accent-color: var(--chalk); cursor: pointer; }
.prose .plan-tool .btn, .prose .punch .btn, .prose .lic-flip .btn { text-decoration: none; }
.prose .plan-tool button.btn { border: 0; cursor: pointer; justify-self: start; }
.prose .plan-tool button.btn:disabled { opacity: .45; cursor: default; }

/* the plans' line weights: walls cut solid, doors and their swing, chalk for what moves and what it measures */
.pw { fill: var(--ink); }
.pwin { fill: #fff; stroke: var(--ink); stroke-width: 1; }
.pdoor { stroke: var(--ink); stroke-width: 2; }
.pswing { fill: none; stroke: var(--ink); stroke-width: .8; stroke-dasharray: 3 3; }
.pdim { fill: none; stroke: rgba(17, 17, 16, .55); stroke-width: .8; }
.pt-svg .pdim-t { fill: rgba(17, 17, 16, .7); font-size: 14px; }
.cdim { fill: none; stroke: var(--chalk); stroke-width: 1.2; }
.pt-svg .cdim-t { fill: var(--chalk); font-weight: 600; paint-order: stroke; stroke: var(--paper); stroke-width: 4px; stroke-linejoin: round; }

/* Kitchen: the layout planner */
.k-ctr, .k-app { fill: #fff; stroke: var(--ink); stroke-width: 1.4; }
.k-bowl { fill: var(--paper-2); stroke: var(--ink); stroke-width: 1; }
.k-burn { fill: none; stroke: var(--ink); stroke-width: 1; }
.k-x { stroke: var(--ink); stroke-width: .7; opacity: .45; }
.pt-svg .k-in { font-size: 14px; }
.pt-svg .k-lab { font-size: 14px; fill: rgba(17, 17, 16, .7); }
.k-tri { fill: rgba(211, 32, 42, .05); stroke: var(--chalk); stroke-width: 1.3; stroke-dasharray: 5 4; }
.k-dot { fill: var(--chalk); }
.k-dyn { pointer-events: none; }
.k-isl { cursor: grab; touch-action: none; outline: none; }
.k-isl-r { fill: rgba(211, 32, 42, .1); stroke: var(--chalk); stroke-width: 2; transition: fill .2s; }
.k-isl:hover .k-isl-r, .k-isl:focus-visible .k-isl-r { fill: rgba(211, 32, 42, .18); }
.k-isl:focus-visible .k-isl-r { stroke-width: 3.5; }
.pt-svg .k-isl-t { fill: var(--chalk); font-size: 14px; font-weight: 600; }
.kplan.dragging .k-isl { cursor: grabbing; }
.kplan:not(.moved) .k-isl-r { animation: k-nudge 2.4s ease-in-out 1s infinite; }
@keyframes k-nudge { 0%, 70%, 100% { stroke-width: 2; } 85% { stroke-width: 5; } }

/* Bathroom: fixture by fixture */
.bp-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 18px; align-items: start; }
.bp-picks, .cd-qs { display: grid; gap: 14px; }
.bp-q { display: flex; flex-wrap: wrap; gap: 6px; }
.bp-q > .mono { flex: 0 0 100%; color: var(--muted); }
.bp-q > .mono b { margin-right: 6px; color: var(--chalk); font-weight: 500; }
.bp-q button { padding: 9px 12px; border: 1px solid var(--line); background: #fff; font: 500 16px/1.2 var(--sans); cursor: pointer; transition: border-color .2s, background .2s, color .2s; }
.bp-q button:hover { border-color: var(--ink); }
.bp-q button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.bp-q[data-bq="more"] button::before { content: "+ "; color: var(--chalk); }
.bp-q[data-bq="more"] button[aria-pressed="true"]::before { content: "✓ "; }
.bp-out { display: grid; gap: 10px; padding-top: 12px; border-top: 1px solid var(--line); }
.bp-out > .mono { color: var(--chalk); }
.prose ul.bp-sched { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 6px 16px; }
.prose ul.bp-sched > li { padding-left: 32px; font-size: 16px; }
.prose ul.bp-sched > li::before { display: none; }
.bp-sched b { position: absolute; left: 0; top: .12em; width: 21px; height: 21px; border-radius: 50%; background: var(--chalk); color: #fff; font: 600 14px/21px var(--mono); text-align: center; }
.prose ul.bp-sched > li.empty { padding-left: 0; color: var(--muted); }
.b-fx { fill: #fff; stroke: var(--ink); stroke-width: 1.5; }
.b-float { stroke-dasharray: 7 4; }
.b-in, .b-glass { fill: none; stroke: var(--ink); stroke-width: 1; }
.b-ghost { fill: none; stroke: rgba(17, 17, 16, .3); stroke-width: 1; stroke-dasharray: 3 3; }
.b-was { fill: none; stroke: var(--chalk); stroke-width: 1; stroke-dasharray: 3 3; }
.b-slope { stroke: var(--ink); stroke-width: .6; stroke-dasharray: 2 3; opacity: .55; }
.b-mirror { stroke: var(--ink); stroke-width: 4; }
.b-lamp circle { fill: #fff; stroke: var(--ink); stroke-width: 1.2; }
.b-lamp path { stroke: var(--ink); stroke-width: 1; }
.b-paint { fill: none; stroke: var(--chalk); stroke-width: 5; opacity: .3; }
.b-gridl { fill: none; stroke: rgba(17, 17, 16, .2); stroke-width: 1; }
.b-band { fill: url(#b-hatch); stroke: var(--ink); stroke-width: .8; }
.b-hatchl { stroke: var(--ink); stroke-width: 1.2; }
.b-pipe { fill: none; stroke: var(--chalk); stroke-width: 2; stroke-dasharray: 7 4; }
.b-arrow { fill: none; stroke: var(--chalk); stroke-width: 1.6; }
.pt-svg .b-note { fill: var(--chalk); font-size: 13px; font-weight: 600; }
.b-tag circle { fill: var(--chalk); }
.pt-svg .b-tag text { fill: #fff; font-size: 14px; font-weight: 600; letter-spacing: 0; }
.fx-in { animation: fx-in .7s var(--ease) both; }
@keyframes fx-in { from { opacity: 0; transform: translateY(-8px); } }

/* Decks and porches: the sun study, in section, and the deck size, in plan */
.sp-arc { fill: none; stroke: rgba(17, 17, 16, .3); stroke-width: 1; stroke-dasharray: 2 5; }
.sp-sun { cursor: grab; touch-action: none; }
.sunp.dragging .sp-sun { cursor: grabbing; }
.sp-hit { fill: transparent; }
.sp-glow { fill: rgba(211, 32, 42, .13); transition: fill .2s; }
.sp-sun:hover .sp-glow { fill: rgba(211, 32, 42, .24); }
.sp-core { fill: var(--chalk); }
.sp-rays { stroke: var(--chalk); stroke-width: 2; stroke-linecap: round; }
.sp-build, [data-sun-beam], [data-sun-front] { pointer-events: none; }
.sp-cut { fill: var(--ink); }
.sp-line { fill: none; stroke: var(--ink); stroke-width: 1.4; }
.sp-thin { fill: none; stroke: var(--ink); stroke-width: 1; }
.sp-ground { stroke: var(--ink); stroke-width: 1.6; }
.sp-hatch { stroke: rgba(17, 17, 16, .28); stroke-width: 1; }
.sp-meshl { stroke: rgba(17, 17, 16, .55); stroke-width: .6; }
.pt-svg .sp-lab { fill: rgba(17, 17, 16, .6); font-size: 14px; }
.sp-ray { fill: none; stroke: var(--chalk); stroke-width: 1; stroke-dasharray: 5 4; }
.sp-lit { stroke: var(--chalk); stroke-width: 4; }
.ds-house { fill: var(--paper-2); }
.ds-base { fill: #fff; }
.ds-deck { stroke: var(--ink); stroke-width: 1.4; }
.ds-board { stroke: rgba(17, 17, 16, .16); stroke-width: 1; }
.ds-rail { fill: none; stroke: var(--ink); stroke-width: 3.5; }
.ds-step, .ds-f { fill: #fff; stroke: var(--ink); stroke-width: 1.2; }
.ds-no { fill: rgba(211, 32, 42, .06); stroke: var(--chalk); stroke-dasharray: 4 3; }
.pt-svg .ds-lab { font-size: 13px; }
.pt-svg .ds-no-t { fill: var(--chalk); font-weight: 600; }
.ds-sliders { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 20px; }

/* Investment property: the rent-ready punch list */
.pl-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 6px 12px; padding-bottom: 10px; border-bottom: 1px solid var(--ink); }
.pl-head .mono:first-child { color: var(--chalk); }
.pl-count { color: var(--muted); }
.pl-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 26px; }
.punch fieldset { display: grid; gap: 0; min-width: 0; border: 0; }
.punch legend { margin-bottom: 4px; color: var(--muted); }
.punch label { position: relative; display: flex; align-items: flex-start; gap: 12px; padding: 8px 0; border-bottom: 1px dashed var(--line); font-size: 16px; line-height: 1.35; cursor: pointer; }
.punch input { position: absolute; left: 0; top: 8px; width: 20px; height: 20px; margin: 0; opacity: 0; }
.punch label i { position: relative; flex: 0 0 auto; width: 20px; height: 20px; margin-top: 1px; border: 1.5px solid var(--ink); background: #fff; transition: border-color .2s; }
.punch label i::after { content: ""; position: absolute; left: 5px; top: 0; width: 6px; height: 12px; border: solid var(--chalk); border-width: 0 3px 3px 0;
  transform: rotate(45deg) scale(0); transform-origin: 60% 70%; transition: transform .35s cubic-bezier(.3, 1.6, .5, 1); }
.punch input:checked + i { border-color: var(--chalk); }
.punch input:checked + i::after { transform: rotate(45deg) scale(1); }
.punch input:checked ~ span { font-weight: 600; }
.punch input:focus-visible + i { outline: 2px solid var(--chalk); outline-offset: 2px; }
.punch label:hover i { border-color: var(--chalk); }
.pl-ask { grid-column: 1 / -1; }
.pl-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; padding-top: 12px; border-top: 1px solid var(--ink); }
.pl-sync { flex: 1 1 220px; color: var(--muted); }
.punch.has .pl-sync { color: var(--chalk); }
.prose .punch .btn-ink { color: var(--ink); }
.prose .punch .btn-ink:hover { color: var(--paper); }
.pl-clear { border: 0; background: none; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.pl-clear:hover { color: var(--ink); }

/* Contact: the hanging open/closed sign on the published hours, and the eight towns */
.hours-sign { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 28px; align-items: start; padding: 22px; background: #fff; border: 1px solid var(--line); }
.hs-hang { position: relative; display: grid; justify-items: center; padding-top: 40px; transform-origin: 50% 6px; }
.hs-hang::before { content: ""; position: absolute; top: 6px; left: 50%; width: 150px; height: 36px; transform: translateX(-50%);
  background: linear-gradient(to top right, transparent calc(50% - 1px), var(--ink) 50%, transparent calc(50% + 1px)) left / 50% 100% no-repeat,
    linear-gradient(to top left, transparent calc(50% - 1px), var(--ink) 50%, transparent calc(50% + 1px)) right / 50% 100% no-repeat; }
.hs-nail { position: absolute; top: 0; left: 50%; z-index: 1; width: 12px; height: 12px; margin-left: -6px; border-radius: 50%; background: var(--ink); box-shadow: inset -2px -2px 0 rgba(255, 255, 255, .28); }
.hs-board { position: relative; width: 206px; height: 108px; padding: 0; border: 0; background: none; cursor: pointer; perspective: 700px; }
.hs-face { position: absolute; inset: 0; display: grid; place-content: center; gap: 6px; border: 2px solid var(--ink); font: 700 36px/.9 var(--sans); font-stretch: 104%; letter-spacing: -.02em;
  text-transform: uppercase; -webkit-backface-visibility: hidden; backface-visibility: hidden; transition: transform .9s var(--ease); box-shadow: 0 18px 30px -20px rgba(17, 17, 16, .6); }
.hs-face small { font: 500 14px/1 var(--mono); letter-spacing: .1em; }
.hs-open { background: var(--chalk); border-color: var(--chalk); color: #fff; }
.hs-closed { background: var(--ink); color: #fff; transform: rotateY(180deg); }
.is-closed .hs-open { transform: rotateY(-180deg); }
.is-closed .hs-closed { transform: none; }
.hs-hang.swing { animation: hs-swing 1.7s cubic-bezier(.3, .6, .4, 1); }
@keyframes hs-swing { 0% { transform: none; } 14% { transform: rotate(9deg); } 34% { transform: rotate(-6deg); } 54% { transform: rotate(3.5deg); } 74% { transform: rotate(-1.5deg); } 100% { transform: none; } }
.hs-board:focus-visible { outline: 2px solid var(--chalk); outline-offset: 6px; }
.hs-info { display: grid; gap: 10px; min-width: 0; }
.hs-info > .mono { color: var(--muted); }
.prose .hs-now { font: 600 21px/1.3 var(--sans); letter-spacing: -.015em; }
.prose ul.hs-week { gap: 0; border-top: 1px solid var(--line); }
.prose ul.hs-week > li { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.prose ul.hs-week > li::before { display: none; }
.hs-week b { font-weight: 500; font-variant-numeric: tabular-nums; }
.hs-week li.today { color: var(--chalk); }
.hs-week li.today b { font-weight: 700; }
.hs-week li.today span::after { content: " · today"; font: 500 14px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; }
.town-map { display: grid; background: #fff; border: 1px solid var(--ink); }
.town-map .pt-paper { border: 0; }
.prose .tm-cap { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 12px; min-height: 54px; padding: 12px 14px; border-top: 1px solid var(--ink); }
.tm-cap b { font: 600 19px/1.25 var(--sans); }
.tm-cap span { font-size: 15px; color: var(--muted); }
.tm-grid { fill: none; stroke: rgba(17, 17, 16, .07); }
.tm-route { fill: none; stroke: var(--chalk); stroke-width: 1.8; stroke-dasharray: 1; stroke-dashoffset: 1; opacity: 0; }
.tm-route.on { opacity: 1; animation: tm-draw .8s var(--ease) forwards; }
@keyframes tm-draw { to { stroke-dashoffset: 0; } }
.tm-town { cursor: pointer; outline: none; }
.tm-hit { fill: transparent; }
.tm-ring { fill: none; stroke: var(--chalk); stroke-width: 1.5; opacity: 0; transform-box: fill-box; transform-origin: center; }
.tm-dot { fill: #fff; stroke: var(--ink); stroke-width: 1.8; transition: fill .3s, stroke .3s; }
.tm-town.hover .tm-dot, .tm-town:focus-visible .tm-dot { stroke: var(--chalk); }
.tm-town:focus-visible .tm-ring { opacity: 1; }
.tm-town.lit .tm-dot { fill: var(--chalk); stroke: var(--chalk); }
.tm-town.cur .tm-ring { animation: tm-pulse 1.8s ease-out infinite; }
@keyframes tm-pulse { 0% { opacity: .9; transform: scale(1); } 100% { opacity: 0; transform: scale(2.2); } }
.pt-svg .tm-name { font-size: 15px; letter-spacing: .02em; paint-order: stroke; stroke: var(--paper); stroke-width: 4px; stroke-linejoin: round; }
.pt-svg .tm-town.lit .tm-name { fill: var(--chalk); font-weight: 600; }
.tm-scale path { fill: none; stroke: var(--ink); stroke-width: 1.2; }
.tm-north path { fill: var(--ink); }
.pt-svg .tm-scale text, .pt-svg .tm-north text { font-size: 13px; fill: rgba(17, 17, 16, .65); }
.prose ul.town-chips > li { padding: 0; }
.town-chips button { display: block; padding: 9px 14px; border: 0; background: none; font: 500 16px/1 var(--sans); cursor: pointer; transition: background .25s, color .25s; }
.town-chips button:hover { color: var(--chalk); }
.town-chips button[aria-pressed="true"] { background: var(--chalk); color: #fff; }

/* Kitchen cost: what drives the cost */
.cd-out { display: grid; gap: 10px; padding-top: 12px; border-top: 1px solid var(--line); }
.cd-meter { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; }
.cd-meter i { height: 8px; background: var(--line); transition: background .4s; }
.cd-meter i.on { background: var(--chalk); }
.prose .cd-band { font-size: 16px; line-height: 1.5; }
.cd-band b { font-weight: 700; }
.prose .cd-why { padding: 8px 12px; border-left: 3px solid var(--chalk); background: var(--paper); font-size: 15px; }
.cd-lines-t { margin-top: 6px; color: var(--muted); }
.prose ol.cd-lines { gap: 0; border-top: 1px solid var(--line); }
.prose ol.cd-lines > li { display: grid; grid-template-columns: minmax(0, 150px) minmax(0, 1fr); gap: 2px 14px; padding: 8px 8px 8px 44px; border-bottom: 1px solid var(--line);
  color: var(--muted); transition: color .3s, background .3s; }
.prose ol.cd-lines > li::before { top: 9px; color: rgba(17, 17, 16, .4); }
.prose ol.cd-lines > li.on { color: var(--ink); background: linear-gradient(90deg, rgba(211, 32, 42, .08), transparent 80%); }
.prose ol.cd-lines > li.on::before { color: var(--chalk); }
.cd-lines b { font-weight: 600; }
.cd-lines span { font-size: 16px; }
.prose .cd-noprice { font: 500 15px/1.45 var(--mono); letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.c-floor { stroke: var(--ink); stroke-width: 1.6; }
.c-new { fill: #fff; stroke: var(--ink); stroke-width: 1.4; }
.c-old { fill: var(--paper-2); stroke: rgba(17, 17, 16, .5); stroke-width: 1; stroke-dasharray: 4 3; }
.c-door { fill: none; stroke: var(--ink); stroke-width: .8; }
.c-front { fill: #fff; stroke: var(--chalk); stroke-width: 1.4; }
.c-win { fill: rgba(17, 17, 16, .03); stroke: var(--ink); stroke-width: 1; }
.c-hood, .c-app { fill: #fff; stroke: var(--ink); stroke-width: 1.2; }
.c-kick { fill: var(--ink); }
.c-ctr { fill: #fff; stroke: var(--ink); stroke-width: 1.4; }
.c-ctr-old { fill: var(--paper-2); stroke: rgba(17, 17, 16, .5); stroke-dasharray: 4 3; }
.c-quartz { fill: url(#c-dots); stroke: var(--chalk); stroke-width: 1.6; }
.c-dot { fill: rgba(17, 17, 16, .5); }
.c-basin, .c-tap { fill: none; stroke: var(--ink); stroke-width: 1.6; stroke-linecap: round; }
.c-gone path { fill: none; stroke: var(--chalk); stroke-width: 1.4; stroke-dasharray: 3 3; }
.c-pipe { fill: none; stroke: var(--chalk); stroke-width: 2; stroke-dasharray: 7 4; }
.c-pipe-h { fill: none; stroke: var(--chalk); stroke-width: 2; }
.pt-svg .c-tag { fill: var(--chalk); font-weight: 600; paint-order: stroke; stroke: var(--paper); stroke-width: 4px; stroke-linejoin: round; }

/* About: the license card, first, and it turns over to the state's own search */
.lic-flip { perspective: 1400px; }
.lf-card { position: relative; display: grid; transform-style: preserve-3d; transition: transform .9s var(--ease); }
.lf-card.over { transform: rotateY(180deg); }
.lf-face { grid-area: 1 / 1; display: grid; align-content: start; gap: 16px; padding: 24px 26px; -webkit-backface-visibility: hidden; backface-visibility: hidden; }
.lf-front { background: var(--ink); color: #fff; border-left: 6px solid var(--chalk); cursor: pointer; box-shadow: 0 40px 70px -46px rgba(17, 17, 16, .8); }
.lf-back { background: #fff; border: 1px solid var(--ink); transform: rotateY(180deg); }
.lf-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 12px; padding-bottom: 12px; border-bottom: 1px solid var(--line-l); color: rgba(255, 255, 255, .7); }
.lf-top span:first-child { color: var(--chalk); }
.lf-back .lf-top { border-color: var(--line); color: var(--muted); }
.lf-num { display: grid; gap: 6px; }
.lf-num small { color: rgba(255, 255, 255, .62); }
.lf-num b { font: 700 clamp(68px, 9vw, 112px)/.84 var(--sans); font-stretch: 118%; letter-spacing: -.045em; }
.lf-dl { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; padding-top: 14px; border-top: 1px solid var(--line-l); }
.lf-dl dt { color: rgba(255, 255, 255, .58); }
.lf-dl dd { margin-top: 4px; font: 600 16px/1.3 var(--sans); }
.lf-turn { display: inline-flex; align-items: center; gap: 10px; justify-self: start; padding: 11px 14px; border: 1px solid rgba(255, 255, 255, .5); background: none; color: #fff; cursor: pointer;
  transition: background .3s, color .3s; }
.lf-turn i { display: inline-block; font-style: normal; font-size: 15px; transition: transform .5s var(--ease); }
.lf-front:hover .lf-turn, .lf-turn:hover { background: #fff; color: var(--ink); }
.lf-front:hover .lf-turn i, .lf-turn:hover i { transform: rotate(180deg); }
.lf-back .lf-turn { border-color: var(--ink); color: var(--ink); }
.lf-back .lf-turn:hover { background: var(--ink); color: #fff; }
.prose .lf-back-h { font: 600 clamp(24px, 2.6vw, 34px)/1.1 var(--sans); letter-spacing: -.02em; }
.prose .lf-back-p { color: var(--muted); }
.prose .lic-flip .btn-solid { justify-self: start; color: #fff; }

/* the ticket sits inside the dark estimate band, whose labels are white: its own stay ink */
.walk-inner .ticket .tk-head, .walk-inner .ticket .tk-lic { color: var(--muted); }
.walk-inner .ticket .tk-head span:first-child { color: var(--chalk); }
.sp-house { fill: var(--paper-2); opacity: .86; }
@media (max-width: 720px) { .pt-read > div:last-child:nth-child(odd) { grid-column: 1 / -1; } }
@media (max-width: 860px) { .bp-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 720px) {
  .plan-tool, .punch { padding: 14px; }
  .pl-cols, .ds-sliders { grid-template-columns: minmax(0, 1fr); }
  .pt-read dd { font-size: 17px; }
  .hours-sign { grid-template-columns: minmax(0, 1fr); gap: 18px; padding: 18px 16px; }
  .hs-hang { justify-self: center; }
  .prose ol.cd-lines > li { grid-template-columns: minmax(0, 1fr); }
  .lf-face { padding: 20px 18px; }
  .lf-dl { grid-template-columns: minmax(0, 1fr); }
}

/* ---- 29 Oct (George): the license line reads on a phone. It was 10px type in a 30px strip; the strip grows by
   4px and everything that sat under it moves down with it */
@media (max-width: 720px) {
  .topbar { height: 34px; font-size: 13px; letter-spacing: .03em; }
  .nav { top: 34px; }
  .hero { padding-top: 128px; }
  .owners-title { top: 112px; }
}

/* ---- 29 Oct (George, "it feels off... small and hard to read"): the readability pass. Reading text is set in
   Archivo instead of the typewriter face, which stays only on the license number; small type was scaled up
   (9-14px became 12-16px above the phone-strip block); grays are darker; the drafting-paper grid is fainter */
:root { --mono: var(--sans); --type: 'IBM Plex Mono', ui-monospace, monospace;
  --muted: rgba(17, 17, 16, .8); --grid: rgba(17, 17, 16, .06); }
body { font-size: 17px; }
.topbar { color: rgba(255, 255, 255, .9); }
.topbar .tb-left b, .num b.lic { font-family: var(--type); }
@media (max-width: 720px) { .topbar .tb-right { display: none; } }  /* on phones the strip carries the license alone; the phone number is in the CALL bar at the bottom */

/* ---- 29 Oct (George, "Yes add them"): the seven new service pages, the questions page and the service area. Each tool
   is the same white drawing sheet as the others, with its own drawing; nothing here is a photograph */
.hp-acts { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; }
.pt-bar .hp-key { display: inline-grid; place-items: center; width: 20px; height: 20px; margin-right: 4px; border: 1px solid currentColor; font: 600 13px/1 var(--sans); vertical-align: -3px; }
.pt-bar button[aria-pressed="true"] .hp-key { background: var(--chalk); border-color: var(--chalk); color: #fff; }

/* Whole home: room by room */
.hp-room { cursor: pointer; outline: none; }
.hp-r { fill: #fff; stroke: var(--ink); stroke-width: 1.6; transition: fill .25s; }
.hp-room:hover .hp-r { fill: rgba(211, 32, 42, .06); }
.hp-room.on .hp-r { fill: rgba(211, 32, 42, .07); }
.hp-room.cur .hp-r { fill: rgba(211, 32, 42, .15); }
.hp-room.no { cursor: not-allowed; }
.hp-room.no .hp-r { fill: var(--paper-2); }
.hp-room:focus-visible .hp-r { stroke: var(--chalk); stroke-width: 3; }
.pt-svg .hp-lab { font-size: 13px; letter-spacing: .04em; fill: rgba(17, 17, 16, .8); pointer-events: none; }
.hp-g { pointer-events: none; }
.hp-g rect { fill: #fff; stroke: var(--chalk); stroke-width: 1.2; }
.pt-svg .hp-g text { font-size: 11px; font-weight: 700; letter-spacing: 0; fill: var(--chalk); }
.hp-g.cur rect { fill: var(--chalk); }
.pt-svg .hp-g.cur text { fill: #fff; }
.hp-shell { pointer-events: none; }
.hp-pop .hp-r { animation: hp-pop .5s var(--ease); }
@keyframes hp-pop { 0% { fill: rgba(211, 32, 42, .35); } }

/* Backyard: the pieces in the yard */
.yp-yard { stroke: none; }
.yp-blade { fill: none; stroke: rgba(17, 17, 16, .16); stroke-width: 1; stroke-linecap: round; }
.yp-fence { fill: none; stroke: var(--ink); stroke-width: 1.4; stroke-dasharray: 10 3 2 3; }
.yp-it { cursor: grab; touch-action: none; outline: none; }
.yplan.dragging .yp-it { cursor: grabbing; }
.yp-base { fill: #fff; stroke: var(--ink); stroke-width: 1.5; }
.yp-tex { fill: none; stroke: rgba(17, 17, 16, .22); stroke-width: 1; }
.yp-roof { fill: none; stroke: var(--ink); stroke-width: .8; stroke-dasharray: 4 3; }
.yp-water { fill: rgba(17, 17, 16, .05); stroke: var(--ink); stroke-width: 1; }
.yp-lane { stroke: rgba(17, 17, 16, .35); stroke-width: 1; stroke-dasharray: 6 4; }
.yp-edge { stroke: var(--chalk); stroke-width: 4; }
.pt-svg .yp-edge-t { fill: var(--chalk); font-size: 11px; font-weight: 600; }
.pt-svg .yp-lab { font-size: 12px; font-weight: 600; letter-spacing: .04em; paint-order: stroke; stroke: #fff; stroke-width: 4px; stroke-linejoin: round; pointer-events: none; }
.yp-it.sel .yp-base, .yp-it:focus-visible .yp-base { stroke: var(--chalk); stroke-width: 3; }
.yp-it .yp-no { fill: rgba(211, 32, 42, .08); stroke: var(--chalk); stroke-dasharray: 5 3; }
.yp-sel { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; padding: 10px 12px; border: 1px solid var(--chalk); background: rgba(211, 32, 42, .04); }
.yp-sel .mono { flex: 1 1 160px; color: var(--chalk); }
.prose .yp-sel .btn { border: 1px solid var(--ink); background: #fff; cursor: pointer; padding: 10px 14px; }
.prose .yp-sel .btn:hover { background: var(--ink); color: #fff; }

/* Countertops: the runs in plan, and the edge in section */
.tp-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 16px; align-items: start; }
.tp-side { display: grid; gap: 14px; }
.tp-runs { display: grid; gap: 10px; }
.tp-top { stroke: var(--chalk); stroke-width: 1.6; }
.tp-fall { fill: var(--chalk); }
.pt-svg .tp-dd { font-size: 12px; fill: rgba(17, 17, 16, .75); paint-order: stroke; stroke: #fff; stroke-width: 4px; stroke-linejoin: round; }
.tp-cab { fill: #fff; stroke: var(--ink); stroke-width: 1.2; }
.tp-cut { fill: #fff; stroke: var(--ink); stroke-width: 1.6; }
.tp-slab { stroke: var(--chalk); stroke-width: 1.6; }
.pt-svg .tp-et { font-size: 12px; fill: var(--chalk); font-weight: 600; }
.tp-edge { max-width: 320px; }

/* Flooring: the rooms, to scale */
.f-room { cursor: pointer; outline: none; }
.f-base { fill: #fff; }
.f-board { fill: none; stroke: rgba(17, 17, 16, .16); stroke-width: 1; }
.f-line { fill: none; stroke: var(--ink); stroke-width: 1.6; }
.f-room.sel .f-line, .f-room:focus-visible .f-line { stroke: var(--chalk); stroke-width: 3; }
.pt-svg .f-lab { font-size: 12px; font-weight: 600; letter-spacing: .04em; pointer-events: none; }
.pt-svg .f-sq { font-size: 12px; fill: var(--chalk); font-weight: 600; pointer-events: none; }
.f-handle { fill: var(--chalk); stroke: #fff; stroke-width: 2; pointer-events: none; }
.f-hit { fill: transparent; cursor: nwse-resize; touch-action: none; }
.fp-rooms { display: grid; gap: 8px; }
.fp-row { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr) auto auto; align-items: end; gap: 8px 12px; padding: 10px 12px; border: 1px solid var(--line); background: #fff; }
.fp-row.sel { border-color: var(--chalk); box-shadow: inset 3px 0 0 var(--chalk); }
.fp-row label { display: grid; gap: 4px; min-width: 0; }
.fp-row .mono { color: var(--muted); font-size: 13px; }
.fp-row select, .fp-row input { width: 100%; min-height: 42px; padding: 8px 10px; border: 1px solid rgba(17, 17, 16, .3); background: #fff; font: 500 16px/1.2 var(--sans); color: var(--ink); }
.fp-row select:focus-visible, .fp-row input:focus-visible { outline: 2px solid var(--chalk); outline-offset: 1px; }
.prose .fp-sq { align-self: center; font: 600 16px/1.2 var(--sans); white-space: nowrap; font-variant-numeric: tabular-nums; }
.fp-x { align-self: center; width: 40px; height: 40px; border: 1px solid var(--line); background: #fff; font: 400 22px/1 var(--sans); cursor: pointer; }
.fp-x:hover { border-color: var(--chalk); color: var(--chalk); }
.prose .fplan .btn-ink, .prose .hplan .btn-ink { background: #fff; cursor: pointer; }

/* Painting: the sheen ladder and the panel in a raking light */
.pp-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px 22px; align-items: start; }
.pp-sheen { display: grid; gap: 6px; }
.pp-sheen > .mono { color: var(--muted); }
.pp-sheen > .mono b { margin-right: 6px; color: var(--chalk); font-weight: 500; }
.pp-ladder { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 1px; background: var(--ink); border: 1px solid var(--ink); }
.pp-ladder button { position: relative; display: grid; justify-items: center; gap: 6px; padding: 10px 2px 9px; border: 0; background: #fff; font: 500 13px/1.15 var(--sans); cursor: pointer; }
.pp-ladder button i { width: 26px; height: 26px; border-radius: 50%; border: 1px solid rgba(17, 17, 16, .4);
  background: radial-gradient(circle at 34% 30%, rgba(255, 255, 255, calc(var(--s) * .95)) 0 22%, transparent calc(30% + var(--s) * 20%)), #b9b2a5; }
.pp-ladder button[aria-checked="true"] { background: var(--ink); color: #fff; }
.pp-ladder button.common::after { content: ""; position: absolute; top: 5px; right: 5px; width: 7px; height: 7px; border-radius: 50%; background: var(--chalk); }
.pp-ladder button:focus-visible { outline: 2px solid var(--chalk); outline-offset: -3px; }
.pp-wall { stroke: none; }
.pp-frame { fill: none; stroke: var(--ink); stroke-width: 1.6; }
.pp-lap, .pp-trim { fill: none; stroke: rgba(17, 17, 16, .45); stroke-width: 1.2; }
.pp-patch { fill: none; stroke: rgba(17, 17, 16, .9); stroke-width: 1.2; stroke-dasharray: 2 2; }
.pp-scuff { fill: none; stroke: #3a352d; stroke-width: 5; stroke-linecap: round; }
.pp-ray { fill: none; stroke: var(--chalk); stroke-width: 1; stroke-dasharray: 4 4; }
.pp-lamp { fill: var(--chalk); }
.pt-svg .pp-t { font-size: 11px; font-weight: 600; fill: rgba(17, 17, 16, .75); paint-order: stroke; stroke: rgba(255, 255, 255, .7); stroke-width: 3px; }
.pp-scale path { fill: none; stroke: var(--ink); stroke-width: 1.2; }
.pt-svg .pp-scale text { font-size: 12px; fill: rgba(17, 17, 16, .6); }
.pt-svg .pp-scale text.on { fill: var(--chalk); font-weight: 700; }
.pp-dot { fill: var(--chalk); }

/* Plumbing: the pipes in section */
.wp-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 16px; align-items: start; }
.prose .wp-list { padding: 0; border: 0; box-shadow: none; gap: 12px; }
.w-crawl { fill: rgba(242, 241, 236, .85); }
.w-fx { fill: #fff; stroke: var(--ink); stroke-width: 1.6; stroke-linejoin: round; }
.w-ghost { fill: none; stroke: rgba(17, 17, 16, .28); stroke-width: 1; stroke-dasharray: 3 3; }
.w-was { fill: none; stroke: var(--chalk); stroke-width: 1; stroke-dasharray: 3 3; }
.w-spray { fill: none; }
.w-main { fill: none; stroke: var(--chalk); stroke-width: 3; }
.w-main.on { stroke-width: 6; }
.w-drain { fill: none; stroke: var(--ink); stroke-width: 4; }
.w-sup { fill: none; stroke: rgba(211, 32, 42, .25); stroke-width: 1.5; stroke-dasharray: 3 3; }
.w-drn { fill: none; stroke: rgba(17, 17, 16, .22); stroke-width: 2; stroke-dasharray: 3 3; }
.w-sup.on { stroke: var(--chalk); stroke-width: 2.6; stroke-dasharray: 8 5; animation: w-flow 1s linear infinite reverse; }
.w-drn.on { stroke: var(--ink); stroke-width: 3; stroke-dasharray: 8 5; animation: w-flow 1.4s linear infinite; }
@keyframes w-flow { to { stroke-dashoffset: -26; } }
.pt-svg .w-lab { font-size: 12px; font-weight: 600; fill: var(--chalk); }
.pt-svg .w-lab-d { fill: var(--ink); }
.w-gauge circle, .w-fixit circle { fill: #fff; stroke: var(--chalk); stroke-width: 2; }
.w-gauge path, .w-fixit path { stroke: var(--chalk); stroke-width: 2; }
.wplan.has .pl-sync { color: var(--chalk); }
@media (prefers-reduced-motion: reduce) { .w-sup.on, .w-drn.on { animation: none; } }

/* Solar: the roof and the noon sun */
.ep-ctrl { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px 22px; align-items: end; }
.e-house { fill: var(--paper-2); stroke: var(--ink); stroke-width: 1.4; }
.e-roof { fill: none; stroke: var(--ink); stroke-width: 6; stroke-linejoin: round; }
.e-panel { stroke: var(--ink); stroke-width: 1.4; }
.e-cell { fill: none; stroke: rgba(17, 17, 16, .4); stroke-width: 1; }
.e-ray { fill: none; stroke: var(--chalk); stroke-width: 1.2; stroke-dasharray: 6 4; }
.e-norm { stroke: var(--ink); stroke-width: 1; stroke-dasharray: 2 3; }
.e-arc { fill: none; stroke: var(--chalk); stroke-width: 1.6; }
.pt-svg .e-ang { fill: var(--chalk); font-weight: 700; paint-order: stroke; stroke: var(--paper); stroke-width: 4px; stroke-linejoin: round; }
.eplan.dragging .e-sun { cursor: grabbing; }
.ep-need button::before { content: "+ "; color: var(--chalk); }
.ep-need button[aria-pressed="true"]::before { content: "✓ "; }

/* Questions: search, topics, and the answers that open */
.faq-tool { display: grid; gap: 14px; }
.faq-search { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 6px 14px; padding: 14px 16px; background: #fff; border: 1px solid var(--ink); }
.faq-search > .mono { grid-column: 1 / -1; color: var(--chalk); }
.faq-search input { width: 100%; min-width: 0; min-height: 46px; padding: 10px 12px; border: 1px solid rgba(17, 17, 16, .3); background: var(--paper); font: 500 18px/1.2 var(--sans); }
.faq-search input:focus-visible { outline: 2px solid var(--chalk); outline-offset: 1px; }
.faq-search output { font: 500 15px/1.2 var(--sans); color: var(--muted); white-space: nowrap; }
.faq-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; }
.faq-bar .pt-bar { flex: 1 1 320px; }
.faq-acts { display: flex; gap: 14px; }
.faq-list { display: grid; border-top: 1px solid var(--ink); }
.prose .faq-list > * + * { margin-top: 0; }
.prose .qa { border-bottom: 1px solid var(--line); }
.prose .qa h2 { margin: 0; padding: 0; border: 0; font: inherit; }
.qa h2 button { display: grid; grid-template-columns: 44px minmax(0, 1fr) 28px; align-items: start; gap: 6px; width: 100%; padding: 18px 2px; border: 0; background: none; text-align: left; cursor: pointer; }
.qa .qn { padding-top: 3px; font: 600 15px/1.3 var(--sans); color: var(--chalk); letter-spacing: .04em; }
.qa .qt { font: 600 clamp(19px, 1.7vw, 23px)/1.3 var(--sans); letter-spacing: -.015em; }
.qa h2 button i { position: relative; width: 22px; height: 22px; margin-top: 4px; border: 1px solid var(--ink); border-radius: 50%; transition: background .3s, border-color .3s, transform .45s var(--ease); }
.qa h2 button i::before, .qa h2 button i::after { content: ""; position: absolute; left: 5px; right: 5px; top: 50%; height: 1.5px; margin-top: -.75px; background: currentColor; }
.qa h2 button i::after { transform: rotate(90deg); transition: transform .45s var(--ease); }
.qa.open h2 button i { background: var(--chalk); border-color: var(--chalk); color: #fff; transform: rotate(180deg); }
.qa.open h2 button i::after { transform: rotate(0deg); }
.qa h2 button:hover .qt { color: var(--chalk); }
.qa h2 button:focus-visible { outline: 2px solid var(--chalk); outline-offset: 2px; }
.qa-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease); }
.qa.open .qa-a { grid-template-rows: 1fr; }
.qa-a > div { overflow: hidden; padding: 0 30px 0 50px; }
.qa.open .qa-a > div { padding-bottom: 20px; }
.prose .qa-a > div > * + * { margin-top: 12px; }
.qa:not(.open) .qa-a > div { visibility: hidden; transition: visibility 0s .45s; }
.prose .qa mark { background: rgba(211, 32, 42, .16); color: inherit; padding: 0 1px; }
.prose .faq-empty { padding: 18px 2px; color: var(--muted); }

/* Service area: a section for each town, marked as you read it */
.town-secs { display: grid; gap: 12px; }
.prose .town-secs > * + * { margin-top: 0; }
.prose .town-sec { position: relative; display: grid; gap: 10px; padding: 22px 22px 22px 26px; background: #fff; border: 1px solid var(--line); scroll-margin-top: 120px; transition: border-color .35s, box-shadow .35s; }
.prose .town-sec > * + * { margin-top: 0; }
.prose .town-sec::before { content: ""; position: absolute; left: -1px; top: -1px; bottom: -1px; width: 3px; background: transparent; transition: background .35s; }
.prose .town-sec.cur { border-color: rgba(17, 17, 16, .4); box-shadow: 0 30px 60px -48px rgba(17, 17, 16, .5); }
.prose .town-sec.cur::before { background: var(--chalk); }
.prose .town-sec h2 { margin: 0; padding: 0; border: 0; font-size: clamp(26px, 2.4vw, 34px); }
.ts-no { color: var(--muted); }
.ts-no b { margin-right: 8px; color: var(--chalk); font-weight: 600; }
.ts-quote { padding: 4px 0 2px 16px; border-left: 2px solid var(--chalk); }
.ts-quote blockquote { font: 500 19px/1.4 var(--sans); letter-spacing: -.01em; }
.ts-quote figcaption { margin-top: 6px; font-size: 15px; color: var(--muted); }
.prose .town-sec .btn { justify-self: start; border: 1px solid var(--ink); background: #fff; cursor: pointer; }
.prose .town-sec .btn:hover { background: var(--ink); color: #fff; }
.tm-cap a { color: var(--chalk); font-weight: 600; white-space: nowrap; }

@media (max-width: 860px) { .tp-grid, .wp-grid, .pp-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 720px) {
  .ep-ctrl { grid-template-columns: minmax(0, 1fr); }
  .fp-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto; }
  .fp-row .fp-name { grid-column: 1 / -1; }
  .fp-row .fp-sq { grid-column: 1 / 3; }
  .pp-ladder { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .qa h2 button { grid-template-columns: 34px minmax(0, 1fr) 26px; }
  .qa-a > div { padding: 0 4px 0 40px; }
  .faq-search { grid-template-columns: minmax(0, 1fr); }
  .prose .town-sec { padding: 18px 16px 18px 18px; }
}
/* the new tools' button bars hold their own number of columns, so no empty cell shows the ink behind it */
.hplan .pt-bar { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.yp-add { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.eplan .pt-bar, .faq-bar .pt-bar { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tp-draw { display: grid; gap: 12px; }
.tp-edge { max-width: none; }
.pt-svg .hp-lab { font-size: 15px; }
.pt-svg .hp-lab-s { font-size: 12px; }
.e-pitch { fill: none; stroke: var(--chalk); stroke-width: 1.4; }
.pt-svg .e-pt { fill: var(--chalk); font-size: 14px; font-weight: 700; }
.pt-svg .yp-lab { font-size: 13px; }
.pt-svg .pp-scale text { font-size: 14px; }
@media (max-width: 860px) { .hplan .pt-bar { grid-template-columns: repeat(2, minmax(0, 1fr)); } .hplan .pt-bar button:last-child { grid-column: 1 / -1; } }
@media (max-width: 720px) { .yp-add { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---- 16 Nov (client review sheet): the logo big enough to read its own lettering. The mark's empty top and bottom
   margins are cropped off (images/logo-lockup.png); it stands 120px tall at the top of a page and settles to 64px once
   the page scrolls. The name no longer sits beside it, because the logo now says it. Everything placed under the
   header moves down to match */
.brand-logo { width: auto; height: 120px; transition: height .45s var(--ease); }
.has-scrolled .brand-logo { height: 64px; }
.nav { padding-block: 10px; }
.hero { padding-top: 204px; }
.hero.sub { padding-top: 214px; }
.phone-menu { padding-top: 176px; }
.lic-card { top: 146px; }
.prose .town-sec { scroll-margin-top: 140px; }
@media (max-width: 720px) {
  .brand-logo { height: 88px; }
  .has-scrolled .brand-logo { height: 52px; }
  .hero { padding-top: 164px; }
  .hero.sub { padding-top: 164px; }
  .owners-title { top: 122px; }
  .phone-menu { padding-top: 150px; }
}

/* ---- 16 Nov (client review sheet): "Measured twice, built once" filled the page and said nothing. The heading now
   says what MR&R does and where, at a size that leaves room for the facts under it, and the old line is a small
   kicker above it. The drawing, and the slider after it, sit beside the words in their own frame instead of behind
   them */
.hero { display: flex; flex-direction: column; gap: 22px; min-height: max(780px, 100svh); padding-bottom: 48px; }
.hero-grid { position: relative; flex: 1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(28px, 4vw, 72px); align-items: center; }
.hero-copy { display: grid; gap: 22px; justify-items: start; }
.hero-kicker { color: var(--chalk); }
.headline { margin: 0; font-size: clamp(34px, 3vw, 54px); line-height: 1; font-stretch: 108%; letter-spacing: -.035em;
  max-width: 13em; text-wrap: balance; }
.hero-lede { max-width: 46ch; font-size: 18px; line-height: 1.55; color: var(--muted); }
.hero-copy .site-card { margin-top: 6px; }
.hero-art { position: relative; aspect-ratio: 1200 / 760; }
.hero-art .bp { position: absolute; inset: 0; width: 100%; height: 100%; transform: none; }
.hero-art .hero-slider { position: absolute; inset: 0; width: 100%; height: 100%; transform: translateY(18px); }
.hero.swap .hero-art .bp { transform: scale(.985); }
.hero.swap .hero-art .hero-slider { transform: none; }
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); align-items: start; }
  .hero-art { width: 100%; max-width: 760px; }
}
@media (max-width: 720px) {
  .hero { min-height: 0; padding-bottom: 32px; }
  .headline { font-size: clamp(30px, 8.4vw, 38px); }
  .hero-lede { font-size: 16px; }
  .hero-copy .site-card { display: none; }
}

/* ---- 16 Nov (client review sheet): the hero drawing is a kitchen elevation a remodeler would draw, the sink wall: tall
   pantry, drawer base, sink base under the window, dishwasher, range and hood, wall cabinets with crown, subway tile,
   and the floor build-up in section. Cabinet codes in ink, the 36/18/30 heights and the 13'-0" run in chalk */
.hero-art .bp path { stroke-width: 1.6; }
.hero-art .bp .cons path { stroke-width: 1; }
.hero-art .bp .det path { stroke-width: 1.2; }
.hero-art .bp .hatch path { stroke-width: 1; }
.hero-art .bp .dims path { stroke-width: 1.4; }
.hero-art .bp .dim-t text { font: 500 22px var(--sans); }
.bp .codes text { fill: var(--ink); font: 500 17px var(--sans); letter-spacing: .06em; text-transform: uppercase; opacity: 0;
  animation: show .8s ease 2.4s forwards; }
.bp .codes text:nth-last-child(-n+2) { fill: var(--muted); font-size: 18px; }

/* ---- 16 Nov (client review sheet): a larger call to action, CALL NOW / FREE ESTIMATES. Two big buttons under the
   homepage heading; both in the header of every page, the phone number with the call; on phones, the bar at the
   bottom leads with the call */
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; width: 100%; max-width: 640px; }
.cta-big { flex: 1 1 0; display: grid; gap: 6px; min-width: 250px; padding: 18px 22px 20px; color: #fff;
  transition: transform .3s var(--ease), background .3s, box-shadow .3s; }
.cta-big b { font: 700 clamp(24px, 2vw, 30px)/1 var(--sans); font-stretch: 110%; letter-spacing: -.01em; text-transform: uppercase; white-space: nowrap; }
.cta-big span { font: 500 17px/1.2 var(--sans); opacity: .9; white-space: nowrap; }
.cta-call { background: var(--chalk); box-shadow: 0 20px 40px -18px rgba(211, 32, 42, .9); }
.cta-est { background: var(--ink); box-shadow: 0 20px 40px -22px rgba(17, 17, 16, .8); }
.cta-big:hover { transform: translateY(-2px); }
.cta-call:hover { background: #b51a23; }
.cta-est:hover { background: #000; }
.cta-big:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.nav-ctas { justify-self: end; display: flex; align-items: stretch; gap: 10px; }
.nav-ctas .nav-cta { display: inline-flex; align-items: center; gap: 8px; padding: 14px 20px; font-size: 16px; font-weight: 600; }
.nav-call { display: grid; align-content: center; gap: 2px; padding: 8px 18px; border: 2px solid var(--ink); background: var(--paper);
  transition: background .3s, color .3s; }
.nav-call small { font: 700 13px/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--chalk); transition: color .3s; }
.nav-call b { font: 700 19px/1.1 var(--sans); white-space: nowrap; }
.nav-call:hover { background: var(--ink); color: #fff; }
.nav-call:hover small { color: #fff; }
.nav-ctas .nav-cta { white-space: nowrap; }
@media (max-width: 1320px) {
  .nav-links { gap: 22px; }
  .nav-call small { display: none; }
  .cta-big { min-width: 220px; padding: 16px 18px 18px; }
}
@media (max-width: 1160px) { .nav-call { display: none; } }   /* the number stays in the dark strip above, and in the hero */
@media (max-width: 720px) {
  .nav-ctas { display: none; }
  .cta-big { flex: 1 1 100%; min-width: 0; padding: 16px 20px 18px; }
  .mbar { grid-template-columns: 1.1fr 1fr; }
  .mbar a { height: 58px; gap: 2px; align-content: center; font: 700 17px/1.1 var(--sans); letter-spacing: .04em; }
  .mbar a span { display: block; font: 500 13px/1.2 var(--sans); letter-spacing: 0; text-transform: none; opacity: .85; }
  .mbar-call { background: var(--chalk); border: 0; color: #fff; }
  .mbar-est { background: var(--paper); color: var(--ink); }
  .foot { padding-bottom: 100px; }
}

/* ---- 16 Nov (client review sheet): "Ask MR&R", the chat assistant (chat.js). A chalk-red button at the bottom right
   of every page (above the call bar on phones) opens a drafting-paper panel: the assistant's lines on white, the
   visitor's in ink, quick replies under them as outlined buttons */
.chat-launch { position: fixed; z-index: 56; right: 22px; bottom: 22px; display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 20px 14px 16px; border: 0; border-radius: 999px; background: var(--chalk); color: #fff; cursor: pointer;
  font: 700 16px/1 var(--sans); letter-spacing: .06em; text-transform: uppercase; box-shadow: 0 16px 34px -14px rgba(211, 32, 42, .9);
  transition: transform .3s var(--ease), background .3s; }
.chat-launch:hover { transform: translateY(-2px); background: #b51a23; }
.chat-launch:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.chat-launch svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; stroke-linecap: round; }
.chat-open .chat-launch, .menu-open .chat-launch { visibility: hidden; }
.chat { position: fixed; z-index: 70; right: 22px; bottom: 22px; display: grid; grid-template-rows: auto minmax(0, 1fr) auto auto;
  width: min(400px, calc(100vw - 32px)); height: min(620px, calc(100svh - 150px)); background: var(--paper); border: 1px solid var(--ink);
  box-shadow: 0 40px 80px -30px rgba(17, 17, 16, .55); }
.chat[hidden] { display: none; }
.chat-head { display: flex; align-items: center; gap: 12px; padding: 12px 12px 12px 16px; background: var(--ink); color: #fff; }
.chat-head img { width: 48px; height: auto; padding: 3px; background: var(--paper); }
.chat-head div { flex: 1; min-width: 0; }
.chat-head p { font: 700 18px/1.1 var(--sans); letter-spacing: .02em; }
.chat-head small { display: block; margin-top: 3px; font: 400 14px/1.3 var(--sans); color: rgba(255, 255, 255, .75); }
.chat-x { width: 40px; height: 40px; border: 1px solid rgba(255, 255, 255, .3); background: none; color: #fff; font: 400 26px/1 var(--sans); cursor: pointer; }
.chat-x:hover, .chat-x:focus-visible { background: var(--chalk); border-color: var(--chalk); outline: 0; }
.chat-log { display: flex; flex-direction: column; gap: 10px; padding: 16px; overflow-y: auto; overscroll-behavior: contain;
  background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px); background-size: 24px 24px; }
.msg { max-width: 88%; padding: 10px 13px; font-size: 15.5px; line-height: 1.45; overflow-wrap: anywhere; }
.msg.bot { align-self: flex-start; background: #fff; border: 1px solid var(--line); border-left: 3px solid var(--chalk); }
.msg.you { align-self: flex-end; background: var(--ink); color: #fff; }
.msg b { display: block; margin-bottom: 4px; font-weight: 700; }
.msg p + p, .msg p + .li { margin-top: 6px; }
.msg .li { display: block; position: relative; margin-top: 4px; padding-left: 14px; }
.msg .li::before { content: ''; position: absolute; left: 0; top: .6em; width: 6px; height: 6px; background: var(--chalk); transform: rotate(45deg); }
.msg a { color: var(--chalk); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.msg > a { display: inline-block; margin-top: 8px; }
.msg .tk { display: block; padding: 8px 10px; background: var(--paper); border: 1px dashed var(--line); font-size: 15px; }
.msg.typing { display: flex; gap: 5px; padding: 14px 13px; }
.msg.typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--muted); animation: breathe 1.1s ease-in-out infinite; }
.msg.typing i:nth-child(2) { animation-delay: .15s; } .msg.typing i:nth-child(3) { animation-delay: .3s; }
.chat-chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 16px; }
.chat-chips:not(:empty) { padding-block: 10px; border-top: 1px solid var(--line); max-height: 132px; overflow-y: auto; }
.chat-chips button, .chat-chips a { padding: 8px 12px; border: 1px solid var(--ink); background: #fff; color: var(--ink); font: 500 14.5px/1.2 var(--sans);
  cursor: pointer; transition: background .2s, color .2s; }
.chat-chips button:hover, .chat-chips a:hover, .chat-chips :focus-visible { background: var(--ink); color: #fff; outline: 0; }
.chat-chips a.call, .chat-chips a.go { background: var(--chalk); border-color: var(--chalk); color: #fff; font-weight: 700; }
.chat-form { display: flex; gap: 8px; padding: 12px 16px 14px; border-top: 1px solid var(--line); background: #fff; }
.chat-form input { flex: 1; min-width: 0; height: 46px; padding: 0 12px; border: 1px solid var(--line); background: var(--paper); font-size: 16px; border-radius: 0; }
.chat-form input:focus-visible { outline: 2px solid var(--chalk); outline-offset: 0; border-color: transparent; }
.chat-form button { padding: 0 18px; border: 0; background: var(--ink); color: #fff; font: 700 15px/1 var(--sans); letter-spacing: .06em;
  text-transform: uppercase; cursor: pointer; }
.chat-form button:hover, .chat-form button:focus-visible { background: var(--chalk); outline: 0; }
@media (max-width: 720px) {
  .chat-launch { right: 12px; bottom: calc(88px + env(safe-area-inset-bottom, 0px)); padding: 14px; }
  .chat-launch span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .chat { inset: 0; width: auto; height: auto; border: 0; }
  .msg { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) { .msg.typing i { animation: none; } }

/* ---- 17 Nov (client review): the chat panel could melt into a dark part of the page, and its quick replies scrolled in
   a short strip. The panel is now framed like a drawing sheet: the ink edge, a paper margin, a chalk-red hairline, and
   red registration marks at two corners, so it stands clear of light and dark pages alike; it opens with a short lift.
   The quick replies sit in an even grid with no scrollbar: two columns for a handful, three compact ones for a longer
   pick list (the jobs, the towns), and the call or send button always across the full width */
.chat { box-shadow: 0 0 0 5px var(--paper), 0 0 0 6px var(--chalk), 0 40px 80px -24px rgba(17, 17, 16, .7);
  animation: chat-in .35s var(--ease) both; }
.chat::before, .chat::after { content: ''; position: absolute; width: 20px; height: 20px; pointer-events: none; border: 0 solid var(--chalk); }
.chat::before { top: -13px; left: -13px; border-width: 2px 0 0 2px; }
.chat::after { right: -13px; bottom: -13px; border-width: 0 2px 2px 0; }
@keyframes chat-in { from { opacity: 0; transform: translateY(14px) scale(.98); } }
.chat-chips { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
.chat-chips.many { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: 1fr; }
.chat-chips:not(:empty) { max-height: none; overflow: visible; }
.chat-chips button, .chat-chips a { display: flex; align-items: center; justify-content: center; min-height: 40px; padding: 7px 8px;
  text-align: center; text-decoration: none; }
.chat-chips.many button, .chat-chips.many a { min-height: 36px; padding: 6px; font-size: 14px; }
.chat-chips a.call, .chat-chips a.go, .chat-chips:not(.many) > :last-child:nth-child(odd) { grid-column: 1 / -1; }
@media (max-width: 720px) {
  .chat { box-shadow: none; }
  .chat::before, .chat::after { display: none; }
}
@media (prefers-reduced-motion: reduce) { .chat { animation: none; } }

/* ---- 17 Nov (client review): the drawing started below the facts, leaving an empty band at the top right. The facts
   now head the words' column, and the drawing starts level with them. No photographs and no slider here any more: four
   measured drawings in turn, the kitchen sink wall, the bathroom tub wall, a deck in side elevation and a house with a
   new addition, each drawing itself (main.js turns them), with buttons under them to pick one */
.hero-art { display: flex; flex-direction: column; gap: 14px; aspect-ratio: auto; }
.hero-frame { position: relative; aspect-ratio: 1200 / 760; transition: opacity .6s ease; }
.hero-frame.fading { opacity: 0; }
.hero-art .bp:not(.on) { display: none; }
/* the additions drawing: the house there now in ink, the new wing in chalk, drawn after it, as plans mark new work */
.bp .add path { stroke: var(--chalk); stroke-width: 1.8; fill: var(--paper); fill-opacity: 0;
  animation: draw 1.7s var(--ease) 1.5s forwards, fill .6s ease 2.6s forwards; }
.bp .add-det path { stroke: var(--chalk); stroke-width: 1.2; animation-delay: 2.2s; }
@media (prefers-reduced-motion: reduce) { .bp .add path { animation: none; stroke-dashoffset: 0; fill-opacity: 1; } .bp .add-det path { animation: none; stroke-dashoffset: 0; } }
@media (min-width: 1025px) { .hero-grid { align-items: start; align-content: center; } }
/* 19 Nov: the words' column is as wide as the words (no empty band between them and the drawing), the drawing sits
   right beside them and grows into the room, up to a size that still fits the screen; the heading a step smaller */
@media (min-width: 1025px) {
  .hero-grid { grid-template-columns: minmax(0, 720px) minmax(0, 1fr); }
  .hero-art { width: 100%; max-width: min(860px, calc((100svh - 300px) * 1200 / 760)); justify-self: start; }
}
.headline { font-size: clamp(30px, 2.5vw, 44px); max-width: 17em; }
.scene-nav { display: flex; flex-wrap: wrap; gap: 8px; }
.scene-nav button { display: inline-flex; align-items: baseline; gap: 8px; padding: 9px 14px; border: 1px solid var(--line); background: var(--paper);
  color: var(--ink); font: 500 14px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; cursor: pointer;
  transition: border-color .2s, background .2s, color .2s; }
.scene-nav button b { color: var(--chalk); font-weight: 500; }
.scene-nav button:hover { border-color: var(--ink); }
.scene-nav button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.scene-nav button:focus-visible { outline: 2px solid var(--chalk); outline-offset: 2px; }
/* ---- 17 Nov (client review): "In their own words", rebuilt. The section turns to ink, so the reviews read as their own
   moment; each review is a job's sign-off sheet on drafting paper: a bar with its number and town, the customer's words
   (exact; a few highlighted, the highlight running in as the sheet arrives), a title block with the customer, the job
   and the schedule, and a rubber stamp, COMPLETED ON TIME, that lands on the corner. Beside the first, the client's own
   accent wall. Two columns of sheets on wide screens, one on narrow */
.praise { position: relative; padding: 16vh var(--pad) 18vh; background-color: var(--ink); color: #fff;
  background-image: linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 48px 48px; overflow: hidden; }
.praise-head { display: grid; grid-template-columns: minmax(0, 2.4fr) minmax(0, 1fr); align-items: end; gap: 18px 48px; }
.praise-kicker { grid-column: 1 / -1; color: var(--chalk); }
.praise-title { margin: 0; font: 600 clamp(46px, 6.2vw, 116px)/.92 var(--sans); font-stretch: 112%; letter-spacing: -.045em; }
.praise-sub { max-width: 34ch; justify-self: end; padding-bottom: .6em; font-size: 18px; line-height: 1.55; color: rgba(255, 255, 255, .7); }
.praise-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 28px; margin-top: clamp(48px, 7vh, 88px); align-items: stretch; }
.pq { position: relative; display: flex; flex-direction: column; grid-column: span 6; color: var(--ink); background-color: var(--paper);
  background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px); background-size: 24px 24px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .08), 0 50px 90px -40px rgba(0, 0, 0, .8); }
.pq-lead { grid-column: 1 / span 7; }
.pq-bar { display: flex; justify-content: space-between; gap: 16px; padding: 14px 24px; border-bottom: 1px solid var(--ink);
  font-size: 13px; letter-spacing: .12em; text-transform: uppercase; }
.pq-bar span:first-child { color: var(--chalk); }
.pq-bar span:last-child { margin-right: 150px; }
.pq blockquote { position: relative; flex: 1; padding: 44px 32px 30px 32px; font: 400 clamp(17px, 1.2vw, 20px)/1.6 var(--sans); text-wrap: pretty; }
.pq blockquote::before { content: '\201C'; position: absolute; top: -4px; right: 22px; font: 700 110px/1 var(--sans); color: var(--chalk); opacity: .14; pointer-events: none; }
.pq-lead blockquote { padding: 52px 40px 36px; font-size: clamp(19px, 1.5vw, 26px); line-height: 1.55; letter-spacing: -.005em; }
.pq-lead blockquote::before { font-size: 150px; right: 28px; }
.pq mark { color: inherit; font-weight: 600; background: linear-gradient(transparent 58%, rgba(211, 32, 42, .24) 58%) no-repeat 0 0 / 0% 100%;
  -webkit-box-decoration-break: clone; box-decoration-break: clone; transition: background-size 1.3s var(--ease) .7s; }
.pq.in mark { background-size: 100% 100%; }
.pq.in mark + mark, .pq.in mark:nth-of-type(2) { transition-delay: 1.5s; }
.pq-tb { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); border-top: 1px solid var(--ink); background: rgba(255, 255, 255, .55); }
.pq-tb > span { display: grid; gap: 4px; padding: 13px 18px 15px; }
.pq-tb > span + span { border-left: 1px solid var(--ink); }
.pq-tb small { font: 500 11.5px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.pq-tb b { font: 600 15px/1.3 var(--sans); }
.pq-stamp { position: absolute; top: -18px; right: 22px; z-index: 2; display: grid; place-items: center; padding: 9px 16px 10px;
  background: var(--paper); color: var(--chalk); border: 2px solid var(--chalk); box-shadow: inset 0 0 0 3px var(--paper), inset 0 0 0 4px var(--chalk);
  font: 700 19px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; text-align: center;
  opacity: 0; transform: rotate(-8deg) scale(1.7); transition: opacity .25s ease .95s, transform .5s cubic-bezier(.2, 1.5, .4, 1) .95s; }
.pq-stamp small { display: block; margin-bottom: 4px; font-size: 10.5px; letter-spacing: .3em; font-weight: 500; }
.pq.in .pq-stamp { opacity: .94; transform: rotate(-8deg) scale(1); }
.pq-photo { position: relative; grid-column: 8 / span 5; margin: 0; overflow: hidden; min-height: 360px; background: var(--ink-2);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .08), 0 50px 90px -40px rgba(0, 0, 0, .8); }
.pq-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 1.6s var(--ease); }
.pq-photo.in img { transform: scale(1); }
.pq-photo figcaption { position: absolute; left: 16px; right: 16px; bottom: 16px; display: grid; gap: 6px; padding: 12px 14px; background: rgba(17, 17, 16, .82);
  color: #fff; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.pq-photo figcaption span { color: var(--chalk); font-size: 11.5px; letter-spacing: .16em; }
.pq, .pq-photo { transition: opacity .9s ease, transform 1.1s cubic-bezier(.2, .75, .15, 1), box-shadow .4s var(--ease); }
.pq.in:hover { transform: translateY(-4px); box-shadow: 0 0 0 1px rgba(255, 255, 255, .14), 0 60px 100px -40px rgba(0, 0, 0, .9); }
@media (max-width: 1024px) {
  .praise-head { grid-template-columns: minmax(0, 1fr); }
  .praise-sub { justify-self: start; padding-bottom: 0; }
  .pq, .pq-lead, .pq-photo { grid-column: 1 / -1; }
  .pq-photo { min-height: 0; aspect-ratio: 16 / 10; }
}
@media (max-width: 720px) {
  .praise { padding: 12vh var(--pad) 14vh; }
  .praise-grid { gap: 36px; }
  .pq-bar { padding: 12px 16px; font-size: 12px; }
  .pq-bar span:last-child { display: none; }
  .pq-stamp { top: -22px; right: 12px; padding: 7px 12px 8px; font-size: 15px; }
  .pq blockquote, .pq-lead blockquote { padding: 40px 20px 24px; font-size: 17px; }
  .pq-tb { grid-auto-flow: row; }
  .pq-tb > span + span { border-left: 0; border-top: 1px solid var(--line); }
}
@media (prefers-reduced-motion: reduce) {
  .pq mark { background-size: 100% 100%; transition: none; }
  .pq-stamp { opacity: .94; transform: rotate(-8deg); transition: none; }
  .pq-photo img { transform: none; }
}
/* ---- 17 Nov (client review): the footer. The giant MCLAUGHLIN is gone; the MR&R logo holds the left fifth, with the
   short about line under it, and the menus (services, company, contact) share the rest, divided by a hairline */
.foot { padding-top: 64px; }
.foot-main { display: grid; grid-template-columns: minmax(170px, 20%) minmax(0, 1fr); gap: clamp(28px, 4vw, 72px); padding-bottom: 48px; }
.foot-brand { display: grid; align-content: start; gap: 18px; padding-right: clamp(20px, 3vw, 56px); border-right: 1px solid var(--line); }
.foot-brand img { width: 100%; max-width: 230px; height: auto; }
.foot-brand a:hover img { opacity: .85; }
.foot-brand .foot-about { max-width: 30ch; font: 400 15px/1.5 var(--sans); letter-spacing: 0; color: var(--muted); }
.foot-main .foot-cols { grid-template-columns: 1fr 1fr 1.3fr; gap: 30px 40px; }
.foot-main .foot-cols a { padding: 3px 0; }
@media (max-width: 1024px) {
  .foot-main { grid-template-columns: minmax(0, 1fr); }
  .foot-brand { grid-template-columns: 160px minmax(0, 1fr); align-items: center; gap: 24px; padding: 0 0 28px; border-right: 0; border-bottom: 1px solid var(--line); }
  .foot-main .foot-cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .foot-brand { grid-template-columns: minmax(0, 1fr); }
  .foot-brand img { max-width: 170px; }
  .foot-main .foot-cols { grid-template-columns: minmax(0, 1fr); }
}
/* ---- 17 Nov (client review): the Project cost page's four guides, two by two inside the text column, and plain (no
   link underline on the whole card); the top bar keeps the towns line whole by dropping "Headquartered in Cary, NC"
   (still in the phone menu, the footer and the page) until the window is wide enough for both */
.prose .cost-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 8px 0 36px; }
.prose .cost-grid .answer { min-height: 230px; padding: 22px 48px 24px 22px; color: var(--ink); text-decoration: none; background: #fff; border: 1px solid var(--line); }
.prose .cost-grid .answer b { font-size: clamp(24px, 1.9vw, 30px); }
.prose .cost-grid .answer:hover { color: var(--ink); }
@media (max-width: 720px) { .prose .cost-grid { grid-template-columns: minmax(0, 1fr); } .prose .cost-grid .answer { min-height: 0; } }
@media (max-width: 2100px) { .tb-place { display: none; } }
/* Headings, calmer (client review, 18 Nov 2026): the inner pages' h1 and the estimate band's heading had grown to
   86–104px and pushed the page's words below the fold. They now stop at about 60px, with less empty paper above them. */
.page-h1 { font-size: clamp(30px, 3.4vw, 50px); line-height: 1; letter-spacing: -.035em; max-width: 18em; }
.hero.sub.has-photo .page-h1 { font-size: clamp(28px, 2.9vw, 46px); }
.hero.sub.has-photo .sub-grid { margin-top: 0; }
.sub-copy { margin-top: 0; }
.walk h2 { font-size: clamp(34px, 4.2vw, 68px); line-height: .98; }
/* no rule across the page under the heading, and none over each section heading in the text (18 Nov 2026) */
.hero.sub { border-bottom: 0; }
.prose h2 { padding-top: 0; border-top: 0; }
@media (max-width: 720px) {
  .page-h1, .hero.sub.has-photo .page-h1 { font-size: clamp(27px, 7.6vw, 36px); }
}

/* About: Brian's portrait in the heading, round and large, his name under it (portrait: in content/about.html) */
.sub-photo.portrait { display: grid; justify-items: center; gap: 18px; width: min(100%, 400px); margin: 0; justify-self: center; }
.pt-frame { position: relative; display: block; width: 100%; aspect-ratio: 1; padding: 10px; border-radius: 50%;
  background: #fff; border: 1px solid var(--line); box-shadow: 0 40px 80px -50px rgba(17, 17, 16, .55); }
.pt-frame::after { content: ""; position: absolute; inset: -12px; border-radius: 50%; border: 2px dashed var(--chalk); opacity: .55; }
.pt-frame img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; transform: scale(1.03); }
.sub-photo.portrait figcaption { display: grid; gap: 6px; text-align: center; font: 400 13px/1.5 var(--mono); letter-spacing: .05em;
  text-transform: uppercase; color: var(--muted); max-width: 34ch; }
.sub-photo.portrait figcaption b { font: 600 22px/1.15 var(--sans); letter-spacing: -.01em; text-transform: none; color: var(--ink); }

/* About: who we are, in the old site's words, with three plain traits under it */
.prose .meet > * + * { margin-top: 18px; }
.meet-lede { font-size: clamp(20px, 1.7vw, 24px); line-height: 1.5; font-weight: 500; letter-spacing: -.01em; }
.traits { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 28px !important; }
.traits li { display: grid; gap: 6px; align-content: start; padding: 18px 18px 20px; background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--chalk); }
.traits b { font: 600 18px/1.2 var(--sans); }
.traits span { font-size: 15px; line-height: 1.55; color: var(--muted); }

/* About: two customers' words, quoted whole */
.kind-words { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.kind-words figure { display: grid; gap: 14px; align-content: space-between; margin: 0; padding: 24px 24px 20px; background: #fff;
  border: 1px solid var(--line); box-shadow: 0 30px 60px -48px rgba(17, 17, 16, .4); }
.kind-words blockquote { margin: 0; font-size: 16px; line-height: 1.65; }
.kind-words blockquote::before { content: "“"; display: block; height: 30px; font: 700 54px/1 var(--sans); color: var(--chalk); }
.kind-words figcaption { padding-top: 12px; border-top: 1px solid var(--line); font: 500 13px/1.4 var(--mono); letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 720px) {
  .traits, .kind-words { grid-template-columns: 1fr; }
  .sub-photo.portrait { width: min(100%, 300px); }
}

/* ---- Services, "Everything we do" (18 Nov 2026): three trial versions one under another, 1a, 1b and 1c, until the
   client picks one; the other two come out, with the tags (.sx-tag). Every version is ordinary text and links in the
   page, so search engines and AI crawlers read it as written; the script only decides which one is lit. */
.sx { padding: clamp(64px, 10vh, 120px) 0 clamp(40px, 6vh, 72px); border-bottom: 1px solid var(--line); }
.sx-head { max-width: 1360px; margin: 0 auto 28px; padding: 0 var(--pad); }
.sx-head .mono { color: var(--chalk); }
.sx-head h2 { margin-top: 12px; font: 600 clamp(48px, 8.4vw, 132px)/.92 var(--sans); font-stretch: 112%; letter-spacing: -.045em; }
.sx-opt { max-width: 1360px; margin: 0 auto; padding: 56px var(--pad) 0; }
.sx img[src$=".svg"] { object-fit: contain; padding: 6%; background: #fff; }

/* 1b: a row of chips; the large panel below shows the one picked */
.sxb-bar { display: flex; align-items: flex-start; gap: 12px; }
.sxb-tabs { flex: 1; min-width: 0; display: flex; gap: 8px; padding-bottom: 14px; overflow-x: auto; scrollbar-width: none; }
.sxb-step { flex: none; display: flex; gap: 6px; }
.sxb-btn { width: 42px; height: 40px; border: 1px solid var(--ink); background: transparent; color: var(--ink); cursor: pointer; font-size: 18px; line-height: 1;
  transition: background .3s, color .3s; }
.sxb-btn:hover { background: var(--ink); color: var(--paper); }
.sxb-btn:focus-visible { outline: 2px solid var(--chalk); outline-offset: 2px; }
.sxb-tabs::-webkit-scrollbar { display: none; }
.sxb-tab { flex: none; display: inline-flex; align-items: center; gap: 8px; padding: 11px 16px; border: 1px solid var(--line); background: #fff; cursor: pointer;
  font: 500 15px/1 var(--sans); white-space: nowrap; transition: background .3s, color .3s, border-color .3s; }
.sxb-tab small { font: 500 12px/1 var(--mono); color: var(--chalk); transition: color .3s; }
.sxb-tab:hover { border-color: var(--ink); }
.sxb-tab[aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.sxb-tab[aria-selected="true"] small { color: #ff7a80; }
.sxb-tab:focus-visible { outline: 2px solid var(--chalk); outline-offset: 2px; }
.sxb-panels { display: grid; gap: 12px; }
.sxb-panel { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); min-height: clamp(380px, 62vh, 600px); background: var(--ink); color: var(--paper); }
.sxb-img { position: relative; overflow: hidden; min-height: 300px; }
.sxb-img img { position: absolute; inset: 0; }
.sxb-copy { display: grid; align-content: end; gap: 16px; padding: clamp(26px, 3.4vw, 52px); }
.sxb-n { font: 500 14px/1 var(--mono); letter-spacing: .08em; color: #ff7a80; }
.sxb h3 { font: 600 clamp(34px, 4.2vw, 64px)/.98 var(--sans); font-stretch: 110%; letter-spacing: -.04em; }
.sxb p { max-width: 40ch; font-size: 18px; line-height: 1.5; color: rgba(242, 241, 236, .78); }
.sxb .btn { justify-self: start; margin-top: 8px; }
.sxb-panel.in .sxb-img { animation: sxb-wipe 1s var(--ease) both; }
.sxb-panel.in .sxb-img img { animation: sxb-zoom 1.6s var(--ease) both; }
.sxb-panel.in .sxb-copy > * { animation: sxb-rise .8s var(--ease) both; }
.sxb-panel.in .sxb-copy > :nth-child(2) { animation-delay: .06s; }
.sxb-panel.in .sxb-copy > :nth-child(3) { animation-delay: .12s; }
.sxb-panel.in .sxb-copy > :nth-child(4) { animation-delay: .18s; }
@keyframes sxb-wipe { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes sxb-zoom { from { transform: scale(1.15); } to { transform: none; } }
@keyframes sxb-rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@media (max-width: 900px) {
  .sxb-panel { grid-template-columns: 1fr; min-height: 0; }
  .sxb-img { aspect-ratio: 16 / 10; min-height: 0; }
}

/* 19 Nov 2026: the license in the top bar opens a popup with the license and a link to the state board's search */
.tb-lic { padding: 0; border: 0; background: none; font: inherit; letter-spacing: inherit; text-transform: inherit; color: inherit; cursor: pointer; }
.tb-lic b { text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .35); text-underline-offset: 4px; transition: text-decoration-color .2s; }
.tb-lic:hover b, .tb-lic:focus-visible b { text-decoration-color: var(--chalk); }
button.lc-check { padding: 0; border: 0; background: none; text-align: left; cursor: pointer; }
.lic-modal { width: min(560px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); margin: auto; padding: 30px; border: 0; overflow: auto;
  background: var(--ink); color: #fff; box-shadow: 0 40px 100px -30px rgba(0, 0, 0, .7); }
.lic-modal::backdrop { background: rgba(17, 17, 16, .6); backdrop-filter: blur(3px); }
.lic-modal[open] { display: grid; gap: 18px; animation: lm-in .35s cubic-bezier(.2, .75, .15, 1); }
@keyframes lm-in { from { opacity: 0; transform: translateY(16px); } }
.lm-close { position: absolute; top: 10px; right: 12px; width: 40px; height: 40px; border: 0; background: none; color: rgba(255, 255, 255, .7);
  font: 300 30px/1 var(--sans); cursor: pointer; }
.lm-close:hover { color: #fff; }
.lm-top { display: flex; flex-wrap: wrap; gap: 4px 12px; padding: 0 40px 12px 0; border-bottom: 1px solid var(--line-l); color: rgba(255, 255, 255, .7); }
.lm-top span:first-child { color: var(--chalk); }
.lm-num { display: grid; gap: 6px; }
.lm-num small { color: rgba(255, 255, 255, .62); }
.lm-num b { font: 700 clamp(64px, 14vw, 96px)/.84 var(--sans); font-stretch: 118%; letter-spacing: -.045em; }
.lm-dl { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; padding-top: 14px; border-top: 1px solid var(--line-l); }
.lm-dl dt { font-size: 12px; color: rgba(255, 255, 255, .58); }
.lm-dl dd { margin-top: 4px; font: 600 15px/1.3 var(--sans); }
.lm-p { font-size: 15px; line-height: 1.6; color: rgba(255, 255, 255, .78); }
.lic-modal .btn { justify-self: start; }
@media (max-width: 720px) { .lic-modal { padding: 24px 20px; } .lm-dl { grid-template-columns: minmax(0, 1fr); } }
@media (prefers-reduced-motion: reduce) { .lic-modal[open] { animation: none; } }

/* About: Brian's portrait smaller, as a face beside the words rather than the page's picture */
.sub-photo.portrait { width: min(100%, 260px); gap: 14px; }
@media (max-width: 720px) { .sub-photo.portrait { width: min(100%, 200px); } }
.spec-lic { padding: 0; border: 0; background: none; font: inherit; color: inherit; text-align: left; cursor: pointer;
  text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 4px; }
.spec-lic:hover, .spec-lic:focus-visible { text-decoration-color: var(--chalk); }
/* the popup's two steps: copy the number, paste it into the board's search (a link can't fill it in) */
.lm-steps { display: grid; gap: 10px; padding: 0; list-style: none; counter-reset: lm; }
.lm-steps li { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; font-size: 15px; color: rgba(255, 255, 255, .85); counter-increment: lm; }
.lm-steps li::before { content: counter(lm); display: grid; place-items: center; width: 24px; height: 24px; flex: none; border: 1px solid var(--chalk);
  border-radius: 50%; font: 500 12px/1 var(--mono); color: var(--chalk); }
.lm-steps li > span { flex: 1 1 200px; }
.lm-steps b { color: #fff; font-weight: 600; }
.lm-copy { display: inline-flex; align-items: center; gap: 10px; padding: 8px 12px; border: 1px solid rgba(255, 255, 255, .35); background: none; color: #fff;
  font-size: 15px; letter-spacing: .06em; cursor: pointer; transition: border-color .2s, background .2s; }
.lm-copy i { font-style: normal; font-size: 12px; text-transform: uppercase; color: var(--chalk); }
.lm-copy:hover, .lm-copy:focus-visible { border-color: #fff; background: rgba(255, 255, 255, .06); }

/* a page's opening section (<!-- head --> in its content): under the lede, beside the photo */
.sub-more { display: grid; gap: 14px; margin-top: 36px; max-width: 760px; }
.sub-more h2 { font: 600 clamp(22px, 1.9vw, 28px)/1.1 var(--sans); font-stretch: 106%; letter-spacing: -.025em; }
.sub-more > p { font-size: 16px; line-height: 1.55; color: var(--muted); }
.sub-more .bands h3 { font-size: 18px; }
.sub-more .bands > section { padding: 16px 16px 18px; }

/* hero: after (the Services page): the services open the page, under the fixed header, and the heading follows */
.lead-wide { padding-top: 140px; }
.hero.sub.after { padding-top: 72px; }
.lead-wide .sx-head h2 { font-size: clamp(34px, 3.6vw, 56px); }
@media (max-width: 720px) { .lead-wide { padding-top: 104px; } .hero.sub.after { padding-top: 48px; } }

/* every inner page's small label over its title: the same line after the word as before it ("—— SERVICES ——") */
.hero.sub .label::after, .sx-head .mono::after { content: ''; display: inline-block; width: 64px; height: 1px; margin-left: 14px;
  background: currentColor; vertical-align: middle; opacity: .5; }

/* the bathroom planner (content/_bath-planner.html): Before and After, the room's size, fixtures you drag */
.bp-top { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 12px 18px; }
.bp-mode { display: inline-grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--ink); }
.bp-mode button { display: grid; gap: 3px; padding: 9px 16px 10px; border: 0; background: #fff; color: var(--ink); cursor: pointer; text-align: left;
  font: 600 15px/1.15 var(--sans); transition: background .25s, color .25s; }
.bp-mode button + button { border-left: 1px solid var(--ink); }
.bp-mode button small { font: 500 11px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--chalk); }
.bp-mode button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.bp-mode button[aria-pressed="true"] small { color: #ff7a80; }
.bp-mode button:focus-visible, .bp-size input:focus-visible, .bp-go:focus-visible, .bp-reset:focus-visible, .bp-saved button:focus-visible { outline: 2px solid var(--chalk); outline-offset: 2px; }
.bp-size { display: flex; align-items: end; gap: 8px; }
.bp-size label { display: grid; gap: 4px; font: 500 11px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.bp-size label > span { display: flex; align-items: center; border: 1px solid var(--line); background: #fff; }
.bp-size input { width: 4.2em; padding: 9px 4px 9px 10px; border: 0; background: transparent; font: 600 17px/1 var(--sans); color: var(--ink); }
.bp-size i { padding-right: 10px; font: 500 13px/1 var(--mono); font-style: normal; color: var(--muted); }
.bp-x { padding-bottom: 11px; color: var(--muted); }
.bplan[data-mode="before"] [data-after-only], .bplan:not([data-mode="before"]) [data-before-only] { display: none !important; }
.bplan[data-mode="before"] .pt-paper { background-color: #fbfaf7; }
.prose .bp-hint, .bp-hint { margin: 0; padding: 10px 12px; background: var(--paper); font-size: 14px; line-height: 1.5; color: var(--muted); }
.bp-hint b { color: var(--ink); }
.bp-go, .bp-reset, .bp-saved button { padding: 0; border: 0; background: none; color: var(--chalk); font: inherit; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.bp-go { display: block; margin-top: 6px; }
.bp-saved { color: var(--muted); }
.pt-svg .b-drag { cursor: grab; outline: none; pointer-events: all; }   /* a dashed fixture has no fill; catch the finger inside it too */
.pt-svg .b-drag:hover .b-fx, .pt-svg .b-drag:focus-visible .b-fx, .pt-svg .b-drag:hover .b-ghost, .pt-svg .b-drag:focus-visible .b-ghost { stroke: var(--chalk); stroke-width: 2; }
.pt-svg .b-drag.held, .bplan.dragging .pt-svg { cursor: grabbing; }
.pt-svg .b-drag.held .b-fx { fill: #fff3f3; }

/* the planner beside a page's heading, in place of its photo (<!-- side --> in content/bathroom-remodel-cost.html) */
/* the heading 40%, the planner 60%; the bands stack in the narrower column */
.hero.sub.has-side .sub-grid { grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: clamp(28px, 3vw, 48px); align-items: start; }
.hero.sub.has-side .page-h1 { font-size: clamp(30px, 3vw, 48px); }
.hero.sub.has-side .bands { grid-template-columns: minmax(0, 1fr); }
.hero.sub.has-side .bands > section { border-right: 0; border-bottom: 1px solid var(--line); padding: 14px 18px 16px; }
.hero.sub.has-side .bands > section:last-child { border-bottom: 0; }
.sub-side { min-width: 0; width: 100%; }
/* the planner, compact (18 Nov 2026: it stood too large on the screen) */
.bplan { gap: 10px; padding: 14px; }
.bplan .bp-grid { gap: 12px; }
.bplan .bp-picks { gap: 10px; }
.bplan .bp-q { gap: 5px; }
.bplan .bp-q button { padding: 6px 10px; font-size: 14px; }
.bplan .bp-q > .mono { font-size: 12px; }
.bplan .bp-mode button { padding: 7px 12px 8px; font-size: 13px; }
.bplan .bp-mode button small { font-size: 10px; }
.bplan .bp-size input { width: 3.6em; padding: 7px 2px 7px 8px; font-size: 15px; }
.bplan .bp-size label { font-size: 10px; }
.bplan .bp-x { padding-bottom: 8px; }
.prose .bplan .bp-hint, .bplan .bp-hint { padding: 8px 10px; font-size: 13px; }
.prose .bplan .pt-note, .sub-side .bplan .pt-note { padding: 8px 12px; font-size: 13px; }
.prose .bplan ul.bp-sched > li, .sub-side .bplan .bp-sched > li { font-size: 14px; }
.bplan .btn { padding: 12px 18px; font-size: 13px; }
.bplan .pt-foot { font-size: 11px; }
.sub-side .plan-tool { background: #fff; }
.sub-side .bp-grid { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); }   /* the plan, the choices beside it */
@media (max-width: 760px) { .sub-side .bp-grid { grid-template-columns: minmax(0, 1fr); } }
.sub-side .bp-sched { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 6px 16px; padding: 0; list-style: none; }
.sub-side .bp-sched > li { position: relative; padding-left: 32px; font-size: 15px; line-height: 1.45; }
.sub-side .bp-sched > li.empty { padding-left: 0; color: var(--muted); }
.sub-side .pt-note { padding: 10px 14px; border-left: 3px solid var(--chalk); background: var(--paper); font-size: 14px; line-height: 1.5; }
.sub-side .pt-note:empty { display: none; }
.sub-side .plan-tool button.btn { border: 0; cursor: pointer; justify-self: start; }
.sub-side .plan-tool button.btn:disabled { opacity: .45; cursor: default; }
@media (max-width: 1100px) { .hero.sub.has-side .sub-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 520px) { .bp-mode { width: 100%; } .bp-top { align-items: stretch; } }

/* the planner's full-screen button, and the planner full screen (the same planner, moved over the page by main.js) */
.bp-full { display: inline-flex; align-items: center; gap: 8px; margin-left: auto; padding: 8px 12px; border: 1px solid var(--ink); background: #fff; color: var(--ink);
  font: 600 13px/1 var(--sans); cursor: pointer; transition: background .25s, color .25s; }
.bp-full i { font-style: normal; font-size: 15px; }
.bp-full:hover { background: var(--ink); color: var(--paper); }
.bp-full:focus-visible { outline: 2px solid var(--chalk); outline-offset: 2px; }
html.bp-locked, html.bp-locked body { overflow: hidden; }
.bplan.is-full { position: fixed; inset: 0; z-index: 10000; margin: 0 !important; display: grid; grid-template-rows: auto minmax(0, 1fr) auto; gap: 12px;
  padding: 16px clamp(16px, 2vw, 28px); border: 0; background: #fff; box-shadow: none; opacity: 1; transform: none; overscroll-behavior: contain; }
.bplan.is-full .bp-full { background: var(--ink); color: var(--paper); }
.bplan.is-full .bp-grid { grid-template-columns: minmax(0, 1.75fr) minmax(320px, 1fr); gap: 20px; min-height: 0; align-items: stretch; }
.bplan.is-full .pt-paper { display: flex; align-items: center; justify-content: center; min-height: 0; }
.bplan.is-full .pt-svg { width: 100%; height: 100%; }
.bplan.is-full .bp-picks { min-height: 0; overflow-y: auto; align-content: start; padding-right: 6px; overscroll-behavior: contain; }
@media (max-width: 760px) {
  /* a phone: the plan stays on top, the choices scroll under it */
  .bplan.is-full { padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); gap: 8px; }
  .bplan.is-full .bp-grid { grid-template-columns: minmax(0, 1fr); grid-template-rows: minmax(0, 44dvh) minmax(0, 1fr); gap: 10px; }
  .bplan.is-full .bp-size input { width: 3em; }
  .bplan.is-full .pt-foot { display: none; }
  .bp-full { padding: 8px 10px; }
}
@media (max-width: 520px) { .bp-top .bp-full { order: -1; margin-left: 0; width: 100%; justify-content: center; padding: 11px 12px; } }

/* the first time each plan shows: "Drag items to move them", and the fixtures nudge once */
.pt-paper { position: relative; }
.bp-coach { position: absolute; left: 50%; top: 50%; z-index: 2; display: flex; align-items: center; gap: 10px; margin: 0; padding: 11px 16px;
  background: var(--ink); color: var(--paper); font: 600 15px/1.2 var(--sans); white-space: nowrap; pointer-events: none;
  box-shadow: 0 20px 40px -20px rgba(17, 17, 16, .6); opacity: 0; transform: translate(-50%, -40%); transition: opacity .35s, transform .45s var(--ease); }
.bp-coach.on { opacity: 1; transform: translate(-50%, -50%); }
.bp-coach svg { width: 20px; height: 20px; fill: none; stroke: #ff7a80; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.pt-svg.hinting .b-drag > g { animation: bp-nudge 1.1s var(--ease) 2; transform-box: fill-box; }
@keyframes bp-nudge { 0%, 100% { translate: 0 0; } 30% { translate: 4px 0; } 60% { translate: -3px 0; } }

/* the planner's demo beside the Bathroom cost heading: a copy of the planner that plays itself, framed like a video,
   and a button that opens the real planner full screen (the real one waits, hidden, in .bp-tuck) */
.bp-tuck { display: none; }
.bdemo { position: relative; display: grid; background: var(--ink); color: var(--paper); border: 1px solid var(--ink); overflow: hidden;
  box-shadow: 0 50px 90px -60px rgba(17, 17, 16, .75); }
.bdemo-top { display: flex; justify-content: space-between; gap: 12px; padding: 10px 14px; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: rgba(242, 241, 236, .7); }
.bdemo-top p { display: flex; align-items: center; gap: 8px; margin: 0; }
.bdemo-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--chalk); box-shadow: 0 0 0 0 rgba(211, 32, 42, .6); animation: bdemo-rec 1.6s ease-out infinite; }
@keyframes bdemo-rec { 70% { box-shadow: 0 0 0 7px rgba(211, 32, 42, 0); } 100% { box-shadow: 0 0 0 0 rgba(211, 32, 42, 0); } }
.bdemo-stage { position: relative; background: #fff; color: var(--ink); cursor: pointer; }
.bdemo-stage::after { content: "Try it yourself  ⤢"; position: absolute; right: 14px; top: 14px; z-index: 2; padding: 8px 12px; background: var(--chalk); color: #fff;
  font: 600 13px/1 var(--sans); opacity: 0; transform: translateY(-4px); transition: opacity .25s, transform .3s var(--ease); pointer-events: none; }
.bdemo-stage:hover::after { opacity: 1; transform: none; }
.bdemo .bplan { border: 0; box-shadow: none; }
.bdemo .bp-full, .bdemo .bp-hint, .bdemo .pt-foot, .bdemo [data-b-send] { display: none !important; }
.bdemo-cursor { position: absolute; left: 0; top: 0; z-index: 3; width: 26px; height: 26px; margin: -3px 0 0 -5px; pointer-events: none; will-change: transform; }
.bdemo-cursor svg { width: 100%; height: 100%; fill: var(--ink); stroke: #fff; stroke-width: 1.6; stroke-linejoin: round; transform-origin: 5px 3px;
  transition: transform .15s; filter: drop-shadow(0 3px 4px rgba(0, 0, 0, .3)); }
.bdemo-cursor::after { content: ""; position: absolute; left: -9px; top: -11px; width: 28px; height: 28px; border-radius: 50%; border: 2px solid var(--chalk); opacity: 0; transform: scale(.4); }
.bdemo-cursor.down svg { transform: scale(.84); }
.bdemo-cursor.down::after { animation: bdemo-tap .5s ease-out; }
@keyframes bdemo-tap { 0% { opacity: .9; transform: scale(.4); } 100% { opacity: 0; transform: scale(1.4); } }
.bdemo-foot { display: grid; gap: 12px; padding: 14px 16px 16px; }
.bdemo-cap { margin: 0; min-height: 2.6em; font: 600 16px/1.3 var(--sans); color: var(--paper); }
.bdemo-cap.new { animation: bdemo-cap .5s var(--ease); }
@keyframes bdemo-cap { from { opacity: 0; transform: translateY(6px); } }
.bdemo-bar { height: 3px; background: rgba(242, 241, 236, .16); }
.bdemo-bar i { display: block; width: 0; height: 100%; background: var(--chalk); transition: width .7s var(--ease); }
.bdemo-open { justify-self: start; border: 0; cursor: pointer; }
.bdemo-open.pulse { animation: bdemo-pulse 1.2s ease-in-out 2; }
@keyframes bdemo-pulse { 50% { box-shadow: 0 0 0 8px rgba(211, 32, 42, .3); } }
.bdemo-alt { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (max-width: 760px) {
  .bdemo .bp-picks { display: none; }   /* a phone shows the plan playing; the choices are in the full-screen planner */
  .bdemo .bp-size { display: none; }
  .bdemo-open { justify-self: stretch; justify-content: center; }
}

/* the planner's Screenshot button (full screen only), its flash and its note */
.bp-shot { display: none; align-items: center; gap: 7px; margin-left: auto; padding: 8px 12px; border: 1px solid var(--chalk); background: var(--chalk); color: #fff;
  font: 600 13px/1 var(--sans); cursor: pointer; transition: filter .2s; }
.bp-shot svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; }
.bp-shot:hover { filter: brightness(1.08); }
.bp-shot:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.bplan.is-full .bp-shot { display: inline-flex; }
.bplan.is-full .bp-shot + .bp-full { margin-left: 0; }
.bp-flash { position: absolute; inset: 0; z-index: 4; background: #fff; pointer-events: none; animation: bp-flash .6s ease-out forwards; }
@keyframes bp-flash { 0% { opacity: .95; } 100% { opacity: 0; } }
.bp-toast { position: absolute; left: 50%; bottom: 14px; z-index: 5; margin: 0; padding: 10px 14px; background: var(--ink); color: var(--paper); font: 600 14px/1.3 var(--sans);
  white-space: nowrap; pointer-events: none; opacity: 0; transform: translate(-50%, 8px); transition: opacity .3s, transform .4s var(--ease); }
.bp-toast.on { opacity: 1; transform: translate(-50%, 0); }
@media (max-width: 520px) { .bp-toast { white-space: normal; width: max-content; max-width: 90%; text-align: center; } }

/* the planner's fixture list, wherever the planner is: in the text, beside the heading, or full screen over the page */
.bplan ul.bp-sched { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 6px 16px; margin: 0; padding: 0; list-style: none; }
.bplan ul.bp-sched > li { position: relative; margin: 0; padding-left: 32px; font-size: 14px; line-height: 1.45; }
.bplan ul.bp-sched > li::before { display: none; }
.bplan ul.bp-sched > li.empty { padding-left: 0; color: var(--muted); }
.bplan .pt-note { margin: 0; padding: 8px 12px; border-left: 3px solid var(--chalk); background: var(--paper); font-size: 13px; line-height: 1.5; }
.bplan .pt-note:empty { display: none; }
.bplan button.btn { border: 0; cursor: pointer; justify-self: start; }
.bplan button.btn:disabled { opacity: .45; cursor: default; }

/* the planner: a water closet's walls and door swing, and the vanity's size as a second row under Vanity */
.pt-svg .b-part { fill: var(--ink); stroke: none; }
.pt-svg .b-wcdoor { fill: none; stroke: var(--ink); stroke-width: 1; stroke-dasharray: 3 3; }
.bplan:not([data-mode="before"]) .bp-sub { margin-top: -4px; padding-left: 14px; border-left: 2px solid var(--line); }
.bplan:not([data-mode="before"]) .bp-sub > .mono { color: var(--muted); }

/* full screen: "Put this list in my estimate request" stays in sight at the foot of the choices as they scroll */
.bplan.is-full [data-b-send] { position: sticky; bottom: 0; z-index: 2; box-shadow: 0 -14px 14px -2px #fff; }

/* the After plan's "Start After over" (back to what Before has) */
.bp-restart { padding: 8px 12px; border: 1px solid var(--line); background: #fff; color: var(--ink); font: 600 13px/1 var(--sans); cursor: pointer; transition: border-color .2s, background .2s; }
.bp-restart:hover { border-color: var(--ink); }
.bp-restart:focus-visible { outline: 2px solid var(--chalk); outline-offset: 2px; }
.bdemo .bp-restart { display: none !important; }

/* the planner's "Are you sure?" panel (Start After over, Clear both plans) */
.bp-ask { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; padding: 12px 14px; background: #fff4f4;
  border: 1px solid var(--chalk); border-left-width: 4px; animation: bp-ask .3s var(--ease); }
.bp-ask p { flex: 1 1 260px; margin: 0; font-size: 14px; line-height: 1.45; color: var(--ink); }
.bp-ask > div { display: flex; gap: 8px; }
.bp-ask button { padding: 9px 14px; font: 600 13px/1 var(--sans); cursor: pointer; }
.bp-ask-no { border: 1px solid var(--ink); background: #fff; color: var(--ink); }
.bp-ask-yes { border: 1px solid var(--chalk); background: var(--chalk); color: #fff; }
.bp-ask button:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
@keyframes bp-ask { from { opacity: 0; transform: translateY(-6px); } }
.bplan.is-full { grid-template-rows: auto auto minmax(0, 1fr) auto; }
.bplan.is-full:not(:has(.bp-ask)) { grid-template-rows: auto minmax(0, 1fr) auto; }

/* the note under the plan, with Undo after a reset: it takes clicks then */
.bp-toast.has-undo { display: flex; align-items: center; gap: 12px; white-space: normal; width: max-content; max-width: min(92%, 520px); pointer-events: auto; }
.bp-toast:not(.on) { pointer-events: none; }
.bp-toast button { flex: none; padding: 6px 10px; border: 1px solid #ff7a80; background: transparent; color: #ff9ca0; font: 700 13px/1 var(--sans); cursor: pointer; }
.bp-toast button:hover { background: var(--chalk); border-color: var(--chalk); color: #fff; }
.bp-toast button:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }

/* Bathroom remodeling: the finished bathrooms, full width right under the heading (a <!-- wide --> block) */
.finished { max-width: 1360px; margin: 0 auto; padding: clamp(36px, 5vw, 64px) var(--pad) 0; display: grid; gap: 16px; }
.finished h2 { font: 600 clamp(26px, 2.6vw, 38px)/1.08 var(--sans); font-stretch: 106%; letter-spacing: -.03em; }
.finished p { max-width: 60ch; font-size: 17px; line-height: 1.6; color: var(--muted); }
.finished .photos img { aspect-ratio: 4 / 3; object-fit: cover; }

/* Bathroom cost: beside "The three kinds of bathroom job", a jump down to "What drives the cost" */
.h2-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; }
.h2-row h2 { margin: 0; }
.h2-jump { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border: 1px solid var(--ink); border-radius: 999px; background: #fff; color: var(--ink);
  font: 600 13px/1 var(--sans); text-decoration: none; white-space: nowrap; transition: background .25s, color .25s; }
.h2-jump i { font-style: normal; color: var(--chalk); transition: color .25s, transform .3s var(--ease); }
.h2-jump:hover { background: var(--ink); color: var(--paper); }
.h2-jump:hover i { color: #ff7a80; transform: translateY(2px); }
.h2-jump:focus-visible { outline: 2px solid var(--chalk); outline-offset: 2px; }
#what-drives-the-cost { scroll-margin-top: 150px; }
/* the jump stays to the right of the heading; the heading takes two lines if it has to (one line on a phone, under it) */
@media (min-width: 521px) {
  .h2-row { flex-wrap: nowrap; align-items: flex-end; }
  .h2-row h2 { flex: 1 1 auto; min-width: 0; }
  .h2-row .h2-jump { flex: none; margin-bottom: 4px; }
}

/* Bathroom remodeling: the finished bathrooms as a slideshow under the heading. Every photo is in the page; the one on
   show fades in with a slow zoom, its caption over a shade at the foot, the red line the time to the next */
.gallery { display: grid; gap: 12px; margin-top: 30px; }
.gal-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.gal-head h2 { margin: 0; font: 600 clamp(22px, 2vw, 28px)/1.1 var(--sans); letter-spacing: -.02em; }
.gal-count { margin: 0; font-size: 13px; letter-spacing: .1em; color: var(--muted); }
.gal-stage { position: relative; aspect-ratio: 16 / 11; overflow: hidden; background: var(--ink); border: 1px solid var(--ink); box-shadow: 0 40px 80px -50px rgba(17, 17, 16, .6); }
.gal-stage:focus-visible { outline: 2px solid var(--chalk); outline-offset: 3px; }
.gal-slide { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity 1s ease; }
.gal-slide.is-on { opacity: 1; z-index: 1; }
.gal-slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); transition: transform 7s linear; }
.gal-slide.is-on img { transform: scale(1); }
.gal-slide figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 48px 18px 18px; background: linear-gradient(transparent, rgba(17, 17, 16, .78));
  font: 500 13px/1.3 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: #fff; }
.gal-nav { position: absolute; right: 12px; bottom: 12px; z-index: 3; display: flex; gap: 6px; }
.gal-nav button { width: 42px; height: 42px; border: 1px solid rgba(255, 255, 255, .7); background: rgba(17, 17, 16, .45); color: #fff; font-size: 18px; cursor: pointer;
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); transition: background .25s, border-color .25s; }
.gal-nav button:hover { background: var(--chalk); border-color: var(--chalk); }
.gal-nav button:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.gal-bar { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; height: 3px; background: rgba(255, 255, 255, .18); }
.gal-bar i { display: block; height: 100%; background: var(--chalk); transform: scaleX(0); transform-origin: left; }
.gal-bar i.run { animation: gal-fill 5.5s linear forwards; }
.gallery.paused .gal-bar i.run { animation-play-state: paused; }
@keyframes gal-fill { to { transform: scaleX(1); } }
.gal-note { margin: 0; font-size: 15px; line-height: 1.5; color: var(--muted); }
@media (prefers-reduced-motion: reduce) { .gal-slide, .gal-slide img { transition: none; } .gal-slide img { transform: none; } .gal-bar { display: none; } }

/* the demo's call to try it: a big red button in the middle of the playing demo (all of the demo opens the planner);
   it replaces the small hover tag in the corner */
.bdemo-stage::after { display: none; }
.bdemo-try { position: absolute; left: 50%; top: 50%; z-index: 4; display: inline-flex; align-items: center; gap: 12px; padding: 16px 26px 16px 20px;
  border-radius: 999px; background: var(--chalk); color: #fff; font: 700 clamp(16px, 1.5vw, 20px)/1 var(--sans); letter-spacing: .01em; white-space: nowrap;
  box-shadow: 0 22px 44px -14px rgba(211, 32, 42, .75), 0 0 0 4px rgba(255, 255, 255, .9); pointer-events: none;
  transform: translate(-50%, -50%); transition: transform .35s var(--ease), background .25s; animation: bdemo-try 2.6s ease-in-out infinite; }
.bdemo-try::before { content: ""; position: absolute; inset: -4px; border-radius: inherit; animation: bdemo-ring 2.6s ease-out infinite; }
.bdemo-try svg { width: 24px; height: 24px; flex: none; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.bdemo-try .t-tap { display: none; }
@media (hover: none) { .bdemo-try .t-click { display: none; } .bdemo-try .t-tap { display: inline; } }
.bdemo-stage:hover .bdemo-try { transform: translate(-50%, -50%) scale(1.07); background: #b8141e; animation-play-state: paused; }
@keyframes bdemo-try { 0%, 100% { transform: translate(-50%, -50%) scale(1); } 50% { transform: translate(-50%, -50%) scale(1.045); } }
@keyframes bdemo-ring { 0% { box-shadow: 0 0 0 0 rgba(211, 32, 42, .55); } 80%, 100% { box-shadow: 0 0 0 22px rgba(211, 32, 42, 0); } }
@media (max-width: 520px) { .bdemo-try { padding: 13px 20px 13px 16px; font-size: 15px; } }
@media (prefers-reduced-motion: reduce) { .bdemo-try, .bdemo-try::before { animation: none; } }

.bdemo-cursor { z-index: 5; }   /* the demo's pointer passes over the call to try it, not under */

/* Services, option 1b: arrows at both ends of the row of choices, the same 12px from the row at each end. The row
   clips cleanly at both ends (no fade, which made the right end look wider); a cut-off choice shows there is more */
@media (max-width: 520px) { .sxb-step-l { display: none; } }   /* a phone keeps one pair, on the right, and the swipe */

/* the finished bathrooms' arrows, up beside the count (they were on the photo) */
.gal-head { align-items: center; }
.gal-ctrl { display: flex; align-items: center; gap: 6px; flex: none; }
.gal-ctrl .gal-count { margin-right: 6px; }
.gal-ctrl button { width: 36px; height: 36px; border: 1px solid var(--ink); background: #fff; color: var(--ink); font-size: 16px; cursor: pointer; transition: background .25s, color .25s; }
.gal-ctrl button:hover { background: var(--ink); color: var(--paper); }
.gal-ctrl button:focus-visible { outline: 2px solid var(--chalk); outline-offset: 2px; }

/* Project cost: the four cost guides up in the heading, under the title and its sentence (a <!-- head --> block) */
.sub-more .cost-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.sub-more .cost-grid .answer { min-height: 170px; gap: 10px; padding: 18px 44px 20px 18px; color: var(--ink); text-decoration: none; background: #fff; border: 1px solid var(--line); }
.sub-more .cost-grid .answer b { font-size: clamp(20px, 1.6vw, 26px); }
.sub-more .cost-grid .answer span { font-size: 14px; }
.sub-more .cost-grid .answer i { right: 18px; top: 18px; }
.sub-more .cost-grid .answer:hover { color: var(--ink); }
@media (max-width: 520px) { .sub-more .cost-grid { grid-template-columns: minmax(0, 1fr); } .sub-more .cost-grid .answer { min-height: 0; } }

/* Bathroom remodeling: its heading names three towns, so it stands smaller than the other pages' headings (two lines, not three) */
[data-page="bathroom-remodeling"] .hero.sub .page-h1 { font-size: clamp(26px, 2.1vw, 32px); line-height: 1.1; letter-spacing: -.025em; }

/* Services: option 1b is the one (19 Nov 2026). The heading and its sentence stand first again, and the services
   right under them: the label, then the row of jobs and its large panel */
[data-page="services"] .hero.sub { padding-bottom: 8px; }
[data-page="services"] .hero.sub .sub-copy { margin-top: 0; }
/* the heading runs the page's full width on one line, a little smaller ("Services we offer" is its label now) */
[data-page="services"] .hero.sub .sub-copy, [data-page="services"] .hero.sub .page-h1 { max-width: none; }
/* one line across the page on a desktop, sized to the width; on smaller screens it wraps into even lines */
[data-page="services"] .hero.sub .page-h1 { font-size: 22px; line-height: 1.25; letter-spacing: -.015em; text-wrap: balance; }
@media (min-width: 1200px) { [data-page="services"] .hero.sub .page-h1 { font-size: min(1.68vw, 32px); white-space: nowrap; } }
.sx { padding-top: clamp(28px, 4vh, 48px); }
.sx-one { padding-top: 0; }
[data-page="services"] .sx-head, [data-page="services"] .sx-one { max-width: none; }   /* the services line up with the heading above them */

/* Services 1b: the timer. A light red fill sweeps across the picked service's name over five seconds, then the next
   one takes over; the fill holds where it is while the section waits. The panel's words stand at the top */
.sxb-tab { position: relative; overflow: hidden; isolation: isolate; }
.sxb-fill { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(211, 32, 42, .55), rgba(211, 32, 42, .85)); transform: scaleX(0); transform-origin: left; pointer-events: none; }
.sxb-tab.timing .sxb-fill.run { animation: sxb-fill 5s linear forwards; }
.sxb.paused .sxb-tab .sxb-fill.run { animation-play-state: paused; }
@keyframes sxb-fill { to { transform: scaleX(1); } }
.sxb-copy { align-content: start; }
@media (prefers-reduced-motion: reduce) { .sxb-fill { display: none; } }

/* the kitchen planner (content/_kitchen-planner.html): the bathroom planner's look, plus Quick or Plan it yourself */
.kp .kp-view { display: grid; width: 100%; }
.kp .kp-view button { padding: 9px 14px 10px; font-size: 14px; }
.kp[data-view="quick"] [data-full-only], .kp[data-view="full"] [data-quick-only] { display: none !important; }
.kp .pt-read { margin: 0; }
.pt-svg .k-ctr.k-keep { stroke-dasharray: 4 3; fill: #fbfaf7; }
.kp .k-isl { cursor: grab; }
.kp.dragging .k-isl { cursor: grabbing; }
.kp.is-full { grid-template-rows: auto auto auto minmax(0, 1fr) auto; }
.kp.is-full:not(:has(.bp-ask)) { grid-template-rows: auto auto minmax(0, 1fr) auto; }
@media (max-width: 760px) { .kp .kp-view button { padding: 8px 10px; font-size: 13px; } }
/* Kitchen remodeling: the jump under the finished kitchens, and its three-town heading on two lines, as on the bathroom page */
.gal-jump { justify-self: start; margin-top: 4px; }
[data-page="kitchen-remodeling"] .hero.sub .page-h1 { font-size: clamp(26px, 2.1vw, 32px); line-height: 1.1; letter-spacing: -.025em; }

/* About (19 Nov 2026, round 3): one column for everything. The heading and the body share one 1240px width and one
   left edge; each section opens on the same thin rule with its number; paired columns start level (no offsets);
   the section headings sit a clear step below the page's own heading */
[data-page="about"] .hero.sub { padding-bottom: 32px; }
/* About's opening, two columns like the sections under it: 01 who we are (Brian's photo cut into the story, his name
   tag over its corner) | 02 our mission, with "in our own words" in a dark card whose words rise in one by one */
[data-page="about"] .hero.sub.has-side .sub-grid { max-width: 1240px; margin-inline: auto; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 32px clamp(36px, 5vw, 80px); align-items: start; }
/* the titles are the numbered keys: "01 Who we are" is the page's h1 (the "About us" label over it is dropped),
   "02 Our mission" the section's h2, so neither is said twice */
[data-page="about"] .hero.sub .label { display: none; }
[data-page="about"] .hero.sub.has-side .page-h1, .about-mission h2.stagger-k, [data-page="about"] .prose h2.stagger-k, [data-page="services"] .prose h2.stagger-k { padding: 0; border: 0; display: flex; align-items: center; gap: 10px; margin: 0;
  font: 500 13px/1.2 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
[data-page="about"] .hero.sub.has-side .page-h1 { display: block; line-height: 30px; }
[data-page="about"] .hero.sub.has-side .page-h1 .w, [data-page="about"] .hero.sub.has-side .page-h1 .wi { display: inline; padding: 0; margin: 0; transform: none; overflow: visible; }   /* plain words, set exactly as 02 */   /* its words are split into spans to rise in: no flex gaps between them */
[data-page="about"] .hero.sub .page-h1::before { box-sizing: border-box; margin-right: 10px; vertical-align: top; content: "01"; display: inline-grid; place-items: center; min-width: 30px; height: 30px; padding: 0 6px;
  border-radius: 999px; background: var(--chalk); color: #fff; font-weight: 600; letter-spacing: 0; }
[data-page="about"] .hero.sub .page-h1 + .lede { margin-top: 20px; }
[data-page="about"] .hero.sub .lede { font-size: 17px; line-height: 1.6; }   /* the same size as the mission beside it */
[data-page="about"] .sub-more { display: block; margin-top: 24px; max-width: none; }
[data-page="about"] .sub-more > p { font-size: 16px; line-height: 1.65; color: var(--ink); opacity: .82; }
[data-page="about"] .sub-more > p + p { margin-top: 14px; }
.brian-cut { float: right; position: relative; width: clamp(150px, 14vw, 190px); margin: 4px 0 26px 26px; shape-outside: margin-box; }
/* brian.jpg is a square whose corners are cut off at an angle (white beyond the cut). The frame shows the whole
   photo, not zoomed, and cuts its own corners the same way: the dark outline, the photo and the red block behind it */
.bc-photo { --cut: 18%; position: relative; display: block; aspect-ratio: 1; padding: 1px; background: var(--ink); clip-path: polygon(var(--cut) 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, var(--cut) 100%, 0 calc(100% - var(--cut)), 0 var(--cut)); }
.brian-cut::before { --cut: 18%; content: ""; position: absolute; left: 10px; top: 14px; width: 100%; aspect-ratio: 1; background: var(--chalk); clip-path: polygon(var(--cut) 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, var(--cut) 100%, 0 calc(100% - var(--cut)), 0 var(--cut)); }
.bc-photo img { display: block; width: 100%; height: 100%; object-fit: cover; clip-path: polygon(var(--cut) 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, var(--cut) 100%, 0 calc(100% - var(--cut)), 0 var(--cut)); --cut: 17.6%; transition: transform 1.2s var(--ease); }
.brian-cut:hover .bc-photo img { transform: scale(1.04); }
.brian-cut figcaption { position: absolute; left: -18px; bottom: -14px; display: grid; gap: 2px; padding: 8px 12px 9px; background: var(--ink); color: var(--paper);
  font: 500 10.5px/1.35 var(--mono); letter-spacing: .06em; text-transform: uppercase; }
.brian-cut figcaption b { font: 600 14px/1.2 var(--sans); letter-spacing: -.005em; text-transform: none; }
.brian-cut figcaption span { color: rgba(242, 241, 236, .7); }
.about-mission { display: grid; gap: 14px; }
.about-mission h2.stagger-k + .mission { margin-top: 6px; }
.about-mission .mission { margin: 0; font: 500 17px/1.6 var(--sans); color: var(--ink); }
:is(.about-mission, .svc-scope) .our-words { margin-top: 10px; padding: 26px 28px 22px; gap: 14px; overflow: hidden; }
:is(.about-mission, .svc-scope) .our-words .mono { margin: 0; color: #ff7a80; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }
:is(.about-mission, .svc-scope) .our-q { margin: 0; font: 500 17px/1.55 var(--sans); color: var(--paper); }
/* the card's motion: a red bar draws down its edge, the quote mark drops in, then the words rise (motion.js data-split) */
:is(.about-mission, .svc-scope) .our-words::after { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--chalk); transform-origin: 50% 0; }
.js :is(.about-mission, .svc-scope) .our-words::after { transform: scaleY(0); transition: transform .9s cubic-bezier(.65, 0, .25, 1) .2s; }
.js :is(.about-mission, .svc-scope) .our-words::before { opacity: 0; transform: translateY(-24px) scale(.6); transition: opacity .5s ease .35s, transform .8s cubic-bezier(.2, .75, .15, 1.4) .35s; }
.js :is(.about-mission, .svc-scope) .our-words:has(.our-q.in)::after { transform: none; }
.js :is(.about-mission, .svc-scope) .our-words:has(.our-q.in)::before { opacity: .9; transform: none; }
:is(.about-mission, .svc-scope) .our-words::before { right: 18px; top: 4px; font-size: 96px; }
@media (max-width: 1100px) { [data-page="about"] .hero.sub.has-side .sub-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 520px) {
  .brian-cut { width: 138px; margin: 4px 6px 16px 18px; }
  .brian-cut::before { left: 6px; top: 8px; }
  .brian-cut figcaption { position: static; margin-top: 10px; padding: 7px 10px 8px; }
}
[data-page="about"] .page-wrap.solo { grid-template-columns: minmax(0, 1240px); padding-top: 8px; }
[data-page="about"] .prose { max-width: none; }
[data-page="about"] .prose > * + * { margin-top: 0; }
.about-traits { margin-top: 0 !important; }
.about-traits li { padding: 22px 22px 24px; }
.about-traits b { font-size: 20px; }
.about-traits span { font-size: 16px; }
.stagger, .lic-row, .about-sec { margin-top: clamp(56px, 7vw, 96px) !important; padding-top: 28px; border-top: 1px solid var(--line); }
.stagger { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px clamp(36px, 5vw, 80px); align-items: start; }
.stagger-col { display: grid; gap: 16px; align-content: start; }
.prose .stagger-col h2, .prose .lic-row h2, .prose .about-sec h2 { margin: 0; padding: 0; border: 0; font-size: clamp(26px, 2.3vw, 34px); line-height: 1.1; }
.stagger-k { display: flex; align-items: center; gap: 10px; margin: 0; color: var(--muted); font-size: 13px; letter-spacing: .12em; text-transform: uppercase; }
.stagger-k b { display: inline-grid; place-items: center; min-width: 30px; height: 30px; padding: 0 6px; border-radius: 999px; background: var(--chalk); color: #fff; font-weight: 600; letter-spacing: 0; }
.kind-words.stacked { grid-template-columns: minmax(0, 1fr); gap: 14px; margin-top: 0; }
.kind-words.stacked figure { border-left: 3px solid var(--chalk); }
[data-page="about"] .prose > .stats { margin-top: clamp(56px, 7vw, 96px) !important; }
.prose .mission { font: 500 clamp(20px, 1.7vw, 25px)/1.5 var(--sans); letter-spacing: -.012em; color: var(--ink); }
.our-words { position: relative; display: grid; gap: 16px; align-content: center; height: 100%; margin: 0; padding: clamp(28px, 3.4vw, 46px); background: var(--ink); color: var(--paper); }
.our-words::before { content: "“"; position: absolute; right: 24px; top: 6px; font: 700 110px/1 var(--sans); color: var(--chalk); opacity: .9; }
.prose .our-words .mono { margin: 0; color: #ff7a80; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; }
.prose .our-words .our-q { margin: 0; font: 500 clamp(18px, 1.5vw, 22px)/1.5 var(--sans); color: var(--paper); }
.our-words figcaption { padding-top: 14px; border-top: 1px solid rgba(242, 241, 236, .2); font: 500 13px/1.4 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: rgba(242, 241, 236, .65); }
.lic-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px clamp(36px, 5vw, 80px); align-items: start; }
.lic-row-copy { display: grid; gap: 16px; }
.prose .lic-row-card .lic-flip { margin-top: 0; }
.about-sec { display: grid; gap: 16px; }
.prose .about-sec > p:not(.stagger-k) { max-width: 70ch; }
@media (max-width: 900px) {
  .stagger, .lic-row { grid-template-columns: minmax(0, 1fr); }
}

/* About, the numbers: the license figure's small button opens the license popup, as the license in the top bar does */
.stats .stat-lic { position: relative; }
.stat-lic-btn { position: absolute; top: 12px; right: 12px; display: inline-flex; align-items: center; gap: 5px; padding: 5px 8px; border: 1px solid rgba(255, 255, 255, .35);
  background: transparent; color: #fff; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; cursor: pointer; transition: background .2s, border-color .2s; }
.stat-lic-btn:hover, .stat-lic-btn:focus-visible { background: var(--chalk); border-color: var(--chalk); }
.stat-lic-btn i { font-style: normal; }
.stat-lic-btn { justify-content: center; width: 30px; height: 30px; padding: 0; font-size: 15px; letter-spacing: 0; }   /* a small square with the arrow, clear of the number */

/* Services, under the jobs (19 Nov 2026): laid out like About. No license card beside the text; the text runs the
   page's width, on the same edges as the heading and the jobs; 01 | 02 side by side, then the scope in a dark card
   whose words rise in, as About's "in our own words" */
[data-page="services"] .page-wrap.solo { grid-template-columns: minmax(0, 1fr); max-width: none; padding-top: 0; }
[data-page="services"] .prose { max-width: none; }
[data-page="services"] .prose > * + * { margin-top: 0; }
.svc-scope { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px clamp(36px, 5vw, 80px);   /* the same columns as 01 | 02 above */
  align-items: stretch; margin-top: clamp(40px, 5vw, 64px) !important; }
.svc-scope .kind-words, .svc-scope .kind-words figure { height: 100%; }   /* a customer's words beside the scope, the same height */
@media (max-width: 900px) { .svc-scope { grid-template-columns: minmax(0, 1fr); } }
.svc-scope .our-words { margin-top: 0; padding: clamp(28px, 3.4vw, 44px) clamp(28px, 4vw, 56px); }
.prose .svc-scope h2.mono { margin: 0; padding: 0 64px 0 0; border: 0; color: #ff7a80; font: 500 12px/1.3 var(--mono); letter-spacing: .12em; text-transform: uppercase; }
.svc-scope .our-q { max-width: none; font-size: clamp(18px, 1.5vw, 21px) !important; line-height: 1.45 !important; }
[data-page="services"] .prose > .stagger:first-child { margin-top: clamp(36px, 4vw, 56px) !important; padding-top: 0; border-top: 0; }   /* the jobs' own rule is right above it */

/* ---- the phone menu, again (19 Nov 2026): a dark drafting sheet wipes down under the header; numbered rows rise in
   one after another, the page you are on in chalk; under them the towns as chips, where and when, and the license */
.menu-open .nav { background: var(--paper); border-color: var(--line); }
.phone-menu { justify-content: flex-start; gap: 0; overflow-y: auto; padding-bottom: 96px; color: var(--paper);
  background: var(--ink) linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px) 0 0 / 28px 28px,
              linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px) 0 0 / 28px 28px;
  background-color: var(--ink); clip-path: inset(0 0 100% 0); transition: clip-path .55s cubic-bezier(.65, 0, .25, 1), visibility .55s; opacity: 1; }
.menu-open .phone-menu { clip-path: inset(0); }
.pm-links { display: grid; margin-top: 18px; border-top: 1px solid rgba(255, 255, 255, .14); }
.phone-menu .pm-links a { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; align-items: center; padding: 18px 2px;
  border-bottom: 1px solid rgba(255, 255, 255, .14); color: var(--paper); font: 600 32px/1.1 var(--sans); font-stretch: 108%; letter-spacing: -.025em;
  opacity: 0; transform: translateY(18px); transition: opacity .45s ease, transform .6s cubic-bezier(.2, .75, .15, 1), color .2s; }
.pm-links a small { font: 500 13px/1 var(--mono); letter-spacing: .08em; color: #ff7a80; }
.pm-links a i { font-style: normal; font-size: 22px; color: var(--chalk); transition: transform .3s var(--ease); }
.pm-links a:hover i, .pm-links a:focus-visible i { transform: translate(3px, -3px); }
.pm-links a[aria-current] { color: #ff7a80; }
.pm-links a[aria-current] small { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 999px; background: var(--chalk); color: #fff; letter-spacing: 0; }
.menu-open .pm-links a { opacity: 1; transform: none; }
.menu-open .pm-links a:nth-child(1) { transition-delay: .18s; } .menu-open .pm-links a:nth-child(2) { transition-delay: .25s; }
.menu-open .pm-links a:nth-child(3) { transition-delay: .32s; } .menu-open .pm-links a:nth-child(4) { transition-delay: .39s; }
.pm-foot { display: grid; gap: 12px; margin-top: 30px; opacity: 0; transition: opacity .5s ease; }
.menu-open .pm-foot { opacity: 1; transition-delay: .5s; }
.pm-k { margin: 0; font: 500 12px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: rgba(242, 241, 236, .55); }
.pm-towns { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.pm-towns li { padding: 6px 10px; border: 1px solid rgba(255, 255, 255, .2); font: 500 13px/1 var(--sans); color: var(--paper); }
.pm-meta { margin: 6px 0 0; font: 400 13px/1.5 var(--mono); color: rgba(242, 241, 236, .6); }
.pm-lic { justify-self: start; display: inline-flex; align-items: center; gap: 8px; padding: 9px 12px; border: 1px solid rgba(255, 255, 255, .3); background: none;
  color: var(--paper); font: 500 12px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; cursor: pointer; }
.pm-lic i { font-style: normal; color: var(--chalk); }
.pm-lic:hover, .pm-lic:focus-visible { border-color: var(--chalk); }
@media (prefers-reduced-motion: reduce) { .phone-menu, .phone-menu .pm-links a, .pm-foot { transition: none; } }
/* nothing may widen a phone's page sideways (the ticket's stamp, waiting at 1.7x before a request is sent, hung 25px
   past the edge and made every page 413px wide on a 390px phone, cutting off the right side) */
html, body { overflow-x: clip; }
/* phones and small tablets (19 Nov): the facts, then the drawings, open the page, above the heading (moved by CSS only, so the heading
   stays first in the page's source) */
@media (max-width: 1024px) {
  .hero-grid { row-gap: 22px; }
  .hero-grid .hero-copy { display: contents; }   /* its parts line up in the one column, so the facts can go first */
  .hero-grid .specs { order: -3; }
  .hero-grid .hero-kicker { order: -2; }   /* "Measured twice, built once" between the facts and the drawings, a red line each side */
  .hero-grid .hero-art { order: -1; }
  .hero-kicker { display: flex; align-items: center; gap: 14px; white-space: nowrap; }
  .hero-kicker .rule { flex: 1; min-width: 20px; max-width: 64px; margin: 0; }
  .hero-kicker::after { content: ""; flex: 1; min-width: 20px; max-width: 64px; height: 1px; margin: 0; background: currentColor; opacity: .5; }
  .hero-grid .site-card { justify-self: start; }
}
/* on a phone the five drawing buttons are smaller, so they sit on two lines (three, then two) */
@media (max-width: 720px) {
  .headline { font-size: clamp(24px, 6.6vw, 28px); line-height: 1.12; }   /* the heading a step smaller on a phone */
  .scene-nav { gap: 6px; }
  .scene-nav button { gap: 6px; padding: 7px 9px; font-size: 12px; letter-spacing: .06em; }
}
/* the home page's "by the numbers" is too much on a phone (19 Nov): shown on tablets and desktops only */
@media (max-width: 720px) { .numbers { display: none; } }
/* the answers' heading (19 Nov): "Straight answers, no sales pitch" on one line, a line before it and after it */
.answers .sec-head > .ans-k { display: flex; align-items: center; gap: 14px; white-space: nowrap;
  font: 500 14px/1.5 var(--mono); font-stretch: normal; letter-spacing: .06em; }   /* the section's h2, set as its small label ("Before you call anyone" is gone) */
.ans-k .rule { flex: 0 1 64px; min-width: 16px; margin: 0; }
.ans-k::after { content: ""; flex: 0 1 64px; min-width: 16px; height: 1px; margin: 0; background: currentColor; opacity: .5; }
@media (max-width: 400px) { .answers .sec-head > .ans-k { gap: 10px; font-size: 12px; } }

/* every label with a line before it has one after it too (19 Nov 2026). Zero specificity, so the labels already
   given their own pair (the home kicker and answers on phones, the inner pages' heading label) keep theirs */
:where(.mono:has(> .rule:first-child))::after { content: ""; display: inline-block; width: 64px; height: 1px; margin-left: 14px;
  background: currentColor; vertical-align: middle; opacity: .5; }
/* Services heading on a phone (19 Nov): justified, every line flush to both edges but the last; sized to the screen so
   the lines break the same way on a narrow phone (no wide gaps) */
@media (max-width: 720px) { [data-page="services"] .hero.sub .page-h1 { font-size: clamp(18px, 5.4vw, 26px); text-align: justify; text-wrap: wrap; hyphens: none; } }

/* Contact (23 Nov 2026): the heading rides at the top beside the photo, with the number to call and the hours right under
   it; no license card, so the text runs one column */
[data-page="contact"] .hero.sub.has-photo .sub-grid { align-items: start; margin-top: 0; }
[data-page="contact"] .hero.sub { padding-bottom: 40px; }
[data-page="contact"] .sub-more { margin-top: 28px; }
[data-page="contact"] .ct-now { grid-template-columns: repeat(2, minmax(0, 1fr)); }
[data-page="contact"] .ct-now > div { border-bottom: 0; }
[data-page="contact"] .ct-now p { font-size: 18px; }
[data-page="contact"] .ct-now p a { font-size: 22px; font-weight: 600; }
@media (max-width: 520px) {
  [data-page="contact"] .ct-now { grid-template-columns: minmax(0, 1fr); }
  [data-page="contact"] .ct-now > div { border-right: 0; }
  [data-page="contact"] .ct-now > div:first-child { border-bottom: 1px solid var(--line); }
}

/* Contact (23 Nov 2026): no photo; the map of the towns sits beside the heading, and opens with a burst out of Cary */
@media (min-width: 1101px) { [data-page="contact"] .hero.sub.has-side .sub-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 4vw, 72px); } }
[data-page="contact"] .ct-now p { text-wrap: balance; }
[data-page="contact"] .sub-side { display: grid; gap: 12px; }
.sub-side .tm-cap { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 12px; min-height: 54px; margin: 0; padding: 12px 14px; border-top: 1px solid var(--ink); }
.sub-side ul.town-chips { display: flex; flex-wrap: wrap; gap: 4px; margin: 0; padding: 0; list-style: none; }
.sub-side ul.town-chips > li { padding: 0; border: 1px solid var(--line); background: #fff; }
.sub-side .town-chips button { padding: 8px 12px; font-size: 15px; }
.tm-beam { fill: none; stroke: var(--chalk); stroke-width: 2; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.tm-spark { fill: var(--chalk); opacity: 0; }
.tm-spark-glow { fill: var(--chalk); opacity: 0; filter: blur(4px); }
.tm-spark.go { opacity: 1; }
.tm-spark-glow.go { opacity: .45; }
.tm-burst { transition: opacity 1.2s ease; }
.tm-burst.fade { opacity: 0; }
.tm-town.base.blast .tm-ring { animation: tm-blast .9s ease-out 2; }
.tm-town.base.blast .tm-dot { fill: var(--chalk); stroke: var(--chalk); }
@keyframes tm-blast { 0% { opacity: 1; transform: scale(.6); } 100% { opacity: 0; transform: scale(3.4); } }
.tm-town.hit .tm-ring { animation: tm-hit .9s ease-out; }
.tm-town.hit .tm-dot { fill: var(--chalk); stroke: var(--chalk); transition: none; }
.pt-svg .tm-town.hit .tm-name { fill: var(--chalk); }
@keyframes tm-hit { 0% { opacity: 1; transform: scale(.4); } 100% { opacity: 0; transform: scale(2.6); } }
/* the map fits in the window with its caption and town buttons: about 480px wide, less on a short screen */
@media (min-width: 1101px) {
  [data-page="contact"] .hero.sub.has-side .sub-grid { grid-template-columns: minmax(0, 1fr) auto; }
  [data-page="contact"] .sub-side { width: clamp(340px, calc((100svh - 400px) * 480 / 440), 480px); }
}

/* Contact: one table of the contact details, small, with the open/closed sign and the week beside it */
[data-page="contact"] .sub-more { max-width: none; }
.ct-board { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; align-items: start; }
[data-page="contact"] .ct-board .ct-now { grid-template-columns: minmax(0, 1fr); }
[data-page="contact"] .ct-board .ct-now > div { padding: 11px 16px 12px; border-right: 0; border-bottom: 1px solid var(--line); }
[data-page="contact"] .ct-board .ct-now > div:last-child { border-bottom: 0; }
[data-page="contact"] .ct-board .ct-now h3 { margin-bottom: 3px; font-size: 12px; }
[data-page="contact"] .ct-board .ct-now p { font-size: 15px; line-height: 1.4; }
[data-page="contact"] .ct-board .ct-now p a { font-size: 17px; font-weight: 600; }
.ct-board .hours-sign { grid-template-columns: minmax(0, 1fr); gap: 10px; padding: 12px 16px 10px; }
.ct-board .hs-hang { padding-top: 30px; }
.ct-board .hs-hang::before { width: 120px; height: 24px; }
.ct-board .hs-board { width: 168px; height: 80px; }
.ct-board .hs-face { font-size: 28px; }
.ct-board .hs-face small { font-size: 12px; }
.ct-board .hs-info { gap: 6px; }
.ct-board .hs-info > .mono { font-size: 12px; }
.ct-board .hs-now { font: 600 15px/1.3 var(--sans); }
.ct-board ul.hs-week { display: grid; margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.ct-board ul.hs-week > li { display: flex; justify-content: space-between; gap: 12px; padding: 3px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.ct-board ul.hs-week > li::before { display: none; }
@media (max-width: 640px) { .ct-board { grid-template-columns: minmax(0, 1fr); } }

/* Contact: the open/closed sign is a ribbon across the hours box's top corner, not a hanging board; a tap (or the hour
   changing) sends a shine across it in place of the swing */
.ct-board .hours-sign { position: relative; display: block; overflow: hidden; padding: 16px 16px 10px; }
.ct-board .hs-hang { position: absolute; inset: 0 0 auto auto; width: 150px; height: 150px; padding: 0; pointer-events: none; transform: none; }
.ct-board .hs-hang::before, .ct-board .hs-nail { display: none; }
.ct-board .hs-hang.swing { animation: none; }
.ct-board .hs-board { position: absolute; top: 22px; right: -44px; width: 170px; height: 26px; transform: rotate(45deg); pointer-events: auto; perspective: 500px; }
.ct-board .hs-face { display: flex; align-items: center; justify-content: center; gap: 6px; overflow: hidden; border-width: 0; font: 700 13px/1 var(--sans); letter-spacing: .02em;
  box-shadow: 0 6px 14px -8px rgba(17, 17, 16, .7); }
.ct-board .hs-face small { font-size: 9px; opacity: .85; }
.ct-board .hs-face::after { content: ""; position: absolute; inset: 0 auto 0 -40%; width: 30%; transform: skewX(-20deg);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .45), transparent); opacity: 0; }
.ct-board .hs-hang.swing .hs-face::after { animation: hs-shine 1s ease-out; }
@keyframes hs-shine { 0% { left: -40%; opacity: 1; } 100% { left: 120%; opacity: 1; } }
.ct-board .hs-info { padding-top: 2px; }
.ct-board .hs-info::before { content: "Hours"; display: block; margin-bottom: 8px; font: 500 12px/1.4 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.ct-board ul.hs-week { margin-top: 50px; }
/* Contact: the details and the hours fill the column up to the map, on a wide screen too */
[data-page="contact"] .hero.sub .sub-copy { max-width: none; }
[data-page="contact"] .page-wrap { display: none; }   /* everything on Contact is up in its heading section now */

/* Contact (23 Nov 2026): one even gap between the details, the hours and the map; a phone and a mail mark, and a Copy
   button for the email address (not everyone has a mail program set up) */
.ct-board { gap: 24px; }
@media (min-width: 1101px) { [data-page="contact"] .hero.sub.has-side .sub-grid { gap: 24px; } }
.ct-now p:has(> a) { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
.ct-now p > a:has(.ct-ico) { display: inline-flex; align-items: center; gap: 9px; }
.ct-ico { flex: 0 0 auto; width: 18px; height: 18px; fill: none; stroke: var(--chalk); stroke-width: 1.8; stroke-linejoin: round; stroke-linecap: round; }
.ct-copy { display: inline-flex; align-items: center; gap: 5px; padding: 4px 8px; border: 1px solid var(--line); background: var(--paper); color: var(--muted);
  font: 500 11px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; cursor: pointer; transition: color .2s, border-color .2s, background .2s; }
.ct-copy svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; stroke-linecap: round; }
.ct-copy:hover { color: var(--chalk); border-color: var(--chalk); }
.ct-copy.done { color: #fff; background: var(--chalk); border-color: var(--chalk); }
.ct-copy:focus-visible { outline: 2px solid var(--chalk); outline-offset: 2px; }

/* 23 Nov 2026: Home's and Contact's headings at the Services heading's size (22px, up to 32px on a wide screen, 18 to 26px
   on a phone); they were far larger than they needed to be */
.headline, [data-page="contact"] .hero.sub .page-h1 { font-size: 22px; line-height: 1.25; letter-spacing: -.015em; }
@media (min-width: 1200px) { .headline, [data-page="contact"] .hero.sub .page-h1 { font-size: min(1.68vw, 32px); } }
@media (max-width: 720px) { .headline, [data-page="contact"] .hero.sub .page-h1 { font-size: clamp(18px, 5.4vw, 26px); } }

/* 23 Nov 2026: one size for every page's heading, the Services page's (22px, up to 32px on a wide screen, 18 to 26px on
   a phone). Nothing is bigger. The About page's heading is its small "01 Who we are" label, so it keeps its own */
body:not([data-page="about"]) .hero.sub .page-h1 { font-size: 22px; line-height: 1.25; letter-spacing: -.015em; }
@media (min-width: 1200px) { body:not([data-page="about"]) .hero.sub .page-h1 { font-size: min(1.68vw, 32px); } }
@media (max-width: 720px) { body:not([data-page="about"]) .hero.sub .page-h1 { font-size: clamp(18px, 5.4vw, 26px); } }

/* Whole-home: the room-by-room planner up beside the heading, in place of the drawing */
.hp-side { display: grid; gap: 10px; }
.hp-side > h2 { font: 600 clamp(20px, 1.6vw, 24px)/1.15 var(--sans); letter-spacing: -.02em; }
.hp-side > p { font-size: 15px; line-height: 1.5; color: var(--muted); }
/* the headings inside a heading section sit a step under the page's own heading, never over it */
.sub-more h2, .hp-side > h2 { font-size: 18px; line-height: 1.25; letter-spacing: -.01em; }

/* 23 Nov 2026: the planner preview (kitchen and bathroom pages) in the page's own paper and hairlines, not a black slab;
   the plan, the moving pointer and the red accents are as they were, only quieter around them */
.bdemo { background: #fff; color: var(--ink); border: 1px solid var(--line); box-shadow: 0 30px 60px -48px rgba(17, 17, 16, .45); }
.bdemo-top { padding: 9px 14px; color: var(--muted); background: var(--paper); border-bottom: 1px solid var(--line); }
.bdemo-foot { gap: 10px; padding: 12px 16px 14px; background: var(--paper); border-top: 1px solid var(--line); }
.bdemo-cap { min-height: 0; font-size: 15px; color: var(--ink); }
.bdemo-bar { background: var(--line); }
.bdemo .bp-mode { border-color: var(--line); }
.bdemo .bp-mode button + button { border-left-color: var(--line); }
.bdemo .bp-mode button[aria-pressed="true"] { background: var(--paper); color: var(--ink); box-shadow: inset 0 -2px 0 var(--chalk); }
.bdemo .bp-mode button[aria-pressed="true"] small { color: var(--chalk); }
.bdemo .bp-q button[aria-pressed="true"] { background: rgba(211, 32, 42, .07); border-color: var(--chalk); color: var(--chalk); }
.bdemo-try { gap: 9px; padding: 11px 18px 11px 14px; font-size: 15px; background: rgba(211, 32, 42, .92);
  box-shadow: 0 14px 28px -14px rgba(211, 32, 42, .6), 0 0 0 3px rgba(255, 255, 255, .85); }
.bdemo-try svg { width: 19px; height: 19px; }
@keyframes bdemo-ring { 0% { box-shadow: 0 0 0 0 rgba(211, 32, 42, .35); } 80%, 100% { box-shadow: 0 0 0 16px rgba(211, 32, 42, 0); } }
.bdemo { border-color: #8a8a84; }   /* a darker gray edge, so the planner reads as one piece on the page */
.bdemo { border-color: #8a8a84; }   /* a darker gray edge, so the preview reads as one piece on the paper */

/* Kitchen (23 Nov 2026): no license card, so the text takes the page's width; under the three bands, what moves a kitchen
   from band to band sits on the left and how long it takes on the right, their headings level and the same size */
[data-page="kitchen-remodeling"] .page-wrap.solo { grid-template-columns: minmax(0, 1240px); }
.kx-split { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 14px clamp(32px, 4vw, 72px); align-items: start; margin-top: 34px; }
.kx-col { min-width: 0; }
.prose .kx-split h2, .prose .kx-split h3 { margin: 0 0 12px; font-size: clamp(20px, 1.6vw, 24px); line-height: 1.2; letter-spacing: -.02em; }
.kx-time { padding: 20px 22px; background: #fff; border: 1px solid var(--line); }
@media (max-width: 860px) { .kx-split { grid-template-columns: minmax(0, 1fr); } }
[data-page="kitchen-remodeling"] .page-wrap.solo .prose { max-width: none; }

/* Whole-home (23 Nov 2026): everything up in the heading section. What it costs and how long it takes are two cards,
   set apart: cost on white with a red rule along its top, time on the darker paper with a red bar down its side */
[data-page="whole-home-renovation"] .page-wrap { display: none; }
.wh-facts { display: grid; gap: 14px; margin-top: 10px; }
.wh-card { position: relative; display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 4px 14px; padding: 18px 20px 20px; }
.wh-card > h2, .wh-card > p { grid-column: 2; }
.wh-card .wh-ico { grid-row: 1 / span 2; width: 30px; height: 30px; padding: 5px; fill: none; stroke: var(--chalk); stroke-width: 1.7; stroke-linejoin: round; stroke-linecap: round; }
.sub-more .wh-card > h2 { margin: 3px 0 0; font-size: 17px; }
.sub-more .wh-card > p { font-size: 15px; line-height: 1.55; color: var(--muted); }
.wh-cost { background: #fff; border: 1px solid var(--line); box-shadow: inset 0 3px 0 var(--chalk); }
.wh-cost .wh-ico { border: 1px solid var(--line); border-radius: 50%; }
.wh-time { background: var(--paper-2, #e9e7df); border-left: 3px solid var(--chalk); }
.wh-time .wh-ico { background: #fff; border-radius: 50%; }

/* Whole-home planner (23 Nov 2026): the same shell as the bathroom and kitchen planners, with a preview that plays */
.hplan .bp-top { align-items: center; }
.hplan .hp-title { margin: 0 auto 0 0; color: var(--muted); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }
.hplan .hp-brush { display: flex; flex-wrap: wrap; gap: 6px; }
.hplan .hp-brush > .mono { flex-basis: 100%; }
.hplan .hp-brush .hp-key { display: inline-grid; place-items: center; width: 18px; height: 18px; margin-right: 4px; border: 1px solid currentColor; font: 600 12px/1 var(--sans); vertical-align: -3px; }
.hplan .hp-brush button[aria-pressed="true"] .hp-key { background: var(--chalk); border-color: var(--chalk); color: #fff; }
.hplan .pt-read { margin: 0; }
.bdemo .hplan .bp-picks .pt-read, .bdemo .hplan .bp-hint, .bdemo .hplan .hp-acts { display: none; }
@media (min-width: 761px) { .bplan.hplan.is-full .bp-grid { grid-template-columns: minmax(0, 1.6fr) minmax(320px, 1fr); } }   /* a phone keeps the plan on top, the choices under it */
.hp-side { display: grid; gap: 10px; }
.bdemo .hplan .bp-top { display: none; }   /* the preview has its own title bar */

/* Whole-home planner: the note over the plan as full screen opens */
.hp-intro { position: absolute; left: 50%; top: 50%; z-index: 6; width: min(420px, calc(100% - 32px)); display: grid; gap: 10px; padding: 22px 24px 20px;
  background: #fff; border: 1px solid #8a8a84; border-top: 3px solid var(--chalk); box-shadow: 0 30px 60px -30px rgba(17, 17, 16, .55);
  transform: translate(-50%, calc(-50% + 10px)); opacity: 0; transition: opacity .3s ease, transform .3s var(--ease); }
.hp-intro.on { opacity: 1; transform: translate(-50%, -50%); }
.hp-intro h2 { margin: 0; font: 600 20px/1.2 var(--sans); letter-spacing: -.02em; }
.hp-intro p { margin: 0; font-size: 15px; line-height: 1.55; color: var(--muted); }
.hp-intro .btn { justify-self: start; padding: 11px 20px; border: 0; cursor: pointer; }
.hplan .pt-paper { position: relative; }

/* Decks and porches (23 Nov 2026): the sun study and the deck size beside the heading, one at a time, behind two tabs;
   the panel turns over like a card when the tab changes */
.dk-flip { display: grid; gap: 12px; perspective: 1400px; }
.dk-tabs { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid #8a8a84; background: #fff; }
.dk-tabs button { display: grid; gap: 3px; padding: 10px 16px 11px; border: 0; background: #fff; color: var(--ink); font: 600 15px/1.2 var(--sans); text-align: left; cursor: pointer;
  transition: background .2s, box-shadow .2s; }
.dk-tabs button + button { border-left: 1px solid var(--line); }
.dk-tabs button small { font: 500 11px/1 var(--mono); letter-spacing: .1em; color: var(--chalk); }
.dk-tabs button[aria-selected="true"] { background: var(--paper); box-shadow: inset 0 -3px 0 var(--chalk); }
.dk-tabs button:hover { background: var(--paper); }
.dk-tabs button:focus-visible { outline: 2px solid var(--chalk); outline-offset: -2px; }
.dk-panel { display: grid; gap: 10px; transform-origin: 50% 50%; }
.dk-panel > h2 { margin: 0; font: 600 18px/1.25 var(--sans); letter-spacing: -.01em; }
.dk-panel .dk-lede { margin: 0; font-size: 15px; line-height: 1.5; color: var(--muted); }
.dk-panel.is-on { animation: dk-turn .6s var(--ease); }
@keyframes dk-turn { from { opacity: 0; transform: rotateY(-14deg) translateX(18px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .dk-panel.is-on { animation: none; } }
.dk-flip .plan-tool { margin: 0; background: #fff; border-color: #8a8a84; }

/* Decks and porches (23 Nov 2026): the deck planner, on the shared planner shell, with its preview beside the heading */
.dplan .bp-top { align-items: center; }
.dplan .hp-title { margin: 0 auto 0 0; color: var(--muted); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }
.bdemo .dplan .bp-top, .bdemo .dplan .pt-read, .bdemo .dplan .hp-acts, .bdemo .dplan .bp-out { display: none; }
.dplan .ds-sliders { margin: 2px 0; }
.ds-edge { fill: none; stroke: var(--ink); stroke-width: 1.4; }
.ds-screen { fill: none; stroke: var(--ink); stroke-width: 2.4; stroke-dasharray: 2 3; }
.ds-roof { fill: none; stroke: var(--chalk); stroke-width: 1.3; stroke-dasharray: 7 5; }
.pt-svg .ds-roof-t { fill: var(--chalk); font-size: 11px; }
@media (min-width: 761px) { .bplan.dplan.is-full .bp-grid { grid-template-columns: minmax(0, 1.5fr) minmax(320px, 1fr); } }   /* a phone keeps the plan on top, the choices under it */

/* Kitchen planner (23 Nov 2026): the island's length and depth, under the island choice */
.bp-isz { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 18px; padding: 10px 12px 12px; background: var(--paper); border-left: 3px solid var(--chalk); }
.bp-isz[hidden] { display: none; }
.bp-isz .pt-range .mono { font-size: 11px; }
@media (max-width: 520px) { .bp-isz { grid-template-columns: minmax(0, 1fr); } }

/* Decks and porches (23 Nov 2026): under the heading, the sun study on the left; on the right what it costs, how long
   it takes and the rest of the backyard, each its own card so the page reads as pieces, not a run of text */
[data-page="decks-and-porches"] .page-wrap.solo { grid-template-columns: minmax(0, 1240px); }
[data-page="decks-and-porches"] .page-wrap.solo .prose { max-width: none; }
.dk-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px clamp(28px, 3.5vw, 56px); align-items: start; }
.dk-col { display: grid; gap: 14px; min-width: 0; }
.dk-col > * { margin: 0 !important; }
.prose .dk-split h2 { margin: 0; padding: 0; border: 0; font-size: clamp(20px, 1.7vw, 24px); line-height: 1.2; letter-spacing: -.02em; }
.prose .dk-split h3 { margin: 6px 0 0; font-size: 17px; }
.dk-sun { position: sticky; top: 24px; }
.dk-sun > p { font-size: 15px; line-height: 1.55; color: var(--muted); }
.dk-sun .plan-tool { background: #fff; border-color: #8a8a84; }
.dk-info { gap: 18px; }
.dk-card { position: relative; display: grid; gap: 10px; padding: 22px 24px 24px; }
.dk-card > * { margin: 0 !important; }
.dk-card p, .dk-card li { font-size: 15px; line-height: 1.6; }
.dk-cost { background: #fff; border: 1px solid var(--line); box-shadow: inset 0 3px 0 var(--chalk); }
.dk-cost .bands { grid-template-columns: minmax(0, 1fr); border-color: var(--line); }
.dk-cost .bands > section { display: grid; grid-template-columns: 82px minmax(0, 1fr); gap: 2px 14px; padding: 12px 14px; border-right: 0; border-bottom: 1px solid var(--line); }
.dk-cost .bands > section:last-child { border-bottom: 0; }
.dk-cost .bands > section > .mono { grid-row: 1 / span 2; flex-direction: column; align-items: flex-start; gap: 8px; }
.dk-cost .bands > section > .mono::after { width: 40px; }
.dk-cost .bands h3 { margin: 0 !important; font-size: 16px; }
.dk-cost .bands p:not(.mono) { font-size: 14px; }
.dk-time, .dk-yard { grid-template-columns: 34px minmax(0, 1fr); gap: 6px 14px; }
.dk-time > :not(.dk-ico), .dk-yard > :not(.dk-ico) { grid-column: 2; }
.dk-ico { grid-row: 1 / span 2; width: 32px; height: 32px; padding: 6px; border-radius: 50%; fill: none; stroke: var(--chalk); stroke-width: 1.7; stroke-linejoin: round; stroke-linecap: round; }
.dk-time { background: var(--paper-2, #e9e7df); border-left: 3px solid var(--chalk); }
.dk-time .dk-ico { background: #fff; }
.dk-yard { background: #fff; border: 1px dashed #8a8a84; }
.dk-yard .dk-ico { border: 1px solid var(--line); }
@media (max-width: 960px) { .dk-split { grid-template-columns: minmax(0, 1fr); } .dk-sun { position: static; } }

/* Services, whole-home (23 Nov 2026): in place of the drawing, the whole-home planner at work, and a call to use it */
.sxb-plan { display: block; background-color: var(--paper); text-decoration: none; color: var(--ink); }
.sxb-plan .wa-anim { position: absolute; inset: 0; width: 100%; height: 100%; padding: 18px 18px 92px; box-sizing: border-box; }
.sxb-plan-cta { position: absolute; left: 18px; right: 18px; bottom: 16px; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 2px 16px;
  padding: 12px 16px; background: #fff; border: 1px solid #8a8a84; border-left: 3px solid var(--chalk); box-shadow: 0 14px 30px -20px rgba(17, 17, 16, .5); }
.sxb-plan-cta small { grid-column: 1; font: 500 11px/1.2 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--chalk); }
.sxb-plan-cta b { grid-column: 1; font: 600 clamp(15px, 1.25vw, 18px)/1.25 var(--sans); letter-spacing: -.01em; }
.sxb-plan-cta i { grid-column: 2; grid-row: 1 / span 2; padding: 10px 14px; background: var(--chalk); color: #fff; font: 600 13px/1 var(--sans); font-style: normal; letter-spacing: .04em; text-transform: uppercase; white-space: nowrap; transition: background .2s; }
.sxb-plan:hover .sxb-plan-cta i { background: #b8141e; }
.sxb-plan:focus-visible { outline: 2px solid var(--chalk); outline-offset: -4px; }
@media (max-width: 560px) { .sxb-plan .wa-anim { padding-bottom: 110px; } .sxb-plan-cta { grid-template-columns: minmax(0, 1fr); } .sxb-plan-cta i { grid-column: 1; grid-row: auto; justify-self: start; margin-top: 6px; } }

/* Flooring (23 Nov 2026): the room counter as a planner on the shared shell, with its preview beside the heading */
.fplan .bp-top { align-items: center; }
.fplan .hp-title { margin: 0 auto 0 0; color: var(--muted); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }
.bdemo .fplan .bp-top, .bdemo .fplan .bp-hint, .bdemo .fplan .bp-out, .bdemo .fplan .pt-note { display: none; }
.fplan .fp-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto auto; padding: 8px 10px; background: #fff; }
.fplan .fp-row .fp-name { grid-column: 1 / -1; }
.fplan .fp-row .mono { font-size: 11px; }
.fplan .fp-row select, .fplan .fp-row input { min-height: 36px; padding: 6px 8px; font-size: 15px; }
.fplan .fp-sq { align-self: center; font: 600 15px/1.2 var(--sans); white-space: nowrap; font-variant-numeric: tabular-nums; }
.fplan .fp-x { width: 34px; height: 34px; font-size: 19px; }
.fplan .btn-ink { background: #fff; cursor: pointer; border: 1px solid var(--ink); }
.fplan .fp-fine { margin: 0; font-size: 13px; line-height: 1.5; color: var(--muted); }
@media (min-width: 761px) { .bplan.fplan.is-full .bp-grid { grid-template-columns: minmax(0, 1.5fr) minmax(340px, 1fr); } }   /* a phone keeps the plan on top, the choices under it */

/* Backyard (23 Nov 2026): the backyard sketch as a planner on the shared shell, its preview beside the heading; under the
   heading what goes into a backyard as four tiles, the design-first line, then what it costs and how long it takes */
.yplan .bp-top { align-items: center; }
.yplan .hp-title { margin: 0 auto 0 0; color: var(--muted); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }
.yplan .yp-add { display: flex; flex-wrap: wrap; gap: 6px; }
.yplan .yp-add > .mono { flex-basis: 100%; }
.yplan .yp-add button { padding: 6px 10px; border: 1px solid var(--line); background: #fff; font: 500 14px/1.2 var(--sans); cursor: pointer; }
.yplan .yp-add button:hover { border-color: var(--chalk); color: var(--chalk); }
.yplan .yp-sel { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 8px 10px; background: var(--paper); border-left: 3px solid var(--chalk); }
.yplan .yp-sel[hidden] { display: none; }
.yplan .yp-sel .mono { margin: 0 auto 0 0; font-size: 12px; }
.yplan .yp-sel .btn { padding: 8px 12px; font-size: 12px; background: #fff; border: 1px solid var(--ink); cursor: pointer; }
.bdemo .yplan .bp-top, .bdemo .yplan .bp-hint, .bdemo .yplan .bp-out, .bdemo .yplan .pt-note, .bdemo .yplan .pt-read, .bdemo .yplan .yp-sel { display: none !important; }
@media (min-width: 761px) { .bplan.yplan.is-full .bp-grid { grid-template-columns: minmax(0, 1.5fr) minmax(340px, 1fr); } }   /* a phone keeps the plan on top, the choices under it */
.yb-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 0; padding: 0; list-style: none; }
.yb-tiles > li { display: grid; grid-template-columns: 34px minmax(0, 1fr); align-content: start; gap: 2px 12px; padding: 14px 14px 16px; background: #fff; border: 1px solid var(--line); font-size: 14px; line-height: 1.5; color: var(--muted); }
.yb-tiles > li::before { display: none; }
.yb-tiles strong { grid-column: 2; color: var(--ink); font-size: 15px; }
.yb-tiles > li > :not(svg):not(strong) { grid-column: 2; }
.yb-ico { grid-row: 1 / span 3; width: 34px; height: 34px; padding: 6px; background: var(--paper); border-radius: 50%; fill: none; stroke: var(--chalk); stroke-width: 1.6; stroke-linejoin: round; stroke-linecap: round; }
.sub-more .yb-design { padding: 14px 16px; background: var(--paper-2, #e9e7df); border-left: 3px solid var(--chalk); font-size: 15px; color: var(--ink); }
[data-page="backyard-design"] .page-wrap { display: none; }
@media (max-width: 520px) { .yb-tiles { grid-template-columns: minmax(0, 1fr); } }

/* every page with a planner beside its heading: on a phone or tablet, the planner first, then the heading and the words */
@media (max-width: 1100px) {
  .hero.sub.has-side .sub-grid:has(> .sub-side .bdemo) > .sub-side { order: -1; }
}

/* the backyard planner's labels sit inside each piece (main.js sizes them); the pool's edge note smaller to match */
.pt-svg .yp-edge-t { font-size: 8px; letter-spacing: .06em; }

/* Countertops (23 Nov 2026): the measure as a planner on the shared shell, its preview beside the heading */
.tplan .bp-top { align-items: center; }
.tplan .hp-title { margin: 0 auto 0 0; color: var(--muted); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }
.tplan .tp-shape { display: flex; flex-wrap: wrap; gap: 6px; }
.tplan .tp-shape > .mono { flex-basis: 100%; }
.tplan .tp-shape button { padding: 6px 10px; border: 1px solid var(--line); background: #fff; font: 500 14px/1.2 var(--sans); cursor: pointer; }
.tplan .tp-shape button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.tplan .tp-edge { max-width: 260px; background: #fff; }
.bdemo .tplan .bp-top, .bdemo .tplan .bp-out, .bdemo .tplan .pt-note, .bdemo .tplan .pt-read, .bdemo .tplan .tp-edge { display: none !important; }
.bdemo .tplan .bp-q[data-tq="fall"] { display: none; }
@media (min-width: 761px) { .bplan.tplan.is-full .bp-grid { grid-template-columns: minmax(0, 1.5fr) minmax(340px, 1fr); } }
[data-page="countertop-installation"] .page-wrap, [data-page="flooring-installation"] .page-wrap { display: none; }
/* the lead card in a heading section: the page's own subject, on the darker paper with a red bar, ahead of the white cost card */
.wh-lead { background: var(--paper-2, #e9e7df); border-left: 3px solid var(--chalk); }
.wh-lead .wh-ico { background: #fff; border-radius: 50%; }

/* Painting, plumbing and solar (23 Nov 2026): each tool as a planner on the shared shell, its preview beside the heading */
:is(.pplan, .wplan, .eplan) .bp-top { align-items: center; }
:is(.pplan, .wplan, .eplan) .hp-title { margin: 0 auto 0 0; color: var(--muted); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }
.bdemo :is(.pplan, .wplan, .eplan) :is(.bp-top, .bp-out, .pt-note, .pt-read, .bp-hint, .ep-need) { display: none !important; }
@media (min-width: 761px) { .bplan:is(.pplan, .wplan, .eplan).is-full .bp-grid { grid-template-columns: minmax(0, 1.5fr) minmax(340px, 1fr); } }
.eplan .ep-season { display: flex; flex-wrap: wrap; gap: 6px; }
.eplan .ep-season > .mono { flex-basis: 100%; }
.eplan .ep-season button { padding: 6px 10px; border: 1px solid var(--line); background: #fff; font: 500 14px/1.2 var(--sans); cursor: pointer; }
.eplan .ep-season button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.wplan .wp-list { display: grid; gap: 8px; }
.pplan .pp-sheen { display: grid; gap: 6px; }
.pplan .pp-sheen > .mono { margin: 0; }
[data-page="painting"] .page-wrap, [data-page="plumbing"] .page-wrap, [data-page="solar-panels"] .page-wrap { display: none; }

/* every planner's fine print, small */
.bplan .fp-fine { margin: 0; font-size: 13px; line-height: 1.5; color: var(--muted); }

/* Contact (23 Nov 2026): one table, call and email, then the hours with the open sign on its corner; no town buttons
   under the map; the heading section kept to the About page's width, so there is a gutter either side */
@media (min-width: 1101px) {
  [data-page="contact"] .hero.sub.has-side .sub-grid { max-width: 1240px; margin-inline: auto; }
}
.ct-board.ct-one { grid-template-columns: minmax(0, 1fr); gap: 0; max-width: 560px; border: 1px solid var(--line); background: #fff; }
.ct-one .ct-now { border: 0; border-bottom: 1px solid var(--line); }
.ct-one .hours-sign { border: 0; }
@media (max-width: 640px) { .ct-board.ct-one { max-width: none; } }
/* Contact: the open/closed ribbon on the table's own top corner, across the call and email rows, so the hours row stays short */
.ct-board.ct-one { position: relative; overflow: hidden; }
.ct-one .hours-sign { position: static; overflow: visible; }
.ct-one ul.hs-week { margin-top: 8px; }
.ct-one .hs-info::before { margin-bottom: 4px; }

/* Services (23 Nov 2026): on a slide whose picture is a planner at work, after a few seconds of it a red call to try the
   planner fades in over the middle of it and pulses, so it is seen on a big screen too, not only in the card at the foot */
.sxb-plan::after { content: "Click to try the planner  ⤢"; position: absolute; left: 50%; top: 44%; z-index: 4; padding: 15px 26px; border-radius: 999px;
  background: var(--chalk); color: #fff; font: 700 clamp(15px, 1.3vw, 19px)/1 var(--sans); letter-spacing: .01em; white-space: pre;
  box-shadow: 0 18px 36px -14px rgba(211, 32, 42, .7), 0 0 0 4px rgba(255, 255, 255, .9); pointer-events: none;
  opacity: 0; transform: translate(-50%, -50%) scale(.85); }
.sxb-panel.in .sxb-plan::after { animation: sxb-try-in .55s var(--ease) 3.2s forwards, sxb-try-pulse 2.6s ease-in-out 3.8s infinite; }
.sxb-plan:hover::after { background: #b8141e; }
@keyframes sxb-try-in { to { opacity: 1; transform: translate(-50%, -50%) scale(1); } }
@keyframes sxb-try-pulse { 0%, 100% { opacity: 1; transform: translate(-50%, -50%) scale(1); } 50% { opacity: 1; transform: translate(-50%, -50%) scale(1.05); } }
@media (prefers-reduced-motion: reduce) { .sxb-plan::after { opacity: 1; transform: translate(-50%, -50%); } }
@media (max-width: 560px) { .sxb-plan::after { content: "Tap to try the planner  ⤢"; top: 40%; padding: 12px 20px; font-size: 15px; } }
/* Services: the planner card at the top of the animation, not its foot, so it is in view without scrolling on a big screen */
.sxb-plan-cta { top: 16px; bottom: auto; }
.sxb-plan .wa-anim { padding: 96px 18px 18px; }
.sxb-plan::after { top: 56%; }
@media (max-width: 560px) { .sxb-plan .wa-anim { padding: 120px 12px 12px; } .sxb-plan::after { top: 60%; } }
/* phones: a planner slide's picture taller than a photo's, so the card, the drawing and the call to try it all fit */
@media (max-width: 1024px) { .sxb-img.sxb-plan { aspect-ratio: 4 / 5; min-height: 0; } }
@media (max-width: 560px) { .sxb-plan .wa-anim { padding: 112px 10px 10px; } .sxb-plan::after { top: 72%; } }
/* Services, kitchen and bathroom: the photo stays, with the planner card over its top and the call to try it */
.sxb-plan.sxb-photo { background: var(--ink); }
.sxb-plan.sxb-photo::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(to bottom, rgba(17, 17, 16, .35), rgba(17, 17, 16, 0) 40%, rgba(17, 17, 16, .25)); pointer-events: none; }
.sxb-plan.sxb-photo .sxb-plan-cta { z-index: 3; }
@media (max-width: 1024px) { .sxb-img.sxb-plan.sxb-photo { aspect-ratio: 4 / 3; } }
/* Services: a drawing (plumbing, solar) under the planner card sits on the paper, not on the photo's dark backing */
.sxb-plan.sxb-photo:has(img[src*="/drawings/"]) { background: var(--paper); }
.sxb-plan.sxb-photo:has(img[src*="/drawings/"])::before { display: none; }

/* the estimate form's honeypot: off the page for people and screen readers; only a bot reading the code fills it in */
.est-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* the estimate form: the line under phone and email, red when neither is given */
.est .est-reach { grid-column: 1 / -1; margin: -8px 0 0; font-size: 13px; line-height: 1.4; color: var(--muted); }
.est .est-reach.need { color: var(--chalk); font-weight: 600; }

/* 24 Nov 2026: a sent request tears the ticket at the perforation. The stub ("Your copy") pulls away with its stamp,
   and a card over the form says it went; the ragged edges are cut in main.js (MRR.tear) */
.tk-main { position: relative; }
.ticket.torn { background: none; -webkit-mask: none; mask: none; }
.ticket.torn .tk-main { background: var(--paper); }
.ticket.torn .tk-stub { border-color: transparent; box-shadow: 0 14px 28px rgba(0, 0, 0, .35); animation: tk-rip .9s cubic-bezier(.3, .7, .3, 1) both; }
.ticket.torn.across .tk-stub { animation-name: tk-rip-down; }
.ticket.torn .tk-stamp { opacity: .92; transform: rotate(-9deg) scale(1); transition-delay: .55s; }
@keyframes tk-rip {
  0% { transform: none; }
  18% { transform: translate(3px, -2px) rotate(-.8deg); }
  34% { transform: translate(1px, 0) rotate(.4deg); }
  100% { transform: translate(16px, 12px) rotate(3deg); }
}
@keyframes tk-rip-down {
  0% { transform: none; }
  18% { transform: translate(-2px, 3px) rotate(.6deg); }
  34% { transform: translate(0, 1px) rotate(-.3deg); }
  100% { transform: translate(6px, 16px) rotate(1.6deg); }
}
.tk-done { position: absolute; inset: 0; z-index: 2; display: grid; align-content: center; justify-items: start; gap: 10px; padding: 26px 34px 26px 26px;
  background: rgba(246, 244, 239, .94); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.tk-done[hidden] { display: none; }
.ticket.torn .tk-done { animation: tk-done-in .5s ease .45s both; }
@keyframes tk-done-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.tk-done .mono { color: var(--chalk); }
.tk-done-h { font: 600 clamp(26px, 3vw, 38px)/1.05 var(--sans); letter-spacing: -.02em; color: var(--ink); }
.tk-done p:not(.mono):not(.tk-done-h) { max-width: 44ch; font-size: 17px; line-height: 1.5; color: var(--ink-2); }
.tk-done a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.tk-check { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--chalk); }
.tk-check svg { width: 26px; height: 26px; fill: none; stroke: #fff; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 24; stroke-dashoffset: 24; }
.ticket.torn .tk-check svg { animation: tk-tick .45s ease .8s forwards; }
@keyframes tk-tick { to { stroke-dashoffset: 0; } }
.tk-again { margin-top: 6px; padding: 0; border: 0; background: none; font: inherit; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.tk-again:hover { color: var(--ink); }
.ticket .est[inert] { opacity: .35; }
.ticket.still .tk-stub, .ticket.still .tk-done, .ticket.still .tk-check svg { animation-duration: .01s; animation-delay: 0s; }
.ticket.still .tk-stub { transform: translate(16px, 12px) rotate(3deg); }
@media (max-width: 560px) { .tk-done { padding: 20px 16px; } }
.ticket .est input.bad { border-bottom-color: var(--chalk); box-shadow: 0 2px 0 var(--chalk); }
.ticket.torn .tk-stamp { bottom: auto; top: 16px; right: 16px; }
.tk-stub dd[data-tk="reach"] { white-space: pre-line; overflow-wrap: anywhere; }
@media (min-width: 861px) { .tk-stub dl > div { grid-template-columns: 78px minmax(0, 1fr); } }

/* 24 Nov 2026: the line's intro in three beats: the tagline alone, then it fades, then the line draws and the hint
   shows (the class "told" comes from main.js). Scrolling on opens the photo; the tagline comes back over it */
.js .line .line-head { transition: opacity .9s ease; }
.js .line.told .line-head { opacity: var(--b); }
.js .line .line-plumb { transition: transform 1.6s cubic-bezier(.65, 0, .25, 1) 1.1s; }
.js .line.scrub-in:not(.told) .line-plumb { transform: scaleY(0); }
.js .line.told .line-plumb { transform: none; }
.js .line .line-hint span { transition-delay: 2.8s; }
.js .line.scrub-in:not(.told) .line-hint span { opacity: 0; transform: translateY(10px); transition-delay: 0s; }
.js .line.told .line-hint span { opacity: 1; transform: none; }
