﻿:root {
  --bg: #05070b;
  --paper: #0d121a;
  --ink: #dce7f5;
  --muted: #97abc2;
  --line: #213247;
  --accent: #58b6ff;
  --accent-soft: #0f2234;
  --gold: #7ec7ff;
  --shadow: rgba(0, 0, 0, 0.45);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Manrope", "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(1000px 600px at 85% -10%, #0f2b46 0%, transparent 60%),
    radial-gradient(900px 620px at -10% 20%, #09182b 0%, transparent 65%),
    linear-gradient(180deg, #05070b 0%, #03050a 100%);
  line-height: 1.7;
}

.atmosphere {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(125, 180, 230, 0.45) 0 1px, transparent 2px),
    radial-gradient(circle at 80% 18%, rgba(170, 210, 255, 0.35) 0 1px, transparent 2px),
    radial-gradient(circle at 64% 72%, rgba(38, 106, 168, 0.14) 0 150px, transparent 170px);
  opacity: 0.9;
  z-index: -1;
}

.site-header {
  max-width: 1120px;
  margin: 0 auto;
  padding: 24px 20px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(88, 182, 255, 0.22);
}

.brand {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.45rem;
  letter-spacing: 0.08em;
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
}

.brand:visited {
  color: var(--ink);
  text-decoration: none;
}

.brand:hover {
  text-decoration: none;
}

nav {
  display: flex;
  gap: 20px;
}

nav a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
}

nav a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

main {
  max-width: 1120px;
  margin: 0 auto;
  padding: 20px;
}

.hero {
  padding: 52px 10px 56px;
}

.kicker,
.eyebrow {
  margin: 0;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.09em;
  font-size: 0.8rem;
  font-weight: 700;
}

h1,
h2,
h3 {
  font-family: "Cormorant Garamond", Georgia, serif;
  line-height: 1.05;
  margin: 0 0 12px;
}

h1 {
  font-size: clamp(2.3rem, 6vw, 4.4rem);
  max-width: 860px;
  margin-top: 12px;
}

.hero-copy {
  max-width: 680px;
  margin: 0 0 22px;
  font-size: 1.08rem;
  color: var(--muted);
}

.button {
  display: inline-block;
  padding: 11px 18px;
  border-radius: 999px;
  text-decoration: none;
  color: #eaf5ff;
  background: linear-gradient(120deg, #18446d, #2a79b6);
  font-weight: 700;
  border: 1px solid #2d7db7;
  box-shadow: 0 10px 20px rgba(16, 46, 74, 0.45);
}

.button.secondary {
  color: #b8daff;
  background: var(--accent-soft);
  border-color: #2a4561;
  box-shadow: none;
}

.panel {
  margin: 22px 0;
  padding: 28px;
  background: linear-gradient(170deg, rgba(9, 15, 24, 0.95) 0%, rgba(12, 18, 28, 0.94) 100%);
  border: 1px solid rgba(88, 182, 255, 0.26);
  border-radius: 20px;
  box-shadow: 0 24px 50px var(--shadow);
  backdrop-filter: blur(2px);
}

.panel h2 {
  font-size: clamp(1.9rem, 4vw, 3rem);
}

.panel h3 {
  font-size: clamp(1.4rem, 2.5vw, 2rem);
}

.panel-head {
  margin-bottom: 20px;
}

.grid {
  display: grid;
  grid-template-columns: 1.6fr 0.95fr;
  gap: 26px;
}

.book-card {
  padding: 18px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: #0a121d;
}

.book-cover {
  border-radius: 12px;
  margin-bottom: 16px;
  border: 1px solid rgba(165, 213, 255, 0.22);
  overflow: hidden;
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.45);
  background: #04070d;
}

.book-cover img {
  width: 100%;
  height: auto;
  display: block;
}

.book-card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
}

.book-card li {
  margin-bottom: 6px;
  color: var(--muted);
}

.author-grid {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.author-photo {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(165, 213, 255, 0.22);
  background: #07101a;
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.35);
}

.author-photo img {
  width: 100%;
  height: auto;
  display: block;
}

.author-copy p {
  max-width: 68ch;
}

.series-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.series-item {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px;
  background: #0c1624;
}

.series-item.active {
  border-color: #3e7ab0;
  background: linear-gradient(170deg, #0f1d2e, #0c1626);
}

.series-label {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 0 0 4px;
  font-size: 0.75rem;
  color: var(--gold);
  font-weight: 700;
}

.notify-card {
  max-width: 760px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(170deg, #0d1827, #0a121d);
}

.notify-intro,
.notify-note,
.notify-success p:last-child {
  color: var(--muted);
}

.notify-form {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr) auto;
  gap: 12px;
  margin: 18px 0 10px;
}

.notify-form input {
  min-width: 0;
  padding: 12px 14px;
  border-radius: 999px;
  border: 1px solid #2a4561;
  background: #08111b;
  color: var(--ink);
  font: inherit;
}

.notify-form input::placeholder {
  color: #8ea5c0;
}

.notify-form button {
  padding: 12px 18px;
  border: 1px solid #2d7db7;
  border-radius: 999px;
  background: linear-gradient(120deg, #18446d, #2a79b6);
  color: #eaf5ff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 10px 20px rgba(16, 46, 74, 0.45);
}

.notify-form button:hover {
  filter: brightness(1.05);
}

.notify-note {
  margin-bottom: 0;
  font-size: 0.92rem;
}

.notify-success h3 {
  margin-bottom: 8px;
}

.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;
}

.site-footer {
  max-width: 1120px;
  margin: 0 auto;
  padding: 14px 20px 50px;
}

.site-footer h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.3rem);
  margin-bottom: 4px;
}

.site-footer a {
  color: var(--accent);
  font-weight: 700;
  text-decoration: none;
}

.panel a {
  color: var(--accent);
  font-weight: 700;
  text-decoration: none;
}

.panel a:hover {
  text-decoration: underline;
}

.site-footer a:hover {
  text-decoration: underline;
}

.small {
  color: var(--muted);
  font-size: 0.92rem;
}

.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.js .reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 940px) {
  .grid {
    grid-template-columns: 1fr;
  }

  .author-grid {
    grid-template-columns: 1fr;
  }

  .author-photo {
    max-width: 340px;
  }

  .series-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .site-header {
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
  }

  nav {
    flex-wrap: wrap;
    gap: 10px 14px;
  }

  .hero {
    padding-top: 30px;
  }

  .panel {
    padding: 20px;
  }

  .notify-form {
    grid-template-columns: 1fr;
  }
}
