/* Reno.io
   Light theme only. Phone first. The page background is also the browser bar
   colour (theme-color), and nothing is pinned to the bottom of the screen, so
   on an iPhone the page runs straight into Safari's bottom bar. Desktop rules
   live in the block at the end, behind the same media query as `desk` in app.js. */

:root {
  --bg: #FAF8F4;
  --surface: #FFFFFF;
  --surface-2: #F0ECE4;
  --ink: #1B1915;
  --ink-2: #5B554A;
  --ink-3: #857E72;
  --line: #ECE6DB;
  --line-2: #DCD4C6;
  /* DeWalt yellow, same value as the company design system. Yellow is a fill
     (buttons, marks, underlines) and always carries ink text. */
  --accent: #FEBD17;
  --accent-hover: #F2AE00;
  --accent-ink: #1B1915;
  --accent-soft: #FFF3CC;
  --green: #2B6A4C;
  --green-soft: #DCEADF;
  --chrome: #1B1915;
  --chrome-ink: #FAF8F4;
  --danger: #B42318;
  --danger-soft: #FDECEA;
  --shadow-1: 0 1px 2px rgb(27 25 21 / .05), 0 4px 14px rgb(27 25 21 / .05);
  --shadow-2: 0 2px 6px rgb(27 25 21 / .06), 0 18px 44px rgb(27 25 21 / .12);
  --r-lg: 24px;
  --r: 18px;
  --hdr: 56px;
  /* desktop width: content grows to ~1600px, margins scale with the screen */
  --page: 1600px;
  --gutter: clamp(24px, 4vw, 72px);
  --safe-t: env(safe-area-inset-top, 0px);
  --safe-b: env(safe-area-inset-bottom, 0px);
  --display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  /* always light, even when the phone or computer is in dark mode */
  color-scheme: only light;
}

/* ───────── base ───────── */
*, *::before, *::after { box-sizing: border-box; }
html { background: var(--bg); -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  overflow-x: clip;
  margin: 0; min-height: 100svh; background: var(--bg); color: var(--ink);
  font: 16px/1.5 var(--sans); font-feature-settings: 'cv11', 'ss01';
  -webkit-font-smoothing: antialiased; -webkit-tap-highlight-color: transparent;
}
body.locked { overflow: hidden; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
img { display: block; max-width: 100%; }
h1, h2, h3, p { margin: 0; }
input { font: inherit; }
:focus-visible { outline: 2.5px solid var(--ink); outline-offset: 2px; }
.wrap { max-width: calc(var(--page) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
[hidden] { display: none !important; }

/* illustrations: pictures with transparent backgrounds, straight on the tile */
.ill { display: block; width: 100%; height: 100%; object-fit: contain; -webkit-user-select: none; user-select: none; }
.ui { flex: none; }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 0 20px; border-radius: 999px;
  background: var(--surface); border: 1.5px solid var(--line-2); color: var(--ink);
  font-weight: 600; font-size: 15px; text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: transform .12s, background-color .2s, border-color .2s, box-shadow .2s;
}
.btn:active { transform: scale(.97); }
.btn.primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); font-weight: 700; }
.btn.big { min-height: 56px; font-size: 16.5px; padding: 0 26px; }
.btn.block { width: 100%; }
.btn.sm { min-height: 36px; padding: 0 14px; font-size: 13.5px; }
.btn:disabled { opacity: .6; pointer-events: none; }
.icon-btn { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; flex: none; transition: background-color .15s; }
.icon-btn:active { background: var(--surface-2); }
.link { color: var(--ink-2); text-decoration: underline; text-underline-offset: 3px; font-weight: 500; }

.logo { display: inline-flex; align-items: center; text-decoration: none; }
/* the wordmark, all ink, in the same serif as the headlines */
.logo-word { font: 500 29px/1 var(--display); letter-spacing: -.03em; color: var(--ink); }
.foot .logo-word { color: var(--chrome-ink); }

.eyebrow { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 12px; }
.eyebrow .ui { color: var(--ink); }
/* the key word in a headline: upright, with a clean yellow underline */
h1 em {
  font-style: normal; color: inherit;
  text-decoration: underline; text-decoration-color: var(--accent);
  text-decoration-thickness: .13em; text-underline-offset: .12em; text-decoration-skip-ink: auto;
}
.lede { color: var(--ink-2); font-size: 16px; margin-bottom: 16px; }

/* announcement (config.js): a compact dark card on the phone home screen */
.announce { position: relative; display: flex; align-items: center; gap: 8px; margin: 6px 16px 14px; padding: 10px 6px 10px 14px; border-radius: 14px; background: var(--chrome); color: var(--chrome-ink); }
.announce-t { flex: 1; font-size: 13px; line-height: 1.4; }
.announce-t a { display: inline-flex; align-items: center; gap: 1px; color: var(--accent); font-weight: 650; text-decoration: none; white-space: nowrap; }
.announce-x { flex: none; width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; color: var(--chrome-ink); opacity: .7; }
.announce-x:hover { opacity: 1; background: rgb(255 255 255 / .1); }

/* financing: the process, an "approved" card, the lenders */
.fin { display: grid; gap: 22px; }
.fin-head h2 { font: 500 30px/1.1 var(--display); letter-spacing: -.02em; margin-bottom: 14px; }
.fin-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; counter-reset: fs; }
.fin-steps li { counter-increment: fs; display: flex; flex-direction: column; gap: 2px; padding: 12px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); }
.fin-steps li::before { content: counter(fs); width: 22px; height: 22px; display: grid; place-items: center; margin-bottom: 6px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); font-size: 12px; font-weight: 800; }
.fin-steps b { font-size: 14px; }
.fin-steps span { color: var(--ink-3); font-size: 12.5px; line-height: 1.3; }
/* the card: floats at rest, leans toward the pointer (app.js wireCard), and
   carries a moving glare; inner layers sit at different depths */
