/* Hallmark · shape: Configurator (custom direction, by request) · genre: editorial · theme: custom "Drawing desk" (warm paper, ink, denim blue + cedar brown from the client's renders) · job: find a plan and buy the plan set · draw: manual
 * hero (v7, 2026-11-18, "Plan Finder"): split, type column left with one square-footage rule, the plan's render and its drafted floor plan right, a 4px ink rule between · nav: edge-aligned, wordmark and one action · footer: mast, the name set huge over the links · imagery: renders of the client's own plans + his plans drafted as line work · signature: drag the square-footage rule and the nearest published plan swaps its render, floor plan, specs and price
 * axes: light/grotesk-display/warm-achromatic + two accents · posture: ruled · contrast: pass · fold: pass · v2.0.0 */
/* Hallmark · pre-emit critique: P3 H3 E3 S3 R3 V3 · motion kept to the rule, the render wipe, the plan drawing itself in, the card reorder and the step rules that follow the scroll, all with reduced-motion stills */
/* Hallmark · waive 59 · the Plan Finder bar sits 32px under the hero and every other section gap is 192px or more · the bar is the hero's own filter row, so it stays attached to the rule it narrows */
/* Hallmark · waive 77 · the section leads with the plan set price set 136px tall beside two ruled lists · the price numeral is the mass, a picture here would repeat the cards above */
/* Hallmark · waive 28b · both videos are below the fold, are not the LCP and play over a still that is already on screen · the still under them is the poster */
/* Hallmark · waive 24b · every control still measures 44px or more at 375px · 2px steps inside small controls and optical centring keep the tap targets and the knob on their lines */
@import url("./tokens.css");
@import url("./base.css");
@font-face { font-family: "Funnel Display"; src: url("fonts/funnel-display-latin-wght.woff2") format("woff2"); font-weight: 300 800; font-display: swap; }
@font-face { font-family: "Funnel Sans"; src: url("fonts/funnel-sans-latin-wght.woff2") format("woff2"); font-weight: 300 800; font-display: swap; }
@font-face { font-family: "Martian Mono"; src: url("fonts/martian-mono-latin-wght.woff2") format("woff2"); font-weight: 100 800; font-display: swap; }

/* ---------- buttons: one style, one outline partner ---------- */
.btn { white-space: nowrap; display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 24px; border: var(--rule-thin) solid var(--ink); background: var(--ink); color: var(--on-ink); font-family: var(--font-body); font-weight: 600; font-size: 1rem; line-height: 1.1; text-decoration: none; text-align: center; transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease), transform var(--dur) var(--ease); }
.btn:hover { background: var(--blue); border-color: var(--blue); }
.btn:active { transform: translateY(2px); }
.btn[disabled] { background: var(--ink-2); border-color: var(--ink-2); color: var(--on-ink-2); cursor: progress; }
.btn--sm { min-height: 44px; padding: 0 16px; font-size: var(--fs-sm); }
.btn--line { background: transparent; color: var(--ink); }
.btn--line:hover { background: var(--ink); border-color: var(--ink); color: var(--on-ink); }
.btn--paper { background: var(--white); border-color: var(--white); color: var(--ink); }
.btn--paper:hover { background: var(--ink); border-color: var(--ink); color: var(--on-ink); }
.on-ink .btn--paper:hover { background: var(--blue-lt); border-color: var(--blue-lt); color: var(--ink); }
.on-ink .btn--line { border-color: var(--on-ink); color: var(--on-ink); }
.on-ink .btn--line:hover { background: var(--on-ink); color: var(--ink); }
.acts { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- nav ---------- */
.nav { position: sticky; top: 0; z-index: 50; background: var(--paper); border-bottom: var(--rule) solid var(--ink); }
.nav-in { display: flex; align-items: center; gap: var(--s-3); height: var(--nav-h); }
.brand { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; margin-right: auto; font-family: var(--font-display); font-weight: 800; font-size: 1.125rem; letter-spacing: -0.01em; text-decoration: none; white-space: nowrap; }
.nav-links { display: none; gap: var(--s-3); }
.nav-links a, .foot nav a { white-space: nowrap; display: inline-flex; align-items: center; min-height: 44px; font-size: var(--fs-sm); font-weight: 500; text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 calc(100% - 10px) / 0 2px no-repeat; transition: background-size var(--dur) var(--ease); }
.nav-links a:hover, .foot nav a:hover { background-size: 100% 2px; }
.nav-cta { display: none; }
.menu { position: relative; }
.menu summary { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border: var(--rule-thin) solid var(--ink); font-weight: 600; font-size: var(--fs-sm); list-style: none; cursor: pointer; }
.menu summary::-webkit-details-marker { display: none; }
.menu[open] summary { background: var(--ink); color: var(--on-ink); }
.menu nav { position: absolute; right: 0; top: calc(100% + 14px); width: min(300px, 86vw); display: grid; background: var(--ink); color: var(--on-ink); padding: 8px 0; }
.menu nav a { display: flex; align-items: center; min-height: 48px; padding: 0 20px; text-decoration: none; font-weight: 500; }
.menu nav a:hover { background: var(--line-on-ink); }
@media (min-width: 640px) { .nav-cta { display: inline-flex; } }
.nav-cta.nav-buy { display: none; }
@media (min-width: 820px) and (max-width: 1119px), (min-width: 1280px) { .nav-cta.nav-buy { display: inline-flex; } }
.nav-buy .was { opacity: .75; }
@media (min-width: 1120px) { .nav-links { display: flex; } .menu { display: none; } }

/* ---------- Prairie Grove in three lights (leads the new designs) ---------- */
.lt-stage { position: relative; overflow: hidden; aspect-ratio: 16 / 9; background: var(--ink); cursor: pointer; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.lt-img, .lt-vid { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
.lt-img { opacity: 0; transition: opacity 1100ms var(--ease); -webkit-user-drag: none; }
.lt-img.is-on { opacity: 1; }
.lt-vid { z-index: 2; opacity: 0; transition: opacity 700ms linear; pointer-events: none; }
.lt-vid.is-on { opacity: 1; }
.tag { position: absolute; z-index: 4; left: 12px; bottom: 12px; padding: 6px 10px; background: var(--ink); color: var(--on-ink); font-size: 0.8125rem; font-weight: 500; line-height: 1.2; }
.lt-stage .tag { max-width: calc(100% - 24px); }
.lt-pause { position: absolute; z-index: 4; right: 12px; top: 12px; min-height: 44px; padding: 0 14px; border: 0; background: var(--ink); color: var(--on-ink); font-size: 0.8125rem; font-weight: 600; }
.lt-pause:hover { background: var(--blue); }
@media (max-width: 479px) { .lt-tag-name { display: none; } }

.sw-pick { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); touch-action: pan-y; }
.sw-pick button { display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 72px; padding: 8px; border: 0; border-left: 1px solid var(--line-on-ink); background: var(--ink); color: var(--on-ink); font-weight: 600; transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease); }
.sw-pick button:first-child { border-left: 0; }
.sw-pick button:hover { background: var(--line-on-ink); }
.sw-pick button[aria-checked="true"] { background: var(--paper); color: var(--ink); }
.sw-pick button:focus-visible { outline-offset: -5px; }
.lt-ico { flex: none; width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.lt-pick button[aria-checked="true"] .lt-ico { stroke: var(--cedar); }
.lt-pick button[data-i="2"][aria-checked="true"] .lt-ico { stroke: var(--blue); }

/* the Villa plate: three real colourways */
.sw-stage { position: relative; overflow: hidden; background: var(--ink); cursor: pointer; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.sw-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; -webkit-user-drag: none; }
.sw-img.is-on { opacity: 1; z-index: 1; }
.sw-img.is-in { opacity: 1; z-index: 2; }
.sw-edge { position: absolute; inset: 0; z-index: 3; pointer-events: none; opacity: 0; border-left: var(--rule) solid var(--white); }
.plate-fig.sw-stage { aspect-ratio: 3 / 2; }
.plate-fig.sw-stage img, .plate-fig.sw-stage:hover img { aspect-ratio: auto; transform: none; transition: none; }
.plate .sw-pick { max-width: 520px; border: var(--rule-thin) solid var(--ink); background: var(--ink); }
.plate .sw-pick button { min-height: 60px; }
.chip { flex: none; width: 34px; height: 34px; border: var(--rule-thin) solid currentColor; background: linear-gradient(135deg, var(--a) 50%, var(--b) 50%); }
.chip--white, [data-c="white"] { --a: var(--villa-white-a); --b: var(--villa-white-b); --c: var(--villa-white-c); --d: var(--villa-white-d); }
.chip--beige, [data-c="beige"] { --a: var(--villa-beige-a); --b: var(--villa-beige-b); --c: var(--villa-beige-c); --d: var(--villa-beige-d); }
.chip--earth, [data-c="earth"] { --a: var(--villa-earth-a); --b: var(--villa-earth-b); --c: var(--villa-earth-c); --d: var(--villa-earth-d); }
.sw-name { font-family: var(--font-display); font-weight: 700; font-size: 1.375rem; line-height: 1.1; }

.strip { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: var(--fs-sm); }
.strip li { display: inline-flex; align-items: center; gap: 8px; }
.sq { flex: none; width: 22px; height: 22px; border: 1px solid var(--ink); }
.on-ink .sq { border-color: var(--on-ink-2); }
.sq[data-k="a"] { background: var(--a); } .sq[data-k="b"] { background: var(--b); } .sq[data-k="c"] { background: var(--c); } .sq[data-k="d"] { background: var(--d); }
.sq--prairie-1 { background: var(--prairie-1); } .sq--prairie-2 { background: var(--prairie-2); } .sq--prairie-3 { background: var(--prairie-3); } .sq--prairie-4 { background: var(--prairie-4); }
.sq--coastal-1 { background: var(--coastal-1); } .sq--coastal-2 { background: var(--coastal-2); } .sq--coastal-3 { background: var(--coastal-3); } .sq--coastal-4 { background: var(--coastal-4); }
.sq--elkhorn-1 { background: var(--elkhorn-1); } .sq--elkhorn-2 { background: var(--elkhorn-2); } .sq--elkhorn-3 { background: var(--elkhorn-3); } .sq--elkhorn-4 { background: var(--elkhorn-4); }
.sq--barndo-1 { background: var(--barndo-1); } .sq--barndo-2 { background: var(--barndo-2); } .sq--barndo-3 { background: var(--barndo-3); } .sq--barndo-4 { background: var(--barndo-4); }
.sq--ramble-1 { background: var(--ramble-1); } .sq--ramble-2 { background: var(--ramble-2); } .sq--ramble-3 { background: var(--ramble-3); } .sq--ramble-4 { background: var(--ramble-4); }

@media (min-width: 640px) and (max-width: 1199px) { .lt-stage { aspect-ratio: auto; height: min(56.25cqw, 58svh); } }
@media (min-width: 1200px) {
  .hero-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
  .hero-head, .lt-stage, .lt-pick, .hero-facts { order: 0; }
  .hero-head { justify-content: space-between; gap: var(--s-3); padding: clamp(28px, 2.8cqw, 44px) var(--gutter); padding-left: max(var(--gutter), calc((100cqw - var(--container)) / 2)); border-right: var(--rule) solid var(--ink); }
  #hero-h { font-size: clamp(3rem, 4.5cqw, 4.75rem); }
  .lt-stage { aspect-ratio: auto; min-height: 32.8cqw; }
  .hero-facts { grid-row: 2; grid-column: 1; align-items: center; padding-left: max(var(--gutter), calc((100cqw - var(--container)) / 2)); }
  .lt-pick { grid-row: 2; grid-column: 2; }
  .lt-pick button { min-height: 96px; font-size: 1.125rem; }
  .lt-pick button:first-child { border-left: 1px solid var(--line-on-ink); }
}
@media (max-width: 479px) { .hero .acts .btn { padding-inline: 14px; flex: 1 1 auto; } .lt-pick button { gap: 8px; font-size: var(--fs-sm); } .lt-ico { width: 24px; height: 24px; } }

/* ---------- section scaffolding ---------- */
section { scroll-margin-top: calc(var(--nav-h) + 8px); }
.designs, .tour, .how, .faq, .contact { padding-block: var(--s-6); }
.sec-head { display: grid; gap: var(--s-2); padding-bottom: var(--s-4); }
.sec-head p { max-width: 52ch; color: var(--ink-2); }
.legal .draft { padding: 12px 16px; border: var(--rule-thin) solid var(--cedar); color: var(--cedar); font-weight: 600; }
.on-ink .sec-head p { color: var(--on-ink-2); }
@media (min-width: 760px) { .sec-head { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: end; gap: var(--s-4); } }

/* ---------- new designs: plan-book plates ---------- */
.plate { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s-3); padding-block: var(--s-3) var(--s-5); border-top: var(--rule) solid var(--ink); }
.plate:last-child { padding-bottom: 0; }
.plate-fig { position: relative; overflow: hidden; align-self: start; }
.plate-fig img { display: block; }
.plate-fig img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform 600ms var(--ease); }
.plate-fig:hover img { transform: scale(1.025); }
.plate-fig .tag { bottom: auto; top: 12px; }
.plate-txt { display: grid; gap: var(--s-3); align-content: space-between; }
.plate-title { display: grid; gap: var(--s-2); }
.plate-no { font-family: var(--font-display); font-weight: 800; font-size: clamp(3.75rem, 2rem + 7vw, 7.5rem); line-height: .82; letter-spacing: -0.04em; color: var(--cedar); }
.plate:nth-child(even) .plate-no { color: var(--blue); }
.plate-body { display: grid; gap: var(--s-3); }
.plate-body > p { max-width: 46ch; }
.plate-acts { display: flex; flex-wrap: wrap; gap: 12px; }
.plate-media { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; align-items: start; max-width: 660px; }
.mood { display: grid; gap: 8px; margin: 0; }
.mood-frame { position: relative; overflow: hidden; border: var(--rule-thin) solid var(--ink); }
.mood img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.mood .tag { left: 8px; bottom: 8px; }
.mood figcaption, .wt figcaption { font-size: 0.8125rem; line-height: 1.35; color: var(--ink-2); }
.seg { display: inline-flex; border: var(--rule-thin) solid var(--ink); }
.seg button { min-height: 48px; padding: 0 20px; border: 0; background: transparent; font-weight: 600; transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease); }
.seg button[aria-pressed="true"], .seg button[aria-selected="true"] { background: var(--ink); color: var(--on-ink); }
.seg button:not([aria-pressed="true"]):not([aria-selected="true"]):hover { background: var(--line); }

