/* Dark theme: near-black with gold accents.
 * Registered in src/themes.js, which also names its web fonts. */

:root {
  --bg: #14161a;
  --surface: #1d2026;
  --text: #eceae4;
  --muted: #9aa0a8;
  --line: #2c3038;
  --accent: #d4af37;
  --accent-text: #14161a;
  --highlight: #d4af37;
  --hero-from: #1d2026;
  --hero-to: #14161a;
  --hero-text: #eceae4;
  --status-available: #4ade80;
  --status-reserved: #fbbf24;
  --status-sold: #f87171;
  --heading: 'Cormorant Garamond', Georgia, serif;
  --body: Lato, 'Segoe UI', system-ui, sans-serif;
  /* Black-only (monochrome SVG) logos are shown in the text colour. */
  --logo-mono-filter: invert(1) brightness(.93);
}

/* Highlighted sections: the background turns gold, but tiles (cards, the
 * contact form, the offer table) keep the page's own dark colours, saved by
 * base.css as --pg-*, so they stand out against the gold instead of
 * blending into it. Text beside them stays in the highlight's colours. */
.is-highlighted .card,
.is-highlighted .table-wrap {
  --bg: var(--pg-bg);
  --surface: var(--pg-surface);
  --text: var(--pg-text);
  --muted: var(--pg-muted);
  --line: var(--pg-line);
  --accent: var(--pg-accent);
  --accent-text: var(--pg-accent-text);
  --highlight: var(--pg-highlight);
  color: var(--text);
}

/* The offer's status badges: back to their usual tints on the dark table. */
.is-highlighted .table-wrap .status {
  background: color-mix(in srgb, var(--st) 14%, transparent);
}

.is-highlighted .table-wrap .status.other {
  --st: var(--muted);
}
