:root {
  --ink: #efe6d0;
  --ink-dim: #cabd9c;
  --bg: #0d1420;
  --bg-panel: #141d2c;
  --bg-panel-2: #1a2436;
  --bronze: #c9a24b;
  --bronze-bright: #e8c874;
  --sea: #2c4d6e;
  --sea-light: #3f6f97;
  --border: #3a3120;
  --max-width: 1080px;
  font-size: 17px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Georgia, "Iowan Old Style", "Palatino Linotype", Palatino, serif;
  line-height: 1.6;
}

a { color: var(--bronze-bright); }

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

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

/* Header */
header.site {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(13, 20, 32, 0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--border);
}

header.site .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 0;
  padding-top: 14px;
  padding-bottom: 14px;
}

@media (max-width: 640px) {
  header.site .wrap { justify-content: center; text-align: center; }
  .brand { display: block; }
  .brand-sub { display: block; margin-top: 2px; }
  nav.site-nav { display: flex; justify-content: center; flex-wrap: wrap; width: 100%; }
  nav.site-nav a { margin: 0 10px; }
}

.brand {
  font-family: "Trajan Pro", Cambria, Georgia, serif;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.95rem;
  color: var(--bronze-bright);
  text-decoration: none;
  font-weight: bold;
}

.brand-sub {
  color: var(--ink-dim);
  font-weight: normal;
  letter-spacing: 0.04em;
  font-size: 0.72rem;
  display: inline-block;
}

nav.site-nav a {
  color: var(--ink-dim);
  text-decoration: none;
  margin-left: 22px;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

nav.site-nav a:hover { color: var(--bronze-bright); }

/* Hero */
.hero {
  border-bottom: 1px solid var(--border);
  background: radial-gradient(ellipse at top, #16223a 0%, #0d1420 65%);
}

.hero .wrap {
  padding-top: 40px;
  padding-bottom: 40px;
  text-align: center;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--bronze-bright);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.8rem;
}

.hero-title {
  font-family: "Trajan Pro", Cambria, Georgia, serif;
  color: var(--ink);
  font-size: 1.9rem;
  letter-spacing: 0.01em;
  margin: 0 0 14px;
  font-weight: bold;
}

.hero-tagline {
  max-width: 620px;
  margin: 0 auto 22px;
  color: var(--ink-dim);
  font-size: 1.02rem;
}

.badges-top {
  margin-top: 0;
  margin-bottom: 28px;
}

.hero-cover {
  display: block;
  width: 100%;
  border-radius: 6px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.55);
  border: 1px solid var(--border);
  margin: 0 auto 28px;
}

@media (max-width: 600px) {
  .hero { padding-top: 16px; }
  .hero .wrap { padding-top: 0; }
  .hero-title { font-size: 1.5rem; }
  .badges-top { gap: 16px 22px; }
  .badge-coop { display: none; }
}

.hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 26px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 4px;
  text-decoration: none;
  font-size: 0.92rem;
  letter-spacing: 0.03em;
  border: 1px solid var(--bronze);
  color: var(--bg);
  background: linear-gradient(180deg, var(--bronze-bright), var(--bronze));
  font-weight: bold;
  transition: transform 0.1s ease, box-shadow 0.1s ease;
}

.btn:hover { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(201,162,75,0.35); }

.btn.ghost {
  background: transparent;
  color: var(--bronze-bright);
}

/* Sections */
section { padding: 64px 0; border-bottom: 1px solid var(--border); }
section:last-of-type { border-bottom: none; }

h1 {
  font-size: 1.4rem;
  letter-spacing: 0.03em;
  color: var(--ink-dim);
  text-align: center;
  font-weight: normal;
  margin: 0 0 6px;
}

h2 {
  font-family: "Trajan Pro", Cambria, Georgia, serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--bronze-bright);
  font-size: 1.5rem;
  margin: 0 0 28px;
  text-align: center;
}

h3 {
  color: var(--bronze-bright);
  font-size: 1.1rem;
  margin: 0 0 8px;
}

.lede {
  max-width: 640px;
  margin: 0 auto 20px;
  text-align: center;
  color: var(--ink-dim);
  font-style: italic;
  font-size: 1.05rem;
}

.prose {
  max-width: 680px;
  margin: 0 auto;
  color: var(--ink);
}

.prose p { margin: 0 0 1.1em; }

.badges {
  display: flex;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
  margin-top: 22px;
  color: var(--ink-dim);
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.badges strong { color: var(--bronze-bright); display: block; font-size: 1.1rem; letter-spacing: normal; }

/* Warning box */
.warning-box {
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-left: 4px solid var(--bronze);
  border-radius: 4px;
  padding: 24px 28px;
  max-width: 760px;
  margin: 0 auto 20px;
}

.warning-box h3 { margin-top: 0; }

.warning-box ul { margin: 0.4em 0 0; padding-left: 1.2em; }
.warning-box li { margin-bottom: 0.4em; }

.needed-grid {
  max-width: 760px;
  margin: 28px auto 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 10px 28px;
  color: var(--ink-dim);
  font-size: 0.95rem;
}

.needed-grid li { margin-bottom: 6px; }

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

.gallery-grid figure {
  margin: 0;
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
}

.gallery-grid img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }

.gallery-grid figcaption {
  padding: 10px 14px;
  font-size: 0.85rem;
  color: var(--ink-dim);
  letter-spacing: 0.02em;
}

/* Downloads */
.download-group {
  margin-bottom: 40px;
}

.download-group:last-child { margin-bottom: 0; }

.download-group > p.group-note {
  text-align: center;
  color: var(--ink-dim);
  font-size: 0.92rem;
  margin: -14px 0 22px;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}

.dl-card {
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.dl-card .meta {
  color: var(--ink-dim);
  font-size: 0.85rem;
  flex-grow: 1;
}

.dl-card .filesize {
  color: var(--bronze-bright);
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.dl-card .btn { justify-content: center; margin-top: 6px; }

/* Footer */
footer.site {
  padding: 40px 0 60px;
  text-align: center;
  color: var(--ink-dim);
  font-size: 0.85rem;
}

footer.site .ai-note {
  max-width: 640px;
  margin: 0 auto 18px;
  font-size: 0.82rem;
  opacity: 0.8;
}

footer.site .quote {
  font-style: italic;
  color: var(--bronze-bright);
  margin-bottom: 18px;
}

footer.site .copyright {
  margin: 24px 0 0;
  font-size: 0.78rem;
  opacity: 0.7;
}
