/* 1126 Vera Court deal room, R5. An architectural monograph for one house. */
:root {
  --navy: #1c2d4a; --navy-2: #24385a; --parchment: #f5f2ed; --sand: #c2b4a3; --stone: #4a4644;
  --linen: #ebe5db; --sand-ink: #75644f;   /* sand dark enough for small text on parchment (4.6:1) */
  --serif: 'Noto Serif', Georgia, serif; --sans: 'Work Sans', system-ui, sans-serif;
  --gut: clamp(20px, 2vw, 32px); --pad: clamp(20px, 5vw, 72px); --max: 1440px;
  --ease: cubic-bezier(.16, 1, .3, 1); --t: 800ms;
  --mast: 56px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--mast) + 12px); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--parchment); color: var(--stone); font: 400 17px/1.65 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, video, svg { display: block; max-width: 100%; }
a { color: var(--navy); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { text-decoration-color: var(--sand); }
:focus-visible { outline: 2px solid var(--navy); outline-offset: 3px; }
.dark :focus-visible, .hero :focus-visible, .mast:not(.past) :focus-visible { outline-color: var(--sand); }
h1, h2, h3 { font-family: var(--serif); font-weight: 300; color: var(--navy); margin: 0; letter-spacing: -0.02em; }
p { margin: 0 0 1em; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; background: var(--navy); color: var(--parchment); padding: 10px 16px; }
.skip:focus { top: 12px; }

/* ---------- grid ---------- */
.g12 { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gut); max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }
.g12 > * { grid-column: 1 / -1; min-width: 0; }
@media (min-width: 900px) {
  .c-3 { grid-column: span 3; } .c-4 { grid-column: span 4; } .c-5 { grid-column: span 5; } .c-6 { grid-column: span 6; }
  .c-7 { grid-column: span 7; } .c-8 { grid-column: span 8; } .c-9 { grid-column: span 9; } .c-12 { grid-column: 1 / -1; }
}
@media (min-width: 560px) and (max-width: 899px) { .c-3, .products .c-3 { grid-column: span 6; } }

/* ---------- type ---------- */
.cap, figcaption { font: 500 0.72rem/1.4 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--sand-ink); }
.dark .cap, .dark figcaption, .hero figcaption { color: var(--sand); }
.id { font-variant-numeric: tabular-nums; color: var(--navy); font-weight: 500; letter-spacing: 0.08em; }
.dark .id { color: var(--parchment); }
.num { font: 400 0.8rem var(--sans); letter-spacing: 0.2em; color: var(--sand-ink); border-top: 1px solid var(--sand); padding-top: 14px; margin: 0 0 28px; }
.dark .num { color: var(--sand); }
h2 { font-size: clamp(2.6rem, 6.4vw, 5.6rem); line-height: 0.98; letter-spacing: -0.035em; }
.sub { font-size: clamp(1.5rem, 2.6vw, 2.1rem); margin: 72px 0 24px; }
.lede { font-size: clamp(1.05rem, 1.5vw, 1.25rem); line-height: 1.6; max-width: 58ch; }
.aside { font: 300 italic 1.25rem/1.55 var(--serif); color: var(--navy); align-self: end; }
.fine { font-size: 0.85rem; color: var(--stone); margin-top: 16px; }
.muted { color: var(--sand); font-size: 0.8rem; }
em { font-family: var(--serif); font-style: italic; font-weight: 300; }

