/* =========================================================
   SellorBuy Real Estate — design system
   Ivory · charcoal · stone · burnished amber (from the logo)
   Display: Instrument Serif  ·  Text: Inter Tight
   ========================================================= */
:root {
  --ivory: #F6F1E8; --paper: #FBF8F2; --stone: #E9E1D4; --stone-2: #D6DAEA; --stone-3: #B9AB96;
  --taupe: #625A4E; --ink: #1D1B18; --ink-2: #2E2B26; --char: #161513;
  --amber: #C9A13B; --accent: #1D4ED8; --accent-2: #86621A; --accent-soft: #E8EEFF;
  --ok: #2E6B45; --err: #A3261B; --focus: #1F5FBF;
  --line: rgba(14, 22, 40, .14); --line-2: rgba(14, 22, 40, .24);
  --serif: "Instrument Serif", "Times New Roman", serif;
  --sans: "Inter Tight", "Helvetica Neue", Arial, sans-serif;
  --gut: clamp(20px, 4.2vw, 64px); --max: 1440px;
  --r: 2px; --ease: cubic-bezier(.2, .7, .1, 1); --ease-out: cubic-bezier(.16, 1, .3, 1);
  --hdr: 76px;
  --t-label: .72rem; --t-sm: .875rem; --t-body: 1.0625rem; --t-lead: clamp(1.15rem, 1.6vw, 1.35rem);
  --t-d4: clamp(1.5rem, 2.1vw, 2rem); --t-d3: clamp(1.9rem, 3vw, 2.75rem); --t-d2: clamp(2.5rem, 4.8vw, 4.5rem); --t-d1: clamp(3rem, 7vw, 7rem); --t-hero: clamp(3.2rem, 8.6vw, 9.25rem);
}
*, *::before, *::after { box-sizing: border-box }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--hdr) + 16px) }
body { margin: 0; background: var(--ivory); color: var(--ink); font: 400 var(--t-body)/1.65 var(--sans); font-feature-settings: "ss01", "cv11"; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; overflow-x: clip }
html { overflow-x: clip }
img { max-width: 100%; display: block; height: auto }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .2em }
button, input, select, textarea { font: inherit; color: inherit }
button { cursor: pointer }
h1, h2, h3, h4 { margin: 0; font-weight: 400 }
p { margin: 0 0 1em }
ul { margin: 0; padding: 0 }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px }
main:focus, main:focus-visible { outline: none }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap }
.skip { position: fixed; left: 12px; top: -60px; z-index: 200; background: var(--ink); color: var(--paper); padding: 10px 16px; transition: top .2s }
.skip:focus { top: 12px }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gut) }
.num { font-variant-numeric: tabular-nums lining-nums }

/* ---------- type ---------- */
.serif { font-family: var(--serif); font-weight: 400; letter-spacing: -.01em }
.d-hero { font: 400 var(--t-hero)/.92 var(--serif); letter-spacing: -.025em }
.d1 { font: 400 var(--t-d1)/.95 var(--serif); letter-spacing: -.022em }
.d2 { font: 400 var(--t-d2)/1 var(--serif); letter-spacing: -.018em }
.d3 { font: 400 var(--t-d3)/1.06 var(--serif); letter-spacing: -.01em }
.d4 { font: 400 var(--t-d4)/1.15 var(--serif) }
em, .em { font-style: italic }
.d-hero em, .d1 em, .d2 em, .d3 em { color: var(--accent) }
.on-dark .d-hero em, .on-dark .d1 em, .on-dark .d2 em, .on-dark .d3 em, .hero .d-hero em { color: var(--lime) }
.lead { font-size: var(--t-lead); line-height: 1.55; color: var(--ink-2); max-width: 46ch }
.label { display: inline-flex; align-items: center; gap: .7em; font: 600 var(--t-label)/1.2 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--taupe) }
.label::before { content: ""; width: 26px; height: 1px; background: currentColor; opacity: .7 }
.label.plain::before { display: none }
.label.acc { color: var(--accent) }
.small { font-size: var(--t-sm) }
.muted { color: var(--taupe) }
.prose { max-width: 66ch }
.prose p { margin-bottom: 1.1em }
.prose h2 { font: 400 var(--t-d4)/1.2 var(--serif); margin: 1.6em 0 .5em }

/* ---------- buttons ---------- */
.btn { --bg: var(--ink); --fg: var(--paper); display: inline-flex; align-items: center; justify-content: center; gap: .6em; min-height: 52px; padding: 0 1.6em; border: 1px solid var(--bg); background: var(--bg); color: var(--fg); font: 600 .82rem/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; text-decoration: none; border-radius: var(--r); transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease); white-space: nowrap }
.btn:hover { --bg: var(--accent); border-color: var(--accent) }
.btn.acc { --bg: var(--accent) } .btn.acc:hover { --bg: var(--ink); border-color: var(--ink) }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--line-2) }
.btn.ghost:hover { border-color: var(--ink); background: var(--ink); color: var(--paper) }
.btn.light { --bg: var(--paper); --fg: var(--ink) } .btn.light:hover { --bg: var(--amber); --fg: var(--ink); border-color: var(--amber) }
.btn.ghost-light { background: transparent; color: var(--paper); border-color: rgba(248, 249, 253, .5) }
.btn.ghost-light:hover { background: var(--paper); color: var(--ink); border-color: var(--paper) }
.btn.sm { min-height: 40px; padding: 0 1.1em; font-size: .74rem }
.btn.block { width: 100% }
.btn svg { width: 16px; height: 16px; flex: none }
.btn .arr { transition: transform .35s var(--ease) }
.btn:hover .arr, .link:hover .arr { transform: translateX(4px) }
.link { display: inline-flex; align-items: center; gap: .5em; font: 600 .8rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; text-decoration: none; padding: 6px 0; border-bottom: 1px solid currentColor }
.link .arr { width: 14px; height: 14px; transition: transform .35s var(--ease) }
.btnrow { display: flex; flex-wrap: wrap; gap: 12px }

/* ---------- header ---------- */
.hdr { position: fixed; inset: 0 0 auto; z-index: 90; height: var(--hdr); transition: background-color .4s var(--ease), box-shadow .4s var(--ease), color .4s var(--ease), transform .4s var(--ease) }
.hdr-in { height: 100%; display: flex; align-items: center; gap: 28px }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; flex: none }
.brand img { height: 44px; width: auto }
.brand .bm { height: 40px }
.brand-t { display: flex; flex-direction: column; line-height: 1 }
.brand-t b { font: 600 1.02rem/1 var(--sans); letter-spacing: .16em }
.brand-t b i { font-style: normal; color: var(--amber) }
.brand-t small { font: 500 .62rem/1 var(--sans); letter-spacing: .26em; text-transform: uppercase; margin-top: 6px; opacity: .75 }
.nav { display: flex; gap: clamp(14px, 1.7vw, 28px); margin-left: auto }
.nav a { position: relative; text-decoration: none; font: 500 .9rem/1 var(--sans); padding: 10px 0 }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease) }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left }
.hdr-act { display: flex; align-items: center; gap: 10px }
.lang { display: inline-flex; align-items: center; height: 38px; border: 1px solid currentColor; border-radius: 40px; padding: 3px; font: 600 .72rem/1 var(--sans); letter-spacing: .12em; text-decoration: none; opacity: .92 }
.lang span { padding: 8px 10px; border-radius: 30px; transition: background-color .3s, color .3s }
.lang .on { background: currentColor }
.lang .on b { color: var(--ink); font-weight: 700 }
.hdr.solid .lang .on b { color: var(--paper) }
.lang:hover { opacity: 1 }
.savedlink { position: relative; display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; text-decoration: none }
.savedlink svg { width: 20px; height: 20px }
.savedlink .ct { position: absolute; top: 2px; right: 0; min-width: 18px; height: 18px; border-radius: 9px; background: var(--accent); color: #fff; font: 700 .64rem/18px var(--sans); text-align: center; padding: 0 4px }
.burger { display: none; width: 44px; height: 44px; border: 0; background: none; padding: 10px; color: inherit }
.burger span { display: block; height: 1.5px; background: currentColor; margin: 6px 0; transition: transform .35s var(--ease), opacity .2s }
.hdr.over { color: var(--paper) }
.hdr.over .brand-t small { opacity: .85 }
.hdr.solid { background: rgba(246, 241, 232, .94); color: var(--ink); box-shadow: 0 1px 0 var(--line); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px) }
.hdr.hide { transform: translateY(-100%) }
.hdr-book { display: inline-flex }
@media (max-width: 1180px) { .hdr-book { display: none } }
@media (max-width: 1020px) { .nav { display: none } .burger { display: block } .hdr-act { margin-left: auto } }
@media (max-width: 420px) { .brand-t small { display: none } .brand img { height: 38px } }

/* drawer */
.drawer { position: fixed; inset: 0; z-index: 120; background: var(--char); color: var(--paper); display: flex; flex-direction: column; padding: 20px var(--gut) 28px; transform: translateY(-102%); transition: transform .6s var(--ease-out); visibility: hidden; overflow-y: auto }
.drawer.open { transform: none; visibility: visible }
.drawer-top { display: flex; align-items: center; justify-content: space-between; height: 48px }
.drawer-close { width: 44px; height: 44px; border: 1px solid rgba(255, 255, 255, .3); border-radius: 50%; background: none; color: inherit; font-size: 20px }
.drawer nav { display: flex; flex-direction: column; margin: 32px 0 }
.drawer nav a { font: 400 clamp(2.2rem, 9vw, 3.4rem)/1.12 var(--serif); text-decoration: none; padding: 4px 0; border-bottom: 1px solid rgba(255, 255, 255, .08); display: flex; justify-content: space-between; align-items: baseline }
.drawer nav a small { font: 500 .7rem/1 var(--sans); letter-spacing: .2em; opacity: .5 }
.drawer .btnrow { margin-top: auto }
.drawer-meta { margin-top: 22px; font-size: .9rem; opacity: .8 }
.drawer-meta a { color: inherit }
body.lock { overflow: hidden }

/* ---------- hero ---------- */
.hero { position: relative; min-height: max(660px, 100svh); color: var(--paper); display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; background: var(--char); isolation: isolate }
.hero-media { position: absolute; inset: 0; z-index: -2 }
.hero-media figure { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity 1.8s var(--ease) }
.hero-media figure.on { opacity: 1 }
.hero-media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); transition: transform 9s linear }
.hero-media figure.on img { transform: scale(1) }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(14, 13, 11, .55) 0%, rgba(14, 13, 11, .08) 28%, rgba(14, 13, 11, .12) 52%, rgba(14, 13, 11, .78) 100%) }
.hero-in { padding-top: calc(var(--hdr) + 40px); padding-bottom: 30px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 22px }
.hero .label { color: rgba(248, 249, 253, .88) }
.hero h1 { max-width: 13ch; text-wrap: balance }
.hero h1 .ln { display: block; overflow: hidden; padding-bottom: .06em }
.hero h1 .ln > span { display: inline-block; transform: translateY(105%); transition: transform 1.1s var(--ease-out) }
.hero.in h1 .ln > span { transform: none }
.hero.in h1 .ln:nth-child(2) > span { transition-delay: .12s }
.hero .sub { max-width: 52ch; font-size: var(--t-lead); line-height: 1.5; color: rgba(248, 249, 253, .9); opacity: 0; transform: translateY(14px); transition: opacity .9s .35s var(--ease), transform .9s .35s var(--ease) }
.hero .btnrow { opacity: 0; transform: translateY(14px); transition: opacity .9s .5s var(--ease), transform .9s .5s var(--ease) }
.hero.in .sub, .hero.in .btnrow { opacity: 1; transform: none }
.hero-dots { position: absolute; right: var(--gut); top: calc(var(--hdr) + 28px); display: flex; gap: 8px; z-index: 2 }
.hero-dots button { width: 34px; height: 24px; border: 0; background: none; padding: 11px 0 }
.hero-dots button span { display: block; height: 2px; background: rgba(255, 255, 255, .35); overflow: hidden }
.hero-dots button span i { display: block; height: 100%; width: 0; background: #fff }
.hero-dots button.on span i { width: 100%; transition: width 6.5s linear }
.hero-cap { position: absolute; right: var(--gut); bottom: 18px; font-size: .7rem; letter-spacing: .08em; opacity: .65; z-index: 2 }

/* search panel */
.qs { background: rgba(248, 249, 253, .97); color: var(--ink); border-radius: var(--r); padding: 18px; display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr .8fr .8fr auto; gap: 0; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .45); margin-bottom: 26px; opacity: 0; transform: translateY(18px); transition: opacity 1s .6s var(--ease), transform 1s .6s var(--ease) }
.hero.in .qs { opacity: 1; transform: none }
.qs .f { display: flex; flex-direction: column; justify-content: center; padding: 6px 16px; border-right: 1px solid var(--line); min-width: 0 }
.qs .f label { font: 600 .66rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--taupe); margin-bottom: 7px }
.qs input, .qs select { border: 0; background: transparent; padding: 4px 0; font-size: 1rem; width: 100%; min-width: 0; appearance: none; -webkit-appearance: none; border-radius: 0 }
.qs select { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%231D1B18' stroke-width='1.3'/%3E%3C/svg%3E") right 2px center no-repeat; padding-right: 16px }
.qs input:focus, .qs select:focus { outline: none }
.qs .f:focus-within { background: var(--ivory) }
.qs .btn { margin-left: 12px; min-height: 56px }
.qs-t { grid-column: 1/-1; display: none }
@media (max-width: 1100px) { .qs { grid-template-columns: 1fr 1fr 1fr; row-gap: 10px } .qs .f { border-right: 0; border-bottom: 1px solid var(--line); padding: 8px 6px } .qs .loc { grid-column: 1/-1 } .qs .btn { grid-column: 1/-1; margin: 6px 0 0 } }
@media (max-width: 600px) { .qs { grid-template-columns: 1fr 1fr; padding: 14px } .qs .f.ptype { grid-column: 1/-1 } }

/* facts strip */
.facts { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line) }
.facts > div { padding: 30px 22px 26px; border-left: 1px solid var(--line) }
.facts > div:first-child { border-left: 0 }
.facts b { display: block; font: 400 clamp(2.6rem, 4.6vw, 4.2rem)/1 var(--serif); letter-spacing: -.02em }
.facts span { display: block; margin-top: 10px; font-size: .9rem; color: var(--taupe); max-width: 18ch }
@media (max-width: 760px) { .facts { grid-template-columns: 1fr 1fr } .facts > div:nth-child(3) { border-left: 0 } .facts > div:nth-child(n+3) { border-top: 1px solid var(--line) } }

