/* =========================================================
   Emberly Homes — design system
   Palette: ink navy + ember orange on cool white
   Type: Bricolage Grotesque (display) + Manrope (text)
   ========================================================= */
:root {
  --ink: #0d1220;
  --ink-2: #1a2236;
  --ink-3: #2b3450;
  --text: #2a3144;
  --muted: #667085;
  --soft: #98a2b3;
  --line: #e5e8ee;
  --bg: #f5f6f9;
  --card: #ffffff;
  --o: #ff5a1f;
  --o-600: #e84a10;
  --o-700: #c63c08;
  --o-100: #ffe6da;
  --o-50: #fff4ee;
  --green: #12a150;
  --green-50: #e6f7ee;
  --blue: #2563eb;
  --sky: #d9e8f7;
  --r-xs: 8px; --r-sm: 12px; --r: 18px; --r-lg: 26px; --r-xl: 36px;
  --sh-1: 0 1px 2px rgba(13,18,32,.06), 0 1px 1px rgba(13,18,32,.04);
  --sh-2: 0 10px 30px -12px rgba(13,18,32,.18);
  --sh-3: 0 30px 70px -28px rgba(13,18,32,.35);
  --ease: cubic-bezier(.2,.8,.2,1);
  --display: "Bricolage Grotesque", "Manrope", system-ui, sans-serif;
  --body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --hdr: 78px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 110px; }
