:root {
  --bg: #faf7f2;
  --card-bg: #ffffff;
  --ink: #1c1a17;
  --muted: #7a7268;
  --gold: #b8925a;
  --gold-strong: #a17b3f;
  --border: rgba(0,0,0,0.08);
  --shadow: 0 10px 30px rgba(0,0,0,0.08);
  --header-bg: #0c0b0a;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #15130f;
    --card-bg: #1f1c17;
    --ink: #f2ece2;
    --muted: #b3a696;
    --border: rgba(255,255,255,0.1);
    --shadow: 0 10px 30px rgba(0,0,0,0.45);
  }
}
:root[data-theme="dark"] {
  --bg: #15130f; --card-bg: #1f1c17; --ink: #f2ece2; --muted: #b3a696;
  --border: rgba(255,255,255,0.1); --shadow: 0 10px 30px rgba(0,0,0,0.45);
}
:root[data-theme="light"] {
  --bg: #faf7f2; --card-bg: #ffffff; --ink: #1c1a17; --muted: #7a7268;
  --border: rgba(0,0,0,0.08); --shadow: 0 10px 30px rgba(0,0,0,0.08);
}

* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Jost', 'Helvetica Neue', Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
.serif { font-family: 'Playfair Display', Georgia, serif; }

/* ---------- Header ---------- */
header.site-header {
  background: var(--header-bg);
  color: #f2ece2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 40px;
  position: sticky;
  top: 0;
  z-index: 50;
}
.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.85rem;
  letter-spacing: 0.03em;
}
.nav-links a {
  color: #f2ece2;
  text-decoration: none;
  opacity: 0.85;
  transition: opacity 0.2s;
}
.nav-links a:hover { opacity: 1; }
.nav-links a.active { border-bottom: 1px solid var(--gold); opacity: 1; }

.brand-mark img { display: block; }
header.site-header .brand-mark img { height: 42px; width: auto; }
footer .brand-mark img { height: 130px; width: auto; }

/* ---------- Shared social row (footer variant) ---------- */
.social-row {
  display: flex;
  gap: 14px;
}
.social-row a {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #cfc6b8;
  transition: color 0.2s, border-color 0.2s;
}
.social-row a:hover {
  color: var(--gold);
  border-color: var(--gold);
}

/* ---------- Footer ---------- */
footer.site-footer {
  background: var(--header-bg);
  color: #cfc6b8;
  padding: 70px 40px 30px;
}
.footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 0.9fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
}
.footer-grid .address {
  font-size: 0.85rem;
  line-height: 1.6;
  margin: 0 0 18px;
  color: #cfc6b8;
}
.footer-grid .brand-mark { display: inline-block; margin-bottom: 16px; }
.footer-grid h4 {
  color: #f2ece2;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 500;
  margin: 0 0 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255,255,255,0.15);
}
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: 10px; font-size: 0.85rem; }
.footer-grid a { color: #cfc6b8; text-decoration: none; }
.footer-grid a:hover { color: var(--gold); }
.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 24px;
  text-align: center;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  color: #8f8677;
}

@media (max-width: 720px) {
  header.site-header { padding: 16px 20px; }
  .nav-links { display: none; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
}
