/* ============================================================================
   Samantha Chisholm — site styles
   Design tokens live at the top. Change a value once here and it updates
   everywhere the token is used.
   ============================================================================ */

:root {
  /* Brand navy + gold sampled directly from The Wildman Group 2023 Brand Book
     and the Sotheby's International Realty Canada logo files. */
  --ink: #0d223f;
  --ink-soft: #1a3355;
  --paper: #faf7f2;
  --paper-2: #f1ece1;
  --paper-3: #e8e1d2;
  --line: #ded5c2;
  --gold: #c29b3c;
  --gold-deep: #9c7c2e;
  --sea: #0d223f;
  --sea-soft: #1e3d63;
  --ash: #6f6a5e;
  --ash-soft: #8b8677;
  --white: #ffffff;

  /* Body font (Lato) matches the approved font family in the brand book.
     Display serif (Playfair Display) approximates the high-contrast Didone
     wordmark style — swap for the exact licensed display face if one becomes
     available with a webfont license. */
  --font-display: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-body: "Lato", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --max: 1180px;
  --radius: 2px;
  --shadow-card: 0 1px 2px rgba(28, 27, 23, 0.06), 0 8px 24px -12px rgba(28, 27, 23, 0.18);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
button { font-family: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.15;
  margin: 0;
  text-wrap: balance;
  color: var(--ink);
}

p { margin: 0; }

.eyebrow {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-deep);
}

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding-inline: 24px;
}

@media (min-width: 900px) {
  .wrap { padding-inline: 40px; }
}

.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

/* ---------------------------------------------------------------- buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  text-decoration: none;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--ink); color: var(--paper); }
.btn-primary:hover { background: var(--sea); }
.btn-gold { background: var(--gold); color: var(--white); }
.btn-gold:hover { background: var(--gold-deep); }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--paper); }
.btn-outline-light { background: transparent; color: var(--paper); border-color: rgba(250,247,242,.55); }
.btn-outline-light:hover { background: var(--paper); color: var(--ink); }
.btn-ghost { background: transparent; color: var(--ink); padding: 8px 4px; }
.btn-ghost:hover { color: var(--gold-deep); }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: default; }

/* ---------------------------------------------------------------------nav */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(250, 247, 242, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 76px;
}

.brand {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  text-decoration: none;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  text-align: left;
}
.brand-name {
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--ink);
  letter-spacing: 0.01em;
}
.brand-sub {
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ash);
  margin-top: 2px;
}

.nav-links {
  display: none;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links button {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-soft);
  padding: 6px 0;
  border-bottom: 2px solid transparent;
}
.nav-links button:hover,
.nav-links button.active { color: var(--ink); border-bottom-color: var(--gold); }

.nav-actions { display: flex; align-items: center; gap: 14px; }
.nav-phone {
  display: none;
  align-items: center;
  text-decoration: none;
}
.nav-phone img { height: 34px; width: auto; display: block; }
.nav-burger {
  display: inline-flex;
  background: none; border: 1px solid var(--line); border-radius: var(--radius);
  width: 40px; height: 40px; align-items: center; justify-content: center; cursor: pointer;
}
.nav-burger span, .nav-burger span::before, .nav-burger span::after {
  content: ""; display: block; width: 18px; height: 2px; background: var(--ink);
  position: relative; transition: transform .15s ease;
}
.nav-burger span::before { position: absolute; top: -6px; }
.nav-burger span::after { position: absolute; top: 6px; }

@media (min-width: 900px) {
  .nav-links { display: flex; }
  .nav-phone { display: inline-block; }
  .nav-burger { display: none; }
}

/* Desktop nav dropdowns — a page's sections, revealed on hover/focus. */
.nav-links li.nav-drop { position: relative; }
.nav-drop-trigger { display: inline-flex; align-items: center; gap: 4px; }
.nav-caret { font-size: 10px; color: var(--ash); transition: transform .15s ease; }
.nav-drop:hover .nav-caret, .nav-drop:focus-within .nav-caret { transform: rotate(180deg); }
.nav-dropdown {
  /* top:100% with no margin-top — the box touches the trigger with zero gap,
     so the cursor never crosses empty space (which would drop :hover) on the
     way from the nav link down into the menu. The breathing room above the
     first item comes from padding-top instead, which is still part of the
     hoverable box. */
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%);
  min-width: 220px; padding: 14px 8px 8px;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: 0 10px 28px -12px rgba(28,27,23,.28);
  display: none; flex-direction: column; z-index: 45;
}
.nav-drop:hover .nav-dropdown, .nav-drop:focus-within .nav-dropdown { display: flex; }
.nav-dropdown button {
  background: none; border: none; text-align: left; cursor: pointer;
  padding: 9px 12px; border-radius: 6px; font-size: 13.5px; font-weight: 500;
  color: var(--ink-soft); white-space: nowrap;
}
.nav-dropdown button:hover, .nav-dropdown button:focus-visible { background: var(--paper-2); color: var(--ink); }

