:root {
  --ink: #071827;
  --ink-2: #0d273d;
  --navy: #061b2c;
  --blue: #123550;
  --paper: #f7f0e4;
  --paper-2: #fffaf1;
  --muted: #ccdadf;
  --muted-dark: #5f6f7a;
  --red: #9f241e;
  --red-2: #c65231;
  --gold: #e9c27f;
  --line: rgba(255, 250, 241, 0.18);
  --shadow: 0 26px 80px rgba(3, 13, 22, 0.34);
  --radius: 28px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--paper-2);
  background:
    radial-gradient(circle at 20% 10%, rgba(198, 82, 49, 0.18), transparent 30rem),
    radial-gradient(circle at 80% 0%, rgba(233, 194, 127, 0.12), transparent 28rem),
    linear-gradient(180deg, #04111d 0%, #071827 44%, #f6efe3 44%, #f6efe3 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
.wrap { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }
.skip-link {
  position: absolute;
  left: -999px;
  top: 10px;
  background: var(--paper-2);
  color: var(--ink);
  padding: 10px 14px;
  border-radius: 10px;
  z-index: 20;
}
.skip-link:focus { left: 10px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(5, 19, 31, 0.84);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}
.brand img {
  width: 54px;
  height: 54px;
  border-radius: 999px;
  box-shadow: 0 0 0 3px rgba(233, 194, 127, 0.24);
}
.brand strong {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.18rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.brand em {
  display: block;
  margin-top: -3px;
  color: var(--muted);
  font-style: normal;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
}
.nav { display: flex; align-items: center; gap: 8px; }
.nav a {
  text-decoration: none;
  color: var(--muted);
  padding: 10px 14px;
  border-radius: 999px;
  transition: background 160ms ease, color 160ms ease;
}
.nav a:hover, .nav a:focus { background: rgba(255,255,255,0.08); color: #fff; outline: none; }

.hero {
  position: relative;
  overflow: hidden;
  padding: 86px 0 74px;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 84px 84px;
  mask-image: radial-gradient(circle at 30% 20%, #000 0%, transparent 64%);
  opacity: 0.5;
  pointer-events: none;
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(290px, 0.78fr);
  gap: 56px;
  align-items: center;
}
.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
h1, h2, h3 {
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.02;
  margin: 0;
  font-weight: 700;
}
h1 {
  max-width: 740px;
  font-size: clamp(3.6rem, 9vw, 7.9rem);
  letter-spacing: -0.065em;
  text-wrap: balance;
}
h2 { font-size: clamp(2.2rem, 5vw, 4.4rem); letter-spacing: -0.045em; color: var(--ink); }
h3 { font-size: 1.45rem; letter-spacing: -0.025em; }
.subtitle {
  max-width: 650px;
  margin: 22px 0 0;
  color: #e8edf0;
  font-size: clamp(1.18rem, 2.2vw, 1.55rem);
  font-weight: 800;
}
.lede {
  max-width: 720px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 34px 0 0; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0.01em;
}
.button.primary {
  background: var(--paper-2);
  color: var(--ink);
  box-shadow: 0 14px 34px rgba(0,0,0,0.22);
}
.button.ghost {
  border: 1px solid rgba(255,255,255,0.24);
  color: var(--muted);
  background: rgba(255,255,255,0.05);
}
.quick-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  max-width: 690px;
  margin: 36px 0 0;
}
.quick-facts div {
  padding: 15px 16px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.055);
  border-radius: 18px;
}
dt { font-weight: 800; }
.quick-facts dt { color: var(--gold); font-size: 0.76rem; text-transform: uppercase; letter-spacing: 0.12em; }
.quick-facts dd { margin: 4px 0 0; color: #fff; }
.cover-card {
  margin: 0;
  justify-self: center;
  width: min(390px, 100%);
  padding: 12px;
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(255,255,255,0.22), rgba(255,255,255,0.04));
  border: 1px solid rgba(255,255,255,0.18);
  box-shadow: var(--shadow);
  transform: rotate(1.2deg);
}
.cover-card img {
  width: 100%;
  height: auto;
  max-height: none;
  object-fit: contain;
  aspect-ratio: auto;
  border-radius: 16px;
  box-shadow: 0 18px 42px rgba(0,0,0,0.32);
}

.signal-strip {
  color: var(--ink);
  background: var(--paper-2);
  border-top: 1px solid rgba(7,24,39,0.12);
  border-bottom: 1px solid rgba(7,24,39,0.12);
}
.strip-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
.strip-grid p { margin: 0; padding: 22px 26px; border-left: 1px solid rgba(7,24,39,0.12); }
.strip-grid p:first-child { border-left: 0; }
.strip-grid strong { color: var(--red); }

.section { padding: 82px 0; color: var(--ink); background: var(--paper); }
.two-column { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(290px, 0.75fr); gap: 48px; align-items: start; }
.section p { color: #344654; font-size: 1.04rem; }
.book-section .eyebrow, .fog-map .eyebrow, .about-section .eyebrow, .contact-section .eyebrow { color: var(--red); }
.note-card {
  margin-top: 28px;
  padding: 18px 20px;
  border-left: 4px solid var(--red);
  border-radius: 18px;
  background: #fffaf1;
  color: #2b3b46;
  box-shadow: 0 10px 30px rgba(7,24,39,0.08);
}
.details-card {
  position: sticky;
  top: 100px;
  padding: 28px;
  border-radius: var(--radius);
  background: #0b2438;
  color: var(--paper-2);
  box-shadow: var(--shadow);
}
.details-card h3 { color: var(--paper-2); margin-bottom: 20px; }
.details-card dl { margin: 0; display: grid; gap: 14px; }
.details-card div {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.details-card div:last-child { border-bottom: 0; padding-bottom: 0; }
.details-card dt { color: var(--gold); font-size: 0.82rem; }
.details-card dd { margin: 0; color: #f6efe3; }

.fog-map { background: #fffaf1; }
.fog-map h2 { margin-bottom: 28px; }
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.card-grid article {
  min-height: 210px;
  padding: 26px;
  border: 1px solid rgba(7,24,39,0.12);
  border-radius: 24px;
  background: linear-gradient(180deg, #ffffff, #f8efe1);
  box-shadow: 0 12px 30px rgba(7,24,39,0.07);
}
.card-grid h3 { color: var(--ink); margin-bottom: 12px; }
.card-grid p { margin: 0; }

.about-section {
  background: linear-gradient(180deg, var(--paper) 0%, #efe1cb 100%);
}
.about-grid { align-items: center; }
.author-badge {
  max-width: 360px;
  justify-self: center;
  padding: 18px;
  border-radius: 999px;
  background: #071827;
  box-shadow: var(--shadow);
}
.author-badge img { border-radius: 999px; }

.contact-section {
  background: #071827;
  color: var(--paper-2);
}
.contact-section h2 { color: var(--paper-2); }
.contact-section p { color: var(--muted); }
.contact-card {
  padding: 44px;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 20% 20%, rgba(198, 82, 49, 0.18), transparent 28rem),
    linear-gradient(145deg, rgba(255,255,255,0.08), rgba(255,255,255,0.025));
}
.contact-line a {
  display: inline-flex;
  margin-top: 6px;
  color: var(--paper-2);
  font-size: 1.2rem;
  font-weight: 800;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}
.handle-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}
.handle-row span {
  padding: 9px 12px;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255,255,255,0.04);
  font-size: 0.92rem;
}

.site-footer {
  color: var(--muted);
  background: #04111d;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.footer-grid {
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.footer-grid p { margin: 0; }

@media (max-width: 980px) {
  .hero-grid, .two-column { grid-template-columns: 1fr; }
  .cover-card { width: min(360px, 88%); transform: none; }
  .details-card { position: static; }
  .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .strip-grid { grid-template-columns: 1fr; }
  .strip-grid p { border-left: 0; border-top: 1px solid rgba(7,24,39,0.12); }
  .strip-grid p:first-child { border-top: 0; }
}

@media (max-width: 720px) {
  .wrap { width: min(100% - 28px, var(--max)); }
  .header-inner { min-height: auto; padding: 14px 0; align-items: flex-start; }
  .brand em { display: none; }
  .nav { gap: 0; }
  .nav a { padding: 8px 9px; font-size: 0.92rem; }
  .hero { padding: 56px 0 50px; }
  h1 { font-size: clamp(3rem, 18vw, 5.2rem); }
  .quick-facts { grid-template-columns: 1fr; }
  .section { padding: 58px 0; }
  .card-grid { grid-template-columns: 1fr; }
  .details-card div { grid-template-columns: 1fr; gap: 4px; }
  .contact-card { padding: 28px; }
  .footer-grid { flex-direction: column; align-items: flex-start; justify-content: center; padding: 24px 0; }
}
