/* Ostro & Vane — concept demo. Whitewash, cobalt tile, lemon, bougainvillea. */
:root {
  --wall: #F3F6F7;
  --paper: #FFFFFF;
  --ink: #131F4B;
  --ink-2: #47527A;
  --ink-3: #6B7699;
  --line: rgba(19, 31, 75, .12);
  --line-2: rgba(19, 31, 75, .07);
  --cobalt: #1F45D0;
  --cobalt-deep: #16309A;
  --cobalt-wash: #E8EDFC;
  --lemon: #F6D743;
  --lemon-wash: #FDF6CF;
  --bougain: #C8336F;
  --bougain-wash: #FBE7EF;
  --sea: #0C8477;
  --sea-wash: #DDF3EF;
  --night: #0D1638;
  --night-2: #17224F;
  --r-s: 8px;
  --r-m: 14px;
  --r-l: 22px;
  --shadow-1: 0 1px 2px rgba(19, 31, 75, .06), 0 4px 14px rgba(19, 31, 75, .06);
  --shadow-2: 0 2px 4px rgba(19, 31, 75, .06), 0 18px 40px -12px rgba(19, 31, 75, .22);
  --shadow-3: 0 30px 70px -24px rgba(19, 31, 75, .45);
  --ease-out: cubic-bezier(.23, 1, .32, 1);
  --ease-in-out: cubic-bezier(.77, 0, .175, 1);
  --display: 'Red Hat Display', 'Instrument Sans', 'Helvetica Neue', Arial, sans-serif;
  --dw: 700; --dt: -.03em; --dt-s: -.014em;
  --body: 'Instrument Sans', 'Helvetica Neue', Arial, sans-serif;
  --wrap: 1240px;
  --gut: 20px;
  --tile: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48' viewBox='0 0 48 48'%3E%3Crect width='48' height='48' fill='%23fff'/%3E%3Cg fill='none' stroke='%231F45D0' stroke-width='2'%3E%3Cpath d='M24 4 44 24 24 44 4 24Z'/%3E%3Ccircle cx='24' cy='24' r='7'/%3E%3Cpath d='M0 0c8 0 12 4 12 12M48 0c-8 0-12 4-12 12M0 48c8 0 12-4 12-12M48 48c-8 0-12-4-12-12'/%3E%3C/g%3E%3Ccircle cx='24' cy='24' r='2.6' fill='%23F6D743' stroke='%231F45D0' stroke-width='1.4'/%3E%3C/svg%3E");
}
@media (min-width: 760px) { :root { --gut: 32px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--wall); color: var(--ink);
  font: 400 17px/1.6 var(--body); font-feature-settings: 'ss01', 'cv05';
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
img { background: #DCE3EE; }
h1, h2, h3, h4, p, figure, ul, ol, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--cobalt); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--lemon); color: var(--ink); }
.num { font-variant-numeric: tabular-nums; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gut) * 2); margin-inline: auto; padding-inline: var(--gut); }
.display { font-family: var(--display); font-weight: var(--dw); letter-spacing: var(--dt); line-height: 1.04; text-wrap: balance; }
.h1 { font-size: clamp(2.5rem, 9.4vw, 5.4rem); }
.h2 { font-size: clamp(2rem, 6vw, 3.4rem); }
.h3 { font-size: clamp(1.4rem, 3.4vw, 1.9rem); line-height: 1.15; }
.lede { font-size: clamp(1.06rem, 1.6vw, 1.22rem); color: var(--ink-2); max-width: 56ch; text-wrap: pretty; }
.muted { color: var(--ink-2); }
.small { font-size: .9rem; }
.tiny { font-size: .8rem; }
.sec { padding-block: clamp(56px, 9vw, 120px); }
.sec-head { display: grid; gap: 14px; margin-bottom: clamp(28px, 4vw, 48px); }
@media (min-width: 900px) { .sec-head.split { grid-template-columns: 1.1fr 1fr; align-items: end; gap: 48px; } }