.mobile-menu {
  display: none;
  flex-direction: column;
  border-top: 1px solid var(--line);
  padding: 8px 0 20px;
}
.mobile-menu.open { display: flex; }
.mobile-nav-group { display: flex; flex-direction: column; border-bottom: 1px solid var(--line); }
.mobile-menu button {
  background: none; border: none; text-align: left; padding: 12px 4px;
  font-size: 16px; font-family: var(--font-display); color: var(--ink); cursor: pointer;
}
.mobile-menu button.mobile-subnav-btn {
  padding: 10px 4px 10px 20px; font-size: 13.5px; font-family: var(--font-body);
  font-weight: 600; color: var(--ash);
}
/* Collapsible mobile sub-menus — collapsed by default so the panel isn't a
   long always-open list; tapping anywhere on the section name toggles it open. */
.mobile-menu button.mobile-nav-toggle-row {
  display: flex; align-items: center; justify-content: space-between; width: 100%;
}
.mobile-nav-toggle-row .nav-caret { font-size: 13px; color: var(--ash); transition: transform .15s ease; }
.mobile-nav-toggle-row[aria-expanded="true"] .nav-caret { transform: rotate(180deg); }
.mobile-subnav { display: none; flex-direction: column; }
.mobile-subnav.open { display: flex; }

@media (min-width: 900px) { .mobile-menu { display: none !important; } }

/* --------------------------------------------------------------------hero */

.hero {
  display: grid;
  gap: 32px;
  padding-block: 56px 48px;
}
@media (min-width: 900px) {
  .hero { grid-template-columns: 1.05fr 0.95fr; align-items: center; padding-block: 88px 64px; }
}

.hero-copy .eyebrow { margin-bottom: 18px; display: block; }
.hero h1 { font-size: clamp(34px, 5vw, 56px); }
.hero-lede {
  margin-top: 20px;
  font-size: 18px;
  color: var(--ink-soft);
  max-width: 46ch;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }

.placeholder-media {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 30% 20%, rgba(194,155,60,.25), transparent 55%),
    linear-gradient(155deg, var(--sea) 0%, #17335a 60%, var(--ink) 100%);
  color: var(--paper);
  display: flex;
  align-items: flex-end;
  padding: 22px;
  overflow: hidden;
}
.placeholder-media.wide { aspect-ratio: 16 / 10; }
.placeholder-media.square { aspect-ratio: 1 / 1; }

/* ------------------------------------------------------------- real media */

.media-frame {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  background: var(--ink);
}
.media-frame img, .media-frame video { display: block; width: 100%; height: 100%; object-fit: cover; }
.media-frame.portrait { aspect-ratio: 4 / 5; }
.media-frame.square { aspect-ratio: 1 / 1; }
.media-frame.wide { aspect-ratio: 16 / 10; }
.media-frame.wide video { object-fit: contain; background: var(--ink); }
.media-caption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 14px 18px;
  font-size: 12px; letter-spacing: .04em;
  color: rgba(250,247,242,.9);
  background: linear-gradient(0deg, rgba(13,34,63,.75), transparent);
}

.signature-mark { max-width: 220px; height: auto; margin-top: 18px; opacity: .92; }

.brand-logo-strip { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; margin-top: 18px; }
.brand-logo-strip img { height: 30px; width: auto; }
.brand-logo-strip img.sothebys-mark { height: 26px; }
.brand-logo-strip a { display: inline-flex; align-items: center; line-height: 0; }
.placeholder-media::before {
  content: "";
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(135deg, rgba(250,247,242,.05) 0 2px, transparent 2px 26px);
}
.placeholder-note {
  position: relative;
  font-size: 12px;
  letter-spacing: .06em;
  text-transform: uppercase;
  border: 1px solid rgba(250,247,242,.4);
  padding: 8px 12px;
  border-radius: var(--radius);
  background: rgba(28,27,23,.35);
}

/* -------------------------------------------------------------------stats */

.stat-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.stat-strip .stat {
  background: var(--paper);
  padding: 28px 20px;
  text-align: center;
}
.stat-value {
  font-family: var(--font-display);
  font-size: 32px;
  color: var(--gold-deep);
  font-variant-numeric: tabular-nums;
}
.stat-label {
  margin-top: 6px;
  font-size: 12.5px;
  color: var(--ash);
  letter-spacing: .02em;
}
@media (min-width: 620px) {
  .stat-strip-4col { grid-template-columns: repeat(4, 1fr); }
}
.stat-strip-3col { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 480px) {
  .stat-strip-3col .stat { padding: 18px 8px; }
  .stat-strip-3col .stat-value { font-size: 24px; }
}
.stat-strip.dark { background: var(--ink); border-color: var(--ink); }
.stat-strip.dark .stat { background: var(--ink); }
.stat-strip.dark .stat-value { color: var(--gold); }
.stat-strip.dark .stat-label { color: rgba(250,247,242,.65); }

/* -----------------------------------------------------------------section */

section.panel { display: none; }
section.panel.active { display: block; }

