/* The building's home page (7th of November 2026, lib/buildinghome.js and routes/buildingextras.js). */
.bh{--bh-r:20px;--bh-dark:#1c1c1d;--bh-t:#B15533;--bh-t2:#D4744F;--bh-line:#E6E3DE;--bh-mut:#6B6B6B;max-width:1180px;margin:0 auto}
.bh .sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
.bh-i{display:inline-block;flex:none}
.bh-note{margin:0 0 14px;color:var(--bh-mut);font-size:13px}

/* hero */
.bh-hero{position:relative;display:grid;grid-template-columns:minmax(0,1fr) 270px;gap:36px;align-items:center;padding:40px 44px 36px;border-radius:28px;color:#fff;overflow:hidden;margin:0 0 22px;
  background:radial-gradient(900px 420px at 100% 0%,rgba(212,116,79,.38),transparent 60%),radial-gradient(600px 300px at 0% 110%,rgba(177,85,51,.22),transparent 60%),linear-gradient(160deg,#262627 0%,#161617 100%);
  box-shadow:0 30px 60px -30px rgba(20,20,20,.55)}
.bh-hero::before{content:"";position:absolute;inset:0;background-image:linear-gradient(rgba(255,255,255,.035) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.035) 1px,transparent 1px);background-size:34px 34px;mask-image:linear-gradient(180deg,#000,transparent 85%);pointer-events:none}
.bh-hero-in{position:relative;min-width:0}
.bh-eyebrow{display:inline-flex;align-items:center;gap:8px;font-size:12.5px;font-weight:700;letter-spacing:.02em;color:rgba(255,255,255,.78);background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.12);padding:6px 12px;border-radius:999px}
.bh-eyebrow .dot{position:relative;width:8px;height:8px;border-radius:50%;background:#5fd38d}
.bh-eyebrow .dot::after{content:"";position:absolute;inset:-4px;border-radius:50%;border:2px solid #5fd38d;animation:bhlive 1.8s ease-out infinite}
@keyframes bhlive{0%{transform:scale(.5);opacity:.9}100%{transform:scale(1.9);opacity:0}}
.bh-eyebrow .live{color:#7be3a6;letter-spacing:.08em;text-transform:uppercase;font-size:11.5px}
@media (prefers-reduced-motion:reduce){.bh-eyebrow .dot::after{animation:none}}
@media (max-width:640px){.bh-upd{display:none}}
.bh-hero h1{color:#fff;font-size:clamp(32px,4.6vw,54px);font-weight:850;letter-spacing:-.04em;line-height:1.02;margin:16px 0 10px}
.bh-lede{color:rgba(255,255,255,.76);font-size:16px;max-width:60ch;margin:0 0 22px}
.bh-ask{display:flex;align-items:center;gap:8px;background:#fff;border-radius:16px;padding:7px 7px 7px 16px;box-shadow:0 12px 30px -10px rgba(0,0,0,.5);max-width:680px}
.bh-ask-i{color:#9a9a9a;display:flex}
.bh-ask input{flex:1;min-width:0;border:0;outline:0;font:inherit;font-size:17px;padding:12px 4px;color:#222;background:transparent}
.bh-mic{flex:none;width:46px;height:46px;border-radius:12px;border:1px solid var(--bh-line);background:#fff;color:#333;display:inline-flex;align-items:center;justify-content:center;cursor:pointer}
.bh-mic[hidden]{display:none}
.bh-mic:hover{border-color:var(--bh-t);color:var(--bh-t)}
.bh-mic.on{background:var(--bh-t);border-color:var(--bh-t);color:#fff;animation:bhmic 1.2s ease-in-out infinite}
@keyframes bhmic{50%{box-shadow:0 0 0 7px rgba(177,85,51,.22)}}
.bh-go{flex:none;height:46px;padding:0 24px;border:0;border-radius:12px;background:var(--bh-t);color:#fff;font-weight:800;font-size:16px;cursor:pointer}
.bh-go:hover{background:#9a4529}
.bh-chips{display:flex;flex-wrap:wrap;gap:8px;margin:14px 0 0;max-width:680px}
.bh-chips a{color:#fff;text-decoration:none;font-size:13px;padding:7px 12px;border-radius:999px;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.16);transition:background .15s}
.bh-chips a:hover{background:rgba(255,255,255,.16)}
.bh-fine{color:rgba(255,255,255,.55);font-size:12.5px;margin:12px 0 0}
.bh-stats{display:flex;flex-wrap:wrap;gap:10px 30px;list-style:none;margin:26px 0 0;padding:20px 0 0;border-top:1px solid rgba(255,255,255,.1)}
.bh-stats li{display:flex;flex-direction:column}
.bh-stats b{font-size:26px;font-weight:850;letter-spacing:-.03em;line-height:1.1}
.bh-stats span{font-size:12.5px;color:rgba(255,255,255,.6)}
.bh-cover{position:relative;display:block;border-radius:10px;overflow:hidden;transform:rotate(2.5deg) translateZ(0);backface-visibility:hidden;-webkit-backface-visibility:hidden;outline:1px solid transparent;box-shadow:0 30px 50px -18px rgba(0,0,0,.7);transition:transform .25s ease;text-decoration:none;background:#2a2a2b;will-change:transform}
.bh-cover img{display:block;width:100%;height:auto;transform:scale(1.012);backface-visibility:hidden}
.bh-cover span{position:absolute;left:12px;right:12px;bottom:12px;display:flex;align-items:center;justify-content:center;gap:6px;background:rgba(28,28,29,.88);color:#fff;font-weight:700;font-size:13.5px;padding:10px;border-radius:10px;opacity:0;transform:translateY(6px);transition:all .2s}
.bh-cover:hover{transform:rotate(0) translateY(-4px) translateZ(0)}
.bh-cover:hover span,.bh-cover:focus span{opacity:1;transform:none}

/* three ways in */
.bh-three{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin:0 0 18px}
.bh-card{position:relative;display:flex;flex-direction:column;background:#fff;border:1px solid var(--bh-line);border-radius:var(--bh-r);padding:24px;min-height:340px;box-shadow:0 1px 0 rgba(0,0,0,.02),0 18px 40px -30px rgba(30,30,30,.35);transition:transform .18s ease,box-shadow .18s ease}
.bh-card:hover{transform:translateY(-2px);box-shadow:0 1px 0 rgba(0,0,0,.02),0 26px 50px -30px rgba(30,30,30,.45)}
.bh-card h2{font-size:21px;font-weight:800;letter-spacing:-.025em;margin:16px 0 8px}
.bh-card p{color:var(--bh-mut);font-size:14.5px;line-height:1.55;margin:0 0 18px;flex:1}
.bh-ci{width:48px;height:48px;border-radius:14px;display:flex;align-items:center;justify-content:center;background:#F6ECE6;color:var(--bh-t)}
.bh-feature{background:linear-gradient(180deg,#fff 0%,#fff 60%,#FBF4EF 100%);border-color:#EBD8CC}
.bh-feature .bh-ci{background:var(--bh-t);color:#fff}
.bh-row{display:flex;align-items:center;gap:16px;flex-wrap:wrap}
.bh-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;align-self:flex-start;text-decoration:none;font-weight:750;font-size:14.5px;padding:12px 18px;border-radius:12px;border:1px solid #d9d5cf;color:#222;background:#fff;cursor:pointer;white-space:nowrap;transition:all .15s}
.bh-btn:hover{border-color:var(--bh-t);color:var(--bh-t)}
.bh-btn.primary{background:var(--bh-t);border-color:var(--bh-t);color:#fff}
.bh-btn.primary:hover{background:#9a4529;border-color:#9a4529;color:#fff}
.bh-btn.dark{background:#1f1f20;border-color:#1f1f20;color:#fff}
.bh-btn.sm{padding:8px 13px;font-size:13px;border-radius:10px}
.bh-btn.ghost{background:transparent}
.bh-link{color:var(--bh-t);font-weight:700;font-size:14px;text-decoration:none}
.bh-link:hover{text-decoration:underline}
.bh-draw p{flex:0 0 auto;margin-bottom:12px}
.bh-filter{display:flex;align-items:center;gap:8px;border:1px solid var(--bh-line);border-radius:10px;padding:0 10px;color:#999;margin:0 0 8px;background:#FAF9F7}
.bh-filter input{flex:1;min-width:0;border:0;outline:0;background:transparent;font:inherit;font-size:14px;padding:9px 0;color:#222}
.bh-dlist{list-style:none;margin:0 -8px;padding:0;flex:1 1 0;min-height:150px;overflow:auto;mask-image:linear-gradient(180deg,#000 85%,transparent);-webkit-mask-image:linear-gradient(180deg,#000 85%,transparent);scrollbar-width:thin}
.bh-dlist li a{display:flex;flex-direction:column;padding:8px;border-radius:10px;text-decoration:none;color:#222}
.bh-dlist li a:hover{background:#F6ECE6}
.bh-dlist .t{font-weight:650;font-size:13.5px;line-height:1.3}
.bh-dlist .n{font-size:11.5px;color:var(--bh-mut);font-family:var(--mono,ui-monospace,monospace)}
.bh-dlist li[hidden]{display:none}

/* tiles */
.bh-tiles{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:14px;margin:0 0 26px}
.bh-tile{display:flex;align-items:center;gap:14px;background:#fff;border:1px solid var(--bh-line);border-radius:16px;padding:16px;text-decoration:none;color:#222;transition:all .15s}
.bh-tile:hover{border-color:#e2c4b4;transform:translateY(-1px);box-shadow:0 14px 30px -24px rgba(30,30,30,.5)}
.bh-ti{width:42px;height:42px;flex:none;border-radius:12px;background:#F4F3F1;color:#333;display:flex;align-items:center;justify-content:center}
.bh-tile:hover .bh-ti{background:#F6ECE6;color:var(--bh-t)}
.bh-tt{flex:1;min-width:0;display:flex;flex-direction:column}
.bh-tt b{font-size:14.5px;font-weight:750}
.bh-tt span{font-size:12.5px;color:var(--bh-mut);line-height:1.35}
.bh-ta{color:#bbb;flex:none;transition:transform .15s}
.bh-tile:hover .bh-ta{color:var(--bh-t);transform:translateX(3px)}

/* sections */
.bh-section{background:#fff;border:1px solid var(--bh-line);border-radius:var(--bh-r);padding:24px;margin:0 0 26px}
.bh-sh{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;flex-wrap:wrap;margin:0 0 14px}
.bh-sh h2{font-size:21px;font-weight:800;letter-spacing:-.025em;margin:0 0 4px}
.bh-sh p{margin:0;color:var(--bh-mut);font-size:14px}
.bh-files{list-style:none;margin:0;padding:0}
.bh-files li{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:14px;padding:12px 4px;border-top:1px solid #F0EEEA}
.bh-files li:first-child{border-top:0}
.bh-fi{width:38px;height:38px;border-radius:10px;background:#F6ECE6;color:var(--bh-t);display:flex;align-items:center;justify-content:center}
.bh-ft{min-width:0;display:flex;flex-direction:column}
.bh-ft b{font-weight:650;font-size:14px;line-height:1.35}
.bh-ft span{font-size:12.5px;color:var(--bh-mut)}
.bh-fa{display:flex;gap:8px;flex-wrap:nowrap}
.bh-more{margin-top:8px;border-top:1px solid #F0EEEA;padding-top:10px}
.bh-more summary{cursor:pointer;font-weight:700;font-size:14px;list-style:none;padding:6px 4px}
.bh-more summary::-webkit-details-marker{display:none}
.bh-more summary::before{content:"+";display:inline-block;width:20px;color:var(--bh-t);font-weight:800}
.bh-more[open] summary::before{content:"−"}
.bh-more summary span{font-weight:500;color:var(--bh-mut);font-size:13px;margin-left:6px}
.bh-foot{color:var(--bh-mut);font-size:12.5px;text-align:center;margin:10px 0 30px}

/* your building, your way (routes/buildingextras.js) */
.bh-way h2.bh-h{font-size:24px;font-weight:850;letter-spacing:-.03em;margin:8px 0 4px}
.bh-way>p{color:var(--bh-mut);margin:0 0 16px}
.bh-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin:0 0 26px}
.bh-x{background:#fff;border:1px solid var(--bh-line);border-radius:var(--bh-r);padding:24px;display:flex;flex-direction:column}
.bh-x h3{font-size:18px;font-weight:800;letter-spacing:-.02em;margin:14px 0 6px;display:flex;align-items:center;gap:8px}
.bh-x>p{color:var(--bh-mut);font-size:14px;margin:0 0 14px}
.bh-x.dark{background:linear-gradient(160deg,#262627,#161617);color:#fff;border-color:#262627}
.bh-x.dark>p,.bh-x.dark li{color:rgba(255,255,255,.78)}
.bh-x.dark .bh-ci{background:rgba(255,255,255,.1);color:#fff}
.bh-x.accent{border:2px solid #E8C8B6;background:linear-gradient(180deg,#fff,#FCF6F2)}
.bh-pill{font-size:11px;font-weight:800;letter-spacing:.06em;background:var(--bh-t);color:#fff;padding:3px 8px;border-radius:999px}
.bh-ticks{list-style:none;margin:0 0 16px;padding:0;display:grid;grid-template-columns:1fr 1fr;gap:6px 14px;font-size:13.5px}
.bh-ticks li{display:flex;gap:8px;align-items:flex-start;line-height:1.35}
.bh-ticks li::before{content:"";flex:none;width:16px;height:16px;margin-top:1px;border-radius:50%;background:rgba(95,211,141,.18) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.3l2.2 2.2 4.8-5' fill='none' stroke='%235fd38d' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat}
.bh-people{list-style:none;margin:0 0 14px;padding:0}
.bh-people li{display:flex;align-items:center;gap:10px;padding:8px 0;border-top:1px solid #F0EEEA}
.bh-av{width:32px;height:32px;border-radius:50%;background:#F6ECE6;color:var(--bh-t);display:flex;align-items:center;justify-content:center;font-weight:800;font-size:13px;flex:none}
.bh-people b{font-size:14px}.bh-people span.c{color:var(--bh-mut);font-size:12.5px}
.bh-x details>summary{list-style:none;cursor:pointer;display:inline-flex}
.bh-x details>summary::-webkit-details-marker{display:none}
.bh-x details[open]>summary{margin-bottom:12px}
.bh-form{display:grid;gap:10px}
.bh-form .two{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.bh-form label{display:flex;flex-direction:column;gap:4px;font-size:12.5px;font-weight:700;color:#444}
.bh-form input,.bh-form textarea,.bh-form select{font:inherit;font-size:14.5px;font-weight:400;border:1px solid #dcd8d2;border-radius:10px;padding:10px 12px;background:#fff;color:#222;width:100%}
.bh-form input:focus,.bh-form textarea:focus,.bh-form select:focus{outline:0;border-color:var(--bh-t);box-shadow:0 0 0 3px rgba(177,85,51,.14)}
.bh-form .bh-btn{margin-top:4px}
.bh-seg{display:flex;flex-wrap:wrap;gap:6px}
.bh-seg label{flex-direction:row;align-items:center;gap:6px;border:1px solid #dcd8d2;border-radius:999px;padding:7px 12px;font-weight:600;cursor:pointer;background:#fff}
.bh-seg input{width:auto;margin:0;accent-color:var(--bh-t)}
.bh-seg label:has(input:checked){border-color:var(--bh-t);background:#FBF1EC;color:var(--bh-t)}
.bh-vols{display:grid;gap:4px;border:1px solid #EEE9E3;border-radius:10px;padding:8px 10px;max-height:170px;overflow:auto;background:#FCFBFA}
.bh-vols label{flex-direction:row;align-items:center;gap:8px;font-weight:500;font-size:13px}
.bh-vols input{width:auto;accent-color:var(--bh-t)}
.bh-price{display:flex;align-items:baseline;justify-content:space-between;gap:10px;background:#1f1f20;color:#fff;border-radius:12px;padding:12px 16px}
.bh-price b{font-size:24px;font-weight:850;letter-spacing:-.02em}
.bh-price span{font-size:12.5px;color:rgba(255,255,255,.7)}
.bh-msg{border-radius:14px;padding:12px 16px;margin:0 0 16px;font-weight:600;background:#E6F1E8;color:#2E6B3F}
.bh-msg.bad{background:#FBF1DC;color:#7D5408}
.bh-help{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:22px}
.bh-faq details{border-top:1px solid #F0EEEA;padding:10px 0}
.bh-faq details:first-child{border-top:0}
.bh-faq summary{cursor:pointer;font-weight:700;font-size:14px;list-style:none}
.bh-faq summary::-webkit-details-marker{display:none}
.bh-faq summary::after{content:"+";float:right;color:var(--bh-t);font-weight:800}
.bh-faq details[open] summary::after{content:"−"}
.bh-faq p{margin:8px 0 0;color:var(--bh-mut);font-size:13.5px}

@media (max-width:1060px){.bh-hero{grid-template-columns:1fr}.bh-cover{display:none}}
@media (max-width:980px){.bh-three{grid-template-columns:1fr 1fr}.bh-three .bh-draw{grid-column:1/-1}.bh-cards,.bh-help{grid-template-columns:1fr}}
@media (max-width:640px){
  .bh-hero{padding:26px 20px 22px;border-radius:22px;margin:0 0 16px}
  .bh-hero h1{font-size:32px}
  .bh-lede{font-size:15px}
  .bh-ask{padding:5px 5px 5px 12px;border-radius:14px}
  .bh-ask-i{display:none}
  .bh-ask input{font-size:16px;padding:10px 2px}
  .bh-go{padding:0 16px}
  .bh-stats{gap:8px 20px}.bh-stats b{font-size:21px}
  .bh-three{grid-template-columns:1fr}
  .bh-card{min-height:0;padding:20px}
  .bh-files li{grid-template-columns:auto minmax(0,1fr);gap:10px}
  .bh-fa{grid-column:2}
  .bh-section,.bh-x{padding:20px}
  .bh-form .two{grid-template-columns:1fr}
  .bh-ticks{grid-template-columns:1fr}
}

.bh-tile[aria-expanded="true"]{border-color:var(--bh-t);background:#FBF4EF}
.bh-tile[aria-expanded="true"] .bh-ta{transform:rotate(90deg);color:var(--bh-t)}
.bh-dls[hidden]{display:none}
.bh-copy{display:flex;gap:8px;align-items:center;margin:0 0 12px;flex-wrap:wrap}
.bh-copy input{flex:1;min-width:0;font:inherit;font-size:13px;border:1px solid #dcd8d2;border-radius:10px;padding:9px 11px;background:#FAF9F7;color:#444}
.bh-copy .bh-btn.ok{background:#2E6B3F;border-color:#2E6B3F;color:#fff}
.bh-role{font-size:11px;font-weight:700;color:var(--bh-t);background:#F6ECE6;border-radius:999px;padding:2px 8px;margin-left:6px}

/* 7th of November 2026 (Sam): no big blank spaces. Washed out pictures fill the spare room in the cards, the
   "everything included" card is smaller, and the printed copy / USB card stays short until someone starts choosing. */
.bh-card,.bh-x{position:relative;overflow:hidden}
.bh-card>*:not(.bh-art),.bh-x>*:not(.bh-art){position:relative;z-index:1}
.bh-art{position:absolute;z-index:0;pointer-events:none;user-select:none}
.bh-art span{position:absolute;display:block;border-radius:6px;overflow:hidden}
.bh-art img,.bh-art svg{display:block;width:100%;height:auto}
.bh-art-man{right:-10px;bottom:-6px;width:230px;height:210px;opacity:.5;-webkit-mask-image:linear-gradient(200deg,#000 35%,transparent 92%);mask-image:linear-gradient(200deg,#000 35%,transparent 92%)}
.bh-art-man span{width:118px;box-shadow:0 16px 28px -14px rgba(0,0,0,.55)}
.bh-art-man .b1{right:86px;bottom:6px;transform:rotate(-10deg);opacity:.75}
.bh-art-man .b2{right:44px;bottom:16px;transform:rotate(-2deg);opacity:.9}
.bh-art-man .b3{right:2px;bottom:26px;transform:rotate(7deg)}
.bh-art-ess{right:-8px;bottom:40px;width:170px;height:190px;opacity:.55;-webkit-mask-image:linear-gradient(200deg,#000 40%,transparent 95%);mask-image:linear-gradient(200deg,#000 40%,transparent 95%)}
.bh-art-ess span{width:100px;box-shadow:0 14px 26px -16px rgba(60,40,30,.5)}
.bh-art-ess .p2{right:52px;bottom:4px;transform:rotate(-8deg);opacity:.6}
.bh-art-ess .p1{right:6px;bottom:18px;transform:rotate(5deg)}
.bh-art-qr{right:-4px;bottom:-34px;width:400px;height:220px;opacity:.38;-webkit-mask-image:linear-gradient(195deg,#000 30%,transparent 95%);mask-image:linear-gradient(195deg,#000 30%,transparent 95%)}
.bh-art-qr span{width:118px;filter:drop-shadow(0 10px 14px rgba(60,40,30,.25))}
.bh-art-qr .q1{right:250px;bottom:10px;transform:rotate(-12deg)}
.bh-art-qr .q2{right:128px;bottom:34px;transform:rotate(-3deg)}
.bh-art-qr .q3{right:8px;bottom:12px;transform:rotate(9deg)}
.bh-x.accent details[open]~.bh-art{display:none}
/* the button keeps clear of the pictures */
.bh-feature .bh-btn,.bh-card .bh-row{position:relative;z-index:2}

/* the two cards under them sit at their own height */
.bh-x.compact{padding:20px 22px}
.bh-x.compact .bh-ci{width:40px;height:40px;border-radius:12px}
.bh-x.compact h3{font-size:16.5px;margin:10px 0 4px}
.bh-x.compact>p{font-size:13px;margin:0 0 10px}
.bh-x.compact .bh-ticks{font-size:12.5px;gap:4px 12px;margin:0 0 12px}
.bh-x.compact .bh-btn{padding:10px 16px;font-size:14px}
#order .bh-form{gap:8px}
#order .bh-price{padding:10px 14px}
#order .bh-price b{font-size:21px}
.bh-more{display:grid;gap:10px}
.bh-more[hidden]{display:none}
@media (max-width:640px){.bh-art{display:none}}  /* on a phone the cards have no spare room to fill */
#order [data-more-open]{justify-self:start}
/* 7th of November 2026: the bottom two cards finish level; the parts that open under the tiles */
.bh-x.dark.compact>.bh-btn{margin-top:auto}
.bh-drop[hidden]{display:none}
.bh-drop .repo-tools{margin:0 0 12px}
.bh-drop .repo-tools input{width:100%;font:inherit;font-size:14.5px;border:1px solid #dcd8d2;border-radius:10px;padding:10px 12px}
.bh-steps{margin:0 0 16px;padding:0;list-style:none;counter-reset:s;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.bh-steps li{counter-increment:s;background:#FCFAF8;border:1px solid #F0EBE6;border-radius:14px;padding:14px 14px 14px 52px;position:relative;font-size:13.5px;line-height:1.45}
.bh-steps li::before{content:counter(s);position:absolute;left:14px;top:14px;width:26px;height:26px;border-radius:50%;background:var(--bh-t);color:#fff;font-weight:800;font-size:13px;display:flex;align-items:center;justify-content:center}
.bh-steps b{display:block;margin:0 0 4px}.bh-steps span{color:var(--bh-mut)}
@media (max-width:820px){.bh-steps{grid-template-columns:1fr}}
