/* Zane Property Group — site styles
   Brand: black / silver / white · Montserrat (headings) · Raleway (body) */

:root {
  --black: #0D0D0D;
  --ink: #121212;
  --surface: #161616;
  --line-dark: #262626;
  --line-mid: #3A3A3A;
  --silver: #BDBDBD;
  --muted-dark: #ADADAD;
  --muted-light: #4A4A4A;
  --paper: #F4F4F4;
  --white: #FFFFFF;
  --line-light: #DDDDDD;
  --display: 'Montserrat', 'Helvetica Neue', Helvetica, sans-serif;
  --body: 'Raleway', 'Helvetica Neue', Helvetica, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--black); color: #F2F2F2; font-family: var(--body); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
a:hover { opacity: .85; }
input, select, textarea, button { font: inherit; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid #8C8C8C; outline-offset: 3px; }
input:focus, select:focus, textarea:focus { outline: 2px solid #8C8C8C; outline-offset: 1px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; top: 0; background: #fff; color: #000; padding: 12px 16px; z-index: 100; }
.skip:focus { left: 16px; top: 16px; }

/* Layout */
.wrap { max-width: 1320px; margin: 0 auto; padding: 0 32px; }
.section { padding: 104px 0; }
.section-sm { padding: 64px 0; }
.dark { background: var(--black); color: #F2F2F2; }
.paper { background: var(--paper); color: var(--ink); }
.white { background: var(--white); color: var(--ink); }
.rule-b { border-bottom: 1px solid var(--line-dark); }
.stack { display: flex; flex-direction: column; gap: 20px; }
.row { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; }
.row.top { align-items: flex-start; }
.row.between { justify-content: space-between; }
.row.end { align-items: flex-end; }
.grow { flex: 1 1 460px; min-width: 0; }
.grow-lg { flex: 999 1 560px; min-width: 0; }
.side { flex: 1 1 340px; min-width: 0; }
.grid { display: grid; gap: 28px; grid-template-columns: repeat(auto-fit, minmax(var(--min, 300px), 1fr)); }
.grid.fill { grid-template-columns: repeat(auto-fill, minmax(var(--min, 320px), 1fr)); }
.tiles { display: grid; gap: 1px; grid-template-columns: repeat(auto-fit, minmax(var(--min, 300px), 1fr)); background: #D4D4D4; border: 1px solid #D4D4D4; }
.dark .tiles, .tiles.on-dark { background: #2E2E2E; border-color: #2E2E2E; }

/* Type */
.eyebrow { font-family: var(--display); font-size: 12px; font-weight: 500; letter-spacing: .32em; text-transform: uppercase; color: var(--muted-dark); display: inline-flex; align-items: center; gap: 16px; }
.paper .eyebrow, .white .eyebrow { color: #555; font-weight: 600; }
.eyebrow.line::before { content: ""; width: 48px; height: 1px; background: #8C8C8C; }
h1, h2, h3 { margin: 0; font-family: var(--display); }
.h1 { font-weight: 200; font-size: clamp(2.6rem, 5.6vw, 5.4rem); line-height: 1.03; letter-spacing: -.025em; color: #fff; }
.h2 { font-weight: 300; font-size: clamp(2rem, 3.6vw, 3.2rem); line-height: 1.1; letter-spacing: -.015em; }
.dark .h2 { font-weight: 200; color: #fff; }
.h3 { font-weight: 400; font-size: 22px; }
.lead { margin: 0; font-size: 18px; line-height: 1.7; max-width: 600px; color: var(--muted-dark); }
.paper .lead, .white .lead { color: var(--muted-light); }
p { margin: 0; }
.muted { color: var(--muted-dark); }
.paper .muted, .white .muted { color: var(--muted-light); }
.small { font-size: 13px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px; border: 1px solid transparent; cursor: pointer; font-family: var(--display); font-size: 12px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; white-space: nowrap; }
.btn-light { background: #F2F2F2; color: var(--black); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-ghost { background: transparent; border-color: #5C5C5C; color: inherit; }
.btn-ghost-dark { background: transparent; border-color: var(--ink); color: var(--ink); }
.btn-block { width: 100%; }
.btn-sm { min-height: 44px; padding: 0 18px; }

/* Forms */
.field { display: flex; flex-direction: column; gap: 8px; font-size: 14px; font-weight: 600; }
.field.caps { font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-dark); }
.input { width: 100%; height: 50px; padding: 0 16px; border: 1px solid #BDBDBD; background: #fff; color: var(--ink); font-size: 16px; font-weight: 400; letter-spacing: 0; text-transform: none; border-radius: 0; }
textarea.input { height: auto; padding: 14px 16px; resize: vertical; }
.on-dark .input, .dark .input { background: var(--surface); border-color: var(--line-mid); color: #fff; color-scheme: dark; }
.input::placeholder { color: #7A7A7A; }
.form-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(var(--min, 200px), 1fr)); }
.span-2 { grid-column: span 2; }
@media (max-width: 560px) { .span-2 { grid-column: auto; } }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; font-weight: 400; line-height: 1.6; }
.check input { width: 20px; height: 20px; margin: 2px 0 0; flex: 0 0 auto; }
.form-error { font-size: 14px; }
.thanks { border: 1px solid var(--line-mid); padding: 28px; display: flex; flex-direction: column; gap: 8px; }
.paper .thanks, .white .thanks { border-color: var(--line-light); background: #fff; }
.thanks strong { font-family: var(--display); font-size: 13px; letter-spacing: .24em; text-transform: uppercase; }
[hidden] { display: none !important; }

/* Header */
.site-header { background: var(--black); border-bottom: 1px solid var(--line-dark); position: sticky; top: 0; z-index: 50; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px 32px; padding-top: 14px; padding-bottom: 14px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 14px; }
.brand svg { width: 52px; height: 44px; }
.brand-name { display: flex; flex-direction: column; gap: 3px; }
.brand-name b { font-family: var(--display); font-weight: 400; font-size: 20px; letter-spacing: .04em; }
.brand-name small { font-family: var(--display); font-weight: 500; font-size: 10px; letter-spacing: .32em; text-transform: uppercase; color: #A8A8A8; }
.main-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 0 26px; font-family: var(--display); font-size: 12px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; }
.main-nav a { color: var(--muted-dark); padding: 14px 0 6px; border-bottom: 1px solid transparent; }
.main-nav a[aria-current="page"] { color: #fff; border-bottom-color: #fff; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.icon-btn { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line-mid); background: transparent; color: #F2F2F2; cursor: pointer; }
.menu-toggle { display: none; }
@media (max-width: 1100px) {
  .menu-toggle { display: inline-flex; }
  .main-nav { display: none; order: 3; width: 100%; flex-direction: column; align-items: stretch; padding-bottom: 8px; }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 14px 0; border-bottom: 1px solid var(--line-dark); }
  .main-nav a[aria-current="page"] { border-bottom-color: var(--line-dark); }
}

/* Footer */
.site-footer { border-top: 1px solid var(--line-dark); }
.site-footer .wrap { padding-top: 72px; padding-bottom: 36px; display: flex; flex-direction: column; gap: 56px; }
.foot-cols { display: flex; flex-wrap: wrap; gap: 48px 64px; }
.foot-col { display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.foot-col h4 { margin: 0 0 4px; font-family: var(--display); font-size: 11px; font-weight: 600; letter-spacing: .3em; text-transform: uppercase; color: #8C8C8C; }
.foot-col a { color: #E6E6E6; padding: 3px 0; }
.foot-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; border-top: 1px solid var(--line-dark); padding-top: 24px; font-size: 13px; color: #8C8C8C; }
.foot-base a { color: var(--muted-dark); }
.socials { display: flex; gap: 10px; }

/* Hero search */
.searchbox { background: var(--surface); border: 1px solid #2E2E2E; }
.tabs { display: flex; border-bottom: 1px solid #2E2E2E; }
.tab { flex: 1 1 0; min-height: 52px; background: transparent; color: var(--silver); border: 0; cursor: pointer; font-family: var(--display); font-size: 12px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; }
.tab[aria-selected="true"] { background: #F2F2F2; color: var(--black); }
.searchbox .form-grid { padding: 22px; --min: 170px; }
.searchbox .btn { align-self: end; height: 50px; min-height: 50px; }
.emblem { width: 100%; max-width: 480px; height: auto; margin: 0 auto; }

/* Segmented tabs (management, login, portal) */
.seg { display: inline-flex; flex-wrap: wrap; border: 1px solid var(--line-mid); }
.seg button { min-height: 50px; padding: 0 24px; background: transparent; color: var(--silver); border: 0; cursor: pointer; font-family: var(--display); font-size: 12px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; }
.seg button[aria-selected="true"] { background: #F2F2F2; color: var(--black); }

/* Chips */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { min-height: 44px; padding: 0 18px; background: #fff; color: var(--ink); border: 1px solid var(--ink); cursor: pointer; font-size: 14px; font-weight: 500; }
.chip[aria-pressed="true"] { background: var(--ink); color: #fff; }
.chip.sm { min-height: 36px; padding: 0 12px; font-size: 13px; }

/* Service tiles */
.tile { background: var(--paper); padding: 40px 32px; display: flex; flex-direction: column; gap: 16px; color: var(--ink); }
.dark .tile { background: var(--black); color: #F2F2F2; }
.tile-top { display: flex; justify-content: space-between; align-items: center; }
.tile-n { font-family: var(--display); font-size: 13px; color: #6B6B6B; }
.tile-title { font-family: var(--display); font-size: 24px; font-weight: 400; }
.tile-text { font-size: 15px; line-height: 1.7; color: var(--muted-light); }
.dark .tile-text { color: var(--muted-dark); }
.tile-more { margin-top: auto; padding-top: 8px; font-family: var(--display); font-size: 12px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; }

/* Listing card */
.card { display: flex; flex-direction: column; height: 100%; background: #fff; border: 1px solid var(--line-light); color: var(--ink); }
.card-photo { position: relative; height: 240px; background: #1C1C1C; overflow: hidden; }
.card-photo img { width: 100%; height: 100%; object-fit: cover; }
.card-photo .ph { position: absolute; inset: 0; width: 100%; height: 100%; }
.badge { position: absolute; top: 16px; left: 16px; background: #F2F2F2; color: var(--black); padding: 7px 12px; font-family: var(--display); font-size: 11px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; }
.badge-tour { left: auto; right: 16px; display: flex; align-items: center; gap: 6px; background: var(--black); color: #F2F2F2; border: 1px solid var(--line-mid); letter-spacing: .12em; font-weight: 500; }
.card-body { flex: 1; display: flex; flex-direction: column; gap: 8px; padding: 22px 24px 24px; }
.card-price { font-family: var(--display); font-size: 24px; font-weight: 500; letter-spacing: -.01em; }
.card-price small { font-family: var(--body); font-size: 14px; font-weight: 400; color: #555; margin-left: 6px; }
.card-title { font-size: 16px; font-weight: 600; }
.card-sub { font-size: 14px; color: #555; }
.card-feats { margin-top: auto; padding-top: 16px; border-top: 1px solid #E6E6E6; display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 14px; color: #333; }
.card-feats span { display: flex; align-items: center; gap: 6px; }
.toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.empty { padding: 48px 0; text-align: center; font-size: 17px; color: var(--muted-light); }
.pager { display: flex; justify-content: center; gap: 8px; }
.pager a { width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; border: 1px solid #BDBDBD; }
.pager a[aria-current="page"] { background: var(--ink); color: #fff; border-color: var(--ink); }

/* Countdown */
.countdown { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; flex: 0 1 520px; }
.countdown div { border: 1px solid var(--line-mid); padding: 24px 8px; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.countdown b { font-family: var(--display); font-weight: 200; font-size: clamp(2rem, 4vw, 3.4rem); color: #fff; font-variant-numeric: tabular-nums; line-height: 1.1; }
.countdown span { font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--muted-dark); }

/* Feature columns & steps */
.feature { display: flex; flex-direction: column; gap: 14px; border-top: 1px solid var(--line-mid); padding-top: 28px; }
.paper .feature, .white .feature { border-top-color: #BDBDBD; }
.feature h3 { font-weight: 400; font-size: 22px; color: #fff; }
.paper .feature h3, .white .feature h3 { color: var(--ink); }
.feature h3.caps { font-weight: 500; font-size: 13px; letter-spacing: .28em; text-transform: uppercase; }
.feature p { font-size: 16px; line-height: 1.75; color: var(--muted-dark); }
.paper .feature p, .white .feature p { color: var(--muted-light); }
.steps { margin: 0; padding: 0; list-style: none; display: grid; gap: 36px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.steps li { display: flex; flex-direction: column; gap: 12px; border-top: 1px solid var(--line-mid); padding-top: 24px; }
.steps .n { font-family: var(--display); font-size: 13px; color: var(--muted-dark); }
.steps .t { font-family: var(--display); font-size: 20px; color: #fff; }
.steps .d { font-size: 15px; line-height: 1.7; color: var(--muted-dark); }
.region { background: var(--black); padding: 36px 28px; display: flex; flex-direction: column; gap: 10px; }
.region b { font-family: var(--display); font-weight: 300; font-size: 30px; color: #fff; }

/* Panels & boxes */
.panel { background: #fff; border: 1px solid var(--line-light); padding: 32px; }
.panel-dark { background: var(--black); color: #F2F2F2; padding: 32px; }
.ph-box { background: #E9E9E9; border: 1px solid var(--line-light); display: flex; align-items: center; justify-content: center; color: #555; font-size: 15px; text-align: center; padding: 16px; }
.ph-dark { background: #1C1C1C; color: #8C8C8C; font-size: 13px; display: flex; align-items: flex-end; justify-content: flex-end; padding: 16px; }

/* Property page */
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: #555; padding-top: 28px; }
.prop-head { padding-top: 24px; padding-bottom: 32px; }
.prop-price { font-family: var(--display); font-size: clamp(1.8rem, 3vw, 2.6rem); }
.gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-template-rows: 240px 240px; gap: 8px; }
.gallery .main { grid-column: span 2; grid-row: span 2; }
.gallery .more { background: #262626; color: #F2F2F2; align-items: center; justify-content: center; font-size: 15px; }
@media (max-width: 760px) { .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: 220px 140px 140px; } .gallery .main { grid-row: span 1; } }
.media-panel { height: 488px; background: var(--ink); color: #F2F2F2; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 24px 48px; text-align: center; padding: 24px; }
.facts { display: grid; gap: 1px; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); background: var(--line-light); border: 1px solid var(--line-light); }
.facts div { background: #fff; padding: 20px; display: flex; flex-direction: column; gap: 6px; }
.facts span { font-size: 13px; color: #555; }
.facts b { font-family: var(--display); font-size: 24px; font-weight: 400; }
.bullets { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px 24px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); color: #333; }
.bullets li { display: flex; gap: 10px; align-items: center; }
.bullets li::before { content: ""; width: 6px; height: 6px; background: var(--ink); flex: 0 0 auto; }
.agent { display: flex; align-items: center; gap: 14px; }
.avatar { width: 60px; height: 60px; background: #1C1C1C; color: #F2F2F2; display: flex; align-items: center; justify-content: center; font-family: var(--display); font-size: 18px; flex: 0 0 auto; }
.calc-out { border-top: 1px solid #D4D4D4; padding-top: 16px; display: flex; flex-direction: column; gap: 4px; }
.calc-out b { font-family: var(--display); font-size: 32px; font-weight: 400; }

/* Auctions */
.lot { background: #fff; border: 1px solid var(--line-light); display: flex; flex-wrap: wrap; }
.lot .ph-dark { flex: 0 1 360px; min-height: 220px; position: relative; }
.lot-body { flex: 999 1 420px; min-width: 0; padding: 28px 32px; display: flex; flex-wrap: wrap; gap: 24px; justify-content: space-between; align-items: center; }
.lot-when { font-size: 14px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #555; }
.lot-title { font-family: var(--display); font-size: 24px; }
.lot-actions { display: flex; flex-direction: column; gap: 10px; min-width: 200px; }
.faq details { border-top: 1px solid #D4D4D4; }
.faq summary { list-style: none; min-height: 60px; display: flex; justify-content: space-between; align-items: center; gap: 16px; cursor: pointer; font-size: 17px; font-weight: 600; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 22px; font-weight: 300; }
.faq details[open] summary::after { content: "\2212"; }
.faq p { padding-bottom: 20px; color: var(--muted-light); line-height: 1.7; }

/* Plans */
.plan { border: 1px solid #D4D4D4; background: #fff; color: var(--ink); padding: 36px 30px; display: flex; flex-direction: column; gap: 18px; }
.plan.featured { background: var(--ink); color: #fff; border-color: var(--ink); }
.plan-name { font-family: var(--display); font-size: 12px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; }
.plan-price { font-family: var(--display); font-size: 34px; font-weight: 300; }
.plan ul { margin: 0; padding: 18px 0 0; list-style: none; border-top: 1px solid #E6E6E6; display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.plan.featured ul { border-top-color: var(--line-mid); }
.plan li::before { content: "— "; }

/* Login */
.login { min-height: 100vh; display: flex; flex-wrap: wrap; }
.login-brand { flex: 1 1 520px; display: flex; flex-direction: column; justify-content: space-between; gap: 48px; padding: 48px; border-right: 1px solid var(--line-dark); }
.login-form { flex: 1 1 480px; display: flex; align-items: center; justify-content: center; padding: 48px 24px; }
.login-form .inner { width: 100%; max-width: 440px; display: flex; flex-direction: column; gap: 22px; }
.login .seg { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.login .seg button { padding: 6px; font-family: var(--body); font-size: 14px; letter-spacing: 0; text-transform: none; line-height: 1.3; }

/* Dashboards */
.app { display: flex; flex-wrap: wrap; min-height: 100vh; background: var(--paper); color: var(--ink); }
.app-side { flex: 1 1 240px; background: var(--black); color: #F2F2F2; padding: 28px 20px; display: flex; flex-direction: column; gap: 28px; }
.app-side nav { display: flex; flex-direction: column; gap: 2px; }
.app-side nav a { min-height: 44px; display: flex; align-items: center; justify-content: space-between; padding: 0 12px; color: var(--silver); font-size: 15px; }
.app-side nav a[aria-current="page"] { background: var(--line-dark); color: #fff; }
.count { min-width: 24px; height: 22px; padding: 0 6px; display: inline-flex; align-items: center; justify-content: center; background: #F2F2F2; color: var(--black); font-size: 12px; font-weight: 600; }
.app-main { flex: 999 1 640px; min-width: 0; padding: 32px; display: flex; flex-direction: column; gap: 24px; }
.kpis { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.kpi { background: #fff; border: 1px solid var(--line-light); padding: 22px; display: flex; flex-direction: column; gap: 8px; }
.kpi span { font-size: 14px; color: #555; }
.kpi b { font-family: var(--display); font-size: 32px; font-weight: 400; font-variant-numeric: tabular-nums; }
.kpi small { font-size: 13px; color: var(--muted-light); }
.box { background: #fff; border: 1px solid var(--line-light); padding: 22px; display: flex; flex-direction: column; gap: 14px; }
.box h2 { font-weight: 400; font-size: 20px; }
.box-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; }
.table-wrap { overflow-x: auto; }
table { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 14px; }
th { text-align: left; color: #555; font-weight: 600; padding: 12px 10px; }
td { padding: 14px 10px; border-top: 1px solid #E6E6E6; }
.pill { display: inline-block; padding: 4px 10px; font-size: 12px; font-weight: 600; border: 1px solid var(--ink); }
.pill.solid { background: var(--ink); color: #fff; }
.list-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 16px; padding: 14px 0; border-top: 1px solid #E6E6E6; font-size: 15px; }
.timeline-item { display: flex; gap: 14px; padding: 12px 0; border-top: 1px solid #E6E6E6; }
.timeline-item::before { content: ""; width: 8px; height: 8px; margin-top: 8px; background: var(--ink); flex: 0 0 auto; }
.bar-row { display: grid; grid-template-columns: minmax(140px, 260px) minmax(0, 1fr) 80px; gap: 16px; align-items: center; font-size: 14px; }
.bar { height: 12px; background: #E9E9E9; }
.bar i { display: block; height: 12px; background: var(--ink); }
.chart { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 12px; align-items: end; height: 200px; border-bottom: 1px solid #BDBDBD; }
.chart div { display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 6px; height: 100%; font-size: 12px; color: var(--muted-light); }
.chart i { display: block; width: 100%; background: var(--ink); }
.chart-labels { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 12px; font-size: 12px; color: #555; text-align: center; }
.portal-top { background: var(--black); color: #F2F2F2; }
.portal-top .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; padding-top: 16px; padding-bottom: 16px; }
.portal-top .seg button { font-family: var(--body); font-size: 14px; letter-spacing: 0; text-transform: none; min-height: 44px; }
.demo-note { font-size: 13px; color: #555; }

@media (max-width: 480px) {
  .site-header .brand-name small, .site-header .header-actions a.icon-btn { display: none; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 20px; }
  .section { padding: 72px 0; }
  .panel, .panel-dark { padding: 24px; }
  .login-brand { padding: 32px 20px; }
  .app-main { padding: 20px; }
  .countdown { gap: 8px; }
}

/* =================================================================
   BRAND GRADIENTS — taken from the Zane Group logo artwork
   --grad-diagonal : black (top-left) to light (bottom-right)
   --grad-band     : white (left) to black (right)
   ================================================================= */
:root {
  --grad-diagonal: linear-gradient(135deg, #000000 0%, #121212 30%, #3C3C3C 62%, #8A8A8A 100%);
  --grad-band: linear-gradient(90deg, #FFFFFF 0%, #D6D6D6 35%, #7A7A7A 65%, #000000 100%);
  --grad-band-v: linear-gradient(180deg, #FFFFFF 0%, #CFCFCF 55%, #3A3A3A 80%, #000000 100%);
  --grad-silver: linear-gradient(90deg, #FFFFFF 0%, #C9C9C9 55%, #8C8C8C 100%);
  --grad-line: linear-gradient(90deg, #FFFFFF 0%, #6E6E6E 45%, rgba(255,255,255,0) 100%);
}

/* Page headers: the diagonal logo gradient */
.hero-grad { background: var(--grad-diagonal); border-bottom: 0; }
.hero-grad .emblem g:not([fill="none"]) { fill: #D9D9D9; }

/* Statement bands: the horizontal logo gradient */
.band-grad { background: var(--grad-band); color: var(--ink); }
.band-grad .h2, .band-grad .band-title { color: var(--ink); font-weight: 300; }
.band-grad .eyebrow { color: #2A2A2A; font-weight: 600; }
.band-grad .eyebrow.line::before { background: #2A2A2A; }
.band-grad .muted, .band-grad .lead { color: #1F1F1F; }
.band-title { margin: 0; font-family: var(--display); font-size: clamp(2.2rem, 4.4vw, 4rem); line-height: 1.05; letter-spacing: -.02em; }
@media (max-width: 1000px) {
  .band-grad { background: var(--grad-band-v); }
  .band-grad .row { flex-direction: column; align-items: flex-start; }
}

/* Silver gradient lettering for key headlines */
.grad-text { background: var(--grad-silver); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* The logo's fading baseline, reused as rules */
.site-header { border-bottom: 0; }
.site-header::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--grad-line); }
.eyebrow.line::before { background: linear-gradient(90deg, #FFFFFF, rgba(255,255,255,.15)); }
.dark .feature, .steps li { border-top: 1px solid; border-image: linear-gradient(90deg, #9A9A9A, rgba(154,154,154,0)) 1; }
.site-footer { border-top: 0; position: relative; }
.site-footer::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--grad-line); }

/* Metallic primary buttons */
.btn-light { background: linear-gradient(90deg, #FFFFFF 0%, #D2D2D2 100%); }
.btn-light:hover { opacity: 1; background: linear-gradient(90deg, #FFFFFF 0%, #FFFFFF 100%); }
.tab[aria-selected="true"], .seg button[aria-selected="true"] { background: linear-gradient(90deg, #FFFFFF 0%, #D2D2D2 100%); }

/* Photo placeholders, portals and panels pick up the diagonal */
.card-photo, .ph-dark, .lot .ph-dark, .avatar { background: linear-gradient(135deg, #000000 0%, #2A2A2A 55%, #5E5E5E 100%); }
.login-brand { background: var(--grad-diagonal); border-right: 0; }
.app-side { background: linear-gradient(180deg, #000000 0%, #1A1A1A 70%, #2E2E2E 100%); }
.portal-top { background: linear-gradient(90deg, #000000 0%, #1A1A1A 60%, #3A3A3A 100%); }
.panel-dark { background: linear-gradient(135deg, #000000 0%, #1C1C1C 60%, #3A3A3A 100%); }
.region { background: linear-gradient(135deg, #000000 0%, #141414 60%, #2C2C2C 100%); }

/* Logo images (cut from the original artwork) */
.brand-mark { height: 44px; width: auto; }
.emblem { display: block; width: 100%; height: auto; margin: 0 auto; }

/* Logo lockup in headers; colour theme is strictly black, white and the black/white gradients */
.brand-lockup { height: 46px; width: auto; display: block; }
@media (max-width: 480px) { .brand-lockup { height: 38px; } }
.form-error, .dark .form-error { color: inherit; font-weight: 600; }

/* =================================================================
   GLOBAL MAP
   ================================================================= */
.g-layout { display: flex; flex-wrap: wrap; gap: 32px; align-items: flex-start; }
.g-side { flex: 1 1 280px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.g-main { flex: 999 1 600px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.g-list { list-style: none; margin: 0; padding: 0; max-height: 620px; overflow-y: auto; border: 1px solid var(--line-mid); }
.g-list button, .g-regions button { width: 100%; min-height: 44px; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 0 14px; background: transparent; color: #E6E6E6; border: 0; border-bottom: 1px solid var(--line-dark); cursor: pointer; font-size: 15px; text-align: left; }
.g-list button:hover, .g-regions button:hover { background: #1C1C1C; }
.g-list button[aria-current="true"], .g-regions button[aria-pressed="true"] { background: #F2F2F2; color: #000; }
.g-list button[aria-current="true"] .g-pill, .g-regions button[aria-pressed="true"] .g-pill { border-color: #000; }
.g-list button[aria-current="true"] .g-pill.solid, .g-regions button[aria-pressed="true"] .g-pill.solid { background: #000; color: #fff; }
.g-empty { padding: 16px; color: var(--muted-dark); }
.g-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.g-chips button { min-height: 36px; padding: 0 12px; background: transparent; color: #E6E6E6; border: 1px solid var(--line-mid); cursor: pointer; font-size: 13px; }
.g-chips button[aria-pressed="true"] { background: #F2F2F2; color: #000; border-color: #F2F2F2; }
.g-pill { flex: 0 0 auto; display: inline-block; padding: 3px 8px; font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; border: 1px solid currentColor; background-image: repeating-linear-gradient(45deg, transparent 0 3px, rgba(255,255,255,.25) 3px 4px); }
.g-pill.solid { background: #F2F2F2; color: #000; border-color: #F2F2F2; }
.g-pill.outline { background-image: none; opacity: .8; }
.g-map-wrap { position: relative; background: #000; border: 1px solid var(--line-mid); }
.g-map-wrap svg { display: block; width: 100%; }
.g-region { fill: transparent; stroke: none; cursor: pointer; transition: fill .15s; }
.g-region:hover { fill: rgba(255,255,255,.18); }
.g-region.is-operating { fill: #F2F2F2; }
.g-region.is-operating:hover { fill: #FFFFFF; }
.g-region.is-soon { fill: url(#g-hatch); }
.g-region.is-selected { fill: rgba(255,255,255,.32); }
.g-region.is-operating.is-selected { fill: #BDBDBD; }
.g-borders { fill: none; stroke: #8C8C8C; stroke-width: .7; pointer-events: none; vector-effect: non-scaling-stroke; }
.g-outline { fill: none; stroke: #FFFFFF; stroke-width: 1.4; pointer-events: none; vector-effect: non-scaling-stroke; }
.g-tip { position: absolute; pointer-events: none; background: #F2F2F2; color: #000; padding: 6px 10px; font-size: 13px; font-weight: 600; white-space: nowrap; z-index: 2; }
.g-legend { display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 13px; color: var(--muted-dark); }
.g-legend span { display: inline-flex; align-items: center; gap: 8px; }
.g-legend i { width: 18px; height: 12px; display: inline-block; border: 1px solid #fff; }
.g-legend i.op { background: #F2F2F2; }
.g-legend i.soon { background-image: repeating-linear-gradient(45deg, transparent 0 2px, #fff 2px 3.5px); }
.g-banner { border: 1px solid var(--line-mid); padding: 18px 20px; font-size: 16px; line-height: 1.7; background: linear-gradient(90deg, #1A1A1A, #000); }
.g-banner a { text-decoration: underline; white-space: nowrap; }
.g-panel { border: 1px solid var(--line-mid); padding: 24px; display: flex; flex-direction: column; gap: 12px; min-height: 120px; }
.g-panel .g-pill { align-self: flex-start; }
.g-panel h3 { font-family: var(--display); font-weight: 300; font-size: 28px; color: #fff; }
.g-panel p { color: var(--muted-dark); line-height: 1.7; max-width: 640px; }
.g-actions { display: flex; flex-wrap: wrap; gap: 10px; padding-top: 4px; }
.g-regions { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 0 24px; }
.g-source { font-size: 12px; color: #8C8C8C; }

.card-cat { font-family: var(--display); font-size: 11px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: #555555; }

/* =================================================================
   LIGHT MODE — the brand is pure greyscale, so light mode is an exact
   inversion: black becomes white, the gradients flip, logos turn black.
   ================================================================= */
html { background: #0D0D0D; }
html.light { filter: invert(1); }
html.theme-anim, html.theme-anim body { transition: filter .35s ease, background-color .35s ease; }
/* real photographs must not be inverted */
html.light .card-photo img, html.light img.photo, html.light video { filter: invert(1); }
.theme-toggle .ic-moon { display: none; }
html.light .theme-toggle .ic-sun { display: none; }
html.light .theme-toggle .ic-moon { display: block; }

/* =================================================================
   HOVER INVERSION — anything clickable flips black <-> white.
   A white layer in "difference" mode sweeps across the element and
   inverts exactly what is beneath it (works on any background,
   on the gradients and in light mode).
   ================================================================= */
.main-nav { gap: 0 4px; }
.main-nav a { padding: 12px 12px 8px; }
.foot-col a, .crumbs a, .brand { display: inline-flex; align-self: flex-start; }
.foot-col a { padding: 4px 8px; margin-left: -8px; }

:is(.main-nav a, .btn, .chip, .tab, .seg button, .icon-btn, a.tile, a.card, .foot-col a, .g-list button,
    .g-regions button, .g-chips button, .pager a, .app-side nav a, .faq summary, .crumbs a, a.list-row,
    .brand, [data-question], .g-banner a) {
  position: relative; overflow: hidden; isolation: auto;
}
:is(.main-nav a, .btn, .chip, .tab, .seg button, .icon-btn, a.tile, a.card, .foot-col a, .g-list button,
    .g-regions button, .g-chips button, .pager a, .app-side nav a, .faq summary, .crumbs a, a.list-row,
    .brand, [data-question], .g-banner a)::after {
  content: ""; position: absolute; inset: 0; background: #FFFFFF; mix-blend-mode: difference;
  pointer-events: none; transform: scaleX(0); transform-origin: left center;
  transition: transform .38s cubic-bezier(.7, 0, .2, 1);
}
:is(.main-nav a, .btn, .chip, .tab, .seg button, .icon-btn, a.tile, a.card, .foot-col a, .g-list button,
    .g-regions button, .g-chips button, .pager a, .app-side nav a, .faq summary, .crumbs a, a.list-row,
    .brand, [data-question], .g-banner a):focus-visible::after { transform: scaleX(1); }
@media (hover: hover) {
  :is(.main-nav a, .btn, .chip, .tab, .seg button, .icon-btn, a.tile, a.card, .foot-col a, .g-list button,
      .g-regions button, .g-chips button, .pager a, .app-side nav a, .faq summary, .crumbs a, a.list-row,
      .brand, [data-question], .g-banner a):hover::after { transform: scaleX(1); }
  :is(.main-nav a, .btn, .chip, .tab, .seg button, .icon-btn, a.tile, a.card, .foot-col a, .g-list button,
      .g-regions button, .g-chips button, .pager a, .app-side nav a, .faq summary, .crumbs a, a.list-row,
      .brand, [data-question], .g-banner a):hover { opacity: 1; }
  .g-list button:hover, .g-regions button:hover { background: transparent; }
  .btn-light:hover { background: linear-gradient(90deg, #FFFFFF 0%, #D2D2D2 100%); }
}
/* taps on phones get a quick flash */
:is(.main-nav a, .btn, .chip, .tab, .seg button, .icon-btn, a.tile, a.card, .foot-col a, .g-list button,
    .g-regions button, .g-chips button, .pager a, .app-side nav a, .faq summary, .crumbs a, a.list-row,
    .brand, [data-question], .g-banner a):active::after { transform: scaleX(1); transition-duration: .12s; }
/* real listing photos inside a card stay true to colour */
a.card .card-photo { position: relative; z-index: 1; }
html.light a.card .card-photo { z-index: 1; }
@media (prefers-reduced-motion: reduce) {
  :is(.main-nav a, .btn, .chip, .tab, .seg button, .icon-btn, a.tile, a.card, .foot-col a, .g-list button,
      .g-regions button, .g-chips button, .pager a, .app-side nav a, .faq summary, .crumbs a, a.list-row,
      .brand, [data-question], .g-banner a)::after { transition: none; }
}

/* Team portraits: black & white to match the brand, colour on hover */
.portrait { position: relative; overflow: hidden; background: #111; }
.portrait img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; filter: grayscale(1) contrast(1.05); transition: filter .5s ease; }
@media (hover: hover) { .portrait:hover img { filter: grayscale(0); } }
html.light .portrait img { filter: invert(1) grayscale(1) contrast(1.05); }
@media (hover: hover) { html.light .portrait:hover img { filter: invert(1); } }

/* Partner tiles: name and role; the brand logo appears on hover */
.partner { position: relative; min-height: 190px; background: linear-gradient(135deg, #000000 0%, #141414 60%, #2C2C2C 100%); outline: none; cursor: default; }
.partner-text { position: absolute; inset: 0; padding: 32px 26px; display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; transition: opacity .35s ease; }
.partner-text b { font-family: var(--display); font-weight: 300; font-size: 22px; color: #fff; line-height: 1.2; }
.partner-text span { font-size: 13px; color: var(--muted-dark); }
.partner-logo { position: absolute; inset: 0; background: #FFFFFF; display: flex; align-items: center; justify-content: center; padding: 22px; opacity: 0; transform: scale(1.04); transition: opacity .35s ease, transform .35s ease; }
.partner-logo img { max-width: 100%; max-height: 100%; object-fit: contain; display: block; }
.partner-logo.cover { padding: 0; background: #000; }
.partner-logo.cover img { width: 100%; height: 100%; object-fit: cover; }
.partner:hover .partner-logo, .partner:focus .partner-logo, .partner:focus-within .partner-logo { opacity: 1; transform: scale(1); }
.partner:hover .partner-text, .partner:focus .partner-text { opacity: 0; }
@media (hover: none) {
  /* phones and tablets: show the logo with the name beneath it */
  .partner { min-height: 0; display: flex; flex-direction: column; }
  .partner-logo { position: relative; opacity: 1; transform: none; height: 150px; order: 1; }
  .partner-text { position: relative; order: 2; padding: 18px 20px 22px; }
  .partner:hover .partner-text, .partner:focus .partner-text { opacity: 1; }
}
/* light mode: keep the logo panel white and the logos in their true colours */
html.light .partner-logo { background: #000000; }
html.light .partner-logo.cover { background: #FFFFFF; }

/* =================================================================
   PARTNER CARDS (v17) — uniform logos, white silhouettes at rest,
   card flips to white with the full-colour logo on hover.
   ================================================================= */
.pgrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 1000px) { .pgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .pgrid { grid-template-columns: 1fr; } }
.pcard { background: #111111; border: 1px solid #262626; padding: 34px 28px 28px; display: flex; flex-direction: column; gap: 28px; outline: none; transition: background-color .35s ease, border-color .35s ease; }
.pcard-logo { height: 84px; display: flex; align-items: center; justify-content: center; }
.pcard-logo img { height: var(--h, 56px); width: auto; max-width: 100%; object-fit: contain; filter: brightness(0) invert(1); opacity: .9; transition: filter .35s ease, opacity .35s ease; }
.pcard-text { display: flex; flex-direction: column; gap: 6px; padding-top: 20px; border-top: 1px solid #2E2E2E; transition: border-color .35s ease; }
.pcard-text b { font-family: var(--display); font-weight: 400; font-size: 17px; letter-spacing: .01em; color: #FFFFFF; transition: color .35s ease; }
.pcard-text span { font-family: var(--display); font-size: 11px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: #8C8C8C; transition: color .35s ease; }
.pcard:hover, .pcard:focus { background: #FFFFFF; border-color: #FFFFFF; }
.pcard:hover .pcard-logo img, .pcard:focus .pcard-logo img { filter: none; opacity: 1; }
.pcard:hover .pcard-text, .pcard:focus .pcard-text { border-color: #E0E0E0; }
.pcard:hover .pcard-text b, .pcard:focus .pcard-text b { color: #000000; }
.pcard:hover .pcard-text span, .pcard:focus .pcard-text span { color: #555555; }
/* light mode: same behaviour, logos keep their true colours on hover */
html.light .pcard:hover, html.light .pcard:focus { background: #000000; border-color: #000000; }
html.light .pcard:hover .pcard-logo img, html.light .pcard:focus .pcard-logo img { filter: invert(1); }
html.light .pcard:hover .pcard-text b, html.light .pcard:focus .pcard-text b { color: #FFFFFF; }
html.light .pcard:hover .pcard-text span, html.light .pcard:focus .pcard-text span { color: #AAAAAA; }
html.light .pcard:hover .pcard-text, html.light .pcard:focus .pcard-text { border-color: #1F1F1F; }
.pcard-logo { height: 100px; }
/* Chimera's gold mark lives on black */
.pcard.gold:hover, .pcard.gold:focus { background: #000000; border-color: #8A6D2F; }
.pcard.gold:hover .pcard-text, .pcard.gold:focus .pcard-text { border-color: #2E2E2E; }
.pcard.gold:hover .pcard-text b, .pcard.gold:focus .pcard-text b { color: #FFFFFF; }
.pcard.gold:hover .pcard-text span, .pcard.gold:focus .pcard-text span { color: #8C8C8C; }
/* light mode: hover lifts the card to white with a crisp edge; Chimera goes black */
html.light .pcard:hover, html.light .pcard:focus { background: #000000; border-color: #FFFFFF; }
html.light .pcard.gold:hover, html.light .pcard.gold:focus { background: #FFFFFF; border-color: #7592D0; }
html.light .pcard.gold:hover .pcard-text b, html.light .pcard.gold:focus .pcard-text b { color: #000000; }
html.light .pcard.gold:hover .pcard-text span, html.light .pcard.gold:focus .pcard-text span { color: #737373; }
html.light .pcard.gold:hover .pcard-text, html.light .pcard.gold:focus .pcard-text { border-color: #D1D1D1; }

/* Team cards */
.tgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 280px)); gap: 24px; }
.tcard { display: flex; flex-direction: column; border: 1px solid #DDDDDD; background: #FFFFFF; }
.tcard-photo { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: #111; }
.tcard-photo img { width: 100%; height: 100%; object-fit: cover; display: block; filter: grayscale(1) contrast(1.05); transition: filter .5s ease; }
@media (hover: hover) { .tcard:hover .tcard-photo img { filter: grayscale(0); } }
html.light .tcard-photo img { filter: invert(1) grayscale(1) contrast(1.05); }
@media (hover: hover) { html.light .tcard:hover .tcard-photo img { filter: invert(1); } }
.tcard-sil { width: 100%; height: 100%; display: block; }
.tcard-badge { position: absolute; top: 14px; left: 14px; background: #F2F2F2; color: #000; padding: 6px 10px; font-family: var(--display); font-size: 10px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; }
.tcard-text { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 6px; }
.tcard-text b { font-family: var(--display); font-weight: 400; font-size: 18px; color: #121212; }
.tcard-text span { font-family: var(--display); font-size: 11px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: #555; }

/* Linked partner cards */
a.pcard { color: inherit; text-decoration: none; cursor: pointer; }
a.pcard:hover { opacity: 1; }
.pcard-visit { margin-top: 10px; font-family: var(--display); font-size: 11px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: #BDBDBD !important; transition: color .35s ease; }
.pcard:hover .pcard-visit, .pcard:focus .pcard-visit { color: #000000 !important; }
.pcard.gold:hover .pcard-visit, .pcard.gold:focus .pcard-visit { color: #D4B26A !important; }
html.light .pcard:hover .pcard-visit, html.light .pcard:focus .pcard-visit { color: #FFFFFF !important; }
html.light .pcard.gold:hover .pcard-visit, html.light .pcard.gold:focus .pcard-visit { color: #2B4D95 !important; }

/* ===== Live auctions (v21) ===== */
[hidden] { display: none !important; }
.auction-card .lot-photo { flex: 0 1 380px; min-height: 240px; position: relative; display: block; overflow: hidden; background: linear-gradient(135deg, #000 0%, #2A2A2A 55%, #5E5E5E 100%); }
.auction-card .lot-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.auction-card .lot-photo:hover img { transform: scale(1.04); }
.auction-card .lot-photo .ph { position: absolute; inset: 0; width: 100%; height: 100%; }
.auction-card .lot-title { text-decoration: none; color: inherit; }
.auction-card .lot-title:hover { text-decoration: underline; text-underline-offset: 4px; }
.lot-price { font-size: 16px; }
.small { font-size: 13px; }
.badge-status { left: auto; right: 16px; background: #0D0D0D; color: #F2F2F2; border: 1px solid #5E5E5E; }
.badge-status.is-sold { background: #F2F2F2; color: #000; }
.badge-status.is-postponed, .badge-status.is-closed { background: repeating-linear-gradient(45deg, #0D0D0D 0 6px, #2A2A2A 6px 9px); }
.lot-side { display: flex; flex-direction: column; gap: 14px; min-width: 240px; flex: 0 1 300px; }
.lot-side .lot-actions { min-width: 0; }
.cd-label { font-size: 11px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: #555; }
.cd-mini { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.cd-mini div { border: 1px solid var(--line-light); padding: 10px 4px; display: flex; flex-direction: column; align-items: center; gap: 2px; }
.cd-mini b { font-family: var(--display); font-weight: 300; font-size: 24px; font-variant-numeric: tabular-nums; line-height: 1.1; }
.cd-mini span { font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: #555; }
.cd-done { margin: 0; font-family: var(--display); font-size: 15px; font-weight: 500; letter-spacing: .04em; grid-column: 1 / -1; }
.auction-empty { background: #fff; border: 1px solid var(--line-light); padding: 40px 32px; display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.auction-empty p { margin: 0; max-width: 560px; }
.ad-gallery { display: flex; flex-direction: column; gap: 10px; }
.ad-main { aspect-ratio: 16 / 9; max-height: 640px; width: 100%; overflow: hidden; background: #1C1C1C; }
.ad-main img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ad-main .ph { width: 100%; height: 100%; }
.ad-thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 8px; }
.ad-thumbs button { padding: 0; border: 2px solid transparent; background: none; cursor: pointer; aspect-ratio: 4 / 3; overflow: hidden; }
.ad-thumbs button[aria-pressed="true"] { border-color: var(--ink, #121212); }
.ad-thumbs img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ad-row { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line-light); font-size: 15px; }
.ad-row span { color: #555; }
.ad-row b { text-align: right; font-weight: 600; }
.ad-desc { margin: 0; white-space: pre-line; color: #333; line-height: 1.75; max-width: 760px; }
.ad-steps { margin: 0; padding-left: 22px; display: grid; gap: 10px; color: #333; }
.ad-state { margin: 0; font-family: var(--display); font-size: 22px; font-weight: 300; }
html.light .ad-main img, html.light .ad-thumbs img, html.light .auction-card .lot-photo img { filter: invert(1); }
@media (max-width: 640px) { .auction-card .lot-photo { flex-basis: 100%; min-height: 220px; } .lot-body { padding: 22px 20px; } .lot-side { min-width: 0; flex-basis: 100%; } }

/* ===== Live listings & property page (v22) ===== */
.card.is-closed .card-photo img, .card.is-closed .card-photo .ph { opacity: .55; }
.card.is-closed .badge { background: #121212; color: #F2F2F2; }
.pp-embed { position: relative; width: 100%; aspect-ratio: 16 / 9; background: #1C1C1C; border: 1px solid var(--line-light); }
.pp-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.pp-map { aspect-ratio: 16 / 8; }
.unit-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 1px; background: var(--line-light); border: 1px solid var(--line-light); }
.unit-list li { background: #fff; padding: 16px 20px; font-size: 16px; }
.pp-q { min-height: 44px; padding: 0 16px; background: transparent; color: #E6E6E6; border: 1px solid #3A3A3A; cursor: pointer; font-size: 14px; font-family: var(--body); }
.pp-q:hover { background: #F2F2F2; color: #000; }
.agent img.avatar { object-fit: cover; }
.pager[hidden] { display: none !important; }
html.light iframe, html.light .agent img.avatar { filter: invert(1); }
@media (max-width: 640px) { .pp-map { aspect-ratio: 4 / 3; } }

/* Home hero: the skyline rising behind a skyline-style QR code that opens the Zane chat (v27) */
.hero-qr-wrap { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.hero-qr-stage { position: relative; width: 100%; max-width: 330px; aspect-ratio: 330 / 607; }   /* skyline 86% tall, QR covers its lower half */
.hero-skyline { position: absolute; left: 50%; top: 0; height: 86%; width: auto; transform: translateX(-50%); pointer-events: none; user-select: none; }
.hero-qr { position: absolute; left: 50%; bottom: 0; width: 97%; transform: translateX(-50%); display: block; box-shadow: 0 -18px 50px rgba(0,0,0,.55), 0 24px 60px rgba(0,0,0,.45); transition: transform .25s ease; }
.hero-qr:hover { transform: translateX(-50%) translateY(-4px); }
.hero-qr img { display: block; width: 100%; height: auto; }
html.light .hero-qr img { filter: invert(1); }              /* stays black-on-light so every phone can scan it */
html.light .hero-qr { box-shadow: 0 -18px 50px rgba(255,255,255,.4), 0 24px 60px rgba(255,255,255,.35); }
.hero-qr-cap { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; }
.hero-qr-cap b { font-family: var(--display); font-size: 12px; font-weight: 500; letter-spacing: .28em; text-transform: uppercase; }
.hero-qr-cap span { font-size: 14px; color: var(--muted-dark); max-width: 300px; }
.hero-qr-btn { display: none; }
@media (max-width: 760px) {
  .hero-qr, .hero-qr-cap b { display: none; }
  .hero-qr-stage { max-width: 200px; aspect-ratio: 330 / 520; }
  .hero-skyline { height: 100%; }
  .hero-qr-btn { display: inline-flex; }
}