.flip { perspective: 1800px; overflow: visible; }
.flip-in { position: relative; aspect-ratio: 16 / 9; transform-style: preserve-3d; transition: transform 800ms var(--ease); }
.flip.is-rear .flip-in { transform: rotateY(180deg); }
.flip-face { position: absolute; inset: 0; height: 100%; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.plate-fig.flip img, .plate-fig.flip:hover img { transform: none; aspect-ratio: auto; transition: none; }
.plate-fig.flip .flip-back, .plate-fig.flip:hover .flip-back { transform: rotateY(180deg); }

@media (min-width: 760px) {
  .plate { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--s-4); }
  .plate:nth-child(odd):not(.plate--wide) .plate-fig { order: 2; }
  .plate:nth-child(odd):not(.plate--wide) { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
  .plate--wide { grid-template-columns: minmax(0, 1fr); }
  .plate--wide .plate-txt { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--s-4); align-items: start; }
}

/* ---------- the floor plan drawing (js/plan-svg.js) ---------- */
.plan .rm { fill: var(--pl-fill); stroke: none; }
.plan .t-open { fill: transparent; }
.plan .rm.hit { fill: var(--pl-hit); }
.plan .wall { fill: none; stroke: var(--pl-ink); stroke-linecap: square; transition: stroke var(--dur) var(--ease); }
.plan .w-ext { stroke-width: .6; } .plan .w-int { stroke-width: .3; } .plan .w-rail { stroke-width: .2; stroke-dasharray: .5 .4; }
.plan .tread { fill: none; stroke: var(--pl-soft); stroke-width: .08; }
.plan .lbl { font-family: var(--font-body); font-weight: 500; fill: var(--pl-ink); text-anchor: middle; pointer-events: none; }
.plan .dim { font-weight: 400; fill: var(--pl-soft); font-size: .78em; }
.plan .dimline path { stroke: var(--pl-soft); stroke-width: .08; fill: none; }
.plan .dimline text { fill: var(--pl-soft); text-anchor: middle; font-family: var(--font-body); }

