/* THE SHOWROOM (Project Compare v3), 1 Oct 2026.
   Onyx Bronze, darker and airier: full-bleed photos, thin large type, one copper accent, space instead of lines.
   ONE motion system: two durations and one easing. Phone first. */

:root {
  --bg: #0B0705;
  --bg-2: #140D09;
  --bg-3: #1D140E;
  --bg-4: #2A1D14;
  --fg: #F4ECE2;
  --fg-2: rgba(244, 236, 226, .66);
  --fg-3: rgba(244, 236, 226, .52);
  --line: rgba(244, 236, 226, .09);
  --cu: #C4693A;
  /* 6 Oct 2026: a FILLED copper button carries white words; on --cu they are 3.87 to 1, under the 4.5 rule. The fill is the
     deeper copper of the public pages (css/tokens.css): white on it is 4.68 to 1, on the pressed one 5.77. --cu itself stays
     for lines, marks and the one chip with dark words (#1a0d06 on --cu is 4.92; on the deeper copper it would drop to 4.07). */
  --cu-fill: #B35C30;
  --cu-press: #A04F27;
  --cu-hi: #E8A374;
  --cu-soft: rgba(196, 105, 58, .16);
  --grad: linear-gradient(135deg, #E8A374 0%, #C4693A 30%, #7A2E14 55%, #D07A46 80%, #EFC09A 100%);
  /* ONE typeface (UX pass 2, 3 Oct 2026). To go back to Inter: --sans: 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
     (and the Inter + Noto Serif link in the page's head, kept there as a comment) */
  --sans: 'Outfit', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --serif: var(--sans);
  --d-s: 180ms;
  --d-l: 260ms;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --gut: 20px;
  --top: 56px;
  --r: 20px;
  /* 6 Oct 2026: the site's shared menu (fixed, 72 px) sits above this page; the script measures it into --menu. --barh = the height of
     the phone's bottom bar (Filters, Tiles, Map), measured too: the comparing strip sits just above it. */
  --menu: 72px;
  --barh: 78px;
}
@media (min-width: 760px) { :root { --gut: 40px; --top: 64px; } }

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--fg); }
body {
  font-family: var(--sans); font-weight: 400; font-size: 16px; line-height: 1.45;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  font-variant-numeric: tabular-nums; overflow-x: clip;   /* clip, not hidden: hidden makes the body a scroll box and the sticky top bar stops sticking */
}
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
button:focus-visible, a:focus-visible, input:focus-visible { outline: 2px solid var(--cu-hi); outline-offset: 3px; border-radius: 12px; }
a { color: inherit; }
img { display: block; max-width: 100%; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
svg.i { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* the one emphasis word: serif italic, copper gradient, restarted per word */
em.w { font-family: inherit; font-style: normal; font-weight: 500; color: var(--cu-hi); letter-spacing: inherit; }   /* emphasis = weight + copper, never a second family, never gradient text */

/* ---------- TOP BAR (every screen) ---------- */
.top { position: sticky; top: var(--menu); z-index: 50; display: flex; align-items: center; gap: 14px; min-height: var(--top);
  padding: 10px var(--gut); background: rgba(11, 7, 5, .82); backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2); }
.brand { font-size: 15px; font-weight: 500; letter-spacing: .01em; white-space: nowrap; }
.brand b { font-weight: 500; }
.brand span { color: var(--fg-3); font-weight: 400; }
.priv { display: inline-flex; align-items: center; gap: 10px; min-width: 0; margin-left: auto; font-size: 12.5px; color: var(--fg-3); }
.priv i { font-style: normal; color: var(--cu-hi); border: 1px solid rgba(232, 163, 116, .35); padding: 3px 9px; border-radius: 999px; font-size: 11.5px; flex: none; }
.priv .note { line-height: 1.3; }
@media (max-width: 759px) { .priv .note { display: none; } .notice-m { display: block; } }
.notice-m { display: none; padding: 0 var(--gut) 8px; font-size: 12px; color: var(--fg-3); line-height: 1.35; }

/* ---------- 1 START ---------- */
.start { min-height: calc(100svh - var(--top)); display: flex; flex-direction: column; padding: 8px var(--gut) 0; max-width: 1100px; margin: 0 auto; }
.steps { display: flex; gap: 6px; margin: 8px 0 0; }
.steps span { height: 2px; flex: 1; background: var(--line); border-radius: 2px; transition: background var(--d-l) var(--ease); }
.steps span.on { background: var(--cu); }
.stephead { display: flex; justify-content: space-between; align-items: center; margin: 14px 0 0; color: var(--fg-3); font-size: 14px; }
.skip { color: var(--fg-2); padding: 10px 0 10px 16px; font-size: 15px; }
.q { font-weight: 300; font-size: clamp(34px, 7.4vw, 68px); line-height: 1.04; letter-spacing: -.035em; margin: 22px 0 26px; max-width: 14em; }
.q small { display: block; font-size: 16px; letter-spacing: 0; color: var(--fg-3); margin-top: 12px; font-weight: 400; }
.opts { display: grid; grid-template-columns: 1fr; gap: 10px; }
@media (min-width: 560px) { .opts { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .opts.three { grid-template-columns: 1fr 1fr 1fr; } }
.opt { display: flex; align-items: center; gap: 14px; min-height: 64px; padding: 14px 20px; border-radius: 18px; background: var(--bg-3);
  text-align: left; font-size: 19px; font-weight: 400; letter-spacing: -.01em;
  transition: background var(--d-s) var(--ease), box-shadow var(--d-s) var(--ease), opacity var(--d-s) var(--ease); }

.opt[aria-pressed="true"] { background: var(--cu-soft); box-shadow: inset 0 0 0 1.5px var(--cu); }
.opt .n { margin-left: auto; font-size: 14px; color: var(--fg-3); }
.opt[aria-pressed="true"] .n { color: var(--cu-hi); }
.opt[disabled] { opacity: .38; cursor: default; }
.opt svg.i { color: var(--fg-2); width: 26px; height: 26px; }
.sub { margin: 26px 0 12px; font-size: 15px; color: var(--fg-2); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { min-height: 44px; padding: 10px 18px; border-radius: 999px; background: var(--bg-3); font-size: 16px;
  transition: background var(--d-s) var(--ease), box-shadow var(--d-s) var(--ease); }

.chip[aria-pressed="true"] { background: var(--cu-soft); box-shadow: inset 0 0 0 1.5px var(--cu); }
.own { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.own label { font-size: 15px; color: var(--fg-2); }
.own input { width: 130px; min-height: 48px; border-radius: 14px; border: 0; background: var(--bg-3); color: var(--fg);
  font: inherit; font-size: 18px; padding: 0 14px; }
.counter-bar { position: sticky; bottom: 0; margin: auto calc(-1 * var(--gut)) 0; padding: 18px var(--gut) calc(18px + env(safe-area-inset-bottom));
  display: flex; align-items: flex-end; gap: 16px; background: linear-gradient(to top, var(--bg) 70%, rgba(11, 7, 5, 0)); }
.count { font-weight: 200; font-size: clamp(52px, 11vw, 88px); line-height: .9; letter-spacing: -.05em; }
.count-l { font-size: 14px; color: var(--fg-2); margin-top: 6px; }
.back { display: inline-flex; align-items: center; gap: 6px; color: var(--fg-2); min-height: 44px; }
.cta { margin-left: auto; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 24px;
  border-radius: 999px; background: var(--cu-fill); color: #fff; font-size: 16px; font-weight: 500; white-space: nowrap;
  transition: background var(--d-s) var(--ease), transform var(--d-s) var(--ease); }

.cta:active { transform: scale(.98); }
.ghost { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 22px; border-radius: 999px;
  background: var(--bg-3); font-size: 16px; transition: background var(--d-s) var(--ease); }


/* ---------- 3 THE PROJECT ---------- */
.hero { position: relative; height: 68svh; min-height: 360px; max-height: 760px; overflow: hidden; background: var(--bg-2); }
@media (orientation: landscape) and (max-height: 500px) { .hero { height: 88svh; min-height: 300px; } }
.hero .slides { position: absolute; inset: 0; display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.hero .slides::-webkit-scrollbar { display: none; }
.hero .slides img { flex: 0 0 100%; width: 100%; height: 100%; object-fit: cover; scroll-snap-align: start; }
.hero::after { content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to bottom, rgba(11, 7, 5, .55) 0, rgba(11, 7, 5, 0) 22%, rgba(11, 7, 5, 0) 38%, rgba(11, 7, 5, .75) 75%, rgba(11, 7, 5, .94) 100%); }   /* the grey line under the name keeps 4.5:1 even over a white photo */
.hero .over { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 0 var(--gut) 26px; pointer-events: none; }
.hero h1 { margin: 0; font-weight: 300; font-size: clamp(40px, 8.4vw, 84px); line-height: .98; letter-spacing: -.045em; max-width: 12em; }
.hero .who { margin-top: 10px; font-size: 16px; color: var(--fg-2); }
.hero .ribbon { display: inline-block; margin-bottom: 14px; padding: 6px 12px; border-radius: 999px; background: var(--grad); color: #1a0d06; font-size: 12.5px; font-weight: 500; }
.glass { position: absolute; z-index: 3; top: 14px; display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-width: 44px; height: 44px;
  padding: 0 12px; border-radius: 999px; background: rgba(11, 7, 5, .72); font-size: 13px; }
.glass.l { left: var(--gut); } .glass.r { right: var(--gut); }
.dots { position: absolute; z-index: 3; right: var(--gut); bottom: 30px; display: flex; gap: 5px; }
.dots b { width: 6px; height: 6px; border-radius: 3px; background: rgba(244, 236, 226, .35); transition: width var(--d-s) var(--ease), background var(--d-s) var(--ease); }
.dots b.on { width: 18px; background: var(--fg); }

.wrap { max-width: 1180px; margin: 0 auto; padding: 0 var(--gut); }
.homepick { display: flex; gap: 8px; overflow-x: auto; padding: 22px 0 4px; scrollbar-width: none; }
.homepick .chip { flex: none; font-size: 15px; min-height: 40px; padding: 8px 16px; }
.four { display: grid; grid-template-columns: 1fr 1fr; gap: 30px 20px; padding: 26px 0 34px; }
@media (min-width: 900px) { .four { grid-template-columns: repeat(4, 1fr); } }
.num .l { font-size: 14px; color: var(--fg-2); }
.num .v { font-weight: 300; font-size: clamp(30px, 5.4vw, 42px); line-height: 1.05; letter-spacing: -.035em; margin-top: 6px; }
.num .v small { font-size: .5em; letter-spacing: 0; color: var(--fg-2); font-weight: 400; margin-right: 4px; }
.num .s { font-size: 14px; color: var(--fg-2); margin-top: 6px; line-height: 1.35; }
.num .s b { color: var(--fg); font-weight: 400; }
.num .v.none { font-size: 20px; letter-spacing: -.01em; color: var(--fg-3); padding-top: 10px; }

.asks { display: grid; gap: 8px; padding-bottom: 20px; }
@media (min-width: 760px) { .asks { grid-template-columns: 1fr 1fr; gap: 12px; } }
@media (min-width: 1100px) { .asks { grid-template-columns: 1fr 1fr 1fr; } }
.ask { display: flex; align-items: center; gap: 16px; min-height: 76px; padding: 14px 18px; border-radius: 18px; background: var(--bg-2); text-align: left;
  transition: background var(--d-s) var(--ease), transform var(--d-s) var(--ease); }

.ask:active { transform: scale(.99); }
.ask .ic { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: var(--bg-3); color: var(--cu-hi); flex: none; }
.ask .t { font-size: 18px; letter-spacing: -.01em; }
.ask .p { font-size: 13.5px; color: var(--fg-3); margin-top: 2px; }
.ask > svg.i:last-child { margin-left: auto; color: var(--fg-3); }
.dock { position: sticky; bottom: 0; z-index: 20; display: flex; gap: 10px; padding: 14px var(--gut) calc(14px + env(safe-area-inset-bottom));
  background: linear-gradient(to top, var(--bg) 62%, rgba(11, 7, 5, 0)); }
.dock .cta { flex: 1; margin: 0; }
@media (min-width: 760px) { .dock { justify-content: flex-end; } .dock .cta { flex: none; } }

/* the answer sheet: full screen, one picture first */
.sheet { position: fixed; inset: 0; z-index: 1010; background: var(--bg); overflow-y: auto; overscroll-behavior: contain;
 }
.sheet .top { background: rgba(11, 7, 5, .9); }
.sheet h2 { font-weight: 300; font-size: clamp(30px, 6vw, 52px); letter-spacing: -.035em; line-height: 1.05; margin: 18px 0 6px; }
.sheet .lede { color: var(--fg-2); font-size: 16px; margin: 0 0 22px; }
@keyframes rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.x { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 999px; background: var(--bg-3); margin-left: auto; }

/* ---------- SIZE: the silhouettes ---------- */
.sil { background: var(--bg-2); border-radius: var(--r); padding: 18px; }
.sil svg { display: block; width: 100%; height: auto; }
.legend { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 14px; font-size: 15px; }
.legend span { display: inline-flex; align-items: center; gap: 8px; }
.legend i { width: 18px; height: 3px; border-radius: 2px; background: var(--fg-2); }
.legend i.cu { background: var(--cu-hi); }
.legend b { font-weight: 400; color: var(--fg-2); }
.rooms { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; margin-top: 12px; }
.room { background: var(--bg-2); border-radius: 16px; padding: 14px; }
.room .rn { font-size: 14px; color: var(--fg-2); }
.room svg { width: 100%; height: 96px; margin: 8px 0 6px; }
.room .rv { font-size: 13.5px; color: var(--fg-3); line-height: 1.5; }
.room .rv b { font-weight: 400; color: var(--fg); }
.room .rv b.cu { color: var(--cu-hi); }

/* ---------- 4 COMPARE: one number at a time ---------- */
.cmp-head { display: flex; gap: 8px; overflow-x: auto; padding: 16px 0 6px; scrollbar-width: none; }
.pc { flex: none; display: inline-flex; align-items: center; gap: 10px; padding: 5px 14px 5px 5px; border-radius: 999px; background: var(--bg-3); font-size: 15px; max-width: 280px; }
.pc img { width: 34px; height: 34px; border-radius: 999px; object-fit: cover; }
.pc.main { box-shadow: inset 0 0 0 1.5px var(--cu); }
.pc.add { padding: 0 16px; min-height: 44px; color: var(--fg-2); }
.block { padding: 44px 0 10px; }
.block + .block { border-top: 1px solid var(--line); }
.block h3 { margin: 0 0 4px; font-weight: 300; font-size: clamp(26px, 4.6vw, 40px); letter-spacing: -.03em; line-height: 1.1; }
.block .hint { color: var(--fg-3); font-size: 14.5px; margin: 0 0 20px; }
.bar { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 16px; align-items: end; padding: 12px 0; }
.bar .nm { font-size: 16px; color: var(--fg-2); overflow-wrap: anywhere; }
.bar .val { font-weight: 300; font-size: clamp(22px, 4vw, 30px); letter-spacing: -.025em; text-align: right; white-space: nowrap; }
.bar .val small { display: block; font-size: 13px; letter-spacing: 0; color: var(--fg-3); font-weight: 400; }
.bar .tr { grid-column: 1 / -1; height: 4px; border-radius: 2px; background: var(--bg-3); overflow: hidden; }
.bar .tr i { display: block; height: 100%; width: 0; border-radius: 2px; background: rgba(244, 236, 226, .38); transition: width var(--d-l) var(--ease); }
.bar.best .val { color: var(--cu-hi); }
.bar.best .nm { color: var(--fg); }
.bar.best .tr i { background: var(--cu); }
.bar.none .val { font-size: 17px; color: var(--fg-3); }
.fair { margin-top: 6px; font-size: 14.5px; color: var(--cu-hi); }
.end { display: flex; flex-wrap: wrap; gap: 10px; padding: 40px 0 60px; }

/* ---------- skeletons: nothing jumps ---------- */
.sk { background: linear-gradient(90deg, var(--bg-2), var(--bg-3), var(--bg-2)); background-size: 200% 100%; animation: sk 1.4s linear infinite; border-radius: 10px; color: transparent !important; }
@keyframes sk { to { background-position: -200% 0; } }

.fade { animation: fadein 180ms var(--ease) both; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 1ms !important; animation-iteration-count: 1 !important; transition-duration: 1ms !important; scroll-behavior: auto !important; }
}

/* ---------- short screens (a phone held sideways) ---------- */
@media (max-height: 500px) and (orientation: landscape) {
  :root { --top: 48px; }
  .top { min-height: 48px; padding-top: 6px; padding-bottom: 6px; }
  .q { font-size: 32px; margin: 10px 0 14px; }
  .q small { margin-top: 4px; font-size: 14px; }
  .opt { min-height: 52px; padding: 10px 16px; font-size: 17px; }
  .opts { grid-template-columns: 1fr 1fr 1fr; }
  .counter-bar { padding-top: 10px; padding-bottom: 10px; }
  .count { font-size: 44px; }
  .count-l { margin-top: 2px; }
  .cta, .ghost { min-height: 46px; }
  .hero { height: calc(100svh - var(--top) - var(--menu)); }
  .hero h1 { font-size: min(8.4vw, 13vh); }
  .hero .over { padding-bottom: 18px; padding-right: 330px; }
  .block { padding-top: 28px; }
}
/* a laptop: the one primary button sits on the photo, not over the numbers */
.hero-cta { display: none; }
@media (min-width: 900px) {
  .hero-cta { display: flex; position: absolute; z-index: 4; right: var(--gut); bottom: 26px; gap: 10px; }
  .dock { display: none; }
  .hero .dots { bottom: auto; top: 70px; }
}
@media (max-height: 500px) and (orientation: landscape) and (max-width: 899px) {
  .hero-cta { display: flex; position: absolute; z-index: 4; right: var(--gut); bottom: 18px; gap: 10px; }
  .dock { display: none; }
  .hero .dots { bottom: auto; top: 64px; }
}
.sil svg { max-height: 46vh; max-width: 520px; margin: 0 auto; }

.verdict { margin: 4px 0 14px; font-size: 17px; color: var(--cu-hi); }
.more { margin-top: 12px; }
.unread { margin-top: 10px; font-size: 16px; color: var(--fg-2); }
/* what exists when the detail is not read yet: the plain line sits under the pictures and sizes */
.nextline { margin: 22px 0 0; font-size: 16px; line-height: 1.5; color: var(--fg-2); }
.nextgo { margin: 14px 0 0; } .nextgo a { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; }
.row.on .nm { color: var(--cu-hi); }

/* ================= the real page (1 Oct 2026) ================= */
a.brand { text-decoration: none; }
body.locked { overflow: hidden; }
.unit { font-size: 15px; color: var(--fg-3); }
.cn { color: var(--fg-3); font-size: .85em; margin-left: 4px; }
.chip[aria-pressed="true"] .cn { color: var(--cu-hi); }
.chip[disabled] { opacity: .35; cursor: default; }
.chips.areas { max-height: 38vh; overflow-y: auto; padding: 2px; }
.q2 { font-weight: 300; font-size: clamp(26px, 5vw, 38px); letter-spacing: -.03em; margin: 36px 0 16px; }
.start.all .stephead { margin-top: 18px; }
.empty { padding: 80px var(--gut); text-align: center; }
.empty h2 { font-weight: 300; font-size: 30px; letter-spacing: -.02em; margin: 0 0 10px; }
.empty p { color: var(--fg-2); margin: 0 0 24px; }
.empty .cta { margin: 0 auto; }
.sm { min-height: 40px !important; padding: 0 16px !important; font-size: 14.5px !important; }
.x.sm { width: 36px; height: 36px; padding: 0 !important; }
.cta[disabled] { background: var(--bg-4); color: var(--fg-3); cursor: default; }
a.ghost, a.cta { text-decoration: none; }

/* the sticky bar of word chips */
.fbar { position: sticky; top: calc(var(--top) + var(--menu)); z-index: 40; padding: 8px var(--gut) 12px; background: rgba(11, 7, 5, .9);
 }
.fchips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.fchips::-webkit-scrollbar { display: none; }
.fchip { flex: none; display: inline-flex; align-items: center; gap: 4px; min-height: 40px; padding: 0 6px 0 16px; border-radius: 999px; background: var(--cu-soft);
  box-shadow: inset 0 0 0 1px rgba(196, 105, 58, .45); font-size: 14.5px; white-space: nowrap; }
.fchip button { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 999px; color: var(--fg-2); }
.fchip button svg.i { width: 16px; height: 16px; }

.fchip.fbtn { background: var(--bg-3); box-shadow: none; padding: 0 16px; gap: 8px; }
.fchip.fbtn svg.i { width: 18px; height: 18px; }
.frow { display: flex; align-items: center; justify-content: space-between; margin-top: 10px; }
.fcount { font-size: 15px; color: var(--fg-2); }
.fcount b { color: var(--fg); font-weight: 400; font-size: 20px; letter-spacing: -.02em; }
.seg { display: inline-flex; padding: 3px; border-radius: 999px; background: var(--bg-3); }
.seg button { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 14px; border-radius: 999px; font-size: 14px; color: var(--fg-2);
  transition: background var(--d-s) var(--ease), color var(--d-s) var(--ease); }
.seg button svg.i { width: 17px; height: 17px; }
.seg button[aria-selected="true"] { background: var(--fg); color: var(--bg); }

/* THE WALL: large photo tiles */
.wall { display: grid; grid-template-columns: 1fr; gap: 14px; padding: 6px var(--gut) 24px; max-width: 1480px; margin: 0 auto; }
@media (min-width: 640px) { .wall { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1080px) { .wall { grid-template-columns: 1fr 1fr 1fr; gap: 18px; } }
.tile { position: relative; display: block; width: 100%; aspect-ratio: 4 / 4.6; border-radius: var(--r); overflow: hidden; background: var(--bg-2); text-align: left;
  transition: transform var(--d-l) var(--ease); }
@media (min-width: 640px) { .tile { aspect-ratio: 4 / 4.4; } }
@media (max-height: 500px) and (orientation: landscape) { .wall { grid-template-columns: 1fr 1fr; } .tile { aspect-ratio: 16 / 10.5; } .tile .tn { font-size: 22px; } .tile .tx { padding: 14px 16px; } .tile .tf { margin-top: 6px; } }


.tile .ph { position: absolute; inset: 0; }
.tile .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform 400ms var(--ease); }
.tile .ph::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(11, 7, 5, .35) 0, rgba(11, 7, 5, 0) 26%, rgba(11, 7, 5, 0) 44%, rgba(11, 7, 5, .9) 100%); }
.noname { display: none; }
.nophoto { background: var(--grad); }
.nophoto img { display: none; }
.nophoto .noname { display: grid; place-items: center; position: absolute; inset: 0; padding: 30px; font-family: var(--sans); font-style: normal; font-weight: 300; font-size: 30px; color: #1a0d06; text-align: center; }
.tile .tx { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px; z-index: 2; }
.tile .tn { display: block; font-weight: 300; font-size: clamp(24px, 3.2vw, 30px); letter-spacing: -.03em; line-height: 1.08; }
.tile .td { display: block; margin-top: 4px; font-size: 14px; color: var(--fg-2); }
.tile .tf { display: flex; flex-wrap: wrap; gap: 4px 18px; margin-top: 12px; font-size: 14px; color: var(--fg-2); }
.tile .tf b { color: var(--fg); font-weight: 400; }
.fit { position: absolute; z-index: 2; top: 14px; left: 14px; padding: 6px 12px; border-radius: 999px; font-size: 13px; background: rgba(11, 7, 5, .74);
 color: var(--fg); }
.fit::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 4px; background: var(--cu-hi); margin-right: 8px; vertical-align: 1px; }
.ribbon { position: absolute; z-index: 3; top: 14px; right: 60px; padding: 6px 12px; border-radius: 999px; background: var(--grad); color: #1a0d06; font-size: 12.5px; font-weight: 500; }
.hero .ribbon { position: static; display: inline-block; margin-bottom: 14px; }
.tile .add { position: absolute; z-index: 3; top: 10px; right: 10px; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 999px;
  background: rgba(11, 7, 5, .74); cursor: pointer; transition: background var(--d-s) var(--ease); }

.tile .add.on { background: var(--cu); }
.morewrap { text-align: center; padding: 10px var(--gut) 40px; }

/* the comparing strip: full names that wrap, one copper button */
.strip { position: sticky; bottom: 0; z-index: 45; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 12px var(--gut) calc(12px + env(safe-area-inset-bottom));
  background: rgba(20, 13, 9, .94); }
.strip-in { display: flex; flex-wrap: wrap; gap: 8px; flex: 1 1 260px; min-width: 0; }
.strip .pc { max-width: none; padding-right: 4px; }
.strip .pc button { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 999px; color: var(--fg-2); }
.strip .pc button svg.i { width: 16px; height: 16px; }
.strip .cta { margin-left: auto; }
.mapview + .strip { position: static; }
.pc .pn { font-size: 15px; text-align: left; }
.cmp-head .pc button[data-drop-c] { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 999px; color: var(--fg-2); }
.cmp-head .pc button[data-drop-c] svg.i { width: 15px; height: 15px; }
.cmp-head .pc { padding-right: 8px; }
.cmp-head { flex-wrap: wrap; overflow: visible; }

/* THE MAP */
.mapview { position: relative; }
.bigmap { height: calc(100svh - var(--top) - 118px); min-height: 360px; background: #e9e5df; }
@media (max-height: 500px) and (orientation: landscape) { .bigmap { height: calc(100svh - var(--top) - 70px); min-height: 260px; } }
.maplibregl-ctrl-attrib { font-size: 10px; }
.mapkey-btn { position: absolute; z-index: 5; top: 12px; right: 12px; display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 16px; border-radius: 999px;
  background: rgba(11, 7, 5, .82); font-size: 14.5px; }
.mapkey { position: absolute; z-index: 6; top: 62px; right: 12px; width: 280px; max-height: calc(100% - 80px); overflow-y: auto; border-radius: 18px; padding: 10px 8px 12px;
  background: rgba(20, 13, 9, .96); }
.mk-head { display: flex; align-items: center; justify-content: space-between; padding: 4px 8px 0 12px; font-size: 16px; }
.mk-note { margin: 2px 12px 8px; font-size: 13px; color: var(--fg-3); }
.mk-row { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 44px; padding: 4px 12px; border-radius: 12px; font-size: 15px; text-align: left; }

.mk-ic { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 999px; background: #fff; }
.mk-ic svg.i { width: 16px; height: 16px; stroke-width: 2; }
.mk-n { margin-left: auto; font-size: 13px; color: var(--fg-3); }
.sw { width: 34px; height: 20px; border-radius: 999px; background: var(--bg-4); position: relative; flex: none; transition: background var(--d-s) var(--ease); }
.sw::after { content: ""; position: absolute; top: 3px; left: 3px; width: 14px; height: 14px; border-radius: 999px; background: var(--fg-2); transition: transform var(--d-s) var(--ease), background var(--d-s) var(--ease); }
.mk-row[aria-checked="true"] .sw { background: var(--cu); }
.mk-row[aria-checked="true"] .sw::after { transform: translateX(14px); background: #fff; }
.mcard { position: absolute; z-index: 7; left: 12px; right: 12px; bottom: 12px; display: flex; border-radius: 18px; overflow: hidden; background: rgba(20, 13, 9, .97);
  box-shadow: 0 20px 60px rgba(40, 18, 8, .55); }
.mcard[hidden] { display: none; }
@media (min-width: 760px) { .mcard { left: 16px; right: auto; bottom: 16px; width: 380px; flex-direction: column; } }
.mcard > img { width: 38%; object-fit: cover; flex: none; }
@media (min-width: 760px) { .mcard > img { width: 100%; height: 190px; } }
.mc-b { position: relative; padding: 14px 16px 16px; min-width: 0; flex: 1; }
.mc-b .fit { position: static; display: inline-block; margin-bottom: 8px; background: var(--bg-3); }
.mc-n { font-weight: 300; font-size: 22px; letter-spacing: -.02em; line-height: 1.1; }
.mc-d { font-size: 13.5px; color: var(--fg-2); margin-top: 4px; }
.mc-f { display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: 14px; color: var(--fg-2); margin-top: 10px; }
.mc-f b { color: var(--fg); font-weight: 400; }
.mc-a { display: flex; gap: 8px; margin-top: 14px; flex-wrap: wrap; }
.mc-a .cta { margin: 0; }
.mc-x { position: absolute; z-index: 2; top: 8px; right: 8px; background: rgba(11, 7, 5, .6); }
@media (max-width: 759px) { .mc-b { padding-right: 44px; } }

/* THE PROJECT */
.hero .slides img { background-size: cover; background-position: center; }
.ask > span:nth-child(2) { display: flex; flex-direction: column; min-width: 0; }
.num.grey .v { color: var(--fg-3); }
.hero .glass { border: 0; color: var(--fg); }

/* the answer sheets */
.sheet .top .brand { overflow: hidden; text-overflow: ellipsis; }
.sub { font-size: 15px; }
.row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.row .nm { font-size: 16.5px; }
.row .q, .cat .q, .prow .q, .file .q { display: block; font-size: 13.5px; color: var(--fg-3); margin-top: 2px; }
.row .val { font-weight: 300; font-size: 22px; letter-spacing: -.02em; text-align: right; white-space: nowrap; }
.row .val small { display: block; font-size: 13px; color: var(--fg-3); letter-spacing: 0; font-weight: 400; }
.row .val.txt { white-space: normal; font-size: 16px; font-weight: 400; max-width: 60vw; letter-spacing: 0; }
.row .val svg.st { width: 16px; height: 16px; fill: var(--cu-hi); stroke: none; vertical-align: -1px; }
.nof { color: var(--fg-3); }
.big-kind { font-weight: 300; font-size: clamp(28px, 5vw, 40px); letter-spacing: -.03em; color: var(--cu-hi); margin: 4px 0 18px; }
.src { font-size: 13px; color: var(--fg-3); margin-top: 18px; overflow-wrap: anywhere; }
.cat { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
.cat a { color: var(--cu-hi); }
.spark { display: flex; align-items: flex-end; gap: 10px; height: 160px; padding: 10px 0 0; }
.spark > div { flex: 1; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 6px; font-size: 13px; color: var(--fg-3); text-align: center; }
.spark i { display: block; width: 100%; max-width: 64px; border-radius: 8px 8px 2px 2px; background: rgba(244, 236, 226, .22); }
.spark > div:last-child i { background: var(--cu); }
.spark b { color: var(--fg); font-weight: 400; font-size: 15px; }
.gallery { display: grid; grid-template-columns: 1fr; gap: 10px; }
@media (min-width: 640px) { .gallery { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1080px) { .gallery { grid-template-columns: 1fr 1fr 1fr; } }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 16px; background: var(--bg-2); }
.plan { position: relative; border-radius: var(--r); overflow: hidden; background: #fff; }
.plan img { width: 100%; }
.plan svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.plan rect { fill: none; stroke: none; transition: fill var(--d-s) var(--ease); }
.plan rect.on { fill: rgba(196, 105, 58, .3); stroke: #C4693A; stroke-width: 5; }
.plan.nophoto { min-height: 120px; }
button.room { text-align: left; transition: box-shadow var(--d-s) var(--ease); }
button.room[data-lit] { cursor: pointer; }
button.room.on { box-shadow: inset 0 0 0 1.5px var(--cu); }
button.room .rn, button.room .rv { display: block; }
.minimap { height: 300px; border-radius: var(--r); overflow: hidden; background: #e9e5df; margin-bottom: 8px; }
@media (min-width: 760px) { .minimap { height: 420px; } }
.me img { width: 54px; height: 54px; border-radius: 999px; border: 3px solid #C4693A; object-fit: cover; box-shadow: 0 6px 18px rgba(40, 18, 8, .55); }
.pl { padding: 4px 9px; border-radius: 999px; background: rgba(18, 10, 6, .86); color: #F4ECE2; font-size: 12px; white-space: nowrap; }
.pl b { font-weight: 500; color: #E8A374; }
.files { display: grid; gap: 10px; }
.file { display: flex; align-items: center; gap: 14px; min-height: 72px; padding: 14px 18px; border-radius: 18px; background: var(--bg-2); text-align: left; }
.file svg.i { color: var(--cu-hi); width: 26px; height: 26px; }
.file .t { display: block; font-size: 18px; }
.file.off { opacity: .6; }
.search { display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 16px; border-radius: 16px; background: var(--bg-3); }
.search input { flex: 1; min-width: 0; border: 0; background: none; color: var(--fg); font: inherit; font-size: 17px; outline: none; }
.search svg.i { color: var(--fg-3); }
.otype { margin: 12px 0 4px; }
.picks { display: grid; gap: 8px; margin-top: 8px; }
@media (min-width: 760px) { .picks { grid-template-columns: 1fr 1fr; } }
.prow { display: flex; align-items: center; gap: 14px; padding: 8px 14px 8px 8px; border-radius: 16px; background: var(--bg-2); text-align: left; min-height: 68px;
  transition: box-shadow var(--d-s) var(--ease), background var(--d-s) var(--ease); }
.prow img { width: 56px; height: 56px; border-radius: 12px; object-fit: cover; flex: none; }
.prow .t { display: block; font-size: 16.5px; }
.prow > span:nth-child(2) { min-width: 0; flex: 1; }
.prow .tick { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 999px; background: var(--bg-3); flex: none; }
.prow[aria-pressed="true"] { box-shadow: inset 0 0 0 1.5px var(--cu); background: var(--cu-soft); }
.prow[aria-pressed="true"] .tick { background: var(--cu); }
.dock.in { margin: 20px calc(-1 * var(--gut)) 0; display: flex !important; justify-content: flex-end; }
@media (max-width: 759px) { .dock.in .cta { flex: 1; } }

/* COMPARE */
.cmp .block.first { border: 0; padding-top: 26px; }
.bar .nm .q { display: inline; font-size: 13px; color: var(--fg-3); }
.bar .tr i.in { width: var(--w); }

/* THE SUMMARY: the deck kit's look, on paper */
.sheet.sum { background: #2A1D14; }
.paper { background: #F7F0E8; color: #241A12; border-radius: 6px; padding: 36px 32px; max-width: 820px; margin: 0 auto; box-shadow: 0 30px 80px rgba(40, 18, 8, .55); font-weight: 500; }
.pp-top { display: flex; justify-content: space-between; font-size: 13px; color: #6B5F52; border-bottom: 2px solid #C4693A; padding-bottom: 10px; }
.pp-top b { color: #120A06; font-weight: 700; }
.paper h1 { font-weight: 700; font-size: 30px; letter-spacing: -.03em; color: #120A06; margin: 22px 0 6px; line-height: 1.1; }
.pp-sub { font-size: 14px; color: #6B5F52; margin: 0 0 18px; }
.pp-photos { display: flex; gap: 10px; margin-bottom: 18px; }
.pp-photos figure { margin: 0; flex: 1; min-width: 0; }
.pp-photos img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 4px; }
.pp-photos figcaption { font-size: 12px; color: #6B5F52; margin-top: 4px; }
.paper table { width: 100%; border-collapse: collapse; font-size: 13.5px; font-variant-numeric: tabular-nums; }
.paper th, .paper td { text-align: left; padding: 9px 8px; border-bottom: 1px solid #E4D3BC; vertical-align: top; }
.paper thead th { color: #7A2E14; font-weight: 700; }
.paper tbody th { color: #6B5F52; font-weight: 500; width: 30%; }
.pp-note { font-size: 11.5px; color: #93816E; margin: 16px 0 0; }
@media (max-width: 560px) { .paper { padding: 22px 16px; } .paper table { font-size: 12.5px; } }

.toast { position: fixed; z-index: 1030; right: auto; left: 50%; bottom: 96px; transform: translate(-50%, 12px); opacity: 0; pointer-events: none; padding: 12px 18px; border-radius: 999px;
  background: var(--fg); color: var(--bg); font-size: 14.5px; transition: opacity var(--d-s) var(--ease), transform var(--d-s) var(--ease); max-width: calc(100% - 40px); }
.toast.on { opacity: 1; transform: translate(-50%, 0); }

@media print {
  @page { size: A4; margin: 12mm; }
  body > *:not(.sheet.sum) { display: none !important; }
  html, body, .sheet.sum { background: #fff !important; }
  .sheet.sum { position: static; overflow: visible; animation: none; }
  .sheet.sum > .top, .sheet.sum h2, .sheet.sum .lede, .sheet.sum .end { display: none !important; }
  .sheet.sum .wrap { padding: 0; max-width: none; }
  .paper { box-shadow: none; padding: 0; max-width: none; border-radius: 0; }
}

/* the bar is one line when there is room; a phone held sideways lets the top line scroll away */
@media (min-width: 760px) {
  .fbar { display: flex; align-items: center; gap: 16px; }
  .fchips { flex: 1; min-width: 0; }
  .frow { margin-top: 0; gap: 16px; flex: none; }
}
@media (max-height: 500px) and (orientation: landscape) {
  .top { position: relative; }
  .fbar { top: 0; padding-top: 8px; padding-bottom: 8px; }
  .bigmap { height: calc(100svh - 60px); }
}
@media (min-width: 760px) { .bigmap { height: calc(100svh - var(--top) - 64px); } }
.mapview.ws .bigmap { height: calc(100svh - var(--top) - 118px - 72px); }
@media (min-width: 760px) { .mapview.ws .bigmap { height: calc(100svh - var(--top) - 64px - 72px); } }
@media (max-height: 500px) and (orientation: landscape) { .mapview.ws .bigmap { height: calc(100svh - 60px - 64px); } }
@media (max-width: 759px) { .notice-m { display: block; } }
.hero .dots { bottom: auto; top: 70px; }

/* ================= v3.1 (1 Oct 2026): the main screen is a panel on the left and every project on the right ================= */
.phone-only { display: none !important; }
.linkbtn { display: inline-flex; align-items: center; gap: 6px; color: var(--fg-2); font-size: 14px; min-height: 40px; }

.linkbtn svg.i { width: 17px; height: 17px; }
.browse { display: grid; grid-template-columns: 320px minmax(0, 1fr); min-height: calc(100svh - var(--top) - var(--menu)); }
.panel { position: sticky; top: calc(var(--top) + var(--menu)); height: calc(100svh - var(--top) - var(--menu)); overflow-y: auto; overscroll-behavior: contain; padding: 6px 20px 30px var(--gut);
  background: var(--bg-2); scrollbar-width: thin; scrollbar-color: var(--bg-4) transparent; }
.p-head { display: flex; align-items: center; gap: 10px; padding: 14px 0 6px; font-size: 20px; font-weight: 300; letter-spacing: -.02em; }
.p-head .linkbtn { margin-left: auto; }
.ps { padding: 16px 0 6px; }
.ps + .ps { border-top: 1px solid var(--line); }
.ph { display: flex; align-items: center; gap: 10px; margin: 0 0 12px; font-size: 15px; font-weight: 500; color: var(--fg); }
.ph svg.i { width: 19px; height: 19px; color: var(--cu-hi); }
.pchip { min-height: 38px; padding: 7px 13px; font-size: 14.5px; display: inline-flex; align-items: center; gap: 7px; }
.pchip svg.i { width: 17px; height: 17px; color: var(--fg-2); }
.pchip .cn { margin-left: 2px; }
.panel .chips { gap: 7px; }
.panel .chips.areas { max-height: 230px; margin-top: 10px; }
.panel .chips.join { margin-top: 10px; }
.own.sm { margin-top: 10px; gap: 8px; }
.own.sm input { width: 84px; min-height: 40px; font-size: 16px; border-radius: 12px; }
.own.sm label { font-size: 14px; }
.own.sm .unit { font-size: 13px; }
.search.sm { min-height: 42px; border-radius: 12px; }
.search.sm input { font-size: 15px; }
.p-note { font-size: 13px; color: var(--fg-3); margin: 8px 0 0; }
.p-foot { display: grid; gap: 10px; padding: 18px 0 10px; border-top: 1px solid var(--line); margin-top: 10px; }
.p-foot .cta { margin: 0; }
.scrim { display: none; }

.stage { min-width: 0; padding: 0 var(--gut) 60px; }
.stage-head { position: sticky; top: calc(var(--top) + var(--menu)); z-index: 30; display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; padding: 18px 0 16px;
  background: linear-gradient(to bottom, var(--bg) 78%, rgba(11, 7, 5, 0)); }
.bc { display: flex; align-items: baseline; gap: 12px; }
.bigcount { font-weight: 200; font-size: clamp(48px, 7vw, 84px); line-height: .9; letter-spacing: -.05em; }
.bcl { font-size: 17px; color: var(--fg-2); }
.sh-r { display: flex; align-items: center; gap: 10px; }

/* the tiles: small photo rectangles; fewer tiles = bigger tiles */
.grid { display: grid; grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr)); gap: 12px; }
.st { position: relative; border-radius: 16px; overflow: hidden; background: var(--bg-2); will-change: transform; }
.st.enter { }
.st.fadeout { opacity: 0; transition: opacity var(--d-s) var(--ease); }
.st-open { display: block; width: 100%; text-align: left; }
.st-ph { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--bg-3); }
.st-ph img { width: 100%; height: 100%; object-fit: cover; transition: transform 400ms var(--ease); }

.st-tx { display: block; padding: 10px 12px 12px; }
.st-n { display: block; font-size: 15.5px; line-height: 1.25; letter-spacing: -.01em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.st-p { display: block; font-size: 13.5px; color: var(--fg-2); margin-top: 2px; }
.st-add { position: absolute; top: 8px; right: 8px; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 999px;
  background: rgba(11, 7, 5, .74); transition: background var(--d-s) var(--ease); }
.st-add svg.i { width: 18px; height: 18px; }

.st-add.on { background: var(--cu); }
.st-crown { position: absolute; top: 8px; left: 8px; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 999px; background: var(--grad); color: #1a0d06; }
.st-crown svg.i { width: 17px; height: 17px; }
.grid .nophoto .noname { font-size: 17px; padding: 12px; }
#fx { position: fixed; inset: 0; z-index: 70; pointer-events: none; width: 100vw; height: 100vh; }

.browse .bigmap { height: calc(100svh - var(--top) - var(--menu) - 118px); border-radius: var(--r); overflow: hidden; }
.browse .mapview.ws .bigmap { height: calc(100svh - var(--top) - var(--menu) - 118px - 72px); }
.browse .mapview { margin: 0; }

/* a phone: the panel is a drawer */
@media (max-width: 899px) {
  .phone-only { display: inline-flex !important; }
  .browse { grid-template-columns: 1fr; }
  .panel { position: fixed; z-index: 1010; top: 0; left: 0; bottom: 0; height: auto; width: min(360px, 88vw); padding-top: env(safe-area-inset-top);
    transform: translateX(-102%); transition: transform var(--d-l) var(--ease); box-shadow: 20px 0 60px rgba(40, 18, 8, .55); }
  .browse.drawer .panel { transform: none; }
  .scrim { display: block; position: fixed; inset: 0; z-index: 1005; background: rgba(0, 0, 0, .5); opacity: 0; pointer-events: none; transition: opacity var(--d-l) var(--ease); }
  .browse.drawer .scrim { opacity: 1; pointer-events: auto; }
  .p-head .x { margin-left: 0; }
  .p-foot { position: sticky; bottom: 0; background: var(--bg-2); padding-bottom: calc(14px + env(safe-area-inset-bottom)); }
  .stage-head { padding: 12px 0; align-items: center; }
  .bigcount { font-size: 48px; }
  .grid { gap: 10px; }
  .browse .bigmap { height: calc(100svh - var(--top) - 150px); }
}
@media (max-height: 500px) and (orientation: landscape) {
  .stage-head { position: static; padding: 8px 0; }
  .bigcount { font-size: 40px; }
  .browse .bigmap { height: calc(100svh - 70px); }
}

/* ================= compare: a colour per project, icons on every measure ================= */
.bi { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 14px; background: var(--bg-3); color: var(--cu-hi); margin-right: 14px; vertical-align: -6px; }
.bi svg.i { width: 22px; height: 22px; }
.block h3 { display: flex; align-items: center; }
.pc[style*="--pc"] { box-shadow: inset 0 0 0 1.5px var(--pc); }
.pc[style*="--pc"] img { box-shadow: 0 0 0 2px var(--pc); }
.dot { display: inline-block; width: 9px; height: 9px; border-radius: 5px; background: var(--pc, var(--fg-2)); margin-right: 8px; vertical-align: 1px; flex: none; }
.bar[style*="--pc"] .tr i { background: var(--pc); opacity: .42; }
.bar.best[style*="--pc"] .tr i { opacity: 1; }
.bar.best[style*="--pc"] .val { color: var(--pc); }
.fair { display: flex; align-items: center; gap: 8px; }
.fair svg.i { width: 17px; height: 17px; }
.legend i { width: 12px; height: 12px; border-radius: 3px; }
.num .l { display: flex; align-items: center; gap: 8px; }
.num .l svg.i { width: 18px; height: 18px; color: var(--cu-hi); flex: none; }
.sub { display: flex; align-items: center; gap: 8px; }
.sub svg.i { width: 18px; height: 18px; color: var(--cu-hi); }
.room .rv .dot { width: 7px; height: 7px; margin-right: 6px; }

/* ================= the plan view ================= */
.pv-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
@media (min-width: 1000px) { .pv-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 8fr); align-items: start; } .pv-grid.solo { grid-template-columns: minmax(0, 1fr); } }
.pv-plans { background: var(--bg-2); border-radius: var(--r); padding: 16px; min-width: 0; }
.pv-bar { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-bottom: 12px; }
.pv-t { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; color: var(--fg-2); }
.pv-t svg.i { width: 18px; height: 18px; color: var(--cu-hi); }
.seg.sm button { min-height: 32px; font-size: 13.5px; padding: 0 12px; }
.pv-stage { position: relative; width: 100%; min-height: 120px; background: radial-gradient(ellipse at 30% 20%, #1c140e, #0e0907); border-radius: 14px; overflow: hidden; }
.pv-stage.in .pv-one { }
.pv-one { position: absolute; }
.pv-one canvas { display: block; opacity: .82; mix-blend-mode: screen; }
.pv-stage[data-mode="over"] .pv-one canvas { opacity: .66; }
.pv-n { position: absolute; left: 0; top: 100%; margin-top: 4px; font-size: 12.5px; white-space: nowrap; }
.drone-chips { margin-bottom: 12px; }
.drone-chips .chip { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; font-size: 14.5px; }
.drone-chips .chip svg.i { width: 17px; height: 17px; color: var(--fg-2); }
.drone-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; }
.cut { margin: 0; padding: 12px; border-radius: 16px; background: var(--bg-2); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--pc) 40%, transparent); animation: fly var(--d-l) var(--ease) both; }
.cutbox { display: flex; align-items: flex-end; justify-content: center; min-height: 40px; background: #0e0907; border-radius: 10px; padding: 6px; }
.cutbox canvas { display: block; mix-blend-mode: screen; }
.cut figcaption { font-size: 13.5px; color: var(--fg-2); margin-top: 8px; line-height: 1.4; }
@keyframes fly { from { opacity: 0; transform: scale(.94); } to { opacity: 1; transform: none; } }
.heights { display: flex; flex-wrap: wrap; gap: 22px; align-items: flex-end; padding: 8px 0; }
.hbar { display: flex; align-items: flex-end; gap: 10px; font-size: 13.5px; color: var(--fg-2); }
.hbar i { display: block; width: 26px; border-radius: 4px 4px 0 0; opacity: .8; }
.hbar b { color: var(--fg); font-weight: 400; }
.hbar em { font-style: normal; color: var(--fg-3); }

/* ================= ALL NUMBERS inside the showroom ================= */
.tables { padding-bottom: 60px; }
.t-top { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; padding: 20px 0 6px; }
.t-h { font-weight: 300; font-size: clamp(30px, 5vw, 48px); letter-spacing: -.035em; margin: 0; }
.tg h2 { display: flex; align-items: center; gap: 10px; font-weight: 300; font-size: 26px; letter-spacing: -.02em; margin: 34px 0 12px; }
.tg h2 svg.i { width: 24px; height: 24px; color: var(--cu-hi); }
.tbox { max-height: 76vh; overflow: auto; border-radius: 16px; background: var(--bg-2); overscroll-behavior-x: contain; }
.nt { border-collapse: separate; border-spacing: 0; width: 100%; min-width: 560px; font-size: 14.5px; }
.nt th, .nt td { padding: 11px 14px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.nt thead th { position: sticky; top: 0; z-index: 2; background: var(--bg-3); font-weight: 400; min-width: 150px; }
.nt thead th.corner { left: 0; z-index: 3; }
.nt tbody th { position: sticky; left: 0; z-index: 1; background: var(--bg-2); font-weight: 400; color: var(--fg-2); min-width: 190px; max-width: 240px; }
.nt tbody th { display: table-cell; }
.nt tbody th svg.i { width: 16px; height: 16px; color: var(--cu-hi); margin-right: 8px; vertical-align: -3px; }
.nt tbody tr:nth-child(even) td { background: rgba(244, 236, 226, .02); }
.nt td.best { font-weight: 500; }
.thn { display: flex; align-items: center; font-size: 15px; box-shadow: inset 0 -2px 0 var(--pc); padding-bottom: 6px; }
.thh { display: block; font-size: 13px; color: var(--fg-3); margin-top: 6px; }
.nt select { margin-top: 6px; width: 100%; min-height: 34px; border-radius: 10px; border: 0; background: var(--bg-4); color: var(--fg); font: inherit; font-size: 13.5px; padding: 0 8px; }
.yes svg.i { width: 18px; height: 18px; color: var(--cu-hi); }
@media (max-width: 759px) { .nt tbody th { min-width: 140px; } .nt thead th { min-width: 130px; } }
.own.sm { flex-wrap: nowrap; }
.own.sm label { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.own.sm input { width: 64px; padding: 0 8px; }
.block h3 { display: block; }
.bi { vertical-align: -10px; }
@media (max-width: 899px) {
  .stage-head { flex-wrap: wrap; row-gap: 10px; }
  .bc { width: 100%; }
  .sh-r { width: 100%; justify-content: space-between; }
  .sh-r .ghost { white-space: nowrap; }
}
html { overflow-x: clip; }
.panel { max-width: 100vw; }

/* ================= v3.2 (1 Oct 2026) ================= */
/* scrollbars in the brand: thin, no arrows, a copper thumb */
* { scrollbar-width: thin; scrollbar-color: rgba(196, 105, 58, .6) transparent; }

::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(196, 105, 58, .6); border-radius: 8px; }

::-webkit-scrollbar-button { display: none; width: 0; height: 0; }
::-webkit-scrollbar-corner { background: transparent; }
@media (hover: none) { ::-webkit-scrollbar { width: 6px; height: 6px; } }
.panel { scrollbar-color: rgba(196, 105, 58, .6) var(--bg-2); }

/* no spinner arrows anywhere */
input[type=number]::-webkit-inner-spin-button, input[type=number]::-webkit-outer-spin-button { -webkit-appearance: none; appearance: none; margin: 0; }
input[type=number] { -moz-appearance: textfield; appearance: textfield; }

/* the money and size fields: wide, tall, AED inside, commas while typing */
.moneys { display: grid; grid-template-columns: 1fr; gap: 8px; margin-top: 12px; }
.start .moneys { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); max-width: 560px; }
.money { display: flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 14px; border-radius: 14px; background: var(--bg-3); min-width: 160px;
  box-shadow: inset 0 0 0 1px transparent; transition: box-shadow var(--d-s) var(--ease); cursor: text; }
.money:focus-within { box-shadow: inset 0 0 0 1.5px var(--cu); }
.money .pre, .money .post { font-size: 14px; color: var(--fg-3); flex: none; }
.money .pre:empty, .money .post:empty { display: none; }
.money input { flex: 1; min-width: 0; width: 100%; border: 0; outline: none; background: none; color: var(--fg); font: inherit; font-size: 18px; font-variant-numeric: tabular-nums; padding: 10px 0; }
.money input::placeholder { color: var(--fg-3); }

/* the panel's options look like the showroom's question options */
.popts { display: grid; grid-template-columns: 1fr; gap: 6px; }
.popt { display: flex; align-items: center; gap: 12px; min-height: 48px; padding: 10px 16px; border-radius: 14px; background: var(--bg-3); text-align: left;
  font-size: 16px; transition: background var(--d-s) var(--ease), box-shadow var(--d-s) var(--ease); }

.popt[aria-pressed="true"] { background: var(--cu-soft); box-shadow: inset 0 0 0 1.5px var(--cu); }
.popt svg.i { width: 20px; height: 20px; color: var(--fg-2); }
.popt .n { margin-left: auto; font-size: 13.5px; color: var(--fg-3); }
.popt[aria-pressed="true"] .n { color: var(--cu-hi); }
.pchip { min-height: 42px; padding: 8px 15px; font-size: 15px; border-radius: 14px; }
.panel .ps { padding: 18px 0 8px; }

/* the photos: the small copy under, the big one fades in over it */
.st-ph { background-size: cover; background-position: center; }
.st-ph img { opacity: 0; transition: opacity var(--d-l) var(--ease), transform 400ms var(--ease); }
.st-ph img.ok { opacity: 1; }
.mcard > img { min-height: 140px; }

/* smoke: the tile fades in the first 120 ms under it */
.st.smoking { opacity: 0; transition: opacity 120ms linear; }
.st.fadeout { opacity: 0; transition: opacity 200ms linear; }

/* the Ask screens: a back arrow top left, a title with its icon */
.sheet .top { gap: 12px; }
.sheet .top .x.back { margin-left: 0; }
.sheet h2 .bi { width: 48px; height: 48px; vertical-align: -8px; }
.sheet h2 .bi svg.i { width: 24px; height: 24px; }

/* the inside: a masonry of large photos, a strip of plans, a full-screen viewer */
.masonry { columns: 2 260px; column-gap: 10px; }
/* a small 2 x 2 of pictures (the walk screen before its plans are read): sizes and the plain line stay near on a phone */
.masonry.two { columns: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.masonry.two .mz { margin: 0; aspect-ratio: 4 / 3; overflow: hidden; } .masonry.two .mz img { width: 100%; height: 100%; object-fit: cover; }
.mz { display: block; width: 100%; margin: 0 0 10px; break-inside: avoid; border-radius: 14px; overflow: hidden; background: var(--bg-2); }
.mz img { width: 100%; height: auto; transition: transform 400ms var(--ease); }

.hstrip { display: flex; gap: 12px; overflow-x: auto; padding: 2px 2px 12px; scroll-snap-type: x proximity; }
.hp { flex: 0 0 min(300px, 78vw); scroll-snap-align: start; text-align: left; }
.hp img { width: 100%; aspect-ratio: 4 / 3; object-fit: contain; background: #fff; border-radius: 12px; }
.hp span { display: block; font-size: 13.5px; color: var(--fg-2); margin-top: 6px; }
.lb { position: fixed; inset: 0; z-index: 1020; background: rgba(6, 4, 3, .97); animation: fadein 180ms var(--ease) both; }
.lb-track { display: flex; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.lb-track::-webkit-scrollbar { display: none; }
.lb-track figure { flex: 0 0 100%; margin: 0; display: grid; place-items: center; scroll-snap-align: center; padding: 56px 12px 48px; }
.lb-track img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 6px; }
.lb-x { position: absolute; top: 12px; right: 12px; }
.lb-n { position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); font-size: 14px; color: var(--fg-2); }
.lb-a { position: absolute; top: 50%; transform: translateY(-50%); display: grid; place-items: center; width: 48px; height: 48px; border-radius: 999px; background: rgba(244, 236, 226, .1); }
.lb-a.l { left: 14px; } .lb-a.r { right: 14px; }
@media (hover: none) { .lb-a { display: none; } }

/* who builds it: one developer card */
.devcard { background: var(--bg-2); border-radius: var(--r); padding: 24px; }
.dv-name { font-weight: 300; font-size: clamp(32px, 6vw, 52px); letter-spacing: -.04em; line-height: 1.05; }
.dv-kind { margin-top: 8px; font-size: 18px; color: var(--cu-hi); }
.dv-src { margin-top: 4px; font-size: 13px; color: var(--fg-3); }
.dv-nums { display: flex; flex-wrap: wrap; gap: 18px 40px; margin-top: 22px; }
.dv-nums b { display: block; font-weight: 300; font-size: 36px; letter-spacing: -.03em; }
.dv-nums span { font-size: 14px; color: var(--fg-2); }
.dv-usp { margin: 20px 0 0; font-size: 18px; color: var(--fg); }
.dvbars > div { display: flex; align-items: center; gap: 12px; margin: 8px 0; font-size: 15px; }
.dvbars i { display: block; height: 14px; border-radius: 7px; background: var(--cu); min-width: 4px; }
.dvbars i.late { background: #B27BA8; }
.devgrid { margin-top: 8px; }

/* the summary on paper: two to five projects on one page */
.pp-photos.n4 img, .pp-photos.n5 img { aspect-ratio: 1 / 1; }
.paper.n4 table, .paper.n5 table { font-size: 12px; }
@media print {
  .paper { font-size: 11pt; }
  .paper.n4 table, .paper.n5 table { font-size: 8.5pt; }
  .paper.n4 th, .paper.n4 td, .paper.n5 th, .paper.n5 td { padding: 5px 4px; }
  .pp-photos img { max-height: 58mm; }
  .paper, .paper * { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  #fx, .lb, .toast { display: none !important; }
}

/* ================= v3.3 ================= */
.st-line { display: block; margin-top: 2px; transition: opacity 120ms linear; }
.st-line.swap { opacity: 0; }
.st-p { display: inline; font-size: 14px; color: var(--fg); }
.st-h { display: block; font-size: 12.5px; color: var(--fg-2); margin-top: 1px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.st-m { display: block; font-size: 12px; color: var(--cu-hi); margin-top: 1px; }
.st.gather { opacity: 0; }
.st.gather.in { opacity: 1; transition: opacity 200ms linear; }
#fx { will-change: transform; }
.chips .pchip svg.i { width: 17px; height: 17px; color: var(--fg-2); }
.grid .st { content-visibility: auto; contain-intrinsic-size: auto 230px; }

/* ================= v3.4: the note on the 3D (Walk inside was removed 1 Oct 2026) ================= */
.w-honest { position: absolute; left: 12px; top: 12px; right: 190px; padding: 7px 12px; border-radius: 12px; background: rgba(11, 7, 5, .72); font-size: 12.5px; color: var(--fg-2); line-height: 1.35; pointer-events: none; }
@media (max-width: 599px) { .w-honest { right: 12px; top: 58px; } }

/* ================= v3.5: the windowed grid ================= */
#grid { position: relative; display: block; }
#grid .st { position: absolute; left: 0; top: 0; width: var(--tw); content-visibility: visible;
  transition: transform var(--d-l) var(--ease), opacity 120ms linear; }
#grid .st-tx { height: var(--tt, 124px); overflow: hidden; }
/* full names: two lines kept for every name (rows stay even), the tile's home line wraps on narrow tiles */
#grid .st-n { white-space: normal; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; min-height: calc(2 * 1.25em); }
#grid.narrow .st-h { white-space: normal; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
#grid .st.enter { animation: none; }

/* ================= v3.6 ================= */
.brand { display: inline-flex; align-items: center; gap: 8px; }
.brand .logo { height: 34px; width: 34px; object-fit: contain; display: block; transform: scale(1.5); }
.four, .asks { transition: opacity 120ms linear; }
.four.swap, .asks.swap { opacity: 0; }
.amstrip { display: flex; flex-wrap: wrap; gap: 8px; width: 100%; margin: -10px 0 26px; text-align: left; }
.amstrip .am { display: inline-flex; align-items: center; gap: 7px; padding: 7px 12px; border-radius: 999px; background: var(--bg-2); font-size: 13.5px; color: var(--fg-2); }
.amstrip .am svg.i { width: 16px; height: 16px; color: var(--cu-hi); }
.amstrip .am.more { color: var(--cu-hi); }

.amgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.amt { display: flex; flex-direction: column; gap: 10px; padding: 16px; border-radius: 16px; background: var(--bg-2); font-size: 15px; min-height: 96px; }
.amt svg.i { width: 26px; height: 26px; color: var(--cu-hi); }
.amt.cu { background: var(--cu-soft); box-shadow: inset 0 0 0 1.5px var(--cu); }
.amt.off { opacity: .5; }
.amt.off svg.i { color: var(--fg-3); }

/* ================= v3.7: the doll's house in "How big is it?" ================= */
.doll { position: relative; height: min(58vh, 560px); min-height: 300px; border-radius: var(--r); overflow: hidden; background: #0E0907; touch-action: none; margin-bottom: 12px; }
.doll canvas { display: block; width: 100%; height: 100%; cursor: grab; }
.doll .w-honest { right: 12px; }
.d-foot { position: absolute; left: 12px; right: 12px; bottom: 10px; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; pointer-events: none; }
.d-names { display: flex; flex-wrap: wrap; gap: 6px 14px; padding: 8px 12px; border-radius: 12px; background: rgba(11, 7, 5, .72); font-size: 13.5px; pointer-events: none; }
.d-names i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 7px; vertical-align: -1px; }
.d-ceil { font-size: 11.5px; color: var(--fg-3); line-height: 1.4; }
.flatbtn { margin: 0 0 16px; }
.doll.off canvas { display: none; }

/* ================= v3.8: everything nearby ================= */
.chips.nr { margin-bottom: 12px; }
.nmap { position: relative; }
.nmap .minimap { height: min(56vh, 520px); }
.nkinds { position: absolute; left: 10px; right: 10px; top: 10px; display: flex; gap: 6px; overflow-x: auto; padding-bottom: 4px; }
.nk { flex: none; display: inline-flex; align-items: center; gap: 6px; padding: 6px 11px; border-radius: 999px; background: rgba(255, 255, 255, .94); color: #241A12; font-size: 13px; box-shadow: 0 2px 8px rgba(40, 18, 8, .15); }
.nk svg.i { width: 15px; height: 15px; color: var(--kc); stroke-width: 2; }
.nk b { font-weight: 500; color: #6B5F52; }
.nk[aria-pressed="false"] { opacity: .45; }
.ncard { position: absolute; left: 12px; bottom: 12px; max-width: 320px; padding: 14px 16px; border-radius: 16px; background: rgba(20, 13, 9, .96); box-shadow: 0 12px 40px rgba(40, 18, 8, .55); }
.ncard .x { position: absolute; top: 6px; right: 6px; }
.nc-k { display: flex; align-items: center; gap: 6px; font-size: 13px; }
.nc-k svg.i { width: 16px; height: 16px; }
.nc-n { font-size: 17px; margin-top: 4px; padding-right: 30px; }
.nc-f { font-size: 13.5px; color: var(--fg-2); margin-top: 4px; }
.ngroup h4 { display: flex; align-items: center; gap: 10px; margin: 26px 0 4px; font-weight: 400; font-size: 18px; }
.nic { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 999px; background: #fff; flex: none; }
.nic svg.i { width: 17px; height: 17px; color: var(--kc); stroke-width: 2; }
/* 5 Oct 2026: the small-button rule ".sm { min-height: 40px !important; padding: 0 16px !important }" also caught this small ICON
   (the same class name), so every row icon in Nearby came out 32 x 40, an oval with a squeezed drawing. The icon says no to both. */
.nic.sm { width: 26px; height: 26px; margin-right: 10px; min-height: 0 !important; padding: 0 !important; }
.nic.sm svg.i { width: 14px; height: 14px; }
.nrow .nm { display: flex; align-items: center; }
.nkinds { left: 52px; }
.hero .ribbon.brandb { background: rgba(11,7,5,.82); color: var(--fg); box-shadow: inset 0 0 0 1px rgba(232,163,116,.6); margin-left: 6px; font-weight: 500; }
.hero .ribbon.brandb svg.i { width: 14px; height: 14px; color: var(--cu-hi); vertical-align: -2px; margin-right: 6px; }
.hero .ribbon.brandb em { font-style: normal; color: var(--fg-2); }
@media (max-width: 599px) { .doll .w-honest { top: 10px; right: 10px; font-size: 11px; padding: 5px 9px; } .doll .d-names { font-size: 12px; } }
/* phone: the 3D keeps its own height, the colour key and ceilings sit under it, never on it */
@media (max-width: 599px) { .doll { height: auto; min-height: 0; overflow: visible; background: none; }
  .doll canvas { height: min(52vh, 440px); min-height: 280px; border-radius: var(--r); background: #0E0907; }
  .doll .d-foot { position: static; padding: 10px 2px 0; } .doll .d-names { background: none; padding: 0; } }

/* v3.13: the holiday let line under the rent number */
.num .s .bnbl { display: block; margin-top: 6px; color: var(--fg-2); }
.num .s .bnbl svg.i { width: 15px; height: 15px; vertical-align: -2px; margin-right: 6px; color: var(--cu-hi); }
.dvthin { font-size: 17px; line-height: 1.5; margin: 6px 0 4px; }
.pchip .cw { font-style: normal; color: var(--fg-3); }

/* ================= v3.16: the hero slider (arrows, drag, dots that are buttons) ================= */
.hero .sarr { top: 50%; margin-top: -24px; width: 48px; height: 48px; opacity: .78; transition: opacity var(--d-s) var(--ease), background var(--d-s) var(--ease); }
.hero .sarr.prev { left: var(--gut); } .hero .sarr.next { right: var(--gut); } .hero .sarr.next svg { transform: scaleX(-1); }
.hero .sarr:focus-visible { opacity: 1; } .hero .sarr:disabled { opacity: 0 !important; pointer-events: none; }
@media (hover: none) { .hero .sarr { display: none; } }
.hero .slides { cursor: grab; } .hero .slides.drag { cursor: grabbing; scroll-snap-type: none; scroll-behavior: auto; }
.hero .slides img { -webkit-user-drag: none; user-select: none; }
.dots button { display: grid; place-items: center; width: auto; min-width: 14px; height: 24px; padding: 0 2px; background: none; border: 0; cursor: pointer; }
.dots button.on b { width: 18px; background: var(--fg); }

/* ================= v3.17: the project's own exterior photo behind every screen of that project ================= */
/* html keeps the ink; the body turns see-through so the fixed backdrop (z -1) sits between them; the veil is the ink at 88% plus an 8 px blur:
   the faintest grey text (fg-3) keeps 4.6:1 even over a white photo. Panels become glass: the panel colours at about 70%, with a thin light edge. */
.backdrop { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; background: var(--bg); }
.backdrop img { position: absolute; inset: -24px; width: calc(100% + 48px); height: calc(100% + 48px); object-fit: cover; filter: blur(8px);
  opacity: 0; transition: opacity var(--d-l) var(--ease); }
.backdrop img.on { opacity: 1; }
.backdrop::after { content: ''; position: absolute; inset: 0; background: rgba(11, 7, 5, .88); }
body.bd-on { background: transparent; --bg-2: rgba(20, 13, 9, .70); --bg-3: rgba(29, 20, 14, .72); }
body.bd-on .ask, body.bd-on .amstrip .am, body.bd-on .file, body.bd-on .devcard, body.bd-on .tile, body.bd-on .mz, body.bd-on .pc { box-shadow: inset 0 0 0 1px rgba(244, 236, 226, .07); }
body.bd-on .dock { background: linear-gradient(to top, rgba(11, 7, 5, .9) 62%, rgba(11, 7, 5, 0)); }
/* an Ask screen: the page under it is HIDDEN (visibility + inert, set in sheet()), so the screen sits straight on the one fixed backdrop.
   (Before: the screen carried its own fixed copy of the photo, but its rise animation made that copy scroll away, and the page showed through.) */
body.sheet-open > :not(.sheet):not(#bd):not(.lb):not(.toast) { visibility: hidden; }
body.bd-on .sheet { background: transparent; }
@media (prefers-reduced-motion: reduce) { .backdrop img { transition: none; } }
.mk-row[aria-checked="true"] .mk-n { color: var(--fg-2); }   /* a kind switched off keeps its count, in grey */

/* ================= v3.25: Near (minutes to the nearest place, per kind) ================= */
.nrow { margin: 0 0 12px; }
.nrow-h { display: flex; align-items: center; gap: 8px; font-size: 15px; margin-bottom: 6px; }
.nrow-h svg.i { width: 17px; height: 17px; color: var(--cu-hi); } .nrow-h .x { margin-left: auto; }
.nsel { margin: 2px 0 8px; }
.nlist .pchip svg.i { width: 15px; height: 15px; color: var(--fg-2); }

/* ================= v3.26: the folded panel and the Near popover (Nasser 2 Oct 00:05) ================= */
.panel .ps { padding: 0; }
.ps .ph { width: 100%; display: flex; align-items: center; gap: 10px; margin: 0; padding: 12px 2px; background: none; border: 0; color: var(--fg); font: inherit; font-size: 15px; font-weight: 500; text-align: left; cursor: pointer; }
.ps .ph .pt { flex: none; }
.ps .ph .pv { flex: 1; min-width: 0; text-align: right; font-weight: 400; font-size: 13.5px; color: var(--cu-hi); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ps .ph > svg.i:last-child { width: 16px; height: 16px; color: var(--fg-3); flex: none; transform: rotate(90deg); transition: transform var(--d-l) var(--ease); }
.ps.open .ph > svg.i:last-child { transform: rotate(-90deg); }
.ps .pb { padding: 2px 0 14px; animation: pbin 220ms var(--ease) both; transform-origin: top; }
.ps .pb.closing { animation: pbout 180ms var(--ease) both; }
@keyframes pbin { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
@keyframes pbout { from { opacity: 1; transform: none; } to { opacity: 0; transform: translateY(-6px); } }
.ps .pb .chips + .chips, .ps .pb .chips + .moneys { margin-top: 10px; }
.nks { align-items: flex-start; }
.nkw { position: relative; display: inline-flex; align-items: center; }
.nkw.on .pchip { padding-right: 34px; border-color: var(--cu); }
.nkx { position: absolute; right: 4px; top: 50%; margin-top: -13px; width: 26px; height: 26px; display: grid; place-items: center; border: 0; border-radius: 999px; background: none; color: var(--fg-2); cursor: pointer; }
 .nkx svg.i { width: 14px; height: 14px; }
.npop { flex-basis: 100%; padding: 12px; border-radius: 16px; background: rgba(20, 13, 9, .97);
  box-shadow: inset 0 0 0 1px rgba(196, 105, 58, .55), 0 14px 34px rgba(40, 18, 8, .55); animation: popin 220ms var(--ease) both; transform-origin: top left; }
.npop.closing { animation: popout 160ms var(--ease) both; }
.npop-t { font-size: 13px; color: var(--fg-2); margin: 0 0 8px; }
.npop .pchip:focus-visible { outline: 2px solid var(--cu-hi); outline-offset: 2px; }
@keyframes popin { from { opacity: 0; transform: translateY(-4px) scale(.97); } to { opacity: 1; transform: none; } }
@keyframes popout { from { opacity: 1; transform: none; } to { opacity: 0; transform: translateY(-4px) scale(.97); } }
@media (prefers-reduced-motion: reduce) { .ps .pb, .ps .pb.closing, .npop, .npop.closing { animation: none; } }
.nks .pchip { min-height: 38px; padding: 6px 12px; font-size: 14px; }
.nks .pchip svg.i { width: 16px; height: 16px; }
.nadd { color: var(--fg-2); border-style: dashed; }
.nlistpop { display: flex; flex-direction: column; gap: 2px; max-height: 280px; overflow-y: auto; padding: 6px; scrollbar-width: thin; scrollbar-color: var(--cu) transparent; }
.nopt { display: flex; align-items: center; gap: 10px; min-height: 40px; padding: 6px 10px; border: 0; border-radius: 10px; background: none; color: var(--fg); font: inherit; font-size: 14.5px; text-align: left; cursor: pointer; }
.nopt svg.i { width: 17px; height: 17px; color: var(--cu-hi); flex: none; }
.nopt .cn { margin-left: auto; font-size: 13px; color: var(--fg-3); }
.nopt:focus-visible { background: rgba(196, 105, 58, .16); outline: none; }
.npop .pchip { min-height: 34px; padding: 5px 10px; font-size: 13.5px; }
.npop .chips { gap: 6px; }
.npop .pchip .cn { font-size: 12px; }

/* ================= craft pass 2 Oct 2026 ================= */
/* every hover state only where a real pointer hovers: a tapped tile or chip on a phone never stays lit */
@media (hover: hover) and (pointer: fine) {
.opt:not([aria-pressed="true"]):hover { background: var(--bg-4); }
.chip:not([aria-pressed="true"]):hover { background: var(--bg-4); }
.cta:hover { background: var(--cu-press); }
.ghost:hover { background: var(--bg-4); }
.ask:hover { background: var(--bg-3); }
.fchip button:hover { background: rgba(244, 236, 226, .08); color: var(--fg); }
.tile:hover { transform: translateY(-2px); }
.tile:hover .ph img { transform: scale(1.03); }
.tile .add:hover { background: rgba(11, 7, 5, .8); }
.mk-row:hover { background: var(--bg-3); }
.linkbtn:hover { color: var(--fg); }
.st:hover .st-ph img { transform: scale(1.04); }
.st-add:hover { background: rgba(11, 7, 5, .85); }
*:hover { scrollbar-color: rgba(196, 105, 58, .85) transparent; }
::-webkit-scrollbar-thumb:hover { background: #C4693A; }
.popt:not([aria-pressed="true"]):hover { background: var(--bg-4); }
.mz:hover img { transform: scale(1.03); }
.amstrip:hover .am { background: var(--bg-3); }
.hero:hover .sarr { opacity: 1; }
.nkx:hover { background: rgba(244, 236, 226, .1); color: var(--fg); }
.nopt:hover { background: rgba(196, 105, 58, .16); outline: none; }
}
/* phone feel: no grey flash on tap, no 300 ms tap delay, no text selection on a long press of a control */
html { -webkit-tap-highlight-color: transparent; }
button, a, .tile, .st, .pchip, .ask, .row, .chip, .popt, .nopt { touch-action: manipulation; }
button, .chip, .pchip, .popt, .nopt, .ask { -webkit-user-select: none; user-select: none; }
.doll { touch-action: none; }
/* press feedback on pointer-down for everything pressable (only transform; the tile itself keeps its place transform, so its inside presses) */
.chip, .pchip, .popt, .nopt, .seg button, .st-open, .st-add, .ghost, .mz, .hp, .file, .mk-row, .dots button, .hero .sarr, .linkbtn, .ph, .nkx, .x {
  transition-property: transform, background, background-color, color, opacity, box-shadow, border-color; transition-duration: 120ms; transition-timing-function: var(--ease); }
.chip:active, .pchip:active, .popt:active, .nopt:active, .seg button:active, .st-open:active, .st-add:active, .ghost:active, .mz:active, .hp:active,
.file:active, .mk-row:active, .dots button:active, .linkbtn:active, .nkx:active, .x:active, .ask:active, .cta:active { transform: scale(.98); }
.hero .sarr:active { transform: scale(.94); }
/* one bar of glass only (the top bar); people who ask for less transparency get it solid */
@media (prefers-reduced-transparency: reduce) { .top { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--bg); } }
/* a fine grain over the dark ground, 3%, so it never reads sterile; it takes no pointer and sits above everything */
body::after { content: ''; position: fixed; inset: 0; z-index: 2147483000; pointer-events: none; opacity: .03;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='128' height='128'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='128' height='128' filter='url(%23n)'/></svg>"); background-size: 128px 128px; }
@media print { body::after { display: none; } }
/* 4. the phone notice: one short line under the logo row; it scrolls away (only the logo row is sticky) */
.notice-m { font-size: 12.5px; white-space: nowrap; padding-bottom: 6px; }
/* 5. wayfinding: the compare screen's own back arrow; a sheet goes back down the way it came */
.cmp-head .cmpback { margin: 0 4px 0 0; flex: none; }
.sheet.leaving { animation: fadeout 180ms var(--ease) both; pointer-events: none; }
@keyframes sink { from { opacity: 1; transform: none; } to { opacity: 0; transform: translateY(12px); } }
@media (prefers-reduced-motion: reduce) { .sheet.leaving { animation: none; } }
/* worst case: a long project name steps down so the photo still shows (26+ letters, 44+ letters) */
.hero h1.long { font-size: clamp(32px, 6.2vw, 66px); }
.hero h1.xlong { font-size: clamp(27px, 5vw, 54px); line-height: 1.04; }

/* ================= area views on the map (2 Oct 2026) ================= */
.avbar { position: absolute; z-index: 5; left: 12px; right: 12px; bottom: 12px; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; pointer-events: none; }
.avbar > * { pointer-events: auto; max-width: 100%; }
.avrow, .avsub { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding: 6px; border-radius: 999px; background: rgba(20, 13, 9, .94); box-shadow: 0 8px 24px rgba(40, 18, 8, .35); }
.avrow::-webkit-scrollbar, .avsub::-webkit-scrollbar { display: none; }
.avsub { border-radius: 18px; animation: pbin 220ms var(--ease) both; }
.avbar .pchip { flex: none; white-space: nowrap; min-height: 36px; padding: 6px 13px; font-size: 14px; }
.avbar .pchip.sm { min-height: 32px; padding: 5px 11px; font-size: 13px; }
.avbar .pchip svg.i { width: 16px; height: 16px; }
.avsw { display: inline-flex; gap: 4px; padding-left: 8px; margin-left: 2px; border-left: 1px solid var(--line); align-items: center; }
.avsw-l { font-size: 12.5px; color: var(--fg-3); padding: 0 4px; white-space: nowrap; }
.mapview.avon .mcard { top: 62px; bottom: auto; left: auto; right: 12px; width: min(360px, calc(100% - 24px)); }   /* the area card never covers the legend (bottom left) */
.mcard.acard { display: block; }
.mcard.acard .mc-b { padding: 14px 16px 16px; }
.ac-big { font-size: 26px; font-weight: 300; letter-spacing: -.02em; margin: 8px 0 4px; }
.ac-l { font-size: 13.5px; color: var(--fg-2); margin-top: 2px; }
.mcard.acard .mc-a { margin-top: 12px; }

/* ================= UX pass 2, stage 1: the project's tabs (3 Oct 2026) ================= */
.ptabs { position: sticky; top: var(--top); z-index: 30; background: rgba(11, 7, 5, .97); border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.ptabs::-webkit-scrollbar { display: none; }
.ptabs-in { position: relative; display: flex; gap: 4px; padding: 0 var(--gut); max-width: var(--maxw, 1200px); margin: 0 auto; min-width: max-content; }
.ptab { flex: none; min-height: 50px; padding: 0 12px; font-size: 15.5px; color: var(--fg-2); letter-spacing: -.005em; transition: color var(--d-s) var(--ease); }
.ptab[aria-selected="true"] { color: var(--cu-hi); }
.ptab:focus-visible { outline: 2px solid var(--cu-hi); outline-offset: -6px; border-radius: 10px; }
.ptab-ul { position: absolute; left: 0; bottom: 0; width: 1px; height: 2px; background: var(--cu-hi); transform-origin: left center; transform: scaleX(0); transition: transform var(--d-l) var(--ease); }
.tabpane { min-height: 50vh; }
.tabpane .tp-in { padding-top: 22px; }
.tabpane .tp-in > .lede:first-child { margin-top: 0; }
@media (hover: hover) and (pointer: fine) { .ptab:hover { color: var(--fg); } }
@media (prefers-reduced-motion: reduce) { .ptab-ul { transition: none; } }

/* ================= UX pass 2, stage 2: wayfinding and the thumb ================= */
/* the crumb under the top bar on every inner screen; the notice stays on the wall only */
.crumb { display: flex; align-items: center; flex-wrap: wrap; gap: 2px 8px; padding: 6px var(--gut) 8px; font-size: 13px; color: var(--fg-3); }
.crumb[hidden] { display: none; }
.crumb button { color: var(--fg-2); min-height: 28px; text-decoration: underline; text-decoration-color: rgba(244, 236, 226, .25); text-underline-offset: 3px; }
.crumb span { color: var(--fg); }
.crumb i { font-style: normal; color: var(--fg-3); }
body:not([data-screen="browse"]) .notice-m, body:not([data-screen="browse"]) .priv .note { display: none; }
/* the phone: the wall's Filters, Tiles | Map and the live count sit in a bar at the bottom, where the thumb is; the comparing strip docks above it */
@media (max-width: 599px) {
  .browse .stage-head { position: fixed; left: 0; right: 0; top: auto; bottom: 0; z-index: 60; flex-wrap: nowrap; align-items: center; gap: 8px; row-gap: 0;
    padding: 8px 12px calc(8px + env(safe-area-inset-bottom)); background: rgba(11, 7, 5, .97); border-top: 1px solid var(--line); }
  .browse .stage-head .bc { order: 2; width: auto; margin-left: auto; flex-direction: column; align-items: flex-end; gap: 0; }
  .browse .stage-head .sh-r { order: 1; width: auto; gap: 8px; }
  .browse .stage-head .bigcount { font-size: 22px; font-weight: 300; letter-spacing: -.02em; line-height: 1; }
  .browse .stage-head .bcl { font-size: 12px; }
  .browse .stage { padding-bottom: calc(84px + env(safe-area-inset-bottom)); }
  .browse .strip { bottom: calc(64px + env(safe-area-inset-bottom)); }
  .browse .bigmap { height: calc(100svh - var(--top) - 96px - env(safe-area-inset-bottom)); }
  .browse .mapview + .strip { margin-bottom: 0; }
}
/* every tappable thing at least 44 x 44 px on a touch screen (the hero dots are indicators, not targets) */
@media (pointer: coarse) {
  .chip, .pchip, .popt, .nopt, .seg button, .ghost, .ghost.sm, .cta.sm, .linkbtn { min-height: 44px; }
  .x.sm, .st-add, .nkx, .mc-x { min-width: 44px; min-height: 44px; }
  .st-add { width: 44px; height: 44px; }
  .crumb button { min-height: 44px; }
}
@media (max-width: 599px) { .browse .stage-head .ghost, .browse .stage-head .seg button, .x.sm, .chip, .pchip { min-height: 44px; } .x.sm { min-width: 44px; } .st-add { width: 44px; height: 44px; } }
/* the global .sm rule forces 40 px with !important: on a phone or a touch screen small buttons still get 44 */
@media (max-width: 599px), (pointer: coarse) { .sm { min-height: 44px !important; } .x.sm { min-width: 44px !important; } .homepick .chip { min-height: 44px; } }
@media (max-width: 599px), (pointer: coarse) { .top .brand { min-height: 44px; display: inline-flex; align-items: center; } .nks .pchip { min-height: 44px; } }

/* ================= UX pass 2, stage 3: the wall is a gallery ================= */
/* no card box: the photo (rounded) and the words under it; space separates tiles */
.st { background: none; border-radius: 0; overflow: visible; container-type: inline-size; }
.st-ph { border-radius: 16px; }
.st-tx { padding: 10px 2px 0; }
.st-n { font-size: 15.5px; }
.st-line { margin-top: 3px; }
.st-p { color: var(--fg); font-size: 14px; }
.st-h { display: inline; font-size: 13px; color: var(--fg-2); white-space: normal; }
#grid.narrow .st-h { display: inline; -webkit-line-clamp: unset; }
.st-m { font-size: 12.5px; color: var(--fg-3); margin-top: 3px; }
.st-m.st-fit { color: var(--cu-hi); }
/* "Compare": a words pill at the photo's bottom right (an icon-only + was a first-timer trap); filled copper + "Added" when chosen */
.st-add { top: calc(75cqw - 42px); right: 8px; width: auto; height: 34px; padding: 0 12px; display: inline-flex; align-items: center; gap: 6px; border-radius: 999px;
  background: rgba(11, 7, 5, .74); box-shadow: inset 0 0 0 1px var(--cu); color: var(--fg); font-size: 13px; font-weight: 500; }
.st-add svg.i { width: 15px; height: 15px; }
.st-add.on { background: var(--cu); color: #1a0d06; box-shadow: none; }
@media (max-width: 599px), (pointer: coarse) { .st-add { width: auto; height: 44px; top: calc(75cqw - 50px); padding: 0 14px; } }
.st-rib { position: absolute; left: 10px; top: 10px; z-index: 2; margin: 0; }
/* Nasser's choice: its own row, two columns wide on a laptop, the full width on a phone */
.featured { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 12px; margin: 0 0 22px; }
.featured[hidden] { display: none; }
.featured .st { position: relative; }
.featured .st-n { font-size: 21px; letter-spacing: -.015em; }
.featured .st-ph { aspect-ratio: 16 / 9; }
.featured .st-add { top: calc(56.25cqw - 42px); }
@media (max-width: 599px) { .featured { grid-template-columns: 1fr; } .featured .st-add { top: calc(56.25cqw - 50px); } }

/* ================= UX pass 2, stage 5: the finish ================= */
/* motion: the filter smoke is the page's one authored moment; screens, cards, plans and the map card simply appear; a page change and the lightbox fade */
@keyframes fadein { from { opacity: 0; } to { opacity: 1; } }
@keyframes fadeout { from { opacity: 1; } to { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .fade, .lb, .tabpane { animation: none !important; transition: none !important; } }
/* the parts the browser draws carry the palette too */
::selection { background: rgba(196, 105, 58, .45); color: #fff; }
input, textarea { caret-color: var(--cu-hi); }
a { text-underline-offset: 3px; text-decoration-thickness: 1px; }
/* the crumb stays one line: a long project name is shortened with "…" here (the full name is the big title right under it, and on hover) */
.crumb { flex-wrap: nowrap; min-width: 0; }
.crumb button { min-width: 0; max-width: 58vw; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.crumb span { white-space: nowrap; }
@media (max-width: 599px) { .crumb { padding: 0 var(--gut) 2px; } }
@media (max-width: 599px) { .devgrid { --cols: 2 !important; } }   /* the developer's projects: two tiles a row on a phone, like the wall */

.grid .st-n, .featured .st-n { white-space: normal; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }   /* full names on two lines everywhere, not only on the wall */

/* the area card (no legend; Nasser 3 Oct): hovering follows the pointer (fine pointers), a tap pins it; the family's other numbers small under the big one */
.avhov { position: absolute; z-index: 8; left: 0; top: 0; right: auto; bottom: auto; width: 260px; pointer-events: none; opacity: 0; transition: opacity 180ms var(--ease); }
.avhov.on { opacity: 1; }
.ac-others { margin-top: 10px; padding-top: 8px; border-top: 1px solid var(--line); display: grid; gap: 6px; }
.ac-o { display: grid; grid-template-columns: 1fr auto; gap: 0 10px; font-size: 13px; }
.ac-ol { color: var(--fg-2); } .ac-ov { color: var(--fg); text-align: right; } .ac-os { grid-column: 1 / -1; font-size: 12px; color: var(--fg-3); }
.mcard.acard .ac-big { font-size: 24px; }
@media (max-width: 599px) { .mapview.avon .mcard:not(.avhov) { top: auto; bottom: 128px; left: 12px; right: 12px; width: auto; max-height: 52%; overflow-y: auto; } }
@media (prefers-reduced-motion: reduce) { .avhov { transition: none; } }

/* the map fix (5 Oct 2026): one outline per place. The card says both names (the register's small beside the name people use), a click on
   ground that several areas share lists them (the top one first, the largest last), the hover names every area under the pointer */
.ac-reg { font-size: 14px; color: var(--fg-2); letter-spacing: 0; white-space: nowrap; }
.mcard.acard .mc-n { padding-right: 40px; line-height: 1.18; }
.ac-sub { font-size: 12.5px; color: var(--fg-3); margin-top: 5px; }
.ac-here { margin-top: 10px; padding-top: 8px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--fg-2); line-height: 1.45; }
.ac-pick { display: grid; gap: 6px; margin-top: 12px; }
.ac-pk { display: grid; gap: 3px; align-content: center; width: 100%; min-height: 52px; padding: 9px 14px; border: 1px solid var(--line);
  border-radius: 14px; text-align: left; transition: border-color var(--d-s) var(--ease), background var(--d-s) var(--ease); }
.ac-pk:hover, .ac-pk:focus-visible { border-color: var(--cu); background: var(--bg-3); }
.ac-pk b { font-weight: 400; font-size: 14.5px; line-height: 1.25; }
.ac-pk span { font-size: 13px; color: var(--fg-2); }
.ac-back { display: inline-flex; align-items: center; gap: 6px; min-height: 32px; margin: -4px 0 6px; font-size: 13px; color: var(--fg-2); }
.ac-back:hover { color: var(--fg); }
.ac-back svg.i { width: 15px; height: 15px; }
.mapview.avon .mcard.acard:not(.avhov) { max-height: calc(100% - 140px); overflow-y: auto; }
.mcard.acard[hidden] { display: none; }   /* found 5 Oct: ".mcard.acard { display: block }" beat ".mcard[hidden]", so the x never closed an area card */
@media (prefers-reduced-motion: reduce) { .ac-pk { transition: none; } }

/* ===== THE PUBLIC VIEW, /project-finder (6 Oct 2026): body.pub. No "Private" pill; WhatsApp buttons to Nasser. ===== */
.pub .priv i { display: none; }
.wa { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 8px 22px; border-radius: 999px;
  border: 1px solid rgba(232, 163, 116, .45); color: var(--fg); background: var(--bg-2); font-size: 16px; font-weight: 500; text-decoration: none;
  transition: background var(--d-s) var(--ease), border-color var(--d-s) var(--ease), transform var(--d-s) var(--ease); }
.wa:hover { background: var(--bg-3); border-color: var(--cu-hi); }
.wa:active { transform: scale(.98); }
.wa:focus-visible, a.file:focus-visible { outline: 2px solid var(--cu-hi); outline-offset: 3px; }
.wa svg.i { width: 22px; height: 22px; color: var(--cu-hi); flex: none; }
.wa span { min-width: 0; line-height: 1.25; }                /* a long project name takes a second line, never three dots */
.wa.mini span { white-space: nowrap; }
.wa.wide { display: flex; width: 100%; margin: 4px 0 22px; min-height: 60px; padding: 12px 20px; }

.hero-cta .wa.mini { background: rgba(11, 7, 5, .55); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
/* a phone's bottom bar has room for two buttons only (Summary, Compare): the WhatsApp one floats above its right end, a round mark */
@media (max-width: 759px) {
  .dock .wa.mini { position: absolute; right: var(--gut); bottom: calc(100% + 10px); width: 56px; height: 56px; min-height: 0; padding: 0;
    background: rgba(20, 13, 9, .94); border-color: rgba(232, 163, 116, .55); box-shadow: 0 10px 28px rgba(0, 0, 0, .5); }
  .dock .wa.mini span { display: none; }
  .dock .wa.mini svg.i { width: 26px; height: 26px; }
}
.end .wa { flex: 0 1 auto; max-width: 100%; }
a.file { color: inherit; text-decoration: none; }
.pp-ask { margin: 10px 0 0; font-size: 13px; color: #6B5F52; }
.pp-ask a { color: #8A4520; font-weight: 500; text-decoration: none; }
@media (prefers-reduced-motion: reduce) { .wa { transition: none; } .wa:active { transform: none; } }

/* ===== THE SITE'S SHARED MENU ABOVE THIS PAGE (6 Oct 2026) and the comparing strip on a phone ===== */
html { background: var(--bg); }
body { padding-top: var(--menu); }           /* the menu is fixed at the top: the page starts under it, nothing hides */
.toast { font: inherit; font-size: 15px; font-weight: 400; box-shadow: none; }   /* the site sheet has a .toast of its own; this one keeps its look */
/* a phone: the bottom bar (Filters, Tiles, Map) is fixed; the strip is ONE row just above it: the chips scroll sideways, the button stays */
@media (max-width: 899px) {
  .strip { position: sticky; bottom: var(--barh); z-index: 61; flex-wrap: nowrap; gap: 10px; padding: 10px var(--gut); background: var(--bg-2);
    border-top: 1px solid var(--line); }
  .mapview + .strip { position: sticky; }
  .strip-in { flex: 1 1 auto; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding: 2px 0; }
  .strip-in::-webkit-scrollbar { display: none; }
  .strip .pc { flex: none; max-width: 200px; padding: 4px 4px 4px 4px; }
  .strip .pc .pn { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .strip .cta { flex: none; margin-left: 0; min-height: 44px; padding: 0 16px; font-size: 15px; }
}
/* the page's own head is ONE line under the site's menu: the menu carries the logo, so this bar shows the name and, on a phone, the short note */
.brand .logo { display: none; }
.priv .note-s { display: none; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 759px) { .priv .note-s { display: inline; } .notice-m { display: none; } }
body:not([data-screen="browse"]) .priv .note-s { display: none; }

/* ===== THE NUMBERS STRIP, v2 (7 Oct 2026): price and keys, then the project's own returns, TOTAL %, and the resellers line ===== */
.four.v2 { grid-template-columns: 1fr 1fr; }
@media (min-width: 900px) { .four.v2 { grid-template-columns: 1fr 1fr; max-width: 640px; } }
.four.v2 .rets { grid-column: 1 / -1; }
.retcells { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 20px; }
@media (min-width: 900px) { .four.v2 { max-width: none; grid-template-columns: repeat(4, 1fr); } .four.v2 .rets { grid-column: 1 / -1; } .retcells { grid-template-columns: repeat(4, 1fr); } }
.num.ret .v { color: var(--fg); }
.num.ret .v.none { font-size: 15px; padding-top: 12px; }
.retnote, .retres, .retnone { margin: 14px 0 0; font-size: 14px; line-height: 1.4; color: var(--fg-2); }
.retres b { color: var(--fg); font-weight: 400; }
.retnone { font-size: 16px; color: var(--fg); }
/* 10 Oct 2026: an office or a shop shows price a sq ft and sizes; one line says why there is no rent or growth */
.four.v2 .worknote { grid-column: 1 / -1; margin: -8px 0 0; font-size: 14px; line-height: 1.4; color: var(--fg-2); }
/* ===== THE TWO YIELD SLOTS (8 Oct 2026): rent at the keys and holiday let, gross and net ===== */
.num.yld .v.yv { display: flex; flex-direction: column; gap: 2px; }
.num.yld .v.yv span { display: block; }
.num.yld .v.yv span:last-child { font-size: .62em; color: var(--fg-2); letter-spacing: -.01em; margin-top: 2px; }
.num.yld .v.yv small { font-size: .42em; margin: 0 0 0 6px; color: var(--fg-2); letter-spacing: 0; }
.num.yld .v.yv span:last-child small { font-size: .62em; }
.num.yld .v.none { font-size: 16px; }
.ywait { grid-column: 1 / -1; }
/* 9 Oct 2026: a search list (Area, Developer) hides the chips that do not match with the hidden attribute, but ".pchip { display: inline-flex }"
   beat it, so every chip showed. This puts hidden back on top. */
.chips.areas .chip[hidden] { display: none; }
/* 9 Oct 2026: the Project filter (search, pick several, compare them) */
.ps .cmp-pj { margin-top: 10px; }
.chips.projs .chip .cw { font-style: normal; opacity: .7; }
/* 9 Oct 2026: the growth line names the home and the area; three lines at most (the grid gives growth walls the room), the rest in "…" */
.st-m.st-fit { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; }
/* 9 Oct 2026: the sale status (Nasser: "a badge on top of each project, whether it's out of stock or something, so I know").
   A small pill at the photo's top right; a dot of colour says which: green on sale, copper launching, gold coming soon; sold out is
   a light pill and the photo goes grey. The same dot leads each chip of the Status filter. */
.ssb { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px 4px 8px; border-radius: 999px; font-size: 12px; font-weight: 500; line-height: 1.2;
  background: rgba(11, 7, 5, .78); color: var(--fg); white-space: nowrap; }
.ssb::before, .ssd { content: ''; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #7FC28A; flex: none; }
.ssb.ss-launch::before, .ssd.ss-launch { background: var(--cu-hi); }
.ssb.ss-soon::before, .ssd.ss-soon { background: #D9A441; }
.ssb.ss-sold { background: rgba(244, 236, 226, .92); color: #1a0d06; }
.ssb.ss-sold::before, .ssd.ss-sold { background: #8A7F76; }
.ssd { margin-right: 7px; vertical-align: 1px; }
.st-ss { position: absolute; top: 10px; right: 10px; z-index: 2; pointer-events: none; }
.st.sold .st-ph img { filter: grayscale(.85) brightness(.8); }
.hero .hero-ss { margin: 0 8px 14px 0; padding: 6px 12px 6px 10px; font-size: 12.5px; vertical-align: top; }
.hero .ribbon + .hero-ss { margin-left: 8px; }

/* 10 Oct 2026 (Nasser: "under the name of each project, put the name of the developer"): one quiet line under the name */
.st-dev { display: block; font-size: 12.5px; line-height: 1.3; color: var(--fg-3); margin-top: 2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
/* the added / launched month (month and year only) under the developer line, on the tile and in the project's hero */
.st-when { display: block; font-size: 12px; line-height: 1.3; color: var(--fg-3); opacity: .85; margin-top: 1px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hero .when { margin-top: 4px; font-size: 13.5px; color: var(--fg-3); }
/* the payment plan tab (10 Oct 2026): one block per way to pay, a bar of the four stages, then the developer's steps with the money */
.pplan { margin: 18px 0 34px; }
.pp-n { font-size: 19px; margin-bottom: 12px; text-wrap: balance; }
.pp-bar { display: flex; gap: 2px; height: 12px; border-radius: 6px; overflow: hidden; background: var(--bg-3); }
.pp-bar i { display: block; min-width: 4px; }
.pp-leg { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 12px 0 4px; font-size: 13.5px; color: var(--fg-2); }
.pp-leg span { display: inline-flex; align-items: center; gap: 7px; }
.pp-leg i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; }
.pp-leg b { color: var(--fg); font-weight: 500; }
