:root {
  --ink: #0D0D0D;
  --panel: #151515;
  --panel-line: rgba(184, 155, 86, 0.22);
  --gold: #B89B56;
  --gold-bright: #D3B876;
  --burgundy: #7E0F00;
  --cream: #F5F0E8;
  --muted: #A89060;

  --display: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html, body {
  background: var(--ink);
  color: var(--cream);
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

::selection {
  background: var(--gold);
  color: var(--ink);
}

a {
  color: var(--gold-bright);
  text-decoration-color: rgba(184, 155, 86, 0.4);
  text-underline-offset: 3px;
}
a:hover { text-decoration-color: var(--gold-bright); }
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--gold-bright);
  outline-offset: 3px;
}

/* ---------- Site nav ---------- */

.site-nav {
  display: flex;
  justify-content: center;
  gap: 28px;
  padding: 22px 20px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.site-nav a {
  color: var(--muted);
  text-decoration: none;
}
.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--gold-bright);
}

/* ---------- Shared layout ---------- */

main {
  flex: 1;
  width: 100%;
}

.page {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 28px 96px;
}

.rule {
  border: none;
  height: 1px;
  background: linear-gradient(
    to right,
    transparent,
    var(--panel-line) 15%,
    var(--panel-line) 85%,
    transparent
  );
  margin: 44px 0;
}

.eyebrow {
  font-family: var(--body);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}

.site-footer {
  text-align: center;
  padding: 28px 20px 36px;
  font-size: 13px;
  color: var(--muted);
}

.site-footer a { color: var(--muted); }
.site-footer a:hover { color: var(--gold-bright); }

@keyframes rise {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; }
}
