:root {
  --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
  --text-sm: clamp(0.875rem, 0.8rem + 0.35vw, 1rem);
  --text-base: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --text-lg: clamp(1.125rem, 1rem + 0.75vw, 1.5rem);
  --text-xl: clamp(1.5rem, 1.2rem + 1.25vw, 2.25rem);
  --text-2xl: clamp(2rem, 1.2rem + 2.5vw, 3.5rem);
  --text-3xl: clamp(2.25rem, 1rem + 3.6vw, 4.5rem);

  --space-1: .25rem; --space-2: .5rem; --space-3: .75rem; --space-4: 1rem; --space-5: 1.25rem;
  --space-6: 1.5rem; --space-8: 2rem; --space-10: 2.5rem; --space-12: 3rem; --space-16: 4rem;
  --space-20: 5rem; --space-24: 6rem; --space-32: 8rem;

  /* Shop palette: limestone paper, charcoal ink, one oak-umber accent */
  --color-bg: oklch(0.965 0.010 80);
  --color-surface: oklch(0.985 0.006 80);
  --color-surface-offset: oklch(0.935 0.014 78);
  --color-border: oklch(0.30 0.02 60 / 0.14);
  --color-text: oklch(0.22 0.012 60);
  --color-text-muted: oklch(0.47 0.015 60);
  --color-text-inverse: oklch(0.96 0.012 80);
  --color-primary: oklch(0.43 0.10 50);
  --color-primary-hover: oklch(0.37 0.10 50);
  --color-dark: oklch(0.20 0.012 60);
  --color-error: oklch(0.50 0.17 28);
  --color-success: oklch(0.45 0.10 150);

  --font-display: 'Zodiak', 'Georgia', serif;
  --font-body: 'General Sans', 'Helvetica Neue', sans-serif;

  --radius-sm: 4px; --radius-md: 8px; --radius-lg: 14px;
  --shadow-sm: 0 1px 2px oklch(0.3 0.03 60 / 0.08);
  --shadow-md: 0 8px 28px oklch(0.3 0.03 60 / 0.12);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --transition-interactive: 180ms var(--ease);
  --header-h: 68px;
  --wrap: 1240px;
}

body { overflow-x: hidden; }
a { color: inherit; }
.wrap { width: min(var(--wrap), 100% - 2 * clamp(var(--space-4), 4vw, var(--space-10))); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: var(--space-2); background: var(--color-text); color: var(--color-text-inverse); padding: var(--space-2) var(--space-4); z-index: 100; }
.skip:focus { left: var(--space-2); }

/* Type */
.h1, .h2, .hero__title { font-family: var(--font-display); font-weight: 500; letter-spacing: -0.01em; }
.h1 { font-size: var(--text-2xl); }
.h2 { font-size: var(--text-xl); }
.h3 { font-size: var(--text-lg); font-weight: 600; }
.h4 { font-size: var(--text-base); font-weight: 600; }
.eyebrow { font-size: var(--text-xs); text-transform: uppercase; letter-spacing: 0.14em; font-weight: 600; color: var(--color-primary); margin-bottom: var(--space-3); }
.eyebrow--light { color: oklch(0.88 0.04 70); }
.muted { color: var(--color-text-muted); }
.hint { font-size: var(--text-xs); color: var(--color-text-muted); margin-top: var(--space-3); }
.prose p + p { margin-top: var(--space-4); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2); min-height: 44px; padding: var(--space-3) var(--space-6); border-radius: var(--radius-sm); font-size: var(--text-sm); font-weight: 600; text-decoration: none; border: 1px solid transparent; text-align: center; line-height: 1.25; }
.btn--sm { min-height: 40px; padding: var(--space-2) var(--space-4); }
.btn--block { width: 100%; }
.btn--primary { background: var(--color-primary); color: var(--color-text-inverse); }
.btn--primary:hover { background: var(--color-primary-hover); }
.btn--primary:active { transform: translateY(1px); }
.btn--ghost { border-color: oklch(0.3 0.02 60 / 0.3); color: var(--color-text); }
.btn--ghost:hover { background: var(--color-surface-offset); }
.btn--ghost-light { border-color: oklch(0.96 0.01 80 / 0.6); color: var(--color-text-inverse); }
.btn--ghost-light:hover { background: oklch(0.96 0.01 80 / 0.12); }
.btn[disabled] { opacity: .55; cursor: progress; }
.link-arrow { font-size: var(--text-sm); font-weight: 600; text-decoration: none; color: var(--color-primary); }
.link-arrow::after { content: " →"; }
.link-arrow:hover { text-decoration: underline; }
.icon-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: var(--radius-sm); }
.icon-btn:hover { background: var(--color-surface-offset); }
.row-gap { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-top: var(--space-6); }
.stack .row-gap { margin-top: 0; }

/* Header */
.header { position: sticky; top: 0; z-index: 50; background: oklch(0.965 0.010 80 / 0.92); backdrop-filter: blur(12px); border-bottom: 1px solid var(--color-border); }
.header__inner { height: var(--header-h); display: flex; align-items: center; gap: var(--space-6); padding-inline: clamp(var(--space-4), 3vw, var(--space-10)); max-width: 1600px; margin-inline: auto; }
.brand { display: flex; align-items: center; gap: var(--space-3); text-decoration: none; flex-shrink: 0; }
.brand img { width: 48px; height: auto; }
.brand__name { font-weight: 600; font-size: var(--text-sm); letter-spacing: 0.02em; }
.nav { display: flex; align-items: center; gap: var(--space-1); margin-inline: auto; }
.nav a { font-size: var(--text-sm); text-decoration: none; padding: var(--space-2) var(--space-3); border-radius: var(--radius-sm); white-space: nowrap; color: var(--color-text-muted); }
.nav a:hover { color: var(--color-text); background: var(--color-surface-offset); }
.nav a[aria-current="page"] { color: var(--color-text); font-weight: 600; }
/* Brad (2026-10-26): the top button for the current page stands out */
@media (min-width: 1241px) { .nav > a[aria-current="page"], .nav__group > .nav__top[aria-current="page"] { background: var(--color-surface-offset); box-shadow: inset 0 -2px 0 var(--color-primary); color: var(--color-text); } }
@media (max-width: 1240px) { .nav > a[aria-current="page"], .nav__group > .nav__top[aria-current="page"] { color: var(--color-primary); box-shadow: inset 3px 0 0 var(--color-primary); } }
.nav__sub a[aria-current="page"] { background: var(--color-surface-offset); }
.nav__small { font-size: var(--text-xs) !important; border: 1px solid var(--color-border); margin-left: var(--space-2); }
.header__actions { display: flex; align-items: center; gap: var(--space-2); }
.menu-btn { display: none; width: 44px; height: 44px; place-items: center; border-radius: var(--radius-sm); }

@media (max-width: 1640px) {
  .brand__name { display: none; }
}
@media (min-width: 1241px) and (max-width: 1520px) {
  .header__inner { gap: var(--space-3); }
  .nav a { padding-inline: var(--space-2); }
}
@media (max-width: 1240px) {
  .menu-btn { display: inline-grid; }
  .nav { position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; align-items: stretch; background: var(--color-bg); border-bottom: 1px solid var(--color-border); padding: var(--space-4); gap: 0; transform: translateY(-8px); opacity: 0; pointer-events: none; transition: opacity 200ms var(--ease), transform 200ms var(--ease); box-shadow: var(--shadow-md); }
  .nav.is-open { max-height: calc(100dvh - var(--header-h)); overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
  .nav.is-open { opacity: 1; transform: none; pointer-events: auto; }
  .nav a { padding: var(--space-4); font-size: var(--text-base); }
  .nav__small { margin: var(--space-2) 0 0; }
  .header__inner { justify-content: space-between; }
}
@media (max-width: 480px) {
  .header__actions .btn { padding-inline: var(--space-3); font-size: var(--text-xs); max-width: 190px; }
}

/* Pages */
.page[hidden] { display: none; }
.page { animation: pageIn 400ms var(--ease); }
@keyframes pageIn { from { opacity: 0; } to { opacity: 1; } }
.page-head { padding-block: clamp(var(--space-10), 6vw, var(--space-20)) var(--space-8); }
.page-head--row { display: flex; justify-content: space-between; align-items: end; gap: var(--space-8); flex-wrap: wrap; }
.page-head--row > p { max-width: 48ch; }
.band { padding-block: clamp(var(--space-12), 8vw, var(--space-24)); }
.band--tight { padding-block: clamp(var(--space-8), 5vw, var(--space-16)); }
.band--dark { background: var(--color-dark); color: var(--color-text-inverse); }
.band--offset { background: var(--color-surface-offset); }
.section-head { display: flex; justify-content: space-between; align-items: baseline; gap: var(--space-4); margin-bottom: var(--space-8); flex-wrap: wrap; }
.split { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(var(--space-8), 6vw, var(--space-20)); align-items: center; }
.split--top { align-items: start; }
@media (max-width: 820px) { .split { grid-template-columns: 1fr; } }
.rounded { border-radius: var(--radius-md); }
.center-cta { display: flex; flex-direction: column; align-items: center; gap: var(--space-4); text-align: center; }

/* Hero */
.hero { position: relative; min-height: min(88vh, 860px); display: grid; align-items: end; color: var(--color-text-inverse); overflow: hidden; }
.hero__slides { position: absolute; inset: 0; }
.hero__slides img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1400ms ease; transform: scale(1.04); }
.hero__slides img.is-active { opacity: 1; animation: kenburns 9s linear forwards; }
@keyframes kenburns { from { transform: scale(1.04); } to { transform: scale(1.0); } }
.hero__shade { position: absolute; inset: 0; background: linear-gradient(to top, oklch(0.15 0.01 60 / 0.82) 0%, oklch(0.15 0.01 60 / 0.35) 55%, oklch(0.15 0.01 60 / 0.15) 100%); }
.hero__content { position: relative; padding-block: var(--space-20) clamp(var(--space-12), 8vw, var(--space-24)); }
.hero__title { font-size: var(--text-3xl); max-width: 16ch; line-height: 1.05; }
.hero__lede { margin-top: var(--space-6); max-width: 56ch; color: oklch(0.92 0.01 80); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-top: var(--space-8); }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--color-border); }
.steps li { padding: var(--space-6) var(--space-6) var(--space-6) 0; border-right: 1px solid var(--color-border); }
.steps li + li { padding-left: var(--space-6); }
.steps li:last-child { border-right: 0; }
.steps h3 { font-size: var(--text-lg); font-weight: 600; margin: var(--space-2) 0; }
.steps p { color: var(--color-text-muted); font-size: var(--text-sm); }
.steps__n { font-family: var(--font-display); font-size: var(--text-xl); color: var(--color-primary); }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr 1fr; } .steps li:nth-child(2) { border-right: 0; } .steps li:nth-child(3) { padding-left: 0; } .steps li { border-bottom: 1px solid var(--color-border); } }
@media (max-width: 480px) { .steps { grid-template-columns: 1fr; } .steps li, .steps li + li { padding-left: 0; border-right: 0; } }

/* Feature grid */
.feature-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: repeat(2, minmax(200px, 300px)); gap: var(--space-3); }
.feature-grid button { position: relative; overflow: hidden; border-radius: var(--radius-md); padding: 0; }
.feature-grid button:first-child { grid-row: span 2; }
.feature-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform 600ms var(--ease); }
.feature-grid button:hover img { transform: scale(1.03); }
.feature-grid span { position: absolute; left: var(--space-3); bottom: var(--space-3); background: oklch(0.15 0.01 60 / 0.7); color: var(--color-text-inverse); font-size: var(--text-xs); padding: var(--space-1) var(--space-3); border-radius: var(--radius-sm); }
@media (max-width: 820px) { .feature-grid { grid-template-columns: 1fr 1fr; grid-template-rows: 260px 180px 180px; } .feature-grid button:first-child { grid-column: span 2; grid-row: auto; } }

/* Quote rotator */
.quote-rotator { min-height: 220px; display: grid; align-content: center; }
.quote-rotator blockquote { font-family: var(--font-display); font-size: var(--text-xl); line-height: 1.35; max-width: 36ch; transition: opacity 500ms ease; }
.quote-rotator cite { display: block; margin-top: var(--space-4); font-style: normal; font-size: var(--text-sm); color: oklch(0.82 0.03 70); }
.quote-rotator .dots { display: flex; gap: var(--space-2); margin-top: var(--space-6); }
.quote-rotator .dots button { width: 28px; height: 28px; display: grid; place-items: center; }
.quote-rotator .dots button::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: oklch(0.96 0.01 80 / 0.35); }
.quote-rotator .dots button[aria-current="true"]::before { background: var(--color-text-inverse); }

.cta-split { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(var(--space-8), 6vw, var(--space-20)); align-items: center; }
.cta-split img { border-radius: var(--radius-md); aspect-ratio: 3/4; object-fit: cover; max-height: 520px; width: 100%; }
@media (max-width: 820px) { .cta-split { grid-template-columns: 1fr; } .cta-split img { max-height: 340px; } }

/* Gallery */
.chips { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-top: var(--space-6); }
.chips button { min-height: 40px; padding: var(--space-2) var(--space-4); border-radius: 999px; border: 1px solid var(--color-border); font-size: var(--text-sm); }
.chips button[aria-pressed="true"] { background: var(--color-text); color: var(--color-text-inverse); border-color: var(--color-text); }
.masonry { columns: 3 300px; column-gap: var(--space-3); }
.masonry button { display: block; width: 100%; margin-bottom: var(--space-3); break-inside: avoid; padding: 0; border-radius: var(--radius-md); overflow: hidden; position: relative; text-align: left; }
.masonry img { width: 100%; height: auto; transition: transform 600ms var(--ease); }
.masonry button:hover img { transform: scale(1.02); }
.masonry figcaption { padding: var(--space-3) var(--space-1) var(--space-1); font-size: var(--text-sm); color: var(--color-text-muted); }

.lightbox { border: 0; padding: 0; margin: 0; max-width: 100vw; max-height: 100dvh; width: 100vw; height: 100dvh; background: #0e0c0a; color: #f4efe8; overflow: hidden; inset: 0; position: fixed; }
.lightbox[open] { display: block; }
/* Full width whenever the photo's shape allows; otherwise full height. Controls float over the photo. */
.lightbox figure { margin: 0; width: 100vw; height: 100dvh; display: flex; align-items: center; justify-content: center; }
.lightbox img { width: 100vw; height: 100dvh; max-width: none; object-fit: contain; display: block; }
.lightbox figcaption { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; max-width: none; box-sizing: border-box; color: #f4efe8; padding: var(--space-8) var(--space-6) var(--space-4); font-size: var(--text-sm); text-align: center; background: linear-gradient(to top, oklch(0.1 0.01 60 / 0.85), transparent); pointer-events: none; }
.lightbox .icon-btn { position: absolute; z-index: 2; background: oklch(0.1 0.01 60 / 0.55); color: #fff; width: 48px; height: 48px; border-radius: 50%; }
.lightbox .icon-btn:hover { background: oklch(0.1 0.01 60 / 0.8); }
.lightbox__prev { left: var(--space-3); top: 50%; transform: translateY(-50%); }
.lightbox__next { right: var(--space-3); top: 50%; transform: translateY(-50%); }
.lightbox__close { top: var(--space-3); right: var(--space-3); }
.lightbox::backdrop { background: #0e0c0a; }

/* Panels & forms */
.panel { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-lg); padding: clamp(var(--space-5), 3vw, var(--space-8)); }
.panel + .panel { margin-top: var(--space-4); }
.panel__head { display: flex; justify-content: space-between; align-items: center; gap: var(--space-3); margin-bottom: var(--space-5); flex-wrap: wrap; }
.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: var(--space-4) var(--space-5); align-items: end; }
label { display: grid; gap: var(--space-1); font-size: var(--text-sm); font-weight: 500; }
label.block { margin-top: var(--space-5); }
label.check { display: flex; align-items: flex-start; gap: var(--space-3); font-weight: 400; min-height: 44px; align-items: center; }
label.check input { width: 20px; height: 20px; accent-color: var(--color-primary); flex-shrink: 0; }
input:not([type=checkbox]):not([type=file]), select, textarea { width: 100%; min-height: 44px; padding: var(--space-2) var(--space-3); border: 1px solid oklch(0.3 0.02 60 / 0.25); border-radius: var(--radius-sm); background: var(--color-bg); font-size: var(--text-base); font-weight: 400; }
input[type=file] { font-size: var(--text-sm); font-weight: 400; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--color-primary); outline-offset: 1px; }
input[aria-invalid="true"] { border-color: var(--color-error); }
.stack { display: grid; gap: var(--space-4); }
.form-error { color: var(--color-error); font-size: var(--text-sm); min-height: 0; }
.form-error:empty, .form-status:empty { display: none; }
.form-status { font-size: var(--text-sm); color: var(--color-success); }
.form-status.is-error { color: var(--color-error); }

/* Configurator */
.cfg { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(320px, 1fr); gap: var(--space-6); align-items: start; padding-bottom: var(--space-20); }
@media (max-width: 980px) { .cfg { grid-template-columns: 1fr; } }
.panel--sticky { position: sticky; top: calc(var(--header-h) + var(--space-4)); max-height: calc(100dvh - var(--header-h) - var(--space-8)); overflow: auto; }
@media (max-width: 980px) { .panel--sticky { position: static; max-height: none; } }
.add-row { display: grid; grid-template-columns: 1.6fr 1fr auto; gap: var(--space-3); align-items: end; }
@media (max-width: 560px) { .add-row { grid-template-columns: 1fr 1fr; } .add-row .btn { grid-column: span 2; } }
.cab-list { margin-top: var(--space-5); display: grid; gap: var(--space-2); }
.cab { display: grid; grid-template-columns: 1.4fr repeat(3, minmax(70px, 0.6fr)) auto; gap: var(--space-3); align-items: end; padding: var(--space-3); border: 1px solid var(--color-border); border-radius: var(--radius-md); background: var(--color-bg); }
.cab__title { font-size: var(--text-sm); font-weight: 600; align-self: center; }
.cab__title small { display: block; font-weight: 400; color: var(--color-text-muted); font-size: var(--text-xs); }
.cab label { font-size: var(--text-xs); }
.cab input, .cab select { min-height: 40px !important; font-size: var(--text-sm) !important; }
.cab .icon-btn { color: var(--color-text-muted); }
@media (max-width: 640px) {
  .cab { grid-template-columns: 1fr 1fr 1fr; position: relative; padding-right: 48px; }
  .cab__title { grid-column: 1 / -1; }
  .cab > span:empty { display: none; }
  .cab .icon-btn { position: absolute; top: 6px; right: 6px; }
}
.empty { padding: var(--space-8); text-align: center; color: var(--color-text-muted); border: 1px dashed var(--color-border); border-radius: var(--radius-md); font-size: var(--text-sm); }
.elev { background: var(--color-bg); border: 1px solid var(--color-border); border-radius: var(--radius-md); margin-top: var(--space-3); padding: var(--space-3); }
.elev svg { width: 100%; height: auto; }
.elev__label { font-size: var(--text-xs); color: var(--color-text-muted); margin: var(--space-2) 0 var(--space-1); }
.summary { margin-top: var(--space-4); font-size: var(--text-sm); display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-2) var(--space-4); }
.summary dt { color: var(--color-text-muted); }
.summary dd { font-weight: 600; font-variant-numeric: tabular-nums; }
.gate, .range { margin-top: var(--space-6); padding-top: var(--space-6); border-top: 1px solid var(--color-border); }
.gate .hint { margin: var(--space-1) 0 var(--space-4); }
.range__value { font-family: var(--font-display); font-size: var(--text-xl); font-variant-numeric: tabular-nums; }
.range__note { font-size: var(--text-xs); color: var(--color-text-muted); margin: var(--space-2) 0 var(--space-3); }
.range__flags { font-size: var(--text-xs); color: var(--color-text); margin-bottom: var(--space-4); }
.range__flags:empty { display: none; }

