/* ============================================================
   Skyline National Deals
   Brand: Skyline gold, navy, charcoal. Oswald for display, Inter for text.
   Signature element: the asking-vs-ARV "spread" bar.
   ============================================================ */

:root {
  --gold: #BD9D04;          /* brand gold: buttons, bars, accents on dark */
  --gold-ink: #806A00;      /* gold dark enough for text on white */
  --gold-hover: #D4B10A;
  --gold-wash: #F7F0D2;
  --navy: #1D2D42;
  --navy-deep: #091D35;
  --navy-line: #2E4260;
  --ink: #2B2B2B;           /* body text */
  --muted: #5E6672;
  --black: #000;
  --paper: #FFFFFF;
  --mist: #EEF0F3;          /* section background */
  --line: #D8DCE2;
  --green: #1FA463;
  --green-ink: #1C6A26;
  --red: #C0392B;
  --charcoal: #2B2B2B;

  --display: 'Oswald', 'Arial Narrow', Arial, sans-serif;
  --text: 'Inter', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;

  --wrap: 1240px;
  --gutter: 24px;
  --r-sm: 4px;
  --r-md: 8px;
  --shadow: 0 1px 2px rgba(9, 29, 53, .06), 0 8px 24px rgba(9, 29, 53, .08);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }
body { margin: 0; font-family: var(--text); font-size: 16px; line-height: 1.6; color: var(--ink); background: var(--paper); }
img, svg, iframe { max-width: 100%; display: block; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 500; line-height: 1.15; margin: 0 0 .5em; color: var(--black); letter-spacing: .01em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 820px; }
.skip { position: absolute; left: -999px; top: 0; background: var(--gold); color: var(--black); padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }
.fine { font-size: .85rem; color: var(--muted); }
.green { color: var(--green-ink); }
[hidden] { display: none !important; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: 600 .95rem/1 var(--text);
  padding: 13px 22px; border-radius: 999px; border: 2px solid transparent; text-decoration: none; cursor: pointer; transition: background .15s, color .15s, border-color .15s; white-space: nowrap; }
