/* Pitchline home */
.wm { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .04em; margin-bottom: -.04em; }
.w { display: inline-block; }

/* ---------- hero: house through the rafters ---------- */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 620px; overflow: hidden; background: var(--paper); }
.hero-pic { position: absolute; inset: 0; will-change: transform; }
.hero-pic img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 60%; }
.hero-truss { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.hero-truss .bm { stroke: var(--paper); stroke-linecap: butt; fill: none; }
.hero-truss .dm { stroke: var(--ink); fill: none; stroke-width: 1; }
.hero-truss text { fill: var(--ink); font: 600 11px var(--f-b); font-stretch: 125%; letter-spacing: .14em; }
.hero-copy { position: absolute; left: var(--pad); top: calc(var(--hd) + 9vh); width: min(36vw, 520px); z-index: 2; }
.hero-lic { color: var(--patina); margin: 0 0 22px; }
.hero-h { font-size: clamp(56px, 7.2vw, 118px); }
.hero-p { font-size: 17px; max-width: 30em; margin: 26px 0 30px; color: #3A3B3B; }
.pl-block { position: absolute; right: var(--pad); bottom: 28px; z-index: 3; display: grid; grid-template-columns: auto auto; border: 1px solid var(--ink); background: var(--paper); }
.pl-block span { padding: 8px 12px; border: .5px solid var(--ink); }
.pl-block .pl-pct { text-align: right; }
html:not(.pl-on) .pl-block { display: none; }
.pl-on .hd { opacity: 0; }

/* ---------- what we do ---------- */
.wwd { position: relative; background: var(--slate); color: var(--paper); padding: clamp(100px, 12vw, 170px) var(--pad) clamp(90px, 10vw, 150px) calc(var(--pad) + 9vw); z-index: 2; }
.vlbl { position: absolute; left: var(--pad); top: clamp(110px, 13vw, 180px); writing-mode: vertical-rl; transform: rotate(180deg); color: var(--muted-d); margin: 0; }
.wwd-p { font-size: clamp(22px, 2.05vw, 30px); line-height: 1.4; max-width: 30em; margin: 0 0 0 auto; width: 70%; }
.wwd-cards { display: grid; grid-template-columns: 1.65fr 1fr; gap: 6vw; margin-top: clamp(70px, 9vw, 130px); align-items: end; }
.wc { text-decoration: none; display: block; }
.wc img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.wc-b { margin-bottom: 14vw; }
.wc-b img { aspect-ratio: 4 / 3; }
.wc .link { margin-top: 18px; border: 0; padding: 0; font-size: 15px; }
.wc .link .arr { width: 16px; transition: transform .4s var(--e-out); }
.wc:hover .link .arr { transform: translateX(5px); }
.wc-s { display: block; color: var(--muted-d); font-size: 14px; margin-top: 4px; }
.wc .pmask { overflow: hidden; }

/* ---------- WORK: big word, sticky stack ---------- */
.work { position: relative; background: var(--slate); color: var(--paper); padding: 0 var(--pad) clamp(80px, 9vw, 140px); }
.work-h { position: sticky; top: 8vh; text-align: center; font-size: 26vw; line-height: .8; letter-spacing: -.02em; padding-top: 4vh; z-index: 0; }
.stack { position: relative; z-index: 1; margin-top: -9vw; }
.proj { position: sticky; top: 6vh; display: block; height: 86vh; margin-bottom: 10vh; text-decoration: none; }
.proj-in { position: relative; height: 100%; overflow: hidden; background: #111; transform-origin: 50% 0; }
.proj-in img { width: 100%; height: 100%; object-fit: cover; }
.proj-in::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 11, 12, .45) 0, rgba(10, 11, 12, 0) 30%, rgba(10, 11, 12, 0) 72%, rgba(10, 11, 12, .55)); pointer-events: none; }
.proj-n { position: absolute; left: clamp(20px, 3vw, 44px); top: clamp(18px, 3vw, 40px); z-index: 2; font-size: clamp(44px, 6.4vw, 100px); color: var(--paper); }
.proj-m { position: absolute; left: clamp(20px, 3vw, 44px); right: clamp(20px, 3vw, 44px); bottom: 24px; z-index: 2; display: flex; gap: 28px; flex-wrap: wrap; color: var(--paper); margin: 0; }
.proj-sh { position: absolute; inset: 0; background: #0b0c0d; opacity: 0; z-index: 3; pointer-events: none; }
.work-more { text-align: center; margin: 0; position: relative; z-index: 1; }
.work-more .btn { color: var(--paper); }

/* ---------- drawing: roof section drawn on paper ---------- */
.draw { position: relative; background: var(--paper); }
.draw-pin { position: relative; min-height: 100vh; display: grid; grid-template-columns: minmax(260px, 25%) 1fr; align-items: center; gap: 2vw; padding: calc(var(--hd) + 20px) var(--pad) 40px; }
.draw-head .lbl { color: var(--patina); }
.draw-h { font-size: clamp(34px, 3.8vw, 60px); margin: 16px 0 22px; }
.draw-p { color: #45464A; max-width: 26em; }
.draw-svg { width: 100%; height: auto; max-height: 84vh; overflow: visible; }
.draw-svg .ln { fill: none; stroke: var(--ink); stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; }
.draw-svg .ln.th { stroke-width: .7; }
.draw-svg .ln.hv { stroke-width: 2; }
.draw-svg .ln.ac { stroke: var(--patina); }
.draw-svg .ld { fill: none; stroke: var(--ink); stroke-width: .8; }
.draw-svg .cl { fill: var(--ink); font: 500 18px var(--f-b); }
.draw-svg .cl .n { font: 600 14px var(--f-b); font-stretch: 125%; letter-spacing: .12em; fill: var(--patina); }
.draw-svg .tb { font: 600 12px var(--f-b); font-stretch: 125%; letter-spacing: .14em; fill: var(--ink); }
.draw-svg .tb.big { font: 600 19px var(--f-d); letter-spacing: 0; }
.draw-svg .dot { fill: var(--patina); }

/* ---------- steps with tabs ---------- */
.steps { position: relative; min-height: 100vh; color: var(--paper); background: var(--slate); overflow: hidden; display: flex; align-items: flex-end; }
.st-pics { position: absolute; inset: 0; }
.st-pics img { position: absolute; inset: 0; width: 100%; height: 110%; object-fit: cover; opacity: 0; transition: opacity .9s ease; }
.st-pics img.on { opacity: 1; }
.st-pics::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20, 22, 24, .1) 20%, rgba(20, 22, 24, .82) 78%); }
.st-in { position: relative; z-index: 2; width: 100%; padding: 0 var(--pad) clamp(40px, 6vw, 80px); }
.st-h { font-size: clamp(36px, 4.6vw, 72px); margin: 0 0 32px; }
.tabs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.tab { display: flex; align-items: center; gap: 14px; min-height: 58px; padding: 0 18px; border: 1px solid rgba(236, 230, 218, .5); background: rgba(236, 230, 218, .08); color: var(--paper); font: 700 15px/1 var(--f-b); font-stretch: 125%; letter-spacing: .04em; text-transform: uppercase; cursor: pointer; text-align: left; transition: background .35s, color .35s, border-color .35s; }
.tab span { font: 600 11px var(--f-b); opacity: .7; }
.tab:hover { border-color: var(--paper); }
.tab.on { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.tps { margin-top: 26px; min-height: 5.4em; max-width: 46em; }
.tp p { margin: 0; font-size: clamp(17px, 1.4vw, 21px); line-height: 1.5; }
.tp[hidden] { display: none; }

/* ---------- services as chapters with a photo collage ---------- */
.svc { position: relative; background: var(--paper); padding-top: clamp(90px, 10vw, 150px); }
.svc-h { text-align: center; font-size: clamp(38px, 5.2vw, 84px); margin: 0 auto; padding: 0 var(--pad); }
.svc-pin { position: relative; height: 100vh; margin-top: 20px; }
.cm { position: absolute; left: 24vw; top: 14vh; width: 34vw; height: 72vh; overflow: hidden; background: var(--paper-2); }
.cm img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; clip-path: inset(100% 0 0 0); }
.cm img.on { clip-path: inset(0 0 0 0); }
.cs { position: absolute; overflow: hidden; background: var(--paper-2); }
.cs img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .7s ease; }
.cs img.on { opacity: 1; }
.cs1 { left: 9vw; top: 18vh; width: 11vw; height: 15vh; }
.cs2 { left: 45vw; top: 68vh; width: 14vw; height: 22vh; z-index: 2; }
.chs { position: absolute; left: 63vw; top: 32vh; width: 30vw; }
.ch { position: absolute; left: 0; top: 0; width: 100%; visibility: hidden; }
.ch.on { visibility: visible; }
.ch-n { color: var(--patina); margin: 0 0 14px; }
.ch-t { font-size: clamp(28px, 2.7vw, 44px); margin: 0 0 16px; }
.ch-p { color: #45464A; margin: 0 0 18px; max-width: 28em; }
.ch-price { color: var(--ink); margin: 0; }
.ch-btn { position: absolute; top: 340px; left: 0; }
.svc-mob { display: none; }

/* ---------- numbers ---------- */
.nums { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding: clamp(70px, 9vw, 130px) var(--pad); border-top: 1px solid var(--line); background: var(--paper); }
.n-v { font-size: clamp(54px, 6.4vw, 104px); }
.n-l { color: var(--muted); margin-top: 14px; }

/* ---------- van ---------- */
.van { position: relative; height: 170vh; background: var(--slate); }
.van-pin { position: sticky; top: 0; height: 100vh; overflow: hidden; }
.van-pic { position: absolute; inset: 0; will-change: transform; }
.van-pic img { width: 100%; height: 100%; object-fit: cover; object-position: 30% 60%; }
.van-pic::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20, 22, 24, 0) 40%, rgba(20, 22, 24, .7)); }
.livery { position: absolute; display: flex; align-items: center; gap: .5em; color: #E7E2D7; transform-origin: 0 0; white-space: nowrap; mix-blend-mode: screen; opacity: .86; filter: blur(.2px); }
.livery .lv-mark { width: 2.6em; height: 2.6em; display: block; }
.livery .lv-mark svg { width: 100%; height: 100%; }
.livery b { display: block; font: 600 1.9em/1 var(--f-d); font-variation-settings: 'opsz' 72; }
.livery i { display: block; font: 600 .62em/1 var(--f-b); font-stretch: 125%; letter-spacing: .22em; text-transform: uppercase; font-style: normal; margin-top: .45em; }
.livery em { display: block; font: 500 .62em/1 var(--f-b); font-style: normal; letter-spacing: .08em; margin-top: .45em; opacity: .85; }
.van-h { position: absolute; right: var(--pad); top: calc(var(--hd) + 6vh); text-align: right; font-size: clamp(44px, 6.6vw, 112px); color: var(--paper); margin: 0; z-index: 2; }
.van-h span { display: block; }

/* ---------- raves ---------- */
.raves { position: relative; background: var(--slate); color: var(--paper); padding: clamp(90px, 10vw, 150px) 0 clamp(70px, 8vw, 110px); overflow: hidden; }
.kq { display: grid; grid-template-columns: 1fr 1fr; gap: 6vw; padding: 0 var(--pad) 0 calc(var(--pad) + 6vw); align-items: start; position: relative; z-index: 2; }
.kq-txt .lbl { color: var(--patina-l); }
.kq-q { font: 400 clamp(26px, 2.6vw, 40px)/1.25 var(--f-d); font-variation-settings: 'opsz' 48; margin: 18px 0 18px; min-height: 5em; }
.kq-w { color: var(--muted-d); margin: 0; }
.kq-nav { display: flex; gap: 10px; margin-top: 26px; }
.kq-b { width: 48px; height: 48px; border: 1px solid var(--line-d); background: none; color: var(--paper); cursor: pointer; font-size: 18px; transition: background .3s, color .3s; }
.kq-b:hover { background: var(--paper); color: var(--ink); }
.kq-pic img { width: 82%; aspect-ratio: 4 / 5; object-fit: cover; margin-left: auto; }
.raves-h { font-size: clamp(44px, 7vw, 120px); line-height: .95; text-align: center; margin: 7vw 0 0; position: relative; z-index: 1; letter-spacing: -.02em; }
.seals { display: flex; justify-content: center; gap: clamp(20px, 4vw, 64px); margin: 48px var(--pad) 70px; color: var(--paper); }
.seal { width: clamp(84px, 8vw, 120px); height: auto; }
.ribbon { overflow: hidden; border-top: 1px solid var(--line-d); border-bottom: 1px solid var(--line-d); }
.rb-track { display: flex; width: max-content; animation: rb 70s linear infinite; }
.ribbon:hover .rb-track { animation-play-state: paused; }
@keyframes rb { to { transform: translateX(-50%); } }
.rv { width: 400px; margin: 0; padding: 30px 32px; border-right: 1px solid var(--line-d); }
.rv blockquote { margin: 0 0 18px; font: 400 18px/1.45 var(--f-d); font-variation-settings: 'opsz' 24; }
.rv figcaption { color: var(--muted-d); font-size: 13px; display: flex; flex-direction: column; gap: 6px; }
.rv figcaption .lbl { color: var(--patina-l); font-size: 10px; }

/* ---------- phones ---------- */
@media (max-width: 1023px) {
  .svc-pin { display: none; }
  .svc-mob { display: grid; gap: 64px; padding: 50px var(--pad) 90px; }
  .sm img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; margin-bottom: 18px; }
  .sm .lbl { color: var(--patina); margin: 0 0 10px; }
  .sm h3 { font-size: 30px; margin: 0 0 12px; }
  .sm p { margin: 0 0 12px; color: #45464A; }
  .sm .ch-price { color: var(--ink); }
}
@media (max-width: 860px) {
  .hero { height: 100svh; min-height: 640px; }
  .hero-copy { top: calc(var(--hd) + 3vh); width: auto; right: var(--pad); }
  .hero-h { font-size: clamp(46px, 13vw, 64px); }
  .hero-p { font-size: 15.5px; margin: 16px 0 18px; }
  .hero-lic { margin-bottom: 14px; font-size: 10px; }
  .hero-btn { display: none; }
  .pl-block { left: var(--pad); right: auto; bottom: 18px; }
  .wwd { padding: 90px var(--pad) 80px; }
  .vlbl { position: static; writing-mode: horizontal-tb; transform: none; margin-bottom: 20px; }
  .wwd-p { width: auto; font-size: 21px; }
  .wwd-cards { grid-template-columns: 1fr; gap: 48px; margin-top: 56px; }
  .wc-b { margin: 0; width: 72%; margin-left: auto; }
  .work-h { font-size: 30vw; top: 12vh; }
  .stack { margin-top: -6vw; }
  .proj { height: 64vh; top: 14vh; margin-bottom: 6vh; }
  .proj-m { gap: 6px 18px; bottom: 16px; }
  .draw-pin { grid-template-columns: 1fr; min-height: 0; padding-top: 90px; }
  .draw-svg { max-height: none; }
  .tabs { grid-template-columns: 1fr 1fr; }
  .tab { min-height: 52px; font-size: 13px; padding: 0 12px; }
  .steps { min-height: 92svh; }
  .nums { grid-template-columns: 1fr 1fr; row-gap: 48px; }
  .van { height: 130vh; }
  .van-pic img { object-position: 22% 60%; }
  .van-pic::after { background: linear-gradient(180deg, rgba(20, 22, 24, .75), rgba(20, 22, 24, 0) 45%); }
  .van-h { top: calc(var(--hd) + 20px); transform: none; left: var(--pad); text-align: left; font-size: 44px; }
  .kq { grid-template-columns: 1fr; padding: 0 var(--pad); gap: 36px; }
  .kq-q { min-height: 7.5em; font-size: 25px; }
  .kq-pic img { width: 100%; aspect-ratio: 4 / 3; }
  .raves-h { margin-top: 12vw; font-size: 13vw; }
  .seals { flex-wrap: wrap; gap: 20px; }
  .seal { width: 76px; }
  .rv { width: 300px; padding: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  .rb-track { animation: none; }
  .ribbon { overflow-x: auto; }
}
.draw-key { display: none; }
@media (max-width: 860px) {
  .draw-svg .clt, .draw-svg .tb { display: none; }
  .draw-svg .cl .n { font-size: 34px; }
  .draw-svg .dot { r: 6px; }
  .draw-key { display: block; columns: 1; margin: 22px 0 0; padding: 0; list-style: none; counter-reset: k; font-size: 14.5px; }
  .draw-key li { counter-increment: k; padding: 9px 0; border-top: 1px solid var(--line); display: flex; gap: 14px; }
  .draw-key li::before { content: '0' counter(k); font: 600 11px/1.9 var(--f-b); font-stretch: 125%; letter-spacing: .12em; color: var(--patina); }
}
@media (max-width: 860px) {
  .hero-pic img { position: absolute; left: 0; bottom: 0; top: auto; height: 64%; object-position: 70% 70%; }
}
@media (max-width: 860px) {
  .van-pic img { object-position: 33% 50%; }
  .van-pic::after { background: linear-gradient(0deg, rgba(20, 22, 24, .8), rgba(20, 22, 24, 0) 40%); }
  .van-h { top: auto; bottom: 12vh; }
}
@media (max-width: 860px) {
  .van-pic img { position: absolute; left: 0; top: 16%; height: 58%; object-position: 30% 50%; }
}
.ch-more { margin-top: 20px; font-size: 14px; white-space: nowrap; width: max-content; display: inline-flex; }
.ch-more .arr, .sv .link .arr { width: 18px; height: 10px; flex: none; }
.sm .ch-more { margin-top: 14px; }

/* ---------- HERO v2: the roof goes on as you scroll (framing > decking > underlayment > shingles) ---------- */
.hb { position: relative; height: 620vh; background: var(--slate); --hb-pos: var(--hb-x, 50%) 42%; }
.hb-pin { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.hb-stage { position: absolute; inset: 0; }
.hb-i { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--hb-pos); }
.hb-l { --e: -12%; -webkit-mask-image: linear-gradient(to top, #000 calc(var(--e) - 5%), transparent calc(var(--e) + 5%)); mask-image: linear-gradient(to top, #000 calc(var(--e) - 5%), transparent calc(var(--e) + 5%)); will-change: mask-image; }
/* the working edge glows only where there is roof: the line sits in a layer masked by the roof silhouette */
.hb-roof { position: absolute; inset: 0; pointer-events: none; -webkit-mask: url(../img/h3-roofmask.png) var(--hb-pos) / cover no-repeat; mask: url(../img/h3-roofmask.png) var(--hb-pos) / cover no-repeat; }
.hb-seam { position: absolute; left: 0; right: 0; top: -14px; height: 28px; background: linear-gradient(180deg, rgba(255, 196, 120, 0), rgba(255, 210, 150, .38) 40%, #FFF6E4 49%, #FFF6E4 51%, rgba(255, 210, 150, .38) 60%, rgba(255, 196, 120, 0)); opacity: 0; will-change: transform; }
.hb-tag { position: absolute; left: 0; top: 0; z-index: 1; padding: 5px 8px; background: rgba(23, 25, 28, .72); color: #FFF4DE; font-size: 10px; letter-spacing: .14em; white-space: nowrap; opacity: 0; pointer-events: none; will-change: transform; }
.hb-shade { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgba(236, 230, 218, .62) 0, rgba(236, 230, 218, .28) 28%, rgba(236, 230, 218, 0) 44%); }
.hb-copy { position: absolute; left: var(--pad); top: calc(var(--hd) + 8vh); width: min(36vw, 560px); z-index: 2; }
.hb .hero-h { font-size: clamp(56px, 6.4vw, 108px); }
.hb .hero-lic { color: #4E5E57; }
.hb .hero-p { color: #2C2D2F; max-width: 25em; }
.hb .hero-btn.lt { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.hb-log { position: absolute; right: var(--pad); bottom: 28px; z-index: 2; width: 380px; background: var(--paper); border: 1px solid var(--ink); color: var(--ink); }
.hb-clock { display: flex; gap: 6px; padding: 10px 14px; border-bottom: 1px solid var(--ink); }
.hb-clock .hb-time { margin-left: auto; }
.hb-steps { list-style: none; margin: 0; padding: 0; }
.hb-steps li { position: relative; display: grid; grid-template-columns: 30px 1fr; column-gap: 8px; padding: 8px 14px 9px; border-top: .5px solid var(--line); opacity: .38; transition: opacity .4s; }
.hb-steps li:first-child { border-top: 0; }
.hb-steps li.on, .hb-steps li.done { opacity: 1; }
.hb-steps li span { font-size: 11px; color: var(--patina); padding-top: 2px; }
.hb-steps b { font: 600 13px var(--f-b); letter-spacing: .1em; text-transform: uppercase; }
.hb-steps em { grid-column: 2; font-style: normal; font-size: 13px; color: #55575A; }
.hb-steps li i { position: absolute; left: 0; bottom: -1px; height: 2px; width: 100%; background: var(--patina); transform-origin: 0 50%; transform: scaleX(0); }
.hb-hint { position: absolute; left: 50%; bottom: 30px; transform: translateX(-50%); display: flex; align-items: center; gap: 10px; color: #FFF4DE; font-size: 10.5px; z-index: 2; text-shadow: 0 1px 8px rgba(0, 0, 0, .5); }
.hb-hint i { width: 1px; height: 34px; background: currentColor; transform-origin: 50% 0; animation: hbHint 1.8s var(--e-out) infinite; }
@keyframes hbHint { 0% { transform: scaleY(0); } 60% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(1); opacity: 0; } }
.hb .pl-block { z-index: 4; }
html.pl-on .hb-copy, html.pl-on .hb-log, html.pl-on .hb-hint { visibility: hidden; }
@media (max-width: 1180px) and (min-width: 861px) { .hb-log { width: 320px; } .hb-copy { width: 44vw; } }
@media (max-width: 860px) {
  .hb { height: 540vh; }
  .hb { --hb-pos: 77% 30%; }
  .hb-shade { background: linear-gradient(0deg, rgba(23, 25, 28, .86) 0, rgba(23, 25, 28, .6) 30%, rgba(23, 25, 28, 0) 52%); }
  .hb-copy { top: auto; bottom: 150px; right: var(--pad); width: auto; }
  .hb .hero-h { font-size: clamp(44px, 12.4vw, 62px); color: var(--paper); }
  .hb .hero-lic { color: var(--patina-l); }
  .hb .hero-p { color: rgba(236, 230, 218, .86); font-size: 15px; margin: 12px 0 0; }
  .hb .hero-btn { display: none; }
  .hb-log { left: var(--pad); right: var(--pad); bottom: 18px; width: auto; background: transparent; border: 0; color: var(--paper); }
  .hb-clock { padding: 0 0 8px; border-bottom: 1px solid var(--line-d); color: var(--patina-l); }
  .hb-steps { display: grid; grid-template-columns: repeat(6, 1fr); gap: 5px; }
  .hb-steps li { display: block; padding: 8px 0 0; border: 0; }
  .hb-steps li span { display: block; font-size: 10px; color: var(--patina-l); }
  .hb-steps b { font-size: 10px; letter-spacing: .06em; }
  .hb-steps em { display: none; }
  .hb-steps li i { top: 0; bottom: auto; background: var(--patina-l); }
  .hb-hint { display: none; }
  
}

/* ---------- Drawn before it's built: the ink drawing turns into the finished roof ---------- */
.dbb { position: relative; background: var(--paper); }
.dbb-pin { min-height: 100vh; display: grid; grid-template-columns: minmax(280px, 27%) 1fr; align-items: center; gap: 3.4vw; padding: calc(var(--hd) + 10px) var(--pad) 48px; }
.dbb-head .lbl { color: var(--patina); }
.dbb-h { font-size: clamp(34px, 3.8vw, 60px); margin: 16px 0 20px; }
.dbb-p { color: #45464A; max-width: 27em; }
.dbb-sum { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin: 26px 0 24px; padding: 0; border-top: 1px solid var(--line); }
.dbb-sum li { padding: 12px 0 10px; border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: 2px; }
.dbb-sum li:nth-child(odd) { padding-right: 12px; border-right: 1px solid var(--line); }
.dbb-sum li:nth-child(even) { padding-left: 16px; }
.dbb-sum b { font: 500 34px/1 var(--f-d); }
.dbb-sum span { font-size: 13px; color: var(--muted); }
.dbb-fig { margin: 0; }
.dbb-box { position: relative; aspect-ratio: 3 / 2; overflow: hidden; background: #E8E2D8; border: 1px solid var(--ink); }
.dbb-box img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.dbb-draw { clip-path: inset(0 0 0 var(--w, 0%)); }
.dbb-ann { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.dbb-ann .a { fill: none; stroke: var(--ink); stroke-width: 2.2; }
.dbb-ann .a.v { stroke: #A5642E; stroke-width: 4; }
.dbb-ann .dot { fill: var(--ink); }
.dbb-ann .tg rect { fill: var(--paper); stroke: var(--ink); stroke-width: 1.6; }
.dbb-ann .tg text { fill: var(--ink); font: 600 20px var(--f-b); letter-spacing: .1em; text-transform: uppercase; }
.dbb-ann .tg text.s { font: 500 18px var(--f-b); letter-spacing: .02em; text-transform: none; fill: #45464A; }
.dbb-bar { position: absolute; top: 0; bottom: 0; left: var(--w, 0%); width: 0; border-left: 2px solid var(--ink); pointer-events: none; }
.dbb-bar span { position: absolute; top: 14px; padding: 5px 9px; font-size: 10px; background: var(--ink); color: var(--paper); white-space: nowrap; }
.dbb-bar span:first-child { right: 8px; } .dbb-bar span:last-child { left: 8px; background: var(--paper); color: var(--ink); border: 1px solid var(--ink); }
.dbb-cap { display: flex; justify-content: space-between; margin-top: 12px; color: var(--muted); }
@media (max-width: 860px) {
  .dbb-pin { grid-template-columns: 1fr; min-height: 0; padding: 72px var(--pad) 56px; gap: 28px; }
  .dbb-ann .tg text { font-size: 30px; } .dbb-ann .tg text.s { display: none; }
}
@media (min-width: 861px) { .hb { --hb-x: 0%; } .hb .hero-h { font-size: clamp(52px, 5.5vw, 96px); } }
.dbb-bar span { top: auto; bottom: 14px; }
.dbb-head .link { white-space: nowrap; width: max-content; display: inline-flex; font-size: 15px; gap: 12px; }
.dbb-head .link .arr { width: 18px; height: 10px; flex: none; }
@media (max-width: 860px) {
  .hb-log { bottom: 82px; }
  .hb-copy { bottom: 196px; }
  .hb-steps b { white-space: nowrap; }
  .hb-steps li:not(.on) b { visibility: hidden; }
}
@media (max-width: 860px) { .hb-shade { background: linear-gradient(0deg, rgba(23, 25, 28, .92) 0, rgba(23, 25, 28, .74) 38%, rgba(23, 25, 28, 0) 62%); } }
/* six steps: only the step being built shows its detail line, so the card stays short and off the porch */
@media (min-width: 861px) {
  .hb-log { width: 330px; }
  .hb-steps li { padding: 7px 14px 8px; }
  .hb-steps em { max-height: 0; overflow: hidden; opacity: 0; transition: max-height .45s var(--e-out), opacity .3s; }
  .hb-steps li.on em { max-height: 2.6em; opacity: 1; }
}
/* first-visit preloader: a vector drawing of the house (js/build.js preloader()); A = blueprint, B = ink on paper */
.pl3 { position: absolute; inset: 0; z-index: 5; pointer-events: none; }
.pl3-bg { position: absolute; inset: 0; background-color: var(--pl-bg); background-image: linear-gradient(var(--pl-grid) 1px, transparent 1px), linear-gradient(90deg, var(--pl-grid) 1px, transparent 1px); background-size: 32px 32px; }
.pl3-b .pl3-bg { background-size: 48px 48px; box-shadow: inset 0 0 0 18px var(--pl-bg), inset 0 0 0 19px var(--pl-ln); }
.pl3-svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.pl3-cam { color: var(--pl-ln); stroke: currentColor; fill: none; stroke-linecap: butt; stroke-linejoin: miter; }
.pl3-cam .pl3-dim, .pl3-cam .pl3-t { color: var(--pl-dim); }
.pl3-dim path { stroke: var(--pl-dim); }
.pl3-raft path { stroke-opacity: .85; }
.pl3-deck path, .pl3-sh path { stroke-opacity: .7; }
.pl3-t { fill: var(--pl-dim); stroke: none; font-family: var(--f-b); letter-spacing: .08em; text-anchor: middle; }
.pl3-tb { position: absolute; right: var(--pad); bottom: 28px; display: grid; grid-template-columns: auto auto; gap: 6px 22px; padding: 12px 14px; border: 1px solid var(--pl-ln); color: var(--pl-ln); font-size: 10.5px; }
.pl3-tb b { grid-column: 1 / -1; font: 600 13px var(--f-b); letter-spacing: .12em; text-transform: uppercase; }
.pl3-tb .pl3-n { grid-column: 2; grid-row: 1; justify-self: end; }
@media (max-width: 860px) { .pl3-tb { left: var(--pad); right: var(--pad); bottom: 22px; grid-template-columns: 1fr auto; font-size: 9.5px; } .pl3-tb span:not(.pl3-n) { grid-column: 1 / -1; } }