.cc-stage { justify-self: center; width: 100%; max-width: 420px; perspective: 1100px; padding: 6px 0 18px; }
.cc-float { animation: cc-float 7s ease-in-out infinite; transform-style: preserve-3d; }
@keyframes cc-float {
  0%, 100% { transform: translateY(0) rotateX(4deg) rotateY(-7deg) rotateZ(-1deg); }
  50% { transform: translateY(-10px) rotateX(-2deg) rotateY(5deg) rotateZ(.6deg); }
}
.ccard {
  --rx: 0deg; --ry: 0deg; --gx: 30%; --gy: 20%;
  position: relative; aspect-ratio: 1.586; padding: 22px 24px; display: flex; flex-direction: column;
  border-radius: 20px; color: #F4F1EA; overflow: hidden; transform-style: preserve-3d;
  transform: rotateX(var(--rx)) rotateY(var(--ry)); transition: transform .5s cubic-bezier(.2, .7, .2, 1);
  background:
    repeating-linear-gradient(90deg, rgb(255 255 255 / .018) 0 1px, transparent 1px 3px),
    radial-gradient(130% 120% at 0% 0%, #4a453d 0%, transparent 55%),
    linear-gradient(150deg, #2a2723 0%, #161512 55%, #0b0a09 100%);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .14), inset 0 -1px 0 rgb(0 0 0 / .5), 0 2px 4px rgb(0 0 0 / .18), 0 30px 60px -12px rgb(27 25 21 / .45);
}
.ccard.tilting { transition: transform .08s linear; }
.ccard::before { content: ''; position: absolute; inset: 0; border-radius: inherit; padding: 1px; background: linear-gradient(135deg, rgb(255 255 255 / .35), transparent 30%, transparent 70%, rgb(254 189 23 / .35)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.cc-glare { position: absolute; inset: 0; border-radius: inherit; pointer-events: none; mix-blend-mode: soft-light; background: radial-gradient(circle at var(--gx) var(--gy), rgb(255 255 255 / .55), rgb(255 255 255 / .08) 35%, transparent 60%); }
.cc-top, .cc-mid, .cc-msg, .cc-row { position: relative; transform: translateZ(28px); }
.cc-top { display: flex; align-items: center; justify-content: space-between; }
.cc-brand { font: 500 23px/1 var(--display); letter-spacing: -.03em; }
.cc-ok { display: inline-flex; align-items: center; gap: 4px; padding: 5px 11px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font-size: 12px; font-weight: 750; box-shadow: 0 4px 12px rgb(254 189 23 / .35); }
.cc-mid { display: flex; align-items: center; gap: 12px; margin-top: 16px; }
.cc-chip { position: relative; width: 44px; height: 33px; border-radius: 7px; overflow: hidden; background: linear-gradient(135deg, #f1dfa6 0%, #c9a548 45%, #e9d18c 70%, #a8862f 100%); box-shadow: inset 0 0 0 1px rgb(0 0 0 / .18); }
.cc-chip i { position: absolute; left: 0; right: 0; height: 1px; background: rgb(80 60 10 / .35); }
.cc-chip i:nth-child(1) { top: 33%; } .cc-chip i:nth-child(2) { top: 66%; }
.cc-chip i:nth-child(3) { top: 0; bottom: 0; left: 50%; width: 1px; height: auto; }
.cc-nfc { width: 22px; height: 22px; opacity: .55; transform: rotate(0deg); }
.cc-msg { margin-top: auto; font-size: 15px; font-weight: 550; opacity: .88; }
.cc-row { display: flex; align-items: flex-end; justify-content: space-between; margin-top: 4px; }
.cc-row small { display: block; font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; opacity: .6; }
.cc-row b { font-size: 30px; font-weight: 750; letter-spacing: -.02em; font-variant-numeric: tabular-nums; line-height: 1.1; text-shadow: 0 1px 0 rgb(0 0 0 / .45), 0 -1px 0 rgb(255 255 255 / .08); }
.cc-mo { text-align: right; }
.cc-mo b { font-size: 21px; color: var(--accent); }
.cc-mo i { font-style: normal; font-size: 13px; opacity: .8; }
.cc-apr { position: absolute; right: 24px; top: 66px; font-size: 12px; font-weight: 700; letter-spacing: .08em; opacity: .5; transform: translateZ(20px); }
@media (prefers-reduced-motion: reduce) { .cc-float { animation: none; } }

.partners { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.partners > span { color: var(--ink-3); font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.pw-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 20px 36px; color: #5f5a52; }
.pw { display: inline-flex; align-items: center; gap: 7px; line-height: 1; white-space: nowrap; }
.pw-mark { width: 32px; height: 32px; flex: none; }
.pw-fundify { gap: 9px; font: 700 30px/1 'Space Grotesk', var(--sans); letter-spacing: -.045em; }
.pw-lendr { gap: 9px; font: 700 30px/1 'Space Grotesk', var(--sans); letter-spacing: -.02em; }
.pw-yorkville { flex-direction: column; gap: 5px; font: 650 25px/1 var(--display); letter-spacing: .05em; text-transform: uppercase; }
.pw-yorkville i { font-style: normal; font-weight: 500; font-size: 11px; letter-spacing: .42em; }
.pw-onecap { font: 700 29px/1 var(--sans); letter-spacing: -.045em; }

/* every trade, by category: tabs switch a tidy list in place */
.browse { display: grid; gap: 12px; }
.browse-tabs { display: flex; gap: 8px; overflow-x: auto; margin: 0 -16px; padding: 2px 16px 6px; scrollbar-width: none; scroll-snap-type: x proximity; }
.browse-tabs::-webkit-scrollbar { display: none; }
.btab { flex: none; display: inline-flex; align-items: center; gap: 8px; height: 46px; padding: 0 14px 0 8px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: 14px; font-weight: 600; color: var(--ink-2); scroll-snap-align: start; transition: background-color .15s, border-color .15s, color .15s; }
.btab-ill { display: block; width: 30px; height: 30px; flex: none; }
.btab-ill .ill { width: 100%; height: 100%; }
.btab-c { min-width: 22px; padding: 2px 6px; border-radius: 999px; background: var(--bg); color: var(--ink-3); font-size: 11.5px; font-weight: 700; text-align: center; }
.btab.on { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.btab.on .btab-c { background: var(--accent); color: var(--accent-ink); }
.browse-panel { border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); overflow: hidden; }
.bp-grid { display: grid; grid-template-columns: 1fr; }
.bp-item { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 52px; padding: 0 16px; border-top: 1px solid var(--line); color: var(--ink); font-size: 15px; font-weight: 550; text-decoration: none; }
.bp-item:first-child { border-top: 0; }
.bp-item .ui { color: var(--ink-3); flex: none; }
@media (min-width: 600px) {
  .bp-grid { grid-template-columns: 1fr 1fr; }
  .bp-item:nth-child(2) { border-top: 0; }
  .bp-item:nth-child(odd) { border-right: 1px solid var(--line); }
}

.band { position: relative; isolation: isolate; }
.band::before { content: ''; position: absolute; z-index: -1; top: -40px; bottom: -48px; left: calc(50% - 50vw); right: calc(50% - 50vw); background: var(--surface); border-block: 1px solid var(--line); }
.trust-row { display: flex; flex-wrap: wrap; gap: 10px 24px; list-style: none; margin: 22px 0 0; padding: 0; color: var(--ink-2); font-size: 15px; font-weight: 550; }
.trust-row li { display: flex; align-items: center; gap: 7px; }
.trust-row .ui { color: var(--green); }

/* ───────── phone shell ───────── */
.mh {
  position: sticky; top: 0; z-index: 30;
  display: flex; align-items: center; justify-content: space-between; gap: 6px;
  min-height: calc(var(--hdr) + var(--safe-t)); padding: var(--safe-t) 6px 0 16px;
  background: color-mix(in srgb, var(--bg) 94%, transparent);
  -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px);
}
.mh-trade { padding-left: 2px; padding-right: 2px; }
.mh-title { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: center; line-height: 1.25; }
.mh-title b { font-size: 16px; max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mh-title small { font-size: 12px; color: var(--ink-3); font-weight: 600; }
.mh-prog { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--line); }
.mh-prog i { display: block; height: 100%; background: var(--accent); border-radius: 0 3px 3px 0; transition: width .45s cubic-bezier(.2, .7, .2, 1); }

.sec { padding: 0 16px; margin-top: 30px; }
.sec-h { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.sec-h h2 { font: 500 24px/1.15 var(--display); letter-spacing: -.015em; }
.sec-h a, .all-link { display: inline-flex; align-items: center; gap: 2px; font-size: 14.5px; font-weight: 600; color: var(--ink); text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 4px; }

/* phone home: headline, search and five rows of tiles fill the first screen */
.m-hero { padding: 4px 16px 0; }
.m-hero h1 { font: 500 28px/1.08 var(--display); letter-spacing: -.025em; margin-bottom: 12px; }
.search-pill {
  display: flex; align-items: center; gap: 10px; width: 100%; height: 46px; padding: 0 18px;
  border-radius: 999px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-1);
  color: var(--ink-3); font-size: 15.5px; text-align: left;
}
.m-popular { margin-top: 14px; }
.all-link { display: flex; justify-content: center; margin-top: 14px; }

.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.tile {
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  aspect-ratio: 1 / 1; padding: 8px 5px; border-radius: 16px; text-align: center;
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-1);
  text-decoration: none; transition: transform .15s, box-shadow .2s, border-color .2s;
}
.tile:active { transform: scale(.96); }
.tile-ill { display: block; width: 66px; height: 66px; flex: none; margin: -4px 0 -5px; }
.tile-name {
  font-weight: 650; font-size: 12px; line-height: 1.15; letter-spacing: -.005em;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; text-wrap: balance;
}
.tile-ai { position: absolute; top: 6px; right: 6px; display: grid; color: var(--ink); }
.tile-ai svg { width: 15px; height: 15px; }
.ai-key { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 12px; color: var(--ink-3); font-size: 12.5px; font-weight: 500; }
.ai-key svg { color: var(--ink); }
/* the touch version on a wide screen (tablet, phone in landscape) stays a comfortable width */
body:not(.is-desk) main { max-width: 760px; margin-left: auto; margin-right: auto; }
@media (min-width: 600px) {
  body:not(.is-desk) .tiles { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  body:not(.is-desk) .tile-name { font-size: 13.5px; }
}
@media (orientation: landscape) and (max-height: 540px) {
  body:not(.is-desk) .tiles { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .m-hero h1 { font-size: 28px; }
}


.cats { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.cat + .cat { border-top: 1px solid var(--line); }
.cat summary { display: flex; align-items: center; gap: 12px; padding: 12px 14px; list-style: none; cursor: pointer; font-weight: 600; }
.cat summary::-webkit-details-marker { display: none; }
.cat summary > .ui { color: var(--ink-3); transition: transform .2s; }
.cat[open] summary > .ui { transform: rotate(180deg); }
.cat-ill { display: block; width: 34px; height: 34px; flex: none; }
.cat-name { flex: 1; }
.cat-n { font-size: 12px; font-weight: 600; color: var(--ink-3); background: var(--bg); padding: 2px 9px; border-radius: 999px; }
.cat-list { display: flex; flex-direction: column; padding: 0 14px 6px 64px; }
.cat-list a { display: flex; align-items: center; justify-content: space-between; padding: 12px 0; border-top: 1px solid var(--line); color: var(--ink-2); text-decoration: none; font-size: 15px; }
.cat-list a:first-child { border-top: 0; }
.cat-list a .ui { color: var(--ink-3); }

.how-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.how-list li { display: flex; gap: 14px; align-items: flex-start; padding: 15px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); }
.how-n { flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--ink); color: var(--bg); display: grid; place-items: center; font-weight: 700; font-size: 14px; }
.how-list b { font-size: 16px; }
.how-list p { color: var(--ink-2); font-size: 14.5px; margin-top: 2px; }
.m-fine { padding: 28px 16px 24px; font-size: 11.5px; line-height: 1.55; color: var(--ink-3); }

/* search sheet */
.sheet { position: fixed; inset: 0; z-index: 60; display: flex; flex-direction: column; background: var(--bg); opacity: 0; transform: translateY(14px); transition: opacity .22s, transform .22s; }
.sheet.in { opacity: 1; transform: none; }
.sheet-bar { display: flex; align-items: center; gap: 10px; padding: calc(var(--safe-t) + 10px) 14px 10px 14px; border-bottom: 1px solid var(--line); }
.sheet-input, .filter {
  flex: 1; display: flex; align-items: center; gap: 9px; height: 48px; padding: 0 16px;
  border-radius: 999px; background: var(--surface); border: 1px solid var(--line); color: var(--ink-3);
}
.sheet-input input, .filter input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; font-size: 16px; color: var(--ink); }
.sheet-input input::-webkit-search-cancel-button, .filter input::-webkit-search-cancel-button { display: none; }
.sheet-body { flex: 1; overflow-y: auto; padding: 18px 16px calc(28px + var(--safe-b)); overscroll-behavior: contain; }
.sheet-sec { margin-bottom: 24px; }
.sheet-sec > b { display: block; margin-bottom: 10px; font-size: 12.5px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--ink-3); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  position: relative; display: inline-flex; align-items: center; gap: 6px; padding: 9px 15px; border-radius: 999px;
  background: var(--surface); border: 1.5px solid var(--line); font-size: 14.5px; font-weight: 600; text-decoration: none; cursor: pointer;
  transition: border-color .15s, background-color .15s;
}
label.chip input { position: absolute; opacity: 0; pointer-events: none; }
label.chip:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); }
label.chip:has(input:focus-visible) { outline: 2.5px solid var(--ink); outline-offset: 2px; }

.res-list { display: flex; flex-direction: column; gap: 8px; }
.res { display: flex; align-items: center; gap: 12px; padding: 10px 14px 10px 10px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); text-decoration: none; }
.res > .ui { color: var(--ink-3); }
.res-ill { display: block; width: 38px; height: 38px; margin-left: 4px; flex: none; }
.res-t { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.3; }
.res-t small { color: var(--ink-3); font-size: 13px; }
.res-empty { padding: 18px; border-radius: 16px; background: var(--surface); color: var(--ink-2); }
.res-empty a { font-weight: 600; }

/* services / saved */
.page-h { padding-top: 12px; }
.page-h h1 { font: 500 36px/1.08 var(--display); letter-spacing: -.02em; margin: 6px 0 8px; }
.page-h .filter { margin-bottom: 14px; }
#svc-all .sec-h { margin-top: 26px; }
.saved { display: grid; gap: 10px; }
.saved-card { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); }
.saved-card .tile-ill { width: 46px; height: 46px; margin: 0; flex: none; }
.saved-t { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.35; }
.saved-t small { color: var(--ink-3); font-size: 13px; }
.saved-p { font-weight: 750; font-size: 17px; margin-top: 4px; font-variant-numeric: tabular-nums; }
.saved-act { display: flex; align-items: center; gap: 2px; }
.empty { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 40px 16px; text-align: center; }
.empty .ill { width: 76px; height: 76px; }
.empty b { font-size: 18px; }
.empty p { color: var(--ink-2); margin-bottom: 10px; }

/* ───────── estimator (phone) ───────── */
.est-page { padding-bottom: 32px; }
.est-intro { display: none; }

/* answers so far: chips that jump back to a step */

/* each step fills the screen; answering glides to the next */
.step { padding: 18px 16px 34px; scroll-margin-top: calc(var(--hdr) + var(--safe-t) + 48px); }
.step.active { min-height: calc(100svh - var(--hdr) - var(--safe-t) - 48px); }
.step.enter { animation: rise .5s cubic-bezier(.2, .7, .2, 1) backwards; }   /* not held after: a transform left on the step would pin the floating button to it */
.step-k { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 6px; padding: 4px 10px 4px 4px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: 12.5px; font-weight: 700; }
.step-k img { width: 22px; height: 22px; object-fit: contain; }
.step-q { font: 500 27px/1.12 var(--display); letter-spacing: -.018em; margin-bottom: 14px; text-wrap: balance; }
.step-help { color: var(--ink-2); font-size: 15px; margin: -6px 0 12px; text-wrap: pretty; }
.is-results .step-q { font-size: 24px; margin-bottom: 8px; }

/* answer tiles */
.opts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.opt {
  position: relative; display: flex; flex-direction: column; align-items: stretch; width: 100%; min-height: 76px;
  border-radius: 18px; background: var(--surface); border: 1.5px solid var(--line); text-align: left; overflow: hidden;
  transition: border-color .15s, background-color .15s, transform .1s, box-shadow .2s;
}
.opt:active { transform: scale(.97); }
.opt-img { display: block; aspect-ratio: 5 / 4; padding: 10px 14px 0; }
.opt-img img { width: 100%; height: 100%; object-fit: contain; -webkit-user-select: none; user-select: none; }
.opt-t { display: flex; flex-direction: column; gap: 1px; padding: 6px 12px 12px; min-width: 0; }
.opt-t b { font-size: 15px; font-weight: 650; line-height: 1.2; letter-spacing: -.005em; }
.opt-t small { color: var(--ink-2); font-size: 12.5px; line-height: 1.3; }
.opt-dot { position: absolute; top: 9px; right: 9px; width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; border: 1.5px solid var(--line-2); color: transparent; background: var(--surface); transition: .15s; }
.opt.on { border-color: var(--accent); background: color-mix(in srgb, var(--accent-soft) 45%, var(--surface)); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 25%, transparent); }
.opt.on .opt-dot, .style.on .opt-dot { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.opts.multi .opt-dot { border-radius: 7px; }
.next { margin-top: 12px; }
.next:disabled { opacity: 1; background: var(--surface-2); border-color: var(--surface-2); color: var(--ink-3); }
/* text-only answers: big and centred */
.opt.plain { justify-content: center; min-height: 88px; padding: 14px 36px 14px 16px; }
.opt.plain .opt-t { padding: 0; }
.opt.plain .opt-t b { font-size: 16.5px; }
.opts.txt { grid-template-columns: 1fr; }
.opts.txt .opt.plain { min-height: 68px; }
/* a lone text answer among picture ones (e.g. "Not sure") spans the row */
.opts.pics .opt.plain { grid-column: 1 / -1; min-height: 60px; }
/* sizes: a big number with a plain-English hint */
.opt.num { align-items: center; justify-content: center; gap: 0; min-height: 96px; padding: 12px 8px; text-align: center; }
.opt.num b { font-size: 24px; font-weight: 700; letter-spacing: -.02em; font-variant-numeric: tabular-nums; line-height: 1.1; }
.opt.num small { color: var(--ink-3); font-size: 12px; font-weight: 500; }
.opt.num .hint { margin-top: 6px; padding: 3px 9px; border-radius: 999px; background: var(--bg); color: var(--ink-2); font-size: 12px; font-weight: 600; }
.opt.num.on .hint { background: var(--accent); color: var(--accent-ink); }
.opts.size.n5 .opt.num:last-child, .opts.size.n3 .opt.num:last-child { grid-column: 1 / -1; }
.custom { margin-top: 10px; }
.custom-row { display: flex; align-items: center; gap: 8px; padding: 6px 6px 6px 16px; border-radius: 17px; background: var(--surface); border: 1.5px solid var(--line); }
.custom-row:focus-within, .custom-row.on { border-color: var(--accent); }
.custom-row input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; font-size: 17px; font-weight: 600; color: var(--ink); }
.custom-row input::placeholder { color: var(--ink-3); font-weight: 500; }
.custom-row span { color: var(--ink-3); font-size: 14px; }
.custom-row .btn { min-height: 42px; }