.block { padding-block: 64px; }
.block-tight { padding-block: 40px; }
.block[id] { scroll-margin-top: 96px; }
.block-header { max-width: 640px; margin-bottom: 40px; }
.block-header h2 { font-size: clamp(26px, 3.4vw, 38px); margin-top: 10px; }
.block-header p { margin-top: 14px; color: var(--ash); font-size: 16px; }
.block-alt { background: var(--paper-2); }
.block-dark { background: var(--ink); color: var(--paper); }
.block-dark h2, .block-dark h3, .block-dark h4 { color: var(--paper); }
.block-dark .block-header p { color: rgba(250,247,242,.7); }

/* ------------------------------------------------------------------cards */

.tile-grid { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .tile-grid.cols-3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 620px) { .tile-grid.cols-2 { grid-template-columns: repeat(2, 1fr); } }
.ms-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px 20px; }
@media (min-width: 720px) { .ms-grid { grid-template-columns: repeat(4, 1fr); } }

.tile {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow-card);
}
.tile h3 { font-size: 20px; margin-bottom: 10px; color: var(--ink); }
.tile h3 a:hover { color: var(--gold-deep); text-decoration: underline; }
.tile p { color: var(--ash); font-size: 14.5px; }
.tile .num { font-family: var(--font-display); color: var(--gold-deep); font-size: 22px; display: block; margin-bottom: 6px; }
.tile-body { color: var(--ash); font-size: 14.5px; line-height: 1.7; }
.tile-body p { color: var(--ash); font-size: 14.5px; margin: 0; }
.tile-subhead { font-family: var(--font-display); font-size: 14.5px; font-weight: 600; color: var(--ink-soft); margin: 14px 0 8px; }
.tile-subhead:first-child { margin-top: 0; }
.tile-list { margin: 0 0 4px; padding-left: 20px; }
.tile-list li { margin-bottom: 8px; }
.tile-list li:last-child { margin-bottom: 0; }
.tile-body strong { color: var(--ink-soft); }
.team-tile { display: block; text-decoration: none; color: inherit; cursor: pointer; transition: background-color .15s ease; }
.team-tile:hover, .team-tile:focus-visible { background: var(--paper-2); }

.invest-list { display: flex; flex-direction: column; }
.invest-item { padding: 26px 0; border-bottom: 1px solid var(--line); }
.invest-item:first-child { padding-top: 0; }
.invest-item:last-child { border-bottom: none; padding-bottom: 0; }
.invest-head { display: flex; align-items: baseline; gap: 14px; margin-bottom: 10px; }
.invest-num { font-family: var(--font-display); font-size: 15px; font-weight: 600; color: var(--gold-deep); flex-shrink: 0; }
.invest-head h3 { margin: 0; font-size: 19px; color: var(--ink); }

.service-tile { display: flex; flex-direction: column; gap: 14px; height: 100%; text-align: center; }
.service-tile .btn { margin-top: auto; align-self: center; }

/* ---------------------------------------------------------------listings */

.listing-card {
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  position: relative;
  cursor: pointer;
  transition: box-shadow .15s ease;
}
.listing-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(13, 34, 63, 0);
  transition: background-color .15s ease;
  pointer-events: none;
}
.listing-card:hover::after { background: rgba(13, 34, 63, .1); }
.listing-card:hover { box-shadow: 0 2px 6px rgba(28,27,23,.1), 0 14px 30px -12px rgba(28,27,23,.28); }
.listing-photo {
  aspect-ratio: 4/3;
  background:
    radial-gradient(circle at 70% 20%, rgba(156,122,69,.28), transparent 55%),
    linear-gradient(155deg, var(--sea-soft), var(--ink));
  position: relative;
  color: var(--paper);
}
.listing-photo img { width: 100%; height: 100%; object-fit: cover; }
.status-badge {
  position: absolute; top: 12px; left: 12px;
  font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  padding: 5px 10px; border-radius: var(--radius);
  background: var(--paper); color: var(--ink);
}
.status-badge.Sold { background: var(--ash); color: var(--white); }
.status-badge.Pending { background: var(--gold); color: var(--white); }
.status-badge.Active { background: var(--sea); color: var(--white); }
.listing-body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.listing-price { font-family: var(--font-display); font-size: 22px; color: var(--ink); }
.listing-address { font-size: 14px; color: var(--ink-soft); }
.listing-meta { font-size: 12.5px; color: var(--ash); letter-spacing: .01em; }
.listing-desc { font-size: 13.5px; color: var(--ash); margin-top: 4px; }
.listing-card-featured .listing-photo { aspect-ratio: 16/9; }
.listing-card-featured .listing-price { font-size: 30px; }
.listing-card-featured .listing-address { font-size: 16px; }
.listing-card-featured .listing-desc { font-size: 14.5px; }
.listing-card-featured .listing-body { padding: 24px 28px 28px; }

/* Listings page: adaptive column count based on total listing count, so a
   partial final row is always centered instead of trailing to one side. */