/* ---------- masthead ---------- */
.mast { position: fixed; inset: 0 0 auto; z-index: 30; height: var(--mast); display: flex; align-items: center; gap: 24px; padding: 0 var(--pad); color: var(--parchment); transition: background var(--t) var(--ease), color var(--t) var(--ease), box-shadow var(--t) var(--ease); }
.mast .mark { display: flex; align-items: center; gap: 12px; min-height: 44px; color: inherit; text-decoration: none; font: 400 1rem var(--serif); white-space: nowrap; }
.mast .mark img { width: 30px; height: auto; filter: brightness(0) invert(1); transition: filter var(--t) var(--ease); }
.mast .index { display: flex; gap: 22px; margin-left: auto; overflow-x: auto; scrollbar-width: none; opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity 600ms var(--ease), transform 600ms var(--ease), visibility 0s 600ms; }
.mast .index::-webkit-scrollbar { display: none; }
.mast .index a { color: inherit; text-decoration: none; font-size: 0.8rem; letter-spacing: 0.06em; padding: 18px 0 16px; border-bottom: 2px solid transparent; white-space: nowrap; }
.mast .index a[aria-current] { border-bottom-color: var(--sand); }
.mast .rev { font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase; white-space: nowrap; margin-left: auto; }
.mast.past { background: rgba(245, 242, 237, 0.94); backdrop-filter: blur(10px); color: var(--navy); box-shadow: 0 1px 0 var(--sand); }
.mast.past .mark img { filter: none; }
.mast.past .index { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.mast.past .rev { margin-left: 0; }
@media (max-width: 1100px) { .mast .rev { display: none; } }
@media (max-width: 700px) { .mast { gap: 14px; } .mast .mark span { display: none; } .mast .index { gap: 16px; } }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100svh; min-height: max(560px, 100svh); display: flex; align-items: flex-end; color: var(--parchment); background: var(--navy); overflow: hidden; }
.hero .hero-media { position: absolute; inset: 0; margin: 0; z-index: 0; }
.hero .hero-media picture, .hero .hero-media img, .hero .hero-media video { width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; }
.hero-media img { animation: drift 18s var(--ease) both; }
.hero-media figcaption { position: absolute; right: var(--pad); bottom: 22px; z-index: 2; }
.hero::after { content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, rgba(28, 45, 74, .5) 0, rgba(28, 45, 74, 0) 20%, rgba(28, 45, 74, 0) 38%, rgba(18, 28, 46, .9) 100%), linear-gradient(90deg, rgba(18, 28, 46, .55) 0, rgba(18, 28, 46, 0) 60%); }
.hero-copy { position: relative; z-index: 2; width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--pad) clamp(56px, 10vh, 110px); }
.kicker { font-size: 0.75rem; letter-spacing: 0.2em; text-transform: uppercase; color: #e9e2d6; margin-bottom: 18px; animation: rise 900ms var(--ease) 150ms both; }
.hero h1 { color: var(--parchment); font-size: clamp(3.4rem, 10vw, 9rem); line-height: 0.9; letter-spacing: -0.045em; }
.hero-sub { margin-top: 26px; font-size: clamp(1rem, 1.6vw, 1.2rem); color: #e9e2d6; animation: rise 900ms var(--ease) 400ms both; }
.hero-scroll { position: absolute; z-index: 2; left: 50%; bottom: 18px; transform: translateX(-50%); font-size: 0.65rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--sand); margin: 0; }
.hero-scroll::after { content: ''; display: block; width: 1px; height: 28px; margin: 8px auto 0; background: var(--sand); animation: tick 2.4s var(--ease) infinite; transform-origin: top; }
@media (max-width: 700px) { .hero .hero-media figcaption, .hero-scroll { display: none; } }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes drift { from { transform: scale(1.06); } to { transform: scale(1); } }
@keyframes tick { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

/* ---------- at a glance ---------- */
.glance { padding: clamp(56px, 8vw, 104px) 0; border-bottom: 1px solid var(--sand); }
.facts { list-style: none; margin: 0 auto; row-gap: 40px; }
.facts li { grid-column: span 6; display: grid; grid-template-columns: 40px 1fr; column-gap: 14px; align-content: start; }
@media (min-width: 900px) { .facts li { grid-column: auto / span 2; } .facts li:first-child { grid-column: 2 / span 2; } }
.facts svg { grid-row: span 3; width: 40px; height: 40px; fill: none; stroke: var(--navy); stroke-width: 1.2; stroke-linecap: round; stroke-linejoin: round; }
.facts strong { font: 300 clamp(2.4rem, 4vw, 3.4rem)/1 var(--serif); color: var(--navy); letter-spacing: -0.03em; font-variant-numeric: lining-nums; }
.facts span { font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--navy); margin-top: 8px; }
.facts small { font-size: 0.85rem; color: var(--stone); margin-top: 4px; }

/* ---------- sections ---------- */
.sec { padding: clamp(80px, 11vw, 160px) 0; position: relative; }
.sec.tint { background: var(--linen); }
.sec.dark { background: var(--navy); color: #ddd6ca; }
.sec.dark h2, .sec.dark h3 { color: var(--parchment); }
.sec.dark a { color: var(--parchment); }
.head { margin-bottom: clamp(40px, 6vw, 80px); }
@media (min-width: 900px) { .head .num { grid-column: 1 / span 12; } .head h2 { grid-column: 1 / span 7; } .head .lede { grid-column: 8 / span 5; align-self: end; } }
.g12 + .g12 { margin-top: var(--gut); }
.pair, .trio, .notes, .products, .opts, .film { row-gap: var(--gut); }
.sec .band { margin: calc(-1 * clamp(80px, 11vw, 160px)) 0 clamp(64px, 9vw, 128px); }

/* ---------- media ---------- */
figure.m { margin: 0; position: relative; }
figure.m picture, figure.m video { display: block; }
figure.m picture, figure.m video, figure.m .ph { width: 100%; aspect-ratio: 16 / 9; overflow: hidden; background-color: var(--linen); }
figure.m img, figure.m video { width: 100%; height: 100%; object-fit: cover; }
figure.m figcaption { margin-top: 12px; }
.band picture, .band .ph { aspect-ratio: 21 / 9; }
.band.short picture, .band.short .ph { aspect-ratio: 3 / 1; }
.band figcaption { padding: 0 var(--pad); max-width: var(--max); margin: 12px auto 0; }
@media (max-width: 700px) { .band picture, .band .ph, .band.short picture { aspect-ratio: 4 / 3; } }
.band[data-parallax] img { will-change: transform; transform: scale(1.08); }
.products figure.m picture, .products .ph { aspect-ratio: 1; background-color: #fff; }
.products img { object-fit: contain; padding: 8%; }
html.js figure.m, html.js [data-reveal] { opacity: 0; transform: translateY(16px); transition: opacity var(--t) var(--ease), transform var(--t) var(--ease); }
html.js figure.m.in, html.js [data-reveal].in { opacity: 1; transform: none; }
.hero figure.m { opacity: 1 !important; transform: none !important; }
[hidden] { display: none !important; }

/* placeholders: a drafting-paper panel, never a broken image */
.ph { position: relative; display: grid; place-items: center; color: var(--sand-ink);
  background: var(--linen) repeating-linear-gradient(135deg, rgba(194, 180, 163, .28) 0 1px, transparent 1px 11px); border: 1px solid rgba(194, 180, 163, .6); }
.ph.has-art { background: var(--parchment); }
.ph .art { position: absolute; inset: 6% 5%; width: 90%; height: 88%; }
.art .wall { fill: #f2eee7; stroke: var(--sand); stroke-width: 1.2; }
.art .pn { fill: none; stroke: var(--sand-ink); stroke-width: 1.4; }
.art .ln { stroke: var(--sand-ink); stroke-width: 1; opacity: .7; }
.art .slat { stroke: #b39b7d; stroke-width: 6; opacity: .45; }
.ph-note { position: relative; font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase; background: var(--parchment); padding: 6px 12px; border: 1px solid var(--sand); }
.dark .ph { background-color: var(--navy-2); border-color: rgba(194, 180, 163, .3); }
.dark .ph-note { background: var(--navy); color: var(--sand); }

.vid-toggle { position: absolute; right: 12px; top: 12px; z-index: 3; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(245, 242, 237, .6); background: rgba(28, 45, 74, .55); cursor: pointer; }
.vid-toggle::before { content: ''; position: absolute; inset: 0; margin: auto; width: 12px; height: 14px; border-left: 4px solid var(--parchment); border-right: 4px solid var(--parchment); }
.vid-toggle[data-state="paused"]::before { width: 0; height: 0; border: 8px solid transparent; border-left: 13px solid var(--parchment); border-right: 0; margin-left: 17px; }
.hero .vid-toggle { top: auto; bottom: 22px; right: auto; left: var(--pad); }

/* ---------- controls ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 26px; border: 1px solid var(--navy); background: var(--navy); color: var(--parchment); font: 500 0.85rem var(--sans); letter-spacing: 0.08em; text-transform: uppercase; cursor: pointer; transition: background 250ms var(--ease), color 250ms var(--ease); }
.btn:hover { background: transparent; color: var(--navy); }
.btn.light { background: var(--parchment); color: var(--navy); border-color: var(--parchment); }
.btn.light:hover { background: transparent; color: var(--parchment); }
.txt { background: none; border: 0; padding: 10px 2px; min-height: 44px; font: 500 0.85rem var(--sans); color: inherit; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--sand); cursor: pointer; }
.seg { display: flex; flex-wrap: wrap; gap: 8px; }
.seg label { position: relative; cursor: pointer; }
.seg input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.seg span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border: 1px solid var(--sand); color: var(--navy); font-size: 0.88rem; transition: background 250ms var(--ease), color 250ms var(--ease), border-color 250ms var(--ease); }
.seg label:hover span { border-color: var(--navy); }
.seg input:checked + span { background: var(--navy); border-color: var(--navy); color: var(--parchment); }
.seg input:focus-visible + span { outline: 2px solid var(--navy); outline-offset: 3px; }
.seg.big span { font: 400 1.1rem var(--serif); padding: 0 24px; min-height: 52px; }
.seg.sm span { font-size: 0.8rem; padding: 0 14px; }
.dark .seg span, .seg.on-dark span { color: var(--parchment); border-color: rgba(194, 180, 163, .5); }
.dark .seg input:checked + span, .seg.on-dark input:checked + span { background: var(--parchment); color: var(--navy); border-color: var(--parchment); }
.dark .seg input:focus-visible + span { outline-color: var(--sand); }
.seg.on-img { position: absolute; left: 16px; top: 16px; z-index: 2; }
.seg.on-img span { background: rgba(245, 242, 237, .92); }
.check { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; cursor: pointer; font-size: 0.9rem; color: var(--navy); }
.check input { width: 20px; height: 20px; accent-color: var(--navy); }
select { font: inherit; min-height: 44px; padding: 0 10px; border: 1px solid var(--sand); background: transparent; color: inherit; border-radius: 0; }
.dark select option { color: var(--navy); }

/* ---------- walk the house ---------- */
.viewer { position: relative; max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }
.viewer-stage { position: relative; aspect-ratio: 16 / 9; background: #e9e3d8; overflow: hidden; touch-action: none; }
.viewer-stage canvas { position: absolute; inset: 0; width: 100% !important; height: 100% !important; cursor: grab; }
.viewer-stage canvas:active { cursor: grabbing; }
.viewer-poster { width: 100%; height: 100%; object-fit: cover; }
.viewer-gate { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 12px; background: linear-gradient(0deg, rgba(28, 45, 74, .55), rgba(28, 45, 74, .15)); color: var(--parchment); text-align: center; }
.viewer-msg { position: absolute; left: 16px; bottom: 12px; margin: 0; color: var(--navy); font-size: 0.85rem; }
.viewer-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; padding: 16px 0 6px; color: var(--parchment); }
.viewer-bar .sel { display: inline-flex; align-items: center; gap: 8px; font-size: 0.85rem; }
.hint { font-size: 0.85rem; color: #cfc6b8; }
.walkpad { position: absolute; right: 16px; bottom: 16px; display: grid; grid-template-columns: repeat(3, 48px); grid-template-rows: 48px 48px; gap: 4px; }
.walkpad button { width: 48px; height: 48px; border: 1px solid var(--sand); background: rgba(245, 242, 237, .9); color: var(--navy); font-size: 1.2rem; cursor: pointer; }
.walkpad [data-walk="back"] { grid-column: 2; }
.viewer:fullscreen { background: var(--navy); padding: 0; display: flex; flex-direction: column; }
.viewer:fullscreen .viewer-stage { flex: 1; aspect-ratio: auto; }
.viewer:fullscreen .viewer-bar, .viewer:fullscreen .hint { padding-left: 16px; padding-right: 16px; }
@media (max-width: 700px) { .viewer-stage { aspect-ratio: 4 / 5; } }
.drawer { position: absolute; z-index: 5; top: 0; right: calc(var(--pad) + 16px); width: min(380px, calc(100% - 2 * var(--pad) - 32px)); max-height: calc(100% - 16px); overflow: auto; margin-top: 16px; background: var(--parchment); color: var(--stone); padding: 26px 24px 20px; box-shadow: 0 24px 60px rgba(10, 18, 32, .35); animation: slide 600ms var(--ease) both; }
.drawer h3 { font-size: 2rem; color: var(--navy); margin: 6px 0 14px; }
.drawer .cap { color: var(--sand-ink); }
.drawer a { color: var(--navy); }
.drawer img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; margin-bottom: 14px; }
.drawer dl { display: grid; grid-template-columns: auto 1fr; gap: 4px 16px; font-size: 0.85rem; margin: 0 0 14px; }
.drawer dt { color: var(--sand-ink); }
.drawer dd { margin: 0; color: var(--navy); }
.drawer-status { font-size: 0.85rem; border-left: 2px solid var(--sand); padding-left: 10px; }
.drawer-price:empty { display: none; }
.drawer-x { position: absolute; right: 8px; top: 8px; width: 44px; height: 44px; border: 0; background: none; font-size: 1.6rem; color: var(--navy); cursor: pointer; }
@media (max-width: 700px) { .drawer { position: relative; right: auto; width: auto; margin: 16px 0 0; } }
@keyframes slide { from { opacity: 0; transform: translateX(16px); } to { opacity: 1; transform: none; } }
.film { margin-top: clamp(48px, 7vw, 96px); align-items: end; }
.dark .aside { color: var(--parchment); }

/* ---------- doors ---------- */
.profile { align-items: center; row-gap: 32px; margin-bottom: 24px; }
.profile-svg { width: 100%; height: auto; }
.profile-svg .slab { fill: #fbfaf7; stroke: var(--navy); stroke-width: 1.2; }
.profile-svg .hr { fill: #fbfaf7; stroke: var(--navy); stroke-width: 1.2; }
.profile-svg .ghost { stroke-dasharray: 3 3; opacity: .6; }
.profile-svg .dim, .profile-svg .lead { stroke: var(--sand-ink); stroke-width: 0.8; fill: none; }
.profile-svg text { font: 500 12px var(--sans); letter-spacing: 0.1em; text-transform: uppercase; fill: var(--sand-ink); }
.profile-svg .sm { font-size: 10px; }
@media (min-width: 900px) { .profile .spec { grid-column: 7 / span 6; } }
.spec { margin: 0; }
.spec div { display: grid; grid-template-columns: 9rem 1fr; gap: 16px; padding: 14px 0; border-top: 1px solid var(--sand); }
.spec dt { font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--sand-ink); padding-top: 3px; }
.spec dd { margin: 0; font: 300 1.15rem/1.4 var(--serif); color: var(--navy); }
.styles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gut); }
@media (min-width: 900px) { .styles { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.style-card { position: relative; display: grid; gap: 4px; cursor: pointer; padding-bottom: 12px; border-bottom: 2px solid transparent; transition: border-color 300ms var(--ease); }
.style-card input { position: absolute; opacity: 0; }
.style-card figure.m picture, .style-card .ph { aspect-ratio: 3 / 4; }
.style-card .nm { font: 400 1.1rem var(--serif); color: var(--navy); margin-top: 12px; }
.style-card .tg { font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--sand-ink); }
.style-card:has(input:checked) { border-bottom-color: var(--navy); }
.style-card:has(input:checked) .nm::after { content: '  \2713'; }
.style-card:has(input:focus-visible) { outline: 2px solid var(--navy); outline-offset: 6px; }
.style-card img { transition: transform 900ms var(--ease); }
.style-card:hover img { transform: scale(1.03); }
.pair { margin-top: clamp(56px, 8vw, 104px); align-items: end; }

/* ---------- pockets ---------- */
.ab { position: relative; }
.stack { display: grid; gap: 14px; align-content: start; }
.stack h3, .opt h3 { font-size: 1.6rem; }
.trio { margin-top: clamp(48px, 7vw, 96px); }
.notes p { font-size: 0.95rem; border-top: 1px solid var(--sand); padding-top: 14px; }
.notes .id { display: block; margin-bottom: 6px; }
.products { margin-top: 40px; }

/* ---------- beams, paneling, hardware ---------- */
.swap { margin-top: 32px; row-gap: var(--gut); }
.pnl-tools { row-gap: 14px; align-items: center; }
@media (min-width: 900px) { .pnl-tools .c-3 .seg, .pnl-tools .seg.sm { justify-content: flex-end; } }
.swap .wide picture, .swap .wide .ph { aspect-ratio: 21 / 9; }
@media (max-width: 700px) { .swap .wide picture, .swap .wide .ph { aspect-ratio: 4 / 3; } }
.hw .c-3 picture, .hw .c-3 .ph { aspect-ratio: 1; }

/* ---------- closets ---------- */
.diagram { margin: 0; }
.diagram svg { width: 100%; height: auto; background: var(--parchment); border: 1px solid var(--sand); }
.diagram .box { fill: none; stroke: var(--navy); stroke-width: 1.2; }
.diagram .shelf { stroke: var(--navy); stroke-width: 3; }
.diagram .led { stroke: #c9a24a; stroke-width: 2; stroke-dasharray: 1 4; stroke-linecap: round; }
.diagram .route { stroke: #c9a24a; stroke-width: 1.5; fill: none; stroke-dasharray: 5 3; }
.diagram .jb { fill: var(--parchment); stroke: var(--navy); }
.diagram text { font: 500 11px var(--sans); fill: var(--navy); letter-spacing: .06em; }
.diagram .sm { font-size: 9.5px; fill: var(--sand-ink); }
.diagram figcaption { margin-top: 12px; }

/* ---------- options ---------- */
.opt { display: grid; gap: 10px; align-content: start; }
.opt h3 { margin-top: 10px; }
.opt-price:empty { display: none; }

/* ---------- plan ---------- */
.tabs { display: flex; flex-wrap: wrap; gap: 4px 24px; border-bottom: 1px solid var(--sand); margin-bottom: 20px; }
.tabs button { background: none; border: 0; min-height: 44px; padding: 0; font: 500 0.85rem var(--sans); color: var(--stone); border-bottom: 2px solid transparent; cursor: pointer; }
.tabs button[aria-selected="true"] { color: var(--navy); border-bottom-color: var(--navy); }
.sheet { position: relative; background: #fff; border: 1px solid var(--sand); }
.sheet img { width: 100%; height: auto; }
.spots { position: absolute; inset: 0; }
.spot { position: absolute; transform: translate(-50%, -50%); min-width: 30px; height: 24px; padding: 0 5px; border-radius: 12px; border: 1px solid var(--navy); background: rgba(245, 242, 237, .92); color: var(--navy); font: 500 0.66rem var(--sans); cursor: pointer; transition: background 200ms, color 200ms; }
.spot::after { content: ''; position: absolute; inset: -10px; }   /* 44px touch area */
.spot.beam { border-color: var(--sand-ink); color: var(--sand-ink); }
.spot.cased, .spot.others { border-style: dashed; }
.spot[aria-pressed="true"], .spot:hover { background: var(--navy); color: var(--parchment); }
@media (max-width: 700px) { .spot { min-width: 22px; height: 18px; font-size: 0.55rem; padding: 0 3px; } }
.plan-status { margin-top: 10px; font-size: 0.9rem; color: var(--navy); min-height: 1.5em; }
.schedule { margin-top: 40px; border-top: 1px solid var(--sand); }
.schedule summary { cursor: pointer; min-height: 52px; display: flex; align-items: center; gap: 10px; font: 400 1.3rem var(--serif); color: var(--navy); }
.schedule summary span { font: 400 0.85rem var(--sans); color: var(--stone); }
.find { display: grid; gap: 6px; max-width: 360px; margin: 10px 0 18px; font-size: 0.8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--sand-ink); }
.find input { font: inherit; text-transform: none; letter-spacing: 0; font-size: 1rem; min-height: 44px; padding: 0 12px; border: 1px solid var(--sand); background: var(--parchment); color: var(--navy); }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 0.9rem; min-width: 640px; }
th { text-align: left; font: 500 0.7rem var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--sand-ink); padding: 10px 12px 10px 0; border-bottom: 1px solid var(--sand); }
td { padding: 8px 12px 8px 0; border-bottom: 1px solid rgba(194, 180, 163, .5); vertical-align: top; color: var(--navy); }
td .txt { padding: 0; min-height: 32px; font-weight: 500; }

/* ---------- selections ---------- */
.sel-list { display: grid; gap: 0; }
.sel-row { display: grid; grid-template-columns: 1fr; gap: 10px; padding: 20px 0; border-top: 1px solid rgba(194, 180, 163, .35); position: relative; }
.sel-row .see { position: absolute; right: 0; top: 8px; font-size: 0.8rem; min-height: 44px; min-width: 44px; display: inline-flex; align-items: center; justify-content: flex-end; }
.total { align-self: start; position: sticky; top: calc(var(--mast) + 24px); border: 1px solid rgba(194, 180, 163, .5); padding: 28px; display: grid; gap: 12px; margin-top: 32px; }
@media (min-width: 900px) { .total { margin-top: 0; } }
.total-v { font: 300 clamp(1.8rem, 3vw, 2.6rem)/1.1 var(--serif); color: var(--parchment); margin: 0; }
.total-n { font-size: 0.85rem; }
.txt.light, .fine.light { color: #ddd6ca; }

/* ---------- documents ---------- */
.docs { list-style: none; row-gap: 0; }
.doc { display: grid; gap: 2px; padding: 18px 0; border-top: 1px solid var(--sand); }
.doc strong, .doc a { font: 400 1.15rem var(--serif); color: var(--navy); }
.doc span { font-size: 0.85rem; }
.doc em { font: 500 0.68rem var(--sans); font-style: normal; letter-spacing: .14em; text-transform: uppercase; color: var(--sand-ink); }

/* ---------- about / footer ---------- */
.about .band { margin-top: 0; }
.contact { row-gap: 28px; }
.contact .cap { display: block; margin-bottom: 6px; }
.contact .big { font: 300 clamp(1.8rem, 3vw, 2.4rem) var(--serif); text-decoration: none; }
.foot { background: var(--navy); color: #cfc6b8; padding: 40px 0; font-size: 0.8rem; }
.foot a { color: var(--parchment); }
.foot .r { text-align: left; }
@media (min-width: 900px) { .foot .r { text-align: right; } }

/* ---------- reduced motion: every animation becomes a still ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  html.js figure.m, html.js [data-reveal] { opacity: 1; transform: none; }
}
@media print {
  .mast, .viewer-bar, .walkpad, .vid-toggle, .hero-scroll, #send-mail, #send-csv { display: none; }
  .hero { min-height: 0; height: 60vh; }
  html.js figure.m, html.js [data-reveal] { opacity: 1; transform: none; }
  .sec { padding: 32px 0; break-inside: avoid; }
}

/* hardware 3D card + install option */
.product3d { margin: 0; }
.p3d { position: relative; aspect-ratio: 1; background: #fff; display: grid; place-items: center; overflow: hidden; }
.p3d img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 8%; opacity: .35; }
.p3d .btn { position: relative; }
.p3d canvas { position: absolute; inset: 0; width: 100% !important; height: 100% !important; cursor: grab; }
.product3d figcaption { margin-top: 12px; }
.hw .c-3 picture { background: #fff; }
.hw .c-3 img { object-fit: contain; padding: 6%; }
.hw-opts { margin-top: 32px; }

/* paneling cards: ten options, one image each */
.pnl-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gut); }
@media (min-width: 900px) { .pnl-cards { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.pnl-card { position: relative; display: grid; gap: 4px; align-content: start; cursor: pointer; padding-bottom: 10px; border-bottom: 2px solid transparent; transition: border-color 300ms var(--ease); }
.pnl-card input { position: absolute; opacity: 0; }
.pnl-card figure.m picture, .pnl-card .ph { aspect-ratio: 4 / 3; }
.pnl-card .ph-note { display: none; }
.pnl-card .ph .art { inset: 4%; width: 92%; height: 92%; }
.pnl-card .nm { font: 400 1rem/1.3 var(--serif); color: var(--navy); margin-top: 10px; }
.pnl-card .nm .id { margin-right: 4px; }
.pnl-card .tg { font-size: 0.78rem; color: var(--stone); }
.pnl-card:has(input:checked) { border-bottom-color: var(--navy); }
.pnl-card:has(input:focus-visible) { outline: 2px solid var(--navy); outline-offset: 6px; }
.art .rail { stroke: var(--navy); stroke-width: 2; }
.pnl-note { margin-top: 16px; }

.pnl-room { margin-bottom: 20px; }
.pnl-swap { display: block; }
.pnl-card figcaption { display: block; margin-top: 8px; }
.stack .swap, .opt .swap { margin-top: 0; }
.style-card figcaption, .opt figcaption { display: block; margin-top: 8px; }
.drawer .dcap { margin: -8px 0 14px; }
.pk-note { margin: 24px 0 8px; }
.pnl-card .pnl-close picture, .pnl-card .pnl-close .ph { aspect-ratio: 4 / 3; }
.pnl-card .pnl-wide { margin-top: 8px; }
.pnl-card .pnl-wide picture, .pnl-card .pnl-wide .ph { aspect-ratio: 16 / 9; }