.btn-gold { background: var(--gold); color: var(--black); }
.btn-gold:hover { background: var(--gold-hover); }
.btn-dark { background: var(--charcoal); color: #fff; }
.btn-dark:hover { background: var(--black); }
.btn-outline { border-color: rgba(255,255,255,.7); color: #fff; }
.btn-outline:hover { background: #fff; color: var(--navy); }
.btn-lg { padding: 16px 28px; font-size: 1rem; }
.btn-block { width: 100%; }
.btn:disabled { opacity: .6; cursor: progress; }

/* ---------- Top bar + header ---------- */
.topbar { background: var(--black); color: #CFCFCF; font-size: .82rem; }
.topbar-inner { display: flex; justify-content: space-between; gap: 16px; padding-top: 7px; padding-bottom: 7px; }
.topbar-contact { display: flex; gap: 20px; }
.topbar a { text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.topbar a:hover { color: #fff; }
/* EN | ES switch (Spanish pages live under /es) */
.lang-switch { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; letter-spacing: .04em; }
.lang-switch b { color: var(--gold); font-weight: 700; }
.lang-switch i { font-style: normal; color: #6B6B6B; }
.lang-switch a { color: #CFCFCF; padding: 2px 0; }
.lang-switch a:hover, .lang-switch a:focus-visible { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.topbar svg, .footer-contact svg, .contact-details svg, .agent-card a svg, .team-card a svg { width: 15px; height: 15px; fill: none; stroke: var(--gold); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }

.site-header { background: var(--navy-deep); position: sticky; top: 0; z-index: 50; border-bottom: 1px solid var(--navy-line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; }
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; color: #fff; flex: none; }
.logo-mark { width: 86px; height: 38px; color: #fff; flex: none; }
.logo-text { display: flex; flex-direction: column; font-family: var(--display); line-height: 1; text-transform: uppercase; }
.logo-top { font-size: 1.45rem; font-weight: 600; letter-spacing: .12em; }
.logo-bottom { font-size: .72rem; font-weight: 400; letter-spacing: .32em; color: var(--gold); margin-top: 4px; }

.main-nav { display: flex; align-items: center; gap: 18px; }
.main-nav > ul { display: flex; list-style: none; margin: 0; padding: 0; gap: 2px; }
.nav-link { display: inline-flex; align-items: center; gap: 4px; color: #E4E8EE; background: none; border: 0; font: 500 .93rem var(--text);
  padding: 10px 12px; text-decoration: none; cursor: pointer; border-radius: var(--r-sm); }
.nav-link svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2.4; transition: transform .15s; }
.nav-link:hover { color: #fff; background: rgba(255,255,255,.06); }
.nav-link.is-active { color: var(--gold); }
.has-menu { position: relative; }
.menu { position: absolute; top: calc(100% + 6px); left: 0; min-width: 220px; background: #fff; border-radius: var(--r-md); box-shadow: var(--shadow);
  list-style: none; margin: 0; padding: 8px; opacity: 0; visibility: hidden; transform: translateY(-4px); transition: opacity .15s, transform .15s, visibility .15s; }
.menu a { display: block; padding: 9px 12px; color: var(--ink); text-decoration: none; border-radius: var(--r-sm); font-size: .93rem; }
.menu a:hover { background: var(--mist); color: var(--black); }
.has-menu.is-open .menu { opacity: 1; visibility: visible; transform: none; }
.has-menu.is-open .nav-link svg { transform: rotate(180deg); }
@media (hover: hover) and (min-width: 1101px) {
  .has-menu:hover .menu, .has-menu:focus-within .menu { opacity: 1; visibility: visible; transform: none; }
}
.nav-cta { padding: 11px 18px; }
/* Spanish menu words run longer: tighten the desktop menu so it stays on one line */
@media (min-width: 1101px) {
  html[lang="es"] .main-nav { gap: 12px; }
  html[lang="es"] .nav-link { padding: 10px 8px; }
}
@media (min-width: 1101px) and (max-width: 1300px) {
  html[lang="es"] .nav-link { font-size: .87rem; padding: 10px 6px; }
  html[lang="es"] .nav-cta { padding: 10px 14px; }
}
@media (min-width: 1101px) and (max-width: 1180px) {
  html[lang="es"] .main-nav { gap: 6px; }
  html[lang="es"] .main-nav > ul { gap: 0; }
  html[lang="es"] .nav-link { font-size: .82rem; padding: 10px 5px; }
  html[lang="es"] .nav-cta { padding: 10px 12px; font-size: .82rem; }
}
.hamburger { display: none; width: 44px; height: 44px; background: none; border: 0; cursor: pointer; padding: 10px; }
.hamburger span { display: block; height: 2px; background: #fff; margin: 5px 0; transition: transform .2s, opacity .2s; }
.hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1100px) {
  .hamburger { display: block; }
  .main-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; height: calc(100vh - 76px); height: calc(100dvh - 76px); background: var(--navy-deep); flex-direction: column; align-items: stretch; padding: 16px var(--gutter) 32px; overflow-y: auto; gap: 16px; }
  .main-nav.is-open { display: flex; }
  .main-nav > ul { flex-direction: column; gap: 0; }
  .nav-link { width: 100%; justify-content: space-between; padding: 14px 4px; font-size: 1.05rem; border-bottom: 1px solid var(--navy-line); border-radius: 0; }
  .menu { position: static; opacity: 1; visibility: visible; transform: none; display: none; background: transparent; box-shadow: none; padding: 4px 0 8px 12px; }
  .menu a { color: #C9D1DC; }
  .menu a:hover { background: rgba(255,255,255,.06); color: #fff; }
  .has-menu.is-open .menu { display: block; }
  .nav-cta { width: 100%; padding: 16px; }
  body.menu-open { overflow: hidden; }
  .topbar-inner > span:first-child { display: none; }
  .topbar-inner { justify-content: center; }
}
@media (max-width: 560px) {
  .topbar-contact > a:last-child { display: none; }
  .logo-top { font-size: 1.2rem; }
  .logo-bottom { font-size: .62rem; }
}

/* ---------- Sections ---------- */
.section { padding: 72px 0; }
.section-tight { padding-top: 32px; }
.section-gray { background: var(--mist); }
.section-navy { background: var(--navy); color: #fff; }
.section-navy h2 { color: #fff; }
.section-head { margin-bottom: 32px; max-width: 760px; }
.section-head p { color: var(--muted); font-size: 1.05rem; }
.section-head-split { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; max-width: none; flex-wrap: wrap; }
.link-plain { color: var(--gold); font-weight: 600; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.link-plain:hover { color: var(--gold-hover); }
.center-cta { text-align: center; margin-top: 40px; }

/* ---------- Page banner ---------- */
.page-banner { position: relative; background: var(--navy) var(--banner-img, none) center/cover no-repeat; color: #fff; padding: 64px 0; isolation: isolate; }
.page-banner::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(9,29,53,.94), rgba(9,29,53,.72)); z-index: -1; }
.page-banner h1 { color: #fff; text-transform: uppercase; letter-spacing: .06em; font-weight: 500; margin: 0; }
.page-banner p { margin: 10px 0 0; color: #C9D1DC; font-size: 1.08rem; max-width: 60ch; }

/* ---------- Hero ---------- */
.hero { position: relative; color: #fff; background: var(--navy-deep) var(--hero-img, url('/images/state-va-1024.webp')) center 30%/cover no-repeat; isolation: isolate; overflow: hidden; }
.hero::before { content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(100deg, rgba(9,29,53,.97) 0%, rgba(9,29,53,.9) 45%, rgba(9,29,53,.55) 100%); }
.hero-inner { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 56px; align-items: center; padding-top: 88px; padding-bottom: 88px; }
.hero h1 { color: #fff; font-size: clamp(2.5rem, 5.6vw, 4.4rem); font-weight: 500; text-transform: uppercase; letter-spacing: .02em; line-height: 1.02; margin-bottom: 22px; max-width: 11ch; }
.hero-lead { font-size: 1.15rem; color: #D5DCE5; max-width: 52ch; margin-bottom: 30px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-fund { margin: 22px 0 0; color: #AEB8C6; font-size: .95rem; }
.hero-fund a { color: var(--gold); font-weight: 600; }

/* Deal sheet: the live list of current deals in the hero */
.deal-sheet { background: #fff; color: var(--ink); border-radius: var(--r-md); box-shadow: 0 20px 50px rgba(0,0,0,.35); overflow: hidden; }
.deal-sheet-head { display: flex; justify-content: space-between; align-items: baseline; padding: 18px 22px 12px; border-bottom: 1px solid var(--line); }
.deal-sheet-head h2 { font-size: 1.2rem; margin: 0; }
.deal-sheet-head span { font-size: .82rem; color: var(--muted); }
.deal-sheet ol { list-style: none; margin: 0; padding: 0; }
.deal-sheet li + li { border-top: 1px solid var(--line); }
.deal-sheet li a { display: block; padding: 14px 22px; text-decoration: none; transition: background .15s; }
.deal-sheet li a:hover { background: var(--mist); }
.ds-top { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.ds-addr { font-weight: 600; color: var(--black); }
.ds-addr small { display: block; font-weight: 400; color: var(--muted); font-size: .85rem; }
.ds-price { font-family: var(--display); font-size: 1.35rem; color: var(--gold-ink); font-weight: 500; }
.ds-meta { display: flex; justify-content: space-between; font-size: .8rem; color: var(--muted); margin-top: 6px; }
.deal-sheet .spread-track { margin-top: 10px; }
.ds-all { display: block; text-align: center; padding: 14px; background: var(--mist); font-weight: 600; text-decoration: none; color: var(--navy); }
.ds-all:hover { background: var(--gold-wash); }

@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; padding-top: 56px; padding-bottom: 56px; gap: 40px; }
}

/* ---------- Spread bar (signature) ---------- */
.spread-track { position: relative; height: 8px; background: #E3E6EB; border-radius: 999px; overflow: hidden; }
.spread-track i { position: absolute; inset: 0 auto 0 0; background: var(--gold); border-radius: 999px; }
.spread-nums { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.spread-nums span { display: block; font-size: .72rem; color: var(--muted); letter-spacing: .02em; }
.spread-nums strong { font-family: var(--display); font-weight: 500; font-size: 1.3rem; color: var(--black); line-height: 1.1; }
.spread-nums strong.ask { color: var(--gold-ink); }
.spread-nums .r { text-align: right; }
.spread-note { font-size: .78rem; color: var(--muted); margin: 6px 0 0; }
.spread-note b { color: var(--ink); }
.spread-lg { background: var(--mist); border-radius: var(--r-md); padding: 22px 24px; margin-bottom: 18px; }
.spread-lg .spread-nums strong { font-size: 2rem; }
.spread-lg .spread-track { height: 14px; }
.spread-lg .spread-note { font-size: .9rem; }

/* ---------- Deal-type tiles ---------- */
.tile-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.tile { display: flex; flex-direction: column; gap: 6px; background: var(--navy); color: #fff; text-decoration: none; padding: 24px; border-radius: var(--r-md); transition: background .15s; border-top: 3px solid var(--gold); }
.tile:hover { background: var(--navy-deep); }
.tile svg { width: 48px; height: 48px; fill: none; stroke: var(--gold); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 10px; }
.tile-label { font-family: var(--display); font-size: 1.3rem; font-weight: 500; }
.tile-count { font-size: .88rem; color: #AEB8C6; }
@media (max-width: 900px) { .tile-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 460px) { .tile-grid { grid-template-columns: 1fr; } }

/* ---------- Property cards ---------- */
.card-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
@media (max-width: 1150px) { .card-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 860px) { .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .card-grid { grid-template-columns: 1fr; } }
.card { position: relative; background: #fff; color: var(--ink); border-radius: var(--r-md); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; border: 1px solid var(--line); }
.section-navy .card { border-color: transparent; }
.card-link { position: absolute; inset: 0; z-index: 2; }
.card-link:focus-visible { outline-offset: -3px; }
.card:hover .card-address { text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 3px; }
.card-photo { position: relative; aspect-ratio: 3 / 2; background: var(--navy); }
.card-photo img { width: 100%; height: 100%; object-fit: cover; }
.badge { position: absolute; top: 12px; left: 12px; font: 700 .72rem/1 var(--text); letter-spacing: .04em; padding: 6px 10px; border-radius: var(--r-sm); color: #fff; background: var(--charcoal); }
.badge-inline { position: static; display: inline-block; margin-bottom: 10px; }
.badge-available { background: var(--green); }
.badge-pending { background: var(--gold); color: var(--black); }
.badge-sold { background: var(--red); }
.badge-assigned { background: var(--navy); }
.badge-not-available { background: var(--charcoal); }
.seal { position: absolute; top: 12px; right: 12px; background: var(--gold); color: var(--black); font: 700 .7rem/1 var(--text); padding: 6px 10px; border-radius: 999px; }
.card-state { position: absolute; bottom: 10px; right: 10px; background: rgba(9,29,53,.85); color: #fff; font: 600 .72rem/1 var(--text); padding: 5px 8px; border-radius: var(--r-sm); }
.card-body { padding: 16px 18px 18px; display: flex; flex-direction: column; flex: 1; }
.card-address { font-family: var(--text); font-size: 1.05rem; font-weight: 700; margin: 0; color: var(--black); }
.card-city { font-size: .9rem; color: var(--muted); margin: 2px 0 2px; }
.card-type { font-size: .85rem; font-weight: 600; color: var(--green-ink); margin: 0 0 14px; }
.card .spread { margin-bottom: 12px; }
.card-occ { font-size: .84rem; margin: 0 0 12px; }
.card-occ span { color: var(--muted); margin-right: 4px; }
.card-specs { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 14px; margin: auto 0 0; padding: 12px 0 0; border-top: 1px solid var(--line); font-size: .82rem; color: var(--muted); }
.card-specs li { display: inline-flex; align-items: center; gap: 5px; }
.card-specs b { color: var(--ink); }
.card-specs svg { width: 15px; height: 15px; fill: none; stroke: var(--navy); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Filter bar ---------- */
.filter-bar { display: grid; grid-template-columns: 2fr 1fr 1.3fr 1fr auto; gap: 14px; align-items: end; background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 18px; box-shadow: var(--shadow); margin-bottom: 22px; }
.filter-bar .field { margin: 0; }
.filter-actions { display: flex; gap: 8px; }
@media (max-width: 960px) { .filter-bar { grid-template-columns: 1fr 1fr; } .field-search, .filter-actions { grid-column: 1 / -1; } .filter-actions .btn { flex: 1; } }
@media (max-width: 520px) { .filter-bar { grid-template-columns: 1fr; } }
.result-count { color: var(--muted); margin-bottom: 18px; }
.result-count strong { color: var(--black); }

/* ---------- Forms ---------- */
.field { margin-bottom: 16px; display: flex; flex-direction: column; gap: 6px; }
.field > label, .field > span, .checks legend { font-size: .86rem; font-weight: 600; color: var(--ink); }
.field i { color: var(--red); font-style: normal; }
.field input, .field select, .field textarea { width: 100%; font: 400 1rem var(--text); color: var(--ink); background: #fff; border: 1px solid #B9C0CA; border-radius: var(--r-sm); padding: 11px 12px; min-height: 46px; }
.field textarea { resize: vertical; min-height: 96px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(189,157,4,.35); }
.help { color: var(--muted); font-size: .8rem; }
/* Offer form: proof of funds (file or link) */
.pof-field { border: 0; padding: 0; margin-inline: 0; min-width: 0; }
.pof-field legend { font-size: .86rem; font-weight: 600; color: var(--ink); padding: 0; margin-bottom: 6px; }
.pof-field input[type="file"] { padding: 9px 10px; min-height: 0; font-size: .9rem; background: var(--gold-wash, #fff); cursor: pointer; }
.pof-field input[type="file"]::file-selector-button { font: 600 .85rem var(--text); border: 1px solid #B9C0CA; border-radius: var(--r-sm); background: #fff; padding: 6px 10px; margin-right: 10px; cursor: pointer; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
.checks { border: 0; padding: 0; display: flex; flex-flow: row wrap; gap: 8px; }
.checks legend { margin-bottom: 8px; padding: 0; }
.check { display: inline-flex; align-items: center; gap: 8px; font-size: .92rem; cursor: pointer; }
.checks .check { border: 1px solid #B9C0CA; border-radius: 999px; padding: 8px 14px; background: #fff; }
.checks .check:has(input:checked) { background: var(--gold-wash); border-color: var(--gold); }
.check input { width: 18px; height: 18px; accent-color: var(--navy); margin: 0; }
.agree { align-items: flex-start; margin: 0 0 12px; font-size: .9rem; line-height: 1.45; }
.agree input { margin-top: 2px; flex: none; }
.agreements { background: var(--mist); border-radius: var(--r-md); padding: 16px 16px 4px; margin: 4px 0 18px; }
.form-section { font-size: 1.1rem; margin: 10px 0 14px; padding-top: 14px; border-top: 1px solid var(--line); }
.form-section:first-child { border: 0; padding: 0; margin-top: 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-error { background: #FBEAE8; color: #8E2318; border-left: 4px solid var(--red); padding: 10px 12px; border-radius: var(--r-sm); font-size: .92rem; }
.form-success { display: flex; gap: 14px; align-items: flex-start; background: #E7F6EE; border-left: 4px solid var(--green); padding: 18px; border-radius: var(--r-sm); }
.form-success svg { width: 26px; height: 26px; fill: none; stroke: var(--green); stroke-width: 3; flex: none; }
.form-success p { margin: 0; font-weight: 600; color: var(--green-ink); }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 28px; box-shadow: var(--shadow); }
@media (max-width: 560px) { .form-card { padding: 20px; } }
.two-col { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 48px; align-items: start; }
@media (max-width: 900px) { .two-col { grid-template-columns: 1fr; } }
.aside-copy h2 { font-size: 1.6rem; }
.ticks { list-style: none; padding: 0; margin: 0 0 28px; }
.ticks li { position: relative; padding-left: 30px; margin-bottom: 12px; }
.ticks li::before { content: ''; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 50%; background: var(--gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/11px no-repeat; }
.pill-links { display: flex; flex-wrap: wrap; gap: 8px; }
.pill-links a { border: 1px solid var(--line); padding: 8px 14px; border-radius: 999px; text-decoration: none; font-weight: 600; font-size: .9rem; }
.pill-links a:hover { border-color: var(--gold); background: var(--gold-wash); }

/* Tabs */
.tabs { display: flex; border-bottom: 2px solid var(--line); margin: -4px 0 20px; }
.tabs button { flex: 1; background: none; border: 0; font: 600 .95rem var(--text); padding: 12px 8px; cursor: pointer; color: var(--muted); border-bottom: 3px solid transparent; margin-bottom: -2px; }
.tabs button.is-current { color: var(--black); border-bottom-color: var(--gold); }

/* ---------- Property detail ---------- */
.detail-head { background: var(--mist); padding: 26px 0 30px; border-bottom: 1px solid var(--line); }
.crumbs { font-size: .85rem; color: var(--muted); display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
.crumbs a { color: var(--navy); }
.detail-title { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.detail-title h1 { margin: 0; font-size: clamp(2rem, 4.5vw, 3rem); }
.detail-city { font-size: 1.1rem; color: var(--muted); margin: 4px 0 0; }
.detail-type { font-weight: 600; color: var(--green-ink); margin: 2px 0 0; }
.detail-price { text-align: right; }
.detail-price span { display: block; font-size: .85rem; color: var(--muted); }
.detail-price strong { font-family: var(--display); font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 500; color: var(--gold-ink); line-height: 1; }
.detail-grid { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 40px; align-items: start; }
@media (max-width: 980px) { .detail-grid { grid-template-columns: 1fr; } .detail-price { text-align: left; } }
.gallery { margin-bottom: 22px; }
.gallery-main { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--r-md); background: var(--navy); }
.gallery-thumbs { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; }
.gallery-thumbs button { padding: 0; border: 2px solid transparent; border-radius: var(--r-sm); cursor: pointer; flex: none; width: 96px; }
.gallery-thumbs button.is-current { border-color: var(--gold); }
.gallery-note { font-size: .88rem; color: var(--muted); margin: 10px 0 0; }
.numbers { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; margin-bottom: 8px; }
.numbers > div { border: 1px solid var(--line); border-radius: var(--r-md); padding: 14px 16px; }
.numbers span { display: block; font-size: .8rem; color: var(--muted); }
.numbers strong { font-family: var(--display); font-weight: 500; font-size: 1.5rem; color: var(--black); }
.numbers strong.small { font-family: var(--text); font-size: 1rem; font-weight: 600; }
.h-sub { font-size: 1.5rem; margin: 36px 0 14px; }
.facts { display: grid; grid-template-columns: repeat(2, 1fr); margin: 0; border-top: 1px solid var(--line); }
.fact { display: flex; justify-content: space-between; gap: 12px; padding: 12px 4px; border-bottom: 1px solid var(--line); }
.fact:nth-child(odd) { margin-right: 20px; }
.fact dt { color: var(--muted); }
.fact dd { margin: 0; font-weight: 600; text-align: right; }
.fact .badge { margin: 0; }
@media (max-width: 600px) { .facts { grid-template-columns: 1fr; } .fact:nth-child(odd) { margin-right: 0; } }
.quick-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.map { border-radius: var(--r-md); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 16 / 8; background: var(--mist); }
.map iframe { width: 100%; height: 100%; border: 0; }
.map-small { aspect-ratio: 4 / 3; margin-top: 18px; }
.detail-side { position: sticky; top: 96px; display: flex; flex-direction: column; gap: 16px; }
@media (max-width: 980px) { .detail-side { position: static; } }
.side-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 22px; box-shadow: var(--shadow); scroll-margin-top: 100px; }
.agent-card { display: flex; gap: 16px; }
.agent-card h3 { margin: 0; font-size: 1.25rem; }
.agent-label { font-size: .78rem; color: var(--muted); margin: 0 0 2px; }
.agent-title { font-size: .9rem; color: var(--muted); margin: 0 0 8px; }
.agent-card a, .team-card a { display: flex; align-items: center; gap: 8px; text-decoration: none; font-size: .9rem; padding: 3px 0; word-break: break-all; }
.agent-card a:hover, .team-card a:hover { color: var(--gold-ink); }
.agent-avatar, .team-avatar { flex: none; width: 56px; height: 56px; border-radius: 50%; background: var(--navy); color: var(--gold); display: grid; place-items: center; font: 500 1.3rem var(--display); }
.side-note { background: var(--gold-wash); border-color: #E6D79A; box-shadow: none; font-size: .9rem; }
.side-note p { margin: 0; }

/* ---------- Content blocks ---------- */
.cta-band { background: var(--gold); padding: 48px 0; }
.cta-band-inner { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.cta-band h2 { margin: 0 0 6px; }
.cta-band p { margin: 0; font-size: 1.05rem; color: #2B2400; }
.cta-band .btn-gold { background: var(--black); color: #fff; }
.cta-band .btn-gold:hover { background: var(--navy-deep); }

.testimonial { margin: 0; max-width: 880px; background: var(--charcoal); color: #fff; border-radius: var(--r-md); padding: 40px 44px; position: relative; }
.testimonial blockquote { margin: 0 0 22px; font-size: 1.2rem; line-height: 1.65; }
.testimonial figcaption strong { display: block; color: var(--gold); font-family: var(--display); font-weight: 500; font-size: 1.15rem; }
.testimonial figcaption span { color: #B8B8B8; font-size: .9rem; }
@media (max-width: 560px) { .testimonial { padding: 28px 24px; } .testimonial blockquote { font-size: 1.05rem; } }

.state-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 760px) { .state-grid { grid-template-columns: 1fr; } }
.state-tile { position: relative; display: block; border-radius: var(--r-md); overflow: hidden; aspect-ratio: 3 / 2; text-decoration: none; }
.state-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.state-tile:hover img { transform: scale(1.04); }
.state-pill { position: absolute; left: 16px; bottom: 16px; background: rgba(9,29,53,.9); color: #fff; padding: 10px 16px; border-radius: var(--r-sm); font-family: var(--display); font-size: 1.3rem; font-weight: 500; }
.state-pill small { display: block; font-family: var(--text); font-size: .8rem; color: var(--gold); font-weight: 600; }

.contact-strip { background: var(--charcoal); color: #fff; }
.contact-strip-inner { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; padding-top: 36px; padding-bottom: 36px; }
.contact-strip a { display: flex; gap: 14px; align-items: center; text-decoration: none; }
.contact-strip svg { width: 34px; height: 34px; fill: none; stroke: var(--gold); stroke-width: 1.6; flex: none; }
.contact-strip small { display: block; color: #A8A8A8; font-size: .8rem; }
.contact-strip a:hover span { color: var(--gold); }
@media (max-width: 860px) { .contact-strip-inner { grid-template-columns: 1fr; } }

.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.value-grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .value-grid, .value-grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .value-grid, .value-grid-4 { grid-template-columns: 1fr; } }
.value { background: #fff; border-top: 3px solid var(--gold); border-radius: var(--r-md); padding: 24px; box-shadow: var(--shadow); }
.value p { margin: 0; color: var(--muted); }

.prose-page h2 { margin-top: 36px; font-size: 1.7rem; }
.prose-page h2:first-child { margin-top: 0; }
.prose-page h3 { margin-top: 22px; }
.prose-page p, .prose-page li { max-width: 72ch; }
.prose-page ul { padding-left: 1.2em; }
.prose-page li { margin-bottom: 6px; }
.lead { font-size: 1.2rem; color: var(--black); }
.cta-inline { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin-top: 32px; }
.cta-inline p { margin: 0; font-weight: 600; }

.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 40px 20px 0; position: relative; font-weight: 600; font-size: 1.08rem; color: var(--black); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 6px; top: 14px; font: 300 1.8rem var(--display); color: var(--gold-ink); }
.faq details[open] summary::after { content: '–'; }
.faq details p { margin: 0 0 20px; color: var(--ink); max-width: 70ch; }

.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 900px) { .team-grid { grid-template-columns: 1fr; max-width: 480px; } }
.team-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 28px; box-shadow: var(--shadow); }
.team-avatar { width: 72px; height: 72px; font-size: 1.6rem; margin-bottom: 16px; }
.team-card h2 { font-size: 1.5rem; margin: 0; }
.team-title { color: var(--green-ink); font-weight: 600; margin: 2px 0 14px; }

.story-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
@media (max-width: 760px) { .story-grid { grid-template-columns: 1fr; } }
.story { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; box-shadow: var(--shadow); }
.story img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.story-body { padding: 20px 22px; }
.story h2 { font-size: 1.35rem; margin: 0 0 4px; }
.story-meta { color: var(--muted); margin: 0; font-size: .9rem; }

.empty-state { text-align: center; padding: 56px 24px; background: var(--mist); border-radius: var(--r-md); }
.empty-state p { color: var(--muted); max-width: 52ch; margin: 0 auto 20px; }

.contact-details p { display: flex; gap: 10px; align-items: flex-start; }
.contact-details svg { width: 20px; height: 20px; margin-top: 3px; }

/* ---------- ROI calculator ---------- */
.roi { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 40px; align-items: start; }
@media (max-width: 900px) { .roi { grid-template-columns: 1fr; } }
.roi-for { background: var(--gold-wash); padding: 12px 16px; border-radius: var(--r-sm); }
.roi-inputs fieldset { border: 1px solid var(--line); border-radius: var(--r-md); padding: 18px 20px 4px; margin: 0 0 18px; }
.roi-inputs legend { font: 500 1.15rem var(--display); padding: 0 6px; color: var(--black); }
.affix { display: flex; align-items: stretch; border: 1px solid #B9C0CA; border-radius: var(--r-sm); background: #fff; overflow: hidden; }
.affix:focus-within { border-color: var(--navy); box-shadow: 0 0 0 3px rgba(189,157,4,.35); }
.affix span { background: var(--mist); color: var(--muted); padding: 0 10px; display: flex; align-items: center; font-size: .85rem; white-space: nowrap; }
.affix input { border: 0 !important; box-shadow: none !important; min-width: 0; }
.roi-results { position: sticky; top: 96px; display: flex; flex-direction: column; gap: 16px; }
@media (max-width: 900px) { .roi-results { position: static; } }
.roi-block { background: var(--navy); color: #fff; border-radius: var(--r-md); padding: 22px 24px; }
.roi-block h2 { color: #fff; font-size: 1.3rem; margin-bottom: 10px; }
.roi-big span { display: block; color: #AEB8C6; font-size: .85rem; }
.roi-big strong { font: 500 2.4rem/1.1 var(--display); color: var(--gold); }
.roi-block dl { margin: 14px 0 0; }
.roi-block dl div { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-top: 1px solid var(--navy-line); font-size: .92rem; }
.roi-block dt { color: #C9D1DC; }
.roi-block dd { margin: 0; font-weight: 600; }
.roi-block .neg { color: #FF9C8F; }

/* ---------- Footer ---------- */
.site-footer { background: var(--charcoal); color: #D0D0D0; padding-top: 56px; font-size: .93rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 32px; padding-bottom: 40px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h4 { color: var(--gold); font-size: 1.05rem; font-weight: 500; letter-spacing: .04em; margin-bottom: 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 9px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-blurb { margin-top: 16px; color: #ABABAB; max-width: 34ch; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact svg { margin-top: 4px; }
.footer-copy { border-top: 1px solid #444; padding-top: 18px; padding-bottom: 18px; color: #9A9A9A; font-size: .85rem; }
.disclaimer { background: var(--black); color: #9A9A9A; font-size: .78rem; line-height: 1.6; padding: 18px 0; }

/* Floating chat button */
.chat-fab { position: fixed; right: 18px; bottom: 18px; z-index: 40; display: inline-flex; align-items: center; gap: 8px; background: var(--gold); color: var(--black); text-decoration: none; font-weight: 700; font-size: .9rem; padding: 12px 18px; border-radius: 999px; box-shadow: 0 6px 20px rgba(0,0,0,.25); }
.chat-fab svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; }
.chat-fab:hover { background: var(--gold-hover); }
@media (max-width: 560px) { .chat-fab span { display: none; } .chat-fab { padding: 14px; } }

/* ============================================================
   v2 additions: Command Center-driven content + graphics polish
   ============================================================ */
.announce { background: var(--gold); color: var(--black); text-align: center; font-weight: 600; font-size: .9rem; padding: 8px 16px; }
.logo-img img { height: 48px; width: auto; max-width: 220px; object-fit: contain; }
.site-footer .logo-img img { height: 56px; }
.socials { display: flex; gap: 10px; margin-top: 18px; }
.socials a { width: 38px; height: 38px; border-radius: 50%; border: 1px solid #555; display: grid; place-items: center; }
.socials a:hover { border-color: var(--gold); background: rgba(189,157,4,.12); text-decoration: none; }
.socials svg { width: 18px; height: 18px; fill: none; stroke: var(--gold); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* Deal sheet thumbnails */
.ds-top { align-items: center; }
.ds-thumb { width: 56px; height: 42px; object-fit: cover; border-radius: 4px; flex: none; }
.ds-addr { flex: 1; min-width: 0; }

/* Cards: lift on hover, photo zoom */
.card { transition: transform .2s ease, box-shadow .2s ease; }
.card:hover { transform: translateY(-3px); box-shadow: 0 2px 4px rgba(9,29,53,.08), 0 16px 32px rgba(9,29,53,.16); }
.card-photo { overflow: hidden; }
.card-photo img { transition: transform .4s ease; }
.card:hover .card-photo img { transform: scale(1.04); }
@media (prefers-reduced-motion: reduce) { .card:hover, .card:hover .card-photo img { transform: none; } }

/* How buying works: a real sequence, so it is numbered */
.steps-section { background: var(--paper); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: step; position: relative; }
.steps li { counter-increment: step; position: relative; padding: 64px 24px 0 0; }
.steps li::before { content: counter(step); position: absolute; top: 0; left: 0; width: 44px; height: 44px; border-radius: 50%; background: var(--navy); color: var(--gold); display: grid; place-items: center; font: 500 1.3rem var(--display); z-index: 1; }
.steps li::after { content: ''; position: absolute; top: 21px; left: 44px; right: 0; height: 2px; background: repeating-linear-gradient(90deg, var(--gold) 0 8px, transparent 8px 14px); }
.steps li:last-child::after { display: none; }
.steps h3 { font-size: 1.3rem; margin-bottom: 6px; }
.steps p { color: var(--muted); margin: 0; }
@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr; gap: 28px; }
  .steps li { padding: 4px 0 0 64px; }
  .steps li::after { top: 48px; left: 21px; right: auto; bottom: -24px; width: 2px; height: auto; background: repeating-linear-gradient(180deg, var(--gold) 0 8px, transparent 8px 14px); }
}

/* Testimonials grid */
.quote-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.quote-grid-1 { grid-template-columns: 1fr; }
.quote-grid .testimonial { max-width: none; }
@media (max-width: 860px) { .quote-grid { grid-template-columns: 1fr; } }

/* Gallery */
.gallery-stage { position: relative; border-radius: var(--r-md); overflow: hidden; background: var(--navy); }
.gallery-stage .gallery-main { border-radius: 0; }
.g-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 46px; height: 46px; border-radius: 50%; border: 0; background: rgba(255,255,255,.92); color: var(--black); font-size: 30px; line-height: 1; cursor: pointer; display: grid; place-items: center; padding-bottom: 4px; box-shadow: 0 4px 12px rgba(0,0,0,.25); }
.g-prev { left: 14px; } .g-next { right: 14px; }
.g-nav:hover { background: #fff; }
.g-count { position: absolute; left: 14px; bottom: 14px; background: rgba(9,29,53,.85); color: #fff; font-size: .82rem; padding: 5px 10px; border-radius: 999px; }
.g-full { position: absolute; right: 14px; bottom: 14px; width: 38px; height: 38px; border-radius: 8px; border: 0; background: rgba(9,29,53,.85); color: #fff; font-size: 18px; cursor: pointer; }
.gallery-thumbs button img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 3px; }
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(5,12,24,.95); display: grid; place-items: center; padding: 56px 16px; }
.lightbox img { max-width: 100%; max-height: 100%; object-fit: contain; }
.lb-close { position: absolute; top: 12px; right: 16px; background: none; border: 0; color: #fff; font-size: 40px; line-height: 1; cursor: pointer; }
.lb-nav { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,.12); border: 0; color: #fff; width: 54px; height: 54px; border-radius: 50%; font-size: 34px; cursor: pointer; }
.lb-prev { left: 16px; } .lb-next { right: 16px; }
.lb-nav:hover { background: rgba(255,255,255,.24); }

/* Formatted description */
.prose { font-size: 1.02rem; line-height: 1.7; max-width: 72ch; }
.prose h2 { font-size: 1.45rem; margin: 22px 0 8px; } .prose h3 { font-size: 1.2rem; margin: 18px 0 6px; } .prose h4 { font-size: 1.05rem; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1em; } .prose li { margin-bottom: 4px; }
.prose blockquote { margin: 16px 0; padding: 8px 0 8px 18px; border-left: 4px solid var(--gold); color: var(--ink); font-style: italic; }
.prose a { color: var(--gold-ink); font-weight: 600; }

/* People */
.team-photo { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; margin-bottom: 16px; }
.team-bio { color: var(--muted); font-size: .95rem; }
.agent-photo { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; flex: none; }
.story-text { margin-top: 12px; font-size: .97rem; }

.footer-copy { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.staff-login { display: inline-flex; align-items: center; gap: 6px; color: #BDBDBD; border: 1px solid #555; border-radius: 999px; padding: 6px 14px; font-weight: 600; }
.site-footer .staff-login:hover { color: var(--black); background: var(--gold); border-color: var(--gold); text-decoration: none; }

/* ---------- Buyer log in ---------- */
.nav-account { color: #fff; font-weight: 600; font-size: .93rem; text-decoration: none; padding: 10px 14px; border: 1px solid rgba(255,255,255,.35); border-radius: 999px; white-space: nowrap; }
a.nav-account:hover { border-color: var(--gold); color: var(--gold); }
.nav-hello { border-color: transparent; color: var(--gold); padding-right: 4px; }
.nav-logout { margin: 0; }
.nav-logout button { background: none; border: 0; color: #C9D1DC; font: 500 .9rem var(--text); cursor: pointer; padding: 10px 6px; }
.nav-logout button:hover { color: #fff; text-decoration: underline; }
@media (max-width: 1100px) { .nav-account { text-align: center; padding: 14px; } .nav-logout button { width: 100%; padding: 12px; } }
.btn-outline-dark { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-outline-dark:hover { background: var(--navy); color: #fff; }
.auth-section { background: var(--mist); padding: 64px 0 80px; }
.auth-box { max-width: 480px; margin: 0 auto; background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 36px 32px; box-shadow: var(--shadow); }
.auth-box.auth-wide { max-width: 760px; }
.auth-box h1 { font-size: 2rem; margin-bottom: 8px; }
.auth-lead { color: var(--muted); margin-bottom: 22px; }
.auth-alt { color: var(--muted); font-size: .9rem; margin: 18px 0 0; }
.auth-icon { width: 54px; height: 54px; border-radius: 50%; background: var(--gold); color: var(--black); display: grid; place-items: center; font: 600 1.6rem var(--display); margin-bottom: 14px; }
.auth-actions { margin-top: 8px; }
@media (max-width: 560px) { .auth-box { padding: 26px 20px; margin: 0 16px; } }
.aside-login { margin-top: 24px; font-weight: 600; }
.aside-login a { color: var(--gold-ink); }
/* Locked details for visitors */
.locked { display: flex; gap: 16px; align-items: flex-start; background: var(--navy); color: #fff; border-radius: var(--r-md); padding: 22px 24px; }
.locked strong { font-family: var(--display); font-weight: 500; font-size: 1.3rem; display: block; margin-bottom: 4px; }
.locked p { color: #C9D1DC; margin: 0 0 14px; }
.locked-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.locked .btn-outline-dark { border-color: rgba(255,255,255,.6); color: #fff; }
.locked .btn-outline-dark:hover { background: #fff; color: var(--navy); }
.lock-ico { width: 44px; height: 44px; border-radius: 50%; background: rgba(189,157,4,.18); display: grid; place-items: center; flex: none; }
.lock-ico svg { width: 22px; height: 22px; fill: none; stroke: var(--gold); stroke-width: 2; }
.locked-sm { padding: 18px; }
.locked-sm .locked-actions { flex-direction: column; }

/* ---------- Page numbers under long deal lists ---------- */
.pager { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px; margin-top: 36px; }
.pager a, .pager span { min-width: 42px; height: 42px; padding: 0 12px; display: inline-flex; align-items: center; justify-content: center; border-radius: 6px; font-weight: 600; text-decoration: none; }
.pager-num, .pager-step { background: var(--mist); color: var(--navy); }
.pager a:hover { background: var(--navy); color: #fff; }
.pager-num.is-current { background: var(--gold); color: #000; }
.pager-gap { color: var(--muted); min-width: 20px; padding: 0; }
@media (max-width: 560px) { .pager-step { flex-basis: 100%; order: 2; } }

/* Buyer login code page: "Text me a new code" is a quiet secondary button */
.auth-resend { margin-top: 12px; }
.auth-resend .btn { background: transparent; color: #806A00; border: 1px solid #BD9D04; box-shadow: none; }
.auth-resend .btn:hover { background: rgba(189,157,4,0.08); }
.auth-resend .form-success { margin-top: 0; }

/* ---------- Homepage intro (animated logo, once per session) ---------- */
/* Frosted glass over the homepage: the page shows through, blurred; frostier in the middle so the
   logo keeps full contrast. The logo plays from a transparent video on top (see site.js). */
.intro { position: fixed; inset: 0; z-index: 9999; display: flex; align-items: center; justify-content: center; overflow: hidden;
  background: radial-gradient(ellipse 60% 55% at 50% 50%, rgba(255,255,255,.66) 0%, rgba(255,255,255,.48) 55%, rgba(246,248,251,.3) 100%);
  -webkit-backdrop-filter: blur(8px) saturate(130%); backdrop-filter: blur(8px) saturate(130%);
  transition: opacity .45s ease, visibility .45s ease, -webkit-backdrop-filter .45s ease, backdrop-filter .45s ease;
  animation: intro-failsafe .45s ease 4s forwards; }
/* No backdrop-filter support: fall back to a lighter solid frost so the logo still reads. */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) { .intro { background: rgba(255,255,255,.9); } }
.intro.is-done { opacity: 0; visibility: hidden; pointer-events: none; }
html.no-intro .intro { display: none; }
.intro-video { width: 80vw; max-width: 1120px; height: auto; display: block; background: transparent; }
/* Safari/iOS play the white-background MP4: multiply drops the white onto the frost. */
.intro-video.is-multiply { mix-blend-mode: multiply; }
/* Portrait phones: the logo sits in the middle 45% of a 16:9 frame, so widen the video (the empty sides crop away). */
@media (max-aspect-ratio: 1/1) { .intro-video { width: 152vw; max-width: none; } }
.intro-skip { position: absolute; right: 20px; bottom: 20px; background: rgba(255,255,255,.6); border: 1px solid var(--line); color: var(--muted); font: 500 13px/1 var(--text); letter-spacing: .04em; padding: 9px 16px; border-radius: 999px; cursor: pointer; }
.intro-skip:hover { color: var(--ink); border-color: var(--muted); }
body.intro-on { overflow: hidden; }
@keyframes intro-failsafe { to { opacity: 0; visibility: hidden; pointer-events: none; } }

/* ---------- Homepage hero motion: slow photo push + the gold market sweep ---------- */
/* The photo sits on its own layer so it can drift; .hero keeps the same image as a fallback. */
.hero-bg { position: absolute; inset: 0; z-index: -2; background: var(--hero-img, url('/images/state-va-1024.webp')) center 30%/cover no-repeat;
  transform-origin: 60% 40%; animation: hero-push 24s ease-in-out infinite alternate; will-change: transform; }
@keyframes hero-push { from { transform: scale(1); } to { transform: scale(1.07) translate(-1%, -1%); } }
@media (prefers-reduced-motion: reduce) { .hero-bg { animation: none; } }

/* =================== Motion package 1: deal island, live board, morphing buttons, hover polish =================== */
/* Live deal island: one pill that morphs its width to each message; text swaps with a short blur. */
.deal-island { display: inline-flex; align-items: center; gap: 10px; height: 38px; padding: 0 18px 0 14px; max-width: 100%; margin-bottom: 26px; border-radius: 999px;
  background: rgba(9,29,53,.72); border: 1px solid rgba(255,255,255,.12); box-shadow: 0 10px 30px rgba(0,0,0,.25); overflow: hidden; white-space: nowrap;
  font: 500 .9rem/1 var(--text); color: #E9EDF2; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); box-sizing: border-box; }
.di-dot { width: 8px; height: 8px; border-radius: 50%; flex: none; background: var(--green); box-shadow: 0 0 0 0 rgba(31,164,99,.55); animation: di-pulse 2s ease-out infinite; transition: background .3s; }
.deal-island[data-kind="uc"] .di-dot { background: var(--gold); animation-name: di-pulse-gold; }
.deal-island[data-kind="sold"] .di-dot { background: #E5675A; animation: none; }
@keyframes di-pulse { 0% { box-shadow: 0 0 0 0 rgba(31,164,99,.55); } 70%, 100% { box-shadow: 0 0 0 9px rgba(31,164,99,0); } }
@keyframes di-pulse-gold { 0% { box-shadow: 0 0 0 0 rgba(189,157,4,.55); } 70%, 100% { box-shadow: 0 0 0 9px rgba(189,157,4,0); } }
.di-text { display: inline-block; min-width: 0; overflow: hidden; text-overflow: ellipsis; transition: opacity .18s ease, filter .18s ease, transform .18s ease; }
.di-text.is-out { opacity: 0; filter: blur(4px); transform: translateY(-6px); }
.di-text.is-in { opacity: 0; filter: blur(4px); transform: translateY(6px); transition: none; }

/* Deals board: bars draw in, prices roll up, hover shows the spread. */
.deal-sheet.is-armed .spread-track i { transform: scaleX(0); transform-origin: left center; }
.deal-sheet.is-live .spread-track i { transform: scaleX(1); transition: transform 1.1s cubic-bezier(.16,1,.3,1); transition-delay: var(--d, 0s); }
.deal-sheet li a { transition: background .2s ease, transform .25s cubic-bezier(.2,.8,.2,1), box-shadow .25s ease; position: relative; }
.deal-sheet li a:hover { transform: translateX(4px); box-shadow: inset 3px 0 0 var(--gold); }
.deal-sheet li a:hover .spread-track i { filter: brightness(1.12); }
.ds-price { font-variant-numeric: tabular-nums; }
.ds-arv { position: relative; display: inline-grid; justify-items: end; }
.ds-arv > span { grid-area: 1 / 1; transition: opacity .2s ease, filter .2s ease, transform .2s ease; }
.ds-v2 { opacity: 0; filter: blur(3px); transform: translateY(5px); color: var(--green-ink); font-weight: 600; }
.deal-sheet li a:hover .ds-v1 { opacity: 0; filter: blur(3px); transform: translateY(-5px); }
.deal-sheet li a:hover .ds-v2 { opacity: 1; filter: none; transform: none; }

/* Buttons that morph: label -> spinner circle -> check, instead of "Sending...". */
button.is-morphing { transition: width .38s cubic-bezier(.3,1.25,.4,1), border-radius .38s ease, background .25s ease; overflow: hidden; white-space: nowrap; position: relative; }
button.is-loading, button.is-done { border-radius: 999px !important; color: transparent !important; }
button.is-loading::after { content: ''; position: absolute; left: 50%; top: 50%; width: 18px; height: 18px; margin: -9px 0 0 -9px; border-radius: 50%;
  border: 2.5px solid currentColor; border-color: rgba(0,0,0,.25); border-top-color: var(--black); animation: btn-spin .7s linear infinite; }
.btn-dark.is-loading::after, .btn-outline.is-loading::after { border-color: rgba(255,255,255,.3); border-top-color: #fff; }
button.is-done { background: var(--green) !important; border-color: var(--green) !important; }
button.is-done::after { content: ''; position: absolute; left: 50%; top: 50%; width: 9px; height: 16px; margin: -11px 0 0 -5px; border: solid #fff; border-width: 0 3px 3px 0;
  transform: rotate(45deg) scale(.4); opacity: 0; animation: btn-check .32s cubic-bezier(.3,1.4,.5,1) .05s forwards; }
@keyframes btn-spin { to { transform: rotate(360deg); } }
@keyframes btn-check { to { transform: rotate(45deg) scale(1); opacity: 1; } }
.form-success { animation: success-in .45s cubic-bezier(.16,1,.3,1); }
@keyframes success-in { from { opacity: 0; transform: translateY(8px) scale(.98); filter: blur(4px); } to { opacity: 1; transform: none; filter: none; } }

/* Hover polish: cards lift with a slow photo zoom; nav links get a gold underline sweep; gold buttons get a soft press. */
.card { transition: transform .3s cubic-bezier(.2,.8,.2,1), box-shadow .3s ease; }
.card:hover { transform: translateY(-4px); box-shadow: 0 2px 4px rgba(9,29,53,.06), 0 18px 40px rgba(9,29,53,.16); }
.card-photo { overflow: hidden; }
.card-photo img { transition: transform .9s cubic-bezier(.16,1,.3,1); }
.card:hover .card-photo img { transform: scale(1.06); }
.main-nav a.nav-link { position: relative; }
.main-nav a.nav-link::after { content: ''; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 2px; background: var(--gold); border-radius: 2px;
  transform: scaleX(0); transform-origin: right center; transition: transform .35s cubic-bezier(.16,1,.3,1); }
.main-nav a.nav-link:hover::after, .main-nav a.nav-link.is-active::after { transform: scaleX(1); transform-origin: left center; }
.btn { transition: background .2s ease, color .2s ease, border-color .2s ease, transform .15s ease, box-shadow .2s ease; }
.btn:active { transform: scale(.97); }
.btn-gold:hover { box-shadow: 0 8px 22px rgba(189,157,4,.28); }
.hero .btn-lg.is-magnetic { transition: transform .25s cubic-bezier(.2,.8,.2,1), background .2s ease, box-shadow .2s ease; }

@media (prefers-reduced-motion: reduce) {
  .di-dot { animation: none; }
  .di-text, .ds-arv > span, .deal-sheet li a, .card, .card-photo img, .main-nav a.nav-link::after { transition: none; }
  .deal-sheet.is-armed .spread-track i { transform: none; }
  .card:hover, .card:hover .card-photo img, .deal-sheet li a:hover { transform: none; }
}

/* =================== Motion package 2: liquid tabs, ⌘K deal search, photo-morph navigation =================== */
/* Status tabs: a gold pill whose two edges ride different springs, so it stretches toward the tab you pick. */
.seg { position: relative; display: inline-flex; gap: 2px; padding: 4px; margin-bottom: 14px; background: #fff; border: 1px solid var(--line); border-radius: 999px; box-shadow: var(--shadow); isolation: isolate; }
.seg-item { position: relative; z-index: 1; padding: 9px 18px; border-radius: 999px; font: 600 .9rem/1 var(--text); color: var(--muted); text-decoration: none; transition: color .25s ease; }
.seg-item:hover { color: var(--ink); }
.seg-item.is-current { color: var(--black); }
.seg-ind { position: absolute; z-index: 0; top: 4px; bottom: 4px; left: 0; width: 0; border-radius: 999px; background: var(--gold); box-shadow: 0 4px 12px rgba(189,157,4,.3); opacity: 0; }
.seg.is-ready .seg-ind { opacity: 1; }
.seg.is-ready .seg-item.is-current { color: var(--black); }
/* Property page tabs (Make an Offer / Inquire Now): the same idea as a 3px underline. */
.tabs.is-liquid { position: relative; }
.tabs.is-liquid button { border-bottom-color: transparent !important; }
.tabs .tab-ind { position: absolute; bottom: -2px; left: 0; height: 3px; width: 0; background: var(--gold); border-radius: 3px; }

/* Header search button (icon only; ⌘K / Ctrl+K / "/" also open it) */
.search-open { display: inline-grid; place-items: center; flex: none; width: 38px; height: 38px; padding: 0; border-radius: 50%; cursor: pointer;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.18); color: #D5DCE5; transition: background .2s, border-color .2s, color .2s; }
.search-open:hover { background: rgba(255,255,255,.12); border-color: var(--gold); color: #fff; }
.search-open svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }

/* ⌘K palette */
.cmdk { position: fixed; inset: 0; z-index: 9000; display: flex; align-items: flex-start; justify-content: center; padding: 12vh 16px 16px;
  background: rgba(9,29,53,.38); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); opacity: 0; transition: opacity .18s ease; }
.cmdk.is-open { opacity: 1; }
.cmdk-panel { width: min(640px, 100%); background: #fff; border-radius: 16px; overflow: hidden; box-shadow: 0 30px 80px rgba(9,29,53,.35), 0 0 0 1px rgba(9,29,53,.08);
  transform: translateY(-8px) scale(.97); filter: blur(4px); transition: transform .32s cubic-bezier(.3,1.3,.5,1), filter .2s ease; }
.cmdk.is-open .cmdk-panel { transform: none; filter: none; }
.cmdk-input { display: flex; align-items: center; gap: 12px; padding: 0 18px; border-bottom: 1px solid var(--line); }
.cmdk-input svg { width: 18px; height: 18px; fill: none; stroke: var(--muted); stroke-width: 2.2; stroke-linecap: round; flex: none; }
.cmdk-input input { flex: 1; border: 0; outline: 0; padding: 18px 0; font: 500 1.05rem var(--text); color: var(--black); background: transparent; }
.cmdk-input kbd { font: 600 .7rem/1 var(--text); padding: 4px 6px; border-radius: 6px; background: var(--mist); color: var(--muted); }
.cmdk-list { list-style: none; margin: 0; padding: 6px; max-height: min(420px, 55vh); overflow-y: auto; }
.cmdk-list li a { display: grid; grid-template-columns: 52px 1fr auto; gap: 12px; align-items: center; padding: 8px 10px; border-radius: 10px; text-decoration: none; color: var(--ink);
  animation: cmdk-row .28s cubic-bezier(.16,1,.3,1) both; animation-delay: var(--d, 0s); }
@keyframes cmdk-row { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.cmdk-list li a.is-active { background: var(--gold-wash); }
.cmdk-list img { width: 52px; height: 38px; object-fit: cover; border-radius: 6px; background: var(--navy); }
.cmdk-st { font-weight: 600; color: var(--black); }
.cmdk-sub { display: block; font-size: .82rem; color: var(--muted); }
.cmdk-right { text-align: right; font-size: .82rem; color: var(--muted); }
.cmdk-right b { display: block; font: 500 1rem var(--display); color: var(--gold-ink); }
.cmdk-empty { padding: 22px; text-align: center; color: var(--muted); }
.cmdk-foot { display: flex; gap: 14px; padding: 10px 16px; border-top: 1px solid var(--line); font-size: .75rem; color: var(--muted); background: #FAFBFC; }

/* Photo-morph navigation between a deal card and its page (Chrome/Edge; others load normally). */
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .22s; }
::view-transition-group(deal-photo) { animation-duration: .42s; animation-timing-function: cubic-bezier(.2,.8,.2,1); }
.gallery-main { view-transition-name: deal-photo; }

@media (prefers-reduced-motion: reduce) {
  @view-transition { navigation: none; }
  .cmdk, .cmdk-panel, .cmdk-list li a { transition: none; animation: none; }
}

/* Header: every label stays on one line; spacing tightens before anything wraps. */
.nav-link, .nav-logout button, .nav-account, .nav-cta, .logo-text span { white-space: nowrap; }
@media (min-width: 1101px) and (max-width: 1380px) {
  .header-inner { gap: 14px; }
  .main-nav { gap: 10px; }
  .nav-link { padding: 10px 8px; font-size: .9rem; }
  .logo-mark { width: 70px; height: 31px; }
  .nav-cta { padding: 10px 14px; }
}

/* ---------- How it works: steps spread evenly across the section, drawn in on scroll ---------- */
.steps li { padding: 64px 12px 0; text-align: center; }
.steps li::before { left: 50%; margin-left: -22px; }
.steps li::after { left: calc(50% + 30px); right: calc(-50% + 30px); transform-origin: left center; }
.steps p { max-width: 30ch; margin: 0 auto; }
@media (max-width: 760px) {
  .steps li { padding: 4px 0 0 64px; text-align: left; }
  .steps li::before { left: 0; margin-left: 0; }
  .steps li::after { left: 21px; right: auto; transform-origin: center top; }
  .steps p { margin: 0; }
}
/* armed by site.js only (no JS = shown as-is) */
.steps.is-armed li::before { transform: scale(.4); opacity: 0; }
.steps.is-armed li::after { transform: scaleX(0); }
.steps.is-armed h3, .steps.is-armed p { opacity: 0; transform: translateY(14px); }
.steps.is-in li::before { transform: none; opacity: 1; transition: transform .5s cubic-bezier(.3,1.4,.5,1), opacity .25s ease; transition-delay: calc(var(--i) * .32s); }
.steps.is-in li::after { transform: none; transition: transform .45s cubic-bezier(.4,0,.2,1); transition-delay: calc(var(--i) * .32s + .2s); }
.steps.is-in h3, .steps.is-in p { opacity: 1; transform: none; transition: opacity .5s ease, transform .6s cubic-bezier(.16,1,.3,1); transition-delay: calc(var(--i) * .32s + .12s); }
.steps.is-in p { transition-delay: calc(var(--i) * .32s + .2s); }
@media (max-width: 760px) {
  .steps.is-armed li::after { transform: scaleY(0); }
  .steps.is-in li::after { transform: none; }
}

/* =================== Sitewide frost (like the logo intro, but subtle) =================== */
/* Panels are see-through and blur + lighten whatever is behind them, exactly like the intro overlay, just
   lighter. No shine, no grain. Brand colours unchanged. Applies on every page. */

/* Header: navy frost; the page shows through softly as it scrolls under */
.site-header { transition: background-color .3s ease; }
.site-header.is-scrolled { background: rgba(9,29,53,.74); -webkit-backdrop-filter: blur(14px) saturate(130%); backdrop-filter: blur(14px) saturate(130%); }

/* Hero deals board: white frost over the house photo (the photo shows through, blurred) */
.deal-sheet { background: rgba(255,255,255,.76); -webkit-backdrop-filter: blur(12px) saturate(130%); backdrop-filter: blur(12px) saturate(130%);
  border: 1px solid rgba(255,255,255,.45); border-radius: 14px; box-shadow: 0 24px 56px rgba(0,0,0,.3); }
.deal-sheet li a:hover { background: rgba(255,255,255,.5); }
.ds-all { background: rgba(255,255,255,.45); }
.ds-all:hover { background: rgba(255,255,255,.7); }
.spread-track { background: rgba(9,29,53,.12); }

/* Hero pill and outline button: navy / clear frost */
.deal-island { background: rgba(9,29,53,.45); -webkit-backdrop-filter: blur(12px) saturate(130%); backdrop-filter: blur(12px) saturate(130%); }
.hero .btn-outline { background: rgba(255,255,255,.1); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.hero .btn-outline:hover { background: rgba(255,255,255,.18); }

/* Labels that sit on photos: frosted instead of solid boxes */
.state-tile { border-radius: 12px; }
.state-pill { background: rgba(9,29,53,.42); -webkit-backdrop-filter: blur(12px) saturate(130%); backdrop-filter: blur(12px) saturate(130%); border-radius: 10px; }
.card-state { background: rgba(9,29,53,.45); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border-radius: 999px; }
.badge { -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }

/* Dropdown menus under the frosted header */
.menu { background: rgba(255,255,255,.86); -webkit-backdrop-filter: blur(14px) saturate(130%); backdrop-filter: blur(14px) saturate(130%); }

/* Browsers without blur support: keep panels near-solid so text keeps its contrast */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .deal-sheet { background: rgba(255,255,255,.96); }
  .site-header { background: rgba(9,29,53,.97); }
  .state-pill, .card-state { background: rgba(9,29,53,.85); }
}

/* Photo lightbox (property galleries): frosted dark backdrop instead of a flat black sheet */
.lightbox { background: rgba(5,12,24,.78); -webkit-backdrop-filter: blur(16px) saturate(120%); backdrop-filter: blur(16px) saturate(120%); }

/* ===== Package 3: ROI calculator motion ===== */
.roi-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; margin: -1px; }
.roi-big strong, .roi-block dd { font-variant-numeric: tabular-nums; }

/* Rubber-band slider */
.rs { padding: 10px 9px 2px; cursor: pointer; touch-action: pan-y; -webkit-tap-highlight-color: transparent; user-select: none; -webkit-user-select: none; }
.rs-rail { position: relative; height: 18px; }
.rs-track { position: absolute; left: 0; right: 0; top: 7px; height: 4px; border-radius: 4px; background: var(--line); overflow: hidden; will-change: transform; }
.rs-fill { height: 100%; width: 0; background: linear-gradient(90deg, var(--gold-ink), var(--gold)); border-radius: 4px; }
.rs-thumb { position: absolute; left: -9px; top: 0; width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 2px solid var(--navy); box-shadow: 0 1px 3px rgba(9,29,53,.25); transition: box-shadow .2s ease, border-color .2s ease; will-change: transform; }
.rs:hover .rs-thumb { box-shadow: 0 0 0 5px rgba(189,157,4,.18), 0 1px 3px rgba(9,29,53,.25); }
.rs.is-drag .rs-thumb { border-color: var(--gold-ink); box-shadow: 0 0 0 7px rgba(189,157,4,.26), 0 2px 6px rgba(9,29,53,.3); }
.rs.is-drag { cursor: grabbing; }
.rs-thumb:focus { outline: none; }
.rs-thumb:focus-visible { box-shadow: 0 0 0 3px #fff, 0 0 0 6px var(--gold); }

/* Charts */
.roi-chart { position: relative; margin: 16px 0 4px; }
.rc-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; flex-wrap: wrap; font-size: .78rem; color: #AEB8C6; margin-bottom: 8px; }
.rc-key { display: inline-flex; flex-wrap: wrap; gap: 2px 14px; }
.rc-key > span { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.rc-key i { display: inline-block; width: 14px; height: 0; border-top: 2px solid var(--gold); }
.rc-key i.k-cf { border-top: 2px dashed rgba(255,255,255,.55); }
.rc-tip { position: absolute; z-index: 3; transform: translate(-50%, -100%); pointer-events: none; background: rgba(9,29,53,.86); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,.14); color: #fff; border-radius: 6px; padding: 7px 10px; font-size: .78rem; line-height: 1.45; white-space: nowrap; box-shadow: 0 6px 18px rgba(0,0,0,.28); }
.rc-tip strong { display: block; color: var(--gold); font-weight: 600; }
.rc-tip em { display: block; font-style: normal; color: #AEB8C6; }
.rc-tip span { display: flex; justify-content: space-between; gap: 14px; color: #C9D1DC; }
.rc-tip b { color: #fff; font-weight: 600; }

/* Flip waterfall */
.wf { position: relative; display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; height: 150px; padding-bottom: 20px; }
.wf-arv { position: absolute; left: 0; right: 0; height: 0; border-top: 1px dashed rgba(255,255,255,.4); pointer-events: none; z-index: 1; }
.wf-arv span { position: absolute; right: 0; bottom: 2px; font-size: .68rem; letter-spacing: .06em; color: #AEB8C6; }
.wf-col { position: relative; display: flex; flex-direction: column; cursor: default; }
.wf-plot { position: relative; flex: 1; }
.wf-bar { position: absolute; left: 0; right: 0; bottom: 0; height: 0; border-radius: 3px; background: rgba(255,255,255,.26); transition: background .2s ease, transform .7s cubic-bezier(.2,.8,.2,1), opacity .4s ease; transform-origin: bottom; }
.wf-col:hover .wf-bar { background: rgba(255,255,255,.42); }
.wf-col.is-profit .wf-bar { background: var(--gold); }
.wf-col.is-profit:hover .wf-bar { background: var(--gold-hover); }
.wf-col.is-loss .wf-bar { background: #FF9C8F; }
.wf-lab { position: absolute; left: 0; right: 0; bottom: -20px; text-align: center; font-size: .7rem; color: #AEB8C6; }
.roi-chart.is-armed .wf-bar { transform: scaleY(0); opacity: 0; }
.roi-chart.is-armed.is-drawn .wf-bar { transform: scaleY(1); opacity: 1; transition-delay: calc(var(--i, 0) * 90ms); }
.roi-chart.is-drawn .wf-col .wf-bar { transition-delay: 0s, calc(var(--i, 0) * 90ms), calc(var(--i, 0) * 90ms); }

/* Rental line */
.lc { position: relative; height: 150px; cursor: crosshair; touch-action: pan-y; }
.lc svg { display: block; overflow: visible; }
.lc-total { fill: none; stroke: var(--gold); stroke-width: 2.5; stroke-linejoin: round; stroke-linecap: round; }
.lc-cf { fill: none; stroke: rgba(255,255,255,.55); stroke-width: 1.5; stroke-dasharray: 4 4; }
.lc-zero { stroke: rgba(255,255,255,.16); stroke-width: 1; }
.lc-cash { stroke: rgba(255,255,255,.45); stroke-width: 1; stroke-dasharray: 2 4; }
.lc-cashlab, .lc-tick { fill: #AEB8C6; font: 500 10.5px var(--text); }
.lc-guide { stroke: rgba(255,255,255,.35); stroke-width: 1; opacity: 0; transition: opacity .15s ease; }
.lc-dot { fill: var(--gold); stroke: #fff; stroke-width: 2; opacity: 0; transition: opacity .15s ease; }
.lc-end { fill: var(--gold); }
.roi-chart.is-armed .lc svg { clip-path: inset(0 100% 0 0); }
.roi-chart.is-armed.is-drawn .lc svg { clip-path: inset(-20px -20px -20px -20px); transition: clip-path 1.3s cubic-bezier(.45,.05,.2,1); }
.roi-chart.is-armed .lc-end { opacity: 0; transform-box: fill-box; transform-origin: center; transform: scale(0); }
.roi-chart.is-armed.is-drawn .lc-end { opacity: 1; transform: scale(1); transition: opacity .3s ease 1.15s, transform .45s cubic-bezier(.3,1.6,.5,1) 1.15s; }

.lc.is-neg .lc-total { stroke: #FF9C8F; }
.lc.is-neg .lc-end { fill: #FF9C8F; }
.lc.is-neg .lc-area { opacity: 0; }

@media (prefers-reduced-motion: reduce) {
  .wf-bar, .lc svg, .lc-end, .rs-thumb { transition: none !important; }
}

/* Logged-in buyer: "You're on the buyers list" status instead of a sign-up button */
.btn.is-member { cursor: default; gap: 8px; display: inline-flex; align-items: center; border-color: rgba(189,157,4,.55); }
.btn.is-member svg { color: var(--gold); flex: none; }
.btn.is-member:hover { transform: none; background: inherit; }
.member-note .empty-state { text-align: center; }
.member-note .cta-inline { justify-content: center; }

/* ===== Buyer portal (My Deals) ===== */
.save-btn { position: absolute; z-index: 3; left: 10px; bottom: 10px; width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(255,255,255,.35); display: grid; place-items: center; cursor: pointer; padding: 0;
  background: rgba(9,29,53,.45); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); color: #fff; transition: background .2s ease, transform .2s ease; }
.save-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linejoin: round; transition: fill .2s ease, stroke .2s ease; }
.save-btn:hover { background: rgba(9,29,53,.7); transform: scale(1.06); }
.save-btn:focus-visible { outline: none; box-shadow: 0 0 0 3px var(--gold); }
.save-btn.is-saved svg { fill: var(--gold); stroke: var(--gold); }
.save-btn.is-pop svg { animation: savePop .45s cubic-bezier(.3,1.6,.5,1); }
@keyframes savePop { 0% { transform: scale(.6); } 60% { transform: scale(1.25); } 100% { transform: scale(1); } }
/* Deal page price block: Asking / price / Save pill, stacked and right-aligned */
.detail-price { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.detail-price .detail-price-k { display: block; font-size: .85rem; color: var(--muted); }
.save-pill { display: inline-flex; align-items: center; gap: 8px; margin-top: 8px; padding: 7px 14px 7px 11px; border-radius: 999px; cursor: pointer;
  background: #fff; border: 1px solid var(--line); color: var(--navy); font: 600 .86rem var(--text); transition: border-color .2s ease, background .2s ease, color .2s ease; }
.save-pill svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linejoin: round; transition: fill .2s ease, stroke .2s ease; }
.save-pill b { font-weight: 600; }
.save-pill:hover { border-color: var(--gold); }
.save-pill:focus-visible { outline: none; box-shadow: 0 0 0 3px rgba(189,157,4,.45); }
.save-pill.is-saved { background: var(--gold-wash); border-color: rgba(189,157,4,.5); color: var(--gold-ink); }
.save-pill.is-saved svg { fill: var(--gold); stroke: var(--gold); }
.save-pill.is-pop svg { animation: savePop .45s cubic-bezier(.3,1.6,.5,1); }
@media (max-width: 980px) { .detail-price { align-items: flex-start; } }
@media (prefers-reduced-motion: reduce) { .save-pill.is-pop svg { animation: none; } }
@media (prefers-reduced-motion: reduce) { .save-btn.is-pop svg { animation: none; } }

.portal { max-width: 1000px; }
.pt-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 22px; }
.pt-stats div { background: var(--navy); color: #fff; border-radius: var(--r-md); padding: 16px 18px; }
.pt-stats strong { display: block; font: 500 2rem/1.1 var(--display); color: var(--gold); font-variant-numeric: tabular-nums; }
.pt-stats span { font-size: .82rem; color: #C9D1DC; }
@media (max-width: 640px) { .pt-stats { grid-template-columns: repeat(2, 1fr); } }
.pt-note { font-size: .85rem; color: var(--muted); margin: -8px 0 16px; }
.pt-count { display: inline-block; min-width: 22px; padding: 1px 7px; margin-left: 4px; border-radius: 999px; background: var(--mist); color: var(--ink); font-size: .75rem; }
.pt-list { list-style: none; margin: 0; padding: 0; border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; background: #fff; }
.pt-row { display: grid; grid-template-columns: 96px 1fr auto; gap: 16px; align-items: center; padding: 14px 16px; border-top: 1px solid var(--line); }
.pt-row:first-child { border-top: 0; }
.pt-photo img { display: block; width: 96px; height: 72px; object-fit: cover; border-radius: var(--r-sm); background: var(--mist); }
.pt-addr { display: block; font-size: 1rem; color: var(--black); }
.pt-addr a { color: inherit; text-decoration: none; }
.pt-addr a:hover { text-decoration: underline; text-decoration-color: var(--gold); }
.pt-city { display: block; font-size: .85rem; color: var(--muted); }
.pt-next, .pt-msg { margin: 6px 0 0; font-size: .86rem; color: var(--muted); }
.pt-msg { font-style: italic; color: var(--ink); }
.pt-side { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; text-align: right; }
.pt-amt { font: 500 1.25rem/1 var(--display); color: var(--black); font-variant-numeric: tabular-nums; }
.pt-date { font-size: .76rem; color: var(--muted); }
@media (max-width: 640px) {
  .pt-row { grid-template-columns: 72px 1fr; }
  .pt-photo img { width: 72px; height: 56px; }
  .pt-side { grid-column: 1 / -1; flex-direction: row; justify-content: space-between; align-items: center; }
}
.st { display: inline-block; padding: 5px 10px; border-radius: 999px; font: 700 .72rem/1 var(--text); letter-spacing: .03em; white-space: nowrap; }
.st-received, .st-responded { background: #E8EEF6; color: var(--navy); }
.st-countered { background: var(--gold-wash); color: var(--gold-ink); }
.st-accepted { background: #DDF3E6; color: var(--green-ink); }
.st-closed { background: var(--navy); color: #fff; }
.st-not_selected, .st-withdrawn { background: var(--mist); color: var(--muted); }
.pt-empty { text-align: center; padding: 40px 20px; border: 1px dashed var(--line); border-radius: var(--r-md); }
.pt-empty h3 { margin-bottom: 6px; }
.pt-profile { display: grid; gap: 20px; }
.pt-dl { margin: 0; border: 1px solid var(--line); border-radius: var(--r-md); background: #fff; }
.pt-dl div { display: grid; grid-template-columns: 200px 1fr; gap: 12px; padding: 12px 16px; border-top: 1px solid var(--line); }
.pt-dl div:first-child { border-top: 0; }
.pt-dl dt { font-size: .86rem; font-weight: 600; color: var(--muted); }
.pt-dl dd { margin: 0; }
@media (max-width: 640px) { .pt-dl div { grid-template-columns: 1fr; gap: 2px; } }
.muted { color: var(--muted); }
.pt-pending { background: var(--gold-wash); border-radius: var(--r-md); padding: 14px 18px; }
.pt-pending p { margin: 6px 0 0; font-size: .9rem; }
.pt-request summary { list-style: none; cursor: pointer; display: inline-flex; }
.pt-request summary::-webkit-details-marker { display: none; }
.pt-request[open] summary { margin-bottom: 16px; }
.pt-form { border: 1px solid var(--line); border-radius: var(--r-md); padding: 20px; background: #fff; }
.pt-form .checks { margin-bottom: 16px; }
.form-msg.is-ok { color: var(--green-ink); }
.form-msg.is-err { color: var(--red); }

/* ===== Header: search beside Company, account menu in the corner ===== */
.nav-search { display: flex; align-items: center; margin-left: 6px; }
.search-corner { display: none; }
.acct { position: relative; flex: none; }
.acct-btn { display: inline-flex; align-items: center; gap: 10px; padding: 4px 4px 4px 16px; border-radius: 999px; cursor: pointer;
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.2); color: var(--gold); font: 600 .93rem var(--text); white-space: nowrap;
  transition: background .2s ease, border-color .2s ease; }
.acct-btn:hover, .acct.is-open .acct-btn { background: rgba(255,255,255,.1); border-color: var(--gold); }
.acct-btn:focus-visible { outline: none; box-shadow: 0 0 0 3px rgba(189,157,4,.45); }
.acct-burger { position: relative; width: 32px; height: 32px; border-radius: 50%; background: rgba(255,255,255,.1); display: grid; place-items: center; }
.acct-burger i { position: absolute; left: 9px; right: 9px; height: 2px; border-radius: 2px; background: #fff; transition: transform .25s cubic-bezier(.3,1.3,.5,1), opacity .2s ease; }
.acct-burger i:nth-child(1) { transform: translateY(-5px); }
.acct-burger i:nth-child(3) { transform: translateY(5px); }
.acct.is-open .acct-burger i:nth-child(1) { transform: rotate(45deg); }
.acct.is-open .acct-burger i:nth-child(2) { opacity: 0; transform: scaleX(.2); }
.acct.is-open .acct-burger i:nth-child(3) { transform: rotate(-45deg); }
.acct-menu { position: absolute; right: 0; top: calc(100% + 10px); min-width: 240px; padding: 8px; border-radius: 14px; z-index: 60;
  background: rgba(255,255,255,.9); -webkit-backdrop-filter: blur(16px) saturate(130%); backdrop-filter: blur(16px) saturate(130%);
  box-shadow: 0 18px 50px rgba(9,29,53,.28), 0 0 0 1px rgba(9,29,53,.06);
  opacity: 0; visibility: hidden; transform: translateY(-6px) scale(.98); transform-origin: top right;
  transition: opacity .18s ease, transform .22s cubic-bezier(.3,1.3,.5,1), visibility .18s; }
.acct.is-open .acct-menu { opacity: 1; visibility: visible; transform: none; }
.acct-head { padding: 8px 12px 10px; margin-bottom: 4px; border-bottom: 1px solid var(--line); }
.acct-head strong { display: block; color: var(--black); font-size: .98rem; }
.acct-head span { font-size: .78rem; color: var(--muted); }
.acct-menu a, .acct-out button { display: flex; align-items: center; gap: 10px; width: 100%; padding: 10px 12px; border-radius: 9px; border: 0; background: none;
  color: var(--ink); text-decoration: none; font: 500 .93rem var(--text); cursor: pointer; text-align: left; }
.acct-menu a:hover, .acct-menu a:focus-visible, .acct-out button:hover, .acct-out button:focus-visible { background: var(--gold-wash); color: var(--black); outline: none; }
.acct-menu svg, .nav-acct-link svg { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.acct-menu a svg, .acct-out svg { color: var(--gold-ink); }
.acct-out { margin: 4px 0 0; padding-top: 4px; border-top: 1px solid var(--line); }
.acct-out button svg { color: var(--muted); }
.nav-acct-mobile { display: none; }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) { .acct-menu { background: #fff; } }
@media (prefers-reduced-motion: reduce) { .acct-menu, .acct-burger i { transition: none; } }

@media (max-width: 1100px) {
  .nav-search { display: none; }
  .acct { display: none; }
  .search-corner { display: inline-grid; margin-left: auto; }
  .nav-acct-mobile { display: flex; flex-direction: column; gap: 2px; padding-top: 8px; border-top: 1px solid var(--navy-line); }
  .nav-acct-hi { margin: 0 0 6px; color: var(--gold); font-weight: 600; }
  .nav-acct-link { display: flex; align-items: center; gap: 12px; padding: 12px 4px; color: #E4E8EE; text-decoration: none; font-size: 1.02rem; }
  .nav-acct-link svg { color: var(--gold); }
  .nav-acct-out { margin: 0; }
  .nav-acct-out .nav-acct-link { width: 100%; background: none; border: 0; cursor: pointer; font: inherit; font-size: 1.02rem; text-align: left; }
  .nav-acct-out .nav-acct-link svg { color: #AEB8C6; }
}

/* "You offered" note above the offer form on a deal page */
.my-offer { display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; align-items: center; margin-bottom: 18px; padding: 14px 16px;
  border-radius: var(--r-md); background: var(--gold-wash); border: 1px solid rgba(189,157,4,.35); }
.my-offer-main { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.my-offer-k { font-size: .78rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--gold-ink); }
.my-offer-main strong { font: 500 1.6rem/1.1 var(--display); color: var(--black); font-variant-numeric: tabular-nums; }
.my-offer-meta { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; font-size: .85rem; color: var(--muted); }
.my-offer-link { align-self: start; font-size: .86rem; font-weight: 600; color: var(--navy); white-space: nowrap; }
.my-offer-link:hover { color: var(--gold-ink); }
.my-offer-sub { grid-column: 1 / -1; margin: 4px 0 0; font-size: .82rem; color: var(--ink); }
.my-offer .st-countered, .my-offer .st-received { background: #fff; }

/* Smooth scrolling (Lenis 1.3.4, desktop wheel/trackpad). Lenis drives the scroll itself, so the
   native smooth-scroll is turned off while it runs. */
html.lenis, html.lenis body { height: auto; }
html.lenis { scroll-behavior: auto; }
.lenis:not(.lenis-autoToggle).lenis-stopped { overflow: clip; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-smooth iframe { pointer-events: none; }
.cmdk-list, .main-nav, .lightbox { overscroll-behavior: contain; }

/* ============================================================
   Website chat ("Let's Chat", 2026-10-19) — panel opened by .chat-fab
   ============================================================ */
.chat-fab.is-open { background: var(--navy-deep); color: #fff; }
.chat { position: fixed; right: 18px; bottom: 82px; z-index: 60; width: 410px; max-width: calc(100vw - 36px);
  height: min(660px, calc(100vh - 110px)); display: flex; flex-direction: column; background: var(--paper);
  border: 1px solid var(--line); border-radius: 14px; overflow: hidden;
  box-shadow: 0 18px 48px rgba(9, 29, 53, .22), 0 2px 6px rgba(9, 29, 53, .08);
  opacity: 0; transform: translateY(12px) scale(.98); transform-origin: bottom right; transition: opacity .18s ease, transform .18s ease; }
.chat.is-in { opacity: 1; transform: none; }
.chat[hidden] { display: none; }
.chat .sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.chat-head { display: flex; align-items: center; gap: 10px; padding: 12px 14px; background: var(--navy-deep); color: #fff; }
.chat-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(189,157,4,.22); flex: none; }
.chat-title { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.25; }
.chat-title strong { font-family: var(--display); font-weight: 500; letter-spacing: .04em; font-size: 1.05rem; }
.chat-title span { font-size: .76rem; color: #B9C3D1; }
.chat-x { background: none; border: 0; color: #fff; font-size: 1.6rem; line-height: 1; cursor: pointer; padding: 2px 6px; border-radius: 6px; opacity: .8; }
.chat-x:hover { opacity: 1; background: rgba(255,255,255,.08); }
.chat-about { padding: 7px 14px; background: var(--gold-wash); color: var(--ink); font-size: .8rem; border-bottom: 1px solid var(--line); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chat-log { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 14px; display: flex; flex-direction: column; gap: 8px; background: var(--mist); }
.chat-msg { max-width: 86%; padding: 9px 12px; border-radius: 12px; font-size: .92rem; line-height: 1.45; overflow-wrap: anywhere; }
.chat-ai { align-self: flex-start; background: #fff; border: 1px solid var(--line); border-bottom-left-radius: 4px; color: var(--ink); }
.chat-you { align-self: flex-end; background: var(--navy); color: #fff; border-bottom-right-radius: 4px; }
.chat-ai a { color: var(--gold-ink); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.chat-typing { display: inline-flex; gap: 4px; padding: 12px 14px; }
.chat-typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--muted); opacity: .5; animation: chatDot 1s infinite ease-in-out; }
.chat-typing i:nth-child(2) { animation-delay: .15s; } .chat-typing i:nth-child(3) { animation-delay: .3s; }
@keyframes chatDot { 0%, 80%, 100% { transform: translateY(0); opacity: .4; } 40% { transform: translateY(-4px); opacity: 1; } }
.chat-chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 8px 12px 0; background: var(--mist); }
.chat-chips:empty { display: none; }
.chat-chips button { font: inherit; font-size: .8rem; padding: 6px 11px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--ink); cursor: pointer; }
.chat-chips button:hover { border-color: var(--gold); color: var(--gold-ink); }
.chat-form { display: flex; align-items: flex-end; gap: 8px; padding: 10px 12px; border-top: 1px solid var(--line); background: #fff; }
.chat-form textarea { flex: 1; resize: none; font: inherit; font-size: .95rem; line-height: 1.45; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; min-height: 64px; max-height: 150px; overflow-y: hidden; color: var(--ink); }
.chat-form textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(189,157,4,.18); }
.chat-send { width: 44px; height: 44px; flex: none; border-radius: 50%; border: 0; background: var(--gold); color: var(--black); cursor: pointer; display: grid; place-items: center; }
.chat-send:hover { background: var(--gold-hover); }
.chat-send:disabled { opacity: .5; cursor: default; }
.chat-send svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linejoin: round; }
.chat-team { padding: 0 12px 10px; background: #fff; text-align: center; }
.chat-team[hidden] { display: none; }
.chat-team-btn { background: none; border: 0; font: inherit; font-size: .82rem; font-weight: 600; color: var(--gold-ink); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; padding: 4px; }
.chat-hand { padding: 12px 14px 14px; border-top: 1px solid var(--line); background: #fff; display: grid; gap: 8px; max-height: 70%; overflow-y: auto; }
.chat-hand[hidden] { display: none; }
.chat-hand-lead { margin: 0; font-size: .85rem; color: var(--muted); }
.chat-hand label { display: grid; gap: 3px; font-size: .78rem; font-weight: 600; color: var(--ink); }
.chat-hand label i { font-weight: 400; color: var(--muted); font-style: normal; }
.chat-hand input, .chat-hand textarea { font: inherit; font-size: .9rem; padding: 8px 10px; border: 1px solid var(--line); border-radius: 8px; color: var(--ink); resize: vertical; }
.chat-hand input:focus, .chat-hand textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(189,157,4,.18); }
.chat-err { margin: 0; color: var(--red); font-size: .82rem; font-weight: 600; }
.chat-err[hidden] { display: none; }
.chat-hand-btns { display: flex; gap: 10px; align-items: center; }
.chat-hand-btns .btn { padding: 9px 16px; font-size: .88rem; }
.chat-cancel { background: none; border: 0; font: inherit; font-size: .85rem; color: var(--muted); cursor: pointer; text-decoration: underline; }
@media (max-width: 560px) {
  .chat { right: 0; left: 0; bottom: 0; width: auto; max-width: none; height: 88vh; height: 88dvh; border-radius: 14px 14px 0 0; border-bottom: 0; transform-origin: bottom center; }
  .chat-fab.is-open { display: none; }
  .chat-msg { font-size: .95rem; }
}
@media (prefers-reduced-motion: reduce) { .chat { transition: none; } .chat-typing i { animation: none; } }

/* Website chat, part 2 (2026-10-19): talk to the team, live chat with Dispo */
.chat-endlive { background: transparent; border: 1px solid rgba(255,255,255,.35); color: #fff; font: inherit; font-size: .74rem; font-weight: 600; padding: 4px 9px; border-radius: 999px; cursor: pointer; }
.chat-endlive:hover { background: rgba(255,255,255,.1); }
.chat-endlive[hidden] { display: none; }
.chat-staff { align-self: flex-start; background: var(--gold-wash); border: 1px solid #E8D9A0; border-bottom-left-radius: 4px; color: var(--ink); }
.chat-who { display: block; font-size: .72rem; font-weight: 700; color: var(--gold-ink); margin-bottom: 2px; }
.chat-staff a { color: var(--gold-ink); font-weight: 600; text-decoration: underline; }
.chat-sys { align-self: center; font-size: .76rem; color: var(--muted); text-align: center; padding: 2px 10px; max-width: 92%; }
.chat-wait { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 10px; }
.chat-spin { width: 16px; height: 16px; border-radius: 50%; border: 2px solid var(--line); border-top-color: var(--gold); animation: chatSpin .8s linear infinite; }
@keyframes chatSpin { to { transform: rotate(360deg); } }
.chat-bar { grid-column: 1 / -1; display: block; height: 3px; background: var(--mist); border-radius: 3px; overflow: hidden; }
.chat-bar b { display: block; height: 100%; width: 100%; background: var(--gold); transition: width 1s linear; }
.chat-choice { padding: 12px 14px 14px; border-top: 1px solid var(--line); background: #fff; display: grid; gap: 8px; }
.chat-choice[hidden] { display: none; }
.chat-opt { display: grid; gap: 2px; text-align: left; font: inherit; padding: 11px 13px; border: 1px solid var(--line); border-radius: 10px; background: #fff; cursor: pointer; color: var(--ink); }
.chat-opt b { font-size: .92rem; }
.chat-opt span { font-size: .8rem; color: var(--muted); }
.chat-opt:hover, .chat-opt:focus-visible { border-color: var(--gold); background: var(--gold-wash); }
.chat-opt[hidden] { display: none; }
.chat-closed-note { margin: 0; font-size: .8rem; color: var(--muted); }
.chat-closed-note[hidden] { display: none; }
@media (prefers-reduced-motion: reduce) { .chat-spin { animation: none; } .chat-bar b { transition: none; } }