/* ---------- sections ---------- */
.sec { padding: clamp(72px, 10vw, 150px) 0 }
.sec.tight { padding: clamp(48px, 6vw, 88px) 0 }
.sec.paper { background: var(--paper) }
.sec.stone { background: var(--stone) }
.sec.dark, .on-dark { background: var(--char); color: var(--paper) }
.on-dark .label { color: rgba(248, 249, 253, .72) }
.on-dark .muted { color: rgba(248, 249, 253, .66) }
.on-dark .lead { color: rgba(248, 249, 253, .86) }
.on-dark a:not(.btn) { color: inherit }
.shead { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; align-items: end; margin-bottom: clamp(36px, 5vw, 72px) }
.shead > .l { grid-column: 1 / span 7 } .shead > .r { grid-column: 9 / span 4 }
.shead h2 { margin-top: 18px; text-wrap: balance }
@media (max-width: 860px) { .shead > .l, .shead > .r { grid-column: 1/-1 } }
.rule { height: 1px; background: var(--line); border: 0; margin: 0 }

/* page head */
.phead { position: relative; padding: calc(var(--hdr) + clamp(48px, 8vw, 120px)) 0 clamp(40px, 6vw, 80px) }
.phead.img { color: var(--paper); min-height: min(78vh, 760px); display: flex; align-items: flex-end; overflow: hidden; background: var(--char); isolation: isolate }
.phead.img .ph-bg { position: absolute; inset: 0; z-index: -2 }
.phead.img .ph-bg img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 2.4s var(--ease-out) }
.phead.img.in .ph-bg img { transform: scale(1) }
.phead.img::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(14, 13, 11, .5), rgba(14, 13, 11, .1) 35%, rgba(14, 13, 11, .72)) }
.phead.img .label { color: rgba(248, 249, 253, .85) }
.phead h1 { margin-top: 20px; max-width: 14ch; text-wrap: balance }
.phead .lead { margin-top: 26px }
.phead.img .lead { color: rgba(248, 249, 253, .9) }
.crumbs { display: flex; gap: 10px; font-size: .8rem; color: var(--taupe); margin-bottom: 18px }
.crumbs a { text-decoration: none } .crumbs a:hover { text-decoration: underline }
.phead.img .crumbs { color: rgba(248, 249, 253, .8) }

/* split / editorial */
.split { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); align-items: center }
.split .media { grid-column: 1 / span 6 } .split .copy { grid-column: 8 / span 5 }
.split.rev .media { grid-column: 7 / span 6; order: 2 } .split.rev .copy { grid-column: 1 / span 5 }
@media (max-width: 900px) { .split > *, .split .media, .split .copy, .split.rev .media, .split.rev .copy, .meet > * { grid-column: 1/-1 !important; order: 0 } }
.frame { position: relative; overflow: hidden; background: var(--stone) }
.frame img { width: 100%; height: 100%; object-fit: cover }
.frame.r45 { aspect-ratio: 4/5 } .frame.r32 { aspect-ratio: 3/2 } .frame.r169 { aspect-ratio: 16/9 } .frame.r11 { aspect-ratio: 1 } .frame.r34 { aspect-ratio: 3/4 } .frame.r219 { aspect-ratio: 21/9 }
.cap { margin-top: 10px; font-size: .74rem; color: var(--taupe); letter-spacing: .02em }
.on-dark .cap { color: rgba(248, 249, 253, .55) }

/* reveal */
.rv { transition: opacity 1s var(--ease), transform 1.1s var(--ease-out); transition-delay: var(--d, 0s) }
.rv.pre { opacity: 0; transform: translateY(26px) }
.reveal-img { transition: clip-path 1.4s var(--ease-out) }
.reveal-img img { transition: transform 1.8s var(--ease-out) }
.reveal-img.pre { clip-path: inset(12% 0 0 0) }
.reveal-img.pre img { transform: scale(1.12) }
.zoom img { transition: transform 1.2s var(--ease-out) }
.zoom:hover img { transform: scale(1.04) }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition-duration: .001ms !important; animation-duration: .001ms !important } .rv, .reveal-img, .reveal-img img, .hero h1 .ln > span, .hero .sub, .hero .btnrow, .qs { opacity: 1 !important; transform: none !important; clip-path: none !important } }

/* ---------- listing card ---------- */
.grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 2.2vw, 32px) }
.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(18px, 2.2vw, 32px) }
@media (max-width: 1020px) { .grid3 { grid-template-columns: 1fr 1fr } }
@media (max-width: 640px) { .grid3, .grid2 { grid-template-columns: 1fr } }
.lcard { position: relative; display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line); transition: border-color .4s var(--ease), box-shadow .5s var(--ease), transform .5s var(--ease) }
.lcard:hover { border-color: var(--line-2); box-shadow: 0 26px 50px -34px rgba(14, 22, 40, .45); transform: translateY(-3px) }
.lcard .lc-img { position: relative; aspect-ratio: 4/3; overflow: hidden; background: var(--stone) }
.lcard .lc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out), opacity .6s }
.lcard:hover .lc-img img { transform: scale(1.045) }
.lcard .lc-img img.alt { position: absolute; inset: 0; opacity: 0 }
.lcard:hover .lc-img img.alt { opacity: 1 }
.lc-link { position: absolute; inset: 0; z-index: 1 }
.lc-link:focus-visible { outline-offset: -4px }
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; font: 700 .64rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; background: var(--paper); color: var(--ink); border-radius: 30px }
.badge.demo { background: var(--gold-soft); color: #5E4510; border: 1px dashed #C9A13B }
.badge.dark { background: var(--ink); color: var(--paper) }
.lc-badges { position: absolute; left: 12px; top: 12px; z-index: 2; display: flex; gap: 6px; flex-wrap: wrap; pointer-events: none }
.lc-tools { position: absolute; right: 10px; top: 10px; z-index: 2; display: flex; gap: 8px }
.ibtn { width: 42px; height: 42px; display: inline-grid; place-items: center; border-radius: 50%; border: 0; background: rgba(248, 249, 253, .94); color: var(--ink); box-shadow: 0 6px 18px -8px rgba(0, 0, 0, .35); transition: transform .25s var(--ease), background-color .25s }
.ibtn:hover { transform: scale(1.06) }
.ibtn svg { width: 19px; height: 19px }
.ibtn[aria-pressed="true"] { background: var(--accent); color: #fff }
.ibtn.heart[aria-pressed="true"] svg path { fill: currentColor }
.lc-body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1 }
.lc-price { font: 400 1.9rem/1 var(--serif); letter-spacing: -.01em }
.lc-title { font-size: .95rem; color: var(--ink-2); line-height: 1.4 }
.lc-loc { font-size: .82rem; color: var(--taupe) }
.specs { display: flex; flex-wrap: wrap; gap: 0; margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line) }
.specs span { font-size: .84rem; padding-right: 14px; margin-right: 14px; border-right: 1px solid var(--line) }
.specs span:last-child { border-right: 0; margin-right: 0; padding-right: 0 }
.specs b { font-weight: 600; font-variant-numeric: tabular-nums }
.lc-cmp { display: flex; align-items: center; gap: 8px; font-size: .8rem; color: var(--taupe); position: relative; z-index: 2; margin-top: 6px; cursor: pointer; width: max-content }
.lc-cmp input { width: 16px; height: 16px; accent-color: var(--accent) }

/* feature row (home) */
.feat { display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(18px, 2.2vw, 32px) }
.feat .stack { display: grid; gap: clamp(18px, 2.2vw, 32px) }
.feat .lcard.big .lc-img { aspect-ratio: 5/4 }
.feat .stack .lcard { flex-direction: row } .feat .stack .lcard .lc-img { aspect-ratio: auto; width: 46%; flex: none }
@media (max-width: 900px) { .feat { grid-template-columns: 1fr } .feat .stack .lcard { flex-direction: column } .feat .stack .lcard .lc-img { width: 100%; aspect-ratio: 4/3 } }
.demo-note { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border: 1px dashed #C9A13B; background: var(--gold-soft); color: #5E4510; font-size: .88rem; line-height: 1.5; margin-bottom: 26px }
.demo-note svg { width: 18px; height: 18px; flex: none; margin-top: 2px }

/* ---------- meet / broker ---------- */
.meet { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(20px, 3vw, 48px); align-items: start }
.meet .portrait { grid-column: 1 / span 5; position: relative }
.meet .portrait .frame { aspect-ratio: 4/5 }
.meet .portrait .sig { position: absolute; right: -18px; bottom: 28px; background: var(--paper); padding: 16px 18px; box-shadow: 0 20px 40px -24px rgba(0, 0, 0, .35); max-width: 260px }
.meet .portrait .sig b { display: block; font: 400 1.5rem/1.1 var(--serif) }
.meet .portrait .sig span { font-size: .78rem; color: var(--taupe) }
.meet .copy { grid-column: 7 / span 6; padding-top: clamp(0px, 4vw, 60px) }
.meet blockquote { margin: 34px 0; padding-left: 22px; border-left: 2px solid var(--amber); font: 400 clamp(1.5rem, 2.4vw, 2.1rem)/1.25 var(--serif); font-style: italic }
.ticks { list-style: none; display: grid; gap: 0; border-top: 1px solid var(--line); margin: 26px 0 30px }
.ticks li { display: flex; gap: 14px; align-items: baseline; padding: 14px 0; border-bottom: 1px solid var(--line) }
.ticks li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--amber); flex: none; transform: translateY(-2px) }
@media (max-width: 900px) { .meet .portrait, .meet .copy { grid-column: 1/-1 } .meet .portrait .sig { right: 12px } }

/* ---------- 90 days ---------- */
.ninety { position: relative; overflow: hidden }
.ninety-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(20px, 3vw, 48px) }
.ninety-grid .copy { grid-column: 1 / span 6 } .ninety-grid .photos { grid-column: 8 / span 5; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-content: start }
.ninety-grid .photos .frame:first-child { grid-row: span 2; aspect-ratio: auto; height: 100% }
.ninety-big { font: 400 clamp(6rem, 16vw, 15rem)/.8 var(--serif); letter-spacing: -.05em; color: var(--amber); display: block; margin-bottom: 8px }
.steps3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 44px; border-top: 1px solid rgba(255, 255, 255, .16) }
.steps3 > div { padding: 22px 22px 0 0 }
.steps3 b { display: block; font: 600 .68rem/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--lime); margin-bottom: 10px }
.steps3 p { margin: 0; color: rgba(248, 249, 253, .82); font-size: .95rem }
@media (max-width: 900px) { .ninety-grid .copy, .ninety-grid .photos { grid-column: 1/-1 } .steps3 { grid-template-columns: 1fr } .steps3 > div { padding: 18px 0; border-bottom: 1px solid rgba(255, 255, 255, .12) } }

