/* Layout concept: a bright gallery wall. White ground, deep Abuja green as the only accent,
   a high-contrast Didone for names and prices, a clean grotesk for facts. */
:root {
  --paper: #FFFFFF;
  --stone: #F3F4F1;
  --ink: #121614;
  --muted: #59605C;
  --line: #E1E4DF;
  --accent: #1F4A3A;
  --accent-ink: #FFFFFF;
  --accent-soft: #E6EEE9;
  --warn: #7A4E00;
  --warn-soft: #FBF0D9;
  --danger: #A32A1C;
  --danger-soft: #FBE9E6;

  --display: 'Playfair Display', 'Didot', 'Bodoni 72', Georgia, serif;
  --sans: 'Jost', 'Futura', 'Century Gothic', 'Helvetica Neue', Arial, sans-serif;
  --mono: 'Jost', 'Futura', 'Century Gothic', 'Helvetica Neue', Arial, sans-serif;

  --gutter: clamp(16px, 4.5vw, 64px);
  --max: 1320px;
  --r: 2px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  color-scheme: light;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
[hidden] { display: none !important; }

.wrap {
  width: 100%;
  max-width: calc(var(--max) + 2 * var(--gutter));
  margin: 0 auto;
  padding-left: max(var(--gutter), env(safe-area-inset-left, 0px));
  padding-right: max(var(--gutter), env(safe-area-inset-right, 0px));
}

.eyebrow {
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted);
}
.mono { font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase; }
.num { font-variant-numeric: tabular-nums lining-nums; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px;
  border: 1px solid var(--ink); border-radius: var(--r);
  background: var(--ink); color: var(--paper);
  font-size: 13px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase;
  text-decoration: none; cursor: pointer;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.btn:hover { background: var(--accent); border-color: var(--accent); }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.btn-accent { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.btn-accent:hover { background: var(--ink); border-color: var(--ink); }
.btn-sm { min-height: 44px; padding: 0 16px; font-size: 12px; letter-spacing: 0.14em; }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }

/* Status pills */
.pill {
  display: inline-flex; align-items: center; gap: 6px;
  height: 24px; padding: 0 8px; border-radius: var(--r);
  font-size: 12px; font-weight: 500;
  background: var(--paper); color: var(--ink);
}
.pill.available { background: var(--accent-soft); color: var(--accent); }
.pill.under_offer { background: var(--warn-soft); color: var(--warn); }
.pill.sold { background: var(--stone); color: var(--muted); }
.pill.hidden-pill { background: var(--stone); color: var(--muted); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