.listings-flow-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; }
.listings-flow-grid > .listing-card { flex: 1 1 100%; max-width: 100%; }
@media (min-width: 620px) {
  .listings-flow-grid.cols-2 > .listing-card { flex-basis: calc(50% - 10px); max-width: calc(50% - 10px); }
}
@media (min-width: 720px) {
  .listings-flow-grid.cols-3 > .listing-card { flex-basis: calc(33.333% - 14px); max-width: calc(33.333% - 14px); }
}
.listing-photo-count {
  position: absolute; bottom: 12px; right: 12px;
  font-size: 11px; font-weight: 600; letter-spacing: .02em;
  padding: 5px 10px; border-radius: var(--radius);
  background: rgba(13,34,63,.72); color: var(--paper);
}

/* ------------------------------------------------------------ listing photo gallery modal */

.modal-box-gallery { max-width: 760px; padding: 26px; }
.gallery-header { margin-bottom: 14px; padding-right: 26px; }
.gallery-price { font-family: var(--font-display); font-size: 22px; color: var(--ink); }
.gallery-address { font-size: 16px; margin: 2px 0 4px; }
.gallery-meta { font-size: 12.5px; color: var(--ash); }
.gallery-stage {
  position: relative;
  background: var(--ink);
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 3/2;
  display: flex; align-items: center; justify-content: center;
}
.gallery-image { width: 100%; height: 100%; object-fit: contain; background: var(--ink); }
.gallery-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(13,34,63,.55); color: var(--paper); border: none;
  width: 38px; height: 38px; border-radius: 50%; font-size: 15px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.gallery-nav:hover { background: rgba(13,34,63,.8); }
.gallery-prev { left: 10px; }
.gallery-next { right: 10px; }
.gallery-count {
  position: absolute; bottom: 10px; right: 12px;
  font-size: 11.5px; color: var(--paper); background: rgba(13,34,63,.55);
  padding: 3px 9px; border-radius: var(--radius);
}
.gallery-thumbs {
  display: flex; gap: 8px; overflow-x: auto; margin-top: 12px; padding-bottom: 4px;
}
.gallery-thumb {
  width: 74px; height: 56px; object-fit: cover; border-radius: 6px; cursor: pointer;
  border: 2px solid transparent; opacity: .65; flex-shrink: 0;
}
.gallery-thumb:hover { opacity: 1; }
.gallery-thumb.active { border-color: var(--gold); opacity: 1; }
.gallery-description { font-size: 13.5px; color: var(--ash); margin-top: 14px; line-height: 1.55; }
.gallery-link { margin-top: 16px; }

.sales-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.sales-table th { text-align: left; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--ash); padding: 10px 12px; border-bottom: 1px solid var(--line); }
.sales-table td { padding: 10px 12px; border-bottom: 1px solid var(--line); }
.sales-table td.price { text-align: right; font-variant-numeric: tabular-nums; color: var(--gold-deep); font-weight: 600; }
.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
.sales-table td.sales-date { color: var(--ash-soft); font-size: 13px; white-space: nowrap; }
.sales-city { display: block; font-size: 12px; color: var(--ash-soft); margin-top: 2px; }
.side-badge { display: inline-block; font-size: 11px; font-weight: 600; letter-spacing: .03em; padding: 3px 9px; border-radius: 999px; white-space: nowrap; }
.side-badge.seller { background: rgba(176, 141, 87, .14); color: var(--gold-deep); }
.side-badge.buyer { background: rgba(0,0,0,.06); color: var(--ash); }
.sales-row-hidden { display: none; }
.sales-expanded .sales-row-hidden { display: table-row; }

/* --------------------------------------------------------------- reports */
.report-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.report-list li { border-bottom: 1px solid var(--line); }
.report-list a { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 4px; color: var(--ink); text-decoration: none; font-size: 14px; font-weight: 600; }
.report-list a:hover { color: var(--gold-deep); }
.report-list .report-arrow { font-size: 13px; font-weight: 600; color: var(--gold-deep); white-space: nowrap; }

.report-blog-list { display: flex; flex-direction: column; gap: 0; }
.rpt-post { padding: 26px 0; border-bottom: 1px solid var(--line); }
.rpt-post:first-child { padding-top: 4px; }
.rpt-post:last-child { border-bottom: none; padding-bottom: 4px; }
.rpt-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.rpt-month { font-family: var(--font-display); font-size: 19px; color: var(--ink); margin: 0; }
.rpt-total { font-size: 13px; font-weight: 600; color: var(--ink-soft); white-space: nowrap; }
.rpt-total .rpt-delta { color: var(--gold-deep); font-weight: 600; margin-left: 4px; }
.rpt-stat-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-bottom: 16px; }
@media (min-width: 620px) { .rpt-stat-row { grid-template-columns: repeat(4, 1fr); } }
.rpt-stat { display: flex; flex-direction: column; padding: 12px 14px; background: var(--paper-2); border-radius: 4px; }
.rpt-stat-value { font-family: var(--font-display); font-size: 20px; color: var(--ink); }
.rpt-stat-label { font-size: 11.5px; color: var(--ash-soft); text-transform: uppercase; letter-spacing: 0.03em; margin-top: 2px; }
.rpt-stat-sub { font-size: 11.5px; color: var(--gold-deep); font-weight: 600; margin-top: 4px; }
.rpt-summary { color: var(--ash); font-size: 14.5px; line-height: 1.7; margin-bottom: 14px; }
.rpt-benchmarks { display: flex; flex-wrap: wrap; gap: 6px 20px; font-size: 12.5px; color: var(--ash-soft); margin-bottom: 12px; }
.rpt-benchmarks strong { color: var(--ink-soft); font-weight: 600; }
.rpt-pdf-link { font-size: 13px; font-weight: 600; color: var(--gold-deep); text-decoration: none; }
.rpt-pdf-link:hover { text-decoration: underline; }