/* ---------- services list ---------- */
.svc { list-style: none; border-top: 1px solid var(--line) }
.svc li { border-bottom: 1px solid var(--line) }
.svc a { display: grid; grid-template-columns: 70px minmax(0, 1fr) minmax(0, 1.2fr) 40px; gap: 24px; align-items: baseline; padding: 28px 0; text-decoration: none; transition: background-color .4s var(--ease), padding .4s var(--ease) }
.svc a:hover { background: var(--paper); padding-left: 16px; padding-right: 16px }
.svc .n { font: 500 .8rem/1 var(--sans); color: var(--taupe); font-variant-numeric: tabular-nums }
.svc h3 { font: 400 var(--t-d4)/1.1 var(--serif) }
.svc p { margin: 0; color: var(--ink-2); font-size: .98rem }
.svc .arr { width: 20px; height: 20px; justify-self: end; transition: transform .4s var(--ease) }
.svc a:hover .arr { transform: translateX(6px) }
@media (max-width: 760px) { .svc a { grid-template-columns: 44px 1fr 24px } .svc p { grid-column: 2 / 3 } }

/* ---------- communities rail ---------- */
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(270px, 26%); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 18px; scrollbar-width: thin; margin-right: calc(-1 * var(--gut)); padding-right: var(--gut) }
.rail > * { scroll-snap-align: start }
.ccard { position: relative; display: block; text-decoration: none; color: var(--paper); aspect-ratio: 3/4; overflow: hidden; background: var(--char) }
.ccard img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease-out) }
.ccard::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(14, 13, 11, .8)) }
.ccard:hover img { transform: scale(1.06) }
.ccard .cc-t { position: absolute; left: 20px; right: 20px; bottom: 20px; z-index: 1 }
.ccard .cc-t small { font: 600 .66rem/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; opacity: .85 }
.ccard .cc-t b { display: block; font: 400 2.1rem/1.05 var(--serif); margin-top: 8px }
.ccard .cc-t span { display: block; font-size: .82rem; opacity: .85; margin-top: 6px }
.rail-nav { display: flex; gap: 8px }
.rail-nav button { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line-2); background: transparent; display: grid; place-items: center }
.rail-nav button:hover { background: var(--ink); color: var(--paper) }
.rail-nav svg { width: 18px; height: 18px }
@media (max-width: 640px) { .rail { grid-auto-columns: 78% } }

/* ---------- reviews ---------- */
.reviews { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(20px, 3vw, 48px) }
.reviews .big { grid-column: 1 / span 7 }
.reviews .side { grid-column: 9 / span 4; display: grid; gap: 28px; align-content: start }
.quote-big { font: 400 clamp(1.8rem, 3.2vw, 3rem)/1.18 var(--serif); letter-spacing: -.01em; text-wrap: pretty }
.quote-big::before { content: "“"; display: block; font: 400 6rem/.6 var(--serif); color: var(--amber); margin-bottom: 18px }
.who { display: flex; align-items: center; gap: 12px; margin-top: 26px; font-size: .9rem }
.who b { font-weight: 600; text-transform: capitalize }
.stars { color: var(--accent-2); letter-spacing: 2px; font-size: .9rem }
.rv-small { padding-top: 20px; border-top: 1px solid var(--line) }
.rv-small p { font: 400 1.25rem/1.35 var(--serif); margin-bottom: 12px }
.rating { display: flex; align-items: center; gap: 16px; padding: 20px; background: var(--paper); border: 1px solid var(--line) }
.rating b { font: 400 3rem/1 var(--serif) }
.rating div { font-size: .85rem; color: var(--taupe) }
.rv-more { margin-top: 10px }
details.rvfull summary { cursor: pointer; font-size: .82rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; list-style: none; margin-top: 14px; color: var(--accent) }
details.rvfull summary::-webkit-details-marker { display: none }
details.rvfull p { font-size: .96rem; white-space: pre-line; margin-top: 14px; color: var(--ink-2) }
@media (max-width: 900px) { .reviews .big, .reviews .side { grid-column: 1/-1 } }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line) }
.faq details { border-bottom: 1px solid var(--line) }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 24px; align-items: center; padding: 24px 0; font: 400 clamp(1.25rem, 1.8vw, 1.6rem)/1.25 var(--serif) }
.faq summary::-webkit-details-marker { display: none }
.faq summary i { flex: none; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line-2); position: relative; transition: transform .4s var(--ease), background-color .3s }
.faq summary i::before, .faq summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; background: currentColor; transform: translate(-50%, -50%) }
.faq summary i::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .4s var(--ease) }
.faq details[open] summary i { background: var(--ink); color: var(--paper) }
.faq details[open] summary i::after { transform: translate(-50%, -50%) rotate(0) }
.faq .a { padding: 0 60px 26px 0; color: var(--ink-2); max-width: 70ch }

/* ---------- forms ---------- */
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 18px }
.form .full { grid-column: 1/-1 }
.form.one { grid-template-columns: 1fr }
.fld { display: flex; flex-direction: column; gap: 7px; min-width: 0 }
.fld > label, .fld > .lbl { font: 600 .74rem/1.2 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2) }
.fld .opt { font-weight: 400; text-transform: none; letter-spacing: 0; color: var(--taupe) }
.fld input, .fld select, .fld textarea { width: 100%; min-height: 52px; padding: 13px 14px; border: 1px solid var(--line-2); background: var(--paper); border-radius: var(--r); font-size: 1rem; transition: border-color .2s, box-shadow .2s; -webkit-appearance: none; appearance: none }
.fld select { background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%231D1B18' stroke-width='1.3'/%3E%3C/svg%3E") right 14px center no-repeat; padding-right: 34px }
.fld textarea { min-height: 130px; resize: vertical; line-height: 1.5 }
.fld input:hover, .fld select:hover, .fld textarea:hover { border-color: var(--ink) }
.fld input:focus, .fld select:focus, .fld textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(31, 95, 191, .22) }
.fld.bad input, .fld.bad select, .fld.bad textarea { border-color: var(--err); box-shadow: 0 0 0 3px rgba(163, 38, 27, .12) }
.fld .err { font-size: .8rem; color: var(--err); display: none }
.fld.bad .err { display: block }
.fld .hint { font-size: .8rem; color: var(--taupe) }
.on-dark .fld > label, .on-dark .fld > .lbl { color: rgba(248, 249, 253, .85) }
.on-dark .fld input, .on-dark .fld select, .on-dark .fld textarea { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .25); color: var(--paper) }
.on-dark .fld select option { color: var(--ink) }
.seg { display: flex; flex-wrap: wrap; gap: 8px; border: 0; padding: 0; margin: 0 }
.seg legend { font: 600 .74rem/1.2 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 9px; padding: 0 }
.seg label { position: relative }
.seg input { position: absolute; opacity: 0; inset: 0; cursor: pointer }
.seg span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border: 1px solid var(--line-2); border-radius: 40px; font-size: .9rem; background: var(--paper); transition: all .2s }
.seg input:checked + span { background: var(--ink); color: var(--paper); border-color: var(--ink) }
.seg input:focus-visible + span { outline: 2px solid var(--focus); outline-offset: 2px }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: .84rem; line-height: 1.5; color: var(--ink-2) }
.check input { width: 20px; height: 20px; margin-top: 2px; flex: none; accent-color: var(--accent) }
.check.bad { color: var(--err) }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0 }
.fstatus { grid-column: 1/-1; padding: 16px 18px; border-left: 3px solid; font-size: .92rem; line-height: 1.5; display: none }
.fstatus b { display: block; margin-bottom: 2px }
.fstatus.show { display: block }
.fstatus.ok { border-color: var(--ok); background: #E8F1EA; color: #1D4A2F }
.fstatus.err { border-color: var(--err); background: #F8E6E3; color: #6E1A12 }
.fstatus.pv { border-color: #C9A13B; background: var(--gold-soft); color: #5E4510 }
.form .btn[disabled] { opacity: .6; cursor: progress }
@media (max-width: 640px) { .form { grid-template-columns: 1fr } }
.formcard { background: var(--paper); border: 1px solid var(--line); padding: clamp(22px, 3vw, 40px) }
.on-dark .formcard { background: rgba(255, 255, 255, .04); border-color: rgba(255, 255, 255, .14) }

/* ---------- search page ---------- */
.sbar { position: sticky; top: var(--hdr); z-index: 40; background: rgba(246, 241, 232, .96); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); transition: top .4s var(--ease) }
body.hdr-hidden .sbar { top: 0 }
.sbar-in { display: flex; gap: 10px; align-items: center; padding-top: 12px; padding-bottom: 12px; flex-wrap: wrap }
.sbar .fld { flex-direction: row; align-items: center; gap: 0 }
.sbar .fld input, .sbar .fld select { min-height: 44px; padding: 8px 12px; font-size: .92rem }
.sbar .fld select { padding-right: 30px }
.sbar .loc input { width: 220px }
.sbar .grow { flex: 1 }
.fbtn { display: none }
.chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 0 14px; min-height: 0 }
.chip { display: inline-flex; align-items: center; gap: 8px; min-height: 34px; padding: 0 8px 0 14px; border-radius: 30px; background: var(--ink); color: var(--paper); font-size: .82rem; border: 0 }
.chip i { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .16); font-style: normal; font-size: 13px; line-height: 1 }
.chip:hover i { background: var(--accent) }
.chip.clear { background: transparent; color: var(--ink); text-decoration: underline; padding: 0 6px }
.rhead { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin: 30px 0 22px; flex-wrap: wrap }
.rhead h2 { font: 400 var(--t-d4)/1.1 var(--serif) }
.toggle { display: inline-flex; border: 1px solid var(--line-2); border-radius: 40px; padding: 3px }
.toggle button { min-height: 38px; padding: 0 16px; border: 0; background: none; border-radius: 30px; font-size: .84rem; font-weight: 600; display: inline-flex; gap: 6px; align-items: center }
.toggle button[aria-pressed="true"] { background: var(--ink); color: var(--paper) }
.toggle svg { width: 16px; height: 16px }
.empty { padding: 60px 20px; text-align: center; border: 1px dashed var(--line-2); background: var(--paper) }
.empty h3 { font: 400 var(--t-d4)/1.2 var(--serif); margin-bottom: 8px }
.cmpbar { position: fixed; left: 50%; bottom: 18px; z-index: 70; transform: translate(-50%, 160%); transition: transform .5s var(--ease-out); background: var(--char); color: var(--paper); display: flex; align-items: center; gap: 14px; padding: 10px 10px 10px 20px; border-radius: 60px; box-shadow: 0 20px 40px -16px rgba(0, 0, 0, .5); max-width: calc(100vw - 24px) }
.cmpbar { visibility: hidden }
.cmpbar.show { transform: translate(-50%, 0); visibility: visible }
.cmpbar .thumbs { display: flex; gap: 6px }
.cmpbar .thumbs img { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; border: 2px solid var(--char) }
.cmpbar .btn { min-height: 42px; border-radius: 40px }
.cmpbar .x { background: none; border: 0; color: rgba(255, 255, 255, .75); font-size: .82rem; text-decoration: underline }
body.has-mbar .cmpbar { bottom: 86px }
@media (max-width: 900px) {
  .sbar .fld:not(.loc), .sbar .sortf { display: none }
  .sbar .loc { flex: 1 } .sbar .loc input { width: 100% }
  .fbtn { display: inline-flex }
}
/* filter drawer (mobile) */
.fdrawer { position: fixed; inset: auto 0 0; z-index: 130; background: var(--ivory); max-height: 88vh; display: flex; flex-direction: column; border-radius: 18px 18px 0 0; transform: translateY(105%); transition: transform .5s var(--ease-out); box-shadow: 0 -20px 60px rgba(0, 0, 0, .25); visibility: hidden }
.fdrawer.open { transform: none; visibility: visible }
.fdrawer .fd-h { display: flex; justify-content: space-between; align-items: center; padding: 16px 20px; border-bottom: 1px solid var(--line) }
.fdrawer .fd-h h2 { font: 400 1.6rem/1 var(--serif) }
.fdrawer .fd-b { padding: 20px; overflow-y: auto; display: grid; gap: 22px }
.fdrawer .fd-f { padding: 14px 20px calc(14px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); display: flex; gap: 10px }
.fdrawer .fd-f .btn { flex: 1 }
.scrim { position: fixed; inset: 0; z-index: 125; background: rgba(14, 13, 11, .45); opacity: 0; visibility: hidden; transition: opacity .4s, visibility .4s }
.scrim.show { opacity: 1; visibility: visible }
.range2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px }