/* About */
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-6); margin-top: var(--space-10); }
.process h3 { font-size: var(--text-lg); margin: var(--space-2) 0; }
.process p { font-size: var(--text-sm); color: var(--color-text-muted); }
@media (max-width: 820px) { .process { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .process { grid-template-columns: 1fr; } }
.callout { background: var(--color-dark); color: var(--color-text-inverse); padding: clamp(var(--space-6), 4vw, var(--space-12)); border-radius: var(--radius-lg); }
.callout p { color: oklch(0.86 0.01 80); margin: var(--space-3) 0 var(--space-5); font-size: var(--text-sm); }
.callout .link-arrow { color: oklch(0.85 0.06 65); }

/* Reviews */
.reviews { columns: 3 300px; column-gap: var(--space-4); }
.review { break-inside: avoid; margin-bottom: var(--space-4); background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-lg); padding: var(--space-6); }
.review blockquote { font-size: var(--text-base); }
/* Round 18: featured reviews */
.revfeats { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: var(--space-6); margin-bottom: var(--space-8); }
.revfeat { margin: 0; background: var(--color-surface); border: 1px solid var(--color-border); border-top: 4px solid var(--color-primary); border-radius: var(--radius-lg); padding: var(--space-8); box-shadow: 0 12px 32px rgba(40, 25, 10, .10); }
.revfeat__stars { color: #c08a2c; letter-spacing: 2px; font-size: var(--text-lg); margin-bottom: var(--space-3); }
.revfeat blockquote { margin: 0; font-family: var(--font-display); font-size: var(--text-xl); line-height: 1.4; }
.revfeat figcaption { margin-top: var(--space-4); font-weight: 600; font-size: var(--text-sm); }
.review--big blockquote { font-family: var(--font-display); font-size: var(--text-lg); line-height: 1.4; }
.review cite { display: block; margin-top: var(--space-4); font-style: normal; font-size: var(--text-sm); color: var(--color-text-muted); }

/* Contact */
.contact-info { display: grid; gap: var(--space-6); }
.contact-info p { color: var(--color-text-muted); margin-top: var(--space-1); }
.contact-info a { color: var(--color-text); }
.share .row-gap { margin-top: var(--space-3); }

/* My designs */
.signin { display: grid; grid-template-columns: 1fr auto; gap: var(--space-3); align-items: end; max-width: 640px; }
.signin .hint { grid-column: 1 / -1; margin: 0; }
.designs { margin-top: var(--space-6); display: grid; gap: var(--space-3); max-width: 760px; }
.design-card { display: flex; justify-content: space-between; align-items: center; gap: var(--space-4); padding: var(--space-5); border: 1px solid var(--color-border); border-radius: var(--radius-md); background: var(--color-surface); flex-wrap: wrap; }
.design-card p { font-size: var(--text-sm); color: var(--color-text-muted); }

/* Modal */
.modal { border: 0; border-radius: var(--radius-lg); padding: clamp(var(--space-5), 4vw, var(--space-8)); width: min(640px, 100vw - 2rem); max-height: calc(100dvh - 2rem); background: var(--color-surface); color: var(--color-text); box-shadow: var(--shadow-md); margin: auto; }
.modal::backdrop { background: oklch(0.15 0.01 60 / 0.55); }
.modal__head { display: flex; justify-content: space-between; align-items: center; gap: var(--space-4); }

/* Footer */
.footer { background: var(--color-dark); color: var(--color-text-inverse); padding-block: var(--space-5) var(--space-2); }   /* Brad 2026-10-26: 25% shorter */
.footer__inner { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr auto; gap: var(--space-4) var(--space-6); align-items: center; align-items: start; }
.footer__brand img { width: 60px; height: auto; }
.footer__brand p, .footer p { font-size: var(--text-sm); color: oklch(0.82 0.01 80); margin-top: var(--space-2); }
.footer__label { text-transform: uppercase; letter-spacing: .14em; font-size: var(--text-xs) !important; font-weight: 600; color: oklch(0.85 0.06 65) !important; }
.footer a { text-decoration: none; }
.footer a:hover { text-decoration: underline; }
.footer__legal { border-top: 1px solid oklch(1 0 0 / 0.12); margin-top: var(--space-2); padding-top: var(--space-2); text-align: center; }
.footer__legal p { margin-inline: auto; max-width: none; }
.footer__legal { position: relative; }
.footer__careers { position: absolute; right: 0; bottom: 2px; font-size: var(--text-xs); opacity: .55; text-decoration: none; color: inherit; padding-inline: var(--space-4); }
.footer__careers:hover { opacity: 1; text-decoration: underline; }
@media (max-width: 640px) { .footer__careers { position: static; display: block; text-align: right; margin-top: var(--space-1); } }
.footer__social { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-top: var(--space-3); }
.footer__social a { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: oklch(1 0 0 / 0.1); color: oklch(0.92 0.01 80); transition: background .15s, color .15s; }
.footer__social a:hover { background: oklch(0.85 0.06 65); color: var(--color-dark); text-decoration: none; }
.footer p { margin-top: 4px; }
@media (max-width: 820px) { .footer__inner { grid-template-columns: 1fr 1fr; gap: var(--space-3); } }
@media (max-width: 480px) { .footer__inner { grid-template-columns: 1fr 1fr; } .footer__inner > :first-child, .footer__inner > :last-child { grid-column: 1 / -1; } }

/* Print spec sheet */
.print-sheet { display: none; }
@media print {
  body > *:not(.print-sheet) { display: none !important; }
  .print-sheet { display: block !important; font-size: 11pt; color: #000; }
  .print-sheet h1 { font-size: 18pt; margin-bottom: 6pt; }
  .print-sheet h2 { font-size: 12pt; margin: 14pt 0 4pt; }
  .print-sheet table { width: 100%; border-collapse: collapse; font-size: 9.5pt; }
  .print-sheet th, .print-sheet td { border: 1px solid #999; padding: 3pt 5pt; text-align: left; }
  .print-sheet svg { max-width: 100%; height: auto; }
}

.cab__built{display:flex;flex-direction:column;gap:6px;font-size:var(--text-xs);color:var(--color-text-muted)}
.cab__built strong{font-size:var(--text-sm);color:var(--color-text);font-weight:600;padding-block:10px}

/* ---------- Design flow v2: steps, rooms, walls ---------- */
.stepper { list-style: none; display: grid; grid-template-columns: repeat(6, 1fr); gap: var(--space-2); margin: 0 0 var(--space-6); padding: 0; }
.stepper li { display: flex; align-items: center; gap: var(--space-2); padding: var(--space-3); border-top: 3px solid var(--color-border); font-size: var(--text-sm); color: var(--color-text-muted); }
.stepper li span { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--color-border); font-size: var(--text-xs); font-variant-numeric: tabular-nums; flex: none; }
.stepper li.is-done { border-top-color: oklch(0.43 0.10 50 / 0.45); color: var(--color-text); }
.stepper li.is-current { border-top-color: var(--color-primary); color: var(--color-text); font-weight: 600; }
.stepper li.is-current span, .stepper li.is-done span { background: var(--color-primary); border-color: var(--color-primary); color: var(--color-text-inverse); }
.step { padding-bottom: var(--space-16); }
.step-nav { display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); margin-top: var(--space-5); flex-wrap: wrap; }
.step-nav .form-error { flex: 1; text-align: center; margin: 0; }
.row-gap--tight { margin-top: 0; }
.center { text-align: center; }

.choice { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-5); }
@media (max-width: 1000px) { .choice { grid-template-columns: 1fr 1fr; } .choice > :last-child { grid-column: 1 / -1; } }
.choice__card { display: flex; flex-direction: column; gap: var(--space-3); text-align: left; padding: clamp(var(--space-6), 4vw, var(--space-10)); border-radius: var(--radius-lg); border: 1px solid var(--color-border); background: var(--color-surface); color: var(--color-text); cursor: pointer; transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease; }
.choice__card:hover { border-color: var(--color-primary); transform: translateY(-2px); box-shadow: 0 10px 30px oklch(0.2 0.02 60 / 0.08); }
.choice__card > span:not(.eyebrow):not(.choice__go) { color: var(--color-text-muted); font-size: var(--text-sm); max-width: 44ch; }
.choice__card--alt { background: var(--color-dark); color: var(--color-text-inverse); border-color: var(--color-dark); }
.choice__card--alt > span:not(.eyebrow):not(.choice__go) { color: oklch(0.85 0.01 80); }
.choice__card--alt .eyebrow { color: oklch(0.80 0.06 60); }
.choice__go { margin-top: auto; padding-top: var(--space-4); font-weight: 600; color: var(--color-primary); font-size: var(--text-sm); }
.choice__card--alt .choice__go { color: oklch(0.85 0.07 60); }

.count-row { display: flex; gap: var(--space-3); align-items: end; margin-bottom: var(--space-5); }
.count-row label { max-width: 200px; }
.room-list { display: grid; gap: var(--space-2); }
.room-row { display: grid; grid-template-columns: 32px 1.4fr 1fr 110px auto 40px; gap: var(--space-3); align-items: end; padding: var(--space-3); border: 1px solid var(--color-border); border-radius: var(--radius-md); background: var(--color-bg); }
.room-row__n { align-self: center; font-family: var(--font-display); font-size: var(--text-lg); color: var(--color-primary); }
.room-row label { font-size: var(--text-xs); }
.room-row .check { align-self: center; padding-bottom: 8px; }
.room-row .icon-btn[disabled] { opacity: .3; cursor: not-allowed; }
.room-row__mat { grid-column: 2 / -1; display: flex; flex-wrap: wrap; gap: var(--space-3); align-items: end; }
.room-row__mat label { display: grid; gap: 4px; }
.room-row__mat .hint { margin: 0; flex-basis: 100%; }
.add-more { margin-top: var(--space-3); }

.room-tabs { display: flex; gap: var(--space-2); overflow-x: auto; margin-bottom: var(--space-4); padding-bottom: 2px; }
.room-tabs button { flex: none; display: flex; flex-direction: column; align-items: flex-start; padding: var(--space-2) var(--space-4); border-radius: var(--radius-md); border: 1px solid var(--color-border); background: var(--color-surface); color: var(--color-text); font-weight: 600; font-size: var(--text-sm); cursor: pointer; }
.room-tabs button small { font-weight: 400; font-size: var(--text-xs); color: var(--color-text-muted); }
.room-tabs button[aria-selected="true"] { border-color: var(--color-primary); box-shadow: inset 0 -3px 0 var(--color-primary); }