/* -----------------------------------------------------------------quotes */

.quote-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 26px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  height: 100%;
}
.quote-card p.quote-text {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 18px;
  color: var(--ink-soft);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 5;
  overflow: hidden;
}
.quote-readmore {
  align-self: flex-start;
  margin-top: 10px;
  background: none;
  border: none;
  padding: 0;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .02em;
  color: var(--gold-deep);
  cursor: pointer;
  text-decoration: underline;
}
.quote-readmore:hover { color: var(--gold); }
.quote-name { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 13px; letter-spacing: .04em; text-transform: uppercase; color: var(--gold-deep); font-weight: 600; margin-top: auto; }
.quote-name a { color: inherit; text-decoration: none; }
.quote-name a:hover { text-decoration: underline; }
.modal-testimonial-quote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 19px;
  color: var(--ink-soft);
  line-height: 1.55;
  margin-top: 10px;
}
.modal-testimonial-name { margin-top: 18px; }

/* ----------------------------------------------------------------- tabs & accordion */

.tabbar { display: inline-flex; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin-bottom: 32px; }
.tabbar button { border: none; background: var(--white); padding: 12px 22px; font-size: 14px; font-weight: 600; cursor: pointer; color: var(--ash); }
.tabbar button.active { background: var(--ink); color: var(--paper); }
.tabpanel { display: none; }
.tabpanel.active { display: block; }

.accordion-item { border-bottom: 1px solid var(--line); }
.accordion-trigger {
  width: 100%; text-align: left; background: none; border: none; cursor: pointer;
  padding: 18px 4px; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  font-family: var(--font-display); font-size: 17px; color: var(--ink);
}
.accordion-trigger .plus { font-size: 20px; color: var(--gold-deep); flex-shrink: 0; }
.accordion-panel { max-height: 0; overflow: hidden; transition: max-height .25s ease; }
.accordion-panel-inner { padding: 0 4px 20px; color: var(--ash); font-size: 14.5px; line-height: 1.7; }
.accordion-panel-inner p + p, .accordion-panel-inner p + ul, .accordion-panel-inner ul + p { margin-top: 12px; }
.accordion-panel-inner ul { margin: 0; padding-left: 20px; }
.accordion-panel-inner li { margin-bottom: 8px; }
.accordion-panel-inner li:last-child { margin-bottom: 0; }
.accordion-panel-inner strong { color: var(--ink-soft); }
.accordion-item.open .accordion-panel { max-height: 800px; }
.accordion-item.open .plus { transform: rotate(45deg); }

/* Trusted Service Providers directory (Sellers page) reuses the accordion,
   but categories can hold many entries, so its open panels need more room. */
#service-providers-accordion .accordion-item.open .accordion-panel { max-height: 4000px; }
.provider-list { list-style: none; margin: 0 !important; padding: 0 !important; }
.provider-list li { padding: 10px 2px; border-bottom: 1px solid var(--line); }
.provider-list li:last-child { border-bottom: none; }
.provider-list li strong { display: block; color: var(--ink); font-size: 14.5px; font-weight: 600; }
.provider-contact { display: block; margin-top: 3px; font-size: 13px; color: var(--ash); line-height: 1.6; }
.provider-contact a { color: var(--gold-deep); text-decoration: none; }
.provider-contact a:hover { text-decoration: underline; }

.faq-item { border-bottom: 1px solid var(--line); padding: 18px 4px; }
.faq-item:last-child { border-bottom: none; }
.faq-question { font-family: var(--font-display); font-size: 17px; font-weight: 500; color: var(--ink); margin-bottom: 10px; }
.faq-answer { color: var(--ash); font-size: 14.5px; line-height: 1.7; }
.faq-answer p + p, .faq-answer p + ul, .faq-answer ul + p { margin-top: 12px; }
.faq-answer ul { margin: 0; padding-left: 20px; }
.faq-answer li { margin-bottom: 8px; }
.faq-answer li:last-child { margin-bottom: 0; }
.faq-answer strong { color: var(--ink-soft); }