/* map */
.mapwrap { position: relative; background: #EFE8DC; border: 1px solid var(--line); overflow: hidden }
.mapwrap svg { display: block; width: 100%; height: auto }
.map-land { fill: #F7F2E9; stroke: #CDBFAA; stroke-width: 1.2 }
.map-sea { fill: #DCE4E3 }
.map-grid line { stroke: rgba(14, 22, 40, .05) }
.map-city { font: 500 11px var(--sans); fill: var(--taupe); letter-spacing: .04em }
.map-county { font: 600 10px var(--sans); fill: rgba(111, 102, 90, .55); letter-spacing: .3em; text-transform: uppercase }
.pin { cursor: pointer }
.pin circle { fill: var(--ink); stroke: var(--paper); stroke-width: 2; transition: r .2s }
.pin text { font: 700 10px var(--sans); fill: var(--paper); pointer-events: none }
.pin rect { fill: var(--ink) }
.pin:hover rect, .pin:focus rect, .pin.on rect { fill: var(--accent) }
.pin:focus { outline: none }
.pin.office circle { fill: var(--amber) }
.map-pop { position: absolute; z-index: 3; width: 260px; background: var(--paper); box-shadow: 0 20px 40px -18px rgba(0, 0, 0, .45); transform: translate(-50%, calc(-100% - 18px)); display: none }
.map-pop.show { display: block }
.map-pop img { aspect-ratio: 16/10; object-fit: cover; width: 100% }
.map-pop .mp-b { padding: 12px 14px }
.map-pop .mp-b b { font: 400 1.4rem/1 var(--serif) }
.map-pop .mp-x { position: absolute; right: 8px; top: 8px; z-index: 2 }
.map-legend { position: absolute; left: 14px; bottom: 12px; font-size: .74rem; color: var(--taupe); background: rgba(247, 242, 233, .85); padding: 4px 8px }

/* compare table */
.cmp { width: 100%; border-collapse: collapse; table-layout: fixed; min-width: 640px }
.cmp-wrap { overflow-x: auto; border: 1px solid var(--line); background: var(--paper) }
.cmp th, .cmp td { padding: 14px 16px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; font-size: .92rem }
.cmp thead th { vertical-align: bottom }
.cmp tbody th { font: 600 .7rem/1.3 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--taupe); width: 160px; position: sticky; left: 0; background: var(--paper) }
.cmp td.best { background: #EEF4EE; font-weight: 600 }
.cmp td.diff { background: #EEF2FF }
.cmp .ch img { aspect-ratio: 4/3; object-fit: cover; width: 100%; margin-bottom: 10px }
.cmp .ch b { font: 400 1.5rem/1 var(--serif); display: block }

/* ---------- property detail ---------- */
.pd-gal { position: relative; display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 8px; height: min(72vh, 680px); margin-top: calc(var(--hdr) + 18px) }
.pd-gal button { position: relative; padding: 0; border: 0; overflow: hidden; background: var(--stone) }
.pd-gal button img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out) }
.pd-gal button:hover img { transform: scale(1.03) }
.pd-gal button:first-child { grid-row: span 2 }
.pd-gal .all { position: absolute; right: 14px; bottom: 14px; z-index: 2 }
.pd-gal .lc-badges { left: 16px; top: 16px }
.pd-swipe { display: none }
@media (max-width: 760px) {
  .pd-gal { display: none }
  .pd-swipe { display: block; position: relative; margin-top: var(--hdr) }
  .pd-swipe .track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none }
  .pd-swipe .track::-webkit-scrollbar { display: none }
  .pd-swipe .track button { flex: 0 0 100%; scroll-snap-align: center; border: 0; padding: 0; background: var(--stone); aspect-ratio: 4/3 }
  .pd-swipe img { width: 100%; height: 100%; object-fit: cover }
  .pd-swipe .count { position: absolute; right: 12px; bottom: 12px; background: rgba(14, 13, 11, .7); color: #fff; font-size: .76rem; padding: 5px 10px; border-radius: 20px }
  .pd-swipe .lc-badges { top: 12px }
}
.pd { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: clamp(28px, 4vw, 72px); padding-top: 40px }
.pd-side { position: relative }
.pd-side .sticky { position: sticky; top: calc(var(--hdr) + 20px); display: grid; gap: 16px }
.pd-price { font: 400 clamp(2.6rem, 5vw, 4.4rem)/1 var(--serif); letter-spacing: -.02em }
.pd-specs { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin: 28px 0 }
.pd-specs div { padding: 18px 16px; border-left: 1px solid var(--line) }
.pd-specs div:first-child { border-left: 0; padding-left: 0 }
.pd-specs b { display: block; font: 400 2.1rem/1 var(--serif) }
.pd-specs span { font: 600 .66rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--taupe) }
.pd h2.sh { font: 400 var(--t-d4)/1.15 var(--serif); margin: 54px 0 18px; padding-top: 24px; border-top: 1px solid var(--line) }
.dl { display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px }
.dl div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: .94rem }
.dl dt { color: var(--taupe) } .dl dd { margin: 0; font-weight: 600; text-align: right; font-variant-numeric: tabular-nums }
.amen { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 28px }
.amen li { display: flex; gap: 10px; align-items: baseline; padding: 8px 0; border-bottom: 1px dotted var(--line-2) }
.amen li::before { content: "—"; color: var(--amber) }
.agent { display: flex; gap: 14px; align-items: center; padding: 18px; background: var(--paper); border: 1px solid var(--line) }
.agent img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; object-position: top }
.agent b { display: block; font: 400 1.35rem/1.1 var(--serif) }
.agent span { font-size: .8rem; color: var(--taupe) }
.fp { background: var(--paper); border: 1px solid var(--line); padding: 20px }
.fp svg { width: 100%; height: auto }
.fp rect { fill: #FBF8F2; stroke: #1D1B18; stroke-width: 2 }
.fp text { font: 600 11px var(--sans); fill: #2E2B26; letter-spacing: .06em }
.fp text.s { font-weight: 400; fill: #6F665A }
@media (max-width: 1020px) { .pd { grid-template-columns: 1fr } .pd-side .sticky { position: static } }
@media (max-width: 640px) { .pd-specs { grid-template-columns: 1fr 1fr } .pd-specs div:nth-child(3) { border-left: 0; padding-left: 0 } .pd-specs div:nth-child(n+3) { border-top: 1px solid var(--line) } .dl, .amen { grid-template-columns: 1fr } }

/* lightbox */
.lb { position: fixed; inset: 0; z-index: 160; background: rgba(12, 11, 10, .96); color: #fff; display: none; flex-direction: column }
.lb.show { display: flex }
.lb-top { display: flex; justify-content: space-between; align-items: center; padding: 14px 18px; font-size: .86rem }
.lb-stage { flex: 1; display: flex; align-items: center; justify-content: center; position: relative; min-height: 0; padding: 0 70px 20px }
.lb-stage img { max-width: 100%; max-height: 100%; object-fit: contain; animation: lbin .5s var(--ease-out) }
@keyframes lbin { from { opacity: 0; transform: scale(.985) } to { opacity: 1; transform: none } }
.lb-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .3); background: rgba(0, 0, 0, .3); color: #fff; display: grid; place-items: center }
.lb-nav.p { left: 12px } .lb-nav.n { right: 12px }
.lb-nav svg { width: 20px; height: 20px }
.lb .x { width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .3); background: none; color: #fff; font-size: 20px }
@media (max-width: 640px) { .lb-stage { padding: 0 0 20px } .lb-nav { width: 44px; height: 44px } }

/* ---------- calculator ---------- */
.calc { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 0; border: 1px solid var(--line); background: var(--paper) }
.calc .ins { padding: clamp(20px, 3vw, 36px); display: grid; gap: 18px }
.calc .out { padding: clamp(20px, 3vw, 36px); background: var(--char); color: var(--paper); display: flex; flex-direction: column }
.calc .out .tot { font: 400 clamp(3rem, 6vw, 4.8rem)/1 var(--serif); letter-spacing: -.02em; margin: 14px 0 6px }
.calc .bars { display: flex; height: 10px; border-radius: 6px; overflow: hidden; margin: 22px 0 18px; background: rgba(255, 255, 255, .1) }
.calc .bars i { display: block; height: 100%; transition: width .5s var(--ease) }
.calc .legend { display: grid; gap: 10px; font-size: .92rem }
.calc .legend div { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 10px; border-bottom: 1px solid rgba(255, 255, 255, .1) }
.calc .legend span { display: inline-flex; align-items: center; gap: 10px }
.calc .legend span::before { content: ""; width: 10px; height: 10px; border-radius: 2px; background: var(--c) }
.calc .note { margin-top: auto; padding-top: 18px; font-size: .78rem; color: rgba(248, 249, 253, .65); line-height: 1.5 }
.slider { display: grid; gap: 8px }
.slider .top { display: flex; justify-content: space-between; align-items: baseline; gap: 10px }
.slider label { font: 600 .74rem/1.2 var(--sans); letter-spacing: .1em; text-transform: uppercase }
.slider .val { display: flex; align-items: center; gap: 6px }
.slider .val input { width: 128px; text-align: right; border: 1px solid var(--line-2); background: var(--ivory); min-height: 38px; padding: 6px 10px; font-variant-numeric: tabular-nums; border-radius: var(--r) }
.slider .val small { color: var(--taupe); font-size: .8rem }
input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 24px; background: transparent }
input[type=range]::-webkit-slider-runnable-track { height: 3px; background: linear-gradient(to right, var(--ink) var(--p, 50%), var(--stone-2) var(--p, 50%)); border-radius: 2px }
input[type=range]::-moz-range-track { height: 3px; background: var(--stone-2) }
input[type=range]::-moz-range-progress { height: 3px; background: var(--ink) }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 20px; height: 20px; border-radius: 50%; background: var(--paper); border: 2px solid var(--ink); margin-top: -8.5px; box-shadow: 0 2px 6px rgba(0, 0, 0, .2) }
input[type=range]::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: var(--paper); border: 2px solid var(--ink) }
@media (max-width: 860px) { .calc { grid-template-columns: 1fr } }

