/* David: The Anointed — the game's own site. One look, the game's dusk: dark earth, lamplight gold. */
:root {
  color-scheme: dark;
  --bg: #14100a;
  --bg-2: #1c160d;
  --card: #241b10;
  --line: #3a2d1b;
  --text: #f3e6c2;
  --muted: #bfae8c;
  --gold: #f2b33a;
  --gold-light: #ffe48a;
  --gold-deep: #c9821f;
  --ruby: #b03a2e;
  --serif: Georgia, "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Palatino, "DejaVu Serif", serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --wrap: 1120px;
}
* { box-sizing: border-box; }
html { background: var(--bg); }
body { margin: 0; background: var(--bg); color: var(--text); font: 17px/1.65 var(--serif); }
img { max-width: 100%; display: block; }
a { color: var(--gold-light); }
a:focus-visible, .btn:focus-visible { outline: 2px solid var(--gold-light); outline-offset: 3px; border-radius: 6px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }

/* header */
.top { position: sticky; top: 0; z-index: 10; background: rgba(20, 16, 10, 0.94); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 60px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 700; letter-spacing: 0.16em; font-size: 14px; }
.brand img { width: 34px; height: 34px; border-radius: 8px; }
.top nav { display: flex; gap: 22px; font: 600 13px/1 var(--sans); letter-spacing: 0.06em; }
.top nav a { color: var(--muted); text-decoration: none; padding: 10px 0; }
.top nav a:hover { color: var(--gold-light); }

/* hero */
.hero { position: relative; min-height: min(78vh, 640px); display: flex; align-items: center; background: #0e0b06 url(img/hero.jpg) 62% 50% / cover no-repeat; }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(14, 10, 4, 0.92) 0%, rgba(14, 10, 4, 0.78) 34%, rgba(14, 10, 4, 0.2) 66%, rgba(14, 10, 4, 0.05) 100%); }
.hero .wrap { position: relative; width: 100%; padding-block: 56px; }
.hero-card { max-width: 470px; text-align: center; }
.crown { width: 74px; height: 29px; margin: 0 auto 8px; }
.title { margin: 0; font-size: clamp(60px, 11vw, 112px); line-height: 1; letter-spacing: 0.14em; padding-left: 0.14em; font-weight: 700;
  background: linear-gradient(180deg, #fffbe6 0%, var(--gold-light) 30%, var(--gold) 55%, #ffeaa8 72%, var(--gold-deep) 100%); -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 0 14px rgba(255, 170, 50, 0.45)); }
.subtitle { margin: 14px 0 0; color: #ffe6a6; letter-spacing: 0.5em; padding-left: 0.5em; font-size: clamp(15px, 2.2vw, 21px); }
.tagline { margin: 22px 0 0; font-style: italic; font-size: 20px; }
.lede { margin: 10px auto 0; color: var(--muted); max-width: 30em; }
.cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 28px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border-radius: 10px; font: 600 15px/1 var(--sans); letter-spacing: 0.02em; text-decoration: none; }
.btn-primary { background: linear-gradient(180deg, #ffd98a, var(--gold)); color: #2a1a05; }
.btn-ghost { border: 1px solid rgba(243, 230, 194, 0.45); color: var(--text); }
.soon { display: block; margin-top: 10px; font: 13px/1.4 var(--sans); color: var(--muted); }

/* sections */
section { padding-block: 72px; }
section + section { border-top: 1px solid var(--line); }
.kicker { font: 700 12px/1 var(--sans); letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); margin: 0 0 12px; }
h2 { margin: 0 0 18px; font-size: clamp(28px, 4vw, 40px); line-height: 1.15; font-weight: 600; text-wrap: balance; }
.prose { max-width: 40em; }
.prose p { margin: 0 0 14px; }

.chapters { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 30px; }
.chapter { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 18px 20px; }
.chapter .ref { font: 600 12px/1.4 var(--sans); color: var(--gold); letter-spacing: 0.08em; }
.chapter h3 { margin: 6px 0 6px; font-size: 19px; }
.chapter p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.55; }

.shots { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 28px; }
.shots figure { margin: 0; }
.shots img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 10px; border: 1px solid var(--line); background: var(--bg-2); }
.shots figcaption { margin-top: 8px; font: 14px/1.4 var(--sans); color: var(--muted); }

.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 28px; }
.feature { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 20px; }
.feature h3 { margin: 0 0 6px; font-size: 18px; color: var(--gold-light); }
.feature p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.55; }

.family { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: 26px; }
.pledge { border-top: 2px solid var(--gold); padding-top: 14px; }
.pledge strong { display: block; font-size: 18px; }
.pledge span { color: var(--muted); font-size: 15px; }

.verse { text-align: center; background: var(--bg-2); }
.verse blockquote { margin: 0 auto; max-width: 30em; font-size: clamp(21px, 3vw, 28px); font-style: italic; line-height: 1.45; }
.verse cite { display: block; margin-top: 14px; font: 600 13px/1 var(--sans); letter-spacing: 0.12em; color: var(--gold); font-style: normal; }

footer { border-top: 1px solid var(--line); padding-block: 30px 40px; color: var(--muted); font: 14px/1.6 var(--sans); }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; }
footer a { color: var(--muted); }

/* the privacy page */
.doc { max-width: 720px; padding-block: 48px 72px; }
.doc h1 { margin: 6px 0 4px; font-size: clamp(32px, 5vw, 42px); font-weight: 600; }
.doc .updated { margin: 0 0 28px; padding-bottom: 20px; border-bottom: 1px solid var(--line); color: var(--muted); font-style: italic; }
.doc h2 { font-size: 21px; margin: 30px 0 8px; }
.doc p { margin: 0 0 12px; }

@media (max-width: 860px) {
  .features, .chapters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .family { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .top nav { gap: 14px; }
  .top nav .hide-sm { display: none; }
  .hero { background-position: 70% 50%; min-height: 560px; align-items: flex-end; }
  .hero::before { background: linear-gradient(0deg, rgba(14, 10, 4, 0.95) 0%, rgba(14, 10, 4, 0.82) 48%, rgba(14, 10, 4, 0.25) 100%); }
  .hero .wrap { padding-block: 40px 36px; }
  .hero-card { margin: 0 auto; }
  section { padding-block: 52px; }
  .shots, .features, .chapters { grid-template-columns: 1fr; }
  .brand .hide-sm { display: none; }
}