.timeline { display: grid; gap: 0; border-left: 2px solid var(--line); margin-left: 8px; }
.timeline-item { position: relative; padding: 0 0 30px 28px; }
.timeline-item::before {
  content: ""; position: absolute; left: -7px; top: 2px; width: 12px; height: 12px;
  border-radius: 50%; background: var(--gold); border: 2px solid var(--paper);
}
.timeline-item h4 { font-size: 17px; }
.timeline-item .step-num { font-size: 12px; color: var(--gold-deep); font-weight: 700; letter-spacing: .05em; }
.timeline-item p { margin-top: 6px; color: var(--ash); font-size: 14.5px; }

/* ------------------------------------------------------- numbered step list */

.timeline-zigzag { display: flex; flex-direction: column; }
.tz-item {
  display: flex; align-items: baseline; gap: 18px;
  padding: 16px 0; border-bottom: 1px solid var(--line);
}
.tz-item:first-child { padding-top: 0; }
.tz-item:last-child { border-bottom: none; padding-bottom: 0; }
.tz-num {
  font-family: var(--font-display); font-size: 20px; font-weight: 600;
  color: var(--gold-deep); line-height: 1; flex-shrink: 0; width: 24px;
}
.tz-text { font-size: 14.5px; }
.tz-title { color: var(--ink); font-weight: 600; font-family: var(--font-display); font-size: 16px; margin-bottom: 6px; }
.tz-body { color: var(--ash); line-height: 1.6; }

/* -----------------------------------------------------------------forms */

.form-grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .form-grid.two { grid-template-columns: 1fr 1fr; } }

.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 12.5px; font-weight: 600; letter-spacing: .02em; color: var(--ink-soft); }
.field input, .field select, .field textarea {
  font-family: var(--font-body);
  font-size: 15px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 2px solid var(--gold);
  outline-offset: 1px;
  border-color: var(--gold);
}
.field textarea { resize: vertical; min-height: 96px; }
.field input[readonly] { background: var(--paper-2); color: var(--ink-soft); cursor: default; }
.field-check { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; color: var(--ash); }
.field-check input { margin-top: 3px; }