/* ---------- live 3D stage ---------- */
.tour { border-bottom: var(--rule) solid var(--ink); }
.tour-in { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s-4); }
.tour-copy { display: grid; gap: var(--s-3); align-content: start; }
.tour-copy > p { max-width: 44ch; color: var(--ink-2); }
.tour-pick { display: grid; border-top: var(--rule-thin) solid var(--ink); }
.tour-pick button { display: flex; align-items: center; gap: 16px; min-height: 52px; padding: 6px 12px; border: 0; border-bottom: 1px solid var(--line); background: transparent; text-align: left; font-weight: 600; transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease); }
.tour-pick button .mono { flex: none; white-space: nowrap; color: var(--ink-2); font-weight: 400; }
.tour-pick button:hover { background: var(--white); }
.tour-pick button[aria-pressed="true"] { background: var(--ink); color: var(--on-ink); }
.tour-pick button[aria-pressed="true"] .mono { color: var(--on-ink-2); }
.tour-stage { display: grid; gap: 10px; align-content: start; }
.three { position: relative; background: var(--stage); }
.three canvas { display: block; width: 100%; height: 100%; }
.tour-stage .three { aspect-ratio: 4 / 3; border: var(--rule) solid var(--ink); }
.tour-name { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 4px 16px; }
.tour-name b { font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; }
.tour-note { font-size: var(--fs-sm); color: var(--ink-2); }
@media (pointer: coarse) { .tour-stage .three canvas { pointer-events: none; } }
@media (min-width: 760px) { .tour-in { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); } .tour-stage { order: 2; position: sticky; top: calc(var(--nav-h) + 20px); align-self: start; } }

/* ---------- how it works: rules that fill as you scroll ---------- */
.how h2 { padding-bottom: var(--s-4); }
.steps { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s-4); }
.steps li { position: relative; display: grid; gap: 12px; align-content: start; padding-top: var(--s-3); border-top: var(--rule) solid var(--line); --p: 1; }
.steps li::before { content: ""; position: absolute; left: 0; right: 0; top: calc(-1 * var(--rule)); height: var(--rule); background: var(--cedar); transform: scaleX(var(--p)); transform-origin: left; }
.step-n { font-family: var(--font-display); font-weight: 800; font-size: clamp(5rem, 3rem + 9vw, 9.5rem); line-height: .8; letter-spacing: -0.04em; color: var(--ink); transition: color 300ms var(--ease); }
.js .steps li:not(.on) .step-n { color: var(--ink-3); }
.steps p { max-width: 36ch; color: var(--ink-2); }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-4); } }

/* ---------- about ---------- */
.about { background: var(--blue); color: var(--on-ink); padding-block: var(--s-6); }
.about-in { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s-4); }
.about h2 { font-size: clamp(2.6rem, 1.4rem + 6vw, 6.5rem); line-height: .92; }
.about-txt { display: grid; gap: var(--s-3); align-content: end; justify-items: start; font-size: 1.1875rem; }
.about-txt p { max-width: 40ch; }
.about-txt #aboutPhoto img { width: min(100%, 320px); border: var(--rule) solid var(--on-ink); }
.about-fig { display: grid; gap: 10px; margin: 0; }
.about-fig img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; object-position: 50% 60%; border: var(--rule) solid var(--on-ink); }
.about-fig figcaption { font-size: var(--fs-sm); max-width: 70ch; }
.about :focus-visible { outline-color: var(--on-ink); }
@media (min-width: 760px) { .about-in { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); } .about-fig { grid-column: 1 / -1; } .about-fig img { aspect-ratio: 21 / 9; } }

/* ---------- faq ---------- */
.faq-in { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s-4); }
.faq-list { border-bottom: var(--rule-thin) solid var(--ink); }
.faq details { border-top: var(--rule-thin) solid var(--ink); }
.faq-list details:first-child { border-top-width: var(--rule); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: var(--s-3); min-height: 68px; padding-block: 14px; font-family: var(--font-display); font-weight: 700; font-size: clamp(1.125rem, 1rem + .6vw, 1.5rem); line-height: 1.2; list-style: none; cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; font-family: var(--font-mono); font-weight: 400; font-size: 1.5rem; line-height: 1; color: var(--blue); transition: transform var(--dur) var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--blue); }
.faq details p { max-width: 62ch; padding-bottom: var(--s-3); color: var(--ink-2); }
.faq details a { color: var(--blue); font-weight: 600; }
@media (min-width: 760px) { .faq-in { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); } }

/* ---------- contact ---------- */
.contact { border-top: var(--rule) solid var(--ink); background: var(--white); }
.contact-in { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s-4); }
.contact-copy { display: grid; gap: var(--s-3); align-content: start; }
.contact-copy p { max-width: 36ch; color: var(--ink-2); }
.reach { display: grid; gap: 4px; }
.reach a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; color: var(--blue); text-underline-offset: 4px; overflow-wrap: anywhere; }
.reach a:hover { color: var(--ink); }
.ask { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; }
.fld { display: grid; gap: 6px; align-content: start; }
.fld label { font-size: var(--fs-sm); font-weight: 600; }
.req, .opt { font-weight: 400; color: var(--ink-2); }
.fld input, .fld select, .fld textarea { width: 100%; min-height: 52px; padding: 12px 14px; border: var(--rule-thin) solid var(--ink); border-radius: 0; background: var(--white); font-size: 1rem; }
.fld textarea { resize: vertical; min-height: 132px; }
.fld input:hover, .fld select:hover, .fld textarea:hover { border-color: var(--blue); }
.fld [aria-invalid="true"] { border-color: var(--err); }
.err { font-size: var(--fs-sm); color: var(--err); font-weight: 500; }
.err:empty { display: none; }
.consent { display: flex; gap: 14px; align-items: flex-start; min-height: 48px; font-size: var(--fs-sm); color: var(--ink-2); cursor: pointer; }
.consent input { flex: none; width: 24px; height: 24px; margin: 2px 0 0; accent-color: var(--ink); }
.send { display: flex; flex-wrap: wrap; align-items: center; gap: 12px var(--s-3); }
.note { font-size: var(--fs-sm); color: var(--ink-2); max-width: 44ch; }
.note a { color: var(--blue); font-weight: 600; }
.form-msg { font-weight: 500; }
.form-msg:empty { display: none; }
.form-msg a { color: var(--blue); }
.sent { display: grid; gap: var(--s-2); justify-items: start; align-content: start; padding: var(--s-4); border: var(--rule) solid var(--ink); }
@media (min-width: 640px) { .ask { grid-template-columns: repeat(2, minmax(0, 1fr)); } .wide { grid-column: 1 / -1; } }
@media (min-width: 760px) { .contact-in { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: var(--s-5); } }

