/* 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) both; }
.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: 10px; }

/* 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); }
.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; }

/* 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) .tiers > .tier { width: 58%; }
  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; }
  .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; }
}