.wall-add { display: grid; grid-template-columns: 1.4fr 1.1fr 0.7fr 0.7fr auto; gap: var(--space-3); align-items: end; padding: var(--space-4); border: 1px dashed var(--color-border); border-radius: var(--radius-md); margin-bottom: var(--space-5); }
.wall-add label { font-size: var(--text-xs); }
.wall-list { display: grid; gap: var(--space-3); }
.wall { border: 1px solid var(--color-border); border-radius: var(--radius-md); background: var(--color-bg); }
.wall.is-open { border-color: oklch(0.43 0.10 50 / 0.55); box-shadow: 0 6px 24px oklch(0.2 0.02 60 / 0.06); }
.wall__head { display: grid; grid-template-columns: 1fr auto auto 40px; gap: var(--space-3); align-items: center; padding: var(--space-3) var(--space-4); }
.wall__meta { display: flex; flex-direction: column; min-width: 0; }
.wall__meta .muted { font-size: var(--text-xs); }
.wall__name { font-weight: 600; font-size: var(--text-base); border: 1px solid transparent !important; background: transparent !important; padding: 2px 4px !important; min-height: 0 !important; margin-left: -5px; border-radius: var(--radius-sm); }
.wall__name:hover, .wall__name:focus { border-color: var(--color-border) !important; background: var(--color-surface) !important; }
.wall__body { padding: 0 var(--space-4) var(--space-4); display: grid; gap: var(--space-3); }
.wall__len { display: flex; gap: var(--space-3); }
.wall__len label { font-size: var(--text-xs); max-width: 130px; }
.elev--mini { margin: 0 var(--space-4) var(--space-4); max-height: 140px; overflow: hidden; }
.elev--mini .elev__canvas { max-width: calc(120px * var(--ar, 4)); margin: 0 auto; } /* numbers sit on the drawing, not the full row */
.badge { font-size: var(--text-xs); font-weight: 600; padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
.badge--ok { background: oklch(0.92 0.05 150); color: oklch(0.35 0.08 150); }
.badge--todo { background: oklch(0.93 0.04 80); color: oklch(0.40 0.08 60); }
.badge--bad { background: oklch(0.93 0.05 25); color: oklch(0.45 0.14 25); }
.use { font-size: var(--text-xs); }
.use__top { display: flex; justify-content: space-between; gap: var(--space-3); color: var(--color-text-muted); margin-bottom: 4px; }
.use__top .is-over { color: var(--color-error); font-weight: 600; }
.use__bar { height: 6px; border-radius: 3px; background: var(--color-surface-offset); overflow: hidden; }
.use__bar i { display: block; height: 100%; background: var(--color-primary); border-radius: 3px; }
.use__bar i.is-over { background: var(--color-error); }
.add-row { grid-template-columns: 1fr auto; }
.cab { grid-template-columns: 1.4fr repeat(3, minmax(70px, 0.6fr)) auto; }
.cab__acts { display: flex; gap: 2px; align-self: center; }
.cab__acts .icon-btn[disabled] { opacity: .3; }

.rev-room { padding-bottom: var(--space-4); margin-bottom: var(--space-4); border-bottom: 1px solid var(--color-border); }
.rev-room h3 small { font-family: var(--font-body); font-size: var(--text-xs); font-weight: 400; margin-left: var(--space-2); }
.meet { max-width: 880px; margin-inline: auto; }
.chips { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: var(--space-2); }
.chips legend { font-size: var(--text-sm); margin-bottom: var(--space-2); }
.chips label { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border: 1px solid var(--color-border); border-radius: 999px; font-size: var(--text-sm); background: var(--color-bg); cursor: pointer; }
.chips label:has(input:checked) { border-color: var(--color-primary); background: oklch(0.43 0.10 50 / 0.08); }
.review__src { color: var(--color-text-muted); font-weight: 400; }

@media (max-width: 860px) {
  .choice { grid-template-columns: 1fr; }
  .room-row { grid-template-columns: 28px 1fr 1fr; }
  .room-row .room-row__n { grid-row: span 2; }
  .room-row .icon-btn { justify-self: end; }
  .wall-add { grid-template-columns: 1fr 1fr; }
  .wall-add button { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .stepper { grid-template-columns: repeat(6, 1fr); gap: 4px; }
  .stepper li { flex-direction: column; align-items: flex-start; font-size: var(--text-xs); padding: var(--space-2) 2px; }
  .wall__head { grid-template-columns: 1fr auto; }
  .wall__head .badge { grid-column: 1; grid-row: 2; justify-self: start; }
  .wall__head [data-toggle] { grid-column: 2; grid-row: 1 / span 2; }
  .wall__head [data-rmwall] { display: none; }
  .wall.is-open .wall__head [data-rmwall] { display: inline-grid; }
  .step-nav { flex-direction: column-reverse; align-items: stretch; }
  .step-nav .btn, .step-nav .row-gap { width: 100%; }
  .step-nav .row-gap .btn { flex: 1; }
  .cab.cab { padding-right: var(--space-3); grid-template-columns: 1fr 1fr 1fr; }
  .cab__acts { grid-column: 1 / -1; justify-self: end; grid-row: 1; }
  .cab .cab__acts .icon-btn { position: static; }
  .cab__title { grid-row: 3; }
  .cab .cab__type { grid-row: 2; }
}

[hidden] { display: none !important; }

#rangeBox { margin-top: 0; padding-top: 0; border-top: 0; }
.page-sub { margin-top: .5rem; }

/* Back to the two choices */
.back-link { display: inline-flex; align-items: center; gap: var(--space-2); font-size: var(--text-sm); font-weight: 600; color: var(--color-primary); padding: var(--space-2) 0; margin-bottom: var(--space-3); min-height: 44px; }
.back-link:hover { color: var(--color-primary-hover); text-decoration: underline; text-underline-offset: 3px; }

/* 3D wall view */
.elev { position: relative; }
.elev__tools { display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: center; gap: var(--space-2); margin: 0 0 var(--space-2); position: sticky; left: 0; z-index: 1; }
.elev__toggle { margin: 0; }
.elev__mode { display: inline-flex; align-items: center; gap: 6px; font-size: var(--text-xs); color: var(--color-text-muted); }
.elev__mode select { font: inherit; font-size: var(--text-xs); padding: 4px 8px; border: 1px solid var(--color-border); border-radius: 6px; background: var(--color-surface, #fff); color: var(--color-text); }
.elev--mini .elev__tools { display: none; }

/* Hardware picker */
.hwintro { font-size: var(--text-sm); margin: var(--space-5) 0 var(--space-3); }
.hwfilter { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-bottom: var(--space-4); }
.hwfilter button { font-size: var(--text-xs); font-weight: 600; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--color-border); background: var(--color-surface); min-height: 36px; }
.hwfilter button[aria-pressed="true"] { background: var(--color-dark); color: var(--color-text-inverse); border-color: var(--color-dark); }
.hwroom { border-top: 1px solid var(--color-border); padding-top: var(--space-4); margin-top: var(--space-4); }
.hwroom__head h3 { margin: 0; }
.hwroom__sel { font-size: var(--text-sm); margin: var(--space-1) 0 var(--space-3); color: var(--color-text-muted); }
.hwroom__sel strong { color: var(--color-text); }
.hwroom__sel a { color: var(--color-primary); text-decoration: underline; text-underline-offset: 2px; }
.hwroom__note { font-size: var(--text-xs); color: var(--color-error); margin: calc(-1 * var(--space-2)) 0 var(--space-3); }
.hwcar { display: grid; grid-template-columns: 40px 1fr 40px; align-items: center; gap: var(--space-2); }
.hwcar__nav { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--color-border); background: var(--color-surface); font-size: 1.5rem; line-height: 1; display: grid; place-items: center; }
.hwcar__nav:hover { background: var(--color-surface-offset); }
.hwcar__track { display: grid; grid-auto-flow: column; grid-auto-columns: 148px; gap: var(--space-3); overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: 4px 4px var(--space-2); overscroll-behavior-x: contain; }
.hwcard { scroll-snap-align: start; display: flex; flex-direction: column; align-items: stretch; text-align: left; gap: 2px; padding: 6px; border: 2px solid transparent; border-radius: var(--radius-md); background: var(--color-surface); position: relative; }
.hwcard img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius-sm); background: var(--color-surface-offset); }
.hwcard__name { font-size: var(--text-sm); font-weight: 600; margin-top: 4px; }
.hwcard__meta { font-size: var(--text-xs); color: var(--color-text-muted); }
.hwcard__tag { align-self: flex-start; margin-top: 4px; font-size: 11px; font-weight: 600; padding: 2px 8px; border-radius: 999px; background: var(--color-surface-offset); color: var(--color-text); }
.hwcard:hover { border-color: var(--color-border); }
.hwcard[aria-pressed="true"] { border-color: var(--color-primary); box-shadow: 0 0 0 1px var(--color-primary); }
.hwcard[aria-pressed="true"]::after { content: "\2713  Selected"; position: absolute; top: 10px; right: 10px; font-size: 11px; font-weight: 600; padding: 2px 8px; border-radius: 999px; background: var(--color-primary); color: #fff; }
.hwcar__count { font-size: var(--text-xs); margin: var(--space-1) 0 0 48px; }
@media (max-width: 560px) {
  .hwcar { grid-template-columns: 1fr; }
  .hwcar__nav { display: none; }
  .hwcar__track { grid-auto-columns: 132px; }
  .hwcar__count { margin-left: 0; }
  /* wall header: name + remove on one line, status + button on the next */
  .wall__head { grid-template-columns: 1fr auto; grid-template-areas: "meta rm" "badge btn"; row-gap: var(--space-2); }
  .wall__head .wall__meta { grid-area: meta; }
  .wall__head .badge { grid-area: badge; justify-self: start; }
  .wall__head [data-toggle] { grid-area: btn; }
  .wall__head [data-rmwall] { grid-area: rm; justify-self: end; }
  .wall__head [data-toggle] { justify-self: end; }
}

/* Elevation: numbers, selection and drag arrows */
.elev__canvas { position: relative; touch-action: pan-y; }
.elev__canvas svg { display: block; width: 100%; height: auto; }
.elev__canvas .ecab { cursor: pointer; }
.enum { position: absolute; transform: translate(-50%, -50%); min-width: 22px; height: 22px; padding: 0 5px; border-radius: 999px; background: oklch(1 0 0 / 0.92); border: 1px solid var(--color-border); color: var(--color-text); font-size: 12px; font-weight: 700; line-height: 20px; text-align: center; box-shadow: 0 1px 2px oklch(0 0 0 / 0.12); }
button.enum { cursor: pointer; }
button.enum:hover, .enum.is-sel { background: #c0651f; border-color: #c0651f; color: #fff; }
.eh { position: absolute; transform: translate(-50%, -50%); width: 34px; height: 34px; border-radius: 50%; background: #c0651f; color: #fff; display: grid; place-items: center; box-shadow: 0 2px 6px oklch(0 0 0 / 0.25); cursor: ew-resize; touch-action: none; border: 2px solid #fff; }
.eh:focus-visible { outline: 3px solid var(--color-focus, #1f6feb); outline-offset: 2px; }
.ew { position: absolute; transform: translate(-50%, -130%); background: #c0651f; color: #fff; font-size: 12px; font-weight: 700; padding: 2px 8px; border-radius: 6px; pointer-events: none; white-space: nowrap; }
body.is-dragging, body.is-dragging * { cursor: ew-resize !important; user-select: none; }
.hint--tight { margin-top: var(--space-2); }

/* Cabinet rows: number, selection, open space, hood picker */
.cab__title { display: flex; gap: var(--space-2); align-items: flex-start; }
.cab__n { flex: none; min-width: 24px; height: 24px; border-radius: 999px; background: var(--color-surface-offset); font-size: 12px; font-weight: 700; display: grid; place-items: center; padding: 0 6px; margin-top: 1px; }
.cab.is-sel { border-color: #c0651f; box-shadow: 0 0 0 1px #c0651f; background: oklch(0.97 0.02 60); }
.cab.is-sel .cab__n { background: #c0651f; color: #fff; }
.cab--gap { border-style: dashed; }
.cab__note { font-size: var(--text-xs); color: var(--color-text-muted); align-self: center; }
.cab .hoodpick { grid-column: 1 / -1; border-top: 1px solid var(--color-border); padding-top: var(--space-3); }
.hoodpick__sel { font-size: var(--text-sm); margin: 0 0 var(--space-2); color: var(--color-text-muted); }
.hoodpick__sel strong { color: var(--color-text); }
.hoodpick__sel a { color: var(--color-primary); text-decoration: underline; text-underline-offset: 2px; }
.hoodpick .hwcard img { object-fit: contain; background: #fff; }
.hoodpick__fin { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2) var(--space-4); margin-top: var(--space-3); font-size: var(--text-sm); }
.hoodpick__fin .hoodcard__fin { display: inline-flex; align-items: center; gap: 6px; }
.hoodpick__fin .hoodcard__fin i { width: 16px; height: 16px; border-radius: 50%; border: 1px solid var(--color-border); display: inline-block; }
@media (max-width: 560px) {
  .enum { min-width: 18px; height: 18px; font-size: 10px; line-height: 16px; padding: 0 3px; }
  .eh { width: 30px; height: 30px; }
}
@media (max-width: 640px) {

  .elev:has(.elev__canvas--edit) { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .elev__canvas--edit { min-width: var(--minw); }
}

/* ---- Wall editor: tighter layout (2026-10-23) ---- */
.wall__body { gap: var(--space-2); padding: 0 var(--space-3) var(--space-3); }
.wall__body .elev { margin-top: 0; padding: var(--space-2); }
.wall__len label { max-width: 110px; }
.wall__body input, .wall__body select { min-height: 34px !important; padding-block: 4px !important; font-size: var(--text-sm) !important; }
.wall__body label { font-size: 12px; gap: 2px; }
.wall__body .hint { margin: 0; font-size: 12px; line-height: 1.4; }
.uses { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-2) var(--space-4); }
.uses .use__top { margin-bottom: 2px; font-size: 12px; }
.warns { margin: 0; padding: 6px 10px 6px 26px; border-radius: var(--radius-sm); background: oklch(0.96 0.03 40); color: oklch(0.42 0.13 35); font-size: 12px; line-height: 1.45; }
.insp .cab { padding: var(--space-2) var(--space-3); gap: var(--space-2) var(--space-3); border-color: #c0651f; box-shadow: 0 0 0 1px #c0651f; background: oklch(0.975 0.015 60); }
.insp .cab__title { font-size: var(--text-sm); }
.cab__lock { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(200px, 1.6fr) minmax(110px, .7fr) 1fr; gap: var(--space-2) var(--space-3); align-items: end; border-top: 1px solid var(--color-border); padding-top: var(--space-2); }
.cab-list { margin-top: 0; gap: 3px; }
.cline { display: flex; align-items: center; gap: var(--space-2); border: 1px solid var(--color-border); border-radius: var(--radius-sm); background: var(--color-bg); padding: 2px 4px 2px 2px; }
.cline.is-sel { border-color: #c0651f; background: oklch(0.97 0.02 60); }
.cline.is-sel .cab__n { background: #c0651f; color: #fff; }
.cline--gap { border-style: dashed; }
.cline__main { flex: 1; min-width: 0; display: flex; align-items: center; gap: var(--space-2); padding: 4px 6px; background: none; border: 0; text-align: left; font: inherit; font-size: var(--text-sm); color: var(--color-text); cursor: pointer; border-radius: var(--radius-sm); min-height: 32px; }
.cline__main:hover { background: var(--color-surface-offset); }
.cline__name { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cline__size { color: var(--color-text-muted); font-size: 12px; font-variant-numeric: tabular-nums; }
.cline__lock { display: inline-flex; align-items: center; gap: 3px; font-size: 11px; color: #a4561a; background: oklch(0.95 0.03 60); border-radius: 999px; padding: 1px 7px; white-space: nowrap; }
.cline .cab__acts .icon-btn { width: 30px; height: 30px; }
.wall__body .add-row { gap: var(--space-2); }
.opens { border-top: 1px solid var(--color-border); padding-top: var(--space-2); display: grid; gap: 4px; }
.opens__title { font-size: var(--text-sm); font-weight: 600; margin: 0; }
.oline { display: grid; grid-template-columns: 1fr repeat(4, minmax(80px, .8fr)) 32px; gap: var(--space-2); align-items: end; padding: 4px 6px; border: 1px solid var(--color-border); border-radius: var(--radius-sm); }
.oline__name { font-size: var(--text-sm); font-weight: 600; align-self: center; }
@media (max-width: 640px) {
  .uses { grid-template-columns: 1fr; }
  .cab__lock { grid-template-columns: 1fr 1fr; }
  .cab__lock > label:first-child { grid-column: 1 / -1; }
  .oline { grid-template-columns: 1fr 1fr; position: relative; padding-right: 36px; }
  .oline__name { grid-column: 1 / -1; }
  .oline > span:empty { display: none; }
  .oline .icon-btn { position: absolute; top: 2px; right: 2px; }
  .cline__lock { display: none; }
}
.wall, .wall__body > * { min-width: 0; }
.cline__name { min-width: 0; } .cline__size, .cline .cab__acts { flex: none; } .cline { min-width: 0; overflow: hidden; }
@media (max-width: 640px) {
  .cline__main { display: grid; grid-template-columns: auto 1fr; column-gap: var(--space-2); row-gap: 0; }
  .cline__main .cab__n { grid-row: span 2; align-self: center; }
  .cline__name { white-space: normal; line-height: 1.25; }
  .cline__size { grid-column: 2; }
}

/* Door style step */
.doorcards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); gap: var(--space-3); margin-top: var(--space-4); }
.doorcard { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: var(--space-3); text-align: left; background: var(--color-surface, #fff); border: 1px solid var(--color-border); border-radius: 10px; cursor: pointer; font: inherit; color: var(--color-text); min-width: 0; }
.doorcard:hover { border-color: var(--color-text-muted); }
.doorcard[aria-pressed="true"] { border: 2px solid var(--color-primary); padding: calc(var(--space-3) - 1px); }
.doorcard__img { display: grid; place-items: center; width: 100%; padding: var(--space-3) 0; background: #f1ede6; border-radius: 6px; }
.doorcard__name { font-weight: 600; font-size: var(--text-sm); }
.doorcard__desc { font-size: var(--text-xs); color: var(--color-text-muted); line-height: 1.4; }
.doorcard__tag { font-size: var(--text-xs); padding: 2px 8px; border-radius: 99px; background: #ece6dc; }
.doorcard[aria-pressed="true"] .doorcard__tag { background: var(--color-primary); color: var(--color-text-inverse); }

/* Nav: Styles & Options group */
.nav__group { position: relative; display: flex; align-items: center; }
@media (max-width: 1240px) { .nav__group { display: block; } }
.nav__sub { display: none; position: absolute; top: 100%; left: 0; min-width: 200px; flex-direction: column; background: var(--color-bg); border: 1px solid var(--color-border); border-radius: 8px; padding: 6px; box-shadow: 0 10px 30px oklch(0.2 0.02 60 / 0.12); z-index: 30; }
.nav__group.is-open .nav__sub { display: flex; }
@media (max-width: 1240px) { .nav__sub { display: flex; position: static; border: 0; box-shadow: none; padding: 0 0 0 var(--space-4); min-width: 0; } .nav__sub a { padding: var(--space-2) var(--space-4); font-size: var(--text-sm); } }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.span-all { grid-column: 1 / -1; min-width: 0; }
.field-label { font-size: var(--text-sm); font-weight: 600; margin: 0 0 var(--space-2); }
/* Options pages */
.opt-tabs { display: flex; gap: 4px; overflow-x: auto; border-bottom: 1px solid var(--color-border); margin-bottom: var(--space-5); scrollbar-width: none; }
.opt-tabs a { padding: var(--space-3) var(--space-4); text-decoration: none; color: var(--color-text-muted); font-size: var(--text-sm); white-space: nowrap; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.opt-tabs a[aria-selected="true"] { color: var(--color-text); font-weight: 600; border-color: var(--color-primary); }
.opt-body .chips { margin: var(--space-3) 0; }
.chip__n { font-size: 0.85em; opacity: .6; }
.opt-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-3); margin: var(--space-8) 0 var(--space-10); padding: var(--space-5); border: 1px solid var(--color-border); border-radius: 12px; }
.opt-cta p { margin: 0; font-weight: 600; }
.doorcard--photo .doorcard__img { padding: 0; background: #f6f1e9; overflow: hidden; }
.doorcard--photo .doorcard__img img { width: 100%; height: auto; aspect-ratio: 2/3; object-fit: contain; display: block; }
.doorcard__use { font-size: var(--text-xs); font-weight: 600; color: var(--color-primary); margin-top: auto; }
.profcards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); gap: var(--space-3); }
.profcard { margin: 0; border: 1px solid var(--color-border); border-radius: 10px; overflow: hidden; background: #fff; }
.profcard img { width: 100%; height: auto; display: block; }
.profcard figcaption, .hoodcard figcaption, .hwitem figcaption { display: flex; flex-direction: column; gap: 2px; padding: var(--space-2) var(--space-3) var(--space-3); font-size: var(--text-xs); color: var(--color-text-muted); }
.profcard strong, .hoodcard strong, .hwitem strong { color: var(--color-text); font-size: var(--text-sm); }
.hoodcards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); gap: var(--space-4); }
.hoodcard, .hwitem { margin: 0; border: 1px solid var(--color-border); border-radius: 10px; overflow: hidden; background: var(--color-surface, #fff); }
.hoodcard img, .hwitem img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; display: block; background: #f1ede6; }
.hwgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 160px), 1fr)); gap: var(--space-3); }
.hwitem img { object-fit: contain; background: #fff; }
.woodcards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 190px), 1fr)); gap: var(--space-3); }
.woodcards--pick { grid-template-columns: repeat(auto-fill, minmax(min(100%, 150px), 1fr)); }
.woodcard { border: 1px solid var(--color-border); border-radius: 10px; padding: var(--space-2); background: var(--color-surface, #fff); min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.woodcard.is-sel { border: 2px solid var(--color-primary); padding: calc(var(--space-2) - 1px); }
.woodcard__main { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; background: none; border: 0; padding: 0; font: inherit; color: inherit; text-align: left; cursor: pointer; }
.woodcard__main img { width: 100%; height: auto; aspect-ratio: 210/300; object-fit: cover; border-radius: 0; display: block; }
.woodcard__name { font-weight: 600; font-size: var(--text-sm); }
.woodcard__tag { font-size: var(--text-xs); padding: 1px 8px; border-radius: 99px; background: #ece6dc; }
.woodcard.is-sel .woodcard__tag { background: var(--color-primary); color: var(--color-text-inverse); }
.woodcard__desc { font-size: var(--text-xs); color: var(--color-text-muted); margin: 0; line-height: 1.4; }
.woodcard__thumbs { display: flex; flex-wrap: wrap; gap: 4px; }
.woodcard__thumbs button { padding: 0; border: 1px solid var(--color-border); border-radius: 4px; overflow: hidden; background: none; cursor: pointer; width: 34px; height: 44px; }
.woodcard__thumbs button[aria-pressed="true"] { outline: 2px solid var(--color-primary); }
.woodcard__thumbs img { width: 100%; height: 100%; object-fit: cover; display: block; }
.viewer { border: 0; border-radius: 12px; padding: 0; max-width: min(92vw, 520px); width: 100%; background: var(--color-bg); color: var(--color-text); }
.viewer::backdrop { background: oklch(0.15 0.01 60 / 0.6); }
.viewer__box { padding: var(--space-5); position: relative; display: flex; flex-direction: column; gap: var(--space-2); }
.viewer__img { width: 100%; max-height: 78vh; object-fit: contain; background: #fff; border-radius: 8px; }
.viewer__x { position: absolute; top: 8px; right: 8px; width: 40px; height: 40px; font-size: 24px; background: none; border: 0; cursor: pointer; color: var(--color-text); }
.viewer .woodcard__thumbs button { width: 44px; height: 58px; }

/* Home: full-width photos */
.showcase { display: grid; gap: 4px; }
.showcase__item { position: relative; display: block; height: min(78vh, 720px); overflow: hidden; color: #fff; text-decoration: none; }
.showcase__item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .8s ease; }
.showcase__item:hover img { transform: scale(1.02); }
.showcase__cap { position: absolute; left: var(--space-6); bottom: var(--space-6); font-family: var(--font-display); font-size: var(--text-xl); text-shadow: 0 2px 16px rgba(0,0,0,.55); max-width: calc(100% - 2 * var(--space-6)); }
@media (max-width: 640px) { .showcase__item { height: 62vh; } .showcase__cap { left: var(--space-4); bottom: var(--space-4); font-size: var(--text-lg); } }
.buildtypes { display: grid; grid-template-columns: repeat(5, 1fr); gap: var(--space-4); }
@media (max-width: 1100px) { .buildtypes { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 900px) { .buildtypes { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .buildtypes { grid-template-columns: 1fr; } }
.buildtype { display: flex; flex-direction: column; gap: 4px; text-decoration: none; color: var(--color-text); min-width: 0; }
.buildtype img, .buildtype__ph { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 10px; display: grid; place-items: center; background: var(--color-surface-offset); color: var(--color-text-muted); font-size: var(--text-sm); }
.buildtype__name { font-weight: 600; margin-top: var(--space-2); }
.buildtype__desc { font-size: var(--text-sm); color: var(--color-text-muted); }
/* Home: Texas map */
.txmap { display: grid; grid-template-columns: 1fr 1.2fr; gap: var(--space-8); align-items: center; }
@media (max-width: 820px) { .txmap { grid-template-columns: 1fr; } }
.txmap__text p { color: oklch(0.85 0.01 70); }
.txmap__art { overflow: hidden; border-radius: 12px; }
.txmap__art svg { width: 100%; height: auto; display: block; }
.tx__state { fill: oklch(0.32 0.02 60); stroke: oklch(0.6 0.03 70); stroke-width: 1.2; vector-effect: non-scaling-stroke; }
.tx__area { fill: oklch(0.62 0.12 55 / .18); stroke: oklch(0.7 0.12 55); stroke-width: 1.5; stroke-dasharray: 6 5; vector-effect: non-scaling-stroke; opacity: 0; transition: opacity .8s 1.6s; }
.txmap__art.is-on .tx__area { opacity: 1; }
.tx__city circle { fill: oklch(0.85 0.01 70); } .tx__city text { fill: oklch(0.88 0.01 70); font: 600 13px var(--font-body, sans-serif); }
.tx__city { opacity: 0; transition: opacity .6s 2s; } .txmap__art.is-on .tx__city { opacity: 1; }
.tx__shop circle { fill: oklch(0.72 0.14 55); stroke: #fff; stroke-width: 2; vector-effect: non-scaling-stroke; }
.tx__shop text { fill: #fff; font: 700 14px var(--font-body, sans-serif); }
.tx__pulse { fill: none; stroke: oklch(0.72 0.14 55); stroke-width: 2; vector-effect: non-scaling-stroke; transform-box: fill-box; transform-origin: center; animation: txpulse 2.4s ease-out infinite; }
@keyframes txpulse { from { transform: scale(.6); opacity: .9; } to { transform: scale(4); opacity: 0; } }
.tx__job { fill: oklch(0.8 0.12 75 / 0.85); stroke: oklch(0.25 0.02 60); stroke-width: 1; opacity: 0; transform-box: fill-box; transform-origin: center; } .txmap__art.is-on .tx__job { animation: txjob .5s ease-out forwards; }
@keyframes txjob { from { opacity: 0; transform: scale(0); } to { opacity: .95; transform: scale(1); } }
@media (prefers-reduced-motion: reduce) { .tx__area, .tx__city { transition: none; } .tx__pulse { animation: none; } }

/* header CTA never wraps; shorter label on mid widths */
.header__actions .btn { white-space: nowrap; }
.cta-short { display: none; }
@media (min-width: 1241px) and (max-width: 1680px) { .cta-long { display: none; } .cta-short { display: inline; } }
.showcase { margin-top: var(--space-8); }
@media (min-width: 1241px) and (max-width: 1320px) { .nav a, .nav__group > button { padding-inline: 6px; } }

.gallery__more { text-align: center; margin-top: var(--space-6); }

/* Site search */
.search-btn { color: var(--color-text); }
.search-dlg { width: min(720px, calc(100vw - 24px)); max-height: min(80vh, 760px); margin: 8vh auto auto; padding: 0; border: 1px solid var(--color-border); border-radius: var(--radius-lg); background: var(--color-surface); color: var(--color-text); box-shadow: var(--shadow-md); overflow: hidden; }
.search-dlg[open] { display: flex; flex-direction: column; }
.search-dlg::backdrop { background: oklch(0.15 0.01 60 / 0.45); }
.search-dlg__bar { display: flex; align-items: center; gap: var(--space-2); padding: var(--space-2) var(--space-2) var(--space-2) var(--space-4); border-bottom: 1px solid var(--color-border); color: var(--color-text-muted); }
.search-dlg__bar input { flex: 1; min-width: 0; min-height: 44px; border: 0; background: transparent; font: inherit; font-size: var(--text-base, 1rem); color: var(--color-text); outline: none; }
.search-dlg__results { overflow-y: auto; padding: var(--space-4); }
.sr + .sr { margin-top: var(--space-5, 1.25rem); }
.sr__h { font-size: var(--text-xs); text-transform: uppercase; letter-spacing: 0.1em; color: var(--color-primary); margin-bottom: var(--space-2); }
.sr ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 2px; }
.sr__item { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; width: 100%; text-align: left; padding: var(--space-2) var(--space-3); border-radius: var(--radius-sm); }
.sr__item:hover, .sr__item:focus-visible { background: var(--color-surface-offset); }
.sr__item span { font-size: var(--text-xs); color: var(--color-text-muted); }
.sr__photos { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: var(--space-2); margin-bottom: var(--space-2); }
.sr__photos button { border-radius: var(--radius-sm); overflow: hidden; aspect-ratio: 4 / 3; }
.sr__photos img { width: 100%; height: 100%; object-fit: cover; }
.linkish { color: var(--color-primary); text-decoration: underline; text-underline-offset: 2px; font: inherit; padding: 0; }
.gsearch { display: block; margin-top: var(--space-4); max-width: 420px; }
.gsearch input { width: 100%; min-height: 44px; padding: var(--space-2) var(--space-4); border: 1px solid var(--color-border); border-radius: var(--radius-sm); background: var(--color-surface); font: inherit; color: var(--color-text); }
.is-found { outline: 3px solid var(--color-primary); outline-offset: 4px; border-radius: var(--radius-sm); transition: outline-color 400ms; }

.txmap__jobs { font-size: var(--text-sm); color: oklch(0.85 0.02 80); margin-bottom: var(--space-6); }
/* selected cabinet: change it into another cabinet type or an appliance */
.cab__type { grid-column: 1 / -1; grid-row: 1; display: flex; align-items: center; gap: var(--space-2); font-size: var(--text-sm); font-weight: 600; }
.cab__type select { flex: 0 1 320px; min-width: 0; }
/* Design step: door slider (left-right) and the confirmed door */
.doorcar { margin-top: var(--space-3); }
.doorcar__track { grid-auto-columns: 200px; }
.doorcar__track .doorcard { scroll-snap-align: start; height: 100%; }
.doorcar__track .doorcard__img img { width: 100%; height: auto; }
.doorchosen { display: flex; gap: var(--space-4); align-items: center; width: 100%; max-width: 560px; margin-top: var(--space-3); padding: var(--space-3); text-align: left; font: inherit; color: var(--color-text); background: var(--color-surface, #fff); border: 2px solid var(--color-primary); border-radius: 10px; cursor: pointer; }
.doorchosen:hover { background: oklch(0.975 0.015 60); }
.doorchosen__img { flex: 0 0 auto; display: grid; place-items: center; width: 140px; padding: var(--space-2) 0; background: #f1ede6; border-radius: 6px; }
.doorchosen__img img { width: 100%; height: auto; }
.doorchosen__txt { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; min-width: 0; }
.doorchosen__name { font-weight: 600; }
.doorchosen__change { margin-top: var(--space-1); font-size: var(--text-sm); font-weight: 600; color: var(--color-primary); text-decoration: underline; }
@media (max-width: 640px) { .doorcar__track { grid-auto-columns: 168px; } .doorchosen__img { width: 104px; } }
/* Styles & Options > Door styles > Made by Beck's */
.mbb { margin-top: var(--space-4); display: flex; flex-direction: column; gap: var(--space-5, 1.5rem); }
.mbb h3, .mbb h4 { margin: 0 0 var(--space-2); }
.h5 { font-size: var(--text-sm); font-weight: 700; }
.mbb p { margin: 0 0 var(--space-2); line-height: 1.55; }
.mbb__hero { display: flex; gap: var(--space-6, 2rem); align-items: flex-start; }
.mbb__copy { flex: 1 1 auto; min-width: 0; max-width: 68ch; }
.mbb__why { margin: var(--space-3) 0 0; padding-left: 1.2em; display: grid; gap: var(--space-2); line-height: 1.5; }
.mbb__photo { flex: 0 0 210px; margin: 0; }
.mbb__photo img { width: 100%; height: auto; background: #f1ede6; border-radius: 8px; }
.mbb__photo figcaption { margin-top: var(--space-2); font-size: var(--text-xs); color: var(--color-text-muted); }
.mbb__steps { margin: 0; padding: 0; list-style: none; counter-reset: st; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr)); gap: var(--space-3); }
.mbb__steps li { counter-increment: st; padding: var(--space-3); background: #f6f2ec; border-radius: 10px; font-size: var(--text-sm); line-height: 1.45; }
.mbb__steps li::before { content: counter(st); display: inline-grid; place-items: center; width: 24px; height: 24px; margin-bottom: var(--space-2); border-radius: 50%; background: var(--color-primary); color: var(--color-text-inverse); font-weight: 700; font-size: var(--text-xs); }
.mbb__steps strong { display: block; }
.mbb__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-4); }
.mbb__box { padding: var(--space-4); border: 1px solid var(--color-border); border-radius: 10px; background: var(--color-surface, #fff); min-width: 0; font-size: var(--text-sm); }
.mbb__spec { margin: 0; padding-left: 1.2em; display: grid; gap: 6px; line-height: 1.5; }
.mbb__profs { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-top: var(--space-3); }
.mbb__prof { margin: 0; flex: 1 1 150px; max-width: 210px; }
.mbb__prof img { width: 100%; height: auto; border: 1px solid var(--color-border); border-radius: 6px; background: #fff; }
.mbb__prof figcaption { font-size: var(--text-xs); margin-top: 4px; }
.mbb__bank { display: flex; gap: var(--space-4); align-items: flex-start; }
.mbb__bank svg { flex: 0 0 auto; }
.mbb__cards-h { margin-top: var(--space-2) !important; }
@media (max-width: 760px) {
  .mbb__grid { grid-template-columns: 1fr; }
  .mbb__hero { flex-direction: column; }
  .mbb__photo { flex-basis: auto; width: 180px; }
}
@media (max-width: 420px) { .mbb__bank { flex-direction: column; } }
/* Configurator: contact step */
.info { max-width: 560px; margin: var(--space-4) auto 0; }
/* Configurator: live price bar, fixed to the bottom of the screen on every design step */
.pricebar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; background: oklch(0.27 0.03 50); color: #fff; box-shadow: 0 -6px 24px oklch(0.2 0.02 60 / 0.25); }
.pricebar__in { display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); padding-top: var(--space-3); padding-bottom: var(--space-3); position: relative; }
.pricebar__main { display: flex; align-items: baseline; flex-wrap: wrap; column-gap: var(--space-3); row-gap: 2px; min-width: 0; }
.pricebar__label { font-size: var(--text-xs); text-transform: uppercase; letter-spacing: .12em; font-weight: 600; color: oklch(0.85 0.05 60); }
.pricebar__range { font-size: clamp(1.4rem, 1.1rem + 1.2vw, 2rem); font-weight: 700; font-variant-numeric: tabular-nums; line-height: 1.1; }
.pricebar__base { font-size: var(--text-xs); color: oklch(0.88 0.02 60); }
.pricebar__more { flex: 0 0 auto; }
.pricebar__more summary { cursor: pointer; font-size: var(--text-sm); font-weight: 600; padding: 8px 14px; border: 1px solid oklch(1 0 0 / .45); border-radius: 8px; list-style: none; }
.pricebar__more summary::-webkit-details-marker { display: none; }
.pricebar__more[open] summary { background: oklch(1 0 0 / .12); }
.pricebar__more > ul, .pricebar__more > p { display: none; }
.pricebar__more[open] > ul { display: grid; position: absolute; right: var(--space-4); bottom: calc(100% + 8px); width: min(420px, calc(100vw - 2rem)); max-height: 60vh; overflow: auto; margin: 0; padding: var(--space-4) var(--space-4) 56px; gap: 6px; list-style: none; background: #fff; color: var(--color-text); border-radius: 10px; box-shadow: 0 10px 30px oklch(0.2 0.02 60 / 0.25); font-size: var(--text-sm); }
.pricebar__more[open] > p { display: block; position: absolute; right: calc(var(--space-4) + 16px); bottom: calc(100% + 16px); width: min(388px, calc(100vw - 2rem - 32px)); margin: 0; font-size: var(--text-xs); color: var(--color-text-muted); }
.pricebar__lines li { display: flex; justify-content: space-between; gap: var(--space-3); border-bottom: 1px solid var(--color-border); padding-bottom: 6px; }
.pricebar__lines li span:last-child { font-variant-numeric: tabular-nums; font-weight: 600; white-space: nowrap; }
.pricebar__lines .pb__flags { display: block; color: var(--color-text-muted); font-size: var(--text-xs); border: 0; }
body:has(.pricebar:not([hidden])) .footer, body:has(.pricebar:not([hidden])) [data-page="design"] { padding-bottom: 96px; }
@media (max-width: 640px) { .pricebar__base { display: none; } .pricebar__more summary { padding: 6px 10px; } }
/* per-item prices */
.cline__price { margin-left: auto; font-size: 12px; font-weight: 600; font-variant-numeric: tabular-nums; color: var(--color-text); white-space: nowrap; }
.cab__price { display: block; margin-top: 2px; font-size: var(--text-sm); font-weight: 600; color: var(--color-primary); }

/* Outdoor (StarBoard) tab */
.sbdoors { display: flex; flex-wrap: wrap; gap: 1.25rem; margin: .75rem 0 1.5rem; }
.sbdoor { margin: 0; width: 150px; text-align: center; font-size: .9rem; }
.sbdoor img { width: 140px; height: auto; display: block; margin: 0 auto .4rem; background: #fff; border-radius: 4px; box-shadow: 0 1px 3px rgba(0,0,0,.12); }
.sbcolors { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: .75rem; margin: .75rem 0 1rem; }
.sbcolor { display: flex; flex-direction: column; gap: .35rem; font-size: .88rem; }
.sbcolor span { display: block; height: 56px; border-radius: 6px; border: 1px solid rgba(0,0,0,.15); }
.cab__ins { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: .5rem 1rem; align-items: end; margin-top: .5rem; }
.cab__ins label { flex: 1 1 260px; }
.cab__ins select { width: 100%; }
.cline__ins { font-weight: 400; color: var(--color-text-muted, #6b6359); }
#optionsBody .sbdoors, #optionsBody .sbcolors { margin-top: .6rem; }
#optionsBody h3.h4 { margin-top: 1.5rem; }
.warranty p { max-width: 70ch; margin-top: .6rem; }
.hwitem a { display: block; border-radius: 8px; overflow: hidden; }
.hwitem a:hover img, .hwitem a:focus-visible img { transform: scale(1.03); }
.hwitem img { transition: transform .2s ease; }
.hwfins { display: flex; flex-wrap: wrap; align-items: center; gap: 3px; margin-top: .3rem; }
.hwfins i { width: 11px; height: 11px; border-radius: 50%; border: 1px solid rgba(0,0,0,.25); display: inline-block; }
.hwfins small { margin-left: 4px; color: var(--color-text-muted, #6b6359); }
.hwroom__fin { display: inline-flex; flex-direction: column; gap: .25rem; margin: .4rem 0; font-size: .9rem; }
.cab__mur { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: .5rem 1rem; }
.adminbar { display: flex; flex-wrap: wrap; gap: .75rem 1.5rem; align-items: center; justify-content: space-between; background: #1f4a72; color: #fff; padding: .7rem 1rem; border-radius: 8px; margin-top: 1rem; }
.adminbar p { margin: 0; }
.adminbar .btn { background: #fff; color: #1f4a72; }
.signed { display: flex; gap: 1rem; align-items: center; justify-content: space-between; flex-wrap: wrap; margin-bottom: 1rem; }
.tag { display: inline-block; background: #1f4a72; color: #fff; padding: .05rem .5rem; border-radius: 99px; font-size: .8rem; }
.admintable { overflow-x: auto; margin-top: .75rem; }
.admintable table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.admintable th, .admintable td { text-align: left; padding: .6rem .6rem; border-bottom: 1px solid rgba(0,0,0,.1); vertical-align: top; }
.admintable th { font-size: .8rem; text-transform: uppercase; letter-spacing: .04em; color: var(--color-text-muted, #6b6359); }
.admintable small { color: var(--color-text-muted, #6b6359); }
.designs:has(.admintable) { max-width: none; }
/* interactive 3D */
.v3d { margin-top: .5rem; }
.v3d__bar { display: flex; flex-wrap: wrap; gap: .4rem; align-items: center; margin-bottom: .5rem; }
.v3d__bar [aria-pressed="true"] { background: var(--color-primary, #7a3d17); color: #fff; border-color: transparent; }
.v3d__hint { font-size: .82rem; color: var(--color-text-muted, #6b6359); margin-left: .4rem; }
.v3d__stage { position: relative; height: clamp(320px, 52vw, 560px); border-radius: 8px; background: linear-gradient(#f7f3ec, #ece4d8); overflow: hidden; touch-action: none; cursor: grab; }
.v3d__stage:active { cursor: grabbing; }
.v3d__stage canvas { display: block; width: 100% !important; height: 100% !important; }
.v3d__load { position: absolute; inset: 0; display: grid; place-items: center; margin: 0; color: var(--color-text-muted, #6b6359); }
/* floor plan */
.plan { margin: .5rem 0 1.25rem; padding: 1rem; border: 1px solid rgba(0,0,0,.1); border-radius: 10px; background: #fbf9f5; }
.plan__head { display: flex; flex-wrap: wrap; gap: .5rem 1rem; align-items: center; justify-content: space-between; }
.plan__tools { display: flex; flex-wrap: wrap; gap: .4rem; align-items: center; }
.plan__redo { position: relative; }
.plan__redo summary { list-style: none; cursor: pointer; }
.plan__redo summary::-webkit-details-marker { display: none; }
.plan__redo[open] .plan__tpls { position: absolute; right: 0; top: calc(100% + 6px); z-index: 5; width: min(640px, 90vw); background: #fff; padding: .75rem; border-radius: 10px; box-shadow: 0 8px 30px rgba(0,0,0,.15); }
.plan__tpls { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: .5rem; margin: .6rem 0; }
.plan__tpl { display: flex; flex-direction: column; align-items: center; gap: .35rem; padding: .6rem .4rem; border: 1px solid rgba(0,0,0,.14); border-radius: 8px; background: #fff; cursor: pointer; font: inherit; font-size: .85rem; color: inherit; }
.plan__tpl:hover, .plan__tpl:focus-visible { border-color: var(--color-primary, #7a3d17); }
.plan__tpl svg { width: 64px; height: 56px; color: #3a332b; }
.plan__stage { margin-top: .6rem; background: #fff; border-radius: 8px; border: 1px solid rgba(0,0,0,.08); }
.plan__svg { display: block; width: 100%; height: clamp(260px, 42vw, 440px); touch-action: none; user-select: none; }
.pl-grid { stroke: #ece6dc; stroke-width: .5; }
.pl-grid--5 { stroke: #ddd3c4; }
.pl-cab { fill: #e7dccb; stroke: #c8b9a2; stroke-width: .6; pointer-events: none; }
.pl-isl { fill: #dccdb6; }
.pl-wall { stroke: #3a332b; stroke-width: 6; stroke-linecap: round; cursor: move; }
.pl-wall--isl { stroke: #8a7a62; stroke-width: 3; stroke-dasharray: 6 4; }
.pl-wall.is-sel { stroke: #1f4a72; }
.pl-pt { fill: #fff; stroke: #3a332b; stroke-width: 2; cursor: grab; }
.pl-pt--joint { fill: #3a332b; }
.pl-lbl { font: 600 9px system-ui, sans-serif; fill: #3a332b; pointer-events: none; paint-order: stroke; stroke: #fff; stroke-width: 3px; }
.pl-lbl.is-sel { fill: #1f4a72; }
.plan__insp { display: flex; flex-wrap: wrap; gap: .6rem 1rem; align-items: end; margin-top: .75rem; }
.plan__insp label { display: flex; flex-direction: column; gap: .2rem; font-size: .88rem; }
.plan__insp label.check { flex-direction: row; align-items: center; }
.plan__insp input[type=number] { width: 5.5rem; }
.plan__insp small { color: var(--color-text-muted, #6b6359); font-size: .75rem; }
.plan__btns { display: flex; flex-wrap: wrap; gap: .4rem; }
.sbcolor { color: inherit; text-decoration: none; }
.sbcolor span { position: relative; overflow: hidden; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' seed='7'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .22 0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E"), linear-gradient(135deg, rgba(255,255,255,.16), rgba(0,0,0,.12)); background-blend-mode: multiply, normal; transition: transform .15s ease; }
.sbcolor:hover span, .sbcolor:focus-visible span { transform: translateY(-2px); box-shadow: 0 4px 10px rgba(0,0,0,.18); }
.sbdoor svg { display: block; margin: 0 auto .4rem; filter: drop-shadow(0 2px 3px rgba(0,0,0,.18)); }
.sbdoor figcaption span { display: block; font-size: .8rem; color: var(--color-text-muted, #6b6359); margin-top: .15rem; }
.sbdoor { width: 170px; }
/* gallery collections */
.gview { display: flex; flex-wrap: wrap; gap: 12px; margin: .5rem 0 1.25rem; }
.gview button { font: inherit; display: flex; align-items: center; gap: 12px; text-align: left; padding: 12px 18px; min-width: 250px; border: 1.5px solid var(--color-border); border-radius: 12px; background: var(--color-surface); color: inherit; cursor: pointer; transition: background .15s, border-color .15s, box-shadow .15s; }
.gview button svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.8; flex: none; }
.gview button span { display: grid; }
.gview button small { color: var(--color-text-muted); font-size: var(--text-xs); }
.gview button:hover { border-color: var(--color-primary); background: var(--color-surface-offset); }
.gview button[aria-pressed="true"] small { color: rgba(255,255,255,.75); }
.gview button[aria-pressed="true"] { background: var(--color-text, #1f1a15); border-color: var(--color-text, #1f1a15); color: #fff; }
.gallery-cols { padding-bottom: 2rem; }
.gallery-cols .h4 { margin-top: 1.5rem; }
.colgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 1.25rem; margin: .75rem 0 1.5rem; }
.colcard { display: flex; flex-direction: column; gap: .3rem; text-align: left; padding: 0; border: 0; background: none; font: inherit; color: inherit; cursor: pointer; }
.colcard__img { position: relative; display: block; aspect-ratio: 3 / 2; overflow: hidden; border-radius: 10px; background: #eee; }
.colcard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.colcard:hover .colcard__img img, .colcard:focus-visible .colcard__img img { transform: scale(1.03); }
.colcard__name { font-weight: 600; font-size: 1.05rem; margin-top: .3rem; }
.colcard__meta { font-size: .85rem; color: var(--color-text-muted, #6b6359); }
.col__badge { display: inline-block; font-size: .72rem; font-weight: 600; letter-spacing: .03em; padding: .2rem .55rem; border-radius: 999px; background: #e9e1d4; color: #4a3a28; }
.col__badge--concept { background: #1f4a72; color: #fff; }
.colcard__img .col__badge { position: absolute; left: .6rem; top: .6rem; }
.col__head { margin: 1rem 0 1.25rem; max-width: 70ch; }
/* From Our Shop scroll story */
.shopstory { position: relative; height: 876vh; }   /* Round 20: +36vh for the longer Cosmo shot */
.shopstory__stick { position: sticky; top: 64px; height: calc(100vh - 64px); display: flex; align-items: center; }
.shopstory__inner { width: 100%; display: grid; grid-template-columns: 210px 1fr; grid-template-rows: 1fr auto; gap: .75rem 1.5rem; align-items: center; }
.shopstory__svg { width: 100%; height: auto; max-height: calc(100vh - 190px); background: #f4efe6; border-radius: 12px; border: 1px solid rgba(0,0,0,.08); }
.shopstory__cap { grid-column: 2; margin: 0; min-height: 3em; font-size: 1.05rem; }
.shopstory__cap strong { margin-right: .35rem; }
.shopstory__dots { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; grid-row: 1 / span 2; }
.shopstory__dots li { display: flex; gap: .5rem; align-items: center; color: var(--color-text-muted, #6b6359); font-size: .92rem; transition: color .2s; }
.shopstory__dots .shopdot { display: flex; gap: .5rem; align-items: center; background: none; border: 0; padding: .15rem .25rem; margin: -.15rem -.25rem; font: inherit; color: inherit; cursor: pointer; border-radius: .4rem; text-align: left; }
.shopstory__dots .shopdot:hover { color: var(--color-text, #1f1a15); background: rgba(122,61,23,.07); }
.shopstory__dots .shopdot:focus-visible { outline: 2px solid var(--color-primary, #7a3d17); outline-offset: 2px; }
.shopstory__dots li span { display: inline-grid; place-items: center; width: 1.6rem; height: 1.6rem; border-radius: 50%; border: 1px solid currentColor; font-size: .8rem; }
.shopstory__dots li.is-on { color: var(--color-text, #1f1a15); font-weight: 600; }
.shopstory__dots li.is-on span { background: var(--color-primary, #7a3d17); border-color: var(--color-primary, #7a3d17); color: #fff; }
@media (max-width: 760px) {
  .shopstory__inner { grid-template-columns: 1fr; }
  .shopstory__dots { display: none; }
  .shopstory__cap { grid-column: 1; }
}
@media (max-width: 400px) { .header__actions { gap: 4px; } .header__actions .btn { padding-inline: 10px; } .menu-btn { width: 40px; } }
@media (max-width: 760px) { .shopstory__inner { padding-inline: 16px; } }

/* Staff tools in My Designs: takeoff import and floor plan queue */
.staffbox { margin-bottom: var(--space-6); }
.staffbox summary { cursor: pointer; padding: var(--space-1) 0; }
.staffbox form { margin-top: var(--space-4); }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4); }
@media (max-width: 640px) { .grid2 { grid-template-columns: 1fr; } }
.filebtn { cursor: pointer; }
.design-card.is-new { border-color: var(--color-primary); box-shadow: 0 0 0 2px oklch(from var(--color-primary) l c h / 0.15); }
.tag--new { display: inline-block; margin-bottom: var(--space-2); background: var(--color-primary); color: var(--color-text-inverse, #fff); }
.design-card--plan { border-style: dashed; }

/* Where we work: 3D topographic map */
.txmap__art.is-3d { border-radius: 14px; background: #0d0b09; box-shadow: 0 0 0 1px oklch(0.4 0.03 60 / .5), 0 30px 80px -30px oklch(0.7 0.14 55 / .35); }
.tx3d { position: relative; width: 100%; aspect-ratio: 4 / 3.3; min-height: 340px; cursor: grab; touch-action: pan-y; }
.tx3d:active { cursor: grabbing; }
.tx3d canvas { width: 100% !important; height: 100% !important; display: block; border-radius: 14px; }
.tx3d__labels { position: absolute; inset: 0; pointer-events: none; overflow: hidden; border-radius: 14px; }
.tx3d__lbl { position: absolute; left: 0; top: 0; white-space: nowrap; font: 600 12px/1 var(--font-body, sans-serif); letter-spacing: .02em; color: #f3e6d2; text-shadow: 0 1px 6px #000, 0 0 2px #000; margin: -22px 0 0 0; translate: -50% 0; transition: opacity .3s; }
.tx3d__lbl--core { color: #ffd59a; font-size: 13px; }
a.tx3d__lbl--shop { pointer-events: auto; text-decoration: none; cursor: pointer; }
a.tx3d__lbl--shop:hover, a.tx3d__lbl--shop:focus-visible { background: oklch(0.55 0.15 50); outline: 2px solid #fff; outline-offset: 2px; }
.txmap__shop { font-size: .95rem; color: oklch(0.85 0.02 70); }
.txmap__shop a { color: #ffd59a; text-underline-offset: 3px; }
.tx3d__lbl--shop { color: #fff; font: 700 13px/1 var(--font-body, sans-serif); background: oklch(0.62 0.14 55 / .9); padding: 5px 9px; border-radius: 999px; text-shadow: none; margin-top: -34px; }
.tx3d__lbl--city { font-size: 13px; color: #fff3df; background: oklch(0.2 0.02 60 / .65); padding: 4px 8px; border-radius: 6px; border: 1px solid oklch(0.75 0.12 70 / .5); }
.tx3d__lbl--ring { color: #ffbf73; font-weight: 600; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; }
.tx3d__hint { position: absolute; right: 12px; bottom: 10px; margin: 0; font-size: 12px; color: oklch(0.8 0.02 70 / .8); background: oklch(0.15 0.01 60 / .7); padding: 4px 10px; border-radius: 999px; transition: opacity .5s; pointer-events: none; }
.tx3d__hint.is-gone { opacity: 0; }
@media (max-width: 820px) { .tx3d { aspect-ratio: 1 / 1; } }

/* Our Shop: 3D wireframe */
.shopstory__3d { grid-column: 2; grid-row: 1; width: 100%; height: min(calc(100vh - 190px), 56vw); border-radius: 12px; overflow: hidden; background: #15120f; }
.shopstory__3d canvas { width: 100% !important; height: 100% !important; display: block; }
@media (max-width: 760px) { .shopstory__3d { grid-column: 1; } }
@media (max-width: 760px) { .shopstory__3d { height: min(calc(100vh - 250px), 125vw); } }
.shopstory__svg[hidden] { display: none !important; }

.wall-add__title { grid-column: 1 / -1; margin: 0; font-weight: 600; }

/* ===== 2026-10-25: accounts, stepper buttons, inline item options, samples, careers ===== */
@media (min-width: 1241px) { .nav__menuonly { display: none !important; } }
.stepper__btn { all: unset; display: flex; align-items: center; gap: inherit; width: 100%; cursor: pointer; border-radius: var(--radius-sm); }
.stepper__btn:focus-visible { outline: 2px solid var(--color-primary); outline-offset: 3px; }
.stepper__btn:disabled { cursor: not-allowed; opacity: .55; }
.stepper li.is-done .stepper__btn:hover, .stepper li:not(.is-current) .stepper__btn:not(:disabled):hover { color: var(--color-primary); }
.linkbtn { all: unset; color: var(--color-primary); text-decoration: underline; cursor: pointer; font-weight: 600; }
.linkbtn:focus-visible { outline: 2px solid var(--color-primary); }
.acct-line { margin: 0; padding: var(--space-3) var(--space-4); background: oklch(0.97 0.015 70); border: 1px solid var(--color-border); border-radius: var(--radius-md); font-size: var(--text-sm); }
.acct-line[hidden] { display: none; }
.check { display: flex; gap: var(--space-2); align-items: flex-start; font-size: var(--text-sm); }
.check input { width: 18px !important; height: 18px; min-height: 0; padding: 0; flex: none; margin-top: 2px; accent-color: var(--color-primary); }
.span2 { grid-column: 1 / -1; }
.proj-q { margin-bottom: var(--space-4); }
.cab__extra { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-4); align-items: end; }
.cab__extra label:not(.check) { display: grid; gap: 4px; font-size: var(--text-sm); }
.cline-open { border: 1px solid #c0651f; border-radius: var(--radius-md); background: oklch(0.975 0.015 60); }
.cline-open > .cline { border: 0; border-bottom: 1px solid oklch(0.88 0.04 60); border-radius: var(--radius-md) var(--radius-md) 0 0; }
.insp--inline { padding: var(--space-2) var(--space-3) var(--space-3); }
.insp--inline .cab { border: 0 !important; box-shadow: none !important; padding: 0 !important; background: transparent !important; }
.insp--inline .cab__n, .insp--inline .cab__title, .insp--inline .cab__acts { display: none; }
dialog.ask { max-width: 420px; }
.ask__in { padding: var(--space-6); display: grid; gap: var(--space-5); }
.ask__msg { margin: 0; font-size: var(--text-base); font-weight: 600; }
.ask__btns { display: flex; gap: var(--space-3); justify-content: flex-end; }
/* samples */
.samples { display: grid; grid-template-columns: 1.5fr 1fr; gap: var(--space-8); align-items: start; padding-bottom: var(--space-16); }
@media (max-width: 900px) { .samples { grid-template-columns: 1fr; } }
.sample-lines { display: grid; gap: var(--space-3); }
.sample-line { display: grid; grid-template-columns: repeat(auto-fit, minmax(96px, 1fr)); gap: var(--space-3); align-items: end; padding: var(--space-3); border: 1px solid var(--color-border); border-radius: var(--radius-md); }
.sample-line label { font-size: var(--text-xs); }
.sample-line .icon-x { align-self: end; justify-self: start; width: 40px; height: 40px; border: 1px solid var(--color-border); border-radius: var(--radius-sm); background: transparent; font-size: 20px; cursor: pointer; }
@media (max-width: 700px) { .sample-line { grid-template-columns: 1fr 1fr; } }
.seg-choice { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-3); }
@media (max-width: 520px) { .seg-choice { grid-template-columns: 1fr; } }
.seg-opt { display: flex; gap: var(--space-3); padding: var(--space-4); border: 1px solid var(--color-border); border-radius: var(--radius-md); cursor: pointer; }
.seg-opt:has(input:checked) { border-color: var(--color-primary); box-shadow: 0 0 0 1px var(--color-primary); background: oklch(0.975 0.015 60); }
.seg-opt input { width: 18px !important; height: 18px; min-height: 0; padding: 0; flex: none; margin-top: 3px; accent-color: var(--color-primary); }
.seg-opt span { display: grid; gap: 2px; } .seg-opt small { color: var(--color-text-muted); }
.sample-total { padding: var(--space-4); border-radius: var(--radius-md); background: oklch(0.96 0.02 70); font-size: var(--text-sm); }
.sample-total strong { font-size: var(--text-base); }
.samples__aside .ticks li { margin-bottom: var(--space-2); }
.ticks { padding-left: 1.1em; }
/* careers */
.careers-hero { background: linear-gradient(180deg, oklch(0.24 0.03 50 / .78), oklch(0.2 0.03 50 / .92)), url('./assets/photos/kitchen-blue-l-shape-1600.webp') center / cover, oklch(0.25 0.03 50); color: var(--color-text-inverse); }
.careers-hero__in { padding-block: clamp(var(--space-16), 10vw, var(--space-24)); max-width: 820px; margin-inline: auto; }
.careers-hero .h1 { color: inherit; }
.careers-hero .eyebrow { color: oklch(0.85 0.06 70); }
.careers-hero .lede { font-size: var(--text-lg); color: oklch(0.93 0.01 80); max-width: 60ch; }
.why-grid, .offer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-4); margin-top: var(--space-6); }
@media (max-width: 900px) { .why-grid, .offer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .why-grid, .offer-grid { grid-template-columns: 1fr; } }
.why, .offer, .role { padding: var(--space-5); border: 1px solid var(--color-border); border-radius: var(--radius-md); background: var(--color-surface, #fbf8f3); }
.why h3, .offer h3, .role h3 { font-size: var(--text-base); margin: 0 0 var(--space-2); }
.why p, .offer p, .role p { margin: 0; font-size: var(--text-sm); color: var(--color-text-muted); }
.roles { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: var(--space-4); margin-top: var(--space-6); }
.principles { display: grid; gap: var(--space-3); padding-left: 1.2em; }
.principles li { line-height: 1.5; }
.ticks--light li { color: oklch(0.92 0.01 80); margin-bottom: var(--space-2); }
.draft-note { display: inline-block; margin: var(--space-2) 0 var(--space-4); padding: var(--space-1) var(--space-3); border: 1px dashed #c0651f; border-radius: var(--radius-sm); font-size: var(--text-xs); color: #8a4310; background: oklch(0.97 0.03 70); }
.band--dark .draft-note { background: oklch(0.32 0.04 50); color: oklch(0.9 0.06 70); }
.fill { color: #8a4310; font-weight: 600; }
.txmap__art.is-pending { background: radial-gradient(ellipse at 55% 60%, oklch(0.28 0.03 55), #0d0b09 70%); border-radius: 14px; min-height: 320px; }
.txmap__art.is-pending > svg { visibility: hidden; }
/* Our Shop film (documentary look, 720p canvas scaled to fit) */
.shopstory__3d { position: relative; aspect-ratio: 16 / 9; height: auto !important; max-height: calc(100vh - 190px); background: #120e0b; }
@media (max-width: 760px) { .shopstory__3d { aspect-ratio: 4 / 5; max-height: calc(100vh - 250px); } }
.shopstory__3d canvas { image-rendering: auto; }
.film__fx { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(ellipse at 50% 45%, transparent 55%, rgba(0,0,0,.55) 100%); }
.film__fx::after { content: ''; position: absolute; inset: -50%; opacity: .09; mix-blend-mode: overlay; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); animation: filmgrain .5s steps(4) infinite; }
@keyframes filmgrain { 0% { transform: translate(0, 0); } 25% { transform: translate(-6%, 4%); } 50% { transform: translate(5%, -3%); } 75% { transform: translate(-3%, -6%); } 100% { transform: translate(0, 0); } }
@media (prefers-reduced-motion: reduce) { .film__fx::after { animation: none; } }
.film__lower { position: absolute; left: 4%; bottom: 7%; max-width: min(560px, 80%); display: grid; gap: 2px; padding: 10px 16px 12px 14px; background: linear-gradient(90deg, rgba(14,10,8,.88), rgba(14,10,8,.62)); border-left: 4px solid #e9a23b; color: #f6efe4; opacity: 0; transform: translateX(-14px); transition: opacity .45s, transform .45s; pointer-events: none; }
.film__lower.is-in { opacity: 1; transform: none; }
.film__n { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: #e9a23b; font-weight: 700; }
.film__h { font-size: clamp(15px, 1.6vw, 20px); letter-spacing: .01em; }
.film__t { font-size: clamp(12px, 1.15vw, 14.5px); line-height: 1.4; color: #e3d8c8; }
.film__title { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; gap: 6px; color: #f6efe4; background: radial-gradient(ellipse, rgba(12,9,7,.35), rgba(12,9,7,.7)); opacity: 0; transition: opacity .6s; pointer-events: none; }
.film__title.is-in { opacity: 1; }
.film__title small { font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: #e9a23b; font-weight: 700; }
.film__title strong { font-family: var(--font-display, Georgia, serif); font-size: clamp(26px, 4vw, 48px); font-weight: 500; }
@media (max-width: 760px) { .film__lower { left: 3%; right: 3%; max-width: none; bottom: 4%; } }
.shopstory__cap.is-film { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.stepper { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.stepper li { min-width: 0; }
.stepper__btn { min-width: 0; overflow-wrap: anywhere; }
@media (max-width: 760px) { .stepper__btn { flex-direction: column; align-items: flex-start; gap: 4px; } }

/* ---------- Store, cart and checkout ---------- */
.store { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: var(--space-6, 1.5rem); align-items: start; padding-bottom: var(--space-12, 3rem); }
.store__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1rem; }
.prod { display: flex; flex-direction: column; background: var(--color-surface, #fff); border: 1px solid var(--color-border, #e4dccf); border-radius: 14px; overflow: hidden; }
.prod__art { background: linear-gradient(180deg, #f4efe7, #ebe3d6); display: grid; place-items: center; aspect-ratio: 3 / 2; }
.prod__svg { width: 78%; height: auto; }
.prod__body { display: flex; flex-direction: column; gap: .5rem; padding: 1rem 1.1rem 1.2rem; flex: 1; }
.prod__blurb { min-height: 4.2em; margin: 0; }
.prod__opts { flex: 1; align-content: start; }
.prod__buy { display: flex; align-items: end; justify-content: space-between; gap: .75rem; margin-top: auto; padding-top: .6rem; border-top: 1px solid var(--color-border, #e4dccf); }
.prod__buy .prod__qty { display: grid; gap: .2rem; font-size: .85rem; font-weight: 600; }
.prod__buy .prod__qty input { width: 4.5rem; }
.prod__buy .btn { margin-left: auto; }
.prod > .prod__art { flex: none; }
.prod__body .h4 { margin: 0; }
.prod__size { font-weight: 400; color: var(--color-text-muted, #6b6359); font-size: .9em; white-space: nowrap; }
.prod__price { margin: 0; font-weight: 700; font-size: 1.1rem; color: var(--color-primary, #7a3d17); }
.prod__price small { font-weight: 500; color: var(--color-text-muted, #6b6359); font-size: .78rem; }
.prod__opts { display: grid; grid-template-columns: 1fr; gap: .5rem .6rem; }
.prod__opts label { display: grid; gap: .2rem; font-size: .85rem; font-weight: 600; min-width: 0; }
.prod__opts select, .prod__opts input { width: 100%; min-width: 0; }
.prod__opts .span2, .prod__opts label:has(select[data-o="finish"]), .prod__opts label:has(select[data-o="style"]) { grid-column: 1 / -1; }
.prod__qty { max-width: 6rem; }
.prod--link .btn { justify-self: start; }
.store__info { position: sticky; top: calc(var(--header-h, 64px) + 1rem); }
.cart-btn { position: relative; }
.cart-btn__n { position: absolute; top: 0; right: -2px; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 9px; background: var(--color-primary, #7a3d17); color: #fff; font-size: 11px; font-weight: 700; display: grid; place-items: center; line-height: 1; }
.cart-drawer { margin: 0 0 0 auto; height: 100dvh; max-height: 100dvh; width: min(420px, 100vw); max-width: 100vw; padding: 0; border: 0; background: var(--color-bg, #faf7f2); box-shadow: -10px 0 40px rgba(0,0,0,.2); }
.cart-drawer::backdrop { background: rgba(20,14,8,.45); }
.cart-drawer__in { padding: 1.2rem 1.2rem 2rem; display: grid; gap: .8rem; }
.cart-drawer__head { display: flex; justify-content: space-between; align-items: center; }
.cart-drawer__head .h3 { margin: 0; }
#cartBody { display: grid; gap: .7rem; }
.cart-note { margin: 0; padding: .55rem .8rem; background: #eef6ea; border: 1px solid #c9e0bf; border-radius: 10px; color: #2f5a22; font-weight: 600; font-size: .92rem; }
.cart-line { display: grid; grid-template-columns: minmax(0, 1fr) auto auto auto; gap: .6rem; align-items: center; padding: .6rem 0; border-bottom: 1px solid var(--color-border, #e4dccf); font-size: .92rem; }
.cart-line small { color: var(--color-text-muted, #6b6359); }
.cart-line__q input { width: 3.6rem; }
.cart-line__p { font-weight: 700; white-space: nowrap; }
.cart-sum { display: flex; justify-content: space-between; gap: 1rem; padding: .3rem 0; font-size: .95rem; }
.cart-sum--total { border-top: 2px solid var(--color-text, #1f1a15); margin-top: .3rem; padding-top: .6rem; font-size: 1.08rem; }
.checkout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: var(--space-6, 1.5rem); align-items: start; padding-bottom: var(--space-12, 3rem); }
.order-sum { position: sticky; top: calc(var(--header-h, 64px) + 1rem); display: grid; gap: .2rem; }
.order-sum .h3 { margin: 0 0 .4rem; }
.pay-box { border: 1px dashed var(--color-border, #cfc4b3); border-radius: 12px; padding: .9rem 1rem; background: repeating-linear-gradient(135deg, transparent 0 10px, rgba(122,61,23,.03) 10px 20px); }
.pay-box__row { display: flex; gap: .8rem; align-items: center; }
.pay-box__lbl { font-weight: 700; }
.pay-box__fake { flex: 1; padding: .55rem .7rem; border: 1px solid var(--color-border, #e4dccf); border-radius: 8px; color: #a39887; background: #fff; }
.order-done { max-width: 640px; margin: 0 auto 3rem; display: grid; gap: .6rem; }
.orders { display: grid; gap: .8rem; margin-top: 1.5rem; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (max-width: 900px) {
  .store, .checkout { grid-template-columns: 1fr; }
  .store__info, .order-sum { position: static; }
  .order-sum { order: -1; }
}

/* ---------- Report an issue or idea (above the footer on every page) ---------- */
.report-band { background: #efe8dc; border-top: 1px solid var(--color-border, #e4dccf); }
.report-band__in { display: flex; gap: 1.2rem; align-items: center; justify-content: space-between; padding-block: 1.1rem; flex-wrap: wrap; }
.report-band__in .h4 { margin: 0 0 .15rem; }
.report-band__in p { margin: 0; color: var(--color-text-muted, #6b6359); font-size: .95rem; max-width: 60ch; }
.report-dlg { width: min(560px, calc(100vw - 2rem)); }
.report-dlg form { padding: 0; }
.report-kinds { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .4rem; }
.report-kinds legend { font-weight: 600; margin-bottom: .4rem; }
.seg-mini { position: relative; }
.seg-mini input { position: absolute; opacity: 0; }
.seg-mini span { display: inline-block; padding: .4rem .75rem; border: 1px solid var(--color-border, #cfc4b3); border-radius: 999px; font-size: .9rem; cursor: pointer; background: #fff; }
.seg-mini input:checked + span { background: var(--color-primary, #7a3d17); border-color: var(--color-primary, #7a3d17); color: #fff; }
.seg-mini input:focus-visible + span { outline: 2px solid var(--color-primary, #7a3d17); outline-offset: 2px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Careers build-out ---------- */
.facts { list-style: none; padding: 0; margin: 1.2rem 0 1.4rem; display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: .6rem; }
.facts li { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); border-radius: 12px; padding: .7rem .9rem; display: grid; gap: .1rem; }
.facts strong { color: #fff; font-size: 1.02rem; }
.facts span { color: rgba(255,255,255,.78); font-size: .88rem; }
.ladder { list-style: none; padding: 0; margin: 1rem 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: .8rem; counter-reset: none; }
.ladder li { display: flex; gap: .8rem; align-items: flex-start; background: var(--color-surface, #fff); border: 1px solid var(--color-border, #e4dccf); border-radius: 14px; padding: 1rem; }
.ladder h3 { margin: 0 0 .2rem; font-size: 1.05rem; }
.ladder p { margin: 0; color: var(--color-text-muted, #6b6359); font-size: .93rem; }
.ladder__n { flex: none; width: 2rem; height: 2rem; border-radius: 50%; display: grid; place-items: center; background: var(--color-primary, #7a3d17); color: #fff; font-weight: 700; }
.roles--2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.role__meta { color: var(--color-primary, #7a3d17); font-weight: 600; font-size: .9rem; margin: 0 0 .4rem; }
.role .btn { margin-top: .6rem; }
.hire-steps { list-style: none; padding: 0; margin: 1rem 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: .8rem; }
.hire-steps li { border-top: 3px solid var(--color-primary, #7a3d17); padding-top: .7rem; }
.hire-steps h3 { margin: 0 0 .25rem; font-size: 1.05rem; }
.hire-steps p { margin: 0; color: var(--color-text-muted, #6b6359); }
.faq { display: grid; gap: .5rem; max-width: 760px; }
.faq details { background: var(--color-surface, #fff); border: 1px solid var(--color-border, #e4dccf); border-radius: 12px; padding: .8rem 1rem; }
.faq summary { font-weight: 600; cursor: pointer; }
.faq p { margin: .5rem 0 0; color: var(--color-text-muted, #6b6359); }
/* phones: short booking label so the cart, search and menu buttons fit */
@media (max-width: 480px) { .cta-long { display: none; } .cta-short { display: inline; } .header__actions .icon-btn { width: 40px; } }

/* Door builder */
.bld { display: grid; grid-template-columns: minmax(260px, 450px) 1fr; gap: clamp(1rem, 3vw, 2.5rem); align-items: start; }
.bld__view { position: sticky; top: 5.5rem; display: grid; gap: .6rem; justify-items: center; text-align: center; }
/* Round 18: the main door and drawer front next to the glass door */
.bld__pair { display: grid; grid-template-columns: 250fr 160fr; gap: .9rem; align-items: end; width: 100%; }
.bld__pair figure { margin: 0; width: 100%; }
.bld__pair figcaption { font-size: .8rem; color: var(--color-text-muted); margin-top: .35rem; }
.bld__door { width: min(100%, 300px); aspect-ratio: 287 / 384; box-shadow: 0 10px 30px rgba(40, 25, 10, .18); }
.bld__door img { display: block; width: 100%; height: 100%; mix-blend-mode: multiply; }
.bld__door--svg { display: grid; place-items: center; background: #fff; box-shadow: none; aspect-ratio: auto; }
.bld__door--svg svg { width: 100%; height: auto; max-height: 460px; }
.bld__cap { margin: 0; }
.bld__opts { display: grid; gap: .7rem; min-width: 0; }
.bld__opts .h4 { margin: .6rem 0 0; }
.bld__styles { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: .5rem; }
.bld__style { display: grid; gap: .3rem; justify-items: center; padding: .5rem .35rem; border: 1px solid var(--color-border, #e4dccf); border-radius: 10px; background: var(--color-surface, #fff); font: inherit; font-size: .78rem; line-height: 1.2; cursor: pointer; text-align: center; }
.bld__style[aria-pressed="true"] { border-color: var(--color-primary, #7a3d17); box-shadow: 0 0 0 2px var(--color-primary, #7a3d17); }
.bld__src { font-size: .66rem; color: var(--color-text-muted, #7a6f63); }
.bld__thumb { height: 80px; display: grid; place-items: center; }
.bld__thumb img, .bld__thumb svg { height: 80px; width: auto; }
.bld__swatches { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: .4rem; }
.bld__sw { display: flex; align-items: center; gap: .5rem; padding: .35rem .5rem; border: 1px solid var(--color-border, #e4dccf); border-radius: 8px; background: var(--color-surface, #fff); font: inherit; font-size: .8rem; text-align: left; cursor: pointer; }
.bld__sw span { flex: none; width: 26px; height: 26px; border-radius: 50%; border: 1px solid rgba(0, 0, 0, .15); }
.bld__sw--any { background: conic-gradient(#c94f3d, #e3b341, #6a9a5b, #3f6f9f, #7d5a9e, #c94f3d); }
.bld__sw[aria-pressed="true"] { border-color: var(--color-primary, #7a3d17); box-shadow: 0 0 0 2px var(--color-primary, #7a3d17); }
.bld__swin { display: grid; gap: .25rem; font-weight: 600; font-size: .85rem; max-width: 26rem; }
.bld__buy { display: grid; gap: .6rem; margin-top: .6rem; padding-top: 1rem; border-top: 1px solid var(--color-border, #e4dccf); }
.bld__sample { border: 0; padding: 0; margin: 0; display: grid; gap: .3rem; font-size: .9rem; }
.bld__sample legend { font-weight: 600; margin-bottom: .2rem; }
.bld__btns { display: flex; flex-wrap: wrap; gap: .6rem; }
@media (max-width: 760px) { .bld { grid-template-columns: 1fr; } .bld__view { position: static; } .bld__door { width: min(70%, 240px); } }

/* Gallery: customer photo submission */
.sendphotos { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.2rem, 4vw, 3rem); margin-block: clamp(2rem, 5vw, 3.5rem); padding: clamp(1.25rem, 3.5vw, 2.5rem); border: 1px solid var(--color-border, #e4dccf); border-radius: 18px; background: var(--color-surface, #fff); box-shadow: 0 18px 40px -28px rgba(60, 35, 10, .35); }
.sendphotos__intro .h3 { margin: .2rem 0 .6rem; }
.sendphotos__intro .linkbtn { font-size: .92rem; margin-top: .2rem; }
.sendphotos__tips[hidden] { display: none; }
.sendphotos__fine { margin: 0; font-size: .8rem; }
.sendphotos__form label[hidden] { display: none !important; }
.sendphotos__intro > p { max-width: 38rem; }
.sendphotos__tips { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: .8rem; }
.sendphotos__tips .h4 { margin: 0 0 .3rem; }
.sendphotos__tips li { font-size: .92rem; }
.sendphotos__form { display: grid; gap: .7rem; align-content: start; }
.sendphotos__form > label:not(.check), .sendphotos__form .field-row label { display: grid; gap: .25rem; font-weight: 600; font-size: .9rem; }
.sendphotos__form .field-row { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; }
.sendphotos__form input:not([type="checkbox"]), .sendphotos__form textarea { width: 100%; }
@media (max-width: 860px) { .sendphotos { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .sendphotos__tips, .sendphotos__form .field-row { grid-template-columns: 1fr; } }

/* StarBoard: doors are buttons; colors recolor them; a door opens big with every color */
button.sbdoor { border: 0; background: none; padding: 0; font: inherit; color: inherit; cursor: zoom-in; display: grid; justify-items: center; gap: .4rem; }
.sbdoor__cap { display: grid; gap: .15rem; }
button.sbdoor:hover svg, button.sbdoor:focus-visible svg { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(0,0,0,.2); }
button.sbdoor svg { transition: transform .15s ease; border-radius: 3px; }
button.sbcolor { border: 0; background: none; padding: 0; font: inherit; text-align: left; cursor: pointer; }
button.sbcolor[aria-pressed="true"] span { outline: 3px solid var(--color-primary, #7a3d17); outline-offset: 2px; }
.sbcolor__now { font-weight: 400; color: var(--color-text-muted, #6b6359); font-size: .9em; margin-left: .4rem; }
.sbdlg { max-width: min(920px, 94vw); width: 100%; border: 0; border-radius: 16px; padding: clamp(1rem, 3vw, 1.8rem); }
.sbdlg::backdrop { background: rgba(20, 14, 8, .6); }
.sbdlg__x { position: absolute; top: .6rem; right: .6rem; }
.sbdlg__body { display: grid; grid-template-columns: auto 1fr; gap: 1.5rem; align-items: start; }
.sbdlg__door svg { width: min(360px, 60vw); height: auto; display: block; }
.sbcolors--dlg { grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); }
.sbcolors--dlg .sbcolor span { height: 40px; }
@media (max-width: 700px) { .sbdlg__body { grid-template-columns: 1fr; justify-items: center; } .sbdlg__door svg { width: min(260px, 70vw); } }

/* Hardware collection detail */
.hwitem__open { border: 0; padding: 0; background: none; cursor: zoom-in; display: block; width: 100%; }
.hwitem__open img { width: 100%; height: auto; display: block; }
.hwdlg { max-width: min(1040px, 95vw); width: 100%; border: 0; border-radius: 16px; padding: clamp(1rem, 3vw, 1.8rem); }
.hwdlg::backdrop { background: rgba(20, 14, 8, .6); }
.hwdlg .chips { margin: .6rem 0 1rem; }
.hwd__chipdot { display: inline-block; width: 12px; height: 12px; border-radius: 50%; margin-right: .35rem; vertical-align: -1px; border: 1px solid rgba(0,0,0,.2); }
.hwd__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 1rem; }
.hwd__item { margin: 0; display: grid; gap: .4rem; align-content: start; }
.hwd__item img { width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; background: #fff; border: 1px solid var(--color-border, #e4dccf); border-radius: 10px; }
.hwd__item figcaption { display: grid; gap: .3rem; font-size: .86rem; }
.hwd__fin, .hwd__sizes { color: var(--color-text-muted, #6b6359); font-size: .8rem; }
.hwd__dots { display: flex; flex-wrap: wrap; gap: .35rem; }
.hwd__dots button { width: 24px; height: 24px; border-radius: 50%; border: 1px solid rgba(0,0,0,.25); padding: 0; cursor: pointer; }
.hwd__dots button[aria-pressed="true"] { outline: 2px solid var(--color-primary, #7a3d17); outline-offset: 2px; }
.sbdlg, .hwdlg { margin: auto; max-height: 92vh; overflow: auto; position: fixed; inset: 0; }
@media (max-width: 700px) { .sbdlg__body > div { width: 100%; } .sbcolors--dlg { grid-template-columns: repeat(3, 1fr); } .hwd__grid { grid-template-columns: repeat(2, 1fr); gap: .6rem; } .bld__door--svg svg { max-height: 300px; } }

/* About page section links (About, Our shop, Reviews are one page) */
[data-page="shop"] .page-head, [data-page="reviews"] .page-head { border-top: 1px solid var(--color-border); margin-top: var(--space-8, 2rem); }

/* TEMPORARY photo numbers (Brad sorts photos by number) */
#galleryGrid figure, .masonry figure { position: relative; }
.pnum { position: absolute; top: 8px; left: 8px; z-index: 2; min-width: 30px; padding: 3px 8px; border-radius: 999px; background: rgba(20,14,8,.82); color: #fff; font: 700 14px/1.2 system-ui, sans-serif; text-align: center; }
.beta-note { margin: 0 0 1rem; padding: .7rem 1rem; border-radius: 10px; background: #fff4d6; border: 1px solid #e9c46a; color: #5a4300; font-size: var(--text-sm); }
.pricebar__beta { display: inline-block; margin-left: .4rem; padding: 1px 7px; border-radius: 999px; background: #e9c46a; color: #3b2c00; font-size: 10px; letter-spacing: .04em; vertical-align: 1px; }
/* Interior / Exterior choice and the room settings on the Walls step */
.matpick { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .35rem 1.2rem; align-items: center; }
.matpick legend { font-size: .82rem; font-weight: 600; color: var(--muted, #6b6259); margin-bottom: .25rem; width: 100%; }
.matpick .check small { color: var(--muted, #6b6259); font-weight: 400; }
.roomset { margin: .4rem 0 .8rem; border: 1px solid var(--line, #e2d9cc); border-radius: 10px; background: var(--surface, #fff); }
.roomset > summary { cursor: pointer; padding: .55rem .8rem; font-size: .9rem; font-weight: 600; }
.roomset__in { display: grid; gap: .7rem; padding: .2rem .8rem .8rem; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); align-items: end; }
.pricebar__lock { flex: 1; }
.pricebar__lock p { margin: 0 0 .35rem; font-size: .9rem; }
.pricebar__lockrow { display: flex; gap: .5rem; flex-wrap: wrap; }
.pricebar__lockrow input { flex: 1 1 200px; min-width: 0; }
.pricebar__lock .form-error:empty { display: none; }
/* Condensed navigation (2026-10-25): lead actions first */
.nav__free { color: var(--color-primary) !important; font-weight: 600; }
.nav__free::after { content: 'Free'; font-size: 10px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; margin-left: 6px; padding: 1px 6px; border-radius: 99px; background: var(--color-primary); color: #fff; vertical-align: 1px; }
.header__call { display: inline-flex; align-items: center; gap: 6px; font-size: var(--text-sm); font-weight: 600; color: var(--color-text); text-decoration: none; padding: 8px 10px; border-radius: var(--radius-sm); white-space: nowrap; }
.header__call:hover { background: var(--color-surface-offset); }
.nav__lead { display: grid; gap: 10px; padding: var(--space-2) 0 var(--space-3); border-bottom: 1px solid var(--color-border); margin-bottom: var(--space-2); }
.nav .nav__lead .btn { padding: 14px 16px; font-size: var(--text-base); justify-content: center; text-align: center; }
.nav .nav__lead .btn--ghost { color: var(--color-text); }
.nav__label { margin: 6px 0 0; font-size: var(--text-xs); text-transform: uppercase; letter-spacing: .08em; color: var(--color-text-muted); }
@media (max-width: 1240px) { .nav__deskonly { display: none !important; } .header__call span { display: none; } .header__call { width: 44px; height: 44px; justify-content: center; padding: 0; } }
@media (min-width: 1241px) and (max-width: 1440px) { .header__call span { display: none; } }
/* Proof strip + home reviews (2026-10-25) */
.proof { background: var(--color-surface-offset, #f1ebe2); border-bottom: 1px solid var(--color-border); }
.proof__in { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 40px; padding-block: 18px; }
.proof__item { display: flex; align-items: baseline; gap: 8px; }
.proof__item strong { font-family: var(--font-display, Georgia, serif); font-size: 1.75rem; line-height: 1; color: var(--color-primary); }
.proof__item span { font-size: var(--text-sm); color: var(--color-text-muted); }
.proof__map { font-size: var(--text-sm); font-weight: 600; color: var(--color-primary); }
.homerev__links { display: flex; gap: 20px; flex-wrap: wrap; }
.homerev__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px; }
.homerev__card { margin: 0; padding: 22px 22px 18px; border: 1px solid var(--color-border); border-radius: 12px; background: var(--color-surface, #fff); display: flex; flex-direction: column; gap: 14px; }
.homerev__card blockquote { margin: 0; font-size: 1rem; line-height: 1.55; color: var(--color-text); }
.homerev__card figcaption { margin-top: auto; font-weight: 600; font-size: var(--text-sm); }
.homerev__card figcaption span { font-weight: 400; color: var(--color-text-muted); }
@media (max-width: 640px) { .proof__in { justify-content: flex-start; gap: 10px 22px; } .proof__item strong { font-size: 1.4rem; } }
.proof__item { text-decoration: none; }
@media (min-width: 900px) { #pbLock { display: flex; align-items: center; gap: 18px; } #pbLock > p:first-child { margin: 0; flex: 1; } .pricebar__lockrow { flex: 0 1 460px; } }
.pw-wrap { position: relative; display: block; }
.pw-wrap input { width: 100%; padding-right: 64px; }
.pw-toggle { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); border: 0; background: transparent; color: var(--color-primary); font-weight: 600; font-size: var(--text-sm); padding: 6px 8px; cursor: pointer; }
/* option cost lines on Wood & finish */
.upcost { display: block; margin-top: 4px; font-size: var(--text-xs); font-weight: 600; color: var(--color-primary); }
.upcost--block { flex-basis: 100%; margin-left: 28px; }
.woodcard__cost { display: block; font-size: 11px; font-weight: 600; color: var(--color-primary); margin-top: 2px; }
.check:has(.upcost--block) { flex-wrap: wrap; }
/* inline Mozaik door drawings (2026-10-25) */
.mzsvg { display: block; max-width: 100%; height: auto; }
.bld__door--mz .mzsvg { width: 100%; height: 100%; }
.bld__thumb .mzsvg { height: 80px; width: auto; }
/* door photos recolored to the job's wood and finish (2026-10-25) */
.dtint { position: relative; display: block; width: 100%; isolation: isolate; }
.dtint__c { position: absolute; inset: 0; }
.dtint__img { position: relative; display: block; width: 100%; height: auto; aspect-ratio: 2/3; object-fit: contain; filter: grayscale(1) contrast(1.1) brightness(1.22); mix-blend-mode: multiply; }
/* missing information on a design step (2026-10-25) */
.is-missing { outline: 2px solid #c0392b !important; outline-offset: 3px; border-radius: 6px; box-shadow: 0 0 0 6px rgba(192, 57, 43, .12); }
.pricedlg { width: min(520px, 100vw - 2rem); }
.pricedlg p { margin-top: var(--space-3); }
.pricedlg .row-gap { margin-top: var(--space-5); flex-wrap: wrap; }
/* hero proof (2026-10-25): the claim, backed up right under it */
.hero__proof { list-style: none; padding: 0; margin: var(--space-5) 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.hero__proof a { display: flex; flex-direction: column; gap: 2px; padding: 10px 16px; border-radius: 10px; background: rgba(20, 14, 8, .48); border: 1px solid rgba(255, 255, 255, .22); color: #fff; text-decoration: none; backdrop-filter: blur(4px); min-width: 150px; }
.hero__proof a:hover { background: rgba(20, 14, 8, .62); }
.hero__proof strong { font-family: var(--font-display, Georgia, serif); font-size: 1.5rem; line-height: 1.1; font-weight: 600; }
.hero__proof .stars { color: #f5c04a; font-size: 1rem; letter-spacing: 1px; vertical-align: 3px; }
.hero__proof span { font-size: .82rem; color: rgba(255, 255, 255, .88); }
@media (max-width: 640px) { .hero__proof { gap: 8px; } .hero__proof a { min-width: 0; flex: 1 1 140px; padding: 8px 12px; } .hero__proof strong { font-size: 1.2rem; } }
@media (max-width: 640px) { .stepper { gap: 2px; } .stepper li { font-size: 11px; letter-spacing: -.01em; overflow-wrap: normal; word-break: normal; hyphens: none; } .stepper li.is-current { font-weight: 600; } }

/* Round 9 (2026-10-25): lit door canvas, profile pickers, hardware picker, SW color search, hood finishes */
.bld__door--cv { aspect-ratio: auto; box-shadow: none; display: grid; place-items: center; }
.bld__door--cv canvas, .sbdoor canvas, #sbDlgDoor canvas { display: block; max-width: 100%; height: auto; }
.sbdoor canvas { margin: 0 auto .4rem; }
.bld__prow { display: grid; gap: .35rem; }
.bld__prow .h5 { margin: .2rem 0 0; font-size: .9rem; }
.bld__profs { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: .4rem; padding: 2px; }
.bld__prof { flex: none; display: grid; gap: .2rem; justify-items: center; padding: .3rem; border: 1px solid var(--color-border, #e4dccf); border-radius: 8px; background: #26262a; color: #f3efe8; font: inherit; font-size: .75rem; cursor: pointer; scroll-snap-align: start; }
.bld__prof img { width: 100%; max-width: 105px; height: auto; aspect-ratio: 105 / 45; object-fit: cover; display: block; border-radius: 4px; }
.bld__prof[aria-pressed="true"] { border-color: var(--color-primary, #7a3d17); box-shadow: 0 0 0 3px var(--color-primary, #7a3d17); }
.bld__sample { border: 0; padding: 0; margin: 0; display: grid; gap: .35rem; }
.bld__sample legend { font-weight: 600; font-size: .85rem; margin-bottom: .2rem; }
.bld__sample label { display: flex; align-items: center; gap: .5rem; font-size: .9rem; }
.bld__sample input[type="radio"] { width: 1.05rem; height: 1.05rem; margin: 0; flex: none; accent-color: var(--color-primary, #7a3d17); }
.swres { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: .35rem; max-height: 15rem; overflow-y: auto; }
.swres__c { display: flex; align-items: center; gap: .45rem; padding: .3rem .45rem; border: 1px solid var(--color-border, #e4dccf); border-radius: 8px; background: var(--color-surface, #fff); font: inherit; font-size: .8rem; text-align: left; cursor: pointer; }
.swres__c span { flex: none; width: 22px; height: 22px; border-radius: 50%; border: 1px solid rgba(0,0,0,.15); }
.swres__c[aria-pressed="true"] { border-color: var(--color-primary, #7a3d17); box-shadow: 0 0 0 2px var(--color-primary, #7a3d17); }
.hwp { display: grid; gap: .5rem; }
.hwp__coll, .hwp__size { display: grid; gap: .25rem; font-weight: 600; font-size: .85rem; max-width: 22rem; }
.hwp__items { display: flex; gap: .4rem; overflow-x: auto; padding: 2px 2px 6px; }
.hwp__item { flex: none; width: 96px; display: grid; gap: .2rem; justify-items: center; padding: .3rem; border: 1px solid var(--color-border, #e4dccf); border-radius: 8px; background: #fff; font: inherit; font-size: .7rem; line-height: 1.2; text-align: center; cursor: pointer; }
.hwp__item img { width: 64px; height: 64px; object-fit: contain; }
.hwp__item[aria-pressed="true"], .hwp__fin[aria-pressed="true"] { border-color: var(--color-primary, #7a3d17); box-shadow: 0 0 0 2px var(--color-primary, #7a3d17); }
.hwp__fins { display: flex; flex-wrap: wrap; gap: .35rem; }
.hwp__fin { display: flex; align-items: center; gap: .35rem; padding: .25rem .5rem; border: 1px solid var(--color-border, #e4dccf); border-radius: 999px; background: #fff; font: inherit; font-size: .78rem; cursor: pointer; }
.hwp__fin i { width: 16px; height: 16px; border-radius: 50%; border: 1px solid rgba(0,0,0,.2); }
.hoodfin { display: grid; gap: .6rem; margin: 0 0 1.2rem; }
.hoodfin__lbl { margin: 0; font-weight: 600; }
.hoodfin__row { display: grid; gap: .6rem; }
.hoodcard__cv { display: grid; place-items: center; aspect-ratio: 1; background: #f1ede6; padding: 6%; }
.hoodcard__cv canvas { max-width: 100%; max-height: 100%; width: auto; height: auto; filter: drop-shadow(0 8px 10px rgba(40,25,10,.18)); }
@media (max-width: 700px) { .bld__view { position: static; } }
/* Sherwin-Williams color picker (shared) */
.swp { display: grid; gap: .55rem; min-width: 0; }
.swp__now { display: flex; align-items: center; gap: .7rem; height: 56px; min-width: 0; }   /* fixed size: long names never move the menu */
.swp__txt { flex: 1 1 auto; min-width: 0; }
.swp__txt strong { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.swp__link { margin-left: auto; font-size: .8rem; flex: none; white-space: nowrap; }
.swp__big { flex: none; width: 52px; height: 52px; border-radius: 8px; border: 1px solid rgba(0,0,0,.15); box-shadow: inset 0 0 0 3px rgba(255,255,255,.35); }
.swp__lbl { display: block; font-size: .75rem; color: var(--color-text-muted, #6b6258); text-transform: uppercase; letter-spacing: .04em; }
.swp__bar { display: flex; flex-wrap: wrap; gap: .5rem; }
.swp__q, .swp__coll { display: grid; gap: .2rem; font-weight: 600; font-size: .8rem; flex: 1 1 13rem; min-width: 0; }
.swp__q input, .swp__coll select { width: 100%; min-height: 40px; }
.swp__fams { display: flex; flex-wrap: wrap; gap: .3rem; }
.swp__fam { display: flex; align-items: center; gap: .35rem; padding: .3rem .6rem; min-height: 34px; border: 1px solid var(--color-border, #e4dccf); border-radius: 999px; background: var(--color-surface, #fff); font: inherit; font-size: .78rem; cursor: pointer; }
.swp__fam[aria-pressed="true"] { border-color: var(--color-primary, #7a3d17); box-shadow: 0 0 0 1px var(--color-primary, #7a3d17); font-weight: 600; }
.swp__dot { width: 12px; height: 12px; border-radius: 50%; border: 1px solid rgba(0,0,0,.15); }
.swp__dot--0 { background: #b8453a; } .swp__dot--1 { background: #d9823b; } .swp__dot--2 { background: #e4c54d; } .swp__dot--3 { background: #6c9a5e; }
.swp__dot--4 { background: #4a77a8; } .swp__dot--5 { background: #7c5c9c; } .swp__dot--6 { background: #a39a8b; } .swp__dot--7 { background: #f1ede4; }
.swp__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(30px, 1fr)); gap: 4px; max-height: 15rem; overflow-y: auto; padding: 3px; border: 1px solid var(--color-border, #e4dccf); border-radius: 8px; background: var(--color-surface, #fff); }
.swp__c { aspect-ratio: 1; min-width: 0; border: 1px solid rgba(0,0,0,.12); border-radius: 4px; cursor: pointer; padding: 0; }
.swp__c:hover { transform: scale(1.12); position: relative; z-index: 1; box-shadow: 0 2px 6px rgba(0,0,0,.25); }
.swp__c[aria-pressed="true"] { outline: 3px solid var(--color-primary, #7a3d17); outline-offset: 1px; position: relative; z-index: 2; }
.swp__grid .muted { grid-column: 1 / -1; margin: .4rem; }
.optsw { grid-column: 1 / -1; }

/* Build a door / StarBoard hardware cards and popup (Round 11) */
.hwp--cards .hwcard { position: relative; }
.hwp--cards .hwcard .hwfins { margin-top: 4px; }
.hwcard__blank { display: grid; place-items: center; width: 100%; aspect-ratio: 1; border-radius: var(--radius-sm); background: var(--color-surface-offset); font-size: 2rem; color: var(--color-text-muted); }
.hwp__sel { margin: .2rem 0 0; font-size: var(--text-sm); }
.hwp__dot { display: inline-block; width: 12px; height: 12px; border-radius: 50%; border: 1px solid rgba(0,0,0,.25); vertical-align: -1px; margin-left: 4px; }
.hwpdlg { max-width: min(880px, 95vw); }
.hwpd { display: grid; grid-template-columns: minmax(0, 340px) 1fr; gap: 1.2rem; align-items: start; margin-top: .6rem; }
.hwpd__big { margin: 0; display: grid; gap: .4rem; }
.hwpd__big img { width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; background: #fff; border: 1px solid var(--color-border, #e4dccf); border-radius: 12px; }
.hwpd__big figcaption { display: grid; gap: 2px; font-size: .86rem; color: var(--color-text-muted, #6b6359); }
.hwpd__big strong { color: var(--color-text); font-size: .95rem; }
.hwpd__opts { display: grid; gap: .7rem; align-content: start; min-width: 0; }
.hwpd .hwp__items { flex-wrap: wrap; overflow: visible; }
.hwpd .hwp__fin i { width: 22px; height: 22px; }
.hwpd__done { justify-self: start; }
@media (max-width: 700px) { .hwpd { grid-template-columns: 1fr; } .hwpd__big img { max-width: 260px; } }

/* Vent hood cards and popup (Round 11) */
.hoodcard__open { border: 0; padding: 0; background: none; cursor: zoom-in; display: block; width: 100%; }
.hoodcard__open:hover img, .hoodcard__open:hover .hoodcard__cv { filter: brightness(1.03); }
.hoodcard__fin { display: flex; align-items: center; gap: .35rem; color: var(--color-text-muted); }
.hoodcard__fin i, .hoodd__chip { width: 12px; height: 12px; border-radius: 50%; border: 1px solid rgba(0,0,0,.25); display: inline-block; flex: none; }
.hooddlg { max-width: min(980px, 95vw); }
.hoodd { display: grid; grid-template-columns: minmax(0, 360px) 1fr; gap: 1.2rem; align-items: start; margin-top: .6rem; }
.hoodd__big { margin: 0; display: grid; gap: .4rem; }
.hoodd__big .hoodcard__cv { border-radius: 12px; }
.hoodd__big figcaption { display: grid; gap: 2px; font-size: .86rem; color: var(--color-text-muted, #6b6359); }
.hoodd__big strong { color: var(--color-text); }
.hoodd__opts { display: grid; gap: .7rem; align-content: start; min-width: 0; }
.hoodd__sel { display: flex; flex-wrap: wrap; gap: .8rem; align-items: end; }
.hoodd__sel label { display: grid; gap: .25rem; font-weight: 600; font-size: .85rem; min-width: 12rem; }
.hoodd__chip { width: 34px; height: 34px; }
.hoodd__done { justify-self: start; }
@media (max-width: 700px) { .hoodd { grid-template-columns: 1fr; } .hoodd__big .hoodcard__cv { max-width: 300px; } }
/* Build a door round 13: ordered-in styles, greyed-out styles, configuration buttons */
.bld__style:disabled { opacity: .38; cursor: not-allowed; filter: grayscale(1); }
.bld__thumb img { width: 60px; height: 80px; object-fit: cover; object-position: top; border-radius: 3px; }
.bld__opts > .h5 { margin: var(--space-3, .75rem) 0 var(--space-2, .5rem); }
.bld__prof--cfg img { max-width: 70px; aspect-ratio: 420 / 268; object-fit: contain; }
.bld__none { display: grid; place-items: center; width: 70px; height: 45px; font-size: 1.2rem; opacity: .7; }
.roles--3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.hwp__price { display: block; font-size: .7rem; color: var(--color-text-muted, #7a6f63); }
.hwp__each { margin: .4rem 0 0; font-size: .85rem; }

/* Stock stain colors (Brad 2026-10-26): every stain choice shows a color circle and its name, and never moves when clicked */
.stainrow { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 6px; }
.stainbtn { display: flex; align-items: center; gap: 8px; min-height: 40px; padding: 4px 10px 4px 5px; border: 1px solid var(--color-border); border-radius: 99px; background: var(--color-surface, #fff); font: inherit; font-size: var(--text-xs); color: inherit; text-align: left; cursor: pointer; min-width: 0; }
.stainbtn i { flex: none; width: 28px; height: 28px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0,0,0,.18); }
.stainbtn span { min-width: 0; line-height: 1.2; }
.stainbtn[aria-pressed="true"] { border-color: var(--color-primary); box-shadow: inset 0 0 0 1px var(--color-primary); font-weight: 600; }
.stainbtn:hover { border-color: var(--color-primary); }
.wchips { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 8px; }
.wchip { display: flex; flex-direction: column; align-items: stretch; gap: 3px; padding: 5px; border: 1px solid var(--color-border); border-radius: 10px; background: var(--color-surface, #fff); font: inherit; color: inherit; text-align: left; cursor: pointer; min-width: 0; }
.wchip[aria-pressed="true"] { border: 2px solid var(--color-primary); padding: 4px; }
.wchip strong { font-size: var(--text-xs); line-height: 1.2; }
.wchip small { font-size: 11px; color: var(--color-text-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wchip__img { position: relative; display: block; border-radius: 0; overflow: hidden; aspect-ratio: 210/300; background: #e9e1d3; }
.wchip__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.wchip__tint { position: absolute; inset: 0; mix-blend-mode: multiply; opacity: .88; }
.wchip__dots { display: flex; flex-wrap: wrap; gap: 3px; }
.wchip__dots i { width: 11px; height: 11px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0,0,0,.18); }
.wchip__dots i.is-on { outline: 2px solid var(--color-primary); outline-offset: 1px; }
.woodcard__dots { margin-top: 2px; }
.woodcard__dots i { width: 13px; height: 13px; }
.woodcard__go { font-size: var(--text-xs); color: var(--color-primary); font-weight: 600; }
.woodcard__go--muted { color: var(--color-text-muted); font-weight: 400; }
.modal.stdlg { width: min(880px, 100vw - 2rem); max-width: none; }
.stdlg__box { position: relative; }
.stdlg__grid { display: grid; grid-template-columns: 200px 1fr; gap: var(--space-4); align-items: start; }
.stdlg__chip { margin: 0; }
.stdlg__chip figcaption { display: flex; align-items: center; gap: 8px; margin-top: 6px; font-weight: 600; font-size: var(--text-sm); }
.stdlg__chip figcaption i { width: 22px; height: 22px; border-radius: 50%; flex: none; box-shadow: inset 0 0 0 1px rgba(0,0,0,.18); }
.stdlg__buy { display: flex; flex-wrap: wrap; gap: 8px; margin-top: var(--space-3); }
@media (max-width: 640px) { .stdlg__grid { grid-template-columns: 1fr; } .stdlg__chip { max-width: 150px; } .stainrow { grid-template-columns: 1fr 1fr; } }
.cabh { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 2px 12px; align-items: center; min-width: 0; }
.cabh legend { font-size: var(--text-xs); font-weight: 600; padding: 0; margin-bottom: 2px; }
.cabh small { flex-basis: 100%; font-size: 11px; }
.roomset__in .cabh { grid-column: 1 / -1; }
.cabh .check { display: inline-flex; align-items: center; gap: 6px; margin: 0; min-height: 36px; }
.cabh small { flex-basis: auto; }
@media (max-width: 640px) { .wchips { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; } .wchip strong { font-size: 11px; } }

/* Round 17: Full overlay is the preferred build, so it stands out wherever build options sit side by side */
.buildtype--pref { position: relative; padding: 8px; margin: -8px; border-radius: 14px; background: color-mix(in srgb, var(--color-primary) 9%, transparent); box-shadow: 0 0 0 2px var(--color-primary), 0 10px 26px rgba(0,0,0,.14); transform: scale(1.04); z-index: 1; }
.buildtype--pref .buildtype__name { font-size: 1.12em; color: var(--color-primary); }
.buildtype__badge { position: absolute; top: 16px; left: 16px; background: var(--color-primary); color: #fff; font-size: .74rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; box-shadow: 0 2px 8px rgba(0,0,0,.25); }
.chip--pref, [data-build="Full overlay"] { font-weight: 700; border-color: var(--color-primary) !important; box-shadow: 0 0 0 1px var(--color-primary); }

/* Round 17: the finish count always sits at the very bottom of each hardware card */
.hwgrid { align-items: stretch; }
.hwitem { display: flex; flex-direction: column; height: 100%; }
.hwitem figcaption { flex: 1; display: flex; flex-direction: column; }
.hwitem__nfin { margin-top: auto; padding-top: .35rem; color: var(--color-text-muted, #6b6359); font-size: .8rem; }
.hwd__size select { width: 100%; }

.hoodd__sizes { display: flex; gap: .8rem; margin-bottom: .8rem; }
.hoodd__sz { display: grid; gap: 4px; font-size: .85rem; font-weight: 600; }
.hoodd__sz select { min-width: 96px; }

/* Round 17: StarBoard door configurator: big door + drawer on the left, two style cards with color circles on the right */
.sbcfg { display: grid; grid-template-columns: minmax(220px, 320px) 1fr; gap: 1.5rem; align-items: start; margin: .75rem 0 1.5rem; }
/* Round 18: the configured StarBoard door stays in view while the options scroll, like Build a Door */
.sbcfg__big { margin: 0; text-align: center; position: sticky; top: 5.5rem; align-self: start; }
.sbcfg__big canvas { display: block; margin: 0 auto .5rem; max-width: 100%; height: auto; max-height: min(460px, calc(100vh - 10rem)); width: auto; object-fit: contain; }
.sbcfg__big figcaption { font-size: .9rem; font-weight: 600; }
.sbcards { display: grid; gap: .8rem; }
.sbcard { border: 1px solid var(--color-border, #e4dccf); border-radius: 12px; padding: .7rem .8rem; background: var(--color-surface, #fff); transition: border-color .15s, box-shadow .15s; }
.sbcard.is-on { border-color: var(--color-primary); box-shadow: 0 0 0 1px var(--color-primary); }
.sbcard__pick { display: flex; gap: .8rem; align-items: center; width: 100%; background: none; border: 0; padding: 0; text-align: left; cursor: pointer; color: inherit; font: inherit; }
.sbcard__pick canvas { flex: none; }
.sbcard__txt { display: grid; gap: .15rem; } .sbcard__txt span { font-size: .82rem; color: var(--color-text-muted, #6b6359); }
.sbdots { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .6rem; }
.sbdot { width: 26px; height: 26px; border-radius: 50%; border: 1px solid rgba(0,0,0,.25); padding: 0; cursor: pointer; }
.sbdot[aria-pressed="true"] { outline: 2px solid var(--color-primary); outline-offset: 2px; }
.sbcfg__h { margin: 1rem 0 .4rem; font-size: 1rem; }
@media (max-width: 640px) { .sbcfg { grid-template-columns: 1fr; } .sbcfg__big { position: static; } }
/* Round 17: photo finale over the shop film */
.film__photo { position: absolute; inset: 0; pointer-events: none; }
.film__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; }
.privnote { font-size: var(--text-xs); color: var(--color-text-muted); margin: var(--space-2) 0 0; }
.privnote::before { content: ''; display: inline-block; width: .6em; height: .75em; margin-right: .4em; border: 1.5px solid currentColor; border-radius: 2px 2px 3px 3px; vertical-align: -1px; }
.sbcfg__buy { margin-top: var(--space-5); }
.hwp__tgt { margin-top: var(--space-4); padding-top: var(--space-3); border-top: 1px solid var(--color-border, rgba(0,0,0,.1)); }
.hwp__h { font-size: var(--text-sm); font-weight: 600; margin: 0 0 var(--space-2); }
.chips--sm { margin-bottom: var(--space-2); }
/* Round 19: room type list wide enough for its longest name; Interior and Exterior choices the same height */
.room-row { grid-template-columns: 32px minmax(130px, 1.2fr) minmax(200px, 1.3fr) 100px auto 40px; }
.room-row select[data-rf="type"] { min-width: 200px; width: 100%; }
.matpick { align-items: stretch; }
.matpick .check { display: flex; align-items: center; gap: .5rem; min-height: 44px; padding: 0 .9rem; margin: 0; border: 1px solid var(--color-border); border-radius: var(--radius-md); box-sizing: border-box; }
.matpick .check small { white-space: nowrap; }
@media (max-width: 860px) { .room-row { grid-template-columns: 28px 1fr 1fr; } .room-row select[data-rf="type"] { min-width: 0; } .room-row label:has(> select[data-rf="type"]) { grid-column: 2 / -1; } .matpick .check small { white-space: normal; } }
/* Round 19: Admin Console analytics and SEO */
.anabox h3.h4 { margin-top: var(--space-5); }
.ana__ctl { display: flex; flex-wrap: wrap; gap: var(--space-3); align-items: end; margin: var(--space-3) 0; }
.ana__ctl label { display: grid; gap: 4px; font-size: var(--text-xs); min-width: 220px; }
.ana__kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: var(--space-3); margin: var(--space-3) 0; }
.ana__kpi { border: 1px solid var(--color-border); border-radius: var(--radius-md); padding: var(--space-3); display: grid; gap: 2px; }
.ana__kpi strong { font-size: var(--text-xl); font-family: var(--font-display); }
.ana__kpi span { font-size: var(--text-xs); color: var(--color-text-muted); }
.ana__chart { width: 100%; max-width: 680px; height: auto; color: var(--color-text-muted); }
.ana__link code { word-break: break-all; font-size: var(--text-xs); background: var(--color-surface-2, rgba(0,0,0,.04)); padding: 4px 6px; border-radius: 4px; }
.seo__serp { max-width: 600px; border: 1px solid var(--color-border); border-radius: var(--radius-md); padding: var(--space-3); font-family: arial, sans-serif; }
.seo__serp .seo__url { display: block; font-size: 12px; color: #4d5156; }
.seo__serp strong { display: block; color: #1a0dab; font-size: 18px; font-weight: 400; margin: 2px 0; }
.seo__serp p { margin: 0; font-size: 13px; color: #4d5156; }

/* Round 21 (Brad: buttons should highlight slightly on mouse-over). Zero specificity, so any button's own hover style still wins */
@media (hover: hover) {
  :where(button, .btn, [role="button"], input[type="submit"], .chips label, .shopdot) { transition: background-color .15s, box-shadow .15s, filter .15s, border-color .15s; }
  :where(button:not(:disabled):hover, .btn:hover, [role="button"]:hover, input[type="submit"]:hover, .chips label:hover) { box-shadow: 0 0 0 3px oklch(0.43 0.10 50 / 0.14); filter: brightness(1.04); }
  :where(.btn--primary:hover) { filter: brightness(1.1); }
}

/* Round 21: Google and Facebook star ratings */
.rates { display: inline-flex; flex-wrap: wrap; gap: 10px 22px; align-items: center; justify-content: center; }
.rate { display: inline-flex; align-items: center; gap: 7px; text-decoration: none; color: var(--color-text); padding: 4px 10px 4px 4px; border-radius: 999px; }
.rate:hover { background: var(--color-surface-offset); }
.rate strong { font-family: var(--font-display, Georgia, serif); font-size: 1.5rem; line-height: 1; color: var(--color-primary); }
.rate > span:last-child { font-size: var(--text-sm); color: var(--color-text-muted); }
.rate > span:last-child::before { content: "("; } .rate > span:last-child::after { content: ")"; }
.rate__logo { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font: 700 15px/1 Arial, sans-serif; color: #fff; }
.rate__logo--g { background: conic-gradient(#ea4335 0 25%, #fbbc05 0 50%, #34a853 0 75%, #4285f4 0); }
.rate__logo--f { background: #1877f2; font-size: 17px; }
.stars { position: relative; display: inline-block; color: oklch(0.85 0.02 70); font-size: 15px; letter-spacing: 1px; line-height: 1; }
.stars__on { position: absolute; inset: 0 auto 0 0; overflow: hidden; white-space: nowrap; color: #f2b01e; }

/* Round 21: Google-style service area map */
.txmap__art.is-gmap { border-radius: 14px; background: #f5f3ee; box-shadow: 0 0 0 1px oklch(0.4 0.03 60 / .5), 0 30px 80px -30px oklch(0 0 0 / .5); }
.gmap { position: relative; aspect-ratio: 420 / 394; }
.gmap__base { width: 100%; height: 100%; display: block; }
.gmap__pins { position: absolute; inset: 0; }
.gmap__pin { position: absolute; width: calc(var(--r) * 1); height: calc(var(--r) * 1); transform: translate(-50%, -50%); border-radius: 50%; border: 2px solid #fff; background: #d9822b; padding: 0; cursor: pointer; box-shadow: 0 1px 3px rgba(0,0,0,.35); transition: transform .15s, background .15s; }
.gmap__pin::after { content: ""; position: absolute; inset: -2px; border-radius: 50%; border: 2px solid #d9822b; animation: gpulse 2.4s ease-out infinite; animation-delay: var(--d); pointer-events: none; }
.gmap.is-still .gmap__pin::after { animation: none; opacity: 0; }
@keyframes gpulse { 0% { transform: scale(1); opacity: .85; } 100% { transform: scale(2.6); opacity: 0; } }
.gmap__pin:hover, .gmap__pin:focus-visible { transform: translate(-50%, -50%) scale(1.45); background: #b5561c; z-index: 3; outline: none; box-shadow: 0 0 0 4px rgba(217,130,43,.35), 0 2px 6px rgba(0,0,0,.4); filter: none; }
.gmap__tip { position: absolute; transform: translate(-50%, calc(-100% - 18px)); background: #fff; color: #202124; font: 500 13px/1.3 Arial, sans-serif; padding: 6px 10px; border-radius: 8px; box-shadow: 0 2px 8px rgba(0,0,0,.3); white-space: nowrap; pointer-events: none; z-index: 4; }
.gmap__tip::after { content: ""; position: absolute; left: 50%; bottom: -6px; transform: translateX(-50%); border: 6px solid transparent; border-bottom: 0; border-top-color: #fff; }
.gmap__attr { position: absolute; right: 6px; bottom: 4px; margin: 0; font: 10px Arial, sans-serif; color: #5f6368; background: rgba(255,255,255,.7); padding: 1px 4px; border-radius: 3px; max-width: none; }

/* Round 21: Tyler on the About page */
.split--rev > :first-child { order: 2; }
@media (max-width: 800px) { .split--rev > :first-child { order: 0; } }
.tyler__photo { aspect-ratio: 4 / 5; max-width: 420px; width: 100%; justify-self: center; border-radius: 16px; background: linear-gradient(160deg, oklch(0.42 0.08 50), oklch(0.28 0.04 50)); display: grid; place-content: center; text-align: center; color: #fff; }
.tyler__photo span { font: 600 4rem/1 var(--font-display, Georgia, serif); }
.tyler__photo small { opacity: .7; margin-top: 8px; }
/* Round 21: saved doors and hoods in My Designs */
.cfgs { margin-top: var(--space-8); display: grid; gap: var(--space-3); }
.cfgs .h4 { margin-top: var(--space-4); }
.cfgcard { display: grid; grid-template-columns: 44px 1fr auto; gap: var(--space-3); align-items: center; padding: var(--space-3); border: 1px solid var(--color-border); border-radius: 10px; background: var(--color-surface); }
.cfgcard__sw { width: 44px; height: 56px; border-radius: 6px; box-shadow: inset 0 0 0 4px rgba(255,255,255,.35), 0 0 0 1px var(--color-border); }
.cfgcard__btns { display: flex; gap: 6px; }
@media (max-width: 560px) { .cfgcard { grid-template-columns: 44px 1fr; } .cfgcard__btns { grid-column: 1 / -1; } }
/* Round 21 (Brad): the shop film fills the screen width, with the step menu inside the picture */
@media (min-width: 761px) {
  .shopstory__stick { top: var(--header-h, 64px); height: calc(100vh - var(--header-h, 64px)); }
  .shopstory__inner.wrap { max-width: none; width: 100%; height: 100%; padding: 0; display: block; position: relative; }
  .shopstory__inner .shopstory__3d { position: absolute; inset: 0; width: 100%; height: 100% !important; max-height: none; aspect-ratio: auto; border-radius: 0; }
  .shopstory__inner .shopstory__svg { position: absolute; inset: 0; width: 100%; height: 100%; max-height: none; border-radius: 0; }
  .shopstory__inner .shopstory__dots { position: absolute; z-index: 4; left: 18px; top: 50%; transform: translateY(-50%); padding: 12px 14px; border-radius: 12px; background: rgba(18, 14, 11, .55); backdrop-filter: blur(6px); color: #e9e1d6; gap: .35rem; }
  .shopstory__inner .shopstory__dots li { color: rgba(233, 225, 214, .82); font-size: .86rem; }
  .shopstory__inner .shopstory__dots li.is-on { color: #fff; }
  .shopstory__inner .shopstory__dots .shopdot:hover { color: #fff; background: rgba(255, 255, 255, .1); }
  .shopstory__inner .shopstory__cap:not(.is-film) { position: absolute; z-index: 4; left: 50%; bottom: 16px; transform: translateX(-50%); background: rgba(255,255,255,.9); padding: 8px 14px; border-radius: 10px; }
}

/* Round 21: full-screen door */
.bld__zoomable { position: relative; }
.zoombtn { position: absolute; top: 6px; right: 6px; z-index: 2; width: 38px; height: 38px; border-radius: 10px; border: 1px solid var(--color-border); background: rgba(255,255,255,.92); font-size: 20px; line-height: 1; cursor: pointer; color: var(--color-text); }
.zoombtn:hover { background: #fff; border-color: var(--color-primary); }
.doorzoom { border: 0; padding: 24px; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; background: rgba(20,16,12,.92); display: none; }
.doorzoom[open] { display: grid; place-items: center; align-content: center; gap: 10px; }
.doorzoom::backdrop { background: rgba(0,0,0,.6); }
.doorzoom__pan { max-width: 94vw; max-height: 82vh; overflow: auto; display: grid; place-items: center; cursor: zoom-in; overscroll-behavior: contain; scrollbar-width: thin; }
.doorzoom.is-z2 .doorzoom__pan { place-items: start; cursor: grab; width: 94vw; height: 82vh; }
.doorzoom.is-z2 .doorzoom__pan:active { cursor: grabbing; }
.doorzoom canvas { display: block; filter: drop-shadow(0 20px 40px rgba(0,0,0,.5)); }
.doorzoom:not(.is-z2) canvas { max-width: 92vw; max-height: 80vh; }
.doorzoom__tools { display: flex; gap: 14px; align-items: center; justify-content: center; }
.doorzoom__tools button { font: inherit; font-size: var(--text-sm); padding: 8px 16px; border-radius: 999px; border: 1px solid rgba(255,255,255,.4); background: rgba(255,255,255,.12); color: #fff; cursor: pointer; }
.doorzoom__tools button:hover { background: rgba(255,255,255,.26); border-color: #fff; }
.doorzoom__hint { color: #cdbfa9; font-size: var(--text-xs); }
.doorzoom__cap { color: #eee3d4; margin: 0; text-align: center; max-width: 80ch; font-size: var(--text-sm); }
.doorzoom__x { position: absolute; top: 14px; right: 18px; width: 46px; height: 46px; border-radius: 50%; border: 0; background: rgba(255,255,255,.14); color: #fff; font-size: 30px; cursor: pointer; }
.doorzoom__x:hover { background: rgba(255,255,255,.28); }

/* Round 21: the 3D map in Google-map colours; HTML job pins */
.tx3d__labels .gmap__pin { pointer-events: auto; }
.tx3d__labels .gmap__tip { transform: translate(-50%, calc(-100% - 16px)); }
.tx3d__lbl { color: #3c4043; text-shadow: 0 0 3px #fff, 0 0 3px #fff, 0 0 5px #fff; }
.tx3d__lbl--city { background: none; border: 0; font-size: 13px; font-weight: 700; color: #3c4043; }
.tx3d__lbl--core { color: #202124; font-weight: 700; }
.tx3d__lbl--ring { color: #8d5227; text-shadow: 0 0 3px #fff, 0 0 3px #fff; }
.tx3d__hint { color: #3c4043; background: rgba(255,255,255,.85); box-shadow: 0 1px 3px rgba(0,0,0,.2); }
.tx3d { touch-action: pan-y; }

/* Round 22: saw-blade intro */
.sawintro { position: fixed; inset: 0; z-index: 10000; pointer-events: auto; transition: opacity .4s ease; }
.sawintro canvas { display: block; }
.sawintro.is-out { opacity: 0; pointer-events: none; }
.sawintro__skip { position: absolute; right: 18px; bottom: 18px; font: inherit; font-size: var(--text-sm); padding: 8px 16px; border-radius: 999px; border: 1px solid rgba(255,255,255,.35); background: rgba(0,0,0,.35); color: #f3e9da; cursor: pointer; }
.sawintro__skip:hover { background: rgba(0,0,0,.6); border-color: #fff; }
html.is-intro { overflow: hidden; }
.doorzoom.is-z2 canvas { margin: 0 auto; max-width: none !important; }

/* Round 23: Tyler's real photo */
.tyler__photo--img { display: block; height: auto; object-fit: cover; box-shadow: var(--shadow-md, 0 8px 24px rgba(0,0,0,.18)); }