/* styles: photo tiles */
.styles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.style { position: relative; border-radius: 18px; background: var(--surface); border: 1.5px solid var(--line); overflow: hidden; transition: border-color .15s, box-shadow .2s; }
.style.on { border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 25%, transparent); }
.style-pick { display: block; width: 100%; text-align: left; }
.style-img { display: block; aspect-ratio: 4 / 3; background: var(--surface-2); overflow: hidden; }
.style-img img { width: 100%; height: 100%; object-fit: cover; }
.style-t { display: flex; flex-direction: column; padding: 8px 36px 9px 11px; line-height: 1.2; }
.style-t b { font-size: 15px; }
.style .opt-dot { top: auto; bottom: 12px; right: 10px; }
.zoom { position: absolute; top: 8px; right: 8px; z-index: 2; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: rgb(0 0 0 / .45); color: #fff; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }

/* the photo invitation on the results step */
.photo-card { display: flex; flex-direction: column; gap: 10px; margin-bottom: 12px; padding: 12px; border-radius: 18px; background: var(--surface); border: 1.5px dashed var(--line-2); }
.photo-card .btn { min-height: 40px; padding: 0 14px; font-size: 14px; }
@media (max-width: 599px) { .photo-card-t small { display: none; } .photo-card.has .photo-card-t small { display: block; } }
.photo-card.has { flex-direction: row; align-items: center; border-style: solid; }
.photo-card-t { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1; }
.photo-card-t b { display: flex; align-items: center; gap: 6px; font-size: 15px; }
.photo-card-t b svg { color: var(--ink); }
.photo-card-t small { color: var(--ink-2); font-size: 13px; line-height: 1.4; }
.photo-card-t em { font-style: normal; font-weight: 700; color: var(--ink); }
.photo-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.photo-btns .btn, .photo-card label.btn { cursor: pointer; }
.photo-thumb { width: 48px; height: 48px; border-radius: 10px; object-fit: cover; flex: none; }
.photo-card.has .photo-card-t b { font-size: 14px; }
.photo-card.has .photo-card-t small { font-size: 12px; }
.photo-card.over { border-color: var(--accent); background: var(--accent-soft); }
.photo-err { padding: 10px 12px; border-radius: 12px; background: var(--danger-soft); color: var(--danger); font-size: 14px; }
.row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }

/* budgets: a swipe row on phones, each card led by its picture */
.car {
  display: flex; gap: 10px; margin: 0 -16px; padding: 4px 16px 8px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 16px; scrollbar-width: none; overscroll-behavior-x: contain;
}
.car::-webkit-scrollbar { display: none; }
.car > * { flex: none; scroll-snap-align: center; }
.tiers > .tier { width: 86%; }
.dots { display: flex; justify-content: center; gap: 6px; margin-top: 6px; }
.dots i { width: 6px; height: 6px; border-radius: 3px; background: var(--line-2); transition: width .25s, background-color .25s; }
.dots i.on { width: 20px; background: var(--ink); }

.tier { display: flex; flex-direction: column; border-radius: 22px; background: var(--surface); border: 1.5px solid var(--line); overflow: hidden; box-shadow: var(--shadow-1); transition: border-color .2s, box-shadow .2s; }
.tier.on { border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 25%, transparent); }
.tier-fig { position: relative; margin: 0; aspect-ratio: 4 / 5; max-height: 44svh; width: 100%; background: var(--surface-2); overflow: hidden; cursor: zoom-in; }
.tier-fig > img { width: 100%; height: 100%; object-fit: cover; }
/* a bundle shows every product picked, side by side */
.tier-fig.collage { display: grid; gap: 3px; background: var(--surface); }
.tier-fig.collage.c2 { grid-template-columns: 1fr 1fr; }
.tier-fig.collage.c3 { grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; }
.tier-fig.collage.c3 > img:first-child { grid-row: 1 / 3; }
.tier-fig.collage.c4 { grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; }
.tier-fig.collage > img { min-height: 0; }
.parts { display: grid; gap: 8px; list-style: none; margin: 8px 0 0; padding: 0; }
.parts li { display: flex; align-items: center; gap: 10px; }
.parts img { width: 34px; height: 34px; object-fit: contain; flex: none; }
.parts span { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.25; }
.parts b { font-size: 13.5px; }
.parts small { color: var(--ink-3); font-size: 12px; }
.parts em { font-style: normal; font-weight: 700; font-size: 13.5px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.parts + .incl { margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--line); }
.tier-fig > img.blurred { filter: blur(16px) saturate(.8); transform: scale(1.12); }
/* the wait, drawn as a blueprint over the photo */
.sketch { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; pointer-events: none; }
.sketch + .fig-load { background: transparent; }
.fig-load { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding: 20px; text-align: center; color: #fff; background: rgb(0 0 0 / .28); overflow: hidden; }
.fig-load::before { content: ''; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 30%, rgb(255 255 255 / .18) 50%, transparent 70%); transform: translateX(-100%); animation: sweep 1.8s ease-in-out infinite; }
.fig-load b { font-size: 15px; }
.fig-load small { font-size: 12.5px; opacity: .85; }
.fig-load.err { background: rgb(0 0 0 / .6); }
.fig-load.err::before { display: none; }
.fig-load .btn { margin-top: 6px; color: var(--ink); }
.spinner { width: 34px; height: 34px; border-radius: 50%; border: 3px solid rgb(255 255 255 / .3); border-top-color: #fff; animation: spin .9s linear infinite; margin-bottom: 4px; }
.fig-badge { position: absolute; left: 10px; bottom: 10px; }
.tier-art { position: relative; aspect-ratio: 4 / 3; display: grid; place-items: center; background: var(--bg); }
.tier-art .ill { width: 110px; height: 110px; }
.tier-art.lvl-2 { background: var(--accent-soft); }
.tier-art.lvl-3 { background: var(--green-soft); }
.lvl { position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); display: flex; gap: 4px; }
.lvl i { width: 22px; height: 5px; border-radius: 3px; background: var(--line-2); }
.lvl-1 .lvl i:nth-child(-n+1), .lvl-2 .lvl i:nth-child(-n+2), .lvl-3 .lvl i { background: var(--accent); }
.tier-b { flex: 1; display: flex; flex-direction: column; gap: 4px; padding: 12px 14px 14px; }
.tier-top { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.tier-n { font: 600 21px/1.2 var(--display); letter-spacing: -.01em; }
.tier-tag { color: var(--ink-3); font-size: 13px; text-align: right; }
.badge { padding: 4px 9px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font-size: 10.5px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; white-space: nowrap; }
.tier-mo { display: flex; align-items: baseline; gap: 4px; margin-top: 2px; }
.tier-mo b { font-size: 30px; font-weight: 750; letter-spacing: -.03em; font-variant-numeric: tabular-nums; line-height: 1.1; }
.tier-mo span { color: var(--ink-2); font-size: 14px; font-weight: 550; }
.tier-total { color: var(--ink-3); font-size: 13px; font-variant-numeric: tabular-nums; margin-top: 2px; }
.tiers-wrap { position: relative; }
.tiers-wrap.locked .tier-fig img, .tiers-wrap.locked .tier-mo, .tiers-wrap.locked .tier-total { filter: blur(14px); }
.tiers-wrap.locked .tier-fig img { transform: scale(1.06); }
.tiers-wrap.locked .tier-b .btn, .tiers-wrap.locked .zoom { visibility: hidden; }
/* designs keep generating under the blur; the progress spinner would fight the reveal button */
.tiers-wrap.locked .fig-load { display: none; }
/* no full-screen buttons on the phone style grid: a tap picks */
body:not(.is-desk) .style .zoom { display: none; }
.reveal { position: absolute; inset: 0; z-index: 3; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; pointer-events: none; }
.reveal .btn { pointer-events: auto; box-shadow: var(--shadow-2); }
.reveal small { padding: 4px 10px; border-radius: 999px; background: rgb(255 255 255 / .85); color: var(--ink-2); font-size: 13px; font-weight: 600; }
.incl-d { margin: 4px 0 8px; }
.incl-d summary { display: flex; align-items: center; gap: 4px; list-style: none; cursor: pointer; font-size: 13.5px; font-weight: 600; color: var(--ink-2); }
.incl-d summary::-webkit-details-marker { display: none; }
.incl-d summary .ui { transition: transform .2s; }
.incl-d[open] summary .ui { transform: rotate(180deg); }
.incl { display: grid; gap: 6px; list-style: none; margin: 8px 0 0; padding: 0; }
.incl li { display: flex; gap: 8px; align-items: flex-start; color: var(--ink-2); font-size: 13.5px; line-height: 1.4; }
.incl .ui { color: var(--green); margin-top: 2px; }
.notes { margin: 14px 0 0; padding: 12px 14px 12px 30px; border-radius: 14px; background: var(--surface); color: var(--ink-2); font-size: 14px; }
.fine { margin-top: 16px; color: var(--ink-3); font-size: 11.5px; line-height: 1.55; }

/* ───────── the Design Studio: one picture, one price, everything changeable ───────── */
.studio { position: relative; display: grid; gap: 10px; }
.st-pic { position: relative; }
/* phones: the photo controls in one slim row under the picture */
.photo-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; margin-top: 16px; }
.photo-bar .photo-btns { flex: 1; }
.photo-bar .btn { min-height: 40px; padding: 0 14px; font-size: 14px; }
.photo-note { display: inline-flex; align-items: center; gap: 6px; min-width: 0; flex: 1; color: var(--ink-2); font-size: 13px; line-height: 1.3; }
.photo-note > span { min-width: 0; }
.photo-bar .photo-err { flex-basis: 100%; }
.st-media { position: relative; }
.st-fig { position: relative; width: calc(100% + 32px); margin: 0 -16px; aspect-ratio: 4 / 5; max-height: 50svh; background: var(--surface-2); overflow: hidden; cursor: zoom-in; }
.st-fig > img { width: 100%; height: 100%; object-fit: cover; }
/* the customer's photo (and designs made from it) are shown whole: full width
   or full height, whichever fits, never cropped */