/* ---------- misc blocks ---------- */
.steps { list-style: none; counter-reset: s; border-top: 1px solid var(--line) }
.steps li { counter-increment: s; display: grid; grid-template-columns: 90px minmax(0, 1fr) minmax(0, 1.4fr); gap: 24px; padding: 30px 0; border-bottom: 1px solid var(--line); align-items: baseline }
.steps li::before { content: counter(s, decimal-leading-zero); font: 400 2.6rem/1 var(--serif); color: var(--accent) }
.steps h3 { font: 400 var(--t-d4)/1.15 var(--serif) }
.steps p { margin: 0; color: var(--ink-2) }
@media (max-width: 760px) { .steps li { grid-template-columns: 54px 1fr } .steps p { grid-column: 2 } .steps li::before { font-size: 2rem } }
.cards4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line) }
.cards4 > div { padding: 28px 24px 30px 0; border-right: 1px solid var(--line); margin-right: 24px }
.cards4 > div:last-child { border-right: 0; margin-right: 0 }
.cards4 h3 { font: 400 1.5rem/1.15 var(--serif); margin: 14px 0 10px }
.cards4 p { margin: 0; font-size: .95rem; color: var(--ink-2) }
.on-dark .cards4 { border-color: rgba(255, 255, 255, .16) } .on-dark .cards4 > div { border-color: rgba(255, 255, 255, .16) } .on-dark .cards4 p { color: rgba(248, 249, 253, .78) }
@media (max-width: 1020px) { .cards4 { grid-template-columns: 1fr 1fr } .cards4 > div:nth-child(2) { border-right: 0; margin-right: 0 } }
@media (max-width: 600px) { .cards4 { grid-template-columns: 1fr } .cards4 > div { border-right: 0; margin-right: 0; border-bottom: 1px solid var(--line); padding-right: 0 } }
.cards3 { grid-template-columns: repeat(3, minmax(0, 1fr)) }
.cards3 > div:nth-child(3) { border-right: 0; margin-right: 0 }
@media (max-width: 1020px) { .cards3 { grid-template-columns: 1fr } .cards3 > div { border-right: 0; margin-right: 0; border-bottom: 1px solid var(--line) } }
.kv { display: grid; gap: 0; border-top: 1px solid var(--line) }
.kv div { display: grid; grid-template-columns: 150px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line) }
.kv dt { font: 600 .7rem/1.5 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--taupe) }
.kv dd { margin: 0 }
.on-dark .kv, .on-dark .kv div { border-color: rgba(255, 255, 255, .14) } .on-dark .kv dt { color: rgba(248, 249, 253, .6) }
.team { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px }
.team .tm img { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; margin-bottom: 16px; filter: grayscale(.15) }
.team .tm b { display: block; font: 400 1.45rem/1.15 var(--serif) }
.team .tm span { display: block; font-size: .82rem; color: var(--taupe); margin: 4px 0 10px }
.team .tm a { font-size: .88rem }
@media (max-width: 900px) { .team { grid-template-columns: 1fr 1fr } }
.timeline { list-style: none; border-left: 1px solid var(--line-2); padding-left: 28px; display: grid; gap: 26px }
.timeline li { position: relative }
.timeline li::before { content: ""; position: absolute; left: -33px; top: 8px; width: 9px; height: 9px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 0 4px var(--ivory) }
.timeline b { display: block; font: 400 1.45rem/1.2 var(--serif) }
.timeline p { margin: 4px 0 0; color: var(--ink-2); font-size: .95rem }
.callout { display: grid; grid-template-columns: auto 1fr auto; gap: 28px; align-items: center; padding: clamp(24px, 3vw, 44px); background: var(--accent-soft); border: 1px solid #C8D6FF }
.callout h3 { font: 400 var(--t-d4)/1.15 var(--serif) }
.callout p { margin: 6px 0 0 }
.callout .big { font: 400 4.6rem/.8 var(--serif); color: var(--accent) }
@media (max-width: 760px) { .callout { grid-template-columns: 1fr } }
.toolcards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px }
.toolcard { display: flex; flex-direction: column; gap: 12px; padding: 28px; background: var(--paper); border: 1px solid var(--line); text-decoration: none; min-height: 240px; transition: background-color .4s var(--ease), color .4s var(--ease) }
.toolcard:hover { background: var(--ink); color: var(--paper) }
.toolcard h3 { font: 400 1.8rem/1.1 var(--serif) }
.toolcard p { margin: 0; font-size: .95rem; opacity: .85 }
.toolcard .link { margin-top: auto; align-self: flex-start }
@media (max-width: 900px) { .toolcards { grid-template-columns: 1fr } }
.article-card { display: grid; grid-template-columns: 1fr 1fr; gap: 0; text-decoration: none; background: var(--paper); border: 1px solid var(--line) }
.article-card .frame { aspect-ratio: auto; min-height: 280px }
.article-card .ac-b { padding: clamp(22px, 3vw, 40px); display: flex; flex-direction: column; gap: 14px }
.article-card h3 { font: 400 var(--t-d3)/1.08 var(--serif) }
.article-card:hover h3 { text-decoration: underline; text-decoration-thickness: 1px }
@media (max-width: 760px) { .article-card { grid-template-columns: 1fr } }
.article { max-width: 760px; margin: 0 auto }
.article ol.big { list-style: none; counter-reset: q; margin: 34px 0 }
.article ol.big li { counter-increment: q; padding: 26px 0; border-top: 1px solid var(--line) }
.article ol.big li h2 { font: 400 1.7rem/1.2 var(--serif); display: flex; gap: 16px }
.article ol.big li h2::before { content: counter(q, decimal-leading-zero); font: 500 .8rem/2.6 var(--sans); color: var(--accent); letter-spacing: .1em }
.article ol.big li p { margin: 10px 0 0 calc(16px + 1.6rem) }
.tip { margin: 30px 0; padding: 22px 24px; background: var(--stone); font: 400 1.4rem/1.35 var(--serif); font-style: italic }
.glossary { display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px }
.glossary div { padding: 18px 0; border-bottom: 1px solid var(--line) }
.glossary dt { font: 400 1.4rem/1.2 var(--serif) }
.glossary dd { margin: 6px 0 0; color: var(--ink-2); font-size: .95rem }
@media (max-width: 760px) { .glossary { grid-template-columns: 1fr } }
.comm-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line) }
.comm-facts div { padding: 22px 18px; border-left: 1px solid var(--line) }
.comm-facts div:first-child { border-left: 0; padding-left: 0 }
.comm-facts b { display: block; font: 400 2.2rem/1 var(--serif); margin-top: 10px; font-variant-numeric: lining-nums }
@media (max-width: 760px) { .comm-facts { grid-template-columns: 1fr 1fr } .comm-facts div:nth-child(3) { border-left: 0; padding-left: 0 } .comm-facts div:nth-child(n+3) { border-top: 1px solid var(--line) } }
.hl { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px }
.hl li { padding: 18px 0; border-bottom: 1px solid var(--line) }
.hl b { display: block; font: 400 1.35rem/1.2 var(--serif); margin-bottom: 4px }
.hl span { color: var(--ink-2); font-size: .95rem }
@media (max-width: 760px) { .hl { grid-template-columns: 1fr } }
.srcs { font-size: .8rem; color: var(--taupe); word-break: break-word }
.srcs a { color: inherit }
.cgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px }
.cgrid .ccard { aspect-ratio: 4/5 }
.cgrid .ccard:nth-child(5n+1) { grid-column: span 2; aspect-ratio: auto; min-height: 420px }
@media (max-width: 900px) { .cgrid { grid-template-columns: 1fr 1fr } .cgrid .ccard:nth-child(5n+1) { grid-column: span 2; aspect-ratio: 16/10 } }
@media (max-width: 560px) { .cgrid { grid-template-columns: 1fr } .cgrid .ccard:nth-child(5n+1) { grid-column: auto; aspect-ratio: 4/5 } }
.visit { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0; border: 1px solid var(--line); background: var(--paper) }
.visit .vb { padding: clamp(24px, 4vw, 56px) }
.visit .mapbox { min-height: 420px; position: relative; background: #EFE8DC }
.visit .mapbox { overflow: hidden }
.visit .mapbox svg { position: absolute; inset: 0; width: 100%; height: 100% }
.visit .mapbox iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(.35) sepia(.12) }
@media (max-width: 860px) { .visit { grid-template-columns: 1fr } .visit .mapbox { min-height: 300px } }
.hours { width: 100%; border-collapse: collapse; font-size: .94rem; margin-top: 8px }
.hours td { padding: 9px 0; border-bottom: 1px solid var(--line) }
.hours td:last-child { text-align: right; font-variant-numeric: tabular-nums }
.hours tr.today td { font-weight: 700 }
.opennow { display: inline-flex; align-items: center; gap: 8px; font-size: .8rem; font-weight: 600 }
.opennow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--c, var(--ok)) }
.live { padding: clamp(22px, 3vw, 36px); border: 1px solid var(--line); background: var(--paper) }
.live .ph { padding: 40px 20px; border: 1px dashed var(--line-2); text-align: center; color: var(--taupe); background: repeating-linear-gradient(45deg, transparent 0 14px, rgba(14, 22, 40, .025) 14px 28px) }
.credits { columns: 2; column-gap: 40px; font-size: .78rem; color: var(--taupe) }
.credits p { break-inside: avoid; margin: 0 0 6px }
@media (max-width: 640px) { .credits { columns: 1 } }
.hsep { display: flex; align-items: center; gap: 18px; margin: 0 0 30px }
.hsep::after { content: ""; flex: 1; height: 1px; background: var(--line) }

/* ---------- footer ---------- */
.ftr { background: var(--char); color: rgba(248, 249, 253, .82); padding: clamp(64px, 8vw, 110px) 0 28px; font-size: .92rem }
.ftr a { color: inherit; text-decoration: none } .ftr a:hover { color: #fff; text-decoration: underline }
.ftr-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 54px; border-bottom: 1px solid rgba(255, 255, 255, .12) }
.ftr h3 { font: 600 .7rem/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: rgba(248, 249, 253, .55); margin-bottom: 18px }
.ftr ul { list-style: none; display: grid; gap: 10px }
.ftr .big { font: 400 clamp(2.2rem, 4vw, 3.6rem)/1 var(--serif); color: var(--paper); margin: 22px 0 18px; max-width: 14ch }
.ftr .big em { color: var(--lime) }
.ftr-mid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; padding: 40px 0; border-bottom: 1px solid rgba(255, 255, 255, .12) }
.ftr .sub { display: flex; gap: 0; max-width: 460px; margin-top: 12px }
.ftr .sub input { flex: 1; min-width: 0; min-height: 52px; padding: 0 16px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .25); border-right: 0; color: #fff; border-radius: var(--r) 0 0 var(--r) }
.ftr .sub .btn { border-radius: 0 var(--r) var(--r) 0 }
.ftr .sub-msg { font-size: .82rem; margin-top: 10px; min-height: 1.2em }
.ftr-bot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 18px; padding-top: 26px; font-size: .78rem; color: rgba(248, 249, 253, .6) }
.ftr-bot p { margin: 0; max-width: 80ch }
.eho { display: inline-flex; align-items: center; gap: 10px }
.eho svg { width: 30px; height: 30px }
.ftr-brand img { height: 66px; width: auto }
@media (max-width: 1020px) { .ftr-top { grid-template-columns: 1fr 1fr } .ftr-mid { grid-template-columns: 1fr } }
@media (max-width: 560px) { .ftr-top { grid-template-columns: 1fr } }

/* mobile action bar */
.mbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 80; display: none; grid-template-columns: 1fr 1fr 1.4fr; gap: 8px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(246, 241, 232, .97); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-top: 1px solid var(--line); transform: translateY(110%); transition: transform .45s var(--ease-out) }
.mbar.show { transform: none }
.mbar .btn { min-height: 50px; padding: 0 10px; font-size: .74rem }
@media (max-width: 760px) { .mbar { display: grid } body.has-mbar .ftr { padding-bottom: 100px } }

/* toast */
.toast { position: fixed; left: 50%; top: calc(var(--hdr) + 12px); transform: translate(-50%, -20px); z-index: 170; background: var(--ink); color: var(--paper); padding: 12px 18px; border-radius: 40px; font-size: .88rem; opacity: 0; transition: opacity .3s, transform .3s; pointer-events: none }
.toast.show { opacity: 1; transform: translate(-50%, 0) }

