:root {
  --bg: #080b14;
  --bg-2: #0c1322;
  --bg-3: #111a2d;
  --panel: #0f1828;
  --gold: #e0a73e;
  --gold-2: #f0c267;
  --cyan: #6fb7d4;
  --text: #dce3ef;
  --muted: #8c98ad;
  --line: rgba(255,255,255,0.10);
  --radius: 12px;
  --shadow: 0 24px 60px -28px rgba(0,0,0,0.8);
  --maxw: 1140px;
  --disp: "Oswald", "Arial Narrow", sans-serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }

h1, h2, h3 { font-family: var(--disp); font-weight: 600; line-height: 1.05; margin: 0 0 0.5em; letter-spacing: 0.01em; text-transform: uppercase; }
h1 { font-size: clamp(2.1rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.35rem; letter-spacing: 0.02em; }
p { margin: 0 0 1rem; }
a { color: var(--gold-2); text-decoration: none; }
a:hover { text-decoration: underline; }
em { font-style: italic; color: #fff; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 760px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: 0.85rem; }

.eyebrow { font-family: var(--sans); text-transform: uppercase; letter-spacing: 0.22em; font-size: 0.74rem; font-weight: 600; color: var(--gold); margin: 0 0 0.9rem; }
.eyebrow-ink { color: #5a3c0d; }
.lead { font-size: 1.18rem; color: #c4cdde; }
.lead.ink { color: #2a2410; }

/* Buttons */
.btn { display: inline-block; background: var(--gold); color: #1a1206; padding: 0.7rem 1.5rem; border-radius: 8px; font-family: var(--disp); text-transform: uppercase; letter-spacing: 0.05em; font-weight: 600; font-size: 0.95rem; border: 2px solid var(--gold); transition: transform .15s ease, background .15s ease, box-shadow .15s ease; cursor: pointer; }
.btn:hover { background: var(--gold-2); border-color: var(--gold-2); text-decoration: none; transform: translateY(-2px); box-shadow: 0 12px 28px -12px rgba(224,167,62,0.6); }
.btn-lg { padding: 0.9rem 1.9rem; font-size: 1.05rem; }
.btn-sm { padding: 0.45rem 1.1rem; font-size: 0.85rem; }
.btn-ghost { background: transparent; color: var(--text); border-color: rgba(255,255,255,0.28); }
.btn-ghost:hover { background: rgba(255,255,255,0.07); border-color: #fff; box-shadow: none; }
.btn-dark { background: #11192a; color: var(--gold-2); border-color: #11192a; }
.btn-dark:hover { background: #0a0f1c; border-color: #0a0f1c; box-shadow: 0 12px 28px -14px rgba(0,0,0,0.7); }
.btn-pending { background: transparent; color: var(--muted); border-color: var(--line); cursor: pointer; }
.btn-pending:hover { background: rgba(255,255,255,0.04); border-color: rgba(255,255,255,0.3); color: var(--text); transform: none; box-shadow: none; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(8,11,20,0.86); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 66px; }
.brand { display: inline-flex; align-items: center; gap: 0.6rem; color: #fff; font-family: var(--disp); font-weight: 600; font-size: 1.2rem; letter-spacing: 0.12em; }
.brand:hover { text-decoration: none; }
.brand-mark { color: var(--gold); display: inline-flex; }
.nav-links { display: flex; align-items: center; gap: 1.5rem; list-style: none; margin: 0; padding: 0; }
.nav-links a { color: rgba(220,227,239,0.82); font-size: 0.9rem; font-weight: 500; letter-spacing: 0.02em; }
.nav-links a:hover { color: #fff; text-decoration: none; }
.nav-links .btn { color: #1a1206; }
.nav-links .btn:hover { color: #1a1206; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 24px; height: 2px; background: #fff; border-radius: 2px; }

/* Hero */
.hero { position: relative; overflow: hidden; padding: clamp(3rem, 7vw, 6rem) 0 clamp(3.5rem, 7vw, 6rem); background:
  radial-gradient(1200px 600px at 80% -10%, rgba(224,167,62,0.12), transparent 60%),
  radial-gradient(900px 500px at 0% 110%, rgba(111,183,212,0.12), transparent 55%),
  linear-gradient(180deg, #0a0f1d, #080b14); }
.stars { position: absolute; inset: 0; pointer-events: none; opacity: 0.5;
  background-image:
    radial-gradient(1.4px 1.4px at 20% 30%, #fff, transparent),
    radial-gradient(1.2px 1.2px at 70% 20%, #cfe3ff, transparent),
    radial-gradient(1px 1px at 40% 70%, #fff, transparent),
    radial-gradient(1.3px 1.3px at 85% 60%, #fff, transparent),
    radial-gradient(1px 1px at 55% 45%, #bcd4ff, transparent),
    radial-gradient(1.1px 1.1px at 10% 80%, #fff, transparent),
    radial-gradient(1px 1px at 90% 88%, #fff, transparent),
    radial-gradient(1.2px 1.2px at 33% 12%, #fff, transparent);
  background-repeat: no-repeat; }
.hero-inner { position: relative; display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.hero-text h1 { color: #fff; max-width: 16ch; }
.hero-sub { font-size: 1.2rem; max-width: 50ch; color: #c4cdde; }
.hero-actions { display: flex; gap: 0.8rem; flex-wrap: wrap; margin-top: 1.6rem; }
.hero-cover { display: flex; justify-content: center; }
.hero-cover img { width: min(330px, 80%); border-radius: 8px; box-shadow: 0 30px 70px -24px rgba(0,0,0,0.85), 0 0 0 1px rgba(255,255,255,0.06); transform: rotate(-2deg); transition: transform .3s ease; }
.hero-cover img:hover { transform: rotate(0deg) translateY(-4px); }

/* Bands */
.band { padding: clamp(3.2rem, 7vw, 5.5rem) 0; }
.band-2 { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.band-accent { background: linear-gradient(135deg, var(--gold), var(--gold-2)); color: #2a2410; }
.band-accent h2 { color: #1c1505; }
.section-head { margin-bottom: 2.6rem; }

.pull-quote { margin: 2.6rem auto 0; max-width: 60ch; font-family: var(--sans); font-size: 1.22rem; line-height: 1.6; color: #e9eefa; border-left: 3px solid var(--gold); padding: 0.4rem 0 0.4rem 1.4rem; text-align: left; font-style: italic; }
.pull-quote cite { display: block; margin-top: 0.8rem; font-style: normal; font-size: 0.95rem; color: var(--gold); letter-spacing: 0.04em; }

/* Books */
.books { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(1.4rem, 3vw, 2.4rem); }
.book { display: grid; grid-template-columns: 150px 1fr; gap: 1.4rem; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem; }
.book-cover img { width: 100%; border-radius: 6px; box-shadow: 0 16px 30px -16px rgba(0,0,0,0.8); }
.book-meta { font-family: var(--sans); text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.72rem; color: var(--cyan); margin: 0 0 0.4rem; font-weight: 600; }
.book-body h3 { color: #fff; margin-bottom: 0.6rem; }
.book-body p { font-size: 0.95rem; color: #b9c3d6; }
.book-body .btn { margin-top: 0.4rem; }
.buy-note { display: block; margin-top: 0.6rem; font-size: 0.82rem; color: var(--cyan); }

/* Split (about) */
.split { display: grid; grid-template-columns: 1.3fr 0.7fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.split-text h2 { color: #fff; }
.facts { list-style: none; margin: 0; padding: 1.4rem; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); }
.facts li { padding: 0.7rem 0; border-bottom: 1px solid var(--line); font-size: 0.95rem; color: #c4cdde; }
.facts li:last-child { border-bottom: 0; }
.facts li span { display: block; font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.16em; color: var(--gold); margin-bottom: 0.2rem; }

.actions-center { display: flex; gap: 0.9rem; justify-content: center; flex-wrap: wrap; margin-top: 1.8rem; }

/* Contact form */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.hp { position: absolute; left: -9999px; opacity: 0; }
.contact-sub { color: var(--muted); margin: 0 auto 1.6rem; max-width: 52ch; }
.contact-form { max-width: 520px; margin: 1.6rem auto 0; text-align: left; }
.form-row { margin-bottom: 0.9rem; }
.contact-form input[type="text"], .contact-form input[type="email"], .contact-form textarea {
  width: 100%; font: inherit; color: var(--text); background: #0a0f1c; border: 1.5px solid var(--line); border-radius: 8px; padding: 0.8rem 1rem; transition: border-color .15s ease, box-shadow .15s ease; }
.contact-form textarea { resize: vertical; min-height: 110px; }
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(224,167,62,0.22); }
.contact-form button[type="submit"] { width: 100%; margin-top: 0.4rem; }
.contact-form button[type="submit"][disabled] { opacity: 0.6; cursor: progress; }
.form-status { min-height: 1.4em; margin: 0.9rem 0 0; font-size: 0.95rem; text-align: center; }
.form-status.success { color: #8fe39b; }
.form-status.error { color: #f2a6a0; }

/* Footer */
.site-footer { background: #060912; border-top: 1px solid var(--line); padding: 2.4rem 0; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 1.2rem; flex-wrap: wrap; }
.footer-brand { font-family: var(--disp); letter-spacing: 0.14em; font-size: 1.1rem; color: #fff; margin: 0; }
.site-footer .muted { color: var(--muted); }

/* Responsive */
@media (max-width: 880px) {
  .nav-toggle { display: flex; }
  .nav-links { position: absolute; top: 66px; left: 0; right: 0; flex-direction: column; align-items: flex-start; gap: 0; background: #0a0f1c; padding: 0.5rem 24px 1.2rem; display: none; border-bottom: 1px solid var(--line); }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links li a { display: block; padding: 0.7rem 0; width: 100%; }
  .nav-links .btn { margin-top: 0.5rem; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-cover { order: -1; }
  .hero-cover img { width: min(240px, 60%); }
  .split { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .books { grid-template-columns: 1fr; }
  .book { grid-template-columns: 110px 1fr; gap: 1rem; padding: 1.1rem; }
}
@media (max-width: 420px) {
  .book { grid-template-columns: 1fr; }
  .book-cover img { width: 150px; margin: 0 auto; }
}
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto; } .btn, .hero-cover img { transition: none; } }
