:root {
  --night: #070d3a;
  --navy: #0e1a70;
  --royal: #1b34b5;
  --sky: #6f8cf0;
  --gold: #f0c35a;
  --gold-deep: #c9962a;
  --crimson: #a5161f;
  --meadow: #1f6b55;
  --violet: #8a5fd0;
  --cream: #fbf6e8;
  --ink: #141a3d;
  --serif: "Cormorant Garamond", Georgia, serif;
  --display: "Cinzel Decorative", "Cormorant Garamond", Georgia, serif;
  --sans: "Lato", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--night);
  color: var(--cream);
  font-family: var(--serif);
  font-size: 1.25rem;
  line-height: 1.65;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold); }
.wrap { width: min(1100px, 100% - 32px); margin-inline: auto; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(7, 13, 58, .92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(240, 195, 90, .25);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 12px; flex-wrap: wrap; }
.brand { font-family: var(--display); font-size: 1.15rem; color: var(--gold); text-decoration: none; letter-spacing: .04em; }
nav ul { list-style: none; display: flex; gap: 22px; margin: 0; padding: 0; flex-wrap: wrap; }
nav a { font-family: var(--sans); font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; color: var(--cream); text-decoration: none; padding-bottom: 4px; border-bottom: 2px solid transparent; }
nav a:hover, nav a[aria-current="page"] { border-color: var(--gold); color: var(--gold); }

/* Hero */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(circle at 78% 22%, rgba(111, 140, 240, .45), transparent 45%),
    radial-gradient(circle at 15% 15%, rgba(138, 95, 208, .25), transparent 40%),
    linear-gradient(180deg, var(--navy), var(--night));
  padding: 72px 0 88px;
}
.stars { position: absolute; inset: 0; pointer-events: none; }
.stars i { position: absolute; width: 3px; height: 3px; border-radius: 50%; background: #fff; box-shadow: 0 0 8px 2px rgba(180, 200, 255, .9); animation: twinkle 4s ease-in-out infinite; }
@keyframes twinkle { 50% { opacity: .25; } }
.hero .wrap { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.eyebrow { font-family: var(--sans); font-size: .8rem; letter-spacing: .25em; text-transform: uppercase; color: var(--sky); margin: 0 0 12px; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1.15; margin: 0 0 .5em; }
h1 { font-size: clamp(2.4rem, 6vw, 4.2rem); color: var(--gold); text-shadow: 0 2px 24px rgba(240, 195, 90, .35); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.3rem); color: var(--gold); }
h3 { font-size: 1.25rem; color: var(--cream); }
.lede { font-size: 1.5rem; max-width: 34ch; }
.cover { border-radius: 6px; box-shadow: 0 0 60px rgba(111, 140, 240, .45), 0 24px 60px rgba(0, 0, 0, .6); }
.cover-link { display: block; max-width: 380px; margin-inline: auto; }

/* Buttons */
.btn { display: inline-block; font-family: var(--sans); font-weight: 700; font-size: .85rem; letter-spacing: .14em; text-transform: uppercase; text-decoration: none; padding: 14px 28px; border-radius: 2px; border: 2px solid var(--gold); transition: .2s; cursor: pointer; }
.btn-gold { background: var(--gold); color: var(--night); }
.btn-gold:hover { background: #ffd978; }
.btn-ghost { color: var(--gold); background: transparent; }
.btn-ghost:hover { background: rgba(240, 195, 90, .12); }
.actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; }

/* Sections */
section { padding: 80px 0; }
.band-light { background: var(--cream); color: var(--ink); }
.band-light h2 { color: var(--navy); }
.band-light a { color: var(--crimson); }
.band-blue { background: linear-gradient(180deg, var(--royal), var(--navy)); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.photo-slot { aspect-ratio: 4/5; border: 2px dashed rgba(20, 26, 61, .35); border-radius: 6px; display: grid; place-items: center; text-align: center; font-family: var(--sans); font-size: .9rem; color: rgba(20, 26, 61, .6); padding: 24px; background: rgba(27, 52, 181, .06); }
.author-photo { width: 100%; max-width: 460px; margin-inline: auto; border-radius: 6px; box-shadow: 0 16px 40px rgba(14, 26, 112, .35); }
.about-split { grid-template-columns: 5fr 7fr; align-items: start; }
.about-split .author-photo { position: sticky; top: 90px; }
.book-split { grid-template-columns: 5fr 6fr; align-items: start; }
.book-split .cover-link { max-width: 540px; width: 100%; }
@media (max-width: 800px) { .book-split { grid-template-columns: 1fr; } .book-split .cover-link { max-width: 340px; } }
.fig { margin: 8px 0 28px; }
.fig img { width: 100%; border-radius: 6px; box-shadow: 0 10px 28px rgba(14, 26, 112, .25); }
.fig figcaption { font-family: var(--sans); font-size: .85rem; color: rgba(20, 26, 61, .7); margin-top: 8px; }
.fig.tall { max-width: 300px; }
.fig-row { display: grid; grid-template-columns: repeat(2, 300px); gap: 24px; align-items: start; }
@media (max-width: 800px) { .fig-row { grid-template-columns: 1fr; } .fig.tall { max-width: 260px; } }
@media (max-width: 800px) { .about-split { grid-template-columns: 1fr; } .about-split .author-photo { position: static; } }
.divider { height: 6px; background: var(--gold); }

/* Newsletter */
.signup { text-align: center; max-width: 640px; margin-inline: auto; }
.signup form { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-top: 24px; }
.signup input[type=email], .contact-form input, .contact-form textarea {
  font: inherit; font-family: var(--sans); font-size: 1rem; padding: 14px 16px; border-radius: 2px; border: 2px solid rgba(240, 195, 90, .5); background: rgba(255, 255, 255, .95); color: var(--ink); min-width: 0;
}
.signup input[type=email] { flex: 1 1 260px; }
.contact-form { display: grid; gap: 14px; max-width: 560px; }
.contact-form label { font-family: var(--sans); font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); }

/* Pillars */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 32px; }
.card { background: rgba(255, 255, 255, .06); border: 1px solid rgba(240, 195, 90, .3); border-radius: 6px; padding: 28px; }
.card p { margin: 0; font-size: 1.1rem; }

/* Footer */
footer { background: #040826; border-top: 1px solid rgba(240, 195, 90, .25); padding: 40px 0; text-align: center; font-family: var(--sans); font-size: .85rem; color: rgba(251, 246, 232, .7); }
footer a { color: var(--gold); text-decoration: none; margin: 0 10px; }
.page-title { padding: 64px 0 24px; background: linear-gradient(180deg, var(--navy), var(--night)); text-align: center; }
.note { font-family: var(--sans); font-size: .8rem; opacity: .7; }

@media (max-width: 800px) {
  .hero .wrap, .split { grid-template-columns: 1fr; gap: 36px; }
  .cards { grid-template-columns: 1fr; }
  .hero { padding: 48px 0 56px; }
  section { padding: 56px 0; }
  .cover-link { max-width: 300px; }
  .site-header .wrap { justify-content: center; }
}
@media (prefers-reduced-motion: reduce) { .stars i { animation: none; } html { scroll-behavior: auto; } }

.embed { max-width: 600px; margin: 16px auto 0; }
.embed-left { margin-left: 0; }
.prose { max-width: 760px; }
.prose h2 { font-size: 1.5rem; margin-top: 1.6em; }