/* print */
@media print { .hdr, .mbar, .ftr, .cmpbar, .sbar, .drawer { display: none !important } body { background: #fff } .rv { opacity: 1; transform: none } }

/* ---------- small-screen refinements ---------- */
@media (max-width: 1020px) { .hdr-in { gap: 12px } .hdr-act { gap: 6px } }
@media (max-width: 520px) { .brand-t small { display: none } .lang { height: 34px } .lang span { padding: 7px 8px } .savedlink { width: 36px } .burger { width: 40px; padding: 10px 8px } }
@media (max-width: 860px) { .visit { grid-template-columns: minmax(0, 1fr) } }
@media (max-width: 560px) { .kv div { grid-template-columns: 96px minmax(0, 1fr); gap: 12px } }
.team { grid-template-columns: repeat(4, minmax(0, 1fr)) }
@media (max-width: 900px) { .team { grid-template-columns: repeat(2, minmax(0, 1fr)) } }
.team .tm a { overflow-wrap: anywhere }
.agent { flex-wrap: wrap }
@media (max-width: 560px) { .ftr-top, .ftr-mid { grid-template-columns: minmax(0, 1fr) } .ftr .sub .btn { padding: 0 1em } }
@media (max-width: 900px) { .sbar .grow { display: none } }
@media (max-width: 600px) { .hero-dots { display: none } .hero .btnrow .btn { flex: 1 1 auto } }
@media (max-width: 600px) { .hero::after { background: linear-gradient(180deg, rgba(14, 13, 11, .6) 0%, rgba(14, 13, 11, .38) 45%, rgba(14, 13, 11, .82) 100%) } }

/* =========================================================
   v2 · Clean & bright — modern layer (overrides above)
   Sans display (Plus Jakarta Sans) with serif-italic accents,
   rounded surfaces, pill controls, inset hero, app-like mobile bar
   ========================================================= */
:root {
  --ivory: #FAF8F4; --paper: #FFFFFF; --stone: #F3EEE6; --stone-2: #E6DED1; --stone-3: #C9BCA8;
  --ink: #17161A; --ink-2: #3A3732; --char: #141316;
  --line: rgba(14, 22, 40, .09); --line-2: rgba(14, 22, 40, .17);
  --serif: "Plus Jakarta Sans", "Helvetica Neue", Arial, sans-serif;
  --sans: "Plus Jakarta Sans", "Helvetica Neue", Arial, sans-serif;
  --italic: "Instrument Serif", Georgia, "Times New Roman", serif;
  --r: 14px; --r-lg: 20px; --r-xl: 28px;
  --sh-1: 0 1px 2px rgba(14, 22, 40, .04), 0 8px 24px -14px rgba(14, 22, 40, .22);
  --sh-2: 0 2px 4px rgba(14, 22, 40, .04), 0 22px 48px -22px rgba(14, 22, 40, .32);
  --t-hero: clamp(2.6rem, 6.6vw, 6.2rem); --t-d1: clamp(2.3rem, 5vw, 4.6rem); --t-d2: clamp(1.9rem, 3.6vw, 3.3rem); --t-d3: clamp(1.5rem, 2.4vw, 2.2rem); --t-d4: clamp(1.2rem, 1.6vw, 1.45rem);
  --t-body: 1rem;
}
body { font-feature-settings: normal; letter-spacing: -.003em }
.d-hero, .d1, .d2, .d3 { font-weight: 650; letter-spacing: -.04em; line-height: 1.02 }
.d-hero { line-height: .98 }
.d4, .pd h2.sh, .svc h3, .cards4 h3, .toolcard h3, .faq summary, .steps h3, .timeline b, .hl b, .glossary dt, .team .tm b, .agent b, .article-card h3, .article ol.big li h2, .callout h3 { font-weight: 600; letter-spacing: -.02em }
.d-hero em, .d1 em, .d2 em, .d3 em, .d4 em, .ftr .big em, .quote-big em { font-family: var(--italic); font-weight: 400; letter-spacing: -.01em; font-size: 1.08em; line-height: .9 }
.lead { color: var(--ink-2); line-height: 1.6 }
/* eyebrow labels become small pills */
.label { padding: 7px 12px 7px 10px; border-radius: 99px; background: var(--stone); color: var(--ink-2); letter-spacing: .1em; font-size: .66rem; font-weight: 700; gap: 8px }
.label::before { width: 6px; height: 6px; border-radius: 50%; background: var(--amber); opacity: 1 }
.label.acc { background: var(--accent-soft); color: var(--accent) }
.label.plain { padding: 0; background: none }
.label.plain::before { display: none }
.on-dark .label, .hero .label, .phead.img .label { background: rgba(255, 255, 255, .12); color: rgba(255, 255, 255, .92); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px) }
.sec.stone .label, .callout .label { background: rgba(255, 255, 255, .7) }
/* buttons: pills */
.btn { border-radius: 999px; min-height: 50px; padding: 0 1.45em; text-transform: none; letter-spacing: -.005em; font-size: .95rem; font-weight: 600 }
.btn.sm { min-height: 40px; font-size: .86rem; padding: 0 1.1em }
.btn:hover { transform: translateY(-1px) }
.link { text-transform: none; letter-spacing: 0; font-size: .95rem; font-weight: 600; border-bottom-width: 1.5px }
/* header */
.hdr.solid { background: rgba(250, 248, 244, .86); box-shadow: 0 1px 0 var(--line) }
.nav a { padding: 9px 12px; border-radius: 99px; font-weight: 500; transition: background-color .25s }
.nav { gap: 2px }
.nav a::after { display: none }
.nav a:hover { background: rgba(127, 120, 110, .14) }
.nav a[aria-current="page"] { background: var(--ink); color: var(--paper) }
.hdr.over .nav a[aria-current="page"] { background: var(--paper); color: var(--ink) }
.brand-t b { letter-spacing: .12em }
/* inset hero & page heads */
.hero { margin: 10px 10px 0; border-radius: var(--r-xl); min-height: min(94svh, 900px) }
.hero-in { padding-top: calc(var(--hdr) + 36px) }
.phead.img { margin: 10px 10px 0; border-radius: var(--r-xl); min-height: min(70vh, 640px) }
.qs { border-radius: 24px; padding: 10px 10px 10px 8px; box-shadow: 0 30px 60px -28px rgba(0, 0, 0, .5); align-items: center }
.qs .f { border-right: 0; border-radius: 16px; padding: 10px 16px; position: relative }
.qs .f + .f::before { content: ""; position: absolute; left: 0; top: 22%; bottom: 22%; width: 1px; background: var(--line) }
.qs .f:focus-within { background: var(--stone) }
.qs .btn { min-height: 58px; border-radius: 18px }
.qs-more { display: none }
/* surfaces */
.frame, .ccard, .mapwrap, .pd-gal button, .cmp-wrap, .fp, .live .ph, .empty, .demo-note, .tip { border-radius: var(--r-lg) }
.frame, .ccard, .pd-gal button { overflow: hidden }
.lcard { border: 0; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh-1); background: var(--paper) }
.lcard:hover { box-shadow: var(--sh-2); transform: translateY(-4px) }
.lc-body { padding: 18px 20px 20px }
.lc-price { font-weight: 700; font-size: 1.55rem; letter-spacing: -.03em }
.specs { border-top: 0; padding-top: 6px; gap: 6px }
.specs span { border: 0; margin: 0; padding: 6px 10px; border-radius: 99px; background: var(--stone); font-size: .8rem }
.badge { border-radius: 99px; font-weight: 700; letter-spacing: .06em; box-shadow: 0 2px 8px rgba(0, 0, 0, .12) }
.badge.demo { border-style: solid; border-color: #DCC27E }
.demo-note { border-style: solid; border-color: #E3CF96 }
.facts { border: 0; gap: 12px; grid-template-columns: repeat(4, minmax(0, 1fr)) }
.facts > div { border: 0; background: var(--paper); border-radius: var(--r-lg); box-shadow: var(--sh-1); padding: 26px 24px }
.facts b { font-weight: 650; letter-spacing: -.05em; font-size: clamp(2.4rem, 4vw, 3.6rem) }
.facts > div:nth-child(n+3) { border-top: 0 }
.meet .portrait .frame { border-radius: var(--r-xl) }
.meet .portrait .sig { border-radius: var(--r); right: 16px; bottom: 16px }
.meet blockquote { font-family: var(--italic); font-weight: 400; font-size: clamp(1.6rem, 2.6vw, 2.3rem); border-left-width: 3px }
.ticks { border: 0; gap: 8px }
.ticks li { border: 0; background: var(--paper); border-radius: 12px; padding: 12px 16px; box-shadow: var(--sh-1) }
.sec.paper .ticks li { background: var(--ivory) }
.ninety-grid .photos .frame { border-radius: var(--r-lg) }
.ninety-big { font-family: var(--italic); font-weight: 400; letter-spacing: -.04em }
.steps3 { border: 0; gap: 12px }
.steps3 > div { background: rgba(255, 255, 255, .06); border-radius: var(--r-lg); padding: 20px }
/* services become cards */
.svc { border: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px }
.svc li { border: 0 }
.svc a { display: flex; flex-direction: column; gap: 10px; height: 100%; padding: 26px; border-radius: var(--r-lg); background: var(--paper); box-shadow: var(--sh-1); transition: transform .35s var(--ease), box-shadow .35s var(--ease) }
.svc a:hover { padding: 26px; background: var(--paper); transform: translateY(-4px); box-shadow: var(--sh-2) }
.svc .n { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); font-weight: 700 }
.svc .arr { margin-top: auto; justify-self: auto; align-self: flex-start; width: 22px; height: 22px; color: var(--accent) }
@media (max-width: 1020px) { .svc { grid-template-columns: repeat(2, minmax(0, 1fr)) } }
.cards4 { border: 0; gap: 16px }
.cards4 > div { border: 0 !important; margin: 0 !important; padding: 24px !important; background: var(--paper); border-radius: var(--r-lg); box-shadow: var(--sh-1) }
.on-dark .cards4 > div { background: rgba(255, 255, 255, .06); box-shadow: none }
.cards4 h3 { margin-top: 12px }
.steps { border: 0; display: grid; gap: 12px }
.steps li { border: 0; background: var(--paper); border-radius: var(--r-lg); padding: 24px 28px; box-shadow: var(--sh-1); grid-template-columns: 64px minmax(0, 1fr) minmax(0, 1.4fr) }
.sec.paper .steps li, .sec.stone .steps li { background: var(--paper) }
.steps li::before { font-family: var(--italic); font-size: 2.4rem }
.toolcard { border: 0; border-radius: var(--r-lg); box-shadow: var(--sh-1); min-height: 220px }
.toolcard:hover { background: var(--ink) }
.article-card { border: 0; border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--sh-1) }
.article-card .frame { border-radius: 0 }
.formcard { border: 0; border-radius: var(--r-xl); box-shadow: var(--sh-2); background: var(--paper) }
.on-dark .formcard { box-shadow: none }
.fld input, .fld select, .fld textarea { border-radius: 12px; background: var(--paper); border-color: var(--line-2) }
.fld > label, .fld > .lbl, .seg legend, .slider label { text-transform: none; letter-spacing: 0; font-size: .85rem; font-weight: 600 }
details.more { border-radius: 14px; background: var(--ivory); padding: 2px 16px }
details.more > summary { cursor: pointer; list-style: none; padding: 14px 0; font-weight: 600; font-size: .92rem; color: var(--accent); display: flex; align-items: center; gap: 8px }
details.more > summary::-webkit-details-marker { display: none }
details.more > summary::before { content: "+"; display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--accent-soft); font-weight: 700 }
details.more[open] > summary::before { content: "–" }
.more-in { padding: 4px 0 18px }
.calc { border: 0; border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--sh-2) }
.calc .out .tot { font-weight: 650; letter-spacing: -.05em }
.slider .val input { border-radius: 10px }
.calc .fld-sel { border-radius: 12px }
.rating { border: 0; border-radius: var(--r-lg); box-shadow: var(--sh-1) }
.rating b { font-weight: 700; letter-spacing: -.04em }
.rv-small { border-top: 0; background: var(--paper); border-radius: var(--r-lg); padding: 20px; box-shadow: var(--sh-1) }
.rv-small p { font-family: var(--italic); font-size: 1.3rem }
.quote-big { font-weight: 600; letter-spacing: -.03em; font-size: clamp(1.7rem, 3vw, 2.7rem) }
.quote-big::before { font-family: var(--italic) }
.faq { border: 0; display: grid; gap: 10px }
.faq details { border: 0; background: var(--paper); border-radius: 16px; padding: 0 20px; box-shadow: var(--sh-1) }
.faq summary { padding: 20px 0; font-size: clamp(1.02rem, 1.4vw, 1.2rem) }
.faq .a { padding: 0 40px 20px 0 }
.visit { border: 0; border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--sh-2) }
.kv, .kv div { border-color: var(--line) }
.agent { border: 0; border-radius: var(--r-lg); box-shadow: var(--sh-1) }
.live { border: 0; border-radius: var(--r-xl); box-shadow: var(--sh-1) }
.callout { border: 0; border-radius: var(--r-xl) }
.callout .big { font-family: var(--italic) }
.pd-specs { border: 0; gap: 10px }
.pd-specs div { border: 0 !important; padding: 18px !important; background: var(--paper); border-radius: 16px; box-shadow: var(--sh-1) }
.pd-specs b { font-weight: 650; letter-spacing: -.04em }
.pd-price { font-weight: 700; letter-spacing: -.045em }
.pd h2.sh { border-top: 0; padding-top: 0 }
.amen li { border-bottom: 0; background: var(--paper); border-radius: 12px; padding: 12px 14px }
.amen li::before { content: "✓"; color: var(--accent); font-weight: 700 }
.dl div { border-color: var(--line) }
.pd-gal { gap: 10px }
.comm-facts { border: 0; gap: 10px }
.comm-facts div { border: 0 !important; padding: 20px !important; background: var(--paper); border-radius: 16px; box-shadow: var(--sh-1) }
.comm-facts b { font-weight: 650; letter-spacing: -.04em }
.hl { gap: 10px 16px }
.hl li { border: 0; background: var(--paper); border-radius: 16px; padding: 18px 20px; box-shadow: var(--sh-1) }
.glossary { gap: 10px 16px }
.glossary div { border: 0; background: var(--paper); border-radius: 16px; padding: 18px 20px }
.team .tm { background: var(--paper); border-radius: var(--r-lg); padding: 22px; box-shadow: var(--sh-1) }
.team .tm img { width: 88px; height: 88px; filter: none }
.cmp tbody th { background: var(--paper) }
.chip { min-height: 36px }
.toggle { background: var(--paper) }
.sbar { background: rgba(250, 248, 244, .9) }
.sbar .fld input, .sbar .fld select { border-radius: 99px; padding-left: 16px }
.empty { border-style: solid; border-color: var(--line) }
.map-pop { border-radius: 16px; overflow: hidden }
.lb-stage img { border-radius: 12px }
.ccard .cc-t b { font-weight: 650; letter-spacing: -.035em; font-size: 1.8rem }
.ftr { border-radius: var(--r-xl) var(--r-xl) 0 0; margin-top: 10px }
.ftr .big { font-weight: 650; letter-spacing: -.04em }
.ftr .sub input { border-radius: 99px 0 0 99px; padding-left: 20px }
.ftr .sub .btn { border-radius: 0 99px 99px 0 }
.drawer nav a { font-weight: 600; letter-spacing: -.035em; font-size: clamp(1.9rem, 8vw, 2.8rem) }
.cmpbar { border-radius: 99px }
.hsep::after { background: var(--line) }

