:root {
  --ink: #e7e1d0;
  --muted: #a3acb0;
  --gold: #e7c46a;
  --gold-deep: #b98f35;
  --night: #0f1720;
  --panel: #16212c;
  --line: #2b3a48;
  --radius: 10px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--night);
  color: var(--ink);
  font: 16px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
a { color: var(--gold); }
img { max-width: 100%; display: block; }
h1, h2, h3 { font-family: Georgia, "Times New Roman", serif; line-height: 1.15; margin: 0 0 .6em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); color: var(--gold); letter-spacing: .02em; }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
.fine { color: var(--muted); font-size: .85rem; }

.topbar {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; gap: 24px;
  padding: 10px clamp(16px, 4vw, 40px);
  background: rgba(11, 17, 25, .88); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 10px; color: var(--gold); text-decoration: none; font: 700 1.05rem Georgia, serif; letter-spacing: .08em; }
.brand small { font-size: .7rem; letter-spacing: .3em; color: var(--ink); }
.topbar nav { display: flex; gap: 18px; margin-left: auto; }
.topbar nav a { color: var(--ink); text-decoration: none; font-size: .92rem; }
.topbar nav a:hover { color: var(--gold); }

.button {
  display: inline-block; padding: .7em 1.4em; border-radius: 8px;
  border: 1px solid var(--gold-deep); color: var(--ink); text-decoration: none; font-weight: 700; letter-spacing: .03em;
  background: rgba(255, 255, 255, .04);
}
.button:hover { border-color: var(--gold); color: var(--gold); }
.button.primary { background: linear-gradient(#f0cf78, var(--gold-deep)); color: #1b1408; border-color: #f0cf78; }
.button.primary:hover { filter: brightness(1.08); color: #1b1408; }
.button.small { padding: .45em 1em; font-size: .9rem; }

.hero { position: relative; min-height: min(86vh, 760px); display: grid; align-items: center; overflow: hidden; }
.hero .backdrop { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-copy { position: relative; padding: 80px clamp(16px, 6vw, 96px); max-width: 720px; }
.hero h1 { font-size: clamp(2.8rem, 8vw, 5.4rem); color: var(--gold); text-shadow: 0 4px 24px rgba(0, 0, 0, .6); margin-bottom: .1em; }
.hero h1 span { display: block; font-size: .32em; letter-spacing: .6em; color: var(--ink); }
.tagline { font: italic 1.2rem Georgia, serif; color: var(--ink); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 1.6em 0 1em; }
.status { color: var(--muted); font-size: .9rem; }

.band { padding: clamp(48px, 8vw, 96px) clamp(16px, 4vw, 40px); }
.band.dark { background: #0b121a; border-block: 1px solid var(--line); }
.wrap { max-width: 1120px; margin: 0 auto; }
.two { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: clamp(24px, 5vw, 64px); }

.facts { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.facts li { padding: 16px 18px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); }
.facts strong { display: block; color: var(--gold); margin-bottom: 4px; }

.classes { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.calling { padding: 22px; background: var(--panel); border: 1px solid var(--line); border-top: 3px solid var(--accent); border-radius: var(--radius); }
.calling h3 { color: var(--accent); margin-top: 12px; }
.calling .role { color: var(--muted); font-size: .85rem; text-transform: uppercase; letter-spacing: .12em; margin-top: -.4em; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0; text-align: center; border-top: 1px solid var(--line); padding-top: 12px; }
.stats dt { font-size: .7rem; color: var(--muted); }
.stats dd { margin: 0; font-weight: 700; }
.emblem { width: 56px; height: 56px; border-radius: 50%; border: 2px solid var(--accent); background: radial-gradient(circle at 50% 40%, color-mix(in srgb, var(--accent) 35%, transparent), transparent 70%); position: relative; }
.emblem::after { content: ""; position: absolute; inset: 14px; background: var(--accent); }
.emblem.vanguard::after { clip-path: polygon(50% 0, 100% 15%, 92% 60%, 50% 100%, 8% 60%, 0 15%); }
.emblem.ranger::after { clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%); }
.emblem.arcanist::after { clip-path: polygon(50% 0, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%); }
.emblem.cleric::after { clip-path: polygon(38% 0, 62% 0, 62% 30%, 100% 30%, 100% 54%, 62% 54%, 62% 100%, 38% 100%, 38% 54%, 0 54%, 0 30%, 38% 30%); }

.shot { margin: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--panel); }
.shot figcaption { padding: 10px 14px; color: var(--muted); font-size: .9rem; }

.post { padding: 16px 0; border-bottom: 1px solid var(--line); }
.post time { color: var(--muted); font-size: .8rem; }
.post h3 { margin: .2em 0 .4em; }
.post ul { margin: 0; padding-left: 1.2em; }

.downloads { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; margin: 1.4em 0; }
.download { display: block; padding: 18px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink); text-decoration: none; }
.download:hover { border-color: var(--gold); }
.download strong { display: block; color: var(--gold); font-size: 1.1rem; }
.download span { color: var(--muted); font-size: .9rem; }

.footer { padding: 32px 16px; text-align: center; border-top: 1px solid var(--line); }
.footer p { margin: .3em 0; }

@media (max-width: 760px) {
  .topbar nav { display: none; }
  .topbar .button { margin-left: auto; }
}