/* ---------- footer ---------- */
.foot { background: var(--ink); color: var(--on-ink); padding-block: var(--s-5) 108px; }
.foot-in { display: grid; gap: var(--s-4); }
.foot-mast { font-family: var(--font-display); font-weight: 800; font-size: clamp(2rem, 9.2vw, 8.5rem); line-height: .9; letter-spacing: -0.03em; white-space: nowrap; padding-bottom: var(--s-3); border-bottom: var(--rule) solid var(--on-ink); }
.foot-cols { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s-3); }
.foot nav { display: grid; justify-items: start; }
.foot nav a { min-width: 44px; }
.foot .fine { max-width: 72ch; font-size: var(--fs-sm); color: var(--on-ink-2); }
@media (min-width: 640px) { .foot-cols { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 640px) { .foot { padding-bottom: var(--s-5); } }

/* ---------- sticky ask button (phones and the preview pane) ---------- */
.sticky { position: fixed; z-index: 40; left: 16px; right: 16px; bottom: max(12px, env(safe-area-inset-bottom)); display: flex; align-items: center; justify-content: center; min-height: 52px; background: var(--ink); color: var(--on-ink); border: var(--rule-thin) solid var(--white); font-weight: 600; text-decoration: none; transition: transform 300ms var(--ease), background-color var(--dur) var(--ease); }
.sticky:hover { background: var(--blue); }
.sticky.away { transform: translateY(160%); }
@media (min-width: 640px) { .sticky { display: none; } }

/* ---------- plan viewer dialog ---------- */
.viewer { width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: var(--paper); color: var(--ink); }
.viewer::backdrop { background: var(--ink); }
.v { display: flex; flex-direction: column; height: 100%; }
.v-top { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; padding: 10px 16px; border-bottom: var(--rule) solid var(--ink); }
.v-title { margin-right: auto; display: grid; gap: 2px; min-width: 0; }
.v-title h2 { font-size: clamp(1.25rem, 1rem + 1.4vw, 2rem); }
.v-title .mono { color: var(--ink-2); }
.v-top .seg button { min-height: 44px; padding: 0 16px; font-size: var(--fs-sm); }
.v-body { flex: 1; min-height: 0; overflow: auto; }
.v-main { display: flex; flex-direction: column; min-height: min(58dvh, 620px); }
.v-tools { display: flex; flex-wrap: wrap; gap: 8px; padding: 8px 16px; border-bottom: 1px solid var(--line); }
.v-tools:empty { display: none; }
.row { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { min-height: 44px; min-width: 44px; padding: 0 14px; border: var(--rule-thin) solid var(--ink); background: var(--white); font-size: var(--fs-sm); font-weight: 600; transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease); }
.pill:hover { background: var(--line); }
.pill[aria-pressed="true"] { background: var(--ink); color: var(--on-ink); }
.pane { position: relative; flex: 1; min-height: 280px; overflow: hidden; background: var(--stage); }
.pane .three { position: absolute; inset: 0; }
.honest { position: absolute; left: 12px; bottom: 12px; padding: 6px 10px; background: var(--white); border: var(--rule-thin) solid var(--ink); font-size: var(--fs-sm); pointer-events: none; }
.roomcard { position: absolute; right: 12px; top: 12px; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; max-width: calc(100% - 24px); padding: 10px 14px; background: var(--ink); color: var(--on-ink); font-size: var(--fs-sm); }
.roomcard span { font-family: var(--font-mono); font-size: var(--fs-mono); color: var(--on-ink-2); }
.zoomer { position: absolute; inset: 0; transform-origin: 0 0; touch-action: none; cursor: grab; background: var(--white); }
.zoomer .plan { width: 100%; height: 100%; padding: 12px; }
.pane .rm { cursor: pointer; }
.zoomctl { position: absolute; right: 12px; bottom: 12px; display: flex; gap: 8px; }
.v-side { display: grid; gap: var(--s-2); align-content: start; padding: 20px 16px 32px; border-top: var(--rule) solid var(--ink); }
#vSpecs div { display: flex; justify-content: space-between; gap: 16px; padding: 8px 0; border-bottom: 1px solid var(--line); }
#vSpecs dt { color: var(--ink-2); }
#vSpecs dd { font-weight: 600; font-variant-numeric: tabular-nums; }
.v-label { font-weight: 600; font-size: var(--fs-sm); padding-bottom: 8px; }
.roomlist { display: flex; flex-wrap: wrap; gap: 8px; }
.v-side .fine { font-size: var(--fs-sm); color: var(--ink-2); }
@media (min-width: 900px) {
  .v-body { display: grid; grid-template-columns: minmax(0, 1fr) 340px; grid-template-rows: minmax(0, 1fr); overflow: hidden; }
  .v-main { min-height: 0; }
  .v-side { border-top: 0; border-left: var(--rule) solid var(--ink); overflow: auto; padding: 24px; }
}

/* ---------- legal + 404 pages ---------- */
.legal { max-width: 760px; padding-block: var(--s-5) var(--s-6); display: grid; gap: var(--s-2); }
.legal h1 { font-size: var(--fs-h2); padding-bottom: var(--s-2); border-bottom: var(--rule) solid var(--ink); }
.legal h2 { font-size: 1.5rem; padding-top: var(--s-3); }
.legal ul { list-style: disc; padding-left: 1.25em; display: grid; gap: 6px; }
.legal a { color: var(--blue); font-weight: 600; }
.legal .fine { color: var(--ink-2); font-size: var(--fs-sm); }
.lost { min-height: calc(100svh - var(--nav-h)); display: grid; align-content: center; gap: var(--s-3); padding-block: var(--s-5); }
.lost h1 { font-size: clamp(5rem, 28vw, 20rem); line-height: .8; color: var(--ink); }
.lost p { font-size: 1.25rem; max-width: 30ch; }

@media (prefers-reduced-motion: reduce) {
  .flip-in { transition: none; }
  .plate-fig:hover img { transform: none; }
  .steps li { --p: 1 !important; }
}

/* ---------- concept walk-throughs: video on the card, live tour in a dialog ---------- */
.wt { display: grid; gap: 8px; margin: 0; }
.wt-frame { position: relative; border: var(--rule-thin) solid var(--ink); background: var(--ink); }
.wt video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.wt-play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; font-size: var(--fs-sm); border: var(--rule-thin) solid var(--ink); background: var(--white); color: var(--ink); font-weight: 600; white-space: nowrap; transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease); }
.wt-play:hover { background: var(--ink); color: var(--on-ink); }
.wt.is-playing .wt-play { display: none; }
.walk-stage { position: relative; flex: 1; min-height: 240px; overflow: hidden; background: var(--stage); }
.walk-stage .three, .walk-stage video { position: absolute; inset: 0; width: 100%; height: 100%; }
.walk-stage video { object-fit: contain; background: var(--ink); }
.walk-stage .three { touch-action: none; cursor: grab; }
.walk-label { position: absolute; z-index: 3; left: 0; right: 0; bottom: 0; margin: 0; padding: 10px 16px; background: var(--ink); color: var(--on-ink); font-size: var(--fs-sm); font-weight: 600; line-height: 1.3; pointer-events: none; }
.walk-stage.is-video .walk-label { position: static; }
.walk-stage.is-video { display: flex; flex-direction: column; }
.walk-stage.is-video video { position: static; flex: 1; min-height: 0; }
.walk-room { position: absolute; z-index: 3; left: 12px; top: 12px; margin: 0; padding: 6px 10px; background: var(--white); border: var(--rule-thin) solid var(--ink); font-size: var(--fs-sm); font-weight: 600; pointer-events: none; }
.walk-room:empty { display: none; }
.walk-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; padding: 0 16px 12px; border-top: var(--rule) solid var(--ink); }
.walk-prog { flex: 0 0 calc(100% + 32px); margin: 0 -16px 4px; height: 6px; background: var(--line); }
.walk-prog span { display: block; height: 100%; background: var(--blue); transform-origin: 0 50%; transform: scaleX(0); }
.walk-hint { flex: 1 1 220px; margin: 0; font-size: var(--fs-sm); color: var(--ink-2); }
.walk-bar .btn { margin-left: auto; }
@media (max-width: 599px) { .walk-bar .btn { margin-left: 0; flex: 1 1 100%; } .walk-bar .pill { flex: 1 1 auto; } }

/* ---------- value + offers: per-sq-ft chip, offer lines, marketplace comparison ---------- */
.ppsf { justify-self: start; padding: 6px 10px; border: var(--rule-thin) solid var(--cedar-lt); color: var(--cedar-lt); font-family: var(--font-mono); font-size: var(--fs-mono); font-weight: 500; line-height: 1.3; font-variant-numeric: tabular-nums; }
.was { font-weight: 400; text-decoration-thickness: 2px; opacity: .8; }
.get-sub { font-size: 1.25rem; padding-top: var(--s-1); }
.offers { display: grid; gap: 8px; }
.offer { display: flex; align-items: flex-start; gap: 12px; max-width: 56ch; font-size: var(--fs-sm); line-height: 1.4; }
.offer b { flex: none; padding: 4px 8px; background: var(--cedar); color: var(--white); font-family: var(--font-mono); font-size: var(--fs-mono); font-weight: 600; white-space: nowrap; }
.offer span { padding-top: 3px; }
.offer a { color: var(--blue); font-weight: 600; text-underline-offset: 4px; }
.on-ink .offer b { background: var(--cedar-lt); color: var(--ink); }
.on-ink .offer a { color: var(--blue-lt); }
.deal { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; padding: 10px 12px; border: var(--rule-thin) solid var(--ink); font-size: var(--fs-sm); line-height: 1.35; }
.deal b { color: var(--cedar); font-weight: 700; }
.deal small { flex: 1 1 100%; font-size: 0.8125rem; color: var(--ink-2); }
.on-ink .deal { border-color: var(--cedar-lt); }
.on-ink .deal b { color: var(--cedar-lt); }
.on-ink .deal small { color: var(--on-ink-2); }
#tsDeal:empty, #vDeal:empty { display: none; }
.buy-reassure { padding: 10px 14px; border-left: var(--rule) solid var(--cedar); background: var(--white); font-size: var(--fs-sm); font-weight: 500; }