.st-fig.photo { background: #141311; max-height: 68svh; }
.st-fig.photo > img, .st-fig.photo .rf-canvas { object-fit: contain; }
.st-fig > img.blurred { filter: blur(16px) saturate(.8); transform: scale(1.12); }
.st-fig.collage { display: grid; gap: 3px; background: var(--surface); }
.st-fig.collage.c2 { grid-template-columns: 1fr 1fr; }
.st-fig.collage.c3, .st-fig.collage.c4 { grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; }
.st-fig.collage.c3 > img:first-child { grid-row: 1 / 3; }
.st-fig.collage > img { min-height: 0; width: 100%; height: 100%; object-fit: cover; }
.st-media .tier-art { border-radius: var(--r); }
.ba { position: absolute; left: 12px; bottom: 12px; z-index: 2; padding: 7px 14px; border-radius: 999px; background: rgb(0 0 0 / .55); color: #fff; font-size: 13px; font-weight: 650; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.ba.on { background: var(--surface); color: var(--ink); }

.rf { position: absolute; inset: 0; }
.rf-canvas { display: block; width: 100%; height: 100%; object-fit: cover; }
.ai-btn { position: absolute; right: 12px; bottom: 12px; z-index: 2; display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; background: var(--surface); color: var(--ink); font-size: 13.5px; font-weight: 700; box-shadow: var(--shadow-1); }
.fig-chip { position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: rgb(0 0 0 / .6); color: #fff; font-size: 13.5px; font-weight: 600; white-space: nowrap; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.spinner.sm { width: 16px; height: 16px; border-width: 2px; margin: 0; }
.studio.locked .ai-btn, .studio.locked .fig-chip { visibility: hidden; }
.studio.locked .rf-canvas { filter: blur(14px); transform: scale(1.06); }

/* the price stays in view under the header while the options scroll */
.st-price { position: sticky; top: calc(var(--hdr) + var(--safe-t)); z-index: 5; display: flex; align-items: center; justify-content: space-between; gap: 12px; width: calc(100% + 32px); margin: 0 -16px; padding: 10px 16px; background: color-mix(in srgb, var(--bg) 94%, transparent); -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid var(--line); }
.st-num { min-width: 0; }
.st-mo { display: flex; align-items: baseline; gap: 4px; }
.st-mo b { font-size: 28px; font-weight: 750; letter-spacing: -.03em; font-variant-numeric: tabular-nums; line-height: 1.1; }
.st-mo span { color: var(--ink-2); font-size: 14px; font-weight: 550; }
.st-total { color: var(--ink-3); font-size: 13px; font-variant-numeric: tabular-nums; }
.st-price { flex-wrap: wrap; }
.st-price .btn { flex: none; min-height: 44px; padding: 0 16px; font-size: 14.5px; }
.st-total b { color: var(--ink); font-weight: 750; }
.st-star { flex-basis: 100%; margin: 0; color: var(--ink-3); font-size: 10px; line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-align: center; }
.st-panel { display: grid; gap: 14px; }
.st-block { display: grid; gap: 7px; }
.st-h { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.st-h b { font-size: 15px; font-weight: 700; }
.st-h > span { color: var(--ink-3); font-size: 13px; text-align: right; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.st-note { color: var(--ink-3); font-size: 12.5px; line-height: 1.45; margin-top: -4px; }

/* styles: a swipe row of pictures, each with its price */
.st-styles, .sw-rail { display: flex; gap: 8px; margin: 0 -16px; padding: 6px 16px 6px; overflow-x: auto; scrollbar-width: none; scroll-snap-type: x proximity; scroll-padding-inline: 16px; overscroll-behavior-x: contain; }
.st-styles::-webkit-scrollbar, .sw-rail::-webkit-scrollbar { display: none; }
.st-style { flex: none; width: 112px; display: flex; flex-direction: column; gap: 1px; padding: 0 0 8px; border-radius: 14px; background: var(--surface); border: 1.5px solid var(--line); overflow: hidden; text-align: left; scroll-snap-align: start; transition: border-color .15s, box-shadow .2s; }
.st-style-img { display: block; aspect-ratio: 4 / 3; background: var(--surface-2); margin-bottom: 5px; }
.st-style-img img { width: 100%; height: 100%; object-fit: cover; }
.st-style b { padding: 0 9px; font-size: 13px; line-height: 1.2; }
.st-style small { padding: 0 9px; color: var(--ink-3); font-size: 12px; font-variant-numeric: tabular-nums; }
.st-style.on { border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 25%, transparent); }

/* finish level: a three-way switch */
.seg { display: grid; grid-template-columns: repeat(3, 1fr); padding: 4px; border-radius: 999px; background: var(--surface-2); }
.seg button { min-height: 40px; border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--ink-2); transition: background-color .15s, color .15s, box-shadow .15s; }
.seg button.on { background: var(--surface); color: var(--ink); box-shadow: var(--shadow-1); }

/* swatches: tap to swap, with what each one adds or saves */
.sw { flex: none; width: 76px; display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; scroll-snap-align: start; }
.sw-chip { width: 56px; height: 56px; border-radius: 50%; border: 1px solid rgb(0 0 0 / .08); box-shadow: inset 0 1px 2px rgb(255 255 255 / .5), 0 1px 2px rgb(0 0 0 / .08); transition: box-shadow .15s, transform .12s; }
.sw:active .sw-chip { transform: scale(.94); }
.sw.on .sw-chip { box-shadow: 0 0 0 2px var(--bg), 0 0 0 4.5px var(--accent); }
.sw-n { margin-top: 3px; font-size: 11.5px; line-height: 1.45; min-height: 2.9em; color: var(--ink-2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.sw.on .sw-n { color: var(--ink); font-weight: 650; }
/* what a swatch adds or saves: a tag on the foot of its circle, so every
   swatch is a circle and a name, and every rail spaces the same */
.sw { position: relative; }
.sw-d { position: absolute; top: 43px; left: 50%; transform: translateX(-50%); padding: 1px 6px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line-2); font-size: 10.5px; font-weight: 700; line-height: 1.35; color: var(--ink-2); font-variant-numeric: tabular-nums; white-space: nowrap; box-shadow: 0 1px 2px rgb(0 0 0 / .06); }
.sw-d:empty { display: none; }

/* extras: on/off chips */
.tg-row { display: flex; flex-wrap: wrap; gap: 8px; }
.tg { display: inline-flex; align-items: center; gap: 6px; padding: 9px 13px; border-radius: 999px; background: var(--surface); border: 1.5px solid var(--line); font-size: 14px; font-weight: 600; color: var(--ink-2); transition: border-color .15s, background-color .15s; }
.tg small { color: var(--ink-3); font-size: 12px; font-weight: 600; }
.tg.on { border-color: var(--accent); background: var(--accent-soft); color: var(--ink); }

/* project answers and measurements, editable in place */
.pj, .ms { display: grid; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); overflow: hidden; }
.pj-row, .ms-row { display: grid; gap: 8px; padding: 12px 14px; border-top: 1px solid var(--line); }
.pj-row:first-child, .ms-row:first-child { border-top: 0; }
.pj-row > span, .ms-row > span { font-size: 13.5px; font-weight: 600; color: var(--ink-2); }
.pj-opts { display: flex; flex-wrap: wrap; gap: 6px; }
.pj-opts button { padding: 7px 12px; border-radius: 999px; background: var(--bg); border: 1.5px solid transparent; font-size: 13.5px; font-weight: 600; color: var(--ink-2); }
.pj-opts button.on { border-color: var(--accent); background: var(--accent-soft); color: var(--ink); }
.ms-row { grid-template-columns: minmax(0, 1fr) 124px 52px; align-items: center; gap: 8px; }
.ms-row .pj-num { width: 124px; justify-content: space-between; }
.ms-row .pj-num input { width: 100%; min-width: 0; }
.ms-row .pj-num i { white-space: nowrap; }
.ms-row small { color: var(--ink-3); font-size: 11.5px; text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.pj-num { display: inline-flex; align-items: center; gap: 6px; padding: 4px 6px 4px 12px; border-radius: 12px; background: var(--bg); border: 1.5px solid var(--line); justify-self: start; }
.pj-num:focus-within { border-color: var(--accent); }
.pj-num input { width: 84px; border: 0; outline: 0; background: none; font-size: 16px; font-weight: 650; color: var(--ink); font-variant-numeric: tabular-nums; }
.pj-num i { font-style: normal; color: var(--ink-3); font-size: 13px; padding-right: 6px; }
.unit-tg { display: inline-flex; padding: 3px; border-radius: 999px; background: var(--surface-2); }
.unit-tg button { min-width: 38px; min-height: 28px; border-radius: 999px; font-size: 12.5px; font-weight: 700; color: var(--ink-3); }
.unit-tg button.on { background: var(--surface); color: var(--ink); box-shadow: var(--shadow-1); }

.facts { display: flex; flex-wrap: wrap; gap: 8px; }
.facts span { display: flex; flex-direction: column; padding: 8px 12px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); line-height: 1.25; }
.facts small { color: var(--ink-3); font-size: 11.5px; font-weight: 600; }
.facts b { font-size: 15px; font-variant-numeric: tabular-nums; }

/* what's in the price */
.st-break { border-radius: 16px; background: var(--surface); border: 1px solid var(--line); padding: 4px 14px; }
.st-break summary { display: flex; align-items: center; justify-content: space-between; gap: 6px; min-height: 46px; list-style: none; cursor: pointer; font-size: 15px; font-weight: 700; }
.st-break summary::-webkit-details-marker { display: none; }
.st-break summary .ui { transition: transform .2s; color: var(--ink-3); }
.st-break[open] summary .ui { transform: rotate(180deg); }
.li { width: 100%; border-collapse: collapse; margin: 2px 0 10px; font-size: 13.5px; }
.li td { padding: 8px 0; border-top: 1px solid var(--line); vertical-align: top; }
.li td:last-child { text-align: right; padding-left: 12px; white-space: nowrap; font-weight: 650; font-variant-numeric: tabular-nums; }
.li td small { display: block; color: var(--ink-3); font-size: 12px; }
.li tr.sub td { color: var(--ink-2); }
.li tr.tot td { font-weight: 750; font-size: 15px; border-top: 1.5px solid var(--ink); }
.st-break .st-note { margin: 0 0 12px; }

/* until the customer reveals, the picture and the numbers are blurred */
.studio.locked .st-fig > img, .studio.locked .st-mo b, .studio.locked .st-total, .studio.locked .st-style small, .studio.locked .sw-d, .studio.locked .tg small, .studio.locked .st-break, .studio.locked .parts em { filter: blur(10px); }
.studio.locked .st-fig > img { filter: blur(14px); transform: scale(1.06); }
.studio.locked .zoom, .studio.locked .ba, .studio.locked .fig-load { visibility: hidden; }
.studio.locked .reveal { position: absolute; inset: 0; z-index: 3; }

/* ───────── the full-screen camera ───────── */
.cam { --cam-ok: #34c759; --cam-bad: #ff453a; position: fixed; inset: 0; z-index: 90; height: 100dvh; background: #000; color: #fff; overflow: hidden; touch-action: none; }
.cam video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cam-grid { position: absolute; inset: 0; pointer-events: none; }
.cam-grid i { position: absolute; background: rgb(255 255 255 / .28); }
.cam-grid i:nth-child(1), .cam-grid i:nth-child(2) { top: 0; bottom: 0; width: 1px; }
.cam-grid i:nth-child(1) { left: 33.333%; } .cam-grid i:nth-child(2) { left: 66.666%; }
.cam-grid i:nth-child(3), .cam-grid i:nth-child(4) { left: 0; right: 0; height: 1px; }
.cam-grid i:nth-child(3) { top: 33.333%; } .cam-grid i:nth-child(4) { top: 66.666%; }
.cam-level { position: absolute; inset: 0; pointer-events: none; }
.cam-horizon { position: absolute; left: 12%; right: 12%; top: 50%; height: 3px; border-radius: 2px; background: var(--cam-bad); box-shadow: 0 0 6px rgb(0 0 0 / .5); transition: background-color .15s; }
/* the target: a circle in the middle that flashes red until the dot (the
   phone's aim) sits in it, then solid green */
.cam-cross { position: absolute; left: 50%; top: 50%; width: 44px; height: 44px; transform: translate(-50%, -50%); border: 3px solid var(--cam-bad); border-radius: 50%; animation: cam-flash 0.9s ease-in-out infinite; }
.cam-cross::after { content: ''; position: absolute; left: 50%; top: 50%; width: 12px; height: 12px; border-radius: 50%; background: var(--cam-bad); transform: translate(-50%, -50%); box-shadow: 0 0 0 2px rgb(255 255 255 / .85); }
.cam.straight .cam-horizon { background: var(--cam-ok); }
.cam.level .cam-cross { border-color: var(--cam-ok); animation: none; box-shadow: 0 0 0 4px rgb(52 199 89 / .3); }
.cam.level .cam-cross::after { background: var(--cam-ok); }
/* which way to tilt: a yellow outline arrow with a wave of light running away from the middle */
.cam-arrow { position: absolute; left: 50%; display: none; flex-direction: column; align-items: center; transform: translateX(-50%); }
.cam-arrow.up { bottom: calc(50% + 30px); flex-direction: column-reverse; }
.cam-arrow.down { top: calc(50% + 30px); }
.cam-arrow i { width: 24px; height: 24px; margin: -6px 0; border: solid var(--accent); border-width: 3px 0 0 3px; transform: rotate(45deg); opacity: .18; animation: cam-wave 1.1s ease-in-out infinite; filter: drop-shadow(0 0 5px rgb(254 189 23 / .75)); }
.cam-arrow.down i { transform: rotate(225deg); }
.cam-arrow i:nth-child(2) { animation-delay: .18s; }
.cam-arrow i:nth-child(3) { animation-delay: .36s; }
.cam.aim-up .cam-arrow.up, .cam.aim-down .cam-arrow.down { display: flex; }
@keyframes cam-flash { 50% { opacity: .25; } }
@keyframes cam-wave { 0%, 100% { opacity: .18; } 35% { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .cam-cross, .cam-arrow i { animation: none; opacity: 1; } }
.cam-top { position: absolute; left: 0; right: 0; top: 0; display: flex; align-items: flex-start; gap: 8px; padding: calc(var(--safe-t) + 10px) 12px 30px; background: linear-gradient(rgb(0 0 0 / .55), transparent); }
.cam-coach { flex: 1; margin-top: 10px; font-size: 14.5px; font-weight: 600; line-height: 1.35; text-align: center; text-shadow: 0 1px 4px rgb(0 0 0 / .6); }
.cam-x, .cam-torch { flex: none; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; background: rgb(0 0 0 / .35); color: #fff; }
.cam-torch.on { background: var(--accent); color: var(--accent-ink); }
.cam-torch[hidden] { display: block !important; visibility: hidden; }
.cam-bottom { position: absolute; left: 0; right: 0; bottom: 0; display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 40px 24px calc(var(--safe-b) + 22px); background: linear-gradient(transparent, rgb(0 0 0 / .6)); }
.cam-state { padding: 6px 14px; border-radius: 999px; background: rgb(0 0 0 / .45); font-size: 14px; font-weight: 650; }
.cam.level .cam-state { background: var(--cam-ok); color: #fff; }
.cam:not(.straight):not(.nosensor) .cam-state { background: rgb(255 69 58 / .9); }
.cam.nosensor .cam-level { display: none; }
.cam-row { width: 100%; max-width: 420px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; }
.cam-side { justify-self: center; width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; background: rgb(255 255 255 / .16); color: #fff; font-size: 14px; font-weight: 700; cursor: pointer; }
.cam-zoom:empty { visibility: hidden; }
.cam-shutter { width: 78px; height: 78px; display: grid; place-items: center; border-radius: 50%; border: 4px solid #fff; background: transparent; }
.cam-shutter i { width: 62px; height: 62px; border-radius: 50%; background: #fff; transition: background-color .15s, transform .1s; }
.cam-shutter:active i { transform: scale(.92); }
.cam.level .cam-shutter { border-color: var(--cam-ok); }
.cam.level .cam-shutter i { background: var(--cam-ok); }
.cam-shutter:disabled { opacity: .6; }

/* ───────── live AR tape measure (WebXR dom-overlay) ───────── */
.arm { position: fixed; inset: 0; color: #fff; font-family: var(--sans); }
.arm-reticle { position: absolute; left: 0; top: 0; width: 44px; height: 44px; border: 3px solid var(--accent); border-radius: 50%; box-shadow: 0 0 0 2px rgb(0 0 0 / .35); display: none; pointer-events: none; }
.arm-lines { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.arm-lines line { stroke: var(--accent); stroke-width: 3; }
.arm-lines circle { fill: #fff; stroke: var(--accent); stroke-width: 3; }
.arm-top { position: absolute; left: 0; right: 0; top: 0; display: flex; gap: 8px; align-items: flex-start; padding: calc(var(--safe-t) + 10px) 12px 24px; background: linear-gradient(rgb(0 0 0 / .55), transparent); }
.arm-x { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; background: rgb(0 0 0 / .35); color: #fff; flex: none; }
.arm-tip { flex: 1; margin-top: 10px; font-size: 14.5px; font-weight: 600; text-align: center; text-shadow: 0 1px 4px rgb(0 0 0 / .6); }
.arm-bottom { position: absolute; left: 0; right: 0; bottom: 0; display: grid; gap: 12px; padding: 30px 16px calc(var(--safe-b) + 18px); background: linear-gradient(transparent, rgb(0 0 0 / .65)); }
.arm-read { justify-self: center; padding: 8px 16px; border-radius: 999px; background: rgb(0 0 0 / .5); font-size: 22px; font-weight: 750; font-variant-numeric: tabular-nums; }
.arm-read:empty { display: none; }
.arm-apply { display: grid; gap: 6px; justify-items: center; font-size: 13px; font-weight: 600; }
.arm-targets { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.arm-targets button { padding: 8px 12px; border-radius: 999px; background: rgb(255 255 255 / .92); color: var(--ink); font-size: 13.5px; font-weight: 650; }
.arm-row { display: grid; grid-template-columns: auto 1fr; gap: 10px; }
.st-block > .btn.block { margin-top: 2px; }

/* 3D and AR */
.st-acts { display: flex; gap: 8px; margin-top: 8px; }
.st-acts .btn { flex: 1; }
.v3d { position: fixed; inset: 0; z-index: 90; height: 100dvh; background: #111; touch-action: none; }
.v3d canvas { width: 100%; height: 100%; display: block; }
.v3d-x { position: absolute; top: calc(var(--safe-t) + 12px); right: 12px; }
.v3d-tip { position: absolute; left: 0; right: 0; bottom: calc(var(--safe-b) + 24px); text-align: center; color: #fff; font-size: 14px; font-weight: 600; text-shadow: 0 1px 4px rgb(0 0 0 / .6); pointer-events: none; }
.ar-card { max-width: 720px; }
.ar-card model-viewer { width: 100%; height: min(62svh, 520px); border-radius: 18px; background: var(--surface-2); --poster-color: transparent; }
.ar-go { position: absolute; left: 50%; bottom: 16px; transform: translateX(-50%); }
.ar-card .modal-fine { margin-top: 12px; }

/* booking */
.sum { display: flex; align-items: center; gap: 12px; margin: 0 0 16px; padding: 10px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); }
.sum > div { display: flex; flex-direction: column; line-height: 1.35; min-width: 0; }
.sum-img { width: 64px; height: 64px; border-radius: 12px; object-fit: cover; flex: none; background: var(--bg); }
.sum b { font-size: 14px; }
.sum-p { font-size: 20px; font-weight: 750; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.sum small { color: var(--green); font-size: 13px; }
.book { display: grid; gap: 16px; margin-top: 4px; }
.f2 { display: grid; gap: 16px; }
.fld { display: flex; flex-direction: column; gap: 6px; }
.fld span, fieldset legend { font-size: 13.5px; font-weight: 600; color: var(--ink-2); }
.fld i { font-weight: 400; font-style: normal; color: var(--ink-3); }
.fld input { height: 54px; padding: 0 15px; border-radius: 14px; border: 1.5px solid var(--line-2); background: var(--surface); color: var(--ink); font-size: 16px; outline: 0; transition: border-color .15s, box-shadow .15s; }
.fld input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 20%, transparent); }
.upper { text-transform: uppercase; }
fieldset { border: 0; margin: 0; padding: 0; }
fieldset legend { padding: 0; margin-bottom: 8px; }
.check { display: flex; align-items: flex-start; gap: 10px; color: var(--ink-2); font-size: 14px; line-height: 1.45; }
.check input { flex: none; width: 21px; height: 21px; margin: 0; accent-color: var(--accent); }
.form-err { padding: 10px 12px; border-radius: 12px; background: var(--danger-soft); color: var(--danger); font-size: 14px; }
.booked p { color: var(--ink-2); }
.booked .next { list-style: none; counter-reset: n; margin: 18px 0 0; padding: 0; display: grid; gap: 10px; }
.booked .next li { counter-increment: n; position: relative; display: flex; flex-direction: column; padding: 14px 14px 14px 56px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); }
.booked .next li::before { content: counter(n); position: absolute; left: 14px; top: 14px; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: var(--green); color: #fff; font-size: 13px; font-weight: 700; }
.booked .next span { color: var(--ink-2); font-size: 14px; }

/* full-screen viewer */
.lb { position: fixed; inset: 0; z-index: 80; background: #000; opacity: 0; transition: opacity .2s; outline: 0; }
.lb.in { opacity: 1; }
.lb-track { display: flex; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior: contain; }
.lb-track::-webkit-scrollbar { display: none; }
.lb-item { position: relative; flex: none; width: 100%; height: 100%; margin: 0; scroll-snap-align: center; scroll-snap-stop: always; }
.lb-item img { width: 100%; height: 100%; object-fit: contain; }
.lb-item figcaption { position: absolute; left: 0; right: 0; bottom: 0; display: flex; flex-direction: column; gap: 2px; padding: 60px 20px calc(48px + var(--safe-b)); background: linear-gradient(transparent, rgb(0 0 0 / .78)); color: #fff; }
.lb-item figcaption b { font: 500 25px/1.15 var(--display); }
.lb-item figcaption span { font-size: 14.5px; opacity: .85; }
.lb-x { position: absolute; top: calc(var(--safe-t) + 12px); right: 12px; width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; background: rgb(255 255 255 / .16); color: #fff; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.lb-nav { display: none; }
.lb-dots { position: absolute; left: 0; right: 0; bottom: calc(18px + var(--safe-b)); display: flex; justify-content: center; gap: 6px; pointer-events: none; }
.lb-dots i { width: 6px; height: 6px; border-radius: 3px; background: rgb(255 255 255 / .4); transition: width .25s; }
.lb-dots i.on { width: 20px; background: #fff; }

.toast { position: fixed; left: 50%; bottom: calc(40px + var(--safe-b)); z-index: 90; transform: translate(-50%, 20px); padding: 11px 18px; border-radius: 999px; background: var(--chrome); color: var(--chrome-ink); font-size: 14.5px; font-weight: 600; opacity: 0; transition: .25s; pointer-events: none; }
.toast.in { opacity: 1; transform: translate(-50%, 0); }

@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes sweep { to { transform: translateX(100%); } }
/* desktop tile rows: 4, 6 or 8 across, so the 24 popular tiles always fill their rows */
@media (min-width: 1100px) { body.is-desk .tiles { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
@media (min-width: 1280px) {
  body.is-desk .tiles { grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 12px; }
  body.is-desk .tile { min-height: 164px; padding: 14px 10px; }
  body.is-desk .tile-ill { width: 88px; height: 88px; }
  body.is-desk .tile-name { font-size: 15px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }

/* ───────── tablet (touch, 600px and up) ───────── */
@media (min-width: 600px) {
  body:not(.is-desk) .opts.pics { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  body:not(.is-desk) .opts.pics.n4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  body:not(.is-desk) .opts.pics.n2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body:not(.is-desk) .opts.size { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  body:not(.is-desk) .opts.size.n5 .opt.num:last-child, body:not(.is-desk) .opts.size.n3 .opt.num:last-child { grid-column: auto; }
  body:not(.is-desk) .opts.size.n4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  body:not(.is-desk) .opts.txt { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body:not(.is-desk) .styles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  body:not(.is-desk) .st-fig { width: 100%; margin: 0; border-radius: var(--r); max-height: 70svh; }
  body:not(.is-desk) .st-price { width: 100%; margin: 0; border-radius: 0 0 16px 16px; }
  body:not(.is-desk) .tier-fig { max-height: none; }
  body:not(.is-desk) .step-q { font-size: 31px; }
  body:not(.is-desk) .f2 { grid-template-columns: 1fr 1fr; }
  body:not(.is-desk) .photo-card { flex-direction: row; align-items: center; }
  body:not(.is-desk) .photo-btns { flex: none; }
}

/* desktop-only pieces are hidden on phones */
.dh, .foot { display: none; }


/* the reveal form: a bottom sheet on phones, a centred card on desktop */
.modal { position: fixed; inset: 0; z-index: 70; display: flex; align-items: flex-end; justify-content: center; background: rgb(15 13 10 / .45); opacity: 0; transition: opacity .2s; }
.modal.in { opacity: 1; }
.modal-card { position: relative; width: 100%; max-width: 480px; max-height: 92svh; overflow: auto; padding: 24px 20px calc(20px + var(--safe-b)); border-radius: 24px 24px 0 0; background: var(--bg); transform: translateY(24px); transition: transform .25s cubic-bezier(.2, .7, .2, 1); }
.modal.in .modal-card { transform: none; }
.modal-card h2 { font: 500 26px/1.1 var(--display); letter-spacing: -.02em; margin-bottom: 16px; }
.modal-x { position: absolute; top: 14px; right: 12px; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; color: var(--ink-2); }
.reveal-form { display: grid; gap: 14px; }
.modal-fine { color: var(--ink-3); font-size: 12px; line-height: 1.45; text-align: center; }
.fld.ac { position: relative; display: flex; flex-direction: column; gap: 6px; }
.fld.ac label { font-size: 13.5px; font-weight: 600; color: var(--ink-2); }
.fld.ac input { height: 54px; padding: 0 15px; border-radius: 14px; border: 1.5px solid var(--line-2); background: var(--surface); color: var(--ink); font-size: 16px; outline: 0; }
.fld.ac input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 20%, transparent); }
.ac-list { position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 5; display: flex; flex-direction: column; padding: 6px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-2); }
.ac-item { display: flex; align-items: center; gap: 10px; padding: 10px; border-radius: 11px; text-align: left; }
.ac-item .ui { color: var(--ink-3); }
.ac-item span { display: flex; flex-direction: column; min-width: 0; line-height: 1.3; }
.ac-item b { font-size: 15px; font-weight: 600; }
.ac-item small { color: var(--ink-3); font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ac-item.on, .ac-item:hover { background: var(--bg); }
.book-who { color: var(--ink-3); font-size: 13px; text-align: center; }
.step-back { display: inline-flex; align-items: center; gap: 4px; margin-top: 14px; color: var(--ink-2); font-size: 14px; font-weight: 600; }
.step-back:hover { color: var(--ink); }

/* ───────── desktop ───────── */
/* same query as `desk` in app.js: a mouse-sized screen, or a very wide one */
@media (min-width: 1100px), (min-width: 760px) and (hover: hover) and (pointer: fine) {
  .dh, .foot { display: block; }
  .announce { margin: 0; padding: 0 var(--gutter); min-height: 42px; justify-content: center; border-radius: 0; }
  .announce-t { flex: none; text-align: center; font-size: 14px; }
  .announce-t a:hover { text-decoration: underline; }
  .announce-x { position: absolute; right: calc(var(--gutter) - 8px); top: 50%; transform: translateY(-50%); }
  .dh { position: sticky; top: 0; z-index: 30; background: color-mix(in srgb, var(--bg) 85%, transparent); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
  .dh-in { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 28px; height: 72px; }
  .dh .logo-word { font-size: 32px; }
  .modal { align-items: center; }
  .modal-card { border-radius: 24px; padding: 30px 28px 26px; transform: translateY(12px) scale(.98); }
  .fin { grid-template-columns: 1fr 1fr; grid-template-areas: 'head card' 'partners card'; align-items: center; gap: 28px 72px; }
  .fin-head { grid-area: head; align-self: end; }
  .fin-head h2 { font-size: 46px; margin-bottom: 20px; }
  .fin-steps li { padding: 16px; }
  .fin-steps b { font-size: 16px; }
  .cc-stage { grid-area: card; max-width: 500px; }
  .partners { grid-area: partners; align-self: start; align-items: flex-start; }
  .pw-row { justify-content: flex-start; }
  .partners { gap: 18px; }
  .dh-nav { display: flex; justify-content: center; gap: 32px; }
  .dh-nav a { color: var(--ink-2); font-size: 15px; font-weight: 550; text-decoration: none; transition: color .15s; }
  .dh-nav a:hover { color: var(--ink); }
  .dh-right { display: flex; align-items: center; justify-content: flex-end; gap: 10px; }
  .dh-phone { display: inline-flex; align-items: center; gap: 6px; margin-right: 6px; font-weight: 650; font-size: 15px; text-decoration: none; }
  .icon-btn:hover { background: var(--surface-2); }
  .btn:hover { border-color: var(--ink-3); }
  .btn.primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); }

  .sec { padding: 0; margin-top: 88px; }
  .wrap.sec { padding: 0 var(--gutter); }
  .sec-h { margin-bottom: 22px; }
  .sec-h h2 { font-size: 38px; letter-spacing: -.02em; }
  .lede { font-size: 18px; }

  /* hero */
  .d-hero { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(40px, 5vw, 96px); align-items: center; padding-top: clamp(28px, 4vh, 56px); }
  .d-hero h1 { font: 500 clamp(52px, 4.6vw, 88px)/1.01 var(--display); letter-spacing: -.03em; margin-bottom: 22px; text-wrap: balance; }
  .d-hero .lede { max-width: 28em; font-size: 19px; }
  .d-hero .lede em { font-style: italic; color: var(--ink); }
  .d-search { position: relative; max-width: 580px; margin-top: 30px; }
  .d-search-box { display: flex; align-items: center; gap: 12px; height: 66px; padding: 0 24px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-2); color: var(--ink-3); }
  .d-search-box:focus-within { border-color: var(--accent); }
  .d-search-box input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; color: var(--ink); font-size: 18px; }
  .d-search-res { position: absolute; top: calc(100% + 8px); left: 0; right: 0; z-index: 20; display: flex; flex-direction: column; gap: 6px; padding: 8px; border-radius: 22px; background: var(--bg); border: 1px solid var(--line); box-shadow: var(--shadow-2); }
  .res:hover { border-color: var(--line-2); background: var(--surface); }
  .d-hero-art { position: relative; height: clamp(440px, 62vh, 640px); }
  .art { position: absolute; margin: 0; border-radius: 26px; overflow: hidden; box-shadow: var(--shadow-2); background: var(--surface-2); }
  .art img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); transform-origin: 40% 55%; }
  .art-0 { inset: 0 0 6% 8%; }
  .art-quote { position: absolute; left: 0; bottom: 0; display: flex; flex-direction: column; gap: 2px; padding: 16px 20px; border-radius: 20px; background: var(--surface); box-shadow: var(--shadow-2); }
  .aq-k { font-size: 11.5px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--ink-3); }
  .art-quote b { font-size: 34px; letter-spacing: -.03em; font-variant-numeric: tabular-nums; line-height: 1.05; }
  .art-quote b small { font-size: 16px; font-weight: 600; color: var(--ink-2); letter-spacing: 0; }
  .aq-m { color: var(--green); font-size: 14px; font-weight: 600; }

  /* tiles */
  .tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
  /* every trade on desktop: categories down the side, the list beside them */
  .browse { grid-template-columns: minmax(260px, 300px) 1fr; gap: 24px; align-items: start; }
  .browse-tabs { flex-direction: column; gap: 2px; margin: 0; padding: 0; overflow: visible; }
  .btab { width: 100%; height: 50px; padding: 0 12px 0 8px; border-radius: 13px; background: transparent; border-color: transparent; }
  .btab:hover { background: var(--surface); }
  .btab-n { flex: 1; text-align: left; }
  .browse-panel { padding: 10px; position: sticky; top: 96px; }
  .bp-grid { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 2px; }
  .bp-item, .bp-item:nth-child(2), .bp-item:nth-child(odd) { border: 0; border-radius: 11px; min-height: 48px; padding: 0 14px; }
  .bp-item:hover { background: var(--bg); }
  .tile { aspect-ratio: auto; min-height: 184px; padding: 18px; gap: 10px; border-radius: var(--r); }
  .tile-name { font-size: 16px; }
  .tile-ai svg { width: 22px; height: 22px; }
  .tile:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); border-color: var(--line-2); }
  .tile-ill { width: 104px; height: 104px; margin: -4px 0 -6px; }
  .tile-ai { top: 18px; right: 18px; }
  .tiles-sm .tile { min-height: 150px; }
  .tiles-sm { margin-bottom: 64px; }

  .how-list { grid-template-columns: repeat(4, 1fr); gap: 32px; }
  .how-list li { flex-direction: column; gap: 8px; padding: 20px 0 0; background: none; border: 0; border-top: 2px solid var(--ink); border-radius: 0; }
  .how-list .how-n { width: auto; height: auto; background: none; color: var(--ink); font: 500 46px/1 var(--display); letter-spacing: -.03em; margin-bottom: 6px; }
  .how-list b { font-size: 19px; }
  .how-list p { margin: 0; font-size: 15px; }
  /* every trade: a balanced grid of category cards */
  .cat-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
  .cg { display: flex; flex-direction: column; padding: 18px 20px 16px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); transition: box-shadow .2s, border-color .2s; }
  .cg:hover { border-color: var(--line-2); box-shadow: var(--shadow-1); }
  .cg-h { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
  .cg-ill { display: block; width: 46px; height: 46px; flex: none; }
  .cg-h b { font-size: 16px; line-height: 1.25; }
  .cg ul { list-style: none; margin: 0; padding: 0; }
  .cg li.more { display: none; }
  .cg.open li.more { display: block; }
  .cg a { display: block; padding: 5px 0; color: var(--ink-2); font-size: 14.5px; text-decoration: none; }
  .cg a:hover { color: var(--ink); text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 3px; }
  .cg-more { align-self: flex-start; margin-top: auto; padding-top: 8px; color: var(--ink); font-size: 13.5px; font-weight: 650; }
  .cg-more:hover { text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 3px; }
  .pw-row { gap: 20px 30px; flex-wrap: nowrap; }
  .pw-fundify, .pw-lendr { font-size: 26px; }
  .pw-onecap { font-size: 25px; }
  .pw-yorkville { font-size: 22px; }
  .pw-mark { width: 28px; height: 28px; }



  .foot { margin-top: 110px; padding: 60px 0 30px; background: var(--chrome); color: var(--chrome-ink); }
  .foot-in { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px; }
  .foot-brand p { max-width: 30em; margin-top: 16px; opacity: .7; }
  .foot-col { display: flex; flex-direction: column; gap: 9px; }
  .foot-col b { margin-bottom: 4px; }
  .foot-col a { opacity: .72; font-size: 14.5px; text-decoration: none; }
  .foot-col a:hover { opacity: 1; }
  .foot-fine { margin-top: 44px; padding-top: 22px; border-top: 1px solid rgb(255 255 255 / .12); font-size: 12px; line-height: 1.6; opacity: .55; }

  .page-h { padding-top: 40px; max-width: 760px; }
  .page-h h1 { font-size: 52px; }
  .page-h .filter { max-width: 520px; height: 56px; }
  .saved { grid-template-columns: repeat(2, 1fr); }

  .sheet { justify-content: flex-start; align-items: center; padding-top: 10vh; background: rgb(15 13 10 / .4); }
  .sheet-bar, .sheet-body { width: min(640px, 92vw); background: var(--bg); }
  .sheet-bar { border-radius: 22px 22px 0 0; padding: 14px; }
  .sheet-body { flex: none; max-height: 62vh; border-radius: 0 0 22px 22px; box-shadow: var(--shadow-2); }

  /* estimator: one centred column of big steps, as wide as the screen allows */
  .est-page { padding-bottom: 40px; }
  .est { max-width: calc(1320px + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
  .est-intro { display: block; padding: 28px 0 4px; }
  .crumbs { display: flex; align-items: center; gap: 6px; margin-bottom: 18px; color: var(--ink-3); font-size: 13.5px; }
  .crumbs a { color: var(--ink-2); text-decoration: none; }
  .crumbs a:hover { color: var(--ink); }
  .est-id { display: flex; align-items: center; gap: 16px; }
  .est-ill { display: block; width: 72px; height: 72px; flex: none; }
  .est-intro h1 { font: 500 40px/1.1 var(--display); letter-spacing: -.025em; }
  .est-prog { display: flex; align-items: center; gap: 6px; margin-top: 8px; }
  .est-prog i { width: 34px; height: 6px; border-radius: 3px; background: var(--line-2); }
  .est-prog i.done { background: var(--accent); }
  .est-prog i.now { background: var(--ink); }
  .est-prog span { margin-left: 6px; color: var(--ink-3); font-size: 13.5px; font-weight: 600; }
  .step { margin-top: 18px; padding: 32px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); scroll-margin-top: 92px; }
  .step.active { min-height: 0; }
  .step-q { font-size: 32px; margin-bottom: 20px; }
  .opts { gap: 14px; }
  .opts.pics { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .opts.pics.n3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .opts.pics.n3:has(.opt.plain) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .opts.pics.n2 { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 620px; }
  .opts.pics.n5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .opts.txt { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .opts.size { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .opts.size.n4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .opts.size.n3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .opts.size.n5 .opt.num:last-child, .opts.size.n3 .opt.num:last-child { grid-column: auto; }
  .next { width: auto; min-width: 260px; }
  .opts.pics .opt.plain { grid-column: 1 / -1; min-height: 64px; padding: 14px 20px; }
  .opts.pics .opt.plain .opt-t { align-items: center; text-align: center; }
  .opt { background: var(--bg); border-color: transparent; }
  .opt:hover { border-color: var(--line-2); }
  .opt.on { border-color: var(--accent); }
  .opt-img { aspect-ratio: 4 / 3; padding: 14px 18px 0; }
  .opt-t { padding: 8px 14px 14px; }
  .opt-t b { font-size: 16px; }
  .opt-t small { font-size: 13px; }
  .opt.plain .opt-t b { font-size: 17px; }
  .opt.num b { font-size: 28px; }
  .custom { max-width: 380px; margin-top: 14px; }
  .custom-row { background: var(--bg); border-color: transparent; }
  .styles { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
  .style { background: var(--bg); border-color: transparent; }
  .style-pick:hover img { transform: scale(1.03); }
  .style-img img { transition: transform .5s; }
  .style-t b { font-size: 16px; }
  .zoom { opacity: 0; transition: opacity .15s; }
  .style:hover .zoom, .tier-fig:hover .zoom, .zoom:focus-visible { opacity: 1; }
  .photo-card { flex-direction: row; align-items: center; gap: 20px; padding: 18px 22px; margin-bottom: 20px; background: var(--bg); }
  .photo-btns { display: flex; flex: none; }
  .car { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; overflow: visible; }
  .tiers > .tier { width: auto; }
  .tier { box-shadow: none; background: var(--bg); border-color: transparent; }
  .tier.on { border-color: var(--accent); }
  .tier-fig { max-height: none; }
  .tier-b { padding: 14px 16px 16px; }
  .tier-mo b { font-size: 28px; }
  /* the studio: the picture stays beside the options as they scroll */
  .studio { grid-template-columns: minmax(0, 1.15fr) minmax(360px, .85fr); gap: 32px; align-items: start; }
  .st-media { position: sticky; top: 96px; }
  .st-fig { width: 100%; margin: 0; border-radius: var(--r); aspect-ratio: 4 / 3; max-height: calc(100vh - 140px); }
  .st-price { position: static; width: 100%; margin: 0; padding: 0 0 16px; background: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .st-mo b { font-size: 34px; }
  .st-styles, .sw-rail { margin: 0; padding: 2px 0 4px; flex-wrap: wrap; overflow: visible; }
  .st-style { width: calc((100% - 16px) / 3); }
  .sw { width: 72px; }
  .sw:hover .sw-chip { transform: scale(1.05); }
  .st-style:hover, .tg:hover, .pj-opts button:hover { border-color: var(--line-2); }
  .pj, .ms, .st-break { background: var(--bg); border-color: transparent; }
  .pj-opts button { background: var(--surface); }
  .pj-num { background: var(--surface); }
  .sum { max-width: 640px; background: var(--bg); border-color: transparent; }
  .f2 { grid-template-columns: 1fr 1fr; }
  .book { max-width: 640px; }
  .book .btn.block { width: auto; }

  .lb-item img { padding: 40px 90px 110px; }
  .lb-nav { display: grid; place-items: center; position: absolute; top: 50%; width: 54px; height: 54px; margin-top: -27px; border-radius: 50%; background: rgb(255 255 255 / .14); color: #fff; }
  .lb-nav:hover { background: rgb(255 255 255 / .26); }
  .lb-nav.prev { left: 20px; }
  .lb-nav.next { right: 20px; }
}

/* a desktop browser in a smaller window: same version, stacked where it would squeeze */
@media (min-width: 1100px) and (max-width: 1180px), (min-width: 760px) and (max-width: 1180px) and (hover: hover) and (pointer: fine) {
  .opts.pics, .opts.pics.n5 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 760px) and (max-width: 1060px) and (hover: hover) and (pointer: fine) {
  .d-hero { grid-template-columns: 1fr; }
  .cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .d-hero-art { height: 420px; }
  .foot-in { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
  .car, .styles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 370px) {
  .m-hero h1 { font-size: 26px; }
  .tile-name { font-size: 11px; }
  .tile-ill { width: 56px; height: 56px; }
  .opt-t b { font-size: 14px; }
}

/* "Make it exact": one tape-measured length on the photo */
.cal { position: fixed; inset: 0; z-index: 90; height: 100dvh; display: grid; grid-template-rows: auto 1fr auto; background: #111; color: #fff; }
.cal-top { display: flex; gap: 8px; align-items: flex-start; padding: calc(var(--safe-t) + 10px) 12px 10px; }
.cal-top p { flex: 1; margin: 10px 0 0; font-size: 14.5px; line-height: 1.4; font-weight: 550; }
.cal-top b { color: var(--accent); }
.cal-stage { position: relative; overflow: hidden; touch-action: none; }
.cal-img { position: absolute; display: block; }
.cal-svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.cal-svg line { stroke: var(--accent); stroke-width: 3; }
.cal-hit { fill: rgb(255 212 0 / .18); stroke: var(--accent); stroke-width: 2; cursor: grab; }
.cal-dot { fill: #fff; stroke: #111; stroke-width: 2; pointer-events: none; }
.cal-loupe { position: absolute; width: 120px; height: 120px; border-radius: 50%; border: 3px solid var(--accent); box-shadow: 0 4px 16px rgb(0 0 0 / .5); pointer-events: none; background: #000; }
.cal-form { display: grid; gap: 10px; padding: 12px 16px calc(var(--safe-b) + 16px); }
.cal-in { display: flex; gap: 10px; justify-content: center; }
.cal-in label { display: flex; align-items: center; gap: 6px; padding: 0 14px; height: 52px; border-radius: 14px; background: #fff; color: var(--ink); }
.cal-in input { width: 72px; border: 0; outline: 0; font: inherit; font-size: 22px; font-weight: 700; text-align: right; background: none; color: inherit; }
.cal-in i { font-style: normal; font-weight: 650; color: var(--ink-3); }
.cal-warn { margin: 0; text-align: center; font-size: 13.5px; font-weight: 600; color: #ffd27a; }
.fig-load small.dbg { font-size: 11px; opacity: .7; word-break: break-word; }

/* ───────── phones: the results screen, picture first ───────── */
body:not(.is-desk) #s-results { padding-top: 0; }
body:not(.is-desk) .st-title { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
/* the picture from right under the header, two-thirds of the screen */
body:not(.is-desk) .st-fig, body:not(.is-desk) .st-fig.photo { aspect-ratio: auto !important; height: 68svh; max-height: none; }   /* the height decides on phones, not the photo's shape */
body:not(.is-desk) .studio > *, body:not(.is-desk) .st-media, body:not(.is-desk) .st-pic { min-width: 0; }
/* the picture fills its two-thirds of the screen: a wider design loses a little at the sides, never a black band */
body:not(.is-desk) .st-fig.photo > img { object-fit: cover; }
/* where a picture is cropped to fit, the floor is kept and the ceiling lost */
.st-fig > img, .st-style-img img { object-position: 50% 100%; }
/* the photo buttons sit over the picture's foot, on a fade into the page */
/* the fade over the picture's foot: solid at the bottom, clear at the top,
   eased all the way so neither end shows an edge */
body:not(.is-desk) .st-pic::after { content: ''; position: absolute; left: -16px; right: -16px; bottom: 0; height: calc(96px + 14%); background: linear-gradient(to top,
  color-mix(in srgb, var(--bg) 100%, transparent) 0%, color-mix(in srgb, var(--bg) 94%, transparent) 12%, color-mix(in srgb, var(--bg) 82%, transparent) 26%,
  color-mix(in srgb, var(--bg) 62%, transparent) 42%, color-mix(in srgb, var(--bg) 40%, transparent) 58%, color-mix(in srgb, var(--bg) 21%, transparent) 74%,
  color-mix(in srgb, var(--bg) 8%, transparent) 88%, color-mix(in srgb, var(--bg) 0%, transparent) 100%); pointer-events: none; z-index: 3; }
body:not(.is-desk) .photo-bar { position: relative; z-index: 4; margin-top: -70px; }
body:not(.is-desk) .photo-bar .btn { min-height: 54px; padding: 0 16px; font-size: 16px; }
body:not(.is-desk) .st-fig .ba, body:not(.is-desk) .st-fig .ai-btn, body:not(.is-desk) .st-fig .fig-chip { bottom: calc(10% + 84px); }
body:not(.is-desk) .st-acts { gap: 10px; margin-top: 18px; }
body:not(.is-desk) .st-acts .btn { min-height: 54px; font-size: 15.5px; }
/* the price, then booking as wide as the buttons above */
body:not(.is-desk) .st-price { position: static; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 10px; margin-top: 0; padding: 2px 16px 4px; background: none; -webkit-backdrop-filter: none; backdrop-filter: none; border-bottom: 0; }
body:not(.is-desk) .st-price .st-star { grid-column: 1 / -1; }
body:not(.is-desk) .st-book { display: block; }
body:not(.is-desk) .st-price .btn { width: 100%; min-height: 56px; padding: 0 12px; font-size: 16px; box-shadow: 0 6px 18px rgb(27 25 21 / .18); }
body:not(.is-desk) .st-mo b { font-size: 26px; }
/* the price sits centred in its half, as if it were inside a button next to the real one */
body:not(.is-desk) .st-price .st-num { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 56px; text-align: center; }
/* the styles: big enough to see each kitchen */
body:not(.is-desk) .st-style { width: 236px; }
body:not(.is-desk) .st-style-img { aspect-ratio: 4 / 5; }
body:not(.is-desk) .st-style b { font-size: 15px; }
body:not(.is-desk) .st-style small { font-size: 13px; }

/* the room scan in the camera: which photo, and a nudge to turn sideways */
.cam-shots { display: flex; justify-content: center; gap: 6px; }
.cam-shots i { width: 26px; height: 6px; border-radius: 3px; background: rgb(255 255 255 / .35); }
.cam-shots i.on { background: var(--cam-ok); }
.cam-shots i.now { background: #fff; }
.cam-turn { display: none; align-self: center; padding: 6px 14px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font-size: 14px; font-weight: 700; }
.cam.scan.upright .cam-turn { display: inline-block; }
.cam-done { width: auto; padding: 0 14px; border-radius: 999px; background: rgb(255 255 255 / .92); color: var(--ink); font-size: 14px; font-weight: 700; }
.cam-done[hidden] { display: none; }

/* the room scan: how it works, and the floor plan it makes */
.scan-card { display: grid; gap: 14px; }
.scan-card h2 { margin-bottom: 0; }
.scan-p { color: var(--ink-2); font-size: 15px; line-height: 1.45; }
.scan-how { display: grid; gap: 6px; margin: 0; padding-left: 22px; font-size: 15px; line-height: 1.4; }
.scan-ceil { border: 0; margin: 0; padding: 0; display: grid; gap: 8px; }
.scan-ceil legend { margin-bottom: 8px; font-size: 15px; font-weight: 700; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.row2 .btn { min-height: 52px; }
.plan-box { display: grid; place-items: center; padding: 6px 0; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); }
.plan-svg { width: 100%; max-width: 380px; height: auto; font-family: var(--sans); }
.pl-floor { fill: #f6f3ee; }
.pl-wall { stroke: var(--ink); stroke-width: 6; stroke-linecap: square; }
.pl-unseen { stroke-dasharray: 6 5; stroke-width: 3; }
.pl-win { stroke: #7fb3d5; stroke-width: 6; }
.pl-door { stroke: #f6f3ee; stroke-width: 8; }
.pl-cab { fill: #ddd6c9; stroke: var(--ink-2); stroke-width: 1.2; }
.pl-upper { fill: none; stroke: var(--ink-2); stroke-width: 1; stroke-dasharray: 4 3; }
.pl-fix { fill: #fff; stroke: var(--ink-2); stroke-width: 1.2; }
.pl-t { text-anchor: middle; font-size: 10px; font-weight: 600; fill: var(--ink); }
.pl-d line { stroke: var(--ink-3); stroke-width: 1; }
.pl-d text { text-anchor: middle; font-size: 11.5px; font-weight: 700; fill: var(--ink); }
.pl-l { text-anchor: middle; font-size: 9.5px; font-weight: 600; fill: var(--ink-2); }
.pl-cam { fill: var(--accent); stroke: #fff; stroke-width: 1.5; }
.plan-facts span { flex: 1; }
.scan-btn { min-height: 54px; }
/* small phones: button labels fit on one line */
body:not(.is-desk) .photo-bar .btn, body:not(.is-desk) .st-acts .btn { padding: 0 10px; font-size: clamp(14px, 4.1vw, 16px); white-space: nowrap; }
/* the price centred in its half, beside the booking button */
body:not(.is-desk) .st-num { justify-self: stretch; text-align: center; }
body:not(.is-desk) .st-num .st-mo { justify-content: center; }
/* floating over the page: a fine black ring, like a chosen swatch's */
body:not(.is-desk) .st-book .btn.afloat { box-shadow: 0 0 0 2px var(--bg), 0 0 0 4px var(--ink), 0 6px 18px rgb(27 25 21 / .18); }
/* a project question's answers in one row, equal widths */
body:not(.is-desk) .pj-opts { display: grid; grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr)); gap: 5px; }
body:not(.is-desk) .pj-opts button { padding: 8px 4px; border-radius: 14px; font-size: 13px; line-height: 1.2; text-align: center; }

/* the live room scan: lines traced over the camera, a ring that fills while the phone is held still */
.scan-ov { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.scan-dots { display: flex; gap: 6px; }
.scan-dots i { width: 26px; height: 6px; border-radius: 3px; background: rgb(255 255 255 / .35); }
.scan-dots i.on { background: var(--cam-ok); }
.scan-dots i.now { background: #fff; }
.scan-arc { position: relative; width: 84px; height: 84px; }
.scan-arc svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.scan-arc circle { fill: none; stroke-width: 6; }
.scan-arc .bg { stroke: rgb(255 255 255 / .3); }
.scan-arc .fg { stroke: var(--accent); stroke-dasharray: 276; stroke-dashoffset: 276; stroke-linecap: round; transition: stroke-dashoffset .2s linear; }
.scan-arc b { position: absolute; inset: 0; display: grid; place-items: center; font-size: 20px; font-weight: 750; text-shadow: 0 1px 4px rgb(0 0 0 / .6); }
.scan-shoot { background: #fff; color: var(--ink); min-height: 48px; padding: 0 18px; font-weight: 700; }
.scan-live .cam-row { display: flex; gap: 12px; align-items: center; }
.scan-live.flash::after { content: ''; position: absolute; inset: 0; background: #fff; animation: flash .25s ease-out; }

@keyframes flash { from { opacity: .9; } to { opacity: 0; } }

/* waiting for the App Clip's LiDAR scan */
.clip-sheet { position: fixed; inset: 0; z-index: 70; display: flex; align-items: flex-end; justify-content: center; background: rgb(15 13 10 / .35); }
.clip-card { width: 100%; max-width: 480px; padding: 22px 20px calc(18px + var(--safe-b)); border-radius: 24px 24px 0 0; background: var(--bg); display: grid; gap: 10px; }
.clip-card > b { display: flex; align-items: center; gap: 8px; font-size: 18px; }
.clip-card p { margin: 0; font-size: 14.5px; line-height: 1.45; color: var(--ink-2); }