/* tile band */
.band { height: 24px; background: var(--tile) center / 24px 24px; border-block: 2px solid var(--cobalt); }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 22px;
  border: 0; border-radius: 12px; background: var(--cobalt); color: #fff; font-weight: 600; font-size: 1rem; text-decoration: none;
  box-shadow: 0 1px 0 rgba(255, 255, 255, .25) inset, 0 8px 20px -8px rgba(31, 69, 208, .7);
  transition: transform 160ms var(--ease-out), background-color 160ms ease, box-shadow 160ms ease;
}
.btn:active { transform: scale(.97); }
.btn.ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn.lemon { background: var(--lemon); color: var(--ink); box-shadow: 0 8px 20px -10px rgba(190, 150, 0, .9); }
.btn.dark { background: var(--ink); box-shadow: none; }
.btn.sm { min-height: 40px; padding: 0 16px; font-size: .92rem; border-radius: 10px; }
.btn[disabled] { opacity: .45; cursor: not-allowed; }
.link { color: var(--cobalt); font-weight: 600; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 4px; }
@media (hover: hover) and (pointer: fine) {
  .btn:hover { background: var(--cobalt-deep); }
  .btn.ghost:hover { background: rgba(19, 31, 75, .05); }
  .btn.lemon:hover { background: #FFE35A; }
  .btn.dark:hover { background: var(--night-2); }
  .link:hover { color: var(--cobalt-deep); }
}

/* plaque: a ceramic street-sign tile */
.plaque {
  display: inline-flex; align-items: baseline; gap: 6px; padding: 5px 10px 4px; background: #fff; color: var(--cobalt);
  border: 2px solid var(--cobalt); border-radius: 5px; box-shadow: inset 0 0 0 2px #fff, inset 0 0 0 3px rgba(31, 69, 208, .45);
  font-family: var(--display); font-weight: var(--dw); letter-spacing: var(--dt-s); font-size: .95rem; line-height: 1; white-space: nowrap;
}
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; font-size: .8rem; font-weight: 600; background: var(--cobalt-wash); color: var(--cobalt-deep); }
.pill.lemon { background: var(--lemon); color: var(--ink); }
.pill.pink { background: var(--bougain-wash); color: #9B1F52; }
.pill.sea { background: var(--sea-wash); color: #07584F; }
.pill.sample { background: transparent; box-shadow: inset 0 0 0 1.5px var(--bougain); color: #9B1F52; }

/* header */
.hdr { position: sticky; top: 0; z-index: 60; background: rgba(243, 246, 247, .82); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: border-color 200ms ease, background-color 200ms ease; min-height: 64px; }
.hdr.is-stuck { border-bottom-color: var(--line); }
.hdr-in { display: flex; align-items: center; gap: 20px; min-height: 64px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--display); font-weight: var(--dw); letter-spacing: var(--dt-s); font-size: 1.32rem; line-height: 1; white-space: nowrap; }
.logo-mark { width: 34px; height: 34px; flex: none; }
.logo-mark .vane { transform-origin: 17px 15px; animation: vane 8s var(--ease-in-out) infinite; }
@keyframes vane { 0%, 55%, 100% { transform: scaleX(1); } 68% { transform: scaleX(.45); } 80% { transform: scaleX(1); } 88% { transform: scaleX(.75); } }
.nav { display: none; margin-left: auto; gap: 4px; align-items: center; }
.nav a { padding: 10px 12px; border-radius: 10px; text-decoration: none; font-size: .95rem; font-weight: 500; color: var(--ink-2); transition: color 150ms ease, background-color 150ms ease; }
.nav a[aria-current="page"] { color: var(--ink); background: rgba(19, 31, 75, .07); }
@media (hover: hover) and (pointer: fine) { .nav a:hover { color: var(--ink); background: rgba(19, 31, 75, .05); } }
.hdr-tools { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.fav-link { position: relative; display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; text-decoration: none; color: var(--ink); }
.fav-link svg { width: 22px; height: 22px; }
.fav-count { position: absolute; top: 3px; right: 1px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--bougain); color: #fff; font-size: .68rem; font-weight: 700; line-height: 18px; text-align: center; transform: scale(.6); opacity: 0; transition: transform 220ms var(--ease-out), opacity 160ms ease; }
.fav-count.on { transform: none; opacity: 1; }
.burger { width: 44px; height: 44px; border: 0; background: transparent; border-radius: 12px; display: inline-flex; flex-direction: column; align-items: center; justify-content: center; }
.burger span { display: block; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform 220ms var(--ease-out), opacity 150ms ease; }
.burger span + span { margin-top: 5px; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.hdr .cta { display: none; }
.sheet { position: fixed; inset: 64px 0 0; z-index: 55; background: var(--wall); padding: 20px var(--gut) 100px; display: grid; align-content: start; gap: 2px; overflow: auto; opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity 180ms ease, transform 240ms var(--ease-out), visibility 0s 240ms; }
.sheet.open { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.sheet a { display: flex; justify-content: space-between; align-items: center; padding: 16px 4px; border-bottom: 1px solid var(--line); text-decoration: none; font-family: var(--display); font-weight: var(--dw); letter-spacing: var(--dt); font-size: 1.6rem; }
.sheet a small { font-family: var(--body); font-size: .85rem; color: var(--ink-3); }
@media (min-width: 1080px) {
  .nav { display: flex; }
  .hdr-tools { margin-left: 8px; }
  .burger, .sheet { display: none; }
  .hdr .cta { display: inline-flex; }
}

/* demo note */
.demo-note { position: fixed; left: 10px; bottom: 10px; z-index: 80; max-width: calc(100vw - 20px); padding: 6px 10px; border-radius: 8px; background: rgba(13, 22, 56, .84); color: #DFE5FA; font-size: .7rem; line-height: 1.35; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.demo-note a { color: var(--lemon); text-underline-offset: 2px; }

/* footer */
.ftr { background: var(--night); color: #C9D2F2; padding: 56px 0 84px; }
.ftr a { color: #fff; text-decoration: none; }
.ftr-grid { display: grid; gap: 36px; }
.ftr h4 { font: 600 .85rem var(--body); color: #8C99C9; margin-bottom: 12px; }
.ftr li + li { margin-top: 8px; }
.ftr .logo { color: #fff; font-size: 1.6rem; }
.ftr-legal { margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .82rem; color: #8C99C9; }
@media (min-width: 800px) { .ftr-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; } }
@media (hover: hover) and (pointer: fine) { .ftr li a:hover { text-decoration: underline; text-underline-offset: 4px; } }

/* ---------- hero ---------- */
.hero { position: relative; padding: clamp(28px, 5vw, 64px) 0 clamp(48px, 7vw, 96px); overflow: clip; }
.hero-grid { display: grid; gap: 40px; align-items: center; }
.hero h1 { margin: 18px 0 20px; font-size: clamp(2rem, 8.5vw, 4.4rem); }
.hero h1 .ln { white-space: nowrap; }
.hero h1 .ln { display: block; overflow: hidden; padding-bottom: .08em; }
.hero h1 .ln > span { display: block; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: .9rem; color: var(--ink-2); }
.dot-live { width: 8px; height: 8px; border-radius: 50%; background: var(--sea); box-shadow: 0 0 0 0 rgba(12, 132, 119, .5); animation: pulse 2.4s ease-out infinite; }
@keyframes pulse { to { box-shadow: 0 0 0 10px rgba(12, 132, 119, 0); } }
.hero-art { position: relative; aspect-ratio: 4 / 4.5; max-width: 520px; width: 100%; margin-inline: auto; }
.sun { position: absolute; width: 46%; aspect-ratio: 1; right: -4%; top: -3%; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #FFF2A0, var(--lemon) 62%); }
.arch { position: absolute; left: 6%; top: 5%; width: 68%; height: 90%; border-radius: 999px 999px var(--r-l) var(--r-l); overflow: hidden; box-shadow: var(--shadow-3); }
.arch img, .hero-sm img { width: 100%; height: 100%; object-fit: cover; }
.hero-sm { position: absolute; right: 0; bottom: 9%; width: 42%; aspect-ratio: 4 / 5; border-radius: var(--r-m); overflow: hidden; border: 5px solid #fff; box-shadow: var(--shadow-2); }
.hero-plaque { position: absolute; left: 0; top: 30%; font-size: 1.15rem; padding: 9px 13px 7px; box-shadow: inset 0 0 0 2px #fff, inset 0 0 0 3px rgba(31, 69, 208, .45), var(--shadow-2); }
.hero-card { position: absolute; left: -2%; bottom: 3%; width: min(250px, 66%); padding: 13px 14px; border-radius: var(--r-m); background: rgba(255, 255, 255, .94); backdrop-filter: blur(10px); box-shadow: var(--shadow-2); font-size: .82rem; line-height: 1.4; }
.hero-card b { display: block; font-size: .9rem; }
.hero-card .row { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; color: var(--sea); font-weight: 600; font-size: .76rem; }
.hero-card .bar { height: 5px; border-radius: 3px; background: var(--cobalt-wash); margin-top: 9px; overflow: hidden; }
.hero-card .bar i { display: block; height: 100%; width: 100%; background: var(--cobalt); transform-origin: left; animation: fill 5s linear infinite; }
@keyframes fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.par { transition: transform 600ms var(--ease-out); will-change: transform; }
@media (min-width: 980px) {
  .hero-grid { grid-template-columns: 1.16fr .84fr; gap: 56px; }
  .hero h1 { font-size: clamp(2.6rem, 4.5vw, 4.25rem); }
  .hero-art { max-width: none; }
}

/* quick search */
.qs { display: grid; gap: 10px; margin-top: 28px; padding: 12px; background: var(--paper); border-radius: var(--r-l); box-shadow: var(--shadow-2); }
.qs label { display: grid; gap: 2px; padding: 6px 12px; border-radius: 12px; background: var(--wall); }
.qs label span { font-size: .74rem; font-weight: 600; color: var(--ink-3); }
.qs select { border: 0; padding: 2px 22px 4px 0; text-overflow: ellipsis; font-weight: 600; min-height: 30px; width: 100%; appearance: none; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23131F4B' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") right center no-repeat; }
@media (min-width: 640px) { .qs { grid-template-columns: 1fr 1fr 1fr auto; align-items: stretch; } .qs .btn { height: 100%; min-height: 56px; } }

/* load sequence */
.js .seq { opacity: 0; transform: translateY(14px); }
.js .seq.in { opacity: 1; transform: none; transition: opacity 700ms var(--ease-out), transform 900ms var(--ease-out); transition-delay: calc(var(--i, 0) * 70ms); }
.js .hero h1 .ln > span { transform: translateY(105%); }
.js .hero.in h1 .ln > span { transform: none; transition: transform 1000ms var(--ease-out); transition-delay: calc(var(--i, 0) * 90ms + 80ms); }
.js .arch { clip-path: inset(100% 0 0 0 round 999px 999px 22px 22px); }
.js .hero.in .arch { clip-path: inset(0 0 0 0 round 999px 999px 22px 22px); transition: clip-path 1200ms var(--ease-in-out) 150ms; }
.js .sun { transform: scale(.7); opacity: 0; }
.js .hero.in .sun { transform: none; opacity: 1; transition: transform 1400ms var(--ease-out) 300ms, opacity 800ms ease 300ms; }

/* ---------- listing card ---------- */
.grid-cards { display: grid; gap: 22px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid-cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .grid-cards { grid-template-columns: repeat(3, 1fr); gap: 28px; } }
@media (min-width: 1200px) { .grid-cards.four { grid-template-columns: repeat(4, 1fr); gap: 20px; } .grid-cards.four .card-price { font-size: 1.3rem; } .grid-cards.four .card-facts { gap: 10px; font-size: .82rem; } }
.card { position: relative; display: flex; flex-direction: column; background: var(--paper); border-radius: var(--r-l); box-shadow: var(--shadow-1); transition: transform 320ms var(--ease-out), box-shadow 320ms var(--ease-out); }
.card-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--r-l) var(--r-l) 0 0; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 900ms var(--ease-out); }
.card-media .plaque { position: absolute; left: 12px; top: 12px; }
.card-media .pill { position: absolute; left: 12px; bottom: 12px; }
.card-body { padding: 16px 18px 18px; display: grid; gap: 8px; flex: 1; align-content: start; }
.card-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.card-price { font-family: var(--display); font-weight: var(--dw); letter-spacing: var(--dt-s); font-size: 1.5rem; line-height: 1.1; }
.card-area { font-size: .84rem; color: var(--ink-3); font-weight: 500; white-space: nowrap; }
.card-title { font-weight: 600; font-size: 1.02rem; line-height: 1.35; }
.card-title a { text-decoration: none; }
.card-title a::after { content: ''; position: absolute; inset: 0; border-radius: var(--r-l); }
.card-facts { display: flex; gap: 14px; font-size: .88rem; color: var(--ink-2); padding-top: 10px; margin-top: auto; border-top: 1px solid var(--line-2); }
.card-facts b { color: var(--ink); font-weight: 600; }
.card .match { position: absolute; right: 12px; bottom: 12px; }
.fav { position: absolute; z-index: 2; right: 10px; top: 10px; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .92); display: grid; place-items: center; box-shadow: var(--shadow-1); transition: transform 160ms var(--ease-out); }
.fav:active { transform: scale(.9); }
.fav svg { width: 20px; height: 20px; fill: none; stroke: var(--ink); stroke-width: 2; transition: fill 160ms ease, stroke 160ms ease; }
.fav[aria-pressed="true"] svg { fill: var(--bougain); stroke: var(--bougain); }
.fav.pop svg { animation: pop 420ms var(--ease-out); }
@keyframes pop { 0% { transform: scale(.7); } 55% { transform: scale(1.28); } 100% { transform: scale(1); } }
@media (hover: hover) and (pointer: fine) {
  .card:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); }
  .card:hover .card-media img { transform: scale(1.05); }
}
.card.enter { animation: cardin 420ms var(--ease-out) both; animation-delay: calc(var(--i, 0) * 40ms); }
@keyframes cardin { from { opacity: 0; transform: translateY(12px) scale(.985); } }

/* ---------- area map ---------- */
.map { position: relative; border-radius: var(--r-l); overflow: hidden; background: #EAF0EA; box-shadow: var(--shadow-1); aspect-ratio: 358 / 330; }
.map svg.coast { position: absolute; inset: 0; width: 100%; height: 100%; }
.map .wave { animation: drift 7s ease-in-out infinite alternate; }
.map .wave.b { animation-duration: 9s; animation-direction: alternate-reverse; }
@keyframes drift { to { transform: translateX(14px); } }
.map-chip { position: absolute; transform: translate(-50%, -50%); display: inline-flex; align-items: center; gap: 7px; min-height: 40px; padding: 6px 11px 5px; background: #fff; color: var(--cobalt); border: 2px solid var(--cobalt); border-radius: 6px; box-shadow: inset 0 0 0 2px #fff, inset 0 0 0 3px rgba(31, 69, 208, .4), 0 6px 14px -6px rgba(19, 31, 75, .5); font-family: var(--display); font-weight: var(--dw); letter-spacing: var(--dt-s); font-size: .92rem; line-height: 1; white-space: nowrap; text-decoration: none; transition: transform 200ms var(--ease-out), background-color 160ms ease, color 160ms ease; }
.map-chip i { font: 700 .7rem var(--body); font-style: normal; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; display: inline-grid; place-items: center; background: var(--lemon); color: var(--ink); }
.map-chip::after { content: ''; position: absolute; left: 50%; top: 100%; width: 2px; height: 9px; background: var(--cobalt); }
.map-chip[aria-pressed="true"] { background: var(--cobalt); color: #fff; box-shadow: inset 0 0 0 2px var(--cobalt), inset 0 0 0 3px rgba(255, 255, 255, .6), 0 10px 18px -8px rgba(19, 31, 75, .7); }
.map-chip:active { transform: translate(-50%, -50%) scale(.96); }
@media (hover: hover) and (pointer: fine) { .map-chip:hover { transform: translate(-50%, -58%); } }
@media (min-width: 760px) { .map { aspect-ratio: 16 / 9; } .map-chip { font-size: 1.05rem; padding: 8px 14px 7px; min-height: 44px; } }
.map.compact { aspect-ratio: 358 / 300; }
@media (min-width: 760px) { .map.compact { aspect-ratio: 5 / 2; } }
@media (min-width: 1100px) { .map.compact { aspect-ratio: 4 / 1.25; } }

/* ---------- home sections ---------- */
.area-wrap { display: grid; gap: 28px; }
.area-notes { display: grid; gap: 0; }
.area-notes li { padding: 14px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; }
.area-notes li p { grid-column: 1 / -1; font-size: .93rem; color: var(--ink-2); }
.area-notes b { font-family: var(--display); font-weight: var(--dw); letter-spacing: var(--dt-s); font-size: 1.2rem; }
.area-notes span { font-size: .85rem; color: var(--ink-3); align-self: center; }
@media (min-width: 1000px) { .area-wrap { grid-template-columns: 1.5fr 1fr; align-items: start; gap: 48px; } }

.steps { display: grid; gap: 16px; counter-reset: s; }
.step { position: relative; padding: 22px 22px 24px; background: var(--paper); border-radius: var(--r-l); box-shadow: var(--shadow-1); display: grid; gap: 10px; align-content: start; }
.step::before { counter-increment: s; content: counter(s); font-family: var(--display); font-weight: var(--dw); letter-spacing: var(--dt-s); font-size: 1.1rem; width: 40px; height: 40px; display: grid; place-items: center; color: var(--cobalt); border: 2px solid var(--cobalt); border-radius: 5px; box-shadow: inset 0 0 0 2px #fff, inset 0 0 0 3px rgba(31, 69, 208, .4); }
.step h3 { font: 600 1.12rem/1.3 var(--body); }
.step p { color: var(--ink-2); font-size: .96rem; }
.step .auto { margin-top: 6px; padding-top: 12px; border-top: 1px dashed var(--line); font-size: .84rem; color: var(--sea); font-weight: 600; display: flex; gap: 8px; align-items: flex-start; }
.step .auto svg { flex: none; width: 16px; height: 16px; margin-top: 3px; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .steps { grid-template-columns: repeat(4, 1fr); } }

.agents { display: grid; gap: 14px; grid-template-columns: repeat(2, 1fr); }
.agent { padding: 16px; background: var(--paper); border-radius: var(--r-l); box-shadow: var(--shadow-1); display: grid; gap: 8px; align-content: start; }
.mono { width: 64px; aspect-ratio: 4 / 5; border-radius: 999px 999px 10px 10px; display: grid; place-items: center; color: #fff; font-family: var(--display); font-weight: var(--dw); letter-spacing: var(--dt-s); font-size: 1.4rem; padding-top: 8px; background: var(--c, var(--cobalt)); }
.mono.s { width: 40px; font-size: .95rem; padding-top: 4px; border-radius: 999px 999px 7px 7px; }
.agent h3 { font: 600 1.02rem/1.25 var(--body); }
.agent .role { font-size: .84rem; color: var(--ink-3); }
.agent .line { font-size: .9rem; color: var(--ink-2); }
.langs { display: flex; flex-wrap: wrap; gap: 5px; }
.langs span { font-size: .74rem; font-weight: 600; padding: 2px 8px; border-radius: 999px; background: var(--wall); color: var(--ink-2); }
@media (min-width: 760px) { .agents { grid-template-columns: repeat(3, 1fr); gap: 20px; } .agent { padding: 22px; } }
@media (min-width: 1100px) { .agents { grid-template-columns: repeat(5, 1fr); } }

.duo { display: grid; gap: 20px; }
.panel { position: relative; overflow: hidden; padding: clamp(26px, 4vw, 48px); border-radius: var(--r-l); display: grid; gap: 16px; align-content: start; }
.panel.cobalt { background: var(--cobalt); color: #fff; }
.panel.cobalt .lede { color: #D6DEFB; }
.panel.lemon { background: var(--lemon); color: var(--ink); }
.panel.lemon .lede { color: #4A4311; }
.panel.night { background: var(--night); color: #fff; }
.panel.night .lede { color: #BFC9EE; }
.panel .corner { position: absolute; right: -30px; bottom: -30px; width: 150px; height: 150px; background: var(--tile) center / 50px 50px; border-radius: 50%; opacity: .95; border: 3px solid #fff; }
.panel > * { position: relative; }
@media (min-width: 900px) { .duo { grid-template-columns: 1fr 1fr; gap: 28px; } }

.quotes { display: grid; gap: 18px; }
.quote { padding: 24px; background: var(--paper); border-radius: var(--r-l); box-shadow: var(--shadow-1); display: grid; gap: 14px; align-content: start; }
.quote p { font-family: var(--display); font-weight: 600; letter-spacing: var(--dt-s); font-size: 1.22rem; line-height: 1.35; }
.quote footer { font-size: .86rem; color: var(--ink-2); display: flex; justify-content: space-between; gap: 10px; align-items: center; flex-wrap: wrap; }
@media (min-width: 900px) { .quotes { grid-template-columns: repeat(3, 1fr); } }

/* ---------- forms ---------- */
.field { display: grid; gap: 6px; }
.field > span, .legend { font-size: .86rem; font-weight: 600; color: var(--ink-2); }
.input, .select { width: 100%; min-height: 48px; padding: 10px 14px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; transition: border-color 150ms ease, box-shadow 150ms ease; }
.input:focus, .select:focus { outline: 0; border-color: var(--cobalt); box-shadow: 0 0 0 4px rgba(31, 69, 208, .16); }
.input.err { border-color: var(--bougain); }
.errmsg { color: #9B1F52; font-size: .84rem; font-weight: 600; min-height: 1.2em; }
.select { appearance: none; padding-right: 36px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23131F4B' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") right 14px center no-repeat; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.chip span, button.chip { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; font-weight: 500; font-size: .94rem; transition: background-color 150ms ease, border-color 150ms ease, color 150ms ease, transform 160ms var(--ease-out); }
.chip input:checked + span, button.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip input:focus-visible + span { outline: 3px solid var(--cobalt); outline-offset: 3px; }
.chip:active span, button.chip:active { transform: scale(.97); }
input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 28px; background: transparent; margin: 0; }
input[type=range]::-webkit-slider-runnable-track { height: 6px; border-radius: 3px; background: linear-gradient(to right, var(--cobalt) var(--p, 50%), var(--line) var(--p, 50%)); }
input[type=range]::-moz-range-track { height: 6px; border-radius: 3px; background: var(--line); }
input[type=range]::-moz-range-progress { height: 6px; border-radius: 3px; background: var(--cobalt); }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; margin-top: -10px; border-radius: 50%; background: #fff; border: 2px solid var(--cobalt); box-shadow: var(--shadow-1); transition: transform 150ms var(--ease-out); }
input[type=range]::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 2px solid var(--cobalt); }
input[type=range]:active::-webkit-slider-thumb { transform: scale(1.15); }

/* ---------- listings page ---------- */
.page-head { padding: clamp(28px, 5vw, 56px) 0 24px; display: grid; gap: 12px; }
.filters { display: grid; gap: 16px; padding: 18px; background: var(--paper); border-radius: var(--r-l); box-shadow: var(--shadow-1); margin-top: 18px; }
.filters .row { display: grid; gap: 14px; }
.filters .range-val { display: flex; justify-content: space-between; font-weight: 600; font-size: .95rem; }
@media (min-width: 900px) { .filters { grid-template-columns: 1.1fr 1.6fr .9fr; gap: 28px; padding: 22px 26px; align-items: start; } }
.results-bar { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: center; margin: 26px 0 18px; }
.results-bar .count { font-family: var(--display); font-weight: var(--dw); letter-spacing: var(--dt-s); font-size: 1.5rem; }
.results-bar .tools { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.results-bar .select { min-height: 44px; width: auto; }
.empty { grid-column: 1 / -1; padding: 48px 24px; text-align: center; background: var(--paper); border-radius: var(--r-l); border: 1.5px dashed var(--line); display: grid; gap: 12px; justify-items: center; }

/* ---------- property page ---------- */
.crumbs { font-size: .88rem; color: var(--ink-3); padding-top: 22px; }
.crumbs a { color: var(--ink-2); }
.prop-head { display: grid; gap: 16px; padding: 14px 0 22px; }
.prop-head h1 { font-size: clamp(1.9rem, 5.4vw, 3.2rem); }
.prop-price { font-family: var(--display); font-weight: var(--dw); letter-spacing: var(--dt); font-size: clamp(1.8rem, 4.6vw, 2.6rem); line-height: 1; }
.prop-sub { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
@media (min-width: 900px) { .prop-head { grid-template-columns: 1fr auto; align-items: end; } .prop-head .right { text-align: right; display: grid; gap: 10px; justify-items: end; } }
.gallery { display: grid; gap: 10px; }
.gal-main { position: relative; aspect-ratio: 4 / 3; border-radius: var(--r-l); overflow: hidden; background: #DCE3EE; }
.gal-main img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 420ms ease, transform 900ms var(--ease-out); transform: scale(1.03); }
.gal-main img.on { opacity: 1; transform: none; }
.gal-nav { position: absolute; top: 50%; width: 44px; height: 44px; margin-top: -22px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .92); box-shadow: var(--shadow-1); display: grid; place-items: center; transition: transform 160ms var(--ease-out); z-index: 2; }
.gal-nav:active { transform: scale(.92); }
.gal-nav.prev { left: 12px; } .gal-nav.next { right: 12px; }
.gal-count { position: absolute; right: 12px; bottom: 12px; z-index: 2; padding: 4px 10px; border-radius: 999px; background: rgba(13, 22, 56, .75); color: #fff; font-size: .8rem; font-weight: 600; }
.gal-main .fav { right: 12px; top: 12px; }
.thumbs { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
.thumbs button { padding: 0; border: 0; border-radius: 10px; overflow: hidden; aspect-ratio: 4 / 3; opacity: .6; transition: opacity 160ms ease, box-shadow 160ms ease, transform 160ms var(--ease-out); background: #DCE3EE; }
.thumbs button img { width: 100%; height: 100%; object-fit: cover; }
.thumbs button[aria-current="true"] { opacity: 1; box-shadow: 0 0 0 2.5px var(--wall), 0 0 0 5px var(--cobalt); }
.thumbs button:active { transform: scale(.96); }
@media (min-width: 900px) { .gal-main { aspect-ratio: 16 / 9; } }
.prop-grid { display: grid; gap: 40px; padding: 36px 0 0; }
.prop-main { display: grid; gap: 44px; min-width: 0; }
.prop-side { display: grid; gap: 20px; align-content: start; min-width: 0; }
@media (min-width: 1040px) { .prop-grid { grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 56px; } .prop-side { position: sticky; top: 88px; } }
.facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border-radius: var(--r-m); overflow: hidden; box-shadow: var(--shadow-1); }
.facts div { background: var(--paper); padding: 14px 16px; }
.facts dt { font-size: .8rem; color: var(--ink-3); font-weight: 600; }
.facts dd { font-family: var(--display); font-weight: var(--dw); letter-spacing: var(--dt-s); font-size: 1.35rem; line-height: 1.2; }
@media (min-width: 640px) { .facts { grid-template-columns: repeat(4, 1fr); } }
.feat { display: flex; flex-wrap: wrap; gap: 8px; }
.feat li { display: inline-flex; gap: 8px; align-items: center; padding: 8px 14px; background: var(--paper); border-radius: 999px; font-size: .92rem; font-weight: 500; box-shadow: var(--shadow-1); }
.feat li::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--sea); }
.box { background: var(--paper); border-radius: var(--r-l); box-shadow: var(--shadow-1); padding: clamp(18px, 3vw, 28px); display: grid; gap: 18px; min-width: 0; }
.box h2, .box h3 { font-family: var(--display); font-weight: var(--dw); letter-spacing: var(--dt); font-size: 1.5rem; line-height: 1.15; }
.plan { position: relative; border-radius: var(--r-m); background: #F7F9FF; border: 1.5px solid var(--cobalt-wash); overflow: hidden; }
.plan { overflow-x: auto; }
.plan svg { width: 100%; min-width: 500px; height: auto; }
.plan-wrap { display: grid; gap: 10px; justify-items: start; }
.plan-wrap .plan { width: 100%; }
.plan-room { transition: fill 180ms ease; cursor: default; }
@media (hover: hover) and (pointer: fine) { .plan-room:hover { fill: var(--lemon-wash); } }

.calc-grid { display: grid; gap: 22px; }
.calc-fields { display: grid; gap: 14px; }
.calc-two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.calc-out { background: var(--night); color: #fff; border-radius: var(--r-m); padding: 20px; display: grid; gap: 14px; align-content: start; }
.calc-out .big { font-family: var(--display); font-weight: var(--dw); letter-spacing: var(--dt); font-size: clamp(2rem, 6vw, 2.7rem); line-height: 1; }
.calc-out dl { display: grid; gap: 8px; font-size: .92rem; }
.calc-out dl div { display: flex; justify-content: space-between; gap: 12px; }
.calc-out dt { color: #AEB9E4; }
.calc-out .total { padding-top: 10px; border-top: 1px solid rgba(255, 255, 255, .18); font-weight: 600; }
.calc-out .total dt { color: #fff; }
.stack-bar { display: flex; height: 10px; border-radius: 5px; overflow: hidden; background: rgba(255, 255, 255, .15); }
.stack-bar i { display: block; transition: flex-basis 420ms var(--ease-out); }
.assume { display: grid; gap: 10px; padding: 14px; border-radius: var(--r-m); background: var(--lemon-wash); }
.assume .calc-three { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; align-items: end; }
.assume .input { min-height: 44px; padding: 8px 10px; }
.assume .field > span { font-size: .76rem; }
@media (min-width: 700px) { .calc-grid { grid-template-columns: 1.1fr 1fr; } }

.days { display: grid; grid-auto-flow: column; grid-auto-columns: 62px; gap: 8px; overflow-x: auto; padding: 4px 2px 10px; scrollbar-width: thin; }
.day { display: grid; gap: 0; justify-items: center; padding: 8px 0 9px; border-radius: 12px; border: 1.5px solid var(--line); background: #fff; transition: transform 160ms var(--ease-out), background-color 150ms ease, color 150ms ease, border-color 150ms ease; }
.day small { font-size: .72rem; font-weight: 600; color: var(--ink-3); }
.day b { font-family: var(--display); font-weight: var(--dw); letter-spacing: var(--dt-s); font-size: 1.35rem; line-height: 1.1; }
.day[aria-pressed="true"] { background: var(--cobalt); border-color: var(--cobalt); color: #fff; }
.day[aria-pressed="true"] small { color: #D6DEFB; }
.day:active { transform: scale(.95); }
.slots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.slot { min-height: 46px; border-radius: 12px; border: 1.5px solid var(--line); background: #fff; font-weight: 600; font-variant-numeric: tabular-nums; transition: transform 160ms var(--ease-out), background-color 150ms ease, color 150ms ease, border-color 150ms ease; }
.slot[disabled] { background: var(--wall); color: var(--ink-3); text-decoration: line-through; cursor: not-allowed; }
.slot[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.slot:not([disabled]):active { transform: scale(.96); }
.seg { display: grid; grid-template-columns: 1fr 1fr; padding: 4px; border-radius: 12px; background: var(--wall); gap: 4px; }
.seg button { min-height: 40px; border: 0; border-radius: 9px; background: transparent; font-weight: 600; font-size: .92rem; color: var(--ink-2); transition: background-color 160ms ease, color 160ms ease, box-shadow 160ms ease; }
.seg button[aria-pressed="true"] { background: #fff; color: var(--ink); box-shadow: var(--shadow-1); }
.confirm { display: grid; gap: 16px; }
.tick { width: 56px; height: 56px; border-radius: 50%; background: var(--sea); display: grid; place-items: center; }
.tick svg { width: 28px; height: 28px; fill: none; stroke: #fff; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 30; stroke-dashoffset: 30; animation: draw 500ms var(--ease-out) 200ms forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.swap-in { animation: swapin 380ms var(--ease-out) both; }
@keyframes swapin { from { opacity: 0; transform: translateY(10px); filter: blur(3px); } }
.timeline { display: grid; gap: 0; }
.timeline li { position: relative; padding: 0 0 14px 26px; font-size: .92rem; color: var(--ink-2); }
.timeline li::before { content: ''; position: absolute; left: 4px; top: 7px; width: 10px; height: 10px; border-radius: 50%; background: var(--paper); border: 2.5px solid var(--cobalt); }
.timeline li::after { content: ''; position: absolute; left: 8px; top: 20px; bottom: -4px; width: 2px; background: var(--line); }
.timeline li:last-child::after { display: none; }
.timeline b { color: var(--ink); }
.agent-row { display: flex; gap: 14px; align-items: center; }

/* ---------- wizard ---------- */
.wiz { max-width: 860px; margin-inline: auto; }
.wiz-prog { display: flex; gap: 6px; margin: 8px 0 22px; }
.wiz-prog i { flex: 1; height: 6px; border-radius: 3px; background: var(--line); overflow: hidden; position: relative; }
.wiz-prog i::after { content: ''; position: absolute; inset: 0; background: var(--cobalt); transform: scaleX(0); transform-origin: left; transition: transform 500ms var(--ease-out); }
.wiz-prog i.done::after { transform: none; }
.wiz-step { display: none; gap: 26px; }
.wiz-step.on { display: grid; animation: swapin 380ms var(--ease-out) both; }
.wiz-step h2 { font-family: var(--display); font-weight: var(--dw); letter-spacing: var(--dt); font-size: clamp(1.7rem, 5vw, 2.5rem); line-height: 1.1; }
.wiz-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 6px; }
.budget-read { font-family: var(--display); font-weight: var(--dw); letter-spacing: var(--dt); font-size: clamp(2.2rem, 8vw, 3.4rem); line-height: 1; }
.two { display: grid; gap: 14px; }
@media (min-width: 640px) { .two { grid-template-columns: 1fr 1fr; } }
.thinking { display: grid; gap: 14px; justify-items: start; padding: 20px 0; }
.thinking li { display: flex; gap: 10px; align-items: center; color: var(--ink-3); transition: color 200ms ease; font-weight: 500; }
.thinking li::before { content: ''; width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--line); border-top-color: var(--cobalt); animation: spin 600ms linear infinite; }
.thinking li.ok { color: var(--ink); }
.thinking li.ok::before { animation: none; border-color: var(--sea); background: var(--sea) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M4.5 9.5l3 3 6-6.5' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat; }
.thinking li.wait::before { animation: none; }
@keyframes spin { to { transform: rotate(360deg); } }
.result-head { display: grid; gap: 14px; margin-bottom: 26px; }
.score-ring { --v: 0; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: .78rem; background: conic-gradient(var(--sea) calc(var(--v) * 1%), var(--sea-wash) 0); position: relative; color: var(--ink); }
.score-ring::before { content: ''; position: absolute; inset: 4px; border-radius: 50%; background: #fff; }
.score-ring span { position: relative; }
.why { display: flex; flex-wrap: wrap; gap: 5px; }
.why span { font-size: .74rem; font-weight: 600; padding: 2px 8px; border-radius: 999px; background: var(--sea-wash); color: #07584F; }
.why span.miss { background: var(--wall); color: var(--ink-3); text-decoration: line-through; }
.msg-wrap { display: grid; gap: 22px; margin-top: 44px; }
@media (min-width: 900px) { .msg-wrap { grid-template-columns: 1fr 1.25fr; align-items: start; gap: 44px; } }
.tabs { display: inline-grid; grid-auto-flow: column; padding: 4px; gap: 4px; border-radius: 12px; background: rgba(19, 31, 75, .07); }
.tabs button { min-height: 40px; padding: 0 16px; border: 0; border-radius: 9px; background: transparent; font-weight: 600; font-size: .92rem; color: var(--ink-2); transition: background-color 160ms ease, color 160ms ease; }
.tabs button[aria-selected="true"] { background: #fff; color: var(--ink); box-shadow: var(--shadow-1); }
.mail { background: #fff; border-radius: var(--r-l); box-shadow: var(--shadow-2); overflow: hidden; }
.mail-bar { display: grid; gap: 2px; padding: 14px 18px; border-bottom: 1px solid var(--line); font-size: .86rem; color: var(--ink-2); }
.mail-bar b { color: var(--ink); font-size: 1rem; }
.mail-body { padding: 18px; display: grid; gap: 12px; font-size: .95rem; }
.mail-item { display: grid; grid-template-columns: 72px 1fr; gap: 12px; align-items: center; padding: 8px; border-radius: 12px; background: var(--wall); }
.mail-item img { width: 72px; height: 56px; object-fit: cover; border-radius: 8px; }
.mail-item b { display: block; font-size: .9rem; line-height: 1.3; }
.mail-item span { font-size: .82rem; color: var(--ink-2); }
.wa { background: #E7DFD5; border-radius: var(--r-l); box-shadow: var(--shadow-2); overflow: hidden; }
.wa-bar { background: #0F5E55; color: #fff; padding: 12px 16px; display: flex; gap: 10px; align-items: center; font-weight: 600; font-size: .95rem; }
.wa-bar small { display: block; font-weight: 400; color: #BFE3DC; font-size: .76rem; }
.wa-body { padding: 16px 14px 20px; display: grid; gap: 8px; }
.bubble { max-width: 88%; padding: 9px 12px 8px; border-radius: 4px 14px 14px 14px; background: #fff; font-size: .92rem; line-height: 1.45; box-shadow: 0 1px 1px rgba(0, 0, 0, .12); }
.bubble time { display: block; text-align: right; font-size: .68rem; color: #7B8794; margin-top: 2px; }
.bubble.me { justify-self: end; background: #D5F6C5; border-radius: 14px 4px 14px 14px; }
.js .bubble.b-in { animation: swapin 360ms var(--ease-out) both; animation-delay: calc(var(--i) * 380ms); }

/* ---------- sell ---------- */
.sell-grid { display: grid; gap: 28px; align-items: start; }
@media (min-width: 980px) { .sell-grid { grid-template-columns: 1fr 1fr; gap: 48px; } }
.val-out { position: relative; background: var(--night); color: #fff; border-radius: var(--r-l); padding: clamp(22px, 4vw, 36px); display: grid; gap: 20px; overflow: hidden; }
.val-out .pill.sample { color: var(--lemon); box-shadow: inset 0 0 0 1.5px var(--lemon); }
.val-range { font-family: var(--display); font-weight: var(--dw); letter-spacing: var(--dt); font-size: clamp(1.9rem, 6.4vw, 3.1rem); line-height: 1.05; }
.val-scale { position: relative; height: 54px; }
.val-scale .track { position: absolute; left: 0; right: 0; top: 22px; height: 10px; border-radius: 5px; background: rgba(255, 255, 255, .14); }
.val-scale .span { position: absolute; top: 22px; height: 10px; border-radius: 5px; background: linear-gradient(90deg, var(--lemon), #FFB35A); left: 50%; width: 0; transition: left 900ms var(--ease-out), width 900ms var(--ease-out); }
.val-scale .mid { position: absolute; top: 12px; width: 4px; height: 30px; border-radius: 2px; background: #fff; left: 50%; transition: left 900ms var(--ease-out); }
.val-ends { display: flex; justify-content: space-between; gap: 12px; font-size: .78rem; color: #AEB9E4; }
.val-scale { height: 46px; }
.val-out dl { display: grid; gap: 9px; font-size: .92rem; }
.val-out dl div { display: flex; justify-content: space-between; gap: 14px; }
.val-out dt { color: #AEB9E4; }
.val-empty { color: #AEB9E4; }
.val-out .note { font-size: .82rem; color: #AEB9E4; }

/* ---------- behind the scenes ---------- */
.dark-page { background: var(--night); color: #E7ECFF; }
.dark-page .hdr { background: rgba(13, 22, 56, .82); }
.dark-page .hdr.is-stuck { border-bottom-color: rgba(255, 255, 255, .12); }
.dark-page .logo, .dark-page .fav-link { color: #fff; }
.dark-page .nav a { color: #B4BFE8; }
.dark-page .nav a[aria-current="page"] { color: #fff; background: rgba(255, 255, 255, .1); }
.dark-page .burger span { background: #fff; }
.dark-page .btn.ghost { color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .28); }
.dark-page .lede, .dark-page .muted { color: #B4BFE8; }
.dark-page .ftr { border-top: 1px solid rgba(255, 255, 255, .1); }
@media (hover: hover) and (pointer: fine) { .dark-page .nav a:hover { color: #fff; background: rgba(255, 255, 255, .08); } .dark-page .btn.ghost:hover { background: rgba(255, 255, 255, .08); } }

.flow { background: var(--night-2); border-radius: var(--r-l); border: 1px solid rgba(255, 255, 255, .1); overflow: hidden; }
.flow-rail { position: relative; padding: 22px 16px 14px; }
.flow-line { position: absolute; left: calc(16px + 20px); right: calc(16px + 20px); top: 42px; height: 2px; background: rgba(255, 255, 255, .16); }
.flow-line i { position: absolute; inset: 0; background: var(--lemon); transform-origin: left; transform: scaleX(var(--prog, 0)); transition: transform 700ms var(--ease-in-out); }
.flow-line b { position: absolute; top: -5px; left: 0; width: 12px; height: 12px; margin-left: -6px; border-radius: 50%; background: var(--lemon); box-shadow: 0 0 0 6px rgba(246, 215, 67, .22); transform: translateX(var(--px, 0px)); transition: transform 700ms var(--ease-in-out); }
.flow-steps { position: relative; display: grid; grid-template-columns: repeat(7, 1fr); }
.flow-steps button { display: grid; justify-items: center; gap: 10px; padding: 0; border: 0; background: transparent; color: #8E9BCB; text-align: center; min-width: 0; }
.flow-steps .n { width: 40px; height: 40px; border-radius: 6px; display: grid; place-items: center; font-family: var(--display); font-weight: var(--dw); letter-spacing: var(--dt-s); font-size: 1.05rem; background: var(--night-2); border: 2px solid rgba(255, 255, 255, .25); transition: background-color 260ms ease, border-color 260ms ease, color 260ms ease, transform 260ms var(--ease-out); }
.flow-steps .t { display: none; font-size: .84rem; font-weight: 600; line-height: 1.25; padding: 0 6px; }
.flow-steps button.past .n { border-color: var(--lemon); color: var(--lemon); }
.flow-steps button.on .n { background: var(--lemon); border-color: var(--lemon); color: var(--ink); transform: scale(1.08); }
@media (max-width: 899px) { .flow-steps .n { width: 36px; height: 36px; font-size: .98rem; } }
.flow-steps button.on { color: #fff; }
@media (min-width: 900px) { .flow-rail { padding: 30px 28px 18px; } .flow-line { left: calc(28px + 7.14%); right: calc(28px + 7.14%); top: 50px; } .flow-steps .t { display: block; } }
.flow-stage { display: grid; gap: 24px; padding: 20px 18px 26px; border-top: 1px solid rgba(255, 255, 255, .1); min-height: 520px; align-content: start; }
.flow-copy { display: grid; gap: 12px; align-content: start; }
.flow-copy h2 { font-family: var(--display); font-weight: var(--dw); letter-spacing: var(--dt); font-size: clamp(1.6rem, 4.6vw, 2.3rem); line-height: 1.1; color: #fff; }
.flow-copy p { color: #C3CCF0; max-width: 46ch; }
.flow-copy .build { font-size: .88rem; color: var(--lemon); font-weight: 600; }
.flow-ctrl { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-top: 4px; }
.flow-viz { background: var(--night); border: 1px solid rgba(255, 255, 255, .1); border-radius: var(--r-m); padding: 18px; min-height: 280px; display: grid; align-content: center; }
.flow-viz > div { display: grid; gap: 10px; }
.flow-viz > div.viz-in { animation: swapin 420ms var(--ease-out) both; }
@media (min-width: 900px) { .flow-stage { grid-template-columns: 1fr 1.1fr; gap: 44px; padding: 34px 36px 40px; min-height: 440px; } .flow-viz { min-height: 340px; padding: 26px; } }
.v-row { display: flex; justify-content: space-between; gap: 12px; align-items: center; padding: 10px 12px; border-radius: 10px; background: rgba(255, 255, 255, .06); font-size: .9rem; color: #D5DCF7; }
.v-row b { color: #fff; font-weight: 600; }
.v-row.hl { background: rgba(246, 215, 67, .14); box-shadow: inset 0 0 0 1px rgba(246, 215, 67, .5); }
.v-row .ok { color: #6FE0CF; font-weight: 600; }
.js .viz-in .v-row, .js .viz-in .v-bar { animation: swapin 420ms var(--ease-out) both; animation-delay: calc(var(--i, 0) * 110ms + 120ms); }
.v-score { display: flex; gap: 18px; align-items: center; }
.v-score .ring { --v: 0; width: 104px; height: 104px; flex: none; border-radius: 50%; background: conic-gradient(var(--lemon) calc(var(--v) * 1%), rgba(255, 255, 255, .12) 0); display: grid; place-items: center; position: relative; }
.v-score .ring::before { content: ''; position: absolute; inset: 9px; border-radius: 50%; background: var(--night); }
.v-score .ring span { position: relative; font-family: var(--display); font-weight: var(--dw); letter-spacing: var(--dt); font-size: 2rem; color: #fff; }
.v-bars { display: flex; align-items: flex-end; gap: 8px; height: 120px; }
.v-bar { flex: 1; border-radius: 6px 6px 0 0; background: var(--cobalt); transform-origin: bottom; }
.v-bar.hi { background: var(--lemon); }
.v-cap { font-size: .8rem; color: #8E9BCB; }
.dark-cards { display: grid; gap: 16px; }
.dark-card { padding: 22px; border-radius: var(--r-l); background: var(--night-2); border: 1px solid rgba(255, 255, 255, .1); display: grid; gap: 8px; align-content: start; }
.dark-card h3 { font: 600 1.08rem/1.3 var(--body); color: #fff; }
.dark-card p { color: #B4BFE8; font-size: .95rem; }
.dark-card .big { font-family: var(--display); font-weight: var(--dw); letter-spacing: var(--dt); font-size: 2.2rem; color: var(--lemon); line-height: 1; }
@media (min-width: 800px) { .dark-cards { grid-template-columns: repeat(3, 1fr); } }

/* ---------- dashboard ---------- */
.dash-top { display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between; align-items: end; padding: 28px 0 22px; }
.dash-top h1 { font-size: clamp(1.8rem, 5vw, 2.6rem); color: #fff; }
.kpis { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.kpi { padding: 16px; border-radius: var(--r-m); background: var(--night-2); border: 1px solid rgba(255, 255, 255, .1); display: grid; gap: 4px; }
.kpi span { font-size: .8rem; color: #9BA8D8; font-weight: 600; }
.kpi b { font-family: var(--display); font-weight: var(--dw); letter-spacing: var(--dt); font-size: clamp(1.7rem, 5vw, 2.3rem); color: #fff; line-height: 1.1; }
.kpi em { font-style: normal; font-size: .8rem; color: #6FE0CF; font-weight: 600; }
@media (min-width: 900px) { .kpis { grid-template-columns: repeat(4, 1fr); gap: 16px; } .kpi { padding: 20px; } }
.dash-grid { display: grid; gap: 16px; margin-top: 16px; }
@media (min-width: 1040px) { .dash-grid { grid-template-columns: 1.7fr 1fr; } }
.dpanel { background: var(--night-2); border: 1px solid rgba(255, 255, 255, .1); border-radius: var(--r-l); padding: 18px; min-width: 0; }
.dpanel-h { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.dpanel-h h2 { font: 600 1.05rem var(--body); color: #fff; }
.leads { display: grid; gap: 8px; }
.lead { display: grid; grid-template-columns: 46px 1fr; gap: 4px 12px; padding: 12px; border-radius: 12px; background: rgba(255, 255, 255, .05); align-items: center; transition: background-color 160ms ease; }
.lead.new { animation: leadin 600ms var(--ease-out) both; box-shadow: inset 0 0 0 1px rgba(246, 215, 67, .55); }
@keyframes leadin { from { opacity: 0; transform: translateY(-14px) scale(.98); } }
.lead .sc { grid-row: span 2; width: 46px; height: 46px; border-radius: 10px; display: grid; place-items: center; font-family: var(--display); font-weight: var(--dw); letter-spacing: var(--dt-s); font-size: 1.15rem; color: var(--ink); background: var(--lemon); }
.lead .sc.mid { background: #9FB4FF; } .lead .sc.low { background: rgba(255, 255, 255, .16); color: #fff; }
.lead .who { font-weight: 600; color: #fff; font-size: .96rem; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.lead .meta { font-size: .82rem; color: #A9B5E2; }
.lead .extra { grid-column: 2; display: flex; flex-wrap: wrap; gap: 6px; font-size: .78rem; margin-top: 2px; }
.tagd { padding: 2px 8px; border-radius: 999px; background: rgba(255, 255, 255, .1); color: #D5DCF7; font-weight: 600; }
.tagd.y { background: rgba(246, 215, 67, .18); color: var(--lemon); }
.tagd.g { background: rgba(111, 224, 207, .16); color: #6FE0CF; }
@media (min-width: 760px) { .lead { grid-template-columns: 46px 1.2fr 1.4fr; } .lead .sc { grid-row: span 2; } .lead .extra { grid-column: 3; grid-row: 1 / span 2; justify-content: flex-end; margin: 0; } }
.viewings { display: grid; gap: 0; }
.viewings li { display: grid; grid-template-columns: 58px 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.viewings li:last-child { border-bottom: 0; }
.viewings time { font-family: var(--display); font-weight: var(--dw); letter-spacing: var(--dt-s); font-size: 1.15rem; color: var(--lemon); }
.viewings b { color: #fff; display: block; font-size: .94rem; font-weight: 600; }
.viewings span { font-size: .82rem; color: #A9B5E2; }
.viewings li.done { opacity: .5; }
.pipe { display: grid; gap: 12px; }
.stage { display: grid; gap: 8px; padding: 14px; border-radius: 14px; background: rgba(255, 255, 255, .05); align-content: start; }
.stage-h { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.stage-h b { color: #fff; font-size: .92rem; }
.stage-h span { font-family: var(--display); font-weight: var(--dw); letter-spacing: var(--dt-s); font-size: 1.3rem; color: #fff; }
.stage .val { font-size: .8rem; color: #A9B5E2; }
.stage .meter { height: 6px; border-radius: 3px; background: rgba(255, 255, 255, .1); overflow: hidden; }
.stage .meter i { display: block; height: 100%; border-radius: 3px; background: var(--c, var(--lemon)); transform-origin: left; transform: scaleX(0); transition: transform 900ms var(--ease-out); }
.in .stage .meter i { transform: scaleX(var(--w)); }
.deal { padding: 8px 10px; border-radius: 9px; background: var(--night); font-size: .82rem; color: #D5DCF7; display: flex; justify-content: space-between; gap: 8px; }
.deal b { color: #fff; font-weight: 600; }
.pipe .deals { display: none; gap: 6px; }
@media (min-width: 900px) { .pipe { grid-template-columns: repeat(5, 1fr); } .pipe .deals { display: grid; } }

/* toast */
.toast { position: fixed; left: 50%; bottom: 54px; z-index: 90; transform: translate(-50%, 20px); opacity: 0; padding: 12px 18px; border-radius: 12px; background: var(--ink); color: #fff; font-weight: 600; font-size: .92rem; box-shadow: var(--shadow-2); transition: transform 320ms var(--ease-out), opacity 200ms ease; pointer-events: none; white-space: nowrap; max-width: calc(100vw - 32px); }
.toast.on { transform: translate(-50%, 0); opacity: 1; }

/* reveal (used once per page, on the main grid only) */
.js .rv { opacity: 0; transform: translateY(18px); }
.js .rv.in { opacity: 1; transform: none; transition: opacity 700ms var(--ease-out), transform 900ms var(--ease-out); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; animation-delay: 0s !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .js .seq, .js .rv, .js .hero h1 .ln > span, .js .sun { opacity: 1; transform: none; }
  .js .arch { clip-path: none; }
  .par { transform: none !important; }
  .tick svg { stroke-dashoffset: 0; }
  .hero-card .bar i { transform: none; }
}

[hidden] { display: none !important; }
[tabindex="-1"]:focus { outline: none; }
.map::after { content: ''; position: absolute; right: 14px; top: 14px; width: 40px; height: 40px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-22 -22 44 44'%3E%3Ccircle r='20' fill='%23fff' stroke='%231F45D0' stroke-width='2'/%3E%3Cpath d='M0-13 5 0 0 13-5 0Z' fill='%231F45D0'/%3E%3C/svg%3E") center / contain no-repeat; pointer-events: none; }
.viewings .tagd { display: inline-block; margin-top: 4px; }

/* ---------- photo credits ---------- */
.gal-credit { margin-top: 10px; font-size: .8rem; color: var(--ink-3); }
.gal-credit a { color: var(--ink-2); text-underline-offset: 2px; }
.ftr-legal a { color: #C9D2F2; text-decoration: underline; text-underline-offset: 2px; }
.credits { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); }
.credit { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 14px; align-items: start; padding: 10px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.credit img { width: 96px; height: 72px; object-fit: cover; border-radius: 8px; background: #DCE3EE; }
.credit-t { display: block; font-weight: 600; font-size: .92rem; line-height: 1.3; color: var(--ink); overflow-wrap: anywhere; text-underline-offset: 2px; }
.credit p { margin-top: 4px; font-size: .84rem; color: var(--ink-2); }
.credit p a { color: var(--cobalt); text-underline-offset: 2px; }
.credit .credit-u { font-size: .78rem; color: var(--ink-3); overflow-wrap: anywhere; }
