/* ============ Iron Throne FFL — base styles ============ */
:root {
  --stone-900: #0e0d0c;
  --stone-800: #171513;
  --stone-700: #221f1c;
  --stone-600: #2e2a26;
  --iron: #8a8580;
  --parchment: #e9e1d0;
  --muted: #a39b8d;
  --gold: #c9a44c;
  --ember: #d4582a;
  --radius: 6px;
  --max: 1120px;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--stone-900);
  color: var(--parchment);
  font-family: "EB Garamond", Georgia, serif;
  font-size: 1.15rem;
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a { color: var(--gold); text-decoration: none; }
a:hover { color: var(--parchment); }

h1, h2, h3 {
  font-family: "Cinzel", Georgia, serif;
  letter-spacing: 0.06em;
  line-height: 1.2;
}

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(14, 13, 12, 0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--stone-600);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}
.brand {
  font-family: "Cinzel", serif; font-weight: 700;
  font-size: 1.25rem; letter-spacing: 0.12em; color: var(--parchment);
}
.brand span { color: var(--gold); }

.nav { display: flex; gap: 28px; list-style: none; }
.nav a {
  font-family: "Cinzel", serif; font-size: 0.85rem;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted);
  padding: 6px 0; border-bottom: 2px solid transparent;
}
.nav a:hover, .nav a.active { color: var(--parchment); border-color: var(--gold); }

.nav-toggle {
  display: none; background: none; border: 1px solid var(--stone-600);
  color: var(--parchment); font-size: 1.3rem; padding: 4px 12px;
  border-radius: var(--radius); cursor: pointer;
}

/* ---------- Hero ---------- */
.hero {
  text-align: center;
  padding: 120px 0 100px;
  background:
    radial-gradient(ellipse at 50% 120%, rgba(212, 88, 42, 0.25), transparent 60%),
    linear-gradient(var(--stone-800), var(--stone-900));
  border-bottom: 1px solid var(--stone-600);
}
.hero .eyebrow {
  font-family: "Cinzel", serif; color: var(--gold);
  letter-spacing: 0.3em; font-size: 0.85rem; text-transform: uppercase;
}
.hero h1 { font-size: clamp(2.4rem, 7vw, 4.5rem); margin: 16px 0; }
.hero p { color: var(--muted); max-width: 560px; margin: 0 auto 32px; }

.btn {
  display: inline-block; font-family: "Cinzel", serif;
  letter-spacing: 0.14em; text-transform: uppercase; font-size: 0.85rem;
  padding: 14px 28px; border: 1px solid var(--gold); color: var(--gold);
  border-radius: var(--radius); transition: all 0.2s;
}
.btn:hover { background: var(--gold); color: var(--stone-900); }

/* ---------- Page header (inner pages) ---------- */
.page-head {
  padding: 72px 0 48px; text-align: center;
  border-bottom: 1px solid var(--stone-600);
  background: linear-gradient(var(--stone-800), var(--stone-900));
}
.page-head h1 { font-size: clamp(2rem, 5vw, 3rem); }
.page-head p { color: var(--muted); margin-top: 8px; }

/* ---------- Sections & cards ---------- */
main { flex: 1; }
.section { padding: 72px 0; }
.section h2 { font-size: 1.6rem; margin-bottom: 24px; text-align: center; }

.grid {
  display: grid; gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.card {
  background: var(--stone-800); border: 1px solid var(--stone-600);
  border-radius: var(--radius); padding: 28px;
  transition: border-color 0.2s, transform 0.2s;
}
a.card { color: inherit; display: block; }
a.card:hover { border-color: var(--gold); transform: translateY(-2px); }
.card h3 { font-size: 1.1rem; margin-bottom: 8px; color: var(--parchment); }
.card p { color: var(--muted); font-size: 1rem; }

.placeholder {
  text-align: center; color: var(--muted);
  border: 1px dashed var(--stone-600); border-radius: var(--radius);
  padding: 64px 20px;
}

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--stone-600);
  padding: 28px 0; text-align: center;
  color: var(--muted); font-size: 0.9rem;
}

/* ---------- Mobile ---------- */
@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .nav {
    display: none; position: absolute; top: 68px; left: 0; right: 0;
    flex-direction: column; gap: 0; background: var(--stone-900);
    border-bottom: 1px solid var(--stone-600);
  }
  .nav.open { display: flex; }
  .nav a { display: block; padding: 16px 20px; border: none; }
  .hero { padding: 80px 0 70px; }
}