/* ---------- end card: closes a concept walk-through and a published 3D tour ---------- */
.endcard { position: absolute; z-index: 5; inset: 0; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: var(--s-2); padding: var(--s-3) max(16px, 6vw); overflow: auto; background: var(--scrim-strong); color: var(--on-ink); }
.endcard-h { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.5rem, 1.1rem + 2.4vw, 2.75rem); line-height: 1.05; max-width: 18ch; }
.endcard-p { max-width: 44ch; color: var(--on-ink-2); }
.endcard-acts { display: flex; flex-wrap: wrap; gap: 12px; }
.endcard-x { min-height: 44px; padding: 0; border: 0; background: none; color: var(--on-ink); font-weight: 600; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
@media (max-width: 479px) { .endcard-acts { align-self: stretch; } .endcard-acts .btn { flex: 1 1 100%; padding-inline: 12px; } }

/* ---------- sticky buy bar: 800px and under, over the published plans, the 3D stage and inside the plan viewer ---------- */
.buybar { display: none; }
@media (max-width: 800px) {
  .buybar { position: fixed; z-index: 41; left: 0; right: 0; bottom: 0; display: flex; align-items: center; gap: 12px; padding: 8px max(16px, env(safe-area-inset-right)) max(8px, env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left)); background: var(--white); color: var(--ink); border-top: var(--rule) solid var(--ink); }
  .buybar-txt { flex: 1; min-width: 0; display: grid; gap: 0; line-height: 1.25; }
  .buybar-txt b { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: var(--fs-sm); }
  .buybar-txt span { font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; font-variant-numeric: tabular-nums; }
  .buybar .btn { flex: none; }
  .buybar--in { position: static; flex: none; }
  .buybar--in.away { display: none; }
  .has-buybar .sticky { transform: translateY(160%); }
}

/* sale banner (shown by js/app.js only while CONFIG.OFFERS.LAUNCH_DISCOUNT is live) */
.salebar { background: var(--cedar); color: var(--on-ink); text-align: center; font-size: 14px; line-height: 1.4; padding: 12px 16px; }
.salebar b { font-weight: 700; }
.salebar a { color: inherit; text-decoration: underline; text-underline-offset: 3px; display: inline-block; min-height: 24px; margin-left: 8px; }
.salebar a:focus-visible { outline-color: var(--on-ink); }

/* video tour dialog (js/app.js openVideoTour) */
.vtour { width: min(960px, 94vw); max-height: 92vh; padding: 0; border: 0; border: var(--rule) solid var(--ink); border-radius: 0; background: var(--ink); color: var(--on-ink); overflow: auto; }
.vtour::backdrop { background: var(--scrim); }
.vtour-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; }
.vtour-head h3 { margin: 0; font-size: 17px; line-height: 1.3; }
.vtour-x { min-width: 44px; min-height: 44px; font-size: 28px; line-height: 1; background: none; border: 0; color: var(--on-ink); cursor: pointer; }
.vtour video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; background: var(--ink); }
.vtour-note { margin: 0; padding: 12px 16px 16px; font-size: 13px; line-height: 1.5; color: var(--on-ink-2); }

/* video tour poster on plan cards */
.pc-img--video { position: relative; }
.pc-play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: inline-flex; align-items: center; gap: 8px; padding: 12px 18px; background: var(--ink); color: var(--on-ink); font-weight: 600; font-size: 1rem; white-space: nowrap; transition: transform 300ms var(--ease); }
.pc-img--video:hover .pc-play, .pc-img--video:focus-visible .pc-play { transform: translate(-50%, -50%) scale(1.06); }

/* =====================================================================
   DRAG-TO-SPIN outside view (js/spin.js). Frame 00 is Gabe's front rendering; the orbit is AI-rendered and labelled.
   ===================================================================== */
.spin { position: relative; display: block; overflow: hidden; aspect-ratio: 3 / 2; background: var(--ink); cursor: grab; touch-action: pan-y; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; }
.spin.is-drag { cursor: grabbing; }
.spin:focus-visible { outline: 3px solid var(--blue); outline-offset: -3px; }
.spin-first, .spin-cv { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 58%; -webkit-user-drag: none; pointer-events: none; transition: transform 520ms cubic-bezier(.6, 0, .9, .4), opacity 420ms linear 120ms; }
.spin-cv { opacity: 0; }
.spin.is-live .spin-cv { opacity: 1; transition: transform 520ms cubic-bezier(.6, 0, .9, .4), opacity 0s; }
.spin.is-swap .spin-first { animation: spinIn 500ms var(--ease) both; }
@keyframes spinIn { from { opacity: 0; transform: scale(1.04); } }
.spin.is-entering .spin-first, .spin.is-entering .spin-cv { transform: scale(2.3); opacity: 0; }
.spin-hint { position: absolute; z-index: 3; left: 50%; top: 50%; display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px; background: var(--white); color: var(--ink); border: var(--rule-thin) solid var(--ink); font-weight: 700; font-size: 0.9375rem; line-height: 1; white-space: nowrap; pointer-events: none; transform: translate(-50%, -50%); transition: opacity 300ms linear, transform 300ms var(--ease); }
.spin-hint svg { flex: none; animation: spinNudge 1.8s var(--ease) infinite; }
@keyframes spinNudge { 0%, 100% { transform: translateX(-4px); } 50% { transform: translateX(4px); } }
.spin.is-touched .spin-hint { opacity: 0; transform: translate(-50%, -30%); }
.spin-side { position: absolute; z-index: 3; right: 8px; top: 8px; padding: 4px 8px; background: var(--ink); color: var(--on-ink); font-size: 0.6875rem; pointer-events: none; }
.spin-load { position: absolute; z-index: 3; left: 0; right: 0; bottom: 0; height: 4px; pointer-events: none; transition: opacity 400ms linear 300ms; }
.spin-load i { display: block; height: 100%; background: var(--cedar-lt); transform: scaleX(0); transform-origin: 0 50%; transition: transform 200ms linear; }
.spin.is-full .spin-load { opacity: 0; }
.spin-walk { position: absolute; z-index: 4; left: 12px; bottom: 14px; gap: 8px; min-height: 48px; padding: 0 18px; border-color: var(--ink); box-shadow: 4px 4px 0 var(--ink); }
.spin-walk:hover { box-shadow: 4px 4px 0 var(--cedar-lt); }
.spin-walk svg { flex: none; }

/* Prairie Grove in three lights, now leading the new designs */
.lights { margin-top: var(--s-5); border: var(--rule) solid var(--ink); background: var(--ink); }
.lights-h { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 16px; margin: 0; padding: 14px 16px; color: var(--on-ink); font-size: clamp(1.25rem, 1rem + 1vw, 1.75rem); }
.lights-h span { font-family: var(--font-body); font-weight: 500; font-size: var(--fs-sm); color: var(--on-ink-2); }
.lights .lt-stage { aspect-ratio: 16 / 9; height: auto; min-height: 0; max-height: 72svh; width: 100%; }
.lights .lt-pick button { min-height: 52px; font-size: 1rem; white-space: nowrap; }
.lights .lt-pick button:first-child { border-left: 0; }
@media (prefers-reduced-motion: reduce) { .spin-hint svg { animation: none; } .spin-first, .spin-cv { transition: none; } }
.contact-copy a { overflow-wrap: anywhere; }

/* =====================================================================
   PLAN FINDER (v7, 2026-11-18). The hero is one control: a square-footage rule.
   Drag it and the nearest published plan shows its render, its drafted floor plan and its price.
   Under it, the Plan Finder bar filters the plan cards. Motion is in js/app.js (GSAP).
   ===================================================================== */
.finder { border-bottom: var(--rule) solid var(--ink); }
.pf { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s-3); padding-block: var(--s-3) var(--s-4); }
.pf-left, .pf-right { display: contents; }
.pf-head { order: 1; display: grid; gap: 12px; }
.pf-view { order: 2; }
.pf-rule { order: 3; }
.pf-pick { order: 4; }
.pf-sheet { order: 5; }
#hero-h { font-size: clamp(2.5rem, 1rem + 6.6vw, 4.75rem); line-height: .94; letter-spacing: -0.035em; }
#hero-h .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .1em; margin-bottom: -.1em; }
#hero-h .w > span { display: inline-block; }
.lead { max-width: 44ch; font-size: clamp(1.0625rem, .95rem + .5vw, 1.25rem); line-height: 1.4; color: var(--ink-2); text-wrap: pretty; }