body { margin: 0; font-family: var(--body); font-size: 16px; line-height: 1.6; color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
img, svg, video { max-width: 100%; display: block; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
ul { list-style: none; margin: 0; padding: 0; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { font-family: var(--display); color: var(--ink); margin: 0; font-weight: 700; letter-spacing: -.03em; line-height: 1.04; font-variation-settings: "opsz" 72; }
h1 { font-size: clamp(46px, 7.2vw, 100px); letter-spacing: -.045em; line-height: .96; font-weight: 800; }
h2 { font-size: clamp(34px, 4.6vw, 64px); letter-spacing: -.04em; }
h3 { font-size: clamp(22px, 2.2vw, 30px); letter-spacing: -.025em; line-height: 1.12; }
h4 { font-size: 18px; letter-spacing: -.01em; }
:focus-visible { outline: 3px solid var(--o); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--o); color: #fff; }
.i { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.i--sm { width: 16px; height: 16px; } .i--lg { width: 26px; height: 26px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 999; background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 12px; }
.skip:focus { top: 14px; }

.container { width: min(1280px, 100% - 48px); margin-inline: auto; }
.container--wide { width: min(1440px, 100% - 48px); margin-inline: auto; }
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section--tight { padding: clamp(40px, 5vw, 64px) 0; }
.section--white { background: #fff; }
.section--ink { background: var(--ink); color: #c5cadb; }
.section--ink h2, .section--ink h3, .section--ink h4 { color: #fff; }
.section--tint { background: var(--o-50); }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: clamp(28px, 4vw, 52px); flex-wrap: wrap; }
.sec-head p { max-width: 520px; margin: 14px 0 0; color: var(--muted); font-size: 17px; }
.sec-head--center { flex-direction: column; align-items: center; text-align: center; }
.sec-head--center p { margin-inline: auto; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--o-600); margin-bottom: 16px; }
.eyebrow::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--o); box-shadow: 0 0 0 4px var(--o-100); }
.section--ink .eyebrow { color: #ff8a5c; } .section--ink .eyebrow::before { box-shadow: 0 0 0 4px rgba(255,90,31,.2); }
.hl { color: var(--o); }
.lead { font-size: clamp(17px, 1.5vw, 20px); color: var(--muted); max-width: 620px; }
.muted { color: var(--muted); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px; border-radius: 999px; font-weight: 700; font-size: 15px; letter-spacing: -.005em; background: var(--o); color: #fff; transition: transform .35s var(--ease), background .25s, box-shadow .3s, color .25s; white-space: nowrap; box-shadow: 0 10px 24px -10px rgba(255,90,31,.7); }
.btn:hover { background: var(--o-600); transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--dark { background: var(--ink); box-shadow: 0 10px 24px -12px rgba(13,18,32,.6); } .btn--dark:hover { background: var(--ink-3); }
.btn--white { background: #fff; color: var(--ink); box-shadow: var(--sh-2); } .btn--white:hover { background: var(--o-50); }
.btn--line { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); } .btn--line:hover { background: #fff; box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn--ghost-w { background: rgba(255,255,255,.12); color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.3); backdrop-filter: blur(6px); } .btn--ghost-w:hover { background: rgba(255,255,255,.22); }
.btn--sm { min-height: 42px; padding: 0 18px; font-size: 14px; } .btn--lg { min-height: 60px; padding: 0 34px; font-size: 16px; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .5; pointer-events: none; }
.icon-btn { width: 44px; height: 44px; border-radius: 50%; display: inline-grid; place-items: center; background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); transition: all .25s; flex: none; position: relative; }
.icon-btn:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.icon-btn.on { background: var(--o); color: #fff; box-shadow: none; }
.link { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--ink); border-bottom: 2px solid var(--o); padding-bottom: 2px; transition: gap .3s var(--ease); }
.link:hover { gap: 14px; }

/* ---------- Chips / badges ---------- */
.chip { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 16px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1.5px var(--line); font-weight: 600; font-size: 14px; color: var(--ink); transition: all .2s; white-space: nowrap; }
.chip:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.chip.on, .chip[aria-pressed="true"], .chip[aria-selected="true"] { background: var(--ink); color: #fff; box-shadow: none; }
.chip--o.on { background: var(--o); }
.chip .x { opacity: .6; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 999px; font-size: 11.5px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; background: #fff; color: var(--ink); box-shadow: var(--sh-1); }
.badge--o { background: var(--o); color: #fff; } .badge--g { background: var(--green); color: #fff; } .badge--ink { background: var(--ink); color: #fff; }
.pill { display: inline-block; padding: 4px 10px; border-radius: 999px; background: var(--o-50); color: var(--o-700); font-size: 12px; font-weight: 700; }

/* ---------- Forms ---------- */
.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; position: relative; }
.field > label, .lbl { font-size: 13px; font-weight: 700; color: var(--ink); letter-spacing: -.005em; }
.input, .select, .textarea { width: 100%; min-height: 54px; padding: 0 18px; border-radius: var(--r-sm); background: #fff; border: 1.5px solid var(--line); transition: border-color .2s, box-shadow .2s; font-weight: 500; }
.textarea { padding: 14px 18px; min-height: 130px; resize: vertical; }
.select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%230d1220' stroke-width='2' stroke-linecap='round' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 44px; }
.input:focus, .select:focus, .textarea:focus { outline: 0; border-color: var(--o); box-shadow: 0 0 0 4px var(--o-100); }
.field.bad .input, .field.bad .select, .field.bad .textarea { border-color: #e5484d; }
.field .err { display: none; font-size: 12.5px; color: #d02e34; font-weight: 600; }
.field.bad .err { display: block; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.seg { display: inline-flex; padding: 5px; background: #eceef3; border-radius: 999px; gap: 2px; }
.seg button { padding: 9px 18px; border-radius: 999px; font-weight: 700; font-size: 14px; color: var(--muted); transition: all .25s var(--ease); display: inline-flex; align-items: center; gap: 8px; }
.seg button.on, .seg button[aria-pressed="true"], .seg button[aria-selected="true"] { background: #fff; color: var(--ink); box-shadow: var(--sh-1); }
.seg--dark { background: rgba(255,255,255,.1); } .seg--dark button { color: #aab1c7; } .seg--dark button.on { background: var(--o); color: #fff; }
.num { display: inline-flex; align-items: center; gap: 14px; }
.num button { width: 38px; height: 38px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--line); display: grid; place-items: center; background: #fff; }
.num button:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.num output { min-width: 26px; text-align: center; font-weight: 800; font-family: var(--display); font-size: 20px; color: var(--ink); }
.check { display: flex; align-items: center; gap: 12px; padding: 10px 0; font-weight: 600; cursor: pointer; color: var(--ink); font-size: 15px; }
.check input { appearance: none; width: 22px; height: 22px; border-radius: 7px; border: 1.5px solid #c4cad6; background: #fff; display: grid; place-items: center; transition: all .2s; flex: none; margin: 0; }
.check input:checked { background: var(--o); border-color: var(--o); }
.check input:checked::after { content: ""; width: 10px; height: 6px; border-left: 2.5px solid #fff; border-bottom: 2.5px solid #fff; transform: rotate(-45deg) translate(1px,-1px); }
.switch { display: inline-flex; align-items: center; gap: 12px; cursor: pointer; font-weight: 600; color: var(--ink); font-size: 15px; }
.switch input { appearance: none; width: 46px; height: 26px; border-radius: 999px; background: #cfd5e1; position: relative; transition: background .25s; margin: 0; flex: none; }
.switch input::after { content: ""; position: absolute; left: 3px; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; transition: transform .3s var(--ease); box-shadow: var(--sh-1); }
.switch input:checked { background: var(--o); } .switch input:checked::after { transform: translateX(20px); }

/* range */
.range { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 99px; background: linear-gradient(90deg, var(--o) var(--p, 50%), #dfe3ec var(--p, 50%)); outline: 0; margin: 12px 0; }
.range::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; border-radius: 50%; background: #fff; border: 2px solid var(--o); box-shadow: 0 4px 12px rgba(13,18,32,.2); cursor: grab; }
.range::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 2px solid var(--o); box-shadow: 0 4px 12px rgba(13,18,32,.2); cursor: grab; }
.dr { position: relative; height: 34px; margin: 6px 0 2px; }
.dr__track { position: absolute; left: 0; right: 0; top: 14px; height: 6px; border-radius: 99px; background: #dfe3ec; }
.dr__fill { position: absolute; top: 14px; height: 6px; border-radius: 99px; background: var(--o); }
.dr input { position: absolute; left: 0; width: 100%; top: 4px; height: 26px; margin: 0; -webkit-appearance: none; appearance: none; background: none; pointer-events: none; }
.dr input::-webkit-slider-thumb { -webkit-appearance: none; pointer-events: auto; width: 24px; height: 24px; border-radius: 50%; background: #fff; border: 2px solid var(--o); box-shadow: 0 4px 12px rgba(13,18,32,.2); cursor: grab; }
.dr input::-moz-range-thumb { pointer-events: auto; width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 2px solid var(--o); cursor: grab; }
.dr__vals { display: flex; justify-content: space-between; font-weight: 800; color: var(--ink); font-family: var(--display); font-size: 18px; }

/* ---------- Header ---------- */
.hdr { position: fixed; z-index: 80; top: 14px; left: 0; right: 0; pointer-events: none; transition: transform .4s var(--ease); }
.hdr.hide { transform: translateY(-130%); }
.hdr__bar { pointer-events: auto; width: min(1360px, 100% - 28px); margin-inline: auto; height: 64px; background: rgba(255,255,255,.88); backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4); border-radius: 999px; box-shadow: 0 8px 30px -10px rgba(13,18,32,.18), inset 0 0 0 1px rgba(255,255,255,.8); display: flex; align-items: center; gap: 8px; padding: 0 10px 0 22px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 800; font-size: 24px; letter-spacing: -.045em; color: var(--ink); margin-right: 14px; }
.logo__mark { width: 34px; height: 34px; border-radius: 11px; background: var(--o); display: grid; place-items: center; color: #fff; box-shadow: 0 6px 14px -4px rgba(255,90,31,.7); }
.logo__mark svg { width: 20px; height: 20px; fill: currentColor; }
.logo b { color: var(--o); font-weight: 800; }
.nav { display: flex; align-items: center; gap: 2px; flex: 1; }
.nav__item { position: relative; }
.nav__btn { display: inline-flex; align-items: center; gap: 6px; height: 42px; padding: 0 15px; border-radius: 999px; font-weight: 700; font-size: 14.5px; color: var(--ink); transition: background .2s; }
.nav__btn:hover, .nav__item.open > .nav__btn { background: var(--bg); }
.nav__btn.active { color: var(--o-600); }
.nav__btn .i { width: 14px; height: 14px; transition: transform .3s var(--ease); opacity: .6; }
.nav__item.open .nav__btn .i { transform: rotate(180deg); }
.mega { position: absolute; top: calc(100% + 16px); left: -20px; min-width: 560px; background: #fff; border-radius: 26px; box-shadow: var(--sh-3), 0 0 0 1px var(--line); padding: 14px; opacity: 0; visibility: hidden; transform: translateY(10px) scale(.98); transform-origin: top left; transition: all .28s var(--ease); display: grid; grid-template-columns: 1fr 1fr; gap: 4px 6px; pointer-events: auto; }
.mega::before { content: ""; position: absolute; left: 0; right: 0; top: -20px; height: 20px; }
.nav__item.open .mega { opacity: 1; visibility: visible; transform: none; }
.mega--r { left: auto; right: -20px; transform-origin: top right; }
.mega a { display: flex; gap: 14px; padding: 14px; border-radius: 18px; transition: background .2s; align-items: flex-start; }
.mega a:hover { background: var(--bg); }
.mega a .ic { width: 42px; height: 42px; border-radius: 13px; background: var(--o-50); color: var(--o-600); display: grid; place-items: center; flex: none; transition: all .25s; }
.mega a:hover .ic { background: var(--o); color: #fff; }
.mega strong { display: block; color: var(--ink); font-size: 15px; line-height: 1.25; margin-bottom: 2px; }
.mega small { color: var(--muted); font-size: 13px; line-height: 1.4; display: block; }
.mega__feat { grid-column: 1 / -1; display: flex; align-items: center; gap: 16px; background: var(--ink); color: #fff; border-radius: 18px; padding: 14px 18px; margin-top: 4px; }
.mega__feat:hover { background: var(--ink-2) !important; }
.mega__feat strong { color: #fff; } .mega__feat small { color: #aab1c7; }
.hdr__right { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.hdr__right .icon-btn { box-shadow: none; background: var(--bg); width: 42px; height: 42px; }
.hdr__right .icon-btn:hover { background: #e9ecf2; }
.kbd { font-size: 11px; font-weight: 700; padding: 2px 7px; border-radius: 6px; background: #e9ecf2; color: var(--muted); font-family: var(--body); letter-spacing: 0; }
.search-pill { display: inline-flex; align-items: center; gap: 10px; height: 42px; padding: 0 8px 0 16px; border-radius: 999px; background: var(--bg); color: var(--muted); font-weight: 600; font-size: 14px; transition: background .2s; }
.search-pill:hover { background: #e9ecf2; }
.count-dot { position: absolute; top: -3px; right: -3px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 99px; background: var(--o); color: #fff; font-size: 11px; font-weight: 800; display: grid; place-items: center; border: 2px solid #fff; }
.count-dot:empty, .count-dot[data-n="0"] { display: none; }
.burger { display: none; }
.set { position: relative; }
.set__pop { position: absolute; right: 0; top: calc(100% + 18px); width: 290px; background: #fff; border-radius: 22px; box-shadow: var(--sh-3), 0 0 0 1px var(--line); padding: 18px; opacity: 0; visibility: hidden; transform: translateY(8px); transition: all .25s var(--ease); pointer-events: auto; }
.set.open .set__pop { opacity: 1; visibility: visible; transform: none; }
.set__pop h5 { margin: 0 0 10px; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 800; }
.set__pop .seg { width: 100%; margin-bottom: 18px; } .set__pop .seg button { flex: 1; justify-content: center; padding-inline: 8px; }

/* drawer */
.drawer { position: fixed; inset: 0; z-index: 120; pointer-events: none; }
.drawer__bg { position: absolute; inset: 0; background: rgba(13,18,32,.5); opacity: 0; transition: opacity .35s; backdrop-filter: blur(3px); }
.drawer__panel { position: absolute; right: 0; top: 0; bottom: 0; width: min(440px, 92vw); background: #fff; padding: 22px 22px 40px; overflow-y: auto; transform: translateX(100%); transition: transform .45s var(--ease); border-radius: 28px 0 0 28px; }
.drawer.open { pointer-events: auto; } .drawer.open .drawer__bg { opacity: 1; } .drawer.open .drawer__panel { transform: none; }
.drawer__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.dgroup { border-bottom: 1px solid var(--line); }
.dgroup > button { width: 100%; display: flex; justify-content: space-between; align-items: center; padding: 18px 4px; font-family: var(--display); font-size: 26px; font-weight: 700; letter-spacing: -.03em; color: var(--ink); }
.dgroup > button .i { transition: transform .3s; }
.dgroup.open > button .i { transform: rotate(180deg); }
.dgroup__links { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .4s var(--ease); }
.dgroup.open .dgroup__links { grid-template-rows: 1fr; }
.dgroup__links > div { overflow: hidden; }
.dgroup__links a { display: block; padding: 10px 4px 10px 12px; font-weight: 600; color: var(--muted); }
.dgroup__links a:last-child { margin-bottom: 14px; }
.dgroup__links a:hover { color: var(--o-600); }

/* palette */
.pal { position: fixed; inset: 0; z-index: 200; display: none; align-items: flex-start; justify-content: center; padding: 12vh 16px 0; background: rgba(13,18,32,.55); backdrop-filter: blur(5px); }
.pal.open { display: flex; animation: fade .2s; }
.pal__box { width: min(680px, 100%); background: #fff; border-radius: 26px; box-shadow: var(--sh-3); overflow: hidden; animation: pop .3s var(--ease); }
.pal__in { display: flex; align-items: center; gap: 14px; padding: 8px 22px; border-bottom: 1px solid var(--line); }
.pal__in input { flex: 1; border: 0; outline: 0; height: 62px; font-size: 18px; font-weight: 600; background: none; }
.pal__list { max-height: 52vh; overflow-y: auto; padding: 10px; }
.pal__grp { padding: 12px 14px 6px; font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--soft); }
.pal__it { display: flex; align-items: center; gap: 14px; padding: 11px 14px; border-radius: 14px; cursor: pointer; }
.pal__it .ic { width: 36px; height: 36px; border-radius: 11px; background: var(--bg); display: grid; place-items: center; color: var(--ink); flex: none; }
.pal__it.sel { background: var(--o-50); } .pal__it.sel .ic { background: var(--o); color: #fff; }
.pal__it strong { display: block; color: var(--ink); font-size: 15px; line-height: 1.3; }
.pal__it small { color: var(--muted); font-size: 12.5px; }
.pal__it em { margin-left: auto; font-style: normal; font-size: 12px; color: var(--soft); font-weight: 700; }
.pal__foot { display: flex; gap: 18px; padding: 12px 22px; border-top: 1px solid var(--line); font-size: 12px; color: var(--muted); font-weight: 600; background: var(--bg); }
.pal__empty { padding: 36px; text-align: center; color: var(--muted); }
@keyframes fade { from { opacity: 0; } } @keyframes pop { from { opacity: 0; transform: translateY(14px) scale(.97); } }

/* toast + modal */
.toasts { position: fixed; left: 50%; bottom: 28px; transform: translateX(-50%); z-index: 300; display: flex; flex-direction: column; gap: 10px; align-items: center; pointer-events: none; }
.toast { background: var(--ink); color: #fff; padding: 14px 18px 14px 20px; border-radius: 999px; box-shadow: var(--sh-3); font-weight: 600; font-size: 14.5px; display: flex; align-items: center; gap: 14px; animation: pop .35s var(--ease); pointer-events: auto; }
.toast.out { opacity: 0; transform: translateY(10px); transition: all .3s; }
.toast a, .toast button { color: #ff9b73; font-weight: 800; }
.modal { position: fixed; inset: 0; z-index: 250; display: grid; place-items: center; padding: 20px; background: rgba(13,18,32,.6); backdrop-filter: blur(4px); animation: fade .25s; }
.modal__box { background: #fff; border-radius: 30px; width: min(560px, 100%); max-height: 90vh; overflow-y: auto; padding: 34px; position: relative; animation: pop .35s var(--ease); }
.modal__x { position: absolute; right: 16px; top: 16px; }

/* ---------- Mobile tab bar ---------- */
.tabbar { display: none; }

/* ---------- Page head / breadcrumbs ---------- */
.page-top { padding-top: calc(var(--hdr) + 38px); }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 600; color: var(--muted); margin-bottom: 22px; }
.crumbs a:hover { color: var(--o-600); } .crumbs .i { width: 12px; height: 12px; opacity: .5; }
.crumbs span:last-child { color: var(--ink); }
.phead { padding-bottom: 36px; }
.phead h1 { font-size: clamp(40px, 6vw, 80px); max-width: 900px; }
.phead .lead { margin-top: 20px; }
.phead--split { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: end; }

/* ---------- HOME hero ---------- */
.hero { padding-top: calc(var(--hdr) + 34px); position: relative; overflow: hidden; background: radial-gradient(900px 500px at 85% 0%, #ffe3d3 0%, transparent 60%), radial-gradient(700px 500px at 0% 40%, #e3ebfb 0%, transparent 60%), var(--bg); }
.hero__grid { display: grid; grid-template-columns: 1.08fr 1fr; gap: 56px; align-items: center; padding-bottom: 70px; }
.hero h1 { margin: 20px 0 22px; }
.hero h1 .u { position: relative; display: inline-block; color: var(--o); }
.hero h1 .u svg { position: absolute; left: 0; bottom: -.12em; width: 100%; height: .22em; stroke: var(--o); fill: none; stroke-width: 6; stroke-linecap: round; }
.hero .lead { margin-bottom: 34px; }
.sc { background: #fff; border-radius: 30px; box-shadow: var(--sh-3); padding: 12px; max-width: 640px; }
.sc__tabs { display: flex; gap: 6px; padding: 6px 8px 14px; }
.sc__tabs button { padding: 10px 20px; border-radius: 999px; font-weight: 800; font-size: 14.5px; color: var(--muted); transition: all .25s; }
.sc__tabs button.on { background: var(--ink); color: #fff; }
.sc__row { display: grid; grid-template-columns: 1.5fr 1fr 1fr auto; background: var(--bg); border-radius: 22px; padding: 6px; gap: 2px; }
.sc__f { padding: 10px 18px; border-radius: 16px; position: relative; display: flex; flex-direction: column; justify-content: center; transition: background .2s; min-width: 0; }
.sc__f:hover, .sc__f:focus-within { background: #fff; }
.sc__f label { font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.sc__f input, .sc__f select { border: 0; background: none; outline: 0; font-weight: 700; color: var(--ink); font-size: 15px; padding: 2px 0; width: 100%; appearance: none; text-overflow: ellipsis; }
.sc__go { width: 62px; border-radius: 18px; background: var(--o); color: #fff; display: grid; place-items: center; transition: background .2s, transform .3s var(--ease); }
.sc__go:hover { background: var(--o-600); transform: scale(1.04); }
.sc__go .i { width: 24px; height: 24px; }
.sc__quick { display: flex; gap: 8px; flex-wrap: wrap; padding: 14px 8px 6px; align-items: center; font-size: 13px; font-weight: 700; color: var(--muted); }
.sc__quick a { padding: 6px 12px; border-radius: 99px; background: var(--bg); color: var(--ink); font-weight: 700; transition: all .2s; }
.sc__quick a:hover { background: var(--o); color: #fff; }
.sug { position: absolute; left: 0; right: 0; top: calc(100% + 8px); background: #fff; border-radius: 18px; box-shadow: var(--sh-3), 0 0 0 1px var(--line); padding: 8px; z-index: 30; display: none; min-width: 260px; }
.sug.open { display: block; animation: pop .25s var(--ease); }
.sug button, .sug a { display: flex; align-items: center; gap: 12px; width: 100%; text-align: left; padding: 10px 12px; border-radius: 12px; font-weight: 600; color: var(--ink); }
.sug button:hover, .sug button.sel, .sug a:hover { background: var(--o-50); }
.sug small { margin-left: auto; color: var(--muted); font-weight: 600; font-size: 12px; }
.mosaic { position: relative; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 14px; height: min(640px, 70vh); min-height: 460px; }
.mosaic__img { border-radius: 30px; overflow: hidden; background: var(--sky); position: relative; }
.mosaic__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.mosaic__img:hover img { transform: scale(1.06); }
.mosaic__img:nth-child(1) { grid-row: 1 / 3; border-radius: 30px 30px 30px 120px; }
.mosaic__img:nth-child(3) { border-radius: 30px 120px 30px 30px; }
.float { position: absolute; background: #fff; border-radius: 20px; padding: 14px 18px; box-shadow: var(--sh-3); display: flex; align-items: center; gap: 14px; animation: bob 6s ease-in-out infinite; z-index: 3; }
.float .ic { width: 44px; height: 44px; border-radius: 14px; background: var(--o); color: #fff; display: grid; place-items: center; }
.float b { display: block; font-family: var(--display); font-size: 22px; line-height: 1; color: var(--ink); letter-spacing: -.03em; }
.float small { color: var(--muted); font-weight: 600; font-size: 12.5px; }
.float--1 { left: -34px; bottom: 56px; } .float--2 { right: -14px; top: 40px; animation-delay: -3s; } .float--2 .ic { background: var(--ink); }
@keyframes bob { 50% { transform: translateY(-10px); } }
.trust { display: flex; flex-wrap: wrap; gap: 14px 40px; padding: 26px 0 0; align-items: center; color: var(--muted); font-weight: 700; font-size: 14px; border-top: 1px solid var(--line); }
.trust span { display: inline-flex; gap: 10px; align-items: center; } .trust .i { color: var(--o); }

/* categories */
.cats { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.cat { background: #fff; border-radius: var(--r); padding: 22px; display: flex; flex-direction: column; gap: 18px; transition: transform .4s var(--ease), box-shadow .4s, background .3s; position: relative; overflow: hidden; }
.cat:hover { transform: translateY(-6px); box-shadow: var(--sh-2); }
.cat .ic { width: 52px; height: 52px; border-radius: 16px; background: var(--o-50); color: var(--o-600); display: grid; place-items: center; transition: all .3s; }
.cat:hover .ic { background: var(--o); color: #fff; transform: rotate(-8deg); }
.cat strong { font-family: var(--display); font-size: 21px; color: var(--ink); letter-spacing: -.02em; display: block; line-height: 1.1; }
.cat small { color: var(--muted); font-weight: 600; font-size: 13px; }

/* carousel */
.car { position: relative; }
.car__track { display: flex; gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 6px 2px 30px; margin: 0 -2px; }
.car__track::-webkit-scrollbar { display: none; }
.car__track > * { scroll-snap-align: start; flex: 0 0 min(390px, 82vw); }
.car__nav { display: flex; gap: 10px; }

/* ---------- Listing cards ---------- */
.lgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.lgrid--2 { grid-template-columns: repeat(2, 1fr); }
.lcard { background: #fff; border-radius: var(--r-lg); overflow: hidden; display: flex; flex-direction: column; transition: transform .45s var(--ease), box-shadow .45s; position: relative; box-shadow: var(--sh-1); }
.lcard:hover { transform: translateY(-6px); box-shadow: var(--sh-3); }
.lcard.hl-pin { box-shadow: 0 0 0 3px var(--o), var(--sh-3); }
.lcard__img { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--sky); display: block; }
.lcard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.lcard:hover .lcard__img img { transform: scale(1.07); }
.lcard__img::after { content: ""; position: absolute; inset: auto 0 0 0; height: 45%; background: linear-gradient(0deg, rgba(13,18,32,.45), transparent); pointer-events: none; }
.lcard__badges { position: absolute; left: 14px; top: 14px; display: flex; gap: 6px; flex-wrap: wrap; z-index: 2; }
.lcard__acts { position: absolute; right: 14px; top: 14px; display: flex; gap: 8px; z-index: 3; }
.lcard__acts .icon-btn { width: 40px; height: 40px; box-shadow: var(--sh-2); border: 0; }
.lcard__acts .icon-btn.on[data-fav] { background: var(--o); }
.lcard__acts .icon-btn.on[data-cmp] { background: var(--ink); color: #fff; }
.lcard__img .where { position: absolute; left: 14px; bottom: 12px; z-index: 2; color: #fff; font-weight: 700; font-size: 13px; display: inline-flex; align-items: center; gap: 6px; }
.lcard__body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.lcard__price { font-family: var(--display); font-weight: 800; font-size: 28px; letter-spacing: -.04em; color: var(--ink); line-height: 1; display: flex; align-items: baseline; gap: 8px; }
.lcard__price small { font-family: var(--body); font-size: 14px; color: var(--muted); font-weight: 600; letter-spacing: 0; }
.lcard__price s { font-size: 14px; color: var(--soft); font-family: var(--body); font-weight: 600; letter-spacing: 0; }
.lcard h3 { font-size: 18px; letter-spacing: -.015em; margin: 12px 0 4px; font-weight: 700; }
.lcard__loc { color: var(--muted); font-size: 14px; font-weight: 500; margin-bottom: 16px; }
.specs { display: flex; gap: 18px; margin-top: auto; padding-top: 16px; border-top: 1px dashed var(--line); font-weight: 700; font-size: 14px; color: var(--ink); flex-wrap: wrap; }
.specs span { display: inline-flex; align-items: center; gap: 7px; } .specs .i { color: var(--o); width: 18px; height: 18px; }
.lgrid.is-list { grid-template-columns: 1fr; gap: 18px; }
.is-list .lcard { flex-direction: row; }
.is-list .lcard__img { aspect-ratio: auto; width: 38%; min-height: 240px; flex: none; }
.is-list .lcard__body { padding: 26px 30px; }
.is-list .lcard h3 { font-size: 22px; }
.lcard__sum { display: none; color: var(--muted); font-size: 15px; margin: 0 0 16px; }
.is-list .lcard__sum { display: block; }
.lcard--skeleton { min-height: 360px; background: linear-gradient(100deg, #eceef3 30%, #f6f7fa 50%, #eceef3 70%); background-size: 200% 100%; animation: shimmer 1.4s infinite; }
@keyframes shimmer { to { background-position: -200% 0; } }

/* compare tray */
.ctray { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 140%); z-index: 70; background: var(--ink); color: #fff; border-radius: 999px; padding: 10px 12px 10px 14px; display: flex; align-items: center; gap: 14px; box-shadow: var(--sh-3); transition: transform .5s var(--ease); max-width: calc(100% - 24px); }
.ctray.show { transform: translate(-50%, 0); }
.ctray__thumbs { display: flex; } .ctray__thumbs img { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; border: 3px solid var(--ink); margin-left: -10px; } .ctray__thumbs img:first-child { margin-left: 0; }
.ctray__slot { width: 42px; height: 42px; border-radius: 50%; border: 2px dashed #4a5370; margin-left: -10px; background: var(--ink); } .ctray__slot:first-child { margin-left: 0; }
.ctray b { font-family: var(--display); font-size: 16px; } .ctray small { display: block; color: #98a2c0; font-size: 12px; font-weight: 600; }
.ctray .x { color: #98a2c0; padding: 8px; }

/* filter bar */
.fbar { position: sticky; top: 90px; z-index: 40; background: rgba(255,255,255,.92); backdrop-filter: blur(14px); border-radius: 26px; box-shadow: var(--sh-2), 0 0 0 1px var(--line); padding: 12px; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-bottom: 18px; }
.fbar__search { flex: 1 1 260px; position: relative; display: flex; align-items: center; background: var(--bg); border-radius: 999px; padding: 0 18px; gap: 10px; height: 46px; min-width: 200px; }
.fbar__search input { border: 0; background: none; outline: 0; flex: 1; font-weight: 600; min-width: 0; }
.fbar__search .sug { top: calc(100% + 12px); }
.fpop { position: relative; }
.fpop .chip { height: 46px; padding: 0 18px; background: var(--bg); box-shadow: none; }
.fpop .chip:hover { background: #e9ecf2; }
.fpop .chip.has { background: var(--ink); color: #fff; }
.pop { position: absolute; left: 0; top: calc(100% + 14px); background: #fff; border-radius: 24px; box-shadow: var(--sh-3), 0 0 0 1px var(--line); padding: 22px; width: 360px; z-index: 50; display: none; }
.pop.open { display: block; animation: pop .25s var(--ease); }
.pop--r { left: auto; right: 0; }
.pop h5 { margin: 0 0 14px; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 800; }
.pop__foot { display: flex; justify-content: space-between; align-items: center; margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line); }
.pop__foot button.clear { font-weight: 700; text-decoration: underline; color: var(--muted); }
.fbar__right { margin-left: auto; display: flex; gap: 10px; align-items: center; }
.fbar .select { min-height: 46px; width: auto; background-color: var(--bg); border: 0; border-radius: 999px; padding-left: 18px; font-weight: 700; font-size: 14px; }
.vt { display: inline-flex; background: var(--bg); border-radius: 999px; padding: 4px; }
.vt button { width: 40px; height: 38px; border-radius: 999px; display: grid; place-items: center; color: var(--muted); } .vt button.on { background: #fff; color: var(--ink); box-shadow: var(--sh-1); }
.rbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 6px 0 22px; flex-wrap: wrap; }
.rbar h2 { font-size: 26px; letter-spacing: -.03em; } .rbar h2 em { font-style: normal; color: var(--o); }
.afilters { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.afilters .chip { min-height: 34px; padding: 0 12px 0 14px; background: var(--o-50); color: var(--o-700); box-shadow: none; font-size: 13px; }
.afilters .chip:hover { background: var(--o-100); }
.empty { text-align: center; padding: 70px 20px; background: #fff; border-radius: var(--r-lg); grid-column: 1/-1; }
.empty .ic { width: 72px; height: 72px; border-radius: 50%; background: var(--o-50); color: var(--o); display: grid; place-items: center; margin: 0 auto 18px; }

/* split map view */
.msplit { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 20px; align-items: start; }
.msplit .lgrid { grid-template-columns: 1fr; gap: 14px; max-height: 76vh; overflow-y: auto; padding: 4px 6px 4px 2px; scrollbar-width: thin; }
.msplit .lcard { flex-direction: row; } .msplit .lcard__img { aspect-ratio: auto; width: 40%; min-height: 190px; flex: none; }
.msplit .lcard__body { padding: 16px 18px; } .msplit .lcard__price { font-size: 22px; } .msplit .lcard h3 { font-size: 16px; margin-top: 8px; }
.msplit .lcard__loc { margin-bottom: 8px; font-size: 13px; } .msplit .specs { padding-top: 10px; gap: 12px; font-size: 13px; }
.mapbox { position: sticky; top: 170px; height: 76vh; min-height: 480px; background: #e9eef6; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh-2); }
.map { width: 100%; height: 100%; display: block; user-select: none; }
.map .z { fill: var(--zf, #f7f8fb); stroke: #fff; stroke-width: 3; transition: fill .25s; cursor: pointer; }
.map .z:hover, .map .z.hov { fill: var(--o-100); } .map .z.act { fill: #ffc9b0; }
.map .zl { font-family: var(--display); font-weight: 700; font-size: 17px; fill: #7b86a3; pointer-events: none; letter-spacing: -.02em; }
.map .water { fill: #cfe0f5; } .map .park { fill: #d6ecd9; } .map .road { stroke: #fff; fill: none; stroke-linecap: round; }
.pin { cursor: pointer; transition: transform .25s var(--ease); }
.pin:hover, .pin.hov { transform: translateY(-4px) scale(1.12); }
.pin rect { fill: var(--ink); } .pin text { fill: #fff; font-family: var(--display); font-weight: 700; font-size: 13px; text-anchor: middle; } .pin path { fill: var(--ink); }
.pin:hover rect, .pin.hov rect, .pin.on rect, .pin:hover path, .pin.hov path, .pin.on path { fill: var(--o); }
.mapctl { position: absolute; right: 14px; top: 14px; display: flex; flex-direction: column; gap: 8px; z-index: 3; }
.mapctl .icon-btn { box-shadow: var(--sh-2); border: 0; }
.mapcard { position: absolute; left: 14px; right: 14px; bottom: 14px; z-index: 3; display: none; }
.mapcard.show { display: block; animation: pop .3s var(--ease); }
.mapcard .lcard { flex-direction: row; box-shadow: var(--sh-3); } .mapcard .lcard__img { width: 36%; aspect-ratio: auto; min-height: 130px; } .mapcard .lcard__body { padding: 14px 18px; } .mapcard .specs { padding-top: 8px; gap: 12px; }
.mapleg { position: absolute; left: 14px; top: 14px; background: #fff; border-radius: 14px; padding: 8px 14px; font-weight: 700; font-size: 13px; box-shadow: var(--sh-2); z-index: 3; display: flex; align-items: center; gap: 8px; }

/* tabs / accordion */
.tabs { display: flex; gap: 8px; flex-wrap: wrap; }
.tabs button { padding: 12px 22px; border-radius: 999px; font-weight: 700; color: var(--muted); background: #fff; box-shadow: inset 0 0 0 1.5px var(--line); transition: all .25s; }
.tabs button:hover { color: var(--ink); } .tabs button.on { background: var(--ink); color: #fff; box-shadow: none; }
.tabpanel[hidden] { display: none; } .tabpanel { animation: fade .4s; }
.acc { display: grid; gap: 12px; }
.acc__it { background: #fff; border-radius: var(--r); box-shadow: var(--sh-1); overflow: hidden; }
.acc__q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; text-align: left; padding: 22px 26px; font-family: var(--display); font-size: 20px; font-weight: 600; letter-spacing: -.02em; color: var(--ink); }
.acc__q .pm { width: 36px; height: 36px; border-radius: 50%; background: var(--bg); display: grid; place-items: center; flex: none; transition: all .35s var(--ease); }
.acc__it.open .pm { background: var(--o); color: #fff; transform: rotate(135deg); }
.acc__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease); }
.acc__it.open .acc__a { grid-template-rows: 1fr; }
.acc__a > div { overflow: hidden; } .acc__a p { padding: 0 26px 24px; color: var(--muted); margin: 0; max-width: 760px; }

/* bento / lifestyle */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 230px; gap: 16px; }
.tile { position: relative; border-radius: var(--r-lg); overflow: hidden; color: #fff; display: flex; flex-direction: column; justify-content: flex-end; padding: 24px; isolation: isolate; transition: transform .5s var(--ease); }
.tile:hover { transform: translateY(-5px); }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s var(--ease); }
.tile:hover img { transform: scale(1.08); }
.tile::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(13,18,32,.8), rgba(13,18,32,.05) 65%); }
.tile h3 { color: #fff; font-size: 26px; } .tile p { margin: 6px 0 0; color: #d6dbe9; font-size: 14px; } .tile .badge { position: absolute; left: 20px; top: 20px; }
.tile .go { position: absolute; right: 20px; top: 20px; width: 44px; height: 44px; border-radius: 50%; background: #fff; color: var(--ink); display: grid; place-items: center; transition: all .35s var(--ease); }
.tile:hover .go { background: var(--o); color: #fff; transform: rotate(45deg); }
.tile--w2 { grid-column: span 2; } .tile--h2 { grid-row: span 2; }

/* how it works */
.how { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: s; }
.how__s { background: #fff; border-radius: var(--r-lg); padding: 32px; position: relative; counter-increment: s; transition: transform .4s var(--ease); }
.how__s:hover { transform: translateY(-5px); }
.how__s::before { content: "0" counter(s); font-family: var(--display); font-weight: 800; font-size: 64px; letter-spacing: -.06em; color: var(--o-100); line-height: 1; display: block; margin-bottom: 26px; transition: color .3s; }
.how__s:hover::before { color: var(--o); }
.how__s h3 { margin-bottom: 12px; } .how__s p { color: var(--muted); margin: 0; }

/* stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.stat { padding: 10px 30px; border-left: 1px solid rgba(255,255,255,.14); } .stat:first-child { border: 0; padding-left: 0; }
.stat b { font-family: var(--display); font-size: clamp(44px, 5.4vw, 78px); letter-spacing: -.05em; color: #fff; line-height: 1; display: block; font-weight: 800; }
.stat b i { font-style: normal; color: var(--o); } .stat span { color: #98a2c0; font-weight: 600; margin-top: 10px; display: block; }
.stats--light .stat { border-color: var(--line); } .stats--light .stat b { color: var(--ink); } .stats--light .stat span { color: var(--muted); }

/* journal */
.jgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.jcard { display: flex; flex-direction: column; gap: 18px; }
.jcard__img { aspect-ratio: 3/2; border-radius: var(--r-lg); overflow: hidden; background: var(--sky); position: relative; }
.jcard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); } .jcard:hover .jcard__img img { transform: scale(1.06); }
.jcard__img .badge { position: absolute; left: 16px; top: 16px; }
.jcard h3 { font-size: 24px; transition: color .2s; } .jcard:hover h3 { color: var(--o-600); }
.jcard p { color: var(--muted); margin: 0; font-size: 15px; } .jcard small { color: var(--soft); font-weight: 700; font-size: 13px; }
.jfeat { display: grid; grid-template-columns: 1.3fr 1fr; background: #fff; border-radius: var(--r-xl); overflow: hidden; margin-bottom: 40px; box-shadow: var(--sh-2); }
.jfeat__img { min-height: 380px; position: relative; } .jfeat__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.jfeat__b { padding: clamp(28px, 4vw, 56px); display: flex; flex-direction: column; justify-content: center; gap: 18px; align-items: flex-start; }

/* CTA band */
.cta { position: relative; border-radius: var(--r-xl); overflow: hidden; background: var(--ink); color: #fff; padding: clamp(40px, 6vw, 84px); isolation: isolate; display: grid; grid-template-columns: 1.3fr 1fr; gap: 30px; align-items: center; }
.cta::before { content: ""; position: absolute; width: 560px; height: 560px; border-radius: 50%; background: radial-gradient(circle, var(--o) 0%, transparent 65%); right: -140px; top: -220px; opacity: .85; z-index: -1; }
.cta h2 { color: #fff; } .cta p { color: #b6bdd3; font-size: 18px; margin: 18px 0 0; max-width: 520px; }
.cta__btns { display: flex; gap: 12px; flex-wrap: wrap; justify-content: flex-end; }

/* footer */
.ftr { background: var(--ink); color: #98a2c0; margin-top: 0; padding: 80px 0 30px; border-radius: 44px 44px 0 0; }
.ftr__top { display: grid; grid-template-columns: 1.5fr repeat(5, 1fr); gap: 36px; padding-bottom: 56px; border-bottom: 1px solid rgba(255,255,255,.1); }
.ftr .logo { color: #fff; } .ftr p { font-size: 14.5px; max-width: 320px; margin: 18px 0 20px; }
.ftr h4 { color: #fff; font-size: 14px; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 18px; font-family: var(--body); font-weight: 800; }
.ftr li a { display: block; padding: 6px 0; font-size: 14.5px; font-weight: 500; transition: color .2s, padding .3s var(--ease); } .ftr li a:hover { color: #fff; padding-left: 6px; }
.news { display: flex; background: rgba(255,255,255,.08); border-radius: 999px; padding: 5px; max-width: 340px; }
.news input { flex: 1; background: none; border: 0; outline: 0; padding: 0 16px; color: #fff; min-width: 0; } .news input::placeholder { color: #7e89a8; }
.news-msg { font-size: 13px; color: #ff9b73; margin: 10px 0 0 !important; min-height: 20px; }
.ftr__mid { padding: 26px 0; font-size: 12.5px; color: #6c7796; max-width: 900px; }
.ftr__bot { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; font-size: 13.5px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1); }
.ftr__bot nav { display: flex; gap: 22px; flex-wrap: wrap; } .ftr__bot a:hover { color: #fff; }
.totop { position: fixed; right: 20px; bottom: 24px; z-index: 60; width: 50px; height: 50px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; box-shadow: var(--sh-2); opacity: 0; transform: translateY(20px); pointer-events: none; transition: all .4s var(--ease); }
.totop.show { opacity: 1; transform: none; pointer-events: auto; }

/* reveal */
.rv { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.rv.in { opacity: 1; transform: none; }
.no-js .rv { opacity: 1; transform: none; }

/* ---------- PROPERTY detail ---------- */
.pgal { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 250px 250px; gap: 12px; border-radius: var(--r-xl); overflow: hidden; }
.pgal button { position: relative; overflow: hidden; background: var(--sky); display: block; }
.pgal button:first-child { grid-row: 1 / 3; }
.pgal img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); } .pgal button:hover img { transform: scale(1.05); }
.pgal .more { position: absolute; right: 16px; bottom: 16px; background: #fff; color: var(--ink); padding: 10px 16px; border-radius: 99px; font-weight: 800; font-size: 13.5px; display: inline-flex; gap: 8px; align-items: center; box-shadow: var(--sh-2); }
.phd { display: flex; justify-content: space-between; gap: 30px; align-items: flex-start; margin: 34px 0 6px; flex-wrap: wrap; }
.phd h1 { font-size: clamp(34px, 4.4vw, 58px); letter-spacing: -.04em; }
.phd__price { font-family: var(--display); font-weight: 800; font-size: clamp(34px, 4vw, 54px); letter-spacing: -.045em; color: var(--ink); line-height: 1; text-align: right; }
.phd__price small { display: block; font-family: var(--body); font-size: 14px; color: var(--muted); font-weight: 600; letter-spacing: 0; margin-top: 8px; }
.phd__acts { display: flex; gap: 8px; margin-top: 16px; justify-content: flex-end; }
.subnav { position: sticky; top: 86px; z-index: 30; display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; background: rgba(255,255,255,.92); backdrop-filter: blur(12px); border-radius: 999px; padding: 6px; box-shadow: var(--sh-2); margin: 30px 0; width: max-content; max-width: 100%; }
.subnav a { padding: 10px 18px; border-radius: 999px; font-weight: 700; font-size: 14px; color: var(--muted); white-space: nowrap; transition: all .25s; }
.subnav a.on { background: var(--ink); color: #fff; }
.playout { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 40px; align-items: start; }
.psec { background: #fff; border-radius: var(--r-lg); padding: clamp(26px, 3vw, 40px); margin-bottom: 20px; }
.psec h2 { font-size: 32px; letter-spacing: -.035em; margin-bottom: 22px; }
.keyfacts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 8px; }
.kf { background: var(--bg); border-radius: var(--r); padding: 18px; } .kf .i { color: var(--o); margin-bottom: 12px; width: 24px; height: 24px; }
.kf b { display: block; font-family: var(--display); font-size: 26px; letter-spacing: -.03em; color: var(--ink); line-height: 1.1; } .kf span { font-size: 13px; color: var(--muted); font-weight: 600; }
.feat { display: grid; grid-template-columns: repeat(2, 1fr); gap: 4px 30px; } .feat li { display: flex; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); font-weight: 600; color: var(--ink); } .feat .i { color: var(--green); width: 18px; height: 18px; }
.fp { display: grid; grid-template-columns: 1.6fr 1fr; gap: 24px; align-items: center; }
.fp svg { width: 100%; border-radius: var(--r); background: #f9fafc; }
.fp .room { fill: #fff; stroke: var(--ink); stroke-width: 3; transition: fill .25s; cursor: pointer; } .fp .room:hover, .fp .room.on { fill: var(--o-100); }
.fp text { font-family: var(--body); font-weight: 700; font-size: 13px; fill: var(--ink); pointer-events: none; text-anchor: middle; }
.fp text.s { font-size: 11px; fill: var(--muted); font-weight: 600; }
.fpinfo { background: var(--bg); border-radius: var(--r); padding: 22px; min-height: 160px; } .fpinfo h4 { font-size: 22px; font-family: var(--display); margin-bottom: 6px; } .fpinfo p { margin: 0; color: var(--muted); font-size: 14.5px; }
.scores { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.score { text-align: center; background: var(--bg); border-radius: var(--r); padding: 22px 10px 18px; }
.ring { --v: 0; width: 96px; height: 96px; border-radius: 50%; margin: 0 auto 12px; background: conic-gradient(var(--o) calc(var(--v) * 1%), #e3e6ee 0); display: grid; place-items: center; position: relative; transition: --v 1.4s; }
.ring::before { content: ""; position: absolute; inset: 9px; background: var(--bg); border-radius: 50%; }
.ring b { position: relative; font-family: var(--display); font-size: 28px; color: var(--ink); letter-spacing: -.04em; }
.score span { font-weight: 700; font-size: 13.5px; color: var(--ink); display: block; }
.panel { background: #fff; border-radius: var(--r-lg); padding: 28px; }
.panel--dark { background: var(--ink); color: #b6bdd3; } .panel--dark h3, .panel--dark b { color: #fff; }
.side { position: sticky; top: 100px; display: grid; gap: 18px; }
.days { display: flex; gap: 8px; overflow-x: auto; padding: 4px 2px 10px; scrollbar-width: none; margin-bottom: 8px; }
.day { flex: 0 0 66px; padding: 12px 0; border-radius: 18px; background: var(--bg); text-align: center; transition: all .25s; box-shadow: inset 0 0 0 1.5px transparent; }
.day small { display: block; font-size: 11px; text-transform: uppercase; font-weight: 800; letter-spacing: .08em; color: var(--muted); } .day b { font-family: var(--display); font-size: 24px; color: var(--ink); line-height: 1.2; }
.day:hover { box-shadow: inset 0 0 0 1.5px var(--ink); } .day.on { background: var(--ink); } .day.on small { color: #aab1c7; } .day.on b { color: #fff; }
.slots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 10px 0 18px; }
.slot { padding: 11px 0; border-radius: 12px; font-weight: 700; font-size: 14px; background: var(--bg); transition: all .2s; box-shadow: inset 0 0 0 1.5px transparent; }
.slot:hover { box-shadow: inset 0 0 0 1.5px var(--o); } .slot.on { background: var(--o); color: #fff; } .slot[disabled] { opacity: .35; text-decoration: line-through; pointer-events: none; }
.kv { display: flex; justify-content: space-between; padding: 12px 0; border-bottom: 1px dashed var(--line); font-weight: 600; gap: 16px; } .kv:last-child { border: 0; } .kv span:first-child { color: var(--muted); } .kv b { color: var(--ink); text-align: right; }
.panel--dark .kv { border-color: rgba(255,255,255,.12); } .panel--dark .kv span:first-child { color: #98a2c0; }
.lightbox { position: fixed; inset: 0; z-index: 260; background: rgba(8,11,20,.96); display: none; flex-direction: column; padding: 20px; }
.lightbox.open { display: flex; animation: fade .25s; }
.lightbox__main { flex: 1; display: grid; place-items: center; min-height: 0; position: relative; } .lightbox__main img { max-height: 100%; max-width: 100%; object-fit: contain; border-radius: 14px; }
.lightbox__top { display: flex; justify-content: space-between; color: #fff; align-items: center; font-weight: 700; margin-bottom: 10px; }
.lightbox .nv { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,.14); color: #fff; box-shadow: none; } .lightbox .nv:hover { background: var(--o); } .lightbox .prev { left: 0; } .lightbox .next { right: 0; }
.lightbox__th { display: flex; gap: 8px; justify-content: center; padding-top: 14px; overflow-x: auto; } .lightbox__th button { width: 84px; height: 58px; border-radius: 10px; overflow: hidden; opacity: .5; flex: none; } .lightbox__th button.on { opacity: 1; outline: 2px solid var(--o); } .lightbox__th img { width: 100%; height: 100%; object-fit: cover; }
.prog { position: fixed; left: 0; top: 0; height: 4px; background: var(--o); z-index: 150; width: 0; }

/* ---------- Compare ---------- */
.cmp { overflow-x: auto; background: #fff; border-radius: var(--r-lg); }
.cmp table { width: 100%; border-collapse: collapse; min-width: 760px; }
.cmp th, .cmp td { padding: 16px 22px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.cmp th { width: 190px; color: var(--muted); font-size: 13px; text-transform: uppercase; letter-spacing: .08em; font-weight: 800; }
.cmp td { font-weight: 700; color: var(--ink); } .cmp td.best { background: var(--green-50); color: #0b7a3b; }
.cmp td.best::after { content: "Best"; margin-left: 10px; font-size: 10.5px; padding: 2px 8px; border-radius: 99px; background: var(--green); color: #fff; letter-spacing: .06em; text-transform: uppercase; vertical-align: middle; }
.cmp .hcell img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 16px; margin-bottom: 12px; } .cmp .hcell h3 { font-size: 20px; } .cmp .hcell .rm { color: var(--muted); font-size: 13px; text-decoration: underline; font-weight: 700; margin-top: 8px; }

/* ---------- Tools ---------- */
.tool { display: grid; grid-template-columns: 1fr 1.1fr; gap: 24px; align-items: stretch; }
.tool__in { background: #fff; border-radius: var(--r-lg); padding: clamp(24px, 3vw, 40px); }
.tool__out { background: var(--ink); color: #b6bdd3; border-radius: var(--r-lg); padding: clamp(24px, 3vw, 40px); display: flex; flex-direction: column; gap: 24px; }
.tool__big { font-family: var(--display); font-weight: 800; font-size: clamp(48px, 6vw, 84px); letter-spacing: -.055em; color: #fff; line-height: 1; } .tool__big small { font-size: .32em; color: #98a2c0; font-weight: 600; letter-spacing: -.01em; margin-left: 6px; }
.tool__lbl { font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: #ff8a5c; margin-bottom: 8px; }
.rowf { margin-bottom: 26px; } .rowf__h { display: flex; justify-content: space-between; align-items: baseline; font-weight: 700; color: var(--ink); } .rowf__h output { font-family: var(--display); font-size: 22px; letter-spacing: -.03em; }
.donut { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; } .donut svg { width: 150px; height: 150px; flex: none; transform: rotate(-90deg); }
.legend li { display: flex; align-items: center; gap: 10px; padding: 6px 0; font-weight: 600; color: #d6dbe9; } .legend i { width: 12px; height: 12px; border-radius: 4px; display: block; } .legend b { margin-left: auto; color: #fff; padding-left: 20px; }
.chart { width: 100%; height: auto; overflow: visible; } .chart text { font-family: var(--body); font-size: 12px; fill: #98a2c0; font-weight: 600; }
.chart--l text { fill: var(--muted); }
.chart .grid { stroke: rgba(255,255,255,.1); } .chart--l .grid { stroke: var(--line); }
.chart .ln { fill: none; stroke: var(--o); stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; } .chart .ar { fill: url(#gr); }
.chart .dot { fill: var(--o); stroke: #fff; stroke-width: 3; }
.tip { position: absolute; pointer-events: none; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 12px; font-size: 13px; font-weight: 700; transform: translate(-50%, -120%); white-space: nowrap; opacity: 0; transition: opacity .15s; box-shadow: var(--sh-2); z-index: 5; } .tip small { display: block; color: #98a2c0; font-weight: 600; } .tip.show { opacity: 1; }
.cwrap { position: relative; }
.chart-card { background: #fff; border-radius: var(--r-lg); padding: clamp(22px, 3vw, 38px); }
.chart-card__top { display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 20px; margin-bottom: 26px; }
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 20px; }
.kpi { background: #fff; border-radius: var(--r); padding: 22px; } .kpi small { color: var(--muted); font-weight: 700; font-size: 13px; } .kpi b { display: block; font-family: var(--display); font-size: 34px; letter-spacing: -.04em; color: var(--ink); margin: 6px 0 4px; line-height: 1; }
.up { color: var(--green); font-weight: 800; font-size: 13.5px; } .down { color: #d02e34; font-weight: 800; font-size: 13.5px; }
.bars { display: grid; gap: 12px; } .bar { display: grid; grid-template-columns: 130px 1fr 90px; align-items: center; gap: 14px; font-weight: 700; color: var(--ink); font-size: 14.5px; } .bar i { display: block; height: 14px; border-radius: 99px; background: linear-gradient(90deg, var(--o), #ff9b6b); width: 0; transition: width 1.1s var(--ease); } .bar div { background: #eceef3; border-radius: 99px; } .bar b { text-align: right; font-family: var(--display); }

/* ---------- Wizard (sell / tour) ---------- */
.wiz { background: #fff; border-radius: var(--r-xl); padding: clamp(24px, 4vw, 52px); box-shadow: var(--sh-2); }
.wiz__prog { display: flex; gap: 8px; margin-bottom: 36px; } .wiz__prog i { flex: 1; height: 6px; border-radius: 9px; background: #e6e9f0; position: relative; overflow: hidden; } .wiz__prog i::after { content: ""; position: absolute; inset: 0; background: var(--o); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); } .wiz__prog i.done::after { transform: none; }
.wiz__step { display: none; } .wiz__step.on { display: block; animation: fade .5s; }
.wiz h2 { font-size: clamp(30px, 3.6vw, 46px); margin-bottom: 10px; } .wiz__sub { color: var(--muted); margin-bottom: 30px; }
.wiz__nav { display: flex; justify-content: space-between; margin-top: 32px; gap: 12px; }
.opts { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.opt { padding: 22px 18px; border-radius: var(--r); background: var(--bg); text-align: left; font-weight: 700; color: var(--ink); display: flex; flex-direction: column; gap: 14px; transition: all .25s var(--ease); box-shadow: inset 0 0 0 2px transparent; }
.opt .i { width: 28px; height: 28px; color: var(--o); } .opt small { color: var(--muted); font-weight: 600; display: block; font-size: 13px; }
.opt:hover { transform: translateY(-3px); } .opt.on { background: var(--o-50); box-shadow: inset 0 0 0 2px var(--o); }
.est { text-align: center; padding: 20px 0; } .est__big { font-family: var(--display); font-weight: 800; font-size: clamp(46px, 7vw, 92px); letter-spacing: -.055em; color: var(--ink); line-height: 1; margin: 14px 0; } .est__big span { color: var(--o); }
.est__range { height: 12px; border-radius: 99px; background: linear-gradient(90deg, #ffd0ba, var(--o), #ffd0ba); max-width: 520px; margin: 26px auto 10px; position: relative; } .est__range::after { content: ""; position: absolute; left: 50%; top: 50%; width: 28px; height: 28px; background: #fff; border: 4px solid var(--ink); border-radius: 50%; transform: translate(-50%, -50%); }
.est__lbl { display: flex; justify-content: space-between; max-width: 520px; margin: 0 auto; font-weight: 700; color: var(--muted); }
.summary { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin: 30px 0; } .summary div { background: var(--bg); border-radius: var(--r); padding: 16px 18px; } .summary small { color: var(--muted); font-weight: 700; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; } .summary b { display: block; color: var(--ink); font-size: 17px; }
.done { text-align: center; padding: 30px 0; } .done .ic { width: 90px; height: 90px; border-radius: 50%; background: var(--green-50); color: var(--green); display: grid; place-items: center; margin: 0 auto 24px; animation: pop .6s var(--ease); } .done .ic .i { width: 44px; height: 44px; stroke-width: 2.4; }
.ticket { background: var(--ink); color: #b6bdd3; border-radius: var(--r-lg); padding: 28px; max-width: 460px; margin: 28px auto; text-align: left; position: relative; } .ticket::before, .ticket::after { content: ""; position: absolute; width: 24px; height: 24px; border-radius: 50%; background: #fff; top: 58%; } .ticket::before { left: -12px; } .ticket::after { right: -12px; }
.ticket .code { font-family: var(--display); font-size: 32px; font-weight: 800; color: #fff; letter-spacing: .04em; } .ticket hr { border: 0; border-top: 2px dashed rgba(255,255,255,.2); margin: 20px 0; }

/* ---------- Neighbourhoods ---------- */
.ngrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.ncard { background: #fff; border-radius: var(--r-lg); overflow: hidden; display: flex; flex-direction: column; transition: all .45s var(--ease); box-shadow: var(--sh-1); }
.ncard:hover, .ncard.hov { transform: translateY(-6px); box-shadow: var(--sh-3); }
.ncard__img { aspect-ratio: 16/10; overflow: hidden; position: relative; } .ncard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); } .ncard:hover .ncard__img img { transform: scale(1.06); }
.ncard__img .badge { position: absolute; left: 14px; top: 14px; }
.ncard__b { padding: 22px 24px 24px; } .ncard h3 { font-size: 26px; margin-bottom: 6px; } .ncard p { color: var(--muted); font-size: 14.5px; margin: 0 0 16px; }
.ncard__st { display: flex; gap: 20px; padding-top: 16px; border-top: 1px dashed var(--line); font-size: 13px; color: var(--muted); font-weight: 600; } .ncard__st b { display: block; color: var(--ink); font-size: 17px; font-family: var(--display); letter-spacing: -.02em; }
.nlayout { display: grid; grid-template-columns: 1.1fr 1fr; gap: 24px; align-items: start; }
.nlayout .mapbox { top: 110px; height: 640px; }
.vibes { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 26px; }
.nhero { position: relative; border-radius: var(--r-xl); overflow: hidden; min-height: 460px; color: #fff; display: flex; align-items: flex-end; padding: clamp(26px, 4vw, 56px); isolation: isolate; }
.nhero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; } .nhero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(13,18,32,.85), rgba(13,18,32,.1) 70%); z-index: -1; }
.nhero h1 { color: #fff; font-size: clamp(44px, 7vw, 96px); } .nhero p { color: #d6dbe9; font-size: 18px; max-width: 560px; margin: 14px 0 0; }

/* developments */
.dev { display: grid; grid-template-columns: 1fr 1.15fr; background: #fff; border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--sh-1); margin-bottom: 26px; }
.dev:nth-child(even) { grid-template-columns: 1.15fr 1fr; } .dev:nth-child(even) .dev__img { order: 2; }
.dev__img { position: relative; min-height: 420px; } .dev__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.dev__b { padding: clamp(26px, 3.4vw, 50px); display: flex; flex-direction: column; gap: 18px; }
.meter { height: 10px; border-radius: 99px; background: #e8ebf2; overflow: hidden; } .meter i { display: block; height: 100%; background: linear-gradient(90deg, var(--o), #ff9b6b); border-radius: 99px; width: 0; transition: width 1.4s var(--ease); }
.units { width: 100%; border-collapse: collapse; font-size: 14.5px; } .units th { text-align: left; color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .08em; padding: 8px 0; font-weight: 800; } .units td { padding: 12px 0; border-top: 1px solid var(--line); font-weight: 700; color: var(--ink); } .units td:last-child { text-align: right; }
.low { color: #d97706; font-weight: 800; font-size: 12.5px; }

/* services / generic cards */
.cards3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; } .cards4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; } .cards2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.icard { background: #fff; border-radius: var(--r-lg); padding: 32px; transition: all .4s var(--ease); } .icard:hover { transform: translateY(-5px); box-shadow: var(--sh-2); }
.icard .ic { width: 58px; height: 58px; border-radius: 18px; background: var(--o-50); color: var(--o-600); display: grid; place-items: center; margin-bottom: 26px; transition: all .3s; } .icard:hover .ic { background: var(--o); color: #fff; }
.icard h3 { font-size: 24px; margin-bottom: 10px; } .icard p { color: var(--muted); margin: 0 0 16px; font-size: 15.5px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 80px); align-items: center; } .split__img { border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 5/4; } .split__img img { width: 100%; height: 100%; object-fit: cover; }
.tl { position: relative; padding-left: 34px; } .tl::before { content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 2px; background: var(--line); } .tl__it { position: relative; padding-bottom: 32px; } .tl__it::before { content: ""; position: absolute; left: -34px; top: 6px; width: 16px; height: 16px; border-radius: 50%; background: var(--o); box-shadow: 0 0 0 5px var(--o-100); } .tl__it b { font-family: var(--display); font-size: 22px; color: var(--ink); display: block; } .tl__it span { font-weight: 800; color: var(--o-600); font-size: 13px; letter-spacing: .08em; }

/* article */
.art { max-width: 780px; margin: 0 auto; } .art h1 { font-size: clamp(38px, 5.4vw, 70px); } .art__meta { display: flex; gap: 18px; color: var(--muted); font-weight: 700; font-size: 14px; margin: 24px 0 36px; flex-wrap: wrap; } .art__cover { border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 16/9; margin: 0 auto 50px; max-width: 1100px; } .art__cover img { width: 100%; height: 100%; object-fit: cover; }
.art h2 { font-size: 34px; margin: 46px 0 16px; letter-spacing: -.035em; } .art p { font-size: 18.5px; line-height: 1.75; color: #3a4258; } .art blockquote { margin: 34px 0; padding: 28px 32px; background: var(--o-50); border-left: 5px solid var(--o); border-radius: 0 var(--r) var(--r) 0; font-family: var(--display); font-size: 26px; line-height: 1.25; letter-spacing: -.025em; color: var(--ink); font-weight: 600; }
.toc { position: sticky; top: 100px; } .toc a { display: block; padding: 8px 14px; border-left: 2px solid var(--line); font-weight: 600; color: var(--muted); font-size: 14.5px; } .toc a.on { border-color: var(--o); color: var(--ink); }
.alayout { display: grid; grid-template-columns: 240px minmax(0, 780px); gap: 60px; justify-content: center; }

/* contact + misc */
.topics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 26px; }
.form-card { background: #fff; border-radius: var(--r-xl); padding: clamp(26px, 4vw, 50px); box-shadow: var(--sh-2); }
.success { text-align: center; padding: 50px 10px; display: none; } .form-card.sent .success { display: block; animation: fade .5s; } .form-card.sent form { display: none; }
.success .ic { width: 84px; height: 84px; border-radius: 50%; background: var(--green-50); color: var(--green); display: grid; place-items: center; margin: 0 auto 22px; } .success .ic .i { width: 40px; height: 40px; stroke-width: 2.4; }
.legal { max-width: 800px; } .legal h2 { font-size: 30px; margin: 40px 0 14px; } .legal p, .legal li { color: #4a5268; font-size: 16.5px; } .legal li { list-style: disc; margin-left: 22px; padding: 4px 0; }
.sm-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; } .sm-col { background: #fff; border-radius: var(--r-lg); padding: 28px; } .sm-col h3 { font-size: 22px; margin-bottom: 14px; padding-bottom: 14px; border-bottom: 2px solid var(--o); } .sm-col a { display: flex; justify-content: space-between; padding: 9px 0; font-weight: 600; color: var(--text); border-bottom: 1px solid var(--line); } .sm-col a:hover { color: var(--o-600); padding-left: 6px; } .sm-col a { transition: all .25s var(--ease); } .sm-col small { color: var(--soft); }
.err404 { text-align: center; padding: 60px 0 100px; } .err404 .n { font-family: var(--display); font-size: clamp(140px, 26vw, 340px); font-weight: 800; letter-spacing: -.08em; line-height: .85; color: var(--ink); } .err404 .n i { font-style: normal; color: var(--o); }
.saved-empty { text-align: center; padding: 80px 20px; background: #fff; border-radius: var(--r-xl); }
.sbar { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin-bottom: 26px; }
.searches { display: grid; gap: 10px; } .sitem { display: flex; align-items: center; gap: 14px; background: #fff; padding: 14px 18px; border-radius: var(--r); } .sitem b { color: var(--ink); } .sitem small { color: var(--muted); display: block; }
.cookie { position: fixed; left: 20px; bottom: 20px; z-index: 90; max-width: 400px; background: #fff; border-radius: 24px; padding: 22px; box-shadow: var(--sh-3); display: none; } .cookie.show { display: block; animation: pop .5s var(--ease); } .cookie p { font-size: 14px; color: var(--muted); margin-bottom: 14px; } .cookie div { display: flex; gap: 8px; }
.print-only { display: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .nav { display: none; } .burger { display: inline-grid; }
  .search-pill .kbd, .search-pill span.t { display: none; } .search-pill { padding: 0; width: 42px; justify-content: center; }
  .cats { grid-template-columns: repeat(3, 1fr); }
  .ftr__top { grid-template-columns: repeat(3, 1fr); } .ftr__top > div:first-child { grid-column: 1 / -1; }
  .playout { grid-template-columns: 1fr; } .side { position: static; }
  .sm-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 980px) {
  .hero__grid { grid-template-columns: 1fr; } .mosaic { height: 460px; } .float--1 { left: 10px; }
  .lgrid, .ngrid, .jgrid, .cards3 { grid-template-columns: repeat(2, 1fr); }
  .bento { grid-template-columns: repeat(2, 1fr); } .how { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 30px 0; } .stat:nth-child(3) { border: 0; padding-left: 0; }
  .cta { grid-template-columns: 1fr; } .cta__btns { justify-content: flex-start; }
  .tool, .split, .phead--split, .jfeat, .dev, .dev:nth-child(even), .nlayout, .msplit, .fp { grid-template-columns: 1fr; }
  .dev:nth-child(even) .dev__img { order: 0; } .dev__img, .jfeat__img { min-height: 300px; }
  .mapbox { position: relative; top: 0 !important; height: 520px; } .msplit .lgrid { max-height: none; }
  .kpis, .cards4, .keyfacts, .scores { grid-template-columns: repeat(2, 1fr); }
  .alayout { grid-template-columns: 1fr; } .toc { display: none; }
  .pgal { grid-template-columns: 1fr 1fr; grid-template-rows: 260px 150px 150px; } .pgal button:first-child { grid-column: 1 / 3; grid-row: 1; } .pgal button:nth-child(n+4) { display: none; }
  .is-list .lcard { flex-direction: column; } .is-list .lcard__img { width: 100%; min-height: 0; aspect-ratio: 4/3; }
}
@media (max-width: 700px) {
  .container, .container--wide { width: calc(100% - 32px); }
  .sc__row { grid-template-columns: 1fr 1fr; } .sc__f:first-child { grid-column: 1 / -1; } .sc__go { grid-column: 1 / -1; height: 54px; width: 100%; }
  .lgrid, .ngrid, .jgrid, .cards3, .cards2, .form-row, .feat, .topics, .lgrid--2 { grid-template-columns: 1fr; }
  .cats { grid-template-columns: repeat(2, 1fr); } .bento { grid-auto-rows: 200px; } .tile--w2 { grid-column: span 2; }
  .hdr__bar { padding-left: 16px; } .logo { font-size: 22px; margin-right: 0; } .hdr__right .set { display: none; }
  .ftr__top { grid-template-columns: 1fr 1fr; } .ftr { border-radius: 30px 30px 0 0; padding-bottom: 100px; }
  .tabbar { display: flex; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 85; background: rgba(13,18,32,.94); backdrop-filter: blur(14px); border-radius: 999px; padding: 8px; justify-content: space-around; box-shadow: var(--sh-3); }
  .tabbar a, .tabbar button { display: flex; flex-direction: column; align-items: center; gap: 2px; color: #98a2c0; font-size: 11px; font-weight: 700; padding: 6px 14px; border-radius: 99px; position: relative; } .tabbar a.on { color: #fff; background: var(--o); } .tabbar .count-dot { right: 4px; top: 0; border-color: var(--ink); }
  .ctray { bottom: 86px; } .totop { bottom: 90px; } .toasts { bottom: 90px; }
  .phd__price { text-align: left; } .phd__acts { justify-content: flex-start; }
  .fbar { top: 84px; border-radius: 22px; } .fbar__right { margin-left: 0; width: 100%; justify-content: space-between; } .pop { position: fixed; left: 12px; right: 12px; width: auto; top: auto; bottom: 90px; max-height: 70vh; overflow-y: auto; }
  .bar { grid-template-columns: 90px 1fr 70px; } .sm-grid { grid-template-columns: 1fr; } .mega { display: none; }
  .is-list .lcard__img { width: 100%; } .msplit .lcard, .mapcard .lcard { flex-direction: column; } .msplit .lcard__img, .mapcard .lcard__img { width: 100%; }
  .stats { grid-template-columns: 1fr 1fr; } .stat { padding: 0 16px; } .modal__box { padding: 26px; } .cookie { left: 12px; right: 12px; bottom: 90px; max-width: none; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } .rv { opacity: 1; transform: none; } }
@media print { .hdr, .ftr, .tabbar, .totop, .ctray, .subnav, .side, .cookie, .pgal { display: none !important; } body { background: #fff; } .page-top { padding-top: 0; } .print-only { display: block; } .psec { box-shadow: none; border: 1px solid #ddd; } }

/* ---- additions ---- */
[hidden] { display: none !important; }
.pickgrid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.pick { display: flex; align-items: center; gap: 14px; text-align: left; padding: 10px; border-radius: var(--r-md); background: #fff; box-shadow: inset 0 0 0 1.5px var(--line); transition: all .25s var(--ease); position: relative; width: 100%; }
.pick:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.pick img { width: 84px; height: 68px; object-fit: cover; border-radius: 12px; flex: none; }
.pick span { display: grid; gap: 2px; min-width: 0; } .pick b { font-family: var(--display); font-size: 15.5px; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .pick small { color: var(--muted); font-size: 13px; font-weight: 600; }
.pick i { margin-left: auto; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--bg); color: transparent; flex: none; transition: all .25s; }
.pick.sel { box-shadow: inset 0 0 0 2px var(--o); background: var(--o-50); } .pick.sel i { background: var(--o); color: #fff; }
.map .z.dim { fill: #eef0f5; opacity: .75; }
button.bar { width: 100%; text-align: left; border-radius: 10px; padding: 4px 6px; } button.bar:hover { background: var(--bg); }
.icon-btn.on svg { fill: currentColor; }
@media (max-width: 980px) { .hide-sm { display: none !important; } .pickgrid { grid-template-columns: 1fr; } }
@media (max-width: 980px) { .msplit .mapbox { order: -1; height: 420px; min-height: 0; } .msplit .lgrid { max-height: none; } .nlayout .mapbox { order: -1; height: 420px; } }
.playout--sm { grid-template-columns: minmax(0, 1fr) 380px; }
.sm-grid--2 { grid-template-columns: repeat(2, 1fr); margin-top: 20px; }
@media (max-width: 980px) { .playout, .playout--sm { grid-template-columns: minmax(0, 1fr); } .side { position: static; } }
@media (max-width: 700px) { .cards4, .sm-grid--2 { grid-template-columns: 1fr; } .sm-grid { grid-template-columns: 1fr; } }
.tool--cost { grid-template-columns: 1fr 1fr; gap: 22px; }
@media (max-width: 760px) { .tool--cost { grid-template-columns: minmax(0, 1fr); } }
.nlayout--a { grid-template-columns: 1fr 1.25fr; } .nlayout--b { grid-template-columns: 1.15fr 1fr; } .ngrid--2 { grid-template-columns: 1fr 1fr; }
@media (max-width: 980px) { .nlayout--a, .nlayout--b { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 700px) { .ngrid--2 { grid-template-columns: minmax(0, 1fr); } }
.playout > *, .tool > *, .nlayout > *, .msplit > *, .split > * { min-width: 0; }
.seg { max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.side { grid-template-columns: minmax(0, 1fr); }
.phd__acts { flex-wrap: wrap; } .phd > * { min-width: 0; max-width: 100%; }

/* simplified hero search */
.sc { max-width: 600px; }
.sc__row { grid-template-columns: 1fr auto; align-items: center; padding: 6px; gap: 6px; }
.sc__f { flex-direction: row; align-items: center; gap: 12px; padding: 0 16px; min-height: 56px; }
.sc__f .i { color: var(--muted); flex: none; }
.sc__f input { font-size: 16px; }
.sc__go { width: auto; height: 56px; padding: 0 26px; display: inline-flex; gap: 10px; align-items: center; font-weight: 800; font-size: 15.5px; }
.sc__go .i { width: 20px; height: 20px; }
@media (max-width: 700px) { .sc__row { grid-template-columns: 1fr; } .sc__f:first-child { grid-column: auto; } .sc__go { grid-column: auto; width: 100%; justify-content: center; } }
