/* JRB Builders: navy from his own logo, limestone and brass for the finishes, blueprint blue for the drawings */
:root {
  --ink: #13213a; --navy: #1b3558; --bp: #16345c; --bp-line: rgba(220, 232, 248, .85);
  --cream: #f5f0e8; --stone: #e8e0d4; --sand: #d8cdbd; --brass: #b8894a; --brass2: #d9b77a;
  --char: #1c1c1a; --muted: #6d655a; --line: rgba(19, 33, 58, .14);
  --ease: cubic-bezier(.2, .75, .15, 1);
  --serif: 'Fraunces', Georgia, serif; --sans: 'Manrope', system-ui, sans-serif; --mono: 'JetBrains Mono', ui-monospace, monospace;
  --pad: max(clamp(20px, 5vw, 72px), calc((100vw - 1320px) / 2));
  /* the space above and below a section, and above and below the two that close a page; the space under a section's heading */
  --sec: clamp(46px, 6vw, 86px); --sec-lg: clamp(54px, 7vw, 98px); --head-gap: clamp(24px, 3.2vw, 42px);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { overflow-x: clip; }
html { scroll-behavior: auto; -webkit-text-size-adjust: 100%; }
body { font-family: var(--sans); color: var(--char); background: var(--cream); font-size: 17px; line-height: 1.6; }
/* Fraunces at a text-size optical cut: sturdy, low-contrast strokes that stay readable at every size (Bodoni's hairlines did not) */
body { font-variation-settings: 'opsz' 30; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3 { font-weight: 500; line-height: 1.08; letter-spacing: -.01em; }
h2 { font-family: var(--serif); font-size: clamp(34px, 4.6vw, 64px); }
em { font-style: italic; }
.eyebrow { font-family: var(--mono); font-size: 12.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--brass); margin-bottom: 18px; }
.sec-head { padding: 0 var(--pad); max-width: calc(956px + 2 * var(--pad)); margin-bottom: var(--head-gap); }
.sec-head h2 em { color: var(--brass); }
.sec-sub { margin-top: 20px; max-width: 640px; color: var(--muted); font-size: 18px; }
.sec-head.light h2, .sec-head.light .sec-sub { color: #f3efe8; }
.sec-head.light .sec-sub { color: rgba(243, 239, 232, .72); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; border: 0; cursor: pointer; text-decoration: none; font-weight: 700; font-size: 15px; padding: 12px 20px; border-radius: 999px; white-space: nowrap; transition: background .3s, color .3s, box-shadow .3s; }
.btn-lg { padding: 16px 28px; font-size: 16px; }
.btn-brass { background: var(--brass); color: #fff; box-shadow: 0 10px 30px -12px rgba(184, 137, 74, .8); }
.btn-brass:hover { background: #a7783b; }
.btn-ghost { background: rgba(255, 255, 255, .1); color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .55); backdrop-filter: blur(6px); }
.btn-ghost:hover { background: rgba(255, 255, 255, .2); }
.btn-ink { background: var(--ink); color: #fff; }
.btn-line { background: transparent; box-shadow: inset 0 0 0 1.5px var(--ink); color: var(--ink); }

/* reading bar + header */
.readbar { position: fixed; z-index: 60; top: 0; left: 0; right: 0; height: 3px; background: var(--brass); }
.top { position: fixed; z-index: 50; top: 0; left: 0; right: 0; display: flex; align-items: center; gap: 24px; padding: 18px var(--pad); color: #fff; transition: background .4s, padding .4s, color .4s, box-shadow .4s; }
.has-scrolled .top { background: rgba(245, 240, 232, .94); color: var(--ink); padding-top: 10px; padding-bottom: 10px; box-shadow: 0 1px 0 var(--line); backdrop-filter: blur(10px); }
/* the logo (images/logo, from the designer's vector file): white over the dark picture at the top of a page, full
   colour once the header turns solid */
.mark { position: relative; display: block; flex: none; line-height: 0; text-decoration: none; }
.mark-logo { display: block; height: 58px; width: auto; transition: opacity .4s, height .4s; }
.mark-logo-color { position: absolute; left: 0; top: 0; opacity: 0; }
.has-scrolled .mark-logo { height: 46px; }
.has-scrolled .mark-logo-white { opacity: 0; }
.has-scrolled .mark-logo-color { opacity: 1; }
body.menu-open .mark-logo-white { opacity: 1; }
body.menu-open .mark-logo-color { opacity: 0; }
.foot-logo { display: block; height: 72px; width: auto; }
.nav { display: flex; gap: clamp(14px, 2vw, 30px); margin-left: auto; }
.nav a { text-decoration: none; font-weight: 600; font-size: 14.5px; position: relative; }
.nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: -4px; height: 1.5px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease); }
.nav a:hover::after { transform: scaleX(1); }
.top-cta { display: flex; align-items: center; gap: 14px; }
.open-pill { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 600; opacity: .9; }
.open-pill i { width: 8px; height: 8px; border-radius: 50%; background: #9aa; box-shadow: 0 0 0 4px rgba(150, 170, 170, .2); }
.open-pill.is-open i { background: #5cc27a; box-shadow: 0 0 0 4px rgba(92, 194, 122, .25); animation: pulse 2s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 7px rgba(92, 194, 122, .05); } }
.menu-btn { display: none; width: 42px; height: 42px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .14); cursor: pointer; }
.menu-btn span { display: block; width: 18px; height: 2px; margin: 4px auto; background: currentColor; transition: transform .3s; }
.has-scrolled .menu-btn { background: rgba(19, 33, 58, .08); }

/* the compare widget (hero and gallery) */
.compare { --x: 50%; position: relative; overflow: hidden; touch-action: pan-y; user-select: none; cursor: ew-resize; }
.compare img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.cmp-after { position: absolute; inset: 0; }
.cmp-before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--x)) 0 0); }
.cmp-handle { position: absolute; top: 0; bottom: 0; left: var(--x); width: 2px; margin-left: -1px; background: #fff; box-shadow: 0 0 24px rgba(0, 0, 0, .35); outline: none; }
.cmp-knob { position: absolute; top: 58%; left: 50%; width: 58px; height: 58px; margin: -29px 0 0 -29px; border-radius: 50%; background: #fff; color: var(--ink); display: grid; place-items: center; box-shadow: 0 12px 34px -8px rgba(0, 0, 0, .5); transition: transform .3s var(--ease); }
.cmp-knob svg { width: 24px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.compare:hover .cmp-knob, .cmp-handle:focus-visible .cmp-knob { transform: scale(1.1); }
.cmp-tag { position: absolute; bottom: 22px; font-family: var(--mono); font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; padding: 7px 12px; border-radius: 999px; background: rgba(12, 20, 36, .6); color: #fff; backdrop-filter: blur(6px); pointer-events: none; }
.cmp-tag-l { left: 22px; } .cmp-tag-r { right: 22px; }

/* 1 · hero */
.hero { position: relative; height: 100svh; min-height: 640px; color: #fff; overflow: hidden; background: var(--bp); }
.hero-compare { position: absolute; inset: 0; }
.hero-compare .cmp-tag { bottom: auto; top: 108px; }
.hero-shade { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgba(11, 22, 40, .9) 0%, rgba(11, 22, 40, .66) 36%, rgba(11, 22, 40, 0) 64%), linear-gradient(0deg, rgba(11, 22, 40, .7), rgba(11, 22, 40, 0) 40%); }
.hero-copy { position: absolute; left: var(--pad); bottom: clamp(40px, 9vh, 96px); max-width: 640px; pointer-events: none; }
.hero-copy a, .hero-copy .btn { pointer-events: auto; }
.hero-copy .eyebrow { color: var(--brass2); }
.hero h1 { font-family: var(--serif); font-size: clamp(48px, 7.2vw, 112px); font-weight: 500; line-height: .98; letter-spacing: -.02em; }
.hero h1 em { color: var(--brass2); }
.hero-sub { margin-top: 22px; font-size: clamp(16px, 1.4vw, 19px); max-width: 520px; color: rgba(255, 255, 255, .86); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-chips { display: flex; flex-wrap: wrap; gap: 8px 18px; list-style: none; margin-top: 26px; font-size: 13.5px; font-weight: 600; color: rgba(255, 255, 255, .85); }
.hero-chips li::before { content: '✓'; color: var(--brass2); margin-right: 7px; }
.hero-hint { position: absolute; right: var(--pad); bottom: 28px; font-family: var(--mono); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; opacity: .8; }
.hero-hint span::before { content: '⟷ '; }

/* 2 · band */
.band { background: var(--ink); color: var(--cream); padding: 22px 0; }
.band .marquee-track { gap: 34px; align-items: center; }
.band span { font-family: var(--serif); font-size: clamp(22px, 2.6vw, 34px); font-style: italic; white-space: nowrap; }
.band i { color: var(--brass2); font-style: normal; font-size: 16px; }

/* 3 · since */
.since { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 30px clamp(30px, 5vw, 80px); padding: var(--sec-lg) var(--pad); align-items: center; }
.since-year { display: flex; flex-direction: column; color: var(--ink); }
.since-k { font-family: var(--mono); font-size: 14px; letter-spacing: .3em; text-transform: uppercase; color: var(--brass); }
.odo { display: flex; font-family: var(--serif); font-size: clamp(110px, 16vw, 250px); line-height: .9; font-weight: 600; letter-spacing: -.03em; }
/* the side padding (taken back by the negative margin) keeps the digits' curves inside the clip; the tight
   letter-spacing makes each column narrower than its digit, which shaved the right side off the 3 */
.odo .dg { display: inline-block; height: 1.14em; overflow: hidden; padding: 0 .1em; margin: 0 -.1em; }
.odo .dg span { display: block; transition: transform 2.2s var(--ease); }
.odo .dg span b { display: block; height: 1.14em; line-height: 1.14em; font-weight: inherit; }
.since-copy h2 { font-size: clamp(28px, 3.2vw, 46px); color: var(--ink); }
.since-copy p { margin-top: 20px; color: var(--muted); max-width: 560px; }
.since-stats { grid-column: 1 / -1; list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); margin-top: 30px; }
.since-stats li { padding: 26px 20px 0 0; border-right: 1px solid var(--line); margin-right: 20px; }
.since-stats li:last-child { border-right: 0; }
.since-stats b { display: block; font-family: var(--serif); font-size: clamp(38px, 4vw, 58px); font-weight: 600; color: var(--ink); line-height: 1; }
.since-stats span { display: block; margin-top: 10px; font-size: 14.5px; color: var(--muted); }

/* 4 · services */
.services { padding: var(--sec) 0; background: var(--stone); }
.svc { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 4vw, 60px); padding: 0 var(--pad); align-items: stretch; }
.svc-list { list-style: none; border-top: 1px solid var(--line); }
.svc-list button { width: 100%; display: grid; grid-template-columns: 46px 1fr auto; align-items: center; text-align: left; background: none; border: 0; border-bottom: 1px solid var(--line); padding: 22px 0; cursor: pointer; color: var(--ink); }
.svc-list .n { font-family: var(--mono); font-size: 12px; color: var(--brass); }
.svc-list .t { font-family: var(--serif); font-size: clamp(22px, 2.3vw, 32px); transition: transform .5s var(--ease), color .3s; }
.svc-list .arr { opacity: 0; transform: translateX(-12px); transition: .4s var(--ease); font-size: 22px; color: var(--brass); }
.svc-list button[aria-selected="true"] .t, .svc-list button:hover .t { transform: translateX(10px); }
.svc-list button[aria-selected="true"] .t { font-style: italic; }
.svc-list button[aria-selected="true"] .arr { opacity: 1; transform: none; }
.svc-stage { position: relative; border-radius: 6px; overflow: hidden; min-height: 540px; background: var(--ink); }
.svc-pics, .svc-pics img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.svc-pics img.leaving { z-index: 1; }
.svc-pics img.entering { z-index: 2; animation: wipe 1s var(--ease) both; }
@keyframes wipe { from { clip-path: inset(0 0 0 100%); transform: scale(1.06); } to { clip-path: inset(0 0 0 0); transform: none; } }
.svc-card { position: absolute; z-index: 3; left: 22px; right: 22px; bottom: 22px; max-width: 520px; background: rgba(245, 240, 232, .95); backdrop-filter: blur(8px); padding: 26px 28px; border-radius: 4px; }
.svc-card h3 { font-family: var(--serif); font-size: 30px; color: var(--ink); }
.svc-card p { margin-top: 10px; color: #4a443c; font-size: 16px; }
.svc-card.pop { animation: pop .7s var(--ease); }
@keyframes pop { from { opacity: 0; transform: translateY(14px); } }
.svc-go { display: inline-flex; gap: 8px; margin-top: 16px; font-weight: 700; color: var(--brass); text-decoration: none; }
.svc-go span { transition: transform .3s var(--ease); }
.svc-go:hover span { transform: translateX(5px); }

/* 5 · the build scene */
.build { height: 640vh; position: relative; background: var(--bp); color: #eef3fa; }
.build-stage { position: sticky; top: 0; height: 100svh; display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); background: var(--bp); overflow: hidden; }
.build-copy { padding: 110px 0 40px var(--pad); display: flex; flex-direction: column; z-index: 2; }
.build-copy .eyebrow { color: var(--brass2); }
.build-copy h2 { font-size: clamp(34px, 3.6vw, 54px); }
.build-copy h2 em { color: var(--brass2); }
.steps { list-style: none; margin-top: 26px; display: grid; gap: 2px; }
.steps li { display: grid; grid-template-columns: 38px 1fr; gap: 6px; padding: 7px 0; opacity: .34; transition: opacity .5s; }
.steps b { font-family: var(--mono); font-size: 12px; font-weight: 400; color: var(--brass2); padding-top: 4px; }
.steps h3 { font-family: var(--sans); font-size: 16px; font-weight: 700; }
.steps p { font-size: 14px; color: rgba(238, 243, 250, .75); max-height: 0; overflow: hidden; transition: max-height .6s var(--ease); }
.steps li.on { opacity: 1; }
.steps li.on p { max-height: 70px; }
.steps li.done { opacity: .62; }
.build-art { position: relative; overflow: hidden; }
.sky { position: absolute; inset: 0; }
.sky-bp { background: var(--bp); opacity: calc(1 - var(--s5, 0)); }
.sky-day { background: linear-gradient(180deg, #a9c6dc 0%, #dbe5ea 60%, #efe6d6 100%); opacity: calc(var(--s5, 0) * (1 - var(--s6, 0))); }
.sky-dusk { background: linear-gradient(180deg, #1d2547 0%, #4b3f6b 45%, #e29a63 88%, #f0c58c 100%); opacity: var(--s6, 0); }
.house { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 92%; }
.house .draw { fill: none; stroke: var(--bp-line); stroke-width: 2.2; stroke-dasharray: 1; stroke-linecap: butt; }
.house .dash { stroke-dasharray: .01 .012; }
.house .dim { stroke: rgba(217, 183, 122, .9); stroke-width: 1.4; }
.house .lbl { font-family: var(--mono); font-size: 13px; fill: rgba(225, 236, 250, .85); text-anchor: middle; letter-spacing: .1em; }
.b-grid { opacity: calc(1 - var(--s5, 0)); }
.b-lot { opacity: calc(1 - var(--s6, 0)); }
.b-lot .draw { stroke-dashoffset: calc(1 - var(--s0, 0)); }
.b-lot .dash { stroke-dashoffset: 0; opacity: var(--s0, 0); }
.b-plan { opacity: calc(1 - var(--s5, 0) * .92); }
.b-plan .draw { stroke-dashoffset: calc(1 - var(--s1, 0)); }
.b-plan text { opacity: var(--s1, 0); }
.b-stamp { opacity: calc(min(var(--s2, 0) * 4, 1) * (1 - var(--s5, 0))); transform-box: fill-box; transform-origin: center; transform: scale(calc(1.7 - .7 * min(var(--s2, 0) * 2.2, 1))); }
.stamp-t { font-family: var(--mono); font-weight: 600; font-size: 30px; fill: #e46a4a; text-anchor: middle; letter-spacing: .14em; }
.stamp-s { font-family: var(--mono); font-size: 11px; fill: #e46a4a; text-anchor: middle; letter-spacing: .08em; }
.b-found { transform-box: fill-box; transform-origin: 50% 100%; transform: scaleY(var(--s3, 0)); opacity: min(calc(var(--s3, 0) * 3), 1); }
.b-frame line, .b-frame path { stroke: #d9b77a; stroke-width: 3.2; fill: none; opacity: clamp(0, calc(var(--s4, 0) * var(--n) - var(--i)), 1); }
.b-frame { opacity: calc(1 - var(--s5, 0) * .9); }
.b-skin { opacity: var(--s5, 0); }
.b-skin .win-glow { opacity: var(--s6, 0); }
.b-land { opacity: var(--s6, 0); }
.b-tag { opacity: var(--s7, 0); }
.tag-swing { transform-box: view-box; transform-origin: 526px 497px; transform: rotate(calc((1 - var(--s7, 0)) * -40deg)); }
.tag-t { font-family: var(--mono); font-weight: 600; font-size: 14px; fill: var(--ink); text-anchor: middle; }
.tag-s { font-family: var(--mono); font-size: 9.5px; fill: var(--brass); text-anchor: middle; letter-spacing: .12em; }
.build-cap { position: absolute; top: 96px; right: var(--pad); display: flex; gap: 12px; align-items: baseline; padding: 10px 16px; border-radius: 999px; background: rgba(10, 20, 38, .55); backdrop-filter: blur(6px); font-weight: 700; font-size: 14px; }
.build-cap [data-step-n] { font-family: var(--mono); color: var(--brass2); font-weight: 400; }
.build-meter { position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: rgba(255, 255, 255, .12); }
.build-meter i { display: block; height: 100%; background: var(--brass2); transform-origin: left; transform: scaleX(var(--p, 0)); }

/* 6 · work */
.work { padding: var(--sec) 0; }
.work-tabs { display: flex; flex-wrap: wrap; gap: 10px; padding: 0 var(--pad); margin-bottom: 22px; }
.work-tabs button { border: 0; background: transparent; box-shadow: inset 0 0 0 1.5px var(--line); padding: 10px 18px; border-radius: 999px; font-weight: 700; font-size: 14.5px; cursor: pointer; color: var(--ink); transition: .3s; }
.work-tabs button[aria-selected="true"] { background: var(--ink); color: #fff; box-shadow: none; }
.work-compare { margin: 0 var(--pad); aspect-ratio: 16 / 9; border-radius: 6px; background: var(--bp); }
.work-compare img { transition: opacity .5s; }
.work-compare.swap img { opacity: 0; }
.work-note { padding: 18px var(--pad) 0; max-width: calc(676px + 2 * var(--pad)); color: var(--muted); font-family: var(--serif); font-style: italic; font-size: 20px; }

/* 7 · design studio */
.studio { padding: var(--sec) 0; background: #ece5da; }
.studio-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(24px, 4vw, 56px); padding: 0 var(--pad); align-items: start; }
.room-wrap { position: sticky; top: 90px; border-radius: 6px; overflow: hidden; box-shadow: 0 40px 80px -40px rgba(19, 33, 58, .45); background: #efe9df; }
.room { display: block; width: 100%; height: auto; }
.room .cab { fill: var(--cab, #f1ece3); transition: fill .6s var(--ease); }
.room .cab-panel { stroke: color-mix(in oklab, var(--cab, #f1ece3), #000 16%); transition: stroke .6s var(--ease); }
.room.flash { animation: flash .6s ease; }
@keyframes flash { 30% { filter: brightness(1.08) saturate(1.1); } }
.studio-panel { display: grid; gap: 20px; }
.pick h3 { font-family: var(--sans); font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--ink); display: flex; justify-content: space-between; gap: 10px; }
.pick h3 span { font-family: var(--serif); text-transform: none; letter-spacing: 0; font-size: 17px; font-weight: 500; font-style: italic; color: var(--brass); }
.sw-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; }
.sw { width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--c); cursor: pointer; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .12), 0 0 0 0 var(--ink); transition: box-shadow .3s, transform .3s var(--ease); }
.sw-sq { border-radius: 8px; }
.sw:hover { transform: translateY(-3px); }
.sw[aria-pressed="true"] { box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .12), 0 0 0 3px #ece5da, 0 0 0 5px var(--ink); }
.board { margin-top: 6px; background: #fbf8f2; border-radius: 6px; padding: 20px; box-shadow: 0 20px 40px -30px rgba(19, 33, 58, .5); }
.board-chips { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.board-chips div { aspect-ratio: 1; border-radius: 4px; background: var(--c); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .1); position: relative; animation: pop .5s var(--ease); }
.board-chips small { position: absolute; left: 0; right: 0; top: calc(100% + 4px); font-size: 10.5px; line-height: 1.2; color: var(--muted); text-align: center; }
.board-name { margin-top: 34px; font-family: var(--serif); font-size: 24px; font-style: italic; color: var(--ink); }
.board-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.board-actions .saved { background: #3d6b4a; }

/* 8 · start your build */
.start { padding: var(--sec) 0; background: var(--ink); color: #f3efe8; background-image: linear-gradient(rgba(220, 232, 248, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(220, 232, 248, .05) 1px, transparent 1px); background-size: 32px 32px; }
.start .eyebrow { color: var(--brass2); }
.start-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(24px, 4vw, 60px); padding: 0 var(--pad); align-items: start; }
.planner { display: grid; gap: 26px; }
.planner fieldset { border: 0; }
.planner legend { font-weight: 700; font-size: 15px; margin-bottom: 12px; display: flex; gap: 12px; align-items: baseline; }
.planner legend output { font-family: var(--mono); color: var(--brass2); font-weight: 400; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips button { border: 0; padding: 11px 16px; border-radius: 999px; background: rgba(255, 255, 255, .07); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18); color: #f3efe8; font-weight: 600; font-size: 14.5px; cursor: pointer; transition: .25s; }
.chips button:hover { background: rgba(255, 255, 255, .13); }
.chips button[aria-pressed="true"] { background: var(--brass); box-shadow: none; color: #fff; }
input[type="range"] { width: 100%; accent-color: var(--brass2); height: 30px; }
.beds { display: flex; align-items: center; gap: 12px; margin-top: 12px; font-size: 14.5px; }
.beds button { width: 36px; height: 36px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .1); color: #fff; font-size: 18px; cursor: pointer; }
.beds output { font-family: var(--mono); min-width: 20px; text-align: center; }
.beds.hide { display: none; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.planner select { width: 100%; padding: 12px 14px; border-radius: 8px; border: 0; background: rgba(255, 255, 255, .08); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .2); color: #f3efe8; }
.planner select option { color: #111; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; cursor: pointer; }
.check input { width: 20px; height: 20px; accent-color: var(--brass2); margin-top: 3px; }
.brief { position: sticky; top: 90px; }
.brief-sheet { background: var(--bp); border-radius: 6px; padding: 18px; box-shadow: 0 0 0 1px rgba(220, 232, 248, .2), 0 40px 80px -30px rgba(0, 0, 0, .6); font-family: var(--mono); color: #e7eef8; transform: perspective(1200px) rotateY(var(--ry, 0deg)) rotateX(var(--rx, 0deg)); transition: transform .5s var(--ease); background-image: linear-gradient(rgba(220, 232, 248, .08) 1px, transparent 1px), linear-gradient(90deg, rgba(220, 232, 248, .08) 1px, transparent 1px); background-size: 20px 20px; }
.brief-head, .brief-foot { display: flex; justify-content: space-between; gap: 10px; font-size: 11px; letter-spacing: .12em; border: 1px solid rgba(220, 232, 248, .4); padding: 8px 10px; }
.brief-foot { margin-top: 12px; flex-wrap: wrap; font-size: 10px; color: rgba(231, 238, 248, .7); }
.brief-plan { width: 100%; height: auto; margin: 12px 0 6px; }
.brief-plan .wall { fill: rgba(220, 232, 248, .06); stroke: #e7eef8; stroke-width: 3; transition: all .6s var(--ease); }
.brief-plan .room-l { stroke: rgba(231, 238, 248, .6); stroke-width: 1.4; stroke-dasharray: 4 4; fill: none; }
.brief-plan text { font-family: var(--mono); font-size: 10px; fill: rgba(231, 238, 248, .8); text-anchor: middle; }
.brief-plan .dimt { fill: var(--brass2); }
.brief-list { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; font-size: 13px; }
.brief-list dt { color: var(--brass2); text-transform: uppercase; font-size: 10.5px; letter-spacing: .12em; padding-top: 2px; }
.brief-list dd { color: #fff; }
.brief-list dd.new { animation: pop .5s var(--ease); }
.brief-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }

/* 9 · why */
.why { padding: var(--sec) 0; }
.why-grid { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); margin: 0 var(--pad); border: 1px solid var(--line); }
.why-grid li { background: var(--cream); padding: 34px 30px; transition: background .4s; }
.why-grid li:hover { background: #fffaf2; }
.why-grid svg { width: 46px; height: 46px; fill: none; stroke: var(--brass); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.why-grid svg path { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.6s var(--ease) .2s; }
.why-grid li.in svg path { stroke-dashoffset: 0; }
.why-grid h3 { font-family: var(--serif); font-size: 26px; margin-top: 18px; color: var(--ink); }
.why-grid p { margin-top: 8px; color: var(--muted); font-size: 15.5px; }

/* 10 · faq */
.faq { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(24px, 5vw, 80px); padding: var(--sec) var(--pad); background: var(--stone); }
.faq-side { position: sticky; top: 100px; align-self: start; }
.faq-side h2 { font-size: clamp(32px, 3.4vw, 48px); color: var(--ink); }
.faq-side p { margin-top: 18px; color: var(--muted); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list details:first-child { border-top: 1px solid var(--line); }
.faq-list summary { list-style: none; cursor: pointer; padding: 22px 44px 22px 0; position: relative; font-weight: 700; font-size: 17.5px; color: var(--ink); }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: ''; position: absolute; right: 4px; top: 50%; width: 16px; height: 16px; margin-top: -8px; background: linear-gradient(var(--brass), var(--brass)) center / 100% 2px no-repeat, linear-gradient(var(--brass), var(--brass)) center / 2px 100% no-repeat; transition: transform .4s var(--ease); }
.faq-list details[open] summary::after { transform: rotate(135deg); }
.faq-list details p { padding: 0 44px 22px 0; color: #4a443c; }
.faq-list details[open] p { animation: pop .5s var(--ease); }

/* 11 · journal */
.journal { padding: var(--sec) 0; overflow: hidden; }
.journal-rail { padding: 0 var(--pad); }
.journal-row { display: flex; gap: 18px; width: max-content; }
.post { width: 340px; flex: none; text-decoration: none; background: #fff; padding: 26px; border-radius: 6px; box-shadow: 0 1px 0 var(--line); display: flex; flex-direction: column; gap: 10px; transition: transform .4s var(--ease), box-shadow .4s; }
.post:hover { transform: translateY(-6px); box-shadow: 0 24px 40px -24px rgba(19, 33, 58, .4); }
.post-n { font-family: var(--mono); font-size: 12px; color: var(--brass); }
.post h3 { font-family: var(--serif); font-size: 23px; color: var(--ink); }
.post p { font-size: 14.5px; color: var(--muted); }

/* 12 · contact */
.contact { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(24px, 5vw, 70px); padding: var(--sec) var(--pad); background: var(--cream); align-items: start; }
.contact-map { border-radius: 6px; overflow: hidden; position: sticky; top: 90px; }
.contact-map svg { display: block; width: 100%; height: auto; }
.contact-map .road { stroke: rgba(217, 183, 122, .5); stroke-width: 2; stroke-dasharray: 6 6; fill: none; animation: road 1.6s linear infinite; }
@keyframes road { to { stroke-dashoffset: -24; } }
.contact-map .ripples circle { fill: none; stroke: var(--brass2); stroke-width: 1.5; transform-box: fill-box; transform-origin: center; animation: ripple 4.5s var(--ease) infinite; opacity: 0; }
.contact-map .ripples circle:nth-child(2) { animation-delay: 1.5s; } .contact-map .ripples circle:nth-child(3) { animation-delay: 3s; }
@keyframes ripple { 0% { transform: scale(.2); opacity: .9; } 100% { transform: scale(6); opacity: 0; } }
.contact-map .town circle { fill: #e7eef8; }
.contact-map .town text { font-family: var(--sans); font-weight: 700; font-size: 16px; fill: #e7eef8; text-anchor: middle; }
.contact-map .town.home circle { fill: var(--brass2); }
.contact-map .town.home text { font-family: var(--serif); font-size: 24px; fill: var(--brass2); }
.contact-map .town.home .sm { font-family: var(--mono); font-size: 10px; letter-spacing: .14em; fill: rgba(231, 238, 248, .65); text-transform: uppercase; }
.contact-copy h2 { color: var(--ink); }
.contact-copy > p { margin-top: 16px; color: var(--muted); }
.contact-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 26px 0; }
.cc { display: flex; flex-direction: column; gap: 2px; padding: 16px 18px; border-radius: 6px; background: #fff; text-decoration: none; box-shadow: 0 1px 0 var(--line); min-width: 0; }
.cc span { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--brass); }
.cc b { color: var(--ink); font-size: 15.5px; overflow-wrap: anywhere; }
.cc small { color: var(--muted); font-size: 13px; }
a.cc:hover { box-shadow: 0 0 0 1.5px var(--brass); }
.consult { display: grid; gap: 14px; padding: 24px; background: var(--ink); border-radius: 6px; color: #f3efe8; }
.consult label { display: grid; gap: 6px; font-size: 13px; font-weight: 700; letter-spacing: .02em; }
.consult input, .consult select, .consult textarea { width: 100%; padding: 12px 14px; border: 0; border-radius: 6px; background: rgba(255, 255, 255, .08); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .2); color: #fff; font-weight: 500; }
.consult select option { color: #111; }
.consult .f2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.consult .btn { justify-self: start; }
.consult-note { font-size: 13.5px; color: rgba(243, 239, 232, .7); }
.consult-note.ok { color: var(--brass2); font-weight: 700; }
.pay { margin-top: 16px; font-size: 13.5px; color: var(--muted); }

/* footer + phone call bar */
.foot { background: var(--ink); color: #e9e3d8; padding: 60px var(--pad) 90px; }
.foot-top { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px; }
.foot-mark p { margin-top: 12px; max-width: 420px; color: rgba(233, 227, 216, .7); font-size: 15px; }
.foot-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px 20px; }
.foot-links a { text-decoration: none; font-size: 14.5px; color: rgba(233, 227, 216, .85); }
.foot-links a:hover { color: var(--brass2); }
.foot-line { margin-top: 44px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: 13px; color: rgba(233, 227, 216, .6); }
.callbar { display: none; }

/* tablets */
@media (max-width: 1100px) {
  .nav { display: none; }
  .menu-btn { display: block; }
  .top-cta .btn { display: none; }
  body.menu-open .nav { display: flex; position: fixed; inset: 0; z-index: -1; flex-direction: column; justify-content: center; align-items: center; gap: 22px; background: var(--ink); color: #fff; }
  body.menu-open .nav a { font-family: var(--serif); font-size: 34px; }
  body.menu-open .top { color: #fff; background: transparent; box-shadow: none; }
  body.menu-open .menu-btn span:first-child { transform: translateY(3px) rotate(45deg); }
  body.menu-open .menu-btn span:last-child { transform: translateY(-3px) rotate(-45deg); }
  .build-stage { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr); }
  .build-copy { padding: 84px var(--pad) 0; }
  .steps { display: block; margin-top: 14px; min-height: 92px; }
  .steps li { display: none; }
  .steps li.on { display: grid; }
  .build-cap { display: none; }
  .studio-grid, .start-grid, .faq, .contact { grid-template-columns: minmax(0, 1fr); }
  .room-wrap, .brief, .faq-side, .contact-map { position: relative; top: 0; }
}
/* phones */
@media (max-width: 720px) {
  body { font-size: 16px; }
  .top { padding: 14px 18px; gap: 10px; }
  .mark-logo { height: 46px; }
  .has-scrolled .mark-logo { height: 40px; }
  .foot-logo { height: 60px; }
  .open-pill b { font-size: 11.5px; }
  .hero { min-height: 700px; }
  .hero-shade { background: linear-gradient(0deg, rgba(11, 22, 40, .96) 0%, rgba(11, 22, 40, .86) 52%, rgba(11, 22, 40, .3) 78%, rgba(11, 22, 40, .05) 92%); }
  .hero-copy { left: 18px; right: 18px; bottom: 28px; }
  .hero h1 { font-size: 46px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .hero-compare .cmp-knob { top: 19%; }
  .op-more { display: none; }
  .open-pill { white-space: nowrap; margin-left: auto; }
  .hero-compare .cmp-tag { top: 96px; }
  .hero-hint { display: none; }
  .since { grid-template-columns: minmax(0, 1fr); }
  .since-stats { grid-template-columns: 1fr 1fr; }
  .since-stats li { border-right: 0; margin-right: 0; padding-right: 10px; }
  .svc { grid-template-columns: minmax(0, 1fr); }
  .svc-list button { padding: 16px 0; }
  .svc-stage { min-height: 460px; }
  .svc-card { left: 12px; right: 12px; bottom: 12px; padding: 20px; }
  .svc-card h3 { font-size: 25px; }
  .build { height: 700vh; }
  .build-copy h2 { font-size: 30px; }
  .house { height: auto; width: 150%; left: -15%; right: auto; bottom: 64px; }
  .work-compare { aspect-ratio: 4 / 5; }
  .two, .consult .f2, .contact-cards { grid-template-columns: minmax(0, 1fr); }
  .why-grid { grid-template-columns: minmax(0, 1fr); }
  .post { width: 280px; }
  .foot-top { grid-template-columns: minmax(0, 1fr); }
  .foot-links { grid-template-columns: 1fr 1fr; }
  .board-chips small { font-size: 9.5px; }
  .callbar { display: flex; position: fixed; z-index: 45; left: 12px; right: 12px; bottom: 12px; justify-content: space-between; align-items: center; padding: 14px 20px; border-radius: 999px; background: var(--brass); color: #fff; text-decoration: none; font-weight: 700; box-shadow: 0 14px 30px -10px rgba(0, 0, 0, .5); transform: translateY(140%); transition: transform .5s var(--ease); }
  .has-scrolled .callbar { transform: none; }
}

/* =====================================================================================================
   THE OTHER PAGES (29 Oct 2026): shared header menu, footer, page heroes, and each page's own pieces.
   ===================================================================================================== */

/* header: services menu, the page you're on */
.nav { align-items: center; }
.nav a[aria-current="page"]::after, .nav-drop.is-current .nav-drop-btn::after { transform: scaleX(1); }
.nav-drop { position: relative; }
.nav-drop-btn { display: inline-flex; align-items: center; gap: 6px; background: none; border: 0; cursor: pointer; font-weight: 600; font-size: 14.5px; position: relative; padding: 0; }
.nav-drop-btn::after { content: ''; position: absolute; left: 0; right: 16px; bottom: -4px; height: 1.5px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease); }
.nav-drop-btn svg { width: 10px; height: 8px; fill: none; stroke: currentColor; stroke-width: 1.8; transition: transform .3s var(--ease); }
.nav-menu { position: absolute; top: calc(100% + 16px); left: -24px; width: 560px; display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 14px; border-radius: 10px; background: #fbf8f2; color: var(--ink); box-shadow: 0 30px 60px -24px rgba(12, 20, 36, .45), 0 0 0 1px var(--line); opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .3s, transform .4s var(--ease), visibility 0s .3s; }
.nav-menu::before { content: ''; position: absolute; left: 0; right: 0; top: -18px; height: 18px; }
.nav-drop:hover .nav-menu, .nav-drop:focus-within .nav-menu, .nav-drop.open .nav-menu { opacity: 1; visibility: visible; transform: none; transition: opacity .3s, transform .4s var(--ease); }
.nav-drop:hover .nav-drop-btn svg, .nav-drop.open .nav-drop-btn svg { transform: rotate(180deg); }
.nav-menu a { display: grid; gap: 2px; padding: 12px 14px; border-radius: 8px; text-decoration: none; transition: background .25s; }
.nav-menu a::after { display: none; }
.nav-menu a:hover, .nav-menu a[aria-current="page"] { background: #efe7da; }
.nav-menu b { font-family: var(--serif); font-size: 18px; font-weight: 500; }
.nav-menu span { font-size: 13px; color: var(--muted); font-weight: 500; }

/* footer: three link columns */
.foot-links { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.foot-links div { display: grid; gap: 9px; align-content: start; }
.foot-links h4 { font-family: var(--mono); font-size: 11px; font-weight: 400; letter-spacing: .16em; text-transform: uppercase; color: var(--brass2); margin-bottom: 4px; }
.foot-reach { display: grid; gap: 4px; margin-top: 18px; font-size: 15px; }
.foot-reach a { color: #fff; text-decoration: none; font-weight: 700; }
.foot-reach span { color: rgba(233, 227, 216, .6); font-size: 13.5px; }

/* home page additions */
.svc-links { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 22px; }
.svc-more { margin-top: 16px; font-size: 14.5px; font-weight: 600; color: var(--ink); text-underline-offset: 4px; }
.sec-link { margin-top: 22px; }
.faq-all { margin-top: 22px; }

/* light-background chip rows (the dark ones are styled with the home planner) */
.faqx .chips button, .gal .chips button, .blogx .chips button, .bathcfg .chips button, .sketch .chips button, .kinds .chips button {
  background: transparent; box-shadow: inset 0 0 0 1.5px var(--line); color: var(--ink); }
.faqx .chips button:hover, .gal .chips button:hover, .blogx .chips button:hover, .bathcfg .chips button:hover, .sketch .chips button:hover { background: rgba(19, 33, 58, .05); }
.faqx .chips button[aria-pressed="true"], .gal .chips button[aria-pressed="true"], .blogx .chips button[aria-pressed="true"], .bathcfg .chips button[aria-pressed="true"], .sketch .chips button[aria-pressed="true"] { background: var(--ink); color: #fff; box-shadow: none; }
section[id] { scroll-margin-top: 70px; }
/* a fieldset is as wide as its widest row by default, so a scrolling row of day buttons pushed the form off a phone */
fieldset { min-width: 0; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- page hero (every inner page) ---------- */
.phero { position: relative; min-height: min(88svh, 860px); padding: 150px var(--pad) clamp(48px, 8vh, 90px); display: grid; align-items: end; color: #fff; background: var(--bp); overflow: hidden; isolation: isolate; }
.phero-bg { position: absolute; inset: -10% 0; z-index: -2; }
.phero-bg > img { width: 100%; height: 100%; object-fit: cover; }
.phero-cmp { inset: 0; z-index: auto; }
.phero-cmp ~ .phero-shade { pointer-events: none; }
.phero-shade { position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(90deg, rgba(11, 22, 40, .9) 0%, rgba(11, 22, 40, .62) 40%, rgba(11, 22, 40, 0) 70%), linear-gradient(0deg, rgba(11, 22, 40, .72), rgba(11, 22, 40, 0) 45%); }
.phero-cmp ~ .phero-shade { z-index: 1; }
.phero-cmp ~ .phero-copy { z-index: 2; pointer-events: none; }
.phero-cmp ~ .phero-copy a, .phero-cmp ~ .phero-copy button { pointer-events: auto; }
.phero-copy { position: relative; max-width: 720px; }
.phero h1 { font-family: var(--serif); font-size: clamp(44px, 6.2vw, 96px); line-height: 1; letter-spacing: -.02em; }
.phero h1 em { color: var(--brass2); }
.phero .eyebrow { color: var(--brass2); }
.phero-sub { margin-top: 22px; max-width: 560px; font-size: clamp(16px, 1.4vw, 19px); color: rgba(255, 255, 255, .86); }
.crumbs { font-family: var(--mono); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 255, 255, .6); margin-bottom: 18px; display: flex; flex-wrap: wrap; gap: 8px; }
.crumbs a { color: rgba(255, 255, 255, .85); text-decoration: none; }
.crumbs a:hover { color: #fff; text-decoration: underline; }
.crumbs span { opacity: .5; }
.phero .cmp-knob { top: 30%; }

/* ---------- intro: his words + his list ---------- */
.intro { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(30px, 6vw, 90px); padding: var(--sec) var(--pad); align-items: start; }
.intro-copy h2 { color: var(--ink); font-size: clamp(32px, 3.8vw, 54px); }
.intro-copy p { margin-top: 20px; color: #4a443c; max-width: 640px; }
.intro-list { background: #fff; border-radius: 8px; padding: clamp(24px, 3vw, 36px); box-shadow: 0 30px 60px -40px rgba(19, 33, 58, .4), 0 0 0 1px var(--line); }
.intro-list h3 { font-family: var(--mono); font-size: 12px; font-weight: 400; letter-spacing: .16em; text-transform: uppercase; color: var(--brass); margin-bottom: 14px; }
.intro-note { margin-top: 16px; font-size: 14px; color: var(--muted); }
.ticks { list-style: none; display: grid; gap: 2px; }
.ticks li { position: relative; padding: 11px 0 11px 38px; border-bottom: 1px solid var(--line); font-weight: 600; color: var(--ink); }
.ticks li:last-child { border-bottom: 0; }
.ticks li::before { content: ''; position: absolute; left: 0; top: 12px; width: 24px; height: 24px; border-radius: 50%; background: #f1e7d6; }
.ticks li::after { content: ''; position: absolute; left: 7px; top: 17px; width: 10px; height: 6px; border-left: 2.5px solid var(--brass); border-bottom: 2.5px solid var(--brass); transform: rotate(-45deg) scale(0); transition: transform .5s var(--ease); }
.in .ticks li::after, .ticks.in li::after { transform: rotate(-45deg) scale(1); }
.ticks li:nth-child(2)::after { transition-delay: .12s; } .ticks li:nth-child(3)::after { transition-delay: .24s; } .ticks li:nth-child(4)::after { transition-delay: .36s; }
.ticks li:nth-child(5)::after { transition-delay: .48s; } .ticks li:nth-child(6)::after { transition-delay: .6s; }
.ticks-lg li { font-size: 18px; }

/* ---------- call to action band ---------- */
.cta-band { padding: var(--sec-lg) var(--pad); background: var(--ink); color: #f3efe8; background-image: linear-gradient(rgba(220, 232, 248, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(220, 232, 248, .05) 1px, transparent 1px); background-size: 32px 32px; }
.cta-in { max-width: 900px; }
.cta-band .eyebrow { color: var(--brass2); }
.cta-band h2 { font-size: clamp(34px, 4.4vw, 62px); }
.cta-band p { margin-top: 18px; color: rgba(243, 239, 232, .75); max-width: 620px; }
.cta-band .hero-actions { margin-top: 30px; }

/* ---------- the other services ---------- */
.nx { padding: var(--sec) 0; }
.nx-list { list-style: none; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; padding: 0 var(--pad); }
.nx-list a { display: grid; grid-template-rows: auto 1fr auto; height: 100%; text-decoration: none; background: #fff; border-radius: 8px; overflow: hidden; box-shadow: 0 0 0 1px var(--line); transition: transform .5s var(--ease), box-shadow .5s; }
.nx-list a:hover { transform: translateY(-6px); box-shadow: 0 30px 50px -30px rgba(19, 33, 58, .5); }
.nx-img { aspect-ratio: 4 / 3; overflow: hidden; background: var(--bp); }
.nx-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.nx-list a:hover .nx-img img { transform: scale(1.07); }
.nx-t { display: grid; gap: 4px; padding: 18px 18px 6px; }
.nx-t b { font-family: var(--serif); font-size: 21px; font-weight: 500; color: var(--ink); line-height: 1.15; }
.nx-t span { font-size: 14px; color: var(--muted); }
.nx-list i { padding: 6px 18px 18px; font-style: normal; color: var(--brass); font-size: 20px; transition: transform .4s var(--ease); }
.nx-list a:hover i { transform: translateX(6px); }

.choose, .open-biz { padding: var(--sec) 0; }
.choose .why-grid li, .open-biz .why-grid li { background: var(--cream); }

/* ---------- switch (two-way toggle) ---------- */
.switch { position: relative; display: inline-grid; grid-auto-flow: column; grid-auto-columns: 1fr; padding: 5px; border-radius: 999px; background: #e4dccf; }
.switch button { position: relative; z-index: 1; border: 0; background: none; cursor: pointer; padding: 12px 26px; border-radius: 999px; font-weight: 700; color: var(--ink); transition: color .4s; white-space: nowrap; }
.switch button[aria-selected="true"] { color: #fff; }
.switch-pill { position: absolute; top: 5px; bottom: 5px; left: 5px; width: calc(50% - 5px); border-radius: 999px; background: var(--ink); transition: transform .55s var(--ease); }
.switch.is-b .switch-pill { transform: translateX(100%); }

/* ---------- ABOUT ---------- */
.phero-about { align-items: end; }
.about-odo { position: absolute; right: var(--pad); bottom: clamp(48px, 8vh, 90px); display: flex; flex-direction: column; align-items: flex-end; color: #fff; }
.about-odo .since-k { color: var(--brass2); }
.about-odo .odo { font-size: clamp(90px, 13vw, 210px); color: rgba(255, 255, 255, .92); }
.tape { height: 320vh; position: relative; background: #ece5da; }
.tape-stage { position: sticky; top: 0; height: 100svh; overflow: hidden; display: grid; grid-template-rows: auto 1fr auto; padding: 120px var(--pad) 60px; }
.tape-copy { max-width: 620px; }
.tape-copy h2 { color: var(--ink); font-size: clamp(32px, 3.8vw, 54px); }
.tape-copy h2 em { color: var(--brass); }
.tape-copy p { margin-top: 14px; color: var(--muted); }
.tape-read { align-self: center; display: grid; justify-items: start; }
.tape-read b { font-family: var(--serif); font-weight: 600; font-size: clamp(90px, 15vw, 220px); line-height: .9; color: var(--ink); font-variant-numeric: tabular-nums; }
.tape-read span { font-family: var(--mono); font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--brass); margin-top: 8px; }
.tape-body { position: relative; height: 120px; }
.tape-case { position: absolute; left: 0; bottom: 0; width: 130px; height: 120px; border-radius: 26px; background: linear-gradient(145deg, #2a3f63, #13213a); box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .6); display: grid; place-items: center; z-index: 2; }
.tape-case span { font-family: var(--serif); font-weight: 700; color: var(--brass2); font-size: 28px; }
.tape-case i { position: absolute; right: -6px; bottom: 18px; width: 14px; height: 40px; border-radius: 4px; background: #0d1729; }
.tape-blade { position: absolute; left: 120px; bottom: 18px; height: 56px; width: calc((100% - 150px) * var(--p, 0) + 30px); background: linear-gradient(180deg, #f4c94a, #e6b532); border-radius: 0 3px 3px 0; box-shadow: 0 8px 18px -10px rgba(0, 0, 0, .5); overflow: hidden; }
.tape-ticks { position: absolute; left: 0; top: 0; bottom: 0; width: calc(100vw - 150px - 2 * var(--pad)); }
.tape-ticks i { position: absolute; top: 0; width: 2px; background: #2b2a26; }
.tape-ticks i.big { height: 26px; } .tape-ticks i.sm { height: 12px; width: 1.5px; }
.tape-ticks b { position: absolute; top: 28px; transform: translateX(-50%); font-family: var(--mono); font-size: 12px; font-weight: 600; color: #2b2a26; }
.tape-hook { position: absolute; right: 0; top: -2px; bottom: -2px; width: 8px; background: #8d8a83; border-radius: 0 3px 3px 0; }

.sides { padding: var(--sec) 0; }
.sides-wrap { padding: 0 var(--pad); }
.sides-card { margin-top: 26px; display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(20px, 4vw, 60px); align-items: center; background: #fff; border-radius: 10px; padding: clamp(20px, 3vw, 40px); box-shadow: 0 0 0 1px var(--line); }
.sides-art { width: 100%; height: auto; background: var(--bp); border-radius: 6px; }
.sa path { fill: none; stroke: #e7eef8; stroke-width: 3; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.2s var(--ease); }
.sa path:nth-child(2) { transition-delay: .12s; } .sa path:nth-child(3) { transition-delay: .24s; } .sa path:nth-child(4) { transition-delay: .36s; } .sa path:nth-child(5) { transition-delay: .48s; }
.sides-wrap.armed:not(.is-com) .sa-res path, .sides-wrap.armed.is-com .sa-com path { stroke-dashoffset: 0; }
.sides-wrap.is-com .sa-res path, .sides-wrap:not(.is-com) .sa-com path { transition-duration: .4s; transition-delay: 0s; }
.sides-text { display: grid; }
.st { grid-area: 1 / 1; transition: opacity .5s, transform .6s var(--ease); }
.st h3 { font-family: var(--serif); font-size: clamp(28px, 3vw, 40px); color: var(--ink); }
.st p { margin-top: 12px; color: #4a443c; }
.sides-wrap.is-com .st-res, .sides-wrap:not(.is-com) .st-com { opacity: 0; transform: translateY(14px); pointer-events: none; visibility: hidden; }

.level-sec { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(30px, 5vw, 80px); align-items: center; padding: var(--sec) var(--pad); background: var(--ink); color: #f3efe8; }
.level-sec .eyebrow { color: var(--brass2); }
.level-sec h2 em { color: var(--brass2); }
.level-copy p { margin-top: 18px; color: rgba(243, 239, 232, .75); }
.level-how { font-family: var(--mono); font-size: 12.5px; letter-spacing: .06em; color: var(--brass2) !important; }
.level-wrap { display: grid; justify-items: center; gap: 26px; padding: 40px 0; touch-action: none; }
.level { width: min(100%, 560px); cursor: grab; outline: none; transform: rotate(var(--tilt, 7deg)); transition: transform .12s linear; user-select: none; }
.level.dragging { cursor: grabbing; transition: none; }
.level:focus-visible .level-bar { box-shadow: 0 0 0 3px var(--brass2); }
.level-bar { position: relative; height: 70px; border-radius: 10px; background: linear-gradient(180deg, #e1b24a, #c99630 60%, #b48325); box-shadow: 0 20px 40px -18px rgba(0, 0, 0, .7), inset 0 2px 0 rgba(255, 255, 255, .35); display: flex; align-items: center; justify-content: space-between; padding: 0 16px; }
.level-end { width: 22px; height: 46px; border-radius: 5px; background: #2a2a28; }
.level-vial { position: relative; width: 46%; height: 30px; border-radius: 15px; background: linear-gradient(180deg, #d9f2b5, #a9d77a); box-shadow: inset 0 2px 6px rgba(0, 0, 0, .35); overflow: hidden; }
.vial-lines { position: absolute; left: 50%; top: 0; bottom: 0; width: 34px; margin-left: -17px; border-left: 2px solid #34402a; border-right: 2px solid #34402a; }
.bubble { position: absolute; top: 4px; left: calc(50% - 14px + var(--bx, 0px)); width: 28px; height: 22px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #fff, rgba(255, 255, 255, .55) 60%, rgba(255, 255, 255, .25)); transition: left .25s cubic-bezier(.3, 1.4, .5, 1); }
.level-read { font-family: var(--mono); font-size: 14px; letter-spacing: .06em; color: rgba(243, 239, 232, .8); text-align: center; min-height: 1.6em; }
.level-wrap.is-level .level-read { color: #8fe0a2; }
.level-wrap.is-level .level-vial { box-shadow: inset 0 2px 6px rgba(0, 0, 0, .35), 0 0 0 3px #8fe0a2; }

.promise { padding: var(--sec) 0; }
.promise-list { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; padding: 0 var(--pad); }
.promise-list li { position: relative; background: #fff; border-radius: 8px; padding: 28px 26px 30px; box-shadow: 0 0 0 1px var(--line); overflow: hidden; }
.pn { font-family: var(--mono); font-size: 12px; color: var(--brass); }
.promise-list h3 { font-family: var(--serif); font-size: 25px; color: var(--ink); margin-top: 12px; }
.promise-list p { margin-top: 8px; color: var(--muted); font-size: 15.5px; }
.stamp { position: absolute; right: 18px; top: 16px; font-family: var(--mono); font-size: 13px; letter-spacing: .14em; color: #3d6b4a; border: 2px solid #3d6b4a; border-radius: 6px; padding: 3px 8px; transform: rotate(-12deg) scale(2.2); opacity: 0; transition: transform .45s cubic-bezier(.3, 1.6, .5, 1) .5s, opacity .3s .5s; }
.promise-list li.in .stamp { transform: rotate(-12deg) scale(1); opacity: .85; }

/* ---------- CUSTOM HOMES ---------- */
.cut-sec { padding: var(--sec) 0; background: var(--bp); color: #eef3fa; background-image: linear-gradient(rgba(220, 232, 248, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(220, 232, 248, .06) 1px, transparent 1px); background-size: 25px 25px; }
.cut-sec .eyebrow, .cut-sec h2 em { color: var(--brass2); }
.cut-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(20px, 4vw, 60px); padding: 0 var(--pad); align-items: center; }
.cut-tabs { display: grid; gap: 8px; }
.cut-tabs button { text-align: left; border: 0; cursor: pointer; padding: 16px 18px; border-radius: 8px; background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px rgba(220, 232, 248, .16); color: #eef3fa; display: grid; gap: 2px; transition: background .3s, box-shadow .3s, transform .4s var(--ease); }
.cut-tabs b { font-size: 16px; } .cut-tabs span { font-size: 13.5px; color: rgba(238, 243, 250, .65); }
.cut-tabs button:hover { background: rgba(255, 255, 255, .1); }
.cut-tabs button[aria-selected="true"] { background: var(--brass); box-shadow: none; transform: translateX(8px); }
.cut-tabs button[aria-selected="true"] span { color: rgba(255, 255, 255, .85); }
.cut-art { position: relative; }
.cut { width: 100%; height: auto; display: block; }
.cut-ground { fill: #4b5b38; } .cut-found { fill: #a99a86; }
.cut .layer { transition: opacity .5s, filter .5s; cursor: pointer; }
.cut:not([data-on="all"]) .layer { opacity: .12; }
.cut[data-on="frame"] [data-layer="frame"], .cut[data-on="skin"] [data-layer="skin"], .cut[data-on="mep"] [data-layer="mep"], .cut[data-on="insul"] [data-layer="insul"] { opacity: 1; filter: drop-shadow(0 0 10px rgba(255, 220, 150, .35)); }
.cut-labels text { font-family: var(--mono); font-size: 12px; fill: rgba(238, 243, 250, .6); text-anchor: middle; letter-spacing: .14em; }
.cut-cap { margin-top: 12px; font-family: var(--serif); font-style: italic; font-size: 20px; color: rgba(238, 243, 250, .85); min-height: 2.6em; }

.style-sec { padding: var(--sec) 0; background: var(--stone); }
.style-wrap { padding: 0 var(--pad); }
.elev { width: 100%; height: auto; background: linear-gradient(180deg, #dce7ef, #f2ede4); border-radius: 8px; display: block; }
.elev-ground { fill: #7c8a5c; }
.ev { opacity: 0; transition: opacity .2s linear; }
.ev-wall { fill: #f3efe8; stroke: #c9bfae; stroke-width: 2; }
.ev-batten { fill: #f7f3ec; }
.ev-dark { fill: #2c3038; }
.ev-roof { fill: #3a3f48; }
.ev-trim { fill: #e8e0d4; }
.ev-win rect { fill: #2b3a52; stroke: #f3efe8; stroke-width: 6; }
.ev-mull { stroke: #f3efe8; stroke-width: 4; fill: none; }
.ev-door { fill: #6b4a33; stroke: #e8e0d4; stroke-width: 5; }
.style-ctrl { margin-top: 22px; }
.style-ctrl input { accent-color: var(--brass); }
.style-labels { display: flex; justify-content: space-between; margin-top: 6px; }
.style-labels button { border: 0; background: none; cursor: pointer; font-family: var(--serif); font-size: clamp(18px, 2vw, 24px); color: var(--muted); padding: 4px 0; transition: color .3s; }
.style-labels button.on { color: var(--ink); font-style: italic; }

.feat { padding: var(--sec) 0; }
.feat-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(20px, 4vw, 60px); padding: 0 var(--pad); align-items: start; }
.feat-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.feat-tabs button { display: grid; justify-items: start; gap: 10px; text-align: left; border: 0; cursor: pointer; padding: 18px; border-radius: 8px; background: #fff; box-shadow: 0 0 0 1px var(--line); font-weight: 700; color: var(--ink); transition: background .3s, color .3s, transform .4s var(--ease); }
.feat-tabs svg { width: 36px; height: 36px; fill: none; stroke: var(--brass); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.feat-tabs svg path { stroke-dasharray: 1; stroke-dashoffset: 0; }
.feat-tabs button[aria-selected="true"] { background: var(--ink); color: #fff; transform: translateY(-3px); }
.feat-tabs button[aria-selected="true"] svg { stroke: var(--brass2); }
.feat-tabs button[aria-selected="true"] svg path { animation: drawin 1s var(--ease); }
@keyframes drawin { from { stroke-dashoffset: 1; } }
.feat-panels { display: grid; position: sticky; top: 100px; }
.feat-panel { grid-area: 1 / 1; background: #fff; border-radius: 10px; padding: clamp(26px, 3.4vw, 46px); box-shadow: 0 40px 70px -50px rgba(19, 33, 58, .6), 0 0 0 1px var(--line); opacity: 0; visibility: hidden; transform: translateY(16px); transition: opacity .45s, transform .6s var(--ease), visibility 0s .45s; }
.feat-panel.is-on { opacity: 1; visibility: visible; transform: none; transition: opacity .45s, transform .6s var(--ease); }
.feat-panel h3 { font-family: var(--serif); font-size: clamp(28px, 3vw, 40px); color: var(--ink); }
.feat-panel p { margin-top: 14px; color: #4a443c; font-size: 18px; }

/* ---------- ADDITIONS ---------- */
.planx { padding: var(--sec) 0; background: var(--ink); color: #f3efe8; }
.planx .eyebrow { color: var(--brass2); }
.planx-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(24px, 4vw, 60px); padding: 0 var(--pad); align-items: start; }
.planx-ctrl { display: grid; gap: 24px; }
.planx-ctrl fieldset { border: 0; }
.planx-ctrl legend { font-weight: 700; font-size: 15px; margin-bottom: 12px; display: flex; gap: 12px; align-items: baseline; }
.planx-ctrl legend output { font-family: var(--mono); color: var(--brass2); font-weight: 400; }
.planx-ctrl .room-only { transition: opacity .3s; }
.planx-ctrl .room-only.off { display: none; }
.planx-sheet { position: sticky; top: 90px; background: var(--bp); border-radius: 8px; padding: 16px; box-shadow: 0 0 0 1px rgba(220, 232, 248, .2), 0 40px 80px -30px rgba(0, 0, 0, .6); background-image: linear-gradient(rgba(220, 232, 248, .08) 1px, transparent 1px), linear-gradient(90deg, rgba(220, 232, 248, .08) 1px, transparent 1px); background-size: 20px 20px; }
.planx-sheet svg { width: 100%; height: auto; display: block; }
.planx-sheet .ex { fill: rgba(220, 232, 248, .06); stroke: #e7eef8; stroke-width: 3; }
.planx-sheet .exl { stroke: rgba(231, 238, 248, .45); stroke-width: 1.4; stroke-dasharray: 4 4; fill: none; }
.planx-sheet .ad { fill: rgba(217, 183, 122, .2); stroke: var(--brass2); stroke-width: 3.5; transition: all .6s var(--ease); }
.planx-sheet .ad.deck { fill: url(#deckb); }
.planx-sheet text { font-family: var(--mono); font-size: 11px; fill: rgba(231, 238, 248, .8); text-anchor: middle; letter-spacing: .08em; }
.planx-sheet .adt { fill: var(--brass2); font-size: 12px; font-weight: 600; }
.planx-sheet .dim { stroke: var(--brass2); stroke-width: 1.2; }
.planx-sheet .draw-in { stroke-dasharray: 1; animation: drawin 1s var(--ease) both; }
.planx-read { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 14px 0; font-family: var(--mono); }
.planx-read div { border: 1px solid rgba(220, 232, 248, .3); border-radius: 6px; padding: 10px; }
.planx-read span { display: block; font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--brass2); }
.planx-read b { display: block; font-size: 17px; color: #fff; margin-top: 2px; }

.sun-sec { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 5vw, 70px); align-items: center; padding: var(--sec) var(--pad); }
.sun-copy h2 { color: var(--ink); font-size: clamp(30px, 3.4vw, 48px); }
.sun-copy p { margin-top: 18px; color: #4a443c; }
.sun-copy .level-how { color: var(--brass) !important; }
.sun-wrap { display: grid; gap: 14px; }
.sun-art { width: 100%; height: auto; border-radius: 8px; display: block; touch-action: none; cursor: grab; }
.sun-sky { fill: var(--sky, #9ec3e0); transition: fill .3s; }
.sun-arc { stroke: rgba(255, 255, 255, .5); stroke-width: 2; stroke-dasharray: 5 7; }
.sun-ball { cursor: grab; }
.sun-lbl { font-family: var(--mono); font-size: 13px; fill: #5c5348; text-anchor: middle; letter-spacing: .14em; }
.sun-lbl-d { fill: #13213a; font-weight: 600; }
.sun-ctrl input { accent-color: var(--brass); }
.sun-ctrl p { margin-top: 6px; color: var(--muted); }
.sun-ctrl b { font-family: var(--mono); color: var(--ink); margin-right: 8px; }

.flipper { padding: var(--sec) 0; background: var(--stone); }
.flip-grid { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; padding: 0 var(--pad); }
.flip { position: relative; width: 100%; aspect-ratio: 3 / 4; border: 0; background: none; cursor: pointer; perspective: 1000px; padding: 0; text-align: left; }
.flip-f, .flip-b { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: space-between; padding: 24px; border-radius: 10px; backface-visibility: hidden; transition: transform .8s var(--ease); }
.flip-f { background: #fff; box-shadow: 0 0 0 1px var(--line); color: var(--ink); }
.flip-b { background: var(--ink); color: #fff; transform: rotateY(180deg); }
.flip small { font-family: var(--mono); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--brass); }
.flip-b small { color: var(--brass2); }
.flip b { font-family: var(--serif); font-weight: 500; font-size: clamp(22px, 2.1vw, 30px); line-height: 1.15; }
.flip-f::after { content: 'Tap to turn ↻'; font-size: 13px; color: var(--muted); font-weight: 600; }
.flip[aria-pressed="true"] .flip-f { transform: rotateY(-180deg); }
.flip[aria-pressed="true"] .flip-b { transform: rotateY(0); }
@media (hover: hover) { .flip:hover .flip-f { transform: rotateY(-180deg); } .flip:hover .flip-b { transform: rotateY(0); } }

.value, .access { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(24px, 5vw, 80px); padding: var(--sec) var(--pad); align-items: center; }
.value-in h2 { color: var(--ink); font-size: clamp(30px, 3.4vw, 48px); }
.value-in p { margin-top: 18px; color: #4a443c; }

/* ---------- COMMERCIAL ---------- */
.kinds { padding: var(--sec) 0; background: var(--stone); }
.kinds-grid { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 8fr); gap: clamp(20px, 3vw, 44px); padding: 0 var(--pad); align-items: start; }
.kinds-tabs { display: grid; gap: 4px; border-top: 1px solid var(--line); }
.kinds-tabs button { display: flex; gap: 14px; align-items: baseline; text-align: left; border: 0; border-bottom: 1px solid var(--line); background: none; cursor: pointer; padding: 20px 0; font-family: var(--serif); font-size: clamp(22px, 2.2vw, 30px); color: var(--ink); transition: color .3s, transform .5s var(--ease); }
.kinds-tabs span { font-family: var(--mono); font-size: 12px; color: var(--brass); }
.kinds-tabs button[aria-selected="true"] { font-style: italic; transform: translateX(10px); }
.kinds-tabs button:not([aria-selected="true"]) { color: rgba(19, 33, 58, .55); }
.kinds-cmp { aspect-ratio: 16 / 10; border-radius: 8px; background: var(--bp); }
.kinds-cmp > img { transition: opacity .45s; }
.kinds-cmp.swap > img { opacity: 0; }
.kinds-plan { background: var(--bp); background-image: linear-gradient(rgba(220, 232, 248, .08) 1px, transparent 1px), linear-gradient(90deg, rgba(220, 232, 248, .08) 1px, transparent 1px); background-size: 25px 25px; }
.kinds-plan svg { width: 100%; height: 100%; }
.kinds-plan path, .kinds-plan rect, .kinds-plan line { fill: none; stroke: #e7eef8; stroke-width: 2.4; }
.kinds-plan .dimk { stroke: var(--brass2); stroke-width: 1.4; }
.kinds-plan text { font-family: var(--mono); font-size: 13px; fill: rgba(231, 238, 248, .8); text-anchor: middle; letter-spacing: .1em; stroke: none; }
.kinds-plan .draw { stroke-dasharray: 1; stroke-dashoffset: 1; animation: drawto 1.6s var(--ease) forwards; }
@keyframes drawto { to { stroke-dashoffset: 0; } }
.kinds-note { margin-top: 18px; max-width: 760px; }
.kinds-note h3 { font-family: var(--serif); font-size: 28px; color: var(--ink); }
.kinds-note p { margin-top: 8px; color: #4a443c; }
.kinds-note.pop { animation: pop .6s var(--ease); }

.cbuild { height: 420vh; position: relative; background: var(--bp); color: #eef3fa; }
.cbuild-stage { position: sticky; top: 0; height: 100svh; display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); overflow: hidden; background: var(--bp); }
.cbuild-copy { padding: 120px 0 40px var(--pad); }
.cbuild-copy .eyebrow, .cbuild-copy h2 em { color: var(--brass2); }
.cbuild-copy h2 { font-size: clamp(34px, 3.6vw, 54px); }
.csteps { list-style: none; margin-top: 30px; display: grid; gap: 4px; }
.csteps li { display: flex; gap: 14px; align-items: baseline; padding: 10px 0; font-weight: 700; font-size: 18px; opacity: .3; transition: opacity .4s, transform .5s var(--ease); }
.csteps b { font-family: var(--mono); font-weight: 400; font-size: 12px; color: var(--brass2); }
.csteps li.on { opacity: 1; transform: translateX(8px); }
.csteps li.done { opacity: .65; }
.cb-art { align-self: end; width: 100%; height: 88%; }
.cb { transition: opacity .3s; }
.cb0 { opacity: var(--c0, 0); }
.cb1 { opacity: min(1, calc(var(--c1, 0) * 2)); stroke-dasharray: 1200; stroke-dashoffset: calc(1200 * (1 - var(--c1, 0))); }
.cb2 { opacity: var(--c2, 0); transform-box: fill-box; transform-origin: 50% 100%; transform: scaleY(calc(.3 + .7 * var(--c2, 0))); }
.cb3 { opacity: var(--c3, 0); }
.cb4 { opacity: var(--c4, 0); }
.cb-glow { opacity: calc(var(--c4, 0) * .55) !important; }

/* ---------- PROJECT DESIGN ---------- */
.phero-draw { background: var(--bp); }
.pd-hero-art { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; }
.pd-lines path { fill: none; stroke: rgba(231, 238, 248, .8); stroke-width: 2; stroke-dasharray: 1; stroke-dashoffset: 1; animation: drawto 2.6s var(--ease) forwards; }
.pd-lines path:nth-child(2) { animation-delay: .4s; } .pd-lines path:nth-child(3) { animation-delay: .8s; } .pd-lines .dim { stroke: var(--brass2); animation-delay: 1.4s; stroke-width: 1.4; }
.phero-shade-soft { background: linear-gradient(90deg, rgba(11, 22, 40, .85), rgba(11, 22, 40, .3) 60%, rgba(11, 22, 40, 0)); }

.sketch { padding: var(--sec) 0; }
.sketch-wrap { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: clamp(20px, 3vw, 44px); padding: 0 var(--pad); align-items: center; }
.sketch-sheet { position: relative; border-radius: 8px; overflow: hidden; box-shadow: 0 40px 80px -40px rgba(19, 33, 58, .5); }
.sk { width: 100%; height: auto; display: block; --k: 0; }
.sk-paper { fill: color-mix(in srgb, #f6f1e6 calc((1 - var(--k)) * 100%), #16345c); }
.sk-grid { fill: url(#skgrid); opacity: var(--k); }
.sk .wall, .sk .beam, .sk .door, .sk .fx, .sk .fu, .sk .se, .sk .se-c circle, .sk .dm, .sk .col rect { fill: none; stroke: color-mix(in srgb, #3b3a36 calc((1 - var(--k)) * 100%), #e7eef8); stroke-width: calc(2.6px - var(--k) * .6px); stroke-linecap: round; stroke-linejoin: round; }
.sk .wall { stroke-width: calc(4px + var(--k) * 2px); }
.sk .win { fill: none; stroke: color-mix(in srgb, #f6f1e6 calc((1 - var(--k)) * 100%), #16345c); stroke-width: calc(1.6px + var(--k) * .7px); }   /* a window: the sheet's colour down the middle of the wall leaves two thin lines */
.sk .beam { stroke: color-mix(in srgb, #8a6a3a calc((1 - var(--k)) * 100%), #d9b77a); stroke-dasharray: 14 8; }
.sk .dm { stroke: color-mix(in srgb, #8a6a3a calc((1 - var(--k)) * 100%), #d9b77a); stroke-width: 1.4px; }
.sk-t { font-family: var(--mono); font-size: 13px; text-anchor: middle; letter-spacing: .12em; fill: color-mix(in srgb, #3b3a36 calc((1 - var(--k)) * 100%), #e7eef8); }
.eng-t { fill: color-mix(in srgb, #8a6a3a calc((1 - var(--k)) * 100%), #d9b77a); font-size: 11px; }
.sk .ly { transition: opacity .5s; }
.sk .ly.off { opacity: 0; }
.sketch-stamp { position: absolute; right: 18px; bottom: 18px; font-family: var(--mono); font-size: 12px; letter-spacing: .14em; color: var(--brass2); border: 2px solid var(--brass2); border-radius: 6px; padding: 6px 10px; transform: rotate(-6deg) scale(1.6); opacity: 0; transition: transform .4s cubic-bezier(.3, 1.6, .5, 1), opacity .3s; }
.sketch-wrap.done .sketch-stamp { opacity: 1; transform: rotate(-6deg) scale(1); }
.sketch-ctrl { display: grid; gap: 18px; }
.sketch-slide { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; font-family: var(--mono); font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.sketch-slide input { accent-color: var(--brass); width: 100%; }
.sketch-read { font-family: var(--serif); font-style: italic; font-size: 22px; color: var(--ink); line-height: 1.3; min-height: 3.9em; }
.layer-chips button { font-size: 13.5px; padding: 9px 14px; }

.reasons { padding: var(--sec) 0; background: var(--stone); overflow: hidden; }
.reason-row { list-style: none; display: flex; gap: 14px; width: max-content; padding: 0 var(--pad); }
.reason-row li { width: 300px; flex: none; background: #fff; border-radius: 8px; padding: 26px; box-shadow: 0 0 0 1px var(--line); }
.reason-row b { font-family: var(--mono); font-weight: 400; font-size: 12px; color: var(--brass); }
.reason-row h3 { font-family: var(--serif); font-size: 26px; color: var(--ink); margin-top: 14px; }
.reason-row p { margin-top: 8px; color: var(--muted); }

.paths { padding: var(--sec) 0; }
.paths-wrap { padding: 0 var(--pad); }
.path-steps { list-style: none; margin-top: 30px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; counter-reset: ps; position: relative; }
.path-steps li { position: relative; padding: 46px 20px 0 0; animation: pop .6s var(--ease) both; }
.path-steps li::before { content: ''; position: absolute; left: 0; right: 0; top: 14px; height: 2px; background: var(--brass); transform-origin: left; animation: grow .7s var(--ease) both; animation-delay: inherit; }
.path-steps li::after { content: ''; position: absolute; left: 0; top: 6px; width: 18px; height: 18px; border-radius: 50%; background: var(--cream); box-shadow: inset 0 0 0 3px var(--brass); }
.path-steps li.jrb::after { background: var(--brass); }
@keyframes grow { from { transform: scaleX(0); } }
.path-steps b { display: block; font-family: var(--mono); font-weight: 400; font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--brass); }
.path-steps h3 { font-family: var(--serif); font-size: 24px; color: var(--ink); margin-top: 8px; }
.path-steps p { margin-top: 6px; color: var(--muted); font-size: 15.5px; }

/* ---------- KITCHEN ---------- */
.kplan { padding: var(--sec) 0; background: var(--ink); color: #f3efe8; }
.kplan .eyebrow { color: var(--brass2); }
.kplan-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(24px, 4vw, 60px); padding: 0 var(--pad); align-items: start; }
.kplan-ctrl { display: grid; gap: 22px; }
.kplan-read { display: grid; gap: 8px; }
.kplan-read div { display: grid; grid-template-columns: 110px 1fr; gap: 10px; padding: 12px 0; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.kplan-read dt { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--brass2); padding-top: 3px; }
.kplan-read dd { font-weight: 600; }
.kplan-sheet { background: var(--bp); border-radius: 8px; padding: 14px; box-shadow: 0 0 0 1px rgba(220, 232, 248, .2), 0 40px 80px -30px rgba(0, 0, 0, .6); background-image: linear-gradient(rgba(220, 232, 248, .08) 1px, transparent 1px), linear-gradient(90deg, rgba(220, 232, 248, .08) 1px, transparent 1px); background-size: 20px 20px; }
.kplan-sheet svg { width: 100%; height: auto; display: block; touch-action: none; }
.kplan-sheet .kw { fill: none; stroke: #e7eef8; stroke-width: 6; }
.kplan-sheet .kc { fill: rgba(220, 232, 248, .1); stroke: rgba(231, 238, 248, .7); stroke-width: 2; transition: all .5s var(--ease); }
.kplan-sheet .ki { fill: rgba(217, 183, 122, .22); stroke: var(--brass2); stroke-width: 2.5; cursor: grab; }
.kplan-sheet .ki.drag { cursor: grabbing; fill: rgba(217, 183, 122, .38); }
.kplan-sheet .kap circle { stroke-width: 2.5; }
.kplan-sheet .kap text { font-family: var(--mono); font-size: 11px; fill: #fff; text-anchor: middle; font-weight: 600; letter-spacing: .06em; pointer-events: none; }
.kplan-sheet .tri { fill: rgba(217, 183, 122, .14); stroke: var(--brass2); stroke-width: 2; stroke-dasharray: 8 6; animation: march 1.2s linear infinite; }
@keyframes march { to { stroke-dashoffset: -28; } }
.kplan-sheet .tri.off { display: none; }
.kplan-sheet .klbl { font-family: var(--mono); font-size: 11px; fill: rgba(231, 238, 248, .65); text-anchor: middle; letter-spacing: .12em; }
.kplan-hint { margin-top: 8px; font-family: var(--mono); font-size: 12px; color: rgba(231, 238, 248, .6); text-align: center; }

.fixes { padding: var(--sec) 0; background: var(--stone); }
.fix-list { list-style: none; padding: 0 var(--pad); max-width: calc(836px + 2 * var(--pad)); }
.fix-list details { border-bottom: 1px solid var(--line); }
.fix-list li:first-child details { border-top: 1px solid var(--line); }
.fix-list summary { list-style: none; cursor: pointer; display: flex; gap: 18px; align-items: baseline; padding: 22px 40px 22px 0; position: relative; font-family: var(--serif); font-size: clamp(22px, 2.4vw, 32px); color: var(--ink); }
.fix-list summary::-webkit-details-marker { display: none; }
.fix-list summary b { font-family: var(--mono); font-weight: 400; font-size: 12px; color: var(--brass); }
.fix-list summary::after { content: '+'; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-family: var(--sans); color: var(--brass); font-size: 28px; transition: transform .4s var(--ease); }
.fix-list details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.fix-list details p { padding: 0 40px 24px 48px; color: #4a443c; }
.fix-list details[open] p { animation: pop .5s var(--ease); }
.fix-swatches { margin: 34px var(--pad) 0; max-width: 980px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 26px; border-radius: 8px; background: #fff; box-shadow: 0 0 0 1px var(--line); }
.fix-swatches p { color: #4a443c; max-width: 560px; }

/* ---------- BATHROOM ---------- */
.bathcfg { padding: var(--sec) 0; background: #ece5da; }
.bc-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(24px, 4vw, 56px); padding: 0 var(--pad); align-items: start; }
.bc-art { position: sticky; top: 90px; border-radius: 8px; overflow: hidden; box-shadow: 0 40px 80px -40px rgba(19, 33, 58, .45); }
.bc-art svg { display: block; width: 100%; height: auto; }
.bc-opt { opacity: 0; transition: opacity .5s; }
.bc-opt.on { opacity: 1; }
.bc-art .vc { fill: var(--vc, #23324a); transition: fill .5s; }
.bc-art .hwc { fill: #b8894a; } .bc-art .hwc-s { stroke: #b8894a; }
.bc-dw { width: 100px; transition: width .6s var(--ease); }
.wide .bc-dw { width: 138px; }
.bc-t { font-family: var(--mono); font-size: 12px; fill: #6d655a; text-anchor: middle; letter-spacing: .14em; }
.bc-panel { display: grid; gap: 20px; }
.bc-panel .chips button { font-size: 14px; padding: 10px 14px; }
.bc-sum { background: #fbf8f2; border-radius: 8px; padding: 20px; box-shadow: 0 20px 40px -30px rgba(19, 33, 58, .5); }
.bc-sum ul { list-style: none; display: grid; gap: 6px; margin: 4px 0 16px; }
.bc-sum li { font-weight: 600; color: var(--ink); padding-left: 20px; position: relative; animation: pop .45s var(--ease); }
.bc-sum li::before { content: '✓'; position: absolute; left: 0; color: var(--brass); }
.bathcfg .sw[aria-pressed="true"] { box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .12), 0 0 0 3px #ece5da, 0 0 0 5px var(--ink); }
.bathcfg .sw-row { margin-top: 12px; }
.access { background: var(--cream); }

/* ---------- OUR WORK ---------- */
.phero-work { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(20px, 4vw, 60px); align-items: center; background: var(--bp); background-image: linear-gradient(rgba(220, 232, 248, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(220, 232, 248, .06) 1px, transparent 1px); background-size: 25px 25px; }
.deck { position: relative; height: min(64svh, 560px); touch-action: none; user-select: none; }
.print { position: absolute; left: 6%; right: 6%; top: 4%; bottom: 14%; background: #fbf8f2; padding: 12px 12px 46px; border-radius: 4px; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .7); transform: translate(var(--tx, 0px), var(--ty, 0px)) rotate(var(--r, 0deg)); transition: transform .6s var(--ease), opacity .4s; cursor: grab; }
.print img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.print figcaption { position: absolute; left: 16px; bottom: 12px; font-family: var(--serif); font-style: italic; font-size: 20px; color: var(--ink); }
.print.drag { transition: none; cursor: grabbing; }
.deck-hint { position: absolute; left: 0; right: 0; bottom: 0; text-align: center; font-family: var(--mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: rgba(255, 255, 255, .6); }
.deck-next { position: absolute; right: 6%; bottom: 0; border: 0; background: none; color: var(--brass2); font-weight: 700; cursor: pointer; padding: 4px 0; }

.pairs { padding: var(--sec) 0; }
.pairs-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; padding: 0 var(--pad); }
.pairs-grid .compare { aspect-ratio: 3 / 2; border-radius: 6px; background: var(--bp); }
.pairs-grid figcaption { margin-top: 10px; color: var(--muted); font-size: 15px; }
.pairs-grid figcaption b { font-family: var(--serif); font-weight: 500; font-size: 20px; color: var(--ink); margin-right: 8px; }

.gal { padding: var(--sec) 0; background: var(--stone); }
.gal-filters { padding: 0 var(--pad); margin-bottom: 22px; }
.gal-filters i { font-style: normal; font-family: var(--mono); font-size: 11px; opacity: .65; margin-left: 4px; }
.gal-grid { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 220px; grid-auto-flow: dense; gap: 12px; padding: 0 var(--pad); }
.gal-grid li { border-radius: 6px; overflow: hidden; background: var(--bp); }
.gal-grid li.g-wide { grid-column: span 2; grid-row: span 2; }
.gal-grid li.g-tall { grid-row: span 2; }
.gal-grid li.hide { display: none; }
.gal-grid button { position: relative; display: block; width: 100%; height: 100%; border: 0; padding: 0; cursor: zoom-in; background: none; }
.gal-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.gal-grid button:hover img { transform: scale(1.05); }
.gal-grid span { position: absolute; left: 12px; bottom: 12px; font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; padding: 6px 10px; border-radius: 999px; background: rgba(12, 20, 36, .65); color: #fff; backdrop-filter: blur(6px); }

.lb { position: fixed; inset: 0; z-index: 80; background: rgba(8, 14, 26, .95); display: grid; grid-template-rows: auto 1fr auto; padding: 16px; color: #fff; }
.lb[hidden] { display: none; }
.lb-top { display: flex; gap: 16px; align-items: center; font-family: var(--mono); font-size: 12px; letter-spacing: .1em; padding: 0 56px 0 8px; min-height: 44px; }
.lb-top [data-lb-cap] { color: rgba(255, 255, 255, .75); }
.lb-x { position: absolute; right: 16px; top: 12px; width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .1); color: #fff; font-size: 30px; line-height: 1; cursor: pointer; }
.lb-stage { position: relative; display: grid; place-items: center; min-height: 0; touch-action: none; overflow: hidden; }
.lb-stage img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 4px; user-select: none; -webkit-user-drag: none; animation: pop .45s var(--ease); }
.loupe { position: absolute; width: 190px; height: 190px; border-radius: 50%; pointer-events: none; box-shadow: 0 0 0 3px #fff, 0 20px 40px rgba(0, 0, 0, .6); background-repeat: no-repeat; opacity: 0; transform: scale(.6); transition: opacity .2s, transform .25s var(--ease); }
.loupe.on { opacity: 1; transform: none; }
.lb-hint { text-align: center; font-size: 13px; color: rgba(255, 255, 255, .6); padding: 10px; }
.lb-nav { position: absolute; top: 50%; width: 52px; height: 52px; margin-top: -26px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .12); color: #fff; font-size: 30px; cursor: pointer; }
.lb-prev { left: 16px; } .lb-next { right: 16px; }
body.lb-open { overflow: hidden; }

/* ---------- FAQ ---------- */
.phero-faq, .phero-blog, .phero-contact { background: var(--bp); background-image: linear-gradient(rgba(220, 232, 248, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(220, 232, 248, .06) 1px, transparent 1px); background-size: 25px 25px; min-height: min(74svh, 720px); }
.faq-search { display: flex; align-items: center; gap: 12px; margin-top: 30px; max-width: 620px; padding: 6px 8px 6px 18px; border-radius: 999px; background: #fff; box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .5); color: var(--ink); }
.faq-search svg { width: 22px; height: 22px; fill: none; stroke: var(--brass); stroke-width: 2.2; flex: none; }
.faq-search input { flex: 1; min-width: 0; border: 0; outline: none; background: none; font-size: 17px; padding: 12px 0; color: var(--ink); }
.faq-search output { flex: none; font-family: var(--mono); font-size: 12px; padding: 8px 12px; border-radius: 999px; background: #efe7da; color: var(--ink); }
.faqx { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 8fr); gap: clamp(24px, 4vw, 60px); padding: var(--sec) var(--pad); align-items: start; }
.faqx-side { position: sticky; top: 100px; display: grid; gap: 18px; }
.faq-topics { flex-direction: column; align-items: flex-start; }
.faq-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.faq-actions .btn { padding: 9px 16px; font-size: 13.5px; }
.qa { border-bottom: 1px solid var(--line); }
.qa:first-child { border-top: 1px solid var(--line); }
.qa.hide { display: none; }
.qa h2 { font-family: var(--sans); font-size: inherit; }
.qa button { width: 100%; display: grid; grid-template-columns: 44px 1fr 28px; gap: 8px; align-items: baseline; text-align: left; border: 0; background: none; cursor: pointer; padding: 24px 0; color: var(--ink); }
.qn { font-family: var(--mono); font-size: 12px; color: var(--brass); }
.qt { font-family: var(--serif); font-size: clamp(21px, 2.1vw, 28px); font-weight: 500; line-height: 1.2; }
.qa button i { position: relative; width: 22px; height: 22px; align-self: center; }
.qa button i::before, .qa button i::after { content: ''; position: absolute; left: 0; right: 0; top: 50%; height: 2px; margin-top: -1px; background: var(--brass); transition: transform .45s var(--ease); }
.qa button i::after { transform: rotate(90deg); }
.qa.open button i::after { transform: rotate(0); }
.qa.open button i::before { transform: rotate(180deg); }
.qa-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--ease); }
.qa.open .qa-a { grid-template-rows: 1fr; }
.qa-a > div { overflow: hidden; padding-left: 52px; }
.qa-a p { color: #4a443c; padding-bottom: 14px; max-width: 760px; }
.qa-a p:last-child { padding-bottom: 26px; }
.qa-more a { color: var(--brass); font-weight: 700; text-decoration: none; }
mark { background: #f6dc9c; color: inherit; padding: 0 2px; border-radius: 2px; }
.faq-empty { padding: 30px 0; color: var(--muted); font-size: 18px; }
.ask { padding: 0 var(--pad) var(--sec); }
.ask-card { max-width: 900px; background: var(--ink); color: #f3efe8; border-radius: 10px; padding: clamp(26px, 4vw, 50px); }
.ask-card .eyebrow { color: var(--brass2); }
.ask-card h2 { font-size: clamp(26px, 3vw, 40px); }
.ask-field textarea { width: 100%; margin-top: 20px; padding: 14px 16px; border: 0; border-radius: 8px; background: rgba(255, 255, 255, .08); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .2); color: #fff; resize: vertical; }
.ask-card .hero-actions { margin-top: 16px; }
.ask-card .btn-line { color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .5); }
.ask-note { margin-top: 12px; font-size: 13.5px; color: rgba(243, 239, 232, .6); }

/* ---------- BLOG ---------- */
.phero-blog { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(20px, 4vw, 60px); align-items: end; }
.feature { display: grid; gap: 10px; text-decoration: none; padding: 26px; border-radius: 10px; background: #fbf8f2; color: var(--ink); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .6); transition: transform .5s var(--ease); }
.feature:hover { transform: translateY(-6px) rotate(-.4deg); }
.feature-k { font-family: var(--mono); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--brass); }
.feature b { font-family: var(--serif); font-weight: 500; font-size: clamp(24px, 2.4vw, 32px); line-height: 1.15; }
.feature span:not(.feature-k) { color: var(--muted); font-size: 15.5px; }
.feature i { font-style: normal; font-weight: 700; color: var(--brass); }
.blogx { padding: var(--sec) var(--pad); }
.blog-ctrl { display: flex; flex-wrap: wrap; gap: 14px 20px; align-items: center; margin-bottom: 30px; }
.blog-search { margin-top: 0; flex: 1 1 320px; box-shadow: 0 0 0 1px var(--line); }
.sort-btn { padding: 10px 18px; font-size: 14px; }
.bgrid { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.bcard.hide { display: none; }
.bcard a { display: flex; flex-direction: column; gap: 12px; height: 100%; text-decoration: none; background: #fff; border-radius: 10px; padding: 14px 14px 22px; box-shadow: 0 0 0 1px var(--line); transition: transform .5s var(--ease), box-shadow .5s; }
.bcard a:hover { transform: translateY(-6px); box-shadow: 0 30px 50px -30px rgba(19, 33, 58, .5); }
.bcard-cover { position: relative; aspect-ratio: 16 / 10; border-radius: 6px; overflow: hidden; background: var(--bp); }
.bcard-cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.bc-bp { clip-path: inset(0 0 0 0); transition: clip-path .9s var(--ease); }
.bcard a:hover .bc-bp, .bcard a:focus-visible .bc-bp, .bcard.seen .bc-bp { clip-path: inset(0 0 0 100%); }
.bcard-meta { display: flex; flex-wrap: wrap; gap: 6px 14px; padding: 0 8px; font-size: 13px; color: var(--muted); }
.bcard-meta b { font-family: var(--mono); font-weight: 400; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--brass); padding-top: 2px; }
.bcard-meta i { font-style: normal; }
.bcard h2 { font-family: var(--serif); font-size: 23px; color: var(--ink); padding: 0 8px; line-height: 1.18; }
.bcard p { padding: 0 8px; color: var(--muted); font-size: 15px; flex: 1; }
.bcard-go { padding: 0 8px; font-weight: 700; color: var(--brass); font-size: 14.5px; }

/* ---------- ARTICLE ---------- */
.art-hero { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(20px, 4vw, 60px); align-items: end; padding: 150px var(--pad) clamp(40px, 6vw, 70px); background: var(--bp); color: #fff; background-image: linear-gradient(rgba(220, 232, 248, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(220, 232, 248, .06) 1px, transparent 1px); background-size: 25px 25px; }
.art-hero .eyebrow { color: var(--brass2); }
.art-hero h1 { font-family: var(--serif); font-size: clamp(36px, 4.6vw, 68px); line-height: 1.04; letter-spacing: -.015em; }
.art-meta { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 20px; font-family: var(--mono); font-size: 12px; letter-spacing: .08em; color: rgba(255, 255, 255, .7); }
.art-cover { aspect-ratio: 4 / 3; border-radius: 8px; background: #0e2240; }
.art-cover .cmp-knob { width: 46px; height: 46px; margin: -23px 0 0 -23px; top: 50%; }
.art-body { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 8fr); gap: clamp(24px, 5vw, 80px); padding: var(--sec) var(--pad); align-items: start; }
.toc { position: sticky; top: 100px; display: grid; gap: 18px; }
.toc summary { list-style: none; cursor: pointer; font-family: var(--mono); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--brass); padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.toc summary::-webkit-details-marker { display: none; }
.toc summary span { display: none; }
.toc ol { list-style: none; display: grid; gap: 2px; margin-top: 10px; counter-reset: t; }
.toc li a { display: block; padding: 8px 0 8px 16px; text-decoration: none; font-size: 14.5px; line-height: 1.35; color: var(--muted); border-left: 2px solid var(--line); transition: color .3s, border-color .3s, padding .3s; }
.toc li a:hover { color: var(--ink); }
.toc li a.on { color: var(--ink); font-weight: 700; border-left-color: var(--brass); padding-left: 20px; }
.art-tools { display: flex; flex-wrap: wrap; gap: 8px; }
.art-tools .btn { padding: 9px 16px; font-size: 13.5px; }
.art-tools .btn.ok { background: #3d6b4a; color: #fff; box-shadow: none; }
.prose { max-width: 720px; font-size: 18.5px; line-height: 1.75; color: #2d2a25; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-family: var(--serif); font-size: clamp(26px, 2.6vw, 34px); line-height: 1.2; color: var(--ink); margin-top: 1.8em; scroll-margin-top: 100px; }
.prose h3 { font-family: var(--sans); font-size: 20px; font-weight: 800; color: var(--ink); margin-top: 1.4em; }
.prose a { color: var(--brass); font-weight: 700; text-underline-offset: 3px; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .4em; }
.prose > p:first-child::first-letter { font-family: var(--serif); float: left; font-size: 4.2em; line-height: .85; padding: 6px 10px 0 0; color: var(--brass); font-weight: 600; }
.art-cta { margin: 0 var(--pad); padding: clamp(28px, 4vw, 50px); border-radius: 10px; background: var(--ink); color: #f3efe8; }
.art-cta .eyebrow { color: var(--brass2); }
.art-cta h2 { font-size: clamp(28px, 3.2vw, 44px); }
.art-cta p { margin-top: 12px; color: rgba(243, 239, 232, .75); }
.art-cta .hero-actions { margin-top: 24px; }
.art-nav { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; padding: 30px var(--pad) var(--sec); }
.art-nav a { display: grid; gap: 6px; text-decoration: none; padding: 22px; border-radius: 8px; background: #fff; box-shadow: 0 0 0 1px var(--line); transition: transform .4s var(--ease); }
.art-nav a:hover { transform: translateY(-4px); }
.art-nav span { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--brass); }
.art-nav b { font-family: var(--serif); font-weight: 500; font-size: 20px; color: var(--ink); line-height: 1.2; }
.pn-next { text-align: right; }
.time-left { position: fixed; z-index: 55; right: 18px; top: 84px; display: flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: rgba(19, 33, 58, .9); color: #fff; font-family: var(--mono); font-size: 12px; letter-spacing: .06em; backdrop-filter: blur(6px); opacity: 0; transform: translateY(-10px); transition: opacity .4s, transform .4s var(--ease); pointer-events: none; }
.time-left.on { opacity: 1; transform: none; }
.time-left i { width: 14px; height: 14px; border-radius: 50%; background: conic-gradient(var(--brass2) calc(var(--read, 0) * 1turn), rgba(255, 255, 255, .2) 0); }

/* ---------- CONTACT ---------- */
.phero-contact { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(20px, 4vw, 60px); align-items: end; }
.reach { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 30px; max-width: 640px; }
.reach-btn { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 14px; align-items: center; padding: 18px 20px; border-radius: 10px; text-decoration: none; background: rgba(255, 255, 255, .08); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .2); color: #fff; transition: background .3s; min-width: 0; }
.reach-btn:hover { background: rgba(255, 255, 255, .15); }
.reach-btn svg { grid-row: span 2; width: 30px; height: 30px; fill: none; stroke: var(--brass2); stroke-width: 1.8; stroke-linejoin: round; }
.reach-btn span { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--brass2); }
.reach-btn b { font-size: 17px; overflow-wrap: anywhere; }
.sign-wrap { display: grid; justify-items: center; align-self: center; }
.sign-chain { width: 2px; height: 70px; background: repeating-linear-gradient(180deg, #c9b48a 0 8px, transparent 8px 12px); position: relative; }
.sign-chain::before { content: ''; position: absolute; left: -60px; right: -60px; top: 0; height: 3px; background: #c9b48a; border-radius: 2px; }
.sign { position: relative; width: min(280px, 70vw); aspect-ratio: 5 / 3; border: 0; background: none; cursor: pointer; perspective: 900px; transform-origin: 50% -70px; animation: swing 4s ease-in-out infinite; padding: 0; }
.sign.swing { animation: swing2 1.6s ease-out; }
@keyframes swing { 0%, 100% { transform: rotate(-2deg); } 50% { transform: rotate(2deg); } }
@keyframes swing2 { 0% { transform: rotate(-14deg); } 30% { transform: rotate(10deg); } 55% { transform: rotate(-6deg); } 80% { transform: rotate(3deg); } 100% { transform: rotate(0); } }
.sign-face { position: absolute; inset: 0; display: grid; place-items: center; align-content: center; gap: 2px; border-radius: 12px; backface-visibility: hidden; transition: transform 1s var(--ease); box-shadow: 0 30px 50px -24px rgba(0, 0, 0, .7); }
.sign-face small { font-family: var(--mono); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; opacity: .7; }
.sign-face b { font-family: var(--serif); font-size: clamp(46px, 6vw, 70px); font-weight: 600; line-height: 1; }
.sign-face em { font-style: normal; font-weight: 700; font-size: 14px; }
.sign-open { background: #fbf8f2; color: #2f6b45; box-shadow: inset 0 0 0 6px #2f6b45, 0 30px 50px -24px rgba(0, 0, 0, .7); }
.sign-closed { background: #fbf8f2; color: #b04a32; box-shadow: inset 0 0 0 6px #b04a32, 0 30px 50px -24px rgba(0, 0, 0, .7); transform: rotateY(180deg); }
.sign-wrap.closed .sign-open { transform: rotateY(-180deg); }
.sign-wrap.closed .sign-closed { transform: rotateY(0); }
.sign-count { margin-top: 22px; font-family: var(--mono); font-size: 13px; letter-spacing: .06em; color: rgba(255, 255, 255, .8); text-align: center; }

.hours-map { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(20px, 4vw, 50px); padding: var(--sec) var(--pad); align-items: start; }
.hours-card h2 { color: var(--ink); font-size: clamp(30px, 3vw, 44px); margin-bottom: 18px; }
.hours { width: 100%; border-collapse: collapse; }
.hours th, .hours td { text-align: left; padding: 13px 12px; border-bottom: 1px solid var(--line); font-size: 16px; }
.hours th { font-weight: 700; color: var(--ink); }
.hours td { color: #4a443c; text-align: right; }
.hours tr.today { background: #fff; box-shadow: inset 4px 0 0 var(--brass); }
.hours tr.today th::after { content: 'Today'; margin-left: 10px; font-family: var(--mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: #fff; background: var(--brass); padding: 3px 8px; border-radius: 999px; vertical-align: 2px; }
.hours-note { margin-top: 14px; font-size: 14px; color: var(--muted); }
.hours-card .pay b { color: var(--ink); margin-right: 6px; }
.area-card { border-radius: 10px; overflow: hidden; background: var(--ink); color: #f3efe8; }
.area { display: block; width: 100%; height: auto; }
.area .routes path { fill: none; stroke: var(--brass2); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; opacity: 0; }
.area .routes path.on { opacity: 1; animation: drawto 1.2s var(--ease) forwards; }
.area .ripples circle { fill: none; stroke: var(--brass2); stroke-width: 1.5; transform-box: fill-box; transform-origin: center; animation: ripple 4.5s var(--ease) infinite; opacity: 0; }
.area .ripples circle:nth-child(2) { animation-delay: 1.5s; } .area .ripples circle:nth-child(3) { animation-delay: 3s; }
.area .pin { cursor: pointer; outline: none; }
.area .pin circle { fill: #e7eef8; transition: r .3s, fill .3s; }
.area .pin text { font-family: var(--sans); font-weight: 700; font-size: 17px; fill: #e7eef8; text-anchor: middle; }
.area .pin:hover circle, .area .pin.on circle, .area .pin:focus-visible circle { fill: var(--brass2); r: 12; }
.area .pin-home circle { fill: var(--brass2); }
.area .pin-home text { font-family: var(--serif); font-size: 25px; fill: var(--brass2); }
.area .pin-home .sm { font-family: var(--mono); font-size: 10px; letter-spacing: .14em; fill: rgba(231, 238, 248, .65); text-transform: uppercase; }
.area-read { display: grid; gap: 2px; padding: 16px 22px 0; }
.area-read b { font-family: var(--serif); font-weight: 500; font-size: 24px; }
.area-read span { color: rgba(243, 239, 232, .7); font-size: 15px; }
.area-actions { display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: center; padding: 16px 22px 22px; }
.area-addr { font-size: 14px; color: rgba(243, 239, 232, .7); }

.consult-sec { padding: var(--sec) 0; background: var(--stone); }
.consult-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(24px, 4vw, 60px); padding: 0 var(--pad); align-items: start; }
.req { display: grid; gap: 18px; padding: clamp(22px, 3vw, 34px); background: #fff; border-radius: 10px; box-shadow: 0 0 0 1px var(--line); }
.req label { display: grid; gap: 6px; font-size: 13.5px; font-weight: 700; color: var(--ink); }
.req input, .req select, .req textarea { width: 100%; padding: 13px 14px; border: 0; border-radius: 8px; background: #f6f1e8; box-shadow: inset 0 0 0 1px var(--line); color: var(--ink); font-weight: 500; }
.req input:focus, .req select:focus, .req textarea:focus { outline: none; box-shadow: inset 0 0 0 2px var(--brass); }
.req .f2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.req fieldset { border: 0; }
.req legend { font-size: 13.5px; font-weight: 700; color: var(--ink); margin-bottom: 8px; display: flex; gap: 10px; }
.req legend output { font-family: var(--mono); font-weight: 400; color: var(--brass); }
.req .btn { justify-self: start; }
.req .consult-note { color: var(--muted); }
.req .consult-note.ok { color: #2f6b45; font-weight: 700; }
.seg { display: inline-flex; padding: 4px; border-radius: 999px; background: #efe7da; gap: 2px; flex-wrap: wrap; }
.seg button { border: 0; background: none; cursor: pointer; padding: 9px 18px; border-radius: 999px; font-weight: 700; font-size: 14px; color: var(--ink); transition: background .3s, color .3s; }
.seg button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.days { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; scroll-snap-type: x mandatory; }
.days button { flex: none; scroll-snap-align: start; width: 68px; display: grid; justify-items: center; gap: 2px; padding: 10px 0; border: 0; border-radius: 10px; background: #f6f1e8; box-shadow: inset 0 0 0 1px var(--line); cursor: pointer; color: var(--ink); transition: background .3s, color .3s, transform .3s var(--ease); }
.days button small { font-family: var(--mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; opacity: .7; }
.days button b { font-family: var(--serif); font-size: 26px; font-weight: 500; line-height: 1; }
.days button span { font-size: 11.5px; }
.days button[aria-pressed="true"] { background: var(--ink); color: #fff; box-shadow: none; transform: translateY(-3px); }
.ticket { position: sticky; top: 90px; }
.ticket-in { position: relative; background: var(--bp); color: #e7eef8; border-radius: 10px; padding: 22px 22px 26px; font-family: var(--mono); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .5); background-image: linear-gradient(rgba(220, 232, 248, .08) 1px, transparent 1px), linear-gradient(90deg, rgba(220, 232, 248, .08) 1px, transparent 1px); background-size: 20px 20px; transition: transform .6s var(--ease); }
.ticket-in::after { content: ''; position: absolute; left: 14px; right: 14px; bottom: 58px; border-top: 2px dashed rgba(220, 232, 248, .35); }
.ticket-k { font-size: 11px; letter-spacing: .14em; border: 1px solid rgba(220, 232, 248, .4); padding: 8px 10px; }
.ticket dl { display: grid; grid-template-columns: auto 1fr; gap: 8px 16px; margin: 18px 0 40px; font-size: 14px; }
.ticket dt { color: var(--brass2); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; padding-top: 3px; }
.ticket dd { color: #fff; overflow-wrap: anywhere; }
.ticket dd.new { animation: pop .45s var(--ease); }
.ticket-stamp { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--brass2); }
.ticket.sent .ticket-in { transform: rotate(-1.5deg) translateY(-6px); }
.ticket.sent .ticket-stamp { color: #8fe0a2; }
.ticket-note { margin-top: 12px; font-size: 14px; color: var(--muted); }

/* ---------- tablets ---------- */
@media (max-width: 1100px) {
  body.menu-open .nav { justify-content: flex-start; align-items: stretch; padding: 92px 28px 40px; overflow-y: auto; gap: 4px; }
  body.menu-open .nav > a, body.menu-open .nav-drop-btn { font-family: var(--serif); font-size: 30px; padding: 6px 0; color: #fff; }
  body.menu-open .nav-drop-btn svg { display: none; }
  body.menu-open .nav-menu { position: static; width: auto; opacity: 1; visibility: visible; transform: none; background: transparent; box-shadow: none; padding: 4px 0 10px 14px; grid-template-columns: 1fr; color: #fff; border-left: 1px solid rgba(255, 255, 255, .2); }
  body.menu-open .nav-menu a { padding: 7px 10px; }
  body.menu-open .nav-menu b { font-family: var(--sans); font-size: 16px; font-weight: 600; }
  body.menu-open .nav-menu span { display: none; }
  body.menu-open .nav-menu a:hover, body.menu-open .nav-menu a[aria-current="page"] { background: rgba(255, 255, 255, .08); }
  .intro, .sun-sec, .value, .access, .level-sec, .hours-map, .consult-grid, .faqx, .art-body, .bc-grid, .kplan-grid, .planx-grid, .feat-grid, .cut-grid, .kinds-grid, .sketch-wrap { grid-template-columns: minmax(0, 1fr); }
  .phero-work, .phero-blog, .phero-contact, .art-hero { grid-template-columns: minmax(0, 1fr); }
  .nx-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .bgrid { grid-template-columns: 1fr 1fr; }
  .promise-list { grid-template-columns: 1fr 1fr; }
  .flip-grid { grid-template-columns: 1fr 1fr; }
  .faqx-side, .toc, .bc-art, .ticket, .planx-sheet, .feat-panels { position: relative; top: 0; }
  .faq-topics { flex-direction: row; }
  .cbuild-stage { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr); }
  .cbuild-copy { padding: 90px var(--pad) 0; }
  .csteps { display: flex; flex-wrap: wrap; gap: 4px 16px; margin-top: 14px; }
  .csteps li { font-size: 15px; padding: 4px 0; }
  .csteps li.on { transform: none; }
  .about-odo { position: static; align-items: flex-start; margin: 30px 0 22px; grid-row: 1; }
  .phero-about { grid-template-rows: auto auto; align-content: end; }
  .kinds-tabs { grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); border-top: 0; }
  .kinds-tabs button { font-size: 18px; padding: 12px 0; flex-direction: column; gap: 2px; }
  .kinds-tabs button[aria-selected="true"] { transform: none; }
  .art-hero { padding-top: 120px; }
  .time-left { top: 70px; }
}
/* ---------- phones ---------- */
@media (max-width: 720px) {
  .btn { white-space: normal; text-align: center; }
  .switch { display: grid; width: 100%; }
  .switch button { white-space: normal; padding: 10px 12px; line-height: 1.25; }
  .phero { min-height: 0; padding: 120px 18px 44px; }
  .phero h1 { font-size: 42px; }
  .phero-cmp ~ .phero-shade, .phero-shade { background: linear-gradient(0deg, rgba(11, 22, 40, .96) 0%, rgba(11, 22, 40, .84) 55%, rgba(11, 22, 40, .35) 80%, rgba(11, 22, 40, .1) 100%); }
  .phero:has(.phero-cmp) { min-height: 760px; }
  .phero .cmp-knob { top: 20%; }
  .phero .hero-actions .btn { flex: 1 1 100%; }
  .nav-menu { display: none; }
  body.menu-open .nav-menu { display: grid; }
  .reach { grid-template-columns: minmax(0, 1fr); }
  .tape { height: 260vh; }
  .tape-stage { padding: 96px 18px 40px; }
  .tape-case { width: 80px; height: 80px; border-radius: 18px; }
  .tape-case span { font-size: 20px; }
  .tape-blade { left: 74px; height: 44px; bottom: 12px; width: calc((100% - 90px) * var(--p, 0) + 20px); }
  .tape-ticks { width: calc(100vw - 90px - 36px); }
  .tape-ticks b { font-size: 10px; top: 24px; }
  .tape-ticks i.big { height: 20px; }
  .tape-body { height: 80px; }
  .sides-card { grid-template-columns: minmax(0, 1fr); }
  .switch button { padding: 11px 16px; font-size: 14px; }
  .promise-list, .flip-grid, .nx-list, .bgrid, .pairs-grid, .art-nav { grid-template-columns: minmax(0, 1fr); }
  .flip { aspect-ratio: 5 / 3; }
  .nx-list a { grid-template-columns: 110px 1fr auto; grid-template-rows: auto; align-items: center; }
  .nx-img { aspect-ratio: auto; height: 100%; min-height: 86px; }
  .nx-t { padding: 12px 14px; }
  .nx-t b { font-size: 19px; }
  .nx-list i { padding: 0 14px 0 0; }
  .feat-tabs { grid-template-columns: 1fr 1fr; }
  .feat-tabs button { padding: 14px; font-size: 14px; }
  .cut-tabs { grid-template-columns: 1fr 1fr; }
  .cut-tabs button:first-child { grid-column: 1 / -1; }
  .cut-tabs button { padding: 12px; }
  .cut-tabs span { display: none; }
  .cut-tabs button[aria-selected="true"] { transform: none; }
  .planx-read { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .planx-read b { font-size: 14px; }
  .kinds-cmp { aspect-ratio: 4 / 3; }
  .kinds-tabs button { font-size: 15px; }
  .cbuild { height: 460vh; }
  .cbuild-copy h2 { font-size: 30px; }
  .cb-art { height: 100%; }
  .gal-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 150px; }
  .lb-nav { top: auto; bottom: 64px; margin: 0; }
  .loupe { width: 140px; height: 140px; }
  .deck { height: 380px; margin-top: 10px; }
  .phero-work { padding-bottom: 30px; }
  .req .f2 { grid-template-columns: minmax(0, 1fr); }
  .path-steps { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .path-steps li { padding: 0 0 18px 34px; }
  .path-steps li::before { left: 8px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; }
  .path-steps li::after { top: 2px; }
  .reason-row li { width: 250px; }
  .qa button { grid-template-columns: 34px 1fr 24px; padding: 20px 0; }
  .qa-a > div { padding-left: 42px; }
  .faq-search output { display: none; }
  .art-hero h1 { font-size: 34px; }
  .prose { font-size: 17.5px; }
  .toc details:not([open]) summary span { display: inline; color: var(--muted); text-transform: none; letter-spacing: 0; font-family: var(--sans); font-size: 13px; margin-left: 6px; }
  .time-left { right: 12px; top: 64px; }
  .sign-chain { height: 40px; }
  .hours th, .hours td { padding: 12px 8px; font-size: 15px; }
  .style-labels button { font-size: 15px; }
  .level-wrap { padding: 20px 0; }
  .kplan-read div { grid-template-columns: 90px 1fr; }
  .bc-art { position: relative; }
}

/* ================= Kelly and Jesse's notes, 10 Nov 2026 ================= */

/* the Design tools button: every interactive tool on the site, one click from any page */
.nav-tools .nav-drop-btn { padding: 8px 14px 8px 12px; border-radius: 999px; box-shadow: inset 0 0 0 1.5px var(--brass2); transition: background .3s, box-shadow .3s; }
.nav-tools .nav-drop-btn::after { display: none; }
.nav-tools .nav-drop-btn:hover, .nav-tools.open .nav-drop-btn { background: rgba(217, 183, 122, .2); }
.has-scrolled .nav-tools .nav-drop-btn { box-shadow: inset 0 0 0 1.5px var(--brass); }
.nav-drop-btn .tools-ic { width: 15px; height: 15px; fill: none; stroke: var(--brass2); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; transform: none !important; }
.has-scrolled .nav-drop-btn .tools-ic { stroke: var(--brass); }
.nav-tools .nav-menu { left: auto; right: -12px; }
.nav-menu-head { grid-column: 1 / -1; padding: 6px 14px 4px; font-family: var(--mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--brass); }
[id$="-h"] { scroll-margin-top: 110px; }
/* room for the button: menu items stay on one line; on laptop widths the open/closed pill and the tagline step aside */
.nav a, .nav-drop-btn, .open-pill b { white-space: nowrap; }
@media (max-width: 1500px) { .nav { gap: 18px; } .top { gap: 18px; } }
@media (min-width: 1101px) and (max-width: 1380px) { .top .open-pill { display: none; } }

/* the services box: smaller, and it tucks down out of the way while you look at the picture */
.svc-card { left: 18px; right: auto; bottom: 18px; width: min(390px, calc(100% - 36px)); max-width: none; padding: 18px 22px 16px; transition: transform .6s var(--ease); }
.svc-card h3 { font-size: 24px; }
.svc-card p { margin-top: 6px; font-size: 15px; line-height: 1.5; }
.svc-card .svc-go, .svc-card .svc-more { margin-top: 10px; }
.svc-card .svc-more { font-size: 13.5px; }
@media (hover: hover) {
  .svc-pics:hover + .svc-card { transform: translateY(calc(100% - 56px)); }
}

/* the walkthrough film */
.film { padding: 0 var(--pad) var(--sec); }
.film-frame { position: relative; aspect-ratio: 16 / 9; max-height: 88vh; width: 100%; margin: 0 auto; border-radius: 8px; overflow: hidden; background: var(--ink) url("video/walkthrough-poster.jpg") center / cover; color: #fff; }
.film-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.film-shade { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgba(11, 22, 40, .8) 0%, rgba(11, 22, 40, .38) 38%, rgba(11, 22, 40, 0) 62%), linear-gradient(0deg, rgba(11, 22, 40, .55), rgba(11, 22, 40, 0) 45%); }
.film-copy { position: absolute; left: clamp(22px, 4vw, 60px); bottom: clamp(24px, 5vw, 64px); max-width: 540px; }
.film-copy .eyebrow { color: var(--brass2); }
.film-copy h2 { font-size: clamp(30px, 3.6vw, 54px); line-height: 1.04; margin-bottom: 24px; }
.film-copy h2 em { color: var(--brass2); }
.film-toggle { position: absolute; right: 18px; bottom: 18px; display: inline-flex; align-items: center; gap: 9px; padding: 9px 15px; border: 0; border-radius: 999px; background: rgba(12, 20, 36, .55); color: #fff; font-size: 13px; font-weight: 700; backdrop-filter: blur(6px); cursor: pointer; }
.film-toggle:hover { background: rgba(12, 20, 36, .8); }
.film-toggle i { width: 10px; height: 12px; border-left: 3px solid currentColor; border-right: 3px solid currentColor; }
.film-frame.paused .film-toggle i { width: 0; height: 0; border-right: 0; border-left: 10px solid currentColor; border-top: 6px solid transparent; border-bottom: 6px solid transparent; }
.film-credit { position: absolute; right: 20px; top: 16px; font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .8); text-shadow: 0 1px 8px rgba(0, 0, 0, .5); }

/* why choose JRB: eight promises, four across */
.why-grid.w8 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.why-grid.w8 li { padding: 30px 26px; }
.why-grid.w8 h3 { font-size: 23px; }

/* the new build on Our work */
.nb { padding: var(--sec) 0 0; }
.nb .film { padding-bottom: 0; }
.nb-facts { display: flex; flex-wrap: wrap; gap: 8px 26px; list-style: none; padding: 18px var(--pad) 0; font-size: 14.5px; color: var(--muted); }
.nb-facts li::before { content: '✓'; color: var(--brass); margin-right: 7px; }

@media (max-width: 1100px) {
  .why-grid.w8 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body.menu-open .nav-tools .nav-drop-btn { box-shadow: none; padding: 6px 0; background: none; color: var(--brass2); }
  body.menu-open .nav-menu-head { color: var(--brass2); padding: 4px 10px; }
}
@media (max-width: 720px) {
  .why-grid.w8 { grid-template-columns: minmax(0, 1fr); }
  /* on a phone the box sits under the picture instead of over it */
  .svc-stage { min-height: 0; overflow: visible; background: none; border-radius: 0; }
  .svc-pics { position: relative; inset: auto; height: auto; aspect-ratio: 4 / 3; border-radius: 6px; overflow: hidden; background: var(--ink); }
  .svc-card { position: relative; left: 0; bottom: 0; width: 100%; margin-top: 10px; padding: 16px 18px 14px; background: var(--cream); }
  .film { padding: 0 0 64px; }
  .film-frame { aspect-ratio: 4 / 5; max-height: none; border-radius: 0; }
  .film-copy { right: 22px; bottom: 70px; }
  .film-shade { background: linear-gradient(0deg, rgba(11, 22, 40, .85) 0%, rgba(11, 22, 40, .35) 55%, rgba(11, 22, 40, 0) 75%); }
  .film-toggle { left: 22px; right: auto; }
  .film-credit { right: 14px; top: 12px; font-size: 10px; }
}

/* ---- the logo intro on the home page (intro-gate.js decides, 3d/intro.js plays it; tools/README.md) */
html.lx-on { overflow: hidden; }
html.lx-on .top .mark-logo { opacity: 0 !important; transition: none; }
html.lx-cover::after { content: ''; position: fixed; inset: 0; z-index: 999; background: #f4efe6; }

/* ---- the house in 3D (3d/house.js, tools/house): a model on a drafting table, in place of the flat drawing */
.build-art.is-3d { background: #f2ede3; }
.build-art.is-3d .sky, .build-art.is-3d .house { display: none; }
.v3 { position: absolute; inset: 0; }
.v3-dusk { position: absolute; inset: 0; background: radial-gradient(ellipse 70% 46% at 50% 44%, rgba(226, 150, 92, .34), rgba(226, 150, 92, 0) 70%), linear-gradient(180deg, #0f1830 0%, #1b2947 60%, #18243e 100%); opacity: 0; }
.v3-gl { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.v3-lines { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.v3-lines line { stroke: color-mix(in srgb, #14202e, #ffffff calc(var(--dusk, 0) * 100%)); stroke-width: 1.2; opacity: 0; }
.v3-lines circle { fill: var(--brass2); stroke: #13213a; stroke-width: 1.5; opacity: 0; }
.v3-tags { position: absolute; inset: 0; pointer-events: none; }
.v3-tag { position: absolute; left: 0; top: 0; padding: 7px 12px; border-radius: 6px; background: #13213a; color: #fff; font: 700 12.5px/1.2 var(--sans); letter-spacing: .02em; white-space: nowrap; box-shadow: 0 6px 18px rgba(19, 33, 58, .2); opacity: 0; will-change: transform, opacity; }
.v3-stamp { position: absolute; right: 10%; top: 22%; padding: 12px 20px 10px; border: 4px solid #d5492a; border-radius: 8px; color: #d5492a; text-align: center; font-family: var(--mono); opacity: 0; mix-blend-mode: multiply; }
.v3-stamp b { display: block; font-size: 30px; font-weight: 600; letter-spacing: .14em; }
.v3-stamp span { display: block; margin-top: 3px; font-size: 10.5px; letter-spacing: .16em; }
.v3-key { position: absolute; right: 12%; top: 24%; padding: 10px 16px; border: 2px solid var(--brass); border-radius: 8px; background: #f7f1e6; color: #13213a; text-align: center; font-family: var(--mono); opacity: 0; box-shadow: 0 10px 30px rgba(0, 0, 0, .3); transform-origin: 50% 0; }
.v3-key b { display: block; font-size: 20px; letter-spacing: .12em; }
.v3-key span { display: block; margin-top: 2px; font-size: 10.5px; letter-spacing: .2em; }
.build-art.is-3d .build-cap { z-index: 3; background: rgba(19, 33, 58, .92); }
.build-art.is-3d .build-meter { z-index: 3; background: rgba(19, 33, 58, .14); }
@media (max-width: 720px) {
  .v3-tag { padding: 5px 9px; font-size: 11px; }
  .v3-stamp b { font-size: 22px; }
}

/* ---- the project brief's send form: name, phone, email, and it goes to JRB (site.js: JRB.leadForm) */
.brief-send { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 18px; }
.brief-send input { min-width: 0; padding: 13px 14px; border: 1px solid rgba(255, 255, 255, .24); border-radius: 10px; background: rgba(255, 255, 255, .08); color: #fff; font: inherit; }
.brief-send input::placeholder { color: rgba(255, 255, 255, .62); }
.brief-send input:focus { outline: 2px solid var(--brass2); outline-offset: 1px; }
.brief-send button, .brief-send .consult-note { grid-column: 1 / -1; }
.brief-send + .brief-actions { margin-top: 10px; }
@media (max-width: 720px) { .brief-send { grid-template-columns: minmax(0, 1fr); } }

/* ---- the other 3D pictures (tools/): each sits on its own sheet of drafting paper */
.v3-hint { position: absolute; left: 14px; bottom: 12px; margin: 0; padding: 7px 12px; border-radius: 999px; background: rgba(19, 33, 58, .86); color: #fff; font: 600 12px/1 var(--sans); letter-spacing: .04em; pointer-events: none; transition: opacity .6s; }
.v3-hint.off { opacity: 0; }
.cut-art.is-3d .cut { display: none; }
.v3-cut { position: relative; aspect-ratio: 16 / 11; border-radius: 8px; overflow: hidden; background: #f2ede3; box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .6); }
@media (max-width: 720px) { .v3-cut { aspect-ratio: 1 / 1; } }.room-wrap.is-3d .room { display: none; }
.v3-room { position: relative; aspect-ratio: 20 / 13; background: #f2ede3; }.bc-art.is-3d > svg { display: none; }
.cbuild-stage.is-3d .cb-art { display: none; }
.v3-cbuild { position: relative; min-width: 0; min-height: 0; background: #f2ede3; }

/* ---- the scenes that used to be scrolled through (a house going up, a commercial building, the tape measure): each
   is an ordinary section now, its picture a 16:9 sheet beside the words, playing by itself (site.js: JRB.selfPlay) */
.build, .cbuild { height: auto; padding: var(--sec) var(--pad); }
.build-stage, .cbuild-stage { position: static; height: auto; overflow: visible; background: none; grid-template-columns: minmax(0, 5fr) minmax(0, 8fr); grid-template-rows: none; gap: clamp(24px, 4vw, 64px); align-items: center; }
.build-copy, .cbuild-copy { padding: 0; }
.build-art, .v3-cbuild, .cb-art { aspect-ratio: 16 / 9; border-radius: 10px; overflow: hidden; box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .65); }
.cb-art { height: auto; align-self: center; }
.build-cap { top: 14px; right: 14px; padding: 8px 13px; font-size: 13px; }
.steps li, .csteps li { cursor: pointer; }
.steps li:focus-visible, .csteps li:focus-visible { outline: 2px solid var(--brass2); outline-offset: 4px; border-radius: 4px; }
.v3 { container-type: inline-size; }
.v3-stamp b { font-size: clamp(17px, 3.4cqw, 30px); } .v3-stamp span { font-size: clamp(8px, 1.3cqw, 10.5px); }
.v3-key b { font-size: clamp(14px, 2.4cqw, 20px); } .v3-key span { font-size: clamp(8px, 1.3cqw, 10.5px); }
.v3-tag { font-size: clamp(10.5px, 1.5cqw, 12.5px); }
.tape { height: auto; }
.tape-stage { position: static; height: auto; overflow: visible; gap: clamp(20px, 3vw, 40px); padding: var(--sec) var(--pad); }
@media (max-width: 1100px) {
  .build-stage, .cbuild-stage { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 720px) {
  .build, .cbuild, .tape { height: auto; }
  .build-art, .v3-cbuild, .cb-art { aspect-ratio: 4 / 3; }
  .tape-stage { padding: 64px 18px 48px; }
}
/* ---- the plan on the project brief: a sketch that can be changed (main.js) */
.brief-sheet { transform: none !important; }
.brief-plan { touch-action: none; user-select: none; -webkit-user-select: none; overflow: visible; }
.brief-plan.pencil { cursor: crosshair; }
.brief-plan .wall { transition: none; }
.brief-plan .exist { fill: rgba(231, 238, 248, .05); stroke: rgba(231, 238, 248, .55); stroke-width: 1.4; stroke-dasharray: 4 4; }
.brief-plan .ghost { fill: rgba(231, 238, 248, .45); font-size: 11px; letter-spacing: .12em; }
.brief-plan .pc .pc-b { fill: rgba(231, 238, 248, .09); stroke: rgba(231, 238, 248, .78); stroke-width: 1.3; cursor: grab; }
.brief-plan .pc:hover .pc-b { fill: rgba(231, 238, 248, .16); }
.brief-plan .pc.sel .pc-b { fill: rgba(217, 183, 122, .2); stroke: var(--brass2); stroke-width: 2; cursor: grabbing; }
.brief-plan .pc text { pointer-events: none; font-size: 8.5px; fill: #fff; }
.brief-plan .pc .pc-d { font-size: 7px; fill: rgba(231, 238, 248, .7); }
.brief-plan .pc-h, .brief-plan .fp-h { fill: var(--brass2); stroke: #13213a; stroke-width: 1; cursor: nwse-resize; }
.brief-plan .pc-x { cursor: pointer; }
.brief-plan .pc-x circle { fill: #e46a4a; stroke: #13213a; stroke-width: 1; }
.brief-plan .pc-x path { stroke: #fff; stroke-width: 1.6; stroke-linecap: round; fill: none; pointer-events: none; }
.brief-plan .ink { fill: none; stroke: var(--brass2); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; pointer-events: none; }
.sketch-bar { display: grid; gap: 10px; margin: 6px 0 16px; font-family: var(--sans); }
.sketch-add, .sketch-tools { display: flex; flex-wrap: wrap; gap: 6px; }
.sketch-bar button { border: 1px solid rgba(220, 232, 248, .35); background: rgba(255, 255, 255, .06); color: #e7eef8; border-radius: 999px; padding: 7px 12px; font: 600 12.5px/1 var(--sans); cursor: pointer; transition: background .2s; }
.sketch-bar button:hover { background: rgba(255, 255, 255, .16); }
.sketch-bar button[aria-pressed="true"] { background: var(--brass); border-color: var(--brass); color: #fff; }
.sketch-tools button { border-style: dashed; }
.sketch-hint { font-size: 12.5px; line-height: 1.5; color: rgba(231, 238, 248, .72); }

/* ---- kept for a page that a browser still holds in its old form (before the real logo went into the header): the
   old typeset mark keeps its size instead of filling the header */
.mark-roof svg { width: 46px; height: 16px; fill: none; stroke: currentColor; stroke-width: 3; margin-bottom: 2px; }
.mark-name { white-space: nowrap; font-family: var(--serif); font-size: 27px; font-weight: 700; line-height: 1; }
.mark-est { display: block; font-family: var(--mono); font-size: 9.5px; line-height: 1; letter-spacing: .18em; text-transform: uppercase; opacity: .75; margin-top: 5px; }
.cbuild .build-meter, .cbuild-stage > .build-meter { display: none; }
/* ---- pictures that took the place of flat drawings: the style house and the sunroom in 3D, the project design
   page's turning drawing, the blueprint pictures made from the photos themselves */
.style-wrap.is-3d, html.gl3 .style-wrap { max-width: calc(1000px + 2 * var(--pad)); margin-inline: auto; }
.style-wrap.is-3d .elev { display: none; }
.v3-style { position: relative; aspect-ratio: 16 / 8; border-radius: 10px; overflow: hidden; background: #f2ede3; box-shadow: 0 30px 60px -40px rgba(19, 33, 58, .45); }
.is-3d > .sun-art { display: none; }
.v3-sun { position: relative; aspect-ratio: 16 / 10; border-radius: 10px; overflow: hidden; background: #f2ede3; box-shadow: 0 30px 60px -40px rgba(19, 33, 58, .45); }
/* the sun-path dial in the corner of the sunroom picture: where the sun is on its way across the sky */
.v3-sunpath { position: absolute; z-index: 2; top: 12px; right: 12px; width: 118px; padding: 7px 9px 5px; border-radius: 8px; background: rgba(19, 33, 58, .86); pointer-events: none; }
.v3-sunpath svg { display: block; width: 100%; height: auto; overflow: visible; }
.v3-sunpath .hz { stroke: rgba(255, 255, 255, .5); stroke-width: 1.5; fill: none; }
.v3-sunpath .arc { stroke: rgba(255, 255, 255, .42); stroke-width: 1.5; stroke-dasharray: 3 5; fill: none; }
.v3-sunpath .orb { fill: #ffd56b; filter: drop-shadow(0 0 5px rgba(255, 214, 107, .95)); }
@media (max-width: 720px) { .v3-sunpath { width: 86px; top: 8px; right: 8px; padding: 5px 7px 4px; } }
.phero-draw.is-3d .pd-lines { display: none; }
.v3-sketch { z-index: -1; }
.sides-art { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.sides-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .7s var(--ease), transform 1.2s var(--ease); }
.sides-art .sa-com, .sides-wrap.is-com .sides-art .sa-res { opacity: 0; transform: scale(1.04); }
.sides-wrap.is-com .sides-art .sa-com { opacity: 1; transform: none; }
.kinds-plan img { transition: opacity .45s; }
.kinds-cmp.swap .kinds-plan img { opacity: 0; }
.flip { aspect-ratio: 4 / 3; }
@media (max-width: 720px) { .v3-style { aspect-ratio: 4 / 3; } }

/* "Your style" on a wide screen: the words on the left, the house and its slider on the right, all in one view */
@media (min-width: 1100px) {
  .style-sec { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 9fr); align-items: center; column-gap: clamp(28px, 4vw, 64px); padding-left: var(--pad); padding-right: var(--pad); }
  .style-sec > .sec-head { padding: 0; margin: 0; max-width: none; }
  .style-sec > .sec-head h2 { font-size: clamp(28px, 2.5vw, 40px); }
  .style-sec > .style-wrap, .style-sec > .style-wrap.is-3d, html.gl3 .style-sec > .style-wrap { padding: 0; margin: 0; max-width: none; }
}

/* the tape measure and the level on the about page, in 3D (tools/about): each a picture on the drafting paper.
   With the 3D tape the section is two columns: the words and the year on the left, the tape on the right. */
.tape-body.is-3d { height: auto; }
.tape-body.is-3d > .tape-case, .tape-body.is-3d > .tape-blade { display: none; }
.v3-tape, .v3-level { position: relative; width: 100%; aspect-ratio: 16 / 9; border-radius: 10px; overflow: hidden; background: #f2ede3; box-shadow: 0 30px 60px -40px rgba(19, 33, 58, .45); }
.v3-level { aspect-ratio: 16 / 10; outline: none; box-shadow: 0 30px 60px -40px rgba(0, 0, 0, .6); transition: box-shadow .3s; }
.v3-level:focus-visible { box-shadow: 0 0 0 3px var(--brass2); }
.level-wrap.is-3d { touch-action: auto; justify-items: stretch; padding: 0; gap: 18px; }
.level-wrap.is-3d > .level { display: none; }
.level-wrap.is-3d.is-level .v3-level { box-shadow: 0 0 0 3px #8fe0a2, 0 30px 60px -40px rgba(0, 0, 0, .6); }
@media (min-width: 900px) {
  :is(html.gl3 .tape-stage, .tape-stage:has(.tape-body.is-3d)) { grid-template-columns: minmax(0, 5fr) minmax(0, 8fr); grid-template-rows: auto auto; column-gap: clamp(24px, 4vw, 64px); row-gap: clamp(14px, 2vw, 28px); align-items: center; }
  :is(html.gl3 .tape-stage, .tape-stage:has(.tape-body.is-3d)) .tape-copy { grid-column: 1; grid-row: 1; align-self: end; }
  :is(html.gl3 .tape-stage, .tape-stage:has(.tape-body.is-3d)) .tape-read { grid-column: 1; grid-row: 2; align-self: start; }
  :is(html.gl3 .tape-stage, .tape-stage:has(.tape-body.is-3d)) .tape-body { grid-column: 2; grid-row: 1 / span 2; }
  :is(html.gl3 .tape-stage, .tape-stage:has(.tape-body.is-3d)) .tape-read b { font-size: clamp(72px, 8.4vw, 150px); }
}
@media (max-width: 720px) { .v3-tape, .v3-level { aspect-ratio: 4 / 3; } }

/* the kitchen plan's sink, range and refrigerator, drawn as they are on a plan (they were coloured dots) */
.kplan-sheet .kap rect, .kplan-sheet .kap circle, .kplan-sheet .kap path { fill: var(--bp); stroke: #e7eef8; stroke-width: 1.8; }
.kplan-sheet .kap .kin { fill: none; stroke-width: 1.4; }
.kplan-sheet .kap .kdot { fill: #e7eef8; stroke: none; }
.kplan-sheet .kap .kpin { fill: var(--brass2); stroke: none; }

/* the open / closed sign on the contact page: an enamel sign on two cords from a brass nail (it was a flat card on a dashed line) */
.sign-chain { background: none; }
.sign-chain::before { left: 50%; right: auto; top: -2px; width: 12px; height: 12px; margin-left: -6px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #f6e2b4, #b98a4a 60%, #7d5a26); box-shadow: 0 3px 6px rgba(0, 0, 0, .5); z-index: 2; }
.sign::before { content: ''; position: absolute; left: 50%; bottom: 100%; width: 72%; height: 68px; transform: translateX(-50%); pointer-events: none;
  background: linear-gradient(to top left, transparent calc(50% - 1px), #d9c59c calc(50% - 1px), #d9c59c calc(50% + 1px), transparent calc(50% + 1px)) left / 50% 100% no-repeat, linear-gradient(to top right, transparent calc(50% - 1px), #d9c59c calc(50% - 1px), #d9c59c calc(50% + 1px), transparent calc(50% + 1px)) right / 50% 100% no-repeat; }
.sign-face { border-radius: 7px; }
.sign-open, .sign-closed { background: linear-gradient(165deg, #fffdf8 0%, #f4eee2 62%, #e9e0d0 100%); }
.sign-open { color: #27523a; box-shadow: inset 0 0 0 5px #fbf8f2, inset 0 0 0 7px #27523a, inset 0 0 0 10px #fbf8f2, inset 0 0 0 11px rgba(39, 82, 58, .55), 0 30px 50px -24px rgba(0, 0, 0, .7); }
.sign-closed { color: #9a3b27; box-shadow: inset 0 0 0 5px #fbf8f2, inset 0 0 0 7px #9a3b27, inset 0 0 0 10px #fbf8f2, inset 0 0 0 11px rgba(154, 59, 39, .55), 0 30px 50px -24px rgba(0, 0, 0, .7); }
.sign-face::before, .sign-face::after { content: ''; position: absolute; top: 15px; width: 9px; height: 9px; border-radius: 50%; background: radial-gradient(circle, #2a2118 0 32%, #e7cf9c 36% 62%, #a87d3c 66%); }
.sign-face::before { left: 14%; } .sign-face::after { right: 14%; }
@media (max-width: 900px) { .sign::before { height: 40px; } }

/* Where the browser can draw 3D (html.gl3: said in each page's head before anything is painted), the flat drawing that
   a 3D picture replaces is never shown: its place is held by a blank sheet of the drafting paper, the size the picture
   will be, until the picture is ready. If a picture fails to arrive, site.js takes gl3 off and the drawings come back. */
html.gl3 .build-art:not(.is-3d) { background: #f2ede3; }
html.gl3 .build-art:not(.is-3d) :is(.sky, .house), html.gl3 .phero-draw:not(.is-3d) .pd-lines, html.gl3 .tape-body:not(.is-3d) > :is(.tape-case, .tape-blade) { display: none; }
html.gl3 .cut-art:not(.is-3d) .cut > *, html.gl3 .room-wrap:not(.is-3d) .room > *, html.gl3 .bc-art:not(.is-3d) > svg > *, html.gl3 .cbuild-stage:not(.is-3d) .cb-art > *,
html.gl3 .style-wrap:not(.is-3d) .elev > *, html.gl3 [data-sun]:not(.is-3d) > .sun-art > *, html.gl3 .level-wrap:not(.is-3d) > .level > * { display: none; }
html.gl3 .cut-art:not(.is-3d) .cut, html.gl3 .room-wrap:not(.is-3d) .room, html.gl3 .bc-art:not(.is-3d) > svg, html.gl3 .cbuild-stage:not(.is-3d) .cb-art,
html.gl3 .style-wrap:not(.is-3d) .elev, html.gl3 [data-sun]:not(.is-3d) > .sun-art, html.gl3 .level-wrap:not(.is-3d) > .level, html.gl3 .tape-body:not(.is-3d) {
  width: 100%; height: auto; border-radius: 10px; cursor: default;
  background-image: linear-gradient(rgba(20, 32, 46, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(20, 32, 46, .05) 1px, transparent 1px); background-size: 28px 28px; background-color: #f2ede3;
}
html.gl3 .cut-art:not(.is-3d) .cut { aspect-ratio: 16 / 11; }
html.gl3 .room-wrap:not(.is-3d) .room, html.gl3 .bc-art:not(.is-3d) > svg { aspect-ratio: 20 / 13; }
html.gl3 .style-wrap:not(.is-3d) .elev { aspect-ratio: 16 / 8; }
html.gl3 [data-sun]:not(.is-3d) > .sun-art, html.gl3 .level-wrap:not(.is-3d) > .level { aspect-ratio: 16 / 10; }
html.gl3 .tape-body:not(.is-3d) { aspect-ratio: 16 / 9; }
html.gl3 .level-wrap:not(.is-3d) { touch-action: auto; justify-items: stretch; padding: 0; gap: 18px; }
html.gl3 .level-wrap:not(.is-3d) > .level { transform: none; }
@media (max-width: 720px) {
  html.gl3 .cut-art:not(.is-3d) .cut { aspect-ratio: 1 / 1; }
  html.gl3 .style-wrap:not(.is-3d) .elev, html.gl3 .tape-body:not(.is-3d), html.gl3 .level-wrap:not(.is-3d) > .level { aspect-ratio: 4 / 3; }
}

/* the furnished 3D floor plan the blueprint turns into (tools/plan/plan3d.js): it lies exactly over the drawing and is
   seen only once the drawing is finished; plan3d.js fades it in and out. The stamp goes as the house comes up. */
.v3-plan { opacity: 0; pointer-events: none; background: #f2ede3; border-radius: inherit; }
.sketch-wrap.built .sketch-stamp { opacity: 0; transition: opacity .35s; }