/* the rule: tag, track, knob, ticks */
.pf-rule { --p: 33.95%; --f: .3395; --in: 22px; position: relative; height: 128px; cursor: grab; touch-action: pan-y; user-select: none; -webkit-user-select: none; -webkit-tap-highlight-color: transparent; }
.pf-rule.is-drag { cursor: grabbing; }
.pf-track { position: absolute; left: var(--in); right: var(--in); top: 60px; height: 14px; background: var(--ink); }
.pf-fill { position: absolute; inset: 0; background: var(--blue); transform: scaleX(var(--f)); transform-origin: 0 50%; }
.pf-pips i { position: absolute; bottom: 100%; width: 3px; height: 9px; margin-left: -1.5px; background: var(--ink); transition: opacity var(--dur) var(--ease); }
.pf-pips i.off { opacity: .22; }
.pf-knob { position: absolute; left: calc(var(--in) + (100% - 2 * var(--in)) * var(--f)); top: 67px; width: 40px; height: 40px; margin: -20px 0 0 -20px; border: 3px solid var(--ink); border-radius: 50%; background: var(--cedar); transition: transform 180ms var(--ease); }
.pf-knob::before { content: ""; position: absolute; left: 50%; bottom: calc(100% + 6px); margin-left: -8px; border: 8px solid transparent; border-bottom-width: 0; border-top-color: var(--cedar); }
.pf-rule:hover .pf-knob { transform: scale(1.06); }
.pf-rule.is-drag .pf-knob { transform: scale(1.14, 1.02); }
.pf-rule:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; }
.pf-tag { position: absolute; top: 0; left: clamp(58px, calc(var(--in) + (100% - 2 * var(--in)) * var(--f)), calc(100% - 58px)); transform: translateX(-50%); padding: 8px 12px; background: var(--cedar); color: var(--on-ink); font-family: var(--font-display); font-weight: 700; font-size: 1.1875rem; line-height: 1; white-space: nowrap; font-variant-numeric: tabular-nums; }
.pf-ticks { position: absolute; left: var(--in); right: var(--in); top: 82px; display: flex; justify-content: space-between; }
.pf-ticks i { display: flex; flex-direction: column; align-items: center; gap: 4px; width: 0; font-style: normal; font-family: var(--font-display); font-weight: 700; font-size: 1rem; line-height: 1; white-space: nowrap; font-variant-numeric: tabular-nums; }
.pf-ticks i::before { content: ""; width: 3px; height: 12px; background: var(--ink); }

/* the plan the rule landed on */
.pf-pick { display: grid; gap: 8px; padding-top: var(--s-2); border-top: var(--rule) solid var(--ink); }
.pf-no { color: var(--ink-2); }
.pf-name { font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.5rem); line-height: 1.02; }
.pf-specs { display: flex; flex-wrap: wrap; gap: 4px 28px; padding-top: 4px; color: var(--ink-2); font-size: var(--fs-sm); line-height: 1.3; }
.pf-specs b { display: block; font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; line-height: 1.1; color: var(--ink); font-variant-numeric: tabular-nums; }
.pf-buy { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; margin-top: 8px; padding-top: 16px; border-top: 1px solid var(--line); }
.pf-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; }
.pf-price b { font-family: var(--font-display); font-weight: 800; font-size: clamp(2.75rem, 2rem + 2.4vw, 3.75rem); line-height: .9; letter-spacing: -0.03em; color: var(--cedar); font-variant-numeric: tabular-nums; }
.pf-price .was { font-size: 1.25rem; color: var(--ink-2); opacity: 1; font-variant-numeric: tabular-nums; }
.pf-price-note { flex-basis: 100%; font-size: var(--fs-sm); font-weight: 500; color: var(--ink-2); }

/* the render and the drawing */
.pf-view { position: relative; margin: 0; aspect-ratio: 3 / 2; overflow: hidden; background: var(--stage); border: var(--rule-thin) solid var(--ink); }
.pf-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 58%; }
.pf-sheet { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; align-content: start; }
.pf-sheet-top { display: flex; align-items: center; gap: 12px; min-height: 44px; border-bottom: var(--rule-thin) solid var(--ink); }
.pf-sheet-top p { margin-right: auto; color: var(--ink-2); }
.pf-sheet-top .seg { border-width: 0 0 0 var(--rule-thin); align-self: stretch; }
.pf-sheet-top .seg button { min-height: 44px; padding: 0 12px; font-size: var(--fs-sm); white-space: nowrap; }
.pf-sheet-top p { white-space: nowrap; }
@media (max-width: 479px) { .pf-sheet-top:has(.seg:not([hidden])) p { display: none; } .pf-sheet-top .seg { margin-right: auto; border-left-width: 0; } }
.pf-open, .pfbar-reset, .pc-more button, .pc-more a { display: inline-flex; align-items: center; min-height: 44px; padding: 0; border: 0; background: none; color: var(--blue); font-size: var(--fs-sm); font-weight: 600; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; white-space: nowrap; }
.pf-open:hover, .pfbar-reset:hover, .pc-more button:hover, .pc-more a:hover { color: var(--ink); }
.pf-plan { aspect-ratio: 1 / 1; }
.pf-plan .plan { width: 100%; height: 100%; }
.pf-cap { max-width: 64ch; font-size: 0.8125rem; line-height: 1.45; color: var(--ink-2); }

@media (min-width: 640px) {
  .pf { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--s-3); grid-template-areas: "head head" "rule rule" "view sheet" "pick sheet"; grid-template-rows: auto auto auto 1fr; }
  .pf-head { grid-area: head; } .pf-rule { grid-area: rule; } .pf-view { grid-area: view; } .pf-pick { grid-area: pick; align-self: start; } .pf-sheet { grid-area: sheet; }
  .pf-plan { aspect-ratio: 5 / 6; }
}
@media (min-width: 1100px) {
  .pf { grid-template-columns: minmax(0, 14fr) minmax(0, 11fr); grid-template-areas: none; grid-template-rows: none; column-gap: 0; gap: 0; padding-block: 28px; }
  .pf-left { display: flex; flex-direction: column; justify-content: center; gap: var(--s-3); padding-right: var(--s-4); border-right: var(--rule) solid var(--ink); }
  .pf-right { display: flex; flex-direction: column; gap: 12px; padding-left: var(--s-4); }
  .pf-head, .pf-rule, .pf-view, .pf-pick, .pf-sheet { grid-area: auto; }
  #hero-h { font-size: clamp(3.25rem, 5.05vw, 4.375rem); }
  .lead { max-width: none; }
  .pf-view { aspect-ratio: 9 / 4; }
  .pf-plan { aspect-ratio: 3 / 2; }
}

/* ---------- the drafted floor plan (js/plan-draft.js). 1 unit = 1 inch. ---------- */
.draft .rm { fill: var(--pl-room, var(--white)); stroke: none; }
.draft .t-outdoor, .draft .t-open { fill: transparent; }
.draft .rm.hit { fill: var(--pl-hit); }
.draft .slab { fill: none; stroke: var(--pl-ink); stroke-width: 1.4; }
.draft .wl { fill: none; stroke: var(--pl-ink); stroke-linecap: butt; }
.draft .wl-ext { stroke-width: 9; }
.draft .wl-int { stroke-width: 5; }
.draft .cap { fill: var(--pl-ink); stroke: none; }
.draft .thin { fill: none; stroke: var(--pl-ink); stroke-width: 1.3; stroke-linecap: butt; }
.draft .dash { stroke-width: 1.6; stroke-dasharray: 7 5; }
.draft .hair { fill: none; stroke: var(--pl-soft); stroke-width: 1; }
.draft .lbl { font-family: var(--font-body); font-weight: 600; letter-spacing: .03em; fill: var(--pl-ink); text-anchor: middle; pointer-events: none; paint-order: stroke; stroke: var(--pl-room, var(--white)); stroke-width: 4; stroke-linejoin: round; }
.draft .dim { font-weight: 400; letter-spacing: 0; fill: var(--pl-soft); }
.draft .dimline path { fill: none; stroke: var(--pl-ink); stroke-width: 1; }
.draft .dimline text { font-family: var(--font-body); font-weight: 500; fill: var(--pl-ink); text-anchor: middle; font-variant-numeric: tabular-nums; }
.pc-plan .draft .wl-ext { stroke-width: 11; }
.pc-plan .draft .wl-int { stroke-width: 6; }
.pc-plan .draft .thin, .pc-plan .draft .hair, .pc-plan .draft .slab { stroke-width: 2.4; }

