:root {
  --bg: #0f130d;
  --panel: #171d14;
  --ink: #eee6d2;
  --muted: #b9b09a;
  --gold: #d9b45a;
  --gold-deep: #a9832e;
  --leaf: #7fa64a;
  --line: rgba(217, 180, 90, 0.22);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 18px/1.6 "Alegreya", Georgia, serif;
}
a { color: var(--gold); }
img, video { display: block; max-width: 100%; }

/* hero */
.hero { position: relative; min-height: 92vh; display: flex; flex-direction: column; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-shade {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10, 13, 8, 0.55) 0%, rgba(10, 13, 8, 0.15) 35%, rgba(15, 19, 13, 0.85) 80%, var(--bg) 100%);
}
.top {
  position: relative; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 18px 28px; font-family: "Cinzel", serif; letter-spacing: 0.06em;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.05rem; }
.brand img { width: 30px; height: 30px; border-radius: 7px; }
.links { display: flex; gap: 22px; flex-wrap: wrap; }
.links a { color: var(--ink); text-decoration: none; font-size: 0.85rem; opacity: 0.85; }
.links a:hover { color: var(--gold); opacity: 1; }
.hero-text { position: relative; margin-top: auto; padding: 0 28px 9vh; max-width: 760px; }
.kicker { font-family: "Cinzel", serif; letter-spacing: 0.25em; text-transform: uppercase; font-size: 0.8rem; color: var(--gold); margin: 0; }
h1 {
  font-family: "Cinzel Decorative", serif; font-size: clamp(3rem, 9vw, 6.2rem); line-height: 1; margin: 8px 0 0;
  color: var(--gold); text-shadow: 0 3px 24px rgba(0, 0, 0, 0.6);
}
.sub { font-family: "Cinzel", serif; letter-spacing: 0.3em; text-transform: uppercase; margin: 6px 0 18px; color: var(--ink); }
.lede { font-size: 1.15rem; color: var(--ink); max-width: 620px; text-shadow: 0 1px 8px rgba(0, 0, 0, 0.7); }
.cta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 22px; }
.btn {
  font-family: "Cinzel", serif; font-weight: 700; letter-spacing: 0.06em; text-decoration: none;
  padding: 13px 22px; border: 1px solid var(--gold); border-radius: 4px; color: var(--gold);
  background: rgba(15, 19, 13, 0.55);
}
.btn.primary { background: linear-gradient(180deg, var(--gold), var(--gold-deep)); color: #1a1408; border-color: transparent; }
.btn:hover { filter: brightness(1.1); }

/* sections */
main { max-width: 1180px; margin: 0 auto; padding: 0 28px; }
.band { padding: 64px 0 24px; border-top: 1px solid var(--line); }
.band:first-child { border-top: 0; }
h2 { font-family: "Cinzel", serif; font-weight: 700; letter-spacing: 0.08em; color: var(--gold); font-size: 1.7rem; margin: 0 0 24px; }
h3 { font-family: "Cinzel", serif; margin: 14px 0 6px; font-size: 1.1rem; }
.note { color: var(--muted); font-style: italic; font-size: 0.95rem; }
.trailer { width: 100%; border-radius: 6px; box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5); background: #000; }
.story { max-width: 780px; font-size: 1.1rem; margin-bottom: 28px; }
.chapters { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 22px; }
.chapters article { background: var(--panel); border: 1px solid var(--line); border-radius: 6px; overflow: hidden; }
.chapters article img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }
.chapters article h3, .chapters article p { padding: 0 16px; }
.chapters article p { color: var(--muted); font-size: 0.98rem; margin: 0 0 16px; }
.gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; margin-top: 22px; }
.gallery img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 6px; }

.downloads { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; }
.dl {
  display: flex; flex-direction: column; gap: 4px; padding: 18px 20px; text-decoration: none;
  background: var(--panel); border: 1px solid var(--line); border-radius: 6px; color: var(--ink);
}
.dl:hover { border-color: var(--gold); }
.dl .os { font-family: "Cinzel", serif; font-weight: 700; color: var(--gold); font-size: 1.15rem; }
.dl .meta { color: var(--muted); font-size: 0.92rem; }
.dl.featured { background: linear-gradient(160deg, #2a3320, var(--panel)); border-color: var(--gold-deep); }

.table-wrap { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; min-width: 520px; }
th, td { text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--line); }
th { font-family: "Cinzel", serif; color: var(--gold); font-weight: 700; font-size: 0.9rem; letter-spacing: 0.05em; }
td:first-child { color: var(--ink); }
td { color: var(--muted); }

.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; }
.facts div { background: var(--panel); border: 1px solid var(--line); border-radius: 6px; padding: 18px; display: flex; flex-direction: column; gap: 6px; }
.facts b { font-family: "Cinzel", serif; color: var(--gold); }
.facts span { color: var(--muted); font-size: 0.97rem; }

footer { text-align: center; padding: 48px 16px 64px; border-top: 1px solid var(--line); margin-top: 48px; font-family: "Cinzel", serif; font-size: 0.85rem; }

@media (max-width: 640px) {
  body { font-size: 17px; }
  .top { padding: 14px 16px; flex-direction: column; align-items: flex-start; }
  .links { gap: 14px; }
  .hero-text { padding: 0 16px 8vh; }
  main { padding: 0 16px; }
  .band { padding-top: 48px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-bg { display: none; }
  .hero { background: url("media/title.jpg") center / cover; }
}
