@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;500;600&family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500;1,600&family=Source+Serif+4:ital,opsz,wght@0,8..60,300;0,8..60,400;0,8..60,500;1,8..60,300;1,8..60,400;1,8..60,500&display=swap');

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg: #141210;
  --surface: #1e1a16;
  --surface-raised: #252018;
  --text-primary: #e8e2d8;
  --text-secondary: #c8bfb0;
  --text-muted: #9a8e82;
  --accent: #c9a96e;
  --accent-dim: rgba(201, 169, 110, 0.18);
  --accent-border: rgba(201, 169, 110, 0.25);
  --border: rgba(201, 169, 110, 0.12);
  --border-mid: rgba(201, 169, 110, 0.2);
}

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background-color: var(--bg);
  color: var(--text-primary);
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 17px;
  line-height: 1.75;
  min-height: 100vh;
}

a {
  color: inherit;
  text-decoration: none;
}

/* ─── TOP BAR ─────────────────────────────────────────────── */

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
  height: 56px;
  border-bottom: 1px solid var(--accent-border);
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: var(--bg);
}

.topbar-brand {
  font-family: 'Cinzel', serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-secondary);
  transition: color 0.2s ease;
}

.topbar-brand:hover {
  color: var(--accent);
}

.topbar-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.topbar-title {
  font-family: 'Cinzel', serif;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color 0.2s ease;
}

.topbar-title:hover {
  color: var(--text-secondary);
}

.topbar-nav-link {
  font-family: 'Cinzel', serif;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color 0.2s ease;
}

.topbar-nav-link:hover {
  color: var(--accent);
}

/* ─── LABEL SYSTEM ────────────────────────────────────────── */

.label {
  font-family: 'Cinzel', serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
}

.label-muted {
  font-family: 'Cinzel', serif;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ─── SECTION DIVIDER ─────────────────────────────────────── */

.section-rule {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 40px;
}

.section-rule .label {
  white-space: nowrap;
  flex-shrink: 0;
}

.section-rule::after {
  content: '';
  display: block;
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, var(--accent-border), transparent);
}

/* ─── FOOTER ──────────────────────────────────────────────── */

.site-footer {
  border-top: 1px solid var(--border);
  padding: 48px;
  margin-top: 96px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.site-footer .byline {
  font-family: 'Source Serif 4', serif;
  font-size: 15px;
  font-style: italic;
  color: var(--text-muted);
}

.site-footer .byline a {
  color: var(--accent);
  transition: opacity 0.2s ease;
}

.site-footer .byline a:hover {
  opacity: 0.8;
}

.site-footer .footer-journal {
  font-family: 'Cinzel', serif;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ─── RESPONSIVE ──────────────────────────────────────────── */

@media (max-width: 768px) {
  .topbar {
    padding: 0 24px;
  }

  .site-footer {
    padding: 40px 24px;
    flex-direction: column;
    align-items: flex-start;
  }
}