/* ---------- the Plan Finder bar ---------- */
.plans { background: var(--paper); border-bottom: var(--rule) solid var(--ink); }
.plans > .wrap { padding-block: var(--s-5) var(--s-6); }
.pfbar { background: var(--white); border-bottom: var(--rule) solid var(--ink); }
.pfbar-in { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 28px; padding-block: 12px; }
.pfbar-h { font-family: var(--font-display); font-weight: 800; font-size: 1.375rem; line-height: 44px; letter-spacing: -0.01em; white-space: nowrap; }
.pfbar-groups { display: flex; flex-wrap: wrap; gap: 8px 28px; }
.pfbar-g { display: flex; align-items: center; gap: 12px; }
.pfbar-l { min-width: 3.4em; font-size: var(--fs-sm); font-weight: 700; }
.pfbar-opts { position: relative; display: flex; border: var(--rule-thin) solid var(--ink); background: var(--paper); }
.pfbar-opts button { position: relative; z-index: 1; min-width: 44px; min-height: 44px; padding: 0 12px; border: 0; background: none; font-size: var(--fs-sm); font-weight: 600; white-space: nowrap; font-variant-numeric: tabular-nums; transition: color var(--dur) var(--ease); }
.pfbar-opts button:hover { color: var(--blue); }
.pfbar-opts button:active { transform: scale(.97); }
.pfbar-opts button[aria-pressed="true"] { color: var(--on-ink); }
.pfbar-opts button:focus-visible { z-index: 2; outline-offset: 2px; }
.pfbar-pill { position: absolute; left: 0; top: 0; width: 100px; height: 44px; background: var(--blue); transform-origin: 0 0; }
.is-ready .pfbar-pill { transition: transform 250ms ease-in-out; }
.pfbar-n { display: flex; align-items: center; gap: 16px; margin-left: auto; min-height: 44px; font-family: var(--font-mono); font-size: var(--fs-mono); font-variant-numeric: tabular-nums; }
.pfbar-reset { font-family: var(--font-body); }
@media (min-width: 1100px) { .pfbar-h { padding-right: 28px; border-right: var(--rule-thin) solid var(--ink); } }
@media (max-width: 639px) { .pfbar-groups { display: grid; width: 100%; } .pfbar-n { margin-left: 0; } .pfbar-opts button { padding: 0 8px; } }