/* ---------- mobile: app-like bar, swipe rows, shorter pages ---------- */
.mbar { display: none }
.tabbar { display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px }
.tabbar a { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; min-height: 52px; border-radius: 14px; text-decoration: none; font-size: .7rem; font-weight: 600; color: var(--ink-2) }
.tabbar a svg { width: 22px; height: 22px }
.tabbar a[aria-current="page"] { color: var(--accent) }
.tabbar a.book { background: var(--ink); color: var(--paper) }
.tabbar .ct { position: absolute; top: 4px; right: calc(50% - 20px); min-width: 17px; height: 17px; border-radius: 9px; background: var(--accent); color: #fff; font: 700 .62rem/17px var(--sans); font-style: normal; text-align: center; padding: 0 4px }
@media (max-width: 760px) {
  .mbar { display: block; grid-template-columns: none; padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); background: rgba(250, 248, 244, .94); transform: none; box-shadow: 0 -8px 24px -16px rgba(0, 0, 0, .25) }
  body.lock .mbar { transform: translateY(110%) }
  body.has-mbar { padding-bottom: calc(72px + env(safe-area-inset-bottom)) }
  body.has-mbar .ftr { padding-bottom: 28px }
  body.has-mbar .cmpbar { bottom: calc(82px + env(safe-area-inset-bottom)) }
  /* shorter pages */
  .sec { padding: 52px 0 } .sec.tight { padding: 32px 0 }
  .shead { margin-bottom: 24px; gap: 12px } .shead > .r p.muted { display: none }
  .phead { padding: calc(var(--hdr) + 28px) 0 30px }
  .phead.img { min-height: 0; padding-top: calc(var(--hdr) + 110px); margin: 6px 6px 0; border-radius: 22px }
  .phead .lead { margin-top: 14px; font-size: 1.02rem }
  .hero { margin: 6px 6px 0; border-radius: 22px; min-height: 0 }
  .hero-in { padding-top: calc(var(--hdr) + 26px); padding-bottom: 14px; gap: 16px }
  .hero .sub { font-size: 1rem }
  .hero .btnrow .btn:nth-child(3) { display: none }
  /* faster search: one field + button in the hero */
  .qs { grid-template-columns: 1fr auto; border-radius: 18px; padding: 6px; margin-bottom: 14px }
  .qs .f:not(.loc) { display: none }
  .qs .loc { grid-column: auto; border-bottom: 0; padding: 8px 12px }
  .qs .btn { grid-column: auto; margin: 0; min-height: 50px; padding: 0 18px; border-radius: 14px }
  .qs .btn .arr { display: none }
  .qs-more { display: inline-flex; grid-column: 1/-1; align-items: center; gap: 6px; padding: 8px 12px 6px; font-size: .84rem; font-weight: 600; color: var(--accent); text-decoration: none }
  .qs-more svg { width: 16px; height: 16px }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px } .facts > div { padding: 18px } .facts span { font-size: .8rem; margin-top: 6px }
  .lead { font-size: 1rem }
  .meet blockquote { margin: 22px 0 }
  .ticks { margin: 18px 0 22px }
  .steps li { padding: 18px; grid-template-columns: 44px minmax(0, 1fr) } .steps li::before { font-size: 1.8rem }
  .faq summary { padding: 16px 0 }
  .visit .vb { padding: 22px }
  .formcard { padding: 20px; border-radius: 22px }
  .pd-specs { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px } .pd-specs div { padding: 12px 8px !important; text-align: center } .pd-specs b { font-size: 1.4rem } .pd-specs span { font-size: .56rem; letter-spacing: .08em }
  .pd { padding-top: 0 } .pd h2.sh { margin: 34px 0 14px }
  .ninety-big { font-size: 6rem }
  /* swipeable rows */
  .swipe-m { display: flex !important; flex-wrap: nowrap; gap: 12px !important; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 var(--gut); margin: 0 calc(-1 * var(--gut)) !important; padding: 4px var(--gut) 18px !important; scrollbar-width: none; overscroll-behavior-x: contain }
  .swipe-m::-webkit-scrollbar { display: none }
  .swipe-m > * { flex: 0 0 82%; scroll-snap-align: start; min-width: 0; margin: 0 !important }
  .swipe-m.steps3 > *, .swipe-m.cards4 > *, .swipe-m.toolcards > * { flex-basis: 76% }
  .swipe-m.team > * { flex-basis: 62% }
  .feat.swipe-m .stack { display: contents }
  .feat.swipe-m .stack .lcard { flex-direction: column } .feat.swipe-m .stack .lcard .lc-img, .feat .lcard.big .lc-img { width: 100%; aspect-ratio: 4/3 }
  .reviews .side.swipe-m { order: 2 }
  .reviews .big .quote-big { font-size: 1.5rem }
  .svc a { padding: 22px }
  .grid3.swipe-m .lcard { height: auto }
  /* compact footer */
  .ftr { padding-top: 48px; border-radius: 22px 22px 0 0 }
  .ftr .f-explore, .ftr .f-tools { display: none }
  .ftr .big { font-size: 2rem }
  .ftr-top { gap: 26px; padding-bottom: 30px } .ftr-mid { padding: 26px 0; gap: 24px }
}
@media (max-width: 380px) { .tabbar a span { font-size: .64rem } .tabbar a svg { width: 20px; height: 20px } }
.label { width: fit-content; max-width: 100%; justify-self: start; align-self: flex-start }
details.rvfull summary { text-transform: none; letter-spacing: 0; font-size: .88rem }
@media (max-width: 760px) {
  .feat.swipe-m .stack > * { flex: 0 0 82%; scroll-snap-align: start; min-width: 0 }
  .swipe-m { align-items: stretch }
}
@media (max-width: 760px) { .rail-nav { display: none } }

/* =========================================================
   v3 · features: typography effects, motion, ask, quiz, tools
   ========================================================= */