.form-panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-card);
}
.form-msg { font-size: 14px; padding: 14px 16px; border-radius: var(--radius); margin-top: 16px; display: none; }
.form-msg.show { display: block; }
.form-msg.success { background: #eef2ee; color: var(--sea); border: 1px solid var(--sea-soft); }
.form-msg.error { background: #f6ece7; color: #8a3b2a; border: 1px solid #c98564; }

fieldset { border: none; padding: 0; margin: 0; }
legend { font-family: var(--font-display); font-size: 18px; padding: 0 0 12px; }

/* ---------------------------------------------------------------- resource / gated download */

.resource-card {
  display: flex; flex-direction: column; gap: 12px; height: 100%;
  background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px;
}
.resource-card h3 { font-size: 18px; }
.resource-card p { color: var(--ash); font-size: 14px; }
.resource-card .btn { margin-top: auto; align-self: center; }

/* --------------------------------------------------------------------modal */

.modal-overlay {
  position: fixed; inset: 0; background: rgba(28,27,23,.55);
  display: none; align-items: center; justify-content: center; z-index: 100; padding: 20px;
}
.modal-overlay.open { display: flex; }
.modal-box {
  background: var(--paper); border-radius: var(--radius); max-width: 480px; width: 100%;
  max-height: 90vh; overflow-y: auto; padding: 32px; position: relative;
  box-shadow: 0 20px 60px -12px rgba(0,0,0,.35);
}
.modal-close {
  position: absolute; top: 16px; right: 16px; background: none; border: none;
  font-size: 22px; line-height: 1; cursor: pointer; color: var(--ash); padding: 6px;
}
.modal-eyebrow { margin-bottom: 6px; }
.modal-box h3 { font-size: 24px; margin-bottom: 10px; }
.modal-box > p.modal-intro { color: var(--ash); font-size: 14.5px; margin-bottom: 20px; }
.modal-download-ready { display: none; text-align: center; padding-top: 10px; }
.modal-download-ready.show { display: block; }
.modal-download-ready .check { font-size: 34px; color: var(--sea); margin-bottom: 10px; }

/* -------------------------------------------------------------- floating contact */

.fab {
  position: fixed; right: 20px; bottom: 20px; z-index: 60;
  background: var(--ink); color: var(--paper); border: none; border-radius: 999px;
  padding: 14px 20px; font-size: 14px; font-weight: 600; cursor: pointer;
  box-shadow: 0 10px 30px -8px rgba(0,0,0,.4); display: inline-flex; align-items: center; gap: 8px;
}
.fab:hover { background: var(--sea); }
body.on-listing-detail .fab { display: none; }
.fab { bottom: 108px; }
@media (max-width: 700px) { .fab { bottom: 172px; } }
body.subscribe-bar-dismissed .fab { bottom: 20px; }

/* -------------------------------------------------------- sticky subscribe bar */

.subscribe-fixed-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 55;
  background: var(--ink); color: var(--paper);
  box-shadow: 0 -8px 24px -12px rgba(0,0,0,.4);
}
.subscribe-fixed-bar.dismissed { display: none; }
body.on-listing-detail .subscribe-fixed-bar { display: none; }
.subscribe-fixed-inner {
  position: relative;
  display: flex; align-items: center; gap: 10px 28px; flex-wrap: wrap;
  padding-block: 14px; padding-right: 40px;
}
.subscribe-fixed-text { display: flex; flex-direction: column; gap: 2px; margin-right: auto; }
.subscribe-fixed-text strong { font-size: 15px; font-weight: 600; }
.subscribe-fixed-text span { font-size: 12.5px; color: rgba(250,247,242,.65); }
.subscribe-fixed-bar .subscribe-form { gap: 8px; flex-wrap: nowrap; }
.subscribe-fixed-bar .subscribe-form input { padding: 10px 14px; min-width: 0; flex: 1 1 auto; font-size: 13.5px; }
.subscribe-fixed-bar .btn { padding: 10px 18px; font-size: 13px; flex-shrink: 0; }
.subscribe-fixed-close {
  position: absolute; top: 10px; right: 14px;
  background: none; border: none; color: rgba(250,247,242,.55); cursor: pointer;
  font-size: 20px; line-height: 1; padding: 4px; flex-shrink: 0;
}
.subscribe-fixed-close:hover { color: var(--paper); }
@media (max-width: 640px) {
  .subscribe-fixed-text { margin-right: 0; flex: 1 1 100%; }
  .subscribe-fixed-bar .subscribe-form { flex: 1 1 100%; }
  .subscribe-fixed-inner { padding-block: 12px; }
}

/* ------------------------------------------------------- listing detail page */

[data-route="listing-detail"] { padding-bottom: 96px; }

.ld-hero {
  height: 46vh; min-height: 320px; max-height: 560px;
  background-size: cover; background-position: center; background-color: var(--paper-3);
}

.ld-back { margin-top: 22px; font-weight: 600; }

.ld-status-badge {
  display: inline-block;
  font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  padding: 5px 10px; border-radius: var(--radius);
  background: var(--paper-2); color: var(--ink);
}
.ld-status-badge.Sold { background: var(--ash); color: var(--white); }
.ld-status-badge.Pending { background: var(--gold); color: var(--white); }
.ld-status-badge.Active { background: var(--sea); color: var(--white); }

.ld-heading-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.ld-price { font-size: clamp(28px, 4vw, 40px); margin-top: 12px; }
.ld-address { font-size: 17px; color: var(--ink-soft); margin-top: 4px; }
.ld-heading-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.ld-spec-bar {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px;
  background: var(--line); border: 1px solid var(--line); border-radius: var(--radius);
  margin-top: 28px; overflow: hidden;
}
@media (min-width: 720px) { .ld-spec-bar { grid-template-columns: repeat(6, 1fr); } }
.ld-spec-box { background: var(--paper-2); padding: 16px 14px; text-align: center; }
.ld-spec-value { font-family: var(--font-display); font-size: 18px; color: var(--ink); }
.ld-spec-label { font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--ash); margin-top: 4px; }

.ld-main-grid { display: grid; gap: 44px; grid-template-columns: 1fr; align-items: start; }
@media (min-width: 900px) { .ld-main-grid { grid-template-columns: 2fr 1fr; } }

.ld-details-table { margin-top: 14px; border-top: 1px solid var(--line); }
.ld-details-row { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.ld-details-label { color: var(--ash); }
.ld-details-value { font-weight: 600; text-align: right; }

.ld-photo-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 16px; }
@media (min-width: 600px) { .ld-photo-grid { grid-template-columns: repeat(3, 1fr); } }
.ld-photo-thumb { aspect-ratio: 4/3; border-radius: var(--radius); overflow: hidden; cursor: pointer; }
.ld-photo-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .2s ease; }
.ld-photo-thumb:hover img { transform: scale(1.04); }

.ld-agent-card {
  background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; text-align: center; position: sticky; top: 24px;
}
.ld-agent-photo { width: 96px; height: 96px; border-radius: 999px; margin: 0 auto; }
.ld-agent-photo img { object-position: center 25%; }

.contact-photo {
  width: 190px; height: 245px; border-radius: 0; margin: 0 auto 22px;
  clip-path: url(#arch-photo-clip); box-shadow: none; background: transparent;
}
.contact-photo img { object-position: center 30%; }
.modal-contact-photo {
  width: 96px; height: 124px; border-radius: 0; margin: 0 auto 14px;
  clip-path: url(#arch-photo-clip-modal); box-shadow: none; background: transparent;
}
.modal-contact-photo img { object-position: center 30%; }

.ld-sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 70;
  background: var(--ink); color: var(--paper);
  box-shadow: 0 -8px 24px -12px rgba(0,0,0,.4);
}
.ld-sticky-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 14px; flex-wrap: wrap; }
.ld-sticky-price { font-family: var(--font-display); font-size: 18px; }
.ld-sticky-address { font-size: 12.5px; color: rgba(250,247,242,.7); }

