/* Alberto & Betty | Realty ONE Group — original design.
   Palette: ivory + soft stone, charcoal text, muted gold accents. */
:root {
  --white: #ffffff;
  --ivory: #f9f6f0;
  --ivory-2: #f0e9dd;        /* soft stone */
  --stone: #e7dfd1;
  --line: #e6ded0;
  --ink: #1f1d1a;            /* charcoal */
  --ink-2: #47423b;
  --muted: #6a645b;          /* 5.4:1 on white, 5.0:1 on ivory */
  --gold: #ad8a52;           /* decorative only (borders, rules) */
  --gold-text: #7a5b27;      /* 6.0:1 on white for text/links */
  --gold-soft: #f1e6d2;
  --gold-light: #ecd3a6;     /* gold text on dark backgrounds */
  --ok: #2f6b3a; --ok-bg: #e8f2ea;
  --warn: #8a5a00; --warn-bg: #fbf1dc;
  --bad: #a3271f; --bad-bg: #fbe9e7;
  --info: #2b5a85; --info-bg: #e7eff7;
  --serif: 'Cormorant Garamond', 'Iowan Old Style', Georgia, 'Times New Roman', serif;
  --sans: Inter, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --radius: 6px;
  --radius-lg: 14px;
  --shadow: 0 1px 2px rgba(31, 29, 26, .05), 0 10px 30px rgba(31, 29, 26, .07);
  --shadow-lift: 0 2px 4px rgba(31, 29, 26, .06), 0 18px 44px rgba(31, 29, 26, .13);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --wrap: 1240px;
  --focus: 0 0 0 3px #fff, 0 0 0 5px #1c1b19;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--white); color: var(--ink); font: 400 1rem/1.6 var(--sans); }
img { max-width: 100%; display: block; }
a { color: var(--ink); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--gold-text); }
:focus-visible { outline: none; box-shadow: var(--focus); border-radius: 2px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.12; color: var(--ink); margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.3rem, 4.8vw, 3.7rem); line-height: 1.08; }
h2 { font-size: clamp(1.8rem, 3.2vw, 2.45rem); }
h3 { font-size: 1.45rem; }
p { margin: 0 0 1em; }
address { font-style: normal; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; background: var(--ink); color: #fff; padding: 10px 14px; z-index: 100; }
.skip-link:focus { top: 12px; color: #fff; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.center { text-align: center; }
.hint { color: var(--muted); font-size: .875rem; margin: .25rem 0; display: block; }
.note { background: var(--ivory); border-left: 3px solid var(--gold); padding: .7rem 1rem; font-size: .95rem; }
.eyebrow { text-transform: uppercase; letter-spacing: .16em; font-size: .78rem; font-weight: 600; color: var(--gold-text); margin-bottom: 1rem; }
.prewrap { white-space: pre-wrap; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .4rem; min-height: 46px; padding: .6rem 1.3rem; border-radius: var(--radius);
  border: 1px solid transparent; font: 500 .95rem/1.2 var(--sans); letter-spacing: .02em; text-decoration: none; cursor: pointer; background: none; color: var(--ink); }
.btn--primary { background: var(--ink); color: #fff; }
.btn--primary:hover { background: #000; color: #fff; }
.btn--gold { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.btn--gold:hover { background: #c4a26d; color: var(--ink); }
.btn--ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--ghost:hover { background: var(--ink); color: #fff; }
.btn--light { background: rgba(255,255,255,.94); color: var(--ink); border-color: var(--line); }
.btn--text { min-height: 0; padding: .2rem .3rem; text-decoration: underline; }
.btn--danger { border-color: var(--bad); color: var(--bad); }
.btn--danger:hover { background: var(--bad); color: #fff; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: progress; }
.link-arrow { font-weight: 500; text-decoration: none; border-bottom: 1px solid var(--gold); padding-bottom: 2px; }
.link-arrow::after { content: ' →'; }

/* ---------- header ---------- */
.preview-banner { background: var(--ink); color: #fff; text-align: center; font-size: .82rem; padding: .45rem 1rem; }
.topbar { background: var(--ivory); border-bottom: 1px solid var(--line); font-size: .8rem; color: var(--ink-2); }
.topbar__inner { display: flex; justify-content: space-between; gap: .5rem 1.5rem; flex-wrap: wrap; padding-top: .45rem; padding-bottom: .45rem; }
.topbar__agents { display: flex; gap: 1.25rem; flex-wrap: wrap; }
.topbar abbr { text-decoration: none; }
.site-header { background: var(--white); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
.site-header__inner { display: flex; align-items: center; gap: 1.5rem; min-height: 84px; }
.wordmark { display: flex; align-items: center; gap: 1rem; text-decoration: none; color: var(--ink); margin-right: auto; }
.wordmark__names { font-family: var(--serif); font-size: 1.85rem; font-weight: 600; line-height: 1; white-space: nowrap; }
.amp { color: var(--gold-text); font-style: italic; }
.wordmark__rule { width: 1px; align-self: stretch; background: var(--gold); margin: 14px 0; }
.brokerage-mark { display: flex; flex-direction: column; line-height: 1.2; }
.brokerage-logo { height: 36px; width: auto; padding: 4px 0; } /* clear space kept via padding/gap; never stretched */
.brokerage-mark--footer .brokerage-logo { height: 44px; margin-bottom: .5rem; }
.brokerage-name { font-weight: 600; font-size: 1rem; letter-spacing: .04em; text-transform: uppercase; }
.brokerage-name--with-logo { font-size: .78rem; }
.brokerage-office { font-size: .8rem; color: var(--muted); }
.primary-nav { display: flex; align-items: center; gap: 1.25rem; }
.primary-nav ul { display: flex; gap: 1.25rem; list-style: none; margin: 0; padding: 0; }
.primary-nav a { text-decoration: none; font-size: .93rem; font-weight: 500; padding: .5rem 0; border-bottom: 2px solid transparent; }
.primary-nav a[aria-current="page"], .primary-nav ul a:hover { border-bottom-color: var(--gold); color: var(--ink); }
.lang-switch { border: 1px solid var(--ink) !important; border-radius: var(--radius); padding: .35rem .6rem !important; font-size: .8rem !important; letter-spacing: .08em; }
.nav-toggle { display: none; }

@media (max-width: 1240px) {
  .site-header__inner { flex-wrap: wrap; min-height: 72px; gap: .75rem; padding-top: .6rem; padding-bottom: .6rem; }
  .wordmark__names { font-size: 1.5rem; }
  .js .nav-toggle { display: inline-flex; align-items: center; gap: .5rem; min-height: 44px; padding: .4rem .8rem; border: 1px solid var(--ink); background: #fff; border-radius: var(--radius); font: 500 .9rem var(--sans); cursor: pointer; }
  .nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after { display: block; width: 18px; height: 2px; background: var(--ink); position: relative; content: ''; }
  .nav-toggle__bars::before { position: absolute; top: -6px; } .nav-toggle__bars::after { position: absolute; top: 6px; }
  .primary-nav { width: 100%; flex-direction: column; align-items: stretch; gap: 0; padding-bottom: .5rem; }
  .js .primary-nav { display: none; }
  .js .primary-nav.is-open { display: flex; }
  .primary-nav ul { flex-direction: column; gap: 0; }
  .primary-nav ul a { display: block; padding: .8rem 0; border-bottom: 1px solid var(--line); }
  .lang-switch { align-self: flex-start; margin-top: .75rem; }
}
@media (max-width: 560px) {
  .wordmark { flex-wrap: wrap; gap: .35rem .75rem; }
  .wordmark__rule { display: none; }
  .brokerage-name { font-size: .78rem; }
  .topbar__inner { font-size: .74rem; }
}

/* ---------- hero ---------- */
.hero { background: linear-gradient(180deg, var(--ivory) 0%, var(--white) 100%); border-bottom: 1px solid var(--line); }
.hero__inner { padding-top: clamp(3rem, 8vw, 6.5rem); padding-bottom: clamp(3rem, 7vw, 5.5rem); text-align: center; max-width: 980px; }
.hero__title { font-size: clamp(2.5rem, 6.5vw, 4.6rem); margin-bottom: 1.2rem; }
.hero__lead { font-size: clamp(1.05rem, 2vw, 1.25rem); color: var(--ink-2); max-width: 680px; margin: 0 auto 2.2rem; }
.hero-search { display: grid; grid-template-columns: 1fr auto auto auto; gap: 0; background: #fff; border: 1px solid var(--ink); border-radius: var(--radius); box-shadow: var(--shadow); max-width: 900px; margin: 0 auto; text-align: left; }
.hero-search input, .hero-search select { border: 0; border-right: 1px solid var(--line); min-height: 60px; padding: 0 1.1rem; font: 400 1rem var(--sans); background: transparent; color: var(--ink); min-width: 0; }
.hero-search .btn { border-radius: 0 3px 3px 0; min-height: 60px; padding: 0 1.8rem; }
.hero__actions { margin-top: 1.5rem; display: flex; gap: .75rem; justify-content: center; flex-wrap: wrap; }
@media (max-width: 720px) {
  .hero-search { grid-template-columns: 1fr 1fr; }
  .hero-search input { grid-column: 1 / -1; border-right: 0; border-bottom: 1px solid var(--line); }
  .hero-search select:nth-of-type(2) { border-right: 0; }
  .hero-search .btn { grid-column: 1 / -1; border-radius: 0 0 3px 3px; }
}

/* ---------- sections ---------- */
.section { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.section-tight { padding: 1rem 0 3rem; }
.section--ivory { background: var(--ivory); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section--dark { background: var(--ink); color: #f4efe6; }
.section--dark h2 { color: #fff; }
.section--dark a { color: #fff; }
.section__head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; flex-wrap: wrap; margin-bottom: 2rem; }
.section__head h2 { margin: 0; }
.section__head--center { flex-direction: column; align-items: center; text-align: center; }
.section__lead { color: var(--ink-2); max-width: 640px; margin: .75rem 0 0; }
.section__title { margin-bottom: 1.5rem; }
.data-notice { font-size: .8rem; color: var(--muted); margin-top: 2rem; max-width: 900px; }

/* ---------- cards ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 2rem 1.75rem; }
.card { display: flex; flex-direction: column; background: #fff; }
.card__media { position: relative; display: block; text-decoration: none; aspect-ratio: 3 / 2; overflow: hidden; background: var(--ivory-2); border-radius: var(--radius); }
.card__media img, .card__media .photo-fallback { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.card:hover .card__media img { transform: scale(1.025); }
.card__media .badge { position: absolute; top: 12px; left: 12px; }
.card__body { padding: 1rem .1rem 0; }
.card__price { font-family: var(--serif); font-size: 1.65rem; font-weight: 600; margin: 0 0 .1rem; }
.card__title { font-family: var(--sans); font-size: 1rem; font-weight: 600; margin: 0; }
.card__title a { text-decoration: none; }
.card__title a::after { content: ''; position: absolute; inset: 0; } /* whole card clickable */
.card { position: relative; }
.card__city { color: var(--ink-2); margin: 0 0 .35rem; font-size: .95rem; }
.card__facts { margin: 0 0 .35rem; font-size: .92rem; }
.card__demo { margin: 0 0 .3rem; font-size: .75rem; font-weight: 600; color: var(--bad); text-transform: uppercase; letter-spacing: .05em; }
.note--demo { border-left-color: var(--bad); }
.card__meta { margin: 0; font-size: .8rem; color: var(--muted); }
.badge { display: inline-block; padding: .25rem .6rem; font-size: .72rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; border-radius: 2px; background: #fff; color: var(--ink); border: 1px solid var(--ink); }
.badge--active { background: var(--ink); color: #fff; }
.badge--coming_soon { background: var(--gold-soft); border-color: var(--gold); color: var(--ink); }
.badge--contingent { background: #fff; border-color: var(--gold-text); color: var(--gold-text); }
.badge--pending { background: #fff4e0; border-color: var(--warn); color: var(--warn); }
.badge--sold { background: var(--bad); border-color: var(--bad); color: #fff; }
.photo-fallback { display: flex; align-items: center; justify-content: center; background: var(--ivory-2) url('/img/placeholder-home.svg') center 42% / 72px no-repeat; color: var(--muted); font-size: .85rem; aspect-ratio: 3 / 2; width: 100%; }
.photo-fallback span { margin-top: 90px; }
.empty { text-align: center; background: var(--ivory); border: 1px solid var(--line); padding: 3rem 1.5rem; border-radius: var(--radius); }
.empty__actions { display: flex; gap: .75rem; justify-content: center; flex-wrap: wrap; }

/* ---------- agents ---------- */
.agent-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; margin-bottom: 2rem; }
.agent-card { display: grid; grid-template-columns: 160px 1fr; gap: 1.5rem; align-items: start; background: #fff; border: 1px solid var(--line); padding: 1.5rem; border-radius: var(--radius); }
.agent-card__name { margin-bottom: .2rem; }
.agent-card__license { font-size: .85rem; color: var(--muted); margin-bottom: .75rem; }
.agent-card__links { display: flex; flex-direction: column; gap: .3rem; font-size: .95rem; margin: 0; }
.headshot { width: 160px; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); background: var(--ivory-2); }
.headshot--lg { width: 100%; max-width: 420px; }
.headshot--placeholder { display: flex; flex-direction: column; align-items: center; justify-content: center; border: 1px dashed var(--gold); color: var(--muted); text-align: center; padding: .5rem; }
.headshot__initials { font-family: var(--serif); font-size: 2.6rem; color: var(--gold-text); }
.headshot--lg .headshot__initials { font-size: 4.5rem; }
.headshot__note { font-size: .75rem; text-transform: uppercase; letter-spacing: .1em; }
@media (max-width: 860px) { .agent-pair { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .agent-card { grid-template-columns: 1fr; } .headshot { width: 140px; } }

.profiles { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; padding-bottom: 2rem; }
.profile { display: flex; flex-direction: column; gap: 1.5rem; }
.profile__name { margin-bottom: .25rem; }
.profile__license { margin-bottom: .1rem; }
.profile__brokerage { color: var(--muted); font-size: .92rem; }
.profile__contacts { list-style: none; padding: 0; margin: 1.25rem 0 0; border-top: 1px solid var(--line); }
.profile__contacts li { display: flex; justify-content: space-between; gap: 1rem; padding: .8rem 0; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.profile__contacts span { color: var(--muted); font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; }
@media (max-width: 860px) { .profiles { grid-template-columns: 1fr; } }
/* One-agent site: photo beside the bio instead of a two-column team grid. */
.profiles--solo { grid-template-columns: 1fr; }
@media (min-width: 861px) {
  .profiles--solo .profile { display: grid; grid-template-columns: minmax(0, 420px) 1fr; gap: 3rem; align-items: start; }
}

/* ---------- services ---------- */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.service { border-top: 2px solid var(--gold); padding-top: 1.25rem; }
@media (max-width: 860px) { .services { grid-template-columns: 1fr; } }
.cta { display: grid; grid-template-columns: 1.2fr 1.5fr auto; gap: 2rem; align-items: center; }
.cta p { color: #e6dfd2; }
@media (max-width: 960px) { .cta { grid-template-columns: 1fr; } }

.agent-contacts { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.25rem; }
.agent-contacts--compact { grid-template-columns: 1fr 1fr; }
@media (max-width: 560px) { .agent-contacts--compact { grid-template-columns: 1fr; } }
.agent-contact__name { font-weight: 600; margin: 0; }
.agent-contact__license { font-size: .82rem; margin: 0 0 .3rem; opacity: .85; }
.agent-contact__links { display: flex; flex-direction: column; gap: .2rem; margin: 0; font-size: .95rem; word-break: break-word; }

/* ---------- page heads ---------- */
.page-title { margin-top: 2.5rem; }
.narrow-head { max-width: 820px; padding-bottom: 1.5rem; }
.page-lead { font-size: 1.15rem; color: var(--ink-2); }
.two-col { display: grid; grid-template-columns: 1.15fr 1fr; gap: 3.5rem; padding-bottom: 4rem; align-items: start; }
@media (max-width: 960px) { .two-col { grid-template-columns: 1fr; gap: 2rem; } }
.sticky { position: sticky; top: 104px; }
@media (max-width: 960px) { .sticky { position: static; } }
.steps { list-style: none; counter-reset: s; padding: 0; margin: 0 0 1.5rem; }
.steps li { counter-increment: s; position: relative; padding: 0 0 1.25rem 3.25rem; border-left: 1px solid var(--line); margin-left: 1rem; }
.steps li::before { content: counter(s); position: absolute; left: -1rem; top: -.1rem; width: 2rem; height: 2rem; border-radius: 50%; background: #fff; border: 1px solid var(--gold); color: var(--gold-text); display: flex; align-items: center; justify-content: center; font-weight: 600; font-size: .9rem; }
.steps h3 { font-family: var(--sans); font-size: 1.02rem; font-weight: 600; margin: 0 0 .25rem; }
.callout { background: var(--ivory); padding: 1rem 1.25rem; border: 1px solid var(--line); font-size: .9rem; border-radius: var(--radius); }
.callout p:last-child { margin: 0; }
.office { margin-top: 2rem; border-top: 1px solid var(--line); padding-top: 1.5rem; }

/* ---------- search ---------- */
.search-layout { padding-bottom: 4rem; }
.search-form { background: var(--ivory); border: 1px solid var(--line); padding: 1.25rem; border-radius: var(--radius); margin-bottom: 1.5rem; }
.search-form__main, .search-form__extra { display: grid; grid-template-columns: 2fr repeat(5, 1fr); gap: .9rem; align-items: end; }
.search-form__extra { grid-template-columns: repeat(5, 1fr); margin-top: .9rem; }
.search-form__more summary { cursor: pointer; margin-top: 1rem; font-weight: 500; width: max-content; }
.search-form__actions { display: flex; gap: .75rem; align-items: center; margin-top: 1rem; }
@media (max-width: 1000px) { .search-form__main { grid-template-columns: 1fr 1fr 1fr; } .search-form__main .field--grow { grid-column: 1 / -1; } .search-form__extra { grid-template-columns: 1fr 1fr 1fr; } }
@media (max-width: 600px) { .search-form__main, .search-form__extra { grid-template-columns: 1fr 1fr; } }
.results-bar { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.results-count { margin: 0; }
.sort-form { display: flex; align-items: center; gap: .5rem; }
.sort-form select { min-height: 42px; }
.pager { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; margin-top: 2.5rem; gap: 1rem; }
.pager ol { list-style: none; display: flex; gap: .35rem; padding: 0; margin: 0; }
.pager ol a { display: inline-flex; min-width: 42px; min-height: 42px; align-items: center; justify-content: center; border: 1px solid var(--line); text-decoration: none; border-radius: var(--radius); }
.pager ol a[aria-current="page"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.pager__link[rel="next"] { justify-self: end; }
.external-search { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.external-search p { font-size: .85rem; color: var(--muted); margin: .25rem 0 0; }

/* ---------- forms ---------- */
.field { margin-bottom: 1rem; }
.field label, .fieldset legend { display: block; font-weight: 500; font-size: .92rem; margin-bottom: .3rem; }
.field--compact { margin: 0; }
.field--compact label { font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-2); }
.req { color: var(--bad); }
.opt { color: var(--muted); font-weight: 400; font-size: .85em; }
input[type=text], input[type=email], input[type=tel], input[type=search], input[type=date], input[type=password], input[type=url], input:not([type]), select, textarea {
  width: 100%; min-height: 46px; padding: .55rem .75rem; font: 400 1rem var(--sans); color: var(--ink); background: #fff; border: 1px solid #a8a196; border-radius: var(--radius); }
textarea { min-height: 96px; resize: vertical; }
input:focus-visible, select:focus-visible, textarea:focus-visible { border-color: var(--ink); }
.field--error input, .field--error select, .field--error textarea { border-color: var(--bad); border-width: 2px; }
.field-error { color: var(--bad); font-size: .88rem; font-weight: 500; margin: .2rem 0 .35rem; }
.field-error::before { content: '⚠ '; }
.fieldset { border: 0; padding: 0; margin: 0 0 1rem; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }
@media (max-width: 520px) { .grid-2 { grid-template-columns: 1fr; } }
.check, .radio { display: flex; gap: .6rem; align-items: flex-start; margin: .35rem 0 1rem; }
.check input, .radio input { width: 20px; height: 20px; margin-top: .15rem; flex: none; accent-color: var(--ink); }
.check label { font-size: .9rem; }
.radios { display: flex; gap: .25rem 1.25rem; flex-wrap: wrap; }
.radios .radio { margin: 0; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form { background: #fff; border: 1px solid var(--line); padding: 1.5rem; border-radius: var(--radius); box-shadow: var(--shadow); }
.form__title { font-size: 1.6rem; }
.form__note { font-size: .92rem; background: var(--ivory); padding: .65rem .85rem; border-left: 3px solid var(--gold); }
.form__property { font-size: .88rem; margin-bottom: 1rem; color: var(--ink-2); }
.form__fine { font-size: .8rem; margin: .75rem 0 0; color: var(--muted); }
.form__fine a { color: var(--muted); }
.error-summary { border: 2px solid var(--bad); background: var(--bad-bg); padding: 1rem 1.1rem; margin-bottom: 1.25rem; border-radius: var(--radius); }
.error-summary__title { font-family: var(--sans); font-size: 1rem; font-weight: 600; margin: 0 0 .4rem; color: var(--bad); }
.error-summary ul { margin: 0; padding-left: 1.2rem; }
.error-summary a { color: var(--bad); }

/* ---------- property ---------- */
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: .25rem; padding: 0; margin: 1.25rem 0; font-size: .85rem; color: var(--muted); }
.breadcrumb li + li::before { content: '/'; margin: 0 .4rem; color: var(--line); }
.breadcrumb a { color: var(--muted); }
.gallery__grid { display: grid; gap: 8px; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: repeat(2, minmax(0, 260px)); position: relative; }
.gallery__grid--1 { grid-template-columns: 1fr; grid-template-rows: minmax(0, 560px); }
.gallery__grid--2 { grid-template-columns: 2fr 1fr; grid-template-rows: minmax(0, 520px); }
.gallery__grid--3, .gallery__grid--4 { grid-template-columns: 2fr 1fr; }
.gallery__grid--4 .gallery__item:nth-child(4) { display: none; }
.gallery__item { display: block; overflow: hidden; text-decoration: none; background: var(--ivory-2); border-radius: var(--radius); }
.gallery__item img, .gallery__item .photo-fallback { width: 100%; height: 100%; object-fit: cover; aspect-ratio: auto; }
.gallery__item--main { grid-row: 1 / -1; }
.gallery__all { position: absolute; right: 14px; bottom: 14px; }
.gallery__none .photo-fallback { max-height: 420px; border-radius: var(--radius); }
@media (max-width: 760px) {
  .gallery__grid, .gallery__grid--2, .gallery__grid--3, .gallery__grid--4, .gallery__grid--5 { grid-template-columns: 1fr; grid-template-rows: auto; }
  .gallery__item:not(.gallery__item--main) { display: none; }
  .gallery__item--main { aspect-ratio: 3 / 2; }
}
.lightbox { width: min(1200px, 100vw); height: min(900px, 100vh); max-width: 100vw; max-height: 100vh; padding: 0; border: 0; background: #0d0d0c; color: #fff; }
.lightbox::backdrop { background: rgba(0,0,0,.88); }
.lightbox__bar { display: flex; justify-content: space-between; align-items: center; padding: .5rem 1rem; }
.lightbox__count { margin: 0; font-size: .9rem; }
.lightbox__close { background: none; border: 0; color: #fff; font-size: 2rem; cursor: pointer; min-width: 44px; min-height: 44px; }
.lightbox__img { width: 100%; height: calc(100% - 64px); object-fit: contain; }
.lightbox__nav { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,.12); border: 0; color: #fff; font-size: 2.5rem; width: 52px; height: 72px; cursor: pointer; }
.lightbox__nav--prev { left: 8px; } .lightbox__nav--next { right: 8px; }
.property { display: grid; grid-template-columns: 1fr 420px; gap: 3.5rem; padding-top: 2rem; padding-bottom: 4rem; align-items: start; }
@media (max-width: 1040px) { .property { grid-template-columns: 1fr; gap: 2rem; } }
.property__title { font-size: clamp(1.9rem, 4vw, 2.8rem); margin: .5rem 0 .4rem; }
.property__city { display: block; font-family: var(--sans); font-size: 1.05rem; font-weight: 400; color: var(--ink-2); margin-top: .35rem; }
.property__price { font-family: var(--serif); font-size: 2.3rem; font-weight: 600; margin: .5rem 0 .25rem; }
.property__facts { font-size: 1.05rem; }
.property__verified { font-size: .92rem; background: var(--ivory); padding: .7rem .9rem; border-radius: var(--radius); }
.property__cta { display: flex; gap: .75rem; flex-wrap: wrap; }
.property__section { padding: 2rem 0; border-top: 1px solid var(--line); }
.prose p { max-width: 72ch; }
.feature-list { columns: 2; padding-left: 1.1rem; }
@media (max-width: 560px) { .feature-list { columns: 1; } }
.details { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 0 2rem; margin: 0; }
.details div { border-bottom: 1px solid var(--line); padding: .7rem 0; display: flex; justify-content: space-between; gap: 1rem; }
.details dt { color: var(--muted); font-size: .9rem; }
.details dd { margin: 0; font-weight: 500; text-align: right; }
.details--compact { grid-template-columns: 1fr; }
.attribution { font-size: .95rem; }
.embed { aspect-ratio: 16 / 9; } .embed iframe { width: 100%; height: 100%; border: 0; }
.map { height: 340px; background: var(--ivory-2); border-radius: var(--radius); }
.side-contacts { margin-top: 1.5rem; padding: 1.25rem 1.5rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--ivory); }
.side-contacts h2 { font-size: 1.3rem; }
.original summary { cursor: pointer; font-weight: 500; }

/* ---------- confirmation / legal ---------- */
.confirm { padding: 3rem 20px 5rem; }
.confirm__box { max-width: 720px; margin: 0 auto; text-align: center; background: var(--ivory); border: 1px solid var(--line); padding: 2.5rem 1.5rem; border-radius: var(--radius); }
.confirm__box .page-title { margin-top: 0; }
.confirm__msg { font-size: 1.2rem; max-width: 560px; margin: 0 auto 1rem; }
.confirm__box .agent-contacts { text-align: left; max-width: 520px; margin: 0 auto 1.5rem; }
.confirm__actions { display: flex; gap: .75rem; justify-content: center; flex-wrap: wrap; }
.legal { max-width: 820px; padding-bottom: 4rem; }
.legal h2 { font-size: 1.5rem; margin-top: 2rem; }

/* ---------- footer ---------- */
.site-footer { background: var(--ivory); border-top: 1px solid var(--line); padding: 3.5rem 0 2rem; font-size: .92rem; }
.footer-grid { display: grid; grid-template-columns: 1fr 1.6fr 1fr; gap: 2.5rem; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-h { font-family: var(--sans); font-size: .78rem; font-weight: 600; text-transform: uppercase; letter-spacing: .14em; color: var(--gold-text); margin-bottom: 1rem; }
.site-footer address { margin-top: .75rem; }
.footer-note { font-size: .82rem; color: var(--muted); margin-top: .75rem; }
.footer-agents { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
@media (max-width: 560px) { .footer-agents { grid-template-columns: 1fr; } }
.footer-agent p { margin: 0 0 .15rem; word-break: break-word; }
.footer-agent__name { font-weight: 600; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: .45rem; }
.footer-legal { border-top: 1px solid var(--line); margin-top: 2.5rem; padding-top: 1.5rem; font-size: .8rem; color: var(--muted); }
.eho { display: flex; gap: .5rem; align-items: flex-start; color: var(--ink-2); }
.eho svg { flex: none; margin-top: .1rem; }

/* ---------- preview gate ---------- */
.gate { background: var(--ivory); display: flex; min-height: 100vh; align-items: center; justify-content: center; padding: 20px; }
.gate__box { background: #fff; border: 1px solid var(--line); padding: 2.5rem 2rem; max-width: 440px; width: 100%; box-shadow: var(--shadow); border-radius: var(--radius); }
.gate__box h1 { font-size: 1.8rem; margin-top: 1rem; }
.gate__brokerage { font-size: .82rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.gate__box label { display: block; font-weight: 500; margin: .75rem 0 .3rem; }
.gate__box .btn { margin-top: 1rem; }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; } }
@media print { .site-header, .topbar, .site-footer, .property__side, .preview-banner { display: none; } }

/* =================== ADMIN =================== */
.admin { background: #f7f5f0; font-size: .95rem; }
.admin-header { background: var(--ink); color: #fff; display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1.5rem; padding: .6rem 1.25rem; }
.admin-header a { color: #fff; }
.admin-brand { font-family: var(--serif); font-size: 1.35rem; text-decoration: none; }
.admin-brand span { font-family: var(--sans); font-size: .7rem; text-transform: uppercase; letter-spacing: .15em; color: var(--gold); margin-left: .35rem; }
.admin-header nav ul { list-style: none; display: flex; flex-wrap: wrap; gap: .1rem .9rem; margin: 0; padding: 0; }
.admin-header nav a { text-decoration: none; font-size: .9rem; padding: .3rem 0; border-bottom: 2px solid transparent; }
.admin-header nav a[aria-current="page"] { border-bottom-color: var(--gold); }
.admin-user { margin-left: auto; display: flex; gap: .75rem; align-items: center; font-size: .82rem; flex-wrap: wrap; }
.admin-user .btn--text { color: #fff; font-size: .82rem; }
.admin-main { max-width: 1320px; margin: 0 auto; padding: 1.5rem 1.25rem 4rem; }
.admin h1 { font-size: 2rem; }
.admin h2 { font-size: 1.4rem; margin-top: 1.5rem; }
.admin-narrow { max-width: 460px; margin: 2rem auto; }
.ahead { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; }
.ahead p { margin: 0; display: flex; gap: .5rem; flex-wrap: wrap; align-items: center; }
.acols { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
@media (max-width: 900px) { .acols { grid-template-columns: 1fr; } }
.panel { background: #fff; border: 1px solid var(--line); padding: 1.25rem; border-radius: var(--radius); margin-bottom: 1.5rem; }
.panel h2 { margin-top: 0; }
.panel h3 { margin-top: 2rem; padding-top: 1.25rem; border-top: 1px solid var(--line); }
.panel--confirm { border: 2px solid var(--ink); }
.aform label { display: block; font-weight: 500; margin: .6rem 0 .25rem; }
.aform .btn { margin-top: .75rem; }
.aform fieldset { border: 1px solid var(--line); background: #fff; border-radius: var(--radius); padding: 1rem 1.25rem; margin: 0 0 1.25rem; }
.aform legend { font-weight: 600; padding: 0 .4rem; }
.afields { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: .25rem 1.25rem; }
.afield--wide { grid-column: 1 / -1; }
.afield--check { display: flex; gap: .6rem; align-items: flex-start; margin: .6rem 0; }
.afield--check input { width: 20px; height: 20px; margin-top: .2rem; flex: none; }
.afield--check label { margin: 0; font-weight: 400; }
.mono, code { font-family: ui-monospace, 'Cascadia Mono', Consolas, monospace; font-size: .85em; }
.inline { display: inline; }
.inline-form { display: flex; gap: .5rem; align-items: end; flex-wrap: wrap; margin-top: .75rem; }
.inline-form label { width: 100%; }
.inline-form input { max-width: 420px; }
.afilters { display: flex; flex-wrap: wrap; gap: .5rem .75rem; align-items: center; background: #fff; border: 1px solid var(--line); padding: .75rem 1rem; margin: 1rem 0; border-radius: var(--radius); }
.afilters label { font-size: .82rem; font-weight: 500; }
.afilters input, .afilters select { width: auto; min-width: 140px; min-height: 40px; }
.table-wrap { overflow-x: auto; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.atable { width: 100%; border-collapse: collapse; }
.atable th, .atable td { text-align: left; padding: .6rem .75rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.atable thead th { background: var(--ivory); font-size: .8rem; text-transform: uppercase; letter-spacing: .05em; }
.atable tbody th { font-weight: 500; }
.atable select { min-width: 220px; }
.abadge { display: inline-block; padding: .1rem .5rem; border-radius: 999px; font-size: .75rem; font-weight: 600; background: #eee; color: #333; }
.abadge--ok { background: var(--ok-bg); color: var(--ok); }
.abadge--warn { background: var(--warn-bg); color: var(--warn); }
.abadge--bad { background: var(--bad-bg); color: var(--bad); }
.abadge--info { background: var(--info-bg); color: var(--info); }
.flash { padding: .8rem 1rem; border-radius: var(--radius); margin: 0 0 1rem; border: 1px solid; }
.flash ul { margin: .4rem 0 0; padding-left: 1.2rem; }
.flash--ok { background: var(--ok-bg); border-color: #b7d6bd; color: #1f4a28; }
.flash--warn { background: var(--warn-bg); border-color: #ecd29b; color: #5e3e00; }
.flash--error { background: var(--bad-bg); border-color: #efb9b3; color: #7a1b15; }
.flash--password { background: var(--ok-bg); }
.warn { color: var(--warn); } .bad { color: var(--bad); }
.stats { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: .75rem; margin: 1rem 0 1.5rem; }
.stat { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: .9rem 1rem; text-decoration: none; display: flex; flex-direction: column; }
.stat--on { border: 2px solid var(--ink); }
.stat__n { font-family: var(--serif); font-size: 2rem; font-weight: 600; line-height: 1; }
.stat__l { font-size: .8rem; color: var(--muted); margin-top: .3rem; }
.stats--small .stat__n { font-size: 1.6rem; }
.alerts ul { list-style: none; padding: 0; margin: 0 0 1rem; display: grid; gap: .4rem; }
.alert { padding: .6rem .9rem; border-radius: var(--radius); border-left: 4px solid; background: #fff; }
.alert--bad { border-color: var(--bad); } .alert--warn { border-color: var(--warn); } .alert--info { border-color: var(--info); }
.quick { background: #fff; border: 1px solid var(--line); padding: 1rem 1.25rem; border-radius: var(--radius); margin-bottom: 1.5rem; }
.quick h2 { margin-top: 0; }
.quick__form { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; margin-bottom: .6rem; }
.quick__form label { font-weight: 500; font-size: .85rem; }
.quick__form input, .quick__form select { width: auto; min-width: 150px; }
.quick__row { display: flex; gap: .75rem; flex-wrap: wrap; align-items: center; margin-top: .75rem; }
.photo-admin { list-style: decimal inside; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 1rem; }
.photo-admin li { background: #fff; border: 1px solid var(--line); padding: .5rem; border-radius: var(--radius); }
.photo-admin img { width: 100%; height: 110px; object-fit: cover; background: var(--ivory-2); margin: .25rem 0; }
.photo-admin__ops { display: flex; flex-wrap: wrap; gap: .25rem; }
.adl { display: grid; grid-template-columns: 170px 1fr; gap: .4rem 1rem; }
.adl dt { color: var(--muted); } .adl dd { margin: 0; }
@media (max-width: 560px) { .adl { grid-template-columns: 1fr; } .adl dd { margin-bottom: .5rem; } }
.notes { list-style: none; padding: 0; }
.notes li { border-left: 3px solid var(--gold); padding: .3rem .8rem; margin-bottom: .6rem; background: var(--ivory); }
.notes p { margin: 0; }
.mailbox { border: 1px solid var(--line); border-radius: var(--radius); padding: .6rem .8rem; margin-bottom: .6rem; }
.errs { color: var(--bad); margin: 0; padding-left: 1rem; }
.warns { color: var(--warn); margin: 0; padding-left: 1rem; }
.changes { margin: 0; padding-left: 1rem; }
.apager { display: flex; gap: 1rem; margin-top: 1rem; align-items: center; }
.thumb { object-fit: cover; border-radius: var(--radius); }
.pw { font-size: 1.1rem; background: #fff; padding: .15rem .4rem; user-select: all; }
.mapping select { min-width: 240px; }

/* Import mapping: presets and "today" option */
.mapping__today { display: flex; gap: .4rem; align-items: center; margin-top: .35rem; font-size: .85rem; }
.mapping__today input { width: 18px; height: 18px; min-height: 0; flex: none; }
.preset-list { list-style: none; padding: 0; margin: 0 0 .75rem; }
.preset-list li { padding: .45rem 0; border-bottom: 1px solid var(--line); }

/* Find-me-a-home prompts */
.find-cta { display: flex; gap: 1rem 2rem; align-items: center; justify-content: space-between; flex-wrap: wrap; background: var(--ivory); border: 1px solid var(--line); border-left: 3px solid var(--gold); border-radius: var(--radius); padding: 1.25rem 1.5rem; margin: 2rem 0 0; }
.find-cta__title { font-size: 1.35rem; margin: 0 0 .25rem; }
.find-cta p { margin: 0; max-width: 60ch; }
.side-contacts__find { font-size: .92rem; margin: 1rem 0 0; padding-top: 1rem; border-top: 1px solid var(--line); }
.check.field--error label { color: inherit; }
.check .field-error { display: block; }

/* Market reports */
.report-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.5rem; }
.report-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem 1.5rem; display: flex; flex-direction: column; gap: .5rem; }
.report-card__title { font-size: 1.45rem; margin: 0; }
.report-card__title a { text-decoration: none; }
.report-card__period { color: var(--muted); font-size: .88rem; margin: 0; }
.report-card__stats { margin: .5rem 0 .75rem; }
.report-card__stats div { display: flex; justify-content: space-between; gap: 1rem; padding: .4rem 0; border-bottom: 1px solid var(--line); }
.report-card__stats dt { color: var(--muted); font-size: .9rem; }
.report-card__stats dd { margin: 0; font-weight: 600; }
.report-card .link-arrow { align-self: flex-start; margin-top: auto; }
.mstats { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 1rem; margin: 0 0 2.5rem; }
.mstat { background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--gold); border-radius: var(--radius); padding: 1.1rem 1.25rem; display: flex; flex-direction: column-reverse; }
.mstat dt { color: var(--muted); font-size: .82rem; text-transform: uppercase; letter-spacing: .06em; }
.mstat dd { margin: 0 0 .25rem; font-family: var(--serif, Georgia, serif); font-size: 2rem; line-height: 1.15; font-weight: 600; }
.report-summary { max-width: 760px; margin-bottom: 2rem; }
.report-legal { border-top: 1px solid var(--line); padding-top: 1.25rem; max-width: 900px; }
.mls-notice { font-size: .9rem; font-weight: 500; margin: 0; }
.report-legal .data-notice { margin-top: .5rem; }
.report-next { background: var(--ivory); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; margin: 2.5rem 0 2rem; }
.report-next h2 { margin-top: 0; font-size: 1.5rem; }
.report-next__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.5rem 2.5rem; }
.report-next__grid p { margin: 0 0 .75rem; }

/* Long confirmation lists scroll inside their panel */
.table-wrap--scroll { max-height: 420px; overflow-y: auto; margin-top: 1rem; }

/* Listing page with no photos: a slim band instead of a large empty block */
.gallery__none .photo-fallback { aspect-ratio: auto; height: clamp(150px, 20vw, 210px); max-height: none; background-position: center 38%; }
.gallery__none .photo-fallback span { margin-top: 84px; }

/* =================== ELEGANT REFRESH (public site) ===================
   Visual layer only: spacing, type, color, motion. Layout and content
   (brokerage name, licenses, notices, preview banner) are unchanged. */
body:not(.admin) { background: var(--white); color: var(--ink); font-size: 1.02rem; line-height: 1.7; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
::selection { background: var(--gold-soft); color: var(--ink); }
.eyebrow { letter-spacing: .22em; font-size: .74rem; font-weight: 500; display: inline-flex; align-items: center; gap: .75rem; }
.eyebrow::before { content: ''; width: 28px; height: 1px; background: currentColor; opacity: .7; }

/* Buttons: quiet, tracked, with a soft lift on hover */
.btn { min-height: 48px; padding: .7rem 1.55rem; border-radius: 3px; font-size: .82rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease), transform .25s var(--ease); }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: none; }
.btn--primary:hover { background: #33302b; box-shadow: 0 8px 22px rgba(31,29,26,.18); }
.btn--gold { background: var(--gold); border-color: var(--gold); color: #1a1714; }
.btn--gold:hover { background: #bb9a64; border-color: #bb9a64; box-shadow: 0 8px 22px rgba(122,91,39,.25); }
.btn--ghost:hover { box-shadow: 0 8px 22px rgba(31,29,26,.14); }
.btn--text, .btn--text:hover { transform: none; text-transform: none; letter-spacing: 0; font-size: .95rem; }
.admin .btn { text-transform: none; letter-spacing: .02em; font-size: .9rem; min-height: 44px; padding: .55rem 1.1rem; }
.link-arrow { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; border-bottom-color: var(--gold); transition: color .2s, border-color .2s; }
.link-arrow::after { display: inline-block; transition: transform .25s var(--ease); }
.link-arrow:hover::after { transform: translateX(4px); }

/* Header: light, airy, slightly translucent when sticky */
.preview-banner { letter-spacing: .04em; }
.topbar { background: var(--ivory); color: var(--muted); letter-spacing: .02em; }
.topbar strong { color: var(--ink-2); font-weight: 600; }
.site-header { background: rgba(255,255,255,.9); -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px); border-bottom-color: rgba(230,222,208,.8); }
.site-header__inner { min-height: 88px; }
.wordmark__names { font-weight: 500; font-size: 2rem; letter-spacing: -.01em; }
.amp { font-weight: 400; }
.brokerage-name { font-size: .8rem; letter-spacing: .1em; font-weight: 500; white-space: nowrap; }
.primary-nav a { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 500; color: var(--ink-2); transition: color .2s, border-color .2s; }
.primary-nav ul a:hover, .primary-nav a[aria-current="page"] { color: var(--ink); }
.lang-switch { border-color: var(--line) !important; transition: border-color .2s, background-color .2s; }
.lang-switch:hover { border-color: var(--ink) !important; }
@media (max-width: 1240px) {
  .site-header__inner { min-height: 72px; }
  .wordmark__names { font-size: 1.6rem; }
  .js .nav-toggle { border-color: var(--line); font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; }
  .primary-nav ul a { font-size: .85rem; padding: .95rem 0; }
}

/* ---------- Home hero with cinematic background ---------- */
.hero--media { position: relative; overflow: hidden; isolation: isolate; background: #2a241e; border-bottom: 0; color: #fff;
  min-height: clamp(600px, 86vh, 900px); display: flex; align-items: center; }
.hero__media { position: absolute; inset: 0; z-index: -1; }
.hero__media picture, .hero__poster, .hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 62% 60%; }
.hero__poster { animation: hero-settle 2.4s var(--ease) both; }
.hero__video { opacity: 0; transition: opacity 1.4s ease; }
.hero__video.is-playing { opacity: 1; }
.hero__shade { position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(22,18,14,.76) 0%, rgba(22,18,14,.58) 42%, rgba(22,18,14,.18) 78%, rgba(22,18,14,.08) 100%),
    linear-gradient(180deg, rgba(22,18,14,.35) 0%, rgba(22,18,14,0) 28%, rgba(22,18,14,0) 62%, rgba(22,18,14,.55) 100%); }
@keyframes hero-settle { from { transform: scale(1.06); } to { transform: scale(1); } }
.hero--media .hero__inner { text-align: left; max-width: var(--wrap); width: 100%; padding-top: clamp(4.5rem, 10vw, 8rem); padding-bottom: clamp(3.5rem, 8vw, 6rem); }
.hero--media .hero__inner > * { max-width: 700px; }
.hero--media .eyebrow { color: var(--gold-light); }
.hero--media .hero__title { color: #fff; font-size: clamp(2.7rem, 6.4vw, 5.1rem); line-height: 1.02; font-weight: 500; letter-spacing: -.015em; margin-bottom: 1.4rem; text-shadow: 0 2px 30px rgba(0,0,0,.25); }
.hero--media .hero__lead { color: rgba(255,255,255,.92); margin: 0 0 2.4rem; max-width: 560px; text-shadow: 0 1px 14px rgba(0,0,0,.3); }
.hero--media .hero-search { margin: 0; max-width: 880px; border: 0; border-radius: 6px; overflow: hidden; box-shadow: 0 24px 60px rgba(0,0,0,.28); background: rgba(255,255,255,.97); }
.hero--media .hero-search .btn { border-radius: 0; }
.hero--media .hero__actions { justify-content: flex-start; margin-top: 1.6rem; }
.hero--media .btn--ghost { border-color: rgba(255,255,255,.75); color: #fff; }
.hero--media .btn--ghost:hover { background: #fff; color: var(--ink); border-color: #fff; }
.hero-search input, .hero-search select { font-size: .98rem; }
@media (max-width: 760px) {
  .hero--media { min-height: 0; align-items: flex-end; }
  .hero__media picture, .hero__poster, .hero__video { object-position: 70% 50%; }
  .hero__shade { background: linear-gradient(180deg, rgba(22,18,14,.5) 0%, rgba(22,18,14,.55) 40%, rgba(22,18,14,.78) 100%); }
  .hero--media .hero__inner { padding-top: 5rem; padding-bottom: 2.5rem; }
  .hero--media .hero__actions .btn { flex: 1 1 100%; }
  .hero--media .hero-search .btn { border-radius: 0; }
}

/* ---------- Page headings with a scenic band ---------- */
.page-head { position: relative; }
.page-head--scene { isolation: isolate; color: #fff; min-height: clamp(300px, 34vw, 440px); display: flex; align-items: flex-end; margin-bottom: 3rem; background: #2a241e; overflow: hidden; }
.page-head__media, .page-head__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-head__media { z-index: -1; }
.page-head__media img { animation: hero-settle 2.4s var(--ease) both; }
.page-head__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(22,18,14,.25) 0%, rgba(22,18,14,.35) 45%, rgba(22,18,14,.8) 100%), linear-gradient(90deg, rgba(22,18,14,.45), rgba(22,18,14,0) 70%); }
.page-head--scene .page-head__inner { padding-bottom: clamp(2rem, 4vw, 3rem); max-width: var(--wrap); width: 100%; }
.page-head--scene .page-head__inner > * { max-width: 760px; }
.page-head--scene .page-title { color: #fff; margin-top: 0; text-shadow: 0 2px 24px rgba(0,0,0,.25); }
.page-head--scene .page-lead { color: rgba(255,255,255,.92); margin-bottom: 0; text-shadow: 0 1px 12px rgba(0,0,0,.3); }
.page-title { margin-top: 3rem; }
.page-lead { font-size: 1.15rem; line-height: 1.65; }

/* ---------- Sections ---------- */
.section { padding: clamp(4rem, 8vw, 7rem) 0; }
.section--ivory { background: var(--ivory); border-color: transparent; }
.section__head { margin-bottom: 2.5rem; }
.section__head--center h2::before, .section__title::before { content: ''; display: block; width: 44px; height: 1px; background: var(--gold); margin: 0 0 1.1rem; }
.section__head--center h2::before { margin: 0 auto 1.1rem; }
.section__lead { font-size: 1.08rem; }
.section--dark { background: radial-gradient(1200px 400px at 85% 0%, rgba(173,138,82,.18), transparent 60%), #1f1d1a; }
.section--dark .btn--gold { color: #1a1714; }
.cta p { color: #ddd5c7; }
.data-notice { line-height: 1.6; }

/* ---------- Listing cards ---------- */
.cards { gap: 2.75rem 2rem; }
.card { background: transparent; transition: transform .45s var(--ease); }
.card__media { border-radius: 10px; box-shadow: 0 1px 2px rgba(31,29,26,.05); transition: box-shadow .45s var(--ease); }
.card__media img, .card__media .photo-fallback { transition: transform .9s var(--ease); }
.card:hover { transform: translateY(-4px); }
.card:hover .card__media { box-shadow: var(--shadow-lift); }
.card:hover .card__media img { transform: scale(1.04); }
.card__body { padding: 1.15rem .15rem 0; }
.card__price { font-size: 1.85rem; font-weight: 500; letter-spacing: -.01em; }
.card__title { font-weight: 500; letter-spacing: .01em; }
.card__title a:hover { color: var(--ink); }
.card__facts { color: var(--ink-2); }
.badge { border-radius: 2px; font-size: .68rem; letter-spacing: .14em; font-weight: 500; padding: .3rem .65rem; }
.badge--active { background: rgba(31,29,26,.86); border-color: transparent; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.photo-fallback { background-color: var(--ivory-2); background-image: url('/img/placeholder-home.svg'), linear-gradient(160deg, #f6f0e6 0%, #ebe2d3 100%); background-size: 64px, cover; background-position: center 42%, center; color: var(--muted); letter-spacing: .04em; }
.empty { background: var(--ivory); border: 0; border-radius: var(--radius-lg); }

/* ---------- Agents ---------- */
.agent-card { border: 0; border-radius: var(--radius-lg); padding: 1.75rem; box-shadow: var(--shadow); }
.headshot { border-radius: 10px; }
.headshot--placeholder { border-color: rgba(173,138,82,.55); background: linear-gradient(160deg, #fbf8f2, #f1e9dc); }
.agent-card__license { letter-spacing: .02em; }

/* ---------- Services ---------- */
.services { gap: 2.5rem; }
.service { border-top: 1px solid var(--gold); padding-top: 1.6rem; }
.service h3 { font-size: 1.6rem; }

/* ---------- Forms ---------- */
body:not(.admin) input[type=text], body:not(.admin) input[type=email], body:not(.admin) input[type=tel], body:not(.admin) input[type=search], body:not(.admin) input[type=date],
body:not(.admin) input[type=password], body:not(.admin) input[type=url], body:not(.admin) input:not([type]), body:not(.admin) select, body:not(.admin) textarea {
  min-height: 50px; border-color: #c9bfae; border-radius: 6px; background-color: #fff; transition: border-color .2s, box-shadow .2s; }
body:not(.admin) input:hover, body:not(.admin) select:hover, body:not(.admin) textarea:hover { border-color: #a99d89; }
body:not(.admin) input:focus, body:not(.admin) select:focus, body:not(.admin) textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px rgba(173,138,82,.2); }
body:not(.admin) .hero-search input, body:not(.admin) .hero-search select { border: 0; border-right: 1px solid var(--line); border-radius: 0; min-height: 62px; box-shadow: none; }
@media (max-width: 720px) { body:not(.admin) .hero-search input { border-right: 0; border-bottom: 1px solid var(--line); } body:not(.admin) .hero-search select:nth-of-type(2) { border-right: 0; } }
.field label, .fieldset legend { font-size: .9rem; letter-spacing: .01em; }
.form { border: 0; border-radius: var(--radius-lg); padding: clamp(1.5rem, 3vw, 2.25rem); box-shadow: var(--shadow-lift); }
.form__title { font-size: 1.85rem; }
.form__note, .note { border-left-color: var(--gold); border-radius: 0 6px 6px 0; }
.callout { border: 0; border-radius: 10px; }
.side-contacts { border: 0; border-radius: var(--radius-lg); }
.search-form { border: 0; border-radius: var(--radius-lg); padding: 1.5rem; }
.steps li::before { background: var(--white); border-color: var(--gold); font-size: .85rem; }
.steps h3 { font-weight: 600; }
.find-cta { border: 0; border-left: 2px solid var(--gold); border-radius: 0 var(--radius-lg) var(--radius-lg) 0; padding: 1.5rem 1.75rem; }
.pager ol a { border-radius: 6px; transition: border-color .2s, background-color .2s; }
.pager ol a:hover { border-color: var(--ink); }

/* ---------- Property page ---------- */
.gallery__item, .gallery__none .photo-fallback { border-radius: 10px; }
.property__price { font-weight: 500; font-size: 2.6rem; }
.property__verified { border-radius: 8px; }

/* ---------- Market reports ---------- */
.report-cards { gap: 1.75rem; }
.report-card { border: 0; border-top: 2px solid var(--gold); border-radius: 4px 4px var(--radius-lg) var(--radius-lg); box-shadow: var(--shadow); padding: 1.75rem 1.75rem 1.5rem; transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.report-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.report-card__title { font-size: 1.7rem; font-weight: 500; }
.report-card__stats dd { font-weight: 500; }
.mstat { border: 0; border-top: 2px solid var(--gold); border-radius: 4px 4px 12px 12px; box-shadow: var(--shadow); padding: 1.35rem 1.4rem; }
.mstat dd { font-weight: 500; font-size: 2.2rem; }
.report-next { border: 0; border-radius: var(--radius-lg); padding: 2rem; }

/* ---------- Confirmation / gate / footer ---------- */
.confirm__box { border: 0; border-radius: var(--radius-lg); }
.gate__box { border: 0; border-radius: var(--radius-lg); box-shadow: var(--shadow-lift); }
.site-footer { background: var(--ivory); border-top: 0; padding-top: 4.5rem; }
.footer-h { letter-spacing: .2em; font-weight: 500; }
.footer-links a { text-decoration: none; transition: color .2s; }
.footer-links a:hover { color: var(--gold-text); text-decoration: underline; }

/* ---------- Scroll reveal (only after site.js opts in) ---------- */
.reveal { transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal-ready .reveal:not(.is-in) { opacity: 0; transform: translateY(22px); }

@media (prefers-reduced-motion: reduce) {
  .hero__video { display: none; }
  .card:hover, .report-card:hover, .btn:hover { transform: none; }
}
@media print { .hero__media, .page-head__media { display: none; } .hero--media, .page-head--scene { color: var(--ink); background: none; min-height: 0; } .hero--media .hero__title, .page-head--scene .page-title, .page-head--scene .page-lead, .hero--media .hero__lead { color: var(--ink); text-shadow: none; } }

/* Header fit: one-line menu on desktop; compact two-column header on phones */
.primary-nav a { white-space: nowrap; letter-spacing: .1em; }
.primary-nav ul { gap: 1.2rem; }
@media (max-width: 1240px) {
  .site-header__inner { display: grid; grid-template-columns: 1fr auto; align-items: center; column-gap: 1rem; }
  .wordmark { margin-right: 0; min-width: 0; }
  .primary-nav { grid-column: 1 / -1; }
  .primary-nav ul a { white-space: normal; }
}
@media (max-width: 560px) {
  .topbar__inner { padding-top: .4rem; padding-bottom: .4rem; gap: .1rem 1rem; line-height: 1.5; }
  .topbar__agents { gap: 0 1rem; flex-direction: column; }
  .wordmark { flex-direction: column; align-items: flex-start; gap: .15rem; }
  .wordmark__names { font-size: 1.5rem; }
  .brokerage-name { font-size: .68rem; letter-spacing: .12em; }
  .brokerage-office { font-size: .72rem; }
  .js .nav-toggle { padding: .4rem .7rem; min-height: 44px; }
}

/* Listing illustrations (no photos): gold line drawing chosen by property type */
.photo-fallback--sketch { background-color: #f6eee3; background-size: cover; background-position: center 60%; background-repeat: no-repeat; align-items: flex-end; justify-content: flex-start; }
.photo-fallback--single { background-image: url('/img/scenes/sketch-single.jpg'); }
.photo-fallback--two-story { background-image: url('/img/scenes/sketch-two-story.jpg'); }
.photo-fallback--townhome { background-image: url('/img/scenes/sketch-townhome.jpg'); }
.photo-fallback--condo { background-image: url('/img/scenes/sketch-condo.jpg'); }
.photo-fallback--sketch span { margin: 0 0 12px 12px; padding: .22rem .6rem; font-size: .7rem; letter-spacing: .06em; color: var(--gold-text); background: rgba(255,255,255,.82); border-radius: 999px; }
.card__media .photo-fallback--sketch span { margin-top: 0; }
.gallery__none .photo-fallback--sketch { height: clamp(240px, 34vw, 440px); background-size: contain; background-position: center; }
.gallery__none .photo-fallback--sketch span { margin: 0 0 14px 14px; }

/* =================== PHONE & TABLET POLISH =================== */
/* Lighter images where supported (the JPEG above stays as the fallback). */
.photo-fallback--single { background-image: image-set(url('/img/scenes/sketch-single.webp') type('image/webp'), url('/img/scenes/sketch-single.jpg') type('image/jpeg')); }
.photo-fallback--two-story { background-image: image-set(url('/img/scenes/sketch-two-story.webp') type('image/webp'), url('/img/scenes/sketch-two-story.jpg') type('image/jpeg')); }
.photo-fallback--townhome { background-image: image-set(url('/img/scenes/sketch-townhome.webp') type('image/webp'), url('/img/scenes/sketch-townhome.jpg') type('image/jpeg')); }
.photo-fallback--condo { background-image: image-set(url('/img/scenes/sketch-condo.webp') type('image/webp'), url('/img/scenes/sketch-condo.jpg') type('image/jpeg')); }
.page-head__media picture { position: absolute; inset: 0; }

/* Legible small print everywhere (licenses, badges, labels). */
.topbar { font-size: .82rem; }
.badge { font-size: .72rem; }
.photo-fallback--sketch span { font-size: .75rem; }
.eyebrow { font-size: .78rem; }
.opt { font-size: .82rem; }
body:not(.admin) .hero-search input, body:not(.admin) .hero-search select { font-size: 1rem; } /* 16px: no zoom-on-focus on iPhone */

/* Fair-housing line: one flowing paragraph instead of a squeezed column. */
.eho { display: block; }
.eho svg { display: inline-block; vertical-align: -5px; margin-right: .35rem; }

/* Comfortable tap targets for stacked contact and footer links. */
.footer-links a, .agent-card__links a, .agent-contact__links a, .footer-agent a, .profile__contacts a, .side-contacts a { display: inline-block; padding: .5rem 0; }
.footer-links { gap: 0; }
.agent-card__links, .agent-contact__links { gap: 0; }
.footer-agent p { margin: 0; }
.breadcrumb a { display: inline-block; padding: .55rem 0; }
.link-arrow { display: inline-block; padding: .55rem 0 .3rem; }

/* Spanish menu labels are longer: tighten spacing so it fits on one line. */
html[lang="es"] .primary-nav ul { gap: .95rem; }
html[lang="es"] .primary-nav a { letter-spacing: .06em; }
@media (max-width: 1400px) { .primary-nav ul { gap: 1rem; } .primary-nav a { letter-spacing: .08em; } html[lang="es"] .primary-nav a { letter-spacing: .04em; font-size: .76rem; } }

/* Listing page: slim action bar on phones (shown by site.js while scrolling). */
.mobile-cta { display: none; }
@media (max-width: 760px) {
  .js .mobile-cta { display: flex; gap: .6rem; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; padding: .65rem 16px calc(.65rem + env(safe-area-inset-bottom)); background: rgba(255,255,255,.95); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-top: 1px solid var(--line); box-shadow: 0 -8px 24px rgba(31,29,26,.08);
    transform: translateY(110%); transition: transform .35s var(--ease); }
  .js .mobile-cta.is-shown { transform: none; }
  .mobile-cta .btn { flex: 1 1 0; min-height: 48px; padding: .6rem .5rem; font-size: .74rem; letter-spacing: .08em; }
  .has-mobile-cta .site-footer { padding-bottom: calc(2rem + 76px); }
}

@media (max-width: 760px) {
  /* Tighter vertical rhythm */
  .section { padding: 3.25rem 0; }
  .section__head { margin-bottom: 1.5rem; }
  .page-title { margin-top: 2rem; }
  .site-footer { padding-top: 3rem; }
  .footer-grid { gap: 2rem; }

  /* Compact hero: photo shows, search and actions fit on about one screen */
  .hero--media .hero__inner { padding-top: 3.25rem; padding-bottom: 2rem; }
  .hero__shade { background: linear-gradient(180deg, rgba(22,18,14,.32) 0%, rgba(22,18,14,.5) 35%, rgba(22,18,14,.8) 100%); }
  .hero--media .eyebrow { letter-spacing: .14em; margin-bottom: .75rem; }
  .hero--media .eyebrow::before { display: none; }
  .hero--media .hero__title { font-size: clamp(2.4rem, 11vw, 3rem); margin-bottom: .9rem; }
  .hero--media .hero__lead { font-size: 1rem; line-height: 1.6; margin-bottom: 1.5rem; }
  body:not(.admin) .hero-search input, body:not(.admin) .hero-search select, .hero-search .btn { min-height: 52px; }
  .hero--media .hero__actions { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; margin-top: 1rem; }
  .hero--media .hero__actions .btn { flex: none; width: 100%; padding-left: .5rem; padding-right: .5rem; letter-spacing: .1em; }
  .hero--media .hero__actions .btn:first-child { grid-column: 1 / -1; }

  /* Home: featured homes and market reports swipe sideways instead of a long stack */
  .home .cards, .home .report-cards { display: grid; grid-auto-flow: column; grid-auto-columns: 82%; grid-template-columns: none; gap: 1rem;
    overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; margin: 0 -16px; padding: 0 16px 1.25rem; scroll-padding: 0 16px; scrollbar-width: none; }
  .home .cards::-webkit-scrollbar, .home .report-cards::-webkit-scrollbar { display: none; }
  .home .cards > *, .home .report-cards > * { scroll-snap-align: start; }
  .home .card:hover, .home .report-card:hover { transform: none; }

  /* Agent cards: photo beside the details */
  .agent-card { grid-template-columns: 92px 1fr; gap: 1rem; padding: 1.25rem; }
  .agent-card .headshot { width: 92px; }
  .agent-card .headshot__initials { font-size: 1.9rem; }
  .agent-card .headshot__note { font-size: .62rem; letter-spacing: .06em; }
  .agent-card__links { font-size: .92rem; word-break: break-word; }

  /* Market report numbers two-up */
  .mstats { grid-template-columns: 1fr 1fr; gap: .75rem; }
  .mstat { padding: 1rem; }
  .mstat dd { font-size: 1.65rem; }
  .mstat dt { font-size: .72rem; }

  /* Search filters a little tighter */
  .search-form { padding: 1.1rem; }
  .cards { gap: 2rem; }
  .services { gap: 2rem; }
  .form { padding: 1.25rem; }
}
@media (max-width: 380px) {
  .hero--media .hero__actions { grid-template-columns: 1fr; }
  .topbar { font-size: .78rem; }
}

/* Final sizing touches from the audit */
@media (max-width: 1300px) { html[lang="es"] .primary-nav ul { gap: .8rem; } }
.topbar__inner { font-size: .82rem; }
.brokerage-name { font-size: .8rem; }
.brokerage-office { font-size: .8rem; }
.nav-toggle__label { font-size: .82rem; }
.badge { font-size: .75rem; }
.link-arrow { padding: .75rem 0 .35rem; }
.search-form__more summary { padding: .6rem 0; }
.report-card { position: relative; }
.report-card__title a::after { content: ''; position: absolute; inset: 0; } /* whole card opens the report */
@media (max-width: 560px) {
  .topbar__inner { font-size: .8rem; }
  .brokerage-name { font-size: .78rem; letter-spacing: .08em; }
  .brokerage-office { font-size: .78rem; }
}
@media (max-width: 760px) {
  .agent-card { grid-template-columns: 76px 1fr; gap: .9rem; }
  .agent-card .headshot { width: 76px; }
  .agent-card .headshot__initials { font-size: 1.6rem; }
  .agent-card .headshot__note { font-size: .7rem; letter-spacing: .04em; line-height: 1.3; }
  .agent-card__links { font-size: .88rem; word-break: normal; overflow-wrap: anywhere; }
  .mobile-cta .btn { font-size: .78rem; }
}

/* Headshots: always a 4:5 portrait crop (the HTML height attribute must not
   stretch them), framed toward the face. */
img.headshot { height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 22%; align-self: start; }
.agent-card { align-items: start; }
.agent-card__bio { margin: .25rem 0 .75rem; color: var(--ink-2); display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; }
@media (max-width: 760px) {
  /* Photo and name side by side; bio and contacts use the full card width */
  .agent-card { grid-template-columns: 84px 1fr; grid-template-areas: "photo name" "photo license" "bio bio" "links links"; column-gap: 1rem; row-gap: 0; }
  .agent-card > .headshot { grid-area: photo; width: 84px; }
  .agent-card__body { display: contents; }
  .agent-card__name { grid-area: name; align-self: end; margin: 0; }
  .agent-card__license { grid-area: license; align-self: start; }
  .agent-card__bio { grid-area: bio; margin-top: 1rem; -webkit-line-clamp: 6; }
  .agent-card__links { grid-area: links; }
  .profile .headshot--lg { width: 100%; max-width: 320px; }
}

/* Own listings (simple sites: the agent's own homes and land) */
.own-listings { display: grid; gap: 2rem; padding-bottom: 2rem; }
.own-listing { display: grid; grid-template-columns: minmax(0, 1.1fr) 1fr; gap: 0; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.own-listing__img { width: 100%; height: 100%; min-height: 260px; object-fit: cover; display: block; }
.own-listing__body { padding: 1.75rem 2rem; display: flex; flex-direction: column; gap: .35rem; align-items: flex-start; }
.own-listing__status { font-size: .75rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-text); margin: 0; }
.own-listing__title { font-size: 1.7rem; margin: .1rem 0 0; }
.own-listing__price { font-size: 1.5rem; font-weight: 700; margin: 0; }
.own-listing__facts { color: var(--muted); margin: 0 0 .4rem; }
.own-listing__summary { margin: 0 0 .9rem; }
@media (max-width: 860px) { .own-listing { grid-template-columns: 1fr; } .own-listing__img { min-height: 200px; aspect-ratio: 16/9; } .own-listing__body { padding: 1.25rem; } }
.own-listing__photos { grid-column: 1 / -1; list-style: none; margin: 0; padding: .75rem; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(150px, 1fr); gap: .5rem; overflow-x: auto; border-top: 1px solid var(--line); background: var(--ivory); }
.own-listing__photos img { width: 100%; aspect-ratio: 16/9; height: auto; object-fit: cover; object-position: 50% 75%; border-radius: var(--radius); display: block; }
@media (max-width: 860px) { .own-listing__photos { grid-auto-columns: 42%; } }

/* Content pages (towns, services) and home specialties */
.is-hidden { display: none !important; }
.info-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; margin: 0 0 2.5rem; }
.info-card { background: var(--white); border: 1px solid var(--line); border-top: 3px solid var(--gold); border-radius: var(--radius-lg); padding: 1.5rem 1.6rem; box-shadow: var(--shadow); }
.info-card h2 { font-size: 1.3rem; margin-bottom: .5rem; }
.info-card p { margin: 0; }
.info-points { background: var(--ivory); border-radius: var(--radius-lg); padding: 1.6rem 1.8rem; margin-bottom: 2.5rem; }
.info-points h2 { font-size: 1.3rem; }
.info-points ul { columns: 2 260px; margin: 0; padding-left: 1.1rem; }
.info-points li { margin: 0 0 .5rem; break-inside: avoid; }
.section--tight { margin-bottom: 2.5rem; }
.cta-band { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; background: var(--ink); color: #fff; border-radius: var(--radius-lg); padding: 1.6rem 1.8rem; margin: 0 0 1.5rem; }
.cta-band__text { flex: 1 1 280px; margin: 0; font-size: 1.2rem; font-weight: 600; color: #fff; }
.btn--ghost-dark { border: 1px solid rgba(255,255,255,.6); color: #fff; background: transparent; }
.btn--ghost-dark:hover { background: #fff; color: var(--ink); }
.section__title--sub { margin-top: 3rem; font-size: 1.5rem; }
.area-links { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1rem; }
.area-link { display: flex; flex-direction: column; gap: .25rem; padding: 1.1rem 1.25rem; border: 1px solid var(--line); border-radius: var(--radius-lg); text-decoration: none; color: var(--ink); background: var(--white); transition: border-color .2s, box-shadow .2s, transform .2s; }
.area-link span { font-weight: 700; font-size: 1.15rem; }
.area-link small { color: var(--muted); }
.area-link:hover { border-color: var(--gold); box-shadow: var(--shadow); transform: translateY(-2px); }

/* Easy-to-spot language button */
.lang-switch--label { background: var(--gold) !important; border-color: var(--gold) !important; color: #fff !important; font-weight: 600; letter-spacing: .02em !important; font-size: .85rem !important; padding: .45rem .8rem !important; white-space: nowrap; }
.lang-switch--label:hover { background: var(--gold-text) !important; border-color: var(--gold-text) !important; }
.own-listing__pic { display: block; min-height: 100%; } .own-listing__pic img { height: 100%; }
.hv-link { margin: -.5rem 0 1.5rem; }
.own-listing__video { background: #0f1d31; }

/* ZIP code pages */
.zip-page .zip-stats .stat__n { font-size: 1.6rem; }
.zip-market { margin: 1.5rem 0 2rem; }
.zip-list { margin: 0; padding-left: 1.1rem; }
.zip-list li { margin: .3rem 0; }
.zip-faq { margin: 2.5rem 0; }
.zip-faq .faq { border-bottom: 1px solid var(--line); padding: .9rem 0; }
.zip-faq .faq summary { cursor: pointer; font-weight: 600; }
.zip-faq .faq p { margin: .6rem 0 0; }
.zip-sources { margin: 2rem 0 1rem; }
.zip-sources ul { padding-left: 1.1rem; color: var(--muted); }
.zip-sources h2 { font-family: var(--sans); text-transform: uppercase; letter-spacing: .08em; margin: 0 0 .4rem; }