/* hero rotator */
.rot { display: inline-block; white-space: nowrap }
.rot-w { display: inline-block; transition: opacity .38s var(--ease), transform .38s var(--ease), filter .38s var(--ease) }
.rot-w.out { opacity: 0; transform: translateY(-.25em); filter: blur(6px) }
.rot-w i { display: inline-block; font-style: inherit; animation: rotIn .6s var(--ease-out) both; animation-delay: calc(var(--k) * 22ms) }
@keyframes rotIn { from { opacity: 0; transform: translateY(.45em) rotate(4deg); filter: blur(4px) } to { opacity: 1; transform: none; filter: none } }
@media (max-width: 760px) { .rot { white-space: normal } }
/* city marquee */
.mq { overflow: hidden; padding: 26px 0; border-block: 1px solid var(--line); background: var(--ivory); user-select: none }
.mq-track { display: flex; width: max-content; animation: mq 46s linear infinite }
.mq:hover .mq-track, .mq:focus-within .mq-track { animation-play-state: paused }
.mq-row { display: flex; align-items: center; gap: 34px; padding-right: 34px }
.mq a { font: 650 clamp(2.2rem, 5.4vw, 4.6rem)/1 var(--sans); letter-spacing: -.045em; text-decoration: none; color: var(--ink); white-space: nowrap; transition: color .3s }
.mq a.o { color: transparent; -webkit-text-stroke: 1.2px var(--ink); font-family: var(--italic); font-weight: 400; font-style: italic; letter-spacing: -.02em }
.mq a:hover { color: var(--accent); -webkit-text-stroke-color: var(--accent) }
.mq span { color: var(--amber); font-size: 1.4rem }
@keyframes mq { to { transform: translateX(-50%) } }
@media (prefers-reduced-motion: reduce) { .mq-track { animation: none } .mq { overflow-x: auto } }
/* mission pull-quote with highlight sweep */
.mission { background: var(--paper) }
.mission-q { font: 650 clamp(2rem, 4.6vw, 4.2rem)/1.08 var(--sans); letter-spacing: -.04em; max-width: 22ch; margin: 22px 0 18px; text-wrap: balance }
.mission-q mark { background: linear-gradient(transparent 58%, rgba(201, 255, 59, .75) 58%, rgba(201, 255, 59, .75) 92%, transparent 92%) no-repeat 0 0 / 0% 100%; color: inherit; font-family: var(--italic); font-weight: 400; font-style: italic; letter-spacing: -.01em; padding: 0 .06em; transition: background-size 1.1s var(--ease-out) }
.mission-q.lit mark { background-size: 100% 100% }
.mission-q.lit mark:nth-of-type(2) { transition-delay: .25s } .mission-q.lit mark:nth-of-type(3) { transition-delay: .5s }
/* word-by-word heading reveal (only for headings below the fold) */
h2.wsplit .wd { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em }
h2.wsplit .wd > span { display: inline-block; transform: translateY(105%); transition: transform .8s var(--ease-out); transition-delay: calc(var(--k) * 45ms) }
h2.split.lit .wd > span { transform: none }
/* count-up figures keep their width */
[data-count] { font-variant-numeric: tabular-nums }
/* page transition + scroll progress */
main.enter { animation: pgIn .55s var(--ease-out) both }
@keyframes pgIn { from { opacity: 0; transform: translateY(14px) } to { opacity: 1; transform: none } }
.progress { position: fixed; inset: 0 0 auto; height: 3px; z-index: 95; pointer-events: none }
.progress i { display: block; height: 100%; background: linear-gradient(90deg, var(--amber), var(--accent)); transform-origin: 0 50%; transform: scaleX(0) }
/* hover polish */
.link { background: linear-gradient(currentColor, currentColor) no-repeat 0 100% / 100% 1.5px; border-bottom: 0; padding-bottom: 4px; transition: background-size .45s var(--ease) }
.link:hover { background-size: 0% 1.5px; background-position: 100% 100% }
.btn { position: relative; overflow: hidden; isolation: isolate }
.btn::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(120px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, .22), transparent 60%); opacity: 0; transition: opacity .3s }
.btn:hover::after { opacity: 1 }
.ccard .cc-t { transition: transform .5s var(--ease-out) } .ccard:hover .cc-t { transform: translateY(-6px) }
.toolcard h3 { transition: transform .4s var(--ease-out) } .toolcard:hover h3 { transform: translateX(4px) }
.px { overflow: hidden } .px img { transform: scale(1.12); will-change: translate }
/* ask yesica */
.ask-fab { position: fixed; right: max(20px, env(safe-area-inset-right, 0px)); bottom: max(20px, env(safe-area-inset-bottom, 0px)); z-index: 75; display: inline-flex; align-items: center; gap: 10px; min-height: 54px; padding: 0 20px 0 16px; border: 0; border-radius: 99px; background: var(--ink); color: var(--paper); font-weight: 600; font-size: .92rem; box-shadow: 0 18px 40px -16px rgba(0, 0, 0, .55); transition: transform .3s var(--ease), background-color .3s }
.ask-fab:hover { transform: translateY(-2px); background: var(--accent) }
.ask-fab svg { width: 20px; height: 20px }
.ask { position: fixed; right: max(20px, env(safe-area-inset-right, 0px)); bottom: calc(86px + env(safe-area-inset-bottom, 0px)); z-index: 76; width: min(380px, calc(100vw - 32px)); max-height: calc(100vh - 140px); overflow-y: auto; background: var(--paper); border-radius: 24px; box-shadow: 0 30px 70px -24px rgba(0, 0, 0, .45); padding: 18px 20px 20px; animation: askIn .35s var(--ease-out) }
@keyframes askIn { from { opacity: 0; transform: translateY(16px) scale(.98) } to { opacity: 1; transform: none } }
.ask-h { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; margin-bottom: 14px }
.ask-who { display: flex; gap: 12px; align-items: center }
.ask-who img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; object-position: top }
.ask-who b { display: block; font-size: 1.05rem; letter-spacing: -.02em }
.ask-who span { font-size: .76rem; color: var(--taupe) }
.ask-quick { display: flex; gap: 8px; flex-wrap: wrap }
.ask-quick a { display: inline-flex; align-items: center; gap: 6px; padding: 9px 14px; border-radius: 99px; background: var(--stone); text-decoration: none; font-size: .86rem; font-weight: 600 }
.ask-quick svg { width: 16px; height: 16px }
.ask-num { font-size: .8rem; color: var(--taupe); margin: 10px 0 14px; user-select: all }
.ask .form { gap: 12px }
.ask textarea { min-height: 90px }
@media (max-width: 760px) { .ask-fab { display: none } .ask { right: 12px; left: 12px; width: auto; bottom: calc(84px + env(safe-area-inset-bottom, 0px)); max-height: calc(100vh - 120px) } }
/* quiz */
.quiz { background: var(--stone) }
.qz-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 4vw, 64px); align-items: center }
.qz-intro .d2 { margin: 16px 0 14px }
.qz-card { background: var(--paper); border-radius: var(--r-xl); box-shadow: var(--sh-2); padding: clamp(22px, 3vw, 36px); min-height: 360px }
.qz-prog { display: flex; gap: 6px; margin-bottom: 14px }
.qz-prog i { flex: 1; height: 4px; border-radius: 4px; background: var(--stone) }
.qz-prog i.on { background: var(--amber) }
.qz-card .d3 { margin: 6px 0 18px }
.qz-opts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px }
.qz-o { display: flex; justify-content: space-between; align-items: center; gap: 10px; text-align: left; min-height: 58px; padding: 14px 18px; border-radius: 16px; border: 1px solid var(--line-2); background: var(--paper); font-weight: 600; font-size: .95rem; transition: all .25s var(--ease) }
.qz-o .arr { width: 16px; height: 16px; opacity: .4; transition: transform .3s var(--ease), opacity .3s }
.qz-o:hover, .qz-o.on { border-color: var(--ink); background: var(--ink); color: var(--paper) }
.qz-o:hover .arr { opacity: 1; transform: translateX(3px) }
.qz-back, .qz-reset { margin-top: 18px; background: none; border: 0; padding: 4px 0; display: inline-flex; gap: 6px; align-items: center; cursor: pointer }
.qz-back svg { width: 14px; height: 14px }
.qz-res { animation: pgIn .5s var(--ease-out) both }
.qz-res .d3 { margin: 14px 0 10px } .qz-res .lead { margin-bottom: 22px }
@media (max-width: 860px) { .qz-grid { grid-template-columns: 1fr } .qz-card { min-height: 0 } }
@media (max-width: 480px) { .qz-opts { grid-template-columns: 1fr } }
/* tools */
.ttabs { display: flex; gap: 8px; overflow-x: auto; padding: 4px 2px 6px; scrollbar-width: none }
.ttabs::-webkit-scrollbar { display: none }
.ttab { flex: none; min-height: 44px; padding: 0 18px; border-radius: 99px; border: 1px solid var(--line-2); background: var(--paper); font-weight: 600; font-size: .9rem; white-space: nowrap; transition: all .25s }
.ttab[aria-selected="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink) }
.tpanel[hidden] { display: none }
.tchart svg { width: 100%; height: auto; margin: 14px 0 6px }
.tkey { display: flex; gap: 16px; font-size: .8rem; margin-bottom: 14px; opacity: .85 }
.tkey span { display: inline-flex; align-items: center; gap: 6px } .tkey span::before { content: ""; width: 14px; height: 3px; border-radius: 2px; background: var(--c) }
.calc.tool .legend span::before { display: none }
@media (prefers-reduced-motion: reduce) { main.enter, .qz-res, .ask { animation: none } h2.wsplit .wd > span { transform: none } .mission-q mark { background-size: 100% 100% } }
.slider .top { flex-wrap: wrap; row-gap: 6px }
.slider .val small { white-space: nowrap }
@media (max-width: 560px) { .slider .val input { width: 104px } .slider .val small { font-size: .72rem } }

/* =========================================================
   v5 · color: modern blue & gold
   royal blue (≈224°) · navy · gold (≈43°) on cool neutrals
   ========================================================= */
:root {
  --ivory: #F7F8FC; --paper: #FFFFFF; --stone: #EDF0F7; --stone-2: #DDE2EE; --stone-3: #AEB6CB;
  --taupe: #535C72; --ink: #0E1628; --ink-2: #27324A; --char: #0A1733;
  --amber: #C9A13B;         /* gold: dots, rules, small signals */
  --accent: #1D4ED8;        /* modern royal blue: buttons, links, emphasis */
  --accent-2: #86621A;      /* deep gold for small text on white */
  --accent-soft: #E8EEFF;
  --lime: #E6C46A;          /* bright gold: highlights on navy */
  --gold-soft: #FBF4E2;
  --line: rgba(14, 22, 40, .09); --line-2: rgba(14, 22, 40, .17);
}
.btn.acc { --bg: var(--accent) }
.btn.acc:hover { --bg: var(--ink) }
.btn:hover { --bg: var(--accent); border-color: var(--accent) }
.btn.light:hover { --bg: var(--lime); --fg: var(--ink); border-color: var(--lime) }
.on-dark .d-hero em, .on-dark .d1 em, .on-dark .d2 em, .on-dark .d3 em, .hero .d-hero em, .ftr .big em, .phead.img .d1 em { color: var(--lime) }
.d-hero em, .d1 em, .d2 em, .d3 em { color: var(--accent) }
.ninety-big { color: var(--lime) }
.phead .ninety-big { color: var(--accent) }
.steps3 b { color: var(--lime) }
.stars { color: var(--accent-2) }
.label::before { background: var(--amber) }
.label.acc { background: var(--accent-soft); color: var(--accent) }
.svc .n { background: var(--gold-soft); color: var(--accent-2) }
.svc .arr, .amen li::before, details.more > summary, .qs-more { color: var(--accent) }
details.more > summary::before { background: var(--accent-soft) }
.meet blockquote { border-left-color: var(--amber) }
.timeline li::before { background: var(--amber) }
.ticks li::before { background: var(--amber) }
.mq span { color: var(--amber) }
.mq a:hover { color: var(--accent); -webkit-text-stroke-color: var(--accent) }
.qz-prog i.on { background: linear-gradient(90deg, var(--accent), var(--amber)) }
.progress i { background: linear-gradient(90deg, var(--accent), var(--amber)) }
.nav a[aria-current="page"] { background: var(--accent); color: #fff }
.hdr.over .nav a[aria-current="page"] { background: #fff; color: var(--accent) }
.ttab[aria-selected="true"] { background: var(--accent); border-color: var(--accent) }
.toggle button[aria-pressed="true"], .seg input:checked + span { background: var(--accent); border-color: var(--accent) }
.chip { background: var(--accent) }
.chip:hover i { background: var(--char) }
.ibtn[aria-pressed="true"] { background: var(--amber); color: var(--ink) }
.savedlink .ct, .tabbar .ct { background: var(--amber); color: var(--ink) }
.tabbar a[aria-current="page"] { color: var(--accent) }
.tabbar a.book { background: var(--accent) }
.ask-fab { background: var(--accent) } .ask-fab:hover { background: var(--char) }
.callout { background: var(--accent-soft) }
.callout .big { color: var(--accent) }
.cmp td.best { background: var(--gold-soft) }
.pin:hover rect, .pin:focus rect, .pin.on rect { fill: var(--accent) }
.pin.office circle { fill: var(--amber) }
.toolcard:hover { background: var(--accent) }
.quiz { background: linear-gradient(135deg, #E8EEFF 0%, #FBF4E2 100%) }
.qz-o:hover, .qz-o.on { background: var(--accent); border-color: var(--accent) }
.mission { background: var(--paper) }
.mission-q mark { background-image: linear-gradient(transparent 58%, #F1DB9C 58%, #F1DB9C 94%, transparent 94%) }
.ftr { background: var(--char) }
.sec.dark, .on-dark { background: var(--char) }
.calc .out { background: var(--char) }
.facts > div:nth-child(1) b { color: var(--accent) }
.facts > div:nth-child(4) b { color: var(--accent-2) }
.brand-t b i { color: var(--amber) }
:focus-visible { outline-color: var(--accent) }
.svc .n { color: var(--accent-2) }

/* Intro: page shows through a blurred veil with the logo centered, then the blur clears */
.intro { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; cursor: pointer;
  background: rgba(247, 248, 252, .42); -webkit-backdrop-filter: blur(22px) saturate(1.2); backdrop-filter: blur(22px) saturate(1.2);
  transition: background-color .8s ease, -webkit-backdrop-filter .8s ease, backdrop-filter .8s ease, opacity .8s ease;
  animation: introSafe 0s linear 3s forwards }
.intro.out { background: rgba(247, 248, 252, 0); -webkit-backdrop-filter: blur(0) saturate(1); backdrop-filter: blur(0) saturate(1); opacity: 0; pointer-events: none }
@keyframes introSafe { to { visibility: hidden; opacity: 0; pointer-events: none } }
.intro-logo { width: clamp(180px, 26vw, 300px); height: auto; filter: drop-shadow(0 12px 30px rgba(10, 23, 51, .18)); animation: logoIn .7s cubic-bezier(.2, .8, .2, 1) both; transition: transform .8s cubic-bezier(.2, .8, .2, 1), opacity .5s ease }
.intro.out .intro-logo { transform: scale(.94); opacity: 0 }
@keyframes logoIn { from { opacity: 0; transform: scale(.94) } to { opacity: 1; transform: none } }
html.intro-run, html.intro-run body { overflow: hidden }
@media (prefers-reduced-motion: reduce) { .intro { display: none } }
.intro-sub span { opacity: 0; transform: translateY(10px); animation: subIn .6s cubic-bezier(.2, .8, .2, 1) .8s forwards }
@keyframes subIn { to { opacity: 1; transform: none } }
h2.wsplit { text-wrap: wrap }
/* neat section heads: label, heading and intro stacked on one left edge */
.shead { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; margin-bottom: clamp(30px, 4vw, 52px) }
.shead > .l, .shead > .r { max-width: 760px; width: 100% }
.shead h2 { margin-top: 14px }
.shead > .r p.muted { max-width: 62ch; margin: 0 0 6px; font-size: 1.02rem }
.shead > .r .rail-nav { margin-top: 10px !important }
/* reviews: quote + rating on the left, 2×2 review cards on the right */
.reviews { align-items: start }
.reviews .big { grid-column: 1 / span 6 }
.reviews .side { grid-column: 7 / span 6; display: grid; grid-template-columns: 1fr 1fr; gap: 16px }
.reviews .side > p.small { grid-column: 1/-1 }
@media (max-width: 900px) { .reviews .big, .reviews .side { grid-column: 1/-1 } }
/* resource cards: 4 across, 2×2 when narrower */
.toolcards { grid-template-columns: repeat(4, minmax(0, 1fr)) }
@media (max-width: 1100px) { .toolcards { grid-template-columns: repeat(2, minmax(0, 1fr)) } }
/* v5: slightly deeper gold for the wordmark on light headers */
.hdr:not(.over) .brand-t b i { color: #A8822A }
.ftr .hours td { color: rgba(255, 255, 255, .78); border-bottom-color: rgba(255, 255, 255, .1); font-size: .86rem; padding: 7px 0 }
.ftr .hours tr.today td { color: var(--lime) }
/* live MLS widget (RealScout) */
.live.rs { padding: clamp(18px, 2.4vw, 32px) }
.live.rs realscout-office-listings, .live realscout-home-value { display: block; width: 100%; min-height: 240px; --rs-listing-divider-color: var(--stone-2); --rs-as-button-color: #fff; --rs-as-background-color: var(--accent) }