/* ---------- plan cards ---------- */
.plans-head { padding-bottom: var(--s-4); }
.plans-notes { display: grid; gap: 12px; }
.plans-honest { padding-left: 12px; border-left: var(--rule) solid var(--cedar); font-size: var(--fs-sm); color: var(--ink); }
.index { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s-3); }
.prow { display: grid; grid-template-rows: auto 1fr; min-width: 0; background: var(--white); border: var(--rule-thin) solid var(--ink); }
.prow.is-fit { border-color: var(--cedar); box-shadow: 0 0 0 2px var(--cedar); }
.pc-fit { display: none; color: var(--cedar); font-weight: 600; }
.is-fit .pc-fit { display: inline; }
.pc-fig { position: relative; background: var(--stage); border-bottom: var(--rule-thin) solid var(--ink); }
.pc-img { display: block; width: 100%; padding: 0; border: 0; background: none; overflow: hidden; cursor: pointer; }
.pc-img img { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.pc-plan { position: absolute; z-index: 2; right: 8px; bottom: 8px; width: clamp(96px, 30%, 124px); aspect-ratio: 4 / 3; padding: 4px; border: var(--rule-thin) solid var(--ink); background: var(--white); cursor: pointer; transition: background-color var(--dur) var(--ease); }
.pc-plan:hover { --pl-ink: var(--blue); background: var(--paper); }
.pc-plan .plan { width: 100%; height: 100%; }
.pc-plan--solo { position: static; width: 100%; border: 0; }
.pc-fig .spin { aspect-ratio: 3 / 2; }
.pc-fig .spin-side { display: none; }
.pc-fig .spin-walk { left: 8px; bottom: 8px; min-height: 44px; padding: 0 12px; font-size: 0.9375rem; box-shadow: none; border: var(--rule-thin) solid var(--ink); }
.pc-fig .spin-walk:hover { box-shadow: none; }
.pc-fig .spin-hint { left: 8px; top: 8px; padding: 4px 8px; border: 0; font-size: 0.75rem; font-weight: 600; gap: 8px; transform: none; }
.pc-fig .spin.is-touched .spin-hint { transform: none; }
.pc-fig .spin-hint svg { width: 26px; height: 14px; }
.pc-body { display: flex; flex-direction: column; gap: 8px; padding: 16px 16px 8px; }
.pc-no { color: var(--ink-2); }
.prow h3 { font-size: 1.625rem; }
.pc-specs { display: flex; flex-wrap: wrap; gap: 0 16px; color: var(--ink); }
.pc-buy { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line); }
.pc-body > .pc-specs { padding-bottom: 8px; }
.pc-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; }
.pc-price b { font-family: var(--font-display); font-weight: 800; font-size: 2.25rem; line-height: 1; letter-spacing: -0.02em; color: var(--cedar); font-variant-numeric: tabular-nums; }
.pc-price .was { font-size: 1.0625rem; color: var(--ink-2); opacity: 1; font-variant-numeric: tabular-nums; }
.pc-more { display: flex; flex-wrap: wrap; gap: 0 20px; }
.buy-note { display: flex; flex-wrap: wrap; gap: 0 20px; font-size: var(--fs-sm); }
.buy-note a { display: inline-flex; align-items: center; min-height: 44px; color: var(--blue); font-weight: 500; text-underline-offset: 4px; }
.buy-note a:hover { color: var(--ink); }
.on-ink .buy-note a { color: var(--blue-lt); }
.on-ink .buy-note a:hover { color: var(--on-ink); }
.nojs { padding-block: var(--s-3); }
.pf-empty { display: grid; gap: 12px; justify-items: start; padding: var(--s-4) var(--s-3); border: var(--rule-thin) dashed var(--ink); background: var(--white); }
.pf-empty-h { font-family: var(--font-display); font-weight: 800; font-size: var(--fs-h3); line-height: 1.05; letter-spacing: -0.02em; }
@media (min-width: 700px) { .index { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .index { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ---------- what you get: the offer, on white ---------- */
.get-sec { padding-block: var(--s-6); background: var(--white); border-bottom: var(--rule) solid var(--ink); }
.get { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s-3); }
.get-price { display: grid; gap: 8px; align-content: start; justify-items: start; color: var(--ink-2); }
.get-price b { font-family: var(--font-display); font-weight: 800; font-size: clamp(4rem, 2rem + 9vw, 8.5rem); line-height: .85; letter-spacing: -0.04em; color: var(--cedar); font-variant-numeric: tabular-nums; }
.get-was { color: var(--ink); font-weight: 600; max-width: 34ch; }
.get-go { margin-top: var(--s-2); }
.get-txt { display: grid; gap: var(--s-3) var(--s-4); align-content: start; }
.get-col { display: grid; gap: var(--s-2); align-content: start; }
.get-h, .get-sub { font-size: clamp(1.5rem, 1.3rem + .8vw, 1.875rem); line-height: 1.05; padding-bottom: 12px; border-bottom: var(--rule) solid var(--ink); }
.get-list { display: grid; gap: 8px; max-width: 56ch; }
.get-list li { padding-left: 20px; background: linear-gradient(var(--cedar), var(--cedar)) 0 .7em / 10px 2px no-repeat; }
.get-fine { font-size: var(--fs-sm); color: var(--ink-2); }
.sec-head p a, .get-fine a { color: var(--blue); font-weight: 600; text-underline-offset: 4px; }
@media (min-width: 760px) { .get { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: var(--s-4); align-items: start; } }
@media (min-width: 1000px) { .get-txt { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

@media (prefers-reduced-motion: reduce) { .pf-knob, .pfbar-pill, .is-ready .pfbar-pill { transition: none; } }
@media (max-width: 479px) { .sw-pick button { gap: 8px; padding: 8px 4px; font-size: var(--fs-sm); white-space: nowrap; } .lt-ico { width: 20px; height: 20px; } }
#swPick button { min-height: 52px; }
@media (min-width: 760px) and (max-width: 999px) { .reach a { font-size: 0.875rem; white-space: nowrap; } }

/* ---------- 2026-11-18: Gabe's own floor plan sheets and renderings, and the plain options list ---------- */
.fp { display: block; width: 100%; height: 100%; object-fit: contain; user-select: none; -webkit-user-drag: none; }
.pf-plan { background: var(--white); border: var(--rule-thin) solid var(--ink); cursor: zoom-in; }
.pf-plan .fp { padding: 6px; }
.pf-plan:hover { border-color: var(--blue); }
.pf-foot b { white-space: nowrap; }
.faq a[href="#options"], .buy-note a { white-space: nowrap; }
.pc-specs span { white-space: nowrap; }
.zoomer .fp { padding: 12px 12px 68px; }   /* the hint and the zoom buttons sit under the drawing, not on it */
.zoomer:has(.fp) { cursor: zoom-in; }
#zoomHint { max-width: calc(100% - 196px); }
.pane--pics { overflow: auto; background: var(--paper); }
.pics { display: grid; gap: var(--s-2); padding: 16px; max-width: 1100px; }
.pic { display: grid; gap: 8px; margin: 0; }
.pic img { display: block; width: 100%; height: auto; border: var(--rule-thin) solid var(--ink); background: var(--white); }
.pic figcaption, .pics-note, .v-concept-note { font-size: var(--fs-sm); color: var(--ink-2); }
.v-concept { display: grid; gap: 12px; justify-items: start; max-width: 1100px; margin: 0 16px 24px; padding-top: 16px; border-top: var(--rule) solid var(--ink); }
.v-concept .plate-media { width: 100%; }
#options { scroll-margin-top: calc(var(--nav-h, 64px) + 16px); }
.opt-list { display: grid; grid-template-columns: minmax(0, 1fr); column-gap: var(--s-4); margin: 0; max-width: 880px; }
.opt-list div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.opt-list dd { margin: 0; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
@media (min-width: 640px) { .opt-list { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: repeat(5, auto); grid-auto-flow: column; } }
@media (min-width: 1000px) { .get-opts { grid-column: 1 / -1; } }
.pf-sheet-top { flex-wrap: wrap; }
@media (max-width: 1099px) { .pf-sheet-top:has(.seg:not([hidden])) p { display: none; } .pf-sheet-top .seg { margin-right: auto; border-left-width: 0; } }

/* ---------- instant checkout: the order ticket (js/app.js openCheckout). Blue bar, ruled rows, cedar total. ---------- */
.co { width: min(560px, calc(100vw - 32px)); max-height: min(880px, calc(100dvh - 32px)); padding: 0; border: 3px solid var(--ink); border-radius: 0; background: var(--white); color: var(--ink); overflow: hidden; }
.co[open] { display: flex; animation: co-in 240ms var(--ease); }
.co::backdrop { background: var(--scrim); }
.co[open]::backdrop { animation: co-fade 240ms ease-out; }
@keyframes co-in { from { opacity: 0; transform: translateY(20px); } }
@keyframes co-fade { from { opacity: 0; } }
.ticket { display: flex; flex-direction: column; width: 100%; min-height: 0; margin: 0; }
.ticket-h { flex: none; display: flex; align-items: center; gap: 12px; padding: 4px 4px 4px 20px; background: var(--blue); color: var(--white); }
.ticket-h p { margin-right: auto; font-family: var(--font-display); font-weight: 800; font-size: 1.3125rem; line-height: 1.1; letter-spacing: -0.01em; }
.co-test { padding: 4px 8px; background: var(--white); color: var(--err); font-family: var(--font-mono); font-size: var(--fs-mono); font-weight: 700; white-space: nowrap; }
.co-x { flex: none; width: 48px; height: 48px; padding: 0 0 4px; border: 0; background: none; color: inherit; font-size: 2rem; line-height: 1; }
.co-x:hover { background: var(--blue-deep); }
.co-x:focus-visible { outline-color: var(--white); outline-offset: -5px; }
.co-body { display: grid; grid-template-columns: minmax(0, 1fr); align-content: start; min-height: 0; overflow-y: auto; overscroll-behavior: contain; }
.co-pick, .co-sum { display: grid; align-content: start; min-width: 0; }
.co-plan { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 16px; align-items: center; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.co-plan span:empty { display: none; }
.co-plan:has(span:empty) { grid-template-columns: minmax(0, 1fr); }
.co-plan img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border: var(--rule-thin) solid var(--ink); }
.co-plan h2 { font-size: clamp(1.5rem, 1.3rem + .8vw, 1.875rem); outline: 0; }
.co-plan .mono { margin-top: 6px; color: var(--ink-2); }
.ticket fieldset { min-width: 0; margin: 0; padding: 0 20px 8px; border: 0; border-bottom: 1px solid var(--line); }
.ticket legend { padding: 16px 0 2px; font-family: var(--font-mono); font-size: var(--fs-mono); color: var(--ink-2); }
.picks { display: grid; }
.pick { position: relative; display: flex; align-items: center; gap: 12px; min-height: 48px; padding: 6px 0 6px 36px; font-weight: 500; line-height: 1.25; cursor: pointer; transition: color var(--dur) var(--ease); }
.pick input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.pick::before { content: ""; position: absolute; left: 0; top: 50%; width: 22px; height: 22px; margin-top: -11px; border: var(--rule-thin) solid var(--ink); background: var(--white); transition: background-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease); }
.pick:has([type="radio"])::before { border-radius: 50%; }
.pick span { flex: 1; min-width: 0; }
.pick small { display: block; font-size: 0.8125rem; font-weight: 400; color: var(--ink-2); }
.pick b { font-weight: 600; white-space: nowrap; font-variant-numeric: tabular-nums; color: var(--ink-2); }
.pick:hover { color: var(--blue); }
.pick:has(:checked) { color: var(--ink); font-weight: 700; }
.pick:has(:checked)::before { background: var(--blue); box-shadow: inset 0 0 0 4px var(--white); }
.pick:has(:checked) b { color: var(--cedar); font-weight: 700; }
.pick:has(:focus-visible) { outline: 3px solid var(--blue); outline-offset: 2px; }
.ticket dl { display: grid; margin: 0; padding: 0 20px; }
.ticket dl div { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); font-weight: 600; line-height: 1.3; }
.ticket dl div:last-child { border-bottom: 0; }
.ticket dt small { display: block; margin-top: 2px; font-size: 0.8125rem; font-weight: 500; color: var(--cedar); }
.ticket dd { margin: 0; text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.ticket dd .was { color: var(--ink-2); opacity: 1; font-weight: 400; }
.ticket-total { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: stretch; border-block: 3px solid var(--ink); }
.ticket-total span { align-self: center; padding: 8px 20px; font-family: var(--font-display); font-weight: 800; font-size: clamp(1.25rem, 1rem + 1vw, 1.75rem); line-height: 1.05; letter-spacing: -0.02em; }
.ticket-total b { display: grid; place-items: center end; min-width: 4.6ch; padding: 18px 20px 16px; background: var(--cedar); color: var(--white); font-family: var(--font-display); font-weight: 800; font-size: clamp(2.5rem, 1.6rem + 3vw, 3.25rem); line-height: .9; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.co-foot { display: grid; gap: 14px; padding: 16px 20px max(20px, env(safe-area-inset-bottom)); }
.co-deliver { display: grid; gap: 6px; padding-left: 14px; border-left: var(--rule) solid var(--cedar); font-size: var(--fs-sm); font-weight: 500; }
.co-foot .consent { color: var(--ink); }
.co-foot .consent a { color: var(--blue); font-weight: 600; text-underline-offset: 3px; }
.co-foot .consent input[aria-invalid="true"] { outline: 3px solid var(--err); outline-offset: 2px; }
.co-msg { padding: 10px 14px; border: var(--rule-thin) solid var(--err); color: var(--err); font-size: var(--fs-sm); font-weight: 600; }
.co-msg:empty { display: none; }
.co-foot .btn { width: 100%; white-space: normal; }
.ticket-fine { font-size: var(--fs-sm); color: var(--ink-2); }
@media (max-width: 599px) {
  .co { width: 100vw; max-width: none; height: 100dvh; max-height: none; margin: 0; border: 0; }
  .co[open] { animation-name: co-up; }
  @keyframes co-up { from { transform: translateY(100%); } }
}
@media (min-width: 760px) {
  .co { width: min(980px, calc(100vw - 32px)); }
  .co-body { grid-template-columns: minmax(0, 11fr) minmax(0, 10fr); }
  .co-pick { border-right: 3px solid var(--ink); }
  .co-pick fieldset:last-child { border-bottom: 0; }
}
@media (prefers-reduced-motion: reduce) { .co[open], .co[open]::backdrop { animation: none; } .pick, .pick::before { transition: none; } }
