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

/* ── Reset & Base ── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg:        #0e0d0b;
  --bg-mid:    #1a1814;
  --bg-card:   #201e1a;
  --border:    #3a3530;
  --text:      #ddd6c8;
  --text-muted:#8a8070;
  --gold:      #c9a84c;
  --gold-dim:  #9a7d38;
  --white:     #f2ece0;
  --red-dim:   #7a3020;

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'Source Serif 4', Georgia, serif;
  --font-mono:    'Courier New', monospace;

  --max-w: 860px;
  --max-w-wide: 1100px;
}

html {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

a {
  color: var(--gold);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: var(--white);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ── Typography ── */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--white);
  line-height: 1.25;
}

h1 { font-size: clamp(2rem, 5vw, 3.25rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.25rem); margin-bottom: 1rem; }
h3 { font-size: 1.25rem; margin-bottom: 0.5rem; }

p { margin-bottom: 1.25rem; }
p:last-child { margin-bottom: 0; }

/* ── Layout Utilities ── */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.container--wide {
  max-width: var(--max-w-wide);
}

.section {
  padding: 5rem 0;
}

.section--dark {
  background: var(--bg-mid);
}

.divider {
  width: 60px;
  height: 2px;
  background: var(--gold);
  margin: 1.5rem 0 2rem;
}

.divider--center {
  margin: 1.5rem auto 2rem;
}

.text-center { text-align: center; }
.text-muted  { color: var(--text-muted); }
.text-gold   { color: var(--gold); }

/* ── Buttons ── */
.btn {
  display: inline-block;
  padding: 0.75rem 2rem;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: background 0.2s, color 0.2s;
}

.btn:hover {
  background: var(--gold);
  color: var(--bg);
}

.btn--solid {
  background: var(--gold);
  color: var(--bg);
}

.btn--solid:hover {
  background: var(--white);
  border-color: var(--white);
  color: var(--bg);
}

/* ── Navigation ── */
.site-nav {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.site-nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  max-width: var(--max-w-wide);
  margin: 0 auto;
}

.site-nav__logo {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.04em;
}

.site-nav__logo:hover {
  color: var(--gold);
}

.site-nav__links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.site-nav__links a {
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-family: var(--font-display);
}

.site-nav__links a:hover,
.site-nav__links a[aria-current="page"] {
  color: var(--gold);
}

/* Mobile nav */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
}

@media (max-width: 680px) {
  .nav-toggle { display: flex; }

  .site-nav__links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-mid);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    gap: 0;
    padding: 0.5rem 0;
  }

  .site-nav__links.open {
    display: flex;
  }

  .site-nav__links li a {
    display: block;
    padding: 0.75rem 1.5rem;
  }
}

/* ── Hero ── */
.hero {
  padding: 7rem 1.5rem 6rem;
  text-align: center;
  position: relative;
  border-bottom: 1px solid var(--border);
  background-image: url('/images/hero-bg.webp');
  background-size: cover;
  background-position: center 30%;
  background-repeat: no-repeat;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(14,13,11,0.82) 0%,
    rgba(14,13,11,0.70) 50%,
    rgba(14,13,11,0.92) 100%
  );
  z-index: 0;
}

.hero > * {
  position: relative;
  z-index: 1;
}

.hero__eyebrow {
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  font-family: var(--font-display);
  margin-bottom: 1.5rem;
}

.hero__title {
  margin-bottom: 1.5rem;
}

.hero__subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 2.5rem;
  font-style: italic;
}

/* ── Cards ── */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 2rem;
}

/* ── Page Header ── */
.page-header {
  padding: 4rem 1.5rem 3rem;
  border-bottom: 1px solid var(--border);
}

.page-header__eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  font-family: var(--font-display);
  margin-bottom: 1rem;
}

/* ── Footer ── */
.site-footer {
  background: var(--bg-mid);
  border-top: 1px solid var(--border);
  padding: 3rem 1.5rem;
  text-align: center;
}

.site-footer__logo {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--white);
  margin-bottom: 1rem;
}

.site-footer__links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  list-style: none;
  margin-bottom: 1.5rem;
}

.site-footer__links a {
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}

.site-footer__links a:hover {
  color: var(--gold);
}

.site-footer__copy {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ── Prose ── */
.prose {
  max-width: 680px;
}

.prose h2 { margin-top: 2.5rem; margin-bottom: 0.75rem; }
.prose h3 { margin-top: 2rem; margin-bottom: 0.5rem; }
.prose ul, .prose ol { padding-left: 1.5rem; margin-bottom: 1.25rem; }
.prose li { margin-bottom: 0.4rem; }
