/* IJIDI Media — tokens follow the IJIDI Group identity (Media uses the unified IJIDI wordmark):
   Obsidian, Ivory, Champagne Gold. Gold is used sparingly. No gradients or glow. */
@font-face { font-family: "Cormorant Garamond"; font-weight: 500; font-style: normal; font-display: swap; src: url("/fonts/cormorant-500.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-weight: 500; font-style: italic; font-display: swap; src: url("/fonts/cormorant-500-italic.woff2") format("woff2"); }
@font-face { font-family: "Manrope"; font-weight: 400; font-display: swap; src: url("/fonts/manrope-400.woff2") format("woff2"); }
@font-face { font-family: "Manrope"; font-weight: 600; font-display: swap; src: url("/fonts/manrope-600.woff2") format("woff2"); }

:root {
  --bg: #111111;
  --surface: #171614;
  --line: rgba(245, 241, 232, 0.12);
  --fg: #f5f1e8;
  --muted: #a9a397;
  --gold: #c6a15b;
  --display: "Cormorant Garamond", Georgia, serif;
  --body: "Manrope", "Segoe UI", system-ui, sans-serif;
  --wide: 1180px;
  --gutter: clamp(20px, 4vw, 48px);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 400 1rem/1.65 var(--body); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--fg); color: var(--bg); padding: 8px 14px; z-index: 10; }
.skip:focus { left: 8px; }

.wrap { max-width: var(--wide); margin: 0 auto; padding: 0 var(--gutter); }

header.site { border-bottom: 1px solid var(--line); }
header.site .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.mark { font-family: var(--display); font-size: 1.45rem; letter-spacing: 0.06em; text-decoration: none; }
.mark span { color: var(--gold); }
nav.top a { color: var(--muted); text-decoration: none; font-size: 0.9375rem; }
nav.top a:hover { color: var(--fg); }

.hero { padding-block: clamp(72px, 12vw, 140px) clamp(48px, 7vw, 88px); }
.eyebrow { font-size: 0.8125rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); margin: 0 0 18px; }
h1, h2 { font-family: var(--display); font-weight: 500; line-height: 1.08; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(2.75rem, 7vw, 5.25rem); }
h1 em { font-style: italic; color: var(--gold); }
h2 { font-size: clamp(1.75rem, 3.6vw, 2.5rem); }
.lede { max-width: 58ch; color: var(--muted); font-size: 1.125rem; margin: 22px 0 0; }

.grid { list-style: none; margin: 0; padding: 0 0 clamp(72px, 10vw, 120px); display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); }
.card { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 22px; transition: border-color 0.2s ease, transform 0.2s ease; }
.card:hover { border-color: rgba(198, 161, 91, 0.5); transform: translateY(-2px); }
.card img { width: 132px; height: 132px; margin: 0 0 18px; }
.card h2 { font-size: 1.6rem; }
.card h2 a { text-decoration: none; }
.card h2 a::after { content: ""; position: absolute; inset: 0; border-radius: 14px; }
.card p { margin: 6px 0 0; color: var(--muted); }
.status { display: inline-block; margin-top: 14px; font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; border: 1px solid var(--line); border-radius: 999px; padding: 4px 10px; color: var(--muted); }
.status.first { color: var(--gold); border-color: rgba(198, 161, 91, 0.45); }

.property { padding-block: clamp(56px, 9vw, 110px) clamp(72px, 10vw, 120px); display: grid; gap: clamp(28px, 5vw, 64px); grid-template-columns: minmax(0, 300px) minmax(0, 1fr); align-items: center; }
.property img { width: 100%; max-width: 300px; }
.property .lede { margin-top: 18px; }
.back { display: inline-block; margin-top: 32px; color: var(--muted); }

footer.site { border-top: 1px solid var(--line); padding: 36px 0 48px; color: var(--muted); font-size: 0.9375rem; }
footer.site .wrap { display: grid; gap: 10px; }
footer.site p { margin: 0; }
footer.site ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 18px; }
footer.site a { color: var(--fg); }

@media (max-width: 720px) {
  .property { grid-template-columns: 1fr; }
  .property img { max-width: 220px; }
}
@media (prefers-reduced-motion: reduce) {
  .card { transition: none; }
  .card:hover { transform: none; }
}
@media (forced-colors: active) {
  .card, .status { border: 1px solid CanvasText; }
}