/* --------------------------------------------------------------------blog */

.blog-list { display: grid; gap: 20px; }
.blog-card { border-bottom: 1px solid var(--line); padding-bottom: 24px; cursor: pointer; }
.blog-card:hover h3 { color: var(--gold-deep); }
.blog-date { font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--ash); }
.blog-card h3 { font-size: 22px; margin-top: 8px; }
.blog-card p { color: var(--ash); margin-top: 8px; font-size: 15px; }
.blog-detail { display: none; }
.blog-detail.show { display: block; }
.blog-detail-body p { white-space: pre-line; color: var(--ink-soft); font-size: 15.5px; line-height: 1.8; margin-bottom: 16px; }
.back-link { background: none; border: none; color: var(--gold-deep); font-weight: 600; cursor: pointer; padding: 0; font-size: 14px; margin-bottom: 20px; }

/* -------------------------------------------------------------------footer */

.site-footer { background: var(--ink); color: rgba(250,247,242,.85); padding-block: 56px 28px; }
.footer-grid { display: grid; gap: 36px; grid-template-columns: 1fr; }
@media (min-width: 800px) { .footer-grid { grid-template-columns: 1.3fr 1fr 1fr 1fr; } }
.footer-grid h4 { color: var(--paper); font-size: 13px; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 16px; font-family: var(--font-body); }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-grid a, .footer-grid button { color: rgba(250,247,242,.75); text-decoration: none; font-size: 14px; background: none; border: none; cursor: pointer; text-align: left; padding: 0; }
.footer-grid a:hover, .footer-grid button:hover { color: var(--gold); }
.footer-brand-row { display: flex; align-items: center; gap: 14px; }
.footer-photo-circle { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; object-position: center center; flex-shrink: 0; border: 1px solid rgba(250,247,242,.25); }
.footer-brand-name { font-family: var(--font-display); font-size: 24px; color: var(--paper); }
.footer-social { display: flex; gap: 14px; margin-top: 16px; }
.footer-social a { width: 36px; height: 36px; border: 1px solid rgba(250,247,242,.3); border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.footer-social a:hover { border-color: var(--gold); background: var(--gold); }
.footer-bottom { border-top: 1px solid rgba(250,247,242,.15); margin-top: 44px; padding-top: 22px; font-size: 12px; color: rgba(250,247,242,.5); line-height: 1.7; }

/* ----------------------------------------------------------------- subscribe band */

.subscribe-band { background: var(--sea); color: var(--paper); border-radius: var(--radius); padding: 40px 32px; display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; }
.subscribe-band h3 { color: var(--paper); font-size: 24px; }
.subscribe-band p { color: rgba(250,247,242,.75); margin-top: 8px; max-width: 42ch; }
.subscribe-form { display: flex; gap: 10px; flex-wrap: wrap; }
.subscribe-form input { padding: 13px 16px; border-radius: var(--radius); border: 1px solid rgba(250,247,242,.3); background: rgba(250,247,242,.08); color: var(--paper); min-width: 220px; }
.subscribe-form input::placeholder { color: rgba(250,247,242,.55); }

/* -------------------------------------------------------------------- misc */

.divider { height: 1px; background: var(--line); border: none; margin-block: 8px; }
.cols-2-text { display: grid; gap: 32px; grid-template-columns: 1fr; }
@media (min-width: 800px) { .cols-2-text { grid-template-columns: 1fr 1fr; } }
.cols-2-text.reverse { direction: rtl; }
.cols-2-text.reverse > * { direction: ltr; }
@media (min-width: 800px) { .cols-2-text.about-hero { grid-template-columns: 0.6fr 1fr; gap: 40px; } }
.about-photo-frame { height: 100%; min-height: 340px; }

.prose p + p { margin-top: 16px; }
.prose { color: var(--ink-soft); font-size: 16px; line-height: 1.75; }

.checklist-cat h4 { font-size: 16px; margin-bottom: 10px; color: var(--gold-deep); }
.checklist-cat ul { margin: 0 0 22px; padding-left: 18px; color: var(--ash); font-size: 14.5px; line-height: 1.9; }

.channel-grid { display: grid; gap: 24px; grid-template-columns: 1fr; }
@media (min-width: 700px) { .channel-grid { grid-template-columns: repeat(2, 1fr); } }
.channel-col h4 { font-size: 14px; letter-spacing: .04em; text-transform: uppercase; color: var(--paper); margin-bottom: 12px; }
.channel-col ul { margin: 0; padding-left: 18px; color: rgba(250,247,242,.75); font-size: 14px; line-height: 1.9; }

.page-intro { max-width: 68ch; }

.idx-box {
  border: 1px dashed var(--ash-soft);
  border-radius: var(--radius);
  padding: 30px;
  text-align: center;
  background: var(--paper-2);
}
.idx-box p { color: var(--ash); font-size: 14px; max-width: 50ch; margin: 8px auto 0; }
